<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/**
 * Swiper 8.3.2
 * Most modern mobile touch slider and framework with hardware accelerated transitions
 * https://swiperjs.com
 *
 * Copyright 2014-2022 Vladimir Kharlampidi
 *
 * Released under the MIT License
 *
 * Released on: July 26, 2022
 */

!function (e, t) { "object" == typeof exports &amp;&amp; "undefined" != typeof module ? module.exports = t() : "function" == typeof define &amp;&amp; define.amd ? define(t) : (e = "undefined" != typeof globalThis ? globalThis : e || self).Swiper = t() }(this, (function () { "use strict"; function e(e) { return null !== e &amp;&amp; "object" == typeof e &amp;&amp; "constructor" in e &amp;&amp; e.constructor === Object } function t(s, a) { void 0 === s &amp;&amp; (s = {}), void 0 === a &amp;&amp; (a = {}), Object.keys(a).forEach((i =&gt; { void 0 === s[i] ? s[i] = a[i] : e(a[i]) &amp;&amp; e(s[i]) &amp;&amp; Object.keys(a[i]).length &gt; 0 &amp;&amp; t(s[i], a[i]) })) } const s = { body: {}, addEventListener() { }, removeEventListener() { }, activeElement: { blur() { }, nodeName: "" }, querySelector: () =&gt; null, querySelectorAll: () =&gt; [], getElementById: () =&gt; null, createEvent: () =&gt; ({ initEvent() { } }), createElement: () =&gt; ({ children: [], childNodes: [], style: {}, setAttribute() { }, getElementsByTagName: () =&gt; [] }), createElementNS: () =&gt; ({}), importNode: () =&gt; null, location: { hash: "", host: "", hostname: "", href: "", origin: "", pathname: "", protocol: "", search: "" } }; function a() { const e = "undefined" != typeof document ? document : {}; return t(e, s), e } const i = { document: s, navigator: { userAgent: "" }, location: { hash: "", host: "", hostname: "", href: "", origin: "", pathname: "", protocol: "", search: "" }, history: { replaceState() { }, pushState() { }, go() { }, back() { } }, CustomEvent: function () { return this }, addEventListener() { }, removeEventListener() { }, getComputedStyle: () =&gt; ({ getPropertyValue: () =&gt; "" }), Image() { }, Date() { }, screen: {}, setTimeout() { }, clearTimeout() { }, matchMedia: () =&gt; ({}), requestAnimationFrame: e =&gt; "undefined" == typeof setTimeout ? (e(), null) : setTimeout(e, 0), cancelAnimationFrame(e) { "undefined" != typeof setTimeout &amp;&amp; clearTimeout(e) } }; function r() { const e = "undefined" != typeof window ? window : {}; return t(e, i), e } class n extends Array { constructor(e) { "number" == typeof e ? super(e) : (super(...e || []), function (e) { const t = e.__proto__; Object.defineProperty(e, "__proto__", { get: () =&gt; t, set(e) { t.__proto__ = e } }) }(this)) } } function l(e) { void 0 === e &amp;&amp; (e = []); const t = []; return e.forEach((e =&gt; { Array.isArray(e) ? t.push(...l(e)) : t.push(e) })), t } function o(e, t) { return Array.prototype.filter.call(e, t) } function d(e, t) { const s = r(), i = a(); let l = []; if (!t &amp;&amp; e instanceof n) return e; if (!e) return new n(l); if ("string" == typeof e) { const s = e.trim(); if (s.indexOf("&lt;") &gt;= 0 &amp;&amp; s.indexOf("&gt;") &gt;= 0) { let e = "div"; 0 === s.indexOf("&lt;li") &amp;&amp; (e = "ul"), 0 === s.indexOf("&lt;tr") &amp;&amp; (e = "tbody"), 0 !== s.indexOf("&lt;td") &amp;&amp; 0 !== s.indexOf("&lt;th") || (e = "tr"), 0 === s.indexOf("&lt;tbody") &amp;&amp; (e = "table"), 0 === s.indexOf("&lt;option") &amp;&amp; (e = "select"); const t = i.createElement(e); t.innerHTML = s; for (let e = 0; e &lt; t.childNodes.length; e += 1)l.push(t.childNodes[e]) } else l = function (e, t) { if ("string" != typeof e) return [e]; const s = [], a = t.querySelectorAll(e); for (let e = 0; e &lt; a.length; e += 1)s.push(a[e]); return s }(e.trim(), t || i) } else if (e.nodeType || e === s || e === i) l.push(e); else if (Array.isArray(e)) { if (e instanceof n) return e; l = e } return new n(function (e) { const t = []; for (let s = 0; s &lt; e.length; s += 1)-1 === t.indexOf(e[s]) &amp;&amp; t.push(e[s]); return t }(l)) } d.fn = n.prototype; const c = { addClass: function () { for (var e = arguments.length, t = new Array(e), s = 0; s &lt; e; s++)t[s] = arguments[s]; const a = l(t.map((e =&gt; e.split(" ")))); return this.forEach((e =&gt; { e.classList.add(...a) })), this }, removeClass: function () { for (var e = arguments.length, t = new Array(e), s = 0; s &lt; e; s++)t[s] = arguments[s]; const a = l(t.map((e =&gt; e.split(" ")))); return this.forEach((e =&gt; { e.classList.remove(...a) })), this }, hasClass: function () { for (var e = arguments.length, t = new Array(e), s = 0; s &lt; e; s++)t[s] = arguments[s]; const a = l(t.map((e =&gt; e.split(" ")))); return o(this, (e =&gt; a.filter((t =&gt; e.classList.contains(t))).length &gt; 0)).length &gt; 0 }, toggleClass: function () { for (var e = arguments.length, t = new Array(e), s = 0; s &lt; e; s++)t[s] = arguments[s]; const a = l(t.map((e =&gt; e.split(" ")))); this.forEach((e =&gt; { a.forEach((t =&gt; { e.classList.toggle(t) })) })) }, attr: function (e, t) { if (1 === arguments.length &amp;&amp; "string" == typeof e) return this[0] ? this[0].getAttribute(e) : void 0; for (let s = 0; s &lt; this.length; s += 1)if (2 === arguments.length) this[s].setAttribute(e, t); else for (const t in e) this[s][t] = e[t], this[s].setAttribute(t, e[t]); return this }, removeAttr: function (e) { for (let t = 0; t &lt; this.length; t += 1)this[t].removeAttribute(e); return this }, transform: function (e) { for (let t = 0; t &lt; this.length; t += 1)this[t].style.transform = e; return this }, transition: function (e) { for (let t = 0; t &lt; this.length; t += 1)this[t].style.transitionDuration = "string" != typeof e ? `${e}ms` : e; return this }, on: function () { for (var e = arguments.length, t = new Array(e), s = 0; s &lt; e; s++)t[s] = arguments[s]; let [a, i, r, n] = t; function l(e) { const t = e.target; if (!t) return; const s = e.target.dom7EventData || []; if (s.indexOf(e) &lt; 0 &amp;&amp; s.unshift(e), d(t).is(i)) r.apply(t, s); else { const e = d(t).parents(); for (let t = 0; t &lt; e.length; t += 1)d(e[t]).is(i) &amp;&amp; r.apply(e[t], s) } } function o(e) { const t = e &amp;&amp; e.target &amp;&amp; e.target.dom7EventData || []; t.indexOf(e) &lt; 0 &amp;&amp; t.unshift(e), r.apply(this, t) } "function" == typeof t[1] &amp;&amp; ([a, r, n] = t, i = void 0), n || (n = !1); const c = a.split(" "); let p; for (let e = 0; e &lt; this.length; e += 1) { const t = this[e]; if (i) for (p = 0; p &lt; c.length; p += 1) { const e = c[p]; t.dom7LiveListeners || (t.dom7LiveListeners = {}), t.dom7LiveListeners[e] || (t.dom7LiveListeners[e] = []), t.dom7LiveListeners[e].push({ listener: r, proxyListener: l }), t.addEventListener(e, l, n) } else for (p = 0; p &lt; c.length; p += 1) { const e = c[p]; t.dom7Listeners || (t.dom7Listeners = {}), t.dom7Listeners[e] || (t.dom7Listeners[e] = []), t.dom7Listeners[e].push({ listener: r, proxyListener: o }), t.addEventListener(e, o, n) } } return this }, off: function () { for (var e = arguments.length, t = new Array(e), s = 0; s &lt; e; s++)t[s] = arguments[s]; let [a, i, r, n] = t; "function" == typeof t[1] &amp;&amp; ([a, r, n] = t, i = void 0), n || (n = !1); const l = a.split(" "); for (let e = 0; e &lt; l.length; e += 1) { const t = l[e]; for (let e = 0; e &lt; this.length; e += 1) { const s = this[e]; let a; if (!i &amp;&amp; s.dom7Listeners ? a = s.dom7Listeners[t] : i &amp;&amp; s.dom7LiveListeners &amp;&amp; (a = s.dom7LiveListeners[t]), a &amp;&amp; a.length) for (let e = a.length - 1; e &gt;= 0; e -= 1) { const i = a[e]; r &amp;&amp; i.listener === r || r &amp;&amp; i.listener &amp;&amp; i.listener.dom7proxy &amp;&amp; i.listener.dom7proxy === r ? (s.removeEventListener(t, i.proxyListener, n), a.splice(e, 1)) : r || (s.removeEventListener(t, i.proxyListener, n), a.splice(e, 1)) } } } return this }, trigger: function () { const e = r(); for (var t = arguments.length, s = new Array(t), a = 0; a &lt; t; a++)s[a] = arguments[a]; const i = s[0].split(" "), n = s[1]; for (let t = 0; t &lt; i.length; t += 1) { const a = i[t]; for (let t = 0; t &lt; this.length; t += 1) { const i = this[t]; if (e.CustomEvent) { const t = new e.CustomEvent(a, { detail: n, bubbles: !0, cancelable: !0 }); i.dom7EventData = s.filter(((e, t) =&gt; t &gt; 0)), i.dispatchEvent(t), i.dom7EventData = [], delete i.dom7EventData } } } return this }, transitionEnd: function (e) { const t = this; return e &amp;&amp; t.on("transitionend", (function s(a) { a.target === this &amp;&amp; (e.call(this, a), t.off("transitionend", s)) })), this }, outerWidth: function (e) { if (this.length &gt; 0) { if (e) { const e = this.styles(); return this[0].offsetWidth + parseFloat(e.getPropertyValue("margin-right")) + parseFloat(e.getPropertyValue("margin-left")) } return this[0].offsetWidth } return null }, outerHeight: function (e) { if (this.length &gt; 0) { if (e) { const e = this.styles(); return this[0].offsetHeight + parseFloat(e.getPropertyValue("margin-top")) + parseFloat(e.getPropertyValue("margin-bottom")) } return this[0].offsetHeight } return null }, styles: function () { const e = r(); return this[0] ? e.getComputedStyle(this[0], null) : {} }, offset: function () { if (this.length &gt; 0) { const e = r(), t = a(), s = this[0], i = s.getBoundingClientRect(), n = t.body, l = s.clientTop || n.clientTop || 0, o = s.clientLeft || n.clientLeft || 0, d = s === e ? e.scrollY : s.scrollTop, c = s === e ? e.scrollX : s.scrollLeft; return { top: i.top + d - l, left: i.left + c - o } } return null }, css: function (e, t) { const s = r(); let a; if (1 === arguments.length) { if ("string" != typeof e) { for (a = 0; a &lt; this.length; a += 1)for (const t in e) this[a].style[t] = e[t]; return this } if (this[0]) return s.getComputedStyle(this[0], null).getPropertyValue(e) } if (2 === arguments.length &amp;&amp; "string" == typeof e) { for (a = 0; a &lt; this.length; a += 1)this[a].style[e] = t; return this } return this }, each: function (e) { return e ? (this.forEach(((t, s) =&gt; { e.apply(t, [t, s]) })), this) : this }, html: function (e) { if (void 0 === e) return this[0] ? this[0].innerHTML : null; for (let t = 0; t &lt; this.length; t += 1)this[t].innerHTML = e; return this }, text: function (e) { if (void 0 === e) return this[0] ? this[0].textContent.trim() : null; for (let t = 0; t &lt; this.length; t += 1)this[t].textContent = e; return this }, is: function (e) { const t = r(), s = a(), i = this[0]; let l, o; if (!i || void 0 === e) return !1; if ("string" == typeof e) { if (i.matches) return i.matches(e); if (i.webkitMatchesSelector) return i.webkitMatchesSelector(e); if (i.msMatchesSelector) return i.msMatchesSelector(e); for (l = d(e), o = 0; o &lt; l.length; o += 1)if (l[o] === i) return !0; return !1 } if (e === s) return i === s; if (e === t) return i === t; if (e.nodeType || e instanceof n) { for (l = e.nodeType ? [e] : e, o = 0; o &lt; l.length; o += 1)if (l[o] === i) return !0; return !1 } return !1 }, index: function () { let e, t = this[0]; if (t) { for (e = 0; null !== (t = t.previousSibling);)1 === t.nodeType &amp;&amp; (e += 1); return e } }, eq: function (e) { if (void 0 === e) return this; const t = this.length; if (e &gt; t - 1) return d([]); if (e &lt; 0) { const s = t + e; return d(s &lt; 0 ? [] : [this[s]]) } return d([this[e]]) }, append: function () { let e; const t = a(); for (let s = 0; s &lt; arguments.length; s += 1) { e = s &lt; 0 || arguments.length &lt;= s ? void 0 : arguments[s]; for (let s = 0; s &lt; this.length; s += 1)if ("string" == typeof e) { const a = t.createElement("div"); for (a.innerHTML = e; a.firstChild;)this[s].appendChild(a.firstChild) } else if (e instanceof n) for (let t = 0; t &lt; e.length; t += 1)this[s].appendChild(e[t]); else this[s].appendChild(e) } return this }, prepend: function (e) { const t = a(); let s, i; for (s = 0; s &lt; this.length; s += 1)if ("string" == typeof e) { const a = t.createElement("div"); for (a.innerHTML = e, i = a.childNodes.length - 1; i &gt;= 0; i -= 1)this[s].insertBefore(a.childNodes[i], this[s].childNodes[0]) } else if (e instanceof n) for (i = 0; i &lt; e.length; i += 1)this[s].insertBefore(e[i], this[s].childNodes[0]); else this[s].insertBefore(e, this[s].childNodes[0]); return this }, next: function (e) { return this.length &gt; 0 ? e ? this[0].nextElementSibling &amp;&amp; d(this[0].nextElementSibling).is(e) ? d([this[0].nextElementSibling]) : d([]) : this[0].nextElementSibling ? d([this[0].nextElementSibling]) : d([]) : d([]) }, nextAll: function (e) { const t = []; let s = this[0]; if (!s) return d([]); for (; s.nextElementSibling;) { const a = s.nextElementSibling; e ? d(a).is(e) &amp;&amp; t.push(a) : t.push(a), s = a } return d(t) }, prev: function (e) { if (this.length &gt; 0) { const t = this[0]; return e ? t.previousElementSibling &amp;&amp; d(t.previousElementSibling).is(e) ? d([t.previousElementSibling]) : d([]) : t.previousElementSibling ? d([t.previousElementSibling]) : d([]) } return d([]) }, prevAll: function (e) { const t = []; let s = this[0]; if (!s) return d([]); for (; s.previousElementSibling;) { const a = s.previousElementSibling; e ? d(a).is(e) &amp;&amp; t.push(a) : t.push(a), s = a } return d(t) }, parent: function (e) { const t = []; for (let s = 0; s &lt; this.length; s += 1)null !== this[s].parentNode &amp;&amp; (e ? d(this[s].parentNode).is(e) &amp;&amp; t.push(this[s].parentNode) : t.push(this[s].parentNode)); return d(t) }, parents: function (e) { const t = []; for (let s = 0; s &lt; this.length; s += 1) { let a = this[s].parentNode; for (; a;)e ? d(a).is(e) &amp;&amp; t.push(a) : t.push(a), a = a.parentNode } return d(t) }, closest: function (e) { let t = this; return void 0 === e ? d([]) : (t.is(e) || (t = t.parents(e).eq(0)), t) }, find: function (e) { const t = []; for (let s = 0; s &lt; this.length; s += 1) { const a = this[s].querySelectorAll(e); for (let e = 0; e &lt; a.length; e += 1)t.push(a[e]) } return d(t) }, children: function (e) { const t = []; for (let s = 0; s &lt; this.length; s += 1) { const a = this[s].children; for (let s = 0; s &lt; a.length; s += 1)e &amp;&amp; !d(a[s]).is(e) || t.push(a[s]) } return d(t) }, filter: function (e) { return d(o(this, e)) }, remove: function () { for (let e = 0; e &lt; this.length; e += 1)this[e].parentNode &amp;&amp; this[e].parentNode.removeChild(this[e]); return this } }; function p(e, t) { return void 0 === t &amp;&amp; (t = 0), setTimeout(e, t) } function u() { return Date.now() } function h(e, t) { void 0 === t &amp;&amp; (t = "x"); const s = r(); let a, i, n; const l = function (e) { const t = r(); let s; return t.getComputedStyle &amp;&amp; (s = t.getComputedStyle(e, null)), !s &amp;&amp; e.currentStyle &amp;&amp; (s = e.currentStyle), s || (s = e.style), s }(e); return s.WebKitCSSMatrix ? (i = l.transform || l.webkitTransform, i.split(",").length &gt; 6 &amp;&amp; (i = i.split(", ").map((e =&gt; e.replace(",", "."))).join(", ")), n = new s.WebKitCSSMatrix("none" === i ? "" : i)) : (n = l.MozTransform || l.OTransform || l.MsTransform || l.msTransform || l.transform || l.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), a = n.toString().split(",")), "x" === t &amp;&amp; (i = s.WebKitCSSMatrix ? n.m41 : 16 === a.length ? parseFloat(a[12]) : parseFloat(a[4])), "y" === t &amp;&amp; (i = s.WebKitCSSMatrix ? n.m42 : 16 === a.length ? parseFloat(a[13]) : parseFloat(a[5])), i || 0 } function m(e) { return "object" == typeof e &amp;&amp; null !== e &amp;&amp; e.constructor &amp;&amp; "Object" === Object.prototype.toString.call(e).slice(8, -1) } function f(e) { return "undefined" != typeof window &amp;&amp; void 0 !== window.HTMLElement ? e instanceof HTMLElement : e &amp;&amp; (1 === e.nodeType || 11 === e.nodeType) } function g() { const e = Object(arguments.length &lt;= 0 ? void 0 : arguments[0]), t = ["__proto__", "constructor", "prototype"]; for (let s = 1; s &lt; arguments.length; s += 1) { const a = s &lt; 0 || arguments.length &lt;= s ? void 0 : arguments[s]; if (null != a &amp;&amp; !f(a)) { const s = Object.keys(Object(a)).filter((e =&gt; t.indexOf(e) &lt; 0)); for (let t = 0, i = s.length; t &lt; i; t += 1) { const i = s[t], r = Object.getOwnPropertyDescriptor(a, i); void 0 !== r &amp;&amp; r.enumerable &amp;&amp; (m(e[i]) &amp;&amp; m(a[i]) ? a[i].__swiper__ ? e[i] = a[i] : g(e[i], a[i]) : !m(e[i]) &amp;&amp; m(a[i]) ? (e[i] = {}, a[i].__swiper__ ? e[i] = a[i] : g(e[i], a[i])) : e[i] = a[i]) } } } return e } function v(e, t, s) { e.style.setProperty(t, s) } function w(e) { let { swiper: t, targetPosition: s, side: a } = e; const i = r(), n = -t.translate; let l, o = null; const d = t.params.speed; t.wrapperEl.style.scrollSnapType = "none", i.cancelAnimationFrame(t.cssModeFrameID); const c = s &gt; n ? "next" : "prev", p = (e, t) =&gt; "next" === c &amp;&amp; e &gt;= t || "prev" === c &amp;&amp; e &lt;= t, u = () =&gt; { l = (new Date).getTime(), null === o &amp;&amp; (o = l); const e = Math.max(Math.min((l - o) / d, 1), 0), r = .5 - Math.cos(e * Math.PI) / 2; let c = n + r * (s - n); if (p(c, s) &amp;&amp; (c = s), t.wrapperEl.scrollTo({ [a]: c }), p(c, s)) return t.wrapperEl.style.overflow = "hidden", t.wrapperEl.style.scrollSnapType = "", setTimeout((() =&gt; { t.wrapperEl.style.overflow = "", t.wrapperEl.scrollTo({ [a]: c }) })), void i.cancelAnimationFrame(t.cssModeFrameID); t.cssModeFrameID = i.requestAnimationFrame(u) }; u() } let b, x, y; function E() { return b || (b = function () { const e = r(), t = a(); return { smoothScroll: t.documentElement &amp;&amp; "scrollBehavior" in t.documentElement.style, touch: !!("ontouchstart" in e || e.DocumentTouch &amp;&amp; t instanceof e.DocumentTouch), passiveListener: function () { let t = !1; try { const s = Object.defineProperty({}, "passive", { get() { t = !0 } }); e.addEventListener("testPassiveListener", null, s) } catch (e) { } return t }(), gestures: "ongesturestart" in e } }()), b } function C(e) { return void 0 === e &amp;&amp; (e = {}), x || (x = function (e) { let { userAgent: t } = void 0 === e ? {} : e; const s = E(), a = r(), i = a.navigator.platform, n = t || a.navigator.userAgent, l = { ios: !1, android: !1 }, o = a.screen.width, d = a.screen.height, c = n.match(/(Android);?[\s\/]+([\d.]+)?/); let p = n.match(/(iPad).*OS\s([\d_]+)/); const u = n.match(/(iPod)(.*OS\s([\d_]+))?/), h = !p &amp;&amp; n.match(/(iPhone\sOS|iOS)\s([\d_]+)/), m = "Win32" === i; let f = "MacIntel" === i; return !p &amp;&amp; f &amp;&amp; s.touch &amp;&amp; ["1024x1366", "1366x1024", "834x1194", "1194x834", "834x1112", "1112x834", "768x1024", "1024x768", "820x1180", "1180x820", "810x1080", "1080x810"].indexOf(`${o}x${d}`) &gt;= 0 &amp;&amp; (p = n.match(/(Version)\/([\d.]+)/), p || (p = [0, 1, "13_0_0"]), f = !1), c &amp;&amp; !m &amp;&amp; (l.os = "android", l.android = !0), (p || h || u) &amp;&amp; (l.os = "ios", l.ios = !0), l }(e)), x } function T() { return y || (y = function () { const e = r(); return { isSafari: function () { const t = e.navigator.userAgent.toLowerCase(); return t.indexOf("safari") &gt;= 0 &amp;&amp; t.indexOf("chrome") &lt; 0 &amp;&amp; t.indexOf("android") &lt; 0 }(), isWebView: /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent) } }()), y } Object.keys(c).forEach((e =&gt; { Object.defineProperty(d.fn, e, { value: c[e], writable: !0 }) })); var $ = { on(e, t, s) { const a = this; if (!a.eventsListeners || a.destroyed) return a; if ("function" != typeof t) return a; const i = s ? "unshift" : "push"; return e.split(" ").forEach((e =&gt; { a.eventsListeners[e] || (a.eventsListeners[e] = []), a.eventsListeners[e][i](t) })), a }, once(e, t, s) { const a = this; if (!a.eventsListeners || a.destroyed) return a; if ("function" != typeof t) return a; function i() { a.off(e, i), i.__emitterProxy &amp;&amp; delete i.__emitterProxy; for (var s = arguments.length, r = new Array(s), n = 0; n &lt; s; n++)r[n] = arguments[n]; t.apply(a, r) } return i.__emitterProxy = t, a.on(e, i, s) }, onAny(e, t) { const s = this; if (!s.eventsListeners || s.destroyed) return s; if ("function" != typeof e) return s; const a = t ? "unshift" : "push"; return s.eventsAnyListeners.indexOf(e) &lt; 0 &amp;&amp; s.eventsAnyListeners[a](e), s }, offAny(e) { const t = this; if (!t.eventsListeners || t.destroyed) return t; if (!t.eventsAnyListeners) return t; const s = t.eventsAnyListeners.indexOf(e); return s &gt;= 0 &amp;&amp; t.eventsAnyListeners.splice(s, 1), t }, off(e, t) { const s = this; return !s.eventsListeners || s.destroyed ? s : s.eventsListeners ? (e.split(" ").forEach((e =&gt; { void 0 === t ? s.eventsListeners[e] = [] : s.eventsListeners[e] &amp;&amp; s.eventsListeners[e].forEach(((a, i) =&gt; { (a === t || a.__emitterProxy &amp;&amp; a.__emitterProxy === t) &amp;&amp; s.eventsListeners[e].splice(i, 1) })) })), s) : s }, emit() { const e = this; if (!e.eventsListeners || e.destroyed) return e; if (!e.eventsListeners) return e; let t, s, a; for (var i = arguments.length, r = new Array(i), n = 0; n &lt; i; n++)r[n] = arguments[n]; "string" == typeof r[0] || Array.isArray(r[0]) ? (t = r[0], s = r.slice(1, r.length), a = e) : (t = r[0].events, s = r[0].data, a = r[0].context || e), s.unshift(a); return (Array.isArray(t) ? t : t.split(" ")).forEach((t =&gt; { e.eventsAnyListeners &amp;&amp; e.eventsAnyListeners.length &amp;&amp; e.eventsAnyListeners.forEach((e =&gt; { e.apply(a, [t, ...s]) })), e.eventsListeners &amp;&amp; e.eventsListeners[t] &amp;&amp; e.eventsListeners[t].forEach((e =&gt; { e.apply(a, s) })) })), e } }; var S = { updateSize: function () { const e = this; let t, s; const a = e.$el; t = void 0 !== e.params.width &amp;&amp; null !== e.params.width ? e.params.width : a[0].clientWidth, s = void 0 !== e.params.height &amp;&amp; null !== e.params.height ? e.params.height : a[0].clientHeight, 0 === t &amp;&amp; e.isHorizontal() || 0 === s &amp;&amp; e.isVertical() || (t = t - parseInt(a.css("padding-left") || 0, 10) - parseInt(a.css("padding-right") || 0, 10), s = s - parseInt(a.css("padding-top") || 0, 10) - parseInt(a.css("padding-bottom") || 0, 10), Number.isNaN(t) &amp;&amp; (t = 0), Number.isNaN(s) &amp;&amp; (s = 0), Object.assign(e, { width: t, height: s, size: e.isHorizontal() ? t : s })) }, updateSlides: function () { const 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 s(e, s) { return parseFloat(e.getPropertyValue(t(s)) || 0) } const a = e.params, { $wrapperEl: i, size: r, rtlTranslate: n, wrongRTL: l } = e, o = e.virtual &amp;&amp; a.virtual.enabled, d = o ? e.virtual.slides.length : e.slides.length, c = i.children(`.${e.params.slideClass}`), p = o ? e.virtual.slides.length : c.length; let u = []; const h = [], m = []; let f = a.slidesOffsetBefore; "function" == typeof f &amp;&amp; (f = a.slidesOffsetBefore.call(e)); let g = a.slidesOffsetAfter; "function" == typeof g &amp;&amp; (g = a.slidesOffsetAfter.call(e)); const w = e.snapGrid.length, b = e.slidesGrid.length; let x = a.spaceBetween, y = -f, E = 0, C = 0; if (void 0 === r) return; "string" == typeof x &amp;&amp; x.indexOf("%") &gt;= 0 &amp;&amp; (x = parseFloat(x.replace("%", "")) / 100 * r), e.virtualSize = -x, n ? c.css({ marginLeft: "", marginBottom: "", marginTop: "" }) : c.css({ marginRight: "", marginBottom: "", marginTop: "" }), a.centeredSlides &amp;&amp; a.cssMode &amp;&amp; (v(e.wrapperEl, "--swiper-centered-offset-before", ""), v(e.wrapperEl, "--swiper-centered-offset-after", "")); const T = a.grid &amp;&amp; a.grid.rows &gt; 1 &amp;&amp; e.grid; let $; T &amp;&amp; e.grid.initSlides(p); const S = "auto" === a.slidesPerView &amp;&amp; a.breakpoints &amp;&amp; Object.keys(a.breakpoints).filter((e =&gt; void 0 !== a.breakpoints[e].slidesPerView)).length &gt; 0; for (let i = 0; i &lt; p; i += 1) { $ = 0; const n = c.eq(i); if (T &amp;&amp; e.grid.updateSlide(i, n, p, t), "none" !== n.css("display")) { if ("auto" === a.slidesPerView) { S &amp;&amp; (c[i].style[t("width")] = ""); const r = getComputedStyle(n[0]), l = n[0].style.transform, o = n[0].style.webkitTransform; if (l &amp;&amp; (n[0].style.transform = "none"), o &amp;&amp; (n[0].style.webkitTransform = "none"), a.roundLengths) $ = e.isHorizontal() ? n.outerWidth(!0) : n.outerHeight(!0); else { const e = s(r, "width"), t = s(r, "padding-left"), a = s(r, "padding-right"), i = s(r, "margin-left"), l = s(r, "margin-right"), o = r.getPropertyValue("box-sizing"); if (o &amp;&amp; "border-box" === o) $ = e + i + l; else { const { clientWidth: s, offsetWidth: r } = n[0]; $ = e + t + a + i + l + (r - s) } } l &amp;&amp; (n[0].style.transform = l), o &amp;&amp; (n[0].style.webkitTransform = o), a.roundLengths &amp;&amp; ($ = Math.floor($)) } else $ = (r - (a.slidesPerView - 1) * x) / a.slidesPerView, a.roundLengths &amp;&amp; ($ = Math.floor($)), c[i] &amp;&amp; (c[i].style[t("width")] = `${$}px`); c[i] &amp;&amp; (c[i].swiperSlideSize = $), m.push($), a.centeredSlides ? (y = y + $ / 2 + E / 2 + x, 0 === E &amp;&amp; 0 !== i &amp;&amp; (y = y - r / 2 - x), 0 === i &amp;&amp; (y = y - r / 2 - x), Math.abs(y) &lt; .001 &amp;&amp; (y = 0), a.roundLengths &amp;&amp; (y = Math.floor(y)), C % a.slidesPerGroup == 0 &amp;&amp; u.push(y), h.push(y)) : (a.roundLengths &amp;&amp; (y = Math.floor(y)), (C - Math.min(e.params.slidesPerGroupSkip, C)) % e.params.slidesPerGroup == 0 &amp;&amp; u.push(y), h.push(y), y = y + $ + x), e.virtualSize += $ + x, E = $, C += 1 } } if (e.virtualSize = Math.max(e.virtualSize, r) + g, n &amp;&amp; l &amp;&amp; ("slide" === a.effect || "coverflow" === a.effect) &amp;&amp; i.css({ width: `${e.virtualSize + a.spaceBetween}px` }), a.setWrapperSize &amp;&amp; i.css({ [t("width")]: `${e.virtualSize + a.spaceBetween}px` }), T &amp;&amp; e.grid.updateWrapperSize($, u, t), !a.centeredSlides) { const t = []; for (let s = 0; s &lt; u.length; s += 1) { let i = u[s]; a.roundLengths &amp;&amp; (i = Math.floor(i)), u[s] &lt;= e.virtualSize - r &amp;&amp; t.push(i) } u = t, Math.floor(e.virtualSize - r) - Math.floor(u[u.length - 1]) &gt; 1 &amp;&amp; u.push(e.virtualSize - r) } if (0 === u.length &amp;&amp; (u = [0]), 0 !== a.spaceBetween) { const s = e.isHorizontal() &amp;&amp; n ? "marginLeft" : t("marginRight"); c.filter(((e, t) =&gt; !a.cssMode || t !== c.length - 1)).css({ [s]: `${x}px` }) } if (a.centeredSlides &amp;&amp; a.centeredSlidesBounds) { let e = 0; m.forEach((t =&gt; { e += t + (a.spaceBetween ? a.spaceBetween : 0) })), e -= a.spaceBetween; const t = e - r; u = u.map((e =&gt; e &lt; 0 ? -f : e &gt; t ? t + g : e)) } if (a.centerInsufficientSlides) { let e = 0; if (m.forEach((t =&gt; { e += t + (a.spaceBetween ? a.spaceBetween : 0) })), e -= a.spaceBetween, e &lt; r) { const t = (r - e) / 2; u.forEach(((e, s) =&gt; { u[s] = e - t })), h.forEach(((e, s) =&gt; { h[s] = e + t })) } } if (Object.assign(e, { slides: c, snapGrid: u, slidesGrid: h, slidesSizesGrid: m }), a.centeredSlides &amp;&amp; a.cssMode &amp;&amp; !a.centeredSlidesBounds) { v(e.wrapperEl, "--swiper-centered-offset-before", -u[0] + "px"), v(e.wrapperEl, "--swiper-centered-offset-after", e.size / 2 - m[m.length - 1] / 2 + "px"); const t = -e.snapGrid[0], s = -e.slidesGrid[0]; e.snapGrid = e.snapGrid.map((e =&gt; e + t)), e.slidesGrid = e.slidesGrid.map((e =&gt; e + s)) } if (p !== d &amp;&amp; e.emit("slidesLengthChange"), u.length !== w &amp;&amp; (e.params.watchOverflow &amp;&amp; e.checkOverflow(), e.emit("snapGridLengthChange")), h.length !== b &amp;&amp; e.emit("slidesGridLengthChange"), a.watchSlidesProgress &amp;&amp; e.updateSlidesOffset(), !(o || a.cssMode || "slide" !== a.effect &amp;&amp; "fade" !== a.effect)) { const t = `${a.containerModifierClass}backface-hidden`, s = e.$el.hasClass(t); p &lt;= a.maxBackfaceHiddenSlides ? s || e.$el.addClass(t) : s &amp;&amp; e.$el.removeClass(t) } }, updateAutoHeight: function (e) { const t = this, s = [], a = t.virtual &amp;&amp; t.params.virtual.enabled; let i, r = 0; "number" == typeof e ? t.setTransition(e) : !0 === e &amp;&amp; t.setTransition(t.params.speed); const n = e =&gt; a ? t.slides.filter((t =&gt; parseInt(t.getAttribute("data-swiper-slide-index"), 10) === e))[0] : t.slides.eq(e)[0]; if ("auto" !== t.params.slidesPerView &amp;&amp; t.params.slidesPerView &gt; 1) if (t.params.centeredSlides) (t.visibleSlides || d([])).each((e =&gt; { s.push(e) })); else for (i = 0; i &lt; Math.ceil(t.params.slidesPerView); i += 1) { const e = t.activeIndex + i; if (e &gt; t.slides.length &amp;&amp; !a) break; s.push(n(e)) } else s.push(n(t.activeIndex)); for (i = 0; i &lt; s.length; i += 1)if (void 0 !== s[i]) { const e = s[i].offsetHeight; r = e &gt; r ? e : r } (r || 0 === r) &amp;&amp; t.$wrapperEl.css("height", `${r}px`) }, updateSlidesOffset: function () { const e = this, t = e.slides; for (let s = 0; s &lt; t.length; s += 1)t[s].swiperSlideOffset = e.isHorizontal() ? t[s].offsetLeft : t[s].offsetTop }, updateSlidesProgress: function (e) { void 0 === e &amp;&amp; (e = this &amp;&amp; this.translate || 0); const t = this, s = t.params, { slides: a, rtlTranslate: i, snapGrid: r } = t; if (0 === a.length) return; void 0 === a[0].swiperSlideOffset &amp;&amp; t.updateSlidesOffset(); let n = -e; i &amp;&amp; (n = e), a.removeClass(s.slideVisibleClass), t.visibleSlidesIndexes = [], t.visibleSlides = []; for (let e = 0; e &lt; a.length; e += 1) { const l = a[e]; let o = l.swiperSlideOffset; s.cssMode &amp;&amp; s.centeredSlides &amp;&amp; (o -= a[0].swiperSlideOffset); const d = (n + (s.centeredSlides ? t.minTranslate() : 0) - o) / (l.swiperSlideSize + s.spaceBetween), c = (n - r[0] + (s.centeredSlides ? t.minTranslate() : 0) - o) / (l.swiperSlideSize + s.spaceBetween), p = -(n - o), u = p + t.slidesSizesGrid[e]; (p &gt;= 0 &amp;&amp; p &lt; t.size - 1 || u &gt; 1 &amp;&amp; u &lt;= t.size || p &lt;= 0 &amp;&amp; u &gt;= t.size) &amp;&amp; (t.visibleSlides.push(l), t.visibleSlidesIndexes.push(e), a.eq(e).addClass(s.slideVisibleClass)), l.progress = i ? -d : d, l.originalProgress = i ? -c : c } t.visibleSlides = d(t.visibleSlides) }, updateProgress: function (e) { const t = this; if (void 0 === e) { const s = t.rtlTranslate ? -1 : 1; e = t &amp;&amp; t.translate &amp;&amp; t.translate * s || 0 } const s = t.params, a = t.maxTranslate() - t.minTranslate(); let { progress: i, isBeginning: r, isEnd: n } = t; const l = r, o = n; 0 === a ? (i = 0, r = !0, n = !0) : (i = (e - t.minTranslate()) / a, r = i &lt;= 0, n = i &gt;= 1), Object.assign(t, { progress: i, isBeginning: r, isEnd: n }), (s.watchSlidesProgress || s.centeredSlides &amp;&amp; s.autoHeight) &amp;&amp; t.updateSlidesProgress(e), r &amp;&amp; !l &amp;&amp; t.emit("reachBeginning toEdge"), n &amp;&amp; !o &amp;&amp; t.emit("reachEnd toEdge"), (l &amp;&amp; !r || o &amp;&amp; !n) &amp;&amp; t.emit("fromEdge"), t.emit("progress", i) }, updateSlidesClasses: function () { const e = this, { slides: t, params: s, $wrapperEl: a, activeIndex: i, realIndex: r } = e, n = e.virtual &amp;&amp; s.virtual.enabled; let l; t.removeClass(`${s.slideActiveClass} ${s.slideNextClass} ${s.slidePrevClass} ${s.slideDuplicateActiveClass} ${s.slideDuplicateNextClass} ${s.slideDuplicatePrevClass}`), l = n ? e.$wrapperEl.find(`.${s.slideClass}[data-swiper-slide-index="${i}"]`) : t.eq(i), l.addClass(s.slideActiveClass), s.loop &amp;&amp; (l.hasClass(s.slideDuplicateClass) ? a.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${r}"]`).addClass(s.slideDuplicateActiveClass) : a.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${r}"]`).addClass(s.slideDuplicateActiveClass)); let o = l.nextAll(`.${s.slideClass}`).eq(0).addClass(s.slideNextClass); s.loop &amp;&amp; 0 === o.length &amp;&amp; (o = t.eq(0), o.addClass(s.slideNextClass)); let d = l.prevAll(`.${s.slideClass}`).eq(0).addClass(s.slidePrevClass); s.loop &amp;&amp; 0 === d.length &amp;&amp; (d = t.eq(-1), d.addClass(s.slidePrevClass)), s.loop &amp;&amp; (o.hasClass(s.slideDuplicateClass) ? a.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicateNextClass) : a.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicateNextClass), d.hasClass(s.slideDuplicateClass) ? a.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${d.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicatePrevClass) : a.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${d.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicatePrevClass)), e.emitSlidesClasses() }, updateActiveIndex: function (e) { const t = this, s = t.rtlTranslate ? t.translate : -t.translate, { slidesGrid: a, snapGrid: i, params: r, activeIndex: n, realIndex: l, snapIndex: o } = t; let d, c = e; if (void 0 === c) { for (let e = 0; e &lt; a.length; e += 1)void 0 !== a[e + 1] ? s &gt;= a[e] &amp;&amp; s &lt; a[e + 1] - (a[e + 1] - a[e]) / 2 ? c = e : s &gt;= a[e] &amp;&amp; s &lt; a[e + 1] &amp;&amp; (c = e + 1) : s &gt;= a[e] &amp;&amp; (c = e); r.normalizeSlideIndex &amp;&amp; (c &lt; 0 || void 0 === c) &amp;&amp; (c = 0) } if (i.indexOf(s) &gt;= 0) d = i.indexOf(s); else { const e = Math.min(r.slidesPerGroupSkip, c); d = e + Math.floor((c - e) / r.slidesPerGroup) } if (d &gt;= i.length &amp;&amp; (d = i.length - 1), c === n) return void (d !== o &amp;&amp; (t.snapIndex = d, t.emit("snapIndexChange"))); const p = parseInt(t.slides.eq(c).attr("data-swiper-slide-index") || c, 10); Object.assign(t, { snapIndex: d, realIndex: p, previousIndex: n, activeIndex: c }), t.emit("activeIndexChange"), t.emit("snapIndexChange"), l !== p &amp;&amp; t.emit("realIndexChange"), (t.initialized || t.params.runCallbacksOnInit) &amp;&amp; t.emit("slideChange") }, updateClickedSlide: function (e) { const t = this, s = t.params, a = d(e).closest(`.${s.slideClass}`)[0]; let i, r = !1; if (a) for (let e = 0; e &lt; t.slides.length; e += 1)if (t.slides[e] === a) { r = !0, i = e; break } if (!a || !r) return t.clickedSlide = void 0, void (t.clickedIndex = void 0); t.clickedSlide = a, t.virtual &amp;&amp; t.params.virtual.enabled ? t.clickedIndex = parseInt(d(a).attr("data-swiper-slide-index"), 10) : t.clickedIndex = i, s.slideToClickedSlide &amp;&amp; void 0 !== t.clickedIndex &amp;&amp; t.clickedIndex !== t.activeIndex &amp;&amp; t.slideToClickedSlide() } }; var M = { getTranslate: function (e) { void 0 === e &amp;&amp; (e = this.isHorizontal() ? "x" : "y"); const { params: t, rtlTranslate: s, translate: a, $wrapperEl: i } = this; if (t.virtualTranslate) return s ? -a : a; if (t.cssMode) return a; let r = h(i[0], e); return s &amp;&amp; (r = -r), r || 0 }, setTranslate: function (e, t) { const s = this, { rtlTranslate: a, params: i, $wrapperEl: r, wrapperEl: n, progress: l } = s; let o, d = 0, c = 0; s.isHorizontal() ? d = a ? -e : e : c = e, i.roundLengths &amp;&amp; (d = Math.floor(d), c = Math.floor(c)), i.cssMode ? n[s.isHorizontal() ? "scrollLeft" : "scrollTop"] = s.isHorizontal() ? -d : -c : i.virtualTranslate || r.transform(`translate3d(${d}px, ${c}px, 0px)`), s.previousTranslate = s.translate, s.translate = s.isHorizontal() ? d : c; const p = s.maxTranslate() - s.minTranslate(); o = 0 === p ? 0 : (e - s.minTranslate()) / p, o !== l &amp;&amp; s.updateProgress(e), s.emit("setTranslate", s.translate, t) }, minTranslate: function () { return -this.snapGrid[0] }, maxTranslate: function () { return -this.snapGrid[this.snapGrid.length - 1] }, translateTo: function (e, t, s, a, i) { void 0 === e &amp;&amp; (e = 0), void 0 === t &amp;&amp; (t = this.params.speed), void 0 === s &amp;&amp; (s = !0), void 0 === a &amp;&amp; (a = !0); const r = this, { params: n, wrapperEl: l } = r; if (r.animating &amp;&amp; n.preventInteractionOnTransition) return !1; const o = r.minTranslate(), d = r.maxTranslate(); let c; if (c = a &amp;&amp; e &gt; o ? o : a &amp;&amp; e &lt; d ? d : e, r.updateProgress(c), n.cssMode) { const e = r.isHorizontal(); if (0 === t) l[e ? "scrollLeft" : "scrollTop"] = -c; else { if (!r.support.smoothScroll) return w({ swiper: r, targetPosition: -c, side: e ? "left" : "top" }), !0; l.scrollTo({ [e ? "left" : "top"]: -c, behavior: "smooth" }) } return !0 } return 0 === t ? (r.setTransition(0), r.setTranslate(c), s &amp;&amp; (r.emit("beforeTransitionStart", t, i), r.emit("transitionEnd"))) : (r.setTransition(t), r.setTranslate(c), s &amp;&amp; (r.emit("beforeTransitionStart", t, i), r.emit("transitionStart")), r.animating || (r.animating = !0, r.onTranslateToWrapperTransitionEnd || (r.onTranslateToWrapperTransitionEnd = function (e) { r &amp;&amp; !r.destroyed &amp;&amp; e.target === this &amp;&amp; (r.$wrapperEl[0].removeEventListener("transitionend", r.onTranslateToWrapperTransitionEnd), r.$wrapperEl[0].removeEventListener("webkitTransitionEnd", r.onTranslateToWrapperTransitionEnd), r.onTranslateToWrapperTransitionEnd = null, delete r.onTranslateToWrapperTransitionEnd, s &amp;&amp; r.emit("transitionEnd")) }), r.$wrapperEl[0].addEventListener("transitionend", r.onTranslateToWrapperTransitionEnd), r.$wrapperEl[0].addEventListener("webkitTransitionEnd", r.onTranslateToWrapperTransitionEnd))), !0 } }; function P(e) { let { swiper: t, runCallbacks: s, direction: a, step: i } = e; const { activeIndex: r, previousIndex: n } = t; let l = a; if (l || (l = r &gt; n ? "next" : r &lt; n ? "prev" : "reset"), t.emit(`transition${i}`), s &amp;&amp; r !== n) { if ("reset" === l) return void t.emit(`slideResetTransition${i}`); t.emit(`slideChangeTransition${i}`), "next" === l ? t.emit(`slideNextTransition${i}`) : t.emit(`slidePrevTransition${i}`) } } var k = { slideTo: function (e, t, s, a, i) { if (void 0 === e &amp;&amp; (e = 0), void 0 === t &amp;&amp; (t = this.params.speed), void 0 === s &amp;&amp; (s = !0), "number" != typeof e &amp;&amp; "string" != typeof e) throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`); if ("string" == typeof e) { const t = parseInt(e, 10); if (!isFinite(t)) throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`); e = t } const r = this; let n = e; n &lt; 0 &amp;&amp; (n = 0); const { params: l, snapGrid: o, slidesGrid: d, previousIndex: c, activeIndex: p, rtlTranslate: u, wrapperEl: h, enabled: m } = r; if (r.animating &amp;&amp; l.preventInteractionOnTransition || !m &amp;&amp; !a &amp;&amp; !i) return !1; const f = Math.min(r.params.slidesPerGroupSkip, n); let g = f + Math.floor((n - f) / r.params.slidesPerGroup); g &gt;= o.length &amp;&amp; (g = o.length - 1), (p || l.initialSlide || 0) === (c || 0) &amp;&amp; s &amp;&amp; r.emit("beforeSlideChangeStart"); const v = -o[g]; if (r.updateProgress(v), l.normalizeSlideIndex) for (let e = 0; e &lt; d.length; e += 1) { const t = -Math.floor(100 * v), s = Math.floor(100 * d[e]), a = Math.floor(100 * d[e + 1]); void 0 !== d[e + 1] ? t &gt;= s &amp;&amp; t &lt; a - (a - s) / 2 ? n = e : t &gt;= s &amp;&amp; t &lt; a &amp;&amp; (n = e + 1) : t &gt;= s &amp;&amp; (n = e) } if (r.initialized &amp;&amp; n !== p) { if (!r.allowSlideNext &amp;&amp; v &lt; r.translate &amp;&amp; v &lt; r.minTranslate()) return !1; if (!r.allowSlidePrev &amp;&amp; v &gt; r.translate &amp;&amp; v &gt; r.maxTranslate() &amp;&amp; (p || 0) !== n) return !1 } let b; if (b = n &gt; p ? "next" : n &lt; p ? "prev" : "reset", u &amp;&amp; -v === r.translate || !u &amp;&amp; v === r.translate) return r.updateActiveIndex(n), l.autoHeight &amp;&amp; r.updateAutoHeight(), r.updateSlidesClasses(), "slide" !== l.effect &amp;&amp; r.setTranslate(v), "reset" !== b &amp;&amp; (r.transitionStart(s, b), r.transitionEnd(s, b)), !1; if (l.cssMode) { const e = r.isHorizontal(), s = u ? v : -v; if (0 === t) { const t = r.virtual &amp;&amp; r.params.virtual.enabled; t &amp;&amp; (r.wrapperEl.style.scrollSnapType = "none", r._immediateVirtual = !0), h[e ? "scrollLeft" : "scrollTop"] = s, t &amp;&amp; requestAnimationFrame((() =&gt; { r.wrapperEl.style.scrollSnapType = "", r._swiperImmediateVirtual = !1 })) } else { if (!r.support.smoothScroll) return w({ swiper: r, targetPosition: s, side: e ? "left" : "top" }), !0; h.scrollTo({ [e ? "left" : "top"]: s, behavior: "smooth" }) } return !0 } return r.setTransition(t), r.setTranslate(v), r.updateActiveIndex(n), r.updateSlidesClasses(), r.emit("beforeTransitionStart", t, a), r.transitionStart(s, b), 0 === t ? r.transitionEnd(s, b) : r.animating || (r.animating = !0, r.onSlideToWrapperTransitionEnd || (r.onSlideToWrapperTransitionEnd = function (e) { r &amp;&amp; !r.destroyed &amp;&amp; e.target === this &amp;&amp; (r.$wrapperEl[0].removeEventListener("transitionend", r.onSlideToWrapperTransitionEnd), r.$wrapperEl[0].removeEventListener("webkitTransitionEnd", r.onSlideToWrapperTransitionEnd), r.onSlideToWrapperTransitionEnd = null, delete r.onSlideToWrapperTransitionEnd, r.transitionEnd(s, b)) }), r.$wrapperEl[0].addEventListener("transitionend", r.onSlideToWrapperTransitionEnd), r.$wrapperEl[0].addEventListener("webkitTransitionEnd", r.onSlideToWrapperTransitionEnd)), !0 }, slideToLoop: function (e, t, s, a) { if (void 0 === e &amp;&amp; (e = 0), void 0 === t &amp;&amp; (t = this.params.speed), void 0 === s &amp;&amp; (s = !0), "string" == typeof e) { const t = parseInt(e, 10); if (!isFinite(t)) throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`); e = t } const i = this; let r = e; return i.params.loop &amp;&amp; (r += i.loopedSlides), i.slideTo(r, t, s, a) }, slideNext: function (e, t, s) { void 0 === e &amp;&amp; (e = this.params.speed), void 0 === t &amp;&amp; (t = !0); const a = this, { animating: i, enabled: r, params: n } = a; if (!r) return a; let l = n.slidesPerGroup; "auto" === n.slidesPerView &amp;&amp; 1 === n.slidesPerGroup &amp;&amp; n.slidesPerGroupAuto &amp;&amp; (l = Math.max(a.slidesPerViewDynamic("current", !0), 1)); const o = a.activeIndex &lt; n.slidesPerGroupSkip ? 1 : l; if (n.loop) { if (i &amp;&amp; n.loopPreventsSlide) return !1; a.loopFix(), a._clientLeft = a.$wrapperEl[0].clientLeft } return n.rewind &amp;&amp; a.isEnd ? a.slideTo(0, e, t, s) : a.slideTo(a.activeIndex + o, e, t, s) }, slidePrev: function (e, t, s) { void 0 === e &amp;&amp; (e = this.params.speed), void 0 === t &amp;&amp; (t = !0); const a = this, { params: i, animating: r, snapGrid: n, slidesGrid: l, rtlTranslate: o, enabled: d } = a; if (!d) return a; if (i.loop) { if (r &amp;&amp; i.loopPreventsSlide) return !1; a.loopFix(), a._clientLeft = a.$wrapperEl[0].clientLeft } function c(e) { return e &lt; 0 ? -Math.floor(Math.abs(e)) : Math.floor(e) } const p = c(o ? a.translate : -a.translate), u = n.map((e =&gt; c(e))); let h = n[u.indexOf(p) - 1]; if (void 0 === h &amp;&amp; i.cssMode) { let e; n.forEach(((t, s) =&gt; { p &gt;= t &amp;&amp; (e = s) })), void 0 !== e &amp;&amp; (h = n[e &gt; 0 ? e - 1 : e]) } let m = 0; if (void 0 !== h &amp;&amp; (m = l.indexOf(h), m &lt; 0 &amp;&amp; (m = a.activeIndex - 1), "auto" === i.slidesPerView &amp;&amp; 1 === i.slidesPerGroup &amp;&amp; i.slidesPerGroupAuto &amp;&amp; (m = m - a.slidesPerViewDynamic("previous", !0) + 1, m = Math.max(m, 0))), i.rewind &amp;&amp; a.isBeginning) { const i = a.params.virtual &amp;&amp; a.params.virtual.enabled &amp;&amp; a.virtual ? a.virtual.slides.length - 1 : a.slides.length - 1; return a.slideTo(i, e, t, s) } return a.slideTo(m, e, t, s) }, slideReset: function (e, t, s) { return void 0 === e &amp;&amp; (e = this.params.speed), void 0 === t &amp;&amp; (t = !0), this.slideTo(this.activeIndex, e, t, s) }, slideToClosest: function (e, t, s, a) { void 0 === e &amp;&amp; (e = this.params.speed), void 0 === t &amp;&amp; (t = !0), void 0 === a &amp;&amp; (a = .5); const i = this; let r = i.activeIndex; const n = Math.min(i.params.slidesPerGroupSkip, r), l = n + Math.floor((r - n) / i.params.slidesPerGroup), o = i.rtlTranslate ? i.translate : -i.translate; if (o &gt;= i.snapGrid[l]) { const e = i.snapGrid[l]; o - e &gt; (i.snapGrid[l + 1] - e) * a &amp;&amp; (r += i.params.slidesPerGroup) } else { const e = i.snapGrid[l - 1]; o - e &lt;= (i.snapGrid[l] - e) * a &amp;&amp; (r -= i.params.slidesPerGroup) } return r = Math.max(r, 0), r = Math.min(r, i.slidesGrid.length - 1), i.slideTo(r, e, t, s) }, slideToClickedSlide: function () { const e = this, { params: t, $wrapperEl: s } = e, a = "auto" === t.slidesPerView ? e.slidesPerViewDynamic() : t.slidesPerView; let i, r = e.clickedIndex; if (t.loop) { if (e.animating) return; i = parseInt(d(e.clickedSlide).attr("data-swiper-slide-index"), 10), t.centeredSlides ? r &lt; e.loopedSlides - a / 2 || r &gt; e.slides.length - e.loopedSlides + a / 2 ? (e.loopFix(), r = s.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(), p((() =&gt; { e.slideTo(r) }))) : e.slideTo(r) : r &gt; e.slides.length - a ? (e.loopFix(), r = s.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(), p((() =&gt; { e.slideTo(r) }))) : e.slideTo(r) } else e.slideTo(r) } }; var z = { loopCreate: function () { const e = this, t = a(), { params: s, $wrapperEl: i } = e, r = i.children().length &gt; 0 ? d(i.children()[0].parentNode) : i; r.children(`.${s.slideClass}.${s.slideDuplicateClass}`).remove(); let n = r.children(`.${s.slideClass}`); if (s.loopFillGroupWithBlank) { const e = s.slidesPerGroup - n.length % s.slidesPerGroup; if (e !== s.slidesPerGroup) { for (let a = 0; a &lt; e; a += 1) { const e = d(t.createElement("div")).addClass(`${s.slideClass} ${s.slideBlankClass}`); r.append(e) } n = r.children(`.${s.slideClass}`) } } "auto" !== s.slidesPerView || s.loopedSlides || (s.loopedSlides = n.length), e.loopedSlides = Math.ceil(parseFloat(s.loopedSlides || s.slidesPerView, 10)), e.loopedSlides += s.loopAdditionalSlides, e.loopedSlides &gt; n.length &amp;&amp; e.params.loopedSlidesLimit &amp;&amp; (e.loopedSlides = n.length); const l = [], o = []; n.each(((e, t) =&gt; { d(e).attr("data-swiper-slide-index", t) })); for (let t = 0; t &lt; e.loopedSlides; t += 1) { const e = t - Math.floor(t / n.length) * n.length; o.push(n.eq(e)[0]), l.unshift(n.eq(n.length - e - 1)[0]) } for (let e = 0; e &lt; o.length; e += 1)r.append(d(o[e].cloneNode(!0)).addClass(s.slideDuplicateClass)); for (let e = l.length - 1; e &gt;= 0; e -= 1)r.prepend(d(l[e].cloneNode(!0)).addClass(s.slideDuplicateClass)) }, loopFix: function () { const e = this; e.emit("beforeLoopFix"); const { activeIndex: t, slides: s, loopedSlides: a, allowSlidePrev: i, allowSlideNext: r, snapGrid: n, rtlTranslate: l } = e; let o; e.allowSlidePrev = !0, e.allowSlideNext = !0; const d = -n[t] - e.getTranslate(); if (t &lt; a) { o = s.length - 3 * a + t, o += a; e.slideTo(o, 0, !1, !0) &amp;&amp; 0 !== d &amp;&amp; e.setTranslate((l ? -e.translate : e.translate) - d) } else if (t &gt;= s.length - a) { o = -s.length + t + a, o += a; e.slideTo(o, 0, !1, !0) &amp;&amp; 0 !== d &amp;&amp; e.setTranslate((l ? -e.translate : e.translate) - d) } e.allowSlidePrev = i, e.allowSlideNext = r, e.emit("loopFix") }, loopDestroy: function () { const { $wrapperEl: e, params: t, slides: s } = this; e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(), s.removeAttr("data-swiper-slide-index") } }; function L(e) { const t = this, s = a(), i = r(), n = t.touchEventsData, { params: l, touches: o, enabled: c } = t; if (!c) return; if (t.animating &amp;&amp; l.preventInteractionOnTransition) return; !t.animating &amp;&amp; l.cssMode &amp;&amp; l.loop &amp;&amp; t.loopFix(); let p = e; p.originalEvent &amp;&amp; (p = p.originalEvent); let h = d(p.target); if ("wrapper" === l.touchEventsTarget &amp;&amp; !h.closest(t.wrapperEl).length) return; if (n.isTouchEvent = "touchstart" === p.type, !n.isTouchEvent &amp;&amp; "which" in p &amp;&amp; 3 === p.which) return; if (!n.isTouchEvent &amp;&amp; "button" in p &amp;&amp; p.button &gt; 0) return; if (n.isTouched &amp;&amp; n.isMoved) return; !!l.noSwipingClass &amp;&amp; "" !== l.noSwipingClass &amp;&amp; p.target &amp;&amp; p.target.shadowRoot &amp;&amp; e.path &amp;&amp; e.path[0] &amp;&amp; (h = d(e.path[0])); const m = l.noSwipingSelector ? l.noSwipingSelector : `.${l.noSwipingClass}`, f = !(!p.target || !p.target.shadowRoot); if (l.noSwiping &amp;&amp; (f ? function (e, t) { return void 0 === t &amp;&amp; (t = this), function t(s) { if (!s || s === a() || s === r()) return null; s.assignedSlot &amp;&amp; (s = s.assignedSlot); const i = s.closest(e); return i || s.getRootNode ? i || t(s.getRootNode().host) : null }(t) }(m, h[0]) : h.closest(m)[0])) return void (t.allowClick = !0); if (l.swipeHandler &amp;&amp; !h.closest(l.swipeHandler)[0]) return; o.currentX = "touchstart" === p.type ? p.targetTouches[0].pageX : p.pageX, o.currentY = "touchstart" === p.type ? p.targetTouches[0].pageY : p.pageY; const g = o.currentX, v = o.currentY, w = l.edgeSwipeDetection || l.iOSEdgeSwipeDetection, b = l.edgeSwipeThreshold || l.iOSEdgeSwipeThreshold; if (w &amp;&amp; (g &lt;= b || g &gt;= i.innerWidth - b)) { if ("prevent" !== w) return; e.preventDefault() } if (Object.assign(n, { isTouched: !0, isMoved: !1, allowTouchCallbacks: !0, isScrolling: void 0, startMoving: void 0 }), o.startX = g, o.startY = v, n.touchStartTime = u(), t.allowClick = !0, t.updateSize(), t.swipeDirection = void 0, l.threshold &gt; 0 &amp;&amp; (n.allowThresholdMove = !1), "touchstart" !== p.type) { let e = !0; h.is(n.focusableElements) &amp;&amp; (e = !1, "SELECT" === h[0].nodeName &amp;&amp; (n.isTouched = !1)), s.activeElement &amp;&amp; d(s.activeElement).is(n.focusableElements) &amp;&amp; s.activeElement !== h[0] &amp;&amp; s.activeElement.blur(); const a = e &amp;&amp; t.allowTouchMove &amp;&amp; l.touchStartPreventDefault; !l.touchStartForcePreventDefault &amp;&amp; !a || h[0].isContentEditable || p.preventDefault() } t.params.freeMode &amp;&amp; t.params.freeMode.enabled &amp;&amp; t.freeMode &amp;&amp; t.animating &amp;&amp; !l.cssMode &amp;&amp; t.freeMode.onTouchStart(), t.emit("touchStart", p) } function O(e) { const t = a(), s = this, i = s.touchEventsData, { params: r, touches: n, rtlTranslate: l, enabled: o } = s; if (!o) return; let c = e; if (c.originalEvent &amp;&amp; (c = c.originalEvent), !i.isTouched) return void (i.startMoving &amp;&amp; i.isScrolling &amp;&amp; s.emit("touchMoveOpposite", c)); if (i.isTouchEvent &amp;&amp; "touchmove" !== c.type) return; const p = "touchmove" === c.type &amp;&amp; c.targetTouches &amp;&amp; (c.targetTouches[0] || c.changedTouches[0]), h = "touchmove" === c.type ? p.pageX : c.pageX, m = "touchmove" === c.type ? p.pageY : c.pageY; if (c.preventedByNestedSwiper) return n.startX = h, void (n.startY = m); if (!s.allowTouchMove) return d(c.target).is(i.focusableElements) || (s.allowClick = !1), void (i.isTouched &amp;&amp; (Object.assign(n, { startX: h, startY: m, currentX: h, currentY: m }), i.touchStartTime = u())); if (i.isTouchEvent &amp;&amp; r.touchReleaseOnEdges &amp;&amp; !r.loop) if (s.isVertical()) { if (m &lt; n.startY &amp;&amp; s.translate &lt;= s.maxTranslate() || m &gt; n.startY &amp;&amp; s.translate &gt;= s.minTranslate()) return i.isTouched = !1, void (i.isMoved = !1) } else if (h &lt; n.startX &amp;&amp; s.translate &lt;= s.maxTranslate() || h &gt; n.startX &amp;&amp; s.translate &gt;= s.minTranslate()) return; if (i.isTouchEvent &amp;&amp; t.activeElement &amp;&amp; c.target === t.activeElement &amp;&amp; d(c.target).is(i.focusableElements)) return i.isMoved = !0, void (s.allowClick = !1); if (i.allowTouchCallbacks &amp;&amp; s.emit("touchMove", c), c.targetTouches &amp;&amp; c.targetTouches.length &gt; 1) return; n.currentX = h, n.currentY = m; const f = n.currentX - n.startX, g = n.currentY - n.startY; if (s.params.threshold &amp;&amp; Math.sqrt(f ** 2 + g ** 2) &lt; s.params.threshold) return; if (void 0 === i.isScrolling) { let e; s.isHorizontal() &amp;&amp; n.currentY === n.startY || s.isVertical() &amp;&amp; n.currentX === n.startX ? i.isScrolling = !1 : f * f + g * g &gt;= 25 &amp;&amp; (e = 180 * Math.atan2(Math.abs(g), Math.abs(f)) / Math.PI, i.isScrolling = s.isHorizontal() ? e &gt; r.touchAngle : 90 - e &gt; r.touchAngle) } if (i.isScrolling &amp;&amp; s.emit("touchMoveOpposite", c), void 0 === i.startMoving &amp;&amp; (n.currentX === n.startX &amp;&amp; n.currentY === n.startY || (i.startMoving = !0)), i.isScrolling) return void (i.isTouched = !1); if (!i.startMoving) return; s.allowClick = !1, !r.cssMode &amp;&amp; c.cancelable &amp;&amp; c.preventDefault(), r.touchMoveStopPropagation &amp;&amp; !r.nested &amp;&amp; c.stopPropagation(), i.isMoved || (r.loop &amp;&amp; !r.cssMode &amp;&amp; s.loopFix(), i.startTranslate = s.getTranslate(), s.setTransition(0), s.animating &amp;&amp; s.$wrapperEl.trigger("webkitTransitionEnd transitionend"), i.allowMomentumBounce = !1, !r.grabCursor || !0 !== s.allowSlideNext &amp;&amp; !0 !== s.allowSlidePrev || s.setGrabCursor(!0), s.emit("sliderFirstMove", c)), s.emit("sliderMove", c), i.isMoved = !0; let v = s.isHorizontal() ? f : g; n.diff = v, v *= r.touchRatio, l &amp;&amp; (v = -v), s.swipeDirection = v &gt; 0 ? "prev" : "next", i.currentTranslate = v + i.startTranslate; let w = !0, b = r.resistanceRatio; if (r.touchReleaseOnEdges &amp;&amp; (b = 0), v &gt; 0 &amp;&amp; i.currentTranslate &gt; s.minTranslate() ? (w = !1, r.resistance &amp;&amp; (i.currentTranslate = s.minTranslate() - 1 + (-s.minTranslate() + i.startTranslate + v) ** b)) : v &lt; 0 &amp;&amp; i.currentTranslate &lt; s.maxTranslate() &amp;&amp; (w = !1, r.resistance &amp;&amp; (i.currentTranslate = s.maxTranslate() + 1 - (s.maxTranslate() - i.startTranslate - v) ** b)), w &amp;&amp; (c.preventedByNestedSwiper = !0), !s.allowSlideNext &amp;&amp; "next" === s.swipeDirection &amp;&amp; i.currentTranslate &lt; i.startTranslate &amp;&amp; (i.currentTranslate = i.startTranslate), !s.allowSlidePrev &amp;&amp; "prev" === s.swipeDirection &amp;&amp; i.currentTranslate &gt; i.startTranslate &amp;&amp; (i.currentTranslate = i.startTranslate), s.allowSlidePrev || s.allowSlideNext || (i.currentTranslate = i.startTranslate), r.threshold &gt; 0) { if (!(Math.abs(v) &gt; r.threshold || i.allowThresholdMove)) return void (i.currentTranslate = i.startTranslate); if (!i.allowThresholdMove) return i.allowThresholdMove = !0, n.startX = n.currentX, n.startY = n.currentY, i.currentTranslate = i.startTranslate, void (n.diff = s.isHorizontal() ? n.currentX - n.startX : n.currentY - n.startY) } r.followFinger &amp;&amp; !r.cssMode &amp;&amp; ((r.freeMode &amp;&amp; r.freeMode.enabled &amp;&amp; s.freeMode || r.watchSlidesProgress) &amp;&amp; (s.updateActiveIndex(), s.updateSlidesClasses()), s.params.freeMode &amp;&amp; r.freeMode.enabled &amp;&amp; s.freeMode &amp;&amp; s.freeMode.onTouchMove(), s.updateProgress(i.currentTranslate), s.setTranslate(i.currentTranslate)) } function I(e) { const t = this, s = t.touchEventsData, { params: a, touches: i, rtlTranslate: r, slidesGrid: n, enabled: l } = t; if (!l) return; let o = e; if (o.originalEvent &amp;&amp; (o = o.originalEvent), s.allowTouchCallbacks &amp;&amp; t.emit("touchEnd", o), s.allowTouchCallbacks = !1, !s.isTouched) return s.isMoved &amp;&amp; a.grabCursor &amp;&amp; t.setGrabCursor(!1), s.isMoved = !1, void (s.startMoving = !1); a.grabCursor &amp;&amp; s.isMoved &amp;&amp; s.isTouched &amp;&amp; (!0 === t.allowSlideNext || !0 === t.allowSlidePrev) &amp;&amp; t.setGrabCursor(!1); const d = u(), c = d - s.touchStartTime; if (t.allowClick) { const e = o.path || o.composedPath &amp;&amp; o.composedPath(); t.updateClickedSlide(e &amp;&amp; e[0] || o.target), t.emit("tap click", o), c &lt; 300 &amp;&amp; d - s.lastClickTime &lt; 300 &amp;&amp; t.emit("doubleTap doubleClick", o) } if (s.lastClickTime = u(), p((() =&gt; { t.destroyed || (t.allowClick = !0) })), !s.isTouched || !s.isMoved || !t.swipeDirection || 0 === i.diff || s.currentTranslate === s.startTranslate) return s.isTouched = !1, s.isMoved = !1, void (s.startMoving = !1); let h; if (s.isTouched = !1, s.isMoved = !1, s.startMoving = !1, h = a.followFinger ? r ? t.translate : -t.translate : -s.currentTranslate, a.cssMode) return; if (t.params.freeMode &amp;&amp; a.freeMode.enabled) return void t.freeMode.onTouchEnd({ currentPos: h }); let m = 0, f = t.slidesSizesGrid[0]; for (let e = 0; e &lt; n.length; e += e &lt; a.slidesPerGroupSkip ? 1 : a.slidesPerGroup) { const t = e &lt; a.slidesPerGroupSkip - 1 ? 1 : a.slidesPerGroup; void 0 !== n[e + t] ? h &gt;= n[e] &amp;&amp; h &lt; n[e + t] &amp;&amp; (m = e, f = n[e + t] - n[e]) : h &gt;= n[e] &amp;&amp; (m = e, f = n[n.length - 1] - n[n.length - 2]) } let g = null, v = null; a.rewind &amp;&amp; (t.isBeginning ? v = t.params.virtual &amp;&amp; t.params.virtual.enabled &amp;&amp; t.virtual ? t.virtual.slides.length - 1 : t.slides.length - 1 : t.isEnd &amp;&amp; (g = 0)); const w = (h - n[m]) / f, b = m &lt; a.slidesPerGroupSkip - 1 ? 1 : a.slidesPerGroup; if (c &gt; a.longSwipesMs) { if (!a.longSwipes) return void t.slideTo(t.activeIndex); "next" === t.swipeDirection &amp;&amp; (w &gt;= a.longSwipesRatio ? t.slideTo(a.rewind &amp;&amp; t.isEnd ? g : m + b) : t.slideTo(m)), "prev" === t.swipeDirection &amp;&amp; (w &gt; 1 - a.longSwipesRatio ? t.slideTo(m + b) : null !== v &amp;&amp; w &lt; 0 &amp;&amp; Math.abs(w) &gt; a.longSwipesRatio ? t.slideTo(v) : t.slideTo(m)) } else { if (!a.shortSwipes) return void t.slideTo(t.activeIndex); t.navigation &amp;&amp; (o.target === t.navigation.nextEl || o.target === t.navigation.prevEl) ? o.target === t.navigation.nextEl ? t.slideTo(m + b) : t.slideTo(m) : ("next" === t.swipeDirection &amp;&amp; t.slideTo(null !== g ? g : m + b), "prev" === t.swipeDirection &amp;&amp; t.slideTo(null !== v ? v : m)) } } function A() { const e = this, { params: t, el: s } = e; if (s &amp;&amp; 0 === s.offsetWidth) return; t.breakpoints &amp;&amp; e.setBreakpoint(); const { allowSlideNext: a, allowSlidePrev: i, snapGrid: r } = e; e.allowSlideNext = !0, e.allowSlidePrev = !0, e.updateSize(), e.updateSlides(), e.updateSlidesClasses(), ("auto" === t.slidesPerView || t.slidesPerView &gt; 1) &amp;&amp; e.isEnd &amp;&amp; !e.isBeginning &amp;&amp; !e.params.centeredSlides ? e.slideTo(e.slides.length - 1, 0, !1, !0) : e.slideTo(e.activeIndex, 0, !1, !0), e.autoplay &amp;&amp; e.autoplay.running &amp;&amp; e.autoplay.paused &amp;&amp; e.autoplay.run(), e.allowSlidePrev = i, e.allowSlideNext = a, e.params.watchOverflow &amp;&amp; r !== e.snapGrid &amp;&amp; e.checkOverflow() } function D(e) { const t = this; t.enabled &amp;&amp; (t.allowClick || (t.params.preventClicks &amp;&amp; e.preventDefault(), t.params.preventClicksPropagation &amp;&amp; t.animating &amp;&amp; (e.stopPropagation(), e.stopImmediatePropagation()))) } function G() { const e = this, { wrapperEl: t, rtlTranslate: s, enabled: a } = e; if (!a) return; let i; e.previousTranslate = e.translate, e.isHorizontal() ? e.translate = -t.scrollLeft : e.translate = -t.scrollTop, 0 === e.translate &amp;&amp; (e.translate = 0), e.updateActiveIndex(), e.updateSlidesClasses(); const r = e.maxTranslate() - e.minTranslate(); i = 0 === r ? 0 : (e.translate - e.minTranslate()) / r, i !== e.progress &amp;&amp; e.updateProgress(s ? -e.translate : e.translate), e.emit("setTranslate", e.translate, !1) } let N = !1; function B() { } const H = (e, t) =&gt; { const s = a(), { params: i, touchEvents: r, el: n, wrapperEl: l, device: o, support: d } = e, c = !!i.nested, p = "on" === t ? "addEventListener" : "removeEventListener", u = t; if (d.touch) { const t = !("touchstart" !== r.start || !d.passiveListener || !i.passiveListeners) &amp;&amp; { passive: !0, capture: !1 }; n[p](r.start, e.onTouchStart, t), n[p](r.move, e.onTouchMove, d.passiveListener ? { passive: !1, capture: c } : c), n[p](r.end, e.onTouchEnd, t), r.cancel &amp;&amp; n[p](r.cancel, e.onTouchEnd, t) } else n[p](r.start, e.onTouchStart, !1), s[p](r.move, e.onTouchMove, c), s[p](r.end, e.onTouchEnd, !1); (i.preventClicks || i.preventClicksPropagation) &amp;&amp; n[p]("click", e.onClick, !0), i.cssMode &amp;&amp; l[p]("scroll", e.onScroll), i.updateOnWindowResize ? e[u](o.ios || o.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", A, !0) : e[u]("observerUpdate", A, !0) }; var X = { attachEvents: function () { const e = this, t = a(), { params: s, support: i } = e; e.onTouchStart = L.bind(e), e.onTouchMove = O.bind(e), e.onTouchEnd = I.bind(e), s.cssMode &amp;&amp; (e.onScroll = G.bind(e)), e.onClick = D.bind(e), i.touch &amp;&amp; !N &amp;&amp; (t.addEventListener("touchstart", B), N = !0), H(e, "on") }, detachEvents: function () { H(this, "off") } }; const Y = (e, t) =&gt; e.grid &amp;&amp; t.grid &amp;&amp; t.grid.rows &gt; 1; var R = { addClasses: function () { const e = this, { classNames: t, params: s, rtl: a, $el: i, device: r, support: n } = e, l = function (e, t) { const s = []; return e.forEach((e =&gt; { "object" == typeof e ? Object.keys(e).forEach((a =&gt; { e[a] &amp;&amp; s.push(t + a) })) : "string" == typeof e &amp;&amp; s.push(t + e) })), s }(["initialized", s.direction, { "pointer-events": !n.touch }, { "free-mode": e.params.freeMode &amp;&amp; s.freeMode.enabled }, { autoheight: s.autoHeight }, { rtl: a }, { grid: s.grid &amp;&amp; s.grid.rows &gt; 1 }, { "grid-column": s.grid &amp;&amp; s.grid.rows &gt; 1 &amp;&amp; "column" === s.grid.fill }, { android: r.android }, { ios: r.ios }, { "css-mode": s.cssMode }, { centered: s.cssMode &amp;&amp; s.centeredSlides }, { "watch-progress": s.watchSlidesProgress }], s.containerModifierClass); t.push(...l), i.addClass([...t].join(" ")), e.emitContainerClasses() }, removeClasses: function () { const { $el: e, classNames: t } = this; e.removeClass(t.join(" ")), this.emitContainerClasses() } }; var W = { init: !0, direction: "horizontal", touchEventsTarget: "wrapper", initialSlide: 0, speed: 300, cssMode: !1, updateOnWindowResize: !0, resizeObserver: !0, 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, autoHeight: !1, setWrapperSize: !1, virtualTranslate: !1, effect: "slide", breakpoints: void 0, breakpointsBase: "window", spaceBetween: 0, slidesPerView: 1, slidesPerGroup: 1, slidesPerGroupSkip: 0, slidesPerGroupAuto: !1, centeredSlides: !1, centeredSlidesBounds: !1, slidesOffsetBefore: 0, slidesOffsetAfter: 0, normalizeSlideIndex: !0, centerInsufficientSlides: !1, watchOverflow: !0, 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, grabCursor: !1, preventClicks: !0, preventClicksPropagation: !0, slideToClickedSlide: !1, preloadImages: !0, updateOnImagesReady: !0, loop: !1, loopAdditionalSlides: 0, loopedSlides: null, loopedSlidesLimit: !0, loopFillGroupWithBlank: !1, loopPreventsSlide: !0, rewind: !1, allowSlidePrev: !0, allowSlideNext: !0, swipeHandler: null, noSwiping: !0, noSwipingClass: "swiper-no-swiping", noSwipingSelector: null, passiveListeners: !0, maxBackfaceHiddenSlides: 10, containerModifierClass: "swiper-", 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 }; function j(e, t) { return function (s) { void 0 === s &amp;&amp; (s = {}); const a = Object.keys(s)[0], i = s[a]; "object" == typeof i &amp;&amp; null !== i ? (["navigation", "pagination", "scrollbar"].indexOf(a) &gt;= 0 &amp;&amp; !0 === e[a] &amp;&amp; (e[a] = { auto: !0 }), a in e &amp;&amp; "enabled" in i ? (!0 === e[a] &amp;&amp; (e[a] = { enabled: !0 }), "object" != typeof e[a] || "enabled" in e[a] || (e[a].enabled = !0), e[a] || (e[a] = { enabled: !1 }), g(t, s)) : g(t, s)) : g(t, s) } } const q = { eventsEmitter: $, update: S, translate: M, transition: { setTransition: function (e, t) { const s = this; s.params.cssMode || s.$wrapperEl.transition(e), s.emit("setTransition", e, t) }, transitionStart: function (e, t) { void 0 === e &amp;&amp; (e = !0); const s = this, { params: a } = s; a.cssMode || (a.autoHeight &amp;&amp; s.updateAutoHeight(), P({ swiper: s, runCallbacks: e, direction: t, step: "Start" })) }, transitionEnd: function (e, t) { void 0 === e &amp;&amp; (e = !0); const s = this, { params: a } = s; s.animating = !1, a.cssMode || (s.setTransition(0), P({ swiper: s, runCallbacks: e, direction: t, step: "End" })) } }, slide: k, loop: z, grabCursor: { setGrabCursor: function (e) { const t = this; if (t.support.touch || !t.params.simulateTouch || t.params.watchOverflow &amp;&amp; t.isLocked || t.params.cssMode) return; const s = "container" === t.params.touchEventsTarget ? t.el : t.wrapperEl; s.style.cursor = "move", s.style.cursor = e ? "grabbing" : "grab" }, unsetGrabCursor: function () { const e = this; e.support.touch || e.params.watchOverflow &amp;&amp; e.isLocked || e.params.cssMode || (e["container" === e.params.touchEventsTarget ? "el" : "wrapperEl"].style.cursor = "") } }, events: X, breakpoints: { setBreakpoint: function () { const e = this, { activeIndex: t, initialized: s, loopedSlides: a = 0, params: i, $el: r } = e, n = i.breakpoints; if (!n || n &amp;&amp; 0 === Object.keys(n).length) return; const l = e.getBreakpoint(n, e.params.breakpointsBase, e.el); if (!l || e.currentBreakpoint === l) return; const o = (l in n ? n[l] : void 0) || e.originalParams, d = Y(e, i), c = Y(e, o), p = i.enabled; d &amp;&amp; !c ? (r.removeClass(`${i.containerModifierClass}grid ${i.containerModifierClass}grid-column`), e.emitContainerClasses()) : !d &amp;&amp; c &amp;&amp; (r.addClass(`${i.containerModifierClass}grid`), (o.grid.fill &amp;&amp; "column" === o.grid.fill || !o.grid.fill &amp;&amp; "column" === i.grid.fill) &amp;&amp; r.addClass(`${i.containerModifierClass}grid-column`), e.emitContainerClasses()), ["navigation", "pagination", "scrollbar"].forEach((t =&gt; { const s = i[t] &amp;&amp; i[t].enabled, a = o[t] &amp;&amp; o[t].enabled; s &amp;&amp; !a &amp;&amp; e[t].disable(), !s &amp;&amp; a &amp;&amp; e[t].enable() })); const u = o.direction &amp;&amp; o.direction !== i.direction, h = i.loop &amp;&amp; (o.slidesPerView !== i.slidesPerView || u); u &amp;&amp; s &amp;&amp; e.changeDirection(), g(e.params, o); const m = e.params.enabled; Object.assign(e, { allowTouchMove: e.params.allowTouchMove, allowSlideNext: e.params.allowSlideNext, allowSlidePrev: e.params.allowSlidePrev }), p &amp;&amp; !m ? e.disable() : !p &amp;&amp; m &amp;&amp; e.enable(), e.currentBreakpoint = l, e.emit("_beforeBreakpoint", o), h &amp;&amp; s &amp;&amp; (e.loopDestroy(), e.loopCreate(), e.updateSlides(), e.slideTo(t - a + e.loopedSlides, 0, !1)), e.emit("breakpoint", o) }, getBreakpoint: function (e, t, s) { if (void 0 === t &amp;&amp; (t = "window"), !e || "container" === t &amp;&amp; !s) return; let a = !1; const i = r(), n = "window" === t ? i.innerHeight : s.clientHeight, l = Object.keys(e).map((e =&gt; { if ("string" == typeof e &amp;&amp; 0 === e.indexOf("@")) { const t = parseFloat(e.substr(1)); return { value: n * t, point: e } } return { value: e, point: e } })); l.sort(((e, t) =&gt; parseInt(e.value, 10) - parseInt(t.value, 10))); for (let e = 0; e &lt; l.length; e += 1) { const { point: r, value: n } = l[e]; "window" === t ? i.matchMedia(`(min-width: ${n}px)`).matches &amp;&amp; (a = r) : n &lt;= s.clientWidth &amp;&amp; (a = r) } return a || "max" } }, checkOverflow: { checkOverflow: function () { const e = this, { isLocked: t, params: s } = e, { slidesOffsetBefore: a } = s; if (a) { const t = e.slides.length - 1, s = e.slidesGrid[t] + e.slidesSizesGrid[t] + 2 * a; e.isLocked = e.size &gt; s } else e.isLocked = 1 === e.snapGrid.length; !0 === s.allowSlideNext &amp;&amp; (e.allowSlideNext = !e.isLocked), !0 === s.allowSlidePrev &amp;&amp; (e.allowSlidePrev = !e.isLocked), t &amp;&amp; t !== e.isLocked &amp;&amp; (e.isEnd = !1), t !== e.isLocked &amp;&amp; e.emit(e.isLocked ? "lock" : "unlock") } }, classes: R, images: { loadImage: function (e, t, s, a, i, n) { const l = r(); let o; function c() { n &amp;&amp; n() } d(e).parent("picture")[0] || e.complete &amp;&amp; i ? c() : t ? (o = new l.Image, o.onload = c, o.onerror = c, a &amp;&amp; (o.sizes = a), s &amp;&amp; (o.srcset = s), t &amp;&amp; (o.src = t)) : c() }, preloadImages: function () { const e = this; function t() { null != e &amp;&amp; e &amp;&amp; !e.destroyed &amp;&amp; (void 0 !== e.imagesLoaded &amp;&amp; (e.imagesLoaded += 1), e.imagesLoaded === e.imagesToLoad.length &amp;&amp; (e.params.updateOnImagesReady &amp;&amp; e.update(), e.emit("imagesReady"))) } e.imagesToLoad = e.$el.find("img"); for (let s = 0; s &lt; e.imagesToLoad.length; s += 1) { const a = e.imagesToLoad[s]; e.loadImage(a, a.currentSrc || a.getAttribute("src"), a.srcset || a.getAttribute("srcset"), a.sizes || a.getAttribute("sizes"), !0, t) } } } }, _ = {}; class V { constructor() { let e, t; for (var s = arguments.length, a = new Array(s), i = 0; i &lt; s; i++)a[i] = arguments[i]; if (1 === a.length &amp;&amp; a[0].constructor &amp;&amp; "Object" === Object.prototype.toString.call(a[0]).slice(8, -1) ? t = a[0] : [e, t] = a, t || (t = {}), t = g({}, t), e &amp;&amp; !t.el &amp;&amp; (t.el = e), t.el &amp;&amp; d(t.el).length &gt; 1) { const e = []; return d(t.el).each((s =&gt; { const a = g({}, t, { el: s }); e.push(new V(a)) })), e } const r = this; r.__swiper__ = !0, r.support = E(), r.device = C({ userAgent: t.userAgent }), r.browser = T(), r.eventsListeners = {}, r.eventsAnyListeners = [], r.modules = [...r.__modules__], t.modules &amp;&amp; Array.isArray(t.modules) &amp;&amp; r.modules.push(...t.modules); const n = {}; r.modules.forEach((e =&gt; { e({ swiper: r, extendParams: j(t, n), on: r.on.bind(r), once: r.once.bind(r), off: r.off.bind(r), emit: r.emit.bind(r) }) })); const l = g({}, W, n); return r.params = g({}, l, _, t), r.originalParams = g({}, r.params), r.passedParams = g({}, t), r.params &amp;&amp; r.params.on &amp;&amp; Object.keys(r.params.on).forEach((e =&gt; { r.on(e, r.params.on[e]) })), r.params &amp;&amp; r.params.onAny &amp;&amp; r.onAny(r.params.onAny), r.$ = d, Object.assign(r, { enabled: r.params.enabled, el: e, classNames: [], slides: d(), slidesGrid: [], snapGrid: [], slidesSizesGrid: [], isHorizontal: () =&gt; "horizontal" === r.params.direction, isVertical: () =&gt; "vertical" === r.params.direction, activeIndex: 0, realIndex: 0, isBeginning: !0, isEnd: !1, translate: 0, previousTranslate: 0, progress: 0, velocity: 0, animating: !1, allowSlideNext: r.params.allowSlideNext, allowSlidePrev: r.params.allowSlidePrev, touchEvents: function () { const e = ["touchstart", "touchmove", "touchend", "touchcancel"], t = ["pointerdown", "pointermove", "pointerup"]; return r.touchEventsTouch = { start: e[0], move: e[1], end: e[2], cancel: e[3] }, r.touchEventsDesktop = { start: t[0], move: t[1], end: t[2] }, r.support.touch || !r.params.simulateTouch ? r.touchEventsTouch : r.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: r.params.focusableElements, lastClickTime: u(), clickTimeout: void 0, velocities: [], allowMomentumBounce: void 0, isTouchEvent: void 0, startMoving: void 0 }, allowClick: !0, allowTouchMove: r.params.allowTouchMove, touches: { startX: 0, startY: 0, currentX: 0, currentY: 0, diff: 0 }, imagesToLoad: [], imagesLoaded: 0 }), r.emit("_swiper"), r.params.init &amp;&amp; r.init(), r } enable() { const e = this; e.enabled || (e.enabled = !0, e.params.grabCursor &amp;&amp; e.setGrabCursor(), e.emit("enable")) } disable() { const e = this; e.enabled &amp;&amp; (e.enabled = !1, e.params.grabCursor &amp;&amp; e.unsetGrabCursor(), e.emit("disable")) } setProgress(e, t) { const s = this; e = Math.min(Math.max(e, 0), 1); const a = s.minTranslate(), i = (s.maxTranslate() - a) * e + a; s.translateTo(i, void 0 === t ? 0 : t), s.updateActiveIndex(), s.updateSlidesClasses() } emitContainerClasses() { const e = this; if (!e.params._emitClasses || !e.el) return; const t = e.el.className.split(" ").filter((t =&gt; 0 === t.indexOf("swiper") || 0 === t.indexOf(e.params.containerModifierClass))); e.emit("_containerClasses", t.join(" ")) } getSlideClasses(e) { const t = this; return t.destroyed ? "" : e.className.split(" ").filter((e =&gt; 0 === e.indexOf("swiper-slide") || 0 === e.indexOf(t.params.slideClass))).join(" ") } emitSlidesClasses() { const e = this; if (!e.params._emitClasses || !e.el) return; const t = []; e.slides.each((s =&gt; { const a = e.getSlideClasses(s); t.push({ slideEl: s, classNames: a }), e.emit("_slideClass", s, a) })), e.emit("_slideClasses", t) } slidesPerViewDynamic(e, t) { void 0 === e &amp;&amp; (e = "current"), void 0 === t &amp;&amp; (t = !1); const { params: s, slides: a, slidesGrid: i, slidesSizesGrid: r, size: n, activeIndex: l } = this; let o = 1; if (s.centeredSlides) { let e, t = a[l].swiperSlideSize; for (let s = l + 1; s &lt; a.length; s += 1)a[s] &amp;&amp; !e &amp;&amp; (t += a[s].swiperSlideSize, o += 1, t &gt; n &amp;&amp; (e = !0)); for (let s = l - 1; s &gt;= 0; s -= 1)a[s] &amp;&amp; !e &amp;&amp; (t += a[s].swiperSlideSize, o += 1, t &gt; n &amp;&amp; (e = !0)) } else if ("current" === e) for (let e = l + 1; e &lt; a.length; e += 1) { (t ? i[e] + r[e] - i[l] &lt; n : i[e] - i[l] &lt; n) &amp;&amp; (o += 1) } else for (let e = l - 1; e &gt;= 0; e -= 1) { i[l] - i[e] &lt; n &amp;&amp; (o += 1) } return o } update() { const e = this; if (!e || e.destroyed) return; const { snapGrid: t, params: s } = e; function a() { const t = e.rtlTranslate ? -1 * e.translate : e.translate, s = Math.min(Math.max(t, e.maxTranslate()), e.minTranslate()); e.setTranslate(s), e.updateActiveIndex(), e.updateSlidesClasses() } let i; s.breakpoints &amp;&amp; e.setBreakpoint(), e.updateSize(), e.updateSlides(), e.updateProgress(), e.updateSlidesClasses(), e.params.freeMode &amp;&amp; e.params.freeMode.enabled ? (a(), e.params.autoHeight &amp;&amp; e.updateAutoHeight()) : (i = ("auto" === e.params.slidesPerView || e.params.slidesPerView &gt; 1) &amp;&amp; e.isEnd &amp;&amp; !e.params.centeredSlides ? e.slideTo(e.slides.length - 1, 0, !1, !0) : e.slideTo(e.activeIndex, 0, !1, !0), i || a()), s.watchOverflow &amp;&amp; t !== e.snapGrid &amp;&amp; e.checkOverflow(), e.emit("update") } changeDirection(e, t) { void 0 === t &amp;&amp; (t = !0); const s = this, a = s.params.direction; return e || (e = "horizontal" === a ? "vertical" : "horizontal"), e === a || "horizontal" !== e &amp;&amp; "vertical" !== e || (s.$el.removeClass(`${s.params.containerModifierClass}${a}`).addClass(`${s.params.containerModifierClass}${e}`), s.emitContainerClasses(), s.params.direction = e, s.slides.each((t =&gt; { "vertical" === e ? t.style.width = "" : t.style.height = "" })), s.emit("changeDirection"), t &amp;&amp; s.update()), s } changeLanguageDirection(e) { const t = this; t.rtl &amp;&amp; "rtl" === e || !t.rtl &amp;&amp; "ltr" === e || (t.rtl = "rtl" === e, t.rtlTranslate = "horizontal" === t.params.direction &amp;&amp; t.rtl, t.rtl ? (t.$el.addClass(`${t.params.containerModifierClass}rtl`), t.el.dir = "rtl") : (t.$el.removeClass(`${t.params.containerModifierClass}rtl`), t.el.dir = "ltr"), t.update()) } mount(e) { const t = this; if (t.mounted) return !0; const s = d(e || t.params.el); if (!(e = s[0])) return !1; e.swiper = t; const i = () =&gt; `.${(t.params.wrapperClass || "").trim().split(" ").join(".")}`; let r = (() =&gt; { if (e &amp;&amp; e.shadowRoot &amp;&amp; e.shadowRoot.querySelector) { const t = d(e.shadowRoot.querySelector(i())); return t.children = e =&gt; s.children(e), t } return s.children ? s.children(i()) : d(s).children(i()) })(); if (0 === r.length &amp;&amp; t.params.createElements) { const e = a().createElement("div"); r = d(e), e.className = t.params.wrapperClass, s.append(e), s.children(`.${t.params.slideClass}`).each((e =&gt; { r.append(e) })) } return Object.assign(t, { $el: s, el: e, $wrapperEl: r, wrapperEl: r[0], mounted: !0, rtl: "rtl" === e.dir.toLowerCase() || "rtl" === s.css("direction"), rtlTranslate: "horizontal" === t.params.direction &amp;&amp; ("rtl" === e.dir.toLowerCase() || "rtl" === s.css("direction")), wrongRTL: "-webkit-box" === r.css("display") }), !0 } init(e) { const t = this; if (t.initialized) return t; return !1 === t.mount(e) || (t.emit("beforeInit"), t.params.breakpoints &amp;&amp; t.setBreakpoint(), t.addClasses(), t.params.loop &amp;&amp; t.loopCreate(), t.updateSize(), t.updateSlides(), t.params.watchOverflow &amp;&amp; t.checkOverflow(), t.params.grabCursor &amp;&amp; t.enabled &amp;&amp; t.setGrabCursor(), t.params.preloadImages &amp;&amp; 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 } destroy(e, t) { void 0 === e &amp;&amp; (e = !0), void 0 === t &amp;&amp; (t = !0); const s = this, { params: a, $el: i, $wrapperEl: r, slides: n } = s; return void 0 === s.params || s.destroyed || (s.emit("beforeDestroy"), s.initialized = !1, s.detachEvents(), a.loop &amp;&amp; s.loopDestroy(), t &amp;&amp; (s.removeClasses(), i.removeAttr("style"), r.removeAttr("style"), n &amp;&amp; n.length &amp;&amp; n.removeClass([a.slideVisibleClass, a.slideActiveClass, a.slideNextClass, a.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")), s.emit("destroy"), Object.keys(s.eventsListeners).forEach((e =&gt; { s.off(e) })), !1 !== e &amp;&amp; (s.$el[0].swiper = null, function (e) { const t = e; Object.keys(t).forEach((e =&gt; { try { t[e] = null } catch (e) { } try { delete t[e] } catch (e) { } })) }(s)), s.destroyed = !0), null } static extendDefaults(e) { g(_, e) } static get extendedDefaults() { return _ } static get defaults() { return W } static installModule(e) { V.prototype.__modules__ || (V.prototype.__modules__ = []); const t = V.prototype.__modules__; "function" == typeof e &amp;&amp; t.indexOf(e) &lt; 0 &amp;&amp; t.push(e) } static use(e) { return Array.isArray(e) ? (e.forEach((e =&gt; V.installModule(e))), V) : (V.installModule(e), V) } } function F(e, t, s, i) { const r = a(); return e.params.createElements &amp;&amp; Object.keys(i).forEach((a =&gt; { if (!s[a] &amp;&amp; !0 === s.auto) { let n = e.$el.children(`.${i[a]}`)[0]; n || (n = r.createElement("div"), n.className = i[a], e.$el.append(n)), s[a] = n, t[a] = n } })), s } function U(e) { return void 0 === e &amp;&amp; (e = ""), `.${e.trim().replace(/([\.:!\/])/g, "\\$1").replace(/ /g, ".")}` } function K(e) { const t = this, { $wrapperEl: s, params: a } = t; if (a.loop &amp;&amp; t.loopDestroy(), "object" == typeof e &amp;&amp; "length" in e) for (let t = 0; t &lt; e.length; t += 1)e[t] &amp;&amp; s.append(e[t]); else s.append(e); a.loop &amp;&amp; t.loopCreate(), a.observer || t.update() } function Z(e) { const t = this, { params: s, $wrapperEl: a, activeIndex: i } = t; s.loop &amp;&amp; t.loopDestroy(); let r = i + 1; if ("object" == typeof e &amp;&amp; "length" in e) { for (let t = 0; t &lt; e.length; t += 1)e[t] &amp;&amp; a.prepend(e[t]); r = i + e.length } else a.prepend(e); s.loop &amp;&amp; t.loopCreate(), s.observer || t.update(), t.slideTo(r, 0, !1) } function Q(e, t) { const s = this, { $wrapperEl: a, params: i, activeIndex: r } = s; let n = r; i.loop &amp;&amp; (n -= s.loopedSlides, s.loopDestroy(), s.slides = a.children(`.${i.slideClass}`)); const l = s.slides.length; if (e &lt;= 0) return void s.prependSlide(t); if (e &gt;= l) return void s.appendSlide(t); let o = n &gt; e ? n + 1 : n; const d = []; for (let t = l - 1; t &gt;= e; t -= 1) { const e = s.slides.eq(t); e.remove(), d.unshift(e) } if ("object" == typeof t &amp;&amp; "length" in t) { for (let e = 0; e &lt; t.length; e += 1)t[e] &amp;&amp; a.append(t[e]); o = n &gt; e ? n + t.length : n } else a.append(t); for (let e = 0; e &lt; d.length; e += 1)a.append(d[e]); i.loop &amp;&amp; s.loopCreate(), i.observer || s.update(), i.loop ? s.slideTo(o + s.loopedSlides, 0, !1) : s.slideTo(o, 0, !1) } function J(e) { const t = this, { params: s, $wrapperEl: a, activeIndex: i } = t; let r = i; s.loop &amp;&amp; (r -= t.loopedSlides, t.loopDestroy(), t.slides = a.children(`.${s.slideClass}`)); let n, l = r; if ("object" == typeof e &amp;&amp; "length" in e) { for (let s = 0; s &lt; e.length; s += 1)n = e[s], t.slides[n] &amp;&amp; t.slides.eq(n).remove(), n &lt; l &amp;&amp; (l -= 1); l = Math.max(l, 0) } else n = e, t.slides[n] &amp;&amp; t.slides.eq(n).remove(), n &lt; l &amp;&amp; (l -= 1), l = Math.max(l, 0); s.loop &amp;&amp; t.loopCreate(), s.observer || t.update(), s.loop ? t.slideTo(l + t.loopedSlides, 0, !1) : t.slideTo(l, 0, !1) } function ee() { const e = this, t = []; for (let s = 0; s &lt; e.slides.length; s += 1)t.push(s); e.removeSlide(t) } function te(e) { const { effect: t, swiper: s, on: a, setTranslate: i, setTransition: r, overwriteParams: n, perspective: l, recreateShadows: o, getEffectParams: d } = e; let c; a("beforeInit", (() =&gt; { if (s.params.effect !== t) return; s.classNames.push(`${s.params.containerModifierClass}${t}`), l &amp;&amp; l() &amp;&amp; s.classNames.push(`${s.params.containerModifierClass}3d`); const e = n ? n() : {}; Object.assign(s.params, e), Object.assign(s.originalParams, e) })), a("setTranslate", (() =&gt; { s.params.effect === t &amp;&amp; i() })), a("setTransition", ((e, a) =&gt; { s.params.effect === t &amp;&amp; r(a) })), a("transitionEnd", (() =&gt; { if (s.params.effect === t &amp;&amp; o) { if (!d || !d().slideShadows) return; s.slides.each((e =&gt; { s.$(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").remove() })), o() } })), a("virtualUpdate", (() =&gt; { s.params.effect === t &amp;&amp; (s.slides.length || (c = !0), requestAnimationFrame((() =&gt; { c &amp;&amp; s.slides &amp;&amp; s.slides.length &amp;&amp; (i(), c = !1) }))) })) } function se(e, t) { return e.transformEl ? t.find(e.transformEl).css({ "backface-visibility": "hidden", "-webkit-backface-visibility": "hidden" }) : t } function ae(e) { let { swiper: t, duration: s, transformEl: a, allSlides: i } = e; const { slides: r, activeIndex: n, $wrapperEl: l } = t; if (t.params.virtualTranslate &amp;&amp; 0 !== s) { let e, s = !1; e = i ? a ? r.find(a) : r : a ? r.eq(n).find(a) : r.eq(n), e.transitionEnd((() =&gt; { if (s) return; if (!t || t.destroyed) return; s = !0, t.animating = !1; const e = ["webkitTransitionEnd", "transitionend"]; for (let t = 0; t &lt; e.length; t += 1)l.trigger(e[t]) })) } } function ie(e, t, s) { const a = "swiper-slide-shadow" + (s ? `-${s}` : ""), i = e.transformEl ? t.find(e.transformEl) : t; let r = i.children(`.${a}`); return r.length || (r = d(`&lt;div class="swiper-slide-shadow${s ? `-${s}` : ""}"&gt;&lt;/div&gt;`), i.append(r)), r } Object.keys(q).forEach((e =&gt; { Object.keys(q[e]).forEach((t =&gt; { V.prototype[t] = q[e][t] })) })), V.use([function (e) { let { swiper: t, on: s, emit: a } = e; const i = r(); let n = null, l = null; const o = () =&gt; { t &amp;&amp; !t.destroyed &amp;&amp; t.initialized &amp;&amp; (a("beforeResize"), a("resize")) }, d = () =&gt; { t &amp;&amp; !t.destroyed &amp;&amp; t.initialized &amp;&amp; a("orientationchange") }; s("init", (() =&gt; { t.params.resizeObserver &amp;&amp; void 0 !== i.ResizeObserver ? t &amp;&amp; !t.destroyed &amp;&amp; t.initialized &amp;&amp; (n = new ResizeObserver((e =&gt; { l = i.requestAnimationFrame((() =&gt; { const { width: s, height: a } = t; let i = s, r = a; e.forEach((e =&gt; { let { contentBoxSize: s, contentRect: a, target: n } = e; n &amp;&amp; n !== t.el || (i = a ? a.width : (s[0] || s).inlineSize, r = a ? a.height : (s[0] || s).blockSize) })), i === s &amp;&amp; r === a || o() })) })), n.observe(t.el)) : (i.addEventListener("resize", o), i.addEventListener("orientationchange", d)) })), s("destroy", (() =&gt; { l &amp;&amp; i.cancelAnimationFrame(l), n &amp;&amp; n.unobserve &amp;&amp; t.el &amp;&amp; (n.unobserve(t.el), n = null), i.removeEventListener("resize", o), i.removeEventListener("orientationchange", d) })) }, function (e) { let { swiper: t, extendParams: s, on: a, emit: i } = e; const n = [], l = r(), o = function (e, t) { void 0 === t &amp;&amp; (t = {}); const s = new (l.MutationObserver || l.WebkitMutationObserver)((e =&gt; { if (1 === e.length) return void i("observerUpdate", e[0]); const t = function () { i("observerUpdate", e[0]) }; l.requestAnimationFrame ? l.requestAnimationFrame(t) : l.setTimeout(t, 0) })); s.observe(e, { attributes: void 0 === t.attributes || t.attributes, childList: void 0 === t.childList || t.childList, characterData: void 0 === t.characterData || t.characterData }), n.push(s) }; s({ observer: !1, observeParents: !1, observeSlideChildren: !1 }), a("init", (() =&gt; { if (t.params.observer) { if (t.params.observeParents) { const e = t.$el.parents(); for (let t = 0; t &lt; e.length; t += 1)o(e[t]) } o(t.$el[0], { childList: t.params.observeSlideChildren }), o(t.$wrapperEl[0], { attributes: !1 }) } })), a("destroy", (() =&gt; { n.forEach((e =&gt; { e.disconnect() })), n.splice(0, n.length) })) }]); const re = [function (e) { let t, { swiper: s, extendParams: a, on: i, emit: r } = e; function n(e, t) { const a = s.params.virtual; if (a.cache &amp;&amp; s.virtual.cache[t]) return s.virtual.cache[t]; const i = a.renderSlide ? d(a.renderSlide.call(s, e, t)) : d(`&lt;div class="${s.params.slideClass}" data-swiper-slide-index="${t}"&gt;${e}&lt;/div&gt;`); return i.attr("data-swiper-slide-index") || i.attr("data-swiper-slide-index", t), a.cache &amp;&amp; (s.virtual.cache[t] = i), i } function l(e) { const { slidesPerView: t, slidesPerGroup: a, centeredSlides: i } = s.params, { addSlidesBefore: l, addSlidesAfter: o } = s.params.virtual, { from: d, to: c, slides: p, slidesGrid: u, offset: h } = s.virtual; s.params.cssMode || s.updateActiveIndex(); const m = s.activeIndex || 0; let f, g, v; f = s.rtlTranslate ? "right" : s.isHorizontal() ? "left" : "top", i ? (g = Math.floor(t / 2) + a + o, v = Math.floor(t / 2) + a + l) : (g = t + (a - 1) + o, v = a + l); const w = Math.max((m || 0) - v, 0), b = Math.min((m || 0) + g, p.length - 1), x = (s.slidesGrid[w] || 0) - (s.slidesGrid[0] || 0); function y() { s.updateSlides(), s.updateProgress(), s.updateSlidesClasses(), s.lazy &amp;&amp; s.params.lazy.enabled &amp;&amp; s.lazy.load(), r("virtualUpdate") } if (Object.assign(s.virtual, { from: w, to: b, offset: x, slidesGrid: s.slidesGrid }), d === w &amp;&amp; c === b &amp;&amp; !e) return s.slidesGrid !== u &amp;&amp; x !== h &amp;&amp; s.slides.css(f, `${x}px`), s.updateProgress(), void r("virtualUpdate"); if (s.params.virtual.renderExternal) return s.params.virtual.renderExternal.call(s, { offset: x, from: w, to: b, slides: function () { const e = []; for (let t = w; t &lt;= b; t += 1)e.push(p[t]); return e }() }), void (s.params.virtual.renderExternalUpdate ? y() : r("virtualUpdate")); const E = [], C = []; if (e) s.$wrapperEl.find(`.${s.params.slideClass}`).remove(); else for (let e = d; e &lt;= c; e += 1)(e &lt; w || e &gt; b) &amp;&amp; s.$wrapperEl.find(`.${s.params.slideClass}[data-swiper-slide-index="${e}"]`).remove(); for (let t = 0; t &lt; p.length; t += 1)t &gt;= w &amp;&amp; t &lt;= b &amp;&amp; (void 0 === c || e ? C.push(t) : (t &gt; c &amp;&amp; C.push(t), t &lt; d &amp;&amp; E.push(t))); C.forEach((e =&gt; { s.$wrapperEl.append(n(p[e], e)) })), E.sort(((e, t) =&gt; t - e)).forEach((e =&gt; { s.$wrapperEl.prepend(n(p[e], e)) })), s.$wrapperEl.children(".swiper-slide").css(f, `${x}px`), y() } a({ virtual: { enabled: !1, slides: [], cache: !0, renderSlide: null, renderExternal: null, renderExternalUpdate: !0, addSlidesBefore: 0, addSlidesAfter: 0 } }), s.virtual = { cache: {}, from: void 0, to: void 0, slides: [], offset: 0, slidesGrid: [] }, i("beforeInit", (() =&gt; { s.params.virtual.enabled &amp;&amp; (s.virtual.slides = s.params.virtual.slides, s.classNames.push(`${s.params.containerModifierClass}virtual`), s.params.watchSlidesProgress = !0, s.originalParams.watchSlidesProgress = !0, s.params.initialSlide || l()) })), i("setTranslate", (() =&gt; { s.params.virtual.enabled &amp;&amp; (s.params.cssMode &amp;&amp; !s._immediateVirtual ? (clearTimeout(t), t = setTimeout((() =&gt; { l() }), 100)) : l()) })), i("init update resize", (() =&gt; { s.params.virtual.enabled &amp;&amp; s.params.cssMode &amp;&amp; v(s.wrapperEl, "--swiper-virtual-size", `${s.virtualSize}px`) })), Object.assign(s.virtual, { appendSlide: function (e) { if ("object" == typeof e &amp;&amp; "length" in e) for (let t = 0; t &lt; e.length; t += 1)e[t] &amp;&amp; s.virtual.slides.push(e[t]); else s.virtual.slides.push(e); l(!0) }, prependSlide: function (e) { const t = s.activeIndex; let a = t + 1, i = 1; if (Array.isArray(e)) { for (let t = 0; t &lt; e.length; t += 1)e[t] &amp;&amp; s.virtual.slides.unshift(e[t]); a = t + e.length, i = e.length } else s.virtual.slides.unshift(e); if (s.params.virtual.cache) { const e = s.virtual.cache, t = {}; Object.keys(e).forEach((s =&gt; { const a = e[s], r = a.attr("data-swiper-slide-index"); r &amp;&amp; a.attr("data-swiper-slide-index", parseInt(r, 10) + i), t[parseInt(s, 10) + i] = a })), s.virtual.cache = t } l(!0), s.slideTo(a, 0) }, removeSlide: function (e) { if (null == e) return; let t = s.activeIndex; if (Array.isArray(e)) for (let a = e.length - 1; a &gt;= 0; a -= 1)s.virtual.slides.splice(e[a], 1), s.params.virtual.cache &amp;&amp; delete s.virtual.cache[e[a]], e[a] &lt; t &amp;&amp; (t -= 1), t = Math.max(t, 0); else s.virtual.slides.splice(e, 1), s.params.virtual.cache &amp;&amp; delete s.virtual.cache[e], e &lt; t &amp;&amp; (t -= 1), t = Math.max(t, 0); l(!0), s.slideTo(t, 0) }, removeAllSlides: function () { s.virtual.slides = [], s.params.virtual.cache &amp;&amp; (s.virtual.cache = {}), l(!0), s.slideTo(0, 0) }, update: l }) }, function (e) { let { swiper: t, extendParams: s, on: i, emit: n } = e; const l = a(), o = r(); function c(e) { if (!t.enabled) return; const { rtlTranslate: s } = t; let a = e; a.originalEvent &amp;&amp; (a = a.originalEvent); const i = a.keyCode || a.charCode, r = t.params.keyboard.pageUpDown, d = r &amp;&amp; 33 === i, c = r &amp;&amp; 34 === i, p = 37 === i, u = 39 === i, h = 38 === i, m = 40 === i; if (!t.allowSlideNext &amp;&amp; (t.isHorizontal() &amp;&amp; u || t.isVertical() &amp;&amp; m || c)) return !1; if (!t.allowSlidePrev &amp;&amp; (t.isHorizontal() &amp;&amp; p || t.isVertical() &amp;&amp; h || d)) return !1; if (!(a.shiftKey || a.altKey || a.ctrlKey || a.metaKey || l.activeElement &amp;&amp; l.activeElement.nodeName &amp;&amp; ("input" === l.activeElement.nodeName.toLowerCase() || "textarea" === l.activeElement.nodeName.toLowerCase()))) { if (t.params.keyboard.onlyInViewport &amp;&amp; (d || c || p || u || h || m)) { let e = !1; if (t.$el.parents(`.${t.params.slideClass}`).length &gt; 0 &amp;&amp; 0 === t.$el.parents(`.${t.params.slideActiveClass}`).length) return; const a = t.$el, i = a[0].clientWidth, r = a[0].clientHeight, n = o.innerWidth, l = o.innerHeight, d = t.$el.offset(); s &amp;&amp; (d.left -= t.$el[0].scrollLeft); const c = [[d.left, d.top], [d.left + i, d.top], [d.left, d.top + r], [d.left + i, d.top + r]]; for (let t = 0; t &lt; c.length; t += 1) { const s = c[t]; if (s[0] &gt;= 0 &amp;&amp; s[0] &lt;= n &amp;&amp; s[1] &gt;= 0 &amp;&amp; s[1] &lt;= l) { if (0 === s[0] &amp;&amp; 0 === s[1]) continue; e = !0 } } if (!e) return } t.isHorizontal() ? ((d || c || p || u) &amp;&amp; (a.preventDefault ? a.preventDefault() : a.returnValue = !1), ((c || u) &amp;&amp; !s || (d || p) &amp;&amp; s) &amp;&amp; t.slideNext(), ((d || p) &amp;&amp; !s || (c || u) &amp;&amp; s) &amp;&amp; t.slidePrev()) : ((d || c || h || m) &amp;&amp; (a.preventDefault ? a.preventDefault() : a.returnValue = !1), (c || m) &amp;&amp; t.slideNext(), (d || h) &amp;&amp; t.slidePrev()), n("keyPress", i) } } function p() { t.keyboard.enabled || (d(l).on("keydown", c), t.keyboard.enabled = !0) } function u() { t.keyboard.enabled &amp;&amp; (d(l).off("keydown", c), t.keyboard.enabled = !1) } t.keyboard = { enabled: !1 }, s({ keyboard: { enabled: !1, onlyInViewport: !0, pageUpDown: !0 } }), i("init", (() =&gt; { t.params.keyboard.enabled &amp;&amp; p() })), i("destroy", (() =&gt; { t.keyboard.enabled &amp;&amp; u() })), Object.assign(t.keyboard, { enable: p, disable: u }) }, function (e) { let { swiper: t, extendParams: s, on: a, emit: i } = e; const n = r(); let l; s({ mousewheel: { enabled: !1, releaseOnEdges: !1, invert: !1, forceToAxis: !1, sensitivity: 1, eventsTarget: "container", thresholdDelta: null, thresholdTime: null } }), t.mousewheel = { enabled: !1 }; let o, c = u(); const h = []; function m() { t.enabled &amp;&amp; (t.mouseEntered = !0) } function f() { t.enabled &amp;&amp; (t.mouseEntered = !1) } function g(e) { return !(t.params.mousewheel.thresholdDelta &amp;&amp; e.delta &lt; t.params.mousewheel.thresholdDelta) &amp;&amp; (!(t.params.mousewheel.thresholdTime &amp;&amp; u() - c &lt; t.params.mousewheel.thresholdTime) &amp;&amp; (e.delta &gt;= 6 &amp;&amp; u() - c &lt; 60 || (e.direction &lt; 0 ? t.isEnd &amp;&amp; !t.params.loop || t.animating || (t.slideNext(), i("scroll", e.raw)) : t.isBeginning &amp;&amp; !t.params.loop || t.animating || (t.slidePrev(), i("scroll", e.raw)), c = (new n.Date).getTime(), !1))) } function v(e) { let s = e, a = !0; if (!t.enabled) return; const r = t.params.mousewheel; t.params.cssMode &amp;&amp; s.preventDefault(); let n = t.$el; if ("container" !== t.params.mousewheel.eventsTarget &amp;&amp; (n = d(t.params.mousewheel.eventsTarget)), !t.mouseEntered &amp;&amp; !n[0].contains(s.target) &amp;&amp; !r.releaseOnEdges) return !0; s.originalEvent &amp;&amp; (s = s.originalEvent); let c = 0; const m = t.rtlTranslate ? -1 : 1, f = function (e) { let t = 0, s = 0, a = 0, i = 0; return "detail" in e &amp;&amp; (s = e.detail), "wheelDelta" in e &amp;&amp; (s = -e.wheelDelta / 120), "wheelDeltaY" in e &amp;&amp; (s = -e.wheelDeltaY / 120), "wheelDeltaX" in e &amp;&amp; (t = -e.wheelDeltaX / 120), "axis" in e &amp;&amp; e.axis === e.HORIZONTAL_AXIS &amp;&amp; (t = s, s = 0), a = 10 * t, i = 10 * s, "deltaY" in e &amp;&amp; (i = e.deltaY), "deltaX" in e &amp;&amp; (a = e.deltaX), e.shiftKey &amp;&amp; !a &amp;&amp; (a = i, i = 0), (a || i) &amp;&amp; e.deltaMode &amp;&amp; (1 === e.deltaMode ? (a *= 40, i *= 40) : (a *= 800, i *= 800)), a &amp;&amp; !t &amp;&amp; (t = a &lt; 1 ? -1 : 1), i &amp;&amp; !s &amp;&amp; (s = i &lt; 1 ? -1 : 1), { spinX: t, spinY: s, pixelX: a, pixelY: i } }(s); if (r.forceToAxis) if (t.isHorizontal()) { if (!(Math.abs(f.pixelX) &gt; Math.abs(f.pixelY))) return !0; c = -f.pixelX * m } else { if (!(Math.abs(f.pixelY) &gt; Math.abs(f.pixelX))) return !0; c = -f.pixelY } else c = Math.abs(f.pixelX) &gt; Math.abs(f.pixelY) ? -f.pixelX * m : -f.pixelY; if (0 === c) return !0; r.invert &amp;&amp; (c = -c); let v = t.getTranslate() + c * r.sensitivity; if (v &gt;= t.minTranslate() &amp;&amp; (v = t.minTranslate()), v &lt;= t.maxTranslate() &amp;&amp; (v = t.maxTranslate()), a = !!t.params.loop || !(v === t.minTranslate() || v === t.maxTranslate()), a &amp;&amp; t.params.nested &amp;&amp; s.stopPropagation(), t.params.freeMode &amp;&amp; t.params.freeMode.enabled) { const e = { time: u(), delta: Math.abs(c), direction: Math.sign(c) }, a = o &amp;&amp; e.time &lt; o.time + 500 &amp;&amp; e.delta &lt;= o.delta &amp;&amp; e.direction === o.direction; if (!a) { o = void 0, t.params.loop &amp;&amp; t.loopFix(); let n = t.getTranslate() + c * r.sensitivity; const d = t.isBeginning, u = t.isEnd; if (n &gt;= t.minTranslate() &amp;&amp; (n = t.minTranslate()), n &lt;= t.maxTranslate() &amp;&amp; (n = t.maxTranslate()), t.setTransition(0), t.setTranslate(n), t.updateProgress(), t.updateActiveIndex(), t.updateSlidesClasses(), (!d &amp;&amp; t.isBeginning || !u &amp;&amp; t.isEnd) &amp;&amp; t.updateSlidesClasses(), t.params.freeMode.sticky) { clearTimeout(l), l = void 0, h.length &gt;= 15 &amp;&amp; h.shift(); const s = h.length ? h[h.length - 1] : void 0, a = h[0]; if (h.push(e), s &amp;&amp; (e.delta &gt; s.delta || e.direction !== s.direction)) h.splice(0); else if (h.length &gt;= 15 &amp;&amp; e.time - a.time &lt; 500 &amp;&amp; a.delta - e.delta &gt;= 1 &amp;&amp; e.delta &lt;= 6) { const s = c &gt; 0 ? .8 : .2; o = e, h.splice(0), l = p((() =&gt; { t.slideToClosest(t.params.speed, !0, void 0, s) }), 0) } l || (l = p((() =&gt; { o = e, h.splice(0), t.slideToClosest(t.params.speed, !0, void 0, .5) }), 500)) } if (a || i("scroll", s), t.params.autoplay &amp;&amp; t.params.autoplayDisableOnInteraction &amp;&amp; t.autoplay.stop(), n === t.minTranslate() || n === t.maxTranslate()) return !0 } } else { const s = { time: u(), delta: Math.abs(c), direction: Math.sign(c), raw: e }; h.length &gt;= 2 &amp;&amp; h.shift(); const a = h.length ? h[h.length - 1] : void 0; if (h.push(s), a ? (s.direction !== a.direction || s.delta &gt; a.delta || s.time &gt; a.time + 150) &amp;&amp; g(s) : g(s), function (e) { const s = t.params.mousewheel; if (e.direction &lt; 0) { if (t.isEnd &amp;&amp; !t.params.loop &amp;&amp; s.releaseOnEdges) return !0 } else if (t.isBeginning &amp;&amp; !t.params.loop &amp;&amp; s.releaseOnEdges) return !0; return !1 }(s)) return !0 } return s.preventDefault ? s.preventDefault() : s.returnValue = !1, !1 } function w(e) { let s = t.$el; "container" !== t.params.mousewheel.eventsTarget &amp;&amp; (s = d(t.params.mousewheel.eventsTarget)), s[e]("mouseenter", m), s[e]("mouseleave", f), s[e]("wheel", v) } function b() { return t.params.cssMode ? (t.wrapperEl.removeEventListener("wheel", v), !0) : !t.mousewheel.enabled &amp;&amp; (w("on"), t.mousewheel.enabled = !0, !0) } function x() { return t.params.cssMode ? (t.wrapperEl.addEventListener(event, v), !0) : !!t.mousewheel.enabled &amp;&amp; (w("off"), t.mousewheel.enabled = !1, !0) } a("init", (() =&gt; { !t.params.mousewheel.enabled &amp;&amp; t.params.cssMode &amp;&amp; x(), t.params.mousewheel.enabled &amp;&amp; b() })), a("destroy", (() =&gt; { t.params.cssMode &amp;&amp; b(), t.mousewheel.enabled &amp;&amp; x() })), Object.assign(t.mousewheel, { enable: b, disable: x }) }, function (e) { let { swiper: t, extendParams: s, on: a, emit: i } = e; function r(e) { let s; return e &amp;&amp; (s = d(e), t.params.uniqueNavElements &amp;&amp; "string" == typeof e &amp;&amp; s.length &gt; 1 &amp;&amp; 1 === t.$el.find(e).length &amp;&amp; (s = t.$el.find(e))), s } function n(e, s) { const a = t.params.navigation; e &amp;&amp; e.length &gt; 0 &amp;&amp; (e[s ? "addClass" : "removeClass"](a.disabledClass), e[0] &amp;&amp; "BUTTON" === e[0].tagName &amp;&amp; (e[0].disabled = s), t.params.watchOverflow &amp;&amp; t.enabled &amp;&amp; e[t.isLocked ? "addClass" : "removeClass"](a.lockClass)) } function l() { if (t.params.loop) return; const { $nextEl: e, $prevEl: s } = t.navigation; n(s, t.isBeginning &amp;&amp; !t.params.rewind), n(e, t.isEnd &amp;&amp; !t.params.rewind) } function o(e) { e.preventDefault(), (!t.isBeginning || t.params.loop || t.params.rewind) &amp;&amp; (t.slidePrev(), i("navigationPrev")) } function c(e) { e.preventDefault(), (!t.isEnd || t.params.loop || t.params.rewind) &amp;&amp; (t.slideNext(), i("navigationNext")) } function p() { const e = t.params.navigation; if (t.params.navigation = F(t, t.originalParams.navigation, t.params.navigation, { nextEl: "swiper-button-next", prevEl: "swiper-button-prev" }), !e.nextEl &amp;&amp; !e.prevEl) return; const s = r(e.nextEl), a = r(e.prevEl); s &amp;&amp; s.length &gt; 0 &amp;&amp; s.on("click", c), a &amp;&amp; a.length &gt; 0 &amp;&amp; a.on("click", o), Object.assign(t.navigation, { $nextEl: s, nextEl: s &amp;&amp; s[0], $prevEl: a, prevEl: a &amp;&amp; a[0] }), t.enabled || (s &amp;&amp; s.addClass(e.lockClass), a &amp;&amp; a.addClass(e.lockClass)) } function u() { const { $nextEl: e, $prevEl: s } = t.navigation; e &amp;&amp; e.length &amp;&amp; (e.off("click", c), e.removeClass(t.params.navigation.disabledClass)), s &amp;&amp; s.length &amp;&amp; (s.off("click", o), s.removeClass(t.params.navigation.disabledClass)) } s({ navigation: { nextEl: null, prevEl: null, hideOnClick: !1, disabledClass: "swiper-button-disabled", hiddenClass: "swiper-button-hidden", lockClass: "swiper-button-lock", navigationDisabledClass: "swiper-navigation-disabled" } }), t.navigation = { nextEl: null, $nextEl: null, prevEl: null, $prevEl: null }, a("init", (() =&gt; { !1 === t.params.navigation.enabled ? h() : (p(), l()) })), a("toEdge fromEdge lock unlock", (() =&gt; { l() })), a("destroy", (() =&gt; { u() })), a("enable disable", (() =&gt; { const { $nextEl: e, $prevEl: s } = t.navigation; e &amp;&amp; e[t.enabled ? "removeClass" : "addClass"](t.params.navigation.lockClass), s &amp;&amp; s[t.enabled ? "removeClass" : "addClass"](t.params.navigation.lockClass) })), a("click", ((e, s) =&gt; { const { $nextEl: a, $prevEl: r } = t.navigation, n = s.target; if (t.params.navigation.hideOnClick &amp;&amp; !d(n).is(r) &amp;&amp; !d(n).is(a)) { if (t.pagination &amp;&amp; t.params.pagination &amp;&amp; t.params.pagination.clickable &amp;&amp; (t.pagination.el === n || t.pagination.el.contains(n))) return; let e; a ? e = a.hasClass(t.params.navigation.hiddenClass) : r &amp;&amp; (e = r.hasClass(t.params.navigation.hiddenClass)), i(!0 === e ? "navigationShow" : "navigationHide"), a &amp;&amp; a.toggleClass(t.params.navigation.hiddenClass), r &amp;&amp; r.toggleClass(t.params.navigation.hiddenClass) } })); const h = () =&gt; { t.$el.addClass(t.params.navigation.navigationDisabledClass), u() }; Object.assign(t.navigation, { enable: () =&gt; { t.$el.removeClass(t.params.navigation.navigationDisabledClass), p(), l() }, disable: h, update: l, init: p, destroy: u }) }, function (e) { let { swiper: t, extendParams: s, on: a, emit: i } = e; const r = "swiper-pagination"; let n; s({ pagination: { el: null, bulletElement: "span", clickable: !1, hideOnClick: !1, renderBullet: null, renderProgressbar: null, renderFraction: null, renderCustom: null, progressbarOpposite: !1, type: "bullets", dynamicBullets: !1, dynamicMainBullets: 1, formatFractionCurrent: e =&gt; e, formatFractionTotal: e =&gt; e, bulletClass: `${r}-bullet`, bulletActiveClass: `${r}-bullet-active`, modifierClass: `${r}-`, currentClass: `${r}-current`, totalClass: `${r}-total`, hiddenClass: `${r}-hidden`, progressbarFillClass: `${r}-progressbar-fill`, progressbarOppositeClass: `${r}-progressbar-opposite`, clickableClass: `${r}-clickable`, lockClass: `${r}-lock`, horizontalClass: `${r}-horizontal`, verticalClass: `${r}-vertical`, paginationDisabledClass: `${r}-disabled` } }), t.pagination = { el: null, $el: null, bullets: [] }; let l = 0; function o() { return !t.params.pagination.el || !t.pagination.el || !t.pagination.$el || 0 === t.pagination.$el.length } function c(e, s) { const { bulletActiveClass: a } = t.params.pagination; e[s]().addClass(`${a}-${s}`)[s]().addClass(`${a}-${s}-${s}`) } function p() { const e = t.rtl, s = t.params.pagination; if (o()) return; const a = t.virtual &amp;&amp; t.params.virtual.enabled ? t.virtual.slides.length : t.slides.length, r = t.pagination.$el; let p; const u = t.params.loop ? Math.ceil((a - 2 * t.loopedSlides) / t.params.slidesPerGroup) : t.snapGrid.length; if (t.params.loop ? (p = Math.ceil((t.activeIndex - t.loopedSlides) / t.params.slidesPerGroup), p &gt; a - 1 - 2 * t.loopedSlides &amp;&amp; (p -= a - 2 * t.loopedSlides), p &gt; u - 1 &amp;&amp; (p -= u), p &lt; 0 &amp;&amp; "bullets" !== t.params.paginationType &amp;&amp; (p = u + p)) : p = void 0 !== t.snapIndex ? t.snapIndex : t.activeIndex || 0, "bullets" === s.type &amp;&amp; t.pagination.bullets &amp;&amp; t.pagination.bullets.length &gt; 0) { const a = t.pagination.bullets; let i, o, u; if (s.dynamicBullets &amp;&amp; (n = a.eq(0)[t.isHorizontal() ? "outerWidth" : "outerHeight"](!0), r.css(t.isHorizontal() ? "width" : "height", n * (s.dynamicMainBullets + 4) + "px"), s.dynamicMainBullets &gt; 1 &amp;&amp; void 0 !== t.previousIndex &amp;&amp; (l += p - (t.previousIndex - t.loopedSlides || 0), l &gt; s.dynamicMainBullets - 1 ? l = s.dynamicMainBullets - 1 : l &lt; 0 &amp;&amp; (l = 0)), i = Math.max(p - l, 0), o = i + (Math.min(a.length, s.dynamicMainBullets) - 1), u = (o + i) / 2), a.removeClass(["", "-next", "-next-next", "-prev", "-prev-prev", "-main"].map((e =&gt; `${s.bulletActiveClass}${e}`)).join(" ")), r.length &gt; 1) a.each((e =&gt; { const t = d(e), a = t.index(); a === p &amp;&amp; t.addClass(s.bulletActiveClass), s.dynamicBullets &amp;&amp; (a &gt;= i &amp;&amp; a &lt;= o &amp;&amp; t.addClass(`${s.bulletActiveClass}-main`), a === i &amp;&amp; c(t, "prev"), a === o &amp;&amp; c(t, "next")) })); else { const e = a.eq(p), r = e.index(); if (e.addClass(s.bulletActiveClass), s.dynamicBullets) { const e = a.eq(i), n = a.eq(o); for (let e = i; e &lt;= o; e += 1)a.eq(e).addClass(`${s.bulletActiveClass}-main`); if (t.params.loop) if (r &gt;= a.length) { for (let e = s.dynamicMainBullets; e &gt;= 0; e -= 1)a.eq(a.length - e).addClass(`${s.bulletActiveClass}-main`); a.eq(a.length - s.dynamicMainBullets - 1).addClass(`${s.bulletActiveClass}-prev`) } else c(e, "prev"), c(n, "next"); else c(e, "prev"), c(n, "next") } } if (s.dynamicBullets) { const i = Math.min(a.length, s.dynamicMainBullets + 4), r = (n * i - n) / 2 - u * n, l = e ? "right" : "left"; a.css(t.isHorizontal() ? l : "top", `${r}px`) } } if ("fraction" === s.type &amp;&amp; (r.find(U(s.currentClass)).text(s.formatFractionCurrent(p + 1)), r.find(U(s.totalClass)).text(s.formatFractionTotal(u))), "progressbar" === s.type) { let e; e = s.progressbarOpposite ? t.isHorizontal() ? "vertical" : "horizontal" : t.isHorizontal() ? "horizontal" : "vertical"; const a = (p + 1) / u; let i = 1, n = 1; "horizontal" === e ? i = a : n = a, r.find(U(s.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${i}) scaleY(${n})`).transition(t.params.speed) } "custom" === s.type &amp;&amp; s.renderCustom ? (r.html(s.renderCustom(t, p + 1, u)), i("paginationRender", r[0])) : i("paginationUpdate", r[0]), t.params.watchOverflow &amp;&amp; t.enabled &amp;&amp; r[t.isLocked ? "addClass" : "removeClass"](s.lockClass) } function u() { const e = t.params.pagination; if (o()) return; const s = t.virtual &amp;&amp; t.params.virtual.enabled ? t.virtual.slides.length : t.slides.length, a = t.pagination.$el; let r = ""; if ("bullets" === e.type) { let i = t.params.loop ? Math.ceil((s - 2 * t.loopedSlides) / t.params.slidesPerGroup) : t.snapGrid.length; t.params.freeMode &amp;&amp; t.params.freeMode.enabled &amp;&amp; !t.params.loop &amp;&amp; i &gt; s &amp;&amp; (i = s); for (let s = 0; s &lt; i; s += 1)e.renderBullet ? r += e.renderBullet.call(t, s, e.bulletClass) : r += `&lt;${e.bulletElement} class="${e.bulletClass}"&gt;&lt;/${e.bulletElement}&gt;`; a.html(r), t.pagination.bullets = a.find(U(e.bulletClass)) } "fraction" === e.type &amp;&amp; (r = e.renderFraction ? e.renderFraction.call(t, e.currentClass, e.totalClass) : `&lt;span class="${e.currentClass}"&gt;&lt;/span&gt; / &lt;span class="${e.totalClass}"&gt;&lt;/span&gt;`, a.html(r)), "progressbar" === e.type &amp;&amp; (r = e.renderProgressbar ? e.renderProgressbar.call(t, e.progressbarFillClass) : `&lt;span class="${e.progressbarFillClass}"&gt;&lt;/span&gt;`, a.html(r)), "custom" !== e.type &amp;&amp; i("paginationRender", t.pagination.$el[0]) } function h() { t.params.pagination = F(t, t.originalParams.pagination, t.params.pagination, { el: "swiper-pagination" }); const e = t.params.pagination; if (!e.el) return; let s = d(e.el); 0 !== s.length &amp;&amp; (t.params.uniqueNavElements &amp;&amp; "string" == typeof e.el &amp;&amp; s.length &gt; 1 &amp;&amp; (s = t.$el.find(e.el), s.length &gt; 1 &amp;&amp; (s = s.filter((e =&gt; d(e).parents(".swiper")[0] === t.el)))), "bullets" === e.type &amp;&amp; e.clickable &amp;&amp; s.addClass(e.clickableClass), s.addClass(e.modifierClass + e.type), s.addClass(t.isHorizontal() ? e.horizontalClass : e.verticalClass), "bullets" === e.type &amp;&amp; e.dynamicBullets &amp;&amp; (s.addClass(`${e.modifierClass}${e.type}-dynamic`), l = 0, e.dynamicMainBullets &lt; 1 &amp;&amp; (e.dynamicMainBullets = 1)), "progressbar" === e.type &amp;&amp; e.progressbarOpposite &amp;&amp; s.addClass(e.progressbarOppositeClass), e.clickable &amp;&amp; s.on("click", U(e.bulletClass), (function (e) { e.preventDefault(); let s = d(this).index() * t.params.slidesPerGroup; t.params.loop &amp;&amp; (s += t.loopedSlides), t.slideTo(s) })), Object.assign(t.pagination, { $el: s, el: s[0] }), t.enabled || s.addClass(e.lockClass)) } function m() { const e = t.params.pagination; if (o()) return; const s = t.pagination.$el; s.removeClass(e.hiddenClass), s.removeClass(e.modifierClass + e.type), s.removeClass(t.isHorizontal() ? e.horizontalClass : e.verticalClass), t.pagination.bullets &amp;&amp; t.pagination.bullets.removeClass &amp;&amp; t.pagination.bullets.removeClass(e.bulletActiveClass), e.clickable &amp;&amp; s.off("click", U(e.bulletClass)) } a("init", (() =&gt; { !1 === t.params.pagination.enabled ? f() : (h(), u(), p()) })), a("activeIndexChange", (() =&gt; { (t.params.loop || void 0 === t.snapIndex) &amp;&amp; p() })), a("snapIndexChange", (() =&gt; { t.params.loop || p() })), a("slidesLengthChange", (() =&gt; { t.params.loop &amp;&amp; (u(), p()) })), a("snapGridLengthChange", (() =&gt; { t.params.loop || (u(), p()) })), a("destroy", (() =&gt; { m() })), a("enable disable", (() =&gt; { const { $el: e } = t.pagination; e &amp;&amp; e[t.enabled ? "removeClass" : "addClass"](t.params.pagination.lockClass) })), a("lock unlock", (() =&gt; { p() })), a("click", ((e, s) =&gt; { const a = s.target, { $el: r } = t.pagination; if (t.params.pagination.el &amp;&amp; t.params.pagination.hideOnClick &amp;&amp; r &amp;&amp; r.length &gt; 0 &amp;&amp; !d(a).hasClass(t.params.pagination.bulletClass)) { if (t.navigation &amp;&amp; (t.navigation.nextEl &amp;&amp; a === t.navigation.nextEl || t.navigation.prevEl &amp;&amp; a === t.navigation.prevEl)) return; const e = r.hasClass(t.params.pagination.hiddenClass); i(!0 === e ? "paginationShow" : "paginationHide"), r.toggleClass(t.params.pagination.hiddenClass) } })); const f = () =&gt; { t.$el.addClass(t.params.pagination.paginationDisabledClass), t.pagination.$el &amp;&amp; t.pagination.$el.addClass(t.params.pagination.paginationDisabledClass), m() }; Object.assign(t.pagination, { enable: () =&gt; { t.$el.removeClass(t.params.pagination.paginationDisabledClass), t.pagination.$el &amp;&amp; t.pagination.$el.removeClass(t.params.pagination.paginationDisabledClass), h(), u(), p() }, disable: f, render: u, update: p, init: h, destroy: m }) }, function (e) { let { swiper: t, extendParams: s, on: i, emit: r } = e; const n = a(); let l, o, c, u, h = !1, m = null, f = null; function g() { if (!t.params.scrollbar.el || !t.scrollbar.el) return; const { scrollbar: e, rtlTranslate: s, progress: a } = t, { $dragEl: i, $el: r } = e, n = t.params.scrollbar; let l = o, d = (c - o) * a; s ? (d = -d, d &gt; 0 ? (l = o - d, d = 0) : -d + o &gt; c &amp;&amp; (l = c + d)) : d &lt; 0 ? (l = o + d, d = 0) : d + o &gt; c &amp;&amp; (l = c - d), t.isHorizontal() ? (i.transform(`translate3d(${d}px, 0, 0)`), i[0].style.width = `${l}px`) : (i.transform(`translate3d(0px, ${d}px, 0)`), i[0].style.height = `${l}px`), n.hide &amp;&amp; (clearTimeout(m), r[0].style.opacity = 1, m = setTimeout((() =&gt; { r[0].style.opacity = 0, r.transition(400) }), 1e3)) } function v() { if (!t.params.scrollbar.el || !t.scrollbar.el) return; const { scrollbar: e } = t, { $dragEl: s, $el: a } = e; s[0].style.width = "", s[0].style.height = "", c = t.isHorizontal() ? a[0].offsetWidth : a[0].offsetHeight, u = t.size / (t.virtualSize + t.params.slidesOffsetBefore - (t.params.centeredSlides ? t.snapGrid[0] : 0)), o = "auto" === t.params.scrollbar.dragSize ? c * u : parseInt(t.params.scrollbar.dragSize, 10), t.isHorizontal() ? s[0].style.width = `${o}px` : s[0].style.height = `${o}px`, a[0].style.display = u &gt;= 1 ? "none" : "", t.params.scrollbar.hide &amp;&amp; (a[0].style.opacity = 0), t.params.watchOverflow &amp;&amp; t.enabled &amp;&amp; e.$el[t.isLocked ? "addClass" : "removeClass"](t.params.scrollbar.lockClass) } function w(e) { return t.isHorizontal() ? "touchstart" === e.type || "touchmove" === e.type ? e.targetTouches[0].clientX : e.clientX : "touchstart" === e.type || "touchmove" === e.type ? e.targetTouches[0].clientY : e.clientY } function b(e) { const { scrollbar: s, rtlTranslate: a } = t, { $el: i } = s; let r; r = (w(e) - i.offset()[t.isHorizontal() ? "left" : "top"] - (null !== l ? l : o / 2)) / (c - o), r = Math.max(Math.min(r, 1), 0), a &amp;&amp; (r = 1 - r); const n = t.minTranslate() + (t.maxTranslate() - t.minTranslate()) * r; t.updateProgress(n), t.setTranslate(n), t.updateActiveIndex(), t.updateSlidesClasses() } function x(e) { const s = t.params.scrollbar, { scrollbar: a, $wrapperEl: i } = t, { $el: n, $dragEl: o } = a; h = !0, l = e.target === o[0] || e.target === o ? w(e) - e.target.getBoundingClientRect()[t.isHorizontal() ? "left" : "top"] : null, e.preventDefault(), e.stopPropagation(), i.transition(100), o.transition(100), b(e), clearTimeout(f), n.transition(0), s.hide &amp;&amp; n.css("opacity", 1), t.params.cssMode &amp;&amp; t.$wrapperEl.css("scroll-snap-type", "none"), r("scrollbarDragStart", e) } function y(e) { const { scrollbar: s, $wrapperEl: a } = t, { $el: i, $dragEl: n } = s; h &amp;&amp; (e.preventDefault ? e.preventDefault() : e.returnValue = !1, b(e), a.transition(0), i.transition(0), n.transition(0), r("scrollbarDragMove", e)) } function E(e) { const s = t.params.scrollbar, { scrollbar: a, $wrapperEl: i } = t, { $el: n } = a; h &amp;&amp; (h = !1, t.params.cssMode &amp;&amp; (t.$wrapperEl.css("scroll-snap-type", ""), i.transition("")), s.hide &amp;&amp; (clearTimeout(f), f = p((() =&gt; { n.css("opacity", 0), n.transition(400) }), 1e3)), r("scrollbarDragEnd", e), s.snapOnRelease &amp;&amp; t.slideToClosest()) } function C(e) { const { scrollbar: s, touchEventsTouch: a, touchEventsDesktop: i, params: r, support: l } = t, o = s.$el; if (!o) return; const d = o[0], c = !(!l.passiveListener || !r.passiveListeners) &amp;&amp; { passive: !1, capture: !1 }, p = !(!l.passiveListener || !r.passiveListeners) &amp;&amp; { passive: !0, capture: !1 }; if (!d) return; const u = "on" === e ? "addEventListener" : "removeEventListener"; l.touch ? (d[u](a.start, x, c), d[u](a.move, y, c), d[u](a.end, E, p)) : (d[u](i.start, x, c), n[u](i.move, y, c), n[u](i.end, E, p)) } function T() { const { scrollbar: e, $el: s } = t; t.params.scrollbar = F(t, t.originalParams.scrollbar, t.params.scrollbar, { el: "swiper-scrollbar" }); const a = t.params.scrollbar; if (!a.el) return; let i = d(a.el); t.params.uniqueNavElements &amp;&amp; "string" == typeof a.el &amp;&amp; i.length &gt; 1 &amp;&amp; 1 === s.find(a.el).length &amp;&amp; (i = s.find(a.el)), i.addClass(t.isHorizontal() ? a.horizontalClass : a.verticalClass); let r = i.find(`.${t.params.scrollbar.dragClass}`); 0 === r.length &amp;&amp; (r = d(`&lt;div class="${t.params.scrollbar.dragClass}"&gt;&lt;/div&gt;`), i.append(r)), Object.assign(e, { $el: i, el: i[0], $dragEl: r, dragEl: r[0] }), a.draggable &amp;&amp; t.params.scrollbar.el &amp;&amp; t.scrollbar.el &amp;&amp; C("on"), i &amp;&amp; i[t.enabled ? "removeClass" : "addClass"](t.params.scrollbar.lockClass) } function $() { const e = t.params.scrollbar, s = t.scrollbar.$el; s &amp;&amp; s.removeClass(t.isHorizontal() ? e.horizontalClass : e.verticalClass), t.params.scrollbar.el &amp;&amp; t.scrollbar.el &amp;&amp; C("off") } s({ scrollbar: { el: null, dragSize: "auto", hide: !1, draggable: !1, snapOnRelease: !0, lockClass: "swiper-scrollbar-lock", dragClass: "swiper-scrollbar-drag", scrollbarDisabledClass: "swiper-scrollbar-disabled", horizontalClass: "swiper-scrollbar-horizontal", verticalClass: "swiper-scrollbar-vertical" } }), t.scrollbar = { el: null, dragEl: null, $el: null, $dragEl: null }, i("init", (() =&gt; { !1 === t.params.scrollbar.enabled ? S() : (T(), v(), g()) })), i("update resize observerUpdate lock unlock", (() =&gt; { v() })), i("setTranslate", (() =&gt; { g() })), i("setTransition", ((e, s) =&gt; { !function (e) { t.params.scrollbar.el &amp;&amp; t.scrollbar.el &amp;&amp; t.scrollbar.$dragEl.transition(e) }(s) })), i("enable disable", (() =&gt; { const { $el: e } = t.scrollbar; e &amp;&amp; e[t.enabled ? "removeClass" : "addClass"](t.params.scrollbar.lockClass) })), i("destroy", (() =&gt; { $() })); const S = () =&gt; { t.$el.addClass(t.params.scrollbar.scrollbarDisabledClass), t.scrollbar.$el &amp;&amp; t.scrollbar.$el.addClass(t.params.scrollbar.scrollbarDisabledClass), $() }; Object.assign(t.scrollbar, { enable: () =&gt; { t.$el.removeClass(t.params.scrollbar.scrollbarDisabledClass), t.scrollbar.$el &amp;&amp; t.scrollbar.$el.removeClass(t.params.scrollbar.scrollbarDisabledClass), T(), v(), g() }, disable: S, updateSize: v, setTranslate: g, init: T, destroy: $ }) }, function (e) { let { swiper: t, extendParams: s, on: a } = e; s({ parallax: { enabled: !1 } }); const i = (e, s) =&gt; { const { rtl: a } = t, i = d(e), r = a ? -1 : 1, n = i.attr("data-swiper-parallax") || "0"; let l = i.attr("data-swiper-parallax-x"), o = i.attr("data-swiper-parallax-y"); const c = i.attr("data-swiper-parallax-scale"), p = i.attr("data-swiper-parallax-opacity"); if (l || o ? (l = l || "0", o = o || "0") : t.isHorizontal() ? (l = n, o = "0") : (o = n, l = "0"), l = l.indexOf("%") &gt;= 0 ? parseInt(l, 10) * s * r + "%" : l * s * r + "px", o = o.indexOf("%") &gt;= 0 ? parseInt(o, 10) * s + "%" : o * s + "px", null != p) { const e = p - (p - 1) * (1 - Math.abs(s)); i[0].style.opacity = e } if (null == c) i.transform(`translate3d(${l}, ${o}, 0px)`); else { const e = c - (c - 1) * (1 - Math.abs(s)); i.transform(`translate3d(${l}, ${o}, 0px) scale(${e})`) } }, r = () =&gt; { const { $el: e, slides: s, progress: a, snapGrid: r } = t; e.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e =&gt; { i(e, a) })), s.each(((e, s) =&gt; { let n = e.progress; t.params.slidesPerGroup &gt; 1 &amp;&amp; "auto" !== t.params.slidesPerView &amp;&amp; (n += Math.ceil(s / 2) - a * (r.length - 1)), n = Math.min(Math.max(n, -1), 1), d(e).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e =&gt; { i(e, n) })) })) }; a("beforeInit", (() =&gt; { t.params.parallax.enabled &amp;&amp; (t.params.watchSlidesProgress = !0, t.originalParams.watchSlidesProgress = !0) })), a("init", (() =&gt; { t.params.parallax.enabled &amp;&amp; r() })), a("setTranslate", (() =&gt; { t.params.parallax.enabled &amp;&amp; r() })), a("setTransition", ((e, s) =&gt; { t.params.parallax.enabled &amp;&amp; function (e) { void 0 === e &amp;&amp; (e = t.params.speed); const { $el: s } = t; s.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((t =&gt; { const s = d(t); let a = parseInt(s.attr("data-swiper-parallax-duration"), 10) || e; 0 === e &amp;&amp; (a = 0), s.transition(a) })) }(s) })) }, function (e) { let { swiper: t, extendParams: s, on: a, emit: i } = e; const n = r(); s({ zoom: { enabled: !1, maxRatio: 3, minRatio: 1, toggle: !0, containerClass: "swiper-zoom-container", zoomedSlideClass: "swiper-slide-zoomed" } }), t.zoom = { enabled: !1 }; let l, o, c, p = 1, u = !1; const m = { $slideEl: void 0, slideWidth: void 0, slideHeight: void 0, $imageEl: void 0, $imageWrapEl: void 0, maxRatio: 3 }, f = { 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: {} }, g = { x: void 0, y: void 0, prevPositionX: void 0, prevPositionY: void 0, prevTime: void 0 }; let v = 1; function w(e) { if (e.targetTouches.length &lt; 2) return 1; const t = e.targetTouches[0].pageX, s = e.targetTouches[0].pageY, a = e.targetTouches[1].pageX, i = e.targetTouches[1].pageY; return Math.sqrt((a - t) ** 2 + (i - s) ** 2) } function b(e) { const s = t.support, a = t.params.zoom; if (o = !1, c = !1, !s.gestures) { if ("touchstart" !== e.type || "touchstart" === e.type &amp;&amp; e.targetTouches.length &lt; 2) return; o = !0, m.scaleStart = w(e) } m.$slideEl &amp;&amp; m.$slideEl.length || (m.$slideEl = d(e.target).closest(`.${t.params.slideClass}`), 0 === m.$slideEl.length &amp;&amp; (m.$slideEl = t.slides.eq(t.activeIndex)), m.$imageEl = m.$slideEl.find(`.${a.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0), m.$imageWrapEl = m.$imageEl.parent(`.${a.containerClass}`), m.maxRatio = m.$imageWrapEl.attr("data-swiper-zoom") || a.maxRatio, 0 !== m.$imageWrapEl.length) ? (m.$imageEl &amp;&amp; m.$imageEl.transition(0), u = !0) : m.$imageEl = void 0 } function x(e) { const s = t.support, a = t.params.zoom, i = t.zoom; if (!s.gestures) { if ("touchmove" !== e.type || "touchmove" === e.type &amp;&amp; e.targetTouches.length &lt; 2) return; c = !0, m.scaleMove = w(e) } m.$imageEl &amp;&amp; 0 !== m.$imageEl.length ? (s.gestures ? i.scale = e.scale * p : i.scale = m.scaleMove / m.scaleStart * p, i.scale &gt; m.maxRatio &amp;&amp; (i.scale = m.maxRatio - 1 + (i.scale - m.maxRatio + 1) ** .5), i.scale &lt; a.minRatio &amp;&amp; (i.scale = a.minRatio + 1 - (a.minRatio - i.scale + 1) ** .5), m.$imageEl.transform(`translate3d(0,0,0) scale(${i.scale})`)) : "gesturechange" === e.type &amp;&amp; b(e) } function y(e) { const s = t.device, a = t.support, i = t.params.zoom, r = t.zoom; if (!a.gestures) { if (!o || !c) return; if ("touchend" !== e.type || "touchend" === e.type &amp;&amp; e.changedTouches.length &lt; 2 &amp;&amp; !s.android) return; o = !1, c = !1 } m.$imageEl &amp;&amp; 0 !== m.$imageEl.length &amp;&amp; (r.scale = Math.max(Math.min(r.scale, m.maxRatio), i.minRatio), m.$imageEl.transition(t.params.speed).transform(`translate3d(0,0,0) scale(${r.scale})`), p = r.scale, u = !1, 1 === r.scale &amp;&amp; (m.$slideEl = void 0)) } function E(e) { const s = t.zoom; if (!m.$imageEl || 0 === m.$imageEl.length) return; if (t.allowClick = !1, !f.isTouched || !m.$slideEl) return; f.isMoved || (f.width = m.$imageEl[0].offsetWidth, f.height = m.$imageEl[0].offsetHeight, f.startX = h(m.$imageWrapEl[0], "x") || 0, f.startY = h(m.$imageWrapEl[0], "y") || 0, m.slideWidth = m.$slideEl[0].offsetWidth, m.slideHeight = m.$slideEl[0].offsetHeight, m.$imageWrapEl.transition(0)); const a = f.width * s.scale, i = f.height * s.scale; if (!(a &lt; m.slideWidth &amp;&amp; i &lt; m.slideHeight)) { if (f.minX = Math.min(m.slideWidth / 2 - a / 2, 0), f.maxX = -f.minX, f.minY = Math.min(m.slideHeight / 2 - i / 2, 0), f.maxY = -f.minY, f.touchesCurrent.x = "touchmove" === e.type ? e.targetTouches[0].pageX : e.pageX, f.touchesCurrent.y = "touchmove" === e.type ? e.targetTouches[0].pageY : e.pageY, !f.isMoved &amp;&amp; !u) { if (t.isHorizontal() &amp;&amp; (Math.floor(f.minX) === Math.floor(f.startX) &amp;&amp; f.touchesCurrent.x &lt; f.touchesStart.x || Math.floor(f.maxX) === Math.floor(f.startX) &amp;&amp; f.touchesCurrent.x &gt; f.touchesStart.x)) return void (f.isTouched = !1); if (!t.isHorizontal() &amp;&amp; (Math.floor(f.minY) === Math.floor(f.startY) &amp;&amp; f.touchesCurrent.y &lt; f.touchesStart.y || Math.floor(f.maxY) === Math.floor(f.startY) &amp;&amp; f.touchesCurrent.y &gt; f.touchesStart.y)) return void (f.isTouched = !1) } e.cancelable &amp;&amp; e.preventDefault(), e.stopPropagation(), f.isMoved = !0, f.currentX = f.touchesCurrent.x - f.touchesStart.x + f.startX, f.currentY = f.touchesCurrent.y - f.touchesStart.y + f.startY, f.currentX &lt; f.minX &amp;&amp; (f.currentX = f.minX + 1 - (f.minX - f.currentX + 1) ** .8), f.currentX &gt; f.maxX &amp;&amp; (f.currentX = f.maxX - 1 + (f.currentX - f.maxX + 1) ** .8), f.currentY &lt; f.minY &amp;&amp; (f.currentY = f.minY + 1 - (f.minY - f.currentY + 1) ** .8), f.currentY &gt; f.maxY &amp;&amp; (f.currentY = f.maxY - 1 + (f.currentY - f.maxY + 1) ** .8), g.prevPositionX || (g.prevPositionX = f.touchesCurrent.x), g.prevPositionY || (g.prevPositionY = f.touchesCurrent.y), g.prevTime || (g.prevTime = Date.now()), g.x = (f.touchesCurrent.x - g.prevPositionX) / (Date.now() - g.prevTime) / 2, g.y = (f.touchesCurrent.y - g.prevPositionY) / (Date.now() - g.prevTime) / 2, Math.abs(f.touchesCurrent.x - g.prevPositionX) &lt; 2 &amp;&amp; (g.x = 0), Math.abs(f.touchesCurrent.y - g.prevPositionY) &lt; 2 &amp;&amp; (g.y = 0), g.prevPositionX = f.touchesCurrent.x, g.prevPositionY = f.touchesCurrent.y, g.prevTime = Date.now(), m.$imageWrapEl.transform(`translate3d(${f.currentX}px, ${f.currentY}px,0)`) } } function C() { const e = t.zoom; m.$slideEl &amp;&amp; t.previousIndex !== t.activeIndex &amp;&amp; (m.$imageEl &amp;&amp; m.$imageEl.transform("translate3d(0,0,0) scale(1)"), m.$imageWrapEl &amp;&amp; m.$imageWrapEl.transform("translate3d(0,0,0)"), e.scale = 1, p = 1, m.$slideEl = void 0, m.$imageEl = void 0, m.$imageWrapEl = void 0) } function T(e) { const s = t.zoom, a = t.params.zoom; if (m.$slideEl || (e &amp;&amp; e.target &amp;&amp; (m.$slideEl = d(e.target).closest(`.${t.params.slideClass}`)), m.$slideEl || (t.params.virtual &amp;&amp; t.params.virtual.enabled &amp;&amp; t.virtual ? m.$slideEl = t.$wrapperEl.children(`.${t.params.slideActiveClass}`) : m.$slideEl = t.slides.eq(t.activeIndex)), m.$imageEl = m.$slideEl.find(`.${a.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0), m.$imageWrapEl = m.$imageEl.parent(`.${a.containerClass}`)), !m.$imageEl || 0 === m.$imageEl.length || !m.$imageWrapEl || 0 === m.$imageWrapEl.length) return; let i, r, l, o, c, u, h, g, v, w, b, x, y, E, C, T, $, S; t.params.cssMode &amp;&amp; (t.wrapperEl.style.overflow = "hidden", t.wrapperEl.style.touchAction = "none"), m.$slideEl.addClass(`${a.zoomedSlideClass}`), void 0 === f.touchesStart.x &amp;&amp; e ? (i = "touchend" === e.type ? e.changedTouches[0].pageX : e.pageX, r = "touchend" === e.type ? e.changedTouches[0].pageY : e.pageY) : (i = f.touchesStart.x, r = f.touchesStart.y), s.scale = m.$imageWrapEl.attr("data-swiper-zoom") || a.maxRatio, p = m.$imageWrapEl.attr("data-swiper-zoom") || a.maxRatio, e ? ($ = m.$slideEl[0].offsetWidth, S = m.$slideEl[0].offsetHeight, l = m.$slideEl.offset().left + n.scrollX, o = m.$slideEl.offset().top + n.scrollY, c = l + $ / 2 - i, u = o + S / 2 - r, v = m.$imageEl[0].offsetWidth, w = m.$imageEl[0].offsetHeight, b = v * s.scale, x = w * s.scale, y = Math.min($ / 2 - b / 2, 0), E = Math.min(S / 2 - x / 2, 0), C = -y, T = -E, h = c * s.scale, g = u * s.scale, h &lt; y &amp;&amp; (h = y), h &gt; C &amp;&amp; (h = C), g &lt; E &amp;&amp; (g = E), g &gt; T &amp;&amp; (g = T)) : (h = 0, g = 0), m.$imageWrapEl.transition(300).transform(`translate3d(${h}px, ${g}px,0)`), m.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${s.scale})`) } function $() { const e = t.zoom, s = t.params.zoom; m.$slideEl || (t.params.virtual &amp;&amp; t.params.virtual.enabled &amp;&amp; t.virtual ? m.$slideEl = t.$wrapperEl.children(`.${t.params.slideActiveClass}`) : m.$slideEl = t.slides.eq(t.activeIndex), m.$imageEl = m.$slideEl.find(`.${s.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0), m.$imageWrapEl = m.$imageEl.parent(`.${s.containerClass}`)), m.$imageEl &amp;&amp; 0 !== m.$imageEl.length &amp;&amp; m.$imageWrapEl &amp;&amp; 0 !== m.$imageWrapEl.length &amp;&amp; (t.params.cssMode &amp;&amp; (t.wrapperEl.style.overflow = "", t.wrapperEl.style.touchAction = ""), e.scale = 1, p = 1, m.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"), m.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"), m.$slideEl.removeClass(`${s.zoomedSlideClass}`), m.$slideEl = void 0) } function S(e) { const s = t.zoom; s.scale &amp;&amp; 1 !== s.scale ? $() : T(e) } function M() { const e = t.support; return { passiveListener: !("touchstart" !== t.touchEvents.start || !e.passiveListener || !t.params.passiveListeners) &amp;&amp; { passive: !0, capture: !1 }, activeListenerWithCapture: !e.passiveListener || { passive: !1, capture: !0 } } } function P() { return `.${t.params.slideClass}` } function k(e) { const { passiveListener: s } = M(), a = P(); t.$wrapperEl[e]("gesturestart", a, b, s), t.$wrapperEl[e]("gesturechange", a, x, s), t.$wrapperEl[e]("gestureend", a, y, s) } function z() { l || (l = !0, k("on")) } function L() { l &amp;&amp; (l = !1, k("off")) } function O() { const e = t.zoom; if (e.enabled) return; e.enabled = !0; const s = t.support, { passiveListener: a, activeListenerWithCapture: i } = M(), r = P(); s.gestures ? (t.$wrapperEl.on(t.touchEvents.start, z, a), t.$wrapperEl.on(t.touchEvents.end, L, a)) : "touchstart" === t.touchEvents.start &amp;&amp; (t.$wrapperEl.on(t.touchEvents.start, r, b, a), t.$wrapperEl.on(t.touchEvents.move, r, x, i), t.$wrapperEl.on(t.touchEvents.end, r, y, a), t.touchEvents.cancel &amp;&amp; t.$wrapperEl.on(t.touchEvents.cancel, r, y, a)), t.$wrapperEl.on(t.touchEvents.move, `.${t.params.zoom.containerClass}`, E, i) } function I() { const e = t.zoom; if (!e.enabled) return; const s = t.support; e.enabled = !1; const { passiveListener: a, activeListenerWithCapture: i } = M(), r = P(); s.gestures ? (t.$wrapperEl.off(t.touchEvents.start, z, a), t.$wrapperEl.off(t.touchEvents.end, L, a)) : "touchstart" === t.touchEvents.start &amp;&amp; (t.$wrapperEl.off(t.touchEvents.start, r, b, a), t.$wrapperEl.off(t.touchEvents.move, r, x, i), t.$wrapperEl.off(t.touchEvents.end, r, y, a), t.touchEvents.cancel &amp;&amp; t.$wrapperEl.off(t.touchEvents.cancel, r, y, a)), t.$wrapperEl.off(t.touchEvents.move, `.${t.params.zoom.containerClass}`, E, i) } Object.defineProperty(t.zoom, "scale", { get: () =&gt; v, set(e) { if (v !== e) { const t = m.$imageEl ? m.$imageEl[0] : void 0, s = m.$slideEl ? m.$slideEl[0] : void 0; i("zoomChange", e, t, s) } v = e } }), a("init", (() =&gt; { t.params.zoom.enabled &amp;&amp; O() })), a("destroy", (() =&gt; { I() })), a("touchStart", ((e, s) =&gt; { t.zoom.enabled &amp;&amp; function (e) { const s = t.device; m.$imageEl &amp;&amp; 0 !== m.$imageEl.length &amp;&amp; (f.isTouched || (s.android &amp;&amp; e.cancelable &amp;&amp; e.preventDefault(), f.isTouched = !0, f.touchesStart.x = "touchstart" === e.type ? e.targetTouches[0].pageX : e.pageX, f.touchesStart.y = "touchstart" === e.type ? e.targetTouches[0].pageY : e.pageY)) }(s) })), a("touchEnd", ((e, s) =&gt; { t.zoom.enabled &amp;&amp; function () { const e = t.zoom; if (!m.$imageEl || 0 === m.$imageEl.length) return; if (!f.isTouched || !f.isMoved) return f.isTouched = !1, void (f.isMoved = !1); f.isTouched = !1, f.isMoved = !1; let s = 300, a = 300; const i = g.x * s, r = f.currentX + i, n = g.y * a, l = f.currentY + n; 0 !== g.x &amp;&amp; (s = Math.abs((r - f.currentX) / g.x)), 0 !== g.y &amp;&amp; (a = Math.abs((l - f.currentY) / g.y)); const o = Math.max(s, a); f.currentX = r, f.currentY = l; const d = f.width * e.scale, c = f.height * e.scale; f.minX = Math.min(m.slideWidth / 2 - d / 2, 0), f.maxX = -f.minX, f.minY = Math.min(m.slideHeight / 2 - c / 2, 0), f.maxY = -f.minY, f.currentX = Math.max(Math.min(f.currentX, f.maxX), f.minX), f.currentY = Math.max(Math.min(f.currentY, f.maxY), f.minY), m.$imageWrapEl.transition(o).transform(`translate3d(${f.currentX}px, ${f.currentY}px,0)`) }() })), a("doubleTap", ((e, s) =&gt; { !t.animating &amp;&amp; t.params.zoom.enabled &amp;&amp; t.zoom.enabled &amp;&amp; t.params.zoom.toggle &amp;&amp; S(s) })), a("transitionEnd", (() =&gt; { t.zoom.enabled &amp;&amp; t.params.zoom.enabled &amp;&amp; C() })), a("slideChange", (() =&gt; { t.zoom.enabled &amp;&amp; t.params.zoom.enabled &amp;&amp; t.params.cssMode &amp;&amp; C() })), Object.assign(t.zoom, { enable: O, disable: I, in: T, out: $, toggle: S }) }, function (e) { let { swiper: t, extendParams: s, on: a, emit: i } = e; s({ lazy: { checkInView: !1, enabled: !1, loadPrevNext: !1, loadPrevNextAmount: 1, loadOnTransitionStart: !1, scrollingElement: "", elementClass: "swiper-lazy", loadingClass: "swiper-lazy-loading", loadedClass: "swiper-lazy-loaded", preloaderClass: "swiper-lazy-preloader" } }), t.lazy = {}; let n = !1, l = !1; function o(e, s) { void 0 === s &amp;&amp; (s = !0); const a = t.params.lazy; if (void 0 === e) return; if (0 === t.slides.length) return; const r = t.virtual &amp;&amp; t.params.virtual.enabled ? t.$wrapperEl.children(`.${t.params.slideClass}[data-swiper-slide-index="${e}"]`) : t.slides.eq(e), n = r.find(`.${a.elementClass}:not(.${a.loadedClass}):not(.${a.loadingClass})`); !r.hasClass(a.elementClass) || r.hasClass(a.loadedClass) || r.hasClass(a.loadingClass) || n.push(r[0]), 0 !== n.length &amp;&amp; n.each((e =&gt; { const n = d(e); n.addClass(a.loadingClass); const l = n.attr("data-background"), c = n.attr("data-src"), p = n.attr("data-srcset"), u = n.attr("data-sizes"), h = n.parent("picture"); t.loadImage(n[0], c || l, p, u, !1, (() =&gt; { if (null != t &amp;&amp; t &amp;&amp; (!t || t.params) &amp;&amp; !t.destroyed) { if (l ? (n.css("background-image", `url("${l}")`), n.removeAttr("data-background")) : (p &amp;&amp; (n.attr("srcset", p), n.removeAttr("data-srcset")), u &amp;&amp; (n.attr("sizes", u), n.removeAttr("data-sizes")), h.length &amp;&amp; h.children("source").each((e =&gt; { const t = d(e); t.attr("data-srcset") &amp;&amp; (t.attr("srcset", t.attr("data-srcset")), t.removeAttr("data-srcset")) })), c &amp;&amp; (n.attr("src", c), n.removeAttr("data-src"))), n.addClass(a.loadedClass).removeClass(a.loadingClass), r.find(`.${a.preloaderClass}`).remove(), t.params.loop &amp;&amp; s) { const e = r.attr("data-swiper-slide-index"); if (r.hasClass(t.params.slideDuplicateClass)) { o(t.$wrapperEl.children(`[data-swiper-slide-index="${e}"]:not(.${t.params.slideDuplicateClass})`).index(), !1) } else { o(t.$wrapperEl.children(`.${t.params.slideDuplicateClass}[data-swiper-slide-index="${e}"]`).index(), !1) } } i("lazyImageReady", r[0], n[0]), t.params.autoHeight &amp;&amp; t.updateAutoHeight() } })), i("lazyImageLoad", r[0], n[0]) })) } function c() { const { $wrapperEl: e, params: s, slides: a, activeIndex: i } = t, r = t.virtual &amp;&amp; s.virtual.enabled, n = s.lazy; let c = s.slidesPerView; function p(t) { if (r) { if (e.children(`.${s.slideClass}[data-swiper-slide-index="${t}"]`).length) return !0 } else if (a[t]) return !0; return !1 } function u(e) { return r ? d(e).attr("data-swiper-slide-index") : d(e).index() } if ("auto" === c &amp;&amp; (c = 0), l || (l = !0), t.params.watchSlidesProgress) e.children(`.${s.slideVisibleClass}`).each((e =&gt; { o(r ? d(e).attr("data-swiper-slide-index") : d(e).index()) })); else if (c &gt; 1) for (let e = i; e &lt; i + c; e += 1)p(e) &amp;&amp; o(e); else o(i); if (n.loadPrevNext) if (c &gt; 1 || n.loadPrevNextAmount &amp;&amp; n.loadPrevNextAmount &gt; 1) { const e = n.loadPrevNextAmount, t = Math.ceil(c), s = Math.min(i + t + Math.max(e, t), a.length), r = Math.max(i - Math.max(t, e), 0); for (let e = i + t; e &lt; s; e += 1)p(e) &amp;&amp; o(e); for (let e = r; e &lt; i; e += 1)p(e) &amp;&amp; o(e) } else { const t = e.children(`.${s.slideNextClass}`); t.length &gt; 0 &amp;&amp; o(u(t)); const a = e.children(`.${s.slidePrevClass}`); a.length &gt; 0 &amp;&amp; o(u(a)) } } function p() { const e = r(); if (!t || t.destroyed) return; const s = t.params.lazy.scrollingElement ? d(t.params.lazy.scrollingElement) : d(e), a = s[0] === e, i = a ? e.innerWidth : s[0].offsetWidth, l = a ? e.innerHeight : s[0].offsetHeight, o = t.$el.offset(), { rtlTranslate: u } = t; let h = !1; u &amp;&amp; (o.left -= t.$el[0].scrollLeft); const m = [[o.left, o.top], [o.left + t.width, o.top], [o.left, o.top + t.height], [o.left + t.width, o.top + t.height]]; for (let e = 0; e &lt; m.length; e += 1) { const t = m[e]; if (t[0] &gt;= 0 &amp;&amp; t[0] &lt;= i &amp;&amp; t[1] &gt;= 0 &amp;&amp; t[1] &lt;= l) { if (0 === t[0] &amp;&amp; 0 === t[1]) continue; h = !0 } } const f = !("touchstart" !== t.touchEvents.start || !t.support.passiveListener || !t.params.passiveListeners) &amp;&amp; { passive: !0, capture: !1 }; h ? (c(), s.off("scroll", p, f)) : n || (n = !0, s.on("scroll", p, f)) } a("beforeInit", (() =&gt; { t.params.lazy.enabled &amp;&amp; t.params.preloadImages &amp;&amp; (t.params.preloadImages = !1) })), a("init", (() =&gt; { t.params.lazy.enabled &amp;&amp; (t.params.lazy.checkInView ? p() : c()) })), a("scroll", (() =&gt; { t.params.freeMode &amp;&amp; t.params.freeMode.enabled &amp;&amp; !t.params.freeMode.sticky &amp;&amp; c() })), a("scrollbarDragMove resize _freeModeNoMomentumRelease", (() =&gt; { t.params.lazy.enabled &amp;&amp; (t.params.lazy.checkInView ? p() : c()) })), a("transitionStart", (() =&gt; { t.params.lazy.enabled &amp;&amp; (t.params.lazy.loadOnTransitionStart || !t.params.lazy.loadOnTransitionStart &amp;&amp; !l) &amp;&amp; (t.params.lazy.checkInView ? p() : c()) })), a("transitionEnd", (() =&gt; { t.params.lazy.enabled &amp;&amp; !t.params.lazy.loadOnTransitionStart &amp;&amp; (t.params.lazy.checkInView ? p() : c()) })), a("slideChange", (() =&gt; { const { lazy: e, cssMode: s, watchSlidesProgress: a, touchReleaseOnEdges: i, resistanceRatio: r } = t.params; e.enabled &amp;&amp; (s || a &amp;&amp; (i || 0 === r)) &amp;&amp; c() })), a("destroy", (() =&gt; { t.$el &amp;&amp; t.$el.find(`.${t.params.lazy.loadingClass}`).removeClass(t.params.lazy.loadingClass) })), Object.assign(t.lazy, { load: c, loadInSlide: o }) }, function (e) { let { swiper: t, extendParams: s, on: a } = e; function i(e, t) { const s = function () { let e, t, s; return (a, i) =&gt; { for (t = -1, e = a.length; e - t &gt; 1;)s = e + t &gt;&gt; 1, a[s] &lt;= i ? t = s : e = s; return e } }(); let a, i; return this.x = e, this.y = t, this.lastIndex = e.length - 1, this.interpolate = function (e) { return e ? (i = s(this.x, e), a = i - 1, (e - this.x[a]) * (this.y[i] - this.y[a]) / (this.x[i] - this.x[a]) + this.y[a]) : 0 }, this } function r() { t.controller.control &amp;&amp; t.controller.spline &amp;&amp; (t.controller.spline = void 0, delete t.controller.spline) } s({ controller: { control: void 0, inverse: !1, by: "slide" } }), t.controller = { control: void 0 }, a("beforeInit", (() =&gt; { t.controller.control = t.params.controller.control })), a("update", (() =&gt; { r() })), a("resize", (() =&gt; { r() })), a("observerUpdate", (() =&gt; { r() })), a("setTranslate", ((e, s, a) =&gt; { t.controller.control &amp;&amp; t.controller.setTranslate(s, a) })), a("setTransition", ((e, s, a) =&gt; { t.controller.control &amp;&amp; t.controller.setTransition(s, a) })), Object.assign(t.controller, { setTranslate: function (e, s) { const a = t.controller.control; let r, n; const l = t.constructor; function o(e) { const s = t.rtlTranslate ? -t.translate : t.translate; "slide" === t.params.controller.by &amp;&amp; (!function (e) { t.controller.spline || (t.controller.spline = t.params.loop ? new i(t.slidesGrid, e.slidesGrid) : new i(t.snapGrid, e.snapGrid)) }(e), n = -t.controller.spline.interpolate(-s)), n &amp;&amp; "container" !== t.params.controller.by || (r = (e.maxTranslate() - e.minTranslate()) / (t.maxTranslate() - t.minTranslate()), n = (s - t.minTranslate()) * r + e.minTranslate()), t.params.controller.inverse &amp;&amp; (n = e.maxTranslate() - n), e.updateProgress(n), e.setTranslate(n, t), e.updateActiveIndex(), e.updateSlidesClasses() } if (Array.isArray(a)) for (let e = 0; e &lt; a.length; e += 1)a[e] !== s &amp;&amp; a[e] instanceof l &amp;&amp; o(a[e]); else a instanceof l &amp;&amp; s !== a &amp;&amp; o(a) }, setTransition: function (e, s) { const a = t.constructor, i = t.controller.control; let r; function n(s) { s.setTransition(e, t), 0 !== e &amp;&amp; (s.transitionStart(), s.params.autoHeight &amp;&amp; p((() =&gt; { s.updateAutoHeight() })), s.$wrapperEl.transitionEnd((() =&gt; { i &amp;&amp; (s.params.loop &amp;&amp; "slide" === t.params.controller.by &amp;&amp; s.loopFix(), s.transitionEnd()) }))) } if (Array.isArray(i)) for (r = 0; r &lt; i.length; r += 1)i[r] !== s &amp;&amp; i[r] instanceof a &amp;&amp; n(i[r]); else i instanceof a &amp;&amp; s !== i &amp;&amp; n(i) } }) }, function (e) { let { swiper: t, extendParams: s, on: a } = e; s({ 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", id: null } }); let i = null; function r(e) { const t = i; 0 !== t.length &amp;&amp; (t.html(""), t.html(e)) } function n(e) { e.attr("tabIndex", "0") } function l(e) { e.attr("tabIndex", "-1") } function o(e, t) { e.attr("role", t) } function c(e, t) { e.attr("aria-roledescription", t) } function p(e, t) { e.attr("aria-label", t) } function u(e) { e.attr("aria-disabled", !0) } function h(e) { e.attr("aria-disabled", !1) } function m(e) { if (13 !== e.keyCode &amp;&amp; 32 !== e.keyCode) return; const s = t.params.a11y, a = d(e.target); t.navigation &amp;&amp; t.navigation.$nextEl &amp;&amp; a.is(t.navigation.$nextEl) &amp;&amp; (t.isEnd &amp;&amp; !t.params.loop || t.slideNext(), t.isEnd ? r(s.lastSlideMessage) : r(s.nextSlideMessage)), t.navigation &amp;&amp; t.navigation.$prevEl &amp;&amp; a.is(t.navigation.$prevEl) &amp;&amp; (t.isBeginning &amp;&amp; !t.params.loop || t.slidePrev(), t.isBeginning ? r(s.firstSlideMessage) : r(s.prevSlideMessage)), t.pagination &amp;&amp; a.is(U(t.params.pagination.bulletClass)) &amp;&amp; a[0].click() } function f() { return t.pagination &amp;&amp; t.pagination.bullets &amp;&amp; t.pagination.bullets.length } function g() { return f() &amp;&amp; t.params.pagination.clickable } const v = (e, t, s) =&gt; { n(e), "BUTTON" !== e[0].tagName &amp;&amp; (o(e, "button"), e.on("keydown", m)), p(e, s), function (e, t) { e.attr("aria-controls", t) }(e, t) }, w = e =&gt; { const s = e.target.closest(`.${t.params.slideClass}`); if (!s || !t.slides.includes(s)) return; const a = t.slides.indexOf(s) === t.activeIndex, i = t.params.watchSlidesProgress &amp;&amp; t.visibleSlides &amp;&amp; t.visibleSlides.includes(s); a || i || (t.isHorizontal() ? t.el.scrollLeft = 0 : t.el.scrollTop = 0, t.slideTo(t.slides.indexOf(s), 0)) }, b = () =&gt; { const e = t.params.a11y; e.itemRoleDescriptionMessage &amp;&amp; c(d(t.slides), e.itemRoleDescriptionMessage), e.slideRole &amp;&amp; o(d(t.slides), e.slideRole); const s = t.params.loop ? t.slides.filter((e =&gt; !e.classList.contains(t.params.slideDuplicateClass))).length : t.slides.length; e.slideLabelMessage &amp;&amp; t.slides.each(((a, i) =&gt; { const r = d(a), n = t.params.loop ? parseInt(r.attr("data-swiper-slide-index"), 10) : i; p(r, e.slideLabelMessage.replace(/\{\{index\}\}/, n + 1).replace(/\{\{slidesLength\}\}/, s)) })) }, x = () =&gt; { const e = t.params.a11y; t.$el.append(i); const s = t.$el; e.containerRoleDescriptionMessage &amp;&amp; c(s, e.containerRoleDescriptionMessage), e.containerMessage &amp;&amp; p(s, e.containerMessage); const a = t.$wrapperEl, r = e.id || a.attr("id") || `swiper-wrapper-${n = 16, void 0 === n &amp;&amp; (n = 16), "x".repeat(n).replace(/x/g, (() =&gt; Math.round(16 * Math.random()).toString(16)))}`; var n; const l = t.params.autoplay &amp;&amp; t.params.autoplay.enabled ? "off" : "polite"; var o; let d, u; o = r, a.attr("id", o), function (e, t) { e.attr("aria-live", t) }(a, l), b(), t.navigation &amp;&amp; t.navigation.$nextEl &amp;&amp; (d = t.navigation.$nextEl), t.navigation &amp;&amp; t.navigation.$prevEl &amp;&amp; (u = t.navigation.$prevEl), d &amp;&amp; d.length &amp;&amp; v(d, r, e.nextSlideMessage), u &amp;&amp; u.length &amp;&amp; v(u, r, e.prevSlideMessage), g() &amp;&amp; t.pagination.$el.on("keydown", U(t.params.pagination.bulletClass), m), t.$el.on("focus", w, !0) }; a("beforeInit", (() =&gt; { i = d(`&lt;span class="${t.params.a11y.notificationClass}" aria-live="assertive" aria-atomic="true"&gt;&lt;/span&gt;`) })), a("afterInit", (() =&gt; { t.params.a11y.enabled &amp;&amp; x() })), a("slidesLengthChange snapGridLengthChange slidesGridLengthChange", (() =&gt; { t.params.a11y.enabled &amp;&amp; b() })), a("fromEdge toEdge afterInit lock unlock", (() =&gt; { t.params.a11y.enabled &amp;&amp; function () { if (t.params.loop || t.params.rewind || !t.navigation) return; const { $nextEl: e, $prevEl: s } = t.navigation; s &amp;&amp; s.length &gt; 0 &amp;&amp; (t.isBeginning ? (u(s), l(s)) : (h(s), n(s))), e &amp;&amp; e.length &gt; 0 &amp;&amp; (t.isEnd ? (u(e), l(e)) : (h(e), n(e))) }() })), a("paginationUpdate", (() =&gt; { t.params.a11y.enabled &amp;&amp; function () { const e = t.params.a11y; f() &amp;&amp; t.pagination.bullets.each((s =&gt; { const a = d(s); t.params.pagination.clickable &amp;&amp; (n(a), t.params.pagination.renderBullet || (o(a, "button"), p(a, e.paginationBulletMessage.replace(/\{\{index\}\}/, a.index() + 1)))), a.is(`.${t.params.pagination.bulletActiveClass}`) ? a.attr("aria-current", "true") : a.removeAttr("aria-current") })) }() })), a("destroy", (() =&gt; { t.params.a11y.enabled &amp;&amp; function () { let e, s; i &amp;&amp; i.length &gt; 0 &amp;&amp; i.remove(), t.navigation &amp;&amp; t.navigation.$nextEl &amp;&amp; (e = t.navigation.$nextEl), t.navigation &amp;&amp; t.navigation.$prevEl &amp;&amp; (s = t.navigation.$prevEl), e &amp;&amp; e.off("keydown", m), s &amp;&amp; s.off("keydown", m), g() &amp;&amp; t.pagination.$el.off("keydown", U(t.params.pagination.bulletClass), m), t.$el.off("focus", w, !0) }() })) }, function (e) { let { swiper: t, extendParams: s, on: a } = e; s({ history: { enabled: !1, root: "", replaceState: !1, key: "slides", keepQuery: !1 } }); let i = !1, n = {}; const l = e =&gt; e.toString().replace(/\s+/g, "-").replace(/[^\w-]+/g, "").replace(/--+/g, "-").replace(/^-+/, "").replace(/-+$/, ""), o = e =&gt; { const t = r(); let s; s = e ? new URL(e) : t.location; const a = s.pathname.slice(1).split("/").filter((e =&gt; "" !== e)), i = a.length; return { key: a[i - 2], value: a[i - 1] } }, d = (e, s) =&gt; { const a = r(); if (!i || !t.params.history.enabled) return; let n; n = t.params.url ? new URL(t.params.url) : a.location; const o = t.slides.eq(s); let d = l(o.attr("data-history")); if (t.params.history.root.length &gt; 0) { let s = t.params.history.root; "/" === s[s.length - 1] &amp;&amp; (s = s.slice(0, s.length - 1)), d = `${s}/${e}/${d}` } else n.pathname.includes(e) || (d = `${e}/${d}`); t.params.history.keepQuery &amp;&amp; (d += n.search); const c = a.history.state; c &amp;&amp; c.value === d || (t.params.history.replaceState ? a.history.replaceState({ value: d }, null, d) : a.history.pushState({ value: d }, null, d)) }, c = (e, s, a) =&gt; { if (s) for (let i = 0, r = t.slides.length; i &lt; r; i += 1) { const r = t.slides.eq(i); if (l(r.attr("data-history")) === s &amp;&amp; !r.hasClass(t.params.slideDuplicateClass)) { const s = r.index(); t.slideTo(s, e, a) } } else t.slideTo(0, e, a) }, p = () =&gt; { n = o(t.params.url), c(t.params.speed, n.value, !1) }; a("init", (() =&gt; { t.params.history.enabled &amp;&amp; (() =&gt; { const e = r(); if (t.params.history) { if (!e.history || !e.history.pushState) return t.params.history.enabled = !1, void (t.params.hashNavigation.enabled = !0); i = !0, n = o(t.params.url), (n.key || n.value) &amp;&amp; (c(0, n.value, t.params.runCallbacksOnInit), t.params.history.replaceState || e.addEventListener("popstate", p)) } })() })), a("destroy", (() =&gt; { t.params.history.enabled &amp;&amp; (() =&gt; { const e = r(); t.params.history.replaceState || e.removeEventListener("popstate", p) })() })), a("transitionEnd _freeModeNoMomentumRelease", (() =&gt; { i &amp;&amp; d(t.params.history.key, t.activeIndex) })), a("slideChange", (() =&gt; { i &amp;&amp; t.params.cssMode &amp;&amp; d(t.params.history.key, t.activeIndex) })) }, function (e) { let { swiper: t, extendParams: s, emit: i, on: n } = e, l = !1; const o = a(), c = r(); s({ hashNavigation: { enabled: !1, replaceState: !1, watchState: !1 } }); const p = () =&gt; { i("hashChange"); const e = o.location.hash.replace("#", ""); if (e !== t.slides.eq(t.activeIndex).attr("data-hash")) { const s = t.$wrapperEl.children(`.${t.params.slideClass}[data-hash="${e}"]`).index(); if (void 0 === s) return; t.slideTo(s) } }, u = () =&gt; { if (l &amp;&amp; t.params.hashNavigation.enabled) if (t.params.hashNavigation.replaceState &amp;&amp; c.history &amp;&amp; c.history.replaceState) c.history.replaceState(null, null, `#${t.slides.eq(t.activeIndex).attr("data-hash")}` || ""), i("hashSet"); else { const e = t.slides.eq(t.activeIndex), s = e.attr("data-hash") || e.attr("data-history"); o.location.hash = s || "", i("hashSet") } }; n("init", (() =&gt; { t.params.hashNavigation.enabled &amp;&amp; (() =&gt; { if (!t.params.hashNavigation.enabled || t.params.history &amp;&amp; t.params.history.enabled) return; l = !0; const e = o.location.hash.replace("#", ""); if (e) { const s = 0; for (let a = 0, i = t.slides.length; a &lt; i; a += 1) { const i = t.slides.eq(a); if ((i.attr("data-hash") || i.attr("data-history")) === e &amp;&amp; !i.hasClass(t.params.slideDuplicateClass)) { const e = i.index(); t.slideTo(e, s, t.params.runCallbacksOnInit, !0) } } } t.params.hashNavigation.watchState &amp;&amp; d(c).on("hashchange", p) })() })), n("destroy", (() =&gt; { t.params.hashNavigation.enabled &amp;&amp; t.params.hashNavigation.watchState &amp;&amp; d(c).off("hashchange", p) })), n("transitionEnd _freeModeNoMomentumRelease", (() =&gt; { l &amp;&amp; u() })), n("slideChange", (() =&gt; { l &amp;&amp; t.params.cssMode &amp;&amp; u() })) }, function (e) { let t, { swiper: s, extendParams: i, on: r, emit: n } = e; function l() { if (!s.size) return s.autoplay.running = !1, void (s.autoplay.paused = !1); const e = s.slides.eq(s.activeIndex); let a = s.params.autoplay.delay; e.attr("data-swiper-autoplay") &amp;&amp; (a = e.attr("data-swiper-autoplay") || s.params.autoplay.delay), clearTimeout(t), t = p((() =&gt; { let e; s.params.autoplay.reverseDirection ? s.params.loop ? (s.loopFix(), e = s.slidePrev(s.params.speed, !0, !0), n("autoplay")) : s.isBeginning ? s.params.autoplay.stopOnLastSlide ? d() : (e = s.slideTo(s.slides.length - 1, s.params.speed, !0, !0), n("autoplay")) : (e = s.slidePrev(s.params.speed, !0, !0), n("autoplay")) : s.params.loop ? (s.loopFix(), e = s.slideNext(s.params.speed, !0, !0), n("autoplay")) : s.isEnd ? s.params.autoplay.stopOnLastSlide ? d() : (e = s.slideTo(0, s.params.speed, !0, !0), n("autoplay")) : (e = s.slideNext(s.params.speed, !0, !0), n("autoplay")), (s.params.cssMode &amp;&amp; s.autoplay.running || !1 === e) &amp;&amp; l() }), a) } function o() { return void 0 === t &amp;&amp; (!s.autoplay.running &amp;&amp; (s.autoplay.running = !0, n("autoplayStart"), l(), !0)) } function d() { return !!s.autoplay.running &amp;&amp; (void 0 !== t &amp;&amp; (t &amp;&amp; (clearTimeout(t), t = void 0), s.autoplay.running = !1, n("autoplayStop"), !0)) } function c(e) { s.autoplay.running &amp;&amp; (s.autoplay.paused || (t &amp;&amp; clearTimeout(t), s.autoplay.paused = !0, 0 !== e &amp;&amp; s.params.autoplay.waitForTransition ? ["transitionend", "webkitTransitionEnd"].forEach((e =&gt; { s.$wrapperEl[0].addEventListener(e, h) })) : (s.autoplay.paused = !1, l()))) } function u() { const e = a(); "hidden" === e.visibilityState &amp;&amp; s.autoplay.running &amp;&amp; c(), "visible" === e.visibilityState &amp;&amp; s.autoplay.paused &amp;&amp; (l(), s.autoplay.paused = !1) } function h(e) { s &amp;&amp; !s.destroyed &amp;&amp; s.$wrapperEl &amp;&amp; e.target === s.$wrapperEl[0] &amp;&amp; (["transitionend", "webkitTransitionEnd"].forEach((e =&gt; { s.$wrapperEl[0].removeEventListener(e, h) })), s.autoplay.paused = !1, s.autoplay.running ? l() : d()) } function m() { s.params.autoplay.disableOnInteraction ? d() : (n("autoplayPause"), c()), ["transitionend", "webkitTransitionEnd"].forEach((e =&gt; { s.$wrapperEl[0].removeEventListener(e, h) })) } function f() { s.params.autoplay.disableOnInteraction || (s.autoplay.paused = !1, n("autoplayResume"), l()) } s.autoplay = { running: !1, paused: !1 }, i({ autoplay: { enabled: !1, delay: 3e3, waitForTransition: !0, disableOnInteraction: !0, stopOnLastSlide: !1, reverseDirection: !1, pauseOnMouseEnter: !1 } }), r("init", (() =&gt; { if (s.params.autoplay.enabled) { o(); a().addEventListener("visibilitychange", u), s.params.autoplay.pauseOnMouseEnter &amp;&amp; (s.$el.on("mouseenter", m), s.$el.on("mouseleave", f)) } })), r("beforeTransitionStart", ((e, t, a) =&gt; { s.autoplay.running &amp;&amp; (a || !s.params.autoplay.disableOnInteraction ? s.autoplay.pause(t) : d()) })), r("sliderFirstMove", (() =&gt; { s.autoplay.running &amp;&amp; (s.params.autoplay.disableOnInteraction ? d() : c()) })), r("touchEnd", (() =&gt; { s.params.cssMode &amp;&amp; s.autoplay.paused &amp;&amp; !s.params.autoplay.disableOnInteraction &amp;&amp; l() })), r("destroy", (() =&gt; { s.$el.off("mouseenter", m), s.$el.off("mouseleave", f), s.autoplay.running &amp;&amp; d(); a().removeEventListener("visibilitychange", u) })), Object.assign(s.autoplay, { pause: c, run: l, start: o, stop: d }) }, function (e) { let { swiper: t, extendParams: s, on: a } = e; s({ thumbs: { swiper: null, multipleActiveThumbs: !0, autoScrollOffset: 0, slideThumbActiveClass: "swiper-slide-thumb-active", thumbsContainerClass: "swiper-thumbs" } }); let i = !1, r = !1; function n() { const e = t.thumbs.swiper; if (!e || e.destroyed) return; const s = e.clickedIndex, a = e.clickedSlide; if (a &amp;&amp; d(a).hasClass(t.params.thumbs.slideThumbActiveClass)) return; if (null == s) return; let i; if (i = e.params.loop ? parseInt(d(e.clickedSlide).attr("data-swiper-slide-index"), 10) : s, t.params.loop) { let e = t.activeIndex; t.slides.eq(e).hasClass(t.params.slideDuplicateClass) &amp;&amp; (t.loopFix(), t._clientLeft = t.$wrapperEl[0].clientLeft, e = t.activeIndex); const s = t.slides.eq(e).prevAll(`[data-swiper-slide-index="${i}"]`).eq(0).index(), a = t.slides.eq(e).nextAll(`[data-swiper-slide-index="${i}"]`).eq(0).index(); i = void 0 === s ? a : void 0 === a ? s : a - e &lt; e - s ? a : s } t.slideTo(i) } function l() { const { thumbs: e } = t.params; if (i) return !1; i = !0; const s = t.constructor; if (e.swiper instanceof s) t.thumbs.swiper = e.swiper, Object.assign(t.thumbs.swiper.originalParams, { watchSlidesProgress: !0, slideToClickedSlide: !1 }), Object.assign(t.thumbs.swiper.params, { watchSlidesProgress: !0, slideToClickedSlide: !1 }); else if (m(e.swiper)) { const a = Object.assign({}, e.swiper); Object.assign(a, { watchSlidesProgress: !0, slideToClickedSlide: !1 }), t.thumbs.swiper = new s(a), r = !0 } return t.thumbs.swiper.$el.addClass(t.params.thumbs.thumbsContainerClass), t.thumbs.swiper.on("tap", n), !0 } function o(e) { const s = t.thumbs.swiper; if (!s || s.destroyed) return; const a = "auto" === s.params.slidesPerView ? s.slidesPerViewDynamic() : s.params.slidesPerView; let i = 1; const r = t.params.thumbs.slideThumbActiveClass; if (t.params.slidesPerView &gt; 1 &amp;&amp; !t.params.centeredSlides &amp;&amp; (i = t.params.slidesPerView), t.params.thumbs.multipleActiveThumbs || (i = 1), i = Math.floor(i), s.slides.removeClass(r), s.params.loop || s.params.virtual &amp;&amp; s.params.virtual.enabled) for (let e = 0; e &lt; i; e += 1)s.$wrapperEl.children(`[data-swiper-slide-index="${t.realIndex + e}"]`).addClass(r); else for (let e = 0; e &lt; i; e += 1)s.slides.eq(t.realIndex + e).addClass(r); const n = t.params.thumbs.autoScrollOffset, l = n &amp;&amp; !s.params.loop; if (t.realIndex !== s.realIndex || l) { let i, r, o = s.activeIndex; if (s.params.loop) { s.slides.eq(o).hasClass(s.params.slideDuplicateClass) &amp;&amp; (s.loopFix(), s._clientLeft = s.$wrapperEl[0].clientLeft, o = s.activeIndex); const e = s.slides.eq(o).prevAll(`[data-swiper-slide-index="${t.realIndex}"]`).eq(0).index(), a = s.slides.eq(o).nextAll(`[data-swiper-slide-index="${t.realIndex}"]`).eq(0).index(); i = void 0 === e ? a : void 0 === a ? e : a - o == o - e ? s.params.slidesPerGroup &gt; 1 ? a : o : a - o &lt; o - e ? a : e, r = t.activeIndex &gt; t.previousIndex ? "next" : "prev" } else i = t.realIndex, r = i &gt; t.previousIndex ? "next" : "prev"; l &amp;&amp; (i += "next" === r ? n : -1 * n), s.visibleSlidesIndexes &amp;&amp; s.visibleSlidesIndexes.indexOf(i) &lt; 0 &amp;&amp; (s.params.centeredSlides ? i = i &gt; o ? i - Math.floor(a / 2) + 1 : i + Math.floor(a / 2) - 1 : i &gt; o &amp;&amp; s.params.slidesPerGroup, s.slideTo(i, e ? 0 : void 0)) } } t.thumbs = { swiper: null }, a("beforeInit", (() =&gt; { const { thumbs: e } = t.params; e &amp;&amp; e.swiper &amp;&amp; (l(), o(!0)) })), a("slideChange update resize observerUpdate", (() =&gt; { o() })), a("setTransition", ((e, s) =&gt; { const a = t.thumbs.swiper; a &amp;&amp; !a.destroyed &amp;&amp; a.setTransition(s) })), a("beforeDestroy", (() =&gt; { const e = t.thumbs.swiper; e &amp;&amp; !e.destroyed &amp;&amp; r &amp;&amp; e.destroy() })), Object.assign(t.thumbs, { init: l, update: o }) }, function (e) { let { swiper: t, extendParams: s, emit: a, once: i } = e; s({ freeMode: { enabled: !1, momentum: !0, momentumRatio: 1, momentumBounce: !0, momentumBounceRatio: 1, momentumVelocityRatio: 1, sticky: !1, minimumVelocity: .02 } }), Object.assign(t, { freeMode: { onTouchStart: function () { const e = t.getTranslate(); t.setTranslate(e), t.setTransition(0), t.touchEventsData.velocities.length = 0, t.freeMode.onTouchEnd({ currentPos: t.rtl ? t.translate : -t.translate }) }, onTouchMove: function () { const { touchEventsData: e, touches: s } = t; 0 === e.velocities.length &amp;&amp; e.velocities.push({ position: s[t.isHorizontal() ? "startX" : "startY"], time: e.touchStartTime }), e.velocities.push({ position: s[t.isHorizontal() ? "currentX" : "currentY"], time: u() }) }, onTouchEnd: function (e) { let { currentPos: s } = e; const { params: r, $wrapperEl: n, rtlTranslate: l, snapGrid: o, touchEventsData: d } = t, c = u() - d.touchStartTime; if (s &lt; -t.minTranslate()) t.slideTo(t.activeIndex); else if (s &gt; -t.maxTranslate()) t.slides.length &lt; o.length ? t.slideTo(o.length - 1) : t.slideTo(t.slides.length - 1); else { if (r.freeMode.momentum) { if (d.velocities.length &gt; 1) { const e = d.velocities.pop(), s = d.velocities.pop(), a = e.position - s.position, i = e.time - s.time; t.velocity = a / i, t.velocity /= 2, Math.abs(t.velocity) &lt; r.freeMode.minimumVelocity &amp;&amp; (t.velocity = 0), (i &gt; 150 || u() - e.time &gt; 300) &amp;&amp; (t.velocity = 0) } else t.velocity = 0; t.velocity *= r.freeMode.momentumVelocityRatio, d.velocities.length = 0; let e = 1e3 * r.freeMode.momentumRatio; const s = t.velocity * e; let c = t.translate + s; l &amp;&amp; (c = -c); let p, h = !1; const m = 20 * Math.abs(t.velocity) * r.freeMode.momentumBounceRatio; let f; if (c &lt; t.maxTranslate()) r.freeMode.momentumBounce ? (c + t.maxTranslate() &lt; -m &amp;&amp; (c = t.maxTranslate() - m), p = t.maxTranslate(), h = !0, d.allowMomentumBounce = !0) : c = t.maxTranslate(), r.loop &amp;&amp; r.centeredSlides &amp;&amp; (f = !0); else if (c &gt; t.minTranslate()) r.freeMode.momentumBounce ? (c - t.minTranslate() &gt; m &amp;&amp; (c = t.minTranslate() + m), p = t.minTranslate(), h = !0, d.allowMomentumBounce = !0) : c = t.minTranslate(), r.loop &amp;&amp; r.centeredSlides &amp;&amp; (f = !0); else if (r.freeMode.sticky) { let e; for (let t = 0; t &lt; o.length; t += 1)if (o[t] &gt; -c) { e = t; break } c = Math.abs(o[e] - c) &lt; Math.abs(o[e - 1] - c) || "next" === t.swipeDirection ? o[e] : o[e - 1], c = -c } if (f &amp;&amp; i("transitionEnd", (() =&gt; { t.loopFix() })), 0 !== t.velocity) { if (e = l ? Math.abs((-c - t.translate) / t.velocity) : Math.abs((c - t.translate) / t.velocity), r.freeMode.sticky) { const s = Math.abs((l ? -c : c) - t.translate), a = t.slidesSizesGrid[t.activeIndex]; e = s &lt; a ? r.speed : s &lt; 2 * a ? 1.5 * r.speed : 2.5 * r.speed } } else if (r.freeMode.sticky) return void t.slideToClosest(); r.freeMode.momentumBounce &amp;&amp; h ? (t.updateProgress(p), t.setTransition(e), t.setTranslate(c), t.transitionStart(!0, t.swipeDirection), t.animating = !0, n.transitionEnd((() =&gt; { t &amp;&amp; !t.destroyed &amp;&amp; d.allowMomentumBounce &amp;&amp; (a("momentumBounce"), t.setTransition(r.speed), setTimeout((() =&gt; { t.setTranslate(p), n.transitionEnd((() =&gt; { t &amp;&amp; !t.destroyed &amp;&amp; t.transitionEnd() })) }), 0)) }))) : t.velocity ? (a("_freeModeNoMomentumRelease"), t.updateProgress(c), t.setTransition(e), t.setTranslate(c), t.transitionStart(!0, t.swipeDirection), t.animating || (t.animating = !0, n.transitionEnd((() =&gt; { t &amp;&amp; !t.destroyed &amp;&amp; t.transitionEnd() })))) : t.updateProgress(c), t.updateActiveIndex(), t.updateSlidesClasses() } else { if (r.freeMode.sticky) return void t.slideToClosest(); r.freeMode &amp;&amp; a("_freeModeNoMomentumRelease") } (!r.freeMode.momentum || c &gt;= r.longSwipesMs) &amp;&amp; (t.updateProgress(), t.updateActiveIndex(), t.updateSlidesClasses()) } } } }) }, function (e) { let t, s, a, { swiper: i, extendParams: r } = e; r({ grid: { rows: 1, fill: "column" } }), i.grid = { initSlides: e =&gt; { const { slidesPerView: r } = i.params, { rows: n, fill: l } = i.params.grid; s = t / n, a = Math.floor(e / n), t = Math.floor(e / n) === e / n ? e : Math.ceil(e / n) * n, "auto" !== r &amp;&amp; "row" === l &amp;&amp; (t = Math.max(t, r * n)) }, updateSlide: (e, r, n, l) =&gt; { const { slidesPerGroup: o, spaceBetween: d } = i.params, { rows: c, fill: p } = i.params.grid; let u, h, m; if ("row" === p &amp;&amp; o &gt; 1) { const s = Math.floor(e / (o * c)), a = e - c * o * s, i = 0 === s ? o : Math.min(Math.ceil((n - s * c * o) / c), o); m = Math.floor(a / i), h = a - m * i + s * o, u = h + m * t / c, r.css({ "-webkit-order": u, order: u }) } else "column" === p ? (h = Math.floor(e / c), m = e - h * c, (h &gt; a || h === a &amp;&amp; m === c - 1) &amp;&amp; (m += 1, m &gt;= c &amp;&amp; (m = 0, h += 1))) : (m = Math.floor(e / s), h = e - m * s); r.css(l("margin-top"), 0 !== m ? d &amp;&amp; `${d}px` : "") }, updateWrapperSize: (e, s, a) =&gt; { const { spaceBetween: r, centeredSlides: n, roundLengths: l } = i.params, { rows: o } = i.params.grid; if (i.virtualSize = (e + r) * t, i.virtualSize = Math.ceil(i.virtualSize / o) - r, i.$wrapperEl.css({ [a("width")]: `${i.virtualSize + r}px` }), n) { s.splice(0, s.length); const e = []; for (let t = 0; t &lt; s.length; t += 1) { let a = s[t]; l &amp;&amp; (a = Math.floor(a)), s[t] &lt; i.virtualSize + s[0] &amp;&amp; e.push(a) } s.push(...e) } } } }, function (e) { let { swiper: t } = e; Object.assign(t, { appendSlide: K.bind(t), prependSlide: Z.bind(t), addSlide: Q.bind(t), removeSlide: J.bind(t), removeAllSlides: ee.bind(t) }) }, function (e) { let { swiper: t, extendParams: s, on: a } = e; s({ fadeEffect: { crossFade: !1, transformEl: null } }), te({ effect: "fade", swiper: t, on: a, setTranslate: () =&gt; { const { slides: e } = t, s = t.params.fadeEffect; for (let a = 0; a &lt; e.length; a += 1) { const e = t.slides.eq(a); let i = -e[0].swiperSlideOffset; t.params.virtualTranslate || (i -= t.translate); let r = 0; t.isHorizontal() || (r = i, i = 0); const n = t.params.fadeEffect.crossFade ? Math.max(1 - Math.abs(e[0].progress), 0) : 1 + Math.min(Math.max(e[0].progress, -1), 0); se(s, e).css({ opacity: n }).transform(`translate3d(${i}px, ${r}px, 0px)`) } }, setTransition: e =&gt; { const { transformEl: s } = t.params.fadeEffect; (s ? t.slides.find(s) : t.slides).transition(e), ae({ swiper: t, duration: e, transformEl: s, allSlides: !0 }) }, overwriteParams: () =&gt; ({ slidesPerView: 1, slidesPerGroup: 1, watchSlidesProgress: !0, spaceBetween: 0, virtualTranslate: !t.params.cssMode }) }) }, function (e) { let { swiper: t, extendParams: s, on: a } = e; s({ cubeEffect: { slideShadows: !0, shadow: !0, shadowOffset: 20, shadowScale: .94 } }); const i = (e, t, s) =&gt; { let a = s ? e.find(".swiper-slide-shadow-left") : e.find(".swiper-slide-shadow-top"), i = s ? e.find(".swiper-slide-shadow-right") : e.find(".swiper-slide-shadow-bottom"); 0 === a.length &amp;&amp; (a = d(`&lt;div class="swiper-slide-shadow-${s ? "left" : "top"}"&gt;&lt;/div&gt;`), e.append(a)), 0 === i.length &amp;&amp; (i = d(`&lt;div class="swiper-slide-shadow-${s ? "right" : "bottom"}"&gt;&lt;/div&gt;`), e.append(i)), a.length &amp;&amp; (a[0].style.opacity = Math.max(-t, 0)), i.length &amp;&amp; (i[0].style.opacity = Math.max(t, 0)) }; te({ effect: "cube", swiper: t, on: a, setTranslate: () =&gt; { const { $el: e, $wrapperEl: s, slides: a, width: r, height: n, rtlTranslate: l, size: o, browser: c } = t, p = t.params.cubeEffect, u = t.isHorizontal(), h = t.virtual &amp;&amp; t.params.virtual.enabled; let m, f = 0; p.shadow &amp;&amp; (u ? (m = s.find(".swiper-cube-shadow"), 0 === m.length &amp;&amp; (m = d('&lt;div class="swiper-cube-shadow"&gt;&lt;/div&gt;'), s.append(m)), m.css({ height: `${r}px` })) : (m = e.find(".swiper-cube-shadow"), 0 === m.length &amp;&amp; (m = d('&lt;div class="swiper-cube-shadow"&gt;&lt;/div&gt;'), e.append(m)))); for (let e = 0; e &lt; a.length; e += 1) { const t = a.eq(e); let s = e; h &amp;&amp; (s = parseInt(t.attr("data-swiper-slide-index"), 10)); let r = 90 * s, n = Math.floor(r / 360); l &amp;&amp; (r = -r, n = Math.floor(-r / 360)); const d = Math.max(Math.min(t[0].progress, 1), -1); let c = 0, m = 0, g = 0; s % 4 == 0 ? (c = 4 * -n * o, g = 0) : (s - 1) % 4 == 0 ? (c = 0, g = 4 * -n * o) : (s - 2) % 4 == 0 ? (c = o + 4 * n * o, g = o) : (s - 3) % 4 == 0 &amp;&amp; (c = -o, g = 3 * o + 4 * o * n), l &amp;&amp; (c = -c), u || (m = c, c = 0); const v = `rotateX(${u ? 0 : -r}deg) rotateY(${u ? r : 0}deg) translate3d(${c}px, ${m}px, ${g}px)`; d &lt;= 1 &amp;&amp; d &gt; -1 &amp;&amp; (f = 90 * s + 90 * d, l &amp;&amp; (f = 90 * -s - 90 * d)), t.transform(v), p.slideShadows &amp;&amp; i(t, d, u) } if (s.css({ "-webkit-transform-origin": `50% 50% -${o / 2}px`, "transform-origin": `50% 50% -${o / 2}px` }), p.shadow) if (u) m.transform(`translate3d(0px, ${r / 2 + p.shadowOffset}px, ${-r / 2}px) rotateX(90deg) rotateZ(0deg) scale(${p.shadowScale})`); else { const e = Math.abs(f) - 90 * Math.floor(Math.abs(f) / 90), t = 1.5 - (Math.sin(2 * e * Math.PI / 360) / 2 + Math.cos(2 * e * Math.PI / 360) / 2), s = p.shadowScale, a = p.shadowScale / t, i = p.shadowOffset; m.transform(`scale3d(${s}, 1, ${a}) translate3d(0px, ${n / 2 + i}px, ${-n / 2 / a}px) rotateX(-90deg)`) } const g = c.isSafari || c.isWebView ? -o / 2 : 0; s.transform(`translate3d(0px,0,${g}px) rotateX(${t.isHorizontal() ? 0 : f}deg) rotateY(${t.isHorizontal() ? -f : 0}deg)`), s[0].style.setProperty("--swiper-cube-translate-z", `${g}px`) }, setTransition: e =&gt; { const { $el: s, slides: a } = t; a.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e), t.params.cubeEffect.shadow &amp;&amp; !t.isHorizontal() &amp;&amp; s.find(".swiper-cube-shadow").transition(e) }, recreateShadows: () =&gt; { const e = t.isHorizontal(); t.slides.each((t =&gt; { const s = Math.max(Math.min(t.progress, 1), -1); i(d(t), s, e) })) }, getEffectParams: () =&gt; t.params.cubeEffect, perspective: () =&gt; !0, overwriteParams: () =&gt; ({ slidesPerView: 1, slidesPerGroup: 1, watchSlidesProgress: !0, resistanceRatio: 0, spaceBetween: 0, centeredSlides: !1, virtualTranslate: !0 }) }) }, function (e) { let { swiper: t, extendParams: s, on: a } = e; s({ flipEffect: { slideShadows: !0, limitRotation: !0, transformEl: null } }); const i = (e, s, a) =&gt; { let i = t.isHorizontal() ? e.find(".swiper-slide-shadow-left") : e.find(".swiper-slide-shadow-top"), r = t.isHorizontal() ? e.find(".swiper-slide-shadow-right") : e.find(".swiper-slide-shadow-bottom"); 0 === i.length &amp;&amp; (i = ie(a, e, t.isHorizontal() ? "left" : "top")), 0 === r.length &amp;&amp; (r = ie(a, e, t.isHorizontal() ? "right" : "bottom")), i.length &amp;&amp; (i[0].style.opacity = Math.max(-s, 0)), r.length &amp;&amp; (r[0].style.opacity = Math.max(s, 0)) }; te({ effect: "flip", swiper: t, on: a, setTranslate: () =&gt; { const { slides: e, rtlTranslate: s } = t, a = t.params.flipEffect; for (let r = 0; r &lt; e.length; r += 1) { const n = e.eq(r); let l = n[0].progress; t.params.flipEffect.limitRotation &amp;&amp; (l = Math.max(Math.min(n[0].progress, 1), -1)); const o = n[0].swiperSlideOffset; let d = -180 * l, c = 0, p = t.params.cssMode ? -o - t.translate : -o, u = 0; t.isHorizontal() ? s &amp;&amp; (d = -d) : (u = p, p = 0, c = -d, d = 0), n[0].style.zIndex = -Math.abs(Math.round(l)) + e.length, a.slideShadows &amp;&amp; i(n, l, a); const h = `translate3d(${p}px, ${u}px, 0px) rotateX(${c}deg) rotateY(${d}deg)`; se(a, n).transform(h) } }, setTransition: e =&gt; { const { transformEl: s } = t.params.flipEffect; (s ? t.slides.find(s) : t.slides).transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e), ae({ swiper: t, duration: e, transformEl: s }) }, recreateShadows: () =&gt; { const e = t.params.flipEffect; t.slides.each((s =&gt; { const a = d(s); let r = a[0].progress; t.params.flipEffect.limitRotation &amp;&amp; (r = Math.max(Math.min(s.progress, 1), -1)), i(a, r, e) })) }, getEffectParams: () =&gt; t.params.flipEffect, perspective: () =&gt; !0, overwriteParams: () =&gt; ({ slidesPerView: 1, slidesPerGroup: 1, watchSlidesProgress: !0, spaceBetween: 0, virtualTranslate: !t.params.cssMode }) }) }, function (e) { let { swiper: t, extendParams: s, on: a } = e; s({ coverflowEffect: { rotate: 50, stretch: 0, depth: 100, scale: 1, modifier: 1, slideShadows: !0, transformEl: null } }), te({ effect: "coverflow", swiper: t, on: a, setTranslate: () =&gt; { const { width: e, height: s, slides: a, slidesSizesGrid: i } = t, r = t.params.coverflowEffect, n = t.isHorizontal(), l = t.translate, o = n ? e / 2 - l : s / 2 - l, d = n ? r.rotate : -r.rotate, c = r.depth; for (let e = 0, t = a.length; e &lt; t; e += 1) { const t = a.eq(e), s = i[e], l = (o - t[0].swiperSlideOffset - s / 2) / s, p = "function" == typeof r.modifier ? r.modifier(l) : l * r.modifier; let u = n ? d * p : 0, h = n ? 0 : d * p, m = -c * Math.abs(p), f = r.stretch; "string" == typeof f &amp;&amp; -1 !== f.indexOf("%") &amp;&amp; (f = parseFloat(r.stretch) / 100 * s); let g = n ? 0 : f * p, v = n ? f * p : 0, w = 1 - (1 - r.scale) * Math.abs(p); Math.abs(v) &lt; .001 &amp;&amp; (v = 0), Math.abs(g) &lt; .001 &amp;&amp; (g = 0), Math.abs(m) &lt; .001 &amp;&amp; (m = 0), Math.abs(u) &lt; .001 &amp;&amp; (u = 0), Math.abs(h) &lt; .001 &amp;&amp; (h = 0), Math.abs(w) &lt; .001 &amp;&amp; (w = 0); const b = `translate3d(${v}px,${g}px,${m}px)  rotateX(${h}deg) rotateY(${u}deg) scale(${w})`; if (se(r, t).transform(b), t[0].style.zIndex = 1 - Math.abs(Math.round(p)), r.slideShadows) { let e = n ? t.find(".swiper-slide-shadow-left") : t.find(".swiper-slide-shadow-top"), s = n ? t.find(".swiper-slide-shadow-right") : t.find(".swiper-slide-shadow-bottom"); 0 === e.length &amp;&amp; (e = ie(r, t, n ? "left" : "top")), 0 === s.length &amp;&amp; (s = ie(r, t, n ? "right" : "bottom")), e.length &amp;&amp; (e[0].style.opacity = p &gt; 0 ? p : 0), s.length &amp;&amp; (s[0].style.opacity = -p &gt; 0 ? -p : 0) } } }, setTransition: e =&gt; { const { transformEl: s } = t.params.coverflowEffect; (s ? t.slides.find(s) : t.slides).transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e) }, perspective: () =&gt; !0, overwriteParams: () =&gt; ({ watchSlidesProgress: !0 }) }) }, function (e) { let { swiper: t, extendParams: s, on: a } = e; s({ creativeEffect: { transformEl: null, limitProgress: 1, shadowPerProgress: !1, progressMultiplier: 1, perspective: !0, prev: { translate: [0, 0, 0], rotate: [0, 0, 0], opacity: 1, scale: 1 }, next: { translate: [0, 0, 0], rotate: [0, 0, 0], opacity: 1, scale: 1 } } }); const i = e =&gt; "string" == typeof e ? e : `${e}px`; te({ effect: "creative", swiper: t, on: a, setTranslate: () =&gt; { const { slides: e, $wrapperEl: s, slidesSizesGrid: a } = t, r = t.params.creativeEffect, { progressMultiplier: n } = r, l = t.params.centeredSlides; if (l) { const e = a[0] / 2 - t.params.slidesOffsetBefore || 0; s.transform(`translateX(calc(50% - ${e}px))`) } for (let s = 0; s &lt; e.length; s += 1) { const a = e.eq(s), o = a[0].progress, d = Math.min(Math.max(a[0].progress, -r.limitProgress), r.limitProgress); let c = d; l || (c = Math.min(Math.max(a[0].originalProgress, -r.limitProgress), r.limitProgress)); const p = a[0].swiperSlideOffset, u = [t.params.cssMode ? -p - t.translate : -p, 0, 0], h = [0, 0, 0]; let m = !1; t.isHorizontal() || (u[1] = u[0], u[0] = 0); let f = { translate: [0, 0, 0], rotate: [0, 0, 0], scale: 1, opacity: 1 }; d &lt; 0 ? (f = r.next, m = !0) : d &gt; 0 &amp;&amp; (f = r.prev, m = !0), u.forEach(((e, t) =&gt; { u[t] = `calc(${e}px + (${i(f.translate[t])} * ${Math.abs(d * n)}))` })), h.forEach(((e, t) =&gt; { h[t] = f.rotate[t] * Math.abs(d * n) })), a[0].style.zIndex = -Math.abs(Math.round(o)) + e.length; const g = u.join(", "), v = `rotateX(${h[0]}deg) rotateY(${h[1]}deg) rotateZ(${h[2]}deg)`, w = c &lt; 0 ? `scale(${1 + (1 - f.scale) * c * n})` : `scale(${1 - (1 - f.scale) * c * n})`, b = c &lt; 0 ? 1 + (1 - f.opacity) * c * n : 1 - (1 - f.opacity) * c * n, x = `translate3d(${g}) ${v} ${w}`; if (m &amp;&amp; f.shadow || !m) { let e = a.children(".swiper-slide-shadow"); if (0 === e.length &amp;&amp; f.shadow &amp;&amp; (e = ie(r, a)), e.length) { const t = r.shadowPerProgress ? d * (1 / r.limitProgress) : d; e[0].style.opacity = Math.min(Math.max(Math.abs(t), 0), 1) } } const y = se(r, a); y.transform(x).css({ opacity: b }), f.origin &amp;&amp; y.css("transform-origin", f.origin) } }, setTransition: e =&gt; { const { transformEl: s } = t.params.creativeEffect; (s ? t.slides.find(s) : t.slides).transition(e).find(".swiper-slide-shadow").transition(e), ae({ swiper: t, duration: e, transformEl: s, allSlides: !0 }) }, perspective: () =&gt; t.params.creativeEffect.perspective, overwriteParams: () =&gt; ({ watchSlidesProgress: !0, virtualTranslate: !t.params.cssMode }) }) }, function (e) { let { swiper: t, extendParams: s, on: a } = e; s({ cardsEffect: { slideShadows: !0, transformEl: null, rotate: !0 } }), te({ effect: "cards", swiper: t, on: a, setTranslate: () =&gt; { const { slides: e, activeIndex: s } = t, a = t.params.cardsEffect, { startTranslate: i, isTouched: r } = t.touchEventsData, n = t.translate; for (let l = 0; l &lt; e.length; l += 1) { const o = e.eq(l), d = o[0].progress, c = Math.min(Math.max(d, -4), 4); let p = o[0].swiperSlideOffset; t.params.centeredSlides &amp;&amp; !t.params.cssMode &amp;&amp; t.$wrapperEl.transform(`translateX(${t.minTranslate()}px)`), t.params.centeredSlides &amp;&amp; t.params.cssMode &amp;&amp; (p -= e[0].swiperSlideOffset); let u = t.params.cssMode ? -p - t.translate : -p, h = 0; const m = -100 * Math.abs(c); let f = 1, g = -2 * c, v = 8 - .75 * Math.abs(c); const w = t.virtual &amp;&amp; t.params.virtual.enabled ? t.virtual.from + l : l, b = (w === s || w === s - 1) &amp;&amp; c &gt; 0 &amp;&amp; c &lt; 1 &amp;&amp; (r || t.params.cssMode) &amp;&amp; n &lt; i, x = (w === s || w === s + 1) &amp;&amp; c &lt; 0 &amp;&amp; c &gt; -1 &amp;&amp; (r || t.params.cssMode) &amp;&amp; n &gt; i; if (b || x) { const e = (1 - Math.abs((Math.abs(c) - .5) / .5)) ** .5; g += -28 * c * e, f += -.5 * e, v += 96 * e, h = -25 * e * Math.abs(c) + "%" } if (u = c &lt; 0 ? `calc(${u}px + (${v * Math.abs(c)}%))` : c &gt; 0 ? `calc(${u}px + (-${v * Math.abs(c)}%))` : `${u}px`, !t.isHorizontal()) { const e = h; h = u, u = e } const y = c &lt; 0 ? "" + (1 + (1 - f) * c) : "" + (1 - (1 - f) * c), E = `\n        translate3d(${u}, ${h}, ${m}px)\n        rotateZ(${a.rotate ? g : 0}deg)\n        scale(${y})\n      `; if (a.slideShadows) { let e = o.find(".swiper-slide-shadow"); 0 === e.length &amp;&amp; (e = ie(a, o)), e.length &amp;&amp; (e[0].style.opacity = Math.min(Math.max((Math.abs(c) - .5) / .5, 0), 1)) } o[0].style.zIndex = -Math.abs(Math.round(d)) + e.length; se(a, o).transform(E) } }, setTransition: e =&gt; { const { transformEl: s } = t.params.cardsEffect; (s ? t.slides.find(s) : t.slides).transition(e).find(".swiper-slide-shadow").transition(e), ae({ swiper: t, duration: e, transformEl: s }) }, perspective: () =&gt; !0, overwriteParams: () =&gt; ({ watchSlidesProgress: !0, virtualTranslate: !t.params.cssMode }) }) }]; return V.use(re), V }));
</pre></body></html>