Файловый менеджер - Редактировать - /var/www/biopower/html/wp-content/plugins/jetpack/_inc/build/carousel/swiper-bundle.min.js
Назад
/*! For license information please see swiper-bundle.min.js.LICENSE.txt */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Swiper670=t():e.Swiper670=t()}(self,(()=>{return e={5234:function(e){e.exports=function(){"use strict";function e(e,t){for(var i=0;i<t.length;i++){var a=t[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function t(t,i,a){return i&&e(t.prototype,i),a&&e(t,a),t}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e},i.apply(this,arguments)}function a(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function n(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((function(i){void 0===e[i]?e[i]=t[i]:a(t[i])&&a(e[i])&&Object.keys(t[i]).length>0&&n(e[i],t[i])}))}var 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:""}};function s(){var e="undefined"!=typeof document?document:{};return n(e,r),e}var o={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{}},requestAnimationFrame:function(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function l(){var e="undefined"!=typeof window?window:{};return n(e,o),e}function d(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function v(e,t,i){return v=p()?Reflect.construct:function(e,t,i){var a=[null];a.push.apply(a,t);var n=new(Function.bind.apply(e,a));return i&&c(n,i.prototype),n},v.apply(null,arguments)}function h(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function f(e){var t="function"==typeof Map?new Map:void 0;return f=function(e){if(null===e||!h(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,i)}function i(){return v(e,arguments,u(this).constructor)}return i.prototype=Object.create(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),c(i,e)},f(e)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){var t=e.__proto__;Object.defineProperty(e,"__proto__",{get:function(){return t},set:function(e){t.__proto__=e}})}var b=function(e){function t(t){var i;return g(m(i=e.call.apply(e,[this].concat(t))||this)),i}return d(t,e),t}(f(Array));function E(e){void 0===e&&(e=[]);var t=[];return e.forEach((function(e){Array.isArray(e)?t.push.apply(t,E(e)):t.push(e)})),t}function C(e,t){return Array.prototype.filter.call(e,t)}function y(e){for(var t=[],i=0;i<e.length;i+=1)-1===t.indexOf(e[i])&&t.push(e[i]);return t}function w(e,t){if("string"!=typeof e)return[e];for(var i=[],a=t.querySelectorAll(e),n=0;n<a.length;n+=1)i.push(a[n]);return i}function T(e,t){var i=l(),a=s(),n=[];if(!t&&e instanceof b)return e;if(!e)return new b(n);if("string"==typeof e){var r=e.trim();if(r.indexOf("<")>=0&&r.indexOf(">")>=0){var o="div";0===r.indexOf("<li")&&(o="ul"),0===r.indexOf("<tr")&&(o="tbody"),0!==r.indexOf("<td")&&0!==r.indexOf("<th")||(o="tr"),0===r.indexOf("<tbody")&&(o="table"),0===r.indexOf("<option")&&(o="select");var d=a.createElement(o);d.innerHTML=r;for(var u=0;u<d.childNodes.length;u+=1)n.push(d.childNodes[u])}else n=w(e.trim(),t||a)}else if(e.nodeType||e===i||e===a)n.push(e);else if(Array.isArray(e)){if(e instanceof b)return e;n=e}return new b(y(n))}function x(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var a=E(t.map((function(e){return e.split(" ")})));return this.forEach((function(e){var t;(t=e.classList).add.apply(t,a)})),this}function S(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var a=E(t.map((function(e){return e.split(" ")})));return this.forEach((function(e){var t;(t=e.classList).remove.apply(t,a)})),this}function M(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var a=E(t.map((function(e){return e.split(" ")})));this.forEach((function(e){a.forEach((function(t){e.classList.toggle(t)}))}))}function k(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var a=E(t.map((function(e){return e.split(" ")})));return C(this,(function(e){return a.filter((function(t){return e.classList.contains(t)})).length>0})).length>0}function P(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var i=0;i<this.length;i+=1)if(2===arguments.length)this[i].setAttribute(e,t);else for(var a in e)this[i][a]=e[a],this[i].setAttribute(a,e[a]);return this}function z(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this}function $(e){for(var t=0;t<this.length;t+=1)this[t].style.transform=e;return this}function L(e){for(var t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!=typeof e?e+"ms":e;return this}function O(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var a=t[0],n=t[1],r=t[2],s=t[3];function o(e){var t=e.target;if(t){var i=e.target.dom7EventData||[];if(i.indexOf(e)<0&&i.unshift(e),T(t).is(n))r.apply(t,i);else for(var a=T(t).parents(),s=0;s<a.length;s+=1)T(a[s]).is(n)&&r.apply(a[s],i)}}function l(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),r.apply(this,t)}"function"==typeof t[1]&&(a=t[0],r=t[1],s=t[2],n=void 0),s||(s=!1);for(var d,u=a.split(" "),c=0;c<this.length;c+=1){var p=this[c];if(n)for(d=0;d<u.length;d+=1){var v=u[d];p.dom7LiveListeners||(p.dom7LiveListeners={}),p.dom7LiveListeners[v]||(p.dom7LiveListeners[v]=[]),p.dom7LiveListeners[v].push({listener:r,proxyListener:o}),p.addEventListener(v,o,s)}else for(d=0;d<u.length;d+=1){var h=u[d];p.dom7Listeners||(p.dom7Listeners={}),p.dom7Listeners[h]||(p.dom7Listeners[h]=[]),p.dom7Listeners[h].push({listener:r,proxyListener:l}),p.addEventListener(h,l,s)}}return this}function A(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var a=t[0],n=t[1],r=t[2],s=t[3];"function"==typeof t[1]&&(a=t[0],r=t[1],s=t[2],n=void 0),s||(s=!1);for(var o=a.split(" "),l=0;l<o.length;l+=1)for(var d=o[l],u=0;u<this.length;u+=1){var c=this[u],p=void 0;if(!n&&c.dom7Listeners?p=c.dom7Listeners[d]:n&&c.dom7LiveListeners&&(p=c.dom7LiveListeners[d]),p&&p.length)for(var v=p.length-1;v>=0;v-=1){var h=p[v];r&&h.listener===r||r&&h.listener&&h.listener.dom7proxy&&h.listener.dom7proxy===r?(c.removeEventListener(d,h.proxyListener,s),p.splice(v,1)):r||(c.removeEventListener(d,h.proxyListener,s),p.splice(v,1))}}return this}function I(){for(var e=l(),t=arguments.length,i=new Array(t),a=0;a<t;a++)i[a]=arguments[a];for(var n=i[0].split(" "),r=i[1],s=0;s<n.length;s+=1)for(var o=n[s],d=0;d<this.length;d+=1){var u=this[d];if(e.CustomEvent){var c=new e.CustomEvent(o,{detail:r,bubbles:!0,cancelable:!0});u.dom7EventData=i.filter((function(e,t){return t>0})),u.dispatchEvent(c),u.dom7EventData=[],delete u.dom7EventData}}return this}function G(e){var t=this;function i(a){a.target===this&&(e.call(this,a),t.off("transitionend",i))}return e&&t.on("transitionend",i),this}function B(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function D(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function N(){if(this.length>0){var e=l(),t=s(),i=this[0],a=i.getBoundingClientRect(),n=t.body,r=i.clientTop||n.clientTop||0,o=i.clientLeft||n.clientLeft||0,d=i===e?e.scrollY:i.scrollTop,u=i===e?e.scrollX:i.scrollLeft;return{top:a.top+d-r,left:a.left+u-o}}return null}function R(){var e=l();return this[0]?e.getComputedStyle(this[0],null):{}}function X(e,t){var i,a=l();if(1===arguments.length){if("string"!=typeof e){for(i=0;i<this.length;i+=1)for(var n in e)this[i].style[n]=e[n];return this}if(this[0])return a.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(i=0;i<this.length;i+=1)this[i].style[e]=t;return this}return this}function Y(e){return e?(this.forEach((function(t,i){e.apply(t,[t,i])})),this):this}function W(e){return T(C(this,e))}function H(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this}function _(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this}function F(e){var t,i,a=l(),n=s(),r=this[0];if(!r||void 0===e)return!1;if("string"==typeof e){if(r.matches)return r.matches(e);if(r.webkitMatchesSelector)return r.webkitMatchesSelector(e);if(r.msMatchesSelector)return r.msMatchesSelector(e);for(t=T(e),i=0;i<t.length;i+=1)if(t[i]===r)return!0;return!1}if(e===n)return r===n;if(e===a)return r===a;if(e.nodeType||e instanceof b){for(t=e.nodeType?[e]:e,i=0;i<t.length;i+=1)if(t[i]===r)return!0;return!1}return!1}function j(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}}function V(e){if(void 0===e)return this;var t=this.length;if(e>t-1)return T([]);if(e<0){var i=t+e;return T(i<0?[]:[this[i]])}return T([this[e]])}function q(){for(var e,t=s(),i=0;i<arguments.length;i+=1){e=i<0||arguments.length<=i?void 0:arguments[i];for(var a=0;a<this.length;a+=1)if("string"==typeof e){var n=t.createElement("div");for(n.innerHTML=e;n.firstChild;)this[a].appendChild(n.firstChild)}else if(e instanceof b)for(var r=0;r<e.length;r+=1)this[a].appendChild(e[r]);else this[a].appendChild(e)}return this}function U(e){var t,i,a=s();for(t=0;t<this.length;t+=1)if("string"==typeof e){var n=a.createElement("div");for(n.innerHTML=e,i=n.childNodes.length-1;i>=0;i-=1)this[t].insertBefore(n.childNodes[i],this[t].childNodes[0])}else if(e instanceof b)for(i=0;i<e.length;i+=1)this[t].insertBefore(e[i],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this}function K(e){return this.length>0?e?this[0].nextElementSibling&&T(this[0].nextElementSibling).is(e)?T([this[0].nextElementSibling]):T([]):this[0].nextElementSibling?T([this[0].nextElementSibling]):T([]):T([])}function J(e){var t=[],i=this[0];if(!i)return T([]);for(;i.nextElementSibling;){var a=i.nextElementSibling;e?T(a).is(e)&&t.push(a):t.push(a),i=a}return T(t)}function Q(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&T(t.previousElementSibling).is(e)?T([t.previousElementSibling]):T([]):t.previousElementSibling?T([t.previousElementSibling]):T([])}return T([])}function Z(e){var t=[],i=this[0];if(!i)return T([]);for(;i.previousElementSibling;){var a=i.previousElementSibling;e?T(a).is(e)&&t.push(a):t.push(a),i=a}return T(t)}function ee(e){for(var t=[],i=0;i<this.length;i+=1)null!==this[i].parentNode&&(e?T(this[i].parentNode).is(e)&&t.push(this[i].parentNode):t.push(this[i].parentNode));return T(t)}function te(e){for(var t=[],i=0;i<this.length;i+=1)for(var a=this[i].parentNode;a;)e?T(a).is(e)&&t.push(a):t.push(a),a=a.parentNode;return T(t)}function ie(e){var t=this;return void 0===e?T([]):(t.is(e)||(t=t.parents(e).eq(0)),t)}function ae(e){for(var t=[],i=0;i<this.length;i+=1)for(var a=this[i].querySelectorAll(e),n=0;n<a.length;n+=1)t.push(a[n]);return T(t)}function ne(e){for(var t=[],i=0;i<this.length;i+=1)for(var a=this[i].children,n=0;n<a.length;n+=1)e&&!T(a[n]).is(e)||t.push(a[n]);return T(t)}function re(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}T.fn=b.prototype;var se,oe,le,de={addClass:x,removeClass:S,hasClass:k,toggleClass:M,attr:P,removeAttr:z,transform:$,transition:L,on:O,off:A,trigger:I,transitionEnd:G,outerWidth:B,outerHeight:D,styles:R,offset:N,css:X,each:Y,html:H,text:_,is:F,index:j,eq:V,append:q,prepend:U,next:K,nextAll:J,prev:Q,prevAll:Z,parent:ee,parents:te,closest:ie,find:ae,children:ne,filter:W,remove:re};function ue(e){var t=e;Object.keys(t).forEach((function(e){try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}function ce(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function pe(){return Date.now()}function ve(e){var t,i=l();return i.getComputedStyle&&(t=i.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}function he(e,t){void 0===t&&(t="x");var i,a,n,r=l(),s=ve(e);return r.WebKitCSSMatrix?((a=s.transform||s.webkitTransform).split(",").length>6&&(a=a.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),n=new r.WebKitCSSMatrix("none"===a?"":a)):i=(n=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(a=r.WebKitCSSMatrix?n.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(a=r.WebKitCSSMatrix?n.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),a||0}function fe(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function me(){for(var e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"],i="undefined"!=typeof window?window.HTMLElement:void 0,a=1;a<arguments.length;a+=1){var n=a<0||arguments.length<=a?void 0:arguments[a];if(null!=n&&!(i&&n instanceof i))for(var r=Object.keys(Object(n)).filter((function(e){return t.indexOf(e)<0})),s=0,o=r.length;s<o;s+=1){var l=r[s],d=Object.getOwnPropertyDescriptor(n,l);void 0!==d&&d.enumerable&&(fe(e[l])&&fe(n[l])?n[l].__swiper__?e[l]=n[l]:me(e[l],n[l]):!fe(e[l])&&fe(n[l])?(e[l]={},n[l].__swiper__?e[l]=n[l]:me(e[l],n[l])):e[l]=n[l])}}return e}function ge(e,t){Object.keys(t).forEach((function(i){fe(t[i])&&Object.keys(t[i]).forEach((function(a){"function"==typeof t[i][a]&&(t[i][a]=t[i][a].bind(e))})),e[i]=t[i]}))}function be(e){return void 0===e&&(e=""),"."+e.trim().replace(/([\.:\/])/g,"\\$1").replace(/ /g,".")}function Ee(e,t,i,a){var n=s();return i&&Object.keys(a).forEach((function(i){if(!t[i]&&!0===t.auto){var r=n.createElement("div");r.className=a[i],e.append(r),t[i]=r}})),t}function Ce(){var e=l(),t=s();return{touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),pointerEvents:!!e.PointerEvent&&"maxTouchPoints"in e.navigator&&e.navigator.maxTouchPoints>=0,observer:"MutationObserver"in e||"WebkitMutationObserver"in e,passiveListener:function(){var t=!1;try{var i=Object.defineProperty({},"passive",{get:function(){t=!0}});e.addEventListener("testPassiveListener",null,i)}catch(e){}return t}(),gestures:"ongesturestart"in e}}function ye(){return se||(se=Ce()),se}function we(e){var t=(void 0===e?{}:e).userAgent,i=ye(),a=l(),n=a.navigator.platform,r=t||a.navigator.userAgent,s={ios:!1,android:!1},o=a.screen.width,d=a.screen.height,u=r.match(/(Android);?[\s\/]+([\d.]+)?/),c=r.match(/(iPad).*OS\s([\d_]+)/),p=r.match(/(iPod)(.*OS\s([\d_]+))?/),v=!c&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===n,f="MacIntel"===n,m=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&f&&i.touch&&m.indexOf(o+"x"+d)>=0&&((c=r.match(/(Version)\/([\d.]+)/))||(c=[0,1,"13_0_0"]),f=!1),u&&!h&&(s.os="android",s.android=!0),(c||v||p)&&(s.os="ios",s.ios=!0),s}function Te(e){return void 0===e&&(e={}),oe||(oe=we(e)),oe}function xe(){var e=l();function t(){var t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}return{isEdge:!!e.navigator.userAgent.match(/Edge/g),isSafari:t(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}function Se(){return le||(le=xe()),le}Object.keys(de).forEach((function(e){Object.defineProperty(T.fn,e,{value:de[e],writable:!0})}));var Me=function(){return void 0!==l().ResizeObserver},ke={name:"resize",create:function(){var e=this;me(e,{resize:{observer:null,createObserver:function(){e&&!e.destroyed&&e.initialized&&(e.resize.observer=new ResizeObserver((function(t){var i=e.width,a=e.height,n=i,r=a;t.forEach((function(t){var i=t.contentBoxSize,a=t.contentRect,s=t.target;s&&s!==e.el||(n=a?a.width:(i[0]||i).inlineSize,r=a?a.height:(i[0]||i).blockSize)})),n===i&&r===a||e.resize.resizeHandler()})),e.resize.observer.observe(e.el))},removeObserver:function(){e.resize.observer&&e.resize.observer.unobserve&&e.el&&(e.resize.observer.unobserve(e.el),e.resize.observer=null)},resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(e){var t=l();e.params.resizeObserver&&Me()?e.resize.createObserver():(t.addEventListener("resize",e.resize.resizeHandler),t.addEventListener("orientationchange",e.resize.orientationChangeHandler))},destroy:function(e){var t=l();e.resize.removeObserver(),t.removeEventListener("resize",e.resize.resizeHandler),t.removeEventListener("orientationchange",e.resize.orientationChangeHandler)}}},Pe={attach:function(e,t){void 0===t&&(t={});var i=l(),a=this,n=new(i.MutationObserver||i.WebkitMutationObserver)((function(e){if(1!==e.length){var t=function(){a.emit("observerUpdate",e[0])};i.requestAnimationFrame?i.requestAnimationFrame(t):i.setTimeout(t,0)}else a.emit("observerUpdate",e[0])}));n.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),a.observer.observers.push(n)},init:function(){var e=this;if(e.support.observer&&e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),i=0;i<t.length;i+=1)e.observer.attach(t[i]);e.observer.attach(e.$el[0],{childList:e.params.observeSlideChildren}),e.observer.attach(e.$wrapperEl[0],{attributes:!1})}},destroy:function(){var e=this;e.observer.observers.forEach((function(e){e.disconnect()})),e.observer.observers=[]}},ze={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){ge(this,{observer:i({},Pe,{observers:[]})})},on:{init:function(e){e.observer.init()},destroy:function(e){e.observer.destroy()}}},$e={useParams:function(e){var t=this;t.modules&&Object.keys(t.modules).forEach((function(i){var a=t.modules[i];a.params&&me(e,a.params)}))},useModules:function(e){void 0===e&&(e={});var t=this;t.modules&&Object.keys(t.modules).forEach((function(i){var a=t.modules[i],n=e[i]||{};a.on&&t.on&&Object.keys(a.on).forEach((function(e){t.on(e,a.on[e])})),a.create&&a.create.bind(t)(n)}))}},Le={on:function(e,t,i){var a=this;if("function"!=typeof t)return a;var n=i?"unshift":"push";return e.split(" ").forEach((function(e){a.eventsListeners[e]||(a.eventsListeners[e]=[]),a.eventsListeners[e][n](t)})),a},once:function(e,t,i){var a=this;if("function"!=typeof t)return a;function n(){a.off(e,n),n.__emitterProxy&&delete n.__emitterProxy;for(var i=arguments.length,r=new Array(i),s=0;s<i;s++)r[s]=arguments[s];t.apply(a,r)}return n.__emitterProxy=t,a.on(e,n,i)},onAny:function(e,t){var i=this;if("function"!=typeof e)return i;var a=t?"unshift":"push";return i.eventsAnyListeners.indexOf(e)<0&&i.eventsAnyListeners[a](e),i},offAny:function(e){var t=this;if(!t.eventsAnyListeners)return t;var i=t.eventsAnyListeners.indexOf(e);return i>=0&&t.eventsAnyListeners.splice(i,1),t},off:function(e,t){var i=this;return i.eventsListeners?(e.split(" ").forEach((function(e){void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].forEach((function(a,n){(a===t||a.__emitterProxy&&a.__emitterProxy===t)&&i.eventsListeners[e].splice(n,1)}))})),i):i},emit:function(){var e,t,i,a=this;if(!a.eventsListeners)return a;for(var n=arguments.length,r=new Array(n),s=0;s<n;s++)r[s]=arguments[s];return"string"==typeof r[0]||Array.isArray(r[0])?(e=r[0],t=r.slice(1,r.length),i=a):(e=r[0].events,t=r[0].data,i=r[0].context||a),t.unshift(i),(Array.isArray(e)?e:e.split(" ")).forEach((function(e){a.eventsAnyListeners&&a.eventsAnyListeners.length&&a.eventsAnyListeners.forEach((function(a){a.apply(i,[e].concat(t))})),a.eventsListeners&&a.eventsListeners[e]&&a.eventsListeners[e].forEach((function(e){e.apply(i,t)}))})),a}};function Oe(){var e,t,i=this,a=i.$el;e=void 0!==i.params.width&&null!==i.params.width?i.params.width:a[0].clientWidth,t=void 0!==i.params.height&&null!==i.params.height?i.params.height:a[0].clientHeight,0===e&&i.isHorizontal()||0===t&&i.isVertical()||(e=e-parseInt(a.css("padding-left")||0,10)-parseInt(a.css("padding-right")||0,10),t=t-parseInt(a.css("padding-top")||0,10)-parseInt(a.css("padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),me(i,{width:e,height:t,size:i.isHorizontal()?e:t}))}function Ae(){var e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function i(e,i){return parseFloat(e.getPropertyValue(t(i))||0)}var a=e.params,n=e.$wrapperEl,r=e.size,s=e.rtlTranslate,o=e.wrongRTL,l=e.virtual&&a.virtual.enabled,d=l?e.virtual.slides.length:e.slides.length,u=n.children("."+e.params.slideClass),c=l?e.virtual.slides.length:u.length,p=[],v=[],h=[],f=a.slidesOffsetBefore;"function"==typeof f&&(f=a.slidesOffsetBefore.call(e));var m=a.slidesOffsetAfter;"function"==typeof m&&(m=a.slidesOffsetAfter.call(e));var g=e.snapGrid.length,b=e.slidesGrid.length,E=a.spaceBetween,C=-f,y=0,w=0;if(void 0!==r){var T,x;"string"==typeof E&&E.indexOf("%")>=0&&(E=parseFloat(E.replace("%",""))/100*r),e.virtualSize=-E,s?u.css({marginLeft:"",marginTop:""}):u.css({marginRight:"",marginBottom:""}),a.slidesPerColumn>1&&(T=Math.floor(c/a.slidesPerColumn)===c/e.params.slidesPerColumn?c:Math.ceil(c/a.slidesPerColumn)*a.slidesPerColumn,"auto"!==a.slidesPerView&&"row"===a.slidesPerColumnFill&&(T=Math.max(T,a.slidesPerView*a.slidesPerColumn)));for(var S,M,k,P=a.slidesPerColumn,z=T/P,$=Math.floor(c/a.slidesPerColumn),L=0;L<c;L+=1){x=0;var O=u.eq(L);if(a.slidesPerColumn>1){var A=void 0,I=void 0,G=void 0;if("row"===a.slidesPerColumnFill&&a.slidesPerGroup>1){var B=Math.floor(L/(a.slidesPerGroup*a.slidesPerColumn)),D=L-a.slidesPerColumn*a.slidesPerGroup*B,N=0===B?a.slidesPerGroup:Math.min(Math.ceil((c-B*P*a.slidesPerGroup)/P),a.slidesPerGroup);A=(I=D-(G=Math.floor(D/N))*N+B*a.slidesPerGroup)+G*T/P,O.css({"-webkit-box-ordinal-group":A,"-moz-box-ordinal-group":A,"-ms-flex-order":A,"-webkit-order":A,order:A})}else"column"===a.slidesPerColumnFill?(G=L-(I=Math.floor(L/P))*P,(I>$||I===$&&G===P-1)&&(G+=1)>=P&&(G=0,I+=1)):I=L-(G=Math.floor(L/z))*z;O.css(t("margin-top"),0!==G?a.spaceBetween&&a.spaceBetween+"px":"")}if("none"!==O.css("display")){if("auto"===a.slidesPerView){var R=getComputedStyle(O[0]),X=O[0].style.transform,Y=O[0].style.webkitTransform;if(X&&(O[0].style.transform="none"),Y&&(O[0].style.webkitTransform="none"),a.roundLengths)x=e.isHorizontal()?O.outerWidth(!0):O.outerHeight(!0);else{var W=i(R,"width"),H=i(R,"padding-left"),_=i(R,"padding-right"),F=i(R,"margin-left"),j=i(R,"margin-right"),V=R.getPropertyValue("box-sizing");if(V&&"border-box"===V)x=W+F+j;else{var q=O[0],U=q.clientWidth;x=W+H+_+F+j+(q.offsetWidth-U)}}X&&(O[0].style.transform=X),Y&&(O[0].style.webkitTransform=Y),a.roundLengths&&(x=Math.floor(x))}else x=(r-(a.slidesPerView-1)*E)/a.slidesPerView,a.roundLengths&&(x=Math.floor(x)),u[L]&&(u[L].style[t("width")]=x+"px");u[L]&&(u[L].swiperSlideSize=x),h.push(x),a.centeredSlides?(C=C+x/2+y/2+E,0===y&&0!==L&&(C=C-r/2-E),0===L&&(C=C-r/2-E),Math.abs(C)<.001&&(C=0),a.roundLengths&&(C=Math.floor(C)),w%a.slidesPerGroup==0&&p.push(C),v.push(C)):(a.roundLengths&&(C=Math.floor(C)),(w-Math.min(e.params.slidesPerGroupSkip,w))%e.params.slidesPerGroup==0&&p.push(C),v.push(C),C=C+x+E),e.virtualSize+=x+E,y=x,w+=1}}if(e.virtualSize=Math.max(e.virtualSize,r)+m,s&&o&&("slide"===a.effect||"coverflow"===a.effect)&&n.css({width:e.virtualSize+a.spaceBetween+"px"}),a.setWrapperSize&&n.css(((M={})[t("width")]=e.virtualSize+a.spaceBetween+"px",M)),a.slidesPerColumn>1&&(e.virtualSize=(x+a.spaceBetween)*T,e.virtualSize=Math.ceil(e.virtualSize/a.slidesPerColumn)-a.spaceBetween,n.css(((k={})[t("width")]=e.virtualSize+a.spaceBetween+"px",k)),a.centeredSlides)){S=[];for(var K=0;K<p.length;K+=1){var J=p[K];a.roundLengths&&(J=Math.floor(J)),p[K]<e.virtualSize+p[0]&&S.push(J)}p=S}if(!a.centeredSlides){S=[];for(var Q=0;Q<p.length;Q+=1){var Z=p[Q];a.roundLengths&&(Z=Math.floor(Z)),p[Q]<=e.virtualSize-r&&S.push(Z)}p=S,Math.floor(e.virtualSize-r)-Math.floor(p[p.length-1])>1&&p.push(e.virtualSize-r)}if(0===p.length&&(p=[0]),0!==a.spaceBetween){var ee,te=e.isHorizontal()&&s?"marginLeft":t("marginRight");u.filter((function(e,t){return!a.cssMode||t!==u.length-1})).css(((ee={})[te]=E+"px",ee))}if(a.centeredSlides&&a.centeredSlidesBounds){var ie=0;h.forEach((function(e){ie+=e+(a.spaceBetween?a.spaceBetween:0)}));var ae=(ie-=a.spaceBetween)-r;p=p.map((function(e){return e<0?-f:e>ae?ae+m:e}))}if(a.centerInsufficientSlides){var ne=0;if(h.forEach((function(e){ne+=e+(a.spaceBetween?a.spaceBetween:0)})),(ne-=a.spaceBetween)<r){var re=(r-ne)/2;p.forEach((function(e,t){p[t]=e-re})),v.forEach((function(e,t){v[t]=e+re}))}}me(e,{slides:u,snapGrid:p,slidesGrid:v,slidesSizesGrid:h}),c!==d&&e.emit("slidesLengthChange"),p.length!==g&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),v.length!==b&&e.emit("slidesGridLengthChange"),(a.watchSlidesProgress||a.watchSlidesVisibility)&&e.updateSlidesOffset()}}function Ie(e){var t,i=this,a=[],n=i.virtual&&i.params.virtual.enabled,r=0;"number"==typeof e?i.setTransition(e):!0===e&&i.setTransition(i.params.speed);var s=function(e){return n?i.slides.filter((function(t){return parseInt(t.getAttribute("data-swiper-slide-index"),10)===e}))[0]:i.slides.eq(e)[0]};if("auto"!==i.params.slidesPerView&&i.params.slidesPerView>1)if(i.params.centeredSlides)i.visibleSlides.each((function(e){a.push(e)}));else for(t=0;t<Math.ceil(i.params.slidesPerView);t+=1){var o=i.activeIndex+t;if(o>i.slides.length&&!n)break;a.push(s(o))}else a.push(s(i.activeIndex));for(t=0;t<a.length;t+=1)if(void 0!==a[t]){var l=a[t].offsetHeight;r=l>r?l:r}r&&i.$wrapperEl.css("height",r+"px")}function Ge(){for(var e=this,t=e.slides,i=0;i<t.length;i+=1)t[i].swiperSlideOffset=e.isHorizontal()?t[i].offsetLeft:t[i].offsetTop}function Be(e){void 0===e&&(e=this&&this.translate||0);var t=this,i=t.params,a=t.slides,n=t.rtlTranslate;if(0!==a.length){void 0===a[0].swiperSlideOffset&&t.updateSlidesOffset();var r=-e;n&&(r=e),a.removeClass(i.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var s=0;s<a.length;s+=1){var o=a[s],l=(r+(i.centeredSlides?t.minTranslate():0)-o.swiperSlideOffset)/(o.swiperSlideSize+i.spaceBetween);if(i.watchSlidesVisibility||i.centeredSlides&&i.autoHeight){var d=-(r-o.swiperSlideOffset),u=d+t.slidesSizesGrid[s];(d>=0&&d<t.size-1||u>1&&u<=t.size||d<=0&&u>=t.size)&&(t.visibleSlides.push(o),t.visibleSlidesIndexes.push(s),a.eq(s).addClass(i.slideVisibleClass))}o.progress=n?-l:l}t.visibleSlides=T(t.visibleSlides)}}function De(e){var t=this;if(void 0===e){var i=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*i||0}var a=t.params,n=t.maxTranslate()-t.minTranslate(),r=t.progress,s=t.isBeginning,o=t.isEnd,l=s,d=o;0===n?(r=0,s=!0,o=!0):(s=(r=(e-t.minTranslate())/n)<=0,o=r>=1),me(t,{progress:r,isBeginning:s,isEnd:o}),(a.watchSlidesProgress||a.watchSlidesVisibility||a.centeredSlides&&a.autoHeight)&&t.updateSlidesProgress(e),s&&!l&&t.emit("reachBeginning toEdge"),o&&!d&&t.emit("reachEnd toEdge"),(l&&!s||d&&!o)&&t.emit("fromEdge"),t.emit("progress",r)}function Ne(){var e,t=this,i=t.slides,a=t.params,n=t.$wrapperEl,r=t.activeIndex,s=t.realIndex,o=t.virtual&&a.virtual.enabled;i.removeClass(a.slideActiveClass+" "+a.slideNextClass+" "+a.slidePrevClass+" "+a.slideDuplicateActiveClass+" "+a.slideDuplicateNextClass+" "+a.slideDuplicatePrevClass),(e=o?t.$wrapperEl.find("."+a.slideClass+'[data-swiper-slide-index="'+r+'"]'):i.eq(r)).addClass(a.slideActiveClass),a.loop&&(e.hasClass(a.slideDuplicateClass)?n.children("."+a.slideClass+":not(."+a.slideDuplicateClass+')[data-swiper-slide-index="'+s+'"]').addClass(a.slideDuplicateActiveClass):n.children("."+a.slideClass+"."+a.slideDuplicateClass+'[data-swiper-slide-index="'+s+'"]').addClass(a.slideDuplicateActiveClass));var l=e.nextAll("."+a.slideClass).eq(0).addClass(a.slideNextClass);a.loop&&0===l.length&&(l=i.eq(0)).addClass(a.slideNextClass);var d=e.prevAll("."+a.slideClass).eq(0).addClass(a.slidePrevClass);a.loop&&0===d.length&&(d=i.eq(-1)).addClass(a.slidePrevClass),a.loop&&(l.hasClass(a.slideDuplicateClass)?n.children("."+a.slideClass+":not(."+a.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(a.slideDuplicateNextClass):n.children("."+a.slideClass+"."+a.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(a.slideDuplicateNextClass),d.hasClass(a.slideDuplicateClass)?n.children("."+a.slideClass+":not(."+a.slideDuplicateClass+')[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addClass(a.slideDuplicatePrevClass):n.children("."+a.slideClass+"."+a.slideDuplicateClass+'[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addClass(a.slideDuplicatePrevClass)),t.emitSlidesClasses()}function Re(e){var t,i=this,a=i.rtlTranslate?i.translate:-i.translate,n=i.slidesGrid,r=i.snapGrid,s=i.params,o=i.activeIndex,l=i.realIndex,d=i.snapIndex,u=e;if(void 0===u){for(var c=0;c<n.length;c+=1)void 0!==n[c+1]?a>=n[c]&&a<n[c+1]-(n[c+1]-n[c])/2?u=c:a>=n[c]&&a<n[c+1]&&(u=c+1):a>=n[c]&&(u=c);s.normalizeSlideIndex&&(u<0||void 0===u)&&(u=0)}if(r.indexOf(a)>=0)t=r.indexOf(a);else{var p=Math.min(s.slidesPerGroupSkip,u);t=p+Math.floor((u-p)/s.slidesPerGroup)}if(t>=r.length&&(t=r.length-1),u!==o){var v=parseInt(i.slides.eq(u).attr("data-swiper-slide-index")||u,10);me(i,{snapIndex:t,realIndex:v,previousIndex:o,activeIndex:u}),i.emit("activeIndexChange"),i.emit("snapIndexChange"),l!==v&&i.emit("realIndexChange"),(i.initialized||i.params.runCallbacksOnInit)&&i.emit("slideChange")}else t!==d&&(i.snapIndex=t,i.emit("snapIndexChange"))}function Xe(e){var t,i=this,a=i.params,n=T(e.target).closest("."+a.slideClass)[0],r=!1;if(n)for(var s=0;s<i.slides.length;s+=1)if(i.slides[s]===n){r=!0,t=s;break}if(!n||!r)return i.clickedSlide=void 0,void(i.clickedIndex=void 0);i.clickedSlide=n,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(T(n).attr("data-swiper-slide-index"),10):i.clickedIndex=t,a.slideToClickedSlide&&void 0!==i.clickedIndex&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}function Ye(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this,i=t.params,a=t.rtlTranslate,n=t.translate,r=t.$wrapperEl;if(i.virtualTranslate)return a?-n:n;if(i.cssMode)return n;var s=he(r[0],e);return a&&(s=-s),s||0}function We(e,t){var i=this,a=i.rtlTranslate,n=i.params,r=i.$wrapperEl,s=i.wrapperEl,o=i.progress,l=0,d=0,u=0;i.isHorizontal()?l=a?-e:e:d=e,n.roundLengths&&(l=Math.floor(l),d=Math.floor(d)),n.cssMode?s[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-l:-d:n.virtualTranslate||r.transform("translate3d("+l+"px, "+d+"px, "+u+"px)"),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?l:d;var c=i.maxTranslate()-i.minTranslate();(0===c?0:(e-i.minTranslate())/c)!==o&&i.updateProgress(e),i.emit("setTranslate",i.translate,t)}function He(){return-this.snapGrid[0]}function _e(){return-this.snapGrid[this.snapGrid.length-1]}function Fe(e,t,i,a,n){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),void 0===a&&(a=!0);var r=this,s=r.params,o=r.wrapperEl;if(r.animating&&s.preventInteractionOnTransition)return!1;var l,d=r.minTranslate(),u=r.maxTranslate();if(l=a&&e>d?d:a&&e<u?u:e,r.updateProgress(l),s.cssMode){var c,p=r.isHorizontal();return 0===t?o[p?"scrollLeft":"scrollTop"]=-l:o.scrollTo?o.scrollTo(((c={})[p?"left":"top"]=-l,c.behavior="smooth",c)):o[p?"scrollLeft":"scrollTop"]=-l,!0}return 0===t?(r.setTransition(0),r.setTranslate(l),i&&(r.emit("beforeTransitionStart",t,n),r.emit("transitionEnd"))):(r.setTransition(t),r.setTranslate(l),i&&(r.emit("beforeTransitionStart",t,n),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,i&&r.emit("transitionEnd"))}),r.$wrapperEl[0].addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd))),!0}function je(e,t){var i=this;i.params.cssMode||i.$wrapperEl.transition(e),i.emit("setTransition",e,t)}function Ve(e,t){void 0===e&&(e=!0);var i=this,a=i.activeIndex,n=i.params,r=i.previousIndex;if(!n.cssMode){n.autoHeight&&i.updateAutoHeight();var s=t;if(s||(s=a>r?"next":a<r?"prev":"reset"),i.emit("transitionStart"),e&&a!==r){if("reset"===s)return void i.emit("slideResetTransitionStart");i.emit("slideChangeTransitionStart"),"next"===s?i.emit("slideNextTransitionStart"):i.emit("slidePrevTransitionStart")}}}function qe(e,t){void 0===e&&(e=!0);var i=this,a=i.activeIndex,n=i.previousIndex,r=i.params;if(i.animating=!1,!r.cssMode){i.setTransition(0);var s=t;if(s||(s=a>n?"next":a<n?"prev":"reset"),i.emit("transitionEnd"),e&&a!==n){if("reset"===s)return void i.emit("slideResetTransitionEnd");i.emit("slideChangeTransitionEnd"),"next"===s?i.emit("slideNextTransitionEnd"):i.emit("slidePrevTransitionEnd")}}}function Ue(e,t,i,a,n){if(void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),"number"!=typeof e&&"string"!=typeof e)throw new Error("The 'index' argument cannot have type other than 'number' or 'string'. ["+typeof e+"] given.");if("string"==typeof e){var r=parseInt(e,10);if(!isFinite(r))throw new Error("The passed-in 'index' (string) couldn't be converted to 'number'. ["+e+"] given.");e=r}var s=this,o=e;o<0&&(o=0);var l=s.params,d=s.snapGrid,u=s.slidesGrid,c=s.previousIndex,p=s.activeIndex,v=s.rtlTranslate,h=s.wrapperEl,f=s.enabled;if(s.animating&&l.preventInteractionOnTransition||!f&&!a&&!n)return!1;var m=Math.min(s.params.slidesPerGroupSkip,o),g=m+Math.floor((o-m)/s.params.slidesPerGroup);g>=d.length&&(g=d.length-1),(p||l.initialSlide||0)===(c||0)&&i&&s.emit("beforeSlideChangeStart");var b,E=-d[g];if(s.updateProgress(E),l.normalizeSlideIndex)for(var C=0;C<u.length;C+=1){var y=-Math.floor(100*E),w=Math.floor(100*u[C]),T=Math.floor(100*u[C+1]);void 0!==u[C+1]?y>=w&&y<T-(T-w)/2?o=C:y>=w&&y<T&&(o=C+1):y>=w&&(o=C)}if(s.initialized&&o!==p){if(!s.allowSlideNext&&E<s.translate&&E<s.minTranslate())return!1;if(!s.allowSlidePrev&&E>s.translate&&E>s.maxTranslate()&&(p||0)!==o)return!1}if(b=o>p?"next":o<p?"prev":"reset",v&&-E===s.translate||!v&&E===s.translate)return s.updateActiveIndex(o),l.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),"slide"!==l.effect&&s.setTranslate(E),"reset"!==b&&(s.transitionStart(i,b),s.transitionEnd(i,b)),!1;if(l.cssMode){var x,S=s.isHorizontal(),M=-E;return v&&(M=h.scrollWidth-h.offsetWidth-M),0===t?h[S?"scrollLeft":"scrollTop"]=M:h.scrollTo?h.scrollTo(((x={})[S?"left":"top"]=M,x.behavior="smooth",x)):h[S?"scrollLeft":"scrollTop"]=M,!0}return 0===t?(s.setTransition(0),s.setTranslate(E),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,a),s.transitionStart(i,b),s.transitionEnd(i,b)):(s.setTransition(t),s.setTranslate(E),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,a),s.transitionStart(i,b),s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.$wrapperEl[0].removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].removeEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(i,b))}),s.$wrapperEl[0].addEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].addEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd))),!0}function Ke(e,t,i,a){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var n=this,r=e;return n.params.loop&&(r+=n.loopedSlides),n.slideTo(r,t,i,a)}function Je(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var a=this,n=a.params,r=a.animating;if(!a.enabled)return a;var s=a.activeIndex<n.slidesPerGroupSkip?1:n.slidesPerGroup;if(n.loop){if(r&&n.loopPreventsSlide)return!1;a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft}return a.slideTo(a.activeIndex+s,e,t,i)}function Qe(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var a=this,n=a.params,r=a.animating,s=a.snapGrid,o=a.slidesGrid,l=a.rtlTranslate;if(!a.enabled)return a;if(n.loop){if(r&&n.loopPreventsSlide)return!1;a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var u,c=d(l?a.translate:-a.translate),p=s.map((function(e){return d(e)})),v=s[p.indexOf(c)-1];return void 0===v&&n.cssMode&&s.forEach((function(e){!v&&c>=e&&(v=e)})),void 0!==v&&(u=o.indexOf(v))<0&&(u=a.activeIndex-1),a.slideTo(u,e,t,i)}function Ze(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var a=this;return a.slideTo(a.activeIndex,e,t,i)}function et(e,t,i,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===a&&(a=.5);var n=this,r=n.activeIndex,s=Math.min(n.params.slidesPerGroupSkip,r),o=s+Math.floor((r-s)/n.params.slidesPerGroup),l=n.rtlTranslate?n.translate:-n.translate;if(l>=n.snapGrid[o]){var d=n.snapGrid[o];l-d>(n.snapGrid[o+1]-d)*a&&(r+=n.params.slidesPerGroup)}else{var u=n.snapGrid[o-1];l-u<=(n.snapGrid[o]-u)*a&&(r-=n.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,n.slidesGrid.length-1),n.slideTo(r,e,t,i)}function tt(){var e,t=this,i=t.params,a=t.$wrapperEl,n="auto"===i.slidesPerView?t.slidesPerViewDynamic():i.slidesPerView,r=t.clickedIndex;if(i.loop){if(t.animating)return;e=parseInt(T(t.clickedSlide).attr("data-swiper-slide-index"),10),i.centeredSlides?r<t.loopedSlides-n/2||r>t.slides.length-t.loopedSlides+n/2?(t.loopFix(),r=a.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),ce((function(){t.slideTo(r)}))):t.slideTo(r):r>t.slides.length-n?(t.loopFix(),r=a.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),ce((function(){t.slideTo(r)}))):t.slideTo(r)}else t.slideTo(r)}function it(){var e=this,t=s(),i=e.params,a=e.$wrapperEl;a.children("."+i.slideClass+"."+i.slideDuplicateClass).remove();var n=a.children("."+i.slideClass);if(i.loopFillGroupWithBlank){var r=i.slidesPerGroup-n.length%i.slidesPerGroup;if(r!==i.slidesPerGroup){for(var o=0;o<r;o+=1){var l=T(t.createElement("div")).addClass(i.slideClass+" "+i.slideBlankClass);a.append(l)}n=a.children("."+i.slideClass)}}"auto"!==i.slidesPerView||i.loopedSlides||(i.loopedSlides=n.length),e.loopedSlides=Math.ceil(parseFloat(i.loopedSlides||i.slidesPerView,10)),e.loopedSlides+=i.loopAdditionalSlides,e.loopedSlides>n.length&&(e.loopedSlides=n.length);var d=[],u=[];n.each((function(t,i){var a=T(t);i<e.loopedSlides&&u.push(t),i<n.length&&i>=n.length-e.loopedSlides&&d.push(t),a.attr("data-swiper-slide-index",i)}));for(var c=0;c<u.length;c+=1)a.append(T(u[c].cloneNode(!0)).addClass(i.slideDuplicateClass));for(var p=d.length-1;p>=0;p-=1)a.prepend(T(d[p].cloneNode(!0)).addClass(i.slideDuplicateClass))}function at(){var e=this;e.emit("beforeLoopFix");var t,i=e.activeIndex,a=e.slides,n=e.loopedSlides,r=e.allowSlidePrev,s=e.allowSlideNext,o=e.snapGrid,l=e.rtlTranslate;e.allowSlidePrev=!0,e.allowSlideNext=!0;var d=-o[i]-e.getTranslate();i<n?(t=a.length-3*n+i,t+=n,e.slideTo(t,0,!1,!0)&&0!==d&&e.setTranslate((l?-e.translate:e.translate)-d)):i>=a.length-n&&(t=-a.length+i+n,t+=n,e.slideTo(t,0,!1,!0)&&0!==d&&e.setTranslate((l?-e.translate:e.translate)-d)),e.allowSlidePrev=r,e.allowSlideNext=s,e.emit("loopFix")}function nt(){var e=this,t=e.$wrapperEl,i=e.params,a=e.slides;t.children("."+i.slideClass+"."+i.slideDuplicateClass+",."+i.slideClass+"."+i.slideBlankClass).remove(),a.removeAttr("data-swiper-slide-index")}function rt(e){var t=this;if(!(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)){var i=t.el;i.style.cursor="move",i.style.cursor=e?"-webkit-grabbing":"-webkit-grab",i.style.cursor=e?"-moz-grabbin":"-moz-grab",i.style.cursor=e?"grabbing":"grab"}}function st(){var e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.el.style.cursor="")}function ot(e){var t=this,i=t.$wrapperEl,a=t.params;if(a.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(var n=0;n<e.length;n+=1)e[n]&&i.append(e[n]);else i.append(e);a.loop&&t.loopCreate(),a.observer&&t.support.observer||t.update()}function lt(e){var t=this,i=t.params,a=t.$wrapperEl,n=t.activeIndex;i.loop&&t.loopDestroy();var r=n+1;if("object"==typeof e&&"length"in e){for(var s=0;s<e.length;s+=1)e[s]&&a.prepend(e[s]);r=n+e.length}else a.prepend(e);i.loop&&t.loopCreate(),i.observer&&t.support.observer||t.update(),t.slideTo(r,0,!1)}function dt(e,t){var i=this,a=i.$wrapperEl,n=i.params,r=i.activeIndex;n.loop&&(r-=i.loopedSlides,i.loopDestroy(),i.slides=a.children("."+n.slideClass));var s=i.slides.length;if(e<=0)i.prependSlide(t);else if(e>=s)i.appendSlide(t);else{for(var o=r>e?r+1:r,l=[],d=s-1;d>=e;d-=1){var u=i.slides.eq(d);u.remove(),l.unshift(u)}if("object"==typeof t&&"length"in t){for(var c=0;c<t.length;c+=1)t[c]&&a.append(t[c]);o=r>e?r+t.length:r}else a.append(t);for(var p=0;p<l.length;p+=1)a.append(l[p]);n.loop&&i.loopCreate(),n.observer&&i.support.observer||i.update(),n.loop?i.slideTo(o+i.loopedSlides,0,!1):i.slideTo(o,0,!1)}}function ut(e){var t=this,i=t.params,a=t.$wrapperEl,n=t.activeIndex;i.loop&&(n-=t.loopedSlides,t.loopDestroy(),t.slides=a.children("."+i.slideClass));var r,s=n;if("object"==typeof e&&"length"in e){for(var o=0;o<e.length;o+=1)r=e[o],t.slides[r]&&t.slides.eq(r).remove(),r<s&&(s-=1);s=Math.max(s,0)}else r=e,t.slides[r]&&t.slides.eq(r).remove(),r<s&&(s-=1),s=Math.max(s,0);i.loop&&t.loopCreate(),i.observer&&t.support.observer||t.update(),i.loop?t.slideTo(s+t.loopedSlides,0,!1):t.slideTo(s,0,!1)}function ct(){for(var e=this,t=[],i=0;i<e.slides.length;i+=1)t.push(i);e.removeSlide(t)}function pt(e){var t=this,i=s(),a=l(),n=t.touchEventsData,r=t.params,o=t.touches;if(t.enabled&&(!t.animating||!r.preventInteractionOnTransition)){var d=e;d.originalEvent&&(d=d.originalEvent);var u=T(d.target);if(("wrapper"!==r.touchEventsTarget||u.closest(t.wrapperEl).length)&&(n.isTouchEvent="touchstart"===d.type,(n.isTouchEvent||!("which"in d)||3!==d.which)&&!(!n.isTouchEvent&&"button"in d&&d.button>0||n.isTouched&&n.isMoved)))if(!!r.noSwipingClass&&""!==r.noSwipingClass&&d.target&&d.target.shadowRoot&&e.path&&e.path[0]&&(u=T(e.path[0])),r.noSwiping&&u.closest(r.noSwipingSelector?r.noSwipingSelector:"."+r.noSwipingClass)[0])t.allowClick=!0;else if(!r.swipeHandler||u.closest(r.swipeHandler)[0]){o.currentX="touchstart"===d.type?d.targetTouches[0].pageX:d.pageX,o.currentY="touchstart"===d.type?d.targetTouches[0].pageY:d.pageY;var c=o.currentX,p=o.currentY,v=r.edgeSwipeDetection||r.iOSEdgeSwipeDetection,h=r.edgeSwipeThreshold||r.iOSEdgeSwipeThreshold;if(v&&(c<=h||c>=a.innerWidth-h)){if("prevent"!==v)return;e.preventDefault()}if(me(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=c,o.startY=p,n.touchStartTime=pe(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,r.threshold>0&&(n.allowThresholdMove=!1),"touchstart"!==d.type){var f=!0;u.is(n.focusableElements)&&(f=!1),i.activeElement&&T(i.activeElement).is(n.focusableElements)&&i.activeElement!==u[0]&&i.activeElement.blur();var m=f&&t.allowTouchMove&&r.touchStartPreventDefault;!r.touchStartForcePreventDefault&&!m||u[0].isContentEditable||d.preventDefault()}t.emit("touchStart",d)}}}function vt(e){var t=s(),i=this,a=i.touchEventsData,n=i.params,r=i.touches,o=i.rtlTranslate;if(i.enabled){var l=e;if(l.originalEvent&&(l=l.originalEvent),a.isTouched){if(!a.isTouchEvent||"touchmove"===l.type){var d="touchmove"===l.type&&l.targetTouches&&(l.targetTouches[0]||l.changedTouches[0]),u="touchmove"===l.type?d.pageX:l.pageX,c="touchmove"===l.type?d.pageY:l.pageY;if(l.preventedByNestedSwiper)return r.startX=u,void(r.startY=c);if(!i.allowTouchMove)return i.allowClick=!1,void(a.isTouched&&(me(r,{startX:u,startY:c,currentX:u,currentY:c}),a.touchStartTime=pe()));if(a.isTouchEvent&&n.touchReleaseOnEdges&&!n.loop)if(i.isVertical()){if(c<r.startY&&i.translate<=i.maxTranslate()||c>r.startY&&i.translate>=i.minTranslate())return a.isTouched=!1,void(a.isMoved=!1)}else if(u<r.startX&&i.translate<=i.maxTranslate()||u>r.startX&&i.translate>=i.minTranslate())return;if(a.isTouchEvent&&t.activeElement&&l.target===t.activeElement&&T(l.target).is(a.focusableElements))return a.isMoved=!0,void(i.allowClick=!1);if(a.allowTouchCallbacks&&i.emit("touchMove",l),!(l.targetTouches&&l.targetTouches.length>1)){r.currentX=u,r.currentY=c;var p,v=r.currentX-r.startX,h=r.currentY-r.startY;if(!(i.params.threshold&&Math.sqrt(Math.pow(v,2)+Math.pow(h,2))<i.params.threshold))if(void 0===a.isScrolling&&(i.isHorizontal()&&r.currentY===r.startY||i.isVertical()&&r.currentX===r.startX?a.isScrolling=!1:v*v+h*h>=25&&(p=180*Math.atan2(Math.abs(h),Math.abs(v))/Math.PI,a.isScrolling=i.isHorizontal()?p>n.touchAngle:90-p>n.touchAngle)),a.isScrolling&&i.emit("touchMoveOpposite",l),void 0===a.startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(a.startMoving=!0)),a.isScrolling)a.isTouched=!1;else if(a.startMoving){i.allowClick=!1,!n.cssMode&&l.cancelable&&l.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&l.stopPropagation(),a.isMoved||(n.loop&&i.loopFix(),a.startTranslate=i.getTranslate(),i.setTransition(0),i.animating&&i.$wrapperEl.trigger("webkitTransitionEnd transitionend"),a.allowMomentumBounce=!1,!n.grabCursor||!0!==i.allowSlideNext&&!0!==i.allowSlidePrev||i.setGrabCursor(!0),i.emit("sliderFirstMove",l)),i.emit("sliderMove",l),a.isMoved=!0;var f=i.isHorizontal()?v:h;r.diff=f,f*=n.touchRatio,o&&(f=-f),i.swipeDirection=f>0?"prev":"next",a.currentTranslate=f+a.startTranslate;var m=!0,g=n.resistanceRatio;if(n.touchReleaseOnEdges&&(g=0),f>0&&a.currentTranslate>i.minTranslate()?(m=!1,n.resistance&&(a.currentTranslate=i.minTranslate()-1+Math.pow(-i.minTranslate()+a.startTranslate+f,g))):f<0&&a.currentTranslate<i.maxTranslate()&&(m=!1,n.resistance&&(a.currentTranslate=i.maxTranslate()+1-Math.pow(i.maxTranslate()-a.startTranslate-f,g))),m&&(l.preventedByNestedSwiper=!0),!i.allowSlideNext&&"next"===i.swipeDirection&&a.currentTranslate<a.startTranslate&&(a.currentTranslate=a.startTranslate),!i.allowSlidePrev&&"prev"===i.swipeDirection&&a.currentTranslate>a.startTranslate&&(a.currentTranslate=a.startTranslate),i.allowSlidePrev||i.allowSlideNext||(a.currentTranslate=a.startTranslate),n.threshold>0){if(!(Math.abs(f)>n.threshold||a.allowThresholdMove))return void(a.currentTranslate=a.startTranslate);if(!a.allowThresholdMove)return a.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,a.currentTranslate=a.startTranslate,void(r.diff=i.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}n.followFinger&&!n.cssMode&&((n.freeMode||n.watchSlidesProgress||n.watchSlidesVisibility)&&(i.updateActiveIndex(),i.updateSlidesClasses()),n.freeMode&&(0===a.velocities.length&&a.velocities.push({position:r[i.isHorizontal()?"startX":"startY"],time:a.touchStartTime}),a.velocities.push({position:r[i.isHorizontal()?"currentX":"currentY"],time:pe()})),i.updateProgress(a.currentTranslate),i.setTranslate(a.currentTranslate))}}}}else a.startMoving&&a.isScrolling&&i.emit("touchMoveOpposite",l)}}function ht(e){var t=this,i=t.touchEventsData,a=t.params,n=t.touches,r=t.rtlTranslate,s=t.$wrapperEl,o=t.slidesGrid,l=t.snapGrid;if(t.enabled){var d=e;if(d.originalEvent&&(d=d.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",d),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&a.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);a.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var u,c=pe(),p=c-i.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(d),t.emit("tap click",d),p<300&&c-i.lastClickTime<300&&t.emit("doubleTap doubleClick",d)),i.lastClickTime=pe(),ce((function(){t.destroyed||(t.allowClick=!0)})),!i.isTouched||!i.isMoved||!t.swipeDirection||0===n.diff||i.currentTranslate===i.startTranslate)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,u=a.followFinger?r?t.translate:-t.translate:-i.currentTranslate,!a.cssMode)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(i.velocities.length>1){var v=i.velocities.pop(),h=i.velocities.pop(),f=v.position-h.position,m=v.time-h.time;t.velocity=f/m,t.velocity/=2,Math.abs(t.velocity)<a.freeModeMinimumVelocity&&(t.velocity=0),(m>150||pe()-v.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=a.freeModeMomentumVelocityRatio,i.velocities.length=0;var g=1e3*a.freeModeMomentumRatio,b=t.velocity*g,E=t.translate+b;r&&(E=-E);var C,y,w=!1,T=20*Math.abs(t.velocity)*a.freeModeMomentumBounceRatio;if(E<t.maxTranslate())a.freeModeMomentumBounce?(E+t.maxTranslate()<-T&&(E=t.maxTranslate()-T),C=t.maxTranslate(),w=!0,i.allowMomentumBounce=!0):E=t.maxTranslate(),a.loop&&a.centeredSlides&&(y=!0);else if(E>t.minTranslate())a.freeModeMomentumBounce?(E-t.minTranslate()>T&&(E=t.minTranslate()+T),C=t.minTranslate(),w=!0,i.allowMomentumBounce=!0):E=t.minTranslate(),a.loop&&a.centeredSlides&&(y=!0);else if(a.freeModeSticky){for(var x,S=0;S<l.length;S+=1)if(l[S]>-E){x=S;break}E=-(E=Math.abs(l[x]-E)<Math.abs(l[x-1]-E)||"next"===t.swipeDirection?l[x]:l[x-1])}if(y&&t.once("transitionEnd",(function(){t.loopFix()})),0!==t.velocity){if(g=r?Math.abs((-E-t.translate)/t.velocity):Math.abs((E-t.translate)/t.velocity),a.freeModeSticky){var M=Math.abs((r?-E:E)-t.translate),k=t.slidesSizesGrid[t.activeIndex];g=M<k?a.speed:M<2*k?1.5*a.speed:2.5*a.speed}}else if(a.freeModeSticky)return void t.slideToClosest();a.freeModeMomentumBounce&&w?(t.updateProgress(C),t.setTransition(g),t.setTranslate(E),t.transitionStart(!0,t.swipeDirection),t.animating=!0,s.transitionEnd((function(){t&&!t.destroyed&&i.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(a.speed),setTimeout((function(){t.setTranslate(C),s.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()}))}),0))}))):t.velocity?(t.updateProgress(E),t.setTransition(g),t.setTranslate(E),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,s.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))):(t.emit("_freeModeNoMomentumRelease"),t.updateProgress(E)),t.updateActiveIndex(),t.updateSlidesClasses()}else{if(a.freeModeSticky)return void t.slideToClosest();a.freeMode&&t.emit("_freeModeNoMomentumRelease")}(!a.freeModeMomentum||p>=a.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var P=0,z=t.slidesSizesGrid[0],$=0;$<o.length;$+=$<a.slidesPerGroupSkip?1:a.slidesPerGroup){var L=$<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;void 0!==o[$+L]?u>=o[$]&&u<o[$+L]&&(P=$,z=o[$+L]-o[$]):u>=o[$]&&(P=$,z=o[o.length-1]-o[o.length-2])}var O=(u-o[P])/z,A=P<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(p>a.longSwipesMs){if(!a.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(O>=a.longSwipesRatio?t.slideTo(P+A):t.slideTo(P)),"prev"===t.swipeDirection&&(O>1-a.longSwipesRatio?t.slideTo(P+A):t.slideTo(P))}else{if(!a.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||d.target!==t.navigation.nextEl&&d.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(P+A),"prev"===t.swipeDirection&&t.slideTo(P)):d.target===t.navigation.nextEl?t.slideTo(P+A):t.slideTo(P)}}}}function ft(){var e=this,t=e.params,i=e.el;if(!i||0!==i.offsetWidth){t.breakpoints&&e.setBreakpoint();var a=e.allowSlideNext,n=e.allowSlidePrev,r=e.snapGrid;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=n,e.allowSlideNext=a,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}}function mt(e){var t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function gt(){var e=this,t=e.wrapperEl,i=e.rtlTranslate;if(e.enabled){e.previousTranslate=e.translate,e.isHorizontal()?e.translate=i?t.scrollWidth-t.offsetWidth-t.scrollLeft:-t.scrollLeft:e.translate=-t.scrollTop,-0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();var a=e.maxTranslate()-e.minTranslate();(0===a?0:(e.translate-e.minTranslate())/a)!==e.progress&&e.updateProgress(i?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}}var bt=!1;function Et(){}function Ct(){var e=this,t=s(),i=e.params,a=e.touchEvents,n=e.el,r=e.wrapperEl,o=e.device,l=e.support;e.onTouchStart=pt.bind(e),e.onTouchMove=vt.bind(e),e.onTouchEnd=ht.bind(e),i.cssMode&&(e.onScroll=gt.bind(e)),e.onClick=mt.bind(e);var d=!!i.nested;if(!l.touch&&l.pointerEvents)n.addEventListener(a.start,e.onTouchStart,!1),t.addEventListener(a.move,e.onTouchMove,d),t.addEventListener(a.end,e.onTouchEnd,!1);else{if(l.touch){var u=!("touchstart"!==a.start||!l.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};n.addEventListener(a.start,e.onTouchStart,u),n.addEventListener(a.move,e.onTouchMove,l.passiveListener?{passive:!1,capture:d}:d),n.addEventListener(a.end,e.onTouchEnd,u),a.cancel&&n.addEventListener(a.cancel,e.onTouchEnd,u),bt||(t.addEventListener("touchstart",Et),bt=!0)}(i.simulateTouch&&!o.ios&&!o.android||i.simulateTouch&&!l.touch&&o.ios)&&(n.addEventListener("mousedown",e.onTouchStart,!1),t.addEventListener("mousemove",e.onTouchMove,d),t.addEventListener("mouseup",e.onTouchEnd,!1))}(i.preventClicks||i.preventClicksPropagation)&&n.addEventListener("click",e.onClick,!0),i.cssMode&&r.addEventListener("scroll",e.onScroll),i.updateOnWindowResize?e.on(o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",ft,!0):e.on("observerUpdate",ft,!0)}function yt(){var e=this,t=s(),i=e.params,a=e.touchEvents,n=e.el,r=e.wrapperEl,o=e.device,l=e.support,d=!!i.nested;if(!l.touch&&l.pointerEvents)n.removeEventListener(a.start,e.onTouchStart,!1),t.removeEventListener(a.move,e.onTouchMove,d),t.removeEventListener(a.end,e.onTouchEnd,!1);else{if(l.touch){var u=!("onTouchStart"!==a.start||!l.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};n.removeEventListener(a.start,e.onTouchStart,u),n.removeEventListener(a.move,e.onTouchMove,d),n.removeEventListener(a.end,e.onTouchEnd,u),a.cancel&&n.removeEventListener(a.cancel,e.onTouchEnd,u)}(i.simulateTouch&&!o.ios&&!o.android||i.simulateTouch&&!l.touch&&o.ios)&&(n.removeEventListener("mousedown",e.onTouchStart,!1),t.removeEventListener("mousemove",e.onTouchMove,d),t.removeEventListener("mouseup",e.onTouchEnd,!1))}(i.preventClicks||i.preventClicksPropagation)&&n.removeEventListener("click",e.onClick,!0),i.cssMode&&r.removeEventListener("scroll",e.onScroll),e.off(o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",ft)}function wt(){var e=this,t=e.activeIndex,i=e.initialized,a=e.loopedSlides,n=void 0===a?0:a,r=e.params,s=e.$el,o=r.breakpoints;if(o&&(!o||0!==Object.keys(o).length)){var l=e.getBreakpoint(o,e.params.breakpointsBase,e.el);if(l&&e.currentBreakpoint!==l){var d=l in o?o[l]:void 0;d&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach((function(e){var t=d[e];void 0!==t&&(d[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}));var u=d||e.originalParams,c=r.slidesPerColumn>1,p=u.slidesPerColumn>1,v=r.enabled;c&&!p?(s.removeClass(r.containerModifierClass+"multirow "+r.containerModifierClass+"multirow-column"),e.emitContainerClasses()):!c&&p&&(s.addClass(r.containerModifierClass+"multirow"),"column"===u.slidesPerColumnFill&&s.addClass(r.containerModifierClass+"multirow-column"),e.emitContainerClasses());var h=u.direction&&u.direction!==r.direction,f=r.loop&&(u.slidesPerView!==r.slidesPerView||h);h&&i&&e.changeDirection(),me(e.params,u);var m=e.params.enabled;me(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),v&&!m?e.disable():!v&&m&&e.enable(),e.currentBreakpoint=l,e.emit("_beforeBreakpoint",u),f&&i&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-n+e.loopedSlides,0,!1)),e.emit("breakpoint",u)}}}function Tt(e,t,i){if(void 0===t&&(t="window"),e&&("container"!==t||i)){var a=!1,n=l(),r="window"===t?n.innerHeight:i.clientHeight,s=Object.keys(e).map((function(e){if("string"==typeof e&&0===e.indexOf("@")){var t=parseFloat(e.substr(1));return{value:r*t,point:e}}return{value:e,point:e}}));s.sort((function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)}));for(var o=0;o<s.length;o+=1){var d=s[o],u=d.point,c=d.value;"window"===t?n.matchMedia("(min-width: "+c+"px)").matches&&(a=u):c<=i.clientWidth&&(a=u)}return a||"max"}}function xt(e,t){var i=[];return e.forEach((function(e){"object"==typeof e?Object.keys(e).forEach((function(a){e[a]&&i.push(t+a)})):"string"==typeof e&&i.push(t+e)})),i}function St(){var e=this,t=e.classNames,i=e.params,a=e.rtl,n=e.$el,r=e.device,s=e.support,o=xt(["initialized",i.direction,{"pointer-events":s.pointerEvents&&!s.touch},{"free-mode":i.freeMode},{autoheight:i.autoHeight},{rtl:a},{multirow:i.slidesPerColumn>1},{"multirow-column":i.slidesPerColumn>1&&"column"===i.slidesPerColumnFill},{android:r.android},{ios:r.ios},{"css-mode":i.cssMode}],i.containerModifierClass);t.push.apply(t,o),n.addClass([].concat(t).join(" ")),e.emitContainerClasses()}function Mt(){var e=this,t=e.$el,i=e.classNames;t.removeClass(i.join(" ")),e.emitContainerClasses()}function kt(e,t,i,a,n,r){var s,o=l();function d(){r&&r()}T(e).parent("picture")[0]||e.complete&&n?d():t?((s=new o.Image).onload=d,s.onerror=d,a&&(s.sizes=a),i&&(s.srcset=i),t&&(s.src=t)):d()}function Pt(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var i=0;i<e.imagesToLoad.length;i+=1){var a=e.imagesToLoad[i];e.loadImage(a,a.currentSrc||a.getAttribute("src"),a.srcset||a.getAttribute("srcset"),a.sizes||a.getAttribute("sizes"),!0,t)}}function zt(){var e=this,t=e.params,i=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,i!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),i&&i!==e.isLocked&&(e.isEnd=!1,e.navigation&&e.navigation.update())}var $t={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!1,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1},Lt={modular:$e,eventsEmitter:Le,update:{updateSize:Oe,updateSlides:Ae,updateAutoHeight:Ie,updateSlidesOffset:Ge,updateSlidesProgress:Be,updateProgress:De,updateSlidesClasses:Ne,updateActiveIndex:Re,updateClickedSlide:Xe},translate:{getTranslate:Ye,setTranslate:We,minTranslate:He,maxTranslate:_e,translateTo:Fe},transition:{setTransition:je,transitionStart:Ve,transitionEnd:qe},slide:{slideTo:Ue,slideToLoop:Ke,slideNext:Je,slidePrev:Qe,slideReset:Ze,slideToClosest:et,slideToClickedSlide:tt},loop:{loopCreate:it,loopFix:at,loopDestroy:nt},grabCursor:{setGrabCursor:rt,unsetGrabCursor:st},manipulation:{appendSlide:ot,prependSlide:lt,addSlide:dt,removeSlide:ut,removeAllSlides:ct},events:{attachEvents:Ct,detachEvents:yt},breakpoints:{setBreakpoint:wt,getBreakpoint:Tt},checkOverflow:{checkOverflow:zt},classes:{addClasses:St,removeClasses:Mt},images:{loadImage:kt,preloadImages:Pt}},Ot={},At=function(){function e(){for(var t,i,a=arguments.length,n=new Array(a),r=0;r<a;r++)n[r]=arguments[r];if(1===n.length&&n[0].constructor&&"Object"===Object.prototype.toString.call(n[0]).slice(8,-1)?i=n[0]:(t=n[0],i=n[1]),i||(i={}),i=me({},i),t&&!i.el&&(i.el=t),i.el&&T(i.el).length>1){var s=[];return T(i.el).each((function(t){var a=me({},i,{el:t});s.push(new e(a))})),s}var o=this;o.__swiper__=!0,o.support=ye(),o.device=Te({userAgent:i.userAgent}),o.browser=Se(),o.eventsListeners={},o.eventsAnyListeners=[],void 0===o.modules&&(o.modules={}),Object.keys(o.modules).forEach((function(e){var t=o.modules[e];if(t.params){var a=Object.keys(t.params)[0],n=t.params[a];if("object"!=typeof n||null===n)return;if(["navigation","pagination","scrollbar"].indexOf(a)>=0&&!0===i[a]&&(i[a]={auto:!0}),!(a in i)||!("enabled"in n))return;!0===i[a]&&(i[a]={enabled:!0}),"object"!=typeof i[a]||"enabled"in i[a]||(i[a].enabled=!0),i[a]||(i[a]={enabled:!1})}}));var l,d,u=me({},$t);return o.useParams(u),o.params=me({},u,Ot,i),o.originalParams=me({},o.params),o.passedParams=me({},i),o.params&&o.params.on&&Object.keys(o.params.on).forEach((function(e){o.on(e,o.params.on[e])})),o.params&&o.params.onAny&&o.onAny(o.params.onAny),o.$=T,me(o,{enabled:o.params.enabled,el:t,classNames:[],slides:T(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===o.params.direction},isVertical:function(){return"vertical"===o.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEvents:(l=["touchstart","touchmove","touchend","touchcancel"],d=["mousedown","mousemove","mouseup"],o.support.pointerEvents&&(d=["pointerdown","pointermove","pointerup"]),o.touchEventsTouch={start:l[0],move:l[1],end:l[2],cancel:l[3]},o.touchEventsDesktop={start:d[0],move:d[1],end:d[2]},o.support.touch||!o.params.simulateTouch?o.touchEventsTouch:o.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:o.params.focusableElements,lastClickTime:pe(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.useModules(),o.emit("_swiper"),o.params.init&&o.init(),o}var i=e.prototype;return i.enable=function(){var e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))},i.disable=function(){var e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))},i.setProgress=function(e,t){var i=this;e=Math.min(Math.max(e,0),1);var a=i.minTranslate(),n=(i.maxTranslate()-a)*e+a;i.translateTo(n,void 0===t?0:t),i.updateActiveIndex(),i.updateSlidesClasses()},i.emitContainerClasses=function(){var e=this;if(e.params._emitClasses&&e.el){var t=e.el.className.split(" ").filter((function(t){return 0===t.indexOf("swiper-container")||0===t.indexOf(e.params.containerModifierClass)}));e.emit("_containerClasses",t.join(" "))}},i.getSlideClasses=function(e){var t=this;return e.className.split(" ").filter((function(e){return 0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)})).join(" ")},i.emitSlidesClasses=function(){var e=this;if(e.params._emitClasses&&e.el){var t=[];e.slides.each((function(i){var a=e.getSlideClasses(i);t.push({slideEl:i,classNames:a}),e.emit("_slideClass",i,a)})),e.emit("_slideClasses",t)}},i.slidesPerViewDynamic=function(){var e=this,t=e.params,i=e.slides,a=e.slidesGrid,n=e.size,r=e.activeIndex,s=1;if(t.centeredSlides){for(var o,l=i[r].swiperSlideSize,d=r+1;d<i.length;d+=1)i[d]&&!o&&(s+=1,(l+=i[d].swiperSlideSize)>n&&(o=!0));for(var u=r-1;u>=0;u-=1)i[u]&&!o&&(s+=1,(l+=i[u].swiperSlideSize)>n&&(o=!0))}else for(var c=r+1;c<i.length;c+=1)a[c]-a[r]<n&&(s+=1);return s},i.update=function(){var e=this;if(e&&!e.destroyed){var t=e.snapGrid,i=e.params;i.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(a(),e.params.autoHeight&&e.updateAutoHeight()):(("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))||a(),i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function a(){var t=e.rtlTranslate?-1*e.translate:e.translate,i=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(i),e.updateActiveIndex(),e.updateSlidesClasses()}},i.changeDirection=function(e,t){void 0===t&&(t=!0);var i=this,a=i.params.direction;return e||(e="horizontal"===a?"vertical":"horizontal"),e===a||"horizontal"!==e&&"vertical"!==e||(i.$el.removeClass(""+i.params.containerModifierClass+a).addClass(""+i.params.containerModifierClass+e),i.emitContainerClasses(),i.params.direction=e,i.slides.each((function(t){"vertical"===e?t.style.width="":t.style.height=""})),i.emit("changeDirection"),t&&i.update()),i},i.mount=function(e){var t=this;if(t.mounted)return!0;var i=T(e||t.params.el);if(!(e=i[0]))return!1;e.swiper=t;var a=function(){return"."+(t.params.wrapperClass||"").trim().split(" ").join(".")},n=function(){if(e&&e.shadowRoot&&e.shadowRoot.querySelector){var t=T(e.shadowRoot.querySelector(a()));return t.children=function(e){return i.children(e)},t}return i.children(a())}();if(0===n.length&&t.params.createElements){var r=s().createElement("div");n=T(r),r.className=t.params.wrapperClass,i.append(r),i.children("."+t.params.slideClass).each((function(e){n.append(e)}))}return me(t,{$el:i,el:e,$wrapperEl:n,wrapperEl:n[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===i.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===i.css("direction")),wrongRTL:"-webkit-box"===n.css("display")}),!0},i.init=function(e){var t=this;return t.initialized||!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t},i.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var i=this,a=i.params,n=i.$el,r=i.$wrapperEl,s=i.slides;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),a.loop&&i.loopDestroy(),t&&(i.removeClasses(),n.removeAttr("style"),r.removeAttr("style"),s&&s.length&&s.removeClass([a.slideVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach((function(e){i.off(e)})),!1!==e&&(i.$el[0].swiper=null,ue(i)),i.destroyed=!0),null},e.extendDefaults=function(e){me(Ot,e)},e.installModule=function(t){e.prototype.modules||(e.prototype.modules={});var i=t.name||Object.keys(e.prototype.modules).length+"_"+pe();e.prototype.modules[i]=t},e.use=function(t){return Array.isArray(t)?(t.forEach((function(t){return e.installModule(t)})),e):(e.installModule(t),e)},t(e,null,[{key:"extendedDefaults",get:function(){return Ot}},{key:"defaults",get:function(){return $t}}]),e}();Object.keys(Lt).forEach((function(e){Object.keys(Lt[e]).forEach((function(t){At.prototype[t]=Lt[e][t]}))})),At.use([ke,ze]);var It={toggleEl:function(e,t){e[t?"addClass":"removeClass"](this.params.navigation.disabledClass),e[0]&&"BUTTON"===e[0].tagName&&(e[0].disabled=t)},update:function(){var e=this,t=e.params.navigation,i=e.navigation.toggleEl;if(!e.params.loop){var a=e.navigation,n=a.$nextEl,r=a.$prevEl;r&&r.length>0&&(e.isBeginning?i(r,!0):i(r,!1),e.params.watchOverflow&&e.enabled&&r[e.isLocked?"addClass":"removeClass"](t.lockClass)),n&&n.length>0&&(e.isEnd?i(n,!0):i(n,!1),e.params.watchOverflow&&e.enabled&&n[e.isLocked?"addClass":"removeClass"](t.lockClass))}},onPrevClick:function(e){var t=this;e.preventDefault(),t.isBeginning&&!t.params.loop||t.slidePrev()},onNextClick:function(e){var t=this;e.preventDefault(),t.isEnd&&!t.params.loop||t.slideNext()},init:function(){var e,t,i=this,a=i.params.navigation;i.params.navigation=Ee(i.$el,i.params.navigation,i.params.createElements,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),(a.nextEl||a.prevEl)&&(a.nextEl&&(e=T(a.nextEl),i.params.uniqueNavElements&&"string"==typeof a.nextEl&&e.length>1&&1===i.$el.find(a.nextEl).length&&(e=i.$el.find(a.nextEl))),a.prevEl&&(t=T(a.prevEl),i.params.uniqueNavElements&&"string"==typeof a.prevEl&&t.length>1&&1===i.$el.find(a.prevEl).length&&(t=i.$el.find(a.prevEl))),e&&e.length>0&&e.on("click",i.navigation.onNextClick),t&&t.length>0&&t.on("click",i.navigation.onPrevClick),me(i.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}),i.enabled||(e&&e.addClass(a.lockClass),t&&t.addClass(a.lockClass)))},destroy:function(){var e=this,t=e.navigation,i=t.$nextEl,a=t.$prevEl;i&&i.length&&(i.off("click",e.navigation.onNextClick),i.removeClass(e.params.navigation.disabledClass)),a&&a.length&&(a.off("click",e.navigation.onPrevClick),a.removeClass(e.params.navigation.disabledClass))}},Gt={update:function(){var e=this,t=e.rtl,i=e.params.pagination;if(i.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var a,n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,r=e.pagination.$el,s=e.params.loop?Math.ceil((n-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?((a=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup))>n-1-2*e.loopedSlides&&(a-=n-2*e.loopedSlides),a>s-1&&(a-=s),a<0&&"bullets"!==e.params.paginationType&&(a=s+a)):a=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===i.type&&e.pagination.bullets&&e.pagination.bullets.length>0){var o,l,d,u=e.pagination.bullets;if(i.dynamicBullets&&(e.pagination.bulletSize=u.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),r.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(i.dynamicMainBullets+4)+"px"),i.dynamicMainBullets>1&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=a-e.previousIndex,e.pagination.dynamicBulletIndex>i.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=i.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),o=a-e.pagination.dynamicBulletIndex,d=((l=o+(Math.min(u.length,i.dynamicMainBullets)-1))+o)/2),u.removeClass(i.bulletActiveClass+" "+i.bulletActiveClass+"-next "+i.bulletActiveClass+"-next-next "+i.bulletActiveClass+"-prev "+i.bulletActiveClass+"-prev-prev "+i.bulletActiveClass+"-main"),r.length>1)u.each((function(e){var t=T(e),n=t.index();n===a&&t.addClass(i.bulletActiveClass),i.dynamicBullets&&(n>=o&&n<=l&&t.addClass(i.bulletActiveClass+"-main"),n===o&&t.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),n===l&&t.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next"))}));else{var c=u.eq(a),p=c.index();if(c.addClass(i.bulletActiveClass),i.dynamicBullets){for(var v=u.eq(o),h=u.eq(l),f=o;f<=l;f+=1)u.eq(f).addClass(i.bulletActiveClass+"-main");if(e.params.loop)if(p>=u.length-i.dynamicMainBullets){for(var m=i.dynamicMainBullets;m>=0;m-=1)u.eq(u.length-m).addClass(i.bulletActiveClass+"-main");u.eq(u.length-i.dynamicMainBullets-1).addClass(i.bulletActiveClass+"-prev")}else v.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),h.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next");else v.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),h.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next")}}if(i.dynamicBullets){var g=Math.min(u.length,i.dynamicMainBullets+4),b=(e.pagination.bulletSize*g-e.pagination.bulletSize)/2-d*e.pagination.bulletSize,E=t?"right":"left";u.css(e.isHorizontal()?E:"top",b+"px")}}if("fraction"===i.type&&(r.find(be(i.currentClass)).text(i.formatFractionCurrent(a+1)),r.find(be(i.totalClass)).text(i.formatFractionTotal(s))),"progressbar"===i.type){var C;C=i.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";var y=(a+1)/s,w=1,x=1;"horizontal"===C?w=y:x=y,r.find(be(i.progressbarFillClass)).transform("translate3d(0,0,0) scaleX("+w+") scaleY("+x+")").transition(e.params.speed)}"custom"===i.type&&i.renderCustom?(r.html(i.renderCustom(e,a+1,s)),e.emit("paginationRender",r[0])):e.emit("paginationUpdate",r[0]),e.params.watchOverflow&&e.enabled&&r[e.isLocked?"addClass":"removeClass"](i.lockClass)}},render:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var i=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,a=e.pagination.$el,n="";if("bullets"===t.type){var r=e.params.loop?Math.ceil((i-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&!e.params.loop&&r>i&&(r=i);for(var s=0;s<r;s+=1)t.renderBullet?n+=t.renderBullet.call(e,s,t.bulletClass):n+="<"+t.bulletElement+' class="'+t.bulletClass+'"></'+t.bulletElement+">";a.html(n),e.pagination.bullets=a.find(be(t.bulletClass))}"fraction"===t.type&&(n=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):'<span class="'+t.currentClass+'"></span> / <span class="'+t.totalClass+'"></span>',a.html(n)),"progressbar"===t.type&&(n=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'<span class="'+t.progressbarFillClass+'"></span>',a.html(n)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var e=this;e.params.pagination=Ee(e.$el,e.params.pagination,e.params.createElements,{el:"swiper-pagination"});var t=e.params.pagination;if(t.el){var i=T(t.el);0!==i.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&i.length>1&&(i=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&i.addClass(t.clickableClass),i.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(i.addClass(""+t.modifierClass+t.type+"-dynamic"),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&i.addClass(t.progressbarOppositeClass),t.clickable&&i.on("click",be(t.bulletClass),(function(t){t.preventDefault();var i=T(this).index()*e.params.slidesPerGroup;e.params.loop&&(i+=e.loopedSlides),e.slideTo(i)})),me(e.pagination,{$el:i,el:i[0]}),e.enabled||i.addClass(t.lockClass))}},destroy:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var i=e.pagination.$el;i.removeClass(t.hiddenClass),i.removeClass(t.modifierClass+t.type),e.pagination.bullets&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&i.off("click",be(t.bulletClass))}}},Bt={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,i=e.targetTouches[0].pageY,a=e.targetTouches[1].pageX,n=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(a-t,2)+Math.pow(n-i,2))},onGestureStart:function(e){var t=this,i=t.support,a=t.params.zoom,n=t.zoom,r=n.gesture;if(n.fakeGestureTouched=!1,n.fakeGestureMoved=!1,!i.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;n.fakeGestureTouched=!0,r.scaleStart=Bt.getDistanceBetweenTouches(e)}r.$slideEl&&r.$slideEl.length||(r.$slideEl=T(e.target).closest("."+t.params.slideClass),0===r.$slideEl.length&&(r.$slideEl=t.slides.eq(t.activeIndex)),r.$imageEl=r.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),r.$imageWrapEl=r.$imageEl.parent("."+a.containerClass),r.maxRatio=r.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,0!==r.$imageWrapEl.length)?(r.$imageEl&&r.$imageEl.transition(0),t.zoom.isScaling=!0):r.$imageEl=void 0},onGestureChange:function(e){var t=this,i=t.support,a=t.params.zoom,n=t.zoom,r=n.gesture;if(!i.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;n.fakeGestureMoved=!0,r.scaleMove=Bt.getDistanceBetweenTouches(e)}r.$imageEl&&0!==r.$imageEl.length?(i.gestures?n.scale=e.scale*n.currentScale:n.scale=r.scaleMove/r.scaleStart*n.currentScale,n.scale>r.maxRatio&&(n.scale=r.maxRatio-1+Math.pow(n.scale-r.maxRatio+1,.5)),n.scale<a.minRatio&&(n.scale=a.minRatio+1-Math.pow(a.minRatio-n.scale+1,.5)),r.$imageEl.transform("translate3d(0,0,0) scale("+n.scale+")")):"gesturechange"===e.type&&n.onGestureStart(e)},onGestureEnd:function(e){var t=this,i=t.device,a=t.support,n=t.params.zoom,r=t.zoom,s=r.gesture;if(!a.gestures){if(!r.fakeGestureTouched||!r.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!i.android)return;r.fakeGestureTouched=!1,r.fakeGestureMoved=!1}s.$imageEl&&0!==s.$imageEl.length&&(r.scale=Math.max(Math.min(r.scale,s.maxRatio),n.minRatio),s.$imageEl.transition(t.params.speed).transform("translate3d(0,0,0) scale("+r.scale+")"),r.currentScale=r.scale,r.isScaling=!1,1===r.scale&&(s.$slideEl=void 0))},onTouchStart:function(e){var t=this,i=t.device,a=t.zoom,n=a.gesture,r=a.image;n.$imageEl&&0!==n.$imageEl.length&&(r.isTouched||(i.android&&e.cancelable&&e.preventDefault(),r.isTouched=!0,r.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,r.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this,i=t.zoom,a=i.gesture,n=i.image,r=i.velocity;if(a.$imageEl&&0!==a.$imageEl.length&&(t.allowClick=!1,n.isTouched&&a.$slideEl)){n.isMoved||(n.width=a.$imageEl[0].offsetWidth,n.height=a.$imageEl[0].offsetHeight,n.startX=he(a.$imageWrapEl[0],"x")||0,n.startY=he(a.$imageWrapEl[0],"y")||0,a.slideWidth=a.$slideEl[0].offsetWidth,a.slideHeight=a.$slideEl[0].offsetHeight,a.$imageWrapEl.transition(0),t.rtl&&(n.startX=-n.startX,n.startY=-n.startY));var s=n.width*i.scale,o=n.height*i.scale;if(!(s<a.slideWidth&&o<a.slideHeight)){if(n.minX=Math.min(a.slideWidth/2-s/2,0),n.maxX=-n.minX,n.minY=Math.min(a.slideHeight/2-o/2,0),n.maxY=-n.minY,n.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,n.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!n.isMoved&&!i.isScaling){if(t.isHorizontal()&&(Math.floor(n.minX)===Math.floor(n.startX)&&n.touchesCurrent.x<n.touchesStart.x||Math.floor(n.maxX)===Math.floor(n.startX)&&n.touchesCurrent.x>n.touchesStart.x))return void(n.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(n.minY)===Math.floor(n.startY)&&n.touchesCurrent.y<n.touchesStart.y||Math.floor(n.maxY)===Math.floor(n.startY)&&n.touchesCurrent.y>n.touchesStart.y))return void(n.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),n.isMoved=!0,n.currentX=n.touchesCurrent.x-n.touchesStart.x+n.startX,n.currentY=n.touchesCurrent.y-n.touchesStart.y+n.startY,n.currentX<n.minX&&(n.currentX=n.minX+1-Math.pow(n.minX-n.currentX+1,.8)),n.currentX>n.maxX&&(n.currentX=n.maxX-1+Math.pow(n.currentX-n.maxX+1,.8)),n.currentY<n.minY&&(n.currentY=n.minY+1-Math.pow(n.minY-n.currentY+1,.8)),n.currentY>n.maxY&&(n.currentY=n.maxY-1+Math.pow(n.currentY-n.maxY+1,.8)),r.prevPositionX||(r.prevPositionX=n.touchesCurrent.x),r.prevPositionY||(r.prevPositionY=n.touchesCurrent.y),r.prevTime||(r.prevTime=Date.now()),r.x=(n.touchesCurrent.x-r.prevPositionX)/(Date.now()-r.prevTime)/2,r.y=(n.touchesCurrent.y-r.prevPositionY)/(Date.now()-r.prevTime)/2,Math.abs(n.touchesCurrent.x-r.prevPositionX)<2&&(r.x=0),Math.abs(n.touchesCurrent.y-r.prevPositionY)<2&&(r.y=0),r.prevPositionX=n.touchesCurrent.x,r.prevPositionY=n.touchesCurrent.y,r.prevTime=Date.now(),a.$imageWrapEl.transform("translate3d("+n.currentX+"px, "+n.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,i=e.image,a=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!i.isTouched||!i.isMoved)return i.isTouched=!1,void(i.isMoved=!1);i.isTouched=!1,i.isMoved=!1;var n=300,r=300,s=a.x*n,o=i.currentX+s,l=a.y*r,d=i.currentY+l;0!==a.x&&(n=Math.abs((o-i.currentX)/a.x)),0!==a.y&&(r=Math.abs((d-i.currentY)/a.y));var u=Math.max(n,r);i.currentX=o,i.currentY=d;var c=i.width*e.scale,p=i.height*e.scale;i.minX=Math.min(t.slideWidth/2-c/2,0),i.maxX=-i.minX,i.minY=Math.min(t.slideHeight/2-p/2,0),i.maxY=-i.minY,i.currentX=Math.max(Math.min(i.currentX,i.maxX),i.minX),i.currentY=Math.max(Math.min(i.currentY,i.maxY),i.minY),t.$imageWrapEl.transition(u).transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}},onTransitionEnd:function(){var e=this,t=e.zoom,i=t.gesture;i.$slideEl&&e.previousIndex!==e.activeIndex&&(i.$imageEl&&i.$imageEl.transform("translate3d(0,0,0) scale(1)"),i.$imageWrapEl&&i.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,t.currentScale=1,i.$slideEl=void 0,i.$imageEl=void 0,i.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,i,a,n,r,s,o,d,u,c,p,v,h,f,m,g,b=this,E=l(),C=b.zoom,y=b.params.zoom,w=C.gesture,T=C.image;w.$slideEl||(b.params.virtual&&b.params.virtual.enabled&&b.virtual?w.$slideEl=b.$wrapperEl.children("."+b.params.slideActiveClass):w.$slideEl=b.slides.eq(b.activeIndex),w.$imageEl=w.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),w.$imageWrapEl=w.$imageEl.parent("."+y.containerClass)),w.$imageEl&&0!==w.$imageEl.length&&w.$imageWrapEl&&0!==w.$imageWrapEl.length&&(w.$slideEl.addClass(""+y.zoomedSlideClass),void 0===T.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,i="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=T.touchesStart.x,i=T.touchesStart.y),C.scale=w.$imageWrapEl.attr("data-swiper-zoom")||y.maxRatio,C.currentScale=w.$imageWrapEl.attr("data-swiper-zoom")||y.maxRatio,e?(m=w.$slideEl[0].offsetWidth,g=w.$slideEl[0].offsetHeight,a=w.$slideEl.offset().left+E.scrollX+m/2-t,n=w.$slideEl.offset().top+E.scrollY+g/2-i,o=w.$imageEl[0].offsetWidth,d=w.$imageEl[0].offsetHeight,u=o*C.scale,c=d*C.scale,h=-(p=Math.min(m/2-u/2,0)),f=-(v=Math.min(g/2-c/2,0)),(r=a*C.scale)<p&&(r=p),r>h&&(r=h),(s=n*C.scale)<v&&(s=v),s>f&&(s=f)):(r=0,s=0),w.$imageWrapEl.transition(300).transform("translate3d("+r+"px, "+s+"px,0)"),w.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+C.scale+")"))},out:function(){var e=this,t=e.zoom,i=e.params.zoom,a=t.gesture;a.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?a.$slideEl=e.$wrapperEl.children("."+e.params.slideActiveClass):a.$slideEl=e.slides.eq(e.activeIndex),a.$imageEl=a.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),a.$imageWrapEl=a.$imageEl.parent("."+i.containerClass)),a.$imageEl&&0!==a.$imageEl.length&&a.$imageWrapEl&&0!==a.$imageWrapEl.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(""+i.zoomedSlideClass),a.$slideEl=void 0)},toggleGestures:function(e){var t=this,i=t.zoom,a=i.slideSelector,n=i.passiveListener;t.$wrapperEl[e]("gesturestart",a,i.onGestureStart,n),t.$wrapperEl[e]("gesturechange",a,i.onGestureChange,n),t.$wrapperEl[e]("gestureend",a,i.onGestureEnd,n)},enableGestures:function(){this.zoom.gesturesEnabled||(this.zoom.gesturesEnabled=!0,this.zoom.toggleGestures("on"))},disableGestures:function(){this.zoom.gesturesEnabled&&(this.zoom.gesturesEnabled=!1,this.zoom.toggleGestures("off"))},enable:function(){var e=this,t=e.support,i=e.zoom;if(!i.enabled){i.enabled=!0;var a=!("touchstart"!==e.touchEvents.start||!t.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},n=!t.passiveListener||{passive:!1,capture:!0},r="."+e.params.slideClass;e.zoom.passiveListener=a,e.zoom.slideSelector=r,t.gestures?(e.$wrapperEl.on(e.touchEvents.start,e.zoom.enableGestures,a),e.$wrapperEl.on(e.touchEvents.end,e.zoom.disableGestures,a)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,r,i.onGestureStart,a),e.$wrapperEl.on(e.touchEvents.move,r,i.onGestureChange,n),e.$wrapperEl.on(e.touchEvents.end,r,i.onGestureEnd,a),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,r,i.onGestureEnd,a)),e.$wrapperEl.on(e.touchEvents.move,"."+e.params.zoom.containerClass,i.onTouchMove,n)}},disable:function(){var e=this,t=e.zoom;if(t.enabled){var i=e.support;e.zoom.enabled=!1;var a=!("touchstart"!==e.touchEvents.start||!i.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},n=!i.passiveListener||{passive:!1,capture:!0},r="."+e.params.slideClass;i.gestures?(e.$wrapperEl.off(e.touchEvents.start,e.zoom.enableGestures,a),e.$wrapperEl.off(e.touchEvents.end,e.zoom.disableGestures,a)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,r,t.onGestureStart,a),e.$wrapperEl.off(e.touchEvents.move,r,t.onGestureChange,n),e.$wrapperEl.off(e.touchEvents.end,r,t.onGestureEnd,a),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,r,t.onGestureEnd,a)),e.$wrapperEl.off(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove,n)}}},Dt={getRandomNumber:function(e){void 0===e&&(e=16);var t=function(){return Math.round(16*Math.random()).toString(16)};return"x".repeat(e).replace(/x/g,t)},makeElFocusable:function(e){return e.attr("tabIndex","0"),e},makeElNotFocusable:function(e){return e.attr("tabIndex","-1"),e},addElRole:function(e,t){return e.attr("role",t),e},addElRoleDescription:function(e,t){return e.attr("aria-roledescription",t),e},addElControls:function(e,t){return e.attr("aria-controls",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},addElId:function(e,t){return e.attr("id",t),e},addElLive:function(e,t){return e.attr("aria-live",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterOrSpaceKey:function(e){if(13===e.keyCode||32===e.keyCode){var t=this,i=t.params.a11y,a=T(e.target);t.navigation&&t.navigation.$nextEl&&a.is(t.navigation.$nextEl)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?t.a11y.notify(i.lastSlideMessage):t.a11y.notify(i.nextSlideMessage)),t.navigation&&t.navigation.$prevEl&&a.is(t.navigation.$prevEl)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?t.a11y.notify(i.firstSlideMessage):t.a11y.notify(i.prevSlideMessage)),t.pagination&&a.is(be(t.params.pagination.bulletClass))&&a[0].click()}},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){var e=this;if(!e.params.loop&&e.navigation){var t=e.navigation,i=t.$nextEl,a=t.$prevEl;a&&a.length>0&&(e.isBeginning?(e.a11y.disableEl(a),e.a11y.makeElNotFocusable(a)):(e.a11y.enableEl(a),e.a11y.makeElFocusable(a))),i&&i.length>0&&(e.isEnd?(e.a11y.disableEl(i),e.a11y.makeElNotFocusable(i)):(e.a11y.enableEl(i),e.a11y.makeElFocusable(i)))}},updatePagination:function(){var e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each((function(i){var a=T(i);e.a11y.makeElFocusable(a),e.params.pagination.renderBullet||(e.a11y.addElRole(a,"button"),e.a11y.addElLabel(a,t.paginationBulletMessage.replace(/\{\{index\}\}/,a.index()+1)))}))},init:function(){var e=this,t=e.params.a11y;e.$el.append(e.a11y.liveRegion);var i=e.$el;t.containerRoleDescriptionMessage&&e.a11y.addElRoleDescription(i,t.containerRoleDescriptionMessage),t.containerMessage&&e.a11y.addElLabel(i,t.containerMessage);var a,n,r=e.$wrapperEl,s=r.attr("id")||"swiper-wrapper-"+e.a11y.getRandomNumber(16),o=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";e.a11y.addElId(r,s),e.a11y.addElLive(r,o),t.itemRoleDescriptionMessage&&e.a11y.addElRoleDescription(T(e.slides),t.itemRoleDescriptionMessage),e.a11y.addElRole(T(e.slides),t.slideRole),e.slides.each((function(i){var a=T(i),n=t.slideLabelMessage.replace(/\{\{index\}\}/,a.index()+1).replace(/\{\{slidesLength\}\}/,e.slides.length);e.a11y.addElLabel(a,n)})),e.navigation&&e.navigation.$nextEl&&(a=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(n=e.navigation.$prevEl),a&&a.length&&(e.a11y.makeElFocusable(a),"BUTTON"!==a[0].tagName&&(e.a11y.addElRole(a,"button"),a.on("keydown",e.a11y.onEnterOrSpaceKey)),e.a11y.addElLabel(a,t.nextSlideMessage),e.a11y.addElControls(a,s)),n&&n.length&&(e.a11y.makeElFocusable(n),"BUTTON"!==n[0].tagName&&(e.a11y.addElRole(n,"button"),n.on("keydown",e.a11y.onEnterOrSpaceKey)),e.a11y.addElLabel(n,t.prevSlideMessage),e.a11y.addElControls(n,s)),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.on("keydown",be(e.params.pagination.bulletClass),e.a11y.onEnterOrSpaceKey)},destroy:function(){var e,t,i=this;i.a11y.liveRegion&&i.a11y.liveRegion.length>0&&i.a11y.liveRegion.remove(),i.navigation&&i.navigation.$nextEl&&(e=i.navigation.$nextEl),i.navigation&&i.navigation.$prevEl&&(t=i.navigation.$prevEl),e&&e.off("keydown",i.a11y.onEnterOrSpaceKey),t&&t.off("keydown",i.a11y.onEnterOrSpaceKey),i.pagination&&i.params.pagination.clickable&&i.pagination.bullets&&i.pagination.bullets.length&&i.pagination.$el.off("keydown",be(i.params.pagination.bulletClass),i.a11y.onEnterOrSpaceKey)}},Nt=[{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){ge(this,{navigation:i({},It)})},on:{init:function(e){e.navigation.init(),e.navigation.update()},toEdge:function(e){e.navigation.update()},fromEdge:function(e){e.navigation.update()},destroy:function(e){e.navigation.destroy()},"enable disable":function(e){var t=e.navigation,i=t.$nextEl,a=t.$prevEl;i&&i[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),a&&a[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)},click:function(e,t){var i=e.navigation,a=i.$nextEl,n=i.$prevEl,r=t.target;if(e.params.navigation.hideOnClick&&!T(r).is(n)&&!T(r).is(a)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===r||e.pagination.el.contains(r)))return;var s;a?s=a.hasClass(e.params.navigation.hiddenClass):n&&(s=n.hasClass(e.params.navigation.hiddenClass)),!0===s?e.emit("navigationShow"):e.emit("navigationHide"),a&&a.toggleClass(e.params.navigation.hiddenClass),n&&n.toggleClass(e.params.navigation.hiddenClass)}}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){ge(this,{pagination:i({dynamicBulletIndex:0},Gt)})},on:{init:function(e){e.pagination.init(),e.pagination.render(),e.pagination.update()},activeIndexChange:function(e){(e.params.loop||void 0===e.snapIndex)&&e.pagination.update()},snapIndexChange:function(e){e.params.loop||e.pagination.update()},slidesLengthChange:function(e){e.params.loop&&(e.pagination.render(),e.pagination.update())},snapGridLengthChange:function(e){e.params.loop||(e.pagination.render(),e.pagination.update())},destroy:function(e){e.pagination.destroy()},"enable disable":function(e){var t=e.pagination.$el;t&&t[e.enabled?"removeClass":"addClass"](e.params.pagination.lockClass)},click:function(e,t){var i=t.target;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&e.pagination.$el.length>0&&!T(i).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&i===e.navigation.nextEl||e.navigation.prevEl&&i===e.navigation.prevEl))return;!0===e.pagination.$el.hasClass(e.params.pagination.hiddenClass)?e.emit("paginationShow"):e.emit("paginationHide"),e.pagination.$el.toggleClass(e.params.pagination.hiddenClass)}}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var e=this;ge(e,{zoom:i({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}},Bt)});var t=1;Object.defineProperty(e.zoom,"scale",{get:function(){return t},set:function(i){if(t!==i){var a=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,n=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",i,a,n)}t=i}})},on:{init:function(e){e.params.zoom.enabled&&e.zoom.enable()},destroy:function(e){e.zoom.disable()},touchStart:function(e,t){e.zoom.enabled&&e.zoom.onTouchStart(t)},touchEnd:function(e,t){e.zoom.enabled&&e.zoom.onTouchEnd(t)},doubleTap:function(e,t){!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&e.zoom.toggle(t)},transitionEnd:function(e){e.zoom.enabled&&e.params.zoom.enabled&&e.zoom.onTransitionEnd()},slideChange:function(e){e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&e.zoom.onTransitionEnd()}}},{name:"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}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group"}},create:function(){var e=this;ge(e,{a11y:i({},Dt,{liveRegion:T('<span class="'+e.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')})})},on:{afterInit:function(e){e.params.a11y.enabled&&(e.a11y.init(),e.a11y.updateNavigation())},toEdge:function(e){e.params.a11y.enabled&&e.a11y.updateNavigation()},fromEdge:function(e){e.params.a11y.enabled&&e.a11y.updateNavigation()},paginationUpdate:function(e){e.params.a11y.enabled&&e.a11y.updatePagination()},destroy:function(e){e.params.a11y.enabled&&e.a11y.destroy()}}}];return At.use(Nt),At}()}},t={},function i(a){var n=t[a];if(void 0!==n)return n.exports;var r=t[a]={exports:{}};return e[a].call(r.exports,r,r.exports,i),r.exports}(5234);var e,t}));
| ver. 1.4 |
Github
|
.
| PHP 7.4.3-4ubuntu2.24 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка