PageSourceSearch

https://aatango.com/wa_res/static/wafusion_component_carousel.min.js

js aatango.com collected 2026-10-10 02:43:25 UTC 151,831 bytes, 5 lines download raw bytes

1var Swiper=function(){"use strict";function i(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function r(t,s){void 0===t&&(t={}),void 0===s&&(s={});const a=["__proto__","constructor","prototype"];Object.keys(s).filter(e=>a.indexOf(e)<0).forEach(e=>{void 0===t[e]?t[e]=s[e]:i(s[e])&&i(t[e])&&0<Object.keys(s[e]).length&&r(t[e],s[e])})}const t={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function A(){var e="undefined"!=typeof document?document:{};return r(e,t),e}const s={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:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function X(){var e="undefined"!=typeof window?window:{};return r(e,s),e}function T(e){return(e=void 0===e?"":e).trim().split(" ").filter(e=>!!e.trim())}function L(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function v(){return Date.now()}function Y(e,t){void 0===t&&(t="x");const s=X();let a,i,r;const l=function(e){const t=X();let s;return t.getComputedStyle&&(s=t.getComputedStyle(e,null)),!s&&e.currentStyle&&(s=e.currentStyle),s=s||e.style,s}(e);return s.WebKitCSSMatrix?(i=l.transform||l.webkitTransform,6<i.split(",").length&&(i=i.split(", ").map(e=>e.replace(",",".")).join(", ")),r=new s.WebKitCSSMatrix("none"===i?"":i)):(r=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.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])),"y"===t&&(i=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 y(e){const s=Object(arguments.length<=0?void 0:e),a=["__proto__","constructor","prototype"];for(let t=1;t<arguments.length;t+=1){var i=t<0||arguments.length<=t?void 0:arguments[t];if(null!=i&&!("undefined"!=typeof window&&void 0!==window.HTMLElement?i instanceof HTMLElement:i&&(1===i.nodeType||11===i.nodeType))){const n=Object.keys(Object(i)).filter(e=>a.indexOf(e)<0);for(let e=0,t=n.length;e<t;e+=1){var r=n[e],l=Object.getOwnPropertyDescriptor(i,r);void 0!==l&&l.enumerable&&(o(s[r])&&o(i[r])?i[r].__swiper__?s[r]=i[r]:y(s[r],i[r]):!o(s[r])&&o(i[r])?(s[r]={},i[r].__swiper__?s[r]=i[r]:y(s[r],i[r])):s[r]=i[r])}}}var n;return s}function k(e,t,s){e.style.setProperty(t,s)}function E(e){let{swiper:s,targetPosition:a,side:i}=e;const r=X(),l=-s.translate;let n,o=null;const u=s.params.speed,d=(s.wrapperEl.style.scrollSnapType="none",r.cancelAnimationFrame(s.cssModeFrameID),a>l?"next":"prev"),c=(e,t)=>"next"===d&&t<=e||"prev"===d&&e<=t,p=()=>{n=(new Date).getTime(),null===o&&(o=n);var e=Math.max(Math.min((n-o)/u,1),0),e=.5-Math.cos(e*Math.PI)/2;let t=l+e*(a-l);if(c(t,a)&&(t=a),s.wrapperEl.scrollTo({[i]:t}),c(t,a))return s.wrapperEl.style.overflow="hidden",s.wrapperEl.style.scrollSnapType="",setTimeout(()=>{s.wrapperEl.style.overflow="",s.wrapperEl.scrollTo({[i]:t})}),void r.cancelAnimationFrame(s.cssModeFrameID);s.cssModeFrameID=r.requestAnimationFrame(p)};p()}function n(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function B(e,t){void 0===t&&(t="");const s=X(),a=[...e.children];return s.HTMLSlotElement&&e instanceof HTMLSlotElement&&a.push(...e.assignedElements()),t?a.filter(e=>e.matches(t)):a}function O(e){try{return console.warn(e),0}catch(e){}}function M(e,t){void 0===t&&(t=[]);const s=document.createElement(e);return s.classList.add(...Array.isArray(t)?t:T(t)),s}function H(e){var t=X(),s=A(),a=e.getBoundingClientRect(),s=s.body,i=e.clientTop||s.clientTop||0,s=e.clientLeft||s.clientLeft||0,r=e===t?t.scrollY:e.scrollTop,t=e===t?t.scrollX:e.scrollLeft;return{top:a.top+r-i,left:a.left+t-s}}function I(e,t){return X().getComputedStyle(e,null).getPropertyValue(t)}function D(e){let t,s=e;if(s){for(t=0;null!==(s=s.previousSibling);)1===s.nodeType&&(t+=1);return t}}function N(e,t){const s=[];let a=e.parentElement;for(;a;)t&&!a.matches(t)||s.push(a),a=a.parentElement;return s}function g(s,a){a&&s.addEventListener("transitionend",function e(t){t.target===s&&(a.c
1all(s,t),s.removeEventListener("transitionend",e))})}function G(e,t,s){const a=X();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}function C(e){return(Array.isArray(e)?e:[e]).filter(e=>!!e)}function x(t){return e=>0<Math.abs(e)&&t.browser&&t.browser.need3dFix&&Math.abs(e)%90==0?e+.001:e}function z(e,t){void 0===t&&(t=""),"undefined"!=typeof trustedTypes?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:e=>e}).createHTML(t):e.innerHTML=t}let a,e,l;function h(){return a=a||(e=X(),{smoothScroll:(t=A()).documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}),a;var e,t}function c(m){return void 0===m&&(m={}),e=e||function(){var e=(void 0===m?{}:m).userAgent;const t=h(),s=X(),a=s.navigator.platform,i=e||s.navigator.userAgent,r={ios:!1,android:!1},l=s.screen.width,n=s.screen.height,c=i.match(/(Android);?[\s\/]+([\d.]+)?/);let o=i.match(/(iPad).*OS\s([\d_]+)/);var e=i.match(/(iPod)(.*OS\s([\d_]+))?/),p=!o&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),u="Win32"===a;let d="MacIntel"===a;return!o&&d&&t.touch&&0<=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(l+"x"+n)&&(o=i.match(/(Version)\/([\d.]+)/),o=o||[0,1,"13_0_0"],d=!1),c&&!u&&(r.os="android",r.android=!0),(o||p||e)&&(r.os="ios",r.ios=!0),r}(),e}function S(){return l=l||function(){const t=X(),e=c();let s=!1;function a(){const e=t.navigator.userAgent.toLowerCase();return 0<=e.indexOf("safari")&&e.indexOf("chrome")<0&&e.indexOf("android")<0}if(a()){const e=String(t.navigator.userAgent);if(e.includes("Version/")){const[t,a]=e.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));s=t<16||16===t&&a<2}}var i=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),r=a();return{isSafari:s||r,needPerspectiveFix:s,need3dFix:r||i&&e.ios,isWebView:i}}(),l}const f=(e,t,s)=>{t&&!e.classList.contains(s)?e.classList.add(s):!t&&e.classList.contains(s)&&e.classList.remove(s)},p=(e,t,s)=>{t&&!e.classList.contains(s)?e.classList.add(s):!t&&e.classList.contains(s)&&e.classList.remove(s)},u=(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&&e.remove())})),e&&e.remove()}}},m=(e,t)=>{if(e.slides[t]){const s=e.slides[t].querySelector('[loading="lazy"]');s&&s.removeAttribute("loading")}},w=a=>{if(a&&!a.destroyed&&a.params){let s=a.params.lazyPreloadPrevNext;var i=a.slides.length;if(i&&s&&!(s<0)){s=Math.min(s,i);const l="auto"===a.params.slidesPerView?a.slidesPerViewDynamic():Math.ceil(a.params.slidesPerView),n=a.activeIndex;if(a.params.grid&&1<a.params.grid.rows){const i=n,r=[i-s];return r.push(...Array.from({length:s}).map((e,t)=>i+l+t)),void a.slides.forEach((e,t)=>{r.includes(e.column)&&m(a,t)})}var r=n+l-1;if(a.params.rewind||a.params.loop)for(let t=n-s;t<=r+s;t+=1){const e=(t%i+i)%i;(e<n||e>r)&&m(a,e)}else for(let e=Math.max(n-s,0);e<=Math.min(r+s,i-1);e+=1)e!==n&&(e>r||e<n)&&m(a,e)}}};function b(e){let{swiper:t,runCallbacks:s,direction:a,step:i}=e;var{activeIndex:r,previousIndex:l}=t,n=a||(l<r?"next":r<l?"prev":"reset");t.emit("transition"+i),s&&"reset"===n?t.emit("slideResetTransition"+i):s&&r!==l&&(t.emit("slideChangeTransition"+i),"next"===n?t.emit("slideNextTransition"+i):t.emit("slidePrevTransition"+i))}function $(e,t,s){var a=X(),i=e.params,r=i.edgeSwipeDetection,i=i.edgeSwipeThreshold;return!r||!(s<=i||s>=a.innerWidth-i)||"prevent"===r&&(t.preventDefault(),1)}function R(){const e=this,{params:t,el:s}=e;var a,i,r,l,n;s&&0===s.offsetWidth||(t.breakpoints&&e.setBreakpoint(),{allowSlideNext:a,allowSlidePrev:i,snapGrid:r}=e,l=e.virtual&&e.params.virtual.enabled,e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),n=l&&t.loop,!("auto"===t.slidesPerView||1<t.slidesPerView)||!e.isEnd||e.isBeginning||e.params.centeredSlides||n?e.params.loop&&!l?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=i,e.allowSlideNext=a,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow())}const _=(e,t)=>
1{const s=A(),{params:a,el:i,wrapperEl:r,device:l}=e,n=!!a.nested,o="on"===t?"addEventListener":"removeEventListener",d=t;i&&"string"!=typeof i&&(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[d](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",R,!0):e[d]("observerUpdate",R,!0),i[o]("load",e.onLoad,{capture:!0}))},q=(e,t)=>e.grid&&t.grid&&1<t.grid.rows;var V={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};const F={eventsEmitter:{on(e,t,s){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof t)return a;const i=s?"unshift":"push";return e.split(" ").forEach(e=>{a.eventsListeners[e]||(a.eventsListeners[e]=[]),a.eventsListeners[e][i](t)}),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;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof e)return s;var a=t?"unshift":"push";return s.eventsAnyListeners.indexOf(e)<0&&s.eventsAnyListeners[a](e),s},offAny(e){var t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;var s=t.eventsAnyListeners.indexOf(e);return 0<=s&&t.eventsAnyListeners.splice(s,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].forEac
1h((e,t)=>{(e===a||e.__emitterProxy&&e.__emitterProxy===a)&&i.eventsListeners[s].splice(t,1)})}),i},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,s,a;for(var i=arguments.length,r=new Array(i),l=0;l<i;l++)r[l]=arguments[l];return a="string"==typeof r[0]||Array.isArray(r[0])?(t=r[0],s=r.slice(1,r.length),e):(t=r[0].events,s=r[0].data,r[0].context||e),s.unshift(a),(Array.isArray(t)?t:t.split(" ")).forEach(t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(e=>{e.apply(a,[t,...s])}),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach(e=>{e.apply(a,s)})}),e}},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(I(a,"padding-left")||0,10)-parseInt(I(a,"padding-right")||0,10),s=s-parseInt(I(a,"padding-top")||0,10)-parseInt(I(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:l,slidesEl:m,size:n,rtlTranslate:o,wrongRTL:h}=a,f=a.virtual&&r.virtual.enabled,e=(f?a.virtual:a).slides.length,d=B(m,`.${a.params.slideClass}, swiper-slide`),v=(f?a.virtual.slides:d).length;let c=[];const g=[],w=[];let b=r.slidesOffsetBefore,y=("function"==typeof b&&(b=r.slidesOffsetBefore.call(a)),r.slidesOffsetAfter);"function"==typeof y&&(y=r.slidesOffsetAfter.call(a));var E=a.snapGrid.length,x=a.slidesGrid.length;let p=r.spaceBetween,u=-b,S=0,T=0;if(void 0!==n){"string"==typeof p&&0<=p.indexOf("%")?p=parseFloat(p.replace("%",""))/100*n:"string"==typeof p&&(p=parseFloat(p)),a.virtualSize=-p,d.forEach(e=>{o?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),r.centeredSlides&&r.cssMode&&(k(l,"--swiper-centered-offset-before",""),k(l,"--swiper-centered-offset-after",""));var M=r.grid&&1<r.grid.rows&&a.grid;let t;M?a.grid.initSlides(d):a.grid&&a.grid.unsetSlides();var C="auto"===r.slidesPerView&&r.breakpoints&&0<Object.keys(r.breakpoints).filter(e=>void 0!==r.breakpoints[e].slidesPerView).length;for(let s=0;s<v;s+=1){let e;if(t=0,d[s]&&(e=d[s]),M&&a.grid.updateSlide(s,e,d),!d[s]||"none"!==I(e,"display")){if("auto"===r.slidesPerView){C&&(d[s].style[a.getDirectionLabel("width")]="");const n=getComputedStyle(e),o=e.style.transform,h=e.style.webkitTransform;if(o&&(e.style.transform="none"),h&&(e.style.webkitTransform="none"),r.roundLengths)t=a.isHorizontal()?G(e,"width",!0):G(e,"height",!0);else{const a=i(n,"width"),r=i(n,"padding-left"),l=i(n,"padding-right"),o=i(n,"margin-left"),h=i(n,"margin-right"),f=n.getPropertyValue("box-sizing");if(f&&"border-box"===f)t=a+o+h;else{const{clientWidth:i,offsetWidth:n}=e;t=a+r+l+o+h+(n-i)}}o&&(e.style.transform=o),h&&(e.style.webkitTransform=h),r.roundLengths&&(t=Math.floor(t))}else t=(n-(r.slidesPerView-1)*p)/r.slidesPerView,r.roundLengths&&(t=Math.floor(t)),d[s]&&(d[s].style[a.getDirectionLabel("width")]=t+"px");d[s]&&(d[s].swiperSlideSize=t),w.push(t),r.centeredSlides?(u=u+t/2+S/2+p,0===S&&0!==s&&(u=u-n/2-p),0===s&&(u=u-n/2-p),Math.abs(u)<.001&&(u=0),r.roundLengths&&(u=Math.floor(u)),T%r.slidesPerGroup==0&&c.push(u),g.push(u)):(r.roundLengths&&(u=Math.floor(u)),(T-Math.min(a.params.slidesPerGroupSkip,T))%a.params.slidesPerGroup==0&&c.push(u),g.push(u),u=u+t+p),a.virtualSize+=t+p,S=t,T+=1}}if(a.virtualSize=Math.max(a.virtualSize,n)+y,o&&h&&("slide"===r.effect||"coverflow"===r.effect)&&(l.style.width=a.virtualSize+p+"px"),r.setWrapperSize&&(l.style[a.getDirectionLabel("width")]=a.virtualSize+p+"px"),M&&a.grid.updateWrapperSize(t,c),!r.centeredSlides){const i=[];for(let t=0;t<c.length;t+=1){let e=c[t];r.roundLengths&&(e=Math.floor(e)),c[t]<=a.virtualSize-n&&i.push(e)}c=i,1<Math.floor(a.virtualSize-n)-Math.floor(c[c.length-1])&&c.push(a.virtualSize-n)}if(f&&r.loop){const i=w[0]+p;if(1<r.slidesPerGroup){const l=Math.ceil((a.virtual.slidesBefore+a.virtual.slidesAfter)/r.slidesPerGroup),m=i*r.slidesPerGroup;for(let e=0;e<l;e+=1)c.push(c[c.length-1]+m)}for(let e=0;e<a.virtual.slidesBefore+a.virtual.slidesAfter;e+=1)1===r.slidesPerGroup&&c.push(c[c.length-1]+i),g.push(g[g.length-1]+i),a.virtualSize+=i}if(0===c.length&&(c=[0]),0!==p){const i=a.isHorizontal()&&o?"marginLeft":a.getDirectionLabel("marginRight");d.filter((e,t)=>
1!(r.cssMode&&!r.loop)||t!==d.length-1).forEach(e=>{e.style[i]=p+"px"})}if(r.centeredSlides&&r.centeredSlidesBounds){let t=0;w.forEach(e=>{t+=e+(p||0)}),t-=p;const i=t>n?t-n:0;c=c.map(e=>e<=0?-b:e>i?i+y:e)}if(r.centerInsufficientSlides){let t=0;w.forEach(e=>{t+=e+(p||0)}),t-=p;const i=(r.slidesOffsetBefore||0)+(r.slidesOffsetAfter||0);if(t+i<n){const r=(n-t-i)/2;c.forEach((e,t)=>{c[t]=e-r}),g.forEach((e,t)=>{g[t]=e+r})}}if(Object.assign(a,{slides:d,snapGrid:c,slidesGrid:g,slidesSizesGrid:w}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){k(l,"--swiper-centered-offset-before",-c[0]+"px"),k(l,"--swiper-centered-offset-after",a.size/2-w[w.length-1]/2+"px");const i=-a.snapGrid[0],r=-a.slidesGrid[0];a.snapGrid=a.snapGrid.map(e=>e+i),a.slidesGrid=a.slidesGrid.map(e=>e+r)}if(v!==e&&a.emit("slidesLengthChange"),c.length!==E&&(a.params.watchOverflow&&a.checkOverflow(),a.emit("snapGridLengthChange")),g.length!==x&&a.emit("slidesGridLengthChange"),r.watchSlidesProgress&&a.updateSlidesOffset(),a.emit("slidesUpdated"),!(f||r.cssMode||"slide"!==r.effect&&"fade"!==r.effect)){const i=r.containerModifierClass+"backface-hidden",l=a.el.classList.contains(i);v<=r.maxBackfaceHiddenSlides?l||a.el.classList.add(i):l&&a.el.classList.remove(i)}}},updateAutoHeight:function(e){const t=this,s=[],a=t.virtual&&t.params.virtual.enabled;let i,r=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);var l=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(i=0;i<Math.ceil(t.params.slidesPerView);i+=1){const e=t.activeIndex+i;if(e>t.slides.length&&!a)break;s.push(l(e))}else s.push(l(t.activeIndex));for(i=0;i<s.length;i+=1)if(void 0!==s[i]){const e=s[i].offsetHeight;r=e>r?e:r}!r&&0!==r||(t.wrapperEl.style.height=r+"px")},updateSlidesOffset:function(){const e=this,t=e.slides,s=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let a=0;a<t.length;a+=1)t[a].swiperSlideOffset=(e.isHorizontal()?t[a].offsetLeft:t[a].offsetTop)-s-e.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);var i=this,r=i.params,{slides:l,rtlTranslate:n,snapGrid:m}=i;if(0!==l.length){void 0===l[0].swiperSlideOffset&&i.updateSlidesOffset();let t=n?e:-e,s=(i.visibleSlidesIndexes=[],i.visibleSlides=[],r.spaceBetween);"string"==typeof s&&0<=s.indexOf("%")?s=parseFloat(s.replace("%",""))/100*i.size:"string"==typeof s&&(s=parseFloat(s));for(let a=0;a<l.length;a+=1){const u=l[a];let e=u.swiperSlideOffset;r.cssMode&&r.centeredSlides&&(e-=l[0].swiperSlideOffset);var o=(t+(r.centeredSlides?i.minTranslate():0)-e)/(u.swiperSlideSize+s),d=(t-m[0]+(r.centeredSlides?i.minTranslate():0)-e)/(u.swiperSlideSize+s),c=-(t-e),p=c+i.slidesSizesGrid[a],h=0<=c&&c<=i.size-i.slidesSizesGrid[a],c=0<=c&&c<i.size-1||1<p&&p<=i.size||c<=0&&p>=i.size;c&&(i.visibleSlides.push(u),i.visibleSlidesIndexes.push(a)),f(u,c,r.slideVisibleClass),f(u,h,r.slideFullyVisibleClass),u.progress=n?-o:o,u.originalProgress=n?-d:d}}},updateProgress:function(e){var t=this;if(void 0===e){const s=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*s||0}const s=t.params,a=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:r,isEnd:l,progressLoop:n}=t;const o=r,d=l;if(0===a)i=0,r=!0,l=!0;else{i=(e-t.minTranslate())/a;const s=Math.abs(e-t.minTranslate())<1,n=Math.abs(e-t.maxTranslate())<1;r=s||i<=0,l=n||1<=i,s&&(i=0),n&&(i=1)}if(s.loop){const s=t.getSlideIndexByData(0),a=t.getSlideIndexByData(t.slides.length-1),i=t.slidesGrid[s],r=t.slidesGrid[a],l=t.slidesGrid[t.slidesGrid.length-1],o=Math.abs(e);n=o>=i?(o-i)/l:(o+l-r)/l,1<n&&--n}Object.assign(t,{progress:i,progressLoop:n,isBeginning:r,isEnd:l}),(s.watchSlidesProgress||s.centeredSlides&&s.autoHeight)&&t.updateSlidesProgress(e),r&&!o&&t.emit("reachBeginning toEdge"),l&&!d&&t.emit("reachEnd toEdge"),(o&&!r||d&&!l)&&t.emit("fromEdge"),t.emit("progress",i)},updateSlidesClasses:function(){const t=this,{slides:e,params:s,slidesEl:a,activeIndex:i}=t,c=t.virtual&&s.virtual.enabled,r=t.grid&&s.grid&&1<s.grid.rows,l=e=>B(a,`.${s.slideClass}${e}, swiper-slide`+e)[0];let n,o,d;if(c)if(s.loop){let e=i-t.virtual.slidesBefore;e<0&&(e=t.virtual.slides.length+e),e>=t.virtual.slides.length&&(e-=t.virtual.slides.length),n=l(`[data-swiper-slide-index="${e}"]`)}else n=l(`[data-swiper-slide-index="${i}"]`);else r?(n=e.find(e=>e.column===i),d=e.find(e=>e.column===i+1),o=e.find(e=>e.column===i-1)):n=e[i];n&&(r||(d=function(e,t){const s=[];for(;e.nextElementSibling;){const a=e.nextElementSibling;t&&!a.matches(t)||s.push(a),e=a}return s}(n,`.${s.slideClass}, swiper-slide`)[0],s.loop&&!d&&(d=e[0]),o=function(e,t){const s=[];for(;e.previousElementSibling;){const a=e.previousElementSibling;t&&!a.matches(t)||s.push(a),e=a}return s}(n,`.${s.slideClass}, swiper-slide`)[0],s.loop&&0===!o&&(o=e[e.length-1]))),e.forEach(e
1=>{p(e,e===n,s.slideActiveClass),p(e,e===d,s.slideNextClass),p(e,e===o,s.slidePrevClass)}),t.emitSlidesClasses()},updateActiveIndex:function(s){const a=this,e=a.rtlTranslate?a.translate:-a.translate,{snapGrid:t,params:i,activeIndex:r,realIndex:l,snapIndex:n}=a;let o,d=s;var c=e=>{let t=e-a.virtual.slidesBefore;return t<0&&(t=a.virtual.slides.length+t),t>=a.virtual.slides.length&&(t-=a.virtual.slides.length),t};if(void 0===d&&(d=function(e){var{slidesGrid:t,params:s}=e,a=e.rtlTranslate?e.translate:-e.translate;let i;for(let r=0;r<t.length;r+=1)void 0!==t[r+1]?a>=t[r]&&a<t[r+1]-(t[r+1]-t[r])/2?i=r:a>=t[r]&&a<t[r+1]&&(i=r+1):a>=t[r]&&(i=r);return s.normalizeSlideIndex&&(i<0||void 0===i)&&(i=0),i}(a)),0<=t.indexOf(e))o=t.indexOf(e);else{const s=Math.min(i.slidesPerGroupSkip,d);o=s+Math.floor((d-s)/i.slidesPerGroup)}if(o>=t.length&&(o=t.length-1),d!==r||a.params.loop)if(d===r&&a.params.loop&&a.virtual&&a.params.virtual.enabled)a.realIndex=c(d);else{var p=a.grid&&i.grid&&1<i.grid.rows;let t;if(a.virtual&&i.virtual.enabled&&i.loop)t=c(d);else if(p){const s=a.slides.find(e=>e.column===d);let e=parseInt(s.getAttribute("data-swiper-slide-index"),10);Number.isNaN(e)&&(e=Math.max(a.slides.indexOf(s),0)),t=Math.floor(e/i.grid.rows)}else if(a.slides[d]){const s=a.slides[d].getAttribute("data-swiper-slide-index");t=s?parseInt(s,10):d}else t=d;Object.assign(a,{previousSnapIndex:n,snapIndex:o,previousRealIndex:l,realIndex:t,previousIndex:r,activeIndex:d}),a.initialized&&w(a),a.emit("activeIndexChange"),a.emit("snapIndexChange"),(a.initialized||a.params.runCallbacksOnInit)&&(l!==t&&a.emit("realIndexChange"),a.emit("slideChange"))}else o!==n&&(a.snapIndex=o,a.emit("snapIndexChange"))},updateClickedSlide:function(e,t){const s=this,a=s.params;let i=e.closest(`.${a.slideClass}, swiper-slide`);!i&&s.isElement&&t&&1<t.length&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEac
1h(e=>{!i&&e.matches&&e.matches(`.${a.slideClass}, swiper-slide`)&&(i=e)});let r,l=!1;if(i)for(let e=0;e<s.slides.length;e+=1)if(s.slides[e]===i){l=!0,r=e;break}if(!i||!l)return s.clickedSlide=void 0,void(s.clickedIndex=void 0);s.clickedSlide=i,s.virtual&&s.params.virtual.enabled?s.clickedIndex=parseInt(i.getAttribute("data-swiper-slide-index"),10):s.clickedIndex=r,a.slideToClickedSlide&&void 0!==s.clickedIndex&&s.clickedIndex!==s.activeIndex&&s.slideToClickedSlide()}},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=Y(i,e);return r+=this.cssOverflowAdjustment(),s&&(r=-r),r||0},setTranslate:function(e,t){const 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)`);var d=s.maxTranslate()-s.minTranslate();(0==d?0:(e-s.minTranslate())/d)!==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,{params:l,wrapperEl:n}=r;if(r.animating&&l.preventInteractionOnTransition)return!1;var o=r.minTranslate(),d=r.maxTranslate(),o=a&&o<e?o:a&&e<d?d:e;if(r.updateProgress(o),l.cssMode){const e=r.isHorizontal();if(0===t)n[e?"scrollLeft":"scrollTop"]=-o;else{if(!r.support.smoothScroll)return E({swiper:r,targetPosition:-o,side:e?"left":"top"}),!0;n.scrollTo({[e?"left":"top"]:-o,behavior:"smooth"})}return!0}return 0===t?(r.setTransition(0),r.setTranslate(o),s&&(r.emit("beforeTransitionStart",t,i),r.emit("transitionEnd"))):(r.setTransition(t),r.setTranslate(o),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,r.animating=!1,s&&r.emit("transitionEnd"))}),r.wrapperEl.addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd))),!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(),b({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),b({swiper:this,runCallbacks:e,direction:t,step:"End"}))}},slide:{slideTo:function(e,t,s,a,c){void 0===s&&(s=!0),"string"==typeof(e=void 0===e?0:e)&&(e=parseInt(e,10));const i=this;let r=e;r<0&&(r=0);const{params:l,snapGrid:p,slidesGrid:u,previousIndex:m,activeIndex:h,rtlTranslate:f,wrapperEl:v,enabled:g}=i;if(!g&&!a&&!c||i.destroyed||i.animating&&l.preventInteractionOnTransition)return!1;void 0===t&&(t=i.params.speed);var n=Math.min(i.params.slidesPerGroupSkip,r);let w=n+Math.floor((r-n)/i.params.slidesPerGroup);w>=p.length&&(w=p.length-1);var o=-p[w];if(l.normalizeSlideIndex)for(let e=0;e<u.length;e+=1){const t=-Math.floor(100*o),s=Math.floor(100*u[e]),a=Math.floor(100*u[e+1]);void 0!==u[e+1]?t>=s&&t<a-(a-s)/2?r=e:t>=s&&t<a&&(r=e+1):t>=s&&(r=e)}if(i.initialized&&r!==h){if(!i.allowSlideNext&&(f?o>i.translate&&o>i.minTranslate():o<i.translate&&o<i.minTranslate()))return!1;if(!i.allowSlidePrev&&o>i.translate&&o>i.maxTranslate()&&(h||0)!==r)return!1}let d;r!==(m||0)&&s&&i.emit("beforeSlideChangeStart"),i.updateProgress(o),d=r>h?"next":r<h?"prev":"reset";n=i.virtual&&i.params.virtual.enabled;if((!n||!c)&&(f&&-o===i.translate||!f&&o===i.translate))return i.updateActiveIndex(r),l.autoHeight&&i.updateAutoHeight(),i.updateSlidesClasses(),"slide"!==l.effect&&i.setTranslate(o),"reset"!=d&&(i.transitionStart(s,d),i.transitionEnd(s,d)),!1;if(l.cssMode){const e=i.isHorizontal(),s=f?o:-o;if(0===t)n&&(i.wrapperEl.style.scrollSnapType="none",i._immediateVirtual=!0),n&&!i._cssModeVirtualInitialSet&&0<i.params.initialSlide?(i._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{v[e?"scrollLeft":"scrollTop"]=s})):v[e?"scrollLeft":"scrollTop"]=s,n&&requestAnimationFrame(()=>{i.wrapperEl.style.scrollSnapType="",i._immediateVirtual=!1});else{if(!i.support.smoothScroll)return E({swiper:i,targetPosition:s,side:e?"left"
1:"top"}),!0;v.scrollTo({[e?"left":"top"]:s,behavior:"smooth"})}return!0}var b=S().isSafari;return n&&!c&&b&&i.isElement&&i.virtual.update(!1,!1,r),i.setTransition(t),i.setTranslate(o),i.updateActiveIndex(r),i.updateSlidesClasses(),i.emit("beforeTransitionStart",t,a),i.transitionStart(s,d),0===t?i.transitionEnd(s,d):i.animating||(i.animating=!0,i.onSlideToWrapperTransitionEnd||(i.onSlideToWrapperTransitionEnd=function(e){i&&!i.destroyed&&e.target===this&&(i.wrapperEl.removeEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.onSlideToWrapperTransitionEnd=null,delete i.onSlideToWrapperTransitionEnd,i.transitionEnd(s,d))}),i.wrapperEl.addEventListener("transitionend",i.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(i,r,l,n){void 0===l&&(l=!0),"string"==typeof(i=void 0===i?0:i)&&(i=parseInt(i,10));const o=this;if(!o.destroyed){void 0===r&&(r=o.params.speed);var d=o.grid&&o.params.grid&&1<o.params.grid.rows;let a=i;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)a+=o.virtual.slidesBefore;else{let e;if(d){const r=a*o.params.grid.rows;e=o.slides.find(e=>+e.getAttribute("data-swiper-slide-index")==r).column}else e=o.getSlideIndexByData(a);const r=d?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,l=o.params.centeredSlides;let t=o.params.slidesPerView,s=("auto"===t?t=o.slidesPerViewDynamic():(t=Math.ceil(parseFloat(o.params.slidesPerView,10)),l&&t%2==0&&(t+=1)),r-e<t);if(l&&(s=s||e<Math.ceil(t/2)),n&&l&&"auto"!==o.params.slidesPerView&&!d&&(s=!1),s){const n=l?e<o.activeIndex?"prev":"next":e-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:n,slideTo:!0,activeSlideIndex:"next"==n?e+1:e-r+1,slideRealIndex:"next"==n?o.realIndex:void 0})}if(d){const i=a*o.params.grid.rows;a=o.slides.find(e=>+e.getAttribute("data-swiper-slide-index")==i).column}else a=o.getSlideIndexByData(a)}return requestAnimationFrame(()=>{o.slideTo(a,r,l,n)}),o}},slideNext:function(e,t,s){void 0===t&&(t=!0);const a=this,{enabled:i,params:r,animating:l}=a;if(!i||a.destroyed)return a;void 0===e&&(e=a.params.speed);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,d=a.virtual&&r.virtual.enabled;if(r.loop){if(l&&!d&&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===t&&(t=!0);const a=this,{params:i,snapGrid:r,slidesGrid:c,rtlTranslate:p,enabled:u,animating:m}=a;if(!u||a.destroyed)return a;void 0===e&&(e=a.params.speed);var h=a.virtual&&i.virtual.enabled;if(i.loop){if(m&&!h&&i.loopPreventsSliding)return!1;a.loopFix({direction:"prev"}),a._clientLeft=a.wrapperEl.clientLeft}function l(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const n=l(p?a.translate:-a.translate),f=r.map(e=>l(e)),v=i.freeMode&&i.freeMode.enabled;let o=r[f.indexOf(n)-1];if(void 0===o&&(i.cssMode||v)){let s;r.forEach((e,t)=>{n>=e&&(s=t)}),void 0!==s&&(o=v?r[s]:r[0<s?s-1:s])}let d=0;if(void 0!==o&&(d=c.indexOf(o),d<0&&(d=a.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(d=d-a.slidesPerViewDynamic("previous",!0)+1,d=Math.max(d,0))),i.rewind&&a.isBeginning){const i=a.params.virtual&&a.params.virtual.enabled&&a.virtual?a.virtual.slides.length-1:a.slides.length-1;return a.slideTo(i,e,t,s)}return i.loop&&0===a.activeIndex&&i.cssMode?(requestAnimationFrame(()=>{a.slideTo(d,e,t,s)}),!0):a.slideTo(d,e,t,s)},slideReset:function(e,t,s){if(void 0===t&&(t=!0),!this.destroyed)return void 0===e&&(e=this.params.speed),this.slideTo(this.activeIndex,e,t,s)},slideToClosest:function(t,s,a,i){void 0===s&&(s=!0),void 0===i&&(i=.5);var r=this;if(!r.destroyed){void 0===t&&(t=r.params.speed);let e=r.activeIndex;var l=Math.min(r.params.slidesPerGroupSkip,e),l=l+Math.floor((e-l)/r.params.slidesPerGroup),n=r.rtlTranslate?r.translate:-r.translate;if(n>=r.snapGrid[l]){const t=r.snapGrid[l];n-t>(r.snapGrid[l+1]-t)*i&&(e+=r.params.slidesPerGroup)}else{const t=r.snapGrid[l-1];n-t<=(r.snapGrid[l]-t)*i&&(e-=r.params.slidesPerGroup)}return e=Math.max(e,0),e=Math.min(e,r.slidesGrid.length-1),r.slideTo(e,t,s,a)}},slideToClickedSlide:function(){const s=this;if(!s.destroyed){var{params:a,slidesEl:i}=s,r="auto"===a.slidesPerView?s.slidesPerViewDynamic():a.slidesPerView;let e,t=s.getSlideIndexWhenGrid(s.clickedIndex);var l=s.isElement?"swiper-slide":"."+a.slideClass,n=s.grid&&s.params.grid&&1<s.params.grid.rows;a.loop?s.animating||(e=parseInt(s.clickedSlide.getAttribute("data-swiper-slide-index"),10),a.centeredSlides?s.slideToLoop(e):t>(n?(s.slides.length-r)/2-(s.params.grid.rows-1):s.slides.length-r)?(s.loopFix(),t=s.getSlideIndex(B(i,l+`[data-swiper-slide-index="${e}"]`)[0]),L(()=>{s.slideTo(t)})):s.slideTo(t)):s.slideTo(t)}}},loop:{loopCreate:function(e,t){const s=this,{params:a,slidesEl:i}=s;if(!(!a.loop||s.virtual&&s.params.virtual.enabled)){var r=s.grid&&a.grid&&1<a.grid.rows;if(a.loopAddBlankSlides&&(1<a.slidesPerGroup||r)){const d=B(i,"."+a.slideBlankClass);
1d.forEach(e=>{e.remove()}),0<d.length&&(s.recalcSlides(),s.updateSlides())}var l=a.slidesPerGroup*(r?a.grid.rows:1),n=s.slides.length%l!=0,r=r&&s.slides.length%a.grid.rows!=0,o=e=>{for(let t=0;t<e;t+=1){const e=s.isElement?M("swiper-slide",[a.slideBlankClass]):M("div",[a.slideClass,a.slideBlankClass]);s.slidesEl.append(e)}};n?a.loopAddBlankSlides?(o(l-s.slides.length%l),s.recalcSlides(),s.updateSlides()):O("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)"):r&&(a.loopAddBlankSlides?(o(a.grid.rows-s.slides.length%a.grid.rows),s.recalcSlides(),s.updateSlides()):O("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)")),B(i,`.${a.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}),s.loopFix({slideRealIndex:e,direction:a.centeredSlides?void 0:"next",initial:t})}},loopFix:function(r){let{slideRealIndex:l,slideTo:f=!0,direction:v,setTranslate:g,activeSlideIndex:n,initial:w,byController:b,byMousewheel:y}=void 0===r?{}:r;const o=this;if(o.params.loop){o.emit("beforeLoopFix");const{slides:c,allowSlidePrev:M,allowSlideNext:C,slidesEl:P,params:p}=o,{centeredSlides:L,initialSlide:I}=p;if(o.allowSlidePrev=!0,o.allowSlideNext=!0,o.virtual&&p.virtual.enabled)return f&&(p.centeredSlides||0!==o.snapIndex?p.centeredSlides&&o.snapIndex<p.slidesPerView?o.slideTo(o.virtual.slides.length+o.snapIndex,0,!1,!0):o.snapIndex===o.snapGrid.length-1&&o.slideTo(o.virtual.slidesBefore,0,!1,!0):o.slideTo(o.virtual.slides.length,0,!1,!0)),o.allowSlidePrev=M,o.allowSlideNext=C,void o.emit("loopFix");let t=p.slidesPerView;"auto"===t?t=o.slidesPerViewDynamic():(t=Math.ceil(parseFloat(p.slidesPerView,10)),L&&t%2==0&&(t+=1));var E=p.slidesPerGroupAuto?t:p.slidesPerGroup;let s=L?Math.max(E,Math.ceil(t/2)):E;s%E!=0&&(s+=E-s%E),s+=p.loopAdditionalSlides,o.loopedSlides=s;var d=o.grid&&p.grid&&1<p.grid.rows;c.length<t+s||"cards"===o.params.effect&&c.length<t+2*s?O("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):d&&"row"===p.grid.fill&&O("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const u=[],m=[],h=d?Math.ceil(c.length/p.grid.rows):c.length,A=w&&h-I<t&&!L;let e=A?I:o.activeIndex;void 0===n?n=o.getSlideIndex(c.find(e=>e.classList.contains(p.slideActiveClass))):e=n;var x="next"===v||!v,S="prev"===v||!v;let a=0,i=0;var T=(d?c[n].column:n)+(L&&void 0===g?-t/2+.5:0);if(T<s){a=Math.max(s-T,E);for(let e=0;e<s-T;e+=1){const l=e-Math.floor(e/h)*h;if(d){const r=h-l-1;for(let e=c.length-1;0<=e;--e)c[e].column===r&&u.push(e)}else u.push(h-l-1)}}else if(T+t>h-s){i=Math.max(T-(h-2*s),E),A&&(i=Math.max(i,t-h+I+1));for(let e=0;e<i;e+=1){const l=e-Math.floor(e/h)*h;d?c.forEach((e,t)=>{e.column===l&&m.push(t)}):m.push(l)}}if(o.__preventObserver__=!0,requestAnimationFrame(()=>{o.__preventObserver__=!1}),"cards"===o.params.effect&&c.length<t+2*s&&(m.includes(n)&&m.splice(m.indexOf(n),1),u.includes(n)&&u.splice(u.indexOf(n),1)),S&&u.forEach(e=>{c[e].swiperLoopMoveDOM=!0,P.prepend(c[e]),c[e].swiperLoopMoveDOM=!1}),x&&m.forEach(e=>{c[e].swiperLoopMoveDOM=!0,P.append(c[e]),c[e].swiperLoopMoveDOM=!1}),o.recalcSlides(),"auto"===p.slidesPerView?o.updateSlides():d&&(0<u.length&&S||0<m.length&&x)&&o.slides.forEach((e,t)=>{o.grid.updateSlide(t,e,o.slides)}),p.watchSlidesProgress&&o.updateSlidesOffset(),f)if(0<u.length&&S){if(void 0===l){const r=o.slidesGrid[e],l=o.slidesGrid[e+a]-r;y?o.setTranslate(o.translate-l):(o.slideTo(e+Math.ceil(a),0,!1,!0),g&&(o.touchEventsData.startTranslate=o.touchEventsData.startTranslate-l,o.touchEventsData.currentTranslate=o.touchEventsData.currentTranslate-l))}else if(g){const r=d?u.length/p.grid.rows:u.length;o.slideTo(o.activeIndex+r,0,!1,!0),o.touchEventsData.currentTranslate=o.translate}}else if(0<m.length&&x)if(void 0===l){const r=o.slidesGrid[e],l=o.slidesGrid[e-i]-r;y?o.setTranslate(o.translate-l):(o.slideTo(e-i,0,!1,!0),g&&(o.touchEventsData.startTranslate=o.touchEventsData.startTranslate-l,o.touchEventsData.currentTranslate=o.touchEventsData.currentTranslate-l))}else{const r=d?m.length/p.grid.rows:m.length;o.slideTo(o.activeIndex-r,0,!1,!0)}if(o.allowSlidePrev=M,o.allowSlideNext=C,o.controller&&o.controller.control&&!b){const r={slideRealIndex:l,direction:v,setTranslate:g,activeSlideIndex:n,byController:!0};Array.isArray(o.controller.control)?o.controller.control.forEach(e
1=>{!e.destroyed&&e.params.loop&&e.loopFix({...r,slideTo:e.params.slidesPerView===p.slidesPerView&&f})}):o.controller.control instanceof o.constructor&&o.controller.control.params.loop&&o.controller.control.loopFix({...r,slideTo:o.controller.control.params.slidesPerView===p.slidesPerView&&f})}o.emit("loopFix")}},loopDestroy:function(){const e=this,{params:t,slidesEl:s}=e;if(t.loop&&s&&(!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;if(!(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)){const 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(e){const s=this,a=A();let i=e;i.originalEvent&&(i=i.originalEvent);const r=s.touchEventsData;if("pointerdown"===i.type){if(null!==r.pointerId&&r.pointerId!==i.pointerId)return;r.pointerId=i.pointerId}else"touchstart"===i.type&&1===i.targetTouches.length&&(r.touchId=i.targetTouches[0].identifier);if("touchstart"!==i.type){const{params:o,touches:d,enabled:t}=s;if(t&&(o.simulateTouch||"mouse"!==i.pointerType)&&(!s.animating||!o.preventInteractionOnTransition)){!s.animating&&o.cssMode&&o.loop&&s.loopFix();let t=i.target;if(("wrapper"!==o.touchEventsTarget||function(e,t){var s=X();let a=t.contains(e);return!a&&s.HTMLSlotElement&&t instanceof HTMLSlotElement&&(a=[...t.assignedElements()].includes(e),a=a||function(e,t){const s=[t];for(;0<s.length;){const t=s.shift();if(e===t)return!0;s.push(...t.children,...t.shadowRoot?t.shadowRoot.children:[],...t.assignedElements?t.assignedElements():[])}}(e,t)),a}(t,s.wrapperEl))&&!("which"in i&&3===i.which||"button"in i&&0<i.button||r.isTouched&&r.isMoved)){var l=!!o.noSwipingClass&&""!==o.noSwipingClass,n=i.composedPath?i.composedPath():i.path,l=(l&&i.target&&i.target.shadowRoot&&n&&(t=n[0]),o.noSwipingSelector||"."+o.noSwipingClass),n=!(!i.target||!i.target.shadowRoot);if(o.noSwiping&&(n?function(a,e){return function e(t){if(!t||t===A()||t===X())return null;var s=(t=t.assignedSlot||t).closest(a);return s||t.getRootNode?s||e(t.getRootNode().host):null}(e=void 0===t?this:e)}(l,t):t.closest(l)))s.allowClick=!0;else if(!o.swipeHandler||t.closest(o.swipeHandler)){d.currentX=i.pageX,d.currentY=i.pageY;n=d.currentX,l=d.currentY;if($(s,i,n)){Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),d.startX=n,d.startY=l,r.touchStartTime=v(),s.allowClick=!0,s.updateSize(),s.swipeDirection=void 0,0<o.threshold&&(r.allowThresholdMove=!1);let e=!0;t.matches(r.focusableElements)&&(e=!1,"SELECT"===t.nodeName&&(r.isTouched=!1)),a.activeElement&&a.activeElement.matches(r.focusableElements)&&a.activeElement!==t&&("mouse"===i.pointerType||"mouse"!==i.pointerType&&!t.matches(r.focusableElements))&&a.activeElement.blur();n=e&&s.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!n||t.isContentEditable||i.preventDefault(),o.freeMode&&o.freeMode.enabled&&s.freeMode&&s.animating&&!o.cssMode&&s.freeMode.onTouchStart(),s.emit("touchStart",i)}}}}}else $(s,i,i.targetTouches[0].pageX)}).bind(e),e.onTouchMove=(function(h){const t=A(),r=this,l=r.touchEventsData,{params:n,touches:o,rtlTranslate:d,enabled:e}=r;if(e&&(n.simulateTouch||"mouse"!==h.pointerType)){let e,i=h;if(i.originalEvent&&(i=i.originalEvent),"pointermove"===i.type){if(null!==l.touchId)return;if(i.pointerId!==l.pointerId)return}if("touchmove"===i.type){if(e=[...i.changedTouches].find(e=>e.identifier===l.touchId),!e||e.identifier!==l.touchId)return}else e=i;if(l.isTouched){var c=e.pageX,p=e.pageY;if(i.preventedByNestedSwiper)return o.startX=c,void(o.startY=p);if(!r.allowTouchMove)return i.target.matches(l.focusableElements)||(r.allowClick=!1),void(l.isTouched&&(Object.assign(o,{startX:c,startY:p,currentX:c,currentY:p}),l.touchStartTime=v()));if(n.touchReleaseOnEdges&&!n.loop)if(r.isVertical()){if(p<o.startY&&r.translate<=r.maxTranslate()||p>o.startY&&r.translate>=r.minTranslate())return l.isTouched=!1,void(l.isMoved=!1)}else{if(d&&(c>o.startX&&-r.translate<=r.maxTranslate()||c<o.startX&&-r.translate>=r.minTranslate()))return;if(!d&&(c<o.startX&&r.translate<=r.maxTranslate()||c>o.startX&&r.translate>=r.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(l.focusableElements)&&t.activeElement!==i.target&&"mouse"!==i.pointerType&&t.activeElement.blur(),t.activeElement&&i.target===t.activeElement&&i.target.matches(l.focusableElements))return l.isMoved=!0,void(r.allowClick=!1);l.allowTouchCallbacks&&r.emit("touchMove",i),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=c,o.currentY=p;var u=o.currentX-o.startX,m=o.currentY-o.startY;if(!(r.params.threshold&&Math.sqrt(u**2+m**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<=u*u+m*m&&(f=180*Math.atan2(Math.abs(m),Math.abs(u))/Math.PI,l.isScrolling=r.isH
1orizontal()?f>n.touchAngle:90-f>n.touchAngle)),l.isScrolling&&r.emit("touchMoveOpposite",i),void 0===l.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(l.startMoving=!0)),l.isScrolling||"touchmove"===i.type&&l.preventTouchMoveFromPointerMove)l.isTouched=!1;else if(l.startMoving){r.allowClick=!1,!n.cssMode&&i.cancelable&&i.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&i.stopPropagation();let e=r.isHorizontal()?u:m,t=r.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;n.oneWayMovement&&(e=Math.abs(e)*(d?1:-1),t=Math.abs(t)*(d?1:-1)),o.diff=e,e*=n.touchRatio,d&&(e=-e,t=-t);var f=r.touchesDirection,u=(r.swipeDirection=0<e?"prev":"next",r.touchesDirection=0<t?"prev":"next",r.params.loop&&!n.cssMode),m="next"===r.touchesDirection&&r.allowSlideNext||"prev"===r.touchesDirection&&r.allowSlidePrev;if(!l.isMoved){if(u&&m&&r.loopFix({direction:r.swipeDirection}),l.startTranslate=r.getTranslate(),r.setTransition(0),r.animating){const h=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});r.wrapperEl.dispatchEvent(h)}l.allowMomentumBounce=!1,!n.grabCursor||!0!==r.allowSlideNext&&!0!==r.allowSlidePrev||r.setGrabCursor(!0),r.emit("sliderFirstMove",i)}if((new Date).getTime(),!1!==n._loopSwapReset&&l.isMoved&&l.allowThresholdMove&&f!==r.touchesDirection&&u&&m&&1<=Math.abs(e))return Object.assign(o,{startX:c,startY:p,currentX:c,currentY:p,startTranslate:l.currentTranslate}),l.loopSwapReset=!0,void(l.startTranslate=l.currentTranslate);r.emit("sliderMove",i),l.isMoved=!0,l.currentTranslate=e+l.startTranslate;let s=!0,a=n.resistanceRatio;if(n.touchReleaseOnEdges&&(a=0),0<e?(u&&m&&l.allowThresholdMove&&l.currentTranslate>(n.centeredSlides?r.minTranslate()-r.slidesSizesGrid[r.activeIndex+1]-("auto"!==n.slidesPerView&&2<=r.slides.length-n.slidesPerView?r.slidesSizesGrid[r.activeIndex+1]+r.params.spaceBetween:0)-r.params.spaceBetween:r.minTranslate())&&r.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),l.currentTranslate>r.minTranslate()&&(s=!1,n.resistance&&(l.currentTranslate=r.minTranslate()-1+(-r.minTranslate()+l.startTranslate+e)**a))):e<0&&(u&&m&&l.allowThresholdMove&&l.currentTranslate<(n.centeredSlides?r.maxTranslate()+r.slidesSizesGrid[r.slidesSizesGrid.length-1]+r.params.spaceBetween+("auto"!==n.slidesPerView&&2<=r.slides.length-n.slidesPerView?r.slidesSizesGrid[r.slidesSizesGrid.length-1]+r.params.spaceBetween:0):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()&&(s=!1,n.resistance&&(l.currentTranslate=r.maxTranslate()+1-(r.maxTranslate()-l.startTranslate-e)**a))),s&&(i.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(e)>n.threshold||l.allowThresholdMove))return void(l.currentTranslate=l.startTranslate);
1if(!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 l.startMoving&&l.isScrolling&&r.emit("touchMoveOpposite",i)}}).bind(e),e.onTouchEnd=(function(e){const r=this,t=r.touchEventsData;let s,l=e;if(l.originalEvent&&(l=l.originalEvent),"touchend"===l.type||"touchcancel"===l.type){if(s=[...l.changedTouches].find(e=>e.identifier===t.touchId),!s||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:o,rtlTranslate:a,slidesGrid:d,enabled:c}=r;if(c&&(n.simulateTouch||"mouse"!==l.pointerType)){if(t.allowTouchCallbacks&&r.emit("touchEnd",l),t.allowTouchCallbacks=!1,!t.isTouched)return t.isMoved&&n.grabCursor&&r.setGrabCursor(!1),t.isMoved=!1,void(t.startMoving=!1);n.grabCursor&&t.isMoved&&t.isTouched&&(!0===r.allowSlideNext||!0===r.allowSlidePrev)&&r.setGrabCursor(!1);var p,c=v(),u=c-t.touchStartTime;if(r.allowClick){const e=l.path||l.composedPath&&l.composedPath();r.updateClickedSlide(e&&e[0]||l.target,e),r.emit("tap click",l),u<300&&c-t.lastClickTime<300&&r.emit("doubleTap doubleClick",l)}if(t.lastClickTime=v(),L(()=>{r.destroyed||(r.allowClick=!0)}),!t.isTouched||!t.isMoved||!r.swipeDirection||0===o.diff&&!t.loopSwapReset||t.currentTranslate===t.startTranslate&&!t.loopSwapReset)return t.isTouched=!1,t.isMoved=!1,void(t.startMoving=!1);if(t.isTouched=!1,t.isMoved=!1,t.startMoving=!1,p=n.followFinger?a?r.translate:-r.translate:-t.currentTranslate,!n.cssMode)if(n.freeMode&&n.freeMode.enabled)r.freeMode.onTouchEnd({currentPos:p});else{var m=p>=-r.maxTranslate()&&!r.params.loop;let e=0,t=r.slidesSizesGrid[0];for(let i=0;i<d.length;i+=i<n.slidesPerGroupSkip?1:n.slidesPerGroup){const r=i<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;void 0!==d[i+r]?(m||p>=d[i]&&p<d[i+r])&&(e=i,t=d[i+r]-d[i]):(m||p>=d[i])&&(e=i,t=d[d.length-1]-d[d.length-2])}let s=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&&(s=0));c=(p-d[e])/t,o=e<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;u>n.longSwipesMs?n.longSwipes?("next"===r.swipeDirection&&(c>=n.longSwipesRatio?r.slideTo(n.rewind&&r.isEnd?s:e+o):r.slideTo(e)),"prev"===r.swipeDirection&&(c>1-n.longSwipesRatio?r.slideTo(e+o):null!==a&&c<0&&Math.abs(c)>n.longSwipesRatio?r.slideTo(a):r.slideTo(e))):r.slideTo(r.activeIndex):n.shortSwipes?!r.navigation||l.target!==r.navigation.nextEl&&l.target!==r.navigation.prevEl?("next"===r.swipeDirection&&r.slideTo(null!==s?s:e+o),"prev"===r.swipeDirection&&r.slideTo(null!==a?a:e)):l.target===r.navigation.nextEl?r.slideTo(e+o):r.slideTo(e):r.
1slideTo(r.activeIndex)}}}}).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 e=this,{wrapperEl:t,rtlTranslate:s,enabled:a}=e;a&&(e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses(),(0==(a=e.maxTranslate()-e.minTranslate())?0:(e.translate-e.minTranslate())/a)!==e.progress&&e.updateProgress(s?-e.translate:e.translate),e.emit("setTranslate",e.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;u(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}).bind(e),_(e,"on")},detachEvents:function(){_(this,"off")}},breakpoints:{setBreakpoint:function(){const a=this,{realIndex:c,initialized:p,params:i,el:e}=a,t=i.breakpoints;if(t&&0!==Object.keys(t).length){const f=A(),v="window"!==i.breakpointsBase&&i.breakpointsBase?"container":i.breakpointsBase,g=["window","container"].includes(i.breakpointsBase)||!i.breakpointsBase?a.el:f.querySelector(i.breakpointsBase),r=a.getBreakpoint(t,v,g);if(r&&a.currentBreakpoint!==r){const l=(r in t?t[r]:void 0)||a.originalParams,n=q(a,i),o=q(a,l),d=a.params.grabCursor,w=l.grabCursor,b=i.enabled;n&&!o?(e.classList.remove(i.containerModifierClass+"grid",i.containerModifierClass+"grid-column"),a.emitContainerClasses()):!n&&o&&(e.classList.add(i.containerModifierClass+"grid"),(l.grid.fill&&"column"===l.grid.fill||!l.grid.fill&&"column"===i.grid.fill)&&e.classList.add(i.containerModifierClass+"grid-column"),a.emitContainerClasses()),d&&!w?a.unsetGrabCursor():!d&&w&&a.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(e=>{var t,s;void 0!==l[e]&&(t=i[e]&&i[e].enabled,s=l[e]&&l[e].enabled,t&&!s&&a[e].disable(),!t&&s&&a[e].enable())});var s=l.direction&&l.direction!==i.direction,u=i.loop&&(l.slidesPerView!==i.slidesPerView||s),m=i.loop,s=(s&&p&&a.changeDirection(),y(a.params,l),a.params.enabled),h=a.params.loop;Object.assign(a,{allowTouchMove:a.params.allowTouchMove,allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev}),b&&!s?a.disable():!b&&s&&a.enable(),a.currentBreakpoint=r,a.emit("_beforeBreakpoint",l),p&&(u?(a.loopDestroy(),a.loopCreate(c),a.updateSlides()):!m&&h?(a.loopCreate(c),a.updateSlides()):m&&!h&&a.loopDestroy()),a.emit("breakpoint",l)}}},getBreakpoint:function(s,a,i){if(void 0===a&&(a="window"),s&&("container"!==a||i)){let e=!1;const r=X(),l="window"===a?r.innerHeight:i.clientHeight,n=Object.keys(s).map(e=>{var t;return"string"==typeof e&&0===e.indexOf("@")?(t=parseFloat(e.substr(1)),{value:l*t,point:e}):{value:e,point:e}});n.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let t=0;t<n.length;t+=1){const{point:X,value:l}=n[t];"window"===a?r.matchMedia(`(min-width: ${l}px)`).matches&&(e=X):l<=i.clientWidth&&(e=X)}return e||"max"}}},checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:s}=e,a=s.slidesOffsetBefore;if(a){const t=e.slides.length-1,s=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*a;e.isLocked=e.size>s}else e.isLocked=1===e.snapGrid.length;!0===s.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===s.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const{classNames:e,params:t,rtl:s,el:a,device:i}=this,r=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(...r),a.classList.add(...e),this.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}}},W={};class d{constructor(){let s,r;for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];1===t.length&&t[0].constructor&&"Object"===Object.prototype.toString.call(t[0]).slice(8,-1)?r=t[0]:[s,r]=t,r=r||{},r=y({},r),s&&!r.el&&(r.el=s);const i=A();if(r.el&&"string"==typeof r.el&&1<i.querySelectorAll(r.el).length){const s=[];
1return i.querySelectorAll(r.el).forEach(e=>{var t=y({},r,{el:e});s.push(new d(t))}),s}const l=this,n=(l.__swiper__=!0,l.support=h(),l.device=c({userAgent:r.userAgent}),l.browser=S(),l.eventsListeners={},l.eventsAnyListeners=[],l.modules=[...l.__modules__],r.modules&&Array.isArray(r.modules)&&l.modules.push(...r.modules),{});l.modules.forEach(e=>{var a,i;e({params:r,swiper:l,extendParams:(a=r,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}))),y(i,e)}),on:l.on.bind(l),once:l.once.bind(l),off:l.off.bind(l),emit:l.emit.bind(l)})});var o=y({},V,n);return l.params=y({},o,W,r),l.originalParams=y({},l.params),l.passedParams=y({},r),l.params&&l.params.on&&Object.keys(l.params.on).forEac
1h(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:s,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===l.params.direction,isVertical:()=>"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=D(B(t,`.${s.slideClass}, swiper-slide`)[0]);return D(e)-t}getSlideIndexByData(t){return this.getSlideIndex(this.slides.find(e=>+e.getAttribute("data-swiper-slide-index")===t))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&1<this.params.grid.rows&&("column"===this.params.grid.fill?e=Math.floor(e/this.params.grid.rows):"row"===this.params.grid.fill&&(e%=Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){var{slidesEl:e,params:t}=this;this.slides=B(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()),a=(s.maxTranslate()-a)*e+a;s.translateTo(a,void 0===t?0:t),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){const t=this;if(t.params._emitClasses&&t.el){const 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(s,a){void 0===s&&(s="current"),void 0===a&&(a=!1);var{params:e,slides:i,slidesGrid:r,slidesSizesGrid:l,size:n,activeIndex:o}=this;let d=1;if("number"==typeof e.slidesPerView)return e.slidesPerView;if(e.centeredSlides){let e,t=i[o]?Math.ceil(i[o].swiperSlideSize):0;for(let s=o+1;s<i.length;s+=1)i[s]&&!e&&(t+=Math.ceil(i[s].swiperSlideSize),d+=1,t>n&&(e=!0));for(let a=o-1;0<=a;--a)i[a]&&!e&&(t+=i[a].swiperSlideSize,d+=1,t>n&&(e=!0))}else if("current"===s)for(let e=o+1;e<i.length;e+=1)(a?r[e]+l[e]-r[o]<n:r[e]-r[o]<n)&&(d+=1);else for(let t=o-1;0<=t;--t)r[o]-r[t]<n&&(d+=1);return d}update(){const t=this;if(t&&!t.destroyed){var{snapGrid:s,params:a}=t;let e;if(a.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(e=>{e.complete&&u(t,e)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),a.freeMode&&a.freeMode.enabled&&!a.cssMode)i(),a.autoHeight&&t.updateAutoHeight();else{if(("auto"===a.slidesPerView||1<a.slidesPerView)&&t.isEnd&&!a.centeredSlides){const s=(t.virtual&&a.virtual.enabled?t.virtual:t).slides;e=t.slideTo(s.length-1,0,!1,!0)}else e=t.slideTo(t.activeIndex,0,!1,!0);e||i()}function i(){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()}a.watchOverflow&&s!==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.forEac
1h(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(e){const t=this;if(t.mounted)return!0;let s=e||t.params.el;if("string"==typeof s&&(s=document.querySelector(s)),!s)return!1;s.swiper=t,s.parentNode&&s.parentNode.host&&s.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);var a=()=>"."+(t.params.wrapperClass||"").trim().split(" ").join(".");let i=s&&s.shadowRoot&&s.shadowRoot.querySelector?s.shadowRoot.querySelector(a()):B(s,a())[0];return!i&&t.params.createElements&&(i=M("div",t.params.wrapperClass),s.append(i),B(s,"."+t.params.slideClass).forEach(e=>{i.append(e)})),Object.assign(t,{el:s,wrapperEl:i,slidesEl:t.isElement&&!s.parentNode.host.slideSlots?s.parentNode.host:i,hostEl:t.isElement?s.parentNode.host:s,mounted:!0,rtl:"rtl"===s.dir.toLowerCase()||"rtl"===I(s,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===s.dir.toLowerCase()||"rtl"===I(s,"direction")),wrongRTL:"-webkit-box"===I(i,"display")}),!0}init(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;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(void 0,!0),t.attachEvents();const s=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&s.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),s.forEach(e=>{e.complete?u(t,e):e.addEventListener("load",e=>{u(t,e.target)})}),w(t),t.initialized=!0,w(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&&"string"!=typeof i&&i.removeAttribute("style"),r&&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&&"string"!=typeof s.el&&(s.el.swiper=null);{const n=s;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){y(W,e)}static get extendedDefaults(){return W}static get defaults(){return V}static installModule(e){d.prototype.__modules__||(d.prototype.__modules__=[]);const t=d.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?e.forEach(e=>d.installModule(e)):d.installModule(e),d}}function j(s,a,i,r){return s.params.createElements&&Object.keys(r).forEach(t=>{if(!i[t]&&!0===i.auto){let e=B(s.el,"."+r[t])[0];e||(e=M("div",r[t]),e.className=r[t],s.el.append(e)),i[t]=e,a[t]=e}}),i}function P(e){return"."+(e=void 0===e?"":e).trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}function U(e){const{effect:s,swiper:a,on:t,setTranslate:i,setTransition:c,overwriteParams:r,perspective:l,recreateShadows:n,getEffectParams:o}=e;let d;t("beforeInit",()=>{var e;a.params.effect===s&&(a.classNames.push(""+a.params.containerModifierClass+s),l&&l()&&a.classNames.push(a.params.containerModifierClass+"3d"),e=r?r():{},Object.assign(a.params,e),Object.assign(a.originalParams,e))}),t("setTranslate _virtualUpdated",()=>{a.params.effect===s&&i()}),t("setTransition",(e,t)=>{a.params.effect===s&&c(t)}),t("transitionEnd",()=>
1{a.params.effect===s&&n&&o&&o().slideShadows&&(a.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())}),n())}),t("virtualUpdate",()=>{a.params.effect===s&&(a.slides.length||(d=!0),requestAnimationFrame(()=>{d&&a.slides&&a.slides.length&&(i(),d=!1)}))})}function K(e,t){const s=n(t);return s!==t&&(s.style.backfaceVisibility="hidden",s.style["-webkit-backface-visibility"]="hidden"),s}function Z(e){let{swiper:a,duration:t,transformElements:s,allSlides:i}=e;const r=a.activeIndex;if(a.params.virtualTranslate&&0!==t){let e,t=!1;e=i?s:s.filter(e=>{var t,s=e.classList.contains("swiper-slide-transform")?(t=e).parentElement||a.slides.find(e=>e.shadowRoot&&e.shadowRoot===t.parentNode):e;return a.getSlideIndex(s)===r}),e.forEach(e=>{g(e,()=>{var e;t||a&&!a.destroyed&&(t=!0,a.animating=!1,e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0}),a.wrapperEl.dispatchEvent(e))})})}}function Q(e,t,s){const a="swiper-slide-shadow"+(s?"-"+s:"")+(e?" swiper-slide-shadow-"+e:""),i=n(t);let r=i.querySelector("."+a.split(" ").join("."));return r||(r=M("div",a.split(" ")),i.append(r)),r}return Object.keys(F).forEach(t=>{Object.keys(F[t]).forEach(e=>{d.prototype[e]=F[t][e]})}),d.use([function(e){let{swiper:l,on:t,emit:s}=e;const a=X();let i=null,r=null;const n=()=>{l&&!l.destroyed&&l.initialized&&(s("beforeResize"),s("resize"))},o=()=>{l&&!l.destroyed&&l.initialized&&s("orientationchange")};t("init",()=>{l.params.resizeObserver&&void 0!==a.ResizeObserver?l&&!l.destroyed&&l.initialized&&(i=new ResizeObserver(s=>{r=a.requestAnimationFrame(()=>{var{width:e,height:t}=l;let i=e,r=t;s.forEach(e=>{var{contentBoxSize:t,contentRect:s,target:a}=e;a&&a!==l.el||(i=s?s.width:(t[0]||t).inlineSize,r=s?s.height:(t[0]||t).blockSize)}),i===e&&r===t||n()})}),i.observe(l.el)):(a.addEventListener("resize",n),a.addEventListener("orientationchange",o))}),t("destroy",()=>{r&&a.cancelAnimationFrame(r),i&&i.unobserve&&l.el&&(i.unobserve(l.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={});const s=new(n.MutationObserver||n.WebkitMutationObserver)(e=>{var t;a.__preventObserver__||(1!==e.length?(t=function(){i("observerUpdate",e[0])},n.requestAnimationFrame?n.requestAnimationFrame(t):n.setTimeout(t,0)):i("observerUpdate",e[0]))});s.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:a.isElement||(void 0===t.childList||t).childList,characterData:void 0===t.characterData||t.characterData}),l.push(s)}const l=[],n=X();t({observer:!1,observeParents:!1,observeSlideChildren:!1}),s("init",()=>{if(a.params.observer){if(a.params.observeParents){var t=N(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)})}]),d.use([function(e){let t,{swiper:P,extendParams:s,on:a,emit:L}=e;s({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});const i=A(),r=(P.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]},i.createElement("div"));function I(e,t){const s=P.params.virtual;if(s.cache&&P.virtual.cache[t])return P.virtual.cache[t];let a;return s.renderSlide?(a=s.renderSlide.call(P,e,t),"string"==typeof a&&(z(r,a),a=r.children[0])):a=P.isElement?M("swiper-slide"):M("div",P.params.slideClass),a.setAttribute("data-swiper-slide-index",t),s.renderSlide||z(a,e),s.cache&&(P.virtual.cache[t]=a),a}function l(g,n,w){var{slidesPerView:o,slidesPerGroup:d,centeredSlides:b,loop:c,initialSlide:p}=P.params;if(!(n&&!c&&0<p)){const{addSlidesBefore:x,addSlidesAfter:S}=P.params.virtual,{from:u,to:m,slides:h,slidesGrid:T,offset:M}=P.virtual;P.params.cssMode||P.updateActiveIndex();p=void 0===w?P.activeIndex||0:w;let t,e,s,a=(t=P.rtlTranslate?"right":P.isHorizontal()?"left":"top",p-(s=b?(e=Math.floor(o/2)+d+S,Math.floor(o/2)+d+x):(e=o+(d-1)+S,(c?o:d)+x))),i=p+e,r=(c||(a=Math.max(a,0),i=Math.min(i,h.length-1)),(P.slidesGrid[a]||0)-(P.slidesGrid[0]||0));if(c&&s<=p?(a-=s,b||(r+=P.slidesGrid[0])):c&&p<s&&(a=-s,b&&(r+=P.slidesGrid[0])),Object.assign(P.virtual,{from:a,to:i,offset:r,slidesGrid:P.slidesGrid,slidesBefore:s,slidesAfter:e}),u===a&&m===i&&!g)return P.slidesGrid!==T&&r!==M&&P.slides.forEac
1h(e=>{e.style[t]=r-Math.abs(P.cssOverflowAdjustment())+"px"}),P.updateProgress(),void L("virtualUpdate");if(P.params.virtual.renderExternal)return P.params.virtual.renderExternal.call(P,{offset:r,from:a,to:i,slides:function(){const e=[];for(let t=a;t<=i;t+=1)e.push(h[t]);return e}()}),void(P.params.virtual.renderExternalUpdate?E():L("virtualUpdate"));const f=[],v=[],C=e=>{let t=e;return e<0?t=h.length+e:t>=h.length&&(t-=h.length),t};if(g)P.slides.filter(e=>e.matches(`.${P.params.slideClass}, swiper-slide`)).forEach(e=>{e.remove()});else for(let e=u;e<=m;e+=1)if(e<a||e>i){const n=C(e);P.slides.filter(e=>e.matches(`.${P.params.slideClass}[data-swiper-slide-index="${n}"], swiper-slide[data-swiper-slide-index="${n}"]`)).forEach(e=>{e.remove()})}var o=c?-h.length:0,y=c?2*h.length:h.length;for(let l=o;l<y;l+=1)if(l>=a&&l<=i){const P=C(l);void 0===m||g?v.push(P):(l>m&&v.push(P),l<u&&f.push(P))}if(v.forEach(e=>{P.slidesEl.append(I(h[e],e))}),c)for(let e=f.length-1;0<=e;--e){const n=f[e];P.slidesEl.prepend(I(h[n],n))}else f.sort((e,t)=>t-e),f.forEach(e=>{P.slidesEl.prepend(I(h[e],e))});function E(){P.updateSlides(),P.updateProgress(),P.updateSlidesClasses(),L("virtualUpdate")}B(P.slidesEl,".swiper-slide, swiper-slide").forEach(e=>{e.style[t]=r-Math.abs(P.cssOverflowAdjustment())+"px"}),E()}}a("beforeInit",()=>{if(P.params.virtual.enabled){let e;if(void 0===P.passedParams.virtual.slides){const t=[...P.slidesEl.children].filter(e=>e.matches(`.${P.params.slideClass}, swiper-slide`));t&&t.length&&(P.virtual.slides=[...t],e=!0,t.forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t),(P.virtual.cache[t]=e).remove()}))}e||(P.virtual.slides=P.params.virtual.slides),P.classNames.push(P.params.containerModifierClass+"virtual"),P.params.watchSlidesProgress=!0,l(!(P.originalParams.watchSlidesProgress=!0),!0)}}),a("setTranslate",()=>{P.params.virtual.enabled&&(P.params.cssMode&&!P._immediateVirtual?(clearTimeout(t),t=setTimeout(()=>{l()},100)):l())}),a("init update resize",()=>{P.params.virtual.enabled&&P.params.cssMode&&k(P.wrapperEl,"--swiper-virtual-size",P.virtualSize+"px")}),Object.assign(P.virtual,{appendSlide:function(t){if("object"==typeof t&&"length"in t)for(let e=0;e<t.length;e+=1)t[e]&&P.virtual.slides.push(t[e]);else P.virtual.slides.push(t);l(!0)},prependSlide:function(a){const i=P.activeIndex;let t=i+1,r=1;if(Array.isArray(a)){for(let e=0;e<a.length;e+=1)a[e]&&P.virtual.slides.unshift(a[e]);t=i+a.length,r=a.length}else P.virtual.slides.unshift(a);if(P.params.virtual.cache){const a=P.virtual.cache,i={};Object.keys(a).forEach(e=>{const t=a[e],s=t.getAttribute("data-swiper-slide-index");s&&t.setAttribute("data-swiper-slide-index",parseInt(s,10)+r),i[parseInt(e,10)+r]=t}),P.virtual.cache=i}l(!0),P.slideTo(t,0)},removeSlide:function(s){if(null!=s){let t=P.activeIndex;if(Array.isArray(s))for(let e=s.length-1;0<=e;--e)P.params.virtual.cache&&(delete P.virtual.cache[s[e]],Object.keys(P.virtual.cache).forEach(e=>{s<e&&(P.virtual.cache[e-1]=P.virtual.cache[e],P.virtual.cache[e-1].setAttribute("data-swiper-slide-index",e-1),delete P.virtual.cache[e])})),P.virtual.slides.splice(s[e],1),s[e]<t&&--t,t=Math.max(t,0);else P.params.virtual.cache&&(delete P.virtual.cache[s],Object.keys(P.virtual.cache).forEach(e=>{s<e&&(P.virtual.cache[e-1]=P.virtual.cache[e],P.virtual.cache[e-1].setAttribute("data-swiper-slide-index",e-1),delete P.virtual.cache[e])})),P.virtual.slides.splice(s,1),s<t&&--t,t=Math.max(t,0);l(!0),P.slideTo(t,0)}},removeAllSlides:function(){P.virtual.slides=[],P.params.virtual.cache&&(P.virtual.cache={}),l(!0),P.slideTo(0,0)},update:l})},function(e){let{swiper:c,extendParams:t,on:s,emit:p}=e;const u=A(),m=X();function a(t){if(c.enabled){var a=c.rtlTranslate;let e=t;e.originalEvent&&(e=e.originalEvent);var i=e.keyCode||e.charCode,r=c.params.keyboard.pageUpDown,l=r&&33===i,n=r&&34===i,r=37===i,s=39===i,o=38===i,d=40===i;if(!c.allowSlideNext&&(c.isHorizontal()&&s||c.isVertical()&&d||n))return!1;if(!c.allowSlidePrev&&(c.isHorizontal()&&r||c.isVertical()&&o||l))return!1;if(!(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey||u.activeElement&&(u.activeElement.isContentEditable||u.activeElement.nodeName&&("input"===u.activeElement.nodeName.toLowerCase()||"textarea"===u.activeElement.nodeName.toLowerCase())))){if(c.params.keyboard.onlyInViewport&&(l||n||r||s||o||d)){let e=!1;if(0<N(c.el,`.${c.params.slideClass}, swiper-slide`).length&&0===N(c.el,"."+c.params.slideActiveClass).length)return;const t=c.el,i=t.clientWidth,r=t.clientHeight,p=m.innerWidth,u=m.innerHe
1ight,l=H(t),n=(a&&(l.left-=t.scrollLeft),[[l.left,l.top],[l.left+i,l.top],[l.left,l.top+r],[l.left+i,l.top+r]]);for(let s=0;s<n.length;s+=1){const a=n[s];0<=a[0]&&a[0]<=p&&0<=a[1]&&a[1]<=u&&(0===a[0]&&0===a[1]||(e=!0))}if(!e)return}c.isHorizontal()?((l||n||r||s)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),((n||s)&&!a||(l||r)&&a)&&c.slideNext(),((l||r)&&!a||(n||s)&&a)&&c.slidePrev()):((l||n||o||d)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),(n||d)&&c.slideNext(),(l||o)&&c.slidePrev()),p("keyPress",i)}}}function i(){c.keyboard.enabled||(u.addEventListener("keydown",a),c.keyboard.enabled=!0)}function r(){c.keyboard.enabled&&(u.removeEventListener("keydown",a),c.keyboard.enabled=!1)}c.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),s("init",()=>{c.params.keyboard.enabled&&i()}),s("destroy",()=>{c.keyboard.enabled&&r()}),Object.assign(c.keyboard,{enable:i,disable:r})},function(i){let{swiper:d,extendParams:r,on:e,emit:c}=i;const f=X();let p;r({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),d.mousewheel={enabled:!1};let u,m=v();const h=[];function l(){d.enabled&&(d.mouseEntered=!0)}function n(){d.enabled&&(d.mouseEntered=!1)}function s(a){let i=a,r=!0;if(d.enabled&&!a.target.closest("."+d.params.mousewheel.noMousewheelClass)){var l=d.params.mousewheel;d.params.cssMode&&i.preventDefault();let e=d.el;"container"!==d.params.mousewheel.eventsTarget&&(e=document.querySelector(d.params.mousewheel.eventsTarget));var n=e&&e.contains(i.target);if(!d.mouseEntered&&!n&&!l.releaseOnEdges)return!0;i.originalEvent&&(i=i.originalEvent);let t=0;var n=d.rtlTranslate?-1:1,o=function(e){let t=0,s=0,a=0,i=0;return"detail"in e&&(s=e.detail),"wheelDelta"in e&&(s=-e.wheelDelta/120),"wheelDeltaY"in e&&(s=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=s,s=0),a=10*t,i=10*s,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(a=e.deltaX),e.shiftKey&&!a&&(a=i,i=0),(a||i)&&e.deltaMode&&(1===e.deltaMode?(a*=40,i*=40):(a*=800,i*=800)),a&&!t&&(t=a<1?-1:1),i&&!s&&(s=i<1?-1:1),{spinX:t,spinY:s,pixelX:a,pixelY:i}}(i);if(l.forceToAxis)if(d.isHorizontal()){if(!(Math.abs(o.pixelX)>Math.abs(o.pixelY)))return!0;t=-o.pixelX*n}else{if(!(Math.abs(o.pixelY)>Math.abs(o.pixelX)))return!0;t=-o.pixelY}else t=Math.abs(o.pixelX)>Math.abs(o.pixelY)?-o.pixelX*n:-o.pixelY;if(0===t)return!0;l.invert&&(t=-t);let s=d.getTranslate()+t*l.sensitivity;if(s>=d.minTranslate()&&(s=d.minTranslate()),s<=d.maxTranslate()&&(s=d.maxTranslate()),r=!!d.params.loop||!(s===d.minTranslate()||s===d.maxTranslate()),r&&d.params.nested&&i.stopPropagation(),d.params.freeMode&&d.params.freeMode.enabled){const a={time:v(),delta:Math.abs(t),direction:Math.sign(t)},r=u&&a.time<u.time+500&&a.delta<=u.delta&&a.direction===u.direction;if(!r){u=void 0;let e=d.getTranslate()+t*l.sensitivity;const v=d.isBeginning,n=d.isEnd;if(e>=d.minTranslate()&&(e=d.minTranslate()),e<=d.maxTranslate()&&(e=d.maxTranslate()),d.setTransition(0),d.setTranslate(e),d.updateProgress(),d.updateActiveIndex(),d.updateSlidesClasses(),(!v&&d.isBeginning||!n&&d.isEnd)&&d.updateSlidesClasses(),d.params.loop&&d.loopFix({direction:a.direction<0?"next":"prev",byMousewheel:!0}),d.params.freeMode.sticky){clearTimeout(p),p=void 0,15<=h.length&&h.shift();const i=h.length?h[h.length-1]:void 0,r=h[0];if(h.push(a),i&&(a.delta>i.delta||a.direction!==i.direction))h.splice(0);else if(15<=h.length&&a.time-r.time<500&&1<=r.delta-a.delta&&a.delta<=6){const i=0<t?.8:.2;u=a,h.splice(0),p=L(()=>{!d.destroyed&&d.params&&d.slideToClosest(d.params.speed,!0,void 0,i)},0)}p=p||L(()=>{!d.destroyed&&d.params&&(u=a,h.splice(0),d.slideToClosest(d.params.speed,!0,void 0,.5))},500)}if(r||c("scroll",i),d.params.autoplay&&d.params.autoplay.disableOnInteraction&&d.autoplay.stop(),l.releaseOnEdges&&(e===d.minTranslate()||e===d.maxTranslate()))return!0}}else{const i={time:v(),delta:Math.abs(t),direction:Math.sign(t),raw:a},r=(2<=h.length&&h.shift(),h.length?h[h.length-1]:void 0);if(h.push(i),(!r||i.direction!==r.direction||i.delta>r.delta||i.time>r.time+150)&&(n=i,d.params.mousewheel.thresholdDelta&&n.delta<d.params.mousewheel.thresholdDelta||d.params.mousewheel.thresholdTime&&v()-m<d.params.mousewheel.thresholdTime||6<=n.delta&&v()-m<60||(n.direction<0?d.isEnd&&!d.params.loop||d.animating||(d.slideNext(),c("scroll",n.raw)):d.isBeginning&&!d.params.loop||d.animating||(d.slidePrev(),c("scroll",n.raw)),m=(new f.Date).getTime())),function(e){var t=d.params.mousewheel;if(e.direction<0){if(d.isEnd&&!d.params.loop&&t.releaseOnEdges)return 1}else if(d.isBeginning&&!d.params.loop&&t.releaseOnEdges)return 1}(i))return!0}return i.preventDefault?i.preventDefault():i.returnValue=!1,!1}}function o(e){let t=d.el;"container"!==d.params.mousewheel.eventsTarget&&(t=document.querySelector(d.params.mousewheel.eventsTarget)),t[e]("mouseenter",l),t[e]("mouseleave",n),t[e]("wheel",s)}function t(){return d.params.cssMode?(d.wrapperEl.removeEventListener("wheel",s),!0):!d.mousewheel.enabled&&(o("addEventListener"),d.mousewheel.enabled=!0)}function a(){return d.params.cssMode?(d.wrapperEl.addEventListener(event,s),!0):!(!d.mousewheel.enabled||(o("removeEventListener"),d.mousewheel.enabled=!1))}e("init",()=>{!d.params.mousewheel.enabled&&d.params.cssMode&&a(),d.params.mousewheel.enabled&&t()}),e("destroy",()=>{d.params.cssMode&&t(),d.mousewheel.enabled&&a()}),Object.assign(d.mousewheel,{enable:t,disable:a})},function(c){let{swiper:l,extendParams:p,on:e,emit:n}=c;function i(e){let t;return e&&"string"==typeof e&&l.isElement&&(t=l.el.querySelector(e)||l.hostEl.querySelector(e),t)?t:(e&&("string"==typeof e&&(t=[...document.querySelectorAll(e)]),l.params.uniqueNavElements&&"string"==typeof e&&t&&1<t.length&&1===l.el.querySelectorAll(e).length?t=l.el.querySelector(e):t&&1===t.length&&(t=t[0])),e&&!t?e:t)}function s(e,t){const s=l.params.navigation;
1(e=C(e)).forEach(e=>{e&&(e.classList[t?"add":"remove"](...s.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=t),l.params.watchOverflow&&l.enabled&&e.classList[l.isLocked?"add":"remove"](s.lockClass))})}function a(){var{nextEl:e,prevEl:t}=l.navigation;if(l.params.loop)return s(t,!1),void s(e,!1);s(t,l.isBeginning&&!l.params.rewind),s(e,l.isEnd&&!l.params.rewind)}function r(e){e.preventDefault(),l.isBeginning&&!l.params.loop&&!l.params.rewind||(l.slidePrev(),n("navigationPrev"))}function o(e){e.preventDefault(),l.isEnd&&!l.params.loop&&!l.params.rewind||(l.slideNext(),n("navigationNext"))}function t(){const s=l.params.navigation;if(l.params.navigation=j(l,l.originalParams.navigation,l.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),s.nextEl||s.prevEl){let e=i(s.nextEl),t=i(s.prevEl);Object.assign(l.navigation,{nextEl:e,prevEl:t}),e=C(e),t=C(t);const a=(e,t)=>{e&&e.addEventListener("click","next"===t?o:r),!l.enabled&&e&&e.classList.add(...s.lockClass.split(" "))};e.forEach(e=>a(e,"next")),t.forEach(e=>a(e,"prev"))}}function d(){let{nextEl:e,prevEl:t}=l.navigation;e=C(e),t=C(t);const s=(e,t)=>{e.removeEventListener("click","next"===t?o:r),e.classList.remove(...l.params.navigation.disabledClass.split(" "))};e.forEach(e=>s(e,"next")),t.forEach(e=>s(e,"prev"))}p({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),l.navigation={nextEl:null,prevEl:null},e("init",()=>{!1===l.params.navigation.enabled?u():(t(),a())}),e("toEdge fromEdge lock unlock",()=>{a()}),e("destroy",()=>{d()}),e("enable disable",()=>{var{nextEl:e,prevEl:t}=l.navigation,e=C(e),t=C(t);l.enabled?a():[...e,...t].filter(e=>!!e).forEach(e=>e.classList.add(l.params.navigation.lockClass))}),e("click",(e,t)=>{let{nextEl:s,prevEl:a}=l.navigation;s=C(s),a=C(a);var i=t.target;let r=a.includes(i)||s.includes(i);if(l.isElement&&!r){const e=t.path||t.composedPath&&t.composedPath();e&&(r=e.find(e=>s.includes(e)||a.includes(e)))}if(l.params.navigation.hideOnClick&&!r&&(!(l.pagination&&l.params.pagination&&l.params.pagination.clickable)||l.pagination.el!==i&&!l.pagination.el.contains(i))){let e;s.length?e=s[0].classList.contains(l.params.navigation.hiddenClass):a.length&&(e=a[0].classList.contains(l.params.navigation.hiddenClass)),n(!0===e?"navigationShow":"navigationHide"),[...s,...a].filter(e=>!!e).forEach(e=>e.classList.toggle(l.params.navigation.hiddenClass))}});const u=()=>{l.el.classList.add(...l.params.navigation.navigationDisabledClass.split(" ")),d()};Object.assign(l.navigation,{enable:()=>{l.el.classList.remove(...l.params.navigation.navigationDisabledClass.split(" ")),t(),a()},disable:u,update:a,init:t,destroy:d})},function(i){let{swiper:d,extendParams:l,on:e,emit:c}=i;var t="swiper-pagination";let p,u=(l({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:t+"-bullet",bulletActiveClass:t+"-bullet-active",modifierClass:t+"-",currentClass:t+"-current",totalClass:t+"-total",hiddenClass:t+"-hidden",progressbarFillClass:t+"-progressbar-fill",progressbarOppositeClass:t+"-progressbar-opposite",clickableClass:t+"-clickable",lockClass:t+"-lock",horizontalClass:t+"-horizontal",verticalClass:t+"-vertical",paginationDisabledClass:t+"-disabled"}}),d.pagination={el:null,bullets:[]},0);function r(){return!d.params.pagination.el||!d.pagination.el||Array.isArray(d.pagination.el)&&0===d.pagination.el.length}function m(e,t){var s=d.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 n(e){var t=e.target.closest(P(d.params.pagination.bulletClass));if(t){e.preventDefault();var s,a,i,t=D(t)*d.params.slidesPerGroup;if(d.params.loop){if(d.realIndex!==t){s=d.realIndex,a=t;const e=(a%=i=d.slides.length)==1+(s%=i)?"next":a==s-1?"previous":void 0;"next"===e?d.slideNext():"previous"===e?d.slidePrev():d.slideToLoop(t)}}else d.slideTo(t)}}function s(){const l=d.rtl,n=d.params.pagination;if(!r()){let r,e,t=d.pagination.el;t=C(t);const s=(d.virtual&&d.params.virtual.enabled?d.virtual:d).slides.length,o=d.params.loop?Math.
1ceil(s/d.params.slidesPerGroup):d.snapGrid.length;if(d.params.loop?(e=d.previousRealIndex||0,r=1<d.params.slidesPerGroup?Math.floor(d.realIndex/d.params.slidesPerGroup):d.realIndex):void 0!==d.snapIndex?(r=d.snapIndex,e=d.previousSnapIndex):(e=d.previousIndex||0,r=d.activeIndex||0),"bullets"===n.type&&d.pagination.bullets&&0<d.pagination.bullets.length){const c=d.pagination.bullets;let s,a,i;if(n.dynamicBullets&&(p=G(c[0],d.isHorizontal()?"width":"height",!0),t.forEach(e=>{e.style[d.isHorizontal()?"width":"height"]=p*(n.dynamicMainBullets+4)+"px"}),1<n.dynamicMainBullets&&void 0!==e&&(u+=r-(e||0),u>n.dynamicMainBullets-1?u=n.dynamicMainBullets-1:u<0&&(u=0)),s=Math.max(r-u,0),a=s+(Math.min(c.length,n.dynamicMainBullets)-1),i=(a+s)/2),c.forEach(e=>{var t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>""+n.bulletActiveClass+e)].map(e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e).flat();e.classList.remove(...t)}),1<t.length)c.forEach(e=>{var t=D(e);t===r?e.classList.add(...n.bulletActiveClass.split(" ")):d.isElement&&e.setAttribute("part","bullet"),n.dynamicBullets&&(t>=s&&t<=a&&e.classList.add(...(n.bulletActiveClass+"-main").split(" ")),t===s&&m(e,"prev"),t===a&&m(e,"next"))});else{const l=c[r];if(l&&l.classList.add(...n.bulletActiveClass.split(" ")),d.isElement&&c.forEach((e,t)=>{e.setAttribute("part",t===r?"bullet-active":"bullet")}),n.dynamicBullets){const l=c[s],d=c[a];for(let e=s;e<=a;e+=1)c[e]&&c[e].classList.add(...(n.bulletActiveClass+"-main").split(" "));m(l,"prev"),m(d,"next")}}if(n.dynamicBullets){const e=Math.min(c.length,n.dynamicMainBullets+4),t=(p*e-p)/2-i*p,u=l?"right":"left";c.forEach(e=>{e.style[d.isHorizontal()?u:"top"]=t+"px"})}}t.forEach((e,a)=>{if("fraction"===n.type&&(e.querySelectorAll(P(n.currentClass)).forEach(e=>{e.textContent=n.formatFractionCurrent(r+1)}),e.querySelectorAll(P(n.totalClass)).forEach(e=>{e.textContent=n.formatFractionTotal(o)})),"progressbar"===n.type){var i=n.progressbarOpposite?d.isHorizontal()?"vertical":"horizontal":d.isHorizontal()?"horizontal":"vertical";const a=(r+1)/o;let t=1,s=1;"horizontal"==i?t=a:s=a,e.querySelectorAll(P(n.progressbarFillClass)).forEach(e=>{e.style.transform=`translate3d(0,0,0) scaleX(${t}) scaleY(${s})`,e.style.transitionDuration=d.params.speed+"ms"})}"custom"===n.type&&n.renderCustom?(z(e,n.renderCustom(d,r+1,o)),0===a&&c("paginationRender",e)):(0===a&&c("paginationRender",e),c("paginationUpdate",e)),d.params.watchOverflow&&d.enabled&&e.classList[d.isLocked?"add":"remove"](n.lockClass)})}}function a(){const a=d.params.pagination;if(!r()){var i=d.virtual&&d.params.virtual.enabled?d.virtual.slides.length:d.grid&&1<d.params.grid.rows?d.slides.length/Math.ceil(d.params.grid.rows):d.slides.length;let e=d.pagination.el,s=(e=C(e),"");if("bullets"===a.type){let e=d.params.loop?Math.ceil(i/d.params.slidesPerGroup):d.snapGrid.length;d.params.freeMode&&d.params.freeMode.enabled&&e>i&&(e=i);for(let t=0;t<e;t+=1)a.renderBullet?s+=a.renderBullet.call(d,t,a.bulletClass):s+=`<${a.bulletElement} ${d.isElement?'part="bullet"':""} class="${a.bulletClass}"></${a.bulletElement}>`}"fraction"===a.type&&(s=a.renderFraction?a.renderFraction.call(d,a.currentClass,a.totalClass):`<span class="${a.currentClass}"></span> / <span class="${a.totalClass}"></span>`),"progressbar"===a.type&&(s=a.renderProgressbar?a.renderProgressbar.call(d,a.progressbarFillClass):`<span class="${a.progressbarFillClass}"></span>`),d.pagination.bullets=[],e.forEach(e=>{"custom"!==a.type&&z(e,s||""),"bullets"===a.type&&d.pagination.bullets.push(...e.querySelectorAll(P(a.bulletClass)))}),"custom"!==a.type&&c("paginationRender",e[0])}}function o(){d.params.pagination=j(d,d.originalParams.pagination,d.params.pagination,{el:"swiper-pagination"});const t=d.params.pagination;if(t.el){let e;"string"==typeof t.el&&d.isElement&&(e=d.el.querySelector(t.el)),e||"string"!=typeof t.el||(e=[...document.querySelectorAll(t.el)]),e=e||t.el,e&&0!==e.length&&(d.params.uniqueNavElements&&"string"==typeof t.el&&Array.isArray(e)&&1<e.length&&(e=[...d.el.querySelectorAll(t.el)],1<e.length&&(e=e.find(e=>N(e,".swiper")[0]===d.el))),Array.isArray(e)&&1===e.length&&(e=e[0]),Object.assign(d.pagination,{el:e}
1),e=C(e),e.forEach(e=>{"bullets"===t.type&&t.clickable&&e.classList.add(...(t.clickableClass||"").split(" ")),e.classList.add(t.modifierClass+t.type),e.classList.add(d.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(e.classList.add(""+t.modifierClass+t.type+"-dynamic"),u=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&e.classList.add(t.progressbarOppositeClass),t.clickable&&e.addEventListener("click",n),d.enabled||e.classList.add(t.lockClass)}))}}function h(){const t=d.params.pagination;if(!r()){let e=d.pagination.el;e&&(e=C(e),e.forEach(e=>{e.classList.remove(t.hiddenClass),e.classList.remove(t.modifierClass+t.type),e.classList.remove(d.isHorizontal()?t.horizontalClass:t.verticalClass),t.clickable&&(e.classList.remove(...(t.clickableClass||"").split(" ")),e.removeEventListener("click",n))})),d.pagination.bullets&&d.pagination.bullets.forEach(e=>e.classList.remove(...t.bulletActiveClass.split(" ")))}}e("changeDirection",()=>{if(d.pagination&&d.pagination.el){const t=d.params.pagination;let e=d.pagination.el;e=C(e),e.forEach(e=>{e.classList.remove(t.horizontalClass,t.verticalClass),e.classList.add(d.isHorizontal()?t.horizontalClass:t.verticalClass)})}}),e("init",()=>{!1===d.params.pagination.enabled?f():(o(),a(),s())}),e("activeIndexChange",()=>{void 0===d.snapIndex&&s()}),e("snapIndexChange",()=>{s()}),e("snapGridLengthChange",()=>{a(),s()}),e("destroy",()=>{h()}),e("enable disable",()=>{let e=d.pagination.el;e&&(e=C(e),e.forEach(e=>e.classList[d.enabled?"remove":"add"](d.params.pagination.lockClass)))}),e("lock unlock",()=>{s()}),e("click",(e,t)=>{const s=t.target,a=C(d.pagination.el);if(d.params.pagination.el&&d.params.pagination.hideOnClick&&a&&0<a.length&&!s.classList.contains(d.params.pagination.bulletClass)&&(!d.navigation||!(d.navigation.nextEl&&s===d.navigation.nextEl||d.navigation.prevEl&&s===d.navigation.prevEl))){const e=a[0].classList.contains(d.params.pagination.hiddenClass);c(!0===e?"paginationShow":"paginationHide"),a.forEach(e=>e.classList.toggle(d.params.pagination.hiddenClass))}});const f=()=>{d.el.classList.add(d.params.pagination.paginationDisabledClass);let e=d.pagination.el;e&&(e=C(e),e.forEach(e=>e.classList.add(d.params.pagination.paginationDisabledClass))),h()};Object.assign(d.pagination,{enable:()=>{d.el.classList.remove(d.params.pagination.paginationDisabledClass);let e=d.pagination.el;e&&(e=C(e),e.forEach(e=>e.classList.remove(d.params.pagination.paginationDisabledClass))),o(),a(),s()},disable:f,render:a,update:s,init:o,destroy:h})},function(a){let{swiper:o,extendParams:i,on:e,emit:l}=a;const n=A();let d,c,p,r,u=!1,m=null,h=null;function t(){if(o.params.scrollbar.el&&o.scrollbar.el){const{scrollbar:s,rtlTranslate:a}=o,{dragEl:i,el:r}=s,l=o.params.scrollbar,n=o.params.loop?o.progressLoop:o.progress;let e=c,t=(p-c)*n;a?(t=-t,0<t?(e=c-t,t=0):-t+c>p&&(e=p+t)):t<0?(e=c+t,t=0):t+c>p&&(e=p-t),o.isHorizontal()?(i.style.transform=`translate3d(${t}px, 0, 0)`,i.style.width=e+"px"):(i.style.transform=`translate3d(0px, ${t}px, 0)`,i.style.height=e+"px"),l.hide&&(clearTimeout(m),r.style.opacity=1,m=setTimeout(()=>{r.style.opacity=0,r.style.transitionDuration="400ms"},1e3))}}function s(){if(o.params.scrollbar.el&&o.scrollbar.el){const e=o.scrollbar,{dragEl:t,el:s}=e;t.style.width="",t.style.height="",p=o.isHorizontal()?s.offsetWidth:s.offsetHeight,r=o.size/(o.virtualSize+o.params.slidesOffsetBefore-(o.params.centeredSlides?o.snapGrid[0]:0)),c="auto"===o.params.scrollbar.dragSize?p*r:parseInt(o.params.scrollbar.dragSize,10),o.isHorizontal()?t.style.width=c+"px":t.style.height=c+"px",s.style.display=1<=r?"none":"",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 f(e){return o.isHorizontal()?e.clientX:e.clientY}function v(e){var{scrollbar:t,rtlTranslate:s}=o,t=t.el;let a;a=(f(e)-H(t)[o.isHorizontal()?"left":"top"]-(null!==d?d:c/2))/(p-c),a=Math.max(Math.min(a,1),0),s&&(a=1-a);t=o.minTranslate()+(o.maxTranslate()-o.minTranslate())*a;o.updateProgress(t),o.setTranslate(t),o.updateActiveIndex(),o.updateSlidesClasses()}function g(e){const t=o.params.scrollbar,{scrollbar:s,wrapperEl:a}=o,{el:i,dragEl:r}=s;u=!0,d=e.target===r?f(e)-e.target.getBoundingClientRect()[o.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),a.style.transitionDuration="100ms",r.style.transitionDuration="100ms",v(e),clearTimeout(h),i.style.transitionDuration="0ms",t.hide&&(i.style.opacity=1),o.params.cssMode&&(o.wrapperEl.style["scroll-snap-type"]="none"),l("scrollbarDragStart",e)}function w(e){const{scrollbar:t,wrapperEl:s}=o,{el:a,dragEl:i}=t;u&&(e.preventDefault&&e.cancelable?e.preventDefault():e.returnValue=!1,v(e),s.style.transitionDuration="0ms",a.style.transitionDuration="0ms",i.style.transitionDuration="0ms",l("scrollbarDragMove",e))}function b(e){const t=o.params.scrollbar,{scrollbar:s,wrapperEl:a}=o,i=s.el;u&&(u=!1,o.params.cssMode&&(o.wrapperEl.style["scroll-snap-type"]="",a.style.transitionDuration=""),t.hide&&(clearTimeout(h),h=L(()=>{i.style.opacity=0,i.style.transitionDuration="400ms"},1e3)),l("scrollbarDragEnd",e),t.snapOnRelease&&o.slideToClosest())}function y(e){var{scrollbar:t,params:s}=o,t=t.el;if(t){const a=t,i=!!s.passiveListeners&&{passive:!1,capture:!1},r=!!s.passiveListeners&&{passive:!0,capture:!1};a&&(t="on"===e?"addEventListener":"removeEventListener",a[t]("pointerdown",g,i),n[t]("pointermove",w,i),n[t]("pointerup",b,r))}}function E(){const{scrollbar:s,el:a}=o;o.params.scrollbar=j(o,o.originalParams.scrollbar,o.params.scrollbar,{el:"swiper-scrollbar"});var i=o.params.scrollbar;if(i.el){let e,t;if("string"==typeof i.el&&o.isElement&&(e=o.el.querySelector(i.el)),e||"string"!=typeof i.el)e=e||i.el;else if(e=n.querySelectorAll(i.el),!e.length)return;o.params.uniqueNavElements&&"string"==typeof i.el&&1<e.length&&1===a.querySelectorAll(i.el).length&&(e=a.querySelector(i.el)),0<e.length&&(e=e[0]),e.classList.add(o.isHorizontal()?i.horizontalClass:i.verticalClass),e&&(t=e.querySelector(P(o.params.scrollbar.dragClass)),t||(t=M("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"](...T(o.params.scrollbar.lockClass))}}function x(){const e=o.params.scrollbar,t=o.scrollbar.el;t&&t.classList.remove(...T(o.isHorizontal()?e.horizontalClass:e.verticalClass)),o.params.scrollbar.el&&o.scrollbar.el&&y("off")}i({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),o.scrollbar={el:null,dragEl:null},e("changeDirection",()=>{if(o.scrollbar&&o.scrollbar.el){const t=o.params.scrollbar;let e=o.scrollbar.el;
1e=C(e),e.forEach(e=>{e.classList.remove(t.horizontalClass,t.verticalClass),e.classList.add(o.isHorizontal()?t.horizontalClass:t.verticalClass)})}}),e("init",()=>{!1===o.params.scrollbar.enabled?S():(E(),s(),t())}),e("update resize observerUpdate lock unlock changeDirection",()=>{s()}),e("setTranslate",()=>{t()}),e("setTransition",(e,t)=>{var s=t;o.params.scrollbar.el&&o.scrollbar.el&&(o.scrollbar.dragEl.style.transitionDuration=s+"ms")}),e("enable disable",()=>{const e=o.scrollbar.el;e&&e.classList[o.enabled?"remove":"add"](...T(o.params.scrollbar.lockClass))}),e("destroy",()=>{x()});const S=()=>{o.el.classList.add(...T(o.params.scrollbar.scrollbarDisabledClass)),o.scrollbar.el&&o.scrollbar.el.classList.add(...T(o.params.scrollbar.scrollbarDisabledClass)),x()};Object.assign(o.scrollbar,{enable:()=>{o.el.classList.remove(...T(o.params.scrollbar.scrollbarDisabledClass)),o.scrollbar.el&&o.scrollbar.el.classList.remove(...T(o.params.scrollbar.scrollbarDisabledClass)),E(),s(),t()},disable:S,updateSize:s,setTranslate:t,init:E,destroy:x})},function(e){let{swiper:c,extendParams:t,on:s}=e;t({parallax:{enabled:!1}});const l="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",r=(e,t)=>{var s=c.rtl?-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");if(i||r?(i=i||"0",r=r||"0"):c.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){const c=n-(n-1)*(1-Math.abs(t));e.style.opacity=c}let d=`translate3d(${i}, ${r}, 0px)`;null!=l&&(d+=` scale(${l-(l-1)*(1-Math.abs(t))})`),o&&null!=o&&(d+=` rotate(${o*t*-1}deg)`),e.style.transform=d},a=()=>{const{el:e,slides:t,progress:a,snapGrid:i}=c,s=B(e,l);c.isElement&&s.push(...B(c.hostEl,l)),s.forEach(e=>{r(e,a)}),t.forEach((e,t)=>{let s=e.progress;1<c.params.slidesPerGroup&&"auto"!==c.params.slidesPerView&&(s+=Math.ceil(t/2)-a*(i.length-1)),s=Math.min(Math.max(s,-1),1),e.querySelectorAll(l+", [data-swiper-parallax-rotate]").forEach(e=>{r(e,s)})})};s("beforeInit",()=>{c.params.parallax.enabled&&(c.params.watchSlidesProgress=!0,c.originalParams.watchSlidesProgress=!0)}),s("init",()=>{c.params.parallax.enabled&&a()}),s("setTranslate",()=>{c.params.parallax.enabled&&a()}),s("setTransition",(e,t)=>{if(c.params.parallax.enabled){var s=t;void 0===s&&(s=c.params.speed);const{el:a,hostEl:i}=c,r=[...a.querySelectorAll(l)];c.isElement&&r.push(...i.querySelectorAll(l)),r.forEach(e=>{let t=parseInt(e.getAttribute("data-swiper-parallax-duration"),10)||s;0===s&&(t=0),e.style.transitionDuration=t+"ms"})}})},function(t){let{swiper:T,extendParams:s,on:e,emit:a}=t;const M=X();s({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,panOnMouseMove:!1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),T.zoom={enabled:!1};let C=1,r=!1,c=!1,n={x:0,y:0};const p=-3;let i,u;const l=[],P={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},L={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},o={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let m,h=1;function f(){if(l.length<2)return 1;var e=l[0].pageX,t=l[0].pageY,s=l[1].pageX,a=l[1].pageY;return Math.sqrt((s-e)**2+(a-t)**2)}function I(){const e=T.params.zoom,t=P.imageWrapEl.getAttribute("data-swiper-zoom")||e.maxRatio;if(e.limitToOriginalSize&&P.imageEl&&P.imageEl.naturalWidth){const e=P.imageEl.naturalWidth/P.imageEl.offsetWidth;return Math.min(e,t)}return t}function d(t){var e=T.isElement?"swiper-slide":"."+T.params.slideClass;return t.target.matches(e)||0<T.slides.filter(e=>e.contains(t.target)).length}function v(t){var e="."+T.params.zoom.containerClass;return t.target.matches(e)||0<[...T.hostEl.querySelectorAll(e)].filter(e=>e.contains(t.target)).length}function g(t){if("mouse"===t.pointerType&&l.splice(0,l.length),d(t)){var s=T.params.zoom;if(i=!1,u=!1,l.push(t),!(l.length<2)){if(i=!0,P.scaleStart=f(),!P.slideEl){P.slideEl=t.target.closest(`.${T.params.slideClass}, swiper-slide`),P.slideEl||(P.slideEl=T.slides[T.activeIndex]);let e=P.slideEl.querySelector("."+s.containerClass);if(e=e&&e.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0],P.imageEl=e,P.imageWrapEl=e?N(P.imageEl,"."+s.containerClass)[0]:void 0,!P.imageWrapEl)return void(P.imageEl=void 0);P.maxRatio=I()}if(P.imageEl){const[t,T]=function(){if(l.length<2)return{x:null,y:null};var e=P.imageEl.getBoundingClientRect();return[(l[0].pageX+(l[1].pageX-l[0].pageX)/2-e.x-M.scrollX)/C,(l[0].pageY+(l[1].pageY-l[0].pageY)/2-e.y-M.scrollY)/C]}();P.originX=t,P.originY=T,P.imageEl.style.transitionDuration="0ms"}r=!0}}}function w(t){if(d(t)){const e=T.params.zoom,s=T.zoom,a=l.findIndex(e=>e.pointerId===t.pointerId);0<=a&&(l[a]=t),l.length<2||(u=!0,P.scaleMove=f(),P.imageEl&&(s.scale=P.scaleMove/P.scaleStart*C,s.scale>P.maxRatio&&(s.scale=P.maxRatio-1+(s.scale-P.maxRatio+1)**.5),s.scale<e.minRatio&&(s.scale=e.minRatio+1-(e.minRatio-s.scale+1)**.5),P.imageEl.style.transform=`translate3d(0,
10,0) scale(${s.scale})`))}}function b(t){if(d(t)&&("mouse"!==t.pointerType||"pointerout"!==t.type)){const e=T.params.zoom,s=T.zoom,a=l.findIndex(e=>e.pointerId===t.pointerId);0<=a&&l.splice(a,1),i&&u&&(i=!1,u=!1,P.imageEl&&(s.scale=Math.max(Math.min(s.scale,P.maxRatio),e.minRatio),P.imageEl.style.transitionDuration=T.params.speed+"ms",P.imageEl.style.transform=`translate3d(0,0,0) scale(${s.scale})`,C=s.scale,r=!1,1<s.scale&&P.slideEl?P.slideEl.classList.add(""+e.zoomedSlideClass):s.scale<=1&&P.slideEl&&P.slideEl.classList.remove(""+e.zoomedSlideClass),1===s.scale&&(P.originX=0,P.originY=0,P.slideEl=void 0)))}}function y(){T.touchEventsData.preventTouchMoveFromPointerMove=!1}function E(e){var t="mouse"===e.pointerType&&T.params.zoom.panOnMouseMove;if(d(e)&&v(e)){var s=T.zoom;if(P.imageEl)if(L.isTouched&&P.slideEl)if(t)S(e);else{L.isMoved||(L.width=P.imageEl.offsetWidth||P.imageEl.clientWidth,L.height=P.imageEl.offsetHeight||P.imageEl.clientHeight,L.startX=Y(P.imageWrapEl,"x")||0,L.startY=Y(P.imageWrapEl,"y")||0,P.slideWidth=P.slideEl.offsetWidth,P.slideHeight=P.slideEl.offsetHeight,P.imageWrapEl.style.transitionDuration="0ms");var a=L.width*s.scale,i=L.height*s.scale;if(L.minX=Math.min(P.slideWidth/2-a/2,0),L.maxX=-L.minX,L.minY=Math.min(P.slideHeight/2-i/2,0),L.maxY=-L.minY,L.touchesCurrent.x=(0<l.length?l[0]:e).pageX,L.touchesCurrent.y=(0<l.length?l[0]:e).pageY,5<Math.max(Math.abs(L.touchesCurrent.x-L.touchesStart.x),Math.abs(L.touchesCurrent.y-L.touchesStart.y))&&(T.allowClick=!1),!L.isMoved&&!r){if(T.isHorizontal()&&(Math.floor(L.minX)===Math.floor(L.startX)&&L.touchesCurrent.x<L.touchesStart.x||Math.floor(L.maxX)===Math.floor(L.startX)&&L.touchesCurrent.x>L.touchesStart.x))return L.isTouched=!1,void y();if(!T.isHorizontal()&&(Math.floor(L.minY)===Math.floor(L.startY)&&L.touchesCurrent.y<L.touchesStart.y||Math.floor(L.maxY)===Math.floor(L.startY)&&L.touchesCurrent.y>L.touchesStart.y))return L.isTouched=!1,void y()}e.cancelable&&e.preventDefault(),e.stopPropagation(),clearTimeout(m),T.touchEventsData.preventTouchMoveFromPointerMove=!0,m=setTimeout(()=>{T.destroyed||y()}),L.isMoved=!0;var a=(s.scale-C)/(P.maxRatio-T.params.zoom.minRatio),{originX:i,originY:s}=P;L.currentX=L.touchesCurrent.x-L.touchesStart.x+L.startX+a*(L.width-2*i),L.currentY=L.touchesCurrent.y-L.touchesStart.y+L.startY+a*(L.height-2*s),L.currentX<L.minX&&(L.currentX=L.minX+1-(L.minX-L.currentX+1)**.8),L.currentX>L.maxX&&(L.currentX=L.maxX-1+(L.currentX-L.maxX+1)**.8),L.currentY<L.minY&&(L.currentY=L.minY+1-(L.minY-L.currentY+1)**.8),L.currentY>L.maxY&&(L.currentY=L.maxY-1+(L.currentY-L.maxY+1)**.8),o.prevPositionX||(o.prevPositionX=L.touchesCurrent.x),o.prevPositionY||(o.prevPositionY=L.touchesCurrent.y),o.prevTime||(o.prevTime=Date.now()),o.x=(L.touchesCurrent.x-o.prevPositionX)/(Date.now()-o.prevTime)/2,o.y=(L.touchesCurrent.y-o.prevPositionY)/(Date.now()-o.prevTime)/2,Math.abs(L.touchesCurrent.x-o.prevPositionX)<2&&(o.x=0),Math.abs(L.touchesCurrent.y-o.prevPositionY)<2&&(o.y=0),o.prevPositionX=L.touchesCurrent.x,o.prevPositionY=L.touchesCurrent.y,o.prevTime=Date.now(),P.imageWrapEl.style.transform=`translate3d(${L.currentX}px, ${L.currentY}px,0)`}else t&&S(e)}}function x(){const e=T.zoom;P.slideEl&&T.activeIndex!==T.slides.indexOf(P.slideEl)&&(P.imageEl&&(P.imageEl.style.transform="translate3d(0,0,0) scale(1)"),P.imageWrapEl&&(P.imageWrapEl.style.transform="translate3d(0,0,0)"),P.slideEl.classList.remove(""+T.params.zoom.zoomedSlideClass),e.scale=1,C=1,P.slideEl=void 0,P.imageEl=void 0,P.imageWrapEl=void 0,P.originX=0,P.originY=0)}function S(e){if(!(C<=1)&&P.imageWrapEl&&d(e)&&v(e)){var t=M.getComputedStyle(P.imageWrapEl).transform,t=new M.DOMMatrix(t);if(!c)return c=!0,n.x=e.clientX,n.y=e.clientY,L.startX=t.e,L.startY=t.f,L.width=P.imageEl.offsetWidth||P.imageEl.clientWidth,L.height=P.imageEl.offsetHeight||P.imageEl.clientHeight,P.slideWidth=P.slideEl.offsetWidth,P.slideHeight=P.slideEl.offsetHeight,0;var t=(e.clientX-n.x)*p,s=(e.clientY-n.y)*p,a=L.width*C,i=L.height*C,r=P.slideWidth,l=P.slideHeight,r=Math.min(r/2-a/2,0),a=-r,l=Math.min(l/2-i/2,0),i=-l,t=Math.max(Math.min(L.startX+t,a),r),a=Math.max(Math.min(L.startY+s,i),l);P.imageWrapEl.style.transitionDuration="0ms",P.imageWrapEl.style.transform=`translate3d(${t}px, ${a}
1px, 0)`,n.x=e.clientX,n.y=e.clientY,L.startX=t,L.startY=a,L.currentX=t,L.currentY=a}}function A(w){const b=T.zoom,y=T.params.zoom;if(!P.slideEl){w&&w.target&&(P.slideEl=w.target.closest(`.${T.params.slideClass}, swiper-slide`)),P.slideEl||(T.params.virtual&&T.params.virtual.enabled&&T.virtual?P.slideEl=B(T.slidesEl,"."+T.params.slideActiveClass)[0]:P.slideEl=T.slides[T.activeIndex]);let e=P.slideEl.querySelector("."+y.containerClass);e=e&&e.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0],P.imageEl=e,P.imageWrapEl=e?N(P.imageEl,"."+y.containerClass)[0]:void 0}if(P.imageEl&&P.imageWrapEl){let e,t,c,p,u,m,s,a,h,f,v,g,i,r,l,n,o,d;T.params.cssMode&&(T.wrapperEl.style.overflow="hidden",T.wrapperEl.style.touchAction="none"),P.slideEl.classList.add(""+y.zoomedSlideClass),t=void 0===L.touchesStart.x&&w?(e=w.pageX,w.pageY):(e=L.touchesStart.x,L.touchesStart.y);var E=C,x="number"==typeof w?w:null,S=(1===C&&x&&(e=void 0,t=void 0,L.touchesStart.x=void 0,L.touchesStart.y=void 0),I());b.scale=x||S,C=x||S,!w||1===C&&x?(s=0,a=0):(o=P.slideEl.offsetWidth,d=P.slideEl.offsetHeight,c=H(P.slideEl).left+M.scrollX,p=H(P.slideEl).top+M.scrollY,u=c+o/2-e,m=p+d/2-t,h=P.imageEl.offsetWidth||P.imageEl.clientWidth,f=P.imageEl.offsetHeight||P.imageEl.clientHeight,v=h*b.scale,g=f*b.scale,l=-(i=Math.min(o/2-v/2,0)),n=-(r=Math.min(d/2-g/2,0)),a=0<E&&x&&"number"==typeof L.currentX&&"number"==typeof L.currentY?(s=L.currentX*b.scale/E,L.currentY*b.scale/E):(s=u*b.scale,m*b.scale),s<i&&(s=i),s>l&&(s=l),a<r&&(a=r),a>n&&(a=n)),x&&1===b.scale&&(P.originX=0,P.originY=0),L.currentX=s,L.currentY=a,P.imageWrapEl.style.transitionDuration="300ms",P.imageWrapEl.style.transform=`translate3d(${s}px, ${a}px,0)`,P.imageEl.style.transitionDuration="300ms",P.imageEl.style.transform=`translate3d(0,0,0) scale(${b.scale})`}}function z(){const e=T.zoom,t=T.params.zoom;if(!P.slideEl){T.params.virtual&&T.params.virtual.enabled&&T.virtual?P.slideEl=B(T.slidesEl,"."+T.params.slideActiveClass)[0]:P.slideEl=T.slides[T.activeIndex];let e=P.slideEl.querySelector("."+t.containerClass);e=e&&e.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0],P.imageEl=e,P.imageWrapEl=e?N(P.imageEl,"."+t.containerClass)[0]:void 0}P.imageEl&&P.imageWrapEl&&(T.params.cssMode&&(T.wrapperEl.style.overflow="",T.wrapperEl.style.touchAction=""),e.scale=1,C=1,L.currentX=void 0,L.currentY=void 0,L.touchesStart.x=void 0,L.touchesStart.y=void 0,P.imageWrapEl.style.transitionDuration="300ms",P.imageWrapEl.style.transform="translate3d(0,0,0)",P.imageEl.style.transitionDuration="300ms",P.imageEl.style.transform="translate3d(0,0,0) scale(1)",P.slideEl.classList.remove(""+t.zoomedSlideClass),P.slideEl=void 0,P.originX=0,P.originY=0,T.params.zoom.panOnMouseMove&&(n={x:0,y:0},c&&(c=!1,L.startX=0,L.startY=0)))}function k(e){var t=T.zoom;t.scale&&1!==t.scale?z():A(e)}function O(){return{passiveListener:!!T.params.passiveListeners&&{passive:!0,capture:!1},activeListenerWithCapture:!T.params.passiveListeners||{passive:!1,capture:!0}}}function D(){const e=T.zoom;if(!e.enabled){e.enabled=!0;const{passiveListener:t,activeListenerWithCapture:s}=O();T.wrapperEl.addEventListener("pointerdown",g,t),T.wrapperEl.addEventListener("pointermove",w,s),["pointerup","pointercancel","pointerout"].forEach(e=>{T.wrapperEl.addEventListener(e,b,t)}),T.wrapperEl.addEventListener("pointermove",E,s)}}function G(){const e=T.zoom;if(e.enabled){e.enabled=!1;const{passiveListener:t,activeListenerWithCapture:s}=O();T.wrapperEl.removeEventListener("pointerdown",g,t),T.wrapperEl.removeEventListener("pointermove",w,s),["pointerup","pointercancel","pointerout"].forEach(e=>{T.wrapperEl.removeEventListener(e,b,t)}),T.wrapperEl.removeEventListener("pointermove",E,s)}}Object.defineProperty(T.zoom,"scale",{get:()=>h,set(e){var t,s;h!==e&&(t=P.imageEl,s=P.slideEl,a("zoomChange",e,t,s)),h=e}}),e("init",()=>{T.params.zoom.enabled&&D()}),e("destroy",()=>{G()}),e("touchStart",(e,t)=>{var s,a;T.zoom.enabled&&(s=t,a=T.device,P.imageEl&&(L.isTouched||(a.android&&s.cancelable&&s.preventDefault(),L.isTouched=!0,a=0<l.length?l[0]:s,L.touchesStart.x=a.pageX,L.touchesStart.y=a.pageY)))}),e("touchEnd",(e,t)=>{if(T.zoom.enabled){var s=T.zoom;if(l.length=0,P.imageEl){if(!L.isTouched||!L.isMoved)return L.isTouched=!1,void(L.isMoved=!1);L.isTouched=!1,L.isMoved=!1;let e=300,t=300;var a=o.x*e,a=L.currentX+a,i=o.y*t,i=L.currentY+i,r=(0!==o.x&&(e=Math.abs((a-L.currentX)/o.x)),0!==o.y&&(t=Math.abs((i-L.currentY)/o.y)),Math.max(e,t)),a=(L.currentX=a,L.currentY=i,L.width*s.scale),i=L.height*s.scale;L.minX=Math.min(P.slideWidth/2-a/2,0),L.maxX=-L.minX,L.minY=Math.min(P.slideHeight/2-i/2,0),L.maxY=-L.minY,L.currentX=Math.max(Math.min(L.currentX,L.maxX),L.minX),L.currentY=Math.max(Math.min(L.currentY,L.maxY),L.minY),P.imageWrapEl.style.transitionDuration=r+"ms",P.imageWrapEl.style.transform=`translate3d(${L.currentX}px, ${L.currentY}px,0)`}}}),e("doubleTap",(e,t)=>{!T.animating&&T.params.zoom.enabled&&T.zoom.enabled&&T.params.zoom.toggle&&k(t)}),e("transitionEnd",()=>{T.zoom.enabled&&T.params.zoom.enabled&&x()}),e("slideChange",()=>{T.zoom.enabled&&T.params.zoom.enabled&&T.params.cssMode&&x()}),Object.assign(T.zoom,{enable:D,disable:G,in:A,out:z,toggle:k})},function(e){let{swiper:n,extendParams:t,on:s}=e;function o(e,t){const s=function(){let s,a,i;return(e,t)=>{for(a=-1,s=e.length;1<s-a;)i=s+a>>1,e[i]<=t?a=i:s=i;return s}}();let a,i;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(i=s(this.x,e),a=i-1,(e-this.x[a])*(this.y[i]-this.y[a])/(this.x[i]-this.x[a])+this.y[a]):0},this}function a(){n.controller.control&&n.controller.spline&&(n.controller.spline=void 0,delete n.controller.spline)}t({controller:{control:void 0,inverse:!1,by:"slide"}}),n.controller={control:void 0},s("beforeInit",()=>{"undefined"!=typeof window&&("string"==typeof n.params.controller.control||n.params.controller.control instanceof HTMLElement)?("string"==typeof n.params.controller.control?[...document.querySelectorAll(n.params.controller.control)]:[n.params.controller.control]).forEac
1h(t=>{if(n.controller.control||(n.controller.control=[]),t&&t.swiper)n.controller.control.push(t.swiper);else if(t){const s=n.params.eventsPrefix+"init",a=e=>{n.controller.control.push(e.detail[0]),n.update(),t.removeEventListener(s,a)};t.addEventListener(s,a)}}):n.controller.control=n.params.controller.control}),s("update",()=>{a()}),s("resize",()=>{a()}),s("observerUpdate",()=>{a()}),s("setTranslate",(e,t,s)=>{n.controller.control&&!n.controller.control.destroyed&&n.controller.setTranslate(t,s)}),s("setTransition",(e,t,s)=>{n.controller.control&&!n.controller.control.destroyed&&n.controller.setTransition(t,s)}),Object.assign(n.controller,{setTranslate:function(e,t){var s=n.controller.control;let a,i;var r=n.constructor;function l(e){var t,s;e.destroyed||(t=n.rtlTranslate?-n.translate:n.translate,"slide"===n.params.controller.by&&(s=e,n.controller.spline=n.params.loop?new o(n.slidesGrid,s.slidesGrid):new o(n.snapGrid,s.snapGrid),i=-n.controller.spline.interpolate(-t)),i&&"container"!==n.params.controller.by||(a=(e.maxTranslate()-e.minTranslate())/(n.maxTranslate()-n.minTranslate()),!Number.isNaN(a)&&Number.isFinite(a)||(a=1),i=(t-n.minTranslate())*a+e.minTranslate()),n.params.controller.inverse&&(i=e.maxTranslate()-i),e.updateProgress(i),e.setTranslate(i,n),e.updateActiveIndex(),e.updateSlidesClasses())}if(Array.isArray(s))for(let e=0;e<s.length;e+=1)s[e]!==t&&s[e]instanceof r&&l(s[e]);else s instanceof r&&t!==s&&l(s)},setTransition:function(t,e){const s=n.constructor,a=n.controller.control;let i;function r(e){e.destroyed||(e.setTransition(t,n),0!==t&&(e.transitionStart(),e.params.autoHeight&&L(()=>{e.updateAutoHeight()}),g(e.wrapperEl,()=>{a&&e.transitionEnd()})))}if(Array.isArray(a))for(i=0;i<a.length;i+=1)a[i]!==e&&a[i]instanceof s&&r(a[i]);else a instanceof s&&e!==a&&r(a)}})},function(t){let{swiper:d,extendParams:s,on:e}=t;s({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0}}),d.a11y={clicked:!1};let i,r,c=null,n=(new Date).getTime();function a(e){var t=c;0!==t.length&&z(t,e)}function l(e){(e=C(e)).forEach(e=>{e.setAttribute("tabIndex","0")})}function o(e){(e=C(e)).forEach(e=>{e.setAttribute("tabIndex","-1")})}function p(e,t){(e=C(e)).forEach(e=>{e.setAttribute("role",t)})}function h(e,t){(e=C(e)).forEach(e=>{e.setAttribute("aria-roledescription",t)})}function u(e,t){(e=C(e)).forEach(e=>{e.setAttribute("aria-label",t)})}function f(e){(e=C(e)).forEach(e=>{e.setAttribute("aria-disabled",!0)})}function v(e){(e=C(e)).forEach(e=>{e.setAttribute("aria-disabled",!1)})}function m(e){if(13===e.keyCode||32===e.keyCode){const t=d.params.a11y,s=e.target;if(!d.pagination||!d.pagination.el||s!==d.pagination.el&&!d.pagination.el.contains(e.target)||e.target.matches(P(d.params.pagination.bulletClass))){if(d.navigation&&d.navigation.prevEl&&d.navigation.nextEl){const e=C(d.navigation.prevEl);C(d.navigation.nextEl).includes(s)&&(d.isEnd&&!d.params.loop||d.slideNext(),d.isEnd?a(t.lastSlideMessage):a(t.nextSlideMessage)),e.includes(s)&&(d.isBeginning&&!d.params.loop||d.slidePrev(),d.isBeginning?a(t.firstSlideMessage):a(t.prevSlideMessage))}d.pagination&&s.matches(P(d.params.pagination.bulletClass))&&s.click()}}}function g(){return d.pagination&&d.pagination.bullets&&d.pagination.bullets.length}function w(){return g()&&d.params.pagination.clickable}const b=(e,t,s)=>{var a;l(e),"BUTTON"!==e.tagName&&(p(e,"button"),e.addEventListener("keydown",m)),u(e,s),a=t,C(e).forEach(e=>{e.setAttribute("aria-controls",a)})},y=e=>{r&&r!==e.target&&!r.contains(e.target)&&(i=!0),d.a11y.clicked=!0},E=()=>{i=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{d.destroyed||(d.a11y.clicked=!1)})})},x=e=>{n=(new Date).getTime()},S=e=>{if(!d.a11y.clicked&&d.params.a11y.scrollOnFocus&&!((new Date).getTime()-n<100)){const a=e.target.closest(`.${d.params.slideClass}, swiper-slide`);var t,s;a&&d.slides.includes(a)&&(r=a,t=d.slides.indexOf(a)===d.activeIndex,s=d.params.watchSlidesProgress&&d.visibleSlides&&d.visibleSlides.includes(a),t||s||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(d.isHorizontal()?d.el.scrollLeft=0:d.el.scrollTop=0,requestAnimationFrame(()=>
1{i||(d.params.loop?d.slideToLoop(d.getSlideIndexWhenGrid(parseInt(a.getAttribute("data-swiper-slide-index"))),0):d.slideTo(d.getSlideIndexWhenGrid(d.slides.indexOf(a)),0),i=!1)})))}},T=()=>{const a=d.params.a11y,i=(a.itemRoleDescriptionMessage&&h(d.slides,a.itemRoleDescriptionMessage),a.slideRole&&p(d.slides,a.slideRole),d.slides.length);a.slideLabelMessage&&d.slides.forEach((e,t)=>{var s=d.params.loop?parseInt(e.getAttribute("data-swiper-slide-index"),10):t;u(e,a.slideLabelMessage.replace(/\{\{index\}\}/,s+1).replace(/\{\{slidesLength\}\}/,i))})};e("beforeInit",()=>{c=M("span",d.params.a11y.notificationClass),c.setAttribute("aria-live","assertive"),c.setAttribute("aria-atomic","true")}),e("afterInit",()=>{if(d.params.a11y.enabled){const l=d.params.a11y;d.el.append(c);var s=d.el;l.containerRoleDescriptionMessage&&h(s,l.containerRoleDescriptionMessage),l.containerMessage&&u(s,l.containerMessage),l.containerRole&&p(s,l.containerRole);const n=d.wrapperEl,o=l.id||n.getAttribute("id")||"swiper-wrapper-"+"x".repeat(16).replace(/x/g,()=>Math.round(16*Math.random()).toString(16));var a,i,s=d.params.autoplay&&d.params.autoplay.enabled?"off":"polite",r=o;C(n).forEach(e=>{e.setAttribute("id",r)}),a=n,i=s,(a=C(a)).forEach(e=>{e.setAttribute("aria-live",i)}),T();let{nextEl:e,prevEl:t}=d.navigation||{};e=C(e),t=C(t),e&&e.forEach(e=>b(e,o,l.nextSlideMessage)),t&&t.forEach(e=>b(e,o,l.prevSlideMessage)),w()&&C(d.pagination.el).forEach(e=>{e.addEventListener("keydown",m)}),A().addEventListener("visibilitychange",x),d.el.addEventListener("focus",S,!0),d.el.addEventListener("focus",S,!0),d.el.addEventListener("pointerdown",y,!0),d.el.addEventListener("pointerup",E,!0)}}),e("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{d.params.a11y.enabled&&T()}),e("fromEdge toEdge afterInit lock unlock",()=>{var e,t;d.params.a11y.enabled&&(d.params.loop||d.params.rewind||!d.navigation||({nextEl:e,prevEl:t}=d.navigation,t&&(d.isBeginning?(f(t),o(t)):(v(t),l(t))),e&&(d.isEnd?(f(e),o(e)):(v(e),l(e)))))}),e("paginationUpdate",()=>{if(d.params.a11y.enabled){const t=d.params.a11y;g()&&d.pagination.bullets.forEach(e=>{d.params.pagination.clickable&&(l(e),d.params.pagination.renderBullet||(p(e,"button"),u(e,t.paginationBulletMessage.replace(/\{\{index\}\}/,D(e)+1)))),e.matches(P(d.params.pagination.bulletActiveClass))?e.setAttribute("aria-current","true"):e.removeAttribute("aria-current")})}}),e("destroy",()=>{if(d.params.a11y.enabled){c&&c.remove();let{nextEl:e,prevEl:t}=d.navigation||{};e=C(e),t=C(t),e&&e.forEach(e=>e.removeEventListener("keydown",m)),t&&t.forEach(e=>e.removeEventListener("keydown",m)),w()&&C(d.pagination.el).forEach(e=>{e.removeEventListener("keydown",m)}),A().removeEventListener("visibilitychange",x),d.el&&"string"!=typeof d.el&&(d.el.removeEventListener("focus",S,!0),d.el.removeEventListener("pointerdown",y,!0),d.el.removeEventListener("pointerup",E,!0))}})},function(e){let{swiper:n,extendParams:c,on:t}=e,o=(c({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}}),!1),s={};const d=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),a=e=>{var t=X();let s;s=e?new URL(e):t.location;var t=s.pathname.slice(1).split("/").filter(e=>""!==e),a=t.length;return{key:t[a-2],value:t[a-1]}},i=(s,a)=>{const i=X();if(o&&n.params.history.enabled){let e;e=n.params.url?new URL(n.params.url):i.location;const l=n.virtual&&n.params.virtual.enabled?n.slidesEl.querySelector(`[data-swiper-slide-index="${a}"]`):n.slides[a];let t=d(l.getAttribute("data-history"));if(0<n.params.history.root.length){let e=n.params.history.root;"/"===e[e.length-1]&&(e=e.slice(0,e.length-1)),t=e+"/"+(s?s+"/":"")+t}else e.pathname.includes(s)||(t=(s?s+"/":"")+t);n.params.history.keepQuery&&(t+=e.search);var r=i.history.state;r&&r.value===t||(n.params.history.replaceState?i.history.replaceState({value:t},null,t):i.history.pushState({value:t},null,t))}},r=(s,a,i)=>{if(a)for(let e=0,t=n.slides.length;e<t;e+=1){const r=n.slides[e];if(d(r.getAttribute("data-history"))===a){const a=n.getSlideIndex(r);n.slideTo(a,s,i)}}else n.slideTo(0,s,i)},l=()=>{s=a(n.params.url),r(n.params.speed,s.value,!1)};t("init",()=>{if(n.params.history.enabled){const e=X();
1if(n.params.history){if(!e.history||!e.history.pushState)return n.params.history.enabled=!1,void(n.params.hashNavigation.enabled=!0);o=!0,s=a(n.params.url),(s.key||s.value)&&r(0,s.value,n.params.runCallbacksOnInit),n.params.history.replaceState||e.addEventListener("popstate",l)}}}),t("destroy",()=>{if(n.params.history.enabled){const e=X();n.params.history.replaceState||e.removeEventListener("popstate",l)}}),t("transitionEnd _freeModeNoMomentumRelease",()=>{o&&i(n.params.history.key,n.activeIndex)}),t("slideChange",()=>{o&&n.params.cssMode&&i(n.params.history.key,n.activeIndex)})},function(e){let{swiper:s,extendParams:t,emit:a,on:i}=e,r=!1;const l=A(),n=X(),o=(t({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(e,t){if(s.virtual&&s.params.virtual.enabled){const e=s.slides.find(e=>e.getAttribute("data-hash")===t);return e?parseInt(e.getAttribute("data-swiper-slide-index"),10):0}return s.getSlideIndex(B(s.slidesEl,`.${s.params.slideClass}[data-hash="${t}"], swiper-slide[data-hash="${t}"]`)[0])}}}),()=>{a("hashChange");const e=l.location.hash.replace("#",""),t=s.virtual&&s.params.virtual.enabled?s.slidesEl.querySelector(`[data-swiper-slide-index="${s.activeIndex}"]`):s.slides[s.activeIndex];if(e!==(t?t.getAttribute("data-hash"):"")){const t=s.params.hashNavigation.getSlideIndex(s,e);void 0===t||Number.isNaN(t)||s.slideTo(t)}}),d=()=>{if(r&&s.params.hashNavigation.enabled){const e=s.virtual&&s.params.virtual.enabled?s.slidesEl.querySelector(`[data-swiper-slide-index="${s.activeIndex}"]`):s.slides[s.activeIndex],t=e?e.getAttribute("data-hash")||e.getAttribute("data-history"):"";s.params.hashNavigation.replaceState&&n.history&&n.history.replaceState?n.history.replaceState(null,null,"#"+t||""):l.location.hash=t||"",a("hashSet")}};i("init",()=>{var e;s.params.hashNavigation.enabled&&(!s.params.hashNavigation.enabled||s.params.history&&s.params.history.enabled||(r=!0,(e=l.location.hash.replace("#",""))&&(e=s.params.hashNavigation.getSlideIndex(s,e),s.slideTo(e||0,0,s.params.runCallbacksOnInit,!0)),s.params.hashNavigation.watchState&&n.addEventListener("hashchange",o)))}),i("destroy",()=>{s.params.hashNavigation.enabled&&s.params.hashNavigation.watchState&&n.removeEventListener("hashchange",o)}),i("transitionEnd _freeModeNoMomentumRelease",()=>{r&&d()}),i("slideChange",()=>{r&&s.params.cssMode&&d()})},function(c){let r,p,{swiper:l,extendParams:u,on:e,emit:n,params:t}=c;l.autoplay={running:!1,paused:!1,timeLeft:0},u({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let o,m,h,s,f,v,i,g,w=t&&t.autoplay?t.autoplay.delay:3e3,b=t&&t.autoplay?t.autoplay.delay:3e3,y=(new Date).getTime();function E(e){l&&!l.destroyed&&l.wrapperEl&&e.target===l.wrapperEl&&(l.wrapperEl.removeEventListener("transitionend",E),g||e.detail&&e.detail.bySwiperTouchMove||d())}const x=()=>{var e;!l.destroyed&&l.autoplay.running&&(l.autoplay.paused?m=!0:m&&(b=o,m=!1),e=l.autoplay.paused?o:y+b-(new Date).getTime(),l.autoplay.timeLeft=e,n("autoplayTimeLeft",e,e/w),p=requestAnimationFrame(()=>{x()}))},S=t=>{if(!l.destroyed&&l.autoplay.running){cancelAnimationFrame(p),x();let e=void 0===t?l.params.autoplay.delay:t;w=l.params.autoplay.delay,b=l.params.autoplay.delay;var s=(()=>{let e;if(e=l.virtual&&l.params.virtual.enabled?l.slides.find(e=>e.classList.contains("swiper-slide-active")):l.slides[l.activeIndex],e)return parseInt(e.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(s)&&0<s&&void 0===t&&(e=s,w=s,b=s),o=e;const a=l.params.speed,i=()=>{l&&!l.destroyed&&(l.params.autoplay.reverseDirection?!l.isBeginning||l.params.loop||l.params.rewind?(l.slidePrev(a,!0,!0),n("autoplay")):l.params.autoplay.stopOnLastSlide||(l.slideTo(l.slides.length-1,a,!0,!0),n("autoplay")):!l.isEnd||l.params.loop||l.params.rewind?(l.slideNext(a,!0,!0),n("autoplay")):l.params.autoplay.stopOnLastSlide||(l.slideTo(0,a,!0,!0),n("autoplay")),l.params.cssMode&&(y=(new Date).getTime(),requestAnimationFrame(()=>{S()})))};return 0<e?(clearTimeout(r),r=setTimeout(()=>{i()},e)):requestAnimationFrame(()=>{i()}),e}},T=()=>{y=(new Date).getTime(),l.autoplay.running=!0,S(),n("autoplayStart")},M=()=>
1{l.autoplay.running=!1,clearTimeout(r),cancelAnimationFrame(p),n("autoplayStop")},a=(e,t)=>{if(!l.destroyed&&l.autoplay.running){clearTimeout(r),e||(i=!0);var s=()=>{n("autoplayPause"),l.params.autoplay.waitForTransition?l.wrapperEl.addEventListener("transitionend",E):d()};if(l.autoplay.paused=!0,t)return v&&(o=l.params.autoplay.delay),v=!1,void s();var a=o||l.params.autoplay.delay;o=a-((new Date).getTime()-y),l.isEnd&&o<0&&!l.params.loop||(o<0&&(o=0),s())}},d=()=>{l.isEnd&&o<0&&!l.params.loop||l.destroyed||!l.autoplay.running||(y=(new Date).getTime(),i?(i=!1,S(o)):S(),l.autoplay.paused=!1,n("autoplayResume"))},C=()=>{var e;!l.destroyed&&l.autoplay.running&&("hidden"===(e=A()).visibilityState&&(i=!0,a(!0)),"visible"===e.visibilityState&&d())},P=e=>{"mouse"===e.pointerType&&(i=!0,g=!0,l.animating||l.autoplay.paused||a(!0))},L=e=>{"mouse"===e.pointerType&&(g=!1,l.autoplay.paused&&d())};e("init",()=>{l.params.autoplay.enabled&&(l.params.autoplay.pauseOnMouseEnter&&(l.el.addEventListener("pointerenter",P),l.el.addEventListener("pointerleave",L)),A().addEventListener("visibilitychange",C),T())}),e("destroy",()=>{l.el&&"string"!=typeof l.el&&(l.el.removeEventListener("pointerenter",P),l.el.removeEventListener("pointerleave",L)),A().removeEventListener("visibilitychange",C),l.autoplay.running&&M()}),e("_freeModeStaticRelease",()=>{(s||i)&&d()}),e("_freeModeNoMomentumRelease",()=>{l.params.autoplay.disableOnInteraction?M():a(!0,!0)}),e("beforeTransitionStart",(e,t,s)=>{!l.destroyed&&l.autoplay.running&&(s||!l.params.autoplay.disableOnInteraction?a(!0,!0):M())}),e("sliderFirstMove",()=>{!l.destroyed&&l.autoplay.running&&(l.params.autoplay.disableOnInteraction?M():(h=!0,s=!1,i=!1,f=setTimeout(()=>{i=!0,s=!0,a(!0)},200)))}),e("touchEnd",()=>{if(!l.destroyed&&l.autoplay.running&&h){if(clearTimeout(f),clearTimeout(r),l.params.autoplay.disableOnInteraction)return s=!1,void(h=!1);s&&l.params.cssMode&&d(),s=!1,h=!1}}),e("slideChange",()=>{!l.destroyed&&l.autoplay.running&&(v=!0)}),Object.assign(l.autoplay,{start:T,stop:M,pause:a,resume:d})},function(e){let{swiper:d,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(){const e=d.thumbs.swiper;if(e&&!e.destroyed){const s=e.clickedIndex,a=e.clickedSlide;var t;a&&a.classList.contains(d.params.thumbs.slideThumbActiveClass)||null!=s&&(t=e.params.loop?parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10):s,d.params.loop?d.slideToLoop(t):d.slideTo(t))}}function l(){var e=d.params.thumbs;if(a)return!1;a=!0;const t=d.constructor;if(e.swiper instanceof t){if(e.swiper.destroyed)return a=!1;d.thumbs.swiper=e.swiper,Object.assign(d.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(d.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),d.thumbs.swiper.update()}else o(e.swiper)&&(e=Object.assign({},e.swiper),Object.assign(e,{watchSlidesProgress:!0,slideToClickedSlide:!1}),d.thumbs.swiper=new t(e),i=!0);return d.thumbs.swiper.el.classList.add(d.params.thumbs.thumbsContainerClass),d.thumbs.swiper.on("tap",r),!0}function n(a){const i=d.thumbs.swiper;if(i&&!i.destroyed){var r="auto"===i.params.slidesPerView?i.slidesPerViewDynamic():i.params.slidesPerView;let s=1;const o=d.params.thumbs.slideThumbActiveClass;if(1<d.params.slidesPerView&&!d.params.centeredSlides&&(s=d.params.slidesPerView),d.params.thumbs.multipleActiveThumbs||(s=1),s=Math.floor(s),i.slides.forEach(e=>e.classList.remove(o)),i.params.loop||i.params.virtual&&i.params.virtual.enabled)for(let e=0;e<s;e+=1)B(i.slidesEl,`[data-swiper-slide-index="${d.realIndex+e}"]`).forEach(e=>{e.classList.add(o)});else for(let t=0;t<s;t+=1)i.slides[d.realIndex+t]&&i.slides[d.realIndex+t].classList.add(o);var l=d.params.thumbs.autoScrollOffset,n=l&&!i.params.loop;if(d.realIndex!==i.realIndex||n){const e=i.activeIndex;let t,s;if(i.params.loop){const a=i.slides.find(e=>e.getAttribute("data-swiper-slide-index")===""+d.realIndex);t=i.slides.indexOf(a),s=d.activeIndex>d.previousIndex?"next":"prev"}else t=d.realIndex,s=t>d.previousIndex?"next":"prev";n&&(t+="next"===s?l:-1*l),i.visibleSlidesIndexes&&i.visibleSlidesIndexes.indexOf(t)<0&&(i.params.centeredSlides?t=t>e?t-Math.floor(r/2)+1:t+Math.floor(r/2)-1:t>e&&i.params.slidesPerGroup,i.slideTo(t,a?0:void 0))}}}d.thumbs={swiper:null},s("beforeInit",()=>{const a=d.params.thumbs;if(a&&a.swiper)if("string"==typeof a.swiper||a.swiper instanceof HTMLElement){const i=A(),e=()=>{d.destroyed||(()=>{const t="string"==typeof a.swiper?i.querySelector(a.swiper):a.swiper;if(t&&t.swiper)a.swiper=t.swiper,l(),n(!0);else if(t){const i=d.params.eventsPrefix+"init",s=e=>{a.swiper=e.detail[0],t.removeEventListener(i,s),l(),n(!0),a.swiper.update(
1),d.update()};t.addEventListener(i,s)}return t})()||requestAnimationFrame(e)};requestAnimationFrame(e)}else l(),n(!0)}),s("slideChange update resize observerUpdate",()=>{n()}),s("setTransition",(e,t)=>{const s=d.thumbs.swiper;s&&!s.destroyed&&s.setTransition(t)}),s("beforeDestroy",()=>{const e=d.thumbs.swiper;e&&!e.destroyed&&i&&e.destroy()}),Object.assign(d.thumbs,{init:l,update:n})},function(e){let{swiper:m,extendParams:t,emit:h,once:f}=e;t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(m,{freeMode:{onTouchStart:function(){var e;m.params.cssMode||(e=m.getTranslate(),m.setTranslate(e),m.setTransition(0),m.touchEventsData.velocities.length=0,m.freeMode.onTouchEnd({currentPos:m.rtl?m.translate:-m.translate}))},onTouchMove:function(){if(!m.params.cssMode){const{touchEventsData:e,touches:t}=m;0===e.velocities.length&&e.velocities.push({position:t[m.isHorizontal()?"startX":"startY"],time:e.touchStartTime}),e.velocities.push({position:t[m.isHorizontal()?"currentX":"currentY"],time:v()})}},onTouchEnd:function(r){let l=r.currentPos;if(!m.params.cssMode){const{params:o,wrapperEl:d,rtlTranslate:c,snapGrid:p,touchEventsData:u}=m,e=v()-u.touchStartTime;if(l<-m.minTranslate())m.slideTo(m.activeIndex);else if(l>-m.maxTranslate())m.slides.length<p.length?m.slideTo(p.length-1):m.slideTo(m.slides.length-1);else{if(o.freeMode.momentum){if(1<u.velocities.length){const r=u.velocities.pop(),l=u.velocities.pop(),h=r.position-l.position,f=r.time-l.time;m.velocity=h/f,m.velocity/=2,Math.abs(m.velocity)<o.freeMode.minimumVelocity&&(m.velocity=0),(150<f||300<v()-r.time)&&(m.velocity=0)}else m.velocity=0;
1m.velocity*=o.freeMode.momentumVelocityRatio,u.velocities.length=0;let e=1e3*o.freeMode.momentumRatio;const l=m.velocity*e;let s=m.translate+l;c&&(s=-s);let t,a=!1;var n=20*Math.abs(m.velocity)*o.freeMode.momentumBounceRatio;let i;if(s<m.maxTranslate())o.freeMode.momentumBounce?(s+m.maxTranslate()<-n&&(s=m.maxTranslate()-n),t=m.maxTranslate(),a=!0,u.allowMomentumBounce=!0):s=m.maxTranslate(),o.loop&&o.centeredSlides&&(i=!0);else if(s>m.minTranslate())o.freeMode.momentumBounce?(s-m.minTranslate()>n&&(s=m.minTranslate()+n),t=m.minTranslate(),a=!0,u.allowMomentumBounce=!0):s=m.minTranslate(),o.loop&&o.centeredSlides&&(i=!0);else if(o.freeMode.sticky){let e;for(let t=0;t<p.length;t+=1)if(p[t]>-s){e=t;break}s=Math.abs(p[e]-s)<Math.abs(p[e-1]-s)||"next"===m.swipeDirection?p[e]:p[e-1],s=-s}if(i&&f("transitionEnd",()=>{m.loopFix()}),0!==m.velocity){if(e=c?Math.abs((-s-m.translate)/m.velocity):Math.abs((s-m.translate)/m.velocity),o.freeMode.sticky){const l=Math.abs((c?-s:s)-m.translate),h=m.slidesSizesGrid[m.activeIndex];e=l<h?o.speed:l<2*h?1.5*o.speed:2.5*o.speed}}else if(o.freeMode.sticky)return void m.slideToClosest();o.freeMode.momentumBounce&&a?(m.updateProgress(t),m.setTransition(e),m.setTranslate(s),m.transitionStart(!0,m.swipeDirection),m.animating=!0,g(d,()=>{m&&!m.destroyed&&u.allowMomentumBounce&&(h("momentumBounce"),m.setTransition(o.speed),setTimeout(()=>{m.setTranslate(t),g(d,()=>{m&&!m.destroyed&&m.transitionEnd()})},0))})):m.velocity?(h("_freeModeNoMomentumRelease"),m.updateProgress(s),m.setTransition(e),m.setTranslate(s),m.transitionStart(!0,m.swipeDirection),m.animating||(m.animating=!0,g(d,()=>{m&&!m.destroyed&&m.transitionEnd()}))):m.updateProgress(s),m.updateActiveIndex(),m.updateSlidesClasses()}else{if(o.freeMode.sticky)return void m.slideToClosest();o.freeMode&&h("_freeModeNoMomentumRelease")}(!o.freeMode.momentum||e>=o.longSwipesMs)&&(h("_freeModeStaticRelease"),m.updateProgress(),m.updateActiveIndex(),m.updateSlidesClasses())}}}}})},function(e){let p,u,m,a,{swiper:h,extendParams:t,on:s}=e;t({grid:{rows:1,fill:"column"}});const f=()=>{let e=h.params.spaceBetween;return"string"==typeof e&&0<=e.indexOf("%")?e=parseFloat(e.replace("%",""))/100*h.size:"string"==typeof e&&(e=parseFloat(e)),e};s("init",()=>{a=h.params.grid&&1<h.params.grid.rows}),s("update",()=>{const{params:e,el:t}=h,s=e.grid&&1<e.grid.rows;a&&!s?(t.classList.remove(e.containerModifierClass+"grid",e.containerModifierClass+"grid-column"),m=1,h.emitContainerClasses()):!a&&s&&(t.classList.add(e.containerModifierClass+"grid"),"column"===e.grid.fill&&t.classList.add(e.containerModifierClass+"grid-column"),h.emitContainerClasses()),a=s}),h.grid={initSlides:e=>{var t=h.params.slidesPerView,{rows:s,fill:a}=h.params.grid,i=(h.virtual&&h.params.virtual.enabled?h.virtual.slides:e).length;m=Math.floor(i/s),p=Math.floor(i/s)===i/s?i:Math.ceil(i/s)*s,"auto"!==t&&"row"===a&&(p=Math.max(p,t*s)),u=p/s},unsetSlides:()=>{h.slides&&h.slides.forEach(e=>{e.swiperSlideGridSet&&(e.style.height="",e.style[h.getDirectionLabel("margin-top")]="")})},updateSlide:(e,t,s)=>{var a=h.params.slidesPerGroup,i=f(),{rows:r,fill:l}=h.params.grid,c=(h.virtual&&h.params.virtual.enabled?h.virtual.slides:s).length;let n,o,d;if("row"===l&&1<a){const u=Math.floor(e/(a*r)),m=e-r*a*u,h=0===u?a:Math.min(Math.ceil((c-u*r*a)/r),a);d=Math.floor(m/h),o=m-d*h+u*a,n=o+d*p/r,t.style.order=n}else"column"===l?(o=Math.floor(e/r),d=e-o*r,(o>m||o===m&&d===r-1)&&(d+=1,d>=r&&(d=0,o+=1))):(d=Math.floor(e/u),o=e-d*u);t.row=d,t.column=o,t.style.height=`calc((100% - ${(r-1)*i}px) / ${r})`,t.style[h.getDirectionLabel("margin-top")]=0!==d?i&&i+"px":"",t.swiperSlideGridSet=!0},updateWrapperSize:(s,a)=>{var{centeredSlides:e,roundLengths:i}=h.params,t=f(),r=h.params.grid.rows;if(h.virtualSize=(s+t)*p,h.virtualSize=Math.ceil(h.virtualSize/r)-t,h.params.cssMode||(h.wrapperEl.style[h.getDirectionLabel("width")]=h.virtualSize+t+"px"),e){const s=[];for(let t=0;t<a.length;t+=1){let e=a[t];
1i&&(e=Math.floor(e)),a[t]<h.virtualSize+a[0]&&s.push(e)}a.splice(0,a.length),a.push(...s)}}}},function(e){var t=e.swiper;Object.assign(t,{appendSlide:(function(t){const e=this,{params:s,slidesEl:a}=e;s.loop&&e.loopDestroy();var i=e=>{var t;"string"==typeof e?(z(t=document.createElement("div"),e),a.append(t.children[0]),z(t,"")):a.append(e)};if("object"==typeof t&&"length"in t)for(let e=0;e<t.length;e+=1)t[e]&&i(t[e]);else i(t);e.recalcSlides(),s.loop&&e.loopCreate(),s.observer&&!e.isElement||e.update()}).bind(t),prependSlide:(function(t){const e=this,{params:s,activeIndex:a,slidesEl:i}=e;s.loop&&e.loopDestroy();let r=a+1;var l=e=>{var t;"string"==typeof e?(z(t=document.createElement("div"),e),i.prepend(t.children[0]),z(t,"")):i.prepend(e)};if("object"==typeof t&&"length"in t){for(let e=0;e<t.length;e+=1)t[e]&&l(t[e]);r=a+t.length}else l(t);e.recalcSlides(),s.loop&&e.loopCreate(),s.observer&&!e.isElement||e.update(),e.slideTo(r,0,!1)}).bind(t),addSlide:(function(a,i){const r=this,{params:l,activeIndex:e,slidesEl:n}=r;let o=e;l.loop&&(o-=r.loopedSlides,r.loopDestroy(),r.recalcSlides());var d=r.slides.length;if(a<=0)r.prependSlide(i);else if(d<=a)r.appendSlide(i);else{let t=o>a?o+1:o;const c=[];for(let e=d-1;e>=a;--e){const a=r.slides[e];a.remove(),c.unshift(a)}if("object"==typeof i&&"length"in i){for(let e=0;e<i.length;e+=1)i[e]&&n.append(i[e]);t=o>a?o+i.length:o}else n.append(i);for(let s=0;s<c.length;s+=1)n.append(c[s]);r.recalcSlides(),l.loop&&r.loopCreate(),l.observer&&!r.isElement||r.update(),l.loop?r.slideTo(t+r.loopedSlides,0,!1):r.slideTo(t,0,!1)}}).bind(t),removeSlide:(function(t){var s=this,{params:e,activeIndex:a}=s;let i=a;e.loop&&(i-=s.loopedSlides,s.loopDestroy());let r,l=i;if("object"==typeof t&&"length"in t){for(let e=0;e<t.length;e+=1)r=t[e],s.slides[r]&&s.slides[r].remove(),r<l&&--l;l=Math.max(l,0)}else r=t,s.slides[r]&&s.slides[r].remove(),r<l&&--l,l=Math.max(l,0);s.recalcSlides(),e.loop&&s.loopCreate(),e.observer&&!s.isElement||s.update(),e.loop?s.slideTo(l+s.loopedSlides,0,!1):s.slideTo(l,0,!1)}).bind(t),removeAllSlides:(function(){const e=[];for(let t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}).bind(t)})},function(e){let{swiper:l,extendParams:t,on:s}=e;t({fadeEffect:{crossFade:!1}}),U({effect:"fade",swiper:l,on:s,setTranslate:()=>{const s=l.slides;l.params.fadeEffect;for(let a=0;a<s.length;a+=1){const s=l.slides[a];let e=-s.swiperSlideOffset,t=(l.params.virtualTranslate||(e-=l.translate),0);l.isHorizontal()||(t=e,e=0);const i=l.params.fadeEffect.crossFade?Math.max(1-Math.abs(s.progress),0):1+Math.min(Math.max(s.progress,-1),0),r=K(0,s);r.style.opacity=i,r.style.transform=`translate3d(${e}px, ${t}px, 0px)`}},setTransition:t=>{const e=l.slides.map(e=>n(e));e.forEach(e=>{e.style.transitionDuration=t+"ms"}),Z({swiper:l,duration:t,transformElements:e,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!l.params.cssMode})})},function(e){let{swiper:g,extendParams:t,on:s}=e;t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const w=(e,t,s)=>{let a=s?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),i=s?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");a||(a=M("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(s?"left":"top")).split(" ")),e.append(a)),i||(i=M("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(s?"right":"bottom")).split(" ")),e.append(i)),a&&(a.style.opacity=Math.max(-t,0)),i&&(i.style.opacity=Math.max(t,0))};U({effect:"cube",swiper:g,on:s,setTranslate:()=>{const{el:e,wrapperEl:t,slides:l,width:a,height:i,rtlTranslate:m,size:n,browser:o}=g,d=x(g),c=g.params.cubeEffect,p=g.isHorizontal(),h=g.virtual&&g.params.virtual.enabled;let s,u=0;c.shadow&&(p?(s=g.wrapperEl.querySelector(".swiper-cube-shadow"),s||(s=M("div","swiper-cube-shadow"),g.wrapperEl.append(s)),s.style.height=a+"px"):(s=e.querySelector(".swiper-cube-shadow"),s||(s=M("div","swiper-cube-shadow"),e.append(s))));for(let v=0;v<l.length;v+=1){const g=l[v];let e=v,t=(h&&(e=parseInt(g.getAttribute("data-swiper-slide-index"),10)),90*e),s=Math.floor(t/360);m&&(t=-t,s=Math.floor(-t/360));
vendor: 4,987 bytes, line 1
1const o=Math.max(Math.min(g.progress,1),-1);let a=0,i=0,r=0;e%4==0?(a=4*-s*n,r=0):(e-1)%4==0?(a=0,r=4*-s*n):(e-2)%4==0?(a=n+4*s*n,r=n):(e-3)%4==0&&(a=-n,r=3*n+4*n*s),m&&(a=-a),p||(i=a,a=0);var f=`rotateX(${d(p?0:-t)}deg) rotateY(${d(p?t:0)}deg) translate3d(${a}px, ${i}px, ${r}px)`;o<=1&&-1<o&&(u=90*e+90*o,m&&(u=90*-e-90*o)),g.style.transform=f,c.slideShadows&&w(g,o,p)}if(t.style.transformOrigin=`50% 50% -${n/2}px`,t.style["-webkit-transform-origin"]=`50% 50% -${n/2}px`,c.shadow)if(p)s.style.transform=`translate3d(0px, ${a/2+c.shadowOffset}px, ${-a/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${c.shadowScale})`;else{const e=Math.abs(u)-90*Math.floor(Math.abs(u)/90),g=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),t=c.shadowScale,l=c.shadowScale/g,w=c.shadowOffset;s.style.transform=`scale3d(${t}, 1, ${l}) translate3d(0px, ${i/2+w}px, ${-i/2/l}px) rotateX(-89.99deg)`}var r=(o.isSafari||o.isWebView)&&o.needPerspectiveFix?-n/2:0;t.style.transform=`translate3d(0px,0,${r}px) rotateX(${d(g.isHorizontal()?0:u)}deg) rotateY(${d(g.isHorizontal()?-u:0)}deg)`,t.style.setProperty("--swiper-cube-translate-z",r+"px")},setTransition:t=>{const{el:e,slides:s}=g;if(s.forEach(e=>{e.style.transitionDuration=t+"ms",e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>{e.style.transitionDuration=t+"ms"})}),g.params.cubeEffect.shadow&&!g.isHorizontal()){const g=e.querySelector(".swiper-cube-shadow");g&&(g.style.transitionDuration=t+"ms")}},recreateShadows:()=>{const s=g.isHorizontal();g.slides.forEach(e=>{var t=Math.max(Math.min(e.progress,1),-1);w(e,t,s)})},getEffectParams:()=>g.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})},function(e){let{swiper:u,extendParams:t,on:s}=e;t({flipEffect:{slideShadows:!0,limitRotation:!0}});const m=(e,t)=>{let s=u.isHorizontal()?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),a=u.isHorizontal()?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");s=s||Q("flip",e,u.isHorizontal()?"left":"top"),a=a||Q("flip",e,u.isHorizontal()?"right":"bottom"),s&&(s.style.opacity=Math.max(-t,0)),a&&(a.style.opacity=Math.max(t,0))};U({effect:"flip",swiper:u,on:s,setTranslate:()=>{const{slides:r,rtlTranslate:l}=u,n=u.params.flipEffect,o=x(u);for(let c=0;c<r.length;c+=1){const p=r[c];let e=p.progress;u.params.flipEffect.limitRotation&&(e=Math.max(Math.min(p.progress,1),-1));var d=p.swiperSlideOffset;let t=-180*e,s=0,a=u.params.cssMode?-d-u.translate:-d,i=0;u.isHorizontal()?l&&(t=-t):(i=a,a=0,s=-t,t=0),p.style.zIndex=-Math.abs(Math.round(e))+r.length,n.slideShadows&&m(p,e);d=`translate3d(${a}px, ${i}px, 0px) rotateX(${o(s)}deg) rotateY(${o(t)}deg)`;K(0,p).style.transform=d}},setTransition:t=>{const e=u.slides.map(e=>n(e));e.forEach(e=>{e.style.transitionDuration=t+"ms",e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>{e.style.transitionDuration=t+"ms"})}),Z({swiper:u,duration:t,transformElements:e})},recreateShadows:()=>{u.params.flipEffect,u.slides.forEach(e=>{let t=e.progress;u.params.flipEffect.limitRotation&&(t=Math.max(Math.min(e.progress,1),-1)),m(e,t)})},getEffectParams:()=>u.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!u.params.cssMode})})},function(e){let{swiper:y,extendParams:t,on:s}=e;t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),U({effect:"coverflow",swiper:y,on:s,setTranslate:()=>{const{width:e,height:n,slides:o,slidesSizesGrid:v}=y,d=y.params.coverflowEffect,c=y.isHorizontal(),p=y.translate,g=c?e/2-p:n/2-p,u=c?d.rotate:-d.rotate,w=d.depth,m=x(y);for(let h=0,t=o.length;h<t;h+=1){const y=o[h],n=v[h],p=(g-y.swiperSlideOffset-n/2)/n,f="function"==typeof d.modifier?d.modifier(p):p*d.modifier;let e=c?u*f:0,t=c?0:u*f,s=-w*Math.abs(f),a=d.stretch,i=("string"==typeof a&&-1!==a.indexOf("%")&&(a=parseFloat(d.stretch)/100*n),c?0:a*f),r=c?a*f:0,l=1-(1-d.scale)*Math.abs(f);Math.abs(r)<.001&&(r=0),Math.abs(i)<.001&&(i=0),Math.abs(s)<.001&&(s=0),Math.abs(e)<.001&&(e=0),Math.abs(t)<.001&&(t=0),Math.abs(l)<.001&&(l=0);var b=`translate3d(${r}px,${i}px,${s}px)  rotateX(${m(t)}deg) rotateY(${m(e)}deg) scale(${l})`;if(K(0,y).style.transform=b,y.style.zIndex=1-Math.abs(Math.round(f)),d.slideShadows){let e=c?y.querySelector(".swiper-slide-shadow-left"):y.querySelector(".swiper-slide-shadow-top"),t=c?y.querySelector(".swiper-slide-shadow-right"):y.querySelector(".swiper-slide-shadow-bottom");e=e||Q("coverflow",y,c?"left":"top"),t=t||Q("coverflow",y,c?"right":"bottom"),e&&(e.style.opacity=0<f?f:0),t&&(t.style.opacity=0<-f?-f:0)}}},setTransition:t=>{y.slides.map(e=>
1n(e)).forEach(e=>{e.style.transitionDuration=t+"ms",e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>{e.style.transitionDuration=t+"ms"})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})},function(e){let{swiper:y,extendParams:t,on:s}=e;t({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}}),U({effect:"creative",swiper:y,on:s,setTranslate:()=>{const{slides:s,wrapperEl:e,slidesSizesGrid:i}=y,r=y.params.creativeEffect,l=r.progressMultiplier,m=y.params.centeredSlides,n=x(y);if(m){const s=i[0]/2-y.params.slidesOffsetBefore||0;e.style.transform=`translateX(calc(50% - ${s}px))`}for(let o=0;o<s.length;o+=1){const i=s[o],w=i.progress,d=Math.min(Math.max(i.progress,-r.limitProgress),r.limitProgress);let e=d;m||(e=Math.min(Math.max(i.originalProgress,-r.limitProgress),r.limitProgress));const b=i.swiperSlideOffset,c=[y.params.cssMode?-b-y.translate:-b,0,0],p=[0,0,0];let t=!1,a=(y.isHorizontal()||(c[1]=c[0],c[0]=0),{translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1});d<0?(a=r.next,t=!0):0<d&&(a=r.prev,t=!0),c.forEach((e,t)=>{var s;c[t]=`calc(${e}px + (${s=a.translate[t],"string"==typeof s?s:s+"px"} * ${Math.abs(d*l)}))`}),p.forEach((e,t)=>{var s=a.rotate[t]*Math.abs(d*l);p[t]=s}),i.style.zIndex=-Math.abs(Math.round(w))+s.length;var h=c.join(", "),f=`rotateX(${n(p[0])}deg) rotateY(${n(p[1])}deg) rotateZ(${n(p[2])}deg)`,v=e<0?`scale(${1+(1-a.scale)*e*l})`:`scale(${1-(1-a.scale)*e*l})`,g=e<0?1+(1-a.opacity)*e*l:1-(1-a.opacity)*e*l,h=`translate3d(${h}) ${f} `+v;if(t&&a.shadow||!t){let e=i.querySelector(".swiper-slide-shadow");if(!e&&a.shadow&&(e=Q("creative",i)),e){const y=r.shadowPerProgress?d*(1/r.limitProgress):d;e.style.opacity=Math.min(Math.max(Math.abs(y),0),1)}}const u=K(0,i);u.style.transform=h,u.style.opacity=g,a.origin&&(u.style.transformOrigin=a.origin)}},setTransition:t=>{const e=y.slides.map(e=>n(e));e.forEach(e=>{e.style.transitionDuration=t+"ms",e.querySelectorAll(".swiper-slide-shadow").forEach(e=>{e.style.transitionDuration=t+"ms"})}),Z({swiper:y,duration:t,transformElements:e,allSlides:!0})},perspective:()=>y.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!y.params.cssMode})})},function(e){let{swiper:y,extendParams:t,on:s}=e;t({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),U({effect:"cards",swiper:y,on:s,setTranslate:()=>{const{slides:l,activeIndex:n,rtlTranslate:o}=y,d=y.params.cardsEffect,{startTranslate:v,isTouched:g}=y.touchEventsData,w=o?-y.translate:y.translate;for(let u=0;u<l.length;u+=1){const m=l[u],h=m.progress,f=Math.min(Math.max(h,-4),4);let e=m.swiperSlideOffset,t=(y.params.centeredSlides&&!y.params.cssMode&&(y.wrapperEl.style.transform=`translateX(${y.minTranslate()}px)`),y.params.centeredSlides&&y.params.cssMode&&(e-=l[0].swiperSlideOffset),y.params.cssMode?-e-y.translate:-e),s=0;var b=-100*Math.abs(f);let a=1,i=-d.perSlideRotate*f,r=d.perSlideOffset-.75*Math.abs(f);var c=y.virtual&&y.params.virtual.enabled?y.virtual.from+u:u,p=(c===n||c===n-1)&&0<f&&f<1&&(g||y.params.cssMode)&&w<v,c=(c===n||c===n+1)&&f<0&&-1<f&&(g||y.params.cssMode)&&v<w;if(p||c){const l=(1-Math.abs((Math.abs(f)-.5)/.5))**.5;i+=-28*f*l,a+=-.5*l,r+=96*l,s=-25*l*Math.abs(f)+"%"}if(t=f<0?`calc(${t}px ${o?"-":"+"} (${r*Math.abs(f)}%))`:0<f?`calc(${t}px ${o?"-":"+"} (-${r*Math.abs(f)}%))`:t+"px",!y.isHorizontal()){const l=s;s=t,t=l}p=f<0?""+(1+(1-a)*f):""+(1-(1-a)*f),c=`
2        translate3d(${t}, ${s}, ${b}px)
3        rotateZ(${d.rotate?o?-i:i:0}deg)
4        scale(${p})
5      `;if(d.slideShadows){let e=m.querySelector(".swiper-slide-shadow");e=e||Q("cards",m),e&&(e.style.opacity=Math.min(Math.max((Math.abs(f)-.5)/.5,0),1))}m.style.zIndex=-Math.abs(Math.round(h))+l.length,K(0,m).style.transform=c}},setTransition:t=>{const e=y.slides.map(e=>n(e));e.forEach(e=>{e.style.transitionDuration=t+"ms",e.querySelectorAll(".swiper-slide-shadow").forEach(e
5=>{e.style.transitionDuration=t+"ms"})}),Z({swiper:y,duration:t,transformElements:e})},perspective:()=>!0,overwriteParams:()=>({_loopSwapReset:!1,watchSlidesProgress:!0,loopAdditionalSlides:y.params.cardsEffect.rotate?3:2,centeredSlides:!0,virtualTranslate:!y.params.cssMode})})}]),d}();function wf_Init_PrductDetails_Swiper(){var e;document.querySelector(".wa-carousel-edit-product .thumbs-swiper .swiper-slide")&&(e=new Swiper(".thumbs-swiper",{slidesPerView:"auto",spaceBetween:8,freeMode:!0,watchSlidesProgress:!0,watchSlidesVisibility:!0,breakpoints:{0:{spaceBetween:8},600:{spaceBetween:10}},a11y:{enabled:!0}}),new Swiper(".wa-carousel-edit-product .main-swiper",{loop:!0,effect:"slide",fadeEffect:{crossFade:!0},spaceBetween:0,keyboard:{enabled:!0},navigation:!1,thumbs:{swiper:e},a11y:{enabled:!0},on:{slideChange(a){const e=document.querySelectorAll(".wa-carousel-edit-product .thumbs-swiper .swiper-slide");e.forEach((e,t)=>{var s=t===a.realIndex;e.setAttribute("aria-selected",s?"true":"false"),e.tabIndex=s?0:-1})}}}))}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.