queenstreetbears.com
Open in
urlscan Pro
2a02:4780:a:1404:0:ee5:b126:8
Public Scan
Submitted URL: http://queenstreetbears.com/wp-content/themes/xstore/js/modules/swiper.min.js?ver=1724764138
Effective URL: https://queenstreetbears.com/wp-content/themes/xstore/js/modules/swiper.min.js?ver=1724764138
Submission: On September 04 via api from US — Scanned from GB
Effective URL: https://queenstreetbears.com/wp-content/themes/xstore/js/modules/swiper.min.js?ver=1724764138
Submission: On September 04 via api from US — Scanned from GB
Form analysis
0 forms found in the DOMText Content
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).Swiper=t()}(this,function(){"use strict";function e(e,t){for(var a=0;a<t.length;a++){var i=t[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function t(){return(t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a,i=arguments[t];for(a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e}).apply(this,arguments)}function i(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function s(t,a){void 0===t&&(t={}),void 0===a&&(a={}),Object.keys(a).forEach(function(e){void 0===t[e]?t[e]=a[e]:i(a[e])&&i(t[e])&&0<Object.keys(a[e]).length&&s(t[e],a[e])})}var a={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:""}};function w(){var e="undefined"!=typeof document?document:{};return s(e,a),e}var A={document:a,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{}},requestAnimationFrame:function(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function Z(){var e="undefined"!=typeof window?window:{};return s(e,A),e}function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function n(e,t){return(n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e,t,a){return(o=function(){if("undefined"!=typeof Reflect&&Reflect.construct&&!Reflect.construct.sham){if("function"==typeof Proxy)return 1;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),1}catch(e){}}}()?Reflect.construct:function(e,t,a){var i=[null],t=(i.push.apply(i,t),new(Function.bind.apply(e,i)));return a&&n(t,a.prototype),t}).apply(null,arguments)}function D(e){var a="function"==typeof Map?new Map:void 0;return function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==a){if(a.has(e))return a.get(e);a.set(e,t)}function t(){return o(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n(t,e)}(e)}l=D(Array),v=l,(f=G).prototype=Object.create(v.prototype),(f.prototype.constructor=f).__proto__=v;var l,d=G;function G(e){var e=l.call.apply(l,[this].concat(e))||this,t=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e),a=t.__proto__;return Object.defineProperty(t,"__proto__",{get:function(){return a},set:function(e){a.__proto__=e}}),e}function p(e){var t=[];return(e=void 0===e?[]:e).forEach(function(e){Array.isArray(e)?t.push.apply(t,p(e)):t.push(e)}),t}function N(e,t){return Array.prototype.filter.call(e,t)}function C(e,s){var t=Z(),r=w(),a=[];if(!s&&e instanceof d)return e;if(!e)return new d(a);if("string"==typeof e){var i=e.trim();if(0<=i.indexOf("<")&&0<=i.indexOf(">")){var n="div",o=(0===i.indexOf("<li")&&(n="ul"),0===i.indexOf("<tr")&&(n="tbody"),0!==i.indexOf("<td")&&0!==i.indexOf("<th")||(n="tr"),0===i.indexOf("<tbody")&&(n="table"),0===i.indexOf("<option")&&(n="select"),r.createElement(n));o.innerHTML=i;for(var l=0;l<o.childNodes.length;l+=1)a.push(o.childNodes[l])}else a=function(e){if("string"!=typeof e)return[e];for(var t=[],a=(s||r).querySelectorAll(e),i=0;i<a.length;i+=1)t.push(a[i]);return t}(e.trim())}else if(e.nodeType||e===t||e===r)a.push(e);else if(Array.isArray(e)){if(e instanceof d)return e;a=e}return new d(function(e){for(var t=[],a=0;a<e.length;a+=1)-1===t.indexOf(e[a])&&t.push(e[a]);return t}(a))}C.fn=d.prototype;var c,y,E,B={addClass:function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=p(t.map(function(e){return e.split(" ")}));return this.forEach(function(e){(e=e.classList).add.apply(e,i)}),this},removeClass:function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=p(t.map(function(e){return e.split(" ")}));return this.forEach(function(e){(e=e.classList).remove.apply(e,i)}),this},hasClass:function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=p(t.map(function(e){return e.split(" ")}));return 0<N(this,function(t){return 0<i.filter(function(e){return t.classList.contains(e)}).length}).length},toggleClass:function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=p(t.map(function(e){return e.split(" ")}));this.forEach(function(t){i.forEach(function(e){t.classList.toggle(e)})})},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var a=0;a<this.length;a+=1)if(2===arguments.length)this[a].setAttribute(e,t);else for(var i in e)this[a][i]=e[i],this[a].setAttribute(i,e[i]);return this},removeAttr:function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},transform:function(e){for(var t=0;t<this.length;t+=1)this[t].style.transform=e;return this},transition:function(e){for(var t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!=typeof e?e+"ms":e;return this},on:function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=t[0],r=t[1],n=t[2],s=t[3];function o(e){var t=e.target;if(t){var a=e.target.dom7EventData||[];if(a.indexOf(e)<0&&a.unshift(e),C(t).is(r))n.apply(t,a);else for(var i=C(t).parents(),s=0;s<i.length;s+=1)C(i[s]).is(r)&&n.apply(i[s],a)}}function l(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),n.apply(this,t)}"function"==typeof t[1]&&(i=t[0],n=t[1],s=t[2],r=void 0);for(var d,s=s||!1,p=i.split(" "),c=0;c<this.length;c+=1){var u=this[c];if(r)for(d=0;d<p.length;d+=1){var h=p[d];u.dom7LiveListeners||(u.dom7LiveListeners={}),u.dom7LiveListeners[h]||(u.dom7LiveListeners[h]=[]),u.dom7LiveListeners[h].push({listener:n,proxyListener:o}),u.addEventListener(h,o,s)}else for(d=0;d<p.length;d+=1){var m=p[d];u.dom7Listeners||(u.dom7Listeners={}),u.dom7Listeners[m]||(u.dom7Listeners[m]=[]),u.dom7Listeners[m].push({listener:n,proxyListener:l}),u.addEventListener(m,l,s)}}return this},off:function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=t[0],s=t[1],r=t[2],n=t[3];"function"==typeof t[1]&&(i=t[0],r=t[1],n=t[2],s=void 0);for(var n=n||!1,o=i.split(" "),l=0;l<o.length;l+=1)for(var d=o[l],p=0;p<this.length;p+=1){var c=this[p],u=void 0;if(!s&&c.dom7Listeners?u=c.dom7Listeners[d]:s&&c.dom7LiveListeners&&(u=c.dom7LiveListeners[d]),u&&u.length)for(var h=u.length-1;0<=h;--h){var m=u[h];(r&&m.listener===r||r&&m.listener&&m.listener.dom7proxy&&m.listener.dom7proxy===r||!r)&&(c.removeEventListener(d,m.proxyListener,n),u.splice(h,1))}}return this},trigger:function(){for(var e=Z(),t=arguments.length,a=new Array(t),i=0;i<t;i++)a[i]=arguments[i];for(var s=a[0].split(" "),r=a[1],n=0;n<s.length;n+=1)for(var o=s[n],l=0;l<this.length;l+=1){var d,p=this[l];e.CustomEvent&&(d=new e.CustomEvent(o,{detail:r,bubbles:!0,cancelable:!0}),p.dom7EventData=a.filter(function(e,t){return 0<t}),p.dispatchEvent(d),p.dom7EventData=[],delete p.dom7EventData)}return this},transitionEnd:function(a){var i=this;return a&&i.on("transitionend",function e(t){t.target===this&&(a.call(this,t),i.off("transitionend",e))}),this},outerWidth:function(e){return 0<this.length?e?(e=this.styles(),this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))):this[0].offsetWidth:null},outerHeight:function(e){return 0<this.length?e?(e=this.styles(),this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))):this[0].offsetHeight:null},styles:function(){var e=Z();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){var e,t,a,i,s,r;return 0<this.length?(r=Z(),i=w(),t=(e=this[0]).getBoundingClientRect(),i=i.body,a=e.clientTop||i.clientTop||0,i=e.clientLeft||i.clientLeft||0,s=e===r?r.scrollY:e.scrollTop,r=e===r?r.scrollX:e.scrollLeft,{top:t.top+s-a,left:t.left+r-i}):null},css:function(e,t){var a,i=Z();if(1===arguments.length){if("string"!=typeof e){for(a=0;a<this.length;a+=1)for(var s in e)this[a].style[s]=e[s];return this}if(this[0])return i.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e)for(a=0;a<this.length;a+=1)this[a].style[e]=t;return this},each:function(a){return a&&this.forEach(function(e,t){a.apply(e,[e,t])}),this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){var t,a,i=Z(),s=w(),r=this[0];if(r&&void 0!==e)if("string"==typeof e){if(r.matches)return r.matches(e);if(r.webkitMatchesSelector)return r.webkitMatchesSelector(e);if(r.msMatchesSelector)return r.msMatchesSelector(e);for(t=C(e),a=0;a<t.length;a+=1)if(t[a]===r)return!0}else{if(e===s)return r===s;if(e===i)return r===i;if(e.nodeType||e instanceof d)for(t=e.nodeType?[e]:e,a=0;a<t.length;a+=1)if(t[a]===r)return!0}return!1},index:function(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){var t;return void 0===e?this:C((t=this.length)-1<e?[]:e<0?(t=t+e)<0?[]:[this[t]]:[this[e]])},append:function(){for(var e=w(),t=0;t<arguments.length;t+=1)for(var a=t<0||arguments.length<=t?void 0:arguments[t],i=0;i<this.length;i+=1)if("string"==typeof a){var s=e.createElement("div");for(s.innerHTML=a;s.firstChild;)this[i].appendChild(s.firstChild)}else if(a instanceof d)for(var r=0;r<a.length;r+=1)this[i].appendChild(a[r]);else this[i].appendChild(a);return this},prepend:function(e){for(var t,a=w(),i=0;i<this.length;i+=1)if("string"==typeof e){var s=a.createElement("div");for(s.innerHTML=e,t=s.childNodes.length-1;0<=t;--t)this[i].insertBefore(s.childNodes[t],this[i].childNodes[0])}else if(e instanceof d)for(t=0;t<e.length;t+=1)this[i].insertBefore(e[t],this[i].childNodes[0]);else this[i].insertBefore(e,this[i].childNodes[0]);return this},next:function(e){return 0<this.length?e?this[0].nextElementSibling&&C(this[0].nextElementSibling).is(e)?C([this[0].nextElementSibling]):C([]):this[0].nextElementSibling?C([this[0].nextElementSibling]):C([]):C([])},nextAll:function(e){var t=[],a=this[0];if(!a)return C([]);for(;a.nextElementSibling;){var i=a.nextElementSibling;e&&!C(i).is(e)||t.push(i),a=i}return C(t)},prev:function(e){var t;return 0<this.length?(t=this[0],e?t.previousElementSibling&&C(t.previousElementSibling).is(e)?C([t.previousElementSibling]):C([]):t.previousElementSibling?C([t.previousElementSibling]):C([])):C([])},prevAll:function(e){var t=[],a=this[0];if(!a)return C([]);for(;a.previousElementSibling;){var i=a.previousElementSibling;e&&!C(i).is(e)||t.push(i),a=i}return C(t)},parent:function(e){for(var t=[],a=0;a<this.length;a+=1)null===this[a].parentNode||e&&!C(this[a].parentNode).is(e)||t.push(this[a].parentNode);return C(t)},parents:function(e){for(var t=[],a=0;a<this.length;a+=1)for(var i=this[a].parentNode;i;)e&&!C(i).is(e)||t.push(i),i=i.parentNode;return C(t)},closest:function(e){var t=this;return void 0===e?C([]):t=t.is(e)?t:t.parents(e).eq(0)},find:function(e){for(var t=[],a=0;a<this.length;a+=1)for(var i=this[a].querySelectorAll(e),s=0;s<i.length;s+=1)t.push(i[s]);return C(t)},children:function(e){for(var t=[],a=0;a<this.length;a+=1)for(var i=this[a].children,s=0;s<i.length;s+=1)e&&!C(i[s]).is(e)||t.push(i[s]);return C(t)},filter:function(e){return C(N(this,e))},remove:function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}};function T(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function x(){return Date.now()}function u(e,t){void 0===t&&(t="x");var a,i,s,r=Z(),e=r.getComputedStyle(e,null);return r.WebKitCSSMatrix?(6<(i=e.transform||e.webkitTransform).split(",").length&&(i=i.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),s=new r.WebKitCSSMatrix("none"===i?"":i)):a=(s=e.MozTransform||e.OTransform||e.MsTransform||e.msTransform||e.transform||e.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(i=r.WebKitCSSMatrix?s.m41:16===a.length?parseFloat(a[12]):parseFloat(a[4])),(i="y"===t?r.WebKitCSSMatrix?s.m42:16===a.length?parseFloat(a[13]):parseFloat(a[5]):i)||0}function h(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object}function Q(e){for(var t=Object(arguments.length<=0?void 0:e),a=1;a<arguments.length;a+=1){var i=a<0||arguments.length<=a?void 0:arguments[a];if(null!=i)for(var s=Object.keys(Object(i)),r=0,n=s.length;r<n;r+=1){var o=s[r],l=Object.getOwnPropertyDescriptor(i,o);void 0!==l&&l.enumerable&&(h(t[o])&&h(i[o])?Q(t[o],i[o]):!h(t[o])&&h(i[o])?(t[o]={},Q(t[o],i[o])):t[o]=i[o])}}return t}function m(a,i){Object.keys(i).forEach(function(t){h(i[t])&&Object.keys(i[t]).forEach(function(e){"function"==typeof i[t][e]&&(i[t][e]=i[t][e].bind(a))}),a[t]=i[t]})}function H(){return c||(a=Z(),e=w(),c={touch:!!("ontouchstart"in a||a.DocumentTouch&&e instanceof a.DocumentTouch),pointerEvents:!!a.PointerEvent&&"maxTouchPoints"in a.navigator&&0<=a.navigator.maxTouchPoints,observer:"MutationObserver"in a||"WebkitMutationObserver"in a,passiveListener:function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});a.addEventListener("testPassiveListener",null,t)}catch(e){}return e}(),gestures:"ongesturestart"in a}),c;var a,e}Object.keys(B).forEach(function(e){C.fn[e]=B[e]});var f={name:"resize",create:function(){var e=this;Q(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(e){var t=Z();t.addEventListener("resize",e.resize.resizeHandler),t.addEventListener("orientationchange",e.resize.orientationChangeHandler)},destroy:function(e){var t=Z();t.removeEventListener("resize",e.resize.resizeHandler),t.removeEventListener("orientationchange",e.resize.orientationChangeHandler)}}},V={attach:function(e,t){void 0===t&&(t={});var a=Z(),i=this,s=new(a.MutationObserver||a.WebkitMutationObserver)(function(e){var t;1!==e.length?(t=function(){i.emit("observerUpdate",e[0])},a.requestAnimationFrame?a.requestAnimationFrame(t):a.setTimeout(t,0)):i.emit("observerUpdate",e[0])});s.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),i.observer.observers.push(s)},init:function(){var e=this;if(e.support.observer&&e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),a=0;a<t.length;a+=1)e.observer.attach(t[a]);e.observer.attach(e.$el[0],{childList:e.params.observeSlideChildren}),e.observer.attach(e.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach(function(e){e.disconnect()}),this.observer.observers=[]}},v={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){m(this,{observer:t({},V,{observers:[]})})},on:{init:function(e){e.observer.init()},destroy:function(e){e.observer.destroy()}}};function g(){var e,t,a=this,i=a.params,s=a.el;s&&0===s.offsetWidth||(i.breakpoints&&a.setBreakpoint(),s=a.allowSlideNext,e=a.allowSlidePrev,t=a.snapGrid,a.allowSlideNext=!0,a.allowSlidePrev=!0,a.updateSize(),a.updateSlides(),a.updateSlidesClasses(),("auto"===i.slidesPerView||1<i.slidesPerView)&&a.isEnd&&!a.isBeginning&&!a.params.centeredSlides?a.slideTo(a.slides.length-1,0,!1,!0):a.slideTo(a.activeIndex,0,!1,!0),a.autoplay&&a.autoplay.running&&a.autoplay.paused&&a.autoplay.run(),a.allowSlidePrev=e,a.allowSlideNext=s,a.params.watchOverflow&&t!==a.snapGrid&&a.checkOverflow())}var X=!1;function F(){}var Y={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,nested:!1,width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,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,loopPreventsSlide:!0,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,_emitClasses:!1},b={modular:{useParams:function(t){var a=this;a.modules&&Object.keys(a.modules).forEach(function(e){e=a.modules[e];e.params&&Q(t,e.params)})},useModules:function(a){void 0===a&&(a={});var i=this;i.modules&&Object.keys(i.modules).forEach(function(e){var t=i.modules[e],e=a[e]||{};t.on&&i.on&&Object.keys(t.on).forEach(function(e){i.on(e,t.on[e])}),t.create&&t.create.bind(i)(e)})}},eventsEmitter:{on:function(e,t,a){var i,s=this;return"function"==typeof t&&(i=a?"unshift":"push",e.split(" ").forEach(function(e){s.eventsListeners[e]||(s.eventsListeners[e]=[]),s.eventsListeners[e][i](t)})),s},once:function(i,s,e){var r=this;return"function"!=typeof s?r:(n.__emitterProxy=s,r.on(i,n,e));function n(){r.off(i,n),n.__emitterProxy&&delete n.__emitterProxy;for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];s.apply(r,t)}},onAny:function(e,t){return"function"==typeof e&&(t=t?"unshift":"push",this.eventsAnyListeners.indexOf(e)<0)&&this.eventsAnyListeners[t](e),this},offAny:function(e){var t=this;return t.eventsAnyListeners&&0<=(e=t.eventsAnyListeners.indexOf(e))&&t.eventsAnyListeners.splice(e,1),t},off:function(e,i){var s=this;return s.eventsListeners&&e.split(" ").forEach(function(a){void 0===i?s.eventsListeners[a]=[]:s.eventsListeners[a]&&s.eventsListeners[a].forEach(function(e,t){(e===i||e.__emitterProxy&&e.__emitterProxy===i)&&s.eventsListeners[a].splice(t,1)})}),s},emit:function(){var e,a,i,s=this;if(s.eventsListeners){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];i="string"==typeof r[0]||Array.isArray(r[0])?(e=r[0],a=r.slice(1,r.length),s):(e=r[0].events,a=r[0].data,r[0].context||s),a.unshift(i),(Array.isArray(e)?e:e.split(" ")).forEach(function(t){s.eventsAnyListeners&&s.eventsAnyListeners.length&&s.eventsAnyListeners.forEach(function(e){e.apply(i,[t].concat(a))}),s.eventsListeners&&s.eventsListeners[t]&&s.eventsListeners[t].forEach(function(e){e.apply(i,a)})})}return s}},update:{updateSize:function(){var e=this,t=e.$el,a=void 0!==e.params.width&&null!==e.params.width?e.params.width:t[0].clientWidth,i=void 0!==e.params.height&&null!==e.params.height?e.params.height:t[0].clientHeight;0===a&&e.isHorizontal()||0===i&&e.isVertical()||(a=a-parseInt(t.css("padding-left")||0,10)-parseInt(t.css("padding-right")||0,10),i=i-parseInt(t.css("padding-top")||0,10)-parseInt(t.css("padding-bottom")||0,10),Q(e,{width:a=Number.isNaN(a)?0:a,height:i=Number.isNaN(i)?0:i,size:e.isHorizontal()?a:i}))},updateSlides:function(){var e=this,G=Z(),a=e.params,t=e.$wrapperEl,i=e.size,s=e.rtlTranslate,N=e.wrongRTL,r=e.virtual&&a.virtual.enabled,B=(r?e.virtual:e).slides.length,n=t.children("."+e.params.slideClass),o=(r?e.virtual.slides:n).length,l=[],d=[],p=[];function H(e,t){return!a.cssMode||t!==n.length-1}var c,u=a.slidesOffsetBefore,h=("function"==typeof u&&(u=a.slidesOffsetBefore.call(e)),a.slidesOffsetAfter),r=("function"==typeof h&&(h=a.slidesOffsetAfter.call(e)),e.snapGrid.length),V=e.slidesGrid.length,m=a.spaceBetween,f=-u,X=0,v=0;if(void 0!==i){"string"==typeof m&&0<=m.indexOf("%")&&(m=parseFloat(m.replace("%",""))/100*i),e.virtualSize=-m,s?n.css({marginLeft:"",marginTop:""}):n.css({marginRight:"",marginBottom:""}),1<a.slidesPerColumn&&(c=Math.floor(o/a.slidesPerColumn)===o/e.params.slidesPerColumn?o:Math.ceil(o/a.slidesPerColumn)*a.slidesPerColumn,"auto"!==a.slidesPerView)&&"row"===a.slidesPerColumnFill&&(c=Math.max(c,a.slidesPerView*a.slidesPerColumn));for(var F,Y,g,R,w=a.slidesPerColumn,W=c/w,q=Math.floor(o/a.slidesPerColumn),b=0;b<o;b+=1){M=0;var y,E,T,x,C,S,M,z,P,k,$,_,L,j,I=n.eq(b);1<a.slidesPerColumn&&(S=C=x=void 0,"row"===a.slidesPerColumnFill&&1<a.slidesPerGroup?(T=Math.floor(b/(a.slidesPerGroup*a.slidesPerColumn)),y=b-a.slidesPerColumn*a.slidesPerGroup*T,E=0===T?a.slidesPerGroup:Math.min(Math.ceil((o-T*w*a.slidesPerGroup)/w),a.slidesPerGroup),x=(C=y-(S=Math.floor(y/E))*E+T*a.slidesPerGroup)+S*c/w,I.css({"-webkit-box-ordinal-group":x,"-moz-box-ordinal-group":x,"-ms-flex-order":x,"-webkit-order":x,order:x})):"column"===a.slidesPerColumnFill?(S=b-(C=Math.floor(b/w))*w,(q<C||C===q&&S===w-1)&&(S+=1)>=w&&(S=0,C+=1)):C=b-(S=Math.floor(b/W))*W,I.css("margin-"+(e.isHorizontal()?"top":"left"),0!==S&&a.spaceBetween&&a.spaceBetween+"px")),"none"!==I.css("display")&&("auto"===a.slidesPerView?(y=G.getComputedStyle(I[0],null),E=I[0].style.transform,T=I[0].style.webkitTransform,E&&(I[0].style.transform="none"),T&&(I[0].style.webkitTransform="none"),M=a.roundLengths?e.isHorizontal()?I.outerWidth(!0):I.outerHeight(!0):e.isHorizontal()?(x=parseFloat(y.getPropertyValue("width")||0),C=parseFloat(y.getPropertyValue("padding-left")||0),S=parseFloat(y.getPropertyValue("padding-right")||0),z=parseFloat(y.getPropertyValue("margin-left")||0),P=parseFloat(y.getPropertyValue("margin-right")||0),(k=y.getPropertyValue("box-sizing"))&&"border-box"===k?x+z+P:($=(k=I[0]).clientWidth,x+C+S+z+P+(k.offsetWidth-$))):(z=parseFloat(y.getPropertyValue("height")||0),P=parseFloat(y.getPropertyValue("padding-top")||0),k=parseFloat(y.getPropertyValue("padding-bottom")||0),$=parseFloat(y.getPropertyValue("margin-top")||0),_=parseFloat(y.getPropertyValue("margin-bottom")||0),(L=y.getPropertyValue("box-sizing"))&&"border-box"===L?z+$+_:(j=(L=I[0]).clientHeight,z+P+k+$+_+(L.offsetHeight-j))),E&&(I[0].style.transform=E),T&&(I[0].style.webkitTransform=T),a.roundLengths&&(M=Math.floor(M))):(M=(i-(a.slidesPerView-1)*m)/a.slidesPerView,a.roundLengths&&(M=Math.floor(M)),n[b]&&(e.isHorizontal()?n[b].style.width=M+"px":n[b].style.height=M+"px")),n[b]&&(n[b].swiperSlideSize=M),p.push(M),a.centeredSlides?(f=f+M/2+X/2+m,0===X&&0!==b&&(f=f-i/2-m),0===b&&(f=f-i/2-m),Math.abs(f)<.001&&(f=0),a.roundLengths&&(f=Math.floor(f)),v%a.slidesPerGroup==0&&l.push(f),d.push(f)):(a.roundLengths&&(f=Math.floor(f)),(v-Math.min(e.params.slidesPerGroupSkip,v))%e.params.slidesPerGroup==0&&l.push(f),d.push(f),f=f+M+m),e.virtualSize+=M+m,X=M,v+=1)}if(e.virtualSize=Math.max(e.virtualSize,i)+h,s&&N&&("slide"===a.effect||"coverflow"===a.effect)&&t.css({width:e.virtualSize+a.spaceBetween+"px"}),a.setWrapperSize&&(e.isHorizontal()?t.css({width:e.virtualSize+a.spaceBetween+"px"}):t.css({height:e.virtualSize+a.spaceBetween+"px"})),1<a.slidesPerColumn&&(e.virtualSize=(M+a.spaceBetween)*c,e.virtualSize=Math.ceil(e.virtualSize/a.slidesPerColumn)-a.spaceBetween,e.isHorizontal()?t.css({width:e.virtualSize+a.spaceBetween+"px"}):t.css({height:e.virtualSize+a.spaceBetween+"px"}),a.centeredSlides)){for(var O=[],A=0;A<l.length;A+=1){var U=l[A];a.roundLengths&&(U=Math.floor(U)),l[A]<e.virtualSize+l[0]&&O.push(U)}l=O}if(!a.centeredSlides){O=[];for(var D=0;D<l.length;D+=1){var K=l[D];a.roundLengths&&(K=Math.floor(K)),l[D]<=e.virtualSize-i&&O.push(K)}l=O,1<Math.floor(e.virtualSize-i)-Math.floor(l[l.length-1])&&l.push(e.virtualSize-i)}0===l.length&&(l=[0]),0!==a.spaceBetween&&(e.isHorizontal()?s?n.filter(H).css({marginLeft:m+"px"}):n.filter(H).css({marginRight:m+"px"}):n.filter(H).css({marginBottom:m+"px"})),a.centeredSlides&&a.centeredSlidesBounds&&(F=0,p.forEach(function(e){F+=e+(a.spaceBetween||0)}),Y=(F-=a.spaceBetween)-i,l=l.map(function(e){return e<0?-u:Y<e?Y+h:e})),a.centerInsufficientSlides&&(g=0,p.forEach(function(e){g+=e+(a.spaceBetween||0)}),(g-=a.spaceBetween)<i)&&(R=(i-g)/2,l.forEach(function(e,t){l[t]=e-R}),d.forEach(function(e,t){d[t]=e+R})),Q(e,{slides:n,snapGrid:l,slidesGrid:d,slidesSizesGrid:p}),o!==B&&e.emit("slidesLengthChange"),l.length!==r&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),d.length!==V&&e.emit("slidesGridLengthChange"),(a.watchSlidesProgress||a.watchSlidesVisibility)&&e.updateSlidesOffset()}},updateAutoHeight:function(e){var t,a,i=this,s=[],r=0;if("number"==typeof e?i.setTransition(e):!0===e&&i.setTransition(i.params.speed),"auto"!==i.params.slidesPerView&&1<i.params.slidesPerView)if(i.params.centeredSlides)i.visibleSlides.each(function(e){s.push(e)});else for(t=0;t<Math.ceil(i.params.slidesPerView);t+=1){var n=i.activeIndex+t;if(n>i.slides.length)break;s.push(i.slides.eq(n)[0])}else s.push(i.slides.eq(i.activeIndex)[0]);for(t=0;t<s.length;t+=1)void 0!==s[t]&&(r=r<(a=s[t].offsetHeight)?a:r);r&&i.$wrapperEl.css("height",r+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this,a=t.params,i=t.slides,s=t.rtlTranslate;if(0!==i.length){void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();var r=s?e:-e;i.removeClass(a.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var n=0;n<i.length;n+=1){var o,l,d=i[n],p=(r+(a.centeredSlides?t.minTranslate():0)-d.swiperSlideOffset)/(d.swiperSlideSize+a.spaceBetween);(a.watchSlidesVisibility||a.centeredSlides&&a.autoHeight)&&(l=(o=-(r-d.swiperSlideOffset))+t.slidesSizesGrid[n],0<=o&&o<t.size-1||1<l&&l<=t.size||o<=0&&l>=t.size)&&(t.visibleSlides.push(d),t.visibleSlidesIndexes.push(n),i.eq(n).addClass(a.slideVisibleClass)),d.progress=s?-p:p}t.visibleSlides=C(t.visibleSlides)}},updateProgress:function(e){var t=this,a=(void 0===e&&(a=t.rtlTranslate?-1:1,e=t&&t.translate&&t.translate*a||0),t.params),i=t.maxTranslate()-t.minTranslate(),s=t.progress,r=t.isBeginning,n=r,o=l=t.isEnd,l=0==i?r=!(s=0):(r=(s=(e-t.minTranslate())/i)<=0,1<=s);Q(t,{progress:s,isBeginning:r,isEnd:l}),(a.watchSlidesProgress||a.watchSlidesVisibility||a.centeredSlides&&a.autoHeight)&&t.updateSlidesProgress(e),r&&!n&&t.emit("reachBeginning toEdge"),l&&!o&&t.emit("reachEnd toEdge"),(n&&!r||o&&!l)&&t.emit("fromEdge"),t.emit("progress",s)},updateSlidesClasses:function(){var e=this,t=e.slides,a=e.params,i=e.$wrapperEl,s=e.activeIndex,r=e.realIndex,n=e.virtual&&a.virtual.enabled,s=(t.removeClass(a.slideActiveClass+" "+a.slideNextClass+" "+a.slidePrevClass+" "+a.slideDuplicateActiveClass+" "+a.slideDuplicateNextClass+" "+a.slideDuplicatePrevClass),(n=n?e.$wrapperEl.find("."+a.slideClass+'[data-swiper-slide-index="'+s+'"]'):t.eq(s)).addClass(a.slideActiveClass),a.loop&&(n.hasClass(a.slideDuplicateClass)?i.children("."+a.slideClass+":not(."+a.slideDuplicateClass+')[data-swiper-slide-index="'+r+'"]'):i.children("."+a.slideClass+"."+a.slideDuplicateClass+'[data-swiper-slide-index="'+r+'"]')).addClass(a.slideDuplicateActiveClass),n.nextAll("."+a.slideClass).eq(0).addClass(a.slideNextClass)),r=(a.loop&&0===s.length&&(s=t.eq(0)).addClass(a.slideNextClass),n.prevAll("."+a.slideClass).eq(0).addClass(a.slidePrevClass));a.loop&&0===r.length&&(r=t.eq(-1)).addClass(a.slidePrevClass),a.loop&&((s.hasClass(a.slideDuplicateClass)?i.children("."+a.slideClass+":not(."+a.slideDuplicateClass+')[data-swiper-slide-index="'+s.attr("data-swiper-slide-index")+'"]'):i.children("."+a.slideClass+"."+a.slideDuplicateClass+'[data-swiper-slide-index="'+s.attr("data-swiper-slide-index")+'"]')).addClass(a.slideDuplicateNextClass),(r.hasClass(a.slideDuplicateClass)?i.children("."+a.slideClass+":not(."+a.slideDuplicateClass+')[data-swiper-slide-index="'+r.attr("data-swiper-slide-index")+'"]'):i.children("."+a.slideClass+"."+a.slideDuplicateClass+'[data-swiper-slide-index="'+r.attr("data-swiper-slide-index")+'"]')).addClass(a.slideDuplicatePrevClass)),e.emitSlidesClasses()},updateActiveIndex:function(e){var t=this,a=t.rtlTranslate?t.translate:-t.translate,i=t.slidesGrid,s=t.snapGrid,r=t.params,n=t.activeIndex,o=t.realIndex,l=t.snapIndex,d=e;if(void 0===d){for(var p=0;p<i.length;p+=1)void 0!==i[p+1]?a>=i[p]&&a<i[p+1]-(i[p+1]-i[p])/2?d=p:a>=i[p]&&a<i[p+1]&&(d=p+1):a>=i[p]&&(d=p);r.normalizeSlideIndex&&(d<0||void 0===d)&&(d=0)}(e=0<=s.indexOf(a)?s.indexOf(a):(e=Math.min(r.slidesPerGroupSkip,d))+Math.floor((d-e)/r.slidesPerGroup))>=s.length&&(e=s.length-1),d!==n?(r=parseInt(t.slides.eq(d).attr("data-swiper-slide-index")||d,10),Q(t,{snapIndex:e,realIndex:r,previousIndex:n,activeIndex:d}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),o!==r&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")):e!==l&&(t.snapIndex=e,t.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this,a=t.params,i=C(e.target).closest("."+a.slideClass)[0],s=!1;if(i)for(var r=0;r<t.slides.length;r+=1)t.slides[r]===i&&(s=!0);i&&s?(t.clickedSlide=i,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(C(i).attr("data-swiper-slide-index"),10):t.clickedIndex=C(i).index(),a.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()):(t.clickedSlide=void 0,t.clickedIndex=void 0)}},translate:{getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this.params,a=this.rtlTranslate,i=this.translate,s=this.$wrapperEl;return t.virtualTranslate?a?-i:i:t.cssMode?i:(t=u(s[0],e),(t=a?-t:t)||0)},setTranslate:function(e,t){var a=this,i=a.rtlTranslate,s=a.params,r=a.$wrapperEl,n=a.wrapperEl,o=a.progress,l=0,d=0,i=(a.isHorizontal()?l=i?-e:e:d=e,s.roundLengths&&(l=Math.floor(l),d=Math.floor(d)),s.cssMode?n[a.isHorizontal()?"scrollLeft":"scrollTop"]=a.isHorizontal()?-l:-d:s.virtualTranslate||r.transform("translate3d("+l+"px, "+d+"px, 0px)"),a.previousTranslate=a.translate,a.translate=a.isHorizontal()?l:d,a.maxTranslate()-a.minTranslate());(0==i?0:(e-a.minTranslate())/i)!==o&&a.updateProgress(e),a.emit("setTranslate",a.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,a,i,s){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===a&&(a=!0),void 0===i&&(i=!0);var r,n,o=this,l=o.params,d=o.wrapperEl;return!(o.animating&&l.preventInteractionOnTransition||(n=o.minTranslate(),r=o.maxTranslate(),o.updateProgress(n=i&&n<e?n:i&&e<r?r:e),l.cssMode?(i=o.isHorizontal(),0!==t&&d.scrollTo?d.scrollTo(((r={})[i?"left":"top"]=-n,r.behavior="smooth",r)):d[i?"scrollLeft":"scrollTop"]=-n):0===t?(o.setTransition(0),o.setTranslate(n),a&&(o.emit("beforeTransitionStart",t,s),o.emit("transitionEnd"))):(o.setTransition(t),o.setTranslate(n),a&&(o.emit("beforeTransitionStart",t,s),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.$wrapperEl[0].removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].removeEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,a)&&o.emit("transitionEnd")}),o.$wrapperEl[0].addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].addEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd))),0))}},transition:{setTransition:function(e,t){this.params.cssMode||this.$wrapperEl.transition(e),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var a=this,i=a.activeIndex,s=a.params,r=a.previousIndex;s.cssMode||(s.autoHeight&&a.updateAutoHeight(),s=(s=t)||(r<i?"next":i<r?"prev":"reset"),a.emit("transitionStart"),e&&i!==r&&("reset"===s?a.emit("slideResetTransitionStart"):(a.emit("slideChangeTransitionStart"),"next"===s?a.emit("slideNextTransitionStart"):a.emit("slidePrevTransitionStart"))))},transitionEnd:function(e,t){void 0===e&&(e=!0);var a=this,i=a.activeIndex,s=a.previousIndex,r=a.params;a.animating=!1,r.cssMode||(a.setTransition(0),r=(r=t)||(s<i?"next":i<s?"prev":"reset"),a.emit("transitionEnd"),e&&i!==s&&("reset"===r?a.emit("slideResetTransitionEnd"):(a.emit("slideChangeTransitionEnd"),"next"===r?a.emit("slideNextTransitionEnd"):a.emit("slidePrevTransitionEnd"))))}},slide:{slideTo:function(e,t,a,i){if(void 0===t&&(t=this.params.speed),void 0===a&&(a=!0),"number"!=typeof(e=void 0===e?0:e)&&"string"!=typeof e)throw new Error("The 'index' argument cannot have type other than 'number' or 'string'. ["+typeof e+"] given.");if("string"==typeof e){var s=parseInt(e,10);if(!isFinite(s))throw new Error("The passed-in 'index' (string) couldn't be converted to 'number'. ["+e+"] given.");e=s}var r=this,n=e,s=(n<0&&(n=0),r.params),e=r.snapGrid,o=r.slidesGrid,l=r.previousIndex,d=r.activeIndex,p=r.rtlTranslate,c=r.wrapperEl;if(r.animating&&s.preventInteractionOnTransition)return!1;var u=Math.min(r.params.slidesPerGroupSkip,n),u=u+Math.floor((n-u)/r.params.slidesPerGroup);u>=e.length&&(u=e.length-1),(d||s.initialSlide||0)===(l||0)&&a&&r.emit("beforeSlideChangeStart");var h,m=-e[u];if(r.updateProgress(m),s.normalizeSlideIndex)for(var f=0;f<o.length;f+=1)-Math.floor(100*m)>=Math.floor(100*o[f])&&(n=f);if(r.initialized&&n!==d){if(!r.allowSlideNext&&m<r.translate&&m<r.minTranslate())return!1;if(!r.allowSlidePrev&&m>r.translate&&m>r.maxTranslate()&&(d||0)!==n)return!1}return h=d<n?"next":n<d?"prev":"reset",p&&-m===r.translate||!p&&m===r.translate?(r.updateActiveIndex(n),s.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==s.effect&&r.setTranslate(m),"reset"!=h&&(r.transitionStart(a,h),r.transitionEnd(a,h)),!1):(s.cssMode?(l=r.isHorizontal(),e=-m,p&&(e=c.scrollWidth-c.offsetWidth-e),0!==t&&c.scrollTo?c.scrollTo(((u={})[l?"left":"top"]=e,u.behavior="smooth",u)):c[l?"scrollLeft":"scrollTop"]=e):0===t?(r.setTransition(0),r.setTranslate(m),r.updateActiveIndex(n),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,i),r.transitionStart(a,h),r.transitionEnd(a,h)):(r.setTransition(t),r.setTranslate(m),r.updateActiveIndex(n),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,i),r.transitionStart(a,h),r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(a,h))}),r.$wrapperEl[0].addEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd))),!0)},slideToLoop:function(e,t,a,i){void 0===t&&(t=this.params.speed);e=void 0===e?0:e;return this.params.loop&&(e+=this.loopedSlides),this.slideTo(e,t,a=void 0===a?!0:a,i)},slideNext:function(e,t,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this,s=i.params,r=i.animating,n=i.activeIndex<s.slidesPerGroupSkip?1:s.slidesPerGroup;if(s.loop){if(r&&s.loopPreventsSlide)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}return i.slideTo(i.activeIndex+n,e,t,a)},slidePrev:function(e,t,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this,s=i.params,r=i.animating,n=i.snapGrid,o=i.slidesGrid,l=i.rtlTranslate;if(s.loop){if(r&&s.loopPreventsSlide)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var p,c=d(l?i.translate:-i.translate),r=n.map(d),u=(n[r.indexOf(c)],n[r.indexOf(c)-1]);return void 0===u&&s.cssMode&&n.forEach(function(e){!u&&e<=c&&(u=e)}),void 0!==u&&(p=o.indexOf(u))<0&&(p=i.activeIndex-1),i.slideTo(p,e,t,a)},slideReset:function(e,t,a){return void 0===e&&(e=this.params.speed),this.slideTo(this.activeIndex,e,t=void 0===t?!0:t,a)},slideToClosest:function(e,t,a,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===i&&(i=.5);var s,r=this,n=r.activeIndex,o=Math.min(r.params.slidesPerGroupSkip,n),o=o+Math.floor((n-o)/r.params.slidesPerGroup),l=r.rtlTranslate?r.translate:-r.translate;return l>=r.snapGrid[o]?l-(s=r.snapGrid[o])>(r.snapGrid[o+1]-s)*i&&(n+=r.params.slidesPerGroup):l-(s=r.snapGrid[o-1])<=(r.snapGrid[o]-s)*i&&(n-=r.params.slidesPerGroup),n=Math.max(n,0),n=Math.min(n,r.slidesGrid.length-1),r.slideTo(n,e,t,a)},slideToClickedSlide:function(){var e,t=this,a=t.params,i=t.$wrapperEl,s="auto"===a.slidesPerView?t.slidesPerViewDynamic():a.slidesPerView,r=t.clickedIndex;a.loop?t.animating||(e=parseInt(C(t.clickedSlide).attr("data-swiper-slide-index"),10),a.centeredSlides?r<t.loopedSlides-s/2||r>t.slides.length-t.loopedSlides+s/2?(t.loopFix(),r=i.children("."+a.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+a.slideDuplicateClass+")").eq(0).index(),T(function(){t.slideTo(r)})):t.slideTo(r):r>t.slides.length-s?(t.loopFix(),r=i.children("."+a.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+a.slideDuplicateClass+")").eq(0).index(),T(function(){t.slideTo(r)})):t.slideTo(r)):t.slideTo(r)}},loop:{loopCreate:function(){var i=this,e=w(),t=i.params,a=i.$wrapperEl,s=(a.children("."+t.slideClass+"."+t.slideDuplicateClass).remove(),a.children("."+t.slideClass));if(t.loopFillGroupWithBlank){var r=t.slidesPerGroup-s.length%t.slidesPerGroup;if(r!==t.slidesPerGroup){for(var n=0;n<r;n+=1){var o=C(e.createElement("div")).addClass(t.slideClass+" "+t.slideBlankClass);a.append(o)}s=a.children("."+t.slideClass)}}"auto"!==t.slidesPerView||t.loopedSlides||(t.loopedSlides=s.length),i.loopedSlides=Math.ceil(parseFloat(t.loopedSlides||t.slidesPerView,10)),i.loopedSlides+=t.loopAdditionalSlides,i.loopedSlides>s.length&&(i.loopedSlides=s.length);var l=[],d=[];s.each(function(e,t){var a=C(e);t<i.loopedSlides&&d.push(e),t<s.length&&t>=s.length-i.loopedSlides&&l.push(e),a.attr("data-swiper-slide-index",t)});for(var p=0;p<d.length;p+=1)a.append(C(d[p].cloneNode(!0)).addClass(t.slideDuplicateClass));for(var c=l.length-1;0<=c;--c)a.prepend(C(l[c].cloneNode(!0)).addClass(t.slideDuplicateClass))},loopFix:function(){var e=this;e.emit("beforeLoopFix");var t,a=e.activeIndex,i=e.slides,s=e.loopedSlides,r=e.allowSlidePrev,n=e.allowSlideNext,o=e.snapGrid,l=e.rtlTranslate,o=(e.allowSlidePrev=!0,e.allowSlideNext=!0,-o[a]-e.getTranslate());a<s?(t=i.length-3*s+a,e.slideTo(t+=s,0,!1,!0)&&0!=o&&e.setTranslate((l?-e.translate:e.translate)-o)):a>=i.length-s&&(t=-i.length+a+s,e.slideTo(t+=s,0,!1,!0))&&0!=o&&e.setTranslate((l?-e.translate:e.translate)-o),e.allowSlidePrev=r,e.allowSlideNext=n,e.emit("loopFix")},loopDestroy:function(){var e=this.$wrapperEl,t=this.params,a=this.slides;e.children("."+t.slideClass+"."+t.slideDuplicateClass+",."+t.slideClass+"."+t.slideBlankClass).remove(),a.removeAttr("data-swiper-slide-index")}},grabCursor:{setGrabCursor:function(e){var t=this;t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode||((t=t.el).style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab")},unsetGrabCursor:function(){var e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.el.style.cursor="")}},manipulation:{appendSlide:function(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<e.length;s+=1)e[s]&&a.append(e[s]);else a.append(e);i.loop&&t.loopCreate(),i.observer&&t.support.observer||t.update()},prependSlide:function(e){var t=this,a=t.params,i=t.$wrapperEl,s=t.activeIndex,r=(a.loop&&t.loopDestroy(),s+1);if("object"==typeof e&&"length"in e){for(var n=0;n<e.length;n+=1)e[n]&&i.prepend(e[n]);r=s+e.length}else i.prepend(e);a.loop&&t.loopCreate(),a.observer&&t.support.observer||t.update(),t.slideTo(r,0,!1)},addSlide:function(e,t){var a=this,i=a.$wrapperEl,s=a.params,r=a.activeIndex,n=(s.loop&&(r-=a.loopedSlides,a.loopDestroy(),a.slides=i.children("."+s.slideClass)),a.slides.length);if(e<=0)a.prependSlide(t);else if(n<=e)a.appendSlide(t);else{for(var o=e<r?r+1:r,l=[],d=n-1;e<=d;--d){var p=a.slides.eq(d);p.remove(),l.unshift(p)}if("object"==typeof t&&"length"in t){for(var c=0;c<t.length;c+=1)t[c]&&i.append(t[c]);o=e<r?r+t.length:r}else i.append(t);for(var u=0;u<l.length;u+=1)i.append(l[u]);s.loop&&a.loopCreate(),s.observer&&a.support.observer||a.update(),s.loop?a.slideTo(o+a.loopedSlides,0,!1):a.slideTo(o,0,!1)}},removeSlide:function(e){var t=this,a=t.params,i=t.$wrapperEl,s=t.activeIndex;a.loop&&(s-=t.loopedSlides,t.loopDestroy(),t.slides=i.children("."+a.slideClass));var r,n=s;if("object"==typeof e&&"length"in e)for(var o=0;o<e.length;o+=1)r=e[o],t.slides[r]&&t.slides.eq(r).remove(),r<n&&--n;else t.slides[r=e]&&t.slides.eq(r).remove(),r<n&&--n;n=Math.max(n,0),a.loop&&t.loopCreate(),a.observer&&t.support.observer||t.update(),a.loop?t.slideTo(n+t.loopedSlides,0,!1):t.slideTo(n,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},events:{attachEvents:function(){var e,t=this,a=w(),i=t.params,s=t.touchEvents,r=t.el,n=t.wrapperEl,o=t.device,l=t.support,d=(t.onTouchStart=function(e){var t,a,i,s,r,n=this,o=w(),l=Z(),d=n.touchEventsData,p=n.params,c=n.touches;n.animating&&p.preventInteractionOnTransition||(a=C((t=(t=e).originalEvent?t.originalEvent:t).target),"wrapper"===p.touchEventsTarget&&!a.closest(n.wrapperEl).length)||(d.isTouchEvent="touchstart"===t.type,!d.isTouchEvent&&"which"in t&&3===t.which)||!d.isTouchEvent&&"button"in t&&0<t.button||d.isTouched&&d.isMoved||(p.noSwipingClass&&""!==p.noSwipingClass&&t.target&&t.target.shadowRoot&&e.path&&e.path[0]&&(a=C(e.path[0])),p.noSwiping&&a.closest(p.noSwipingSelector||"."+p.noSwipingClass)[0]?n.allowClick=!0:p.swipeHandler&&!a.closest(p.swipeHandler)[0]||(c.currentX=("touchstart"===t.type?t.targetTouches[0]:t).pageX,c.currentY=("touchstart"===t.type?t.targetTouches[0]:t).pageY,e=c.currentX,i=c.currentY,r=p.edgeSwipeDetection||p.iOSEdgeSwipeDetection,s=p.edgeSwipeThreshold||p.iOSEdgeSwipeThreshold,r&&(e<=s||e>=l.innerWidth-s))||(Q(d,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),c.startX=e,c.startY=i,d.touchStartTime=x(),n.allowClick=!0,n.updateSize(),n.swipeDirection=void 0,0<p.threshold&&(d.allowThresholdMove=!1),"touchstart"!==t.type&&(r=!0,a.is(d.formElements)&&(r=!1),o.activeElement&&C(o.activeElement).is(d.formElements)&&o.activeElement!==a[0]&&o.activeElement.blur(),l=r&&n.allowTouchMove&&p.touchStartPreventDefault,!p.touchStartForcePreventDefault&&!l||a[0].isContentEditable||t.preventDefault()),n.emit("touchStart",t)))}.bind(t),t.onTouchMove=function(e){var t=w(),a=this,i=a.touchEventsData,s=a.params,r=a.touches,n=a.rtlTranslate;if(e.originalEvent&&(e=e.originalEvent),i.isTouched){if(!i.isTouchEvent||"touchmove"===e.type){var o="touchmove"===e.type&&e.targetTouches&&(e.targetTouches[0]||e.changedTouches[0]),l=("touchmove"===e.type?o:e).pageX,o=("touchmove"===e.type?o:e).pageY;if(e.preventedByNestedSwiper)r.startX=l,r.startY=o;else if(a.allowTouchMove){if(i.isTouchEvent&&s.touchReleaseOnEdges&&!s.loop)if(a.isVertical()){if(o<r.startY&&a.translate<=a.maxTranslate()||o>r.startY&&a.translate>=a.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(l<r.startX&&a.translate<=a.maxTranslate()||l>r.startX&&a.translate>=a.minTranslate())return;if(i.isTouchEvent&&t.activeElement&&e.target===t.activeElement&&C(e.target).is(i.formElements))i.isMoved=!0,a.allowClick=!1;else if(i.allowTouchCallbacks&&a.emit("touchMove",e),!(e.targetTouches&&1<e.targetTouches.length)){r.currentX=l,r.currentY=o;var t=r.currentX-r.startX,d=r.currentY-r.startY;if(!(a.params.threshold&&Math.sqrt(Math.pow(t,2)+Math.pow(d,2))<a.params.threshold))if(void 0===i.isScrolling&&(a.isHorizontal()&&r.currentY===r.startY||a.isVertical()&&r.currentX===r.startX?i.isScrolling=!1:25<=t*t+d*d&&(p=180*Math.atan2(Math.abs(d),Math.abs(t))/Math.PI,i.isScrolling=a.isHorizontal()?p>s.touchAngle:90-p>s.touchAngle)),i.isScrolling&&a.emit("touchMoveOpposite",e),void 0!==i.startMoving||r.currentX===r.startX&&r.currentY===r.startY||(i.startMoving=!0),i.isScrolling)i.isTouched=!1;else if(i.startMoving){a.allowClick=!1,!s.cssMode&&e.cancelable&&e.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&e.stopPropagation(),i.isMoved||(s.loop&&a.loopFix(),i.startTranslate=a.getTranslate(),a.setTransition(0),a.animating&&a.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!s.grabCursor||!0!==a.allowSlideNext&&!0!==a.allowSlidePrev||a.setGrabCursor(!0),a.emit("sliderFirstMove",e)),a.emit("sliderMove",e),i.isMoved=!0;var p=a.isHorizontal()?t:d,t=(r.diff=p,p*=s.touchRatio,a.swipeDirection=0<(p=n?-p:p)?"prev":"next",i.currentTranslate=p+i.startTranslate,!0),d=s.resistanceRatio;if(s.touchReleaseOnEdges&&(d=0),0<p&&i.currentTranslate>a.minTranslate()?(t=!1,s.resistance&&(i.currentTranslate=a.minTranslate()-1+Math.pow(-a.minTranslate()+i.startTranslate+p,d))):p<0&&i.currentTranslate<a.maxTranslate()&&(t=!1,s.resistance)&&(i.currentTranslate=a.maxTranslate()+1-Math.pow(a.maxTranslate()-i.startTranslate-p,d)),t&&(e.preventedByNestedSwiper=!0),!a.allowSlideNext&&"next"===a.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!a.allowSlidePrev&&"prev"===a.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),0<s.threshold){if(!(Math.abs(p)>s.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,i.currentTranslate=i.startTranslate,void(r.diff=a.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}s.followFinger&&!s.cssMode&&((s.freeMode||s.watchSlidesProgress||s.watchSlidesVisibility)&&(a.updateActiveIndex(),a.updateSlidesClasses()),s.freeMode&&(0===i.velocities.length&&i.velocities.push({position:r[a.isHorizontal()?"startX":"startY"],time:i.touchStartTime}),i.velocities.push({position:r[a.isHorizontal()?"currentX":"currentY"],time:x()})),a.updateProgress(i.currentTranslate),a.setTranslate(i.currentTranslate))}}}else a.allowClick=!1,i.isTouched&&(Q(r,{startX:l,startY:o,currentX:l,currentY:o}),i.touchStartTime=x())}}else i.startMoving&&i.isScrolling&&a.emit("touchMoveOpposite",e)}.bind(t),t.onTouchEnd=function(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;if(e.originalEvent&&(e=e.originalEvent),a.allowTouchCallbacks&&t.emit("touchEnd",e),a.allowTouchCallbacks=!1,a.isTouched){i.grabCursor&&a.isMoved&&a.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var d,p=x(),c=p-a.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(e),t.emit("tap click",e),c<300)&&p-a.lastClickTime<300&&t.emit("doubleTap doubleClick",e),a.lastClickTime=x(),T(function(){t.destroyed||(t.allowClick=!0)}),a.isTouched&&a.isMoved&&t.swipeDirection&&0!==s.diff&&a.currentTranslate!==a.startTranslate){if(a.isTouched=!1,a.isMoved=!1,a.startMoving=!1,d=i.followFinger?r?t.translate:-t.translate:-a.currentTranslate,!i.cssMode)if(i.freeMode)if(d<-t.minTranslate())t.slideTo(t.activeIndex);else if(d>-t.maxTranslate())t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1);else{if(i.freeModeMomentum){(!(1<a.velocities.length)||(p=a.velocities.pop(),s=a.velocities.pop(),u=p.position-s.position,s=p.time-s.time,t.velocity=u/s,t.velocity/=2,Math.abs(t.velocity)<i.freeModeMinimumVelocity&&(t.velocity=0),150<s)||300<x()-p.time)&&(t.velocity=0),t.velocity*=i.freeModeMomentumVelocityRatio,a.velocities.length=0;var u=1e3*i.freeModeMomentumRatio,s=t.velocity*u,h=t.translate+s;r&&(h=-h);var m,f,p=!1,s=20*Math.abs(t.velocity)*i.freeModeMomentumBounceRatio;if(h<t.maxTranslate())i.freeModeMomentumBounce?(h+t.maxTranslate()<-s&&(h=t.maxTranslate()-s),m=t.maxTranslate(),a.allowMomentumBounce=p=!0):h=t.maxTranslate(),i.loop&&i.centeredSlides&&(f=!0);else if(h>t.minTranslate())i.freeModeMomentumBounce?(h-t.minTranslate()>s&&(h=t.minTranslate()+s),m=t.minTranslate(),a.allowMomentumBounce=p=!0):h=t.minTranslate(),i.loop&&i.centeredSlides&&(f=!0);else if(i.freeModeSticky){for(var v,g=0;g<l.length;g+=1)if(l[g]>-h){v=g;break}h=-(Math.abs(l[v]-h)<Math.abs(l[v-1]-h)||"next"===t.swipeDirection?l[v]:l[v-1])}if(f&&t.once("transitionEnd",function(){t.loopFix()}),0!==t.velocity)u=r?Math.abs((-h-t.translate)/t.velocity):Math.abs((h-t.translate)/t.velocity),i.freeModeSticky&&(u=(s=Math.abs((r?-h:h)-t.translate))<(f=t.slidesSizesGrid[t.activeIndex])?i.speed:s<2*f?1.5*i.speed:2.5*i.speed);else if(i.freeModeSticky)return void t.slideToClosest();i.freeModeMomentumBounce&&p?(t.updateProgress(m),t.setTransition(u),t.setTranslate(h),t.transitionStart(!0,t.swipeDirection),t.animating=!0,n.transitionEnd(function(){t&&!t.destroyed&&a.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(i.speed),setTimeout(function(){t.setTranslate(m),n.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()})},0))})):t.velocity?(t.updateProgress(h),t.setTransition(u),t.setTranslate(h),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,n.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))):t.updateProgress(h),t.updateActiveIndex(),t.updateSlidesClasses()}else if(i.freeModeSticky)return void t.slideToClosest();(!i.freeModeMomentum||c>=i.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var w=0,b=t.slidesSizesGrid[0],y=0;y<o.length;y+=y<i.slidesPerGroupSkip?1:i.slidesPerGroup){var E=y<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;void 0!==o[y+E]?d>=o[y]&&d<o[y+E]&&(b=o[(w=y)+E]-o[y]):d>=o[y]&&(w=y,b=o[o.length-1]-o[o.length-2])}r=(d-o[w])/b,s=w<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;c>i.longSwipesMs?i.longSwipes?("next"===t.swipeDirection&&(r>=i.longSwipesRatio?t.slideTo(w+s):t.slideTo(w)),"prev"===t.swipeDirection&&(r>1-i.longSwipesRatio?t.slideTo(w+s):t.slideTo(w))):t.slideTo(t.activeIndex):i.shortSwipes?!t.navigation||e.target!==t.navigation.nextEl&&e.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(w+s),"prev"===t.swipeDirection&&t.slideTo(w)):e.target===t.navigation.nextEl?t.slideTo(w+s):t.slideTo(w):t.slideTo(t.activeIndex)}}else a.isTouched=!1,a.isMoved=!1,a.startMoving=!1}else a.isMoved&&i.grabCursor&&t.setGrabCursor(!1),a.isMoved=!1,a.startMoving=!1}.bind(t),i.cssMode&&(t.onScroll=function(){var e=this,t=e.wrapperEl,a=e.rtlTranslate;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=a?t.scrollWidth-t.offsetWidth-t.scrollLeft:-t.scrollLeft:e.translate=-t.scrollTop,-0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses(),(0==(t=e.maxTranslate()-e.minTranslate())?0:(e.translate-e.minTranslate())/t)!==e.progress&&e.updateProgress(a?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}.bind(t)),t.onClick=function(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}.bind(t),!!i.nested);!l.touch&&l.pointerEvents?(r.addEventListener(s.start,t.onTouchStart,!1),a.addEventListener(s.move,t.onTouchMove,d),a.addEventListener(s.end,t.onTouchEnd,!1)):(l.touch&&(e=!("touchstart"!==s.start||!l.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1},r.addEventListener(s.start,t.onTouchStart,e),r.addEventListener(s.move,t.onTouchMove,l.passiveListener?{passive:!1,capture:d}:d),r.addEventListener(s.end,t.onTouchEnd,e),s.cancel&&r.addEventListener(s.cancel,t.onTouchEnd,e),X||(a.addEventListener("touchstart",F),X=!0)),(i.simulateTouch&&!o.ios&&!o.android||i.simulateTouch&&!l.touch&&o.ios)&&(r.addEventListener("mousedown",t.onTouchStart,!1),a.addEventListener("mousemove",t.onTouchMove,d),a.addEventListener("mouseup",t.onTouchEnd,!1))),(i.preventClicks||i.preventClicksPropagation)&&r.addEventListener("click",t.onClick,!0),i.cssMode&&n.addEventListener("scroll",t.onScroll),i.updateOnWindowResize?t.on(o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",g,!0):t.on("observerUpdate",g,!0)},detachEvents:function(){var e,t=this,a=w(),i=t.params,s=t.touchEvents,r=t.el,n=t.wrapperEl,o=t.device,l=t.support,d=!!i.nested;!l.touch&&l.pointerEvents?(r.removeEventListener(s.start,t.onTouchStart,!1),a.removeEventListener(s.move,t.onTouchMove,d),a.removeEventListener(s.end,t.onTouchEnd,!1)):(l.touch&&(e=!("onTouchStart"!==s.start||!l.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1},r.removeEventListener(s.start,t.onTouchStart,e),r.removeEventListener(s.move,t.onTouchMove,d),r.removeEventListener(s.end,t.onTouchEnd,e),s.cancel)&&r.removeEventListener(s.cancel,t.onTouchEnd,e),(i.simulateTouch&&!o.ios&&!o.android||i.simulateTouch&&!l.touch&&o.ios)&&(r.removeEventListener("mousedown",t.onTouchStart,!1),a.removeEventListener("mousemove",t.onTouchMove,d),a.removeEventListener("mouseup",t.onTouchEnd,!1))),(i.preventClicks||i.preventClicksPropagation)&&r.removeEventListener("click",t.onClick,!0),i.cssMode&&n.removeEventListener("scroll",t.onScroll),t.off(o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",g)}},breakpoints:{setBreakpoint:function(){var e,a,t,i,s=this,r=s.activeIndex,n=s.initialized,o=s.loopedSlides,o=void 0===o?0:o,l=s.params,d=s.$el,p=l.breakpoints;p&&0!==Object.keys(p).length&&(e=s.getBreakpoint(p))&&s.currentBreakpoint!==e&&((a=e in p?p[e]:void 0)&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach(function(e){var t=a[e];void 0!==t&&(a[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}),p=a||s.originalParams,t=1<l.slidesPerColumn,i=1<p.slidesPerColumn,t&&!i?(d.removeClass(l.containerModifierClass+"multirow "+l.containerModifierClass+"multirow-column"),s.emitContainerClasses()):!t&&i&&(d.addClass(l.containerModifierClass+"multirow"),"column"===p.slidesPerColumnFill&&d.addClass(l.containerModifierClass+"multirow-column"),s.emitContainerClasses()),t=p.direction&&p.direction!==l.direction,i=l.loop&&(p.slidesPerView!==l.slidesPerView||t),t&&n&&s.changeDirection(),Q(s.params,p),Q(s,{allowTouchMove:s.params.allowTouchMove,allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev}),s.currentBreakpoint=e,s.emit("_beforeBreakpoint",p),i&&n&&(s.loopDestroy(),s.loopCreate(),s.updateSlides(),s.slideTo(r-o+s.loopedSlides,0,!1)),s.emit("breakpoint",p))},getBreakpoint:function(e){var a=Z();if(e){var t=!1,i=Object.keys(e).map(function(e){var t;return"string"==typeof e&&0===e.indexOf("@")?(t=parseFloat(e.substr(1)),{value:a.innerHeight*t,point:e}):{value:e,point:e}});i.sort(function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)});for(var s=0;s<i.length;s+=1){var r=i[s],n=r.point;r.value<=a.innerWidth&&(t=n)}return t||"max"}}},checkOverflow:{checkOverflow:function(){var e=this,t=e.params,a=e.isLocked,i=0<e.slides.length&&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()}},classes:{addClasses:function(){var e=this,t=e.classNames,a=e.params,i=e.rtl,s=e.$el,r=e.device,n=[];n.push("initialized"),n.push(a.direction),a.freeMode&&n.push("free-mode"),a.autoHeight&&n.push("autoheight"),i&&n.push("rtl"),1<a.slidesPerColumn&&(n.push("multirow"),"column"===a.slidesPerColumnFill)&&n.push("multirow-column"),r.android&&n.push("android"),r.ios&&n.push("ios"),a.cssMode&&n.push("css-mode"),n.forEach(function(e){t.push(a.containerModifierClass+e)}),s.addClass(t.join(" ")),e.emitContainerClasses()},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" ")),this.emitContainerClasses()}},images:{loadImage:function(e,t,a,i,s,r){var n=Z();function o(){r&&r()}!(C(e).parent("picture")[0]||e.complete&&s)&&t?((e=new n.Image).onload=o,e.onerror=o,i&&(e.sizes=i),a&&(e.srcset=a),t&&(e.src=t)):o()},preloadImages:function(){var e=this;function t(){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;a<e.imagesToLoad.length;a+=1){var i=e.imagesToLoad[a];e.loadImage(i,i.currentSrc||i.getAttribute("src"),i.srcset||i.getAttribute("srcset"),i.sizes||i.getAttribute("sizes"),!0,t)}}}},S={},M=((P=z.prototype).emitContainerClasses=function(){var e,t=this;t.params._emitClasses&&t.el&&(e=t.el.className.split(" ").filter(function(e){return 0===e.indexOf("swiper-container")||0===e.indexOf(t.params.containerModifierClass)}),t.emit("_containerClasses",e.join(" ")))},P.getSlideClasses=function(e){var t=this;return e.className.split(" ").filter(function(e){return 0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)}).join(" ")},P.emitSlidesClasses=function(){var a=this;a.params._emitClasses&&a.el&&a.slides.each(function(e){var t=a.getSlideClasses(e);a.emit("_slideClass",e,t)})},P.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;d<a.length;d+=1)a[d]&&!o&&(n+=1,(l+=a[d].swiperSlideSize)>s)&&(o=!0);for(var p=r-1;0<=p;--p)a[p]&&!o&&(n+=1,(l+=a[p].swiperSlideSize)>s)&&(o=!0)}else for(var c=r+1;c<a.length;c+=1)i[c]-i[r]<s&&(n+=1);return n},P.update=function(){var e,t,a=this;function i(){var e=a.rtlTranslate?-1*a.translate:a.translate,e=Math.min(Math.max(e,a.maxTranslate()),a.minTranslate());a.setTranslate(e),a.updateActiveIndex(),a.updateSlidesClasses()}a&&!a.destroyed&&(e=a.snapGrid,(t=a.params).breakpoints&&a.setBreakpoint(),a.updateSize(),a.updateSlides(),a.updateProgress(),a.updateSlidesClasses(),a.params.freeMode?(i(),a.params.autoHeight&&a.updateAutoHeight()):(("auto"===a.params.slidesPerView||1<a.params.slidesPerView)&&a.isEnd&&!a.params.centeredSlides?a.slideTo(a.slides.length-1,0,!1,!0):a.slideTo(a.activeIndex,0,!1,!0))||i(),t.watchOverflow&&e!==a.snapGrid&&a.checkOverflow(),a.emit("update"))},P.changeDirection=function(t,e){void 0===e&&(e=!0);var a=this,i=a.params.direction;return(t=t||("horizontal"===i?"vertical":"horizontal"))===i||"horizontal"!==t&&"vertical"!==t||(a.$el.removeClass(""+a.params.containerModifierClass+i).addClass(""+a.params.containerModifierClass+t),a.emitContainerClasses(),a.params.direction=t,a.slides.each(function(e){"vertical"===t?e.style.width="":e.style.height=""}),a.emit("changeDirection"),e&&a.update()),a},P.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"),e.emit("afterInit"))},P.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var a,i=this,s=i.params,r=i.$el,n=i.$wrapperEl,o=i.slides;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),s.loop&&i.loopDestroy(),t&&(i.removeClasses(),r.removeAttr("style"),n.removeAttr("style"),o)&&o.length&&o.removeClass([s.slideVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index"),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(function(e){i.off(e)}),!1!==e&&(i.$el[0].swiper=null,a=i,Object.keys(a).forEach(function(e){try{a[e]=null}catch(e){}try{delete a[e]}catch(e){}})),i.destroyed=!0),null},z.extendDefaults=function(e){Q(S,e)},z.installModule=function(e){z.prototype.modules||(z.prototype.modules={});var t=e.name||Object.keys(z.prototype.modules).length+"_"+x();z.prototype.modules[t]=e},z.use=function(e){return Array.isArray(e)?e.forEach(function(e){return z.installModule(e)}):z.installModule(e),z},P=z,k=[{key:"extendedDefaults",get:function(){return S}},{key:"defaults",get:function(){return Y}}],null&&e(P.prototype,null),e(P,k),z);function z(){for(var e,a,t=arguments.length,i=new Array(t),s=0;s<t;s++)i[s]=arguments[s];a=Q({},a=(a=1===i.length&&i[0].constructor&&i[0].constructor===Object?i[0]:(e=i[0],i[1]))||{}),e&&!a.el&&(a.el=e);var r,n,o,l,d,p,c,u,h,m,f,v,g=this,w=(g.support=H(),g.device=(void 0===(f={userAgent:a.userAgent})&&(f={}),y||(f=(void 0===f?{}:f).userAgent,r=H(),v=Z(),n=v.navigator.platform,f=f||v.navigator.userAgent,o={ios:!1,android:!1},w=v.screen.width,v=v.screen.height,l=f.match(/(Android);?[\s\/]+([\d.]+)?/),d=f.match(/(iPad).*OS\s([\d_]+)/),p=f.match(/(iPod)(.*OS\s([\d_]+))?/),c=!d&&f.match(/(iPhone\sOS|iOS)\s([\d_]+)/),u="Win32"===n,n="MacIntel"===n,!d&&n&&r.touch&&0<=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(w+"x"+v)&&(d=(d=f.match(/(Version)\/([\d.]+)/))||[0,1,"13_0_0"]),l&&!u&&(o.os="android",o.android=!0),(d||c||p)&&(o.os="ios",o.ios=!0),y=o),y),g.browser=(E||(n=Z(),E={isEdge:!!n.navigator.userAgent.match(/Edge/g),isSafari:0<=(r=n.navigator.userAgent.toLowerCase()).indexOf("safari")&&r.indexOf("chrome")<0&&r.indexOf("android")<0,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(n.navigator.userAgent)}),E),g.eventsListeners={},g.eventsAnyListeners=[],void 0===g.modules&&(g.modules={}),Object.keys(g.modules).forEach(function(e){var t,e=g.modules[e];e.params&&(t=Object.keys(e.params)[0],"object"==typeof(e=e.params[t]))&&null!==e&&t in a&&"enabled"in e&&(!0===a[t]&&(a[t]={enabled:!0}),"object"!=typeof a[t]||"enabled"in a[t]||(a[t].enabled=!0),a[t]||(a[t]={enabled:!1}))}),Q({},Y)),b=(g.useParams(w),g.params=Q({},w,S,a),g.originalParams=Q({},g.params),g.passedParams=Q({},a),g.params&&g.params.on&&Object.keys(g.params.on).forEach(function(e){g.on(e,g.params.on[e])}),g.params&&g.params.onAny&&g.onAny(g.params.onAny),(g.$=C)(g.params.el));if(e=b[0])return 1<b.length?(h=[],b.each(function(e){e=Q({},a,{el:e});h.push(new z(e))}),h):(e.swiper=g,e&&e.shadowRoot&&e.shadowRoot.querySelector?(m=C(e.shadowRoot.querySelector("."+g.params.wrapperClass))).children=function(e){return b.children(e)}:m=b.children("."+g.params.wrapperClass),Q(g,{$el:b,el:e,$wrapperEl:m,wrapperEl:m[0],classNames:[],slides:C(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===g.params.direction},isVertical:function(){return"vertical"===g.params.direction},rtl:"rtl"===e.dir.toLowerCase()||"rtl"===b.css("direction"),rtlTranslate:"horizontal"===g.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===b.css("direction")),wrongRTL:"-webkit-box"===m.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:g.params.allowSlideNext,allowSlidePrev:g.params.allowSlidePrev,touchEvents:(v=["mousedown","mousemove","mouseup"],g.support.pointerEvents&&(v=["pointerdown","pointermove","pointerup"]),g.touchEventsTouch={start:(f=["touchstart","touchmove","touchend","touchcancel"])[0],move:f[1],end:f[2],cancel:f[3]},g.touchEventsDesktop={start:v[0],move:v[1],end:v[2]},g.support.touch||!g.params.simulateTouch?g.touchEventsTouch:g.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:x(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:g.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),g.useModules(),g.emit("_swiper"),g.params.init&&g.init(),g)}Object.keys(b).forEach(function(t){Object.keys(b[t]).forEach(function(e){M.prototype[e]=b[t][e]})}),M.use([f,v]);var R={update:function(e){var t=this,a=t.params,i=a.slidesPerView,s=a.slidesPerGroup,a=a.centeredSlides,r=t.params.virtual,n=r.addSlidesBefore,r=r.addSlidesAfter,o=t.virtual,l=o.from,d=o.to,p=o.slides,c=o.slidesGrid,u=o.renderSlide,o=o.offset;t.updateActiveIndex();var h,m=t.activeIndex||0,f=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",a=a?(h=Math.floor(i/2)+s+r,Math.floor(i/2)+s+n):(h=i+(s-1)+r,s+n),v=Math.max((m||0)-a,0),g=Math.min((m||0)+h,p.length-1),i=(t.slidesGrid[v]||0)-(t.slidesGrid[0]||0);function w(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(Q(t.virtual,{from:v,to:g,offset:i,slidesGrid:t.slidesGrid}),l!==v||d!==g||e)if(t.params.virtual.renderExternal)t.params.virtual.renderExternal.call(t,{offset:i,from:v,to:g,slides:function(){for(var e=[],t=v;t<=g;t+=1)e.push(p[t]);return e}()}),t.params.virtual.renderExternalUpdate&&w();else{var b=[],y=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(var E=l;E<=d;E+=1)(E<v||g<E)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+E+'"]').remove();for(var T=0;T<p.length;T+=1)v<=T&&T<=g&&(void 0===d||e?y.push(T):(d<T&&y.push(T),T<l&&b.push(T)));y.forEach(function(e){t.$wrapperEl.append(u(p[e],e))}),b.sort(function(e,t){return t-e}).forEach(function(e){t.$wrapperEl.prepend(u(p[e],e))}),t.$wrapperEl.children(".swiper-slide").css(f,i+"px"),w()}else t.slidesGrid!==c&&i!==o&&t.slides.css(f,i+"px"),t.updateProgress()},renderSlide:function(e,t){var a=this,i=a.params.virtual;return i.cache&&a.virtual.cache[t]?a.virtual.cache[t]:((e=i.renderSlide?C(i.renderSlide.call(a,e,t)):C('<div class="'+a.params.slideClass+'" data-swiper-slide-index="'+t+'">'+e+"</div>")).attr("data-swiper-slide-index")||e.attr("data-swiper-slide-index",t),i.cache&&(a.virtual.cache[t]=e),e)},appendSlide:function(e){if("object"==typeof e&&"length"in e)for(var t=0;t<e.length;t+=1)e[t]&&this.virtual.slides.push(e[t]);else this.virtual.slides.push(e);this.virtual.update(!0)},prependSlide:function(e){var i,s,t=this,a=t.activeIndex,r=a+1,n=1;if(Array.isArray(e)){for(var o=0;o<e.length;o+=1)e[o]&&t.virtual.slides.unshift(e[o]);r=a+e.length,n=e.length}else t.virtual.slides.unshift(e);t.params.virtual.cache&&(i=t.virtual.cache,s={},Object.keys(i).forEach(function(e){var t=i[e],a=t.attr("data-swiper-slide-index");a&&t.attr("data-swiper-slide-index",parseInt(a,10)+1),s[parseInt(e,10)+n]=t}),t.virtual.cache=s),t.virtual.update(!0),t.slideTo(r,0)},removeSlide:function(e){var t=this;if(null!=e){var a=t.activeIndex;if(Array.isArray(e))for(var i=e.length-1;0<=i;--i)t.virtual.slides.splice(e[i],1),t.params.virtual.cache&&delete t.virtual.cache[e[i]],e[i]<a&&--a,a=Math.max(a,0);else t.virtual.slides.splice(e,1),t.params.virtual.cache&&delete t.virtual.cache[e],e<a&&--a,a=Math.max(a,0);t.virtual.update(!0),t.slideTo(a,0)}},removeAllSlides:function(){var e=this;e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),e.virtual.update(!0),e.slideTo(0,0)}},P={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}},create:function(){m(this,{virtual:t({},R,{slides:this.params.virtual.slides,cache:{}})})},on:{beforeInit:function(e){var t;e.params.virtual.enabled&&(e.classNames.push(e.params.containerModifierClass+"virtual"),Q(e.params,t={watchSlidesProgress:!0}),Q(e.originalParams,t),e.params.initialSlide||e.virtual.update())},setTranslate:function(e){e.params.virtual.enabled&&e.virtual.update()}}},W={handle:function(e){var t=this,a=Z(),i=w(),s=t.rtlTranslate,r=(e=e.originalEvent?e.originalEvent:e).keyCode||e.charCode,n=t.params.keyboard.pageUpDown,o=n&&33===r,n=n&&34===r,l=37===r,d=39===r,p=38===r,c=40===r;if(!t.allowSlideNext&&(t.isHorizontal()&&d||t.isVertical()&&c||n))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&l||t.isVertical()&&p||o))return!1;if(!(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey||i.activeElement&&i.activeElement.nodeName&&("input"===i.activeElement.nodeName.toLowerCase()||"textarea"===i.activeElement.nodeName.toLowerCase()))){if(t.params.keyboard.onlyInViewport&&(o||n||l||d||p||c)){var u=!1;if(0<t.$el.parents("."+t.params.slideClass).length&&0===t.$el.parents("."+t.params.slideActiveClass).length)return;var h=a.innerWidth,m=a.innerHeight,i=t.$el.offset();s&&(i.left-=t.$el[0].scrollLeft);for(var f=[[i.left,i.top],[i.left+t.width,i.top],[i.left,i.top+t.height],[i.left+t.width,i.top+t.height]],v=0;v<f.length;v+=1){var g=f[v];0<=g[0]&&g[0]<=h&&0<=g[1]&&g[1]<=m&&(0===g[0]&&0===g[1]||(u=!0))}if(!u)return}t.isHorizontal()?((o||n||l||d)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),((n||d)&&!s||(o||l)&&s)&&t.slideNext(),((o||l)&&!s||(n||d)&&s)&&t.slidePrev()):((o||n||p||c)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),(n||c)&&t.slideNext(),(o||p)&&t.slidePrev()),t.emit("keyPress",r)}},enable:function(){var e=w();this.keyboard.enabled||(C(e).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){var e=w();this.keyboard.enabled&&(C(e).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},k={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}},create:function(){m(this,{keyboard:t({enabled:!1},W)})},on:{init:function(e){e.params.keyboard.enabled&&e.keyboard.enable()},destroy:function(e){e.keyboard.enabled&&e.keyboard.disable()}}},$={lastScrollTime:x(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:function(){return-1<Z().navigator.userAgent.indexOf("firefox")?"DOMMouseScroll":(t=w(),(i=(a="onwheel")in t)||((e=t.createElement("div")).setAttribute(a,"return;"),i="function"==typeof e.onwheel),(i=!i&&t.implementation&&t.implementation.hasFeature&&!0!==t.implementation.hasFeature("","")?t.implementation.hasFeature("Events.wheel","3.0"):i)?"wheel":"mousewheel");var e,t,a,i},normalize:function(e){var t=0,a=0,i=0,s=0;return"detail"in e&&(a=e.detail),"wheelDelta"in e&&(a=-e.wheelDelta/120),"wheelDeltaY"in e&&(a=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=a,a=0),i=10*t,s=10*a,"deltaY"in e&&(s=e.deltaY),"deltaX"in e&&(i=e.deltaX),e.shiftKey&&!i&&(i=s,s=0),(i||s)&&e.deltaMode&&(1===e.deltaMode?(i*=40,s*=40):(i*=800,s*=800)),{spinX:t=i&&!t?i<1?-1:1:t,spinY:a=s&&!a?s<1?-1:1:a,pixelX:i,pixelY:s}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var t=e,a=this,i=a.params.mousewheel,s=(a.params.cssMode&&t.preventDefault(),a.$el);if("container"!==a.params.mousewheel.eventsTarget&&(s=C(a.params.mousewheel.eventsTarget)),!a.mouseEntered&&!s[0].contains(t.target)&&!i.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);var s=0,r=a.rtlTranslate?-1:1,n=$.normalize(t);if(i.forceToAxis)if(a.isHorizontal()){if(!(Math.abs(n.pixelX)>Math.abs(n.pixelY)))return!0;s=-n.pixelX*r}else{if(!(Math.abs(n.pixelY)>Math.abs(n.pixelX)))return!0;s=-n.pixelY}else s=Math.abs(n.pixelX)>Math.abs(n.pixelY)?-n.pixelX*r:-n.pixelY;if(0===s)return!0;i.invert&&(s=-s);r=a.getTranslate()+s*i.sensitivity;if((r=r>=a.minTranslate()?a.minTranslate():r)<=a.maxTranslate()&&(r=a.maxTranslate()),(a.params.loop||r!==a.minTranslate()&&r!==a.maxTranslate())&&a.params.nested&&t.stopPropagation(),a.params.freeMode){var o={time:x(),delta:Math.abs(s),direction:Math.sign(s)},n=a.mousewheel.lastEventBeforeSnap,r=n&&o.time<n.time+500&&o.delta<=n.delta&&o.direction===n.direction;if(!r){a.mousewheel.lastEventBeforeSnap=void 0,a.params.loop&&a.loopFix();var l,d,n=a.getTranslate()+s*i.sensitivity,i=a.isBeginning,p=a.isEnd;if((n=n>=a.minTranslate()?a.minTranslate():n)<=a.maxTranslate()&&(n=a.maxTranslate()),a.setTransition(0),a.setTranslate(n),a.updateProgress(),a.updateActiveIndex(),a.updateSlidesClasses(),(!i&&a.isBeginning||!p&&a.isEnd)&&a.updateSlidesClasses(),a.params.freeModeSticky&&(clearTimeout(a.mousewheel.timeout),a.mousewheel.timeout=void 0,15<=(l=a.mousewheel.recentWheelEvents).length&&l.shift(),i=l.length?l[l.length-1]:void 0,p=l[0],l.push(o),i&&(o.delta>i.delta||o.direction!==i.direction)?l.splice(0):15<=l.length&&o.time-p.time<500&&1<=p.delta-o.delta&&o.delta<=6&&(d=0<s?.8:.2,a.mousewheel.lastEventBeforeSnap=o,l.splice(0),a.mousewheel.timeout=T(function(){a.slideToClosest(a.params.speed,!0,void 0,d)},0)),a.mousewheel.timeout||(a.mousewheel.timeout=T(function(){a.mousewheel.lastEventBeforeSnap=o,l.splice(0),a.slideToClosest(a.params.speed,!0,void 0,.5)},500))),r||a.emit("scroll",t),a.params.autoplay&&a.params.autoplayDisableOnInteraction&&a.autoplay.stop(),n===a.minTranslate()||n===a.maxTranslate())return!0}}else{i={time:x(),delta:Math.abs(s),direction:Math.sign(s),raw:e},p=a.mousewheel.recentWheelEvents,r=(2<=p.length&&p.shift(),p.length?p[p.length-1]:void 0);if(p.push(i),(!r||i.direction!==r.direction||i.delta>r.delta||i.time>r.time+150)&&a.mousewheel.animateSlider(i),a.mousewheel.releaseScroll(i))return!0}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},animateSlider:function(e){var t=this,a=Z();return!(this.params.mousewheel.thresholdDelta&&e.delta<this.params.mousewheel.thresholdDelta||this.params.mousewheel.thresholdTime&&x()-t.mousewheel.lastScrollTime<this.params.mousewheel.thresholdTime||!(6<=e.delta&&x()-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 a.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,t=this,a=$.event();return t.params.cssMode?(t.wrapperEl.removeEventListener(a,t.mousewheel.handle),!0):!!a&&!t.mousewheel.enabled&&(e=t.$el,(e="container"!==t.params.mousewheel.eventsTarget?C(t.params.mousewheel.eventsTarget):e).on("mouseenter",t.mousewheel.handleMouseEnter),e.on("mouseleave",t.mousewheel.handleMouseLeave),e.on(a,t.mousewheel.handle),t.mousewheel.enabled=!0)},disable:function(){var e,t=this,a=$.event();return t.params.cssMode?(t.wrapperEl.addEventListener(a,t.mousewheel.handle),!0):!!a&&!(!t.mousewheel.enabled||(e=t.$el,(e="container"!==t.params.mousewheel.eventsTarget?C(t.params.mousewheel.eventsTarget):e).off(a,t.mousewheel.handle),t.mousewheel.enabled=!1))}},q={update:function(){var e,t,a=this,i=a.params.navigation;a.params.loop||(e=(t=a.navigation).$nextEl,(t=t.$prevEl)&&0<t.length&&(a.isBeginning?t.addClass(i.disabledClass):t.removeClass(i.disabledClass),t[a.params.watchOverflow&&a.isLocked?"addClass":"removeClass"](i.lockClass)),e&&0<e.length&&(a.isEnd?e.addClass(i.disabledClass):e.removeClass(i.disabledClass),e[a.params.watchOverflow&&a.isLocked?"addClass":"removeClass"](i.lockClass)))},onPrevClick:function(e){e.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick:function(e){e.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init:function(){var e,t,a=this,i=a.params.navigation;(i.nextEl||i.prevEl)&&(i.nextEl&&(e=C(i.nextEl),a.params.uniqueNavElements)&&"string"==typeof i.nextEl&&1<e.length&&1===a.$el.find(i.nextEl).length&&(e=a.$el.find(i.nextEl)),i.prevEl&&(t=C(i.prevEl),a.params.uniqueNavElements)&&"string"==typeof i.prevEl&&1<t.length&&1===a.$el.find(i.prevEl).length&&(t=a.$el.find(i.prevEl)),e&&0<e.length&&e.on("click",a.navigation.onNextClick),t&&0<t.length&&t.on("click",a.navigation.onPrevClick),Q(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,t=t.$prevEl;a&&a.length&&(a.off("click",e.navigation.onNextClick),a.removeClass(e.params.navigation.disabledClass)),t&&t.length&&(t.off("click",e.navigation.onPrevClick),t.removeClass(e.params.navigation.disabledClass))}},_={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:e).slides.length,r=e.pagination.$el,n=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))>s-1-2*e.loopedSlides&&(i-=s-2*e.loopedSlides),n-1<i&&(i-=n),i<0&&"bullets"!==e.params.paginationType&&(i=n+i)):i=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===a.type&&e.pagination.bullets&&0<e.pagination.bullets.length){var o,l,d,p=e.pagination.bullets;if(a.dynamicBullets&&(e.pagination.bulletSize=p.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),r.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(a.dynamicMainBullets+4)+"px"),1<a.dynamicMainBullets&&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,d=((l=o+(Math.min(p.length,a.dynamicMainBullets)-1))+o)/2),p.removeClass(a.bulletActiveClass+" "+a.bulletActiveClass+"-next "+a.bulletActiveClass+"-next-next "+a.bulletActiveClass+"-prev "+a.bulletActiveClass+"-prev-prev "+a.bulletActiveClass+"-main"),1<r.length)p.each(function(e){var e=C(e),t=e.index();t===i&&e.addClass(a.bulletActiveClass),a.dynamicBullets&&(o<=t&&t<=l&&e.addClass(a.bulletActiveClass+"-main"),t===o&&e.prev().addClass(a.bulletActiveClass+"-prev").prev().addClass(a.bulletActiveClass+"-prev-prev"),t===l)&&e.next().addClass(a.bulletActiveClass+"-next").next().addClass(a.bulletActiveClass+"-next-next")});else{var s=p.eq(i),c=s.index();if(s.addClass(a.bulletActiveClass),a.dynamicBullets){for(var s=p.eq(o),u=p.eq(l),h=o;h<=l;h+=1)p.eq(h).addClass(a.bulletActiveClass+"-main");if(e.params.loop)if(c>=p.length-a.dynamicMainBullets){for(var m=a.dynamicMainBullets;0<=m;--m)p.eq(p.length-m).addClass(a.bulletActiveClass+"-main");p.eq(p.length-a.dynamicMainBullets-1).addClass(a.bulletActiveClass+"-prev")}else s.prev().addClass(a.bulletActiveClass+"-prev").prev().addClass(a.bulletActiveClass+"-prev-prev"),u.next().addClass(a.bulletActiveClass+"-next").next().addClass(a.bulletActiveClass+"-next-next");else s.prev().addClass(a.bulletActiveClass+"-prev").prev().addClass(a.bulletActiveClass+"-prev-prev"),u.next().addClass(a.bulletActiveClass+"-next").next().addClass(a.bulletActiveClass+"-next-next")}}a.dynamicBullets&&(c=Math.min(p.length,a.dynamicMainBullets+4),s=(e.pagination.bulletSize*c-e.pagination.bulletSize)/2-d*e.pagination.bulletSize,u=t?"right":"left",p.css(e.isHorizontal()?u:"top",s+"px"))}"fraction"===a.type&&(r.find("."+a.currentClass).text(a.formatFractionCurrent(i+1)),r.find("."+a.totalClass).text(a.formatFractionTotal(n))),"progressbar"===a.type&&(c=a.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical",d=(i+1)/n,u=t=1,"horizontal"==c?t=d:u=d,r.find("."+a.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+t+") scaleY("+u+")").transition(e.params.speed)),"custom"===a.type&&a.renderCustom?(r.html(a.renderCustom(e,i+1,n)),e.emit("paginationRender",r[0])):e.emit("paginationUpdate",r[0]),r[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: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<r;n+=1)t.renderBullet?s+=t.renderBullet.call(e,n,t.bulletClass):s+="<"+t.bulletElement+' class="'+t.bulletClass+'"></'+t.bulletElement+">";i.html(s),e.pagination.bullets=i.find("."+t.bulletClass.replace(/ /g,"."))}"fraction"===t.type&&(s=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):'<span class="'+t.currentClass+'"></span> / <span class="'+t.totalClass+'"></span>',i.html(s)),"progressbar"===t.type&&(s=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'<span class="'+t.progressbarFillClass+'"></span>',i.html(s)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var e,t=this,a=t.params.pagination;a.el&&0!==(e=C(a.el)).length&&(t.params.uniqueNavElements&&"string"==typeof a.el&&1<e.length&&(e=t.$el.find(a.el)),"bullets"===a.type&&a.clickable&&e.addClass(a.clickableClass),e.addClass(a.modifierClass+a.type),"bullets"===a.type&&a.dynamicBullets&&(e.addClass(""+a.modifierClass+a.type+"-dynamic"),t.pagination.dynamicBulletIndex=0,a.dynamicMainBullets<1)&&(a.dynamicMainBullets=1),"progressbar"===a.type&&a.progressbarOpposite&&e.addClass(a.progressbarOppositeClass),a.clickable&&e.on("click","."+a.bulletClass.replace(/ /g,"."),function(e){e.preventDefault();e=C(this).index()*t.params.slidesPerGroup;t.params.loop&&(e+=t.loopedSlides),t.slideTo(e)}),Q(t.pagination,{$el:e,el:e[0]}))},destroy:function(){var e,t=this,a=t.params.pagination;a.el&&t.pagination.el&&t.pagination.$el&&0!==t.pagination.$el.length&&((e=t.pagination.$el).removeClass(a.hiddenClass),e.removeClass(a.modifierClass+a.type),t.pagination.bullets&&t.pagination.bullets.removeClass(a.bulletActiveClass),a.clickable)&&e.off("click","."+a.bulletClass.replace(/ /g,"."))}},j={setTranslate:function(){var e,t,a,i,s,r,n,o,l=this;l.params.scrollbar.el&&l.scrollbar.el&&(r=l.scrollbar,e=l.rtlTranslate,o=l.progress,t=r.dragSize,a=r.trackSize,i=r.$dragEl,s=r.$el,r=l.params.scrollbar,o=(a-(n=t))*o,e?0<(o=-o)?(n=t-o,o=0):a<-o+t&&(n=a+o):o<0?(n=t+o,o=0):a<o+t&&(n=a-o),l.isHorizontal()?(i.transform("translate3d("+o+"px, 0, 0)"),i[0].style.width=n+"px"):(i.transform("translate3d(0px, "+o+"px, 0)"),i[0].style.height=n+"px"),r.hide)&&(clearTimeout(l.scrollbar.timeout),s[0].style.opacity=1,l.scrollbar.timeout=setTimeout(function(){s[0].style.opacity=0,s.transition(400)},1e3))},setTransition:function(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize:function(){var e,t,a,i,s,r,n,o=this;o.params.scrollbar.el&&o.scrollbar.el&&(t=(e=o.scrollbar).$dragEl,a=e.$el,t[0].style.width="",t[0].style.height="",i=o.isHorizontal()?a[0].offsetWidth:a[0].offsetHeight,r=(s=o.size/o.virtualSize)*(i/o.size),n="auto"===o.params.scrollbar.dragSize?i*s:parseInt(o.params.scrollbar.dragSize,10),o.isHorizontal()?t[0].style.width=n+"px":t[0].style.height=n+"px",a[0].style.display=1<=s?"none":"",o.params.scrollbar.hide&&(a[0].style.opacity=0),Q(e,{trackSize:i,divider:s,moveDivider:r,dragSize:n}),e.$el[o.params.watchOverflow&&o.isLocked?"addClass":"removeClass"](o.params.scrollbar.lockClass))},getPointerPosition:function(e){return this.isHorizontal()?("touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0]:e).clientX:("touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0]:e).clientY},setDragPosition:function(e){var t=this,a=t.scrollbar,i=t.rtlTranslate,s=a.$el,r=a.dragSize,n=a.trackSize,o=a.dragStartPos,a=(a.getPointerPosition(e)-s.offset()[t.isHorizontal()?"left":"top"]-(null!==o?o:r/2))/(n-r),e=(a=Math.max(Math.min(a,1),0),i&&(a=1-a),t.minTranslate()+(t.maxTranslate()-t.minTranslate())*a);t.updateProgress(e),t.setTranslate(e),t.updateActiveIndex(),t.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.params.cssMode&&t.$wrapperEl.css("scroll-snap-type","none"),t.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this.scrollbar,a=this.$wrapperEl,i=t.$el,s=t.$dragEl;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),a.transition(0),i.transition(0),s.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this,a=t.params.scrollbar,i=t.scrollbar,s=t.$wrapperEl,r=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=T(function(){r.css("opacity",0),r.transition(400)},1e3)),t.emit("scrollbarDragEnd",e),a.snapOnRelease)&&t.slideToClosest()},enableDraggable:function(){var e,t,a,i,s,r,n,o=this;o.params.scrollbar.el&&(e=w(),s=o.scrollbar,t=o.touchEventsTouch,a=o.touchEventsDesktop,n=o.params,i=o.support,s=s.$el[0],r=!(!i.passiveListener||!n.passiveListeners)&&{passive:!1,capture:!1},n=!(!i.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1},i.touch?(s.addEventListener(t.start,o.scrollbar.onDragStart,r),s.addEventListener(t.move,o.scrollbar.onDragMove,r),s.addEventListener(t.end,o.scrollbar.onDragEnd,n)):(s.addEventListener(a.start,o.scrollbar.onDragStart,r),e.addEventListener(a.move,o.scrollbar.onDragMove,r),e.addEventListener(a.end,o.scrollbar.onDragEnd,n)))},disableDraggable:function(){var e,t,a,i,s,r,n,o=this;o.params.scrollbar.el&&(e=w(),s=o.scrollbar,t=o.touchEventsTouch,a=o.touchEventsDesktop,n=o.params,i=o.support,s=s.$el[0],r=!(!i.passiveListener||!n.passiveListeners)&&{passive:!1,capture:!1},n=!(!i.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1},i.touch?(s.removeEventListener(t.start,o.scrollbar.onDragStart,r),s.removeEventListener(t.move,o.scrollbar.onDragMove,r),s.removeEventListener(t.end,o.scrollbar.onDragEnd,n)):(s.removeEventListener(a.start,o.scrollbar.onDragStart,r),e.removeEventListener(a.move,o.scrollbar.onDragMove,r),e.removeEventListener(a.end,o.scrollbar.onDragEnd,n)))},init:function(){var e,t,a,i,s=this;s.params.scrollbar.el&&(e=s.scrollbar,i=s.$el,a=C((t=s.params.scrollbar).el),0===(i=(a=s.params.uniqueNavElements&&"string"==typeof t.el&&1<a.length&&1===i.find(t.el).length?i.find(t.el):a).find("."+s.params.scrollbar.dragClass)).length&&(i=C('<div class="'+s.params.scrollbar.dragClass+'"></div>'),a.append(i)),Q(e,{$el:a,el:a[0],$dragEl:i,dragEl:i[0]}),t.draggable)&&e.enableDraggable()},destroy:function(){this.scrollbar.disableDraggable()}},U={setTransform:function(e,t){var a=this.rtl,e=C(e),a=a?-1:1,i=e.attr("data-swiper-parallax")||"0",s=e.attr("data-swiper-parallax-x"),r=e.attr("data-swiper-parallax-y"),n=e.attr("data-swiper-parallax-scale"),o=e.attr("data-swiper-parallax-opacity");s||r?(s=s||"0",r=r||"0"):this.isHorizontal()?(s=i,r="0"):(r=i,s="0"),s=0<=s.indexOf("%")?parseInt(s,10)*t*a+"%":s*t*a+"px",r=0<=r.indexOf("%")?parseInt(r,10)*t+"%":r*t+"px",null!=o&&(i=o-(o-1)*(1-Math.abs(t)),e[0].style.opacity=i),null==n?e.transform("translate3d("+s+", "+r+", 0px)"):(a=n-(n-1)*(1-Math.abs(t)),e.transform("translate3d("+s+", "+r+", 0px) scale("+a+")"))},setTranslate:function(){var i=this,e=i.$el,t=i.slides,s=i.progress,r=i.snapGrid;e.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e){i.parallax.setTransform(e,s)}),t.each(function(e,t){var a=e.progress;1<i.params.slidesPerGroup&&"auto"!==i.params.slidesPerView&&(a+=Math.ceil(t/2)-s*(r.length-1)),a=Math.min(Math.max(a,-1),1),C(e).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e){i.parallax.setTransform(e,a)})})},setTransition:function(a){void 0===a&&(a=this.params.speed),this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e){var e=C(e),t=parseInt(e.attr("data-swiper-parallax-duration"),10)||a;0===a&&(t=0),e.transition(t)})}},L={getDistanceBetweenTouches:function(e){var t,a,i;return e.targetTouches.length<2?1:(t=e.targetTouches[0].pageX,a=e.targetTouches[0].pageY,i=e.targetTouches[1].pageX,e=e.targetTouches[1].pageY,Math.sqrt(Math.pow(i-t,2)+Math.pow(e-a,2)))},onGestureStart:function(e){var t=this,a=t.support,i=t.params.zoom,s=t.zoom,r=s.gesture;if(s.fakeGestureTouched=!1,s.fakeGestureMoved=!1,!a.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;s.fakeGestureTouched=!0,r.scaleStart=L.getDistanceBetweenTouches(e)}r.$slideEl&&r.$slideEl.length||(r.$slideEl=C(e.target).closest("."+t.params.slideClass),0===r.$slideEl.length&&(r.$slideEl=t.slides.eq(t.activeIndex)),r.$imageEl=r.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),r.$imageWrapEl=r.$imageEl.parent("."+i.containerClass),r.maxRatio=r.$imageWrapEl.attr("data-swiper-zoom")||i.maxRatio,0!==r.$imageWrapEl.length)?(r.$imageEl&&r.$imageEl.transition(0),t.zoom.isScaling=!0):r.$imageEl=void 0},onGestureChange:function(e){var t=this.support,a=this.params.zoom,i=this.zoom,s=i.gesture;if(!t.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;i.fakeGestureMoved=!0,s.scaleMove=L.getDistanceBetweenTouches(e)}s.$imageEl&&0!==s.$imageEl.length?(t.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.scale<a.minRatio&&(i.scale=a.minRatio+1-Math.pow(a.minRatio-i.scale+1,.5)),s.$imageEl.transform("translate3d(0,0,0) scale("+i.scale+")")):"gesturechange"===e.type&&i.onGestureStart(e)},onGestureEnd:function(e){var t=this,a=t.device,i=t.support,s=t.params.zoom,r=t.zoom,n=r.gesture;if(!i.gestures){if(!r.fakeGestureTouched||!r.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!a.android)return;r.fakeGestureTouched=!1,r.fakeGestureMoved=!1}n.$imageEl&&0!==n.$imageEl.length&&(r.scale=Math.max(Math.min(r.scale,n.maxRatio),s.minRatio),n.$imageEl.transition(t.params.speed).transform("translate3d(0,0,0) scale("+r.scale+")"),r.currentScale=r.scale,r.isScaling=!1,1===r.scale)&&(n.$slideEl=void 0)},onTouchStart:function(e){var t=this.device,a=this.zoom,i=a.gesture,a=a.image;i.$imageEl&&0!==i.$imageEl.length&&!a.isTouched&&(t.android&&e.cancelable&&e.preventDefault(),a.isTouched=!0,a.touchesStart.x=("touchstart"===e.type?e.targetTouches[0]:e).pageX,a.touchesStart.y=("touchstart"===e.type?e.targetTouches[0]:e).pageY)},onTouchMove:function(e){var t=this,a=t.zoom,i=a.gesture,s=a.image,r=a.velocity;if(i.$imageEl&&0!==i.$imageEl.length&&(t.allowClick=!1,s.isTouched)&&i.$slideEl){s.isMoved||(s.width=i.$imageEl[0].offsetWidth,s.height=i.$imageEl[0].offsetHeight,s.startX=u(i.$imageWrapEl[0],"x")||0,s.startY=u(i.$imageWrapEl[0],"y")||0,i.slideWidth=i.$slideEl[0].offsetWidth,i.slideHeight=i.$slideEl[0].offsetHeight,i.$imageWrapEl.transition(0),t.rtl&&(s.startX=-s.startX,s.startY=-s.startY));var n=s.width*a.scale,o=s.height*a.scale;if(!(n<i.slideWidth&&o<i.slideHeight)){if(s.minX=Math.min(i.slideWidth/2-n/2,0),s.maxX=-s.minX,s.minY=Math.min(i.slideHeight/2-o/2,0),s.maxY=-s.minY,s.touchesCurrent.x=("touchmove"===e.type?e.targetTouches[0]:e).pageX,s.touchesCurrent.y=("touchmove"===e.type?e.targetTouches[0]:e).pageY,!s.isMoved&&!a.isScaling){if(t.isHorizontal()&&(Math.floor(s.minX)===Math.floor(s.startX)&&s.touchesCurrent.x<s.touchesStart.x||Math.floor(s.maxX)===Math.floor(s.startX)&&s.touchesCurrent.x>s.touchesStart.x))return void(s.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(s.minY)===Math.floor(s.startY)&&s.touchesCurrent.y<s.touchesStart.y||Math.floor(s.maxY)===Math.floor(s.startY)&&s.touchesCurrent.y>s.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.currentX<s.minX&&(s.currentX=s.minX+1-Math.pow(s.minX-s.currentX+1,.8)),s.currentX>s.maxX&&(s.currentX=s.maxX-1+Math.pow(s.currentX-s.maxX+1,.8)),s.currentY<s.minY&&(s.currentY=s.minY+1-Math.pow(s.minY-s.currentY+1,.8)),s.currentY>s.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,t,a,i,s=this.zoom,r=s.gesture,n=s.image,o=s.velocity;r.$imageEl&&0!==r.$imageEl.length&&(n.isTouched&&n.isMoved?(n.isTouched=!1,n.isMoved=!1,e=o.x*(a=300),e=n.currentX+e,t=o.y*(i=300),t=n.currentY+t,0!==o.x&&(a=Math.abs((e-n.currentX)/o.x)),0!==o.y&&(i=Math.abs((t-n.currentY)/o.y)),o=Math.max(a,i),n.currentX=e,n.currentY=t,a=n.width*s.scale,i=n.height*s.scale,n.minX=Math.min(r.slideWidth/2-a/2,0),n.maxX=-n.minX,n.minY=Math.min(r.slideHeight/2-i/2,0),n.maxY=-n.minY,n.currentX=Math.max(Math.min(n.currentX,n.maxX),n.minX),n.currentY=Math.max(Math.min(n.currentY,n.maxY),n.minY),r.$imageWrapEl.transition(o).transform("translate3d("+n.currentX+"px, "+n.currentY+"px,0)")):(n.isTouched=!1,n.isMoved=!1))},onTransitionEnd:function(){var e=this.zoom,t=e.gesture;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl&&t.$imageEl.transform("translate3d(0,0,0) scale(1)"),t.$imageWrapEl&&t.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,a,i,s,r=this,n=r.zoom,o=r.params.zoom,l=n.gesture,d=n.image;l.$slideEl||(r.params.virtual&&r.params.virtual.enabled&&r.virtual?l.$slideEl=r.$wrapperEl.children("."+r.params.slideActiveClass):l.$slideEl=r.slides.eq(r.activeIndex),l.$imageEl=l.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),l.$imageWrapEl=l.$imageEl.parent("."+o.containerClass)),l.$imageEl&&0!==l.$imageEl.length&&(l.$slideEl.addClass(""+o.zoomedSlideClass),r=void 0===d.touchesStart.x&&e?(t=("touchend"===e.type?e.changedTouches[0]:e).pageX,("touchend"===e.type?e.changedTouches[0]:e).pageY):(t=d.touchesStart.x,d.touchesStart.y),n.scale=l.$imageWrapEl.attr("data-swiper-zoom")||o.maxRatio,n.currentScale=l.$imageWrapEl.attr("data-swiper-zoom")||o.maxRatio,e?(d=l.$slideEl[0].offsetWidth,o=l.$slideEl[0].offsetHeight,e=l.$slideEl.offset().left+d/2-t,t=l.$slideEl.offset().top+o/2-r,r=l.$imageEl[0].offsetWidth,s=l.$imageEl[0].offsetHeight,r=r*n.scale,s=s*n.scale,r=-(d=Math.min(d/2-r/2,0)),s=-(o=Math.min(o/2-s/2,0)),r<(a=(a=e*n.scale)<d?d:a)&&(a=r),s<(i=(i=t*n.scale)<o?o:i)&&(i=s)):i=a=0,l.$imageWrapEl.transition(300).transform("translate3d("+a+"px, "+i+"px,0)"),l.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+n.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("."+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("."+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(""+a.zoomedSlideClass),i.$slideEl=void 0)},toggleGestures:function(e){var t=this.zoom,a=t.slideSelector,i=t.passiveListener;this.$wrapperEl[e]("gesturestart",a,t.onGestureStart,i),this.$wrapperEl[e]("gesturechange",a,t.onGestureChange,i),this.$wrapperEl[e]("gestureend",a,t.onGestureEnd,i)},enableGestures:function(){this.zoom.gesturesEnabled||(this.zoom.gesturesEnabled=!0,this.zoom.toggleGestures("on"))},disableGestures:function(){this.zoom.gesturesEnabled&&(this.zoom.gesturesEnabled=!1,this.zoom.toggleGestures("off"))},enable:function(){var e,t,a,i=this,s=i.support,r=i.zoom;r.enabled||(r.enabled=!0,e=!("touchstart"!==i.touchEvents.start||!s.passiveListener||!i.params.passiveListeners)&&{passive:!0,capture:!1},t=!s.passiveListener||{passive:!1,capture:!0},a="."+i.params.slideClass,i.zoom.passiveListener=e,i.zoom.slideSelector=a,s.gestures?(i.$wrapperEl.on(i.touchEvents.start,i.zoom.enableGestures,e),i.$wrapperEl.on(i.touchEvents.end,i.zoom.disableGestures,e)):"touchstart"===i.touchEvents.start&&(i.$wrapperEl.on(i.touchEvents.start,a,r.onGestureStart,e),i.$wrapperEl.on(i.touchEvents.move,a,r.onGestureChange,t),i.$wrapperEl.on(i.touchEvents.end,a,r.onGestureEnd,e),i.touchEvents.cancel)&&i.$wrapperEl.on(i.touchEvents.cancel,a,r.onGestureEnd,e),i.$wrapperEl.on(i.touchEvents.move,"."+i.params.zoom.containerClass,r.onTouchMove,t))},disable:function(){var e,t,a,i,s=this,r=s.zoom;r.enabled&&(e=s.support,s.zoom.enabled=!1,t=!("touchstart"!==s.touchEvents.start||!e.passiveListener||!s.params.passiveListeners)&&{passive:!0,capture:!1},a=!e.passiveListener||{passive:!1,capture:!0},i="."+s.params.slideClass,e.gestures?(s.$wrapperEl.off(s.touchEvents.start,s.zoom.enableGestures,t),s.$wrapperEl.off(s.touchEvents.end,s.zoom.disableGestures,t)):"touchstart"===s.touchEvents.start&&(s.$wrapperEl.off(s.touchEvents.start,i,r.onGestureStart,t),s.$wrapperEl.off(s.touchEvents.move,i,r.onGestureChange,a),s.$wrapperEl.off(s.touchEvents.end,i,r.onGestureEnd,t),s.touchEvents.cancel)&&s.$wrapperEl.off(s.touchEvents.cancel,i,r.onGestureEnd,t),s.$wrapperEl.off(s.touchEvents.move,"."+s.params.zoom.containerClass,r.onTouchMove,a))}},K={loadInSlide:function(e,l){void 0===l&&(l=!0);var d,p=this,c=p.params.lazy;void 0!==e&&0!==p.slides.length&&(e=(d=p.virtual&&p.params.virtual.enabled?p.$wrapperEl.children("."+p.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):p.slides.eq(e)).find("."+c.elementClass+":not(."+c.loadedClass+"):not(."+c.loadingClass+")"),!d.hasClass(c.elementClass)||d.hasClass(c.loadedClass)||d.hasClass(c.loadingClass)||e.push(d[0]),0!==e.length)&&e.each(function(e){var a=C(e),i=(a.addClass(c.loadingClass),a.attr("data-background")),s=a.attr("data-src"),r=a.attr("data-srcset"),n=a.attr("data-sizes"),o=a.parent("picture");p.loadImage(a[0],s||i,r,n,!1,function(){var e,t;null==p||!p||p&&!p.params||p.destroyed||(i?(a.css("background-image",'url("'+i+'")'),a.removeAttr("data-background")):(r&&(a.attr("srcset",r),a.removeAttr("data-srcset")),n&&(a.attr("sizes",n),a.removeAttr("data-sizes")),o.length&&o.children("source").each(function(e){e=C(e);e.attr("data-srcset")&&(e.attr("srcset",e.attr("data-srcset")),e.removeAttr("data-srcset"))}),s&&(a.attr("src",s),a.removeAttr("data-src"))),a.addClass(c.loadedClass).removeClass(c.loadingClass),d.find("."+c.preloaderClass).remove(),p.params.loop&&l&&(e=d.attr("data-swiper-slide-index"),d.hasClass(p.params.slideDuplicateClass)?(t=p.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+p.params.slideDuplicateClass+")"),p.lazy.loadInSlide(t.index(),!1)):(t=p.$wrapperEl.children("."+p.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]'),p.lazy.loadInSlide(t.index(),!1))),p.emit("lazyImageReady",d[0],a[0]),p.params.autoHeight&&p.updateAutoHeight())}),p.emit("lazyImageLoad",d[0],a[0])})},load:function(){var t=this,a=t.$wrapperEl,i=t.params,s=t.slides,e=t.activeIndex,r=t.virtual&&i.virtual.enabled,n=i.lazy,o=i.slidesPerView;function l(e){if(r){if(a.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return 1}else if(s[e])return 1}function d(e){return r?C(e).attr("data-swiper-slide-index"):C(e).index()}if("auto"===o&&(o=0),t.lazy.initialImageLoaded||(t.lazy.initialImageLoaded=!0),t.params.watchSlidesVisibility)a.children("."+i.slideVisibleClass).each(function(e){e=r?C(e).attr("data-swiper-slide-index"):C(e).index();t.lazy.loadInSlide(e)});else if(1<o)for(var p=e;p<e+o;p+=1)l(p)&&t.lazy.loadInSlide(p);else t.lazy.loadInSlide(e);if(n.loadPrevNext)if(1<o||n.loadPrevNextAmount&&1<n.loadPrevNextAmount){for(var n=n.loadPrevNextAmount,c=o,u=Math.min(e+c+Math.max(n,c),s.length),c=Math.max(e-Math.max(c,n),0),h=e+o;h<u;h+=1)l(h)&&t.lazy.loadInSlide(h);for(var m=c;m<e;m+=1)l(m)&&t.lazy.loadInSlide(m)}else{n=a.children("."+i.slideNextClass),c=(0<n.length&&t.lazy.loadInSlide(d(n)),a.children("."+i.slidePrevClass));0<c.length&&t.lazy.loadInSlide(d(c))}},checkInViewOnLoad:function(){var e=Z(),t=this;if(t&&!t.destroyed){var a=t.params.lazy.scrollingElement?C(t.params.lazy.scrollingElement):C(e),i=a[0]===e,s=i?e.innerWidth:a[0].offsetWidth,r=i?e.innerHeight:a[0].offsetHeight,i=t.$el.offset(),n=!1;t.rtlTranslate&&(i.left-=t.$el[0].scrollLeft);for(var o=[[i.left,i.top],[i.left+t.width,i.top],[i.left,i.top+t.height],[i.left+t.width,i.top+t.height]],l=0;l<o.length;l+=1){var d=o[l];0<=d[0]&&d[0]<=s&&0<=d[1]&&d[1]<=r&&(0===d[0]&&0===d[1]||(n=!0))}n?(t.lazy.load(),a.off("scroll",t.lazy.checkInViewOnLoad)):t.lazy.scrollHandlerAttached||(t.lazy.scrollHandlerAttached=!0,a.on("scroll",t.lazy.checkInViewOnLoad))}}},I={LinearSpline:function(e,t){var a,i,s,r,n;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(n=function(e,t){for(i=-1,a=e.length;1<a-i;)e[s=a+i>>1]<=t?i=s:a=s;return a}(this.x,e),r=n-1,(e-this.x[r])*(this.y[n]-this.y[r])/(this.x[n]-this.x[r])+this.y[r]):0},this},getInterpolateFunction:function(e){var t=this;t.controller.spline||(t.controller.spline=t.params.loop?new I.LinearSpline(t.slidesGrid,e.slidesGrid):new I.LinearSpline(t.snapGrid,e.snapGrid))},setTranslate:function(e,t){var a,i,s=this,r=s.controller.control,n=s.constructor;function o(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 l=0;l<r.length;l+=1)r[l]!==t&&r[l]instanceof n&&o(r[l]);else r instanceof n&&t!==r&&o(r)},setTransition:function(t,e){var a,i=this,s=i.constructor,r=i.controller.control;function n(e){e.setTransition(t,i),0!==t&&(e.transitionStart(),e.params.autoHeight&&T(function(){e.updateAutoHeight()}),e.$wrapperEl.transitionEnd(function(){r&&(e.params.loop&&"slide"===i.params.controller.by&&e.loopFix(),e.transitionEnd())}))}if(Array.isArray(r))for(a=0;a<r.length;a+=1)r[a]!==e&&r[a]instanceof s&&n(r[a]);else r instanceof s&&e!==r&&n(r)}},J={getRandomNumber:function(e){return"x".repeat(e=void 0===e?16:e).replace(/x/g,function(){return Math.round(16*Math.random()).toString(16)})},makeElFocusable:function(e){return e.attr("tabIndex","0"),e},makeElNotFocusable:function(e){return e.attr("tabIndex","-1"),e},addElRole:function(e,t){return e.attr("role",t),e},addElRoleDescription:function(e,t){return e.attr("aria-role-description",t),e},addElControls:function(e,t){return e.attr("aria-controls",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},addElId:function(e,t){return e.attr("id",t),e},addElLive:function(e,t){return e.attr("aria-live",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){var t=this,a=t.params.a11y;13===e.keyCode&&(e=C(e.target),t.navigation&&t.navigation.$nextEl&&e.is(t.navigation.$nextEl)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?t.a11y.notify(a.lastSlideMessage):t.a11y.notify(a.nextSlideMessage)),t.navigation&&t.navigation.$prevEl&&e.is(t.navigation.$prevEl)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?t.a11y.notify(a.firstSlideMessage):t.a11y.notify(a.prevSlideMessage)),t.pagination)&&e.is("."+t.params.pagination.bulletClass.replace(/ /g,"."))&&e[0].click()},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){var e,t,a=this;!a.params.loop&&a.navigation&&(e=(t=a.navigation).$nextEl,(t=t.$prevEl)&&0<t.length&&(a.isBeginning?(a.a11y.disableEl(t),a.a11y.makeElNotFocusable(t)):(a.a11y.enableEl(t),a.a11y.makeElFocusable(t))),e)&&0<e.length&&(a.isEnd?(a.a11y.disableEl(e),a.a11y.makeElNotFocusable(e)):(a.a11y.enableEl(e),a.a11y.makeElFocusable(e)))},updatePagination:function(){var t=this,a=t.params.a11y;t.pagination&&t.params.pagination.clickable&&t.pagination.bullets&&t.pagination.bullets.length&&t.pagination.bullets.each(function(e){e=C(e);t.a11y.makeElFocusable(e),t.params.pagination.renderBullet||(t.a11y.addElRole(e,"button"),t.a11y.addElLabel(e,a.paginationBulletMessage.replace(/\{\{index\}\}/,e.index()+1)))})},init:function(){var t=this,e=t.params.a11y,a=(t.$el.append(t.a11y.liveRegion),t.$el);e.containerRoleDescriptionMessage&&t.a11y.addElRoleDescription(a,e.containerRoleDescriptionMessage),e.containerMessage&&t.a11y.addElLabel(a,e.containerMessage);var i,s,r,a=t.$wrapperEl,n=a.attr("id")||"swiper-wrapper-"+t.a11y.getRandomNumber(16);t.a11y.addElId(a,n),i=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite",t.a11y.addElLive(a,i),e.itemRoleDescriptionMessage&&t.a11y.addElRoleDescription(C(t.slides),e.itemRoleDescriptionMessage),t.a11y.addElRole(C(t.slides),"group"),t.slides.each(function(e){e=C(e);t.a11y.addElLabel(e,e.index()+1+" / "+t.slides.length)}),t.navigation&&t.navigation.$nextEl&&(s=t.navigation.$nextEl),t.navigation&&t.navigation.$prevEl&&(r=t.navigation.$prevEl),s&&s.length&&(t.a11y.makeElFocusable(s),"BUTTON"!==s[0].tagName&&(t.a11y.addElRole(s,"button"),s.on("keydown",t.a11y.onEnterKey)),t.a11y.addElLabel(s,e.nextSlideMessage),t.a11y.addElControls(s,n)),r&&r.length&&(t.a11y.makeElFocusable(r),"BUTTON"!==r[0].tagName&&(t.a11y.addElRole(r,"button"),r.on("keydown",t.a11y.onEnterKey)),t.a11y.addElLabel(r,e.prevSlideMessage),t.a11y.addElControls(r,n)),t.pagination&&t.params.pagination.clickable&&t.pagination.bullets&&t.pagination.bullets.length&&t.pagination.$el.on("keydown","."+t.params.pagination.bulletClass.replace(/ /g,"."),t.a11y.onEnterKey)},destroy:function(){var e,t,a=this;a.a11y.liveRegion&&0<a.a11y.liveRegion.length&&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.replace(/ /g,"."),a.a11y.onEnterKey)}},O={init:function(){var e,t=this,a=Z();t.params.history&&(a.history&&a.history.pushState?((e=t.history).initialized=!0,e.paths=O.getPathValues(t.params.url),(e.paths.key||e.paths.value)&&(e.scrollToSlide(0,e.paths.value,t.params.runCallbacksOnInit),t.params.history.replaceState||a.addEventListener("popstate",t.history.setHistoryPopState))):(t.params.history.enabled=!1,t.params.hashNavigation.enabled=!0))},destroy:function(){var e=Z();this.params.history.replaceState||e.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){var e=this;e.history.paths=O.getPathValues(e.params.url),e.history.scrollToSlide(e.params.speed,e.history.paths.value,!1)},getPathValues:function(e){var t=Z(),e=(e?new URL(e):t.location).pathname.slice(1).split("/").filter(function(e){return""!==e}),t=e.length;return{key:e[t-2],value:e[t-1]}},setHistory:function(e,t){var a,i=this,s=Z();i.history.initialized&&i.params.history.enabled&&(a=i.params.url?new URL(i.params.url):s.location,t=i.slides.eq(t),t=O.slugify(t.attr("data-history")),a.pathname.includes(e)||(t=e+"/"+t),(a=s.history.state)&&a.value===t||(i.params.history.replaceState?s.history.replaceState({value:t},null,t):s.history.pushState({value:t},null,t)))},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<r;s+=1){var n=i.slides.eq(s);O.slugify(n.attr("data-history"))!==t||n.hasClass(i.params.slideDuplicateClass)||(n=n.index(),i.slideTo(n,e,a))}else i.slideTo(0,e,a)}},ee={onHashCange:function(){var e=this,t=w(),t=(e.emit("hashChange"),t.location.hash.replace("#",""));t!==e.slides.eq(e.activeIndex).attr("data-hash")&&void 0!==(t=e.$wrapperEl.children("."+e.params.slideClass+'[data-hash="'+t+'"]').index())&&e.slideTo(t)},setHash:function(){var e=this,t=Z(),a=w();e.hashNavigation.initialized&&e.params.hashNavigation.enabled&&(e.params.hashNavigation.replaceState&&t.history&&t.history.replaceState?t.history.replaceState(null,null,"#"+e.slides.eq(e.activeIndex).attr("data-hash")||""):(t=(t=e.slides.eq(e.activeIndex)).attr("data-hash")||t.attr("data-history"),a.location.hash=t||""),e.emit("hashSet"))},init:function(){var e=this,t=w(),a=Z();if(!(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)){e.hashNavigation.initialized=!0;var i=t.location.hash.replace("#","");if(i)for(var s=0,r=e.slides.length;s<r;s+=1){var n=e.slides.eq(s);(n.attr("data-hash")||n.attr("data-history"))!==i||n.hasClass(e.params.slideDuplicateClass)||(n=n.index(),e.slideTo(n,0,e.params.runCallbacksOnInit,!0))}e.params.hashNavigation.watchState&&C(a).on("hashchange",e.hashNavigation.onHashCange)}},destroy:function(){var e=Z();this.params.hashNavigation.watchState&&C(e).off("hashchange",this.hashNavigation.onHashCange)}},te={run:function(){var t=this,e=t.slides.eq(t.activeIndex),a=t.params.autoplay.delay;e.attr("data-swiper-autoplay")&&(a=e.attr("data-swiper-autoplay")||t.params.autoplay.delay),clearTimeout(t.autoplay.timeout),t.autoplay.timeout=T(function(){var e;t.params.autoplay.reverseDirection?t.params.loop?(t.loopFix(),e=t.slidePrev(t.params.speed,!0,!0),t.emit("autoplay")):t.isBeginning?t.params.autoplay.stopOnLastSlide?t.autoplay.stop():(e=t.slideTo(t.slides.length-1,t.params.speed,!0,!0),t.emit("autoplay")):(e=t.slidePrev(t.params.speed,!0,!0),t.emit("autoplay")):t.params.loop?(t.loopFix(),e=t.slideNext(t.params.speed,!0,!0),t.emit("autoplay")):t.isEnd?t.params.autoplay.stopOnLastSlide?t.autoplay.stop():(e=t.slideTo(0,t.params.speed,!0,!0),t.emit("autoplay")):(e=t.slideNext(t.params.speed,!0,!0),t.emit("autoplay")),(t.params.cssMode&&t.autoplay.running||!1===e)&&t.autoplay.run()},a)},start:function(){var e=this;return void 0===e.autoplay.timeout&&!e.autoplay.running&&(e.autoplay.running=!0,e.emit("autoplayStart"),e.autoplay.run(),!0)},stop:function(){var e=this;return!!e.autoplay.running&&void 0!==e.autoplay.timeout&&(e.autoplay.timeout&&(clearTimeout(e.autoplay.timeout),e.autoplay.timeout=void 0),e.autoplay.running=!1,e.emit("autoplayStop"),!0)},pause:function(e){var t=this;t.autoplay.running&&!t.autoplay.paused&&(t.autoplay.timeout&&clearTimeout(t.autoplay.timeout),t.autoplay.paused=!0,0!==e&&t.params.autoplay.waitForTransition?(t.$wrapperEl[0].addEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].addEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd)):(t.autoplay.paused=!1,t.autoplay.run()))},onVisibilityChange:function(){var e=this,t=w();"hidden"===t.visibilityState&&e.autoplay.running&&e.autoplay.pause(),"visible"===t.visibilityState&&e.autoplay.paused&&(e.autoplay.run(),e.autoplay.paused=!1)},onTransitionEnd:function(e){var t=this;t&&!t.destroyed&&t.$wrapperEl&&e.target===t.$wrapperEl[0]&&(t.$wrapperEl[0].removeEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].removeEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd),t.autoplay.paused=!1,t.autoplay.running?t.autoplay.run():t.autoplay.stop())}},ae={setTranslate:function(){for(var e=this,t=e.slides,a=0;a<t.length;a+=1){var i=e.slides.eq(a),s=-i[0].swiperSlideOffset,r=(e.params.virtualTranslate||(s-=e.translate),0),n=(e.isHorizontal()||(r=s,s=0),e.params.fadeEffect.crossFade?Math.max(1-Math.abs(i[0].progress),0):1+Math.min(Math.max(i[0].progress,-1),0));i.css({opacity:n}).transform("translate3d("+s+"px, "+r+"px, 0px)")}},setTransition:function(e){var a,i=this,t=i.slides,s=i.$wrapperEl;t.transition(e),i.params.virtualTranslate&&0!==e&&(a=!1,t.transitionEnd(function(){if(!a&&i&&!i.destroyed){a=!0,i.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],t=0;t<e.length;t+=1)s.trigger(e[t])}}))}},ie={setTranslate:function(){var e=this,t=e.$el,a=e.$wrapperEl,i=e.slides,s=e.width,r=e.height,n=e.rtlTranslate,o=e.size,l=e.browser,d=e.params.cubeEffect,p=e.isHorizontal(),c=e.virtual&&e.params.virtual.enabled,u=0;d.shadow&&(p?(0===(x=a.find(".swiper-cube-shadow")).length&&(x=C('<div class="swiper-cube-shadow"></div>'),a.append(x)),x.css({height:s+"px"})):0===(x=t.find(".swiper-cube-shadow")).length&&(x=C('<div class="swiper-cube-shadow"></div>'),t.append(x)));for(var h,m=0;m<i.length;m+=1){var f=i.eq(m),v=m,g=90*(v=c?parseInt(f.attr("data-swiper-slide-index"),10):v),w=Math.floor(g/360),b=(n&&(g=-g,w=Math.floor(-g/360)),Math.max(Math.min(f[0].progress,1),-1)),y=0,E=0,T=0,w=(v%4==0?(y=4*-w*o,T=0):(v-1)%4==0?(y=0,T=4*-w*o):(v-2)%4==0?(y=o+4*w*o,T=o):(v-3)%4==0&&(y=-o,T=3*o+4*o*w),n&&(y=-y),p||(E=y,y=0),"rotateX("+(p?0:-g)+"deg) rotateY("+(p?g:0)+"deg) translate3d("+y+"px, "+E+"px, "+T+"px)");b<=1&&-1<b&&(u=90*v+90*b,n)&&(u=90*-v-90*b),f.transform(w),d.slideShadows&&(g=p?f.find(".swiper-slide-shadow-left"):f.find(".swiper-slide-shadow-top"),y=p?f.find(".swiper-slide-shadow-right"):f.find(".swiper-slide-shadow-bottom"),0===g.length&&(g=C('<div class="swiper-slide-shadow-'+(p?"left":"top")+'"></div>'),f.append(g)),0===y.length&&(y=C('<div class="swiper-slide-shadow-'+(p?"right":"bottom")+'"></div>'),f.append(y)),g.length&&(g[0].style.opacity=Math.max(-b,0)),y.length)&&(y[0].style.opacity=Math.max(b,0))}a.css({"-webkit-transform-origin":"50% 50% -"+o/2+"px","-moz-transform-origin":"50% 50% -"+o/2+"px","-ms-transform-origin":"50% 50% -"+o/2+"px","transform-origin":"50% 50% -"+o/2+"px"}),d.shadow&&(p?x.transform("translate3d(0px, "+(s/2+d.shadowOffset)+"px, "+-s/2+"px) rotateX(90deg) rotateZ(0deg) scale("+d.shadowScale+")"):(t=Math.abs(u)-90*Math.floor(Math.abs(u)/90),s=1.5-(Math.sin(2*t*Math.PI/360)/2+Math.cos(2*t*Math.PI/360)/2),t=d.shadowScale,s=d.shadowScale/s,h=d.shadowOffset,x.transform("scale3d("+t+", 1, "+s+") translate3d(0px, "+(r/2+h)+"px, "+-r/2/s+"px) rotateX(-90deg)")));var x=l.isSafari||l.isWebView?-o/2:0;a.transform("translate3d(0px,0,"+x+"px) rotateX("+(e.isHorizontal()?0:u)+"deg) rotateY("+(e.isHorizontal()?-u:0)+"deg)")},setTransition:function(e){var t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},se={setTranslate:function(){for(var e=this,t=e.slides,a=e.rtlTranslate,i=0;i<t.length;i+=1){var s,r,n=t.eq(i),o=n[0].progress,l=-180*(o=e.params.flipEffect.limitRotation?Math.max(Math.min(n[0].progress,1),-1):o),d=0,p=-n[0].swiperSlideOffset,c=0;e.isHorizontal()?a&&(l=-l):(c=p,d=-l,l=p=0),n[0].style.zIndex=-Math.abs(Math.round(o))+t.length,e.params.flipEffect.slideShadows&&(s=e.isHorizontal()?n.find(".swiper-slide-shadow-left"):n.find(".swiper-slide-shadow-top"),r=e.isHorizontal()?n.find(".swiper-slide-shadow-right"):n.find(".swiper-slide-shadow-bottom"),0===s.length&&(s=C('<div class="swiper-slide-shadow-'+(e.isHorizontal()?"left":"top")+'"></div>'),n.append(s)),0===r.length&&(r=C('<div class="swiper-slide-shadow-'+(e.isHorizontal()?"right":"bottom")+'"></div>'),n.append(r)),s.length&&(s[0].style.opacity=Math.max(-o,0)),r.length)&&(r[0].style.opacity=Math.max(o,0)),n.transform("translate3d("+p+"px, "+c+"px, 0px) rotateX("+d+"deg) rotateY("+l+"deg)")}},setTransition:function(e){var a,i=this,t=i.slides,s=i.activeIndex,r=i.$wrapperEl;t.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),i.params.virtualTranslate&&0!==e&&(a=!1,t.eq(s).transitionEnd(function(){if(!a&&i&&!i.destroyed){a=!0,i.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],t=0;t<e.length;t+=1)r.trigger(e[t])}}))}},re={setTranslate:function(){for(var e=this,t=e.width,a=e.height,i=e.slides,s=e.slidesSizesGrid,r=e.params.coverflowEffect,n=e.isHorizontal(),e=e.translate,o=n?t/2-e:a/2-e,l=n?r.rotate:-r.rotate,d=r.depth,p=0,c=i.length;p<c;p+=1){var u=i.eq(p),h=s[p],m=(o-u[0].swiperSlideOffset-h/2)/h*r.modifier,f=n?l*m:0,v=n?0:l*m,g=-d*Math.abs(m),w=r.stretch,h=("string"==typeof w&&-1!==w.indexOf("%")&&(w=parseFloat(r.stretch)/100*h),n?0:w*m),w=n?w*m:0,b=1-(1-r.scale)*Math.abs(m),w=(Math.abs(w)<.001&&(w=0),Math.abs(h)<.001&&(h=0),Math.abs(g)<.001&&(g=0),Math.abs(f)<.001&&(f=0),"translate3d("+w+"px,"+h+"px,"+g+"px) rotateX("+(v=Math.abs(v)<.001?0:v)+"deg) rotateY("+f+"deg) scale("+(b=Math.abs(b)<.001?0:b)+")");u.transform(w),u[0].style.zIndex=1-Math.abs(Math.round(m)),r.slideShadows&&(h=n?u.find(".swiper-slide-shadow-left"):u.find(".swiper-slide-shadow-top"),g=n?u.find(".swiper-slide-shadow-right"):u.find(".swiper-slide-shadow-bottom"),0===h.length&&(h=C('<div class="swiper-slide-shadow-'+(n?"left":"top")+'"></div>'),u.append(h)),0===g.length&&(g=C('<div class="swiper-slide-shadow-'+(n?"right":"bottom")+'"></div>'),u.append(g)),h.length&&(h[0].style.opacity=0<m?m:0),g.length)&&(g[0].style.opacity=0<-m?-m:0)}},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},ne={init:function(){var e=this,t=e.params.thumbs;if(e.thumbs.initialized)return!1;e.thumbs.initialized=!0;var a=e.constructor;return t.swiper instanceof a?(e.thumbs.swiper=t.swiper,Q(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Q(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):h(t.swiper)&&(e.thumbs.swiper=new a(Q({},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),!0},onThumbClick:function(){var e,t,a,i=this,s=i.thumbs.swiper;s&&(e=s.clickedIndex,(a=s.clickedSlide)&&C(a).hasClass(i.params.thumbs.slideThumbActiveClass)||null==e||(a=s.params.loop?parseInt(C(s.clickedSlide).attr("data-swiper-slide-index"),10):e,i.params.loop&&(s=i.activeIndex,i.slides.eq(s).hasClass(i.params.slideDuplicateClass)&&(i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft,s=i.activeIndex),e=i.slides.eq(s).prevAll('[data-swiper-slide-index="'+a+'"]').eq(0).index(),t=i.slides.eq(s).nextAll('[data-swiper-slide-index="'+a+'"]').eq(0).index(),a=void 0===e||void 0!==t&&t-s<s-e?t:e),i.slideTo(a)))},update:function(e){var t=this,a=t.thumbs.swiper;if(a){var i,s,r,n="auto"===a.params.slidesPerView?a.slidesPerViewDynamic():a.params.slidesPerView,o=t.params.thumbs.autoScrollOffset,l=o&&!a.params.loop,d=((t.realIndex!==a.realIndex||l)&&(i=a.activeIndex,r=a.params.loop?(a.slides.eq(i).hasClass(a.params.slideDuplicateClass)&&(a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft,i=a.activeIndex),r=a.slides.eq(i).prevAll('[data-swiper-slide-index="'+t.realIndex+'"]').eq(0).index(),s=a.slides.eq(i).nextAll('[data-swiper-slide-index="'+t.realIndex+'"]').eq(0).index(),s=void 0===r?s:void 0===s?r:s-i==i-r?i:s-i<i-r?s:r,t.activeIndex>t.previousIndex?"next":"prev"):(s=t.realIndex)>t.previousIndex?"next":"prev",l&&(s+="next"===r?o:-1*o),a.visibleSlidesIndexes)&&a.visibleSlidesIndexes.indexOf(s)<0&&(a.params.centeredSlides?s=i<s?s-Math.floor(n/2)+1:s+Math.floor(n/2)-1:i<s&&(s=s-n+1),a.slideTo(s,e?0:void 0)),1),p=t.params.thumbs.slideThumbActiveClass;if(1<t.params.slidesPerView&&!t.params.centeredSlides&&(d=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(d=1),d=Math.floor(d),a.slides.removeClass(p),a.params.loop||a.params.virtual&&a.params.virtual.enabled)for(var c=0;c<d;c+=1)a.$wrapperEl.children('[data-swiper-slide-index="'+(t.realIndex+c)+'"]').addClass(p);else for(var u=0;u<d;u+=1)a.slides.eq(t.realIndex+u).addClass(p)}}};return M.use([P,k,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}},create:function(){m(this,{mousewheel:{enabled:!1,lastScrollTime:x(),lastEventBeforeSnap:void 0,recentWheelEvents:[],enable:$.enable,disable:$.disable,handle:$.handle,handleMouseEnter:$.handleMouseEnter,handleMouseLeave:$.handleMouseLeave,animateSlider:$.animateSlider,releaseScroll:$.releaseScroll}})},on:{init:function(e){!e.params.mousewheel.enabled&&e.params.cssMode&&e.mousewheel.disable(),e.params.mousewheel.enabled&&e.mousewheel.enable()},destroy:function(e){e.params.cssMode&&e.mousewheel.enable(),e.mousewheel.enabled&&e.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){m(this,{navigation:t({},q)})},on:{init:function(e){e.navigation.init(),e.navigation.update()},toEdge:function(e){e.navigation.update()},fromEdge:function(e){e.navigation.update()},destroy:function(e){e.navigation.destroy()},click:function(e,t){var a,i=e.navigation,s=i.$nextEl,i=i.$prevEl;!e.params.navigation.hideOnClick||C(t.target).is(i)||C(t.target).is(s)||(s?a=s.hasClass(e.params.navigation.hiddenClass):i&&(a=i.hasClass(e.params.navigation.hiddenClass)),!0===a?e.emit("navigationShow"):e.emit("navigationHide"),s&&s.toggleClass(e.params.navigation.hiddenClass),i&&i.toggleClass(e.params.navigation.hiddenClass))}}},{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(){m(this,{pagination:t({dynamicBulletIndex:0},_)})},on:{init:function(e){e.pagination.init(),e.pagination.render(),e.pagination.update()},activeIndexChange:function(e){!e.params.loop&&void 0!==e.snapIndex||e.pagination.update()},snapIndexChange:function(e){e.params.loop||e.pagination.update()},slidesLengthChange:function(e){e.params.loop&&(e.pagination.render(),e.pagination.update())},snapGridLengthChange:function(e){e.params.loop||(e.pagination.render(),e.pagination.update())},destroy:function(e){e.pagination.destroy()},click:function(e,t){e.params.pagination.el&&e.params.pagination.hideOnClick&&0<e.pagination.$el.length&&!C(t.target).hasClass(e.params.pagination.bulletClass)&&(!0===e.pagination.$el.hasClass(e.params.pagination.hiddenClass)?e.emit("paginationShow"):e.emit("paginationHide"),e.pagination.$el.toggleClass(e.params.pagination.hiddenClass))}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){m(this,{scrollbar:t({isTouched:!1,timeout:null,dragTimeout:null},j)})},on:{init:function(e){e.scrollbar.init(),e.scrollbar.updateSize(),e.scrollbar.setTranslate()},update:function(e){e.scrollbar.updateSize()},resize:function(e){e.scrollbar.updateSize()},observerUpdate:function(e){e.scrollbar.updateSize()},setTranslate:function(e){e.scrollbar.setTranslate()},setTransition:function(e,t){e.scrollbar.setTransition(t)},destroy:function(e){e.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){m(this,{parallax:t({},U)})},on:{beforeInit:function(e){e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},init:function(e){e.params.parallax.enabled&&e.parallax.setTranslate()},setTranslate:function(e){e.params.parallax.enabled&&e.parallax.setTranslate()},setTransition:function(e,t){e.params.parallax.enabled&&e.parallax.setTransition(t)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var i=this,s=(m(i,{zoom: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}},L)}),1);Object.defineProperty(i.zoom,"scale",{get:function(){return s},set:function(e){var t,a;s!==e&&(t=i.zoom.gesture.$imageEl?i.zoom.gesture.$imageEl[0]:void 0,a=i.zoom.gesture.$slideEl?i.zoom.gesture.$slideEl[0]:void 0,i.emit("zoomChange",e,t,a)),s=e}})},on:{init:function(e){e.params.zoom.enabled&&e.zoom.enable()},destroy:function(e){e.zoom.disable()},touchStart:function(e,t){e.zoom.enabled&&e.zoom.onTouchStart(t)},touchEnd:function(e,t){e.zoom.enabled&&e.zoom.onTouchEnd(t)},doubleTap:function(e,t){e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&e.zoom.toggle(t)},transitionEnd:function(e){e.zoom.enabled&&e.params.zoom.enabled&&e.zoom.onTransitionEnd()},slideChange:function(e){e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&e.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){m(this,{lazy:t({initialImageLoaded:!1},K)})},on:{beforeInit:function(e){e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)},init:function(e){e.params.lazy.enabled&&!e.params.loop&&0===e.params.initialSlide&&(e.params.lazy.checkInView?e.lazy.checkInViewOnLoad():e.lazy.load())},scroll:function(e){e.params.freeMode&&!e.params.freeModeSticky&&e.lazy.load()},resize:function(e){e.params.lazy.enabled&&e.lazy.load()},scrollbarDragMove:function(e){e.params.lazy.enabled&&e.lazy.load()},transitionStart:function(e){e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!e.lazy.initialImageLoaded)&&e.lazy.load()},transitionEnd:function(e){e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&e.lazy.load()},slideChange:function(e){e.params.lazy.enabled&&e.params.cssMode&&e.lazy.load()}}},{name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){m(this,{controller:t({control:this.params.controller.control},I)})},on:{update:function(e){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},resize:function(e){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},observerUpdate:function(e){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},setTranslate:function(e,t,a){e.controller.control&&e.controller.setTranslate(t,a)},setTransition:function(e,t,a){e.controller.control&&e.controller.setTransition(t,a)}}},{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}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null}},create:function(){m(this,{a11y:t({},J,{liveRegion:C('<span class="'+this.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')})})},on:{afterInit:function(e){e.params.a11y.enabled&&(e.a11y.init(),e.a11y.updateNavigation())},toEdge:function(e){e.params.a11y.enabled&&e.a11y.updateNavigation()},fromEdge:function(e){e.params.a11y.enabled&&e.a11y.updateNavigation()},paginationUpdate:function(e){e.params.a11y.enabled&&e.a11y.updatePagination()},destroy:function(e){e.params.a11y.enabled&&e.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){m(this,{history:t({},O)})},on:{init:function(e){e.params.history.enabled&&e.history.init()},destroy:function(e){e.params.history.enabled&&e.history.destroy()},transitionEnd:function(e){e.history.initialized&&e.history.setHistory(e.params.history.key,e.activeIndex)},slideChange:function(e){e.history.initialized&&e.params.cssMode&&e.history.setHistory(e.params.history.key,e.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){m(this,{hashNavigation:t({initialized:!1},ee)})},on:{init:function(e){e.params.hashNavigation.enabled&&e.hashNavigation.init()},destroy:function(e){e.params.hashNavigation.enabled&&e.hashNavigation.destroy()},transitionEnd:function(e){e.hashNavigation.initialized&&e.hashNavigation.setHash()},slideChange:function(e){e.hashNavigation.initialized&&e.params.cssMode&&e.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){m(this,{autoplay:t({},te,{running:!1,paused:!1})})},on:{init:function(e){e.params.autoplay.enabled&&(e.autoplay.start(),w().addEventListener("visibilitychange",e.autoplay.onVisibilityChange))},beforeTransitionStart:function(e,t,a){e.autoplay.running&&(a||!e.params.autoplay.disableOnInteraction?e.autoplay.pause(t):e.autoplay.stop())},sliderFirstMove:function(e){e.autoplay.running&&(e.params.autoplay.disableOnInteraction?e.autoplay.stop():e.autoplay.pause())},touchEnd:function(e){e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&e.autoplay.run()},destroy:function(e){e.autoplay.running&&e.autoplay.stop(),w().removeEventListener("visibilitychange",e.autoplay.onVisibilityChange)}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){m(this,{fadeEffect:t({},ae)})},on:{beforeInit:function(e){var t;"fade"===e.params.effect&&(e.classNames.push(e.params.containerModifierClass+"fade"),Q(e.params,t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0}),Q(e.originalParams,t))},setTranslate:function(e){"fade"===e.params.effect&&e.fadeEffect.setTranslate()},setTransition:function(e,t){"fade"===e.params.effect&&e.fadeEffect.setTransition(t)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){m(this,{cubeEffect:t({},ie)})},on:{beforeInit:function(e){var t;"cube"===e.params.effect&&(e.classNames.push(e.params.containerModifierClass+"cube"),e.classNames.push(e.params.containerModifierClass+"3d"),Q(e.params,t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0}),Q(e.originalParams,t))},setTranslate:function(e){"cube"===e.params.effect&&e.cubeEffect.setTranslate()},setTransition:function(e,t){"cube"===e.params.effect&&e.cubeEffect.setTransition(t)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){m(this,{flipEffect:t({},se)})},on:{beforeInit:function(e){var t;"flip"===e.params.effect&&(e.classNames.push(e.params.containerModifierClass+"flip"),e.classNames.push(e.params.containerModifierClass+"3d"),Q(e.params,t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0}),Q(e.originalParams,t))},setTranslate:function(e){"flip"===e.params.effect&&e.flipEffect.setTranslate()},setTransition:function(e,t){"flip"===e.params.effect&&e.flipEffect.setTransition(t)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}},create:function(){m(this,{coverflowEffect:t({},re)})},on:{beforeInit:function(e){"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(e){"coverflow"===e.params.effect&&e.coverflowEffect.setTranslate()},setTransition:function(e,t){"coverflow"===e.params.effect&&e.coverflowEffect.setTransition(t)}}},{name:"thumbs",params:{thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){m(this,{thumbs:t({swiper:null,initialized:!1},ne)})},on:{beforeInit:function(e){var t=e.params.thumbs;t&&t.swiper&&(e.thumbs.init(),e.thumbs.update(!0))},slideChange:function(e){e.thumbs.swiper&&e.thumbs.update()},update:function(e){e.thumbs.swiper&&e.thumbs.update()},resize:function(e){e.thumbs.swiper&&e.thumbs.update()},observerUpdate:function(e){e.thumbs.swiper&&e.thumbs.update()},setTransition:function(e,t){e=e.thumbs.swiper;e&&e.setTransition(t)},beforeDestroy:function(e){var t=e.thumbs.swiper;t&&e.thumbs.swiperCreated&&t&&t.destroy()}}}]),M}),function(o){var l=0;function d(e,t,a){return e.is("[data-"+t+"]")?"string"!=typeof e.data(t)?parseInt(e.data(t),10):e.data(t):a}etTheme.swipers=[],etTheme.autoinit.swiperFunc=etTheme.swiperFunc=function(){var r,n;o(".swiper-container").not(".initialized, .et-self-init-slider, .elementor-image-carousel-wrapper, .elementor-slides-wrapper, .elementor-background-slideshow, .etheme-elementor-slider, .wpsp-product-section").each(function(){n=!1;var t=o(this),a="swiper-unique-id-"+l,e=(t.addClass("swiper-"+a+" initialized").attr("id",a),t.parent().hasClass("swipers-couple-wrapper")?t:t.parent());e.find(".swiper-button-prev, .swiper-custom-left").addClass("swiper-button-prev-"+a),e.find(".swiper-button-next, .swiper-custom-right").addClass("swiper-button-next-"+a),t.find(".elementor-swiper-button").length||t.find(".elementor-image-carousel").length||t.find(".swiper-pagination").addClass("swiper-pagination-"+a),window.elementorFrontend&&!t.parents().hasClass("single-product")&&(t.parent().parent().find(".swiper-button-prev, .swiper-custom-left").addClass("swiper-button-prev-"+a),t.parent().parent().find(".swiper-button-next, .swiper-custom-right").addClass("swiper-button-next-"+a),e=t.parent().parent().attr("data-id"),s=t.parent().parent().parent().prev(".et-tabs-nav"),o(s).find('ul li[data-id="'+e+'"].swiper-button-prev').addClass("swiper-button-prev-"+a),o(s).find('ul li[data-id="'+e+'"].swiper-button-next').addClass("swiper-button-next-"+a)),t.parents().hasClass("mpc-container")&&!t.parents(".mpc-container").data("active")&&t.find("img").removeClass("swiper-lazy").addClass("swiper-pre-lazy");let i=!1;d(t,"autoplay",!1)&&(i={delay:d(t,"autoplay",!1),disableOnInteraction:!1});var s={freeMode:!1,centeredSlides:!1,preloadImages:!1,lazyImages:!0,mousewheel:!1,grabCursor:!1};t.is("[data-free-mode]")?(s.freeMode=d(t,"freeMode",!0),s.preloadImages=!0,s.lazyImages=!1,s.mousewheel=!0,s.grabCursor=!0):s.centeredSlides=d(t,"center",!1),t.hasClass("swiper-control-top")&&(r=a,t.parent().hasClass("swiper-vertical-images"))&&(n=!0),etTheme.swipers["swiper-"+a]=new Swiper(".swiper-"+a,{pagination:{el:".swiper-pagination-"+a,clickable:!0},navigation:{nextEl:".swiper-button-next-"+a,prevEl:".swiper-button-prev-"+a},grabCursor:s.grabCursor,autoplay:i,loop:!!t.is("[data-loop]"),slidesPerView:d(t,"slides-per-view",!0),slidesPerGroup:d(t,"slides-per-group",!0),autoHeight:!!t.is("[data-autoheight]"),centeredSlides:s.centeredSlides,freeMode:s.freeMode,breakpoints:window.elementorFrontend&&!n?{0:{slidesPerView:t.is("[data-xs-slides]")&&"auto"!=t.attr("data-xs-slides")?parseInt(t.attr("data-xs-slides"),10):"auto"},481:{slidesPerView:t.is("[data-sm-slides]")&&"auto"!=t.attr("data-sm-slides")?parseInt(t.attr("data-sm-slides"),10):"auto"},1199:{slidesPerView:t.is("[data-lt-slides]")&&"auto"!=t.attr("data-lt-slides")?parseInt(t.attr("data-lt-slides"),10):"auto"}}:t.is("[data-breakpoints]")?{0:{slidesPerView:t.is("[data-xs-slides]")&&"auto"!=t.attr("data-xs-slides")?parseInt(t.attr("data-xs-slides"),10):"auto"},640:{slidesPerView:t.is("[data-sm-slides]")&&"auto"!=t.attr("data-sm-slides")?parseInt(t.attr("data-sm-slides"),10):"auto"},1024:{slidesPerView:t.attr("data-md-slides")&&"auto"!=t.attr("data-md-slides")?parseInt(t.attr("data-md-slides"),10):"auto"},1370:{slidesPerView:t.attr("data-lt-slides")&&"auto"!=t.attr("data-lt-slides")?parseInt(t.attr("data-lt-slides"),10):"auto"}}:{},initialSlide:d(t,"initialslide",0),speed:d(t,"speed",500),mousewheel:s.mousewheel,direction:t.is("[data-direction]")?t.data("direction"):"horizontal",spaceBetween:t.is("[data-space]")?t.data("space"):10,watchSlidesProgress:!0,preloadImages:s.preloadImages,lazy:s.lazyImages,observer:!0,observeParents:!0,watchSlidesVisibility:!0,slidesPerColumn:d(t,"slidespercolumn",1),effect:t.is("[data-effect]")?t.data("effect"):"slide",on:{init:function(){(this.slides.length<=1||this.isBeginning&&this.isEnd)&&(this.allowTouchMove=!1,t.find(".swiper-wrapper").addClass("no-dragging"))},update:function(){!(1<this.slides.length)||this.isBeginning&&this.isEnd||(this.allowTouchMove=!0,t.find(".swiper-wrapper").removeClass("no-dragging"))},transitionStart:function(){t.is("[data-loop]")&&etTheme.global_image_lazy()}}}),o(document).on("click",".mpc-tabs__nav-item",function(){var e=t.parents(".mpc-container");e.addClass("et_load-tab"),t.find("img.swiper-pre-lazy").not(".lazy-off").addClass("swiper-lazy"),etTheme.swipers["swiper-"+a].lazy.load(),t.find("img.swiper-lazy-loaded")&&e.removeClass("et_load-tab").addClass("et_loaded-tab")}),etConfig.builders.is_wpbakery&&(o(document).on("click",".vc_tta-tab",function(){etTheme.swipers["swiper-"+a].init(),etTheme.swipers["swiper-"+a].update()}),o(".vc_tta-tab").each(function(){var e=o(this)[0];new MutationObserver(function(e){etTheme.swipers["swiper-"+a].init(),etTheme.swipers["swiper-"+a].update()}).observe(e,{attributes:!0,attributeFilter:["class"],childList:!1,characterData:!1})}),setTimeout(function(){o(".vc_tta-tab.vc_active").click()},500),o(window).bind("vc_js",function(){etTheme.swipers["swiper-"+a].update()})),o(window).on("load",function(){etTheme.swipers["swiper-"+a].init(),etTheme.swipers["swiper-"+a].update(),etTheme.swipers["swiper-"+a].lazy.load(),setTimeout(function(){etTheme.swipers["swiper-"+a].lazy.load()},900)}),etConfig.variationGallery?(o(".variations_form").on("found_variation",function(){setTimeout(function(){etTheme.swipers["swiper-"+a].init(),etTheme.swipers["swiper-"+a].update(),etTheme.swipers["swiper-"+a].lazy.load(),etTheme.swipers["swiper-"+a].slideTo(0)},300)}).on("reset_data",function(){setTimeout(function(){etTheme.swipers["swiper-"+a].init(),etTheme.swipers["swiper-"+a].update(),etTheme.swipers["swiper-"+a].lazy.load(),etTheme.swipers["swiper-"+a].slideTo(0)},300)}),o(document).on("click",".et-quick-view-wrapper .st-swatch-preview li, .et-quick-view-wrapper .sten-reset-loop-variation",function(){setTimeout(function(){etTheme.swipers["swiper-"+a].init(),etTheme.swipers["swiper-"+a].update(),etTheme.swipers["swiper-"+a].lazy.load()},300)})):o(".variations_form").on("found_variation reset_data reset_image",function(){setTimeout(function(){etTheme.swipers["swiper-"+a].init(),etTheme.swipers["swiper-"+a].update(),etTheme.swipers["swiper-"+a].slideTo(0)},300)}),o(document).on("click",".quick-view-info .sten-reset-loop-variation, .quick-view-info .st-swatch-preview li",function(){etTheme.swipers["swiper-"+a].slideTo(0)}),etTheme.swipers["swiper-"+a].update(),l++}),o(window).ready(function(){etTheme.secondInitSwipers(),void 0!==etTheme.reinitSwatches&&etTheme.reinitSwatches(),o(".swiper-wrapper.thumbnails-list .swiper-slide").eq(0).addClass("active-thumbnail"),o(".swiper-container-multirow").each(function(){etTheme.swipers["swiper-"+o(this).attr("id")].init(),etTheme.swipers["swiper-"+o(this).attr("id")].update()})}),r&&etTheme.swipers["swiper-"+r].on("transitionStart",function(){var e=0|etTheme.swipers["swiper-"+r].realIndex;o(".swiper-wrapper.thumbnails-list .swiper-slide").removeClass("active-thumbnail"),o(".swiper-wrapper.thumbnails-list .swiper-slide").eq(e).addClass("active-thumbnail"),o(".slick-slider.vertical-thumbnails .slick-slide").eq(e).trigger("click")}),o(document).on("click",".thumbnail-item",function(){o(this).addClass("active-thumbnail"),o(this).siblings(o(this)).removeClass("active-thumbnail");var e=o(this).closest(".swipers-couple-wrapper").find(".thumbnail-item").index(this);return etTheme.swipers["swiper-"+o(this).closest(".swipers-couple-wrapper").find(".swiper-control-top").attr("id")].slideTo(e),!1}),o(".swiper-container.stop-on-hover").on("mouseenter",function(){etTheme.swipers["swiper-"+o(this).attr("id")].autoplay.stop()}).on("mouseleave",function(){etTheme.swipers["swiper-"+o(this).attr("id")].autoplay.start()}),etTheme.resizeVideo()},etTheme.secondInitSwipers=function(){o(".swiper-container:not(.second-initialized)").each(function(){var e=o(this),t=e.parent().hasClass("swipers-couple-wrapper")?e:e.parent(),a=t.find(".swiper-button-prev.swiper-button-disabled, .swiper-custom-left.swiper-button-disabled"),t=t.find(".swiper-button-next.swiper-button-disabled, .swiper-custom-right.swiper-button-disabled");0<t.length&&0<a.length&&(e.hasClass("swiper-control-top")&&etConfig.variationGallery||(t.remove(),a.remove())),e.addClass("second-initialized")}),o(document).trigger("et_second_inited_swipers")}}(jQuery);