diff --git a/assets/About-C6s35JB_.js b/assets/About-CxPXyE6g.js similarity index 95% rename from assets/About-C6s35JB_.js rename to assets/About-CxPXyE6g.js index a71268e..a41a905 100644 --- a/assets/About-C6s35JB_.js +++ b/assets/About-CxPXyE6g.js @@ -1 +1 @@ -import{j as l,M as a}from"./index-V1xGvkBX.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}; +import{j as l,M as a}from"./index-BntLkmaQ.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-DhkgXNSJ.js b/assets/Contact-DpnPtHKF.js similarity index 51% rename from assets/Contact-DhkgXNSJ.js rename to assets/Contact-DpnPtHKF.js index 0abba4e..18e017c 100644 --- a/assets/Contact-DhkgXNSJ.js +++ b/assets/Contact-DpnPtHKF.js @@ -1 +1 @@ -import{j as t}from"./index-V1xGvkBX.js";const n=()=>t.jsx("div",{children:t.jsx("h1",{children:"Contact"})});export{n as default}; +import{j as t}from"./index-BntLkmaQ.js";const n=()=>t.jsx("div",{children:t.jsx("h1",{children:"Contact"})});export{n as default}; diff --git a/assets/Profile-DNjAlhPe.js b/assets/Profile-D7TyH30V.js similarity index 99% rename from assets/Profile-DNjAlhPe.js rename to assets/Profile-D7TyH30V.js index 7a45ed1..8f09737 100644 --- a/assets/Profile-DNjAlhPe.js +++ b/assets/Profile-D7TyH30V.js @@ -1,4 +1,4 @@ -import{j as s,M as l}from"./index-V1xGvkBX.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 +import{j as s,M as l}from"./index-BntLkmaQ.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 diff --git a/assets/Project-cWK4jELo.js b/assets/Project-BAceNKsC.js similarity index 99% rename from assets/Project-cWK4jELo.js rename to assets/Project-BAceNKsC.js index 4231d35..1f2e24a 100644 --- a/assets/Project-cWK4jELo.js +++ b/assets/Project-BAceNKsC.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-V1xGvkBX.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-BntLkmaQ.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-V1xGvkBX.js b/assets/index-BntLkmaQ.js similarity index 98% rename from assets/index-V1xGvkBX.js rename to assets/index-BntLkmaQ.js index 6984e72..3ce6956 100644 --- a/assets/index-V1xGvkBX.js +++ b/assets/index-BntLkmaQ.js @@ -1,4 +1,4 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Project-cWK4jELo.js","./Project-D18aXzGz.css"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Project-BAceNKsC.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={};/** * @license React * react.production.min.js @@ -57,7 +57,7 @@ Error generating stack: `+i.message+` * @license MIT */var Jh="popstate";function DT(e={}){function t(r,a){let{pathname:i,search:o,hash:s}=r.location;return dd("",{pathname:i,search:o,hash:s},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}function n(r,a){return typeof a=="string"?a:Vo(a)}return OT(t,n,null,e)}function rt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function $n(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function jT(){return Math.random().toString(36).substring(2,10)}function em(e,t){return{usr:e.state,key:e.key,idx:t}}function dd(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?c1(t):t,state:n,key:t&&t.key||r||jT()}}function Vo({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function c1(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function OT(e,t,n,r={}){let{window:a=document.defaultView,v5Compat:i=!1}=r,o=a.history,s="POP",l=null,u=c();u==null&&(u=0,o.replaceState({...o.state,idx:u},""));function c(){return(o.state||{idx:null}).idx}function d(){s="POP";let M=c(),y=M==null?null:M-u;u=M,l&&l({action:s,location:w.location,delta:y})}function f(M,y){s="PUSH";let v=dd(w.location,M,y);u=c()+1;let x=em(v,u),b=w.createHref(v);try{o.pushState(x,"",b)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;a.location.assign(b)}i&&l&&l({action:s,location:w.location,delta:1})}function h(M,y){s="REPLACE";let v=dd(w.location,M,y);u=c();let x=em(v,u),b=w.createHref(v);o.replaceState(x,"",b),i&&l&&l({action:s,location:w.location,delta:0})}function g(M){let y=a.location.origin!=="null"?a.location.origin:a.location.href,v=typeof M=="string"?M:Vo(M);return v=v.replace(/ $/,"%20"),rt(y,`No window.location.(origin|href) available to create URL for href: ${v}`),new URL(v,y)}let w={get action(){return s},get location(){return e(a,o)},listen(M){if(l)throw new Error("A history only accepts one active listener");return a.addEventListener(Jh,d),l=M,()=>{a.removeEventListener(Jh,d),l=null}},createHref(M){return t(a,M)},createURL:g,encodeLocation(M){let y=g(M);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:f,replace:h,go(M){return o.go(M)}};return w}function Nv(e,t,n="/"){return BT(e,t,n,!1)}function BT(e,t,n,r){let a=typeof t=="string"?c1(t):t,i=Jr(a.pathname||"/",n);if(i==null)return null;let o=zv(e);$T(o);let s=null;for(let l=0;s==null&&l{let l={relativePath:s===void 0?i.path||"":s,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};l.relativePath.startsWith("/")&&(rt(l.relativePath.startsWith(r),`Absolute route path "${l.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),l.relativePath=l.relativePath.slice(r.length));let u=hr([r,l.relativePath]),c=n.concat(l);i.children&&i.children.length>0&&(rt(i.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${u}".`),zv(i.children,t,c,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:XT(u,i.index),routesMeta:c})};return e.forEach((i,o)=>{var s;if(i.path===""||!((s=i.path)!=null&&s.includes("?")))a(i,o);else for(let l of Pv(i.path))a(i,o,l)}),t}function Pv(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,a=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return a?[i,""]:[i];let o=Pv(r.join("/")),s=[];return s.push(...o.map(l=>l===""?i:[i,l].join("/"))),a&&s.push(...o),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function $T(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:YT(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var FT=/^:[\w-]+$/,UT=3,WT=2,qT=1,GT=10,KT=-2,tm=e=>e==="*";function XT(e,t){let n=e.split("/"),r=n.length;return n.some(tm)&&(r+=KT),t&&(r+=WT),n.filter(a=>!tm(a)).reduce((a,i)=>a+(FT.test(i)?UT:i===""?qT:GT),r)}function YT(e,t){return e.length===t.length&&e.slice(0,-1).every((r,a)=>r===t[a])?e[e.length-1]-t[t.length-1]:0}function QT(e,t,n=!1){let{routesMeta:r}=e,a={},i="/",o=[];for(let s=0;s{if(c==="*"){let g=s[f]||"";o=i.slice(0,i.length-g.length).replace(/(.)\/+$/,"$1")}const h=s[f];return d&&!h?u[c]=void 0:u[c]=(h||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:o,pattern:e}}function ZT(e,t=!1,n=!0){$n(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,s,l)=>(r.push({paramName:s,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),r]}function JT(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return $n(!1,`The URL path "${e}" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Jr(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function eL(e,t="/"){let{pathname:n,search:r="",hash:a=""}=typeof e=="string"?c1(e):e;return{pathname:n?n.startsWith("/")?n:tL(n,t):t,search:aL(r),hash:iL(a)}}function tL(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?n.length>1&&n.pop():a!=="."&&n.push(a)}),n.length>1?n.join("/"):"/"}function Cc(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function nL(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function p4(e){let t=nL(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function g4(e,t,n,r=!1){let a;typeof e=="string"?a=c1(e):(a={...e},rt(!a.pathname||!a.pathname.includes("?"),Cc("?","pathname","search",a)),rt(!a.pathname||!a.pathname.includes("#"),Cc("#","pathname","hash",a)),rt(!a.search||!a.search.includes("#"),Cc("#","search","hash",a)));let i=e===""||a.pathname==="",o=i?"/":a.pathname,s;if(o==null)s=n;else{let d=t.length-1;if(!r&&o.startsWith("..")){let f=o.split("/");for(;f[0]==="..";)f.shift(),d-=1;a.pathname=f.join("/")}s=d>=0?t[d]:"/"}let l=eL(a,s),u=o&&o!=="/"&&o.endsWith("/"),c=(i||o===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}var hr=e=>e.join("/").replace(/\/\/+/g,"/"),rL=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),aL=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,iL=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function oL(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var Vv=["POST","PUT","PATCH","DELETE"];new Set(Vv);var sL=["GET",...Vv];new Set(sL);var d1=p.createContext(null);d1.displayName="DataRouter";var X0=p.createContext(null);X0.displayName="DataRouterState";var Iv=p.createContext({isTransitioning:!1});Iv.displayName="ViewTransition";var lL=p.createContext(new Map);lL.displayName="Fetchers";var uL=p.createContext(null);uL.displayName="Await";var Fn=p.createContext(null);Fn.displayName="Navigation";var rs=p.createContext(null);rs.displayName="Location";var Rn=p.createContext({outlet:null,matches:[],isDataRoute:!1});Rn.displayName="Route";var v4=p.createContext(null);v4.displayName="RouteError";function cL(e,{relative:t}={}){rt(f1(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=p.useContext(Fn),{hash:a,pathname:i,search:o}=as(e,{relative:t}),s=i;return n!=="/"&&(s=i==="/"?n:hr([n,i])),r.createHref({pathname:s,search:o,hash:a})}function f1(){return p.useContext(rs)!=null}function ua(){return rt(f1(),"useLocation() may be used only in the context of a component."),p.useContext(rs).location}var Hv="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Dv(e){p.useContext(Fn).static||p.useLayoutEffect(e)}function y4(){let{isDataRoute:e}=p.useContext(Rn);return e?CL():dL()}function dL(){rt(f1(),"useNavigate() may be used only in the context of a component.");let e=p.useContext(d1),{basename:t,navigator:n}=p.useContext(Fn),{matches:r}=p.useContext(Rn),{pathname:a}=ua(),i=JSON.stringify(p4(r)),o=p.useRef(!1);return Dv(()=>{o.current=!0}),p.useCallback((l,u={})=>{if($n(o.current,Hv),!o.current)return;if(typeof l=="number"){n.go(l);return}let c=g4(l,JSON.parse(i),a,u.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:hr([t,c.pathname])),(u.replace?n.replace:n.push)(c,u.state,u)},[t,n,i,a,e])}var fL=p.createContext(null);function hL(e){let t=p.useContext(Rn).outlet;return t&&p.createElement(fL.Provider,{value:e},t)}function Ere(){let{matches:e}=p.useContext(Rn),t=e[e.length-1];return t?t.params:{}}function as(e,{relative:t}={}){let{matches:n}=p.useContext(Rn),{pathname:r}=ua(),a=JSON.stringify(p4(n));return p.useMemo(()=>g4(e,JSON.parse(a),r,t==="path"),[e,a,r,t])}function mL(e,t){return jv(e,t)}function jv(e,t,n,r){var y;rt(f1(),"useRoutes() may be used only in the context of a component.");let{navigator:a}=p.useContext(Fn),{matches:i}=p.useContext(Rn),o=i[i.length-1],s=o?o.params:{},l=o?o.pathname:"/",u=o?o.pathnameBase:"/",c=o&&o.route;{let v=c&&c.path||"";Ov(l,!c||v.endsWith("*")||v.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${l}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. -Please change the parent to .`)}let d=ua(),f;if(t){let v=typeof t=="string"?c1(t):t;rt(u==="/"||((y=v.pathname)==null?void 0:y.startsWith(u)),`When overriding the location using \`\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${u}" but pathname "${v.pathname}" was given in the \`location\` prop.`),f=v}else f=d;let h=f.pathname||"/",g=h;if(u!=="/"){let v=u.replace(/^\//,"").split("/");g="/"+h.replace(/^\//,"").split("/").slice(v.length).join("/")}let w=Nv(e,{pathname:g});$n(c||w!=null,`No routes matched location "${f.pathname}${f.search}${f.hash}" `),$n(w==null||w[w.length-1].route.element!==void 0||w[w.length-1].route.Component!==void 0||w[w.length-1].route.lazy!==void 0,`Matched leaf route at location "${f.pathname}${f.search}${f.hash}" does not have an element or Component. This means it will render an with a null value by default resulting in an "empty" page.`);let M=wL(w&&w.map(v=>Object.assign({},v,{params:Object.assign({},s,v.params),pathname:hr([u,a.encodeLocation?a.encodeLocation(v.pathname).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?u:hr([u,a.encodeLocation?a.encodeLocation(v.pathnameBase).pathname:v.pathnameBase])})),i,n,r);return t&&M?p.createElement(rs.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...f},navigationType:"POP"}},M):M}function pL(){let e=EL(),t=oL(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:r},i={padding:"2px 4px",backgroundColor:r},o=null;return console.error("Error handled by React Router default ErrorBoundary:",e),o=p.createElement(p.Fragment,null,p.createElement("p",null,"💿 Hey developer 👋"),p.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",p.createElement("code",{style:i},"ErrorBoundary")," or"," ",p.createElement("code",{style:i},"errorElement")," prop on your route.")),p.createElement(p.Fragment,null,p.createElement("h2",null,"Unexpected Application Error!"),p.createElement("h3",{style:{fontStyle:"italic"}},t),n?p.createElement("pre",{style:a},n):null,o)}var gL=p.createElement(pL,null),vL=class extends p.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?p.createElement(Rn.Provider,{value:this.props.routeContext},p.createElement(v4.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function yL({routeContext:e,match:t,children:n}){let r=p.useContext(d1);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),p.createElement(Rn.Provider,{value:e},n)}function wL(e,t=[],n=null,r=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let a=e,i=n==null?void 0:n.errors;if(i!=null){let l=a.findIndex(u=>u.route.id&&(i==null?void 0:i[u.route.id])!==void 0);rt(l>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(i).join(",")}`),a=a.slice(0,Math.min(a.length,l+1))}let o=!1,s=-1;if(n)for(let l=0;l=0?a=a.slice(0,s+1):a=[a[0]];break}}}return a.reduceRight((l,u,c)=>{let d,f=!1,h=null,g=null;n&&(d=i&&u.route.id?i[u.route.id]:void 0,h=u.route.errorElement||gL,o&&(s<0&&c===0?(Ov("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),f=!0,g=null):s===c&&(f=!0,g=u.route.hydrateFallbackElement||null)));let w=t.concat(a.slice(0,c+1)),M=()=>{let y;return d?y=h:f?y=g:u.route.Component?y=p.createElement(u.route.Component,null):u.route.element?y=u.route.element:y=l,p.createElement(yL,{match:u,routeContext:{outlet:l,matches:w,isDataRoute:n!=null},children:y})};return n&&(u.route.ErrorBoundary||u.route.errorElement||c===0)?p.createElement(vL,{location:n.location,revalidation:n.revalidation,component:h,error:d,children:M(),routeContext:{outlet:null,matches:w,isDataRoute:!0}}):M()},null)}function w4(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function xL(e){let t=p.useContext(d1);return rt(t,w4(e)),t}function ML(e){let t=p.useContext(X0);return rt(t,w4(e)),t}function bL(e){let t=p.useContext(Rn);return rt(t,w4(e)),t}function x4(e){let t=bL(e),n=t.matches[t.matches.length-1];return rt(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function SL(){return x4("useRouteId")}function EL(){var r;let e=p.useContext(v4),t=ML("useRouteError"),n=x4("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function CL(){let{router:e}=xL("useNavigate"),t=x4("useNavigate"),n=p.useRef(!1);return Dv(()=>{n.current=!0}),p.useCallback(async(a,i={})=>{$n(n.current,Hv),n.current&&(typeof a=="number"?e.navigate(a):await e.navigate(a,{fromRouteId:t,...i}))},[e,t])}var nm={};function Ov(e,t,n){!t&&!nm[e]&&(nm[e]=!0,$n(!1,n))}p.memo(TL);function TL({routes:e,future:t,state:n}){return jv(e,void 0,n,t)}function LL({to:e,replace:t,state:n,relative:r}){rt(f1()," may be used only in the context of a component.");let{static:a}=p.useContext(Fn);$n(!a," must not be used on the initial render in a . This is a no-op, but you should modify your code so the is only ever rendered in response to some user interaction or state change.");let{matches:i}=p.useContext(Rn),{pathname:o}=ua(),s=y4(),l=g4(e,p4(i),o,r==="path"),u=JSON.stringify(l);return p.useEffect(()=>{s(JSON.parse(u),{replace:t,state:n,relative:r})},[s,u,r,t,n]),null}function _L(e){return hL(e.context)}function kr(e){rt(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function AL({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:a,static:i=!1}){rt(!f1(),"You cannot render a inside another . You should never have more than one in your app.");let o=e.replace(/^\/*/,"/"),s=p.useMemo(()=>({basename:o,navigator:a,static:i,future:{}}),[o,a,i]);typeof n=="string"&&(n=c1(n));let{pathname:l="/",search:u="",hash:c="",state:d=null,key:f="default"}=n,h=p.useMemo(()=>{let g=Jr(l,o);return g==null?null:{location:{pathname:g,search:u,hash:c,state:d,key:f},navigationType:r}},[o,l,u,c,d,f,r]);return $n(h!=null,` is not able to match the URL "${l}${u}${c}" because it does not start with the basename, so the won't render anything.`),h==null?null:p.createElement(Fn.Provider,{value:s},p.createElement(rs.Provider,{children:t,value:h}))}function RL({children:e,location:t}){return mL(fd(e),t)}function fd(e,t=[]){let n=[];return p.Children.forEach(e,(r,a)=>{if(!p.isValidElement(r))return;let i=[...t,a];if(r.type===p.Fragment){n.push.apply(n,fd(r.props.children,i));return}rt(r.type===kr,`[${typeof r.type=="string"?r.type:r.type.name}] is not a component. All component children of must be a or `),rt(!r.props.index||!r.props.children,"An index route cannot have child routes.");let o={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=fd(r.props.children,i)),n.push(o)}),n}var wl="get",xl="application/x-www-form-urlencoded";function Y0(e){return e!=null&&typeof e.tagName=="string"}function kL(e){return Y0(e)&&e.tagName.toLowerCase()==="button"}function NL(e){return Y0(e)&&e.tagName.toLowerCase()==="form"}function zL(e){return Y0(e)&&e.tagName.toLowerCase()==="input"}function PL(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function VL(e,t){return e.button===0&&(!t||t==="_self")&&!PL(e)}var Fs=null;function IL(){if(Fs===null)try{new FormData(document.createElement("form"),0),Fs=!1}catch{Fs=!0}return Fs}var HL=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Tc(e){return e!=null&&!HL.has(e)?($n(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${xl}"`),null):e}function DL(e,t){let n,r,a,i,o;if(NL(e)){let s=e.getAttribute("action");r=s?Jr(s,t):null,n=e.getAttribute("method")||wl,a=Tc(e.getAttribute("enctype"))||xl,i=new FormData(e)}else if(kL(e)||zL(e)&&(e.type==="submit"||e.type==="image")){let s=e.form;if(s==null)throw new Error('Cannot submit a