(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7722],{72705:function(){},49964:function(){},72993:function(){},40123:function(){},26422:function(){},64846:function(e,t,i){"use strict";i.d(t,{tq:function(){return w},o5:function(){return S}});var s=i(27378),r=i(91624);function a(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function l(e,t){let i=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>0>i.indexOf(e)).forEach(i=>{void 0===e[i]?e[i]=t[i]:a(t[i])&&a(e[i])&&Object.keys(t[i]).length>0?t[i].__swiper__?e[i]=t[i]:l(e[i],t[i]):e[i]=t[i]})}function n(e={}){return e.navigation&&void 0===e.navigation.nextEl&&void 0===e.navigation.prevEl}function o(e={}){return e.pagination&&void 0===e.pagination.el}function d(e={}){return e.scrollbar&&void 0===e.scrollbar.el}function c(e=""){let t=e.split(" ").map(e=>e.trim()).filter(e=>!!e),i=[];return t.forEach(e=>{0>i.indexOf(e)&&i.push(e)}),i.join(" ")}let p=["modules","init","_direction","oneWayMovement","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopedSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideNextClass","slidePrevClass","wrapperClass","lazyPreloaderClass","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control","injectStyles","injectStylesUrls"];function u(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}let f=e=>{e&&!e.destroyed&&e.params.virtual&&(!e.params.virtual||e.params.virtual.enabled)&&(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())};function h(e,t){return"undefined"==typeof window?(0,s.useEffect)(e,t):(0,s.useLayoutEffect)(e,t)}let m=(0,s.createContext)(null),g=(0,s.createContext)(null);function v(){return(v=Object.assign?Object.assign.bind():function(e){for(var t=1;te.replace(/_/,"")),c=Object.assign({},e);return Object.keys(c).forEach(r=>{void 0!==e[r]&&(d.indexOf(r)>=0?a(e[r])?(i[r]={},n[r]={},l(i[r],e[r]),l(n[r],e[r])):(i[r]=e[r],n[r]=e[r]):0===r.search(/on[A-Z]/)&&"function"==typeof e[r]?t?s[`${r[2].toLowerCase()}${r.substr(3)}`]=e[r]:i.on[`${r[2].toLowerCase()}${r.substr(3)}`]=e[r]:o[r]=e[r])}),["navigation","pagination","scrollbar"].forEach(e=>{!0===i[e]&&(i[e]={}),!1===i[e]&&delete i[e]}),{params:i,passedParams:n,rest:o,events:s}}(T),{slides:V,slots:H}=function(e){let t=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return s.Children.toArray(e).forEach(e=>{if(u(e))t.push(e);else if(e.props&&e.props.slot&&i[e.props.slot])i[e.props.slot].push(e);else if(e.props&&e.props.children){let r=function e(t){let i=[];return s.Children.toArray(t).forEach(t=>{u(t)?i.push(t):t.props&&t.props.children&&e(t.props.children).forEach(e=>i.push(e))}),i}(e.props.children);r.length>0?r.forEach(e=>t.push(e)):i["container-end"].push(e)}else i["container-end"].push(e)}),{slides:t,slots:i}}(b),R=()=>{k(!P)};Object.assign(D.on,{_containerClasses(e,t){x(t)}});let q=()=>{Object.assign(D.on,F),y=!0;let e={...D};if(delete e.wrapperClass,_.current=new r.ZP(e),_.current.virtual&&_.current.params.virtual.enabled){_.current.virtual.slides=V;let e={cache:!1,slides:V,renderExternal:M,renderExternalUpdate:!1};l(_.current.params.virtual,e),l(_.current.originalParams.virtual,e)}};O.current||q(),_.current&&_.current.on("_beforeBreakpoint",R);let W=()=>{!y&&F&&_.current&&Object.keys(F).forEach(e=>{_.current.on(e,F[e])})},X=()=>{F&&_.current&&Object.keys(F).forEach(e=>{_.current.off(e,F[e])})};return(0,s.useEffect)(()=>()=>{_.current&&_.current.off("_beforeBreakpoint",R)}),(0,s.useEffect)(()=>{!L.current&&_.current&&(_.current.emitSlidesClasses(),L.current=!0)}),h(()=>{if(t&&(t.current=O.current),O.current)return _.current.destroyed&&q(),function({el:e,nextEl:t,prevEl:i,paginationEl:s,scrollbarEl:r,swiper:a},l){n(l)&&t&&i&&(a.params.navigation.nextEl=t,a.originalParams.navigation.nextEl=t,a.params.navigation.prevEl=i,a.originalParams.navigation.prevEl=i),o(l)&&s&&(a.params.pagination.el=s,a.originalParams.pagination.el=s),d(l)&&r&&(a.params.scrollbar.el=r,a.originalParams.scrollbar.el=r),a.init(e)}({el:O.current,nextEl:z.current,prevEl:$.current,paginationEl:G.current,scrollbarEl:B.current,swiper:_.current},D),S&&S(_.current),()=>{_.current&&!_.current.destroyed&&_.current.destroy(!0,!1)}},[]),h(()=>{W();let e=function(e,t,i,s,r){let l=[];if(!t)return l;let n=e=>{0>l.indexOf(e)&&l.push(e)};if(i&&s){let e=s.map(r),t=i.map(r);e.join("")!==t.join("")&&n("children"),s.length!==i.length&&n("children")}let o=p.filter(e=>"_"===e[0]).map(e=>e.replace(/_/,""));return o.forEach(i=>{if(i in e&&i in t){if(a(e[i])&&a(t[i])){let s=Object.keys(e[i]),r=Object.keys(t[i]);s.length!==r.length?n(i):(s.forEach(s=>{e[i][s]!==t[i][s]&&n(i)}),r.forEach(s=>{e[i][s]!==t[i][s]&&n(i)}))}else e[i]!==t[i]&&n(i)}}),l}(N,A.current,V,I.current,e=>e.key);return A.current=N,I.current=V,e.length&&_.current&&!_.current.destroyed&&function({swiper:e,slides:t,passedParams:i,changedParams:s,nextEl:r,prevEl:n,scrollbarEl:o,paginationEl:d}){let c,p,u,f,h,m,g,v;let w=s.filter(e=>"children"!==e&&"direction"!==e&&"wrapperClass"!==e),{params:b,pagination:S,navigation:T,scrollbar:y,virtual:E,thumbs:x}=e;s.includes("thumbs")&&i.thumbs&&i.thumbs.swiper&&b.thumbs&&!b.thumbs.swiper&&(c=!0),s.includes("controller")&&i.controller&&i.controller.control&&b.controller&&!b.controller.control&&(p=!0),s.includes("pagination")&&i.pagination&&(i.pagination.el||d)&&(b.pagination||!1===b.pagination)&&S&&!S.el&&(u=!0),s.includes("scrollbar")&&i.scrollbar&&(i.scrollbar.el||o)&&(b.scrollbar||!1===b.scrollbar)&&y&&!y.el&&(f=!0),s.includes("navigation")&&i.navigation&&(i.navigation.prevEl||n)&&(i.navigation.nextEl||r)&&(b.navigation||!1===b.navigation)&&T&&!T.prevEl&&!T.nextEl&&(h=!0);let C=t=>{e[t]&&(e[t].destroy(),"navigation"===t?(e.isElement&&(e[t].prevEl.remove(),e[t].nextEl.remove()),b[t].prevEl=void 0,b[t].nextEl=void 0,e[t].prevEl=void 0,e[t].nextEl=void 0):(e.isElement&&e[t].el.remove(),b[t].el=void 0,e[t].el=void 0))};if(s.includes("loop")&&e.isElement&&(b.loop&&!i.loop?m=!0:!b.loop&&i.loop?g=!0:v=!0),w.forEach(e=>{if(a(b[e])&&a(i[e]))l(b[e],i[e]);else{let t=i[e];(!0===t||!1===t)&&("navigation"===e||"pagination"===e||"scrollbar"===e)?!1===t&&C(e):b[e]=i[e]}}),w.includes("controller")&&!p&&e.controller&&e.controller.control&&b.controller&&b.controller.control&&(e.controller.control=b.controller.control),s.includes("children")&&t&&E&&b.virtual.enabled&&(E.slides=t,E.update(!0)),s.includes("children")&&t&&b.loop&&(v=!0),c){let e=x.init();e&&x.update(!0)}p&&(e.controller.control=b.controller.control),u&&(e.isElement&&(!d||"string"==typeof d)&&((d=document.createElement("div")).classList.add("swiper-pagination"),e.el.shadowEl.appendChild(d)),d&&(b.pagination.el=d),S.init(),S.render(),S.update()),f&&(e.isElement&&(!o||"string"==typeof o)&&((o=document.createElement("div")).classList.add("swiper-scrollbar"),e.el.shadowEl.appendChild(o)),o&&(b.scrollbar.el=o),y.init(),y.updateSize(),y.setTranslate()),h&&(e.isElement&&(r&&"string"!=typeof r||((r=document.createElement("div")).classList.add("swiper-button-next"),e.el.shadowEl.appendChild(r)),n&&"string"!=typeof n||((n=document.createElement("div")).classList.add("swiper-button-prev"),e.el.shadowEl.appendChild(n))),r&&(b.navigation.nextEl=r),n&&(b.navigation.prevEl=n),T.init(),T.update()),s.includes("allowSlideNext")&&(e.allowSlideNext=i.allowSlideNext),s.includes("allowSlidePrev")&&(e.allowSlidePrev=i.allowSlidePrev),s.includes("direction")&&e.changeDirection(i.direction,!1),(m||v)&&e.loopDestroy(),(g||v)&&e.loopCreate(),e.update()}({swiper:_.current,slides:V,passedParams:N,changedParams:e,nextEl:z.current,prevEl:$.current,scrollbarEl:B.current,paginationEl:G.current}),()=>{X()}}),h(()=>{f(_.current)},[C]),s.createElement(m,v({ref:O,className:c(`${E}${i?` ${i}`:""}`)},j),s.createElement(g.Provider,{value:_.current},H["container-start"],s.createElement(w,{className:function(e=""){return e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}(D.wrapperClass)},H["wrapper-start"],D.virtual?function(e,t,i){if(!i)return null;let r=e=>{let i=e;return e<0?i=t.length+e:i>=t.length&&(i-=t.length),i},a=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:l,to:n}=i,o=e.params.loop?-t.length:0,d=e.params.loop?2*t.length:t.length,c=[];for(let e=o;e=l&&e<=n&&c.push(t[r(e)]);return c.map(t=>s.cloneElement(t,{swiper:e,style:a}))}(_.current,V,C):V.map((e,t)=>s.cloneElement(e,{swiper:_.current,swiperSlideIndex:t})),H["wrapper-end"]),n(D)&&s.createElement(s.Fragment,null,s.createElement("div",{ref:$,className:"swiper-button-prev"}),s.createElement("div",{ref:z,className:"swiper-button-next"})),d(D)&&s.createElement("div",{ref:B,className:"swiper-scrollbar"}),o(D)&&s.createElement("div",{ref:G,className:"swiper-pagination"}),H["container-end"]))});function b(){return(b=Object.assign?Object.assign.bind():function(e){for(var t=1;t{if(void 0!==p&&(f.current.swiperSlideIndex=p),t&&(t.current=f.current),f.current&&l){if(l.destroyed){"swiper-slide"!==g&&v("swiper-slide");return}return l.on("_slideClass",T),()=>{l&&l.off("_slideClass",T)}}}),h(()=>{l&&f.current&&!l.destroyed&&v(l.getSlideClasses(f.current))},[l]);let y={isActive:g.indexOf("swiper-slide-active")>=0,isVisible:g.indexOf("swiper-slide-visible")>=0,isPrev:g.indexOf("swiper-slide-prev")>=0,isNext:g.indexOf("swiper-slide-next")>=0},E=()=>"function"==typeof r?r(y):r,x=()=>{S(!0)};return s.createElement(i,b({ref:f,className:c(`${g}${a?` ${a}`:""}`),"data-swiper-slide-index":d,onLoad:x},u),n&&s.createElement(m.Provider,{value:y},s.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"==typeof n?n:void 0},E(),o&&!w&&s.createElement("div",{className:"swiper-lazy-preloader"}))),!n&&s.createElement(m.Provider,{value:y},E(),o&&!w&&s.createElement("div",{className:"swiper-lazy-preloader"})))});S.displayName="SwiperSlide"},91624:function(e,t,i){"use strict";let s,r,a,l;function n(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function o(e={},t={}){Object.keys(t).forEach(i=>{void 0===e[i]?e[i]=t[i]:n(t[i])&&n(e[i])&&Object.keys(t[i]).length>0&&o(e[i],t[i])})}i.d(t,{Rv:function(){return K},W_:function(){return W},tl:function(){return Y},o3:function(){return U},ZP:function(){return R}});let d={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 c(){let e="undefined"!=typeof document?document:{};return o(e,d),e}let p={document:d,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 u(){let e="undefined"!=typeof window?window:{};return o(e,p),e}function f(e,t=0){return setTimeout(e,t)}function h(){return Date.now()}function m(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function g(...e){let t=Object(e[0]),i=["__proto__","constructor","prototype"];for(let s=1;s0>i.indexOf(e));for(let i=0,s=e.length;ia?"next":"prev",d=(e,t)=>"next"===o&&e>=t||"prev"===o&&e<=t,c=()=>{s=new Date().getTime(),null===l&&(l=s);let o=Math.max(Math.min((s-l)/n,1),0),p=a+(.5-Math.cos(o*Math.PI)/2)*(t-a);if(d(p,t)&&(p=t),e.wrapperEl.scrollTo({[i]:p}),d(p,t)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[i]:p})}),r.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=r.requestAnimationFrame(c)};c()}function b(e,t=""){return[...e.children].filter(e=>e.matches(t))}function S(e,t=[]){let i=document.createElement(e);return i.classList.add(...Array.isArray(t)?t:[t]),i}function T(e,t){let i=u();return i.getComputedStyle(e,null).getPropertyValue(t)}function y(e){let t,i=e;if(i){for(t=0;null!==(i=i.previousSibling);)1===i.nodeType&&(t+=1);return t}}function E(e,t){let i=[],s=e.parentElement;for(;s;)t?s.matches(t)&&i.push(s):i.push(s),s=s.parentElement;return i}function x(e,t){t&&e.addEventListener("transitionend",function i(s){s.target===e&&(t.call(e,s),e.removeEventListener("transitionend",i))})}function C(e,t,i){let s=u();return i?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(s.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(s.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function M(){return s||(s=function(){let e=u(),t=c();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),s}function P({swiper:e,runCallbacks:t,direction:i,step:s}){let{activeIndex:r,previousIndex:a}=e,l=i;if(l||(l=r>a?"next":r0||r.isTouched&&r.isMoved)return;let p=!!a.noSwipingClass&&""!==a.noSwipingClass,f=e.composedPath?e.composedPath():e.path;p&&o.target&&o.target.shadowRoot&&f&&(d=f[0]);let m=a.noSwipingSelector?a.noSwipingSelector:`.${a.noSwipingClass}`,g=!!(o.target&&o.target.shadowRoot);if(a.noSwiping&&(g?function(e,t=this){return function t(i){if(!i||i===c()||i===u())return null;i.assignedSlot&&(i=i.assignedSlot);let s=i.closest(e);return s||i.getRootNode?s||t(i.getRootNode().host):null}(t)}(m,d):d.closest(m))){t.allowClick=!0;return}if(a.swipeHandler&&!d.closest(a.swipeHandler))return;l.currentX=o.pageX,l.currentY=o.pageY;let v=l.currentX,w=l.currentY,b=a.edgeSwipeDetection||a.iOSEdgeSwipeDetection,S=a.edgeSwipeThreshold||a.iOSEdgeSwipeThreshold;if(b&&(v<=S||v>=s.innerWidth-S)){if("prevent"!==b)return;e.preventDefault()}Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=v,l.startY=w,r.touchStartTime=h(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,a.threshold>0&&(r.allowThresholdMove=!1);let T=!0;d.matches(r.focusableElements)&&(T=!1,"SELECT"===d.nodeName&&(r.isTouched=!1)),i.activeElement&&i.activeElement.matches(r.focusableElements)&&i.activeElement!==d&&i.activeElement.blur();let y=T&&t.allowTouchMove&&a.touchStartPreventDefault;(a.touchStartForcePreventDefault||y)&&!d.isContentEditable&&o.preventDefault(),t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!a.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",o)}function L(e){let t;let i=c(),s=this,r=s.touchEventsData,{params:a,touches:l,rtlTranslate:n,enabled:o}=s;if(!o||!a.simulateTouch&&"mouse"===e.pointerType)return;let d=e;if(d.originalEvent&&(d=d.originalEvent),!r.isTouched){r.startMoving&&r.isScrolling&&s.emit("touchMoveOpposite",d);return}let p=r.evCache.findIndex(e=>e.pointerId===d.pointerId);p>=0&&(r.evCache[p]=d);let u=r.evCache.length>1?r.evCache[0]:d,f=u.pageX,m=u.pageY;if(d.preventedByNestedSwiper){l.startX=f,l.startY=m;return}if(!s.allowTouchMove){d.target.matches(r.focusableElements)||(s.allowClick=!1),r.isTouched&&(Object.assign(l,{startX:f,startY:m,prevX:s.touches.currentX,prevY:s.touches.currentY,currentX:f,currentY:m}),r.touchStartTime=h());return}if(a.touchReleaseOnEdges&&!a.loop){if(s.isVertical()){if(ml.startY&&s.translate>=s.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else if(fl.startX&&s.translate>=s.minTranslate())return}if(i.activeElement&&d.target===i.activeElement&&d.target.matches(r.focusableElements)){r.isMoved=!0,s.allowClick=!1;return}if(r.allowTouchCallbacks&&s.emit("touchMove",d),d.targetTouches&&d.targetTouches.length>1)return;l.currentX=f,l.currentY=m;let g=l.currentX-l.startX,v=l.currentY-l.startY;if(s.params.threshold&&Math.sqrt(g**2+v**2)=25&&(e=180*Math.atan2(Math.abs(v),Math.abs(g))/Math.PI,r.isScrolling=s.isHorizontal()?e>a.touchAngle:90-e>a.touchAngle)}if(r.isScrolling&&s.emit("touchMoveOpposite",d),void 0===r.startMoving&&(l.currentX!==l.startX||l.currentY!==l.startY)&&(r.startMoving=!0),r.isScrolling||s.zoom&&s.params.zoom&&s.params.zoom.enabled&&r.evCache.length>1){r.isTouched=!1;return}if(!r.startMoving)return;s.allowClick=!1,!a.cssMode&&d.cancelable&&d.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&d.stopPropagation();let w=s.isHorizontal()?g:v,b=s.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;a.oneWayMovement&&(w=Math.abs(w)*(n?1:-1),b=Math.abs(b)*(n?1:-1)),l.diff=w,w*=a.touchRatio,n&&(w=-w,b=-b);let S=s.touchesDirection;s.swipeDirection=w>0?"prev":"next",s.touchesDirection=b>0?"prev":"next";let T=s.params.loop&&!a.cssMode;if(!r.isMoved){if(T&&s.loopFix({direction:s.swipeDirection}),r.startTranslate=s.getTranslate(),s.setTransition(0),s.animating){let e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});s.wrapperEl.dispatchEvent(e)}r.allowMomentumBounce=!1,a.grabCursor&&(!0===s.allowSlideNext||!0===s.allowSlidePrev)&&s.setGrabCursor(!0),s.emit("sliderFirstMove",d)}r.isMoved&&S!==s.touchesDirection&&T&&Math.abs(w)>=1&&(s.loopFix({direction:s.swipeDirection,setTranslate:!0}),t=!0),s.emit("sliderMove",d),r.isMoved=!0,r.currentTranslate=w+r.startTranslate;let y=!0,E=a.resistanceRatio;if(a.touchReleaseOnEdges&&(E=0),w>0?(T&&!t&&r.currentTranslate>(a.centeredSlides?s.minTranslate()-s.size/2:s.minTranslate())&&s.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>s.minTranslate()&&(y=!1,a.resistance&&(r.currentTranslate=s.minTranslate()-1+(-s.minTranslate()+r.startTranslate+w)**E))):w<0&&(T&&!t&&r.currentTranslate<(a.centeredSlides?s.maxTranslate()+s.size/2:s.maxTranslate())&&s.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:s.slides.length-("auto"===a.slidesPerView?s.slidesPerViewDynamic():Math.ceil(parseFloat(a.slidesPerView,10)))}),r.currentTranslater.startTranslate&&(r.currentTranslate=r.startTranslate),s.allowSlidePrev||s.allowSlideNext||(r.currentTranslate=r.startTranslate),a.threshold>0){if(Math.abs(w)>a.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0,l.startX=l.currentX,l.startY=l.currentY,r.currentTranslate=r.startTranslate,l.diff=s.isHorizontal()?l.currentX-l.startX:l.currentY-l.startY;return}}else{r.currentTranslate=r.startTranslate;return}}a.followFinger&&!a.cssMode&&((a.freeMode&&a.freeMode.enabled&&s.freeMode||a.watchSlidesProgress)&&(s.updateActiveIndex(),s.updateSlidesClasses()),s.params.freeMode&&a.freeMode.enabled&&s.freeMode&&s.freeMode.onTouchMove(),s.updateProgress(r.currentTranslate),s.setTranslate(r.currentTranslate))}function O(e){let t;let i=this,s=i.touchEventsData,r=s.evCache.findIndex(t=>t.pointerId===e.pointerId);if(r>=0&&s.evCache.splice(r,1),["pointercancel","pointerout","pointerleave"].includes(e.type)){let t="pointercancel"===e.type&&(i.browser.isSafari||i.browser.isWebView);if(!t)return}let{params:a,touches:l,rtlTranslate:n,slidesGrid:o,enabled:d}=i;if(!d||!a.simulateTouch&&"mouse"===e.pointerType)return;let c=e;if(c.originalEvent&&(c=c.originalEvent),s.allowTouchCallbacks&&i.emit("touchEnd",c),s.allowTouchCallbacks=!1,!s.isTouched){s.isMoved&&a.grabCursor&&i.setGrabCursor(!1),s.isMoved=!1,s.startMoving=!1;return}a.grabCursor&&s.isMoved&&s.isTouched&&(!0===i.allowSlideNext||!0===i.allowSlidePrev)&&i.setGrabCursor(!1);let p=h(),u=p-s.touchStartTime;if(i.allowClick){let e=c.path||c.composedPath&&c.composedPath();i.updateClickedSlide(e&&e[0]||c.target),i.emit("tap click",c),u<300&&p-s.lastClickTime<300&&i.emit("doubleTap doubleClick",c)}if(s.lastClickTime=h(),f(()=>{i.destroyed||(i.allowClick=!0)}),!s.isTouched||!s.isMoved||!i.swipeDirection||0===l.diff||s.currentTranslate===s.startTranslate){s.isTouched=!1,s.isMoved=!1,s.startMoving=!1;return}if(s.isTouched=!1,s.isMoved=!1,s.startMoving=!1,t=a.followFinger?n?i.translate:-i.translate:-s.currentTranslate,a.cssMode)return;if(i.params.freeMode&&a.freeMode.enabled){i.freeMode.onTouchEnd({currentPos:t});return}let m=0,g=i.slidesSizesGrid[0];for(let e=0;e=o[e]&&t=o[e]&&(m=e,g=o[o.length-1]-o[o.length-2])}let v=null,w=null;a.rewind&&(i.isBeginning?w=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1:i.isEnd&&(v=0));let b=(t-o[m])/g,S=ma.longSwipesMs){if(!a.longSwipes){i.slideTo(i.activeIndex);return}"next"===i.swipeDirection&&(b>=a.longSwipesRatio?i.slideTo(a.rewind&&i.isEnd?v:m+S):i.slideTo(m)),"prev"===i.swipeDirection&&(b>1-a.longSwipesRatio?i.slideTo(m+S):null!==w&&b<0&&Math.abs(b)>a.longSwipesRatio?i.slideTo(w):i.slideTo(m))}else{if(!a.shortSwipes){i.slideTo(i.activeIndex);return}let e=i.navigation&&(c.target===i.navigation.nextEl||c.target===i.navigation.prevEl);e?c.target===i.navigation.nextEl?i.slideTo(m+S):i.slideTo(m):("next"===i.swipeDirection&&i.slideTo(null!==v?v:m+S),"prev"===i.swipeDirection&&i.slideTo(null!==w?w:m))}}function _(){let e=this,{params:t,el:i}=e;if(i&&0===i.offsetWidth)return;t.breakpoints&&e.setBreakpoint();let{allowSlideNext:s,allowSlidePrev:r,snapGrid:a}=e,n=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();let o=n&&t.loop;"auto"!==t.slidesPerView&&!(t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||o?e.params.loop&&!n?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(l),l=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=r,e.allowSlideNext=s,e.params.watchOverflow&&a!==e.snapGrid&&e.checkOverflow()}function A(e){this.enabled&&!this.allowClick&&(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function I(){let e=this,{wrapperEl:t,rtlTranslate:i,enabled:s}=e;if(!s)return;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();let r=e.maxTranslate()-e.minTranslate();(0===r?0:(e.translate-e.minTranslate())/r)!==e.progress&&e.updateProgress(i?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}let z=(e,t)=>{if(!e||e.destroyed||!e.params)return;let i=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(i){let t=i.querySelector(`.${e.params.lazyPreloaderClass}`);t&&t.remove()}};function $(e){z(this,e.target),this.update()}let G=!1;function B(){}let D=(e,t)=>{let i=c(),{params:s,el:r,wrapperEl:a,device:l}=e,n=!!s.nested,o="on"===t?"addEventListener":"removeEventListener";r[o]("pointerdown",e.onTouchStart,{passive:!1}),i[o]("pointermove",e.onTouchMove,{passive:!1,capture:n}),i[o]("pointerup",e.onTouchEnd,{passive:!0}),i[o]("pointercancel",e.onTouchEnd,{passive:!0}),i[o]("pointerout",e.onTouchEnd,{passive:!0}),i[o]("pointerleave",e.onTouchEnd,{passive:!0}),(s.preventClicks||s.preventClicksPropagation)&&r[o]("click",e.onClick,!0),s.cssMode&&a[o]("scroll",e.onScroll),s.updateOnWindowResize?e[t](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",_,!0):e[t]("observerUpdate",_,!0),r[o]("load",e.onLoad,{capture:!0})},N=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var j={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,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,loopedSlides:null,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",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",runCallbacksOnInit:!0,_emitClasses:!1};let F={eventsEmitter:{on(e,t,i){let s=this;if(!s.eventsListeners||s.destroyed||"function"!=typeof t)return s;let r=i?"unshift":"push";return e.split(" ").forEach(e=>{s.eventsListeners[e]||(s.eventsListeners[e]=[]),s.eventsListeners[e][r](t)}),s},once(e,t,i){let s=this;if(!s.eventsListeners||s.destroyed||"function"!=typeof t)return s;function r(...i){s.off(e,r),r.__emitterProxy&&delete r.__emitterProxy,t.apply(s,i)}return r.__emitterProxy=t,s.on(e,r,i)},onAny(e,t){return!this.eventsListeners||this.destroyed||"function"!=typeof e||0>this.eventsAnyListeners.indexOf(e)&&this.eventsAnyListeners[t?"unshift":"push"](e),this},offAny(e){if(!this.eventsListeners||this.destroyed||!this.eventsAnyListeners)return this;let t=this.eventsAnyListeners.indexOf(e);return t>=0&&this.eventsAnyListeners.splice(t,1),this},off(e,t){let i=this;return i.eventsListeners&&!i.destroyed&&i.eventsListeners&&e.split(" ").forEach(e=>{void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].forEach((s,r)=>{(s===t||s.__emitterProxy&&s.__emitterProxy===t)&&i.eventsListeners[e].splice(r,1)})}),i},emit(...e){let t,i,s;let r=this;if(!r.eventsListeners||r.destroyed||!r.eventsListeners)return r;"string"==typeof e[0]||Array.isArray(e[0])?(t=e[0],i=e.slice(1,e.length),s=r):(t=e[0].events,i=e[0].data,s=e[0].context||r),i.unshift(s);let a=Array.isArray(t)?t:t.split(" ");return a.forEach(e=>{r.eventsAnyListeners&&r.eventsAnyListeners.length&&r.eventsAnyListeners.forEach(t=>{t.apply(s,[e,...i])}),r.eventsListeners&&r.eventsListeners[e]&&r.eventsListeners[e].forEach(e=>{e.apply(s,i)})}),r}},update:{updateSize:function(){let e,t;let i=this.el;e=void 0!==this.params.width&&null!==this.params.width?this.params.width:i.clientWidth,t=void 0!==this.params.height&&null!==this.params.height?this.params.height:i.clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt(T(i,"padding-left")||0,10)-parseInt(T(i,"padding-right")||0,10),t=t-parseInt(T(i,"padding-top")||0,10)-parseInt(T(i,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){let e;let t=this;function i(e){return t.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]}function s(e,t){return parseFloat(e.getPropertyValue(i(t))||0)}let r=t.params,{wrapperEl:a,slidesEl:l,size:n,rtlTranslate:o,wrongRTL:d}=t,c=t.virtual&&r.virtual.enabled,p=c?t.virtual.slides.length:t.slides.length,u=b(l,`.${t.params.slideClass}, swiper-slide`),f=c?t.virtual.slides.length:u.length,h=[],m=[],g=[],w=r.slidesOffsetBefore;"function"==typeof w&&(w=r.slidesOffsetBefore.call(t));let S=r.slidesOffsetAfter;"function"==typeof S&&(S=r.slidesOffsetAfter.call(t));let y=t.snapGrid.length,E=t.slidesGrid.length,x=r.spaceBetween,M=-w,P=0,k=0;if(void 0===n)return;"string"==typeof x&&x.indexOf("%")>=0&&(x=parseFloat(x.replace("%",""))/100*n),t.virtualSize=-x,u.forEach(e=>{o?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),r.centeredSlides&&r.cssMode&&(v(a,"--swiper-centered-offset-before",""),v(a,"--swiper-centered-offset-after",""));let L=r.grid&&r.grid.rows>1&&t.grid;L&&t.grid.initSlides(f);let O="auto"===r.slidesPerView&&r.breakpoints&&Object.keys(r.breakpoints).filter(e=>void 0!==r.breakpoints[e].slidesPerView).length>0;for(let a=0;aMath.abs(M)&&(M=0),r.roundLengths&&(M=Math.floor(M)),k%r.slidesPerGroup==0&&h.push(M),m.push(M)):(r.roundLengths&&(M=Math.floor(M)),(k-Math.min(t.params.slidesPerGroupSkip,k))%t.params.slidesPerGroup==0&&h.push(M),m.push(M),M=M+e+x),t.virtualSize+=e+x,P=e,k+=1}}if(t.virtualSize=Math.max(t.virtualSize,n)+S,o&&d&&("slide"===r.effect||"coverflow"===r.effect)&&(a.style.width=`${t.virtualSize+r.spaceBetween}px`),r.setWrapperSize&&(a.style[i("width")]=`${t.virtualSize+r.spaceBetween}px`),L&&t.grid.updateWrapperSize(e,h,i),!r.centeredSlides){let e=[];for(let i=0;i1&&h.push(t.virtualSize-n)}if(c&&r.loop){let e=g[0]+x;if(r.slidesPerGroup>1){let i=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/r.slidesPerGroup),s=e*r.slidesPerGroup;for(let e=0;e!r.cssMode||!!r.loop||t!==u.length-1).forEach(t=>{t.style[e]=`${x}px`})}if(r.centeredSlides&&r.centeredSlidesBounds){let e=0;g.forEach(t=>{e+=t+(r.spaceBetween?r.spaceBetween:0)}),e-=r.spaceBetween;let t=e-n;h=h.map(e=>e<0?-w:e>t?t+S:e)}if(r.centerInsufficientSlides){let e=0;if(g.forEach(t=>{e+=t+(r.spaceBetween?r.spaceBetween:0)}),(e-=r.spaceBetween){h[i]=e-t}),m.forEach((e,i)=>{m[i]=e+t})}}if(Object.assign(t,{slides:u,snapGrid:h,slidesGrid:m,slidesSizesGrid:g}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){v(a,"--swiper-centered-offset-before",`${-h[0]}px`),v(a,"--swiper-centered-offset-after",`${t.size/2-g[g.length-1]/2}px`);let e=-t.snapGrid[0],i=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(t=>t+e),t.slidesGrid=t.slidesGrid.map(e=>e+i)}if(f!==p&&t.emit("slidesLengthChange"),h.length!==y&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),m.length!==E&&t.emit("slidesGridLengthChange"),r.watchSlidesProgress&&t.updateSlidesOffset(),!c&&!r.cssMode&&("slide"===r.effect||"fade"===r.effect)){let e=`${r.containerModifierClass}backface-hidden`,i=t.el.classList.contains(e);f<=r.maxBackfaceHiddenSlides?i||t.el.classList.add(e):i&&t.el.classList.remove(e)}},updateAutoHeight:function(e){let t;let i=this,s=[],r=i.virtual&&i.params.virtual.enabled,a=0;"number"==typeof e?i.setTransition(e):!0===e&&i.setTransition(i.params.speed);let l=e=>r?i.slides.filter(t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e)[0]:i.slides[e];if("auto"!==i.params.slidesPerView&&i.params.slidesPerView>1){if(i.params.centeredSlides)(i.visibleSlides||[]).forEach(e=>{s.push(e)});else for(t=0;ti.slides.length&&!r)break;s.push(l(e))}}else s.push(l(i.activeIndex));for(t=0;ta?e:a}(a||0===a)&&(i.wrapperEl.style.height=`${a}px`)},updateSlidesOffset:function(){let e=this.slides,t=this.isElement?this.isHorizontal()?this.wrapperEl.offsetLeft:this.wrapperEl.offsetTop:0;for(let i=0;i{e.classList.remove(i.slideVisibleClass)}),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let e=0;e=0&&p1&&u<=t.size||p<=0&&u>=t.size;f&&(t.visibleSlides.push(n),t.visibleSlidesIndexes.push(e),s[e].classList.add(i.slideVisibleClass)),n.progress=r?-d:d,n.originalProgress=r?-c:c}},updateProgress:function(e){let t=this;if(void 0===e){let i=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*i||0}let i=t.params,s=t.maxTranslate()-t.minTranslate(),{progress:r,isBeginning:a,isEnd:l,progressLoop:n}=t,o=a,d=l;if(0===s)r=0,a=!0,l=!0;else{r=(e-t.minTranslate())/s;let i=1>Math.abs(e-t.minTranslate()),n=1>Math.abs(e-t.maxTranslate());a=i||r<=0,l=n||r>=1,i&&(r=0),n&&(r=1)}if(i.loop){let i=t.getSlideIndex(t.slides.filter(e=>"0"===e.getAttribute("data-swiper-slide-index"))[0]),s=t.getSlideIndex(t.slides.filter(e=>1*e.getAttribute("data-swiper-slide-index")==t.slides.length-1)[0]),r=t.slidesGrid[i],a=t.slidesGrid[s],l=t.slidesGrid[t.slidesGrid.length-1],o=Math.abs(e);(n=o>=r?(o-r)/l:(o+l-a)/l)>1&&(n-=1)}Object.assign(t,{progress:r,progressLoop:n,isBeginning:a,isEnd:l}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&t.updateSlidesProgress(e),a&&!o&&t.emit("reachBeginning toEdge"),l&&!d&&t.emit("reachEnd toEdge"),(o&&!a||d&&!l)&&t.emit("fromEdge"),t.emit("progress",r)},updateSlidesClasses:function(){let e;let{slides:t,params:i,slidesEl:s,activeIndex:r}=this,a=this.virtual&&i.virtual.enabled,l=e=>b(s,`.${i.slideClass}${e}, swiper-slide${e}`)[0];if(t.forEach(e=>{e.classList.remove(i.slideActiveClass,i.slideNextClass,i.slidePrevClass)}),a){if(i.loop){let t=r-this.virtual.slidesBefore;t<0&&(t=this.virtual.slides.length+t),t>=this.virtual.slides.length&&(t-=this.virtual.slides.length),e=l(`[data-swiper-slide-index="${t}"]`)}else e=l(`[data-swiper-slide-index="${r}"]`)}else e=t[r];if(e){e.classList.add(i.slideActiveClass);let s=function(e,t){let i=[];for(;e.nextElementSibling;){let s=e.nextElementSibling;t?s.matches(t)&&i.push(s):i.push(s),e=s}return i}(e,`.${i.slideClass}, swiper-slide`)[0];i.loop&&!s&&(s=t[0]),s&&s.classList.add(i.slideNextClass);let r=function(e,t){let i=[];for(;e.previousElementSibling;){let s=e.previousElementSibling;t?s.matches(t)&&i.push(s):i.push(s),e=s}return i}(e,`.${i.slideClass}, swiper-slide`)[0];i.loop,r&&r.classList.add(i.slidePrevClass)}this.emitSlidesClasses()},updateActiveIndex:function(e){let t,i;let s=this,r=s.rtlTranslate?s.translate:-s.translate,{snapGrid:a,params:l,activeIndex:n,realIndex:o,snapIndex:d}=s,c=e,p=e=>{let t=e-s.virtual.slidesBefore;return t<0&&(t=s.virtual.slides.length+t),t>=s.virtual.slides.length&&(t-=s.virtual.slides.length),t};if(void 0===c&&(c=function(e){let t;let{slidesGrid:i,params:s}=e,r=e.rtlTranslate?e.translate:-e.translate;for(let e=0;e=i[e]&&r=i[e]&&r=i[e]&&(t=e);return s.normalizeSlideIndex&&(t<0||void 0===t)&&(t=0),t}(s)),a.indexOf(r)>=0)t=a.indexOf(r);else{let e=Math.min(l.slidesPerGroupSkip,c);t=e+Math.floor((c-e)/l.slidesPerGroup)}if(t>=a.length&&(t=a.length-1),c===n){t!==d&&(s.snapIndex=t,s.emit("snapIndexChange")),s.params.loop&&s.virtual&&s.params.virtual.enabled&&(s.realIndex=p(c));return}i=s.virtual&&l.virtual.enabled&&l.loop?p(c):s.slides[c]?parseInt(s.slides[c].getAttribute("data-swiper-slide-index")||c,10):c,Object.assign(s,{snapIndex:t,realIndex:i,previousIndex:n,activeIndex:c}),s.emit("activeIndexChange"),s.emit("snapIndexChange"),o!==i&&s.emit("realIndexChange"),(s.initialized||s.params.runCallbacksOnInit)&&s.emit("slideChange")},updateClickedSlide:function(e){let t;let i=this,s=i.params,r=e.closest(`.${s.slideClass}, swiper-slide`),a=!1;if(r){for(let e=0;e6&&(s=s.split(", ").map(e=>e.replace(",",".")).join(", ")),r=new a.WebKitCSSMatrix("none"===s?"":s)):i=(r=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(s=a.WebKitCSSMatrix?r.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(s=a.WebKitCSSMatrix?r.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),s||0}(r,e);return i&&(a=-a),a||0},setTranslate:function(e,t){let i=this,{rtlTranslate:s,params:r,wrapperEl:a,progress:l}=i,n=0,o=0;i.isHorizontal()?n=s?-e:e:o=e,r.roundLengths&&(n=Math.floor(n),o=Math.floor(o)),r.cssMode?a[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-n:-o:r.virtualTranslate||(a.style.transform=`translate3d(${n}px, ${o}px, 0px)`),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?n:o;let d=i.maxTranslate()-i.minTranslate();(0===d?0:(e-i.minTranslate())/d)!==l&&i.updateProgress(e),i.emit("setTranslate",i.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e=0,t=this.params.speed,i=!0,s=!0,r){let a;let l=this,{params:n,wrapperEl:o}=l;if(l.animating&&n.preventInteractionOnTransition)return!1;let d=l.minTranslate(),c=l.maxTranslate();if(a=s&&e>d?d:s&&e=d.length&&(v=d.length-1);let b=-d[v];if(o.normalizeSlideIndex)for(let e=0;e=i&&t=i&&t=i&&(n=e)}if(l.initialized&&n!==u&&(!l.allowSlideNext&&bl.translate&&b>l.maxTranslate()&&(u||0)!==n))return!1;if(n!==(p||0)&&i&&l.emit("beforeSlideChangeStart"),l.updateProgress(b),a=n>u?"next":n0?(l._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{h[e?"scrollLeft":"scrollTop"]=i})):h[e?"scrollLeft":"scrollTop"]=i,t&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._immediateVirtual=!1})}else{if(!l.support.smoothScroll)return w({swiper:l,targetPosition:i,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:i,behavior:"smooth"})}return!0}return l.setTransition(t),l.setTranslate(b),l.updateActiveIndex(n),l.updateSlidesClasses(),l.emit("beforeTransitionStart",t,s),l.transitionStart(i,a),0===t?l.transitionEnd(i,a):l.animating||(l.animating=!0,l.onSlideToWrapperTransitionEnd||(l.onSlideToWrapperTransitionEnd=function(e){l&&!l.destroyed&&e.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onSlideToWrapperTransitionEnd),l.onSlideToWrapperTransitionEnd=null,delete l.onSlideToWrapperTransitionEnd,l.transitionEnd(i,a))}),l.wrapperEl.addEventListener("transitionend",l.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e=0,t=this.params.speed,i=!0,s){if("string"==typeof e){let t=parseInt(e,10);e=t}let r=e;return this.params.loop&&(this.virtual&&this.params.virtual.enabled?r+=this.virtual.slidesBefore:r=this.getSlideIndex(this.slides.filter(e=>1*e.getAttribute("data-swiper-slide-index")===r)[0])),this.slideTo(r,t,i,s)},slideNext:function(e=this.params.speed,t=!0,i){let s=this,{enabled:r,params:a,animating:l}=s;if(!r)return s;let n=a.slidesPerGroup;"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(n=Math.max(s.slidesPerViewDynamic("current",!0),1));let o=s.activeIndexu(e)),m=a[h.indexOf(f)-1];if(void 0===m&&r.cssMode){let e;a.forEach((t,i)=>{f>=t&&(e=i)}),void 0!==e&&(m=a[e>0?e-1:e])}let g=0;if(void 0!==m&&((g=l.indexOf(m))<0&&(g=s.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(g=Math.max(g=g-s.slidesPerViewDynamic("previous",!0)+1,0))),r.rewind&&s.isBeginning){let r=s.params.virtual&&s.params.virtual.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1;return s.slideTo(r,e,t,i)}return s.slideTo(g,e,t,i)},slideReset:function(e=this.params.speed,t=!0,i){return this.slideTo(this.activeIndex,e,t,i)},slideToClosest:function(e=this.params.speed,t=!0,i,s=.5){let r=this.activeIndex,a=Math.min(this.params.slidesPerGroupSkip,r),l=a+Math.floor((r-a)/this.params.slidesPerGroup),n=this.rtlTranslate?this.translate:-this.translate;if(n>=this.snapGrid[l]){let e=this.snapGrid[l],t=this.snapGrid[l+1];n-e>(t-e)*s&&(r+=this.params.slidesPerGroup)}else{let e=this.snapGrid[l-1],t=this.snapGrid[l];n-e<=(t-e)*s&&(r-=this.params.slidesPerGroup)}return r=Math.min(r=Math.max(r,0),this.slidesGrid.length-1),this.slideTo(r,e,t,i)},slideToClickedSlide:function(){let e;let t=this,{params:i,slidesEl:s}=t,r="auto"===i.slidesPerView?t.slidesPerViewDynamic():i.slidesPerView,a=t.clickedIndex,l=t.isElement?"swiper-slide":`.${i.slideClass}`;if(i.loop){if(t.animating)return;e=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),i.centeredSlides?at.slides.length-t.loopedSlides+r/2?(t.loopFix(),a=t.getSlideIndex(b(s,`${l}[data-swiper-slide-index="${e}"]`)[0]),f(()=>{t.slideTo(a)})):t.slideTo(a):a>t.slides.length-r?(t.loopFix(),a=t.getSlideIndex(b(s,`${l}[data-swiper-slide-index="${e}"]`)[0]),f(()=>{t.slideTo(a)})):t.slideTo(a)}else t.slideTo(a)}},loop:{loopCreate:function(e){let{params:t,slidesEl:i}=this;if(!t.loop||this.virtual&&this.params.virtual.enabled)return;let s=b(i,`.${t.slideClass}, swiper-slide`);s.forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}),this.loopFix({slideRealIndex:e,direction:t.centeredSlides?void 0:"next"})},loopFix:function({slideRealIndex:e,slideTo:t=!0,direction:i,setTranslate:s,activeSlideIndex:r,byController:a,byMousewheel:l}={}){let n=this;if(!n.params.loop)return;n.emit("beforeLoopFix");let{slides:o,allowSlidePrev:d,allowSlideNext:c,slidesEl:p,params:u}=n;if(n.allowSlidePrev=!0,n.allowSlideNext=!0,n.virtual&&u.virtual.enabled){t&&(u.centeredSlides||0!==n.snapIndex?u.centeredSlides&&n.snapIndexe.classList.contains("swiper-slide-active"))[0]):v=r;let w="next"===i||!i,b="prev"===i||!i,S=0,T=0;if(rn.slides.length-2*h){T=Math.max(r-(n.slides.length-2*h),u.slidesPerGroup);for(let e=0;e{p.prepend(n.slides[e])}),w&&g.forEach(e=>{p.append(n.slides[e])}),n.recalcSlides(),u.watchSlidesProgress&&n.updateSlidesOffset(),t){if(m.length>0&&b){if(void 0===e){let e=n.slidesGrid[v],t=n.slidesGrid[v+S],i=t-e;l?n.setTranslate(n.translate-i):(n.slideTo(v+S,0,!1,!0),s&&(n.touches[n.isHorizontal()?"startX":"startY"]+=i))}else s&&n.slideToLoop(e,0,!1,!0)}else if(g.length>0&&w){if(void 0===e){let e=n.slidesGrid[v],t=n.slidesGrid[v-T],i=t-e;l?n.setTranslate(n.translate-i):(n.slideTo(v-T,0,!1,!0),s&&(n.touches[n.isHorizontal()?"startX":"startY"]+=i))}else n.slideToLoop(e,0,!1,!0)}}if(n.allowSlidePrev=d,n.allowSlideNext=c,n.controller&&n.controller.control&&!a){let t={slideRealIndex:e,slideTo:!1,direction:i,setTranslate:s,activeSlideIndex:r,byController:!0};Array.isArray(n.controller.control)?n.controller.control.forEach(e=>{e.params.loop&&e.loopFix(t)}):n.controller.control instanceof n.constructor&&n.controller.control.params.loop&&n.controller.control.loopFix(t)}n.emit("loopFix")},loopDestroy:function(){let{slides:e,params:t,slidesEl:i}=this;if(!t.loop||this.virtual&&this.params.virtual.enabled)return;this.recalcSlides();let s=[];e.forEach(e=>{let t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;s[t]=e}),e.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),s.forEach(e=>{i.append(e)}),this.recalcSlides(),this.slideTo(this.realIndex,0)}},grabCursor:{setGrabCursor:function(e){let t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;let i="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})},unsetGrabCursor:function(){let 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(){let e=this,t=c(),{params:i}=e;e.onTouchStart=k.bind(e),e.onTouchMove=L.bind(e),e.onTouchEnd=O.bind(e),i.cssMode&&(e.onScroll=I.bind(e)),e.onClick=A.bind(e),e.onLoad=$.bind(e),G||(t.addEventListener("touchstart",B),G=!0),D(e,"on")},detachEvents:function(){D(this,"off")}},breakpoints:{setBreakpoint:function(){let e=this,{realIndex:t,initialized:i,params:s,el:r}=e,a=s.breakpoints;if(!a||a&&0===Object.keys(a).length)return;let l=e.getBreakpoint(a,e.params.breakpointsBase,e.el);if(!l||e.currentBreakpoint===l)return;let n=l in a?a[l]:void 0,o=n||e.originalParams,d=N(e,s),c=N(e,o),p=s.enabled;d&&!c?(r.classList.remove(`${s.containerModifierClass}grid`,`${s.containerModifierClass}grid-column`),e.emitContainerClasses()):!d&&c&&(r.classList.add(`${s.containerModifierClass}grid`),(o.grid.fill&&"column"===o.grid.fill||!o.grid.fill&&"column"===s.grid.fill)&&r.classList.add(`${s.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(t=>{let i=s[t]&&s[t].enabled,r=o[t]&&o[t].enabled;i&&!r&&e[t].disable(),!i&&r&&e[t].enable()});let u=o.direction&&o.direction!==s.direction,f=s.loop&&(o.slidesPerView!==s.slidesPerView||u);u&&i&&e.changeDirection(),g(e.params,o);let h=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),p&&!h?e.disable():!p&&h&&e.enable(),e.currentBreakpoint=l,e.emit("_beforeBreakpoint",o),f&&i&&(e.loopDestroy(),e.loopCreate(t),e.updateSlides()),e.emit("breakpoint",o)},getBreakpoint:function(e,t="window",i){if(!e||"container"===t&&!i)return;let s=!1,r=u(),a="window"===t?r.innerHeight:i.clientHeight,l=Object.keys(e).map(e=>{if("string"==typeof e&&0===e.indexOf("@")){let t=parseFloat(e.substr(1));return{value:a*t,point:e}}return{value:e,point:e}});l.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;ei}else e.isLocked=1===e.snapGrid.length;!0===i.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===i.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){let{classNames:e,params:t,rtl:i,el:s,device:r}=this,a=function(e,t){let i=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(s=>{e[s]&&i.push(t+s)}):"string"==typeof e&&i.push(t+e)}),i}(["initialized",t.direction,{"free-mode":this.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:i},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&"column"===t.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...a),s.classList.add(...e),this.emitContainerClasses()},removeClasses:function(){let{el:e,classNames:t}=this;e.classList.remove(...t),this.emitContainerClasses()}}},V={};class H{constructor(...e){let t,i;1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?i=e[0]:[t,i]=e,i||(i={}),i=g({},i),t&&!i.el&&(i.el=t);let s=c();if(i.el&&"string"==typeof i.el&&s.querySelectorAll(i.el).length>1){let e=[];return s.querySelectorAll(i.el).forEach(t=>{let s=g({},i,{el:t});e.push(new H(s))}),e}let l=this;l.__swiper__=!0,l.support=M(),l.device=function(e={}){return r||(r=function({userAgent:e}={}){let t=M(),i=u(),s=i.navigator.platform,r=e||i.navigator.userAgent,a={ios:!1,android:!1},l=i.screen.width,n=i.screen.height,o=r.match(/(Android);?[\s\/]+([\d.]+)?/),d=r.match(/(iPad).*OS\s([\d_]+)/),c=r.match(/(iPod)(.*OS\s([\d_]+))?/),p=!d&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f="MacIntel"===s;return!d&&f&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${l}x${n}`)>=0&&((d=r.match(/(Version)\/([\d.]+)/))||(d=[0,1,"13_0_0"]),f=!1),o&&"Win32"!==s&&(a.os="android",a.android=!0),(d||p||c)&&(a.os="ios",a.ios=!0),a}(e)),r}({userAgent:i.userAgent}),l.browser=(a||(a=function(){let e=u(),t=!1;function i(){let t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&0>t.indexOf("chrome")&&0>t.indexOf("android")}if(i()){let i=String(e.navigator.userAgent);if(i.includes("Version/")){let[e,s]=i.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));t=e<16||16===e&&s<2}}return{isSafari:t||i(),needPerspectiveFix:t,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),a),l.eventsListeners={},l.eventsAnyListeners=[],l.modules=[...l.__modules__],i.modules&&Array.isArray(i.modules)&&l.modules.push(...i.modules);let n={};l.modules.forEach(e=>{var t;e({params:i,swiper:l,extendParams:(t=i,function(e={}){let i=Object.keys(e)[0],s=e[i];if("object"!=typeof s||null===s||(["navigation","pagination","scrollbar"].indexOf(i)>=0&&!0===t[i]&&(t[i]={auto:!0}),!(i in t&&"enabled"in s))){g(n,e);return}!0===t[i]&&(t[i]={enabled:!0}),"object"!=typeof t[i]||"enabled"in t[i]||(t[i].enabled=!0),t[i]||(t[i]={enabled:!1}),g(n,e)}),on:l.on.bind(l),once:l.once.bind(l),off:l.off.bind(l),emit:l.emit.bind(l)})});let o=g({},j,n);return l.params=g({},o,V,i),l.originalParams=g({},l.params),l.passedParams=g({},i),l.params&&l.params.on&&Object.keys(l.params.on).forEach(e=>{l.on(e,l.params.on[e])}),l.params&&l.params.onAny&&l.onAny(l.params.onAny),Object.assign(l,{enabled:l.params.enabled,el:t,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,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:h(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,evCache:[]},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}getSlideIndex(e){let{slidesEl:t,params:i}=this,s=b(t,`.${i.slideClass}, swiper-slide`),r=y(s[0]);return y(e)-r}recalcSlides(){let e=this,{slidesEl:t,params:i}=e;e.slides=b(t,`.${i.slideClass}, swiper-slide`)}enable(){let e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){let e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){e=Math.min(Math.max(e,0),1);let i=this.minTranslate(),s=this.maxTranslate(),r=(s-i)*e+i;this.translateTo(r,void 0===t?0:t),this.updateActiveIndex(),this.updateSlidesClasses()}emitContainerClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){let t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=[];e.slides.forEach(i=>{let s=e.getSlideClasses(i);t.push({slideEl:i,classNames:s}),e.emit("_slideClass",i,s)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){let{params:i,slides:s,slidesGrid:r,slidesSizesGrid:a,size:l,activeIndex:n}=this,o=1;if(i.centeredSlides){let e,t=s[n].swiperSlideSize;for(let i=n+1;il&&(e=!0));for(let i=n-1;i>=0;i-=1)s[i]&&!e&&(t+=s[i].swiperSlideSize,o+=1,t>l&&(e=!0))}else if("current"===e)for(let e=n+1;e=0;e-=1){let t=r[n]-r[e]{t.complete&&z(e,t)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode&&e.params.freeMode.enabled?(s(),e.params.autoHeight&&e.updateAutoHeight()):(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||s(),i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){let i=this,s=i.params.direction;return e||(e="horizontal"===s?"vertical":"horizontal"),e===s||"horizontal"!==e&&"vertical"!==e||(i.el.classList.remove(`${i.params.containerModifierClass}${s}`),i.el.classList.add(`${i.params.containerModifierClass}${e}`),i.emitContainerClasses(),i.params.direction=e,i.slides.forEach(t=>{"vertical"===e?t.style.width="":t.style.height=""}),i.emit("changeDirection"),t&&i.update()),i}changeLanguageDirection(e){let 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){let t=this;if(t.mounted)return!0;let i=e||t.params.el;if("string"==typeof i&&(i=document.querySelector(i)),!i)return!1;i.swiper=t,i.shadowEl&&(t.isElement=!0);let s=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`,r=(()=>{if(i&&i.shadowRoot&&i.shadowRoot.querySelector){let e=i.shadowRoot.querySelector(s());return e}return b(i,s())[0]})();return!r&&t.params.createElements&&(r=S("div",t.params.wrapperClass),i.append(r),b(i,`.${t.params.slideClass}`).forEach(e=>{r.append(e)})),Object.assign(t,{el:i,wrapperEl:r,slidesEl:t.isElement?i:r,mounted:!0,rtl:"rtl"===i.dir.toLowerCase()||"rtl"===T(i,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===i.dir.toLowerCase()||"rtl"===T(i,"direction")),wrongRTL:"-webkit-box"===T(r,"display")}),!0}init(e){let t=this;if(t.initialized)return t;let i=t.mount(e);return!1===i||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(e=>{e.complete?z(t,e):e.addEventListener("load",e=>{z(t,e.target)})}),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(e=!0,t=!0){let i=this,{params:s,el:r,wrapperEl:a,slides:l}=i;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),s.loop&&i.loopDestroy(),t&&(i.removeClasses(),r.removeAttribute("style"),a.removeAttribute("style"),l&&l.length&&l.forEach(e=>{e.classList.remove(s.slideVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(e=>{i.off(e)}),!1!==e&&(i.el.swiper=null,function(e){let t=e;Object.keys(t).forEach(e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}})}(i)),i.destroyed=!0),null}static extendDefaults(e){g(V,e)}static get extendedDefaults(){return V}static get defaults(){return j}static installModule(e){H.prototype.__modules__||(H.prototype.__modules__=[]);let t=H.prototype.__modules__;"function"==typeof e&&0>t.indexOf(e)&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(e=>H.installModule(e)),H):(H.installModule(e),H)}}Object.keys(F).forEach(e=>{Object.keys(F[e]).forEach(t=>{H.prototype[t]=F[e][t]})}),H.use([function({swiper:e,on:t,emit:i}){let s=u(),r=null,a=null,l=()=>{e&&!e.destroyed&&e.initialized&&(i("beforeResize"),i("resize"))},n=()=>{e&&!e.destroyed&&e.initialized&&(r=new ResizeObserver(t=>{a=s.requestAnimationFrame(()=>{let{width:i,height:s}=e,r=i,a=s;t.forEach(({contentBoxSize:t,contentRect:i,target:s})=>{s&&s!==e.el||(r=i?i.width:(t[0]||t).inlineSize,a=i?i.height:(t[0]||t).blockSize)}),(r!==i||a!==s)&&l()})})).observe(e.el)},o=()=>{a&&s.cancelAnimationFrame(a),r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null)},d=()=>{e&&!e.destroyed&&e.initialized&&i("orientationchange")};t("init",()=>{if(e.params.resizeObserver&&void 0!==s.ResizeObserver){n();return}s.addEventListener("resize",l),s.addEventListener("orientationchange",d)}),t("destroy",()=>{o(),s.removeEventListener("resize",l),s.removeEventListener("orientationchange",d)})},function({swiper:e,extendParams:t,on:i,emit:s}){let r=[],a=u(),l=(t,i={})=>{let l=a.MutationObserver||a.WebkitMutationObserver,n=new l(t=>{if(e.__preventObserver__)return;if(1===t.length){s("observerUpdate",t[0]);return}let i=function(){s("observerUpdate",t[0])};a.requestAnimationFrame?a.requestAnimationFrame(i):a.setTimeout(i,0)});n.observe(t,{attributes:void 0===i.attributes||i.attributes,childList:void 0===i.childList||i.childList,characterData:void 0===i.characterData||i.characterData}),r.push(n)},n=()=>{if(e.params.observer){if(e.params.observeParents){let t=E(e.el);for(let e=0;e{r.forEach(e=>{e.disconnect()}),r.splice(0,r.length)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",n),i("destroy",o)}]);var R=H;function q(e,t,i,s){return e.params.createElements&&Object.keys(s).forEach(r=>{if(!i[r]&&!0===i.auto){let a=b(e.el,`.${s[r]}`)[0];a||((a=S("div",s[r])).className=s[r],e.el.append(a)),i[r]=a,t[r]=a}}),i}function W({swiper:e,extendParams:t,on:i,emit:s}){t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};let r=e=>(Array.isArray(e)||(e=[e].filter(e=>!!e)),e);function a(t){let i;return t&&"string"==typeof t&&e.isElement&&(i=e.el.shadowRoot.querySelector(t))?i:(t&&("string"==typeof t&&(i=[...document.querySelectorAll(t)]),e.params.uniqueNavElements&&"string"==typeof t&&i.length>1&&1===e.el.querySelectorAll(t).length&&(i=e.el.querySelector(t))),t&&!i)?t:i}function l(t,i){let s=e.params.navigation;(t=r(t)).forEach(t=>{t&&(t.classList[i?"add":"remove"](...s.disabledClass.split(" ")),"BUTTON"===t.tagName&&(t.disabled=i),e.params.watchOverflow&&e.enabled&&t.classList[e.isLocked?"add":"remove"](s.lockClass))})}function n(){let{nextEl:t,prevEl:i}=e.navigation;if(e.params.loop){l(i,!1),l(t,!1);return}l(i,e.isBeginning&&!e.params.rewind),l(t,e.isEnd&&!e.params.rewind)}function o(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),s("navigationPrev"))}function d(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),s("navigationNext"))}function c(){let t=e.params.navigation;if(e.params.navigation=q(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(t.nextEl||t.prevEl))return;let i=a(t.nextEl),s=a(t.prevEl);Object.assign(e.navigation,{nextEl:i,prevEl:s}),i=r(i),s=r(s);let l=(i,s)=>{i&&i.addEventListener("click","next"===s?d:o),!e.enabled&&i&&i.classList.add(...t.lockClass.split(" "))};i.forEach(e=>l(e,"next")),s.forEach(e=>l(e,"prev"))}function p(){let{nextEl:t,prevEl:i}=e.navigation;t=r(t),i=r(i);let s=(t,i)=>{t.removeEventListener("click","next"===i?d:o),t.classList.remove(...e.params.navigation.disabledClass.split(" "))};t.forEach(e=>s(e,"next")),i.forEach(e=>s(e,"prev"))}i("init",()=>{!1===e.params.navigation.enabled?f():(c(),n())}),i("toEdge fromEdge lock unlock",()=>{n()}),i("destroy",()=>{p()}),i("enable disable",()=>{let{nextEl:t,prevEl:i}=e.navigation;[...t=r(t),...i=r(i)].filter(e=>!!e).forEach(t=>t.classList[e.enabled?"remove":"add"](e.params.navigation.lockClass))}),i("click",(t,i)=>{let{nextEl:a,prevEl:l}=e.navigation;a=r(a),l=r(l);let n=i.target;if(e.params.navigation.hideOnClick&&!l.includes(n)&&!a.includes(n)){let t;if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===n||e.pagination.el.contains(n)))return;a.length?t=a[0].classList.contains(e.params.navigation.hiddenClass):l.length&&(t=l[0].classList.contains(e.params.navigation.hiddenClass)),!0===t?s("navigationShow"):s("navigationHide"),[...a,...l].filter(e=>!!e).forEach(t=>t.classList.toggle(e.params.navigation.hiddenClass))}});let u=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),c(),n()},f=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),p()};Object.assign(e.navigation,{enable:u,disable:f,update:n,init:c,destroy:p})}function X(e=""){return`.${e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}function Y({swiper:e,extendParams:t,on:i,emit:s}){let r;let a="swiper-pagination";t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${a}-bullet`,bulletActiveClass:`${a}-bullet-active`,modifierClass:`${a}-`,currentClass:`${a}-current`,totalClass:`${a}-total`,hiddenClass:`${a}-hidden`,progressbarFillClass:`${a}-progressbar-fill`,progressbarOppositeClass:`${a}-progressbar-opposite`,clickableClass:`${a}-clickable`,lockClass:`${a}-lock`,horizontalClass:`${a}-horizontal`,verticalClass:`${a}-vertical`,paginationDisabledClass:`${a}-disabled`}}),e.pagination={el:null,bullets:[]};let l=0,n=e=>(Array.isArray(e)||(e=[e].filter(e=>!!e)),e);function o(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&0===e.pagination.el.length}function d(t,i){let{bulletActiveClass:s}=e.params.pagination;t&&(t=t[`${"prev"===i?"previous":"next"}ElementSibling`])&&(t.classList.add(`${s}-${i}`),(t=t[`${"prev"===i?"previous":"next"}ElementSibling`])&&t.classList.add(`${s}-${i}-${i}`))}function c(t){let i=t.target.closest(X(e.params.pagination.bulletClass));if(!i)return;t.preventDefault();let s=y(i)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===s)return;(se.slides.length-e.loopedSlides)&&e.loopFix({direction:s1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex:void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===a.type&&e.pagination.bullets&&e.pagination.bullets.length>0){let s,n,o;let p=e.pagination.bullets;if(a.dynamicBullets&&(r=C(p[0],e.isHorizontal()?"width":"height",!0),c.forEach(t=>{t.style[e.isHorizontal()?"width":"height"]=`${r*(a.dynamicMainBullets+4)}px`}),a.dynamicMainBullets>1&&void 0!==e.previousIndex&&((l+=t-(e.previousIndex||0))>a.dynamicMainBullets-1?l=a.dynamicMainBullets-1:l<0&&(l=0)),o=((n=(s=Math.max(t-l,0))+(Math.min(p.length,a.dynamicMainBullets)-1))+s)/2),p.forEach(e=>{e.classList.remove(...["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${a.bulletActiveClass}${e}`))}),c.length>1)p.forEach(e=>{let i=y(e);i===t&&e.classList.add(a.bulletActiveClass),a.dynamicBullets&&(i>=s&&i<=n&&e.classList.add(`${a.bulletActiveClass}-main`),i===s&&d(e,"prev"),i===n&&d(e,"next"))});else{let e=p[t];if(e&&e.classList.add(a.bulletActiveClass),a.dynamicBullets){let e=p[s],t=p[n];for(let e=s;e<=n;e+=1)p[e]&&p[e].classList.add(`${a.bulletActiveClass}-main`);d(e,"prev"),d(t,"next")}}if(a.dynamicBullets){let t=Math.min(p.length,a.dynamicMainBullets+4),s=(r*t-r)/2-o*r,l=i?"right":"left";p.forEach(t=>{t.style[e.isHorizontal()?l:"top"]=`${s}px`})}}c.forEach((i,r)=>{if("fraction"===a.type&&(i.querySelectorAll(X(a.currentClass)).forEach(e=>{e.textContent=a.formatFractionCurrent(t+1)}),i.querySelectorAll(X(a.totalClass)).forEach(e=>{e.textContent=a.formatFractionTotal(u)})),"progressbar"===a.type){let s;s=a.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";let r=(t+1)/u,l=1,n=1;"horizontal"===s?l=r:n=r,i.querySelectorAll(X(a.progressbarFillClass)).forEach(t=>{t.style.transform=`translate3d(0,0,0) scaleX(${l}) scaleY(${n})`,t.style.transitionDuration=`${e.params.speed}ms`})}"custom"===a.type&&a.renderCustom?(i.innerHTML=a.renderCustom(e,t+1,u),0===r&&s("paginationRender",i)):(0===r&&s("paginationRender",i),s("paginationUpdate",i)),e.params.watchOverflow&&e.enabled&&i.classList[e.isLocked?"add":"remove"](a.lockClass)})}function u(){let t=e.params.pagination;if(o())return;let i=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,r=e.pagination.el;r=n(r);let a="";if("bullets"===t.type){let s=e.params.loop?Math.ceil(i/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&s>i&&(s=i);for(let i=0;i`}"fraction"===t.type&&(a=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):` / `),"progressbar"===t.type&&(a=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):``),r.forEach(i=>{"custom"!==t.type&&(i.innerHTML=a||""),"bullets"===t.type&&(e.pagination.bullets=[...i.querySelectorAll(X(t.bulletClass))])}),"custom"!==t.type&&s("paginationRender",r[0])}function f(){let t;e.params.pagination=q(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});let i=e.params.pagination;i.el&&("string"==typeof i.el&&e.isElement&&(t=e.el.shadowRoot.querySelector(i.el)),t||"string"!=typeof i.el||(t=[...document.querySelectorAll(i.el)]),t||(t=i.el),t&&0!==t.length&&(e.params.uniqueNavElements&&"string"==typeof i.el&&Array.isArray(t)&&t.length>1&&(t=[...e.el.querySelectorAll(i.el)]).length>1&&(t=t.filter(t=>E(t,".swiper")[0]===e.el)[0]),Array.isArray(t)&&1===t.length&&(t=t[0]),Object.assign(e.pagination,{el:t}),(t=n(t)).forEach(t=>{"bullets"===i.type&&i.clickable&&t.classList.add(i.clickableClass),t.classList.add(i.modifierClass+i.type),t.classList.add(e.isHorizontal()?i.horizontalClass:i.verticalClass),"bullets"===i.type&&i.dynamicBullets&&(t.classList.add(`${i.modifierClass}${i.type}-dynamic`),l=0,i.dynamicMainBullets<1&&(i.dynamicMainBullets=1)),"progressbar"===i.type&&i.progressbarOpposite&&t.classList.add(i.progressbarOppositeClass),i.clickable&&t.addEventListener("click",c),e.enabled||t.classList.add(i.lockClass)})))}function h(){let t=e.params.pagination;if(o())return;let i=e.pagination.el;i&&(i=n(i)).forEach(i=>{i.classList.remove(t.hiddenClass),i.classList.remove(t.modifierClass+t.type),i.classList.remove(e.isHorizontal()?t.horizontalClass:t.verticalClass),t.clickable&&i.removeEventListener("click",c)}),e.pagination.bullets&&e.pagination.bullets.forEach(e=>e.classList.remove(t.bulletActiveClass))}i("init",()=>{!1===e.params.pagination.enabled?g():(f(),u(),p())}),i("activeIndexChange",()=>{void 0===e.snapIndex&&p()}),i("snapIndexChange",()=>{p()}),i("snapGridLengthChange",()=>{u(),p()}),i("destroy",()=>{h()}),i("enable disable",()=>{let{el:t}=e.pagination;t&&(t=n(t)).forEach(t=>t.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass))}),i("lock unlock",()=>{p()}),i("click",(t,i)=>{let r=i.target,{el:a}=e.pagination;if(Array.isArray(a)||(a=[a].filter(e=>!!e)),e.params.pagination.el&&e.params.pagination.hideOnClick&&a&&a.length>0&&!r.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&r===e.navigation.nextEl||e.navigation.prevEl&&r===e.navigation.prevEl))return;let t=a[0].classList.contains(e.params.pagination.hiddenClass);!0===t?s("paginationShow"):s("paginationHide"),a.forEach(t=>t.classList.toggle(e.params.pagination.hiddenClass))}});let m=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=n(t)).forEach(t=>t.classList.remove(e.params.pagination.paginationDisabledClass)),f(),u(),p()},g=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=n(t)).forEach(t=>t.classList.add(e.params.pagination.paginationDisabledClass)),h()};Object.assign(e.pagination,{enable:m,disable:g,render:u,update:p,init:f,destroy:h})}function U({swiper:e,extendParams:t,on:i}){t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let s=!1,r=!1;function a(){let t;let i=e.thumbs.swiper;if(!i||i.destroyed)return;let s=i.clickedIndex,r=i.clickedSlide;r&&r.classList.contains(e.params.thumbs.slideThumbActiveClass)||null==s||(t=i.params.loop?parseInt(i.clickedSlide.getAttribute("data-swiper-slide-index"),10):s,e.params.loop?e.slideToLoop(t):e.slideTo(t))}function l(){let{thumbs:t}=e.params;if(s)return!1;s=!0;let i=e.constructor;if(t.swiper instanceof i)e.thumbs.swiper=t.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper.update();else if(m(t.swiper)){let s=Object.assign({},t.swiper);Object.assign(s,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new i(s),r=!0}return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",a),!0}function n(t){let i=e.thumbs.swiper;if(!i||i.destroyed)return;let s="auto"===i.params.slidesPerView?i.slidesPerViewDynamic():i.params.slidesPerView,r=1,a=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(r=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(r=1),r=Math.floor(r),i.slides.forEach(e=>e.classList.remove(a)),i.params.loop||i.params.virtual&&i.params.virtual.enabled)for(let t=0;t{e.classList.add(a)});else for(let t=0;tt.getAttribute("data-swiper-slide-index")===`${e.realIndex}`)[0];r=i.slides.indexOf(t),a=e.activeIndex>e.previousIndex?"next":"prev"}else a=(r=e.realIndex)>e.previousIndex?"next":"prev";n&&(r+="next"===a?l:-1*l),i.visibleSlidesIndexes&&0>i.visibleSlidesIndexes.indexOf(r)&&(i.params.centeredSlides?r=r>o?r-Math.floor(s/2)+1:r+Math.floor(s/2)-1:r>o&&i.params.slidesPerGroup,i.slideTo(r,t?0:void 0))}}e.thumbs={swiper:null},i("beforeInit",()=>{let{thumbs:t}=e.params;if(t&&t.swiper){if("string"==typeof t.swiper||t.swiper instanceof HTMLElement){let i=c(),s=()=>{let s="string"==typeof t.swiper?i.querySelector(t.swiper):t.swiper;if(s&&s.swiper)t.swiper=s.swiper,l(),n(!0);else if(s){let i=r=>{t.swiper=r.detail[0],s.removeEventListener("init",i),l(),n(!0),t.swiper.update(),e.update()};s.addEventListener("init",i)}return s},r=()=>{if(e.destroyed)return;let t=s();t||requestAnimationFrame(r)};requestAnimationFrame(r)}else l(),n(!0)}}),i("slideChange update resize observerUpdate",()=>{n()}),i("setTransition",(t,i)=>{let s=e.thumbs.swiper;s&&!s.destroyed&&s.setTransition(i)}),i("beforeDestroy",()=>{let t=e.thumbs.swiper;t&&!t.destroyed&&r&&t.destroy()}),Object.assign(e.thumbs,{init:l,update:n})}function K({swiper:e,extendParams:t,emit:i,once:s}){t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(e,{freeMode:{onTouchStart:function(){let t=e.getTranslate();e.setTranslate(t),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})},onTouchMove:function(){let{touchEventsData:t,touches:i}=e;0===t.velocities.length&&t.velocities.push({position:i[e.isHorizontal()?"startX":"startY"],time:t.touchStartTime}),t.velocities.push({position:i[e.isHorizontal()?"currentX":"currentY"],time:h()})},onTouchEnd:function({currentPos:t}){let{params:r,wrapperEl:a,rtlTranslate:l,snapGrid:n,touchEventsData:o}=e,d=h(),c=d-o.touchStartTime;if(t<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(t>-e.maxTranslate()){e.slides.length1){let t=o.velocities.pop(),i=o.velocities.pop(),s=t.position-i.position,a=t.time-i.time;e.velocity=s/a,e.velocity/=2,Math.abs(e.velocity)150||h()-t.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=r.freeMode.momentumVelocityRatio,o.velocities.length=0;let c=1e3*r.freeMode.momentumRatio,p=e.velocity*c,u=e.translate+p;l&&(u=-u);let f=!1,m=20*Math.abs(e.velocity)*r.freeMode.momentumBounceRatio;if(ue.minTranslate())r.freeMode.momentumBounce?(u-e.minTranslate()>m&&(u=e.minTranslate()+m),t=e.minTranslate(),f=!0,o.allowMomentumBounce=!0):u=e.minTranslate(),r.loop&&r.centeredSlides&&(d=!0);else if(r.freeMode.sticky){let t;for(let e=0;e-u){t=e;break}u=-(u=Math.abs(n[t]-u){e.loopFix()}),0!==e.velocity){if(c=l?Math.abs((-u-e.translate)/e.velocity):Math.abs((u-e.translate)/e.velocity),r.freeMode.sticky){let t=Math.abs((l?-u:u)-e.translate),i=e.slidesSizesGrid[e.activeIndex];c=t{e&&!e.destroyed&&o.allowMomentumBounce&&(i("momentumBounce"),e.setTransition(r.speed),setTimeout(()=>{e.setTranslate(t),x(a,()=>{e&&!e.destroyed&&e.transitionEnd()})},0))})):e.velocity?(i("_freeModeNoMomentumRelease"),e.updateProgress(u),e.setTransition(c),e.setTranslate(u),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,x(a,()=>{e&&!e.destroyed&&e.transitionEnd()}))):e.updateProgress(u),e.updateActiveIndex(),e.updateSlidesClasses()}else if(r.freeMode.sticky){e.slideToClosest();return}else r.freeMode&&i("_freeModeNoMomentumRelease");(!r.freeMode.momentum||c>=r.longSwipesMs)&&(e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}}})}}}]);