shopypanda.com Open in urlscan Pro
2606:4700:3033::ac43:a4ee  Public Scan

Submitted URL: http://shopypanda.com/wp-content/themes/woodmart/js/libs/swiper.min.js?ver=7.5.2
Effective URL: https://shopypanda.com/wp-content/themes/woodmart/js/libs/swiper.min.js?ver=7.5.2
Submission: On October 24 via api from US — Scanned from US

Form analysis 0 forms found in the DOM

Text Content

var wdSwiper=function(){"use strict";function a(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function i(t,s){void 0===t&&(t={}),void 0===s&&(s={}),Object.keys(s).forEach(e=>{void 0===t[e]?t[e]=s[e]:a(s[e])&&a(t[e])&&0<Object.keys(s[e]).length&&i(t[e],s[e])})}const t={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function k(){var e="undefined"!=typeof document?document:{};return i(e,t),e}const O={document:t,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(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function E(){var e="undefined"!=typeof window?window:{};return i(e,O),e}function C(e){return(e=void 0===e?"":e).trim().split(" ").filter(e=>!!e.trim())}function M(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function m(){return Date.now()}function z(e,t){void 0===t&&(t="x");var s=E();let a,i,r;e=function(e){var t=E();let s;return s=(s=!(s=t.getComputedStyle?t.getComputedStyle(e,null):s)&&e.currentStyle?e.currentStyle:s)||e.style}(e);return s.WebKitCSSMatrix?(6<(i=e.transform||e.webkitTransform).split(",").length&&(i=i.split(", ").map(e=>e.replace(",",".")).join(", ")),r=new s.WebKitCSSMatrix("none"===i?"":i)):(r=e.MozTransform||e.OTransform||e.MsTransform||e.msTransform||e.transform||e.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),a=r.toString().split(",")),"x"===t&&(i=s.WebKitCSSMatrix?r.m41:16===a.length?parseFloat(a[12]):parseFloat(a[4])),(i="y"===t?s.WebKitCSSMatrix?r.m42:16===a.length?parseFloat(a[13]):parseFloat(a[5]):i)||0}function o(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function u(e){var t,s=Object(arguments.length<=0?void 0:e);const a=["__proto__","constructor","prototype"];for(let e=1;e<arguments.length;e+=1){var i=e<0||arguments.length<=e?void 0:arguments[e];if(null!=i&&(t=i,!("undefined"!=typeof window&&void 0!==window.HTMLElement?t instanceof HTMLElement:t&&(1===t.nodeType||11===t.nodeType)))){var r=Object.keys(Object(i)).filter(e=>a.indexOf(e)<0);for(let e=0,t=r.length;e<t;e+=1){var l=r[e],n=Object.getOwnPropertyDescriptor(i,l);void 0!==n&&n.enumerable&&(o(s[l])&&o(i[l])?i[l].__swiper__?s[l]=i[l]:u(s[l],i[l]):o(s[l])||!o(i[l])||(s[l]={},i[l].__swiper__)?s[l]=i[l]:u(s[l],i[l]))}}}return s}function R(e,t,s){e.style.setProperty(t,s)}function x(e){let{swiper:s,targetPosition:a,side:i}=e;const r=E(),l=-s.translate;let n=null,o;const d=s.params.speed,p=(s.wrapperEl.style.scrollSnapType="none",r.cancelAnimationFrame(s.cssModeFrameID),a>l?"next":"prev"),c=(e,t)=>"next"===p&&t<=e||"prev"===p&&e<=t,u=()=>{o=(new Date).getTime(),null===n&&(n=o);var e=Math.max(Math.min((o-n)/d,1),0),e=.5-Math.cos(e*Math.PI)/2;let t=l+e*(a-l);c(t,a)&&(t=a),s.wrapperEl.scrollTo({[i]:t}),c(t,a)?(s.wrapperEl.style.overflow="hidden",s.wrapperEl.style.scrollSnapType="",setTimeout(()=>{s.wrapperEl.style.overflow="",s.wrapperEl.scrollTo({[i]:t})}),r.cancelAnimationFrame(s.cssModeFrameID)):s.cssModeFrameID=r.requestAnimationFrame(u)};u()}function v(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function j(e,t){return void 0===t&&(t=""),[...e.children].filter(e=>e.matches(t))}function A(e){try{console.warn(e)}catch(e){}}function P(e,t){void 0===t&&(t=[]);e=document.createElement(e);return e.classList.add(...Array.isArray(t)?t:C(t)),e}function W(e,t){return E().getComputedStyle(e,null).getPropertyValue(t)}function y(e){let t=e,s;if(t){for(s=0;null!==(t=t.previousSibling);)1===t.nodeType&&(s+=1);return s}}function p(e,t){var s=[];let a=e.parentElement;for(;a;)t&&!a.matches(t)||s.push(a),a=a.parentElement;return s}function D(s,a){a&&s.addEventListener("transitionend",function e(t){t.target===s&&(a.call(s,t),s.removeEventListener("transitionend",e))})}function $(e,t,s){var a=E();return s?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(a.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(a.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}let s;function c(){var e,t;return s=s||(e=E(),{smoothScroll:(t=k()).documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)})}let r;function G(e){return void 0===e&&(e={}),r=r||function(e){var e=(void 0===e?{}:e)["userAgent"],t=c(),s=(r=E()).navigator.platform,e=e||r.navigator.userAgent,a={ios:!1,android:!1},i=r.screen.width,r=r.screen.height,l=e.match(/(Android);?[\s\/]+([\d.]+)?/);let n=e.match(/(iPad).*OS\s([\d_]+)/);var o=e.match(/(iPod)(.*OS\s([\d_]+))?/),d=!n&&e.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p="Win32"===s,s="MacIntel"===s;return!n&&s&&t.touch&&0<=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(i+"x"+r)&&(n=(n=e.match(/(Version)\/([\d.]+)/))||[0,1,"13_0_0"]),l&&!p&&(a.os="android",a.android=!0),(n||d||o)&&(a.os="ios",a.ios=!0),a}(e)}let e;function _(){return e=e||function(){const t=E();let e=!1;function s(){var e=t.navigator.userAgent.toLowerCase();return 0<=e.indexOf("safari")&&e.indexOf("chrome")<0&&e.indexOf("android")<0}var a,i;return s()&&(a=String(t.navigator.userAgent)).includes("Version/")&&([a,i]=a.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e)),e=a<16||16===a&&i<2),{isSafari:e||s(),needPerspectiveFix:e,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}}()}const l=(t,e)=>{if(t&&!t.destroyed&&t.params){const s=e.closest(t.isElement?"swiper-slide":"."+t.params.slideClass);if(s){let e=s.querySelector("."+t.params.lazyPreloaderClass);!e&&t.isElement&&(s.shadowRoot?e=s.shadowRoot.querySelector("."+t.params.lazyPreloaderClass):requestAnimationFrame(()=>{s.shadowRoot&&(e=s.shadowRoot.querySelector("."+t.params.lazyPreloaderClass))&&e.remove()})),e&&e.remove()}}},h=(e,t)=>{e.slides[t]&&(e=e.slides[t].querySelector('[loading="lazy"]'))&&e.removeAttribute("loading")},f=s=>{if(s&&!s.destroyed&&s.params){var t=s.params.lazyPreloadPrevNext,a=s.slides.length;if(a&&t&&!(t<0)){t=Math.min(t,a);const n="auto"===s.params.slidesPerView?s.slidesPerViewDynamic():Math.ceil(s.params.slidesPerView);var i=s.activeIndex;if(s.params.grid&&1<s.params.grid.rows){const o=i,d=[o-t];d.push(...Array.from({length:t}).map((e,t)=>o+n+t)),void s.slides.forEach((e,t)=>{d.includes(e.column)&&h(s,t)})}else{var r=i+n-1;if(s.params.rewind||s.params.loop)for(let e=i-t;e<=r+t;e+=1){var l=(e%a+a)%a;(l<i||r<l)&&h(s,l)}else for(let e=Math.max(i-t,0);e<=Math.min(r+t,a-1);e+=1)e!==i&&(e>r||e<i)&&h(s,e)}}}};function n(e){var{swiper:e,runCallbacks:t,direction:s,step:a}=e,{activeIndex:i,previousIndex:r}=e;let l=s;l=l||(r<i?"next":i<r?"prev":"reset"),e.emit("transition"+a),t&&i!==r&&("reset"===l?e.emit("slideResetTransition"+a):(e.emit("slideChangeTransition"+a),"next"===l?e.emit("slideNextTransition"+a):e.emit("slidePrevTransition"+a)))}function F(a,e){return function e(t){var s;return t&&t!==k()&&t!==E()&&((s=(t=t.assignedSlot||t).closest(a))||t.getRootNode)?s||e(t.getRootNode().host):null}(e=void 0===e?this:e)}function g(e,t,s){var a=E(),e=e["params"],i=e.edgeSwipeDetection,e=e.edgeSwipeThreshold;return!i||!(s<=e||s>=a.innerWidth-e)||"prevent"===i&&(t.preventDefault(),1)}function d(){const e=this;var t,s,a,i,{params:r,el:l}=e;l&&0===l.offsetWidth||(r.breakpoints&&e.setBreakpoint(),{allowSlideNext:l,allowSlidePrev:t,snapGrid:s}=e,a=e.virtual&&e.params.virtual.enabled,e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),i=a&&r.loop,!("auto"===r.slidesPerView||1<r.slidesPerView)||!e.isEnd||e.isBeginning||e.params.centeredSlides||i?e.params.loop&&!a?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=t,e.allowSlideNext=l,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow())}const b=(e,t)=>{var s=k(),{params:a,el:i,wrapperEl:r,device:l}=e,n=!!a.nested,o="on"===t?"addEventListener":"removeEventListener";s[o]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:n}),i[o]("touchstart",e.onTouchStart,{passive:!1}),i[o]("pointerdown",e.onTouchStart,{passive:!1}),s[o]("touchmove",e.onTouchMove,{passive:!1,capture:n}),s[o]("pointermove",e.onTouchMove,{passive:!1,capture:n}),s[o]("touchend",e.onTouchEnd,{passive:!0}),s[o]("pointerup",e.onTouchEnd,{passive:!0}),s[o]("pointercancel",e.onTouchEnd,{passive:!0}),s[o]("touchcancel",e.onTouchEnd,{passive:!0}),s[o]("pointerout",e.onTouchEnd,{passive:!0}),s[o]("pointerleave",e.onTouchEnd,{passive:!0}),s[o]("contextmenu",e.onTouchEnd,{passive:!0}),(a.preventClicks||a.preventClicksPropagation)&&i[o]("click",e.onClick,!0),a.cssMode&&r[o]("scroll",e.onScroll),a.updateOnWindowResize?e[t](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",d,!0):e[t]("observerUpdate",d,!0),i[o]("load",e.onLoad,{capture:!0})};const B=(e,t)=>e.grid&&t.grid&&1<t.grid.rows;var V={init:!0,direction:"horizontal",oneWayMovement:!1,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};const w={eventsEmitter:{on(e,t,s){const a=this;if(a.eventsListeners&&!a.destroyed&&"function"==typeof t){const i=s?"unshift":"push";e.split(" ").forEach(e=>{a.eventsListeners[e]||(a.eventsListeners[e]=[]),a.eventsListeners[e][i](t)})}return a},once(a,i,e){const r=this;return!r.eventsListeners||r.destroyed||"function"!=typeof i?r:(l.__emitterProxy=i,r.on(a,l,e));function l(){r.off(a,l),l.__emitterProxy&&delete l.__emitterProxy;for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];i.apply(r,t)}},onAny(e,t){var s=this;return s.eventsListeners&&!s.destroyed&&"function"==typeof e&&(t=t?"unshift":"push",s.eventsAnyListeners.indexOf(e)<0)&&s.eventsAnyListeners[t](e),s},offAny(e){var t=this;return t.eventsListeners&&!t.destroyed&&t.eventsAnyListeners&&0<=(e=t.eventsAnyListeners.indexOf(e))&&t.eventsAnyListeners.splice(e,1),t},off(e,a){const i=this;return i.eventsListeners&&!i.destroyed&&i.eventsListeners&&e.split(" ").forEach(s=>{void 0===a?i.eventsListeners[s]=[]:i.eventsListeners[s]&&i.eventsListeners[s].forEach((e,t)=>{(e===a||e.__emitterProxy&&e.__emitterProxy===a)&&i.eventsListeners[s].splice(t,1)})}),i},emit(){const i=this;if(i.eventsListeners&&!i.destroyed&&i.eventsListeners){let e,s,a;for(var t=arguments.length,r=new Array(t),l=0;l<t;l++)r[l]=arguments[l];a="string"==typeof r[0]||Array.isArray(r[0])?(e=r[0],s=r.slice(1,r.length),i):(e=r[0].events,s=r[0].data,r[0].context||i),s.unshift(a),(Array.isArray(e)?e:e.split(" ")).forEach(t=>{i.eventsAnyListeners&&i.eventsAnyListeners.length&&i.eventsAnyListeners.forEach(e=>{e.apply(a,[t,...s])}),i.eventsListeners&&i.eventsListeners[t]&&i.eventsListeners[t].forEach(e=>{e.apply(a,s)})})}return i}},update:{updateSize:function(){var e=this;let t,s;var a=e.el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:a.clientWidth,s=void 0!==e.params.height&&null!==e.params.height?e.params.height:a.clientHeight,0===t&&e.isHorizontal()||0===s&&e.isVertical()||(t=t-parseInt(W(a,"padding-left")||0,10)-parseInt(W(a,"padding-right")||0,10),s=s-parseInt(W(a,"padding-top")||0,10)-parseInt(W(a,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(s)&&(s=0),Object.assign(e,{width:t,height:s,size:e.isHorizontal()?t:s}))},updateSlides:function(){const a=this;function i(e,t){return parseFloat(e.getPropertyValue(a.getDirectionLabel(t))||0)}const r=a.params,{wrapperEl:e,slidesEl:s,size:l,rtlTranslate:t,wrongRTL:F}=a;var n=a.virtual&&r.virtual.enabled,o=(n?a.virtual:a).slides.length;const d=j(s,`.${a.params.slideClass}, swiper-slide`);var p=(n?a.virtual.slides:d).length;let c=[];const u=[];var m=[];let v=r.slidesOffsetBefore,h=("function"==typeof v&&(v=r.slidesOffsetBefore.call(a)),r.slidesOffsetAfter);"function"==typeof h&&(h=r.slidesOffsetAfter.call(a));var f=a.snapGrid.length,B=a.slidesGrid.length;let g=r.spaceBetween,b=-v,w=0,y=0;if(void 0!==l){"string"==typeof g&&0<=g.indexOf("%")?g=parseFloat(g.replace("%",""))/100*l:"string"==typeof g&&(g=parseFloat(g)),a.virtualSize=-g,d.forEach(e=>{t?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),r.centeredSlides&&r.cssMode&&(R(e,"--swiper-centered-offset-before",""),R(e,"--swiper-centered-offset-after",""));var T=r.grid&&1<r.grid.rows&&a.grid;T?a.grid.initSlides(d):a.grid&&a.grid.unsetSlides();let s;var S,x,E,C,M,P,L,I,k,V="auto"===r.slidesPerView&&r.breakpoints&&0<Object.keys(r.breakpoints).filter(e=>void 0!==r.breakpoints[e].slidesPerView).length;for(let t=0;t<p;t+=1){s=0;let e;d[t]&&(e=d[t]),T&&a.grid.updateSlide(t,e,d),d[t]&&"none"===W(e,"display")||("auto"===r.slidesPerView?(V&&(d[t].style[a.getDirectionLabel("width")]=""),I=getComputedStyle(e),S=e.style.transform,x=e.style.webkitTransform,S&&(e.style.transform="none"),x&&(e.style.webkitTransform="none"),s=r.roundLengths?a.isHorizontal()?$(e,"width",!0):$(e,"height",!0):(E=i(I,"width"),C=i(I,"padding-left"),M=i(I,"padding-right"),P=i(I,"margin-left"),L=i(I,"margin-right"),(I=I.getPropertyValue("box-sizing"))&&"border-box"===I?E+P+L:({clientWidth:I,offsetWidth:k}=e,E+C+M+P+L+(k-I))),S&&(e.style.transform=S),x&&(e.style.webkitTransform=x),r.roundLengths&&(s=Math.floor(s))):(s=(l-(r.slidesPerView-1)*g)/r.slidesPerView,r.roundLengths&&(s=Math.floor(s)),d[t]&&(d[t].style[a.getDirectionLabel("width")]=s+"px")),d[t]&&(d[t].swiperSlideSize=s),m.push(s),r.centeredSlides?(b=b+s/2+w/2+g,0===w&&0!==t&&(b=b-l/2-g),0===t&&(b=b-l/2-g),Math.abs(b)<.001&&(b=0),r.roundLengths&&(b=Math.floor(b)),y%r.slidesPerGroup==0&&c.push(b),u.push(b)):(r.roundLengths&&(b=Math.floor(b)),(y-Math.min(a.params.slidesPerGroupSkip,y))%a.params.slidesPerGroup==0&&c.push(b),u.push(b),b=b+s+g),a.virtualSize+=s+g,w=s,y+=1)}if(a.virtualSize=Math.max(a.virtualSize,l)+h,t&&F&&("slide"===r.effect||"coverflow"===r.effect)&&(e.style.width=a.virtualSize+g+"px"),r.setWrapperSize&&(e.style[a.getDirectionLabel("width")]=a.virtualSize+g+"px"),T&&a.grid.updateWrapperSize(s,c),!r.centeredSlides){var A=[];for(let t=0;t<c.length;t+=1){let e=c[t];r.roundLengths&&(e=Math.floor(e)),c[t]<=a.virtualSize-l&&A.push(e)}c=A,1<Math.floor(a.virtualSize-l)-Math.floor(c[c.length-1])&&c.push(a.virtualSize-l)}if(n&&r.loop){var O=m[0]+g;if(1<r.slidesPerGroup){var N=Math.ceil((a.virtual.slidesBefore+a.virtual.slidesAfter)/r.slidesPerGroup),H=O*r.slidesPerGroup;for(let e=0;e<N;e+=1)c.push(c[c.length-1]+H)}for(let e=0;e<a.virtual.slidesBefore+a.virtual.slidesAfter;e+=1)1===r.slidesPerGroup&&c.push(c[c.length-1]+O),u.push(u[u.length-1]+O),a.virtualSize+=O}if(0===c.length&&(c=[0]),0!==g){const z=a.isHorizontal()&&t?"marginLeft":a.getDirectionLabel("marginRight");d.filter((e,t)=>!(r.cssMode&&!r.loop)||t!==d.length-1).forEach(e=>{e.style[z]=g+"px"})}if(r.centeredSlides&&r.centeredSlidesBounds){let t=0;m.forEach(e=>{t+=e+(g||0)});const D=(t-=g)-l;c=c.map(e=>e<=0?-v:e>D?D+h:e)}if(r.centerInsufficientSlides){let t=0;if(m.forEach(e=>{t+=e+(g||0)}),(t-=g)<l){const G=(l-t)/2;c.forEach((e,t)=>{c[t]=e-G}),u.forEach((e,t)=>{u[t]=e+G})}}if(Object.assign(a,{slides:d,snapGrid:c,slidesGrid:u,slidesSizesGrid:m}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){R(e,"--swiper-centered-offset-before",-c[0]+"px"),R(e,"--swiper-centered-offset-after",a.size/2-m[m.length-1]/2+"px");const _=-a.snapGrid[0],q=-a.slidesGrid[0];a.snapGrid=a.snapGrid.map(e=>e+_),a.slidesGrid=a.slidesGrid.map(e=>e+q)}p!==o&&a.emit("slidesLengthChange"),c.length!==f&&(a.params.watchOverflow&&a.checkOverflow(),a.emit("snapGridLengthChange")),u.length!==B&&a.emit("slidesGridLengthChange"),r.watchSlidesProgress&&a.updateSlidesOffset(),a.emit("slidesUpdated"),n||r.cssMode||"slide"!==r.effect&&"fade"!==r.effect||(o=r.containerModifierClass+"backface-hidden",f=a.el.classList.contains(o),p<=r.maxBackfaceHiddenSlides?f||a.el.classList.add(o):f&&a.el.classList.remove(o))}},updateAutoHeight:function(e){const t=this,s=[],a=t.virtual&&t.params.virtual.enabled;let i=0,r;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);var l,n=e=>a?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&1<t.params.slidesPerView)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(e=>{s.push(e)});else for(r=0;r<Math.ceil(t.params.slidesPerView);r+=1){var o=t.activeIndex+r;if(o>t.slides.length&&!a)break;s.push(n(o))}else s.push(n(t.activeIndex));for(r=0;r<s.length;r+=1)void 0!==s[r]&&(l=s[r].offsetHeight,i=l>i?l:i);!i&&0!==i||(t.wrapperEl.style.height=i+"px")},updateSlidesOffset:function(){var t=this,s=t.slides,a=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let e=0;e<s.length;e+=1)s[e].swiperSlideOffset=(t.isHorizontal()?s[e].offsetLeft:s[e].offsetTop)-a-t.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);var i=this;const r=i.params;var{slides:l,rtlTranslate:n,snapGrid:o}=i;if(0!==l.length){void 0===l[0].swiperSlideOffset&&i.updateSlidesOffset();let s=n?e:-e,a=(l.forEach(e=>{e.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass)}),i.visibleSlidesIndexes=[],i.visibleSlides=[],r.spaceBetween);"string"==typeof a&&0<=a.indexOf("%")?a=parseFloat(a.replace("%",""))/100*i.size:"string"==typeof a&&(a=parseFloat(a));for(let t=0;t<l.length;t+=1){var d=l[t];let e=d.swiperSlideOffset;r.cssMode&&r.centeredSlides&&(e-=l[0].swiperSlideOffset);var p=(s+(r.centeredSlides?i.minTranslate():0)-e)/(d.swiperSlideSize+a),c=(s-o[0]+(r.centeredSlides?i.minTranslate():0)-e)/(d.swiperSlideSize+a),u=-(s-e),m=u+i.slidesSizesGrid[t],v=0<=u&&u<=i.size-i.slidesSizesGrid[t];(0<=u&&u<i.size-1||1<m&&m<=i.size||u<=0&&m>=i.size)&&(i.visibleSlides.push(d),i.visibleSlidesIndexes.push(t),l[t].classList.add(r.slideVisibleClass)),v&&l[t].classList.add(r.slideFullyVisibleClass),d.progress=n?-p:p,d.originalProgress=n?-c:c}}},updateProgress:function(e){var t=this,s=(void 0===e&&(s=t.rtlTranslate?-1:1,e=t&&t.translate&&t.translate*s||0),t.params),a=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:r,isEnd:l,progressLoop:n}=t;var o,d,p,c=r,u=l;0==a?(i=0,r=!0,l=!0):(i=(e-t.minTranslate())/a,a=Math.abs(e-t.minTranslate())<1,o=Math.abs(e-t.maxTranslate())<1,r=a||i<=0,l=o||1<=i,a&&(i=0),o&&(i=1)),s.loop&&(a=t.getSlideIndexByData(0),o=t.getSlideIndexByData(t.slides.length-1),a=t.slidesGrid[a],o=t.slidesGrid[o],d=t.slidesGrid[t.slidesGrid.length-1],p=Math.abs(e),1<(n=a<=p?(p-a)/d:(p+d-o)/d))&&--n,Object.assign(t,{progress:i,progressLoop:n,isBeginning:r,isEnd:l}),(s.watchSlidesProgress||s.centeredSlides&&s.autoHeight)&&t.updateSlidesProgress(e),r&&!c&&t.emit("reachBeginning toEdge"),l&&!u&&t.emit("reachEnd toEdge"),(c&&!r||u&&!l)&&t.emit("fromEdge"),t.emit("progress",i)},updateSlidesClasses:function(){var t=this;const{slides:e,params:s,slidesEl:a,activeIndex:i}=t;var r=t.virtual&&s.virtual.enabled,l=t.grid&&s.grid&&1<s.grid.rows,n=e=>j(a,`.${s.slideClass}${e}, swiper-slide`+e)[0];e.forEach(e=>{e.classList.remove(s.slideActiveClass,s.slideNextClass,s.slidePrevClass)});let o,d,p;if(r)if(s.loop){let e=i-t.virtual.slidesBefore;(e=e<0?t.virtual.slides.length+e:e)>=t.virtual.slides.length&&(e-=t.virtual.slides.length),o=n(`[data-swiper-slide-index="${e}"]`)}else o=n(`[data-swiper-slide-index="${i}"]`);else l?(o=e.filter(e=>e.column===i)[0],p=e.filter(e=>e.column===i+1)[0],d=e.filter(e=>e.column===i-1)[0]):o=e[i];o&&(o.classList.add(s.slideActiveClass),l?(p&&p.classList.add(s.slideNextClass),d&&d.classList.add(s.slidePrevClass)):(p=function(e,t){for(var s=[];e.nextElementSibling;){var a=e.nextElementSibling;(!t||a.matches(t))&&s.push(a),e=a}return s}(o,`.${s.slideClass}, swiper-slide`)[0],(p=s.loop&&!p?e[0]:p)&&p.classList.add(s.slideNextClass),d=function(e,t){for(var s=[];e.previousElementSibling;){var a=e.previousElementSibling;(!t||a.matches(t))&&s.push(a),e=a}return s}(o,`.${s.slideClass}, swiper-slide`)[0],(d=s.loop&&0===!d?e[e.length-1]:d)&&d.classList.add(s.slidePrevClass))),t.emitSlidesClasses()},updateActiveIndex:function(e){const s=this;var a=s.rtlTranslate?s.translate:-s.translate,{snapGrid:i,params:r,activeIndex:l,realIndex:n,snapIndex:o}=s;let d=e,p;if(e=e=>{let t=e-s.virtual.slidesBefore;return(t=t<0?s.virtual.slides.length+t:t)>=s.virtual.slides.length&&(t-=s.virtual.slides.length),t},void 0===d&&(d=function(e){var{slidesGrid:t,params:s}=e,a=e.rtlTranslate?e.translate:-e.translate;let i;for(let e=0;e<t.length;e+=1)void 0!==t[e+1]?a>=t[e]&&a<t[e+1]-(t[e+1]-t[e])/2?i=e:a>=t[e]&&a<t[e+1]&&(i=e+1):a>=t[e]&&(i=e);return i=s.normalizeSlideIndex&&(i<0||void 0===i)?0:i}(s)),(p=0<=i.indexOf(a)?i.indexOf(a):(a=Math.min(r.slidesPerGroupSkip,d))+Math.floor((d-a)/r.slidesPerGroup))>=i.length&&(p=i.length-1),d!==l||s.params.loop)if(d===l&&s.params.loop&&s.virtual&&s.params.virtual.enabled)s.realIndex=e(d);else{a=s.grid&&r.grid&&1<r.grid.rows;let t;if(s.virtual&&r.virtual.enabled&&r.loop)t=e(d);else if(a){i=s.slides.filter(e=>e.column===d)[0];let e=parseInt(i.getAttribute("data-swiper-slide-index"),10);Number.isNaN(e)&&(e=Math.max(s.slides.indexOf(i),0)),t=Math.floor(e/r.grid.rows)}else t=s.slides[d]&&(e=s.slides[d].getAttribute("data-swiper-slide-index"),e)?parseInt(e,10):d;Object.assign(s,{previousSnapIndex:o,snapIndex:p,previousRealIndex:n,realIndex:t,previousIndex:l,activeIndex:d}),s.initialized&&f(s),s.emit("activeIndexChange"),s.emit("snapIndexChange"),(s.initialized||s.params.runCallbacksOnInit)&&(n!==t&&s.emit("realIndexChange"),s.emit("slideChange"))}else p!==o&&(s.snapIndex=p,s.emit("snapIndexChange"))},updateClickedSlide:function(e,t){var s=this;const a=s.params;let i=e.closest(`.${a.slideClass}, swiper-slide`),r=(!i&&s.isElement&&t&&1<t.length&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!i&&e.matches&&e.matches(`.${a.slideClass}, swiper-slide`)&&(i=e)}),!1),l;if(i)for(let e=0;e<s.slides.length;e+=1)if(s.slides[e]===i){r=!0,l=e;break}i&&r?(s.clickedSlide=i,s.virtual&&s.params.virtual.enabled?s.clickedIndex=parseInt(i.getAttribute("data-swiper-slide-index"),10):s.clickedIndex=l,a.slideToClickedSlide&&void 0!==s.clickedIndex&&s.clickedIndex!==s.activeIndex&&s.slideToClickedSlide()):(s.clickedSlide=void 0,s.clickedIndex=void 0)}},translate:{getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var{params:t,rtlTranslate:s,translate:a,wrapperEl:i}=this;if(t.virtualTranslate)return s?-a:a;if(t.cssMode)return a;let r=z(i,e);return r+=this.cssOverflowAdjustment(),(r=s?-r:r)||0},setTranslate:function(e,t){var s=this,{rtlTranslate:a,params:i,wrapperEl:r,progress:l}=s;let n=0,o=0;s.isHorizontal()?n=a?-e:e:o=e,i.roundLengths&&(n=Math.floor(n),o=Math.floor(o)),s.previousTranslate=s.translate,s.translate=s.isHorizontal()?n:o,i.cssMode?r[s.isHorizontal()?"scrollLeft":"scrollTop"]=s.isHorizontal()?-n:-o:i.virtualTranslate||(s.isHorizontal()?n-=s.cssOverflowAdjustment():o-=s.cssOverflowAdjustment(),r.style.transform=`translate3d(${n}px, ${o}px, 0px)`);let d;a=s.maxTranslate()-s.minTranslate(),(d=0==a?0:(e-s.minTranslate())/a)!==l&&s.updateProgress(e),s.emit("setTranslate",s.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,s,a,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===s&&(s=!0),void 0===a&&(a=!0);const r=this;var{params:l,wrapperEl:n}=r;if(r.animating&&l.preventInteractionOnTransition)return!1;var o=r.minTranslate(),d=r.maxTranslate();let p;if(p=a&&o<e?o:a&&e<d?d:e,r.updateProgress(p),l.cssMode){o=r.isHorizontal();if(0===t)n[o?"scrollLeft":"scrollTop"]=-p;else{if(!r.support.smoothScroll)return x({swiper:r,targetPosition:-p,side:o?"left":"top"}),!0;n.scrollTo({[o?"left":"top"]:-p,behavior:"smooth"})}}else 0===t?(r.setTransition(0),r.setTranslate(p),s&&(r.emit("beforeTransitionStart",t,i),r.emit("transitionEnd"))):(r.setTransition(t),r.setTranslate(p),s&&(r.emit("beforeTransitionStart",t,i),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,s)&&r.emit("transitionEnd")}),r.wrapperEl.addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd)));return!0}},transition:{setTransition:function(e,t){this.params.cssMode||(this.wrapperEl.style.transitionDuration=e+"ms",this.wrapperEl.style.transitionDelay=0===e?"0ms":""),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var s=this["params"];s.cssMode||(s.autoHeight&&this.updateAutoHeight(),n({swiper:this,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);var s=this["params"];this.animating=!1,s.cssMode||(this.setTransition(0),n({swiper:this,runCallbacks:e,direction:t,step:"End"}))}},slide:{slideTo:function(e,t,s,a,i){void 0===t&&(t=this.params.speed),void 0===s&&(s=!0),"string"==typeof(e=void 0===e?0:e)&&(e=parseInt(e,10));const r=this;let l=e;l<0&&(l=0);const{params:n,snapGrid:o,slidesGrid:d,previousIndex:p,activeIndex:c,rtlTranslate:u,wrapperEl:m,enabled:v}=r;if(r.animating&&n.preventInteractionOnTransition||!v&&!a&&!i)return!1;let h=(e=Math.min(r.params.slidesPerGroupSkip,l))+Math.floor((l-e)/r.params.slidesPerGroup);var f=-o[h=h>=o.length?o.length-1:h];if(n.normalizeSlideIndex)for(let e=0;e<d.length;e+=1){var g=-Math.floor(100*f),b=Math.floor(100*d[e]),w=Math.floor(100*d[e+1]);void 0!==d[e+1]?b<=g&&g<w-(w-b)/2?l=e:b<=g&&g<w&&(l=e+1):b<=g&&(l=e)}if(r.initialized&&l!==c){if(!r.allowSlideNext&&(u?f>r.translate&&f>r.minTranslate():f<r.translate&&f<r.minTranslate()))return!1;if(!r.allowSlidePrev&&f>r.translate&&f>r.maxTranslate()&&(c||0)!==l)return!1}l!==(p||0)&&s&&r.emit("beforeSlideChangeStart"),r.updateProgress(f);let y;if(y=l>c?"next":l<c?"prev":"reset",u&&-f===r.translate||!u&&f===r.translate)return r.updateActiveIndex(l),n.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==n.effect&&r.setTranslate(f),"reset"!==y&&(r.transitionStart(s,y),r.transitionEnd(s,y)),!1;if(n.cssMode){const T=r.isHorizontal(),S=u?f:-f;if(0===t){i=r.virtual&&r.params.virtual.enabled;i&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),i&&!r._cssModeVirtualInitialSet&&0<r.params.initialSlide?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{m[T?"scrollLeft":"scrollTop"]=S})):m[T?"scrollLeft":"scrollTop"]=S,i&&requestAnimationFrame(()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1})}else{if(!r.support.smoothScroll)return x({swiper:r,targetPosition:S,side:T?"left":"top"}),!0;m.scrollTo({[T?"left":"top"]:S,behavior:"smooth"})}}else r.setTransition(t),r.setTranslate(f),r.updateActiveIndex(l),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,a),r.transitionStart(s,y),0===t?r.transitionEnd(s,y):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(s,y))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd));return!0},slideToLoop:function(a,e,t,s){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),"string"==typeof(a=void 0===a?0:a)&&(a=parseInt(a,10));const i=this;var r=i.grid&&i.params.grid&&1<i.params.grid.rows;let l=a;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)l+=i.virtual.slidesBefore;else{let e;if(r){const o=l*i.params.grid.rows;e=i.slides.filter(e=>+e.getAttribute("data-swiper-slide-index")==o)[0].column}else e=i.getSlideIndexByData(l);var a=r?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,n=i.params["centeredSlides"];let t=i.params.slidesPerView,s=("auto"===t?t=i.slidesPerViewDynamic():(t=Math.ceil(parseFloat(i.params.slidesPerView,10)),n&&t%2==0&&(t+=1)),a-e<t);if((s=n?s||e<Math.ceil(t/2):s)&&(n=n?e<i.activeIndex?"prev":"next":e-i.activeIndex-1<i.params.slidesPerView?"next":"prev",i.loopFix({direction:n,slideTo:!0,activeSlideIndex:"next"==n?e+1:e-a+1,slideRealIndex:"next"==n?i.realIndex:void 0})),r){const d=l*i.params.grid.rows;l=i.slides.filter(e=>+e.getAttribute("data-swiper-slide-index")==d)[0].column}else l=i.getSlideIndexByData(l)}return requestAnimationFrame(()=>{i.slideTo(l,e,t,s)}),i},slideNext:function(e,t,s){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const a=this;var{enabled:i,params:r,animating:l}=a;if(!i)return a;let n=r.slidesPerGroup;"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(n=Math.max(a.slidesPerViewDynamic("current",!0),1));const o=a.activeIndex<r.slidesPerGroupSkip?1:n;if(i=a.virtual&&r.virtual.enabled,r.loop){if(l&&!i&&r.loopPreventsSliding)return!1;if(a.loopFix({direction:"next"}),a._clientLeft=a.wrapperEl.clientLeft,a.activeIndex===a.slides.length-1&&r.cssMode)return requestAnimationFrame(()=>{a.slideTo(a.activeIndex+o,e,t,s)}),!0}return r.rewind&&a.isEnd?a.slideTo(0,e,t,s):a.slideTo(a.activeIndex+o,e,t,s)},slidePrev:function(e,t,s){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const a=this;var{params:i,snapGrid:r,slidesGrid:l,rtlTranslate:n,enabled:o,animating:d}=a;if(!o)return a;if(o=a.virtual&&i.virtual.enabled,i.loop){if(d&&!o&&i.loopPreventsSliding)return!1;a.loopFix({direction:"prev"}),a._clientLeft=a.wrapperEl.clientLeft}function p(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const c=p(n?a.translate:-a.translate);d=r.map(e=>p(e));let u=r[d.indexOf(c)-1];if(void 0===u&&i.cssMode){let s;r.forEach((e,t)=>{c>=e&&(s=t)}),void 0!==s&&(u=r[0<s?s-1:s])}let m=0;return void 0!==u&&((m=l.indexOf(u))<0&&(m=a.activeIndex-1),"auto"===i.slidesPerView)&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(m=m-a.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0)),i.rewind&&a.isBeginning?(o=a.params.virtual&&a.params.virtual.enabled&&a.virtual?a.virtual.slides.length-1:a.slides.length-1,a.slideTo(o,e,t,s)):i.loop&&0===a.activeIndex&&i.cssMode?(requestAnimationFrame(()=>{a.slideTo(m,e,t,s)}),!0):a.slideTo(m,e,t,s)},slideReset:function(e,t,s){return void 0===e&&(e=this.params.speed),this.slideTo(this.activeIndex,e,t=void 0===t?!0:t,s)},slideToClosest:function(e,t,s,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===a&&(a=.5);var i=this;let r=i.activeIndex;var l,n=(n=Math.min(i.params.slidesPerGroupSkip,r))+Math.floor((r-n)/i.params.slidesPerGroup),o=i.rtlTranslate?i.translate:-i.translate;return o>=i.snapGrid[n]?(l=i.snapGrid[n],(i.snapGrid[n+1]-l)*a<o-l&&(r+=i.params.slidesPerGroup)):o-(l=i.snapGrid[n-1])<=(i.snapGrid[n]-l)*a&&(r-=i.params.slidesPerGroup),r=Math.max(r,0),r=Math.min(r,i.slidesGrid.length-1),i.slideTo(r,e,t,s)},slideToClickedSlide:function(){const e=this;var t,{params:s,slidesEl:a}=e,i="auto"===s.slidesPerView?e.slidesPerViewDynamic():s.slidesPerView;let r=e.clickedIndex;var l=e.isElement?"swiper-slide":"."+s.slideClass;s.loop?e.animating||(t=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),s.centeredSlides?r<e.loopedSlides-i/2||r>e.slides.length-e.loopedSlides+i/2?(e.loopFix(),r=e.getSlideIndex(j(a,l+`[data-swiper-slide-index="${t}"]`)[0]),M(()=>{e.slideTo(r)})):e.slideTo(r):r>e.slides.length-i?(e.loopFix(),r=e.getSlideIndex(j(a,l+`[data-swiper-slide-index="${t}"]`)[0]),M(()=>{e.slideTo(r)})):e.slideTo(r)):e.slideTo(r)}},loop:{loopCreate:function(e){const a=this,{params:i,slidesEl:t}=a;var s,r,l,n,o;!i.loop||a.virtual&&a.params.virtual.enabled||(s=()=>{j(t,`.${i.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)})},n=a.grid&&i.grid&&1<i.grid.rows,r=i.slidesPerGroup*(n?i.grid.rows:1),l=a.slides.length%r!=0,n=n&&a.slides.length%i.grid.rows!=0,o=t=>{for(let e=0;e<t;e+=1){var s=a.isElement?P("swiper-slide",[i.slideBlankClass]):P("div",[i.slideClass,i.slideBlankClass]);a.slidesEl.append(s)}},l?i.loopAddBlankSlides?(o(r-a.slides.length%r),a.recalcSlides(),a.updateSlides()):A("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&&(i.loopAddBlankSlides?(o(i.grid.rows-a.slides.length%i.grid.rows),a.recalcSlides(),a.updateSlides()):A("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)")),s(),a.loopFix({slideRealIndex:e,direction:i.centeredSlides?void 0:"next"}))},loopFix:function(r){let{slideRealIndex:l,slideTo:n=!0,direction:o,setTranslate:d,activeSlideIndex:p,byController:c,byMousewheel:u}=void 0===r?{}:r;const m=this;if(m.params.loop){m.emit("beforeLoopFix");const{slides:x,allowSlidePrev:E,allowSlideNext:C,slidesEl:M,params:P}=m;r=P["centeredSlides"];if(m.allowSlidePrev=!0,m.allowSlideNext=!0,m.virtual&&P.virtual.enabled)n&&(P.centeredSlides||0!==m.snapIndex?P.centeredSlides&&m.snapIndex<P.slidesPerView?m.slideTo(m.virtual.slides.length+m.snapIndex,0,!1,!0):m.snapIndex===m.snapGrid.length-1&&m.slideTo(m.virtual.slidesBefore,0,!1,!0):m.slideTo(m.virtual.slides.length,0,!1,!0)),m.allowSlidePrev=E,m.allowSlideNext=C;else{let e=P.slidesPerView;"auto"===e?e=m.slidesPerViewDynamic():(e=Math.ceil(parseFloat(P.slidesPerView,10)),r&&e%2==0&&(e+=1));var v=P.slidesPerGroupAuto?e:P.slidesPerGroup;let t=v;t%v!=0&&(t+=v-t%v),t+=P.loopAdditionalSlides,m.loopedSlides=t;var h=m.grid&&P.grid&&1<P.grid.rows,f=(x.length<e+t?A("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"):h&&"row"===P.grid.fill&&A("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`"),[]);const L=[];let s=m.activeIndex;void 0===p?p=m.getSlideIndex(x.filter(e=>e.classList.contains(P.slideActiveClass))[0]):s=p;var g="next"===o||!o,b="prev"===o||!o;let a=0,i=0;var w=h?Math.ceil(x.length/P.grid.rows):x.length,y=(h?x[p].column:p)+(r&&void 0===d?-e/2+.5:0);if(y<t){a=Math.max(t-y,v);for(let e=0;e<t-y;e+=1){var T=e-Math.floor(e/w)*w;if(h){var S=w-T-1;for(let e=x.length-1;0<=e;--e)x[e].column===S&&f.push(e)}else f.push(w-T-1)}}else if(y+e>w-t){i=Math.max(y-(w-2*t),v);for(let e=0;e<i;e+=1){const I=e-Math.floor(e/w)*w;h?x.forEach((e,t)=>{e.column===I&&L.push(t)}):L.push(I)}}if(m.__preventObserver__=!0,requestAnimationFrame(()=>{m.__preventObserver__=!1}),b&&f.forEach(e=>{x[e].swiperLoopMoveDOM=!0,M.prepend(x[e]),x[e].swiperLoopMoveDOM=!1}),g&&L.forEach(e=>{x[e].swiperLoopMoveDOM=!0,M.append(x[e]),x[e].swiperLoopMoveDOM=!1}),m.recalcSlides(),"auto"===P.slidesPerView?m.updateSlides():h&&(0<f.length&&b||0<L.length&&g)&&m.slides.forEach((e,t)=>{m.grid.updateSlide(t,e,m.slides)}),P.watchSlidesProgress&&m.updateSlidesOffset(),n&&(0<f.length&&b?void 0===l?(r=m.slidesGrid[s],v=m.slidesGrid[s+a]-r,u?m.setTranslate(m.translate-v):(m.slideTo(s+a,0,!1,!0),d&&(m.touchEventsData.startTranslate=m.touchEventsData.startTranslate-v,m.touchEventsData.currentTranslate=m.touchEventsData.currentTranslate-v))):d&&(b=h?f.length/P.grid.rows:f.length,m.slideTo(m.activeIndex+b,0,!1,!0),m.touchEventsData.currentTranslate=m.translate):0<L.length&&g&&(void 0===l?(r=m.slidesGrid[s],v=m.slidesGrid[s-i]-r,u?m.setTranslate(m.translate-v):(m.slideTo(s-i,0,!1,!0),d&&(m.touchEventsData.startTranslate=m.touchEventsData.startTranslate-v,m.touchEventsData.currentTranslate=m.touchEventsData.currentTranslate-v))):(b=h?L.length/P.grid.rows:L.length,m.slideTo(m.activeIndex-b,0,!1,!0)))),m.allowSlidePrev=E,m.allowSlideNext=C,m.controller&&m.controller.control&&!c){const k={slideRealIndex:l,direction:o,setTranslate:d,activeSlideIndex:p,byController:!0};Array.isArray(m.controller.control)?m.controller.control.forEach(e=>{!e.destroyed&&e.params.loop&&e.loopFix({...k,slideTo:e.params.slidesPerView===P.slidesPerView&&n})}):m.controller.control instanceof m.constructor&&m.controller.control.params.loop&&m.controller.control.loopFix({...k,slideTo:m.controller.control.params.slidesPerView===P.slidesPerView&&n})}}m.emit("loopFix")}},loopDestroy:function(){var e=this;const{params:t,slidesEl:s}=e;if(!(!t.loop||e.virtual&&e.params.virtual.enabled)){e.recalcSlides();const a=[];e.slides.forEach(e=>{var t=void 0===e.swiperSlideIndex?+e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;a[t]=e}),e.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),a.forEach(e=>{s.append(e)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}}},grabCursor:{setGrabCursor:function(e){const t=this;var s;!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode||(s="container"===t.params.touchEventsTarget?t.el:t.wrapperEl,t.isElement&&(t.__preventObserver__=!0),s.style.cursor="move",s.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){var e=this,t=e["params"];e.onTouchStart=function(s){var a=this,i=k();let r=s;if(r.originalEvent&&(r=r.originalEvent),s=a.touchEventsData,"pointerdown"===r.type){if(null!==s.pointerId&&s.pointerId!==r.pointerId)return;s.pointerId=r.pointerId}else"touchstart"===r.type&&1===r.targetTouches.length&&(s.touchId=r.targetTouches[0].identifier);if("touchstart"===r.type)g(a,r,r.targetTouches[0].pageX);else{var{params:l,touches:n,enabled:o}=a;if(o&&(l.simulateTouch||"mouse"!==r.pointerType)&&(!a.animating||!l.preventInteractionOnTransition)){!a.animating&&l.cssMode&&l.loop&&a.loopFix();let t=r.target;if(("wrapper"!==l.touchEventsTarget||a.wrapperEl.contains(t))&&!("which"in r&&3===r.which||"button"in r&&0<r.button||s.isTouched&&s.isMoved)){var o=!!l.noSwipingClass&&""!==l.noSwipingClass,d=r.composedPath?r.composedPath():r.path,o=(o&&r.target&&r.target.shadowRoot&&d&&(t=d[0]),l.noSwipingSelector||"."+l.noSwipingClass),d=!(!r.target||!r.target.shadowRoot);if(l.noSwiping&&(d?F(o,t):t.closest(o)))a.allowClick=!0;else if(!l.swipeHandler||t.closest(l.swipeHandler)){n.currentX=r.pageX,n.currentY=r.pageY;d=n.currentX,o=n.currentY;if(g(a,r,d)){Object.assign(s,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),n.startX=d,n.startY=o,s.touchStartTime=m(),a.allowClick=!0,a.updateSize(),a.swipeDirection=void 0,0<l.threshold&&(s.allowThresholdMove=!1);let e=!0;t.matches(s.focusableElements)&&(e=!1,"SELECT"===t.nodeName)&&(s.isTouched=!1),i.activeElement&&i.activeElement.matches(s.focusableElements)&&i.activeElement!==t&&i.activeElement.blur();d=e&&a.allowTouchMove&&l.touchStartPreventDefault;!l.touchStartForcePreventDefault&&!d||t.isContentEditable||r.preventDefault(),l.freeMode&&l.freeMode.enabled&&a.freeMode&&a.animating&&!l.cssMode&&a.freeMode.onTouchStart(),a.emit("touchStart",r)}}}}}}.bind(e),e.onTouchMove=function(t){var i=k(),r=this;const l=r.touchEventsData;var{params:n,touches:o,rtlTranslate:d,enabled:p}=r;if(p&&(n.simulateTouch||"mouse"!==t.pointerType)){let a=t;if("pointermove"===(a=a.originalEvent?a.originalEvent:a).type){if(null!==l.touchId)return;if(a.pointerId!==l.pointerId)return}let e;if("touchmove"===a.type){if(!(e=[...a.changedTouches].filter(e=>e.identifier===l.touchId)[0])||e.identifier!==l.touchId)return}else e=a;if(l.isTouched){p=e.pageX,t=e.pageY;if(a.preventedByNestedSwiper)o.startX=p,o.startY=t;else if(r.allowTouchMove){if(n.touchReleaseOnEdges&&!n.loop)if(r.isVertical()){if(t<o.startY&&r.translate<=r.maxTranslate()||t>o.startY&&r.translate>=r.minTranslate())return l.isTouched=!1,void(l.isMoved=!1)}else if(p<o.startX&&r.translate<=r.maxTranslate()||p>o.startX&&r.translate>=r.minTranslate())return;if(i.activeElement&&a.target===i.activeElement&&a.target.matches(l.focusableElements))l.isMoved=!0,r.allowClick=!1;else{l.allowTouchCallbacks&&r.emit("touchMove",a),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=p,o.currentY=t;var i=o.currentX-o.startX,c=o.currentY-o.startY;if(!(r.params.threshold&&Math.sqrt(i**2+c**2)<r.params.threshold))if(void 0===l.isScrolling&&(r.isHorizontal()&&o.currentY===o.startY||r.isVertical()&&o.currentX===o.startX?l.isScrolling=!1:25<=i*i+c*c&&(u=180*Math.atan2(Math.abs(c),Math.abs(i))/Math.PI,l.isScrolling=r.isHorizontal()?u>n.touchAngle:90-u>n.touchAngle)),l.isScrolling&&r.emit("touchMoveOpposite",a),void 0!==l.startMoving||o.currentX===o.startX&&o.currentY===o.startY||(l.startMoving=!0),l.isScrolling)l.isTouched=!1;else if(l.startMoving){r.allowClick=!1,!n.cssMode&&a.cancelable&&a.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&a.stopPropagation();let s=r.isHorizontal()?i:c,e=r.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;n.oneWayMovement&&(s=Math.abs(s)*(d?1:-1),e=Math.abs(e)*(d?1:-1)),o.diff=s,s*=n.touchRatio,d&&(s=-s,e=-e);var u=r.touchesDirection,i=(r.swipeDirection=0<s?"prev":"next",r.touchesDirection=0<e?"prev":"next",r.params.loop&&!n.cssMode),c="next"===r.touchesDirection&&r.allowSlideNext||"prev"===r.touchesDirection&&r.allowSlidePrev;if(l.isMoved||(i&&c&&r.loopFix({direction:r.swipeDirection}),l.startTranslate=r.getTranslate(),r.setTransition(0),r.animating&&(d=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0}),r.wrapperEl.dispatchEvent(d)),l.allowMomentumBounce=!1,!n.grabCursor||!0!==r.allowSlideNext&&!0!==r.allowSlidePrev||r.setGrabCursor(!0),r.emit("sliderFirstMove",a)),(new Date).getTime(),l.isMoved&&l.allowThresholdMove&&u!==r.touchesDirection&&i&&c&&1<=Math.abs(s))Object.assign(o,{startX:p,startY:t,currentX:p,currentY:t,startTranslate:l.currentTranslate}),l.loopSwapReset=!0,l.startTranslate=l.currentTranslate;else{r.emit("sliderMove",a),l.isMoved=!0,l.currentTranslate=s+l.startTranslate;let e=!0,t=n.resistanceRatio;if(n.touchReleaseOnEdges&&(t=0),0<s?(i&&c&&l.allowThresholdMove&&l.currentTranslate>(n.centeredSlides?r.minTranslate()-r.slidesSizesGrid[r.activeIndex+1]:r.minTranslate())&&r.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),l.currentTranslate>r.minTranslate()&&(e=!1,n.resistance)&&(l.currentTranslate=r.minTranslate()-1+(-r.minTranslate()+l.startTranslate+s)**t)):s<0&&(i&&c&&l.allowThresholdMove&&l.currentTranslate<(n.centeredSlides?r.maxTranslate()+r.slidesSizesGrid[r.slidesSizesGrid.length-1]:r.maxTranslate())&&r.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:r.slides.length-("auto"===n.slidesPerView?r.slidesPerViewDynamic():Math.ceil(parseFloat(n.slidesPerView,10)))}),l.currentTranslate<r.maxTranslate())&&(e=!1,n.resistance)&&(l.currentTranslate=r.maxTranslate()+1-(r.maxTranslate()-l.startTranslate-s)**t),e&&(a.preventedByNestedSwiper=!0),!r.allowSlideNext&&"next"===r.swipeDirection&&l.currentTranslate<l.startTranslate&&(l.currentTranslate=l.startTranslate),!r.allowSlidePrev&&"prev"===r.swipeDirection&&l.currentTranslate>l.startTranslate&&(l.currentTranslate=l.startTranslate),r.allowSlidePrev||r.allowSlideNext||(l.currentTranslate=l.startTranslate),0<n.threshold){if(!(Math.abs(s)>n.threshold||l.allowThresholdMove))return void(l.currentTranslate=l.startTranslate);if(!l.allowThresholdMove)return l.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,l.currentTranslate=l.startTranslate,void(o.diff=r.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}n.followFinger&&!n.cssMode&&((n.freeMode&&n.freeMode.enabled&&r.freeMode||n.watchSlidesProgress)&&(r.updateActiveIndex(),r.updateSlidesClasses()),n.freeMode&&n.freeMode.enabled&&r.freeMode&&r.freeMode.onTouchMove(),r.updateProgress(l.currentTranslate),r.setTranslate(l.currentTranslate))}}}}else a.target.matches(l.focusableElements)||(r.allowClick=!1),l.isTouched&&(Object.assign(o,{startX:p,startY:t,currentX:p,currentY:t}),l.touchStartTime=m())}else l.startMoving&&l.isScrolling&&r.emit("touchMoveOpposite",a)}}.bind(e),e.onTouchEnd=function(e){const r=this,t=r.touchEventsData;let l=e,s;if("touchend"===(l=l.originalEvent?l.originalEvent:l).type||"touchcancel"===l.type){if(!(s=[...l.changedTouches].filter(e=>e.identifier===t.touchId)[0])||s.identifier!==t.touchId)return}else{if(null!==t.touchId)return;if(l.pointerId!==t.pointerId)return;s=l}if(!["pointercancel","pointerout","pointerleave","contextmenu"].includes(l.type)||["pointercancel","contextmenu"].includes(l.type)&&(r.browser.isSafari||r.browser.isWebView)){t.pointerId=null,t.touchId=null;var{params:n,touches:e,rtlTranslate:a,slidesGrid:o,enabled:i}=r;if(i&&(n.simulateTouch||"mouse"!==l.pointerType))if(t.allowTouchCallbacks&&r.emit("touchEnd",l),t.allowTouchCallbacks=!1,t.isTouched){n.grabCursor&&t.isMoved&&t.isTouched&&(!0===r.allowSlideNext||!0===r.allowSlidePrev)&&r.setGrabCursor(!1);var i=m(),d=i-t.touchStartTime;if(r.allowClick&&(c=l.path||l.composedPath&&l.composedPath(),r.updateClickedSlide(c&&c[0]||l.target,c),r.emit("tap click",l),d<300)&&i-t.lastClickTime<300&&r.emit("doubleTap doubleClick",l),t.lastClickTime=m(),M(()=>{r.destroyed||(r.allowClick=!0)}),t.isTouched&&t.isMoved&&r.swipeDirection&&(0!==e.diff||t.loopSwapReset)&&(t.currentTranslate!==t.startTranslate||t.loopSwapReset)){t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;let i;if(i=n.followFinger?a?r.translate:-r.translate:-t.currentTranslate,!n.cssMode)if(n.freeMode&&n.freeMode.enabled)r.freeMode.onTouchEnd({currentPos:i});else{var p=i>=-r.maxTranslate()&&!r.params.loop;let t=0,s=r.slidesSizesGrid[0];for(let e=0;e<o.length;e+=e<n.slidesPerGroupSkip?1:n.slidesPerGroup){const u=e<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;void 0!==o[e+u]?(p||i>=o[e]&&i<o[e+u])&&(t=e,s=o[e+u]-o[e]):(p||i>=o[e])&&(t=e,s=o[o.length-1]-o[o.length-2])}let e=null,a=null;n.rewind&&(r.isBeginning?a=n.virtual&&n.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1:r.isEnd&&(e=0));var c=(i-o[t])/s;const u=t<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;d>n.longSwipesMs?n.longSwipes?("next"===r.swipeDirection&&(c>=n.longSwipesRatio?r.slideTo(n.rewind&&r.isEnd?e:t+u):r.slideTo(t)),"prev"===r.swipeDirection&&(c>1-n.longSwipesRatio?r.slideTo(t+u):null!==a&&c<0&&Math.abs(c)>n.longSwipesRatio?r.slideTo(a):r.slideTo(t))):r.slideTo(r.activeIndex):n.shortSwipes?r.navigation&&(l.target===r.navigation.nextEl||l.target===r.navigation.prevEl)?l.target===r.navigation.nextEl?r.slideTo(t+u):r.slideTo(t):("next"===r.swipeDirection&&r.slideTo(null!==e?e:t+u),"prev"===r.swipeDirection&&r.slideTo(null!==a?a:t)):r.slideTo(r.activeIndex)}}else t.isTouched=!1,t.isMoved=!1,t.startMoving=!1}else t.isMoved&&n.grabCursor&&r.setGrabCursor(!1),t.isMoved=!1,t.startMoving=!1}}.bind(e),e.onDocumentTouchStart=function(){this.documentTouchHandlerProceeded||(this.documentTouchHandlerProceeded=!0,this.params.touchReleaseOnEdges&&(this.el.style.touchAction="auto"))}.bind(e),t.cssMode&&(e.onScroll=function(){var t=this,{wrapperEl:s,rtlTranslate:a,enabled:i}=t;if(i){t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-s.scrollLeft:t.translate=-s.scrollTop,0===t.translate&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let e;i=t.maxTranslate()-t.minTranslate();(e=0==i?0:(t.translate-t.minTranslate())/i)!==t.progress&&t.updateProgress(a?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}}.bind(e)),e.onClick=function(e){var t=this;t.enabled&&!t.allowClick&&(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation)&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())}.bind(e),e.onLoad=function(e){var t=this;l(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}.bind(e),b(e,"on")},detachEvents:function(){b(this,"off")}},breakpoints:{setBreakpoint:function(){const a=this,{realIndex:e,initialized:t,params:i,el:s}=a;if((l=i.breakpoints)&&0!==Object.keys(l).length){var r=a.getBreakpoint(l,a.params.breakpointsBase,a.el);if(r&&a.currentBreakpoint!==r){const c=(r in l?l[r]:void 0)||a.originalParams;var l=B(a,i),n=B(a,c),o=i.enabled,l=(l&&!n?(s.classList.remove(i.containerModifierClass+"grid",i.containerModifierClass+"grid-column"),a.emitContainerClasses()):!l&&n&&(s.classList.add(i.containerModifierClass+"grid"),(c.grid.fill&&"column"===c.grid.fill||!c.grid.fill&&"column"===i.grid.fill)&&s.classList.add(i.containerModifierClass+"grid-column"),a.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(e=>{var t,s;void 0!==c[e]&&(t=i[e]&&i[e].enabled,s=c[e]&&c[e].enabled,t&&!s&&a[e].disable(),!t)&&s&&a[e].enable()}),c.direction&&c.direction!==i.direction),n=i.loop&&(c.slidesPerView!==i.slidesPerView||l),d=i.loop,l=(l&&t&&a.changeDirection(),u(a.params,c),a.params.enabled),p=a.params.loop;Object.assign(a,{allowTouchMove:a.params.allowTouchMove,allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev}),o&&!l?a.disable():!o&&l&&a.enable(),a.currentBreakpoint=r,a.emit("_beforeBreakpoint",c),t&&(n?(a.loopDestroy(),a.loopCreate(e),a.updateSlides()):!d&&p?(a.loopCreate(e),a.updateSlides()):d&&!p&&a.loopDestroy()),a.emit("breakpoint",c)}}},getBreakpoint:function(e,s,a){if(void 0===s&&(s="window"),e&&("container"!==s||a)){let t=!1;var i=E();const o="window"===s?i.innerHeight:a.clientHeight;var r=Object.keys(e).map(e=>{var t;return"string"==typeof e&&0===e.indexOf("@")?(t=parseFloat(e.substr(1)),{value:o*t,point:e}):{value:e,point:e}});r.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<r.length;e+=1){var{point:l,value:n}=r[e];"window"===s?i.matchMedia(`(min-width: ${n}px)`).matches&&(t=l):n<=a.clientWidth&&(t=l)}return t||"max"}}},checkOverflow:{checkOverflow:function(){var e,t=this,{isLocked:s,params:a}=t,i=a["slidesOffsetBefore"];i?(e=t.slides.length-1,e=t.slidesGrid[e]+t.slidesSizesGrid[e]+2*i,t.isLocked=t.size>e):t.isLocked=1===t.snapGrid.length,!0===a.allowSlideNext&&(t.allowSlideNext=!t.isLocked),!0===a.allowSlidePrev&&(t.allowSlidePrev=!t.isLocked),s&&s!==t.isLocked&&(t.isEnd=!1),s!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}},classes:{addClasses:function(){var{classNames:e,params:t,rtl:s,el:a,device:i}=this,s=function(e,s){const a=[];return e.forEach(t=>{"object"==typeof t?Object.keys(t).forEach(e=>{t[e]&&a.push(s+e)}):"string"==typeof t&&a.push(s+t)}),a}(["initialized",t.direction,{"free-mode":this.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:s},{grid:t.grid&&1<t.grid.rows},{"grid-column":t.grid&&1<t.grid.rows&&"column"===t.grid.fill},{android:i.android},{ios:i.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...s),a.classList.add(...e),this.emitContainerClasses()},removeClasses:function(){var{el:e,classNames:t}=this;e.classList.remove(...t),this.emitContainerClasses()}}},T={};class S{constructor(){let e,t;for(var s=arguments.length,a=new Array(s),i=0;i<s;i++)a[i]=arguments[i];1===a.length&&a[0].constructor&&"Object"===Object.prototype.toString.call(a[0]).slice(8,-1)?t=a[0]:[e,t]=a,t=u({},t=t||{}),e&&!t.el&&(t.el=e);var r=k();if(t.el&&"string"==typeof t.el&&1<r.querySelectorAll(t.el).length){const o=[];return r.querySelectorAll(t.el).forEach(e=>{e=u({},t,{el:e});o.push(new S(e))}),o}const l=this,n=(l.__swiper__=!0,l.support=c(),l.device=G({userAgent:t.userAgent}),l.browser=_(),l.eventsListeners={},l.eventsAnyListeners=[],l.modules=[...l.__modules__],t.modules&&Array.isArray(t.modules)&&l.modules.push(...t.modules),{});l.modules.forEach(e=>{var a,i;e({params:t,swiper:l,extendParams:(a=t,i=n,function(e){void 0===e&&(e={});var t=Object.keys(e)[0],s=e[t];"object"==typeof s&&null!==s&&(!0===a[t]&&(a[t]={enabled:!0}),"navigation"===t&&a[t]&&a[t].enabled&&!a[t].prevEl&&!a[t].nextEl&&(a[t].auto=!0),0<=["pagination","scrollbar"].indexOf(t)&&a[t]&&a[t].enabled&&!a[t].el&&(a[t].auto=!0),t in a&&"enabled"in s)&&("object"!=typeof a[t]||"enabled"in a[t]||(a[t].enabled=!0),a[t]||(a[t]={enabled:!1})),u(i,e)}),on:l.on.bind(l),once:l.once.bind(l),off:l.off.bind(l),emit:l.emit.bind(l)})});r=u({},V,n);return l.params=u({},r,T,t),l.originalParams=u({},l.params),l.passedParams=u({},t),l.params&&l.params.on&&Object.keys(l.params.on).forEach(e=>{l.on(e,l.params.on[e])}),l.params&&l.params.onAny&&l.onAny(l.params.onAny),Object.assign(l,{enabled:l.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return"horizontal"===l.params.direction},isVertical(){return"vertical"===l.params.direction},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:l.params.allowSlideNext,allowSlidePrev:l.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:l.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.emit("_swiper"),l.params.init&&l.init(),l}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){var{slidesEl:t,params:s}=this,t=y(j(t,`.${s.slideClass}, swiper-slide`)[0]);return y(e)-t}getSlideIndexByData(t){return this.getSlideIndex(this.slides.filter(e=>+e.getAttribute("data-swiper-slide-index")===t)[0])}recalcSlides(){var{slidesEl:e,params:t}=this;this.slides=j(e,`.${t.slideClass}, swiper-slide`)}enable(){var e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){var e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){var s=this,a=(e=Math.min(Math.max(e,0),1),s.minTranslate()),i=s.maxTranslate();s.translateTo((i-a)*e+a,void 0===t?0:t),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){const t=this;var e;t.params._emitClasses&&t.el&&(e=t.el.className.split(" ").filter(e=>0===e.indexOf("swiper")||0===e.indexOf(t.params.containerModifierClass)),t.emit("_containerClasses",e.join(" ")))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){const s=this;if(s.params._emitClasses&&s.el){const a=[];s.slides.forEach(e=>{var t=s.getSlideClasses(e);a.push({slideEl:e,classNames:t}),s.emit("_slideClass",e,t)}),s.emit("_slideClasses",a)}}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);var{params:s,slides:a,slidesGrid:i,slidesSizesGrid:r,size:l,activeIndex:n}=this;let o=1;if("number"==typeof s.slidesPerView)return s.slidesPerView;if(s.centeredSlides){let t=a[n]?a[n].swiperSlideSize:0,s;for(let e=n+1;e<a.length;e+=1)a[e]&&!s&&(t+=a[e].swiperSlideSize,o+=1,t>l)&&(s=!0);for(let e=n-1;0<=e;--e)a[e]&&!s&&(t+=a[e].swiperSlideSize,o+=1,t>l)&&(s=!0)}else if("current"===e)for(let e=n+1;e<a.length;e+=1)(t?i[e]+r[e]-i[n]<l:i[e]-i[n]<l)&&(o+=1);else for(let e=n-1;0<=e;--e)i[n]-i[e]<l&&(o+=1);return o}update(){const t=this;if(t&&!t.destroyed){var s,{snapGrid:a,params:i}=t;i.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(e=>{e.complete&&l(t,e)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses();let e;function r(){var e=t.rtlTranslate?-1*t.translate:t.translate,e=Math.min(Math.max(e,t.maxTranslate()),t.minTranslate());t.setTranslate(e),t.updateActiveIndex(),t.updateSlidesClasses()}i.freeMode&&i.freeMode.enabled&&!i.cssMode?(r(),i.autoHeight&&t.updateAutoHeight()):(e=("auto"===i.slidesPerView||1<i.slidesPerView)&&t.isEnd&&!i.centeredSlides?(s=(t.virtual&&i.virtual.enabled?t.virtual:t).slides,t.slideTo(s.length-1,0,!1,!0)):t.slideTo(t.activeIndex,0,!1,!0))||r(),i.watchOverflow&&a!==t.snapGrid&&t.checkOverflow(),t.emit("update")}}changeDirection(t,e){void 0===e&&(e=!0);var s=this,a=s.params.direction;return(t=t||("horizontal"===a?"vertical":"horizontal"))===a||"horizontal"!==t&&"vertical"!==t||(s.el.classList.remove(""+s.params.containerModifierClass+a),s.el.classList.add(""+s.params.containerModifierClass+t),s.emitContainerClasses(),s.params.direction=t,s.slides.forEach(e=>{"vertical"===t?e.style.width="":e.style.height=""}),s.emit("changeDirection"),e&&s.update()),s}changeLanguageDirection(e){var t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(t.params.containerModifierClass+"rtl"),t.el.dir="rtl"):(t.el.classList.remove(t.params.containerModifierClass+"rtl"),t.el.dir="ltr"),t.update())}mount(s){const a=this;if(!a.mounted){let e=s||a.params.el;if(!(e="string"==typeof e?document.querySelector(e):e))return!1;e.swiper=a,e.parentNode&&e.parentNode.host&&"SWIPER-CONTAINER"===e.parentNode.host.nodeName&&(a.isElement=!0);const i=()=>"."+(a.params.wrapperClass||"").trim().split(" ").join(".");let t=e&&e.shadowRoot&&e.shadowRoot.querySelector?e.shadowRoot.querySelector(i()):j(e,i())[0];!t&&a.params.createElements&&(t=P("div",a.params.wrapperClass),e.append(t),j(e,"."+a.params.slideClass).forEach(e=>{t.append(e)})),Object.assign(a,{el:e,wrapperEl:t,slidesEl:a.isElement&&!e.parentNode.host.slideSlots?e.parentNode.host:t,hostEl:a.isElement?e.parentNode.host:e,mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===W(e,"direction"),rtlTranslate:"horizontal"===a.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===W(e,"direction")),wrongRTL:"-webkit-box"===W(t,"display")})}return!0}init(e){const t=this;return t.initialized||!1!==t.mount(e)&&(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents(),e=[...t.el.querySelectorAll('[loading="lazy"]')],t.isElement&&e.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),e.forEach(e=>{e.complete?l(t,e):e.addEventListener("load",e=>{l(t,e.target)})}),f(t),t.initialized=!0,f(t),t.emit("init"),t.emit("afterInit")),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const s=this,{params:a,el:i,wrapperEl:r,slides:l}=s;if(void 0!==s.params&&!s.destroyed){if(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),a.loop&&s.loopDestroy(),t&&(s.removeClasses(),i.removeAttribute("style"),r.removeAttribute("style"),l)&&l.length&&l.forEach(e=>{e.classList.remove(a.slideVisibleClass,a.slideFullyVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}),s.emit("destroy"),Object.keys(s.eventsListeners).forEach(e=>{s.off(e)}),!1!==e){s.el.swiper=null;{t=s;const n=t;Object.keys(n).forEach(e=>{try{n[e]=null}catch(e){}try{delete n[e]}catch(e){}})}}s.destroyed=!0}return null}static extendDefaults(e){u(T,e)}static get extendedDefaults(){return T}static get defaults(){return V}static installModule(e){S.prototype.__modules__||(S.prototype.__modules__=[]);var t=S.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?e.forEach(e=>S.installModule(e)):S.installModule(e),S}}function L(s,a,i,r){return s.params.createElements&&Object.keys(r).forEach(t=>{if(!i[t]&&!0===i.auto){let e=j(s.el,"."+r[t])[0];e||((e=P("div",r[t])).className=r[t],s.el.append(e)),i[t]=e,a[t]=e}}),i}function I(e){return"."+(e=void 0===e?"":e).trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}function N(e){let{swiper:s,duration:t,transformElements:a,allSlides:i}=e;const r=s["activeIndex"];if(s.params.virtualTranslate&&0!==t){let t=!1,e;(e=i?a:a.filter(e=>{var t,e=e.classList.contains("swiper-slide-transform")?(t=e).parentElement||s.slides.filter(e=>e.shadowRoot&&e.shadowRoot===t.parentNode)[0]:e;return s.getSlideIndex(e)===r})).forEach(e=>{D(e,()=>{var e;t||s&&!s.destroyed&&(t=!0,s.animating=!1,e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0}),s.wrapperEl.dispatchEvent(e))})})}}return Object.keys(w).forEach(t=>{Object.keys(w[t]).forEach(e=>{S.prototype[e]=w[t][e]})}),S.use([function(e){let{swiper:r,on:t,emit:s}=e;const a=E();let i=null,l=null;const n=()=>{r&&!r.destroyed&&r.initialized&&(s("beforeResize"),s("resize"))},o=()=>{r&&!r.destroyed&&r.initialized&&s("orientationchange")};t("init",()=>{r.params.resizeObserver&&void 0!==a.ResizeObserver?r&&!r.destroyed&&r.initialized&&(i=new ResizeObserver(s=>{l=a.requestAnimationFrame(()=>{var{width:e,height:t}=r;let a=e,i=t;s.forEach(e=>{var{contentBoxSize:e,contentRect:t,target:s}=e;s&&s!==r.el||(a=t?t.width:(e[0]||e).inlineSize,i=t?t.height:(e[0]||e).blockSize)}),a===e&&i===t||n()})})).observe(r.el):(a.addEventListener("resize",n),a.addEventListener("orientationchange",o))}),t("destroy",()=>{l&&a.cancelAnimationFrame(l),i&&i.unobserve&&r.el&&(i.unobserve(r.el),i=null),a.removeEventListener("resize",n),a.removeEventListener("orientationchange",o)})},function(e){let{swiper:a,extendParams:t,on:s,emit:i}=e;function r(e,t){void 0===t&&(t={});var s=new(n.MutationObserver||n.WebkitMutationObserver)(e=>{var t;a.__preventObserver__||(1===e.length?i("observerUpdate",e[0]):(t=function(){i("observerUpdate",e[0])},n.requestAnimationFrame?n.requestAnimationFrame(t):n.setTimeout(t,0)))});s.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),l.push(s)}const l=[],n=E();t({observer:!1,observeParents:!1,observeSlideChildren:!1}),s("init",()=>{if(a.params.observer){if(a.params.observeParents){var t=p(a.hostEl);for(let e=0;e<t.length;e+=1)r(t[e])}r(a.hostEl,{childList:a.params.observeSlideChildren}),r(a.wrapperEl,{attributes:!1})}}),s("destroy",()=>{l.forEach(e=>{e.disconnect()}),l.splice(0,l.length)})}]),S.use([function(e){let{swiper:i,extendParams:t,on:s,emit:r}=e;t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),i.navigation={nextEl:null,prevEl:null};const l=e=>(Array.isArray(e)?e:[e]).filter(e=>!!e);function n(e){let t;return!(e&&"string"==typeof e&&i.isElement&&(t=i.el.querySelector(e)))&&(e&&("string"==typeof e&&(t=[...document.querySelectorAll(e)]),i.params.uniqueNavElements)&&"string"==typeof e&&1<t.length&&1===i.el.querySelectorAll(e).length&&(t=i.el.querySelector(e)),e)&&!t?e:t}function a(e,t){const s=i.params.navigation;(e=l(e)).forEach(e=>{e&&(e.classList[t?"add":"remove"](...s.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=t),i.params.watchOverflow)&&i.enabled&&e.classList[i.isLocked?"add":"remove"](s.lockClass)})}function o(){var{nextEl:e,prevEl:t}=i.navigation;i.params.loop?(a(t,!1),a(e,!1)):(a(t,i.isBeginning&&!i.params.rewind),a(e,i.isEnd&&!i.params.rewind))}function d(e){e.preventDefault(),i.isBeginning&&!i.params.loop&&!i.params.rewind||(i.slidePrev(),r("navigationPrev"))}function p(e){e.preventDefault(),i.isEnd&&!i.params.loop&&!i.params.rewind||(i.slideNext(),r("navigationNext"))}function c(){const s=i.params.navigation;if(i.params.navigation=L(i,i.originalParams.navigation,i.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),s.nextEl||s.prevEl){var e=n(s.nextEl),t=n(s.prevEl);Object.assign(i.navigation,{nextEl:e,prevEl:t}),e=l(e),t=l(t);const a=(e,t)=>{e&&e.addEventListener("click","next"===t?p:d),!i.enabled&&e&&e.classList.add(...s.lockClass.split(" "))};e.forEach(e=>a(e,"next")),t.forEach(e=>a(e,"prev"))}}function u(){var{nextEl:e,prevEl:t}=i.navigation,e=l(e),t=l(t);const s=(e,t)=>{e.removeEventListener("click","next"===t?p:d),e.classList.remove(...i.params.navigation.disabledClass.split(" "))};e.forEach(e=>s(e,"next")),t.forEach(e=>s(e,"prev"))}s("init",()=>{(!1===i.params.navigation.enabled?m:(c(),o))()}),s("toEdge fromEdge lock unlock",()=>{o()}),s("destroy",()=>{u()}),s("enable disable",()=>{var{nextEl:e,prevEl:t}=i.navigation,e=l(e),t=l(t);i.enabled?o():[...e,...t].filter(e=>!!e).forEach(e=>e.classList.add(i.params.navigation.lockClass))}),s("click",(e,t)=>{var{nextEl:s,prevEl:a}=i.navigation,s=l(s),a=l(a),t=t.target;if(i.params.navigation.hideOnClick&&!a.includes(t)&&!s.includes(t)&&(!(i.pagination&&i.params.pagination&&i.params.pagination.clickable)||i.pagination.el!==t&&!i.pagination.el.contains(t))){let e;s.length?e=s[0].classList.contains(i.params.navigation.hiddenClass):a.length&&(e=a[0].classList.contains(i.params.navigation.hiddenClass)),!0===e?r("navigationShow"):r("navigationHide"),[...s,...a].filter(e=>!!e).forEach(e=>e.classList.toggle(i.params.navigation.hiddenClass))}});const m=()=>{i.el.classList.add(...i.params.navigation.navigationDisabledClass.split(" ")),u()};Object.assign(i.navigation,{enable:()=>{i.el.classList.remove(...i.params.navigation.navigationDisabledClass.split(" ")),c(),o()},disable:m,update:o,init:c,destroy:u})},function(e){let{swiper:v,extendParams:t,on:s,emit:h}=e;e="swiper-pagination",t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:e+"-bullet",bulletActiveClass:e+"-bullet-active",modifierClass:e+"-",currentClass:e+"-current",totalClass:e+"-total",hiddenClass:e+"-hidden",progressbarFillClass:e+"-progressbar-fill",progressbarOppositeClass:e+"-progressbar-opposite",clickableClass:e+"-clickable",lockClass:e+"-lock",horizontalClass:e+"-horizontal",verticalClass:e+"-vertical",paginationDisabledClass:e+"-disabled"}}),v.pagination={el:null,bullets:[]};let f,g=0;const b=e=>(Array.isArray(e)?e:[e]).filter(e=>!!e);function r(){return!v.params.pagination.el||!v.pagination.el||Array.isArray(v.pagination.el)&&0===v.pagination.el.length}function w(e,t){var s=v.params.pagination["bulletActiveClass"];(e=e&&e[`${"prev"===t?"previous":"next"}ElementSibling`])&&(e.classList.add(s+"-"+t),e=e[`${"prev"===t?"previous":"next"}ElementSibling`])&&e.classList.add(s+`-${t}-`+t)}function a(e){var t=e.target.closest(I(v.params.pagination.bulletClass));t&&(e.preventDefault(),e=y(t)*v.params.slidesPerGroup,v.params.loop?v.realIndex!==e&&v.slideToLoop(e):v.slideTo(e))}function i(){var i=v.rtl;const l=v.params.pagination;if(!r()){var n=v.pagination.el,n=b(n);let r,t;var o=(v.virtual&&v.params.virtual.enabled?v.virtual:v).slides.length;const c=v.params.loop?Math.ceil(o/v.params.slidesPerGroup):v.snapGrid.length;if(v.params.loop?(t=v.previousRealIndex||0,r=1<v.params.slidesPerGroup?Math.floor(v.realIndex/v.params.slidesPerGroup):v.realIndex):void 0!==v.snapIndex?(r=v.snapIndex,t=v.previousSnapIndex):(t=v.previousIndex||0,r=v.activeIndex||0),"bullets"===l.type&&v.pagination.bullets&&0<v.pagination.bullets.length){var d=v.pagination.bullets;let s,a,e;if(l.dynamicBullets&&(f=$(d[0],v.isHorizontal()?"width":"height",!0),n.forEach(e=>{e.style[v.isHorizontal()?"width":"height"]=f*(l.dynamicMainBullets+4)+"px"}),1<l.dynamicMainBullets&&void 0!==t&&((g+=r-(t||0))>l.dynamicMainBullets-1?g=l.dynamicMainBullets-1:g<0&&(g=0)),s=Math.max(r-g,0),a=s+(Math.min(d.length,l.dynamicMainBullets)-1),e=(a+s)/2),d.forEach(e=>{var t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>""+l.bulletActiveClass+e)].map(e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e).flat();e.classList.remove(...t)}),1<n.length)d.forEach(e=>{var t=y(e);t===r?e.classList.add(...l.bulletActiveClass.split(" ")):v.isElement&&e.setAttribute("part","bullet"),l.dynamicBullets&&(t>=s&&t<=a&&e.classList.add(...(l.bulletActiveClass+"-main").split(" ")),t===s&&w(e,"prev"),t===a)&&w(e,"next")});else{o=d[r];if(o&&o.classList.add(...l.bulletActiveClass.split(" ")),v.isElement&&d.forEach((e,t)=>{e.setAttribute("part",t===r?"bullet-active":"bullet")}),l.dynamicBullets){var o=d[s],p=d[a];for(let e=s;e<=a;e+=1)d[e]&&d[e].classList.add(...(l.bulletActiveClass+"-main").split(" "));w(o,"prev"),w(p,"next")}}if(l.dynamicBullets){o=Math.min(d.length,l.dynamicMainBullets+4);const u=(f*o-f)/2-e*f,m=i?"right":"left";d.forEach(e=>{e.style[v.isHorizontal()?m:"top"]=u+"px"})}}n.forEach((a,e)=>{if("fraction"===l.type&&(a.querySelectorAll(I(l.currentClass)).forEach(e=>{e.textContent=l.formatFractionCurrent(r+1)}),a.querySelectorAll(I(l.totalClass)).forEach(e=>{e.textContent=l.formatFractionTotal(c)})),"progressbar"===l.type){let e;e=l.progressbarOpposite?v.isHorizontal()?"vertical":"horizontal":v.isHorizontal()?"horizontal":"vertical";var i=(r+1)/c;let t=1,s=1;"horizontal"===e?t=i:s=i,a.querySelectorAll(I(l.progressbarFillClass)).forEach(e=>{e.style.transform=`translate3d(0,0,0) scaleX(${t}) scaleY(${s})`,e.style.transitionDuration=v.params.speed+"ms"})}"custom"===l.type&&l.renderCustom?(a.innerHTML=l.renderCustom(v,r+1,c),0===e&&h("paginationRender",a)):(0===e&&h("paginationRender",a),h("paginationUpdate",a)),v.params.watchOverflow&&v.enabled&&a.classList[v.isLocked?"add":"remove"](l.lockClass)})}}function l(){const a=v.params.pagination;if(!r()){var e=v.virtual&&v.params.virtual.enabled?v.virtual.slides.length:v.grid&&1<v.params.grid.rows?v.slides.length/Math.ceil(v.params.grid.rows):v.slides.length,t=v.pagination.el,t=b(t);let s="";if("bullets"===a.type){let t=v.params.loop?Math.ceil(e/v.params.slidesPerGroup):v.snapGrid.length;v.params.freeMode&&v.params.freeMode.enabled&&t>e&&(t=e);for(let e=0;e<t;e+=1)a.renderBullet?s+=a.renderBullet.call(v,e,a.bulletClass):s+=`<${a.bulletElement} ${v.isElement?'part="bullet"':""} class="${a.bulletClass}"></${a.bulletElement}>`}"fraction"===a.type&&(s=a.renderFraction?a.renderFraction.call(v,a.currentClass,a.totalClass):`<span class="${a.currentClass}"></span>`+" / "+`<span class="${a.totalClass}"></span>`),"progressbar"===a.type&&(s=a.renderProgressbar?a.renderProgressbar.call(v,a.progressbarFillClass):`<span class="${a.progressbarFillClass}"></span>`),v.pagination.bullets=[],t.forEach(e=>{"custom"!==a.type&&(e.innerHTML=s||""),"bullets"===a.type&&v.pagination.bullets.push(...e.querySelectorAll(I(a.bulletClass)))}),"custom"!==a.type&&h("paginationRender",t[0])}}function n(){v.params.pagination=L(v,v.originalParams.pagination,v.params.pagination,{el:"swiper-pagination"});const t=v.params.pagination;if(t.el){let e;(e=(e=(e="string"==typeof t.el&&v.isElement?v.el.querySelector(t.el):e)||"string"!=typeof t.el?e:[...document.querySelectorAll(t.el)])||t.el)&&0!==e.length&&(v.params.uniqueNavElements&&"string"==typeof t.el&&Array.isArray(e)&&1<e.length&&1<(e=[...v.el.querySelectorAll(t.el)]).length&&(e=e.filter(e=>p(e,".swiper")[0]===v.el)[0]),Array.isArray(e)&&1===e.length&&(e=e[0]),Object.assign(v.pagination,{el:e}),(e=b(e)).forEach(e=>{"bullets"===t.type&&t.clickable&&e.classList.add(...(t.clickableClass||"").split(" ")),e.classList.add(t.modifierClass+t.type),e.classList.add(v.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(e.classList.add(""+t.modifierClass+t.type+"-dynamic"),g=0,t.dynamicMainBullets<1)&&(t.dynamicMainBullets=1),"progressbar"===t.type&&t.progressbarOpposite&&e.classList.add(t.progressbarOppositeClass),t.clickable&&e.addEventListener("click",a),v.enabled||e.classList.add(t.lockClass)}))}}function o(){const t=v.params.pagination;var e;r()||((e=v.pagination.el)&&(e=b(e)).forEach(e=>{e.classList.remove(t.hiddenClass),e.classList.remove(t.modifierClass+t.type),e.classList.remove(v.isHorizontal()?t.horizontalClass:t.verticalClass),t.clickable&&(e.classList.remove(...(t.clickableClass||"").split(" ")),e.removeEventListener("click",a))}),v.pagination.bullets&&v.pagination.bullets.forEach(e=>e.classList.remove(...t.bulletActiveClass.split(" "))))}s("changeDirection",()=>{if(v.pagination&&v.pagination.el){const t=v.params.pagination;var e=v.pagination["el"];(e=b(e)).forEach(e=>{e.classList.remove(t.horizontalClass,t.verticalClass),e.classList.add(v.isHorizontal()?t.horizontalClass:t.verticalClass)})}}),s("init",()=>{(!1===v.params.pagination.enabled?d:(n(),l(),i))()}),s("activeIndexChange",()=>{void 0===v.snapIndex&&i()}),s("snapIndexChange",()=>{i()}),s("snapGridLengthChange",()=>{l(),i()}),s("destroy",()=>{o()}),s("enable disable",()=>{var e=v.pagination["el"];e&&(e=b(e)).forEach(e=>e.classList[v.enabled?"remove":"add"](v.params.pagination.lockClass))}),s("lock unlock",()=>{i()}),s("click",(e,t)=>{var t=t.target,s=b(v.pagination.el);v.params.pagination.el&&v.params.pagination.hideOnClick&&s&&0<s.length&&!t.classList.contains(v.params.pagination.bulletClass)&&(v.navigation&&(v.navigation.nextEl&&t===v.navigation.nextEl||v.navigation.prevEl&&t===v.navigation.prevEl)||(!0===s[0].classList.contains(v.params.pagination.hiddenClass)?h("paginationShow"):h("paginationHide"),s.forEach(e=>e.classList.toggle(v.params.pagination.hiddenClass))))});const d=()=>{v.el.classList.add(v.params.pagination.paginationDisabledClass);var e=v.pagination["el"];e&&(e=b(e)).forEach(e=>e.classList.add(v.params.pagination.paginationDisabledClass)),o()};Object.assign(v.pagination,{enable:()=>{v.el.classList.remove(v.params.pagination.paginationDisabledClass);var e=v.pagination["el"];e&&(e=b(e)).forEach(e=>e.classList.remove(v.params.pagination.paginationDisabledClass)),n(),l(),i()},disable:d,render:l,update:i,init:n,destroy:o})},function(e){let{swiper:o,extendParams:t,on:s,emit:r}=e;const l=k();let n=!1,d=null,p=null,c,u,m,a;function i(){if(o.params.scrollbar.el&&o.scrollbar.el){var{scrollbar:s,rtlTranslate:a}=o;const{dragEl:r,el:l}=s;var s=o.params.scrollbar,i=o.params.loop?o.progressLoop:o.progress;let e=u,t=(m-u)*i;a?0<(t=-t)?(e=u-t,t=0):-t+u>m&&(e=m+t):t<0?(e=u+t,t=0):t+u>m&&(e=m-t),o.isHorizontal()?(r.style.transform=`translate3d(${t}px, 0, 0)`,r.style.width=e+"px"):(r.style.transform=`translate3d(0px, ${t}px, 0)`,r.style.height=e+"px"),s.hide&&(clearTimeout(d),l.style.opacity=1,d=setTimeout(()=>{l.style.opacity=0,l.style.transitionDuration="400ms"},1e3))}}function v(){var e,t,s;o.params.scrollbar.el&&o.scrollbar.el&&(e=o["scrollbar"],{dragEl:t,el:s}=e,t.style.width="",t.style.height="",m=o.isHorizontal()?s.offsetWidth:s.offsetHeight,a=o.size/(o.virtualSize+o.params.slidesOffsetBefore-(o.params.centeredSlides?o.snapGrid[0]:0)),u="auto"===o.params.scrollbar.dragSize?m*a:parseInt(o.params.scrollbar.dragSize,10),o.isHorizontal()?t.style.width=u+"px":t.style.height=u+"px",1<=a?s.style.display="none":s.style.display="",o.params.scrollbar.hide&&(s.style.opacity=0),o.params.watchOverflow)&&o.enabled&&e.el.classList[o.isLocked?"add":"remove"](o.params.scrollbar.lockClass)}function h(e){return o.isHorizontal()?e.clientX:e.clientY}function f(e){var t,s,a,i,{scrollbar:r,rtlTranslate:l}=o,r=r["el"];let n;n=(h(e)-(e=r,r=E(),t=k(),s=e.getBoundingClientRect(),t=t.body,a=e.clientTop||t.clientTop||0,t=e.clientLeft||t.clientLeft||0,i=e===r?r.scrollY:e.scrollTop,r=e===r?r.scrollX:e.scrollLeft,{top:s.top+i-a,left:s.left+r-t}[o.isHorizontal()?"left":"top"])-(null!==c?c:u/2))/(m-u),n=Math.max(Math.min(n,1),0),l&&(n=1-n);e=o.minTranslate()+(o.maxTranslate()-o.minTranslate())*n;o.updateProgress(e),o.setTranslate(e),o.updateActiveIndex(),o.updateSlidesClasses()}function g(e){var t=o.params.scrollbar,{scrollbar:s,wrapperEl:a}=o,{el:s,dragEl:i}=s;n=!0,c=e.target===i?h(e)-e.target.getBoundingClientRect()[o.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),a.style.transitionDuration="100ms",i.style.transitionDuration="100ms",f(e),clearTimeout(p),s.style.transitionDuration="0ms",t.hide&&(s.style.opacity=1),o.params.cssMode&&(o.wrapperEl.style["scroll-snap-type"]="none"),r("scrollbarDragStart",e)}function b(e){var{scrollbar:t,wrapperEl:s}=o,{el:t,dragEl:a}=t;n&&(e.preventDefault?e.preventDefault():e.returnValue=!1,f(e),s.style.transitionDuration="0ms",t.style.transitionDuration="0ms",a.style.transitionDuration="0ms",r("scrollbarDragMove",e))}function w(e){var t=o.params.scrollbar,{scrollbar:s,wrapperEl:a}=o;const i=s["el"];n&&(n=!1,o.params.cssMode&&(o.wrapperEl.style["scroll-snap-type"]="",a.style.transitionDuration=""),t.hide&&(clearTimeout(p),p=M(()=>{i.style.opacity=0,i.style.transitionDuration="400ms"},1e3)),r("scrollbarDragEnd",e),t.snapOnRelease)&&o.slideToClosest()}function y(e){var t,{scrollbar:s,params:a}=o,s=s.el;s&&(t=!!a.passiveListeners&&{passive:!1,capture:!1},a=!!a.passiveListeners&&{passive:!0,capture:!1},s=s)&&(s[s="on"===e?"addEventListener":"removeEventListener"]("pointerdown",g,t),l[s]("pointermove",b,t),l[s]("pointerup",w,a))}function T(){var{scrollbar:s,el:a}=o,i=(o.params.scrollbar=L(o,o.originalParams.scrollbar,o.params.scrollbar,{el:"swiper-scrollbar"}),o.params.scrollbar);if(i.el){let e;if((e="string"==typeof i.el&&o.isElement?o.el.querySelector(i.el):e)||"string"!=typeof i.el)e=e||i.el;else if(!(e=l.querySelectorAll(i.el)).length)return;(e=0<(e=o.params.uniqueNavElements&&"string"==typeof i.el&&1<e.length&&1===a.querySelectorAll(i.el).length?a.querySelector(i.el):e).length?e[0]:e).classList.add(o.isHorizontal()?i.horizontalClass:i.verticalClass);let t;!e||(t=e.querySelector(I(o.params.scrollbar.dragClass)))||(t=P("div",o.params.scrollbar.dragClass),e.append(t)),Object.assign(s,{el:e,dragEl:t}),i.draggable&&o.params.scrollbar.el&&o.scrollbar.el&&y("on"),e&&e.classList[o.enabled?"remove":"add"](...C(o.params.scrollbar.lockClass))}}function S(){var e=o.params.scrollbar,t=o.scrollbar.el;t&&t.classList.remove(...C(o.isHorizontal()?e.horizontalClass:e.verticalClass)),o.params.scrollbar.el&&o.scrollbar.el&&y("off")}t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),o.scrollbar={el:null,dragEl:null},s("init",()=>{(!1===o.params.scrollbar.enabled?x:(T(),v(),i))()}),s("update resize observerUpdate lock unlock",()=>{v()}),s("setTranslate",()=>{i()}),s("setTransition",(e,t)=>{t=t,o.params.scrollbar.el&&o.scrollbar.el&&(o.scrollbar.dragEl.style.transitionDuration=t+"ms")}),s("enable disable",()=>{var e=o.scrollbar["el"];e&&e.classList[o.enabled?"remove":"add"](...C(o.params.scrollbar.lockClass))}),s("destroy",()=>{S()});const x=()=>{o.el.classList.add(...C(o.params.scrollbar.scrollbarDisabledClass)),o.scrollbar.el&&o.scrollbar.el.classList.add(...C(o.params.scrollbar.scrollbarDisabledClass)),S()};Object.assign(o.scrollbar,{enable:()=>{o.el.classList.remove(...C(o.params.scrollbar.scrollbarDisabledClass)),o.scrollbar.el&&o.scrollbar.el.classList.remove(...C(o.params.scrollbar.scrollbarDisabledClass)),T(),v(),i()},disable:x,updateSize:v,setTranslate:i,init:T,destroy:S})},function(e){let{swiper:p,extendParams:t,on:s}=e;t({parallax:{enabled:!1}});const r="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",l=(e,t)=>{var s=p["rtl"],s=s?-1:1,a=e.getAttribute("data-swiper-parallax")||"0";let i=e.getAttribute("data-swiper-parallax-x"),r=e.getAttribute("data-swiper-parallax-y");var l=e.getAttribute("data-swiper-parallax-scale"),n=e.getAttribute("data-swiper-parallax-opacity"),o=e.getAttribute("data-swiper-parallax-rotate");i||r?(i=i||"0",r=r||"0"):p.isHorizontal()?(i=a,r="0"):(r=a,i="0"),i=0<=i.indexOf("%")?parseInt(i,10)*t*s+"%":i*t*s+"px",r=0<=r.indexOf("%")?parseInt(r,10)*t+"%":r*t+"px",null!=n&&(a=n-(n-1)*(1-Math.abs(t)),e.style.opacity=a);let d=`translate3d(${i}, ${r}, 0px)`;null!=l&&(s=l-(l-1)*(1-Math.abs(t)),d+=` scale(${s})`),o&&null!=o&&(d+=` rotate(${o*t*-1}deg)`),e.style.transform=d},a=()=>{const{el:e,slides:t,progress:a,snapGrid:i}=p;var s=j(e,r);p.isElement&&s.push(...j(p.hostEl,r)),s.forEach(e=>{l(e,a)}),t.forEach((e,t)=>{let s=e.progress;1<p.params.slidesPerGroup&&"auto"!==p.params.slidesPerView&&(s+=Math.ceil(t/2)-a*(i.length-1)),s=Math.min(Math.max(s,-1),1),e.querySelectorAll(r+", [data-swiper-parallax-rotate]").forEach(e=>{l(e,s)})})};s("beforeInit",()=>{p.params.parallax.enabled&&(p.params.watchSlidesProgress=!0,p.originalParams.watchSlidesProgress=!0)}),s("init",()=>{p.params.parallax.enabled&&a()}),s("setTranslate",()=>{p.params.parallax.enabled&&a()}),s("setTransition",(e,t)=>{var s,a;p.params.parallax.enabled&&({el:t,hostEl:a}=(void 0===(s=t)&&(s=p.params.speed),p),t=[...t.querySelectorAll(r)],p.isElement&&t.push(...a.querySelectorAll(r)),t.forEach(e=>{let t=parseInt(e.getAttribute("data-swiper-parallax-duration"),10)||s;0===s&&(t=0),e.style.transitionDuration=t+"ms"}))})},function(e){let{swiper:r,extendParams:t,on:s,emit:l,params:a}=e;r.autoplay={running:!1,paused:!1,timeLeft:0},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let n,o,d=a&&a.autoplay?a.autoplay.delay:3e3,p=a&&a.autoplay?a.autoplay.delay:3e3,c,u=(new Date).getTime(),i,m,v,h,f,g,b;function w(e){!r||r.destroyed||!r.wrapperEl||e.target!==r.wrapperEl||(r.wrapperEl.removeEventListener("transitionend",w),b)||M()}const y=()=>{var e;!r.destroyed&&r.autoplay.running&&(r.autoplay.paused?i=!0:i&&(p=c,i=!1),e=r.autoplay.paused?c:u+p-(new Date).getTime(),r.autoplay.timeLeft=e,l("autoplayTimeLeft",e,e/d),o=requestAnimationFrame(()=>{y()}))},T=()=>{let e;if(e=r.virtual&&r.params.virtual.enabled?r.slides.filter(e=>e.classList.contains("swiper-slide-active"))[0]:r.slides[r.activeIndex])return parseInt(e.getAttribute("data-swiper-autoplay"),10)},S=t=>{if(!r.destroyed&&r.autoplay.running){cancelAnimationFrame(o),y();let e=void 0===t?r.params.autoplay.delay:t;d=r.params.autoplay.delay,p=r.params.autoplay.delay;var s=T();!Number.isNaN(s)&&0<s&&void 0===t&&(e=s,d=s,p=s),c=e;const a=r.params.speed,i=()=>{r&&!r.destroyed&&(r.params.autoplay.reverseDirection?!r.isBeginning||r.params.loop||r.params.rewind?(r.slidePrev(a,!0,!0),l("autoplay")):r.params.autoplay.stopOnLastSlide||(r.slideTo(r.slides.length-1,a,!0,!0),l("autoplay")):!r.isEnd||r.params.loop||r.params.rewind?(r.slideNext(a,!0,!0),l("autoplay")):r.params.autoplay.stopOnLastSlide||(r.slideTo(0,a,!0,!0),l("autoplay")),r.params.cssMode)&&(u=(new Date).getTime(),requestAnimationFrame(()=>{S()}))};return 0<e?(clearTimeout(n),n=setTimeout(()=>{i()},e)):requestAnimationFrame(()=>{i()}),e}},x=()=>{u=(new Date).getTime(),r.autoplay.running=!0,S(),l("autoplayStart")},E=()=>{r.autoplay.running=!1,clearTimeout(n),cancelAnimationFrame(o),l("autoplayStop")},C=(e,t)=>{!r.destroyed&&r.autoplay.running&&(clearTimeout(n),e||(g=!0),e=()=>{l("autoplayPause"),r.params.autoplay.waitForTransition?r.wrapperEl.addEventListener("transitionend",w):M()},r.autoplay.paused=!0,t?(f&&(c=r.params.autoplay.delay),f=!1,e()):(t=c||r.params.autoplay.delay,c=t-((new Date).getTime()-u),r.isEnd&&c<0&&!r.params.loop||(c<0&&(c=0),e())))},M=()=>{r.isEnd&&c<0&&!r.params.loop||r.destroyed||!r.autoplay.running||(u=(new Date).getTime(),g?(g=!1,S(c)):S(),r.autoplay.paused=!1,l("autoplayResume"))},P=()=>{var e;!r.destroyed&&r.autoplay.running&&("hidden"===(e=k()).visibilityState&&(g=!0,C(!0)),"visible"===e.visibilityState)&&M()},L=e=>{"mouse"!==e.pointerType||(g=!0,b=!0,r.animating)||r.autoplay.paused||C(!0)},I=e=>{"mouse"===e.pointerType&&(b=!1,r.autoplay.paused)&&M()};s("init",()=>{r.params.autoplay.enabled&&(r.params.autoplay.pauseOnMouseEnter&&(r.el.addEventListener("pointerenter",L),r.el.addEventListener("pointerleave",I)),k().addEventListener("visibilitychange",P),x())}),s("destroy",()=>{r.el.removeEventListener("pointerenter",L),r.el.removeEventListener("pointerleave",I),k().removeEventListener("visibilitychange",P),r.autoplay.running&&E()}),s("_freeModeStaticRelease",()=>{(v||g)&&M()}),s("_freeModeNoMomentumRelease",()=>{r.params.autoplay.disableOnInteraction?E():C(!0,!0)}),s("beforeTransitionStart",(e,t,s)=>{!r.destroyed&&r.autoplay.running&&(s||!r.params.autoplay.disableOnInteraction?C(!0,!0):E())}),s("sliderFirstMove",()=>{!r.destroyed&&r.autoplay.running&&(r.params.autoplay.disableOnInteraction?E():(m=!0,v=!1,g=!1,h=setTimeout(()=>{g=!0,v=!0,C(!0)},200)))}),s("touchEnd",()=>{!r.destroyed&&r.autoplay.running&&m&&(clearTimeout(h),clearTimeout(n),m=(v=(r.params.autoplay.disableOnInteraction||v&&r.params.cssMode&&M(),!1),!1))}),s("slideChange",()=>{!r.destroyed&&r.autoplay.running&&(f=!0)}),Object.assign(r.autoplay,{start:x,stop:E,pause:C,resume:M})},function(e){let{swiper:p,extendParams:t,on:s}=e,a=(t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}}),!1),i=!1;function r(){var t=p.thumbs.swiper;if(t&&!t.destroyed){var s=t.clickedIndex,e=t.clickedSlide;if(!(e&&e.classList.contains(p.params.thumbs.slideThumbActiveClass)||null==s)){let e;e=t.params.loop?parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10):s,p.params.loop?p.slideToLoop(e):p.slideTo(e)}}}function l(){var e=p.params["thumbs"];if(a)return!1;a=!0;var t=p.constructor;return e.swiper instanceof t?(p.thumbs.swiper=e.swiper,Object.assign(p.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(p.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),p.thumbs.swiper.update()):o(e.swiper)&&(e=Object.assign({},e.swiper),Object.assign(e,{watchSlidesProgress:!0,slideToClickedSlide:!1}),p.thumbs.swiper=new t(e),i=!0),p.thumbs.swiper.el.classList.add(p.params.thumbs.thumbsContainerClass),p.thumbs.swiper.on("tap",r),!0}function n(s){var a=p.thumbs.swiper;if(a&&!a.destroyed){var i="auto"===a.params.slidesPerView?a.slidesPerViewDynamic():a.params.slidesPerView;let t=1;const d=p.params.thumbs.slideThumbActiveClass;if(1<p.params.slidesPerView&&!p.params.centeredSlides&&(t=p.params.slidesPerView),p.params.thumbs.multipleActiveThumbs||(t=1),t=Math.floor(t),a.slides.forEach(e=>e.classList.remove(d)),a.params.loop||a.params.virtual&&a.params.virtual.enabled)for(let e=0;e<t;e+=1)j(a.slidesEl,`[data-swiper-slide-index="${p.realIndex+e}"]`).forEach(e=>{e.classList.add(d)});else for(let e=0;e<t;e+=1)a.slides[p.realIndex+e]&&a.slides[p.realIndex+e].classList.add(d);var r=p.params.thumbs.autoScrollOffset,l=r&&!a.params.loop;if(p.realIndex!==a.realIndex||l){var n,o=a.activeIndex;let e,t;t=a.params.loop?(n=a.slides.filter(e=>e.getAttribute("data-swiper-slide-index")===""+p.realIndex)[0],e=a.slides.indexOf(n),p.activeIndex>p.previousIndex?"next":"prev"):(e=p.realIndex)>p.previousIndex?"next":"prev",l&&(e+="next"===t?r:-1*r),a.visibleSlidesIndexes&&a.visibleSlidesIndexes.indexOf(e)<0&&(a.params.centeredSlides?e=e>o?e-Math.floor(i/2)+1:e+Math.floor(i/2)-1:e>o&&a.params.slidesPerGroup,a.slideTo(e,s?0:void 0))}}}p.thumbs={swiper:null},s("beforeInit",()=>{const a=p.params["thumbs"];if(a&&a.swiper)if("string"==typeof a.swiper||a.swiper instanceof HTMLElement){const e=k(),t=()=>{const t="string"==typeof a.swiper?e.querySelector(a.swiper):a.swiper;if(t&&t.swiper)a.swiper=t.swiper,l(),n(!0);else if(t){const s=e=>{a.swiper=e.detail[0],t.removeEventListener("init",s),l(),n(!0),a.swiper.update(),p.update()};t.addEventListener("init",s)}return t},s=()=>{p.destroyed||t()||requestAnimationFrame(s)};requestAnimationFrame(s)}else l(),n(!0)}),s("slideChange update resize observerUpdate",()=>{n()}),s("setTransition",(e,t)=>{var s=p.thumbs.swiper;s&&!s.destroyed&&s.setTransition(t)}),s("beforeDestroy",()=>{var e=p.thumbs.swiper;e&&!e.destroyed&&i&&e.destroy()}),Object.assign(p.thumbs,{init:l,update:n})},function(t){let{swiper:l,extendParams:e,on:s}=t;e({fadeEffect:{crossFade:!1}});{const{effect:a,swiper:i,on:r,setTranslate:n,setTransition:o,overwriteParams:d,perspective:p,recreateShadows:c,getEffectParams:u}=t={effect:"fade",swiper:l,on:s,setTranslate:()=>{var a,e=l["slides"];l.params.fadeEffect;for(let s=0;s<e.length;s+=1){var i=l.slides[s];let e=-i.swiperSlideOffset,t=(l.params.virtualTranslate||(e-=l.translate),0);l.isHorizontal()||(t=e,e=0);var r=l.params.fadeEffect.crossFade?Math.max(1-Math.abs(i.progress),0):1+Math.min(Math.max(i.progress,-1),0),i=(a=void 0,(a=v(i=i))!==i&&(a.style.backfaceVisibility="hidden",a.style["-webkit-backface-visibility"]="hidden"),a);i.style.opacity=r,i.style.transform=`translate3d(${e}px, ${t}px, 0px)`}},setTransition:t=>{var e=l.slides.map(e=>v(e));e.forEach(e=>{e.style.transitionDuration=t+"ms"}),N({swiper:l,duration:t,transformElements:e,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!l.params.cssMode})};r("beforeInit",()=>{var e;i.params.effect===a&&(i.classNames.push(""+i.params.containerModifierClass+a),p&&p()&&i.classNames.push(i.params.containerModifierClass+"3d"),e=d?d():{},Object.assign(i.params,e),Object.assign(i.originalParams,e))}),r("setTranslate",()=>{i.params.effect===a&&n()}),r("setTransition",(e,t)=>{i.params.effect===a&&o(t)}),r("transitionEnd",()=>{i.params.effect===a&&c&&u&&u().slideShadows&&(i.slides.forEach(e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>e.remove())}),c())});let e;r("virtualUpdate",()=>{i.params.effect===a&&(i.slides.length||(e=!0),requestAnimationFrame(()=>{e&&i.slides&&i.slides.length&&(n(),e=!1)}))})}}]),S}();