diff --git a/assets/About-BdgQr3tK.js b/assets/About-BdgQr3tK.js new file mode 100644 index 0000000..b4999a6 --- /dev/null +++ b/assets/About-BdgQr3tK.js @@ -0,0 +1 @@ +import{j as l,M as a}from"./index-CRzS9BvD.js";const t=""+new URL("about-C4a4L64i.jpeg",import.meta.url).href,r=()=>l.jsx(a,{children:l.jsx("div",{className:"relative isolate overflow-hidden bg-white px-6 py-8 lg:overflow-visible lg:px-0",children:l.jsxs("div",{className:"mx-auto grid grid-cols-1 gap-x-8 gap-y-16 lg:mx-0 lg:max-w-none lg:grid-cols-2 lg:items-start lg:gap-y-10",children:[l.jsx("div",{className:"lg:col-span-2 lg:col-start-1 lg:row-start-1 lg:mx-auto lg:grid lg:w-full lg:max-w-7xl lg:grid-cols-2 lg:gap-x-8",children:l.jsx("div",{className:"lg:pr-4",children:l.jsxs("div",{className:"lg:max-w-lg",children:[l.jsx("h1",{className:"mt-2 text-pretty text-4xl font-semibold tracking-tight text-gray-900 sm:text-5xl",children:"A bit about me..."}),l.jsx("p",{className:"mt-6 text-xl/8 text-gray-700",children:"As a berlin-based brand designer, with a multicultural background and I blend organization and analytical thinking to craft impactful, culturally resonant brand strategies with a focus on “diversity”. My work highlights identity, heritage and unity delivering meaningful brand experiences."})]})})}),l.jsx("div",{className:"-mt-12 pt-16 lg:sticky lg:top-4 lg:col-start-2 lg:row-span-2 lg:row-start-1 lg:overflow-hidden",children:l.jsx("img",{className:"rounded-xl bg-gray-900 shadow-xl ring-1 ring-gray-400/10 sm:w-[57rem]",src:t,alt:""})}),l.jsx("div",{className:"lg:col-span-2 lg:col-start-1 lg:row-start-2 lg:mx-auto lg:grid lg:w-full lg:max-w-7xl lg:grid-cols-2 lg:gap-x-8"})]})})});export{r as default}; diff --git a/assets/About-DcQYcrlc.js b/assets/About-DcQYcrlc.js deleted file mode 100644 index b360432..0000000 --- a/assets/About-DcQYcrlc.js +++ /dev/null @@ -1 +0,0 @@ -import{j as l,M as a}from"./index-CS7f0OSm.js";const t=""+new URL("about-C4a4L64i.jpeg",import.meta.url).href,g=()=>l.jsx(a,{children:l.jsx("div",{className:"relative isolate overflow-hidden bg-white px-6 py-8 lg:overflow-visible lg:px-0",children:l.jsxs("div",{className:"mx-auto grid grid-cols-1 gap-x-8 gap-y-16 lg:mx-0 lg:max-w-none lg:grid-cols-2 lg:items-start lg:gap-y-10",children:[l.jsx("div",{className:"lg:col-span-2 lg:col-start-1 lg:row-start-1 lg:mx-auto lg:grid lg:w-full lg:max-w-7xl lg:grid-cols-2 lg:gap-x-8 lg:px-8",children:l.jsx("div",{className:"lg:pr-4",children:l.jsxs("div",{className:"lg:max-w-lg",children:[l.jsx("h1",{className:"mt-2 text-pretty text-4xl font-semibold tracking-tight text-gray-900 sm:text-5xl",children:"A bit about me..."}),l.jsx("p",{className:"mt-6 text-xl/8 text-gray-700",children:"As a berlin-based brand designer, with a multicultural background and I blend organization and analytical thinking to craft impactful, culturally resonant brand strategies with a focus on “diversity”. My work highlights identity, heritage and unity delivering meaningful brand experiences."})]})})}),l.jsx("div",{className:"-mt-12 p-12 lg:sticky lg:top-4 lg:col-start-2 lg:row-span-2 lg:row-start-1 lg:overflow-hidden",children:l.jsx("img",{className:"rounded-xl bg-gray-900 shadow-xl ring-1 ring-gray-400/10 sm:w-[57rem]",src:t,alt:""})}),l.jsx("div",{className:"lg:col-span-2 lg:col-start-1 lg:row-start-2 lg:mx-auto lg:grid lg:w-full lg:max-w-7xl lg:grid-cols-2 lg:gap-x-8 lg:px-8"})]})})});export{g as default}; diff --git a/assets/Contact-ahRnHHzF.js b/assets/Contact-E_WHMpjf.js similarity index 51% rename from assets/Contact-ahRnHHzF.js rename to assets/Contact-E_WHMpjf.js index 0306d73..6e05b3b 100644 --- a/assets/Contact-ahRnHHzF.js +++ b/assets/Contact-E_WHMpjf.js @@ -1 +1 @@ -import{j as t}from"./index-CS7f0OSm.js";const n=()=>t.jsx("div",{children:t.jsx("h1",{children:"Contact"})});export{n as default}; +import{j as t}from"./index-CRzS9BvD.js";const n=()=>t.jsx("div",{children:t.jsx("h1",{children:"Contact"})});export{n as default}; diff --git a/assets/Musabi-B-XwN4UR.png b/assets/Musabi-B-XwN4UR.png new file mode 100644 index 0000000..6ca58cc Binary files /dev/null and b/assets/Musabi-B-XwN4UR.png differ diff --git a/assets/Profile-GQwsUj67.js b/assets/Profile-GQwsUj67.js new file mode 100644 index 0000000..8c2735c --- /dev/null +++ b/assets/Profile-GQwsUj67.js @@ -0,0 +1,15 @@ +import{j as e,M as l,G as s}from"./index-CRzS9BvD.js";const t=()=>e.jsxs("svg",{fill:"#000000",width:"40px",height:"40px",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 231.597 231.597",xmlSpace:"preserve",children:[e.jsx("title",{children:"Adobe Illustrator icon"}),e.jsxs("g",{id:"XMLID_449_",children:[e.jsx("path",{id:"XMLID_450_",d:`M2.499,211.77h42.076c1.123,0,2.109-0.749,2.41-1.832l12.271-44.237h47.637l13.313,44.289 +c0.318,1.057,1.291,1.78,2.395,1.78h43.672c0.008,0,0.016,0,0.02,0c1.381,0,2.5-1.119,2.5-2.5c0-0.369-0.078-0.719-0.223-1.034 +l-55.564-179.19c-0.324-1.046-1.293-1.76-2.389-1.76h-53.26c-1.1,0-2.07,0.718-2.391,1.769L0.109,208.539 +c-0.23,0.758-0.09,1.581,0.381,2.218C0.962,211.394,1.706,211.77,2.499,211.77z M99.554,130.342H66.511l9.764-34.902 +c1.773-6.289,3.449-13.731,5.07-20.928c0.371-1.653,0.736-3.275,1.098-4.861c2.145,8.622,4.504,17.937,6.869,25.815L99.554,130.342 +z`}),e.jsx("path",{id:"XMLID_453_",d:`M187.288,76.551c-1.381,0-2.5,1.119-2.5,2.5V209.27c0,1.381,1.119,2.5,2.5,2.5h40.477 +c1.381,0,2.5-1.119,2.5-2.5V79.051c0-1.381-1.119-2.5-2.5-2.5H187.288z`}),e.jsx("path",{id:"XMLID_454_",d:`M207.261,65.571c14.102,0,24.336-9.563,24.336-22.795c-0.307-13.512-10.205-22.949-24.07-22.949 +c-7.078,0-13.363,2.442-17.697,6.878c-4.067,4.16-6.234,9.886-6.108,16.127c-0.129,6.043,2.043,11.666,6.119,15.84 +C194.185,63.121,200.372,65.571,207.261,65.571z`})]})]}),i=()=>e.jsxs("svg",{fill:"#000000",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"40px",height:"40px",viewBox:"0 0 512 512","enable-background":"new 0 0 512 512",xmlSpace:"preserve",children:[e.jsx("title",{children:"Adobe InDesign icon"}),e.jsx("g",{id:"2069a460dcf28295e231f3111e035a9d",children:e.jsx("path",{display:"inline",d:`M337.803,268.126c0.728,3.618,1.085,7.964,1.085,11.586v26.423c0,4.708-0.357,9.05-1.447,13.033 + c-4.341,19.188-20.269,31.492-38.37,31.492c-28.232,0-44.162-23.528-44.162-55.745c0-32.943,15.93-58.281,44.523-58.281 + C319.704,236.634,333.822,250.752,337.803,268.126z M511.5,85.667v340.667c0,46.842-38.325,85.167-85.167,85.167H85.667 + C38.825,511.5,0.5,473.175,0.5,426.333V85.667C0.5,38.825,38.825,0.5,85.667,0.5h340.667C473.175,0.5,511.5,38.825,511.5,85.667z + M171.661,138.536h-44.523v243.979h44.523V138.536z M384.864,382.515c-0.728-11.947-1.451-31.492-1.451-49.59V125.503h-44.525 + v99.909h-0.724c-7.959-13.031-25.338-23.167-49.59-23.167c-42.353,0-79.276,35.113-78.915,94.118 + c0,54.298,33.303,90.132,75.292,90.132c25.699,0,47.058-12.305,57.558-31.854h0.724l1.809,27.874H384.864z`})})]}),c=()=>e.jsxs("svg",{fill:"#000000",width:"40px",height:"40px",viewBox:"0 0 24 24",role:"img",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("title",{children:"Adobe Photoshop icon"}),e.jsx("path",{d:"M9.85 8.42c-.37-.15-.77-.21-1.18-.2-.26 0-.49 0-.68.01-.2-.01-.34 0-.41.01v3.36c.14.01.27.02.39.02h.53c.39 0 .78-.06 1.15-.18.32-.09.6-.28.82-.53.21-.25.31-.59.31-1.03.01-.31-.07-.62-.23-.89a1.45 1.45 0 0 0-.7-.57zM19.75.3H4.25C1.9.3 0 2.2 0 4.55v14.899c0 2.35 1.9 4.25 4.25 4.25h15.5c2.35 0 4.25-1.9 4.25-4.25V4.55C24 2.2 22.1.3 19.75.3zm-7.391 11.65c-.399.56-.959.98-1.609 1.22-.68.25-1.43.34-2.25.34-.24 0-.4 0-.5-.01s-.24-.01-.43-.01v3.209c.01.07-.04.131-.11.141H5.52c-.08 0-.12-.041-.12-.131V6.42c0-.07.03-.11.1-.11.17 0 .33 0 .56-.01.24-.01.49-.01.76-.02s.56-.01.87-.02c.31-.01.61-.01.91-.01.82 0 1.5.1 2.06.31.5.17.96.45 1.34.82.32.32.57.71.73 1.14.149.42.229.85.229 1.3.001.86-.199 1.57-.6 2.13zm7.091 3.89c-.28.4-.671.709-1.12.891-.49.209-1.09.318-1.811.318-.459 0-.91-.039-1.359-.129-.35-.061-.7-.17-1.02-.32-.07-.039-.121-.109-.111-.189v-1.74c0-.029.011-.07.041-.09.029-.02.06-.01.09.01.39.23.8.391 1.24.49.379.1.779.15 1.18.15.38 0 .65-.051.83-.141.16-.07.27-.24.27-.42 0-.141-.08-.27-.24-.4-.16-.129-.489-.279-.979-.471-.51-.18-.979-.42-1.42-.719a2.625 2.625 0 0 1-.761-.85 2.158 2.158 0 0 1-.229-1.021c0-.43.12-.84.341-1.21.25-.4.619-.72 1.049-.92.469-.239 1.059-.349 1.769-.349.41 0 .83.03 1.24.09.3.04.59.12.86.23.039.01.08.05.1.09.01.04.02.08.02.12v1.63c0 .04-.02.08-.05.1-.09.02-.14.02-.18 0-.3-.16-.62-.27-.96-.34-.37-.08-.74-.13-1.12-.13-.2-.01-.41.02-.601.07-.129.03-.24.1-.31.2-.05.08-.08.18-.08.27s.04.18.101.26c.09.11.209.2.34.27.229.12.47.23.709.33.541.18 1.061.43 1.541.73.33.209.6.49.789.83.16.318.24.67.23 1.029.011.471-.129.94-.389 1.331z"})]}),a=()=>e.jsxs("svg",{fill:"#000000",width:"40px",height:"40px",viewBox:"0 0 24 24",role:"img",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("title",{children:"Microsoft Office icon"}),e.jsx("path",{d:"M21.53 4.306V19.67q0 .807-.471 1.433-.472.627-1.253.85l-6.888 1.974q-.136.037-.291.055-.155.019-.292.019-.397 0-.72-.105-.322-.106-.657-.292l-4.505-2.544q-.248-.137-.391-.366-.143-.23-.143-.515 0-.434.304-.738.304-.305.739-.305h5.832V4.964l-4.38 1.563q-.534.187-.857.658-.322.472-.322 1.03v8.079q0 .496-.248.912-.249.416-.683.651l-2.072 1.13q-.286.148-.571.148-.497 0-.844-.347-.348-.347-.348-.844V6.564q0-.62.33-1.19.328-.572.874-.882L11.07.285q.248-.136.534-.21.285-.075.57-.075.212 0 .38.031.167.031.365.093l6.888 1.899q.384.111.7.329.317.217.547.52.23.305.353.67.125.367.125.764zM19.943 19.67V4.306q0-.273-.161-.478-.162-.204-.422-.279l-3.388-.93q-.397-.112-.794-.23-.397-.118-.794-.217v19.681l4.976-1.427q.26-.074.422-.28.161-.204.161-.477Z"})]}),r=""+new URL("Musabi-B-XwN4UR.png",import.meta.url).href,x=""+new URL("profile-DYW6JoYE.jpeg",import.meta.url).href,d=()=>e.jsx(l,{children:e.jsx("div",{className:"relative isolate overflow-hidden bg-white px-6 py-8 lg:overflow-visible lg:px-0",children:e.jsxs("div",{className:"mx-auto grid grid-cols-1 gap-x-8 gap-y-16 lg:mx-0 lg:max-w-none lg:grid-cols-2 lg:items-start lg:gap-y-10",children:[e.jsxs("div",{className:"lg:col-span-2 lg:col-start-1 lg:row-start-1 lg:grid lg:w-full lg:max-w-7xl lg:grid-cols-2 lg:gap-x-8",children:[e.jsx("div",{className:"lg:pr-4",children:e.jsx("div",{className:"lg:max-w-lg",children:e.jsxs("p",{className:"mt-2 text-start text-xl/8 text-gray-700",children:[e.jsxs("span",{className:"text-3xl/10 font-bold text-gray-900",children:["„"," "]}),"As a berlin-based brand designer, with a multicultural background and I blend organization and analytical thinking to craft impactful, culturally resonant brand strategies with a focus on “diversity”. My work highlights identity, heritage and unity delivering meaningful brand experiences.",e.jsxs("span",{className:"text-3xl/10 font-bold text-gray-900",children:[" ","”"]})]})})}),e.jsx("div",{className:"pt-8 lg:col-span-2 lg:col-start-1 lg:row-start-2 lg:mx-auto lg:grid lg:w-full lg:max-w-7xl lg:grid-cols-2 lg:gap-x-8",children:e.jsx("div",{className:"",children:e.jsxs("div",{className:"flex max-w-xl flex-col gap-4 text-base/7 text-gray-700 lg:max-w-lg",children:[e.jsxs("div",{className:"flex w-full flex-col",children:[e.jsx("h5",{className:"mt-2 text-pretty text-xl font-semibold tracking-tight text-gray-900 sm:text-2xl",children:"Education"}),e.jsxs("div",{className:"flex items-center gap-2 py-2",children:[e.jsx("img",{src:r,width:"30%",height:"",alt:""}),e.jsxs("div",{className:"gap flex-col items-start",children:[e.jsx("p",{className:"font-semibold text-black",children:"Musashino Art University"}),e.jsxs("div",{className:"gap flex items-center gap-2",children:[e.jsx(s,{size:"30"}),e.jsx("p",{className:"font-semibold text-black",children:"Tokyo, Japan"})]})]})]})]}),e.jsxs("div",{className:"flex w-full flex-col",children:[e.jsx("h5",{className:"text-pretty text-xl font-semibold tracking-tight text-gray-900 sm:text-2xl",children:"My skills"}),e.jsxs("div",{className:"flex flex-col gap-6 py-6",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(a,{}),e.jsx("h6",{className:"text-pretty text-lg font-semibold tracking-tight text-gray-900 sm:text-xl",children:"Microsoft Office"}),e.jsx("div",{className:"ml-2 w-fit rounded-md border border-black bg-white px-2 py-1",children:e.jsx("p",{className:"text-xs font-bold text-black",children:"Advanced"})})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(t,{}),e.jsx("h6",{className:"text-pretty text-lg font-semibold tracking-tight text-gray-900 sm:text-xl",children:"Adobe Illustrator"}),e.jsx("div",{className:"ml-2 w-fit rounded-md border border-black bg-white px-2 py-1",children:e.jsx("p",{className:"text-xs font-bold text-black",children:"Advanced"})})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(c,{}),e.jsx("h6",{className:"text-pretty text-lg font-semibold tracking-tight text-gray-900 sm:text-xl",children:"Adobe Photoshop"}),e.jsx("div",{className:"ml-2 w-fit rounded-md border border-black bg-white px-2 py-1",children:e.jsx("p",{className:"text-xs font-bold text-black",children:"Advanced"})})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(i,{}),e.jsx("h6",{className:"text-pretty text-lg font-semibold tracking-tight text-gray-900 sm:text-xl",children:"Adobe InDesign"}),e.jsx("div",{className:"ml-2 h-full w-fit rounded-md border border-black bg-white px-2 py-1",children:e.jsx("p",{className:"text-xs font-bold text-black",children:"Basic"})})]})]})]})]})})})]}),e.jsx("div",{className:"-mt-12 pt-16 lg:sticky lg:top-4 lg:col-start-2 lg:row-span-2 lg:row-start-1 lg:overflow-hidden",children:e.jsx("img",{className:"rounded-xl bg-gray-900 shadow-xl ring-1 ring-gray-400/10 sm:w-[57rem]",src:x,alt:""})})]})})});export{d as default}; diff --git a/assets/Profile-_JMnfqGd.js b/assets/Profile-_JMnfqGd.js deleted file mode 100644 index 13d06f2..0000000 --- a/assets/Profile-_JMnfqGd.js +++ /dev/null @@ -1,17 +0,0 @@ -import{j as s,M as l}from"./index-CS7f0OSm.js";const e=()=>s.jsx("svg",{fill:"#000000",width:"100px",height:"100px",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 231.597 231.597",xmlSpace:"preserve",children:s.jsxs("g",{id:"XMLID_449_",children:[s.jsx("path",{id:"XMLID_450_",d:`M2.499,211.77h42.076c1.123,0,2.109-0.749,2.41-1.832l12.271-44.237h47.637l13.313,44.289 -c0.318,1.057,1.291,1.78,2.395,1.78h43.672c0.008,0,0.016,0,0.02,0c1.381,0,2.5-1.119,2.5-2.5c0-0.369-0.078-0.719-0.223-1.034 -l-55.564-179.19c-0.324-1.046-1.293-1.76-2.389-1.76h-53.26c-1.1,0-2.07,0.718-2.391,1.769L0.109,208.539 -c-0.23,0.758-0.09,1.581,0.381,2.218C0.962,211.394,1.706,211.77,2.499,211.77z M99.554,130.342H66.511l9.764-34.902 -c1.773-6.289,3.449-13.731,5.07-20.928c0.371-1.653,0.736-3.275,1.098-4.861c2.145,8.622,4.504,17.937,6.869,25.815L99.554,130.342 -z`}),s.jsx("path",{id:"XMLID_453_",d:`M187.288,76.551c-1.381,0-2.5,1.119-2.5,2.5V209.27c0,1.381,1.119,2.5,2.5,2.5h40.477 -c1.381,0,2.5-1.119,2.5-2.5V79.051c0-1.381-1.119-2.5-2.5-2.5H187.288z`}),s.jsx("path",{id:"XMLID_454_",d:`M207.261,65.571c14.102,0,24.336-9.563,24.336-22.795c-0.307-13.512-10.205-22.949-24.07-22.949 -c-7.078,0-13.363,2.442-17.697,6.878c-4.067,4.16-6.234,9.886-6.108,16.127c-0.129,6.043,2.043,11.666,6.119,15.84 -C194.185,63.121,200.372,65.571,207.261,65.571z`})]})}),i=()=>s.jsx("svg",{fill:"#000000",width:"100px",height:"100px",viewBox:"0 0 24 24",role:"img",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{d:"M9.85 8.42c-.37-.15-.77-.21-1.18-.2-.26 0-.49 0-.68.01-.2-.01-.34 0-.41.01v3.36c.14.01.27.02.39.02h.53c.39 0 .78-.06 1.15-.18.32-.09.6-.28.82-.53.21-.25.31-.59.31-1.03.01-.31-.07-.62-.23-.89a1.45 1.45 0 0 0-.7-.57zM19.75.3H4.25C1.9.3 0 2.2 0 4.55v14.899c0 2.35 1.9 4.25 4.25 4.25h15.5c2.35 0 4.25-1.9 4.25-4.25V4.55C24 2.2 22.1.3 19.75.3zm-7.391 11.65c-.399.56-.959.98-1.609 1.22-.68.25-1.43.34-2.25.34-.24 0-.4 0-.5-.01s-.24-.01-.43-.01v3.209c.01.07-.04.131-.11.141H5.52c-.08 0-.12-.041-.12-.131V6.42c0-.07.03-.11.1-.11.17 0 .33 0 .56-.01.24-.01.49-.01.76-.02s.56-.01.87-.02c.31-.01.61-.01.91-.01.82 0 1.5.1 2.06.31.5.17.96.45 1.34.82.32.32.57.71.73 1.14.149.42.229.85.229 1.3.001.86-.199 1.57-.6 2.13zm7.091 3.89c-.28.4-.671.709-1.12.891-.49.209-1.09.318-1.811.318-.459 0-.91-.039-1.359-.129-.35-.061-.7-.17-1.02-.32-.07-.039-.121-.109-.111-.189v-1.74c0-.029.011-.07.041-.09.029-.02.06-.01.09.01.39.23.8.391 1.24.49.379.1.779.15 1.18.15.38 0 .65-.051.83-.141.16-.07.27-.24.27-.42 0-.141-.08-.27-.24-.4-.16-.129-.489-.279-.979-.471-.51-.18-.979-.42-1.42-.719a2.625 2.625 0 0 1-.761-.85 2.158 2.158 0 0 1-.229-1.021c0-.43.12-.84.341-1.21.25-.4.619-.72 1.049-.92.469-.239 1.059-.349 1.769-.349.41 0 .83.03 1.24.09.3.04.59.12.86.23.039.01.08.05.1.09.01.04.02.08.02.12v1.63c0 .04-.02.08-.05.1-.09.02-.14.02-.18 0-.3-.16-.62-.27-.96-.34-.37-.08-.74-.13-1.12-.13-.2-.01-.41.02-.601.07-.129.03-.24.1-.31.2-.05.08-.08.18-.08.27s.04.18.101.26c.09.11.209.2.34.27.229.12.47.23.709.33.541.18 1.061.43 1.541.73.33.209.6.49.789.83.16.318.24.67.23 1.029.011.471-.129.94-.389 1.331z"})}),a=()=>s.jsxs("svg",{fill:"#000000",width:"100px",height:"100px",viewBox:"0 0 24 24",role:"img",xmlns:"http://www.w3.org/2000/svg",children:[s.jsx("title",{children:"Microsoft Office icon"}),s.jsx("path",{d:"M21.53 4.306V19.67q0 .807-.471 1.433-.472.627-1.253.85l-6.888 1.974q-.136.037-.291.055-.155.019-.292.019-.397 0-.72-.105-.322-.106-.657-.292l-4.505-2.544q-.248-.137-.391-.366-.143-.23-.143-.515 0-.434.304-.738.304-.305.739-.305h5.832V4.964l-4.38 1.563q-.534.187-.857.658-.322.472-.322 1.03v8.079q0 .496-.248.912-.249.416-.683.651l-2.072 1.13q-.286.148-.571.148-.497 0-.844-.347-.348-.347-.348-.844V6.564q0-.62.33-1.19.328-.572.874-.882L11.07.285q.248-.136.534-.21.285-.075.57-.075.212 0 .38.031.167.031.365.093l6.888 1.899q.384.111.7.329.317.217.547.52.23.305.353.67.125.367.125.764zM19.943 19.67V4.306q0-.273-.161-.478-.162-.204-.422-.279l-3.388-.93q-.397-.112-.794-.23-.397-.118-.794-.217v19.681l4.976-1.427q.26-.074.422-.28.161-.204.161-.477Z"})]}),t=""+new URL("profile-DYW6JoYE.jpeg",import.meta.url).href,n=()=>s.jsx(l,{children:s.jsx("div",{className:"relative isolate overflow-hidden bg-white px-6 py-8 lg:overflow-visible lg:px-0",children:s.jsxs("div",{className:"mx-auto grid grid-cols-1 gap-x-8 gap-y-16 lg:mx-0 lg:max-w-none lg:grid-cols-2 lg:items-start lg:gap-y-10",children:[s.jsxs("div",{className:"lg:col-span-2 lg:col-start-1 lg:row-start-1 lg:mx-auto lg:grid lg:w-full lg:max-w-7xl lg:grid-cols-2 lg:gap-x-8 lg:px-8",children:[s.jsx("div",{className:"lg:pr-4",children:s.jsx("div",{className:"lg:max-w-lg",children:s.jsxs("p",{className:"mt-6 text-center text-xl/8 text-gray-700",children:[s.jsxs("span",{className:"text-3xl/10 font-bold text-gray-900",children:["„"," "]}),"As a berlin-based brand designer, with a multicultural background and I blend organization and analytical thinking to craft impactful, culturally resonant brand strategies with a focus on “diversity”. My work highlights identity, heritage and unity delivering meaningful brand experiences.",s.jsxs("span",{className:"text-3xl/10 font-bold text-gray-900",children:[" ","”"]})]})})}),s.jsx("div",{className:"pt-8 lg:col-span-2 lg:col-start-1 lg:row-start-2 lg:mx-auto lg:grid lg:w-full lg:max-w-7xl lg:grid-cols-2 lg:gap-x-8",children:s.jsx("div",{className:"",children:s.jsxs("div",{className:"max-w-xl text-base/7 text-gray-700 lg:max-w-lg",children:[s.jsxs("ul",{role:"list",className:"space-y-4 text-gray-600",children:[s.jsxs("li",{className:"flex gap-x-3",children:[s.jsx("svg",{className:"mt-1 size-5 flex-none text-indigo-600",viewBox:"0 0 20 20",fill:"#4f46e5","aria-hidden":"true","data-slot":"icon",height:"20px",width:"20px",children:s.jsxs("g",{children:[s.jsx("path",{d:`M26.4,21.1c-0.9-0.4-1.5-1.3-1.5-2.3l0-4.9c0-2.4-0.9-4.6-2.7-6.2C20.5,5.9,18.1,5,15.6,5c-4.9,0.1-8.9,4.3-8.9,9.2 - c0,4-1,8.1-2.9,11.7l-0.5,1c-0.3,0.5-0.1,1.1,0.4,1.3c0.1,0.1,0.3,0.1,0.5,0.1c0.4,0,0.7-0.2,0.9-0.5l0.5-1c2-3.9,3.1-8.2,3.1-12.6 - c0-3.8,3.1-7.1,6.9-7.2c2-0.1,3.9,0.7,5.3,2c1.3,1.3,2.1,3,2.1,4.8l0,4.9c0,1.8,1,3.3,2.6,4.1c0.5,0.2,1.1,0,1.3-0.4 - C27.1,22,26.9,21.4,26.4,21.1z`}),s.jsx("path",{d:`M15.9,1c-7.2,0-13,6.1-13,13.6c0,0.6,0.4,1,1,1s1-0.4,1-1c0-6.4,5-11.6,11-11.6s11,5.2,11,11.6V18c0,0.6,0.4,1,1,1 - s1-0.4,1-1v-3.4C28.9,7.1,23.1,1,15.9,1z`}),s.jsx("path",{d:`M19.3,10.3C18.3,9.4,17,8.9,15.6,9c-2.5,0.1-4.4,2.1-4.4,4.5c0,5.5-1.6,10.9-4.6,15.7l-0.1,0.2c-0.3,0.5-0.2,1.1,0.3,1.4 - C6.9,31,7.1,31,7.3,31c0.3,0,0.7-0.2,0.8-0.5l0.1-0.2c3.2-5.1,4.9-10.9,4.9-16.8c0-1.3,1.1-2.5,2.5-2.5c0.8-0.1,1.6,0.2,2.1,0.8 - c0.5,0.4,0.7,1,0.7,1.6c0.4,7.3-3.7,16-3.8,16.1c-0.2,0.5,0,1.1,0.5,1.3c0.5,0.2,1.1,0,1.3-0.5c0.2-0.4,4.4-9.3,4-17 - C20.6,12.2,20.1,11.1,19.3,10.3z`}),s.jsx("path",{d:`M17,14.1c0.1-0.5-0.3-1-0.9-1.1c-0.5-0.1-1,0.3-1.1,0.9l-0.2,1.4c-0.5,4.9-1.8,9.7-3.8,14.3c-0.2,0.5,0,1.1,0.5,1.3 - C11.7,31,11.9,31,12,31c0.4,0,0.8-0.2,0.9-0.6c2-4.7,3.3-9.7,3.9-14.9L17,14.1z`})]})}),s.jsxs("span",{children:[s.jsx("strong",{className:"font-semibold text-gray-900",children:"Identity."})," ","Cohesive visual and conceptual elements that define and communicate a brand's unique persona and values."]})]}),s.jsxs("li",{className:"flex gap-x-3",children:[s.jsx("svg",{className:"mt-1 size-5 flex-none text-indigo-600",viewBox:"0 0 20 20",fill:"none","aria-hidden":"true","data-slot":"icon",width:"12px",height:"12px",children:s.jsx("path",{d:"M4 7.9966C3.83599 7.99236 3.7169 7.98287 3.60982 7.96157C2.81644 7.80376 2.19624 7.18356 2.03843 6.39018C2 6.19698 2 5.96466 2 5.5C2 5.03534 2 4.80302 2.03843 4.60982C2.19624 3.81644 2.81644 3.19624 3.60982 3.03843C3.80302 3 4.03534 3 4.5 3H19.5C19.9647 3 20.197 3 20.3902 3.03843C21.1836 3.19624 21.8038 3.81644 21.9616 4.60982C22 4.80302 22 5.03534 22 5.5C22 5.96466 22 6.19698 21.9616 6.39018C21.8038 7.18356 21.1836 7.80376 20.3902 7.96157C20.2831 7.98287 20.164 7.99236 20 7.9966M10 13H14M4 8H20V16.2C20 17.8802 20 18.7202 19.673 19.362C19.3854 19.9265 18.9265 20.3854 18.362 20.673C17.7202 21 16.8802 21 15.2 21H8.8C7.11984 21 6.27976 21 5.63803 20.673C5.07354 20.3854 4.6146 19.9265 4.32698 19.362C4 18.7202 4 17.8802 4 16.2V8Z",stroke:"#4f46e5","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})}),s.jsxs("span",{children:[s.jsx("strong",{className:"font-semibold text-gray-900",children:"Heritage."})," ","Rich history, legacy, and cultural significance of a brand, which informs its identity and values, connecting past traditions with present and future brand expressions."]})]}),s.jsxs("li",{className:"flex gap-x-3",children:[s.jsx("svg",{className:"mt-0.5 size-5 flex-none text-indigo-600",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",width:"26px",height:"26px",children:s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.3636 5.25C12.2716 5.25 11.3864 6.13525 11.3864 7.22727V7.97727L7.97727 7.97727L7.97727 11.3864H7.22727C6.13526 11.3864 5.25 12.2716 5.25 13.3636C5.25 14.4557 6.13526 15.3409 7.22727 15.3409H7.97727L7.97727 18.75L18.75 18.75V16.7598C17.1901 16.4169 16.0227 15.0266 16.0227 13.3636C16.0227 11.7007 17.1901 10.3104 18.75 9.96745V7.97727L15.3409 7.97727V7.22727C15.3409 6.13526 14.4557 5.25 13.3636 5.25ZM9.96745 6.47727C10.3104 4.91733 11.7007 3.75 13.3636 3.75C15.0266 3.75 16.4169 4.91733 16.7598 6.47727L20.25 6.47727V11.3864L19.5 11.3864C18.408 11.3864 17.5227 12.2716 17.5227 13.3636C17.5227 14.4557 18.408 15.3409 19.5 15.3409H20.25V20.25L6.47727 20.25L6.47727 16.7598C4.91733 16.4169 3.75 15.0266 3.75 13.3636C3.75 11.7007 4.91733 10.3104 6.47727 9.96745L6.47727 6.47727L9.96745 6.47727Z",fill:"#4f46e5"})}),s.jsxs("span",{children:[s.jsx("strong",{className:"font-semibold text-gray-900",children:"Unity."})," ","Harmonious integration of all brand elements—such as logo, typography, color palette, and messaging—creating a cohesive and consistent visual and experiential identity across all touchpoints."]})]})]}),s.jsxs("div",{className:"flex gap-6 p-8",children:[s.jsx(a,{}),s.jsx(e,{}),s.jsx(i,{})]})]})})})]}),s.jsx("div",{className:"-mt-12 p-12 lg:sticky lg:top-4 lg:col-start-2 lg:row-span-2 lg:row-start-1 lg:overflow-hidden",children:s.jsx("img",{className:"rounded-xl bg-gray-900 shadow-xl ring-1 ring-gray-400/10 sm:w-[57rem]",src:t,alt:""})})]})})});export{n as default}; diff --git a/assets/Project-4uMCuznA.js b/assets/Project-CyvGTwAq.js similarity index 99% rename from assets/Project-4uMCuznA.js rename to assets/Project-CyvGTwAq.js index 75955fb..2684215 100644 --- a/assets/Project-4uMCuznA.js +++ b/assets/Project-CyvGTwAq.js @@ -1 +1 @@ -import{r as W,R as H,j as X,c as Et,a as yt,b as St,u as xt,p as Tt}from"./index-CS7f0OSm.js";function Qe(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function qe(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:Qe(e[i])&&Qe(t[i])&&Object.keys(e[i]).length>0&&qe(t[i],e[i])})}const rt={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function K(){const t=typeof document<"u"?document:{};return qe(t,rt),t}const Ct={document:rt,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout>"u"||clearTimeout(t)}};function j(){const t=typeof window<"u"?window:{};return qe(t,Ct),t}function ae(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function Mt(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function Pe(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function Le(){return Date.now()}function Pt(t){const e=j();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function Xe(t,e){e===void 0&&(e="x");const i=j();let s,r,n;const l=Pt(t);return i.WebKitCSSMatrix?(r=l.transform||l.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map(o=>o.replace(",",".")).join(", ")),n=new i.WebKitCSSMatrix(r==="none"?"":r)):(n=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),s=n.toString().split(",")),e==="x"&&(i.WebKitCSSMatrix?r=n.m41:s.length===16?r=parseFloat(s[12]):r=parseFloat(s[4])),e==="y"&&(i.WebKitCSSMatrix?r=n.m42:s.length===16?r=parseFloat(s[13]):r=parseFloat(s[5])),r||0}function Te(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function Lt(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Z(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let i=1;ie.indexOf(n)<0);for(let n=0,l=r.length;nn?"next":"prev",u=(w,g)=>m==="next"&&w>=g||m==="prev"&&w<=g,f=()=>{o=new Date().getTime(),l===null&&(l=o);const w=Math.max(Math.min((o-l)/a,1),0),g=.5-Math.cos(w*Math.PI)/2;let d=n+g*(i-n);if(u(d,i)&&(d=i),e.wrapperEl.scrollTo({[s]:d}),u(d,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[s]:d})}),r.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=r.requestAnimationFrame(f)};f()}function Q(t,e){e===void 0&&(e="");const i=[...t.children];return t instanceof HTMLSlotElement&&i.push(...t.assignedElements()),e?i.filter(s=>s.matches(e)):i}function zt(t,e){var s,r;const i=[e];for(;i.length>0;){const n=i.shift();if(t===n)return!0;i.push(...n.children,...((s=n.shadowRoot)==null?void 0:s.children)||[],...((r=n.assignedElements)==null?void 0:r.call(n))||[])}}function It(t,e){let i=e.contains(t);return!i&&e instanceof HTMLSlotElement&&(i=[...e.assignedElements()].includes(t),i||(i=zt(t,e))),i}function ze(t){try{console.warn(t);return}catch{}}function ue(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:ae(e)),i}function He(t){const e=j(),i=K(),s=t.getBoundingClientRect(),r=i.body,n=t.clientTop||r.clientTop||0,l=t.clientLeft||r.clientLeft||0,o=t===e?e.scrollY:t.scrollTop,a=t===e?e.scrollX:t.scrollLeft;return{top:s.top+o-n,left:s.left+a-l}}function Ot(t,e){const i=[];for(;t.previousElementSibling;){const s=t.previousElementSibling;e?s.matches(e)&&i.push(s):i.push(s),t=s}return i}function At(t,e){const i=[];for(;t.nextElementSibling;){const s=t.nextElementSibling;e?s.matches(e)&&i.push(s):i.push(s),t=s}return i}function le(t,e){return j().getComputedStyle(t,null).getPropertyValue(e)}function Ee(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function we(t,e){const i=[];let s=t.parentElement;for(;s;)e?s.matches(e)&&i.push(s):i.push(s),s=s.parentElement;return i}function Ve(t,e,i){const s=j();return t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(s.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(s.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}function N(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function Ue(t,e,i,s){return t.params.createElements&&Object.keys(s).forEach(r=>{if(!i[r]&&i.auto===!0){let n=Q(t.el,`.${s[r]}`)[0];n||(n=ue("div",s[r]),n.className=s[r],t.el.append(n)),i[r]=n,e[r]=n}}),i}function Dt(t){let{swiper:e,extendParams:i,on:s,emit:r}=t;i({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};function n(d){let c;return d&&typeof d=="string"&&e.isElement&&(c=e.el.querySelector(d)||e.hostEl.querySelector(d),c)?c:(d&&(typeof d=="string"&&(c=[...document.querySelectorAll(d)]),e.params.uniqueNavElements&&typeof d=="string"&&c&&c.length>1&&e.el.querySelectorAll(d).length===1?c=e.el.querySelector(d):c&&c.length===1&&(c=c[0])),d&&!c?d:c)}function l(d,c){const b=e.params.navigation;d=N(d),d.forEach(v=>{v&&(v.classList[c?"add":"remove"](...b.disabledClass.split(" ")),v.tagName==="BUTTON"&&(v.disabled=c),e.params.watchOverflow&&e.enabled&&v.classList[e.isLocked?"add":"remove"](b.lockClass))})}function o(){const{nextEl:d,prevEl:c}=e.navigation;if(e.params.loop){l(c,!1),l(d,!1);return}l(c,e.isBeginning&&!e.params.rewind),l(d,e.isEnd&&!e.params.rewind)}function a(d){d.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),r("navigationPrev"))}function m(d){d.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),r("navigationNext"))}function u(){const d=e.params.navigation;if(e.params.navigation=Ue(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(d.nextEl||d.prevEl))return;let c=n(d.nextEl),b=n(d.prevEl);Object.assign(e.navigation,{nextEl:c,prevEl:b}),c=N(c),b=N(b);const v=(p,h)=>{p&&p.addEventListener("click",h==="next"?m:a),!e.enabled&&p&&p.classList.add(...d.lockClass.split(" "))};c.forEach(p=>v(p,"next")),b.forEach(p=>v(p,"prev"))}function f(){let{nextEl:d,prevEl:c}=e.navigation;d=N(d),c=N(c);const b=(v,p)=>{v.removeEventListener("click",p==="next"?m:a),v.classList.remove(...e.params.navigation.disabledClass.split(" "))};d.forEach(v=>b(v,"next")),c.forEach(v=>b(v,"prev"))}s("init",()=>{e.params.navigation.enabled===!1?g():(u(),o())}),s("toEdge fromEdge lock unlock",()=>{o()}),s("destroy",()=>{f()}),s("enable disable",()=>{let{nextEl:d,prevEl:c}=e.navigation;if(d=N(d),c=N(c),e.enabled){o();return}[...d,...c].filter(b=>!!b).forEach(b=>b.classList.add(e.params.navigation.lockClass))}),s("click",(d,c)=>{let{nextEl:b,prevEl:v}=e.navigation;b=N(b),v=N(v);const p=c.target;let h=v.includes(p)||b.includes(p);if(e.isElement&&!h){const E=c.path||c.composedPath&&c.composedPath();E&&(h=E.find(S=>b.includes(S)||v.includes(S)))}if(e.params.navigation.hideOnClick&&!h){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===p||e.pagination.el.contains(p)))return;let E;b.length?E=b[0].classList.contains(e.params.navigation.hiddenClass):v.length&&(E=v[0].classList.contains(e.params.navigation.hiddenClass)),r(E===!0?"navigationShow":"navigationHide"),[...b,...v].filter(S=>!!S).forEach(S=>S.classList.toggle(e.params.navigation.hiddenClass))}});const w=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),u(),o()},g=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),f()};Object.assign(e.navigation,{enable:w,disable:g,update:o,init:u,destroy:f})}function ie(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function $t(t){let{swiper:e,extendParams:i,on:s,emit:r}=t;const n="swiper-pagination";i({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:p=>p,formatFractionTotal:p=>p,bulletClass:`${n}-bullet`,bulletActiveClass:`${n}-bullet-active`,modifierClass:`${n}-`,currentClass:`${n}-current`,totalClass:`${n}-total`,hiddenClass:`${n}-hidden`,progressbarFillClass:`${n}-progressbar-fill`,progressbarOppositeClass:`${n}-progressbar-opposite`,clickableClass:`${n}-clickable`,lockClass:`${n}-lock`,horizontalClass:`${n}-horizontal`,verticalClass:`${n}-vertical`,paginationDisabledClass:`${n}-disabled`}}),e.pagination={el:null,bullets:[]};let l,o=0;function a(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function m(p,h){const{bulletActiveClass:E}=e.params.pagination;p&&(p=p[`${h==="prev"?"previous":"next"}ElementSibling`],p&&(p.classList.add(`${E}-${h}`),p=p[`${h==="prev"?"previous":"next"}ElementSibling`],p&&p.classList.add(`${E}-${h}-${h}`)))}function u(p,h,E){if(p=p%E,h=h%E,h===p+1)return"next";if(h===p-1)return"previous"}function f(p){const h=p.target.closest(ie(e.params.pagination.bulletClass));if(!h)return;p.preventDefault();const E=Ee(h)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===E)return;const S=u(e.realIndex,E,e.slides.length);S==="next"?e.slideNext():S==="previous"?e.slidePrev():e.slideToLoop(E)}else e.slideTo(E)}function w(){const p=e.rtl,h=e.params.pagination;if(a())return;let E=e.pagination.el;E=N(E);let S,D;const k=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,B=e.params.loop?Math.ceil(k/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(D=e.previousRealIndex||0,S=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(S=e.snapIndex,D=e.previousSnapIndex):(D=e.previousIndex||0,S=e.activeIndex||0),h.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const z=e.pagination.bullets;let M,O,C;if(h.dynamicBullets&&(l=Ve(z[0],e.isHorizontal()?"width":"height"),E.forEach(T=>{T.style[e.isHorizontal()?"width":"height"]=`${l*(h.dynamicMainBullets+4)}px`}),h.dynamicMainBullets>1&&D!==void 0&&(o+=S-(D||0),o>h.dynamicMainBullets-1?o=h.dynamicMainBullets-1:o<0&&(o=0)),M=Math.max(S-o,0),O=M+(Math.min(z.length,h.dynamicMainBullets)-1),C=(O+M)/2),z.forEach(T=>{const L=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(A=>`${h.bulletActiveClass}${A}`)].map(A=>typeof A=="string"&&A.includes(" ")?A.split(" "):A).flat();T.classList.remove(...L)}),E.length>1)z.forEach(T=>{const L=Ee(T);L===S?T.classList.add(...h.bulletActiveClass.split(" ")):e.isElement&&T.setAttribute("part","bullet"),h.dynamicBullets&&(L>=M&&L<=O&&T.classList.add(...`${h.bulletActiveClass}-main`.split(" ")),L===M&&m(T,"prev"),L===O&&m(T,"next"))});else{const T=z[S];if(T&&T.classList.add(...h.bulletActiveClass.split(" ")),e.isElement&&z.forEach((L,A)=>{L.setAttribute("part",A===S?"bullet-active":"bullet")}),h.dynamicBullets){const L=z[M],A=z[O];for(let R=M;R<=O;R+=1)z[R]&&z[R].classList.add(...`${h.bulletActiveClass}-main`.split(" "));m(L,"prev"),m(A,"next")}}if(h.dynamicBullets){const T=Math.min(z.length,h.dynamicMainBullets+4),L=(l*T-l)/2-C*l,A=p?"right":"left";z.forEach(R=>{R.style[e.isHorizontal()?A:"top"]=`${L}px`})}}E.forEach((z,M)=>{if(h.type==="fraction"&&(z.querySelectorAll(ie(h.currentClass)).forEach(O=>{O.textContent=h.formatFractionCurrent(S+1)}),z.querySelectorAll(ie(h.totalClass)).forEach(O=>{O.textContent=h.formatFractionTotal(B)})),h.type==="progressbar"){let O;h.progressbarOpposite?O=e.isHorizontal()?"vertical":"horizontal":O=e.isHorizontal()?"horizontal":"vertical";const C=(S+1)/B;let T=1,L=1;O==="horizontal"?T=C:L=C,z.querySelectorAll(ie(h.progressbarFillClass)).forEach(A=>{A.style.transform=`translate3d(0,0,0) scaleX(${T}) scaleY(${L})`,A.style.transitionDuration=`${e.params.speed}ms`})}h.type==="custom"&&h.renderCustom?(z.innerHTML=h.renderCustom(e,S+1,B),M===0&&r("paginationRender",z)):(M===0&&r("paginationRender",z),r("paginationUpdate",z)),e.params.watchOverflow&&e.enabled&&z.classList[e.isLocked?"add":"remove"](h.lockClass)})}function g(){const p=e.params.pagination;if(a())return;const h=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let E=e.pagination.el;E=N(E);let S="";if(p.type==="bullets"){let D=e.params.loop?Math.ceil(h/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&D>h&&(D=h);for(let k=0;k`}p.type==="fraction"&&(p.renderFraction?S=p.renderFraction.call(e,p.currentClass,p.totalClass):S=` / `),p.type==="progressbar"&&(p.renderProgressbar?S=p.renderProgressbar.call(e,p.progressbarFillClass):S=``),e.pagination.bullets=[],E.forEach(D=>{p.type!=="custom"&&(D.innerHTML=S||""),p.type==="bullets"&&e.pagination.bullets.push(...D.querySelectorAll(ie(p.bulletClass)))}),p.type!=="custom"&&r("paginationRender",E[0])}function d(){e.params.pagination=Ue(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const p=e.params.pagination;if(!p.el)return;let h;typeof p.el=="string"&&e.isElement&&(h=e.el.querySelector(p.el)),!h&&typeof p.el=="string"&&(h=[...document.querySelectorAll(p.el)]),h||(h=p.el),!(!h||h.length===0)&&(e.params.uniqueNavElements&&typeof p.el=="string"&&Array.isArray(h)&&h.length>1&&(h=[...e.el.querySelectorAll(p.el)],h.length>1&&(h=h.find(E=>we(E,".swiper")[0]===e.el))),Array.isArray(h)&&h.length===1&&(h=h[0]),Object.assign(e.pagination,{el:h}),h=N(h),h.forEach(E=>{p.type==="bullets"&&p.clickable&&E.classList.add(...(p.clickableClass||"").split(" ")),E.classList.add(p.modifierClass+p.type),E.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.type==="bullets"&&p.dynamicBullets&&(E.classList.add(`${p.modifierClass}${p.type}-dynamic`),o=0,p.dynamicMainBullets<1&&(p.dynamicMainBullets=1)),p.type==="progressbar"&&p.progressbarOpposite&&E.classList.add(p.progressbarOppositeClass),p.clickable&&E.addEventListener("click",f),e.enabled||E.classList.add(p.lockClass)}))}function c(){const p=e.params.pagination;if(a())return;let h=e.pagination.el;h&&(h=N(h),h.forEach(E=>{E.classList.remove(p.hiddenClass),E.classList.remove(p.modifierClass+p.type),E.classList.remove(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.clickable&&(E.classList.remove(...(p.clickableClass||"").split(" ")),E.removeEventListener("click",f))})),e.pagination.bullets&&e.pagination.bullets.forEach(E=>E.classList.remove(...p.bulletActiveClass.split(" ")))}s("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const p=e.params.pagination;let{el:h}=e.pagination;h=N(h),h.forEach(E=>{E.classList.remove(p.horizontalClass,p.verticalClass),E.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass)})}),s("init",()=>{e.params.pagination.enabled===!1?v():(d(),g(),w())}),s("activeIndexChange",()=>{typeof e.snapIndex>"u"&&w()}),s("snapIndexChange",()=>{w()}),s("snapGridLengthChange",()=>{g(),w()}),s("destroy",()=>{c()}),s("enable disable",()=>{let{el:p}=e.pagination;p&&(p=N(p),p.forEach(h=>h.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),s("lock unlock",()=>{w()}),s("click",(p,h)=>{const E=h.target,S=N(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&S&&S.length>0&&!E.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&E===e.navigation.nextEl||e.navigation.prevEl&&E===e.navigation.prevEl))return;const D=S[0].classList.contains(e.params.pagination.hiddenClass);r(D===!0?"paginationShow":"paginationHide"),S.forEach(k=>k.classList.toggle(e.params.pagination.hiddenClass))}});const b=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=N(p),p.forEach(h=>h.classList.remove(e.params.pagination.paginationDisabledClass))),d(),g(),w()},v=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=N(p),p.forEach(h=>h.classList.add(e.params.pagination.paginationDisabledClass))),c()};Object.assign(e.pagination,{enable:b,disable:v,render:g,update:w,init:d,destroy:c})}function _t(t){let{swiper:e,extendParams:i,on:s,emit:r}=t;const n=K();let l=!1,o=null,a=null,m,u,f,w;i({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function g(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:C,rtlTranslate:T}=e,{dragEl:L,el:A}=C,R=e.params.scrollbar,y=e.params.loop?e.progressLoop:e.progress;let x=u,I=(f-u)*y;T?(I=-I,I>0?(x=u-I,I=0):-I+u>f&&(x=f+I)):I<0?(x=u+I,I=0):I+u>f&&(x=f-I),e.isHorizontal()?(L.style.transform=`translate3d(${I}px, 0, 0)`,L.style.width=`${x}px`):(L.style.transform=`translate3d(0px, ${I}px, 0)`,L.style.height=`${x}px`),R.hide&&(clearTimeout(o),A.style.opacity=1,o=setTimeout(()=>{A.style.opacity=0,A.style.transitionDuration="400ms"},1e3))}function d(C){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${C}ms`)}function c(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:C}=e,{dragEl:T,el:L}=C;T.style.width="",T.style.height="",f=e.isHorizontal()?L.offsetWidth:L.offsetHeight,w=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?u=f*w:u=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?T.style.width=`${u}px`:T.style.height=`${u}px`,w>=1?L.style.display="none":L.style.display="",e.params.scrollbar.hide&&(L.style.opacity=0),e.params.watchOverflow&&e.enabled&&C.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function b(C){return e.isHorizontal()?C.clientX:C.clientY}function v(C){const{scrollbar:T,rtlTranslate:L}=e,{el:A}=T;let R;R=(b(C)-He(A)[e.isHorizontal()?"left":"top"]-(m!==null?m:u/2))/(f-u),R=Math.max(Math.min(R,1),0),L&&(R=1-R);const y=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*R;e.updateProgress(y),e.setTranslate(y),e.updateActiveIndex(),e.updateSlidesClasses()}function p(C){const T=e.params.scrollbar,{scrollbar:L,wrapperEl:A}=e,{el:R,dragEl:y}=L;l=!0,m=C.target===y?b(C)-C.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,C.preventDefault(),C.stopPropagation(),A.style.transitionDuration="100ms",y.style.transitionDuration="100ms",v(C),clearTimeout(a),R.style.transitionDuration="0ms",T.hide&&(R.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),r("scrollbarDragStart",C)}function h(C){const{scrollbar:T,wrapperEl:L}=e,{el:A,dragEl:R}=T;l&&(C.preventDefault&&C.cancelable?C.preventDefault():C.returnValue=!1,v(C),L.style.transitionDuration="0ms",A.style.transitionDuration="0ms",R.style.transitionDuration="0ms",r("scrollbarDragMove",C))}function E(C){const T=e.params.scrollbar,{scrollbar:L,wrapperEl:A}=e,{el:R}=L;l&&(l=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",A.style.transitionDuration=""),T.hide&&(clearTimeout(a),a=Pe(()=>{R.style.opacity=0,R.style.transitionDuration="400ms"},1e3)),r("scrollbarDragEnd",C),T.snapOnRelease&&e.slideToClosest())}function S(C){const{scrollbar:T,params:L}=e,A=T.el;if(!A)return;const R=A,y=L.passiveListeners?{passive:!1,capture:!1}:!1,x=L.passiveListeners?{passive:!0,capture:!1}:!1;if(!R)return;const I=C==="on"?"addEventListener":"removeEventListener";R[I]("pointerdown",p,y),n[I]("pointermove",h,y),n[I]("pointerup",E,x)}function D(){!e.params.scrollbar.el||!e.scrollbar.el||S("on")}function k(){!e.params.scrollbar.el||!e.scrollbar.el||S("off")}function B(){const{scrollbar:C,el:T}=e;e.params.scrollbar=Ue(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const L=e.params.scrollbar;if(!L.el)return;let A;if(typeof L.el=="string"&&e.isElement&&(A=e.el.querySelector(L.el)),!A&&typeof L.el=="string"){if(A=n.querySelectorAll(L.el),!A.length)return}else A||(A=L.el);e.params.uniqueNavElements&&typeof L.el=="string"&&A.length>1&&T.querySelectorAll(L.el).length===1&&(A=T.querySelector(L.el)),A.length>0&&(A=A[0]),A.classList.add(e.isHorizontal()?L.horizontalClass:L.verticalClass);let R;A&&(R=A.querySelector(ie(e.params.scrollbar.dragClass)),R||(R=ue("div",e.params.scrollbar.dragClass),A.append(R))),Object.assign(C,{el:A,dragEl:R}),L.draggable&&D(),A&&A.classList[e.enabled?"remove":"add"](...ae(e.params.scrollbar.lockClass))}function z(){const C=e.params.scrollbar,T=e.scrollbar.el;T&&T.classList.remove(...ae(e.isHorizontal()?C.horizontalClass:C.verticalClass)),k()}s("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const C=e.params.scrollbar;let{el:T}=e.scrollbar;T=N(T),T.forEach(L=>{L.classList.remove(C.horizontalClass,C.verticalClass),L.classList.add(e.isHorizontal()?C.horizontalClass:C.verticalClass)})}),s("init",()=>{e.params.scrollbar.enabled===!1?O():(B(),c(),g())}),s("update resize observerUpdate lock unlock changeDirection",()=>{c()}),s("setTranslate",()=>{g()}),s("setTransition",(C,T)=>{d(T)}),s("enable disable",()=>{const{el:C}=e.scrollbar;C&&C.classList[e.enabled?"remove":"add"](...ae(e.params.scrollbar.lockClass))}),s("destroy",()=>{z()});const M=()=>{e.el.classList.remove(...ae(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...ae(e.params.scrollbar.scrollbarDisabledClass)),B(),c(),g()},O=()=>{e.el.classList.add(...ae(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...ae(e.params.scrollbar.scrollbarDisabledClass)),z()};Object.assign(e.scrollbar,{enable:M,disable:O,updateSize:c,setTranslate:g,init:B,destroy:z})}function Bt(t){let{swiper:e,extendParams:i,on:s,emit:r}=t;const n=j();i({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,panOnMouseMove:!1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let l=1,o=!1,a=!1,m={x:0,y:0};const u=-3;let f,w;const g=[],d={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},c={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},b={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let v=1;Object.defineProperty(e.zoom,"scale",{get(){return v},set(P){if(v!==P){const _=d.imageEl,$=d.slideEl;r("zoomChange",P,_,$)}v=P}});function p(){if(g.length<2)return 1;const P=g[0].pageX,_=g[0].pageY,$=g[1].pageX,Y=g[1].pageY;return Math.sqrt(($-P)**2+(Y-_)**2)}function h(){const P=e.params.zoom,_=d.imageWrapEl.getAttribute("data-swiper-zoom")||P.maxRatio;if(P.limitToOriginalSize&&d.imageEl&&d.imageEl.naturalWidth){const $=d.imageEl.naturalWidth/d.imageEl.offsetWidth;return Math.min($,_)}return _}function E(){if(g.length<2)return{x:null,y:null};const P=d.imageEl.getBoundingClientRect();return[(g[0].pageX+(g[1].pageX-g[0].pageX)/2-P.x-n.scrollX)/l,(g[0].pageY+(g[1].pageY-g[0].pageY)/2-P.y-n.scrollY)/l]}function S(){return e.isElement?"swiper-slide":`.${e.params.slideClass}`}function D(P){const _=S();return!!(P.target.matches(_)||e.slides.filter($=>$.contains(P.target)).length>0)}function k(P){const _=`.${e.params.zoom.containerClass}`;return!!(P.target.matches(_)||[...e.hostEl.querySelectorAll(_)].filter($=>$.contains(P.target)).length>0)}function B(P){if(P.pointerType==="mouse"&&g.splice(0,g.length),!D(P))return;const _=e.params.zoom;if(f=!1,w=!1,g.push(P),!(g.length<2)){if(f=!0,d.scaleStart=p(),!d.slideEl){d.slideEl=P.target.closest(`.${e.params.slideClass}, swiper-slide`),d.slideEl||(d.slideEl=e.slides[e.activeIndex]);let $=d.slideEl.querySelector(`.${_.containerClass}`);if($&&($=$.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),d.imageEl=$,$?d.imageWrapEl=we(d.imageEl,`.${_.containerClass}`)[0]:d.imageWrapEl=void 0,!d.imageWrapEl){d.imageEl=void 0;return}d.maxRatio=h()}if(d.imageEl){const[$,Y]=E();d.originX=$,d.originY=Y,d.imageEl.style.transitionDuration="0ms"}o=!0}}function z(P){if(!D(P))return;const _=e.params.zoom,$=e.zoom,Y=g.findIndex(F=>F.pointerId===P.pointerId);Y>=0&&(g[Y]=P),!(g.length<2)&&(w=!0,d.scaleMove=p(),d.imageEl&&($.scale=d.scaleMove/d.scaleStart*l,$.scale>d.maxRatio&&($.scale=d.maxRatio-1+($.scale-d.maxRatio+1)**.5),$.scale<_.minRatio&&($.scale=_.minRatio+1-(_.minRatio-$.scale+1)**.5),d.imageEl.style.transform=`translate3d(0,0,0) scale(${$.scale})`))}function M(P){if(!D(P)||P.pointerType==="mouse"&&P.type==="pointerout")return;const _=e.params.zoom,$=e.zoom,Y=g.findIndex(F=>F.pointerId===P.pointerId);Y>=0&&g.splice(Y,1),!(!f||!w)&&(f=!1,w=!1,d.imageEl&&($.scale=Math.max(Math.min($.scale,d.maxRatio),_.minRatio),d.imageEl.style.transitionDuration=`${e.params.speed}ms`,d.imageEl.style.transform=`translate3d(0,0,0) scale(${$.scale})`,l=$.scale,o=!1,$.scale>1&&d.slideEl?d.slideEl.classList.add(`${_.zoomedSlideClass}`):$.scale<=1&&d.slideEl&&d.slideEl.classList.remove(`${_.zoomedSlideClass}`),$.scale===1&&(d.originX=0,d.originY=0,d.slideEl=void 0)))}let O;function C(){e.touchEventsData.preventTouchMoveFromPointerMove=!1}function T(){clearTimeout(O),e.touchEventsData.preventTouchMoveFromPointerMove=!0,O=setTimeout(()=>{e.destroyed||C()})}function L(P){const _=e.device;if(!d.imageEl||c.isTouched)return;_.android&&P.cancelable&&P.preventDefault(),c.isTouched=!0;const $=g.length>0?g[0]:P;c.touchesStart.x=$.pageX,c.touchesStart.y=$.pageY}function A(P){const $=P.pointerType==="mouse"&&e.params.zoom.panOnMouseMove;if(!D(P)||!k(P))return;const Y=e.zoom;if(!d.imageEl)return;if(!c.isTouched||!d.slideEl){$&&x(P);return}if($){x(P);return}c.isMoved||(c.width=d.imageEl.offsetWidth||d.imageEl.clientWidth,c.height=d.imageEl.offsetHeight||d.imageEl.clientHeight,c.startX=Xe(d.imageWrapEl,"x")||0,c.startY=Xe(d.imageWrapEl,"y")||0,d.slideWidth=d.slideEl.offsetWidth,d.slideHeight=d.slideEl.offsetHeight,d.imageWrapEl.style.transitionDuration="0ms");const F=c.width*Y.scale,se=c.height*Y.scale;if(c.minX=Math.min(d.slideWidth/2-F/2,0),c.maxX=-c.minX,c.minY=Math.min(d.slideHeight/2-se/2,0),c.maxY=-c.minY,c.touchesCurrent.x=g.length>0?g[0].pageX:P.pageX,c.touchesCurrent.y=g.length>0?g[0].pageY:P.pageY,Math.max(Math.abs(c.touchesCurrent.x-c.touchesStart.x),Math.abs(c.touchesCurrent.y-c.touchesStart.y))>5&&(e.allowClick=!1),!c.isMoved&&!o){if(e.isHorizontal()&&(Math.floor(c.minX)===Math.floor(c.startX)&&c.touchesCurrent.xc.touchesStart.x)){c.isTouched=!1,C();return}if(!e.isHorizontal()&&(Math.floor(c.minY)===Math.floor(c.startY)&&c.touchesCurrent.yc.touchesStart.y)){c.isTouched=!1,C();return}}P.cancelable&&P.preventDefault(),P.stopPropagation(),T(),c.isMoved=!0;const J=(Y.scale-l)/(d.maxRatio-e.params.zoom.minRatio),{originX:re,originY:U}=d;c.currentX=c.touchesCurrent.x-c.touchesStart.x+c.startX+J*(c.width-re*2),c.currentY=c.touchesCurrent.y-c.touchesStart.y+c.startY+J*(c.height-U*2),c.currentXc.maxX&&(c.currentX=c.maxX-1+(c.currentX-c.maxX+1)**.8),c.currentYc.maxY&&(c.currentY=c.maxY-1+(c.currentY-c.maxY+1)**.8),b.prevPositionX||(b.prevPositionX=c.touchesCurrent.x),b.prevPositionY||(b.prevPositionY=c.touchesCurrent.y),b.prevTime||(b.prevTime=Date.now()),b.x=(c.touchesCurrent.x-b.prevPositionX)/(Date.now()-b.prevTime)/2,b.y=(c.touchesCurrent.y-b.prevPositionY)/(Date.now()-b.prevTime)/2,Math.abs(c.touchesCurrent.x-b.prevPositionX)<2&&(b.x=0),Math.abs(c.touchesCurrent.y-b.prevPositionY)<2&&(b.y=0),b.prevPositionX=c.touchesCurrent.x,b.prevPositionY=c.touchesCurrent.y,b.prevTime=Date.now(),d.imageWrapEl.style.transform=`translate3d(${c.currentX}px, ${c.currentY}px,0)`}function R(){const P=e.zoom;if(g.length=0,!d.imageEl)return;if(!c.isTouched||!c.isMoved){c.isTouched=!1,c.isMoved=!1;return}c.isTouched=!1,c.isMoved=!1;let _=300,$=300;const Y=b.x*_,F=c.currentX+Y,se=b.y*$,ne=c.currentY+se;b.x!==0&&(_=Math.abs((F-c.currentX)/b.x)),b.y!==0&&($=Math.abs((ne-c.currentY)/b.y));const J=Math.max(_,$);c.currentX=F,c.currentY=ne;const re=c.width*P.scale,U=c.height*P.scale;c.minX=Math.min(d.slideWidth/2-re/2,0),c.maxX=-c.minX,c.minY=Math.min(d.slideHeight/2-U/2,0),c.maxY=-c.minY,c.currentX=Math.max(Math.min(c.currentX,c.maxX),c.minX),c.currentY=Math.max(Math.min(c.currentY,c.maxY),c.minY),d.imageWrapEl.style.transitionDuration=`${J}ms`,d.imageWrapEl.style.transform=`translate3d(${c.currentX}px, ${c.currentY}px,0)`}function y(){const P=e.zoom;d.slideEl&&e.activeIndex!==e.slides.indexOf(d.slideEl)&&(d.imageEl&&(d.imageEl.style.transform="translate3d(0,0,0) scale(1)"),d.imageWrapEl&&(d.imageWrapEl.style.transform="translate3d(0,0,0)"),d.slideEl.classList.remove(`${e.params.zoom.zoomedSlideClass}`),P.scale=1,l=1,d.slideEl=void 0,d.imageEl=void 0,d.imageWrapEl=void 0,d.originX=0,d.originY=0)}function x(P){if(l<=1||!d.imageWrapEl||!D(P)||!k(P))return;const _=n.getComputedStyle(d.imageWrapEl).transform,$=new n.DOMMatrix(_);if(!a){a=!0,m.x=P.clientX,m.y=P.clientY,c.startX=$.e,c.startY=$.f,c.width=d.imageEl.offsetWidth||d.imageEl.clientWidth,c.height=d.imageEl.offsetHeight||d.imageEl.clientHeight,d.slideWidth=d.slideEl.offsetWidth,d.slideHeight=d.slideEl.offsetHeight;return}const Y=(P.clientX-m.x)*u,F=(P.clientY-m.y)*u,se=c.width*l,ne=c.height*l,J=d.slideWidth,re=d.slideHeight,U=Math.min(J/2-se/2,0),ee=-U,fe=Math.min(re/2-ne/2,0),ye=-fe,pe=Math.max(Math.min(c.startX+Y,ee),U),me=Math.max(Math.min(c.startY+F,ye),fe);d.imageWrapEl.style.transitionDuration="0ms",d.imageWrapEl.style.transform=`translate3d(${pe}px, ${me}px, 0)`,m.x=P.clientX,m.y=P.clientY,c.startX=pe,c.startY=me}function I(P){const _=e.zoom,$=e.params.zoom;if(!d.slideEl){P&&P.target&&(d.slideEl=P.target.closest(`.${e.params.slideClass}, swiper-slide`)),d.slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?d.slideEl=Q(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:d.slideEl=e.slides[e.activeIndex]);let he=d.slideEl.querySelector(`.${$.containerClass}`);he&&(he=he.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),d.imageEl=he,he?d.imageWrapEl=we(d.imageEl,`.${$.containerClass}`)[0]:d.imageWrapEl=void 0}if(!d.imageEl||!d.imageWrapEl)return;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),d.slideEl.classList.add(`${$.zoomedSlideClass}`);let Y,F,se,ne,J,re,U,ee,fe,ye,pe,me,Se,xe,Ae,De,$e,_e;typeof c.touchesStart.x>"u"&&P?(Y=P.pageX,F=P.pageY):(Y=c.touchesStart.x,F=c.touchesStart.y);const ge=typeof P=="number"?P:null;l===1&&ge&&(Y=void 0,F=void 0,c.touchesStart.x=void 0,c.touchesStart.y=void 0);const Ze=h();_.scale=ge||Ze,l=ge||Ze,P&&!(l===1&&ge)?($e=d.slideEl.offsetWidth,_e=d.slideEl.offsetHeight,se=He(d.slideEl).left+n.scrollX,ne=He(d.slideEl).top+n.scrollY,J=se+$e/2-Y,re=ne+_e/2-F,fe=d.imageEl.offsetWidth||d.imageEl.clientWidth,ye=d.imageEl.offsetHeight||d.imageEl.clientHeight,pe=fe*_.scale,me=ye*_.scale,Se=Math.min($e/2-pe/2,0),xe=Math.min(_e/2-me/2,0),Ae=-Se,De=-xe,U=J*_.scale,ee=re*_.scale,UAe&&(U=Ae),eeDe&&(ee=De)):(U=0,ee=0),ge&&_.scale===1&&(d.originX=0,d.originY=0),d.imageWrapEl.style.transitionDuration="300ms",d.imageWrapEl.style.transform=`translate3d(${U}px, ${ee}px,0)`,d.imageEl.style.transitionDuration="300ms",d.imageEl.style.transform=`translate3d(0,0,0) scale(${_.scale})`}function G(){const P=e.zoom,_=e.params.zoom;if(!d.slideEl){e.params.virtual&&e.params.virtual.enabled&&e.virtual?d.slideEl=Q(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:d.slideEl=e.slides[e.activeIndex];let $=d.slideEl.querySelector(`.${_.containerClass}`);$&&($=$.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),d.imageEl=$,$?d.imageWrapEl=we(d.imageEl,`.${_.containerClass}`)[0]:d.imageWrapEl=void 0}!d.imageEl||!d.imageWrapEl||(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),P.scale=1,l=1,c.touchesStart.x=void 0,c.touchesStart.y=void 0,d.imageWrapEl.style.transitionDuration="300ms",d.imageWrapEl.style.transform="translate3d(0,0,0)",d.imageEl.style.transitionDuration="300ms",d.imageEl.style.transform="translate3d(0,0,0) scale(1)",d.slideEl.classList.remove(`${_.zoomedSlideClass}`),d.slideEl=void 0,d.originX=0,d.originY=0,e.params.zoom.panOnMouseMove&&(m={x:0,y:0},a&&(a=!1,c.startX=0,c.startY=0)))}function V(P){const _=e.zoom;_.scale&&_.scale!==1?G():I(P)}function q(){const P=e.params.passiveListeners?{passive:!0,capture:!1}:!1,_=e.params.passiveListeners?{passive:!1,capture:!0}:!0;return{passiveListener:P,activeListenerWithCapture:_}}function oe(){const P=e.zoom;if(P.enabled)return;P.enabled=!0;const{passiveListener:_,activeListenerWithCapture:$}=q();e.wrapperEl.addEventListener("pointerdown",B,_),e.wrapperEl.addEventListener("pointermove",z,$),["pointerup","pointercancel","pointerout"].forEach(Y=>{e.wrapperEl.addEventListener(Y,M,_)}),e.wrapperEl.addEventListener("pointermove",A,$)}function Oe(){const P=e.zoom;if(!P.enabled)return;P.enabled=!1;const{passiveListener:_,activeListenerWithCapture:$}=q();e.wrapperEl.removeEventListener("pointerdown",B,_),e.wrapperEl.removeEventListener("pointermove",z,$),["pointerup","pointercancel","pointerout"].forEach(Y=>{e.wrapperEl.removeEventListener(Y,M,_)}),e.wrapperEl.removeEventListener("pointermove",A,$)}s("init",()=>{e.params.zoom.enabled&&oe()}),s("destroy",()=>{Oe()}),s("touchStart",(P,_)=>{e.zoom.enabled&&L(_)}),s("touchEnd",(P,_)=>{e.zoom.enabled&&R()}),s("doubleTap",(P,_)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&V(_)}),s("transitionEnd",()=>{e.zoom.enabled&&e.params.zoom.enabled&&y()}),s("slideChange",()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&y()}),Object.assign(e.zoom,{enable:oe,disable:Oe,in:I,out:G,toggle:V})}function Rt(t){let{swiper:e,extendParams:i,on:s}=t;i({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0}}),e.a11y={clicked:!1};let r=null,n,l,o=new Date().getTime();function a(y){const x=r;x.length!==0&&(x.innerHTML="",x.innerHTML=y)}function m(y){const x=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(y).replace(/x/g,x)}function u(y){y=N(y),y.forEach(x=>{x.setAttribute("tabIndex","0")})}function f(y){y=N(y),y.forEach(x=>{x.setAttribute("tabIndex","-1")})}function w(y,x){y=N(y),y.forEach(I=>{I.setAttribute("role",x)})}function g(y,x){y=N(y),y.forEach(I=>{I.setAttribute("aria-roledescription",x)})}function d(y,x){y=N(y),y.forEach(I=>{I.setAttribute("aria-controls",x)})}function c(y,x){y=N(y),y.forEach(I=>{I.setAttribute("aria-label",x)})}function b(y,x){y=N(y),y.forEach(I=>{I.setAttribute("id",x)})}function v(y,x){y=N(y),y.forEach(I=>{I.setAttribute("aria-live",x)})}function p(y){y=N(y),y.forEach(x=>{x.setAttribute("aria-disabled",!0)})}function h(y){y=N(y),y.forEach(x=>{x.setAttribute("aria-disabled",!1)})}function E(y){if(y.keyCode!==13&&y.keyCode!==32)return;const x=e.params.a11y,I=y.target;if(!(e.pagination&&e.pagination.el&&(I===e.pagination.el||e.pagination.el.contains(y.target))&&!y.target.matches(ie(e.params.pagination.bulletClass)))){if(e.navigation&&e.navigation.prevEl&&e.navigation.nextEl){const G=N(e.navigation.prevEl);N(e.navigation.nextEl).includes(I)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?a(x.lastSlideMessage):a(x.nextSlideMessage)),G.includes(I)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?a(x.firstSlideMessage):a(x.prevSlideMessage))}e.pagination&&I.matches(ie(e.params.pagination.bulletClass))&&I.click()}}function S(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{nextEl:y,prevEl:x}=e.navigation;x&&(e.isBeginning?(p(x),f(x)):(h(x),u(x))),y&&(e.isEnd?(p(y),f(y)):(h(y),u(y)))}function D(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function k(){return D()&&e.params.pagination.clickable}function B(){const y=e.params.a11y;D()&&e.pagination.bullets.forEach(x=>{e.params.pagination.clickable&&(u(x),e.params.pagination.renderBullet||(w(x,"button"),c(x,y.paginationBulletMessage.replace(/\{\{index\}\}/,Ee(x)+1)))),x.matches(ie(e.params.pagination.bulletActiveClass))?x.setAttribute("aria-current","true"):x.removeAttribute("aria-current")})}const z=(y,x,I)=>{u(y),y.tagName!=="BUTTON"&&(w(y,"button"),y.addEventListener("keydown",E)),c(y,I),d(y,x)},M=y=>{l&&l!==y.target&&!l.contains(y.target)&&(n=!0),e.a11y.clicked=!0},O=()=>{n=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},C=y=>{o=new Date().getTime()},T=y=>{if(e.a11y.clicked||!e.params.a11y.scrollOnFocus||new Date().getTime()-o<100)return;const x=y.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!x||!e.slides.includes(x))return;l=x;const I=e.slides.indexOf(x)===e.activeIndex,G=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(x);I||G||y.sourceCapabilities&&y.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,requestAnimationFrame(()=>{n||(e.params.loop?e.slideToLoop(parseInt(x.getAttribute("data-swiper-slide-index")),0):e.slideTo(e.slides.indexOf(x),0),n=!1)}))},L=()=>{const y=e.params.a11y;y.itemRoleDescriptionMessage&&g(e.slides,y.itemRoleDescriptionMessage),y.slideRole&&w(e.slides,y.slideRole);const x=e.slides.length;y.slideLabelMessage&&e.slides.forEach((I,G)=>{const V=e.params.loop?parseInt(I.getAttribute("data-swiper-slide-index"),10):G,q=y.slideLabelMessage.replace(/\{\{index\}\}/,V+1).replace(/\{\{slidesLength\}\}/,x);c(I,q)})},A=()=>{const y=e.params.a11y;e.el.append(r);const x=e.el;y.containerRoleDescriptionMessage&&g(x,y.containerRoleDescriptionMessage),y.containerMessage&&c(x,y.containerMessage),y.containerRole&&w(x,y.containerRole);const I=e.wrapperEl,G=y.id||I.getAttribute("id")||`swiper-wrapper-${m(16)}`,V=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";b(I,G),v(I,V),L();let{nextEl:q,prevEl:oe}=e.navigation?e.navigation:{};q=N(q),oe=N(oe),q&&q.forEach(P=>z(P,G,y.nextSlideMessage)),oe&&oe.forEach(P=>z(P,G,y.prevSlideMessage)),k()&&N(e.pagination.el).forEach(_=>{_.addEventListener("keydown",E)}),K().addEventListener("visibilitychange",C),e.el.addEventListener("focus",T,!0),e.el.addEventListener("focus",T,!0),e.el.addEventListener("pointerdown",M,!0),e.el.addEventListener("pointerup",O,!0)};function R(){r&&r.remove();let{nextEl:y,prevEl:x}=e.navigation?e.navigation:{};y=N(y),x=N(x),y&&y.forEach(G=>G.removeEventListener("keydown",E)),x&&x.forEach(G=>G.removeEventListener("keydown",E)),k()&&N(e.pagination.el).forEach(V=>{V.removeEventListener("keydown",E)}),K().removeEventListener("visibilitychange",C),e.el&&typeof e.el!="string"&&(e.el.removeEventListener("focus",T,!0),e.el.removeEventListener("pointerdown",M,!0),e.el.removeEventListener("pointerup",O,!0))}s("beforeInit",()=>{r=ue("span",e.params.a11y.notificationClass),r.setAttribute("aria-live","assertive"),r.setAttribute("aria-atomic","true")}),s("afterInit",()=>{e.params.a11y.enabled&&A()}),s("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&L()}),s("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&S()}),s("paginationUpdate",()=>{e.params.a11y.enabled&&B()}),s("destroy",()=>{e.params.a11y.enabled&&R()})}function kt(t){let{swiper:e,extendParams:i,on:s,emit:r,params:n}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let l,o,a=n&&n.autoplay?n.autoplay.delay:3e3,m=n&&n.autoplay?n.autoplay.delay:3e3,u,f=new Date().getTime(),w,g,d,c,b,v,p;function h(x){!e||e.destroyed||!e.wrapperEl||x.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",h),!(p||x.detail&&x.detail.bySwiperTouchMove)&&M())}const E=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?w=!0:w&&(m=u,w=!1);const x=e.autoplay.paused?u:f+m-new Date().getTime();e.autoplay.timeLeft=x,r("autoplayTimeLeft",x,x/a),o=requestAnimationFrame(()=>{E()})},S=()=>{let x;return e.virtual&&e.params.virtual.enabled?x=e.slides.find(G=>G.classList.contains("swiper-slide-active")):x=e.slides[e.activeIndex],x?parseInt(x.getAttribute("data-swiper-autoplay"),10):void 0},D=x=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(o),E();let I=typeof x>"u"?e.params.autoplay.delay:x;a=e.params.autoplay.delay,m=e.params.autoplay.delay;const G=S();!Number.isNaN(G)&&G>0&&typeof x>"u"&&(I=G,a=G,m=G),u=I;const V=e.params.speed,q=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(V,!0,!0),r("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,V,!0,!0),r("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(V,!0,!0),r("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,V,!0,!0),r("autoplay")),e.params.cssMode&&(f=new Date().getTime(),requestAnimationFrame(()=>{D()})))};return I>0?(clearTimeout(l),l=setTimeout(()=>{q()},I)):requestAnimationFrame(()=>{q()}),I},k=()=>{f=new Date().getTime(),e.autoplay.running=!0,D(),r("autoplayStart")},B=()=>{e.autoplay.running=!1,clearTimeout(l),cancelAnimationFrame(o),r("autoplayStop")},z=(x,I)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(l),x||(v=!0);const G=()=>{r("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",h):M()};if(e.autoplay.paused=!0,I){b&&(u=e.params.autoplay.delay),b=!1,G();return}u=(u||e.params.autoplay.delay)-(new Date().getTime()-f),!(e.isEnd&&u<0&&!e.params.loop)&&(u<0&&(u=0),G())},M=()=>{e.isEnd&&u<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(f=new Date().getTime(),v?(v=!1,D(u)):D(),e.autoplay.paused=!1,r("autoplayResume"))},O=()=>{if(e.destroyed||!e.autoplay.running)return;const x=K();x.visibilityState==="hidden"&&(v=!0,z(!0)),x.visibilityState==="visible"&&M()},C=x=>{x.pointerType==="mouse"&&(v=!0,p=!0,!(e.animating||e.autoplay.paused)&&z(!0))},T=x=>{x.pointerType==="mouse"&&(p=!1,e.autoplay.paused&&M())},L=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",C),e.el.addEventListener("pointerleave",T))},A=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",C),e.el.removeEventListener("pointerleave",T))},R=()=>{K().addEventListener("visibilitychange",O)},y=()=>{K().removeEventListener("visibilitychange",O)};s("init",()=>{e.params.autoplay.enabled&&(L(),R(),k())}),s("destroy",()=>{A(),y(),e.autoplay.running&&B()}),s("_freeModeStaticRelease",()=>{(d||v)&&M()}),s("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?B():z(!0,!0)}),s("beforeTransitionStart",(x,I,G)=>{e.destroyed||!e.autoplay.running||(G||!e.params.autoplay.disableOnInteraction?z(!0,!0):B())}),s("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){B();return}g=!0,d=!1,v=!1,c=setTimeout(()=>{v=!0,d=!0,z(!0)},200)}}),s("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!g)){if(clearTimeout(c),clearTimeout(l),e.params.autoplay.disableOnInteraction){d=!1,g=!1;return}d&&e.params.cssMode&&M(),d=!1,g=!1}}),s("slideChange",()=>{e.destroyed||!e.autoplay.running||(b=!0)}),Object.assign(e.autoplay,{start:k,stop:B,pause:z,resume:M})}let Be;function Gt(){const t=j(),e=K();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function lt(){return Be||(Be=Gt()),Be}let Re;function Nt(t){let{userAgent:e}=t===void 0?{}:t;const i=lt(),s=j(),r=s.navigator.platform,n=e||s.navigator.userAgent,l={ios:!1,android:!1},o=s.screen.width,a=s.screen.height,m=n.match(/(Android);?[\s\/]+([\d.]+)?/);let u=n.match(/(iPad).*OS\s([\d_]+)/);const f=n.match(/(iPod)(.*OS\s([\d_]+))?/),w=!u&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/),g=r==="Win32";let d=r==="MacIntel";const c=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!u&&d&&i.touch&&c.indexOf(`${o}x${a}`)>=0&&(u=n.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),d=!1),m&&!g&&(l.os="android",l.android=!0),(u||w||f)&&(l.os="ios",l.ios=!0),l}function ot(t){return t===void 0&&(t={}),Re||(Re=Nt(t)),Re}let ke;function Yt(){const t=j(),e=ot();let i=!1;function s(){const o=t.navigator.userAgent.toLowerCase();return o.indexOf("safari")>=0&&o.indexOf("chrome")<0&&o.indexOf("android")<0}if(s()){const o=String(t.navigator.userAgent);if(o.includes("Version/")){const[a,m]=o.split("Version/")[1].split(" ")[0].split(".").map(u=>Number(u));i=a<16||a===16&&m<2}}const r=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),n=s(),l=n||r&&e.ios;return{isSafari:i||n,needPerspectiveFix:i,need3dFix:l,isWebView:r}}function Wt(){return ke||(ke=Yt()),ke}function Xt(t){let{swiper:e,on:i,emit:s}=t;const r=j();let n=null,l=null;const o=()=>{!e||e.destroyed||!e.initialized||(s("beforeResize"),s("resize"))},a=()=>{!e||e.destroyed||!e.initialized||(n=new ResizeObserver(f=>{l=r.requestAnimationFrame(()=>{const{width:w,height:g}=e;let d=w,c=g;f.forEach(b=>{let{contentBoxSize:v,contentRect:p,target:h}=b;h&&h!==e.el||(d=p?p.width:(v[0]||v).inlineSize,c=p?p.height:(v[0]||v).blockSize)}),(d!==w||c!==g)&&o()})}),n.observe(e.el))},m=()=>{l&&r.cancelAnimationFrame(l),n&&n.unobserve&&e.el&&(n.unobserve(e.el),n=null)},u=()=>{!e||e.destroyed||!e.initialized||s("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof r.ResizeObserver<"u"){a();return}r.addEventListener("resize",o),r.addEventListener("orientationchange",u)}),i("destroy",()=>{m(),r.removeEventListener("resize",o),r.removeEventListener("orientationchange",u)})}function Ht(t){let{swiper:e,extendParams:i,on:s,emit:r}=t;const n=[],l=j(),o=function(u,f){f===void 0&&(f={});const w=l.MutationObserver||l.WebkitMutationObserver,g=new w(d=>{if(e.__preventObserver__)return;if(d.length===1){r("observerUpdate",d[0]);return}const c=function(){r("observerUpdate",d[0])};l.requestAnimationFrame?l.requestAnimationFrame(c):l.setTimeout(c,0)});g.observe(u,{attributes:typeof f.attributes>"u"?!0:f.attributes,childList:e.isElement||(typeof f.childList>"u"?!0:f).childList,characterData:typeof f.characterData>"u"?!0:f.characterData}),n.push(g)},a=()=>{if(e.params.observer){if(e.params.observeParents){const u=we(e.hostEl);for(let f=0;f{n.forEach(u=>{u.disconnect()}),n.splice(0,n.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),s("init",a),s("destroy",m)}var Vt={on(t,e,i){const s=this;if(!s.eventsListeners||s.destroyed||typeof e!="function")return s;const r=i?"unshift":"push";return t.split(" ").forEach(n=>{s.eventsListeners[n]||(s.eventsListeners[n]=[]),s.eventsListeners[n][r](e)}),s},once(t,e,i){const s=this;if(!s.eventsListeners||s.destroyed||typeof e!="function")return s;function r(){s.off(t,r),r.__emitterProxy&&delete r.__emitterProxy;for(var n=arguments.length,l=new Array(n),o=0;o=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed||!i.eventsListeners||t.split(" ").forEach(s=>{typeof e>"u"?i.eventsListeners[s]=[]:i.eventsListeners[s]&&i.eventsListeners[s].forEach((r,n)=>{(r===e||r.__emitterProxy&&r.__emitterProxy===e)&&i.eventsListeners[s].splice(n,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,s;for(var r=arguments.length,n=new Array(r),l=0;l{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(m=>{m.apply(s,[a,...i])}),t.eventsListeners&&t.eventsListeners[a]&&t.eventsListeners[a].forEach(m=>{m.apply(s,i)})}),t}};function Ft(){const t=this;let e,i;const s=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=s.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?i=t.params.height:i=s.clientHeight,!(e===0&&t.isHorizontal()||i===0&&t.isVertical())&&(e=e-parseInt(le(s,"padding-left")||0,10)-parseInt(le(s,"padding-right")||0,10),i=i-parseInt(le(s,"padding-top")||0,10)-parseInt(le(s,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(i)&&(i=0),Object.assign(t,{width:e,height:i,size:t.isHorizontal()?e:i}))}function jt(){const t=this;function e(M,O){return parseFloat(M.getPropertyValue(t.getDirectionLabel(O))||0)}const i=t.params,{wrapperEl:s,slidesEl:r,size:n,rtlTranslate:l,wrongRTL:o}=t,a=t.virtual&&i.virtual.enabled,m=a?t.virtual.slides.length:t.slides.length,u=Q(r,`.${t.params.slideClass}, swiper-slide`),f=a?t.virtual.slides.length:u.length;let w=[];const g=[],d=[];let c=i.slidesOffsetBefore;typeof c=="function"&&(c=i.slidesOffsetBefore.call(t));let b=i.slidesOffsetAfter;typeof b=="function"&&(b=i.slidesOffsetAfter.call(t));const v=t.snapGrid.length,p=t.slidesGrid.length;let h=i.spaceBetween,E=-c,S=0,D=0;if(typeof n>"u")return;typeof h=="string"&&h.indexOf("%")>=0?h=parseFloat(h.replace("%",""))/100*n:typeof h=="string"&&(h=parseFloat(h)),t.virtualSize=-h,u.forEach(M=>{l?M.style.marginLeft="":M.style.marginRight="",M.style.marginBottom="",M.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(Ce(s,"--swiper-centered-offset-before",""),Ce(s,"--swiper-centered-offset-after",""));const k=i.grid&&i.grid.rows>1&&t.grid;k?t.grid.initSlides(u):t.grid&&t.grid.unsetSlides();let B;const z=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(M=>typeof i.breakpoints[M].slidesPerView<"u").length>0;for(let M=0;M1&&w.push(t.virtualSize-n)}if(a&&i.loop){const M=d[0]+h;if(i.slidesPerGroup>1){const O=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),C=M*i.slidesPerGroup;for(let T=0;T!i.cssMode||i.loop?!0:C!==u.length-1).forEach(O=>{O.style[M]=`${h}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let M=0;d.forEach(C=>{M+=C+(h||0)}),M-=h;const O=M>n?M-n:0;w=w.map(C=>C<=0?-c:C>O?O+b:C)}if(i.centerInsufficientSlides){let M=0;d.forEach(C=>{M+=C+(h||0)}),M-=h;const O=(i.slidesOffsetBefore||0)+(i.slidesOffsetAfter||0);if(M+O{w[L]=T-C}),g.forEach((T,L)=>{g[L]=T+C})}}if(Object.assign(t,{slides:u,snapGrid:w,slidesGrid:g,slidesSizesGrid:d}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){Ce(s,"--swiper-centered-offset-before",`${-w[0]}px`),Ce(s,"--swiper-centered-offset-after",`${t.size/2-d[d.length-1]/2}px`);const M=-t.snapGrid[0],O=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(C=>C+M),t.slidesGrid=t.slidesGrid.map(C=>C+O)}if(f!==m&&t.emit("slidesLengthChange"),w.length!==v&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),g.length!==p&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!a&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const M=`${i.containerModifierClass}backface-hidden`,O=t.el.classList.contains(M);f<=i.maxBackfaceHiddenSlides?O||t.el.classList.add(M):O&&t.el.classList.remove(M)}}function qt(t){const e=this,i=[],s=e.virtual&&e.params.virtual.enabled;let r=0,n;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const l=o=>s?e.slides[e.getSlideIndexByData(o)]:e.slides[o];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(o=>{i.push(o)});else for(n=0;ne.slides.length&&!s)break;i.push(l(o))}else i.push(l(e.activeIndex));for(n=0;nr?o:r}(r||r===0)&&(e.wrapperEl.style.height=`${r}px`)}function Ut(){const t=this,e=t.slides,i=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let s=0;s{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function Kt(t){t===void 0&&(t=this&&this.translate||0);const e=this,i=e.params,{slides:s,rtlTranslate:r,snapGrid:n}=e;if(s.length===0)return;typeof s[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let l=-t;r&&(l=t),e.visibleSlidesIndexes=[],e.visibleSlides=[];let o=i.spaceBetween;typeof o=="string"&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*e.size:typeof o=="string"&&(o=parseFloat(o));for(let a=0;a=0&&g<=e.size-e.slidesSizesGrid[a],b=g>=0&&g1&&d<=e.size||g<=0&&d>=e.size;b&&(e.visibleSlides.push(m),e.visibleSlidesIndexes.push(a)),Je(m,b,i.slideVisibleClass),Je(m,c,i.slideFullyVisibleClass),m.progress=r?-f:f,m.originalProgress=r?-w:w}}function Zt(t){const e=this;if(typeof t>"u"){const u=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*u||0}const i=e.params,s=e.maxTranslate()-e.minTranslate();let{progress:r,isBeginning:n,isEnd:l,progressLoop:o}=e;const a=n,m=l;if(s===0)r=0,n=!0,l=!0;else{r=(t-e.minTranslate())/s;const u=Math.abs(t-e.minTranslate())<1,f=Math.abs(t-e.maxTranslate())<1;n=u||r<=0,l=f||r>=1,u&&(r=0),f&&(r=1)}if(i.loop){const u=e.getSlideIndexByData(0),f=e.getSlideIndexByData(e.slides.length-1),w=e.slidesGrid[u],g=e.slidesGrid[f],d=e.slidesGrid[e.slidesGrid.length-1],c=Math.abs(t);c>=w?o=(c-w)/d:o=(c+d-g)/d,o>1&&(o-=1)}Object.assign(e,{progress:r,progressLoop:o,isBeginning:n,isEnd:l}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),n&&!a&&e.emit("reachBeginning toEdge"),l&&!m&&e.emit("reachEnd toEdge"),(a&&!n||m&&!l)&&e.emit("fromEdge"),e.emit("progress",r)}const Ge=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function Qt(){const t=this,{slides:e,params:i,slidesEl:s,activeIndex:r}=t,n=t.virtual&&i.virtual.enabled,l=t.grid&&i.grid&&i.grid.rows>1,o=f=>Q(s,`.${i.slideClass}${f}, swiper-slide${f}`)[0];let a,m,u;if(n)if(i.loop){let f=r-t.virtual.slidesBefore;f<0&&(f=t.virtual.slides.length+f),f>=t.virtual.slides.length&&(f-=t.virtual.slides.length),a=o(`[data-swiper-slide-index="${f}"]`)}else a=o(`[data-swiper-slide-index="${r}"]`);else l?(a=e.find(f=>f.column===r),u=e.find(f=>f.column===r+1),m=e.find(f=>f.column===r-1)):a=e[r];a&&(l||(u=At(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!u&&(u=e[0]),m=Ot(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!m===0&&(m=e[e.length-1]))),e.forEach(f=>{Ge(f,f===a,i.slideActiveClass),Ge(f,f===u,i.slideNextClass),Ge(f,f===m,i.slidePrevClass)}),t.emitSlidesClasses()}const Me=(t,e)=>{if(!t||t.destroyed||!t.params)return;const i=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,s=e.closest(i());if(s){let r=s.querySelector(`.${t.params.lazyPreloaderClass}`);!r&&t.isElement&&(s.shadowRoot?r=s.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{s.shadowRoot&&(r=s.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),r&&r.remove())})),r&&r.remove()}},Ne=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},Fe=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const s=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),r=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const l=r,o=[l-e];o.push(...Array.from({length:e}).map((a,m)=>l+s+m)),t.slides.forEach((a,m)=>{o.includes(a.column)&&Ne(t,m)});return}const n=r+s-1;if(t.params.rewind||t.params.loop)for(let l=r-e;l<=n+e;l+=1){const o=(l%i+i)%i;(on)&&Ne(t,o)}else for(let l=Math.max(r-e,0);l<=Math.min(n+e,i-1);l+=1)l!==r&&(l>n||l=e[n]&&s=e[n]&&s=e[n]&&(r=n);return i.normalizeSlideIndex&&(r<0||typeof r>"u")&&(r=0),r}function ei(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:s,params:r,activeIndex:n,realIndex:l,snapIndex:o}=e;let a=t,m;const u=g=>{let d=g-e.virtual.slidesBefore;return d<0&&(d=e.virtual.slides.length+d),d>=e.virtual.slides.length&&(d-=e.virtual.slides.length),d};if(typeof a>"u"&&(a=Jt(e)),s.indexOf(i)>=0)m=s.indexOf(i);else{const g=Math.min(r.slidesPerGroupSkip,a);m=g+Math.floor((a-g)/r.slidesPerGroup)}if(m>=s.length&&(m=s.length-1),a===n&&!e.params.loop){m!==o&&(e.snapIndex=m,e.emit("snapIndexChange"));return}if(a===n&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=u(a);return}const f=e.grid&&r.grid&&r.grid.rows>1;let w;if(e.virtual&&r.virtual.enabled&&r.loop)w=u(a);else if(f){const g=e.slides.find(c=>c.column===a);let d=parseInt(g.getAttribute("data-swiper-slide-index"),10);Number.isNaN(d)&&(d=Math.max(e.slides.indexOf(g),0)),w=Math.floor(d/r.grid.rows)}else if(e.slides[a]){const g=e.slides[a].getAttribute("data-swiper-slide-index");g?w=parseInt(g,10):w=a}else w=a;Object.assign(e,{previousSnapIndex:o,snapIndex:m,previousRealIndex:l,realIndex:w,previousIndex:n,activeIndex:a}),e.initialized&&Fe(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(l!==w&&e.emit("realIndexChange"),e.emit("slideChange"))}function ti(t,e){const i=this,s=i.params;let r=t.closest(`.${s.slideClass}, swiper-slide`);!r&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(o=>{!r&&o.matches&&o.matches(`.${s.slideClass}, swiper-slide`)&&(r=o)});let n=!1,l;if(r){for(let o=0;oa?u=a:s&&tl?o="next":n"u"&&(e=n.params.speed);const c=Math.min(n.params.slidesPerGroupSkip,l);let b=c+Math.floor((l-c)/n.params.slidesPerGroup);b>=a.length&&(b=a.length-1);const v=-a[b];if(o.normalizeSlideIndex)for(let S=0;S=k&&D=k&&D=k&&(l=S)}if(n.initialized&&l!==f&&(!n.allowSlideNext&&(w?v>n.translate&&v>n.minTranslate():vn.translate&&v>n.maxTranslate()&&(f||0)!==l))return!1;l!==(u||0)&&i&&n.emit("beforeSlideChangeStart"),n.updateProgress(v);let p;l>f?p="next":l0?(n._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{g[S?"scrollLeft":"scrollTop"]=D})):g[S?"scrollLeft":"scrollTop"]=D,h&&requestAnimationFrame(()=>{n.wrapperEl.style.scrollSnapType="",n._immediateVirtual=!1});else{if(!n.support.smoothScroll)return at({swiper:n,targetPosition:D,side:S?"left":"top"}),!0;g.scrollTo({[S?"left":"top"]:D,behavior:"smooth"})}return!0}return n.setTransition(e),n.setTranslate(v),n.updateActiveIndex(l),n.updateSlidesClasses(),n.emit("beforeTransitionStart",e,s),n.transitionStart(i,p),e===0?n.transitionEnd(i,p):n.animating||(n.animating=!0,n.onSlideToWrapperTransitionEnd||(n.onSlideToWrapperTransitionEnd=function(D){!n||n.destroyed||D.target===this&&(n.wrapperEl.removeEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.onSlideToWrapperTransitionEnd=null,delete n.onSlideToWrapperTransitionEnd,n.transitionEnd(i,p))}),n.wrapperEl.addEventListener("transitionend",n.onSlideToWrapperTransitionEnd)),!0}function mi(t,e,i,s){t===void 0&&(t=0),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const r=this;if(r.destroyed)return;typeof e>"u"&&(e=r.params.speed);const n=r.grid&&r.params.grid&&r.params.grid.rows>1;let l=t;if(r.params.loop)if(r.virtual&&r.params.virtual.enabled)l=l+r.virtual.slidesBefore;else{let o;if(n){const w=l*r.params.grid.rows;o=r.slides.find(g=>g.getAttribute("data-swiper-slide-index")*1===w).column}else o=r.getSlideIndexByData(l);const a=n?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,{centeredSlides:m}=r.params;let u=r.params.slidesPerView;u==="auto"?u=r.slidesPerViewDynamic():(u=Math.ceil(parseFloat(r.params.slidesPerView,10)),m&&u%2===0&&(u=u+1));let f=a-og.getAttribute("data-swiper-slide-index")*1===w).column}else l=r.getSlideIndexByData(l)}return requestAnimationFrame(()=>{r.slideTo(l,e,i,s)}),r}function gi(t,e,i){e===void 0&&(e=!0);const s=this,{enabled:r,params:n,animating:l}=s;if(!r||s.destroyed)return s;typeof t>"u"&&(t=s.params.speed);let o=n.slidesPerGroup;n.slidesPerView==="auto"&&n.slidesPerGroup===1&&n.slidesPerGroupAuto&&(o=Math.max(s.slidesPerViewDynamic("current",!0),1));const a=s.activeIndex{s.slideTo(s.activeIndex+a,t,e,i)}),!0}return n.rewind&&s.isEnd?s.slideTo(0,t,e,i):s.slideTo(s.activeIndex+a,t,e,i)}function hi(t,e,i){e===void 0&&(e=!0);const s=this,{params:r,snapGrid:n,slidesGrid:l,rtlTranslate:o,enabled:a,animating:m}=s;if(!a||s.destroyed)return s;typeof t>"u"&&(t=s.params.speed);const u=s.virtual&&r.virtual.enabled;if(r.loop){if(m&&!u&&r.loopPreventsSliding)return!1;s.loopFix({direction:"prev"}),s._clientLeft=s.wrapperEl.clientLeft}const f=o?s.translate:-s.translate;function w(v){return v<0?-Math.floor(Math.abs(v)):Math.floor(v)}const g=w(f),d=n.map(v=>w(v));let c=n[d.indexOf(g)-1];if(typeof c>"u"&&r.cssMode){let v;n.forEach((p,h)=>{g>=p&&(v=h)}),typeof v<"u"&&(c=n[v>0?v-1:v])}let b=0;if(typeof c<"u"&&(b=l.indexOf(c),b<0&&(b=s.activeIndex-1),r.slidesPerView==="auto"&&r.slidesPerGroup===1&&r.slidesPerGroupAuto&&(b=b-s.slidesPerViewDynamic("previous",!0)+1,b=Math.max(b,0))),r.rewind&&s.isBeginning){const v=s.params.virtual&&s.params.virtual.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1;return s.slideTo(v,t,e,i)}else if(r.loop&&s.activeIndex===0&&r.cssMode)return requestAnimationFrame(()=>{s.slideTo(b,t,e,i)}),!0;return s.slideTo(b,t,e,i)}function vi(t,e,i){e===void 0&&(e=!0);const s=this;if(!s.destroyed)return typeof t>"u"&&(t=s.params.speed),s.slideTo(s.activeIndex,t,e,i)}function wi(t,e,i,s){e===void 0&&(e=!0),s===void 0&&(s=.5);const r=this;if(r.destroyed)return;typeof t>"u"&&(t=r.params.speed);let n=r.activeIndex;const l=Math.min(r.params.slidesPerGroupSkip,n),o=l+Math.floor((n-l)/r.params.slidesPerGroup),a=r.rtlTranslate?r.translate:-r.translate;if(a>=r.snapGrid[o]){const m=r.snapGrid[o],u=r.snapGrid[o+1];a-m>(u-m)*s&&(n+=r.params.slidesPerGroup)}else{const m=r.snapGrid[o-1],u=r.snapGrid[o];a-m<=(u-m)*s&&(n-=r.params.slidesPerGroup)}return n=Math.max(n,0),n=Math.min(n,r.slidesGrid.length-1),r.slideTo(n,t,e,i)}function bi(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,s=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let r=t.clickedIndex,n;const l=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;n=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?rt.slides.length-t.loopedSlides+s/2?(t.loopFix(),r=t.getSlideIndex(Q(i,`${l}[data-swiper-slide-index="${n}"]`)[0]),Pe(()=>{t.slideTo(r)})):t.slideTo(r):r>t.slides.length-s?(t.loopFix(),r=t.getSlideIndex(Q(i,`${l}[data-swiper-slide-index="${n}"]`)[0]),Pe(()=>{t.slideTo(r)})):t.slideTo(r)}else t.slideTo(r)}var Ei={slideTo:pi,slideToLoop:mi,slideNext:gi,slidePrev:hi,slideReset:vi,slideToClosest:wi,slideToClickedSlide:bi};function yi(t){const e=this,{params:i,slidesEl:s}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const r=()=>{Q(s,`.${i.slideClass}, swiper-slide`).forEach((f,w)=>{f.setAttribute("data-swiper-slide-index",w)})},n=e.grid&&i.grid&&i.grid.rows>1,l=i.slidesPerGroup*(n?i.grid.rows:1),o=e.slides.length%l!==0,a=n&&e.slides.length%i.grid.rows!==0,m=u=>{for(let f=0;f1;m.length"u"?n=a.getSlideIndex(m.find(T=>T.classList.contains(g.slideActiveClass))):S=n;const D=s==="next"||!s,k=s==="prev"||!s;let B=0,z=0;const M=p?Math.ceil(m.length/g.grid.rows):m.length,C=(p?m[n].column:n)+(d&&typeof r>"u"?-c/2+.5:0);if(C=0;R-=1)m[R].column===A&&h.push(R)}else h.push(M-L-1)}}else if(C+c>M-v){z=Math.max(C-(M-v*2),b);for(let T=0;T{A.column===L&&E.push(R)}):E.push(L)}}if(a.__preventObserver__=!0,requestAnimationFrame(()=>{a.__preventObserver__=!1}),k&&h.forEach(T=>{m[T].swiperLoopMoveDOM=!0,w.prepend(m[T]),m[T].swiperLoopMoveDOM=!1}),D&&E.forEach(T=>{m[T].swiperLoopMoveDOM=!0,w.append(m[T]),m[T].swiperLoopMoveDOM=!1}),a.recalcSlides(),g.slidesPerView==="auto"?a.updateSlides():p&&(h.length>0&&k||E.length>0&&D)&&a.slides.forEach((T,L)=>{a.grid.updateSlide(L,T,a.slides)}),g.watchSlidesProgress&&a.updateSlidesOffset(),i){if(h.length>0&&k){if(typeof e>"u"){const T=a.slidesGrid[S],A=a.slidesGrid[S+B]-T;o?a.setTranslate(a.translate-A):(a.slideTo(S+Math.ceil(B),0,!1,!0),r&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-A,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-A))}else if(r){const T=p?h.length/g.grid.rows:h.length;a.slideTo(a.activeIndex+T,0,!1,!0),a.touchEventsData.currentTranslate=a.translate}}else if(E.length>0&&D)if(typeof e>"u"){const T=a.slidesGrid[S],A=a.slidesGrid[S-z]-T;o?a.setTranslate(a.translate-A):(a.slideTo(S-z,0,!1,!0),r&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-A,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-A))}else{const T=p?E.length/g.grid.rows:E.length;a.slideTo(a.activeIndex-T,0,!1,!0)}}if(a.allowSlidePrev=u,a.allowSlideNext=f,a.controller&&a.controller.control&&!l){const T={slideRealIndex:e,direction:s,setTranslate:r,activeSlideIndex:n,byController:!0};Array.isArray(a.controller.control)?a.controller.control.forEach(L=>{!L.destroyed&&L.params.loop&&L.loopFix({...T,slideTo:L.params.slidesPerView===g.slidesPerView?i:!1})}):a.controller.control instanceof a.constructor&&a.controller.control.params.loop&&a.controller.control.loopFix({...T,slideTo:a.controller.control.params.slidesPerView===g.slidesPerView?i:!1})}a.emit("loopFix")}function xi(){const t=this,{params:e,slidesEl:i}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const s=[];t.slides.forEach(r=>{const n=typeof r.swiperSlideIndex>"u"?r.getAttribute("data-swiper-slide-index")*1:r.swiperSlideIndex;s[n]=r}),t.slides.forEach(r=>{r.removeAttribute("data-swiper-slide-index")}),s.forEach(r=>{i.append(r)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var Ti={loopCreate:yi,loopFix:Si,loopDestroy:xi};function Ci(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const i=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function Mi(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}var Pi={setGrabCursor:Ci,unsetGrabCursor:Mi};function Li(t,e){e===void 0&&(e=this);function i(s){if(!s||s===K()||s===j())return null;s.assignedSlot&&(s=s.assignedSlot);const r=s.closest(t);return!r&&!s.getRootNode?null:r||i(s.getRootNode().host)}return i(e)}function et(t,e,i){const s=j(),{params:r}=t,n=r.edgeSwipeDetection,l=r.edgeSwipeThreshold;return n&&(i<=l||i>=s.innerWidth-l)?n==="prevent"?(e.preventDefault(),!0):!1:!0}function zi(t){const e=this,i=K();let s=t;s.originalEvent&&(s=s.originalEvent);const r=e.touchEventsData;if(s.type==="pointerdown"){if(r.pointerId!==null&&r.pointerId!==s.pointerId)return;r.pointerId=s.pointerId}else s.type==="touchstart"&&s.targetTouches.length===1&&(r.touchId=s.targetTouches[0].identifier);if(s.type==="touchstart"){et(e,s,s.targetTouches[0].pageX);return}const{params:n,touches:l,enabled:o}=e;if(!o||!n.simulateTouch&&s.pointerType==="mouse"||e.animating&&n.preventInteractionOnTransition)return;!e.animating&&n.cssMode&&n.loop&&e.loopFix();let a=s.target;if(n.touchEventsTarget==="wrapper"&&!It(a,e.wrapperEl)||"which"in s&&s.which===3||"button"in s&&s.button>0||r.isTouched&&r.isMoved)return;const m=!!n.noSwipingClass&&n.noSwipingClass!=="",u=s.composedPath?s.composedPath():s.path;m&&s.target&&s.target.shadowRoot&&u&&(a=u[0]);const f=n.noSwipingSelector?n.noSwipingSelector:`.${n.noSwipingClass}`,w=!!(s.target&&s.target.shadowRoot);if(n.noSwiping&&(w?Li(f,a):a.closest(f))){e.allowClick=!0;return}if(n.swipeHandler&&!a.closest(n.swipeHandler))return;l.currentX=s.pageX,l.currentY=s.pageY;const g=l.currentX,d=l.currentY;if(!et(e,s,g))return;Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=g,l.startY=d,r.touchStartTime=Le(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,n.threshold>0&&(r.allowThresholdMove=!1);let c=!0;a.matches(r.focusableElements)&&(c=!1,a.nodeName==="SELECT"&&(r.isTouched=!1)),i.activeElement&&i.activeElement.matches(r.focusableElements)&&i.activeElement!==a&&(s.pointerType==="mouse"||s.pointerType!=="mouse"&&!a.matches(r.focusableElements))&&i.activeElement.blur();const b=c&&e.allowTouchMove&&n.touchStartPreventDefault;(n.touchStartForcePreventDefault||b)&&!a.isContentEditable&&s.preventDefault(),n.freeMode&&n.freeMode.enabled&&e.freeMode&&e.animating&&!n.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",s)}function Ii(t){const e=K(),i=this,s=i.touchEventsData,{params:r,touches:n,rtlTranslate:l,enabled:o}=i;if(!o||!r.simulateTouch&&t.pointerType==="mouse")return;let a=t;if(a.originalEvent&&(a=a.originalEvent),a.type==="pointermove"&&(s.touchId!==null||a.pointerId!==s.pointerId))return;let m;if(a.type==="touchmove"){if(m=[...a.changedTouches].find(S=>S.identifier===s.touchId),!m||m.identifier!==s.touchId)return}else m=a;if(!s.isTouched){s.startMoving&&s.isScrolling&&i.emit("touchMoveOpposite",a);return}const u=m.pageX,f=m.pageY;if(a.preventedByNestedSwiper){n.startX=u,n.startY=f;return}if(!i.allowTouchMove){a.target.matches(s.focusableElements)||(i.allowClick=!1),s.isTouched&&(Object.assign(n,{startX:u,startY:f,currentX:u,currentY:f}),s.touchStartTime=Le());return}if(r.touchReleaseOnEdges&&!r.loop){if(i.isVertical()){if(fn.startY&&i.translate>=i.minTranslate()){s.isTouched=!1,s.isMoved=!1;return}}else if(un.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&e.activeElement.matches(s.focusableElements)&&e.activeElement!==a.target&&a.pointerType!=="mouse"&&e.activeElement.blur(),e.activeElement&&a.target===e.activeElement&&a.target.matches(s.focusableElements)){s.isMoved=!0,i.allowClick=!1;return}s.allowTouchCallbacks&&i.emit("touchMove",a),n.previousX=n.currentX,n.previousY=n.currentY,n.currentX=u,n.currentY=f;const w=n.currentX-n.startX,g=n.currentY-n.startY;if(i.params.threshold&&Math.sqrt(w**2+g**2)"u"){let S;i.isHorizontal()&&n.currentY===n.startY||i.isVertical()&&n.currentX===n.startX?s.isScrolling=!1:w*w+g*g>=25&&(S=Math.atan2(Math.abs(g),Math.abs(w))*180/Math.PI,s.isScrolling=i.isHorizontal()?S>r.touchAngle:90-S>r.touchAngle)}if(s.isScrolling&&i.emit("touchMoveOpposite",a),typeof s.startMoving>"u"&&(n.currentX!==n.startX||n.currentY!==n.startY)&&(s.startMoving=!0),s.isScrolling||a.type==="touchmove"&&s.preventTouchMoveFromPointerMove){s.isTouched=!1;return}if(!s.startMoving)return;i.allowClick=!1,!r.cssMode&&a.cancelable&&a.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&a.stopPropagation();let d=i.isHorizontal()?w:g,c=i.isHorizontal()?n.currentX-n.previousX:n.currentY-n.previousY;r.oneWayMovement&&(d=Math.abs(d)*(l?1:-1),c=Math.abs(c)*(l?1:-1)),n.diff=d,d*=r.touchRatio,l&&(d=-d,c=-c);const b=i.touchesDirection;i.swipeDirection=d>0?"prev":"next",i.touchesDirection=c>0?"prev":"next";const v=i.params.loop&&!r.cssMode,p=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!s.isMoved){if(v&&p&&i.loopFix({direction:i.swipeDirection}),s.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const S=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});i.wrapperEl.dispatchEvent(S)}s.allowMomentumBounce=!1,r.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",a)}if(new Date().getTime(),s.isMoved&&s.allowThresholdMove&&b!==i.touchesDirection&&v&&p&&Math.abs(d)>=1){Object.assign(n,{startX:u,startY:f,currentX:u,currentY:f,startTranslate:s.currentTranslate}),s.loopSwapReset=!0,s.startTranslate=s.currentTranslate;return}i.emit("sliderMove",a),s.isMoved=!0,s.currentTranslate=d+s.startTranslate;let h=!0,E=r.resistanceRatio;if(r.touchReleaseOnEdges&&(E=0),d>0?(v&&p&&s.allowThresholdMove&&s.currentTranslate>(r.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]-(r.slidesPerView!=="auto"&&i.slides.length-r.slidesPerView>=2?i.slidesSizesGrid[i.activeIndex+1]+i.params.spaceBetween:0)-i.params.spaceBetween:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),s.currentTranslate>i.minTranslate()&&(h=!1,r.resistance&&(s.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+s.startTranslate+d)**E))):d<0&&(v&&p&&s.allowThresholdMove&&s.currentTranslate<(r.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]+i.params.spaceBetween+(r.slidesPerView!=="auto"&&i.slides.length-r.slidesPerView>=2?i.slidesSizesGrid[i.slidesSizesGrid.length-1]+i.params.spaceBetween:0):i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-(r.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),s.currentTranslates.startTranslate&&(s.currentTranslate=s.startTranslate),!i.allowSlidePrev&&!i.allowSlideNext&&(s.currentTranslate=s.startTranslate),r.threshold>0)if(Math.abs(d)>r.threshold||s.allowThresholdMove){if(!s.allowThresholdMove){s.allowThresholdMove=!0,n.startX=n.currentX,n.startY=n.currentY,s.currentTranslate=s.startTranslate,n.diff=i.isHorizontal()?n.currentX-n.startX:n.currentY-n.startY;return}}else{s.currentTranslate=s.startTranslate;return}!r.followFinger||r.cssMode||((r.freeMode&&r.freeMode.enabled&&i.freeMode||r.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(s.currentTranslate),i.setTranslate(s.currentTranslate))}function Oi(t){const e=this,i=e.touchEventsData;let s=t;s.originalEvent&&(s=s.originalEvent);let r;if(s.type==="touchend"||s.type==="touchcancel"){if(r=[...s.changedTouches].find(S=>S.identifier===i.touchId),!r||r.identifier!==i.touchId)return}else{if(i.touchId!==null||s.pointerId!==i.pointerId)return;r=s}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(s.type)&&!(["pointercancel","contextmenu"].includes(s.type)&&(e.browser.isSafari||e.browser.isWebView)))return;i.pointerId=null,i.touchId=null;const{params:l,touches:o,rtlTranslate:a,slidesGrid:m,enabled:u}=e;if(!u||!l.simulateTouch&&s.pointerType==="mouse")return;if(i.allowTouchCallbacks&&e.emit("touchEnd",s),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&l.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}l.grabCursor&&i.isMoved&&i.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const f=Le(),w=f-i.touchStartTime;if(e.allowClick){const S=s.path||s.composedPath&&s.composedPath();e.updateClickedSlide(S&&S[0]||s.target,S),e.emit("tap click",s),w<300&&f-i.lastClickTime<300&&e.emit("doubleTap doubleClick",s)}if(i.lastClickTime=Le(),Pe(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||o.diff===0&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;let g;if(l.followFinger?g=a?e.translate:-e.translate:g=-i.currentTranslate,l.cssMode)return;if(l.freeMode&&l.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:g});return}const d=g>=-e.maxTranslate()&&!e.params.loop;let c=0,b=e.slidesSizesGrid[0];for(let S=0;S=m[S]&&g=m[S])&&(c=S,b=m[m.length-1]-m[m.length-2])}let v=null,p=null;l.rewind&&(e.isBeginning?p=l.virtual&&l.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(v=0));const h=(g-m[c])/b,E=cl.longSwipesMs){if(!l.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(h>=l.longSwipesRatio?e.slideTo(l.rewind&&e.isEnd?v:c+E):e.slideTo(c)),e.swipeDirection==="prev"&&(h>1-l.longSwipesRatio?e.slideTo(c+E):p!==null&&h<0&&Math.abs(h)>l.longSwipesRatio?e.slideTo(p):e.slideTo(c))}else{if(!l.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(s.target===e.navigation.nextEl||s.target===e.navigation.prevEl)?s.target===e.navigation.nextEl?e.slideTo(c+E):e.slideTo(c):(e.swipeDirection==="next"&&e.slideTo(v!==null?v:c+E),e.swipeDirection==="prev"&&e.slideTo(p!==null?p:c))}}function tt(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:s,allowSlidePrev:r,snapGrid:n}=t,l=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const o=l&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!o?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!l?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=r,t.allowSlideNext=s,t.params.watchOverflow&&n!==t.snapGrid&&t.checkOverflow()}function Ai(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function Di(){const t=this,{wrapperEl:e,rtlTranslate:i,enabled:s}=t;if(!s)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let r;const n=t.maxTranslate()-t.minTranslate();n===0?r=0:r=(t.translate-t.minTranslate())/n,r!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function $i(t){const e=this;Me(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function _i(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const ct=(t,e)=>{const i=K(),{params:s,el:r,wrapperEl:n,device:l}=t,o=!!s.nested,a=e==="on"?"addEventListener":"removeEventListener",m=e;!r||typeof r=="string"||(i[a]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:o}),r[a]("touchstart",t.onTouchStart,{passive:!1}),r[a]("pointerdown",t.onTouchStart,{passive:!1}),i[a]("touchmove",t.onTouchMove,{passive:!1,capture:o}),i[a]("pointermove",t.onTouchMove,{passive:!1,capture:o}),i[a]("touchend",t.onTouchEnd,{passive:!0}),i[a]("pointerup",t.onTouchEnd,{passive:!0}),i[a]("pointercancel",t.onTouchEnd,{passive:!0}),i[a]("touchcancel",t.onTouchEnd,{passive:!0}),i[a]("pointerout",t.onTouchEnd,{passive:!0}),i[a]("pointerleave",t.onTouchEnd,{passive:!0}),i[a]("contextmenu",t.onTouchEnd,{passive:!0}),(s.preventClicks||s.preventClicksPropagation)&&r[a]("click",t.onClick,!0),s.cssMode&&n[a]("scroll",t.onScroll),s.updateOnWindowResize?t[m](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",tt,!0):t[m]("observerUpdate",tt,!0),r[a]("load",t.onLoad,{capture:!0}))};function Bi(){const t=this,{params:e}=t;t.onTouchStart=zi.bind(t),t.onTouchMove=Ii.bind(t),t.onTouchEnd=Oi.bind(t),t.onDocumentTouchStart=_i.bind(t),e.cssMode&&(t.onScroll=Di.bind(t)),t.onClick=Ai.bind(t),t.onLoad=$i.bind(t),ct(t,"on")}function Ri(){ct(this,"off")}var ki={attachEvents:Bi,detachEvents:Ri};const it=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function Gi(){const t=this,{realIndex:e,initialized:i,params:s,el:r}=t,n=s.breakpoints;if(!n||n&&Object.keys(n).length===0)return;const l=K(),o=s.breakpointsBase==="window"||!s.breakpointsBase?s.breakpointsBase:"container",a=["window","container"].includes(s.breakpointsBase)||!s.breakpointsBase?t.el:l.querySelector(s.breakpointsBase),m=t.getBreakpoint(n,o,a);if(!m||t.currentBreakpoint===m)return;const f=(m in n?n[m]:void 0)||t.originalParams,w=it(t,s),g=it(t,f),d=t.params.grabCursor,c=f.grabCursor,b=s.enabled;w&&!g?(r.classList.remove(`${s.containerModifierClass}grid`,`${s.containerModifierClass}grid-column`),t.emitContainerClasses()):!w&&g&&(r.classList.add(`${s.containerModifierClass}grid`),(f.grid.fill&&f.grid.fill==="column"||!f.grid.fill&&s.grid.fill==="column")&&r.classList.add(`${s.containerModifierClass}grid-column`),t.emitContainerClasses()),d&&!c?t.unsetGrabCursor():!d&&c&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(D=>{if(typeof f[D]>"u")return;const k=s[D]&&s[D].enabled,B=f[D]&&f[D].enabled;k&&!B&&t[D].disable(),!k&&B&&t[D].enable()});const v=f.direction&&f.direction!==s.direction,p=s.loop&&(f.slidesPerView!==s.slidesPerView||v),h=s.loop;v&&i&&t.changeDirection(),Z(t.params,f);const E=t.params.enabled,S=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),b&&!E?t.disable():!b&&E&&t.enable(),t.currentBreakpoint=m,t.emit("_beforeBreakpoint",f),i&&(p?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!h&&S?(t.loopCreate(e),t.updateSlides()):h&&!S&&t.loopDestroy()),t.emit("breakpoint",f)}function Ni(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let s=!1;const r=j(),n=e==="window"?r.innerHeight:i.clientHeight,l=Object.keys(t).map(o=>{if(typeof o=="string"&&o.indexOf("@")===0){const a=parseFloat(o.substr(1));return{value:n*a,point:o}}return{value:o,point:o}});l.sort((o,a)=>parseInt(o.value,10)-parseInt(a.value,10));for(let o=0;o{typeof s=="object"?Object.keys(s).forEach(r=>{s[r]&&i.push(e+r)}):typeof s=="string"&&i.push(e+s)}),i}function Xi(){const t=this,{classNames:e,params:i,rtl:s,el:r,device:n}=t,l=Wi(["initialized",i.direction,{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:s},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&i.grid.fill==="column"},{android:n.android},{ios:n.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...l),r.classList.add(...e),t.emitContainerClasses()}function Hi(){const t=this,{el:e,classNames:i}=t;!e||typeof e=="string"||(e.classList.remove(...i),t.emitContainerClasses())}var Vi={addClasses:Xi,removeClasses:Hi};function Fi(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:s}=i;if(s){const r=t.slides.length-1,n=t.slidesGrid[r]+t.slidesSizesGrid[r]+s*2;t.isLocked=t.size>n}else t.isLocked=t.snapGrid.length===1;i.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),i.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var ji={checkOverflow:Fi},je={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function qi(t,e){return function(s){s===void 0&&(s={});const r=Object.keys(s)[0],n=s[r];if(typeof n!="object"||n===null){Z(e,s);return}if(t[r]===!0&&(t[r]={enabled:!0}),r==="navigation"&&t[r]&&t[r].enabled&&!t[r].prevEl&&!t[r].nextEl&&(t[r].auto=!0),["pagination","scrollbar"].indexOf(r)>=0&&t[r]&&t[r].enabled&&!t[r].el&&(t[r].auto=!0),!(r in t&&"enabled"in n)){Z(e,s);return}typeof t[r]=="object"&&!("enabled"in t[r])&&(t[r].enabled=!0),t[r]||(t[r]={enabled:!1}),Z(e,s)}}const Ye={eventsEmitter:Vt,update:ii,translate:oi,transition:fi,slide:Ei,loop:Ti,grabCursor:Pi,events:ki,breakpoints:Yi,checkOverflow:ji,classes:Vi},We={};let Ke=class te{constructor(){let e,i;for(var s=arguments.length,r=new Array(s),n=0;n1){const u=[];return l.querySelectorAll(i.el).forEach(f=>{const w=Z({},i,{el:f});u.push(new te(w))}),u}const o=this;o.__swiper__=!0,o.support=lt(),o.device=ot({userAgent:i.userAgent}),o.browser=Wt(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],i.modules&&Array.isArray(i.modules)&&o.modules.push(...i.modules);const a={};o.modules.forEach(u=>{u({params:i,swiper:o,extendParams:qi(i,a),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})});const m=Z({},je,a);return o.params=Z({},m,We,i),o.originalParams=Z({},o.params),o.passedParams=Z({},i),o.params&&o.params.on&&Object.keys(o.params.on).forEach(u=>{o.on(u,o.params.on[u])}),o.params&&o.params.onAny&&o.onAny(o.params.onAny),Object.assign(o,{enabled:o.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return o.params.direction==="horizontal"},isVertical(){return o.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:o.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.emit("_swiper"),o.params.init&&o.init(),o}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:i,params:s}=this,r=Q(i,`.${s.slideClass}, swiper-slide`),n=Ee(r[0]);return Ee(e)-n}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(i=>i.getAttribute("data-swiper-slide-index")*1===e))}recalcSlides(){const e=this,{slidesEl:i,params:s}=e;e.slides=Q(i,`.${s.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,i){const s=this;e=Math.min(Math.max(e,0),1);const r=s.minTranslate(),l=(s.maxTranslate()-r)*e+r;s.translateTo(l,typeof i>"u"?0:i),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=e.el.className.split(" ").filter(s=>s.indexOf("swiper")===0||s.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",i.join(" "))}getSlideClasses(e){const i=this;return i.destroyed?"":e.className.split(" ").filter(s=>s.indexOf("swiper-slide")===0||s.indexOf(i.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=[];e.slides.forEach(s=>{const r=e.getSlideClasses(s);i.push({slideEl:s,classNames:r}),e.emit("_slideClass",s,r)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e,i){e===void 0&&(e="current"),i===void 0&&(i=!1);const s=this,{params:r,slides:n,slidesGrid:l,slidesSizesGrid:o,size:a,activeIndex:m}=s;let u=1;if(typeof r.slidesPerView=="number")return r.slidesPerView;if(r.centeredSlides){let f=n[m]?Math.ceil(n[m].swiperSlideSize):0,w;for(let g=m+1;ga&&(w=!0));for(let g=m-1;g>=0;g-=1)n[g]&&!w&&(f+=n[g].swiperSlideSize,u+=1,f>a&&(w=!0))}else if(e==="current")for(let f=m+1;f=0;f-=1)l[m]-l[f]{l.complete&&Me(e,l)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function r(){const l=e.rtlTranslate?e.translate*-1:e.translate,o=Math.min(Math.max(l,e.maxTranslate()),e.minTranslate());e.setTranslate(o),e.updateActiveIndex(),e.updateSlidesClasses()}let n;if(s.freeMode&&s.freeMode.enabled&&!s.cssMode)r(),s.autoHeight&&e.updateAutoHeight();else{if((s.slidesPerView==="auto"||s.slidesPerView>1)&&e.isEnd&&!s.centeredSlides){const l=e.virtual&&s.virtual.enabled?e.virtual.slides:e.slides;n=e.slideTo(l.length-1,0,!1,!0)}else n=e.slideTo(e.activeIndex,0,!1,!0);n||r()}s.watchOverflow&&i!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,i){i===void 0&&(i=!0);const s=this,r=s.params.direction;return e||(e=r==="horizontal"?"vertical":"horizontal"),e===r||e!=="horizontal"&&e!=="vertical"||(s.el.classList.remove(`${s.params.containerModifierClass}${r}`),s.el.classList.add(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.forEach(n=>{e==="vertical"?n.style.width="":n.style.height=""}),s.emit("changeDirection"),i&&s.update()),s}changeLanguageDirection(e){const i=this;i.rtl&&e==="rtl"||!i.rtl&&e==="ltr"||(i.rtl=e==="rtl",i.rtlTranslate=i.params.direction==="horizontal"&&i.rtl,i.rtl?(i.el.classList.add(`${i.params.containerModifierClass}rtl`),i.el.dir="rtl"):(i.el.classList.remove(`${i.params.containerModifierClass}rtl`),i.el.dir="ltr"),i.update())}mount(e){const i=this;if(i.mounted)return!0;let s=e||i.params.el;if(typeof s=="string"&&(s=document.querySelector(s)),!s)return!1;s.swiper=i,s.parentNode&&s.parentNode.host&&s.parentNode.host.nodeName===i.params.swiperElementNodeName.toUpperCase()&&(i.isElement=!0);const r=()=>`.${(i.params.wrapperClass||"").trim().split(" ").join(".")}`;let l=s&&s.shadowRoot&&s.shadowRoot.querySelector?s.shadowRoot.querySelector(r()):Q(s,r())[0];return!l&&i.params.createElements&&(l=ue("div",i.params.wrapperClass),s.append(l),Q(s,`.${i.params.slideClass}`).forEach(o=>{l.append(o)})),Object.assign(i,{el:s,wrapperEl:l,slidesEl:i.isElement&&!s.parentNode.host.slideSlots?s.parentNode.host:l,hostEl:i.isElement?s.parentNode.host:s,mounted:!0,rtl:s.dir.toLowerCase()==="rtl"||le(s,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(s.dir.toLowerCase()==="rtl"||le(s,"direction")==="rtl"),wrongRTL:le(l,"display")==="-webkit-box"}),!0}init(e){const i=this;if(i.initialized||i.mount(e)===!1)return i;i.emit("beforeInit"),i.params.breakpoints&&i.setBreakpoint(),i.addClasses(),i.updateSize(),i.updateSlides(),i.params.watchOverflow&&i.checkOverflow(),i.params.grabCursor&&i.enabled&&i.setGrabCursor(),i.params.loop&&i.virtual&&i.params.virtual.enabled?i.slideTo(i.params.initialSlide+i.virtual.slidesBefore,0,i.params.runCallbacksOnInit,!1,!0):i.slideTo(i.params.initialSlide,0,i.params.runCallbacksOnInit,!1,!0),i.params.loop&&i.loopCreate(),i.attachEvents();const r=[...i.el.querySelectorAll('[loading="lazy"]')];return i.isElement&&r.push(...i.hostEl.querySelectorAll('[loading="lazy"]')),r.forEach(n=>{n.complete?Me(i,n):n.addEventListener("load",l=>{Me(i,l.target)})}),Fe(i),i.initialized=!0,Fe(i),i.emit("init"),i.emit("afterInit"),i}destroy(e,i){e===void 0&&(e=!0),i===void 0&&(i=!0);const s=this,{params:r,el:n,wrapperEl:l,slides:o}=s;return typeof s.params>"u"||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),r.loop&&s.loopDestroy(),i&&(s.removeClasses(),n&&typeof n!="string"&&n.removeAttribute("style"),l&&l.removeAttribute("style"),o&&o.length&&o.forEach(a=>{a.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass),a.removeAttribute("style"),a.removeAttribute("data-swiper-slide-index")})),s.emit("destroy"),Object.keys(s.eventsListeners).forEach(a=>{s.off(a)}),e!==!1&&(s.el&&typeof s.el!="string"&&(s.el.swiper=null),Mt(s)),s.destroyed=!0),null}static extendDefaults(e){Z(We,e)}static get extendedDefaults(){return We}static get defaults(){return je}static installModule(e){te.prototype.__modules__||(te.prototype.__modules__=[]);const i=te.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>te.installModule(i)),te):(te.installModule(e),te)}};Object.keys(Ye).forEach(t=>{Object.keys(Ye[t]).forEach(e=>{Ke.prototype[e]=Ye[t][e]})});Ke.use([Xt,Ht]);const ut=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function de(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function ce(t,e){const i=["__proto__","constructor","prototype"];Object.keys(e).filter(s=>i.indexOf(s)<0).forEach(s=>{typeof t[s]>"u"?t[s]=e[s]:de(e[s])&&de(t[s])&&Object.keys(e[s]).length>0?e[s].__swiper__?t[s]=e[s]:ce(t[s],e[s]):t[s]=e[s]})}function ft(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function pt(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function mt(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function gt(t){t===void 0&&(t="");const e=t.split(" ").map(s=>s.trim()).filter(s=>!!s),i=[];return e.forEach(s=>{i.indexOf(s)<0&&i.push(s)}),i.join(" ")}function Ui(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function Ki(t){let{swiper:e,slides:i,passedParams:s,changedParams:r,nextEl:n,prevEl:l,scrollbarEl:o,paginationEl:a}=t;const m=r.filter(z=>z!=="children"&&z!=="direction"&&z!=="wrapperClass"),{params:u,pagination:f,navigation:w,scrollbar:g,virtual:d,thumbs:c}=e;let b,v,p,h,E,S,D,k;r.includes("thumbs")&&s.thumbs&&s.thumbs.swiper&&!s.thumbs.swiper.destroyed&&u.thumbs&&(!u.thumbs.swiper||u.thumbs.swiper.destroyed)&&(b=!0),r.includes("controller")&&s.controller&&s.controller.control&&u.controller&&!u.controller.control&&(v=!0),r.includes("pagination")&&s.pagination&&(s.pagination.el||a)&&(u.pagination||u.pagination===!1)&&f&&!f.el&&(p=!0),r.includes("scrollbar")&&s.scrollbar&&(s.scrollbar.el||o)&&(u.scrollbar||u.scrollbar===!1)&&g&&!g.el&&(h=!0),r.includes("navigation")&&s.navigation&&(s.navigation.prevEl||l)&&(s.navigation.nextEl||n)&&(u.navigation||u.navigation===!1)&&w&&!w.prevEl&&!w.nextEl&&(E=!0);const B=z=>{e[z]&&(e[z].destroy(),z==="navigation"?(e.isElement&&(e[z].prevEl.remove(),e[z].nextEl.remove()),u[z].prevEl=void 0,u[z].nextEl=void 0,e[z].prevEl=void 0,e[z].nextEl=void 0):(e.isElement&&e[z].el.remove(),u[z].el=void 0,e[z].el=void 0))};r.includes("loop")&&e.isElement&&(u.loop&&!s.loop?S=!0:!u.loop&&s.loop?D=!0:k=!0),m.forEach(z=>{if(de(u[z])&&de(s[z]))Object.assign(u[z],s[z]),(z==="navigation"||z==="pagination"||z==="scrollbar")&&"enabled"in s[z]&&!s[z].enabled&&B(z);else{const M=s[z];(M===!0||M===!1)&&(z==="navigation"||z==="pagination"||z==="scrollbar")?M===!1&&B(z):u[z]=s[z]}}),m.includes("controller")&&!v&&e.controller&&e.controller.control&&u.controller&&u.controller.control&&(e.controller.control=u.controller.control),r.includes("children")&&i&&d&&u.virtual.enabled?(d.slides=i,d.update(!0)):r.includes("virtual")&&d&&u.virtual.enabled&&(i&&(d.slides=i),d.update(!0)),r.includes("children")&&i&&u.loop&&(k=!0),b&&c.init()&&c.update(!0),v&&(e.controller.control=u.controller.control),p&&(e.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-pagination"),a.part.add("pagination"),e.el.appendChild(a)),a&&(u.pagination.el=a),f.init(),f.render(),f.update()),h&&(e.isElement&&(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-scrollbar"),o.part.add("scrollbar"),e.el.appendChild(o)),o&&(u.scrollbar.el=o),g.init(),g.updateSize(),g.setTranslate()),E&&(e.isElement&&((!n||typeof n=="string")&&(n=document.createElement("div"),n.classList.add("swiper-button-next"),n.innerHTML=e.hostEl.constructor.nextButtonSvg,n.part.add("button-next"),e.el.appendChild(n)),(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-button-prev"),l.innerHTML=e.hostEl.constructor.prevButtonSvg,l.part.add("button-prev"),e.el.appendChild(l))),n&&(u.navigation.nextEl=n),l&&(u.navigation.prevEl=l),w.init(),w.update()),r.includes("allowSlideNext")&&(e.allowSlideNext=s.allowSlideNext),r.includes("allowSlidePrev")&&(e.allowSlidePrev=s.allowSlidePrev),r.includes("direction")&&e.changeDirection(s.direction,!1),(S||k)&&e.loopDestroy(),(D||k)&&e.loopCreate(),e.update()}function Zi(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},s={},r={};ce(i,je),i._emitClasses=!0,i.init=!1;const n={},l=ut.map(a=>a.replace(/_/,"")),o=Object.assign({},t);return Object.keys(o).forEach(a=>{typeof t[a]>"u"||(l.indexOf(a)>=0?de(t[a])?(i[a]={},r[a]={},ce(i[a],t[a]),ce(r[a],t[a])):(i[a]=t[a],r[a]=t[a]):a.search(/on[A-Z]/)===0&&typeof t[a]=="function"?e?s[`${a[2].toLowerCase()}${a.substr(3)}`]=t[a]:i.on[`${a[2].toLowerCase()}${a.substr(3)}`]=t[a]:n[a]=t[a])}),["navigation","pagination","scrollbar"].forEach(a=>{i[a]===!0&&(i[a]={}),i[a]===!1&&delete i[a]}),{params:i,passedParams:r,rest:n,events:s}}function Qi(t,e){let{el:i,nextEl:s,prevEl:r,paginationEl:n,scrollbarEl:l,swiper:o}=t;ft(e)&&s&&r&&(o.params.navigation.nextEl=s,o.originalParams.navigation.nextEl=s,o.params.navigation.prevEl=r,o.originalParams.navigation.prevEl=r),pt(e)&&n&&(o.params.pagination.el=n,o.originalParams.pagination.el=n),mt(e)&&l&&(o.params.scrollbar.el=l,o.originalParams.scrollbar.el=l),o.init(i)}function Ji(t,e,i,s,r){const n=[];if(!e)return n;const l=a=>{n.indexOf(a)<0&&n.push(a)};if(i&&s){const a=s.map(r),m=i.map(r);a.join("")!==m.join("")&&l("children"),s.length!==i.length&&l("children")}return ut.filter(a=>a[0]==="_").map(a=>a.replace(/_/,"")).forEach(a=>{if(a in t&&a in e)if(de(t[a])&&de(e[a])){const m=Object.keys(t[a]),u=Object.keys(e[a]);m.length!==u.length?l(a):(m.forEach(f=>{t[a][f]!==e[a][f]&&l(a)}),u.forEach(f=>{t[a][f]!==e[a][f]&&l(a)}))}else t[a]!==e[a]&&l(a)}),n}const es=t=>{!t||t.destroyed||!t.params.virtual||t.params.virtual&&!t.params.virtual.enabled||(t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.parallax&&t.params.parallax&&t.params.parallax.enabled&&t.parallax.setTranslate())};function Ie(){return Ie=Object.assign?Object.assign.bind():function(t){for(var e=1;e{ht(i)?e.push(i):i.props&&i.props.children&&vt(i.props.children).forEach(s=>e.push(s))}),e}function ts(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return H.Children.toArray(t).forEach(s=>{if(ht(s))e.push(s);else if(s.props&&s.props.slot&&i[s.props.slot])i[s.props.slot].push(s);else if(s.props&&s.props.children){const r=vt(s.props.children);r.length>0?r.forEach(n=>e.push(n)):i["container-end"].push(s)}else i["container-end"].push(s)}),{slides:e,slots:i}}function is(t,e,i){if(!i)return null;const s=u=>{let f=u;return u<0?f=e.length+u:f>=e.length&&(f=f-e.length),f},r=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:n,to:l}=i,o=t.params.loop?-e.length:0,a=t.params.loop?e.length*2:e.length,m=[];for(let u=o;u=n&&u<=l&&m.push(e[s(u)]);return m.map((u,f)=>H.cloneElement(u,{swiper:t,style:r,key:u.props.virtualIndex||u.key||`slide-${f}`}))}function be(t,e){return typeof window>"u"?W.useEffect(t,e):W.useLayoutEffect(t,e)}const st=W.createContext(null),ss=W.createContext(null),wt=W.forwardRef(function(t,e){let{className:i,tag:s="div",wrapperTag:r="div",children:n,onSwiper:l,...o}=t===void 0?{}:t,a=!1;const[m,u]=W.useState("swiper"),[f,w]=W.useState(null),[g,d]=W.useState(!1),c=W.useRef(!1),b=W.useRef(null),v=W.useRef(null),p=W.useRef(null),h=W.useRef(null),E=W.useRef(null),S=W.useRef(null),D=W.useRef(null),k=W.useRef(null),{params:B,passedParams:z,rest:M,events:O}=Zi(o),{slides:C,slots:T}=ts(n),L=()=>{d(!g)};Object.assign(B.on,{_containerClasses(I,G){u(G)}});const A=()=>{Object.assign(B.on,O),a=!0;const I={...B};if(delete I.wrapperClass,v.current=new Ke(I),v.current.virtual&&v.current.params.virtual.enabled){v.current.virtual.slides=C;const G={cache:!1,slides:C,renderExternal:w,renderExternalUpdate:!1};ce(v.current.params.virtual,G),ce(v.current.originalParams.virtual,G)}};b.current||A(),v.current&&v.current.on("_beforeBreakpoint",L);const R=()=>{a||!O||!v.current||Object.keys(O).forEach(I=>{v.current.on(I,O[I])})},y=()=>{!O||!v.current||Object.keys(O).forEach(I=>{v.current.off(I,O[I])})};W.useEffect(()=>()=>{v.current&&v.current.off("_beforeBreakpoint",L)}),W.useEffect(()=>{!c.current&&v.current&&(v.current.emitSlidesClasses(),c.current=!0)}),be(()=>{if(e&&(e.current=b.current),!!b.current)return v.current.destroyed&&A(),Qi({el:b.current,nextEl:E.current,prevEl:S.current,paginationEl:D.current,scrollbarEl:k.current,swiper:v.current},B),l&&!v.current.destroyed&&l(v.current),()=>{v.current&&!v.current.destroyed&&v.current.destroy(!0,!1)}},[]),be(()=>{R();const I=Ji(z,p.current,C,h.current,G=>G.key);return p.current=z,h.current=C,I.length&&v.current&&!v.current.destroyed&&Ki({swiper:v.current,slides:C,passedParams:z,changedParams:I,nextEl:E.current,prevEl:S.current,scrollbarEl:k.current,paginationEl:D.current}),()=>{y()}}),be(()=>{es(v.current)},[f]);function x(){return B.virtual?is(v.current,C,f):C.map((I,G)=>H.cloneElement(I,{swiper:v.current,swiperSlideIndex:G}))}return H.createElement(s,Ie({ref:b,className:gt(`${m}${i?` ${i}`:""}`)},M),H.createElement(ss.Provider,{value:v.current},T["container-start"],H.createElement(r,{className:Ui(B.wrapperClass)},T["wrapper-start"],x(),T["wrapper-end"]),ft(B)&&H.createElement(H.Fragment,null,H.createElement("div",{ref:S,className:"swiper-button-prev"}),H.createElement("div",{ref:E,className:"swiper-button-next"})),mt(B)&&H.createElement("div",{ref:k,className:"swiper-scrollbar"}),pt(B)&&H.createElement("div",{ref:D,className:"swiper-pagination"}),T["container-end"]))});wt.displayName="Swiper";const bt=W.forwardRef(function(t,e){let{tag:i="div",children:s,className:r="",swiper:n,zoom:l,lazy:o,virtualIndex:a,swiperSlideIndex:m,...u}=t===void 0?{}:t;const f=W.useRef(null),[w,g]=W.useState("swiper-slide"),[d,c]=W.useState(!1);function b(E,S,D){S===f.current&&g(D)}be(()=>{if(typeof m<"u"&&(f.current.swiperSlideIndex=m),e&&(e.current=f.current),!(!f.current||!n)){if(n.destroyed){w!=="swiper-slide"&&g("swiper-slide");return}return n.on("_slideClass",b),()=>{n&&n.off("_slideClass",b)}}}),be(()=>{n&&f.current&&!n.destroyed&&g(n.getSlideClasses(f.current))},[n]);const v={isActive:w.indexOf("swiper-slide-active")>=0,isVisible:w.indexOf("swiper-slide-visible")>=0,isPrev:w.indexOf("swiper-slide-prev")>=0,isNext:w.indexOf("swiper-slide-next")>=0},p=()=>typeof s=="function"?s(v):s,h=()=>{c(!0)};return H.createElement(i,Ie({ref:f,className:gt(`${w}${r?` ${r}`:""}`),"data-swiper-slide-index":a,onLoad:h},u),l&&H.createElement(st.Provider,{value:v},H.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof l=="number"?l:void 0},p(),o&&!d&&H.createElement("div",{className:"swiper-lazy-preloader"}))),!l&&H.createElement(st.Provider,{value:v},p(),o&&!d&&H.createElement("div",{className:"swiper-lazy-preloader"})))});bt.displayName="SwiperSlide";const ns=""+new URL("work-7cej71TV.jpg",import.meta.url).href,rs=""+new URL("work2-B_Oe9ku2.jpg",import.meta.url).href,as=""+new URL("work3-D0M2vqR2.jpg",import.meta.url).href,ls=""+new URL("work4-B-R74_Ks.jpg",import.meta.url).href,os=""+new URL("work5-BxDe7Bee.jpg",import.meta.url).href,ve={width:"100%",height:"100%",alt:"Portfolio image",dataSwiperZoom:"3",className:"swiper-zoom-container"},nt=[{src:ns,id:"presentation_1",isZoomable:!0,...ve},{src:rs,id:"presentation_2",isZoomable:!0,...ve},{src:as,id:"presentation_3",isZoomable:!0,...ve},{src:ls,id:"presentation_4",isZoomable:!0,...ve},{src:os,id:"presentation_5",isZoomable:!0,...ve}],ds=({className:t})=>(console.log(nt[2].src),X.jsx("div",{className:Et(t,"h-full w-[300px]"),"data-testid":"slider-card",children:X.jsx(wt,{modules:[Dt,$t,_t,Rt,Bt,kt],spaceBetween:50,slidesPerView:1,zoom:!0,navigation:!0,centeredSlides:!0,effect:"cube",pagination:{clickable:!0},autoplay:{delay:4500,disableOnInteraction:!0},loop:!1,keyboard:{enabled:!0},children:nt.map(({isZoomable:e,id:i,src:s,alt:r})=>X.jsx(bt,{id:i,zoom:e,className:"bg-white text-white",children:X.jsx("img",{src:s,width:"100%",height:"100%",alt:r||"Image not found!"})},i))})})),us=()=>{const[t,e]=yt(St),{projectId:i}=xt();return W.useEffect(()=>{if(!t){const s=Tt.find(r=>r.id===i);s&&e(s)}},[t]),X.jsxs("div",{className:"flex h-full w-full flex-col",children:[X.jsx("p",{className:"font-general-regular text-secondary-dark dark:text-secondary-light mt-2 text-start text-3xl font-semibold",children:t==null?void 0:t.client}),X.jsxs("div",{className:"mt-14 block gap-0 sm:flex sm:gap-10",children:[X.jsxs("div",{className:"w-full text-left sm:w-1/3",children:[X.jsxs("div",{className:"mb-7",children:[X.jsx("p",{className:"font-general-regular text-ternary-dark dark:text-ternary-light mb-2 text-2xl font-semibold",children:"Description"}),X.jsx("p",{className:"font-general-regular text-primary-dark dark:text-ternary-light",children:t==null?void 0:t.headline})]}),t!=null&&t.referenceWebsite?X.jsx("div",{className:"mb-7",children:X.jsxs("p",{className:"font-general-regular text-ternary-dark dark:text-ternary-light",children:[X.jsx("span",{className:"font-semibold",children:"Website: "}),X.jsx("a",{href:t.referenceWebsite,className:"cursor-pointer duration-300 hover:text-indigo-500 hover:underline dark:hover:text-indigo-400","aria-label":"Project Website",children:t.referenceWebsite})]})}):null]}),X.jsxs("div",{className:"mt-10 w-full flex-col gap-4 text-left sm:mt-0 sm:flex sm:w-2/3",children:[X.jsx("div",{className:"flex h-fit w-full justify-center bg-transparent",children:X.jsx(ds,{})}),X.jsx("div",{className:"w-full",children:t==null?void 0:t.description})]})]})]})};export{us as default}; +import{r as W,R as H,j as X,c as Et,a as yt,b as St,u as xt,p as Tt}from"./index-CRzS9BvD.js";function Qe(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function qe(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:Qe(e[i])&&Qe(t[i])&&Object.keys(e[i]).length>0&&qe(t[i],e[i])})}const rt={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function K(){const t=typeof document<"u"?document:{};return qe(t,rt),t}const Ct={document:rt,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout>"u"||clearTimeout(t)}};function j(){const t=typeof window<"u"?window:{};return qe(t,Ct),t}function ae(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function Mt(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function Pe(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function Le(){return Date.now()}function Pt(t){const e=j();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function Xe(t,e){e===void 0&&(e="x");const i=j();let s,r,n;const l=Pt(t);return i.WebKitCSSMatrix?(r=l.transform||l.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map(o=>o.replace(",",".")).join(", ")),n=new i.WebKitCSSMatrix(r==="none"?"":r)):(n=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),s=n.toString().split(",")),e==="x"&&(i.WebKitCSSMatrix?r=n.m41:s.length===16?r=parseFloat(s[12]):r=parseFloat(s[4])),e==="y"&&(i.WebKitCSSMatrix?r=n.m42:s.length===16?r=parseFloat(s[13]):r=parseFloat(s[5])),r||0}function Te(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function Lt(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Z(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let i=1;ie.indexOf(n)<0);for(let n=0,l=r.length;nn?"next":"prev",u=(w,g)=>m==="next"&&w>=g||m==="prev"&&w<=g,f=()=>{o=new Date().getTime(),l===null&&(l=o);const w=Math.max(Math.min((o-l)/a,1),0),g=.5-Math.cos(w*Math.PI)/2;let d=n+g*(i-n);if(u(d,i)&&(d=i),e.wrapperEl.scrollTo({[s]:d}),u(d,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[s]:d})}),r.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=r.requestAnimationFrame(f)};f()}function Q(t,e){e===void 0&&(e="");const i=[...t.children];return t instanceof HTMLSlotElement&&i.push(...t.assignedElements()),e?i.filter(s=>s.matches(e)):i}function zt(t,e){var s,r;const i=[e];for(;i.length>0;){const n=i.shift();if(t===n)return!0;i.push(...n.children,...((s=n.shadowRoot)==null?void 0:s.children)||[],...((r=n.assignedElements)==null?void 0:r.call(n))||[])}}function It(t,e){let i=e.contains(t);return!i&&e instanceof HTMLSlotElement&&(i=[...e.assignedElements()].includes(t),i||(i=zt(t,e))),i}function ze(t){try{console.warn(t);return}catch{}}function ue(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:ae(e)),i}function He(t){const e=j(),i=K(),s=t.getBoundingClientRect(),r=i.body,n=t.clientTop||r.clientTop||0,l=t.clientLeft||r.clientLeft||0,o=t===e?e.scrollY:t.scrollTop,a=t===e?e.scrollX:t.scrollLeft;return{top:s.top+o-n,left:s.left+a-l}}function Ot(t,e){const i=[];for(;t.previousElementSibling;){const s=t.previousElementSibling;e?s.matches(e)&&i.push(s):i.push(s),t=s}return i}function At(t,e){const i=[];for(;t.nextElementSibling;){const s=t.nextElementSibling;e?s.matches(e)&&i.push(s):i.push(s),t=s}return i}function le(t,e){return j().getComputedStyle(t,null).getPropertyValue(e)}function Ee(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function we(t,e){const i=[];let s=t.parentElement;for(;s;)e?s.matches(e)&&i.push(s):i.push(s),s=s.parentElement;return i}function Ve(t,e,i){const s=j();return t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(s.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(s.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}function N(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function Ue(t,e,i,s){return t.params.createElements&&Object.keys(s).forEach(r=>{if(!i[r]&&i.auto===!0){let n=Q(t.el,`.${s[r]}`)[0];n||(n=ue("div",s[r]),n.className=s[r],t.el.append(n)),i[r]=n,e[r]=n}}),i}function Dt(t){let{swiper:e,extendParams:i,on:s,emit:r}=t;i({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};function n(d){let c;return d&&typeof d=="string"&&e.isElement&&(c=e.el.querySelector(d)||e.hostEl.querySelector(d),c)?c:(d&&(typeof d=="string"&&(c=[...document.querySelectorAll(d)]),e.params.uniqueNavElements&&typeof d=="string"&&c&&c.length>1&&e.el.querySelectorAll(d).length===1?c=e.el.querySelector(d):c&&c.length===1&&(c=c[0])),d&&!c?d:c)}function l(d,c){const b=e.params.navigation;d=N(d),d.forEach(v=>{v&&(v.classList[c?"add":"remove"](...b.disabledClass.split(" ")),v.tagName==="BUTTON"&&(v.disabled=c),e.params.watchOverflow&&e.enabled&&v.classList[e.isLocked?"add":"remove"](b.lockClass))})}function o(){const{nextEl:d,prevEl:c}=e.navigation;if(e.params.loop){l(c,!1),l(d,!1);return}l(c,e.isBeginning&&!e.params.rewind),l(d,e.isEnd&&!e.params.rewind)}function a(d){d.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),r("navigationPrev"))}function m(d){d.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),r("navigationNext"))}function u(){const d=e.params.navigation;if(e.params.navigation=Ue(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(d.nextEl||d.prevEl))return;let c=n(d.nextEl),b=n(d.prevEl);Object.assign(e.navigation,{nextEl:c,prevEl:b}),c=N(c),b=N(b);const v=(p,h)=>{p&&p.addEventListener("click",h==="next"?m:a),!e.enabled&&p&&p.classList.add(...d.lockClass.split(" "))};c.forEach(p=>v(p,"next")),b.forEach(p=>v(p,"prev"))}function f(){let{nextEl:d,prevEl:c}=e.navigation;d=N(d),c=N(c);const b=(v,p)=>{v.removeEventListener("click",p==="next"?m:a),v.classList.remove(...e.params.navigation.disabledClass.split(" "))};d.forEach(v=>b(v,"next")),c.forEach(v=>b(v,"prev"))}s("init",()=>{e.params.navigation.enabled===!1?g():(u(),o())}),s("toEdge fromEdge lock unlock",()=>{o()}),s("destroy",()=>{f()}),s("enable disable",()=>{let{nextEl:d,prevEl:c}=e.navigation;if(d=N(d),c=N(c),e.enabled){o();return}[...d,...c].filter(b=>!!b).forEach(b=>b.classList.add(e.params.navigation.lockClass))}),s("click",(d,c)=>{let{nextEl:b,prevEl:v}=e.navigation;b=N(b),v=N(v);const p=c.target;let h=v.includes(p)||b.includes(p);if(e.isElement&&!h){const E=c.path||c.composedPath&&c.composedPath();E&&(h=E.find(S=>b.includes(S)||v.includes(S)))}if(e.params.navigation.hideOnClick&&!h){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===p||e.pagination.el.contains(p)))return;let E;b.length?E=b[0].classList.contains(e.params.navigation.hiddenClass):v.length&&(E=v[0].classList.contains(e.params.navigation.hiddenClass)),r(E===!0?"navigationShow":"navigationHide"),[...b,...v].filter(S=>!!S).forEach(S=>S.classList.toggle(e.params.navigation.hiddenClass))}});const w=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),u(),o()},g=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),f()};Object.assign(e.navigation,{enable:w,disable:g,update:o,init:u,destroy:f})}function ie(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function $t(t){let{swiper:e,extendParams:i,on:s,emit:r}=t;const n="swiper-pagination";i({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:p=>p,formatFractionTotal:p=>p,bulletClass:`${n}-bullet`,bulletActiveClass:`${n}-bullet-active`,modifierClass:`${n}-`,currentClass:`${n}-current`,totalClass:`${n}-total`,hiddenClass:`${n}-hidden`,progressbarFillClass:`${n}-progressbar-fill`,progressbarOppositeClass:`${n}-progressbar-opposite`,clickableClass:`${n}-clickable`,lockClass:`${n}-lock`,horizontalClass:`${n}-horizontal`,verticalClass:`${n}-vertical`,paginationDisabledClass:`${n}-disabled`}}),e.pagination={el:null,bullets:[]};let l,o=0;function a(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function m(p,h){const{bulletActiveClass:E}=e.params.pagination;p&&(p=p[`${h==="prev"?"previous":"next"}ElementSibling`],p&&(p.classList.add(`${E}-${h}`),p=p[`${h==="prev"?"previous":"next"}ElementSibling`],p&&p.classList.add(`${E}-${h}-${h}`)))}function u(p,h,E){if(p=p%E,h=h%E,h===p+1)return"next";if(h===p-1)return"previous"}function f(p){const h=p.target.closest(ie(e.params.pagination.bulletClass));if(!h)return;p.preventDefault();const E=Ee(h)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===E)return;const S=u(e.realIndex,E,e.slides.length);S==="next"?e.slideNext():S==="previous"?e.slidePrev():e.slideToLoop(E)}else e.slideTo(E)}function w(){const p=e.rtl,h=e.params.pagination;if(a())return;let E=e.pagination.el;E=N(E);let S,D;const k=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,B=e.params.loop?Math.ceil(k/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(D=e.previousRealIndex||0,S=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(S=e.snapIndex,D=e.previousSnapIndex):(D=e.previousIndex||0,S=e.activeIndex||0),h.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const z=e.pagination.bullets;let M,O,C;if(h.dynamicBullets&&(l=Ve(z[0],e.isHorizontal()?"width":"height"),E.forEach(T=>{T.style[e.isHorizontal()?"width":"height"]=`${l*(h.dynamicMainBullets+4)}px`}),h.dynamicMainBullets>1&&D!==void 0&&(o+=S-(D||0),o>h.dynamicMainBullets-1?o=h.dynamicMainBullets-1:o<0&&(o=0)),M=Math.max(S-o,0),O=M+(Math.min(z.length,h.dynamicMainBullets)-1),C=(O+M)/2),z.forEach(T=>{const L=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(A=>`${h.bulletActiveClass}${A}`)].map(A=>typeof A=="string"&&A.includes(" ")?A.split(" "):A).flat();T.classList.remove(...L)}),E.length>1)z.forEach(T=>{const L=Ee(T);L===S?T.classList.add(...h.bulletActiveClass.split(" ")):e.isElement&&T.setAttribute("part","bullet"),h.dynamicBullets&&(L>=M&&L<=O&&T.classList.add(...`${h.bulletActiveClass}-main`.split(" ")),L===M&&m(T,"prev"),L===O&&m(T,"next"))});else{const T=z[S];if(T&&T.classList.add(...h.bulletActiveClass.split(" ")),e.isElement&&z.forEach((L,A)=>{L.setAttribute("part",A===S?"bullet-active":"bullet")}),h.dynamicBullets){const L=z[M],A=z[O];for(let R=M;R<=O;R+=1)z[R]&&z[R].classList.add(...`${h.bulletActiveClass}-main`.split(" "));m(L,"prev"),m(A,"next")}}if(h.dynamicBullets){const T=Math.min(z.length,h.dynamicMainBullets+4),L=(l*T-l)/2-C*l,A=p?"right":"left";z.forEach(R=>{R.style[e.isHorizontal()?A:"top"]=`${L}px`})}}E.forEach((z,M)=>{if(h.type==="fraction"&&(z.querySelectorAll(ie(h.currentClass)).forEach(O=>{O.textContent=h.formatFractionCurrent(S+1)}),z.querySelectorAll(ie(h.totalClass)).forEach(O=>{O.textContent=h.formatFractionTotal(B)})),h.type==="progressbar"){let O;h.progressbarOpposite?O=e.isHorizontal()?"vertical":"horizontal":O=e.isHorizontal()?"horizontal":"vertical";const C=(S+1)/B;let T=1,L=1;O==="horizontal"?T=C:L=C,z.querySelectorAll(ie(h.progressbarFillClass)).forEach(A=>{A.style.transform=`translate3d(0,0,0) scaleX(${T}) scaleY(${L})`,A.style.transitionDuration=`${e.params.speed}ms`})}h.type==="custom"&&h.renderCustom?(z.innerHTML=h.renderCustom(e,S+1,B),M===0&&r("paginationRender",z)):(M===0&&r("paginationRender",z),r("paginationUpdate",z)),e.params.watchOverflow&&e.enabled&&z.classList[e.isLocked?"add":"remove"](h.lockClass)})}function g(){const p=e.params.pagination;if(a())return;const h=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let E=e.pagination.el;E=N(E);let S="";if(p.type==="bullets"){let D=e.params.loop?Math.ceil(h/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&D>h&&(D=h);for(let k=0;k`}p.type==="fraction"&&(p.renderFraction?S=p.renderFraction.call(e,p.currentClass,p.totalClass):S=` / `),p.type==="progressbar"&&(p.renderProgressbar?S=p.renderProgressbar.call(e,p.progressbarFillClass):S=``),e.pagination.bullets=[],E.forEach(D=>{p.type!=="custom"&&(D.innerHTML=S||""),p.type==="bullets"&&e.pagination.bullets.push(...D.querySelectorAll(ie(p.bulletClass)))}),p.type!=="custom"&&r("paginationRender",E[0])}function d(){e.params.pagination=Ue(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const p=e.params.pagination;if(!p.el)return;let h;typeof p.el=="string"&&e.isElement&&(h=e.el.querySelector(p.el)),!h&&typeof p.el=="string"&&(h=[...document.querySelectorAll(p.el)]),h||(h=p.el),!(!h||h.length===0)&&(e.params.uniqueNavElements&&typeof p.el=="string"&&Array.isArray(h)&&h.length>1&&(h=[...e.el.querySelectorAll(p.el)],h.length>1&&(h=h.find(E=>we(E,".swiper")[0]===e.el))),Array.isArray(h)&&h.length===1&&(h=h[0]),Object.assign(e.pagination,{el:h}),h=N(h),h.forEach(E=>{p.type==="bullets"&&p.clickable&&E.classList.add(...(p.clickableClass||"").split(" ")),E.classList.add(p.modifierClass+p.type),E.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.type==="bullets"&&p.dynamicBullets&&(E.classList.add(`${p.modifierClass}${p.type}-dynamic`),o=0,p.dynamicMainBullets<1&&(p.dynamicMainBullets=1)),p.type==="progressbar"&&p.progressbarOpposite&&E.classList.add(p.progressbarOppositeClass),p.clickable&&E.addEventListener("click",f),e.enabled||E.classList.add(p.lockClass)}))}function c(){const p=e.params.pagination;if(a())return;let h=e.pagination.el;h&&(h=N(h),h.forEach(E=>{E.classList.remove(p.hiddenClass),E.classList.remove(p.modifierClass+p.type),E.classList.remove(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.clickable&&(E.classList.remove(...(p.clickableClass||"").split(" ")),E.removeEventListener("click",f))})),e.pagination.bullets&&e.pagination.bullets.forEach(E=>E.classList.remove(...p.bulletActiveClass.split(" ")))}s("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const p=e.params.pagination;let{el:h}=e.pagination;h=N(h),h.forEach(E=>{E.classList.remove(p.horizontalClass,p.verticalClass),E.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass)})}),s("init",()=>{e.params.pagination.enabled===!1?v():(d(),g(),w())}),s("activeIndexChange",()=>{typeof e.snapIndex>"u"&&w()}),s("snapIndexChange",()=>{w()}),s("snapGridLengthChange",()=>{g(),w()}),s("destroy",()=>{c()}),s("enable disable",()=>{let{el:p}=e.pagination;p&&(p=N(p),p.forEach(h=>h.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),s("lock unlock",()=>{w()}),s("click",(p,h)=>{const E=h.target,S=N(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&S&&S.length>0&&!E.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&E===e.navigation.nextEl||e.navigation.prevEl&&E===e.navigation.prevEl))return;const D=S[0].classList.contains(e.params.pagination.hiddenClass);r(D===!0?"paginationShow":"paginationHide"),S.forEach(k=>k.classList.toggle(e.params.pagination.hiddenClass))}});const b=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=N(p),p.forEach(h=>h.classList.remove(e.params.pagination.paginationDisabledClass))),d(),g(),w()},v=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=N(p),p.forEach(h=>h.classList.add(e.params.pagination.paginationDisabledClass))),c()};Object.assign(e.pagination,{enable:b,disable:v,render:g,update:w,init:d,destroy:c})}function _t(t){let{swiper:e,extendParams:i,on:s,emit:r}=t;const n=K();let l=!1,o=null,a=null,m,u,f,w;i({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function g(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:C,rtlTranslate:T}=e,{dragEl:L,el:A}=C,R=e.params.scrollbar,y=e.params.loop?e.progressLoop:e.progress;let x=u,I=(f-u)*y;T?(I=-I,I>0?(x=u-I,I=0):-I+u>f&&(x=f+I)):I<0?(x=u+I,I=0):I+u>f&&(x=f-I),e.isHorizontal()?(L.style.transform=`translate3d(${I}px, 0, 0)`,L.style.width=`${x}px`):(L.style.transform=`translate3d(0px, ${I}px, 0)`,L.style.height=`${x}px`),R.hide&&(clearTimeout(o),A.style.opacity=1,o=setTimeout(()=>{A.style.opacity=0,A.style.transitionDuration="400ms"},1e3))}function d(C){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${C}ms`)}function c(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:C}=e,{dragEl:T,el:L}=C;T.style.width="",T.style.height="",f=e.isHorizontal()?L.offsetWidth:L.offsetHeight,w=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?u=f*w:u=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?T.style.width=`${u}px`:T.style.height=`${u}px`,w>=1?L.style.display="none":L.style.display="",e.params.scrollbar.hide&&(L.style.opacity=0),e.params.watchOverflow&&e.enabled&&C.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function b(C){return e.isHorizontal()?C.clientX:C.clientY}function v(C){const{scrollbar:T,rtlTranslate:L}=e,{el:A}=T;let R;R=(b(C)-He(A)[e.isHorizontal()?"left":"top"]-(m!==null?m:u/2))/(f-u),R=Math.max(Math.min(R,1),0),L&&(R=1-R);const y=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*R;e.updateProgress(y),e.setTranslate(y),e.updateActiveIndex(),e.updateSlidesClasses()}function p(C){const T=e.params.scrollbar,{scrollbar:L,wrapperEl:A}=e,{el:R,dragEl:y}=L;l=!0,m=C.target===y?b(C)-C.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,C.preventDefault(),C.stopPropagation(),A.style.transitionDuration="100ms",y.style.transitionDuration="100ms",v(C),clearTimeout(a),R.style.transitionDuration="0ms",T.hide&&(R.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),r("scrollbarDragStart",C)}function h(C){const{scrollbar:T,wrapperEl:L}=e,{el:A,dragEl:R}=T;l&&(C.preventDefault&&C.cancelable?C.preventDefault():C.returnValue=!1,v(C),L.style.transitionDuration="0ms",A.style.transitionDuration="0ms",R.style.transitionDuration="0ms",r("scrollbarDragMove",C))}function E(C){const T=e.params.scrollbar,{scrollbar:L,wrapperEl:A}=e,{el:R}=L;l&&(l=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",A.style.transitionDuration=""),T.hide&&(clearTimeout(a),a=Pe(()=>{R.style.opacity=0,R.style.transitionDuration="400ms"},1e3)),r("scrollbarDragEnd",C),T.snapOnRelease&&e.slideToClosest())}function S(C){const{scrollbar:T,params:L}=e,A=T.el;if(!A)return;const R=A,y=L.passiveListeners?{passive:!1,capture:!1}:!1,x=L.passiveListeners?{passive:!0,capture:!1}:!1;if(!R)return;const I=C==="on"?"addEventListener":"removeEventListener";R[I]("pointerdown",p,y),n[I]("pointermove",h,y),n[I]("pointerup",E,x)}function D(){!e.params.scrollbar.el||!e.scrollbar.el||S("on")}function k(){!e.params.scrollbar.el||!e.scrollbar.el||S("off")}function B(){const{scrollbar:C,el:T}=e;e.params.scrollbar=Ue(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const L=e.params.scrollbar;if(!L.el)return;let A;if(typeof L.el=="string"&&e.isElement&&(A=e.el.querySelector(L.el)),!A&&typeof L.el=="string"){if(A=n.querySelectorAll(L.el),!A.length)return}else A||(A=L.el);e.params.uniqueNavElements&&typeof L.el=="string"&&A.length>1&&T.querySelectorAll(L.el).length===1&&(A=T.querySelector(L.el)),A.length>0&&(A=A[0]),A.classList.add(e.isHorizontal()?L.horizontalClass:L.verticalClass);let R;A&&(R=A.querySelector(ie(e.params.scrollbar.dragClass)),R||(R=ue("div",e.params.scrollbar.dragClass),A.append(R))),Object.assign(C,{el:A,dragEl:R}),L.draggable&&D(),A&&A.classList[e.enabled?"remove":"add"](...ae(e.params.scrollbar.lockClass))}function z(){const C=e.params.scrollbar,T=e.scrollbar.el;T&&T.classList.remove(...ae(e.isHorizontal()?C.horizontalClass:C.verticalClass)),k()}s("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const C=e.params.scrollbar;let{el:T}=e.scrollbar;T=N(T),T.forEach(L=>{L.classList.remove(C.horizontalClass,C.verticalClass),L.classList.add(e.isHorizontal()?C.horizontalClass:C.verticalClass)})}),s("init",()=>{e.params.scrollbar.enabled===!1?O():(B(),c(),g())}),s("update resize observerUpdate lock unlock changeDirection",()=>{c()}),s("setTranslate",()=>{g()}),s("setTransition",(C,T)=>{d(T)}),s("enable disable",()=>{const{el:C}=e.scrollbar;C&&C.classList[e.enabled?"remove":"add"](...ae(e.params.scrollbar.lockClass))}),s("destroy",()=>{z()});const M=()=>{e.el.classList.remove(...ae(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...ae(e.params.scrollbar.scrollbarDisabledClass)),B(),c(),g()},O=()=>{e.el.classList.add(...ae(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...ae(e.params.scrollbar.scrollbarDisabledClass)),z()};Object.assign(e.scrollbar,{enable:M,disable:O,updateSize:c,setTranslate:g,init:B,destroy:z})}function Bt(t){let{swiper:e,extendParams:i,on:s,emit:r}=t;const n=j();i({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,panOnMouseMove:!1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let l=1,o=!1,a=!1,m={x:0,y:0};const u=-3;let f,w;const g=[],d={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},c={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},b={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let v=1;Object.defineProperty(e.zoom,"scale",{get(){return v},set(P){if(v!==P){const _=d.imageEl,$=d.slideEl;r("zoomChange",P,_,$)}v=P}});function p(){if(g.length<2)return 1;const P=g[0].pageX,_=g[0].pageY,$=g[1].pageX,Y=g[1].pageY;return Math.sqrt(($-P)**2+(Y-_)**2)}function h(){const P=e.params.zoom,_=d.imageWrapEl.getAttribute("data-swiper-zoom")||P.maxRatio;if(P.limitToOriginalSize&&d.imageEl&&d.imageEl.naturalWidth){const $=d.imageEl.naturalWidth/d.imageEl.offsetWidth;return Math.min($,_)}return _}function E(){if(g.length<2)return{x:null,y:null};const P=d.imageEl.getBoundingClientRect();return[(g[0].pageX+(g[1].pageX-g[0].pageX)/2-P.x-n.scrollX)/l,(g[0].pageY+(g[1].pageY-g[0].pageY)/2-P.y-n.scrollY)/l]}function S(){return e.isElement?"swiper-slide":`.${e.params.slideClass}`}function D(P){const _=S();return!!(P.target.matches(_)||e.slides.filter($=>$.contains(P.target)).length>0)}function k(P){const _=`.${e.params.zoom.containerClass}`;return!!(P.target.matches(_)||[...e.hostEl.querySelectorAll(_)].filter($=>$.contains(P.target)).length>0)}function B(P){if(P.pointerType==="mouse"&&g.splice(0,g.length),!D(P))return;const _=e.params.zoom;if(f=!1,w=!1,g.push(P),!(g.length<2)){if(f=!0,d.scaleStart=p(),!d.slideEl){d.slideEl=P.target.closest(`.${e.params.slideClass}, swiper-slide`),d.slideEl||(d.slideEl=e.slides[e.activeIndex]);let $=d.slideEl.querySelector(`.${_.containerClass}`);if($&&($=$.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),d.imageEl=$,$?d.imageWrapEl=we(d.imageEl,`.${_.containerClass}`)[0]:d.imageWrapEl=void 0,!d.imageWrapEl){d.imageEl=void 0;return}d.maxRatio=h()}if(d.imageEl){const[$,Y]=E();d.originX=$,d.originY=Y,d.imageEl.style.transitionDuration="0ms"}o=!0}}function z(P){if(!D(P))return;const _=e.params.zoom,$=e.zoom,Y=g.findIndex(F=>F.pointerId===P.pointerId);Y>=0&&(g[Y]=P),!(g.length<2)&&(w=!0,d.scaleMove=p(),d.imageEl&&($.scale=d.scaleMove/d.scaleStart*l,$.scale>d.maxRatio&&($.scale=d.maxRatio-1+($.scale-d.maxRatio+1)**.5),$.scale<_.minRatio&&($.scale=_.minRatio+1-(_.minRatio-$.scale+1)**.5),d.imageEl.style.transform=`translate3d(0,0,0) scale(${$.scale})`))}function M(P){if(!D(P)||P.pointerType==="mouse"&&P.type==="pointerout")return;const _=e.params.zoom,$=e.zoom,Y=g.findIndex(F=>F.pointerId===P.pointerId);Y>=0&&g.splice(Y,1),!(!f||!w)&&(f=!1,w=!1,d.imageEl&&($.scale=Math.max(Math.min($.scale,d.maxRatio),_.minRatio),d.imageEl.style.transitionDuration=`${e.params.speed}ms`,d.imageEl.style.transform=`translate3d(0,0,0) scale(${$.scale})`,l=$.scale,o=!1,$.scale>1&&d.slideEl?d.slideEl.classList.add(`${_.zoomedSlideClass}`):$.scale<=1&&d.slideEl&&d.slideEl.classList.remove(`${_.zoomedSlideClass}`),$.scale===1&&(d.originX=0,d.originY=0,d.slideEl=void 0)))}let O;function C(){e.touchEventsData.preventTouchMoveFromPointerMove=!1}function T(){clearTimeout(O),e.touchEventsData.preventTouchMoveFromPointerMove=!0,O=setTimeout(()=>{e.destroyed||C()})}function L(P){const _=e.device;if(!d.imageEl||c.isTouched)return;_.android&&P.cancelable&&P.preventDefault(),c.isTouched=!0;const $=g.length>0?g[0]:P;c.touchesStart.x=$.pageX,c.touchesStart.y=$.pageY}function A(P){const $=P.pointerType==="mouse"&&e.params.zoom.panOnMouseMove;if(!D(P)||!k(P))return;const Y=e.zoom;if(!d.imageEl)return;if(!c.isTouched||!d.slideEl){$&&x(P);return}if($){x(P);return}c.isMoved||(c.width=d.imageEl.offsetWidth||d.imageEl.clientWidth,c.height=d.imageEl.offsetHeight||d.imageEl.clientHeight,c.startX=Xe(d.imageWrapEl,"x")||0,c.startY=Xe(d.imageWrapEl,"y")||0,d.slideWidth=d.slideEl.offsetWidth,d.slideHeight=d.slideEl.offsetHeight,d.imageWrapEl.style.transitionDuration="0ms");const F=c.width*Y.scale,se=c.height*Y.scale;if(c.minX=Math.min(d.slideWidth/2-F/2,0),c.maxX=-c.minX,c.minY=Math.min(d.slideHeight/2-se/2,0),c.maxY=-c.minY,c.touchesCurrent.x=g.length>0?g[0].pageX:P.pageX,c.touchesCurrent.y=g.length>0?g[0].pageY:P.pageY,Math.max(Math.abs(c.touchesCurrent.x-c.touchesStart.x),Math.abs(c.touchesCurrent.y-c.touchesStart.y))>5&&(e.allowClick=!1),!c.isMoved&&!o){if(e.isHorizontal()&&(Math.floor(c.minX)===Math.floor(c.startX)&&c.touchesCurrent.xc.touchesStart.x)){c.isTouched=!1,C();return}if(!e.isHorizontal()&&(Math.floor(c.minY)===Math.floor(c.startY)&&c.touchesCurrent.yc.touchesStart.y)){c.isTouched=!1,C();return}}P.cancelable&&P.preventDefault(),P.stopPropagation(),T(),c.isMoved=!0;const J=(Y.scale-l)/(d.maxRatio-e.params.zoom.minRatio),{originX:re,originY:U}=d;c.currentX=c.touchesCurrent.x-c.touchesStart.x+c.startX+J*(c.width-re*2),c.currentY=c.touchesCurrent.y-c.touchesStart.y+c.startY+J*(c.height-U*2),c.currentXc.maxX&&(c.currentX=c.maxX-1+(c.currentX-c.maxX+1)**.8),c.currentYc.maxY&&(c.currentY=c.maxY-1+(c.currentY-c.maxY+1)**.8),b.prevPositionX||(b.prevPositionX=c.touchesCurrent.x),b.prevPositionY||(b.prevPositionY=c.touchesCurrent.y),b.prevTime||(b.prevTime=Date.now()),b.x=(c.touchesCurrent.x-b.prevPositionX)/(Date.now()-b.prevTime)/2,b.y=(c.touchesCurrent.y-b.prevPositionY)/(Date.now()-b.prevTime)/2,Math.abs(c.touchesCurrent.x-b.prevPositionX)<2&&(b.x=0),Math.abs(c.touchesCurrent.y-b.prevPositionY)<2&&(b.y=0),b.prevPositionX=c.touchesCurrent.x,b.prevPositionY=c.touchesCurrent.y,b.prevTime=Date.now(),d.imageWrapEl.style.transform=`translate3d(${c.currentX}px, ${c.currentY}px,0)`}function R(){const P=e.zoom;if(g.length=0,!d.imageEl)return;if(!c.isTouched||!c.isMoved){c.isTouched=!1,c.isMoved=!1;return}c.isTouched=!1,c.isMoved=!1;let _=300,$=300;const Y=b.x*_,F=c.currentX+Y,se=b.y*$,ne=c.currentY+se;b.x!==0&&(_=Math.abs((F-c.currentX)/b.x)),b.y!==0&&($=Math.abs((ne-c.currentY)/b.y));const J=Math.max(_,$);c.currentX=F,c.currentY=ne;const re=c.width*P.scale,U=c.height*P.scale;c.minX=Math.min(d.slideWidth/2-re/2,0),c.maxX=-c.minX,c.minY=Math.min(d.slideHeight/2-U/2,0),c.maxY=-c.minY,c.currentX=Math.max(Math.min(c.currentX,c.maxX),c.minX),c.currentY=Math.max(Math.min(c.currentY,c.maxY),c.minY),d.imageWrapEl.style.transitionDuration=`${J}ms`,d.imageWrapEl.style.transform=`translate3d(${c.currentX}px, ${c.currentY}px,0)`}function y(){const P=e.zoom;d.slideEl&&e.activeIndex!==e.slides.indexOf(d.slideEl)&&(d.imageEl&&(d.imageEl.style.transform="translate3d(0,0,0) scale(1)"),d.imageWrapEl&&(d.imageWrapEl.style.transform="translate3d(0,0,0)"),d.slideEl.classList.remove(`${e.params.zoom.zoomedSlideClass}`),P.scale=1,l=1,d.slideEl=void 0,d.imageEl=void 0,d.imageWrapEl=void 0,d.originX=0,d.originY=0)}function x(P){if(l<=1||!d.imageWrapEl||!D(P)||!k(P))return;const _=n.getComputedStyle(d.imageWrapEl).transform,$=new n.DOMMatrix(_);if(!a){a=!0,m.x=P.clientX,m.y=P.clientY,c.startX=$.e,c.startY=$.f,c.width=d.imageEl.offsetWidth||d.imageEl.clientWidth,c.height=d.imageEl.offsetHeight||d.imageEl.clientHeight,d.slideWidth=d.slideEl.offsetWidth,d.slideHeight=d.slideEl.offsetHeight;return}const Y=(P.clientX-m.x)*u,F=(P.clientY-m.y)*u,se=c.width*l,ne=c.height*l,J=d.slideWidth,re=d.slideHeight,U=Math.min(J/2-se/2,0),ee=-U,fe=Math.min(re/2-ne/2,0),ye=-fe,pe=Math.max(Math.min(c.startX+Y,ee),U),me=Math.max(Math.min(c.startY+F,ye),fe);d.imageWrapEl.style.transitionDuration="0ms",d.imageWrapEl.style.transform=`translate3d(${pe}px, ${me}px, 0)`,m.x=P.clientX,m.y=P.clientY,c.startX=pe,c.startY=me}function I(P){const _=e.zoom,$=e.params.zoom;if(!d.slideEl){P&&P.target&&(d.slideEl=P.target.closest(`.${e.params.slideClass}, swiper-slide`)),d.slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?d.slideEl=Q(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:d.slideEl=e.slides[e.activeIndex]);let he=d.slideEl.querySelector(`.${$.containerClass}`);he&&(he=he.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),d.imageEl=he,he?d.imageWrapEl=we(d.imageEl,`.${$.containerClass}`)[0]:d.imageWrapEl=void 0}if(!d.imageEl||!d.imageWrapEl)return;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),d.slideEl.classList.add(`${$.zoomedSlideClass}`);let Y,F,se,ne,J,re,U,ee,fe,ye,pe,me,Se,xe,Ae,De,$e,_e;typeof c.touchesStart.x>"u"&&P?(Y=P.pageX,F=P.pageY):(Y=c.touchesStart.x,F=c.touchesStart.y);const ge=typeof P=="number"?P:null;l===1&&ge&&(Y=void 0,F=void 0,c.touchesStart.x=void 0,c.touchesStart.y=void 0);const Ze=h();_.scale=ge||Ze,l=ge||Ze,P&&!(l===1&&ge)?($e=d.slideEl.offsetWidth,_e=d.slideEl.offsetHeight,se=He(d.slideEl).left+n.scrollX,ne=He(d.slideEl).top+n.scrollY,J=se+$e/2-Y,re=ne+_e/2-F,fe=d.imageEl.offsetWidth||d.imageEl.clientWidth,ye=d.imageEl.offsetHeight||d.imageEl.clientHeight,pe=fe*_.scale,me=ye*_.scale,Se=Math.min($e/2-pe/2,0),xe=Math.min(_e/2-me/2,0),Ae=-Se,De=-xe,U=J*_.scale,ee=re*_.scale,UAe&&(U=Ae),eeDe&&(ee=De)):(U=0,ee=0),ge&&_.scale===1&&(d.originX=0,d.originY=0),d.imageWrapEl.style.transitionDuration="300ms",d.imageWrapEl.style.transform=`translate3d(${U}px, ${ee}px,0)`,d.imageEl.style.transitionDuration="300ms",d.imageEl.style.transform=`translate3d(0,0,0) scale(${_.scale})`}function G(){const P=e.zoom,_=e.params.zoom;if(!d.slideEl){e.params.virtual&&e.params.virtual.enabled&&e.virtual?d.slideEl=Q(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:d.slideEl=e.slides[e.activeIndex];let $=d.slideEl.querySelector(`.${_.containerClass}`);$&&($=$.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),d.imageEl=$,$?d.imageWrapEl=we(d.imageEl,`.${_.containerClass}`)[0]:d.imageWrapEl=void 0}!d.imageEl||!d.imageWrapEl||(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),P.scale=1,l=1,c.touchesStart.x=void 0,c.touchesStart.y=void 0,d.imageWrapEl.style.transitionDuration="300ms",d.imageWrapEl.style.transform="translate3d(0,0,0)",d.imageEl.style.transitionDuration="300ms",d.imageEl.style.transform="translate3d(0,0,0) scale(1)",d.slideEl.classList.remove(`${_.zoomedSlideClass}`),d.slideEl=void 0,d.originX=0,d.originY=0,e.params.zoom.panOnMouseMove&&(m={x:0,y:0},a&&(a=!1,c.startX=0,c.startY=0)))}function V(P){const _=e.zoom;_.scale&&_.scale!==1?G():I(P)}function q(){const P=e.params.passiveListeners?{passive:!0,capture:!1}:!1,_=e.params.passiveListeners?{passive:!1,capture:!0}:!0;return{passiveListener:P,activeListenerWithCapture:_}}function oe(){const P=e.zoom;if(P.enabled)return;P.enabled=!0;const{passiveListener:_,activeListenerWithCapture:$}=q();e.wrapperEl.addEventListener("pointerdown",B,_),e.wrapperEl.addEventListener("pointermove",z,$),["pointerup","pointercancel","pointerout"].forEach(Y=>{e.wrapperEl.addEventListener(Y,M,_)}),e.wrapperEl.addEventListener("pointermove",A,$)}function Oe(){const P=e.zoom;if(!P.enabled)return;P.enabled=!1;const{passiveListener:_,activeListenerWithCapture:$}=q();e.wrapperEl.removeEventListener("pointerdown",B,_),e.wrapperEl.removeEventListener("pointermove",z,$),["pointerup","pointercancel","pointerout"].forEach(Y=>{e.wrapperEl.removeEventListener(Y,M,_)}),e.wrapperEl.removeEventListener("pointermove",A,$)}s("init",()=>{e.params.zoom.enabled&&oe()}),s("destroy",()=>{Oe()}),s("touchStart",(P,_)=>{e.zoom.enabled&&L(_)}),s("touchEnd",(P,_)=>{e.zoom.enabled&&R()}),s("doubleTap",(P,_)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&V(_)}),s("transitionEnd",()=>{e.zoom.enabled&&e.params.zoom.enabled&&y()}),s("slideChange",()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&y()}),Object.assign(e.zoom,{enable:oe,disable:Oe,in:I,out:G,toggle:V})}function Rt(t){let{swiper:e,extendParams:i,on:s}=t;i({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0}}),e.a11y={clicked:!1};let r=null,n,l,o=new Date().getTime();function a(y){const x=r;x.length!==0&&(x.innerHTML="",x.innerHTML=y)}function m(y){const x=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(y).replace(/x/g,x)}function u(y){y=N(y),y.forEach(x=>{x.setAttribute("tabIndex","0")})}function f(y){y=N(y),y.forEach(x=>{x.setAttribute("tabIndex","-1")})}function w(y,x){y=N(y),y.forEach(I=>{I.setAttribute("role",x)})}function g(y,x){y=N(y),y.forEach(I=>{I.setAttribute("aria-roledescription",x)})}function d(y,x){y=N(y),y.forEach(I=>{I.setAttribute("aria-controls",x)})}function c(y,x){y=N(y),y.forEach(I=>{I.setAttribute("aria-label",x)})}function b(y,x){y=N(y),y.forEach(I=>{I.setAttribute("id",x)})}function v(y,x){y=N(y),y.forEach(I=>{I.setAttribute("aria-live",x)})}function p(y){y=N(y),y.forEach(x=>{x.setAttribute("aria-disabled",!0)})}function h(y){y=N(y),y.forEach(x=>{x.setAttribute("aria-disabled",!1)})}function E(y){if(y.keyCode!==13&&y.keyCode!==32)return;const x=e.params.a11y,I=y.target;if(!(e.pagination&&e.pagination.el&&(I===e.pagination.el||e.pagination.el.contains(y.target))&&!y.target.matches(ie(e.params.pagination.bulletClass)))){if(e.navigation&&e.navigation.prevEl&&e.navigation.nextEl){const G=N(e.navigation.prevEl);N(e.navigation.nextEl).includes(I)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?a(x.lastSlideMessage):a(x.nextSlideMessage)),G.includes(I)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?a(x.firstSlideMessage):a(x.prevSlideMessage))}e.pagination&&I.matches(ie(e.params.pagination.bulletClass))&&I.click()}}function S(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{nextEl:y,prevEl:x}=e.navigation;x&&(e.isBeginning?(p(x),f(x)):(h(x),u(x))),y&&(e.isEnd?(p(y),f(y)):(h(y),u(y)))}function D(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function k(){return D()&&e.params.pagination.clickable}function B(){const y=e.params.a11y;D()&&e.pagination.bullets.forEach(x=>{e.params.pagination.clickable&&(u(x),e.params.pagination.renderBullet||(w(x,"button"),c(x,y.paginationBulletMessage.replace(/\{\{index\}\}/,Ee(x)+1)))),x.matches(ie(e.params.pagination.bulletActiveClass))?x.setAttribute("aria-current","true"):x.removeAttribute("aria-current")})}const z=(y,x,I)=>{u(y),y.tagName!=="BUTTON"&&(w(y,"button"),y.addEventListener("keydown",E)),c(y,I),d(y,x)},M=y=>{l&&l!==y.target&&!l.contains(y.target)&&(n=!0),e.a11y.clicked=!0},O=()=>{n=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},C=y=>{o=new Date().getTime()},T=y=>{if(e.a11y.clicked||!e.params.a11y.scrollOnFocus||new Date().getTime()-o<100)return;const x=y.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!x||!e.slides.includes(x))return;l=x;const I=e.slides.indexOf(x)===e.activeIndex,G=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(x);I||G||y.sourceCapabilities&&y.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,requestAnimationFrame(()=>{n||(e.params.loop?e.slideToLoop(parseInt(x.getAttribute("data-swiper-slide-index")),0):e.slideTo(e.slides.indexOf(x),0),n=!1)}))},L=()=>{const y=e.params.a11y;y.itemRoleDescriptionMessage&&g(e.slides,y.itemRoleDescriptionMessage),y.slideRole&&w(e.slides,y.slideRole);const x=e.slides.length;y.slideLabelMessage&&e.slides.forEach((I,G)=>{const V=e.params.loop?parseInt(I.getAttribute("data-swiper-slide-index"),10):G,q=y.slideLabelMessage.replace(/\{\{index\}\}/,V+1).replace(/\{\{slidesLength\}\}/,x);c(I,q)})},A=()=>{const y=e.params.a11y;e.el.append(r);const x=e.el;y.containerRoleDescriptionMessage&&g(x,y.containerRoleDescriptionMessage),y.containerMessage&&c(x,y.containerMessage),y.containerRole&&w(x,y.containerRole);const I=e.wrapperEl,G=y.id||I.getAttribute("id")||`swiper-wrapper-${m(16)}`,V=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";b(I,G),v(I,V),L();let{nextEl:q,prevEl:oe}=e.navigation?e.navigation:{};q=N(q),oe=N(oe),q&&q.forEach(P=>z(P,G,y.nextSlideMessage)),oe&&oe.forEach(P=>z(P,G,y.prevSlideMessage)),k()&&N(e.pagination.el).forEach(_=>{_.addEventListener("keydown",E)}),K().addEventListener("visibilitychange",C),e.el.addEventListener("focus",T,!0),e.el.addEventListener("focus",T,!0),e.el.addEventListener("pointerdown",M,!0),e.el.addEventListener("pointerup",O,!0)};function R(){r&&r.remove();let{nextEl:y,prevEl:x}=e.navigation?e.navigation:{};y=N(y),x=N(x),y&&y.forEach(G=>G.removeEventListener("keydown",E)),x&&x.forEach(G=>G.removeEventListener("keydown",E)),k()&&N(e.pagination.el).forEach(V=>{V.removeEventListener("keydown",E)}),K().removeEventListener("visibilitychange",C),e.el&&typeof e.el!="string"&&(e.el.removeEventListener("focus",T,!0),e.el.removeEventListener("pointerdown",M,!0),e.el.removeEventListener("pointerup",O,!0))}s("beforeInit",()=>{r=ue("span",e.params.a11y.notificationClass),r.setAttribute("aria-live","assertive"),r.setAttribute("aria-atomic","true")}),s("afterInit",()=>{e.params.a11y.enabled&&A()}),s("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&L()}),s("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&S()}),s("paginationUpdate",()=>{e.params.a11y.enabled&&B()}),s("destroy",()=>{e.params.a11y.enabled&&R()})}function kt(t){let{swiper:e,extendParams:i,on:s,emit:r,params:n}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let l,o,a=n&&n.autoplay?n.autoplay.delay:3e3,m=n&&n.autoplay?n.autoplay.delay:3e3,u,f=new Date().getTime(),w,g,d,c,b,v,p;function h(x){!e||e.destroyed||!e.wrapperEl||x.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",h),!(p||x.detail&&x.detail.bySwiperTouchMove)&&M())}const E=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?w=!0:w&&(m=u,w=!1);const x=e.autoplay.paused?u:f+m-new Date().getTime();e.autoplay.timeLeft=x,r("autoplayTimeLeft",x,x/a),o=requestAnimationFrame(()=>{E()})},S=()=>{let x;return e.virtual&&e.params.virtual.enabled?x=e.slides.find(G=>G.classList.contains("swiper-slide-active")):x=e.slides[e.activeIndex],x?parseInt(x.getAttribute("data-swiper-autoplay"),10):void 0},D=x=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(o),E();let I=typeof x>"u"?e.params.autoplay.delay:x;a=e.params.autoplay.delay,m=e.params.autoplay.delay;const G=S();!Number.isNaN(G)&&G>0&&typeof x>"u"&&(I=G,a=G,m=G),u=I;const V=e.params.speed,q=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(V,!0,!0),r("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,V,!0,!0),r("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(V,!0,!0),r("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,V,!0,!0),r("autoplay")),e.params.cssMode&&(f=new Date().getTime(),requestAnimationFrame(()=>{D()})))};return I>0?(clearTimeout(l),l=setTimeout(()=>{q()},I)):requestAnimationFrame(()=>{q()}),I},k=()=>{f=new Date().getTime(),e.autoplay.running=!0,D(),r("autoplayStart")},B=()=>{e.autoplay.running=!1,clearTimeout(l),cancelAnimationFrame(o),r("autoplayStop")},z=(x,I)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(l),x||(v=!0);const G=()=>{r("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",h):M()};if(e.autoplay.paused=!0,I){b&&(u=e.params.autoplay.delay),b=!1,G();return}u=(u||e.params.autoplay.delay)-(new Date().getTime()-f),!(e.isEnd&&u<0&&!e.params.loop)&&(u<0&&(u=0),G())},M=()=>{e.isEnd&&u<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(f=new Date().getTime(),v?(v=!1,D(u)):D(),e.autoplay.paused=!1,r("autoplayResume"))},O=()=>{if(e.destroyed||!e.autoplay.running)return;const x=K();x.visibilityState==="hidden"&&(v=!0,z(!0)),x.visibilityState==="visible"&&M()},C=x=>{x.pointerType==="mouse"&&(v=!0,p=!0,!(e.animating||e.autoplay.paused)&&z(!0))},T=x=>{x.pointerType==="mouse"&&(p=!1,e.autoplay.paused&&M())},L=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",C),e.el.addEventListener("pointerleave",T))},A=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",C),e.el.removeEventListener("pointerleave",T))},R=()=>{K().addEventListener("visibilitychange",O)},y=()=>{K().removeEventListener("visibilitychange",O)};s("init",()=>{e.params.autoplay.enabled&&(L(),R(),k())}),s("destroy",()=>{A(),y(),e.autoplay.running&&B()}),s("_freeModeStaticRelease",()=>{(d||v)&&M()}),s("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?B():z(!0,!0)}),s("beforeTransitionStart",(x,I,G)=>{e.destroyed||!e.autoplay.running||(G||!e.params.autoplay.disableOnInteraction?z(!0,!0):B())}),s("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){B();return}g=!0,d=!1,v=!1,c=setTimeout(()=>{v=!0,d=!0,z(!0)},200)}}),s("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!g)){if(clearTimeout(c),clearTimeout(l),e.params.autoplay.disableOnInteraction){d=!1,g=!1;return}d&&e.params.cssMode&&M(),d=!1,g=!1}}),s("slideChange",()=>{e.destroyed||!e.autoplay.running||(b=!0)}),Object.assign(e.autoplay,{start:k,stop:B,pause:z,resume:M})}let Be;function Gt(){const t=j(),e=K();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function lt(){return Be||(Be=Gt()),Be}let Re;function Nt(t){let{userAgent:e}=t===void 0?{}:t;const i=lt(),s=j(),r=s.navigator.platform,n=e||s.navigator.userAgent,l={ios:!1,android:!1},o=s.screen.width,a=s.screen.height,m=n.match(/(Android);?[\s\/]+([\d.]+)?/);let u=n.match(/(iPad).*OS\s([\d_]+)/);const f=n.match(/(iPod)(.*OS\s([\d_]+))?/),w=!u&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/),g=r==="Win32";let d=r==="MacIntel";const c=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!u&&d&&i.touch&&c.indexOf(`${o}x${a}`)>=0&&(u=n.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),d=!1),m&&!g&&(l.os="android",l.android=!0),(u||w||f)&&(l.os="ios",l.ios=!0),l}function ot(t){return t===void 0&&(t={}),Re||(Re=Nt(t)),Re}let ke;function Yt(){const t=j(),e=ot();let i=!1;function s(){const o=t.navigator.userAgent.toLowerCase();return o.indexOf("safari")>=0&&o.indexOf("chrome")<0&&o.indexOf("android")<0}if(s()){const o=String(t.navigator.userAgent);if(o.includes("Version/")){const[a,m]=o.split("Version/")[1].split(" ")[0].split(".").map(u=>Number(u));i=a<16||a===16&&m<2}}const r=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),n=s(),l=n||r&&e.ios;return{isSafari:i||n,needPerspectiveFix:i,need3dFix:l,isWebView:r}}function Wt(){return ke||(ke=Yt()),ke}function Xt(t){let{swiper:e,on:i,emit:s}=t;const r=j();let n=null,l=null;const o=()=>{!e||e.destroyed||!e.initialized||(s("beforeResize"),s("resize"))},a=()=>{!e||e.destroyed||!e.initialized||(n=new ResizeObserver(f=>{l=r.requestAnimationFrame(()=>{const{width:w,height:g}=e;let d=w,c=g;f.forEach(b=>{let{contentBoxSize:v,contentRect:p,target:h}=b;h&&h!==e.el||(d=p?p.width:(v[0]||v).inlineSize,c=p?p.height:(v[0]||v).blockSize)}),(d!==w||c!==g)&&o()})}),n.observe(e.el))},m=()=>{l&&r.cancelAnimationFrame(l),n&&n.unobserve&&e.el&&(n.unobserve(e.el),n=null)},u=()=>{!e||e.destroyed||!e.initialized||s("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof r.ResizeObserver<"u"){a();return}r.addEventListener("resize",o),r.addEventListener("orientationchange",u)}),i("destroy",()=>{m(),r.removeEventListener("resize",o),r.removeEventListener("orientationchange",u)})}function Ht(t){let{swiper:e,extendParams:i,on:s,emit:r}=t;const n=[],l=j(),o=function(u,f){f===void 0&&(f={});const w=l.MutationObserver||l.WebkitMutationObserver,g=new w(d=>{if(e.__preventObserver__)return;if(d.length===1){r("observerUpdate",d[0]);return}const c=function(){r("observerUpdate",d[0])};l.requestAnimationFrame?l.requestAnimationFrame(c):l.setTimeout(c,0)});g.observe(u,{attributes:typeof f.attributes>"u"?!0:f.attributes,childList:e.isElement||(typeof f.childList>"u"?!0:f).childList,characterData:typeof f.characterData>"u"?!0:f.characterData}),n.push(g)},a=()=>{if(e.params.observer){if(e.params.observeParents){const u=we(e.hostEl);for(let f=0;f{n.forEach(u=>{u.disconnect()}),n.splice(0,n.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),s("init",a),s("destroy",m)}var Vt={on(t,e,i){const s=this;if(!s.eventsListeners||s.destroyed||typeof e!="function")return s;const r=i?"unshift":"push";return t.split(" ").forEach(n=>{s.eventsListeners[n]||(s.eventsListeners[n]=[]),s.eventsListeners[n][r](e)}),s},once(t,e,i){const s=this;if(!s.eventsListeners||s.destroyed||typeof e!="function")return s;function r(){s.off(t,r),r.__emitterProxy&&delete r.__emitterProxy;for(var n=arguments.length,l=new Array(n),o=0;o=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed||!i.eventsListeners||t.split(" ").forEach(s=>{typeof e>"u"?i.eventsListeners[s]=[]:i.eventsListeners[s]&&i.eventsListeners[s].forEach((r,n)=>{(r===e||r.__emitterProxy&&r.__emitterProxy===e)&&i.eventsListeners[s].splice(n,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,s;for(var r=arguments.length,n=new Array(r),l=0;l{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(m=>{m.apply(s,[a,...i])}),t.eventsListeners&&t.eventsListeners[a]&&t.eventsListeners[a].forEach(m=>{m.apply(s,i)})}),t}};function Ft(){const t=this;let e,i;const s=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=s.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?i=t.params.height:i=s.clientHeight,!(e===0&&t.isHorizontal()||i===0&&t.isVertical())&&(e=e-parseInt(le(s,"padding-left")||0,10)-parseInt(le(s,"padding-right")||0,10),i=i-parseInt(le(s,"padding-top")||0,10)-parseInt(le(s,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(i)&&(i=0),Object.assign(t,{width:e,height:i,size:t.isHorizontal()?e:i}))}function jt(){const t=this;function e(M,O){return parseFloat(M.getPropertyValue(t.getDirectionLabel(O))||0)}const i=t.params,{wrapperEl:s,slidesEl:r,size:n,rtlTranslate:l,wrongRTL:o}=t,a=t.virtual&&i.virtual.enabled,m=a?t.virtual.slides.length:t.slides.length,u=Q(r,`.${t.params.slideClass}, swiper-slide`),f=a?t.virtual.slides.length:u.length;let w=[];const g=[],d=[];let c=i.slidesOffsetBefore;typeof c=="function"&&(c=i.slidesOffsetBefore.call(t));let b=i.slidesOffsetAfter;typeof b=="function"&&(b=i.slidesOffsetAfter.call(t));const v=t.snapGrid.length,p=t.slidesGrid.length;let h=i.spaceBetween,E=-c,S=0,D=0;if(typeof n>"u")return;typeof h=="string"&&h.indexOf("%")>=0?h=parseFloat(h.replace("%",""))/100*n:typeof h=="string"&&(h=parseFloat(h)),t.virtualSize=-h,u.forEach(M=>{l?M.style.marginLeft="":M.style.marginRight="",M.style.marginBottom="",M.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(Ce(s,"--swiper-centered-offset-before",""),Ce(s,"--swiper-centered-offset-after",""));const k=i.grid&&i.grid.rows>1&&t.grid;k?t.grid.initSlides(u):t.grid&&t.grid.unsetSlides();let B;const z=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(M=>typeof i.breakpoints[M].slidesPerView<"u").length>0;for(let M=0;M1&&w.push(t.virtualSize-n)}if(a&&i.loop){const M=d[0]+h;if(i.slidesPerGroup>1){const O=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),C=M*i.slidesPerGroup;for(let T=0;T!i.cssMode||i.loop?!0:C!==u.length-1).forEach(O=>{O.style[M]=`${h}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let M=0;d.forEach(C=>{M+=C+(h||0)}),M-=h;const O=M>n?M-n:0;w=w.map(C=>C<=0?-c:C>O?O+b:C)}if(i.centerInsufficientSlides){let M=0;d.forEach(C=>{M+=C+(h||0)}),M-=h;const O=(i.slidesOffsetBefore||0)+(i.slidesOffsetAfter||0);if(M+O{w[L]=T-C}),g.forEach((T,L)=>{g[L]=T+C})}}if(Object.assign(t,{slides:u,snapGrid:w,slidesGrid:g,slidesSizesGrid:d}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){Ce(s,"--swiper-centered-offset-before",`${-w[0]}px`),Ce(s,"--swiper-centered-offset-after",`${t.size/2-d[d.length-1]/2}px`);const M=-t.snapGrid[0],O=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(C=>C+M),t.slidesGrid=t.slidesGrid.map(C=>C+O)}if(f!==m&&t.emit("slidesLengthChange"),w.length!==v&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),g.length!==p&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!a&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const M=`${i.containerModifierClass}backface-hidden`,O=t.el.classList.contains(M);f<=i.maxBackfaceHiddenSlides?O||t.el.classList.add(M):O&&t.el.classList.remove(M)}}function qt(t){const e=this,i=[],s=e.virtual&&e.params.virtual.enabled;let r=0,n;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const l=o=>s?e.slides[e.getSlideIndexByData(o)]:e.slides[o];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(o=>{i.push(o)});else for(n=0;ne.slides.length&&!s)break;i.push(l(o))}else i.push(l(e.activeIndex));for(n=0;nr?o:r}(r||r===0)&&(e.wrapperEl.style.height=`${r}px`)}function Ut(){const t=this,e=t.slides,i=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let s=0;s{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function Kt(t){t===void 0&&(t=this&&this.translate||0);const e=this,i=e.params,{slides:s,rtlTranslate:r,snapGrid:n}=e;if(s.length===0)return;typeof s[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let l=-t;r&&(l=t),e.visibleSlidesIndexes=[],e.visibleSlides=[];let o=i.spaceBetween;typeof o=="string"&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*e.size:typeof o=="string"&&(o=parseFloat(o));for(let a=0;a=0&&g<=e.size-e.slidesSizesGrid[a],b=g>=0&&g1&&d<=e.size||g<=0&&d>=e.size;b&&(e.visibleSlides.push(m),e.visibleSlidesIndexes.push(a)),Je(m,b,i.slideVisibleClass),Je(m,c,i.slideFullyVisibleClass),m.progress=r?-f:f,m.originalProgress=r?-w:w}}function Zt(t){const e=this;if(typeof t>"u"){const u=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*u||0}const i=e.params,s=e.maxTranslate()-e.minTranslate();let{progress:r,isBeginning:n,isEnd:l,progressLoop:o}=e;const a=n,m=l;if(s===0)r=0,n=!0,l=!0;else{r=(t-e.minTranslate())/s;const u=Math.abs(t-e.minTranslate())<1,f=Math.abs(t-e.maxTranslate())<1;n=u||r<=0,l=f||r>=1,u&&(r=0),f&&(r=1)}if(i.loop){const u=e.getSlideIndexByData(0),f=e.getSlideIndexByData(e.slides.length-1),w=e.slidesGrid[u],g=e.slidesGrid[f],d=e.slidesGrid[e.slidesGrid.length-1],c=Math.abs(t);c>=w?o=(c-w)/d:o=(c+d-g)/d,o>1&&(o-=1)}Object.assign(e,{progress:r,progressLoop:o,isBeginning:n,isEnd:l}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),n&&!a&&e.emit("reachBeginning toEdge"),l&&!m&&e.emit("reachEnd toEdge"),(a&&!n||m&&!l)&&e.emit("fromEdge"),e.emit("progress",r)}const Ge=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function Qt(){const t=this,{slides:e,params:i,slidesEl:s,activeIndex:r}=t,n=t.virtual&&i.virtual.enabled,l=t.grid&&i.grid&&i.grid.rows>1,o=f=>Q(s,`.${i.slideClass}${f}, swiper-slide${f}`)[0];let a,m,u;if(n)if(i.loop){let f=r-t.virtual.slidesBefore;f<0&&(f=t.virtual.slides.length+f),f>=t.virtual.slides.length&&(f-=t.virtual.slides.length),a=o(`[data-swiper-slide-index="${f}"]`)}else a=o(`[data-swiper-slide-index="${r}"]`);else l?(a=e.find(f=>f.column===r),u=e.find(f=>f.column===r+1),m=e.find(f=>f.column===r-1)):a=e[r];a&&(l||(u=At(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!u&&(u=e[0]),m=Ot(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!m===0&&(m=e[e.length-1]))),e.forEach(f=>{Ge(f,f===a,i.slideActiveClass),Ge(f,f===u,i.slideNextClass),Ge(f,f===m,i.slidePrevClass)}),t.emitSlidesClasses()}const Me=(t,e)=>{if(!t||t.destroyed||!t.params)return;const i=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,s=e.closest(i());if(s){let r=s.querySelector(`.${t.params.lazyPreloaderClass}`);!r&&t.isElement&&(s.shadowRoot?r=s.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{s.shadowRoot&&(r=s.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),r&&r.remove())})),r&&r.remove()}},Ne=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},Fe=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const s=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),r=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const l=r,o=[l-e];o.push(...Array.from({length:e}).map((a,m)=>l+s+m)),t.slides.forEach((a,m)=>{o.includes(a.column)&&Ne(t,m)});return}const n=r+s-1;if(t.params.rewind||t.params.loop)for(let l=r-e;l<=n+e;l+=1){const o=(l%i+i)%i;(on)&&Ne(t,o)}else for(let l=Math.max(r-e,0);l<=Math.min(n+e,i-1);l+=1)l!==r&&(l>n||l=e[n]&&s=e[n]&&s=e[n]&&(r=n);return i.normalizeSlideIndex&&(r<0||typeof r>"u")&&(r=0),r}function ei(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:s,params:r,activeIndex:n,realIndex:l,snapIndex:o}=e;let a=t,m;const u=g=>{let d=g-e.virtual.slidesBefore;return d<0&&(d=e.virtual.slides.length+d),d>=e.virtual.slides.length&&(d-=e.virtual.slides.length),d};if(typeof a>"u"&&(a=Jt(e)),s.indexOf(i)>=0)m=s.indexOf(i);else{const g=Math.min(r.slidesPerGroupSkip,a);m=g+Math.floor((a-g)/r.slidesPerGroup)}if(m>=s.length&&(m=s.length-1),a===n&&!e.params.loop){m!==o&&(e.snapIndex=m,e.emit("snapIndexChange"));return}if(a===n&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=u(a);return}const f=e.grid&&r.grid&&r.grid.rows>1;let w;if(e.virtual&&r.virtual.enabled&&r.loop)w=u(a);else if(f){const g=e.slides.find(c=>c.column===a);let d=parseInt(g.getAttribute("data-swiper-slide-index"),10);Number.isNaN(d)&&(d=Math.max(e.slides.indexOf(g),0)),w=Math.floor(d/r.grid.rows)}else if(e.slides[a]){const g=e.slides[a].getAttribute("data-swiper-slide-index");g?w=parseInt(g,10):w=a}else w=a;Object.assign(e,{previousSnapIndex:o,snapIndex:m,previousRealIndex:l,realIndex:w,previousIndex:n,activeIndex:a}),e.initialized&&Fe(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(l!==w&&e.emit("realIndexChange"),e.emit("slideChange"))}function ti(t,e){const i=this,s=i.params;let r=t.closest(`.${s.slideClass}, swiper-slide`);!r&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(o=>{!r&&o.matches&&o.matches(`.${s.slideClass}, swiper-slide`)&&(r=o)});let n=!1,l;if(r){for(let o=0;oa?u=a:s&&tl?o="next":n"u"&&(e=n.params.speed);const c=Math.min(n.params.slidesPerGroupSkip,l);let b=c+Math.floor((l-c)/n.params.slidesPerGroup);b>=a.length&&(b=a.length-1);const v=-a[b];if(o.normalizeSlideIndex)for(let S=0;S=k&&D=k&&D=k&&(l=S)}if(n.initialized&&l!==f&&(!n.allowSlideNext&&(w?v>n.translate&&v>n.minTranslate():vn.translate&&v>n.maxTranslate()&&(f||0)!==l))return!1;l!==(u||0)&&i&&n.emit("beforeSlideChangeStart"),n.updateProgress(v);let p;l>f?p="next":l0?(n._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{g[S?"scrollLeft":"scrollTop"]=D})):g[S?"scrollLeft":"scrollTop"]=D,h&&requestAnimationFrame(()=>{n.wrapperEl.style.scrollSnapType="",n._immediateVirtual=!1});else{if(!n.support.smoothScroll)return at({swiper:n,targetPosition:D,side:S?"left":"top"}),!0;g.scrollTo({[S?"left":"top"]:D,behavior:"smooth"})}return!0}return n.setTransition(e),n.setTranslate(v),n.updateActiveIndex(l),n.updateSlidesClasses(),n.emit("beforeTransitionStart",e,s),n.transitionStart(i,p),e===0?n.transitionEnd(i,p):n.animating||(n.animating=!0,n.onSlideToWrapperTransitionEnd||(n.onSlideToWrapperTransitionEnd=function(D){!n||n.destroyed||D.target===this&&(n.wrapperEl.removeEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.onSlideToWrapperTransitionEnd=null,delete n.onSlideToWrapperTransitionEnd,n.transitionEnd(i,p))}),n.wrapperEl.addEventListener("transitionend",n.onSlideToWrapperTransitionEnd)),!0}function mi(t,e,i,s){t===void 0&&(t=0),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const r=this;if(r.destroyed)return;typeof e>"u"&&(e=r.params.speed);const n=r.grid&&r.params.grid&&r.params.grid.rows>1;let l=t;if(r.params.loop)if(r.virtual&&r.params.virtual.enabled)l=l+r.virtual.slidesBefore;else{let o;if(n){const w=l*r.params.grid.rows;o=r.slides.find(g=>g.getAttribute("data-swiper-slide-index")*1===w).column}else o=r.getSlideIndexByData(l);const a=n?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,{centeredSlides:m}=r.params;let u=r.params.slidesPerView;u==="auto"?u=r.slidesPerViewDynamic():(u=Math.ceil(parseFloat(r.params.slidesPerView,10)),m&&u%2===0&&(u=u+1));let f=a-og.getAttribute("data-swiper-slide-index")*1===w).column}else l=r.getSlideIndexByData(l)}return requestAnimationFrame(()=>{r.slideTo(l,e,i,s)}),r}function gi(t,e,i){e===void 0&&(e=!0);const s=this,{enabled:r,params:n,animating:l}=s;if(!r||s.destroyed)return s;typeof t>"u"&&(t=s.params.speed);let o=n.slidesPerGroup;n.slidesPerView==="auto"&&n.slidesPerGroup===1&&n.slidesPerGroupAuto&&(o=Math.max(s.slidesPerViewDynamic("current",!0),1));const a=s.activeIndex{s.slideTo(s.activeIndex+a,t,e,i)}),!0}return n.rewind&&s.isEnd?s.slideTo(0,t,e,i):s.slideTo(s.activeIndex+a,t,e,i)}function hi(t,e,i){e===void 0&&(e=!0);const s=this,{params:r,snapGrid:n,slidesGrid:l,rtlTranslate:o,enabled:a,animating:m}=s;if(!a||s.destroyed)return s;typeof t>"u"&&(t=s.params.speed);const u=s.virtual&&r.virtual.enabled;if(r.loop){if(m&&!u&&r.loopPreventsSliding)return!1;s.loopFix({direction:"prev"}),s._clientLeft=s.wrapperEl.clientLeft}const f=o?s.translate:-s.translate;function w(v){return v<0?-Math.floor(Math.abs(v)):Math.floor(v)}const g=w(f),d=n.map(v=>w(v));let c=n[d.indexOf(g)-1];if(typeof c>"u"&&r.cssMode){let v;n.forEach((p,h)=>{g>=p&&(v=h)}),typeof v<"u"&&(c=n[v>0?v-1:v])}let b=0;if(typeof c<"u"&&(b=l.indexOf(c),b<0&&(b=s.activeIndex-1),r.slidesPerView==="auto"&&r.slidesPerGroup===1&&r.slidesPerGroupAuto&&(b=b-s.slidesPerViewDynamic("previous",!0)+1,b=Math.max(b,0))),r.rewind&&s.isBeginning){const v=s.params.virtual&&s.params.virtual.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1;return s.slideTo(v,t,e,i)}else if(r.loop&&s.activeIndex===0&&r.cssMode)return requestAnimationFrame(()=>{s.slideTo(b,t,e,i)}),!0;return s.slideTo(b,t,e,i)}function vi(t,e,i){e===void 0&&(e=!0);const s=this;if(!s.destroyed)return typeof t>"u"&&(t=s.params.speed),s.slideTo(s.activeIndex,t,e,i)}function wi(t,e,i,s){e===void 0&&(e=!0),s===void 0&&(s=.5);const r=this;if(r.destroyed)return;typeof t>"u"&&(t=r.params.speed);let n=r.activeIndex;const l=Math.min(r.params.slidesPerGroupSkip,n),o=l+Math.floor((n-l)/r.params.slidesPerGroup),a=r.rtlTranslate?r.translate:-r.translate;if(a>=r.snapGrid[o]){const m=r.snapGrid[o],u=r.snapGrid[o+1];a-m>(u-m)*s&&(n+=r.params.slidesPerGroup)}else{const m=r.snapGrid[o-1],u=r.snapGrid[o];a-m<=(u-m)*s&&(n-=r.params.slidesPerGroup)}return n=Math.max(n,0),n=Math.min(n,r.slidesGrid.length-1),r.slideTo(n,t,e,i)}function bi(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,s=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let r=t.clickedIndex,n;const l=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;n=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?rt.slides.length-t.loopedSlides+s/2?(t.loopFix(),r=t.getSlideIndex(Q(i,`${l}[data-swiper-slide-index="${n}"]`)[0]),Pe(()=>{t.slideTo(r)})):t.slideTo(r):r>t.slides.length-s?(t.loopFix(),r=t.getSlideIndex(Q(i,`${l}[data-swiper-slide-index="${n}"]`)[0]),Pe(()=>{t.slideTo(r)})):t.slideTo(r)}else t.slideTo(r)}var Ei={slideTo:pi,slideToLoop:mi,slideNext:gi,slidePrev:hi,slideReset:vi,slideToClosest:wi,slideToClickedSlide:bi};function yi(t){const e=this,{params:i,slidesEl:s}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const r=()=>{Q(s,`.${i.slideClass}, swiper-slide`).forEach((f,w)=>{f.setAttribute("data-swiper-slide-index",w)})},n=e.grid&&i.grid&&i.grid.rows>1,l=i.slidesPerGroup*(n?i.grid.rows:1),o=e.slides.length%l!==0,a=n&&e.slides.length%i.grid.rows!==0,m=u=>{for(let f=0;f1;m.length"u"?n=a.getSlideIndex(m.find(T=>T.classList.contains(g.slideActiveClass))):S=n;const D=s==="next"||!s,k=s==="prev"||!s;let B=0,z=0;const M=p?Math.ceil(m.length/g.grid.rows):m.length,C=(p?m[n].column:n)+(d&&typeof r>"u"?-c/2+.5:0);if(C=0;R-=1)m[R].column===A&&h.push(R)}else h.push(M-L-1)}}else if(C+c>M-v){z=Math.max(C-(M-v*2),b);for(let T=0;T{A.column===L&&E.push(R)}):E.push(L)}}if(a.__preventObserver__=!0,requestAnimationFrame(()=>{a.__preventObserver__=!1}),k&&h.forEach(T=>{m[T].swiperLoopMoveDOM=!0,w.prepend(m[T]),m[T].swiperLoopMoveDOM=!1}),D&&E.forEach(T=>{m[T].swiperLoopMoveDOM=!0,w.append(m[T]),m[T].swiperLoopMoveDOM=!1}),a.recalcSlides(),g.slidesPerView==="auto"?a.updateSlides():p&&(h.length>0&&k||E.length>0&&D)&&a.slides.forEach((T,L)=>{a.grid.updateSlide(L,T,a.slides)}),g.watchSlidesProgress&&a.updateSlidesOffset(),i){if(h.length>0&&k){if(typeof e>"u"){const T=a.slidesGrid[S],A=a.slidesGrid[S+B]-T;o?a.setTranslate(a.translate-A):(a.slideTo(S+Math.ceil(B),0,!1,!0),r&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-A,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-A))}else if(r){const T=p?h.length/g.grid.rows:h.length;a.slideTo(a.activeIndex+T,0,!1,!0),a.touchEventsData.currentTranslate=a.translate}}else if(E.length>0&&D)if(typeof e>"u"){const T=a.slidesGrid[S],A=a.slidesGrid[S-z]-T;o?a.setTranslate(a.translate-A):(a.slideTo(S-z,0,!1,!0),r&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-A,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-A))}else{const T=p?E.length/g.grid.rows:E.length;a.slideTo(a.activeIndex-T,0,!1,!0)}}if(a.allowSlidePrev=u,a.allowSlideNext=f,a.controller&&a.controller.control&&!l){const T={slideRealIndex:e,direction:s,setTranslate:r,activeSlideIndex:n,byController:!0};Array.isArray(a.controller.control)?a.controller.control.forEach(L=>{!L.destroyed&&L.params.loop&&L.loopFix({...T,slideTo:L.params.slidesPerView===g.slidesPerView?i:!1})}):a.controller.control instanceof a.constructor&&a.controller.control.params.loop&&a.controller.control.loopFix({...T,slideTo:a.controller.control.params.slidesPerView===g.slidesPerView?i:!1})}a.emit("loopFix")}function xi(){const t=this,{params:e,slidesEl:i}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const s=[];t.slides.forEach(r=>{const n=typeof r.swiperSlideIndex>"u"?r.getAttribute("data-swiper-slide-index")*1:r.swiperSlideIndex;s[n]=r}),t.slides.forEach(r=>{r.removeAttribute("data-swiper-slide-index")}),s.forEach(r=>{i.append(r)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var Ti={loopCreate:yi,loopFix:Si,loopDestroy:xi};function Ci(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const i=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function Mi(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}var Pi={setGrabCursor:Ci,unsetGrabCursor:Mi};function Li(t,e){e===void 0&&(e=this);function i(s){if(!s||s===K()||s===j())return null;s.assignedSlot&&(s=s.assignedSlot);const r=s.closest(t);return!r&&!s.getRootNode?null:r||i(s.getRootNode().host)}return i(e)}function et(t,e,i){const s=j(),{params:r}=t,n=r.edgeSwipeDetection,l=r.edgeSwipeThreshold;return n&&(i<=l||i>=s.innerWidth-l)?n==="prevent"?(e.preventDefault(),!0):!1:!0}function zi(t){const e=this,i=K();let s=t;s.originalEvent&&(s=s.originalEvent);const r=e.touchEventsData;if(s.type==="pointerdown"){if(r.pointerId!==null&&r.pointerId!==s.pointerId)return;r.pointerId=s.pointerId}else s.type==="touchstart"&&s.targetTouches.length===1&&(r.touchId=s.targetTouches[0].identifier);if(s.type==="touchstart"){et(e,s,s.targetTouches[0].pageX);return}const{params:n,touches:l,enabled:o}=e;if(!o||!n.simulateTouch&&s.pointerType==="mouse"||e.animating&&n.preventInteractionOnTransition)return;!e.animating&&n.cssMode&&n.loop&&e.loopFix();let a=s.target;if(n.touchEventsTarget==="wrapper"&&!It(a,e.wrapperEl)||"which"in s&&s.which===3||"button"in s&&s.button>0||r.isTouched&&r.isMoved)return;const m=!!n.noSwipingClass&&n.noSwipingClass!=="",u=s.composedPath?s.composedPath():s.path;m&&s.target&&s.target.shadowRoot&&u&&(a=u[0]);const f=n.noSwipingSelector?n.noSwipingSelector:`.${n.noSwipingClass}`,w=!!(s.target&&s.target.shadowRoot);if(n.noSwiping&&(w?Li(f,a):a.closest(f))){e.allowClick=!0;return}if(n.swipeHandler&&!a.closest(n.swipeHandler))return;l.currentX=s.pageX,l.currentY=s.pageY;const g=l.currentX,d=l.currentY;if(!et(e,s,g))return;Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=g,l.startY=d,r.touchStartTime=Le(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,n.threshold>0&&(r.allowThresholdMove=!1);let c=!0;a.matches(r.focusableElements)&&(c=!1,a.nodeName==="SELECT"&&(r.isTouched=!1)),i.activeElement&&i.activeElement.matches(r.focusableElements)&&i.activeElement!==a&&(s.pointerType==="mouse"||s.pointerType!=="mouse"&&!a.matches(r.focusableElements))&&i.activeElement.blur();const b=c&&e.allowTouchMove&&n.touchStartPreventDefault;(n.touchStartForcePreventDefault||b)&&!a.isContentEditable&&s.preventDefault(),n.freeMode&&n.freeMode.enabled&&e.freeMode&&e.animating&&!n.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",s)}function Ii(t){const e=K(),i=this,s=i.touchEventsData,{params:r,touches:n,rtlTranslate:l,enabled:o}=i;if(!o||!r.simulateTouch&&t.pointerType==="mouse")return;let a=t;if(a.originalEvent&&(a=a.originalEvent),a.type==="pointermove"&&(s.touchId!==null||a.pointerId!==s.pointerId))return;let m;if(a.type==="touchmove"){if(m=[...a.changedTouches].find(S=>S.identifier===s.touchId),!m||m.identifier!==s.touchId)return}else m=a;if(!s.isTouched){s.startMoving&&s.isScrolling&&i.emit("touchMoveOpposite",a);return}const u=m.pageX,f=m.pageY;if(a.preventedByNestedSwiper){n.startX=u,n.startY=f;return}if(!i.allowTouchMove){a.target.matches(s.focusableElements)||(i.allowClick=!1),s.isTouched&&(Object.assign(n,{startX:u,startY:f,currentX:u,currentY:f}),s.touchStartTime=Le());return}if(r.touchReleaseOnEdges&&!r.loop){if(i.isVertical()){if(fn.startY&&i.translate>=i.minTranslate()){s.isTouched=!1,s.isMoved=!1;return}}else if(un.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&e.activeElement.matches(s.focusableElements)&&e.activeElement!==a.target&&a.pointerType!=="mouse"&&e.activeElement.blur(),e.activeElement&&a.target===e.activeElement&&a.target.matches(s.focusableElements)){s.isMoved=!0,i.allowClick=!1;return}s.allowTouchCallbacks&&i.emit("touchMove",a),n.previousX=n.currentX,n.previousY=n.currentY,n.currentX=u,n.currentY=f;const w=n.currentX-n.startX,g=n.currentY-n.startY;if(i.params.threshold&&Math.sqrt(w**2+g**2)"u"){let S;i.isHorizontal()&&n.currentY===n.startY||i.isVertical()&&n.currentX===n.startX?s.isScrolling=!1:w*w+g*g>=25&&(S=Math.atan2(Math.abs(g),Math.abs(w))*180/Math.PI,s.isScrolling=i.isHorizontal()?S>r.touchAngle:90-S>r.touchAngle)}if(s.isScrolling&&i.emit("touchMoveOpposite",a),typeof s.startMoving>"u"&&(n.currentX!==n.startX||n.currentY!==n.startY)&&(s.startMoving=!0),s.isScrolling||a.type==="touchmove"&&s.preventTouchMoveFromPointerMove){s.isTouched=!1;return}if(!s.startMoving)return;i.allowClick=!1,!r.cssMode&&a.cancelable&&a.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&a.stopPropagation();let d=i.isHorizontal()?w:g,c=i.isHorizontal()?n.currentX-n.previousX:n.currentY-n.previousY;r.oneWayMovement&&(d=Math.abs(d)*(l?1:-1),c=Math.abs(c)*(l?1:-1)),n.diff=d,d*=r.touchRatio,l&&(d=-d,c=-c);const b=i.touchesDirection;i.swipeDirection=d>0?"prev":"next",i.touchesDirection=c>0?"prev":"next";const v=i.params.loop&&!r.cssMode,p=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!s.isMoved){if(v&&p&&i.loopFix({direction:i.swipeDirection}),s.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const S=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});i.wrapperEl.dispatchEvent(S)}s.allowMomentumBounce=!1,r.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",a)}if(new Date().getTime(),s.isMoved&&s.allowThresholdMove&&b!==i.touchesDirection&&v&&p&&Math.abs(d)>=1){Object.assign(n,{startX:u,startY:f,currentX:u,currentY:f,startTranslate:s.currentTranslate}),s.loopSwapReset=!0,s.startTranslate=s.currentTranslate;return}i.emit("sliderMove",a),s.isMoved=!0,s.currentTranslate=d+s.startTranslate;let h=!0,E=r.resistanceRatio;if(r.touchReleaseOnEdges&&(E=0),d>0?(v&&p&&s.allowThresholdMove&&s.currentTranslate>(r.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]-(r.slidesPerView!=="auto"&&i.slides.length-r.slidesPerView>=2?i.slidesSizesGrid[i.activeIndex+1]+i.params.spaceBetween:0)-i.params.spaceBetween:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),s.currentTranslate>i.minTranslate()&&(h=!1,r.resistance&&(s.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+s.startTranslate+d)**E))):d<0&&(v&&p&&s.allowThresholdMove&&s.currentTranslate<(r.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]+i.params.spaceBetween+(r.slidesPerView!=="auto"&&i.slides.length-r.slidesPerView>=2?i.slidesSizesGrid[i.slidesSizesGrid.length-1]+i.params.spaceBetween:0):i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-(r.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),s.currentTranslates.startTranslate&&(s.currentTranslate=s.startTranslate),!i.allowSlidePrev&&!i.allowSlideNext&&(s.currentTranslate=s.startTranslate),r.threshold>0)if(Math.abs(d)>r.threshold||s.allowThresholdMove){if(!s.allowThresholdMove){s.allowThresholdMove=!0,n.startX=n.currentX,n.startY=n.currentY,s.currentTranslate=s.startTranslate,n.diff=i.isHorizontal()?n.currentX-n.startX:n.currentY-n.startY;return}}else{s.currentTranslate=s.startTranslate;return}!r.followFinger||r.cssMode||((r.freeMode&&r.freeMode.enabled&&i.freeMode||r.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(s.currentTranslate),i.setTranslate(s.currentTranslate))}function Oi(t){const e=this,i=e.touchEventsData;let s=t;s.originalEvent&&(s=s.originalEvent);let r;if(s.type==="touchend"||s.type==="touchcancel"){if(r=[...s.changedTouches].find(S=>S.identifier===i.touchId),!r||r.identifier!==i.touchId)return}else{if(i.touchId!==null||s.pointerId!==i.pointerId)return;r=s}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(s.type)&&!(["pointercancel","contextmenu"].includes(s.type)&&(e.browser.isSafari||e.browser.isWebView)))return;i.pointerId=null,i.touchId=null;const{params:l,touches:o,rtlTranslate:a,slidesGrid:m,enabled:u}=e;if(!u||!l.simulateTouch&&s.pointerType==="mouse")return;if(i.allowTouchCallbacks&&e.emit("touchEnd",s),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&l.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}l.grabCursor&&i.isMoved&&i.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const f=Le(),w=f-i.touchStartTime;if(e.allowClick){const S=s.path||s.composedPath&&s.composedPath();e.updateClickedSlide(S&&S[0]||s.target,S),e.emit("tap click",s),w<300&&f-i.lastClickTime<300&&e.emit("doubleTap doubleClick",s)}if(i.lastClickTime=Le(),Pe(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||o.diff===0&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;let g;if(l.followFinger?g=a?e.translate:-e.translate:g=-i.currentTranslate,l.cssMode)return;if(l.freeMode&&l.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:g});return}const d=g>=-e.maxTranslate()&&!e.params.loop;let c=0,b=e.slidesSizesGrid[0];for(let S=0;S=m[S]&&g=m[S])&&(c=S,b=m[m.length-1]-m[m.length-2])}let v=null,p=null;l.rewind&&(e.isBeginning?p=l.virtual&&l.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(v=0));const h=(g-m[c])/b,E=cl.longSwipesMs){if(!l.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(h>=l.longSwipesRatio?e.slideTo(l.rewind&&e.isEnd?v:c+E):e.slideTo(c)),e.swipeDirection==="prev"&&(h>1-l.longSwipesRatio?e.slideTo(c+E):p!==null&&h<0&&Math.abs(h)>l.longSwipesRatio?e.slideTo(p):e.slideTo(c))}else{if(!l.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(s.target===e.navigation.nextEl||s.target===e.navigation.prevEl)?s.target===e.navigation.nextEl?e.slideTo(c+E):e.slideTo(c):(e.swipeDirection==="next"&&e.slideTo(v!==null?v:c+E),e.swipeDirection==="prev"&&e.slideTo(p!==null?p:c))}}function tt(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:s,allowSlidePrev:r,snapGrid:n}=t,l=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const o=l&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!o?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!l?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=r,t.allowSlideNext=s,t.params.watchOverflow&&n!==t.snapGrid&&t.checkOverflow()}function Ai(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function Di(){const t=this,{wrapperEl:e,rtlTranslate:i,enabled:s}=t;if(!s)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let r;const n=t.maxTranslate()-t.minTranslate();n===0?r=0:r=(t.translate-t.minTranslate())/n,r!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function $i(t){const e=this;Me(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function _i(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const ct=(t,e)=>{const i=K(),{params:s,el:r,wrapperEl:n,device:l}=t,o=!!s.nested,a=e==="on"?"addEventListener":"removeEventListener",m=e;!r||typeof r=="string"||(i[a]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:o}),r[a]("touchstart",t.onTouchStart,{passive:!1}),r[a]("pointerdown",t.onTouchStart,{passive:!1}),i[a]("touchmove",t.onTouchMove,{passive:!1,capture:o}),i[a]("pointermove",t.onTouchMove,{passive:!1,capture:o}),i[a]("touchend",t.onTouchEnd,{passive:!0}),i[a]("pointerup",t.onTouchEnd,{passive:!0}),i[a]("pointercancel",t.onTouchEnd,{passive:!0}),i[a]("touchcancel",t.onTouchEnd,{passive:!0}),i[a]("pointerout",t.onTouchEnd,{passive:!0}),i[a]("pointerleave",t.onTouchEnd,{passive:!0}),i[a]("contextmenu",t.onTouchEnd,{passive:!0}),(s.preventClicks||s.preventClicksPropagation)&&r[a]("click",t.onClick,!0),s.cssMode&&n[a]("scroll",t.onScroll),s.updateOnWindowResize?t[m](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",tt,!0):t[m]("observerUpdate",tt,!0),r[a]("load",t.onLoad,{capture:!0}))};function Bi(){const t=this,{params:e}=t;t.onTouchStart=zi.bind(t),t.onTouchMove=Ii.bind(t),t.onTouchEnd=Oi.bind(t),t.onDocumentTouchStart=_i.bind(t),e.cssMode&&(t.onScroll=Di.bind(t)),t.onClick=Ai.bind(t),t.onLoad=$i.bind(t),ct(t,"on")}function Ri(){ct(this,"off")}var ki={attachEvents:Bi,detachEvents:Ri};const it=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function Gi(){const t=this,{realIndex:e,initialized:i,params:s,el:r}=t,n=s.breakpoints;if(!n||n&&Object.keys(n).length===0)return;const l=K(),o=s.breakpointsBase==="window"||!s.breakpointsBase?s.breakpointsBase:"container",a=["window","container"].includes(s.breakpointsBase)||!s.breakpointsBase?t.el:l.querySelector(s.breakpointsBase),m=t.getBreakpoint(n,o,a);if(!m||t.currentBreakpoint===m)return;const f=(m in n?n[m]:void 0)||t.originalParams,w=it(t,s),g=it(t,f),d=t.params.grabCursor,c=f.grabCursor,b=s.enabled;w&&!g?(r.classList.remove(`${s.containerModifierClass}grid`,`${s.containerModifierClass}grid-column`),t.emitContainerClasses()):!w&&g&&(r.classList.add(`${s.containerModifierClass}grid`),(f.grid.fill&&f.grid.fill==="column"||!f.grid.fill&&s.grid.fill==="column")&&r.classList.add(`${s.containerModifierClass}grid-column`),t.emitContainerClasses()),d&&!c?t.unsetGrabCursor():!d&&c&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(D=>{if(typeof f[D]>"u")return;const k=s[D]&&s[D].enabled,B=f[D]&&f[D].enabled;k&&!B&&t[D].disable(),!k&&B&&t[D].enable()});const v=f.direction&&f.direction!==s.direction,p=s.loop&&(f.slidesPerView!==s.slidesPerView||v),h=s.loop;v&&i&&t.changeDirection(),Z(t.params,f);const E=t.params.enabled,S=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),b&&!E?t.disable():!b&&E&&t.enable(),t.currentBreakpoint=m,t.emit("_beforeBreakpoint",f),i&&(p?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!h&&S?(t.loopCreate(e),t.updateSlides()):h&&!S&&t.loopDestroy()),t.emit("breakpoint",f)}function Ni(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let s=!1;const r=j(),n=e==="window"?r.innerHeight:i.clientHeight,l=Object.keys(t).map(o=>{if(typeof o=="string"&&o.indexOf("@")===0){const a=parseFloat(o.substr(1));return{value:n*a,point:o}}return{value:o,point:o}});l.sort((o,a)=>parseInt(o.value,10)-parseInt(a.value,10));for(let o=0;o{typeof s=="object"?Object.keys(s).forEach(r=>{s[r]&&i.push(e+r)}):typeof s=="string"&&i.push(e+s)}),i}function Xi(){const t=this,{classNames:e,params:i,rtl:s,el:r,device:n}=t,l=Wi(["initialized",i.direction,{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:s},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&i.grid.fill==="column"},{android:n.android},{ios:n.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...l),r.classList.add(...e),t.emitContainerClasses()}function Hi(){const t=this,{el:e,classNames:i}=t;!e||typeof e=="string"||(e.classList.remove(...i),t.emitContainerClasses())}var Vi={addClasses:Xi,removeClasses:Hi};function Fi(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:s}=i;if(s){const r=t.slides.length-1,n=t.slidesGrid[r]+t.slidesSizesGrid[r]+s*2;t.isLocked=t.size>n}else t.isLocked=t.snapGrid.length===1;i.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),i.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var ji={checkOverflow:Fi},je={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function qi(t,e){return function(s){s===void 0&&(s={});const r=Object.keys(s)[0],n=s[r];if(typeof n!="object"||n===null){Z(e,s);return}if(t[r]===!0&&(t[r]={enabled:!0}),r==="navigation"&&t[r]&&t[r].enabled&&!t[r].prevEl&&!t[r].nextEl&&(t[r].auto=!0),["pagination","scrollbar"].indexOf(r)>=0&&t[r]&&t[r].enabled&&!t[r].el&&(t[r].auto=!0),!(r in t&&"enabled"in n)){Z(e,s);return}typeof t[r]=="object"&&!("enabled"in t[r])&&(t[r].enabled=!0),t[r]||(t[r]={enabled:!1}),Z(e,s)}}const Ye={eventsEmitter:Vt,update:ii,translate:oi,transition:fi,slide:Ei,loop:Ti,grabCursor:Pi,events:ki,breakpoints:Yi,checkOverflow:ji,classes:Vi},We={};let Ke=class te{constructor(){let e,i;for(var s=arguments.length,r=new Array(s),n=0;n1){const u=[];return l.querySelectorAll(i.el).forEach(f=>{const w=Z({},i,{el:f});u.push(new te(w))}),u}const o=this;o.__swiper__=!0,o.support=lt(),o.device=ot({userAgent:i.userAgent}),o.browser=Wt(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],i.modules&&Array.isArray(i.modules)&&o.modules.push(...i.modules);const a={};o.modules.forEach(u=>{u({params:i,swiper:o,extendParams:qi(i,a),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})});const m=Z({},je,a);return o.params=Z({},m,We,i),o.originalParams=Z({},o.params),o.passedParams=Z({},i),o.params&&o.params.on&&Object.keys(o.params.on).forEach(u=>{o.on(u,o.params.on[u])}),o.params&&o.params.onAny&&o.onAny(o.params.onAny),Object.assign(o,{enabled:o.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return o.params.direction==="horizontal"},isVertical(){return o.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:o.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.emit("_swiper"),o.params.init&&o.init(),o}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:i,params:s}=this,r=Q(i,`.${s.slideClass}, swiper-slide`),n=Ee(r[0]);return Ee(e)-n}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(i=>i.getAttribute("data-swiper-slide-index")*1===e))}recalcSlides(){const e=this,{slidesEl:i,params:s}=e;e.slides=Q(i,`.${s.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,i){const s=this;e=Math.min(Math.max(e,0),1);const r=s.minTranslate(),l=(s.maxTranslate()-r)*e+r;s.translateTo(l,typeof i>"u"?0:i),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=e.el.className.split(" ").filter(s=>s.indexOf("swiper")===0||s.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",i.join(" "))}getSlideClasses(e){const i=this;return i.destroyed?"":e.className.split(" ").filter(s=>s.indexOf("swiper-slide")===0||s.indexOf(i.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=[];e.slides.forEach(s=>{const r=e.getSlideClasses(s);i.push({slideEl:s,classNames:r}),e.emit("_slideClass",s,r)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e,i){e===void 0&&(e="current"),i===void 0&&(i=!1);const s=this,{params:r,slides:n,slidesGrid:l,slidesSizesGrid:o,size:a,activeIndex:m}=s;let u=1;if(typeof r.slidesPerView=="number")return r.slidesPerView;if(r.centeredSlides){let f=n[m]?Math.ceil(n[m].swiperSlideSize):0,w;for(let g=m+1;ga&&(w=!0));for(let g=m-1;g>=0;g-=1)n[g]&&!w&&(f+=n[g].swiperSlideSize,u+=1,f>a&&(w=!0))}else if(e==="current")for(let f=m+1;f=0;f-=1)l[m]-l[f]{l.complete&&Me(e,l)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function r(){const l=e.rtlTranslate?e.translate*-1:e.translate,o=Math.min(Math.max(l,e.maxTranslate()),e.minTranslate());e.setTranslate(o),e.updateActiveIndex(),e.updateSlidesClasses()}let n;if(s.freeMode&&s.freeMode.enabled&&!s.cssMode)r(),s.autoHeight&&e.updateAutoHeight();else{if((s.slidesPerView==="auto"||s.slidesPerView>1)&&e.isEnd&&!s.centeredSlides){const l=e.virtual&&s.virtual.enabled?e.virtual.slides:e.slides;n=e.slideTo(l.length-1,0,!1,!0)}else n=e.slideTo(e.activeIndex,0,!1,!0);n||r()}s.watchOverflow&&i!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,i){i===void 0&&(i=!0);const s=this,r=s.params.direction;return e||(e=r==="horizontal"?"vertical":"horizontal"),e===r||e!=="horizontal"&&e!=="vertical"||(s.el.classList.remove(`${s.params.containerModifierClass}${r}`),s.el.classList.add(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.forEach(n=>{e==="vertical"?n.style.width="":n.style.height=""}),s.emit("changeDirection"),i&&s.update()),s}changeLanguageDirection(e){const i=this;i.rtl&&e==="rtl"||!i.rtl&&e==="ltr"||(i.rtl=e==="rtl",i.rtlTranslate=i.params.direction==="horizontal"&&i.rtl,i.rtl?(i.el.classList.add(`${i.params.containerModifierClass}rtl`),i.el.dir="rtl"):(i.el.classList.remove(`${i.params.containerModifierClass}rtl`),i.el.dir="ltr"),i.update())}mount(e){const i=this;if(i.mounted)return!0;let s=e||i.params.el;if(typeof s=="string"&&(s=document.querySelector(s)),!s)return!1;s.swiper=i,s.parentNode&&s.parentNode.host&&s.parentNode.host.nodeName===i.params.swiperElementNodeName.toUpperCase()&&(i.isElement=!0);const r=()=>`.${(i.params.wrapperClass||"").trim().split(" ").join(".")}`;let l=s&&s.shadowRoot&&s.shadowRoot.querySelector?s.shadowRoot.querySelector(r()):Q(s,r())[0];return!l&&i.params.createElements&&(l=ue("div",i.params.wrapperClass),s.append(l),Q(s,`.${i.params.slideClass}`).forEach(o=>{l.append(o)})),Object.assign(i,{el:s,wrapperEl:l,slidesEl:i.isElement&&!s.parentNode.host.slideSlots?s.parentNode.host:l,hostEl:i.isElement?s.parentNode.host:s,mounted:!0,rtl:s.dir.toLowerCase()==="rtl"||le(s,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(s.dir.toLowerCase()==="rtl"||le(s,"direction")==="rtl"),wrongRTL:le(l,"display")==="-webkit-box"}),!0}init(e){const i=this;if(i.initialized||i.mount(e)===!1)return i;i.emit("beforeInit"),i.params.breakpoints&&i.setBreakpoint(),i.addClasses(),i.updateSize(),i.updateSlides(),i.params.watchOverflow&&i.checkOverflow(),i.params.grabCursor&&i.enabled&&i.setGrabCursor(),i.params.loop&&i.virtual&&i.params.virtual.enabled?i.slideTo(i.params.initialSlide+i.virtual.slidesBefore,0,i.params.runCallbacksOnInit,!1,!0):i.slideTo(i.params.initialSlide,0,i.params.runCallbacksOnInit,!1,!0),i.params.loop&&i.loopCreate(),i.attachEvents();const r=[...i.el.querySelectorAll('[loading="lazy"]')];return i.isElement&&r.push(...i.hostEl.querySelectorAll('[loading="lazy"]')),r.forEach(n=>{n.complete?Me(i,n):n.addEventListener("load",l=>{Me(i,l.target)})}),Fe(i),i.initialized=!0,Fe(i),i.emit("init"),i.emit("afterInit"),i}destroy(e,i){e===void 0&&(e=!0),i===void 0&&(i=!0);const s=this,{params:r,el:n,wrapperEl:l,slides:o}=s;return typeof s.params>"u"||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),r.loop&&s.loopDestroy(),i&&(s.removeClasses(),n&&typeof n!="string"&&n.removeAttribute("style"),l&&l.removeAttribute("style"),o&&o.length&&o.forEach(a=>{a.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass),a.removeAttribute("style"),a.removeAttribute("data-swiper-slide-index")})),s.emit("destroy"),Object.keys(s.eventsListeners).forEach(a=>{s.off(a)}),e!==!1&&(s.el&&typeof s.el!="string"&&(s.el.swiper=null),Mt(s)),s.destroyed=!0),null}static extendDefaults(e){Z(We,e)}static get extendedDefaults(){return We}static get defaults(){return je}static installModule(e){te.prototype.__modules__||(te.prototype.__modules__=[]);const i=te.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>te.installModule(i)),te):(te.installModule(e),te)}};Object.keys(Ye).forEach(t=>{Object.keys(Ye[t]).forEach(e=>{Ke.prototype[e]=Ye[t][e]})});Ke.use([Xt,Ht]);const ut=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function de(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function ce(t,e){const i=["__proto__","constructor","prototype"];Object.keys(e).filter(s=>i.indexOf(s)<0).forEach(s=>{typeof t[s]>"u"?t[s]=e[s]:de(e[s])&&de(t[s])&&Object.keys(e[s]).length>0?e[s].__swiper__?t[s]=e[s]:ce(t[s],e[s]):t[s]=e[s]})}function ft(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function pt(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function mt(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function gt(t){t===void 0&&(t="");const e=t.split(" ").map(s=>s.trim()).filter(s=>!!s),i=[];return e.forEach(s=>{i.indexOf(s)<0&&i.push(s)}),i.join(" ")}function Ui(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function Ki(t){let{swiper:e,slides:i,passedParams:s,changedParams:r,nextEl:n,prevEl:l,scrollbarEl:o,paginationEl:a}=t;const m=r.filter(z=>z!=="children"&&z!=="direction"&&z!=="wrapperClass"),{params:u,pagination:f,navigation:w,scrollbar:g,virtual:d,thumbs:c}=e;let b,v,p,h,E,S,D,k;r.includes("thumbs")&&s.thumbs&&s.thumbs.swiper&&!s.thumbs.swiper.destroyed&&u.thumbs&&(!u.thumbs.swiper||u.thumbs.swiper.destroyed)&&(b=!0),r.includes("controller")&&s.controller&&s.controller.control&&u.controller&&!u.controller.control&&(v=!0),r.includes("pagination")&&s.pagination&&(s.pagination.el||a)&&(u.pagination||u.pagination===!1)&&f&&!f.el&&(p=!0),r.includes("scrollbar")&&s.scrollbar&&(s.scrollbar.el||o)&&(u.scrollbar||u.scrollbar===!1)&&g&&!g.el&&(h=!0),r.includes("navigation")&&s.navigation&&(s.navigation.prevEl||l)&&(s.navigation.nextEl||n)&&(u.navigation||u.navigation===!1)&&w&&!w.prevEl&&!w.nextEl&&(E=!0);const B=z=>{e[z]&&(e[z].destroy(),z==="navigation"?(e.isElement&&(e[z].prevEl.remove(),e[z].nextEl.remove()),u[z].prevEl=void 0,u[z].nextEl=void 0,e[z].prevEl=void 0,e[z].nextEl=void 0):(e.isElement&&e[z].el.remove(),u[z].el=void 0,e[z].el=void 0))};r.includes("loop")&&e.isElement&&(u.loop&&!s.loop?S=!0:!u.loop&&s.loop?D=!0:k=!0),m.forEach(z=>{if(de(u[z])&&de(s[z]))Object.assign(u[z],s[z]),(z==="navigation"||z==="pagination"||z==="scrollbar")&&"enabled"in s[z]&&!s[z].enabled&&B(z);else{const M=s[z];(M===!0||M===!1)&&(z==="navigation"||z==="pagination"||z==="scrollbar")?M===!1&&B(z):u[z]=s[z]}}),m.includes("controller")&&!v&&e.controller&&e.controller.control&&u.controller&&u.controller.control&&(e.controller.control=u.controller.control),r.includes("children")&&i&&d&&u.virtual.enabled?(d.slides=i,d.update(!0)):r.includes("virtual")&&d&&u.virtual.enabled&&(i&&(d.slides=i),d.update(!0)),r.includes("children")&&i&&u.loop&&(k=!0),b&&c.init()&&c.update(!0),v&&(e.controller.control=u.controller.control),p&&(e.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-pagination"),a.part.add("pagination"),e.el.appendChild(a)),a&&(u.pagination.el=a),f.init(),f.render(),f.update()),h&&(e.isElement&&(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-scrollbar"),o.part.add("scrollbar"),e.el.appendChild(o)),o&&(u.scrollbar.el=o),g.init(),g.updateSize(),g.setTranslate()),E&&(e.isElement&&((!n||typeof n=="string")&&(n=document.createElement("div"),n.classList.add("swiper-button-next"),n.innerHTML=e.hostEl.constructor.nextButtonSvg,n.part.add("button-next"),e.el.appendChild(n)),(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-button-prev"),l.innerHTML=e.hostEl.constructor.prevButtonSvg,l.part.add("button-prev"),e.el.appendChild(l))),n&&(u.navigation.nextEl=n),l&&(u.navigation.prevEl=l),w.init(),w.update()),r.includes("allowSlideNext")&&(e.allowSlideNext=s.allowSlideNext),r.includes("allowSlidePrev")&&(e.allowSlidePrev=s.allowSlidePrev),r.includes("direction")&&e.changeDirection(s.direction,!1),(S||k)&&e.loopDestroy(),(D||k)&&e.loopCreate(),e.update()}function Zi(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},s={},r={};ce(i,je),i._emitClasses=!0,i.init=!1;const n={},l=ut.map(a=>a.replace(/_/,"")),o=Object.assign({},t);return Object.keys(o).forEach(a=>{typeof t[a]>"u"||(l.indexOf(a)>=0?de(t[a])?(i[a]={},r[a]={},ce(i[a],t[a]),ce(r[a],t[a])):(i[a]=t[a],r[a]=t[a]):a.search(/on[A-Z]/)===0&&typeof t[a]=="function"?e?s[`${a[2].toLowerCase()}${a.substr(3)}`]=t[a]:i.on[`${a[2].toLowerCase()}${a.substr(3)}`]=t[a]:n[a]=t[a])}),["navigation","pagination","scrollbar"].forEach(a=>{i[a]===!0&&(i[a]={}),i[a]===!1&&delete i[a]}),{params:i,passedParams:r,rest:n,events:s}}function Qi(t,e){let{el:i,nextEl:s,prevEl:r,paginationEl:n,scrollbarEl:l,swiper:o}=t;ft(e)&&s&&r&&(o.params.navigation.nextEl=s,o.originalParams.navigation.nextEl=s,o.params.navigation.prevEl=r,o.originalParams.navigation.prevEl=r),pt(e)&&n&&(o.params.pagination.el=n,o.originalParams.pagination.el=n),mt(e)&&l&&(o.params.scrollbar.el=l,o.originalParams.scrollbar.el=l),o.init(i)}function Ji(t,e,i,s,r){const n=[];if(!e)return n;const l=a=>{n.indexOf(a)<0&&n.push(a)};if(i&&s){const a=s.map(r),m=i.map(r);a.join("")!==m.join("")&&l("children"),s.length!==i.length&&l("children")}return ut.filter(a=>a[0]==="_").map(a=>a.replace(/_/,"")).forEach(a=>{if(a in t&&a in e)if(de(t[a])&&de(e[a])){const m=Object.keys(t[a]),u=Object.keys(e[a]);m.length!==u.length?l(a):(m.forEach(f=>{t[a][f]!==e[a][f]&&l(a)}),u.forEach(f=>{t[a][f]!==e[a][f]&&l(a)}))}else t[a]!==e[a]&&l(a)}),n}const es=t=>{!t||t.destroyed||!t.params.virtual||t.params.virtual&&!t.params.virtual.enabled||(t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.parallax&&t.params.parallax&&t.params.parallax.enabled&&t.parallax.setTranslate())};function Ie(){return Ie=Object.assign?Object.assign.bind():function(t){for(var e=1;e{ht(i)?e.push(i):i.props&&i.props.children&&vt(i.props.children).forEach(s=>e.push(s))}),e}function ts(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return H.Children.toArray(t).forEach(s=>{if(ht(s))e.push(s);else if(s.props&&s.props.slot&&i[s.props.slot])i[s.props.slot].push(s);else if(s.props&&s.props.children){const r=vt(s.props.children);r.length>0?r.forEach(n=>e.push(n)):i["container-end"].push(s)}else i["container-end"].push(s)}),{slides:e,slots:i}}function is(t,e,i){if(!i)return null;const s=u=>{let f=u;return u<0?f=e.length+u:f>=e.length&&(f=f-e.length),f},r=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:n,to:l}=i,o=t.params.loop?-e.length:0,a=t.params.loop?e.length*2:e.length,m=[];for(let u=o;u=n&&u<=l&&m.push(e[s(u)]);return m.map((u,f)=>H.cloneElement(u,{swiper:t,style:r,key:u.props.virtualIndex||u.key||`slide-${f}`}))}function be(t,e){return typeof window>"u"?W.useEffect(t,e):W.useLayoutEffect(t,e)}const st=W.createContext(null),ss=W.createContext(null),wt=W.forwardRef(function(t,e){let{className:i,tag:s="div",wrapperTag:r="div",children:n,onSwiper:l,...o}=t===void 0?{}:t,a=!1;const[m,u]=W.useState("swiper"),[f,w]=W.useState(null),[g,d]=W.useState(!1),c=W.useRef(!1),b=W.useRef(null),v=W.useRef(null),p=W.useRef(null),h=W.useRef(null),E=W.useRef(null),S=W.useRef(null),D=W.useRef(null),k=W.useRef(null),{params:B,passedParams:z,rest:M,events:O}=Zi(o),{slides:C,slots:T}=ts(n),L=()=>{d(!g)};Object.assign(B.on,{_containerClasses(I,G){u(G)}});const A=()=>{Object.assign(B.on,O),a=!0;const I={...B};if(delete I.wrapperClass,v.current=new Ke(I),v.current.virtual&&v.current.params.virtual.enabled){v.current.virtual.slides=C;const G={cache:!1,slides:C,renderExternal:w,renderExternalUpdate:!1};ce(v.current.params.virtual,G),ce(v.current.originalParams.virtual,G)}};b.current||A(),v.current&&v.current.on("_beforeBreakpoint",L);const R=()=>{a||!O||!v.current||Object.keys(O).forEach(I=>{v.current.on(I,O[I])})},y=()=>{!O||!v.current||Object.keys(O).forEach(I=>{v.current.off(I,O[I])})};W.useEffect(()=>()=>{v.current&&v.current.off("_beforeBreakpoint",L)}),W.useEffect(()=>{!c.current&&v.current&&(v.current.emitSlidesClasses(),c.current=!0)}),be(()=>{if(e&&(e.current=b.current),!!b.current)return v.current.destroyed&&A(),Qi({el:b.current,nextEl:E.current,prevEl:S.current,paginationEl:D.current,scrollbarEl:k.current,swiper:v.current},B),l&&!v.current.destroyed&&l(v.current),()=>{v.current&&!v.current.destroyed&&v.current.destroy(!0,!1)}},[]),be(()=>{R();const I=Ji(z,p.current,C,h.current,G=>G.key);return p.current=z,h.current=C,I.length&&v.current&&!v.current.destroyed&&Ki({swiper:v.current,slides:C,passedParams:z,changedParams:I,nextEl:E.current,prevEl:S.current,scrollbarEl:k.current,paginationEl:D.current}),()=>{y()}}),be(()=>{es(v.current)},[f]);function x(){return B.virtual?is(v.current,C,f):C.map((I,G)=>H.cloneElement(I,{swiper:v.current,swiperSlideIndex:G}))}return H.createElement(s,Ie({ref:b,className:gt(`${m}${i?` ${i}`:""}`)},M),H.createElement(ss.Provider,{value:v.current},T["container-start"],H.createElement(r,{className:Ui(B.wrapperClass)},T["wrapper-start"],x(),T["wrapper-end"]),ft(B)&&H.createElement(H.Fragment,null,H.createElement("div",{ref:S,className:"swiper-button-prev"}),H.createElement("div",{ref:E,className:"swiper-button-next"})),mt(B)&&H.createElement("div",{ref:k,className:"swiper-scrollbar"}),pt(B)&&H.createElement("div",{ref:D,className:"swiper-pagination"}),T["container-end"]))});wt.displayName="Swiper";const bt=W.forwardRef(function(t,e){let{tag:i="div",children:s,className:r="",swiper:n,zoom:l,lazy:o,virtualIndex:a,swiperSlideIndex:m,...u}=t===void 0?{}:t;const f=W.useRef(null),[w,g]=W.useState("swiper-slide"),[d,c]=W.useState(!1);function b(E,S,D){S===f.current&&g(D)}be(()=>{if(typeof m<"u"&&(f.current.swiperSlideIndex=m),e&&(e.current=f.current),!(!f.current||!n)){if(n.destroyed){w!=="swiper-slide"&&g("swiper-slide");return}return n.on("_slideClass",b),()=>{n&&n.off("_slideClass",b)}}}),be(()=>{n&&f.current&&!n.destroyed&&g(n.getSlideClasses(f.current))},[n]);const v={isActive:w.indexOf("swiper-slide-active")>=0,isVisible:w.indexOf("swiper-slide-visible")>=0,isPrev:w.indexOf("swiper-slide-prev")>=0,isNext:w.indexOf("swiper-slide-next")>=0},p=()=>typeof s=="function"?s(v):s,h=()=>{c(!0)};return H.createElement(i,Ie({ref:f,className:gt(`${w}${r?` ${r}`:""}`),"data-swiper-slide-index":a,onLoad:h},u),l&&H.createElement(st.Provider,{value:v},H.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof l=="number"?l:void 0},p(),o&&!d&&H.createElement("div",{className:"swiper-lazy-preloader"}))),!l&&H.createElement(st.Provider,{value:v},p(),o&&!d&&H.createElement("div",{className:"swiper-lazy-preloader"})))});bt.displayName="SwiperSlide";const ns=""+new URL("work-7cej71TV.jpg",import.meta.url).href,rs=""+new URL("work2-B_Oe9ku2.jpg",import.meta.url).href,as=""+new URL("work3-D0M2vqR2.jpg",import.meta.url).href,ls=""+new URL("work4-B-R74_Ks.jpg",import.meta.url).href,os=""+new URL("work5-BxDe7Bee.jpg",import.meta.url).href,ve={width:"100%",height:"100%",alt:"Portfolio image",dataSwiperZoom:"3",className:"swiper-zoom-container"},nt=[{src:ns,id:"presentation_1",isZoomable:!0,...ve},{src:rs,id:"presentation_2",isZoomable:!0,...ve},{src:as,id:"presentation_3",isZoomable:!0,...ve},{src:ls,id:"presentation_4",isZoomable:!0,...ve},{src:os,id:"presentation_5",isZoomable:!0,...ve}],ds=({className:t})=>(console.log(nt[2].src),X.jsx("div",{className:Et(t,"h-full w-[300px]"),"data-testid":"slider-card",children:X.jsx(wt,{modules:[Dt,$t,_t,Rt,Bt,kt],spaceBetween:50,slidesPerView:1,zoom:!0,navigation:!0,centeredSlides:!0,effect:"cube",pagination:{clickable:!0},autoplay:{delay:4500,disableOnInteraction:!0},loop:!1,keyboard:{enabled:!0},children:nt.map(({isZoomable:e,id:i,src:s,alt:r})=>X.jsx(bt,{id:i,zoom:e,className:"bg-white text-white",children:X.jsx("img",{src:s,width:"100%",height:"100%",alt:r||"Image not found!"})},i))})})),us=()=>{const[t,e]=yt(St),{projectId:i}=xt();return W.useEffect(()=>{if(!t){const s=Tt.find(r=>r.id===i);s&&e(s)}},[t]),X.jsxs("div",{className:"flex h-full w-full flex-col",children:[X.jsx("p",{className:"font-general-regular text-secondary-dark dark:text-secondary-light mt-2 text-start text-3xl font-semibold",children:t==null?void 0:t.client}),X.jsxs("div",{className:"mt-14 block gap-0 sm:flex sm:gap-10",children:[X.jsxs("div",{className:"w-full text-left sm:w-1/3",children:[X.jsxs("div",{className:"mb-7",children:[X.jsx("p",{className:"font-general-regular text-ternary-dark dark:text-ternary-light mb-2 text-2xl font-semibold",children:"Description"}),X.jsx("p",{className:"font-general-regular text-primary-dark dark:text-ternary-light",children:t==null?void 0:t.headline})]}),t!=null&&t.referenceWebsite?X.jsx("div",{className:"mb-7",children:X.jsxs("p",{className:"font-general-regular text-ternary-dark dark:text-ternary-light",children:[X.jsx("span",{className:"font-semibold",children:"Website: "}),X.jsx("a",{href:t.referenceWebsite,className:"cursor-pointer duration-300 hover:text-indigo-500 hover:underline dark:hover:text-indigo-400","aria-label":"Project Website",children:t.referenceWebsite})]})}):null]}),X.jsxs("div",{className:"mt-10 w-full flex-col gap-4 text-left sm:mt-0 sm:flex sm:w-2/3",children:[X.jsx("div",{className:"flex h-fit w-full justify-center bg-transparent",children:X.jsx(ds,{})}),X.jsx("div",{className:"w-full",children:t==null?void 0:t.description})]})]})]})};export{us as default}; diff --git a/assets/index-CS7f0OSm.js b/assets/index-CRzS9BvD.js similarity index 80% rename from assets/index-CS7f0OSm.js rename to assets/index-CRzS9BvD.js index 6a6fa74..677e9bf 100644 --- a/assets/index-CS7f0OSm.js +++ b/assets/index-CRzS9BvD.js @@ -1,5 +1,5 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Project-4uMCuznA.js","./Project-D18aXzGz.css"])))=>i.map(i=>d[i]); -function Rw(e,t){for(var n=0;nr[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(a){if(a.ep)return;a.ep=!0;const i=n(a);fetch(a.href,i)}})();function Dd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Wp={exports:{}},L0={},qp={exports:{}},ze={};/** +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Project-CyvGTwAq.js","./Project-D18aXzGz.css"])))=>i.map(i=>d[i]); +function Rw(e,t){for(var n=0;nr[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(a){if(a.ep)return;a.ep=!0;const i=n(a);fetch(a.href,i)}})();function Dd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var qp={exports:{}},L0={},Gp={exports:{}},ze={};/** * @license React * react.production.min.js * @@ -7,7 +7,7 @@ function Rw(e,t){for(var n=0;n>>1,L=k[W];if(0>>1;Wa(K,F))Ua(X,K)?(k[W]=X,k[U]=F,W=U):(k[W]=K,k[D]=F,W=D);else if(Ua(X,F))k[W]=X,k[U]=F,W=U;else break e}}return q}function a(k,q){var F=k.sortIndex-q.sortIndex;return F!==0?F:k.id-q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var l=[],u=[],c=1,d=null,f=3,h=!1,g=!1,w=!1,M=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,v=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function x(k){for(var q=n(u);q!==null;){if(q.callback===null)r(u);else if(q.startTime<=k)r(u),q.sortIndex=q.expirationTime,t(l,q);else break;q=n(u)}}function b(k){if(w=!1,x(k),!g)if(n(l)!==null)g=!0,j(S);else{var q=n(u);q!==null&&z(b,q.startTime-k)}}function S(k,q){g=!1,w&&(w=!1,y(T),T=-1),h=!0;var F=f;try{for(x(q),d=n(l);d!==null&&(!(d.expirationTime>q)||k&&!I());){var W=d.callback;if(typeof W=="function"){d.callback=null,f=d.priorityLevel;var L=W(d.expirationTime<=q);q=e.unstable_now(),typeof L=="function"?d.callback=L:d===n(l)&&r(l),x(q)}else r(l);d=n(l)}if(d!==null)var N=!0;else{var D=n(u);D!==null&&z(b,D.startTime-q),N=!1}return N}finally{d=null,f=F,h=!1}}var E=!1,C=null,T=-1,A=5,_=-1;function I(){return!(e.unstable_now()-_k||125W?(k.sortIndex=F,t(u,k),n(l)===null&&k===n(u)&&(w?(y(T),T=-1):w=!0,z(b,F-W))):(k.sortIndex=L,t(l,k),g||h||(g=!0,j(S))),k},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(k){var q=f;return function(){var F=f;f=q;try{return k.apply(this,arguments)}finally{f=F}}}})(i6);a6.exports=i6;var Zw=a6.exports;/** + */(function(e){function t(k,q){var F=k.length;k.push(q);e:for(;0>>1,L=k[W];if(0>>1;Wa(K,F))Ua(X,K)?(k[W]=X,k[U]=F,W=U):(k[W]=K,k[D]=F,W=D);else if(Ua(X,F))k[W]=X,k[U]=F,W=U;else break e}}return q}function a(k,q){var F=k.sortIndex-q.sortIndex;return F!==0?F:k.id-q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var l=[],u=[],c=1,d=null,f=3,h=!1,g=!1,w=!1,M=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,v=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function x(k){for(var q=n(u);q!==null;){if(q.callback===null)r(u);else if(q.startTime<=k)r(u),q.sortIndex=q.expirationTime,t(l,q);else break;q=n(u)}}function b(k){if(w=!1,x(k),!g)if(n(l)!==null)g=!0,j(S);else{var q=n(u);q!==null&&z(b,q.startTime-k)}}function S(k,q){g=!1,w&&(w=!1,y(T),T=-1),h=!0;var F=f;try{for(x(q),d=n(l);d!==null&&(!(d.expirationTime>q)||k&&!I());){var W=d.callback;if(typeof W=="function"){d.callback=null,f=d.priorityLevel;var L=W(d.expirationTime<=q);q=e.unstable_now(),typeof L=="function"?d.callback=L:d===n(l)&&r(l),x(q)}else r(l);d=n(l)}if(d!==null)var N=!0;else{var D=n(u);D!==null&&z(b,D.startTime-q),N=!1}return N}finally{d=null,f=F,h=!1}}var E=!1,C=null,T=-1,A=5,_=-1;function I(){return!(e.unstable_now()-_k||125W?(k.sortIndex=F,t(u,k),n(l)===null&&k===n(u)&&(w?(y(T),T=-1):w=!0,z(b,F-W))):(k.sortIndex=L,t(l,k),g||h||(g=!0,j(S))),k},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(k){var q=f;return function(){var F=f;f=q;try{return k.apply(this,arguments)}finally{f=F}}}})(o6);i6.exports=o6;var Zw=i6.exports;/** * @license React * react-dom.production.min.js * @@ -31,14 +31,14 @@ function Rw(e,t){for(var n=0;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),t2=Object.prototype.hasOwnProperty,ex=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,A5={},R5={};function tx(e){return t2.call(R5,e)?!0:t2.call(A5,e)?!1:ex.test(e)?R5[e]=!0:(A5[e]=!0,!1)}function nx(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function rx(e,t,n,r){if(t===null||typeof t>"u"||nx(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ut(e,t,n,r,a,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var kt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){kt[e]=new Ut(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];kt[t]=new Ut(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){kt[e]=new Ut(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){kt[e]=new Ut(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){kt[e]=new Ut(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){kt[e]=new Ut(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){kt[e]=new Ut(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){kt[e]=new Ut(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){kt[e]=new Ut(e,5,!1,e.toLowerCase(),null,!1,!1)});var Fd=/[\-:]([a-z])/g;function Ud(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Fd,Ud);kt[t]=new Ut(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Fd,Ud);kt[t]=new Ut(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Fd,Ud);kt[t]=new Ut(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){kt[e]=new Ut(e,1,!1,e.toLowerCase(),null,!1,!1)});kt.xlinkHref=new Ut("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){kt[e]=new Ut(e,1,!1,e.toLowerCase(),null,!0,!0)});function Wd(e,t,n,r){var a=kt.hasOwnProperty(t)?kt[t]:null;(a!==null?a.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),t2=Object.prototype.hasOwnProperty,ex=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,R5={},k5={};function tx(e){return t2.call(k5,e)?!0:t2.call(R5,e)?!1:ex.test(e)?k5[e]=!0:(R5[e]=!0,!1)}function nx(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function rx(e,t,n,r){if(t===null||typeof t>"u"||nx(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ut(e,t,n,r,a,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var kt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){kt[e]=new Ut(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];kt[t]=new Ut(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){kt[e]=new Ut(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){kt[e]=new Ut(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){kt[e]=new Ut(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){kt[e]=new Ut(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){kt[e]=new Ut(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){kt[e]=new Ut(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){kt[e]=new Ut(e,5,!1,e.toLowerCase(),null,!1,!1)});var Fd=/[\-:]([a-z])/g;function Ud(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Fd,Ud);kt[t]=new Ut(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Fd,Ud);kt[t]=new Ut(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Fd,Ud);kt[t]=new Ut(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){kt[e]=new Ut(e,1,!1,e.toLowerCase(),null,!1,!1)});kt.xlinkHref=new Ut("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){kt[e]=new Ut(e,1,!1,e.toLowerCase(),null,!0,!0)});function Wd(e,t,n,r){var a=kt.hasOwnProperty(t)?kt[t]:null;(a!==null?a.type!==0:r||!(2s||a[o]!==i[s]){var l=` -`+a[o].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=o&&0<=s);break}}}finally{Fu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?j1(e):""}function ax(e){switch(e.tag){case 5:return j1(e.type);case 16:return j1("Lazy");case 13:return j1("Suspense");case 19:return j1("SuspenseList");case 0:case 2:case 15:return e=Uu(e.type,!1),e;case 11:return e=Uu(e.type.render,!1),e;case 1:return e=Uu(e.type,!0),e;default:return""}}function i2(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case di:return"Fragment";case ci:return"Portal";case n2:return"Profiler";case qd:return"StrictMode";case r2:return"Suspense";case a2:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case l6:return(e.displayName||"Context")+".Consumer";case s6:return(e._context.displayName||"Context")+".Provider";case Gd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Kd:return t=e.displayName||null,t!==null?t:i2(e.type)||"Memo";case Nr:t=e._payload,e=e._init;try{return i2(e(t))}catch{}}return null}function ix(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return i2(t);case 8:return t===qd?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Xr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function c6(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ox(e){var t=c6(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var a=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Es(e){e._valueTracker||(e._valueTracker=ox(e))}function d6(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=c6(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ll(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function o2(e,t){var n=t.checked;return st({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function N5(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Xr(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function f6(e,t){t=t.checked,t!=null&&Wd(e,"checked",t,!1)}function s2(e,t){f6(e,t);var n=Xr(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?l2(e,t.type,n):t.hasOwnProperty("defaultValue")&&l2(e,t.type,Xr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function z5(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function l2(e,t,n){(t!=="number"||Ll(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var O1=Array.isArray;function Ai(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a"+t.valueOf().toString()+"",t=Cs.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function mo(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var K1={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},sx=["Webkit","ms","Moz","O"];Object.keys(K1).forEach(function(e){sx.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),K1[t]=K1[e]})});function g6(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||K1.hasOwnProperty(e)&&K1[e]?(""+t).trim():t+"px"}function v6(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,a=g6(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}var lx=st({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function d2(e,t){if(t){if(lx[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(J(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(J(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(J(61))}if(t.style!=null&&typeof t.style!="object")throw Error(J(62))}}function f2(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var h2=null;function Xd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var m2=null,Ri=null,ki=null;function I5(e){if(e=Xo(e)){if(typeof m2!="function")throw Error(J(280));var t=e.stateNode;t&&(t=N0(t),m2(e.stateNode,e.type,t))}}function y6(e){Ri?ki?ki.push(e):ki=[e]:Ri=e}function w6(){if(Ri){var e=Ri,t=ki;if(ki=Ri=null,I5(e),t)for(e=0;e>>=0,e===0?32:31-(wx(e)/xx|0)|0}var Ts=64,Ls=4194304;function B1(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function kl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,a=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~a;s!==0?r=B1(s):(i&=o,i!==0&&(r=B1(i)))}else o=n&~a,o!==0?r=B1(o):i!==0&&(r=B1(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&a)&&(a=r&-r,i=t&-t,a>=i||a===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Go(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-jn(t),e[t]=n}function Ex(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Y1),W5=" ",q5=!1;function j6(e,t){switch(e){case"keyup":return Zx.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function O6(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var fi=!1;function eM(e,t){switch(e){case"compositionend":return O6(t);case"keypress":return t.which!==32?null:(q5=!0,W5);case"textInput":return e=t.data,e===W5&&q5?null:e;default:return null}}function tM(e,t){if(fi)return e==="compositionend"||!rf&&j6(e,t)?(e=H6(),sl=ef=Dr=null,fi=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Y5(n)}}function U6(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?U6(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function W6(){for(var e=window,t=Ll();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ll(e.document)}return t}function af(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function cM(e){var t=W6(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&U6(n.ownerDocument.documentElement,n)){if(r!==null&&af(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var a=n.textContent.length,i=Math.min(r.start,a);r=r.end===void 0?i:Math.min(r.end,a),!e.extend&&i>r&&(a=r,r=i,i=a),a=Q5(n,i);var o=Q5(n,r);a&&o&&(e.rangeCount!==1||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(a.node,a.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,hi=null,x2=null,Z1=null,M2=!1;function Z5(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;M2||hi==null||hi!==Ll(r)||(r=hi,"selectionStart"in r&&af(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Z1&&xo(Z1,r)||(Z1=r,r=Pl(x2,"onSelect"),0gi||(e.current=L2[gi],L2[gi]=null,gi--)}function Ge(e,t){gi++,L2[gi]=e.current,e.current=t}var Yr={},Dt=oa(Yr),Zt=oa(!1),Ha=Yr;function ji(e,t){var n=e.type.contextTypes;if(!n)return Yr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a={},i;for(i in n)a[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Jt(e){return e=e.childContextTypes,e!=null}function Il(){Qe(Zt),Qe(Dt)}function i3(e,t,n){if(Dt.current!==Yr)throw Error(J(168));Ge(Dt,t),Ge(Zt,n)}function e7(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var a in r)if(!(a in t))throw Error(J(108,ix(e)||"Unknown",a));return st({},n,r)}function Hl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Yr,Ha=Dt.current,Ge(Dt,e),Ge(Zt,Zt.current),!0}function o3(e,t,n){var r=e.stateNode;if(!r)throw Error(J(169));n?(e=e7(e,t,Ha),r.__reactInternalMemoizedMergedChildContext=e,Qe(Zt),Qe(Dt),Ge(Dt,e)):Qe(Zt),Ge(Zt,n)}var sr=null,z0=!1,ac=!1;function t7(e){sr===null?sr=[e]:sr.push(e)}function bM(e){z0=!0,t7(e)}function sa(){if(!ac&&sr!==null){ac=!0;var e=0,t=Fe;try{var n=sr;for(Fe=1;e>=o,a-=o,lr=1<<32-jn(t)+a|n<T?(A=C,C=null):A=C.sibling;var _=f(y,C,x[T],b);if(_===null){C===null&&(C=A);break}e&&C&&_.alternate===null&&t(y,C),v=i(_,v,T),E===null?S=_:E.sibling=_,E=_,C=A}if(T===x.length)return n(y,C),tt&&wa(y,T),S;if(C===null){for(;TT?(A=C,C=null):A=C.sibling;var I=f(y,C,_.value,b);if(I===null){C===null&&(C=A);break}e&&C&&I.alternate===null&&t(y,C),v=i(I,v,T),E===null?S=I:E.sibling=I,E=I,C=A}if(_.done)return n(y,C),tt&&wa(y,T),S;if(C===null){for(;!_.done;T++,_=x.next())_=d(y,_.value,b),_!==null&&(v=i(_,v,T),E===null?S=_:E.sibling=_,E=_);return tt&&wa(y,T),S}for(C=r(y,C);!_.done;T++,_=x.next())_=h(C,y,T,_.value,b),_!==null&&(e&&_.alternate!==null&&C.delete(_.key===null?T:_.key),v=i(_,v,T),E===null?S=_:E.sibling=_,E=_);return e&&C.forEach(function(R){return t(y,R)}),tt&&wa(y,T),S}function M(y,v,x,b){if(typeof x=="object"&&x!==null&&x.type===di&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case Ss:e:{for(var S=x.key,E=v;E!==null;){if(E.key===S){if(S=x.type,S===di){if(E.tag===7){n(y,E.sibling),v=a(E,x.props.children),v.return=y,y=v;break e}}else if(E.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Nr&&u3(S)===E.type){n(y,E.sibling),v=a(E,x.props),v.ref=C1(y,E,x),v.return=y,y=v;break e}n(y,E);break}else t(y,E);E=E.sibling}x.type===di?(v=za(x.props.children,y.mode,b,x.key),v.return=y,y=v):(b=pl(x.type,x.key,x.props,null,y.mode,b),b.ref=C1(y,v,x),b.return=y,y=b)}return o(y);case ci:e:{for(E=x.key;v!==null;){if(v.key===E)if(v.tag===4&&v.stateNode.containerInfo===x.containerInfo&&v.stateNode.implementation===x.implementation){n(y,v.sibling),v=a(v,x.children||[]),v.return=y,y=v;break e}else{n(y,v);break}else t(y,v);v=v.sibling}v=fc(x,y.mode,b),v.return=y,y=v}return o(y);case Nr:return E=x._init,M(y,v,E(x._payload),b)}if(O1(x))return g(y,v,x,b);if(x1(x))return w(y,v,x,b);Ps(y,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,v!==null&&v.tag===6?(n(y,v.sibling),v=a(v,x),v.return=y,y=v):(n(y,v),v=dc(x,y.mode,b),v.return=y,y=v),o(y)):n(y,v)}return M}var Bi=i7(!0),o7=i7(!1),Ol=oa(null),Bl=null,wi=null,uf=null;function cf(){uf=wi=Bl=null}function df(e){var t=Ol.current;Qe(Ol),e._currentValue=t}function R2(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function zi(e,t){Bl=e,uf=wi=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Yt=!0),e.firstContext=null)}function Ln(e){var t=e._currentValue;if(uf!==e)if(e={context:e,memoizedValue:t,next:null},wi===null){if(Bl===null)throw Error(J(308));wi=e,Bl.dependencies={lanes:0,firstContext:e}}else wi=wi.next=e;return t}var _a=null;function ff(e){_a===null?_a=[e]:_a.push(e)}function s7(e,t,n,r){var a=t.interleaved;return a===null?(n.next=n,ff(t)):(n.next=a.next,a.next=n),t.interleaved=n,gr(e,r)}function gr(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var zr=!1;function hf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function l7(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function cr(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Wr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,je&2){var a=r.pending;return a===null?t.next=t:(t.next=a.next,a.next=t),r.pending=t,gr(e,n)}return a=r.interleaved,a===null?(t.next=t,ff(r)):(t.next=a.next,a.next=t),r.interleaved=t,gr(e,n)}function ul(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Qd(e,n)}}function c3(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var a=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?a=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?a=i=t:i=i.next=t}else a=i=t;n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function $l(e,t,n,r){var a=e.updateQueue;zr=!1;var i=a.firstBaseUpdate,o=a.lastBaseUpdate,s=a.shared.pending;if(s!==null){a.shared.pending=null;var l=s,u=l.next;l.next=null,o===null?i=u:o.next=u,o=l;var c=e.alternate;c!==null&&(c=c.updateQueue,s=c.lastBaseUpdate,s!==o&&(s===null?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(i!==null){var d=a.baseState;o=0,c=u=l=null,s=i;do{var f=s.lane,h=s.eventTime;if((r&f)===f){c!==null&&(c=c.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var g=e,w=s;switch(f=t,h=n,w.tag){case 1:if(g=w.payload,typeof g=="function"){d=g.call(h,d,f);break e}d=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=w.payload,f=typeof g=="function"?g.call(h,d,f):g,f==null)break e;d=st({},d,f);break e;case 2:zr=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,f=a.effects,f===null?a.effects=[s]:f.push(s))}else h={eventTime:h,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},c===null?(u=c=h,l=d):c=c.next=h,o|=f;if(s=s.next,s===null){if(s=a.shared.pending,s===null)break;f=s,s=f.next,f.next=null,a.lastBaseUpdate=f,a.shared.pending=null}}while(!0);if(c===null&&(l=d),a.baseState=l,a.firstBaseUpdate=u,a.lastBaseUpdate=c,t=a.shared.interleaved,t!==null){a=t;do o|=a.lane,a=a.next;while(a!==t)}else i===null&&(a.shared.lanes=0);Oa|=o,e.lanes=o,e.memoizedState=d}}function d3(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=oc.transition;oc.transition={};try{e(!1),t()}finally{Fe=n,oc.transition=r}}function C7(){return _n().memoizedState}function TM(e,t,n){var r=Gr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},T7(e))L7(t,n);else if(n=s7(e,t,n,r),n!==null){var a=$t();On(n,e,r,a),_7(n,t,r)}}function LM(e,t,n){var r=Gr(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(T7(e))L7(t,a);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,s=i(o,n);if(a.hasEagerState=!0,a.eagerState=s,Bn(s,o)){var l=t.interleaved;l===null?(a.next=a,ff(t)):(a.next=l.next,l.next=a),t.interleaved=a;return}}catch{}finally{}n=s7(e,t,a,r),n!==null&&(a=$t(),On(n,e,r,a),_7(n,t,r))}}function T7(e){var t=e.alternate;return e===ot||t!==null&&t===ot}function L7(e,t){J1=Ul=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function _7(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Qd(e,n)}}var Wl={readContext:Ln,useCallback:Nt,useContext:Nt,useEffect:Nt,useImperativeHandle:Nt,useInsertionEffect:Nt,useLayoutEffect:Nt,useMemo:Nt,useReducer:Nt,useRef:Nt,useState:Nt,useDebugValue:Nt,useDeferredValue:Nt,useTransition:Nt,useMutableSource:Nt,useSyncExternalStore:Nt,useId:Nt,unstable_isNewReconciler:!1},_M={readContext:Ln,useCallback:function(e,t){return Gn().memoizedState=[e,t===void 0?null:t],e},useContext:Ln,useEffect:h3,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,dl(4194308,4,x7.bind(null,t,e),n)},useLayoutEffect:function(e,t){return dl(4194308,4,e,t)},useInsertionEffect:function(e,t){return dl(4,2,e,t)},useMemo:function(e,t){var n=Gn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Gn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=TM.bind(null,ot,e),[r.memoizedState,e]},useRef:function(e){var t=Gn();return e={current:e},t.memoizedState=e},useState:f3,useDebugValue:Mf,useDeferredValue:function(e){return Gn().memoizedState=e},useTransition:function(){var e=f3(!1),t=e[0];return e=CM.bind(null,e[1]),Gn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ot,a=Gn();if(tt){if(n===void 0)throw Error(J(407));n=n()}else{if(n=t(),Ct===null)throw Error(J(349));ja&30||f7(r,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,h3(m7.bind(null,r,i,e),[e]),r.flags|=2048,_o(9,h7.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Gn(),t=Ct.identifierPrefix;if(tt){var n=ur,r=lr;n=(r&~(1<<32-jn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=To++,0")&&(l=l.replace("",e.displayName)),l}while(1<=o&&0<=s);break}}}finally{Fu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?j1(e):""}function ax(e){switch(e.tag){case 5:return j1(e.type);case 16:return j1("Lazy");case 13:return j1("Suspense");case 19:return j1("SuspenseList");case 0:case 2:case 15:return e=Uu(e.type,!1),e;case 11:return e=Uu(e.type.render,!1),e;case 1:return e=Uu(e.type,!0),e;default:return""}}function i2(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case di:return"Fragment";case ci:return"Portal";case n2:return"Profiler";case qd:return"StrictMode";case r2:return"Suspense";case a2:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case u6:return(e.displayName||"Context")+".Consumer";case l6:return(e._context.displayName||"Context")+".Provider";case Gd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Kd:return t=e.displayName||null,t!==null?t:i2(e.type)||"Memo";case Nr:t=e._payload,e=e._init;try{return i2(e(t))}catch{}}return null}function ix(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return i2(t);case 8:return t===qd?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Xr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function d6(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ox(e){var t=d6(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var a=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Es(e){e._valueTracker||(e._valueTracker=ox(e))}function f6(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=d6(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ll(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function o2(e,t){var n=t.checked;return st({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function z5(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Xr(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function h6(e,t){t=t.checked,t!=null&&Wd(e,"checked",t,!1)}function s2(e,t){h6(e,t);var n=Xr(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?l2(e,t.type,n):t.hasOwnProperty("defaultValue")&&l2(e,t.type,Xr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function P5(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function l2(e,t,n){(t!=="number"||Ll(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var O1=Array.isArray;function Ai(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a"+t.valueOf().toString()+"",t=Cs.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function mo(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var K1={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},sx=["Webkit","ms","Moz","O"];Object.keys(K1).forEach(function(e){sx.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),K1[t]=K1[e]})});function v6(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||K1.hasOwnProperty(e)&&K1[e]?(""+t).trim():t+"px"}function y6(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,a=v6(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}var lx=st({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function d2(e,t){if(t){if(lx[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(J(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(J(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(J(61))}if(t.style!=null&&typeof t.style!="object")throw Error(J(62))}}function f2(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var h2=null;function Xd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var m2=null,Ri=null,ki=null;function H5(e){if(e=Xo(e)){if(typeof m2!="function")throw Error(J(280));var t=e.stateNode;t&&(t=N0(t),m2(e.stateNode,e.type,t))}}function w6(e){Ri?ki?ki.push(e):ki=[e]:Ri=e}function x6(){if(Ri){var e=Ri,t=ki;if(ki=Ri=null,H5(e),t)for(e=0;e>>=0,e===0?32:31-(wx(e)/xx|0)|0}var Ts=64,Ls=4194304;function B1(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function kl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,a=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~a;s!==0?r=B1(s):(i&=o,i!==0&&(r=B1(i)))}else o=n&~a,o!==0?r=B1(o):i!==0&&(r=B1(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&a)&&(a=r&-r,i=t&-t,a>=i||a===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Go(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-jn(t),e[t]=n}function Ex(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Y1),q5=" ",G5=!1;function O6(e,t){switch(e){case"keyup":return Zx.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function B6(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var fi=!1;function eM(e,t){switch(e){case"compositionend":return B6(t);case"keypress":return t.which!==32?null:(G5=!0,q5);case"textInput":return e=t.data,e===q5&&G5?null:e;default:return null}}function tM(e,t){if(fi)return e==="compositionend"||!rf&&O6(e,t)?(e=D6(),sl=ef=Dr=null,fi=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Q5(n)}}function W6(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?W6(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function q6(){for(var e=window,t=Ll();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ll(e.document)}return t}function af(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function cM(e){var t=q6(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&W6(n.ownerDocument.documentElement,n)){if(r!==null&&af(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var a=n.textContent.length,i=Math.min(r.start,a);r=r.end===void 0?i:Math.min(r.end,a),!e.extend&&i>r&&(a=r,r=i,i=a),a=Z5(n,i);var o=Z5(n,r);a&&o&&(e.rangeCount!==1||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(a.node,a.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,hi=null,x2=null,Z1=null,M2=!1;function J5(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;M2||hi==null||hi!==Ll(r)||(r=hi,"selectionStart"in r&&af(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Z1&&xo(Z1,r)||(Z1=r,r=Pl(x2,"onSelect"),0gi||(e.current=L2[gi],L2[gi]=null,gi--)}function Ge(e,t){gi++,L2[gi]=e.current,e.current=t}var Yr={},Dt=oa(Yr),Zt=oa(!1),Ha=Yr;function ji(e,t){var n=e.type.contextTypes;if(!n)return Yr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a={},i;for(i in n)a[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Jt(e){return e=e.childContextTypes,e!=null}function Il(){Qe(Zt),Qe(Dt)}function o3(e,t,n){if(Dt.current!==Yr)throw Error(J(168));Ge(Dt,t),Ge(Zt,n)}function t7(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var a in r)if(!(a in t))throw Error(J(108,ix(e)||"Unknown",a));return st({},n,r)}function Hl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Yr,Ha=Dt.current,Ge(Dt,e),Ge(Zt,Zt.current),!0}function s3(e,t,n){var r=e.stateNode;if(!r)throw Error(J(169));n?(e=t7(e,t,Ha),r.__reactInternalMemoizedMergedChildContext=e,Qe(Zt),Qe(Dt),Ge(Dt,e)):Qe(Zt),Ge(Zt,n)}var sr=null,z0=!1,ac=!1;function n7(e){sr===null?sr=[e]:sr.push(e)}function bM(e){z0=!0,n7(e)}function sa(){if(!ac&&sr!==null){ac=!0;var e=0,t=Fe;try{var n=sr;for(Fe=1;e>=o,a-=o,lr=1<<32-jn(t)+a|n<T?(A=C,C=null):A=C.sibling;var _=f(y,C,x[T],b);if(_===null){C===null&&(C=A);break}e&&C&&_.alternate===null&&t(y,C),v=i(_,v,T),E===null?S=_:E.sibling=_,E=_,C=A}if(T===x.length)return n(y,C),tt&&wa(y,T),S;if(C===null){for(;TT?(A=C,C=null):A=C.sibling;var I=f(y,C,_.value,b);if(I===null){C===null&&(C=A);break}e&&C&&I.alternate===null&&t(y,C),v=i(I,v,T),E===null?S=I:E.sibling=I,E=I,C=A}if(_.done)return n(y,C),tt&&wa(y,T),S;if(C===null){for(;!_.done;T++,_=x.next())_=d(y,_.value,b),_!==null&&(v=i(_,v,T),E===null?S=_:E.sibling=_,E=_);return tt&&wa(y,T),S}for(C=r(y,C);!_.done;T++,_=x.next())_=h(C,y,T,_.value,b),_!==null&&(e&&_.alternate!==null&&C.delete(_.key===null?T:_.key),v=i(_,v,T),E===null?S=_:E.sibling=_,E=_);return e&&C.forEach(function(R){return t(y,R)}),tt&&wa(y,T),S}function M(y,v,x,b){if(typeof x=="object"&&x!==null&&x.type===di&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case Ss:e:{for(var S=x.key,E=v;E!==null;){if(E.key===S){if(S=x.type,S===di){if(E.tag===7){n(y,E.sibling),v=a(E,x.props.children),v.return=y,y=v;break e}}else if(E.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Nr&&c3(S)===E.type){n(y,E.sibling),v=a(E,x.props),v.ref=C1(y,E,x),v.return=y,y=v;break e}n(y,E);break}else t(y,E);E=E.sibling}x.type===di?(v=za(x.props.children,y.mode,b,x.key),v.return=y,y=v):(b=pl(x.type,x.key,x.props,null,y.mode,b),b.ref=C1(y,v,x),b.return=y,y=b)}return o(y);case ci:e:{for(E=x.key;v!==null;){if(v.key===E)if(v.tag===4&&v.stateNode.containerInfo===x.containerInfo&&v.stateNode.implementation===x.implementation){n(y,v.sibling),v=a(v,x.children||[]),v.return=y,y=v;break e}else{n(y,v);break}else t(y,v);v=v.sibling}v=fc(x,y.mode,b),v.return=y,y=v}return o(y);case Nr:return E=x._init,M(y,v,E(x._payload),b)}if(O1(x))return g(y,v,x,b);if(x1(x))return w(y,v,x,b);Ps(y,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,v!==null&&v.tag===6?(n(y,v.sibling),v=a(v,x),v.return=y,y=v):(n(y,v),v=dc(x,y.mode,b),v.return=y,y=v),o(y)):n(y,v)}return M}var Bi=o7(!0),s7=o7(!1),Ol=oa(null),Bl=null,wi=null,uf=null;function cf(){uf=wi=Bl=null}function df(e){var t=Ol.current;Qe(Ol),e._currentValue=t}function R2(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function zi(e,t){Bl=e,uf=wi=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Yt=!0),e.firstContext=null)}function Ln(e){var t=e._currentValue;if(uf!==e)if(e={context:e,memoizedValue:t,next:null},wi===null){if(Bl===null)throw Error(J(308));wi=e,Bl.dependencies={lanes:0,firstContext:e}}else wi=wi.next=e;return t}var _a=null;function ff(e){_a===null?_a=[e]:_a.push(e)}function l7(e,t,n,r){var a=t.interleaved;return a===null?(n.next=n,ff(t)):(n.next=a.next,a.next=n),t.interleaved=n,gr(e,r)}function gr(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var zr=!1;function hf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function u7(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function cr(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Wr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,je&2){var a=r.pending;return a===null?t.next=t:(t.next=a.next,a.next=t),r.pending=t,gr(e,n)}return a=r.interleaved,a===null?(t.next=t,ff(r)):(t.next=a.next,a.next=t),r.interleaved=t,gr(e,n)}function ul(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Qd(e,n)}}function d3(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var a=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?a=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?a=i=t:i=i.next=t}else a=i=t;n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function $l(e,t,n,r){var a=e.updateQueue;zr=!1;var i=a.firstBaseUpdate,o=a.lastBaseUpdate,s=a.shared.pending;if(s!==null){a.shared.pending=null;var l=s,u=l.next;l.next=null,o===null?i=u:o.next=u,o=l;var c=e.alternate;c!==null&&(c=c.updateQueue,s=c.lastBaseUpdate,s!==o&&(s===null?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(i!==null){var d=a.baseState;o=0,c=u=l=null,s=i;do{var f=s.lane,h=s.eventTime;if((r&f)===f){c!==null&&(c=c.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var g=e,w=s;switch(f=t,h=n,w.tag){case 1:if(g=w.payload,typeof g=="function"){d=g.call(h,d,f);break e}d=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=w.payload,f=typeof g=="function"?g.call(h,d,f):g,f==null)break e;d=st({},d,f);break e;case 2:zr=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,f=a.effects,f===null?a.effects=[s]:f.push(s))}else h={eventTime:h,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},c===null?(u=c=h,l=d):c=c.next=h,o|=f;if(s=s.next,s===null){if(s=a.shared.pending,s===null)break;f=s,s=f.next,f.next=null,a.lastBaseUpdate=f,a.shared.pending=null}}while(!0);if(c===null&&(l=d),a.baseState=l,a.firstBaseUpdate=u,a.lastBaseUpdate=c,t=a.shared.interleaved,t!==null){a=t;do o|=a.lane,a=a.next;while(a!==t)}else i===null&&(a.shared.lanes=0);Oa|=o,e.lanes=o,e.memoizedState=d}}function f3(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=oc.transition;oc.transition={};try{e(!1),t()}finally{Fe=n,oc.transition=r}}function T7(){return _n().memoizedState}function TM(e,t,n){var r=Gr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},L7(e))_7(t,n);else if(n=l7(e,t,n,r),n!==null){var a=$t();On(n,e,r,a),A7(n,t,r)}}function LM(e,t,n){var r=Gr(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(L7(e))_7(t,a);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,s=i(o,n);if(a.hasEagerState=!0,a.eagerState=s,Bn(s,o)){var l=t.interleaved;l===null?(a.next=a,ff(t)):(a.next=l.next,l.next=a),t.interleaved=a;return}}catch{}finally{}n=l7(e,t,a,r),n!==null&&(a=$t(),On(n,e,r,a),A7(n,t,r))}}function L7(e){var t=e.alternate;return e===ot||t!==null&&t===ot}function _7(e,t){J1=Ul=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function A7(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Qd(e,n)}}var Wl={readContext:Ln,useCallback:Nt,useContext:Nt,useEffect:Nt,useImperativeHandle:Nt,useInsertionEffect:Nt,useLayoutEffect:Nt,useMemo:Nt,useReducer:Nt,useRef:Nt,useState:Nt,useDebugValue:Nt,useDeferredValue:Nt,useTransition:Nt,useMutableSource:Nt,useSyncExternalStore:Nt,useId:Nt,unstable_isNewReconciler:!1},_M={readContext:Ln,useCallback:function(e,t){return Gn().memoizedState=[e,t===void 0?null:t],e},useContext:Ln,useEffect:m3,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,dl(4194308,4,M7.bind(null,t,e),n)},useLayoutEffect:function(e,t){return dl(4194308,4,e,t)},useInsertionEffect:function(e,t){return dl(4,2,e,t)},useMemo:function(e,t){var n=Gn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Gn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=TM.bind(null,ot,e),[r.memoizedState,e]},useRef:function(e){var t=Gn();return e={current:e},t.memoizedState=e},useState:h3,useDebugValue:Mf,useDeferredValue:function(e){return Gn().memoizedState=e},useTransition:function(){var e=h3(!1),t=e[0];return e=CM.bind(null,e[1]),Gn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ot,a=Gn();if(tt){if(n===void 0)throw Error(J(407));n=n()}else{if(n=t(),Ct===null)throw Error(J(349));ja&30||h7(r,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,m3(p7.bind(null,r,i,e),[e]),r.flags|=2048,_o(9,m7.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Gn(),t=Ct.identifierPrefix;if(tt){var n=ur,r=lr;n=(r&~(1<<32-jn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=To++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Kn]=t,e[So]=r,D7(e,t,!1,!1),t.stateNode=e;e:{switch(o=f2(n,r),n){case"dialog":Xe("cancel",e),Xe("close",e),a=r;break;case"iframe":case"object":case"embed":Xe("load",e),a=r;break;case"video":case"audio":for(a=0;a<$1.length;a++)Xe($1[a],e);a=r;break;case"source":Xe("error",e),a=r;break;case"img":case"image":case"link":Xe("error",e),Xe("load",e),a=r;break;case"details":Xe("toggle",e),a=r;break;case"input":N5(e,r),a=o2(e,r),Xe("invalid",e);break;case"option":a=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=st({},r,{value:void 0}),Xe("invalid",e);break;case"textarea":P5(e,r),a=u2(e,r),Xe("invalid",e);break;default:a=r}d2(n,a),s=a;for(i in s)if(s.hasOwnProperty(i)){var l=s[i];i==="style"?v6(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&p6(e,l)):i==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&mo(e,l):typeof l=="number"&&mo(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(ho.hasOwnProperty(i)?l!=null&&i==="onScroll"&&Xe("scroll",e):l!=null&&Wd(e,i,l,o))}switch(n){case"input":Es(e),z5(e,r,!1);break;case"textarea":Es(e),V5(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Xr(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Ai(e,!!r.multiple,i,!1):r.defaultValue!=null&&Ai(e,!!r.multiple,r.defaultValue,!0);break;default:typeof a.onClick=="function"&&(e.onclick=Vl)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return zt(t),null;case 6:if(e&&t.stateNode!=null)O7(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(J(166));if(n=Aa(Co.current),Aa(Jn.current),zs(t)){if(r=t.stateNode,n=t.memoizedProps,r[Kn]=t,(i=r.nodeValue!==n)&&(e=sn,e!==null))switch(e.tag){case 3:Ns(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ns(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Kn]=t,t.stateNode=r}return zt(t),null;case 13:if(Qe(at),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(tt&&on!==null&&t.mode&1&&!(t.flags&128))a7(),Oi(),t.flags|=98560,i=!1;else if(i=zs(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(J(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(J(317));i[Kn]=t}else Oi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;zt(t),i=!1}else Dn!==null&&(q2(Dn),Dn=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||at.current&1?xt===0&&(xt=3):_f())),t.updateQueue!==null&&(t.flags|=4),zt(t),null);case 4:return $i(),D2(e,t),e===null&&Mo(t.stateNode.containerInfo),zt(t),null;case 10:return df(t.type._context),zt(t),null;case 17:return Jt(t.type)&&Il(),zt(t),null;case 19:if(Qe(at),i=t.memoizedState,i===null)return zt(t),null;if(r=(t.flags&128)!==0,o=i.rendering,o===null)if(r)T1(i,!1);else{if(xt!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Fl(e),o!==null){for(t.flags|=128,T1(i,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,o=i.alternate,o===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=o.childLanes,i.lanes=o.lanes,i.child=o.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=o.memoizedProps,i.memoizedState=o.memoizedState,i.updateQueue=o.updateQueue,i.type=o.type,e=o.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ge(at,at.current&1|2),t.child}e=e.sibling}i.tail!==null&&ft()>Ui&&(t.flags|=128,r=!0,T1(i,!1),t.lanes=4194304)}else{if(!r)if(e=Fl(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),T1(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!tt)return zt(t),null}else 2*ft()-i.renderingStartTime>Ui&&n!==1073741824&&(t.flags|=128,r=!0,T1(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ft(),t.sibling=null,n=at.current,Ge(at,r?n&1|2:n&1),t):(zt(t),null);case 22:case 23:return Lf(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?an&1073741824&&(zt(t),t.subtreeFlags&6&&(t.flags|=8192)):zt(t),null;case 24:return null;case 25:return null}throw Error(J(156,t.tag))}function IM(e,t){switch(sf(t),t.tag){case 1:return Jt(t.type)&&Il(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return $i(),Qe(Zt),Qe(Dt),gf(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return pf(t),null;case 13:if(Qe(at),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(J(340));Oi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Qe(at),null;case 4:return $i(),null;case 10:return df(t.type._context),null;case 22:case 23:return Lf(),null;case 24:return null;default:return null}}var Is=!1,It=!1,HM=typeof WeakSet=="function"?WeakSet:Set,le=null;function xi(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ut(e,t,r)}else n.current=null}function j2(e,t,n){try{n()}catch(r){ut(e,t,r)}}var E3=!1;function DM(e,t){if(b2=Nl,e=W6(),af(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var a=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,s=-1,l=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var h;d!==n||a!==0&&d.nodeType!==3||(s=o+a),d!==i||r!==0&&d.nodeType!==3||(l=o+r),d.nodeType===3&&(o+=d.nodeValue.length),(h=d.firstChild)!==null;)f=d,d=h;for(;;){if(d===e)break t;if(f===n&&++u===a&&(s=o),f===i&&++c===r&&(l=o),(h=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=h}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(S2={focusedElem:e,selectionRange:n},Nl=!1,le=t;le!==null;)if(t=le,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,le=e;else for(;le!==null;){t=le;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var w=g.memoizedProps,M=g.memoizedState,y=t.stateNode,v=y.getSnapshotBeforeUpdate(t.elementType===t.type?w:In(t.type,w),M);y.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(J(163))}}catch(b){ut(t,t.return,b)}if(e=t.sibling,e!==null){e.return=t.return,le=e;break}le=t.return}return g=E3,E3=!1,g}function eo(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var a=r=r.next;do{if((a.tag&e)===e){var i=a.destroy;a.destroy=void 0,i!==void 0&&j2(t,n,i)}a=a.next}while(a!==r)}}function I0(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function O2(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function B7(e){var t=e.alternate;t!==null&&(e.alternate=null,B7(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Kn],delete t[So],delete t[T2],delete t[xM],delete t[MM])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function $7(e){return e.tag===5||e.tag===3||e.tag===4}function C3(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||$7(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function B2(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Vl));else if(r!==4&&(e=e.child,e!==null))for(B2(e,t,n),e=e.sibling;e!==null;)B2(e,t,n),e=e.sibling}function $2(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for($2(e,t,n),e=e.sibling;e!==null;)$2(e,t,n),e=e.sibling}var Lt=null,Hn=!1;function Lr(e,t,n){for(n=n.child;n!==null;)F7(e,t,n),n=n.sibling}function F7(e,t,n){if(Zn&&typeof Zn.onCommitFiberUnmount=="function")try{Zn.onCommitFiberUnmount(_0,n)}catch{}switch(n.tag){case 5:It||xi(n,t);case 6:var r=Lt,a=Hn;Lt=null,Lr(e,t,n),Lt=r,Hn=a,Lt!==null&&(Hn?(e=Lt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Lt.removeChild(n.stateNode));break;case 18:Lt!==null&&(Hn?(e=Lt,n=n.stateNode,e.nodeType===8?rc(e.parentNode,n):e.nodeType===1&&rc(e,n),yo(e)):rc(Lt,n.stateNode));break;case 4:r=Lt,a=Hn,Lt=n.stateNode.containerInfo,Hn=!0,Lr(e,t,n),Lt=r,Hn=a;break;case 0:case 11:case 14:case 15:if(!It&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){a=r=r.next;do{var i=a,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&j2(n,t,o),a=a.next}while(a!==r)}Lr(e,t,n);break;case 1:if(!It&&(xi(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){ut(n,t,s)}Lr(e,t,n);break;case 21:Lr(e,t,n);break;case 22:n.mode&1?(It=(r=It)||n.memoizedState!==null,Lr(e,t,n),It=r):Lr(e,t,n);break;default:Lr(e,t,n)}}function T3(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new HM),t.forEach(function(r){var a=GM.bind(null,e,r);n.has(r)||(n.add(r),r.then(a,a))})}}function Nn(e,t){var n=t.deletions;if(n!==null)for(var r=0;ra&&(a=o),r&=~i}if(r=a,r=ft()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*OM(r/1960))-r,10e?16:e,jr===null)var r=!1;else{if(e=jr,jr=null,Kl=0,je&6)throw Error(J(331));var a=je;for(je|=4,le=e.current;le!==null;){var i=le,o=i.child;if(le.flags&16){var s=i.deletions;if(s!==null){for(var l=0;lft()-Cf?Na(e,0):Ef|=n),en(e,t)}function Q7(e,t){t===0&&(e.mode&1?(t=Ls,Ls<<=1,!(Ls&130023424)&&(Ls=4194304)):t=1);var n=$t();e=gr(e,t),e!==null&&(Go(e,t,n),en(e,n))}function qM(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Q7(e,n)}function GM(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(J(314))}r!==null&&r.delete(t),Q7(e,n)}var Z7;Z7=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Zt.current)Yt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Yt=!1,PM(e,t,n);Yt=!!(e.flags&131072)}else Yt=!1,tt&&t.flags&1048576&&n7(t,jl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;fl(e,t),e=t.pendingProps;var a=ji(t,Dt.current);zi(t,n),a=yf(null,t,r,e,a,n);var i=wf();return t.flags|=1,typeof a=="object"&&a!==null&&typeof a.render=="function"&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Jt(r)?(i=!0,Hl(t)):i=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,hf(t),a.updater=V0,t.stateNode=a,a._reactInternals=t,N2(t,r,e,n),t=V2(null,t,r,!0,i,n)):(t.tag=0,tt&&i&&of(t),Bt(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(fl(e,t),e=t.pendingProps,a=r._init,r=a(r._payload),t.type=r,a=t.tag=XM(r),e=In(r,e),a){case 0:t=P2(null,t,r,e,n);break e;case 1:t=M3(null,t,r,e,n);break e;case 11:t=w3(null,t,r,e,n);break e;case 14:t=x3(null,t,r,In(r.type,e),n);break e}throw Error(J(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:In(r,a),P2(e,t,r,a,n);case 1:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:In(r,a),M3(e,t,r,a,n);case 3:e:{if(V7(t),e===null)throw Error(J(387));r=t.pendingProps,i=t.memoizedState,a=i.element,l7(e,t),$l(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){a=Fi(Error(J(423)),t),t=b3(e,t,r,n,a);break e}else if(r!==a){a=Fi(Error(J(424)),t),t=b3(e,t,r,n,a);break e}else for(on=Ur(t.stateNode.containerInfo.firstChild),sn=t,tt=!0,Dn=null,n=o7(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Oi(),r===a){t=vr(e,t,n);break e}Bt(e,t,r,n)}t=t.child}return t;case 5:return u7(t),e===null&&A2(t),r=t.type,a=t.pendingProps,i=e!==null?e.memoizedProps:null,o=a.children,E2(r,a)?o=null:i!==null&&E2(r,i)&&(t.flags|=32),P7(e,t),Bt(e,t,o,n),t.child;case 6:return e===null&&A2(t),null;case 13:return I7(e,t,n);case 4:return mf(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Bi(t,null,r,n):Bt(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:In(r,a),w3(e,t,r,a,n);case 7:return Bt(e,t,t.pendingProps,n),t.child;case 8:return Bt(e,t,t.pendingProps.children,n),t.child;case 12:return Bt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,i=t.memoizedProps,o=a.value,Ge(Ol,r._currentValue),r._currentValue=o,i!==null)if(Bn(i.value,o)){if(i.children===a.children&&!Zt.current){t=vr(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){o=i.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=cr(-1,n&-n),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),R2(i.return,n,t),s.lanes|=n;break}l=l.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(J(341));o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),R2(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}Bt(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,zi(t,n),a=Ln(a),r=r(a),t.flags|=1,Bt(e,t,r,n),t.child;case 14:return r=t.type,a=In(r,t.pendingProps),a=In(r.type,a),x3(e,t,r,a,n);case 15:return N7(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:In(r,a),fl(e,t),t.tag=1,Jt(r)?(e=!0,Hl(t)):e=!1,zi(t,n),A7(t,r,a),N2(t,r,a,n),V2(null,t,r,!0,e,n);case 19:return H7(e,t,n);case 22:return z7(e,t,n)}throw Error(J(156,t.tag))};function J7(e,t){return T6(e,t)}function KM(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Cn(e,t,n,r){return new KM(e,t,n,r)}function Af(e){return e=e.prototype,!(!e||!e.isReactComponent)}function XM(e){if(typeof e=="function")return Af(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Gd)return 11;if(e===Kd)return 14}return 2}function Kr(e,t){var n=e.alternate;return n===null?(n=Cn(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function pl(e,t,n,r,a,i){var o=2;if(r=e,typeof e=="function")Af(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case di:return za(n.children,a,i,t);case qd:o=8,a|=8;break;case n2:return e=Cn(12,n,t,a|2),e.elementType=n2,e.lanes=i,e;case r2:return e=Cn(13,n,t,a),e.elementType=r2,e.lanes=i,e;case a2:return e=Cn(19,n,t,a),e.elementType=a2,e.lanes=i,e;case u6:return D0(n,a,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case s6:o=10;break e;case l6:o=9;break e;case Gd:o=11;break e;case Kd:o=14;break e;case Nr:o=16,r=null;break e}throw Error(J(130,e==null?e:typeof e,""))}return t=Cn(o,n,t,a),t.elementType=e,t.type=r,t.lanes=i,t}function za(e,t,n,r){return e=Cn(7,e,r,t),e.lanes=n,e}function D0(e,t,n,r){return e=Cn(22,e,r,t),e.elementType=u6,e.lanes=n,e.stateNode={isHidden:!1},e}function dc(e,t,n){return e=Cn(6,e,null,t),e.lanes=n,e}function fc(e,t,n){return t=Cn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function YM(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=qu(0),this.expirationTimes=qu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=qu(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function Rf(e,t,n,r,a,i,o,s,l){return e=new YM(e,t,n,s,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Cn(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},hf(i),e}function QM(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(rg)}catch(e){console.error(e)}}rg(),r6.exports=mn;var Qo=r6.exports;const G2=Dd(Qo);var ag,P3=Qo;ag=P3.createRoot,P3.hydrateRoot;function tb(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...r)=>e(...r);return new Proxy(n,{get:(r,a)=>a==="create"?e:(t.has(a)||t.set(a,e(a)),t.get(a))})}function F0(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const K2=e=>Array.isArray(e);function ig(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Pf(e,t,n,r){if(typeof t=="function"){const[a,i]=V3(r);t=t(n!==void 0?n:e.custom,a,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[a,i]=V3(r);t=t(n!==void 0?n:e.custom,a,i)}return t}function U0(e,t,n){const r=e.getProps();return Pf(r,t,n!==void 0?n:r.custom,e)}const Vf=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],If=["initial",...Vf],ln=e=>e;let X2=ln;function Hf(e){let t;return()=>(t===void 0&&(t=e()),t)}const Wi=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},dr=e=>e*1e3,fr=e=>e/1e3,nb=Hf(()=>window.ScrollTimeline!==void 0);class rb{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,n){for(let r=0;rnb()&&a.attachTimeline?a.attachTimeline(t):n(a));return()=>{r.forEach((a,i)=>{a&&a(),this.animations[i].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let n=0;nn[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class ab extends rb{then(t,n){return Promise.all(this.animations).then(t).catch(n)}}function Df(e,t){return e?e[t]||e.default||e:void 0}const Y2=2e4;function og(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t=Y2?1/0:t}function jf(e){return typeof e=="function"}function I3(e,t){e.timeline=t,e.onfinish=null}const Of=e=>Array.isArray(e)&&typeof e[0]=="number",ib={linearEasing:void 0};function ob(e,t){const n=Hf(e);return()=>{var r;return(r=ib[t])!==null&&r!==void 0?r:n()}}const Ql=ob(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),sg=(e,t,n=10)=>{let r="";const a=Math.max(Math.round(t/n),2);for(let i=0;i`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Q2={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:F1([0,.65,.55,1]),circOut:F1([.55,0,1,.45]),backIn:F1([.31,.01,.66,-.59]),backOut:F1([.33,1.53,.69,.99])};function ug(e,t){if(e)return typeof e=="function"&&Ql()?sg(e,t):Of(e)?F1(e):Array.isArray(e)?e.map(n=>ug(n,t)||Q2.easeOut):Q2[e]}const Vn={x:!1,y:!1};function cg(){return Vn.x||Vn.y}function sb(e,t,n){var r;if(e instanceof Element)return[e];if(typeof e=="string"){let a=document;const i=(r=void 0)!==null&&r!==void 0?r:a.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}function dg(e,t){const n=sb(e),r=new AbortController,a={passive:!0,...t,signal:r.signal};return[n,a,()=>r.abort()]}function H3(e){return t=>{t.pointerType==="touch"||cg()||e(t)}}function lb(e,t,n={}){const[r,a,i]=dg(e,n),o=H3(s=>{const{target:l}=s,u=t(s);if(!u||!l)return;const c=H3(d=>{u(d),l.removeEventListener("pointerleave",c)});l.addEventListener("pointerleave",c,a)});return r.forEach(s=>{s.addEventListener("pointerenter",o,a)}),i}const fg=(e,t)=>t?e===t?!0:fg(e,t.parentElement):!1,Bf=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,ub=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function cb(e){return ub.has(e.tagName)||e.tabIndex!==-1}const U1=new WeakSet;function D3(e){return t=>{t.key==="Enter"&&e(t)}}function hc(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const db=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=D3(()=>{if(U1.has(n))return;hc(n,"down");const a=D3(()=>{hc(n,"up")}),i=()=>hc(n,"cancel");n.addEventListener("keyup",a,t),n.addEventListener("blur",i,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function j3(e){return Bf(e)&&!cg()}function fb(e,t,n={}){const[r,a,i]=dg(e,n),o=s=>{const l=s.currentTarget;if(!j3(s)||U1.has(l))return;U1.add(l);const u=t(s),c=(h,g)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),!(!j3(h)||!U1.has(l))&&(U1.delete(l),u&&u(h,{success:g}))},d=h=>{c(h,n.useGlobalTarget||fg(l,h.target))},f=h=>{c(h,!1)};window.addEventListener("pointerup",d,a),window.addEventListener("pointercancel",f,a)};return r.forEach(s=>{!cb(s)&&s.getAttribute("tabindex")===null&&(s.tabIndex=0),(n.useGlobalTarget?window:s).addEventListener("pointerdown",o,a),s.addEventListener("focus",u=>db(u,a),a)}),i}function hb(e){return e==="x"||e==="y"?Vn[e]?null:(Vn[e]=!0,()=>{Vn[e]=!1}):Vn.x||Vn.y?null:(Vn.x=Vn.y=!0,()=>{Vn.x=Vn.y=!1})}const Zo=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Qa=new Set(Zo),mb=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),pb=e=>K2(e)?e[e.length-1]||0:e,gb={skipAnimations:!1,useManualTiming:!1};function vb(e){let t=new Set,n=new Set,r=!1,a=!1;const i=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function s(u){i.has(u)&&(l.schedule(u),e()),u(o)}const l={schedule:(u,c=!1,d=!1)=>{const h=d&&r?t:n;return c&&i.add(u),h.has(u)||h.add(u),u},cancel:u=>{n.delete(u),i.delete(u)},process:u=>{if(o=u,r){a=!0;return}r=!0,[t,n]=[n,t],t.forEach(s),t.clear(),r=!1,a&&(a=!1,l.process(u))}};return l}const js=["read","resolveKeyframes","update","preRender","render","postRender"],yb=40;function hg(e,t){let n=!1,r=!0;const a={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,o=js.reduce((y,v)=>(y[v]=vb(i),y),{}),{read:s,resolveKeyframes:l,update:u,preRender:c,render:d,postRender:f}=o,h=()=>{const y=performance.now();n=!1,a.delta=r?1e3/60:Math.max(Math.min(y-a.timestamp,yb),1),a.timestamp=y,a.isProcessing=!0,s.process(a),l.process(a),u.process(a),c.process(a),d.process(a),f.process(a),a.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,a.isProcessing||e(h)};return{schedule:js.reduce((y,v)=>{const x=o[v];return y[v]=(b,S=!1,E=!1)=>(n||g(),x.schedule(b,S,E)),y},{}),cancel:y=>{for(let v=0;v(gl===void 0&&er.set(_t.isProcessing||gb.useManualTiming?_t.timestamp:performance.now()),gl),set:e=>{gl=e,queueMicrotask(wb)}};function $f(e,t){e.indexOf(t)===-1&&e.push(t)}function Ff(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Uf{constructor(){this.subscriptions=[]}add(t){return $f(this.subscriptions,t),()=>Ff(this.subscriptions,t)}notify(t,n,r){const a=this.subscriptions.length;if(a)if(a===1)this.subscriptions[0](t,n,r);else for(let i=0;i!isNaN(parseFloat(e));class Mb{constructor(t,n={}){this.version="11.16.1",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,a=!0)=>{const i=er.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),a&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=er.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=xb(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Uf);const r=this.events[t].add(n);return t==="change"?()=>{r(),Ze.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=er.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>O3)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,O3);return mg(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ko(e,t){return new Mb(e,t)}function bb(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,ko(n))}function Sb(e,t){const n=U0(e,t);let{transitionEnd:r={},transition:a={},...i}=n||{};i={...i,...r};for(const o in i){const s=pb(i[o]);bb(e,o,s)}}const Ht=e=>!!(e&&e.getVelocity);function Eb(e){return!!(Ht(e)&&e.add)}function Z2(e,t){const n=e.getValue("willChange");if(Eb(n))return n.add(t)}const Wf=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Cb="framerAppearId",pg="data-"+Wf(Cb);function gg(e){return e.props[pg]}const vg=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Tb=1e-7,Lb=12;function _b(e,t,n,r,a){let i,o,s=0;do o=t+(n-t)/2,i=vg(o,r,a)-e,i>0?n=o:t=o;while(Math.abs(i)>Tb&&++s_b(i,0,1,e,n);return i=>i===0||i===1?i:vg(a(i),t,r)}const yg=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,wg=e=>t=>1-e(1-t),xg=Jo(.33,1.53,.69,.99),qf=wg(xg),Mg=yg(qf),bg=e=>(e*=2)<1?.5*qf(e):.5*(2-Math.pow(2,-10*(e-1))),Gf=e=>1-Math.sin(Math.acos(e)),Sg=wg(Gf),Eg=yg(Gf),Cg=e=>/^0[^.\s]+$/u.test(e);function Ab(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Cg(e):!0}const Tg=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Lg=e=>t=>typeof t=="string"&&t.startsWith(e),_g=Lg("--"),Rb=Lg("var(--"),Kf=e=>Rb(e)?kb.test(e.split("/*")[0].trim()):!1,kb=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Nb=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function zb(e){const t=Nb.exec(e);if(!t)return[,];const[,n,r,a]=t;return[`--${n??r}`,a]}function Ag(e,t,n=1){const[r,a]=zb(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const o=i.trim();return Tg(o)?parseFloat(o):o}return Kf(a)?Ag(a,t,n+1):a}const yr=(e,t,n)=>n>t?t:ntypeof e=="number",parse:parseFloat,transform:e=>e},No={...u1,transform:e=>yr(0,1,e)},Os={...u1,default:1},es=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Rr=es("deg"),tr=es("%"),ve=es("px"),Pb=es("vh"),Vb=es("vw"),B3={...tr,parse:e=>tr.parse(e)/100,transform:e=>tr.transform(e*100)},Ib=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),$3=e=>e===u1||e===ve,F3=(e,t)=>parseFloat(e.split(", ")[t]),U3=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const a=r.match(/^matrix3d\((.+)\)$/u);if(a)return F3(a[1],t);{const i=r.match(/^matrix\((.+)\)$/u);return i?F3(i[1],e):0}},Hb=new Set(["x","y","z"]),Db=Zo.filter(e=>!Hb.has(e));function jb(e){const t=[];return Db.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const qi={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:U3(4,13),y:U3(5,14)};qi.translateX=qi.x;qi.translateY=qi.y;const Rg=e=>t=>t.test(e),Ob={test:e=>e==="auto",parse:e=>e},kg=[u1,ve,tr,Rr,Vb,Pb,Ob],W3=e=>kg.find(Rg(e)),Pa=new Set;let J2=!1,ed=!1;function Ng(){if(ed){const e=Array.from(Pa).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const a=jb(r);a.length&&(n.set(r,a),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const a=n.get(r);a&&a.forEach(([i,o])=>{var s;(s=r.getValue(i))===null||s===void 0||s.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}ed=!1,J2=!1,Pa.forEach(e=>e.complete()),Pa.clear()}function zg(){Pa.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(ed=!0)})}function Bb(){zg(),Ng()}class Xf{constructor(t,n,r,a,i,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=a,this.element=i,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Pa.add(this),J2||(J2=!0,Ze.read(zg),Ze.resolveKeyframes(Ng))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:a}=this;for(let i=0;iMath.round(e*1e5)/1e5,Yf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function $b(e){return e==null}const Fb=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Qf=(e,t)=>n=>!!(typeof n=="string"&&Fb.test(n)&&n.startsWith(e)||t&&!$b(n)&&Object.prototype.hasOwnProperty.call(n,t)),Pg=(e,t,n)=>r=>{if(typeof r!="string")return r;const[a,i,o,s]=r.match(Yf);return{[e]:parseFloat(a),[t]:parseFloat(i),[n]:parseFloat(o),alpha:s!==void 0?parseFloat(s):1}},Ub=e=>yr(0,255,e),pc={...u1,transform:e=>Math.round(Ub(e))},Ra={test:Qf("rgb","red"),parse:Pg("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+pc.transform(e)+", "+pc.transform(t)+", "+pc.transform(n)+", "+ro(No.transform(r))+")"};function Wb(e){let t="",n="",r="",a="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),a=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),a=e.substring(4,5),t+=t,n+=n,r+=r,a+=a),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:a?parseInt(a,16)/255:1}}const td={test:Qf("#"),parse:Wb,transform:Ra.transform},bi={test:Qf("hsl","hue"),parse:Pg("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+tr.transform(ro(t))+", "+tr.transform(ro(n))+", "+ro(No.transform(r))+")"},Pt={test:e=>Ra.test(e)||td.test(e)||bi.test(e),parse:e=>Ra.test(e)?Ra.parse(e):bi.test(e)?bi.parse(e):td.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Ra.transform(e):bi.transform(e)},qb=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Gb(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Yf))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(qb))===null||n===void 0?void 0:n.length)||0)>0}const Vg="number",Ig="color",Kb="var",Xb="var(",q3="${}",Yb=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function zo(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},a=[];let i=0;const s=t.replace(Yb,l=>(Pt.test(l)?(r.color.push(i),a.push(Ig),n.push(Pt.parse(l))):l.startsWith(Xb)?(r.var.push(i),a.push(Kb),n.push(l)):(r.number.push(i),a.push(Vg),n.push(parseFloat(l))),++i,q3)).split(q3);return{values:n,split:s,indexes:r,types:a}}function Hg(e){return zo(e).values}function Dg(e){const{split:t,types:n}=zo(e),r=t.length;return a=>{let i="";for(let o=0;otypeof e=="number"?0:e;function Zb(e){const t=Hg(e);return Dg(e)(t.map(Qb))}const Zr={test:Gb,parse:Hg,createTransformer:Dg,getAnimatableNone:Zb},Jb=new Set(["brightness","contrast","saturate","opacity"]);function eS(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Yf)||[];if(!r)return e;const a=n.replace(r,"");let i=Jb.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+a+")"}const tS=/\b([a-z-]*)\(.*?\)/gu,nd={...Zr,getAnimatableNone:e=>{const t=e.match(tS);return t?t.map(eS).join(" "):e}},nS={borderWidth:ve,borderTopWidth:ve,borderRightWidth:ve,borderBottomWidth:ve,borderLeftWidth:ve,borderRadius:ve,radius:ve,borderTopLeftRadius:ve,borderTopRightRadius:ve,borderBottomRightRadius:ve,borderBottomLeftRadius:ve,width:ve,maxWidth:ve,height:ve,maxHeight:ve,top:ve,right:ve,bottom:ve,left:ve,padding:ve,paddingTop:ve,paddingRight:ve,paddingBottom:ve,paddingLeft:ve,margin:ve,marginTop:ve,marginRight:ve,marginBottom:ve,marginLeft:ve,backgroundPositionX:ve,backgroundPositionY:ve},rS={rotate:Rr,rotateX:Rr,rotateY:Rr,rotateZ:Rr,scale:Os,scaleX:Os,scaleY:Os,scaleZ:Os,skew:Rr,skewX:Rr,skewY:Rr,distance:ve,translateX:ve,translateY:ve,translateZ:ve,x:ve,y:ve,z:ve,perspective:ve,transformPerspective:ve,opacity:No,originX:B3,originY:B3,originZ:ve},G3={...u1,transform:Math.round},Zf={...nS,...rS,zIndex:G3,size:ve,fillOpacity:No,strokeOpacity:No,numOctaves:G3},aS={...Zf,color:Pt,backgroundColor:Pt,outlineColor:Pt,fill:Pt,stroke:Pt,borderColor:Pt,borderTopColor:Pt,borderRightColor:Pt,borderBottomColor:Pt,borderLeftColor:Pt,filter:nd,WebkitFilter:nd},Jf=e=>aS[e];function jg(e,t){let n=Jf(e);return n!==nd&&(n=Zr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const iS=new Set(["auto","none","0"]);function oS(e,t,n){let r=0,a;for(;r{n.getValue(l).set(u)}),this.resolveNoneKeyframes()}}const K3=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Zr.test(e)||e==="0")&&!e.startsWith("url("));function sS(e){const t=e[0];if(e.length===1)return!0;for(let n=0;ne!==null;function W0(e,{repeat:t,repeatType:n="loop"},r){const a=e.filter(uS),i=t&&n!=="loop"&&t%2===1?0:a.length-1;return!i||r===void 0?a[i]:r}const cS=40;class Bg{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:a=0,repeatDelay:i=0,repeatType:o="loop",...s}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=er.now(),this.options={autoplay:t,delay:n,type:r,repeat:a,repeatDelay:i,repeatType:o,...s},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>cS?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&Bb(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=er.now(),this.hasAttemptedResolve=!0;const{name:r,type:a,velocity:i,delay:o,onComplete:s,onUpdate:l,isGenerator:u}=this.options;if(!u&&!lS(t,r,a,i))if(o)this.options.duration=0;else{l==null||l(W0(t,this.options,n)),s==null||s(),this.resolveFinishedPromise();return}const c=this.initPlayback(t,n);c!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...c},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}const it=(e,t,n)=>e+(t-e)*n;function gc(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function dS({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let a=0,i=0,o=0;if(!t)a=i=o=n;else{const s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;a=gc(l,s,e+1/3),i=gc(l,s,e),o=gc(l,s,e-1/3)}return{red:Math.round(a*255),green:Math.round(i*255),blue:Math.round(o*255),alpha:r}}function Zl(e,t){return n=>n>0?t:e}const vc=(e,t,n)=>{const r=e*e,a=n*(t*t-r)+r;return a<0?0:Math.sqrt(a)},fS=[td,Ra,bi],hS=e=>fS.find(t=>t.test(e));function X3(e){const t=hS(e);if(!t)return!1;let n=t.parse(e);return t===bi&&(n=dS(n)),n}const Y3=(e,t)=>{const n=X3(e),r=X3(t);if(!n||!r)return Zl(e,t);const a={...n};return i=>(a.red=vc(n.red,r.red,i),a.green=vc(n.green,r.green,i),a.blue=vc(n.blue,r.blue,i),a.alpha=it(n.alpha,r.alpha,i),Ra.transform(a))},mS=(e,t)=>n=>t(e(n)),ts=(...e)=>e.reduce(mS),rd=new Set(["none","hidden"]);function pS(e,t){return rd.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function gS(e,t){return n=>it(e,t,n)}function e4(e){return typeof e=="number"?gS:typeof e=="string"?Kf(e)?Zl:Pt.test(e)?Y3:wS:Array.isArray(e)?$g:typeof e=="object"?Pt.test(e)?Y3:vS:Zl}function $g(e,t){const n=[...e],r=n.length,a=e.map((i,o)=>e4(i)(i,t[o]));return i=>{for(let o=0;o{for(const i in r)n[i]=r[i](a);return n}}function yS(e,t){var n;const r=[],a={color:0,var:0,number:0};for(let i=0;i{const n=Zr.createTransformer(t),r=zo(e),a=zo(t);return r.indexes.var.length===a.indexes.var.length&&r.indexes.color.length===a.indexes.color.length&&r.indexes.number.length>=a.indexes.number.length?rd.has(e)&&!a.values.length||rd.has(t)&&!r.values.length?pS(e,t):ts($g(yS(r,a),a.values),n):Zl(e,t)};function Fg(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?it(e,t,n):e4(e)(e,t)}const xS=5;function Ug(e,t,n){const r=Math.max(t-xS,0);return mg(n-e(r),t-r)}const lt={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Q3=.001;function MS({duration:e=lt.duration,bounce:t=lt.bounce,velocity:n=lt.velocity,mass:r=lt.mass}){let a,i,o=1-t;o=yr(lt.minDamping,lt.maxDamping,o),e=yr(lt.minDuration,lt.maxDuration,fr(e)),o<1?(a=u=>{const c=u*o,d=c*e,f=c-n,h=ad(u,o),g=Math.exp(-d);return Q3-f/h*g},i=u=>{const d=u*o*e,f=d*n+n,h=Math.pow(o,2)*Math.pow(u,2)*e,g=Math.exp(-d),w=ad(Math.pow(u,2),o);return(-a(u)+Q3>0?-1:1)*((f-h)*g)/w}):(a=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-.001+c*d},i=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const s=5/e,l=SS(a,i,s);if(e=dr(e),isNaN(l))return{stiffness:lt.stiffness,damping:lt.damping,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const bS=12;function SS(e,t,n){let r=n;for(let a=1;ae[n]!==void 0)}function TS(e){let t={velocity:lt.velocity,stiffness:lt.stiffness,damping:lt.damping,mass:lt.mass,isResolvedFromDuration:!1,...e};if(!Z3(e,CS)&&Z3(e,ES))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),a=r*r,i=2*yr(.05,1,1-(e.bounce||0))*Math.sqrt(a);t={...t,mass:lt.mass,stiffness:a,damping:i}}else{const n=MS(e);t={...t,...n,mass:lt.mass},t.isResolvedFromDuration=!0}return t}function Wg(e=lt.visualDuration,t=lt.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:a}=n;const i=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:i},{stiffness:l,damping:u,mass:c,duration:d,velocity:f,isResolvedFromDuration:h}=TS({...n,velocity:-fr(n.velocity||0)}),g=f||0,w=u/(2*Math.sqrt(l*c)),M=o-i,y=fr(Math.sqrt(l/c)),v=Math.abs(M)<5;r||(r=v?lt.restSpeed.granular:lt.restSpeed.default),a||(a=v?lt.restDelta.granular:lt.restDelta.default);let x;if(w<1){const S=ad(y,w);x=E=>{const C=Math.exp(-w*y*E);return o-C*((g+w*y*M)/S*Math.sin(S*E)+M*Math.cos(S*E))}}else if(w===1)x=S=>o-Math.exp(-y*S)*(M+(g+y*M)*S);else{const S=y*Math.sqrt(w*w-1);x=E=>{const C=Math.exp(-w*y*E),T=Math.min(S*E,300);return o-C*((g+w*y*M)*Math.sinh(T)+S*M*Math.cosh(T))/S}}const b={calculatedDuration:h&&d||null,next:S=>{const E=x(S);if(h)s.done=S>=d;else{let C=0;w<1&&(C=S===0?dr(g):Ug(x,S,E));const T=Math.abs(C)<=r,A=Math.abs(o-E)<=a;s.done=T&&A}return s.value=s.done?o:E,s},toString:()=>{const S=Math.min(og(b),Y2),E=sg(C=>b.next(S*C).value,S,30);return S+"ms "+E}};return b}function J3({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:a=10,bounceStiffness:i=500,modifyTarget:o,min:s,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},h=T=>s!==void 0&&Tl,g=T=>s===void 0?l:l===void 0||Math.abs(s-T)-w*Math.exp(-T/r),x=T=>y+v(T),b=T=>{const A=v(T),_=x(T);f.done=Math.abs(A)<=u,f.value=f.done?y:_};let S,E;const C=T=>{h(f.value)&&(S=T,E=Wg({keyframes:[f.value,g(f.value)],velocity:Ug(x,T,f.value),damping:a,stiffness:i,restDelta:u,restSpeed:c}))};return C(0),{calculatedDuration:null,next:T=>{let A=!1;return!E&&S===void 0&&(A=!0,b(T),C(T)),S!==void 0&&T>=S?E.next(T-S):(!A&&b(T),f)}}}const LS=Jo(.42,0,1,1),_S=Jo(0,0,.58,1),qg=Jo(.42,0,.58,1),AS=e=>Array.isArray(e)&&typeof e[0]!="number",eh={linear:ln,easeIn:LS,easeInOut:qg,easeOut:_S,circIn:Gf,circInOut:Eg,circOut:Sg,backIn:qf,backInOut:Mg,backOut:xg,anticipate:bg},th=e=>{if(Of(e)){X2(e.length===4);const[t,n,r,a]=e;return Jo(t,n,r,a)}else if(typeof e=="string")return X2(eh[e]!==void 0),eh[e];return e};function RS(e,t,n){const r=[],a=n||Fg,i=e.length-1;for(let o=0;ot[0];if(i===2&&e[0]===e[1])return()=>t[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const o=RS(t,r,a),s=o.length,l=u=>{let c=0;if(s>1)for(;cl(yr(e[0],e[i-1],u)):l}function NS(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const a=Wi(0,t,r);e.push(it(n,1,a))}}function zS(e){const t=[0];return NS(t,e.length-1),t}function PS(e,t){return e.map(n=>n*t)}function VS(e,t){return e.map(()=>t||qg).splice(0,e.length-1)}function Jl({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const a=AS(r)?r.map(th):th(r),i={done:!1,value:t[0]},o=PS(n&&n.length===t.length?n:zS(t),e),s=kS(o,t,{ease:Array.isArray(a)?a:VS(t,a)});return{calculatedDuration:e,next:l=>(i.value=s(l),i.done=l>=e,i)}}const IS=e=>{const t=({timestamp:n})=>e(n);return{start:()=>Ze.update(t,!0),stop:()=>Qr(t),now:()=>_t.isProcessing?_t.timestamp:er.now()}},HS={decay:J3,inertia:J3,tween:Jl,keyframes:Jl,spring:Wg},DS=e=>e/100;class t4 extends Bg{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:l}=this.options;l&&l()};const{name:n,motionValue:r,element:a,keyframes:i}=this.options,o=(a==null?void 0:a.KeyframeResolver)||Xf,s=(l,u)=>this.onKeyframesResolved(l,u);this.resolver=new o(i,s,n,r,a),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:a=0,repeatType:i,velocity:o=0}=this.options,s=jf(n)?n:HS[n]||Jl;let l,u;s!==Jl&&typeof t[0]!="number"&&(l=ts(DS,Fg(t[0],t[1])),t=[0,100]);const c=s({...this.options,keyframes:t});i==="mirror"&&(u=s({...this.options,keyframes:[...t].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=og(c));const{calculatedDuration:d}=c,f=d+a,h=f*(r+1)-a;return{generator:c,mirroredGenerator:u,mapPercentToKeyframes:l,calculatedDuration:d,resolvedDuration:f,totalDuration:h}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:r}=this;if(!r){const{keyframes:T}=this.options;return{done:!0,value:T[T.length-1]}}const{finalKeyframe:a,generator:i,mirroredGenerator:o,mapPercentToKeyframes:s,keyframes:l,calculatedDuration:u,totalDuration:c,resolvedDuration:d}=r;if(this.startTime===null)return i.next(0);const{delay:f,repeat:h,repeatType:g,repeatDelay:w,onUpdate:M}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-c/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const y=this.currentTime-f*(this.speed>=0?1:-1),v=this.speed>=0?y<0:y>c;this.currentTime=Math.max(y,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let x=this.currentTime,b=i;if(h){const T=Math.min(this.currentTime,c)/d;let A=Math.floor(T),_=T%1;!_&&T>=1&&(_=1),_===1&&A--,A=Math.min(A,h+1),!!(A%2)&&(g==="reverse"?(_=1-_,w&&(_-=w/d)):g==="mirror"&&(b=o)),x=yr(0,1,_)*d}const S=v?{done:!1,value:l[0]}:b.next(x);s&&(S.value=s(S.value));let{done:E}=S;!v&&u!==null&&(E=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const C=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return C&&a!==void 0&&(S.value=W0(l,this.options,a)),M&&M(S.value),C&&this.finish(),S}get duration(){const{resolved:t}=this;return t?fr(t.calculatedDuration):0}get time(){return fr(this.currentTime)}set time(t){t=dr(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=fr(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=IS,onPlay:n,startTime:r}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),n&&n();const a=this.driver.now();this.holdTime!==null?this.startTime=a-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=a):this.startTime=r??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const jS=new Set(["opacity","clipPath","filter","transform"]);function OS(e,t,n,{delay:r=0,duration:a=300,repeat:i=0,repeatType:o="loop",ease:s="easeInOut",times:l}={}){const u={[t]:n};l&&(u.offset=l);const c=ug(s,a);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:a,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:i+1,direction:o==="reverse"?"alternate":"normal"})}const BS=Hf(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),e0=10,$S=2e4;function FS(e){return jf(e.type)||e.type==="spring"||!lg(e.ease)}function US(e,t){const n=new t4({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const a=[];let i=0;for(;!r.done&&i<$S;)r=n.sample(i),a.push(r.value),i+=e0;return{times:void 0,keyframes:a,duration:i-e0,ease:"linear"}}const Gg={anticipate:bg,backInOut:Mg,circInOut:Eg};function WS(e){return e in Gg}class nh extends Bg{constructor(t){super(t);const{name:n,motionValue:r,element:a,keyframes:i}=this.options;this.resolver=new Og(i,(o,s)=>this.onKeyframesResolved(o,s),n,r,a),this.resolver.scheduleResolve()}initPlayback(t,n){var r;let{duration:a=300,times:i,ease:o,type:s,motionValue:l,name:u,startTime:c}=this.options;if(!(!((r=l.owner)===null||r===void 0)&&r.current))return!1;if(typeof o=="string"&&Ql()&&WS(o)&&(o=Gg[o]),FS(this.options)){const{onComplete:f,onUpdate:h,motionValue:g,element:w,...M}=this.options,y=US(t,M);t=y.keyframes,t.length===1&&(t[1]=t[0]),a=y.duration,i=y.times,o=y.ease,s="keyframes"}const d=OS(l.owner.current,u,t,{...this.options,duration:a,times:i,ease:o});return d.startTime=c??this.calcStartTime(),this.pendingTimeline?(I3(d,this.pendingTimeline),this.pendingTimeline=void 0):d.onfinish=()=>{const{onComplete:f}=this.options;l.set(W0(t,this.options,n)),f&&f(),this.cancel(),this.resolveFinishedPromise()},{animation:d,duration:a,times:i,type:s,ease:o,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return fr(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return fr(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=dr(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:n}=t;return n.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return ln;const{animation:r}=n;I3(r,t)}return ln}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:r,duration:a,type:i,ease:o,times:s}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:u,onUpdate:c,onComplete:d,element:f,...h}=this.options,g=new t4({...h,keyframes:r,duration:a,type:i,ease:o,times:s,isGenerator:!0}),w=dr(this.time);u.setWithVelocity(g.sample(w-e0).value,g.sample(w).value,e0)}const{onStop:l}=this.options;l&&l(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:r,repeatDelay:a,repeatType:i,damping:o,type:s}=t;return BS()&&r&&jS.has(r)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!a&&i!=="mirror"&&o!==0&&s!=="inertia"}}const qS={type:"spring",stiffness:500,damping:25,restSpeed:10},GS=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),KS={type:"keyframes",duration:.8},XS={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},YS=(e,{keyframes:t})=>t.length>2?KS:Qa.has(e)?e.startsWith("scale")?GS(t[1]):qS:XS;function QS({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:a,repeat:i,repeatType:o,repeatDelay:s,from:l,elapsed:u,...c}){return!!Object.keys(c).length}const n4=(e,t,n,r={},a,i)=>o=>{const s=Df(r,e)||{},l=s.delay||r.delay||0;let{elapsed:u=0}=r;u=u-dr(l);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-u,onUpdate:f=>{t.set(f),s.onUpdate&&s.onUpdate(f)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:i?void 0:a};QS(s)||(c={...c,...YS(e,c)}),c.duration&&(c.duration=dr(c.duration)),c.repeatDelay&&(c.repeatDelay=dr(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(c.duration=0,c.delay===0&&(d=!0)),d&&!i&&t.get()!==void 0){const f=W0(c.keyframes,s);if(f!==void 0)return Ze.update(()=>{c.onUpdate(f),c.onComplete()}),new ab([])}return!i&&nh.supports(c)?new nh(c):new t4(c)};function ZS({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Kg(e,t,{delay:n=0,transitionOverride:r,type:a}={}){var i;let{transition:o=e.getDefaultTransition(),transitionEnd:s,...l}=t;r&&(o=r);const u=[],c=a&&e.animationState&&e.animationState.getState()[a];for(const d in l){const f=e.getValue(d,(i=e.latestValues[d])!==null&&i!==void 0?i:null),h=l[d];if(h===void 0||c&&ZS(c,d))continue;const g={delay:n,...Df(o||{},d)};let w=!1;if(window.MotionHandoffAnimation){const y=gg(e);if(y){const v=window.MotionHandoffAnimation(y,d,Ze);v!==null&&(g.startTime=v,w=!0)}}Z2(e,d),f.start(n4(d,f,h,e.shouldReduceMotion&&Qa.has(d)?{type:!1}:g,e,w));const M=f.animation;M&&u.push(M)}return s&&Promise.all(u).then(()=>{Ze.update(()=>{s&&Sb(e,s)})}),u}function id(e,t,n={}){var r;const a=U0(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=a||{};n.transitionOverride&&(i=n.transitionOverride);const o=a?()=>Promise.all(Kg(e,a,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=i;return JS(e,t,c+u,d,f,n)}:()=>Promise.resolve(),{when:l}=i;if(l){const[u,c]=l==="beforeChildren"?[o,s]:[s,o];return u().then(()=>c())}else return Promise.all([o(),s(n.delay)])}function JS(e,t,n=0,r=0,a=1,i){const o=[],s=(e.variantChildren.size-1)*r,l=a===1?(u=0)=>u*r:(u=0)=>s-u*r;return Array.from(e.variantChildren).sort(eE).forEach((u,c)=>{u.notify("AnimationStart",t),o.push(id(u,t,{...i,delay:n+l(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(o)}function eE(e,t){return e.sortNodePosition(t)}function tE(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const a=t.map(i=>id(e,i,n));r=Promise.all(a)}else if(typeof t=="string")r=id(e,t,n);else{const a=typeof t=="function"?U0(e,t,n.custom):t;r=Promise.all(Kg(e,a,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const nE=If.length;function Xg(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Xg(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;nPromise.all(t.map(({animation:n,options:r})=>tE(e,n,r)))}function oE(e){let t=iE(e),n=rh(),r=!0;const a=l=>(u,c)=>{var d;const f=U0(e,c,l==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:h,transitionEnd:g,...w}=f;u={...u,...w,...g}}return u};function i(l){t=l(e)}function o(l){const{props:u}=e,c=Xg(e.parent)||{},d=[],f=new Set;let h={},g=1/0;for(let M=0;Mg&&b,A=!1;const _=Array.isArray(x)?x:[x];let I=_.reduce(a(y),{});S===!1&&(I={});const{prevResolvedValues:R={}}=v,P={...R,...I},V=z=>{T=!0,f.has(z)&&(A=!0,f.delete(z)),v.needsAnimating[z]=!0;const k=e.getValue(z);k&&(k.liveStyle=!1)};for(const z in P){const k=I[z],q=R[z];if(h.hasOwnProperty(z))continue;let F=!1;K2(k)&&K2(q)?F=!ig(k,q):F=k!==q,F?k!=null?V(z):f.add(z):k!==void 0&&f.has(z)?V(z):v.protectedKeys[z]=!0}v.prevProp=x,v.prevResolvedValues=I,v.isActive&&(h={...h,...I}),r&&e.blockInitialAnimation&&(T=!1),T&&(!(E&&C)||A)&&d.push(..._.map(z=>({animation:z,options:{type:y}})))}if(f.size){const M={};f.forEach(y=>{const v=e.getBaseTarget(y),x=e.getValue(y);x&&(x.liveStyle=!0),M[y]=v??null}),d.push({animation:M})}let w=!!d.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(w=!1),r=!1,w?t(d):Promise.resolve()}function s(l,u){var c;if(n[l].isActive===u)return Promise.resolve();(c=e.variantChildren)===null||c===void 0||c.forEach(f=>{var h;return(h=f.animationState)===null||h===void 0?void 0:h.setActive(l,u)}),n[l].isActive=u;const d=o(l);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:o,setActive:s,setAnimateFunction:i,getState:()=>n,reset:()=>{n=rh(),r=!0}}}function sE(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!ig(t,e):!1}function pa(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function rh(){return{animate:pa(!0),whileInView:pa(),whileHover:pa(),whileTap:pa(),whileDrag:pa(),whileFocus:pa(),exit:pa()}}class la{constructor(t){this.isMounted=!1,this.node=t}update(){}}class lE extends la{constructor(t){super(t),t.animationState||(t.animationState=oE(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();F0(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let uE=0;class cE extends la{constructor(){super(...arguments),this.id=uE++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const a=this.node.animationState.setActive("exit",!t);n&&!t&&a.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const dE={animation:{Feature:lE},exit:{Feature:cE}};function Po(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function ns(e){return{point:{x:e.pageX,y:e.pageY}}}const fE=e=>t=>Bf(t)&&e(t,ns(t));function ao(e,t,n,r){return Po(e,t,fE(n),r)}const ah=(e,t)=>Math.abs(e-t);function hE(e,t){const n=ah(e.x,t.x),r=ah(e.y,t.y);return Math.sqrt(n**2+r**2)}class Yg{constructor(t,n,{transformPagePoint:r,contextWindow:a,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=wc(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,h=hE(d.offset,{x:0,y:0})>=3;if(!f&&!h)return;const{point:g}=d,{timestamp:w}=_t;this.history.push({...g,timestamp:w});const{onStart:M,onMove:y}=this.handlers;f||(M&&M(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),y&&y(this.lastMoveEvent,d)},this.handlePointerMove=(d,f)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=yc(f,this.transformPagePoint),Ze.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:h,onSessionEnd:g,resumeAnimation:w}=this.handlers;if(this.dragSnapToOrigin&&w&&w(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const M=wc(d.type==="pointercancel"?this.lastMoveEventInfo:yc(f,this.transformPagePoint),this.history);this.startEvent&&h&&h(d,M),g&&g(d,M)},!Bf(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=r,this.contextWindow=a||window;const o=ns(t),s=yc(o,this.transformPagePoint),{point:l}=s,{timestamp:u}=_t;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=n;c&&c(t,wc(s,this.history)),this.removeListeners=ts(ao(this.contextWindow,"pointermove",this.handlePointerMove),ao(this.contextWindow,"pointerup",this.handlePointerUp),ao(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Qr(this.updatePoint)}}function yc(e,t){return t?{point:t(e.point)}:e}function ih(e,t){return{x:e.x-t.x,y:e.y-t.y}}function wc({point:e},t){return{point:e,delta:ih(e,Qg(t)),offset:ih(e,mE(t)),velocity:pE(t,.1)}}function mE(e){return e[0]}function Qg(e){return e[e.length-1]}function pE(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const a=Qg(e);for(;n>=0&&(r=e[n],!(a.timestamp-r.timestamp>dr(t)));)n--;if(!r)return{x:0,y:0};const i=fr(a.timestamp-r.timestamp);if(i===0)return{x:0,y:0};const o={x:(a.x-r.x)/i,y:(a.y-r.y)/i};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function Si(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}const Zg=1e-4,gE=1-Zg,vE=1+Zg,Jg=.01,yE=0-Jg,wE=0+Jg;function dn(e){return e.max-e.min}function xE(e,t,n){return Math.abs(e-t)<=n}function oh(e,t,n,r=.5){e.origin=r,e.originPoint=it(t.min,t.max,e.origin),e.scale=dn(n)/dn(t),e.translate=it(n.min,n.max,e.origin)-e.originPoint,(e.scale>=gE&&e.scale<=vE||isNaN(e.scale))&&(e.scale=1),(e.translate>=yE&&e.translate<=wE||isNaN(e.translate))&&(e.translate=0)}function io(e,t,n,r){oh(e.x,t.x,n.x,r?r.originX:void 0),oh(e.y,t.y,n.y,r?r.originY:void 0)}function sh(e,t,n){e.min=n.min+t.min,e.max=e.min+dn(t)}function ME(e,t,n){sh(e.x,t.x,n.x),sh(e.y,t.y,n.y)}function lh(e,t,n){e.min=t.min-n.min,e.max=e.min+dn(t)}function oo(e,t,n){lh(e.x,t.x,n.x),lh(e.y,t.y,n.y)}function bE(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?it(n,e,r.max):Math.min(e,n)),e}function uh(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function SE(e,{top:t,left:n,bottom:r,right:a}){return{x:uh(e.x,n,a),y:uh(e.y,t,r)}}function ch(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=Wi(t.min,t.max-r,e.min):r>a&&(n=Wi(e.min,e.max-a,t.min)),yr(0,1,n)}function TE(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const od=.35;function LE(e=od){return e===!1?e=0:e===!0&&(e=od),{x:dh(e,"left","right"),y:dh(e,"top","bottom")}}function dh(e,t,n){return{min:fh(e,t),max:fh(e,n)}}function fh(e,t){return typeof e=="number"?e:e[t]||0}const hh=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ei=()=>({x:hh(),y:hh()}),mh=()=>({min:0,max:0}),dt=()=>({x:mh(),y:mh()});function wn(e){return[e("x"),e("y")]}function ev({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function _E({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function AE(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function xc(e){return e===void 0||e===1}function sd({scale:e,scaleX:t,scaleY:n}){return!xc(e)||!xc(t)||!xc(n)}function Ma(e){return sd(e)||tv(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function tv(e){return ph(e.x)||ph(e.y)}function ph(e){return e&&e!=="0%"}function t0(e,t,n){const r=e-n,a=t*r;return n+a}function gh(e,t,n,r,a){return a!==void 0&&(e=t0(e,a,r)),t0(e,n,r)+t}function ld(e,t=0,n=1,r,a){e.min=gh(e.min,t,n,r,a),e.max=gh(e.max,t,n,r,a)}function nv(e,{x:t,y:n}){ld(e.x,t.translate,t.scale,t.originPoint),ld(e.y,n.translate,n.scale,n.originPoint)}const vh=.999999999999,yh=1.0000000000001;function RE(e,t,n,r=!1){const a=n.length;if(!a)return;t.x=t.y=1;let i,o;for(let s=0;svh&&(t.x=1),t.yvh&&(t.y=1)}function Ci(e,t){e.min=e.min+t,e.max=e.max+t}function wh(e,t,n,r,a=.5){const i=it(e.min,e.max,a);ld(e,t,n,i,r)}function Ti(e,t){wh(e.x,t.x,t.scaleX,t.scale,t.originX),wh(e.y,t.y,t.scaleY,t.scale,t.originY)}function rv(e,t){return ev(AE(e.getBoundingClientRect(),t))}function kE(e,t,n){const r=rv(e,n),{scroll:a}=t;return a&&(Ci(r.x,a.offset.x),Ci(r.y,a.offset.y)),r}const av=({current:e})=>e?e.ownerDocument.defaultView:null,NE=new WeakMap;class zE{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=dt(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const a=c=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(ns(c).point)},i=(c,d)=>{const{drag:f,dragPropagation:h,onDragStart:g}=this.getProps();if(f&&!h&&(this.openDragLock&&this.openDragLock(),this.openDragLock=hb(f),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),wn(M=>{let y=this.getAxisMotionValue(M).get()||0;if(tr.test(y)){const{projection:v}=this.visualElement;if(v&&v.layout){const x=v.layout.layoutBox[M];x&&(y=dn(x)*(parseFloat(y)/100))}}this.originPoint[M]=y}),g&&Ze.postRender(()=>g(c,d)),Z2(this.visualElement,"transform");const{animationState:w}=this.visualElement;w&&w.setActive("whileDrag",!0)},o=(c,d)=>{const{dragPropagation:f,dragDirectionLock:h,onDirectionLock:g,onDrag:w}=this.getProps();if(!f&&!this.openDragLock)return;const{offset:M}=d;if(h&&this.currentDirection===null){this.currentDirection=PE(M),this.currentDirection!==null&&g&&g(this.currentDirection);return}this.updateAxis("x",d.point,M),this.updateAxis("y",d.point,M),this.visualElement.render(),w&&w(c,d)},s=(c,d)=>this.stop(c,d),l=()=>wn(c=>{var d;return this.getAnimationState(c)==="paused"&&((d=this.getAxisMotionValue(c).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new Yg(t,{onSessionStart:a,onStart:i,onMove:o,onSessionEnd:s,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:av(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:a}=n;this.startAnimation(a);const{onDragEnd:i}=this.getProps();i&&Ze.postRender(()=>i(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:a}=this.getProps();if(!r||!Bs(t,a,this.currentDirection))return;const i=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=bE(o,this.constraints[t],this.elastic[t])),i.set(o)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),a=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,i=this.constraints;n&&Si(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&a?this.constraints=SE(a.layoutBox,n):this.constraints=!1,this.elastic=LE(r),i!==this.constraints&&a&&this.constraints&&!this.hasMutatedConstraints&&wn(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=TE(a.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Si(t))return!1;const r=t.current,{projection:a}=this.visualElement;if(!a||!a.layout)return!1;const i=kE(r,a.root,this.visualElement.getTransformPagePoint());let o=EE(a.layout.layoutBox,i);if(n){const s=n(_E(o));this.hasMutatedConstraints=!!s,s&&(o=ev(s))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:a,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),l=this.constraints||{},u=wn(c=>{if(!Bs(c,n,this.currentDirection))return;let d=l[c]||{};o&&(d={min:0,max:0});const f=a?200:1e6,h=a?40:1e7,g={type:"inertia",velocity:r?t[c]:0,bounceStiffness:f,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...i,...d};return this.startAxisValueAnimation(c,g)});return Promise.all(u).then(s)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Z2(this.visualElement,t),r.start(n4(t,r,0,n,this.visualElement,!1))}stopAnimation(){wn(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){wn(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),a=r[n];return a||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){wn(n=>{const{drag:r}=this.getProps();if(!Bs(n,r,this.currentDirection))return;const{projection:a}=this.visualElement,i=this.getAxisMotionValue(n);if(a&&a.layout){const{min:o,max:s}=a.layout.layoutBox[n];i.set(t[n]-it(o,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Si(n)||!r||!this.constraints)return;this.stopAnimation();const a={x:0,y:0};wn(o=>{const s=this.getAxisMotionValue(o);if(s&&this.constraints!==!1){const l=s.get();a[o]=CE({min:l,max:l},this.constraints[o])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),wn(o=>{if(!Bs(o,t,null))return;const s=this.getAxisMotionValue(o),{min:l,max:u}=this.constraints[o];s.set(it(l,u,a[o]))})}addListeners(){if(!this.visualElement.current)return;NE.set(this.visualElement,this);const t=this.visualElement.current,n=ao(t,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();Si(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:a}=this.visualElement,i=a.addEventListener("measure",r);a&&!a.layout&&(a.root&&a.root.updateScroll(),a.updateLayout()),Ze.read(r);const o=Po(window,"resize",()=>this.scalePositionWithinConstraints()),s=a.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(wn(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=l[c].translate,d.set(d.get()+l[c].translate))}),this.visualElement.render())});return()=>{o(),n(),i(),s&&s()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:a=!1,dragConstraints:i=!1,dragElastic:o=od,dragMomentum:s=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:a,dragConstraints:i,dragElastic:o,dragMomentum:s}}}function Bs(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function PE(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class VE extends la{constructor(t){super(t),this.removeGroupControls=ln,this.removeListeners=ln,this.controls=new zE(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ln}unmount(){this.removeGroupControls(),this.removeListeners()}}const xh=e=>(t,n)=>{e&&Ze.postRender(()=>e(t,n))};class IE extends la{constructor(){super(...arguments),this.removePointerDownListener=ln}onPointerDown(t){this.session=new Yg(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:av(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:a}=this.node.getProps();return{onSessionStart:xh(t),onStart:xh(n),onMove:r,onEnd:(i,o)=>{delete this.session,a&&Ze.postRender(()=>a(i,o))}}}mount(){this.removePointerDownListener=ao(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const q0=p.createContext(null);function HE(){const e=p.useContext(q0);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,a=p.useId();p.useEffect(()=>r(a),[]);const i=p.useCallback(()=>n&&n(a),[a,n]);return!t&&n?[!1,i]:[!0]}const r4=p.createContext({}),iv=p.createContext({}),vl={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Mh(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const _1={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(ve.test(e))e=parseFloat(e);else return e;const n=Mh(e,t.target.x),r=Mh(e,t.target.y);return`${n}% ${r}%`}},DE={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,a=Zr.parse(e);if(a.length>5)return r;const i=Zr.createTransformer(e),o=typeof a[0]!="number"?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;a[0+o]/=s,a[1+o]/=l;const u=it(s,l,.5);return typeof a[2+o]=="number"&&(a[2+o]/=u),typeof a[3+o]=="number"&&(a[3+o]/=u),i(a)}},n0={};function jE(e){Object.assign(n0,e)}const{schedule:a4,cancel:bre}=hg(queueMicrotask,!1);class OE extends p.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:a}=this.props,{projection:i}=t;jE(BE),i&&(n.group&&n.group.add(i),r&&r.register&&a&&r.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),vl.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:a,isPresent:i}=this.props,o=r.projection;return o&&(o.isPresent=i,a||t.layoutDependency!==n||n===void 0?o.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?o.promote():o.relegate()||Ze.postRender(()=>{const s=o.getStack();(!s||!s.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),a4.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:a}=t;a&&(a.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(a),r&&r.deregister&&r.deregister(a))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function ov(e){const[t,n]=HE(),r=p.useContext(r4);return Z.jsx(OE,{...e,layoutGroup:r,switchLayoutGroup:p.useContext(iv),isPresent:t,safeToRemove:n})}const BE={borderRadius:{..._1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:_1,borderTopRightRadius:_1,borderBottomLeftRadius:_1,borderBottomRightRadius:_1,boxShadow:DE};function $E(e,t,n){const r=Ht(e)?e:ko(e);return r.start(n4("",r,t,n)),r.animation}function FE(e){return e instanceof SVGElement&&e.tagName!=="svg"}const UE=(e,t)=>e.depth-t.depth;class WE{constructor(){this.children=[],this.isDirty=!1}add(t){$f(this.children,t),this.isDirty=!0}remove(t){Ff(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(UE),this.isDirty=!1,this.children.forEach(t)}}function qE(e,t){const n=er.now(),r=({timestamp:a})=>{const i=a-n;i>=t&&(Qr(r),e(i-t))};return Ze.read(r,!0),()=>Qr(r)}function yl(e){const t=Ht(e)?e.get():e;return mb(t)?t.toValue():t}const sv=["TopLeft","TopRight","BottomLeft","BottomRight"],GE=sv.length,bh=e=>typeof e=="string"?parseFloat(e):e,Sh=e=>typeof e=="number"||ve.test(e);function KE(e,t,n,r,a,i){a?(e.opacity=it(0,n.opacity!==void 0?n.opacity:1,XE(r)),e.opacityExit=it(t.opacity!==void 0?t.opacity:1,0,YE(r))):i&&(e.opacity=it(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let o=0;ort?1:n(Wi(e,t,r))}function Ch(e,t){e.min=t.min,e.max=t.max}function yn(e,t){Ch(e.x,t.x),Ch(e.y,t.y)}function Th(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Lh(e,t,n,r,a){return e-=t,e=t0(e,1/n,r),a!==void 0&&(e=t0(e,1/a,r)),e}function QE(e,t=0,n=1,r=.5,a,i=e,o=e){if(tr.test(t)&&(t=parseFloat(t),t=it(o.min,o.max,t/100)-o.min),typeof t!="number")return;let s=it(i.min,i.max,r);e===i&&(s-=t),e.min=Lh(e.min,t,n,s,a),e.max=Lh(e.max,t,n,s,a)}function _h(e,t,[n,r,a],i,o){QE(e,t[n],t[r],t[a],t.scale,i,o)}const ZE=["x","scaleX","originX"],JE=["y","scaleY","originY"];function Ah(e,t,n,r){_h(e.x,t,ZE,n?n.x:void 0,r?r.x:void 0),_h(e.y,t,JE,n?n.y:void 0,r?r.y:void 0)}function Rh(e){return e.translate===0&&e.scale===1}function uv(e){return Rh(e.x)&&Rh(e.y)}function kh(e,t){return e.min===t.min&&e.max===t.max}function eC(e,t){return kh(e.x,t.x)&&kh(e.y,t.y)}function Nh(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function cv(e,t){return Nh(e.x,t.x)&&Nh(e.y,t.y)}function zh(e){return dn(e.x)/dn(e.y)}function Ph(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class tC{constructor(){this.members=[]}add(t){$f(this.members,t),t.scheduleRender()}remove(t){if(Ff(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(a=>t===a);if(n===0)return!1;let r;for(let a=n;a>=0;a--){const i=this.members[a];if(i.isPresent!==!1){r=i;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:a}=t.options;a===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function nC(e,t,n){let r="";const a=e.x.translate/t.x,i=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((a||i||o)&&(r=`translate3d(${a}px, ${i}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:c,rotateX:d,rotateY:f,skewX:h,skewY:g}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),d&&(r+=`rotateX(${d}deg) `),f&&(r+=`rotateY(${f}deg) `),h&&(r+=`skewX(${h}deg) `),g&&(r+=`skewY(${g}deg) `)}const s=e.x.scale*t.x,l=e.y.scale*t.y;return(s!==1||l!==1)&&(r+=`scale(${s}, ${l})`),r||"none"}const ba={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},W1=typeof window<"u"&&window.MotionDebug!==void 0,Mc=["","X","Y","Z"],rC={visibility:"hidden"},Vh=1e3;let aC=0;function bc(e,t,n,r){const{latestValues:a}=t;a[e]&&(n[e]=a[e],t.setStaticValue(e,0),r&&(r[e]=0))}function dv(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=gg(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:a,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",Ze,!(a||i))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&dv(r)}function fv({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:a}){return class{constructor(o={},s=t==null?void 0:t()){this.id=aC++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,W1&&(ba.totalNodes=ba.resolvedTargetDeltas=ba.recalculatedProjection=0),this.nodes.forEach(sC),this.nodes.forEach(fC),this.nodes.forEach(hC),this.nodes.forEach(lC),W1&&window.MotionDebug.record(ba)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=s?s.root||s:this,this.path=s?[...s.path,s]:[],this.parent=s,this.depth=s?s.depth+1:0;for(let l=0;lthis.root.updateBlockedByResize=!1;e(o,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=qE(f,250),vl.hasAnimatedSinceResize&&(vl.hasAnimatedSinceResize=!1,this.nodes.forEach(Hh))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||u)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeTargetChanged:h,layout:g})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const w=this.options.transition||c.getDefaultTransition()||yC,{onLayoutAnimationStart:M,onLayoutAnimationComplete:y}=c.getProps(),v=!this.targetLayout||!cv(this.targetLayout,g)||h,x=!f&&h;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||x||f&&(v||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,x);const b={...Df(w,"layout"),onPlay:M,onComplete:y};(c.shouldReduceMotion||this.options.layoutRoot)&&(b.delay=0,b.type=!1),this.startAnimation(b)}else f||Hh(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=g})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Qr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(mC),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&dv(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{const S=b/1e3;Dh(d.x,o.x,S),Dh(d.y,o.y,S),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(oo(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),gC(this.relativeTarget,this.relativeTargetOrigin,f,S),x&&eC(this.relativeTarget,x)&&(this.isProjectionDirty=!1),x||(x=dt()),yn(x,this.relativeTarget)),w&&(this.animationValues=c,KE(c,u,this.latestValues,S,v,y)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=S},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Qr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ze.update(()=>{vl.hasAnimatedSinceResize=!0,this.currentAnimation=$E(0,Vh,{...o,onUpdate:s=>{this.mixTargetDelta(s),o.onUpdate&&o.onUpdate(s)},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Vh),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:s,target:l,layout:u,latestValues:c}=o;if(!(!s||!l||!u)){if(this!==o&&this.layout&&u&&hv(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||dt();const d=dn(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+d;const f=dn(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+f}yn(s,l),Ti(s,c),io(this.projectionDeltaWithTransform,this.layoutCorrected,s,c)}}registerSharedNode(o,s){this.sharedNodes.has(o)||this.sharedNodes.set(o,new tC),this.sharedNodes.get(o).add(s);const u=s.options.initialPromotionConfig;s.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(s):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:s}=this.options;return s?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:s}=this.options;return s?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:s,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),o&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let s=!1;const{latestValues:l}=o;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(s=!0),!s)return;const u={};l.z&&bc("z",o,u,this.animationValues);for(let c=0;c{var s;return(s=o.currentAnimation)===null||s===void 0?void 0:s.stop()}),this.root.nodes.forEach(Ih),this.root.sharedNodes.clear()}}}function iC(e){e.updateLayout()}function oC(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:a}=e.layout,{animationType:i}=e.options,o=n.source!==e.layout.source;i==="size"?wn(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],h=dn(f);f.min=r[d].min,f.max=f.min+h}):hv(i,n.layoutBox,r)&&wn(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],h=dn(r[d]);f.max=f.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+h)});const s=Ei();io(s,r,n.layoutBox);const l=Ei();o?io(l,e.applyTransform(a,!0),n.measuredBox):io(l,r,n.layoutBox);const u=!uv(s);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:h}=d;if(f&&h){const g=dt();oo(g,n.layoutBox,f.layoutBox);const w=dt();oo(w,r,h.layoutBox),cv(g,w)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=w,e.relativeTargetOrigin=g,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:s,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function sC(e){W1&&ba.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function lC(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function uC(e){e.clearSnapshot()}function Ih(e){e.clearMeasurements()}function cC(e){e.isLayoutDirty=!1}function dC(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Hh(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function fC(e){e.resolveTargetDelta()}function hC(e){e.calcProjection()}function mC(e){e.resetSkewAndRotation()}function pC(e){e.removeLeadSnapshot()}function Dh(e,t,n){e.translate=it(t.translate,0,n),e.scale=it(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function jh(e,t,n,r){e.min=it(t.min,n.min,r),e.max=it(t.max,n.max,r)}function gC(e,t,n,r){jh(e.x,t.x,n.x,r),jh(e.y,t.y,n.y,r)}function vC(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const yC={duration:.45,ease:[.4,0,.1,1]},Oh=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Bh=Oh("applewebkit/")&&!Oh("chrome/")?Math.round:ln;function $h(e){e.min=Bh(e.min),e.max=Bh(e.max)}function wC(e){$h(e.x),$h(e.y)}function hv(e,t,n){return e==="position"||e==="preserve-aspect"&&!xE(zh(t),zh(n),.2)}function xC(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const MC=fv({attachResizeListener:(e,t)=>Po(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Sc={current:void 0},mv=fv({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Sc.current){const e=new MC({});e.mount(window),e.setOptions({layoutScroll:!0}),Sc.current=e}return Sc.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),bC={pan:{Feature:IE},drag:{Feature:VE,ProjectionNode:mv,MeasureLayout:ov}};function Fh(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const a="onHover"+n,i=r[a];i&&Ze.postRender(()=>i(t,ns(t)))}class SC extends la{mount(){const{current:t}=this.node;t&&(this.unmount=lb(t,n=>(Fh(this.node,n,"Start"),r=>Fh(this.node,r,"End"))))}unmount(){}}class EC extends la{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=ts(Po(this.node.current,"focus",()=>this.onFocus()),Po(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Uh(e,t,n){const{props:r}=e;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const a="onTap"+(n==="End"?"":n),i=r[a];i&&Ze.postRender(()=>i(t,ns(t)))}class CC extends la{mount(){const{current:t}=this.node;t&&(this.unmount=fb(t,n=>(Uh(this.node,n,"Start"),(r,{success:a})=>Uh(this.node,r,a?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const ud=new WeakMap,Ec=new WeakMap,TC=e=>{const t=ud.get(e.target);t&&t(e)},LC=e=>{e.forEach(TC)};function _C({root:e,...t}){const n=e||document;Ec.has(n)||Ec.set(n,{});const r=Ec.get(n),a=JSON.stringify(t);return r[a]||(r[a]=new IntersectionObserver(LC,{root:e,...t})),r[a]}function AC(e,t,n){const r=_C(t);return ud.set(e,n),r.observe(e),()=>{ud.delete(e),r.unobserve(e)}}const RC={some:0,all:1};class kC extends la{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:a="some",once:i}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof a=="number"?a:RC[a]},s=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,i&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),f=u?c:d;f&&f(l)};return AC(this.node.current,o,s)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(NC(t,n))&&this.startObserver()}unmount(){}}function NC({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const zC={inView:{Feature:kC},tap:{Feature:CC},focus:{Feature:EC},hover:{Feature:SC}},PC={layout:{ProjectionNode:mv,MeasureLayout:ov}},pv=p.createContext({strict:!1}),i4=p.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),G0=p.createContext({});function K0(e){return F0(e.animate)||If.some(t=>Ro(e[t]))}function gv(e){return!!(K0(e)||e.variants)}function VC(e,t){if(K0(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Ro(n)?n:void 0,animate:Ro(r)?r:void 0}}return e.inherit!==!1?t:{}}function IC(e){const{initial:t,animate:n}=VC(e,p.useContext(G0));return p.useMemo(()=>({initial:t,animate:n}),[Wh(t),Wh(n)])}function Wh(e){return Array.isArray(e)?e.join(" "):e}const o4=typeof window<"u",qh={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Gi={};for(const e in qh)Gi[e]={isEnabled:t=>qh[e].some(n=>!!t[n])};function HC(e){for(const t in e)Gi[t]={...Gi[t],...e[t]}}const DC=Symbol.for("motionComponentSymbol");function jC(e,t,n){return p.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Si(n)&&(n.current=r))},[t])}const vv=o4?p.useLayoutEffect:p.useEffect;function OC(e,t,n,r,a){var i,o;const{visualElement:s}=p.useContext(G0),l=p.useContext(pv),u=p.useContext(q0),c=p.useContext(i4).reducedMotion,d=p.useRef(null);r=r||l.renderer,!d.current&&r&&(d.current=r(e,{visualState:t,parent:s,props:n,presenceContext:u,blockInitialAnimation:u?u.initial===!1:!1,reducedMotionConfig:c}));const f=d.current,h=p.useContext(iv);f&&!f.projection&&a&&(f.type==="html"||f.type==="svg")&&BC(d.current,n,a,h);const g=p.useRef(!1);p.useInsertionEffect(()=>{f&&g.current&&f.update(n,u)});const w=n[pg],M=p.useRef(!!w&&!(!((i=window.MotionHandoffIsComplete)===null||i===void 0)&&i.call(window,w))&&((o=window.MotionHasOptimisedAnimation)===null||o===void 0?void 0:o.call(window,w)));return vv(()=>{f&&(g.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),a4.render(f.render),M.current&&f.animationState&&f.animationState.animateChanges())}),p.useEffect(()=>{f&&(!M.current&&f.animationState&&f.animationState.animateChanges(),M.current&&(queueMicrotask(()=>{var y;(y=window.MotionHandoffMarkAsComplete)===null||y===void 0||y.call(window,w)}),M.current=!1))}),f}function BC(e,t,n,r){const{layoutId:a,layout:i,drag:o,dragConstraints:s,layoutScroll:l,layoutRoot:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:yv(e.parent)),e.projection.setOptions({layoutId:a,layout:i,alwaysMeasureLayout:!!o||s&&Si(s),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}function yv(e){if(e)return e.options.allowProjection!==!1?e.projection:yv(e.parent)}function $C({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:a}){var i,o;e&&HC(e);function s(u,c){let d;const f={...p.useContext(i4),...u,layoutId:FC(u)},{isStatic:h}=f,g=IC(u),w=r(u,h);if(!h&&o4){UC();const M=WC(f);d=M.MeasureLayout,g.visualElement=OC(a,w,f,t,M.ProjectionNode)}return Z.jsxs(G0.Provider,{value:g,children:[d&&g.visualElement?Z.jsx(d,{visualElement:g.visualElement,...f}):null,n(a,u,jC(w,g.visualElement,c),w,h,g.visualElement)]})}s.displayName=`motion.${typeof a=="string"?a:`create(${(o=(i=a.displayName)!==null&&i!==void 0?i:a.name)!==null&&o!==void 0?o:""})`}`;const l=p.forwardRef(s);return l[DC]=a,l}function FC({layoutId:e}){const t=p.useContext(r4).id;return t&&e!==void 0?t+"-"+e:e}function UC(e,t){p.useContext(pv).strict}function WC(e){const{drag:t,layout:n}=Gi;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}const qC=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function s4(e){return typeof e!="string"||e.includes("-")?!1:!!(qC.indexOf(e)>-1||/[A-Z]/u.test(e))}function wv(e,{style:t,vars:n},r,a){Object.assign(e.style,t,a&&a.getProjectionStyles(r));for(const i in n)e.style.setProperty(i,n[i])}const xv=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Mv(e,t,n,r){wv(e,t,void 0,r);for(const a in t.attrs)e.setAttribute(xv.has(a)?a:Wf(a),t.attrs[a])}function bv(e,{layout:t,layoutId:n}){return Qa.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!n0[e]||e==="opacity")}function l4(e,t,n){var r;const{style:a}=e,i={};for(const o in a)(Ht(a[o])||t.style&&Ht(t.style[o])||bv(o,e)||((r=n==null?void 0:n.getValue(o))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(i[o]=a[o]);return i}function Sv(e,t,n){const r=l4(e,t,n);for(const a in e)if(Ht(e[a])||Ht(t[a])){const i=Zo.indexOf(a)!==-1?"attr"+a.charAt(0).toUpperCase()+a.substring(1):a;r[i]=e[a]}return r}function u4(e){const t=p.useRef(null);return t.current===null&&(t.current=e()),t.current}function GC({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,a,i){const o={latestValues:KC(r,a,i,e),renderState:t()};return n&&(o.mount=s=>n(r,s,o)),o}const Ev=e=>(t,n)=>{const r=p.useContext(G0),a=p.useContext(q0),i=()=>GC(e,t,r,a);return n?i():u4(i)};function KC(e,t,n,r){const a={},i=r(e,{});for(const f in i)a[f]=yl(i[f]);let{initial:o,animate:s}=e;const l=K0(e),u=gv(e);t&&u&&!l&&e.inherit!==!1&&(o===void 0&&(o=t.initial),s===void 0&&(s=t.animate));let c=n?n.initial===!1:!1;c=c||o===!1;const d=c?s:o;if(d&&typeof d!="boolean"&&!F0(d)){const f=Array.isArray(d)?d:[d];for(let h=0;h({style:{},transform:{},transformOrigin:{},vars:{}}),Cv=()=>({...c4(),attrs:{}}),Tv=(e,t)=>t&&typeof e=="number"?t.transform(e):e,XC={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},YC=Zo.length;function QC(e,t,n){let r="",a=!0;for(let i=0;itypeof e=="string"&&e.toLowerCase()==="svg",nT={useVisualState:Ev({scrapeMotionValuesFromProps:Sv,createRenderState:Cv,onMount:(e,t,{renderState:n,latestValues:r})=>{Ze.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),Ze.render(()=>{f4(n,r,h4(t.tagName),e.transformTemplate),Mv(t,n)})}})},rT={useVisualState:Ev({scrapeMotionValuesFromProps:l4,createRenderState:c4})};function Lv(e,t,n){for(const r in t)!Ht(t[r])&&!bv(r,n)&&(e[r]=t[r])}function aT({transformTemplate:e},t){return p.useMemo(()=>{const n=c4();return d4(n,t,e),Object.assign({},n.vars,n.style)},[t])}function iT(e,t){const n=e.style||{},r={};return Lv(r,n,e),Object.assign(r,aT(e,t)),r}function oT(e,t){const n={},r=iT(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const sT=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function r0(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||sT.has(e)}let _v=e=>!r0(e);function lT(e){e&&(_v=t=>t.startsWith("on")?!r0(t):e(t))}try{lT(require("@emotion/is-prop-valid").default)}catch{}function uT(e,t,n){const r={};for(const a in e)a==="values"&&typeof e.values=="object"||(_v(a)||n===!0&&r0(a)||!t&&!r0(a)||e.draggable&&a.startsWith("onDrag"))&&(r[a]=e[a]);return r}function cT(e,t,n,r){const a=p.useMemo(()=>{const i=Cv();return f4(i,t,h4(r),e.transformTemplate),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};Lv(i,e.style,e),a.style={...i,...a.style}}return a}function dT(e=!1){return(n,r,a,{latestValues:i},o)=>{const l=(s4(n)?cT:oT)(r,i,o,n),u=uT(r,typeof n=="string",e),c=n!==p.Fragment?{...u,...l,ref:a}:{},{children:d}=r,f=p.useMemo(()=>Ht(d)?d.get():d,[d]);return p.createElement(n,{...c,children:f})}}function fT(e,t){return function(r,{forwardMotionProps:a}={forwardMotionProps:!1}){const o={...s4(r)?nT:rT,preloadedFeatures:e,useRender:dT(a),createVisualElement:t,Component:r};return $C(o)}}const cd={current:null},Av={current:!1};function hT(){if(Av.current=!0,!!o4)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>cd.current=e.matches;e.addListener(t),t()}else cd.current=!1}function mT(e,t,n){for(const r in t){const a=t[r],i=n[r];if(Ht(a))e.addValue(r,a);else if(Ht(i))e.addValue(r,ko(a,{owner:e}));else if(i!==a)if(e.hasValue(r)){const o=e.getValue(r);o.liveStyle===!0?o.jump(a):o.hasAnimated||o.set(a)}else{const o=e.getStaticValue(r);e.addValue(r,ko(o!==void 0?o:a,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Kh=new WeakMap,pT=[...kg,Pt,Zr],gT=e=>pT.find(Rg(e)),Xh=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class vT{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:a,blockInitialAnimation:i,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Xf,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const f=er.now();this.renderScheduledAtthis.bindToMotionValue(r,n)),Av.current||hT(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:cd.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Kh.delete(this.current),this.projection&&this.projection.unmount(),Qr(this.notifyUpdate),Qr(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=Qa.has(t),a=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&Ze.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),i=n.on("renderRequest",this.scheduleRender);let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{a(),i(),o&&o(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Gi){const n=Gi[t];if(!n)continue;const{isEnabled:r,Feature:a}=n;if(!this.features[t]&&a&&r(this.props)&&(this.features[t]=new a(this)),this.features[t]){const i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):dt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;rn.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=ko(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let a=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return a!=null&&(typeof a=="string"&&(Tg(a)||Cg(a))?a=parseFloat(a):!gT(a)&&Zr.test(n)&&(a=jg(t,n)),this.setBaseTarget(t,Ht(a)?a.get():a)),Ht(a)?a.get():a}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props;let a;if(typeof r=="string"||typeof r=="object"){const o=Pf(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);o&&(a=o[t])}if(r&&a!==void 0)return a;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!Ht(i)?i:this.initialValues[t]!==void 0&&a===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Uf),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Rv extends vT{constructor(){super(...arguments),this.KeyframeResolver=Og}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Ht(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function yT(e){return window.getComputedStyle(e)}class wT extends Rv{constructor(){super(...arguments),this.type="html",this.renderInstance=wv}readValueFromInstance(t,n){if(Qa.has(n)){const r=Jf(n);return r&&r.default||0}else{const r=yT(t),a=(_g(n)?r.getPropertyValue(n):r[n])||0;return typeof a=="string"?a.trim():a}}measureInstanceViewportBox(t,{transformPagePoint:n}){return rv(t,n)}build(t,n,r){d4(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return l4(t,n,r)}}class xT extends Rv{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=dt}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Qa.has(n)){const r=Jf(n);return r&&r.default||0}return n=xv.has(n)?n:Wf(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Sv(t,n,r)}build(t,n,r){f4(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,a){Mv(t,n,r,a)}mount(t){this.isSVGTag=h4(t.tagName),super.mount(t)}}const MT=(e,t)=>s4(e)?new xT(t):new wT(t,{allowProjection:e!==p.Fragment}),bT=fT({...dE,...zC,...bC,...PC},MT),kv=tb(bT);class ST extends p.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function ET({children:e,isPresent:t}){const n=p.useId(),r=p.useRef(null),a=p.useRef({width:0,height:0,top:0,left:0}),{nonce:i}=p.useContext(i4);return p.useInsertionEffect(()=>{const{width:o,height:s,top:l,left:u}=a.current;if(t||!r.current||!o||!s)return;r.current.dataset.motionPopId=n;const c=document.createElement("style");return i&&(c.nonce=i),document.head.appendChild(c),c.sheet&&c.sheet.insertRule(` +`+i.stack}return{value:e,source:t,stack:a,digest:null}}function uc(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function z2(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var kM=typeof WeakMap=="function"?WeakMap:Map;function k7(e,t,n){n=cr(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Gl||(Gl=!0,F2=r),z2(e,t)},n}function N7(e,t,n){n=cr(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){z2(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){z2(e,t),typeof r!="function"&&(qr===null?qr=new Set([this]):qr.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function v3(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new kM;var a=new Set;r.set(t,a)}else a=r.get(t),a===void 0&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=WM.bind(null,e,t,n),t.then(e,e))}function y3(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function w3(e,t,n,r,a){return e.mode&1?(e.flags|=65536,e.lanes=a,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=cr(-1,1),t.tag=2,Wr(n,t,1))),n.lanes|=1),e)}var NM=xr.ReactCurrentOwner,Yt=!1;function Bt(e,t,n,r){t.child=e===null?s7(t,null,n,r):Bi(t,e.child,n,r)}function x3(e,t,n,r,a){n=n.render;var i=t.ref;return zi(t,a),r=yf(e,t,n,r,i,a),n=wf(),e!==null&&!Yt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,vr(e,t,a)):(tt&&n&&of(t),t.flags|=1,Bt(e,t,r,a),t.child)}function M3(e,t,n,r,a){if(e===null){var i=n.type;return typeof i=="function"&&!Af(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,z7(e,t,i,r,a)):(e=pl(n.type,null,r,t,t.mode,a),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&a)){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:xo,n(o,r)&&e.ref===t.ref)return vr(e,t,a)}return t.flags|=1,e=Kr(i,r),e.ref=t.ref,e.return=t,t.child=e}function z7(e,t,n,r,a){if(e!==null){var i=e.memoizedProps;if(xo(i,r)&&e.ref===t.ref)if(Yt=!1,t.pendingProps=r=i,(e.lanes&a)!==0)e.flags&131072&&(Yt=!0);else return t.lanes=e.lanes,vr(e,t,a)}return P2(e,t,n,r,a)}function P7(e,t,n){var r=t.pendingProps,a=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ge(Mi,an),an|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ge(Mi,an),an|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,Ge(Mi,an),an|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,Ge(Mi,an),an|=r;return Bt(e,t,a,n),t.child}function V7(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function P2(e,t,n,r,a){var i=Jt(n)?Ha:Dt.current;return i=ji(t,i),zi(t,a),n=yf(e,t,n,r,i,a),r=wf(),e!==null&&!Yt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,vr(e,t,a)):(tt&&r&&of(t),t.flags|=1,Bt(e,t,n,a),t.child)}function b3(e,t,n,r,a){if(Jt(n)){var i=!0;Hl(t)}else i=!1;if(zi(t,a),t.stateNode===null)fl(e,t),R7(t,n,r),N2(t,n,r,a),r=!0;else if(e===null){var o=t.stateNode,s=t.memoizedProps;o.props=s;var l=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=Ln(u):(u=Jt(n)?Ha:Dt.current,u=ji(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof o.getSnapshotBeforeUpdate=="function";d||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(s!==r||l!==u)&&g3(t,o,r,u),zr=!1;var f=t.memoizedState;o.state=f,$l(t,r,o,a),l=t.memoizedState,s!==r||f!==l||Zt.current||zr?(typeof c=="function"&&(k2(t,n,c,r),l=t.memoizedState),(s=zr||p3(t,n,s,r,f,l,u))?(d||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=u,r=s):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,u7(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:In(t.type,s),o.props=u,d=t.pendingProps,f=o.context,l=n.contextType,typeof l=="object"&&l!==null?l=Ln(l):(l=Jt(n)?Ha:Dt.current,l=ji(t,l));var h=n.getDerivedStateFromProps;(c=typeof h=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(s!==d||f!==l)&&g3(t,o,r,l),zr=!1,f=t.memoizedState,o.state=f,$l(t,r,o,a);var g=t.memoizedState;s!==d||f!==g||Zt.current||zr?(typeof h=="function"&&(k2(t,n,h,r),g=t.memoizedState),(u=zr||p3(t,n,u,r,f,g,l)||!1)?(c||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,g,l),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,g,l)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=g),o.props=r,o.state=g,o.context=l,r=u):(typeof o.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return V2(e,t,n,r,i,a)}function V2(e,t,n,r,a,i){V7(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return a&&s3(t,n,!1),vr(e,t,i);r=t.stateNode,NM.current=t;var s=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Bi(t,e.child,null,i),t.child=Bi(t,null,s,i)):Bt(e,t,s,i),t.memoizedState=r.state,a&&s3(t,n,!0),t.child}function I7(e){var t=e.stateNode;t.pendingContext?o3(e,t.pendingContext,t.pendingContext!==t.context):t.context&&o3(e,t.context,!1),mf(e,t.containerInfo)}function S3(e,t,n,r,a){return Oi(),lf(a),t.flags|=256,Bt(e,t,n,r),t.child}var I2={dehydrated:null,treeContext:null,retryLane:0};function H2(e){return{baseLanes:e,cachePool:null,transitions:null}}function H7(e,t,n){var r=t.pendingProps,a=at.current,i=!1,o=(t.flags&128)!==0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(a&2)!==0),s?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(a|=1),Ge(at,a&1),e===null)return A2(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,i?(r=t.mode,i=t.child,o={mode:"hidden",children:o},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=o):i=D0(o,r,0,null),e=za(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=H2(n),t.memoizedState=I2,e):bf(t,o));if(a=e.memoizedState,a!==null&&(s=a.dehydrated,s!==null))return zM(e,t,o,r,s,a,n);if(i){i=r.fallback,o=t.mode,a=e.child,s=a.sibling;var l={mode:"hidden",children:r.children};return!(o&1)&&t.child!==a?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=Kr(a,l),r.subtreeFlags=a.subtreeFlags&14680064),s!==null?i=Kr(s,i):(i=za(i,o,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,o=e.child.memoizedState,o=o===null?H2(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=e.childLanes&~n,t.memoizedState=I2,r}return i=e.child,e=i.sibling,r=Kr(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function bf(e,t){return t=D0({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Vs(e,t,n,r){return r!==null&&lf(r),Bi(t,e.child,null,n),e=bf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function zM(e,t,n,r,a,i,o){if(n)return t.flags&256?(t.flags&=-257,r=uc(Error(J(422))),Vs(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,a=t.mode,r=D0({mode:"visible",children:r.children},a,0,null),i=za(i,a,o,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&Bi(t,e.child,null,o),t.child.memoizedState=H2(o),t.memoizedState=I2,i);if(!(t.mode&1))return Vs(e,t,o,null);if(a.data==="$!"){if(r=a.nextSibling&&a.nextSibling.dataset,r)var s=r.dgst;return r=s,i=Error(J(419)),r=uc(i,r,void 0),Vs(e,t,o,r)}if(s=(o&e.childLanes)!==0,Yt||s){if(r=Ct,r!==null){switch(o&-o){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}a=a&(r.suspendedLanes|o)?0:a,a!==0&&a!==i.retryLane&&(i.retryLane=a,gr(e,a),On(r,e,a,-1))}return _f(),r=uc(Error(J(421))),Vs(e,t,o,r)}return a.data==="$?"?(t.flags|=128,t.child=e.child,t=qM.bind(null,e),a._reactRetry=t,null):(e=i.treeContext,on=Ur(a.nextSibling),sn=t,tt=!0,Dn=null,e!==null&&(bn[Sn++]=lr,bn[Sn++]=ur,bn[Sn++]=Da,lr=e.id,ur=e.overflow,Da=t),t=bf(t,r.children),t.flags|=4096,t)}function E3(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),R2(e.return,t,n)}function cc(e,t,n,r,a){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=a)}function D7(e,t,n){var r=t.pendingProps,a=r.revealOrder,i=r.tail;if(Bt(e,t,r.children,n),r=at.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&E3(e,n,t);else if(e.tag===19)E3(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ge(at,r),!(t.mode&1))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;n!==null;)e=n.alternate,e!==null&&Fl(e)===null&&(a=n),n=n.sibling;n=a,n===null?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),cc(t,!1,a,n,i);break;case"backwards":for(n=null,a=t.child,t.child=null;a!==null;){if(e=a.alternate,e!==null&&Fl(e)===null){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}cc(t,!0,n,null,i);break;case"together":cc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function fl(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function vr(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Oa|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(J(153));if(t.child!==null){for(e=t.child,n=Kr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Kr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function PM(e,t,n){switch(t.tag){case 3:I7(t),Oi();break;case 5:c7(t);break;case 1:Jt(t.type)&&Hl(t);break;case 4:mf(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;Ge(Ol,r._currentValue),r._currentValue=a;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Ge(at,at.current&1),t.flags|=128,null):n&t.child.childLanes?H7(e,t,n):(Ge(at,at.current&1),e=vr(e,t,n),e!==null?e.sibling:null);Ge(at,at.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return D7(e,t,n);t.flags|=128}if(a=t.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),Ge(at,at.current),r)break;return null;case 22:case 23:return t.lanes=0,P7(e,t,n)}return vr(e,t,n)}var j7,D2,O7,B7;j7=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};D2=function(){};O7=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,Aa(Jn.current);var i=null;switch(n){case"input":a=o2(e,a),r=o2(e,r),i=[];break;case"select":a=st({},a,{value:void 0}),r=st({},r,{value:void 0}),i=[];break;case"textarea":a=u2(e,a),r=u2(e,r),i=[];break;default:typeof a.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Vl)}d2(n,r);var o;n=null;for(u in a)if(!r.hasOwnProperty(u)&&a.hasOwnProperty(u)&&a[u]!=null)if(u==="style"){var s=a[u];for(o in s)s.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(ho.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var l=r[u];if(s=a!=null?a[u]:void 0,r.hasOwnProperty(u)&&l!==s&&(l!=null||s!=null))if(u==="style")if(s){for(o in s)!s.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&s[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(i||(i=[]),i.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(i=i||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(ho.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&Xe("scroll",e),i||s===l||(i=[])):(i=i||[]).push(u,l))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};B7=function(e,t,n,r){n!==r&&(t.flags|=4)};function T1(e,t){if(!tt)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function zt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;a!==null;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags&14680064,r|=a.flags&14680064,a.return=e,a=a.sibling;else for(a=e.child;a!==null;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function VM(e,t,n){var r=t.pendingProps;switch(sf(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return zt(t),null;case 1:return Jt(t.type)&&Il(),zt(t),null;case 3:return r=t.stateNode,$i(),Qe(Zt),Qe(Dt),gf(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(zs(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Dn!==null&&(q2(Dn),Dn=null))),D2(e,t),zt(t),null;case 5:pf(t);var a=Aa(Co.current);if(n=t.type,e!==null&&t.stateNode!=null)O7(e,t,n,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(J(166));return zt(t),null}if(e=Aa(Jn.current),zs(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Kn]=t,r[So]=i,e=(t.mode&1)!==0,n){case"dialog":Xe("cancel",r),Xe("close",r);break;case"iframe":case"object":case"embed":Xe("load",r);break;case"video":case"audio":for(a=0;a<$1.length;a++)Xe($1[a],r);break;case"source":Xe("error",r);break;case"img":case"image":case"link":Xe("error",r),Xe("load",r);break;case"details":Xe("toggle",r);break;case"input":z5(r,i),Xe("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Xe("invalid",r);break;case"textarea":V5(r,i),Xe("invalid",r)}d2(n,i),a=null;for(var o in i)if(i.hasOwnProperty(o)){var s=i[o];o==="children"?typeof s=="string"?r.textContent!==s&&(i.suppressHydrationWarning!==!0&&Ns(r.textContent,s,e),a=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(i.suppressHydrationWarning!==!0&&Ns(r.textContent,s,e),a=["children",""+s]):ho.hasOwnProperty(o)&&s!=null&&o==="onScroll"&&Xe("scroll",r)}switch(n){case"input":Es(r),P5(r,i,!0);break;case"textarea":Es(r),I5(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Vl)}r=a,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=a.nodeType===9?a:a.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=p6(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML=" - - + +