(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["PeriodAdjust~PeriodChange"],{"19a3":function(e,t,a){"use strict";var i=a("55b2"),s=a.n(i);s.a},"47ad":function(e,t,a){"use strict";var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"calendar"},[a("div",{staticClass:"c__hd"},[a("div",{staticClass:"c__date",on:{click:e.onToggleType}},[a("span",[e._v(e._s(e.curDays.month.toString().length>=2?e.curDays.month:"0"+e.curDays.month)+"月")]),e._v(e._s(e.curDays.year)+"年")]),"small"!==e.calendarType?a("div",{staticClass:"c__change"},[a("van-icon",{attrs:{name:"arrow-left"},on:{click:e.slidePrev}}),a("van-icon",{attrs:{name:"arrow"},on:{click:e.slideNext}})],1):e._e()]),e._m(0),a("swiper",{ref:"mySwiper",staticStyle:{height:"auto"},attrs:{options:e.swiperOption},on:{slideChangeTransitionEnd:e.slideChangeTransitionEnd}},e._l(e.daySet,function(t,i){return a("swiper-slide",{key:i},[a("div",{staticClass:"tr"},[e._l(t,function(t,i){return[a("div",{key:i,class:["small"==e.calendarType?"small":"","td"]},[a("span",{class:[t.disabled?"disabled":"",t.noCheck?"noCheck":"",t.toDay?"today":"",t.nowDate==e.selectElement?"active":""],on:{click:function(a){return a.stopPropagation(),e.onSelectDay(t)}}},[e._v(e._s(t.dayNum))])])]})],2)])}),1)],1)},s=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"week-title"},[a("span",[e._v("一")]),a("span",[e._v("二")]),a("span",[e._v("三")]),a("span",[e._v("四")]),a("span",[e._v("五")]),a("span",[e._v("六")]),a("span",[e._v("日")])])}],r=(a("c5f6"),a("6b54"),a("dfa4"),a("7212")),n={name:"calendar",components:{swiper:r["swiper"],swiperSlide:r["swiperSlide"]},props:{dataList:{type:Array,default:function(){return[]}},type:{type:String,default:"default"}},data:function(){return{calendarType:this.type,swiperOption:{autoHeight:!0,initialSlide:13,centeredSlides:!0,observer:!0,observeParents:!0},OS:Object.prototype.toString,startWeek:1,daySet:[],curDays:{year:(new Date).getFullYear(),month:(new Date).getMonth()+1},points:{startX:0,startY:0,endX:0,endY:0},selectElement:null}},methods:{isLeap:function(e){return e%100!==0&&e%4===0||e%400===0},isDate:function(e){return this.OS.call("[object Date]"===e)},dateToString:function(e){return!!this.isDate(e)&&e.getFullYear()+"-"+(e.getMonth()+1)+"-"+e.getDate()},getSiblingsMonth:function(e,t,a){var i=new Date(e,t-1);return i.setMonth(t-1+a),{y:i.getFullYear(),m:i.getMonth()+1}},getDaysNum:function(e,t){var a=31;switch(t){case 2:a=this.isLeap(e)?29:28;break;case 4:case 6:case 9:case 11:a=30;break}return a},getPrevMonth:function(e,t,a){return this.getSiblingsMonth(e,t,0-(a||1))},getNextMonth:function(e,t,a){return this.getSiblingsMonth(e,t,a||1)},getListMonth:function(){this.daySet=[];for(var e=12;e>=-2;e--)this.daySet.push(this.getDaysSet(new Date(this.curDays.year,this.curDays.month-(e+2))))},getDayItem:function(e,t,a,i){var s,r=!1,n=new Date;n.getFullYear()===e&&n.getMonth()+1===t&&n.getDate()===a&&2===i&&(r=!0,this.selectElement=new Date(e,t-1,a)),s="small"==this.calendarType?0:2===i?0:1;var o=!1;return{dayNum:a,monthType:i,disabled:s,noCheck:o,toDay:r,nowDate:new Date(e,t-1,a)}},getDaysSet:function(e,t){var a,i,s,r,n,o,l,d,p=[];this.isDate(e)?(a=e.getFullYear(),i=e.getMonth()+1):(a=Number(e),i=Number(t)),s=new Date(a,i-1,1).getDay()||7,o=s-this.startWeek,r=this.getDaysNum(a,i),n=this.getPrevMonth(a,i),l=this.getDaysNum(a,n.m),d=this.getNextMonth(a,i);for(var u=1,c=2,h=3,f=0,v=l-o+1;v<=l;v++,f++)p.push(this.getDayItem(n.y,n.m,v,u));for(var m=1;m<=r;m++,f++)p.push(this.getDayItem(a,i,m,c));for(var g=f%7===0?f:7-f%7+f,w=1,b=g-f;w<=b;w++)p.push(this.getDayItem(d.y,d.m,w,h));return p},getSmallCalendar:function(e,t,a){var i,s,r,n,o=[];this.isDate(e)?(i=e.getFullYear(),s=e.getMonth()+1,r=e.getDate()):(i=Number(e),s=Number(t),r=Number(a));var l=2,d=0;n=new Date(i,s-1,r).getDay()||7;for(var p=n-1;p>0;p--,d++){var u=new Date(i,s-1,r-p),c=u.getFullYear(),h=u.getMonth()+1,f=u.getDate();o.push(this.getDayItem(c,h,f,l))}o.push(this.getDayItem(i,s,r,l)),d++;for(var v=1;v<=7-d;v++){var m=new Date(i,s-1,r+v),g=m.getFullYear(),w=m.getMonth()+1,b=m.getDate();o.push(this.getDayItem(g,w,b,l))}this.daySet.push(o)},slideChangeTransitionEnd:function(){var e=this.swiper,t=this.daySet[e.activeIndex][6].nowDate;this.curDays={year:t.getFullYear(),month:t.getMonth()+1},e.isEnd&&this.daySet.push(this.getDaysSet(new Date(this.curDays.year,this.curDays.month)))},slidePrev:function(){this.swiper.slidePrev()},slideNext:function(){this.swiper.slideNext()},touchStart:function(){var e=event.touches[0];this.points.startY=e.pageY,this.points.startX=e.pageX},touchMove:function(){},onTouchUp:function(){},onTouchDown:function(){},touchEnd:function(){},onSelectDay:function(e){2!=e.monthType||e.noCheck||(this.selectElement=e.nowDate,this.$emit("onSelectDay",e.nowDate))},onToggleType:function(){"default"===this.calendarType?(this.calendarType="small",this.getSmallCalendar(new Date)):(this.calendarType="default",this.getListMonth()),this.$forceUpdate()}},computed:{swiper:function(){return this.$refs.mySwiper.swiper}},watch:{},mounted:function(){"default"==this.calendarType?this.getListMonth():this.getSmallCalendar(new Date)}},o=n,l=(a("7a67"),a("2877")),d=Object(l["a"])(o,i,s,!1,null,"99639bf6",null);t["a"]=d.exports},"55b2":function(e,t,a){},7212:function(e,t,a){!function(t,i){e.exports=i(a("d090"))}(0,function(e){return function(e){function t(i){if(a[i])return a[i].exports;var s=a[i]={i:i,l:!1,exports:{}};return e[i].call(s.exports,s,s.exports,t),s.l=!0,s.exports}var a={};return t.m=e,t.c=a,t.i=function(e){return e},t.d=function(e,a,i){t.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=4)}([function(t,a){t.exports=e},function(e,t){e.exports=function(e,t,a,i,s,r){var n,o=e=e||{},l=typeof e.default;"object"!==l&&"function"!==l||(n=e,o=e.default);var d,p="function"==typeof o?o.options:o;if(t&&(p.render=t.render,p.staticRenderFns=t.staticRenderFns,p._compiled=!0),a&&(p.functional=!0),s&&(p._scopeId=s),r?(d=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},p._ssrRegister=d):i&&(d=i),d){var u=p.functional,c=u?p.render:p.beforeCreate;u?(p._injectStyles=d,p.render=function(e,t){return d.call(t),c(e,t)}):p.beforeCreate=c?[].concat(c,d):[d]}return{esModule:n,exports:o,options:p}}},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(5),s=a.n(i),r=a(8),n=a(1),o=n(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(6),s=a.n(i),r=a(7),n=a(1),o=n(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,a){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.install=t.swiperSlide=t.swiper=t.Swiper=void 0;var s=a(0),r=i(s),n=a(2),o=i(n),l=a(3),d=i(l),p=window.Swiper||r.default,u=d.default,c=o.default,h=function(e,t){t&&(d.default.props.globalOptions.default=function(){return t}),e.component(d.default.name,d.default),e.component(o.default.name,o.default)},f={Swiper:p,swiper:u,swiperSlide:c,install:h};t.default=f,t.Swiper=p,t.swiper=u,t.swiperSlide=c,t.install=h},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"swiper-slide",data:function(){return{slideClass:"swiper-slide"}},ready:function(){this.update()},mounted:function(){this.update(),this.$parent&&this.$parent.options&&this.$parent.options.slideClass&&(this.slideClass=this.$parent.options.slideClass)},updated:function(){this.update()},attached:function(){this.update()},methods:{update:function(){this.$parent&&this.$parent.swiper&&this.$parent.update()}}}},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(0),s=function(e){return e&&e.__esModule?e:{default:e}}(i),r=window.Swiper||s.default;"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var a=Object(e),i=1;i=0&&d.indexOf(">")>=0){var p="div";for(0===d.indexOf(":~]/)?(s||e).querySelectorAll(i.trim()):[e.getElementById(i.trim().split("#")[1])],n=0;n0&&i[0].nodeType)for(n=0;n=0;h-=1){var f=c[h];r&&f.listener===r?(u.removeEventListener(d,f.proxyListener,n),c.splice(h,1)):r&&f.listener&&f.listener.dom7proxy&&f.listener.dom7proxy===r?(u.removeEventListener(d,f.proxyListener,n),c.splice(h,1)):r||(u.removeEventListener(d,f.proxyListener,n),c.splice(h,1))}}return this}function m(){var a=[],i=arguments.length;while(i--)a[i]=arguments[i];for(var s=a[0].split(" "),r=a[1],n=0;n0}),d.dispatchEvent(p),d.dom7EventData=[],delete d.dom7EventData}return this}function g(e){var t,a=["webkitTransitionEnd","transitionend"],i=this;function s(r){if(r.target===this)for(e.call(this,r),t=0;t0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function b(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 y(){if(this.length>0){var a=this[0],i=a.getBoundingClientRect(),s=e.body,r=a.clientTop||s.clientTop||0,n=a.clientLeft||s.clientLeft||0,o=a===t?t.scrollY:a.scrollTop,l=a===t?t.scrollX:a.scrollLeft;return{top:i.top+o-r,left:i.left+l-n}}return null}function x(){return this[0]?t.getComputedStyle(this[0],null):{}}function T(e,a){var i;if(1===arguments.length){if("string"!==typeof e){for(i=0;ii-1?new a([]):e<0?(t=i+e,new a(t<0?[]:[this[t]])):new a([this[e]])}function z(){var t,i=[],s=arguments.length;while(s--)i[s]=arguments[s];for(var r=0;r=0;s-=1)this[i].insertBefore(r.childNodes[s],this[i].childNodes[0])}else if(t instanceof a)for(s=0;s0?e?this[0].nextElementSibling&&i(this[0].nextElementSibling).is(e)?new a([this[0].nextElementSibling]):new a([]):this[0].nextElementSibling?new a([this[0].nextElementSibling]):new a([]):new a([])}function I(e){var t=[],s=this[0];if(!s)return new a([]);while(s.nextElementSibling){var r=s.nextElementSibling;e?i(r).is(e)&&t.push(r):t.push(r),s=r}return new a(t)}function L(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&i(t.previousElementSibling).is(e)?new a([t.previousElementSibling]):new a([]):t.previousElementSibling?new a([t.previousElementSibling]):new a([])}return new a([])}function O(e){var t=[],s=this[0];if(!s)return new a([]);while(s.previousElementSibling){var r=s.previousElementSibling;e?i(r).is(e)&&t.push(r):t.push(r),s=r}return new a(t)}function A(e){for(var t=[],a=0;a6&&(s=s.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),r=new t.WebKitCSSMatrix("none"===s?"":s)):(r=n.MozTransform||n.OTransform||n.MsTransform||n.msTransform||n.transform||n.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=r.toString().split(",")),"x"===a&&(s=t.WebKitCSSMatrix?r.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===a&&(s=t.WebKitCSSMatrix?r.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),s||0},parseUrlQuery:function(e){var a,i,s,r,n={},o=e||t.location.href;if("string"===typeof o&&o.length)for(o=o.indexOf("?")>-1?o.replace(/\S*\?/,""):"",i=o.split("&").filter(function(e){return""!==e}),r=i.length,a=0;a0||"ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}(),pointerEvents:!!(t.navigator.pointerEnabled||t.PointerEvent||"maxTouchPoints"in t.navigator&&t.navigator.maxTouchPoints>0),prefixedPointerEvents:!!t.navigator.msPointerEnabled,transition:function(){var e=a.style;return"transition"in e||"webkitTransition"in e||"MozTransition"in e}(),transforms3d:t.Modernizr&&!0===t.Modernizr.csstransforms3d||function(){var e=a.style;return"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e}(),flexbox:function(){for(var e=a.style,t="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),i=0;i=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}return{isIE:!!t.navigator.userAgent.match(/Trident/g)||!!t.navigator.userAgent.match(/MSIE/g),isEdge:!!t.navigator.userAgent.match(/Edge/g),isSafari:e(),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}}(),j=function(e){void 0===e&&(e={});var t=this;t.params=e,t.eventsListeners={},t.params&&t.params.on&&Object.keys(t.params.on).forEach(function(e){t.on(e,t.params.on[e])})},q={components:{configurable:!0}};function W(){var e,t,a=this,i=a.$el;e="undefined"!==typeof a.params.width?a.params.width:i[0].clientWidth,t="undefined"!==typeof a.params.height?a.params.height:i[0].clientHeight,0===e&&a.isHorizontal()||0===t&&a.isVertical()||(e=e-parseInt(i.css("padding-left"),10)-parseInt(i.css("padding-right"),10),t=t-parseInt(i.css("padding-top"),10)-parseInt(i.css("padding-bottom"),10),_.extend(a,{width:e,height:t,size:a.isHorizontal()?e:t}))}function U(){var e=this,a=e.params,i=e.$wrapperEl,s=e.size,r=e.rtlTranslate,n=e.wrongRTL,o=e.virtual&&a.virtual.enabled,l=o?e.virtual.slides.length:e.slides.length,d=i.children("."+e.params.slideClass),p=o?e.virtual.slides.length:d.length,u=[],c=[],h=[],f=a.slidesOffsetBefore;"function"===typeof f&&(f=a.slidesOffsetBefore.call(e));var v=a.slidesOffsetAfter;"function"===typeof v&&(v=a.slidesOffsetAfter.call(e));var m=e.snapGrid.length,g=e.snapGrid.length,w=a.spaceBetween,b=-f,y=0,x=0;if("undefined"!==typeof s){var T,E;"string"===typeof w&&w.indexOf("%")>=0&&(w=parseFloat(w.replace("%",""))/100*s),e.virtualSize=-w,r?d.css({marginLeft:"",marginTop:""}):d.css({marginRight:"",marginBottom:""}),a.slidesPerColumn>1&&(T=Math.floor(p/a.slidesPerColumn)===p/e.params.slidesPerColumn?p:Math.ceil(p/a.slidesPerColumn)*a.slidesPerColumn,"auto"!==a.slidesPerView&&"row"===a.slidesPerColumnFill&&(T=Math.max(T,a.slidesPerView*a.slidesPerColumn)));for(var S,C=a.slidesPerColumn,M=T/C,P=Math.floor(p/a.slidesPerColumn),k=0;k1){var $=void 0,D=void 0,I=void 0;if("column"===a.slidesPerColumnFill||"row"===a.slidesPerColumnFill&&a.slidesPerGroup>1){if("column"===a.slidesPerColumnFill)D=Math.floor(k/C),I=k-D*C,(D>P||D===P&&I===C-1)&&(I+=1,I>=C&&(I=0,D+=1));else{var L=Math.floor(k/a.slidesPerGroup);I=Math.floor(k/a.slidesPerView)-L*a.slidesPerColumn,D=k-I*a.slidesPerView-L*a.slidesPerView}$=D+I*T/C,z.css({"-webkit-box-ordinal-group":$,"-moz-box-ordinal-group":$,"-ms-flex-order":$,"-webkit-order":$,order:$})}else I=Math.floor(k/M),D=k-I*M;z.css("margin-"+(e.isHorizontal()?"top":"left"),0!==I&&a.spaceBetween&&a.spaceBetween+"px").attr("data-swiper-column",D).attr("data-swiper-row",I)}if("none"!==z.css("display")){if("auto"===a.slidesPerView){var O=t.getComputedStyle(z[0],null),A=z[0].style.transform,N=z[0].style.webkitTransform;if(A&&(z[0].style.transform="none"),N&&(z[0].style.webkitTransform="none"),a.roundLengths)E=e.isHorizontal()?z.outerWidth(!0):z.outerHeight(!0);else if(e.isHorizontal()){var H=parseFloat(O.getPropertyValue("width")),Y=parseFloat(O.getPropertyValue("padding-left")),G=parseFloat(O.getPropertyValue("padding-right")),B=parseFloat(O.getPropertyValue("margin-left")),X=parseFloat(O.getPropertyValue("margin-right")),V=O.getPropertyValue("box-sizing");E=V&&"border-box"===V&&!R.isIE?H+B+X:H+Y+G+B+X}else{var j=parseFloat(O.getPropertyValue("height")),q=parseFloat(O.getPropertyValue("padding-top")),W=parseFloat(O.getPropertyValue("padding-bottom")),U=parseFloat(O.getPropertyValue("margin-top")),K=parseFloat(O.getPropertyValue("margin-bottom")),Z=O.getPropertyValue("box-sizing");E=Z&&"border-box"===Z&&!R.isIE?j+U+K:j+q+W+U+K}A&&(z[0].style.transform=A),N&&(z[0].style.webkitTransform=N),a.roundLengths&&(E=Math.floor(E))}else E=(s-(a.slidesPerView-1)*w)/a.slidesPerView,a.roundLengths&&(E=Math.floor(E)),d[k]&&(e.isHorizontal()?d[k].style.width=E+"px":d[k].style.height=E+"px");d[k]&&(d[k].swiperSlideSize=E),h.push(E),a.centeredSlides?(b=b+E/2+y/2+w,0===y&&0!==k&&(b=b-s/2-w),0===k&&(b=b-s/2-w),Math.abs(b)<.001&&(b=0),a.roundLengths&&(b=Math.floor(b)),x%a.slidesPerGroup===0&&u.push(b),c.push(b)):(a.roundLengths&&(b=Math.floor(b)),x%a.slidesPerGroup===0&&u.push(b),c.push(b),b=b+E+w),e.virtualSize+=E+w,y=E,x+=1}}if(e.virtualSize=Math.max(e.virtualSize,s)+v,r&&n&&("slide"===a.effect||"coverflow"===a.effect)&&i.css({width:e.virtualSize+a.spaceBetween+"px"}),F.flexbox&&!a.setWrapperSize||(e.isHorizontal()?i.css({width:e.virtualSize+a.spaceBetween+"px"}):i.css({height:e.virtualSize+a.spaceBetween+"px"})),a.slidesPerColumn>1&&(e.virtualSize=(E+a.spaceBetween)*T,e.virtualSize=Math.ceil(e.virtualSize/a.slidesPerColumn)-a.spaceBetween,e.isHorizontal()?i.css({width:e.virtualSize+a.spaceBetween+"px"}):i.css({height:e.virtualSize+a.spaceBetween+"px"}),a.centeredSlides)){S=[];for(var J=0;J1&&u.push(e.virtualSize-s)}if(0===u.length&&(u=[0]),0!==a.spaceBetween&&(e.isHorizontal()?r?d.css({marginLeft:w+"px"}):d.css({marginRight:w+"px"}):d.css({marginBottom:w+"px"})),a.centerInsufficientSlides){var ae=0;if(h.forEach(function(e){ae+=e+(a.spaceBetween?a.spaceBetween:0)}),ae-=a.spaceBetween,ae1)for(t=0;ta.slides.length)break;i.push(a.slides.eq(r)[0])}else i.push(a.slides.eq(a.activeIndex)[0]);for(t=0;ts?n:s}s&&a.$wrapperEl.css("height",s+"px")}function Z(){for(var e=this,t=e.slides,a=0;a=0&&p1&&u<=t.size||p<=0&&u>=t.size;c&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(o),s.eq(o).addClass(a.slideVisibleClass))}l.progress=r?-d:d}t.visibleSlides=i(t.visibleSlides)}}function Q(e){void 0===e&&(e=this&&this.translate||0);var t=this,a=t.params,i=t.maxTranslate()-t.minTranslate(),s=t.progress,r=t.isBeginning,n=t.isEnd,o=r,l=n;0===i?(s=0,r=!0,n=!0):(s=(e-t.minTranslate())/i,r=s<=0,n=s>=1),_.extend(t,{progress:s,isBeginning:r,isEnd:n}),(a.watchSlidesProgress||a.watchSlidesVisibility)&&t.updateSlidesProgress(e),r&&!o&&t.emit("reachBeginning toEdge"),n&&!l&&t.emit("reachEnd toEdge"),(o&&!r||l&&!n)&&t.emit("fromEdge"),t.emit("progress",s)}function ee(){var e,t=this,a=t.slides,i=t.params,s=t.$wrapperEl,r=t.activeIndex,n=t.realIndex,o=t.virtual&&i.virtual.enabled;a.removeClass(i.slideActiveClass+" "+i.slideNextClass+" "+i.slidePrevClass+" "+i.slideDuplicateActiveClass+" "+i.slideDuplicateNextClass+" "+i.slideDuplicatePrevClass),e=o?t.$wrapperEl.find("."+i.slideClass+'[data-swiper-slide-index="'+r+'"]'):a.eq(r),e.addClass(i.slideActiveClass),i.loop&&(e.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+n+'"]').addClass(i.slideDuplicateActiveClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+n+'"]').addClass(i.slideDuplicateActiveClass));var l=e.nextAll("."+i.slideClass).eq(0).addClass(i.slideNextClass);i.loop&&0===l.length&&(l=a.eq(0),l.addClass(i.slideNextClass));var d=e.prevAll("."+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("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass),d.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass))}function te(e){var t,a=this,i=a.rtlTranslate?a.translate:-a.translate,s=a.slidesGrid,r=a.snapGrid,n=a.params,o=a.activeIndex,l=a.realIndex,d=a.snapIndex,p=e;if("undefined"===typeof p){for(var u=0;u=s[u]&&i=s[u]&&i=s[u]&&(p=u);n.normalizeSlideIndex&&(p<0||"undefined"===typeof p)&&(p=0)}if(t=r.indexOf(i)>=0?r.indexOf(i):Math.floor(p/n.slidesPerGroup),t>=r.length&&(t=r.length-1),p!==o){var c=parseInt(a.slides.eq(p).attr("data-swiper-slide-index")||p,10);_.extend(a,{snapIndex:t,realIndex:c,previousIndex:o,activeIndex:p}),a.emit("activeIndexChange"),a.emit("snapIndexChange"),l!==c&&a.emit("realIndexChange"),(a.initialized||a.runCallbacksOnInit)&&a.emit("slideChange")}else t!==d&&(a.snapIndex=t,a.emit("snapIndexChange"))}function ae(e){var t=this,a=t.params,s=i(e.target).closest("."+a.slideClass)[0],r=!1;if(s)for(var n=0;n0)t[a]=arguments[a+1];var i=this;i.prototype.modules||(i.prototype.modules={});var s=e.name||Object.keys(i.prototype.modules).length+"_"+_.now();return i.prototype.modules[s]=e,e.proto&&Object.keys(e.proto).forEach(function(t){i.prototype[t]=e.proto[t]}),e.static&&Object.keys(e.static).forEach(function(t){i[t]=e.static[t]}),e.install&&e.install.apply(i,t),i},j.use=function(e){var t=[],a=arguments.length-1;while(a-- >0)t[a]=arguments[a+1];var i=this;return Array.isArray(e)?(e.forEach(function(e){return i.installModule(e)}),i):i.installModule.apply(i,[e].concat(t))},Object.defineProperties(j,q);var ie={updateSize:W,updateSlides:U,updateAutoHeight:K,updateSlidesOffset:Z,updateSlidesProgress:J,updateProgress:Q,updateSlidesClasses:ee,updateActiveIndex:te,updateClickedSlide:ae};function se(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this,a=t.params,i=t.rtlTranslate,s=t.translate,r=t.$wrapperEl;if(a.virtualTranslate)return i?-s:s;var n=_.getTranslate(r[0],e);return i&&(n=-n),n||0}function re(e,t){var a,i=this,s=i.rtlTranslate,r=i.params,n=i.$wrapperEl,o=i.progress,l=0,d=0,p=0;i.isHorizontal()?l=s?-e:e:d=e,r.roundLengths&&(l=Math.floor(l),d=Math.floor(d)),r.virtualTranslate||(F.transforms3d?n.transform("translate3d("+l+"px, "+d+"px, "+p+"px)"):n.transform("translate("+l+"px, "+d+"px)")),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?l:d;var u=i.maxTranslate()-i.minTranslate();a=0===u?0:(e-i.minTranslate())/u,a!==o&&i.updateProgress(e),i.emit("setTranslate",i.translate,t)}function ne(){return-this.snapGrid[0]}function oe(){return-this.snapGrid[this.snapGrid.length-1]}var le={getTranslate:se,setTranslate:re,minTranslate:ne,maxTranslate:oe};function de(e,t){var a=this;a.$wrapperEl.transition(e),a.emit("setTransition",e,t)}function pe(e,t){void 0===e&&(e=!0);var a=this,i=a.activeIndex,s=a.params,r=a.previousIndex;s.autoHeight&&a.updateAutoHeight();var n=t;if(n||(n=i>r?"next":is?"next":i=o.length&&(c=o.length-1),(p||n.initialSlide||0)===(d||0)&&a&&s.emit("beforeSlideChangeStart");var h,f=-o[c];if(s.updateProgress(f),n.normalizeSlideIndex)for(var v=0;v=Math.floor(100*l[v])&&(r=v);if(s.initialized&&r!==p){if(!s.allowSlideNext&&fs.translate&&f>s.maxTranslate()&&(p||0)!==r)return!1}return h=r>p?"next":r(l-o)/2&&(s=i.params.slidesPerGroup)}return i.slideTo(s,e,t,a)}function be(){var e,t=this,a=t.params,s=t.$wrapperEl,r="auto"===a.slidesPerView?t.slidesPerViewDynamic():a.slidesPerView,n=t.clickedIndex;if(a.loop){if(t.animating)return;e=parseInt(i(t.clickedSlide).attr("data-swiper-slide-index"),10),a.centeredSlides?nt.slides.length-t.loopedSlides+r/2?(t.loopFix(),n=s.children("."+a.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+a.slideDuplicateClass+")").eq(0).index(),_.nextTick(function(){t.slideTo(n)})):t.slideTo(n):n>t.slides.length-r?(t.loopFix(),n=s.children("."+a.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+a.slideDuplicateClass+")").eq(0).index(),_.nextTick(function(){t.slideTo(n)})):t.slideTo(n)}else t.slideTo(n)}var ye={slideTo:he,slideToLoop:fe,slideNext:ve,slidePrev:me,slideReset:ge,slideToClosest:we,slideToClickedSlide:be};function xe(){var t=this,a=t.params,s=t.$wrapperEl;s.children("."+a.slideClass+"."+a.slideDuplicateClass).remove();var r=s.children("."+a.slideClass);if(a.loopFillGroupWithBlank){var n=a.slidesPerGroup-r.length%a.slidesPerGroup;if(n!==a.slidesPerGroup){for(var o=0;or.length&&(t.loopedSlides=r.length);var d=[],p=[];r.each(function(e,a){var s=i(a);e=r.length-t.loopedSlides&&d.push(a),s.attr("data-swiper-slide-index",e)});for(var u=0;u=0;c-=1)s.prepend(i(d[c].cloneNode(!0)).addClass(a.slideDuplicateClass))}function Te(){var e,t=this,a=t.params,i=t.activeIndex,s=t.slides,r=t.loopedSlides,n=t.allowSlidePrev,o=t.allowSlideNext,l=t.snapGrid,d=t.rtlTranslate;t.allowSlidePrev=!0,t.allowSlideNext=!0;var p=-l[i],u=p-t.getTranslate();if(i=2*r||i>=s.length-r){e=-s.length+i+r,e+=r;var h=t.slideTo(e,0,!1,!0);h&&0!==u&&t.setTranslate((d?-t.translate:t.translate)-u)}t.allowSlidePrev=n,t.allowSlideNext=o}function Ee(){var e=this,t=e.$wrapperEl,a=e.params,i=e.slides;t.children("."+a.slideClass+"."+a.slideDuplicateClass+",."+a.slideClass+"."+a.slideBlankClass).remove(),i.removeAttr("data-swiper-slide-index")}var Se={loopCreate:xe,loopFix:Te,loopDestroy:Ee};function Ce(e){var t=this;if(!(F.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked)){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 Me(){var e=this;F.touch||e.params.watchOverflow&&e.isLocked||(e.el.style.cursor="")}var Pe={setGrabCursor:Ce,unsetGrabCursor:Me};function ke(e){var t=this,a=t.$wrapperEl,i=t.params;if(i.loop&&t.loopDestroy(),"object"===typeof e&&"length"in e)for(var s=0;s=o)a.appendSlide(t);else{for(var l=n>e?n+1:n,d=[],p=o-1;p>=e;p-=1){var u=a.slides.eq(p);u.remove(),d.unshift(u)}if("object"===typeof t&&"length"in t){for(var c=0;ce?n+t.length:n}else i.append(t);for(var h=0;h=0),(n||l||o)&&(i.os="ios",i.ios=!0),l&&!o&&(i.osVersion=l[2].replace(/_/g,"."),i.iphone=!0),n&&(i.osVersion=n[2].replace(/_/g,"."),i.ipad=!0),o&&(i.osVersion=o[3]?o[3].replace(/_/g,"."):null,i.iphone=!0),i.ios&&i.osVersion&&a.indexOf("Version/")>=0&&"10"===i.osVersion.split(".")[0]&&(i.osVersion=a.toLowerCase().split("version/")[1].split(" ")[0]),i.desktop=!(i.os||i.android||i.webView),i.webView=(l||n||o)&&a.match(/.*AppleWebKit(?!.*Safari)/i),i.os&&"ios"===i.os){var d=i.osVersion.split("."),p=e.querySelector('meta[name="viewport"]');i.minimalUi=!i.webView&&(o||l)&&(1*d[0]===7?1*d[1]>=1:1*d[0]>7)&&p&&p.getAttribute("content").indexOf("minimal-ui")>=0}return i.pixelRatio=t.devicePixelRatio||1,i}();function Ae(a){var s=this,r=s.touchEventsData,n=s.params,o=s.touches;if(!s.animating||!n.preventInteractionOnTransition){var l=a;if(l.originalEvent&&(l=l.originalEvent),r.isTouchEvent="touchstart"===l.type,(r.isTouchEvent||!("which"in l)||3!==l.which)&&!(!r.isTouchEvent&&"button"in l&&l.button>0)&&(!r.isTouched||!r.isMoved))if(n.noSwiping&&i(l.target).closest(n.noSwipingSelector?n.noSwipingSelector:"."+n.noSwipingClass)[0])s.allowClick=!0;else if(!n.swipeHandler||i(l).closest(n.swipeHandler)[0]){o.currentX="touchstart"===l.type?l.targetTouches[0].pageX:l.pageX,o.currentY="touchstart"===l.type?l.targetTouches[0].pageY:l.pageY;var d=o.currentX,p=o.currentY,u=n.edgeSwipeDetection||n.iOSEdgeSwipeDetection,c=n.edgeSwipeThreshold||n.iOSEdgeSwipeThreshold;if(!u||!(d<=c||d>=t.screen.width-c)){if(_.extend(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=d,o.startY=p,r.touchStartTime=_.now(),s.allowClick=!0,s.updateSize(),s.swipeDirection=void 0,n.threshold>0&&(r.allowThresholdMove=!1),"touchstart"!==l.type){var h=!0;i(l.target).is(r.formElements)&&(h=!1),e.activeElement&&i(e.activeElement).is(r.formElements)&&e.activeElement!==l.target&&e.activeElement.blur();var f=h&&s.allowTouchMove&&n.touchStartPreventDefault;(n.touchStartForcePreventDefault||f)&&l.preventDefault()}s.emit("touchStart",l)}}}}function Ne(t){var a=this,s=a.touchEventsData,r=a.params,n=a.touches,o=a.rtlTranslate,l=t;if(l.originalEvent&&(l=l.originalEvent),s.isTouched){if(!s.isTouchEvent||"mousemove"!==l.type){var d="touchmove"===l.type?l.targetTouches[0].pageX:l.pageX,p="touchmove"===l.type?l.targetTouches[0].pageY:l.pageY;if(l.preventedByNestedSwiper)return n.startX=d,void(n.startY=p);if(!a.allowTouchMove)return a.allowClick=!1,void(s.isTouched&&(_.extend(n,{startX:d,startY:p,currentX:d,currentY:p}),s.touchStartTime=_.now()));if(s.isTouchEvent&&r.touchReleaseOnEdges&&!r.loop)if(a.isVertical()){if(pn.startY&&a.translate>=a.minTranslate())return s.isTouched=!1,void(s.isMoved=!1)}else if(dn.startX&&a.translate>=a.minTranslate())return;if(s.isTouchEvent&&e.activeElement&&l.target===e.activeElement&&i(l.target).is(s.formElements))return s.isMoved=!0,void(a.allowClick=!1);if(s.allowTouchCallbacks&&a.emit("touchMove",l),!(l.targetTouches&&l.targetTouches.length>1)){n.currentX=d,n.currentY=p;var u=n.currentX-n.startX,c=n.currentY-n.startY;if(!(a.params.threshold&&Math.sqrt(Math.pow(u,2)+Math.pow(c,2))=25&&(h=180*Math.atan2(Math.abs(c),Math.abs(u))/Math.PI,s.isScrolling=a.isHorizontal()?h>r.touchAngle:90-h>r.touchAngle);if(s.isScrolling&&a.emit("touchMoveOpposite",l),"undefined"===typeof s.startMoving&&(n.currentX===n.startX&&n.currentY===n.startY||(s.startMoving=!0)),s.isScrolling)s.isTouched=!1;else if(s.startMoving){a.allowClick=!1,l.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&l.stopPropagation(),s.isMoved||(r.loop&&a.loopFix(),s.startTranslate=a.getTranslate(),a.setTransition(0),a.animating&&a.$wrapperEl.trigger("webkitTransitionEnd transitionend"),s.allowMomentumBounce=!1,!r.grabCursor||!0!==a.allowSlideNext&&!0!==a.allowSlidePrev||a.setGrabCursor(!0),a.emit("sliderFirstMove",l)),a.emit("sliderMove",l),s.isMoved=!0;var f=a.isHorizontal()?u:c;n.diff=f,f*=r.touchRatio,o&&(f=-f),a.swipeDirection=f>0?"prev":"next",s.currentTranslate=f+s.startTranslate;var v=!0,m=r.resistanceRatio;if(r.touchReleaseOnEdges&&(m=0),f>0&&s.currentTranslate>a.minTranslate()?(v=!1,r.resistance&&(s.currentTranslate=a.minTranslate()-1+Math.pow(-a.minTranslate()+s.startTranslate+f,m))):f<0&&s.currentTranslates.startTranslate&&(s.currentTranslate=s.startTranslate),r.threshold>0){if(!(Math.abs(f)>r.threshold||s.allowThresholdMove))return void(s.currentTranslate=s.startTranslate);if(!s.allowThresholdMove)return s.allowThresholdMove=!0,n.startX=n.currentX,n.startY=n.currentY,s.currentTranslate=s.startTranslate,void(n.diff=a.isHorizontal()?n.currentX-n.startX:n.currentY-n.startY)}r.followFinger&&((r.freeMode||r.watchSlidesProgress||r.watchSlidesVisibility)&&(a.updateActiveIndex(),a.updateSlidesClasses()),r.freeMode&&(0===s.velocities.length&&s.velocities.push({position:n[a.isHorizontal()?"startX":"startY"],time:s.touchStartTime}),s.velocities.push({position:n[a.isHorizontal()?"currentX":"currentY"],time:_.now()})),a.updateProgress(s.currentTranslate),a.setTranslate(s.currentTranslate))}}}}}else s.startMoving&&s.isScrolling&&a.emit("touchMoveOpposite",l)}function He(e){var t=this,a=t.touchEventsData,i=t.params,s=t.touches,r=t.rtlTranslate,n=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 p,u=_.now(),c=u-a.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(d),t.emit("tap",d),c<300&&u-a.lastClickTime>300&&(a.clickTimeout&&clearTimeout(a.clickTimeout),a.clickTimeout=_.nextTick(function(){t&&!t.destroyed&&t.emit("click",d)},300)),c<300&&u-a.lastClickTime<300&&(a.clickTimeout&&clearTimeout(a.clickTimeout),t.emit("doubleTap",d))),a.lastClickTime=_.now(),_.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,p=i.followFinger?r?t.translate:-t.translate:-a.currentTranslate,i.freeMode){if(p<-t.minTranslate())return void t.slideTo(t.activeIndex);if(p>-t.maxTranslate())return void(t.slides.length1){var h=a.velocities.pop(),f=a.velocities.pop(),v=h.position-f.position,m=h.time-f.time;t.velocity=v/m,t.velocity/=2,Math.abs(t.velocity)150||_.now()-h.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=i.freeModeMomentumVelocityRatio,a.velocities.length=0;var g=1e3*i.freeModeMomentumRatio,w=t.velocity*g,b=t.translate+w;r&&(b=-b);var y,x,T=!1,E=20*Math.abs(t.velocity)*i.freeModeMomentumBounceRatio;if(bt.minTranslate())i.freeModeMomentumBounce?(b-t.minTranslate()>E&&(b=t.minTranslate()+E),y=t.minTranslate(),T=!0,a.allowMomentumBounce=!0):b=t.minTranslate(),i.loop&&i.centeredSlides&&(x=!0);else if(i.freeModeSticky){for(var S,C=0;C-b){S=C;break}b=Math.abs(l[S]-b)=i.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var M=0,P=t.slidesSizesGrid[0],k=0;k=o[k]&&p=o[k]&&(M=k,P=o[o.length-1]-o[o.length-2]);var z=(p-o[M])/P;if(c>i.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(z>=i.longSwipesRatio?t.slideTo(M+i.slidesPerGroup):t.slideTo(M)),"prev"===t.swipeDirection&&(z>1-i.longSwipesRatio?t.slideTo(M+i.slidesPerGroup):t.slideTo(M))}else{if(!i.shortSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&t.slideTo(M+i.slidesPerGroup),"prev"===t.swipeDirection&&t.slideTo(M)}}}function Ye(){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,r=e.snapGrid;if(e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),t.freeMode){var n=Math.min(Math.max(e.translate,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses(),t.autoHeight&&e.updateAutoHeight()}else e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!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&&r!==e.snapGrid&&e.checkOverflow()}}function Ge(e){var t=this;t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function Be(){var t=this,a=t.params,i=t.touchEvents,s=t.el,r=t.wrapperEl;t.onTouchStart=Ae.bind(t),t.onTouchMove=Ne.bind(t),t.onTouchEnd=He.bind(t),t.onClick=Ge.bind(t);var n="container"===a.touchEventsTarget?s:r,o=!!a.nested;if(F.touch||!F.pointerEvents&&!F.prefixedPointerEvents){if(F.touch){var l=!("touchstart"!==i.start||!F.passiveListener||!a.passiveListeners)&&{passive:!0,capture:!1};n.addEventListener(i.start,t.onTouchStart,l),n.addEventListener(i.move,t.onTouchMove,F.passiveListener?{passive:!1,capture:o}:o),n.addEventListener(i.end,t.onTouchEnd,l)}(a.simulateTouch&&!Oe.ios&&!Oe.android||a.simulateTouch&&!F.touch&&Oe.ios)&&(n.addEventListener("mousedown",t.onTouchStart,!1),e.addEventListener("mousemove",t.onTouchMove,o),e.addEventListener("mouseup",t.onTouchEnd,!1))}else n.addEventListener(i.start,t.onTouchStart,!1),e.addEventListener(i.move,t.onTouchMove,o),e.addEventListener(i.end,t.onTouchEnd,!1);(a.preventClicks||a.preventClicksPropagation)&&n.addEventListener("click",t.onClick,!0),t.on(Oe.ios||Oe.android?"resize orientationchange observerUpdate":"resize observerUpdate",Ye,!0)}function Xe(){var t=this,a=t.params,i=t.touchEvents,s=t.el,r=t.wrapperEl,n="container"===a.touchEventsTarget?s:r,o=!!a.nested;if(F.touch||!F.pointerEvents&&!F.prefixedPointerEvents){if(F.touch){var l=!("onTouchStart"!==i.start||!F.passiveListener||!a.passiveListeners)&&{passive:!0,capture:!1};n.removeEventListener(i.start,t.onTouchStart,l),n.removeEventListener(i.move,t.onTouchMove,o),n.removeEventListener(i.end,t.onTouchEnd,l)}(a.simulateTouch&&!Oe.ios&&!Oe.android||a.simulateTouch&&!F.touch&&Oe.ios)&&(n.removeEventListener("mousedown",t.onTouchStart,!1),e.removeEventListener("mousemove",t.onTouchMove,o),e.removeEventListener("mouseup",t.onTouchEnd,!1))}else n.removeEventListener(i.start,t.onTouchStart,!1),e.removeEventListener(i.move,t.onTouchMove,o),e.removeEventListener(i.end,t.onTouchEnd,!1);(a.preventClicks||a.preventClicksPropagation)&&n.removeEventListener("click",t.onClick,!0),t.off(Oe.ios||Oe.android?"resize orientationchange observerUpdate":"resize observerUpdate",Ye)}var Ve={attachEvents:Be,detachEvents:Xe};function _e(){var e=this,t=e.activeIndex,a=e.initialized,i=e.loopedSlides;void 0===i&&(i=0);var s=e.params,r=s.breakpoints;if(r&&(!r||0!==Object.keys(r).length)){var n=e.getBreakpoint(r);if(n&&e.currentBreakpoint!==n){var o=n in r?r[n]:void 0;o&&["slidesPerView","spaceBetween","slidesPerGroup"].forEach(function(e){var t=o[e];"undefined"!==typeof t&&(o[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")});var l=o||e.originalParams,d=l.direction&&l.direction!==s.direction,p=s.loop&&(l.slidesPerView!==s.slidesPerView||d);d&&a&&e.changeDirection(),_.extend(e.params,l),_.extend(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),e.currentBreakpoint=n,p&&a&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-i+e.loopedSlides,0,!1)),e.emit("breakpoint",l)}}}function Fe(e){var a=this;if(e){var i=!1,s=[];Object.keys(e).forEach(function(e){s.push(e)}),s.sort(function(e,t){return parseInt(e,10)-parseInt(t,10)});for(var r=0;r=t.innerWidth&&!i&&(i=n)}return i||"max"}}var Re={setBreakpoint:_e,getBreakpoint:Fe};function je(){var e=this,t=e.classNames,a=e.params,i=e.rtl,s=e.$el,r=[];r.push("initialized"),r.push(a.direction),a.freeMode&&r.push("free-mode"),F.flexbox||r.push("no-flexbox"),a.autoHeight&&r.push("autoheight"),i&&r.push("rtl"),a.slidesPerColumn>1&&r.push("multirow"),Oe.android&&r.push("android"),Oe.ios&&r.push("ios"),(R.isIE||R.isEdge)&&(F.pointerEvents||F.prefixedPointerEvents)&&r.push("wp8-"+a.direction),r.forEach(function(e){t.push(a.containerModifierClass+e)}),s.addClass(t.join(" "))}function qe(){var e=this,t=e.$el,a=e.classNames;t.removeClass(a.join(" "))}var We={addClasses:je,removeClasses:qe};function Ue(e,a,i,s,r,n){var o;function l(){n&&n()}e.complete&&r?l():a?(o=new t.Image,o.onload=l,o.onerror=l,s&&(o.sizes=s),i&&(o.srcset=i),a&&(o.src=a)):l()}function Ke(){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;a1){var u=[];return p.each(function(e,a){var i=_.extend({},r,{el:a});u.push(new t(i))}),u}s.swiper=l,p.data("swiper",l);var c=p.children("."+l.params.wrapperClass);return _.extend(l,{$el:p,el:s,$wrapperEl:c,wrapperEl:c[0],classNames:[],slides:i(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===l.params.direction},isVertical:function(){return"vertical"===l.params.direction},rtl:"rtl"===s.dir.toLowerCase()||"rtl"===p.css("direction"),rtlTranslate:"horizontal"===l.params.direction&&("rtl"===s.dir.toLowerCase()||"rtl"===p.css("direction")),wrongRTL:"-webkit-box"===c.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEvents:function(){var e=["touchstart","touchmove","touchend"],t=["mousedown","mousemove","mouseup"];return F.pointerEvents?t=["pointerdown","pointermove","pointerup"]:F.prefixedPointerEvents&&(t=["MSPointerDown","MSPointerMove","MSPointerUp"]),l.touchEventsTouch={start:e[0],move:e[1],end:e[2]},l.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},F.touch||!l.params.simulateTouch?l.touchEventsTouch:l.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video",lastClickTime:_.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.useModules(),l.params.init&&l.init(),l}}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var a={extendedDefaults:{configurable:!0},defaults:{configurable:!0},Class:{configurable:!0},$:{configurable:!0}};return t.prototype.slidesPerViewDynamic=function(){var e=this,t=e.params,a=e.slides,i=e.slidesGrid,s=e.size,r=e.activeIndex,n=1;if(t.centeredSlides){for(var o,l=a[r].swiperSlideSize,d=r+1;ds&&(o=!0));for(var p=r-1;p>=0;p-=1)a[p]&&!o&&(l+=a[p].swiperSlideSize,n+=1,l>s&&(o=!0))}else for(var u=r+1;u1)&&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()}},t.prototype.changeDirection=function(e,t){void 0===t&&(t=!0);var a=this,i=a.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e?a:(a.$el.removeClass(""+a.params.containerModifierClass+i+" wp8-"+i).addClass(""+a.params.containerModifierClass+e),(R.isIE||R.isEdge)&&(F.pointerEvents||F.prefixedPointerEvents)&&a.$el.addClass(a.params.containerModifierClass+"wp8-"+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)},t.prototype.init=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"))},t.prototype.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var a=this,i=a.params,s=a.$el,r=a.$wrapperEl,n=a.slides;return"undefined"===typeof a.params||a.destroyed?null:(a.emit("beforeDestroy"),a.initialized=!1,a.detachEvents(),i.loop&&a.loopDestroy(),t&&(a.removeClasses(),s.removeAttr("style"),r.removeAttr("style"),n&&n.length&&n.removeClass([i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index").removeAttr("data-swiper-column").removeAttr("data-swiper-row")),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),_.deleteProps(a)),a.destroyed=!0,null)},t.extendDefaults=function(e){_.extend(at,e)},a.extendedDefaults.get=function(){return at},a.defaults.get=function(){return et},a.Class.get=function(){return e},a.$.get=function(){return i},Object.defineProperties(t,a),t}(j),st={name:"device",proto:{device:Oe},static:{device:Oe}},rt={name:"support",proto:{support:F},static:{support:F}},nt={name:"browser",proto:{browser:R},static:{browser:R}},ot={name:"resize",create:function(){var e=this;_.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;t.addEventListener("resize",e.resize.resizeHandler),t.addEventListener("orientationchange",e.resize.orientationChangeHandler)},destroy:function(){var e=this;t.removeEventListener("resize",e.resize.resizeHandler),t.removeEventListener("orientationchange",e.resize.orientationChangeHandler)}}},lt={func:t.MutationObserver||t.WebkitMutationObserver,attach:function(e,a){void 0===a&&(a={});var i=this,s=lt.func,r=new s(function(e){if(1!==e.length){var a=function(){i.emit("observerUpdate",e[0])};t.requestAnimationFrame?t.requestAnimationFrame(a):t.setTimeout(a,0)}else i.emit("observerUpdate",e[0])});r.observe(e,{attributes:"undefined"===typeof a.attributes||a.attributes,childList:"undefined"===typeof a.childList||a.childList,characterData:"undefined"===typeof a.characterData||a.characterData}),i.observer.observers.push(r)},init:function(){var e=this;if(F.observer&&e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),a=0;ax)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+M+'"]').remove();for(var P=0;P=y&&P<=x&&("undefined"===typeof u||e?C.push(P):(P>u&&C.push(P),P'+e+"");return r.attr("data-swiper-slide-index")||r.attr("data-swiper-slide-index",t),s.cache&&(a.virtual.cache[t]=r),r},appendSlide:function(e){var t=this;if("object"===typeof 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===i.$el.parents("."+i.params.slideActiveClass).length)return;var l=t.innerWidth,d=t.innerHeight,p=i.$el.offset();s&&(p.left-=i.$el[0].scrollLeft);for(var u=[[p.left,p.top],[p.left+i.width,p.top],[p.left,p.top+i.height],[p.left+i.width,p.top+i.height]],c=0;c=0&&h[0]<=l&&h[1]>=0&&h[1]<=d&&(o=!0)}if(!o)return}i.isHorizontal()?(33!==n&&34!==n&&37!==n&&39!==n||(r.preventDefault?r.preventDefault():r.returnValue=!1),(34!==n&&39!==n||s)&&(33!==n&&37!==n||!s)||i.slideNext(),(33!==n&&37!==n||s)&&(34!==n&&39!==n||!s)||i.slidePrev()):(33!==n&&34!==n&&38!==n&&40!==n||(r.preventDefault?r.preventDefault():r.returnValue=!1),34!==n&&40!==n||i.slideNext(),33!==n&&38!==n||i.slidePrev()),i.emit("keyPress",n)}},enable:function(){var t=this;t.keyboard.enabled||(i(e).on("keydown",t.keyboard.handle),t.keyboard.enabled=!0)},disable:function(){var t=this;t.keyboard.enabled&&(i(e).off("keydown",t.keyboard.handle),t.keyboard.enabled=!1)}},ht={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){var e=this;_.extend(e,{keyboard:{enabled:!1,enable:ct.enable.bind(e),disable:ct.disable.bind(e),handle:ct.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 ft(){var t="onwheel",a=t in e;if(!a){var i=e.createElement("div");i.setAttribute(t,"return;"),a="function"===typeof i[t]}return!a&&e.implementation&&e.implementation.hasFeature&&!0!==e.implementation.hasFeature("","")&&(a=e.implementation.hasFeature("Events.wheel","3.0")),a}var vt={lastScrollTime:_.now(),event:function(){return t.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":ft()?"wheel":"mousewheel"}(),normalize:function(e){var t=10,a=40,i=800,s=0,r=0,n=0,o=0;return"detail"in e&&(r=e.detail),"wheelDelta"in e&&(r=-e.wheelDelta/120),"wheelDeltaY"in e&&(r=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(s=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(s=r,r=0),n=s*t,o=r*t,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(n=e.deltaX),(n||o)&&e.deltaMode&&(1===e.deltaMode?(n*=a,o*=a):(n*=i,o*=i)),n&&!s&&(s=n<1?-1:1),o&&!r&&(r=o<1?-1:1),{spinX:s,spinY:r,pixelX:n,pixelY:o}},handleMouseEnter:function(){var e=this;e.mouseEntered=!0},handleMouseLeave:function(){var e=this;e.mouseEntered=!1},handle:function(e){var a=e,i=this,s=i.params.mousewheel;if(!i.mouseEntered&&!s.releaseOnEdges)return!0;a.originalEvent&&(a=a.originalEvent);var r=0,n=i.rtlTranslate?-1:1,o=vt.normalize(a);if(s.forceToAxis)if(i.isHorizontal()){if(!(Math.abs(o.pixelX)>Math.abs(o.pixelY)))return!0;r=o.pixelX*n}else{if(!(Math.abs(o.pixelY)>Math.abs(o.pixelX)))return!0;r=o.pixelY}else r=Math.abs(o.pixelX)>Math.abs(o.pixelY)?-o.pixelX*n:-o.pixelY;if(0===r)return!0;if(s.invert&&(r=-r),i.params.freeMode){i.params.loop&&i.loopFix();var l=i.getTranslate()+r*s.sensitivity,d=i.isBeginning,p=i.isEnd;if(l>=i.minTranslate()&&(l=i.minTranslate()),l<=i.maxTranslate()&&(l=i.maxTranslate()),i.setTransition(0),i.setTranslate(l),i.updateProgress(),i.updateActiveIndex(),i.updateSlidesClasses(),(!d&&i.isBeginning||!p&&i.isEnd)&&i.updateSlidesClasses(),i.params.freeModeSticky&&(clearTimeout(i.mousewheel.timeout),i.mousewheel.timeout=_.nextTick(function(){i.slideToClosest()},300)),i.emit("scroll",a),i.params.autoplay&&i.params.autoplayDisableOnInteraction&&i.autoplay.stop(),l===i.minTranslate()||l===i.maxTranslate())return!0}else{if(_.now()-i.mousewheel.lastScrollTime>60)if(r<0)if(i.isEnd&&!i.params.loop||i.animating){if(s.releaseOnEdges)return!0}else i.slideNext(),i.emit("scroll",a);else if(i.isBeginning&&!i.params.loop||i.animating){if(s.releaseOnEdges)return!0}else i.slidePrev(),i.emit("scroll",a);i.mousewheel.lastScrollTime=(new t.Date).getTime()}return a.preventDefault?a.preventDefault():a.returnValue=!1,!1},enable:function(){var e=this;if(!vt.event)return!1;if(e.mousewheel.enabled)return!1;var t=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(t=i(e.params.mousewheel.eventsTarged)),t.on("mouseenter",e.mousewheel.handleMouseEnter),t.on("mouseleave",e.mousewheel.handleMouseLeave),t.on(vt.event,e.mousewheel.handle),e.mousewheel.enabled=!0,!0},disable:function(){var e=this;if(!vt.event)return!1;if(!e.mousewheel.enabled)return!1;var t=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(t=i(e.params.mousewheel.eventsTarged)),t.off(vt.event,e.mousewheel.handle),e.mousewheel.enabled=!1,!0}},mt={name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){var e=this;_.extend(e,{mousewheel:{enabled:!1,enable:vt.enable.bind(e),disable:vt.disable.bind(e),handle:vt.handle.bind(e),handleMouseEnter:vt.handleMouseEnter.bind(e),handleMouseLeave:vt.handleMouseLeave.bind(e),lastScrollTime:_.now()}})},on:{init:function(){var e=this;e.params.mousewheel.enabled&&e.mousewheel.enable()},destroy:function(){var e=this;e.mousewheel.enabled&&e.mousewheel.disable()}}},gt={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,s=a.params.navigation;(s.nextEl||s.prevEl)&&(s.nextEl&&(e=i(s.nextEl),a.params.uniqueNavElements&&"string"===typeof s.nextEl&&e.length>1&&1===a.$el.find(s.nextEl).length&&(e=a.$el.find(s.nextEl))),s.prevEl&&(t=i(s.prevEl),a.params.uniqueNavElements&&"string"===typeof s.prevEl&&t.length>1&&1===a.$el.find(s.prevEl).length&&(t=a.$el.find(s.prevEl))),e&&e.length>0&&e.on("click",a.navigation.onNextClick),t&&t.length>0&&t.on("click",a.navigation.onPrevClick),_.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))}},wt={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;_.extend(e,{navigation:{init:gt.init.bind(e),update:gt.update.bind(e),destroy:gt.destroy.bind(e),onNextClick:gt.onNextClick.bind(e),onPrevClick:gt.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,s=a.navigation,r=s.$nextEl,n=s.$prevEl;!a.params.navigation.hideOnClick||i(e.target).is(n)||i(e.target).is(r)||(r?t=r.hasClass(a.params.navigation.hiddenClass):n&&(t=n.hasClass(a.params.navigation.hiddenClass)),!0===t?a.emit("navigationShow",a):a.emit("navigationHide",a),r&&r.toggleClass(a.params.navigation.hiddenClass),n&&n.toggleClass(a.params.navigation.hiddenClass))}}},bt={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 s,r=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,n=e.pagination.$el,o=e.params.loop?Math.ceil((r-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(s=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),s>r-1-2*e.loopedSlides&&(s-=r-2*e.loopedSlides),s>o-1&&(s-=o),s<0&&"bullets"!==e.params.paginationType&&(s=o+s)):s="undefined"!==typeof e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===a.type&&e.pagination.bullets&&e.pagination.bullets.length>0){var l,d,p,u=e.pagination.bullets;if(a.dynamicBullets&&(e.pagination.bulletSize=u.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),n.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(a.dynamicMainBullets+4)+"px"),a.dynamicMainBullets>1&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=s-e.previousIndex,e.pagination.dynamicBulletIndex>a.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=a.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),l=s-e.pagination.dynamicBulletIndex,d=l+(Math.min(u.length,a.dynamicMainBullets)-1),p=(d+l)/2),u.removeClass(a.bulletActiveClass+" "+a.bulletActiveClass+"-next "+a.bulletActiveClass+"-next-next "+a.bulletActiveClass+"-prev "+a.bulletActiveClass+"-prev-prev "+a.bulletActiveClass+"-main"),n.length>1)u.each(function(e,t){var r=i(t),n=r.index();n===s&&r.addClass(a.bulletActiveClass),a.dynamicBullets&&(n>=l&&n<=d&&r.addClass(a.bulletActiveClass+"-main"),n===l&&r.prev().addClass(a.bulletActiveClass+"-prev").prev().addClass(a.bulletActiveClass+"-prev-prev"),n===d&&r.next().addClass(a.bulletActiveClass+"-next").next().addClass(a.bulletActiveClass+"-next-next"))});else{var c=u.eq(s);if(c.addClass(a.bulletActiveClass),a.dynamicBullets){for(var h=u.eq(l),f=u.eq(d),v=l;v<=d;v+=1)u.eq(v).addClass(a.bulletActiveClass+"-main");h.prev().addClass(a.bulletActiveClass+"-prev").prev().addClass(a.bulletActiveClass+"-prev-prev"),f.next().addClass(a.bulletActiveClass+"-next").next().addClass(a.bulletActiveClass+"-next-next")}}if(a.dynamicBullets){var m=Math.min(u.length,a.dynamicMainBullets+4),g=(e.pagination.bulletSize*m-e.pagination.bulletSize)/2-p*e.pagination.bulletSize,w=t?"right":"left";u.css(e.isHorizontal()?w:"top",g+"px")}}if("fraction"===a.type&&(n.find("."+a.currentClass).text(a.formatFractionCurrent(s+1)),n.find("."+a.totalClass).text(a.formatFractionTotal(o))),"progressbar"===a.type){var b;b=a.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";var y=(s+1)/o,x=1,T=1;"horizontal"===b?x=y:T=y,n.find("."+a.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+x+") scaleY("+T+")").transition(e.params.speed)}"custom"===a.type&&a.renderCustom?(n.html(a.renderCustom(e,s+1,o)),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 r=e.params.loop?Math.ceil((a-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length,n=0;n";i.html(s),e.pagination.bullets=i.find("."+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=i(t.el);0!==a.length&&(e.params.uniqueNavElements&&"string"===typeof t.el&&a.length>1&&1===e.$el.find(t.el).length&&(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(""+t.modifierClass+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","."+t.bulletClass,function(t){t.preventDefault();var a=i(this).index()*e.params.slidesPerGroup;e.params.loop&&(a+=e.loopedSlides),e.slideTo(a)}),_.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","."+t.bulletClass)}}},yt={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;_.extend(e,{pagination:{init:bt.init.bind(e),render:bt.render.bind(e),update:bt.update.bind(e),destroy:bt.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?e.pagination.update():"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&&!i(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)}}}},xt={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,r=t.trackSize,n=t.$dragEl,o=t.$el,l=e.params.scrollbar,d=s,p=(r-s)*i;a?(p=-p,p>0?(d=s-p,p=0):-p+s>r&&(d=r+p)):p<0?(d=s+p,p=0):p+s>r&&(d=r-p),e.isHorizontal()?(F.transforms3d?n.transform("translate3d("+p+"px, 0, 0)"):n.transform("translateX("+p+"px)"),n[0].style.width=d+"px"):(F.transforms3d?n.transform("translate3d(0px, "+p+"px, 0)"):n.transform("translateY("+p+"px)"),n[0].style.height=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,r=e.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,n=e.size/e.virtualSize,o=n*(r/e.size);s="auto"===e.params.scrollbar.dragSize?r*n:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?a[0].style.width=s+"px":a[0].style.height=s+"px",i[0].style.display=n>=1?"none":"",e.params.scrollbar.hide&&(i[0].style.opacity=0),_.extend(t,{trackSize:r,divider:n,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].pageX:e.pageX||e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageY:e.pageY||e.clientY},setDragPosition:function(e){var t,a=this,i=a.scrollbar,s=a.rtlTranslate,r=i.$el,n=i.dragSize,o=i.trackSize,l=i.dragStartPos;t=(i.getPointerPosition(e)-r.offset()[a.isHorizontal()?"left":"top"]-(null!==l?l:n/2))/(o-n),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,r=i.$el,n=i.$dragEl;t.scrollbar.isTouched=!0,t.scrollbar.dragStartPos=e.target===n[0]||e.target===n?i.getPointerPosition(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),s.transition(100),n.transition(100),i.setDragPosition(e),clearTimeout(t.scrollbar.dragTimeout),r.transition(0),a.hide&&r.css("opacity",1),t.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this,a=t.scrollbar,i=t.$wrapperEl,s=a.$el,r=a.$dragEl;t.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,a.setDragPosition(e),i.transition(0),s.transition(0),r.transition(0),t.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this,a=t.params.scrollbar,i=t.scrollbar,s=i.$el;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,a.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=_.nextTick(function(){s.css("opacity",0),s.transition(400)},1e3)),t.emit("scrollbarDragEnd",e),a.snapOnRelease&&t.slideToClosest())},enableDraggable:function(){var t=this;if(t.params.scrollbar.el){var a=t.scrollbar,i=t.touchEventsTouch,s=t.touchEventsDesktop,r=t.params,n=a.$el,o=n[0],l=!(!F.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},d=!(!F.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};F.touch?(o.addEventListener(i.start,t.scrollbar.onDragStart,l),o.addEventListener(i.move,t.scrollbar.onDragMove,l),o.addEventListener(i.end,t.scrollbar.onDragEnd,d)):(o.addEventListener(s.start,t.scrollbar.onDragStart,l),e.addEventListener(s.move,t.scrollbar.onDragMove,l),e.addEventListener(s.end,t.scrollbar.onDragEnd,d))}},disableDraggable:function(){var t=this;if(t.params.scrollbar.el){var a=t.scrollbar,i=t.touchEventsTouch,s=t.touchEventsDesktop,r=t.params,n=a.$el,o=n[0],l=!(!F.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},d=!(!F.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};F.touch?(o.removeEventListener(i.start,t.scrollbar.onDragStart,l),o.removeEventListener(i.move,t.scrollbar.onDragMove,l),o.removeEventListener(i.end,t.scrollbar.onDragEnd,d)):(o.removeEventListener(s.start,t.scrollbar.onDragStart,l),e.removeEventListener(s.move,t.scrollbar.onDragMove,l),e.removeEventListener(s.end,t.scrollbar.onDragEnd,d))}},init:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,a=e.$el,s=e.params.scrollbar,r=i(s.el);e.params.uniqueNavElements&&"string"===typeof s.el&&r.length>1&&1===a.find(s.el).length&&(r=a.find(s.el));var n=r.find("."+e.params.scrollbar.dragClass);0===n.length&&(n=i('
'),r.append(n)),_.extend(t,{$el:r,el:r[0],$dragEl:n,dragEl:n[0]}),s.draggable&&t.enableDraggable()}},destroy:function(){var e=this;e.scrollbar.disableDraggable()}},Tt={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;_.extend(e,{scrollbar:{init:xt.init.bind(e),destroy:xt.destroy.bind(e),updateSize:xt.updateSize.bind(e),setTranslate:xt.setTranslate.bind(e),setTransition:xt.setTransition.bind(e),enableDraggable:xt.enableDraggable.bind(e),disableDraggable:xt.disableDraggable.bind(e),setDragPosition:xt.setDragPosition.bind(e),getPointerPosition:xt.getPointerPosition.bind(e),onDragStart:xt.onDragStart.bind(e),onDragMove:xt.onDragMove.bind(e),onDragEnd:xt.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()}}},Et={setTransform:function(e,t){var a=this,s=a.rtl,r=i(e),n=s?-1:1,o=r.attr("data-swiper-parallax")||"0",l=r.attr("data-swiper-parallax-x"),d=r.attr("data-swiper-parallax-y"),p=r.attr("data-swiper-parallax-scale"),u=r.attr("data-swiper-parallax-opacity");if(l||d?(l=l||"0",d=d||"0"):a.isHorizontal()?(l=o,d="0"):(d=o,l="0"),l=l.indexOf("%")>=0?parseInt(l,10)*t*n+"%":l*t*n+"px",d=d.indexOf("%")>=0?parseInt(d,10)*t+"%":d*t+"px","undefined"!==typeof u&&null!==u){var c=u-(u-1)*(1-Math.abs(t));r[0].style.opacity=c}if("undefined"===typeof p||null===p)r.transform("translate3d("+l+", "+d+", 0px)");else{var h=p-(p-1)*(1-Math.abs(t));r.transform("translate3d("+l+", "+d+", 0px) scale("+h+")")}},setTranslate:function(){var e=this,t=e.$el,a=e.slides,s=e.progress,r=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,s)}),a.each(function(t,a){var n=a.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(n+=Math.ceil(t/2)-s*(r.length-1)),n=Math.min(Math.max(n,-1),1),i(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(e){void 0===e&&(e=this.params.speed);var 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 s=i(a),r=parseInt(s.attr("data-swiper-parallax-duration"),10)||e;0===e&&(r=0),s.transition(r)})}},St={name:"parallax",params:{parallax:{enabled:!1}},create:function(){var e=this;_.extend(e,{parallax:{setTransform:Et.setTransform.bind(e),setTranslate:Et.setTranslate.bind(e),setTransition:Et.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)}}},Ct={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,r=Math.sqrt(Math.pow(i-t,2)+Math.pow(s-a,2));return r},onGestureStart:function(e){var t=this,a=t.params.zoom,s=t.zoom,r=s.gesture;if(s.fakeGestureTouched=!1,s.fakeGestureMoved=!1,!F.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;s.fakeGestureTouched=!0,r.scaleStart=Ct.getDistanceBetweenTouches(e)}r.$slideEl&&r.$slideEl.length||(r.$slideEl=i(e.target).closest(".swiper-slide"),0===r.$slideEl.length&&(r.$slideEl=t.slides.eq(t.activeIndex)),r.$imageEl=r.$slideEl.find("img, svg, canvas"),r.$imageWrapEl=r.$imageEl.parent("."+a.containerClass),r.maxRatio=r.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,0!==r.$imageWrapEl.length)?(r.$imageEl.transition(0),t.zoom.isScaling=!0):r.$imageEl=void 0},onGestureChange:function(e){var t=this,a=t.params.zoom,i=t.zoom,s=i.gesture;if(!F.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;i.fakeGestureMoved=!0,s.scaleMove=Ct.getDistanceBetweenTouches(e)}s.$imageEl&&0!==s.$imageEl.length&&(F.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.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)),r.prevPositionX||(r.prevPositionX=s.touchesCurrent.x),r.prevPositionY||(r.prevPositionY=s.touchesCurrent.y),r.prevTime||(r.prevTime=Date.now()),r.x=(s.touchesCurrent.x-r.prevPositionX)/(Date.now()-r.prevTime)/2,r.y=(s.touchesCurrent.y-r.prevPositionY)/(Date.now()-r.prevTime)/2,Math.abs(s.touchesCurrent.x-r.prevPositionX)<2&&(r.x=0),Math.abs(s.touchesCurrent.y-r.prevPositionY)<2&&(r.y=0),r.prevPositionX=s.touchesCurrent.x,r.prevPositionY=s.touchesCurrent.y,r.prevTime=Date.now(),i.$imageWrapEl.transform("translate3d("+s.currentX+"px, "+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 r=300,n=300,o=s.x*r,l=i.currentX+o,d=s.y*n,p=i.currentY+d;0!==s.x&&(r=Math.abs((l-i.currentX)/s.x)),0!==s.y&&(n=Math.abs((p-i.currentY)/s.y));var u=Math.max(r,n);i.currentX=l,i.currentY=p;var c=i.width*t.scale,h=i.height*t.scale;i.minX=Math.min(a.slideWidth/2-c/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(u).transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}},onTransitionEnd:function(){var e=this,t=e.zoom,a=t.gesture;a.$slideEl&&e.previousIndex!==e.activeIndex&&(a.$imageEl.transform("translate3d(0,0,0) scale(1)"),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,s,r,n,o,l,d,p,u,c,h,f,v,m,g,w,b,y=this,x=y.zoom,T=y.params.zoom,E=x.gesture,S=x.image;(E.$slideEl||(E.$slideEl=y.clickedSlide?i(y.clickedSlide):y.slides.eq(y.activeIndex),E.$imageEl=E.$slideEl.find("img, svg, canvas"),E.$imageWrapEl=E.$imageEl.parent("."+T.containerClass)),E.$imageEl&&0!==E.$imageEl.length)&&(E.$slideEl.addClass(""+T.zoomedSlideClass),"undefined"===typeof S.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,a="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=S.touchesStart.x,a=S.touchesStart.y),x.scale=E.$imageWrapEl.attr("data-swiper-zoom")||T.maxRatio,x.currentScale=E.$imageWrapEl.attr("data-swiper-zoom")||T.maxRatio,e?(w=E.$slideEl[0].offsetWidth,b=E.$slideEl[0].offsetHeight,s=E.$slideEl.offset().left,r=E.$slideEl.offset().top,n=s+w/2-t,o=r+b/2-a,p=E.$imageEl[0].offsetWidth,u=E.$imageEl[0].offsetHeight,c=p*x.scale,h=u*x.scale,f=Math.min(w/2-c/2,0),v=Math.min(b/2-h/2,0),m=-f,g=-v,l=n*x.scale,d=o*x.scale,lm&&(l=m),dg&&(d=g)):(l=0,d=0),E.$imageWrapEl.transition(300).transform("translate3d("+l+"px, "+d+"px,0)"),E.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+x.scale+")"))},out:function(){var e=this,t=e.zoom,a=e.params.zoom,s=t.gesture;s.$slideEl||(s.$slideEl=e.clickedSlide?i(e.clickedSlide):e.slides.eq(e.activeIndex),s.$imageEl=s.$slideEl.find("img, svg, canvas"),s.$imageWrapEl=s.$imageEl.parent("."+a.containerClass)),s.$imageEl&&0!==s.$imageEl.length&&(t.scale=1,t.currentScale=1,s.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),s.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),s.$slideEl.removeClass(""+a.zoomedSlideClass),s.$slideEl=void 0)},enable:function(){var e=this,t=e.zoom;if(!t.enabled){t.enabled=!0;var a=!("touchstart"!==e.touchEvents.start||!F.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};F.gestures?(e.$wrapperEl.on("gesturestart",".swiper-slide",t.onGestureStart,a),e.$wrapperEl.on("gesturechange",".swiper-slide",t.onGestureChange,a),e.$wrapperEl.on("gestureend",".swiper-slide",t.onGestureEnd,a)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,".swiper-slide",t.onGestureStart,a),e.$wrapperEl.on(e.touchEvents.move,".swiper-slide",t.onGestureChange,a),e.$wrapperEl.on(e.touchEvents.end,".swiper-slide",t.onGestureEnd,a)),e.$wrapperEl.on(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove)}},disable:function(){var e=this,t=e.zoom;if(t.enabled){e.zoom.enabled=!1;var a=!("touchstart"!==e.touchEvents.start||!F.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};F.gestures?(e.$wrapperEl.off("gesturestart",".swiper-slide",t.onGestureStart,a),e.$wrapperEl.off("gesturechange",".swiper-slide",t.onGestureChange,a),e.$wrapperEl.off("gestureend",".swiper-slide",t.onGestureEnd,a)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,".swiper-slide",t.onGestureStart,a),e.$wrapperEl.off(e.touchEvents.move,".swiper-slide",t.onGestureChange,a),e.$wrapperEl.off(e.touchEvents.end,".swiper-slide",t.onGestureEnd,a)),e.$wrapperEl.off(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove)}}},Mt={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]=Ct[a].bind(e)}),_.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()}}},Pt={loadInSlide:function(e,t){void 0===t&&(t=!0);var a=this,s=a.params.lazy;if("undefined"!==typeof e&&0!==a.slides.length){var r=a.virtual&&a.params.virtual.enabled,n=r?a.$wrapperEl.children("."+a.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):a.slides.eq(e),o=n.find("."+s.elementClass+":not(."+s.loadedClass+"):not(."+s.loadingClass+")");!n.hasClass(s.elementClass)||n.hasClass(s.loadedClass)||n.hasClass(s.loadingClass)||(o=o.add(n[0])),0!==o.length&&o.each(function(e,r){var o=i(r);o.addClass(s.loadingClass);var l=o.attr("data-background"),d=o.attr("data-src"),p=o.attr("data-srcset"),u=o.attr("data-sizes");a.loadImage(o[0],d||l,p,u,!1,function(){if("undefined"!==typeof a&&null!==a&&a&&(!a||a.params)&&!a.destroyed){if(l?(o.css("background-image",'url("'+l+'")'),o.removeAttr("data-background")):(p&&(o.attr("srcset",p),o.removeAttr("data-srcset")),u&&(o.attr("sizes",u),o.removeAttr("data-sizes")),d&&(o.attr("src",d),o.removeAttr("data-src"))),o.addClass(s.loadedClass).removeClass(s.loadingClass),n.find("."+s.preloaderClass).remove(),a.params.loop&&t){var e=n.attr("data-swiper-slide-index");if(n.hasClass(a.params.slideDuplicateClass)){var i=a.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+a.params.slideDuplicateClass+")");a.lazy.loadInSlide(i.index(),!1)}else{var r=a.$wrapperEl.children("."+a.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');a.lazy.loadInSlide(r.index(),!1)}}a.emit("lazyImageReady",n[0],o[0])}}),a.emit("lazyImageLoad",n[0],o[0])})}},load:function(){var e=this,t=e.$wrapperEl,a=e.params,s=e.slides,r=e.activeIndex,n=e.virtual&&a.virtual.enabled,o=a.lazy,l=a.slidesPerView;function d(e){if(n){if(t.children("."+a.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return!0}else if(s[e])return!0;return!1}function p(e){return n?i(e).attr("data-swiper-slide-index"):i(e).index()}if("auto"===l&&(l=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+a.slideVisibleClass).each(function(t,a){var s=n?i(a).attr("data-swiper-slide-index"):i(a).index();e.lazy.loadInSlide(s)});else if(l>1)for(var u=r;u1||o.loadPrevNextAmount&&o.loadPrevNextAmount>1){for(var c=o.loadPrevNextAmount,h=l,f=Math.min(r+h+Math.max(c,h),s.length),v=Math.max(r-Math.max(h,c),0),m=r+l;m0&&e.lazy.loadInSlide(p(w));var b=t.children("."+a.slidePrevClass);b.length>0&&e.lazy.loadInSlide(p(b))}}},kt={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;_.extend(e,{lazy:{initialImageLoaded:!1,load:Pt.load.bind(e),loadInSlide:Pt.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()}}},zt={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 zt.LinearSpline(t.slidesGrid,e.slidesGrid):new zt.LinearSpline(t.snapGrid,e.snapGrid))},setTranslate:function(e,t){var a,i,s=this,r=s.controller.control;function n(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(r))for(var o=0;o0&&(e.isBeginning?e.a11y.disableEl(i):e.a11y.enableEl(i)),a&&a.length>0&&(e.isEnd?e.a11y.disableEl(a):e.a11y.enableEl(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,s){var r=i(s);e.a11y.makeElFocusable(r),e.a11y.addElRole(r,"button"),e.a11y.addElLabel(r,t.paginationBulletMessage.replace(/{{index}}/,r.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","."+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","."+a.params.pagination.bulletClass,a.a11y.onEnterKey)}},It={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;_.extend(e,{a11y:{liveRegion:i('')}}),Object.keys(Dt).forEach(function(t){e.a11y[t]=Dt[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()}}},Lt={init:function(){var e=this;if(e.params.history){if(!t.history||!t.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);var a=e.history;a.initialized=!0,a.paths=Lt.getPathValues(),(a.paths.key||a.paths.value)&&(a.scrollToSlide(0,a.paths.value,e.params.runCallbacksOnInit),e.params.history.replaceState||t.addEventListener("popstate",e.history.setHistoryPopState))}},destroy:function(){var e=this;e.params.history.replaceState||t.removeEventListener("popstate",e.history.setHistoryPopState)},setHistoryPopState:function(){var e=this;e.history.paths=Lt.getPathValues(),e.history.scrollToSlide(e.params.speed,e.history.paths.value,!1)},getPathValues:function(){var e=t.location.pathname.slice(1).split("/").filter(function(e){return""!==e}),a=e.length,i=e[a-2],s=e[a-1];return{key:i,value:s}},setHistory:function(e,a){var i=this;if(i.history.initialized&&i.params.history.enabled){var s=i.slides.eq(a),r=Lt.slugify(s.attr("data-history"));t.location.pathname.includes(e)||(r=e+"/"+r);var n=t.history.state;n&&n.value===r||(i.params.history.replaceState?t.history.replaceState({value:r},null,r):t.history.pushState({value:r},null,r))}},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,r=i.slides.length;s'),s.append(e)),e.css({height:n+"px"})):(e=a.find(".swiper-cube-shadow"),0===e.length&&(e=i('
'),a.append(e))));for(var f=0;f-1&&(h=90*m+90*b,l&&(h=90*-m-90*b)),v.transform(E),p.slideShadows){var S=u?v.find(".swiper-slide-shadow-left"):v.find(".swiper-slide-shadow-top"),C=u?v.find(".swiper-slide-shadow-right"):v.find(".swiper-slide-shadow-bottom");0===S.length&&(S=i('
'),v.append(S)),0===C.length&&(C=i('
'),v.append(C)),S.length&&(S[0].style.opacity=Math.max(-b,0)),C.length&&(C[0].style.opacity=Math.max(b,0))}}if(s.css({"-webkit-transform-origin":"50% 50% -"+d/2+"px","-moz-transform-origin":"50% 50% -"+d/2+"px","-ms-transform-origin":"50% 50% -"+d/2+"px","transform-origin":"50% 50% -"+d/2+"px"}),p.shadow)if(u)e.transform("translate3d(0px, "+(n/2+p.shadowOffset)+"px, "+-n/2+"px) rotateX(90deg) rotateZ(0deg) scale("+p.shadowScale+")");else{var M=Math.abs(h)-90*Math.floor(Math.abs(h)/90),P=1.5-(Math.sin(2*M*Math.PI/360)/2+Math.cos(2*M*Math.PI/360)/2),k=p.shadowScale,z=p.shadowScale/P,$=p.shadowOffset;e.transform("scale3d("+k+", 1, "+z+") translate3d(0px, "+(o/2+$)+"px, "+-o/2/z+"px) rotateX(-90deg)")}var D=R.isSafari||R.isUiWebView?-d/2:0;s.transform("translate3d(0px,0,"+D+"px) rotateX("+(t.isHorizontal()?0:h)+"deg) rotateY("+(t.isHorizontal()?-h: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)}},Vt={name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){var e=this;_.extend(e,{cubeEffect:{setTranslate:Xt.setTranslate.bind(e),setTransition:Xt.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;if("cube"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"cube"),e.classNames.push(e.params.containerModifierClass+"3d");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};_.extend(e.params,t),_.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)}}},_t={setTranslate:function(){for(var e=this,t=e.slides,a=e.rtlTranslate,s=0;s'),r.append(h)),0===f.length&&(f=i('
'),r.append(f)),h.length&&(h[0].style.opacity=Math.max(-n,0)),f.length&&(f[0].style.opacity=Math.max(n,0))}r.transform("translate3d("+u+"px, "+c+"px, 0px) rotateX("+p+"deg) rotateY("+d+"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 r=!1;a.eq(i).transitionEnd(function(){if(!r&&t&&!t.destroyed){r=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],a=0;a'),v.append(C)),0===M.length&&(M=i('
'),v.append(M)),C.length&&(C[0].style.opacity=w>0?w:0),M.length&&(M[0].style.opacity=-w>0?-w:0)}}if(F.pointerEvents||F.prefixedPointerEvents){var P=r[0].style;P.perspectiveOrigin=p+"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)}},jt={name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){var e=this;_.extend(e,{coverflowEffect:{setTranslate:Rt.setTranslate.bind(e),setTransition:Rt.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;"coverflow"===e.params.effect&&(e.classNames.push(e.params.containerModifierClass+"coverflow"),e.classNames.push(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)}}},qt={init:function(){var e=this,t=e.params,a=t.thumbs,i=e.constructor;a.swiper instanceof i?(e.thumbs.swiper=a.swiper,_.extend(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),_.extend(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):_.isObject(a.swiper)&&(e.thumbs.swiper=new i(_.extend({},a.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,s=t.clickedSlide;if((!s||!i(s).hasClass(e.params.thumbs.slideThumbActiveClass))&&"undefined"!==typeof a&&null!==a){var r;if(r=t.params.loop?parseInt(i(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 o=e.slides.eq(n).prevAll('[data-swiper-slide-index="'+r+'"]').eq(0).index(),l=e.slides.eq(n).nextAll('[data-swiper-slide-index="'+r+'"]').eq(0).index();r="undefined"===typeof o?l:"undefined"===typeof l?o:l-nr?s-Math.floor(i/2)+1:s+Math.floor(i/2)-1:s>r&&(s=s-i+1),a.slideTo(s,e?0:void 0))}var l=1,d=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(l=t.params.slidesPerView),a.slides.removeClass(d),a.params.loop||a.params.virtual)for(var p=0;p