{ "version": 3, "sources": ["../../node_modules/@hobbylobby/ui-toolkit-bootstrap/dist/js/bootstrap.bundle.js", "../../node_modules/jquery/dist/jquery.min.js", "../../wwwsrc/js/vpu.bundle.js", "../../node_modules/@hobbylobby/ui-toolkit-bootstrap/dist/js/hl-ui-toolkit.js", "../../wwwsrc/js/jquery.import.js", "../../wwwsrc/js/vpu.site.js", "../../wwwsrc/js/vpu.timeout.js"], "sourcesContent": ["/*!\n * Bootstrap v5.3.3 (https://getbootstrap.com/)\n * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n */\n!function(t, e) {\n \"object\" == typeof exports && \"undefined\" != typeof module ? module.exports = e() : \"function\" == typeof define && define.amd ? define(e) : (t = \"undefined\" != typeof globalThis ? globalThis : t || self).bootstrap = e();\n}(this, function() {\n \"use strict\";\n const t = /* @__PURE__ */ new Map(), e = { set(e2, i2, n2) {\n t.has(e2) || t.set(e2, /* @__PURE__ */ new Map());\n const s2 = t.get(e2);\n s2.has(i2) || 0 === s2.size ? s2.set(i2, n2) : console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(s2.keys())[0]}.`);\n }, get: (e2, i2) => t.has(e2) && t.get(e2).get(i2) || null, remove(e2, i2) {\n if (!t.has(e2))\n return;\n const n2 = t.get(e2);\n n2.delete(i2), 0 === n2.size && t.delete(e2);\n } }, i = \"transitionend\", n = (t2) => (t2 && window.CSS && window.CSS.escape && (t2 = t2.replace(/#([^\\s\"#']+)/g, (t3, e2) => `#${CSS.escape(e2)}`)), t2), s = (t2) => {\n t2.dispatchEvent(new Event(i));\n }, o = (t2) => !(!t2 || \"object\" != typeof t2) && (void 0 !== t2.jquery && (t2 = t2[0]), void 0 !== t2.nodeType), r = (t2) => o(t2) ? t2.jquery ? t2[0] : t2 : \"string\" == typeof t2 && t2.length > 0 ? document.querySelector(n(t2)) : null, a = (t2) => {\n if (!o(t2) || 0 === t2.getClientRects().length)\n return false;\n const e2 = \"visible\" === getComputedStyle(t2).getPropertyValue(\"visibility\"), i2 = t2.closest(\"details:not([open])\");\n if (!i2)\n return e2;\n if (i2 !== t2) {\n const e3 = t2.closest(\"summary\");\n if (e3 && e3.parentNode !== i2)\n return false;\n if (null === e3)\n return false;\n }\n return e2;\n }, l = (t2) => !t2 || t2.nodeType !== Node.ELEMENT_NODE || !!t2.classList.contains(\"disabled\") || (void 0 !== t2.disabled ? t2.disabled : t2.hasAttribute(\"disabled\") && \"false\" !== t2.getAttribute(\"disabled\")), c = (t2) => {\n if (!document.documentElement.attachShadow)\n return null;\n if (\"function\" == typeof t2.getRootNode) {\n const e2 = t2.getRootNode();\n return e2 instanceof ShadowRoot ? e2 : null;\n }\n return t2 instanceof ShadowRoot ? t2 : t2.parentNode ? c(t2.parentNode) : null;\n }, h = () => {\n }, d = (t2) => {\n t2.offsetHeight;\n }, u = () => window.jQuery && !document.body.hasAttribute(\"data-bs-no-jquery\") ? window.jQuery : null, f = [], p = () => \"rtl\" === document.documentElement.dir, m = (t2) => {\n var e2;\n e2 = () => {\n const e3 = u();\n if (e3) {\n const i2 = t2.NAME, n2 = e3.fn[i2];\n e3.fn[i2] = t2.jQueryInterface, e3.fn[i2].Constructor = t2, e3.fn[i2].noConflict = () => (e3.fn[i2] = n2, t2.jQueryInterface);\n }\n }, \"loading\" === document.readyState ? (f.length || document.addEventListener(\"DOMContentLoaded\", () => {\n for (const t3 of f)\n t3();\n }), f.push(e2)) : e2();\n }, g = (t2, e2 = [], i2 = t2) => \"function\" == typeof t2 ? t2(...e2) : i2, _ = (t2, e2, n2 = true) => {\n if (!n2)\n return void g(t2);\n const o2 = ((t3) => {\n if (!t3)\n return 0;\n let { transitionDuration: e3, transitionDelay: i2 } = window.getComputedStyle(t3);\n const n3 = Number.parseFloat(e3), s2 = Number.parseFloat(i2);\n return n3 || s2 ? (e3 = e3.split(\",\")[0], i2 = i2.split(\",\")[0], 1e3 * (Number.parseFloat(e3) + Number.parseFloat(i2))) : 0;\n })(e2) + 5;\n let r2 = false;\n const a2 = ({ target: n3 }) => {\n n3 === e2 && (r2 = true, e2.removeEventListener(i, a2), g(t2));\n };\n e2.addEventListener(i, a2), setTimeout(() => {\n r2 || s(e2);\n }, o2);\n }, b = (t2, e2, i2, n2) => {\n const s2 = t2.length;\n let o2 = t2.indexOf(e2);\n return -1 === o2 ? !i2 && n2 ? t2[s2 - 1] : t2[0] : (o2 += i2 ? 1 : -1, n2 && (o2 = (o2 + s2) % s2), t2[Math.max(0, Math.min(o2, s2 - 1))]);\n }, v = /[^.]*(?=\\..*)\\.|.*/, y = /\\..*/, w = /::\\d+$/, A = {};\n let E = 1;\n const T = { mouseenter: \"mouseover\", mouseleave: \"mouseout\" }, C = /* @__PURE__ */ 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\"]);\n function O(t2, e2) {\n return e2 && `${e2}::${E++}` || t2.uidEvent || E++;\n }\n function x(t2) {\n const e2 = O(t2);\n return t2.uidEvent = e2, A[e2] = A[e2] || {}, A[e2];\n }\n function k(t2, e2, i2 = null) {\n return Object.values(t2).find((t3) => t3.callable === e2 && t3.delegationSelector === i2);\n }\n function L(t2, e2, i2) {\n const n2 = \"string\" == typeof e2, s2 = n2 ? i2 : e2 || i2;\n let o2 = I(t2);\n return C.has(o2) || (o2 = t2), [n2, s2, o2];\n }\n function S(t2, e2, i2, n2, s2) {\n if (\"string\" != typeof e2 || !t2)\n return;\n let [o2, r2, a2] = L(e2, i2, n2);\n if (e2 in T) {\n const t3 = (t4) => function(e3) {\n if (!e3.relatedTarget || e3.relatedTarget !== e3.delegateTarget && !e3.delegateTarget.contains(e3.relatedTarget))\n return t4.call(this, e3);\n };\n r2 = t3(r2);\n }\n const l2 = x(t2), c2 = l2[a2] || (l2[a2] = {}), h2 = k(c2, r2, o2 ? i2 : null);\n if (h2)\n return void (h2.oneOff = h2.oneOff && s2);\n const d2 = O(r2, e2.replace(v, \"\")), u2 = o2 ? /* @__PURE__ */ function(t3, e3, i3) {\n return function n3(s3) {\n const o3 = t3.querySelectorAll(e3);\n for (let { target: r3 } = s3; r3 && r3 !== this; r3 = r3.parentNode)\n for (const a3 of o3)\n if (a3 === r3)\n return P(s3, { delegateTarget: r3 }), n3.oneOff && N.off(t3, s3.type, e3, i3), i3.apply(r3, [s3]);\n };\n }(t2, i2, r2) : /* @__PURE__ */ function(t3, e3) {\n return function i3(n3) {\n return P(n3, { delegateTarget: t3 }), i3.oneOff && N.off(t3, n3.type, e3), e3.apply(t3, [n3]);\n };\n }(t2, r2);\n u2.delegationSelector = o2 ? i2 : null, u2.callable = r2, u2.oneOff = s2, u2.uidEvent = d2, c2[d2] = u2, t2.addEventListener(a2, u2, o2);\n }\n function D(t2, e2, i2, n2, s2) {\n const o2 = k(e2[i2], n2, s2);\n o2 && (t2.removeEventListener(i2, o2, Boolean(s2)), delete e2[i2][o2.uidEvent]);\n }\n function $(t2, e2, i2, n2) {\n const s2 = e2[i2] || {};\n for (const [o2, r2] of Object.entries(s2))\n o2.includes(n2) && D(t2, e2, i2, r2.callable, r2.delegationSelector);\n }\n function I(t2) {\n return t2 = t2.replace(y, \"\"), T[t2] || t2;\n }\n const N = { on(t2, e2, i2, n2) {\n S(t2, e2, i2, n2, false);\n }, one(t2, e2, i2, n2) {\n S(t2, e2, i2, n2, true);\n }, off(t2, e2, i2, n2) {\n if (\"string\" != typeof e2 || !t2)\n return;\n const [s2, o2, r2] = L(e2, i2, n2), a2 = r2 !== e2, l2 = x(t2), c2 = l2[r2] || {}, h2 = e2.startsWith(\".\");\n if (void 0 === o2) {\n if (h2)\n for (const i3 of Object.keys(l2))\n $(t2, l2, i3, e2.slice(1));\n for (const [i3, n3] of Object.entries(c2)) {\n const s3 = i3.replace(w, \"\");\n a2 && !e2.includes(s3) || D(t2, l2, r2, n3.callable, n3.delegationSelector);\n }\n } else {\n if (!Object.keys(c2).length)\n return;\n D(t2, l2, r2, o2, s2 ? i2 : null);\n }\n }, trigger(t2, e2, i2) {\n if (\"string\" != typeof e2 || !t2)\n return null;\n const n2 = u();\n let s2 = null, o2 = true, r2 = true, a2 = false;\n e2 !== I(e2) && n2 && (s2 = n2.Event(e2, i2), n2(t2).trigger(s2), o2 = !s2.isPropagationStopped(), r2 = !s2.isImmediatePropagationStopped(), a2 = s2.isDefaultPrevented());\n const l2 = P(new Event(e2, { bubbles: o2, cancelable: true }), i2);\n return a2 && l2.preventDefault(), r2 && t2.dispatchEvent(l2), l2.defaultPrevented && s2 && s2.preventDefault(), l2;\n } };\n function P(t2, e2 = {}) {\n for (const [i2, n2] of Object.entries(e2))\n try {\n t2[i2] = n2;\n } catch (e3) {\n Object.defineProperty(t2, i2, { configurable: true, get: () => n2 });\n }\n return t2;\n }\n function j(t2) {\n if (\"true\" === t2)\n return true;\n if (\"false\" === t2)\n return false;\n if (t2 === Number(t2).toString())\n return Number(t2);\n if (\"\" === t2 || \"null\" === t2)\n return null;\n if (\"string\" != typeof t2)\n return t2;\n try {\n return JSON.parse(decodeURIComponent(t2));\n } catch (e2) {\n return t2;\n }\n }\n function M(t2) {\n return t2.replace(/[A-Z]/g, (t3) => `-${t3.toLowerCase()}`);\n }\n const F = { setDataAttribute(t2, e2, i2) {\n t2.setAttribute(`data-bs-${M(e2)}`, i2);\n }, removeDataAttribute(t2, e2) {\n t2.removeAttribute(`data-bs-${M(e2)}`);\n }, getDataAttributes(t2) {\n if (!t2)\n return {};\n const e2 = {}, i2 = Object.keys(t2.dataset).filter((t3) => t3.startsWith(\"bs\") && !t3.startsWith(\"bsConfig\"));\n for (const n2 of i2) {\n let i3 = n2.replace(/^bs/, \"\");\n i3 = i3.charAt(0).toLowerCase() + i3.slice(1, i3.length), e2[i3] = j(t2.dataset[n2]);\n }\n return e2;\n }, getDataAttribute: (t2, e2) => j(t2.getAttribute(`data-bs-${M(e2)}`)) };\n class H {\n static get Default() {\n return {};\n }\n static get DefaultType() {\n return {};\n }\n static get NAME() {\n throw new Error('You have to implement the static method \"NAME\", for each component!');\n }\n _getConfig(t2) {\n return t2 = this._mergeConfigObj(t2), t2 = this._configAfterMerge(t2), this._typeCheckConfig(t2), t2;\n }\n _configAfterMerge(t2) {\n return t2;\n }\n _mergeConfigObj(t2, e2) {\n const i2 = o(e2) ? F.getDataAttribute(e2, \"config\") : {};\n return { ...this.constructor.Default, ...\"object\" == typeof i2 ? i2 : {}, ...o(e2) ? F.getDataAttributes(e2) : {}, ...\"object\" == typeof t2 ? t2 : {} };\n }\n _typeCheckConfig(t2, e2 = this.constructor.DefaultType) {\n for (const [n2, s2] of Object.entries(e2)) {\n const e3 = t2[n2], r2 = o(e3) ? \"element\" : null == (i2 = e3) ? `${i2}` : Object.prototype.toString.call(i2).match(/\\s([a-z]+)/i)[1].toLowerCase();\n if (!new RegExp(s2).test(r2))\n throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option \"${n2}\" provided type \"${r2}\" but expected type \"${s2}\".`);\n }\n var i2;\n }\n }\n class W extends H {\n constructor(t2, i2) {\n super(), (t2 = r(t2)) && (this._element = t2, this._config = this._getConfig(i2), e.set(this._element, this.constructor.DATA_KEY, this));\n }\n dispose() {\n e.remove(this._element, this.constructor.DATA_KEY), N.off(this._element, this.constructor.EVENT_KEY);\n for (const t2 of Object.getOwnPropertyNames(this))\n this[t2] = null;\n }\n _queueCallback(t2, e2, i2 = true) {\n _(t2, e2, i2);\n }\n _getConfig(t2) {\n return t2 = this._mergeConfigObj(t2, this._element), t2 = this._configAfterMerge(t2), this._typeCheckConfig(t2), t2;\n }\n static getInstance(t2) {\n return e.get(r(t2), this.DATA_KEY);\n }\n static getOrCreateInstance(t2, e2 = {}) {\n return this.getInstance(t2) || new this(t2, \"object\" == typeof e2 ? e2 : null);\n }\n static get VERSION() {\n return \"5.3.3\";\n }\n static get DATA_KEY() {\n return `bs.${this.NAME}`;\n }\n static get EVENT_KEY() {\n return `.${this.DATA_KEY}`;\n }\n static eventName(t2) {\n return `${t2}${this.EVENT_KEY}`;\n }\n }\n const B = (t2) => {\n let e2 = t2.getAttribute(\"data-bs-target\");\n if (!e2 || \"#\" === e2) {\n let i2 = t2.getAttribute(\"href\");\n if (!i2 || !i2.includes(\"#\") && !i2.startsWith(\".\"))\n return null;\n i2.includes(\"#\") && !i2.startsWith(\"#\") && (i2 = `#${i2.split(\"#\")[1]}`), e2 = i2 && \"#\" !== i2 ? i2.trim() : null;\n }\n return e2 ? e2.split(\",\").map((t3) => n(t3)).join(\",\") : null;\n }, z = { find: (t2, e2 = document.documentElement) => [].concat(...Element.prototype.querySelectorAll.call(e2, t2)), findOne: (t2, e2 = document.documentElement) => Element.prototype.querySelector.call(e2, t2), children: (t2, e2) => [].concat(...t2.children).filter((t3) => t3.matches(e2)), parents(t2, e2) {\n const i2 = [];\n let n2 = t2.parentNode.closest(e2);\n for (; n2; )\n i2.push(n2), n2 = n2.parentNode.closest(e2);\n return i2;\n }, prev(t2, e2) {\n let i2 = t2.previousElementSibling;\n for (; i2; ) {\n if (i2.matches(e2))\n return [i2];\n i2 = i2.previousElementSibling;\n }\n return [];\n }, next(t2, e2) {\n let i2 = t2.nextElementSibling;\n for (; i2; ) {\n if (i2.matches(e2))\n return [i2];\n i2 = i2.nextElementSibling;\n }\n return [];\n }, focusableChildren(t2) {\n const e2 = [\"a\", \"button\", \"input\", \"textarea\", \"select\", \"details\", \"[tabindex]\", '[contenteditable=\"true\"]'].map((t3) => `${t3}:not([tabindex^=\"-\"])`).join(\",\");\n return this.find(e2, t2).filter((t3) => !l(t3) && a(t3));\n }, getSelectorFromElement(t2) {\n const e2 = B(t2);\n return e2 && z.findOne(e2) ? e2 : null;\n }, getElementFromSelector(t2) {\n const e2 = B(t2);\n return e2 ? z.findOne(e2) : null;\n }, getMultipleElementsFromSelector(t2) {\n const e2 = B(t2);\n return e2 ? z.find(e2) : [];\n } }, R = (t2, e2 = \"hide\") => {\n const i2 = `click.dismiss${t2.EVENT_KEY}`, n2 = t2.NAME;\n N.on(document, i2, `[data-bs-dismiss=\"${n2}\"]`, function(i3) {\n if ([\"A\", \"AREA\"].includes(this.tagName) && i3.preventDefault(), l(this))\n return;\n const s2 = z.getElementFromSelector(this) || this.closest(`.${n2}`);\n t2.getOrCreateInstance(s2)[e2]();\n });\n }, q = \".bs.alert\", V = `close${q}`, K = `closed${q}`;\n class Q extends W {\n static get NAME() {\n return \"alert\";\n }\n close() {\n if (N.trigger(this._element, V).defaultPrevented)\n return;\n this._element.classList.remove(\"show\");\n const t2 = this._element.classList.contains(\"fade\");\n this._queueCallback(() => this._destroyElement(), this._element, t2);\n }\n _destroyElement() {\n this._element.remove(), N.trigger(this._element, K), this.dispose();\n }\n static jQueryInterface(t2) {\n return this.each(function() {\n const e2 = Q.getOrCreateInstance(this);\n if (\"string\" == typeof t2) {\n if (void 0 === e2[t2] || t2.startsWith(\"_\") || \"constructor\" === t2)\n throw new TypeError(`No method named \"${t2}\"`);\n e2[t2](this);\n }\n });\n }\n }\n R(Q, \"close\"), m(Q);\n const X = '[data-bs-toggle=\"button\"]';\n class Y extends W {\n static get NAME() {\n return \"button\";\n }\n toggle() {\n this._element.setAttribute(\"aria-pressed\", this._element.classList.toggle(\"active\"));\n }\n static jQueryInterface(t2) {\n return this.each(function() {\n const e2 = Y.getOrCreateInstance(this);\n \"toggle\" === t2 && e2[t2]();\n });\n }\n }\n N.on(document, \"click.bs.button.data-api\", X, (t2) => {\n t2.preventDefault();\n const e2 = t2.target.closest(X);\n Y.getOrCreateInstance(e2).toggle();\n }), m(Y);\n const U = \".bs.swipe\", G = `touchstart${U}`, J = `touchmove${U}`, Z = `touchend${U}`, tt = `pointerdown${U}`, et = `pointerup${U}`, it = { endCallback: null, leftCallback: null, rightCallback: null }, nt = { endCallback: \"(function|null)\", leftCallback: \"(function|null)\", rightCallback: \"(function|null)\" };\n class st extends H {\n constructor(t2, e2) {\n super(), this._element = t2, t2 && st.isSupported() && (this._config = this._getConfig(e2), this._deltaX = 0, this._supportPointerEvents = Boolean(window.PointerEvent), this._initEvents());\n }\n static get Default() {\n return it;\n }\n static get DefaultType() {\n return nt;\n }\n static get NAME() {\n return \"swipe\";\n }\n dispose() {\n N.off(this._element, U);\n }\n _start(t2) {\n this._supportPointerEvents ? this._eventIsPointerPenTouch(t2) && (this._deltaX = t2.clientX) : this._deltaX = t2.touches[0].clientX;\n }\n _end(t2) {\n this._eventIsPointerPenTouch(t2) && (this._deltaX = t2.clientX - this._deltaX), this._handleSwipe(), g(this._config.endCallback);\n }\n _move(t2) {\n this._deltaX = t2.touches && t2.touches.length > 1 ? 0 : t2.touches[0].clientX - this._deltaX;\n }\n _handleSwipe() {\n const t2 = Math.abs(this._deltaX);\n if (t2 <= 40)\n return;\n const e2 = t2 / this._deltaX;\n this._deltaX = 0, e2 && g(e2 > 0 ? this._config.rightCallback : this._config.leftCallback);\n }\n _initEvents() {\n this._supportPointerEvents ? (N.on(this._element, tt, (t2) => this._start(t2)), N.on(this._element, et, (t2) => this._end(t2)), this._element.classList.add(\"pointer-event\")) : (N.on(this._element, G, (t2) => this._start(t2)), N.on(this._element, J, (t2) => this._move(t2)), N.on(this._element, Z, (t2) => this._end(t2)));\n }\n _eventIsPointerPenTouch(t2) {\n return this._supportPointerEvents && (\"pen\" === t2.pointerType || \"touch\" === t2.pointerType);\n }\n static isSupported() {\n return \"ontouchstart\" in document.documentElement || navigator.maxTouchPoints > 0;\n }\n }\n const ot = \".bs.carousel\", rt = \".data-api\", at = \"next\", lt = \"prev\", ct = \"left\", ht = \"right\", dt = `slide${ot}`, ut = `slid${ot}`, ft = `keydown${ot}`, pt = `mouseenter${ot}`, mt = `mouseleave${ot}`, gt = `dragstart${ot}`, _t = `load${ot}${rt}`, bt = `click${ot}${rt}`, vt = \"carousel\", yt = \"active\", wt = \".active\", At = \".carousel-item\", Et = wt + At, Tt = { ArrowLeft: ht, ArrowRight: ct }, Ct = { interval: 5e3, keyboard: true, pause: \"hover\", ride: false, touch: true, wrap: true }, Ot = { interval: \"(number|boolean)\", keyboard: \"boolean\", pause: \"(string|boolean)\", ride: \"(boolean|string)\", touch: \"boolean\", wrap: \"boolean\" };\n class xt extends W {\n constructor(t2, e2) {\n super(t2, e2), this._interval = null, this._activeElement = null, this._isSliding = false, this.touchTimeout = null, this._swipeHelper = null, this._indicatorsElement = z.findOne(\".carousel-indicators\", this._element), this._addEventListeners(), this._config.ride === vt && this.cycle();\n }\n static get Default() {\n return Ct;\n }\n static get DefaultType() {\n return Ot;\n }\n static get NAME() {\n return \"carousel\";\n }\n next() {\n this._slide(at);\n }\n nextWhenVisible() {\n !document.hidden && a(this._element) && this.next();\n }\n prev() {\n this._slide(lt);\n }\n pause() {\n this._isSliding && s(this._element), this._clearInterval();\n }\n cycle() {\n this._clearInterval(), this._updateInterval(), this._interval = setInterval(() => this.nextWhenVisible(), this._config.interval);\n }\n _maybeEnableCycle() {\n this._config.ride && (this._isSliding ? N.one(this._element, ut, () => this.cycle()) : this.cycle());\n }\n to(t2) {\n const e2 = this._getItems();\n if (t2 > e2.length - 1 || t2 < 0)\n return;\n if (this._isSliding)\n return void N.one(this._element, ut, () => this.to(t2));\n const i2 = this._getItemIndex(this._getActive());\n if (i2 === t2)\n return;\n const n2 = t2 > i2 ? at : lt;\n this._slide(n2, e2[t2]);\n }\n dispose() {\n this._swipeHelper && this._swipeHelper.dispose(), super.dispose();\n }\n _configAfterMerge(t2) {\n return t2.defaultInterval = t2.interval, t2;\n }\n _addEventListeners() {\n this._config.keyboard && N.on(this._element, ft, (t2) => this._keydown(t2)), \"hover\" === this._config.pause && (N.on(this._element, pt, () => this.pause()), N.on(this._element, mt, () => this._maybeEnableCycle())), this._config.touch && st.isSupported() && this._addTouchEventListeners();\n }\n _addTouchEventListeners() {\n for (const t3 of z.find(\".carousel-item img\", this._element))\n N.on(t3, gt, (t4) => t4.preventDefault());\n const t2 = { leftCallback: () => this._slide(this._directionToOrder(ct)), rightCallback: () => this._slide(this._directionToOrder(ht)), endCallback: () => {\n \"hover\" === this._config.pause && (this.pause(), this.touchTimeout && clearTimeout(this.touchTimeout), this.touchTimeout = setTimeout(() => this._maybeEnableCycle(), 500 + this._config.interval));\n } };\n this._swipeHelper = new st(this._element, t2);\n }\n _keydown(t2) {\n if (/input|textarea/i.test(t2.target.tagName))\n return;\n const e2 = Tt[t2.key];\n e2 && (t2.preventDefault(), this._slide(this._directionToOrder(e2)));\n }\n _getItemIndex(t2) {\n return this._getItems().indexOf(t2);\n }\n _setActiveIndicatorElement(t2) {\n if (!this._indicatorsElement)\n return;\n const e2 = z.findOne(wt, this._indicatorsElement);\n e2.classList.remove(yt), e2.removeAttribute(\"aria-current\");\n const i2 = z.findOne(`[data-bs-slide-to=\"${t2}\"]`, this._indicatorsElement);\n i2 && (i2.classList.add(yt), i2.setAttribute(\"aria-current\", \"true\"));\n }\n _updateInterval() {\n const t2 = this._activeElement || this._getActive();\n if (!t2)\n return;\n const e2 = Number.parseInt(t2.getAttribute(\"data-bs-interval\"), 10);\n this._config.interval = e2 || this._config.defaultInterval;\n }\n _slide(t2, e2 = null) {\n if (this._isSliding)\n return;\n const i2 = this._getActive(), n2 = t2 === at, s2 = e2 || b(this._getItems(), i2, n2, this._config.wrap);\n if (s2 === i2)\n return;\n const o2 = this._getItemIndex(s2), r2 = (e3) => N.trigger(this._element, e3, { relatedTarget: s2, direction: this._orderToDirection(t2), from: this._getItemIndex(i2), to: o2 });\n if (r2(dt).defaultPrevented)\n return;\n if (!i2 || !s2)\n return;\n const a2 = Boolean(this._interval);\n this.pause(), this._isSliding = true, this._setActiveIndicatorElement(o2), this._activeElement = s2;\n const l2 = n2 ? \"carousel-item-start\" : \"carousel-item-end\", c2 = n2 ? \"carousel-item-next\" : \"carousel-item-prev\";\n s2.classList.add(c2), d(s2), i2.classList.add(l2), s2.classList.add(l2), this._queueCallback(() => {\n s2.classList.remove(l2, c2), s2.classList.add(yt), i2.classList.remove(yt, c2, l2), this._isSliding = false, r2(ut);\n }, i2, this._isAnimated()), a2 && this.cycle();\n }\n _isAnimated() {\n return this._element.classList.contains(\"slide\");\n }\n _getActive() {\n return z.findOne(Et, this._element);\n }\n _getItems() {\n return z.find(At, this._element);\n }\n _clearInterval() {\n this._interval && (clearInterval(this._interval), this._interval = null);\n }\n _directionToOrder(t2) {\n return p() ? t2 === ct ? lt : at : t2 === ct ? at : lt;\n }\n _orderToDirection(t2) {\n return p() ? t2 === lt ? ct : ht : t2 === lt ? ht : ct;\n }\n static jQueryInterface(t2) {\n return this.each(function() {\n const e2 = xt.getOrCreateInstance(this, t2);\n if (\"number\" != typeof t2) {\n if (\"string\" == typeof t2) {\n if (void 0 === e2[t2] || t2.startsWith(\"_\") || \"constructor\" === t2)\n throw new TypeError(`No method named \"${t2}\"`);\n e2[t2]();\n }\n } else\n e2.to(t2);\n });\n }\n }\n N.on(document, bt, \"[data-bs-slide], [data-bs-slide-to]\", function(t2) {\n const e2 = z.getElementFromSelector(this);\n if (!e2 || !e2.classList.contains(vt))\n return;\n t2.preventDefault();\n const i2 = xt.getOrCreateInstance(e2), n2 = this.getAttribute(\"data-bs-slide-to\");\n return n2 ? (i2.to(n2), void i2._maybeEnableCycle()) : \"next\" === F.getDataAttribute(this, \"slide\") ? (i2.next(), void i2._maybeEnableCycle()) : (i2.prev(), void i2._maybeEnableCycle());\n }), N.on(window, _t, () => {\n const t2 = z.find('[data-bs-ride=\"carousel\"]');\n for (const e2 of t2)\n xt.getOrCreateInstance(e2);\n }), m(xt);\n const kt = \".bs.collapse\", Lt = `show${kt}`, St = `shown${kt}`, Dt = `hide${kt}`, $t = `hidden${kt}`, It = `click${kt}.data-api`, Nt = \"show\", Pt = \"collapse\", jt = \"collapsing\", Mt = `:scope .${Pt} .${Pt}`, Ft = '[data-bs-toggle=\"collapse\"]', Ht = { parent: null, toggle: true }, Wt = { parent: \"(null|element)\", toggle: \"boolean\" };\n class Bt extends W {\n constructor(t2, e2) {\n super(t2, e2), this._isTransitioning = false, this._triggerArray = [];\n const i2 = z.find(Ft);\n for (const t3 of i2) {\n const e3 = z.getSelectorFromElement(t3), i3 = z.find(e3).filter((t4) => t4 === this._element);\n null !== e3 && i3.length && this._triggerArray.push(t3);\n }\n this._initializeChildren(), this._config.parent || this._addAriaAndCollapsedClass(this._triggerArray, this._isShown()), this._config.toggle && this.toggle();\n }\n static get Default() {\n return Ht;\n }\n static get DefaultType() {\n return Wt;\n }\n static get NAME() {\n return \"collapse\";\n }\n toggle() {\n this._isShown() ? this.hide() : this.show();\n }\n show() {\n if (this._isTransitioning || this._isShown())\n return;\n let t2 = [];\n if (this._config.parent && (t2 = this._getFirstLevelChildren(\".collapse.show, .collapse.collapsing\").filter((t3) => t3 !== this._element).map((t3) => Bt.getOrCreateInstance(t3, { toggle: false }))), t2.length && t2[0]._isTransitioning)\n return;\n if (N.trigger(this._element, Lt).defaultPrevented)\n return;\n for (const e3 of t2)\n e3.hide();\n const e2 = this._getDimension();\n this._element.classList.remove(Pt), this._element.classList.add(jt), this._element.style[e2] = 0, this._addAriaAndCollapsedClass(this._triggerArray, true), this._isTransitioning = true;\n const i2 = `scroll${e2[0].toUpperCase() + e2.slice(1)}`;\n this._queueCallback(() => {\n this._isTransitioning = false, this._element.classList.remove(jt), this._element.classList.add(Pt, Nt), this._element.style[e2] = \"\", N.trigger(this._element, St);\n }, this._element, true), this._element.style[e2] = `${this._element[i2]}px`;\n }\n hide() {\n if (this._isTransitioning || !this._isShown())\n return;\n if (N.trigger(this._element, Dt).defaultPrevented)\n return;\n const t2 = this._getDimension();\n this._element.style[t2] = `${this._element.getBoundingClientRect()[t2]}px`, d(this._element), this._element.classList.add(jt), this._element.classList.remove(Pt, Nt);\n for (const t3 of this._triggerArray) {\n const e2 = z.getElementFromSelector(t3);\n e2 && !this._isShown(e2) && this._addAriaAndCollapsedClass([t3], false);\n }\n this._isTransitioning = true, this._element.style[t2] = \"\", this._queueCallback(() => {\n this._isTransitioning = false, this._element.classList.remove(jt), this._element.classList.add(Pt), N.trigger(this._element, $t);\n }, this._element, true);\n }\n _isShown(t2 = this._element) {\n return t2.classList.contains(Nt);\n }\n _configAfterMerge(t2) {\n return t2.toggle = Boolean(t2.toggle), t2.parent = r(t2.parent), t2;\n }\n _getDimension() {\n return this._element.classList.contains(\"collapse-horizontal\") ? \"width\" : \"height\";\n }\n _initializeChildren() {\n if (!this._config.parent)\n return;\n const t2 = this._getFirstLevelChildren(Ft);\n for (const e2 of t2) {\n const t3 = z.getElementFromSelector(e2);\n t3 && this._addAriaAndCollapsedClass([e2], this._isShown(t3));\n }\n }\n _getFirstLevelChildren(t2) {\n const e2 = z.find(Mt, this._config.parent);\n return z.find(t2, this._config.parent).filter((t3) => !e2.includes(t3));\n }\n _addAriaAndCollapsedClass(t2, e2) {\n if (t2.length)\n for (const i2 of t2)\n i2.classList.toggle(\"collapsed\", !e2), i2.setAttribute(\"aria-expanded\", e2);\n }\n static jQueryInterface(t2) {\n const e2 = {};\n return \"string\" == typeof t2 && /show|hide/.test(t2) && (e2.toggle = false), this.each(function() {\n const i2 = Bt.getOrCreateInstance(this, e2);\n if (\"string\" == typeof t2) {\n if (void 0 === i2[t2])\n throw new TypeError(`No method named \"${t2}\"`);\n i2[t2]();\n }\n });\n }\n }\n N.on(document, It, Ft, function(t2) {\n (\"A\" === t2.target.tagName || t2.delegateTarget && \"A\" === t2.delegateTarget.tagName) && t2.preventDefault();\n for (const t3 of z.getMultipleElementsFromSelector(this))\n Bt.getOrCreateInstance(t3, { toggle: false }).toggle();\n }), m(Bt);\n var zt = \"top\", Rt = \"bottom\", qt = \"right\", Vt = \"left\", Kt = \"auto\", Qt = [zt, Rt, qt, Vt], Xt = \"start\", Yt = \"end\", Ut = \"clippingParents\", Gt = \"viewport\", Jt = \"popper\", Zt = \"reference\", te = Qt.reduce(function(t2, e2) {\n return t2.concat([e2 + \"-\" + Xt, e2 + \"-\" + Yt]);\n }, []), ee = [].concat(Qt, [Kt]).reduce(function(t2, e2) {\n return t2.concat([e2, e2 + \"-\" + Xt, e2 + \"-\" + Yt]);\n }, []), ie = \"beforeRead\", ne = \"read\", se = \"afterRead\", oe = \"beforeMain\", re = \"main\", ae = \"afterMain\", le = \"beforeWrite\", ce = \"write\", he = \"afterWrite\", de = [ie, ne, se, oe, re, ae, le, ce, he];\n function ue(t2) {\n return t2 ? (t2.nodeName || \"\").toLowerCase() : null;\n }\n function fe(t2) {\n if (null == t2)\n return window;\n if (\"[object Window]\" !== t2.toString()) {\n var e2 = t2.ownerDocument;\n return e2 && e2.defaultView || window;\n }\n return t2;\n }\n function pe(t2) {\n return t2 instanceof fe(t2).Element || t2 instanceof Element;\n }\n function me(t2) {\n return t2 instanceof fe(t2).HTMLElement || t2 instanceof HTMLElement;\n }\n function ge(t2) {\n return \"undefined\" != typeof ShadowRoot && (t2 instanceof fe(t2).ShadowRoot || t2 instanceof ShadowRoot);\n }\n const _e = { name: \"applyStyles\", enabled: true, phase: \"write\", fn: function(t2) {\n var e2 = t2.state;\n Object.keys(e2.elements).forEach(function(t3) {\n var i2 = e2.styles[t3] || {}, n2 = e2.attributes[t3] || {}, s2 = e2.elements[t3];\n me(s2) && ue(s2) && (Object.assign(s2.style, i2), Object.keys(n2).forEach(function(t4) {\n var e3 = n2[t4];\n false === e3 ? s2.removeAttribute(t4) : s2.setAttribute(t4, true === e3 ? \"\" : e3);\n }));\n });\n }, effect: function(t2) {\n var e2 = t2.state, i2 = { popper: { position: e2.options.strategy, left: \"0\", top: \"0\", margin: \"0\" }, arrow: { position: \"absolute\" }, reference: {} };\n return Object.assign(e2.elements.popper.style, i2.popper), e2.styles = i2, e2.elements.arrow && Object.assign(e2.elements.arrow.style, i2.arrow), function() {\n Object.keys(e2.elements).forEach(function(t3) {\n var n2 = e2.elements[t3], s2 = e2.attributes[t3] || {}, o2 = Object.keys(e2.styles.hasOwnProperty(t3) ? e2.styles[t3] : i2[t3]).reduce(function(t4, e3) {\n return t4[e3] = \"\", t4;\n }, {});\n me(n2) && ue(n2) && (Object.assign(n2.style, o2), Object.keys(s2).forEach(function(t4) {\n n2.removeAttribute(t4);\n }));\n });\n };\n }, requires: [\"computeStyles\"] };\n function be(t2) {\n return t2.split(\"-\")[0];\n }\n var ve = Math.max, ye = Math.min, we = Math.round;\n function Ae() {\n var t2 = navigator.userAgentData;\n return null != t2 && t2.brands && Array.isArray(t2.brands) ? t2.brands.map(function(t3) {\n return t3.brand + \"/\" + t3.version;\n }).join(\" \") : navigator.userAgent;\n }\n function Ee() {\n return !/^((?!chrome|android).)*safari/i.test(Ae());\n }\n function Te(t2, e2, i2) {\n void 0 === e2 && (e2 = false), void 0 === i2 && (i2 = false);\n var n2 = t2.getBoundingClientRect(), s2 = 1, o2 = 1;\n e2 && me(t2) && (s2 = t2.offsetWidth > 0 && we(n2.width) / t2.offsetWidth || 1, o2 = t2.offsetHeight > 0 && we(n2.height) / t2.offsetHeight || 1);\n var r2 = (pe(t2) ? fe(t2) : window).visualViewport, a2 = !Ee() && i2, l2 = (n2.left + (a2 && r2 ? r2.offsetLeft : 0)) / s2, c2 = (n2.top + (a2 && r2 ? r2.offsetTop : 0)) / o2, h2 = n2.width / s2, d2 = n2.height / o2;\n return { width: h2, height: d2, top: c2, right: l2 + h2, bottom: c2 + d2, left: l2, x: l2, y: c2 };\n }\n function Ce(t2) {\n var e2 = Te(t2), i2 = t2.offsetWidth, n2 = t2.offsetHeight;\n return Math.abs(e2.width - i2) <= 1 && (i2 = e2.width), Math.abs(e2.height - n2) <= 1 && (n2 = e2.height), { x: t2.offsetLeft, y: t2.offsetTop, width: i2, height: n2 };\n }\n function Oe(t2, e2) {\n var i2 = e2.getRootNode && e2.getRootNode();\n if (t2.contains(e2))\n return true;\n if (i2 && ge(i2)) {\n var n2 = e2;\n do {\n if (n2 && t2.isSameNode(n2))\n return true;\n n2 = n2.parentNode || n2.host;\n } while (n2);\n }\n return false;\n }\n function xe(t2) {\n return fe(t2).getComputedStyle(t2);\n }\n function ke(t2) {\n return [\"table\", \"td\", \"th\"].indexOf(ue(t2)) >= 0;\n }\n function Le(t2) {\n return ((pe(t2) ? t2.ownerDocument : t2.document) || window.document).documentElement;\n }\n function Se(t2) {\n return \"html\" === ue(t2) ? t2 : t2.assignedSlot || t2.parentNode || (ge(t2) ? t2.host : null) || Le(t2);\n }\n function De(t2) {\n return me(t2) && \"fixed\" !== xe(t2).position ? t2.offsetParent : null;\n }\n function $e(t2) {\n for (var e2 = fe(t2), i2 = De(t2); i2 && ke(i2) && \"static\" === xe(i2).position; )\n i2 = De(i2);\n return i2 && (\"html\" === ue(i2) || \"body\" === ue(i2) && \"static\" === xe(i2).position) ? e2 : i2 || function(t3) {\n var e3 = /firefox/i.test(Ae());\n if (/Trident/i.test(Ae()) && me(t3) && \"fixed\" === xe(t3).position)\n return null;\n var i3 = Se(t3);\n for (ge(i3) && (i3 = i3.host); me(i3) && [\"html\", \"body\"].indexOf(ue(i3)) < 0; ) {\n var n2 = xe(i3);\n if (\"none\" !== n2.transform || \"none\" !== n2.perspective || \"paint\" === n2.contain || -1 !== [\"transform\", \"perspective\"].indexOf(n2.willChange) || e3 && \"filter\" === n2.willChange || e3 && n2.filter && \"none\" !== n2.filter)\n return i3;\n i3 = i3.parentNode;\n }\n return null;\n }(t2) || e2;\n }\n function Ie(t2) {\n return [\"top\", \"bottom\"].indexOf(t2) >= 0 ? \"x\" : \"y\";\n }\n function Ne(t2, e2, i2) {\n return ve(t2, ye(e2, i2));\n }\n function Pe(t2) {\n return Object.assign({}, { top: 0, right: 0, bottom: 0, left: 0 }, t2);\n }\n function je(t2, e2) {\n return e2.reduce(function(e3, i2) {\n return e3[i2] = t2, e3;\n }, {});\n }\n const Me = { name: \"arrow\", enabled: true, phase: \"main\", fn: function(t2) {\n var e2, i2 = t2.state, n2 = t2.name, s2 = t2.options, o2 = i2.elements.arrow, r2 = i2.modifiersData.popperOffsets, a2 = be(i2.placement), l2 = Ie(a2), c2 = [Vt, qt].indexOf(a2) >= 0 ? \"height\" : \"width\";\n if (o2 && r2) {\n var h2 = function(t3, e3) {\n return Pe(\"number\" != typeof (t3 = \"function\" == typeof t3 ? t3(Object.assign({}, e3.rects, { placement: e3.placement })) : t3) ? t3 : je(t3, Qt));\n }(s2.padding, i2), d2 = Ce(o2), u2 = \"y\" === l2 ? zt : Vt, f2 = \"y\" === l2 ? Rt : qt, p2 = i2.rects.reference[c2] + i2.rects.reference[l2] - r2[l2] - i2.rects.popper[c2], m2 = r2[l2] - i2.rects.reference[l2], g2 = $e(o2), _2 = g2 ? \"y\" === l2 ? g2.clientHeight || 0 : g2.clientWidth || 0 : 0, b2 = p2 / 2 - m2 / 2, v2 = h2[u2], y2 = _2 - d2[c2] - h2[f2], w2 = _2 / 2 - d2[c2] / 2 + b2, A2 = Ne(v2, w2, y2), E2 = l2;\n i2.modifiersData[n2] = ((e2 = {})[E2] = A2, e2.centerOffset = A2 - w2, e2);\n }\n }, effect: function(t2) {\n var e2 = t2.state, i2 = t2.options.element, n2 = void 0 === i2 ? \"[data-popper-arrow]\" : i2;\n null != n2 && (\"string\" != typeof n2 || (n2 = e2.elements.popper.querySelector(n2))) && Oe(e2.elements.popper, n2) && (e2.elements.arrow = n2);\n }, requires: [\"popperOffsets\"], requiresIfExists: [\"preventOverflow\"] };\n function Fe(t2) {\n return t2.split(\"-\")[1];\n }\n var He = { top: \"auto\", right: \"auto\", bottom: \"auto\", left: \"auto\" };\n function We(t2) {\n var e2, i2 = t2.popper, n2 = t2.popperRect, s2 = t2.placement, o2 = t2.variation, r2 = t2.offsets, a2 = t2.position, l2 = t2.gpuAcceleration, c2 = t2.adaptive, h2 = t2.roundOffsets, d2 = t2.isFixed, u2 = r2.x, f2 = void 0 === u2 ? 0 : u2, p2 = r2.y, m2 = void 0 === p2 ? 0 : p2, g2 = \"function\" == typeof h2 ? h2({ x: f2, y: m2 }) : { x: f2, y: m2 };\n f2 = g2.x, m2 = g2.y;\n var _2 = r2.hasOwnProperty(\"x\"), b2 = r2.hasOwnProperty(\"y\"), v2 = Vt, y2 = zt, w2 = window;\n if (c2) {\n var A2 = $e(i2), E2 = \"clientHeight\", T2 = \"clientWidth\";\n A2 === fe(i2) && \"static\" !== xe(A2 = Le(i2)).position && \"absolute\" === a2 && (E2 = \"scrollHeight\", T2 = \"scrollWidth\"), (s2 === zt || (s2 === Vt || s2 === qt) && o2 === Yt) && (y2 = Rt, m2 -= (d2 && A2 === w2 && w2.visualViewport ? w2.visualViewport.height : A2[E2]) - n2.height, m2 *= l2 ? 1 : -1), s2 !== Vt && (s2 !== zt && s2 !== Rt || o2 !== Yt) || (v2 = qt, f2 -= (d2 && A2 === w2 && w2.visualViewport ? w2.visualViewport.width : A2[T2]) - n2.width, f2 *= l2 ? 1 : -1);\n }\n var C2, O2 = Object.assign({ position: a2 }, c2 && He), x2 = true === h2 ? function(t3, e3) {\n var i3 = t3.x, n3 = t3.y, s3 = e3.devicePixelRatio || 1;\n return { x: we(i3 * s3) / s3 || 0, y: we(n3 * s3) / s3 || 0 };\n }({ x: f2, y: m2 }, fe(i2)) : { x: f2, y: m2 };\n return f2 = x2.x, m2 = x2.y, l2 ? Object.assign({}, O2, ((C2 = {})[y2] = b2 ? \"0\" : \"\", C2[v2] = _2 ? \"0\" : \"\", C2.transform = (w2.devicePixelRatio || 1) <= 1 ? \"translate(\" + f2 + \"px, \" + m2 + \"px)\" : \"translate3d(\" + f2 + \"px, \" + m2 + \"px, 0)\", C2)) : Object.assign({}, O2, ((e2 = {})[y2] = b2 ? m2 + \"px\" : \"\", e2[v2] = _2 ? f2 + \"px\" : \"\", e2.transform = \"\", e2));\n }\n const Be = { name: \"computeStyles\", enabled: true, phase: \"beforeWrite\", fn: function(t2) {\n var e2 = t2.state, i2 = t2.options, n2 = i2.gpuAcceleration, s2 = void 0 === n2 || n2, o2 = i2.adaptive, r2 = void 0 === o2 || o2, a2 = i2.roundOffsets, l2 = void 0 === a2 || a2, c2 = { placement: be(e2.placement), variation: Fe(e2.placement), popper: e2.elements.popper, popperRect: e2.rects.popper, gpuAcceleration: s2, isFixed: \"fixed\" === e2.options.strategy };\n null != e2.modifiersData.popperOffsets && (e2.styles.popper = Object.assign({}, e2.styles.popper, We(Object.assign({}, c2, { offsets: e2.modifiersData.popperOffsets, position: e2.options.strategy, adaptive: r2, roundOffsets: l2 })))), null != e2.modifiersData.arrow && (e2.styles.arrow = Object.assign({}, e2.styles.arrow, We(Object.assign({}, c2, { offsets: e2.modifiersData.arrow, position: \"absolute\", adaptive: false, roundOffsets: l2 })))), e2.attributes.popper = Object.assign({}, e2.attributes.popper, { \"data-popper-placement\": e2.placement });\n }, data: {} };\n var ze = { passive: true };\n const Re = { name: \"eventListeners\", enabled: true, phase: \"write\", fn: function() {\n }, effect: function(t2) {\n var e2 = t2.state, i2 = t2.instance, n2 = t2.options, s2 = n2.scroll, o2 = void 0 === s2 || s2, r2 = n2.resize, a2 = void 0 === r2 || r2, l2 = fe(e2.elements.popper), c2 = [].concat(e2.scrollParents.reference, e2.scrollParents.popper);\n return o2 && c2.forEach(function(t3) {\n t3.addEventListener(\"scroll\", i2.update, ze);\n }), a2 && l2.addEventListener(\"resize\", i2.update, ze), function() {\n o2 && c2.forEach(function(t3) {\n t3.removeEventListener(\"scroll\", i2.update, ze);\n }), a2 && l2.removeEventListener(\"resize\", i2.update, ze);\n };\n }, data: {} };\n var qe = { left: \"right\", right: \"left\", bottom: \"top\", top: \"bottom\" };\n function Ve(t2) {\n return t2.replace(/left|right|bottom|top/g, function(t3) {\n return qe[t3];\n });\n }\n var Ke = { start: \"end\", end: \"start\" };\n function Qe(t2) {\n return t2.replace(/start|end/g, function(t3) {\n return Ke[t3];\n });\n }\n function Xe(t2) {\n var e2 = fe(t2);\n return { scrollLeft: e2.pageXOffset, scrollTop: e2.pageYOffset };\n }\n function Ye(t2) {\n return Te(Le(t2)).left + Xe(t2).scrollLeft;\n }\n function Ue(t2) {\n var e2 = xe(t2), i2 = e2.overflow, n2 = e2.overflowX, s2 = e2.overflowY;\n return /auto|scroll|overlay|hidden/.test(i2 + s2 + n2);\n }\n function Ge(t2) {\n return [\"html\", \"body\", \"#document\"].indexOf(ue(t2)) >= 0 ? t2.ownerDocument.body : me(t2) && Ue(t2) ? t2 : Ge(Se(t2));\n }\n function Je(t2, e2) {\n var i2;\n void 0 === e2 && (e2 = []);\n var n2 = Ge(t2), s2 = n2 === (null == (i2 = t2.ownerDocument) ? void 0 : i2.body), o2 = fe(n2), r2 = s2 ? [o2].concat(o2.visualViewport || [], Ue(n2) ? n2 : []) : n2, a2 = e2.concat(r2);\n return s2 ? a2 : a2.concat(Je(Se(r2)));\n }\n function Ze(t2) {\n return Object.assign({}, t2, { left: t2.x, top: t2.y, right: t2.x + t2.width, bottom: t2.y + t2.height });\n }\n function ti(t2, e2, i2) {\n return e2 === Gt ? Ze(function(t3, e3) {\n var i3 = fe(t3), n2 = Le(t3), s2 = i3.visualViewport, o2 = n2.clientWidth, r2 = n2.clientHeight, a2 = 0, l2 = 0;\n if (s2) {\n o2 = s2.width, r2 = s2.height;\n var c2 = Ee();\n (c2 || !c2 && \"fixed\" === e3) && (a2 = s2.offsetLeft, l2 = s2.offsetTop);\n }\n return { width: o2, height: r2, x: a2 + Ye(t3), y: l2 };\n }(t2, i2)) : pe(e2) ? function(t3, e3) {\n var i3 = Te(t3, false, \"fixed\" === e3);\n return i3.top = i3.top + t3.clientTop, i3.left = i3.left + t3.clientLeft, i3.bottom = i3.top + t3.clientHeight, i3.right = i3.left + t3.clientWidth, i3.width = t3.clientWidth, i3.height = t3.clientHeight, i3.x = i3.left, i3.y = i3.top, i3;\n }(e2, i2) : Ze(function(t3) {\n var e3, i3 = Le(t3), n2 = Xe(t3), s2 = null == (e3 = t3.ownerDocument) ? void 0 : e3.body, o2 = ve(i3.scrollWidth, i3.clientWidth, s2 ? s2.scrollWidth : 0, s2 ? s2.clientWidth : 0), r2 = ve(i3.scrollHeight, i3.clientHeight, s2 ? s2.scrollHeight : 0, s2 ? s2.clientHeight : 0), a2 = -n2.scrollLeft + Ye(t3), l2 = -n2.scrollTop;\n return \"rtl\" === xe(s2 || i3).direction && (a2 += ve(i3.clientWidth, s2 ? s2.clientWidth : 0) - o2), { width: o2, height: r2, x: a2, y: l2 };\n }(Le(t2)));\n }\n function ei(t2) {\n var e2, i2 = t2.reference, n2 = t2.element, s2 = t2.placement, o2 = s2 ? be(s2) : null, r2 = s2 ? Fe(s2) : null, a2 = i2.x + i2.width / 2 - n2.width / 2, l2 = i2.y + i2.height / 2 - n2.height / 2;\n switch (o2) {\n case zt:\n e2 = { x: a2, y: i2.y - n2.height };\n break;\n case Rt:\n e2 = { x: a2, y: i2.y + i2.height };\n break;\n case qt:\n e2 = { x: i2.x + i2.width, y: l2 };\n break;\n case Vt:\n e2 = { x: i2.x - n2.width, y: l2 };\n break;\n default:\n e2 = { x: i2.x, y: i2.y };\n }\n var c2 = o2 ? Ie(o2) : null;\n if (null != c2) {\n var h2 = \"y\" === c2 ? \"height\" : \"width\";\n switch (r2) {\n case Xt:\n e2[c2] = e2[c2] - (i2[h2] / 2 - n2[h2] / 2);\n break;\n case Yt:\n e2[c2] = e2[c2] + (i2[h2] / 2 - n2[h2] / 2);\n }\n }\n return e2;\n }\n function ii(t2, e2) {\n void 0 === e2 && (e2 = {});\n var i2 = e2, n2 = i2.placement, s2 = void 0 === n2 ? t2.placement : n2, o2 = i2.strategy, r2 = void 0 === o2 ? t2.strategy : o2, a2 = i2.boundary, l2 = void 0 === a2 ? Ut : a2, c2 = i2.rootBoundary, h2 = void 0 === c2 ? Gt : c2, d2 = i2.elementContext, u2 = void 0 === d2 ? Jt : d2, f2 = i2.altBoundary, p2 = void 0 !== f2 && f2, m2 = i2.padding, g2 = void 0 === m2 ? 0 : m2, _2 = Pe(\"number\" != typeof g2 ? g2 : je(g2, Qt)), b2 = u2 === Jt ? Zt : Jt, v2 = t2.rects.popper, y2 = t2.elements[p2 ? b2 : u2], w2 = function(t3, e3, i3, n3) {\n var s3 = \"clippingParents\" === e3 ? function(t4) {\n var e4 = Je(Se(t4)), i4 = [\"absolute\", \"fixed\"].indexOf(xe(t4).position) >= 0 && me(t4) ? $e(t4) : t4;\n return pe(i4) ? e4.filter(function(t5) {\n return pe(t5) && Oe(t5, i4) && \"body\" !== ue(t5);\n }) : [];\n }(t3) : [].concat(e3), o3 = [].concat(s3, [i3]), r3 = o3[0], a3 = o3.reduce(function(e4, i4) {\n var s4 = ti(t3, i4, n3);\n return e4.top = ve(s4.top, e4.top), e4.right = ye(s4.right, e4.right), e4.bottom = ye(s4.bottom, e4.bottom), e4.left = ve(s4.left, e4.left), e4;\n }, ti(t3, r3, n3));\n return a3.width = a3.right - a3.left, a3.height = a3.bottom - a3.top, a3.x = a3.left, a3.y = a3.top, a3;\n }(pe(y2) ? y2 : y2.contextElement || Le(t2.elements.popper), l2, h2, r2), A2 = Te(t2.elements.reference), E2 = ei({ reference: A2, element: v2, strategy: \"absolute\", placement: s2 }), T2 = Ze(Object.assign({}, v2, E2)), C2 = u2 === Jt ? T2 : A2, O2 = { top: w2.top - C2.top + _2.top, bottom: C2.bottom - w2.bottom + _2.bottom, left: w2.left - C2.left + _2.left, right: C2.right - w2.right + _2.right }, x2 = t2.modifiersData.offset;\n if (u2 === Jt && x2) {\n var k2 = x2[s2];\n Object.keys(O2).forEach(function(t3) {\n var e3 = [qt, Rt].indexOf(t3) >= 0 ? 1 : -1, i3 = [zt, Rt].indexOf(t3) >= 0 ? \"y\" : \"x\";\n O2[t3] += k2[i3] * e3;\n });\n }\n return O2;\n }\n function ni(t2, e2) {\n void 0 === e2 && (e2 = {});\n var i2 = e2, n2 = i2.placement, s2 = i2.boundary, o2 = i2.rootBoundary, r2 = i2.padding, a2 = i2.flipVariations, l2 = i2.allowedAutoPlacements, c2 = void 0 === l2 ? ee : l2, h2 = Fe(n2), d2 = h2 ? a2 ? te : te.filter(function(t3) {\n return Fe(t3) === h2;\n }) : Qt, u2 = d2.filter(function(t3) {\n return c2.indexOf(t3) >= 0;\n });\n 0 === u2.length && (u2 = d2);\n var f2 = u2.reduce(function(e3, i3) {\n return e3[i3] = ii(t2, { placement: i3, boundary: s2, rootBoundary: o2, padding: r2 })[be(i3)], e3;\n }, {});\n return Object.keys(f2).sort(function(t3, e3) {\n return f2[t3] - f2[e3];\n });\n }\n const si = { name: \"flip\", enabled: true, phase: \"main\", fn: function(t2) {\n var e2 = t2.state, i2 = t2.options, n2 = t2.name;\n if (!e2.modifiersData[n2]._skip) {\n for (var s2 = i2.mainAxis, o2 = void 0 === s2 || s2, r2 = i2.altAxis, a2 = void 0 === r2 || r2, l2 = i2.fallbackPlacements, c2 = i2.padding, h2 = i2.boundary, d2 = i2.rootBoundary, u2 = i2.altBoundary, f2 = i2.flipVariations, p2 = void 0 === f2 || f2, m2 = i2.allowedAutoPlacements, g2 = e2.options.placement, _2 = be(g2), b2 = l2 || (_2 !== g2 && p2 ? function(t3) {\n if (be(t3) === Kt)\n return [];\n var e3 = Ve(t3);\n return [Qe(t3), e3, Qe(e3)];\n }(g2) : [Ve(g2)]), v2 = [g2].concat(b2).reduce(function(t3, i3) {\n return t3.concat(be(i3) === Kt ? ni(e2, { placement: i3, boundary: h2, rootBoundary: d2, padding: c2, flipVariations: p2, allowedAutoPlacements: m2 }) : i3);\n }, []), y2 = e2.rects.reference, w2 = e2.rects.popper, A2 = /* @__PURE__ */ new Map(), E2 = true, T2 = v2[0], C2 = 0; C2 < v2.length; C2++) {\n var O2 = v2[C2], x2 = be(O2), k2 = Fe(O2) === Xt, L2 = [zt, Rt].indexOf(x2) >= 0, S2 = L2 ? \"width\" : \"height\", D2 = ii(e2, { placement: O2, boundary: h2, rootBoundary: d2, altBoundary: u2, padding: c2 }), $2 = L2 ? k2 ? qt : Vt : k2 ? Rt : zt;\n y2[S2] > w2[S2] && ($2 = Ve($2));\n var I2 = Ve($2), N2 = [];\n if (o2 && N2.push(D2[x2] <= 0), a2 && N2.push(D2[$2] <= 0, D2[I2] <= 0), N2.every(function(t3) {\n return t3;\n })) {\n T2 = O2, E2 = false;\n break;\n }\n A2.set(O2, N2);\n }\n if (E2)\n for (var P2 = function(t3) {\n var e3 = v2.find(function(e4) {\n var i3 = A2.get(e4);\n if (i3)\n return i3.slice(0, t3).every(function(t4) {\n return t4;\n });\n });\n if (e3)\n return T2 = e3, \"break\";\n }, j2 = p2 ? 3 : 1; j2 > 0 && \"break\" !== P2(j2); j2--)\n ;\n e2.placement !== T2 && (e2.modifiersData[n2]._skip = true, e2.placement = T2, e2.reset = true);\n }\n }, requiresIfExists: [\"offset\"], data: { _skip: false } };\n function oi(t2, e2, i2) {\n return void 0 === i2 && (i2 = { x: 0, y: 0 }), { top: t2.top - e2.height - i2.y, right: t2.right - e2.width + i2.x, bottom: t2.bottom - e2.height + i2.y, left: t2.left - e2.width - i2.x };\n }\n function ri(t2) {\n return [zt, qt, Rt, Vt].some(function(e2) {\n return t2[e2] >= 0;\n });\n }\n const ai = { name: \"hide\", enabled: true, phase: \"main\", requiresIfExists: [\"preventOverflow\"], fn: function(t2) {\n var e2 = t2.state, i2 = t2.name, n2 = e2.rects.reference, s2 = e2.rects.popper, o2 = e2.modifiersData.preventOverflow, r2 = ii(e2, { elementContext: \"reference\" }), a2 = ii(e2, { altBoundary: true }), l2 = oi(r2, n2), c2 = oi(a2, s2, o2), h2 = ri(l2), d2 = ri(c2);\n e2.modifiersData[i2] = { referenceClippingOffsets: l2, popperEscapeOffsets: c2, isReferenceHidden: h2, hasPopperEscaped: d2 }, e2.attributes.popper = Object.assign({}, e2.attributes.popper, { \"data-popper-reference-hidden\": h2, \"data-popper-escaped\": d2 });\n } }, li = { name: \"offset\", enabled: true, phase: \"main\", requires: [\"popperOffsets\"], fn: function(t2) {\n var e2 = t2.state, i2 = t2.options, n2 = t2.name, s2 = i2.offset, o2 = void 0 === s2 ? [0, 0] : s2, r2 = ee.reduce(function(t3, i3) {\n return t3[i3] = function(t4, e3, i4) {\n var n3 = be(t4), s3 = [Vt, zt].indexOf(n3) >= 0 ? -1 : 1, o3 = \"function\" == typeof i4 ? i4(Object.assign({}, e3, { placement: t4 })) : i4, r3 = o3[0], a3 = o3[1];\n return r3 = r3 || 0, a3 = (a3 || 0) * s3, [Vt, qt].indexOf(n3) >= 0 ? { x: a3, y: r3 } : { x: r3, y: a3 };\n }(i3, e2.rects, o2), t3;\n }, {}), a2 = r2[e2.placement], l2 = a2.x, c2 = a2.y;\n null != e2.modifiersData.popperOffsets && (e2.modifiersData.popperOffsets.x += l2, e2.modifiersData.popperOffsets.y += c2), e2.modifiersData[n2] = r2;\n } }, ci = { name: \"popperOffsets\", enabled: true, phase: \"read\", fn: function(t2) {\n var e2 = t2.state, i2 = t2.name;\n e2.modifiersData[i2] = ei({ reference: e2.rects.reference, element: e2.rects.popper, strategy: \"absolute\", placement: e2.placement });\n }, data: {} }, hi = { name: \"preventOverflow\", enabled: true, phase: \"main\", fn: function(t2) {\n var e2 = t2.state, i2 = t2.options, n2 = t2.name, s2 = i2.mainAxis, o2 = void 0 === s2 || s2, r2 = i2.altAxis, a2 = void 0 !== r2 && r2, l2 = i2.boundary, c2 = i2.rootBoundary, h2 = i2.altBoundary, d2 = i2.padding, u2 = i2.tether, f2 = void 0 === u2 || u2, p2 = i2.tetherOffset, m2 = void 0 === p2 ? 0 : p2, g2 = ii(e2, { boundary: l2, rootBoundary: c2, padding: d2, altBoundary: h2 }), _2 = be(e2.placement), b2 = Fe(e2.placement), v2 = !b2, y2 = Ie(_2), w2 = \"x\" === y2 ? \"y\" : \"x\", A2 = e2.modifiersData.popperOffsets, E2 = e2.rects.reference, T2 = e2.rects.popper, C2 = \"function\" == typeof m2 ? m2(Object.assign({}, e2.rects, { placement: e2.placement })) : m2, O2 = \"number\" == typeof C2 ? { mainAxis: C2, altAxis: C2 } : Object.assign({ mainAxis: 0, altAxis: 0 }, C2), x2 = e2.modifiersData.offset ? e2.modifiersData.offset[e2.placement] : null, k2 = { x: 0, y: 0 };\n if (A2) {\n if (o2) {\n var L2, S2 = \"y\" === y2 ? zt : Vt, D2 = \"y\" === y2 ? Rt : qt, $2 = \"y\" === y2 ? \"height\" : \"width\", I2 = A2[y2], N2 = I2 + g2[S2], P2 = I2 - g2[D2], j2 = f2 ? -T2[$2] / 2 : 0, M2 = b2 === Xt ? E2[$2] : T2[$2], F2 = b2 === Xt ? -T2[$2] : -E2[$2], H2 = e2.elements.arrow, W2 = f2 && H2 ? Ce(H2) : { width: 0, height: 0 }, B2 = e2.modifiersData[\"arrow#persistent\"] ? e2.modifiersData[\"arrow#persistent\"].padding : { top: 0, right: 0, bottom: 0, left: 0 }, z2 = B2[S2], R2 = B2[D2], q2 = Ne(0, E2[$2], W2[$2]), V2 = v2 ? E2[$2] / 2 - j2 - q2 - z2 - O2.mainAxis : M2 - q2 - z2 - O2.mainAxis, K2 = v2 ? -E2[$2] / 2 + j2 + q2 + R2 + O2.mainAxis : F2 + q2 + R2 + O2.mainAxis, Q2 = e2.elements.arrow && $e(e2.elements.arrow), X2 = Q2 ? \"y\" === y2 ? Q2.clientTop || 0 : Q2.clientLeft || 0 : 0, Y2 = null != (L2 = null == x2 ? void 0 : x2[y2]) ? L2 : 0, U2 = I2 + K2 - Y2, G2 = Ne(f2 ? ye(N2, I2 + V2 - Y2 - X2) : N2, I2, f2 ? ve(P2, U2) : P2);\n A2[y2] = G2, k2[y2] = G2 - I2;\n }\n if (a2) {\n var J2, Z2 = \"x\" === y2 ? zt : Vt, tt2 = \"x\" === y2 ? Rt : qt, et2 = A2[w2], it2 = \"y\" === w2 ? \"height\" : \"width\", nt2 = et2 + g2[Z2], st2 = et2 - g2[tt2], ot2 = -1 !== [zt, Vt].indexOf(_2), rt2 = null != (J2 = null == x2 ? void 0 : x2[w2]) ? J2 : 0, at2 = ot2 ? nt2 : et2 - E2[it2] - T2[it2] - rt2 + O2.altAxis, lt2 = ot2 ? et2 + E2[it2] + T2[it2] - rt2 - O2.altAxis : st2, ct2 = f2 && ot2 ? function(t3, e3, i3) {\n var n3 = Ne(t3, e3, i3);\n return n3 > i3 ? i3 : n3;\n }(at2, et2, lt2) : Ne(f2 ? at2 : nt2, et2, f2 ? lt2 : st2);\n A2[w2] = ct2, k2[w2] = ct2 - et2;\n }\n e2.modifiersData[n2] = k2;\n }\n }, requiresIfExists: [\"offset\"] };\n function di(t2, e2, i2) {\n void 0 === i2 && (i2 = false);\n var n2, s2, o2 = me(e2), r2 = me(e2) && function(t3) {\n var e3 = t3.getBoundingClientRect(), i3 = we(e3.width) / t3.offsetWidth || 1, n3 = we(e3.height) / t3.offsetHeight || 1;\n return 1 !== i3 || 1 !== n3;\n }(e2), a2 = Le(e2), l2 = Te(t2, r2, i2), c2 = { scrollLeft: 0, scrollTop: 0 }, h2 = { x: 0, y: 0 };\n return (o2 || !o2 && !i2) && ((\"body\" !== ue(e2) || Ue(a2)) && (c2 = (n2 = e2) !== fe(n2) && me(n2) ? { scrollLeft: (s2 = n2).scrollLeft, scrollTop: s2.scrollTop } : Xe(n2)), me(e2) ? ((h2 = Te(e2, true)).x += e2.clientLeft, h2.y += e2.clientTop) : a2 && (h2.x = Ye(a2))), { x: l2.left + c2.scrollLeft - h2.x, y: l2.top + c2.scrollTop - h2.y, width: l2.width, height: l2.height };\n }\n function ui(t2) {\n var e2 = /* @__PURE__ */ new Map(), i2 = /* @__PURE__ */ new Set(), n2 = [];\n function s2(t3) {\n i2.add(t3.name), [].concat(t3.requires || [], t3.requiresIfExists || []).forEach(function(t4) {\n if (!i2.has(t4)) {\n var n3 = e2.get(t4);\n n3 && s2(n3);\n }\n }), n2.push(t3);\n }\n return t2.forEach(function(t3) {\n e2.set(t3.name, t3);\n }), t2.forEach(function(t3) {\n i2.has(t3.name) || s2(t3);\n }), n2;\n }\n var fi = { placement: \"bottom\", modifiers: [], strategy: \"absolute\" };\n function pi() {\n for (var t2 = arguments.length, e2 = new Array(t2), i2 = 0; i2 < t2; i2++)\n e2[i2] = arguments[i2];\n return !e2.some(function(t3) {\n return !(t3 && \"function\" == typeof t3.getBoundingClientRect);\n });\n }\n function mi(t2) {\n void 0 === t2 && (t2 = {});\n var e2 = t2, i2 = e2.defaultModifiers, n2 = void 0 === i2 ? [] : i2, s2 = e2.defaultOptions, o2 = void 0 === s2 ? fi : s2;\n return function(t3, e3, i3) {\n void 0 === i3 && (i3 = o2);\n var s3, r2, a2 = { placement: \"bottom\", orderedModifiers: [], options: Object.assign({}, fi, o2), modifiersData: {}, elements: { reference: t3, popper: e3 }, attributes: {}, styles: {} }, l2 = [], c2 = false, h2 = { state: a2, setOptions: function(i4) {\n var s4 = \"function\" == typeof i4 ? i4(a2.options) : i4;\n d2(), a2.options = Object.assign({}, o2, a2.options, s4), a2.scrollParents = { reference: pe(t3) ? Je(t3) : t3.contextElement ? Je(t3.contextElement) : [], popper: Je(e3) };\n var r3, c3, u2 = function(t4) {\n var e4 = ui(t4);\n return de.reduce(function(t5, i5) {\n return t5.concat(e4.filter(function(t6) {\n return t6.phase === i5;\n }));\n }, []);\n }((r3 = [].concat(n2, a2.options.modifiers), c3 = r3.reduce(function(t4, e4) {\n var i5 = t4[e4.name];\n return t4[e4.name] = i5 ? Object.assign({}, i5, e4, { options: Object.assign({}, i5.options, e4.options), data: Object.assign({}, i5.data, e4.data) }) : e4, t4;\n }, {}), Object.keys(c3).map(function(t4) {\n return c3[t4];\n })));\n return a2.orderedModifiers = u2.filter(function(t4) {\n return t4.enabled;\n }), a2.orderedModifiers.forEach(function(t4) {\n var e4 = t4.name, i5 = t4.options, n3 = void 0 === i5 ? {} : i5, s5 = t4.effect;\n if (\"function\" == typeof s5) {\n var o3 = s5({ state: a2, name: e4, instance: h2, options: n3 });\n l2.push(o3 || function() {\n });\n }\n }), h2.update();\n }, forceUpdate: function() {\n if (!c2) {\n var t4 = a2.elements, e4 = t4.reference, i4 = t4.popper;\n if (pi(e4, i4)) {\n a2.rects = { reference: di(e4, $e(i4), \"fixed\" === a2.options.strategy), popper: Ce(i4) }, a2.reset = false, a2.placement = a2.options.placement, a2.orderedModifiers.forEach(function(t5) {\n return a2.modifiersData[t5.name] = Object.assign({}, t5.data);\n });\n for (var n3 = 0; n3 < a2.orderedModifiers.length; n3++)\n if (true !== a2.reset) {\n var s4 = a2.orderedModifiers[n3], o3 = s4.fn, r3 = s4.options, l3 = void 0 === r3 ? {} : r3, d3 = s4.name;\n \"function\" == typeof o3 && (a2 = o3({ state: a2, options: l3, name: d3, instance: h2 }) || a2);\n } else\n a2.reset = false, n3 = -1;\n }\n }\n }, update: (s3 = function() {\n return new Promise(function(t4) {\n h2.forceUpdate(), t4(a2);\n });\n }, function() {\n return r2 || (r2 = new Promise(function(t4) {\n Promise.resolve().then(function() {\n r2 = void 0, t4(s3());\n });\n })), r2;\n }), destroy: function() {\n d2(), c2 = true;\n } };\n if (!pi(t3, e3))\n return h2;\n function d2() {\n l2.forEach(function(t4) {\n return t4();\n }), l2 = [];\n }\n return h2.setOptions(i3).then(function(t4) {\n !c2 && i3.onFirstUpdate && i3.onFirstUpdate(t4);\n }), h2;\n };\n }\n var gi = mi(), _i = mi({ defaultModifiers: [Re, ci, Be, _e] }), bi = mi({ defaultModifiers: [Re, ci, Be, _e, li, si, hi, Me, ai] });\n const vi = Object.freeze(Object.defineProperty({ __proto__: null, afterMain: ae, afterRead: se, afterWrite: he, applyStyles: _e, arrow: Me, auto: Kt, basePlacements: Qt, beforeMain: oe, beforeRead: ie, beforeWrite: le, bottom: Rt, clippingParents: Ut, computeStyles: Be, createPopper: bi, createPopperBase: gi, createPopperLite: _i, detectOverflow: ii, end: Yt, eventListeners: Re, flip: si, hide: ai, left: Vt, main: re, modifierPhases: de, offset: li, placements: ee, popper: Jt, popperGenerator: mi, popperOffsets: ci, preventOverflow: hi, read: ne, reference: Zt, right: qt, start: Xt, top: zt, variationPlacements: te, viewport: Gt, write: ce }, Symbol.toStringTag, { value: \"Module\" })), yi = \"dropdown\", wi = \".bs.dropdown\", Ai = \".data-api\", Ei = \"ArrowUp\", Ti = \"ArrowDown\", Ci = `hide${wi}`, Oi = `hidden${wi}`, xi = `show${wi}`, ki = `shown${wi}`, Li = `click${wi}${Ai}`, Si = `keydown${wi}${Ai}`, Di = `keyup${wi}${Ai}`, $i = \"show\", Ii = '[data-bs-toggle=\"dropdown\"]:not(.disabled):not(:disabled)', Ni = `${Ii}.${$i}`, Pi = \".dropdown-menu\", ji = p() ? \"top-end\" : \"top-start\", Mi = p() ? \"top-start\" : \"top-end\", Fi = p() ? \"bottom-end\" : \"bottom-start\", Hi = p() ? \"bottom-start\" : \"bottom-end\", Wi = p() ? \"left-start\" : \"right-start\", Bi = p() ? \"right-start\" : \"left-start\", zi = { autoClose: true, boundary: \"clippingParents\", display: \"dynamic\", offset: [0, 2], popperConfig: null, reference: \"toggle\" }, Ri = { autoClose: \"(boolean|string)\", boundary: \"(string|element)\", display: \"string\", offset: \"(array|string|function)\", popperConfig: \"(null|object|function)\", reference: \"(string|element|object)\" };\n class qi extends W {\n constructor(t2, e2) {\n super(t2, e2), this._popper = null, this._parent = this._element.parentNode, this._menu = z.next(this._element, Pi)[0] || z.prev(this._element, Pi)[0] || z.findOne(Pi, this._parent), this._inNavbar = this._detectNavbar();\n }\n static get Default() {\n return zi;\n }\n static get DefaultType() {\n return Ri;\n }\n static get NAME() {\n return yi;\n }\n toggle() {\n return this._isShown() ? this.hide() : this.show();\n }\n show() {\n if (l(this._element) || this._isShown())\n return;\n const t2 = { relatedTarget: this._element };\n if (!N.trigger(this._element, xi, t2).defaultPrevented) {\n if (this._createPopper(), \"ontouchstart\" in document.documentElement && !this._parent.closest(\".navbar-nav\"))\n for (const t3 of [].concat(...document.body.children))\n N.on(t3, \"mouseover\", h);\n this._element.focus(), this._element.setAttribute(\"aria-expanded\", true), this._menu.classList.add($i), this._element.classList.add($i), N.trigger(this._element, ki, t2);\n }\n }\n hide() {\n if (l(this._element) || !this._isShown())\n return;\n const t2 = { relatedTarget: this._element };\n this._completeHide(t2);\n }\n dispose() {\n this._popper && this._popper.destroy(), super.dispose();\n }\n update() {\n this._inNavbar = this._detectNavbar(), this._popper && this._popper.update();\n }\n _completeHide(t2) {\n if (!N.trigger(this._element, Ci, t2).defaultPrevented) {\n if (\"ontouchstart\" in document.documentElement)\n for (const t3 of [].concat(...document.body.children))\n N.off(t3, \"mouseover\", h);\n this._popper && this._popper.destroy(), this._menu.classList.remove($i), this._element.classList.remove($i), this._element.setAttribute(\"aria-expanded\", \"false\"), F.removeDataAttribute(this._menu, \"popper\"), N.trigger(this._element, Oi, t2);\n }\n }\n _getConfig(t2) {\n if (\"object\" == typeof (t2 = super._getConfig(t2)).reference && !o(t2.reference) && \"function\" != typeof t2.reference.getBoundingClientRect)\n throw new TypeError(`${yi.toUpperCase()}: Option \"reference\" provided type \"object\" without a required \"getBoundingClientRect\" method.`);\n return t2;\n }\n _createPopper() {\n if (void 0 === vi)\n throw new TypeError(\"Bootstrap's dropdowns require Popper (https://popper.js.org)\");\n let t2 = this._element;\n \"parent\" === this._config.reference ? t2 = this._parent : o(this._config.reference) ? t2 = r(this._config.reference) : \"object\" == typeof this._config.reference && (t2 = this._config.reference);\n const e2 = this._getPopperConfig();\n this._popper = bi(t2, this._menu, e2);\n }\n _isShown() {\n return this._menu.classList.contains($i);\n }\n _getPlacement() {\n const t2 = this._parent;\n if (t2.classList.contains(\"dropend\"))\n return Wi;\n if (t2.classList.contains(\"dropstart\"))\n return Bi;\n if (t2.classList.contains(\"dropup-center\"))\n return \"top\";\n if (t2.classList.contains(\"dropdown-center\"))\n return \"bottom\";\n const e2 = \"end\" === getComputedStyle(this._menu).getPropertyValue(\"--bs-position\").trim();\n return t2.classList.contains(\"dropup\") ? e2 ? Mi : ji : e2 ? Hi : Fi;\n }\n _detectNavbar() {\n return null !== this._element.closest(\".navbar\");\n }\n _getOffset() {\n const { offset: t2 } = this._config;\n return \"string\" == typeof t2 ? t2.split(\",\").map((t3) => Number.parseInt(t3, 10)) : \"function\" == typeof t2 ? (e2) => t2(e2, this._element) : t2;\n }\n _getPopperConfig() {\n const t2 = { placement: this._getPlacement(), modifiers: [{ name: \"preventOverflow\", options: { boundary: this._config.boundary } }, { name: \"offset\", options: { offset: this._getOffset() } }] };\n return (this._inNavbar || \"static\" === this._config.display) && (F.setDataAttribute(this._menu, \"popper\", \"static\"), t2.modifiers = [{ name: \"applyStyles\", enabled: false }]), { ...t2, ...g(this._config.popperConfig, [t2]) };\n }\n _selectMenuItem({ key: t2, target: e2 }) {\n const i2 = z.find(\".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)\", this._menu).filter((t3) => a(t3));\n i2.length && b(i2, e2, t2 === Ti, !i2.includes(e2)).focus();\n }\n static jQueryInterface(t2) {\n return this.each(function() {\n const e2 = qi.getOrCreateInstance(this, t2);\n if (\"string\" == typeof t2) {\n if (void 0 === e2[t2])\n throw new TypeError(`No method named \"${t2}\"`);\n e2[t2]();\n }\n });\n }\n static clearMenus(t2) {\n if (2 === t2.button || \"keyup\" === t2.type && \"Tab\" !== t2.key)\n return;\n const e2 = z.find(Ni);\n for (const i2 of e2) {\n const e3 = qi.getInstance(i2);\n if (!e3 || false === e3._config.autoClose)\n continue;\n const n2 = t2.composedPath(), s2 = n2.includes(e3._menu);\n if (n2.includes(e3._element) || \"inside\" === e3._config.autoClose && !s2 || \"outside\" === e3._config.autoClose && s2)\n continue;\n if (e3._menu.contains(t2.target) && (\"keyup\" === t2.type && \"Tab\" === t2.key || /input|select|option|textarea|form/i.test(t2.target.tagName)))\n continue;\n const o2 = { relatedTarget: e3._element };\n \"click\" === t2.type && (o2.clickEvent = t2), e3._completeHide(o2);\n }\n }\n static dataApiKeydownHandler(t2) {\n const e2 = /input|textarea/i.test(t2.target.tagName), i2 = \"Escape\" === t2.key, n2 = [Ei, Ti].includes(t2.key);\n if (!n2 && !i2)\n return;\n if (e2 && !i2)\n return;\n t2.preventDefault();\n const s2 = this.matches(Ii) ? this : z.prev(this, Ii)[0] || z.next(this, Ii)[0] || z.findOne(Ii, t2.delegateTarget.parentNode), o2 = qi.getOrCreateInstance(s2);\n if (n2)\n return t2.stopPropagation(), o2.show(), void o2._selectMenuItem(t2);\n o2._isShown() && (t2.stopPropagation(), o2.hide(), s2.focus());\n }\n }\n N.on(document, Si, Ii, qi.dataApiKeydownHandler), N.on(document, Si, Pi, qi.dataApiKeydownHandler), N.on(document, Li, qi.clearMenus), N.on(document, Di, qi.clearMenus), N.on(document, Li, Ii, function(t2) {\n t2.preventDefault(), qi.getOrCreateInstance(this).toggle();\n }), m(qi);\n const Vi = \"backdrop\", Ki = \"show\", Qi = `mousedown.bs.${Vi}`, Xi = { className: \"modal-backdrop\", clickCallback: null, isAnimated: false, isVisible: true, rootElement: \"body\" }, Yi = { className: \"string\", clickCallback: \"(function|null)\", isAnimated: \"boolean\", isVisible: \"boolean\", rootElement: \"(element|string)\" };\n class Ui extends H {\n constructor(t2) {\n super(), this._config = this._getConfig(t2), this._isAppended = false, this._element = null;\n }\n static get Default() {\n return Xi;\n }\n static get DefaultType() {\n return Yi;\n }\n static get NAME() {\n return Vi;\n }\n show(t2) {\n if (!this._config.isVisible)\n return void g(t2);\n this._append();\n const e2 = this._getElement();\n this._config.isAnimated && d(e2), e2.classList.add(Ki), this._emulateAnimation(() => {\n g(t2);\n });\n }\n hide(t2) {\n this._config.isVisible ? (this._getElement().classList.remove(Ki), this._emulateAnimation(() => {\n this.dispose(), g(t2);\n })) : g(t2);\n }\n dispose() {\n this._isAppended && (N.off(this._element, Qi), this._element.remove(), this._isAppended = false);\n }\n _getElement() {\n if (!this._element) {\n const t2 = document.createElement(\"div\");\n t2.className = this._config.className, this._config.isAnimated && t2.classList.add(\"fade\"), this._element = t2;\n }\n return this._element;\n }\n _configAfterMerge(t2) {\n return t2.rootElement = r(t2.rootElement), t2;\n }\n _append() {\n if (this._isAppended)\n return;\n const t2 = this._getElement();\n this._config.rootElement.append(t2), N.on(t2, Qi, () => {\n g(this._config.clickCallback);\n }), this._isAppended = true;\n }\n _emulateAnimation(t2) {\n _(t2, this._getElement(), this._config.isAnimated);\n }\n }\n const Gi = \".bs.focustrap\", Ji = `focusin${Gi}`, Zi = `keydown.tab${Gi}`, tn = \"backward\", en = { autofocus: true, trapElement: null }, nn = { autofocus: \"boolean\", trapElement: \"element\" };\n class sn extends H {\n constructor(t2) {\n super(), this._config = this._getConfig(t2), this._isActive = false, this._lastTabNavDirection = null;\n }\n static get Default() {\n return en;\n }\n static get DefaultType() {\n return nn;\n }\n static get NAME() {\n return \"focustrap\";\n }\n activate() {\n this._isActive || (this._config.autofocus && this._config.trapElement.focus(), N.off(document, Gi), N.on(document, Ji, (t2) => this._handleFocusin(t2)), N.on(document, Zi, (t2) => this._handleKeydown(t2)), this._isActive = true);\n }\n deactivate() {\n this._isActive && (this._isActive = false, N.off(document, Gi));\n }\n _handleFocusin(t2) {\n const { trapElement: e2 } = this._config;\n if (t2.target === document || t2.target === e2 || e2.contains(t2.target))\n return;\n const i2 = z.focusableChildren(e2);\n 0 === i2.length ? e2.focus() : this._lastTabNavDirection === tn ? i2[i2.length - 1].focus() : i2[0].focus();\n }\n _handleKeydown(t2) {\n \"Tab\" === t2.key && (this._lastTabNavDirection = t2.shiftKey ? tn : \"forward\");\n }\n }\n const on = \".fixed-top, .fixed-bottom, .is-fixed, .sticky-top\", rn = \".sticky-top\", an = \"padding-right\", ln = \"margin-right\";\n class cn {\n constructor() {\n this._element = document.body;\n }\n getWidth() {\n const t2 = document.documentElement.clientWidth;\n return Math.abs(window.innerWidth - t2);\n }\n hide() {\n const t2 = this.getWidth();\n this._disableOverFlow(), this._setElementAttributes(this._element, an, (e2) => e2 + t2), this._setElementAttributes(on, an, (e2) => e2 + t2), this._setElementAttributes(rn, ln, (e2) => e2 - t2);\n }\n reset() {\n this._resetElementAttributes(this._element, \"overflow\"), this._resetElementAttributes(this._element, an), this._resetElementAttributes(on, an), this._resetElementAttributes(rn, ln);\n }\n isOverflowing() {\n return this.getWidth() > 0;\n }\n _disableOverFlow() {\n this._saveInitialAttribute(this._element, \"overflow\"), this._element.style.overflow = \"hidden\";\n }\n _setElementAttributes(t2, e2, i2) {\n const n2 = this.getWidth();\n this._applyManipulationCallback(t2, (t3) => {\n if (t3 !== this._element && window.innerWidth > t3.clientWidth + n2)\n return;\n this._saveInitialAttribute(t3, e2);\n const s2 = window.getComputedStyle(t3).getPropertyValue(e2);\n t3.style.setProperty(e2, `${i2(Number.parseFloat(s2))}px`);\n });\n }\n _saveInitialAttribute(t2, e2) {\n const i2 = t2.style.getPropertyValue(e2);\n i2 && F.setDataAttribute(t2, e2, i2);\n }\n _resetElementAttributes(t2, e2) {\n this._applyManipulationCallback(t2, (t3) => {\n const i2 = F.getDataAttribute(t3, e2);\n null !== i2 ? (F.removeDataAttribute(t3, e2), t3.style.setProperty(e2, i2)) : t3.style.removeProperty(e2);\n });\n }\n _applyManipulationCallback(t2, e2) {\n if (o(t2))\n e2(t2);\n else\n for (const i2 of z.find(t2, this._element))\n e2(i2);\n }\n }\n const hn = \".bs.modal\", dn = `hide${hn}`, un = `hidePrevented${hn}`, fn = `hidden${hn}`, pn = `show${hn}`, mn = `shown${hn}`, gn = `resize${hn}`, _n = `click.dismiss${hn}`, bn = `mousedown.dismiss${hn}`, vn = `keydown.dismiss${hn}`, yn = `click${hn}.data-api`, wn = \"modal-open\", An = \"show\", En = \"modal-static\", Tn = { backdrop: true, focus: true, keyboard: true }, Cn = { backdrop: \"(boolean|string)\", focus: \"boolean\", keyboard: \"boolean\" };\n class On extends W {\n constructor(t2, e2) {\n super(t2, e2), this._dialog = z.findOne(\".modal-dialog\", this._element), this._backdrop = this._initializeBackDrop(), this._focustrap = this._initializeFocusTrap(), this._isShown = false, this._isTransitioning = false, this._scrollBar = new cn(), this._addEventListeners();\n }\n static get Default() {\n return Tn;\n }\n static get DefaultType() {\n return Cn;\n }\n static get NAME() {\n return \"modal\";\n }\n toggle(t2) {\n return this._isShown ? this.hide() : this.show(t2);\n }\n show(t2) {\n this._isShown || this._isTransitioning || N.trigger(this._element, pn, { relatedTarget: t2 }).defaultPrevented || (this._isShown = true, this._isTransitioning = true, this._scrollBar.hide(), document.body.classList.add(wn), this._adjustDialog(), this._backdrop.show(() => this._showElement(t2)));\n }\n hide() {\n this._isShown && !this._isTransitioning && (N.trigger(this._element, dn).defaultPrevented || (this._isShown = false, this._isTransitioning = true, this._focustrap.deactivate(), this._element.classList.remove(An), this._queueCallback(() => this._hideModal(), this._element, this._isAnimated())));\n }\n dispose() {\n N.off(window, hn), N.off(this._dialog, hn), this._backdrop.dispose(), this._focustrap.deactivate(), super.dispose();\n }\n handleUpdate() {\n this._adjustDialog();\n }\n _initializeBackDrop() {\n return new Ui({ isVisible: Boolean(this._config.backdrop), isAnimated: this._isAnimated() });\n }\n _initializeFocusTrap() {\n return new sn({ trapElement: this._element });\n }\n _showElement(t2) {\n document.body.contains(this._element) || document.body.append(this._element), this._element.style.display = \"block\", this._element.removeAttribute(\"aria-hidden\"), this._element.setAttribute(\"aria-modal\", true), this._element.setAttribute(\"role\", \"dialog\"), this._element.scrollTop = 0;\n const e2 = z.findOne(\".modal-body\", this._dialog);\n e2 && (e2.scrollTop = 0), d(this._element), this._element.classList.add(An), this._queueCallback(() => {\n this._config.focus && this._focustrap.activate(), this._isTransitioning = false, N.trigger(this._element, mn, { relatedTarget: t2 });\n }, this._dialog, this._isAnimated());\n }\n _addEventListeners() {\n N.on(this._element, vn, (t2) => {\n \"Escape\" === t2.key && (this._config.keyboard ? this.hide() : this._triggerBackdropTransition());\n }), N.on(window, gn, () => {\n this._isShown && !this._isTransitioning && this._adjustDialog();\n }), N.on(this._element, bn, (t2) => {\n N.one(this._element, _n, (e2) => {\n this._element === t2.target && this._element === e2.target && (\"static\" !== this._config.backdrop ? this._config.backdrop && this.hide() : this._triggerBackdropTransition());\n });\n });\n }\n _hideModal() {\n this._element.style.display = \"none\", this._element.setAttribute(\"aria-hidden\", true), this._element.removeAttribute(\"aria-modal\"), this._element.removeAttribute(\"role\"), this._isTransitioning = false, this._backdrop.hide(() => {\n document.body.classList.remove(wn), this._resetAdjustments(), this._scrollBar.reset(), N.trigger(this._element, fn);\n });\n }\n _isAnimated() {\n return this._element.classList.contains(\"fade\");\n }\n _triggerBackdropTransition() {\n if (N.trigger(this._element, un).defaultPrevented)\n return;\n const t2 = this._element.scrollHeight > document.documentElement.clientHeight, e2 = this._element.style.overflowY;\n \"hidden\" === e2 || this._element.classList.contains(En) || (t2 || (this._element.style.overflowY = \"hidden\"), this._element.classList.add(En), this._queueCallback(() => {\n this._element.classList.remove(En), this._queueCallback(() => {\n this._element.style.overflowY = e2;\n }, this._dialog);\n }, this._dialog), this._element.focus());\n }\n _adjustDialog() {\n const t2 = this._element.scrollHeight > document.documentElement.clientHeight, e2 = this._scrollBar.getWidth(), i2 = e2 > 0;\n if (i2 && !t2) {\n const t3 = p() ? \"paddingLeft\" : \"paddingRight\";\n this._element.style[t3] = `${e2}px`;\n }\n if (!i2 && t2) {\n const t3 = p() ? \"paddingRight\" : \"paddingLeft\";\n this._element.style[t3] = `${e2}px`;\n }\n }\n _resetAdjustments() {\n this._element.style.paddingLeft = \"\", this._element.style.paddingRight = \"\";\n }\n static jQueryInterface(t2, e2) {\n return this.each(function() {\n const i2 = On.getOrCreateInstance(this, t2);\n if (\"string\" == typeof t2) {\n if (void 0 === i2[t2])\n throw new TypeError(`No method named \"${t2}\"`);\n i2[t2](e2);\n }\n });\n }\n }\n N.on(document, yn, '[data-bs-toggle=\"modal\"]', function(t2) {\n const e2 = z.getElementFromSelector(this);\n [\"A\", \"AREA\"].includes(this.tagName) && t2.preventDefault(), N.one(e2, pn, (t3) => {\n t3.defaultPrevented || N.one(e2, fn, () => {\n a(this) && this.focus();\n });\n });\n const i2 = z.findOne(\".modal.show\");\n i2 && On.getInstance(i2).hide(), On.getOrCreateInstance(e2).toggle(this);\n }), R(On), m(On);\n const xn = \".bs.offcanvas\", kn = \".data-api\", Ln = `load${xn}${kn}`, Sn = \"show\", Dn = \"showing\", $n = \"hiding\", In = \".offcanvas.show\", Nn = `show${xn}`, Pn = `shown${xn}`, jn = `hide${xn}`, Mn = `hidePrevented${xn}`, Fn = `hidden${xn}`, Hn = `resize${xn}`, Wn = `click${xn}${kn}`, Bn = `keydown.dismiss${xn}`, zn = { backdrop: true, keyboard: true, scroll: false }, Rn = { backdrop: \"(boolean|string)\", keyboard: \"boolean\", scroll: \"boolean\" };\n class qn extends W {\n constructor(t2, e2) {\n super(t2, e2), this._isShown = false, this._backdrop = this._initializeBackDrop(), this._focustrap = this._initializeFocusTrap(), this._addEventListeners();\n }\n static get Default() {\n return zn;\n }\n static get DefaultType() {\n return Rn;\n }\n static get NAME() {\n return \"offcanvas\";\n }\n toggle(t2) {\n return this._isShown ? this.hide() : this.show(t2);\n }\n show(t2) {\n this._isShown || N.trigger(this._element, Nn, { relatedTarget: t2 }).defaultPrevented || (this._isShown = true, this._backdrop.show(), this._config.scroll || new cn().hide(), this._element.setAttribute(\"aria-modal\", true), this._element.setAttribute(\"role\", \"dialog\"), this._element.classList.add(Dn), this._queueCallback(() => {\n this._config.scroll && !this._config.backdrop || this._focustrap.activate(), this._element.classList.add(Sn), this._element.classList.remove(Dn), N.trigger(this._element, Pn, { relatedTarget: t2 });\n }, this._element, true));\n }\n hide() {\n this._isShown && (N.trigger(this._element, jn).defaultPrevented || (this._focustrap.deactivate(), this._element.blur(), this._isShown = false, this._element.classList.add($n), this._backdrop.hide(), this._queueCallback(() => {\n this._element.classList.remove(Sn, $n), this._element.removeAttribute(\"aria-modal\"), this._element.removeAttribute(\"role\"), this._config.scroll || new cn().reset(), N.trigger(this._element, Fn);\n }, this._element, true)));\n }\n dispose() {\n this._backdrop.dispose(), this._focustrap.deactivate(), super.dispose();\n }\n _initializeBackDrop() {\n const t2 = Boolean(this._config.backdrop);\n return new Ui({ className: \"offcanvas-backdrop\", isVisible: t2, isAnimated: true, rootElement: this._element.parentNode, clickCallback: t2 ? () => {\n \"static\" !== this._config.backdrop ? this.hide() : N.trigger(this._element, Mn);\n } : null });\n }\n _initializeFocusTrap() {\n return new sn({ trapElement: this._element });\n }\n _addEventListeners() {\n N.on(this._element, Bn, (t2) => {\n \"Escape\" === t2.key && (this._config.keyboard ? this.hide() : N.trigger(this._element, Mn));\n });\n }\n static jQueryInterface(t2) {\n return this.each(function() {\n const e2 = qn.getOrCreateInstance(this, t2);\n if (\"string\" == typeof t2) {\n if (void 0 === e2[t2] || t2.startsWith(\"_\") || \"constructor\" === t2)\n throw new TypeError(`No method named \"${t2}\"`);\n e2[t2](this);\n }\n });\n }\n }\n N.on(document, Wn, '[data-bs-toggle=\"offcanvas\"]', function(t2) {\n const e2 = z.getElementFromSelector(this);\n if ([\"A\", \"AREA\"].includes(this.tagName) && t2.preventDefault(), l(this))\n return;\n N.one(e2, Fn, () => {\n a(this) && this.focus();\n });\n const i2 = z.findOne(In);\n i2 && i2 !== e2 && qn.getInstance(i2).hide(), qn.getOrCreateInstance(e2).toggle(this);\n }), N.on(window, Ln, () => {\n for (const t2 of z.find(In))\n qn.getOrCreateInstance(t2).show();\n }), N.on(window, Hn, () => {\n for (const t2 of z.find(\"[aria-modal][class*=show][class*=offcanvas-]\"))\n \"fixed\" !== getComputedStyle(t2).position && qn.getOrCreateInstance(t2).hide();\n }), R(qn), m(qn);\n const Vn = { \"*\": [\"class\", \"dir\", \"id\", \"lang\", \"role\", /^aria-[\\w-]*$/i], a: [\"target\", \"href\", \"title\", \"rel\"], area: [], b: [], br: [], col: [], code: [], dd: [], div: [], dl: [], dt: [], em: [], hr: [], h1: [], h2: [], h3: [], h4: [], h5: [], h6: [], i: [], img: [\"src\", \"srcset\", \"alt\", \"title\", \"width\", \"height\"], li: [], ol: [], p: [], pre: [], s: [], small: [], span: [], sub: [], sup: [], strong: [], u: [], ul: [] }, Kn = /* @__PURE__ */ new Set([\"background\", \"cite\", \"href\", \"itemtype\", \"longdesc\", \"poster\", \"src\", \"xlink:href\"]), Qn = /^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i, Xn = (t2, e2) => {\n const i2 = t2.nodeName.toLowerCase();\n return e2.includes(i2) ? !Kn.has(i2) || Boolean(Qn.test(t2.nodeValue)) : e2.filter((t3) => t3 instanceof RegExp).some((t3) => t3.test(i2));\n }, Yn = { allowList: Vn, content: {}, extraClass: \"\", html: false, sanitize: true, sanitizeFn: null, template: \"
\" }, Un = { allowList: \"object\", content: \"object\", extraClass: \"(string|function)\", html: \"boolean\", sanitize: \"boolean\", sanitizeFn: \"(null|function)\", template: \"string\" }, Gn = { entry: \"(string|element|function|null)\", selector: \"(string|element)\" };\n class Jn extends H {\n constructor(t2) {\n super(), this._config = this._getConfig(t2);\n }\n static get Default() {\n return Yn;\n }\n static get DefaultType() {\n return Un;\n }\n static get NAME() {\n return \"TemplateFactory\";\n }\n getContent() {\n return Object.values(this._config.content).map((t2) => this._resolvePossibleFunction(t2)).filter(Boolean);\n }\n hasContent() {\n return this.getContent().length > 0;\n }\n changeContent(t2) {\n return this._checkContent(t2), this._config.content = { ...this._config.content, ...t2 }, this;\n }\n toHtml() {\n const t2 = document.createElement(\"div\");\n t2.innerHTML = this._maybeSanitize(this._config.template);\n for (const [e3, i3] of Object.entries(this._config.content))\n this._setContent(t2, i3, e3);\n const e2 = t2.children[0], i2 = this._resolvePossibleFunction(this._config.extraClass);\n return i2 && e2.classList.add(...i2.split(\" \")), e2;\n }\n _typeCheckConfig(t2) {\n super._typeCheckConfig(t2), this._checkContent(t2.content);\n }\n _checkContent(t2) {\n for (const [e2, i2] of Object.entries(t2))\n super._typeCheckConfig({ selector: e2, entry: i2 }, Gn);\n }\n _setContent(t2, e2, i2) {\n const n2 = z.findOne(i2, t2);\n n2 && ((e2 = this._resolvePossibleFunction(e2)) ? o(e2) ? this._putElementInTemplate(r(e2), n2) : this._config.html ? n2.innerHTML = this._maybeSanitize(e2) : n2.textContent = e2 : n2.remove());\n }\n _maybeSanitize(t2) {\n return this._config.sanitize ? function(t3, e2, i2) {\n if (!t3.length)\n return t3;\n if (i2 && \"function\" == typeof i2)\n return i2(t3);\n const n2 = new window.DOMParser().parseFromString(t3, \"text/html\"), s2 = [].concat(...n2.body.querySelectorAll(\"*\"));\n for (const t4 of s2) {\n const i3 = t4.nodeName.toLowerCase();\n if (!Object.keys(e2).includes(i3)) {\n t4.remove();\n continue;\n }\n const n3 = [].concat(...t4.attributes), s3 = [].concat(e2[\"*\"] || [], e2[i3] || []);\n for (const e3 of n3)\n Xn(e3, s3) || t4.removeAttribute(e3.nodeName);\n }\n return n2.body.innerHTML;\n }(t2, this._config.allowList, this._config.sanitizeFn) : t2;\n }\n _resolvePossibleFunction(t2) {\n return g(t2, [this]);\n }\n _putElementInTemplate(t2, e2) {\n if (this._config.html)\n return e2.innerHTML = \"\", void e2.append(t2);\n e2.textContent = t2.textContent;\n }\n }\n const Zn = /* @__PURE__ */ new Set([\"sanitize\", \"allowList\", \"sanitizeFn\"]), ts = \"fade\", es = \"show\", is = \".modal\", ns = \"hide.bs.modal\", ss = \"hover\", os = \"focus\", rs = { AUTO: \"auto\", TOP: \"top\", RIGHT: p() ? \"left\" : \"right\", BOTTOM: \"bottom\", LEFT: p() ? \"right\" : \"left\" }, as = { allowList: Vn, animation: true, boundary: \"clippingParents\", container: false, customClass: \"\", delay: 0, fallbackPlacements: [\"top\", \"right\", \"bottom\", \"left\"], html: false, offset: [0, 6], placement: \"top\", popperConfig: null, sanitize: true, sanitizeFn: null, selector: false, template: '