jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(n,t,i,r,u){return jQuery.easing[jQuery.easing.def](n,t,i,r,u)},easeInQuad:function(n,t,i,r,u){return r*(t/=u)*t+i},easeOutQuad:function(n,t,i,r,u){return-r*(t/=u)*(t-2)+i},easeInOutQuad:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t+i:-r/2*(--t*(t-2)-1)+i},easeInCubic:function(n,t,i,r,u){return r*(t/=u)*t*t+i},easeOutCubic:function(n,t,i,r,u){return r*((t=t/u-1)*t*t+1)+i},easeInOutCubic:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t*t+i:r/2*((t-=2)*t*t+2)+i},easeInQuart:function(n,t,i,r,u){return r*(t/=u)*t*t*t+i},easeOutQuart:function(n,t,i,r,u){return-r*((t=t/u-1)*t*t*t-1)+i},easeInOutQuart:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t*t*t+i:-r/2*((t-=2)*t*t*t-2)+i},easeInQuint:function(n,t,i,r,u){return r*(t/=u)*t*t*t*t+i},easeOutQuint:function(n,t,i,r,u){return r*((t=t/u-1)*t*t*t*t+1)+i},easeInOutQuint:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t*t*t*t+i:r/2*((t-=2)*t*t*t*t+2)+i},easeInSine:function(n,t,i,r,u){return-r*Math.cos(t/u*(Math.PI/2))+r+i},easeOutSine:function(n,t,i,r,u){return r*Math.sin(t/u*(Math.PI/2))+i},easeInOutSine:function(n,t,i,r,u){return-r/2*(Math.cos(Math.PI*t/u)-1)+i},easeInExpo:function(n,t,i,r,u){return t==0?i:r*Math.pow(2,10*(t/u-1))+i},easeOutExpo:function(n,t,i,r,u){return t==u?i+r:r*(-Math.pow(2,-10*t/u)+1)+i},easeInOutExpo:function(n,t,i,r,u){return t==0?i:t==u?i+r:(t/=u/2)<1?r/2*Math.pow(2,10*(t-1))+i:r/2*(-Math.pow(2,-10*--t)+2)+i},easeInCirc:function(n,t,i,r,u){return-r*(Math.sqrt(1-(t/=u)*t)-1)+i},easeOutCirc:function(n,t,i,r,u){return r*Math.sqrt(1-(t=t/u-1)*t)+i},easeInOutCirc:function(n,t,i,r,u){return(t/=u/2)<1?-r/2*(Math.sqrt(1-t*t)-1)+i:r/2*(Math.sqrt(1-(t-=2)*t)+1)+i},easeInElastic:function(n,t,i,r,u){var o=1.70158,f=0,e=r;return t==0?i:(t/=u)==1?i+r:(f||(f=u*.3),e<Math.abs(r)?(e=r,o=f/4):o=f/(2*Math.PI)*Math.asin(r/e),-(e*Math.pow(2,10*(t-=1))*Math.sin((t*u-o)*2*Math.PI/f))+i)},easeOutElastic:function(n,t,i,r,u){var o=1.70158,f=0,e=r;return t==0?i:(t/=u)==1?i+r:(f||(f=u*.3),e<Math.abs(r)?(e=r,o=f/4):o=f/(2*Math.PI)*Math.asin(r/e),e*Math.pow(2,-10*t)*Math.sin((t*u-o)*2*Math.PI/f)+r+i)},easeInOutElastic:function(n,t,i,r,u){var o=1.70158,f=0,e=r;return t==0?i:(t/=u/2)==2?i+r:(f||(f=u*.3*1.5),e<Math.abs(r)?(e=r,o=f/4):o=f/(2*Math.PI)*Math.asin(r/e),t<1)?-.5*e*Math.pow(2,10*(t-=1))*Math.sin((t*u-o)*2*Math.PI/f)+i:e*Math.pow(2,-10*(t-=1))*Math.sin((t*u-o)*2*Math.PI/f)*.5+r+i},easeInBack:function(n,t,i,r,u,f){return f==undefined&&(f=1.70158),r*(t/=u)*t*((f+1)*t-f)+i},easeOutBack:function(n,t,i,r,u,f){return f==undefined&&(f=1.70158),r*((t=t/u-1)*t*((f+1)*t+f)+1)+i},easeInOutBack:function(n,t,i,r,u,f){return(f==undefined&&(f=1.70158),(t/=u/2)<1)?r/2*t*t*(((f*=1.525)+1)*t-f)+i:r/2*((t-=2)*t*(((f*=1.525)+1)*t+f)+2)+i},easeInBounce:function(n,t,i,r,u){return r-jQuery.easing.easeOutBounce(n,u-t,0,r,u)+i},easeOutBounce:function(n,t,i,r,u){return(t/=u)<1/2.75?r*7.5625*t*t+i:t<2/2.75?r*(7.5625*(t-=1.5/2.75)*t+.75)+i:t<2.5/2.75?r*(7.5625*(t-=2.25/2.75)*t+.9375)+i:r*(7.5625*(t-=2.625/2.75)*t+.984375)+i},easeInOutBounce:function(n,t,i,r,u){return t<u/2?jQuery.easing.easeInBounce(n,t*2,0,r,u)*.5+i:jQuery.easing.easeOutBounce(n,t*2-u,0,r,u)*.5+r*.5+i}});;
!function (t, e) { "object" == typeof exports && "undefined" != typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define(e) : (t = "undefined" != typeof globalThis ? globalThis : t || self).bootstrap = e() }(this, (function () { "use strict"; const t = t => { do { t += Math.floor(1e6 * Math.random()) } while (document.getElementById(t)); return t }, e = t => { let e = t.getAttribute("data-bs-target"); if (!e || "#" === e) { let i = t.getAttribute("href"); if (!i || !i.includes("#") && !i.startsWith(".")) return null; i.includes("#") && !i.startsWith("#") && (i = "#" + i.split("#")[1]), e = i && "#" !== i ? i.trim() : null } return e }, i = t => { const i = e(t); return i && document.querySelector(i) ? i : null }, n = t => { const i = e(t); return i ? document.querySelector(i) : null }, s = t => { if (!t) return 0; let { transitionDuration: e, transitionDelay: i } = window.getComputedStyle(t); const n = Number.parseFloat(e), s = Number.parseFloat(i); return n || s ? (e = e.split(",")[0], i = i.split(",")[0], 1e3 * (Number.parseFloat(e) + Number.parseFloat(i))) : 0 }, o = t => { t.dispatchEvent(new Event("transitionend")) }, r = t => (t[0] || t).nodeType, a = (t, e) => { let i = !1; const n = e + 5; t.addEventListener("transitionend", (function e() { i = !0, t.removeEventListener("transitionend", e) })), setTimeout(() => { i || o(t) }, n) }, l = (t, e, i) => { Object.keys(i).forEach(n => { const s = i[n], o = e[n], a = o && r(o) ? "element" : null == (l = o) ? "" + l : {}.toString.call(l).match(/\s([a-z]+)/i)[1].toLowerCase(); var l; if (!new RegExp(s).test(a)) throw new TypeError(`${t.toUpperCase()}: Option "${n}" provided type "${a}" but expected type "${s}".`) }) }, c = t => { if (!t) return !1; if (t.style && t.parentNode && t.parentNode.style) { const e = getComputedStyle(t), i = getComputedStyle(t.parentNode); return "none" !== e.display && "none" !== i.display && "hidden" !== e.visibility } return !1 }, d = t => !t || t.nodeType !== Node.ELEMENT_NODE || !!t.classList.contains("disabled") || (void 0 !== t.disabled ? t.disabled : t.hasAttribute("disabled") && "false" !== t.getAttribute("disabled")), h = t => { if (!document.documentElement.attachShadow) return null; if ("function" == typeof t.getRootNode) { const e = t.getRootNode(); return e instanceof ShadowRoot ? e : null } return t instanceof ShadowRoot ? t : t.parentNode ? h(t.parentNode) : null }, u = () => { }, f = t => t.offsetHeight, p = () => { const { jQuery: t } = window; return t && !document.body.hasAttribute("data-bs-no-jquery") ? t : null }, g = () => "rtl" === document.documentElement.dir, m = (t, e) => { var i; i = () => { const i = p(); if (i) { const n = i.fn[t]; i.fn[t] = e.jQueryInterface, i.fn[t].Constructor = e, i.fn[t].noConflict = () => (i.fn[t] = n, e.jQueryInterface) } }, "loading" === document.readyState ? document.addEventListener("DOMContentLoaded", i) : i() }, _ = t => { "function" == typeof t && t() }, b = new Map; var v = { set(t, e, i) { b.has(t) || b.set(t, new Map); const n = b.get(t); n.has(e) || 0 === n.size ? n.set(e, i) : console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`) }, get: (t, e) => b.has(t) && b.get(t).get(e) || null, remove(t, e) { if (!b.has(t)) return; const i = b.get(t); i.delete(e), 0 === i.size && b.delete(t) } }; const y = /[^.]*(?=\..*)\.|.*/, w = /\..*/, E = /::\d+$/, T = {}; let A = 1; const L = { mouseenter: "mouseover", mouseleave: "mouseout" }, O = /^(mouseenter|mouseleave)/i, k = new Set(["click", "dblclick", "mouseup", "mousedown", "contextmenu", "mousewheel", "DOMMouseScroll", "mouseover", "mouseout", "mousemove", "selectstart", "selectend", "keydown", "keypress", "keyup", "orientationchange", "touchstart", "touchmove", "touchend", "touchcancel", "pointerdown", "pointermove", "pointerup", "pointerleave", "pointercancel", "gesturestart", "gesturechange", "gestureend", "focus", "blur", "change", "reset", "select", "submit", "focusin", "focusout", "load", "unload", "beforeunload", "resize", "move", "DOMContentLoaded", "readystatechange", "error", "abort", "scroll"]); function D(t, e) { return e && `${e}::${A++}` || t.uidEvent || A++ } function x(t) { const e = D(t); return t.uidEvent = e, T[e] = T[e] || {}, T[e] } function C(t, e, i = null) { const n = Object.keys(t); for (let s = 0, o = n.length; s < o; s++) { const o = t[n[s]]; if (o.originalHandler === e && o.delegationSelector === i) return o } return null } function S(t, e, i) { const n = "string" == typeof e, s = n ? i : e; let o = P(t); return k.has(o) || (o = t), [n, s, o] } function N(t, e, i, n, s) { if ("string" != typeof e || !t) return; if (i || (i = n, n = null), O.test(e)) { const t = t => function (e) { if (!e.relatedTarget || e.relatedTarget !== e.delegateTarget && !e.delegateTarget.contains(e.relatedTarget)) return t.call(this, e) }; n ? n = t(n) : i = t(i) } const [o, r, a] = S(e, i, n), l = x(t), c = l[a] || (l[a] = {}), d = C(c, r, o ? i : null); if (d) return void (d.oneOff = d.oneOff && s); const h = D(r, e.replace(y, "")), u = o ? function (t, e, i) { return function n(s) { const o = t.querySelectorAll(e); for (let { target: r } = s; r && r !== this; r = r.parentNode)for (let a = o.length; a--;)if (o[a] === r) return s.delegateTarget = r, n.oneOff && I.off(t, s.type, e, i), i.apply(r, [s]); return null } }(t, i, n) : function (t, e) { return function i(n) { return n.delegateTarget = t, i.oneOff && I.off(t, n.type, e), e.apply(t, [n]) } }(t, i); u.delegationSelector = o ? i : null, u.originalHandler = r, u.oneOff = s, u.uidEvent = h, c[h] = u, t.addEventListener(a, u, o) } function j(t, e, i, n, s) { const o = C(e[i], n, s); o && (t.removeEventListener(i, o, Boolean(s)), delete e[i][o.uidEvent]) } function P(t) { return t = t.replace(w, ""), L[t] || t } const I = { on(t, e, i, n) { N(t, e, i, n, !1) }, one(t, e, i, n) { N(t, e, i, n, !0) }, off(t, e, i, n) { if ("string" != typeof e || !t) return; const [s, o, r] = S(e, i, n), a = r !== e, l = x(t), c = e.startsWith("."); if (void 0 !== o) { if (!l || !l[r]) return; return void j(t, l, r, o, s ? i : null) } c && Object.keys(l).forEach(i => { !function (t, e, i, n) { const s = e[i] || {}; Object.keys(s).forEach(o => { if (o.includes(n)) { const n = s[o]; j(t, e, i, n.originalHandler, n.delegationSelector) } }) }(t, l, i, e.slice(1)) }); const d = l[r] || {}; Object.keys(d).forEach(i => { const n = i.replace(E, ""); if (!a || e.includes(n)) { const e = d[i]; j(t, l, r, e.originalHandler, e.delegationSelector) } }) }, trigger(t, e, i) { if ("string" != typeof e || !t) return null; const n = p(), s = P(e), o = e !== s, r = k.has(s); let a, l = !0, c = !0, d = !1, h = null; return o && n && (a = n.Event(e, i), n(t).trigger(a), l = !a.isPropagationStopped(), c = !a.isImmediatePropagationStopped(), d = a.isDefaultPrevented()), r ? (h = document.createEvent("HTMLEvents"), h.initEvent(s, l, !0)) : h = new CustomEvent(e, { bubbles: l, cancelable: !0 }), void 0 !== i && Object.keys(i).forEach(t => { Object.defineProperty(h, t, { get: () => i[t] }) }), d && h.preventDefault(), c && t.dispatchEvent(h), h.defaultPrevented && void 0 !== a && a.preventDefault(), h } }; class M { constructor(t) { (t = "string" == typeof t ? document.querySelector(t) : t) && (this._element = t, v.set(this._element, this.constructor.DATA_KEY, this)) } dispose() { v.remove(this._element, this.constructor.DATA_KEY), I.off(this._element, "." + this.constructor.DATA_KEY), this._element = null } static getInstance(t) { return v.get(t, this.DATA_KEY) } static get VERSION() { return "5.0.0" } } class H extends M { static get DATA_KEY() { return "bs.alert" } close(t) { const e = t ? this._getRootElement(t) : this._element, i = this._triggerCloseEvent(e); null === i || i.defaultPrevented || this._removeElement(e) } _getRootElement(t) { return n(t) || t.closest(".alert") } _triggerCloseEvent(t) { return I.trigger(t, "close.bs.alert") } _removeElement(t) { if (t.classList.remove("show"), !t.classList.contains("fade")) return void this._destroyElement(t); const e = s(t); I.one(t, "transitionend", () => this._destroyElement(t)), a(t, e) } _destroyElement(t) { t.parentNode && t.parentNode.removeChild(t), I.trigger(t, "closed.bs.alert") } static jQueryInterface(t) { return this.each((function () { let e = v.get(this, "bs.alert"); e || (e = new H(this)), "close" === t && e[t](this) })) } static handleDismiss(t) { return function (e) { e && e.preventDefault(), t.close(this) } } } I.on(document, "click.bs.alert.data-api", '[data-bs-dismiss="alert"]', H.handleDismiss(new H)), m("alert", H); class R extends M { static get DATA_KEY() { return "bs.button" } toggle() { this._element.setAttribute("aria-pressed", this._element.classList.toggle("active")) } static jQueryInterface(t) { return this.each((function () { let e = v.get(this, "bs.button"); e || (e = new R(this)), "toggle" === t && e[t]() })) } } function B(t) { return "true" === t || "false" !== t && (t === Number(t).toString() ? Number(t) : "" === t || "null" === t ? null : t) } function W(t) { return t.replace(/[A-Z]/g, t => "-" + t.toLowerCase()) } I.on(document, "click.bs.button.data-api", '[data-bs-toggle="button"]', t => { t.preventDefault(); const e = t.target.closest('[data-bs-toggle="button"]'); let i = v.get(e, "bs.button"); i || (i = new R(e)), i.toggle() }), m("button", R); const z = { setDataAttribute(t, e, i) { t.setAttribute("data-bs-" + W(e), i) }, removeDataAttribute(t, e) { t.removeAttribute("data-bs-" + W(e)) }, getDataAttributes(t) { if (!t) return {}; const e = {}; return Object.keys(t.dataset).filter(t => t.startsWith("bs")).forEach(i => { let n = i.replace(/^bs/, ""); n = n.charAt(0).toLowerCase() + n.slice(1, n.length), e[n] = B(t.dataset[i]) }), e }, getDataAttribute: (t, e) => B(t.getAttribute("data-bs-" + W(e))), offset(t) { const e = t.getBoundingClientRect(); return { top: e.top + document.body.scrollTop, left: e.left + document.body.scrollLeft } }, position: t => ({ top: t.offsetTop, left: t.offsetLeft }) }, U = { find: (t, e = document.documentElement) => [].concat(...Element.prototype.querySelectorAll.call(e, t)), findOne: (t, e = document.documentElement) => Element.prototype.querySelector.call(e, t), children: (t, e) => [].concat(...t.children).filter(t => t.matches(e)), parents(t, e) { const i = []; let n = t.parentNode; for (; n && n.nodeType === Node.ELEMENT_NODE && 3 !== n.nodeType;)n.matches(e) && i.push(n), n = n.parentNode; return i }, prev(t, e) { let i = t.previousElementSibling; for (; i;) { if (i.matches(e)) return [i]; i = i.previousElementSibling } return [] }, next(t, e) { let i = t.nextElementSibling; for (; i;) { if (i.matches(e)) return [i]; i = i.nextElementSibling } return [] } }, $ = { interval: 5e3, keyboard: !0, slide: !1, pause: "hover", wrap: !0, touch: !0 }, F = { interval: "(number|boolean)", keyboard: "boolean", slide: "(boolean|string)", pause: "(string|boolean)", wrap: "boolean", touch: "boolean" }, K = "next", Y = "prev", q = "left", V = "right"; class X extends M { constructor(t, e) { super(t), this._items = null, this._interval = null, this._activeElement = null, this._isPaused = !1, this._isSliding = !1, this.touchTimeout = null, this.touchStartX = 0, this.touchDeltaX = 0, this._config = this._getConfig(e), this._indicatorsElement = U.findOne(".carousel-indicators", this._element), this._touchSupported = "ontouchstart" in document.documentElement || navigator.maxTouchPoints > 0, this._pointerEvent = Boolean(window.PointerEvent), this._addEventListeners() } static get Default() { return $ } static get DATA_KEY() { return "bs.carousel" } next() { this._isSliding || this._slide(K) } nextWhenVisible() { !document.hidden && c(this._element) && this.next() } prev() { this._isSliding || this._slide(Y) } pause(t) { t || (this._isPaused = !0), U.findOne(".carousel-item-next, .carousel-item-prev", this._element) && (o(this._element), this.cycle(!0)), clearInterval(this._interval), this._interval = null } cycle(t) { t || (this._isPaused = !1), this._interval && (clearInterval(this._interval), this._interval = null), this._config && this._config.interval && !this._isPaused && (this._updateInterval(), this._interval = setInterval((document.visibilityState ? this.nextWhenVisible : this.next).bind(this), this._config.interval)) } to(t) { this._activeElement = U.findOne(".active.carousel-item", this._element); const e = this._getItemIndex(this._activeElement); if (t > this._items.length - 1 || t < 0) return; if (this._isSliding) return void I.one(this._element, "slid.bs.carousel", () => this.to(t)); if (e === t) return this.pause(), void this.cycle(); const i = t > e ? K : Y; this._slide(i, this._items[t]) } dispose() { this._items = null, this._config = null, this._interval = null, this._isPaused = null, this._isSliding = null, this._activeElement = null, this._indicatorsElement = null, super.dispose() } _getConfig(t) { return t = { ...$, ...t }, l("carousel", t, F), t } _handleSwipe() { const t = Math.abs(this.touchDeltaX); if (t <= 40) return; const e = t / this.touchDeltaX; this.touchDeltaX = 0, e && this._slide(e > 0 ? V : q) } _addEventListeners() { this._config.keyboard && I.on(this._element, "keydown.bs.carousel", t => this._keydown(t)), "hover" === this._config.pause && (I.on(this._element, "mouseenter.bs.carousel", t => this.pause(t)), I.on(this._element, "mouseleave.bs.carousel", t => this.cycle(t))), this._config.touch && this._touchSupported && this._addTouchEventListeners() } _addTouchEventListeners() { const t = t => { !this._pointerEvent || "pen" !== t.pointerType && "touch" !== t.pointerType ? this._pointerEvent || (this.touchStartX = t.touches[0].clientX) : this.touchStartX = t.clientX }, e = t => { this.touchDeltaX = t.touches && t.touches.length > 1 ? 0 : t.touches[0].clientX - this.touchStartX }, i = t => { !this._pointerEvent || "pen" !== t.pointerType && "touch" !== t.pointerType || (this.touchDeltaX = t.clientX - this.touchStartX), this._handleSwipe(), "hover" === this._config.pause && (this.pause(), this.touchTimeout && clearTimeout(this.touchTimeout), this.touchTimeout = setTimeout(t => this.cycle(t), 500 + this._config.interval)) }; U.find(".carousel-item img", this._element).forEach(t => { I.on(t, "dragstart.bs.carousel", t => t.preventDefault()) }), this._pointerEvent ? (I.on(this._element, "pointerdown.bs.carousel", e => t(e)), I.on(this._element, "pointerup.bs.carousel", t => i(t)), this._element.classList.add("pointer-event")) : (I.on(this._element, "touchstart.bs.carousel", e => t(e)), I.on(this._element, "touchmove.bs.carousel", t => e(t)), I.on(this._element, "touchend.bs.carousel", t => i(t))) } _keydown(t) { /input|textarea/i.test(t.target.tagName) || ("ArrowLeft" === t.key ? (t.preventDefault(), this._slide(V)) : "ArrowRight" === t.key && (t.preventDefault(), this._slide(q))) } _getItemIndex(t) { return this._items = t && t.parentNode ? U.find(".carousel-item", t.parentNode) : [], this._items.indexOf(t) } _getItemByOrder(t, e) { const i = t === K, n = t === Y, s = this._getItemIndex(e), o = this._items.length - 1; if ((n && 0 === s || i && s === o) && !this._config.wrap) return e; const r = (s + (n ? -1 : 1)) % this._items.length; return -1 === r ? this._items[this._items.length - 1] : this._items[r] } _triggerSlideEvent(t, e) { const i = this._getItemIndex(t), n = this._getItemIndex(U.findOne(".active.carousel-item", this._element)); return I.trigger(this._element, "slide.bs.carousel", { relatedTarget: t, direction: e, from: n, to: i }) } _setActiveIndicatorElement(t) { if (this._indicatorsElement) { const e = U.findOne(".active", this._indicatorsElement); e.classList.remove("active"), e.removeAttribute("aria-current"); const i = U.find("[data-bs-target]", this._indicatorsElement); for (let e = 0; e < i.length; e++)if (Number.parseInt(i[e].getAttribute("data-bs-slide-to"), 10) === this._getItemIndex(t)) { i[e].classList.add("active"), i[e].setAttribute("aria-current", "true"); break } } } _updateInterval() { const t = this._activeElement || U.findOne(".active.carousel-item", this._element); if (!t) return; const e = Number.parseInt(t.getAttribute("data-bs-interval"), 10); e ? (this._config.defaultInterval = this._config.defaultInterval || this._config.interval, this._config.interval = e) : this._config.interval = this._config.defaultInterval || this._config.interval } _slide(t, e) { const i = this._directionToOrder(t), n = U.findOne(".active.carousel-item", this._element), o = this._getItemIndex(n), r = e || this._getItemByOrder(i, n), l = this._getItemIndex(r), c = Boolean(this._interval), d = i === K, h = d ? "carousel-item-start" : "carousel-item-end", u = d ? "carousel-item-next" : "carousel-item-prev", p = this._orderToDirection(i); if (r && r.classList.contains("active")) this._isSliding = !1; else if (!this._triggerSlideEvent(r, p).defaultPrevented && n && r) { if (this._isSliding = !0, c && this.pause(), this._setActiveIndicatorElement(r), this._activeElement = r, this._element.classList.contains("slide")) { r.classList.add(u), f(r), n.classList.add(h), r.classList.add(h); const t = s(n); I.one(n, "transitionend", () => { r.classList.remove(h, u), r.classList.add("active"), n.classList.remove("active", u, h), this._isSliding = !1, setTimeout(() => { I.trigger(this._element, "slid.bs.carousel", { relatedTarget: r, direction: p, from: o, to: l }) }, 0) }), a(n, t) } else n.classList.remove("active"), r.classList.add("active"), this._isSliding = !1, I.trigger(this._element, "slid.bs.carousel", { relatedTarget: r, direction: p, from: o, to: l }); c && this.cycle() } } _directionToOrder(t) { return [V, q].includes(t) ? g() ? t === q ? Y : K : t === q ? K : Y : t } _orderToDirection(t) { return [K, Y].includes(t) ? g() ? t === Y ? q : V : t === Y ? V : q : t } static carouselInterface(t, e) { let i = v.get(t, "bs.carousel"), n = { ...$, ...z.getDataAttributes(t) }; "object" == typeof e && (n = { ...n, ...e }); const s = "string" == typeof e ? e : n.slide; if (i || (i = new X(t, n)), "number" == typeof e) i.to(e); else if ("string" == typeof s) { if (void 0 === i[s]) throw new TypeError(`No method named "${s}"`); i[s]() } else n.interval && n.ride && (i.pause(), i.cycle()) } static jQueryInterface(t) { return this.each((function () { X.carouselInterface(this, t) })) } static dataApiClickHandler(t) { const e = n(this); if (!e || !e.classList.contains("carousel")) return; const i = { ...z.getDataAttributes(e), ...z.getDataAttributes(this) }, s = this.getAttribute("data-bs-slide-to"); s && (i.interval = !1), X.carouselInterface(e, i), s && v.get(e, "bs.carousel").to(s), t.preventDefault() } } I.on(document, "click.bs.carousel.data-api", "[data-bs-slide], [data-bs-slide-to]", X.dataApiClickHandler), I.on(window, "load.bs.carousel.data-api", () => { const t = U.find('[data-bs-ride="carousel"]'); for (let e = 0, i = t.length; e < i; e++)X.carouselInterface(t[e], v.get(t[e], "bs.carousel")) }), m("carousel", X); const Q = { toggle: !0, parent: "" }, G = { toggle: "boolean", parent: "(string|element)" }; class Z extends M { constructor(t, e) { super(t), this._isTransitioning = !1, this._config = this._getConfig(e), this._triggerArray = U.find(`[data-bs-toggle="collapse"][href="#${this._element.id}"],[data-bs-toggle="collapse"][data-bs-target="#${this._element.id}"]`); const n = U.find('[data-bs-toggle="collapse"]'); for (let t = 0, e = n.length; t < e; t++) { const e = n[t], s = i(e), o = U.find(s).filter(t => t === this._element); null !== s && o.length && (this._selector = s, this._triggerArray.push(e)) } this._parent = this._config.parent ? this._getParent() : null, this._config.parent || this._addAriaAndCollapsedClass(this._element, this._triggerArray), this._config.toggle && this.toggle() } static get Default() { return Q } static get DATA_KEY() { return "bs.collapse" } toggle() { this._element.classList.contains("show") ? this.hide() : this.show() } show() { if (this._isTransitioning || this._element.classList.contains("show")) return; let t, e; this._parent && (t = U.find(".show, .collapsing", this._parent).filter(t => "string" == typeof this._config.parent ? t.getAttribute("data-bs-parent") === this._config.parent : t.classList.contains("collapse")), 0 === t.length && (t = null)); const i = U.findOne(this._selector); if (t) { const n = t.find(t => i !== t); if (e = n ? v.get(n, "bs.collapse") : null, e && e._isTransitioning) return } if (I.trigger(this._element, "show.bs.collapse").defaultPrevented) return; t && t.forEach(t => { i !== t && Z.collapseInterface(t, "hide"), e || v.set(t, "bs.collapse", null) }); const n = this._getDimension(); this._element.classList.remove("collapse"), this._element.classList.add("collapsing"), this._element.style[n] = 0, this._triggerArray.length && this._triggerArray.forEach(t => { t.classList.remove("collapsed"), t.setAttribute("aria-expanded", !0) }), this.setTransitioning(!0); const o = "scroll" + (n[0].toUpperCase() + n.slice(1)), r = s(this._element); I.one(this._element, "transitionend", () => { this._element.classList.remove("collapsing"), this._element.classList.add("collapse", "show"), this._element.style[n] = "", this.setTransitioning(!1), I.trigger(this._element, "shown.bs.collapse") }), a(this._element, r), this._element.style[n] = this._element[o] + "px" } hide() { if (this._isTransitioning || !this._element.classList.contains("show")) return; if (I.trigger(this._element, "hide.bs.collapse").defaultPrevented) return; const t = this._getDimension(); this._element.style[t] = this._element.getBoundingClientRect()[t] + "px", f(this._element), this._element.classList.add("collapsing"), this._element.classList.remove("collapse", "show"); const e = this._triggerArray.length; if (e > 0) for (let t = 0; t < e; t++) { const e = this._triggerArray[t], i = n(e); i && !i.classList.contains("show") && (e.classList.add("collapsed"), e.setAttribute("aria-expanded", !1)) } this.setTransitioning(!0), this._element.style[t] = ""; const i = s(this._element); I.one(this._element, "transitionend", () => { this.setTransitioning(!1), this._element.classList.remove("collapsing"), this._element.classList.add("collapse"), I.trigger(this._element, "hidden.bs.collapse") }), a(this._element, i) } setTransitioning(t) { this._isTransitioning = t } dispose() { super.dispose(), this._config = null, this._parent = null, this._triggerArray = null, this._isTransitioning = null } _getConfig(t) { return (t = { ...Q, ...t }).toggle = Boolean(t.toggle), l("collapse", t, G), t } _getDimension() { return this._element.classList.contains("width") ? "width" : "height" } _getParent() { let { parent: t } = this._config; r(t) ? void 0 === t.jquery && void 0 === t[0] || (t = t[0]) : t = U.findOne(t); const e = `[data-bs-toggle="collapse"][data-bs-parent="${t}"]`; return U.find(e, t).forEach(t => { const e = n(t); this._addAriaAndCollapsedClass(e, [t]) }), t } _addAriaAndCollapsedClass(t, e) { if (!t || !e.length) return; const i = t.classList.contains("show"); e.forEach(t => { i ? t.classList.remove("collapsed") : t.classList.add("collapsed"), t.setAttribute("aria-expanded", i) }) } static collapseInterface(t, e) { let i = v.get(t, "bs.collapse"); const n = { ...Q, ...z.getDataAttributes(t), ..."object" == typeof e && e ? e : {} }; if (!i && n.toggle && "string" == typeof e && /show|hide/.test(e) && (n.toggle = !1), i || (i = new Z(t, n)), "string" == typeof e) { if (void 0 === i[e]) throw new TypeError(`No method named "${e}"`); i[e]() } } static jQueryInterface(t) { return this.each((function () { Z.collapseInterface(this, t) })) } } I.on(document, "click.bs.collapse.data-api", '[data-bs-toggle="collapse"]', (function (t) { ("A" === t.target.tagName || t.delegateTarget && "A" === t.delegateTarget.tagName) && t.preventDefault(); const e = z.getDataAttributes(this), n = i(this); U.find(n).forEach(t => { const i = v.get(t, "bs.collapse"); let n; i ? (null === i._parent && "string" == typeof e.parent && (i._config.parent = e.parent, i._parent = i._getParent()), n = "toggle") : n = e, Z.collapseInterface(t, n) }) })), m("collapse", Z); var J = "top", tt = "bottom", et = "right", it = "left", nt = [J, tt, et, it], st = nt.reduce((function (t, e) { return t.concat([e + "-start", e + "-end"]) }), []), ot = [].concat(nt, ["auto"]).reduce((function (t, e) { return t.concat([e, e + "-start", e + "-end"]) }), []), rt = ["beforeRead", "read", "afterRead", "beforeMain", "main", "afterMain", "beforeWrite", "write", "afterWrite"]; function at(t) { return t ? (t.nodeName || "").toLowerCase() : null } function lt(t) { if (null == t) return window; if ("[object Window]" !== t.toString()) { var e = t.ownerDocument; return e && e.defaultView || window } return t } function ct(t) { return t instanceof lt(t).Element || t instanceof Element } function dt(t) { return t instanceof lt(t).HTMLElement || t instanceof HTMLElement } function ht(t) { return "undefined" != typeof ShadowRoot && (t instanceof lt(t).ShadowRoot || t instanceof ShadowRoot) } var ut = { name: "applyStyles", enabled: !0, phase: "write", fn: function (t) { var e = t.state; Object.keys(e.elements).forEach((function (t) { var i = e.styles[t] || {}, n = e.attributes[t] || {}, s = e.elements[t]; dt(s) && at(s) && (Object.assign(s.style, i), Object.keys(n).forEach((function (t) { var e = n[t]; !1 === e ? s.removeAttribute(t) : s.setAttribute(t, !0 === e ? "" : e) }))) })) }, effect: function (t) { var e = t.state, i = { popper: { position: e.options.strategy, left: "0", top: "0", margin: "0" }, arrow: { position: "absolute" }, reference: {} }; return Object.assign(e.elements.popper.style, i.popper), e.styles = i, e.elements.arrow && Object.assign(e.elements.arrow.style, i.arrow), function () { Object.keys(e.elements).forEach((function (t) { var n = e.elements[t], s = e.attributes[t] || {}, o = Object.keys(e.styles.hasOwnProperty(t) ? e.styles[t] : i[t]).reduce((function (t, e) { return t[e] = "", t }), {}); dt(n) && at(n) && (Object.assign(n.style, o), Object.keys(s).forEach((function (t) { n.removeAttribute(t) }))) })) } }, requires: ["computeStyles"] }; function ft(t) { return t.split("-")[0] } function pt(t) { var e = t.getBoundingClientRect(); return { width: e.width, height: e.height, top: e.top, right: e.right, bottom: e.bottom, left: e.left, x: e.left, y: e.top } } function gt(t) { var e = pt(t), i = t.offsetWidth, n = t.offsetHeight; return Math.abs(e.width - i) <= 1 && (i = e.width), Math.abs(e.height - n) <= 1 && (n = e.height), { x: t.offsetLeft, y: t.offsetTop, width: i, height: n } } function mt(t, e) { var i = e.getRootNode && e.getRootNode(); if (t.contains(e)) return !0; if (i && ht(i)) { var n = e; do { if (n && t.isSameNode(n)) return !0; n = n.parentNode || n.host } while (n) } return !1 } function _t(t) { return lt(t).getComputedStyle(t) } function bt(t) { return ["table", "td", "th"].indexOf(at(t)) >= 0 } function vt(t) { return ((ct(t) ? t.ownerDocument : t.document) || window.document).documentElement } function yt(t) { return "html" === at(t) ? t : t.assignedSlot || t.parentNode || (ht(t) ? t.host : null) || vt(t) } function wt(t) { return dt(t) && "fixed" !== _t(t).position ? t.offsetParent : null } function Et(t) { for (var e = lt(t), i = wt(t); i && bt(i) && "static" === _t(i).position;)i = wt(i); return i && ("html" === at(i) || "body" === at(i) && "static" === _t(i).position) ? e : i || function (t) { var e = -1 !== navigator.userAgent.toLowerCase().indexOf("firefox"); if (-1 !== navigator.userAgent.indexOf("Trident") && dt(t) && "fixed" === _t(t).position) return null; for (var i = yt(t); dt(i) && ["html", "body"].indexOf(at(i)) < 0;) { var n = _t(i); if ("none" !== n.transform || "none" !== n.perspective || "paint" === n.contain || -1 !== ["transform", "perspective"].indexOf(n.willChange) || e && "filter" === n.willChange || e && n.filter && "none" !== n.filter) return i; i = i.parentNode } return null }(t) || e } function Tt(t) { return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y" } var At = Math.max, Lt = Math.min, Ot = Math.round; function kt(t, e, i) { return At(t, Lt(e, i)) } function Dt(t) { return Object.assign({}, { top: 0, right: 0, bottom: 0, left: 0 }, t) } function xt(t, e) { return e.reduce((function (e, i) { return e[i] = t, e }), {}) } var Ct = { name: "arrow", enabled: !0, phase: "main", fn: function (t) { var e, i = t.state, n = t.name, s = t.options, o = i.elements.arrow, r = i.modifiersData.popperOffsets, a = ft(i.placement), l = Tt(a), c = [it, et].indexOf(a) >= 0 ? "height" : "width"; if (o && r) { var d = function (t, e) { return Dt("number" != typeof (t = "function" == typeof t ? t(Object.assign({}, e.rects, { placement: e.placement })) : t) ? t : xt(t, nt)) }(s.padding, i), h = gt(o), u = "y" === l ? J : it, f = "y" === l ? tt : et, p = i.rects.reference[c] + i.rects.reference[l] - r[l] - i.rects.popper[c], g = r[l] - i.rects.reference[l], m = Et(o), _ = m ? "y" === l ? m.clientHeight || 0 : m.clientWidth || 0 : 0, b = p / 2 - g / 2, v = d[u], y = _ - h[c] - d[f], w = _ / 2 - h[c] / 2 + b, E = kt(v, w, y), T = l; i.modifiersData[n] = ((e = {})[T] = E, e.centerOffset = E - w, e) } }, effect: function (t) { var e = t.state, i = t.options.element, n = void 0 === i ? "[data-popper-arrow]" : i; null != n && ("string" != typeof n || (n = e.elements.popper.querySelector(n))) && mt(e.elements.popper, n) && (e.elements.arrow = n) }, requires: ["popperOffsets"], requiresIfExists: ["preventOverflow"] }, St = { top: "auto", right: "auto", bottom: "auto", left: "auto" }; function Nt(t) { var e, i = t.popper, n = t.popperRect, s = t.placement, o = t.offsets, r = t.position, a = t.gpuAcceleration, l = t.adaptive, c = t.roundOffsets, d = !0 === c ? function (t) { var e = t.x, i = t.y, n = window.devicePixelRatio || 1; return { x: Ot(Ot(e * n) / n) || 0, y: Ot(Ot(i * n) / n) || 0 } }(o) : "function" == typeof c ? c(o) : o, h = d.x, u = void 0 === h ? 0 : h, f = d.y, p = void 0 === f ? 0 : f, g = o.hasOwnProperty("x"), m = o.hasOwnProperty("y"), _ = it, b = J, v = window; if (l) { var y = Et(i), w = "clientHeight", E = "clientWidth"; y === lt(i) && "static" !== _t(y = vt(i)).position && (w = "scrollHeight", E = "scrollWidth"), y = y, s === J && (b = tt, p -= y[w] - n.height, p *= a ? 1 : -1), s === it && (_ = et, u -= y[E] - n.width, u *= a ? 1 : -1) } var T, A = Object.assign({ position: r }, l && St); return a ? Object.assign({}, A, ((T = {})[b] = m ? "0" : "", T[_] = g ? "0" : "", T.transform = (v.devicePixelRatio || 1) < 2 ? "translate(" + u + "px, " + p + "px)" : "translate3d(" + u + "px, " + p + "px, 0)", T)) : Object.assign({}, A, ((e = {})[b] = m ? p + "px" : "", e[_] = g ? u + "px" : "", e.transform = "", e)) } var jt = { name: "computeStyles", enabled: !0, phase: "beforeWrite", fn: function (t) { var e = t.state, i = t.options, n = i.gpuAcceleration, s = void 0 === n || n, o = i.adaptive, r = void 0 === o || o, a = i.roundOffsets, l = void 0 === a || a, c = { placement: ft(e.placement), popper: e.elements.popper, popperRect: e.rects.popper, gpuAcceleration: s }; null != e.modifiersData.popperOffsets && (e.styles.popper = Object.assign({}, e.styles.popper, Nt(Object.assign({}, c, { offsets: e.modifiersData.popperOffsets, position: e.options.strategy, adaptive: r, roundOffsets: l })))), null != e.modifiersData.arrow && (e.styles.arrow = Object.assign({}, e.styles.arrow, Nt(Object.assign({}, c, { offsets: e.modifiersData.arrow, position: "absolute", adaptive: !1, roundOffsets: l })))), e.attributes.popper = Object.assign({}, e.attributes.popper, { "data-popper-placement": e.placement }) }, data: {} }, Pt = { passive: !0 }, It = { name: "eventListeners", enabled: !0, phase: "write", fn: function () { }, effect: function (t) { var e = t.state, i = t.instance, n = t.options, s = n.scroll, o = void 0 === s || s, r = n.resize, a = void 0 === r || r, l = lt(e.elements.popper), c = [].concat(e.scrollParents.reference, e.scrollParents.popper); return o && c.forEach((function (t) { t.addEventListener("scroll", i.update, Pt) })), a && l.addEventListener("resize", i.update, Pt), function () { o && c.forEach((function (t) { t.removeEventListener("scroll", i.update, Pt) })), a && l.removeEventListener("resize", i.update, Pt) } }, data: {} }, Mt = { left: "right", right: "left", bottom: "top", top: "bottom" }; function Ht(t) { return t.replace(/left|right|bottom|top/g, (function (t) { return Mt[t] })) } var Rt = { start: "end", end: "start" }; function Bt(t) { return t.replace(/start|end/g, (function (t) { return Rt[t] })) } function Wt(t) { var e = lt(t); return { scrollLeft: e.pageXOffset, scrollTop: e.pageYOffset } } function zt(t) { return pt(vt(t)).left + Wt(t).scrollLeft } function Ut(t) { var e = _t(t), i = e.overflow, n = e.overflowX, s = e.overflowY; return /auto|scroll|overlay|hidden/.test(i + s + n) } function $t(t, e) { var i; void 0 === e && (e = []); var n = function t(e) { return ["html", "body", "#document"].indexOf(at(e)) >= 0 ? e.ownerDocument.body : dt(e) && Ut(e) ? e : t(yt(e)) }(t), s = n === (null == (i = t.ownerDocument) ? void 0 : i.body), o = lt(n), r = s ? [o].concat(o.visualViewport || [], Ut(n) ? n : []) : n, a = e.concat(r); return s ? a : a.concat($t(yt(r))) } function Ft(t) { return Object.assign({}, t, { left: t.x, top: t.y, right: t.x + t.width, bottom: t.y + t.height }) } function Kt(t, e) { return "viewport" === e ? Ft(function (t) { var e = lt(t), i = vt(t), n = e.visualViewport, s = i.clientWidth, o = i.clientHeight, r = 0, a = 0; return n && (s = n.width, o = n.height, /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || (r = n.offsetLeft, a = n.offsetTop)), { width: s, height: o, x: r + zt(t), y: a } }(t)) : dt(e) ? function (t) { var e = pt(t); return e.top = e.top + t.clientTop, e.left = e.left + t.clientLeft, e.bottom = e.top + t.clientHeight, e.right = e.left + t.clientWidth, e.width = t.clientWidth, e.height = t.clientHeight, e.x = e.left, e.y = e.top, e }(e) : Ft(function (t) { var e, i = vt(t), n = Wt(t), s = null == (e = t.ownerDocument) ? void 0 : e.body, o = At(i.scrollWidth, i.clientWidth, s ? s.scrollWidth : 0, s ? s.clientWidth : 0), r = At(i.scrollHeight, i.clientHeight, s ? s.scrollHeight : 0, s ? s.clientHeight : 0), a = -n.scrollLeft + zt(t), l = -n.scrollTop; return "rtl" === _t(s || i).direction && (a += At(i.clientWidth, s ? s.clientWidth : 0) - o), { width: o, height: r, x: a, y: l } }(vt(t))) } function Yt(t) { return t.split("-")[1] } function qt(t) { var e, i = t.reference, n = t.element, s = t.placement, o = s ? ft(s) : null, r = s ? Yt(s) : null, a = i.x + i.width / 2 - n.width / 2, l = i.y + i.height / 2 - n.height / 2; switch (o) { case J: e = { x: a, y: i.y - n.height }; break; case tt: e = { x: a, y: i.y + i.height }; break; case et: e = { x: i.x + i.width, y: l }; break; case it: e = { x: i.x - n.width, y: l }; break; default: e = { x: i.x, y: i.y } }var c = o ? Tt(o) : null; if (null != c) { var d = "y" === c ? "height" : "width"; switch (r) { case "start": e[c] = e[c] - (i[d] / 2 - n[d] / 2); break; case "end": e[c] = e[c] + (i[d] / 2 - n[d] / 2) } } return e } function Vt(t, e) { void 0 === e && (e = {}); var i = e, n = i.placement, s = void 0 === n ? t.placement : n, o = i.boundary, r = void 0 === o ? "clippingParents" : o, a = i.rootBoundary, l = void 0 === a ? "viewport" : a, c = i.elementContext, d = void 0 === c ? "popper" : c, h = i.altBoundary, u = void 0 !== h && h, f = i.padding, p = void 0 === f ? 0 : f, g = Dt("number" != typeof p ? p : xt(p, nt)), m = "popper" === d ? "reference" : "popper", _ = t.elements.reference, b = t.rects.popper, v = t.elements[u ? m : d], y = function (t, e, i) { var n = "clippingParents" === e ? function (t) { var e = $t(yt(t)), i = ["absolute", "fixed"].indexOf(_t(t).position) >= 0 && dt(t) ? Et(t) : t; return ct(i) ? e.filter((function (t) { return ct(t) && mt(t, i) && "body" !== at(t) })) : [] }(t) : [].concat(e), s = [].concat(n, [i]), o = s[0], r = s.reduce((function (e, i) { var n = Kt(t, i); return e.top = At(n.top, e.top), e.right = Lt(n.right, e.right), e.bottom = Lt(n.bottom, e.bottom), e.left = At(n.left, e.left), e }), Kt(t, o)); return r.width = r.right - r.left, r.height = r.bottom - r.top, r.x = r.left, r.y = r.top, r }(ct(v) ? v : v.contextElement || vt(t.elements.popper), r, l), w = pt(_), E = qt({ reference: w, element: b, strategy: "absolute", placement: s }), T = Ft(Object.assign({}, b, E)), A = "popper" === d ? T : w, L = { top: y.top - A.top + g.top, bottom: A.bottom - y.bottom + g.bottom, left: y.left - A.left + g.left, right: A.right - y.right + g.right }, O = t.modifiersData.offset; if ("popper" === d && O) { var k = O[s]; Object.keys(L).forEach((function (t) { var e = [et, tt].indexOf(t) >= 0 ? 1 : -1, i = [J, tt].indexOf(t) >= 0 ? "y" : "x"; L[t] += k[i] * e })) } return L } function Xt(t, e) { void 0 === e && (e = {}); var i = e, n = i.placement, s = i.boundary, o = i.rootBoundary, r = i.padding, a = i.flipVariations, l = i.allowedAutoPlacements, c = void 0 === l ? ot : l, d = Yt(n), h = d ? a ? st : st.filter((function (t) { return Yt(t) === d })) : nt, u = h.filter((function (t) { return c.indexOf(t) >= 0 })); 0 === u.length && (u = h); var f = u.reduce((function (e, i) { return e[i] = Vt(t, { placement: i, boundary: s, rootBoundary: o, padding: r })[ft(i)], e }), {}); return Object.keys(f).sort((function (t, e) { return f[t] - f[e] })) } var Qt = { name: "flip", enabled: !0, phase: "main", fn: function (t) { var e = t.state, i = t.options, n = t.name; if (!e.modifiersData[n]._skip) { for (var s = i.mainAxis, o = void 0 === s || s, r = i.altAxis, a = void 0 === r || r, l = i.fallbackPlacements, c = i.padding, d = i.boundary, h = i.rootBoundary, u = i.altBoundary, f = i.flipVariations, p = void 0 === f || f, g = i.allowedAutoPlacements, m = e.options.placement, _ = ft(m), b = l || (_ !== m && p ? function (t) { if ("auto" === ft(t)) return []; var e = Ht(t); return [Bt(t), e, Bt(e)] }(m) : [Ht(m)]), v = [m].concat(b).reduce((function (t, i) { return t.concat("auto" === ft(i) ? Xt(e, { placement: i, boundary: d, rootBoundary: h, padding: c, flipVariations: p, allowedAutoPlacements: g }) : i) }), []), y = e.rects.reference, w = e.rects.popper, E = new Map, T = !0, A = v[0], L = 0; L < v.length; L++) { var O = v[L], k = ft(O), D = "start" === Yt(O), x = [J, tt].indexOf(k) >= 0, C = x ? "width" : "height", S = Vt(e, { placement: O, boundary: d, rootBoundary: h, altBoundary: u, padding: c }), N = x ? D ? et : it : D ? tt : J; y[C] > w[C] && (N = Ht(N)); var j = Ht(N), P = []; if (o && P.push(S[k] <= 0), a && P.push(S[N] <= 0, S[j] <= 0), P.every((function (t) { return t }))) { A = O, T = !1; break } E.set(O, P) } if (T) for (var I = function (t) { var e = v.find((function (e) { var i = E.get(e); if (i) return i.slice(0, t).every((function (t) { return t })) })); if (e) return A = e, "break" }, M = p ? 3 : 1; M > 0 && "break" !== I(M); M--); e.placement !== A && (e.modifiersData[n]._skip = !0, e.placement = A, e.reset = !0) } }, requiresIfExists: ["offset"], data: { _skip: !1 } }; function Gt(t, e, i) { return void 0 === i && (i = { x: 0, y: 0 }), { top: t.top - e.height - i.y, right: t.right - e.width + i.x, bottom: t.bottom - e.height + i.y, left: t.left - e.width - i.x } } function Zt(t) { return [J, et, tt, it].some((function (e) { return t[e] >= 0 })) } var Jt = { name: "hide", enabled: !0, phase: "main", requiresIfExists: ["preventOverflow"], fn: function (t) { var e = t.state, i = t.name, n = e.rects.reference, s = e.rects.popper, o = e.modifiersData.preventOverflow, r = Vt(e, { elementContext: "reference" }), a = Vt(e, { altBoundary: !0 }), l = Gt(r, n), c = Gt(a, s, o), d = Zt(l), h = Zt(c); e.modifiersData[i] = { referenceClippingOffsets: l, popperEscapeOffsets: c, isReferenceHidden: d, hasPopperEscaped: h }, e.attributes.popper = Object.assign({}, e.attributes.popper, { "data-popper-reference-hidden": d, "data-popper-escaped": h }) } }, te = { name: "offset", enabled: !0, phase: "main", requires: ["popperOffsets"], fn: function (t) { var e = t.state, i = t.options, n = t.name, s = i.offset, o = void 0 === s ? [0, 0] : s, r = ot.reduce((function (t, i) { return t[i] = function (t, e, i) { var n = ft(t), s = [it, J].indexOf(n) >= 0 ? -1 : 1, o = "function" == typeof i ? i(Object.assign({}, e, { placement: t })) : i, r = o[0], a = o[1]; return r = r || 0, a = (a || 0) * s, [it, et].indexOf(n) >= 0 ? { x: a, y: r } : { x: r, y: a } }(i, e.rects, o), t }), {}), a = r[e.placement], l = a.x, c = a.y; null != e.modifiersData.popperOffsets && (e.modifiersData.popperOffsets.x += l, e.modifiersData.popperOffsets.y += c), e.modifiersData[n] = r } }, ee = { name: "popperOffsets", enabled: !0, phase: "read", fn: function (t) { var e = t.state, i = t.name; e.modifiersData[i] = qt({ reference: e.rects.reference, element: e.rects.popper, strategy: "absolute", placement: e.placement }) }, data: {} }, ie = { name: "preventOverflow", enabled: !0, phase: "main", fn: function (t) { var e = t.state, i = t.options, n = t.name, s = i.mainAxis, o = void 0 === s || s, r = i.altAxis, a = void 0 !== r && r, l = i.boundary, c = i.rootBoundary, d = i.altBoundary, h = i.padding, u = i.tether, f = void 0 === u || u, p = i.tetherOffset, g = void 0 === p ? 0 : p, m = Vt(e, { boundary: l, rootBoundary: c, padding: h, altBoundary: d }), _ = ft(e.placement), b = Yt(e.placement), v = !b, y = Tt(_), w = "x" === y ? "y" : "x", E = e.modifiersData.popperOffsets, T = e.rects.reference, A = e.rects.popper, L = "function" == typeof g ? g(Object.assign({}, e.rects, { placement: e.placement })) : g, O = { x: 0, y: 0 }; if (E) { if (o || a) { var k = "y" === y ? J : it, D = "y" === y ? tt : et, x = "y" === y ? "height" : "width", C = E[y], S = E[y] + m[k], N = E[y] - m[D], j = f ? -A[x] / 2 : 0, P = "start" === b ? T[x] : A[x], I = "start" === b ? -A[x] : -T[x], M = e.elements.arrow, H = f && M ? gt(M) : { width: 0, height: 0 }, R = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : { top: 0, right: 0, bottom: 0, left: 0 }, B = R[k], W = R[D], z = kt(0, T[x], H[x]), U = v ? T[x] / 2 - j - z - B - L : P - z - B - L, $ = v ? -T[x] / 2 + j + z + W + L : I + z + W + L, F = e.elements.arrow && Et(e.elements.arrow), K = F ? "y" === y ? F.clientTop || 0 : F.clientLeft || 0 : 0, Y = e.modifiersData.offset ? e.modifiersData.offset[e.placement][y] : 0, q = E[y] + U - Y - K, V = E[y] + $ - Y; if (o) { var X = kt(f ? Lt(S, q) : S, C, f ? At(N, V) : N); E[y] = X, O[y] = X - C } if (a) { var Q = "x" === y ? J : it, G = "x" === y ? tt : et, Z = E[w], nt = Z + m[Q], st = Z - m[G], ot = kt(f ? Lt(nt, q) : nt, Z, f ? At(st, V) : st); E[w] = ot, O[w] = ot - Z } } e.modifiersData[n] = O } }, requiresIfExists: ["offset"] }; function ne(t, e, i) { void 0 === i && (i = !1); var n, s, o = vt(e), r = pt(t), a = dt(e), l = { scrollLeft: 0, scrollTop: 0 }, c = { x: 0, y: 0 }; return (a || !a && !i) && (("body" !== at(e) || Ut(o)) && (l = (n = e) !== lt(n) && dt(n) ? { scrollLeft: (s = n).scrollLeft, scrollTop: s.scrollTop } : Wt(n)), dt(e) ? ((c = pt(e)).x += e.clientLeft, c.y += e.clientTop) : o && (c.x = zt(o))), { x: r.left + l.scrollLeft - c.x, y: r.top + l.scrollTop - c.y, width: r.width, height: r.height } } var se = { placement: "bottom", modifiers: [], strategy: "absolute" }; function oe() { for (var t = arguments.length, e = new Array(t), i = 0; i < t; i++)e[i] = arguments[i]; return !e.some((function (t) { return !(t && "function" == typeof t.getBoundingClientRect) })) } function re(t) { void 0 === t && (t = {}); var e = t, i = e.defaultModifiers, n = void 0 === i ? [] : i, s = e.defaultOptions, o = void 0 === s ? se : s; return function (t, e, i) { void 0 === i && (i = o); var s, r, a = { placement: "bottom", orderedModifiers: [], options: Object.assign({}, se, o), modifiersData: {}, elements: { reference: t, popper: e }, attributes: {}, styles: {} }, l = [], c = !1, d = { state: a, setOptions: function (i) { h(), a.options = Object.assign({}, o, a.options, i), a.scrollParents = { reference: ct(t) ? $t(t) : t.contextElement ? $t(t.contextElement) : [], popper: $t(e) }; var s, r, c = function (t) { var e = function (t) { var e = new Map, i = new Set, n = []; return t.forEach((function (t) { e.set(t.name, t) })), t.forEach((function (t) { i.has(t.name) || function t(s) { i.add(s.name), [].concat(s.requires || [], s.requiresIfExists || []).forEach((function (n) { if (!i.has(n)) { var s = e.get(n); s && t(s) } })), n.push(s) }(t) })), n }(t); return rt.reduce((function (t, i) { return t.concat(e.filter((function (t) { return t.phase === i }))) }), []) }((s = [].concat(n, a.options.modifiers), r = s.reduce((function (t, e) { var i = t[e.name]; return t[e.name] = i ? Object.assign({}, i, e, { options: Object.assign({}, i.options, e.options), data: Object.assign({}, i.data, e.data) }) : e, t }), {}), Object.keys(r).map((function (t) { return r[t] })))); return a.orderedModifiers = c.filter((function (t) { return t.enabled })), a.orderedModifiers.forEach((function (t) { var e = t.name, i = t.options, n = void 0 === i ? {} : i, s = t.effect; if ("function" == typeof s) { var o = s({ state: a, name: e, instance: d, options: n }); l.push(o || function () { }) } })), d.update() }, forceUpdate: function () { if (!c) { var t = a.elements, e = t.reference, i = t.popper; if (oe(e, i)) { a.rects = { reference: ne(e, Et(i), "fixed" === a.options.strategy), popper: gt(i) }, a.reset = !1, a.placement = a.options.placement, a.orderedModifiers.forEach((function (t) { return a.modifiersData[t.name] = Object.assign({}, t.data) })); for (var n = 0; n < a.orderedModifiers.length; n++)if (!0 !== a.reset) { var s = a.orderedModifiers[n], o = s.fn, r = s.options, l = void 0 === r ? {} : r, h = s.name; "function" == typeof o && (a = o({ state: a, options: l, name: h, instance: d }) || a) } else a.reset = !1, n = -1 } } }, update: (s = function () { return new Promise((function (t) { d.forceUpdate(), t(a) })) }, function () { return r || (r = new Promise((function (t) { Promise.resolve().then((function () { r = void 0, t(s()) })) }))), r }), destroy: function () { h(), c = !0 } }; if (!oe(t, e)) return d; function h() { l.forEach((function (t) { return t() })), l = [] } return d.setOptions(i).then((function (t) { !c && i.onFirstUpdate && i.onFirstUpdate(t) })), d } } var ae = re(), le = re({ defaultModifiers: [It, ee, jt, ut] }), ce = re({ defaultModifiers: [It, ee, jt, ut, te, Qt, ie, Ct, Jt] }), de = Object.freeze({ __proto__: null, popperGenerator: re, detectOverflow: Vt, createPopperBase: ae, createPopper: ce, createPopperLite: le, top: J, bottom: tt, right: et, left: it, auto: "auto", basePlacements: nt, start: "start", end: "end", clippingParents: "clippingParents", viewport: "viewport", popper: "popper", reference: "reference", variationPlacements: st, placements: ot, beforeRead: "beforeRead", read: "read", afterRead: "afterRead", beforeMain: "beforeMain", main: "main", afterMain: "afterMain", beforeWrite: "beforeWrite", write: "write", afterWrite: "afterWrite", modifierPhases: rt, applyStyles: ut, arrow: Ct, computeStyles: jt, eventListeners: It, flip: Qt, hide: Jt, offset: te, popperOffsets: ee, preventOverflow: ie }); const he = new RegExp("ArrowUp|ArrowDown|Escape"), ue = g() ? "top-end" : "top-start", fe = g() ? "top-start" : "top-end", pe = g() ? "bottom-end" : "bottom-start", ge = g() ? "bottom-start" : "bottom-end", me = g() ? "left-start" : "right-start", _e = g() ? "right-start" : "left-start", be = { offset: [0, 2], boundary: "clippingParents", reference: "toggle", display: "dynamic", popperConfig: null, autoClose: !0 }, ve = { offset: "(array|string|function)", boundary: "(string|element)", reference: "(string|element|object)", display: "string", popperConfig: "(null|object|function)", autoClose: "(boolean|string)" }; class ye extends M { constructor(t, e) { super(t), this._popper = null, this._config = this._getConfig(e), this._menu = this._getMenuElement(), this._inNavbar = this._detectNavbar(), this._addEventListeners() } static get Default() { return be } static get DefaultType() { return ve } static get DATA_KEY() { return "bs.dropdown" } toggle() { d(this._element) || (this._element.classList.contains("show") ? this.hide() : this.show()) } show() { if (d(this._element) || this._menu.classList.contains("show")) return; const t = ye.getParentFromElement(this._element), e = { relatedTarget: this._element }; if (!I.trigger(this._element, "show.bs.dropdown", e).defaultPrevented) { if (this._inNavbar) z.setDataAttribute(this._menu, "popper", "none"); else { if (void 0 === de) throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)"); let e = this._element; "parent" === this._config.reference ? e = t : r(this._config.reference) ? (e = this._config.reference, void 0 !== this._config.reference.jquery && (e = this._config.reference[0])) : "object" == typeof this._config.reference && (e = this._config.reference); const i = this._getPopperConfig(), n = i.modifiers.find(t => "applyStyles" === t.name && !1 === t.enabled); this._popper = ce(e, this._menu, i), n && z.setDataAttribute(this._menu, "popper", "static") } "ontouchstart" in document.documentElement && !t.closest(".navbar-nav") && [].concat(...document.body.children).forEach(t => I.on(t, "mouseover", u)), this._element.focus(), this._element.setAttribute("aria-expanded", !0), this._menu.classList.toggle("show"), this._element.classList.toggle("show"), I.trigger(this._element, "shown.bs.dropdown", e) } } hide() { if (d(this._element) || !this._menu.classList.contains("show")) return; const t = { relatedTarget: this._element }; this._completeHide(t) } dispose() { this._menu = null, this._popper && (this._popper.destroy(), this._popper = null), super.dispose() } update() { this._inNavbar = this._detectNavbar(), this._popper && this._popper.update() } _addEventListeners() { I.on(this._element, "click.bs.dropdown", t => { t.preventDefault(), this.toggle() }) } _completeHide(t) { I.trigger(this._element, "hide.bs.dropdown", t).defaultPrevented || ("ontouchstart" in document.documentElement && [].concat(...document.body.children).forEach(t => I.off(t, "mouseover", u)), this._popper && this._popper.destroy(), this._menu.classList.remove("show"), this._element.classList.remove("show"), this._element.setAttribute("aria-expanded", "false"), z.removeDataAttribute(this._menu, "popper"), I.trigger(this._element, "hidden.bs.dropdown", t)) } _getConfig(t) { if (t = { ...this.constructor.Default, ...z.getDataAttributes(this._element), ...t }, l("dropdown", t, this.constructor.DefaultType), "object" == typeof t.reference && !r(t.reference) && "function" != typeof t.reference.getBoundingClientRect) throw new TypeError("dropdown".toUpperCase() + ': Option "reference" provided type "object" without a required "getBoundingClientRect" method.'); return t } _getMenuElement() { return U.next(this._element, ".dropdown-menu")[0] } _getPlacement() { const t = this._element.parentNode; if (t.classList.contains("dropend")) return me; if (t.classList.contains("dropstart")) return _e; const e = "end" === getComputedStyle(this._menu).getPropertyValue("--bs-position").trim(); return t.classList.contains("dropup") ? e ? fe : ue : e ? ge : pe } _detectNavbar() { return null !== this._element.closest(".navbar") } _getOffset() { const { offset: t } = this._config; return "string" == typeof t ? t.split(",").map(t => Number.parseInt(t, 10)) : "function" == typeof t ? e => t(e, this._element) : t } _getPopperConfig() { const t = { placement: this._getPlacement(), modifiers: [{ name: "preventOverflow", options: { boundary: this._config.boundary } }, { name: "offset", options: { offset: this._getOffset() } }] }; return "static" === this._config.display && (t.modifiers = [{ name: "applyStyles", enabled: !1 }]), { ...t, ..."function" == typeof this._config.popperConfig ? this._config.popperConfig(t) : this._config.popperConfig } } _selectMenuItem(t) { const e = U.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)", this._menu).filter(c); if (!e.length) return; let i = e.indexOf(t.target); "ArrowUp" === t.key && i > 0 && i--, "ArrowDown" === t.key && i < e.length - 1 && i++, i = -1 === i ? 0 : i, e[i].focus() } static dropdownInterface(t, e) { let i = v.get(t, "bs.dropdown"); if (i || (i = new ye(t, "object" == typeof e ? e : null)), "string" == typeof e) { if (void 0 === i[e]) throw new TypeError(`No method named "${e}"`); i[e]() } } static jQueryInterface(t) { return this.each((function () { ye.dropdownInterface(this, t) })) } static clearMenus(t) { if (t) { if (2 === t.button || "keyup" === t.type && "Tab" !== t.key) return; if (/input|select|option|textarea|form/i.test(t.target.tagName)) return } const e = U.find('[data-bs-toggle="dropdown"]'); for (let i = 0, n = e.length; i < n; i++) { const n = v.get(e[i], "bs.dropdown"); if (!n || !1 === n._config.autoClose) continue; if (!n._element.classList.contains("show")) continue; const s = { relatedTarget: n._element }; if (t) { const e = t.composedPath(), i = e.includes(n._menu); if (e.includes(n._element) || "inside" === n._config.autoClose && !i || "outside" === n._config.autoClose && i) continue; if ("keyup" === t.type && "Tab" === t.key && n._menu.contains(t.target)) continue; "click" === t.type && (s.clickEvent = t) } n._completeHide(s) } } static getParentFromElement(t) { return n(t) || t.parentNode } static dataApiKeydownHandler(t) { if (/input|textarea/i.test(t.target.tagName) ? "Space" === t.key || "Escape" !== t.key && ("ArrowDown" !== t.key && "ArrowUp" !== t.key || t.target.closest(".dropdown-menu")) : !he.test(t.key)) return; const e = this.classList.contains("show"); if (!e && "Escape" === t.key) return; if (t.preventDefault(), t.stopPropagation(), d(this)) return; const i = () => this.matches('[data-bs-toggle="dropdown"]') ? this : U.prev(this, '[data-bs-toggle="dropdown"]')[0]; if ("Escape" === t.key) return i().focus(), void ye.clearMenus(); e || "ArrowUp" !== t.key && "ArrowDown" !== t.key ? e && "Space" !== t.key ? ye.getInstance(i())._selectMenuItem(t) : ye.clearMenus() : i().click() } } I.on(document, "keydown.bs.dropdown.data-api", '[data-bs-toggle="dropdown"]', ye.dataApiKeydownHandler), I.on(document, "keydown.bs.dropdown.data-api", ".dropdown-menu", ye.dataApiKeydownHandler), I.on(document, "click.bs.dropdown.data-api", ye.clearMenus), I.on(document, "keyup.bs.dropdown.data-api", ye.clearMenus), I.on(document, "click.bs.dropdown.data-api", '[data-bs-toggle="dropdown"]', (function (t) { t.preventDefault(), ye.dropdownInterface(this) })), m("dropdown", ye); const we = () => { const t = document.documentElement.clientWidth; return Math.abs(window.innerWidth - t) }, Ee = (t = we()) => { Te(), Ae("body", "paddingRight", e => e + t), Ae(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top", "paddingRight", e => e + t), Ae(".sticky-top", "marginRight", e => e - t) }, Te = () => { const t = document.body.style.overflow; t && z.setDataAttribute(document.body, "overflow", t), document.body.style.overflow = "hidden" }, Ae = (t, e, i) => { const n = we(); U.find(t).forEach(t => { if (t !== document.body && window.innerWidth > t.clientWidth + n) return; const s = t.style[e], o = window.getComputedStyle(t)[e]; z.setDataAttribute(t, e, s), t.style[e] = i(Number.parseFloat(o)) + "px" }) }, Le = () => { Oe("body", "overflow"), Oe("body", "paddingRight"), Oe(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top", "paddingRight"), Oe(".sticky-top", "marginRight") }, Oe = (t, e) => { U.find(t).forEach(t => { const i = z.getDataAttribute(t, e); void 0 === i ? t.style.removeProperty(e) : (z.removeDataAttribute(t, e), t.style[e] = i) }) }, ke = { isVisible: !0, isAnimated: !1, rootElement: document.body, clickCallback: null }, De = { isVisible: "boolean", isAnimated: "boolean", rootElement: "element", clickCallback: "(function|null)" }; class xe { constructor(t) { this._config = this._getConfig(t), this._isAppended = !1, this._element = null } show(t) { this._config.isVisible ? (this._append(), this._config.isAnimated && f(this._getElement()), this._getElement().classList.add("show"), this._emulateAnimation(() => { _(t) })) : _(t) } hide(t) { this._config.isVisible ? (this._getElement().classList.remove("show"), this._emulateAnimation(() => { this.dispose(), _(t) })) : _(t) } _getElement() { if (!this._element) { const t = document.createElement("div"); t.className = "modal-backdrop", this._config.isAnimated && t.classList.add("fade"), this._element = t } return this._element } _getConfig(t) { return t = { ...ke, ..."object" == typeof t ? t : {} }, l("backdrop", t, De), t } _append() { this._isAppended || (this._config.rootElement.appendChild(this._getElement()), I.on(this._getElement(), "mousedown.bs.backdrop", () => { _(this._config.clickCallback) }), this._isAppended = !0) } dispose() { this._isAppended && (I.off(this._element, "mousedown.bs.backdrop"), this._getElement().parentNode.removeChild(this._element), this._isAppended = !1) } _emulateAnimation(t) { if (!this._config.isAnimated) return void _(t); const e = s(this._getElement()); I.one(this._getElement(), "transitionend", () => _(t)), a(this._getElement(), e) } } const Ce = { backdrop: !0, keyboard: !0, focus: !0 }, Se = { backdrop: "(boolean|string)", keyboard: "boolean", focus: "boolean" }; class Ne extends M { constructor(t, e) { super(t), this._config = this._getConfig(e), this._dialog = U.findOne(".modal-dialog", this._element), this._backdrop = this._initializeBackDrop(), this._isShown = !1, this._ignoreBackdropClick = !1, this._isTransitioning = !1 } static get Default() { return Ce } static get DATA_KEY() { return "bs.modal" } toggle(t) { return this._isShown ? this.hide() : this.show(t) } show(t) { if (this._isShown || this._isTransitioning) return; this._isAnimated() && (this._isTransitioning = !0); const e = I.trigger(this._element, "show.bs.modal", { relatedTarget: t }); this._isShown || e.defaultPrevented || (this._isShown = !0, Ee(), document.body.classList.add("modal-open"), this._adjustDialog(), this._setEscapeEvent(), this._setResizeEvent(), I.on(this._element, "click.dismiss.bs.modal", '[data-bs-dismiss="modal"]', t => this.hide(t)), I.on(this._dialog, "mousedown.dismiss.bs.modal", () => { I.one(this._element, "mouseup.dismiss.bs.modal", t => { t.target === this._element && (this._ignoreBackdropClick = !0) }) }), this._showBackdrop(() => this._showElement(t))) } hide(t) { if (t && t.preventDefault(), !this._isShown || this._isTransitioning) return; if (I.trigger(this._element, "hide.bs.modal").defaultPrevented) return; this._isShown = !1; const e = this._isAnimated(); if (e && (this._isTransitioning = !0), this._setEscapeEvent(), this._setResizeEvent(), I.off(document, "focusin.bs.modal"), this._element.classList.remove("show"), I.off(this._element, "click.dismiss.bs.modal"), I.off(this._dialog, "mousedown.dismiss.bs.modal"), e) { const t = s(this._element); I.one(this._element, "transitionend", t => this._hideModal(t)), a(this._element, t) } else this._hideModal() } dispose() { [window, this._dialog].forEach(t => I.off(t, ".bs.modal")), super.dispose(), I.off(document, "focusin.bs.modal"), this._config = null, this._dialog = null, this._backdrop.dispose(), this._backdrop = null, this._isShown = null, this._ignoreBackdropClick = null, this._isTransitioning = null } handleUpdate() { this._adjustDialog() } _initializeBackDrop() { return new xe({ isVisible: Boolean(this._config.backdrop), isAnimated: this._isAnimated() }) } _getConfig(t) { return t = { ...Ce, ...z.getDataAttributes(this._element), ...t }, l("modal", t, Se), t } _showElement(t) { const e = this._isAnimated(), i = U.findOne(".modal-body", this._dialog); this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE || document.body.appendChild(this._element), this._element.style.display = "block", this._element.removeAttribute("aria-hidden"), this._element.setAttribute("aria-modal", !0), this._element.setAttribute("role", "dialog"), this._element.scrollTop = 0, i && (i.scrollTop = 0), e && f(this._element), this._element.classList.add("show"), this._config.focus && this._enforceFocus(); const n = () => { this._config.focus && this._element.focus(), this._isTransitioning = !1, I.trigger(this._element, "shown.bs.modal", { relatedTarget: t }) }; if (e) { const t = s(this._dialog); I.one(this._dialog, "transitionend", n), a(this._dialog, t) } else n() } _enforceFocus() { I.off(document, "focusin.bs.modal"), I.on(document, "focusin.bs.modal", t => { document === t.target || this._element === t.target || this._element.contains(t.target) || this._element.focus() }) } _setEscapeEvent() { this._isShown ? I.on(this._element, "keydown.dismiss.bs.modal", t => { this._config.keyboard && "Escape" === t.key ? (t.preventDefault(), this.hide()) : this._config.keyboard || "Escape" !== t.key || this._triggerBackdropTransition() }) : I.off(this._element, "keydown.dismiss.bs.modal") } _setResizeEvent() { this._isShown ? I.on(window, "resize.bs.modal", () => this._adjustDialog()) : I.off(window, "resize.bs.modal") } _hideModal() { this._element.style.display = "none", this._element.setAttribute("aria-hidden", !0), this._element.removeAttribute("aria-modal"), this._element.removeAttribute("role"), this._isTransitioning = !1, this._backdrop.hide(() => { document.body.classList.remove("modal-open"), this._resetAdjustments(), Le(), I.trigger(this._element, "hidden.bs.modal") }) } _showBackdrop(t) { I.on(this._element, "click.dismiss.bs.modal", t => { this._ignoreBackdropClick ? this._ignoreBackdropClick = !1 : t.target === t.currentTarget && (!0 === this._config.backdrop ? this.hide() : "static" === this._config.backdrop && this._triggerBackdropTransition()) }), this._backdrop.show(t) } _isAnimated() { return this._element.classList.contains("fade") } _triggerBackdropTransition() { if (I.trigger(this._element, "hidePrevented.bs.modal").defaultPrevented) return; const t = this._element.scrollHeight > document.documentElement.clientHeight; t || (this._element.style.overflowY = "hidden"), this._element.classList.add("modal-static"); const e = s(this._dialog); I.off(this._element, "transitionend"), I.one(this._element, "transitionend", () => { this._element.classList.remove("modal-static"), t || (I.one(this._element, "transitionend", () => { this._element.style.overflowY = "" }), a(this._element, e)) }), a(this._element, e), this._element.focus() } _adjustDialog() { const t = this._element.scrollHeight > document.documentElement.clientHeight, e = we(), i = e > 0; (!i && t && !g() || i && !t && g()) && (this._element.style.paddingLeft = e + "px"), (i && !t && !g() || !i && t && g()) && (this._element.style.paddingRight = e + "px") } _resetAdjustments() { this._element.style.paddingLeft = "", this._element.style.paddingRight = "" } static jQueryInterface(t, e) { return this.each((function () { const i = Ne.getInstance(this) || new Ne(this, "object" == typeof t ? t : {}); if ("string" == typeof t) { if (void 0 === i[t]) throw new TypeError(`No method named "${t}"`); i[t](e) } })) } } I.on(document, "click.bs.modal.data-api", '[data-bs-toggle="modal"]', (function (t) { const e = n(this);["A", "AREA"].includes(this.tagName) && t.preventDefault(), I.one(e, "show.bs.modal", t => { t.defaultPrevented || I.one(e, "hidden.bs.modal", () => { c(this) && this.focus() }) }), (Ne.getInstance(e) || new Ne(e)).toggle(this) })), m("modal", Ne); const je = { backdrop: !0, keyboard: !0, scroll: !1 }, Pe = { backdrop: "boolean", keyboard: "boolean", scroll: "boolean" }; class Ie extends M { constructor(t, e) { super(t), this._config = this._getConfig(e), this._isShown = !1, this._backdrop = this._initializeBackDrop(), this._addEventListeners() } static get Default() { return je } static get DATA_KEY() { return "bs.offcanvas" } toggle(t) { return this._isShown ? this.hide() : this.show(t) } show(t) { if (this._isShown) return; if (I.trigger(this._element, "show.bs.offcanvas", { relatedTarget: t }).defaultPrevented) return; this._isShown = !0, this._element.style.visibility = "visible", this._backdrop.show(), this._config.scroll || (Ee(), this._enforceFocusOnElement(this._element)), this._element.removeAttribute("aria-hidden"), this._element.setAttribute("aria-modal", !0), this._element.setAttribute("role", "dialog"), this._element.classList.add("show"); const e = s(this._element); I.one(this._element, "transitionend", () => { I.trigger(this._element, "shown.bs.offcanvas", { relatedTarget: t }) }), a(this._element, e) } hide() { if (!this._isShown) return; if (I.trigger(this._element, "hide.bs.offcanvas").defaultPrevented) return; I.off(document, "focusin.bs.offcanvas"), this._element.blur(), this._isShown = !1, this._element.classList.remove("show"), this._backdrop.hide(); const t = s(this._element); I.one(this._element, "transitionend", () => { this._element.setAttribute("aria-hidden", !0), this._element.removeAttribute("aria-modal"), this._element.removeAttribute("role"), this._element.style.visibility = "hidden", this._config.scroll || Le(), I.trigger(this._element, "hidden.bs.offcanvas") }), a(this._element, t) } dispose() { this._backdrop.dispose(), super.dispose(), I.off(document, "focusin.bs.offcanvas"), this._config = null, this._backdrop = null } _getConfig(t) { return t = { ...je, ...z.getDataAttributes(this._element), ..."object" == typeof t ? t : {} }, l("offcanvas", t, Pe), t } _initializeBackDrop() { return new xe({ isVisible: this._config.backdrop, isAnimated: !0, rootElement: this._element.parentNode, clickCallback: () => this.hide() }) } _enforceFocusOnElement(t) { I.off(document, "focusin.bs.offcanvas"), I.on(document, "focusin.bs.offcanvas", e => { document === e.target || t === e.target || t.contains(e.target) || t.focus() }), t.focus() } _addEventListeners() { I.on(this._element, "click.dismiss.bs.offcanvas", '[data-bs-dismiss="offcanvas"]', () => this.hide()), I.on(this._element, "keydown.dismiss.bs.offcanvas", t => { this._config.keyboard && "Escape" === t.key && this.hide() }) } static jQueryInterface(t) { return this.each((function () { const e = v.get(this, "bs.offcanvas") || new Ie(this, "object" == typeof t ? t : {}); if ("string" == typeof t) { if (void 0 === e[t] || t.startsWith("_") || "constructor" === t) throw new TypeError(`No method named "${t}"`); e[t](this) } })) } } I.on(document, "click.bs.offcanvas.data-api", '[data-bs-toggle="offcanvas"]', (function (t) { const e = n(this); if (["A", "AREA"].includes(this.tagName) && t.preventDefault(), d(this)) return; I.one(e, "hidden.bs.offcanvas", () => { c(this) && this.focus() }); const i = U.findOne(".offcanvas.show"); i && i !== e && Ie.getInstance(i).hide(), (v.get(e, "bs.offcanvas") || new Ie(e)).toggle(this) })), I.on(window, "load.bs.offcanvas.data-api", () => { U.find(".offcanvas.show").forEach(t => (v.get(t, "bs.offcanvas") || new Ie(t)).show()) }), m("offcanvas", Ie); const Me = new Set(["background", "cite", "href", "itemtype", "longdesc", "poster", "src", "xlink:href"]), He = /^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/i, Re = /^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i, Be = (t, e) => { const i = t.nodeName.toLowerCase(); if (e.includes(i)) return !Me.has(i) || Boolean(He.test(t.nodeValue) || Re.test(t.nodeValue)); const n = e.filter(t => t instanceof RegExp); for (let t = 0, e = n.length; t < e; t++)if (n[t].test(i)) return !0; return !1 }; function We(t, e, i) { if (!t.length) return t; if (i && "function" == typeof i) return i(t); const n = (new window.DOMParser).parseFromString(t, "text/html"), s = Object.keys(e), o = [].concat(...n.body.querySelectorAll("*")); for (let t = 0, i = o.length; t < i; t++) { const i = o[t], n = i.nodeName.toLowerCase(); if (!s.includes(n)) { i.parentNode.removeChild(i); continue } const r = [].concat(...i.attributes), a = [].concat(e["*"] || [], e[n] || []); r.forEach(t => { Be(t, a) || i.removeAttribute(t.nodeName) }) } return n.body.innerHTML } const ze = new RegExp("(^|\\s)bs-tooltip\\S+", "g"), Ue = new Set(["sanitize", "allowList", "sanitizeFn"]), $e = { animation: "boolean", template: "string", title: "(string|element|function)", trigger: "string", delay: "(number|object)", html: "boolean", selector: "(string|boolean)", placement: "(string|function)", offset: "(array|string|function)", container: "(string|element|boolean)", fallbackPlacements: "array", boundary: "(string|element)", customClass: "(string|function)", sanitize: "boolean", sanitizeFn: "(null|function)", allowList: "object", popperConfig: "(null|object|function)" }, Fe = { AUTO: "auto", TOP: "top", RIGHT: g() ? "left" : "right", BOTTOM: "bottom", LEFT: g() ? "right" : "left" }, Ke = { animation: !0, template: '<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>', trigger: "hover focus", title: "", delay: 0, html: !1, selector: !1, placement: "top", offset: [0, 0], container: !1, fallbackPlacements: ["top", "right", "bottom", "left"], boundary: "clippingParents", customClass: "", sanitize: !0, sanitizeFn: null, allowList: { "*": ["class", "dir", "id", "lang", "role", /^aria-[\w-]*$/i], a: ["target", "href", "title", "rel"], area: [], b: [], br: [], col: [], code: [], div: [], em: [], hr: [], h1: [], h2: [], h3: [], h4: [], h5: [], h6: [], i: [], img: ["src", "srcset", "alt", "title", "width", "height"], li: [], ol: [], p: [], pre: [], s: [], small: [], span: [], sub: [], sup: [], strong: [], u: [], ul: [] }, popperConfig: null }, Ye = { HIDE: "hide.bs.tooltip", HIDDEN: "hidden.bs.tooltip", SHOW: "show.bs.tooltip", SHOWN: "shown.bs.tooltip", INSERTED: "inserted.bs.tooltip", CLICK: "click.bs.tooltip", FOCUSIN: "focusin.bs.tooltip", FOCUSOUT: "focusout.bs.tooltip", MOUSEENTER: "mouseenter.bs.tooltip", MOUSELEAVE: "mouseleave.bs.tooltip" }; class qe extends M { constructor(t, e) { if (void 0 === de) throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)"); super(t), this._isEnabled = !0, this._timeout = 0, this._hoverState = "", this._activeTrigger = {}, this._popper = null, this.config = this._getConfig(e), this.tip = null, this._setListeners() } static get Default() { return Ke } static get NAME() { return "tooltip" } static get DATA_KEY() { return "bs.tooltip" } static get Event() { return Ye } static get EVENT_KEY() { return ".bs.tooltip" } static get DefaultType() { return $e } enable() { this._isEnabled = !0 } disable() { this._isEnabled = !1 } toggleEnabled() { this._isEnabled = !this._isEnabled } toggle(t) { if (this._isEnabled) if (t) { const e = this._initializeOnDelegatedTarget(t); e._activeTrigger.click = !e._activeTrigger.click, e._isWithActiveTrigger() ? e._enter(null, e) : e._leave(null, e) } else { if (this.getTipElement().classList.contains("show")) return void this._leave(null, this); this._enter(null, this) } } dispose() { clearTimeout(this._timeout), I.off(this._element.closest(".modal"), "hide.bs.modal", this._hideModalHandler), this.tip && this.tip.parentNode && this.tip.parentNode.removeChild(this.tip), this._isEnabled = null, this._timeout = null, this._hoverState = null, this._activeTrigger = null, this._popper && this._popper.destroy(), this._popper = null, this.config = null, this.tip = null, super.dispose() } show() { if ("none" === this._element.style.display) throw new Error("Please use show on visible elements"); if (!this.isWithContent() || !this._isEnabled) return; const e = I.trigger(this._element, this.constructor.Event.SHOW), i = h(this._element), n = null === i ? this._element.ownerDocument.documentElement.contains(this._element) : i.contains(this._element); if (e.defaultPrevented || !n) return; const o = this.getTipElement(), r = t(this.constructor.NAME); o.setAttribute("id", r), this._element.setAttribute("aria-describedby", r), this.setContent(), this.config.animation && o.classList.add("fade"); const l = "function" == typeof this.config.placement ? this.config.placement.call(this, o, this._element) : this.config.placement, c = this._getAttachment(l); this._addAttachmentClass(c); const d = this._getContainer(); v.set(o, this.constructor.DATA_KEY, this), this._element.ownerDocument.documentElement.contains(this.tip) || (d.appendChild(o), I.trigger(this._element, this.constructor.Event.INSERTED)), this._popper ? this._popper.update() : this._popper = ce(this._element, o, this._getPopperConfig(c)), o.classList.add("show"); const f = "function" == typeof this.config.customClass ? this.config.customClass() : this.config.customClass; f && o.classList.add(...f.split(" ")), "ontouchstart" in document.documentElement && [].concat(...document.body.children).forEach(t => { I.on(t, "mouseover", u) }); const p = () => { const t = this._hoverState; this._hoverState = null, I.trigger(this._element, this.constructor.Event.SHOWN), "out" === t && this._leave(null, this) }; if (this.tip.classList.contains("fade")) { const t = s(this.tip); I.one(this.tip, "transitionend", p), a(this.tip, t) } else p() } hide() { if (!this._popper) return; const t = this.getTipElement(), e = () => { this._isWithActiveTrigger() || ("show" !== this._hoverState && t.parentNode && t.parentNode.removeChild(t), this._cleanTipClass(), this._element.removeAttribute("aria-describedby"), I.trigger(this._element, this.constructor.Event.HIDDEN), this._popper && (this._popper.destroy(), this._popper = null)) }; if (!I.trigger(this._element, this.constructor.Event.HIDE).defaultPrevented) { if (t.classList.remove("show"), "ontouchstart" in document.documentElement && [].concat(...document.body.children).forEach(t => I.off(t, "mouseover", u)), this._activeTrigger.click = !1, this._activeTrigger.focus = !1, this._activeTrigger.hover = !1, this.tip.classList.contains("fade")) { const i = s(t); I.one(t, "transitionend", e), a(t, i) } else e(); this._hoverState = "" } } update() { null !== this._popper && this._popper.update() } isWithContent() { return Boolean(this.getTitle()) } getTipElement() { if (this.tip) return this.tip; const t = document.createElement("div"); return t.innerHTML = this.config.template, this.tip = t.children[0], this.tip } setContent() { const t = this.getTipElement(); this.setElementContent(U.findOne(".tooltip-inner", t), this.getTitle()), t.classList.remove("fade", "show") } setElementContent(t, e) { if (null !== t) return "object" == typeof e && r(e) ? (e.jquery && (e = e[0]), void (this.config.html ? e.parentNode !== t && (t.innerHTML = "", t.appendChild(e)) : t.textContent = e.textContent)) : void (this.config.html ? (this.config.sanitize && (e = We(e, this.config.allowList, this.config.sanitizeFn)), t.innerHTML = e) : t.textContent = e) } getTitle() { let t = this._element.getAttribute("data-bs-original-title"); return t || (t = "function" == typeof this.config.title ? this.config.title.call(this._element) : this.config.title), t } updateAttachment(t) { return "right" === t ? "end" : "left" === t ? "start" : t } _initializeOnDelegatedTarget(t, e) { const i = this.constructor.DATA_KEY; return (e = e || v.get(t.delegateTarget, i)) || (e = new this.constructor(t.delegateTarget, this._getDelegateConfig()), v.set(t.delegateTarget, i, e)), e } _getOffset() { const { offset: t } = this.config; return "string" == typeof t ? t.split(",").map(t => Number.parseInt(t, 10)) : "function" == typeof t ? e => t(e, this._element) : t } _getPopperConfig(t) { const e = { placement: t, modifiers: [{ name: "flip", options: { fallbackPlacements: this.config.fallbackPlacements } }, { name: "offset", options: { offset: this._getOffset() } }, { name: "preventOverflow", options: { boundary: this.config.boundary } }, { name: "arrow", options: { element: `.${this.constructor.NAME}-arrow` } }, { name: "onChange", enabled: !0, phase: "afterWrite", fn: t => this._handlePopperPlacementChange(t) }], onFirstUpdate: t => { t.options.placement !== t.placement && this._handlePopperPlacementChange(t) } }; return { ...e, ..."function" == typeof this.config.popperConfig ? this.config.popperConfig(e) : this.config.popperConfig } } _addAttachmentClass(t) { this.getTipElement().classList.add("bs-tooltip-" + this.updateAttachment(t)) } _getContainer() { return !1 === this.config.container ? document.body : r(this.config.container) ? this.config.container : U.findOne(this.config.container) } _getAttachment(t) { return Fe[t.toUpperCase()] } _setListeners() { this.config.trigger.split(" ").forEach(t => { if ("click" === t) I.on(this._element, this.constructor.Event.CLICK, this.config.selector, t => this.toggle(t)); else if ("manual" !== t) { const e = "hover" === t ? this.constructor.Event.MOUSEENTER : this.constructor.Event.FOCUSIN, i = "hover" === t ? this.constructor.Event.MOUSELEAVE : this.constructor.Event.FOCUSOUT; I.on(this._element, e, this.config.selector, t => this._enter(t)), I.on(this._element, i, this.config.selector, t => this._leave(t)) } }), this._hideModalHandler = () => { this._element && this.hide() }, I.on(this._element.closest(".modal"), "hide.bs.modal", this._hideModalHandler), this.config.selector ? this.config = { ...this.config, trigger: "manual", selector: "" } : this._fixTitle() } _fixTitle() { const t = this._element.getAttribute("title"), e = typeof this._element.getAttribute("data-bs-original-title"); (t || "string" !== e) && (this._element.setAttribute("data-bs-original-title", t || ""), !t || this._element.getAttribute("aria-label") || this._element.textContent || this._element.setAttribute("aria-label", t), this._element.setAttribute("title", "")) } _enter(t, e) { e = this._initializeOnDelegatedTarget(t, e), t && (e._activeTrigger["focusin" === t.type ? "focus" : "hover"] = !0), e.getTipElement().classList.contains("show") || "show" === e._hoverState ? e._hoverState = "show" : (clearTimeout(e._timeout), e._hoverState = "show", e.config.delay && e.config.delay.show ? e._timeout = setTimeout(() => { "show" === e._hoverState && e.show() }, e.config.delay.show) : e.show()) } _leave(t, e) { e = this._initializeOnDelegatedTarget(t, e), t && (e._activeTrigger["focusout" === t.type ? "focus" : "hover"] = e._element.contains(t.relatedTarget)), e._isWithActiveTrigger() || (clearTimeout(e._timeout), e._hoverState = "out", e.config.delay && e.config.delay.hide ? e._timeout = setTimeout(() => { "out" === e._hoverState && e.hide() }, e.config.delay.hide) : e.hide()) } _isWithActiveTrigger() { for (const t in this._activeTrigger) if (this._activeTrigger[t]) return !0; return !1 } _getConfig(t) { const e = z.getDataAttributes(this._element); return Object.keys(e).forEach(t => { Ue.has(t) && delete e[t] }), t && "object" == typeof t.container && t.container.jquery && (t.container = t.container[0]), "number" == typeof (t = { ...this.constructor.Default, ...e, ..."object" == typeof t && t ? t : {} }).delay && (t.delay = { show: t.delay, hide: t.delay }), "number" == typeof t.title && (t.title = t.title.toString()), "number" == typeof t.content && (t.content = t.content.toString()), l("tooltip", t, this.constructor.DefaultType), t.sanitize && (t.template = We(t.template, t.allowList, t.sanitizeFn)), t } _getDelegateConfig() { const t = {}; if (this.config) for (const e in this.config) this.constructor.Default[e] !== this.config[e] && (t[e] = this.config[e]); return t } _cleanTipClass() { const t = this.getTipElement(), e = t.getAttribute("class").match(ze); null !== e && e.length > 0 && e.map(t => t.trim()).forEach(e => t.classList.remove(e)) } _handlePopperPlacementChange(t) { const { state: e } = t; e && (this.tip = e.elements.popper, this._cleanTipClass(), this._addAttachmentClass(this._getAttachment(e.placement))) } static jQueryInterface(t) { return this.each((function () { let e = v.get(this, "bs.tooltip"); const i = "object" == typeof t && t; if ((e || !/dispose|hide/.test(t)) && (e || (e = new qe(this, i)), "string" == typeof t)) { if (void 0 === e[t]) throw new TypeError(`No method named "${t}"`); e[t]() } })) } } m("tooltip", qe); const Ve = new RegExp("(^|\\s)bs-popover\\S+", "g"), Xe = { ...qe.Default, placement: "right", offset: [0, 8], trigger: "click", content: "", template: '<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>' }, Qe = { ...qe.DefaultType, content: "(string|element|function)" }, Ge = { HIDE: "hide.bs.popover", HIDDEN: "hidden.bs.popover", SHOW: "show.bs.popover", SHOWN: "shown.bs.popover", INSERTED: "inserted.bs.popover", CLICK: "click.bs.popover", FOCUSIN: "focusin.bs.popover", FOCUSOUT: "focusout.bs.popover", MOUSEENTER: "mouseenter.bs.popover", MOUSELEAVE: "mouseleave.bs.popover" }; class Ze extends qe { static get Default() { return Xe } static get NAME() { return "popover" } static get DATA_KEY() { return "bs.popover" } static get Event() { return Ge } static get EVENT_KEY() { return ".bs.popover" } static get DefaultType() { return Qe } isWithContent() { return this.getTitle() || this._getContent() } setContent() { const t = this.getTipElement(); this.setElementContent(U.findOne(".popover-header", t), this.getTitle()); let e = this._getContent(); "function" == typeof e && (e = e.call(this._element)), this.setElementContent(U.findOne(".popover-body", t), e), t.classList.remove("fade", "show") } _addAttachmentClass(t) { this.getTipElement().classList.add("bs-popover-" + this.updateAttachment(t)) } _getContent() { return this._element.getAttribute("data-bs-content") || this.config.content } _cleanTipClass() { const t = this.getTipElement(), e = t.getAttribute("class").match(Ve); null !== e && e.length > 0 && e.map(t => t.trim()).forEach(e => t.classList.remove(e)) } static jQueryInterface(t) { return this.each((function () { let e = v.get(this, "bs.popover"); const i = "object" == typeof t ? t : null; if ((e || !/dispose|hide/.test(t)) && (e || (e = new Ze(this, i), v.set(this, "bs.popover", e)), "string" == typeof t)) { if (void 0 === e[t]) throw new TypeError(`No method named "${t}"`); e[t]() } })) } } m("popover", Ze); const Je = { offset: 10, method: "auto", target: "" }, ti = { offset: "number", method: "string", target: "(string|element)" }; class ei extends M { constructor(t, e) { super(t), this._scrollElement = "BODY" === this._element.tagName ? window : this._element, this._config = this._getConfig(e), this._selector = `${this._config.target} .nav-link, ${this._config.target} .list-group-item, ${this._config.target} .dropdown-item`, this._offsets = [], this._targets = [], this._activeTarget = null, this._scrollHeight = 0, I.on(this._scrollElement, "scroll.bs.scrollspy", () => this._process()), this.refresh(), this._process() } static get Default() { return Je } static get DATA_KEY() { return "bs.scrollspy" } refresh() { const t = this._scrollElement === this._scrollElement.window ? "offset" : "position", e = "auto" === this._config.method ? t : this._config.method, n = "position" === e ? this._getScrollTop() : 0; this._offsets = [], this._targets = [], this._scrollHeight = this._getScrollHeight(), U.find(this._selector).map(t => { const s = i(t), o = s ? U.findOne(s) : null; if (o) { const t = o.getBoundingClientRect(); if (t.width || t.height) return [z[e](o).top + n, s] } return null }).filter(t => t).sort((t, e) => t[0] - e[0]).forEach(t => { this._offsets.push(t[0]), this._targets.push(t[1]) }) } dispose() { super.dispose(), I.off(this._scrollElement, ".bs.scrollspy"), this._scrollElement = null, this._config = null, this._selector = null, this._offsets = null, this._targets = null, this._activeTarget = null, this._scrollHeight = null } _getConfig(e) { if ("string" != typeof (e = { ...Je, ...z.getDataAttributes(this._element), ..."object" == typeof e && e ? e : {} }).target && r(e.target)) { let { id: i } = e.target; i || (i = t("scrollspy"), e.target.id = i), e.target = "#" + i } return l("scrollspy", e, ti), e } _getScrollTop() { return this._scrollElement === window ? this._scrollElement.pageYOffset : this._scrollElement.scrollTop } _getScrollHeight() { return this._scrollElement.scrollHeight || Math.max(document.body.scrollHeight, document.documentElement.scrollHeight) } _getOffsetHeight() { return this._scrollElement === window ? window.innerHeight : this._scrollElement.getBoundingClientRect().height } _process() { const t = this._getScrollTop() + this._config.offset, e = this._getScrollHeight(), i = this._config.offset + e - this._getOffsetHeight(); if (this._scrollHeight !== e && this.refresh(), t >= i) { const t = this._targets[this._targets.length - 1]; this._activeTarget !== t && this._activate(t) } else { if (this._activeTarget && t < this._offsets[0] && this._offsets[0] > 0) return this._activeTarget = null, void this._clear(); for (let e = this._offsets.length; e--;)this._activeTarget !== this._targets[e] && t >= this._offsets[e] && (void 0 === this._offsets[e + 1] || t < this._offsets[e + 1]) && this._activate(this._targets[e]) } } _activate(t) { this._activeTarget = t, this._clear(); const e = this._selector.split(",").map(e => `${e}[data-bs-target="${t}"],${e}[href="${t}"]`), i = U.findOne(e.join(",")); i.classList.contains("dropdown-item") ? (U.findOne(".dropdown-toggle", i.closest(".dropdown")).classList.add("active"), i.classList.add("active")) : (i.classList.add("active"), U.parents(i, ".nav, .list-group").forEach(t => { U.prev(t, ".nav-link, .list-group-item").forEach(t => t.classList.add("active")), U.prev(t, ".nav-item").forEach(t => { U.children(t, ".nav-link").forEach(t => t.classList.add("active")) }) })), I.trigger(this._scrollElement, "activate.bs.scrollspy", { relatedTarget: t }) } _clear() { U.find(this._selector).filter(t => t.classList.contains("active")).forEach(t => t.classList.remove("active")) } static jQueryInterface(t) { return this.each((function () { const e = ei.getInstance(this) || new ei(this, "object" == typeof t ? t : {}); if ("string" == typeof t) { if (void 0 === e[t]) throw new TypeError(`No method named "${t}"`); e[t]() } })) } } I.on(window, "load.bs.scrollspy.data-api", () => { U.find('[data-bs-spy="scroll"]').forEach(t => new ei(t)) }), m("scrollspy", ei); class ii extends M { static get DATA_KEY() { return "bs.tab" } show() { if (this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && this._element.classList.contains("active")) return; let t; const e = n(this._element), i = this._element.closest(".nav, .list-group"); if (i) { const e = "UL" === i.nodeName || "OL" === i.nodeName ? ":scope > li > .active" : ".active"; t = U.find(e, i), t = t[t.length - 1] } const s = t ? I.trigger(t, "hide.bs.tab", { relatedTarget: this._element }) : null; if (I.trigger(this._element, "show.bs.tab", { relatedTarget: t }).defaultPrevented || null !== s && s.defaultPrevented) return; this._activate(this._element, i); const o = () => { I.trigger(t, "hidden.bs.tab", { relatedTarget: this._element }), I.trigger(this._element, "shown.bs.tab", { relatedTarget: t }) }; e ? this._activate(e, e.parentNode, o) : o() } _activate(t, e, i) { const n = (!e || "UL" !== e.nodeName && "OL" !== e.nodeName ? U.children(e, ".active") : U.find(":scope > li > .active", e))[0], o = i && n && n.classList.contains("fade"), r = () => this._transitionComplete(t, n, i); if (n && o) { const t = s(n); n.classList.remove("show"), I.one(n, "transitionend", r), a(n, t) } else r() } _transitionComplete(t, e, i) { if (e) { e.classList.remove("active"); const t = U.findOne(":scope > .dropdown-menu .active", e.parentNode); t && t.classList.remove("active"), "tab" === e.getAttribute("role") && e.setAttribute("aria-selected", !1) } t.classList.add("active"), "tab" === t.getAttribute("role") && t.setAttribute("aria-selected", !0), f(t), t.classList.contains("fade") && t.classList.add("show"); let n = t.parentNode; if (n && "LI" === n.nodeName && (n = n.parentNode), n && n.classList.contains("dropdown-menu")) { const e = t.closest(".dropdown"); e && U.find(".dropdown-toggle", e).forEach(t => t.classList.add("active")), t.setAttribute("aria-expanded", !0) } i && i() } static jQueryInterface(t) { return this.each((function () { const e = v.get(this, "bs.tab") || new ii(this); if ("string" == typeof t) { if (void 0 === e[t]) throw new TypeError(`No method named "${t}"`); e[t]() } })) } } I.on(document, "click.bs.tab.data-api", '[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]', (function (t) { ["A", "AREA"].includes(this.tagName) && t.preventDefault(), d(this) || (v.get(this, "bs.tab") || new ii(this)).show() })), m("tab", ii); const ni = { animation: "boolean", autohide: "boolean", delay: "number" }, si = { animation: !0, autohide: !0, delay: 5e3 }; class oi extends M { constructor(t, e) { super(t), this._config = this._getConfig(e), this._timeout = null, this._setListeners() } static get DefaultType() { return ni } static get Default() { return si } static get DATA_KEY() { return "bs.toast" } show() { if (I.trigger(this._element, "show.bs.toast").defaultPrevented) return; this._clearTimeout(), this._config.animation && this._element.classList.add("fade"); const t = () => { this._element.classList.remove("showing"), this._element.classList.add("show"), I.trigger(this._element, "shown.bs.toast"), this._config.autohide && (this._timeout = setTimeout(() => { this.hide() }, this._config.delay)) }; if (this._element.classList.remove("hide"), f(this._element), this._element.classList.add("showing"), this._config.animation) { const e = s(this._element); I.one(this._element, "transitionend", t), a(this._element, e) } else t() } hide() { if (!this._element.classList.contains("show")) return; if (I.trigger(this._element, "hide.bs.toast").defaultPrevented) return; const t = () => { this._element.classList.add("hide"), I.trigger(this._element, "hidden.bs.toast") }; if (this._element.classList.remove("show"), this._config.animation) { const e = s(this._element); I.one(this._element, "transitionend", t), a(this._element, e) } else t() } dispose() { this._clearTimeout(), this._element.classList.contains("show") && this._element.classList.remove("show"), super.dispose(), this._config = null } _getConfig(t) { return t = { ...si, ...z.getDataAttributes(this._element), ..."object" == typeof t && t ? t : {} }, l("toast", t, this.constructor.DefaultType), t } _setListeners() { I.on(this._element, "click.dismiss.bs.toast", '[data-bs-dismiss="toast"]', () => this.hide()) } _clearTimeout() { clearTimeout(this._timeout), this._timeout = null } static jQueryInterface(t) { return this.each((function () { let e = v.get(this, "bs.toast"); if (e || (e = new oi(this, "object" == typeof t && t)), "string" == typeof t) { if (void 0 === e[t]) throw new TypeError(`No method named "${t}"`); e[t](this) } })) } } return m("toast", oi), { Alert: H, Button: R, Carousel: X, Collapse: Z, Dropdown: ye, Modal: Ne, Offcanvas: Ie, Popover: Ze, ScrollSpy: ei, Tab: ii, Toast: oi, Tooltip: qe } }));
//# sourceMappingURL=/Assets/libs/bootstrap/5.0.0/js/bootstrap.bundle.min.js.map;;
(function(n,t){typeof exports=="object"&&typeof module!="undefined"?module.exports=t():typeof define=="function"&&define.amd?define(t):(n=typeof globalThis!="undefined"?globalThis:n||self,n.Swiper=t())})(this,function(){"use strict";function ht(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function fi(n,t,i){return t&&ht(n.prototype,t),i&&ht(n,i),n}function u(){return u=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n},u.apply(this,arguments)}function ct(n){return n!==null&&typeof n=="object"&&"constructor"in n&&n.constructor===Object}function w(n,t){n===void 0&&(n={});t===void 0&&(t={});Object.keys(t).forEach(function(i){typeof n[i]=="undefined"?n[i]=t[i]:ct(t[i])&&ct(n[i])&&Object.keys(t[i]).length>0&&w(n[i],t[i])})}function r(){var n=typeof document!="undefined"?document:{};return w(n,lt),n}function i(){var n=typeof window!="undefined"?window:{};return w(n,ei),n}function oi(n,t){n.prototype=Object.create(t.prototype);n.prototype.constructor=n;n.__proto__=t}function b(n){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},b(n)}function v(n,t){return v=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n},v(n,t)}function si(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}function y(){return y=si()?Reflect.construct:function(n,t,i){var r=[null],f,u;return r.push.apply(r,t),f=Function.bind.apply(n,r),u=new f,i&&v(u,i.prototype),u},y.apply(null,arguments)}function hi(n){return Function.toString.call(n).indexOf("[native code]")!==-1}function k(n){var t=typeof Map=="function"?new Map:undefined;return k=function(n){function i(){return y(n,arguments,b(this).constructor)}if(n===null||!hi(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,i)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),v(i,n)},k(n)}function ci(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function li(n){var t=n.__proto__;Object.defineProperty(n,"__proto__",{get:function(){return t},set:function(n){t.__proto__=n}})}function l(n){n===void 0&&(n=[]);var t=[];return n.forEach(function(n){Array.isArray(n)?t.push.apply(t,l(n)):t.push(n)}),t}function at(n,t){return Array.prototype.filter.call(n,t)}function ai(n){for(var i=[],t=0;t<n.length;t+=1)i.indexOf(n[t])===-1&&i.push(n[t]);return i}function vi(n,t){var r,u,i;if(typeof n!="string")return[n];for(r=[],u=t.querySelectorAll(n),i=0;i<u.length;i+=1)r.push(u[i]);return r}function n(n,t){var l=i(),c=r(),e=[],u,f,o,h;if(!t&&n instanceof s)return n;if(!n)return new s(e);if(typeof n=="string")if(u=n.trim(),u.indexOf("<")>=0&&u.indexOf(">")>=0)for(f="div",u.indexOf("<li")===0&&(f="ul"),u.indexOf("<tr")===0&&(f="tbody"),(u.indexOf("<td")===0||u.indexOf("<th")===0)&&(f="tr"),u.indexOf("<tbody")===0&&(f="table"),u.indexOf("<option")===0&&(f="select"),o=c.createElement(f),o.innerHTML=u,h=0;h<o.childNodes.length;h+=1)e.push(o.childNodes[h]);else e=vi(n.trim(),t||c);else if(n.nodeType||n===l||n===c)e.push(n);else if(Array.isArray(n)){if(n instanceof s)return n;e=n}return new s(ai(e))}function yi(){for(var r,t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];return r=l(i.map(function(n){return n.split(" ")})),this.forEach(function(n){var t;(t=n.classList).add.apply(t,r)}),this}function pi(){for(var r,t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];return r=l(i.map(function(n){return n.split(" ")})),this.forEach(function(n){var t;(t=n.classList).remove.apply(t,r)}),this}function wi(){for(var r,t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];r=l(i.map(function(n){return n.split(" ")}));this.forEach(function(n){r.forEach(function(t){n.classList.toggle(t)})})}function bi(){for(var r,t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];return r=l(i.map(function(n){return n.split(" ")})),at(this,function(n){return r.filter(function(t){return n.classList.contains(t)}).length>0}).length>0}function ki(n,t){var i,r;if(arguments.length===1&&typeof n=="string")return this[0]?this[0].getAttribute(n):undefined;for(i=0;i<this.length;i+=1)if(arguments.length===2)this[i].setAttribute(n,t);else for(r in n)this[i][r]=n[r],this[i].setAttribute(r,n[r]);return this}function di(n){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(n);return this}function gi(n){for(var t=0;t<this.length;t+=1)this[t].style.transform=n;return this}function nr(n){for(var t=0;t<this.length;t+=1)this[t].style.transitionDuration=typeof n!="string"?n+"ms":n;return this}function tr(){function y(t){var f=t.target,i,e,r;if(f)if(i=t.target.dom7EventData||[],i.indexOf(t)<0&&i.unshift(t),n(f).is(c))u.apply(f,i);else for(e=n(f).parents(),r=0;r<e.length;r+=1)n(e[r]).is(c)&&u.apply(e[r],i)}function p(n){var t=n&&n.target?n.target.dom7EventData||[]:[];t.indexOf(n)<0&&t.unshift(n);u.apply(this,t)}for(var e,r,l,t,o,s,a=arguments.length,i=new Array(a),h=0;h<a;h++)i[h]=arguments[h];var v=i[0],c=i[1],u=i[2],f=i[3];for(typeof i[1]=="function"&&(v=i[0],u=i[1],f=i[2],c=undefined),f||(f=!1),e=v.split(" "),l=0;l<this.length;l+=1)if(t=this[l],c)for(r=0;r<e.length;r+=1)s=e[r],t.dom7LiveListeners||(t.dom7LiveListeners={}),t.dom7LiveListeners[s]||(t.dom7LiveListeners[s]=[]),t.dom7LiveListeners[s].push({listener:u,proxyListener:y}),t.addEventListener(s,y,f);else for(r=0;r<e.length;r+=1)o=e[r],t.dom7Listeners||(t.dom7Listeners={}),t.dom7Listeners[o]||(t.dom7Listeners[o]=[]),t.dom7Listeners[o].push({listener:u,proxyListener:p}),t.addEventListener(o,p,f);return this}function ir(){for(var a,h,o,c,i,n,u,r,v=arguments.length,t=new Array(v),s=0;s<v;s++)t[s]=arguments[s];var y=t[0],l=t[1],f=t[2],e=t[3];for(typeof t[1]=="function"&&(y=t[0],f=t[1],e=t[2],l=undefined),e||(e=!1),a=y.split(" "),h=0;h<a.length;h+=1)for(o=a[h],c=0;c<this.length;c+=1)if(i=this[c],n=void 0,!l&&i.dom7Listeners?n=i.dom7Listeners[o]:l&&i.dom7LiveListeners&&(n=i.dom7LiveListeners[o]),n&&n.length)for(u=n.length-1;u>=0;u-=1)r=n[u],f&&r.listener===f?(i.removeEventListener(o,r.proxyListener,e),n.splice(u,1)):f&&r.listener&&r.listener.dom7proxy&&r.listener.dom7proxy===f?(i.removeEventListener(o,r.proxyListener,e),n.splice(u,1)):f||(i.removeEventListener(o,r.proxyListener,e),n.splice(u,1));return this}function rr(){for(var e,h,u,c,f,n,l,o=i(),s=arguments.length,t=new Array(s),r=0;r<s;r++)t[r]=arguments[r];for(e=t[0].split(" "),h=t[1],u=0;u<e.length;u+=1)for(c=e[u],f=0;f<this.length;f+=1)n=this[f],o.CustomEvent&&(l=new o.CustomEvent(c,{detail:h,bubbles:!0,cancelable:!0}),n.dom7EventData=t.filter(function(n,t){return t>0}),n.dispatchEvent(l),n.dom7EventData=[],delete n.dom7EventData);return this}function ur(n){function i(r){r.target===this&&(n.call(this,r),t.off("transitionend",i))}var t=this;if(n)t.on("transitionend",i);return this}function fr(n){if(this.length>0){if(n){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function er(n){if(this.length>0){if(n){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function or(){if(this.length>0){var t=i(),e=r(),n=this[0],u=n.getBoundingClientRect(),f=e.body,o=n.clientTop||f.clientTop||0,s=n.clientLeft||f.clientLeft||0,h=n===t?t.scrollY:n.scrollTop,c=n===t?t.scrollX:n.scrollLeft;return{top:u.top+h-o,left:u.left+c-s}}return null}function sr(){var n=i();return this[0]?n.getComputedStyle(this[0],null):{}}function hr(n,t){var f=i(),r,u;if(arguments.length===1)if(typeof n=="string"){if(this[0])return f.getComputedStyle(this[0],null).getPropertyValue(n)}else{for(r=0;r<this.length;r+=1)for(u in n)this[r].style[u]=n[u];return this}if(arguments.length===2&&typeof n=="string"){for(r=0;r<this.length;r+=1)this[r].style[n]=t;return this}return this}function cr(n){return n?(this.forEach(function(t,i){n.apply(t,[t,i])}),this):this}function lr(t){var i=at(this,t);return n(i)}function ar(n){if(typeof n=="undefined")return this[0]?this[0].innerHTML:null;for(var t=0;t<this.length;t+=1)this[t].innerHTML=n;return this}function vr(n){if(typeof n=="undefined")return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=n;return this}function yr(t){var o=i(),h=r(),u=this[0],e,f;if(!u||typeof t=="undefined")return!1;if(typeof t=="string"){if(u.matches)return u.matches(t);if(u.webkitMatchesSelector)return u.webkitMatchesSelector(t);if(u.msMatchesSelector)return u.msMatchesSelector(t);for(e=n(t),f=0;f<e.length;f+=1)if(e[f]===u)return!0;return!1}if(t===h)return u===h;if(t===o)return u===o;if(t.nodeType||t instanceof s){for(e=t.nodeType?[t]:t,f=0;f<e.length;f+=1)if(e[f]===u)return!0;return!1}return!1}function pr(){var n=this[0],t;if(n){for(t=0;(n=n.previousSibling)!==null;)n.nodeType===1&&(t+=1);return t}return undefined}function wr(t){var i,r;return typeof t=="undefined"?this:(i=this.length,t>i-1)?n([]):t<0?(r=i+t,r<0)?n([]):n([this[r]]):n([this[t]])}function br(){for(var t,u,f,n,e=r(),i=0;i<arguments.length;i+=1)for(n=i<0||arguments.length<=i?undefined:arguments[i],t=0;t<this.length;t+=1)if(typeof n=="string")for(u=e.createElement("div"),u.innerHTML=n;u.firstChild;)this[t].appendChild(u.firstChild);else if(n instanceof s)for(f=0;f<n.length;f+=1)this[t].appendChild(n[f]);else this[t].appendChild(n);return this}function kr(n){for(var f=r(),i,u,t=0;t<this.length;t+=1)if(typeof n=="string")for(u=f.createElement("div"),u.innerHTML=n,i=u.childNodes.length-1;i>=0;i-=1)this[t].insertBefore(u.childNodes[i],this[t].childNodes[0]);else if(n instanceof s)for(i=0;i<n.length;i+=1)this[t].insertBefore(n[i],this[t].childNodes[0]);else this[t].insertBefore(n,this[t].childNodes[0]);return this}function dr(t){return this.length>0?t?this[0].nextElementSibling&&n(this[0].nextElementSibling).is(t)?n([this[0].nextElementSibling]):n([]):this[0].nextElementSibling?n([this[0].nextElementSibling]):n([]):n([])}function gr(t){var u=[],r=this[0],i;if(!r)return n([]);while(r.nextElementSibling)i=r.nextElementSibling,t?n(i).is(t)&&u.push(i):u.push(i),r=i;return n(u)}function nu(t){if(this.length>0){var i=this[0];return t?i.previousElementSibling&&n(i.previousElementSibling).is(t)?n([i.previousElementSibling]):n([]):i.previousElementSibling?n([i.previousElementSibling]):n([])}return n([])}function tu(t){var u=[],r=this[0],i;if(!r)return n([]);while(r.previousElementSibling)i=r.previousElementSibling,t?n(i).is(t)&&u.push(i):u.push(i),r=i;return n(u)}function iu(t){for(var r=[],i=0;i<this.length;i+=1)this[i].parentNode!==null&&(t?n(this[i].parentNode).is(t)&&r.push(this[i].parentNode):r.push(this[i].parentNode));return n(r)}function ru(t){for(var i,r=[],u=0;u<this.length;u+=1)for(i=this[u].parentNode;i;)t?n(i).is(t)&&r.push(i):r.push(i),i=i.parentNode;return n(r)}function uu(t){var i=this;return typeof t=="undefined"?n([]):(i.is(t)||(i=i.parents(t).eq(0)),i)}function fu(t){for(var u,i,f=[],r=0;r<this.length;r+=1)for(u=this[r].querySelectorAll(t),i=0;i<u.length;i+=1)f.push(u[i]);return n(f)}function eu(t){for(var r,i,f=[],u=0;u<this.length;u+=1)for(r=this[u].children,i=0;i<r.length;i+=1)(!t||n(r[i]).is(t))&&f.push(r[i]);return n(f)}function ou(){for(var n=0;n<this.length;n+=1)this[n].parentNode&&this[n].parentNode.removeChild(this[n]);return this}function su(n){var t=n;Object.keys(t).forEach(function(n){try{t[n]=null}catch(i){}try{delete t[n]}catch(i){}})}function h(n,t){return t===void 0&&(t=0),setTimeout(n,t)}function e(){return Date.now()}function g(n,t){t===void 0&&(t="x");var e=i(),f,r,o,u=e.getComputedStyle(n,null);return e.WebKitCSSMatrix?(r=u.transform||u.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map(function(n){return n.replace(",",".")}).join(", ")),o=new e.WebKitCSSMatrix(r==="none"?"":r)):(o=u.MozTransform||u.OTransform||u.MsTransform||u.msTransform||u.transform||u.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),f=o.toString().split(",")),t==="x"&&(r=e.WebKitCSSMatrix?o.m41:f.length===16?parseFloat(f[12]):parseFloat(f[4])),t==="y"&&(r=e.WebKitCSSMatrix?o.m42:f.length===16?parseFloat(f[13]):parseFloat(f[5])),r||0}function c(n){return typeof n=="object"&&n!==null&&n.constructor&&n.constructor===Object}function t(){for(var i,e,f,s,n,o,r=Object(arguments.length<=0?undefined:arguments[0]),u=1;u<arguments.length;u+=1)if(i=u<0||arguments.length<=u?undefined:arguments[u],i!==undefined&&i!==null)for(e=Object.keys(Object(i)),f=0,s=e.length;f<s;f+=1)n=e[f],o=Object.getOwnPropertyDescriptor(i,n),o!==undefined&&o.enumerable&&(c(r[n])&&c(i[n])?t(r[n],i[n]):!c(r[n])&&c(i[n])?(r[n]={},t(r[n],i[n])):r[n]=i[n]);return r}function f(n,t){Object.keys(t).forEach(function(i){c(t[i])&&Object.keys(t[i]).forEach(function(r){typeof t[i][r]=="function"&&(t[i][r]=t[i][r].bind(n))});n[i]=t[i]})}function hu(){var n=i(),t=r();return{touch:!!("ontouchstart"in n||n.DocumentTouch&&t instanceof n.DocumentTouch),pointerEvents:!!n.PointerEvent&&"maxTouchPoints"in n.navigator&&n.navigator.maxTouchPoints>=0,observer:function(){return"MutationObserver"in n||"WebkitMutationObserver"in n}(),passiveListener:function(){var t=!1,i;try{i=Object.defineProperty({},"passive",{get:function(){t=!0}});n.addEventListener("testPassiveListener",null,i)}catch(u){}return t}(),gestures:function(){return"ongesturestart"in n}()}}function vt(){return nt||(nt=hu()),nt}function cu(n){var s=n===void 0?{}:n,h=s.userAgent,c=vt(),f=i(),e=f.navigator.platform,r=h||f.navigator.userAgent,u={ios:!1,android:!1},l=f.screen.width,a=f.screen.height,v=r.match(/(Android);?[\s\/]+([\d.]+)?/),t=r.match(/(iPad).*OS\s([\d_]+)/),y=r.match(/(iPod)(.*OS\s([\d_]+))?/),p=!t&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),w=e==="Win32",o=e==="MacIntel";return!t&&o&&c.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(l+"x"+a)>=0&&(t=r.match(/(Version)\/([\d.]+)/),t||(t=[0,1,"13_0_0"]),o=!1),v&&!w&&(u.os="android",u.android=!0),(t||p||y)&&(u.os="ios",u.ios=!0),u}function lu(n){return n===void 0&&(n={}),tt||(tt=cu(n)),tt}function au(){function t(){var t=n.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}var n=i();return{isEdge:!!n.navigator.userAgent.match(/Edge/g),isSafari:t(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(n.navigator.userAgent)}}function vu(){return it||(it=au()),it}function du(){var n=this,i,r,u=n.$el;(i=typeof n.params.width!="undefined"&&n.params.width!==null?n.params.width:u[0].clientWidth,r=typeof n.params.height!="undefined"&&n.params.height!==null?n.params.height:u[0].clientHeight,i===0&&n.isHorizontal()||r===0&&n.isVertical())||(i=i-parseInt(u.css("padding-left")||0,10)-parseInt(u.css("padding-right")||0,10),r=r-parseInt(u.css("padding-top")||0,10)-parseInt(u.css("padding-bottom")||0,10),Number.isNaN(i)&&(i=0),Number.isNaN(r)&&(r=0),t(n,{width:i,height:r,size:n.isHorizontal()?i:r}))}function gu(){function vt(t,i){return n.cssMode?i===h.length-1?!1:!0:!0}var r=this,vi=i(),n=r.params,b=r.$wrapperEl,l=r.size,at=r.rtlTranslate,yi=r.wrongRTL,dt=r.virtual&&n.virtual.enabled,pi=dt?r.virtual.slides.length:r.slides.length,h=b.children("."+r.params.slideClass),y=dt?r.virtual.slides.length:h.length,u=[],k=[],ft=[],et=n.slidesOffsetBefore,tt,d,o,s,nt,it,ht,rt,ct,lt,bt,ut,kt;typeof et=="function"&&(et=n.slidesOffsetBefore.call(r));tt=n.slidesOffsetAfter;typeof tt=="function"&&(tt=n.slidesOffsetAfter.call(r));var wi=r.snapGrid.length,bi=r.slidesGrid.length,c=n.spaceBetween,e=-et,yt=0,ot=0;if(typeof l!="undefined"){typeof c=="string"&&c.indexOf("%")>=0&&(c=parseFloat(c.replace("%",""))/100*l);r.virtualSize=-c;at?h.css({marginLeft:"",marginTop:""}):h.css({marginRight:"",marginBottom:""});n.slidesPerColumn>1&&(d=Math.floor(y/n.slidesPerColumn)===y/r.params.slidesPerColumn?y:Math.ceil(y/n.slidesPerColumn)*n.slidesPerColumn,n.slidesPerView!=="auto"&&n.slidesPerColumnFill==="row"&&(d=Math.max(d,n.slidesPerView*n.slidesPerColumn)));var f,p=n.slidesPerColumn,gt=d/p,ni=Math.floor(y/n.slidesPerColumn);for(o=0;o<y;o+=1){if(f=0,s=h.eq(o),n.slidesPerColumn>1){var g=void 0,w=void 0,v=void 0;if(n.slidesPerColumnFill==="row"&&n.slidesPerGroup>1){var st=Math.floor(o/(n.slidesPerGroup*n.slidesPerColumn)),ti=o-n.slidesPerColumn*n.slidesPerGroup*st,ii=st===0?n.slidesPerGroup:Math.min(Math.ceil((y-st*p*n.slidesPerGroup)/p),n.slidesPerGroup);v=Math.floor(ti/ii);w=ti-v*ii+st*n.slidesPerGroup;g=w+v*d/p;s.css({"-webkit-box-ordinal-group":g,"-moz-box-ordinal-group":g,"-ms-flex-order":g,"-webkit-order":g,order:g})}else n.slidesPerColumnFill==="column"?(w=Math.floor(o/p),v=o-w*p,(w>ni||w===ni&&v===p-1)&&(v+=1,v>=p&&(v=0,w+=1))):(v=Math.floor(o/gt),w=o-v*gt);s.css("margin-"+(r.isHorizontal()?"top":"left"),v!==0&&n.spaceBetween&&n.spaceBetween+"px")}if(s.css("display")!=="none"){if(n.slidesPerView==="auto"){var a=vi.getComputedStyle(s[0],null),pt=s[0].style.transform,wt=s[0].style.webkitTransform;if(pt&&(s[0].style.transform="none"),wt&&(s[0].style.webkitTransform="none"),n.roundLengths)f=r.isHorizontal()?s.outerWidth(!0):s.outerHeight(!0);else if(r.isHorizontal()){var ri=parseFloat(a.getPropertyValue("width")||0),ki=parseFloat(a.getPropertyValue("padding-left")||0),di=parseFloat(a.getPropertyValue("padding-right")||0),ui=parseFloat(a.getPropertyValue("margin-left")||0),fi=parseFloat(a.getPropertyValue("margin-right")||0),ei=a.getPropertyValue("box-sizing");if(ei&&ei==="border-box")f=ri+ui+fi;else{var oi=s[0],gi=oi.clientWidth,nr=oi.offsetWidth;f=ri+ki+di+ui+fi+(nr-gi)}}else{var si=parseFloat(a.getPropertyValue("height")||0),tr=parseFloat(a.getPropertyValue("padding-top")||0),ir=parseFloat(a.getPropertyValue("padding-bottom")||0),hi=parseFloat(a.getPropertyValue("margin-top")||0),ci=parseFloat(a.getPropertyValue("margin-bottom")||0),li=a.getPropertyValue("box-sizing");if(li&&li==="border-box")f=si+hi+ci;else{var ai=s[0],rr=ai.clientHeight,ur=ai.offsetHeight;f=si+tr+ir+hi+ci+(ur-rr)}}pt&&(s[0].style.transform=pt);wt&&(s[0].style.webkitTransform=wt);n.roundLengths&&(f=Math.floor(f))}else f=(l-(n.slidesPerView-1)*c)/n.slidesPerView,n.roundLengths&&(f=Math.floor(f)),h[o]&&(r.isHorizontal()?h[o].style.width=f+"px":h[o].style.height=f+"px");h[o]&&(h[o].swiperSlideSize=f);ft.push(f);n.centeredSlides?(e=e+f/2+yt/2+c,yt===0&&o!==0&&(e=e-l/2-c),o===0&&(e=e-l/2-c),Math.abs(e)<1/1e3&&(e=0),n.roundLengths&&(e=Math.floor(e)),ot%n.slidesPerGroup==0&&u.push(e),k.push(e)):(n.roundLengths&&(e=Math.floor(e)),(ot-Math.min(r.params.slidesPerGroupSkip,ot))%r.params.slidesPerGroup==0&&u.push(e),k.push(e),e=e+f+c);r.virtualSize+=f+c;yt=f;ot+=1}}if(r.virtualSize=Math.max(r.virtualSize,l)+tt,at&&yi&&(n.effect==="slide"||n.effect==="coverflow")&&b.css({width:r.virtualSize+n.spaceBetween+"px"}),n.setWrapperSize&&(r.isHorizontal()?b.css({width:r.virtualSize+n.spaceBetween+"px"}):b.css({height:r.virtualSize+n.spaceBetween+"px"})),n.slidesPerColumn>1&&(r.virtualSize=(f+n.spaceBetween)*d,r.virtualSize=Math.ceil(r.virtualSize/n.slidesPerColumn)-n.spaceBetween,r.isHorizontal()?b.css({width:r.virtualSize+n.spaceBetween+"px"}):b.css({height:r.virtualSize+n.spaceBetween+"px"}),n.centeredSlides)){for(nt=[],it=0;it<u.length;it+=1)ht=u[it],n.roundLengths&&(ht=Math.floor(ht)),u[it]<r.virtualSize+u[0]&&nt.push(ht);u=nt}if(!n.centeredSlides){for(nt=[],rt=0;rt<u.length;rt+=1)ct=u[rt],n.roundLengths&&(ct=Math.floor(ct)),u[rt]<=r.virtualSize-l&&nt.push(ct);u=nt;Math.floor(r.virtualSize-l)-Math.floor(u[u.length-1])>1&&u.push(r.virtualSize-l)}u.length===0&&(u=[0]);n.spaceBetween!==0&&(r.isHorizontal()?at?h.filter(vt).css({marginLeft:c+"px"}):h.filter(vt).css({marginRight:c+"px"}):h.filter(vt).css({marginBottom:c+"px"}));n.centeredSlides&&n.centeredSlidesBounds&&(lt=0,ft.forEach(function(t){lt+=t+(n.spaceBetween?n.spaceBetween:0)}),lt-=n.spaceBetween,bt=lt-l,u=u.map(function(n){return n<0?-et:n>bt?bt+tt:n}));n.centerInsufficientSlides&&(ut=0,ft.forEach(function(t){ut+=t+(n.spaceBetween?n.spaceBetween:0)}),ut-=n.spaceBetween,ut<l&&(kt=(l-ut)/2,u.forEach(function(n,t){u[t]=n-kt}),k.forEach(function(n,t){k[t]=n+kt})));t(r,{slides:h,snapGrid:u,slidesGrid:k,slidesSizesGrid:ft});y!==pi&&r.emit("slidesLengthChange");u.length!==wi&&(r.params.watchOverflow&&r.checkOverflow(),r.emit("snapGridLengthChange"));k.length!==bi&&r.emit("slidesGridLengthChange");(n.watchSlidesProgress||n.watchSlidesVisibility)&&r.updateSlidesOffset()}}function nf(n){var t=this,r=[],u=0,i,f,e;if(typeof n=="number"?t.setTransition(n):n===!0&&t.setTransition(t.params.speed),t.params.slidesPerView!=="auto"&&t.params.slidesPerView>1)if(t.params.centeredSlides)t.visibleSlides.each(function(n){r.push(n)});else for(i=0;i<Math.ceil(t.params.slidesPerView);i+=1){if(f=t.activeIndex+i,f>t.slides.length)break;r.push(t.slides.eq(f)[0])}else r.push(t.slides.eq(t.activeIndex)[0]);for(i=0;i<r.length;i+=1)typeof r[i]!="undefined"&&(e=r[i].offsetHeight,u=e>u?e:u);u&&t.$wrapperEl.css("height",u+"px")}function tf(){for(var i=this,t=i.slides,n=0;n<t.length;n+=1)t[n].swiperSlideOffset=i.isHorizontal()?t[n].offsetLeft:t[n].offsetTop}function rf(t){var o,u,e,h;t===void 0&&(t=this&&this.translate||0);var i=this,r=i.params,f=i.slides,l=i.rtlTranslate;if(f.length!==0){for(typeof f[0].swiperSlideOffset=="undefined"&&i.updateSlidesOffset(),o=-t,l&&(o=t),f.removeClass(r.slideVisibleClass),i.visibleSlidesIndexes=[],i.visibleSlides=[],u=0;u<f.length;u+=1){if(e=f[u],h=(o+(r.centeredSlides?i.minTranslate():0)-e.swiperSlideOffset)/(e.swiperSlideSize+r.spaceBetween),r.watchSlidesVisibility||r.centeredSlides&&r.autoHeight){var s=-(o-e.swiperSlideOffset),c=s+i.slidesSizesGrid[u],a=s>=0&&s<i.size-1||c>1&&c<=i.size||s<=0&&c>=i.size;a&&(i.visibleSlides.push(e),i.visibleSlidesIndexes.push(u),f.eq(u).addClass(r.slideVisibleClass))}e.progress=l?-h:h}i.visibleSlides=n(i.visibleSlides)}}function uf(n){var i=this,o;typeof n=="undefined"&&(o=i.rtlTranslate?-1:1,n=i&&i.translate&&i.translate*o||0);var e=i.params,s=i.maxTranslate()-i.minTranslate(),r=i.progress,u=i.isBeginning,f=i.isEnd,h=u,c=f;s===0?(r=0,u=!0,f=!0):(r=(n-i.minTranslate())/s,u=r<=0,f=r>=1);t(i,{progress:r,isBeginning:u,isEnd:f});(e.watchSlidesProgress||e.watchSlidesVisibility||e.centeredSlides&&e.autoHeight)&&i.updateSlidesProgress(n);u&&!h&&i.emit("reachBeginning toEdge");f&&!c&&i.emit("reachEnd toEdge");(h&&!u||c&&!f)&&i.emit("fromEdge");i.emit("progress",r)}function ff(){var t=this,e=t.slides,n=t.params,u=t.$wrapperEl,o=t.activeIndex,s=t.realIndex,h=t.virtual&&n.virtual.enabled,f,i,r;e.removeClass(n.slideActiveClass+" "+n.slideNextClass+" "+n.slidePrevClass+" "+n.slideDuplicateActiveClass+" "+n.slideDuplicateNextClass+" "+n.slideDuplicatePrevClass);f=h?t.$wrapperEl.find("."+n.slideClass+'[data-swiper-slide-index="'+o+'"]'):e.eq(o);f.addClass(n.slideActiveClass);n.loop&&(f.hasClass(n.slideDuplicateClass)?u.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+s+'"]').addClass(n.slideDuplicateActiveClass):u.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+s+'"]').addClass(n.slideDuplicateActiveClass));i=f.nextAll("."+n.slideClass).eq(0).addClass(n.slideNextClass);n.loop&&i.length===0&&(i=e.eq(0),i.addClass(n.slideNextClass));r=f.prevAll("."+n.slideClass).eq(0).addClass(n.slidePrevClass);n.loop&&r.length===0&&(r=e.eq(-1),r.addClass(n.slidePrevClass));n.loop&&(i.hasClass(n.slideDuplicateClass)?u.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+i.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicateNextClass):u.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+i.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicateNextClass),r.hasClass(n.slideDuplicateClass)?u.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+r.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicatePrevClass):u.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+r.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicatePrevClass));t.emitSlidesClasses()}function ef(n){var i=this,e=i.rtlTranslate?i.translate:-i.translate,f=i.slidesGrid,s=i.snapGrid,h=i.params,a=i.activeIndex,v=i.realIndex,y=i.snapIndex,u=n,o,r,c,l;if(typeof u=="undefined"){for(r=0;r<f.length;r+=1)typeof f[r+1]!="undefined"?e>=f[r]&&e<f[r+1]-(f[r+1]-f[r])/2?u=r:e>=f[r]&&e<f[r+1]&&(u=r+1):e>=f[r]&&(u=r);h.normalizeSlideIndex&&(u<0||typeof u=="undefined")&&(u=0)}if(s.indexOf(e)>=0?o=s.indexOf(e):(c=Math.min(h.slidesPerGroupSkip,u),o=c+Math.floor((u-c)/h.slidesPerGroup)),o>=s.length&&(o=s.length-1),u===a){o!==y&&(i.snapIndex=o,i.emit("snapIndexChange"));return}l=parseInt(i.slides.eq(u).attr("data-swiper-slide-index")||u,10);t(i,{snapIndex:o,realIndex:l,previousIndex:a,activeIndex:u});i.emit("activeIndexChange");i.emit("snapIndexChange");v!==l&&i.emit("realIndexChange");(i.initialized||i.params.runCallbacksOnInit)&&i.emit("slideChange")}function of(t){var i=this,f=i.params,r=n(t.target).closest("."+f.slideClass)[0],e=!1,u;if(r)for(u=0;u<i.slides.length;u+=1)i.slides[u]===r&&(e=!0);if(r&&e)i.clickedSlide=r,i.clickedIndex=i.virtual&&i.params.virtual.enabled?parseInt(n(r).attr("data-swiper-slide-index"),10):n(r).index();else{i.clickedSlide=undefined;i.clickedIndex=undefined;return}f.slideToClickedSlide&&i.clickedIndex!==undefined&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}function sf(n){var i;n===void 0&&(n=this.isHorizontal()?"x":"y");var t=this,u=t.params,f=t.rtlTranslate,r=t.translate,e=t.$wrapperEl;return u.virtualTranslate?f?-r:r:u.cssMode?r:(i=g(e[0],n),f&&(i=-i),i||0)}function hf(n,t){var i=this,s=i.rtlTranslate,f=i.params,h=i.$wrapperEl,c=i.wrapperEl,l=i.progress,r=0,u=0,o,e;i.isHorizontal()?r=s?-n:n:u=n;f.roundLengths&&(r=Math.floor(r),u=Math.floor(u));f.cssMode?c[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-r:-u:f.virtualTranslate||h.transform("translate3d("+r+"px, "+u+"px, 0px)");i.previousTranslate=i.translate;i.translate=i.isHorizontal()?r:u;e=i.maxTranslate()-i.minTranslate();o=e===0?0:(n-i.minTranslate())/e;o!==l&&i.updateProgress(n);i.emit("setTranslate",i.translate,t)}function cf(){return-this.snapGrid[0]}function lf(){return-this.snapGrid[this.snapGrid.length-1]}function af(n,t,i,r,u){var c,l,e,s,h;n===void 0&&(n=0);t===void 0&&(t=this.params.speed);i===void 0&&(i=!0);r===void 0&&(r=!0);var f=this,a=f.params,o=f.wrapperEl;return f.animating&&a.preventInteractionOnTransition?!1:(c=f.minTranslate(),l=f.maxTranslate(),e=r&&n>c?c:r&&n<l?l:n,f.updateProgress(e),a.cssMode)?(s=f.isHorizontal(),t===0?o[s?"scrollLeft":"scrollTop"]=-e:o.scrollTo?o.scrollTo((h={},h[s?"left":"top"]=-e,h.behavior="smooth",h)):o[s?"scrollLeft":"scrollTop"]=-e,!0):(t===0?(f.setTransition(0),f.setTranslate(e),i&&(f.emit("beforeTransitionStart",t,u),f.emit("transitionEnd"))):(f.setTransition(t),f.setTranslate(e),i&&(f.emit("beforeTransitionStart",t,u),f.emit("transitionStart")),f.animating||(f.animating=!0,f.onTranslateToWrapperTransitionEnd||(f.onTranslateToWrapperTransitionEnd=function(n){f&&!f.destroyed&&n.target===this&&(f.$wrapperEl[0].removeEventListener("transitionend",f.onTranslateToWrapperTransitionEnd),f.$wrapperEl[0].removeEventListener("webkitTransitionEnd",f.onTranslateToWrapperTransitionEnd),f.onTranslateToWrapperTransitionEnd=null,delete f.onTranslateToWrapperTransitionEnd,i&&f.emit("transitionEnd"))}),f.$wrapperEl[0].addEventListener("transitionend",f.onTranslateToWrapperTransitionEnd),f.$wrapperEl[0].addEventListener("webkitTransitionEnd",f.onTranslateToWrapperTransitionEnd))),!0)}function vf(n,t){var i=this;i.params.cssMode||i.$wrapperEl.transition(n);i.emit("setTransition",n,t)}function yf(n,t){var r;n===void 0&&(n=!0);var i=this,u=i.activeIndex,e=i.params,f=i.previousIndex;if(!e.cssMode&&(e.autoHeight&&i.updateAutoHeight(),r=t,r||(r=u>f?"next":u<f?"prev":"reset"),i.emit("transitionStart"),n&&u!==f)){if(r==="reset"){i.emit("slideResetTransitionStart");return}i.emit("slideChangeTransitionStart");r==="next"?i.emit("slideNextTransitionStart"):i.emit("slidePrevTransitionStart")}}function pf(n,t){var r;n===void 0&&(n=!0);var i=this,u=i.activeIndex,f=i.previousIndex,e=i.params;if((i.animating=!1,!e.cssMode)&&(i.setTransition(0),r=t,r||(r=u>f?"next":u<f?"prev":"reset"),i.emit("transitionEnd"),n&&u!==f)){if(r==="reset"){i.emit("slideResetTransitionEnd");return}i.emit("slideChangeTransitionEnd");r==="next"?i.emit("slideNextTransitionEnd"):i.emit("slidePrevTransitionEnd")}}function wf(n,t,i,r){var d,rt,u,f,tt,p,e,o,s,b,l,k;if(n===void 0&&(n=0),t===void 0&&(t=this.params.speed),i===void 0&&(i=!0),typeof n!="number"&&typeof n!="string")throw new Error("The 'index' argument cannot have type other than 'number' or 'string'. ["+typeof n+"] given.");if(typeof n=="string"){if(d=parseInt(n,10),rt=isFinite(d),!rt)throw new Error("The passed-in 'index' (string) couldn't be converted to 'number'. ["+n+"] given.");n=d}u=this;f=n;f<0&&(f=0);var h=u.params,g=u.snapGrid,y=u.slidesGrid,ut=u.previousIndex,a=u.activeIndex,nt=u.rtlTranslate,c=u.wrapperEl;if(u.animating&&h.preventInteractionOnTransition)return!1;if(tt=Math.min(u.params.slidesPerGroupSkip,f),p=tt+Math.floor((f-tt)/u.params.slidesPerGroup),p>=g.length&&(p=g.length-1),(a||h.initialSlide||0)===(ut||0)&&i&&u.emit("beforeSlideChangeStart"),e=-g[p],u.updateProgress(e),h.normalizeSlideIndex)for(o=0;o<y.length;o+=1){var v=-Math.floor(e*100),w=Math.floor(y[o]*100),it=Math.floor(y[o+1]*100);typeof y[o+1]!="undefined"?v>=w&&v<it-(it-w)/2?f=o:v>=w&&v<it&&(f=o+1):v>=w&&(f=o)}return u.initialized&&f!==a&&(!u.allowSlideNext&&e<u.translate&&e<u.minTranslate()||!u.allowSlidePrev&&e>u.translate&&e>u.maxTranslate()&&(a||0)!==f)?!1:(s=f>a?"next":f<a?"prev":"reset",nt&&-e===u.translate||!nt&&e===u.translate)?(u.updateActiveIndex(f),h.autoHeight&&u.updateAutoHeight(),u.updateSlidesClasses(),h.effect!=="slide"&&u.setTranslate(e),s!=="reset"&&(u.transitionStart(i,s),u.transitionEnd(i,s)),!1):h.cssMode?(b=u.isHorizontal(),l=-e,nt&&(l=c.scrollWidth-c.offsetWidth-l),t===0?c[b?"scrollLeft":"scrollTop"]=l:c.scrollTo?c.scrollTo((k={},k[b?"left":"top"]=l,k.behavior="smooth",k)):c[b?"scrollLeft":"scrollTop"]=l,!0):(t===0?(u.setTransition(0),u.setTranslate(e),u.updateActiveIndex(f),u.updateSlidesClasses(),u.emit("beforeTransitionStart",t,r),u.transitionStart(i,s),u.transitionEnd(i,s)):(u.setTransition(t),u.setTranslate(e),u.updateActiveIndex(f),u.updateSlidesClasses(),u.emit("beforeTransitionStart",t,r),u.transitionStart(i,s),u.animating||(u.animating=!0,u.onSlideToWrapperTransitionEnd||(u.onSlideToWrapperTransitionEnd=function(n){u&&!u.destroyed&&n.target===this&&(u.$wrapperEl[0].removeEventListener("transitionend",u.onSlideToWrapperTransitionEnd),u.$wrapperEl[0].removeEventListener("webkitTransitionEnd",u.onSlideToWrapperTransitionEnd),u.onSlideToWrapperTransitionEnd=null,delete u.onSlideToWrapperTransitionEnd,u.transitionEnd(i,s))}),u.$wrapperEl[0].addEventListener("transitionend",u.onSlideToWrapperTransitionEnd),u.$wrapperEl[0].addEventListener("webkitTransitionEnd",u.onSlideToWrapperTransitionEnd))),!0)}function bf(n,t,i,r){n===void 0&&(n=0);t===void 0&&(t=this.params.speed);i===void 0&&(i=!0);var u=this,f=n;return u.params.loop&&(f+=u.loopedSlides),u.slideTo(f,t,i,r)}function kf(n,t,i){n===void 0&&(n=this.params.speed);t===void 0&&(t=!0);var r=this,u=r.params,f=r.animating,e=r.activeIndex<u.slidesPerGroupSkip?1:u.slidesPerGroup;if(u.loop){if(f&&u.loopPreventsSlide)return!1;r.loopFix();r._clientLeft=r.$wrapperEl[0].clientLeft}return r.slideTo(r.activeIndex+e,n,t,i)}function df(n,t,i){function l(n){return n<0?-Math.floor(Math.abs(n)):Math.floor(n)}var c,e,h,u,o;n===void 0&&(n=this.params.speed);t===void 0&&(t=!0);var r=this,s=r.params,a=r.animating,f=r.snapGrid,v=r.slidesGrid,y=r.rtlTranslate;if(s.loop){if(a&&s.loopPreventsSlide)return!1;r.loopFix();r._clientLeft=r.$wrapperEl[0].clientLeft}return c=y?r.translate:-r.translate,e=l(c),h=f.map(function(n){return l(n)}),f[h.indexOf(e)],u=f[h.indexOf(e)-1],typeof u=="undefined"&&s.cssMode&&f.forEach(function(n){!u&&e>=n&&(u=n)}),typeof u!="undefined"&&(o=v.indexOf(u),o<0&&(o=r.activeIndex-1)),r.slideTo(o,n,t,i)}function gf(n,t,i){n===void 0&&(n=this.params.speed);t===void 0&&(t=!0);var r=this;return r.slideTo(r.activeIndex,n,t,i)}function ne(n,t,i,r){var s,l,h,a;n===void 0&&(n=this.params.speed);t===void 0&&(t=!0);r===void 0&&(r=.5);var u=this,f=u.activeIndex,c=Math.min(u.params.slidesPerGroupSkip,f),e=c+Math.floor((f-c)/u.params.slidesPerGroup),o=u.rtlTranslate?u.translate:-u.translate;return o>=u.snapGrid[e]?(s=u.snapGrid[e],l=u.snapGrid[e+1],o-s>(l-s)*r&&(f+=u.params.slidesPerGroup)):(h=u.snapGrid[e-1],a=u.snapGrid[e],o-h<=(a-h)*r&&(f-=u.params.slidesPerGroup)),f=Math.max(f,0),f=Math.min(f,u.slidesGrid.length-1),u.slideTo(f,n,t,i)}function te(){var t=this,r=t.params,e=t.$wrapperEl,u=r.slidesPerView==="auto"?t.slidesPerViewDynamic():r.slidesPerView,i=t.clickedIndex,f;if(r.loop){if(t.animating)return;f=parseInt(n(t.clickedSlide).attr("data-swiper-slide-index"),10);r.centeredSlides?i<t.loopedSlides-u/2||i>t.slides.length-t.loopedSlides+u/2?(t.loopFix(),i=e.children("."+r.slideClass+'[data-swiper-slide-index="'+f+'"]:not(.'+r.slideDuplicateClass+")").eq(0).index(),h(function(){t.slideTo(i)})):t.slideTo(i):i>t.slides.length-u?(t.loopFix(),i=e.children("."+r.slideClass+'[data-swiper-slide-index="'+f+'"]:not(.'+r.slideDuplicateClass+")").eq(0).index(),h(function(){t.slideTo(i)})):t.slideTo(i)}else t.slideTo(i)}function ie(){var u=this,v=r(),t=u.params,f=u.$wrapperEl,i,c,l,a,e,o,s,h;if(f.children("."+t.slideClass+"."+t.slideDuplicateClass).remove(),i=f.children("."+t.slideClass),t.loopFillGroupWithBlank&&(c=t.slidesPerGroup-i.length%t.slidesPerGroup,c!==t.slidesPerGroup)){for(l=0;l<c;l+=1)a=n(v.createElement("div")).addClass(t.slideClass+" "+t.slideBlankClass),f.append(a);i=f.children("."+t.slideClass)}for(t.slidesPerView!=="auto"||t.loopedSlides||(t.loopedSlides=i.length),u.loopedSlides=Math.ceil(parseFloat(t.loopedSlides||t.slidesPerView,10)),u.loopedSlides+=t.loopAdditionalSlides,u.loopedSlides>i.length&&(u.loopedSlides=i.length),e=[],o=[],i.each(function(t,r){var f=n(t);r<u.loopedSlides&&o.push(t);r<i.length&&r>=i.length-u.loopedSlides&&e.push(t);f.attr("data-swiper-slide-index",r)}),s=0;s<o.length;s+=1)f.append(n(o[s].cloneNode(!0)).addClass(t.slideDuplicateClass));for(h=e.length-1;h>=0;h-=1)f.prepend(n(e[h].cloneNode(!0)).addClass(t.slideDuplicateClass))}function re(){var n=this,o,u,s,h;n.emit("beforeLoopFix");var r=n.activeIndex,f=n.slides,t=n.loopedSlides,c=n.allowSlidePrev,l=n.allowSlideNext,a=n.snapGrid,e=n.rtlTranslate,i;n.allowSlidePrev=!0;n.allowSlideNext=!0;o=-a[r];u=o-n.getTranslate();r<t?(i=f.length-t*3+r,i+=t,s=n.slideTo(i,0,!1,!0),s&&u!==0&&n.setTranslate((e?-n.translate:n.translate)-u)):r>=f.length-t&&(i=-f.length+r+t,i+=t,h=n.slideTo(i,0,!1,!0),h&&u!==0&&n.setTranslate((e?-n.translate:n.translate)-u));n.allowSlidePrev=c;n.allowSlideNext=l;n.emit("loopFix")}function ue(){var t=this,i=t.$wrapperEl,n=t.params,r=t.slides;i.children("."+n.slideClass+"."+n.slideDuplicateClass+",."+n.slideClass+"."+n.slideBlankClass).remove();r.removeAttr("data-swiper-slide-index")}function fe(n){var t=this,i;t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode||(i=t.el,i.style.cursor="move",i.style.cursor=n?"-webkit-grabbing":"-webkit-grab",i.style.cursor=n?"-moz-grabbin":"-moz-grab",i.style.cursor=n?"grabbing":"grab")}function ee(){var n=this;n.support.touch||n.params.watchOverflow&&n.isLocked||n.params.cssMode||(n.el.style.cursor="")}function oe(n){var t=this,u=t.$wrapperEl,r=t.params,i;if(r.loop&&t.loopDestroy(),typeof n=="object"&&"length"in n)for(i=0;i<n.length;i+=1)n[i]&&u.append(n[i]);else u.append(n);r.loop&&t.loopCreate();r.observer&&t.support.observer||t.update()}function se(n){var t=this,r=t.params,f=t.$wrapperEl,e=t.activeIndex,u,i;if(r.loop&&t.loopDestroy(),u=e+1,typeof n=="object"&&"length"in n){for(i=0;i<n.length;i+=1)n[i]&&f.prepend(n[i]);u=e+n.length}else f.prepend(n);r.loop&&t.loopCreate();r.observer&&t.support.observer||t.update();t.slideTo(u,0,!1)}function he(n,t){var i=this,e=i.$wrapperEl,u=i.params,v=i.activeIndex,r=v,l,o,s,h,a,f,c;if(u.loop&&(r-=i.loopedSlides,i.loopDestroy(),i.slides=e.children("."+u.slideClass)),l=i.slides.length,n<=0){i.prependSlide(t);return}if(n>=l){i.appendSlide(t);return}for(o=r>n?r+1:r,s=[],h=l-1;h>=n;h-=1)a=i.slides.eq(h),a.remove(),s.unshift(a);if(typeof t=="object"&&"length"in t){for(f=0;f<t.length;f+=1)t[f]&&e.append(t[f]);o=r>n?r+t.length:r}else e.append(t);for(c=0;c<s.length;c+=1)e.append(s[c]);u.loop&&i.loopCreate();u.observer&&i.support.observer||i.update();u.loop?i.slideTo(o+i.loopedSlides,0,!1):i.slideTo(o,0,!1)}function ce(n){var t=this,u=t.params,o=t.$wrapperEl,s=t.activeIndex,e=s,i,r,f;if(u.loop&&(e-=t.loopedSlides,t.loopDestroy(),t.slides=o.children("."+u.slideClass)),i=e,typeof n=="object"&&"length"in n){for(f=0;f<n.length;f+=1)r=n[f],t.slides[r]&&t.slides.eq(r).remove(),r<i&&(i-=1);i=Math.max(i,0)}else r=n,t.slides[r]&&t.slides.eq(r).remove(),r<i&&(i-=1),i=Math.max(i,0);u.loop&&t.loopCreate();u.observer&&t.support.observer||t.update();u.loop?t.slideTo(i+t.loopedSlides,0,!1):t.slideTo(i,0,!1)}function le(){for(var t=this,i=[],n=0;n<t.slides.length;n+=1)i.push(n);t.removeSlide(i)}function ae(u){var s=this,a=r(),d=i(),h=s.touchEventsData,o=s.params,l=s.touches,f,c,p,y,k;if((!s.animating||!o.preventInteractionOnTransition)&&(f=u,f.originalEvent&&(f=f.originalEvent),c=n(f.target),o.touchEventsTarget!=="wrapper"||c.closest(s.wrapperEl).length)&&(h.isTouchEvent=f.type==="touchstart",h.isTouchEvent||!("which"in f)||f.which!==3)&&(h.isTouchEvent||!("button"in f)||!(f.button>0))&&(!h.isTouched||!h.isMoved)){if(p=!!o.noSwipingClass&&o.noSwipingClass!=="",p&&f.target&&f.target.shadowRoot&&u.path&&u.path[0]&&(c=n(u.path[0])),o.noSwiping&&c.closest(o.noSwipingSelector?o.noSwipingSelector:"."+o.noSwipingClass)[0]){s.allowClick=!0;return}if(!o.swipeHandler||c.closest(o.swipeHandler)[0]){l.currentX=f.type==="touchstart"?f.targetTouches[0].pageX:f.pageX;l.currentY=f.type==="touchstart"?f.targetTouches[0].pageY:f.pageY;var v=l.currentX,g=l.currentY,w=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,b=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(w&&(v<=b||v>=d.innerWidth-b))if(w==="prevent")u.preventDefault();else return;t(h,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:undefined,startMoving:undefined});l.startX=v;l.startY=g;h.touchStartTime=e();s.allowClick=!0;s.updateSize();s.swipeDirection=undefined;o.threshold>0&&(h.allowThresholdMove=!1);f.type!=="touchstart"&&(y=!0,c.is(h.formElements)&&(y=!1),a.activeElement&&n(a.activeElement).is(h.formElements)&&a.activeElement!==c[0]&&a.activeElement.blur(),k=y&&s.allowTouchMove&&o.touchStartPreventDefault,(o.touchStartForcePreventDefault||k)&&!c[0].isContentEditable&&f.preventDefault());s.emit("touchStart",f)}}}function ve(i){var k=r(),f=this,u=f.touchEventsData,h=f.params,o=f.touches,g=f.rtlTranslate,s=i,v,y,b,c,p,w;if(s.originalEvent&&(s=s.originalEvent),!u.isTouched){u.startMoving&&u.isScrolling&&f.emit("touchMoveOpposite",s);return}if(!u.isTouchEvent||s.type==="touchmove"){var d=s.type==="touchmove"&&s.targetTouches&&(s.targetTouches[0]||s.changedTouches[0]),l=s.type==="touchmove"?d.pageX:s.pageX,a=s.type==="touchmove"?d.pageY:s.pageY;if(s.preventedByNestedSwiper){o.startX=l;o.startY=a;return}if(!f.allowTouchMove){f.allowClick=!1;u.isTouched&&(t(o,{startX:l,startY:a,currentX:l,currentY:a}),u.touchStartTime=e());return}if(u.isTouchEvent&&h.touchReleaseOnEdges&&!h.loop)if(f.isVertical()){if(a<o.startY&&f.translate<=f.maxTranslate()||a>o.startY&&f.translate>=f.minTranslate()){u.isTouched=!1;u.isMoved=!1;return}}else if(l<o.startX&&f.translate<=f.maxTranslate()||l>o.startX&&f.translate>=f.minTranslate())return;if(u.isTouchEvent&&k.activeElement&&s.target===k.activeElement&&n(s.target).is(u.formElements)){u.isMoved=!0;f.allowClick=!1;return}if((u.allowTouchCallbacks&&f.emit("touchMove",s),!s.targetTouches||!(s.targetTouches.length>1))&&(o.currentX=l,o.currentY=a,v=o.currentX-o.startX,y=o.currentY-o.startY,!f.params.threshold||!(Math.sqrt(Math.pow(v,2)+Math.pow(y,2))<f.params.threshold))){if(typeof u.isScrolling=="undefined"&&(f.isHorizontal()&&o.currentY===o.startY||f.isVertical()&&o.currentX===o.startX?u.isScrolling=!1:v*v+y*y>=25&&(b=Math.atan2(Math.abs(y),Math.abs(v))*180/Math.PI,u.isScrolling=f.isHorizontal()?b>h.touchAngle:90-b>h.touchAngle)),u.isScrolling&&f.emit("touchMoveOpposite",s),typeof u.startMoving=="undefined"&&(o.currentX!==o.startX||o.currentY!==o.startY)&&(u.startMoving=!0),u.isScrolling){u.isTouched=!1;return}if(u.startMoving){if(f.allowClick=!1,!h.cssMode&&s.cancelable&&s.preventDefault(),h.touchMoveStopPropagation&&!h.nested&&s.stopPropagation(),u.isMoved||(h.loop&&f.loopFix(),u.startTranslate=f.getTranslate(),f.setTransition(0),f.animating&&f.$wrapperEl.trigger("webkitTransitionEnd transitionend"),u.allowMomentumBounce=!1,h.grabCursor&&(f.allowSlideNext===!0||f.allowSlidePrev===!0)&&f.setGrabCursor(!0),f.emit("sliderFirstMove",s)),f.emit("sliderMove",s),u.isMoved=!0,c=f.isHorizontal()?v:y,o.diff=c,c*=h.touchRatio,g&&(c=-c),f.swipeDirection=c>0?"prev":"next",u.currentTranslate=c+u.startTranslate,p=!0,w=h.resistanceRatio,h.touchReleaseOnEdges&&(w=0),c>0&&u.currentTranslate>f.minTranslate()?(p=!1,h.resistance&&(u.currentTranslate=f.minTranslate()-1+Math.pow(-f.minTranslate()+u.startTranslate+c,w))):c<0&&u.currentTranslate<f.maxTranslate()&&(p=!1,h.resistance&&(u.currentTranslate=f.maxTranslate()+1-Math.pow(f.maxTranslate()-u.startTranslate-c,w))),p&&(s.preventedByNestedSwiper=!0),!f.allowSlideNext&&f.swipeDirection==="next"&&u.currentTranslate<u.startTranslate&&(u.currentTranslate=u.startTranslate),!f.allowSlidePrev&&f.swipeDirection==="prev"&&u.currentTranslate>u.startTranslate&&(u.currentTranslate=u.startTranslate),h.threshold>0)if(Math.abs(c)>h.threshold||u.allowThresholdMove){if(!u.allowThresholdMove){u.allowThresholdMove=!0;o.startX=o.currentX;o.startY=o.currentY;u.currentTranslate=u.startTranslate;o.diff=f.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY;return}}else{u.currentTranslate=u.startTranslate;return}h.followFinger&&!h.cssMode&&((h.freeMode||h.watchSlidesProgress||h.watchSlidesVisibility)&&(f.updateActiveIndex(),f.updateSlidesClasses()),h.freeMode&&(u.velocities.length===0&&u.velocities.push({position:o[f.isHorizontal()?"startX":"startY"],time:u.touchStartTime}),u.velocities.push({position:o[f.isHorizontal()?"currentX":"currentY"],time:e()})),f.updateProgress(u.currentTranslate),f.setTranslate(u.currentTranslate))}}}}function ye(n){var t=this,r=t.touchEventsData,i=t.params,vt=t.touches,k=t.rtlTranslate,rt=t.$wrapperEl,s=t.slidesGrid,l=t.snapGrid,c=n,ut,d,a,g,nt,y,et,p,w,ot,st,f,tt,o,it,ht,b,at;if(c.originalEvent&&(c=c.originalEvent),r.allowTouchCallbacks&&t.emit("touchEnd",c),r.allowTouchCallbacks=!1,!r.isTouched){r.isMoved&&i.grabCursor&&t.setGrabCursor(!1);r.isMoved=!1;r.startMoving=!1;return}if(i.grabCursor&&r.isMoved&&r.isTouched&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!1),ut=e(),d=ut-r.touchStartTime,t.allowClick&&(t.updateClickedSlide(c),t.emit("tap click",c),d<300&&ut-r.lastClickTime<300&&t.emit("doubleTap doubleClick",c)),r.lastClickTime=e(),h(function(){t.destroyed||(t.allowClick=!0)}),!r.isTouched||!r.isMoved||!t.swipeDirection||vt.diff===0||r.currentTranslate===r.startTranslate){r.isTouched=!1;r.isMoved=!1;r.startMoving=!1;return}if(r.isTouched=!1,r.isMoved=!1,r.startMoving=!1,a=i.followFinger?k?t.translate:-t.translate:-r.currentTranslate,!i.cssMode){if(i.freeMode){if(a<-t.minTranslate()){t.slideTo(t.activeIndex);return}if(a>-t.maxTranslate()){t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1);return}if(i.freeModeMomentum){if(r.velocities.length>1){var ft=r.velocities.pop(),ct=r.velocities.pop(),yt=ft.position-ct.position,lt=ft.time-ct.time;t.velocity=yt/lt;t.velocity/=2;Math.abs(t.velocity)<i.freeModeMinimumVelocity&&(t.velocity=0);(lt>150||e()-ft.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=i.freeModeMomentumVelocityRatio;r.velocities.length=0;var v=1e3*i.freeModeMomentumRatio,pt=t.velocity*v,u=t.translate+pt;if(k&&(u=-u),g=!1,y=Math.abs(t.velocity)*20*i.freeModeMomentumBounceRatio,u<t.maxTranslate())i.freeModeMomentumBounce?(u+t.maxTranslate()<-y&&(u=t.maxTranslate()-y),nt=t.maxTranslate(),g=!0,r.allowMomentumBounce=!0):u=t.maxTranslate(),i.loop&&i.centeredSlides&&(et=!0);else if(u>t.minTranslate())i.freeModeMomentumBounce?(u-t.minTranslate()>y&&(u=t.minTranslate()+y),nt=t.minTranslate(),g=!0,r.allowMomentumBounce=!0):u=t.minTranslate(),i.loop&&i.centeredSlides&&(et=!0);else if(i.freeModeSticky){for(w=0;w<l.length;w+=1)if(l[w]>-u){p=w;break}u=Math.abs(l[p]-u)<Math.abs(l[p-1]-u)||t.swipeDirection==="next"?l[p]:l[p-1];u=-u}if(et)t.once("transitionEnd",function(){t.loopFix()});if(t.velocity!==0)v=k?Math.abs((-u-t.translate)/t.velocity):Math.abs((u-t.translate)/t.velocity),i.freeModeSticky&&(ot=Math.abs((k?-u:u)-t.translate),st=t.slidesSizesGrid[t.activeIndex],v=ot<st?i.speed:ot<2*st?i.speed*1.5:i.speed*2.5);else if(i.freeModeSticky){t.slideToClosest();return}i.freeModeMomentumBounce&&g?(t.updateProgress(nt),t.setTransition(v),t.setTranslate(u),t.transitionStart(!0,t.swipeDirection),t.animating=!0,rt.transitionEnd(function(){t&&!t.destroyed&&r.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(i.speed),setTimeout(function(){t.setTranslate(nt);rt.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()})},0))})):t.velocity?(t.updateProgress(u),t.setTransition(v),t.setTranslate(u),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,rt.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))):t.updateProgress(u);t.updateActiveIndex();t.updateSlidesClasses()}else if(i.freeModeSticky){t.slideToClosest();return}(!i.freeModeMomentum||d>=i.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses());return}for(f=0,tt=t.slidesSizesGrid[0],o=0;o<s.length;o+=o<i.slidesPerGroupSkip?1:i.slidesPerGroup)it=o<i.slidesPerGroupSkip-1?1:i.slidesPerGroup,typeof s[o+it]!="undefined"?a>=s[o]&&a<s[o+it]&&(f=o,tt=s[o+it]-s[o]):a>=s[o]&&(f=o,tt=s[s.length-1]-s[s.length-2]);if(ht=(a-s[f])/tt,b=f<i.slidesPerGroupSkip-1?1:i.slidesPerGroup,d>i.longSwipesMs){if(!i.longSwipes){t.slideTo(t.activeIndex);return}t.swipeDirection==="next"&&(ht>=i.longSwipesRatio?t.slideTo(f+b):t.slideTo(f));t.swipeDirection==="prev"&&(ht>1-i.longSwipesRatio?t.slideTo(f+b):t.slideTo(f))}else{if(!i.shortSwipes){t.slideTo(t.activeIndex);return}at=t.navigation&&(c.target===t.navigation.nextEl||c.target===t.navigation.prevEl);at?c.target===t.navigation.nextEl?t.slideTo(f+b):t.slideTo(f):(t.swipeDirection==="next"&&t.slideTo(f+b),t.swipeDirection==="prev"&&t.slideTo(f))}}}function rt(){var n=this,t=n.params,i=n.el;if(!i||i.offsetWidth!==0){t.breakpoints&&n.setBreakpoint();var r=n.allowSlideNext,u=n.allowSlidePrev,f=n.snapGrid;n.allowSlideNext=!0;n.allowSlidePrev=!0;n.updateSize();n.updateSlides();n.updateSlidesClasses();(t.slidesPerView==="auto"||t.slidesPerView>1)&&n.isEnd&&!n.isBeginning&&!n.params.centeredSlides?n.slideTo(n.slides.length-1,0,!1,!0):n.slideTo(n.activeIndex,0,!1,!0);n.autoplay&&n.autoplay.running&&n.autoplay.paused&&n.autoplay.run();n.allowSlidePrev=u;n.allowSlideNext=r;n.params.watchOverflow&&f!==n.snapGrid&&n.checkOverflow()}}function pe(n){var t=this;t.allowClick||(t.params.preventClicks&&n.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(n.stopPropagation(),n.stopImmediatePropagation()))}function we(){var n=this,t=n.wrapperEl,r=n.rtlTranslate,u,i;n.previousTranslate=n.translate;n.translate=n.isHorizontal()?r?t.scrollWidth-t.offsetWidth-t.scrollLeft:-t.scrollLeft:-t.scrollTop;n.translate===-0&&(n.translate=0);n.updateActiveIndex();n.updateSlidesClasses();i=n.maxTranslate()-n.minTranslate();u=i===0?0:(n.translate-n.minTranslate())/i;u!==n.progress&&n.updateProgress(r?-n.translate:n.translate);n.emit("setTranslate",n.translate,!1)}function be(){}function ke(){var n=this,e=r(),t=n.params,i=n.touchEvents,u=n.el,c=n.wrapperEl,o=n.device,f=n.support,s,h;if(n.onTouchStart=ae.bind(n),n.onTouchMove=ve.bind(n),n.onTouchEnd=ye.bind(n),t.cssMode&&(n.onScroll=we.bind(n)),n.onClick=pe.bind(n),s=!!t.nested,!f.touch&&f.pointerEvents?(u.addEventListener(i.start,n.onTouchStart,!1),e.addEventListener(i.move,n.onTouchMove,s),e.addEventListener(i.end,n.onTouchEnd,!1)):(f.touch&&(h=i.start==="touchstart"&&f.passiveListener&&t.passiveListeners?{passive:!0,capture:!1}:!1,u.addEventListener(i.start,n.onTouchStart,h),u.addEventListener(i.move,n.onTouchMove,f.passiveListener?{passive:!1,capture:s}:s),u.addEventListener(i.end,n.onTouchEnd,h),i.cancel&&u.addEventListener(i.cancel,n.onTouchEnd,h),ut||(e.addEventListener("touchstart",be),ut=!0)),(t.simulateTouch&&!o.ios&&!o.android||t.simulateTouch&&!f.touch&&o.ios)&&(u.addEventListener("mousedown",n.onTouchStart,!1),e.addEventListener("mousemove",n.onTouchMove,s),e.addEventListener("mouseup",n.onTouchEnd,!1))),(t.preventClicks||t.preventClicksPropagation)&&u.addEventListener("click",n.onClick,!0),t.cssMode&&c.addEventListener("scroll",n.onScroll),t.updateOnWindowResize)n.on(o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",rt,!0);else n.on("observerUpdate",rt,!0)}function de(){var n=this,o=r(),i=n.params,t=n.touchEvents,u=n.el,c=n.wrapperEl,f=n.device,e=n.support,h=!!i.nested,s;!e.touch&&e.pointerEvents?(u.removeEventListener(t.start,n.onTouchStart,!1),o.removeEventListener(t.move,n.onTouchMove,h),o.removeEventListener(t.end,n.onTouchEnd,!1)):(e.touch&&(s=t.start==="onTouchStart"&&e.passiveListener&&i.passiveListeners?{passive:!0,capture:!1}:!1,u.removeEventListener(t.start,n.onTouchStart,s),u.removeEventListener(t.move,n.onTouchMove,h),u.removeEventListener(t.end,n.onTouchEnd,s),t.cancel&&u.removeEventListener(t.cancel,n.onTouchEnd,s)),(i.simulateTouch&&!f.ios&&!f.android||i.simulateTouch&&!e.touch&&f.ios)&&(u.removeEventListener("mousedown",n.onTouchStart,!1),o.removeEventListener("mousemove",n.onTouchMove,h),o.removeEventListener("mouseup",n.onTouchEnd,!1)));(i.preventClicks||i.preventClicksPropagation)&&u.removeEventListener("click",n.onClick,!0);i.cssMode&&c.removeEventListener("scroll",n.onScroll);n.off(f.ios||f.android?"resize orientationchange observerUpdate":"resize observerUpdate",rt)}function ge(){var n=this,y=n.activeIndex,h=n.initialized,c=n.loopedSlides,p=c===void 0?0:c,i=n.params,o=n.$el,f=i.breakpoints,e,u,s,v;if(f&&(!f||Object.keys(f).length!==0)&&(e=n.getBreakpoint(f),e&&n.currentBreakpoint!==e)){u=e in f?f[e]:undefined;u&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach(function(n){var t=u[n];typeof t!="undefined"&&(u[n]=n==="slidesPerView"&&(t==="AUTO"||t==="auto")?"auto":n==="slidesPerView"?parseFloat(t):parseInt(t,10))});var r=u||n.originalParams,l=i.slidesPerColumn>1,a=r.slidesPerColumn>1;l&&!a?(o.removeClass(i.containerModifierClass+"multirow "+i.containerModifierClass+"multirow-column"),n.emitContainerClasses()):!l&&a&&(o.addClass(i.containerModifierClass+"multirow"),r.slidesPerColumnFill==="column"&&o.addClass(i.containerModifierClass+"multirow-column"),n.emitContainerClasses());s=r.direction&&r.direction!==i.direction;v=i.loop&&(r.slidesPerView!==i.slidesPerView||s);s&&h&&n.changeDirection();t(n.params,r);t(n,{allowTouchMove:n.params.allowTouchMove,allowSlideNext:n.params.allowSlideNext,allowSlidePrev:n.params.allowSlidePrev});n.currentBreakpoint=e;n.emit("_beforeBreakpoint",r);v&&h&&(n.loopDestroy(),n.loopCreate(),n.updateSlides(),n.slideTo(y-p+n.loopedSlides,0,!1));n.emit("breakpoint",r)}}function no(n){var f=i(),u,t,r;if(!n)return undefined;for(u=!1,t=Object.keys(n).map(function(n){if(typeof n=="string"&&n.indexOf("@")===0){var t=parseFloat(n.substr(1)),i=f.innerHeight*t;return{value:i,point:n}}return{value:n,point:n}}),t.sort(function(n,t){return parseInt(n.value,10)-parseInt(t.value,10)}),r=0;r<t.length;r+=1){var e=t[r],o=e.point,s=e.value;s<=f.innerWidth&&(u=o)}return u||"max"}function to(){var t=this,r=t.classNames,i=t.params,e=t.rtl,o=t.$el,u=t.device,f=t.support,n=[];n.push("initialized");n.push(i.direction);f.pointerEvents&&!f.touch&&n.push("pointer-events");i.freeMode&&n.push("free-mode");i.autoHeight&&n.push("autoheight");e&&n.push("rtl");i.slidesPerColumn>1&&(n.push("multirow"),i.slidesPerColumnFill==="column"&&n.push("multirow-column"));u.android&&n.push("android");u.ios&&n.push("ios");i.cssMode&&n.push("css-mode");n.forEach(function(n){r.push(i.containerModifierClass+n)});o.addClass(r.join(" "));t.emitContainerClasses()}function io(){var n=this,t=n.$el,i=n.classNames;t.removeClass(i.join(" "));n.emitContainerClasses()}function ro(t,r,u,f,e,o){function h(){o&&o()}var c=i(),s,l=n(t).parent("picture")[0];l||t.complete&&e?h():r?(s=new c.Image,s.onload=h,s.onerror=h,f&&(s.sizes=f),u&&(s.srcset=u),r&&(s.src=r)):h()}function uo(){function r(){typeof n!="undefined"&&n!==null&&n&&!n.destroyed&&(n.imagesLoaded!==undefined&&(n.imagesLoaded+=1),n.imagesLoaded===n.imagesToLoad.length&&(n.params.updateOnImagesReady&&n.update(),n.emit("imagesReady")))}var n=this,i,t;for(n.imagesToLoad=n.$el.find("img"),i=0;i<n.imagesToLoad.length;i+=1)t=n.imagesToLoad[i],n.loadImage(t,t.currentSrc||t.getAttribute("src"),t.srcset||t.getAttribute("srcset"),t.sizes||t.getAttribute("sizes"),!0,r)}function fo(){var n=this,t=n.params,i=n.isLocked,r=n.slides.length>0&&t.slidesOffsetBefore+t.spaceBetween*(n.slides.length-1)+n.slides[0].offsetWidth*n.slides.length;n.isLocked=t.slidesOffsetBefore&&t.slidesOffsetAfter&&r?r<=n.size:n.snapGrid.length===1;n.allowSlideNext=!n.isLocked;n.allowSlidePrev=!n.isLocked;i!==n.isLocked&&n.emit(n.isLocked?"lock":"unlock");i&&i!==n.isLocked&&(n.isEnd=!1,n.navigation&&n.navigation.update())}function lo(){var n=r(),i="onwheel",t=i in n,u;return t||(u=n.createElement("div"),u.setAttribute(i,"return;"),t=typeof u[i]=="function"),!t&&n.implementation&&n.implementation.hasFeature&&n.implementation.hasFeature("","")!==!0&&(t=n.implementation.hasFeature("Events.wheel","3.0")),t}var lt={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}},ei={document:lt,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(n){return typeof setTimeout=="undefined"?(n(),null):setTimeout(n,0)},cancelAnimationFrame:function(n){typeof setTimeout!="undefined"&&clearTimeout(n)}},s=function(n){function t(t){var i;return i=n.call.apply(n,[this].concat(t))||this,li(ci(i)),i}return oi(t,n),t}(k(Array)),d,nt,tt,it,yt,pt,wt,bt,kt,dt,gt,ut,ni,ti,ii,ri;n.fn=s.prototype;d={addClass:yi,removeClass:pi,hasClass:bi,toggleClass:wi,attr:ki,removeAttr:di,transform:gi,transition:nr,on:tr,off:ir,trigger:rr,transitionEnd:ur,outerWidth:fr,outerHeight:er,styles:sr,offset:or,css:hr,each:cr,html:ar,text:vr,is:yr,index:pr,eq:wr,append:br,prepend:kr,next:dr,nextAll:gr,prev:nu,prevAll:tu,parent:iu,parents:ru,closest:uu,find:fu,children:eu,filter:lr,remove:ou};Object.keys(d).forEach(function(t){n.fn[t]=d[t]});var yu={name:"resize",create:function(){var n=this;t(n,{resize:{resizeHandler:function(){n&&!n.destroyed&&n.initialized&&(n.emit("beforeResize"),n.emit("resize"))},orientationChangeHandler:function(){n&&!n.destroyed&&n.initialized&&n.emit("orientationchange")}}})},on:{init:function(n){var t=i();t.addEventListener("resize",n.resize.resizeHandler);t.addEventListener("orientationchange",n.resize.orientationChangeHandler)},destroy:function(n){var t=i();t.removeEventListener("resize",n.resize.resizeHandler);t.removeEventListener("orientationchange",n.resize.orientationChangeHandler)}}},pu={attach:function(n,t){t===void 0&&(t={});var r=i(),u=this,e=r.MutationObserver||r.WebkitMutationObserver,f=new e(function(n){if(n.length===1){u.emit("observerUpdate",n[0]);return}var t=function(){u.emit("observerUpdate",n[0])};r.requestAnimationFrame?r.requestAnimationFrame(t):r.setTimeout(t,0)});f.observe(n,{attributes:typeof t.attributes=="undefined"?!0:t.attributes,childList:typeof t.childList=="undefined"?!0:t.childList,characterData:typeof t.characterData=="undefined"?!0:t.characterData});u.observer.observers.push(f)},init:function(){var n=this,i,t;if(n.support.observer&&n.params.observer){if(n.params.observeParents)for(i=n.$el.parents(),t=0;t<i.length;t+=1)n.observer.attach(i[t]);n.observer.attach(n.$el[0],{childList:n.params.observeSlideChildren});n.observer.attach(n.$wrapperEl[0],{attributes:!1})}},destroy:function(){var n=this;n.observer.observers.forEach(function(n){n.disconnect()});n.observer.observers=[]}},wu={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){var n=this;f(n,{observer:u({},pu,{observers:[]})})},on:{init:function(n){n.observer.init()},destroy:function(n){n.observer.destroy()}}},bu={useParams:function(n){var i=this;i.modules&&Object.keys(i.modules).forEach(function(r){var u=i.modules[r];u.params&&t(n,u.params)})},useModules:function(n){n===void 0&&(n={});var t=this;t.modules&&Object.keys(t.modules).forEach(function(i){var r=t.modules[i],u=n[i]||{};r.on&&t.on&&Object.keys(r.on).forEach(function(n){t.on(n,r.on[n])});r.create&&r.create.bind(t)(u)})}},ku={on:function(n,t,i){var r=this,u;return typeof t!="function"?r:(u=i?"unshift":"push",n.split(" ").forEach(function(n){r.eventsListeners[n]||(r.eventsListeners[n]=[]);r.eventsListeners[n][u](t)}),r)},once:function(n,t,i){function r(){u.off(n,r);r.__emitterProxy&&delete r.__emitterProxy;for(var f=arguments.length,e=new Array(f),i=0;i<f;i++)e[i]=arguments[i];t.apply(u,e)}var u=this;if(typeof t!="function")return u;r.__emitterProxy=t;return u.on(n,r,i)},onAny:function(n,t){var i=this,r;return typeof n!="function"?i:(r=t?"unshift":"push",i.eventsAnyListeners.indexOf(n)<0&&i.eventsAnyListeners[r](n),i)},offAny:function(n){var t=this,i;return t.eventsAnyListeners?(i=t.eventsAnyListeners.indexOf(n),i>=0&&t.eventsAnyListeners.splice(i,1),t):t},off:function(n,t){var i=this;return i.eventsListeners?(n.split(" ").forEach(function(n){typeof t=="undefined"?i.eventsListeners[n]=[]:i.eventsListeners[n]&&i.eventsListeners[n].forEach(function(r,u){(r===t||r.__emitterProxy&&r.__emitterProxy===t)&&i.eventsListeners[n].splice(u,1)})}),i):i},emit:function(){var n=this,i,r,u,o;if(!n.eventsListeners)return n;for(var e=arguments.length,t=new Array(e),f=0;f<e;f++)t[f]=arguments[f];return typeof t[0]=="string"||Array.isArray(t[0])?(i=t[0],r=t.slice(1,t.length),u=n):(i=t[0].events,r=t[0].data,u=t[0].context||n),r.unshift(u),o=Array.isArray(i)?i:i.split(" "),o.forEach(function(t){n.eventsAnyListeners&&n.eventsAnyListeners.length&&n.eventsAnyListeners.forEach(function(n){n.apply(u,[t].concat(r))});n.eventsListeners&&n.eventsListeners[t]&&n.eventsListeners[t].forEach(function(n){n.apply(u,r)})}),n}};yt={updateSize:du,updateSlides:gu,updateAutoHeight:nf,updateSlidesOffset:tf,updateSlidesProgress:rf,updateProgress:uf,updateSlidesClasses:ff,updateActiveIndex:ef,updateClickedSlide:of};pt={getTranslate:sf,setTranslate:hf,minTranslate:cf,maxTranslate:lf,translateTo:af};wt={setTransition:vf,transitionStart:yf,transitionEnd:pf};bt={slideTo:wf,slideToLoop:bf,slideNext:kf,slidePrev:df,slideReset:gf,slideToClosest:ne,slideToClickedSlide:te};kt={loopCreate:ie,loopFix:re,loopDestroy:ue};dt={setGrabCursor:fe,unsetGrabCursor:ee};gt={appendSlide:oe,prependSlide:se,addSlide:he,removeSlide:ce,removeAllSlides:le};ut=!1;ni={attachEvents:ke,detachEvents:de};ti={setBreakpoint:ge,getBreakpoint:no};ii={addClasses:to,removeClasses:io};ri={loadImage:ro,preloadImages:uo};var eo={checkOverflow:fo},ui={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,nested:!1,width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:undefined,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1},ft={modular:bu,eventsEmitter:ku,update:yt,translate:pt,transition:wt,slide:bt,loop:kt,grabCursor:dt,manipulation:gt,events:ni,breakpoints:ti,checkOverflow:eo,classes:ii,images:ri},et={},p=function(){function i(){for(var h,r,c,o,u,l=arguments.length,f=new Array(l),s=0;s<l;s++)f[s]=arguments[s];if(f.length===1&&f[0].constructor&&f[0].constructor===Object?u=f[0]:(o=f[0],u=f[1]),u||(u={}),u=t({},u),o&&!u.el&&(u.el=o),u.el&&n(u.el).length>1)return h=[],n(u.el).each(function(n){var r=t({},u,{el:n});h.push(new i(r))}),h;if(r=this,r.support=vt(),r.device=lu({userAgent:u.userAgent}),r.browser=vu(),r.eventsListeners={},r.eventsAnyListeners=[],typeof r.modules=="undefined"&&(r.modules={}),Object.keys(r.modules).forEach(function(n){var f=r.modules[n],t,i;if(f.params){if(t=Object.keys(f.params)[0],i=f.params[t],typeof i!="object"||i===null)return;if(!(t in u&&"enabled"in i))return;u[t]===!0&&(u[t]={enabled:!0});typeof u[t]!="object"||"enabled"in u[t]||(u[t].enabled=!0);u[t]||(u[t]={enabled:!1})}}),c=t({},ui),r.useParams(c),r.params=t({},c,et,u),r.originalParams=t({},r.params),r.passedParams=t({},u),r.params&&r.params.on&&Object.keys(r.params.on).forEach(function(n){r.on(n,r.params.on[n])}),r.params&&r.params.onAny)r.onAny(r.params.onAny);return r.$=n,t(r,{el:o,classNames:[],slides:n(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return r.params.direction==="horizontal"},isVertical:function(){return r.params.direction==="vertical"},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(){var n=["touchstart","touchmove","touchend","touchcancel"],t=["mousedown","mousemove","mouseup"];return r.support.pointerEvents&&(t=["pointerdown","pointermove","pointerup"]),r.touchEventsTouch={start:n[0],move:n[1],end:n[2],cancel:n[3]},r.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},r.support.touch||!r.params.simulateTouch?r.touchEventsTouch:r.touchEventsDesktop}(),touchEventsData:{isTouched:undefined,isMoved:undefined,allowTouchCallbacks:undefined,touchStartTime:undefined,isScrolling:undefined,currentTranslate:undefined,startTranslate:undefined,allowThresholdMove:undefined,formElements:"input, select, option, textarea, button, video, label",lastClickTime:e(),clickTimeout:undefined,velocities:[],allowMomentumBounce:undefined,isTouchEvent:undefined,startMoving:undefined},allowClick:!0,allowTouchMove:r.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),r.useModules(),r.emit("_swiper"),r.params.init&&r.init(),r}var r=i.prototype;return r.emitContainerClasses=function(){var n=this,t;n.params._emitClasses&&n.el&&(t=n.el.className.split(" ").filter(function(t){return t.indexOf("swiper-container")===0||t.indexOf(n.params.containerModifierClass)===0}),n.emit("_containerClasses",t.join(" ")))},r.getSlideClasses=function(n){var t=this;return n.className.split(" ").filter(function(n){return n.indexOf("swiper-slide")===0||n.indexOf(t.params.slideClass)===0}).join(" ")},r.emitSlidesClasses=function(){var n=this,t;n.params._emitClasses&&n.el&&(t=[],n.slides.each(function(i){var r=n.getSlideClasses(i);t.push({slideEl:i,classNames:r});n.emit("_slideClass",i,r)}),n.emit("_slideClasses",t))},r.slidesPerViewDynamic=function(){var t=this,l=t.params,n=t.slides,c=t.slidesGrid,h=t.size,i=t.activeIndex,e=1,r,o,u,f,s;if(l.centeredSlides){for(r=n[i].swiperSlideSize,u=i+1;u<n.length;u+=1)n[u]&&!o&&(r+=n[u].swiperSlideSize,e+=1,r>h&&(o=!0));for(f=i-1;f>=0;f-=1)n[f]&&!o&&(r+=n[f].swiperSlideSize,e+=1,r>h&&(o=!0))}else for(s=i+1;s<n.length;s+=1)c[s]-c[i]<h&&(e+=1);return e},r.update=function(){function r(){var t=n.rtlTranslate?n.translate*-1:n.translate,i=Math.min(Math.max(t,n.maxTranslate()),n.minTranslate());n.setTranslate(i);n.updateActiveIndex();n.updateSlidesClasses()}var n=this,i,t,u;n&&!n.destroyed&&(i=n.snapGrid,t=n.params,t.breakpoints&&n.setBreakpoint(),n.updateSize(),n.updateSlides(),n.updateProgress(),n.updateSlidesClasses(),n.params.freeMode?(r(),n.params.autoHeight&&n.updateAutoHeight()):(u=(n.params.slidesPerView==="auto"||n.params.slidesPerView>1)&&n.isEnd&&!n.params.centeredSlides?n.slideTo(n.slides.length-1,0,!1,!0):n.slideTo(n.activeIndex,0,!1,!0),u||r()),t.watchOverflow&&i!==n.snapGrid&&n.checkOverflow(),n.emit("update"))},r.changeDirection=function(n,t){t===void 0&&(t=!0);var i=this,r=i.params.direction;return(n||(n=r==="horizontal"?"vertical":"horizontal"),n===r||n!=="horizontal"&&n!=="vertical")?i:(i.$el.removeClass(""+i.params.containerModifierClass+r).addClass(""+i.params.containerModifierClass+n),i.emitContainerClasses(),i.params.direction=n,i.slides.each(function(t){n==="vertical"?t.style.width="":t.style.height=""}),i.emit("changeDirection"),t&&i.update(),i)},r.mount=function(i){var r=this,u,f;return r.mounted?!0:(u=n(i||r.params.el),i=u[0],!i)?!1:(i.swiper=r,i&&i.shadowRoot&&i.shadowRoot.querySelector?(f=n(i.shadowRoot.querySelector("."+r.params.wrapperClass)),f.children=function(n){return u.children(n)}):f=u.children("."+r.params.wrapperClass),t(r,{$el:u,el:i,$wrapperEl:f,wrapperEl:f[0],mounted:!0,rtl:i.dir.toLowerCase()==="rtl"||u.css("direction")==="rtl",rtlTranslate:r.params.direction==="horizontal"&&(i.dir.toLowerCase()==="rtl"||u.css("direction")==="rtl"),wrongRTL:f.css("display")==="-webkit-box"}),!0)},r.init=function(n){var t=this,i;return t.initialized?t:(i=t.mount(n),i===!1)?t:(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit"),t)},r.destroy=function(n,t){n===void 0&&(n=!0);t===void 0&&(t=!0);var i=this,r=i.params,f=i.$el,e=i.$wrapperEl,u=i.slides;return typeof i.params=="undefined"||i.destroyed?null:(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),r.loop&&i.loopDestroy(),t&&(i.removeClasses(),f.removeAttr("style"),e.removeAttr("style"),u&&u.length&&u.removeClass([r.slideVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(function(n){i.off(n)}),n!==!1&&(i.$el[0].swiper=null,su(i)),i.destroyed=!0,null)},i.extendDefaults=function(n){t(et,n)},i.installModule=function(n){i.prototype.modules||(i.prototype.modules={});var t=n.name||Object.keys(i.prototype.modules).length+"_"+e();i.prototype.modules[t]=n},i.use=function(n){return Array.isArray(n)?(n.forEach(function(n){return i.installModule(n)}),i):(i.installModule(n),i)},fi(i,null,[{key:"extendedDefaults",get:function(){return et}},{key:"defaults",get:function(){return ui}}]),i}();Object.keys(ft).forEach(function(n){Object.keys(ft[n]).forEach(function(t){p.prototype[t]=ft[n][t]})});p.use([yu,wu]);var oo={update:function(n){function ut(){i.updateSlides();i.updateProgress();i.updateSlidesClasses();i.lazy&&i.params.lazy.enabled&&i.lazy.load()}var i=this,v=i.params,y=v.slidesPerView,c=v.slidesPerGroup,ft=v.centeredSlides,nt=i.params.virtual,tt=nt.addSlidesBefore,it=nt.addSlidesAfter,f=i.virtual,p=f.from,l=f.to,s=f.slides,et=f.slidesGrid,rt=f.renderSlide,ot=f.offset,w,b,k,d,g,a,o,r;i.updateActiveIndex();w=i.activeIndex||0;b=i.rtlTranslate?"right":i.isHorizontal()?"left":"top";ft?(k=Math.floor(y/2)+c+it,d=Math.floor(y/2)+c+tt):(k=y+(c-1)+it,d=c+tt);var u=Math.max((w||0)-d,0),e=Math.min((w||0)+k,s.length-1),h=(i.slidesGrid[u]||0)-(i.slidesGrid[0]||0);if(t(i.virtual,{from:u,to:e,offset:h,slidesGrid:i.slidesGrid}),p===u&&l===e&&!n){i.slidesGrid!==et&&h!==ot&&i.slides.css(b,h+"px");i.updateProgress();return}if(i.params.virtual.renderExternal){i.params.virtual.renderExternal.call(i,{offset:h,from:u,to:e,slides:function(){for(var t=[],n=u;n<=e;n+=1)t.push(s[n]);return t}()});i.params.virtual.renderExternalUpdate&&ut();return}if(g=[],a=[],n)i.$wrapperEl.find("."+i.params.slideClass).remove();else for(o=p;o<=l;o+=1)(o<u||o>e)&&i.$wrapperEl.find("."+i.params.slideClass+'[data-swiper-slide-index="'+o+'"]').remove();for(r=0;r<s.length;r+=1)r>=u&&r<=e&&(typeof l=="undefined"||n?a.push(r):(r>l&&a.push(r),r<p&&g.push(r)));a.forEach(function(n){i.$wrapperEl.append(rt(s[n],n))});g.sort(function(n,t){return t-n}).forEach(function(n){i.$wrapperEl.prepend(rt(s[n],n))});i.$wrapperEl.children(".swiper-slide").css(b,h+"px");ut()},renderSlide:function(t,i){var r=this,f=r.params.virtual,u;return f.cache&&r.virtual.cache[i]?r.virtual.cache[i]:(u=f.renderSlide?n(f.renderSlide.call(r,t,i)):n('<div class="'+r.params.slideClass+'" data-swiper-slide-index="'+i+'">'+t+"<\/div>"),u.attr("data-swiper-slide-index")||u.attr("data-swiper-slide-index",i),f.cache&&(r.virtual.cache[i]=u),u)},appendSlide:function(n){var i=this,t;if(typeof n=="object"&&"length"in n)for(t=0;t<n.length;t+=1)n[t]&&i.virtual.slides.push(n[t]);else i.virtual.slides.push(n);i.virtual.update(!0)},prependSlide:function(n){var t=this,f=t.activeIndex,e=f+1,o=1,i,r,u;if(Array.isArray(n)){for(i=0;i<n.length;i+=1)n[i]&&t.virtual.slides.unshift(n[i]);e=f+n.length;o=n.length}else t.virtual.slides.unshift(n);t.params.virtual.cache&&(r=t.virtual.cache,u={},Object.keys(r).forEach(function(n){var t=r[n],i=t.attr("data-swiper-slide-index");i&&t.attr("data-swiper-slide-index",parseInt(i,10)+1);u[parseInt(n,10)+o]=t}),t.virtual.cache=u);t.virtual.update(!0);t.slideTo(e,0)},removeSlide:function(n){var i=this,t,r;if(typeof n!="undefined"&&n!==null){if(t=i.activeIndex,Array.isArray(n))for(r=n.length-1;r>=0;r-=1)i.virtual.slides.splice(n[r],1),i.params.virtual.cache&&delete i.virtual.cache[n[r]],n[r]<t&&(t-=1),t=Math.max(t,0);else i.virtual.slides.splice(n,1),i.params.virtual.cache&&delete i.virtual.cache[n],n<t&&(t-=1),t=Math.max(t,0);i.virtual.update(!0);i.slideTo(t,0)}},removeAllSlides:function(){var n=this;n.virtual.slides=[];n.params.virtual.cache&&(n.virtual.cache={});n.virtual.update(!0);n.slideTo(0,0)}},so={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}},create:function(){var n=this;f(n,{virtual:u({},oo,{slides:n.params.virtual.slides,cache:{}})})},on:{beforeInit:function(n){if(n.params.virtual.enabled){n.classNames.push(n.params.containerModifierClass+"virtual");var i={watchSlidesProgress:!0};t(n.params,i);t(n.originalParams,i);n.params.initialSlide||n.virtual.update()}},setTranslate:function(n){n.params.virtual.enabled&&n.virtual.update()}}},ho={handle:function(n){var t=this,d=i(),v=r(),c=t.rtlTranslate,u=n,b,k,w,h;u.originalEvent&&(u=u.originalEvent);var e=u.keyCode||u.charCode,g=t.params.keyboard.pageUpDown,o=g&&e===33,s=g&&e===34,l=e===37,a=e===39,y=e===38,p=e===40;if(!t.allowSlideNext&&(t.isHorizontal()&&a||t.isVertical()&&p||s)||!t.allowSlidePrev&&(t.isHorizontal()&&l||t.isVertical()&&y||o))return!1;if(u.shiftKey||u.altKey||u.ctrlKey||u.metaKey||v.activeElement&&v.activeElement.nodeName&&(v.activeElement.nodeName.toLowerCase()==="input"||v.activeElement.nodeName.toLowerCase()==="textarea"))return undefined;if(t.params.keyboard.onlyInViewport&&(o||s||l||a||y||p)){if(b=!1,t.$el.parents("."+t.params.slideClass).length>0&&t.$el.parents("."+t.params.slideActiveClass).length===0)return undefined;var nt=d.innerWidth,tt=d.innerHeight,f=t.$el.offset();for(c&&(f.left-=t.$el[0].scrollLeft),k=[[f.left,f.top],[f.left+t.width,f.top],[f.left,f.top+t.height],[f.left+t.width,f.top+t.height]],w=0;w<k.length;w+=1)if(h=k[w],h[0]>=0&&h[0]<=nt&&h[1]>=0&&h[1]<=tt){if(h[0]===0&&h[1]===0)continue;b=!0}if(!b)return undefined}return t.isHorizontal()?((o||s||l||a)&&(u.preventDefault?u.preventDefault():u.returnValue=!1),((s||a)&&!c||(o||l)&&c)&&t.slideNext(),((o||l)&&!c||(s||a)&&c)&&t.slidePrev()):((o||s||y||p)&&(u.preventDefault?u.preventDefault():u.returnValue=!1),(s||p)&&t.slideNext(),(o||y)&&t.slidePrev()),t.emit("keyPress",e),undefined},enable:function(){var t=this,i=r();if(!t.keyboard.enabled){n(i).on("keydown",t.keyboard.handle);t.keyboard.enabled=!0}},disable:function(){var t=this,i=r();t.keyboard.enabled&&(n(i).off("keydown",t.keyboard.handle),t.keyboard.enabled=!1)}},co={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}},create:function(){var n=this;f(n,{keyboard:u({enabled:!1},ho)})},on:{init:function(n){n.params.keyboard.enabled&&n.keyboard.enable()},destroy:function(n){n.keyboard.enabled&&n.keyboard.disable()}}};var o={lastScrollTime:e(),lastEventBeforeSnap:undefined,recentWheelEvents:[],event:function(){var n=i();return n.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":lo()?"wheel":"mousewheel"},normalize:function(n){var f=10,e=40,o=800,u=0,r=0,t=0,i=0;return"detail"in n&&(r=n.detail),"wheelDelta"in n&&(r=-n.wheelDelta/120),"wheelDeltaY"in n&&(r=-n.wheelDeltaY/120),"wheelDeltaX"in n&&(u=-n.wheelDeltaX/120),"axis"in n&&n.axis===n.HORIZONTAL_AXIS&&(u=r,r=0),t=u*f,i=r*f,"deltaY"in n&&(i=n.deltaY),"deltaX"in n&&(t=n.deltaX),n.shiftKey&&!t&&(t=i,i=0),(t||i)&&n.deltaMode&&(n.deltaMode===1?(t*=e,i*=e):(t*=o,i*=o)),t&&!u&&(u=t<1?-1:1),i&&!r&&(r=i<1?-1:1),{spinX:u,spinY:r,pixelX:t,pixelY:i}},handleMouseEnter:function(){var n=this;n.mouseEntered=!0},handleMouseLeave:function(){var n=this;n.mouseEntered=!1},handle:function(t){var f=t,nt=!0,i=this,p=i.params.mousewheel,d,a,l,v,w,u,k,g,rt;if(i.params.cssMode&&f.preventDefault(),d=i.$el,i.params.mousewheel.eventsTarget!=="container"&&(d=n(i.params.mousewheel.eventsTarget)),!i.mouseEntered&&!d[0].contains(f.target)&&!p.releaseOnEdges)return!0;f.originalEvent&&(f=f.originalEvent);var r=0,tt=i.rtlTranslate?-1:1,c=o.normalize(f);if(p.forceToAxis)if(i.isHorizontal())if(Math.abs(c.pixelX)>Math.abs(c.pixelY))r=-c.pixelX*tt;else return!0;else if(Math.abs(c.pixelY)>Math.abs(c.pixelX))r=-c.pixelY;else return!0;else r=Math.abs(c.pixelX)>Math.abs(c.pixelY)?-c.pixelX*tt:-c.pixelY;if(r===0)return!0;if(p.invert&&(r=-r),a=i.getTranslate()+r*p.sensitivity,a>=i.minTranslate()&&(a=i.minTranslate()),a<=i.maxTranslate()&&(a=i.maxTranslate()),nt=i.params.loop?!0:!(a===i.minTranslate()||a===i.maxTranslate()),nt&&i.params.nested&&f.stopPropagation(),i.params.freeMode){var s={time:e(),delta:Math.abs(r),direction:Math.sign(r)},b=i.mousewheel.lastEventBeforeSnap,it=b&&s.time<b.time+500&&s.delta<=b.delta&&s.direction===b.direction;if(!it){i.mousewheel.lastEventBeforeSnap=undefined;i.params.loop&&i.loopFix();var y=i.getTranslate()+r*p.sensitivity,ut=i.isBeginning,ft=i.isEnd;if(y>=i.minTranslate()&&(y=i.minTranslate()),y<=i.maxTranslate()&&(y=i.maxTranslate()),i.setTransition(0),i.setTranslate(y),i.updateProgress(),i.updateActiveIndex(),i.updateSlidesClasses(),(!ut&&i.isBeginning||!ft&&i.isEnd)&&i.updateSlidesClasses(),i.params.freeModeSticky&&(clearTimeout(i.mousewheel.timeout),i.mousewheel.timeout=undefined,u=i.mousewheel.recentWheelEvents,u.length>=15&&u.shift(),k=u.length?u[u.length-1]:undefined,g=u[0],u.push(s),k&&(s.delta>k.delta||s.direction!==k.direction)?u.splice(0):u.length>=15&&s.time-g.time<500&&g.delta-s.delta>=1&&s.delta<=6&&(rt=r>0?.8:.2,i.mousewheel.lastEventBeforeSnap=s,u.splice(0),i.mousewheel.timeout=h(function(){i.slideToClosest(i.params.speed,!0,undefined,rt)},0)),i.mousewheel.timeout||(i.mousewheel.timeout=h(function(){i.mousewheel.lastEventBeforeSnap=s;u.splice(0);i.slideToClosest(i.params.speed,!0,undefined,.5)},500))),it||i.emit("scroll",f),i.params.autoplay&&i.params.autoplayDisableOnInteraction&&i.autoplay.stop(),y===i.minTranslate()||y===i.maxTranslate())return!0}}else if(l={time:e(),delta:Math.abs(r),direction:Math.sign(r),raw:t},v=i.mousewheel.recentWheelEvents,v.length>=2&&v.shift(),w=v.length?v[v.length-1]:undefined,v.push(l),w?(l.direction!==w.direction||l.delta>w.delta||l.time>w.time+150)&&i.mousewheel.animateSlider(l):i.mousewheel.animateSlider(l),i.mousewheel.releaseScroll(l))return!0;return f.preventDefault?f.preventDefault():f.returnValue=!1,!1},animateSlider:function(n){var t=this,r=i();return this.params.mousewheel.thresholdDelta&&n.delta<this.params.mousewheel.thresholdDelta?!1:this.params.mousewheel.thresholdTime&&e()-t.mousewheel.lastScrollTime<this.params.mousewheel.thresholdTime?!1:n.delta>=6&&e()-t.mousewheel.lastScrollTime<60?!0:(n.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),t.emit("scroll",n.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),t.emit("scroll",n.raw)),t.mousewheel.lastScrollTime=(new r.Date).getTime(),!1)},releaseScroll:function(n){var t=this,i=t.params.mousewheel;if(n.direction<0){if(t.isEnd&&!t.params.loop&&i.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&i.releaseOnEdges)return!0;return!1},enable:function(){var t=this,r=o.event(),i;if(t.params.cssMode)return t.wrapperEl.removeEventListener(r,t.mousewheel.handle),!0;if(!r||t.mousewheel.enabled)return!1;i=t.$el;t.params.mousewheel.eventsTarget!=="container"&&(i=n(t.params.mousewheel.eventsTarget));i.on("mouseenter",t.mousewheel.handleMouseEnter);i.on("mouseleave",t.mousewheel.handleMouseLeave);i.on(r,t.mousewheel.handle);return t.mousewheel.enabled=!0,!0},disable:function(){var t=this,i=o.event(),r;return t.params.cssMode?(t.wrapperEl.addEventListener(i,t.mousewheel.handle),!0):i?t.mousewheel.enabled?(r=t.$el,t.params.mousewheel.eventsTarget!=="container"&&(r=n(t.params.mousewheel.eventsTarget)),r.off(i,t.mousewheel.handle),t.mousewheel.enabled=!1,!0):!1:!1}},ao={name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}},create:function(){var n=this;f(n,{mousewheel:{enabled:!1,lastScrollTime:e(),lastEventBeforeSnap:undefined,recentWheelEvents:[],enable:o.enable,disable:o.disable,handle:o.handle,handleMouseEnter:o.handleMouseEnter,handleMouseLeave:o.handleMouseLeave,animateSlider:o.animateSlider,releaseScroll:o.releaseScroll}})},on:{init:function(n){!n.params.mousewheel.enabled&&n.params.cssMode&&n.mousewheel.disable();n.params.mousewheel.enabled&&n.mousewheel.enable()},destroy:function(n){n.params.cssMode&&n.mousewheel.enable();n.mousewheel.enabled&&n.mousewheel.disable()}}},vo={update:function(){var n=this,t=n.params.navigation;if(!n.params.loop){var u=n.navigation,i=u.$nextEl,r=u.$prevEl;r&&r.length>0&&(n.isBeginning?r.addClass(t.disabledClass):r.removeClass(t.disabledClass),r[n.params.watchOverflow&&n.isLocked?"addClass":"removeClass"](t.lockClass));i&&i.length>0&&(n.isEnd?i.addClass(t.disabledClass):i.removeClass(t.disabledClass),i[n.params.watchOverflow&&n.isLocked?"addClass":"removeClass"](t.lockClass))}},onPrevClick:function(n){var t=this;(n.preventDefault(),!t.isBeginning||t.params.loop)&&t.slidePrev()},onNextClick:function(n){var t=this;(n.preventDefault(),!t.isEnd||t.params.loop)&&t.slideNext()},init:function(){var r=this,i=r.params.navigation,u,f;if(i.nextEl||i.prevEl){if(i.nextEl&&(u=n(i.nextEl),r.params.uniqueNavElements&&typeof i.nextEl=="string"&&u.length>1&&r.$el.find(i.nextEl).length===1&&(u=r.$el.find(i.nextEl))),i.prevEl&&(f=n(i.prevEl),r.params.uniqueNavElements&&typeof i.prevEl=="string"&&f.length>1&&r.$el.find(i.prevEl).length===1&&(f=r.$el.find(i.prevEl))),u&&u.length>0)u.on("click",r.navigation.onNextClick);if(f&&f.length>0)f.on("click",r.navigation.onPrevClick);t(r.navigation,{$nextEl:u,nextEl:u&&u[0],$prevEl:f,prevEl:f&&f[0]})}},destroy:function(){var n=this,r=n.navigation,t=r.$nextEl,i=r.$prevEl;t&&t.length&&(t.off("click",n.navigation.onNextClick),t.removeClass(n.params.navigation.disabledClass));i&&i.length&&(i.off("click",n.navigation.onPrevClick),i.removeClass(n.params.navigation.disabledClass))}},yo={name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){var n=this;f(n,{navigation:u({},vo)})},on:{init:function(n){n.navigation.init();n.navigation.update()},toEdge:function(n){n.navigation.update()},fromEdge:function(n){n.navigation.update()},destroy:function(n){n.navigation.destroy()},click:function(t,i){var e=t.navigation,r=e.$nextEl,u=e.$prevEl,f;!t.params.navigation.hideOnClick||n(i.target).is(u)||n(i.target).is(r)||(r?f=r.hasClass(t.params.navigation.hiddenClass):u&&(f=u.hasClass(t.params.navigation.hiddenClass)),f===!0?t.emit("navigationShow"):t.emit("navigationHide"),r&&r.toggleClass(t.params.navigation.hiddenClass),u&&u.toggleClass(t.params.navigation.hiddenClass))}}},po={update:function(){var t=this,nt=t.rtl,i=t.params.pagination,u,e,s,p,a,w,v,y,h,c,b;if(i.el&&t.pagination.el&&t.pagination.$el&&t.pagination.$el.length!==0){var l=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,f=t.pagination.$el,r,o=t.params.loop?Math.ceil((l-t.loopedSlides*2)/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(r=Math.ceil((t.activeIndex-t.loopedSlides)/t.params.slidesPerGroup),r>l-1-t.loopedSlides*2&&(r-=l-t.loopedSlides*2),r>o-1&&(r-=o),r<0&&t.params.paginationType!=="bullets"&&(r=o+r)):r=typeof t.snapIndex!="undefined"?t.snapIndex:t.activeIndex||0,i.type==="bullets"&&t.pagination.bullets&&t.pagination.bullets.length>0){if(u=t.pagination.bullets,i.dynamicBullets&&(t.pagination.bulletSize=u.eq(0)[t.isHorizontal()?"outerWidth":"outerHeight"](!0),f.css(t.isHorizontal()?"width":"height",t.pagination.bulletSize*(i.dynamicMainBullets+4)+"px"),i.dynamicMainBullets>1&&t.previousIndex!==undefined&&(t.pagination.dynamicBulletIndex+=r-t.previousIndex,t.pagination.dynamicBulletIndex>i.dynamicMainBullets-1?t.pagination.dynamicBulletIndex=i.dynamicMainBullets-1:t.pagination.dynamicBulletIndex<0&&(t.pagination.dynamicBulletIndex=0)),e=r-t.pagination.dynamicBulletIndex,s=e+(Math.min(u.length,i.dynamicMainBullets)-1),p=(s+e)/2),u.removeClass(i.bulletActiveClass+" "+i.bulletActiveClass+"-next "+i.bulletActiveClass+"-next-next "+i.bulletActiveClass+"-prev "+i.bulletActiveClass+"-prev-prev "+i.bulletActiveClass+"-main"),f.length>1)u.each(function(t){var u=n(t),f=u.index();f===r&&u.addClass(i.bulletActiveClass);i.dynamicBullets&&(f>=e&&f<=s&&u.addClass(i.bulletActiveClass+"-main"),f===e&&u.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),f===s&&u.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next"))});else if(a=u.eq(r),w=a.index(),a.addClass(i.bulletActiveClass),i.dynamicBullets){for(v=u.eq(e),y=u.eq(s),h=e;h<=s;h+=1)u.eq(h).addClass(i.bulletActiveClass+"-main");if(t.params.loop)if(w>=u.length-i.dynamicMainBullets){for(c=i.dynamicMainBullets;c>=0;c-=1)u.eq(u.length-c).addClass(i.bulletActiveClass+"-main");u.eq(u.length-i.dynamicMainBullets-1).addClass(i.bulletActiveClass+"-prev")}else v.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),y.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next");else v.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),y.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next")}if(i.dynamicBullets){var tt=Math.min(u.length,i.dynamicMainBullets+4),it=(t.pagination.bulletSize*tt-t.pagination.bulletSize)/2-p*t.pagination.bulletSize,rt=nt?"right":"left";u.css(t.isHorizontal()?rt:"top",it+"px")}}if(i.type==="fraction"&&(f.find("."+i.currentClass).text(i.formatFractionCurrent(r+1)),f.find("."+i.totalClass).text(i.formatFractionTotal(o))),i.type==="progressbar"){b=i.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";var k=(r+1)/o,d=1,g=1;b==="horizontal"?d=k:g=k;f.find("."+i.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+d+") scaleY("+g+")").transition(t.params.speed)}i.type==="custom"&&i.renderCustom?(f.html(i.renderCustom(t,r+1,o)),t.emit("paginationRender",f[0])):t.emit("paginationUpdate",f[0]);f[t.params.watchOverflow&&t.isLocked?"addClass":"removeClass"](i.lockClass)}},render:function(){var t=this,n=t.params.pagination,u,f;if(n.el&&t.pagination.el&&t.pagination.$el&&t.pagination.$el.length!==0){var e=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,r=t.pagination.$el,i="";if(n.type==="bullets"){for(u=t.params.loop?Math.ceil((e-t.loopedSlides*2)/t.params.slidesPerGroup):t.snapGrid.length,t.params.freeMode&&!t.params.loop&&u>e&&(u=e),f=0;f<u;f+=1)i+=n.renderBullet?n.renderBullet.call(t,f,n.bulletClass):"<"+n.bulletElement+' class="'+n.bulletClass+'"><\/'+n.bulletElement+">";r.html(i);t.pagination.bullets=r.find("."+n.bulletClass.replace(/ /g,"."))}n.type==="fraction"&&(i=n.renderFraction?n.renderFraction.call(t,n.currentClass,n.totalClass):'<span class="'+n.currentClass+'"><\/span> / '+('<span class="'+n.totalClass+'"><\/span>'),r.html(i));n.type==="progressbar"&&(i=n.renderProgressbar?n.renderProgressbar.call(t,n.progressbarFillClass):'<span class="'+n.progressbarFillClass+'"><\/span>',r.html(i));n.type!=="custom"&&t.emit("paginationRender",t.pagination.$el[0])}},init:function(){var u=this,i=u.params.pagination,r;if(i.el&&(r=n(i.el),r.length!==0)){if(u.params.uniqueNavElements&&typeof i.el=="string"&&r.length>1&&(r=u.$el.find(i.el)),i.type==="bullets"&&i.clickable&&r.addClass(i.clickableClass),r.addClass(i.modifierClass+i.type),i.type==="bullets"&&i.dynamicBullets&&(r.addClass(""+i.modifierClass+i.type+"-dynamic"),u.pagination.dynamicBulletIndex=0,i.dynamicMainBullets<1&&(i.dynamicMainBullets=1)),i.type==="progressbar"&&i.progressbarOpposite&&r.addClass(i.progressbarOppositeClass),i.clickable)r.on("click","."+i.bulletClass.replace(/ /g,"."),function(t){t.preventDefault();var i=n(this).index()*u.params.slidesPerGroup;u.params.loop&&(i+=u.loopedSlides);u.slideTo(i)});t(u.pagination,{$el:r,el:r[0]})}},destroy:function(){var n=this,t=n.params.pagination,i;t.el&&n.pagination.el&&n.pagination.$el&&n.pagination.$el.length!==0&&(i=n.pagination.$el,i.removeClass(t.hiddenClass),i.removeClass(t.modifierClass+t.type),n.pagination.bullets&&n.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&i.off("click","."+t.bulletClass.replace(/ /g,".")))}},wo={name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(n){return n},formatFractionTotal:function(n){return n},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){var n=this;f(n,{pagination:u({dynamicBulletIndex:0},po)})},on:{init:function(n){n.pagination.init();n.pagination.render();n.pagination.update()},activeIndexChange:function(n){n.params.loop?n.pagination.update():typeof n.snapIndex=="undefined"&&n.pagination.update()},snapIndexChange:function(n){n.params.loop||n.pagination.update()},slidesLengthChange:function(n){n.params.loop&&(n.pagination.render(),n.pagination.update())},snapGridLengthChange:function(n){n.params.loop||(n.pagination.render(),n.pagination.update())},destroy:function(n){n.pagination.destroy()},click:function(t,i){if(t.params.pagination.el&&t.params.pagination.hideOnClick&&t.pagination.$el.length>0&&!n(i.target).hasClass(t.params.pagination.bulletClass)){var r=t.pagination.$el.hasClass(t.params.pagination.hiddenClass);r===!0?t.emit("paginationShow"):t.emit("paginationHide");t.pagination.$el.toggleClass(t.params.pagination.hiddenClass)}}}},bo={setTranslate:function(){var t=this;if(t.params.scrollbar.el&&t.scrollbar.el){var f=t.scrollbar,s=t.rtlTranslate,h=t.progress,i=f.dragSize,u=f.trackSize,e=f.$dragEl,o=f.$el,c=t.params.scrollbar,r=i,n=(u-i)*h;s?(n=-n,n>0?(r=i-n,n=0):-n+i>u&&(r=u+n)):n<0?(r=i+n,n=0):n+i>u&&(r=u-n);t.isHorizontal()?(e.transform("translate3d("+n+"px, 0, 0)"),e[0].style.width=r+"px"):(e.transform("translate3d(0px, "+n+"px, 0)"),e[0].style.height=r+"px");c.hide&&(clearTimeout(t.scrollbar.timeout),o[0].style.opacity=1,t.scrollbar.timeout=setTimeout(function(){o[0].style.opacity=0;o.transition(400)},1e3))}},setTransition:function(n){var t=this;t.params.scrollbar.el&&t.scrollbar.el&&t.scrollbar.$dragEl.transition(n)},updateSize:function(){var n=this;if(n.params.scrollbar.el&&n.scrollbar.el){var i=n.scrollbar,r=i.$dragEl,u=i.$el;r[0].style.width="";r[0].style.height="";var o=n.isHorizontal()?u[0].offsetWidth:u[0].offsetHeight,f=n.size/n.virtualSize,s=f*(o/n.size),e;e=n.params.scrollbar.dragSize==="auto"?o*f:parseInt(n.params.scrollbar.dragSize,10);n.isHorizontal()?r[0].style.width=e+"px":r[0].style.height=e+"px";u[0].style.display=f>=1?"none":"";n.params.scrollbar.hide&&(u[0].style.opacity=0);t(i,{trackSize:o,divider:f,moveDivider:s,dragSize:e});i.$el[n.params.watchOverflow&&n.isLocked?"addClass":"removeClass"](n.params.scrollbar.lockClass)}},getPointerPosition:function(n){var t=this;return t.isHorizontal()?n.type==="touchstart"||n.type==="touchmove"?n.targetTouches[0].clientX:n.clientX:n.type==="touchstart"||n.type==="touchmove"?n.targetTouches[0].clientY:n.clientY},setDragPosition:function(n){var t=this,r=t.scrollbar,o=t.rtlTranslate,s=r.$el,f=r.dragSize,h=r.trackSize,e=r.dragStartPos,i,u;i=(r.getPointerPosition(n)-s.offset()[t.isHorizontal()?"left":"top"]-(e!==null?e:f/2))/(h-f);i=Math.max(Math.min(i,1),0);o&&(i=1-i);u=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*i;t.updateProgress(u);t.setTranslate(u);t.updateActiveIndex();t.updateSlidesClasses()},onDragStart:function(n){var t=this,f=t.params.scrollbar,i=t.scrollbar,e=t.$wrapperEl,u=i.$el,r=i.$dragEl;t.scrollbar.isTouched=!0;t.scrollbar.dragStartPos=n.target===r[0]||n.target===r?i.getPointerPosition(n)-n.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null;n.preventDefault();n.stopPropagation();e.transition(100);r.transition(100);i.setDragPosition(n);clearTimeout(t.scrollbar.dragTimeout);u.transition(0);f.hide&&u.css("opacity",1);t.params.cssMode&&t.$wrapperEl.css("scroll-snap-type","none");t.emit("scrollbarDragStart",n)},onDragMove:function(n){var t=this,i=t.scrollbar,r=t.$wrapperEl,u=i.$el,f=i.$dragEl;t.scrollbar.isTouched&&(n.preventDefault?n.preventDefault():n.returnValue=!1,i.setDragPosition(n),r.transition(0),u.transition(0),f.transition(0),t.emit("scrollbarDragMove",n))},onDragEnd:function(n){var t=this,i=t.params.scrollbar,u=t.scrollbar,f=t.$wrapperEl,r=u.$el;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,t.params.cssMode&&(t.$wrapperEl.css("scroll-snap-type",""),f.transition("")),i.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=h(function(){r.css("opacity",0);r.transition(400)},1e3)),t.emit("scrollbarDragEnd",n),i.snapOnRelease&&t.slideToClosest())},enableDraggable:function(){var n=this;if(n.params.scrollbar.el){var o=r(),c=n.scrollbar,u=n.touchEventsTouch,f=n.touchEventsDesktop,s=n.params,e=n.support,l=c.$el,t=l[0],i=e.passiveListener&&s.passiveListeners?{passive:!1,capture:!1}:!1,h=e.passiveListener&&s.passiveListeners?{passive:!0,capture:!1}:!1;t&&(e.touch?(t.addEventListener(u.start,n.scrollbar.onDragStart,i),t.addEventListener(u.move,n.scrollbar.onDragMove,i),t.addEventListener(u.end,n.scrollbar.onDragEnd,h)):(t.addEventListener(f.start,n.scrollbar.onDragStart,i),o.addEventListener(f.move,n.scrollbar.onDragMove,i),o.addEventListener(f.end,n.scrollbar.onDragEnd,h)))}},disableDraggable:function(){var n=this;if(n.params.scrollbar.el){var o=r(),c=n.scrollbar,u=n.touchEventsTouch,f=n.touchEventsDesktop,s=n.params,e=n.support,l=c.$el,t=l[0],i=e.passiveListener&&s.passiveListeners?{passive:!1,capture:!1}:!1,h=e.passiveListener&&s.passiveListeners?{passive:!0,capture:!1}:!1;t&&(e.touch?(t.removeEventListener(u.start,n.scrollbar.onDragStart,i),t.removeEventListener(u.move,n.scrollbar.onDragMove,i),t.removeEventListener(u.end,n.scrollbar.onDragEnd,h)):(t.removeEventListener(f.start,n.scrollbar.onDragStart,i),o.removeEventListener(f.move,n.scrollbar.onDragMove,i),o.removeEventListener(f.end,n.scrollbar.onDragEnd,h)))}},init:function(){var i=this,u;if(i.params.scrollbar.el){var e=i.scrollbar,o=i.$el,f=i.params.scrollbar,r=n(f.el);i.params.uniqueNavElements&&typeof f.el=="string"&&r.length>1&&o.find(f.el).length===1&&(r=o.find(f.el));u=r.find("."+i.params.scrollbar.dragClass);u.length===0&&(u=n('<div class="'+i.params.scrollbar.dragClass+'"><\/div>'),r.append(u));t(e,{$el:r,el:r[0],$dragEl:u,dragEl:u[0]});f.draggable&&e.enableDraggable()}},destroy:function(){var n=this;n.scrollbar.disableDraggable()}},ko={name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){var n=this;f(n,{scrollbar:u({isTouched:!1,timeout:null,dragTimeout:null},bo)})},on:{init:function(n){n.scrollbar.init();n.scrollbar.updateSize();n.scrollbar.setTranslate()},update:function(n){n.scrollbar.updateSize()},resize:function(n){n.scrollbar.updateSize()},observerUpdate:function(n){n.scrollbar.updateSize()},setTranslate:function(n){n.scrollbar.setTranslate()},setTransition:function(n,t){n.scrollbar.setTransition(t)},destroy:function(n){n.scrollbar.destroy()}}},go={setTransform:function(t,i){var s=this,v=s.rtl,f=n(t),h=v?-1:1,c=f.attr("data-swiper-parallax")||"0",r=f.attr("data-swiper-parallax-x"),u=f.attr("data-swiper-parallax-y"),e=f.attr("data-swiper-parallax-scale"),o=f.attr("data-swiper-parallax-opacity"),l,a;r||u?(r=r||"0",u=u||"0"):s.isHorizontal()?(r=c,u="0"):(u=c,r="0");r=r.indexOf("%")>=0?parseInt(r,10)*i*h+"%":r*i*h+"px";u=u.indexOf("%")>=0?parseInt(u,10)*i+"%":u*i+"px";typeof o!="undefined"&&o!==null&&(l=o-(o-1)*(1-Math.abs(i)),f[0].style.opacity=l);typeof e=="undefined"||e===null?f.transform("translate3d("+r+", "+u+", 0px)"):(a=e-(e-1)*(1-Math.abs(i)),f.transform("translate3d("+r+", "+u+", 0px) scale("+a+")"))},setTranslate:function(){var t=this,r=t.$el,u=t.slides,i=t.progress,f=t.snapGrid;r.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(n){t.parallax.setTransform(n,i)});u.each(function(r,u){var e=r.progress;t.params.slidesPerGroup>1&&t.params.slidesPerView!=="auto"&&(e+=Math.ceil(u/2)-i*(f.length-1));e=Math.min(Math.max(e,-1),1);n(r).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(n){t.parallax.setTransform(n,e)})})},setTransition:function(t){t===void 0&&(t=this.params.speed);var i=this,r=i.$el;r.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(i){var r=n(i),u=parseInt(r.attr("data-swiper-parallax-duration"),10)||t;t===0&&(u=0);r.transition(u)})}},ns={name:"parallax",params:{parallax:{enabled:!1}},create:function(){var n=this;f(n,{parallax:u({},go)})},on:{beforeInit:function(n){n.params.parallax.enabled&&(n.params.watchSlidesProgress=!0,n.originalParams.watchSlidesProgress=!0)},init:function(n){n.params.parallax.enabled&&n.parallax.setTranslate()},setTranslate:function(n){n.params.parallax.enabled&&n.parallax.setTranslate()},setTransition:function(n,t){n.params.parallax.enabled&&n.parallax.setTransition(t)}}},ot={getDistanceBetweenTouches:function(n){if(n.targetTouches.length<2)return 1;var t=n.targetTouches[0].pageX,i=n.targetTouches[0].pageY,r=n.targetTouches[1].pageX,u=n.targetTouches[1].pageY;return Math.sqrt(Math.pow(r-t,2)+Math.pow(u-i,2))},onGestureStart:function(t){var r=this,e=r.support,f=r.params.zoom,u=r.zoom,i=u.gesture;if(u.fakeGestureTouched=!1,u.fakeGestureMoved=!1,!e.gestures){if(t.type!=="touchstart"||t.type==="touchstart"&&t.targetTouches.length<2)return;u.fakeGestureTouched=!0;i.scaleStart=ot.getDistanceBetweenTouches(t)}if((!i.$slideEl||!i.$slideEl.length)&&(i.$slideEl=n(t.target).closest("."+r.params.slideClass),i.$slideEl.length===0&&(i.$slideEl=r.slides.eq(r.activeIndex)),i.$imageEl=i.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),i.$imageWrapEl=i.$imageEl.parent("."+f.containerClass),i.maxRatio=i.$imageWrapEl.attr("data-swiper-zoom")||f.maxRatio,i.$imageWrapEl.length===0)){i.$imageEl=undefined;return}i.$imageEl&&i.$imageEl.transition(0);r.zoom.isScaling=!0},onGestureChange:function(n){var r=this,f=r.support,u=r.params.zoom,t=r.zoom,i=t.gesture;if(!f.gestures){if(n.type!=="touchmove"||n.type==="touchmove"&&n.targetTouches.length<2)return;t.fakeGestureMoved=!0;i.scaleMove=ot.getDistanceBetweenTouches(n)}if(!i.$imageEl||i.$imageEl.length===0){if(n.type==="gesturechange")t.onGestureStart(n);return}t.scale=f.gestures?n.scale*t.currentScale:i.scaleMove/i.scaleStart*t.currentScale;t.scale>i.maxRatio&&(t.scale=i.maxRatio-1+Math.pow(t.scale-i.maxRatio+1,.5));t.scale<u.minRatio&&(t.scale=u.minRatio+1-Math.pow(u.minRatio-t.scale+1,.5));i.$imageEl.transform("translate3d(0,0,0) scale("+t.scale+")")},onGestureEnd:function(n){var i=this,u=i.device,f=i.support,e=i.params.zoom,t=i.zoom,r=t.gesture;if(!f.gestures){if(!t.fakeGestureTouched||!t.fakeGestureMoved)return;if(n.type!=="touchend"||n.type==="touchend"&&n.changedTouches.length<2&&!u.android)return;t.fakeGestureTouched=!1;t.fakeGestureMoved=!1}r.$imageEl&&r.$imageEl.length!==0&&(t.scale=Math.max(Math.min(t.scale,r.maxRatio),e.minRatio),r.$imageEl.transition(i.params.speed).transform("translate3d(0,0,0) scale("+t.scale+")"),t.currentScale=t.scale,t.isScaling=!1,t.scale===1&&(r.$slideEl=undefined))},onTouchStart:function(n){var i=this,f=i.device,r=i.zoom,u=r.gesture,t=r.image;u.$imageEl&&u.$imageEl.length!==0&&(t.isTouched||(f.android&&n.cancelable&&n.preventDefault(),t.isTouched=!0,t.touchesStart.x=n.type==="touchstart"?n.targetTouches[0].pageX:n.pageX,t.touchesStart.y=n.type==="touchstart"?n.targetTouches[0].pageY:n.pageY))},onTouchMove:function(n){var f=this,u=f.zoom,r=u.gesture,t=u.image,i=u.velocity,e,o;if(r.$imageEl&&r.$imageEl.length!==0&&(f.allowClick=!1,t.isTouched&&r.$slideEl)&&(t.isMoved||(t.width=r.$imageEl[0].offsetWidth,t.height=r.$imageEl[0].offsetHeight,t.startX=g(r.$imageWrapEl[0],"x")||0,t.startY=g(r.$imageWrapEl[0],"y")||0,r.slideWidth=r.$slideEl[0].offsetWidth,r.slideHeight=r.$slideEl[0].offsetHeight,r.$imageWrapEl.transition(0),f.rtl&&(t.startX=-t.startX,t.startY=-t.startY)),e=t.width*u.scale,o=t.height*u.scale,!(e<r.slideWidth)||!(o<r.slideHeight))){if(t.minX=Math.min(r.slideWidth/2-e/2,0),t.maxX=-t.minX,t.minY=Math.min(r.slideHeight/2-o/2,0),t.maxY=-t.minY,t.touchesCurrent.x=n.type==="touchmove"?n.targetTouches[0].pageX:n.pageX,t.touchesCurrent.y=n.type==="touchmove"?n.targetTouches[0].pageY:n.pageY,!t.isMoved&&!u.isScaling){if(f.isHorizontal()&&(Math.floor(t.minX)===Math.floor(t.startX)&&t.touchesCurrent.x<t.touchesStart.x||Math.floor(t.maxX)===Math.floor(t.startX)&&t.touchesCurrent.x>t.touchesStart.x)){t.isTouched=!1;return}if(!f.isHorizontal()&&(Math.floor(t.minY)===Math.floor(t.startY)&&t.touchesCurrent.y<t.touchesStart.y||Math.floor(t.maxY)===Math.floor(t.startY)&&t.touchesCurrent.y>t.touchesStart.y)){t.isTouched=!1;return}}n.cancelable&&n.preventDefault();n.stopPropagation();t.isMoved=!0;t.currentX=t.touchesCurrent.x-t.touchesStart.x+t.startX;t.currentY=t.touchesCurrent.y-t.touchesStart.y+t.startY;t.currentX<t.minX&&(t.currentX=t.minX+1-Math.pow(t.minX-t.currentX+1,.8));t.currentX>t.maxX&&(t.currentX=t.maxX-1+Math.pow(t.currentX-t.maxX+1,.8));t.currentY<t.minY&&(t.currentY=t.minY+1-Math.pow(t.minY-t.currentY+1,.8));t.currentY>t.maxY&&(t.currentY=t.maxY-1+Math.pow(t.currentY-t.maxY+1,.8));i.prevPositionX||(i.prevPositionX=t.touchesCurrent.x);i.prevPositionY||(i.prevPositionY=t.touchesCurrent.y);i.prevTime||(i.prevTime=Date.now());i.x=(t.touchesCurrent.x-i.prevPositionX)/(Date.now()-i.prevTime)/2;i.y=(t.touchesCurrent.y-i.prevPositionY)/(Date.now()-i.prevTime)/2;Math.abs(t.touchesCurrent.x-i.prevPositionX)<2&&(i.x=0);Math.abs(t.touchesCurrent.y-i.prevPositionY)<2&&(i.y=0);i.prevPositionX=t.touchesCurrent.x;i.prevPositionY=t.touchesCurrent.y;i.prevTime=Date.now();r.$imageWrapEl.transform("translate3d("+t.currentX+"px, "+t.currentY+"px,0)")}},onTouchEnd:function(){var l=this,i=l.zoom,r=i.gesture,n=i.image,t=i.velocity,s,h,c;if(r.$imageEl&&r.$imageEl.length!==0){if(!n.isTouched||!n.isMoved){n.isTouched=!1;n.isMoved=!1;return}n.isTouched=!1;n.isMoved=!1;var u=300,f=300,a=t.x*u,e=n.currentX+a,v=t.y*f,o=n.currentY+v;t.x!==0&&(u=Math.abs((e-n.currentX)/t.x));t.y!==0&&(f=Math.abs((o-n.currentY)/t.y));s=Math.max(u,f);n.currentX=e;n.currentY=o;h=n.width*i.scale;c=n.height*i.scale;n.minX=Math.min(r.slideWidth/2-h/2,0);n.maxX=-n.minX;n.minY=Math.min(r.slideHeight/2-c/2,0);n.maxY=-n.minY;n.currentX=Math.max(Math.min(n.currentX,n.maxX),n.minX);n.currentY=Math.max(Math.min(n.currentY,n.maxY),n.minY);r.$imageWrapEl.transition(s).transform("translate3d("+n.currentX+"px, "+n.currentY+"px,0)")}},onTransitionEnd:function(){var t=this,i=t.zoom,n=i.gesture;n.$slideEl&&t.previousIndex!==t.activeIndex&&(n.$imageEl&&n.$imageEl.transform("translate3d(0,0,0) scale(1)"),n.$imageWrapEl&&n.$imageWrapEl.transform("translate3d(0,0,0)"),i.scale=1,i.currentScale=1,n.$slideEl=undefined,n.$imageEl=undefined,n.$imageWrapEl=undefined)},toggle:function(n){var i=this,t=i.zoom;t.scale&&t.scale!==1?t.out():t.in(n)},"in":function(n){var r=this,b=i(),u=r.zoom,o=r.params.zoom,t=u.gesture,c=u.image,l,a,k,d,g,nt,f,e,tt,it,rt,ut,s,h,v,y,p,w;(t.$slideEl||(t.$slideEl=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.$wrapperEl.children("."+r.params.slideActiveClass):r.slides.eq(r.activeIndex),t.$imageEl=t.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),t.$imageWrapEl=t.$imageEl.parent("."+o.containerClass)),t.$imageEl&&t.$imageEl.length!==0)&&(t.$slideEl.addClass(""+o.zoomedSlideClass),typeof c.touchesStart.x=="undefined"&&n?(l=n.type==="touchend"?n.changedTouches[0].pageX:n.pageX,a=n.type==="touchend"?n.changedTouches[0].pageY:n.pageY):(l=c.touchesStart.x,a=c.touchesStart.y),u.scale=t.$imageWrapEl.attr("data-swiper-zoom")||o.maxRatio,u.currentScale=t.$imageWrapEl.attr("data-swiper-zoom")||o.maxRatio,n?(p=t.$slideEl[0].offsetWidth,w=t.$slideEl[0].offsetHeight,k=t.$slideEl.offset().left+b.scrollX,d=t.$slideEl.offset().top+b.scrollY,g=k+p/2-l,nt=d+w/2-a,tt=t.$imageEl[0].offsetWidth,it=t.$imageEl[0].offsetHeight,rt=tt*u.scale,ut=it*u.scale,s=Math.min(p/2-rt/2,0),h=Math.min(w/2-ut/2,0),v=-s,y=-h,f=g*u.scale,e=nt*u.scale,f<s&&(f=s),f>v&&(f=v),e<h&&(e=h),e>y&&(e=y)):(f=0,e=0),t.$imageWrapEl.transition(300).transform("translate3d("+f+"px, "+e+"px,0)"),t.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+u.scale+")"))},out:function(){var t=this,i=t.zoom,r=t.params.zoom,n=i.gesture;(n.$slideEl||(n.$slideEl=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.$wrapperEl.children("."+t.params.slideActiveClass):t.slides.eq(t.activeIndex),n.$imageEl=n.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),n.$imageWrapEl=n.$imageEl.parent("."+r.containerClass)),n.$imageEl&&n.$imageEl.length!==0)&&(i.scale=1,i.currentScale=1,n.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),n.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),n.$slideEl.removeClass(""+r.zoomedSlideClass),n.$slideEl=undefined)},toggleGestures:function(n){var i=this,t=i.zoom,r=t.slideSelector,u=t.passiveListener;i.$wrapperEl[n]("gesturestart",r,t.onGestureStart,u);i.$wrapperEl[n]("gesturechange",r,t.onGestureChange,u);i.$wrapperEl[n]("gestureend",r,t.onGestureEnd,u)},enableGestures:function(){this.zoom.gesturesEnabled||(this.zoom.gesturesEnabled=!0,this.zoom.toggleGestures("on"))},disableGestures:function(){this.zoom.gesturesEnabled&&(this.zoom.gesturesEnabled=!1,this.zoom.toggleGestures("off"))},enable:function(){var n=this,u=n.support,t=n.zoom;if(!t.enabled){t.enabled=!0;var i=n.touchEvents.start==="touchstart"&&u.passiveListener&&n.params.passiveListeners?{passive:!0,capture:!1}:!1,f=u.passiveListener?{passive:!1,capture:!0}:!0,r="."+n.params.slideClass;if(n.zoom.passiveListener=i,n.zoom.slideSelector=r,u.gestures){n.$wrapperEl.on(n.touchEvents.start,n.zoom.enableGestures,i);n.$wrapperEl.on(n.touchEvents.end,n.zoom.disableGestures,i)}else if(n.touchEvents.start==="touchstart"){n.$wrapperEl.on(n.touchEvents.start,r,t.onGestureStart,i);n.$wrapperEl.on(n.touchEvents.move,r,t.onGestureChange,f);n.$wrapperEl.on(n.touchEvents.end,r,t.onGestureEnd,i);if(n.touchEvents.cancel)n.$wrapperEl.on(n.touchEvents.cancel,r,t.onGestureEnd,i)}n.$wrapperEl.on(n.touchEvents.move,"."+n.params.zoom.containerClass,t.onTouchMove,f)}},disable:function(){var n=this,t=n.zoom,r;if(t.enabled){r=n.support;n.zoom.enabled=!1;var i=n.touchEvents.start==="touchstart"&&r.passiveListener&&n.params.passiveListeners?{passive:!0,capture:!1}:!1,f=r.passiveListener?{passive:!1,capture:!0}:!0,u="."+n.params.slideClass;r.gestures?(n.$wrapperEl.off(n.touchEvents.start,n.zoom.enableGestures,i),n.$wrapperEl.off(n.touchEvents.end,n.zoom.disableGestures,i)):n.touchEvents.start==="touchstart"&&(n.$wrapperEl.off(n.touchEvents.start,u,t.onGestureStart,i),n.$wrapperEl.off(n.touchEvents.move,u,t.onGestureChange,f),n.$wrapperEl.off(n.touchEvents.end,u,t.onGestureEnd,i),n.touchEvents.cancel&&n.$wrapperEl.off(n.touchEvents.cancel,u,t.onGestureEnd,i));n.$wrapperEl.off(n.touchEvents.move,"."+n.params.zoom.containerClass,t.onTouchMove,f)}}},ts={name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var n=this,t;f(n,{zoom:u({enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:undefined,slideWidth:undefined,slideHeight:undefined,$imageEl:undefined,$imageWrapEl:undefined,maxRatio:3},image:{isTouched:undefined,isMoved:undefined,currentX:undefined,currentY:undefined,minX:undefined,minY:undefined,maxX:undefined,maxY:undefined,width:undefined,height:undefined,startX:undefined,startY:undefined,touchesStart:{},touchesCurrent:{}},velocity:{x:undefined,y:undefined,prevPositionX:undefined,prevPositionY:undefined,prevTime:undefined}},ot)});t=1;Object.defineProperty(n.zoom,"scale",{get:function(){return t},set:function(i){if(t!==i){var r=n.zoom.gesture.$imageEl?n.zoom.gesture.$imageEl[0]:undefined,u=n.zoom.gesture.$slideEl?n.zoom.gesture.$slideEl[0]:undefined;n.emit("zoomChange",i,r,u)}t=i}})},on:{init:function(n){n.params.zoom.enabled&&n.zoom.enable()},destroy:function(n){n.zoom.disable()},touchStart:function(n,t){if(n.zoom.enabled)n.zoom.onTouchStart(t)},touchEnd:function(n,t){if(n.zoom.enabled)n.zoom.onTouchEnd(t)},doubleTap:function(n,t){n.params.zoom.enabled&&n.zoom.enabled&&n.params.zoom.toggle&&n.zoom.toggle(t)},transitionEnd:function(n){n.zoom.enabled&&n.params.zoom.enabled&&n.zoom.onTransitionEnd()},slideChange:function(n){n.zoom.enabled&&n.params.zoom.enabled&&n.params.cssMode&&n.zoom.onTransitionEnd()}}},is={loadInSlide:function(t,i){var r,u;if((i===void 0&&(i=!0),r=this,u=r.params.lazy,typeof t!="undefined")&&r.slides.length!==0){var o=r.virtual&&r.params.virtual.enabled,f=o?r.$wrapperEl.children("."+r.params.slideClass+'[data-swiper-slide-index="'+t+'"]'):r.slides.eq(t),e=f.find("."+u.elementClass+":not(."+u.loadedClass+"):not(."+u.loadingClass+")");(!f.hasClass(u.elementClass)||f.hasClass(u.loadedClass)||f.hasClass(u.loadingClass)||e.push(f[0]),e.length!==0)&&e.each(function(t){var e=n(t);e.addClass(u.loadingClass);var o=e.attr("data-background"),s=e.attr("data-src"),h=e.attr("data-srcset"),c=e.attr("data-sizes"),l=e.parent("picture");r.loadImage(e[0],s||o,h,c,!1,function(){var t,a,v;typeof r!="undefined"&&r!==null&&r&&(!r||r.params)&&!r.destroyed&&(o?(e.css("background-image",'url("'+o+'")'),e.removeAttr("data-background")):(h&&(e.attr("srcset",h),e.removeAttr("data-srcset")),c&&(e.attr("sizes",c),e.removeAttr("data-sizes")),l.length&&l.children("source").each(function(t){var i=n(t);i.attr("data-srcset")&&(i.attr("srcset",i.attr("data-srcset")),i.removeAttr("data-srcset"))}),s&&(e.attr("src",s),e.removeAttr("data-src"))),e.addClass(u.loadedClass).removeClass(u.loadingClass),f.find("."+u.preloaderClass).remove(),r.params.loop&&i&&(t=f.attr("data-swiper-slide-index"),f.hasClass(r.params.slideDuplicateClass)?(a=r.$wrapperEl.children('[data-swiper-slide-index="'+t+'"]:not(.'+r.params.slideDuplicateClass+")"),r.lazy.loadInSlide(a.index(),!1)):(v=r.$wrapperEl.children("."+r.params.slideDuplicateClass+'[data-swiper-slide-index="'+t+'"]'),r.lazy.loadInSlide(v.index(),!1))),r.emit("lazyImageReady",f[0],e[0]),r.params.autoHeight&&r.updateAutoHeight())});r.emit("lazyImageLoad",f[0],e[0])})}},load:function(){function l(n){if(c){if(s.children("."+i.slideClass+'[data-swiper-slide-index="'+n+'"]').length)return!0}else if(p[n])return!0;return!1}function w(t){return c?n(t).attr("data-swiper-slide-index"):n(t).index()}var t=this,s=t.$wrapperEl,i=t.params,p=t.slides,r=t.activeIndex,c=t.virtual&&i.virtual.enabled,h=i.lazy,u=i.slidesPerView,f,e,o,v,y;if(u==="auto"&&(u=0),t.lazy.initialImageLoaded||(t.lazy.initialImageLoaded=!0),t.params.watchSlidesVisibility)s.children("."+i.slideVisibleClass).each(function(i){var r=c?n(i).attr("data-swiper-slide-index"):n(i).index();t.lazy.loadInSlide(r)});else if(u>1)for(f=r;f<r+u;f+=1)l(f)&&t.lazy.loadInSlide(f);else t.lazy.loadInSlide(r);if(h.loadPrevNext)if(u>1||h.loadPrevNextAmount&&h.loadPrevNextAmount>1){var b=h.loadPrevNextAmount,a=u,k=Math.min(r+a+Math.max(b,a),p.length),d=Math.max(r-Math.max(a,b),0);for(e=r+u;e<k;e+=1)l(e)&&t.lazy.loadInSlide(e);for(o=d;o<r;o+=1)l(o)&&t.lazy.loadInSlide(o)}else v=s.children("."+i.slideNextClass),v.length>0&&t.lazy.loadInSlide(w(v)),y=s.children("."+i.slidePrevClass),y.length>0&&t.lazy.loadInSlide(w(y))},checkInViewOnLoad:function(){var e=i(),t=this,s,o,u;if(t&&!t.destroyed){var f=t.params.lazy.scrollingElement?n(t.params.lazy.scrollingElement):n(e),h=f[0]===e,l=h?e.innerWidth:f[0].offsetWidth,a=h?e.innerHeight:f[0].offsetHeight,r=t.$el.offset(),v=t.rtlTranslate,c=!1;for(v&&(r.left-=t.$el[0].scrollLeft),s=[[r.left,r.top],[r.left+t.width,r.top],[r.left,r.top+t.height],[r.left+t.width,r.top+t.height]],o=0;o<s.length;o+=1)if(u=s[o],u[0]>=0&&u[0]<=l&&u[1]>=0&&u[1]<=a){if(u[0]===0&&u[1]===0)continue;c=!0}if(c)t.lazy.load(),f.off("scroll",t.lazy.checkInViewOnLoad);else if(!t.lazy.scrollHandlerAttached){t.lazy.scrollHandlerAttached=!0;f.on("scroll",t.lazy.checkInViewOnLoad)}}}},rs={name:"lazy",params:{lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){var n=this;f(n,{lazy:u({initialImageLoaded:!1},is)})},on:{beforeInit:function(n){n.params.lazy.enabled&&n.params.preloadImages&&(n.params.preloadImages=!1)},init:function(n){n.params.lazy.enabled&&!n.params.loop&&n.params.initialSlide===0&&(n.params.lazy.checkInView?n.lazy.checkInViewOnLoad():n.lazy.load())},scroll:function(n){n.params.freeMode&&!n.params.freeModeSticky&&n.lazy.load()},resize:function(n){n.params.lazy.enabled&&n.lazy.load()},scrollbarDragMove:function(n){n.params.lazy.enabled&&n.lazy.load()},transitionStart:function(n){n.params.lazy.enabled&&(!n.params.lazy.loadOnTransitionStart&&(n.params.lazy.loadOnTransitionStart||n.lazy.initialImageLoaded)||n.lazy.load())},transitionEnd:function(n){n.params.lazy.enabled&&!n.params.lazy.loadOnTransitionStart&&n.lazy.load()},slideChange:function(n){n.params.lazy.enabled&&n.params.cssMode&&n.lazy.load()}}},st={LinearSpline:function(n,t){var u=function(){var n,t,i;return function(r,u){for(t=-1,n=r.length;n-t>1;)i=n+t>>1,r[i]<=u?t=i:n=i;return n}}(),i,r;return this.x=n,this.y=t,this.lastIndex=n.length-1,this.interpolate=function(n){return n?(r=u(this.x,n),i=r-1,(n-this.x[i])*(this.y[r]-this.y[i])/(this.x[r]-this.x[i])+this.y[i]):0},this},getInterpolateFunction:function(n){var t=this;t.controller.spline||(t.controller.spline=t.params.loop?new st.LinearSpline(t.slidesGrid,n.slidesGrid):new st.LinearSpline(t.snapGrid,n.snapGrid))},setTranslate:function(n,t){function s(n){var t=i.rtlTranslate?-i.translate:i.translate;i.params.controller.by==="slide"&&(i.controller.getInterpolateFunction(n),u=-i.controller.spline.interpolate(-t));u&&i.params.controller.by!=="container"||(e=(n.maxTranslate()-n.minTranslate())/(i.maxTranslate()-i.minTranslate()),u=(t-i.minTranslate())*e+n.minTranslate());i.params.controller.inverse&&(u=n.maxTranslate()-u);n.updateProgress(u);n.setTranslate(u,i);n.updateActiveIndex();n.updateSlidesClasses()}var i=this,r=i.controller.control,e,u,o=i.constructor,f;if(Array.isArray(r))for(f=0;f<r.length;f+=1)r[f]!==t&&r[f]instanceof o&&s(r[f]);else r instanceof o&&t!==r&&s(r)},setTransition:function(n,t){function e(t){t.setTransition(n,u);n!==0&&(t.transitionStart(),t.params.autoHeight&&h(function(){t.updateAutoHeight()}),t.$wrapperEl.transitionEnd(function(){i&&(t.params.loop&&u.params.controller.by==="slide"&&t.loopFix(),t.transitionEnd())}))}var u=this,f=u.constructor,i=u.controller.control,r;if(Array.isArray(i))for(r=0;r<i.length;r+=1)i[r]!==t&&i[r]instanceof f&&e(i[r]);else i instanceof f&&t!==i&&e(i)}},us={name:"controller",params:{controller:{control:undefined,inverse:!1,by:"slide"}},create:function(){var n=this;f(n,{controller:u({control:n.params.controller.control},st)})},on:{update:function(n){n.controller.control&&n.controller.spline&&(n.controller.spline=undefined,delete n.controller.spline)},resize:function(n){n.controller.control&&n.controller.spline&&(n.controller.spline=undefined,delete n.controller.spline)},observerUpdate:function(n){n.controller.control&&n.controller.spline&&(n.controller.spline=undefined,delete n.controller.spline)},setTranslate:function(n,t,i){n.controller.control&&n.controller.setTranslate(t,i)},setTransition:function(n,t,i){n.controller.control&&n.controller.setTransition(t,i)}}},fs={getRandomNumber:function(n){n===void 0&&(n=16);var t=function(){return Math.round(16*Math.random()).toString(16)};return"x".repeat(n).replace(/x/g,t)},makeElFocusable:function(n){return n.attr("tabIndex","0"),n},makeElNotFocusable:function(n){return n.attr("tabIndex","-1"),n},addElRole:function(n,t){return n.attr("role",t),n},addElRoleDescription:function(n,t){return n.attr("aria-role-description",t),n},addElControls:function(n,t){return n.attr("aria-controls",t),n},addElLabel:function(n,t){return n.attr("aria-label",t),n},addElId:function(n,t){return n.attr("id",t),n},addElLive:function(n,t){return n.attr("aria-live",t),n},disableEl:function(n){return n.attr("aria-disabled",!0),n},enableEl:function(n){return n.attr("aria-disabled",!1),n},onEnterKey:function(t){var i=this,u=i.params.a11y,r;t.keyCode===13&&(r=n(t.target),i.navigation&&i.navigation.$nextEl&&r.is(i.navigation.$nextEl)&&(i.isEnd&&!i.params.loop||i.slideNext(),i.isEnd?i.a11y.notify(u.lastSlideMessage):i.a11y.notify(u.nextSlideMessage)),i.navigation&&i.navigation.$prevEl&&r.is(i.navigation.$prevEl)&&(i.isBeginning&&!i.params.loop||i.slidePrev(),i.isBeginning?i.a11y.notify(u.firstSlideMessage):i.a11y.notify(u.prevSlideMessage)),i.pagination&&r.is("."+i.params.pagination.bulletClass.replace(/ /g,"."))&&r[0].click())},notify:function(n){var i=this,t=i.a11y.liveRegion;t.length!==0&&(t.html(""),t.html(n))},updateNavigation:function(){var n=this;if(!n.params.loop&&n.navigation){var r=n.navigation,t=r.$nextEl,i=r.$prevEl;i&&i.length>0&&(n.isBeginning?(n.a11y.disableEl(i),n.a11y.makeElNotFocusable(i)):(n.a11y.enableEl(i),n.a11y.makeElFocusable(i)));t&&t.length>0&&(n.isEnd?(n.a11y.disableEl(t),n.a11y.makeElNotFocusable(t)):(n.a11y.enableEl(t),n.a11y.makeElFocusable(t)))}},updatePagination:function(){var t=this,i=t.params.a11y;t.pagination&&t.params.pagination.clickable&&t.pagination.bullets&&t.pagination.bullets.length&&t.pagination.bullets.each(function(r){var u=n(r);t.a11y.makeElFocusable(u);t.params.pagination.renderBullet||(t.a11y.addElRole(u,"button"),t.a11y.addElLabel(u,i.paginationBulletMessage.replace(/\{\{index\}\}/,u.index()+1)))})},init:function(){var t=this,u=t.params.a11y,o,f,e,s,i,r;if(t.$el.append(t.a11y.liveRegion),o=t.$el,u.containerRoleDescriptionMessage&&t.a11y.addElRoleDescription(o,u.containerRoleDescriptionMessage),u.containerMessage&&t.a11y.addElLabel(o,u.containerMessage),f=t.$wrapperEl,e=f.attr("id")||"swiper-wrapper-"+t.a11y.getRandomNumber(16),t.a11y.addElId(f,e),s=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite",t.a11y.addElLive(f,s),u.itemRoleDescriptionMessage&&t.a11y.addElRoleDescription(n(t.slides),u.itemRoleDescriptionMessage),t.a11y.addElRole(n(t.slides),"group"),t.slides.each(function(i){var r=n(i);t.a11y.addElLabel(r,r.index()+1+" / "+t.slides.length)}),t.navigation&&t.navigation.$nextEl&&(i=t.navigation.$nextEl),t.navigation&&t.navigation.$prevEl&&(r=t.navigation.$prevEl),i&&i.length){if(t.a11y.makeElFocusable(i),i[0].tagName!=="BUTTON"){t.a11y.addElRole(i,"button");i.on("keydown",t.a11y.onEnterKey)}t.a11y.addElLabel(i,u.nextSlideMessage);t.a11y.addElControls(i,e)}if(r&&r.length){if(t.a11y.makeElFocusable(r),r[0].tagName!=="BUTTON"){t.a11y.addElRole(r,"button");r.on("keydown",t.a11y.onEnterKey)}t.a11y.addElLabel(r,u.prevSlideMessage);t.a11y.addElControls(r,e)}if(t.pagination&&t.params.pagination.clickable&&t.pagination.bullets&&t.pagination.bullets.length)t.pagination.$el.on("keydown","."+t.params.pagination.bulletClass.replace(/ /g,"."),t.a11y.onEnterKey)},destroy:function(){var n=this,t,i;n.a11y.liveRegion&&n.a11y.liveRegion.length>0&&n.a11y.liveRegion.remove();n.navigation&&n.navigation.$nextEl&&(t=n.navigation.$nextEl);n.navigation&&n.navigation.$prevEl&&(i=n.navigation.$prevEl);t&&t.off("keydown",n.a11y.onEnterKey);i&&i.off("keydown",n.a11y.onEnterKey);n.pagination&&n.params.pagination.clickable&&n.pagination.bullets&&n.pagination.bullets.length&&n.pagination.$el.off("keydown","."+n.params.pagination.bulletClass.replace(/ /g,"."),n.a11y.onEnterKey)}},es={name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null}},create:function(){var t=this;f(t,{a11y:u({},fs,{liveRegion:n('<span class="'+t.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"><\/span>')})})},on:{afterInit:function(n){n.params.a11y.enabled&&(n.a11y.init(),n.a11y.updateNavigation())},toEdge:function(n){n.params.a11y.enabled&&n.a11y.updateNavigation()},fromEdge:function(n){n.params.a11y.enabled&&n.a11y.updateNavigation()},paginationUpdate:function(n){n.params.a11y.enabled&&n.a11y.updatePagination()},destroy:function(n){n.params.a11y.enabled&&n.a11y.destroy()}}},a={init:function(){var n=this,r=i(),t;if(n.params.history){if(!r.history||!r.history.pushState){n.params.history.enabled=!1;n.params.hashNavigation.enabled=!0;return}(t=n.history,t.initialized=!0,t.paths=a.getPathValues(n.params.url),t.paths.key||t.paths.value)&&(t.scrollToSlide(0,t.paths.value,n.params.runCallbacksOnInit),n.params.history.replaceState||r.addEventListener("popstate",n.history.setHistoryPopState))}},destroy:function(){var n=this,t=i();n.params.history.replaceState||t.removeEventListener("popstate",n.history.setHistoryPopState)},setHistoryPopState:function(){var n=this;n.history.paths=a.getPathValues(n.params.url);n.history.scrollToSlide(n.params.speed,n.history.paths.value,!1)},getPathValues:function(n){var u=i(),f=n?new URL(n):u.location;var t=f.pathname.slice(1).split("/").filter(function(n){return n!==""}),r=t.length,e=t[r-2],o=t[r-1];return{key:e,value:o}},setHistory:function(n,t){var u=this,f=i(),o,s,r,e;u.history.initialized&&u.params.history.enabled&&((o=u.params.url?new URL(u.params.url):f.location,s=u.slides.eq(t),r=a.slugify(s.attr("data-history")),o.pathname.includes(n)||(r=n+"/"+r),e=f.history.state,e&&e.value===r)||(u.params.history.replaceState?f.history.replaceState({value:r},null,r):f.history.pushState({value:r},null,r)))},slugify:function(n){return n.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(n,t,i){var r=this,u,e,f,o,s;if(t)for(u=0,e=r.slides.length;u<e;u+=1)f=r.slides.eq(u),o=a.slugify(f.attr("data-history")),o!==t||f.hasClass(r.params.slideDuplicateClass)||(s=f.index(),r.slideTo(s,n,i));else r.slideTo(0,n,i)}},os={name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){var n=this;f(n,{history:u({},a)})},on:{init:function(n){n.params.history.enabled&&n.history.init()},destroy:function(n){n.params.history.enabled&&n.history.destroy()},transitionEnd:function(n){n.history.initialized&&n.history.setHistory(n.params.history.key,n.activeIndex)},slideChange:function(n){n.history.initialized&&n.params.cssMode&&n.history.setHistory(n.params.history.key,n.activeIndex)}}},ss={onHashCange:function(){var n=this,f=r(),t,u,i;if(n.emit("hashChange"),t=f.location.hash.replace("#",""),u=n.slides.eq(n.activeIndex).attr("data-hash"),t!==u){if(i=n.$wrapperEl.children("."+n.params.slideClass+'[data-hash="'+t+'"]').index(),typeof i=="undefined")return;n.slideTo(i)}},setHash:function(){var n=this,t=i(),e=r(),u,f;n.hashNavigation.initialized&&n.params.hashNavigation.enabled&&(n.params.hashNavigation.replaceState&&t.history&&t.history.replaceState?(t.history.replaceState(null,null,"#"+n.slides.eq(n.activeIndex).attr("data-hash")||""),n.emit("hashSet")):(u=n.slides.eq(n.activeIndex),f=u.attr("data-hash")||u.attr("data-history"),e.location.hash=f||"",n.emit("hashSet")))},init:function(){var t=this,l=r(),a=i(),e,o,f,s,u,h,c;if(t.params.hashNavigation.enabled&&(!t.params.history||!t.params.history.enabled)){if(t.hashNavigation.initialized=!0,e=l.location.hash.replace("#",""),e)for(o=0,f=0,s=t.slides.length;f<s;f+=1)u=t.slides.eq(f),h=u.attr("data-hash")||u.attr("data-history"),h!==e||u.hasClass(t.params.slideDuplicateClass)||(c=u.index(),t.slideTo(c,o,t.params.runCallbacksOnInit,!0));if(t.params.hashNavigation.watchState)n(a).on("hashchange",t.hashNavigation.onHashCange)}},destroy:function(){var t=this,r=i();t.params.hashNavigation.watchState&&n(r).off("hashchange",t.hashNavigation.onHashCange)}},hs={name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){var n=this;f(n,{hashNavigation:u({initialized:!1},ss)})},on:{init:function(n){n.params.hashNavigation.enabled&&n.hashNavigation.init()},destroy:function(n){n.params.hashNavigation.enabled&&n.hashNavigation.destroy()},transitionEnd:function(n){n.hashNavigation.initialized&&n.hashNavigation.setHash()},slideChange:function(n){n.hashNavigation.initialized&&n.params.cssMode&&n.hashNavigation.setHash()}}},cs={run:function(){var n=this,t=n.slides.eq(n.activeIndex),i=n.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(i=t.attr("data-swiper-autoplay")||n.params.autoplay.delay);clearTimeout(n.autoplay.timeout);n.autoplay.timeout=h(function(){var t;n.params.autoplay.reverseDirection?n.params.loop?(n.loopFix(),t=n.slidePrev(n.params.speed,!0,!0),n.emit("autoplay")):n.isBeginning?n.params.autoplay.stopOnLastSlide?n.autoplay.stop():(t=n.slideTo(n.slides.length-1,n.params.speed,!0,!0),n.emit("autoplay")):(t=n.slidePrev(n.params.speed,!0,!0),n.emit("autoplay")):n.params.loop?(n.loopFix(),t=n.slideNext(n.params.speed,!0,!0),n.emit("autoplay")):n.isEnd?n.params.autoplay.stopOnLastSlide?n.autoplay.stop():(t=n.slideTo(0,n.params.speed,!0,!0),n.emit("autoplay")):(t=n.slideNext(n.params.speed,!0,!0),n.emit("autoplay"));n.params.cssMode&&n.autoplay.running?n.autoplay.run():t===!1&&n.autoplay.run()},i)},start:function(){var n=this;return typeof n.autoplay.timeout!="undefined"?!1:n.autoplay.running?!1:(n.autoplay.running=!0,n.emit("autoplayStart"),n.autoplay.run(),!0)},stop:function(){var n=this;return n.autoplay.running?typeof n.autoplay.timeout=="undefined"?!1:(n.autoplay.timeout&&(clearTimeout(n.autoplay.timeout),n.autoplay.timeout=undefined),n.autoplay.running=!1,n.emit("autoplayStop"),!0):!1},pause:function(n){var t=this;t.autoplay.running&&(t.autoplay.paused||(t.autoplay.timeout&&clearTimeout(t.autoplay.timeout),t.autoplay.paused=!0,n!==0&&t.params.autoplay.waitForTransition?(t.$wrapperEl[0].addEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].addEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd)):(t.autoplay.paused=!1,t.autoplay.run())))},onVisibilityChange:function(){var n=this,t=r();t.visibilityState==="hidden"&&n.autoplay.running&&n.autoplay.pause();t.visibilityState==="visible"&&n.autoplay.paused&&(n.autoplay.run(),n.autoplay.paused=!1)},onTransitionEnd:function(n){var t=this;t&&!t.destroyed&&t.$wrapperEl&&n.target===t.$wrapperEl[0]&&(t.$wrapperEl[0].removeEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].removeEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd),t.autoplay.paused=!1,t.autoplay.running?t.autoplay.run():t.autoplay.stop())}},ls={name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var n=this;f(n,{autoplay:u({},cs,{running:!1,paused:!1})})},on:{init:function(n){if(n.params.autoplay.enabled){n.autoplay.start();var t=r();t.addEventListener("visibilitychange",n.autoplay.onVisibilityChange)}},beforeTransitionStart:function(n,t,i){n.autoplay.running&&(i||!n.params.autoplay.disableOnInteraction?n.autoplay.pause(t):n.autoplay.stop())},sliderFirstMove:function(n){n.autoplay.running&&(n.params.autoplay.disableOnInteraction?n.autoplay.stop():n.autoplay.pause())},touchEnd:function(n){n.params.cssMode&&n.autoplay.paused&&!n.params.autoplay.disableOnInteraction&&n.autoplay.run()},destroy:function(n){n.autoplay.running&&n.autoplay.stop();var t=r();t.removeEventListener("visibilitychange",n.autoplay.onVisibilityChange)}}},as={setTranslate:function(){for(var u,f,n=this,e=n.slides,r=0;r<e.length;r+=1){var t=n.slides.eq(r),o=t[0].swiperSlideOffset,i=-o;n.params.virtualTranslate||(i-=n.translate);u=0;n.isHorizontal()||(u=i,i=0);f=n.params.fadeEffect.crossFade?Math.max(1-Math.abs(t[0].progress),0):1+Math.min(Math.max(t[0].progress,-1),0);t.css({opacity:f}).transform("translate3d("+i+"px, "+u+"px, 0px)")}},setTransition:function(n){var t=this,r=t.slides,u=t.$wrapperEl,i;r.transition(n);t.params.virtualTranslate&&n!==0&&(i=!1,r.transitionEnd(function(){var r,n;if(!i&&t&&!t.destroyed)for(i=!0,t.animating=!1,r=["webkitTransitionEnd","transitionend"],n=0;n<r.length;n+=1)u.trigger(r[n])}))}},vs={name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){var n=this;f(n,{fadeEffect:u({},as)})},on:{beforeInit:function(n){if(n.params.effect==="fade"){n.classNames.push(n.params.containerModifierClass+"fade");var i={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};t(n.params,i);t(n.originalParams,i)}},setTranslate:function(n){n.params.effect==="fade"&&n.fadeEffect.setTranslate()},setTransition:function(n,t){n.params.effect==="fade"&&n.fadeEffect.setTransition(t)}}},ys={setTranslate:function(){var t=this,g=t.$el,b=t.$wrapperEl,nt=t.slides,k=t.width,tt=t.height,d=t.rtlTranslate,i=t.size,it=t.browser,s=t.params.cubeEffect,f=t.isHorizontal(),st=t.virtual&&t.params.virtual.enabled,c=0,r,p,u,e,h,l,ut,v,y,ot;for(s.shadow&&(f?(r=b.find(".swiper-cube-shadow"),r.length===0&&(r=n('<div class="swiper-cube-shadow"><\/div>'),b.append(r)),r.css({height:k+"px"})):(r=g.find(".swiper-cube-shadow"),r.length===0&&(r=n('<div class="swiper-cube-shadow"><\/div>'),g.append(r)))),p=0;p<nt.length;p+=1){u=nt.eq(p);e=p;st&&(e=parseInt(u.attr("data-swiper-slide-index"),10));h=e*90;l=Math.floor(h/360);d&&(h=-h,l=Math.floor(-h/360));var a=Math.max(Math.min(u[0].progress,1),-1),o=0,rt=0,w=0;e%4==0?(o=-l*4*i,w=0):(e-1)%4==0?(o=0,w=-l*4*i):(e-2)%4==0?(o=i+l*4*i,w=i):(e-3)%4==0&&(o=-i,w=3*i+i*4*l);d&&(o=-o);f||(rt=o,o=0);ut="rotateX("+(f?0:-h)+"deg) rotateY("+(f?h:0)+"deg) translate3d("+o+"px, "+rt+"px, "+w+"px)";a<=1&&a>-1&&(c=e*90+a*90,d&&(c=-e*90-a*90));u.transform(ut);s.slideShadows&&(v=f?u.find(".swiper-slide-shadow-left"):u.find(".swiper-slide-shadow-top"),y=f?u.find(".swiper-slide-shadow-right"):u.find(".swiper-slide-shadow-bottom"),v.length===0&&(v=n('<div class="swiper-slide-shadow-'+(f?"left":"top")+'"><\/div>'),u.append(v)),y.length===0&&(y=n('<div class="swiper-slide-shadow-'+(f?"right":"bottom")+'"><\/div>'),u.append(y)),v.length&&(v[0].style.opacity=Math.max(-a,0)),y.length&&(y[0].style.opacity=Math.max(a,0)))}if(b.css({"-webkit-transform-origin":"50% 50% -"+i/2+"px","-moz-transform-origin":"50% 50% -"+i/2+"px","-ms-transform-origin":"50% 50% -"+i/2+"px","transform-origin":"50% 50% -"+i/2+"px"}),s.shadow)if(f)r.transform("translate3d(0px, "+(k/2+s.shadowOffset)+"px, "+-k/2+"px) rotateX(90deg) rotateZ(0deg) scale("+s.shadowScale+")");else{var ft=Math.abs(c)-Math.floor(Math.abs(c)/90)*90,ht=1.5-(Math.sin(ft*2*Math.PI/360)/2+Math.cos(ft*2*Math.PI/360)/2),ct=s.shadowScale,et=s.shadowScale/ht,lt=s.shadowOffset;r.transform("scale3d("+ct+", 1, "+et+") translate3d(0px, "+(tt/2+lt)+"px, "+-tt/2/et+"px) rotateX(-90deg)")}ot=it.isSafari||it.isWebView?-i/2:0;b.transform("translate3d(0px,0,"+ot+"px) rotateX("+(t.isHorizontal()?0:c)+"deg) rotateY("+(t.isHorizontal()?-c:0)+"deg)")},setTransition:function(n){var t=this,i=t.$el,r=t.slides;r.transition(n).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(n);t.params.cubeEffect.shadow&&!t.isHorizontal()&&i.find(".swiper-cube-shadow").transition(n)}},ps={name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){var n=this;f(n,{cubeEffect:u({},ys)})},on:{beforeInit:function(n){if(n.params.effect==="cube"){n.classNames.push(n.params.containerModifierClass+"cube");n.classNames.push(n.params.containerModifierClass+"3d");var i={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};t(n.params,i);t(n.originalParams,i)}},setTranslate:function(n){n.params.effect==="cube"&&n.cubeEffect.setTranslate()},setTransition:function(n,t){n.params.effect==="cube"&&n.cubeEffect.setTransition(t)}}},ws={setTranslate:function(){for(var t,r,u,f,i=this,o=i.slides,a=i.rtlTranslate,s=0;s<o.length;s+=1){t=o.eq(s);r=t[0].progress;i.params.flipEffect.limitRotation&&(r=Math.max(Math.min(t[0].progress,1),-1));var v=t[0].swiperSlideOffset,y=-180*r,e=y,c=0,h=-v,l=0;i.isHorizontal()?a&&(e=-e):(l=h,h=0,c=-e,e=0);t[0].style.zIndex=-Math.abs(Math.round(r))+o.length;i.params.flipEffect.slideShadows&&(u=i.isHorizontal()?t.find(".swiper-slide-shadow-left"):t.find(".swiper-slide-shadow-top"),f=i.isHorizontal()?t.find(".swiper-slide-shadow-right"):t.find(".swiper-slide-shadow-bottom"),u.length===0&&(u=n('<div class="swiper-slide-shadow-'+(i.isHorizontal()?"left":"top")+'"><\/div>'),t.append(u)),f.length===0&&(f=n('<div class="swiper-slide-shadow-'+(i.isHorizontal()?"right":"bottom")+'"><\/div>'),t.append(f)),u.length&&(u[0].style.opacity=Math.max(-r,0)),f.length&&(f[0].style.opacity=Math.max(r,0)));t.transform("translate3d("+h+"px, "+l+"px, 0px) rotateX("+c+"deg) rotateY("+e+"deg)")}},setTransition:function(n){var t=this,r=t.slides,u=t.activeIndex,f=t.$wrapperEl,i;r.transition(n).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(n);t.params.virtualTranslate&&n!==0&&(i=!1,r.eq(u).transitionEnd(function(){var r,n;if(!i&&t&&!t.destroyed)for(i=!0,t.animating=!1,r=["webkitTransitionEnd","transitionend"],n=0;n<r.length;n+=1)f.trigger(r[n])}))}},bs={name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){var n=this;f(n,{flipEffect:u({},ws)})},on:{beforeInit:function(n){if(n.params.effect==="flip"){n.classNames.push(n.params.containerModifierClass+"flip");n.classNames.push(n.params.containerModifierClass+"3d");var i={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};t(n.params,i);t(n.originalParams,i)}},setTranslate:function(n){n.params.effect==="flip"&&n.flipEffect.setTranslate()},setTransition:function(n,t){n.params.effect==="flip"&&n.flipEffect.setTransition(t)}}},ks={setTranslate:function(){for(var g,e,o,f=this,nt=f.width,tt=f.height,b=f.slides,it=f.slidesSizesGrid,u=f.params.coverflowEffect,i=f.isHorizontal(),k=f.translate,rt=i?-k+nt/2:-k+tt/2,d=i?u.rotate:-u.rotate,ut=u.depth,h=0,ft=b.length;h<ft;h+=1){var r=b.eq(h),c=it[h],et=r[0].swiperSlideOffset,t=(rt-et-c/2)/c*u.modifier,l=i?d*t:0,a=i?0:d*t,v=-ut*Math.abs(t),s=u.stretch;typeof s=="string"&&s.indexOf("%")!==-1&&(s=parseFloat(u.stretch)/100*c);var y=i?0:s*t,p=i?s*t:0,w=1-(1-u.scale)*Math.abs(t);Math.abs(p)<.001&&(p=0);Math.abs(y)<.001&&(y=0);Math.abs(v)<.001&&(v=0);Math.abs(l)<.001&&(l=0);Math.abs(a)<.001&&(a=0);Math.abs(w)<.001&&(w=0);g="translate3d("+p+"px,"+y+"px,"+v+"px)  rotateX("+a+"deg) rotateY("+l+"deg) scale("+w+")";r.transform(g);r[0].style.zIndex=-Math.abs(Math.round(t))+1;u.slideShadows&&(e=i?r.find(".swiper-slide-shadow-left"):r.find(".swiper-slide-shadow-top"),o=i?r.find(".swiper-slide-shadow-right"):r.find(".swiper-slide-shadow-bottom"),e.length===0&&(e=n('<div class="swiper-slide-shadow-'+(i?"left":"top")+'"><\/div>'),r.append(e)),o.length===0&&(o=n('<div class="swiper-slide-shadow-'+(i?"right":"bottom")+'"><\/div>'),r.append(o)),e.length&&(e[0].style.opacity=t>0?t:0),o.length&&(o[0].style.opacity=-t>0?-t:0))}},setTransition:function(n){var t=this;t.slides.transition(n).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(n)}},ds={name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}},create:function(){var n=this;f(n,{coverflowEffect:u({},ks)})},on:{beforeInit:function(n){n.params.effect==="coverflow"&&(n.classNames.push(n.params.containerModifierClass+"coverflow"),n.classNames.push(n.params.containerModifierClass+"3d"),n.params.watchSlidesProgress=!0,n.originalParams.watchSlidesProgress=!0)},setTranslate:function(n){n.params.effect==="coverflow"&&n.coverflowEffect.setTranslate()},setTransition:function(n,t){n.params.effect==="coverflow"&&n.coverflowEffect.setTransition(t)}}},gs={init:function(){var n=this,i=n.params.thumbs,r;if(n.thumbs.initialized)return!1;n.thumbs.initialized=!0;r=n.constructor;i.swiper instanceof r?(n.thumbs.swiper=i.swiper,t(n.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t(n.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):c(i.swiper)&&(n.thumbs.swiper=new r(t({},i.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),n.thumbs.swiperCreated=!0);n.thumbs.swiper.$el.addClass(n.params.thumbs.thumbsContainerClass);n.thumbs.swiper.on("tap",n.thumbs.onThumbClick);return!0},onThumbClick:function(){var t=this,r=t.thumbs.swiper,o,s,u,i,f,e;r&&((o=r.clickedIndex,s=r.clickedSlide,s&&n(s).hasClass(t.params.thumbs.slideThumbActiveClass))||typeof o!="undefined"&&o!==null&&(u=r.params.loop?parseInt(n(r.clickedSlide).attr("data-swiper-slide-index"),10):o,t.params.loop&&(i=t.activeIndex,t.slides.eq(i).hasClass(t.params.slideDuplicateClass)&&(t.loopFix(),t._clientLeft=t.$wrapperEl[0].clientLeft,i=t.activeIndex),f=t.slides.eq(i).prevAll('[data-swiper-slide-index="'+u+'"]').eq(0).index(),e=t.slides.eq(i).nextAll('[data-swiper-slide-index="'+u+'"]').eq(0).index(),u=typeof f=="undefined"?e:typeof e=="undefined"?f:e-i<i-f?e:f),t.slideTo(u)))},update:function(n){var i=this,t=i.thumbs.swiper,u,r,v,e,o,f,s,h,c;if(t){var l=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():t.params.slidesPerView,a=i.params.thumbs.autoScrollOffset,y=a&&!t.params.loop;if((i.realIndex!==t.realIndex||y)&&(u=t.activeIndex,t.params.loop?(t.slides.eq(u).hasClass(t.params.slideDuplicateClass)&&(t.loopFix(),t._clientLeft=t.$wrapperEl[0].clientLeft,u=t.activeIndex),e=t.slides.eq(u).prevAll('[data-swiper-slide-index="'+i.realIndex+'"]').eq(0).index(),o=t.slides.eq(u).nextAll('[data-swiper-slide-index="'+i.realIndex+'"]').eq(0).index(),r=typeof e=="undefined"?o:typeof o=="undefined"?e:o-u==u-e?u:o-u<u-e?o:e,v=i.activeIndex>i.previousIndex?"next":"prev"):(r=i.realIndex,v=r>i.previousIndex?"next":"prev"),y&&(r+=v==="next"?a:-1*a),t.visibleSlidesIndexes&&t.visibleSlidesIndexes.indexOf(r)<0&&(t.params.centeredSlides?r=r>u?r-Math.floor(l/2)+1:r+Math.floor(l/2)-1:r>u&&(r=r-l+1),t.slideTo(r,n?0:undefined))),f=1,s=i.params.thumbs.slideThumbActiveClass,i.params.slidesPerView>1&&!i.params.centeredSlides&&(f=i.params.slidesPerView),i.params.thumbs.multipleActiveThumbs||(f=1),f=Math.floor(f),t.slides.removeClass(s),t.params.loop||t.params.virtual&&t.params.virtual.enabled)for(h=0;h<f;h+=1)t.$wrapperEl.children('[data-swiper-slide-index="'+(i.realIndex+h)+'"]').addClass(s);else for(c=0;c<f;c+=1)t.slides.eq(i.realIndex+c).addClass(s)}}},nh={name:"thumbs",params:{thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){var n=this;f(n,{thumbs:u({swiper:null,initialized:!1},gs)})},on:{beforeInit:function(n){var t=n.params.thumbs;t&&t.swiper&&(n.thumbs.init(),n.thumbs.update(!0))},slideChange:function(n){n.thumbs.swiper&&n.thumbs.update()},update:function(n){n.thumbs.swiper&&n.thumbs.update()},resize:function(n){n.thumbs.swiper&&n.thumbs.update()},observerUpdate:function(n){n.thumbs.swiper&&n.thumbs.update()},setTransition:function(n,t){var i=n.thumbs.swiper;i&&i.setTransition(t)},beforeDestroy:function(n){var t=n.thumbs.swiper;t&&n.thumbs.swiperCreated&&t&&t.destroy()}}},th=[so,co,ao,yo,wo,ko,ns,ts,rs,us,es,os,hs,ls,vs,ps,bs,ds,nh];return p.use(th),p});;
jQuery(function(){var swipers,_testimonialSwiper,_swipers,_exhibitionSwiper,_timelineSwiper,_productSwiper,_lightboxSwiper,_swipersSplide;const $breakpoint=window.matchMedia("(min-width:1199px)"),$breakpoint2=window.matchMedia("(min-width:768px)");swipers=[];jQuery(".related-content-swiper").each(function(index){var _this=jQuery(this);_this.find(".swiper-container").addClass("swiper-container-"+index);_this.find(".swiper-button-prev").addClass("swiper-button-prev-"+index);_this.find(".swiper-button-next").addClass("swiper-button-next-"+index);_this.find(".swiper-pagination").addClass("swiper-pagination-"+index);_this.find(".swiper-scrollbar").addClass("swiper-scrollbar-"+index);const enableRelatedSwiper=function(){relatedSwiper=new window.Swiper(".swiper-container-"+index,{slidesPerView:"auto",spaceBetween:0,freeMode:!0,a11y:!0,keyboardControl:!0,grabCursor:!0,pagination:{el:".swiper-pagination-"+index,type:"progressbar"},paginationClickable:!0,navigation:{nextEl:".swiper-button-next-"+index,prevEl:".swiper-button-prev-"+index},scrollbar:{el:".swiper-scrollbar-"+index,hide:!1}});swipers.push(relatedSwiper)},breakpointChecker=function(){if(window.jQuery(_this).length){var _breakpoint=$breakpoint;return(_this.hasClass("related-content-swiper-three")&&(_breakpoint=$breakpoint2),_breakpoint.matches===!0)?(swipers[index]!==undefined&&swipers[index].destroy(!0,!0),this):_breakpoint.matches===!1?enableRelatedSwiper():this}return this};$breakpoint.addListener(breakpointChecker);$breakpoint2.addListener(breakpointChecker);breakpointChecker()});_testimonialSwiper=new window.Swiper(".testimonial-swiper .swiper-container",{slidesPerView:1,keyboardControl:!0,autoplay:{delay:7e3,disableOnInteraction:!1,stopOnLast:!0},pagination:{el:".swiper-pagination",clickable:!0,renderBullet:function(index,className){return'<span class="'+className+'"><svg class="swiper-pagination-loader" width="16" height="16" viewBox="0 0 16 16"><circle class="path swiper-pagination-stroke" cx="8" cy="8" r="5.5" fill="none" transform="rotate(-90 8 8)" stroke="#ffffff"stroke-opacity="1" stroke-width="1.5px"><\/circle><circle class="swiper-pagination-fill" cx="8" cy="8" r="3" fill="#ffffff"><\/circle><\/svg><\/span>'}},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},init:!1});_testimonialSwiper.on("init",function(){setTimeout(function(){jQuery(".testimonial-swiper").hasClass("autoplay")||_testimonialSwiper.autoplay.stop();jQuery(".swiper-button-prev,.swiper-button-next,.swiper-pagination").addClass("visible")},100)});_testimonialSwiper.init();_swipers=[];jQuery(".wice-project-swiper").each(function(index){var _this=jQuery(this);_this.find(".swiper-container").addClass("wice-project-swiper-container-"+index);_this.find(".swiper-button-prev").addClass("wice-project-swiper-button-prev-"+index);_this.find(".swiper-button-next").addClass("wice-project-swiper-button-next-"+index);_this.find(".swiper-pagination").addClass("wice-project-swiper-pagination-"+index);_this.find(".swiper-scrollbar").addClass("wice-project-swiper-scrollbar-"+index);const enableWICEProjectSwiper=function(autoplay){wiceProjectSwiper=autoplay===!0?new window.Swiper(".wice-project-swiper-container-"+index,{slidesPerView:1,keyboardControl:!0,autoplay:{delay:7e3,disableOnInteraction:!1,stopOnLast:!0},pagination:{el:".wice-project-swiper-pagination-"+index,clickable:!0,renderBullet:function(index,className){return'<span class="'+className+'"><svg class="swiper-pagination-loader" width="16" height="16" viewBox="0 0 16 16"><circle class="path swiper-pagination-stroke" cx="8" cy="8" r="5.5" fill="none" transform="rotate(-90 8 8)" stroke="#ffffff"stroke-opacity="1" stroke-width="1.5px"><\/circle><circle class="swiper-pagination-fill" cx="8" cy="8" r="3" fill="#ffffff"><\/circle><\/svg><\/span>'}},navigation:{nextEl:".wice-project-swiper-button-next-"+index,prevEl:".wice-project-swiper-button-prev-"+index},scrollbar:{el:".wice-project-swiper-scrollbar-"+index,hide:!1},watchOverflow:!0,init:!0}):new window.Swiper(".wice-project-swiper-container-"+index,{slidesPerView:1,keyboardControl:!0,pagination:{el:".wice-project-swiper-pagination-"+index,clickable:!0},navigation:{nextEl:".wice-project-swiper-button-next-"+index,prevEl:".wice-project-swiper-button-prev-"+index},scrollbar:{el:".wice-project-swiper-scrollbar-"+index,hide:!1},watchOverflow:!0,init:!0});_swipers.push(enableWICEProjectSwiper)},wiceProjectSliderInit=function(){setTimeout(function(){var _autoplay=!1;return _this.hasClass("autoplay")&&(_autoplay=!0),_this.find(".wice-project-swiper-button-prev-"+index).addClass("visible"),_this.find(".wice-project-swiper-button-next-"+index).addClass("visible"),_this.find(".wice-project-swiper-pagination-"+index).addClass("visible"),enableWICEProjectSwiper(_autoplay)},100)};wiceProjectSliderInit()});var _wiceProjectGallerySwiper=new window.Swiper(".wice-project-gallery .swiper-container-thumbs",{spaceBetween:30,slidesPerView:4,freeMode:!0,watchSlidesProgress:!0}),_wiceProjectGalleryThumbsSwiper=new window.Swiper(".wice-project-gallery .swiper-container-gallery",{autoplay:{delay:5e3},spaceBetween:30,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},thumbs:{swiper:_wiceProjectGallerySwiper}}),_spotlightSwiper=new window.Swiper(".spotlight-swiper .swiper-container",{spaceBetween:30,effect:"fade",loop:!0,keyboardControl:!0,mousewheel:{invert:!1},pagination:{el:".swiper-pagination",clickable:!0,renderBullet:function(index,className){return'<span class="'+className+'"><svg class="swiper-pagination-loader" width="16" height="16" viewBox="0 0 16 16"><circle class="path swiper-pagination-stroke" cx="8" cy="8" r="5.5" fill="none" transform="rotate(-90 8 8)" stroke="#0f6a80"stroke-opacity="1" stroke-width="1.5px"><\/circle><circle class="swiper-pagination-fill" cx="8" cy="8" r="3" fill="#0f6a80"><\/circle><\/svg><\/span>'}},autoplay:{delay:7e3,disableOnInteraction:!1,stopOnLast:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},init:!1});_spotlightSwiper.on("init",function(){setTimeout(function(){jQuery(".spotlight-swiper").hasClass("autoplay")||_spotlightSwiper.autoplay.stop();jQuery(".swiper-button-prev,.swiper-button-next,.swiper-pagination").addClass("visible")},100)});_spotlightSwiper.init();_exhibitionSwiper=new window.Swiper(".exhibition-swiper .swiper-container",{spaceBetween:0,slidesPerView:1,slidesPerGroup:1,breakpoints:{480:{spaceBetween:20,slidesPerView:2,slidesPerGroup:2},768:{spaceBetween:20,slidesPerView:3,slidesPerGroup:3}},loop:!0,keyboardControl:!0,mousewheel:{invert:!0},pagination:{el:".exhibition-swiper .swiper-pagination",clickable:!0,renderBullet:function(index,className){return'<span class="'+className+'"><svg class="swiper-pagination-loader" width="16" height="16" viewBox="0 0 16 16"><circle class="path swiper-pagination-stroke" cx="8" cy="8" r="5.5" fill="none" transform="rotate(-90 8 8)" stroke="#ffffff"stroke-opacity="1" stroke-width="1.5px"><\/circle><circle class="swiper-pagination-fill" cx="8" cy="8" r="3" fill="#ffffff"><\/circle><\/svg><\/span>'}},autoplay:{delay:7e3,disableOnInteraction:!1,stopOnLast:!0},navigation:{nextEl:".exhibition-swiper .swiper-button-next",prevEl:".exhibition-swiper .swiper-button-prev"},init:!1});_exhibitionSwiper.on("init",function(){setTimeout(function(){jQuery(".exhibition-swiper").hasClass("autoplay")||_exhibitionSwiper.autoplay.stop();jQuery(".exhibition-swiper .swiper-button-prev, .exhibition-swiper .swiper-button-next, .exhibition-swiper .swiper-pagination").addClass("visible")},100)});_exhibitionSwiper.init();_timelineSwiper=new window.Swiper(".timeline-swiper .swiper-container",{direction:"horizontal",loop:!1,speed:1600,pagination:{el:".timeline-swiper .swiper-pagination",type:"bullets",clickable:!0,renderBullet:function(index,className){var year=document.querySelectorAll(".timeline-swiper .swiper-slide")[index].getAttribute("data-year");return'<span class="'+className+'">'+year+"<\/span>"}},navigation:{nextEl:".timeline-swiper .swiper-button-next",prevEl:".timeline-swiper .swiper-button-prev"},breakpoints:{768:{direction:"vertical"}},autoplay:{delay:1e4,disableOnInteraction:!0,pauseOnMouseEnter:!0,stopOnLast:!0},watchOverflow:!0,init:!1});_timelineSwiper.on("init",function(){setTimeout(function(){jQuery(".timeline-swiper").hasClass("autoplay")||_timelineSwiper.autoplay.stop();jQuery(".timeline-swiper .swiper-button-prev, .timeline-swiper .swiper-button-next, .timeline-swiper .swiper-pagination").addClass("visible");jQuery(".timeline-swiper").removeClass("no-shadow")},600)});_timelineSwiper.on("slideChangeTransitionStart",function(){jQuery(".timeline-swiper").addClass("is-changing")});_timelineSwiper.on("slideChangeTransitionEnd",function(){jQuery(".timeline-swiper").removeClass("is-changing")});_timelineSwiper.init();jQuery(".sponsor-swiper").each(function(){var _this=jQuery(this),_sponsorSwiper=new window.Swiper(this.querySelector(".swiper-container"),{spaceBetween:0,slidesPerView:1,slidesPerGroup:1,breakpoints:{480:{spaceBetween:20,slidesPerView:3,slidesPerGroup:3},768:{spaceBetween:20,slidesPerView:4,slidesPerGroup:4}},loop:!0,keyboardControl:!0,mousewheel:{invert:!0},pagination:{el:this.querySelector(".swiper-pagination"),clickable:!0,renderBullet:function(index,className){return'<span class="'+className+'"><svg class="swiper-pagination-loader" width="16" height="16" viewBox="0 0 16 16"><circle class="path swiper-pagination-stroke" cx="8" cy="8" r="5.5" fill="none" transform="rotate(-90 8 8)" stroke="#00677f"stroke-opacity="1" stroke-width="1.5px"><\/circle><circle class="swiper-pagination-fill" cx="8" cy="8" r="3" fill="#00677f"><\/circle><\/svg><\/span>'}},autoplay:{delay:7e3,disableOnInteraction:!1,stopOnLast:!0},navigation:{nextEl:this.querySelector(".swiper-button-next"),prevEl:this.querySelector(".swiper-button-prev")},init:!1});_sponsorSwiper.on("init",function(){setTimeout(function(){_this.hasClass("autoplay")?_this.find(".swiper-pagination").addClass("visible"):_sponsorSwiper.autoplay.stop();_this.find(".swiper-button-prev, .swiper-button-next").addClass("visible")}.bind(this),100)});_sponsorSwiper.init()});_productSwiper=new window.Swiper(".product-swiper .swiper-container",{slidesPerView:1,slidesPerGroup:1,spaceBetween:10,keyboardControl:!0,loop:!0,autoplay:{delay:7e3,disableOnInteraction:!1,stopOnLast:!0},breakpoints:{"@0.00":{slidesPerView:1,slidesPerGroup:1,spaceBetween:10},"@0.75":{slidesPerView:2,slidesPerGroup:2,spaceBetween:20},"@1.00":{slidesPerView:2,slidesPerGroup:2,spaceBetween:20},"@1.50":{slidesPerView:3,slidesPerGroup:3,spaceBetween:30}},pagination:{el:".swiper-pagination",clickable:!0,renderBullet:function(index,className){return'<span class="'+className+'"><svg class="swiper-pagination-loader" width="16" height="16" viewBox="0 0 16 16"><circle class="path swiper-pagination-stroke" cx="8" cy="8" r="5.5" fill="none" transform="rotate(-90 8 8)" stroke="#ffffff"stroke-opacity="1" stroke-width="1.5px"><\/circle><circle class="swiper-pagination-fill" cx="8" cy="8" r="3" fill="#ffffff"><\/circle><\/svg><\/span>'}},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},init:!1});_productSwiper.on("init",function(){setTimeout(function(){jQuery(".product-swiper").hasClass("autoplay")||_productSwiper.autoplay.stop();jQuery(".swiper-button-prev,.swiper-button-next,.swiper-pagination").addClass("visible")},100)});_productSwiper.init();_lightboxSwiper=new window.Swiper(".lightbox-swiper .swiper-container",{spaceBetween:0,slidesPerView:1,slidesPerGroup:1,breakpoints:{480:{spaceBetween:20,slidesPerView:2,slidesPerGroup:2},768:{spaceBetween:20,slidesPerView:4,slidesPerGroup:4}},loop:!1,keyboardControl:!0,mousewheel:{invert:!0},pagination:{el:".lightbox-swiper .swiper-pagination",clickable:!0,renderBullet:function(index,className){return'<span class="'+className+'"><svg class="swiper-pagination-loader" width="16" height="16" viewBox="0 0 16 16"><circle class="path swiper-pagination-stroke" cx="8" cy="8" r="5.5" fill="none" transform="rotate(-90 8 8)" stroke="#ffffff"stroke-opacity="1" stroke-width="1.5px"><\/circle><circle class="swiper-pagination-fill" cx="8" cy="8" r="3" fill="#ffffff"><\/circle><\/svg><\/span>'}},autoplay:{delay:7e3,disableOnInteraction:!1,stopOnLast:!0},navigation:{nextEl:".lightbox-swiper .swiper-button-next",prevEl:".lightbox-swiper .swiper-button-prev"},init:!1});_lightboxSwiper.on("init",function(){setTimeout(function(){jQuery(".lightbox-swiper").hasClass("autoplay")||_lightboxSwiper.autoplay.stop();jQuery(".lightbox-swiper .swiper-button-prev, .lightbox-swiper .swiper-button-next, .lightbox-swiper .swiper-pagination").addClass("visible")},100)});_lightboxSwiper.init();_swipersSplide=[];jQuery(".splide-swiper").each(function(index){var _this=jQuery(this),_autoplay=!1,_centeredSlides=!1,_loop=!1,_slidesPerView=4,_slidesPerGroup=4,_spaceBetween=20,_renderBullet="";_this.data("slides")&&(_slidesPerView=_this.data("slides"),_slidesPerGroup=_this.data("slides"));_this.find(".swiper-container").addClass("splide-swiper-container-"+index);_this.find(".swiper-button-prev").addClass("splide-swiper-button-prev-"+index);_this.find(".swiper-button-next").addClass("splide-swiper-button-next-"+index);_this.find(".swiper-pagination").addClass("splide-swiper-pagination-"+index);_this.find(".swiper-scrollbar").addClass("splide-swiper-scrollbar-"+index);const enableSplideSwiper=function(autoplay,centeredSlides){autoplay===!0&&(_autoplay={delay:7e3},_renderBullet=function(index,className){return'<span class="'+className+'"><svg class="swiper-pagination-loader" width="16" height="16" viewBox="0 0 16 16"><circle class="path swiper-pagination-stroke" cx="8" cy="8" r="5.5" fill="none" transform="rotate(-90 8 8)" stroke="#009eb3"stroke-opacity="1" stroke-width="1.5px"><\/circle><circle class="swiper-pagination-fill" cx="8" cy="8" r="3" fill="#009eb3"><\/circle><\/svg><\/span>'});centeredSlides===!0&&(_loop=!0,_centeredSlides=!0,_spaceBetween=1,_slidesPerView=5,_slidesPerGroup=1);splideSwiper=new window.Swiper(".splide-swiper-container-"+index,{slidesPerView:"auto",spaceBetween:20,freeMode:!0,breakpoints:{991:{spaceBetween:_spaceBetween,slidesPerView:_slidesPerView,slidesPerGroup:_slidesPerGroup,freeMode:!1,loop:_loop,centeredSlides:_centeredSlides,centeredSlidesBounds:!0,slideToClickedSlide:!0}},grabCursor:!0,keyboardControl:!0,autoplay:_autoplay,pagination:{el:".splide-swiper-pagination-"+index,clickable:!0,renderBullet:_renderBullet},navigation:{nextEl:".splide-swiper-button-next-"+index,prevEl:".splide-swiper-button-prev-"+index},scrollbar:{el:".splide-swiper-scrollbar-"+index,draggable:!0,snapOnRelease:!0},watchOverflow:!0,init:!0,on:{slideChangeTransitionStart:function(swiper){if(_loop===!0){let $wrapperEl=swiper.$wrapperEl,params=swiper.params;$wrapperEl.children("."+params.slideClass+"."+params.slideDuplicateClass).each(function(){let idx=this.getAttribute("data-swiper-slide-index");this.innerHTML=$wrapperEl.children("."+params.slideClass+'[data-swiper-slide-index="'+idx+'"]:not(.'+params.slideDuplicateClass+")").html();var _myId=jQuery(this).find("input[type='checkbox']").attr("id");jQuery(this).find("input[type='checkbox']").attr("id",_myId+"-"+idx);jQuery(this).find("label").attr("for",_myId+"-"+idx)})}},slideChangeTransitionEnd:function(swiper){_loop===!0&&swiper.slideToLoop(swiper.realIndex,0,!1)}}});_swipersSplide.push(enableSplideSwiper)},splideSliderInit=function(){setTimeout(function(){var _autoplay=!1,_centeredSlides=!1;return _this.data("autoplay")===!0&&(_autoplay=!0),_this.data("centered")===!0&&(_centeredSlides=!0),_this.find(".splide-swiper-button-prev-"+index).addClass("visible"),_this.find(".splide-swiper-button-next-"+index).addClass("visible"),_this.find(".splide-swiper-pagination-"+index).addClass("visible"),enableSplideSwiper(_autoplay,_centeredSlides)},100)};splideSliderInit()})});
jQuery(function(){jQuery("body").removeClass("no-js");jQuery(".btn-top-bar-dropdown").click(function(event){event.preventDefault();var _this=jQuery(this);jQuery(".top-bar-panel").slideToggle("3000","easeInOutSine",function(){jQuery(this).is(":visible")?_this.addClass("active"):_this.removeClass("active")})});jQuery(".siteSearch-field input").on("focus",function(){jQuery(this).parents(".siteSearch-container").addClass("focus")});jQuery(".siteSearch-field input").on("blur",function(){jQuery(this).parents(".siteSearch-container").removeClass("focus")});var _headerMobileNav=jQuery(".header-mobile-nav"),_toggleAccount=jQuery(".toggleYourAccount",_headerMobileNav),_headerUtilBar=jQuery(".header-util-bar"),_toggleSearch=jQuery(".toggleSearch",_headerMobileNav),_siteSearch=jQuery(".siteSearch"),_siteSearchInput=jQuery("#mainSearchText"),_toggleMenu=jQuery(".toggleMenu > a");_toggleSearch.on("click",function(event){event.preventDefault();_toggleAccount.removeClass("active");_headerUtilBar.slideUp("fast").addClass("nav-desktop-only");jQuery(this).hasClass("active")?(jQuery(this).removeClass("active"),_siteSearch.slideUp("fast").addClass("nav-desktop-only"),_siteSearchInput.blur(),jQuery("body").removeClass("headerUtil-is-visible")):(jQuery(this).addClass("active"),_siteSearch.slideDown("fast").removeClass("nav-desktop-only"),_siteSearchInput.focus(),jQuery("body").addClass("headerUtil-is-visible"))});_toggleAccount.on("click",function(event){event.preventDefault();_toggleSearch.removeClass("active");_siteSearch.slideUp("fast").addClass("nav-desktop-only");jQuery(this).hasClass("active")?(jQuery(this).removeClass("active"),_headerUtilBar.slideUp("fast").addClass("nav-desktop-only"),jQuery("body").removeClass("headerUtil-is-visible")):(jQuery(this).addClass("active"),_headerUtilBar.slideDown("fast").removeClass("nav-desktop-only"),jQuery("body").addClass("headerUtil-is-visible"))});_toggleMenu.on("click",function(event){event.preventDefault();_toggleSearch.removeClass("active");_siteSearch.slideUp("fast").addClass("nav-desktop-only");_toggleAccount.removeClass("active");_headerUtilBar.slideUp("fast").addClass("nav-desktop-only")});$btnToggle=jQuery(".toggle-nav-link");$submenuTrigger=jQuery(".submenu-trigger > a > i");$thirdSubmenuTrigger=jQuery(".third-submenu-trigger > a > i");$mobileBackTrigger=jQuery(".mobile-menu-back > a");$btnToggle.on("click",function(event){let $target=jQuery(jQuery(event.currentTarget).attr("data-target"));$target.toggleClass("is-active")});$submenuTrigger.on("click",function(event){event.preventDefault();jQuery(this).parents(".submenu-trigger").toggleClass("is-active")});$thirdSubmenuTrigger.on("click",function(event){event.preventDefault();event.stopPropagation();jQuery(this).parents(".third-submenu-trigger").toggleClass("is-active")});$mobileBackTrigger.on("click",function(event){event.preventDefault();jQuery(this).parents(".submenu-trigger").toggleClass("is-active")})});
/*! lazysizes - v5.3.2 */
!function(e){var t=function(u,D,f){"use strict";var k,H;if(function(){var e;var t={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:true,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:true,ricTimeout:0,throttleDelay:125};H=u.lazySizesConfig||u.lazysizesConfig||{};for(e in t){if(!(e in H)){H[e]=t[e]}}}(),!D||!D.getElementsByClassName){return{init:function(){},cfg:H,noSupport:true}}var O=D.documentElement,i=u.HTMLPictureElement,P="addEventListener",$="getAttribute",q=u[P].bind(u),I=u.setTimeout,U=u.requestAnimationFrame||I,o=u.requestIdleCallback,j=/^picture$/i,r=["load","error","lazyincluded","_lazyloaded"],a={},G=Array.prototype.forEach,J=function(e,t){if(!a[t]){a[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")}return a[t].test(e[$]("class")||"")&&a[t]},K=function(e,t){if(!J(e,t)){e.setAttribute("class",(e[$]("class")||"").trim()+" "+t)}},Q=function(e,t){var a;if(a=J(e,t)){e.setAttribute("class",(e[$]("class")||"").replace(a," "))}},V=function(t,a,e){var i=e?P:"removeEventListener";if(e){V(t,a)}r.forEach(function(e){t[i](e,a)})},X=function(e,t,a,i,r){var n=D.createEvent("Event");if(!a){a={}}a.instance=k;n.initEvent(t,!i,!r);n.detail=a;e.dispatchEvent(n);return n},Y=function(e,t){var a;if(!i&&(a=u.picturefill||H.pf)){if(t&&t.src&&!e[$]("srcset")){e.setAttribute("srcset",t.src)}a({reevaluate:true,elements:[e]})}else if(t&&t.src){e.src=t.src}},Z=function(e,t){return(getComputedStyle(e,null)||{})[t]},s=function(e,t,a){a=a||e.offsetWidth;while(a<H.minSize&&t&&!e._lazysizesWidth){a=t.offsetWidth;t=t.parentNode}return a},ee=function(){var a,i;var t=[];var r=[];var n=t;var s=function(){var e=n;n=t.length?r:t;a=true;i=false;while(e.length){e.shift()()}a=false};var e=function(e,t){if(a&&!t){e.apply(this,arguments)}else{n.push(e);if(!i){i=true;(D.hidden?I:U)(s)}}};e._lsFlush=s;return e}(),te=function(a,e){return e?function(){ee(a)}:function(){var e=this;var t=arguments;ee(function(){a.apply(e,t)})}},ae=function(e){var a;var i=0;var r=H.throttleDelay;var n=H.ricTimeout;var t=function(){a=false;i=f.now();e()};var s=o&&n>49?function(){o(t,{timeout:n});if(n!==H.ricTimeout){n=H.ricTimeout}}:te(function(){I(t)},true);return function(e){var t;if(e=e===true){n=33}if(a){return}a=true;t=r-(f.now()-i);if(t<0){t=0}if(e||t<9){s()}else{I(s,t)}}},ie=function(e){var t,a;var i=99;var r=function(){t=null;e()};var n=function(){var e=f.now()-a;if(e<i){I(n,i-e)}else{(o||r)(r)}};return function(){a=f.now();if(!t){t=I(n,i)}}},e=function(){var v,m,c,h,e;var y,z,g,p,C,b,A;var n=/^img$/i;var d=/^iframe$/i;var E="onscroll"in u&&!/(gle|ing)bot/.test(navigator.userAgent);var _=0;var w=0;var M=0;var N=-1;var L=function(e){M--;if(!e||M<0||!e.target){M=0}};var x=function(e){if(A==null){A=Z(D.body,"visibility")=="hidden"}return A||!(Z(e.parentNode,"visibility")=="hidden"&&Z(e,"visibility")=="hidden")};var W=function(e,t){var a;var i=e;var r=x(e);g-=t;b+=t;p-=t;C+=t;while(r&&(i=i.offsetParent)&&i!=D.body&&i!=O){r=(Z(i,"opacity")||1)>0;if(r&&Z(i,"overflow")!="visible"){a=i.getBoundingClientRect();r=C>a.left&&p<a.right&&b>a.top-1&&g<a.bottom+1}}return r};var t=function(){var e,t,a,i,r,n,s,o,l,u,f,c;var d=k.elements;if((h=H.loadMode)&&M<8&&(e=d.length)){t=0;N++;for(;t<e;t++){if(!d[t]||d[t]._lazyRace){continue}if(!E||k.prematureUnveil&&k.prematureUnveil(d[t])){R(d[t]);continue}if(!(o=d[t][$]("data-expand"))||!(n=o*1)){n=w}if(!u){u=!H.expand||H.expand<1?O.clientHeight>500&&O.clientWidth>500?500:370:H.expand;k._defEx=u;f=u*H.expFactor;c=H.hFac;A=null;if(w<f&&M<1&&N>2&&h>2&&!D.hidden){w=f;N=0}else if(h>1&&N>1&&M<6){w=u}else{w=_}}if(l!==n){y=innerWidth+n*c;z=innerHeight+n;s=n*-1;l=n}a=d[t].getBoundingClientRect();if((b=a.bottom)>=s&&(g=a.top)<=z&&(C=a.right)>=s*c&&(p=a.left)<=y&&(b||C||p||g)&&(H.loadHidden||x(d[t]))&&(m&&M<3&&!o&&(h<3||N<4)||W(d[t],n))){R(d[t]);r=true;if(M>9){break}}else if(!r&&m&&!i&&M<4&&N<4&&h>2&&(v[0]||H.preloadAfterLoad)&&(v[0]||!o&&(b||C||p||g||d[t][$](H.sizesAttr)!="auto"))){i=v[0]||d[t]}}if(i&&!r){R(i)}}};var a=ae(t);var S=function(e){var t=e.target;if(t._lazyCache){delete t._lazyCache;return}L(e);K(t,H.loadedClass);Q(t,H.loadingClass);V(t,B);X(t,"lazyloaded")};var i=te(S);var B=function(e){i({target:e.target})};var T=function(e,t){var a=e.getAttribute("data-load-mode")||H.iframeLoadMode;if(a==0){e.contentWindow.location.replace(t)}else if(a==1){e.src=t}};var F=function(e){var t;var a=e[$](H.srcsetAttr);if(t=H.customMedia[e[$]("data-media")||e[$]("media")]){e.setAttribute("media",t)}if(a){e.setAttribute("srcset",a)}};var s=te(function(t,e,a,i,r){var n,s,o,l,u,f;if(!(u=X(t,"lazybeforeunveil",e)).defaultPrevented){if(i){if(a){K(t,H.autosizesClass)}else{t.setAttribute("sizes",i)}}s=t[$](H.srcsetAttr);n=t[$](H.srcAttr);if(r){o=t.parentNode;l=o&&j.test(o.nodeName||"")}f=e.firesLoad||"src"in t&&(s||n||l);u={target:t};K(t,H.loadingClass);if(f){clearTimeout(c);c=I(L,2500);V(t,B,true)}if(l){G.call(o.getElementsByTagName("source"),F)}if(s){t.setAttribute("srcset",s)}else if(n&&!l){if(d.test(t.nodeName)){T(t,n)}else{t.src=n}}if(r&&(s||l)){Y(t,{src:n})}}if(t._lazyRace){delete t._lazyRace}Q(t,H.lazyClass);ee(function(){var e=t.complete&&t.naturalWidth>1;if(!f||e){if(e){K(t,H.fastLoadedClass)}S(u);t._lazyCache=true;I(function(){if("_lazyCache"in t){delete t._lazyCache}},9)}if(t.loading=="lazy"){M--}},true)});var R=function(e){if(e._lazyRace){return}var t;var a=n.test(e.nodeName);var i=a&&(e[$](H.sizesAttr)||e[$]("sizes"));var r=i=="auto";if((r||!m)&&a&&(e[$]("src")||e.srcset)&&!e.complete&&!J(e,H.errorClass)&&J(e,H.lazyClass)){return}t=X(e,"lazyunveilread").detail;if(r){re.updateElem(e,true,e.offsetWidth)}e._lazyRace=true;M++;s(e,t,r,i,a)};var r=ie(function(){H.loadMode=3;a()});var o=function(){if(H.loadMode==3){H.loadMode=2}r()};var l=function(){if(m){return}if(f.now()-e<999){I(l,999);return}m=true;H.loadMode=3;a();q("scroll",o,true)};return{_:function(){e=f.now();k.elements=D.getElementsByClassName(H.lazyClass);v=D.getElementsByClassName(H.lazyClass+" "+H.preloadClass);q("scroll",a,true);q("resize",a,true);q("pageshow",function(e){if(e.persisted){var t=D.querySelectorAll("."+H.loadingClass);if(t.length&&t.forEach){U(function(){t.forEach(function(e){if(e.complete){R(e)}})})}}});if(u.MutationObserver){new MutationObserver(a).observe(O,{childList:true,subtree:true,attributes:true})}else{O[P]("DOMNodeInserted",a,true);O[P]("DOMAttrModified",a,true);setInterval(a,999)}q("hashchange",a,true);["focus","mouseover","click","load","transitionend","animationend"].forEach(function(e){D[P](e,a,true)});if(/d$|^c/.test(D.readyState)){l()}else{q("load",l);D[P]("DOMContentLoaded",a);I(l,2e4)}if(k.elements.length){t();ee._lsFlush()}else{a()}},checkElems:a,unveil:R,_aLSL:o}}(),re=function(){var a;var n=te(function(e,t,a,i){var r,n,s;e._lazysizesWidth=i;i+="px";e.setAttribute("sizes",i);if(j.test(t.nodeName||"")){r=t.getElementsByTagName("source");for(n=0,s=r.length;n<s;n++){r[n].setAttribute("sizes",i)}}if(!a.detail.dataAttr){Y(e,a.detail)}});var i=function(e,t,a){var i;var r=e.parentNode;if(r){a=s(e,r,a);i=X(e,"lazybeforesizes",{width:a,dataAttr:!!t});if(!i.defaultPrevented){a=i.detail.width;if(a&&a!==e._lazysizesWidth){n(e,r,i,a)}}}};var e=function(){var e;var t=a.length;if(t){e=0;for(;e<t;e++){i(a[e])}}};var t=ie(e);return{_:function(){a=D.getElementsByClassName(H.autosizesClass);q("resize",t)},checkElems:t,updateElem:i}}(),t=function(){if(!t.i&&D.getElementsByClassName){t.i=true;re._();e._()}};return I(function(){H.init&&t()}),k={cfg:H,autoSizer:re,loader:e,init:t,uP:Y,aC:K,rC:Q,hC:J,fire:X,gW:s,rAF:ee}}(e,e.document,Date);e.lazySizes=t,"object"==typeof module&&module.exports&&(module.exports=t)}("undefined"!=typeof window?window:{});;
//# sourceMappingURL=/sb/nmap/home-scripts.js.v87e87132da13fd51ea00e173a7c3728ab8bb0f1c