(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7471dea9"],{7212:function(e,t,s){
/*!
 * vue-awesome-swiper v4.1.1
 * Copyright (c) Surmon. All rights reserved.
 * Released under the MIT License.
 * Surmon <https://github.com/surmon-china>
 */
(function(e,a){a(t,s("b619"),s("8bbf"))})(0,(function(e,t,s){"use strict";var a;t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t["default"]:t,s=s&&Object.prototype.hasOwnProperty.call(s,"default")?s["default"]:s,function(e){e["SwiperComponent"]="Swiper",e["SwiperSlideComponent"]="SwiperSlide",e["SwiperDirective"]="swiper",e["SwiperInstance"]="$swiper"}(a||(a={}));var i,n,r=Object.freeze({containerClass:"swiper-container",wrapperClass:"swiper-wrapper",slideClass:"swiper-slide"});(function(e){e["Ready"]="ready",e["ClickSlide"]="clickSlide"})(i||(i={})),function(e){e["AutoUpdate"]="autoUpdate",e["AutoDestroy"]="autoDestroy",e["DeleteInstanceOnDestroy"]="deleteInstanceOnDestroy",e["CleanupStylesOnDestroy"]="cleanupStylesOnDestroy"}(n||(n={}));var o=["init","beforeDestroy","slideChange","slideChangeTransitionStart","slideChangeTransitionEnd","slideNextTransitionStart","slideNextTransitionEnd","slidePrevTransitionStart","slidePrevTransitionEnd","transitionStart","transitionEnd","touchStart","touchMove","touchMoveOpposite","sliderMove","touchEnd","click","tap","doubleTap","imagesReady","progress","reachBeginning","reachEnd","fromEdge","setTranslate","setTransition","resize","observerUpdate","beforeLoopFix","loopFix"];
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0

THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.

See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */function l(){for(var e=0,t=0,s=arguments.length;t<s;t++)e+=arguments[t].length;var a=Array(e),i=0;for(t=0;t<s;t++)for(var n=arguments[t],r=0,o=n.length;r<o;r++,i++)a[i]=n[r];return a}var d,c=function(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/\s+/g,"-").toLowerCase()},p=function(e,t,s){var a,n,r;if(e&&!e.destroyed){var o=(null===(a=t.composedPath)||void 0===a?void 0:a.call(t))||t.path;if((null===t||void 0===t?void 0:t.target)&&o){var l=Array.from(e.slides),d=Array.from(o);if(l.includes(t.target)||d.some((function(e){return l.includes(e)}))){var p=e.clickedIndex,u=Number(null===(r=null===(n=e.clickedSlide)||void 0===n?void 0:n.dataset)||void 0===r?void 0:r.swiperSlideIndex),h=Number.isInteger(u)?u:null;s(i.ClickSlide,p,h),s(c(i.ClickSlide),p,h)}}}},u=function(e,t){o.forEach((function(s){e.on(s,(function(){for(var e=arguments,a=[],i=0;i<arguments.length;i++)a[i]=e[i];t.apply(void 0,l([s],a));var n=c(s);n!==s&&t.apply(void 0,l([n],a))}))}))},h="instanceName";function m(e,t){var s=function(e,t){var s,a,i,n,r=null===(a=null===(s=e.data)||void 0===s?void 0:s.attrs)||void 0===a?void 0:a[t];return void 0!==r?r:null===(n=null===(i=e.data)||void 0===i?void 0:i.attrs)||void 0===n?void 0:n[c(t)]},o=function(e,t,i){return t.arg||s(i,h)||e.id||a.SwiperInstance},l=function(e,t,s){var a=o(e,t,s);return s.context[a]||null},d=function(e){return e.value||t},m=function(e){return[!0,void 0,null,""].includes(e)},f=function(e){var t,s,a=(null===(t=e.data)||void 0===t?void 0:t.on)||(null===(s=e.componentOptions)||void 0===s?void 0:s.listeners);return function(e){for(var t,s=arguments,i=[],n=1;n<arguments.length;n++)i[n-1]=s[n];var r=null===(t=a)||void 0===t?void 0:t[e];r&&r.fns.apply(r,i)}};return{bind:function(e,t,s){-1===e.className.indexOf(r.containerClass)&&(e.className+=(e.className?" ":"")+r.containerClass),e.addEventListener("click",(function(a){var i=f(s),n=l(e,t,s);p(n,a,i)}))},inserted:function(t,s,a){var n=a.context,r=d(s),l=o(t,s,a),c=f(a),p=n,h=null===p||void 0===p?void 0:p[l];h&&!h.destroyed||(h=new e(t,r),p[l]=h,u(h,c),c(i.Ready,h))},componentUpdated:function(e,t,a){var i,r,o,c,p,u,h,f,g,v,w,b,y=s(a,n.AutoUpdate);if(m(y)){var x=l(e,t,a);if(x){var T=d(t),E=T.loop;E&&(null===(r=null===(i=x)||void 0===i?void 0:i.loopDestroy)||void 0===r||r.call(i)),null===(o=null===x||void 0===x?void 0:x.update)||void 0===o||o.call(x),null===(p=null===(c=x.navigation)||void 0===c?void 0:c.update)||void 0===p||p.call(c),null===(h=null===(u=x.pagination)||void 0===u?void 0:u.render)||void 0===h||h.call(u),null===(g=null===(f=x.pagination)||void 0===f?void 0:f.update)||void 0===g||g.call(f),E&&(null===(w=null===(v=x)||void 0===v?void 0:v.loopCreate)||void 0===w||w.call(v),null===(b=null===x||void 0===x?void 0:x.update)||void 0===b||b.call(x))}}},unbind:function(e,t,a){var i,r=s(a,n.AutoDestroy);if(m(r)){var o=l(e,t,a);o&&o.initialized&&(null===(i=null===o||void 0===o?void 0:o.destroy)||void 0===i||i.call(o,m(s(a,n.DeleteInstanceOnDestroy)),m(s(a,n.CleanupStylesOnDestroy))))}}}}function f(e){var t;return s.extend({name:a.SwiperComponent,props:(t={defaultOptions:{type:Object,required:!1,default:function(){return{}}},options:{type:Object,required:!1}},t[n.AutoUpdate]={type:Boolean,default:!0},t[n.AutoDestroy]={type:Boolean,default:!0},t[n.DeleteInstanceOnDestroy]={type:Boolean,required:!1,default:!0},t[n.CleanupStylesOnDestroy]={type:Boolean,required:!1,default:!0},t),data:function(){var e;return e={},e[a.SwiperInstance]=null,e},computed:{swiperInstance:{cache:!1,set:function(e){this[a.SwiperInstance]=e},get:function(){return this[a.SwiperInstance]}},swiperOptions:function(){return this.options||this.defaultOptions},wrapperClass:function(){return this.swiperOptions.wrapperClass||r.wrapperClass}},methods:{handleSwiperClick:function(e){p(this.swiperInstance,e,this.$emit.bind(this))},autoReLoopSwiper:function(){var e,t;if(this.swiperInstance&&this.swiperOptions.loop){var s=this.swiperInstance;null===(e=null===s||void 0===s?void 0:s.loopDestroy)||void 0===e||e.call(s),null===(t=null===s||void 0===s?void 0:s.loopCreate)||void 0===t||t.call(s)}},updateSwiper:function(){var e,t,s,a,i,r,o,l;this[n.AutoUpdate]&&this.swiperInstance&&(this.autoReLoopSwiper(),null===(t=null===(e=this.swiperInstance)||void 0===e?void 0:e.update)||void 0===t||t.call(e),null===(a=null===(s=this.swiperInstance.navigation)||void 0===s?void 0:s.update)||void 0===a||a.call(s),null===(r=null===(i=this.swiperInstance.pagination)||void 0===i?void 0:i.render)||void 0===r||r.call(i),null===(l=null===(o=this.swiperInstance.pagination)||void 0===o?void 0:o.update)||void 0===l||l.call(o))},destroySwiper:function(){var e,t;this[n.AutoDestroy]&&this.swiperInstance&&this.swiperInstance.initialized&&(null===(t=null===(e=this.swiperInstance)||void 0===e?void 0:e.destroy)||void 0===t||t.call(e,this[n.DeleteInstanceOnDestroy],this[n.CleanupStylesOnDestroy]))},initSwiper:function(){this.swiperInstance=new e(this.$el,this.swiperOptions),u(this.swiperInstance,this.$emit.bind(this)),this.$emit(i.Ready,this.swiperInstance)}},mounted:function(){this.swiperInstance||this.initSwiper()},activated:function(){this.updateSwiper()},updated:function(){this.updateSwiper()},beforeDestroy:function(){this.$nextTick(this.destroySwiper)},render:function(e){return e("div",{staticClass:r.containerClass,on:{click:this.handleSwiperClick}},[this.$slots[d.ParallaxBg],e("div",{class:this.wrapperClass},this.$slots.default),this.$slots[d.Pagination],this.$slots[d.PrevButton],this.$slots[d.NextButton],this.$slots[d.Scrollbar]])}})}(function(e){e["ParallaxBg"]="parallax-bg",e["Pagination"]="pagination",e["Scrollbar"]="scrollbar",e["PrevButton"]="button-prev",e["NextButton"]="button-next"})(d||(d={}));var g=s.extend({name:a.SwiperSlideComponent,computed:{slideClass:function(){var e,t;return(null===(t=null===(e=this.$parent)||void 0===e?void 0:e.swiperOptions)||void 0===t?void 0:t.slideClass)||r.slideClass}},methods:{update:function(){var e,t=this.$parent;t[n.AutoUpdate]&&(null===(e=null===t||void 0===t?void 0:t.swiperInstance)||void 0===e||e.update())}},mounted:function(){this.update()},updated:function(){this.update()},render:function(e){return e("div",{class:this.slideClass},this.$slots.default)}}),v=function(e){var t=function(s,i){if(!t.installed){var n=f(e);i&&(n.options.props.defaultOptions.default=function(){return i}),s.component(a.SwiperComponent,n),s.component(a.SwiperSlideComponent,g),s.directive(a.SwiperDirective,m(e,i)),t.installed=!0}};return t};function w(e){var t;return t={version:"4.1.1",install:v(e),directive:m(e)},t[a.SwiperComponent]=f(e),t[a.SwiperSlideComponent]=g,t}var b=w(t),y=b.version,x=b.install,T=b.directive,E=b.Swiper,S=b.SwiperSlide;e.Swiper=E,e.SwiperSlide=S,e.default=b,e.directive=T,e.install=x,e.version=y,Object.defineProperty(e,"__esModule",{value:!0})}))},"81d5":function(e,t,s){"use strict";var a=s("7b0b"),i=s("23cb"),n=s("07fa");e.exports=function(e){var t=a(this),s=n(t),r=arguments.length,o=i(r>1?arguments[1]:void 0,s),l=r>2?arguments[2]:void 0,d=void 0===l?s:i(l,s);while(d>o)t[o++]=e;return t}},a7a3:function(e,t,s){},b619:function(e,t,s){"use strict";function a(e){return null!==e&&"object"===typeof e&&"constructor"in e&&e.constructor===Object}function i(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((function(s){"undefined"===typeof e[s]?e[s]=t[s]:a(t[s])&&a(e[s])&&Object.keys(t[s]).length>0&&i(e[s],t[s])}))}s.r(t);var n="undefined"!==typeof document?document:{},r={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:""}};i(n,r);var o="undefined"!==typeof window?window:{},l={document:r,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{}}};i(o,l);class d{constructor(e){const t=this;for(let s=0;s<e.length;s+=1)t[s]=e[s];return t.length=e.length,this}}function c(e,t){const s=[];let a=0;if(e&&!t&&e instanceof d)return e;if(e)if("string"===typeof e){let i,r;const o=e.trim();if(o.indexOf("<")>=0&&o.indexOf(">")>=0){let e="div";for(0===o.indexOf("<li")&&(e="ul"),0===o.indexOf("<tr")&&(e="tbody"),0!==o.indexOf("<td")&&0!==o.indexOf("<th")||(e="tr"),0===o.indexOf("<tbody")&&(e="table"),0===o.indexOf("<option")&&(e="select"),r=n.createElement(e),r.innerHTML=o,a=0;a<r.childNodes.length;a+=1)s.push(r.childNodes[a])}else for(i=t||"#"!==e[0]||e.match(/[ .<>:~]/)?(t||n).querySelectorAll(e.trim()):[n.getElementById(e.trim().split("#")[1])],a=0;a<i.length;a+=1)i[a]&&s.push(i[a])}else if(e.nodeType||e===o||e===n)s.push(e);else if(e.length>0&&e[0].nodeType)for(a=0;a<e.length;a+=1)s.push(e[a]);return new d(s)}function p(e){const t=[];for(let s=0;s<e.length;s+=1)-1===t.indexOf(e[s])&&t.push(e[s]);return t}function u(e){if("undefined"===typeof e)return this;const t=e.split(" ");for(let s=0;s<t.length;s+=1)for(let e=0;e<this.length;e+=1)"undefined"!==typeof this[e]&&"undefined"!==typeof this[e].classList&&this[e].classList.add(t[s]);return this}function h(e){const t=e.split(" ");for(let s=0;s<t.length;s+=1)for(let e=0;e<this.length;e+=1)"undefined"!==typeof this[e]&&"undefined"!==typeof this[e].classList&&this[e].classList.remove(t[s]);return this}function m(e){return!!this[0]&&this[0].classList.contains(e)}function f(e){const t=e.split(" ");for(let s=0;s<t.length;s+=1)for(let e=0;e<this.length;e+=1)"undefined"!==typeof this[e]&&"undefined"!==typeof this[e].classList&&this[e].classList.toggle(t[s]);return this}function g(e,t){if(1===arguments.length&&"string"===typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let s=0;s<this.length;s+=1)if(2===arguments.length)this[s].setAttribute(e,t);else for(const t in e)this[s][t]=e[t],this[s].setAttribute(t,e[t]);return this}function v(e){for(let t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this}function w(e,t){let s;if("undefined"!==typeof t){for(let a=0;a<this.length;a+=1)s=this[a],s.dom7ElementDataStorage||(s.dom7ElementDataStorage={}),s.dom7ElementDataStorage[e]=t;return this}if(s=this[0],s){if(s.dom7ElementDataStorage&&e in s.dom7ElementDataStorage)return s.dom7ElementDataStorage[e];const t=s.getAttribute("data-"+e);return t||void 0}}function b(e){for(let t=0;t<this.length;t+=1){const s=this[t].style;s.webkitTransform=e,s.transform=e}return this}function y(e){"string"!==typeof e&&(e+="ms");for(let t=0;t<this.length;t+=1){const s=this[t].style;s.webkitTransitionDuration=e,s.transitionDuration=e}return this}function x(...e){let[t,s,a,i]=e;function n(e){const t=e.target;if(!t)return;const i=e.target.dom7EventData||[];if(i.indexOf(e)<0&&i.unshift(e),c(t).is(s))a.apply(t,i);else{const e=c(t).parents();for(let t=0;t<e.length;t+=1)c(e[t]).is(s)&&a.apply(e[t],i)}}function r(e){const t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),a.apply(this,t)}"function"===typeof e[1]&&([t,a,i]=e,s=void 0),i||(i=!1);const o=t.split(" ");let l;for(let d=0;d<this.length;d+=1){const e=this[d];if(s)for(l=0;l<o.length;l+=1){const t=o[l];e.dom7LiveListeners||(e.dom7LiveListeners={}),e.dom7LiveListeners[t]||(e.dom7LiveListeners[t]=[]),e.dom7LiveListeners[t].push({listener:a,proxyListener:n}),e.addEventListener(t,n,i)}else for(l=0;l<o.length;l+=1){const t=o[l];e.dom7Listeners||(e.dom7Listeners={}),e.dom7Listeners[t]||(e.dom7Listeners[t]=[]),e.dom7Listeners[t].push({listener:a,proxyListener:r}),e.addEventListener(t,r,i)}}return this}function T(...e){let[t,s,a,i]=e;"function"===typeof e[1]&&([t,a,i]=e,s=void 0),i||(i=!1);const n=t.split(" ");for(let r=0;r<n.length;r+=1){const e=n[r];for(let t=0;t<this.length;t+=1){const n=this[t];let r;if(!s&&n.dom7Listeners?r=n.dom7Listeners[e]:s&&n.dom7LiveListeners&&(r=n.dom7LiveListeners[e]),r&&r.length)for(let t=r.length-1;t>=0;t-=1){const s=r[t];a&&s.listener===a||a&&s.listener&&s.listener.dom7proxy&&s.listener.dom7proxy===a?(n.removeEventListener(e,s.proxyListener,i),r.splice(t,1)):a||(n.removeEventListener(e,s.proxyListener,i),r.splice(t,1))}}}return this}function E(...e){const t=e[0].split(" "),s=e[1];for(let i=0;i<t.length;i+=1){const r=t[i];for(let t=0;t<this.length;t+=1){const i=this[t];let l;try{l=new o.CustomEvent(r,{detail:s,bubbles:!0,cancelable:!0})}catch(a){l=n.createEvent("Event"),l.initEvent(r,!0,!0),l.detail=s}i.dom7EventData=e.filter((e,t)=>t>0),i.dispatchEvent(l),i.dom7EventData=[],delete i.dom7EventData}}return this}function S(e){const t=["webkitTransitionEnd","transitionend"],s=this;let a;function i(n){if(n.target===this)for(e.call(this,n),a=0;a<t.length;a+=1)s.off(t[a],i)}if(e)for(a=0;a<t.length;a+=1)s.on(t[a],i);return this}function C(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function $(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function M(){if(this.length>0){const e=this[0],t=e.getBoundingClientRect(),s=n.body,a=e.clientTop||s.clientTop||0,i=e.clientLeft||s.clientLeft||0,r=e===o?o.scrollY:e.scrollTop,l=e===o?o.scrollX:e.scrollLeft;return{top:t.top+r-a,left:t.left+l-i}}return null}function P(){return this[0]?o.getComputedStyle(this[0],null):{}}function k(e,t){let s;if(1===arguments.length){if("string"!==typeof e){for(s=0;s<this.length;s+=1)for(let t in e)this[s].style[t]=e[t];return this}if(this[0])return o.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"===typeof e){for(s=0;s<this.length;s+=1)this[s].style[e]=t;return this}return this}function z(e){if(!e)return this;for(let t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this}function I(e){const t=[],s=this;for(let a=0;a<s.length;a+=1)e.call(s[a],a,s[a])&&t.push(s[a]);return new d(t)}function L(e){if("undefined"===typeof e)return this[0]?this[0].innerHTML:void 0;for(let t=0;t<this.length;t+=1)this[t].innerHTML=e;return this}function O(e){if("undefined"===typeof e)return this[0]?this[0].textContent.trim():null;for(let t=0;t<this.length;t+=1)this[t].textContent=e;return this}function D(e){const t=this[0];let s,a;if(!t||"undefined"===typeof e)return!1;if("string"===typeof e){if(t.matches)return t.matches(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);for(s=c(e),a=0;a<s.length;a+=1)if(s[a]===t)return!0;return!1}if(e===n)return t===n;if(e===o)return t===o;if(e.nodeType||e instanceof d){for(s=e.nodeType?[e]:e,a=0;a<s.length;a+=1)if(s[a]===t)return!0;return!1}return!1}function A(){let e,t=this[0];if(t){e=0;while(null!==(t=t.previousSibling))1===t.nodeType&&(e+=1);return e}}function B(e){if("undefined"===typeof e)return this;const t=this.length;let s;return e>t-1?new d([]):e<0?(s=t+e,new d(s<0?[]:[this[s]])):new d([this[e]])}function N(...e){let t;for(let s=0;s<e.length;s+=1){t=e[s];for(let e=0;e<this.length;e+=1)if("string"===typeof t){const s=n.createElement("div");s.innerHTML=t;while(s.firstChild)this[e].appendChild(s.firstChild)}else if(t instanceof d)for(let s=0;s<t.length;s+=1)this[e].appendChild(t[s]);else this[e].appendChild(t)}return this}function G(e){let t,s;for(t=0;t<this.length;t+=1)if("string"===typeof e){const a=n.createElement("div");for(a.innerHTML=e,s=a.childNodes.length-1;s>=0;s-=1)this[t].insertBefore(a.childNodes[s],this[t].childNodes[0])}else if(e instanceof d)for(s=0;s<e.length;s+=1)this[t].insertBefore(e[s],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this}function H(e){return this.length>0?e?this[0].nextElementSibling&&c(this[0].nextElementSibling).is(e)?new d([this[0].nextElementSibling]):new d([]):this[0].nextElementSibling?new d([this[0].nextElementSibling]):new d([]):new d([])}function V(e){const t=[];let s=this[0];if(!s)return new d([]);while(s.nextElementSibling){const a=s.nextElementSibling;e?c(a).is(e)&&t.push(a):t.push(a),s=a}return new d(t)}function X(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&c(t.previousElementSibling).is(e)?new d([t.previousElementSibling]):new d([]):t.previousElementSibling?new d([t.previousElementSibling]):new d([])}return new d([])}function Y(e){const t=[];let s=this[0];if(!s)return new d([]);while(s.previousElementSibling){const a=s.previousElementSibling;e?c(a).is(e)&&t.push(a):t.push(a),s=a}return new d(t)}function R(e){const t=[];for(let s=0;s<this.length;s+=1)null!==this[s].parentNode&&(e?c(this[s].parentNode).is(e)&&t.push(this[s].parentNode):t.push(this[s].parentNode));return c(p(t))}function F(e){const t=[];for(let s=0;s<this.length;s+=1){let a=this[s].parentNode;while(a)e?c(a).is(e)&&t.push(a):t.push(a),a=a.parentNode}return c(p(t))}function q(e){let t=this;return"undefined"===typeof e?new d([]):(t.is(e)||(t=t.parents(e).eq(0)),t)}function W(e){const t=[];for(let s=0;s<this.length;s+=1){const a=this[s].querySelectorAll(e);for(let e=0;e<a.length;e+=1)t.push(a[e])}return new d(t)}function j(e){const t=[];for(let s=0;s<this.length;s+=1){const a=this[s].childNodes;for(let s=0;s<a.length;s+=1)e?1===a[s].nodeType&&c(a[s]).is(e)&&t.push(a[s]):1===a[s].nodeType&&t.push(a[s])}return new d(p(t))}function U(){for(let e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}function K(...e){const t=this;let s,a;for(s=0;s<e.length;s+=1){const i=c(e[s]);for(a=0;a<i.length;a+=1)t[t.length]=i[a],t.length+=1}return t}c.fn=d.prototype,c.Class=d,c.Dom7=d;"resize scroll".split(" ");var _="undefined"===typeof document?{body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},location:{hash:""}}:document,J="undefined"===typeof window?{document:_,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window;const Z={addClass:u,removeClass:h,hasClass:m,toggleClass:f,attr:g,removeAttr:v,data:w,transform:b,transition:y,on:x,off:T,trigger:E,transitionEnd:S,outerWidth:C,outerHeight:$,offset:M,css:k,each:z,html:L,text:O,is:D,index:A,eq:B,append:N,prepend:G,next:H,nextAll:V,prev:X,prevAll:Y,parent:R,parents:F,closest:q,find:W,children:j,filter:I,remove:U,add:K,styles:P};Object.keys(Z).forEach(e=>{c.fn[e]=c.fn[e]||Z[e]});const Q={deleteProps(e){const t=e;Object.keys(t).forEach(e=>{try{t[e]=null}catch(s){}try{delete t[e]}catch(s){}})},nextTick(e,t=0){return setTimeout(e,t)},now(){return Date.now()},getTranslate(e,t="x"){let s,a,i;const n=J.getComputedStyle(e,null);return J.WebKitCSSMatrix?(a=n.transform||n.webkitTransform,a.split(",").length>6&&(a=a.split(", ").map(e=>e.replace(",",".")).join(", ")),i=new J.WebKitCSSMatrix("none"===a?"":a)):(i=n.MozTransform||n.OTransform||n.MsTransform||n.msTransform||n.transform||n.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),s=i.toString().split(",")),"x"===t&&(a=J.WebKitCSSMatrix?i.m41:16===s.length?parseFloat(s[12]):parseFloat(s[4])),"y"===t&&(a=J.WebKitCSSMatrix?i.m42:16===s.length?parseFloat(s[13]):parseFloat(s[5])),a||0},parseUrlQuery(e){const t={};let s,a,i,n,r=e||J.location.href;if("string"===typeof r&&r.length)for(r=r.indexOf("?")>-1?r.replace(/\S*\?/,""):"",a=r.split("&").filter(e=>""!==e),n=a.length,s=0;s<n;s+=1)i=a[s].replace(/#\S+/g,"").split("="),t[decodeURIComponent(i[0])]="undefined"===typeof i[1]?void 0:decodeURIComponent(i[1])||"";return t},isObject(e){return"object"===typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend(...e){const t=Object(e[0]);for(let s=1;s<e.length;s+=1){const a=e[s];if(void 0!==a&&null!==a){const e=Object.keys(Object(a));for(let s=0,i=e.length;s<i;s+=1){const i=e[s],n=Object.getOwnPropertyDescriptor(a,i);void 0!==n&&n.enumerable&&(Q.isObject(t[i])&&Q.isObject(a[i])?Q.extend(t[i],a[i]):!Q.isObject(t[i])&&Q.isObject(a[i])?(t[i]={},Q.extend(t[i],a[i])):t[i]=a[i])}}}return t}},ee=function(){return{touch:J.Modernizr&&!0===J.Modernizr.touch||function(){return!!(J.navigator.maxTouchPoints>0||"ontouchstart"in J||J.DocumentTouch&&_ instanceof J.DocumentTouch)}(),pointerEvents:!!J.PointerEvent&&"maxTouchPoints"in J.navigator&&J.navigator.maxTouchPoints>0,observer:function(){return"MutationObserver"in J||"WebkitMutationObserver"in J}(),passiveListener:function(){let e=!1;try{const t=Object.defineProperty({},"passive",{get(){e=!0}});J.addEventListener("testPassiveListener",null,t)}catch(t){}return e}(),gestures:function(){return"ongesturestart"in J}()}}();class te{constructor(e={}){const t=this;t.params=e,t.eventsListeners={},t.params&&t.params.on&&Object.keys(t.params.on).forEach(e=>{t.on(e,t.params.on[e])})}on(e,t,s){const a=this;if("function"!==typeof t)return a;const i=s?"unshift":"push";return e.split(" ").forEach(e=>{a.eventsListeners[e]||(a.eventsListeners[e]=[]),a.eventsListeners[e][i](t)}),a}once(e,t,s){const a=this;if("function"!==typeof t)return a;function i(...s){t.apply(a,s),a.off(e,i),i.f7proxy&&delete i.f7proxy}return i.f7proxy=t,a.on(e,i,s)}off(e,t){const s=this;return s.eventsListeners?(e.split(" ").forEach(e=>{"undefined"===typeof t?s.eventsListeners[e]=[]:s.eventsListeners[e]&&s.eventsListeners[e].length&&s.eventsListeners[e].forEach((a,i)=>{(a===t||a.f7proxy&&a.f7proxy===t)&&s.eventsListeners[e].splice(i,1)})}),s):s}emit(...e){const t=this;if(!t.eventsListeners)return t;let s,a,i;"string"===typeof e[0]||Array.isArray(e[0])?(s=e[0],a=e.slice(1,e.length),i=t):(s=e[0].events,a=e[0].data,i=e[0].context||t);const n=Array.isArray(s)?s:s.split(" ");return n.forEach(e=>{if(t.eventsListeners&&t.eventsListeners[e]){const s=[];t.eventsListeners[e].forEach(e=>{s.push(e)}),s.forEach(e=>{e.apply(i,a)})}}),t}useModulesParams(e){const t=this;t.modules&&Object.keys(t.modules).forEach(s=>{const a=t.modules[s];a.params&&Q.extend(e,a.params)})}useModules(e={}){const t=this;t.modules&&Object.keys(t.modules).forEach(s=>{const a=t.modules[s],i=e[s]||{};a.instance&&Object.keys(a.instance).forEach(e=>{const s=a.instance[e];t[e]="function"===typeof s?s.bind(t):s}),a.on&&t.on&&Object.keys(a.on).forEach(e=>{t.on(e,a.on[e])}),a.create&&a.create.bind(t)(i)})}static set components(e){const t=this;t.use&&t.use(e)}static installModule(e,...t){const s=this;s.prototype.modules||(s.prototype.modules={});const a=e.name||`${Object.keys(s.prototype.modules).length}_${Q.now()}`;return s.prototype.modules[a]=e,e.proto&&Object.keys(e.proto).forEach(t=>{s.prototype[t]=e.proto[t]}),e.static&&Object.keys(e.static).forEach(t=>{s[t]=e.static[t]}),e.install&&e.install.apply(s,t),s}static use(e,...t){const s=this;return Array.isArray(e)?(e.forEach(e=>s.installModule(e)),s):s.installModule(e,...t)}}function se(){const e=this;let t,s;const a=e.$el;t="undefined"!==typeof e.params.width?e.params.width:a[0].clientWidth,s="undefined"!==typeof e.params.height?e.params.height:a[0].clientHeight,0===t&&e.isHorizontal()||0===s&&e.isVertical()||(t=t-parseInt(a.css("padding-left"),10)-parseInt(a.css("padding-right"),10),s=s-parseInt(a.css("padding-top"),10)-parseInt(a.css("padding-bottom"),10),Q.extend(e,{width:t,height:s,size:e.isHorizontal()?t:s}))}function ae(){const e=this,t=e.params,{$wrapperEl:s,size:a,rtlTranslate:i,wrongRTL:n}=e,r=e.virtual&&t.virtual.enabled,o=r?e.virtual.slides.length:e.slides.length,l=s.children("."+e.params.slideClass),d=r?e.virtual.slides.length:l.length;let c=[];const p=[],u=[];function h(e){return!t.cssMode||e!==l.length-1}let m=t.slidesOffsetBefore;"function"===typeof m&&(m=t.slidesOffsetBefore.call(e));let f=t.slidesOffsetAfter;"function"===typeof f&&(f=t.slidesOffsetAfter.call(e));const g=e.snapGrid.length,v=e.snapGrid.length;let w,b,y=t.spaceBetween,x=-m,T=0,E=0;if("undefined"===typeof a)return;"string"===typeof y&&y.indexOf("%")>=0&&(y=parseFloat(y.replace("%",""))/100*a),e.virtualSize=-y,i?l.css({marginLeft:"",marginTop:""}):l.css({marginRight:"",marginBottom:""}),t.slidesPerColumn>1&&(w=Math.floor(d/t.slidesPerColumn)===d/e.params.slidesPerColumn?d:Math.ceil(d/t.slidesPerColumn)*t.slidesPerColumn,"auto"!==t.slidesPerView&&"row"===t.slidesPerColumnFill&&(w=Math.max(w,t.slidesPerView*t.slidesPerColumn)));const S=t.slidesPerColumn,C=w/S,$=Math.floor(d/t.slidesPerColumn);for(let P=0;P<d;P+=1){b=0;const s=l.eq(P);if(t.slidesPerColumn>1){let a,i,n;if("row"===t.slidesPerColumnFill&&t.slidesPerGroup>1){const e=Math.floor(P/(t.slidesPerGroup*t.slidesPerColumn)),r=P-t.slidesPerColumn*t.slidesPerGroup*e,o=0===e?t.slidesPerGroup:Math.min(Math.ceil((d-e*S*t.slidesPerGroup)/S),t.slidesPerGroup);n=Math.floor(r/o),i=r-n*o+e*t.slidesPerGroup,a=i+n*w/S,s.css({"-webkit-box-ordinal-group":a,"-moz-box-ordinal-group":a,"-ms-flex-order":a,"-webkit-order":a,order:a})}else"column"===t.slidesPerColumnFill?(i=Math.floor(P/S),n=P-i*S,(i>$||i===$&&n===S-1)&&(n+=1,n>=S&&(n=0,i+=1))):(n=Math.floor(P/C),i=P-n*C);s.css("margin-"+(e.isHorizontal()?"top":"left"),0!==n&&t.spaceBetween&&t.spaceBetween+"px")}if("none"!==s.css("display")){if("auto"===t.slidesPerView){const a=J.getComputedStyle(s[0],null),i=s[0].style.transform,n=s[0].style.webkitTransform;if(i&&(s[0].style.transform="none"),n&&(s[0].style.webkitTransform="none"),t.roundLengths)b=e.isHorizontal()?s.outerWidth(!0):s.outerHeight(!0);else if(e.isHorizontal()){const e=parseFloat(a.getPropertyValue("width")),t=parseFloat(a.getPropertyValue("padding-left")),s=parseFloat(a.getPropertyValue("padding-right")),i=parseFloat(a.getPropertyValue("margin-left")),n=parseFloat(a.getPropertyValue("margin-right")),r=a.getPropertyValue("box-sizing");b=r&&"border-box"===r?e+i+n:e+t+s+i+n}else{const e=parseFloat(a.getPropertyValue("height")),t=parseFloat(a.getPropertyValue("padding-top")),s=parseFloat(a.getPropertyValue("padding-bottom")),i=parseFloat(a.getPropertyValue("margin-top")),n=parseFloat(a.getPropertyValue("margin-bottom")),r=a.getPropertyValue("box-sizing");b=r&&"border-box"===r?e+i+n:e+t+s+i+n}i&&(s[0].style.transform=i),n&&(s[0].style.webkitTransform=n),t.roundLengths&&(b=Math.floor(b))}else b=(a-(t.slidesPerView-1)*y)/t.slidesPerView,t.roundLengths&&(b=Math.floor(b)),l[P]&&(e.isHorizontal()?l[P].style.width=b+"px":l[P].style.height=b+"px");l[P]&&(l[P].swiperSlideSize=b),u.push(b),t.centeredSlides?(x=x+b/2+T/2+y,0===T&&0!==P&&(x=x-a/2-y),0===P&&(x=x-a/2-y),Math.abs(x)<.001&&(x=0),t.roundLengths&&(x=Math.floor(x)),E%t.slidesPerGroup===0&&c.push(x),p.push(x)):(t.roundLengths&&(x=Math.floor(x)),E%t.slidesPerGroup===0&&c.push(x),p.push(x),x=x+b+y),e.virtualSize+=b+y,T=b,E+=1}}let M;if(e.virtualSize=Math.max(e.virtualSize,a)+f,i&&n&&("slide"===t.effect||"coverflow"===t.effect)&&s.css({width:e.virtualSize+t.spaceBetween+"px"}),t.setWrapperSize&&(e.isHorizontal()?s.css({width:e.virtualSize+t.spaceBetween+"px"}):s.css({height:e.virtualSize+t.spaceBetween+"px"})),t.slidesPerColumn>1&&(e.virtualSize=(b+t.spaceBetween)*w,e.virtualSize=Math.ceil(e.virtualSize/t.slidesPerColumn)-t.spaceBetween,e.isHorizontal()?s.css({width:e.virtualSize+t.spaceBetween+"px"}):s.css({height:e.virtualSize+t.spaceBetween+"px"}),t.centeredSlides)){M=[];for(let s=0;s<c.length;s+=1){let a=c[s];t.roundLengths&&(a=Math.floor(a)),c[s]<e.virtualSize+c[0]&&M.push(a)}c=M}if(!t.centeredSlides){M=[];for(let s=0;s<c.length;s+=1){let i=c[s];t.roundLengths&&(i=Math.floor(i)),c[s]<=e.virtualSize-a&&M.push(i)}c=M,Math.floor(e.virtualSize-a)-Math.floor(c[c.length-1])>1&&c.push(e.virtualSize-a)}if(0===c.length&&(c=[0]),0!==t.spaceBetween&&(e.isHorizontal()?i?l.filter(h).css({marginLeft:y+"px"}):l.filter(h).css({marginRight:y+"px"}):l.filter(h).css({marginBottom:y+"px"})),t.centeredSlides&&t.centeredSlidesBounds){let e=0;u.forEach(s=>{e+=s+(t.spaceBetween?t.spaceBetween:0)}),e-=t.spaceBetween;const s=e-a;c=c.map(e=>e<0?-m:e>s?s+f:e)}if(t.centerInsufficientSlides){let e=0;if(u.forEach(s=>{e+=s+(t.spaceBetween?t.spaceBetween:0)}),e-=t.spaceBetween,e<a){const t=(a-e)/2;c.forEach((e,s)=>{c[s]=e-t}),p.forEach((e,s)=>{p[s]=e+t})}}Q.extend(e,{slides:l,snapGrid:c,slidesGrid:p,slidesSizesGrid:u}),d!==o&&e.emit("slidesLengthChange"),c.length!==g&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),p.length!==v&&e.emit("slidesGridLengthChange"),(t.watchSlidesProgress||t.watchSlidesVisibility)&&e.updateSlidesOffset()}function ie(e){const t=this,s=[];let a,i=0;if("number"===typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed),"auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)for(a=0;a<Math.ceil(t.params.slidesPerView);a+=1){const e=t.activeIndex+a;if(e>t.slides.length)break;s.push(t.slides.eq(e)[0])}else s.push(t.slides.eq(t.activeIndex)[0]);for(a=0;a<s.length;a+=1)if("undefined"!==typeof s[a]){const e=s[a].offsetHeight;i=e>i?e:i}i&&t.$wrapperEl.css("height",i+"px")}function ne(){const e=this,t=e.slides;for(let s=0;s<t.length;s+=1)t[s].swiperSlideOffset=e.isHorizontal()?t[s].offsetLeft:t[s].offsetTop}function re(e=this&&this.translate||0){const t=this,s=t.params,{slides:a,rtlTranslate:i}=t;if(0===a.length)return;"undefined"===typeof a[0].swiperSlideOffset&&t.updateSlidesOffset();let n=-e;i&&(n=e),a.removeClass(s.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let r=0;r<a.length;r+=1){const e=a[r],o=(n+(s.centeredSlides?t.minTranslate():0)-e.swiperSlideOffset)/(e.swiperSlideSize+s.spaceBetween);if(s.watchSlidesVisibility){const i=-(n-e.swiperSlideOffset),o=i+t.slidesSizesGrid[r],l=i>=0&&i<t.size-1||o>1&&o<=t.size||i<=0&&o>=t.size;l&&(t.visibleSlides.push(e),t.visibleSlidesIndexes.push(r),a.eq(r).addClass(s.slideVisibleClass))}e.progress=i?-o:o}t.visibleSlides=c(t.visibleSlides)}function oe(e){const t=this;if("undefined"===typeof e){const s=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*s||0}const s=t.params,a=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:n,isEnd:r}=t;const o=n,l=r;0===a?(i=0,n=!0,r=!0):(i=(e-t.minTranslate())/a,n=i<=0,r=i>=1),Q.extend(t,{progress:i,isBeginning:n,isEnd:r}),(s.watchSlidesProgress||s.watchSlidesVisibility)&&t.updateSlidesProgress(e),n&&!o&&t.emit("reachBeginning toEdge"),r&&!l&&t.emit("reachEnd toEdge"),(o&&!n||l&&!r)&&t.emit("fromEdge"),t.emit("progress",i)}function le(){const e=this,{slides:t,params:s,$wrapperEl:a,activeIndex:i,realIndex:n}=e,r=e.virtual&&s.virtual.enabled;let o;t.removeClass(`${s.slideActiveClass} ${s.slideNextClass} ${s.slidePrevClass} ${s.slideDuplicateActiveClass} ${s.slideDuplicateNextClass} ${s.slideDuplicatePrevClass}`),o=r?e.$wrapperEl.find(`.${s.slideClass}[data-swiper-slide-index="${i}"]`):t.eq(i),o.addClass(s.slideActiveClass),s.loop&&(o.hasClass(s.slideDuplicateClass)?a.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${n}"]`).addClass(s.slideDuplicateActiveClass):a.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${n}"]`).addClass(s.slideDuplicateActiveClass));let l=o.nextAll("."+s.slideClass).eq(0).addClass(s.slideNextClass);s.loop&&0===l.length&&(l=t.eq(0),l.addClass(s.slideNextClass));let d=o.prevAll("."+s.slideClass).eq(0).addClass(s.slidePrevClass);s.loop&&0===d.length&&(d=t.eq(-1),d.addClass(s.slidePrevClass)),s.loop&&(l.hasClass(s.slideDuplicateClass)?a.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicateNextClass):a.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicateNextClass),d.hasClass(s.slideDuplicateClass)?a.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${d.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicatePrevClass):a.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${d.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicatePrevClass))}function de(e){const t=this,s=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:a,snapGrid:i,params:n,activeIndex:r,realIndex:o,snapIndex:l}=t;let d,c=e;if("undefined"===typeof c){for(let e=0;e<a.length;e+=1)"undefined"!==typeof a[e+1]?s>=a[e]&&s<a[e+1]-(a[e+1]-a[e])/2?c=e:s>=a[e]&&s<a[e+1]&&(c=e+1):s>=a[e]&&(c=e);n.normalizeSlideIndex&&(c<0||"undefined"===typeof c)&&(c=0)}if(d=i.indexOf(s)>=0?i.indexOf(s):Math.floor(c/n.slidesPerGroup),d>=i.length&&(d=i.length-1),c===r)return void(d!==l&&(t.snapIndex=d,t.emit("snapIndexChange")));const p=parseInt(t.slides.eq(c).attr("data-swiper-slide-index")||c,10);Q.extend(t,{snapIndex:d,realIndex:p,previousIndex:r,activeIndex:c}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),o!==p&&t.emit("realIndexChange"),(t.initialized||t.runCallbacksOnInit)&&t.emit("slideChange")}function ce(e){const t=this,s=t.params,a=c(e.target).closest("."+s.slideClass)[0];let i=!1;if(a)for(let n=0;n<t.slides.length;n+=1)t.slides[n]===a&&(i=!0);if(!a||!i)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=a,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(c(a).attr("data-swiper-slide-index"),10):t.clickedIndex=c(a).index(),s.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}var pe={updateSize:se,updateSlides:ae,updateAutoHeight:ie,updateSlidesOffset:ne,updateSlidesProgress:re,updateProgress:oe,updateSlidesClasses:le,updateActiveIndex:de,updateClickedSlide:ce};function ue(e=(this.isHorizontal()?"x":"y")){const t=this,{params:s,rtlTranslate:a,translate:i,$wrapperEl:n}=t;if(s.virtualTranslate)return a?-i:i;if(s.cssMode)return i;let r=Q.getTranslate(n[0],e);return a&&(r=-r),r||0}function he(e,t){const s=this,{rtlTranslate:a,params:i,$wrapperEl:n,wrapperEl:r,progress:o}=s;let l=0,d=0;const c=0;let p;s.isHorizontal()?l=a?-e:e:d=e,i.roundLengths&&(l=Math.floor(l),d=Math.floor(d)),i.cssMode?r[s.isHorizontal()?"scrollLeft":"scrollTop"]=s.isHorizontal()?-l:-d:i.virtualTranslate||n.transform(`translate3d(${l}px, ${d}px, ${c}px)`),s.previousTranslate=s.translate,s.translate=s.isHorizontal()?l:d;const u=s.maxTranslate()-s.minTranslate();p=0===u?0:(e-s.minTranslate())/u,p!==o&&s.updateProgress(e),s.emit("setTranslate",s.translate,t)}function me(){return-this.snapGrid[0]}function fe(){return-this.snapGrid[this.snapGrid.length-1]}function ge(e=0,t=this.params.speed,s=!0,a=!0,i){const n=this,{params:r,wrapperEl:o}=n;if(n.animating&&r.preventInteractionOnTransition)return!1;const l=n.minTranslate(),d=n.maxTranslate();let c;if(c=a&&e>l?l:a&&e<d?d:e,n.updateProgress(c),r.cssMode){const e=n.isHorizontal();return 0===t?o[e?"scrollLeft":"scrollTop"]=-c:o.scrollTo?o.scrollTo({[e?"left":"top"]:-c,behavior:"smooth"}):o[e?"scrollLeft":"scrollTop"]=-c,!0}return 0===t?(n.setTransition(0),n.setTranslate(c),s&&(n.emit("beforeTransitionStart",t,i),n.emit("transitionEnd"))):(n.setTransition(t),n.setTranslate(c),s&&(n.emit("beforeTransitionStart",t,i),n.emit("transitionStart")),n.animating||(n.animating=!0,n.onTranslateToWrapperTransitionEnd||(n.onTranslateToWrapperTransitionEnd=function(e){n&&!n.destroyed&&e.target===this&&(n.$wrapperEl[0].removeEventListener("transitionend",n.onTranslateToWrapperTransitionEnd),n.$wrapperEl[0].removeEventListener("webkitTransitionEnd",n.onTranslateToWrapperTransitionEnd),n.onTranslateToWrapperTransitionEnd=null,delete n.onTranslateToWrapperTransitionEnd,s&&n.emit("transitionEnd"))}),n.$wrapperEl[0].addEventListener("transitionend",n.onTranslateToWrapperTransitionEnd),n.$wrapperEl[0].addEventListener("webkitTransitionEnd",n.onTranslateToWrapperTransitionEnd))),!0}var ve={getTranslate:ue,setTranslate:he,minTranslate:me,maxTranslate:fe,translateTo:ge};function we(e,t){const s=this;s.params.cssMode||s.$wrapperEl.transition(e),s.emit("setTransition",e,t)}function be(e=!0,t){const s=this,{activeIndex:a,params:i,previousIndex:n}=s;if(i.cssMode)return;i.autoHeight&&s.updateAutoHeight();let r=t;if(r||(r=a>n?"next":a<n?"prev":"reset"),s.emit("transitionStart"),e&&a!==n){if("reset"===r)return void s.emit("slideResetTransitionStart");s.emit("slideChangeTransitionStart"),"next"===r?s.emit("slideNextTransitionStart"):s.emit("slidePrevTransitionStart")}}function ye(e=!0,t){const s=this,{activeIndex:a,previousIndex:i,params:n}=s;if(s.animating=!1,n.cssMode)return;s.setTransition(0);let r=t;if(r||(r=a>i?"next":a<i?"prev":"reset"),s.emit("transitionEnd"),e&&a!==i){if("reset"===r)return void s.emit("slideResetTransitionEnd");s.emit("slideChangeTransitionEnd"),"next"===r?s.emit("slideNextTransitionEnd"):s.emit("slidePrevTransitionEnd")}}var xe={setTransition:we,transitionStart:be,transitionEnd:ye};function Te(e=0,t=this.params.speed,s=!0,a){const i=this;let n=e;n<0&&(n=0);const{params:r,snapGrid:o,slidesGrid:l,previousIndex:d,activeIndex:c,rtlTranslate:p,wrapperEl:u}=i;if(i.animating&&r.preventInteractionOnTransition)return!1;let h=Math.floor(n/r.slidesPerGroup);h>=o.length&&(h=o.length-1),(c||r.initialSlide||0)===(d||0)&&s&&i.emit("beforeSlideChangeStart");const m=-o[h];if(i.updateProgress(m),r.normalizeSlideIndex)for(let g=0;g<l.length;g+=1)-Math.floor(100*m)>=Math.floor(100*l[g])&&(n=g);if(i.initialized&&n!==c){if(!i.allowSlideNext&&m<i.translate&&m<i.minTranslate())return!1;if(!i.allowSlidePrev&&m>i.translate&&m>i.maxTranslate()&&(c||0)!==n)return!1}let f;if(f=n>c?"next":n<c?"prev":"reset",p&&-m===i.translate||!p&&m===i.translate)return i.updateActiveIndex(n),r.autoHeight&&i.updateAutoHeight(),i.updateSlidesClasses(),"slide"!==r.effect&&i.setTranslate(m),"reset"!==f&&(i.transitionStart(s,f),i.transitionEnd(s,f)),!1;if(r.cssMode){const e=i.isHorizontal();return 0===t?u[e?"scrollLeft":"scrollTop"]=-m:u.scrollTo?u.scrollTo({[e?"left":"top"]:-m,behavior:"smooth"}):u[e?"scrollLeft":"scrollTop"]=-m,!0}return 0===t?(i.setTransition(0),i.setTranslate(m),i.updateActiveIndex(n),i.updateSlidesClasses(),i.emit("beforeTransitionStart",t,a),i.transitionStart(s,f),i.transitionEnd(s,f)):(i.setTransition(t),i.setTranslate(m),i.updateActiveIndex(n),i.updateSlidesClasses(),i.emit("beforeTransitionStart",t,a),i.transitionStart(s,f),i.animating||(i.animating=!0,i.onSlideToWrapperTransitionEnd||(i.onSlideToWrapperTransitionEnd=function(e){i&&!i.destroyed&&e.target===this&&(i.$wrapperEl[0].removeEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.$wrapperEl[0].removeEventListener("webkitTransitionEnd",i.onSlideToWrapperTransitionEnd),i.onSlideToWrapperTransitionEnd=null,delete i.onSlideToWrapperTransitionEnd,i.transitionEnd(s,f))}),i.$wrapperEl[0].addEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.$wrapperEl[0].addEventListener("webkitTransitionEnd",i.onSlideToWrapperTransitionEnd))),!0}function Ee(e=0,t=this.params.speed,s=!0,a){const i=this;let n=e;return i.params.loop&&(n+=i.loopedSlides),i.slideTo(n,t,s,a)}function Se(e=this.params.speed,t=!0,s){const a=this,{params:i,animating:n}=a;return i.loop?!n&&(a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft,a.slideTo(a.activeIndex+i.slidesPerGroup,e,t,s)):a.slideTo(a.activeIndex+i.slidesPerGroup,e,t,s)}function Ce(e=this.params.speed,t=!0,s){const a=this,{params:i,animating:n,snapGrid:r,slidesGrid:o,rtlTranslate:l}=a;if(i.loop){if(n)return!1;a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft}const d=l?a.translate:-a.translate;function c(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=c(d),u=r.map(e=>c(e));o.map(e=>c(e)),r[u.indexOf(p)];let h,m=r[u.indexOf(p)-1];return"undefined"===typeof m&&i.cssMode&&r.forEach(e=>{!m&&p>=e&&(m=e)}),"undefined"!==typeof m&&(h=o.indexOf(m),h<0&&(h=a.activeIndex-1)),a.slideTo(h,e,t,s)}function $e(e=this.params.speed,t=!0,s){const a=this;return a.slideTo(a.activeIndex,e,t,s)}function Me(e=this.params.speed,t=!0,s,a=.5){const i=this;let n=i.activeIndex;const r=Math.floor(n/i.params.slidesPerGroup),o=i.rtlTranslate?i.translate:-i.translate;if(o>=i.snapGrid[r]){const e=i.snapGrid[r],t=i.snapGrid[r+1];o-e>(t-e)*a&&(n+=i.params.slidesPerGroup)}else{const e=i.snapGrid[r-1],t=i.snapGrid[r];o-e<=(t-e)*a&&(n-=i.params.slidesPerGroup)}return n=Math.max(n,0),n=Math.min(n,i.snapGrid.length-1),i.slideTo(n,e,t,s)}function Pe(){const e=this,{params:t,$wrapperEl:s}=e,a="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let i,n=e.clickedIndex;if(t.loop){if(e.animating)return;i=parseInt(c(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?n<e.loopedSlides-a/2||n>e.slides.length-e.loopedSlides+a/2?(e.loopFix(),n=s.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),Q.nextTick(()=>{e.slideTo(n)})):e.slideTo(n):n>e.slides.length-a?(e.loopFix(),n=s.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),Q.nextTick(()=>{e.slideTo(n)})):e.slideTo(n)}else e.slideTo(n)}var ke={slideTo:Te,slideToLoop:Ee,slideNext:Se,slidePrev:Ce,slideReset:$e,slideToClosest:Me,slideToClickedSlide:Pe};function ze(){const e=this,{params:t,$wrapperEl:s}=e;s.children(`.${t.slideClass}.${t.slideDuplicateClass}`).remove();let a=s.children("."+t.slideClass);if(t.loopFillGroupWithBlank){const e=t.slidesPerGroup-a.length%t.slidesPerGroup;if(e!==t.slidesPerGroup){for(let a=0;a<e;a+=1){const e=c(_.createElement("div")).addClass(`${t.slideClass} ${t.slideBlankClass}`);s.append(e)}a=s.children("."+t.slideClass)}}"auto"!==t.slidesPerView||t.loopedSlides||(t.loopedSlides=a.length),e.loopedSlides=Math.ceil(parseFloat(t.loopedSlides||t.slidesPerView,10)),e.loopedSlides+=t.loopAdditionalSlides,e.loopedSlides>a.length&&(e.loopedSlides=a.length);const i=[],n=[];a.each((t,s)=>{const r=c(s);t<e.loopedSlides&&n.push(s),t<a.length&&t>=a.length-e.loopedSlides&&i.push(s),r.attr("data-swiper-slide-index",t)});for(let r=0;r<n.length;r+=1)s.append(c(n[r].cloneNode(!0)).addClass(t.slideDuplicateClass));for(let r=i.length-1;r>=0;r-=1)s.prepend(c(i[r].cloneNode(!0)).addClass(t.slideDuplicateClass))}function Ie(){const e=this,{activeIndex:t,slides:s,loopedSlides:a,allowSlidePrev:i,allowSlideNext:n,snapGrid:r,rtlTranslate:o}=e;let l;e.allowSlidePrev=!0,e.allowSlideNext=!0;const d=-r[t],c=d-e.getTranslate();if(t<a){l=s.length-3*a+t,l+=a;const i=e.slideTo(l,0,!1,!0);i&&0!==c&&e.setTranslate((o?-e.translate:e.translate)-c)}else if(t>=s.length-a){l=-s.length+t+a,l+=a;const i=e.slideTo(l,0,!1,!0);i&&0!==c&&e.setTranslate((o?-e.translate:e.translate)-c)}e.allowSlidePrev=i,e.allowSlideNext=n}function Le(){const e=this,{$wrapperEl:t,params:s,slides:a}=e;t.children(`.${s.slideClass}.${s.slideDuplicateClass},.${s.slideClass}.${s.slideBlankClass}`).remove(),a.removeAttr("data-swiper-slide-index")}var Oe={loopCreate:ze,loopFix:Ie,loopDestroy:Le};function De(e){const t=this;if(ee.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const s=t.el;s.style.cursor="move",s.style.cursor=e?"-webkit-grabbing":"-webkit-grab",s.style.cursor=e?"-moz-grabbin":"-moz-grab",s.style.cursor=e?"grabbing":"grab"}function Ae(){const e=this;ee.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.el.style.cursor="")}var Be={setGrabCursor:De,unsetGrabCursor:Ae};function Ne(e){const t=this,{$wrapperEl:s,params:a}=t;if(a.loop&&t.loopDestroy(),"object"===typeof e&&"length"in e)for(let i=0;i<e.length;i+=1)e[i]&&s.append(e[i]);else s.append(e);a.loop&&t.loopCreate(),a.observer&&ee.observer||t.update()}function Ge(e){const t=this,{params:s,$wrapperEl:a,activeIndex:i}=t;s.loop&&t.loopDestroy();let n=i+1;if("object"===typeof e&&"length"in e){for(let t=0;t<e.length;t+=1)e[t]&&a.prepend(e[t]);n=i+e.length}else a.prepend(e);s.loop&&t.loopCreate(),s.observer&&ee.observer||t.update(),t.slideTo(n,0,!1)}function He(e,t){const s=this,{$wrapperEl:a,params:i,activeIndex:n}=s;let r=n;i.loop&&(r-=s.loopedSlides,s.loopDestroy(),s.slides=a.children("."+i.slideClass));const o=s.slides.length;if(e<=0)return void s.prependSlide(t);if(e>=o)return void s.appendSlide(t);let l=r>e?r+1:r;const d=[];for(let c=o-1;c>=e;c-=1){const e=s.slides.eq(c);e.remove(),d.unshift(e)}if("object"===typeof t&&"length"in t){for(let e=0;e<t.length;e+=1)t[e]&&a.append(t[e]);l=r>e?r+t.length:r}else a.append(t);for(let c=0;c<d.length;c+=1)a.append(d[c]);i.loop&&s.loopCreate(),i.observer&&ee.observer||s.update(),i.loop?s.slideTo(l+s.loopedSlides,0,!1):s.slideTo(l,0,!1)}function Ve(e){const t=this,{params:s,$wrapperEl:a,activeIndex:i}=t;let n=i;s.loop&&(n-=t.loopedSlides,t.loopDestroy(),t.slides=a.children("."+s.slideClass));let r,o=n;if("object"===typeof e&&"length"in e){for(let s=0;s<e.length;s+=1)r=e[s],t.slides[r]&&t.slides.eq(r).remove(),r<o&&(o-=1);o=Math.max(o,0)}else r=e,t.slides[r]&&t.slides.eq(r).remove(),r<o&&(o-=1),o=Math.max(o,0);s.loop&&t.loopCreate(),s.observer&&ee.observer||t.update(),s.loop?t.slideTo(o+t.loopedSlides,0,!1):t.slideTo(o,0,!1)}function Xe(){const e=this,t=[];for(let s=0;s<e.slides.length;s+=1)t.push(s);e.removeSlide(t)}var Ye={appendSlide:Ne,prependSlide:Ge,addSlide:He,removeSlide:Ve,removeAllSlides:Xe};const Re=function(){const e=J.navigator.platform,t=J.navigator.userAgent,s={ios:!1,android:!1,androidChrome:!1,desktop:!1,iphone:!1,ipod:!1,ipad:!1,edge:!1,ie:!1,firefox:!1,macos:!1,windows:!1,cordova:!(!J.cordova&&!J.phonegap),phonegap:!(!J.cordova&&!J.phonegap),electron:!1},a=J.screen.width,i=J.screen.height,n=t.match(/(Android);?[\s\/]+([\d.]+)?/);let r=t.match(/(iPad).*OS\s([\d_]+)/);const o=t.match(/(iPod)(.*OS\s([\d_]+))?/),l=!r&&t.match(/(iPhone\sOS|iOS)\s([\d_]+)/),d=t.indexOf("MSIE ")>=0||t.indexOf("Trident/")>=0,c=t.indexOf("Edge/")>=0,p=t.indexOf("Gecko/")>=0&&t.indexOf("Firefox/")>=0,u="Win32"===e,h=t.toLowerCase().indexOf("electron")>=0;let m="MacIntel"===e;return!r&&m&&ee.touch&&(1024===a&&1366===i||834===a&&1194===i||834===a&&1112===i||768===a&&1024===i)&&(r=t.match(/(Version)\/([\d.]+)/),m=!1),s.ie=d,s.edge=c,s.firefox=p,n&&!u&&(s.os="android",s.osVersion=n[2],s.android=!0,s.androidChrome=t.toLowerCase().indexOf("chrome")>=0),(r||l||o)&&(s.os="ios",s.ios=!0),l&&!o&&(s.osVersion=l[2].replace(/_/g,"."),s.iphone=!0),r&&(s.osVersion=r[2].replace(/_/g,"."),s.ipad=!0),o&&(s.osVersion=o[3]?o[3].replace(/_/g,"."):null,s.ipod=!0),s.ios&&s.osVersion&&t.indexOf("Version/")>=0&&"10"===s.osVersion.split(".")[0]&&(s.osVersion=t.toLowerCase().split("version/")[1].split(" ")[0]),s.webView=!(!(l||r||o)||!t.match(/.*AppleWebKit(?!.*Safari)/i)&&!J.navigator.standalone)||J.matchMedia&&J.matchMedia("(display-mode: standalone)").matches,s.webview=s.webView,s.standalone=s.webView,s.desktop=!(s.ios||s.android)||h,s.desktop&&(s.electron=h,s.macos=m,s.windows=u,s.macos&&(s.os="macos"),s.windows&&(s.os="windows")),s.pixelRatio=J.devicePixelRatio||1,s}();function Fe(e){const t=this,s=t.touchEventsData,{params:a,touches:i}=t;if(t.animating&&a.preventInteractionOnTransition)return;let n=e;n.originalEvent&&(n=n.originalEvent);const r=c(n.target);if("wrapper"===a.touchEventsTarget&&!r.closest(t.wrapperEl).length)return;if(s.isTouchEvent="touchstart"===n.type,!s.isTouchEvent&&"which"in n&&3===n.which)return;if(!s.isTouchEvent&&"button"in n&&n.button>0)return;if(s.isTouched&&s.isMoved)return;if(a.noSwiping&&r.closest(a.noSwipingSelector?a.noSwipingSelector:"."+a.noSwipingClass)[0])return void(t.allowClick=!0);if(a.swipeHandler&&!r.closest(a.swipeHandler)[0])return;i.currentX="touchstart"===n.type?n.targetTouches[0].pageX:n.pageX,i.currentY="touchstart"===n.type?n.targetTouches[0].pageY:n.pageY;const o=i.currentX,l=i.currentY,d=a.edgeSwipeDetection||a.iOSEdgeSwipeDetection,p=a.edgeSwipeThreshold||a.iOSEdgeSwipeThreshold;if(!d||!(o<=p||o>=J.screen.width-p)){if(Q.extend(s,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),i.startX=o,i.startY=l,s.touchStartTime=Q.now(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,a.threshold>0&&(s.allowThresholdMove=!1),"touchstart"!==n.type){let e=!0;r.is(s.formElements)&&(e=!1),_.activeElement&&c(_.activeElement).is(s.formElements)&&_.activeElement!==r[0]&&_.activeElement.blur();const i=e&&t.allowTouchMove&&a.touchStartPreventDefault;(a.touchStartForcePreventDefault||i)&&n.preventDefault()}t.emit("touchStart",n)}}function qe(e){const t=this,s=t.touchEventsData,{params:a,touches:i,rtlTranslate:n}=t;let r=e;if(r.originalEvent&&(r=r.originalEvent),!s.isTouched)return void(s.startMoving&&s.isScrolling&&t.emit("touchMoveOpposite",r));if(s.isTouchEvent&&"mousemove"===r.type)return;const o="touchmove"===r.type&&r.targetTouches&&(r.targetTouches[0]||r.changedTouches[0]),l="touchmove"===r.type?o.pageX:r.pageX,d="touchmove"===r.type?o.pageY:r.pageY;if(r.preventedByNestedSwiper)return i.startX=l,void(i.startY=d);if(!t.allowTouchMove)return t.allowClick=!1,void(s.isTouched&&(Q.extend(i,{startX:l,startY:d,currentX:l,currentY:d}),s.touchStartTime=Q.now()));if(s.isTouchEvent&&a.touchReleaseOnEdges&&!a.loop)if(t.isVertical()){if(d<i.startY&&t.translate<=t.maxTranslate()||d>i.startY&&t.translate>=t.minTranslate())return s.isTouched=!1,void(s.isMoved=!1)}else if(l<i.startX&&t.translate<=t.maxTranslate()||l>i.startX&&t.translate>=t.minTranslate())return;if(s.isTouchEvent&&_.activeElement&&r.target===_.activeElement&&c(r.target).is(s.formElements))return s.isMoved=!0,void(t.allowClick=!1);if(s.allowTouchCallbacks&&t.emit("touchMove",r),r.targetTouches&&r.targetTouches.length>1)return;i.currentX=l,i.currentY=d;const p=i.currentX-i.startX,u=i.currentY-i.startY;if(t.params.threshold&&Math.sqrt(p**2+u**2)<t.params.threshold)return;if("undefined"===typeof s.isScrolling){let e;t.isHorizontal()&&i.currentY===i.startY||t.isVertical()&&i.currentX===i.startX?s.isScrolling=!1:p*p+u*u>=25&&(e=180*Math.atan2(Math.abs(u),Math.abs(p))/Math.PI,s.isScrolling=t.isHorizontal()?e>a.touchAngle:90-e>a.touchAngle)}if(s.isScrolling&&t.emit("touchMoveOpposite",r),"undefined"===typeof s.startMoving&&(i.currentX===i.startX&&i.currentY===i.startY||(s.startMoving=!0)),s.isScrolling)return void(s.isTouched=!1);if(!s.startMoving)return;t.allowClick=!1,a.cssMode||r.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&r.stopPropagation(),s.isMoved||(a.loop&&t.loopFix(),s.startTranslate=t.getTranslate(),t.setTransition(0),t.animating&&t.$wrapperEl.trigger("webkitTransitionEnd transitionend"),s.allowMomentumBounce=!1,!a.grabCursor||!0!==t.allowSlideNext&&!0!==t.allowSlidePrev||t.setGrabCursor(!0),t.emit("sliderFirstMove",r)),t.emit("sliderMove",r),s.isMoved=!0;let h=t.isHorizontal()?p:u;i.diff=h,h*=a.touchRatio,n&&(h=-h),t.swipeDirection=h>0?"prev":"next",s.currentTranslate=h+s.startTranslate;let m=!0,f=a.resistanceRatio;if(a.touchReleaseOnEdges&&(f=0),h>0&&s.currentTranslate>t.minTranslate()?(m=!1,a.resistance&&(s.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+s.startTranslate+h)**f)):h<0&&s.currentTranslate<t.maxTranslate()&&(m=!1,a.resistance&&(s.currentTranslate=t.maxTranslate()+1-(t.maxTranslate()-s.startTranslate-h)**f)),m&&(r.preventedByNestedSwiper=!0),!t.allowSlideNext&&"next"===t.swipeDirection&&s.currentTranslate<s.startTranslate&&(s.currentTranslate=s.startTranslate),!t.allowSlidePrev&&"prev"===t.swipeDirection&&s.currentTranslate>s.startTranslate&&(s.currentTranslate=s.startTranslate),a.threshold>0){if(!(Math.abs(h)>a.threshold||s.allowThresholdMove))return void(s.currentTranslate=s.startTranslate);if(!s.allowThresholdMove)return s.allowThresholdMove=!0,i.startX=i.currentX,i.startY=i.currentY,s.currentTranslate=s.startTranslate,void(i.diff=t.isHorizontal()?i.currentX-i.startX:i.currentY-i.startY)}a.followFinger&&!a.cssMode&&((a.freeMode||a.watchSlidesProgress||a.watchSlidesVisibility)&&(t.updateActiveIndex(),t.updateSlidesClasses()),a.freeMode&&(0===s.velocities.length&&s.velocities.push({position:i[t.isHorizontal()?"startX":"startY"],time:s.touchStartTime}),s.velocities.push({position:i[t.isHorizontal()?"currentX":"currentY"],time:Q.now()})),t.updateProgress(s.currentTranslate),t.setTranslate(s.currentTranslate))}function We(e){const t=this,s=t.touchEventsData,{params:a,touches:i,rtlTranslate:n,$wrapperEl:r,slidesGrid:o,snapGrid:l}=t;let d=e;if(d.originalEvent&&(d=d.originalEvent),s.allowTouchCallbacks&&t.emit("touchEnd",d),s.allowTouchCallbacks=!1,!s.isTouched)return s.isMoved&&a.grabCursor&&t.setGrabCursor(!1),s.isMoved=!1,void(s.startMoving=!1);a.grabCursor&&s.isMoved&&s.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const c=Q.now(),p=c-s.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(d),t.emit("tap click",d),p<300&&c-s.lastClickTime<300&&t.emit("doubleTap doubleClick",d)),s.lastClickTime=Q.now(),Q.nextTick(()=>{t.destroyed||(t.allowClick=!0)}),!s.isTouched||!s.isMoved||!t.swipeDirection||0===i.diff||s.currentTranslate===s.startTranslate)return s.isTouched=!1,s.isMoved=!1,void(s.startMoving=!1);let u;if(s.isTouched=!1,s.isMoved=!1,s.startMoving=!1,u=a.followFinger?n?t.translate:-t.translate:-s.currentTranslate,a.cssMode)return;if(a.freeMode){if(u<-t.minTranslate())return void t.slideTo(t.activeIndex);if(u>-t.maxTranslate())return void(t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1));if(a.freeModeMomentum){if(s.velocities.length>1){const e=s.velocities.pop(),i=s.velocities.pop(),n=e.position-i.position,r=e.time-i.time;t.velocity=n/r,t.velocity/=2,Math.abs(t.velocity)<a.freeModeMinimumVelocity&&(t.velocity=0),(r>150||Q.now()-e.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=a.freeModeMomentumVelocityRatio,s.velocities.length=0;let e=1e3*a.freeModeMomentumRatio;const i=t.velocity*e;let o=t.translate+i;n&&(o=-o);let d,c=!1;const p=20*Math.abs(t.velocity)*a.freeModeMomentumBounceRatio;let u;if(o<t.maxTranslate())a.freeModeMomentumBounce?(o+t.maxTranslate()<-p&&(o=t.maxTranslate()-p),d=t.maxTranslate(),c=!0,s.allowMomentumBounce=!0):o=t.maxTranslate(),a.loop&&a.centeredSlides&&(u=!0);else if(o>t.minTranslate())a.freeModeMomentumBounce?(o-t.minTranslate()>p&&(o=t.minTranslate()+p),d=t.minTranslate(),c=!0,s.allowMomentumBounce=!0):o=t.minTranslate(),a.loop&&a.centeredSlides&&(u=!0);else if(a.freeModeSticky){let e;for(let t=0;t<l.length;t+=1)if(l[t]>-o){e=t;break}o=Math.abs(l[e]-o)<Math.abs(l[e-1]-o)||"next"===t.swipeDirection?l[e]:l[e-1],o=-o}if(u&&t.once("transitionEnd",()=>{t.loopFix()}),0!==t.velocity){if(e=n?Math.abs((-o-t.translate)/t.velocity):Math.abs((o-t.translate)/t.velocity),a.freeModeSticky){const s=Math.abs((n?-o:o)-t.translate),i=t.slidesSizesGrid[t.activeIndex];e=s<i?a.speed:s<2*i?1.5*a.speed:2.5*a.speed}}else if(a.freeModeSticky)return void t.slideToClosest();a.freeModeMomentumBounce&&c?(t.updateProgress(d),t.setTransition(e),t.setTranslate(o),t.transitionStart(!0,t.swipeDirection),t.animating=!0,r.transitionEnd(()=>{t&&!t.destroyed&&s.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(a.speed),t.setTranslate(d),r.transitionEnd(()=>{t&&!t.destroyed&&t.transitionEnd()}))})):t.velocity?(t.updateProgress(o),t.setTransition(e),t.setTranslate(o),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,r.transitionEnd(()=>{t&&!t.destroyed&&t.transitionEnd()}))):t.updateProgress(o),t.updateActiveIndex(),t.updateSlidesClasses()}else if(a.freeModeSticky)return void t.slideToClosest();return void((!a.freeModeMomentum||p>=a.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses()))}let h=0,m=t.slidesSizesGrid[0];for(let g=0;g<o.length;g+=a.slidesPerGroup)"undefined"!==typeof o[g+a.slidesPerGroup]?u>=o[g]&&u<o[g+a.slidesPerGroup]&&(h=g,m=o[g+a.slidesPerGroup]-o[g]):u>=o[g]&&(h=g,m=o[o.length-1]-o[o.length-2]);const f=(u-o[h])/m;if(p>a.longSwipesMs){if(!a.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(f>=a.longSwipesRatio?t.slideTo(h+a.slidesPerGroup):t.slideTo(h)),"prev"===t.swipeDirection&&(f>1-a.longSwipesRatio?t.slideTo(h+a.slidesPerGroup):t.slideTo(h))}else{if(!a.shortSwipes)return void t.slideTo(t.activeIndex);const e=t.navigation&&(d.target===t.navigation.nextEl||d.target===t.navigation.prevEl);e?d.target===t.navigation.nextEl?t.slideTo(h+a.slidesPerGroup):t.slideTo(h):("next"===t.swipeDirection&&t.slideTo(h+a.slidesPerGroup),"prev"===t.swipeDirection&&t.slideTo(h))}}function je(){const e=this,{params:t,el:s}=e;if(s&&0===s.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:a,allowSlidePrev:i,snapGrid:n}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=i,e.allowSlideNext=a,e.params.watchOverflow&&n!==e.snapGrid&&e.checkOverflow()}function Ue(e){const t=this;t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function Ke(){const e=this,{wrapperEl:t}=e;let s;e.previousTranslate=e.translate,e.translate=e.isHorizontal()?-t.scrollLeft:-t.scrollTop,-0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const a=e.maxTranslate()-e.minTranslate();s=0===a?0:(e.translate-e.minTranslate())/a,s!==e.progress&&e.updateProgress(e.translate),e.emit("setTranslate",e.translate,!1)}let _e=!1;function Je(){}function Ze(){const e=this,{params:t,touchEvents:s,el:a,wrapperEl:i}=e;e.onTouchStart=Fe.bind(e),e.onTouchMove=qe.bind(e),e.onTouchEnd=We.bind(e),t.cssMode&&(e.onScroll=Ke.bind(e)),e.onClick=Ue.bind(e);const n=!!t.nested;if(!ee.touch&&ee.pointerEvents)a.addEventListener(s.start,e.onTouchStart,!1),_.addEventListener(s.move,e.onTouchMove,n),_.addEventListener(s.end,e.onTouchEnd,!1);else{if(ee.touch){const i=!("touchstart"!==s.start||!ee.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};a.addEventListener(s.start,e.onTouchStart,i),a.addEventListener(s.move,e.onTouchMove,ee.passiveListener?{passive:!1,capture:n}:n),a.addEventListener(s.end,e.onTouchEnd,i),s.cancel&&a.addEventListener(s.cancel,e.onTouchEnd,i),_e||(_.addEventListener("touchstart",Je),_e=!0)}(t.simulateTouch&&!Re.ios&&!Re.android||t.simulateTouch&&!ee.touch&&Re.ios)&&(a.addEventListener("mousedown",e.onTouchStart,!1),_.addEventListener("mousemove",e.onTouchMove,n),_.addEventListener("mouseup",e.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&a.addEventListener("click",e.onClick,!0),t.cssMode&&i.addEventListener("scroll",e.onScroll),e.on(Re.ios||Re.android?"resize orientationchange observerUpdate":"resize observerUpdate",je,!0)}function Qe(){const e=this,{params:t,touchEvents:s,el:a,wrapperEl:i}=e,n=!!t.nested;if(!ee.touch&&ee.pointerEvents)a.removeEventListener(s.start,e.onTouchStart,!1),_.removeEventListener(s.move,e.onTouchMove,n),_.removeEventListener(s.end,e.onTouchEnd,!1);else{if(ee.touch){const i=!("onTouchStart"!==s.start||!ee.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};a.removeEventListener(s.start,e.onTouchStart,i),a.removeEventListener(s.move,e.onTouchMove,n),a.removeEventListener(s.end,e.onTouchEnd,i),s.cancel&&a.removeEventListener(s.cancel,e.onTouchEnd,i)}(t.simulateTouch&&!Re.ios&&!Re.android||t.simulateTouch&&!ee.touch&&Re.ios)&&(a.removeEventListener("mousedown",e.onTouchStart,!1),_.removeEventListener("mousemove",e.onTouchMove,n),_.removeEventListener("mouseup",e.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&a.removeEventListener("click",e.onClick,!0),t.cssMode&&i.removeEventListener("scroll",e.onScroll),e.off(Re.ios||Re.android?"resize orientationchange observerUpdate":"resize observerUpdate",je)}var et={attachEvents:Ze,detachEvents:Qe};function tt(){const e=this,{activeIndex:t,initialized:s,loopedSlides:a=0,params:i,$el:n}=e,r=i.breakpoints;if(!r||r&&0===Object.keys(r).length)return;const o=e.getBreakpoint(r);if(o&&e.currentBreakpoint!==o){const l=o in r?r[o]:void 0;l&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerColumn"].forEach(e=>{const t=l[e];"undefined"!==typeof t&&(l[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")});const d=l||e.originalParams,c=i.slidesPerColumn>1,p=d.slidesPerColumn>1;c&&!p?n.removeClass(`${i.containerModifierClass}multirow ${i.containerModifierClass}multirow-column`):!c&&p&&(n.addClass(i.containerModifierClass+"multirow"),"column"===d.slidesPerColumnFill&&n.addClass(i.containerModifierClass+"multirow-column"));const u=d.direction&&d.direction!==i.direction,h=i.loop&&(d.slidesPerView!==i.slidesPerView||u);u&&s&&e.changeDirection(),Q.extend(e.params,d),Q.extend(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),e.currentBreakpoint=o,h&&s&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-a+e.loopedSlides,0,!1)),e.emit("breakpoint",d)}}function st(e){if(!e)return;let t=!1;const s=[];Object.keys(e).forEach(e=>{s.push(e)}),s.sort((e,t)=>parseInt(e,10)-parseInt(t,10));for(let a=0;a<s.length;a+=1){const e=s[a];e<=J.innerWidth&&(t=e)}return t||"max"}var at={setBreakpoint:tt,getBreakpoint:st};function it(){const e=this,{classNames:t,params:s,rtl:a,$el:i}=e,n=[];n.push("initialized"),n.push(s.direction),s.freeMode&&n.push("free-mode"),s.autoHeight&&n.push("autoheight"),a&&n.push("rtl"),s.slidesPerColumn>1&&(n.push("multirow"),"column"===s.slidesPerColumnFill&&n.push("multirow-column")),Re.android&&n.push("android"),Re.ios&&n.push("ios"),s.cssMode&&n.push("css-mode"),n.forEach(e=>{t.push(s.containerModifierClass+e)}),i.addClass(t.join(" "))}function nt(){const e=this,{$el:t,classNames:s}=e;t.removeClass(s.join(" "))}var rt={addClasses:it,removeClasses:nt};function ot(e,t,s,a,i,n){let r;function o(){n&&n()}e.complete&&i?o():t?(r=new J.Image,r.onload=o,r.onerror=o,a&&(r.sizes=a),s&&(r.srcset=s),t&&(r.src=t)):o()}function lt(){const e=this;function t(){"undefined"!==typeof e&&null!==e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let s=0;s<e.imagesToLoad.length;s+=1){const a=e.imagesToLoad[s];e.loadImage(a,a.currentSrc||a.getAttribute("src"),a.srcset||a.getAttribute("srcset"),a.sizes||a.getAttribute("sizes"),!0,t)}}var dt={loadImage:ot,preloadImages:lt};function ct(){const e=this,t=e.params,s=e.isLocked,a=e.slides.length>0&&t.slidesOffsetBefore+t.spaceBetween*(e.slides.length-1)+e.slides[0].offsetWidth*e.slides.length;t.slidesOffsetBefore&&t.slidesOffsetAfter&&a?e.isLocked=a<=e.size:e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,s!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),s&&s!==e.isLocked&&(e.isEnd=!1,e.navigation.update())}var pt={checkOverflow:ct},ut={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0};const ht={update:pe,translate:ve,transition:xe,slide:ke,loop:Oe,grabCursor:Be,manipulation:Ye,events:et,breakpoints:at,checkOverflow:pt,classes:rt,images:dt},mt={};class ft extends te{constructor(...e){let t,s;1===e.length&&e[0].constructor&&e[0].constructor===Object?s=e[0]:[t,s]=e,s||(s={}),s=Q.extend({},s),t&&!s.el&&(s.el=t),super(s),Object.keys(ht).forEach(e=>{Object.keys(ht[e]).forEach(t=>{ft.prototype[t]||(ft.prototype[t]=ht[e][t])})});const a=this;"undefined"===typeof a.modules&&(a.modules={}),Object.keys(a.modules).forEach(e=>{const t=a.modules[e];if(t.params){const e=Object.keys(t.params)[0],a=t.params[e];if("object"!==typeof a||null===a)return;if(!(e in s)||!("enabled"in a))return;!0===s[e]&&(s[e]={enabled:!0}),"object"!==typeof s[e]||"enabled"in s[e]||(s[e].enabled=!0),s[e]||(s[e]={enabled:!1})}});const i=Q.extend({},ut);a.useModulesParams(i),a.params=Q.extend({},i,mt,s),a.originalParams=Q.extend({},a.params),a.passedParams=Q.extend({},s),a.$=c;const n=c(a.params.el);if(t=n[0],!t)return;if(n.length>1){const e=[];return n.each((t,a)=>{const i=Q.extend({},s,{el:a});e.push(new ft(i))}),e}let r;return t.swiper=a,n.data("swiper",a),t&&t.shadowRoot&&t.shadowRoot.querySelector?(r=c(t.shadowRoot.querySelector("."+a.params.wrapperClass)),r.children=e=>n.children(e)):r=n.children("."+a.params.wrapperClass),Q.extend(a,{$el:n,el:t,$wrapperEl:r,wrapperEl:r[0],classNames:[],slides:c(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return"horizontal"===a.params.direction},isVertical(){return"vertical"===a.params.direction},rtl:"rtl"===t.dir.toLowerCase()||"rtl"===n.css("direction"),rtlTranslate:"horizontal"===a.params.direction&&("rtl"===t.dir.toLowerCase()||"rtl"===n.css("direction")),wrongRTL:"-webkit-box"===r.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"];let t=["mousedown","mousemove","mouseup"];return ee.pointerEvents&&(t=["pointerdown","pointermove","pointerup"]),a.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},a.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},ee.touch||!a.params.simulateTouch?a.touchEventsTouch:a.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video",lastClickTime:Q.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.useModules(),a.params.init&&a.init(),a}slidesPerViewDynamic(){const e=this,{params:t,slides:s,slidesGrid:a,size:i,activeIndex:n}=e;let r=1;if(t.centeredSlides){let e,t=s[n].swiperSlideSize;for(let a=n+1;a<s.length;a+=1)s[a]&&!e&&(t+=s[a].swiperSlideSize,r+=1,t>i&&(e=!0));for(let a=n-1;a>=0;a-=1)s[a]&&!e&&(t+=s[a].swiperSlideSize,r+=1,t>i&&(e=!0))}else for(let o=n+1;o<s.length;o+=1)a[o]-a[n]<i&&(r+=1);return r}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:s}=e;function a(){const t=e.rtlTranslate?-1*e.translate:e.translate,s=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let i;s.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(a(),e.params.autoHeight&&e.updateAutoHeight()):(i=("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),i||a()),s.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const s=this,a=s.params.direction;return e||(e="horizontal"===a?"vertical":"horizontal"),e===a||"horizontal"!==e&&"vertical"!==e||(s.$el.removeClass(`${s.params.containerModifierClass}${a}`).addClass(`${s.params.containerModifierClass}${e}`),s.params.direction=e,s.slides.each((t,s)=>{"vertical"===e?s.style.width="":s.style.height=""}),s.emit("changeDirection"),t&&s.update()),s}init(){const 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"))}destroy(e=!0,t=!0){const s=this,{params:a,$el:i,$wrapperEl:n,slides:r}=s;return"undefined"===typeof s.params||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),a.loop&&s.loopDestroy(),t&&(s.removeClasses(),i.removeAttr("style"),n.removeAttr("style"),r&&r.length&&r.removeClass([a.slideVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),s.emit("destroy"),Object.keys(s.eventsListeners).forEach(e=>{s.off(e)}),!1!==e&&(s.$el[0].swiper=null,s.$el.data("swiper",null),Q.deleteProps(s)),s.destroyed=!0),null}static extendDefaults(e){Q.extend(mt,e)}static get extendedDefaults(){return mt}static get defaults(){return ut}static get Class(){return te}static get $(){return c}}var gt={name:"device",proto:{device:Re},static:{device:Re}},vt={name:"support",proto:{support:ee},static:{support:ee}};const wt=function(){function e(){const e=J.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}return{isEdge:!!J.navigator.userAgent.match(/Edge/g),isSafari:e(),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(J.navigator.userAgent)}}();var bt={name:"browser",proto:{browser:wt},static:{browser:wt}},yt={name:"resize",create(){const e=this;Q.extend(e,{resize:{resizeHandler(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init(){const e=this;J.addEventListener("resize",e.resize.resizeHandler),J.addEventListener("orientationchange",e.resize.orientationChangeHandler)},destroy(){const e=this;J.removeEventListener("resize",e.resize.resizeHandler),J.removeEventListener("orientationchange",e.resize.orientationChangeHandler)}}};const xt={func:J.MutationObserver||J.WebkitMutationObserver,attach(e,t={}){const s=this,a=xt.func,i=new a(e=>{if(1===e.length)return void s.emit("observerUpdate",e[0]);const t=function(){s.emit("observerUpdate",e[0])};J.requestAnimationFrame?J.requestAnimationFrame(t):J.setTimeout(t,0)});i.observe(e,{attributes:"undefined"===typeof t.attributes||t.attributes,childList:"undefined"===typeof t.childList||t.childList,characterData:"undefined"===typeof t.characterData||t.characterData}),s.observer.observers.push(i)},init(){const e=this;if(ee.observer&&e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let s=0;s<t.length;s+=1)e.observer.attach(t[s])}e.observer.attach(e.$el[0],{childList:e.params.observeSlideChildren}),e.observer.attach(e.$wrapperEl[0],{attributes:!1})}},destroy(){const e=this;e.observer.observers.forEach(e=>{e.disconnect()}),e.observer.observers=[]}};var Tt={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create(){const e=this;Q.extend(e,{observer:{init:xt.init.bind(e),attach:xt.attach.bind(e),destroy:xt.destroy.bind(e),observers:[]}})},on:{init(){const e=this;e.observer.init()},destroy(){const e=this;e.observer.destroy()}}};const Et={update(e){const t=this,{slidesPerView:s,slidesPerGroup:a,centeredSlides:i}=t.params,{addSlidesBefore:n,addSlidesAfter:r}=t.params.virtual,{from:o,to:l,slides:d,slidesGrid:c,renderSlide:p,offset:u}=t.virtual;t.updateActiveIndex();const h=t.activeIndex||0;let m,f,g;m=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",i?(f=Math.floor(s/2)+a+n,g=Math.floor(s/2)+a+r):(f=s+(a-1)+n,g=a+r);const v=Math.max((h||0)-g,0),w=Math.min((h||0)+f,d.length-1),b=(t.slidesGrid[v]||0)-(t.slidesGrid[0]||0);function y(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(Q.extend(t.virtual,{from:v,to:w,offset:b,slidesGrid:t.slidesGrid}),o===v&&l===w&&!e)return t.slidesGrid!==c&&b!==u&&t.slides.css(m,b+"px"),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:b,from:v,to:w,slides:function(){const e=[];for(let t=v;t<=w;t+=1)e.push(d[t]);return e}()}),void y();const x=[],T=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(let E=o;E<=l;E+=1)(E<v||E>w)&&t.$wrapperEl.find(`.${t.params.slideClass}[data-swiper-slide-index="${E}"]`).remove();for(let E=0;E<d.length;E+=1)E>=v&&E<=w&&("undefined"===typeof l||e?T.push(E):(E>l&&T.push(E),E<o&&x.push(E)));T.forEach(e=>{t.$wrapperEl.append(p(d[e],e))}),x.sort((e,t)=>t-e).forEach(e=>{t.$wrapperEl.prepend(p(d[e],e))}),t.$wrapperEl.children(".swiper-slide").css(m,b+"px"),y()},renderSlide(e,t){const s=this,a=s.params.virtual;if(a.cache&&s.virtual.cache[t])return s.virtual.cache[t];const i=a.renderSlide?c(a.renderSlide.call(s,e,t)):c(`<div class="${s.params.slideClass}" data-swiper-slide-index="${t}">${e}</div>`);return i.attr("data-swiper-slide-index")||i.attr("data-swiper-slide-index",t),a.cache&&(s.virtual.cache[t]=i),i},appendSlide(e){const t=this;if("object"===typeof e&&"length"in e)for(let s=0;s<e.length;s+=1)e[s]&&t.virtual.slides.push(e[s]);else t.virtual.slides.push(e);t.virtual.update(!0)},prependSlide(e){const t=this,s=t.activeIndex;let a=s+1,i=1;if(Array.isArray(e)){for(let s=0;s<e.length;s+=1)e[s]&&t.virtual.slides.unshift(e[s]);a=s+e.length,i=e.length}else t.virtual.slides.unshift(e);if(t.params.virtual.cache){const e=t.virtual.cache,s={};Object.keys(e).forEach(t=>{const a=e[t],n=a.attr("data-swiper-slide-index");n&&a.attr("data-swiper-slide-index",parseInt(n,10)+1),s[parseInt(t,10)+i]=a}),t.virtual.cache=s}t.virtual.update(!0),t.slideTo(a,0)},removeSlide(e){const t=this;if("undefined"===typeof e||null===e)return;let s=t.activeIndex;if(Array.isArray(e))for(let a=e.length-1;a>=0;a-=1)t.virtual.slides.splice(e[a],1),t.params.virtual.cache&&delete t.virtual.cache[e[a]],e[a]<s&&(s-=1),s=Math.max(s,0);else t.virtual.slides.splice(e,1),t.params.virtual.cache&&delete t.virtual.cache[e],e<s&&(s-=1),s=Math.max(s,0);t.virtual.update(!0),t.slideTo(s,0)},removeAllSlides(){const e=this;e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),e.virtual.update(!0),e.slideTo(0,0)}};var St={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create(){const e=this;Q.extend(e,{virtual:{update:Et.update.bind(e),appendSlide:Et.appendSlide.bind(e),prependSlide:Et.prependSlide.bind(e),removeSlide:Et.removeSlide.bind(e),removeAllSlides:Et.removeAllSlides.bind(e),renderSlide:Et.renderSlide.bind(e),slides:e.params.virtual.slides,cache:{}}})},on:{beforeInit(){const e=this;if(!e.params.virtual.enabled)return;e.classNames.push(e.params.containerModifierClass+"virtual");const t={watchSlidesProgress:!0};Q.extend(e.params,t),Q.extend(e.originalParams,t),e.params.initialSlide||e.virtual.update()},setTranslate(){const e=this;e.params.virtual.enabled&&e.virtual.update()}}};const Ct={handle(e){const t=this,{rtlTranslate:s}=t;let a=e;a.originalEvent&&(a=a.originalEvent);const i=a.keyCode||a.charCode;if(!t.allowSlideNext&&(t.isHorizontal()&&39===i||t.isVertical()&&40===i||34===i))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&37===i||t.isVertical()&&38===i||33===i))return!1;if(!(a.shiftKey||a.altKey||a.ctrlKey||a.metaKey)&&(!_.activeElement||!_.activeElement.nodeName||"input"!==_.activeElement.nodeName.toLowerCase()&&"textarea"!==_.activeElement.nodeName.toLowerCase())){if(t.params.keyboard.onlyInViewport&&(33===i||34===i||37===i||39===i||38===i||40===i)){let e=!1;if(t.$el.parents("."+t.params.slideClass).length>0&&0===t.$el.parents("."+t.params.slideActiveClass).length)return;const a=J.innerWidth,i=J.innerHeight,n=t.$el.offset();s&&(n.left-=t.$el[0].scrollLeft);const r=[[n.left,n.top],[n.left+t.width,n.top],[n.left,n.top+t.height],[n.left+t.width,n.top+t.height]];for(let t=0;t<r.length;t+=1){const s=r[t];s[0]>=0&&s[0]<=a&&s[1]>=0&&s[1]<=i&&(e=!0)}if(!e)return}t.isHorizontal()?(33!==i&&34!==i&&37!==i&&39!==i||(a.preventDefault?a.preventDefault():a.returnValue=!1),(34!==i&&39!==i||s)&&(33!==i&&37!==i||!s)||t.slideNext(),(33!==i&&37!==i||s)&&(34!==i&&39!==i||!s)||t.slidePrev()):(33!==i&&34!==i&&38!==i&&40!==i||(a.preventDefault?a.preventDefault():a.returnValue=!1),34!==i&&40!==i||t.slideNext(),33!==i&&38!==i||t.slidePrev()),t.emit("keyPress",i)}},enable(){const e=this;e.keyboard.enabled||(c(_).on("keydown",e.keyboard.handle),e.keyboard.enabled=!0)},disable(){const e=this;e.keyboard.enabled&&(c(_).off("keydown",e.keyboard.handle),e.keyboard.enabled=!1)}};var $t={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create(){const e=this;Q.extend(e,{keyboard:{enabled:!1,enable:Ct.enable.bind(e),disable:Ct.disable.bind(e),handle:Ct.handle.bind(e)}})},on:{init(){const e=this;e.params.keyboard.enabled&&e.keyboard.enable()},destroy(){const e=this;e.keyboard.enabled&&e.keyboard.disable()}}};function Mt(){const e="onwheel";let t=e in _;if(!t){const s=_.createElement("div");s.setAttribute(e,"return;"),t="function"===typeof s[e]}return!t&&_.implementation&&_.implementation.hasFeature&&!0!==_.implementation.hasFeature("","")&&(t=_.implementation.hasFeature("Events.wheel","3.0")),t}const Pt={lastScrollTime:Q.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event(){return J.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":Mt()?"wheel":"mousewheel"},normalize(e){const t=10,s=40,a=800;let i=0,n=0,r=0,o=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(i=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(i=n,n=0),r=i*t,o=n*t,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(r=e.deltaX),e.shiftKey&&!r&&(r=o,o=0),(r||o)&&e.deltaMode&&(1===e.deltaMode?(r*=s,o*=s):(r*=a,o*=a)),r&&!i&&(i=r<1?-1:1),o&&!n&&(n=o<1?-1:1),{spinX:i,spinY:n,pixelX:r,pixelY:o}},handleMouseEnter(){const e=this;e.mouseEntered=!0},handleMouseLeave(){const e=this;e.mouseEntered=!1},handle(e){let t=e;const s=this,a=s.params.mousewheel;if(s.params.cssMode&&t.preventDefault(),!s.mouseEntered&&!a.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);let i=0;const n=s.rtlTranslate?-1:1,r=Pt.normalize(t);if(a.forceToAxis)if(s.isHorizontal()){if(!(Math.abs(r.pixelX)>Math.abs(r.pixelY)))return!0;i=r.pixelX*n}else{if(!(Math.abs(r.pixelY)>Math.abs(r.pixelX)))return!0;i=r.pixelY}else i=Math.abs(r.pixelX)>Math.abs(r.pixelY)?-r.pixelX*n:-r.pixelY;if(0===i)return!0;if(a.invert&&(i=-i),s.params.freeMode){const e={time:Q.now(),delta:Math.abs(i),direction:Math.sign(i)},{lastEventBeforeSnap:n}=s.mousewheel,r=n&&e.time<n.time+500&&e.delta<=n.delta&&e.direction===n.direction;if(!r){s.mousewheel.lastEventBeforeSnap=void 0,s.params.loop&&s.loopFix();let n=s.getTranslate()+i*a.sensitivity;const o=s.isBeginning,l=s.isEnd;if(n>=s.minTranslate()&&(n=s.minTranslate()),n<=s.maxTranslate()&&(n=s.maxTranslate()),s.setTransition(0),s.setTranslate(n),s.updateProgress(),s.updateActiveIndex(),s.updateSlidesClasses(),(!o&&s.isBeginning||!l&&s.isEnd)&&s.updateSlidesClasses(),s.params.freeModeSticky){clearTimeout(s.mousewheel.timeout),s.mousewheel.timeout=void 0;const t=s.mousewheel.recentWheelEvents;t.length>=15&&t.shift();const a=t.length?t[t.length-1]:void 0,n=t[0];if(t.push(e),a&&(e.delta>a.delta||e.direction!==a.direction))t.splice(0);else if(t.length>=15&&e.time-n.time<500&&n.delta-e.delta>=1&&e.delta<=6){const a=i>0?.8:.2;s.mousewheel.lastEventBeforeSnap=e,t.splice(0),s.mousewheel.timeout=Q.nextTick(()=>{s.slideToClosest(s.params.speed,!0,void 0,a)},0)}s.mousewheel.timeout||(s.mousewheel.timeout=Q.nextTick(()=>{const a=.5;s.mousewheel.lastEventBeforeSnap=e,t.splice(0),s.slideToClosest(s.params.speed,!0,void 0,a)},500))}if(r||s.emit("scroll",t),s.params.autoplay&&s.params.autoplayDisableOnInteraction&&s.autoplay.stop(),n===s.minTranslate()||n===s.maxTranslate())return!0}}else{if(Q.now()-s.mousewheel.lastScrollTime>60)if(i<0)if(s.isEnd&&!s.params.loop||s.animating){if(a.releaseOnEdges)return!0}else s.slideNext(),s.emit("scroll",t);else if(s.isBeginning&&!s.params.loop||s.animating){if(a.releaseOnEdges)return!0}else s.slidePrev(),s.emit("scroll",t);s.mousewheel.lastScrollTime=(new J.Date).getTime()}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},enable(){const e=this,t=Pt.event();if(e.params.cssMode)return e.wrapperEl.removeEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(e.mousewheel.enabled)return!1;let s=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(s=c(e.params.mousewheel.eventsTarged)),s.on("mouseenter",e.mousewheel.handleMouseEnter),s.on("mouseleave",e.mousewheel.handleMouseLeave),s.on(t,e.mousewheel.handle),e.mousewheel.enabled=!0,!0},disable(){const e=this,t=Pt.event();if(e.params.cssMode)return e.wrapperEl.addEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(!e.mousewheel.enabled)return!1;let s=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(s=c(e.params.mousewheel.eventsTarged)),s.off(t,e.mousewheel.handle),e.mousewheel.enabled=!1,!0}};var kt={name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create(){const e=this;Q.extend(e,{mousewheel:{enabled:!1,enable:Pt.enable.bind(e),disable:Pt.disable.bind(e),handle:Pt.handle.bind(e),handleMouseEnter:Pt.handleMouseEnter.bind(e),handleMouseLeave:Pt.handleMouseLeave.bind(e),lastScrollTime:Q.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[]}})},on:{init(){const e=this;!e.params.mousewheel.enabled&&e.params.cssMode&&e.mousewheel.disable(),e.params.mousewheel.enabled&&e.mousewheel.enable()},destroy(){const e=this;e.params.cssMode&&e.mousewheel.enable(),e.mousewheel.enabled&&e.mousewheel.disable()}}};const zt={update(){const e=this,t=e.params.navigation;if(e.params.loop)return;const{$nextEl:s,$prevEl:a}=e.navigation;a&&a.length>0&&(e.isBeginning?a.addClass(t.disabledClass):a.removeClass(t.disabledClass),a[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass)),s&&s.length>0&&(e.isEnd?s.addClass(t.disabledClass):s.removeClass(t.disabledClass),s[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass))},onPrevClick(e){const t=this;e.preventDefault(),t.isBeginning&&!t.params.loop||t.slidePrev()},onNextClick(e){const t=this;e.preventDefault(),t.isEnd&&!t.params.loop||t.slideNext()},init(){const e=this,t=e.params.navigation;if(!t.nextEl&&!t.prevEl)return;let s,a;t.nextEl&&(s=c(t.nextEl),e.params.uniqueNavElements&&"string"===typeof t.nextEl&&s.length>1&&1===e.$el.find(t.nextEl).length&&(s=e.$el.find(t.nextEl))),t.prevEl&&(a=c(t.prevEl),e.params.uniqueNavElements&&"string"===typeof t.prevEl&&a.length>1&&1===e.$el.find(t.prevEl).length&&(a=e.$el.find(t.prevEl))),s&&s.length>0&&s.on("click",e.navigation.onNextClick),a&&a.length>0&&a.on("click",e.navigation.onPrevClick),Q.extend(e.navigation,{$nextEl:s,nextEl:s&&s[0],$prevEl:a,prevEl:a&&a[0]})},destroy(){const e=this,{$nextEl:t,$prevEl:s}=e.navigation;t&&t.length&&(t.off("click",e.navigation.onNextClick),t.removeClass(e.params.navigation.disabledClass)),s&&s.length&&(s.off("click",e.navigation.onPrevClick),s.removeClass(e.params.navigation.disabledClass))}};var It={name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create(){const e=this;Q.extend(e,{navigation:{init:zt.init.bind(e),update:zt.update.bind(e),destroy:zt.destroy.bind(e),onNextClick:zt.onNextClick.bind(e),onPrevClick:zt.onPrevClick.bind(e)}})},on:{init(){const e=this;e.navigation.init(),e.navigation.update()},toEdge(){const e=this;e.navigation.update()},fromEdge(){const e=this;e.navigation.update()},destroy(){const e=this;e.navigation.destroy()},click(e){const t=this,{$nextEl:s,$prevEl:a}=t.navigation;if(t.params.navigation.hideOnClick&&!c(e.target).is(a)&&!c(e.target).is(s)){let e;s?e=s.hasClass(t.params.navigation.hiddenClass):a&&(e=a.hasClass(t.params.navigation.hiddenClass)),!0===e?t.emit("navigationShow",t):t.emit("navigationHide",t),s&&s.toggleClass(t.params.navigation.hiddenClass),a&&a.toggleClass(t.params.navigation.hiddenClass)}}}};const Lt={update(){const e=this,t=e.rtl,s=e.params.pagination;if(!s.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length)return;const a=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,i=e.pagination.$el;let n;const r=e.params.loop?Math.ceil((a-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(n=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),n>a-1-2*e.loopedSlides&&(n-=a-2*e.loopedSlides),n>r-1&&(n-=r),n<0&&"bullets"!==e.params.paginationType&&(n=r+n)):n="undefined"!==typeof e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===s.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const a=e.pagination.bullets;let r,o,l;if(s.dynamicBullets&&(e.pagination.bulletSize=a.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),i.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(s.dynamicMainBullets+4)+"px"),s.dynamicMainBullets>1&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=n-e.previousIndex,e.pagination.dynamicBulletIndex>s.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=s.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),r=n-e.pagination.dynamicBulletIndex,o=r+(Math.min(a.length,s.dynamicMainBullets)-1),l=(o+r)/2),a.removeClass(`${s.bulletActiveClass} ${s.bulletActiveClass}-next ${s.bulletActiveClass}-next-next ${s.bulletActiveClass}-prev ${s.bulletActiveClass}-prev-prev ${s.bulletActiveClass}-main`),i.length>1)a.each((e,t)=>{const a=c(t),i=a.index();i===n&&a.addClass(s.bulletActiveClass),s.dynamicBullets&&(i>=r&&i<=o&&a.addClass(s.bulletActiveClass+"-main"),i===r&&a.prev().addClass(s.bulletActiveClass+"-prev").prev().addClass(s.bulletActiveClass+"-prev-prev"),i===o&&a.next().addClass(s.bulletActiveClass+"-next").next().addClass(s.bulletActiveClass+"-next-next"))});else{const t=a.eq(n),i=t.index();if(t.addClass(s.bulletActiveClass),s.dynamicBullets){const t=a.eq(r),n=a.eq(o);for(let e=r;e<=o;e+=1)a.eq(e).addClass(s.bulletActiveClass+"-main");if(e.params.loop)if(i>=a.length-s.dynamicMainBullets){for(let e=s.dynamicMainBullets;e>=0;e-=1)a.eq(a.length-e).addClass(s.bulletActiveClass+"-main");a.eq(a.length-s.dynamicMainBullets-1).addClass(s.bulletActiveClass+"-prev")}else t.prev().addClass(s.bulletActiveClass+"-prev").prev().addClass(s.bulletActiveClass+"-prev-prev"),n.next().addClass(s.bulletActiveClass+"-next").next().addClass(s.bulletActiveClass+"-next-next");else t.prev().addClass(s.bulletActiveClass+"-prev").prev().addClass(s.bulletActiveClass+"-prev-prev"),n.next().addClass(s.bulletActiveClass+"-next").next().addClass(s.bulletActiveClass+"-next-next")}}if(s.dynamicBullets){const i=Math.min(a.length,s.dynamicMainBullets+4),n=(e.pagination.bulletSize*i-e.pagination.bulletSize)/2-l*e.pagination.bulletSize,r=t?"right":"left";a.css(e.isHorizontal()?r:"top",n+"px")}}if("fraction"===s.type&&(i.find("."+s.currentClass).text(s.formatFractionCurrent(n+1)),i.find("."+s.totalClass).text(s.formatFractionTotal(r))),"progressbar"===s.type){let t;t=s.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const a=(n+1)/r;let o=1,l=1;"horizontal"===t?o=a:l=a,i.find("."+s.progressbarFillClass).transform(`translate3d(0,0,0) scaleX(${o}) scaleY(${l})`).transition(e.params.speed)}"custom"===s.type&&s.renderCustom?(i.html(s.renderCustom(e,n+1,r)),e.emit("paginationRender",e,i[0])):e.emit("paginationUpdate",e,i[0]),i[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](s.lockClass)},render(){const e=this,t=e.params.pagination;if(!t.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length)return;const s=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,a=e.pagination.$el;let i="";if("bullets"===t.type){const n=e.params.loop?Math.ceil((s-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;for(let s=0;s<n;s+=1)t.renderBullet?i+=t.renderBullet.call(e,s,t.bulletClass):i+=`<${t.bulletElement} class="${t.bulletClass}"></${t.bulletElement}>`;a.html(i),e.pagination.bullets=a.find("."+t.bulletClass)}"fraction"===t.type&&(i=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`,a.html(i)),"progressbar"===t.type&&(i=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`,a.html(i)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])},init(){const e=this,t=e.params.pagination;if(!t.el)return;let s=c(t.el);0!==s.length&&(e.params.uniqueNavElements&&"string"===typeof t.el&&s.length>1&&1===e.$el.find(t.el).length&&(s=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&s.addClass(t.clickableClass),s.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(s.addClass(`${t.modifierClass}${t.type}-dynamic`),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&s.addClass(t.progressbarOppositeClass),t.clickable&&s.on("click","."+t.bulletClass,(function(t){t.preventDefault();let s=c(this).index()*e.params.slidesPerGroup;e.params.loop&&(s+=e.loopedSlides),e.slideTo(s)})),Q.extend(e.pagination,{$el:s,el:s[0]}))},destroy(){const e=this,t=e.params.pagination;if(!t.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length)return;const s=e.pagination.$el;s.removeClass(t.hiddenClass),s.removeClass(t.modifierClass+t.type),e.pagination.bullets&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&s.off("click","."+t.bulletClass)}};var Ot={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:e=>e,formatFractionTotal:e=>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(){const e=this;Q.extend(e,{pagination:{init:Lt.init.bind(e),render:Lt.render.bind(e),update:Lt.update.bind(e),destroy:Lt.destroy.bind(e),dynamicBulletIndex:0}})},on:{init(){const e=this;e.pagination.init(),e.pagination.render(),e.pagination.update()},activeIndexChange(){const e=this;(e.params.loop||"undefined"===typeof e.snapIndex)&&e.pagination.update()},snapIndexChange(){const e=this;e.params.loop||e.pagination.update()},slidesLengthChange(){const e=this;e.params.loop&&(e.pagination.render(),e.pagination.update())},snapGridLengthChange(){const e=this;e.params.loop||(e.pagination.render(),e.pagination.update())},destroy(){const e=this;e.pagination.destroy()},click(e){const t=this;if(t.params.pagination.el&&t.params.pagination.hideOnClick&&t.pagination.$el.length>0&&!c(e.target).hasClass(t.params.pagination.bulletClass)){const e=t.pagination.$el.hasClass(t.params.pagination.hiddenClass);!0===e?t.emit("paginationShow",t):t.emit("paginationHide",t),t.pagination.$el.toggleClass(t.params.pagination.hiddenClass)}}}};const Dt={setTranslate(){const e=this;if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t,rtlTranslate:s,progress:a}=e,{dragSize:i,trackSize:n,$dragEl:r,$el:o}=t,l=e.params.scrollbar;let d=i,c=(n-i)*a;s?(c=-c,c>0?(d=i-c,c=0):-c+i>n&&(d=n+c)):c<0?(d=i+c,c=0):c+i>n&&(d=n-c),e.isHorizontal()?(r.transform(`translate3d(${c}px, 0, 0)`),r[0].style.width=d+"px"):(r.transform(`translate3d(0px, ${c}px, 0)`),r[0].style.height=d+"px"),l.hide&&(clearTimeout(e.scrollbar.timeout),o[0].style.opacity=1,e.scrollbar.timeout=setTimeout(()=>{o[0].style.opacity=0,o.transition(400)},1e3))},setTransition(e){const t=this;t.params.scrollbar.el&&t.scrollbar.el&&t.scrollbar.$dragEl.transition(e)},updateSize(){const e=this;if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t}=e,{$dragEl:s,$el:a}=t;s[0].style.width="",s[0].style.height="";const i=e.isHorizontal()?a[0].offsetWidth:a[0].offsetHeight,n=e.size/e.virtualSize,r=n*(i/e.size);let o;o="auto"===e.params.scrollbar.dragSize?i*n:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?s[0].style.width=o+"px":s[0].style.height=o+"px",a[0].style.display=n>=1?"none":"",e.params.scrollbar.hide&&(a[0].style.opacity=0),Q.extend(t,{trackSize:i,divider:n,moveDivider:r,dragSize:o}),t.$el[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)},getPointerPosition(e){const t=this;return t.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientX:e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientY:e.clientY},setDragPosition(e){const t=this,{scrollbar:s,rtlTranslate:a}=t,{$el:i,dragSize:n,trackSize:r,dragStartPos:o}=s;let l;l=(s.getPointerPosition(e)-i.offset()[t.isHorizontal()?"left":"top"]-(null!==o?o:n/2))/(r-n),l=Math.max(Math.min(l,1),0),a&&(l=1-l);const d=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*l;t.updateProgress(d),t.setTranslate(d),t.updateActiveIndex(),t.updateSlidesClasses()},onDragStart(e){const t=this,s=t.params.scrollbar,{scrollbar:a,$wrapperEl:i}=t,{$el:n,$dragEl:r}=a;t.scrollbar.isTouched=!0,t.scrollbar.dragStartPos=e.target===r[0]||e.target===r?a.getPointerPosition(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),i.transition(100),r.transition(100),a.setDragPosition(e),clearTimeout(t.scrollbar.dragTimeout),n.transition(0),s.hide&&n.css("opacity",1),t.params.cssMode&&t.$wrapperEl.css("scroll-snap-type","none"),t.emit("scrollbarDragStart",e)},onDragMove(e){const t=this,{scrollbar:s,$wrapperEl:a}=t,{$el:i,$dragEl:n}=s;t.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,s.setDragPosition(e),a.transition(0),i.transition(0),n.transition(0),t.emit("scrollbarDragMove",e))},onDragEnd(e){const t=this,s=t.params.scrollbar,{scrollbar:a,$wrapperEl:i}=t,{$el:n}=a;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,t.params.cssMode&&(t.$wrapperEl.css("scroll-snap-type",""),i.transition("")),s.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=Q.nextTick(()=>{n.css("opacity",0),n.transition(400)},1e3)),t.emit("scrollbarDragEnd",e),s.snapOnRelease&&t.slideToClosest())},enableDraggable(){const e=this;if(!e.params.scrollbar.el)return;const{scrollbar:t,touchEventsTouch:s,touchEventsDesktop:a,params:i}=e,n=t.$el,r=n[0],o=!(!ee.passiveListener||!i.passiveListeners)&&{passive:!1,capture:!1},l=!(!ee.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};ee.touch?(r.addEventListener(s.start,e.scrollbar.onDragStart,o),r.addEventListener(s.move,e.scrollbar.onDragMove,o),r.addEventListener(s.end,e.scrollbar.onDragEnd,l)):(r.addEventListener(a.start,e.scrollbar.onDragStart,o),_.addEventListener(a.move,e.scrollbar.onDragMove,o),_.addEventListener(a.end,e.scrollbar.onDragEnd,l))},disableDraggable(){const e=this;if(!e.params.scrollbar.el)return;const{scrollbar:t,touchEventsTouch:s,touchEventsDesktop:a,params:i}=e,n=t.$el,r=n[0],o=!(!ee.passiveListener||!i.passiveListeners)&&{passive:!1,capture:!1},l=!(!ee.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};ee.touch?(r.removeEventListener(s.start,e.scrollbar.onDragStart,o),r.removeEventListener(s.move,e.scrollbar.onDragMove,o),r.removeEventListener(s.end,e.scrollbar.onDragEnd,l)):(r.removeEventListener(a.start,e.scrollbar.onDragStart,o),_.removeEventListener(a.move,e.scrollbar.onDragMove,o),_.removeEventListener(a.end,e.scrollbar.onDragEnd,l))},init(){const e=this;if(!e.params.scrollbar.el)return;const{scrollbar:t,$el:s}=e,a=e.params.scrollbar;let i=c(a.el);e.params.uniqueNavElements&&"string"===typeof a.el&&i.length>1&&1===s.find(a.el).length&&(i=s.find(a.el));let n=i.find("."+e.params.scrollbar.dragClass);0===n.length&&(n=c(`<div class="${e.params.scrollbar.dragClass}"></div>`),i.append(n)),Q.extend(t,{$el:i,el:i[0],$dragEl:n,dragEl:n[0]}),a.draggable&&t.enableDraggable()},destroy(){const e=this;e.scrollbar.disableDraggable()}};var At={name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create(){const e=this;Q.extend(e,{scrollbar:{init:Dt.init.bind(e),destroy:Dt.destroy.bind(e),updateSize:Dt.updateSize.bind(e),setTranslate:Dt.setTranslate.bind(e),setTransition:Dt.setTransition.bind(e),enableDraggable:Dt.enableDraggable.bind(e),disableDraggable:Dt.disableDraggable.bind(e),setDragPosition:Dt.setDragPosition.bind(e),getPointerPosition:Dt.getPointerPosition.bind(e),onDragStart:Dt.onDragStart.bind(e),onDragMove:Dt.onDragMove.bind(e),onDragEnd:Dt.onDragEnd.bind(e),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init(){const e=this;e.scrollbar.init(),e.scrollbar.updateSize(),e.scrollbar.setTranslate()},update(){const e=this;e.scrollbar.updateSize()},resize(){const e=this;e.scrollbar.updateSize()},observerUpdate(){const e=this;e.scrollbar.updateSize()},setTranslate(){const e=this;e.scrollbar.setTranslate()},setTransition(e){const t=this;t.scrollbar.setTransition(e)},destroy(){const e=this;e.scrollbar.destroy()}}};const Bt={setTransform(e,t){const s=this,{rtl:a}=s,i=c(e),n=a?-1:1,r=i.attr("data-swiper-parallax")||"0";let o=i.attr("data-swiper-parallax-x"),l=i.attr("data-swiper-parallax-y");const d=i.attr("data-swiper-parallax-scale"),p=i.attr("data-swiper-parallax-opacity");if(o||l?(o=o||"0",l=l||"0"):s.isHorizontal()?(o=r,l="0"):(l=r,o="0"),o=o.indexOf("%")>=0?parseInt(o,10)*t*n+"%":o*t*n+"px",l=l.indexOf("%")>=0?parseInt(l,10)*t+"%":l*t+"px","undefined"!==typeof p&&null!==p){const e=p-(p-1)*(1-Math.abs(t));i[0].style.opacity=e}if("undefined"===typeof d||null===d)i.transform(`translate3d(${o}, ${l}, 0px)`);else{const e=d-(d-1)*(1-Math.abs(t));i.transform(`translate3d(${o}, ${l}, 0px) scale(${e})`)}},setTranslate(){const e=this,{$el:t,slides:s,progress:a,snapGrid:i}=e;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((t,s)=>{e.parallax.setTransform(s,a)}),s.each((t,s)=>{let n=s.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(n+=Math.ceil(t/2)-a*(i.length-1)),n=Math.min(Math.max(n,-1),1),c(s).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((t,s)=>{e.parallax.setTransform(s,n)})})},setTransition(e=this.params.speed){const t=this,{$el:s}=t;s.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((t,s)=>{const a=c(s);let i=parseInt(a.attr("data-swiper-parallax-duration"),10)||e;0===e&&(i=0),a.transition(i)})}};var Nt={name:"parallax",params:{parallax:{enabled:!1}},create(){const e=this;Q.extend(e,{parallax:{setTransform:Bt.setTransform.bind(e),setTranslate:Bt.setTranslate.bind(e),setTransition:Bt.setTransition.bind(e)}})},on:{beforeInit(){const e=this;e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},init(){const e=this;e.params.parallax.enabled&&e.parallax.setTranslate()},setTranslate(){const e=this;e.params.parallax.enabled&&e.parallax.setTranslate()},setTransition(e){const t=this;t.params.parallax.enabled&&t.parallax.setTransition(e)}}};const Gt={getDistanceBetweenTouches(e){if(e.targetTouches.length<2)return 1;const t=e.targetTouches[0].pageX,s=e.targetTouches[0].pageY,a=e.targetTouches[1].pageX,i=e.targetTouches[1].pageY,n=Math.sqrt((a-t)**2+(i-s)**2);return n},onGestureStart(e){const t=this,s=t.params.zoom,a=t.zoom,{gesture:i}=a;if(a.fakeGestureTouched=!1,a.fakeGestureMoved=!1,!ee.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;a.fakeGestureTouched=!0,i.scaleStart=Gt.getDistanceBetweenTouches(e)}i.$slideEl&&i.$slideEl.length||(i.$slideEl=c(e.target).closest(".swiper-slide"),0===i.$slideEl.length&&(i.$slideEl=t.slides.eq(t.activeIndex)),i.$imageEl=i.$slideEl.find("img, svg, canvas"),i.$imageWrapEl=i.$imageEl.parent("."+s.containerClass),i.maxRatio=i.$imageWrapEl.attr("data-swiper-zoom")||s.maxRatio,0!==i.$imageWrapEl.length)?(i.$imageEl.transition(0),t.zoom.isScaling=!0):i.$imageEl=void 0},onGestureChange(e){const t=this,s=t.params.zoom,a=t.zoom,{gesture:i}=a;if(!ee.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;a.fakeGestureMoved=!0,i.scaleMove=Gt.getDistanceBetweenTouches(e)}i.$imageEl&&0!==i.$imageEl.length&&(ee.gestures?a.scale=e.scale*a.currentScale:a.scale=i.scaleMove/i.scaleStart*a.currentScale,a.scale>i.maxRatio&&(a.scale=i.maxRatio-1+(a.scale-i.maxRatio+1)**.5),a.scale<s.minRatio&&(a.scale=s.minRatio+1-(s.minRatio-a.scale+1)**.5),i.$imageEl.transform(`translate3d(0,0,0) scale(${a.scale})`))},onGestureEnd(e){const t=this,s=t.params.zoom,a=t.zoom,{gesture:i}=a;if(!ee.gestures){if(!a.fakeGestureTouched||!a.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!Re.android)return;a.fakeGestureTouched=!1,a.fakeGestureMoved=!1}i.$imageEl&&0!==i.$imageEl.length&&(a.scale=Math.max(Math.min(a.scale,i.maxRatio),s.minRatio),i.$imageEl.transition(t.params.speed).transform(`translate3d(0,0,0) scale(${a.scale})`),a.currentScale=a.scale,a.isScaling=!1,1===a.scale&&(i.$slideEl=void 0))},onTouchStart(e){const t=this,s=t.zoom,{gesture:a,image:i}=s;a.$imageEl&&0!==a.$imageEl.length&&(i.isTouched||(Re.android&&e.preventDefault(),i.isTouched=!0,i.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,i.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove(e){const t=this,s=t.zoom,{gesture:a,image:i,velocity:n}=s;if(!a.$imageEl||0===a.$imageEl.length)return;if(t.allowClick=!1,!i.isTouched||!a.$slideEl)return;i.isMoved||(i.width=a.$imageEl[0].offsetWidth,i.height=a.$imageEl[0].offsetHeight,i.startX=Q.getTranslate(a.$imageWrapEl[0],"x")||0,i.startY=Q.getTranslate(a.$imageWrapEl[0],"y")||0,a.slideWidth=a.$slideEl[0].offsetWidth,a.slideHeight=a.$slideEl[0].offsetHeight,a.$imageWrapEl.transition(0),t.rtl&&(i.startX=-i.startX,i.startY=-i.startY));const r=i.width*s.scale,o=i.height*s.scale;if(!(r<a.slideWidth&&o<a.slideHeight)){if(i.minX=Math.min(a.slideWidth/2-r/2,0),i.maxX=-i.minX,i.minY=Math.min(a.slideHeight/2-o/2,0),i.maxY=-i.minY,i.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,i.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!i.isMoved&&!s.isScaling){if(t.isHorizontal()&&(Math.floor(i.minX)===Math.floor(i.startX)&&i.touchesCurrent.x<i.touchesStart.x||Math.floor(i.maxX)===Math.floor(i.startX)&&i.touchesCurrent.x>i.touchesStart.x))return void(i.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(i.minY)===Math.floor(i.startY)&&i.touchesCurrent.y<i.touchesStart.y||Math.floor(i.maxY)===Math.floor(i.startY)&&i.touchesCurrent.y>i.touchesStart.y))return void(i.isTouched=!1)}e.preventDefault(),e.stopPropagation(),i.isMoved=!0,i.currentX=i.touchesCurrent.x-i.touchesStart.x+i.startX,i.currentY=i.touchesCurrent.y-i.touchesStart.y+i.startY,i.currentX<i.minX&&(i.currentX=i.minX+1-(i.minX-i.currentX+1)**.8),i.currentX>i.maxX&&(i.currentX=i.maxX-1+(i.currentX-i.maxX+1)**.8),i.currentY<i.minY&&(i.currentY=i.minY+1-(i.minY-i.currentY+1)**.8),i.currentY>i.maxY&&(i.currentY=i.maxY-1+(i.currentY-i.maxY+1)**.8),n.prevPositionX||(n.prevPositionX=i.touchesCurrent.x),n.prevPositionY||(n.prevPositionY=i.touchesCurrent.y),n.prevTime||(n.prevTime=Date.now()),n.x=(i.touchesCurrent.x-n.prevPositionX)/(Date.now()-n.prevTime)/2,n.y=(i.touchesCurrent.y-n.prevPositionY)/(Date.now()-n.prevTime)/2,Math.abs(i.touchesCurrent.x-n.prevPositionX)<2&&(n.x=0),Math.abs(i.touchesCurrent.y-n.prevPositionY)<2&&(n.y=0),n.prevPositionX=i.touchesCurrent.x,n.prevPositionY=i.touchesCurrent.y,n.prevTime=Date.now(),a.$imageWrapEl.transform(`translate3d(${i.currentX}px, ${i.currentY}px,0)`)}},onTouchEnd(){const e=this,t=e.zoom,{gesture:s,image:a,velocity:i}=t;if(!s.$imageEl||0===s.$imageEl.length)return;if(!a.isTouched||!a.isMoved)return a.isTouched=!1,void(a.isMoved=!1);a.isTouched=!1,a.isMoved=!1;let n=300,r=300;const o=i.x*n,l=a.currentX+o,d=i.y*r,c=a.currentY+d;0!==i.x&&(n=Math.abs((l-a.currentX)/i.x)),0!==i.y&&(r=Math.abs((c-a.currentY)/i.y));const p=Math.max(n,r);a.currentX=l,a.currentY=c;const u=a.width*t.scale,h=a.height*t.scale;a.minX=Math.min(s.slideWidth/2-u/2,0),a.maxX=-a.minX,a.minY=Math.min(s.slideHeight/2-h/2,0),a.maxY=-a.minY,a.currentX=Math.max(Math.min(a.currentX,a.maxX),a.minX),a.currentY=Math.max(Math.min(a.currentY,a.maxY),a.minY),s.$imageWrapEl.transition(p).transform(`translate3d(${a.currentX}px, ${a.currentY}px,0)`)},onTransitionEnd(){const e=this,t=e.zoom,{gesture:s}=t;s.$slideEl&&e.previousIndex!==e.activeIndex&&(s.$imageEl.transform("translate3d(0,0,0) scale(1)"),s.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,t.currentScale=1,s.$slideEl=void 0,s.$imageEl=void 0,s.$imageWrapEl=void 0)},toggle(e){const t=this,s=t.zoom;s.scale&&1!==s.scale?s.out():s.in(e)},in(e){const t=this,s=t.zoom,a=t.params.zoom,{gesture:i,image:n}=s;if(i.$slideEl||(i.$slideEl=t.clickedSlide?c(t.clickedSlide):t.slides.eq(t.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas"),i.$imageWrapEl=i.$imageEl.parent("."+a.containerClass)),!i.$imageEl||0===i.$imageEl.length)return;let r,o,l,d,p,u,h,m,f,g,v,w,b,y,x,T,E,S;i.$slideEl.addClass(""+a.zoomedSlideClass),"undefined"===typeof n.touchesStart.x&&e?(r="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,o="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(r=n.touchesStart.x,o=n.touchesStart.y),s.scale=i.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,s.currentScale=i.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,e?(E=i.$slideEl[0].offsetWidth,S=i.$slideEl[0].offsetHeight,l=i.$slideEl.offset().left,d=i.$slideEl.offset().top,p=l+E/2-r,u=d+S/2-o,f=i.$imageEl[0].offsetWidth,g=i.$imageEl[0].offsetHeight,v=f*s.scale,w=g*s.scale,b=Math.min(E/2-v/2,0),y=Math.min(S/2-w/2,0),x=-b,T=-y,h=p*s.scale,m=u*s.scale,h<b&&(h=b),h>x&&(h=x),m<y&&(m=y),m>T&&(m=T)):(h=0,m=0),i.$imageWrapEl.transition(300).transform(`translate3d(${h}px, ${m}px,0)`),i.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${s.scale})`)},out(){const e=this,t=e.zoom,s=e.params.zoom,{gesture:a}=t;a.$slideEl||(a.$slideEl=e.clickedSlide?c(e.clickedSlide):e.slides.eq(e.activeIndex),a.$imageEl=a.$slideEl.find("img, svg, canvas"),a.$imageWrapEl=a.$imageEl.parent("."+s.containerClass)),a.$imageEl&&0!==a.$imageEl.length&&(t.scale=1,t.currentScale=1,a.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),a.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),a.$slideEl.removeClass(""+s.zoomedSlideClass),a.$slideEl=void 0)},enable(){const e=this,t=e.zoom;if(t.enabled)return;t.enabled=!0;const s=!("touchstart"!==e.touchEvents.start||!ee.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},a=!ee.passiveListener||{passive:!1,capture:!0};ee.gestures?(e.$wrapperEl.on("gesturestart",".swiper-slide",t.onGestureStart,s),e.$wrapperEl.on("gesturechange",".swiper-slide",t.onGestureChange,s),e.$wrapperEl.on("gestureend",".swiper-slide",t.onGestureEnd,s)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,".swiper-slide",t.onGestureStart,s),e.$wrapperEl.on(e.touchEvents.move,".swiper-slide",t.onGestureChange,a),e.$wrapperEl.on(e.touchEvents.end,".swiper-slide",t.onGestureEnd,s),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,".swiper-slide",t.onGestureEnd,s)),e.$wrapperEl.on(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove,a)},disable(){const e=this,t=e.zoom;if(!t.enabled)return;e.zoom.enabled=!1;const s=!("touchstart"!==e.touchEvents.start||!ee.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},a=!ee.passiveListener||{passive:!1,capture:!0};ee.gestures?(e.$wrapperEl.off("gesturestart",".swiper-slide",t.onGestureStart,s),e.$wrapperEl.off("gesturechange",".swiper-slide",t.onGestureChange,s),e.$wrapperEl.off("gestureend",".swiper-slide",t.onGestureEnd,s)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,".swiper-slide",t.onGestureStart,s),e.$wrapperEl.off(e.touchEvents.move,".swiper-slide",t.onGestureChange,a),e.$wrapperEl.off(e.touchEvents.end,".swiper-slide",t.onGestureEnd,s),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,".swiper-slide",t.onGestureEnd,s)),e.$wrapperEl.off(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove,a)}};var Ht={name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create(){const e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach(s=>{t[s]=Gt[s].bind(e)}),Q.extend(e,{zoom:t});let s=1;Object.defineProperty(e.zoom,"scale",{get(){return s},set(t){if(s!==t){const s=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,a=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",t,s,a)}s=t}})},on:{init(){const e=this;e.params.zoom.enabled&&e.zoom.enable()},destroy(){const e=this;e.zoom.disable()},touchStart(e){const t=this;t.zoom.enabled&&t.zoom.onTouchStart(e)},touchEnd(e){const t=this;t.zoom.enabled&&t.zoom.onTouchEnd(e)},doubleTap(e){const t=this;t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&t.zoom.toggle(e)},transitionEnd(){const e=this;e.zoom.enabled&&e.params.zoom.enabled&&e.zoom.onTransitionEnd()},slideChange(){const e=this;e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&e.zoom.onTransitionEnd()}}};const Vt={loadInSlide(e,t=!0){const s=this,a=s.params.lazy;if("undefined"===typeof e)return;if(0===s.slides.length)return;const i=s.virtual&&s.params.virtual.enabled,n=i?s.$wrapperEl.children(`.${s.params.slideClass}[data-swiper-slide-index="${e}"]`):s.slides.eq(e);let r=n.find(`.${a.elementClass}:not(.${a.loadedClass}):not(.${a.loadingClass})`);!n.hasClass(a.elementClass)||n.hasClass(a.loadedClass)||n.hasClass(a.loadingClass)||(r=r.add(n[0])),0!==r.length&&r.each((e,i)=>{const r=c(i);r.addClass(a.loadingClass);const o=r.attr("data-background"),l=r.attr("data-src"),d=r.attr("data-srcset"),p=r.attr("data-sizes");s.loadImage(r[0],l||o,d,p,!1,()=>{if("undefined"!==typeof s&&null!==s&&s&&(!s||s.params)&&!s.destroyed){if(o?(r.css("background-image",`url("${o}")`),r.removeAttr("data-background")):(d&&(r.attr("srcset",d),r.removeAttr("data-srcset")),p&&(r.attr("sizes",p),r.removeAttr("data-sizes")),l&&(r.attr("src",l),r.removeAttr("data-src"))),r.addClass(a.loadedClass).removeClass(a.loadingClass),n.find("."+a.preloaderClass).remove(),s.params.loop&&t){const e=n.attr("data-swiper-slide-index");if(n.hasClass(s.params.slideDuplicateClass)){const t=s.$wrapperEl.children(`[data-swiper-slide-index="${e}"]:not(.${s.params.slideDuplicateClass})`);s.lazy.loadInSlide(t.index(),!1)}else{const t=s.$wrapperEl.children(`.${s.params.slideDuplicateClass}[data-swiper-slide-index="${e}"]`);s.lazy.loadInSlide(t.index(),!1)}}s.emit("lazyImageReady",n[0],r[0])}}),s.emit("lazyImageLoad",n[0],r[0])})},load(){const e=this,{$wrapperEl:t,params:s,slides:a,activeIndex:i}=e,n=e.virtual&&s.virtual.enabled,r=s.lazy;let o=s.slidesPerView;function l(e){if(n){if(t.children(`.${s.slideClass}[data-swiper-slide-index="${e}"]`).length)return!0}else if(a[e])return!0;return!1}function d(e){return n?c(e).attr("data-swiper-slide-index"):c(e).index()}if("auto"===o&&(o=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+s.slideVisibleClass).each((t,s)=>{const a=n?c(s).attr("data-swiper-slide-index"):c(s).index();e.lazy.loadInSlide(a)});else if(o>1)for(let c=i;c<i+o;c+=1)l(c)&&e.lazy.loadInSlide(c);else e.lazy.loadInSlide(i);if(r.loadPrevNext)if(o>1||r.loadPrevNextAmount&&r.loadPrevNextAmount>1){const t=r.loadPrevNextAmount,s=o,n=Math.min(i+s+Math.max(t,s),a.length),d=Math.max(i-Math.max(s,t),0);for(let a=i+o;a<n;a+=1)l(a)&&e.lazy.loadInSlide(a);for(let a=d;a<i;a+=1)l(a)&&e.lazy.loadInSlide(a)}else{const a=t.children("."+s.slideNextClass);a.length>0&&e.lazy.loadInSlide(d(a));const i=t.children("."+s.slidePrevClass);i.length>0&&e.lazy.loadInSlide(d(i))}}};var Xt={name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create(){const e=this;Q.extend(e,{lazy:{initialImageLoaded:!1,load:Vt.load.bind(e),loadInSlide:Vt.loadInSlide.bind(e)}})},on:{beforeInit(){const e=this;e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)},init(){const e=this;e.params.lazy.enabled&&!e.params.loop&&0===e.params.initialSlide&&e.lazy.load()},scroll(){const e=this;e.params.freeMode&&!e.params.freeModeSticky&&e.lazy.load()},resize(){const e=this;e.params.lazy.enabled&&e.lazy.load()},scrollbarDragMove(){const e=this;e.params.lazy.enabled&&e.lazy.load()},transitionStart(){const e=this;e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!e.lazy.initialImageLoaded)&&e.lazy.load()},transitionEnd(){const e=this;e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&e.lazy.load()},slideChange(){const e=this;e.params.lazy.enabled&&e.params.cssMode&&e.lazy.load()}}};const Yt={LinearSpline:function(e,t){const s=function(){let e,t,s;return(a,i)=>{t=-1,e=a.length;while(e-t>1)s=e+t>>1,a[s]<=i?t=s:e=s;return e}}();let a,i;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(i=s(this.x,e),a=i-1,(e-this.x[a])*(this.y[i]-this.y[a])/(this.x[i]-this.x[a])+this.y[a]):0},this},getInterpolateFunction(e){const t=this;t.controller.spline||(t.controller.spline=t.params.loop?new Yt.LinearSpline(t.slidesGrid,e.slidesGrid):new Yt.LinearSpline(t.snapGrid,e.snapGrid))},setTranslate(e,t){const s=this,a=s.controller.control;let i,n;function r(e){const t=s.rtlTranslate?-s.translate:s.translate;"slide"===s.params.controller.by&&(s.controller.getInterpolateFunction(e),n=-s.controller.spline.interpolate(-t)),n&&"container"!==s.params.controller.by||(i=(e.maxTranslate()-e.minTranslate())/(s.maxTranslate()-s.minTranslate()),n=(t-s.minTranslate())*i+e.minTranslate()),s.params.controller.inverse&&(n=e.maxTranslate()-n),e.updateProgress(n),e.setTranslate(n,s),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(a))for(let o=0;o<a.length;o+=1)a[o]!==t&&a[o]instanceof ft&&r(a[o]);else a instanceof ft&&t!==a&&r(a)},setTransition(e,t){const s=this,a=s.controller.control;let i;function n(t){t.setTransition(e,s),0!==e&&(t.transitionStart(),t.params.autoHeight&&Q.nextTick(()=>{t.updateAutoHeight()}),t.$wrapperEl.transitionEnd(()=>{a&&(t.params.loop&&"slide"===s.params.controller.by&&t.loopFix(),t.transitionEnd())}))}if(Array.isArray(a))for(i=0;i<a.length;i+=1)a[i]!==t&&a[i]instanceof ft&&n(a[i]);else a instanceof ft&&t!==a&&n(a)}};var Rt={name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create(){const e=this;Q.extend(e,{controller:{control:e.params.controller.control,getInterpolateFunction:Yt.getInterpolateFunction.bind(e),setTranslate:Yt.setTranslate.bind(e),setTransition:Yt.setTransition.bind(e)}})},on:{update(){const e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},resize(){const e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},observerUpdate(){const e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},setTranslate(e,t){const s=this;s.controller.control&&s.controller.setTranslate(e,t)},setTransition(e,t){const s=this;s.controller.control&&s.controller.setTransition(e,t)}}};const Ft={makeElFocusable(e){return e.attr("tabIndex","0"),e},addElRole(e,t){return e.attr("role",t),e},addElLabel(e,t){return e.attr("aria-label",t),e},disableEl(e){return e.attr("aria-disabled",!0),e},enableEl(e){return e.attr("aria-disabled",!1),e},onEnterKey(e){const t=this,s=t.params.a11y;if(13!==e.keyCode)return;const a=c(e.target);t.navigation&&t.navigation.$nextEl&&a.is(t.navigation.$nextEl)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?t.a11y.notify(s.lastSlideMessage):t.a11y.notify(s.nextSlideMessage)),t.navigation&&t.navigation.$prevEl&&a.is(t.navigation.$prevEl)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?t.a11y.notify(s.firstSlideMessage):t.a11y.notify(s.prevSlideMessage)),t.pagination&&a.is("."+t.params.pagination.bulletClass)&&a[0].click()},notify(e){const t=this,s=t.a11y.liveRegion;0!==s.length&&(s.html(""),s.html(e))},updateNavigation(){const e=this;if(e.params.loop)return;const{$nextEl:t,$prevEl:s}=e.navigation;s&&s.length>0&&(e.isBeginning?e.a11y.disableEl(s):e.a11y.enableEl(s)),t&&t.length>0&&(e.isEnd?e.a11y.disableEl(t):e.a11y.enableEl(t))},updatePagination(){const e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each((s,a)=>{const i=c(a);e.a11y.makeElFocusable(i),e.a11y.addElRole(i,"button"),e.a11y.addElLabel(i,t.paginationBulletMessage.replace(/{{index}}/,i.index()+1))})},init(){const e=this;e.$el.append(e.a11y.liveRegion);const t=e.params.a11y;let s,a;e.navigation&&e.navigation.$nextEl&&(s=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(a=e.navigation.$prevEl),s&&(e.a11y.makeElFocusable(s),e.a11y.addElRole(s,"button"),e.a11y.addElLabel(s,t.nextSlideMessage),s.on("keydown",e.a11y.onEnterKey)),a&&(e.a11y.makeElFocusable(a),e.a11y.addElRole(a,"button"),e.a11y.addElLabel(a,t.prevSlideMessage),a.on("keydown",e.a11y.onEnterKey)),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.on("keydown","."+e.params.pagination.bulletClass,e.a11y.onEnterKey)},destroy(){const e=this;let t,s;e.a11y.liveRegion&&e.a11y.liveRegion.length>0&&e.a11y.liveRegion.remove(),e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(s=e.navigation.$prevEl),t&&t.off("keydown",e.a11y.onEnterKey),s&&s.off("keydown",e.a11y.onEnterKey),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.off("keydown","."+e.params.pagination.bulletClass,e.a11y.onEnterKey)}};var qt={name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create(){const e=this;Q.extend(e,{a11y:{liveRegion:c(`<span class="${e.params.a11y.notificationClass}" aria-live="assertive" aria-atomic="true"></span>`)}}),Object.keys(Ft).forEach(t=>{e.a11y[t]=Ft[t].bind(e)})},on:{init(){const e=this;e.params.a11y.enabled&&(e.a11y.init(),e.a11y.updateNavigation())},toEdge(){const e=this;e.params.a11y.enabled&&e.a11y.updateNavigation()},fromEdge(){const e=this;e.params.a11y.enabled&&e.a11y.updateNavigation()},paginationUpdate(){const e=this;e.params.a11y.enabled&&e.a11y.updatePagination()},destroy(){const e=this;e.params.a11y.enabled&&e.a11y.destroy()}}};const Wt={init(){const e=this;if(!e.params.history)return;if(!J.history||!J.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);const t=e.history;t.initialized=!0,t.paths=Wt.getPathValues(),(t.paths.key||t.paths.value)&&(t.scrollToSlide(0,t.paths.value,e.params.runCallbacksOnInit),e.params.history.replaceState||J.addEventListener("popstate",e.history.setHistoryPopState))},destroy(){const e=this;e.params.history.replaceState||J.removeEventListener("popstate",e.history.setHistoryPopState)},setHistoryPopState(){const e=this;e.history.paths=Wt.getPathValues(),e.history.scrollToSlide(e.params.speed,e.history.paths.value,!1)},getPathValues(){const e=J.location.pathname.slice(1).split("/").filter(e=>""!==e),t=e.length,s=e[t-2],a=e[t-1];return{key:s,value:a}},setHistory(e,t){const s=this;if(!s.history.initialized||!s.params.history.enabled)return;const a=s.slides.eq(t);let i=Wt.slugify(a.attr("data-history"));J.location.pathname.includes(e)||(i=`${e}/${i}`);const n=J.history.state;n&&n.value===i||(s.params.history.replaceState?J.history.replaceState({value:i},null,i):J.history.pushState({value:i},null,i))},slugify(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide(e,t,s){const a=this;if(t)for(let i=0,n=a.slides.length;i<n;i+=1){const n=a.slides.eq(i),r=Wt.slugify(n.attr("data-history"));if(r===t&&!n.hasClass(a.params.slideDuplicateClass)){const t=n.index();a.slideTo(t,e,s)}}else a.slideTo(0,e,s)}};var jt={name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create(){const e=this;Q.extend(e,{history:{init:Wt.init.bind(e),setHistory:Wt.setHistory.bind(e),setHistoryPopState:Wt.setHistoryPopState.bind(e),scrollToSlide:Wt.scrollToSlide.bind(e),destroy:Wt.destroy.bind(e)}})},on:{init(){const e=this;e.params.history.enabled&&e.history.init()},destroy(){const e=this;e.params.history.enabled&&e.history.destroy()},transitionEnd(){const e=this;e.history.initialized&&e.history.setHistory(e.params.history.key,e.activeIndex)},slideChange(){const e=this;e.history.initialized&&e.params.cssMode&&e.history.setHistory(e.params.history.key,e.activeIndex)}}};const Ut={onHashCange(){const e=this,t=_.location.hash.replace("#",""),s=e.slides.eq(e.activeIndex).attr("data-hash");if(t!==s){const s=e.$wrapperEl.children(`.${e.params.slideClass}[data-hash="${t}"]`).index();if("undefined"===typeof s)return;e.slideTo(s)}},setHash(){const e=this;if(e.hashNavigation.initialized&&e.params.hashNavigation.enabled)if(e.params.hashNavigation.replaceState&&J.history&&J.history.replaceState)J.history.replaceState(null,null,"#"+e.slides.eq(e.activeIndex).attr("data-hash")||"");else{const t=e.slides.eq(e.activeIndex),s=t.attr("data-hash")||t.attr("data-history");_.location.hash=s||""}},init(){const e=this;if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;e.hashNavigation.initialized=!0;const t=_.location.hash.replace("#","");if(t){const s=0;for(let a=0,i=e.slides.length;a<i;a+=1){const i=e.slides.eq(a),n=i.attr("data-hash")||i.attr("data-history");if(n===t&&!i.hasClass(e.params.slideDuplicateClass)){const t=i.index();e.slideTo(t,s,e.params.runCallbacksOnInit,!0)}}}e.params.hashNavigation.watchState&&c(J).on("hashchange",e.hashNavigation.onHashCange)},destroy(){const e=this;e.params.hashNavigation.watchState&&c(J).off("hashchange",e.hashNavigation.onHashCange)}};var Kt={name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create(){const e=this;Q.extend(e,{hashNavigation:{initialized:!1,init:Ut.init.bind(e),destroy:Ut.destroy.bind(e),setHash:Ut.setHash.bind(e),onHashCange:Ut.onHashCange.bind(e)}})},on:{init(){const e=this;e.params.hashNavigation.enabled&&e.hashNavigation.init()},destroy(){const e=this;e.params.hashNavigation.enabled&&e.hashNavigation.destroy()},transitionEnd(){const e=this;e.hashNavigation.initialized&&e.hashNavigation.setHash()},slideChange(){const e=this;e.hashNavigation.initialized&&e.params.cssMode&&e.hashNavigation.setHash()}}};const _t={run(){const e=this,t=e.slides.eq(e.activeIndex);let s=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(s=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=Q.nextTick(()=>{e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")),e.params.cssMode&&e.autoplay.running&&e.autoplay.run()},s)},start(){const e=this;return"undefined"===typeof e.autoplay.timeout&&(!e.autoplay.running&&(e.autoplay.running=!0,e.emit("autoplayStart"),e.autoplay.run(),!0))},stop(){const e=this;return!!e.autoplay.running&&("undefined"!==typeof e.autoplay.timeout&&(e.autoplay.timeout&&(clearTimeout(e.autoplay.timeout),e.autoplay.timeout=void 0),e.autoplay.running=!1,e.emit("autoplayStop"),!0))},pause(e){const 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())))}};var Jt={name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create(){const e=this;Q.extend(e,{autoplay:{running:!1,paused:!1,run:_t.run.bind(e),start:_t.start.bind(e),stop:_t.stop.bind(e),pause:_t.pause.bind(e),onVisibilityChange(){"hidden"===document.visibilityState&&e.autoplay.running&&e.autoplay.pause(),"visible"===document.visibilityState&&e.autoplay.paused&&(e.autoplay.run(),e.autoplay.paused=!1)},onTransitionEnd(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init(){const e=this;e.params.autoplay.enabled&&(e.autoplay.start(),document.addEventListener("visibilitychange",e.autoplay.onVisibilityChange))},beforeTransitionStart(e,t){const s=this;s.autoplay.running&&(t||!s.params.autoplay.disableOnInteraction?s.autoplay.pause(e):s.autoplay.stop())},sliderFirstMove(){const e=this;e.autoplay.running&&(e.params.autoplay.disableOnInteraction?e.autoplay.stop():e.autoplay.pause())},touchEnd(){const e=this;e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&e.autoplay.run()},destroy(){const e=this;e.autoplay.running&&e.autoplay.stop(),document.removeEventListener("visibilitychange",e.autoplay.onVisibilityChange)}}};const Zt={setTranslate(){const e=this,{slides:t}=e;for(let s=0;s<t.length;s+=1){const t=e.slides.eq(s),a=t[0].swiperSlideOffset;let i=-a;e.params.virtualTranslate||(i-=e.translate);let n=0;e.isHorizontal()||(n=i,i=0);const r=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(t[0].progress),0):1+Math.min(Math.max(t[0].progress,-1),0);t.css({opacity:r}).transform(`translate3d(${i}px, ${n}px, 0px)`)}},setTransition(e){const t=this,{slides:s,$wrapperEl:a}=t;if(s.transition(e),t.params.virtualTranslate&&0!==e){let e=!1;s.transitionEnd(()=>{if(e)return;if(!t||t.destroyed)return;e=!0,t.animating=!1;const s=["webkitTransitionEnd","transitionend"];for(let e=0;e<s.length;e+=1)a.trigger(s[e])})}}};var Qt={name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create(){const e=this;Q.extend(e,{fadeEffect:{setTranslate:Zt.setTranslate.bind(e),setTransition:Zt.setTransition.bind(e)}})},on:{beforeInit(){const e=this;if("fade"!==e.params.effect)return;e.classNames.push(e.params.containerModifierClass+"fade");const t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};Q.extend(e.params,t),Q.extend(e.originalParams,t)},setTranslate(){const e=this;"fade"===e.params.effect&&e.fadeEffect.setTranslate()},setTransition(e){const t=this;"fade"===t.params.effect&&t.fadeEffect.setTransition(e)}}};const es={setTranslate(){const e=this,{$el:t,$wrapperEl:s,slides:a,width:i,height:n,rtlTranslate:r,size:o}=e,l=e.params.cubeEffect,d=e.isHorizontal(),p=e.virtual&&e.params.virtual.enabled;let u,h=0;l.shadow&&(d?(u=s.find(".swiper-cube-shadow"),0===u.length&&(u=c('<div class="swiper-cube-shadow"></div>'),s.append(u)),u.css({height:i+"px"})):(u=t.find(".swiper-cube-shadow"),0===u.length&&(u=c('<div class="swiper-cube-shadow"></div>'),t.append(u))));for(let f=0;f<a.length;f+=1){const e=a.eq(f);let t=f;p&&(t=parseInt(e.attr("data-swiper-slide-index"),10));let s=90*t,i=Math.floor(s/360);r&&(s=-s,i=Math.floor(-s/360));const n=Math.max(Math.min(e[0].progress,1),-1);let u=0,m=0,g=0;t%4===0?(u=4*-i*o,g=0):(t-1)%4===0?(u=0,g=4*-i*o):(t-2)%4===0?(u=o+4*i*o,g=o):(t-3)%4===0&&(u=-o,g=3*o+4*o*i),r&&(u=-u),d||(m=u,u=0);const v=`rotateX(${d?0:-s}deg) rotateY(${d?s:0}deg) translate3d(${u}px, ${m}px, ${g}px)`;if(n<=1&&n>-1&&(h=90*t+90*n,r&&(h=90*-t-90*n)),e.transform(v),l.slideShadows){let t=d?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),s=d?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===t.length&&(t=c(`<div class="swiper-slide-shadow-${d?"left":"top"}"></div>`),e.append(t)),0===s.length&&(s=c(`<div class="swiper-slide-shadow-${d?"right":"bottom"}"></div>`),e.append(s)),t.length&&(t[0].style.opacity=Math.max(-n,0)),s.length&&(s[0].style.opacity=Math.max(n,0))}}if(s.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`}),l.shadow)if(d)u.transform(`translate3d(0px, ${i/2+l.shadowOffset}px, ${-i/2}px) rotateX(90deg) rotateZ(0deg) scale(${l.shadowScale})`);else{const e=Math.abs(h)-90*Math.floor(Math.abs(h)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),s=l.shadowScale,a=l.shadowScale/t,i=l.shadowOffset;u.transform(`scale3d(${s}, 1, ${a}) translate3d(0px, ${n/2+i}px, ${-n/2/a}px) rotateX(-90deg)`)}const m=wt.isSafari||wt.isUiWebView?-o/2:0;s.transform(`translate3d(0px,0,${m}px) rotateX(${e.isHorizontal()?0:h}deg) rotateY(${e.isHorizontal()?-h:0}deg)`)},setTransition(e){const t=this,{$el:s,slides:a}=t;a.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.cubeEffect.shadow&&!t.isHorizontal()&&s.find(".swiper-cube-shadow").transition(e)}};var ts={name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create(){const e=this;Q.extend(e,{cubeEffect:{setTranslate:es.setTranslate.bind(e),setTransition:es.setTransition.bind(e)}})},on:{beforeInit(){const e=this;if("cube"!==e.params.effect)return;e.classNames.push(e.params.containerModifierClass+"cube"),e.classNames.push(e.params.containerModifierClass+"3d");const t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};Q.extend(e.params,t),Q.extend(e.originalParams,t)},setTranslate(){const e=this;"cube"===e.params.effect&&e.cubeEffect.setTranslate()},setTransition(e){const t=this;"cube"===t.params.effect&&t.cubeEffect.setTransition(e)}}};const ss={setTranslate(){const e=this,{slides:t,rtlTranslate:s}=e;for(let a=0;a<t.length;a+=1){const i=t.eq(a);let n=i[0].progress;e.params.flipEffect.limitRotation&&(n=Math.max(Math.min(i[0].progress,1),-1));const r=i[0].swiperSlideOffset,o=-180*n;let l=o,d=0,p=-r,u=0;if(e.isHorizontal()?s&&(l=-l):(u=p,p=0,d=-l,l=0),i[0].style.zIndex=-Math.abs(Math.round(n))+t.length,e.params.flipEffect.slideShadows){let t=e.isHorizontal()?i.find(".swiper-slide-shadow-left"):i.find(".swiper-slide-shadow-top"),s=e.isHorizontal()?i.find(".swiper-slide-shadow-right"):i.find(".swiper-slide-shadow-bottom");0===t.length&&(t=c(`<div class="swiper-slide-shadow-${e.isHorizontal()?"left":"top"}"></div>`),i.append(t)),0===s.length&&(s=c(`<div class="swiper-slide-shadow-${e.isHorizontal()?"right":"bottom"}"></div>`),i.append(s)),t.length&&(t[0].style.opacity=Math.max(-n,0)),s.length&&(s[0].style.opacity=Math.max(n,0))}i.transform(`translate3d(${p}px, ${u}px, 0px) rotateX(${d}deg) rotateY(${l}deg)`)}},setTransition(e){const t=this,{slides:s,activeIndex:a,$wrapperEl:i}=t;if(s.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){let e=!1;s.eq(a).transitionEnd((function(){if(e)return;if(!t||t.destroyed)return;e=!0,t.animating=!1;const s=["webkitTransitionEnd","transitionend"];for(let e=0;e<s.length;e+=1)i.trigger(s[e])}))}}};var as={name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create(){const e=this;Q.extend(e,{flipEffect:{setTranslate:ss.setTranslate.bind(e),setTransition:ss.setTransition.bind(e)}})},on:{beforeInit(){const e=this;if("flip"!==e.params.effect)return;e.classNames.push(e.params.containerModifierClass+"flip"),e.classNames.push(e.params.containerModifierClass+"3d");const t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};Q.extend(e.params,t),Q.extend(e.originalParams,t)},setTranslate(){const e=this;"flip"===e.params.effect&&e.flipEffect.setTranslate()},setTransition(e){const t=this;"flip"===t.params.effect&&t.flipEffect.setTransition(e)}}};const is={setTranslate(){const e=this,{width:t,height:s,slides:a,$wrapperEl:i,slidesSizesGrid:n}=e,r=e.params.coverflowEffect,o=e.isHorizontal(),l=e.translate,d=o?t/2-l:s/2-l,p=o?r.rotate:-r.rotate,u=r.depth;for(let h=0,m=a.length;h<m;h+=1){const e=a.eq(h),t=n[h],s=e[0].swiperSlideOffset,i=(d-s-t/2)/t*r.modifier;let l=o?p*i:0,m=o?0:p*i,f=-u*Math.abs(i),g=o?0:r.stretch*i,v=o?r.stretch*i:0;Math.abs(v)<.001&&(v=0),Math.abs(g)<.001&&(g=0),Math.abs(f)<.001&&(f=0),Math.abs(l)<.001&&(l=0),Math.abs(m)<.001&&(m=0);const w=`translate3d(${v}px,${g}px,${f}px)  rotateX(${m}deg) rotateY(${l}deg)`;if(e.transform(w),e[0].style.zIndex=1-Math.abs(Math.round(i)),r.slideShadows){let t=o?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),s=o?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===t.length&&(t=c(`<div class="swiper-slide-shadow-${o?"left":"top"}"></div>`),e.append(t)),0===s.length&&(s=c(`<div class="swiper-slide-shadow-${o?"right":"bottom"}"></div>`),e.append(s)),t.length&&(t[0].style.opacity=i>0?i:0),s.length&&(s[0].style.opacity=-i>0?-i:0)}}if(ee.pointerEvents||ee.prefixedPointerEvents){const e=i[0].style;e.perspectiveOrigin=d+"px 50%"}},setTransition(e){const t=this;t.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}};var ns={name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create(){const e=this;Q.extend(e,{coverflowEffect:{setTranslate:is.setTranslate.bind(e),setTransition:is.setTransition.bind(e)}})},on:{beforeInit(){const e=this;"coverflow"===e.params.effect&&(e.classNames.push(e.params.containerModifierClass+"coverflow"),e.classNames.push(e.params.containerModifierClass+"3d"),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},setTranslate(){const e=this;"coverflow"===e.params.effect&&e.coverflowEffect.setTranslate()},setTransition(e){const t=this;"coverflow"===t.params.effect&&t.coverflowEffect.setTransition(e)}}};const rs={init(){const e=this,{thumbs:t}=e.params,s=e.constructor;t.swiper instanceof s?(e.thumbs.swiper=t.swiper,Q.extend(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Q.extend(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):Q.isObject(t.swiper)&&(e.thumbs.swiper=new s(Q.extend({},t.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),e.thumbs.swiperCreated=!0),e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",e.thumbs.onThumbClick)},onThumbClick(){const e=this,t=e.thumbs.swiper;if(!t)return;const s=t.clickedIndex,a=t.clickedSlide;if(a&&c(a).hasClass(e.params.thumbs.slideThumbActiveClass))return;if("undefined"===typeof s||null===s)return;let i;if(i=t.params.loop?parseInt(c(t.clickedSlide).attr("data-swiper-slide-index"),10):s,e.params.loop){let t=e.activeIndex;e.slides.eq(t).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,t=e.activeIndex);const s=e.slides.eq(t).prevAll(`[data-swiper-slide-index="${i}"]`).eq(0).index(),a=e.slides.eq(t).nextAll(`[data-swiper-slide-index="${i}"]`).eq(0).index();i="undefined"===typeof s?a:"undefined"===typeof a?s:a-t<t-s?a:s}e.slideTo(i)},update(e){const t=this,s=t.thumbs.swiper;if(!s)return;const a="auto"===s.params.slidesPerView?s.slidesPerViewDynamic():s.params.slidesPerView;if(t.realIndex!==s.realIndex){let i,n=s.activeIndex;if(s.params.loop){s.slides.eq(n).hasClass(s.params.slideDuplicateClass)&&(s.loopFix(),s._clientLeft=s.$wrapperEl[0].clientLeft,n=s.activeIndex);const e=s.slides.eq(n).prevAll(`[data-swiper-slide-index="${t.realIndex}"]`).eq(0).index(),a=s.slides.eq(n).nextAll(`[data-swiper-slide-index="${t.realIndex}"]`).eq(0).index();i="undefined"===typeof e?a:"undefined"===typeof a?e:a-n===n-e?n:a-n<n-e?a:e}else i=t.realIndex;s.visibleSlidesIndexes&&s.visibleSlidesIndexes.indexOf(i)<0&&(s.params.centeredSlides?i=i>n?i-Math.floor(a/2)+1:i+Math.floor(a/2)-1:i>n&&(i=i-a+1),s.slideTo(i,e?0:void 0))}let i=1;const n=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(i=t.params.slidesPerView),s.slides.removeClass(n),s.params.loop||s.params.virtual&&s.params.virtual.enabled)for(let r=0;r<i;r+=1)s.$wrapperEl.children(`[data-swiper-slide-index="${t.realIndex+r}"]`).addClass(n);else for(let r=0;r<i;r+=1)s.slides.eq(t.realIndex+r).addClass(n)}};var os={name:"thumbs",params:{thumbs:{swiper:null,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create(){const e=this;Q.extend(e,{thumbs:{swiper:null,init:rs.init.bind(e),update:rs.update.bind(e),onThumbClick:rs.onThumbClick.bind(e)}})},on:{beforeInit(){const e=this,{thumbs:t}=e.params;t&&t.swiper&&(e.thumbs.init(),e.thumbs.update(!0))},slideChange(){const e=this;e.thumbs.swiper&&e.thumbs.update()},update(){const e=this;e.thumbs.swiper&&e.thumbs.update()},resize(){const e=this;e.thumbs.swiper&&e.thumbs.update()},observerUpdate(){const e=this;e.thumbs.swiper&&e.thumbs.update()},setTransition(e){const t=this,s=t.thumbs.swiper;s&&s.setTransition(e)},beforeDestroy(){const e=this,t=e.thumbs.swiper;t&&e.thumbs.swiperCreated&&t&&t.destroy()}}};const ls=[gt,vt,bt,yt,Tt,St,$t,kt,It,Ot,At,Nt,Ht,Xt,Rt,qt,jt,Kt,Jt,Qt,ts,as,ns,os];"undefined"===typeof ft.use&&(ft.use=ft.Class.use,ft.installModule=ft.Class.installModule),ft.use(ls);t["default"]=ft},b843:function(e,t,s){"use strict";s.d(t,"a",(function(){return m}));var a=s("1da1"),i=(s("96cf"),s("d3b7"),s("99af"),s("3ca3"),s("ddb0"),s("e9c4"),s("d81d"),s("2934")),n=i["a"].validGame,r=i["a"].getGameRule,o=i["a"].gamePlay,l=i["a"].getGameNumberPolling,d="/pages/game/game-h5",c="/pages/open-card/open-card/open-card",p="/pages/access-2-h5/h5-share/h5-share",u="/pages/points-mall/points-detail/points-detail",h="/pages/member-center/coupon/coupon-list/coupon-list";function m(e){var t,s=this;e&&(t=e),this.init=function(e){t=e};var i=function(e){t.alertOptions=e},m=function(){t.alertOptions={}};this.showTips=function(e){i({show:!0,content:e,cancel:function(){m()}})};var f=function(){return new Promise((function(e,s){var a=t.$route.query;+a.isAttest?e():(s(),i({show:!0,content:"成为会员才可参与游戏哦~\n快认证成为会员赢好礼吧！",buttonList:[{text:"立即认证",click:function(){m(),x()}}],cancel:function(){m()}}))}))},g=function(){return new Promise((function(e,s){var a=t.game,n="无法参与游戏";switch(+a.status){case 0:n="游戏还没开始，请耐心等待,\n去其他地方先逛逛吧~";break;case 1:return void e();case 2:n="来晚一步，游戏已结束，\n去其他地方看看吧~";break;case 3:n="来晚一步，游戏已结束，\n去其它地方看看吧~";break;default:break}s(),i({show:!0,content:n,buttonList:[{text:"其它地方逛逛",click:function(){m(),T()}}],cancel:function(){m()}})}))},v=function(){return new Promise((function(e){n(t.$route.query).then(e).catch(w)}))},w=function(e){var s="",a="",n=[{text:"其它地方逛逛",click:function(){m(),T()}}];switch(+e.code){case 2001:s="来晚一步，游戏已结束，\n去其他地方看看吧~";break;case 2002:s="游戏还没开始，请耐心等待，\n去其他地方看看吧~";break;case 2003:a="很遗憾",s="您暂无权限参加本次游戏，\n详情请查看游戏规则",n=[{text:"查看规则",click:function(){m(),t.toGameRule()}}];break;case 2004:s="游戏次数已达上限，\n去其他地方看看吧~";break;case 2005:a="游戏剩余次数已用完",s="每邀请".concat(t.shareConditionObj.inviteNum,"位好友").concat(11==t.shareConditionObj.type?"完成新会员注册":"首次关注服务号","助力增加").concat(t.shareConditionObj.value,"次机会"),n=[{text:"分享好友",click:function(){m(),t.shareWx()}},{text:"分享朋友圈",click:function(){m(),t.sharePyq()}}];break;case 2006:s="积分不足，\n先去获取些积分吧~",n=[{text:"立即获取积分",click:function(){m(),window.wx.miniProgram.navigateTo({url:"/"+t.rule.dumpPath})}}];break;case 2007:s="今日免费次数已用完，\n明早继续";break;case 2008:s="免费游戏次数已达上限，\n去其他地方看看吧~";break;default:s=e.message||"系统异常",n=[];break}(a||s)&&i({show:!0,title:a,content:s,buttonList:n,cancel:function(){m()}})},b=function(){var e=new Promise((function(e){setTimeout((function(){e(1)}),1500)}));return new Promise((function(s,a){t.isOpening?a():(t.isOpening=!0,Promise.all([o(t.$route.query),e]).then((function(e){var a=e[0];setTimeout((function(){t.isOpening=!1}),300),s(a)})).catch((function(e){t.isOpening=!1,a(e),w(e)})))}))};this.checkMyReward=function(){return new Promise((function(e,s){var a=t.game,n="无法参与游戏";switch(+a.status){case 0:n="游戏还没开始，请耐心等待,\n去其他地方先逛逛吧~";break;default:return void e()}s(),i({show:!0,content:n,buttonList:[{text:"其它地方逛逛",click:function(){m(),T()}}],cancel:function(){m()}})})).then(f)},this.checkPlay=function(){return g().then(f).then(v)},this.play=function(){return s.checkPlay().then((function(){return b()}))};var y,x=function(){var e=t.$route.query,s=c,a={type:2,data:{path:"".concat(d,"?gameId=").concat(e.gameId,"&enterpriseId=").concat(e.enterpriseId,"&shareMemberId=").concat(e.shareMemberId||"","&isFrom=openCard")}};s+="?intent="+encodeURIComponent(JSON.stringify(a)),window.wx.miniProgram.navigateTo({url:s})},T=function(){window.wx.miniProgram.navigateBack()};this.shareWx=function(e){var t="".concat(p,"?shareOptions=").concat(encodeURIComponent(JSON.stringify(e)),"&content=立即分享邀请好友助力&confirmText=立即分享");window.wx.miniProgram.navigateTo({url:t})},this.getConditionObj=function(){return new Promise((function(e,s){var a=t.conditionObj;if(a&&a.gameId)e(a);else{var i=t.$route.query;r({gameId:i.gameId,enterpriseId:i.enterpriseId}).then((function(s){var i=s.gameRuleConditionList||[];i.map((function(e){var t=JSON.parse(e.conditionJson);11!=+t.type&&12!=+t.type||(a=t)})),t.conditionObj=a,e(a)})).catch(s)}}))},this.support=Object(a["a"])(regeneratorRuntime.mark((function e(){var a,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a=t.$route.query,a.memberId!=a.shareMemberId){e.next=4;break}return i({show:!0,content:"无法为自己助力，赶快邀请好友助力",buttonList:[{text:"邀请好友助力",click:function(){m(),t.clickShareBtn()}}],cancel:function(){m()}}),e.abrupt("return");case 4:return e.next=6,s.getConditionObj();case 6:if(n=e.sent,3!=t.helpDetail.helpStatus){e.next=10;break}return i({show:!0,title:"",content:"很遗憾你已".concat(12==n.type?"关注服务号":"认证","，无法助力好友  可立即参与游戏，赢取好礼"),buttonList:[{text:"参与游戏赢好礼",click:function(){m(),t.toPlayGame()}}],cancel:function(){m()}}),e.abrupt("return");case 10:11==n.type?+a.isAttest?i({show:!0,content:"很遗憾，您已成为会员，无法助力好友，可立即参与游戏，赢取好礼",buttonList:[{text:"参与游戏赢好礼",click:function(){m(),t.toPlayGame()}}],cancel:function(){m()}}):i({show:!0,content:"仅差一步，您当前还不是会员，无法助力，立即认证成为会员，助力赢取好礼",buttonList:[{text:"立即认证会员",click:function(){m(),x()}}],cancel:function(){m()}}):12==n.type&&t.shareFwh(n);case 11:case"end":return e.stop()}}),e)})));var E=function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var s,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return s=t.$route.query,e.next=3,l({gameId:s.gameId,enterpriseId:s.enterpriseId,memberId:s.memberId});case 3:a=e.sent,t.playNumberObj.playNumber=a;case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return this.startPolling=function(){y=setInterval((function(){E()}),1e4)},this.stopPolling=function(){clearInterval(y)},this.toIntegralDetail=function(){window.wx.miniProgram.navigateTo({url:u})},this.toCouponList=function(){window.wx.miniProgram.navigateTo({url:h})},this}},cb29:function(e,t,s){var a=s("23e7"),i=s("81d5"),n=s("44d2");a({target:"Array",proto:!0},{fill:i}),n("fill")}}]);