"use strict"; function _get(t, e, i) { return (_get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get : function (t, e, i) { var n = _superPropBase(t, e); if (n) { var s = Object.getOwnPropertyDescriptor(n, e); return s.get ? s.get.call(i) : s.value } })(t, e, i || t) } function _superPropBase(t, e) { for (; !Object.prototype.hasOwnProperty.call(t, e) && null !== (t = _getPrototypeOf(t));); return t } function ownKeys(e, t) { var i = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable })), i.push.apply(i, n) } return i } function _objectSpread(e) { for (var t = 1; t < arguments.length; t++) { var i = null != arguments[t] ? arguments[t] : {}; t % 2 ? ownKeys(Object(i), !0).forEach(function (t) { _defineProperty(e, t, i[t]) }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(i)) : ownKeys(Object(i)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(i, t)) }) } return e } function _defineProperty(t, e, i) { return e in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t } function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), e && _setPrototypeOf(t, e) } function _setPrototypeOf(t, e) { return (_setPrototypeOf = Object.setPrototypeOf || function (t, e) { return t.__proto__ = e, t })(t, e) } function _createSuper(n) { var s = _isNativeReflectConstruct(); return function () { var t, e = _getPrototypeOf(n); if (s) { var i = _getPrototypeOf(this).constructor; t = Reflect.construct(e, arguments, i) } else t = e.apply(this, arguments); return _possibleConstructorReturn(this, t) } } function _possibleConstructorReturn(t, e) { return !e || "object" !== _typeof(e) && "function" != typeof e ? _assertThisInitialized(t) : e } function _assertThisInitialized(t) { if (void 0 === t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return t } function _isNativeReflectConstruct() { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Date.prototype.toString.call(Reflect.construct(Date, [], function () {})), !0 } catch (t) { return !1 } } function _getPrototypeOf(t) { return (_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) { return t.__proto__ || Object.getPrototypeOf(t) })(t) } function _classCallCheck(t, e) { if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") } function _defineProperties(t, e) { for (var i = 0; i < e.length; i++) { var n = e[i]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(t, n.key, n) } } function _createClass(t, e, i) { return e && _defineProperties(t.prototype, e), i && _defineProperties(t, i), t } function _slicedToArray(t, e) { return _arrayWithHoles(t) || _iterableToArrayLimit(t, e) || _unsupportedIterableToArray(t, e) || _nonIterableRest() } function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.") } function _iterableToArrayLimit(t, e) { if ("undefined" != typeof Symbol && Symbol.iterator in Object(t)) { var i = [], n = !0, s = !1, o = void 0; try { for (var r, a = t[Symbol.iterator](); !(n = (r = a.next()).done) && (i.push(r.value), !e || i.length !== e); n = !0); } catch (t) { s = !0, o = t } finally { try { n || null == a.return || a.return() } finally { if (s) throw o } } return i } } function _arrayWithHoles(t) { if (Array.isArray(t)) return t } function _toConsumableArray(t) { return _arrayWithoutHoles(t) || _iterableToArray(t) || _unsupportedIterableToArray(t) || _nonIterableSpread() } function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.") } function _unsupportedIterableToArray(t, e) { if (t) { if ("string" == typeof t) return _arrayLikeToArray(t, e); var i = Object.prototype.toString.call(t).slice(8, -1); return "Object" === i && t.constructor && (i = t.constructor.name), "Map" === i || "Set" === i ? Array.from(t) : "Arguments" === i || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i) ? _arrayLikeToArray(t, e) : void 0 } } function _iterableToArray(t) { if ("undefined" != typeof Symbol && Symbol.iterator in Object(t)) return Array.from(t) } function _arrayWithoutHoles(t) { if (Array.isArray(t)) return _arrayLikeToArray(t) } function _arrayLikeToArray(t, e) { (null == e || e > t.length) && (e = t.length); for (var i = 0, n = new Array(e); i < e; i++) n[i] = t[i]; return n } function _typeof(t) { return (_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t })(t) } function _typeof(t) { return (_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t })(t) } function _typeof(t) { return (_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t })(t) } function _typeof(t) { return (_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t })(t) } function _typeof(t) { return (_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t })(t) } function _typeof(t) { return (_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t })(t) } function _typeof(t) { return (_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t })(t) } function _get2(t, e, i) { return (_get2 = "undefined" != typeof Reflect && Reflect.get ? Reflect.get : function (t, e, i) { var n = _superPropBase(t, e); if (n) { var s = Object.getOwnPropertyDescriptor(n, e); return s.get ? s.get.call(i) : s.value } })(t, e, i || t) } function _superPropBase(t, e) { for (; !Object.prototype.hasOwnProperty.call(t, e) && null !== (t = _getPrototypeOf(t));); return t } function ownKeys(e, t) { var i = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable })), i.push.apply(i, n) } return i } function _objectSpread(e) { for (var t = 1; t < arguments.length; t++) { var i = null != arguments[t] ? arguments[t] : {}; t % 2 ? ownKeys(Object(i), !0).forEach(function (t) { _defineProperty(e, t, i[t]) }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(i)) : ownKeys(Object(i)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(i, t)) }) } return e } function _defineProperty(t, e, i) { return e in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t } function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), e && _setPrototypeOf(t, e) } function _setPrototypeOf(t, e) { return (_setPrototypeOf = Object.setPrototypeOf || function (t, e) { return t.__proto__ = e, t })(t, e) } function _createSuper(n) { var s = _isNativeReflectConstruct(); return function () { var t, e = _getPrototypeOf(n); if (s) { var i = _getPrototypeOf(this).constructor; t = Reflect.construct(e, arguments, i) } else t = e.apply(this, arguments); return _possibleConstructorReturn(this, t) } } function _possibleConstructorReturn(t, e) { return !e || "object" !== _typeof(e) && "function" != typeof e ? _assertThisInitialized(t) : e } function _assertThisInitialized(t) { if (void 0 === t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return t } function _isNativeReflectConstruct() { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Date.prototype.toString.call(Reflect.construct(Date, [], function () {})), !0 } catch (t) { return !1 } } function _getPrototypeOf(t) { return (_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) { return t.__proto__ || Object.getPrototypeOf(t) })(t) } function _classCallCheck(t, e) { if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") } function _defineProperties(t, e) { for (var i = 0; i < e.length; i++) { var n = e[i]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(t, n.key, n) } } function _createClass(t, e, i) { return e && _defineProperties(t.prototype, e), i && _defineProperties(t, i), t } function _slicedToArray(t, e) { return _arrayWithHoles(t) || _iterableToArrayLimit(t, e) || _unsupportedIterableToArray(t, e) || _nonIterableRest() } function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.") } function _iterableToArrayLimit(t, e) { if ("undefined" != typeof Symbol && Symbol.iterator in Object(t)) { var i = [], n = !0, s = !1, o = void 0; try { for (var r, a = t[Symbol.iterator](); !(n = (r = a.next()).done) && (i.push(r.value), !e || i.length !== e); n = !0); } catch (t) { s = !0, o = t } finally { try { n || null == a.return || a.return() } finally { if (s) throw o } } return i } } function _arrayWithHoles(t) { if (Array.isArray(t)) return t } function _toConsumableArray(t) { return _arrayWithoutHoles(t) || _iterableToArray(t) || _unsupportedIterableToArray(t) || _nonIterableSpread() } function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.") } function _unsupportedIterableToArray(t, e) { if (t) { if ("string" == typeof t) return _arrayLikeToArray(t, e); var i = Object.prototype.toString.call(t).slice(8, -1); return "Object" === i && t.constructor && (i = t.constructor.name), "Map" === i || "Set" === i ? Array.from(t) : "Arguments" === i || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i) ? _arrayLikeToArray(t, e) : void 0 } } function _iterableToArray(t) { if ("undefined" != typeof Symbol && Symbol.iterator in Object(t)) return Array.from(t) } function _arrayWithoutHoles(t) { if (Array.isArray(t)) return _arrayLikeToArray(t) } function _arrayLikeToArray(t, e) { (null == e || e > t.length) && (e = t.length); for (var i = 0, n = new Array(e); i < e; i++) n[i] = t[i]; return n } function _typeof(t) { return (_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t })(t) }! function (t, e) { "object" == ("undefined" == typeof exports ? "undefined" : _typeof(exports)) && "undefined" != typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define(e) : (t = "undefined" != typeof globalThis ? globalThis : t || self).bootstrap = e() }(void 0, function () { function p(t) { for (; t += Math.floor(1e6 * Math.random()), document.getElementById(t);); return t } function i(t) { var e = t.getAttribute("data-bs-target"); if (!e || "#" === e) { var 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 } function h(t) { var e = i(t); return e && document.querySelector(e) ? e : null } function a(t) { var e = i(t); return e ? document.querySelector(e) : null } function e(t) { t.dispatchEvent(new Event("transitionend")) } function c(t) { return !(!t || "object" != _typeof(t)) && (void 0 !== t.jquery && (t = t[0]), void 0 !== t.nodeType) } function r(t) { return c(t) ? t.jquery ? t[0] : t : "string" == typeof t && 0 < t.length ? y(t) : null } function d(o, r, a) { Object.keys(a).forEach(function (t) { var e, i = a[t], n = r[t], s = n && c(n) ? "element" : null == (e = n) ? "" + e : {}.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(); if (!new RegExp(i).test(s)) throw new TypeError("".concat(o.toUpperCase(), ': Option "').concat(t, '" provided type "').concat(s, '" but expected type "').concat(i, '".')) }) } function s(t) { return !(!c(t) || 0 === t.getClientRects().length) && "visible" === getComputedStyle(t).getPropertyValue("visibility") } function u(t) { return !t || t.nodeType !== Node.ELEMENT_NODE || !!t.classList.contains("disabled") || (void 0 !== t.disabled ? t.disabled : t.hasAttribute("disabled") && "false" !== t.getAttribute("disabled")) } function f() {} function g(t) { return t.offsetHeight } function m() { var t = window.jQuery; return t && !document.body.hasAttribute("data-bs-no-jquery") ? t : null } function l() { return "rtl" === document.documentElement.dir } function t(n) { var t; t = function () { var t = m(); if (t) { var e = n.NAME, i = t.fn[e]; t.fn[e] = n.jQueryInterface, t.fn[e].Constructor = n, t.fn[e].noConflict = function () { return t.fn[e] = i, n.jQueryInterface } } }, "loading" === document.readyState ? (C.length || document.addEventListener("DOMContentLoaded", function () { C.forEach(function (t) { return t() }) }), C.push(t)) : t() } function o(t) { "function" == typeof t && t() } function n(i, n) { if (!(2 < arguments.length && void 0 !== arguments[2]) || arguments[2]) { var t = function (t) { if (!t) return 0; var e = window.getComputedStyle(t), i = e.transitionDuration, n = e.transitionDelay, s = Number.parseFloat(i), o = Number.parseFloat(n); return s || o ? (i = i.split(",")[0], n = n.split(",")[0], 1e3 * (Number.parseFloat(i) + Number.parseFloat(n))) : 0 }(n) + 5, s = !1; n.addEventListener("transitionend", function t(e) { e.target === n && (s = !0, n.removeEventListener("transitionend", t), o(i)) }), setTimeout(function () { s || e(n) }, t) } else o(i) } function v(t, e, i, n) { var s = t.indexOf(e); if (-1 === s) return t[!i && n ? t.length - 1 : 0]; var o = t.length; return s += i ? 1 : -1, n && (s = (s + o) % o), t[Math.max(0, Math.min(s, o - 1))] } var _ = function (t) { var e, i = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : document.documentElement; return (e = []).concat.apply(e, _toConsumableArray(Element.prototype.querySelectorAll.call(i, t))) }, y = function (t) { var e = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : document.documentElement; return Element.prototype.querySelector.call(e, t) }, b = function (t, e) { var i; return (i = []).concat.apply(i, _toConsumableArray(t.children)).filter(function (t) { return t.matches(e) }) }, w = function (t, e) { for (var i = [], n = t.parentNode; n && n.nodeType === Node.ELEMENT_NODE && 3 !== n.nodeType;) n.matches(e) && i.push(n), n = n.parentNode; return i }, k = function (t, e) { for (var i = t.previousElementSibling; i;) { if (i.matches(e)) return [i]; i = i.previousElementSibling } return [] }, x = function (t, e) { for (var i = t.nextElementSibling; i;) { if (i.matches(e)) return [i]; i = i.nextElementSibling } return [] }, C = [], T = /[^.]*(?=\..*)\.|.*/, S = /\..*/, D = /::\d+$/, A = {}, E = 1, P = { mouseenter: "mouseover", mouseleave: "mouseout" }, I = /^(mouseenter|mouseleave)/i, O = 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 M(t, e) { return e && "".concat(e, "::").concat(E++) || t.uidEvent || E++ } function N(t) { var e = M(t); return t.uidEvent = e, A[e] = A[e] || {}, A[e] } function L(t, e) { for (var i = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null, n = Object.keys(t), s = 0, o = n.length; s < o; s++) { var r = t[n[s]]; if (r.originalHandler === e && r.delegationSelector === i) return r } return null } function H(t, e, i) { var n = "string" == typeof e, s = n ? i : e, o = W(t); return O.has(o) || (o = t), [n, s, o] } function j(t, e, i, n, s) { if ("string" == typeof e && t) { if (i || (i = n, n = null), I.test(e)) { var o = function (e) { return function (t) { if (!t.relatedTarget || t.relatedTarget !== t.delegateTarget && !t.delegateTarget.contains(t.relatedTarget)) return e.call(this, t) } }; n ? n = o(n) : i = o(i) } var r = H(e, i, n), a = _slicedToArray(r, 3), l = a[0], c = a[1], u = a[2], h = N(t), d = h[u] || (h[u] = {}), p = L(d, c, l ? i : null); if (p) p.oneOff = p.oneOff && s; else { var f, g, m, v, _, y = M(c, e.replace(T, "")), b = l ? (m = t, v = i, _ = n, function t(e) { for (var i = m.querySelectorAll(v), n = e.target; n && n !== this; n = n.parentNode) for (var s = i.length; s--;) if (i[s] === n) return e.delegateTarget = n, t.oneOff && $.off(m, e.type, v, _), _.apply(n, [e]); return null }) : (f = t, g = i, function t(e) { return e.delegateTarget = f, t.oneOff && $.off(f, e.type, g), g.apply(f, [e]) }); b.delegationSelector = l ? i : null, b.originalHandler = c, b.oneOff = s, d[b.uidEvent = y] = b, t.addEventListener(u, b, l) } } } function z(t, e, i, n, s) { var o = L(e[i], n, s); o && (t.removeEventListener(i, o, Boolean(s)), delete e[i][o.uidEvent]) } function W(t) { return t = t.replace(S, ""), P[t] || t } var $ = { on: function (t, e, i, n) { j(t, e, i, n, !1) }, one: function (t, e, i, n) { j(t, e, i, n, !0) }, off: function (a, l, t, e) { if ("string" == typeof l && a) { var i = H(l, t, e), n = _slicedToArray(i, 3), s = n[0], o = n[1], r = n[2], c = r !== l, u = N(a), h = l.startsWith("."); if (void 0 === o) { h && Object.keys(u).forEach(function (t) { var i, n, s, o, r; i = a, n = u, s = t, o = l.slice(1), r = n[s] || {}, Object.keys(r).forEach(function (t) { if (t.includes(o)) { var e = r[t]; z(i, n, s, e.originalHandler, e.delegationSelector) } }) }); var d = u[r] || {}; Object.keys(d).forEach(function (t) { var e = t.replace(D, ""); if (!c || l.includes(e)) { var i = d[t]; z(a, u, r, i.originalHandler, i.delegationSelector) } }) } else { if (!u || !u[r]) return; z(a, u, r, o, s ? t : null) } } }, trigger: function (t, e, i) { if ("string" != typeof e || !t) return null; var n, s = m(), o = W(e), r = e !== o, a = O.has(o), l = !0, c = !0, u = !1, h = null; return r && s && (n = s.Event(e, i), s(t).trigger(n), l = !n.isPropagationStopped(), c = !n.isImmediatePropagationStopped(), u = n.isDefaultPrevented()), a ? (h = document.createEvent("HTMLEvents")).initEvent(o, l, !0) : h = new CustomEvent(e, { bubbles: l, cancelable: !0 }), void 0 !== i && Object.keys(i).forEach(function (t) { Object.defineProperty(h, t, { get: function () { return i[t] } }) }), u && h.preventDefault(), c && t.dispatchEvent(h), h.defaultPrevented && void 0 !== n && n.preventDefault(), h } }, R = new Map, F = function (t, e, i) { R.has(t) || R.set(t, new Map); var n = R.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: ".concat(Array.from(n.keys())[0], ".")) }, q = function (t, e) { return R.has(t) && R.get(t).get(e) || null }, B = function (t, e) { if (R.has(t)) { var i = R.get(t); i.delete(e), 0 === i.size && R.delete(t) } }, U = function () { function e(t) { _classCallCheck(this, e), (t = r(t)) && (this._element = t, F(this._element, this.constructor.DATA_KEY, this)) } return _createClass(e, [{ key: "dispose", value: function () { var e = this; B(this._element, this.constructor.DATA_KEY), $.off(this._element, this.constructor.EVENT_KEY), Object.getOwnPropertyNames(this).forEach(function (t) { e[t] = null }) } }, { key: "_queueCallback", value: function (t, e) { var i = !(2 < arguments.length && void 0 !== arguments[2]) || arguments[2]; n(t, e, i) } }], [{ key: "getInstance", value: function (t) { return q(t, this.DATA_KEY) } }, { key: "getOrCreateInstance", value: function (t) { var e = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {}; return this.getInstance(t) || new this(t, "object" == _typeof(e) ? e : null) } }, { key: "VERSION", get: function () { return "5.0.2" } }, { key: "NAME", get: function () { throw new Error('You have to implement the static method "NAME", for each component!') } }, { key: "DATA_KEY", get: function () { return "bs." + this.NAME } }, { key: "EVENT_KEY", get: function () { return "." + this.DATA_KEY } }]), e }(), Y = function (t) { _inherits(i, U); var e = _createSuper(i); function i() { return _classCallCheck(this, i), e.apply(this, arguments) } return _createClass(i, [{ key: "close", value: function (t) { var e = t ? this._getRootElement(t) : this._element, i = this._triggerCloseEvent(e); null === i || i.defaultPrevented || this._removeElement(e) } }, { key: "_getRootElement", value: function (t) { return a(t) || t.closest(".alert") } }, { key: "_triggerCloseEvent", value: function (t) { return $.trigger(t, "close.bs.alert") } }, { key: "_removeElement", value: function (t) { var e = this; t.classList.remove("show"); var i = t.classList.contains("fade"); this._queueCallback(function () { return e._destroyElement(t) }, t, i) } }, { key: "_destroyElement", value: function (t) { t.remove(), $.trigger(t, "closed.bs.alert") } }], [{ key: "jQueryInterface", value: function (e) { return this.each(function () { var t = i.getOrCreateInstance(this); "close" === e && t[e](this) }) } }, { key: "handleDismiss", value: function (e) { return function (t) { t && t.preventDefault(), e.close(this) } } }, { key: "NAME", get: function () { return "alert" } }]), i }(); $.on(document, "click.bs.alert.data-api", '[data-bs-dismiss="alert"]', Y.handleDismiss(new Y)), t(Y); var V = function (t) { _inherits(i, U); var e = _createSuper(i); function i() { return _classCallCheck(this, i), e.apply(this, arguments) } return _createClass(i, [{ key: "toggle", value: function () { this._element.setAttribute("aria-pressed", this._element.classList.toggle("active")) } }], [{ key: "jQueryInterface", value: function (e) { return this.each(function () { var t = i.getOrCreateInstance(this); "toggle" === e && t[e]() }) } }, { key: "NAME", get: function () { return "button" } }]), i }(); function K(t) { return "true" === t || "false" !== t && (t === Number(t).toString() ? Number(t) : "" === t || "null" === t ? null : t) } function X(t) { return t.replace(/[A-Z]/g, function (t) { return "-" + t.toLowerCase() }) } $.on(document, "click.bs.button.data-api", '[data-bs-toggle="button"]', function (t) { t.preventDefault(); var e = t.target.closest('[data-bs-toggle="button"]'); V.getOrCreateInstance(e).toggle() }), t(V); var Q = { setDataAttribute: function (t, e, i) { t.setAttribute("data-bs-" + X(e), i) }, removeDataAttribute: function (t, e) { t.removeAttribute("data-bs-" + X(e)) }, getDataAttributes: function (i) { if (!i) return {}; var n = {}; return Object.keys(i.dataset).filter(function (t) { return t.startsWith("bs") }).forEach(function (t) { var e = t.replace(/^bs/, ""); e = e.charAt(0).toLowerCase() + e.slice(1, e.length), n[e] = K(i.dataset[t]) }), n }, getDataAttribute: function (t, e) { return K(t.getAttribute("data-bs-" + X(e))) }, offset: function (t) { var e = t.getBoundingClientRect(); return { top: e.top + document.body.scrollTop, left: e.left + document.body.scrollLeft } }, position: function (t) { return { top: t.offsetTop, left: t.offsetLeft } } }, G = { interval: 5e3, keyboard: !0, slide: !1, pause: "hover", wrap: !0, touch: !0 }, J = { interval: "(number|boolean)", keyboard: "boolean", slide: "(boolean|string)", pause: "(string|boolean)", wrap: "boolean", touch: "boolean" }, Z = "next", tt = "prev", et = "left", it = "right", nt = { ArrowLeft: it, ArrowRight: et }, st = function (t) { _inherits(o, U); var n = _createSuper(o); function o(t, e) { var i; return _classCallCheck(this, o), (i = n.call(this, t))._items = null, i._interval = null, i._activeElement = null, i._isPaused = !1, i._isSliding = !1, i.touchTimeout = null, i.touchStartX = 0, i.touchDeltaX = 0, i._config = i._getConfig(e), i._indicatorsElement = y(".carousel-indicators", i._element), i._touchSupported = "ontouchstart" in document.documentElement || 0 < navigator.maxTouchPoints, i._pointerEvent = Boolean(window.PointerEvent), i._addEventListeners(), i } return _createClass(o, [{ key: "next", value: function () { this._slide(Z) } }, { key: "nextWhenVisible", value: function () { !document.hidden && s(this._element) && this.next() } }, { key: "prev", value: function () { this._slide(tt) } }, { key: "pause", value: function (t) { t || (this._isPaused = !0), y(".carousel-item-next, .carousel-item-prev", this._element) && (e(this._element), this.cycle(!0)), clearInterval(this._interval), this._interval = null } }, { key: "cycle", value: function (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)) } }, { key: "to", value: function (t) { var e = this; this._activeElement = y(".active.carousel-item", this._element); var i = this._getItemIndex(this._activeElement); if (!(t > this._items.length - 1 || t < 0)) if (this._isSliding) $.one(this._element, "slid.bs.carousel", function () { return e.to(t) }); else { if (i === t) return this.pause(), void this.cycle(); var n = i < t ? Z : tt; this._slide(n, this._items[t]) } } }, { key: "_getConfig", value: function (t) { return t = _objectSpread(_objectSpread(_objectSpread({}, G), Q.getDataAttributes(this._element)), "object" == _typeof(t) ? t : {}), d("carousel", t, J), t } }, { key: "_handleSwipe", value: function () { var t = Math.abs(this.touchDeltaX); if (!(t <= 40)) { var e = t / this.touchDeltaX; this.touchDeltaX = 0, e && this._slide(0 < e ? it : et) } } }, { key: "_addEventListeners", value: function () { var e = this; this._config.keyboard && $.on(this._element, "keydown.bs.carousel", function (t) { return e._keydown(t) }), "hover" === this._config.pause && ($.on(this._element, "mouseenter.bs.carousel", function (t) { return e.pause(t) }), $.on(this._element, "mouseleave.bs.carousel", function (t) { return e.cycle(t) })), this._config.touch && this._touchSupported && this._addTouchEventListeners() } }, { key: "_addTouchEventListeners", value: function () { function e(t) { !n._pointerEvent || "pen" !== t.pointerType && "touch" !== t.pointerType ? n._pointerEvent || (n.touchStartX = t.touches[0].clientX) : n.touchStartX = t.clientX } function i(t) { !n._pointerEvent || "pen" !== t.pointerType && "touch" !== t.pointerType || (n.touchDeltaX = t.clientX - n.touchStartX), n._handleSwipe(), "hover" === n._config.pause && (n.pause(), n.touchTimeout && clearTimeout(n.touchTimeout), n.touchTimeout = setTimeout(function (t) { return n.cycle(t) }, 500 + n._config.interval)) } var n = this; _(".carousel-item img", this._element).forEach(function (t) { $.on(t, "dragstart.bs.carousel", function (t) { return t.preventDefault() }) }), this._pointerEvent ? ($.on(this._element, "pointerdown.bs.carousel", function (t) { return e(t) }), $.on(this._element, "pointerup.bs.carousel", function (t) { return i(t) }), this._element.classList.add("pointer-event")) : ($.on(this._element, "touchstart.bs.carousel", function (t) { return e(t) }), $.on(this._element, "touchmove.bs.carousel", function (t) { return function (t) { n.touchDeltaX = t.touches && 1 < t.touches.length ? 0 : t.touches[0].clientX - n.touchStartX }(t) }), $.on(this._element, "touchend.bs.carousel", function (t) { return i(t) })) } }, { key: "_keydown", value: function (t) { if (!/input|textarea/i.test(t.target.tagName)) { var e = nt[t.key]; e && (t.preventDefault(), this._slide(e)) } } }, { key: "_getItemIndex", value: function (t) { return this._items = t && t.parentNode ? _(".carousel-item", t.parentNode) : [], this._items.indexOf(t) } }, { key: "_getItemByOrder", value: function (t, e) { var i = t === Z; return v(this._items, e, i, this._config.wrap) } }, { key: "_triggerSlideEvent", value: function (t, e) { var i = this._getItemIndex(t), n = this._getItemIndex(y(".active.carousel-item", this._element)); return $.trigger(this._element, "slide.bs.carousel", { relatedTarget: t, direction: e, from: n, to: i }) } }, { key: "_setActiveIndicatorElement", value: function (t) { if (this._indicatorsElement) { var e = y(".active", this._indicatorsElement); e.classList.remove("active"), e.removeAttribute("aria-current"); for (var i = _("[data-bs-target]", this._indicatorsElement), n = 0; n < i.length; n++) if (Number.parseInt(i[n].getAttribute("data-bs-slide-to"), 10) === this._getItemIndex(t)) { i[n].classList.add("active"), i[n].setAttribute("aria-current", "true"); break } } } }, { key: "_updateInterval", value: function () { var t = this._activeElement || y(".active.carousel-item", this._element); if (t) { var 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 } } }, { key: "_slide", value: function (t, e) { var i = this, n = this._directionToOrder(t), s = y(".active.carousel-item", this._element), o = this._getItemIndex(s), r = e || this._getItemByOrder(n, s), a = this._getItemIndex(r), l = Boolean(this._interval), c = n === Z, u = c ? "carousel-item-start" : "carousel-item-end", h = c ? "carousel-item-next" : "carousel-item-prev", d = this._orderToDirection(n); if (r && r.classList.contains("active")) this._isSliding = !1; else if (!this._isSliding && !this._triggerSlideEvent(r, d).defaultPrevented && s && r) { this._isSliding = !0, l && this.pause(), this._setActiveIndicatorElement(r), this._activeElement = r; var p = function () { $.trigger(i._element, "slid.bs.carousel", { relatedTarget: r, direction: d, from: o, to: a }) }; if (this._element.classList.contains("slide")) { r.classList.add(h), g(r), s.classList.add(u), r.classList.add(u); this._queueCallback(function () { r.classList.remove(u, h), r.classList.add("active"), s.classList.remove("active", h, u), i._isSliding = !1, setTimeout(p, 0) }, s, !0) } else s.classList.remove("active"), r.classList.add("active"), this._isSliding = !1, p(); l && this.cycle() } } }, { key: "_directionToOrder", value: function (t) { return [it, et].includes(t) ? l() ? t === et ? tt : Z : t === et ? Z : tt : t } }, { key: "_orderToDirection", value: function (t) { return [Z, tt].includes(t) ? l() ? t === tt ? et : it : t === tt ? it : et : t } }], [{ key: "carouselInterface", value: function (t, e) { var i = o.getOrCreateInstance(t, e), n = i._config; "object" == _typeof(e) && (n = _objectSpread(_objectSpread({}, n), e)); var s = "string" == typeof e ? e : n.slide; if ("number" == typeof e) i.to(e); else if ("string" == typeof s) { if (void 0 === i[s]) throw new TypeError('No method named "'.concat(s, '"')); i[s]() } else n.interval && n.ride && (i.pause(), i.cycle()) } }, { key: "jQueryInterface", value: function (t) { return this.each(function () { o.carouselInterface(this, t) }) } }, { key: "dataApiClickHandler", value: function (t) { var e = a(this); if (e && e.classList.contains("carousel")) { var i = _objectSpread(_objectSpread({}, Q.getDataAttributes(e)), Q.getDataAttributes(this)), n = this.getAttribute("data-bs-slide-to"); n && (i.interval = !1), o.carouselInterface(e, i), n && o.getInstance(e).to(n), t.preventDefault() } } }, { key: "Default", get: function () { return G } }, { key: "NAME", get: function () { return "carousel" } }]), o }(); $.on(document, "click.bs.carousel.data-api", "[data-bs-slide], [data-bs-slide-to]", st.dataApiClickHandler), $.on(window, "load.bs.carousel.data-api", function () { for (var t = _('[data-bs-ride="carousel"]'), e = 0, i = t.length; e < i; e++) st.carouselInterface(t[e], st.getInstance(t[e])) }), t(st); var ot = { toggle: !0, parent: "" }, rt = { toggle: "boolean", parent: "(string|element)" }, at = function (t) { _inherits(u, U); var c = _createSuper(u); function u(t, e) { var i; _classCallCheck(this, u), (i = c.call(this, t))._isTransitioning = !1, i._config = i._getConfig(e), i._triggerArray = _('[data-bs-toggle="collapse"][href="#'.concat(i._element.id, '"],[data-bs-toggle="collapse"][data-bs-target="#').concat(i._element.id, '"]')); for (var n = _('[data-bs-toggle="collapse"]'), s = 0, o = n.length; s < o; s++) { var r = n[s], a = h(r), l = _(a).filter(function (t) { return t === i._element }); null !== a && l.length && (i._selector = a, i._triggerArray.push(r)) } return i._parent = i._config.parent ? i._getParent() : null, i._config.parent || i._addAriaAndCollapsedClass(i._element, i._triggerArray), i._config.toggle && i.toggle(), i } return _createClass(u, [{ key: "toggle", value: function () { this._element.classList.contains("show") ? this.hide() : this.show() } }, { key: "show", value: function () { var e = this; if (!this._isTransitioning && !this._element.classList.contains("show")) { var t, i; this._parent && (0 === (t = _(".show, .collapsing", this._parent).filter(function (t) { return "string" == typeof e._config.parent ? t.getAttribute("data-bs-parent") === e._config.parent : t.classList.contains("collapse") })).length && (t = null)); var n = y(this._selector); if (t) { var s = t.find(function (t) { return n !== t }); if ((i = s ? u.getInstance(s) : null) && i._isTransitioning) return } if (!$.trigger(this._element, "show.bs.collapse").defaultPrevented) { t && t.forEach(function (t) { n !== t && u.collapseInterface(t, "hide"), i || F(t, "bs.collapse", null) }); var o = this._getDimension(); this._element.classList.remove("collapse"), this._element.classList.add("collapsing"), this._element.style[o] = 0, this._triggerArray.length && this._triggerArray.forEach(function (t) { t.classList.remove("collapsed"), t.setAttribute("aria-expanded", !0) }), this.setTransitioning(!0); var r = "scroll" + (o[0].toUpperCase() + o.slice(1)); this._queueCallback(function () { e._element.classList.remove("collapsing"), e._element.classList.add("collapse", "show"), e._element.style[o] = "", e.setTransitioning(!1), $.trigger(e._element, "shown.bs.collapse") }, this._element, !0), this._element.style[o] = this._element[r] + "px" } } } }, { key: "hide", value: function () { var t = this; if (!this._isTransitioning && this._element.classList.contains("show") && !$.trigger(this._element, "hide.bs.collapse").defaultPrevented) { var e = this._getDimension(); this._element.style[e] = this._element.getBoundingClientRect()[e] + "px", g(this._element), this._element.classList.add("collapsing"), this._element.classList.remove("collapse", "show"); var i = this._triggerArray.length; if (0 < i) for (var n = 0; n < i; n++) { var s = this._triggerArray[n], o = a(s); o && !o.classList.contains("show") && (s.classList.add("collapsed"), s.setAttribute("aria-expanded", !1)) } this.setTransitioning(!0), this._element.style[e] = "", this._queueCallback(function () { t.setTransitioning(!1), t._element.classList.remove("collapsing"), t._element.classList.add("collapse"), $.trigger(t._element, "hidden.bs.collapse") }, this._element, !0) } } }, { key: "setTransitioning", value: function (t) { this._isTransitioning = t } }, { key: "_getConfig", value: function (t) { return (t = _objectSpread(_objectSpread({}, ot), t)).toggle = Boolean(t.toggle), d("collapse", t, rt), t } }, { key: "_getDimension", value: function () { return this._element.classList.contains("width") ? "width" : "height" } }, { key: "_getParent", value: function () { var i = this, t = this._config.parent; t = r(t); var e = '[data-bs-toggle="collapse"][data-bs-parent="'.concat(t, '"]'); return _(e, t).forEach(function (t) { var e = a(t); i._addAriaAndCollapsedClass(e, [t]) }), t } }, { key: "_addAriaAndCollapsedClass", value: function (t, e) { if (t && e.length) { var i = t.classList.contains("show"); e.forEach(function (t) { i ? t.classList.remove("collapsed") : t.classList.add("collapsed"), t.setAttribute("aria-expanded", i) }) } } }], [{ key: "collapseInterface", value: function (t, e) { var i = u.getInstance(t), n = _objectSpread(_objectSpread(_objectSpread({}, ot), Q.getDataAttributes(t)), "object" == _typeof(e) && e ? e : {}); if (!i && n.toggle && "string" == typeof e && /show|hide/.test(e) && (n.toggle = !1), i || (i = new u(t, n)), "string" == typeof e) { if (void 0 === i[e]) throw new TypeError('No method named "'.concat(e, '"')); i[e]() } } }, { key: "jQueryInterface", value: function (t) { return this.each(function () { u.collapseInterface(this, t) }) } }, { key: "Default", get: function () { return ot } }, { key: "NAME", get: function () { return "collapse" } }]), u }(); $.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(); var n = Q.getDataAttributes(this), e = h(this); _(e).forEach(function (t) { var e, i = at.getInstance(t); e = i ? (null === i._parent && "string" == typeof n.parent && (i._config.parent = n.parent, i._parent = i._getParent()), "toggle") : n, at.collapseInterface(t, e) }) }), t(at); var lt = "top", ct = "bottom", ut = "right", ht = "left", dt = [lt, ct, ut, ht], pt = dt.reduce(function (t, e) { return t.concat([e + "-start", e + "-end"]) }, []), ft = [].concat(dt, ["auto"]).reduce(function (t, e) { return t.concat([e, e + "-start", e + "-end"]) }, []), gt = ["beforeRead", "read", "afterRead", "beforeMain", "main", "afterMain", "beforeWrite", "write", "afterWrite"]; function mt(t) { return t ? (t.nodeName || "").toLowerCase() : null } function vt(t) { if (null == t) return window; if ("[object Window]" === t.toString()) return t; var e = t.ownerDocument; return e && e.defaultView || window } function _t(t) { return t instanceof vt(t).Element || t instanceof Element } function yt(t) { return t instanceof vt(t).HTMLElement || t instanceof HTMLElement } function bt(t) { return "undefined" != typeof ShadowRoot && (t instanceof vt(t).ShadowRoot || t instanceof ShadowRoot) } var wt = { name: "applyStyles", enabled: !0, phase: "write", fn: function (t) { var s = t.state; Object.keys(s.elements).forEach(function (t) { var e = s.styles[t] || {}, i = s.attributes[t] || {}, n = s.elements[t]; yt(n) && mt(n) && (Object.assign(n.style, e), Object.keys(i).forEach(function (t) { var e = i[t]; !1 === e ? n.removeAttribute(t) : n.setAttribute(t, !0 === e ? "" : e) })) }) }, effect: function (t) { var s = t.state, o = { popper: { position: s.options.strategy, left: "0", top: "0", margin: "0" }, arrow: { position: "absolute" }, reference: {} }; return Object.assign(s.elements.popper.style, o.popper), s.styles = o, s.elements.arrow && Object.assign(s.elements.arrow.style, o.arrow), function () { Object.keys(s.elements).forEach(function (t) { var e = s.elements[t], i = s.attributes[t] || {}, n = Object.keys(s.styles.hasOwnProperty(t) ? s.styles[t] : o[t]).reduce(function (t, e) { return t[e] = "", t }, {}); yt(e) && mt(e) && (Object.assign(e.style, n), Object.keys(i).forEach(function (t) { e.removeAttribute(t) })) }) } }, requires: ["computeStyles"] }; function kt(t) { return t.split("-")[0] } function xt(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 Ct(t) { var e = xt(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 Tt(t, e) { var i = e.getRootNode && e.getRootNode(); if (t.contains(e)) return !0; if (i && bt(i)) { var n = e; do { if (n && t.isSameNode(n)) return !0; n = n.parentNode || n.host } while (n) } return !1 } function St(t) { return vt(t).getComputedStyle(t) } function Dt(t) { return ((_t(t) ? t.ownerDocument : t.document) || window.document).documentElement } function At(t) { return "html" === mt(t) ? t : t.assignedSlot || t.parentNode || (bt(t) ? t.host : null) || Dt(t) } function Et(t) { return yt(t) && "fixed" !== St(t).position ? t.offsetParent : null } function Pt(t) { for (var e = vt(t), i = Et(t); i && 0 <= ["table", "td", "th"].indexOf(mt(i)) && "static" === St(i).position;) i = Et(i); return i && ("html" === mt(i) || "body" === mt(i) && "static" === St(i).position) ? e : i || function (t) { var e = -1 !== navigator.userAgent.toLowerCase().indexOf("firefox"); if (-1 !== navigator.userAgent.indexOf("Trident") && yt(t) && "fixed" === St(t).position) return null; for (var i = At(t); yt(i) && ["html", "body"].indexOf(mt(i)) < 0;) { var n = St(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 It(t) { return 0 <= ["top", "bottom"].indexOf(t) ? "x" : "y" } var Ot = Math.max, Mt = Math.min, Nt = Math.round; function Lt(t, e, i) { return Ot(t, Mt(e, i)) } function Ht(t) { return Object.assign({}, { top: 0, right: 0, bottom: 0, left: 0 }, t) } function jt(i, t) { return t.reduce(function (t, e) { return t[e] = i, t }, {}) } var zt = { name: "arrow", enabled: !0, phase: "main", fn: function (t) { var e, i, n, s = t.state, o = t.name, r = t.options, a = s.elements.arrow, l = s.modifiersData.popperOffsets, c = kt(s.placement), u = It(c), h = 0 <= [ht, ut].indexOf(c) ? "height" : "width"; if (a && l) { var d = (i = r.padding, n = s, Ht("number" != typeof (i = "function" == typeof i ? i(Object.assign({}, n.rects, { placement: n.placement })) : i) ? i : jt(i, dt))), p = Ct(a), f = "y" === u ? lt : ht, g = "y" === u ? ct : ut, m = s.rects.reference[h] + s.rects.reference[u] - l[u] - s.rects.popper[h], v = l[u] - s.rects.reference[u], _ = Pt(a), y = _ ? "y" === u ? _.clientHeight || 0 : _.clientWidth || 0 : 0, b = m / 2 - v / 2, w = d[f], k = y - p[h] - d[g], x = y / 2 - p[h] / 2 + b, C = Lt(w, x, k), T = u; s.modifiersData[o] = ((e = {})[T] = C, e.centerOffset = C - x, 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))) && Tt(e.elements.popper, n) && (e.elements.arrow = n) }, requires: ["popperOffsets"], requiresIfExists: ["preventOverflow"] }, Wt = { top: "auto", right: "auto", bottom: "auto", left: "auto" }; function $t(t) { var e, i, n, s, o, r = t.popper, a = t.popperRect, l = t.placement, c = t.offsets, u = t.position, h = t.gpuAcceleration, d = t.adaptive, p = t.roundOffsets, f = !0 === p ? (n = (i = c).x, s = i.y, o = window.devicePixelRatio || 1, { x: Nt(Nt(n * o) / o) || 0, y: Nt(Nt(s * o) / o) || 0 }) : "function" == typeof p ? p(c) : c, g = f.x, m = void 0 === g ? 0 : g, v = f.y, _ = void 0 === v ? 0 : v, y = c.hasOwnProperty("x"), b = c.hasOwnProperty("y"), w = ht, k = lt, x = window; if (d) { var C = Pt(r), T = "clientHeight", S = "clientWidth"; C === vt(r) && "static" !== St(C = Dt(r)).position && (T = "scrollHeight", S = "scrollWidth"), C = C, l === lt && (k = ct, _ -= C[T] - a.height, _ *= h ? 1 : -1), l === ht && (w = ut, m -= C[S] - a.width, m *= h ? 1 : -1) } var D, A = Object.assign({ position: u }, d && Wt); return h ? Object.assign({}, A, ((D = {})[k] = b ? "0" : "", D[w] = y ? "0" : "", D.transform = (x.devicePixelRatio || 1) < 2 ? "translate(" + m + "px, " + _ + "px)" : "translate3d(" + m + "px, " + _ + "px, 0)", D)) : Object.assign({}, A, ((e = {})[k] = b ? _ + "px" : "", e[w] = y ? m + "px" : "", e.transform = "", e)) } var Rt = { 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: kt(e.placement), popper: e.elements.popper, popperRect: e.rects.popper, gpuAcceleration: s }; null != e.modifiersData.popperOffsets && (e.styles.popper = Object.assign({}, e.styles.popper, $t(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, $t(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: {} }, Ft = { passive: !0 }, qt = { 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 = vt(e.elements.popper), c = [].concat(e.scrollParents.reference, e.scrollParents.popper); return o && c.forEach(function (t) { t.addEventListener("scroll", i.update, Ft) }), a && l.addEventListener("resize", i.update, Ft), function () { o && c.forEach(function (t) { t.removeEventListener("scroll", i.update, Ft) }), a && l.removeEventListener("resize", i.update, Ft) } }, data: {} }, Bt = { left: "right", right: "left", bottom: "top", top: "bottom" }; function Ut(t) { return t.replace(/left|right|bottom|top/g, function (t) { return Bt[t] }) } var Yt = { start: "end", end: "start" }; function Vt(t) { return t.replace(/start|end/g, function (t) { return Yt[t] }) } function Kt(t) { var e = vt(t); return { scrollLeft: e.pageXOffset, scrollTop: e.pageYOffset } } function Xt(t) { return xt(Dt(t)).left + Kt(t).scrollLeft } function Qt(t) { var e = St(t), i = e.overflow, n = e.overflowX, s = e.overflowY; return /auto|scroll|overlay|hidden/.test(i + s + n) } function Gt(t, e) { var i; void 0 === e && (e = []); var n = function t(e) { return 0 <= ["html", "body", "#document"].indexOf(mt(e)) ? e.ownerDocument.body : yt(e) && Qt(e) ? e : t(At(e)) }(t), s = n === (null == (i = t.ownerDocument) ? void 0 : i.body), o = vt(n), r = s ? [o].concat(o.visualViewport || [], Qt(n) ? n : []) : n, a = e.concat(r); return s ? a : a.concat(Gt(At(r))) } function Jt(t) { return Object.assign({}, t, { left: t.x, top: t.y, right: t.x + t.width, bottom: t.y + t.height }) } function Zt(t, e) { return "viewport" === e ? Jt((f = vt(p = t), g = Dt(p), m = f.visualViewport, v = g.clientWidth, _ = g.clientHeight, b = y = 0, m && (v = m.width, _ = m.height, /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || (y = m.offsetLeft, b = m.offsetTop)), { width: v, height: _, x: y + Xt(p), y: b })) : yt(e) ? ((d = xt(h = e)).top = d.top + h.clientTop, d.left = d.left + h.clientLeft, d.bottom = d.top + h.clientHeight, d.right = d.left + h.clientWidth, d.width = h.clientWidth, d.height = h.clientHeight, d.x = d.left, d.y = d.top, d) : Jt((i = Dt(t), s = Dt(i), o = Kt(i), r = null == (n = i.ownerDocument) ? void 0 : n.body, a = Ot(s.scrollWidth, s.clientWidth, r ? r.scrollWidth : 0, r ? r.clientWidth : 0), l = Ot(s.scrollHeight, s.clientHeight, r ? r.scrollHeight : 0, r ? r.clientHeight : 0), c = -o.scrollLeft + Xt(i), u = -o.scrollTop, "rtl" === St(r || s).direction && (c += Ot(s.clientWidth, r ? r.clientWidth : 0) - a), { width: a, height: l, x: c, y: u })); var i, n, s, o, r, a, l, c, u, h, d, p, f, g, m, v, _, y, b } function te(t) { return t.split("-")[1] } function ee(t) { var e, i = t.reference, n = t.element, s = t.placement, o = s ? kt(s) : null, r = s ? te(s) : null, a = i.x + i.width / 2 - n.width / 2, l = i.y + i.height / 2 - n.height / 2; switch (o) { case lt: e = { x: a, y: i.y - n.height }; break; case ct: e = { x: a, y: i.y + i.height }; break; case ut: e = { x: i.x + i.width, y: l }; break; case ht: e = { x: i.x - n.width, y: l }; break; default: e = { x: i.x, y: i.y } } var c = o ? It(o) : null; if (null != c) { var u = "y" === c ? "height" : "width"; switch (r) { case "start": e[c] = e[c] - (i[u] / 2 - n[u] / 2); break; case "end": e[c] = e[c] + (i[u] / 2 - n[u] / 2) } } return e } function ie(t, e) { void 0 === e && (e = {}); var n, i, s, o, r, a, l, c, u, h, d = e, p = d.placement, f = void 0 === p ? t.placement : p, g = d.boundary, m = void 0 === g ? "clippingParents" : g, v = d.rootBoundary, _ = void 0 === v ? "viewport" : v, y = d.elementContext, b = void 0 === y ? "popper" : y, w = d.altBoundary, k = void 0 !== w && w, x = d.padding, C = void 0 === x ? 0 : x, T = Ht("number" != typeof C ? C : jt(C, dt)), S = "popper" === b ? "reference" : "popper", D = t.elements.reference, A = t.rects.popper, E = t.elements[k ? S : b], P = (n = _t(E) ? E : E.contextElement || Dt(t.elements.popper), s = _, l = "clippingParents" === (i = m) ? (r = Gt(At(o = n)), _t(a = 0 <= ["absolute", "fixed"].indexOf(St(o).position) && yt(o) ? Pt(o) : o) ? r.filter(function (t) { return _t(t) && Tt(t, a) && "body" !== mt(t) }) : []) : [].concat(i), c = [].concat(l, [s]), u = c[0], (h = c.reduce(function (t, e) { var i = Zt(n, e); return t.top = Ot(i.top, t.top), t.right = Mt(i.right, t.right), t.bottom = Mt(i.bottom, t.bottom), t.left = Ot(i.left, t.left), t }, Zt(n, u))).width = h.right - h.left, h.height = h.bottom - h.top, h.x = h.left, h.y = h.top, h), I = xt(D), O = ee({ reference: I, element: A, strategy: "absolute", placement: f }), M = Jt(Object.assign({}, A, O)), N = "popper" === b ? M : I, L = { top: P.top - N.top + T.top, bottom: N.bottom - P.bottom + T.bottom, left: P.left - N.left + T.left, right: N.right - P.right + T.right }, H = t.modifiersData.offset; if ("popper" === b && H) { var j = H[f]; Object.keys(L).forEach(function (t) { var e = 0 <= [ut, ct].indexOf(t) ? 1 : -1, i = 0 <= [lt, ct].indexOf(t) ? "y" : "x"; L[t] += j[i] * e }) } return L } var ne = { name: "flip", enabled: !0, phase: "main", fn: function (t) { var i = t.state, e = t.options, n = t.name; if (!i.modifiersData[n]._skip) { for (var s = e.mainAxis, o = void 0 === s || s, r = e.altAxis, a = void 0 === r || r, l = e.fallbackPlacements, c = e.padding, u = e.boundary, h = e.rootBoundary, d = e.altBoundary, p = e.flipVariations, f = void 0 === p || p, g = e.allowedAutoPlacements, m = i.options.placement, v = kt(m), _ = l || (v !== m && f ? function (t) { if ("auto" === kt(t)) return []; var e = Ut(t); return [Vt(t), e, Vt(e)] }(m) : [Ut(m)]), y = [m].concat(_).reduce(function (t, e) { return t.concat("auto" === kt(e) ? function (i, t) { void 0 === t && (t = {}); var e = t, n = e.placement, s = e.boundary, o = e.rootBoundary, r = e.padding, a = e.flipVariations, l = e.allowedAutoPlacements, c = void 0 === l ? ft : l, u = te(n), h = u ? a ? pt : pt.filter(function (t) { return te(t) === u }) : dt, d = h.filter(function (t) { return 0 <= c.indexOf(t) }); 0 === d.length && (d = h); var p = d.reduce(function (t, e) { return t[e] = ie(i, { placement: e, boundary: s, rootBoundary: o, padding: r })[kt(e)], t }, {}); return Object.keys(p).sort(function (t, e) { return p[t] - p[e] }) }(i, { placement: e, boundary: u, rootBoundary: h, padding: c, flipVariations: f, allowedAutoPlacements: g }) : e) }, []), b = i.rects.reference, w = i.rects.popper, k = new Map, x = !0, C = y[0], T = 0; T < y.length; T++) { var S = y[T], D = kt(S), A = "start" === te(S), E = 0 <= [lt, ct].indexOf(D), P = E ? "width" : "height", I = ie(i, { placement: S, boundary: u, rootBoundary: h, altBoundary: d, padding: c }), O = E ? A ? ut : ht : A ? ct : lt; b[P] > w[P] && (O = Ut(O)); var M = Ut(O), N = []; if (o && N.push(I[D] <= 0), a && N.push(I[O] <= 0, I[M] <= 0), N.every(function (t) { return t })) { C = S, x = !1; break } k.set(S, N) } if (x) for (var L = function (i) { var t = y.find(function (t) { var e = k.get(t); if (e) return e.slice(0, i).every(function (t) { return t }) }); if (t) return C = t, "break" }, H = f ? 3 : 1; 0 < H && "break" !== L(H); H--); i.placement !== C && (i.modifiersData[n]._skip = !0, i.placement = C, i.reset = !0) } }, requiresIfExists: ["offset"], data: { _skip: !1 } }; function se(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 oe(e) { return [lt, ut, ct, ht].some(function (t) { return 0 <= e[t] }) } var re = { 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 = ie(e, { elementContext: "reference" }), a = ie(e, { altBoundary: !0 }), l = se(r, n), c = se(a, s, o), u = oe(l), h = oe(c); e.modifiersData[i] = { referenceClippingOffsets: l, popperEscapeOffsets: c, isReferenceHidden: u, hasPopperEscaped: h }, e.attributes.popper = Object.assign({}, e.attributes.popper, { "data-popper-reference-hidden": u, "data-popper-escaped": h }) } }, ae = { name: "offset", enabled: !0, phase: "main", requires: ["popperOffsets"], fn: function (t) { var u = t.state, e = t.options, i = t.name, n = e.offset, h = void 0 === n ? [0, 0] : n, s = ft.reduce(function (t, e) { return t[e] = (i = e, n = u.rects, s = h, o = kt(i), r = 0 <= [ht, lt].indexOf(o) ? -1 : 1, a = "function" == typeof s ? s(Object.assign({}, n, { placement: i })) : s, l = a[0], c = a[1], l = l || 0, c = (c || 0) * r, 0 <= [ht, ut].indexOf(o) ? { x: c, y: l } : { x: l, y: c }), t; var i, n, s, o, r, a, l, c }, {}), o = s[u.placement], r = o.x, a = o.y; null != u.modifiersData.popperOffsets && (u.modifiersData.popperOffsets.x += r, u.modifiersData.popperOffsets.y += a), u.modifiersData[i] = s } }, le = { name: "popperOffsets", enabled: !0, phase: "read", fn: function (t) { var e = t.state, i = t.name; e.modifiersData[i] = ee({ reference: e.rects.reference, element: e.rects.popper, strategy: "absolute", placement: e.placement }) }, data: {} }, ce = { 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, u = i.altBoundary, h = i.padding, d = i.tether, p = void 0 === d || d, f = i.tetherOffset, g = void 0 === f ? 0 : f, m = ie(e, { boundary: l, rootBoundary: c, padding: h, altBoundary: u }), v = kt(e.placement), _ = te(e.placement), y = !_, b = It(v), w = "x" === b ? "y" : "x", k = e.modifiersData.popperOffsets, x = e.rects.reference, C = e.rects.popper, T = "function" == typeof g ? g(Object.assign({}, e.rects, { placement: e.placement })) : g, S = { x: 0, y: 0 }; if (k) { if (o || a) { var D = "y" === b ? lt : ht, A = "y" === b ? ct : ut, E = "y" === b ? "height" : "width", P = k[b], I = k[b] + m[D], O = k[b] - m[A], M = p ? -C[E] / 2 : 0, N = "start" === _ ? x[E] : C[E], L = "start" === _ ? -C[E] : -x[E], H = e.elements.arrow, j = p && H ? Ct(H) : { width: 0, height: 0 }, z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : { top: 0, right: 0, bottom: 0, left: 0 }, W = z[D], $ = z[A], R = Lt(0, x[E], j[E]), F = y ? x[E] / 2 - M - R - W - T : N - R - W - T, q = y ? -x[E] / 2 + M + R + $ + T : L + R + $ + T, B = e.elements.arrow && Pt(e.elements.arrow), U = B ? "y" === b ? B.clientTop || 0 : B.clientLeft || 0 : 0, Y = e.modifiersData.offset ? e.modifiersData.offset[e.placement][b] : 0, V = k[b] + F - Y - U, K = k[b] + q - Y; if (o) { var X = Lt(p ? Mt(I, V) : I, P, p ? Ot(O, K) : O); k[b] = X, S[b] = X - P } if (a) { var Q = "x" === b ? lt : ht, G = "x" === b ? ct : ut, J = k[w], Z = J + m[Q], tt = J - m[G], et = Lt(p ? Mt(Z, V) : Z, J, p ? Ot(tt, K) : tt); k[w] = et, S[w] = et - J } } e.modifiersData[n] = S } }, requiresIfExists: ["offset"] }; var ue = { placement: "bottom", modifiers: [], strategy: "absolute" }; function he() { 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 de(t) { void 0 === t && (t = {}); var e = t, i = e.defaultModifiers, m = void 0 === i ? [] : i, n = e.defaultOptions, v = void 0 === n ? ue : n; return function (u, h, e) { void 0 === e && (e = v); var i, n, d = { placement: "bottom", orderedModifiers: [], options: Object.assign({}, ue, v), modifiersData: {}, elements: { reference: u, popper: h }, attributes: {}, styles: {} }, p = [], c = !1, f = { state: d, setOptions: function (t) { g(), d.options = Object.assign({}, v, d.options, t), d.scrollParents = { reference: _t(u) ? Gt(u) : u.contextElement ? Gt(u.contextElement) : [], popper: Gt(h) }; var e, i, n, s, o, r, a, l, c = (e = [].concat(m, d.options.modifiers), i = e.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 }, {}), n = Object.keys(i).map(function (t) { return i[t] }), s = n, o = new Map, r = new Set, a = [], s.forEach(function (t) { o.set(t.name, t) }), s.forEach(function (t) { r.has(t.name) || function i(t) { r.add(t.name), [].concat(t.requires || [], t.requiresIfExists || []).forEach(function (t) { if (!r.has(t)) { var e = o.get(t); e && i(e) } }), a.push(t) }(t) }), l = a, gt.reduce(function (t, e) { return t.concat(l.filter(function (t) { return t.phase === e })) }, [])); return d.orderedModifiers = c.filter(function (t) { return t.enabled }), d.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: d, name: e, instance: f, options: n }); p.push(o || function () {}) } }), f.update() }, forceUpdate: function () { if (!c) { var t = d.elements, e = t.reference, i = t.popper; if (he(e, i)) { d.rects = { reference: function (t, e, i) { void 0 === i && (i = !1); var n, s, o = Dt(e), r = xt(t), a = yt(e), l = { scrollLeft: 0, scrollTop: 0 }, c = { x: 0, y: 0 }; return (a || !a && !i) && (("body" !== mt(e) || Qt(o)) && (l = (n = e) !== vt(n) && yt(n) ? { scrollLeft: (s = n).scrollLeft, scrollTop: s.scrollTop } : Kt(n)), yt(e) ? ((c = xt(e)).x += e.clientLeft, c.y += e.clientTop) : o && (c.x = Xt(o))), { x: r.left + l.scrollLeft - c.x, y: r.top + l.scrollTop - c.y, width: r.width, height: r.height } }(e, Pt(i), "fixed" === d.options.strategy), popper: Ct(i) }, d.reset = !1, d.placement = d.options.placement, d.orderedModifiers.forEach(function (t) { return d.modifiersData[t.name] = Object.assign({}, t.data) }); for (var n = 0; n < d.orderedModifiers.length; n++) if (!0 !== d.reset) { var s = d.orderedModifiers[n], o = s.fn, r = s.options, a = void 0 === r ? {} : r, l = s.name; "function" == typeof o && (d = o({ state: d, options: a, name: l, instance: f }) || d) } else d.reset = !1, n = -1 } } }, update: (i = function () { return new Promise(function (t) { f.forceUpdate(), t(d) }) }, function () { return n || (n = new Promise(function (t) { Promise.resolve().then(function () { n = void 0, t(i()) }) })), n }), destroy: function () { g(), c = !0 } }; if (!he(u, h)) return f; function g() { p.forEach(function (t) { return t() }), p = [] } return f.setOptions(e).then(function (t) { !c && e.onFirstUpdate && e.onFirstUpdate(t) }), f } } var pe = de(), fe = de({ defaultModifiers: [qt, le, Rt, wt] }), ge = de({ defaultModifiers: [qt, le, Rt, wt, ae, ne, ce, zt, re] }), me = Object.freeze({ __proto__: null, popperGenerator: de, detectOverflow: ie, createPopperBase: pe, createPopper: ge, createPopperLite: fe, top: lt, bottom: ct, right: ut, left: ht, auto: "auto", basePlacements: dt, start: "start", end: "end", clippingParents: "clippingParents", viewport: "viewport", popper: "popper", reference: "reference", variationPlacements: pt, placements: ft, beforeRead: "beforeRead", read: "read", afterRead: "afterRead", beforeMain: "beforeMain", main: "main", afterMain: "afterMain", beforeWrite: "beforeWrite", write: "write", afterWrite: "afterWrite", modifierPhases: gt, applyStyles: wt, arrow: zt, computeStyles: Rt, eventListeners: qt, flip: ne, hide: re, offset: ae, popperOffsets: le, preventOverflow: ce }), ve = new RegExp("ArrowUp|ArrowDown|Escape"), _e = l() ? "top-end" : "top-start", ye = l() ? "top-start" : "top-end", be = l() ? "bottom-end" : "bottom-start", we = l() ? "bottom-start" : "bottom-end", ke = l() ? "left-start" : "right-start", xe = l() ? "right-start" : "left-start", Ce = { offset: [0, 2], boundary: "clippingParents", reference: "toggle", display: "dynamic", popperConfig: null, autoClose: !0 }, Te = { offset: "(array|string|function)", boundary: "(string|element)", reference: "(string|element|object)", display: "string", popperConfig: "(null|object|function)", autoClose: "(boolean|string)" }, Se = function (t) { _inherits(l, U); var n = _createSuper(l); function l(t, e) { var i; return _classCallCheck(this, l), (i = n.call(this, t))._popper = null, i._config = i._getConfig(e), i._menu = i._getMenuElement(), i._inNavbar = i._detectNavbar(), i._addEventListeners(), i } return _createClass(l, [{ key: "toggle", value: function () { u(this._element) || (this._element.classList.contains("show") ? this.hide() : this.show()) } }, { key: "show", value: function () { if (!u(this._element) && !this._menu.classList.contains("show")) { var t = l.getParentFromElement(this._element), e = { relatedTarget: this._element }; if (!$.trigger(this._element, "show.bs.dropdown", e).defaultPrevented) { var i; if (this._inNavbar) Q.setDataAttribute(this._menu, "popper", "none"); else { if (void 0 === me) throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)"); var n = this._element; "parent" === this._config.reference ? n = t : c(this._config.reference) ? n = r(this._config.reference) : "object" == _typeof(this._config.reference) && (n = this._config.reference); var s = this._getPopperConfig(), o = s.modifiers.find(function (t) { return "applyStyles" === t.name && !1 === t.enabled }); this._popper = ge(n, this._menu, s), o && Q.setDataAttribute(this._menu, "popper", "static") } "ontouchstart" in document.documentElement && !t.closest(".navbar-nav") && (i = []).concat.apply(i, _toConsumableArray(document.body.children)).forEach(function (t) { return $.on(t, "mouseover", f) }), this._element.focus(), this._element.setAttribute("aria-expanded", !0), this._menu.classList.toggle("show"), this._element.classList.toggle("show"), $.trigger(this._element, "shown.bs.dropdown", e) } } } }, { key: "hide", value: function () { if (!u(this._element) && this._menu.classList.contains("show")) { var t = { relatedTarget: this._element }; this._completeHide(t) } } }, { key: "dispose", value: function () { this._popper && this._popper.destroy(), _get(_getPrototypeOf(l.prototype), "dispose", this).call(this) } }, { key: "update", value: function () { this._inNavbar = this._detectNavbar(), this._popper && this._popper.update() } }, { key: "_addEventListeners", value: function () { var e = this; $.on(this._element, "click.bs.dropdown", function (t) { t.preventDefault(), e.toggle() }) } }, { key: "_completeHide", value: function (t) { var e; $.trigger(this._element, "hide.bs.dropdown", t).defaultPrevented || ("ontouchstart" in document.documentElement && (e = []).concat.apply(e, _toConsumableArray(document.body.children)).forEach(function (t) { return $.off(t, "mouseover", f) }), this._popper && this._popper.destroy(), this._menu.classList.remove("show"), this._element.classList.remove("show"), this._element.setAttribute("aria-expanded", "false"), Q.removeDataAttribute(this._menu, "popper"), $.trigger(this._element, "hidden.bs.dropdown", t)) } }, { key: "_getConfig", value: function (t) { if (t = _objectSpread(_objectSpread(_objectSpread({}, this.constructor.Default), Q.getDataAttributes(this._element)), t), d("dropdown", t, this.constructor.DefaultType), "object" == _typeof(t.reference) && !c(t.reference) && "function" != typeof t.reference.getBoundingClientRect) throw new TypeError("dropdown".toUpperCase() + ': Option "reference" provided type "object" without a required "getBoundingClientRect" method.'); return t } }, { key: "_getMenuElement", value: function () { return x(this._element, ".dropdown-menu")[0] } }, { key: "_getPlacement", value: function () { var t = this._element.parentNode; if (t.classList.contains("dropend")) return ke; if (t.classList.contains("dropstart")) return xe; var e = "end" === getComputedStyle(this._menu).getPropertyValue("--bs-position").trim(); return t.classList.contains("dropup") ? e ? ye : _e : e ? we : be } }, { key: "_detectNavbar", value: function () { return null !== this._element.closest(".navbar") } }, { key: "_getOffset", value: function () { var e = this, i = this._config.offset; return "string" == typeof i ? i.split(",").map(function (t) { return Number.parseInt(t, 10) }) : "function" == typeof i ? function (t) { return i(t, e._element) } : i } }, { key: "_getPopperConfig", value: function () { var 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 }]), _objectSpread(_objectSpread({}, t), "function" == typeof this._config.popperConfig ? this._config.popperConfig(t) : this._config.popperConfig) } }, { key: "_selectMenuItem", value: function (t) { var e = t.key, i = t.target, n = _(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)", this._menu).filter(s); n.length && v(n, i, "ArrowDown" === e, !n.includes(i)).focus() } }], [{ key: "dropdownInterface", value: function (t, e) { var i = l.getOrCreateInstance(t, e); if ("string" == typeof e) { if (void 0 === i[e]) throw new TypeError('No method named "'.concat(e, '"')); i[e]() } } }, { key: "jQueryInterface", value: function (t) { return this.each(function () { l.dropdownInterface(this, t) }) } }, { key: "clearMenus", value: function (t) { if (!t || 2 !== t.button && ("keyup" !== t.type || "Tab" === t.key)) for (var e = _('[data-bs-toggle="dropdown"]'), i = 0, n = e.length; i < n; i++) { var s = l.getInstance(e[i]); if (s && !1 !== s._config.autoClose && s._element.classList.contains("show")) { var o = { relatedTarget: s._element }; if (t) { var r = t.composedPath(), a = r.includes(s._menu); if (r.includes(s._element) || "inside" === s._config.autoClose && !a || "outside" === s._config.autoClose && a) continue; if (s._menu.contains(t.target) && ("keyup" === t.type && "Tab" === t.key || /input|select|option|textarea|form/i.test(t.target.tagName))) continue; "click" === t.type && (o.clickEvent = t) } s._completeHide(o) } } } }, { key: "getParentFromElement", value: function (t) { return a(t) || t.parentNode } }, { key: "dataApiKeydownHandler", value: function (t) { var e = this; 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"))) : ve.test(t.key)) { var i = this.classList.contains("show"); if ((i || "Escape" !== t.key) && (t.preventDefault(), t.stopPropagation(), !u(this))) { var n = function () { return e.matches('[data-bs-toggle="dropdown"]') ? e : k(e, '[data-bs-toggle="dropdown"]')[0] }; return "Escape" === t.key ? (n().focus(), void l.clearMenus()) : "ArrowUp" === t.key || "ArrowDown" === t.key ? (i || n().click(), void l.getInstance(n())._selectMenuItem(t)) : void(i && "Space" !== t.key || l.clearMenus()) } } } }, { key: "Default", get: function () { return Ce } }, { key: "DefaultType", get: function () { return Te } }, { key: "NAME", get: function () { return "dropdown" } }]), l }(); $.on(document, "keydown.bs.dropdown.data-api", '[data-bs-toggle="dropdown"]', Se.dataApiKeydownHandler), $.on(document, "keydown.bs.dropdown.data-api", ".dropdown-menu", Se.dataApiKeydownHandler), $.on(document, "click.bs.dropdown.data-api", Se.clearMenus), $.on(document, "keyup.bs.dropdown.data-api", Se.clearMenus), $.on(document, "click.bs.dropdown.data-api", '[data-bs-toggle="dropdown"]', function (t) { t.preventDefault(), Se.dropdownInterface(this) }), t(Se); var De = function () { function t() { _classCallCheck(this, t), this._element = document.body } return _createClass(t, [{ key: "getWidth", value: function () { var t = document.documentElement.clientWidth; return Math.abs(window.innerWidth - t) } }, { key: "hide", value: function () { var e = this.getWidth(); this._disableOverFlow(), this._setElementAttributes(this._element, "paddingRight", function (t) { return t + e }), this._setElementAttributes(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top", "paddingRight", function (t) { return t + e }), this._setElementAttributes(".sticky-top", "marginRight", function (t) { return t - e }) } }, { key: "_disableOverFlow", value: function () { this._saveInitialAttribute(this._element, "overflow"), this._element.style.overflow = "hidden" } }, { key: "_setElementAttributes", value: function (t, i, n) { var s = this, o = this.getWidth(); this._applyManipulationCallback(t, function (t) { if (!(t !== s._element && window.innerWidth > t.clientWidth + o)) { s._saveInitialAttribute(t, i); var e = window.getComputedStyle(t)[i]; t.style[i] = n(Number.parseFloat(e)) + "px" } }) } }, { key: "reset", value: function () { this._resetElementAttributes(this._element, "overflow"), this._resetElementAttributes(this._element, "paddingRight"), this._resetElementAttributes(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top", "paddingRight"), this._resetElementAttributes(".sticky-top", "marginRight") } }, { key: "_saveInitialAttribute", value: function (t, e) { var i = t.style[e]; i && Q.setDataAttribute(t, e, i) } }, { key: "_resetElementAttributes", value: function (t, i) { this._applyManipulationCallback(t, function (t) { var e = Q.getDataAttribute(t, i); void 0 === e ? t.style.removeProperty(i) : (Q.removeDataAttribute(t, i), t.style[i] = e) }) } }, { key: "_applyManipulationCallback", value: function (t, e) { c(t) ? e(t) : _(t, this._element).forEach(e) } }, { key: "isOverflowing", value: function () { return 0 < this.getWidth() } }]), t }(), Ae = { isVisible: !0, isAnimated: !1, rootElement: "body", clickCallback: null }, Ee = { isVisible: "boolean", isAnimated: "boolean", rootElement: "(element|string)", clickCallback: "(function|null)" }, Pe = function () { function e(t) { _classCallCheck(this, e), this._config = this._getConfig(t), this._isAppended = !1, this._element = null } return _createClass(e, [{ key: "show", value: function (t) { this._config.isVisible ? (this._append(), this._config.isAnimated && g(this._getElement()), this._getElement().classList.add("show"), this._emulateAnimation(function () { o(t) })) : o(t) } }, { key: "hide", value: function (t) { var e = this; this._config.isVisible ? (this._getElement().classList.remove("show"), this._emulateAnimation(function () { e.dispose(), o(t) })) : o(t) } }, { key: "_getElement", value: function () { if (!this._element) { var t = document.createElement("div"); t.className = "modal-backdrop", this._config.isAnimated && t.classList.add("fade"), this._element = t } return this._element } }, { key: "_getConfig", value: function (t) { return (t = _objectSpread(_objectSpread({}, Ae), "object" == _typeof(t) ? t : {})).rootElement = r(t.rootElement), d("backdrop", t, Ee), t } }, { key: "_append", value: function () { var t = this; this._isAppended || (this._config.rootElement.appendChild(this._getElement()), $.on(this._getElement(), "mousedown.bs.backdrop", function () { o(t._config.clickCallback) }), this._isAppended = !0) } }, { key: "dispose", value: function () { this._isAppended && ($.off(this._element, "mousedown.bs.backdrop"), this._element.remove(), this._isAppended = !1) } }, { key: "_emulateAnimation", value: function (t) { n(t, this._getElement(), this._config.isAnimated) } }]), e }(), Ie = { backdrop: !0, keyboard: !0, focus: !0 }, Oe = { backdrop: "(boolean|string)", keyboard: "boolean", focus: "boolean" }, Me = function (t) { _inherits(s, U); var n = _createSuper(s); function s(t, e) { var i; return _classCallCheck(this, s), (i = n.call(this, t))._config = i._getConfig(e), i._dialog = y(".modal-dialog", i._element), i._backdrop = i._initializeBackDrop(), i._isShown = !1, i._ignoreBackdropClick = !1, i._isTransitioning = !1, i._scrollBar = new De, i } return _createClass(s, [{ key: "toggle", value: function (t) { return this._isShown ? this.hide() : this.show(t) } }, { key: "show", value: function (t) { var e = this; this._isShown || this._isTransitioning || $.trigger(this._element, "show.bs.modal", { relatedTarget: t }).defaultPrevented || (this._isShown = !0, this._isAnimated() && (this._isTransitioning = !0), this._scrollBar.hide(), document.body.classList.add("modal-open"), this._adjustDialog(), this._setEscapeEvent(), this._setResizeEvent(), $.on(this._element, "click.dismiss.bs.modal", '[data-bs-dismiss="modal"]', function (t) { return e.hide(t) }), $.on(this._dialog, "mousedown.dismiss.bs.modal", function () { $.one(e._element, "mouseup.dismiss.bs.modal", function (t) { t.target === e._element && (e._ignoreBackdropClick = !0) }) }), this._showBackdrop(function () { return e._showElement(t) })) } }, { key: "hide", value: function (t) { var e = this; if (t && ["A", "AREA"].includes(t.target.tagName) && t.preventDefault(), this._isShown && !this._isTransitioning && !$.trigger(this._element, "hide.bs.modal").defaultPrevented) { this._isShown = !1; var i = this._isAnimated(); i && (this._isTransitioning = !0), this._setEscapeEvent(), this._setResizeEvent(), $.off(document, "focusin.bs.modal"), this._element.classList.remove("show"), $.off(this._element, "click.dismiss.bs.modal"), $.off(this._dialog, "mousedown.dismiss.bs.modal"), this._queueCallback(function () { return e._hideModal() }, this._element, i) } } }, { key: "dispose", value: function () { [window, this._dialog].forEach(function (t) { return $.off(t, ".bs.modal") }), this._backdrop.dispose(), _get(_getPrototypeOf(s.prototype), "dispose", this).call(this), $.off(document, "focusin.bs.modal") } }, { key: "handleUpdate", value: function () { this._adjustDialog() } }, { key: "_initializeBackDrop", value: function () { return new Pe({ isVisible: Boolean(this._config.backdrop), isAnimated: this._isAnimated() }) } }, { key: "_getConfig", value: function (t) { return t = _objectSpread(_objectSpread(_objectSpread({}, Ie), Q.getDataAttributes(this._element)), "object" == _typeof(t) ? t : {}), d("modal", t, Oe), t } }, { key: "_showElement", value: function (t) { var e = this, i = this._isAnimated(), n = y(".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, n && (n.scrollTop = 0), i && g(this._element), this._element.classList.add("show"), this._config.focus && this._enforceFocus(), this._queueCallback(function () { e._config.focus && e._element.focus(), e._isTransitioning = !1, $.trigger(e._element, "shown.bs.modal", { relatedTarget: t }) }, this._dialog, i) } }, { key: "_enforceFocus", value: function () { var e = this; $.off(document, "focusin.bs.modal"), $.on(document, "focusin.bs.modal", function (t) { document === t.target || e._element === t.target || e._element.contains(t.target) || e._element.focus() }) } }, { key: "_setEscapeEvent", value: function () { var e = this; this._isShown ? $.on(this._element, "keydown.dismiss.bs.modal", function (t) { e._config.keyboard && "Escape" === t.key ? (t.preventDefault(), e.hide()) : e._config.keyboard || "Escape" !== t.key || e._triggerBackdropTransition() }) : $.off(this._element, "keydown.dismiss.bs.modal") } }, { key: "_setResizeEvent", value: function () { var t = this; this._isShown ? $.on(window, "resize.bs.modal", function () { return t._adjustDialog() }) : $.off(window, "resize.bs.modal") } }, { key: "_hideModal", value: function () { var t = this; 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(function () { document.body.classList.remove("modal-open"), t._resetAdjustments(), t._scrollBar.reset(), $.trigger(t._element, "hidden.bs.modal") }) } }, { key: "_showBackdrop", value: function (t) { var e = this; $.on(this._element, "click.dismiss.bs.modal", function (t) { e._ignoreBackdropClick ? e._ignoreBackdropClick = !1 : t.target === t.currentTarget && (!0 === e._config.backdrop ? e.hide() : "static" === e._config.backdrop && e._triggerBackdropTransition()) }), this._backdrop.show(t) } }, { key: "_isAnimated", value: function () { return this._element.classList.contains("fade") } }, { key: "_triggerBackdropTransition", value: function () { var t = this; if (!$.trigger(this._element, "hidePrevented.bs.modal").defaultPrevented) { var e = this._element, i = e.classList, n = e.scrollHeight, s = e.style, o = n > document.documentElement.clientHeight; !o && "hidden" === s.overflowY || i.contains("modal-static") || (o || (s.overflowY = "hidden"), i.add("modal-static"), this._queueCallback(function () { i.remove("modal-static"), o || t._queueCallback(function () { s.overflowY = "" }, t._dialog) }, this._dialog), this._element.focus()) } } }, { key: "_adjustDialog", value: function () { var t = this._element.scrollHeight > document.documentElement.clientHeight, e = this._scrollBar.getWidth(), i = 0 < e; (!i && t && !l() || i && !t && l()) && (this._element.style.paddingLeft = e + "px"), (i && !t && !l() || !i && t && l()) && (this._element.style.paddingRight = e + "px") } }, { key: "_resetAdjustments", value: function () { this._element.style.paddingLeft = "", this._element.style.paddingRight = "" } }], [{ key: "jQueryInterface", value: function (e, i) { return this.each(function () { var t = s.getOrCreateInstance(this, e); if ("string" == typeof e) { if (void 0 === t[e]) throw new TypeError('No method named "'.concat(e, '"')); t[e](i) } }) } }, { key: "Default", get: function () { return Ie } }, { key: "NAME", get: function () { return "modal" } }]), s }(); $.on(document, "click.bs.modal.data-api", '[data-bs-toggle="modal"]', function (t) { var e = this, i = a(this); ["A", "AREA"].includes(this.tagName) && t.preventDefault(), $.one(i, "show.bs.modal", function (t) { t.defaultPrevented || $.one(i, "hidden.bs.modal", function () { s(e) && e.focus() }) }), Me.getOrCreateInstance(i).toggle(this) }), t(Me); var Ne = { backdrop: !0, keyboard: !0, scroll: !1 }, Le = { backdrop: "boolean", keyboard: "boolean", scroll: "boolean" }, He = function (t) { _inherits(s, U); var n = _createSuper(s); function s(t, e) { var i; return _classCallCheck(this, s), (i = n.call(this, t))._config = i._getConfig(e), i._isShown = !1, i._backdrop = i._initializeBackDrop(), i._addEventListeners(), i } return _createClass(s, [{ key: "toggle", value: function (t) { return this._isShown ? this.hide() : this.show(t) } }, { key: "show", value: function (t) { var e = this; this._isShown || $.trigger(this._element, "show.bs.offcanvas", { relatedTarget: t }).defaultPrevented || (this._isShown = !0, this._element.style.visibility = "visible", this._backdrop.show(), this._config.scroll || ((new De).hide(), 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"), this._queueCallback(function () { $.trigger(e._element, "shown.bs.offcanvas", { relatedTarget: t }) }, this._element, !0)) } }, { key: "hide", value: function () { var t = this; this._isShown && ($.trigger(this._element, "hide.bs.offcanvas").defaultPrevented || ($.off(document, "focusin.bs.offcanvas"), this._element.blur(), this._isShown = !1, this._element.classList.remove("show"), this._backdrop.hide(), this._queueCallback(function () { t._element.setAttribute("aria-hidden", !0), t._element.removeAttribute("aria-modal"), t._element.removeAttribute("role"), t._element.style.visibility = "hidden", t._config.scroll || (new De).reset(), $.trigger(t._element, "hidden.bs.offcanvas") }, this._element, !0))) } }, { key: "dispose", value: function () { this._backdrop.dispose(), _get(_getPrototypeOf(s.prototype), "dispose", this).call(this), $.off(document, "focusin.bs.offcanvas") } }, { key: "_getConfig", value: function (t) { return t = _objectSpread(_objectSpread(_objectSpread({}, Ne), Q.getDataAttributes(this._element)), "object" == _typeof(t) ? t : {}), d("offcanvas", t, Le), t } }, { key: "_initializeBackDrop", value: function () { var t = this; return new Pe({ isVisible: this._config.backdrop, isAnimated: !0, rootElement: this._element.parentNode, clickCallback: function () { return t.hide() } }) } }, { key: "_enforceFocusOnElement", value: function (e) { $.off(document, "focusin.bs.offcanvas"), $.on(document, "focusin.bs.offcanvas", function (t) { document === t.target || e === t.target || e.contains(t.target) || e.focus() }), e.focus() } }, { key: "_addEventListeners", value: function () { var e = this; $.on(this._element, "click.dismiss.bs.offcanvas", '[data-bs-dismiss="offcanvas"]', function () { return e.hide() }), $.on(this._element, "keydown.dismiss.bs.offcanvas", function (t) { e._config.keyboard && "Escape" === t.key && e.hide() }) } }], [{ key: "jQueryInterface", value: function (e) { return this.each(function () { var t = s.getOrCreateInstance(this, e); if ("string" == typeof e) { if (void 0 === t[e] || e.startsWith("_") || "constructor" === e) throw new TypeError('No method named "'.concat(e, '"')); t[e](this) } }) } }, { key: "NAME", get: function () { return "offcanvas" } }, { key: "Default", get: function () { return Ne } }]), s }(); $.on(document, "click.bs.offcanvas.data-api", '[data-bs-toggle="offcanvas"]', function (t) { var e = this, i = a(this); if (["A", "AREA"].includes(this.tagName) && t.preventDefault(), !u(this)) { $.one(i, "hidden.bs.offcanvas", function () { s(e) && e.focus() }); var n = y(".offcanvas.show"); n && n !== i && He.getInstance(n).hide(), He.getOrCreateInstance(i).toggle(this) } }), $.on(window, "load.bs.offcanvas.data-api", function () { return _(".offcanvas.show").forEach(function (t) { return He.getOrCreateInstance(t).show() }) }), t(He); var je = new Set(["background", "cite", "href", "itemtype", "longdesc", "poster", "src", "xlink:href"]), ze = /^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/i, We = /^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i; function $e(t, a, e) { var i; if (!t.length) return t; if (e && "function" == typeof e) return e(t); for (var n = (new window.DOMParser).parseFromString(t, "text/html"), l = Object.keys(a), c = (i = []).concat.apply(i, _toConsumableArray(n.body.querySelectorAll("*"))), s = function (t, e) { var i, n = c[t], s = n.nodeName.toLowerCase(); if (!l.includes(s)) return n.remove(), "continue"; var o = (i = []).concat.apply(i, _toConsumableArray(n.attributes)), r = [].concat(a["*"] || [], a[s] || []); o.forEach(function (t) { (function (t, e) { var i = t.nodeName.toLowerCase(); if (e.includes(i)) return !je.has(i) || Boolean(ze.test(t.nodeValue) || We.test(t.nodeValue)); for (var n = e.filter(function (t) { return t instanceof RegExp }), s = 0, o = n.length; s < o; s++) if (n[s].test(i)) return !0; return !1 })(t, r) || n.removeAttribute(t.nodeName) }) }, o = 0, r = c.length; o < r; o++) s(o); return n.body.innerHTML } var Re = new RegExp("(^|\\s)bs-tooltip\\S+", "g"), Fe = new Set(["sanitize", "allowList", "sanitizeFn"]), qe = { 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)" }, Be = { AUTO: "auto", TOP: "top", RIGHT: l() ? "left" : "right", BOTTOM: "bottom", LEFT: l() ? "right" : "left" }, Ue = { animation: !0, template: '
")[0], v = u.each; e.style.cssText = "background-color:rgba(1,1,1,.5)", r.rgba = -1 < e.style.backgroundColor.indexOf("rgba"), v(g, function (t, e) { e.cache = "_" + t, e.props.alpha = { idx: 3, type: "percent", def: 1 } }), f.fn = u.extend(f.prototype, { parse: function (s, t, e, i) { if (s === h) return this._rgba = [null, null, null, null], this; (s.jquery || s.nodeType) && (s = u(s).css(t), t = h); var o = this, n = u.type(s), r = this._rgba = []; return t !== h && (s = [s, t, e, i], n = "array"), "string" === n ? this.parse(a(s) || c._default) : "array" === n ? (v(g.rgba.props, function (t, e) { r[e.idx] = d(s[e.idx], e) }), this) : "object" === n ? (v(g, s instanceof f ? function (t, e) { s[e.cache] && (o[e.cache] = s[e.cache].slice()) } : function (t, i) { var n = i.cache; v(i.props, function (t, e) { if (!o[n] && i.to) { if ("alpha" === t || null == s[t]) return; o[n] = i.to(o._rgba) } o[n][e.idx] = d(s[t], e, !0) }), o[n] && u.inArray(null, o[n].slice(0, 3)) < 0 && (o[n][3] = 1, i.from && (o._rgba = i.from(o[n]))) }), this) : h }, is: function (t) { var s = f(t), o = !0, r = this; return v(g, function (t, e) { var i, n = s[e.cache]; return n && (i = r[e.cache] || e.to && e.to(r._rgba) || [], v(e.props, function (t, e) { return null != n[e.idx] ? o = n[e.idx] === i[e.idx] : h })), o }), o }, _space: function () { var i = [], n = this; return v(g, function (t, e) { n[e.cache] && i.push(t) }), i.pop() }, transition: function (t, r) { var a = f(t), e = a._space(), i = g[e], n = 0 === this.alpha() ? f("transparent") : this, l = n[i.cache] || i.to(n._rgba), c = l.slice(); return a = a[i.cache], v(i.props, function (t, e) { var i = e.idx, n = l[i], s = a[i], o = m[e.type] || {}; null !== s && (null === n ? c[i] = s : (o.mod && (s - n > o.mod / 2 ? n += o.mod : n - s > o.mod / 2 && (n -= o.mod)), c[i] = d((s - n) * r + n, e))) }), this[e](c) }, blend: function (t) { if (1 === this._rgba[3]) return this; var e = this._rgba.slice(), i = e.pop(), n = f(t)._rgba; return f(u.map(e, function (t, e) { return (1 - i) * n[e] + i * t })) }, toRgbaString: function () { var t = "rgba(", e = u.map(this._rgba, function (t, e) { return null == t ? 2 < e ? 1 : 0 : t }); return 1 === e[3] && (e.pop(), t = "rgb("), t + e.join() + ")" }, toHslaString: function () { var t = "hsla(", e = u.map(this.hsla(), function (t, e) { return null == t && (t = 2 < e ? 1 : 0), e && e < 3 && (t = Math.round(100 * t) + "%"), t }); return 1 === e[3] && (e.pop(), t = "hsl("), t + e.join() + ")" }, toHexString: function (t) { var e = this._rgba.slice(), i = e.pop(); return t && e.push(~~(255 * i)), "#" + u.map(e, function (t) { return 1 === (t = (t || 0).toString(16)).length ? "0" + t : t }).join("") }, toString: function () { return 0 === this._rgba[3] ? "transparent" : this.toRgbaString() } }), f.fn.parse.prototype = f.fn, g.hsla.to = function (t) { if (null == t[0] || null == t[1] || null == t[2]) return [null, null, null, t[3]]; var e, i, n = t[0] / 255, s = t[1] / 255, o = t[2] / 255, r = t[3], a = Math.max(n, s, o), l = Math.min(n, s, o), c = a - l, u = a + l, h = .5 * u; return e = l === a ? 0 : n === a ? 60 * (s - o) / c + 360 : s === a ? 60 * (o - n) / c + 120 : 60 * (n - s) / c + 240, i = 0 == c ? 0 : h <= .5 ? c / u : c / (2 - u), [Math.round(e) % 360, i, h, null == r ? 1 : r] }, g.hsla.from = function (t) { if (null == t[0] || null == t[1] || null == t[2]) return [null, null, null, t[3]]; var e = t[0] / 360, i = t[1], n = t[2], s = t[3], o = n <= .5 ? n * (1 + i) : n + i - n * i, r = 2 * n - o; return [Math.round(255 * l(r, o, e + 1 / 3)), Math.round(255 * l(r, o, e)), Math.round(255 * l(r, o, e - 1 / 3)), s] }, v(g, function (l, t) { var i = t.props, r = t.cache, a = t.to, c = t.from; f.fn[l] = function (t) { if (a && !this[r] && (this[r] = a(this._rgba)), t === h) return this[r].slice(); var e, n = u.type(t), s = "array" === n || "object" === n ? t : arguments, o = this[r].slice(); return v(i, function (t, e) { var i = s["object" === n ? t : e.idx]; null == i && (i = o[e.idx]), o[e.idx] = d(i, e) }), c ? ((e = f(c(o)))[r] = o, e) : f(o) }, v(i, function (r, a) { f.fn[r] || (f.fn[r] = function (t) { var e, i = u.type(t), n = "alpha" === r ? this._hsla ? "hsla" : "rgba" : l, s = this[n](), o = s[a.idx]; return "undefined" === i ? o : ("function" === i && (t = t.call(this, o), i = u.type(t)), null == t && a.empty ? this : ("string" === i && ((e = p.exec(t)) && (t = o + parseFloat(e[2]) * ("+" === e[1] ? 1 : -1))), s[a.idx] = t, this[n](s))) }) }) }), f.hook = function (t) { var e = t.split(" "); v(e, function (t, o) { u.cssHooks[o] = { set: function (t, e) { var i, n, s = ""; if ("transparent" !== e && ("string" !== u.type(e) || (i = a(e)))) { if (e = f(i || e), !r.rgba && 1 !== e._rgba[3]) { for (n = "backgroundColor" === o ? t.parentNode : t; ("" === s || "transparent" === s) && n && n.style;) try { s = u.css(n, "backgroundColor"), n = n.parentNode } catch (t) {} e = e.blend(s && "transparent" !== s ? s : "_default") } e = e.toRgbaString() } try { t.style[o] = e } catch (t) {} } }, u.fx.step[o] = function (t) { t.colorInit || (t.start = f(t.elem, o), t.end = f(t.end), t.colorInit = !0), u.cssHooks[o].set(t.elem, t.start.transition(t.end, t.pos)) } }) }, f.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"), u.cssHooks.borderColor = { expand: function (i) { var n = {}; return v(["Top", "Right", "Bottom", "Left"], function (t, e) { n["border" + e + "Color"] = i }), n } }, c = u.Color.names = { aqua: "#00ffff", black: "#000000", blue: "#0000ff", fuchsia: "#ff00ff", gray: "#808080", green: "#008000", lime: "#00ff00", maroon: "#800000", navy: "#000080", olive: "#808000", purple: "#800080", red: "#ff0000", silver: "#c0c0c0", teal: "#008080", white: "#ffffff", yellow: "#ffff00", transparent: [null, null, null, 0], _default: "#ffffff" } }(u), function () { function r(t) { var e, i, n = t.ownerDocument.defaultView ? t.ownerDocument.defaultView.getComputedStyle(t, null) : t.currentStyle, s = {}; if (n && n.length && n[0] && n[n[0]]) for (i = n.length; i--;) "string" == typeof n[e = n[i]] && (s[S.camelCase(e)] = n[e]); else for (e in n) "string" == typeof n[e] && (s[e] = n[e]); return s } var o, s, a, l = ["add", "remove", "toggle"], c = { border: 1, borderBottom: 1, borderColor: 1, borderLeft: 1, borderRight: 1, borderTop: 1, borderWidth: 1, margin: 1, padding: 1 }; S.each(["borderLeftStyle", "borderRightStyle", "borderBottomStyle", "borderTopStyle"], function (t, e) { S.fx.step[e] = function (t) { ("none" !== t.end && !t.setAttr || 1 === t.pos && !t.setAttr) && (u.style(t.elem, e, t.end), t.setAttr = !0) } }), S.fn.addBack || (S.fn.addBack = function (t) { return this.add(null == t ? this.prevObject : this.prevObject.filter(t)) }), S.effects.animateClass = function (s, t, e, i) { var o = S.speed(t, e, i); return this.queue(function () { var t, i = S(this), e = i.attr("class") || "", n = o.children ? i.find("*").addBack() : i; n = n.map(function () { return { el: S(this), start: r(this) } }), (t = function () { S.each(l, function (t, e) { s[e] && i[e + "Class"](s[e]) }) })(), n = n.map(function () { return this.end = r(this.el[0]), this.diff = function (t, e) { var i, n, s = {}; for (i in e) n = e[i], t[i] !== n && (c[i] || (S.fx.step[i] || !isNaN(parseFloat(n))) && (s[i] = n)); return s }(this.start, this.end), this }), i.attr("class", e), n = n.map(function () { var t = this, e = S.Deferred(), i = S.extend({}, o, { queue: !1, complete: function () { e.resolve(t) } }); return this.el.animate(this.diff, i), e.promise() }), S.when.apply(S, n.get()).done(function () { t(), S.each(arguments, function () { var e = this.el; S.each(this.diff, function (t) { e.css(t, "") }) }), o.complete.call(i[0]) }) }) }, S.fn.extend({ addClass: (a = S.fn.addClass, function (t, e, i, n) { return e ? S.effects.animateClass.call(this, { add: t }, e, i, n) : a.apply(this, arguments) }), removeClass: (s = S.fn.removeClass, function (t, e, i, n) { return 1 < arguments.length ? S.effects.animateClass.call(this, { remove: t }, e, i, n) : s.apply(this, arguments) }), toggleClass: (o = S.fn.toggleClass, function (t, e, i, n, s) { return "boolean" == typeof e || void 0 === e ? i ? S.effects.animateClass.call(this, e ? { add: t } : { remove: t }, i, n, s) : o.apply(this, arguments) : S.effects.animateClass.call(this, { toggle: t }, e, i, n) }), switchClass: function (t, e, i, n, s) { return S.effects.animateClass.call(this, { add: e, remove: t }, i, n, s) } }) }(), function () { function u(t, e, i, n) { return S.isPlainObject(t) && (t = (e = t).effect), t = { effect: t }, null == e && (e = {}), S.isFunction(e) && (n = e, i = null, e = {}), ("number" == typeof e || S.fx.speeds[e]) && (n = i, i = e, e = {}), S.isFunction(i) && (n = i, i = null), e && S.extend(t, e), i = i || e.duration, t.duration = S.fx.off ? 0 : "number" == typeof i ? i : i in S.fx.speeds ? S.fx.speeds[i] : S.fx.speeds._default, t.complete = n || e.complete, t } function i(t) { return !(t && "number" != typeof t && !S.fx.speeds[t]) || ("string" == typeof t && !S.effects.effect[t] || (!!S.isFunction(t) || "object" == _typeof(t) && !t.effect)) } function e(t, e) { var i = e.outerWidth(), n = e.outerHeight(), s = /^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/.exec(t) || ["", 0, i, n, 0]; return { top: parseFloat(s[1]) || 0, right: "auto" === s[2] ? i : parseFloat(s[2]), bottom: "auto" === s[3] ? n : parseFloat(s[3]), left: parseFloat(s[4]) || 0 } } var n, s, o, r; S.expr && S.expr.filters && S.expr.filters.animated && (S.expr.filters.animated = (r = S.expr.filters.animated, function (t) { return !!S(t).data(p) || r(t) })), !1 !== S.uiBackCompat && S.extend(S.effects, { save: function (t, e) { for (var i = 0, n = e.length; i < n; i++) null !== e[i] && t.data(c + e[i], t[0].style[e[i]]) }, restore: function (t, e) { for (var i, n = 0, s = e.length; n < s; n++) null !== e[n] && (i = t.data(c + e[n]), t.css(e[n], i)) }, setMode: function (t, e) { return "toggle" === e && (e = t.is(":hidden") ? "show" : "hide"), e }, createWrapper: function (i) { if (i.parent().is(".ui-effects-wrapper")) return i.parent(); var n = { width: i.outerWidth(!0), height: i.outerHeight(!0), float: i.css("float") }, t = S("
").addClass("ui-effects-wrapper").css({ fontSize: "100%", background: "transparent", border: "none", margin: 0, padding: 0 }), e = { width: i.width(), height: i.height() }, s = document.activeElement; try { s.id } catch (t) { s = document.body } return i.wrap(t), (i[0] === s || S.contains(i[0], s)) && S(s).trigger("focus"), t = i.parent(), "static" === i.css("position") ? (t.css({ position: "relative" }), i.css({ position: "relative" })) : (S.extend(n, { position: i.css("position"), zIndex: i.css("z-index") }), S.each(["top", "left", "bottom", "right"], function (t, e) { n[e] = i.css(e), isNaN(parseInt(n[e], 10)) && (n[e] = "auto") }), i.css({ position: "relative", top: 0, left: 0, right: "auto", bottom: "auto" })), i.css(e), t.css(n).show() }, removeWrapper: function (t) { var e = document.activeElement; return t.parent().is(".ui-effects-wrapper") && (t.parent().replaceWith(t), (t[0] === e || S.contains(t[0], e)) && S(e).trigger("focus")), t } }), S.extend(S.effects, { version: "1.12.1", define: function (t, e, i) { return i || (i = e, e = "effect"), S.effects.effect[t] = i, S.effects.effect[t].mode = e, i }, scaledDimensions: function (t, e, i) { if (0 === e) return { height: 0, width: 0, outerHeight: 0, outerWidth: 0 }; var n = "horizontal" !== i ? (e || 100) / 100 : 1, s = "vertical" !== i ? (e || 100) / 100 : 1; return { height: t.height() * s, width: t.width() * n, outerHeight: t.outerHeight() * s, outerWidth: t.outerWidth() * n } }, clipToBox: function (t) { return { width: t.clip.right - t.clip.left, height: t.clip.bottom - t.clip.top, left: t.clip.left, top: t.clip.top } }, unshift: function (t, e, i) { var n = t.queue(); 1 < e && n.splice.apply(n, [1, 0].concat(n.splice(e, i))), t.dequeue() }, saveStyle: function (t) { t.data(d, t[0].style.cssText) }, restoreStyle: function (t) { t[0].style.cssText = t.data(d) || "", t.removeData(d) }, mode: function (t, e) { var i = t.is(":hidden"); return "toggle" === e && (e = i ? "show" : "hide"), (i ? "hide" === e : "show" === e) && (e = "none"), e }, getBaseline: function (t, e) { var i, n; switch (t[0]) { case "top": i = 0; break; case "middle": i = .5; break; case "bottom": i = 1; break; default: i = t[0] / e.height } switch (t[1]) { case "left": n = 0; break; case "center": n = .5; break; case "right": n = 1; break; default: n = t[1] / e.width } return { x: n, y: i } }, createPlaceholder: function (t) { var e, i = t.css("position"), n = t.position(); return t.css({ marginTop: t.css("marginTop"), marginBottom: t.css("marginBottom"), marginLeft: t.css("marginLeft"), marginRight: t.css("marginRight") }).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()), /^(static|relative)/.test(i) && (i = "absolute", e = S("<" + t[0].nodeName + ">").insertAfter(t).css({ display: /^(inline|ruby)/.test(t.css("display")) ? "inline-block" : "block", visibility: "hidden", marginTop: t.css("marginTop"), marginBottom: t.css("marginBottom"), marginLeft: t.css("marginLeft"), marginRight: t.css("marginRight"), float: t.css("float") }).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).addClass("ui-effects-placeholder"), t.data(c + "placeholder", e)), t.css({ position: i, left: n.left, top: n.top }), e }, removePlaceholder: function (t) { var e = c + "placeholder", i = t.data(e); i && (i.remove(), t.removeData(e)) }, cleanUp: function (t) { S.effects.restoreStyle(t), S.effects.removePlaceholder(t) }, setTransition: function (n, t, s, o) { return o = o || {}, S.each(t, function (t, e) { var i = n.cssUnit(e); 0 < i[0] && (o[e] = i[0] * s + i[1]) }), o } }), S.fn.extend({ effect: function () { function t(t) { function e() { S.isFunction(a) && a.call(i[0]), S.isFunction(t) && t() } var i = S(this); n.mode = c.shift(), !1 === S.uiBackCompat || o ? "none" === n.mode ? (i[l](), e()) : s.call(i[0], n, function () { i.removeData(p), S.effects.cleanUp(i), "hide" === n.mode && i.hide(), e() }) : (i.is(":hidden") ? "hide" === l : "show" === l) ? (i[l](), e()) : s.call(i[0], n, e) } function e(t) { var e = S(this), i = S.effects.mode(e, l) || o; e.data(p, !0), c.push(i), o && ("show" === i || i === o && "hide" === i) && e.show(), o && "none" === i || S.effects.saveStyle(e), S.isFunction(t) && t() } var n = u.apply(this, arguments), s = S.effects.effect[n.effect], o = s.mode, i = n.queue, r = i || "fx", a = n.complete, l = n.mode, c = []; return S.fx.off || !s ? l ? this[l](n.duration, a) : this.each(function () { a && a.call(this) }) : !1 === i ? this.each(e).each(t) : this.queue(r, e).queue(r, t) }, show: (o = S.fn.show, function (t) { if (i(t)) return o.apply(this, arguments); var e = u.apply(this, arguments); return e.mode = "show", this.effect.call(this, e) }), hide: (s = S.fn.hide, function (t) { if (i(t)) return s.apply(this, arguments); var e = u.apply(this, arguments); return e.mode = "hide", this.effect.call(this, e) }), toggle: (n = S.fn.toggle, function (t) { if (i(t) || "boolean" == typeof t) return n.apply(this, arguments); var e = u.apply(this, arguments); return e.mode = "toggle", this.effect.call(this, e) }), cssUnit: function (t) { var i = this.css(t), n = []; return S.each(["em", "px", "%", "pt"], function (t, e) { 0 < i.indexOf(e) && (n = [parseFloat(i), e]) }), n }, cssClip: function (t) { return t ? this.css("clip", "rect(" + t.top + "px " + t.right + "px " + t.bottom + "px " + t.left + "px)") : e(this.css("clip"), this) }, transfer: function (t, e) { var i = S(this), n = S(t.to), s = "fixed" === n.css("position"), o = S("body"), r = s ? o.scrollTop() : 0, a = s ? o.scrollLeft() : 0, l = n.offset(), c = { top: l.top - r, left: l.left - a, height: n.innerHeight(), width: n.innerWidth() }, u = i.offset(), h = S("").appendTo("body").addClass(t.className).css({ top: u.top - r, left: u.left - a, height: i.innerHeight(), width: i.innerWidth(), position: s ? "fixed" : "absolute" }).animate(c, t.duration, t.easing, function () { h.remove(), S.isFunction(e) && e() }) } }), S.fx.step.clip = function (t) { t.clipInit || (t.start = S(t.elem).cssClip(), "string" == typeof t.end && (t.end = e(t.end, t.elem)), t.clipInit = !0), S(t.elem).cssClip({ top: t.pos * (t.end.top - t.start.top) + t.start.top, right: t.pos * (t.end.right - t.start.right) + t.start.right, bottom: t.pos * (t.end.bottom - t.start.bottom) + t.start.bottom, left: t.pos * (t.end.left - t.start.left) + t.start.left }) } }(), l = {}, S.each(["Quad", "Cubic", "Quart", "Quint", "Expo"], function (e, t) { l[t] = function (t) { return Math.pow(t, e + 2) } }), S.extend(l, { Sine: function (t) { return 1 - Math.cos(t * Math.PI / 2) }, Circ: function (t) { return 1 - Math.sqrt(1 - t * t) }, Elastic: function (t) { return 0 === t || 1 === t ? t : -Math.pow(2, 8 * (t - 1)) * Math.sin((80 * (t - 1) - 7.5) * Math.PI / 15) }, Back: function (t) { return t * t * (3 * t - 2) }, Bounce: function (t) { for (var e, i = 4; ((e = Math.pow(2, --i)) - 1) / 11 > t;); return 1 / Math.pow(4, 3 - i) - 7.5625 * Math.pow((3 * e - 2) / 22 - t, 2) } }), S.each(l, function (t, e) { S.easing["easeIn" + t] = e, S.easing["easeOut" + t] = function (t) { return 1 - e(1 - t) }, S.easing["easeInOut" + t] = function (t) { return t < .5 ? e(2 * t) / 2 : 1 - e(-2 * t + 2) / 2 } }); var f, g; S.effects; S.effects.define("blind", "hide", function (t, e) { var i = { up: ["bottom", "top"], vertical: ["bottom", "top"], down: ["top", "bottom"], left: ["right", "left"], horizontal: ["right", "left"], right: ["left", "right"] }, n = S(this), s = t.direction || "up", o = n.cssClip(), r = { clip: S.extend({}, o) }, a = S.effects.createPlaceholder(n); r.clip[i[s][0]] = r.clip[i[s][1]], "show" === t.mode && (n.cssClip(r.clip), a && a.css(S.effects.clipToBox(r)), r.clip = o), a && a.animate(S.effects.clipToBox(r), t.duration, t.easing), n.animate(r, { queue: !1, duration: t.duration, easing: t.easing, complete: e }) }), S.effects.define("bounce", function (t, e) { var i, n, s, o = S(this), r = t.mode, a = "hide" === r, l = "show" === r, c = t.direction || "up", u = t.distance, h = t.times || 5, d = 2 * h + (l || a ? 1 : 0), p = t.duration / d, f = t.easing, g = "up" === c || "down" === c ? "top" : "left", m = "up" === c || "left" === c, v = 0, _ = o.queue().length; for (S.effects.createPlaceholder(o), s = o.css(g), u || (u = o["top" == g ? "outerHeight" : "outerWidth"]() / 3), l && ((n = { opacity: 1 })[g] = s, o.css("opacity", 0).css(g, m ? 2 * -u : 2 * u).animate(n, p, f)), a && (u /= Math.pow(2, h - 1)), (n = {})[g] = s; v < h; v++)(i = {})[g] = (m ? "-=" : "+=") + u, o.animate(i, p, f).animate(n, p, f), u = a ? 2 * u : u / 2; a && ((i = { opacity: 0 })[g] = (m ? "-=" : "+=") + u, o.animate(i, p, f)), o.queue(e), S.effects.unshift(o, _, 1 + d) }), S.effects.define("clip", "hide", function (t, e) { var i, n = {}, s = S(this), o = t.direction || "vertical", r = "both" === o, a = r || "horizontal" === o, l = r || "vertical" === o; i = s.cssClip(), n.clip = { top: l ? (i.bottom - i.top) / 2 : i.top, right: a ? (i.right - i.left) / 2 : i.right, bottom: l ? (i.bottom - i.top) / 2 : i.bottom, left: a ? (i.right - i.left) / 2 : i.left }, S.effects.createPlaceholder(s), "show" === t.mode && (s.cssClip(n.clip), n.clip = i), s.animate(n, { queue: !1, duration: t.duration, easing: t.easing, complete: e }) }), S.effects.define("drop", "hide", function (t, e) { var i, n = S(this), s = "show" === t.mode, o = t.direction || "left", r = "up" === o || "down" === o ? "top" : "left", a = "up" === o || "left" === o ? "-=" : "+=", l = "+=" == a ? "-=" : "+=", c = { opacity: 0 }; S.effects.createPlaceholder(n), i = t.distance || n["top" == r ? "outerHeight" : "outerWidth"](!0) / 2, c[r] = a + i, s && (n.css(c), c[r] = l + i, c.opacity = 1), n.animate(c, { queue: !1, duration: t.duration, easing: t.easing, complete: e }) }), S.effects.define("explode", "hide", function (t, e) { function i() { m.push(this), m.length === c * u && (h.css({ visibility: "visible" }), S(m).remove(), e()) } var n, s, o, r, a, l, c = t.pieces ? Math.round(Math.sqrt(t.pieces)) : 3, u = c, h = S(this), d = "show" === t.mode, p = h.show().css("visibility", "hidden").offset(), f = Math.ceil(h.outerWidth() / u), g = Math.ceil(h.outerHeight() / c), m = []; for (n = 0; n < c; n++) for (r = p.top + n * g, l = n - (c - 1) / 2, s = 0; s < u; s++) o = p.left + s * f, a = s - (u - 1) / 2, h.clone().appendTo("body").wrap("").css({ position: "absolute", visibility: "visible", left: -s * f, top: -n * g }).parent().addClass("ui-effects-explode").css({ position: "absolute", overflow: "hidden", width: f, height: g, left: o + (d ? a * f : 0), top: r + (d ? l * g : 0), opacity: d ? 0 : 1 }).animate({ left: o + (d ? 0 : a * f), top: r + (d ? 0 : l * g), opacity: d ? 1 : 0 }, t.duration || 500, t.easing, i) }), S.effects.define("fade", "toggle", function (t, e) { var i = "show" === t.mode; S(this).css("opacity", i ? 0 : 1).animate({ opacity: i ? 1 : 0 }, { queue: !1, duration: t.duration, easing: t.easing, complete: e }) }), S.effects.define("fold", "hide", function (e, t) { var i = S(this), n = e.mode, s = "show" === n, o = "hide" === n, r = e.size || 15, a = /([0-9]+)%/.exec(r), l = !!e.horizFirst ? ["right", "bottom"] : ["bottom", "right"], c = e.duration / 2, u = S.effects.createPlaceholder(i), h = i.cssClip(), d = { clip: S.extend({}, h) }, p = { clip: S.extend({}, h) }, f = [h[l[0]], h[l[1]]], g = i.queue().length; a && (r = parseInt(a[1], 10) / 100 * f[o ? 0 : 1]), d.clip[l[0]] = r, p.clip[l[0]] = r, p.clip[l[1]] = 0, s && (i.cssClip(p.clip), u && u.css(S.effects.clipToBox(p)), p.clip = h), i.queue(function (t) { u && u.animate(S.effects.clipToBox(d), c, e.easing).animate(S.effects.clipToBox(p), c, e.easing), t() }).animate(d, c, e.easing).animate(p, c, e.easing).queue(t), S.effects.unshift(i, g, 4) }), S.effects.define("highlight", "show", function (t, e) { var i = S(this), n = { backgroundColor: i.css("backgroundColor") }; "hide" === t.mode && (n.opacity = 0), S.effects.saveStyle(i), i.css({ backgroundImage: "none", backgroundColor: t.color || "#ffff99" }).animate(n, { queue: !1, duration: t.duration, easing: t.easing, complete: e }) }), S.effects.define("size", function (s, e) { var t, o, i, n = S(this), r = ["fontSize"], a = ["borderTopWidth", "borderBottomWidth", "paddingTop", "paddingBottom"], l = ["borderLeftWidth", "borderRightWidth", "paddingLeft", "paddingRight"], c = s.mode, u = "effect" !== c, h = s.scale || "both", d = s.origin || ["middle", "center"], p = n.css("position"), f = n.position(), g = S.effects.scaledDimensions(n), m = s.from || g, v = s.to || S.effects.scaledDimensions(n, 0); S.effects.createPlaceholder(n), "show" === c && (i = m, m = v, v = i), o = { from: { y: m.height / g.height, x: m.width / g.width }, to: { y: v.height / g.height, x: v.width / g.width } }, ("box" === h || "both" === h) && (o.from.y !== o.to.y && (m = S.effects.setTransition(n, a, o.from.y, m), v = S.effects.setTransition(n, a, o.to.y, v)), o.from.x !== o.to.x && (m = S.effects.setTransition(n, l, o.from.x, m), v = S.effects.setTransition(n, l, o.to.x, v))), ("content" === h || "both" === h) && o.from.y !== o.to.y && (m = S.effects.setTransition(n, r, o.from.y, m), v = S.effects.setTransition(n, r, o.to.y, v)), d && (t = S.effects.getBaseline(d, g), m.top = (g.outerHeight - m.outerHeight) * t.y + f.top, m.left = (g.outerWidth - m.outerWidth) * t.x + f.left, v.top = (g.outerHeight - v.outerHeight) * t.y + f.top, v.left = (g.outerWidth - v.outerWidth) * t.x + f.left), n.css(m), ("content" === h || "both" === h) && (a = a.concat(["marginTop", "marginBottom"]).concat(r), l = l.concat(["marginLeft", "marginRight"]), n.find("*[width]").each(function () { var t = S(this), e = S.effects.scaledDimensions(t), i = { height: e.height * o.from.y, width: e.width * o.from.x, outerHeight: e.outerHeight * o.from.y, outerWidth: e.outerWidth * o.from.x }, n = { height: e.height * o.to.y, width: e.width * o.to.x, outerHeight: e.height * o.to.y, outerWidth: e.width * o.to.x }; o.from.y !== o.to.y && (i = S.effects.setTransition(t, a, o.from.y, i), n = S.effects.setTransition(t, a, o.to.y, n)), o.from.x !== o.to.x && (i = S.effects.setTransition(t, l, o.from.x, i), n = S.effects.setTransition(t, l, o.to.x, n)), u && S.effects.saveStyle(t), t.css(i), t.animate(n, s.duration, s.easing, function () { u && S.effects.restoreStyle(t) }) })), n.animate(v, { queue: !1, duration: s.duration, easing: s.easing, complete: function () { var t = n.offset(); 0 === v.opacity && n.css("opacity", m.opacity), u || (n.css("position", "static" === p ? "relative" : p).offset(t), S.effects.saveStyle(n)), e() } }) }), S.effects.define("scale", function (t, e) { var i = S(this), n = t.mode, s = parseInt(t.percent, 10) || (0 === parseInt(t.percent, 10) ? 0 : "effect" !== n ? 0 : 100), o = S.extend(!0, { from: S.effects.scaledDimensions(i), to: S.effects.scaledDimensions(i, s, t.direction || "both"), origin: t.origin || ["middle", "center"] }, t); t.fade && (o.from.opacity = 1, o.to.opacity = 0), S.effects.effect.size.call(this, o, e) }), S.effects.define("puff", "hide", function (t, e) { var i = S.extend(!0, {}, t, { fade: !0, percent: parseInt(t.percent, 10) || 150 }); S.effects.effect.scale.call(this, i, e) }), S.effects.define("pulsate", "show", function (t, e) { var i = S(this), n = t.mode, s = "show" === n, o = s || "hide" === n, r = 2 * (t.times || 5) + (o ? 1 : 0), a = t.duration / r, l = 0, c = 1, u = i.queue().length; for ((s || !i.is(":visible")) && (i.css("opacity", 0).show(), l = 1); c < r; c++) i.animate({ opacity: l }, a, t.easing), l = 1 - l; i.animate({ opacity: l }, a, t.easing), i.queue(e), S.effects.unshift(i, u, 1 + r) }), S.effects.define("shake", function (t, e) { var i = 1, n = S(this), s = t.direction || "left", o = t.distance || 20, r = t.times || 3, a = 2 * r + 1, l = Math.round(t.duration / a), c = "up" === s || "down" === s ? "top" : "left", u = "up" === s || "left" === s, h = {}, d = {}, p = {}, f = n.queue().length; for (S.effects.createPlaceholder(n), h[c] = (u ? "-=" : "+=") + o, d[c] = (u ? "+=" : "-=") + 2 * o, p[c] = (u ? "-=" : "+=") + 2 * o, n.animate(h, l, t.easing); i < r; i++) n.animate(d, l, t.easing).animate(p, l, t.easing); n.animate(d, l, t.easing).animate(h, l / 2, t.easing).queue(e), S.effects.unshift(n, f, 1 + a) }), S.effects.define("slide", "show", function (t, e) { var i, n, s = S(this), o = { up: ["bottom", "top"], down: ["top", "bottom"], left: ["right", "left"], right: ["left", "right"] }, r = t.mode, a = t.direction || "left", l = "up" === a || "down" === a ? "top" : "left", c = "up" === a || "left" === a, u = t.distance || s["top" == l ? "outerHeight" : "outerWidth"](!0), h = {}; S.effects.createPlaceholder(s), i = s.cssClip(), n = s.position()[l], h[l] = (c ? -1 : 1) * u + n, h.clip = s.cssClip(), h.clip[o[a][1]] = h.clip[o[a][0]], "show" === r && (s.cssClip(h.clip), s.css(l, h[l]), h.clip = i, h[l] = n), s.animate(h, { queue: !1, duration: t.duration, easing: t.easing, complete: e }) }), !1 !== S.uiBackCompat && S.effects.define("transfer", function (t, e) { S(this).transfer(t, e) }), S.ui.focusable = function (t, e) { var i, n, s, o, r, a = t.nodeName.toLowerCase(); return "area" === a ? (n = (i = t.parentNode).name, !(!t.href || !n || "map" !== i.nodeName.toLowerCase()) && (0 < (s = S("img[usemap='#" + n + "']")).length && s.is(":visible"))) : (/^(input|select|textarea|button|object)$/.test(a) ? (o = !t.disabled) && ((r = S(t).closest("fieldset")[0]) && (o = !r.disabled)) : o = "a" === a && t.href || e, o && S(t).is(":visible") && function (t) { for (var e = t.css("visibility"); "inherit" === e;) e = (t = t.parent()).css("visibility"); return "hidden" !== e }(S(t))) }, S.extend(S.expr[":"], { focusable: function (t) { return S.ui.focusable(t, null != S.attr(t, "tabindex")) } }), S.ui.focusable, S.fn.form = function () { return "string" == typeof this[0].form ? this.closest("form") : S(this[0].form) }, S.ui.formResetMixin = { _formResetHandler: function () { var e = S(this); setTimeout(function () { var t = e.data("ui-form-reset-instances"); S.each(t, function () { this.refresh() }) }) }, _bindFormResetHandler: function () { if (this.form = this.element.form(), this.form.length) { var t = this.form.data("ui-form-reset-instances") || []; t.length || this.form.on("reset.ui-form-reset", this._formResetHandler), t.push(this), this.form.data("ui-form-reset-instances", t) } }, _unbindFormResetHandler: function () { if (this.form.length) { var t = this.form.data("ui-form-reset-instances"); t.splice(S.inArray(this, t), 1), t.length ? this.form.data("ui-form-reset-instances", t) : this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset") } } }, "1.7" === S.fn.jquery.substring(0, 3) && (S.each(["Width", "Height"], function (t, i) { function n(t, e, i, n) { return S.each(s, function () { e -= parseFloat(S.css(t, "padding" + this)) || 0, i && (e -= parseFloat(S.css(t, "border" + this + "Width")) || 0), n && (e -= parseFloat(S.css(t, "margin" + this)) || 0) }), e } var s = "Width" === i ? ["Left", "Right"] : ["Top", "Bottom"], o = i.toLowerCase(), r = { innerWidth: S.fn.innerWidth, innerHeight: S.fn.innerHeight, outerWidth: S.fn.outerWidth, outerHeight: S.fn.outerHeight }; S.fn["inner" + i] = function (t) { return void 0 === t ? r["inner" + i].call(this) : this.each(function () { S(this).css(o, n(this, t) + "px") }) }, S.fn["outer" + i] = function (t, e) { return "number" != typeof t ? r["outer" + i].call(this, t) : this.each(function () { S(this).css(o, n(this, t, !0, e) + "px") }) } }), S.fn.addBack = function (t) { return this.add(null == t ? this.prevObject : this.prevObject.filter(t)) }), S.ui.keyCode = { BACKSPACE: 8, COMMA: 188, DELETE: 46, DOWN: 40, END: 35, ENTER: 13, ESCAPE: 27, HOME: 36, LEFT: 37, PAGE_DOWN: 34, PAGE_UP: 33, PERIOD: 190, RIGHT: 39, SPACE: 32, TAB: 9, UP: 38 }, S.ui.escapeSelector = (g = /([!"#$%&'()*+,.\/:;<=>?@[\]^`{|}~])/g, function (t) { return t.replace(g, "\\$1") }), S.fn.labels = function () { var t, e, i, n, s; return this[0].labels && this[0].labels.length ? this.pushStack(this[0].labels) : (n = this.eq(0).parents("label"), (i = this.attr("id")) && (s = (t = this.eq(0).parents().last()).add(t.length ? t.siblings() : this.siblings()), e = "label[for='" + S.ui.escapeSelector(i) + "']", n = n.add(s.find(e).addBack(e))), this.pushStack(n)) }, S.fn.scrollParent = function (t) { var e = this.css("position"), i = "absolute" === e, n = t ? /(auto|scroll|hidden)/ : /(auto|scroll)/, s = this.parents().filter(function () { var t = S(this); return (!i || "static" !== t.css("position")) && n.test(t.css("overflow") + t.css("overflow-y") + t.css("overflow-x")) }).eq(0); return "fixed" !== e && s.length ? s : S(this[0].ownerDocument || document) }, S.extend(S.expr[":"], { tabbable: function (t) { var e = S.attr(t, "tabindex"), i = null != e; return (!i || 0 <= e) && S.ui.focusable(t, i) } }), S.fn.extend({ uniqueId: (f = 0, function () { return this.each(function () { this.id || (this.id = "ui-id-" + ++f) }) }), removeUniqueId: function () { return this.each(function () { /^ui-id-\d+$/.test(this.id) && S(this).removeAttr("id") }) } }), S.widget("ui.accordion", { version: "1.12.1", options: { active: 0, animate: {}, classes: { "ui-accordion-header": "ui-corner-top", "ui-accordion-header-collapsed": "ui-corner-all", "ui-accordion-content": "ui-corner-bottom" }, collapsible: !1, event: "click", header: "> li > :first-child, > :not(li):even", heightStyle: "auto", icons: { activeHeader: "ui-icon-triangle-1-s", header: "ui-icon-triangle-1-e" }, activate: null, beforeActivate: null }, hideProps: { borderTopWidth: "hide", borderBottomWidth: "hide", paddingTop: "hide", paddingBottom: "hide", height: "hide" }, showProps: { borderTopWidth: "show", borderBottomWidth: "show", paddingTop: "show", paddingBottom: "show", height: "show" }, _create: function () { var t = this.options; this.prevShow = this.prevHide = S(), this._addClass("ui-accordion", "ui-widget ui-helper-reset"), this.element.attr("role", "tablist"), t.collapsible || !1 !== t.active && null != t.active || (t.active = 0), this._processPanels(), t.active < 0 && (t.active += this.headers.length), this._refresh() }, _getCreateEventData: function () { return { header: this.active, panel: this.active.length ? this.active.next() : S() } }, _createIcons: function () { var t, e, i = this.options.icons; i && (t = S(""), this._addClass(t, "ui-accordion-header-icon", "ui-icon " + i.header), t.prependTo(this.headers), e = this.active.children(".ui-accordion-header-icon"), this._removeClass(e, i.header)._addClass(e, null, i.activeHeader)._addClass(this.headers, "ui-accordion-icons")) }, _destroyIcons: function () { this._removeClass(this.headers, "ui-accordion-icons"), this.headers.children(".ui-accordion-header-icon").remove() }, _destroy: function () { var t; this.element.removeAttr("role"), this.headers.removeAttr("role aria-expanded aria-selected aria-controls tabIndex").removeUniqueId(), this._destroyIcons(), t = this.headers.next().css("display", "").removeAttr("role aria-hidden aria-labelledby").removeUniqueId(), "content" !== this.options.heightStyle && t.css("height", "") }, _setOption: function (t, e) { return "active" === t ? void this._activate(e) : ("event" === t && (this.options.event && this._off(this.headers, this.options.event), this._setupEvents(e)), this._super(t, e), "collapsible" !== t || e || !1 !== this.options.active || this._activate(0), void("icons" === t && (this._destroyIcons(), e && this._createIcons()))) }, _setOptionDisabled: function (t) { this._super(t), this.element.attr("aria-disabled", t), this._toggleClass(null, "ui-state-disabled", !!t), this._toggleClass(this.headers.add(this.headers.next()), null, "ui-state-disabled", !!t) }, _keydown: function (t) { if (!t.altKey && !t.ctrlKey) { var e = S.ui.keyCode, i = this.headers.length, n = this.headers.index(t.target), s = !1; switch (t.keyCode) { case e.RIGHT: case e.DOWN: s = this.headers[(n + 1) % i]; break; case e.LEFT: case e.UP: s = this.headers[(n - 1 + i) % i]; break; case e.SPACE: case e.ENTER: this._eventHandler(t); break; case e.HOME: s = this.headers[0]; break; case e.END: s = this.headers[i - 1] } s && (S(t.target).attr("tabIndex", -1), S(s).attr("tabIndex", 0), S(s).trigger("focus"), t.preventDefault()) } }, _panelKeyDown: function (t) { t.keyCode === S.ui.keyCode.UP && t.ctrlKey && S(t.currentTarget).prev().trigger("focus") }, refresh: function () { var t = this.options; this._processPanels(), !1 === t.active && !0 === t.collapsible || !this.headers.length ? (t.active = !1, this.active = S()) : !1 === t.active ? this._activate(0) : this.active.length && !S.contains(this.element[0], this.active[0]) ? this.headers.length === this.headers.find(".ui-state-disabled").length ? (t.active = !1, this.active = S()) : this._activate(Math.max(0, t.active - 1)) : t.active = this.headers.index(this.active), this._destroyIcons(), this._refresh() }, _processPanels: function () { var t = this.headers, e = this.panels; this.headers = this.element.find(this.options.header), this._addClass(this.headers, "ui-accordion-header ui-accordion-header-collapsed", "ui-state-default"), this.panels = this.headers.next().filter(":not(.ui-accordion-content-active)").hide(), this._addClass(this.panels, "ui-accordion-content", "ui-helper-reset ui-widget-content"), e && (this._off(t.not(this.headers)), this._off(e.not(this.panels))) }, _refresh: function () { var i, t = this.options, e = t.heightStyle, n = this.element.parent(); this.active = this._findActive(t.active), this._addClass(this.active, "ui-accordion-header-active", "ui-state-active")._removeClass(this.active, "ui-accordion-header-collapsed"), this._addClass(this.active.next(), "ui-accordion-content-active"), this.active.next().show(), this.headers.attr("role", "tab").each(function () { var t = S(this), e = t.uniqueId().attr("id"), i = t.next(), n = i.uniqueId().attr("id"); t.attr("aria-controls", n), i.attr("aria-labelledby", e) }).next().attr("role", "tabpanel"), this.headers.not(this.active).attr({ "aria-selected": "false", "aria-expanded": "false", tabIndex: -1 }).next().attr({ "aria-hidden": "true" }).hide(), this.active.length ? this.active.attr({ "aria-selected": "true", "aria-expanded": "true", tabIndex: 0 }).next().attr({ "aria-hidden": "false" }) : this.headers.eq(0).attr("tabIndex", 0), this._createIcons(), this._setupEvents(t.event), "fill" === e ? (i = n.height(), this.element.siblings(":visible").each(function () { var t = S(this), e = t.css("position"); "absolute" !== e && "fixed" !== e && (i -= t.outerHeight(!0)) }), this.headers.each(function () { i -= S(this).outerHeight(!0) }), this.headers.next().each(function () { S(this).height(Math.max(0, i - S(this).innerHeight() + S(this).height())) }).css("overflow", "auto")) : "auto" === e && (i = 0, this.headers.next().each(function () { var t = S(this).is(":visible"); t || S(this).show(), i = Math.max(i, S(this).css("height", "").height()), t || S(this).hide() }).height(i)) }, _activate: function (t) { var e = this._findActive(t)[0]; e !== this.active[0] && (e = e || this.active[0], this._eventHandler({ target: e, currentTarget: e, preventDefault: S.noop })) }, _findActive: function (t) { return "number" == typeof t ? this.headers.eq(t) : S() }, _setupEvents: function (t) { var i = { keydown: "_keydown" }; t && S.each(t.split(" "), function (t, e) { i[e] = "_eventHandler" }), this._off(this.headers.add(this.headers.next())), this._on(this.headers, i), this._on(this.headers.next(), { keydown: "_panelKeyDown" }), this._hoverable(this.headers), this._focusable(this.headers) }, _eventHandler: function (t) { var e, i, n = this.options, s = this.active, o = S(t.currentTarget), r = o[0] === s[0], a = r && n.collapsible, l = a ? S() : o.next(), c = s.next(), u = { oldHeader: s, oldPanel: c, newHeader: a ? S() : o, newPanel: l }; t.preventDefault(), r && !n.collapsible || !1 === this._trigger("beforeActivate", t, u) || (n.active = !a && this.headers.index(o), this.active = r ? S() : o, this._toggle(u), this._removeClass(s, "ui-accordion-header-active", "ui-state-active"), n.icons && (e = s.children(".ui-accordion-header-icon"), this._removeClass(e, null, n.icons.activeHeader)._addClass(e, null, n.icons.header)), r || (this._removeClass(o, "ui-accordion-header-collapsed")._addClass(o, "ui-accordion-header-active", "ui-state-active"), n.icons && (i = o.children(".ui-accordion-header-icon"), this._removeClass(i, null, n.icons.header)._addClass(i, null, n.icons.activeHeader)), this._addClass(o.next(), "ui-accordion-content-active"))) }, _toggle: function (t) { var e = t.newPanel, i = this.prevShow.length ? this.prevShow : t.oldPanel; this.prevShow.add(this.prevHide).stop(!0, !0), this.prevShow = e, this.prevHide = i, this.options.animate ? this._animate(e, i, t) : (i.hide(), e.show(), this._toggleComplete(t)), i.attr({ "aria-hidden": "true" }), i.prev().attr({ "aria-selected": "false", "aria-expanded": "false" }), e.length && i.length ? i.prev().attr({ tabIndex: -1, "aria-expanded": "false" }) : e.length && this.headers.filter(function () { return 0 === parseInt(S(this).attr("tabIndex"), 10) }).attr("tabIndex", -1), e.attr("aria-hidden", "false").prev().attr({ "aria-selected": "true", "aria-expanded": "true", tabIndex: 0 }) }, _animate: function (t, i, e) { function n() { a._toggleComplete(e) } var s, o, r, a = this, l = 0, c = t.css("box-sizing"), u = t.length && (!i.length || t.index() < i.index()), h = this.options.animate || {}, d = u && h.down || h; return "number" == typeof d && (r = d), "string" == typeof d && (o = d), o = o || d.easing || h.easing, r = r || d.duration || h.duration, i.length ? t.length ? (s = t.show().outerHeight(), i.animate(this.hideProps, { duration: r, easing: o, step: function (t, e) { e.now = Math.round(t) } }), void t.hide().animate(this.showProps, { duration: r, easing: o, complete: n, step: function (t, e) { e.now = Math.round(t), "height" !== e.prop ? "content-box" === c && (l += e.now) : "content" !== a.options.heightStyle && (e.now = Math.round(s - i.outerHeight() - l), l = 0) } })) : i.animate(this.hideProps, r, o, n) : t.animate(this.showProps, r, o, n) }, _toggleComplete: function (t) { var e = t.oldPanel, i = e.prev(); this._removeClass(e, "ui-accordion-content-active"), this._removeClass(i, "ui-accordion-header-active")._addClass(i, "ui-accordion-header-collapsed"), e.length && (e.parent()[0].className = e.parent()[0].className), this._trigger("activate", null, t) } }), S.ui.safeActiveElement = function (e) { var i; try { i = e.activeElement } catch (t) { i = e.body } return i || (i = e.body), i.nodeName || (i = e.body), i }, S.widget("ui.menu", { version: "1.12.1", defaultElement: "