v-sistec-features 1.6.1 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/DataPageVue/components/PaginationDatatable.vue.d.ts +17 -0
  2. package/dist/DataPageVue/components/VDataPage.vue.d.ts +45 -0
  3. package/dist/DataPageVue/index.d.ts +2 -0
  4. package/dist/DataPageVue/types/v-data-page.d.ts +50 -0
  5. package/dist/DatatableVue/components/PaginationDatatable.vue.d.ts +19 -0
  6. package/dist/DatatableVue/components/SearchDatatable.vue.d.ts +20 -0
  7. package/dist/DatatableVue/components/VColumn.vue.d.ts +53 -0
  8. package/dist/DatatableVue/components/VDataTable.vue.d.ts +36 -0
  9. package/dist/DatatableVue/composables/useImagePreview.d.ts +9 -0
  10. package/dist/DatatableVue/index.d.ts +3 -0
  11. package/dist/DatatableVue/keys.d.ts +31 -0
  12. package/dist/DatatableVue/types/v-data-table.d.ts +46 -0
  13. package/dist/core/index.d.ts +1 -0
  14. package/dist/core/plugin.d.ts +5 -0
  15. package/dist/core.js +2 -2083
  16. package/dist/iframeCommunicator/index.d.ts +2 -0
  17. package/dist/iframeCommunicator/useIframeCommunicator.d.ts +8 -0
  18. package/dist/iframeCommunicator/useThemeFromParent.d.ts +5 -0
  19. package/dist/index-SOrsDdYZ.js +710 -0
  20. package/dist/index.d.ts +3 -0
  21. package/dist/index.js +1 -1
  22. package/dist/plugin-BWcXrGKi.js +2092 -0
  23. package/dist/toast/components/ToastComponent.vue.d.ts +6 -0
  24. package/dist/toast/index.d.ts +1 -0
  25. package/dist/toast/useToastStore.d.ts +15 -0
  26. package/dist/toast.js +50 -0
  27. package/dist/v-sistec-features.css +1 -1
  28. package/dist/vDataPage.js +1 -1
  29. package/dist/vDataTable.js +103 -103
  30. package/package.json +12 -5
  31. package/src/DataPageVue/components/VDataPage.vue +3 -81
  32. package/src/DataPageVue/types/v-data-page.ts +82 -0
  33. package/src/DatatableVue/components/VColumn.vue +4 -1
  34. package/src/DatatableVue/components/VDataTable.vue +20 -82
  35. package/src/DatatableVue/types/v-data-table.ts +76 -0
  36. package/src/assets/v-required-style.css +76 -0
  37. package/src/core/plugin.ts +12 -1
  38. package/src/toast/components/ToastComponent.vue +20 -0
  39. package/src/toast/index.ts +2 -0
  40. package/src/toast/useToastStore.ts +53 -0
@@ -0,0 +1,2092 @@
1
+ import Wr from "v-required";
2
+ import { s as Rr } from "./index-SOrsDdYZ.js";
3
+ function Br(F, Ye) {
4
+ for (var $ = 0; $ < Ye.length; $++) {
5
+ const Z = Ye[$];
6
+ if (typeof Z != "string" && !Array.isArray(Z)) {
7
+ for (const he in Z)
8
+ if (he !== "default" && !(he in F)) {
9
+ const D = Object.getOwnPropertyDescriptor(Z, he);
10
+ D && Object.defineProperty(F, he, D.get ? D : {
11
+ enumerable: !0,
12
+ get: () => Z[he]
13
+ });
14
+ }
15
+ }
16
+ }
17
+ return Object.freeze(Object.defineProperty(F, Symbol.toStringTag, { value: "Module" }));
18
+ }
19
+ function Vr(F) {
20
+ return F && F.__esModule && Object.prototype.hasOwnProperty.call(F, "default") ? F.default : F;
21
+ }
22
+ var ot = { exports: {} };
23
+ /*!
24
+ * Tabler v1.4.0 (https://tabler.io)
25
+ * Copyright 2018-2025 The Tabler Authors
26
+ * Copyright 2018-2025 codecalm.net Paweł Kuna
27
+ * Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
28
+ */
29
+ var Ur = ot.exports, hs;
30
+ function Kr() {
31
+ return hs || (hs = 1, (function(F, Ye) {
32
+ (function($, Z) {
33
+ Z(Ye);
34
+ })(Ur, function($) {
35
+ const Z = document.querySelectorAll('[data-bs-toggle="autosize"]');
36
+ Z.length && Z.forEach(function(i) {
37
+ window.autosize && window.autosize(i);
38
+ });
39
+ const he = document.querySelectorAll("[data-countup]");
40
+ he.length && he.forEach(function(i) {
41
+ let e = {};
42
+ try {
43
+ const n = i.getAttribute("data-countup") ? JSON.parse(i.getAttribute("data-countup")) : {};
44
+ e = Object.assign({ enableScrollSpy: !0 }, n);
45
+ } catch {
46
+ }
47
+ const t = parseInt(i.innerHTML, 10);
48
+ if (window.countUp && window.countUp.CountUp) {
49
+ const n = new window.countUp.CountUp(i, t, e);
50
+ n.error || n.start();
51
+ }
52
+ }), [].slice.call(document.querySelectorAll("[data-mask]")).map(function(i) {
53
+ window.IMask && new window.IMask(i, { mask: i.dataset.mask, lazy: i.dataset["mask-visible"] === "true" });
54
+ });
55
+ var D = "top", H = "bottom", q = "right", P = "left", rt = "auto", $e = [D, H, q, P], ye = "start", De = "end", gi = "clippingParents", xt = "viewport", Ie = "popper", _i = "reference", kt = $e.reduce(function(i, e) {
56
+ return i.concat([e + "-" + ye, e + "-" + De]);
57
+ }, []), St = [].concat($e, [rt]).reduce(function(i, e) {
58
+ return i.concat([e, e + "-" + ye, e + "-" + De]);
59
+ }, []), bi = "beforeRead", vi = "read", yi = "afterRead", wi = "beforeMain", Ai = "main", Ei = "afterMain", Ti = "beforeWrite", Ci = "write", Oi = "afterWrite", xi = [bi, vi, yi, wi, Ai, Ei, Ti, Ci, Oi];
60
+ function ee(i) {
61
+ return i ? (i.nodeName || "").toLowerCase() : null;
62
+ }
63
+ function z(i) {
64
+ if (i == null) return window;
65
+ if (i.toString() !== "[object Window]") {
66
+ var e = i.ownerDocument;
67
+ return e && e.defaultView || window;
68
+ }
69
+ return i;
70
+ }
71
+ function we(i) {
72
+ return i instanceof z(i).Element || i instanceof Element;
73
+ }
74
+ function B(i) {
75
+ return i instanceof z(i).HTMLElement || i instanceof HTMLElement;
76
+ }
77
+ function Lt(i) {
78
+ return typeof ShadowRoot < "u" && (i instanceof z(i).ShadowRoot || i instanceof ShadowRoot);
79
+ }
80
+ const $t = { name: "applyStyles", enabled: !0, phase: "write", fn: function(i) {
81
+ var e = i.state;
82
+ Object.keys(e.elements).forEach(function(t) {
83
+ var n = e.styles[t] || {}, s = e.attributes[t] || {}, o = e.elements[t];
84
+ B(o) && ee(o) && (Object.assign(o.style, n), Object.keys(s).forEach(function(r) {
85
+ var a = s[r];
86
+ a === !1 ? o.removeAttribute(r) : o.setAttribute(r, a === !0 ? "" : a);
87
+ }));
88
+ });
89
+ }, effect: function(i) {
90
+ var e = i.state, t = { popper: { position: e.options.strategy, left: "0", top: "0", margin: "0" }, arrow: { position: "absolute" }, reference: {} };
91
+ return Object.assign(e.elements.popper.style, t.popper), e.styles = t, e.elements.arrow && Object.assign(e.elements.arrow.style, t.arrow), function() {
92
+ Object.keys(e.elements).forEach(function(n) {
93
+ var s = e.elements[n], o = e.attributes[n] || {}, r = Object.keys(e.styles.hasOwnProperty(n) ? e.styles[n] : t[n]).reduce(function(a, c) {
94
+ return a[c] = "", a;
95
+ }, {});
96
+ B(s) && ee(s) && (Object.assign(s.style, r), Object.keys(o).forEach(function(a) {
97
+ s.removeAttribute(a);
98
+ }));
99
+ });
100
+ };
101
+ }, requires: ["computeStyles"] };
102
+ function te(i) {
103
+ return i.split("-")[0];
104
+ }
105
+ var Ae = Math.max, at = Math.min, Pe = Math.round;
106
+ function Dt() {
107
+ var i = navigator.userAgentData;
108
+ return i != null && i.brands && Array.isArray(i.brands) ? i.brands.map(function(e) {
109
+ return e.brand + "/" + e.version;
110
+ }).join(" ") : navigator.userAgent;
111
+ }
112
+ function ki() {
113
+ return !/^((?!chrome|android).)*safari/i.test(Dt());
114
+ }
115
+ function Ne(i, e, t) {
116
+ e === void 0 && (e = !1), t === void 0 && (t = !1);
117
+ var n = i.getBoundingClientRect(), s = 1, o = 1;
118
+ e && B(i) && (s = i.offsetWidth > 0 && Pe(n.width) / i.offsetWidth || 1, o = i.offsetHeight > 0 && Pe(n.height) / i.offsetHeight || 1);
119
+ var r = (we(i) ? z(i) : window).visualViewport, a = !ki() && t, c = (n.left + (a && r ? r.offsetLeft : 0)) / s, h = (n.top + (a && r ? r.offsetTop : 0)) / o, d = n.width / s, u = n.height / o;
120
+ return { width: d, height: u, top: h, right: c + d, bottom: h + u, left: c, x: c, y: h };
121
+ }
122
+ function It(i) {
123
+ var e = Ne(i), t = i.offsetWidth, n = i.offsetHeight;
124
+ return Math.abs(e.width - t) <= 1 && (t = e.width), Math.abs(e.height - n) <= 1 && (n = e.height), { x: i.offsetLeft, y: i.offsetTop, width: t, height: n };
125
+ }
126
+ function Si(i, e) {
127
+ var t = e.getRootNode && e.getRootNode();
128
+ if (i.contains(e)) return !0;
129
+ if (t && Lt(t)) {
130
+ var n = e;
131
+ do {
132
+ if (n && i.isSameNode(n)) return !0;
133
+ n = n.parentNode || n.host;
134
+ } while (n);
135
+ }
136
+ return !1;
137
+ }
138
+ function oe(i) {
139
+ return z(i).getComputedStyle(i);
140
+ }
141
+ function fs(i) {
142
+ return ["table", "td", "th"].indexOf(ee(i)) >= 0;
143
+ }
144
+ function de(i) {
145
+ return ((we(i) ? i.ownerDocument : i.document) || window.document).documentElement;
146
+ }
147
+ function lt(i) {
148
+ return ee(i) === "html" ? i : i.assignedSlot || i.parentNode || (Lt(i) ? i.host : null) || de(i);
149
+ }
150
+ function Li(i) {
151
+ return B(i) && oe(i).position !== "fixed" ? i.offsetParent : null;
152
+ }
153
+ function Je(i) {
154
+ for (var e = z(i), t = Li(i); t && fs(t) && oe(t).position === "static"; ) t = Li(t);
155
+ return t && (ee(t) === "html" || ee(t) === "body" && oe(t).position === "static") ? e : t || (function(n) {
156
+ var s = /firefox/i.test(Dt());
157
+ if (/Trident/i.test(Dt()) && B(n) && oe(n).position === "fixed") return null;
158
+ var o = lt(n);
159
+ for (Lt(o) && (o = o.host); B(o) && ["html", "body"].indexOf(ee(o)) < 0; ) {
160
+ var r = oe(o);
161
+ if (r.transform !== "none" || r.perspective !== "none" || r.contain === "paint" || ["transform", "perspective"].indexOf(r.willChange) !== -1 || s && r.willChange === "filter" || s && r.filter && r.filter !== "none") return o;
162
+ o = o.parentNode;
163
+ }
164
+ return null;
165
+ })(i) || e;
166
+ }
167
+ function Pt(i) {
168
+ return ["top", "bottom"].indexOf(i) >= 0 ? "x" : "y";
169
+ }
170
+ function Ge(i, e, t) {
171
+ return Ae(i, at(e, t));
172
+ }
173
+ function $i(i) {
174
+ return Object.assign({}, { top: 0, right: 0, bottom: 0, left: 0 }, i);
175
+ }
176
+ function Di(i, e) {
177
+ return e.reduce(function(t, n) {
178
+ return t[n] = i, t;
179
+ }, {});
180
+ }
181
+ const Ii = { name: "arrow", enabled: !0, phase: "main", fn: function(i) {
182
+ var e, t = i.state, n = i.name, s = i.options, o = t.elements.arrow, r = t.modifiersData.popperOffsets, a = te(t.placement), c = Pt(a), h = [P, q].indexOf(a) >= 0 ? "height" : "width";
183
+ if (o && r) {
184
+ var d = (function(O, T) {
185
+ return $i(typeof (O = typeof O == "function" ? O(Object.assign({}, T.rects, { placement: T.placement })) : O) != "number" ? O : Di(O, $e));
186
+ })(s.padding, t), u = It(o), b = c === "y" ? D : P, p = c === "y" ? H : q, g = t.rects.reference[h] + t.rects.reference[c] - r[c] - t.rects.popper[h], m = r[c] - t.rects.reference[c], _ = Je(o), C = _ ? c === "y" ? _.clientHeight || 0 : _.clientWidth || 0 : 0, k = g / 2 - m / 2, y = d[b], A = C - u[h] - d[p], v = C / 2 - u[h] / 2 + k, w = Ge(y, v, A), E = c;
187
+ t.modifiersData[n] = ((e = {})[E] = w, e.centerOffset = w - v, e);
188
+ }
189
+ }, effect: function(i) {
190
+ var e = i.state, t = i.options.element, n = t === void 0 ? "[data-popper-arrow]" : t;
191
+ n != null && (typeof n != "string" || (n = e.elements.popper.querySelector(n))) && Si(e.elements.popper, n) && (e.elements.arrow = n);
192
+ }, requires: ["popperOffsets"], requiresIfExists: ["preventOverflow"] };
193
+ function je(i) {
194
+ return i.split("-")[1];
195
+ }
196
+ var ps = { top: "auto", right: "auto", bottom: "auto", left: "auto" };
197
+ function Pi(i) {
198
+ var e, t = i.popper, n = i.popperRect, s = i.placement, o = i.variation, r = i.offsets, a = i.position, c = i.gpuAcceleration, h = i.adaptive, d = i.roundOffsets, u = i.isFixed, b = r.x, p = b === void 0 ? 0 : b, g = r.y, m = g === void 0 ? 0 : g, _ = typeof d == "function" ? d({ x: p, y: m }) : { x: p, y: m };
199
+ p = _.x, m = _.y;
200
+ var C = r.hasOwnProperty("x"), k = r.hasOwnProperty("y"), y = P, A = D, v = window;
201
+ if (h) {
202
+ var w = Je(t), E = "clientHeight", O = "clientWidth";
203
+ w === z(t) && oe(w = de(t)).position !== "static" && a === "absolute" && (E = "scrollHeight", O = "scrollWidth"), (s === D || (s === P || s === q) && o === De) && (A = H, m -= (u && w === v && v.visualViewport ? v.visualViewport.height : w[E]) - n.height, m *= c ? 1 : -1), s !== P && (s !== D && s !== H || o !== De) || (y = q, p -= (u && w === v && v.visualViewport ? v.visualViewport.width : w[O]) - n.width, p *= c ? 1 : -1);
204
+ }
205
+ var T, L = Object.assign({ position: a }, h && ps), R = d === !0 ? (function(G, N) {
206
+ var Q = G.x, X = G.y, S = N.devicePixelRatio || 1;
207
+ return { x: Pe(Q * S) / S || 0, y: Pe(X * S) / S || 0 };
208
+ })({ x: p, y: m }, z(t)) : { x: p, y: m };
209
+ return p = R.x, m = R.y, c ? Object.assign({}, L, ((T = {})[A] = k ? "0" : "", T[y] = C ? "0" : "", T.transform = (v.devicePixelRatio || 1) <= 1 ? "translate(" + p + "px, " + m + "px)" : "translate3d(" + p + "px, " + m + "px, 0)", T)) : Object.assign({}, L, ((e = {})[A] = k ? m + "px" : "", e[y] = C ? p + "px" : "", e.transform = "", e));
210
+ }
211
+ const Nt = { name: "computeStyles", enabled: !0, phase: "beforeWrite", fn: function(i) {
212
+ var e = i.state, t = i.options, n = t.gpuAcceleration, s = n === void 0 || n, o = t.adaptive, r = o === void 0 || o, a = t.roundOffsets, c = a === void 0 || a, h = { placement: te(e.placement), variation: je(e.placement), popper: e.elements.popper, popperRect: e.rects.popper, gpuAcceleration: s, isFixed: e.options.strategy === "fixed" };
213
+ e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, Pi(Object.assign({}, h, { offsets: e.modifiersData.popperOffsets, position: e.options.strategy, adaptive: r, roundOffsets: c })))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, Pi(Object.assign({}, h, { offsets: e.modifiersData.arrow, position: "absolute", adaptive: !1, roundOffsets: c })))), e.attributes.popper = Object.assign({}, e.attributes.popper, { "data-popper-placement": e.placement });
214
+ }, data: {} };
215
+ var ct = { passive: !0 };
216
+ const jt = { name: "eventListeners", enabled: !0, phase: "write", fn: function() {
217
+ }, effect: function(i) {
218
+ var e = i.state, t = i.instance, n = i.options, s = n.scroll, o = s === void 0 || s, r = n.resize, a = r === void 0 || r, c = z(e.elements.popper), h = [].concat(e.scrollParents.reference, e.scrollParents.popper);
219
+ return o && h.forEach(function(d) {
220
+ d.addEventListener("scroll", t.update, ct);
221
+ }), a && c.addEventListener("resize", t.update, ct), function() {
222
+ o && h.forEach(function(d) {
223
+ d.removeEventListener("scroll", t.update, ct);
224
+ }), a && c.removeEventListener("resize", t.update, ct);
225
+ };
226
+ }, data: {} };
227
+ var ms = { left: "right", right: "left", bottom: "top", top: "bottom" };
228
+ function ut(i) {
229
+ return i.replace(/left|right|bottom|top/g, function(e) {
230
+ return ms[e];
231
+ });
232
+ }
233
+ var gs = { start: "end", end: "start" };
234
+ function Ni(i) {
235
+ return i.replace(/start|end/g, function(e) {
236
+ return gs[e];
237
+ });
238
+ }
239
+ function Mt(i) {
240
+ var e = z(i);
241
+ return { scrollLeft: e.pageXOffset, scrollTop: e.pageYOffset };
242
+ }
243
+ function Ft(i) {
244
+ return Ne(de(i)).left + Mt(i).scrollLeft;
245
+ }
246
+ function Ht(i) {
247
+ var e = oe(i), t = e.overflow, n = e.overflowX, s = e.overflowY;
248
+ return /auto|scroll|overlay|hidden/.test(t + s + n);
249
+ }
250
+ function ji(i) {
251
+ return ["html", "body", "#document"].indexOf(ee(i)) >= 0 ? i.ownerDocument.body : B(i) && Ht(i) ? i : ji(lt(i));
252
+ }
253
+ function Ze(i, e) {
254
+ var t;
255
+ e === void 0 && (e = []);
256
+ var n = ji(i), s = n === ((t = i.ownerDocument) == null ? void 0 : t.body), o = z(n), r = s ? [o].concat(o.visualViewport || [], Ht(n) ? n : []) : n, a = e.concat(r);
257
+ return s ? a : a.concat(Ze(lt(r)));
258
+ }
259
+ function qt(i) {
260
+ return Object.assign({}, i, { left: i.x, top: i.y, right: i.x + i.width, bottom: i.y + i.height });
261
+ }
262
+ function Mi(i, e, t) {
263
+ return e === xt ? qt((function(n, s) {
264
+ var o = z(n), r = de(n), a = o.visualViewport, c = r.clientWidth, h = r.clientHeight, d = 0, u = 0;
265
+ if (a) {
266
+ c = a.width, h = a.height;
267
+ var b = ki();
268
+ (b || !b && s === "fixed") && (d = a.offsetLeft, u = a.offsetTop);
269
+ }
270
+ return { width: c, height: h, x: d + Ft(n), y: u };
271
+ })(i, t)) : we(e) ? (function(n, s) {
272
+ var o = Ne(n, !1, s === "fixed");
273
+ return o.top = o.top + n.clientTop, o.left = o.left + n.clientLeft, o.bottom = o.top + n.clientHeight, o.right = o.left + n.clientWidth, o.width = n.clientWidth, o.height = n.clientHeight, o.x = o.left, o.y = o.top, o;
274
+ })(e, t) : qt((function(n) {
275
+ var s, o = de(n), r = Mt(n), a = (s = n.ownerDocument) == null ? void 0 : s.body, c = Ae(o.scrollWidth, o.clientWidth, a ? a.scrollWidth : 0, a ? a.clientWidth : 0), h = Ae(o.scrollHeight, o.clientHeight, a ? a.scrollHeight : 0, a ? a.clientHeight : 0), d = -r.scrollLeft + Ft(n), u = -r.scrollTop;
276
+ return oe(a || o).direction === "rtl" && (d += Ae(o.clientWidth, a ? a.clientWidth : 0) - c), { width: c, height: h, x: d, y: u };
277
+ })(de(i)));
278
+ }
279
+ function Fi(i) {
280
+ var e, t = i.reference, n = i.element, s = i.placement, o = s ? te(s) : null, r = s ? je(s) : null, a = t.x + t.width / 2 - n.width / 2, c = t.y + t.height / 2 - n.height / 2;
281
+ switch (o) {
282
+ case D:
283
+ e = { x: a, y: t.y - n.height };
284
+ break;
285
+ case H:
286
+ e = { x: a, y: t.y + t.height };
287
+ break;
288
+ case q:
289
+ e = { x: t.x + t.width, y: c };
290
+ break;
291
+ case P:
292
+ e = { x: t.x - n.width, y: c };
293
+ break;
294
+ default:
295
+ e = { x: t.x, y: t.y };
296
+ }
297
+ var h = o ? Pt(o) : null;
298
+ if (h != null) {
299
+ var d = h === "y" ? "height" : "width";
300
+ switch (r) {
301
+ case ye:
302
+ e[h] = e[h] - (t[d] / 2 - n[d] / 2);
303
+ break;
304
+ case De:
305
+ e[h] = e[h] + (t[d] / 2 - n[d] / 2);
306
+ }
307
+ }
308
+ return e;
309
+ }
310
+ function Me(i, e) {
311
+ e === void 0 && (e = {});
312
+ var t = e, n = t.placement, s = n === void 0 ? i.placement : n, o = t.strategy, r = o === void 0 ? i.strategy : o, a = t.boundary, c = a === void 0 ? gi : a, h = t.rootBoundary, d = h === void 0 ? xt : h, u = t.elementContext, b = u === void 0 ? Ie : u, p = t.altBoundary, g = p !== void 0 && p, m = t.padding, _ = m === void 0 ? 0 : m, C = $i(typeof _ != "number" ? _ : Di(_, $e)), k = b === Ie ? _i : Ie, y = i.rects.popper, A = i.elements[g ? k : b], v = (function(N, Q, X, S) {
313
+ var ne = Q === "clippingParents" ? (function(x) {
314
+ var j = Ze(lt(x)), Y = ["absolute", "fixed"].indexOf(oe(x).position) >= 0 && B(x) ? Je(x) : x;
315
+ return we(Y) ? j.filter(function(ve) {
316
+ return we(ve) && Si(ve, Y) && ee(ve) !== "body";
317
+ }) : [];
318
+ })(N) : [].concat(Q), se = [].concat(ne, [X]), Xe = se[0], I = se.reduce(function(x, j) {
319
+ var Y = Mi(N, j, S);
320
+ return x.top = Ae(Y.top, x.top), x.right = at(Y.right, x.right), x.bottom = at(Y.bottom, x.bottom), x.left = Ae(Y.left, x.left), x;
321
+ }, Mi(N, Xe, S));
322
+ return I.width = I.right - I.left, I.height = I.bottom - I.top, I.x = I.left, I.y = I.top, I;
323
+ })(we(A) ? A : A.contextElement || de(i.elements.popper), c, d, r), w = Ne(i.elements.reference), E = Fi({ reference: w, element: y, placement: s }), O = qt(Object.assign({}, y, E)), T = b === Ie ? O : w, L = { top: v.top - T.top + C.top, bottom: T.bottom - v.bottom + C.bottom, left: v.left - T.left + C.left, right: T.right - v.right + C.right }, R = i.modifiersData.offset;
324
+ if (b === Ie && R) {
325
+ var G = R[s];
326
+ Object.keys(L).forEach(function(N) {
327
+ var Q = [q, H].indexOf(N) >= 0 ? 1 : -1, X = [D, H].indexOf(N) >= 0 ? "y" : "x";
328
+ L[N] += G[X] * Q;
329
+ });
330
+ }
331
+ return L;
332
+ }
333
+ function _s(i, e) {
334
+ e === void 0 && (e = {});
335
+ var t = e, n = t.placement, s = t.boundary, o = t.rootBoundary, r = t.padding, a = t.flipVariations, c = t.allowedAutoPlacements, h = c === void 0 ? St : c, d = je(n), u = d ? a ? kt : kt.filter(function(g) {
336
+ return je(g) === d;
337
+ }) : $e, b = u.filter(function(g) {
338
+ return h.indexOf(g) >= 0;
339
+ });
340
+ b.length === 0 && (b = u);
341
+ var p = b.reduce(function(g, m) {
342
+ return g[m] = Me(i, { placement: m, boundary: s, rootBoundary: o, padding: r })[te(m)], g;
343
+ }, {});
344
+ return Object.keys(p).sort(function(g, m) {
345
+ return p[g] - p[m];
346
+ });
347
+ }
348
+ const Hi = { name: "flip", enabled: !0, phase: "main", fn: function(i) {
349
+ var e = i.state, t = i.options, n = i.name;
350
+ if (!e.modifiersData[n]._skip) {
351
+ for (var s = t.mainAxis, o = s === void 0 || s, r = t.altAxis, a = r === void 0 || r, c = t.fallbackPlacements, h = t.padding, d = t.boundary, u = t.rootBoundary, b = t.altBoundary, p = t.flipVariations, g = p === void 0 || p, m = t.allowedAutoPlacements, _ = e.options.placement, C = te(_), k = c || (C !== _ && g ? (function(x) {
352
+ if (te(x) === rt) return [];
353
+ var j = ut(x);
354
+ return [Ni(x), j, Ni(j)];
355
+ })(_) : [ut(_)]), y = [_].concat(k).reduce(function(x, j) {
356
+ return x.concat(te(j) === rt ? _s(e, { placement: j, boundary: d, rootBoundary: u, padding: h, flipVariations: g, allowedAutoPlacements: m }) : j);
357
+ }, []), A = e.rects.reference, v = e.rects.popper, w = /* @__PURE__ */ new Map(), E = !0, O = y[0], T = 0; T < y.length; T++) {
358
+ var L = y[T], R = te(L), G = je(L) === ye, N = [D, H].indexOf(R) >= 0, Q = N ? "width" : "height", X = Me(e, { placement: L, boundary: d, rootBoundary: u, altBoundary: b, padding: h }), S = N ? G ? q : P : G ? H : D;
359
+ A[Q] > v[Q] && (S = ut(S));
360
+ var ne = ut(S), se = [];
361
+ if (o && se.push(X[R] <= 0), a && se.push(X[S] <= 0, X[ne] <= 0), se.every(function(x) {
362
+ return x;
363
+ })) {
364
+ O = L, E = !1;
365
+ break;
366
+ }
367
+ w.set(L, se);
368
+ }
369
+ if (E) for (var Xe = function(x) {
370
+ var j = y.find(function(Y) {
371
+ var ve = w.get(Y);
372
+ if (ve) return ve.slice(0, x).every(function(Tt) {
373
+ return Tt;
374
+ });
375
+ });
376
+ if (j) return O = j, "break";
377
+ }, I = g ? 3 : 1; I > 0 && Xe(I) !== "break"; I--) ;
378
+ e.placement !== O && (e.modifiersData[n]._skip = !0, e.placement = O, e.reset = !0);
379
+ }
380
+ }, requiresIfExists: ["offset"], data: { _skip: !1 } };
381
+ function qi(i, e, t) {
382
+ return t === void 0 && (t = { x: 0, y: 0 }), { top: i.top - e.height - t.y, right: i.right - e.width + t.x, bottom: i.bottom - e.height + t.y, left: i.left - e.width - t.x };
383
+ }
384
+ function zi(i) {
385
+ return [D, q, H, P].some(function(e) {
386
+ return i[e] >= 0;
387
+ });
388
+ }
389
+ const Wi = { name: "hide", enabled: !0, phase: "main", requiresIfExists: ["preventOverflow"], fn: function(i) {
390
+ var e = i.state, t = i.name, n = e.rects.reference, s = e.rects.popper, o = e.modifiersData.preventOverflow, r = Me(e, { elementContext: "reference" }), a = Me(e, { altBoundary: !0 }), c = qi(r, n), h = qi(a, s, o), d = zi(c), u = zi(h);
391
+ e.modifiersData[t] = { referenceClippingOffsets: c, popperEscapeOffsets: h, isReferenceHidden: d, hasPopperEscaped: u }, e.attributes.popper = Object.assign({}, e.attributes.popper, { "data-popper-reference-hidden": d, "data-popper-escaped": u });
392
+ } }, Ri = { name: "offset", enabled: !0, phase: "main", requires: ["popperOffsets"], fn: function(i) {
393
+ var e = i.state, t = i.options, n = i.name, s = t.offset, o = s === void 0 ? [0, 0] : s, r = St.reduce(function(d, u) {
394
+ return d[u] = (function(b, p, g) {
395
+ var m = te(b), _ = [P, D].indexOf(m) >= 0 ? -1 : 1, C = typeof g == "function" ? g(Object.assign({}, p, { placement: b })) : g, k = C[0], y = C[1];
396
+ return k = k || 0, y = (y || 0) * _, [P, q].indexOf(m) >= 0 ? { x: y, y: k } : { x: k, y };
397
+ })(u, e.rects, o), d;
398
+ }, {}), a = r[e.placement], c = a.x, h = a.y;
399
+ e.modifiersData.popperOffsets != null && (e.modifiersData.popperOffsets.x += c, e.modifiersData.popperOffsets.y += h), e.modifiersData[n] = r;
400
+ } }, zt = { name: "popperOffsets", enabled: !0, phase: "read", fn: function(i) {
401
+ var e = i.state, t = i.name;
402
+ e.modifiersData[t] = Fi({ reference: e.rects.reference, element: e.rects.popper, placement: e.placement });
403
+ }, data: {} }, Bi = { name: "preventOverflow", enabled: !0, phase: "main", fn: function(i) {
404
+ var e = i.state, t = i.options, n = i.name, s = t.mainAxis, o = s === void 0 || s, r = t.altAxis, a = r !== void 0 && r, c = t.boundary, h = t.rootBoundary, d = t.altBoundary, u = t.padding, b = t.tether, p = b === void 0 || b, g = t.tetherOffset, m = g === void 0 ? 0 : g, _ = Me(e, { boundary: c, rootBoundary: h, padding: u, altBoundary: d }), C = te(e.placement), k = je(e.placement), y = !k, A = Pt(C), v = A === "x" ? "y" : "x", w = e.modifiersData.popperOffsets, E = e.rects.reference, O = e.rects.popper, T = typeof m == "function" ? m(Object.assign({}, e.rects, { placement: e.placement })) : m, L = typeof T == "number" ? { mainAxis: T, altAxis: T } : Object.assign({ mainAxis: 0, altAxis: 0 }, T), R = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, G = { x: 0, y: 0 };
405
+ if (w) {
406
+ if (o) {
407
+ var N, Q = A === "y" ? D : P, X = A === "y" ? H : q, S = A === "y" ? "height" : "width", ne = w[A], se = ne + _[Q], Xe = ne - _[X], I = p ? -O[S] / 2 : 0, x = k === ye ? E[S] : O[S], j = k === ye ? -O[S] : -E[S], Y = e.elements.arrow, ve = p && Y ? It(Y) : { width: 0, height: 0 }, Tt = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : { top: 0, right: 0, bottom: 0, left: 0 }, Zn = Tt[Q], es = Tt[X], Ct = Ge(0, E[S], ve[S]), Pr = y ? E[S] / 2 - I - Ct - Zn - L.mainAxis : x - Ct - Zn - L.mainAxis, Nr = y ? -E[S] / 2 + I + Ct + es + L.mainAxis : j + Ct + es + L.mainAxis, fi = e.elements.arrow && Je(e.elements.arrow), jr = fi ? A === "y" ? fi.clientTop || 0 : fi.clientLeft || 0 : 0, ts = (N = R?.[A]) != null ? N : 0, Mr = ne + Nr - ts, is = Ge(p ? at(se, ne + Pr - ts - jr) : se, ne, p ? Ae(Xe, Mr) : Xe);
408
+ w[A] = is, G[A] = is - ne;
409
+ }
410
+ if (a) {
411
+ var ns, Fr = A === "x" ? D : P, Hr = A === "x" ? H : q, Le = w[v], Ot = v === "y" ? "height" : "width", ss = Le + _[Fr], os = Le - _[Hr], pi = [D, P].indexOf(C) !== -1, rs = (ns = R?.[v]) != null ? ns : 0, as = pi ? ss : Le - E[Ot] - O[Ot] - rs + L.altAxis, ls = pi ? Le + E[Ot] + O[Ot] - rs - L.altAxis : os, cs = p && pi ? (function(qr, zr, mi) {
412
+ var us = Ge(qr, zr, mi);
413
+ return us > mi ? mi : us;
414
+ })(as, Le, ls) : Ge(p ? as : ss, Le, p ? ls : os);
415
+ w[v] = cs, G[v] = cs - Le;
416
+ }
417
+ e.modifiersData[n] = G;
418
+ }
419
+ }, requiresIfExists: ["offset"] };
420
+ function bs(i, e, t) {
421
+ t === void 0 && (t = !1);
422
+ var n, s, o = B(e), r = B(e) && (function(u) {
423
+ var b = u.getBoundingClientRect(), p = Pe(b.width) / u.offsetWidth || 1, g = Pe(b.height) / u.offsetHeight || 1;
424
+ return p !== 1 || g !== 1;
425
+ })(e), a = de(e), c = Ne(i, r, t), h = { scrollLeft: 0, scrollTop: 0 }, d = { x: 0, y: 0 };
426
+ return (o || !o && !t) && ((ee(e) !== "body" || Ht(a)) && (h = (n = e) !== z(n) && B(n) ? { scrollLeft: (s = n).scrollLeft, scrollTop: s.scrollTop } : Mt(n)), B(e) ? ((d = Ne(e, !0)).x += e.clientLeft, d.y += e.clientTop) : a && (d.x = Ft(a))), { x: c.left + h.scrollLeft - d.x, y: c.top + h.scrollTop - d.y, width: c.width, height: c.height };
427
+ }
428
+ function vs(i) {
429
+ var e = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Set(), n = [];
430
+ function s(o) {
431
+ t.add(o.name), [].concat(o.requires || [], o.requiresIfExists || []).forEach(function(r) {
432
+ if (!t.has(r)) {
433
+ var a = e.get(r);
434
+ a && s(a);
435
+ }
436
+ }), n.push(o);
437
+ }
438
+ return i.forEach(function(o) {
439
+ e.set(o.name, o);
440
+ }), i.forEach(function(o) {
441
+ t.has(o.name) || s(o);
442
+ }), n;
443
+ }
444
+ var Vi = { placement: "bottom", modifiers: [], strategy: "absolute" };
445
+ function Ui() {
446
+ for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++) e[t] = arguments[t];
447
+ return !e.some(function(n) {
448
+ return !(n && typeof n.getBoundingClientRect == "function");
449
+ });
450
+ }
451
+ function ht(i) {
452
+ i === void 0 && (i = {});
453
+ var e = i, t = e.defaultModifiers, n = t === void 0 ? [] : t, s = e.defaultOptions, o = s === void 0 ? Vi : s;
454
+ return function(r, a, c) {
455
+ c === void 0 && (c = o);
456
+ var h, d, u = { placement: "bottom", orderedModifiers: [], options: Object.assign({}, Vi, o), modifiersData: {}, elements: { reference: r, popper: a }, attributes: {}, styles: {} }, b = [], p = !1, g = { state: u, setOptions: function(_) {
457
+ var C = typeof _ == "function" ? _(u.options) : _;
458
+ m(), u.options = Object.assign({}, o, u.options, C), u.scrollParents = { reference: we(r) ? Ze(r) : r.contextElement ? Ze(r.contextElement) : [], popper: Ze(a) };
459
+ var k, y, A = (function(v) {
460
+ var w = vs(v);
461
+ return xi.reduce(function(E, O) {
462
+ return E.concat(w.filter(function(T) {
463
+ return T.phase === O;
464
+ }));
465
+ }, []);
466
+ })((k = [].concat(n, u.options.modifiers), y = k.reduce(function(v, w) {
467
+ var E = v[w.name];
468
+ return v[w.name] = E ? Object.assign({}, E, w, { options: Object.assign({}, E.options, w.options), data: Object.assign({}, E.data, w.data) }) : w, v;
469
+ }, {}), Object.keys(y).map(function(v) {
470
+ return y[v];
471
+ })));
472
+ return u.orderedModifiers = A.filter(function(v) {
473
+ return v.enabled;
474
+ }), u.orderedModifiers.forEach(function(v) {
475
+ var w = v.name, E = v.options, O = E === void 0 ? {} : E, T = v.effect;
476
+ if (typeof T == "function") {
477
+ var L = T({ state: u, name: w, instance: g, options: O });
478
+ b.push(L || function() {
479
+ });
480
+ }
481
+ }), g.update();
482
+ }, forceUpdate: function() {
483
+ if (!p) {
484
+ var _ = u.elements, C = _.reference, k = _.popper;
485
+ if (Ui(C, k)) {
486
+ u.rects = { reference: bs(C, Je(k), u.options.strategy === "fixed"), popper: It(k) }, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(T) {
487
+ return u.modifiersData[T.name] = Object.assign({}, T.data);
488
+ });
489
+ for (var y = 0; y < u.orderedModifiers.length; y++) if (u.reset !== !0) {
490
+ var A = u.orderedModifiers[y], v = A.fn, w = A.options, E = w === void 0 ? {} : w, O = A.name;
491
+ typeof v == "function" && (u = v({ state: u, options: E, name: O, instance: g }) || u);
492
+ } else u.reset = !1, y = -1;
493
+ }
494
+ }
495
+ }, update: (h = function() {
496
+ return new Promise(function(_) {
497
+ g.forceUpdate(), _(u);
498
+ });
499
+ }, function() {
500
+ return d || (d = new Promise(function(_) {
501
+ Promise.resolve().then(function() {
502
+ d = void 0, _(h());
503
+ });
504
+ })), d;
505
+ }), destroy: function() {
506
+ m(), p = !0;
507
+ } };
508
+ if (!Ui(r, a)) return g;
509
+ function m() {
510
+ b.forEach(function(_) {
511
+ return _();
512
+ }), b = [];
513
+ }
514
+ return g.setOptions(c).then(function(_) {
515
+ !p && c.onFirstUpdate && c.onFirstUpdate(_);
516
+ }), g;
517
+ };
518
+ }
519
+ var ys = ht(), ws = ht({ defaultModifiers: [jt, zt, Nt, $t] }), Wt = ht({ defaultModifiers: [jt, zt, Nt, $t, Ri, Hi, Bi, Ii, Wi] });
520
+ const Ki = Object.freeze(Object.defineProperty({ __proto__: null, afterMain: Ei, afterRead: yi, afterWrite: Oi, applyStyles: $t, arrow: Ii, auto: rt, basePlacements: $e, beforeMain: wi, beforeRead: bi, beforeWrite: Ti, bottom: H, clippingParents: gi, computeStyles: Nt, createPopper: Wt, createPopperBase: ys, createPopperLite: ws, detectOverflow: Me, end: De, eventListeners: jt, flip: Hi, hide: Wi, left: P, main: Ai, modifierPhases: xi, offset: Ri, placements: St, popper: Ie, popperGenerator: ht, popperOffsets: zt, preventOverflow: Bi, read: vi, reference: _i, right: q, start: ye, top: D, variationPlacements: kt, viewport: xt, write: Ci }, Symbol.toStringTag, { value: "Module" })), fe = /* @__PURE__ */ new Map(), Rt = { set(i, e, t) {
521
+ fe.has(i) || fe.set(i, /* @__PURE__ */ new Map());
522
+ const n = fe.get(i);
523
+ n.has(e) || n.size === 0 ? n.set(e, t) : console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`);
524
+ }, get: (i, e) => fe.has(i) && fe.get(i).get(e) || null, remove(i, e) {
525
+ if (!fe.has(i)) return;
526
+ const t = fe.get(i);
527
+ t.delete(e), t.size === 0 && fe.delete(i);
528
+ } }, Bt = "transitionend", Qi = (i) => (i && window.CSS && window.CSS.escape && (i = i.replace(/#([^\s"#']+)/g, (e, t) => `#${CSS.escape(t)}`)), i), As = (i) => i == null ? `${i}` : Object.prototype.toString.call(i).match(/\s([a-z]+)/i)[1].toLowerCase(), Xi = (i) => {
529
+ i.dispatchEvent(new Event(Bt));
530
+ }, re = (i) => !(!i || typeof i != "object") && (i.jquery !== void 0 && (i = i[0]), i.nodeType !== void 0), pe = (i) => re(i) ? i.jquery ? i[0] : i : typeof i == "string" && i.length > 0 ? document.querySelector(Qi(i)) : null, Fe = (i) => {
531
+ if (!re(i) || i.getClientRects().length === 0) return !1;
532
+ const e = getComputedStyle(i).getPropertyValue("visibility") === "visible", t = i.closest("details:not([open])");
533
+ if (!t) return e;
534
+ if (t !== i) {
535
+ const n = i.closest("summary");
536
+ if (n && n.parentNode !== t || n === null) return !1;
537
+ }
538
+ return e;
539
+ }, me = (i) => !i || i.nodeType !== Node.ELEMENT_NODE || !!i.classList.contains("disabled") || (i.disabled !== void 0 ? i.disabled : i.hasAttribute("disabled") && i.getAttribute("disabled") !== "false"), Yi = (i) => {
540
+ if (!document.documentElement.attachShadow) return null;
541
+ if (typeof i.getRootNode == "function") {
542
+ const e = i.getRootNode();
543
+ return e instanceof ShadowRoot ? e : null;
544
+ }
545
+ return i instanceof ShadowRoot ? i : i.parentNode ? Yi(i.parentNode) : null;
546
+ }, dt = () => {
547
+ }, et = (i) => {
548
+ i.offsetHeight;
549
+ }, Ji = () => window.jQuery && !document.body.hasAttribute("data-bs-no-jquery") ? window.jQuery : null, Vt = [], V = () => document.documentElement.dir === "rtl", U = (i) => {
550
+ var e;
551
+ e = () => {
552
+ const t = Ji();
553
+ if (t) {
554
+ const n = i.NAME, s = t.fn[n];
555
+ t.fn[n] = i.jQueryInterface, t.fn[n].Constructor = i, t.fn[n].noConflict = () => (t.fn[n] = s, i.jQueryInterface);
556
+ }
557
+ }, document.readyState === "loading" ? (Vt.length || document.addEventListener("DOMContentLoaded", () => {
558
+ for (const t of Vt) t();
559
+ }), Vt.push(e)) : e();
560
+ }, M = (i, e = [], t = i) => typeof i == "function" ? i.call(...e) : t, Gi = (i, e, t = !0) => {
561
+ if (!t) return void M(i);
562
+ const n = ((r) => {
563
+ if (!r) return 0;
564
+ let { transitionDuration: a, transitionDelay: c } = window.getComputedStyle(r);
565
+ const h = Number.parseFloat(a), d = Number.parseFloat(c);
566
+ return h || d ? (a = a.split(",")[0], c = c.split(",")[0], 1e3 * (Number.parseFloat(a) + Number.parseFloat(c))) : 0;
567
+ })(e) + 5;
568
+ let s = !1;
569
+ const o = ({ target: r }) => {
570
+ r === e && (s = !0, e.removeEventListener(Bt, o), M(i));
571
+ };
572
+ e.addEventListener(Bt, o), setTimeout(() => {
573
+ s || Xi(e);
574
+ }, n);
575
+ }, Ut = (i, e, t, n) => {
576
+ const s = i.length;
577
+ let o = i.indexOf(e);
578
+ return o === -1 ? !t && n ? i[s - 1] : i[0] : (o += t ? 1 : -1, n && (o = (o + s) % s), i[Math.max(0, Math.min(o, s - 1))]);
579
+ }, Es = /[^.]*(?=\..*)\.|.*/, Ts = /\..*/, Cs = /::\d+$/, Kt = {};
580
+ /*!
581
+ * Bootstrap v5.3.7 (https://getbootstrap.com/)
582
+ * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
583
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
584
+ */
585
+ let Zi = 1;
586
+ const en = { mouseenter: "mouseover", mouseleave: "mouseout" }, Os = /* @__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"]);
587
+ function tn(i, e) {
588
+ return e && `${e}::${Zi++}` || i.uidEvent || Zi++;
589
+ }
590
+ function nn(i) {
591
+ const e = tn(i);
592
+ return i.uidEvent = e, Kt[e] = Kt[e] || {}, Kt[e];
593
+ }
594
+ function sn(i, e, t = null) {
595
+ return Object.values(i).find((n) => n.callable === e && n.delegationSelector === t);
596
+ }
597
+ function on(i, e, t) {
598
+ const n = typeof e == "string", s = n ? t : e || t;
599
+ let o = an(i);
600
+ return Os.has(o) || (o = i), [n, s, o];
601
+ }
602
+ function rn(i, e, t, n, s) {
603
+ if (typeof e != "string" || !i) return;
604
+ let [o, r, a] = on(e, t, n);
605
+ e in en && (r = ((g) => function(m) {
606
+ if (!m.relatedTarget || m.relatedTarget !== m.delegateTarget && !m.delegateTarget.contains(m.relatedTarget)) return g.call(this, m);
607
+ })(r));
608
+ const c = nn(i), h = c[a] || (c[a] = {}), d = sn(h, r, o ? t : null);
609
+ if (d) return void (d.oneOff = d.oneOff && s);
610
+ const u = tn(r, e.replace(Es, "")), b = o ? /* @__PURE__ */ (function(p, g, m) {
611
+ return function _(C) {
612
+ const k = p.querySelectorAll(g);
613
+ for (let { target: y } = C; y && y !== this; y = y.parentNode) for (const A of k) if (A === y) return Xt(C, { delegateTarget: y }), _.oneOff && l.off(p, C.type, g, m), m.apply(y, [C]);
614
+ };
615
+ })(i, t, r) : /* @__PURE__ */ (function(p, g) {
616
+ return function m(_) {
617
+ return Xt(_, { delegateTarget: p }), m.oneOff && l.off(p, _.type, g), g.apply(p, [_]);
618
+ };
619
+ })(i, r);
620
+ b.delegationSelector = o ? t : null, b.callable = r, b.oneOff = s, b.uidEvent = u, h[u] = b, i.addEventListener(a, b, o);
621
+ }
622
+ function Qt(i, e, t, n, s) {
623
+ const o = sn(e[t], n, s);
624
+ o && (i.removeEventListener(t, o, !!s), delete e[t][o.uidEvent]);
625
+ }
626
+ function xs(i, e, t, n) {
627
+ const s = e[t] || {};
628
+ for (const [o, r] of Object.entries(s)) o.includes(n) && Qt(i, e, t, r.callable, r.delegationSelector);
629
+ }
630
+ function an(i) {
631
+ return i = i.replace(Ts, ""), en[i] || i;
632
+ }
633
+ const l = { on(i, e, t, n) {
634
+ rn(i, e, t, n, !1);
635
+ }, one(i, e, t, n) {
636
+ rn(i, e, t, n, !0);
637
+ }, off(i, e, t, n) {
638
+ if (typeof e != "string" || !i) return;
639
+ const [s, o, r] = on(e, t, n), a = r !== e, c = nn(i), h = c[r] || {}, d = e.startsWith(".");
640
+ if (o === void 0) {
641
+ if (d) for (const u of Object.keys(c)) xs(i, c, u, e.slice(1));
642
+ for (const [u, b] of Object.entries(h)) {
643
+ const p = u.replace(Cs, "");
644
+ a && !e.includes(p) || Qt(i, c, r, b.callable, b.delegationSelector);
645
+ }
646
+ } else {
647
+ if (!Object.keys(h).length) return;
648
+ Qt(i, c, r, o, s ? t : null);
649
+ }
650
+ }, trigger(i, e, t) {
651
+ if (typeof e != "string" || !i) return null;
652
+ const n = Ji();
653
+ let s = null, o = !0, r = !0, a = !1;
654
+ e !== an(e) && n && (s = n.Event(e, t), n(i).trigger(s), o = !s.isPropagationStopped(), r = !s.isImmediatePropagationStopped(), a = s.isDefaultPrevented());
655
+ const c = Xt(new Event(e, { bubbles: o, cancelable: !0 }), t);
656
+ return a && c.preventDefault(), r && i.dispatchEvent(c), c.defaultPrevented && s && s.preventDefault(), c;
657
+ } };
658
+ function Xt(i, e = {}) {
659
+ for (const [t, n] of Object.entries(e)) try {
660
+ i[t] = n;
661
+ } catch {
662
+ Object.defineProperty(i, t, { configurable: !0, get: () => n });
663
+ }
664
+ return i;
665
+ }
666
+ function ln(i) {
667
+ if (i === "true") return !0;
668
+ if (i === "false") return !1;
669
+ if (i === Number(i).toString()) return Number(i);
670
+ if (i === "" || i === "null") return null;
671
+ if (typeof i != "string") return i;
672
+ try {
673
+ return JSON.parse(decodeURIComponent(i));
674
+ } catch {
675
+ return i;
676
+ }
677
+ }
678
+ function Yt(i) {
679
+ return i.replace(/[A-Z]/g, (e) => `-${e.toLowerCase()}`);
680
+ }
681
+ const ae = { setDataAttribute(i, e, t) {
682
+ i.setAttribute(`data-bs-${Yt(e)}`, t);
683
+ }, removeDataAttribute(i, e) {
684
+ i.removeAttribute(`data-bs-${Yt(e)}`);
685
+ }, getDataAttributes(i) {
686
+ if (!i) return {};
687
+ const e = {}, t = Object.keys(i.dataset).filter((n) => n.startsWith("bs") && !n.startsWith("bsConfig"));
688
+ for (const n of t) {
689
+ let s = n.replace(/^bs/, "");
690
+ s = s.charAt(0).toLowerCase() + s.slice(1), e[s] = ln(i.dataset[n]);
691
+ }
692
+ return e;
693
+ }, getDataAttribute: (i, e) => ln(i.getAttribute(`data-bs-${Yt(e)}`)) };
694
+ class tt {
695
+ static get Default() {
696
+ return {};
697
+ }
698
+ static get DefaultType() {
699
+ return {};
700
+ }
701
+ static get NAME() {
702
+ throw new Error('You have to implement the static method "NAME", for each component!');
703
+ }
704
+ _getConfig(e) {
705
+ return e = this._mergeConfigObj(e), e = this._configAfterMerge(e), this._typeCheckConfig(e), e;
706
+ }
707
+ _configAfterMerge(e) {
708
+ return e;
709
+ }
710
+ _mergeConfigObj(e, t) {
711
+ const n = re(t) ? ae.getDataAttribute(t, "config") : {};
712
+ return { ...this.constructor.Default, ...typeof n == "object" ? n : {}, ...re(t) ? ae.getDataAttributes(t) : {}, ...typeof e == "object" ? e : {} };
713
+ }
714
+ _typeCheckConfig(e, t = this.constructor.DefaultType) {
715
+ for (const [n, s] of Object.entries(t)) {
716
+ const o = e[n], r = re(o) ? "element" : As(o);
717
+ if (!new RegExp(s).test(r)) throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${r}" but expected type "${s}".`);
718
+ }
719
+ }
720
+ }
721
+ class J extends tt {
722
+ constructor(e, t) {
723
+ super(), (e = pe(e)) && (this._element = e, this._config = this._getConfig(t), Rt.set(this._element, this.constructor.DATA_KEY, this));
724
+ }
725
+ dispose() {
726
+ Rt.remove(this._element, this.constructor.DATA_KEY), l.off(this._element, this.constructor.EVENT_KEY);
727
+ for (const e of Object.getOwnPropertyNames(this)) this[e] = null;
728
+ }
729
+ _queueCallback(e, t, n = !0) {
730
+ Gi(e, t, n);
731
+ }
732
+ _getConfig(e) {
733
+ return e = this._mergeConfigObj(e, this._element), e = this._configAfterMerge(e), this._typeCheckConfig(e), e;
734
+ }
735
+ static getInstance(e) {
736
+ return Rt.get(pe(e), this.DATA_KEY);
737
+ }
738
+ static getOrCreateInstance(e, t = {}) {
739
+ return this.getInstance(e) || new this(e, typeof t == "object" ? t : null);
740
+ }
741
+ static get VERSION() {
742
+ return "5.3.7";
743
+ }
744
+ static get DATA_KEY() {
745
+ return `bs.${this.NAME}`;
746
+ }
747
+ static get EVENT_KEY() {
748
+ return `.${this.DATA_KEY}`;
749
+ }
750
+ static eventName(e) {
751
+ return `${e}${this.EVENT_KEY}`;
752
+ }
753
+ }
754
+ const Jt = (i) => {
755
+ let e = i.getAttribute("data-bs-target");
756
+ if (!e || e === "#") {
757
+ let t = i.getAttribute("href");
758
+ if (!t || !t.includes("#") && !t.startsWith(".")) return null;
759
+ t.includes("#") && !t.startsWith("#") && (t = `#${t.split("#")[1]}`), e = t && t !== "#" ? t.trim() : null;
760
+ }
761
+ return e ? e.split(",").map((t) => Qi(t)).join(",") : null;
762
+ }, f = { find: (i, e = document.documentElement) => [].concat(...Element.prototype.querySelectorAll.call(e, i)), findOne: (i, e = document.documentElement) => Element.prototype.querySelector.call(e, i), children: (i, e) => [].concat(...i.children).filter((t) => t.matches(e)), parents(i, e) {
763
+ const t = [];
764
+ let n = i.parentNode.closest(e);
765
+ for (; n; ) t.push(n), n = n.parentNode.closest(e);
766
+ return t;
767
+ }, prev(i, e) {
768
+ let t = i.previousElementSibling;
769
+ for (; t; ) {
770
+ if (t.matches(e)) return [t];
771
+ t = t.previousElementSibling;
772
+ }
773
+ return [];
774
+ }, next(i, e) {
775
+ let t = i.nextElementSibling;
776
+ for (; t; ) {
777
+ if (t.matches(e)) return [t];
778
+ t = t.nextElementSibling;
779
+ }
780
+ return [];
781
+ }, focusableChildren(i) {
782
+ const e = ["a", "button", "input", "textarea", "select", "details", "[tabindex]", '[contenteditable="true"]'].map((t) => `${t}:not([tabindex^="-"])`).join(",");
783
+ return this.find(e, i).filter((t) => !me(t) && Fe(t));
784
+ }, getSelectorFromElement(i) {
785
+ const e = Jt(i);
786
+ return e && f.findOne(e) ? e : null;
787
+ }, getElementFromSelector(i) {
788
+ const e = Jt(i);
789
+ return e ? f.findOne(e) : null;
790
+ }, getMultipleElementsFromSelector(i) {
791
+ const e = Jt(i);
792
+ return e ? f.find(e) : [];
793
+ } }, ft = (i, e = "hide") => {
794
+ const t = `click.dismiss${i.EVENT_KEY}`, n = i.NAME;
795
+ l.on(document, t, `[data-bs-dismiss="${n}"]`, function(s) {
796
+ if (["A", "AREA"].includes(this.tagName) && s.preventDefault(), me(this)) return;
797
+ const o = f.getElementFromSelector(this) || this.closest(`.${n}`);
798
+ i.getOrCreateInstance(o)[e]();
799
+ });
800
+ }, cn = ".bs.alert", ks = `close${cn}`, Ss = `closed${cn}`;
801
+ class He extends J {
802
+ static get NAME() {
803
+ return "alert";
804
+ }
805
+ close() {
806
+ if (l.trigger(this._element, ks).defaultPrevented) return;
807
+ this._element.classList.remove("show");
808
+ const e = this._element.classList.contains("fade");
809
+ this._queueCallback(() => this._destroyElement(), this._element, e);
810
+ }
811
+ _destroyElement() {
812
+ this._element.remove(), l.trigger(this._element, Ss), this.dispose();
813
+ }
814
+ static jQueryInterface(e) {
815
+ return this.each(function() {
816
+ const t = He.getOrCreateInstance(this);
817
+ if (typeof e == "string") {
818
+ if (t[e] === void 0 || e.startsWith("_") || e === "constructor") throw new TypeError(`No method named "${e}"`);
819
+ t[e](this);
820
+ }
821
+ });
822
+ }
823
+ }
824
+ ft(He, "close"), U(He);
825
+ const un = '[data-bs-toggle="button"]';
826
+ class qe extends J {
827
+ static get NAME() {
828
+ return "button";
829
+ }
830
+ toggle() {
831
+ this._element.setAttribute("aria-pressed", this._element.classList.toggle("active"));
832
+ }
833
+ static jQueryInterface(e) {
834
+ return this.each(function() {
835
+ const t = qe.getOrCreateInstance(this);
836
+ e === "toggle" && t[e]();
837
+ });
838
+ }
839
+ }
840
+ l.on(document, "click.bs.button.data-api", un, (i) => {
841
+ i.preventDefault();
842
+ const e = i.target.closest(un);
843
+ qe.getOrCreateInstance(e).toggle();
844
+ }), U(qe);
845
+ const ze = ".bs.swipe", Ls = `touchstart${ze}`, $s = `touchmove${ze}`, Ds = `touchend${ze}`, Is = `pointerdown${ze}`, Ps = `pointerup${ze}`, Ns = { endCallback: null, leftCallback: null, rightCallback: null }, js = { endCallback: "(function|null)", leftCallback: "(function|null)", rightCallback: "(function|null)" };
846
+ class pt extends tt {
847
+ constructor(e, t) {
848
+ super(), this._element = e, e && pt.isSupported() && (this._config = this._getConfig(t), this._deltaX = 0, this._supportPointerEvents = !!window.PointerEvent, this._initEvents());
849
+ }
850
+ static get Default() {
851
+ return Ns;
852
+ }
853
+ static get DefaultType() {
854
+ return js;
855
+ }
856
+ static get NAME() {
857
+ return "swipe";
858
+ }
859
+ dispose() {
860
+ l.off(this._element, ze);
861
+ }
862
+ _start(e) {
863
+ this._supportPointerEvents ? this._eventIsPointerPenTouch(e) && (this._deltaX = e.clientX) : this._deltaX = e.touches[0].clientX;
864
+ }
865
+ _end(e) {
866
+ this._eventIsPointerPenTouch(e) && (this._deltaX = e.clientX - this._deltaX), this._handleSwipe(), M(this._config.endCallback);
867
+ }
868
+ _move(e) {
869
+ this._deltaX = e.touches && e.touches.length > 1 ? 0 : e.touches[0].clientX - this._deltaX;
870
+ }
871
+ _handleSwipe() {
872
+ const e = Math.abs(this._deltaX);
873
+ if (e <= 40) return;
874
+ const t = e / this._deltaX;
875
+ this._deltaX = 0, t && M(t > 0 ? this._config.rightCallback : this._config.leftCallback);
876
+ }
877
+ _initEvents() {
878
+ this._supportPointerEvents ? (l.on(this._element, Is, (e) => this._start(e)), l.on(this._element, Ps, (e) => this._end(e)), this._element.classList.add("pointer-event")) : (l.on(this._element, Ls, (e) => this._start(e)), l.on(this._element, $s, (e) => this._move(e)), l.on(this._element, Ds, (e) => this._end(e)));
879
+ }
880
+ _eventIsPointerPenTouch(e) {
881
+ return this._supportPointerEvents && (e.pointerType === "pen" || e.pointerType === "touch");
882
+ }
883
+ static isSupported() {
884
+ return "ontouchstart" in document.documentElement || navigator.maxTouchPoints > 0;
885
+ }
886
+ }
887
+ const ge = ".bs.carousel", hn = ".data-api", Ms = "ArrowLeft", Fs = "ArrowRight", it = "next", We = "prev", Re = "left", mt = "right", Hs = `slide${ge}`, Gt = `slid${ge}`, qs = `keydown${ge}`, zs = `mouseenter${ge}`, Ws = `mouseleave${ge}`, Rs = `dragstart${ge}`, Bs = `load${ge}${hn}`, Vs = `click${ge}${hn}`, dn = "carousel", gt = "active", fn = ".active", pn = ".carousel-item", Us = fn + pn, Ks = { [Ms]: mt, [Fs]: Re }, Qs = { interval: 5e3, keyboard: !0, pause: "hover", ride: !1, touch: !0, wrap: !0 }, Xs = { interval: "(number|boolean)", keyboard: "boolean", pause: "(string|boolean)", ride: "(boolean|string)", touch: "boolean", wrap: "boolean" };
888
+ class Ee extends J {
889
+ constructor(e, t) {
890
+ super(e, t), this._interval = null, this._activeElement = null, this._isSliding = !1, this.touchTimeout = null, this._swipeHelper = null, this._indicatorsElement = f.findOne(".carousel-indicators", this._element), this._addEventListeners(), this._config.ride === dn && this.cycle();
891
+ }
892
+ static get Default() {
893
+ return Qs;
894
+ }
895
+ static get DefaultType() {
896
+ return Xs;
897
+ }
898
+ static get NAME() {
899
+ return "carousel";
900
+ }
901
+ next() {
902
+ this._slide(it);
903
+ }
904
+ nextWhenVisible() {
905
+ !document.hidden && Fe(this._element) && this.next();
906
+ }
907
+ prev() {
908
+ this._slide(We);
909
+ }
910
+ pause() {
911
+ this._isSliding && Xi(this._element), this._clearInterval();
912
+ }
913
+ cycle() {
914
+ this._clearInterval(), this._updateInterval(), this._interval = setInterval(() => this.nextWhenVisible(), this._config.interval);
915
+ }
916
+ _maybeEnableCycle() {
917
+ this._config.ride && (this._isSliding ? l.one(this._element, Gt, () => this.cycle()) : this.cycle());
918
+ }
919
+ to(e) {
920
+ const t = this._getItems();
921
+ if (e > t.length - 1 || e < 0) return;
922
+ if (this._isSliding) return void l.one(this._element, Gt, () => this.to(e));
923
+ const n = this._getItemIndex(this._getActive());
924
+ if (n === e) return;
925
+ const s = e > n ? it : We;
926
+ this._slide(s, t[e]);
927
+ }
928
+ dispose() {
929
+ this._swipeHelper && this._swipeHelper.dispose(), super.dispose();
930
+ }
931
+ _configAfterMerge(e) {
932
+ return e.defaultInterval = e.interval, e;
933
+ }
934
+ _addEventListeners() {
935
+ this._config.keyboard && l.on(this._element, qs, (e) => this._keydown(e)), this._config.pause === "hover" && (l.on(this._element, zs, () => this.pause()), l.on(this._element, Ws, () => this._maybeEnableCycle())), this._config.touch && pt.isSupported() && this._addTouchEventListeners();
936
+ }
937
+ _addTouchEventListeners() {
938
+ for (const t of f.find(".carousel-item img", this._element)) l.on(t, Rs, (n) => n.preventDefault());
939
+ const e = { leftCallback: () => this._slide(this._directionToOrder(Re)), rightCallback: () => this._slide(this._directionToOrder(mt)), endCallback: () => {
940
+ this._config.pause === "hover" && (this.pause(), this.touchTimeout && clearTimeout(this.touchTimeout), this.touchTimeout = setTimeout(() => this._maybeEnableCycle(), 500 + this._config.interval));
941
+ } };
942
+ this._swipeHelper = new pt(this._element, e);
943
+ }
944
+ _keydown(e) {
945
+ if (/input|textarea/i.test(e.target.tagName)) return;
946
+ const t = Ks[e.key];
947
+ t && (e.preventDefault(), this._slide(this._directionToOrder(t)));
948
+ }
949
+ _getItemIndex(e) {
950
+ return this._getItems().indexOf(e);
951
+ }
952
+ _setActiveIndicatorElement(e) {
953
+ if (!this._indicatorsElement) return;
954
+ const t = f.findOne(fn, this._indicatorsElement);
955
+ t.classList.remove(gt), t.removeAttribute("aria-current");
956
+ const n = f.findOne(`[data-bs-slide-to="${e}"]`, this._indicatorsElement);
957
+ n && (n.classList.add(gt), n.setAttribute("aria-current", "true"));
958
+ }
959
+ _updateInterval() {
960
+ const e = this._activeElement || this._getActive();
961
+ if (!e) return;
962
+ const t = Number.parseInt(e.getAttribute("data-bs-interval"), 10);
963
+ this._config.interval = t || this._config.defaultInterval;
964
+ }
965
+ _slide(e, t = null) {
966
+ if (this._isSliding) return;
967
+ const n = this._getActive(), s = e === it, o = t || Ut(this._getItems(), n, s, this._config.wrap);
968
+ if (o === n) return;
969
+ const r = this._getItemIndex(o), a = (u) => l.trigger(this._element, u, { relatedTarget: o, direction: this._orderToDirection(e), from: this._getItemIndex(n), to: r });
970
+ if (a(Hs).defaultPrevented || !n || !o) return;
971
+ const c = !!this._interval;
972
+ this.pause(), this._isSliding = !0, this._setActiveIndicatorElement(r), this._activeElement = o;
973
+ const h = s ? "carousel-item-start" : "carousel-item-end", d = s ? "carousel-item-next" : "carousel-item-prev";
974
+ o.classList.add(d), et(o), n.classList.add(h), o.classList.add(h), this._queueCallback(() => {
975
+ o.classList.remove(h, d), o.classList.add(gt), n.classList.remove(gt, d, h), this._isSliding = !1, a(Gt);
976
+ }, n, this._isAnimated()), c && this.cycle();
977
+ }
978
+ _isAnimated() {
979
+ return this._element.classList.contains("slide");
980
+ }
981
+ _getActive() {
982
+ return f.findOne(Us, this._element);
983
+ }
984
+ _getItems() {
985
+ return f.find(pn, this._element);
986
+ }
987
+ _clearInterval() {
988
+ this._interval && (clearInterval(this._interval), this._interval = null);
989
+ }
990
+ _directionToOrder(e) {
991
+ return V() ? e === Re ? We : it : e === Re ? it : We;
992
+ }
993
+ _orderToDirection(e) {
994
+ return V() ? e === We ? Re : mt : e === We ? mt : Re;
995
+ }
996
+ static jQueryInterface(e) {
997
+ return this.each(function() {
998
+ const t = Ee.getOrCreateInstance(this, e);
999
+ if (typeof e != "number") {
1000
+ if (typeof e == "string") {
1001
+ if (t[e] === void 0 || e.startsWith("_") || e === "constructor") throw new TypeError(`No method named "${e}"`);
1002
+ t[e]();
1003
+ }
1004
+ } else t.to(e);
1005
+ });
1006
+ }
1007
+ }
1008
+ l.on(document, Vs, "[data-bs-slide], [data-bs-slide-to]", function(i) {
1009
+ const e = f.getElementFromSelector(this);
1010
+ if (!e || !e.classList.contains(dn)) return;
1011
+ i.preventDefault();
1012
+ const t = Ee.getOrCreateInstance(e), n = this.getAttribute("data-bs-slide-to");
1013
+ return n ? (t.to(n), void t._maybeEnableCycle()) : ae.getDataAttribute(this, "slide") === "next" ? (t.next(), void t._maybeEnableCycle()) : (t.prev(), void t._maybeEnableCycle());
1014
+ }), l.on(window, Bs, () => {
1015
+ const i = f.find('[data-bs-ride="carousel"]');
1016
+ for (const e of i) Ee.getOrCreateInstance(e);
1017
+ }), U(Ee);
1018
+ const nt = ".bs.collapse", Ys = `show${nt}`, Js = `shown${nt}`, Gs = `hide${nt}`, Zs = `hidden${nt}`, eo = `click${nt}.data-api`, Zt = "show", Be = "collapse", _t = "collapsing", to = `:scope .${Be} .${Be}`, ei = '[data-bs-toggle="collapse"]', io = { parent: null, toggle: !0 }, no = { parent: "(null|element)", toggle: "boolean" };
1019
+ class Te extends J {
1020
+ constructor(e, t) {
1021
+ super(e, t), this._isTransitioning = !1, this._triggerArray = [];
1022
+ const n = f.find(ei);
1023
+ for (const s of n) {
1024
+ const o = f.getSelectorFromElement(s), r = f.find(o).filter((a) => a === this._element);
1025
+ o !== null && r.length && this._triggerArray.push(s);
1026
+ }
1027
+ this._initializeChildren(), this._config.parent || this._addAriaAndCollapsedClass(this._triggerArray, this._isShown()), this._config.toggle && this.toggle();
1028
+ }
1029
+ static get Default() {
1030
+ return io;
1031
+ }
1032
+ static get DefaultType() {
1033
+ return no;
1034
+ }
1035
+ static get NAME() {
1036
+ return "collapse";
1037
+ }
1038
+ toggle() {
1039
+ this._isShown() ? this.hide() : this.show();
1040
+ }
1041
+ show() {
1042
+ if (this._isTransitioning || this._isShown()) return;
1043
+ let e = [];
1044
+ if (this._config.parent && (e = this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((s) => s !== this._element).map((s) => Te.getOrCreateInstance(s, { toggle: !1 }))), e.length && e[0]._isTransitioning || l.trigger(this._element, Ys).defaultPrevented) return;
1045
+ for (const s of e) s.hide();
1046
+ const t = this._getDimension();
1047
+ this._element.classList.remove(Be), this._element.classList.add(_t), this._element.style[t] = 0, this._addAriaAndCollapsedClass(this._triggerArray, !0), this._isTransitioning = !0;
1048
+ const n = `scroll${t[0].toUpperCase() + t.slice(1)}`;
1049
+ this._queueCallback(() => {
1050
+ this._isTransitioning = !1, this._element.classList.remove(_t), this._element.classList.add(Be, Zt), this._element.style[t] = "", l.trigger(this._element, Js);
1051
+ }, this._element, !0), this._element.style[t] = `${this._element[n]}px`;
1052
+ }
1053
+ hide() {
1054
+ if (this._isTransitioning || !this._isShown() || l.trigger(this._element, Gs).defaultPrevented) return;
1055
+ const e = this._getDimension();
1056
+ this._element.style[e] = `${this._element.getBoundingClientRect()[e]}px`, et(this._element), this._element.classList.add(_t), this._element.classList.remove(Be, Zt);
1057
+ for (const t of this._triggerArray) {
1058
+ const n = f.getElementFromSelector(t);
1059
+ n && !this._isShown(n) && this._addAriaAndCollapsedClass([t], !1);
1060
+ }
1061
+ this._isTransitioning = !0, this._element.style[e] = "", this._queueCallback(() => {
1062
+ this._isTransitioning = !1, this._element.classList.remove(_t), this._element.classList.add(Be), l.trigger(this._element, Zs);
1063
+ }, this._element, !0);
1064
+ }
1065
+ _isShown(e = this._element) {
1066
+ return e.classList.contains(Zt);
1067
+ }
1068
+ _configAfterMerge(e) {
1069
+ return e.toggle = !!e.toggle, e.parent = pe(e.parent), e;
1070
+ }
1071
+ _getDimension() {
1072
+ return this._element.classList.contains("collapse-horizontal") ? "width" : "height";
1073
+ }
1074
+ _initializeChildren() {
1075
+ if (!this._config.parent) return;
1076
+ const e = this._getFirstLevelChildren(ei);
1077
+ for (const t of e) {
1078
+ const n = f.getElementFromSelector(t);
1079
+ n && this._addAriaAndCollapsedClass([t], this._isShown(n));
1080
+ }
1081
+ }
1082
+ _getFirstLevelChildren(e) {
1083
+ const t = f.find(to, this._config.parent);
1084
+ return f.find(e, this._config.parent).filter((n) => !t.includes(n));
1085
+ }
1086
+ _addAriaAndCollapsedClass(e, t) {
1087
+ if (e.length) for (const n of e) n.classList.toggle("collapsed", !t), n.setAttribute("aria-expanded", t);
1088
+ }
1089
+ static jQueryInterface(e) {
1090
+ const t = {};
1091
+ return typeof e == "string" && /show|hide/.test(e) && (t.toggle = !1), this.each(function() {
1092
+ const n = Te.getOrCreateInstance(this, t);
1093
+ if (typeof e == "string") {
1094
+ if (n[e] === void 0) throw new TypeError(`No method named "${e}"`);
1095
+ n[e]();
1096
+ }
1097
+ });
1098
+ }
1099
+ }
1100
+ l.on(document, eo, ei, function(i) {
1101
+ (i.target.tagName === "A" || i.delegateTarget && i.delegateTarget.tagName === "A") && i.preventDefault();
1102
+ for (const e of f.getMultipleElementsFromSelector(this)) Te.getOrCreateInstance(e, { toggle: !1 }).toggle();
1103
+ }), U(Te);
1104
+ const mn = "dropdown", Ce = ".bs.dropdown", ti = ".data-api", so = "ArrowUp", gn = "ArrowDown", oo = `hide${Ce}`, ro = `hidden${Ce}`, ao = `show${Ce}`, lo = `shown${Ce}`, _n = `click${Ce}${ti}`, bn = `keydown${Ce}${ti}`, co = `keyup${Ce}${ti}`, Ve = "show", Oe = '[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)', uo = `${Oe}.${Ve}`, bt = ".dropdown-menu", ho = V() ? "top-end" : "top-start", fo = V() ? "top-start" : "top-end", po = V() ? "bottom-end" : "bottom-start", mo = V() ? "bottom-start" : "bottom-end", go = V() ? "left-start" : "right-start", _o = V() ? "right-start" : "left-start", bo = { autoClose: !0, boundary: "clippingParents", display: "dynamic", offset: [0, 2], popperConfig: null, reference: "toggle" }, vo = { autoClose: "(boolean|string)", boundary: "(string|element)", display: "string", offset: "(array|string|function)", popperConfig: "(null|object|function)", reference: "(string|element|object)" };
1105
+ class W extends J {
1106
+ constructor(e, t) {
1107
+ super(e, t), this._popper = null, this._parent = this._element.parentNode, this._menu = f.next(this._element, bt)[0] || f.prev(this._element, bt)[0] || f.findOne(bt, this._parent), this._inNavbar = this._detectNavbar();
1108
+ }
1109
+ static get Default() {
1110
+ return bo;
1111
+ }
1112
+ static get DefaultType() {
1113
+ return vo;
1114
+ }
1115
+ static get NAME() {
1116
+ return mn;
1117
+ }
1118
+ toggle() {
1119
+ return this._isShown() ? this.hide() : this.show();
1120
+ }
1121
+ show() {
1122
+ if (me(this._element) || this._isShown()) return;
1123
+ const e = { relatedTarget: this._element };
1124
+ if (!l.trigger(this._element, ao, e).defaultPrevented) {
1125
+ if (this._createPopper(), "ontouchstart" in document.documentElement && !this._parent.closest(".navbar-nav")) for (const t of [].concat(...document.body.children)) l.on(t, "mouseover", dt);
1126
+ this._element.focus(), this._element.setAttribute("aria-expanded", !0), this._menu.classList.add(Ve), this._element.classList.add(Ve), l.trigger(this._element, lo, e);
1127
+ }
1128
+ }
1129
+ hide() {
1130
+ if (me(this._element) || !this._isShown()) return;
1131
+ const e = { relatedTarget: this._element };
1132
+ this._completeHide(e);
1133
+ }
1134
+ dispose() {
1135
+ this._popper && this._popper.destroy(), super.dispose();
1136
+ }
1137
+ update() {
1138
+ this._inNavbar = this._detectNavbar(), this._popper && this._popper.update();
1139
+ }
1140
+ _completeHide(e) {
1141
+ if (!l.trigger(this._element, oo, e).defaultPrevented) {
1142
+ if ("ontouchstart" in document.documentElement) for (const t of [].concat(...document.body.children)) l.off(t, "mouseover", dt);
1143
+ this._popper && this._popper.destroy(), this._menu.classList.remove(Ve), this._element.classList.remove(Ve), this._element.setAttribute("aria-expanded", "false"), ae.removeDataAttribute(this._menu, "popper"), l.trigger(this._element, ro, e), this._element.focus();
1144
+ }
1145
+ }
1146
+ _getConfig(e) {
1147
+ if (typeof (e = super._getConfig(e)).reference == "object" && !re(e.reference) && typeof e.reference.getBoundingClientRect != "function") throw new TypeError(`${mn.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);
1148
+ return e;
1149
+ }
1150
+ _createPopper() {
1151
+ if (Ki === void 0) throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");
1152
+ let e = this._element;
1153
+ this._config.reference === "parent" ? e = this._parent : re(this._config.reference) ? e = pe(this._config.reference) : typeof this._config.reference == "object" && (e = this._config.reference);
1154
+ const t = this._getPopperConfig();
1155
+ this._popper = Wt(e, this._menu, t);
1156
+ }
1157
+ _isShown() {
1158
+ return this._menu.classList.contains(Ve);
1159
+ }
1160
+ _getPlacement() {
1161
+ const e = this._parent;
1162
+ if (e.classList.contains("dropend")) return go;
1163
+ if (e.classList.contains("dropstart")) return _o;
1164
+ if (e.classList.contains("dropup-center")) return "top";
1165
+ if (e.classList.contains("dropdown-center")) return "bottom";
1166
+ const t = getComputedStyle(this._menu).getPropertyValue("--bs-position").trim() === "end";
1167
+ return e.classList.contains("dropup") ? t ? fo : ho : t ? mo : po;
1168
+ }
1169
+ _detectNavbar() {
1170
+ return this._element.closest(".navbar") !== null;
1171
+ }
1172
+ _getOffset() {
1173
+ const { offset: e } = this._config;
1174
+ return typeof e == "string" ? e.split(",").map((t) => Number.parseInt(t, 10)) : typeof e == "function" ? (t) => e(t, this._element) : e;
1175
+ }
1176
+ _getPopperConfig() {
1177
+ const e = { placement: this._getPlacement(), modifiers: [{ name: "preventOverflow", options: { boundary: this._config.boundary } }, { name: "offset", options: { offset: this._getOffset() } }] };
1178
+ return (this._inNavbar || this._config.display === "static") && (ae.setDataAttribute(this._menu, "popper", "static"), e.modifiers = [{ name: "applyStyles", enabled: !1 }]), { ...e, ...M(this._config.popperConfig, [void 0, e]) };
1179
+ }
1180
+ _selectMenuItem({ key: e, target: t }) {
1181
+ const n = f.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)", this._menu).filter((s) => Fe(s));
1182
+ n.length && Ut(n, t, e === gn, !n.includes(t)).focus();
1183
+ }
1184
+ static jQueryInterface(e) {
1185
+ return this.each(function() {
1186
+ const t = W.getOrCreateInstance(this, e);
1187
+ if (typeof e == "string") {
1188
+ if (t[e] === void 0) throw new TypeError(`No method named "${e}"`);
1189
+ t[e]();
1190
+ }
1191
+ });
1192
+ }
1193
+ static clearMenus(e) {
1194
+ if (e.button === 2 || e.type === "keyup" && e.key !== "Tab") return;
1195
+ const t = f.find(uo);
1196
+ for (const n of t) {
1197
+ const s = W.getInstance(n);
1198
+ if (!s || s._config.autoClose === !1) continue;
1199
+ const o = e.composedPath(), r = o.includes(s._menu);
1200
+ if (o.includes(s._element) || s._config.autoClose === "inside" && !r || s._config.autoClose === "outside" && r || s._menu.contains(e.target) && (e.type === "keyup" && e.key === "Tab" || /input|select|option|textarea|form/i.test(e.target.tagName))) continue;
1201
+ const a = { relatedTarget: s._element };
1202
+ e.type === "click" && (a.clickEvent = e), s._completeHide(a);
1203
+ }
1204
+ }
1205
+ static dataApiKeydownHandler(e) {
1206
+ const t = /input|textarea/i.test(e.target.tagName), n = e.key === "Escape", s = [so, gn].includes(e.key);
1207
+ if (!s && !n || t && !n) return;
1208
+ e.preventDefault();
1209
+ const o = this.matches(Oe) ? this : f.prev(this, Oe)[0] || f.next(this, Oe)[0] || f.findOne(Oe, e.delegateTarget.parentNode), r = W.getOrCreateInstance(o);
1210
+ if (s) return e.stopPropagation(), r.show(), void r._selectMenuItem(e);
1211
+ r._isShown() && (e.stopPropagation(), r.hide(), o.focus());
1212
+ }
1213
+ }
1214
+ l.on(document, bn, Oe, W.dataApiKeydownHandler), l.on(document, bn, bt, W.dataApiKeydownHandler), l.on(document, _n, W.clearMenus), l.on(document, co, W.clearMenus), l.on(document, _n, Oe, function(i) {
1215
+ i.preventDefault(), W.getOrCreateInstance(this).toggle();
1216
+ }), U(W);
1217
+ const vn = "backdrop", yn = "show", wn = `mousedown.bs.${vn}`, yo = { className: "modal-backdrop", clickCallback: null, isAnimated: !1, isVisible: !0, rootElement: "body" }, wo = { className: "string", clickCallback: "(function|null)", isAnimated: "boolean", isVisible: "boolean", rootElement: "(element|string)" };
1218
+ class An extends tt {
1219
+ constructor(e) {
1220
+ super(), this._config = this._getConfig(e), this._isAppended = !1, this._element = null;
1221
+ }
1222
+ static get Default() {
1223
+ return yo;
1224
+ }
1225
+ static get DefaultType() {
1226
+ return wo;
1227
+ }
1228
+ static get NAME() {
1229
+ return vn;
1230
+ }
1231
+ show(e) {
1232
+ if (!this._config.isVisible) return void M(e);
1233
+ this._append();
1234
+ const t = this._getElement();
1235
+ this._config.isAnimated && et(t), t.classList.add(yn), this._emulateAnimation(() => {
1236
+ M(e);
1237
+ });
1238
+ }
1239
+ hide(e) {
1240
+ this._config.isVisible ? (this._getElement().classList.remove(yn), this._emulateAnimation(() => {
1241
+ this.dispose(), M(e);
1242
+ })) : M(e);
1243
+ }
1244
+ dispose() {
1245
+ this._isAppended && (l.off(this._element, wn), this._element.remove(), this._isAppended = !1);
1246
+ }
1247
+ _getElement() {
1248
+ if (!this._element) {
1249
+ const e = document.createElement("div");
1250
+ e.className = this._config.className, this._config.isAnimated && e.classList.add("fade"), this._element = e;
1251
+ }
1252
+ return this._element;
1253
+ }
1254
+ _configAfterMerge(e) {
1255
+ return e.rootElement = pe(e.rootElement), e;
1256
+ }
1257
+ _append() {
1258
+ if (this._isAppended) return;
1259
+ const e = this._getElement();
1260
+ this._config.rootElement.append(e), l.on(e, wn, () => {
1261
+ M(this._config.clickCallback);
1262
+ }), this._isAppended = !0;
1263
+ }
1264
+ _emulateAnimation(e) {
1265
+ Gi(e, this._getElement(), this._config.isAnimated);
1266
+ }
1267
+ }
1268
+ const vt = ".bs.focustrap", Ao = `focusin${vt}`, Eo = `keydown.tab${vt}`, En = "backward", To = { autofocus: !0, trapElement: null }, Co = { autofocus: "boolean", trapElement: "element" };
1269
+ class Tn extends tt {
1270
+ constructor(e) {
1271
+ super(), this._config = this._getConfig(e), this._isActive = !1, this._lastTabNavDirection = null;
1272
+ }
1273
+ static get Default() {
1274
+ return To;
1275
+ }
1276
+ static get DefaultType() {
1277
+ return Co;
1278
+ }
1279
+ static get NAME() {
1280
+ return "focustrap";
1281
+ }
1282
+ activate() {
1283
+ this._isActive || (this._config.autofocus && this._config.trapElement.focus(), l.off(document, vt), l.on(document, Ao, (e) => this._handleFocusin(e)), l.on(document, Eo, (e) => this._handleKeydown(e)), this._isActive = !0);
1284
+ }
1285
+ deactivate() {
1286
+ this._isActive && (this._isActive = !1, l.off(document, vt));
1287
+ }
1288
+ _handleFocusin(e) {
1289
+ const { trapElement: t } = this._config;
1290
+ if (e.target === document || e.target === t || t.contains(e.target)) return;
1291
+ const n = f.focusableChildren(t);
1292
+ n.length === 0 ? t.focus() : this._lastTabNavDirection === En ? n[n.length - 1].focus() : n[0].focus();
1293
+ }
1294
+ _handleKeydown(e) {
1295
+ e.key === "Tab" && (this._lastTabNavDirection = e.shiftKey ? En : "forward");
1296
+ }
1297
+ }
1298
+ const Cn = ".fixed-top, .fixed-bottom, .is-fixed, .sticky-top", On = ".sticky-top", yt = "padding-right", xn = "margin-right";
1299
+ class ii {
1300
+ constructor() {
1301
+ this._element = document.body;
1302
+ }
1303
+ getWidth() {
1304
+ const e = document.documentElement.clientWidth;
1305
+ return Math.abs(window.innerWidth - e);
1306
+ }
1307
+ hide() {
1308
+ const e = this.getWidth();
1309
+ this._disableOverFlow(), this._setElementAttributes(this._element, yt, (t) => t + e), this._setElementAttributes(Cn, yt, (t) => t + e), this._setElementAttributes(On, xn, (t) => t - e);
1310
+ }
1311
+ reset() {
1312
+ this._resetElementAttributes(this._element, "overflow"), this._resetElementAttributes(this._element, yt), this._resetElementAttributes(Cn, yt), this._resetElementAttributes(On, xn);
1313
+ }
1314
+ isOverflowing() {
1315
+ return this.getWidth() > 0;
1316
+ }
1317
+ _disableOverFlow() {
1318
+ this._saveInitialAttribute(this._element, "overflow"), this._element.style.overflow = "hidden";
1319
+ }
1320
+ _setElementAttributes(e, t, n) {
1321
+ const s = this.getWidth();
1322
+ this._applyManipulationCallback(e, (o) => {
1323
+ if (o !== this._element && window.innerWidth > o.clientWidth + s) return;
1324
+ this._saveInitialAttribute(o, t);
1325
+ const r = window.getComputedStyle(o).getPropertyValue(t);
1326
+ o.style.setProperty(t, `${n(Number.parseFloat(r))}px`);
1327
+ });
1328
+ }
1329
+ _saveInitialAttribute(e, t) {
1330
+ const n = e.style.getPropertyValue(t);
1331
+ n && ae.setDataAttribute(e, t, n);
1332
+ }
1333
+ _resetElementAttributes(e, t) {
1334
+ this._applyManipulationCallback(e, (n) => {
1335
+ const s = ae.getDataAttribute(n, t);
1336
+ s !== null ? (ae.removeDataAttribute(n, t), n.style.setProperty(t, s)) : n.style.removeProperty(t);
1337
+ });
1338
+ }
1339
+ _applyManipulationCallback(e, t) {
1340
+ if (re(e)) t(e);
1341
+ else for (const n of f.find(e, this._element)) t(n);
1342
+ }
1343
+ }
1344
+ const K = ".bs.modal", Oo = `hide${K}`, xo = `hidePrevented${K}`, kn = `hidden${K}`, Sn = `show${K}`, ko = `shown${K}`, So = `resize${K}`, Lo = `click.dismiss${K}`, $o = `mousedown.dismiss${K}`, Do = `keydown.dismiss${K}`, Io = `click${K}.data-api`, Ln = "modal-open", $n = "show", ni = "modal-static", Po = { backdrop: !0, focus: !0, keyboard: !0 }, No = { backdrop: "(boolean|string)", focus: "boolean", keyboard: "boolean" };
1345
+ class _e extends J {
1346
+ constructor(e, t) {
1347
+ super(e, t), this._dialog = f.findOne(".modal-dialog", this._element), this._backdrop = this._initializeBackDrop(), this._focustrap = this._initializeFocusTrap(), this._isShown = !1, this._isTransitioning = !1, this._scrollBar = new ii(), this._addEventListeners();
1348
+ }
1349
+ static get Default() {
1350
+ return Po;
1351
+ }
1352
+ static get DefaultType() {
1353
+ return No;
1354
+ }
1355
+ static get NAME() {
1356
+ return "modal";
1357
+ }
1358
+ toggle(e) {
1359
+ return this._isShown ? this.hide() : this.show(e);
1360
+ }
1361
+ show(e) {
1362
+ this._isShown || this._isTransitioning || l.trigger(this._element, Sn, { relatedTarget: e }).defaultPrevented || (this._isShown = !0, this._isTransitioning = !0, this._scrollBar.hide(), document.body.classList.add(Ln), this._adjustDialog(), this._backdrop.show(() => this._showElement(e)));
1363
+ }
1364
+ hide() {
1365
+ this._isShown && !this._isTransitioning && (l.trigger(this._element, Oo).defaultPrevented || (this._isShown = !1, this._isTransitioning = !0, this._focustrap.deactivate(), this._element.classList.remove($n), this._queueCallback(() => this._hideModal(), this._element, this._isAnimated())));
1366
+ }
1367
+ dispose() {
1368
+ l.off(window, K), l.off(this._dialog, K), this._backdrop.dispose(), this._focustrap.deactivate(), super.dispose();
1369
+ }
1370
+ handleUpdate() {
1371
+ this._adjustDialog();
1372
+ }
1373
+ _initializeBackDrop() {
1374
+ return new An({ isVisible: !!this._config.backdrop, isAnimated: this._isAnimated() });
1375
+ }
1376
+ _initializeFocusTrap() {
1377
+ return new Tn({ trapElement: this._element });
1378
+ }
1379
+ _showElement(e) {
1380
+ 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", !0), this._element.setAttribute("role", "dialog"), this._element.scrollTop = 0;
1381
+ const t = f.findOne(".modal-body", this._dialog);
1382
+ t && (t.scrollTop = 0), et(this._element), this._element.classList.add($n), this._queueCallback(() => {
1383
+ this._config.focus && this._focustrap.activate(), this._isTransitioning = !1, l.trigger(this._element, ko, { relatedTarget: e });
1384
+ }, this._dialog, this._isAnimated());
1385
+ }
1386
+ _addEventListeners() {
1387
+ l.on(this._element, Do, (e) => {
1388
+ e.key === "Escape" && (this._config.keyboard ? this.hide() : this._triggerBackdropTransition());
1389
+ }), l.on(window, So, () => {
1390
+ this._isShown && !this._isTransitioning && this._adjustDialog();
1391
+ }), l.on(this._element, $o, (e) => {
1392
+ l.one(this._element, Lo, (t) => {
1393
+ this._element === e.target && this._element === t.target && (this._config.backdrop !== "static" ? this._config.backdrop && this.hide() : this._triggerBackdropTransition());
1394
+ });
1395
+ });
1396
+ }
1397
+ _hideModal() {
1398
+ 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(() => {
1399
+ document.body.classList.remove(Ln), this._resetAdjustments(), this._scrollBar.reset(), l.trigger(this._element, kn);
1400
+ });
1401
+ }
1402
+ _isAnimated() {
1403
+ return this._element.classList.contains("fade");
1404
+ }
1405
+ _triggerBackdropTransition() {
1406
+ if (l.trigger(this._element, xo).defaultPrevented) return;
1407
+ const e = this._element.scrollHeight > document.documentElement.clientHeight, t = this._element.style.overflowY;
1408
+ t === "hidden" || this._element.classList.contains(ni) || (e || (this._element.style.overflowY = "hidden"), this._element.classList.add(ni), this._queueCallback(() => {
1409
+ this._element.classList.remove(ni), this._queueCallback(() => {
1410
+ this._element.style.overflowY = t;
1411
+ }, this._dialog);
1412
+ }, this._dialog), this._element.focus());
1413
+ }
1414
+ _adjustDialog() {
1415
+ const e = this._element.scrollHeight > document.documentElement.clientHeight, t = this._scrollBar.getWidth(), n = t > 0;
1416
+ if (n && !e) {
1417
+ const s = V() ? "paddingLeft" : "paddingRight";
1418
+ this._element.style[s] = `${t}px`;
1419
+ }
1420
+ if (!n && e) {
1421
+ const s = V() ? "paddingRight" : "paddingLeft";
1422
+ this._element.style[s] = `${t}px`;
1423
+ }
1424
+ }
1425
+ _resetAdjustments() {
1426
+ this._element.style.paddingLeft = "", this._element.style.paddingRight = "";
1427
+ }
1428
+ static jQueryInterface(e, t) {
1429
+ return this.each(function() {
1430
+ const n = _e.getOrCreateInstance(this, e);
1431
+ if (typeof e == "string") {
1432
+ if (n[e] === void 0) throw new TypeError(`No method named "${e}"`);
1433
+ n[e](t);
1434
+ }
1435
+ });
1436
+ }
1437
+ }
1438
+ l.on(document, Io, '[data-bs-toggle="modal"]', function(i) {
1439
+ const e = f.getElementFromSelector(this);
1440
+ ["A", "AREA"].includes(this.tagName) && i.preventDefault(), l.one(e, Sn, (n) => {
1441
+ n.defaultPrevented || l.one(e, kn, () => {
1442
+ Fe(this) && this.focus();
1443
+ });
1444
+ });
1445
+ const t = f.findOne(".modal.show");
1446
+ t && _e.getInstance(t).hide(), _e.getOrCreateInstance(e).toggle(this);
1447
+ }), ft(_e), U(_e);
1448
+ const le = ".bs.offcanvas", Dn = ".data-api", jo = `load${le}${Dn}`, In = "show", Pn = "showing", Nn = "hiding", jn = ".offcanvas.show", Mo = `show${le}`, Fo = `shown${le}`, Ho = `hide${le}`, Mn = `hidePrevented${le}`, Fn = `hidden${le}`, qo = `resize${le}`, zo = `click${le}${Dn}`, Wo = `keydown.dismiss${le}`, Ro = { backdrop: !0, keyboard: !0, scroll: !1 }, Bo = { backdrop: "(boolean|string)", keyboard: "boolean", scroll: "boolean" };
1449
+ class ie extends J {
1450
+ constructor(e, t) {
1451
+ super(e, t), this._isShown = !1, this._backdrop = this._initializeBackDrop(), this._focustrap = this._initializeFocusTrap(), this._addEventListeners();
1452
+ }
1453
+ static get Default() {
1454
+ return Ro;
1455
+ }
1456
+ static get DefaultType() {
1457
+ return Bo;
1458
+ }
1459
+ static get NAME() {
1460
+ return "offcanvas";
1461
+ }
1462
+ toggle(e) {
1463
+ return this._isShown ? this.hide() : this.show(e);
1464
+ }
1465
+ show(e) {
1466
+ this._isShown || l.trigger(this._element, Mo, { relatedTarget: e }).defaultPrevented || (this._isShown = !0, this._backdrop.show(), this._config.scroll || new ii().hide(), this._element.setAttribute("aria-modal", !0), this._element.setAttribute("role", "dialog"), this._element.classList.add(Pn), this._queueCallback(() => {
1467
+ this._config.scroll && !this._config.backdrop || this._focustrap.activate(), this._element.classList.add(In), this._element.classList.remove(Pn), l.trigger(this._element, Fo, { relatedTarget: e });
1468
+ }, this._element, !0));
1469
+ }
1470
+ hide() {
1471
+ this._isShown && (l.trigger(this._element, Ho).defaultPrevented || (this._focustrap.deactivate(), this._element.blur(), this._isShown = !1, this._element.classList.add(Nn), this._backdrop.hide(), this._queueCallback(() => {
1472
+ this._element.classList.remove(In, Nn), this._element.removeAttribute("aria-modal"), this._element.removeAttribute("role"), this._config.scroll || new ii().reset(), l.trigger(this._element, Fn);
1473
+ }, this._element, !0)));
1474
+ }
1475
+ dispose() {
1476
+ this._backdrop.dispose(), this._focustrap.deactivate(), super.dispose();
1477
+ }
1478
+ _initializeBackDrop() {
1479
+ const e = !!this._config.backdrop;
1480
+ return new An({ className: "offcanvas-backdrop", isVisible: e, isAnimated: !0, rootElement: this._element.parentNode, clickCallback: e ? () => {
1481
+ this._config.backdrop !== "static" ? this.hide() : l.trigger(this._element, Mn);
1482
+ } : null });
1483
+ }
1484
+ _initializeFocusTrap() {
1485
+ return new Tn({ trapElement: this._element });
1486
+ }
1487
+ _addEventListeners() {
1488
+ l.on(this._element, Wo, (e) => {
1489
+ e.key === "Escape" && (this._config.keyboard ? this.hide() : l.trigger(this._element, Mn));
1490
+ });
1491
+ }
1492
+ static jQueryInterface(e) {
1493
+ return this.each(function() {
1494
+ const t = ie.getOrCreateInstance(this, e);
1495
+ if (typeof e == "string") {
1496
+ if (t[e] === void 0 || e.startsWith("_") || e === "constructor") throw new TypeError(`No method named "${e}"`);
1497
+ t[e](this);
1498
+ }
1499
+ });
1500
+ }
1501
+ }
1502
+ l.on(document, zo, '[data-bs-toggle="offcanvas"]', function(i) {
1503
+ const e = f.getElementFromSelector(this);
1504
+ if (["A", "AREA"].includes(this.tagName) && i.preventDefault(), me(this)) return;
1505
+ l.one(e, Fn, () => {
1506
+ Fe(this) && this.focus();
1507
+ });
1508
+ const t = f.findOne(jn);
1509
+ t && t !== e && ie.getInstance(t).hide(), ie.getOrCreateInstance(e).toggle(this);
1510
+ }), l.on(window, jo, () => {
1511
+ for (const i of f.find(jn)) ie.getOrCreateInstance(i).show();
1512
+ }), l.on(window, qo, () => {
1513
+ for (const i of f.find("[aria-modal][class*=show][class*=offcanvas-]")) getComputedStyle(i).position !== "fixed" && ie.getOrCreateInstance(i).hide();
1514
+ }), ft(ie), U(ie);
1515
+ const Hn = { "*": ["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: [] }, Vo = /* @__PURE__ */ new Set(["background", "cite", "href", "itemtype", "longdesc", "poster", "src", "xlink:href"]), Uo = /^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i, Ko = (i, e) => {
1516
+ const t = i.nodeName.toLowerCase();
1517
+ return e.includes(t) ? !Vo.has(t) || !!Uo.test(i.nodeValue) : e.filter((n) => n instanceof RegExp).some((n) => n.test(t));
1518
+ }, Qo = { allowList: Hn, content: {}, extraClass: "", html: !1, sanitize: !0, sanitizeFn: null, template: "<div></div>" }, Xo = { allowList: "object", content: "object", extraClass: "(string|function)", html: "boolean", sanitize: "boolean", sanitizeFn: "(null|function)", template: "string" }, Yo = { entry: "(string|element|function|null)", selector: "(string|element)" };
1519
+ class Jo extends tt {
1520
+ constructor(e) {
1521
+ super(), this._config = this._getConfig(e);
1522
+ }
1523
+ static get Default() {
1524
+ return Qo;
1525
+ }
1526
+ static get DefaultType() {
1527
+ return Xo;
1528
+ }
1529
+ static get NAME() {
1530
+ return "TemplateFactory";
1531
+ }
1532
+ getContent() {
1533
+ return Object.values(this._config.content).map((e) => this._resolvePossibleFunction(e)).filter(Boolean);
1534
+ }
1535
+ hasContent() {
1536
+ return this.getContent().length > 0;
1537
+ }
1538
+ changeContent(e) {
1539
+ return this._checkContent(e), this._config.content = { ...this._config.content, ...e }, this;
1540
+ }
1541
+ toHtml() {
1542
+ const e = document.createElement("div");
1543
+ e.innerHTML = this._maybeSanitize(this._config.template);
1544
+ for (const [s, o] of Object.entries(this._config.content)) this._setContent(e, o, s);
1545
+ const t = e.children[0], n = this._resolvePossibleFunction(this._config.extraClass);
1546
+ return n && t.classList.add(...n.split(" ")), t;
1547
+ }
1548
+ _typeCheckConfig(e) {
1549
+ super._typeCheckConfig(e), this._checkContent(e.content);
1550
+ }
1551
+ _checkContent(e) {
1552
+ for (const [t, n] of Object.entries(e)) super._typeCheckConfig({ selector: t, entry: n }, Yo);
1553
+ }
1554
+ _setContent(e, t, n) {
1555
+ const s = f.findOne(n, e);
1556
+ s && ((t = this._resolvePossibleFunction(t)) ? re(t) ? this._putElementInTemplate(pe(t), s) : this._config.html ? s.innerHTML = this._maybeSanitize(t) : s.textContent = t : s.remove());
1557
+ }
1558
+ _maybeSanitize(e) {
1559
+ return this._config.sanitize ? (function(t, n, s) {
1560
+ if (!t.length) return t;
1561
+ if (s && typeof s == "function") return s(t);
1562
+ const o = new window.DOMParser().parseFromString(t, "text/html"), r = [].concat(...o.body.querySelectorAll("*"));
1563
+ for (const a of r) {
1564
+ const c = a.nodeName.toLowerCase();
1565
+ if (!Object.keys(n).includes(c)) {
1566
+ a.remove();
1567
+ continue;
1568
+ }
1569
+ const h = [].concat(...a.attributes), d = [].concat(n["*"] || [], n[c] || []);
1570
+ for (const u of h) Ko(u, d) || a.removeAttribute(u.nodeName);
1571
+ }
1572
+ return o.body.innerHTML;
1573
+ })(e, this._config.allowList, this._config.sanitizeFn) : e;
1574
+ }
1575
+ _resolvePossibleFunction(e) {
1576
+ return M(e, [void 0, this]);
1577
+ }
1578
+ _putElementInTemplate(e, t) {
1579
+ if (this._config.html) return t.innerHTML = "", void t.append(e);
1580
+ t.textContent = e.textContent;
1581
+ }
1582
+ }
1583
+ const Go = /* @__PURE__ */ new Set(["sanitize", "allowList", "sanitizeFn"]), si = "fade", wt = "show", Zo = ".tooltip-inner", qn = ".modal", zn = "hide.bs.modal", st = "hover", oi = "focus", ri = "click", er = { AUTO: "auto", TOP: "top", RIGHT: V() ? "left" : "right", BOTTOM: "bottom", LEFT: V() ? "right" : "left" }, tr = { allowList: Hn, animation: !0, boundary: "clippingParents", container: !1, customClass: "", delay: 0, fallbackPlacements: ["top", "right", "bottom", "left"], html: !1, offset: [0, 6], placement: "top", popperConfig: null, sanitize: !0, sanitizeFn: null, selector: !1, template: '<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>', title: "", trigger: "hover focus" }, ir = { allowList: "object", animation: "boolean", boundary: "(string|element)", container: "(string|element|boolean)", customClass: "(string|function)", delay: "(number|object)", fallbackPlacements: "array", html: "boolean", offset: "(array|string|function)", placement: "(string|function)", popperConfig: "(null|object|function)", sanitize: "boolean", sanitizeFn: "(null|function)", selector: "(string|boolean)", template: "string", title: "(string|element|function)", trigger: "string" };
1584
+ class ce extends J {
1585
+ constructor(e, t) {
1586
+ if (Ki === void 0) throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");
1587
+ super(e, t), this._isEnabled = !0, this._timeout = 0, this._isHovered = null, this._activeTrigger = {}, this._popper = null, this._templateFactory = null, this._newContent = null, this.tip = null, this._setListeners(), this._config.selector || this._fixTitle();
1588
+ }
1589
+ static get Default() {
1590
+ return tr;
1591
+ }
1592
+ static get DefaultType() {
1593
+ return ir;
1594
+ }
1595
+ static get NAME() {
1596
+ return "tooltip";
1597
+ }
1598
+ enable() {
1599
+ this._isEnabled = !0;
1600
+ }
1601
+ disable() {
1602
+ this._isEnabled = !1;
1603
+ }
1604
+ toggleEnabled() {
1605
+ this._isEnabled = !this._isEnabled;
1606
+ }
1607
+ toggle() {
1608
+ this._isEnabled && (this._isShown() ? this._leave() : this._enter());
1609
+ }
1610
+ dispose() {
1611
+ clearTimeout(this._timeout), l.off(this._element.closest(qn), zn, this._hideModalHandler), this._element.getAttribute("data-bs-original-title") && this._element.setAttribute("title", this._element.getAttribute("data-bs-original-title")), this._disposePopper(), super.dispose();
1612
+ }
1613
+ show() {
1614
+ if (this._element.style.display === "none") throw new Error("Please use show on visible elements");
1615
+ if (!this._isWithContent() || !this._isEnabled) return;
1616
+ const e = l.trigger(this._element, this.constructor.eventName("show")), t = (Yi(this._element) || this._element.ownerDocument.documentElement).contains(this._element);
1617
+ if (e.defaultPrevented || !t) return;
1618
+ this._disposePopper();
1619
+ const n = this._getTipElement();
1620
+ this._element.setAttribute("aria-describedby", n.getAttribute("id"));
1621
+ const { container: s } = this._config;
1622
+ if (this._element.ownerDocument.documentElement.contains(this.tip) || (s.append(n), l.trigger(this._element, this.constructor.eventName("inserted"))), this._popper = this._createPopper(n), n.classList.add(wt), "ontouchstart" in document.documentElement) for (const o of [].concat(...document.body.children)) l.on(o, "mouseover", dt);
1623
+ this._queueCallback(() => {
1624
+ l.trigger(this._element, this.constructor.eventName("shown")), this._isHovered === !1 && this._leave(), this._isHovered = !1;
1625
+ }, this.tip, this._isAnimated());
1626
+ }
1627
+ hide() {
1628
+ if (this._isShown() && !l.trigger(this._element, this.constructor.eventName("hide")).defaultPrevented) {
1629
+ if (this._getTipElement().classList.remove(wt), "ontouchstart" in document.documentElement) for (const e of [].concat(...document.body.children)) l.off(e, "mouseover", dt);
1630
+ this._activeTrigger[ri] = !1, this._activeTrigger[oi] = !1, this._activeTrigger[st] = !1, this._isHovered = null, this._queueCallback(() => {
1631
+ this._isWithActiveTrigger() || (this._isHovered || this._disposePopper(), this._element.removeAttribute("aria-describedby"), l.trigger(this._element, this.constructor.eventName("hidden")));
1632
+ }, this.tip, this._isAnimated());
1633
+ }
1634
+ }
1635
+ update() {
1636
+ this._popper && this._popper.update();
1637
+ }
1638
+ _isWithContent() {
1639
+ return !!this._getTitle();
1640
+ }
1641
+ _getTipElement() {
1642
+ return this.tip || (this.tip = this._createTipElement(this._newContent || this._getContentForTemplate())), this.tip;
1643
+ }
1644
+ _createTipElement(e) {
1645
+ const t = this._getTemplateFactory(e).toHtml();
1646
+ if (!t) return null;
1647
+ t.classList.remove(si, wt), t.classList.add(`bs-${this.constructor.NAME}-auto`);
1648
+ const n = ((s) => {
1649
+ do
1650
+ s += Math.floor(1e6 * Math.random());
1651
+ while (document.getElementById(s));
1652
+ return s;
1653
+ })(this.constructor.NAME).toString();
1654
+ return t.setAttribute("id", n), this._isAnimated() && t.classList.add(si), t;
1655
+ }
1656
+ setContent(e) {
1657
+ this._newContent = e, this._isShown() && (this._disposePopper(), this.show());
1658
+ }
1659
+ _getTemplateFactory(e) {
1660
+ return this._templateFactory ? this._templateFactory.changeContent(e) : this._templateFactory = new Jo({ ...this._config, content: e, extraClass: this._resolvePossibleFunction(this._config.customClass) }), this._templateFactory;
1661
+ }
1662
+ _getContentForTemplate() {
1663
+ return { [Zo]: this._getTitle() };
1664
+ }
1665
+ _getTitle() {
1666
+ return this._resolvePossibleFunction(this._config.title) || this._element.getAttribute("data-bs-original-title");
1667
+ }
1668
+ _initializeOnDelegatedTarget(e) {
1669
+ return this.constructor.getOrCreateInstance(e.delegateTarget, this._getDelegateConfig());
1670
+ }
1671
+ _isAnimated() {
1672
+ return this._config.animation || this.tip && this.tip.classList.contains(si);
1673
+ }
1674
+ _isShown() {
1675
+ return this.tip && this.tip.classList.contains(wt);
1676
+ }
1677
+ _createPopper(e) {
1678
+ const t = M(this._config.placement, [this, e, this._element]), n = er[t.toUpperCase()];
1679
+ return Wt(this._element, e, this._getPopperConfig(n));
1680
+ }
1681
+ _getOffset() {
1682
+ const { offset: e } = this._config;
1683
+ return typeof e == "string" ? e.split(",").map((t) => Number.parseInt(t, 10)) : typeof e == "function" ? (t) => e(t, this._element) : e;
1684
+ }
1685
+ _resolvePossibleFunction(e) {
1686
+ return M(e, [this._element, this._element]);
1687
+ }
1688
+ _getPopperConfig(e) {
1689
+ const t = { placement: e, modifiers: [{ name: "flip", options: { fallbackPlacements: this._config.fallbackPlacements } }, { name: "offset", options: { offset: this._getOffset() } }, { name: "preventOverflow", options: { boundary: this._config.boundary } }, { name: "arrow", options: { element: `.${this.constructor.NAME}-arrow` } }, { name: "preSetPlacement", enabled: !0, phase: "beforeMain", fn: (n) => {
1690
+ this._getTipElement().setAttribute("data-popper-placement", n.state.placement);
1691
+ } }] };
1692
+ return { ...t, ...M(this._config.popperConfig, [void 0, t]) };
1693
+ }
1694
+ _setListeners() {
1695
+ const e = this._config.trigger.split(" ");
1696
+ for (const t of e) if (t === "click") l.on(this._element, this.constructor.eventName("click"), this._config.selector, (n) => {
1697
+ const s = this._initializeOnDelegatedTarget(n);
1698
+ s._activeTrigger[ri] = !(s._isShown() && s._activeTrigger[ri]), s.toggle();
1699
+ });
1700
+ else if (t !== "manual") {
1701
+ const n = t === st ? this.constructor.eventName("mouseenter") : this.constructor.eventName("focusin"), s = t === st ? this.constructor.eventName("mouseleave") : this.constructor.eventName("focusout");
1702
+ l.on(this._element, n, this._config.selector, (o) => {
1703
+ const r = this._initializeOnDelegatedTarget(o);
1704
+ r._activeTrigger[o.type === "focusin" ? oi : st] = !0, r._enter();
1705
+ }), l.on(this._element, s, this._config.selector, (o) => {
1706
+ const r = this._initializeOnDelegatedTarget(o);
1707
+ r._activeTrigger[o.type === "focusout" ? oi : st] = r._element.contains(o.relatedTarget), r._leave();
1708
+ });
1709
+ }
1710
+ this._hideModalHandler = () => {
1711
+ this._element && this.hide();
1712
+ }, l.on(this._element.closest(qn), zn, this._hideModalHandler);
1713
+ }
1714
+ _fixTitle() {
1715
+ const e = this._element.getAttribute("title");
1716
+ e && (this._element.getAttribute("aria-label") || this._element.textContent.trim() || this._element.setAttribute("aria-label", e), this._element.setAttribute("data-bs-original-title", e), this._element.removeAttribute("title"));
1717
+ }
1718
+ _enter() {
1719
+ this._isShown() || this._isHovered ? this._isHovered = !0 : (this._isHovered = !0, this._setTimeout(() => {
1720
+ this._isHovered && this.show();
1721
+ }, this._config.delay.show));
1722
+ }
1723
+ _leave() {
1724
+ this._isWithActiveTrigger() || (this._isHovered = !1, this._setTimeout(() => {
1725
+ this._isHovered || this.hide();
1726
+ }, this._config.delay.hide));
1727
+ }
1728
+ _setTimeout(e, t) {
1729
+ clearTimeout(this._timeout), this._timeout = setTimeout(e, t);
1730
+ }
1731
+ _isWithActiveTrigger() {
1732
+ return Object.values(this._activeTrigger).includes(!0);
1733
+ }
1734
+ _getConfig(e) {
1735
+ const t = ae.getDataAttributes(this._element);
1736
+ for (const n of Object.keys(t)) Go.has(n) && delete t[n];
1737
+ return e = { ...t, ...typeof e == "object" && e ? e : {} }, e = this._mergeConfigObj(e), e = this._configAfterMerge(e), this._typeCheckConfig(e), e;
1738
+ }
1739
+ _configAfterMerge(e) {
1740
+ return e.container = e.container === !1 ? document.body : pe(e.container), typeof e.delay == "number" && (e.delay = { show: e.delay, hide: e.delay }), typeof e.title == "number" && (e.title = e.title.toString()), typeof e.content == "number" && (e.content = e.content.toString()), e;
1741
+ }
1742
+ _getDelegateConfig() {
1743
+ const e = {};
1744
+ for (const [t, n] of Object.entries(this._config)) this.constructor.Default[t] !== n && (e[t] = n);
1745
+ return e.selector = !1, e.trigger = "manual", e;
1746
+ }
1747
+ _disposePopper() {
1748
+ this._popper && (this._popper.destroy(), this._popper = null), this.tip && (this.tip.remove(), this.tip = null);
1749
+ }
1750
+ static jQueryInterface(e) {
1751
+ return this.each(function() {
1752
+ const t = ce.getOrCreateInstance(this, e);
1753
+ if (typeof e == "string") {
1754
+ if (t[e] === void 0) throw new TypeError(`No method named "${e}"`);
1755
+ t[e]();
1756
+ }
1757
+ });
1758
+ }
1759
+ }
1760
+ U(ce);
1761
+ const nr = ".popover-header", sr = ".popover-body", or = { ...ce.Default, content: "", offset: [0, 8], placement: "right", template: '<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>', trigger: "click" }, rr = { ...ce.DefaultType, content: "(null|string|element|function)" };
1762
+ class Ue extends ce {
1763
+ static get Default() {
1764
+ return or;
1765
+ }
1766
+ static get DefaultType() {
1767
+ return rr;
1768
+ }
1769
+ static get NAME() {
1770
+ return "popover";
1771
+ }
1772
+ _isWithContent() {
1773
+ return this._getTitle() || this._getContent();
1774
+ }
1775
+ _getContentForTemplate() {
1776
+ return { [nr]: this._getTitle(), [sr]: this._getContent() };
1777
+ }
1778
+ _getContent() {
1779
+ return this._resolvePossibleFunction(this._config.content);
1780
+ }
1781
+ static jQueryInterface(e) {
1782
+ return this.each(function() {
1783
+ const t = Ue.getOrCreateInstance(this, e);
1784
+ if (typeof e == "string") {
1785
+ if (t[e] === void 0) throw new TypeError(`No method named "${e}"`);
1786
+ t[e]();
1787
+ }
1788
+ });
1789
+ }
1790
+ }
1791
+ U(Ue);
1792
+ const ai = ".bs.scrollspy", ar = `activate${ai}`, Wn = `click${ai}`, lr = `load${ai}.data-api`, Ke = "active", li = "[href]", Rn = ".nav-link", cr = `${Rn}, .nav-item > ${Rn}, .list-group-item`, ur = { offset: null, rootMargin: "0px 0px -25%", smoothScroll: !1, target: null, threshold: [0.1, 0.5, 1] }, hr = { offset: "(number|null)", rootMargin: "string", smoothScroll: "boolean", target: "element", threshold: "array" };
1793
+ class Qe extends J {
1794
+ constructor(e, t) {
1795
+ super(e, t), this._targetLinks = /* @__PURE__ */ new Map(), this._observableSections = /* @__PURE__ */ new Map(), this._rootElement = getComputedStyle(this._element).overflowY === "visible" ? null : this._element, this._activeTarget = null, this._observer = null, this._previousScrollData = { visibleEntryTop: 0, parentScrollTop: 0 }, this.refresh();
1796
+ }
1797
+ static get Default() {
1798
+ return ur;
1799
+ }
1800
+ static get DefaultType() {
1801
+ return hr;
1802
+ }
1803
+ static get NAME() {
1804
+ return "scrollspy";
1805
+ }
1806
+ refresh() {
1807
+ this._initializeTargetsAndObservables(), this._maybeEnableSmoothScroll(), this._observer ? this._observer.disconnect() : this._observer = this._getNewObserver();
1808
+ for (const e of this._observableSections.values()) this._observer.observe(e);
1809
+ }
1810
+ dispose() {
1811
+ this._observer.disconnect(), super.dispose();
1812
+ }
1813
+ _configAfterMerge(e) {
1814
+ return e.target = pe(e.target) || document.body, e.rootMargin = e.offset ? `${e.offset}px 0px -30%` : e.rootMargin, typeof e.threshold == "string" && (e.threshold = e.threshold.split(",").map((t) => Number.parseFloat(t))), e;
1815
+ }
1816
+ _maybeEnableSmoothScroll() {
1817
+ this._config.smoothScroll && (l.off(this._config.target, Wn), l.on(this._config.target, Wn, li, (e) => {
1818
+ const t = this._observableSections.get(e.target.hash);
1819
+ if (t) {
1820
+ e.preventDefault();
1821
+ const n = this._rootElement || window, s = t.offsetTop - this._element.offsetTop;
1822
+ if (n.scrollTo) return void n.scrollTo({ top: s, behavior: "smooth" });
1823
+ n.scrollTop = s;
1824
+ }
1825
+ }));
1826
+ }
1827
+ _getNewObserver() {
1828
+ const e = { root: this._rootElement, threshold: this._config.threshold, rootMargin: this._config.rootMargin };
1829
+ return new IntersectionObserver((t) => this._observerCallback(t), e);
1830
+ }
1831
+ _observerCallback(e) {
1832
+ const t = (r) => this._targetLinks.get(`#${r.target.id}`), n = (r) => {
1833
+ this._previousScrollData.visibleEntryTop = r.target.offsetTop, this._process(t(r));
1834
+ }, s = (this._rootElement || document.documentElement).scrollTop, o = s >= this._previousScrollData.parentScrollTop;
1835
+ this._previousScrollData.parentScrollTop = s;
1836
+ for (const r of e) {
1837
+ if (!r.isIntersecting) {
1838
+ this._activeTarget = null, this._clearActiveClass(t(r));
1839
+ continue;
1840
+ }
1841
+ const a = r.target.offsetTop >= this._previousScrollData.visibleEntryTop;
1842
+ if (o && a) {
1843
+ if (n(r), !s) return;
1844
+ } else o || a || n(r);
1845
+ }
1846
+ }
1847
+ _initializeTargetsAndObservables() {
1848
+ this._targetLinks = /* @__PURE__ */ new Map(), this._observableSections = /* @__PURE__ */ new Map();
1849
+ const e = f.find(li, this._config.target);
1850
+ for (const t of e) {
1851
+ if (!t.hash || me(t)) continue;
1852
+ const n = f.findOne(decodeURI(t.hash), this._element);
1853
+ Fe(n) && (this._targetLinks.set(decodeURI(t.hash), t), this._observableSections.set(t.hash, n));
1854
+ }
1855
+ }
1856
+ _process(e) {
1857
+ this._activeTarget !== e && (this._clearActiveClass(this._config.target), this._activeTarget = e, e.classList.add(Ke), this._activateParents(e), l.trigger(this._element, ar, { relatedTarget: e }));
1858
+ }
1859
+ _activateParents(e) {
1860
+ if (e.classList.contains("dropdown-item")) f.findOne(".dropdown-toggle", e.closest(".dropdown")).classList.add(Ke);
1861
+ else for (const t of f.parents(e, ".nav, .list-group")) for (const n of f.prev(t, cr)) n.classList.add(Ke);
1862
+ }
1863
+ _clearActiveClass(e) {
1864
+ e.classList.remove(Ke);
1865
+ const t = f.find(`${li}.${Ke}`, e);
1866
+ for (const n of t) n.classList.remove(Ke);
1867
+ }
1868
+ static jQueryInterface(e) {
1869
+ return this.each(function() {
1870
+ const t = Qe.getOrCreateInstance(this, e);
1871
+ if (typeof e == "string") {
1872
+ if (t[e] === void 0 || e.startsWith("_") || e === "constructor") throw new TypeError(`No method named "${e}"`);
1873
+ t[e]();
1874
+ }
1875
+ });
1876
+ }
1877
+ }
1878
+ l.on(window, lr, () => {
1879
+ for (const i of f.find('[data-bs-spy="scroll"]')) Qe.getOrCreateInstance(i);
1880
+ }), U(Qe);
1881
+ const xe = ".bs.tab", dr = `hide${xe}`, fr = `hidden${xe}`, pr = `show${xe}`, mr = `shown${xe}`, gr = `click${xe}`, _r = `keydown${xe}`, br = `load${xe}`, vr = "ArrowLeft", Bn = "ArrowRight", yr = "ArrowUp", Vn = "ArrowDown", ci = "Home", Un = "End", ke = "active", Kn = "fade", ui = "show", Qn = ".dropdown-toggle", hi = `:not(${Qn})`, Xn = '[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]', di = `.nav-link${hi}, .list-group-item${hi}, [role="tab"]${hi}, ${Xn}`, wr = `.${ke}[data-bs-toggle="tab"], .${ke}[data-bs-toggle="pill"], .${ke}[data-bs-toggle="list"]`;
1882
+ class ue extends J {
1883
+ constructor(e) {
1884
+ super(e), this._parent = this._element.closest('.list-group, .nav, [role="tablist"]'), this._parent && (this._setInitialAttributes(this._parent, this._getChildren()), l.on(this._element, _r, (t) => this._keydown(t)));
1885
+ }
1886
+ static get NAME() {
1887
+ return "tab";
1888
+ }
1889
+ show() {
1890
+ const e = this._element;
1891
+ if (this._elemIsActive(e)) return;
1892
+ const t = this._getActiveElem(), n = t ? l.trigger(t, dr, { relatedTarget: e }) : null;
1893
+ l.trigger(e, pr, { relatedTarget: t }).defaultPrevented || n && n.defaultPrevented || (this._deactivate(t, e), this._activate(e, t));
1894
+ }
1895
+ _activate(e, t) {
1896
+ e && (e.classList.add(ke), this._activate(f.getElementFromSelector(e)), this._queueCallback(() => {
1897
+ e.getAttribute("role") === "tab" ? (e.removeAttribute("tabindex"), e.setAttribute("aria-selected", !0), this._toggleDropDown(e, !0), l.trigger(e, mr, { relatedTarget: t })) : e.classList.add(ui);
1898
+ }, e, e.classList.contains(Kn)));
1899
+ }
1900
+ _deactivate(e, t) {
1901
+ e && (e.classList.remove(ke), e.blur(), this._deactivate(f.getElementFromSelector(e)), this._queueCallback(() => {
1902
+ e.getAttribute("role") === "tab" ? (e.setAttribute("aria-selected", !1), e.setAttribute("tabindex", "-1"), this._toggleDropDown(e, !1), l.trigger(e, fr, { relatedTarget: t })) : e.classList.remove(ui);
1903
+ }, e, e.classList.contains(Kn)));
1904
+ }
1905
+ _keydown(e) {
1906
+ if (![vr, Bn, yr, Vn, ci, Un].includes(e.key)) return;
1907
+ e.stopPropagation(), e.preventDefault();
1908
+ const t = this._getChildren().filter((s) => !me(s));
1909
+ let n;
1910
+ if ([ci, Un].includes(e.key)) n = t[e.key === ci ? 0 : t.length - 1];
1911
+ else {
1912
+ const s = [Bn, Vn].includes(e.key);
1913
+ n = Ut(t, e.target, s, !0);
1914
+ }
1915
+ n && (n.focus({ preventScroll: !0 }), ue.getOrCreateInstance(n).show());
1916
+ }
1917
+ _getChildren() {
1918
+ return f.find(di, this._parent);
1919
+ }
1920
+ _getActiveElem() {
1921
+ return this._getChildren().find((e) => this._elemIsActive(e)) || null;
1922
+ }
1923
+ _setInitialAttributes(e, t) {
1924
+ this._setAttributeIfNotExists(e, "role", "tablist");
1925
+ for (const n of t) this._setInitialAttributesOnChild(n);
1926
+ }
1927
+ _setInitialAttributesOnChild(e) {
1928
+ e = this._getInnerElement(e);
1929
+ const t = this._elemIsActive(e), n = this._getOuterElement(e);
1930
+ e.setAttribute("aria-selected", t), n !== e && this._setAttributeIfNotExists(n, "role", "presentation"), t || e.setAttribute("tabindex", "-1"), this._setAttributeIfNotExists(e, "role", "tab"), this._setInitialAttributesOnTargetPanel(e);
1931
+ }
1932
+ _setInitialAttributesOnTargetPanel(e) {
1933
+ const t = f.getElementFromSelector(e);
1934
+ t && (this._setAttributeIfNotExists(t, "role", "tabpanel"), e.id && this._setAttributeIfNotExists(t, "aria-labelledby", `${e.id}`));
1935
+ }
1936
+ _toggleDropDown(e, t) {
1937
+ const n = this._getOuterElement(e);
1938
+ if (!n.classList.contains("dropdown")) return;
1939
+ const s = (o, r) => {
1940
+ const a = f.findOne(o, n);
1941
+ a && a.classList.toggle(r, t);
1942
+ };
1943
+ s(Qn, ke), s(".dropdown-menu", ui), n.setAttribute("aria-expanded", t);
1944
+ }
1945
+ _setAttributeIfNotExists(e, t, n) {
1946
+ e.hasAttribute(t) || e.setAttribute(t, n);
1947
+ }
1948
+ _elemIsActive(e) {
1949
+ return e.classList.contains(ke);
1950
+ }
1951
+ _getInnerElement(e) {
1952
+ return e.matches(di) ? e : f.findOne(di, e);
1953
+ }
1954
+ _getOuterElement(e) {
1955
+ return e.closest(".nav-item, .list-group-item") || e;
1956
+ }
1957
+ static jQueryInterface(e) {
1958
+ return this.each(function() {
1959
+ const t = ue.getOrCreateInstance(this);
1960
+ if (typeof e == "string") {
1961
+ if (t[e] === void 0 || e.startsWith("_") || e === "constructor") throw new TypeError(`No method named "${e}"`);
1962
+ t[e]();
1963
+ }
1964
+ });
1965
+ }
1966
+ }
1967
+ l.on(document, gr, Xn, function(i) {
1968
+ ["A", "AREA"].includes(this.tagName) && i.preventDefault(), me(this) || ue.getOrCreateInstance(this).show();
1969
+ }), l.on(window, br, () => {
1970
+ for (const i of f.find(wr)) ue.getOrCreateInstance(i);
1971
+ }), U(ue);
1972
+ const be = ".bs.toast", Ar = `mouseover${be}`, Er = `mouseout${be}`, Tr = `focusin${be}`, Cr = `focusout${be}`, Or = `hide${be}`, xr = `hidden${be}`, kr = `show${be}`, Sr = `shown${be}`, Yn = "hide", At = "show", Et = "showing", Lr = { animation: "boolean", autohide: "boolean", delay: "number" }, $r = { animation: !0, autohide: !0, delay: 5e3 };
1973
+ class Se extends J {
1974
+ constructor(e, t) {
1975
+ super(e, t), this._timeout = null, this._hasMouseInteraction = !1, this._hasKeyboardInteraction = !1, this._setListeners();
1976
+ }
1977
+ static get Default() {
1978
+ return $r;
1979
+ }
1980
+ static get DefaultType() {
1981
+ return Lr;
1982
+ }
1983
+ static get NAME() {
1984
+ return "toast";
1985
+ }
1986
+ show() {
1987
+ l.trigger(this._element, kr).defaultPrevented || (this._clearTimeout(), this._config.animation && this._element.classList.add("fade"), this._element.classList.remove(Yn), et(this._element), this._element.classList.add(At, Et), this._queueCallback(() => {
1988
+ this._element.classList.remove(Et), l.trigger(this._element, Sr), this._maybeScheduleHide();
1989
+ }, this._element, this._config.animation));
1990
+ }
1991
+ hide() {
1992
+ this.isShown() && (l.trigger(this._element, Or).defaultPrevented || (this._element.classList.add(Et), this._queueCallback(() => {
1993
+ this._element.classList.add(Yn), this._element.classList.remove(Et, At), l.trigger(this._element, xr);
1994
+ }, this._element, this._config.animation)));
1995
+ }
1996
+ dispose() {
1997
+ this._clearTimeout(), this.isShown() && this._element.classList.remove(At), super.dispose();
1998
+ }
1999
+ isShown() {
2000
+ return this._element.classList.contains(At);
2001
+ }
2002
+ _maybeScheduleHide() {
2003
+ this._config.autohide && (this._hasMouseInteraction || this._hasKeyboardInteraction || (this._timeout = setTimeout(() => {
2004
+ this.hide();
2005
+ }, this._config.delay)));
2006
+ }
2007
+ _onInteraction(e, t) {
2008
+ switch (e.type) {
2009
+ case "mouseover":
2010
+ case "mouseout":
2011
+ this._hasMouseInteraction = t;
2012
+ break;
2013
+ case "focusin":
2014
+ case "focusout":
2015
+ this._hasKeyboardInteraction = t;
2016
+ }
2017
+ if (t) return void this._clearTimeout();
2018
+ const n = e.relatedTarget;
2019
+ this._element === n || this._element.contains(n) || this._maybeScheduleHide();
2020
+ }
2021
+ _setListeners() {
2022
+ l.on(this._element, Ar, (e) => this._onInteraction(e, !0)), l.on(this._element, Er, (e) => this._onInteraction(e, !1)), l.on(this._element, Tr, (e) => this._onInteraction(e, !0)), l.on(this._element, Cr, (e) => this._onInteraction(e, !1));
2023
+ }
2024
+ _clearTimeout() {
2025
+ clearTimeout(this._timeout), this._timeout = null;
2026
+ }
2027
+ static jQueryInterface(e) {
2028
+ return this.each(function() {
2029
+ const t = Se.getOrCreateInstance(this, e);
2030
+ if (typeof e == "string") {
2031
+ if (t[e] === void 0) throw new TypeError(`No method named "${e}"`);
2032
+ t[e](this);
2033
+ }
2034
+ });
2035
+ }
2036
+ }
2037
+ ft(Se), U(Se);
2038
+ const Dr = Object.freeze(Object.defineProperty({ __proto__: null, Alert: He, Button: qe, Carousel: Ee, Collapse: Te, Dropdown: W, Modal: _e, Offcanvas: ie, Popover: Ue, ScrollSpy: Qe, Tab: ue, Toast: Se, Tooltip: ce }, Symbol.toStringTag, { value: "Module" }));
2039
+ [].slice.call(document.querySelectorAll('[data-bs-toggle="dropdown"]')).map(function(i) {
2040
+ let e = { boundary: i.getAttribute("data-bs-boundary") === "viewport" ? document.querySelector(".btn") : "clippingParents" };
2041
+ return new W(i, e);
2042
+ }), [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map(function(i) {
2043
+ let e = { delay: { show: 50, hide: 50 }, html: i.getAttribute("data-bs-html") === "true", placement: i.getAttribute("data-bs-placement") ?? "auto" };
2044
+ return new ce(i, e);
2045
+ }), [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')).map(function(i) {
2046
+ let e = { delay: { show: 50, hide: 50 }, html: i.getAttribute("data-bs-html") === "true", placement: i.getAttribute("data-bs-placement") ?? "auto" };
2047
+ return new Ue(i, e);
2048
+ }), [].slice.call(document.querySelectorAll('[data-bs-toggle="switch-icon"]')).map(function(i) {
2049
+ i.addEventListener("click", (e) => {
2050
+ e.stopPropagation(), i.classList.toggle("active");
2051
+ });
2052
+ }), (() => {
2053
+ const i = window.location.hash;
2054
+ i && [].slice.call(document.querySelectorAll('[data-bs-toggle="tab"]')).filter((e) => e.hash === i).map((e) => {
2055
+ new ue(e).show();
2056
+ });
2057
+ })(), [].slice.call(document.querySelectorAll('[data-bs-toggle="toast"]')).map(function(i) {
2058
+ if (!i.hasAttribute("data-bs-target")) return;
2059
+ const e = new Se(i.getAttribute("data-bs-target"));
2060
+ i.addEventListener("click", () => {
2061
+ e.show();
2062
+ });
2063
+ });
2064
+ const Jn = "tblr-", Gn = (i, e) => {
2065
+ const t = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(i);
2066
+ return t ? `rgba(${parseInt(t[1], 16)}, ${parseInt(t[2], 16)}, ${parseInt(t[3], 16)}, ${e})` : null;
2067
+ }, Ir = Object.freeze(Object.defineProperty({ __proto__: null, getColor: (i, e = 1) => {
2068
+ const t = getComputedStyle(document.body).getPropertyValue(`--${Jn}${i}`).trim();
2069
+ return e !== 1 ? Gn(t, e) : t;
2070
+ }, hexToRgba: Gn, prefix: Jn }, Symbol.toStringTag, { value: "Module" }));
2071
+ $.Alert = He, $.Button = qe, $.Carousel = Ee, $.Collapse = Te, $.Dropdown = W, $.Modal = _e, $.Offcanvas = ie, $.Popover = Ue, $.ScrollSpy = Qe, $.Tab = ue, $.Toast = Se, $.Tooltip = ce, $.bootstrap = Dr, $.tabler = Ir, Object.defineProperty($, Symbol.toStringTag, { value: "Module" });
2072
+ });
2073
+ })(ot, ot.exports)), ot.exports;
2074
+ }
2075
+ var ds = Kr();
2076
+ const Qr = /* @__PURE__ */ Vr(ds), Xr = /* @__PURE__ */ Br({
2077
+ __proto__: null,
2078
+ default: Qr
2079
+ }, [ds]), Yr = {
2080
+ transition: "Vue-Toastification__bounce",
2081
+ maxToasts: 20,
2082
+ newestOnTop: !0,
2083
+ toastClassName: "custom-toast-class"
2084
+ }, Zr = {
2085
+ // até o momento não usamos opções nem o app, mas deixei aqui caso precise no futuro
2086
+ install: (F, Ye) => {
2087
+ window.bootstrap = Xr, F.directive("required", Wr), F.use(Rr, Yr);
2088
+ }
2089
+ };
2090
+ export {
2091
+ Zr as S
2092
+ };