iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: http://www.csindex.com.cn/static/js/chunk-999820ac.93a72192.js
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-999820ac"],{a7a3:function(e,t,a){},b619:function(e,t,a){"use strict";var i=a("62f5"),s=a.n(i);function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r(e,t){return!t||"object"!==s()(t)&&"function"!==typeof t?n(e):t}var o=a("0de3");function l(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Object(o["a"])(e,t)}a("4ae1"),a("3410");function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}var c=a("8151");function p(e){var t=Object(c["a"])();return function(){var a,i=d(e);if(t){var s=d(this).constructor;a=Reflect.construct(i,arguments,s)}else a=i.apply(this,arguments);return r(this,a)}}var u=a("fc11"),h=a("276c"),v=a("e954"),f=a("0122");a("159b"),a("b64b"),a("ac1f"),a("1276"),a("a15b"),a("d81d"),a("5319"),a("d3b7"),a("25f0"),a("4de4"),a("e439"),a("a434"),a("fb6a"),a("b0c0"),a("99af"),a("7db0"),a("466d"),a("2af1"),a("caad"),a("2532"),a("498a");function m(e){return null!==e&&"object"===Object(f["a"])(e)&&"constructor"in e&&e.constructor===Object}function g(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((function(a){"undefined"===typeof e[a]?e[a]=t[a]:m(t[a])&&m(e[a])&&Object.keys(t[a]).length>0&&g(e[a],t[a])}))}var b="undefined"!==typeof document?document:{},w={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[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};g(b,w);var y="undefined"!==typeof window?window:{},x={document:w,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}}};g(y,x);var E=function e(t){Object(h["a"])(this,e);for(var a=this,i=0;i=0&&r.indexOf(">")>=0){var o="div";for(0===r.indexOf(":~]/)?(t||b).querySelectorAll(e.trim()):[b.getElementById(e.trim().split("#")[1])],i=0;i0&&e[0].nodeType)for(i=0;i=0;h-=1){var v=u[h];n&&v.listener===n||n&&v.listener&&v.listener.dom7proxy&&v.listener.dom7proxy===n?(p.removeEventListener(d,v.proxyListener,r),u.splice(h,1)):n||(p.removeEventListener(d,v.proxyListener,r),u.splice(h,1))}}return this}function G(){for(var e=arguments.length,t=new Array(e),a=0;a0})),l.dispatchEvent(d),l.dom7EventData=[],delete l.dom7EventData}return this}function H(e){var t,a=["webkitTransitionEnd","transitionend"],i=this;function s(n){if(n.target===this)for(e.call(this,n),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}function N(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}function X(){if(this.length>0){var e=this[0],t=e.getBoundingClientRect(),a=b.body,i=e.clientTop||a.clientTop||0,s=e.clientLeft||a.clientLeft||0,n=e===y?y.scrollY:e.scrollTop,r=e===y?y.scrollX:e.scrollLeft;return{top:t.top+n-i,left:t.left+r-s}}return null}function V(){return this[0]?y.getComputedStyle(this[0],null):{}}function Y(e,t){var a;if(1===arguments.length){if("string"!==typeof e){for(a=0;aa-1?new E([]):e<0?(t=a+e,new E(t<0?[]:[this[t]])):new E([this[e]])}function _(){for(var e,t=0;t=0;a-=1)this[t].insertBefore(i.childNodes[a],this[t].childNodes[0])}else if(e instanceof E)for(a=0;a0?e?this[0].nextElementSibling&&T(this[0].nextElementSibling).is(e)?new E([this[0].nextElementSibling]):new E([]):this[0].nextElementSibling?new E([this[0].nextElementSibling]):new E([]):new E([])}function Q(e){var t=[],a=this[0];if(!a)return new E([]);while(a.nextElementSibling){var i=a.nextElementSibling;e?T(i).is(e)&&t.push(i):t.push(i),a=i}return new E(t)}function ee(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&T(t.previousElementSibling).is(e)?new E([t.previousElementSibling]):new E([]):t.previousElementSibling?new E([t.previousElementSibling]):new E([])}return new E([])}function te(e){var t=[],a=this[0];if(!a)return new E([]);while(a.previousElementSibling){var i=a.previousElementSibling;e?T(i).is(e)&&t.push(i):t.push(i),a=i}return new E(t)}function ae(e){for(var t=[],a=0;a1&&void 0!==arguments[1]?arguments[1]:0;return setTimeout(e,t)},now:function(){return Date.now()},getTranslate:function(e){var t,a,i,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x",n=y.getComputedStyle(e,null);return y.WebKitCSSMatrix?(a=n.transform||n.webkitTransform,a.split(",").length>6&&(a=a.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),i=new y.WebKitCSSMatrix("none"===a?"":a)):(i=n.MozTransform||n.OTransform||n.MsTransform||n.msTransform||n.transform||n.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),t=i.toString().split(",")),"x"===s&&(a=y.WebKitCSSMatrix?i.m41:16===t.length?parseFloat(t[12]):parseFloat(t[4])),"y"===s&&(a=y.WebKitCSSMatrix?i.m42:16===t.length?parseFloat(t[13]):parseFloat(t[5])),a||0},parseUrlQuery:function(e){var t,a,i,s,n={},r=e||y.location.href;if("string"===typeof r&&r.length)for(r=r.indexOf("?")>-1?r.replace(/\S*\?/,""):"",a=r.split("&").filter((function(e){return""!==e})),s=a.length,t=0;t=0,observer:function(){return"MutationObserver"in y||"WebkitMutationObserver"in y}(),passiveListener:function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});y.addEventListener("testPassiveListener",null,t)}catch(a){}return e}(),gestures:function(){return"ongesturestart"in y}()}}(),ue=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(h["a"])(this,e);var a=this;a.params=t,a.eventsListeners={},a.params&&a.params.on&&Object.keys(a.params.on).forEach((function(e){a.on(e,a.params.on[e])}))}return Object(v["a"])(e,[{key:"on",value:function(e,t,a){var i=this;if("function"!==typeof t)return i;var s=a?"unshift":"push";return e.split(" ").forEach((function(e){i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][s](t)})),i}},{key:"once",value:function(e,t,a){var i=this;if("function"!==typeof t)return i;function s(){i.off(e,s),s.f7proxy&&delete s.f7proxy;for(var a=arguments.length,n=new Array(a),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=this;t.modules&&Object.keys(t.modules).forEach((function(a){var i=t.modules[a],s=e[a]||{};i.instance&&Object.keys(i.instance).forEach((function(e){var a=i.instance[e];t[e]="function"===typeof a?a.bind(t):a})),i.on&&t.on&&Object.keys(i.on).forEach((function(e){t.on(e,i.on[e])})),i.create&&i.create.bind(t)(s)}))}}],[{key:"components",set:function(e){var t=this;t.use&&t.use(e)}},{key:"installModule",value:function(e){var t=this;t.prototype.modules||(t.prototype.modules={});var a=e.name||"".concat(Object.keys(t.prototype.modules).length,"_").concat(ce.now());if(t.prototype.modules[a]=e,e.proto&&Object.keys(e.proto).forEach((function(a){t.prototype[a]=e.proto[a]})),e.static&&Object.keys(e.static).forEach((function(a){t[a]=e.static[a]})),e.install){for(var i=arguments.length,s=new Array(i>1?i-1:0),n=1;n1?a-1:0),s=1;s=0&&(b=parseFloat(b.replace("%",""))/100*i),e.virtualSize=-b,s?l.css({marginLeft:"",marginTop:""}):l.css({marginRight:"",marginBottom:""}),t.slidesPerColumn>1&&(T=Math.floor(d/t.slidesPerColumn)===d/e.params.slidesPerColumn?d:Math.ceil(d/t.slidesPerColumn)*t.slidesPerColumn,"auto"!==t.slidesPerView&&"row"===t.slidesPerColumnFill&&(T=Math.max(T,t.slidesPerView*t.slidesPerColumn)));for(var C,M=t.slidesPerColumn,k=T/M,P=Math.floor(d/t.slidesPerColumn),z=0;z1){var L=void 0,I=void 0,O=void 0;if("row"===t.slidesPerColumnFill&&t.slidesPerGroup>1){var D=Math.floor(z/(t.slidesPerGroup*t.slidesPerColumn)),A=z-t.slidesPerColumn*t.slidesPerGroup*D,G=0===D?t.slidesPerGroup:Math.min(Math.ceil((d-D*M*t.slidesPerGroup)/M),t.slidesPerGroup);O=Math.floor(A/G),I=A-O*G+D*t.slidesPerGroup,L=I+O*T/M,$.css({"-webkit-box-ordinal-group":L,"-moz-box-ordinal-group":L,"-ms-flex-order":L,"-webkit-order":L,order:L})}else"column"===t.slidesPerColumnFill?(I=Math.floor(z/M),O=z-I*M,(I>P||I===P&&O===M-1)&&(O+=1,O>=M&&(O=0,I+=1))):(O=Math.floor(z/k),I=z-O*k);$.css("margin-".concat(e.isHorizontal()?"top":"left"),0!==O&&t.spaceBetween&&"".concat(t.spaceBetween,"px"))}if("none"!==$.css("display")){if("auto"===t.slidesPerView){var H=y.getComputedStyle($[0],null),B=$[0].style.transform,N=$[0].style.webkitTransform;if(B&&($[0].style.transform="none"),N&&($[0].style.webkitTransform="none"),t.roundLengths)S=e.isHorizontal()?$.outerWidth(!0):$.outerHeight(!0);else if(e.isHorizontal()){var X=parseFloat(H.getPropertyValue("width")),V=parseFloat(H.getPropertyValue("padding-left")),Y=parseFloat(H.getPropertyValue("padding-right")),F=parseFloat(H.getPropertyValue("margin-left")),W=parseFloat(H.getPropertyValue("margin-right")),j=H.getPropertyValue("box-sizing");S=j&&"border-box"===j?X+F+W:X+V+Y+F+W}else{var R=parseFloat(H.getPropertyValue("height")),q=parseFloat(H.getPropertyValue("padding-top")),K=parseFloat(H.getPropertyValue("padding-bottom")),U=parseFloat(H.getPropertyValue("margin-top")),_=parseFloat(H.getPropertyValue("margin-bottom")),J=H.getPropertyValue("box-sizing");S=J&&"border-box"===J?R+U+_:R+q+K+U+_}B&&($[0].style.transform=B),N&&($[0].style.webkitTransform=N),t.roundLengths&&(S=Math.floor(S))}else S=(i-(t.slidesPerView-1)*b)/t.slidesPerView,t.roundLengths&&(S=Math.floor(S)),l[z]&&(e.isHorizontal()?l[z].style.width="".concat(S,"px"):l[z].style.height="".concat(S,"px"));l[z]&&(l[z].swiperSlideSize=S),u.push(S),t.centeredSlides?(w=w+S/2+x/2+b,0===x&&0!==z&&(w=w-i/2-b),0===z&&(w=w-i/2-b),Math.abs(w)<.001&&(w=0),t.roundLengths&&(w=Math.floor(w)),E%t.slidesPerGroup===0&&c.push(w),p.push(w)):(t.roundLengths&&(w=Math.floor(w)),(E-Math.min(e.params.slidesPerGroupSkip,E))%e.params.slidesPerGroup===0&&c.push(w),p.push(w),w=w+S+b),e.virtualSize+=S+b,x=S,E+=1}}if(e.virtualSize=Math.max(e.virtualSize,i)+f,s&&n&&("slide"===t.effect||"coverflow"===t.effect)&&a.css({width:"".concat(e.virtualSize+t.spaceBetween,"px")}),t.setWrapperSize&&(e.isHorizontal()?a.css({width:"".concat(e.virtualSize+t.spaceBetween,"px")}):a.css({height:"".concat(e.virtualSize+t.spaceBetween,"px")})),t.slidesPerColumn>1&&(e.virtualSize=(S+t.spaceBetween)*T,e.virtualSize=Math.ceil(e.virtualSize/t.slidesPerColumn)-t.spaceBetween,e.isHorizontal()?a.css({width:"".concat(e.virtualSize+t.spaceBetween,"px")}):a.css({height:"".concat(e.virtualSize+t.spaceBetween,"px")}),t.centeredSlides)){C=[];for(var Z=0;Z1&&c.push(e.virtualSize-i)}if(0===c.length&&(c=[0]),0!==t.spaceBetween&&(e.isHorizontal()?s?l.filter(h).css({marginLeft:"".concat(b,"px")}):l.filter(h).css({marginRight:"".concat(b,"px")}):l.filter(h).css({marginBottom:"".concat(b,"px")})),t.centeredSlides&&t.centeredSlidesBounds){var ae=0;u.forEach((function(e){ae+=e+(t.spaceBetween?t.spaceBetween:0)})),ae-=t.spaceBetween;var ie=ae-i;c=c.map((function(e){return e<0?-v:e>ie?ie+f:e}))}if(t.centerInsufficientSlides){var se=0;if(u.forEach((function(e){se+=e+(t.spaceBetween?t.spaceBetween:0)})),se-=t.spaceBetween,se1)if(a.params.centeredSlides)a.visibleSlides.each((function(e,t){i.push(t)}));else for(t=0;ta.slides.length)break;i.push(a.slides.eq(n)[0])}else i.push(a.slides.eq(a.activeIndex)[0]);for(t=0;ts?r:s}s&&a.$wrapperEl.css("height","".concat(s,"px"))}function me(){for(var e=this,t=e.slides,a=0;a0&&void 0!==arguments[0]?arguments[0]:this&&this.translate||0,t=this,a=t.params,i=t.slides,s=t.rtlTranslate;if(0!==i.length){"undefined"===typeof i[0].swiperSlideOffset&&t.updateSlidesOffset();var n=-e;s&&(n=e),i.removeClass(a.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var r=0;r=0&&d1&&c<=t.size||d<=0&&c>=t.size;p&&(t.visibleSlides.push(o),t.visibleSlidesIndexes.push(r),i.eq(r).addClass(a.slideVisibleClass))}o.progress=s?-l:l}t.visibleSlides=T(t.visibleSlides)}}function be(e){var t=this;if("undefined"===typeof e){var a=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*a||0}var i=t.params,s=t.maxTranslate()-t.minTranslate(),n=t.progress,r=t.isBeginning,o=t.isEnd,l=r,d=o;0===s?(n=0,r=!0,o=!0):(n=(e-t.minTranslate())/s,r=n<=0,o=n>=1),ce.extend(t,{progress:n,isBeginning:r,isEnd:o}),(i.watchSlidesProgress||i.watchSlidesVisibility||i.centeredSlides&&i.autoHeight)&&t.updateSlidesProgress(e),r&&!l&&t.emit("reachBeginning toEdge"),o&&!d&&t.emit("reachEnd toEdge"),(l&&!r||d&&!o)&&t.emit("fromEdge"),t.emit("progress",n)}function we(){var e,t=this,a=t.slides,i=t.params,s=t.$wrapperEl,n=t.activeIndex,r=t.realIndex,o=t.virtual&&i.virtual.enabled;a.removeClass("".concat(i.slideActiveClass," ").concat(i.slideNextClass," ").concat(i.slidePrevClass," ").concat(i.slideDuplicateActiveClass," ").concat(i.slideDuplicateNextClass," ").concat(i.slideDuplicatePrevClass)),e=o?t.$wrapperEl.find(".".concat(i.slideClass,'[data-swiper-slide-index="').concat(n,'"]')):a.eq(n),e.addClass(i.slideActiveClass),i.loop&&(e.hasClass(i.slideDuplicateClass)?s.children(".".concat(i.slideClass,":not(.").concat(i.slideDuplicateClass,')[data-swiper-slide-index="').concat(r,'"]')).addClass(i.slideDuplicateActiveClass):s.children(".".concat(i.slideClass,".").concat(i.slideDuplicateClass,'[data-swiper-slide-index="').concat(r,'"]')).addClass(i.slideDuplicateActiveClass));var l=e.nextAll(".".concat(i.slideClass)).eq(0).addClass(i.slideNextClass);i.loop&&0===l.length&&(l=a.eq(0),l.addClass(i.slideNextClass));var d=e.prevAll(".".concat(i.slideClass)).eq(0).addClass(i.slidePrevClass);i.loop&&0===d.length&&(d=a.eq(-1),d.addClass(i.slidePrevClass)),i.loop&&(l.hasClass(i.slideDuplicateClass)?s.children(".".concat(i.slideClass,":not(.").concat(i.slideDuplicateClass,')[data-swiper-slide-index="').concat(l.attr("data-swiper-slide-index"),'"]')).addClass(i.slideDuplicateNextClass):s.children(".".concat(i.slideClass,".").concat(i.slideDuplicateClass,'[data-swiper-slide-index="').concat(l.attr("data-swiper-slide-index"),'"]')).addClass(i.slideDuplicateNextClass),d.hasClass(i.slideDuplicateClass)?s.children(".".concat(i.slideClass,":not(.").concat(i.slideDuplicateClass,')[data-swiper-slide-index="').concat(d.attr("data-swiper-slide-index"),'"]')).addClass(i.slideDuplicatePrevClass):s.children(".".concat(i.slideClass,".").concat(i.slideDuplicateClass,'[data-swiper-slide-index="').concat(d.attr("data-swiper-slide-index"),'"]')).addClass(i.slideDuplicatePrevClass))}function ye(e){var t,a=this,i=a.rtlTranslate?a.translate:-a.translate,s=a.slidesGrid,n=a.snapGrid,r=a.params,o=a.activeIndex,l=a.realIndex,d=a.snapIndex,c=e;if("undefined"===typeof c){for(var p=0;p=s[p]&&i=s[p]&&i=s[p]&&(c=p);r.normalizeSlideIndex&&(c<0||"undefined"===typeof c)&&(c=0)}if(n.indexOf(i)>=0)t=n.indexOf(i);else{var u=Math.min(r.slidesPerGroupSkip,c);t=u+Math.floor((c-u)/r.slidesPerGroup)}if(t>=n.length&&(t=n.length-1),c!==o){var h=parseInt(a.slides.eq(c).attr("data-swiper-slide-index")||c,10);ce.extend(a,{snapIndex:t,realIndex:h,previousIndex:o,activeIndex:c}),a.emit("activeIndexChange"),a.emit("snapIndexChange"),l!==h&&a.emit("realIndexChange"),(a.initialized||a.params.runCallbacksOnInit)&&a.emit("slideChange")}else t!==d&&(a.snapIndex=t,a.emit("snapIndexChange"))}function xe(e){var t=this,a=t.params,i=T(e.target).closest(".".concat(a.slideClass))[0],s=!1;if(i)for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:this.isHorizontal()?"x":"y",t=this,a=t.params,i=t.rtlTranslate,s=t.translate,n=t.$wrapperEl;if(a.virtualTranslate)return i?-s:s;if(a.cssMode)return s;var r=ce.getTranslate(n[0],e);return i&&(r=-r),r||0}function Se(e,t){var a,i=this,s=i.rtlTranslate,n=i.params,r=i.$wrapperEl,o=i.wrapperEl,l=i.progress,d=0,c=0,p=0;i.isHorizontal()?d=s?-e:e:c=e,n.roundLengths&&(d=Math.floor(d),c=Math.floor(c)),n.cssMode?o[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-d:-c:n.virtualTranslate||r.transform("translate3d(".concat(d,"px, ").concat(c,"px, ").concat(p,"px)")),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?d:c;var u=i.maxTranslate()-i.minTranslate();a=0===u?0:(e-i.minTranslate())/u,a!==l&&i.updateProgress(e),i.emit("setTranslate",i.translate,t)}function Ce(){return-this.snapGrid[0]}function Me(){return-this.snapGrid[this.snapGrid.length-1]}function ke(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=arguments.length>4?arguments[4]:void 0,n=this,r=n.params,o=n.wrapperEl;if(n.animating&&r.preventInteractionOnTransition)return!1;var l,d=n.minTranslate(),c=n.maxTranslate();if(l=i&&e>d?d:i&&e0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0,a=this,i=a.activeIndex,s=a.params,n=a.previousIndex;if(!s.cssMode){s.autoHeight&&a.updateAutoHeight();var r=t;if(r||(r=i>n?"next":i0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0,a=this,i=a.activeIndex,s=a.previousIndex,n=a.params;if(a.animating=!1,!n.cssMode){a.setTransition(0);var r=t;if(r||(r=i>s?"next":i0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=arguments.length>3?arguments[3]:void 0,s=this,n=e;n<0&&(n=0);var r=s.params,o=s.snapGrid,l=s.slidesGrid,d=s.previousIndex,c=s.activeIndex,p=s.rtlTranslate,h=s.wrapperEl;if(s.animating&&r.preventInteractionOnTransition)return!1;var v=Math.min(s.params.slidesPerGroupSkip,n),f=v+Math.floor((n-v)/s.params.slidesPerGroup);f>=o.length&&(f=o.length-1),(c||r.initialSlide||0)===(d||0)&&a&&s.emit("beforeSlideChangeStart");var m,g=-o[f];if(s.updateProgress(g),r.normalizeSlideIndex)for(var b=0;b=Math.floor(100*l[b])&&(n=b);if(s.initialized&&n!==c){if(!s.allowSlideNext&&gs.translate&&g>s.maxTranslate()&&(c||0)!==n)return!1}if(m=n>c?"next":n0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=arguments.length>3?arguments[3]:void 0,s=this,n=e;return s.params.loop&&(n+=s.loopedSlides),s.slideTo(n,t,a,i)}function Ae(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=arguments.length>2?arguments[2]:void 0,i=this,s=i.params,n=i.animating,r=i.activeIndex0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=arguments.length>2?arguments[2]:void 0,i=this,s=i.params,n=i.animating,r=i.snapGrid,o=i.slidesGrid,l=i.rtlTranslate;if(s.loop){if(n)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}var d=l?i.translate:-i.translate;function c(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var p,u=c(d),h=r.map((function(e){return c(e)})),v=(o.map((function(e){return c(e)})),r[h.indexOf(u)],r[h.indexOf(u)-1]);return"undefined"===typeof v&&s.cssMode&&r.forEach((function(e){!v&&u>=e&&(v=e)})),"undefined"!==typeof v&&(p=o.indexOf(v),p<0&&(p=i.activeIndex-1)),i.slideTo(p,e,t,a)}function He(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=arguments.length>2?arguments[2]:void 0,i=this;return i.slideTo(i.activeIndex,e,t,a)}function Be(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=arguments.length>2?arguments[2]:void 0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,s=this,n=s.activeIndex,r=Math.min(s.params.slidesPerGroupSkip,n),o=r+Math.floor((n-r)/s.params.slidesPerGroup),l=s.rtlTranslate?s.translate:-s.translate;if(l>=s.snapGrid[o]){var d=s.snapGrid[o],c=s.snapGrid[o+1];l-d>(c-d)*i&&(n+=s.params.slidesPerGroup)}else{var p=s.snapGrid[o-1],u=s.snapGrid[o];l-p<=(u-p)*i&&(n-=s.params.slidesPerGroup)}return n=Math.max(n,0),n=Math.min(n,s.slidesGrid.length-1),s.slideTo(n,e,t,a)}function Ne(){var e,t=this,a=t.params,i=t.$wrapperEl,s="auto"===a.slidesPerView?t.slidesPerViewDynamic():a.slidesPerView,n=t.clickedIndex;if(a.loop){if(t.animating)return;e=parseInt(T(t.clickedSlide).attr("data-swiper-slide-index"),10),a.centeredSlides?nt.slides.length-t.loopedSlides+s/2?(t.loopFix(),n=i.children(".".concat(a.slideClass,'[data-swiper-slide-index="').concat(e,'"]:not(.').concat(a.slideDuplicateClass,")")).eq(0).index(),ce.nextTick((function(){t.slideTo(n)}))):t.slideTo(n):n>t.slides.length-s?(t.loopFix(),n=i.children(".".concat(a.slideClass,'[data-swiper-slide-index="').concat(e,'"]:not(.').concat(a.slideDuplicateClass,")")).eq(0).index(),ce.nextTick((function(){t.slideTo(n)}))):t.slideTo(n)}else t.slideTo(n)}var Xe={slideTo:Oe,slideToLoop:De,slideNext:Ae,slidePrev:Ge,slideReset:He,slideToClosest:Be,slideToClickedSlide:Ne};function Ve(){var e=this,t=e.params,a=e.$wrapperEl;a.children(".".concat(t.slideClass,".").concat(t.slideDuplicateClass)).remove();var i=a.children(".".concat(t.slideClass));if(t.loopFillGroupWithBlank){var s=t.slidesPerGroup-i.length%t.slidesPerGroup;if(s!==t.slidesPerGroup){for(var n=0;ni.length&&(e.loopedSlides=i.length);var o=[],l=[];i.each((function(t,a){var s=T(a);t=i.length-e.loopedSlides&&o.push(a),s.attr("data-swiper-slide-index",t)}));for(var d=0;d=0;c-=1)a.prepend(T(o[c].cloneNode(!0)).addClass(t.slideDuplicateClass))}function Ye(){var e=this;e.emit("beforeLoopFix");var t,a=e.activeIndex,i=e.slides,s=e.loopedSlides,n=e.allowSlidePrev,r=e.allowSlideNext,o=e.snapGrid,l=e.rtlTranslate;e.allowSlidePrev=!0,e.allowSlideNext=!0;var d=-o[a],c=d-e.getTranslate();if(a=i.length-s){t=-i.length+a+s,t+=s;var u=e.slideTo(t,0,!1,!0);u&&0!==c&&e.setTranslate((l?-e.translate:e.translate)-c)}e.allowSlidePrev=n,e.allowSlideNext=r,e.emit("loopFix")}function Fe(){var e=this,t=e.$wrapperEl,a=e.params,i=e.slides;t.children(".".concat(a.slideClass,".").concat(a.slideDuplicateClass,",.").concat(a.slideClass,".").concat(a.slideBlankClass)).remove(),i.removeAttr("data-swiper-slide-index")}var We={loopCreate:Ve,loopFix:Ye,loopDestroy:Fe};function je(e){var t=this;if(!(pe.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)){var a=t.el;a.style.cursor="move",a.style.cursor=e?"-webkit-grabbing":"-webkit-grab",a.style.cursor=e?"-moz-grabbin":"-moz-grab",a.style.cursor=e?"grabbing":"grab"}}function Re(){var e=this;pe.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.el.style.cursor="")}var qe={setGrabCursor:je,unsetGrabCursor:Re};function Ke(e){var t=this,a=t.$wrapperEl,i=t.params;if(i.loop&&t.loopDestroy(),"object"===Object(f["a"])(e)&&"length"in e)for(var s=0;s=o)a.appendSlide(t);else{for(var l=r>e?r+1:r,d=[],c=o-1;c>=e;c-=1){var p=a.slides.eq(c);p.remove(),d.unshift(p)}if("object"===Object(f["a"])(t)&&"length"in t){for(var u=0;ue?r+t.length:r}else i.append(t);for(var h=0;h=0||t.indexOf("Trident/")>=0,c=t.indexOf("Edge/")>=0,p=t.indexOf("Gecko/")>=0&&t.indexOf("Firefox/")>=0,u="Win32"===e,h=t.toLowerCase().indexOf("electron")>=0,v="MacIntel"===e;return!r&&v&&pe.touch&&(1024===i&&1366===s||834===i&&1194===s||834===i&&1112===s||768===i&&1024===s)&&(r=t.match(/(Version)\/([\d.]+)/),v=!1),a.ie=d,a.edge=c,a.firefox=p,n&&!u&&(a.os="android",a.osVersion=n[2],a.android=!0,a.androidChrome=t.toLowerCase().indexOf("chrome")>=0),(r||l||o)&&(a.os="ios",a.ios=!0),l&&!o&&(a.osVersion=l[2].replace(/_/g,"."),a.iphone=!0),r&&(a.osVersion=r[2].replace(/_/g,"."),a.ipad=!0),o&&(a.osVersion=o[3]?o[3].replace(/_/g,"."):null,a.ipod=!0),a.ios&&a.osVersion&&t.indexOf("Version/")>=0&&"10"===a.osVersion.split(".")[0]&&(a.osVersion=t.toLowerCase().split("version/")[1].split(" ")[0]),a.webView=!(!(l||r||o)||!t.match(/.*AppleWebKit(?!.*Safari)/i)&&!y.navigator.standalone)||y.matchMedia&&y.matchMedia("(display-mode: standalone)").matches,a.webview=a.webView,a.standalone=a.webView,a.desktop=!(a.ios||a.android)||h,a.desktop&&(a.electron=h,a.macos=v,a.windows=u,a.macos&&(a.os="macos"),a.windows&&(a.os="windows")),a.pixelRatio=y.devicePixelRatio||1,a}();function tt(e){var t=this,a=t.touchEventsData,i=t.params,s=t.touches;if(!t.animating||!i.preventInteractionOnTransition){var n=e;n.originalEvent&&(n=n.originalEvent);var r=T(n.target);if(("wrapper"!==i.touchEventsTarget||r.closest(t.wrapperEl).length)&&(a.isTouchEvent="touchstart"===n.type,(a.isTouchEvent||!("which"in n)||3!==n.which)&&!(!a.isTouchEvent&&"button"in n&&n.button>0)&&(!a.isTouched||!a.isMoved)))if(i.noSwiping&&r.closest(i.noSwipingSelector?i.noSwipingSelector:".".concat(i.noSwipingClass))[0])t.allowClick=!0;else if(!i.swipeHandler||r.closest(i.swipeHandler)[0]){s.currentX="touchstart"===n.type?n.targetTouches[0].pageX:n.pageX,s.currentY="touchstart"===n.type?n.targetTouches[0].pageY:n.pageY;var o=s.currentX,l=s.currentY,d=i.edgeSwipeDetection||i.iOSEdgeSwipeDetection,c=i.edgeSwipeThreshold||i.iOSEdgeSwipeThreshold;if(!d||!(o<=c||o>=y.screen.width-c)){if(ce.extend(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=o,s.startY=l,a.touchStartTime=ce.now(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,i.threshold>0&&(a.allowThresholdMove=!1),"touchstart"!==n.type){var p=!0;r.is(a.formElements)&&(p=!1),b.activeElement&&T(b.activeElement).is(a.formElements)&&b.activeElement!==r[0]&&b.activeElement.blur();var u=p&&t.allowTouchMove&&i.touchStartPreventDefault;(i.touchStartForcePreventDefault||u)&&n.preventDefault()}t.emit("touchStart",n)}}}}function at(e){var t=this,a=t.touchEventsData,i=t.params,s=t.touches,n=t.rtlTranslate,r=e;if(r.originalEvent&&(r=r.originalEvent),a.isTouched){if(!a.isTouchEvent||"touchmove"===r.type){var o="touchmove"===r.type&&r.targetTouches&&(r.targetTouches[0]||r.changedTouches[0]),l="touchmove"===r.type?o.pageX:r.pageX,d="touchmove"===r.type?o.pageY:r.pageY;if(r.preventedByNestedSwiper)return s.startX=l,void(s.startY=d);if(!t.allowTouchMove)return t.allowClick=!1,void(a.isTouched&&(ce.extend(s,{startX:l,startY:d,currentX:l,currentY:d}),a.touchStartTime=ce.now()));if(a.isTouchEvent&&i.touchReleaseOnEdges&&!i.loop)if(t.isVertical()){if(ds.startY&&t.translate>=t.minTranslate())return a.isTouched=!1,void(a.isMoved=!1)}else if(ls.startX&&t.translate>=t.minTranslate())return;if(a.isTouchEvent&&b.activeElement&&r.target===b.activeElement&&T(r.target).is(a.formElements))return a.isMoved=!0,void(t.allowClick=!1);if(a.allowTouchCallbacks&&t.emit("touchMove",r),!(r.targetTouches&&r.targetTouches.length>1)){s.currentX=l,s.currentY=d;var c=s.currentX-s.startX,p=s.currentY-s.startY;if(!(t.params.threshold&&Math.sqrt(Math.pow(c,2)+Math.pow(p,2))=25&&(u=180*Math.atan2(Math.abs(p),Math.abs(c))/Math.PI,a.isScrolling=t.isHorizontal()?u>i.touchAngle:90-u>i.touchAngle);if(a.isScrolling&&t.emit("touchMoveOpposite",r),"undefined"===typeof a.startMoving&&(s.currentX===s.startX&&s.currentY===s.startY||(a.startMoving=!0)),a.isScrolling)a.isTouched=!1;else if(a.startMoving){t.allowClick=!1,!i.cssMode&&r.cancelable&&r.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&r.stopPropagation(),a.isMoved||(i.loop&&t.loopFix(),a.startTranslate=t.getTranslate(),t.setTransition(0),t.animating&&t.$wrapperEl.trigger("webkitTransitionEnd transitionend"),a.allowMomentumBounce=!1,!i.grabCursor||!0!==t.allowSlideNext&&!0!==t.allowSlidePrev||t.setGrabCursor(!0),t.emit("sliderFirstMove",r)),t.emit("sliderMove",r),a.isMoved=!0;var h=t.isHorizontal()?c:p;s.diff=h,h*=i.touchRatio,n&&(h=-h),t.swipeDirection=h>0?"prev":"next",a.currentTranslate=h+a.startTranslate;var v=!0,f=i.resistanceRatio;if(i.touchReleaseOnEdges&&(f=0),h>0&&a.currentTranslate>t.minTranslate()?(v=!1,i.resistance&&(a.currentTranslate=t.minTranslate()-1+Math.pow(-t.minTranslate()+a.startTranslate+h,f))):h<0&&a.currentTranslatea.startTranslate&&(a.currentTranslate=a.startTranslate),i.threshold>0){if(!(Math.abs(h)>i.threshold||a.allowThresholdMove))return void(a.currentTranslate=a.startTranslate);if(!a.allowThresholdMove)return a.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,a.currentTranslate=a.startTranslate,void(s.diff=t.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY)}i.followFinger&&!i.cssMode&&((i.freeMode||i.watchSlidesProgress||i.watchSlidesVisibility)&&(t.updateActiveIndex(),t.updateSlidesClasses()),i.freeMode&&(0===a.velocities.length&&a.velocities.push({position:s[t.isHorizontal()?"startX":"startY"],time:a.touchStartTime}),a.velocities.push({position:s[t.isHorizontal()?"currentX":"currentY"],time:ce.now()})),t.updateProgress(a.currentTranslate),t.setTranslate(a.currentTranslate))}}}}}else a.startMoving&&a.isScrolling&&t.emit("touchMoveOpposite",r)}function it(e){var t=this,a=t.touchEventsData,i=t.params,s=t.touches,n=t.rtlTranslate,r=t.$wrapperEl,o=t.slidesGrid,l=t.snapGrid,d=e;if(d.originalEvent&&(d=d.originalEvent),a.allowTouchCallbacks&&t.emit("touchEnd",d),a.allowTouchCallbacks=!1,!a.isTouched)return a.isMoved&&i.grabCursor&&t.setGrabCursor(!1),a.isMoved=!1,void(a.startMoving=!1);i.grabCursor&&a.isMoved&&a.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var c,p=ce.now(),u=p-a.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(d),t.emit("tap click",d),u<300&&p-a.lastClickTime<300&&t.emit("doubleTap doubleClick",d)),a.lastClickTime=ce.now(),ce.nextTick((function(){t.destroyed||(t.allowClick=!0)})),!a.isTouched||!a.isMoved||!t.swipeDirection||0===s.diff||a.currentTranslate===a.startTranslate)return a.isTouched=!1,a.isMoved=!1,void(a.startMoving=!1);if(a.isTouched=!1,a.isMoved=!1,a.startMoving=!1,c=i.followFinger?n?t.translate:-t.translate:-a.currentTranslate,!i.cssMode)if(i.freeMode){if(c<-t.minTranslate())return void t.slideTo(t.activeIndex);if(c>-t.maxTranslate())return void(t.slides.length1){var h=a.velocities.pop(),v=a.velocities.pop(),f=h.position-v.position,m=h.time-v.time;t.velocity=f/m,t.velocity/=2,Math.abs(t.velocity)150||ce.now()-h.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=i.freeModeMomentumVelocityRatio,a.velocities.length=0;var g=1e3*i.freeModeMomentumRatio,b=t.velocity*g,w=t.translate+b;n&&(w=-w);var y,x,E=!1,T=20*Math.abs(t.velocity)*i.freeModeMomentumBounceRatio;if(wt.minTranslate())i.freeModeMomentumBounce?(w-t.minTranslate()>T&&(w=t.minTranslate()+T),y=t.minTranslate(),E=!0,a.allowMomentumBounce=!0):w=t.minTranslate(),i.loop&&i.centeredSlides&&(x=!0);else if(i.freeModeSticky){for(var S,C=0;C-w){S=C;break}w=Math.abs(l[S]-w)=i.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var P=0,z=t.slidesSizesGrid[0],$=0;$=o[$]&&c=o[$]&&(P=$,z=o[o.length-1]-o[o.length-2])}var I=(c-o[P])/z,O=Pi.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(I>=i.longSwipesRatio?t.slideTo(P+O):t.slideTo(P)),"prev"===t.swipeDirection&&(I>1-i.longSwipesRatio?t.slideTo(P+O):t.slideTo(P))}else{if(!i.shortSwipes)return void t.slideTo(t.activeIndex);var D=t.navigation&&(d.target===t.navigation.nextEl||d.target===t.navigation.prevEl);D?d.target===t.navigation.nextEl?t.slideTo(P+O):t.slideTo(P):("next"===t.swipeDirection&&t.slideTo(P+O),"prev"===t.swipeDirection&&t.slideTo(P))}}}function st(){var e=this,t=e.params,a=e.el;if(!a||0!==a.offsetWidth){t.breakpoints&&e.setBreakpoint();var i=e.allowSlideNext,s=e.allowSlidePrev,n=e.snapGrid;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=s,e.allowSlideNext=i,e.params.watchOverflow&&n!==e.snapGrid&&e.checkOverflow()}}function nt(e){var t=this;t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function rt(){var e,t=this,a=t.wrapperEl,i=t.rtlTranslate;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=i?a.scrollWidth-a.offsetWidth-a.scrollLeft:-a.scrollLeft:t.translate=-a.scrollTop,-0===t.translate&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();var s=t.maxTranslate()-t.minTranslate();e=0===s?0:(t.translate-t.minTranslate())/s,e!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}var ot=!1;function lt(){}function dt(){var e=this,t=e.params,a=e.touchEvents,i=e.el,s=e.wrapperEl;e.onTouchStart=tt.bind(e),e.onTouchMove=at.bind(e),e.onTouchEnd=it.bind(e),t.cssMode&&(e.onScroll=rt.bind(e)),e.onClick=nt.bind(e);var n=!!t.nested;if(!pe.touch&&pe.pointerEvents)i.addEventListener(a.start,e.onTouchStart,!1),b.addEventListener(a.move,e.onTouchMove,n),b.addEventListener(a.end,e.onTouchEnd,!1);else{if(pe.touch){var r=!("touchstart"!==a.start||!pe.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};i.addEventListener(a.start,e.onTouchStart,r),i.addEventListener(a.move,e.onTouchMove,pe.passiveListener?{passive:!1,capture:n}:n),i.addEventListener(a.end,e.onTouchEnd,r),a.cancel&&i.addEventListener(a.cancel,e.onTouchEnd,r),ot||(b.addEventListener("touchstart",lt),ot=!0)}(t.simulateTouch&&!et.ios&&!et.android||t.simulateTouch&&!pe.touch&&et.ios)&&(i.addEventListener("mousedown",e.onTouchStart,!1),b.addEventListener("mousemove",e.onTouchMove,n),b.addEventListener("mouseup",e.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&i.addEventListener("click",e.onClick,!0),t.cssMode&&s.addEventListener("scroll",e.onScroll),t.updateOnWindowResize?e.on(et.ios||et.android?"resize orientationchange observerUpdate":"resize observerUpdate",st,!0):e.on("observerUpdate",st,!0)}function ct(){var e=this,t=e.params,a=e.touchEvents,i=e.el,s=e.wrapperEl,n=!!t.nested;if(!pe.touch&&pe.pointerEvents)i.removeEventListener(a.start,e.onTouchStart,!1),b.removeEventListener(a.move,e.onTouchMove,n),b.removeEventListener(a.end,e.onTouchEnd,!1);else{if(pe.touch){var r=!("onTouchStart"!==a.start||!pe.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};i.removeEventListener(a.start,e.onTouchStart,r),i.removeEventListener(a.move,e.onTouchMove,n),i.removeEventListener(a.end,e.onTouchEnd,r),a.cancel&&i.removeEventListener(a.cancel,e.onTouchEnd,r)}(t.simulateTouch&&!et.ios&&!et.android||t.simulateTouch&&!pe.touch&&et.ios)&&(i.removeEventListener("mousedown",e.onTouchStart,!1),b.removeEventListener("mousemove",e.onTouchMove,n),b.removeEventListener("mouseup",e.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&i.removeEventListener("click",e.onClick,!0),t.cssMode&&s.removeEventListener("scroll",e.onScroll),e.off(et.ios||et.android?"resize orientationchange observerUpdate":"resize observerUpdate",st)}var pt={attachEvents:dt,detachEvents:ct};function ut(){var e=this,t=e.activeIndex,a=e.initialized,i=e.loopedSlides,s=void 0===i?0:i,n=e.params,r=e.$el,o=n.breakpoints;if(o&&(!o||0!==Object.keys(o).length)){var l=e.getBreakpoint(o);if(l&&e.currentBreakpoint!==l){var d=l in o?o[l]:void 0;d&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach((function(e){var t=d[e];"undefined"!==typeof t&&(d[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}));var c=d||e.originalParams,p=n.slidesPerColumn>1,u=c.slidesPerColumn>1;p&&!u?r.removeClass("".concat(n.containerModifierClass,"multirow ").concat(n.containerModifierClass,"multirow-column")):!p&&u&&(r.addClass("".concat(n.containerModifierClass,"multirow")),"column"===c.slidesPerColumnFill&&r.addClass("".concat(n.containerModifierClass,"multirow-column")));var h=c.direction&&c.direction!==n.direction,v=n.loop&&(c.slidesPerView!==n.slidesPerView||h);h&&a&&e.changeDirection(),ce.extend(e.params,c),ce.extend(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),e.currentBreakpoint=l,v&&a&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-s+e.loopedSlides,0,!1)),e.emit("breakpoint",c)}}}function ht(e){if(e){var t=!1,a=Object.keys(e).map((function(e){if("string"===typeof e&&0===e.indexOf("@")){var t=parseFloat(e.substr(1)),a=y.innerHeight*t;return{value:a,point:e}}return{value:e,point:e}}));a.sort((function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)}));for(var i=0;i1&&(n.push("multirow"),"column"===a.slidesPerColumnFill&&n.push("multirow-column")),et.android&&n.push("android"),et.ios&&n.push("ios"),a.cssMode&&n.push("css-mode"),n.forEach((function(e){t.push(a.containerModifierClass+e)})),s.addClass(t.join(" "))}function mt(){var e=this,t=e.$el,a=e.classNames;t.removeClass(a.join(" "))}var gt={addClasses:ft,removeClasses:mt};function bt(e,t,a,i,s,n){var r;function o(){n&&n()}var l=T(e).parent("picture")[0];l||e.complete&&s?o():t?(r=new y.Image,r.onload=o,r.onerror=o,i&&(r.sizes=i),a&&(r.srcset=a),t&&(r.src=t)):o()}function wt(){var e=this;function t(){"undefined"!==typeof e&&null!==e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var a=0;a0&&t.slidesOffsetBefore+t.spaceBetween*(e.slides.length-1)+e.slides[0].offsetWidth*e.slides.length;t.slidesOffsetBefore&&t.slidesOffsetAfter&&i?e.isLocked=i<=e.size:e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,a!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),a&&a!==e.isLocked&&(e.isEnd=!1,e.navigation&&e.navigation.update())}var Et={checkOverflow:xt},Tt={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,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,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!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},St={update:Ee,translate:Pe,transition:Ie,slide:Xe,loop:We,grabCursor:qe,manipulation:Qe,events:pt,breakpoints:vt,checkOverflow:Et,classes:gt,images:yt},Ct={},Mt=function(e){l(a,e);var t=p(a);function a(){var e,i,s;Object(h["a"])(this,a);for(var o=arguments.length,l=new Array(o),d=0;d1){var m=[];return v.each((function(e,t){var i=ce.extend({},s,{el:t});m.push(new a(i))})),r(e,m)}return i.swiper=c,v.data("swiper",c),i&&i.shadowRoot&&i.shadowRoot.querySelector?(u=T(i.shadowRoot.querySelector(".".concat(c.params.wrapperClass))),u.children=function(e){return v.children(e)}):u=v.children(".".concat(c.params.wrapperClass)),ce.extend(c,{$el:v,el:i,$wrapperEl:u,wrapperEl:u[0],classNames:[],slides:T(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===c.params.direction},isVertical:function(){return"vertical"===c.params.direction},rtl:"rtl"===i.dir.toLowerCase()||"rtl"===v.css("direction"),rtlTranslate:"horizontal"===c.params.direction&&("rtl"===i.dir.toLowerCase()||"rtl"===v.css("direction")),wrongRTL:"-webkit-box"===u.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:c.params.allowSlideNext,allowSlidePrev:c.params.allowSlidePrev,touchEvents:function(){var e=["touchstart","touchmove","touchend","touchcancel"],t=["mousedown","mousemove","mouseup"];return pe.pointerEvents&&(t=["pointerdown","pointermove","pointerup"]),c.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},c.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},pe.touch||!c.params.simulateTouch?c.touchEventsTouch:c.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, label",lastClickTime:ce.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:c.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),c.useModules(),c.params.init&&c.init(),r(e,c)}return Object(v["a"])(a,[{key:"slidesPerViewDynamic",value:function(){var e=this,t=e.params,a=e.slides,i=e.slidesGrid,s=e.size,n=e.activeIndex,r=1;if(t.centeredSlides){for(var o,l=a[n].swiperSlideSize,d=n+1;ds&&(o=!0));for(var c=n-1;c>=0;c-=1)a[c]&&!o&&(l+=a[c].swiperSlideSize,r+=1,l>s&&(o=!0))}else for(var p=n+1;p1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),t||s()),i.watchOverflow&&a!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function s(){var t=e.rtlTranslate?-1*e.translate:e.translate,a=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(a),e.updateActiveIndex(),e.updateSlidesClasses()}}},{key:"changeDirection",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=this,i=a.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(a.$el.removeClass("".concat(a.params.containerModifierClass).concat(i)).addClass("".concat(a.params.containerModifierClass).concat(e)),a.params.direction=e,a.slides.each((function(t,a){"vertical"===e?a.style.width="":a.style.height=""})),a.emit("changeDirection"),t&&a.update()),a}},{key:"init",value:function(){var e=this;e.initialized||(e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.params.loop&&e.loopCreate(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.setGrabCursor(),e.params.preloadImages&&e.preloadImages(),e.params.loop?e.slideTo(e.params.initialSlide+e.loopedSlides,0,e.params.runCallbacksOnInit):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit),e.attachEvents(),e.initialized=!0,e.emit("init"))}},{key:"destroy",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=this,i=a.params,s=a.$el,n=a.$wrapperEl,r=a.slides;return"undefined"===typeof a.params||a.destroyed||(a.emit("beforeDestroy"),a.initialized=!1,a.detachEvents(),i.loop&&a.loopDestroy(),t&&(a.removeClasses(),s.removeAttr("style"),n.removeAttr("style"),r&&r.length&&r.removeClass([i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),a.emit("destroy"),Object.keys(a.eventsListeners).forEach((function(e){a.off(e)})),!1!==e&&(a.$el[0].swiper=null,a.$el.data("swiper",null),ce.deleteProps(a)),a.destroyed=!0),null}}],[{key:"extendDefaults",value:function(e){ce.extend(Ct,e)}},{key:"extendedDefaults",get:function(){return Ct}},{key:"defaults",get:function(){return Tt}},{key:"Class",get:function(){return ue}},{key:"$",get:function(){return T}}]),a}(ue),kt={name:"device",proto:{device:et},static:{device:et}},Pt={name:"support",proto:{support:pe},static:{support:pe}},zt=function(){function e(){var e=y.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}return{isEdge:!!y.navigator.userAgent.match(/Edge/g),isSafari:e(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(y.navigator.userAgent)}}(),$t={name:"browser",proto:{browser:zt},static:{browser:zt}},Lt={name:"resize",create:function(){var e=this;ce.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(){var e=this;y.addEventListener("resize",e.resize.resizeHandler),y.addEventListener("orientationchange",e.resize.orientationChangeHandler)},destroy:function(){var e=this;y.removeEventListener("resize",e.resize.resizeHandler),y.removeEventListener("orientationchange",e.resize.orientationChangeHandler)}}},It={func:y.MutationObserver||y.WebkitMutationObserver,attach:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=this,i=It.func,s=new i((function(e){if(1!==e.length){var t=function(){a.emit("observerUpdate",e[0])};y.requestAnimationFrame?y.requestAnimationFrame(t):y.setTimeout(t,0)}else a.emit("observerUpdate",e[0])}));s.observe(e,{attributes:"undefined"===typeof t.attributes||t.attributes,childList:"undefined"===typeof t.childList||t.childList,characterData:"undefined"===typeof t.characterData||t.characterData}),a.observer.observers.push(s)},init:function(){var e=this;if(pe.observer&&e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),a=0;ax)&&t.$wrapperEl.find(".".concat(t.params.slideClass,'[data-swiper-slide-index="').concat(M,'"]')).remove();for(var k=0;k=y&&k<=x&&("undefined"===typeof p||e?C.push(k):(k>p&&C.push(k),k').concat(e,""));return s.attr("data-swiper-slide-index")||s.attr("data-swiper-slide-index",t),i.cache&&(a.virtual.cache[t]=s),s},appendSlide:function(e){var t=this;if("object"===Object(f["a"])(e)&&"length"in e)for(var a=0;a=0;i-=1)t.virtual.slides.splice(e[i],1),t.params.virtual.cache&&delete t.virtual.cache[e[i]],e[i]0&&0===t.$el.parents(".".concat(t.params.slideActiveClass)).length)return;var h=y.innerWidth,v=y.innerHeight,f=t.$el.offset();a&&(f.left-=t.$el[0].scrollLeft);for(var m=[[f.left,f.top],[f.left+t.width,f.top],[f.left,f.top+t.height],[f.left+t.width,f.top+t.height]],g=0;g=0&&w[0]<=h&&w[1]>=0&&w[1]<=v&&(u=!0)}if(!u)return}t.isHorizontal()?((r||o||l||d)&&(i.preventDefault?i.preventDefault():i.returnValue=!1),((o||d)&&!a||(r||l)&&a)&&t.slideNext(),((r||l)&&!a||(o||d)&&a)&&t.slidePrev()):((r||o||c||p)&&(i.preventDefault?i.preventDefault():i.returnValue=!1),(o||p)&&t.slideNext(),(r||c)&&t.slidePrev()),t.emit("keyPress",s)}},enable:function(){var e=this;e.keyboard.enabled||(T(b).on("keydown",e.keyboard.handle),e.keyboard.enabled=!0)},disable:function(){var e=this;e.keyboard.enabled&&(T(b).off("keydown",e.keyboard.handle),e.keyboard.enabled=!1)}},Ht={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}},create:function(){var e=this;ce.extend(e,{keyboard:{enabled:!1,enable:Gt.enable.bind(e),disable:Gt.disable.bind(e),handle:Gt.handle.bind(e)}})},on:{init:function(){var e=this;e.params.keyboard.enabled&&e.keyboard.enable()},destroy:function(){var e=this;e.keyboard.enabled&&e.keyboard.disable()}}};function Bt(){var e="onwheel",t=e in b;if(!t){var a=b.createElement("div");a.setAttribute(e,"return;"),t="function"===typeof a[e]}return!t&&b.implementation&&b.implementation.hasFeature&&!0!==b.implementation.hasFeature("","")&&(t=b.implementation.hasFeature("Events.wheel","3.0")),t}var Nt={lastScrollTime:ce.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:function(){return y.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":Bt()?"wheel":"mousewheel"},normalize:function(e){var t=10,a=40,i=800,s=0,n=0,r=0,o=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(s=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(s=n,n=0),r=s*t,o=n*t,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(r=e.deltaX),e.shiftKey&&!r&&(r=o,o=0),(r||o)&&e.deltaMode&&(1===e.deltaMode?(r*=a,o*=a):(r*=i,o*=i)),r&&!s&&(s=r<1?-1:1),o&&!n&&(n=o<1?-1:1),{spinX:s,spinY:n,pixelX:r,pixelY:o}},handleMouseEnter:function(){var e=this;e.mouseEntered=!0},handleMouseLeave:function(){var e=this;e.mouseEntered=!1},handle:function(e){var t=e,a=this,i=a.params.mousewheel;a.params.cssMode&&t.preventDefault();var s=a.$el;if("container"!==a.params.mousewheel.eventsTarged&&(s=T(a.params.mousewheel.eventsTarged)),!a.mouseEntered&&!s[0].contains(t.target)&&!i.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);var n=0,r=a.rtlTranslate?-1:1,o=Nt.normalize(t);if(i.forceToAxis)if(a.isHorizontal()){if(!(Math.abs(o.pixelX)>Math.abs(o.pixelY)))return!0;n=-o.pixelX*r}else{if(!(Math.abs(o.pixelY)>Math.abs(o.pixelX)))return!0;n=-o.pixelY}else n=Math.abs(o.pixelX)>Math.abs(o.pixelY)?-o.pixelX*r:-o.pixelY;if(0===n)return!0;if(i.invert&&(n=-n),a.params.freeMode){var l={time:ce.now(),delta:Math.abs(n),direction:Math.sign(n)},d=a.mousewheel.lastEventBeforeSnap,c=d&&l.time=a.minTranslate()&&(p=a.minTranslate()),p<=a.maxTranslate()&&(p=a.maxTranslate()),a.setTransition(0),a.setTranslate(p),a.updateProgress(),a.updateActiveIndex(),a.updateSlidesClasses(),(!u&&a.isBeginning||!h&&a.isEnd)&&a.updateSlidesClasses(),a.params.freeModeSticky){clearTimeout(a.mousewheel.timeout),a.mousewheel.timeout=void 0;var v=a.mousewheel.recentWheelEvents;v.length>=15&&v.shift();var f=v.length?v[v.length-1]:void 0,m=v[0];if(v.push(l),f&&(l.delta>f.delta||l.direction!==f.direction))v.splice(0);else if(v.length>=15&&l.time-m.time<500&&m.delta-l.delta>=1&&l.delta<=6){var g=n>0?.8:.2;a.mousewheel.lastEventBeforeSnap=l,v.splice(0),a.mousewheel.timeout=ce.nextTick((function(){a.slideToClosest(a.params.speed,!0,void 0,g)}),0)}a.mousewheel.timeout||(a.mousewheel.timeout=ce.nextTick((function(){var e=.5;a.mousewheel.lastEventBeforeSnap=l,v.splice(0),a.slideToClosest(a.params.speed,!0,void 0,e)}),500))}if(c||a.emit("scroll",t),a.params.autoplay&&a.params.autoplayDisableOnInteraction&&a.autoplay.stop(),p===a.minTranslate()||p===a.maxTranslate())return!0}}else{var b={time:ce.now(),delta:Math.abs(n),direction:Math.sign(n),raw:e},w=a.mousewheel.recentWheelEvents;w.length>=2&&w.shift();var y=w.length?w[w.length-1]:void 0;if(w.push(b),y?(b.direction!==y.direction||b.delta>y.delta||b.time>y.time+150)&&a.mousewheel.animateSlider(b):a.mousewheel.animateSlider(b),a.mousewheel.releaseScroll(b))return!0}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},animateSlider:function(e){var t=this;return e.delta>=6&&ce.now()-t.mousewheel.lastScrollTime<60||(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),t.emit("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),t.emit("scroll",e.raw)),t.mousewheel.lastScrollTime=(new y.Date).getTime(),!1)},releaseScroll:function(e){var t=this,a=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&a.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&a.releaseOnEdges)return!0;return!1},enable:function(){var e=this,t=Nt.event();if(e.params.cssMode)return e.wrapperEl.removeEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(e.mousewheel.enabled)return!1;var a=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(a=T(e.params.mousewheel.eventsTarged)),a.on("mouseenter",e.mousewheel.handleMouseEnter),a.on("mouseleave",e.mousewheel.handleMouseLeave),a.on(t,e.mousewheel.handle),e.mousewheel.enabled=!0,!0},disable:function(){var e=this,t=Nt.event();if(e.params.cssMode)return e.wrapperEl.addEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(!e.mousewheel.enabled)return!1;var a=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(a=T(e.params.mousewheel.eventsTarged)),a.off(t,e.mousewheel.handle),e.mousewheel.enabled=!1,!0}},Xt={name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){var e=this;ce.extend(e,{mousewheel:{enabled:!1,enable:Nt.enable.bind(e),disable:Nt.disable.bind(e),handle:Nt.handle.bind(e),handleMouseEnter:Nt.handleMouseEnter.bind(e),handleMouseLeave:Nt.handleMouseLeave.bind(e),animateSlider:Nt.animateSlider.bind(e),releaseScroll:Nt.releaseScroll.bind(e),lastScrollTime:ce.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[]}})},on:{init:function(){var e=this;!e.params.mousewheel.enabled&&e.params.cssMode&&e.mousewheel.disable(),e.params.mousewheel.enabled&&e.mousewheel.enable()},destroy:function(){var e=this;e.params.cssMode&&e.mousewheel.enable(),e.mousewheel.enabled&&e.mousewheel.disable()}}},Vt={update:function(){var e=this,t=e.params.navigation;if(!e.params.loop){var a=e.navigation,i=a.$nextEl,s=a.$prevEl;s&&s.length>0&&(e.isBeginning?s.addClass(t.disabledClass):s.removeClass(t.disabledClass),s[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass)),i&&i.length>0&&(e.isEnd?i.addClass(t.disabledClass):i.removeClass(t.disabledClass),i[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass))}},onPrevClick:function(e){var t=this;e.preventDefault(),t.isBeginning&&!t.params.loop||t.slidePrev()},onNextClick:function(e){var t=this;e.preventDefault(),t.isEnd&&!t.params.loop||t.slideNext()},init:function(){var e,t,a=this,i=a.params.navigation;(i.nextEl||i.prevEl)&&(i.nextEl&&(e=T(i.nextEl),a.params.uniqueNavElements&&"string"===typeof i.nextEl&&e.length>1&&1===a.$el.find(i.nextEl).length&&(e=a.$el.find(i.nextEl))),i.prevEl&&(t=T(i.prevEl),a.params.uniqueNavElements&&"string"===typeof i.prevEl&&t.length>1&&1===a.$el.find(i.prevEl).length&&(t=a.$el.find(i.prevEl))),e&&e.length>0&&e.on("click",a.navigation.onNextClick),t&&t.length>0&&t.on("click",a.navigation.onPrevClick),ce.extend(a.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this,t=e.navigation,a=t.$nextEl,i=t.$prevEl;a&&a.length&&(a.off("click",e.navigation.onNextClick),a.removeClass(e.params.navigation.disabledClass)),i&&i.length&&(i.off("click",e.navigation.onPrevClick),i.removeClass(e.params.navigation.disabledClass))}},Yt={name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){var e=this;ce.extend(e,{navigation:{init:Vt.init.bind(e),update:Vt.update.bind(e),destroy:Vt.destroy.bind(e),onNextClick:Vt.onNextClick.bind(e),onPrevClick:Vt.onPrevClick.bind(e)}})},on:{init:function(){var e=this;e.navigation.init(),e.navigation.update()},toEdge:function(){var e=this;e.navigation.update()},fromEdge:function(){var e=this;e.navigation.update()},destroy:function(){var e=this;e.navigation.destroy()},click:function(e){var t,a=this,i=a.navigation,s=i.$nextEl,n=i.$prevEl;!a.params.navigation.hideOnClick||T(e.target).is(n)||T(e.target).is(s)||(s?t=s.hasClass(a.params.navigation.hiddenClass):n&&(t=n.hasClass(a.params.navigation.hiddenClass)),!0===t?a.emit("navigationShow",a):a.emit("navigationHide",a),s&&s.toggleClass(a.params.navigation.hiddenClass),n&&n.toggleClass(a.params.navigation.hiddenClass))}}},Ft={update:function(){var e=this,t=e.rtl,a=e.params.pagination;if(a.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var i,s=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,n=e.pagination.$el,r=e.params.loop?Math.ceil((s-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(i=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),i>s-1-2*e.loopedSlides&&(i-=s-2*e.loopedSlides),i>r-1&&(i-=r),i<0&&"bullets"!==e.params.paginationType&&(i=r+i)):i="undefined"!==typeof e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===a.type&&e.pagination.bullets&&e.pagination.bullets.length>0){var o,l,d,c=e.pagination.bullets;if(a.dynamicBullets&&(e.pagination.bulletSize=c.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),n.css(e.isHorizontal()?"width":"height","".concat(e.pagination.bulletSize*(a.dynamicMainBullets+4),"px")),a.dynamicMainBullets>1&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=i-e.previousIndex,e.pagination.dynamicBulletIndex>a.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=a.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),o=i-e.pagination.dynamicBulletIndex,l=o+(Math.min(c.length,a.dynamicMainBullets)-1),d=(l+o)/2),c.removeClass("".concat(a.bulletActiveClass," ").concat(a.bulletActiveClass,"-next ").concat(a.bulletActiveClass,"-next-next ").concat(a.bulletActiveClass,"-prev ").concat(a.bulletActiveClass,"-prev-prev ").concat(a.bulletActiveClass,"-main")),n.length>1)c.each((function(e,t){var s=T(t),n=s.index();n===i&&s.addClass(a.bulletActiveClass),a.dynamicBullets&&(n>=o&&n<=l&&s.addClass("".concat(a.bulletActiveClass,"-main")),n===o&&s.prev().addClass("".concat(a.bulletActiveClass,"-prev")).prev().addClass("".concat(a.bulletActiveClass,"-prev-prev")),n===l&&s.next().addClass("".concat(a.bulletActiveClass,"-next")).next().addClass("".concat(a.bulletActiveClass,"-next-next")))}));else{var p=c.eq(i),u=p.index();if(p.addClass(a.bulletActiveClass),a.dynamicBullets){for(var h=c.eq(o),v=c.eq(l),f=o;f<=l;f+=1)c.eq(f).addClass("".concat(a.bulletActiveClass,"-main"));if(e.params.loop)if(u>=c.length-a.dynamicMainBullets){for(var m=a.dynamicMainBullets;m>=0;m-=1)c.eq(c.length-m).addClass("".concat(a.bulletActiveClass,"-main"));c.eq(c.length-a.dynamicMainBullets-1).addClass("".concat(a.bulletActiveClass,"-prev"))}else h.prev().addClass("".concat(a.bulletActiveClass,"-prev")).prev().addClass("".concat(a.bulletActiveClass,"-prev-prev")),v.next().addClass("".concat(a.bulletActiveClass,"-next")).next().addClass("".concat(a.bulletActiveClass,"-next-next"));else h.prev().addClass("".concat(a.bulletActiveClass,"-prev")).prev().addClass("".concat(a.bulletActiveClass,"-prev-prev")),v.next().addClass("".concat(a.bulletActiveClass,"-next")).next().addClass("".concat(a.bulletActiveClass,"-next-next"))}}if(a.dynamicBullets){var g=Math.min(c.length,a.dynamicMainBullets+4),b=(e.pagination.bulletSize*g-e.pagination.bulletSize)/2-d*e.pagination.bulletSize,w=t?"right":"left";c.css(e.isHorizontal()?w:"top","".concat(b,"px"))}}if("fraction"===a.type&&(n.find(".".concat(a.currentClass)).text(a.formatFractionCurrent(i+1)),n.find(".".concat(a.totalClass)).text(a.formatFractionTotal(r))),"progressbar"===a.type){var y;y=a.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";var x=(i+1)/r,E=1,S=1;"horizontal"===y?E=x:S=x,n.find(".".concat(a.progressbarFillClass)).transform("translate3d(0,0,0) scaleX(".concat(E,") scaleY(").concat(S,")")).transition(e.params.speed)}"custom"===a.type&&a.renderCustom?(n.html(a.renderCustom(e,i+1,r)),e.emit("paginationRender",e,n[0])):e.emit("paginationUpdate",e,n[0]),n[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](a.lockClass)}},render:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var a=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,i=e.pagination.$el,s="";if("bullets"===t.type){for(var n=e.params.loop?Math.ceil((a-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length,r=0;r");i.html(s),e.pagination.bullets=i.find(".".concat(t.bulletClass))}"fraction"===t.type&&(s=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):'')+" / "+''),i.html(s)),"progressbar"===t.type&&(s=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):''),i.html(s)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var e=this,t=e.params.pagination;if(t.el){var a=T(t.el);0!==a.length&&(e.params.uniqueNavElements&&"string"===typeof t.el&&a.length>1&&(a=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&a.addClass(t.clickableClass),a.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(a.addClass("".concat(t.modifierClass).concat(t.type,"-dynamic")),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&a.addClass(t.progressbarOppositeClass),t.clickable&&a.on("click",".".concat(t.bulletClass),(function(t){t.preventDefault();var a=T(this).index()*e.params.slidesPerGroup;e.params.loop&&(a+=e.loopedSlides),e.slideTo(a)})),ce.extend(e.pagination,{$el:a,el:a[0]}))}},destroy:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var a=e.pagination.$el;a.removeClass(t.hiddenClass),a.removeClass(t.modifierClass+t.type),e.pagination.bullets&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&a.off("click",".".concat(t.bulletClass))}}},Wt={name:"pagination",params:{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:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){var e=this;ce.extend(e,{pagination:{init:Ft.init.bind(e),render:Ft.render.bind(e),update:Ft.update.bind(e),destroy:Ft.destroy.bind(e),dynamicBulletIndex:0}})},on:{init:function(){var e=this;e.pagination.init(),e.pagination.render(),e.pagination.update()},activeIndexChange:function(){var e=this;(e.params.loop||"undefined"===typeof e.snapIndex)&&e.pagination.update()},snapIndexChange:function(){var e=this;e.params.loop||e.pagination.update()},slidesLengthChange:function(){var e=this;e.params.loop&&(e.pagination.render(),e.pagination.update())},snapGridLengthChange:function(){var e=this;e.params.loop||(e.pagination.render(),e.pagination.update())},destroy:function(){var e=this;e.pagination.destroy()},click:function(e){var t=this;if(t.params.pagination.el&&t.params.pagination.hideOnClick&&t.pagination.$el.length>0&&!T(e.target).hasClass(t.params.pagination.bulletClass)){var a=t.pagination.$el.hasClass(t.params.pagination.hiddenClass);!0===a?t.emit("paginationShow",t):t.emit("paginationHide",t),t.pagination.$el.toggleClass(t.params.pagination.hiddenClass)}}}},jt={setTranslate:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,a=e.rtlTranslate,i=e.progress,s=t.dragSize,n=t.trackSize,r=t.$dragEl,o=t.$el,l=e.params.scrollbar,d=s,c=(n-s)*i;a?(c=-c,c>0?(d=s-c,c=0):-c+s>n&&(d=n+c)):c<0?(d=s+c,c=0):c+s>n&&(d=n-c),e.isHorizontal()?(r.transform("translate3d(".concat(c,"px, 0, 0)")),r[0].style.width="".concat(d,"px")):(r.transform("translate3d(0px, ".concat(c,"px, 0)")),r[0].style.height="".concat(d,"px")),l.hide&&(clearTimeout(e.scrollbar.timeout),o[0].style.opacity=1,e.scrollbar.timeout=setTimeout((function(){o[0].style.opacity=0,o.transition(400)}),1e3))}},setTransition:function(e){var t=this;t.params.scrollbar.el&&t.scrollbar.el&&t.scrollbar.$dragEl.transition(e)},updateSize:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,a=t.$dragEl,i=t.$el;a[0].style.width="",a[0].style.height="";var s,n=e.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,r=e.size/e.virtualSize,o=r*(n/e.size);s="auto"===e.params.scrollbar.dragSize?n*r:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?a[0].style.width="".concat(s,"px"):a[0].style.height="".concat(s,"px"),i[0].style.display=r>=1?"none":"",e.params.scrollbar.hide&&(i[0].style.opacity=0),ce.extend(t,{trackSize:n,divider:r,moveDivider:o,dragSize:s}),t.$el[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}},getPointerPosition:function(e){var t=this;return t.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientX:e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientY:e.clientY},setDragPosition:function(e){var t,a=this,i=a.scrollbar,s=a.rtlTranslate,n=i.$el,r=i.dragSize,o=i.trackSize,l=i.dragStartPos;t=(i.getPointerPosition(e)-n.offset()[a.isHorizontal()?"left":"top"]-(null!==l?l:r/2))/(o-r),t=Math.max(Math.min(t,1),0),s&&(t=1-t);var d=a.minTranslate()+(a.maxTranslate()-a.minTranslate())*t;a.updateProgress(d),a.setTranslate(d),a.updateActiveIndex(),a.updateSlidesClasses()},onDragStart:function(e){var t=this,a=t.params.scrollbar,i=t.scrollbar,s=t.$wrapperEl,n=i.$el,r=i.$dragEl;t.scrollbar.isTouched=!0,t.scrollbar.dragStartPos=e.target===r[0]||e.target===r?i.getPointerPosition(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),s.transition(100),r.transition(100),i.setDragPosition(e),clearTimeout(t.scrollbar.dragTimeout),n.transition(0),a.hide&&n.css("opacity",1),t.params.cssMode&&t.$wrapperEl.css("scroll-snap-type","none"),t.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this,a=t.scrollbar,i=t.$wrapperEl,s=a.$el,n=a.$dragEl;t.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,a.setDragPosition(e),i.transition(0),s.transition(0),n.transition(0),t.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this,a=t.params.scrollbar,i=t.scrollbar,s=t.$wrapperEl,n=i.$el;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,t.params.cssMode&&(t.$wrapperEl.css("scroll-snap-type",""),s.transition("")),a.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=ce.nextTick((function(){n.css("opacity",0),n.transition(400)}),1e3)),t.emit("scrollbarDragEnd",e),a.snapOnRelease&&t.slideToClosest())},enableDraggable:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,a=e.touchEventsTouch,i=e.touchEventsDesktop,s=e.params,n=t.$el,r=n[0],o=!(!pe.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},l=!(!pe.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1};pe.touch?(r.addEventListener(a.start,e.scrollbar.onDragStart,o),r.addEventListener(a.move,e.scrollbar.onDragMove,o),r.addEventListener(a.end,e.scrollbar.onDragEnd,l)):(r.addEventListener(i.start,e.scrollbar.onDragStart,o),b.addEventListener(i.move,e.scrollbar.onDragMove,o),b.addEventListener(i.end,e.scrollbar.onDragEnd,l))}},disableDraggable:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,a=e.touchEventsTouch,i=e.touchEventsDesktop,s=e.params,n=t.$el,r=n[0],o=!(!pe.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},l=!(!pe.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1};pe.touch?(r.removeEventListener(a.start,e.scrollbar.onDragStart,o),r.removeEventListener(a.move,e.scrollbar.onDragMove,o),r.removeEventListener(a.end,e.scrollbar.onDragEnd,l)):(r.removeEventListener(i.start,e.scrollbar.onDragStart,o),b.removeEventListener(i.move,e.scrollbar.onDragMove,o),b.removeEventListener(i.end,e.scrollbar.onDragEnd,l))}},init:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,a=e.$el,i=e.params.scrollbar,s=T(i.el);e.params.uniqueNavElements&&"string"===typeof i.el&&s.length>1&&1===a.find(i.el).length&&(s=a.find(i.el));var n=s.find(".".concat(e.params.scrollbar.dragClass));0===n.length&&(n=T('
')),s.append(n)),ce.extend(t,{$el:s,el:s[0],$dragEl:n,dragEl:n[0]}),i.draggable&&t.enableDraggable()}},destroy:function(){var e=this;e.scrollbar.disableDraggable()}},Rt={name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){var e=this;ce.extend(e,{scrollbar:{init:jt.init.bind(e),destroy:jt.destroy.bind(e),updateSize:jt.updateSize.bind(e),setTranslate:jt.setTranslate.bind(e),setTransition:jt.setTransition.bind(e),enableDraggable:jt.enableDraggable.bind(e),disableDraggable:jt.disableDraggable.bind(e),setDragPosition:jt.setDragPosition.bind(e),getPointerPosition:jt.getPointerPosition.bind(e),onDragStart:jt.onDragStart.bind(e),onDragMove:jt.onDragMove.bind(e),onDragEnd:jt.onDragEnd.bind(e),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){var e=this;e.scrollbar.init(),e.scrollbar.updateSize(),e.scrollbar.setTranslate()},update:function(){var e=this;e.scrollbar.updateSize()},resize:function(){var e=this;e.scrollbar.updateSize()},observerUpdate:function(){var e=this;e.scrollbar.updateSize()},setTranslate:function(){var e=this;e.scrollbar.setTranslate()},setTransition:function(e){var t=this;t.scrollbar.setTransition(e)},destroy:function(){var e=this;e.scrollbar.destroy()}}},qt={setTransform:function(e,t){var a=this,i=a.rtl,s=T(e),n=i?-1:1,r=s.attr("data-swiper-parallax")||"0",o=s.attr("data-swiper-parallax-x"),l=s.attr("data-swiper-parallax-y"),d=s.attr("data-swiper-parallax-scale"),c=s.attr("data-swiper-parallax-opacity");if(o||l?(o=o||"0",l=l||"0"):a.isHorizontal()?(o=r,l="0"):(l=r,o="0"),o=o.indexOf("%")>=0?"".concat(parseInt(o,10)*t*n,"%"):"".concat(o*t*n,"px"),l=l.indexOf("%")>=0?"".concat(parseInt(l,10)*t,"%"):"".concat(l*t,"px"),"undefined"!==typeof c&&null!==c){var p=c-(c-1)*(1-Math.abs(t));s[0].style.opacity=p}if("undefined"===typeof d||null===d)s.transform("translate3d(".concat(o,", ").concat(l,", 0px)"));else{var u=d-(d-1)*(1-Math.abs(t));s.transform("translate3d(".concat(o,", ").concat(l,", 0px) scale(").concat(u,")"))}},setTranslate:function(){var e=this,t=e.$el,a=e.slides,i=e.progress,s=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(t,a){e.parallax.setTransform(a,i)})),a.each((function(t,a){var n=a.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(n+=Math.ceil(t/2)-i*(s.length-1)),n=Math.min(Math.max(n,-1),1),T(a).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,a){e.parallax.setTransform(a,n)}))}))},setTransition:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=this,a=t.$el;a.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,a){var i=T(a),s=parseInt(i.attr("data-swiper-parallax-duration"),10)||e;0===e&&(s=0),i.transition(s)}))}},Kt={name:"parallax",params:{parallax:{enabled:!1}},create:function(){var e=this;ce.extend(e,{parallax:{setTransform:qt.setTransform.bind(e),setTranslate:qt.setTranslate.bind(e),setTransition:qt.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},init:function(){var e=this;e.params.parallax.enabled&&e.parallax.setTranslate()},setTranslate:function(){var e=this;e.params.parallax.enabled&&e.parallax.setTranslate()},setTransition:function(e){var t=this;t.params.parallax.enabled&&t.parallax.setTransition(e)}}},Ut={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,a=e.targetTouches[0].pageY,i=e.targetTouches[1].pageX,s=e.targetTouches[1].pageY,n=Math.sqrt(Math.pow(i-t,2)+Math.pow(s-a,2));return n},onGestureStart:function(e){var t=this,a=t.params.zoom,i=t.zoom,s=i.gesture;if(i.fakeGestureTouched=!1,i.fakeGestureMoved=!1,!pe.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;i.fakeGestureTouched=!0,s.scaleStart=Ut.getDistanceBetweenTouches(e)}s.$slideEl&&s.$slideEl.length||(s.$slideEl=T(e.target).closest(".".concat(t.params.slideClass)),0===s.$slideEl.length&&(s.$slideEl=t.slides.eq(t.activeIndex)),s.$imageEl=s.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),s.$imageWrapEl=s.$imageEl.parent(".".concat(a.containerClass)),s.maxRatio=s.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,0!==s.$imageWrapEl.length)?(s.$imageEl&&s.$imageEl.transition(0),t.zoom.isScaling=!0):s.$imageEl=void 0},onGestureChange:function(e){var t=this,a=t.params.zoom,i=t.zoom,s=i.gesture;if(!pe.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;i.fakeGestureMoved=!0,s.scaleMove=Ut.getDistanceBetweenTouches(e)}s.$imageEl&&0!==s.$imageEl.length&&(pe.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))return void(s.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(s.minY)===Math.floor(s.startY)&&s.touchesCurrent.ys.touchesStart.y))return void(s.isTouched=!1)}e.cancelable&&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)),n.prevPositionX||(n.prevPositionX=s.touchesCurrent.x),n.prevPositionY||(n.prevPositionY=s.touchesCurrent.y),n.prevTime||(n.prevTime=Date.now()),n.x=(s.touchesCurrent.x-n.prevPositionX)/(Date.now()-n.prevTime)/2,n.y=(s.touchesCurrent.y-n.prevPositionY)/(Date.now()-n.prevTime)/2,Math.abs(s.touchesCurrent.x-n.prevPositionX)<2&&(n.x=0),Math.abs(s.touchesCurrent.y-n.prevPositionY)<2&&(n.y=0),n.prevPositionX=s.touchesCurrent.x,n.prevPositionY=s.touchesCurrent.y,n.prevTime=Date.now(),i.$imageWrapEl.transform("translate3d(".concat(s.currentX,"px, ").concat(s.currentY,"px,0)"))}}},onTouchEnd:function(){var e=this,t=e.zoom,a=t.gesture,i=t.image,s=t.velocity;if(a.$imageEl&&0!==a.$imageEl.length){if(!i.isTouched||!i.isMoved)return i.isTouched=!1,void(i.isMoved=!1);i.isTouched=!1,i.isMoved=!1;var n=300,r=300,o=s.x*n,l=i.currentX+o,d=s.y*r,c=i.currentY+d;0!==s.x&&(n=Math.abs((l-i.currentX)/s.x)),0!==s.y&&(r=Math.abs((c-i.currentY)/s.y));var p=Math.max(n,r);i.currentX=l,i.currentY=c;var u=i.width*t.scale,h=i.height*t.scale;i.minX=Math.min(a.slideWidth/2-u/2,0),i.maxX=-i.minX,i.minY=Math.min(a.slideHeight/2-h/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),a.$imageWrapEl.transition(p).transform("translate3d(".concat(i.currentX,"px, ").concat(i.currentY,"px,0)"))}},onTransitionEnd:function(){var e=this,t=e.zoom,a=t.gesture;a.$slideEl&&e.previousIndex!==e.activeIndex&&(a.$imageEl&&a.$imageEl.transform("translate3d(0,0,0) scale(1)"),a.$imageWrapEl&&a.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,t.currentScale=1,a.$slideEl=void 0,a.$imageEl=void 0,a.$imageWrapEl=void 0)},toggle:function(e){var t=this,a=t.zoom;a.scale&&1!==a.scale?a.out():a.in(e)},in:function(e){var t,a,i,s,n,r,o,l,d,c,p,u,h,v,f,m,g,b,w=this,y=w.zoom,x=w.params.zoom,E=y.gesture,T=y.image;(E.$slideEl||(w.params.virtual&&w.params.virtual.enabled&&w.virtual?E.$slideEl=w.$wrapperEl.children(".".concat(w.params.slideActiveClass)):E.$slideEl=w.slides.eq(w.activeIndex),E.$imageEl=E.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),E.$imageWrapEl=E.$imageEl.parent(".".concat(x.containerClass))),E.$imageEl&&0!==E.$imageEl.length)&&(E.$slideEl.addClass("".concat(x.zoomedSlideClass)),"undefined"===typeof T.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,a="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=T.touchesStart.x,a=T.touchesStart.y),y.scale=E.$imageWrapEl.attr("data-swiper-zoom")||x.maxRatio,y.currentScale=E.$imageWrapEl.attr("data-swiper-zoom")||x.maxRatio,e?(g=E.$slideEl[0].offsetWidth,b=E.$slideEl[0].offsetHeight,i=E.$slideEl.offset().left,s=E.$slideEl.offset().top,n=i+g/2-t,r=s+b/2-a,d=E.$imageEl[0].offsetWidth,c=E.$imageEl[0].offsetHeight,p=d*y.scale,u=c*y.scale,h=Math.min(g/2-p/2,0),v=Math.min(b/2-u/2,0),f=-h,m=-v,o=n*y.scale,l=r*y.scale,of&&(o=f),lm&&(l=m)):(o=0,l=0),E.$imageWrapEl.transition(300).transform("translate3d(".concat(o,"px, ").concat(l,"px,0)")),E.$imageEl.transition(300).transform("translate3d(0,0,0) scale(".concat(y.scale,")")))},out:function(){var e=this,t=e.zoom,a=e.params.zoom,i=t.gesture;i.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?i.$slideEl=e.$wrapperEl.children(".".concat(e.params.slideActiveClass)):i.$slideEl=e.slides.eq(e.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),i.$imageWrapEl=i.$imageEl.parent(".".concat(a.containerClass))),i.$imageEl&&0!==i.$imageEl.length&&(t.scale=1,t.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("".concat(a.zoomedSlideClass)),i.$slideEl=void 0)},enable:function(){var e=this,t=e.zoom;if(!t.enabled){t.enabled=!0;var a=!("touchstart"!==e.touchEvents.start||!pe.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},i=!pe.passiveListener||{passive:!1,capture:!0},s=".".concat(e.params.slideClass);pe.gestures?(e.$wrapperEl.on("gesturestart",s,t.onGestureStart,a),e.$wrapperEl.on("gesturechange",s,t.onGestureChange,a),e.$wrapperEl.on("gestureend",s,t.onGestureEnd,a)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,s,t.onGestureStart,a),e.$wrapperEl.on(e.touchEvents.move,s,t.onGestureChange,i),e.$wrapperEl.on(e.touchEvents.end,s,t.onGestureEnd,a),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,s,t.onGestureEnd,a)),e.$wrapperEl.on(e.touchEvents.move,".".concat(e.params.zoom.containerClass),t.onTouchMove,i)}},disable:function(){var e=this,t=e.zoom;if(t.enabled){e.zoom.enabled=!1;var a=!("touchstart"!==e.touchEvents.start||!pe.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},i=!pe.passiveListener||{passive:!1,capture:!0},s=".".concat(e.params.slideClass);pe.gestures?(e.$wrapperEl.off("gesturestart",s,t.onGestureStart,a),e.$wrapperEl.off("gesturechange",s,t.onGestureChange,a),e.$wrapperEl.off("gestureend",s,t.onGestureEnd,a)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,s,t.onGestureStart,a),e.$wrapperEl.off(e.touchEvents.move,s,t.onGestureChange,i),e.$wrapperEl.off(e.touchEvents.end,s,t.onGestureEnd,a),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,s,t.onGestureEnd,a)),e.$wrapperEl.off(e.touchEvents.move,".".concat(e.params.zoom.containerClass),t.onTouchMove,i)}}},_t={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(a){t[a]=Ut[a].bind(e)})),ce.extend(e,{zoom:t});var a=1;Object.defineProperty(e.zoom,"scale",{get:function(){return a},set:function(t){if(a!==t){var i=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,s=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",t,i,s)}a=t}})},on:{init:function(){var e=this;e.params.zoom.enabled&&e.zoom.enable()},destroy:function(){var e=this;e.zoom.disable()},touchStart:function(e){var t=this;t.zoom.enabled&&t.zoom.onTouchStart(e)},touchEnd:function(e){var t=this;t.zoom.enabled&&t.zoom.onTouchEnd(e)},doubleTap:function(e){var t=this;t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&t.zoom.toggle(e)},transitionEnd:function(){var e=this;e.zoom.enabled&&e.params.zoom.enabled&&e.zoom.onTransitionEnd()},slideChange:function(){var e=this;e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&e.zoom.onTransitionEnd()}}},Jt={loadInSlide:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=this,i=a.params.lazy;if("undefined"!==typeof e&&0!==a.slides.length){var s=a.virtual&&a.params.virtual.enabled,n=s?a.$wrapperEl.children(".".concat(a.params.slideClass,'[data-swiper-slide-index="').concat(e,'"]')):a.slides.eq(e),r=n.find(".".concat(i.elementClass,":not(.").concat(i.loadedClass,"):not(.").concat(i.loadingClass,")"));!n.hasClass(i.elementClass)||n.hasClass(i.loadedClass)||n.hasClass(i.loadingClass)||(r=r.add(n[0])),0!==r.length&&r.each((function(e,s){var r=T(s);r.addClass(i.loadingClass);var o=r.attr("data-background"),l=r.attr("data-src"),d=r.attr("data-srcset"),c=r.attr("data-sizes"),p=r.parent("picture");a.loadImage(r[0],l||o,d,c,!1,(function(){if("undefined"!==typeof a&&null!==a&&a&&(!a||a.params)&&!a.destroyed){if(o?(r.css("background-image",'url("'.concat(o,'")')),r.removeAttr("data-background")):(d&&(r.attr("srcset",d),r.removeAttr("data-srcset")),c&&(r.attr("sizes",c),r.removeAttr("data-sizes")),p.length&&p.children("source").each((function(e,t){var a=T(t);a.attr("data-srcset")&&(a.attr("srcset",a.attr("data-srcset")),a.removeAttr("data-srcset"))})),l&&(r.attr("src",l),r.removeAttr("data-src"))),r.addClass(i.loadedClass).removeClass(i.loadingClass),n.find(".".concat(i.preloaderClass)).remove(),a.params.loop&&t){var e=n.attr("data-swiper-slide-index");if(n.hasClass(a.params.slideDuplicateClass)){var s=a.$wrapperEl.children('[data-swiper-slide-index="'.concat(e,'"]:not(.').concat(a.params.slideDuplicateClass,")"));a.lazy.loadInSlide(s.index(),!1)}else{var u=a.$wrapperEl.children(".".concat(a.params.slideDuplicateClass,'[data-swiper-slide-index="').concat(e,'"]'));a.lazy.loadInSlide(u.index(),!1)}}a.emit("lazyImageReady",n[0],r[0]),a.params.autoHeight&&a.updateAutoHeight()}})),a.emit("lazyImageLoad",n[0],r[0])}))}},load:function(){var e=this,t=e.$wrapperEl,a=e.params,i=e.slides,s=e.activeIndex,n=e.virtual&&a.virtual.enabled,r=a.lazy,o=a.slidesPerView;function l(e){if(n){if(t.children(".".concat(a.slideClass,'[data-swiper-slide-index="').concat(e,'"]')).length)return!0}else if(i[e])return!0;return!1}function d(e){return n?T(e).attr("data-swiper-slide-index"):T(e).index()}if("auto"===o&&(o=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children(".".concat(a.slideVisibleClass)).each((function(t,a){var i=n?T(a).attr("data-swiper-slide-index"):T(a).index();e.lazy.loadInSlide(i)}));else if(o>1)for(var c=s;c1||r.loadPrevNextAmount&&r.loadPrevNextAmount>1){for(var p=r.loadPrevNextAmount,u=o,h=Math.min(s+u+Math.max(p,u),i.length),v=Math.max(s-Math.max(u,p),0),f=s+o;f0&&e.lazy.loadInSlide(d(g));var b=t.children(".".concat(a.slidePrevClass));b.length>0&&e.lazy.loadInSlide(d(b))}}},Zt={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(){var e=this;ce.extend(e,{lazy:{initialImageLoaded:!1,load:Jt.load.bind(e),loadInSlide:Jt.loadInSlide.bind(e)}})},on:{beforeInit:function(){var e=this;e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)},init:function(){var e=this;e.params.lazy.enabled&&!e.params.loop&&0===e.params.initialSlide&&e.lazy.load()},scroll:function(){var e=this;e.params.freeMode&&!e.params.freeModeSticky&&e.lazy.load()},resize:function(){var e=this;e.params.lazy.enabled&&e.lazy.load()},scrollbarDragMove:function(){var e=this;e.params.lazy.enabled&&e.lazy.load()},transitionStart:function(){var e=this;e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!e.lazy.initialImageLoaded)&&e.lazy.load()},transitionEnd:function(){var e=this;e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&e.lazy.load()},slideChange:function(){var e=this;e.params.lazy.enabled&&e.params.cssMode&&e.lazy.load()}}},Qt={LinearSpline:function(e,t){var a,i,s=function(){var e,t,a;return function(i,s){t=-1,e=i.length;while(e-t>1)a=e+t>>1,i[a]<=s?t=a:e=a;return e}}();return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(i=s(this.x,e),a=i-1,(e-this.x[a])*(this.y[i]-this.y[a])/(this.x[i]-this.x[a])+this.y[a]):0},this},getInterpolateFunction:function(e){var t=this;t.controller.spline||(t.controller.spline=t.params.loop?new Qt.LinearSpline(t.slidesGrid,e.slidesGrid):new Qt.LinearSpline(t.snapGrid,e.snapGrid))},setTranslate:function(e,t){var a,i,s=this,n=s.controller.control;function r(e){var t=s.rtlTranslate?-s.translate:s.translate;"slide"===s.params.controller.by&&(s.controller.getInterpolateFunction(e),i=-s.controller.spline.interpolate(-t)),i&&"container"!==s.params.controller.by||(a=(e.maxTranslate()-e.minTranslate())/(s.maxTranslate()-s.minTranslate()),i=(t-s.minTranslate())*a+e.minTranslate()),s.params.controller.inverse&&(i=e.maxTranslate()-i),e.updateProgress(i),e.setTranslate(i,s),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(n))for(var o=0;o0&&(e.isBeginning?(e.a11y.disableEl(i),e.a11y.makeElNotFocusable(i)):(e.a11y.enableEl(i),e.a11y.makeElFocusable(i))),a&&a.length>0&&(e.isEnd?(e.a11y.disableEl(a),e.a11y.makeElNotFocusable(a)):(e.a11y.enableEl(a),e.a11y.makeElFocusable(a)))}},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(a,i){var s=T(i);e.a11y.makeElFocusable(s),e.a11y.addElRole(s,"button"),e.a11y.addElLabel(s,t.paginationBulletMessage.replace(/\{\{index\}\}/,s.index()+1))}))},init:function(){var e=this;e.$el.append(e.a11y.liveRegion);var t,a,i=e.params.a11y;e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(a=e.navigation.$prevEl),t&&(e.a11y.makeElFocusable(t),e.a11y.addElRole(t,"button"),e.a11y.addElLabel(t,i.nextSlideMessage),t.on("keydown",e.a11y.onEnterKey)),a&&(e.a11y.makeElFocusable(a),e.a11y.addElRole(a,"button"),e.a11y.addElLabel(a,i.prevSlideMessage),a.on("keydown",e.a11y.onEnterKey)),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.on("keydown",".".concat(e.params.pagination.bulletClass),e.a11y.onEnterKey)},destroy:function(){var e,t,a=this;a.a11y.liveRegion&&a.a11y.liveRegion.length>0&&a.a11y.liveRegion.remove(),a.navigation&&a.navigation.$nextEl&&(e=a.navigation.$nextEl),a.navigation&&a.navigation.$prevEl&&(t=a.navigation.$prevEl),e&&e.off("keydown",a.a11y.onEnterKey),t&&t.off("keydown",a.a11y.onEnterKey),a.pagination&&a.params.pagination.clickable&&a.pagination.bullets&&a.pagination.bullets.length&&a.pagination.$el.off("keydown",".".concat(a.params.pagination.bulletClass),a.a11y.onEnterKey)}},aa={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;ce.extend(e,{a11y:{liveRegion:T(''))}}),Object.keys(ta).forEach((function(t){e.a11y[t]=ta[t].bind(e)}))},on:{init:function(){var e=this;e.params.a11y.enabled&&(e.a11y.init(),e.a11y.updateNavigation())},toEdge:function(){var e=this;e.params.a11y.enabled&&e.a11y.updateNavigation()},fromEdge:function(){var e=this;e.params.a11y.enabled&&e.a11y.updateNavigation()},paginationUpdate:function(){var e=this;e.params.a11y.enabled&&e.a11y.updatePagination()},destroy:function(){var e=this;e.params.a11y.enabled&&e.a11y.destroy()}}},ia={init:function(){var e=this;if(e.params.history){if(!y.history||!y.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);var t=e.history;t.initialized=!0,t.paths=ia.getPathValues(),(t.paths.key||t.paths.value)&&(t.scrollToSlide(0,t.paths.value,e.params.runCallbacksOnInit),e.params.history.replaceState||y.addEventListener("popstate",e.history.setHistoryPopState))}},destroy:function(){var e=this;e.params.history.replaceState||y.removeEventListener("popstate",e.history.setHistoryPopState)},setHistoryPopState:function(){var e=this;e.history.paths=ia.getPathValues(),e.history.scrollToSlide(e.params.speed,e.history.paths.value,!1)},getPathValues:function(){var e=y.location.pathname.slice(1).split("/").filter((function(e){return""!==e})),t=e.length,a=e[t-2],i=e[t-1];return{key:a,value:i}},setHistory:function(e,t){var a=this;if(a.history.initialized&&a.params.history.enabled){var i=a.slides.eq(t),s=ia.slugify(i.attr("data-history"));y.location.pathname.includes(e)||(s="".concat(e,"/").concat(s));var n=y.history.state;n&&n.value===s||(a.params.history.replaceState?y.history.replaceState({value:s},null,s):y.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,a){var i=this;if(t)for(var s=0,n=i.slides.length;s'),i.append(e)),e.css({height:"".concat(n,"px")})):(e=a.find(".swiper-cube-shadow"),0===e.length&&(e=T('
'),a.append(e))));for(var h=0;h-1&&(u=90*f+90*b,o&&(u=90*-f-90*b)),v.transform(E),d.slideShadows){var S=c?v.find(".swiper-slide-shadow-left"):v.find(".swiper-slide-shadow-top"),C=c?v.find(".swiper-slide-shadow-right"):v.find(".swiper-slide-shadow-bottom");0===S.length&&(S=T('
')),v.append(S)),0===C.length&&(C=T('
')),v.append(C)),S.length&&(S[0].style.opacity=Math.max(-b,0)),C.length&&(C[0].style.opacity=Math.max(b,0))}}if(i.css({"-webkit-transform-origin":"50% 50% -".concat(l/2,"px"),"-moz-transform-origin":"50% 50% -".concat(l/2,"px"),"-ms-transform-origin":"50% 50% -".concat(l/2,"px"),"transform-origin":"50% 50% -".concat(l/2,"px")}),d.shadow)if(c)e.transform("translate3d(0px, ".concat(n/2+d.shadowOffset,"px, ").concat(-n/2,"px) rotateX(90deg) rotateZ(0deg) scale(").concat(d.shadowScale,")"));else{var M=Math.abs(u)-90*Math.floor(Math.abs(u)/90),k=1.5-(Math.sin(2*M*Math.PI/360)/2+Math.cos(2*M*Math.PI/360)/2),P=d.shadowScale,z=d.shadowScale/k,$=d.shadowOffset;e.transform("scale3d(".concat(P,", 1, ").concat(z,") translate3d(0px, ").concat(r/2+$,"px, ").concat(-r/2/z,"px) rotateX(-90deg)"))}var L=zt.isSafari||zt.isWebView?-l/2:0;i.transform("translate3d(0px,0,".concat(L,"px) rotateX(").concat(t.isHorizontal()?0:u,"deg) rotateY(").concat(t.isHorizontal()?-u:0,"deg)"))},setTransition:function(e){var t=this,a=t.$el,i=t.slides;i.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.cubeEffect.shadow&&!t.isHorizontal()&&a.find(".swiper-cube-shadow").transition(e)}},ua={name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){var e=this;ce.extend(e,{cubeEffect:{setTranslate:pa.setTranslate.bind(e),setTransition:pa.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;if("cube"===e.params.effect){e.classNames.push("".concat(e.params.containerModifierClass,"cube")),e.classNames.push("".concat(e.params.containerModifierClass,"3d"));var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};ce.extend(e.params,t),ce.extend(e.originalParams,t)}},setTranslate:function(){var e=this;"cube"===e.params.effect&&e.cubeEffect.setTranslate()},setTransition:function(e){var t=this;"cube"===t.params.effect&&t.cubeEffect.setTransition(e)}}},ha={setTranslate:function(){for(var e=this,t=e.slides,a=e.rtlTranslate,i=0;i')),s.append(u)),0===h.length&&(h=T('
')),s.append(h)),u.length&&(u[0].style.opacity=Math.max(-n,0)),h.length&&(h[0].style.opacity=Math.max(n,0))}s.transform("translate3d(".concat(c,"px, ").concat(p,"px, 0px) rotateX(").concat(d,"deg) rotateY(").concat(l,"deg)"))}},setTransition:function(e){var t=this,a=t.slides,i=t.activeIndex,s=t.$wrapperEl;if(a.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){var n=!1;a.eq(i).transitionEnd((function(){if(!n&&t&&!t.destroyed){n=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],a=0;a')),v.append(k)),0===P.length&&(P=T('
')),v.append(P)),k.length&&(k[0].style.opacity=g>0?g:0),P.length&&(P[0].style.opacity=-g>0?-g:0)}}if(pe.pointerEvents||pe.prefixedPointerEvents){var z=s[0].style;z.perspectiveOrigin="".concat(d,"px 50%")}},setTransition:function(e){var t=this;t.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},ma={name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}},create:function(){var e=this;ce.extend(e,{coverflowEffect:{setTranslate:fa.setTranslate.bind(e),setTransition:fa.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;"coverflow"===e.params.effect&&(e.classNames.push("".concat(e.params.containerModifierClass,"coverflow")),e.classNames.push("".concat(e.params.containerModifierClass,"3d")),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},setTranslate:function(){var e=this;"coverflow"===e.params.effect&&e.coverflowEffect.setTranslate()},setTransition:function(e){var t=this;"coverflow"===t.params.effect&&t.coverflowEffect.setTransition(e)}}},ga={init:function(){var e=this,t=e.params.thumbs,a=e.constructor;t.swiper instanceof a?(e.thumbs.swiper=t.swiper,ce.extend(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),ce.extend(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):ce.isObject(t.swiper)&&(e.thumbs.swiper=new a(ce.extend({},t.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),e.thumbs.swiperCreated=!0),e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",e.thumbs.onThumbClick)},onThumbClick:function(){var e=this,t=e.thumbs.swiper;if(t){var a=t.clickedIndex,i=t.clickedSlide;if((!i||!T(i).hasClass(e.params.thumbs.slideThumbActiveClass))&&"undefined"!==typeof a&&null!==a){var s;if(s=t.params.loop?parseInt(T(t.clickedSlide).attr("data-swiper-slide-index"),10):a,e.params.loop){var n=e.activeIndex;e.slides.eq(n).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,n=e.activeIndex);var r=e.slides.eq(n).prevAll('[data-swiper-slide-index="'.concat(s,'"]')).eq(0).index(),o=e.slides.eq(n).nextAll('[data-swiper-slide-index="'.concat(s,'"]')).eq(0).index();s="undefined"===typeof r?o:"undefined"===typeof o?r:o-nt.previousIndex?"next":"prev"}else r=t.realIndex,o=r>t.previousIndex?"next":"prev";n&&(r+="next"===o?s:-1*s),a.visibleSlidesIndexes&&a.visibleSlidesIndexes.indexOf(r)<0&&(a.params.centeredSlides?r=r>l?r-Math.floor(i/2)+1:r+Math.floor(i/2)-1:r>l&&(r=r-i+1),a.slideTo(r,e?0:void 0))}var p=1,u=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(p=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(p=1),p=Math.floor(p),a.slides.removeClass(u),a.params.loop||a.params.virtual&&a.params.virtual.enabled)for(var h=0;h