var Tt=(T,v)=>()=>(v||T((v={exports:{}}).exports,v),v.exports);var St=Tt((Ze,Pe)=>{(function(T,v){typeof Ze=="object"&&typeof Pe<"u"?Pe.exports=v():typeof define=="function"&&define.amd?define(v):(T=T||self).Swiper=v()})(globalThis,function(){var T=typeof document>"u"?{body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},location:{hash:""}}:document,v=typeof window>"u"?{document:T,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window,L=function(e){for(var t=0;t=0&&n.indexOf(">")>=0){var l="div";for(n.indexOf(":~]/)?(t||T).querySelectorAll(e.trim()):[T.getElementById(e.trim().split("#")[1])],s=0;s0&&e[0].nodeType)for(s=0;s=0;u-=1){var E=c[u];r&&E.listener===r||r&&E.listener&&E.listener.dom7proxy&&E.listener.dom7proxy===r?(p.removeEventListener(d,E.proxyListener,n),c.splice(u,1)):r||(p.removeEventListener(d,E.proxyListener,n),c.splice(u,1))}}return this},trigger:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var i=e[0].split(" "),s=e[1],a=0;a0}),l.dispatchEvent(o),l.dom7EventData=[],delete l.dom7EventData}return this},transitionEnd:function(e){var t,i=["webkitTransitionEnd","transitionend"],s=this;function a(r){if(r.target===this)for(e.call(this,r),t=0;t0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},offset:function(){if(this.length>0){var e=this[0],t=e.getBoundingClientRect(),i=T.body,s=e.clientTop||i.clientTop||0,a=e.clientLeft||i.clientLeft||0,r=e===v?v.scrollY:e.scrollTop,n=e===v?v.scrollX:e.scrollLeft;return{top:t.top+r-s,left:t.left+n-a}}return null},css:function(e,t){var i;if(arguments.length===1){if(typeof e!="string"){for(i=0;ii-1?[]:e<0?(t=i+e)<0?[]:[this[t]]:[this[e]])},append:function(){for(var e,t=[],i=arguments.length;i--;)t[i]=arguments[i];for(var s=0;s=0;i-=1)this[t].insertBefore(s.childNodes[i],this[t].childNodes[0])}else if(e instanceof L)for(i=0;i0?e?this[0].nextElementSibling&&m(this[0].nextElementSibling).is(e)?new L([this[0].nextElementSibling]):new L([]):this[0].nextElementSibling?new L([this[0].nextElementSibling]):new L([]):new L([])},nextAll:function(e){var t=[],i=this[0];if(!i)return new L([]);for(;i.nextElementSibling;){var s=i.nextElementSibling;e?m(s).is(e)&&t.push(s):t.push(s),i=s}return new L(t)},prev:function(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&m(t.previousElementSibling).is(e)?new L([t.previousElementSibling]):new L([]):t.previousElementSibling?new L([t.previousElementSibling]):new L([])}return new L([])},prevAll:function(e){var t=[],i=this[0];if(!i)return new L([]);for(;i.previousElementSibling;){var s=i.previousElementSibling;e?m(s).is(e)&&t.push(s):t.push(s),i=s}return new L(t)},parent:function(e){for(var t=[],i=0;i6&&(s=s.split(", ").map(function(n){return n.replace(",",".")}).join(", ")),a=new v.WebKitCSSMatrix(s==="none"?"":s)):i=(a=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),t==="x"&&(s=v.WebKitCSSMatrix?a.m41:i.length===16?parseFloat(i[12]):parseFloat(i[4])),t==="y"&&(s=v.WebKitCSSMatrix?a.m42:i.length===16?parseFloat(i[13]):parseFloat(i[5])),s||0},parseUrlQuery:function(e){var t,i,s,a,r={},n=e||v.location.href;if(typeof n=="string"&&n.length)for(a=(i=(n=n.indexOf("?")>-1?n.replace(/\S*\?/,""):"").split("&").filter(function(l){return l!==""})).length,t=0;t0||"ontouchstart"in v||v.DocumentTouch&&T instanceof v.DocumentTouch),pointerEvents:!!v.PointerEvent&&"maxTouchPoints"in v.navigator&&v.navigator.maxTouchPoints>0,observer:"MutationObserver"in v||"WebkitMutationObserver"in v,passiveListener:function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});v.addEventListener("testPassiveListener",null,t)}catch{}return e}(),gestures:"ongesturestart"in v},Y=function(e){e===void 0&&(e={});var t=this;t.params=e,t.eventsListeners={},t.params&&t.params.on&&Object.keys(t.params.on).forEach(function(i){t.on(i,t.params.on[i])})},ke={components:{configurable:!0}};Y.prototype.on=function(e,t,i){var s=this;if(typeof t!="function")return s;var a=i?"unshift":"push";return e.split(" ").forEach(function(r){s.eventsListeners[r]||(s.eventsListeners[r]=[]),s.eventsListeners[r][a](t)}),s},Y.prototype.once=function(e,t,i){var s=this;if(typeof t!="function")return s;function a(){for(var r=[],n=arguments.length;n--;)r[n]=arguments[n];t.apply(s,r),s.off(e,a),a.f7proxy&&delete a.f7proxy}return a.f7proxy=t,s.on(e,a,i)},Y.prototype.off=function(e,t){var i=this;return i.eventsListeners&&e.split(" ").forEach(function(s){t===void 0?i.eventsListeners[s]=[]:i.eventsListeners[s]&&i.eventsListeners[s].length&&i.eventsListeners[s].forEach(function(a,r){(a===t||a.f7proxy&&a.f7proxy===t)&&i.eventsListeners[s].splice(r,1)})}),i},Y.prototype.emit=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var i,s,a,r=this;if(!r.eventsListeners)return r;typeof e[0]=="string"||Array.isArray(e[0])?(i=e[0],s=e.slice(1,e.length),a=r):(i=e[0].events,s=e[0].data,a=e[0].context||r);var n=Array.isArray(i)?i:i.split(" ");return n.forEach(function(l){if(r.eventsListeners&&r.eventsListeners[l]){var o=[];r.eventsListeners[l].forEach(function(d){o.push(d)}),o.forEach(function(d){d.apply(a,s)})}}),r},Y.prototype.useModulesParams=function(e){var t=this;t.modules&&Object.keys(t.modules).forEach(function(i){var s=t.modules[i];s.params&&f.extend(e,s.params)})},Y.prototype.useModules=function(e){e===void 0&&(e={});var t=this;t.modules&&Object.keys(t.modules).forEach(function(i){var s=t.modules[i],a=e[i]||{};s.instance&&Object.keys(s.instance).forEach(function(r){var n=s.instance[r];t[r]=typeof n=="function"?n.bind(t):n}),s.on&&t.on&&Object.keys(s.on).forEach(function(r){t.on(r,s.on[r])}),s.create&&s.create.bind(t)(a)})},ke.components.set=function(e){this.use&&this.use(e)},Y.installModule=function(e){for(var t=[],i=arguments.length-1;i-- >0;)t[i]=arguments[i+1];var s=this;s.prototype.modules||(s.prototype.modules={});var a=e.name||Object.keys(s.prototype.modules).length+"_"+f.now();return s.prototype.modules[a]=e,e.proto&&Object.keys(e.proto).forEach(function(r){s.prototype[r]=e.proto[r]}),e.static&&Object.keys(e.static).forEach(function(r){s[r]=e.static[r]}),e.install&&e.install.apply(s,t),s},Y.use=function(e){for(var t=[],i=arguments.length-1;i-- >0;)t[i]=arguments[i+1];var s=this;return Array.isArray(e)?(e.forEach(function(a){return s.installModule(a)}),s):s.installModule.apply(s,[e].concat(t))},Object.defineProperties(Y,ke);var Je={updateSize:function(){var e,t,i=this.$el;e=this.params.width!==void 0?this.params.width:i[0].clientWidth,t=this.params.height!==void 0?this.params.height:i[0].clientHeight,e===0&&this.isHorizontal()||t===0&&this.isVertical()||(e=e-parseInt(i.css("padding-left"),10)-parseInt(i.css("padding-right"),10),t=t-parseInt(i.css("padding-top"),10)-parseInt(i.css("padding-bottom"),10),f.extend(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){var e=this.params,t=this.$wrapperEl,i=this.size,s=this.rtlTranslate,a=this.wrongRTL,r=this.virtual&&e.virtual.enabled,n=r?this.virtual.slides.length:this.slides.length,l=t.children("."+this.params.slideClass),o=r?this.virtual.slides.length:l.length,d=[],h=[],p=[];function c(K){return!e.cssMode||K!==l.length-1}var u=e.slidesOffsetBefore;typeof u=="function"&&(u=e.slidesOffsetBefore.call(this));var E=e.slidesOffsetAfter;typeof E=="function"&&(E=e.slidesOffsetAfter.call(this));var w=this.snapGrid.length,y=this.snapGrid.length,g=e.spaceBetween,x=-u,b=0,z=0;if(i!==void 0){var I,S;typeof g=="string"&&g.indexOf("%")>=0&&(g=parseFloat(g.replace("%",""))/100*i),this.virtualSize=-g,s?l.css({marginLeft:"",marginTop:""}):l.css({marginRight:"",marginBottom:""}),e.slidesPerColumn>1&&(I=Math.floor(o/e.slidesPerColumn)===o/this.params.slidesPerColumn?o:Math.ceil(o/e.slidesPerColumn)*e.slidesPerColumn,e.slidesPerView!=="auto"&&e.slidesPerColumnFill==="row"&&(I=Math.max(I,e.slidesPerView*e.slidesPerColumn)));for(var $,O=e.slidesPerColumn,G=I/O,D=Math.floor(o/e.slidesPerColumn),k=0;k1){var A=void 0,_=void 0,W=void 0;if(e.slidesPerColumnFill==="row"&&e.slidesPerGroup>1){var Xe=Math.floor(k/(e.slidesPerGroup*e.slidesPerColumn)),Ye=k-e.slidesPerColumn*e.slidesPerGroup*Xe;A=(_=Ye-(W=Math.floor(Ye/e.slidesPerGroup))*e.slidesPerGroup+Xe*e.slidesPerGroup)+W*I/O,P.css({"-webkit-box-ordinal-group":A,"-moz-box-ordinal-group":A,"-ms-flex-order":A,"-webkit-order":A,order:A})}else e.slidesPerColumnFill==="column"?(W=k-(_=Math.floor(k/O))*O,(_>D||_===D&&W===O-1)&&(W+=1)>=O&&(W=0,_+=1)):_=k-(W=Math.floor(k/G))*G;P.css("margin-"+(this.isHorizontal()?"top":"left"),W!==0&&e.spaceBetween&&e.spaceBetween+"px")}if(P.css("display")!=="none"){if(e.slidesPerView==="auto"){var V=v.getComputedStyle(P[0],null),xe=P[0].style.transform,Ee=P[0].style.webkitTransform;if(xe&&(P[0].style.transform="none"),Ee&&(P[0].style.webkitTransform="none"),e.roundLengths)S=this.isHorizontal()?P.outerWidth(!0):P.outerHeight(!0);else if(this.isHorizontal()){var Fe=parseFloat(V.getPropertyValue("width")),wt=parseFloat(V.getPropertyValue("padding-left")),yt=parseFloat(V.getPropertyValue("padding-right")),Re=parseFloat(V.getPropertyValue("margin-left")),qe=parseFloat(V.getPropertyValue("margin-right")),We=V.getPropertyValue("box-sizing");S=We&&We==="border-box"?Fe+Re+qe:Fe+wt+yt+Re+qe}else{var je=parseFloat(V.getPropertyValue("height")),xt=parseFloat(V.getPropertyValue("padding-top")),Et=parseFloat(V.getPropertyValue("padding-bottom")),Ke=parseFloat(V.getPropertyValue("margin-top")),Ue=parseFloat(V.getPropertyValue("margin-bottom")),_e=V.getPropertyValue("box-sizing");S=_e&&_e==="border-box"?je+Ke+Ue:je+xt+Et+Ke+Ue}xe&&(P[0].style.transform=xe),Ee&&(P[0].style.webkitTransform=Ee),e.roundLengths&&(S=Math.floor(S))}else S=(i-(e.slidesPerView-1)*g)/e.slidesPerView,e.roundLengths&&(S=Math.floor(S)),l[k]&&(this.isHorizontal()?l[k].style.width=S+"px":l[k].style.height=S+"px");l[k]&&(l[k].swiperSlideSize=S),p.push(S),e.centeredSlides?(x=x+S/2+b/2+g,b===0&&k!==0&&(x=x-i/2-g),k===0&&(x=x-i/2-g),Math.abs(x)<.001&&(x=0),e.roundLengths&&(x=Math.floor(x)),z%e.slidesPerGroup==0&&d.push(x),h.push(x)):(e.roundLengths&&(x=Math.floor(x)),z%e.slidesPerGroup==0&&d.push(x),h.push(x),x=x+S+g),this.virtualSize+=S+g,b=S,z+=1}}if(this.virtualSize=Math.max(this.virtualSize,i)+E,s&&a&&(e.effect==="slide"||e.effect==="coverflow")&&t.css({width:this.virtualSize+e.spaceBetween+"px"}),e.setWrapperSize&&(this.isHorizontal()?t.css({width:this.virtualSize+e.spaceBetween+"px"}):t.css({height:this.virtualSize+e.spaceBetween+"px"})),e.slidesPerColumn>1&&(this.virtualSize=(S+e.spaceBetween)*I,this.virtualSize=Math.ceil(this.virtualSize/e.slidesPerColumn)-e.spaceBetween,this.isHorizontal()?t.css({width:this.virtualSize+e.spaceBetween+"px"}):t.css({height:this.virtualSize+e.spaceBetween+"px"}),e.centeredSlides)){$=[];for(var le=0;le1&&d.push(this.virtualSize-i)}if(d.length===0&&(d=[0]),e.spaceBetween!==0&&(this.isHorizontal()?s?l.filter(c).css({marginLeft:g+"px"}):l.filter(c).css({marginRight:g+"px"}):l.filter(c).css({marginBottom:g+"px"})),e.centerInsufficientSlides){var Ce=0;if(p.forEach(function(K){Ce+=K+(e.spaceBetween?e.spaceBetween:0)}),(Ce-=e.spaceBetween)1)for(t=0;tthis.slides.length)break;i.push(this.slides.eq(a)[0])}else i.push(this.slides.eq(this.activeIndex)[0]);for(t=0;ts?r:s}s&&this.$wrapperEl.css("height",s+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t=0&&o1&&d<=this.size||o<=0&&d>=this.size)&&(this.visibleSlides.push(n),this.visibleSlidesIndexes.push(r),i.eq(r).addClass(t.slideVisibleClass))}n.progress=s?-l:l}this.visibleSlides=m(this.visibleSlides)}},updateProgress:function(e){if(e===void 0){var t=this.rtlTranslate?-1:1;e=this&&this.translate&&this.translate*t||0}var i=this.params,s=this.maxTranslate()-this.minTranslate(),a=this.progress,r=this.isBeginning,n=this.isEnd,l=r,o=n;s===0?(a=0,r=!0,n=!0):(r=(a=(e-this.minTranslate())/s)<=0,n=a>=1),f.extend(this,{progress:a,isBeginning:r,isEnd:n}),(i.watchSlidesProgress||i.watchSlidesVisibility)&&this.updateSlidesProgress(e),r&&!l&&this.emit("reachBeginning toEdge"),n&&!o&&this.emit("reachEnd toEdge"),(l&&!r||o&&!n)&&this.emit("fromEdge"),this.emit("progress",a)},updateSlidesClasses:function(){var e,t=this.slides,i=this.params,s=this.$wrapperEl,a=this.activeIndex,r=this.realIndex,n=this.virtual&&i.virtual.enabled;t.removeClass(i.slideActiveClass+" "+i.slideNextClass+" "+i.slidePrevClass+" "+i.slideDuplicateActiveClass+" "+i.slideDuplicateNextClass+" "+i.slideDuplicatePrevClass),(e=n?this.$wrapperEl.find("."+i.slideClass+'[data-swiper-slide-index="'+a+'"]'):t.eq(a)).addClass(i.slideActiveClass),i.loop&&(e.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+r+'"]').addClass(i.slideDuplicateActiveClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+r+'"]').addClass(i.slideDuplicateActiveClass));var l=e.nextAll("."+i.slideClass).eq(0).addClass(i.slideNextClass);i.loop&&l.length===0&&(l=t.eq(0)).addClass(i.slideNextClass);var o=e.prevAll("."+i.slideClass).eq(0).addClass(i.slidePrevClass);i.loop&&o.length===0&&(o=t.eq(-1)).addClass(i.slidePrevClass),i.loop&&(l.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass),o.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+o.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+o.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass))},updateActiveIndex:function(e){var t,i=this.rtlTranslate?this.translate:-this.translate,s=this.slidesGrid,a=this.snapGrid,r=this.params,n=this.activeIndex,l=this.realIndex,o=this.snapIndex,d=e;if(d===void 0){for(var h=0;h=s[h]&&i=s[h]&&i=s[h]&&(d=h);r.normalizeSlideIndex&&(d<0||d===void 0)&&(d=0)}if((t=a.indexOf(i)>=0?a.indexOf(i):Math.floor(d/r.slidesPerGroup))>=a.length&&(t=a.length-1),d!==n){var p=parseInt(this.slides.eq(d).attr("data-swiper-slide-index")||d,10);f.extend(this,{snapIndex:t,realIndex:p,previousIndex:n,activeIndex:d}),this.emit("activeIndexChange"),this.emit("snapIndexChange"),l!==p&&this.emit("realIndexChange"),(this.initialized||this.runCallbacksOnInit)&&this.emit("slideChange")}else t!==o&&(this.snapIndex=t,this.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this.params,i=m(e.target).closest("."+t.slideClass)[0],s=!1;if(i)for(var a=0;aa?"next":is?"next":i=o.length&&(E=o.length-1),(p||l.initialSlide||0)===(h||0)&&i&&r.emit("beforeSlideChangeStart");var w,y=-o[E];if(r.updateProgress(y),l.normalizeSlideIndex)for(var g=0;g=Math.floor(100*d[g])&&(n=g);if(r.initialized&&n!==p&&(!r.allowSlideNext&&yr.translate&&y>r.maxTranslate()&&(p||0)!==n))return!1;if(w=n>p?"next":n=u&&(c=u)}),c!==void 0&&(d=n.indexOf(c))<0&&(d=this.activeIndex-1),this.slideTo(d,e,t,i)},slideReset:function(e,t,i){return e===void 0&&(e=this.params.speed),t===void 0&&(t=!0),this.slideTo(this.activeIndex,e,t,i)},slideToClosest:function(e,t,i){e===void 0&&(e=this.params.speed),t===void 0&&(t=!0);var s=this.activeIndex,a=Math.floor(s/this.params.slidesPerGroup);if(a(this.snapGrid[a+1]-n)/2&&(s=this.params.slidesPerGroup)}return this.slideTo(s,e,t,i)},slideToClickedSlide:function(){var e,t=this,i=t.params,s=t.$wrapperEl,a=i.slidesPerView==="auto"?t.slidesPerViewDynamic():i.slidesPerView,r=t.clickedIndex;if(i.loop){if(t.animating)return;e=parseInt(m(t.clickedSlide).attr("data-swiper-slide-index"),10),i.centeredSlides?rt.slides.length-t.loopedSlides+a/2?(t.loopFix(),r=s.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),f.nextTick(function(){t.slideTo(r)})):t.slideTo(r):r>t.slides.length-a?(t.loopFix(),r=s.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),f.nextTick(function(){t.slideTo(r)})):t.slideTo(r)}else t.slideTo(r)}},st={loopCreate:function(){var e=this,t=e.params,i=e.$wrapperEl;i.children("."+t.slideClass+"."+t.slideDuplicateClass).remove();var s=i.children("."+t.slideClass);if(t.loopFillGroupWithBlank){var a=t.slidesPerGroup-s.length%t.slidesPerGroup;if(a!==t.slidesPerGroup){for(var r=0;rs.length&&(e.loopedSlides=s.length);var l=[],o=[];s.each(function(p,c){var u=m(c);p=s.length-e.loopedSlides&&l.push(c),u.attr("data-swiper-slide-index",p)});for(var d=0;d=0;h-=1)i.prepend(m(l[h].cloneNode(!0)).addClass(t.slideDuplicateClass))},loopFix:function(){var e,t=this.params,i=this.activeIndex,s=this.slides,a=this.loopedSlides,r=this.allowSlidePrev,n=this.allowSlideNext,l=this.snapGrid,o=this.rtlTranslate;this.allowSlidePrev=!0,this.allowSlideNext=!0;var d=-l[i]-this.getTranslate();i=2*a||i>=s.length-a)&&(e=-s.length+i+a,e+=a,this.slideTo(e,0,!1,!0)&&d!==0&&this.setTranslate((o?-this.translate:this.translate)-d)),this.allowSlidePrev=r,this.allowSlideNext=n},loopDestroy:function(){var e=this.$wrapperEl,t=this.params,i=this.slides;e.children("."+t.slideClass+"."+t.slideDuplicateClass+",."+t.slideClass+"."+t.slideBlankClass).remove(),i.removeAttr("data-swiper-slide-index")}},at={setGrabCursor:function(e){if(!(C.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked||this.params.cssMode)){var t=this.el;t.style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){C.touch||this.params.watchOverflow&&this.isLocked||this.params.cssMode||(this.el.style.cursor="")}},pe,H,M,Q,Z,ce,R,j,J,$e,Le,Ie,ue,ve,ie,rt={appendSlide:function(e){var t=this.$wrapperEl,i=this.params;if(i.loop&&this.loopDestroy(),typeof e=="object"&&"length"in e)for(var s=0;s=r)this.appendSlide(t);else{for(var n=a>e?a+1:a,l=[],o=r-1;o>=e;o-=1){var d=this.slides.eq(o);d.remove(),l.unshift(d)}if(typeof t=="object"&&"length"in t){for(var h=0;he?a+t.length:a}else i.append(t);for(var p=0;p=0||H.indexOf("Trident/")>=0,Le=H.indexOf("Edge/")>=0,Ie=H.indexOf("Gecko/")>=0&&H.indexOf("Firefox/")>=0,ue=pe==="Win32",ve=H.toLowerCase().indexOf("electron")>=0,ie=pe==="MacIntel",!R&&ie&&C.touch&&(Q===1024&&Z===1366||Q===834&&Z===1194||Q===834&&Z===1112||Q===768&&Z===1024)&&(R=H.match(/(Version)\/([\d.]+)/),ie=!1),M.ie=$e,M.edge=Le,M.firefox=Ie,ce&&!ue&&(M.os="android",M.osVersion=ce[2],M.android=!0,M.androidChrome=H.toLowerCase().indexOf("chrome")>=0),(R||J||j)&&(M.os="ios",M.ios=!0),J&&!j&&(M.osVersion=J[2].replace(/_/g,"."),M.iphone=!0),R&&(M.osVersion=R[2].replace(/_/g,"."),M.ipad=!0),j&&(M.osVersion=j[3]?j[3].replace(/_/g,"."):null,M.ipod=!0),M.ios&&M.osVersion&&H.indexOf("Version/")>=0&&M.osVersion.split(".")[0]==="10"&&(M.osVersion=H.toLowerCase().split("version/")[1].split(" ")[0]),M.webView=!(!(J||R||j)||!H.match(/.*AppleWebKit(?!.*Safari)/i)&&!v.navigator.standalone)||v.matchMedia&&v.matchMedia("(display-mode: standalone)").matches,M.webview=M.webView,M.standalone=M.webView,M.desktop=!(M.ios||M.android)||ve,M.desktop&&(M.electron=ve,M.macos=ie,M.windows=ue,M.macos&&(M.os="macos"),M.windows&&(M.os="windows")),M.pixelRatio=v.devicePixelRatio||1,M);function nt(e){var t=this.touchEventsData,i=this.params,s=this.touches;if(!this.animating||!i.preventInteractionOnTransition){var a=e;a.originalEvent&&(a=a.originalEvent);var r=m(a.target);if((i.touchEventsTarget!=="wrapper"||r.closest(this.wrapperEl).length)&&(t.isTouchEvent=a.type==="touchstart",(t.isTouchEvent||!("which"in a)||a.which!==3)&&!(!t.isTouchEvent&&"button"in a&&a.button>0||t.isTouched&&t.isMoved))){if(i.noSwiping&&r.closest(i.noSwipingSelector?i.noSwipingSelector:"."+i.noSwipingClass)[0])this.allowClick=!0;else if(!i.swipeHandler||r.closest(i.swipeHandler)[0]){s.currentX=a.type==="touchstart"?a.targetTouches[0].pageX:a.pageX,s.currentY=a.type==="touchstart"?a.targetTouches[0].pageY:a.pageY;var n=s.currentX,l=s.currentY,o=i.edgeSwipeDetection||i.iOSEdgeSwipeDetection,d=i.edgeSwipeThreshold||i.iOSEdgeSwipeThreshold;if(!o||!(n<=d||n>=v.screen.width-d)){if(f.extend(t,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=n,s.startY=l,t.touchStartTime=f.now(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,i.threshold>0&&(t.allowThresholdMove=!1),a.type!=="touchstart"){var h=!0;r.is(t.formElements)&&(h=!1),T.activeElement&&m(T.activeElement).is(t.formElements)&&T.activeElement!==r[0]&&T.activeElement.blur();var p=h&&this.allowTouchMove&&i.touchStartPreventDefault;(i.touchStartForcePreventDefault||p)&&a.preventDefault()}this.emit("touchStart",a)}}}}}function ot(e){var t=this.touchEventsData,i=this.params,s=this.touches,a=this.rtlTranslate,r=e;if(r.originalEvent&&(r=r.originalEvent),t.isTouched){if(!t.isTouchEvent||r.type!=="mousemove"){var n=r.type==="touchmove"?r.targetTouches[0].pageX:r.pageX,l=r.type==="touchmove"?r.targetTouches[0].pageY:r.pageY;if(r.preventedByNestedSwiper)return s.startX=n,void(s.startY=l);if(!this.allowTouchMove)return this.allowClick=!1,void(t.isTouched&&(f.extend(s,{startX:n,startY:l,currentX:n,currentY:l}),t.touchStartTime=f.now()));if(t.isTouchEvent&&i.touchReleaseOnEdges&&!i.loop){if(this.isVertical()){if(ls.startY&&this.translate>=this.minTranslate())return t.isTouched=!1,void(t.isMoved=!1)}else if(ns.startX&&this.translate>=this.minTranslate())return}if(t.isTouchEvent&&T.activeElement&&r.target===T.activeElement&&m(r.target).is(t.formElements))return t.isMoved=!0,void(this.allowClick=!1);if(t.allowTouchCallbacks&&this.emit("touchMove",r),!(r.targetTouches&&r.targetTouches.length>1)){s.currentX=n,s.currentY=l;var o=s.currentX-s.startX,d=s.currentY-s.startY;if(!(this.params.threshold&&Math.sqrt(Math.pow(o,2)+Math.pow(d,2))=25&&(h=180*Math.atan2(Math.abs(d),Math.abs(o))/Math.PI,t.isScrolling=this.isHorizontal()?h>i.touchAngle:90-h>i.touchAngle)),t.isScrolling&&this.emit("touchMoveOpposite",r),t.startMoving===void 0&&(s.currentX===s.startX&&s.currentY===s.startY||(t.startMoving=!0)),t.isScrolling)t.isTouched=!1;else if(t.startMoving){this.allowClick=!1,i.cssMode||r.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&r.stopPropagation(),t.isMoved||(i.loop&&this.loopFix(),t.startTranslate=this.getTranslate(),this.setTransition(0),this.animating&&this.$wrapperEl.trigger("webkitTransitionEnd transitionend"),t.allowMomentumBounce=!1,!i.grabCursor||this.allowSlideNext!==!0&&this.allowSlidePrev!==!0||this.setGrabCursor(!0),this.emit("sliderFirstMove",r)),this.emit("sliderMove",r),t.isMoved=!0;var p=this.isHorizontal()?o:d;s.diff=p,p*=i.touchRatio,a&&(p=-p),this.swipeDirection=p>0?"prev":"next",t.currentTranslate=p+t.startTranslate;var c=!0,u=i.resistanceRatio;if(i.touchReleaseOnEdges&&(u=0),p>0&&t.currentTranslate>this.minTranslate()?(c=!1,i.resistance&&(t.currentTranslate=this.minTranslate()-1+Math.pow(-this.minTranslate()+t.startTranslate+p,u))):p<0&&t.currentTranslatet.startTranslate&&(t.currentTranslate=t.startTranslate),i.threshold>0){if(!(Math.abs(p)>i.threshold||t.allowThresholdMove))return void(t.currentTranslate=t.startTranslate);if(!t.allowThresholdMove)return t.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,t.currentTranslate=t.startTranslate,void(s.diff=this.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY)}i.followFinger&&!i.cssMode&&((i.freeMode||i.watchSlidesProgress||i.watchSlidesVisibility)&&(this.updateActiveIndex(),this.updateSlidesClasses()),i.freeMode&&(t.velocities.length===0&&t.velocities.push({position:s[this.isHorizontal()?"startX":"startY"],time:t.touchStartTime}),t.velocities.push({position:s[this.isHorizontal()?"currentX":"currentY"],time:f.now()})),this.updateProgress(t.currentTranslate),this.setTranslate(t.currentTranslate))}}}}}else t.startMoving&&t.isScrolling&&this.emit("touchMoveOpposite",r)}function lt(e){var t=this,i=t.touchEventsData,s=t.params,a=t.touches,r=t.rtlTranslate,n=t.$wrapperEl,l=t.slidesGrid,o=t.snapGrid,d=e;if(d.originalEvent&&(d=d.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",d),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&s.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);s.grabCursor&&i.isMoved&&i.isTouched&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!1);var h,p=f.now(),c=p-i.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(d),t.emit("tap click",d),c<300&&p-i.lastClickTime<300&&t.emit("doubleTap doubleClick",d)),i.lastClickTime=f.now(),f.nextTick(function(){t.destroyed||(t.allowClick=!0)}),!i.isTouched||!i.isMoved||!t.swipeDirection||a.diff===0||i.currentTranslate===i.startTranslate)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,h=s.followFinger?r?t.translate:-t.translate:-i.currentTranslate,!s.cssMode)if(s.freeMode){if(h<-t.minTranslate())return void t.slideTo(t.activeIndex);if(h>-t.maxTranslate())return void(t.slides.length1){var u=i.velocities.pop(),E=i.velocities.pop(),w=u.position-E.position,y=u.time-E.time;t.velocity=w/y,t.velocity/=2,Math.abs(t.velocity)150||f.now()-u.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=s.freeModeMomentumVelocityRatio,i.velocities.length=0;var g=1e3*s.freeModeMomentumRatio,x=t.velocity*g,b=t.translate+x;r&&(b=-b);var z,I,S=!1,$=20*Math.abs(t.velocity)*s.freeModeMomentumBounceRatio;if(bt.minTranslate())s.freeModeMomentumBounce?(b-t.minTranslate()>$&&(b=t.minTranslate()+$),z=t.minTranslate(),S=!0,i.allowMomentumBounce=!0):b=t.minTranslate(),s.loop&&s.centeredSlides&&(I=!0);else if(s.freeModeSticky){for(var O,G=0;G-b){O=G;break}b=-(b=Math.abs(o[O]-b)=s.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var D=0,k=t.slidesSizesGrid[0],P=0;P=l[P]&&h=l[P]&&(D=P,k=l[l.length-1]-l[l.length-2]);var A=(h-l[D])/k;if(c>s.longSwipesMs){if(!s.longSwipes)return void t.slideTo(t.activeIndex);t.swipeDirection==="next"&&(A>=s.longSwipesRatio?t.slideTo(D+s.slidesPerGroup):t.slideTo(D)),t.swipeDirection==="prev"&&(A>1-s.longSwipesRatio?t.slideTo(D+s.slidesPerGroup):t.slideTo(D))}else{if(!s.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(d.target===t.navigation.nextEl||d.target===t.navigation.prevEl)?d.target===t.navigation.nextEl?t.slideTo(D+s.slidesPerGroup):t.slideTo(D):(t.swipeDirection==="next"&&t.slideTo(D+s.slidesPerGroup),t.swipeDirection==="prev"&&t.slideTo(D))}}}function De(){var e=this.params,t=this.el;if(!t||t.offsetWidth!==0){e.breakpoints&&this.setBreakpoint();var i=this.allowSlideNext,s=this.allowSlidePrev,a=this.snapGrid;if(this.allowSlideNext=!0,this.allowSlidePrev=!0,this.updateSize(),this.updateSlides(),e.freeMode){var r=Math.min(Math.max(this.translate,this.maxTranslate()),this.minTranslate());this.setTranslate(r),this.updateActiveIndex(),this.updateSlidesClasses(),e.autoHeight&&this.updateAutoHeight()}else this.updateSlidesClasses(),(e.slidesPerView==="auto"||e.slidesPerView>1)&&this.isEnd&&!this.params.centeredSlides?this.slideTo(this.slides.length-1,0,!1,!0):this.slideTo(this.activeIndex,0,!1,!0);this.autoplay&&this.autoplay.running&&this.autoplay.paused&&this.autoplay.run(),this.allowSlidePrev=s,this.allowSlideNext=i,this.params.watchOverflow&&a!==this.snapGrid&&this.checkOverflow()}}function dt(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function ht(){var e=this.wrapperEl;this.previousTranslate=this.translate,this.translate=this.isHorizontal()?-e.scrollLeft:-e.scrollTop,this.translate===-0&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses();var t=this.maxTranslate()-this.minTranslate();(t===0?0:(this.translate-this.minTranslate())/t)!==this.progress&&this.updateProgress(this.translate),this.emit("setTranslate",this.translate,!1)}var Oe={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},fe={update:Je,translate:et,transition:tt,slide:it,loop:st,grabCursor:at,manipulation:rt,events:{attachEvents:function(){var e=this.params,t=this.touchEvents,i=this.el,s=this.wrapperEl;this.onTouchStart=nt.bind(this),this.onTouchMove=ot.bind(this),this.onTouchEnd=lt.bind(this),e.cssMode&&(this.onScroll=ht.bind(this)),this.onClick=dt.bind(this);var a=!!e.nested;if(!C.touch&&C.pointerEvents)i.addEventListener(t.start,this.onTouchStart,!1),T.addEventListener(t.move,this.onTouchMove,a),T.addEventListener(t.end,this.onTouchEnd,!1);else{if(C.touch){var r=!(t.start!=="touchstart"||!C.passiveListener||!e.passiveListeners)&&{passive:!0,capture:!1};i.addEventListener(t.start,this.onTouchStart,r),i.addEventListener(t.move,this.onTouchMove,C.passiveListener?{passive:!1,capture:a}:a),i.addEventListener(t.end,this.onTouchEnd,r),t.cancel&&i.addEventListener(t.cancel,this.onTouchEnd,r)}(e.simulateTouch&&!N.ios&&!N.android||e.simulateTouch&&!C.touch&&N.ios)&&(i.addEventListener("mousedown",this.onTouchStart,!1),T.addEventListener("mousemove",this.onTouchMove,a),T.addEventListener("mouseup",this.onTouchEnd,!1))}(e.preventClicks||e.preventClicksPropagation)&&i.addEventListener("click",this.onClick,!0),e.cssMode&&s.addEventListener("scroll",this.onScroll),this.on(N.ios||N.android?"resize orientationchange observerUpdate":"resize observerUpdate",De,!0)},detachEvents:function(){var e=this.params,t=this.touchEvents,i=this.el,s=this.wrapperEl,a=!!e.nested;if(!C.touch&&C.pointerEvents)i.removeEventListener(t.start,this.onTouchStart,!1),T.removeEventListener(t.move,this.onTouchMove,a),T.removeEventListener(t.end,this.onTouchEnd,!1);else{if(C.touch){var r=!(t.start!=="onTouchStart"||!C.passiveListener||!e.passiveListeners)&&{passive:!0,capture:!1};i.removeEventListener(t.start,this.onTouchStart,r),i.removeEventListener(t.move,this.onTouchMove,a),i.removeEventListener(t.end,this.onTouchEnd,r),t.cancel&&i.removeEventListener(t.cancel,this.onTouchEnd,r)}(e.simulateTouch&&!N.ios&&!N.android||e.simulateTouch&&!C.touch&&N.ios)&&(i.removeEventListener("mousedown",this.onTouchStart,!1),T.removeEventListener("mousemove",this.onTouchMove,a),T.removeEventListener("mouseup",this.onTouchEnd,!1))}(e.preventClicks||e.preventClicksPropagation)&&i.removeEventListener("click",this.onClick,!0),e.cssMode&&s.removeEventListener("scroll",this.onScroll),this.off(N.ios||N.android?"resize orientationchange observerUpdate":"resize observerUpdate",De)}},breakpoints:{setBreakpoint:function(){var e=this.activeIndex,t=this.initialized,i=this.loopedSlides;i===void 0&&(i=0);var s=this.params,a=this.$el,r=s.breakpoints;if(r&&(!r||Object.keys(r).length!==0)){var n=this.getBreakpoint(r);if(n&&this.currentBreakpoint!==n){var l=n in r?r[n]:void 0;l&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerColumn"].forEach(function(u){var E=l[u];E!==void 0&&(l[u]=u!=="slidesPerView"||E!=="AUTO"&&E!=="auto"?u==="slidesPerView"?parseFloat(E):parseInt(E,10):"auto")});var o=l||this.originalParams,d=s.slidesPerColumn>1,h=o.slidesPerColumn>1;d&&!h?a.removeClass(s.containerModifierClass+"multirow "+s.containerModifierClass+"multirow-column"):!d&&h&&(a.addClass(s.containerModifierClass+"multirow"),o.slidesPerColumnFill==="column"&&a.addClass(s.containerModifierClass+"multirow-column"));var p=o.direction&&o.direction!==s.direction,c=s.loop&&(o.slidesPerView!==s.slidesPerView||p);p&&t&&this.changeDirection(),f.extend(this.params,o),f.extend(this,{allowTouchMove:this.params.allowTouchMove,allowSlideNext:this.params.allowSlideNext,allowSlidePrev:this.params.allowSlidePrev}),this.currentBreakpoint=n,c&&t&&(this.loopDestroy(),this.loopCreate(),this.updateSlides(),this.slideTo(e-i+this.loopedSlides,0,!1)),this.emit("breakpoint",o)}}},getBreakpoint:function(e){if(e){var t=!1,i=[];Object.keys(e).forEach(function(r){i.push(r)}),i.sort(function(r,n){return parseInt(r,10)-parseInt(n,10)});for(var s=0;s1&&(a.push("multirow"),t.slidesPerColumnFill==="column"&&a.push("multirow-column")),N.android&&a.push("android"),N.ios&&a.push("ios"),t.cssMode&&a.push("css-mode"),a.forEach(function(r){e.push(t.containerModifierClass+r)}),s.addClass(e.join(" "))},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" "))}},images:{loadImage:function(e,t,i,s,a,r){var n;function l(){r&&r()}e.complete&&a?l():t?((n=new v.Image).onload=l,n.onerror=l,s&&(n.sizes=s),i&&(n.srcset=i),t&&(n.src=t)):l()},preloadImages:function(){var e=this;function t(){e!=null&&e&&!e.destroyed&&(e.imagesLoaded!==void 0&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var i=0;i1){var p=[];return h.each(function(w,y){var g=f.extend({},r,{el:y});p.push(new t(g))}),p}var c,u,E;return a.swiper=o,h.data("swiper",o),a&&a.shadowRoot&&a.shadowRoot.querySelector?(c=m(a.shadowRoot.querySelector("."+o.params.wrapperClass))).children=function(w){return h.children(w)}:c=h.children("."+o.params.wrapperClass),f.extend(o,{$el:h,el:a,$wrapperEl:c,wrapperEl:c[0],classNames:[],slides:m(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return o.params.direction==="horizontal"},isVertical:function(){return o.params.direction==="vertical"},rtl:a.dir.toLowerCase()==="rtl"||h.css("direction")==="rtl",rtlTranslate:o.params.direction==="horizontal"&&(a.dir.toLowerCase()==="rtl"||h.css("direction")==="rtl"),wrongRTL:c.css("display")==="-webkit-box",activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEvents:(u=["touchstart","touchmove","touchend","touchcancel"],E=["mousedown","mousemove","mouseup"],C.pointerEvents&&(E=["pointerdown","pointermove","pointerup"]),o.touchEventsTouch={start:u[0],move:u[1],end:u[2],cancel:u[3]},o.touchEventsDesktop={start:E[0],move:E[1],end:E[2]},C.touch||!o.params.simulateTouch?o.touchEventsTouch:o.touchEventsDesktop),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,formElements:"input, select, option, textarea, button, video",lastClickTime:f.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.useModules(),o.params.init&&o.init(),o}}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var i={extendedDefaults:{configurable:!0},defaults:{configurable:!0},Class:{configurable:!0},$:{configurable:!0}};return t.prototype.slidesPerViewDynamic=function(){var s=this.params,a=this.slides,r=this.slidesGrid,n=this.size,l=this.activeIndex,o=1;if(s.centeredSlides){for(var d,h=a[l].swiperSlideSize,p=l+1;pn&&(d=!0));for(var c=l-1;c>=0;c-=1)a[c]&&!d&&(o+=1,(h+=a[c].swiperSlideSize)>n&&(d=!0))}else for(var u=l+1;u1)&&s.isEnd&&!s.params.centeredSlides?s.slideTo(s.slides.length-1,0,!1,!0):s.slideTo(s.activeIndex,0,!1,!0))||n(),r.watchOverflow&&a!==s.snapGrid&&s.checkOverflow(),s.emit("update")}function n(){var l=s.rtlTranslate?-1*s.translate:s.translate,o=Math.min(Math.max(l,s.maxTranslate()),s.minTranslate());s.setTranslate(o),s.updateActiveIndex(),s.updateSlidesClasses()}},t.prototype.changeDirection=function(s,a){a===void 0&&(a=!0);var r=this.params.direction;return s||(s=r==="horizontal"?"vertical":"horizontal"),s===r||s!=="horizontal"&&s!=="vertical"?this:(this.$el.removeClass(""+this.params.containerModifierClass+r).addClass(""+this.params.containerModifierClass+s),this.params.direction=s,this.slides.each(function(n,l){s==="vertical"?l.style.width="":l.style.height=""}),this.emit("changeDirection"),a&&this.update(),this)},t.prototype.init=function(){this.initialized||(this.emit("beforeInit"),this.params.breakpoints&&this.setBreakpoint(),this.addClasses(),this.params.loop&&this.loopCreate(),this.updateSize(),this.updateSlides(),this.params.watchOverflow&&this.checkOverflow(),this.params.grabCursor&&this.setGrabCursor(),this.params.preloadImages&&this.preloadImages(),this.params.loop?this.slideTo(this.params.initialSlide+this.loopedSlides,0,this.params.runCallbacksOnInit):this.slideTo(this.params.initialSlide,0,this.params.runCallbacksOnInit),this.attachEvents(),this.initialized=!0,this.emit("init"))},t.prototype.destroy=function(s,a){s===void 0&&(s=!0),a===void 0&&(a=!0);var r=this,n=r.params,l=r.$el,o=r.$wrapperEl,d=r.slides;return r.params===void 0||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),n.loop&&r.loopDestroy(),a&&(r.removeClasses(),l.removeAttr("style"),o.removeAttr("style"),d&&d.length&&d.removeClass([n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(function(h){r.off(h)}),s!==!1&&(r.$el[0].swiper=null,r.$el.data("swiper",null),f.deleteProps(r)),r.destroyed=!0),null},t.extendDefaults=function(s){f.extend(me,s)},i.extendedDefaults.get=function(){return me},i.defaults.get=function(){return Oe},i.Class.get=function(){return e},i.$.get=function(){return m},Object.defineProperties(t,i),t}(Y),pt={name:"device",proto:{device:N},static:{device:N}},ct={name:"support",proto:{support:C},static:{support:C}},se={isEdge:!!v.navigator.userAgent.match(/Edge/g),isSafari:function(){var e=v.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}(),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(v.navigator.userAgent)},ut={name:"browser",proto:{browser:se},static:{browser:se}},vt={name:"resize",create:function(){var e=this;f.extend(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(){v.addEventListener("resize",this.resize.resizeHandler),v.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){v.removeEventListener("resize",this.resize.resizeHandler),v.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},ae={func:v.MutationObserver||v.WebkitMutationObserver,attach:function(e,t){t===void 0&&(t={});var i=this,s=new ae.func(function(a){if(a.length!==1){var r=function(){i.emit("observerUpdate",a[0])};v.requestAnimationFrame?v.requestAnimationFrame(r):v.setTimeout(r,0)}else i.emit("observerUpdate",a[0])});s.observe(e,{attributes:t.attributes===void 0||t.attributes,childList:t.childList===void 0||t.childList,characterData:t.characterData===void 0||t.characterData}),i.observer.observers.push(s)},init:function(){if(C.observer&&this.params.observer){if(this.params.observeParents)for(var e=this.$el.parents(),t=0;tI)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+D+'"]').remove();for(var k=0;k=z&&k<=I&&(p===void 0||e?G.push(k):(k>p&&G.push(k),k'+e+"");return s.attr("data-swiper-slide-index")||s.attr("data-swiper-slide-index",t),i.cache&&(this.virtual.cache[t]=s),s},appendSlide:function(e){if(typeof e=="object"&&"length"in e)for(var t=0;t=0;i-=1)this.virtual.slides.splice(e[i],1),this.params.virtual.cache&&delete this.virtual.cache[e[i]],e[i]0&&this.$el.parents("."+this.params.slideActiveClass).length===0)return;var r=v.innerWidth,n=v.innerHeight,l=this.$el.offset();t&&(l.left-=this.$el[0].scrollLeft);for(var o=[[l.left,l.top],[l.left+this.width,l.top],[l.left,l.top+this.height],[l.left+this.width,l.top+this.height]],d=0;d=0&&h[0]<=r&&h[1]>=0&&h[1]<=n&&(a=!0)}if(!a)return}this.isHorizontal()?(s!==33&&s!==34&&s!==37&&s!==39||(i.preventDefault?i.preventDefault():i.returnValue=!1),(s!==34&&s!==39||t)&&(s!==33&&s!==37||!t)||this.slideNext(),(s!==33&&s!==37||t)&&(s!==34&&s!==39||!t)||this.slidePrev()):(s!==33&&s!==34&&s!==38&&s!==40||(i.preventDefault?i.preventDefault():i.returnValue=!1),s!==34&&s!==40||this.slideNext(),s!==33&&s!==38||this.slidePrev()),this.emit("keyPress",s)}},enable:function(){this.keyboard.enabled||(m(T).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){this.keyboard.enabled&&(m(T).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},gt={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){f.extend(this,{keyboard:{enabled:!1,enable:ge.enable.bind(this),disable:ge.disable.bind(this),handle:ge.handle.bind(this)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}},q={lastScrollTime:f.now(),event:function(){return v.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var e="onwheel"in T;if(!e){var t=T.createElement("div");t.setAttribute("onwheel","return;"),e=typeof t.onwheel=="function"}return!e&&T.implementation&&T.implementation.hasFeature&&T.implementation.hasFeature("","")!==!0&&(e=T.implementation.hasFeature("Events.wheel","3.0")),e}()?"wheel":"mousewheel"},normalize:function(e){var t=0,i=0,s=0,a=0;return"detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),s=10*t,a=10*i,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(s=e.deltaX),e.shiftKey&&!s&&(s=a,a=0),(s||a)&&e.deltaMode&&(e.deltaMode===1?(s*=40,a*=40):(s*=800,a*=800)),s&&!t&&(t=s<1?-1:1),a&&!i&&(i=a<1?-1:1),{spinX:t,spinY:i,pixelX:s,pixelY:a}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var t=e,i=this,s=i.params.mousewheel;if(i.params.cssMode&&t.preventDefault(),!i.mouseEntered&&!s.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);var a=0,r=i.rtlTranslate?-1:1,n=q.normalize(t);if(s.forceToAxis)if(i.isHorizontal()){if(!(Math.abs(n.pixelX)>Math.abs(n.pixelY)))return!0;a=n.pixelX*r}else{if(!(Math.abs(n.pixelY)>Math.abs(n.pixelX)))return!0;a=n.pixelY}else a=Math.abs(n.pixelX)>Math.abs(n.pixelY)?-n.pixelX*r:-n.pixelY;if(a===0)return!0;if(s.invert&&(a=-a),i.params.freeMode){i.params.loop&&i.loopFix();var l=i.getTranslate()+a*s.sensitivity,o=i.isBeginning,d=i.isEnd;if(l>=i.minTranslate()&&(l=i.minTranslate()),l<=i.maxTranslate()&&(l=i.maxTranslate()),i.setTransition(0),i.setTranslate(l),i.updateProgress(),i.updateActiveIndex(),i.updateSlidesClasses(),(!o&&i.isBeginning||!d&&i.isEnd)&&i.updateSlidesClasses(),i.params.freeModeSticky&&(clearTimeout(i.mousewheel.timeout),i.mousewheel.timeout=f.nextTick(function(){i.slideToClosest()},300)),i.emit("scroll",t),i.params.autoplay&&i.params.autoplayDisableOnInteraction&&i.autoplay.stop(),l===i.minTranslate()||l===i.maxTranslate())return!0}else{if(f.now()-i.mousewheel.lastScrollTime>60)if(a<0)if(i.isEnd&&!i.params.loop||i.animating){if(s.releaseOnEdges)return!0}else i.slideNext(),i.emit("scroll",t);else if(i.isBeginning&&!i.params.loop||i.animating){if(s.releaseOnEdges)return!0}else i.slidePrev(),i.emit("scroll",t);i.mousewheel.lastScrollTime=new v.Date().getTime()}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},enable:function(){var e=q.event();if(this.params.cssMode)return this.wrapperEl.removeEventListener(e,this.mousewheel.handle),!0;if(!e||this.mousewheel.enabled)return!1;var t=this.$el;return this.params.mousewheel.eventsTarged!=="container"&&(t=m(this.params.mousewheel.eventsTarged)),t.on("mouseenter",this.mousewheel.handleMouseEnter),t.on("mouseleave",this.mousewheel.handleMouseLeave),t.on(e,this.mousewheel.handle),this.mousewheel.enabled=!0,!0},disable:function(){var e=q.event();if(this.params.cssMode)return this.wrapperEl.addEventListener(e,this.mousewheel.handle),!0;if(!e||!this.mousewheel.enabled)return!1;var t=this.$el;return this.params.mousewheel.eventsTarged!=="container"&&(t=m(this.params.mousewheel.eventsTarged)),t.off(e,this.mousewheel.handle),this.mousewheel.enabled=!1,!0}},ee={update:function(){var e=this.params.navigation;if(!this.params.loop){var t=this.navigation,i=t.$nextEl,s=t.$prevEl;s&&s.length>0&&(this.isBeginning?s.addClass(e.disabledClass):s.removeClass(e.disabledClass),s[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass)),i&&i.length>0&&(this.isEnd?i.addClass(e.disabledClass):i.removeClass(e.disabledClass),i[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass))}},onPrevClick:function(e){e.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick:function(e){e.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init:function(){var e,t,i=this.params.navigation;(i.nextEl||i.prevEl)&&(i.nextEl&&(e=m(i.nextEl),this.params.uniqueNavElements&&typeof i.nextEl=="string"&&e.length>1&&this.$el.find(i.nextEl).length===1&&(e=this.$el.find(i.nextEl))),i.prevEl&&(t=m(i.prevEl),this.params.uniqueNavElements&&typeof i.prevEl=="string"&&t.length>1&&this.$el.find(i.prevEl).length===1&&(t=this.$el.find(i.prevEl))),e&&e.length>0&&e.on("click",this.navigation.onNextClick),t&&t.length>0&&t.on("click",this.navigation.onPrevClick),f.extend(this.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this.navigation,t=e.$nextEl,i=e.$prevEl;t&&t.length&&(t.off("click",this.navigation.onNextClick),t.removeClass(this.params.navigation.disabledClass)),i&&i.length&&(i.off("click",this.navigation.onPrevClick),i.removeClass(this.params.navigation.disabledClass))}},re={update:function(){var e=this.rtl,t=this.params.pagination;if(t.el&&this.pagination.el&&this.pagination.$el&&this.pagination.$el.length!==0){var i,s=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,a=this.pagination.$el,r=this.params.loop?Math.ceil((s-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length;if(this.params.loop?((i=Math.ceil((this.activeIndex-this.loopedSlides)/this.params.slidesPerGroup))>s-1-2*this.loopedSlides&&(i-=s-2*this.loopedSlides),i>r-1&&(i-=r),i<0&&this.params.paginationType!=="bullets"&&(i=r+i)):i=this.snapIndex!==void 0?this.snapIndex:this.activeIndex||0,t.type==="bullets"&&this.pagination.bullets&&this.pagination.bullets.length>0){var n,l,o,d=this.pagination.bullets;if(t.dynamicBullets&&(this.pagination.bulletSize=d.eq(0)[this.isHorizontal()?"outerWidth":"outerHeight"](!0),a.css(this.isHorizontal()?"width":"height",this.pagination.bulletSize*(t.dynamicMainBullets+4)+"px"),t.dynamicMainBullets>1&&this.previousIndex!==void 0&&(this.pagination.dynamicBulletIndex+=i-this.previousIndex,this.pagination.dynamicBulletIndex>t.dynamicMainBullets-1?this.pagination.dynamicBulletIndex=t.dynamicMainBullets-1:this.pagination.dynamicBulletIndex<0&&(this.pagination.dynamicBulletIndex=0)),n=i-this.pagination.dynamicBulletIndex,o=((l=n+(Math.min(d.length,t.dynamicMainBullets)-1))+n)/2),d.removeClass(t.bulletActiveClass+" "+t.bulletActiveClass+"-next "+t.bulletActiveClass+"-next-next "+t.bulletActiveClass+"-prev "+t.bulletActiveClass+"-prev-prev "+t.bulletActiveClass+"-main"),a.length>1)d.each(function(z,I){var S=m(I),$=S.index();$===i&&S.addClass(t.bulletActiveClass),t.dynamicBullets&&($>=n&&$<=l&&S.addClass(t.bulletActiveClass+"-main"),$===n&&S.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),$===l&&S.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next"))});else if(d.eq(i).addClass(t.bulletActiveClass),t.dynamicBullets){for(var h=d.eq(n),p=d.eq(l),c=n;c<=l;c+=1)d.eq(c).addClass(t.bulletActiveClass+"-main");h.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),p.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next")}if(t.dynamicBullets){var u=Math.min(d.length,t.dynamicMainBullets+4),E=(this.pagination.bulletSize*u-this.pagination.bulletSize)/2-o*this.pagination.bulletSize,w=e?"right":"left";d.css(this.isHorizontal()?w:"top",E+"px")}}if(t.type==="fraction"&&(a.find("."+t.currentClass).text(t.formatFractionCurrent(i+1)),a.find("."+t.totalClass).text(t.formatFractionTotal(r))),t.type==="progressbar"){var y;y=t.progressbarOpposite?this.isHorizontal()?"vertical":"horizontal":this.isHorizontal()?"horizontal":"vertical";var g=(i+1)/r,x=1,b=1;y==="horizontal"?x=g:b=g,a.find("."+t.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+x+") scaleY("+b+")").transition(this.params.speed)}t.type==="custom"&&t.renderCustom?(a.html(t.renderCustom(this,i+1,r)),this.emit("paginationRender",this,a[0])):this.emit("paginationUpdate",this,a[0]),a[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](t.lockClass)}},render:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&this.pagination.$el.length!==0){var t=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,i=this.pagination.$el,s="";if(e.type==="bullets"){for(var a=this.params.loop?Math.ceil((t-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length,r=0;r";i.html(s),this.pagination.bullets=i.find("."+e.bulletClass)}e.type==="fraction"&&(s=e.renderFraction?e.renderFraction.call(this,e.currentClass,e.totalClass):' / ',i.html(s)),e.type==="progressbar"&&(s=e.renderProgressbar?e.renderProgressbar.call(this,e.progressbarFillClass):'',i.html(s)),e.type!=="custom"&&this.emit("paginationRender",this.pagination.$el[0])}},init:function(){var e=this,t=e.params.pagination;if(t.el){var i=m(t.el);i.length!==0&&(e.params.uniqueNavElements&&typeof t.el=="string"&&i.length>1&&e.$el.find(t.el).length===1&&(i=e.$el.find(t.el)),t.type==="bullets"&&t.clickable&&i.addClass(t.clickableClass),i.addClass(t.modifierClass+t.type),t.type==="bullets"&&t.dynamicBullets&&(i.addClass(""+t.modifierClass+t.type+"-dynamic"),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),t.type==="progressbar"&&t.progressbarOpposite&&i.addClass(t.progressbarOppositeClass),t.clickable&&i.on("click","."+t.bulletClass,function(s){s.preventDefault();var a=m(this).index()*e.params.slidesPerGroup;e.params.loop&&(a+=e.loopedSlides),e.slideTo(a)}),f.extend(e.pagination,{$el:i,el:i[0]}))}},destroy:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&this.pagination.$el.length!==0){var t=this.pagination.$el;t.removeClass(e.hiddenClass),t.removeClass(e.modifierClass+e.type),this.pagination.bullets&&this.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&t.off("click","."+e.bulletClass)}}},B={setTranslate:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=this.rtlTranslate,i=this.progress,s=e.dragSize,a=e.trackSize,r=e.$dragEl,n=e.$el,l=this.params.scrollbar,o=s,d=(a-s)*i;t?(d=-d)>0?(o=s-d,d=0):-d+s>a&&(o=a+d):d<0?(o=s+d,d=0):d+s>a&&(o=a-d),this.isHorizontal()?(r.transform("translate3d("+d+"px, 0, 0)"),r[0].style.width=o+"px"):(r.transform("translate3d(0px, "+d+"px, 0)"),r[0].style.height=o+"px"),l.hide&&(clearTimeout(this.scrollbar.timeout),n[0].style.opacity=1,this.scrollbar.timeout=setTimeout(function(){n[0].style.opacity=0,n.transition(400)},1e3))}},setTransition:function(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=e.$dragEl,i=e.$el;t[0].style.width="",t[0].style.height="";var s,a=this.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,r=this.size/this.virtualSize,n=r*(a/this.size);s=this.params.scrollbar.dragSize==="auto"?a*r:parseInt(this.params.scrollbar.dragSize,10),this.isHorizontal()?t[0].style.width=s+"px":t[0].style.height=s+"px",i[0].style.display=r>=1?"none":"",this.params.scrollbar.hide&&(i[0].style.opacity=0),f.extend(e,{trackSize:a,divider:r,moveDivider:n,dragSize:s}),e.$el[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](this.params.scrollbar.lockClass)}},getPointerPosition:function(e){return this.isHorizontal()?e.type==="touchstart"||e.type==="touchmove"?e.targetTouches[0].clientX:e.clientX:e.type==="touchstart"||e.type==="touchmove"?e.targetTouches[0].clientY:e.clientY},setDragPosition:function(e){var t,i=this.scrollbar,s=this.rtlTranslate,a=i.$el,r=i.dragSize,n=i.trackSize,l=i.dragStartPos;t=(i.getPointerPosition(e)-a.offset()[this.isHorizontal()?"left":"top"]-(l!==null?l:r/2))/(n-r),t=Math.max(Math.min(t,1),0),s&&(t=1-t);var o=this.minTranslate()+(this.maxTranslate()-this.minTranslate())*t;this.updateProgress(o),this.setTranslate(o),this.updateActiveIndex(),this.updateSlidesClasses()},onDragStart:function(e){var t=this.params.scrollbar,i=this.scrollbar,s=this.$wrapperEl,a=i.$el,r=i.$dragEl;this.scrollbar.isTouched=!0,this.scrollbar.dragStartPos=e.target===r[0]||e.target===r?i.getPointerPosition(e)-e.target.getBoundingClientRect()[this.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),s.transition(100),r.transition(100),i.setDragPosition(e),clearTimeout(this.scrollbar.dragTimeout),a.transition(0),t.hide&&a.css("opacity",1),this.params.cssMode&&this.$wrapperEl.css("scroll-snap-type","none"),this.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this.scrollbar,i=this.$wrapperEl,s=t.$el,a=t.$dragEl;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),i.transition(0),s.transition(0),a.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this.params.scrollbar,i=this.scrollbar,s=this.$wrapperEl,a=i.$el;this.scrollbar.isTouched&&(this.scrollbar.isTouched=!1,this.params.cssMode&&(this.$wrapperEl.css("scroll-snap-type",""),s.transition("")),t.hide&&(clearTimeout(this.scrollbar.dragTimeout),this.scrollbar.dragTimeout=f.nextTick(function(){a.css("opacity",0),a.transition(400)},1e3)),this.emit("scrollbarDragEnd",e),t.snapOnRelease&&this.slideToClosest())},enableDraggable:function(){if(this.params.scrollbar.el){var e=this.scrollbar,t=this.touchEventsTouch,i=this.touchEventsDesktop,s=this.params,a=e.$el[0],r=!(!C.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},n=!(!C.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1};C.touch?(a.addEventListener(t.start,this.scrollbar.onDragStart,r),a.addEventListener(t.move,this.scrollbar.onDragMove,r),a.addEventListener(t.end,this.scrollbar.onDragEnd,n)):(a.addEventListener(i.start,this.scrollbar.onDragStart,r),T.addEventListener(i.move,this.scrollbar.onDragMove,r),T.addEventListener(i.end,this.scrollbar.onDragEnd,n))}},disableDraggable:function(){if(this.params.scrollbar.el){var e=this.scrollbar,t=this.touchEventsTouch,i=this.touchEventsDesktop,s=this.params,a=e.$el[0],r=!(!C.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},n=!(!C.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1};C.touch?(a.removeEventListener(t.start,this.scrollbar.onDragStart,r),a.removeEventListener(t.move,this.scrollbar.onDragMove,r),a.removeEventListener(t.end,this.scrollbar.onDragEnd,n)):(a.removeEventListener(i.start,this.scrollbar.onDragStart,r),T.removeEventListener(i.move,this.scrollbar.onDragMove,r),T.removeEventListener(i.end,this.scrollbar.onDragEnd,n))}},init:function(){if(this.params.scrollbar.el){var e=this.scrollbar,t=this.$el,i=this.params.scrollbar,s=m(i.el);this.params.uniqueNavElements&&typeof i.el=="string"&&s.length>1&&t.find(i.el).length===1&&(s=t.find(i.el));var a=s.find("."+this.params.scrollbar.dragClass);a.length===0&&(a=m('
'),s.append(a)),f.extend(e,{$el:s,el:s[0],$dragEl:a,dragEl:a[0]}),i.draggable&&e.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},be={setTransform:function(e,t){var i=this.rtl,s=m(e),a=i?-1:1,r=s.attr("data-swiper-parallax")||"0",n=s.attr("data-swiper-parallax-x"),l=s.attr("data-swiper-parallax-y"),o=s.attr("data-swiper-parallax-scale"),d=s.attr("data-swiper-parallax-opacity");if(n||l?(n=n||"0",l=l||"0"):this.isHorizontal()?(n=r,l="0"):(l=r,n="0"),n=n.indexOf("%")>=0?parseInt(n,10)*t*a+"%":n*t*a+"px",l=l.indexOf("%")>=0?parseInt(l,10)*t+"%":l*t+"px",d!=null){var h=d-(d-1)*(1-Math.abs(t));s[0].style.opacity=h}if(o==null)s.transform("translate3d("+n+", "+l+", 0px)");else{var p=o-(o-1)*(1-Math.abs(t));s.transform("translate3d("+n+", "+l+", 0px) scale("+p+")")}},setTranslate:function(){var e=this,t=e.$el,i=e.slides,s=e.progress,a=e.snapGrid;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(r,n){e.parallax.setTransform(n,s)}),i.each(function(r,n){var l=n.progress;e.params.slidesPerGroup>1&&e.params.slidesPerView!=="auto"&&(l+=Math.ceil(r/2)-s*(a.length-1)),l=Math.min(Math.max(l,-1),1),m(n).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(o,d){e.parallax.setTransform(d,l)})})},setTransition:function(e){e===void 0&&(e=this.params.speed),this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(t,i){var s=m(i),a=parseInt(s.attr("data-swiper-parallax-duration"),10)||e;e===0&&(a=0),s.transition(a)})}},we={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,i=e.targetTouches[0].pageY,s=e.targetTouches[1].pageX,a=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(s-t,2)+Math.pow(a-i,2))},onGestureStart:function(e){var t=this.params.zoom,i=this.zoom,s=i.gesture;if(i.fakeGestureTouched=!1,i.fakeGestureMoved=!1,!C.gestures){if(e.type!=="touchstart"||e.type==="touchstart"&&e.targetTouches.length<2)return;i.fakeGestureTouched=!0,s.scaleStart=we.getDistanceBetweenTouches(e)}s.$slideEl&&s.$slideEl.length||(s.$slideEl=m(e.target).closest(".swiper-slide"),s.$slideEl.length===0&&(s.$slideEl=this.slides.eq(this.activeIndex)),s.$imageEl=s.$slideEl.find("img, svg, canvas"),s.$imageWrapEl=s.$imageEl.parent("."+t.containerClass),s.maxRatio=s.$imageWrapEl.attr("data-swiper-zoom")||t.maxRatio,s.$imageWrapEl.length!==0)?(s.$imageEl.transition(0),this.zoom.isScaling=!0):s.$imageEl=void 0},onGestureChange:function(e){var t=this.params.zoom,i=this.zoom,s=i.gesture;if(!C.gestures){if(e.type!=="touchmove"||e.type==="touchmove"&&e.targetTouches.length<2)return;i.fakeGestureMoved=!0,s.scaleMove=we.getDistanceBetweenTouches(e)}s.$imageEl&&s.$imageEl.length!==0&&(C.gestures?i.scale=e.scale*i.currentScale:i.scale=s.scaleMove/s.scaleStart*i.currentScale,i.scale>s.maxRatio&&(i.scale=s.maxRatio-1+Math.pow(i.scale-s.maxRatio+1,.5)),i.scales.touchesStart.x)||!this.isHorizontal()&&(Math.floor(s.minY)===Math.floor(s.startY)&&s.touchesCurrent.ys.touchesStart.y)))return void(s.isTouched=!1);e.preventDefault(),e.stopPropagation(),s.isMoved=!0,s.currentX=s.touchesCurrent.x-s.touchesStart.x+s.startX,s.currentY=s.touchesCurrent.y-s.touchesStart.y+s.startY,s.currentXs.maxX&&(s.currentX=s.maxX-1+Math.pow(s.currentX-s.maxX+1,.8)),s.currentYs.maxY&&(s.currentY=s.maxY-1+Math.pow(s.currentY-s.maxY+1,.8)),a.prevPositionX||(a.prevPositionX=s.touchesCurrent.x),a.prevPositionY||(a.prevPositionY=s.touchesCurrent.y),a.prevTime||(a.prevTime=Date.now()),a.x=(s.touchesCurrent.x-a.prevPositionX)/(Date.now()-a.prevTime)/2,a.y=(s.touchesCurrent.y-a.prevPositionY)/(Date.now()-a.prevTime)/2,Math.abs(s.touchesCurrent.x-a.prevPositionX)<2&&(a.x=0),Math.abs(s.touchesCurrent.y-a.prevPositionY)<2&&(a.y=0),a.prevPositionX=s.touchesCurrent.x,a.prevPositionY=s.touchesCurrent.y,a.prevTime=Date.now(),i.$imageWrapEl.transform("translate3d("+s.currentX+"px, "+s.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,i=e.image,s=e.velocity;if(t.$imageEl&&t.$imageEl.length!==0){if(!i.isTouched||!i.isMoved)return i.isTouched=!1,void(i.isMoved=!1);i.isTouched=!1,i.isMoved=!1;var a=300,r=300,n=s.x*a,l=i.currentX+n,o=s.y*r,d=i.currentY+o;s.x!==0&&(a=Math.abs((l-i.currentX)/s.x)),s.y!==0&&(r=Math.abs((d-i.currentY)/s.y));var h=Math.max(a,r);i.currentX=l,i.currentY=d;var p=i.width*e.scale,c=i.height*e.scale;i.minX=Math.min(t.slideWidth/2-p/2,0),i.maxX=-i.minX,i.minY=Math.min(t.slideHeight/2-c/2,0),i.maxY=-i.minY,i.currentX=Math.max(Math.min(i.currentX,i.maxX),i.minX),i.currentY=Math.max(Math.min(i.currentY,i.maxY),i.minY),t.$imageWrapEl.transition(h).transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}},onTransitionEnd:function(){var e=this.zoom,t=e.gesture;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl.transform("translate3d(0,0,0) scale(1)"),t.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&t.scale!==1?t.out():t.in(e)},in:function(e){var t,i,s,a,r,n,l,o,d,h,p,c,u,E,w,y,g=this.zoom,x=this.params.zoom,b=g.gesture,z=g.image;b.$slideEl||(b.$slideEl=this.clickedSlide?m(this.clickedSlide):this.slides.eq(this.activeIndex),b.$imageEl=b.$slideEl.find("img, svg, canvas"),b.$imageWrapEl=b.$imageEl.parent("."+x.containerClass)),b.$imageEl&&b.$imageEl.length!==0&&(b.$slideEl.addClass(""+x.zoomedSlideClass),z.touchesStart.x===void 0&&e?(t=e.type==="touchend"?e.changedTouches[0].pageX:e.pageX,i=e.type==="touchend"?e.changedTouches[0].pageY:e.pageY):(t=z.touchesStart.x,i=z.touchesStart.y),g.scale=b.$imageWrapEl.attr("data-swiper-zoom")||x.maxRatio,g.currentScale=b.$imageWrapEl.attr("data-swiper-zoom")||x.maxRatio,e?(w=b.$slideEl[0].offsetWidth,y=b.$slideEl[0].offsetHeight,s=b.$slideEl.offset().left+w/2-t,a=b.$slideEl.offset().top+y/2-i,l=b.$imageEl[0].offsetWidth,o=b.$imageEl[0].offsetHeight,d=l*g.scale,h=o*g.scale,u=-(p=Math.min(w/2-d/2,0)),E=-(c=Math.min(y/2-h/2,0)),(r=s*g.scale)u&&(r=u),(n=a*g.scale)E&&(n=E)):(r=0,n=0),b.$imageWrapEl.transition(300).transform("translate3d("+r+"px, "+n+"px,0)"),b.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+g.scale+")"))},out:function(){var e=this.zoom,t=this.params.zoom,i=e.gesture;i.$slideEl||(i.$slideEl=this.clickedSlide?m(this.clickedSlide):this.slides.eq(this.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas"),i.$imageWrapEl=i.$imageEl.parent("."+t.containerClass)),i.$imageEl&&i.$imageEl.length!==0&&(e.scale=1,e.currentScale=1,i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),i.$slideEl.removeClass(""+t.zoomedSlideClass),i.$slideEl=void 0)},enable:function(){var e=this.zoom;if(!e.enabled){e.enabled=!0;var t=!(this.touchEvents.start!=="touchstart"||!C.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1},i=!C.passiveListener||{passive:!1,capture:!0};C.gestures?(this.$wrapperEl.on("gesturestart",".swiper-slide",e.onGestureStart,t),this.$wrapperEl.on("gesturechange",".swiper-slide",e.onGestureChange,t),this.$wrapperEl.on("gestureend",".swiper-slide",e.onGestureEnd,t)):this.touchEvents.start==="touchstart"&&(this.$wrapperEl.on(this.touchEvents.start,".swiper-slide",e.onGestureStart,t),this.$wrapperEl.on(this.touchEvents.move,".swiper-slide",e.onGestureChange,t),this.$wrapperEl.on(this.touchEvents.end,".swiper-slide",e.onGestureEnd,t),this.touchEvents.cancel&&this.$wrapperEl.on(this.touchEvents.cancel,".swiper-slide",e.onGestureEnd,t)),this.$wrapperEl.on(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove,i)}},disable:function(){var e=this.zoom;if(e.enabled){this.zoom.enabled=!1;var t=!(this.touchEvents.start!=="touchstart"||!C.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1},i=!C.passiveListener||{passive:!1,capture:!0};C.gestures?(this.$wrapperEl.off("gesturestart",".swiper-slide",e.onGestureStart,t),this.$wrapperEl.off("gesturechange",".swiper-slide",e.onGestureChange,t),this.$wrapperEl.off("gestureend",".swiper-slide",e.onGestureEnd,t)):this.touchEvents.start==="touchstart"&&(this.$wrapperEl.off(this.touchEvents.start,".swiper-slide",e.onGestureStart,t),this.$wrapperEl.off(this.touchEvents.move,".swiper-slide",e.onGestureChange,t),this.$wrapperEl.off(this.touchEvents.end,".swiper-slide",e.onGestureEnd,t),this.touchEvents.cancel&&this.$wrapperEl.off(this.touchEvents.cancel,".swiper-slide",e.onGestureEnd,t)),this.$wrapperEl.off(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove,i)}}},Ae={loadInSlide:function(e,t){t===void 0&&(t=!0);var i=this,s=i.params.lazy;if(e!==void 0&&i.slides.length!==0){var a=i.virtual&&i.params.virtual.enabled?i.$wrapperEl.children("."+i.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):i.slides.eq(e),r=a.find("."+s.elementClass+":not(."+s.loadedClass+"):not(."+s.loadingClass+")");!a.hasClass(s.elementClass)||a.hasClass(s.loadedClass)||a.hasClass(s.loadingClass)||(r=r.add(a[0])),r.length!==0&&r.each(function(n,l){var o=m(l);o.addClass(s.loadingClass);var d=o.attr("data-background"),h=o.attr("data-src"),p=o.attr("data-srcset"),c=o.attr("data-sizes");i.loadImage(o[0],h||d,p,c,!1,function(){if(i!=null&&i&&(!i||i.params)&&!i.destroyed){if(d?(o.css("background-image",'url("'+d+'")'),o.removeAttr("data-background")):(p&&(o.attr("srcset",p),o.removeAttr("data-srcset")),c&&(o.attr("sizes",c),o.removeAttr("data-sizes")),h&&(o.attr("src",h),o.removeAttr("data-src"))),o.addClass(s.loadedClass).removeClass(s.loadingClass),a.find("."+s.preloaderClass).remove(),i.params.loop&&t){var u=a.attr("data-swiper-slide-index");if(a.hasClass(i.params.slideDuplicateClass)){var E=i.$wrapperEl.children('[data-swiper-slide-index="'+u+'"]:not(.'+i.params.slideDuplicateClass+")");i.lazy.loadInSlide(E.index(),!1)}else{var w=i.$wrapperEl.children("."+i.params.slideDuplicateClass+'[data-swiper-slide-index="'+u+'"]');i.lazy.loadInSlide(w.index(),!1)}}i.emit("lazyImageReady",a[0],o[0])}}),i.emit("lazyImageLoad",a[0],o[0])})}},load:function(){var e=this,t=e.$wrapperEl,i=e.params,s=e.slides,a=e.activeIndex,r=e.virtual&&i.virtual.enabled,n=i.lazy,l=i.slidesPerView;function o(b){if(r){if(t.children("."+i.slideClass+'[data-swiper-slide-index="'+b+'"]').length)return!0}else if(s[b])return!0;return!1}function d(b){return r?m(b).attr("data-swiper-slide-index"):m(b).index()}if(l==="auto"&&(l=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+i.slideVisibleClass).each(function(b,z){var I=r?m(z).attr("data-swiper-slide-index"):m(z).index();e.lazy.loadInSlide(I)});else if(l>1)for(var h=a;h1||n.loadPrevNextAmount&&n.loadPrevNextAmount>1){for(var p=n.loadPrevNextAmount,c=l,u=Math.min(a+c+Math.max(p,c),s.length),E=Math.max(a-Math.max(c,p),0),w=a+l;w0&&e.lazy.loadInSlide(d(g));var x=t.children("."+i.slidePrevClass);x.length>0&&e.lazy.loadInSlide(d(x))}}},te={LinearSpline:function(e,t){var i,s,a,r,n,l=function(o,d){for(s=-1,i=o.length;i-s>1;)o[a=i+s>>1]<=d?s=a:i=a;return i};return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(o){return o?(n=l(this.x,o),r=n-1,(o-this.x[r])*(this.y[n]-this.y[r])/(this.x[n]-this.x[r])+this.y[r]):0},this},getInterpolateFunction:function(e){this.controller.spline||(this.controller.spline=this.params.loop?new te.LinearSpline(this.slidesGrid,e.slidesGrid):new te.LinearSpline(this.snapGrid,e.snapGrid))},setTranslate:function(e,t){var i,s,a=this,r=a.controller.control;function n(o){var d=a.rtlTranslate?-a.translate:a.translate;a.params.controller.by==="slide"&&(a.controller.getInterpolateFunction(o),s=-a.controller.spline.interpolate(-d)),s&&a.params.controller.by!=="container"||(i=(o.maxTranslate()-o.minTranslate())/(a.maxTranslate()-a.minTranslate()),s=(d-a.minTranslate())*i+o.minTranslate()),a.params.controller.inverse&&(s=o.maxTranslate()-s),o.updateProgress(s),o.setTranslate(s,a),o.updateActiveIndex(),o.updateSlidesClasses()}if(Array.isArray(r))for(var l=0;l0&&(this.isBeginning?this.a11y.disableEl(i):this.a11y.enableEl(i)),t&&t.length>0&&(this.isEnd?this.a11y.disableEl(t):this.a11y.enableEl(t))}},updatePagination:function(){var e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each(function(i,s){var a=m(s);e.a11y.makeElFocusable(a),e.a11y.addElRole(a,"button"),e.a11y.addElLabel(a,t.paginationBulletMessage.replace(/{{index}}/,a.index()+1))})},init:function(){this.$el.append(this.a11y.liveRegion);var e,t,i=this.params.a11y;this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&(this.a11y.makeElFocusable(e),this.a11y.addElRole(e,"button"),this.a11y.addElLabel(e,i.nextSlideMessage),e.on("keydown",this.a11y.onEnterKey)),t&&(this.a11y.makeElFocusable(t),this.a11y.addElRole(t,"button"),this.a11y.addElLabel(t,i.prevSlideMessage),t.on("keydown",this.a11y.onEnterKey)),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.on("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)},destroy:function(){var e,t;this.a11y.liveRegion&&this.a11y.liveRegion.length>0&&this.a11y.liveRegion.remove(),this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&e.off("keydown",this.a11y.onEnterKey),t&&t.off("keydown",this.a11y.onEnterKey),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.off("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)}},F={init:function(){if(this.params.history){if(!v.history||!v.history.pushState)return this.params.history.enabled=!1,void(this.params.hashNavigation.enabled=!0);var e=this.history;e.initialized=!0,e.paths=F.getPathValues(),(e.paths.key||e.paths.value)&&(e.scrollToSlide(0,e.paths.value,this.params.runCallbacksOnInit),this.params.history.replaceState||v.addEventListener("popstate",this.history.setHistoryPopState))}},destroy:function(){this.params.history.replaceState||v.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){this.history.paths=F.getPathValues(),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues:function(){var e=v.location.pathname.slice(1).split("/").filter(function(i){return i!==""}),t=e.length;return{key:e[t-2],value:e[t-1]}},setHistory:function(e,t){if(this.history.initialized&&this.params.history.enabled){var i=this.slides.eq(t),s=F.slugify(i.attr("data-history"));v.location.pathname.includes(e)||(s=e+"/"+s);var a=v.history.state;a&&a.value===s||(this.params.history.replaceState?v.history.replaceState({value:s},null,s):v.history.pushState({value:s},null,s))}},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,i){if(t)for(var s=0,a=this.slides.length;s'),i.append(e)),e.css({height:a+"px"})):(e=t.find(".swiper-cube-shadow")).length===0&&(e=m('
'),t.append(e)));for(var c=0;c-1&&(p=90*E+90*g,n&&(p=90*-E-90*g)),u.transform(I),o.slideShadows){var S=d?u.find(".swiper-slide-shadow-left"):u.find(".swiper-slide-shadow-top"),$=d?u.find(".swiper-slide-shadow-right"):u.find(".swiper-slide-shadow-bottom");S.length===0&&(S=m('
'),u.append(S)),$.length===0&&($=m('
'),u.append($)),S.length&&(S[0].style.opacity=Math.max(-g,0)),$.length&&($[0].style.opacity=Math.max(g,0))}}if(i.css({"-webkit-transform-origin":"50% 50% -"+l/2+"px","-moz-transform-origin":"50% 50% -"+l/2+"px","-ms-transform-origin":"50% 50% -"+l/2+"px","transform-origin":"50% 50% -"+l/2+"px"}),o.shadow)if(d)e.transform("translate3d(0px, "+(a/2+o.shadowOffset)+"px, "+-a/2+"px) rotateX(90deg) rotateZ(0deg) scale("+o.shadowScale+")");else{var O=Math.abs(p)-90*Math.floor(Math.abs(p)/90),G=1.5-(Math.sin(2*O*Math.PI/360)/2+Math.cos(2*O*Math.PI/360)/2),D=o.shadowScale,k=o.shadowScale/G,P=o.shadowOffset;e.transform("scale3d("+D+", 1, "+k+") translate3d(0px, "+(r/2+P)+"px, "+-r/2/k+"px) rotateX(-90deg)")}var A=se.isSafari||se.isUiWebView?-l/2:0;i.transform("translate3d(0px,0,"+A+"px) rotateX("+(this.isHorizontal()?0:p)+"deg) rotateY("+(this.isHorizontal()?-p:0)+"deg)")},setTransition:function(e){var t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},Be={setTranslate:function(){for(var e=this.slides,t=this.rtlTranslate,i=0;i'),s.append(d)),h.length===0&&(h=m('
'),s.append(h)),d.length&&(d[0].style.opacity=Math.max(-a,0)),h.length&&(h[0].style.opacity=Math.max(a,0))}s.transform("translate3d("+l+"px, "+o+"px, 0px) rotateX("+n+"deg) rotateY("+r+"deg)")}},setTransition:function(e){var t=this,i=t.slides,s=t.activeIndex,a=t.$wrapperEl;if(i.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&e!==0){var r=!1;i.eq(s).transitionEnd(function(){if(!r&&t&&!t.destroyed){r=!0,t.animating=!1;for(var n=["webkitTransitionEnd","transitionend"],l=0;l'),u.append(S)),$.length===0&&($=m('
'),u.append($)),S.length&&(S[0].style.opacity=w>0?w:0),$.length&&($[0].style.opacity=-w>0?-w:0)}}(C.pointerEvents||C.prefixedPointerEvents)&&(s[0].style.perspectiveOrigin=o+"px 50%")},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},ye={init:function(){var e=this.params.thumbs,t=this.constructor;e.swiper instanceof t?(this.thumbs.swiper=e.swiper,f.extend(this.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),f.extend(this.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):f.isObject(e.swiper)&&(this.thumbs.swiper=new t(f.extend({},e.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),this.thumbs.swiperCreated=!0),this.thumbs.swiper.$el.addClass(this.params.thumbs.thumbsContainerClass),this.thumbs.swiper.on("tap",this.thumbs.onThumbClick)},onThumbClick:function(){var e=this.thumbs.swiper;if(e){var t=e.clickedIndex,i=e.clickedSlide;if(!(i&&m(i).hasClass(this.params.thumbs.slideThumbActiveClass)||t==null)){var s;if(s=e.params.loop?parseInt(m(e.clickedSlide).attr("data-swiper-slide-index"),10):t,this.params.loop){var a=this.activeIndex;this.slides.eq(a).hasClass(this.params.slideDuplicateClass)&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,a=this.activeIndex);var r=this.slides.eq(a).prevAll('[data-swiper-slide-index="'+s+'"]').eq(0).index(),n=this.slides.eq(a).nextAll('[data-swiper-slide-index="'+s+'"]').eq(0).index();s=r===void 0?n:n===void 0?r:n-aa?s-Math.floor(i/2)+1:s+Math.floor(i/2)-1:s>a&&(s=s-i+1),t.slideTo(s,e?0:void 0))}var l=1,o=this.params.thumbs.slideThumbActiveClass;if(this.params.slidesPerView>1&&!this.params.centeredSlides&&(l=this.params.slidesPerView),t.slides.removeClass(o),t.params.loop||t.params.virtual&&t.params.virtual.enabled)for(var d=0;d0&&!m(e.target).hasClass(this.params.pagination.bulletClass)&&(this.pagination.$el.hasClass(this.params.pagination.hiddenClass)===!0?this.emit("paginationShow",this):this.emit("paginationHide",this),this.pagination.$el.toggleClass(this.params.pagination.hiddenClass))}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){f.extend(this,{scrollbar:{init:B.init.bind(this),destroy:B.destroy.bind(this),updateSize:B.updateSize.bind(this),setTranslate:B.setTranslate.bind(this),setTransition:B.setTransition.bind(this),enableDraggable:B.enableDraggable.bind(this),disableDraggable:B.disableDraggable.bind(this),setDragPosition:B.setDragPosition.bind(this),getPointerPosition:B.getPointerPosition.bind(this),onDragStart:B.onDragStart.bind(this),onDragMove:B.onDragMove.bind(this),onDragEnd:B.onDragEnd.bind(this),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){this.scrollbar.init(),this.scrollbar.updateSize(),this.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(e){this.scrollbar.setTransition(e)},destroy:function(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){f.extend(this,{parallax:{setTransform:be.setTransform.bind(this),setTranslate:be.setTranslate.bind(this),setTransition:be.setTransition.bind(this)}})},on:{beforeInit:function(){this.params.parallax.enabled&&(this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},init:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition:function(e){this.params.parallax.enabled&&this.parallax.setTransition(e)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{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:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach(function(s){t[s]=we[s].bind(e)}),f.extend(e,{zoom:t});var i=1;Object.defineProperty(e.zoom,"scale",{get:function(){return i},set:function(s){if(i!==s){var a=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,r=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",s,a,r)}i=s}})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd:function(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap:function(e){this.params.zoom.enabled&&this.zoom.enabled&&this.params.zoom.toggle&&this.zoom.toggle(e)},transitionEnd:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.zoom.onTransitionEnd()},slideChange:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.params.cssMode&&this.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){f.extend(this,{lazy:{initialImageLoaded:!1,load:Ae.load.bind(this),loadInSlide:Ae.loadInSlide.bind(this)}})},on:{beforeInit:function(){this.params.lazy.enabled&&this.params.preloadImages&&(this.params.preloadImages=!1)},init:function(){this.params.lazy.enabled&&!this.params.loop&&this.params.initialSlide===0&&this.lazy.load()},scroll:function(){this.params.freeMode&&!this.params.freeModeSticky&&this.lazy.load()},resize:function(){this.params.lazy.enabled&&this.lazy.load()},scrollbarDragMove:function(){this.params.lazy.enabled&&this.lazy.load()},transitionStart:function(){this.params.lazy.enabled&&(this.params.lazy.loadOnTransitionStart||!this.params.lazy.loadOnTransitionStart&&!this.lazy.initialImageLoaded)&&this.lazy.load()},transitionEnd:function(){this.params.lazy.enabled&&!this.params.lazy.loadOnTransitionStart&&this.lazy.load()},slideChange:function(){this.params.lazy.enabled&&this.params.cssMode&&this.lazy.load()}}},{name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){f.extend(this,{controller:{control:this.params.controller.control,getInterpolateFunction:te.getInterpolateFunction.bind(this),setTranslate:te.setTranslate.bind(this),setTransition:te.setTransition.bind(this)}})},on:{update:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},resize:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},observerUpdate:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},setTranslate:function(e,t){this.controller.control&&this.controller.setTranslate(e,t)},setTransition:function(e,t){this.controller.control&&this.controller.setTransition(e,t)}}},{name:"a11y",params:{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}}"}},create:function(){var e=this;f.extend(e,{a11y:{liveRegion:m('')}}),Object.keys(He).forEach(function(t){e.a11y[t]=He[t].bind(e)})},on:{init:function(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){f.extend(this,{history:{init:F.init.bind(this),setHistory:F.setHistory.bind(this),setHistoryPopState:F.setHistoryPopState.bind(this),scrollToSlide:F.scrollToSlide.bind(this),destroy:F.destroy.bind(this)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){this.history.initialized&&this.history.setHistory(this.params.history.key,this.activeIndex)},slideChange:function(){this.history.initialized&&this.params.cssMode&&this.history.setHistory(this.params.history.key,this.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){f.extend(this,{hashNavigation:{initialized:!1,init:ne.init.bind(this),destroy:ne.destroy.bind(this),setHash:ne.setHash.bind(this),onHashCange:ne.onHashCange.bind(this)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()},slideChange:function(){this.hashNavigation.initialized&&this.params.cssMode&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var e=this;f.extend(e,{autoplay:{running:!1,paused:!1,run:oe.run.bind(e),start:oe.start.bind(e),stop:oe.stop.bind(e),pause:oe.pause.bind(e),onVisibilityChange:function(){document.visibilityState==="hidden"&&e.autoplay.running&&e.autoplay.pause(),document.visibilityState==="visible"&&e.autoplay.paused&&(e.autoplay.run(),e.autoplay.paused=!1)},onTransitionEnd:function(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&(this.autoplay.start(),document.addEventListener("visibilitychange",this.autoplay.onVisibilityChange))},beforeTransitionStart:function(e,t){this.autoplay.running&&(t||!this.params.autoplay.disableOnInteraction?this.autoplay.pause(e):this.autoplay.stop())},sliderFirstMove:function(){this.autoplay.running&&(this.params.autoplay.disableOnInteraction?this.autoplay.stop():this.autoplay.pause())},touchEnd:function(){this.params.cssMode&&this.autoplay.paused&&!this.params.autoplay.disableOnInteraction&&this.autoplay.run()},destroy:function(){this.autoplay.running&&this.autoplay.stop(),document.removeEventListener("visibilitychange",this.autoplay.onVisibilityChange)}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){f.extend(this,{fadeEffect:{setTranslate:Ne.setTranslate.bind(this),setTransition:Ne.setTransition.bind(this)}})},on:{beforeInit:function(){if(this.params.effect==="fade"){this.classNames.push(this.params.containerModifierClass+"fade");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};f.extend(this.params,e),f.extend(this.originalParams,e)}},setTranslate:function(){this.params.effect==="fade"&&this.fadeEffect.setTranslate()},setTransition:function(e){this.params.effect==="fade"&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){f.extend(this,{cubeEffect:{setTranslate:Ge.setTranslate.bind(this),setTransition:Ge.setTransition.bind(this)}})},on:{beforeInit:function(){if(this.params.effect==="cube"){this.classNames.push(this.params.containerModifierClass+"cube"),this.classNames.push(this.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};f.extend(this.params,e),f.extend(this.originalParams,e)}},setTranslate:function(){this.params.effect==="cube"&&this.cubeEffect.setTranslate()},setTransition:function(e){this.params.effect==="cube"&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){f.extend(this,{flipEffect:{setTranslate:Be.setTranslate.bind(this),setTransition:Be.setTransition.bind(this)}})},on:{beforeInit:function(){if(this.params.effect==="flip"){this.classNames.push(this.params.containerModifierClass+"flip"),this.classNames.push(this.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};f.extend(this.params,e),f.extend(this.originalParams,e)}},setTranslate:function(){this.params.effect==="flip"&&this.flipEffect.setTranslate()},setTransition:function(e){this.params.effect==="flip"&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){f.extend(this,{coverflowEffect:{setTranslate:Ve.setTranslate.bind(this),setTransition:Ve.setTransition.bind(this)}})},on:{beforeInit:function(){this.params.effect==="coverflow"&&(this.classNames.push(this.params.containerModifierClass+"coverflow"),this.classNames.push(this.params.containerModifierClass+"3d"),this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},setTranslate:function(){this.params.effect==="coverflow"&&this.coverflowEffect.setTranslate()},setTransition:function(e){this.params.effect==="coverflow"&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{swiper:null,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){f.extend(this,{thumbs:{swiper:null,init:ye.init.bind(this),update:ye.update.bind(this),onThumbClick:ye.onThumbClick.bind(this)}})},on:{beforeInit:function(){var e=this.params.thumbs;e&&e.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slideChange:function(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate:function(){this.thumbs.swiper&&this.thumbs.update()},setTransition:function(e){var t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy:function(){var e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];return X.use===void 0&&(X.use=X.Class.use,X.installModule=X.Class.installModule),X.use(bt),X})});export default St();