import{r as B,ac as Se,ad as Te,x as Ge,D as Ne,y as be,S as ye,a8 as G,ae as Ve,K as Re}from"./entry.Ddy3dMw-.js";function ce(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function ue(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:ce(e[i])&&ce(t[i])&&Object.keys(e[i]).length>0&&ue(t[i],e[i])})}const xe={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 $(){const t=typeof document<"u"?document:{};return ue(t,xe),t}const Fe={document:xe,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 A(){const t=typeof window<"u"?window:{};return ue(t,Fe),t}function He(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function ke(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function Y(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function D(){return Date.now()}function je(t){const e=A();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function $e(t,e){e===void 0&&(e="x");const i=A();let s,n,r;const l=je(t);return i.WebKitCSSMatrix?(n=l.transform||l.webkitTransform,n.split(",").length>6&&(n=n.split(", ").map(o=>o.replace(",",".")).join(", ")),r=new i.WebKitCSSMatrix(n==="none"?"":n)):(r=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),s=r.toString().split(",")),e==="x"&&(i.WebKitCSSMatrix?n=r.m41:s.length===16?n=parseFloat(s[12]):n=parseFloat(s[4])),e==="y"&&(i.WebKitCSSMatrix?n=r.m42:s.length===16?n=parseFloat(s[13]):n=parseFloat(s[5])),n||0}function q(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function We(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function _(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let i=1;i<arguments.length;i+=1){const s=i<0||arguments.length<=i?void 0:arguments[i];if(s!=null&&!We(s)){const n=Object.keys(Object(s)).filter(r=>e.indexOf(r)<0);for(let r=0,l=n.length;r<l;r+=1){const o=n[r],a=Object.getOwnPropertyDescriptor(s,o);a!==void 0&&a.enumerable&&(q(t[o])&&q(s[o])?s[o].__swiper__?t[o]=s[o]:_(t[o],s[o]):!q(t[o])&&q(s[o])?(t[o]={},s[o].__swiper__?t[o]=s[o]:_(t[o],s[o])):t[o]=s[o])}}}return t}function U(t,e,i){t.style.setProperty(e,i)}function Ee(t){let{swiper:e,targetPosition:i,side:s}=t;const n=A(),r=-e.translate;let l=null,o;const a=e.params.speed;e.wrapperEl.style.scrollSnapType="none",n.cancelAnimationFrame(e.cssModeFrameID);const u=i>r?"next":"prev",d=(m,c)=>u==="next"&&m>=c||u==="prev"&&m<=c,f=()=>{o=new Date().getTime(),l===null&&(l=o);const m=Math.max(Math.min((o-l)/a,1),0),c=.5-Math.cos(m*Math.PI)/2;let v=r+c*(i-r);if(d(v,i)&&(v=i),e.wrapperEl.scrollTo({[s]:v}),d(v,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[s]:v})}),n.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=n.requestAnimationFrame(f)};f()}function R(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function Z(t){try{console.warn(t);return}catch{}}function le(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:He(e)),i}function Xe(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 Ye(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 F(t,e){return A().getComputedStyle(t,null).getPropertyValue(e)}function pe(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function qe(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 Q(t,e){function i(s){s.target===t&&(e.call(t,s),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function me(t,e,i){const s=A();return i?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")):t.offsetWidth}let ee;function Ue(){const t=A(),e=$();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function Me(){return ee||(ee=Ue()),ee}let te;function Ke(t){let{userAgent:e}=t===void 0?{}:t;const i=Me(),s=A(),n=s.navigator.platform,r=e||s.navigator.userAgent,l={ios:!1,android:!1},o=s.screen.width,a=s.screen.height,u=r.match(/(Android);?[\s\/]+([\d.]+)?/);let d=r.match(/(iPad).*OS\s([\d_]+)/);const f=r.match(/(iPod)(.*OS\s([\d_]+))?/),m=!d&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),c=n==="Win32";let v=n==="MacIntel";const T=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!d&&v&&i.touch&&T.indexOf(`${o}x${a}`)>=0&&(d=r.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),v=!1),u&&!c&&(l.os="android",l.android=!0),(d||m||f)&&(l.os="ios",l.ios=!0),l}function Pe(t){return t===void 0&&(t={}),te||(te=Ke(t)),te}let ie;function Ze(){const t=A(),e=Pe();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,u]=o.split("Version/")[1].split(" ")[0].split(".").map(d=>Number(d));i=a<16||a===16&&u<2}}const n=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),r=s(),l=r||n&&e.ios;return{isSafari:i||r,needPerspectiveFix:i,need3dFix:l,isWebView:n}}function Je(){return ie||(ie=Ze()),ie}function Qe(t){let{swiper:e,on:i,emit:s}=t;const n=A();let r=null,l=null;const o=()=>{!e||e.destroyed||!e.initialized||(s("beforeResize"),s("resize"))},a=()=>{!e||e.destroyed||!e.initialized||(r=new ResizeObserver(f=>{l=n.requestAnimationFrame(()=>{const{width:m,height:c}=e;let v=m,T=c;f.forEach(P=>{let{contentBoxSize:g,contentRect:M,target:p}=P;p&&p!==e.el||(v=M?M.width:(g[0]||g).inlineSize,T=M?M.height:(g[0]||g).blockSize)}),(v!==m||T!==c)&&o()})}),r.observe(e.el))},u=()=>{l&&n.cancelAnimationFrame(l),r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null)},d=()=>{!e||e.destroyed||!e.initialized||s("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof n.ResizeObserver<"u"){a();return}n.addEventListener("resize",o),n.addEventListener("orientationchange",d)}),i("destroy",()=>{u(),n.removeEventListener("resize",o),n.removeEventListener("orientationchange",d)})}function et(t){let{swiper:e,extendParams:i,on:s,emit:n}=t;const r=[],l=A(),o=function(d,f){f===void 0&&(f={});const m=l.MutationObserver||l.WebkitMutationObserver,c=new m(v=>{if(e.__preventObserver__)return;if(v.length===1){n("observerUpdate",v[0]);return}const T=function(){n("observerUpdate",v[0])};l.requestAnimationFrame?l.requestAnimationFrame(T):l.setTimeout(T,0)});c.observe(d,{attributes:typeof f.attributes>"u"?!0:f.attributes,childList:typeof f.childList>"u"?!0:f.childList,characterData:typeof f.characterData>"u"?!0:f.characterData}),r.push(c)},a=()=>{if(e.params.observer){if(e.params.observeParents){const d=qe(e.hostEl);for(let f=0;f<d.length;f+=1)o(d[f])}o(e.hostEl,{childList:e.params.observeSlideChildren}),o(e.wrapperEl,{attributes:!1})}},u=()=>{r.forEach(d=>{d.disconnect()}),r.splice(0,r.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),s("init",a),s("destroy",u)}var tt={on(t,e,i){const s=this;if(!s.eventsListeners||s.destroyed||typeof e!="function")return s;const n=i?"unshift":"push";return t.split(" ").forEach(r=>{s.eventsListeners[r]||(s.eventsListeners[r]=[]),s.eventsListeners[r][n](e)}),s},once(t,e,i){const s=this;if(!s.eventsListeners||s.destroyed||typeof e!="function")return s;function n(){s.off(t,n),n.__emitterProxy&&delete n.__emitterProxy;for(var r=arguments.length,l=new Array(r),o=0;o<r;o++)l[o]=arguments[o];e.apply(s,l)}return n.__emitterProxy=e,s.on(t,n,i)},onAny(t,e){const i=this;if(!i.eventsListeners||i.destroyed||typeof t!="function")return i;const s=e?"unshift":"push";return i.eventsAnyListeners.indexOf(t)<0&&i.eventsAnyListeners[s](t),i},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const i=e.eventsAnyListeners.indexOf(t);return i>=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((n,r)=>{(n===e||n.__emitterProxy&&n.__emitterProxy===e)&&i.eventsListeners[s].splice(r,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,s;for(var n=arguments.length,r=new Array(n),l=0;l<n;l++)r[l]=arguments[l];return typeof r[0]=="string"||Array.isArray(r[0])?(e=r[0],i=r.slice(1,r.length),s=t):(e=r[0].events,i=r[0].data,s=r[0].context||t),i.unshift(s),(Array.isArray(e)?e:e.split(" ")).forEach(a=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(u=>{u.apply(s,[a,...i])}),t.eventsListeners&&t.eventsListeners[a]&&t.eventsListeners[a].forEach(u=>{u.apply(s,i)})}),t}};function it(){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(F(s,"padding-left")||0,10)-parseInt(F(s,"padding-right")||0,10),i=i-parseInt(F(s,"padding-top")||0,10)-parseInt(F(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 st(){const t=this;function e(w,x){return parseFloat(w.getPropertyValue(t.getDirectionLabel(x))||0)}const i=t.params,{wrapperEl:s,slidesEl:n,size:r,rtlTranslate:l,wrongRTL:o}=t,a=t.virtual&&i.virtual.enabled,u=a?t.virtual.slides.length:t.slides.length,d=R(n,`.${t.params.slideClass}, swiper-slide`),f=a?t.virtual.slides.length:d.length;let m=[];const c=[],v=[];let T=i.slidesOffsetBefore;typeof T=="function"&&(T=i.slidesOffsetBefore.call(t));let P=i.slidesOffsetAfter;typeof P=="function"&&(P=i.slidesOffsetAfter.call(t));const g=t.snapGrid.length,M=t.slidesGrid.length;let p=i.spaceBetween,S=-T,E=0,C=0;if(typeof r>"u")return;typeof p=="string"&&p.indexOf("%")>=0?p=parseFloat(p.replace("%",""))/100*r:typeof p=="string"&&(p=parseFloat(p)),t.virtualSize=-p,d.forEach(w=>{l?w.style.marginLeft="":w.style.marginRight="",w.style.marginBottom="",w.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(U(s,"--swiper-centered-offset-before",""),U(s,"--swiper-centered-offset-after",""));const O=i.grid&&i.grid.rows>1&&t.grid;O?t.grid.initSlides(d):t.grid&&t.grid.unsetSlides();let b;const h=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(w=>typeof i.breakpoints[w].slidesPerView<"u").length>0;for(let w=0;w<f;w+=1){b=0;let x;if(d[w]&&(x=d[w]),O&&t.grid.updateSlide(w,x,d),!(d[w]&&F(x,"display")==="none")){if(i.slidesPerView==="auto"){h&&(d[w].style[t.getDirectionLabel("width")]="");const I=getComputedStyle(x),y=x.style.transform,L=x.style.webkitTransform;if(y&&(x.style.transform="none"),L&&(x.style.webkitTransform="none"),i.roundLengths)b=t.isHorizontal()?me(x,"width",!0):me(x,"height",!0);else{const z=e(I,"width"),N=e(I,"padding-left"),J=e(I,"padding-right"),k=e(I,"margin-left"),W=e(I,"margin-right"),X=I.getPropertyValue("box-sizing");if(X&&X==="border-box")b=z+k+W;else{const{clientWidth:_e,offsetWidth:De}=x;b=z+N+J+k+W+(De-_e)}}y&&(x.style.transform=y),L&&(x.style.webkitTransform=L),i.roundLengths&&(b=Math.floor(b))}else b=(r-(i.slidesPerView-1)*p)/i.slidesPerView,i.roundLengths&&(b=Math.floor(b)),d[w]&&(d[w].style[t.getDirectionLabel("width")]=`${b}px`);d[w]&&(d[w].swiperSlideSize=b),v.push(b),i.centeredSlides?(S=S+b/2+E/2+p,E===0&&w!==0&&(S=S-r/2-p),w===0&&(S=S-r/2-p),Math.abs(S)<1/1e3&&(S=0),i.roundLengths&&(S=Math.floor(S)),C%i.slidesPerGroup===0&&m.push(S),c.push(S)):(i.roundLengths&&(S=Math.floor(S)),(C-Math.min(t.params.slidesPerGroupSkip,C))%t.params.slidesPerGroup===0&&m.push(S),c.push(S),S=S+b+p),t.virtualSize+=b+p,E=b,C+=1}}if(t.virtualSize=Math.max(t.virtualSize,r)+P,l&&o&&(i.effect==="slide"||i.effect==="coverflow")&&(s.style.width=`${t.virtualSize+p}px`),i.setWrapperSize&&(s.style[t.getDirectionLabel("width")]=`${t.virtualSize+p}px`),O&&t.grid.updateWrapperSize(b,m),!i.centeredSlides){const w=[];for(let x=0;x<m.length;x+=1){let I=m[x];i.roundLengths&&(I=Math.floor(I)),m[x]<=t.virtualSize-r&&w.push(I)}m=w,Math.floor(t.virtualSize-r)-Math.floor(m[m.length-1])>1&&m.push(t.virtualSize-r)}if(a&&i.loop){const w=v[0]+p;if(i.slidesPerGroup>1){const x=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),I=w*i.slidesPerGroup;for(let y=0;y<x;y+=1)m.push(m[m.length-1]+I)}for(let x=0;x<t.virtual.slidesBefore+t.virtual.slidesAfter;x+=1)i.slidesPerGroup===1&&m.push(m[m.length-1]+w),c.push(c[c.length-1]+w),t.virtualSize+=w}if(m.length===0&&(m=[0]),p!==0){const w=t.isHorizontal()&&l?"marginLeft":t.getDirectionLabel("marginRight");d.filter((x,I)=>!i.cssMode||i.loop?!0:I!==d.length-1).forEach(x=>{x.style[w]=`${p}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let w=0;v.forEach(I=>{w+=I+(p||0)}),w-=p;const x=w-r;m=m.map(I=>I<=0?-T:I>x?x+P:I)}if(i.centerInsufficientSlides){let w=0;if(v.forEach(x=>{w+=x+(p||0)}),w-=p,w<r){const x=(r-w)/2;m.forEach((I,y)=>{m[y]=I-x}),c.forEach((I,y)=>{c[y]=I+x})}}if(Object.assign(t,{slides:d,snapGrid:m,slidesGrid:c,slidesSizesGrid:v}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){U(s,"--swiper-centered-offset-before",`${-m[0]}px`),U(s,"--swiper-centered-offset-after",`${t.size/2-v[v.length-1]/2}px`);const w=-t.snapGrid[0],x=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(I=>I+w),t.slidesGrid=t.slidesGrid.map(I=>I+x)}if(f!==u&&t.emit("slidesLengthChange"),m.length!==g&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),c.length!==M&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!a&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const w=`${i.containerModifierClass}backface-hidden`,x=t.el.classList.contains(w);f<=i.maxBackfaceHiddenSlides?x||t.el.classList.add(w):x&&t.el.classList.remove(w)}}function nt(t){const e=this,i=[],s=e.virtual&&e.params.virtual.enabled;let n=0,r;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(r=0;r<Math.ceil(e.params.slidesPerView);r+=1){const o=e.activeIndex+r;if(o>e.slides.length&&!s)break;i.push(l(o))}else i.push(l(e.activeIndex));for(r=0;r<i.length;r+=1)if(typeof i[r]<"u"){const o=i[r].offsetHeight;n=o>n?o:n}(n||n===0)&&(e.wrapperEl.style.height=`${n}px`)}function rt(){const t=this,e=t.slides,i=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let s=0;s<e.length;s+=1)e[s].swiperSlideOffset=(t.isHorizontal()?e[s].offsetLeft:e[s].offsetTop)-i-t.cssOverflowAdjustment()}function at(t){t===void 0&&(t=this&&this.translate||0);const e=this,i=e.params,{slides:s,rtlTranslate:n,snapGrid:r}=e;if(s.length===0)return;typeof s[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let l=-t;n&&(l=t),s.forEach(a=>{a.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass)}),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<s.length;a+=1){const u=s[a];let d=u.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(d-=s[0].swiperSlideOffset);const f=(l+(i.centeredSlides?e.minTranslate():0)-d)/(u.swiperSlideSize+o),m=(l-r[0]+(i.centeredSlides?e.minTranslate():0)-d)/(u.swiperSlideSize+o),c=-(l-d),v=c+e.slidesSizesGrid[a],T=c>=0&&c<=e.size-e.slidesSizesGrid[a];(c>=0&&c<e.size-1||v>1&&v<=e.size||c<=0&&v>=e.size)&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(a),s[a].classList.add(i.slideVisibleClass)),T&&s[a].classList.add(i.slideFullyVisibleClass),u.progress=n?-f:f,u.originalProgress=n?-m:m}}function lt(t){const e=this;if(typeof t>"u"){const d=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*d||0}const i=e.params,s=e.maxTranslate()-e.minTranslate();let{progress:n,isBeginning:r,isEnd:l,progressLoop:o}=e;const a=r,u=l;if(s===0)n=0,r=!0,l=!0;else{n=(t-e.minTranslate())/s;const d=Math.abs(t-e.minTranslate())<1,f=Math.abs(t-e.maxTranslate())<1;r=d||n<=0,l=f||n>=1,d&&(n=0),f&&(n=1)}if(i.loop){const d=e.getSlideIndexByData(0),f=e.getSlideIndexByData(e.slides.length-1),m=e.slidesGrid[d],c=e.slidesGrid[f],v=e.slidesGrid[e.slidesGrid.length-1],T=Math.abs(t);T>=m?o=(T-m)/v:o=(T+v-c)/v,o>1&&(o-=1)}Object.assign(e,{progress:n,progressLoop:o,isBeginning:r,isEnd:l}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),r&&!a&&e.emit("reachBeginning toEdge"),l&&!u&&e.emit("reachEnd toEdge"),(a&&!r||u&&!l)&&e.emit("fromEdge"),e.emit("progress",n)}function ot(){const t=this,{slides:e,params:i,slidesEl:s,activeIndex:n}=t,r=t.virtual&&i.virtual.enabled,l=t.grid&&i.grid&&i.grid.rows>1,o=f=>R(s,`.${i.slideClass}${f}, swiper-slide${f}`)[0];e.forEach(f=>{f.classList.remove(i.slideActiveClass,i.slideNextClass,i.slidePrevClass)});let a,u,d;if(r)if(i.loop){let f=n-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="${n}"]`);else l?(a=e.filter(f=>f.column===n)[0],d=e.filter(f=>f.column===n+1)[0],u=e.filter(f=>f.column===n-1)[0]):a=e[n];a&&(a.classList.add(i.slideActiveClass),l?(d&&d.classList.add(i.slideNextClass),u&&u.classList.add(i.slidePrevClass)):(d=Ye(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!d&&(d=e[0]),d&&d.classList.add(i.slideNextClass),u=Xe(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!u===0&&(u=e[e.length-1]),u&&u.classList.add(i.slidePrevClass))),t.emitSlidesClasses()}const K=(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 n=s.querySelector(`.${t.params.lazyPreloaderClass}`);!n&&t.isElement&&(s.shadowRoot?n=s.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{s.shadowRoot&&(n=s.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),n&&n.remove())})),n&&n.remove()}},se=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},oe=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),n=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const l=n,o=[l-e];o.push(...Array.from({length:e}).map((a,u)=>l+s+u)),t.slides.forEach((a,u)=>{o.includes(a.column)&&se(t,u)});return}const r=n+s-1;if(t.params.rewind||t.params.loop)for(let l=n-e;l<=r+e;l+=1){const o=(l%i+i)%i;(o<n||o>r)&&se(t,o)}else for(let l=Math.max(n-e,0);l<=Math.min(r+e,i-1);l+=1)l!==n&&(l>r||l<n)&&se(t,l)};function dt(t){const{slidesGrid:e,params:i}=t,s=t.rtlTranslate?t.translate:-t.translate;let n;for(let r=0;r<e.length;r+=1)typeof e[r+1]<"u"?s>=e[r]&&s<e[r+1]-(e[r+1]-e[r])/2?n=r:s>=e[r]&&s<e[r+1]&&(n=r+1):s>=e[r]&&(n=r);return i.normalizeSlideIndex&&(n<0||typeof n>"u")&&(n=0),n}function ut(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:s,params:n,activeIndex:r,realIndex:l,snapIndex:o}=e;let a=t,u;const d=c=>{let v=c-e.virtual.slidesBefore;return v<0&&(v=e.virtual.slides.length+v),v>=e.virtual.slides.length&&(v-=e.virtual.slides.length),v};if(typeof a>"u"&&(a=dt(e)),s.indexOf(i)>=0)u=s.indexOf(i);else{const c=Math.min(n.slidesPerGroupSkip,a);u=c+Math.floor((a-c)/n.slidesPerGroup)}if(u>=s.length&&(u=s.length-1),a===r&&!e.params.loop){u!==o&&(e.snapIndex=u,e.emit("snapIndexChange"));return}if(a===r&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=d(a);return}const f=e.grid&&n.grid&&n.grid.rows>1;let m;if(e.virtual&&n.virtual.enabled&&n.loop)m=d(a);else if(f){const c=e.slides.filter(T=>T.column===a)[0];let v=parseInt(c.getAttribute("data-swiper-slide-index"),10);Number.isNaN(v)&&(v=Math.max(e.slides.indexOf(c),0)),m=Math.floor(v/n.grid.rows)}else if(e.slides[a]){const c=e.slides[a].getAttribute("data-swiper-slide-index");c?m=parseInt(c,10):m=a}else m=a;Object.assign(e,{previousSnapIndex:o,snapIndex:u,previousRealIndex:l,realIndex:m,previousIndex:r,activeIndex:a}),e.initialized&&oe(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(l!==m&&e.emit("realIndexChange"),e.emit("slideChange"))}function ft(t,e){const i=this,s=i.params;let n=t.closest(`.${s.slideClass}, swiper-slide`);!n&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(o=>{!n&&o.matches&&o.matches(`.${s.slideClass}, swiper-slide`)&&(n=o)});let r=!1,l;if(n){for(let o=0;o<i.slides.length;o+=1)if(i.slides[o]===n){r=!0,l=o;break}}if(n&&r)i.clickedSlide=n,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(n.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=l;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}s.slideToClickedSlide&&i.clickedIndex!==void 0&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}var ct={updateSize:it,updateSlides:st,updateAutoHeight:nt,updateSlidesOffset:rt,updateSlidesProgress:at,updateProgress:lt,updateSlidesClasses:ot,updateActiveIndex:ut,updateClickedSlide:ft};function pt(t){t===void 0&&(t=this.isHorizontal()?"x":"y");const e=this,{params:i,rtlTranslate:s,translate:n,wrapperEl:r}=e;if(i.virtualTranslate)return s?-n:n;if(i.cssMode)return n;let l=$e(r,t);return l+=e.cssOverflowAdjustment(),s&&(l=-l),l||0}function mt(t,e){const i=this,{rtlTranslate:s,params:n,wrapperEl:r,progress:l}=i;let o=0,a=0;const u=0;i.isHorizontal()?o=s?-t:t:a=t,n.roundLengths&&(o=Math.floor(o),a=Math.floor(a)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?o:a,n.cssMode?r[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-o:-a:n.virtualTranslate||(i.isHorizontal()?o-=i.cssOverflowAdjustment():a-=i.cssOverflowAdjustment(),r.style.transform=`translate3d(${o}px, ${a}px, ${u}px)`);let d;const f=i.maxTranslate()-i.minTranslate();f===0?d=0:d=(t-i.minTranslate())/f,d!==l&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function ht(){return-this.snapGrid[0]}function vt(){return-this.snapGrid[this.snapGrid.length-1]}function gt(t,e,i,s,n){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),s===void 0&&(s=!0);const r=this,{params:l,wrapperEl:o}=r;if(r.animating&&l.preventInteractionOnTransition)return!1;const a=r.minTranslate(),u=r.maxTranslate();let d;if(s&&t>a?d=a:s&&t<u?d=u:d=t,r.updateProgress(d),l.cssMode){const f=r.isHorizontal();if(e===0)o[f?"scrollLeft":"scrollTop"]=-d;else{if(!r.support.smoothScroll)return Ee({swiper:r,targetPosition:-d,side:f?"left":"top"}),!0;o.scrollTo({[f?"left":"top"]:-d,behavior:"smooth"})}return!0}return e===0?(r.setTransition(0),r.setTranslate(d),i&&(r.emit("beforeTransitionStart",e,n),r.emit("transitionEnd"))):(r.setTransition(e),r.setTranslate(d),i&&(r.emit("beforeTransitionStart",e,n),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(m){!r||r.destroyed||m.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,i&&r.emit("transitionEnd"))}),r.wrapperEl.addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd))),!0}var wt={getTranslate:pt,setTranslate:mt,minTranslate:ht,maxTranslate:vt,translateTo:gt};function St(t,e){const i=this;i.params.cssMode||(i.wrapperEl.style.transitionDuration=`${t}ms`,i.wrapperEl.style.transitionDelay=t===0?"0ms":""),i.emit("setTransition",t,e)}function Ce(t){let{swiper:e,runCallbacks:i,direction:s,step:n}=t;const{activeIndex:r,previousIndex:l}=e;let o=s;if(o||(r>l?o="next":r<l?o="prev":o="reset"),e.emit(`transition${n}`),i&&r!==l){if(o==="reset"){e.emit(`slideResetTransition${n}`);return}e.emit(`slideChangeTransition${n}`),o==="next"?e.emit(`slideNextTransition${n}`):e.emit(`slidePrevTransition${n}`)}}function Tt(t,e){t===void 0&&(t=!0);const i=this,{params:s}=i;s.cssMode||(s.autoHeight&&i.updateAutoHeight(),Ce({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function bt(t,e){t===void 0&&(t=!0);const i=this,{params:s}=i;i.animating=!1,!s.cssMode&&(i.setTransition(0),Ce({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var yt={setTransition:St,transitionStart:Tt,transitionEnd:bt};function xt(t,e,i,s,n){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const r=this;let l=t;l<0&&(l=0);const{params:o,snapGrid:a,slidesGrid:u,previousIndex:d,activeIndex:f,rtlTranslate:m,wrapperEl:c,enabled:v}=r;if(r.animating&&o.preventInteractionOnTransition||!v&&!s&&!n||r.destroyed)return!1;const T=Math.min(r.params.slidesPerGroupSkip,l);let P=T+Math.floor((l-T)/r.params.slidesPerGroup);P>=a.length&&(P=a.length-1);const g=-a[P];if(o.normalizeSlideIndex)for(let p=0;p<u.length;p+=1){const S=-Math.floor(g*100),E=Math.floor(u[p]*100),C=Math.floor(u[p+1]*100);typeof u[p+1]<"u"?S>=E&&S<C-(C-E)/2?l=p:S>=E&&S<C&&(l=p+1):S>=E&&(l=p)}if(r.initialized&&l!==f&&(!r.allowSlideNext&&(m?g>r.translate&&g>r.minTranslate():g<r.translate&&g<r.minTranslate())||!r.allowSlidePrev&&g>r.translate&&g>r.maxTranslate()&&(f||0)!==l))return!1;l!==(d||0)&&i&&r.emit("beforeSlideChangeStart"),r.updateProgress(g);let M;if(l>f?M="next":l<f?M="prev":M="reset",m&&-g===r.translate||!m&&g===r.translate)return r.updateActiveIndex(l),o.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),o.effect!=="slide"&&r.setTranslate(g),M!=="reset"&&(r.transitionStart(i,M),r.transitionEnd(i,M)),!1;if(o.cssMode){const p=r.isHorizontal(),S=m?g:-g;if(e===0){const E=r.virtual&&r.params.virtual.enabled;E&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),E&&!r._cssModeVirtualInitialSet&&r.params.initialSlide>0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{c[p?"scrollLeft":"scrollTop"]=S})):c[p?"scrollLeft":"scrollTop"]=S,E&&requestAnimationFrame(()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1})}else{if(!r.support.smoothScroll)return Ee({swiper:r,targetPosition:S,side:p?"left":"top"}),!0;c.scrollTo({[p?"left":"top"]:S,behavior:"smooth"})}return!0}return r.setTransition(e),r.setTranslate(g),r.updateActiveIndex(l),r.updateSlidesClasses(),r.emit("beforeTransitionStart",e,s),r.transitionStart(i,M),e===0?r.transitionEnd(i,M):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(S){!r||r.destroyed||S.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(i,M))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0}function Et(t,e,i,s){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const n=this;if(n.destroyed)return;const r=n.grid&&n.params.grid&&n.params.grid.rows>1;let l=t;if(n.params.loop)if(n.virtual&&n.params.virtual.enabled)l=l+n.virtual.slidesBefore;else{let o;if(r){const m=l*n.params.grid.rows;o=n.slides.filter(c=>c.getAttribute("data-swiper-slide-index")*1===m)[0].column}else o=n.getSlideIndexByData(l);const a=r?Math.ceil(n.slides.length/n.params.grid.rows):n.slides.length,{centeredSlides:u}=n.params;let d=n.params.slidesPerView;d==="auto"?d=n.slidesPerViewDynamic():(d=Math.ceil(parseFloat(n.params.slidesPerView,10)),u&&d%2===0&&(d=d+1));let f=a-o<d;if(u&&(f=f||o<Math.ceil(d/2)),f){const m=u?o<n.activeIndex?"prev":"next":o-n.activeIndex-1<n.params.slidesPerView?"next":"prev";n.loopFix({direction:m,slideTo:!0,activeSlideIndex:m==="next"?o+1:o-a+1,slideRealIndex:m==="next"?n.realIndex:void 0})}if(r){const m=l*n.params.grid.rows;l=n.slides.filter(c=>c.getAttribute("data-swiper-slide-index")*1===m)[0].column}else l=n.getSlideIndexByData(l)}return requestAnimationFrame(()=>{n.slideTo(l,e,i,s)}),n}function Mt(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const s=this,{enabled:n,params:r,animating:l}=s;if(!n||s.destroyed)return s;let o=r.slidesPerGroup;r.slidesPerView==="auto"&&r.slidesPerGroup===1&&r.slidesPerGroupAuto&&(o=Math.max(s.slidesPerViewDynamic("current",!0),1));const a=s.activeIndex<r.slidesPerGroupSkip?1:o,u=s.virtual&&r.virtual.enabled;if(r.loop){if(l&&!u&&r.loopPreventsSliding)return!1;if(s.loopFix({direction:"next"}),s._clientLeft=s.wrapperEl.clientLeft,s.activeIndex===s.slides.length-1&&r.cssMode)return requestAnimationFrame(()=>{s.slideTo(s.activeIndex+a,t,e,i)}),!0}return r.rewind&&s.isEnd?s.slideTo(0,t,e,i):s.slideTo(s.activeIndex+a,t,e,i)}function Pt(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const s=this,{params:n,snapGrid:r,slidesGrid:l,rtlTranslate:o,enabled:a,animating:u}=s;if(!a||s.destroyed)return s;const d=s.virtual&&n.virtual.enabled;if(n.loop){if(u&&!d&&n.loopPreventsSliding)return!1;s.loopFix({direction:"prev"}),s._clientLeft=s.wrapperEl.clientLeft}const f=o?s.translate:-s.translate;function m(g){return g<0?-Math.floor(Math.abs(g)):Math.floor(g)}const c=m(f),v=r.map(g=>m(g));let T=r[v.indexOf(c)-1];if(typeof T>"u"&&n.cssMode){let g;r.forEach((M,p)=>{c>=M&&(g=p)}),typeof g<"u"&&(T=r[g>0?g-1:g])}let P=0;if(typeof T<"u"&&(P=l.indexOf(T),P<0&&(P=s.activeIndex-1),n.slidesPerView==="auto"&&n.slidesPerGroup===1&&n.slidesPerGroupAuto&&(P=P-s.slidesPerViewDynamic("previous",!0)+1,P=Math.max(P,0))),n.rewind&&s.isBeginning){const g=s.params.virtual&&s.params.virtual.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1;return s.slideTo(g,t,e,i)}else if(n.loop&&s.activeIndex===0&&n.cssMode)return requestAnimationFrame(()=>{s.slideTo(P,t,e,i)}),!0;return s.slideTo(P,t,e,i)}function Ct(t,e,i){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const s=this;if(!s.destroyed)return s.slideTo(s.activeIndex,t,e,i)}function It(t,e,i,s){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0),s===void 0&&(s=.5);const n=this;if(n.destroyed)return;let r=n.activeIndex;const l=Math.min(n.params.slidesPerGroupSkip,r),o=l+Math.floor((r-l)/n.params.slidesPerGroup),a=n.rtlTranslate?n.translate:-n.translate;if(a>=n.snapGrid[o]){const u=n.snapGrid[o],d=n.snapGrid[o+1];a-u>(d-u)*s&&(r+=n.params.slidesPerGroup)}else{const u=n.snapGrid[o-1],d=n.snapGrid[o];a-u<=(d-u)*s&&(r-=n.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,n.slidesGrid.length-1),n.slideTo(r,t,e,i)}function Ot(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,s=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let n=t.clickedIndex,r;const l=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;r=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?n<t.loopedSlides-s/2||n>t.slides.length-t.loopedSlides+s/2?(t.loopFix(),n=t.getSlideIndex(R(i,`${l}[data-swiper-slide-index="${r}"]`)[0]),Y(()=>{t.slideTo(n)})):t.slideTo(n):n>t.slides.length-s?(t.loopFix(),n=t.getSlideIndex(R(i,`${l}[data-swiper-slide-index="${r}"]`)[0]),Y(()=>{t.slideTo(n)})):t.slideTo(n)}else t.slideTo(n)}var Lt={slideTo:xt,slideToLoop:Et,slideNext:Mt,slidePrev:Pt,slideReset:Ct,slideToClosest:It,slideToClickedSlide:Ot};function zt(t){const e=this,{params:i,slidesEl:s}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const n=()=>{R(s,`.${i.slideClass}, swiper-slide`).forEach((f,m)=>{f.setAttribute("data-swiper-slide-index",m)})},r=e.grid&&i.grid&&i.grid.rows>1,l=i.slidesPerGroup*(r?i.grid.rows:1),o=e.slides.length%l!==0,a=r&&e.slides.length%i.grid.rows!==0,u=d=>{for(let f=0;f<d;f+=1){const m=e.isElement?le("swiper-slide",[i.slideBlankClass]):le("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(m)}};if(o){if(i.loopAddBlankSlides){const d=l-e.slides.length%l;u(d),e.recalcSlides(),e.updateSlides()}else Z("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");n()}else if(a){if(i.loopAddBlankSlides){const d=i.grid.rows-e.slides.length%i.grid.rows;u(d),e.recalcSlides(),e.updateSlides()}else Z("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");n()}else n();e.loopFix({slideRealIndex:t,direction:i.centeredSlides?void 0:"next"})}function Bt(t){let{slideRealIndex:e,slideTo:i=!0,direction:s,setTranslate:n,activeSlideIndex:r,byController:l,byMousewheel:o}=t===void 0?{}:t;const a=this;if(!a.params.loop)return;a.emit("beforeLoopFix");const{slides:u,allowSlidePrev:d,allowSlideNext:f,slidesEl:m,params:c}=a,{centeredSlides:v}=c;if(a.allowSlidePrev=!0,a.allowSlideNext=!0,a.virtual&&c.virtual.enabled){i&&(!c.centeredSlides&&a.snapIndex===0?a.slideTo(a.virtual.slides.length,0,!1,!0):c.centeredSlides&&a.snapIndex<c.slidesPerView?a.slideTo(a.virtual.slides.length+a.snapIndex,0,!1,!0):a.snapIndex===a.snapGrid.length-1&&a.slideTo(a.virtual.slidesBefore,0,!1,!0)),a.allowSlidePrev=d,a.allowSlideNext=f,a.emit("loopFix");return}let T=c.slidesPerView;T==="auto"?T=a.slidesPerViewDynamic():(T=Math.ceil(parseFloat(c.slidesPerView,10)),v&&T%2===0&&(T=T+1));const P=c.slidesPerGroupAuto?T:c.slidesPerGroup;let g=P;g%P!==0&&(g+=P-g%P),g+=c.loopAdditionalSlides,a.loopedSlides=g;const M=a.grid&&c.grid&&c.grid.rows>1;u.length<T+g?Z("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):M&&c.grid.fill==="row"&&Z("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const p=[],S=[];let E=a.activeIndex;typeof r>"u"?r=a.getSlideIndex(u.filter(y=>y.classList.contains(c.slideActiveClass))[0]):E=r;const C=s==="next"||!s,O=s==="prev"||!s;let b=0,h=0;const w=M?Math.ceil(u.length/c.grid.rows):u.length,I=(M?u[r].column:r)+(v&&typeof n>"u"?-T/2+.5:0);if(I<g){b=Math.max(g-I,P);for(let y=0;y<g-I;y+=1){const L=y-Math.floor(y/w)*w;if(M){const z=w-L-1;for(let N=u.length-1;N>=0;N-=1)u[N].column===z&&p.push(N)}else p.push(w-L-1)}}else if(I+T>w-g){h=Math.max(I-(w-g*2),P);for(let y=0;y<h;y+=1){const L=y-Math.floor(y/w)*w;M?u.forEach((z,N)=>{z.column===L&&S.push(N)}):S.push(L)}}if(a.__preventObserver__=!0,requestAnimationFrame(()=>{a.__preventObserver__=!1}),O&&p.forEach(y=>{u[y].swiperLoopMoveDOM=!0,m.prepend(u[y]),u[y].swiperLoopMoveDOM=!1}),C&&S.forEach(y=>{u[y].swiperLoopMoveDOM=!0,m.append(u[y]),u[y].swiperLoopMoveDOM=!1}),a.recalcSlides(),c.slidesPerView==="auto"?a.updateSlides():M&&(p.length>0&&O||S.length>0&&C)&&a.slides.forEach((y,L)=>{a.grid.updateSlide(L,y,a.slides)}),c.watchSlidesProgress&&a.updateSlidesOffset(),i){if(p.length>0&&O){if(typeof e>"u"){const y=a.slidesGrid[E],z=a.slidesGrid[E+b]-y;o?a.setTranslate(a.translate-z):(a.slideTo(E+Math.ceil(b),0,!1,!0),n&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-z,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-z))}else if(n){const y=M?p.length/c.grid.rows:p.length;a.slideTo(a.activeIndex+y,0,!1,!0),a.touchEventsData.currentTranslate=a.translate}}else if(S.length>0&&C)if(typeof e>"u"){const y=a.slidesGrid[E],z=a.slidesGrid[E-h]-y;o?a.setTranslate(a.translate-z):(a.slideTo(E-h,0,!1,!0),n&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-z,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-z))}else{const y=M?S.length/c.grid.rows:S.length;a.slideTo(a.activeIndex-y,0,!1,!0)}}if(a.allowSlidePrev=d,a.allowSlideNext=f,a.controller&&a.controller.control&&!l){const y={slideRealIndex:e,direction:s,setTranslate:n,activeSlideIndex:r,byController:!0};Array.isArray(a.controller.control)?a.controller.control.forEach(L=>{!L.destroyed&&L.params.loop&&L.loopFix({...y,slideTo:L.params.slidesPerView===c.slidesPerView?i:!1})}):a.controller.control instanceof a.constructor&&a.controller.control.params.loop&&a.controller.control.loopFix({...y,slideTo:a.controller.control.params.slidesPerView===c.slidesPerView?i:!1})}a.emit("loopFix")}function At(){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(n=>{const r=typeof n.swiperSlideIndex>"u"?n.getAttribute("data-swiper-slide-index")*1:n.swiperSlideIndex;s[r]=n}),t.slides.forEach(n=>{n.removeAttribute("data-swiper-slide-index")}),s.forEach(n=>{i.append(n)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var _t={loopCreate:zt,loopFix:Bt,loopDestroy:At};function Dt(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 Gt(){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 Nt={setGrabCursor:Dt,unsetGrabCursor:Gt};function Vt(t,e){e===void 0&&(e=this);function i(s){if(!s||s===$()||s===A())return null;s.assignedSlot&&(s=s.assignedSlot);const n=s.closest(t);return!n&&!s.getRootNode?null:n||i(s.getRootNode().host)}return i(e)}function he(t,e,i){const s=A(),{params:n}=t,r=n.edgeSwipeDetection,l=n.edgeSwipeThreshold;return r&&(i<=l||i>=s.innerWidth-l)?r==="prevent"?(e.preventDefault(),!0):!1:!0}function Rt(t){const e=this,i=$();let s=t;s.originalEvent&&(s=s.originalEvent);const n=e.touchEventsData;if(s.type==="pointerdown"){if(n.pointerId!==null&&n.pointerId!==s.pointerId)return;n.pointerId=s.pointerId}else s.type==="touchstart"&&s.targetTouches.length===1&&(n.touchId=s.targetTouches[0].identifier);if(s.type==="touchstart"){he(e,s,s.targetTouches[0].pageX);return}const{params:r,touches:l,enabled:o}=e;if(!o||!r.simulateTouch&&s.pointerType==="mouse"||e.animating&&r.preventInteractionOnTransition)return;!e.animating&&r.cssMode&&r.loop&&e.loopFix();let a=s.target;if(r.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(a)||"which"in s&&s.which===3||"button"in s&&s.button>0||n.isTouched&&n.isMoved)return;const u=!!r.noSwipingClass&&r.noSwipingClass!=="",d=s.composedPath?s.composedPath():s.path;u&&s.target&&s.target.shadowRoot&&d&&(a=d[0]);const f=r.noSwipingSelector?r.noSwipingSelector:`.${r.noSwipingClass}`,m=!!(s.target&&s.target.shadowRoot);if(r.noSwiping&&(m?Vt(f,a):a.closest(f))){e.allowClick=!0;return}if(r.swipeHandler&&!a.closest(r.swipeHandler))return;l.currentX=s.pageX,l.currentY=s.pageY;const c=l.currentX,v=l.currentY;if(!he(e,s,c))return;Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=c,l.startY=v,n.touchStartTime=D(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,r.threshold>0&&(n.allowThresholdMove=!1);let T=!0;a.matches(n.focusableElements)&&(T=!1,a.nodeName==="SELECT"&&(n.isTouched=!1)),i.activeElement&&i.activeElement.matches(n.focusableElements)&&i.activeElement!==a&&i.activeElement.blur();const P=T&&e.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||P)&&!a.isContentEditable&&s.preventDefault(),r.freeMode&&r.freeMode.enabled&&e.freeMode&&e.animating&&!r.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",s)}function Ft(t){const e=$(),i=this,s=i.touchEventsData,{params:n,touches:r,rtlTranslate:l,enabled:o}=i;if(!o||!n.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 u;if(a.type==="touchmove"){if(u=[...a.changedTouches].filter(C=>C.identifier===s.touchId)[0],!u||u.identifier!==s.touchId)return}else u=a;if(!s.isTouched){s.startMoving&&s.isScrolling&&i.emit("touchMoveOpposite",a);return}const d=u.pageX,f=u.pageY;if(a.preventedByNestedSwiper){r.startX=d,r.startY=f;return}if(!i.allowTouchMove){a.target.matches(s.focusableElements)||(i.allowClick=!1),s.isTouched&&(Object.assign(r,{startX:d,startY:f,currentX:d,currentY:f}),s.touchStartTime=D());return}if(n.touchReleaseOnEdges&&!n.loop){if(i.isVertical()){if(f<r.startY&&i.translate<=i.maxTranslate()||f>r.startY&&i.translate>=i.minTranslate()){s.isTouched=!1,s.isMoved=!1;return}}else if(d<r.startX&&i.translate<=i.maxTranslate()||d>r.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&a.target===e.activeElement&&a.target.matches(s.focusableElements)){s.isMoved=!0,i.allowClick=!1;return}s.allowTouchCallbacks&&i.emit("touchMove",a),r.previousX=r.currentX,r.previousY=r.currentY,r.currentX=d,r.currentY=f;const m=r.currentX-r.startX,c=r.currentY-r.startY;if(i.params.threshold&&Math.sqrt(m**2+c**2)<i.params.threshold)return;if(typeof s.isScrolling>"u"){let C;i.isHorizontal()&&r.currentY===r.startY||i.isVertical()&&r.currentX===r.startX?s.isScrolling=!1:m*m+c*c>=25&&(C=Math.atan2(Math.abs(c),Math.abs(m))*180/Math.PI,s.isScrolling=i.isHorizontal()?C>n.touchAngle:90-C>n.touchAngle)}if(s.isScrolling&&i.emit("touchMoveOpposite",a),typeof s.startMoving>"u"&&(r.currentX!==r.startX||r.currentY!==r.startY)&&(s.startMoving=!0),s.isScrolling){s.isTouched=!1;return}if(!s.startMoving)return;i.allowClick=!1,!n.cssMode&&a.cancelable&&a.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&a.stopPropagation();let v=i.isHorizontal()?m:c,T=i.isHorizontal()?r.currentX-r.previousX:r.currentY-r.previousY;n.oneWayMovement&&(v=Math.abs(v)*(l?1:-1),T=Math.abs(T)*(l?1:-1)),r.diff=v,v*=n.touchRatio,l&&(v=-v,T=-T);const P=i.touchesDirection;i.swipeDirection=v>0?"prev":"next",i.touchesDirection=T>0?"prev":"next";const g=i.params.loop&&!n.cssMode,M=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!s.isMoved){if(g&&M&&i.loopFix({direction:i.swipeDirection}),s.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const C=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});i.wrapperEl.dispatchEvent(C)}s.allowMomentumBounce=!1,n.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",a)}let p;if(new Date().getTime(),s.isMoved&&s.allowThresholdMove&&P!==i.touchesDirection&&g&&M&&Math.abs(v)>=1){Object.assign(r,{startX:d,startY:f,currentX:d,currentY:f,startTranslate:s.currentTranslate}),s.loopSwapReset=!0,s.startTranslate=s.currentTranslate;return}i.emit("sliderMove",a),s.isMoved=!0,s.currentTranslate=v+s.startTranslate;let S=!0,E=n.resistanceRatio;if(n.touchReleaseOnEdges&&(E=0),v>0?(g&&M&&!p&&s.allowThresholdMove&&s.currentTranslate>(n.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),s.currentTranslate>i.minTranslate()&&(S=!1,n.resistance&&(s.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+s.startTranslate+v)**E))):v<0&&(g&&M&&!p&&s.allowThresholdMove&&s.currentTranslate<(n.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-(n.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(parseFloat(n.slidesPerView,10)))}),s.currentTranslate<i.maxTranslate()&&(S=!1,n.resistance&&(s.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-s.startTranslate-v)**E))),S&&(a.preventedByNestedSwiper=!0),!i.allowSlideNext&&i.swipeDirection==="next"&&s.currentTranslate<s.startTranslate&&(s.currentTranslate=s.startTranslate),!i.allowSlidePrev&&i.swipeDirection==="prev"&&s.currentTranslate>s.startTranslate&&(s.currentTranslate=s.startTranslate),!i.allowSlidePrev&&!i.allowSlideNext&&(s.currentTranslate=s.startTranslate),n.threshold>0)if(Math.abs(v)>n.threshold||s.allowThresholdMove){if(!s.allowThresholdMove){s.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,s.currentTranslate=s.startTranslate,r.diff=i.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY;return}}else{s.currentTranslate=s.startTranslate;return}!n.followFinger||n.cssMode||((n.freeMode&&n.freeMode.enabled&&i.freeMode||n.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),n.freeMode&&n.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(s.currentTranslate),i.setTranslate(s.currentTranslate))}function Ht(t){const e=this,i=e.touchEventsData;let s=t;s.originalEvent&&(s=s.originalEvent);let n;if(s.type==="touchend"||s.type==="touchcancel"){if(n=[...s.changedTouches].filter(E=>E.identifier===i.touchId)[0],!n||n.identifier!==i.touchId)return}else{if(i.touchId!==null||s.pointerId!==i.pointerId)return;n=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:u,enabled:d}=e;if(!d||!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=D(),m=f-i.touchStartTime;if(e.allowClick){const E=s.path||s.composedPath&&s.composedPath();e.updateClickedSlide(E&&E[0]||s.target,E),e.emit("tap click",s),m<300&&f-i.lastClickTime<300&&e.emit("doubleTap doubleClick",s)}if(i.lastClickTime=D(),Y(()=>{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 c;if(l.followFinger?c=a?e.translate:-e.translate:c=-i.currentTranslate,l.cssMode)return;if(l.freeMode&&l.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:c});return}const v=c>=-e.maxTranslate()&&!e.params.loop;let T=0,P=e.slidesSizesGrid[0];for(let E=0;E<u.length;E+=E<l.slidesPerGroupSkip?1:l.slidesPerGroup){const C=E<l.slidesPerGroupSkip-1?1:l.slidesPerGroup;typeof u[E+C]<"u"?(v||c>=u[E]&&c<u[E+C])&&(T=E,P=u[E+C]-u[E]):(v||c>=u[E])&&(T=E,P=u[u.length-1]-u[u.length-2])}let g=null,M=null;l.rewind&&(e.isBeginning?M=l.virtual&&l.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(g=0));const p=(c-u[T])/P,S=T<l.slidesPerGroupSkip-1?1:l.slidesPerGroup;if(m>l.longSwipesMs){if(!l.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(p>=l.longSwipesRatio?e.slideTo(l.rewind&&e.isEnd?g:T+S):e.slideTo(T)),e.swipeDirection==="prev"&&(p>1-l.longSwipesRatio?e.slideTo(T+S):M!==null&&p<0&&Math.abs(p)>l.longSwipesRatio?e.slideTo(M):e.slideTo(T))}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(T+S):e.slideTo(T):(e.swipeDirection==="next"&&e.slideTo(g!==null?g:T+S),e.swipeDirection==="prev"&&e.slideTo(M!==null?M:T))}}function ve(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:s,allowSlidePrev:n,snapGrid:r}=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=n,t.allowSlideNext=s,t.params.watchOverflow&&r!==t.snapGrid&&t.checkOverflow()}function kt(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function jt(){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 n;const r=t.maxTranslate()-t.minTranslate();r===0?n=0:n=(t.translate-t.minTranslate())/r,n!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function $t(t){const e=this;K(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function Wt(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const Ie=(t,e)=>{const i=$(),{params:s,el:n,wrapperEl:r,device:l}=t,o=!!s.nested,a=e==="on"?"addEventListener":"removeEventListener",u=e;i[a]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:o}),n[a]("touchstart",t.onTouchStart,{passive:!1}),n[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)&&n[a]("click",t.onClick,!0),s.cssMode&&r[a]("scroll",t.onScroll),s.updateOnWindowResize?t[u](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",ve,!0):t[u]("observerUpdate",ve,!0),n[a]("load",t.onLoad,{capture:!0})};function Xt(){const t=this,{params:e}=t;t.onTouchStart=Rt.bind(t),t.onTouchMove=Ft.bind(t),t.onTouchEnd=Ht.bind(t),t.onDocumentTouchStart=Wt.bind(t),e.cssMode&&(t.onScroll=jt.bind(t)),t.onClick=kt.bind(t),t.onLoad=$t.bind(t),Ie(t,"on")}function Yt(){Ie(this,"off")}var qt={attachEvents:Xt,detachEvents:Yt};const ge=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function Ut(){const t=this,{realIndex:e,initialized:i,params:s,el:n}=t,r=s.breakpoints;if(!r||r&&Object.keys(r).length===0)return;const l=t.getBreakpoint(r,t.params.breakpointsBase,t.el);if(!l||t.currentBreakpoint===l)return;const a=(l in r?r[l]:void 0)||t.originalParams,u=ge(t,s),d=ge(t,a),f=s.enabled;u&&!d?(n.classList.remove(`${s.containerModifierClass}grid`,`${s.containerModifierClass}grid-column`),t.emitContainerClasses()):!u&&d&&(n.classList.add(`${s.containerModifierClass}grid`),(a.grid.fill&&a.grid.fill==="column"||!a.grid.fill&&s.grid.fill==="column")&&n.classList.add(`${s.containerModifierClass}grid-column`),t.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(g=>{if(typeof a[g]>"u")return;const M=s[g]&&s[g].enabled,p=a[g]&&a[g].enabled;M&&!p&&t[g].disable(),!M&&p&&t[g].enable()});const m=a.direction&&a.direction!==s.direction,c=s.loop&&(a.slidesPerView!==s.slidesPerView||m),v=s.loop;m&&i&&t.changeDirection(),_(t.params,a);const T=t.params.enabled,P=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),f&&!T?t.disable():!f&&T&&t.enable(),t.currentBreakpoint=l,t.emit("_beforeBreakpoint",a),i&&(c?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!v&&P?(t.loopCreate(e),t.updateSlides()):v&&!P&&t.loopDestroy()),t.emit("breakpoint",a)}function Kt(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let s=!1;const n=A(),r=e==="window"?n.innerHeight:i.clientHeight,l=Object.keys(t).map(o=>{if(typeof o=="string"&&o.indexOf("@")===0){const a=parseFloat(o.substr(1));return{value:r*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<l.length;o+=1){const{point:a,value:u}=l[o];e==="window"?n.matchMedia(`(min-width: ${u}px)`).matches&&(s=a):u<=i.clientWidth&&(s=a)}return s||"max"}var Zt={setBreakpoint:Ut,getBreakpoint:Kt};function Jt(t,e){const i=[];return t.forEach(s=>{typeof s=="object"?Object.keys(s).forEach(n=>{s[n]&&i.push(e+n)}):typeof s=="string"&&i.push(e+s)}),i}function Qt(){const t=this,{classNames:e,params:i,rtl:s,el:n,device:r}=t,l=Jt(["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:r.android},{ios:r.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...l),n.classList.add(...e),t.emitContainerClasses()}function ei(){const t=this,{el:e,classNames:i}=t;e.classList.remove(...i),t.emitContainerClasses()}var ti={addClasses:Qt,removeClasses:ei};function ii(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:s}=i;if(s){const n=t.slides.length-1,r=t.slidesGrid[n]+t.slidesSizesGrid[n]+s*2;t.isLocked=t.size>r}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 si={checkOverflow:ii},de={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 ni(t,e){return function(s){s===void 0&&(s={});const n=Object.keys(s)[0],r=s[n];if(typeof r!="object"||r===null){_(e,s);return}if(t[n]===!0&&(t[n]={enabled:!0}),n==="navigation"&&t[n]&&t[n].enabled&&!t[n].prevEl&&!t[n].nextEl&&(t[n].auto=!0),["pagination","scrollbar"].indexOf(n)>=0&&t[n]&&t[n].enabled&&!t[n].el&&(t[n].auto=!0),!(n in t&&"enabled"in r)){_(e,s);return}typeof t[n]=="object"&&!("enabled"in t[n])&&(t[n].enabled=!0),t[n]||(t[n]={enabled:!1}),_(e,s)}}const ne={eventsEmitter:tt,update:ct,translate:wt,transition:yt,slide:Lt,loop:_t,grabCursor:Nt,events:qt,breakpoints:Zt,checkOverflow:si,classes:ti},re={};let fe=class V{constructor(){let e,i;for(var s=arguments.length,n=new Array(s),r=0;r<s;r++)n[r]=arguments[r];n.length===1&&n[0].constructor&&Object.prototype.toString.call(n[0]).slice(8,-1)==="Object"?i=n[0]:[e,i]=n,i||(i={}),i=_({},i),e&&!i.el&&(i.el=e);const l=$();if(i.el&&typeof i.el=="string"&&l.querySelectorAll(i.el).length>1){const d=[];return l.querySelectorAll(i.el).forEach(f=>{const m=_({},i,{el:f});d.push(new V(m))}),d}const o=this;o.__swiper__=!0,o.support=Me(),o.device=Pe({userAgent:i.userAgent}),o.browser=Je(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],i.modules&&Array.isArray(i.modules)&&o.modules.push(...i.modules);const a={};o.modules.forEach(d=>{d({params:i,swiper:o,extendParams:ni(i,a),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})});const u=_({},de,a);return o.params=_({},u,re,i),o.originalParams=_({},o.params),o.passedParams=_({},i),o.params&&o.params.on&&Object.keys(o.params.on).forEach(d=>{o.on(d,o.params.on[d])}),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,n=R(i,`.${s.slideClass}, swiper-slide`),r=pe(n[0]);return pe(e)-r}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(i=>i.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:i,params:s}=e;e.slides=R(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 n=s.minTranslate(),l=(s.maxTranslate()-n)*e+n;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 n=e.getSlideClasses(s);i.push({slideEl:s,classNames:n}),e.emit("_slideClass",s,n)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e,i){e===void 0&&(e="current"),i===void 0&&(i=!1);const s=this,{params:n,slides:r,slidesGrid:l,slidesSizesGrid:o,size:a,activeIndex:u}=s;let d=1;if(typeof n.slidesPerView=="number")return n.slidesPerView;if(n.centeredSlides){let f=r[u]?Math.ceil(r[u].swiperSlideSize):0,m;for(let c=u+1;c<r.length;c+=1)r[c]&&!m&&(f+=Math.ceil(r[c].swiperSlideSize),d+=1,f>a&&(m=!0));for(let c=u-1;c>=0;c-=1)r[c]&&!m&&(f+=r[c].swiperSlideSize,d+=1,f>a&&(m=!0))}else if(e==="current")for(let f=u+1;f<r.length;f+=1)(i?l[f]+o[f]-l[u]<a:l[f]-l[u]<a)&&(d+=1);else for(let f=u-1;f>=0;f-=1)l[u]-l[f]<a&&(d+=1);return d}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:i,params:s}=e;s.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(l=>{l.complete&&K(e,l)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function n(){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 r;if(s.freeMode&&s.freeMode.enabled&&!s.cssMode)n(),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;r=e.slideTo(l.length-1,0,!1,!0)}else r=e.slideTo(e.activeIndex,0,!1,!0);r||n()}s.watchOverflow&&i!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,i){i===void 0&&(i=!0);const s=this,n=s.params.direction;return e||(e=n==="horizontal"?"vertical":"horizontal"),e===n||e!=="horizontal"&&e!=="vertical"||(s.el.classList.remove(`${s.params.containerModifierClass}${n}`),s.el.classList.add(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.forEach(r=>{e==="vertical"?r.style.width="":r.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 n=()=>`.${(i.params.wrapperClass||"").trim().split(" ").join(".")}`;let l=s&&s.shadowRoot&&s.shadowRoot.querySelector?s.shadowRoot.querySelector(n()):R(s,n())[0];return!l&&i.params.createElements&&(l=le("div",i.params.wrapperClass),s.append(l),R(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"||F(s,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(s.dir.toLowerCase()==="rtl"||F(s,"direction")==="rtl"),wrongRTL:F(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 n=[...i.el.querySelectorAll('[loading="lazy"]')];return i.isElement&&n.push(...i.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach(r=>{r.complete?K(i,r):r.addEventListener("load",l=>{K(i,l.target)})}),oe(i),i.initialized=!0,oe(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:n,el:r,wrapperEl:l,slides:o}=s;return typeof s.params>"u"||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),n.loop&&s.loopDestroy(),i&&(s.removeClasses(),r.removeAttribute("style"),l.removeAttribute("style"),o&&o.length&&o.forEach(a=>{a.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.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.swiper=null,ke(s)),s.destroyed=!0),null}static extendDefaults(e){_(re,e)}static get extendedDefaults(){return re}static get defaults(){return de}static installModule(e){V.prototype.__modules__||(V.prototype.__modules__=[]);const i=V.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>V.installModule(i)),V):(V.installModule(e),V)}};Object.keys(ne).forEach(t=>{Object.keys(ne[t]).forEach(e=>{fe.prototype[e]=ne[t][e]})});fe.use([Qe,et]);const Oe=["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 H(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function j(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]:H(e[s])&&H(t[s])&&Object.keys(e[s]).length>0?e[s].__swiper__?t[s]=e[s]:j(t[s],e[s]):t[s]=e[s]})}function Le(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function ze(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function Be(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function Ae(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 ri(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function ai(t){let{swiper:e,slides:i,passedParams:s,changedParams:n,nextEl:r,prevEl:l,scrollbarEl:o,paginationEl:a}=t;const u=n.filter(h=>h!=="children"&&h!=="direction"&&h!=="wrapperClass"),{params:d,pagination:f,navigation:m,scrollbar:c,virtual:v,thumbs:T}=e;let P,g,M,p,S,E,C,O;n.includes("thumbs")&&s.thumbs&&s.thumbs.swiper&&d.thumbs&&!d.thumbs.swiper&&(P=!0),n.includes("controller")&&s.controller&&s.controller.control&&d.controller&&!d.controller.control&&(g=!0),n.includes("pagination")&&s.pagination&&(s.pagination.el||a)&&(d.pagination||d.pagination===!1)&&f&&!f.el&&(M=!0),n.includes("scrollbar")&&s.scrollbar&&(s.scrollbar.el||o)&&(d.scrollbar||d.scrollbar===!1)&&c&&!c.el&&(p=!0),n.includes("navigation")&&s.navigation&&(s.navigation.prevEl||l)&&(s.navigation.nextEl||r)&&(d.navigation||d.navigation===!1)&&m&&!m.prevEl&&!m.nextEl&&(S=!0);const b=h=>{e[h]&&(e[h].destroy(),h==="navigation"?(e.isElement&&(e[h].prevEl.remove(),e[h].nextEl.remove()),d[h].prevEl=void 0,d[h].nextEl=void 0,e[h].prevEl=void 0,e[h].nextEl=void 0):(e.isElement&&e[h].el.remove(),d[h].el=void 0,e[h].el=void 0))};n.includes("loop")&&e.isElement&&(d.loop&&!s.loop?E=!0:!d.loop&&s.loop?C=!0:O=!0),u.forEach(h=>{if(H(d[h])&&H(s[h]))Object.assign(d[h],s[h]),(h==="navigation"||h==="pagination"||h==="scrollbar")&&"enabled"in s[h]&&!s[h].enabled&&b(h);else{const w=s[h];(w===!0||w===!1)&&(h==="navigation"||h==="pagination"||h==="scrollbar")?w===!1&&b(h):d[h]=s[h]}}),u.includes("controller")&&!g&&e.controller&&e.controller.control&&d.controller&&d.controller.control&&(e.controller.control=d.controller.control),n.includes("children")&&i&&v&&d.virtual.enabled?(v.slides=i,v.update(!0)):n.includes("virtual")&&v&&d.virtual.enabled&&(i&&(v.slides=i),v.update(!0)),n.includes("children")&&i&&d.loop&&(O=!0),P&&T.init()&&T.update(!0),g&&(e.controller.control=d.controller.control),M&&(e.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-pagination"),a.part.add("pagination"),e.el.appendChild(a)),a&&(d.pagination.el=a),f.init(),f.render(),f.update()),p&&(e.isElement&&(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-scrollbar"),o.part.add("scrollbar"),e.el.appendChild(o)),o&&(d.scrollbar.el=o),c.init(),c.updateSize(),c.setTranslate()),S&&(e.isElement&&((!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-button-next"),r.innerHTML=e.hostEl.constructor.nextButtonSvg,r.part.add("button-next"),e.el.appendChild(r)),(!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))),r&&(d.navigation.nextEl=r),l&&(d.navigation.prevEl=l),m.init(),m.update()),n.includes("allowSlideNext")&&(e.allowSlideNext=s.allowSlideNext),n.includes("allowSlidePrev")&&(e.allowSlidePrev=s.allowSlidePrev),n.includes("direction")&&e.changeDirection(s.direction,!1),(E||O)&&e.loopDestroy(),(C||O)&&e.loopCreate(),e.update()}function we(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},s={},n={};j(i,de),i._emitClasses=!0,i.init=!1;const r={},l=Oe.map(a=>a.replace(/_/,"")),o=Object.assign({},t);return Object.keys(o).forEach(a=>{typeof t[a]>"u"||(l.indexOf(a)>=0?H(t[a])?(i[a]={},n[a]={},j(i[a],t[a]),j(n[a],t[a])):(i[a]=t[a],n[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]:r[a]=t[a])}),["navigation","pagination","scrollbar"].forEach(a=>{i[a]===!0&&(i[a]={}),i[a]===!1&&delete i[a]}),{params:i,passedParams:n,rest:r,events:s}}function li(t,e){let{el:i,nextEl:s,prevEl:n,paginationEl:r,scrollbarEl:l,swiper:o}=t;Le(e)&&s&&n&&(o.params.navigation.nextEl=s,o.originalParams.navigation.nextEl=s,o.params.navigation.prevEl=n,o.originalParams.navigation.prevEl=n),ze(e)&&r&&(o.params.pagination.el=r,o.originalParams.pagination.el=r),Be(e)&&l&&(o.params.scrollbar.el=l,o.originalParams.scrollbar.el=l),o.init(i)}function oi(t,e,i,s,n){const r=[];if(!e)return r;const l=a=>{r.indexOf(a)<0&&r.push(a)};if(i&&s){const a=s.map(n),u=i.map(n);a.join("")!==u.join("")&&l("children"),s.length!==i.length&&l("children")}return Oe.filter(a=>a[0]==="_").map(a=>a.replace(/_/,"")).forEach(a=>{if(a in t&&a in e)if(H(t[a])&&H(e[a])){const u=Object.keys(t[a]),d=Object.keys(e[a]);u.length!==d.length?l(a):(u.forEach(f=>{t[a][f]!==e[a][f]&&l(a)}),d.forEach(f=>{t[a][f]!==e[a][f]&&l(a)}))}else t[a]!==e[a]&&l(a)}),r}const di=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 ae(t,e,i){t===void 0&&(t={});const s=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]},r=(l,o)=>{Array.isArray(l)&&l.forEach(a=>{const u=typeof a.type=="symbol";o==="default"&&(o="container-end"),u&&a.children?r(a.children,o):a.type&&(a.type.name==="SwiperSlide"||a.type.name==="AsyncComponentWrapper")?s.push(a):n[o]&&n[o].push(a)})};return Object.keys(t).forEach(l=>{if(typeof t[l]!="function")return;const o=t[l]();r(o,l)}),i.value=e.value,e.value=s,{slides:s,slots:n}}function ui(t,e,i){if(!i)return null;const s=d=>{let f=d;return d<0?f=e.length+d:f>=e.length&&(f=f-e.length),f},n=t.value.isHorizontal()?{[t.value.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:r,to:l}=i,o=t.value.params.loop?-e.length:0,a=t.value.params.loop?e.length*2:e.length,u=[];for(let d=o;d<a;d+=1)d>=r&&d<=l&&u.push(e[s(d)]);return u.map(d=>(d.props||(d.props={}),d.props.style||(d.props.style={}),d.props.swiperRef=t,d.props.style=n,G(d.type,{...d.props},d.children)))}const ci={name:"Swiper",props:{tag:{type:String,default:"div"},wrapperTag:{type:String,default:"div"},modules:{type:Array,default:void 0},init:{type:Boolean,default:void 0},direction:{type:String,default:void 0},oneWayMovement:{type:Boolean,default:void 0},swiperElementNodeName:{type:String,default:"SWIPER-CONTAINER"},touchEventsTarget:{type:String,default:void 0},initialSlide:{type:Number,default:void 0},speed:{type:Number,default:void 0},cssMode:{type:Boolean,default:void 0},updateOnWindowResize:{type:Boolean,default:void 0},resizeObserver:{type:Boolean,default:void 0},nested:{type:Boolean,default:void 0},focusableElements:{type:String,default:void 0},width:{type:Number,default:void 0},height:{type:Number,default:void 0},preventInteractionOnTransition:{type:Boolean,default:void 0},userAgent:{type:String,default:void 0},url:{type:String,default:void 0},edgeSwipeDetection:{type:[Boolean,String],default:void 0},edgeSwipeThreshold:{type:Number,default:void 0},autoHeight:{type:Boolean,default:void 0},setWrapperSize:{type:Boolean,default:void 0},virtualTranslate:{type:Boolean,default:void 0},effect:{type:String,default:void 0},breakpoints:{type:Object,default:void 0},spaceBetween:{type:[Number,String],default:void 0},slidesPerView:{type:[Number,String],default:void 0},maxBackfaceHiddenSlides:{type:Number,default:void 0},slidesPerGroup:{type:Number,default:void 0},slidesPerGroupSkip:{type:Number,default:void 0},slidesPerGroupAuto:{type:Boolean,default:void 0},centeredSlides:{type:Boolean,default:void 0},centeredSlidesBounds:{type:Boolean,default:void 0},slidesOffsetBefore:{type:Number,default:void 0},slidesOffsetAfter:{type:Number,default:void 0},normalizeSlideIndex:{type:Boolean,default:void 0},centerInsufficientSlides:{type:Boolean,default:void 0},watchOverflow:{type:Boolean,default:void 0},roundLengths:{type:Boolean,default:void 0},touchRatio:{type:Number,default:void 0},touchAngle:{type:Number,default:void 0},simulateTouch:{type:Boolean,default:void 0},shortSwipes:{type:Boolean,default:void 0},longSwipes:{type:Boolean,default:void 0},longSwipesRatio:{type:Number,default:void 0},longSwipesMs:{type:Number,default:void 0},followFinger:{type:Boolean,default:void 0},allowTouchMove:{type:Boolean,default:void 0},threshold:{type:Number,default:void 0},touchMoveStopPropagation:{type:Boolean,default:void 0},touchStartPreventDefault:{type:Boolean,default:void 0},touchStartForcePreventDefault:{type:Boolean,default:void 0},touchReleaseOnEdges:{type:Boolean,default:void 0},uniqueNavElements:{type:Boolean,default:void 0},resistance:{type:Boolean,default:void 0},resistanceRatio:{type:Number,default:void 0},watchSlidesProgress:{type:Boolean,default:void 0},grabCursor:{type:Boolean,default:void 0},preventClicks:{type:Boolean,default:void 0},preventClicksPropagation:{type:Boolean,default:void 0},slideToClickedSlide:{type:Boolean,default:void 0},loop:{type:Boolean,default:void 0},loopedSlides:{type:Number,default:void 0},loopPreventsSliding:{type:Boolean,default:void 0},rewind:{type:Boolean,default:void 0},allowSlidePrev:{type:Boolean,default:void 0},allowSlideNext:{type:Boolean,default:void 0},swipeHandler:{type:Boolean,default:void 0},noSwiping:{type:Boolean,default:void 0},noSwipingClass:{type:String,default:void 0},noSwipingSelector:{type:String,default:void 0},passiveListeners:{type:Boolean,default:void 0},containerModifierClass:{type:String,default:void 0},slideClass:{type:String,default:void 0},slideActiveClass:{type:String,default:void 0},slideVisibleClass:{type:String,default:void 0},slideFullyVisibleClass:{type:String,default:void 0},slideBlankClass:{type:String,default:void 0},slideNextClass:{type:String,default:void 0},slidePrevClass:{type:String,default:void 0},wrapperClass:{type:String,default:void 0},lazyPreloaderClass:{type:String,default:void 0},lazyPreloadPrevNext:{type:Number,default:void 0},runCallbacksOnInit:{type:Boolean,default:void 0},observer:{type:Boolean,default:void 0},observeParents:{type:Boolean,default:void 0},observeSlideChildren:{type:Boolean,default:void 0},a11y:{type:[Boolean,Object],default:void 0},autoplay:{type:[Boolean,Object],default:void 0},controller:{type:Object,default:void 0},coverflowEffect:{type:Object,default:void 0},cubeEffect:{type:Object,default:void 0},fadeEffect:{type:Object,default:void 0},flipEffect:{type:Object,default:void 0},creativeEffect:{type:Object,default:void 0},cardsEffect:{type:Object,default:void 0},hashNavigation:{type:[Boolean,Object],default:void 0},history:{type:[Boolean,Object],default:void 0},keyboard:{type:[Boolean,Object],default:void 0},mousewheel:{type:[Boolean,Object],default:void 0},navigation:{type:[Boolean,Object],default:void 0},pagination:{type:[Boolean,Object],default:void 0},parallax:{type:[Boolean,Object],default:void 0},scrollbar:{type:[Boolean,Object],default:void 0},thumbs:{type:Object,default:void 0},virtual:{type:[Boolean,Object],default:void 0},zoom:{type:[Boolean,Object],default:void 0},grid:{type:[Object],default:void 0},freeMode:{type:[Boolean,Object],default:void 0},enabled:{type:Boolean,default:void 0}},emits:["_beforeBreakpoint","_containerClasses","_slideClass","_slideClasses","_swiper","_freeModeNoMomentumRelease","activeIndexChange","afterInit","autoplay","autoplayStart","autoplayStop","autoplayPause","autoplayResume","autoplayTimeLeft","beforeDestroy","beforeInit","beforeLoopFix","beforeResize","beforeSlideChangeStart","beforeTransitionStart","breakpoint","breakpointsBase","changeDirection","click","disable","doubleTap","doubleClick","destroy","enable","fromEdge","hashChange","hashSet","init","keyPress","lock","loopFix","momentumBounce","navigationHide","navigationShow","navigationPrev","navigationNext","observerUpdate","orientationchange","paginationHide","paginationRender","paginationShow","paginationUpdate","progress","reachBeginning","reachEnd","realIndexChange","resize","scroll","scrollbarDragEnd","scrollbarDragMove","scrollbarDragStart","setTransition","setTranslate","slidesUpdated","slideChange","slideChangeTransitionEnd","slideChangeTransitionStart","slideNextTransitionEnd","slideNextTransitionStart","slidePrevTransitionEnd","slidePrevTransitionStart","slideResetTransitionStart","slideResetTransitionEnd","sliderMove","sliderFirstMove","slidesLengthChange","slidesGridLengthChange","snapGridLengthChange","snapIndexChange","swiper","tap","toEdge","touchEnd","touchMove","touchMoveOpposite","touchStart","transitionEnd","transitionStart","unlock","update","virtualUpdate","zoomChange"],setup(t,e){let{slots:i,emit:s}=e;const{tag:n,wrapperTag:r}=t,l=B("swiper"),o=B(null),a=B(!1),u=B(!1),d=B(null),f=B(null),m=B(null),c={value:[]},v={value:[]},T=B(null),P=B(null),g=B(null),M=B(null),{params:p,passedParams:S}=we(t,!1);ae(i,c,v),m.value=S,v.value=c.value;const E=()=>{ae(i,c,v),a.value=!0};p.onAny=function(b){for(var h=arguments.length,w=new Array(h>1?h-1:0),x=1;x<h;x++)w[x-1]=arguments[x];s(b,...w)},Object.assign(p.on,{_beforeBreakpoint:E,_containerClasses(b,h){l.value=h}});const C={...p};if(delete C.wrapperClass,f.value=new fe(C),f.value.virtual&&f.value.params.virtual.enabled){f.value.virtual.slides=c.value;const b={cache:!1,slides:c.value,renderExternal:h=>{o.value=h},renderExternalUpdate:!1};j(f.value.params.virtual,b),j(f.value.originalParams.virtual,b)}Se(()=>{!u.value&&f.value&&(f.value.emitSlidesClasses(),u.value=!0);const{passedParams:b}=we(t,!1),h=oi(b,m.value,c.value,v.value,w=>w.props&&w.props.key);m.value=b,(h.length||a.value)&&f.value&&!f.value.destroyed&&ai({swiper:f.value,slides:c.value,passedParams:b,changedParams:h,nextEl:T.value,prevEl:P.value,scrollbarEl:M.value,paginationEl:g.value}),a.value=!1}),Te("swiper",f),Ge(o,()=>{Ne(()=>{di(f.value)})}),be(()=>{d.value&&(li({el:d.value,nextEl:T.value,prevEl:P.value,paginationEl:g.value,scrollbarEl:M.value,swiper:f.value},p),s("swiper",f.value))}),ye(()=>{f.value&&!f.value.destroyed&&f.value.destroy(!0,!1)});function O(b){return p.virtual?ui(f,b,o.value):(b.forEach((h,w)=>{h.props||(h.props={}),h.props.swiperRef=f,h.props.swiperSlideIndex=w}),b)}return()=>{const{slides:b,slots:h}=ae(i,c,v);return G(n,{ref:d,class:Ae(l.value)},[h["container-start"],G(r,{class:ri(p.wrapperClass)},[h["wrapper-start"],O(b),h["wrapper-end"]]),Le(t)&&[G("div",{ref:P,class:"swiper-button-prev"}),G("div",{ref:T,class:"swiper-button-next"})],Be(t)&&G("div",{ref:M,class:"swiper-scrollbar"}),ze(t)&&G("div",{ref:g,class:"swiper-pagination"}),h["container-end"]])}}},pi={name:"SwiperSlide",props:{tag:{type:String,default:"div"},swiperRef:{type:Object,required:!1},swiperSlideIndex:{type:Number,default:void 0,required:!1},zoom:{type:Boolean,default:void 0,required:!1},lazy:{type:Boolean,default:!1,required:!1},virtualIndex:{type:[String,Number],default:void 0}},setup(t,e){let{slots:i}=e,s=!1;const{swiperRef:n}=t,r=B(null),l=B("swiper-slide"),o=B(!1);function a(f,m,c){m===r.value&&(l.value=c)}be(()=>{!n||!n.value||(n.value.on("_slideClass",a),s=!0)}),Ve(()=>{s||!n||!n.value||(n.value.on("_slideClass",a),s=!0)}),Se(()=>{!r.value||!n||!n.value||(typeof t.swiperSlideIndex<"u"&&(r.value.swiperSlideIndex=t.swiperSlideIndex),n.value.destroyed&&l.value!=="swiper-slide"&&(l.value="swiper-slide"))}),ye(()=>{!n||!n.value||n.value.off("_slideClass",a)});const u=Re(()=>({isActive:l.value.indexOf("swiper-slide-active")>=0,isVisible:l.value.indexOf("swiper-slide-visible")>=0,isPrev:l.value.indexOf("swiper-slide-prev")>=0,isNext:l.value.indexOf("swiper-slide-next")>=0}));Te("swiperSlide",u);const d=()=>{o.value=!0};return()=>G(t.tag,{class:Ae(`${l.value}`),ref:r,"data-swiper-slide-index":typeof t.virtualIndex>"u"&&n&&n.value&&n.value.params.loop?t.swiperSlideIndex:t.virtualIndex,onLoadCapture:d},t.zoom?G("div",{class:"swiper-zoom-container","data-swiper-zoom":typeof t.zoom=="number"?t.zoom:void 0},[i.default&&i.default(u.value),t.lazy&&!o.value&&G("div",{class:"swiper-lazy-preloader"})]):[i.default&&i.default(u.value),t.lazy&&!o.value&&G("div",{class:"swiper-lazy-preloader"})])}};function mi(t){let{swiper:e,extendParams:i,on:s,emit:n}=t;const r=A();i({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let l,o=D(),a;const u=[];function d(p){let O=0,b=0,h=0,w=0;return"detail"in p&&(b=p.detail),"wheelDelta"in p&&(b=-p.wheelDelta/120),"wheelDeltaY"in p&&(b=-p.wheelDeltaY/120),"wheelDeltaX"in p&&(O=-p.wheelDeltaX/120),"axis"in p&&p.axis===p.HORIZONTAL_AXIS&&(O=b,b=0),h=O*10,w=b*10,"deltaY"in p&&(w=p.deltaY),"deltaX"in p&&(h=p.deltaX),p.shiftKey&&!h&&(h=w,w=0),(h||w)&&p.deltaMode&&(p.deltaMode===1?(h*=40,w*=40):(h*=800,w*=800)),h&&!O&&(O=h<1?-1:1),w&&!b&&(b=w<1?-1:1),{spinX:O,spinY:b,pixelX:h,pixelY:w}}function f(){e.enabled&&(e.mouseEntered=!0)}function m(){e.enabled&&(e.mouseEntered=!1)}function c(p){return e.params.mousewheel.thresholdDelta&&p.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&D()-o<e.params.mousewheel.thresholdTime?!1:p.delta>=6&&D()-o<60?!0:(p.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),n("scroll",p.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),n("scroll",p.raw)),o=new r.Date().getTime(),!1)}function v(p){const S=e.params.mousewheel;if(p.direction<0){if(e.isEnd&&!e.params.loop&&S.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&S.releaseOnEdges)return!0;return!1}function T(p){let S=p,E=!0;if(!e.enabled||p.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const C=e.params.mousewheel;e.params.cssMode&&S.preventDefault();let O=e.el;e.params.mousewheel.eventsTarget!=="container"&&(O=document.querySelector(e.params.mousewheel.eventsTarget));const b=O&&O.contains(S.target);if(!e.mouseEntered&&!b&&!C.releaseOnEdges)return!0;S.originalEvent&&(S=S.originalEvent);let h=0;const w=e.rtlTranslate?-1:1,x=d(S);if(C.forceToAxis)if(e.isHorizontal())if(Math.abs(x.pixelX)>Math.abs(x.pixelY))h=-x.pixelX*w;else return!0;else if(Math.abs(x.pixelY)>Math.abs(x.pixelX))h=-x.pixelY;else return!0;else h=Math.abs(x.pixelX)>Math.abs(x.pixelY)?-x.pixelX*w:-x.pixelY;if(h===0)return!0;C.invert&&(h=-h);let I=e.getTranslate()+h*C.sensitivity;if(I>=e.minTranslate()&&(I=e.minTranslate()),I<=e.maxTranslate()&&(I=e.maxTranslate()),E=e.params.loop?!0:!(I===e.minTranslate()||I===e.maxTranslate()),E&&e.params.nested&&S.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const y={time:D(),delta:Math.abs(h),direction:Math.sign(h),raw:p};u.length>=2&&u.shift();const L=u.length?u[u.length-1]:void 0;if(u.push(y),L?(y.direction!==L.direction||y.delta>L.delta||y.time>L.time+150)&&c(y):c(y),v(y))return!0}else{const y={time:D(),delta:Math.abs(h),direction:Math.sign(h)},L=a&&y.time<a.time+500&&y.delta<=a.delta&&y.direction===a.direction;if(!L){a=void 0;let z=e.getTranslate()+h*C.sensitivity;const N=e.isBeginning,J=e.isEnd;if(z>=e.minTranslate()&&(z=e.minTranslate()),z<=e.maxTranslate()&&(z=e.maxTranslate()),e.setTransition(0),e.setTranslate(z),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!N&&e.isBeginning||!J&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:y.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(l),l=void 0,u.length>=15&&u.shift();const k=u.length?u[u.length-1]:void 0,W=u[0];if(u.push(y),k&&(y.delta>k.delta||y.direction!==k.direction))u.splice(0);else if(u.length>=15&&y.time-W.time<500&&W.delta-y.delta>=1&&y.delta<=6){const X=h>0?.8:.2;a=y,u.splice(0),l=Y(()=>{e.slideToClosest(e.params.speed,!0,void 0,X)},0)}l||(l=Y(()=>{a=y,u.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(L||n("scroll",S),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),C.releaseOnEdges&&(z===e.minTranslate()||z===e.maxTranslate()))return!0}}return S.preventDefault?S.preventDefault():S.returnValue=!1,!1}function P(p){let S=e.el;e.params.mousewheel.eventsTarget!=="container"&&(S=document.querySelector(e.params.mousewheel.eventsTarget)),S[p]("mouseenter",f),S[p]("mouseleave",m),S[p]("wheel",T)}function g(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",T),!0):e.mousewheel.enabled?!1:(P("addEventListener"),e.mousewheel.enabled=!0,!0)}function M(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,T),!0):e.mousewheel.enabled?(P("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}s("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&M(),e.params.mousewheel.enabled&&g()}),s("destroy",()=>{e.params.cssMode&&g(),e.mousewheel.enabled&&M()}),Object.assign(e.mousewheel,{enable:g,disable:M})}function hi(t){let{swiper:e,extendParams:i,emit:s,once:n}=t;i({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function r(){if(e.params.cssMode)return;const a=e.getTranslate();e.setTranslate(a),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function l(){if(e.params.cssMode)return;const{touchEventsData:a,touches:u}=e;a.velocities.length===0&&a.velocities.push({position:u[e.isHorizontal()?"startX":"startY"],time:a.touchStartTime}),a.velocities.push({position:u[e.isHorizontal()?"currentX":"currentY"],time:D()})}function o(a){let{currentPos:u}=a;if(e.params.cssMode)return;const{params:d,wrapperEl:f,rtlTranslate:m,snapGrid:c,touchEventsData:v}=e,P=D()-v.touchStartTime;if(u<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(u>-e.maxTranslate()){e.slides.length<c.length?e.slideTo(c.length-1):e.slideTo(e.slides.length-1);return}if(d.freeMode.momentum){if(v.velocities.length>1){const b=v.velocities.pop(),h=v.velocities.pop(),w=b.position-h.position,x=b.time-h.time;e.velocity=w/x,e.velocity/=2,Math.abs(e.velocity)<d.freeMode.minimumVelocity&&(e.velocity=0),(x>150||D()-b.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=d.freeMode.momentumVelocityRatio,v.velocities.length=0;let g=1e3*d.freeMode.momentumRatio;const M=e.velocity*g;let p=e.translate+M;m&&(p=-p);let S=!1,E;const C=Math.abs(e.velocity)*20*d.freeMode.momentumBounceRatio;let O;if(p<e.maxTranslate())d.freeMode.momentumBounce?(p+e.maxTranslate()<-C&&(p=e.maxTranslate()-C),E=e.maxTranslate(),S=!0,v.allowMomentumBounce=!0):p=e.maxTranslate(),d.loop&&d.centeredSlides&&(O=!0);else if(p>e.minTranslate())d.freeMode.momentumBounce?(p-e.minTranslate()>C&&(p=e.minTranslate()+C),E=e.minTranslate(),S=!0,v.allowMomentumBounce=!0):p=e.minTranslate(),d.loop&&d.centeredSlides&&(O=!0);else if(d.freeMode.sticky){let b;for(let h=0;h<c.length;h+=1)if(c[h]>-p){b=h;break}Math.abs(c[b]-p)<Math.abs(c[b-1]-p)||e.swipeDirection==="next"?p=c[b]:p=c[b-1],p=-p}if(O&&n("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(m?g=Math.abs((-p-e.translate)/e.velocity):g=Math.abs((p-e.translate)/e.velocity),d.freeMode.sticky){const b=Math.abs((m?-p:p)-e.translate),h=e.slidesSizesGrid[e.activeIndex];b<h?g=d.speed:b<2*h?g=d.speed*1.5:g=d.speed*2.5}}else if(d.freeMode.sticky){e.slideToClosest();return}d.freeMode.momentumBounce&&S?(e.updateProgress(E),e.setTransition(g),e.setTranslate(p),e.transitionStart(!0,e.swipeDirection),e.animating=!0,Q(f,()=>{!e||e.destroyed||!v.allowMomentumBounce||(s("momentumBounce"),e.setTransition(d.speed),setTimeout(()=>{e.setTranslate(E),Q(f,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(s("_freeModeNoMomentumRelease"),e.updateProgress(p),e.setTransition(g),e.setTranslate(p),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,Q(f,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(p),e.updateActiveIndex(),e.updateSlidesClasses()}else if(d.freeMode.sticky){e.slideToClosest();return}else d.freeMode&&s("_freeModeNoMomentumRelease");(!d.freeMode.momentum||P>=d.longSwipesMs)&&(s("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:r,onTouchMove:l,onTouchEnd:o}})}export{mi as M,ci as S,pi as a,hi as f};