@luizleon/sf.prefeiturasp.vuecomponents 4.0.13 → 4.0.15
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.
- package/dist/index.d.ts +2 -2
- package/dist/sf.prefeiturasp.vuecomponents.cjs +23 -23
- package/dist/sf.prefeiturasp.vuecomponents.cjs.map +1 -1
- package/dist/sf.prefeiturasp.vuecomponents.js +199 -190
- package/dist/sf.prefeiturasp.vuecomponents.js.map +1 -1
- package/dist/sf.prefeiturasp.vuecomponents.umd.cjs +24 -24
- package/dist/sf.prefeiturasp.vuecomponents.umd.cjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var za = Object.defineProperty;
|
|
2
2
|
var Wa = (t, e, n) => e in t ? za(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var Je = (t, e, n) => Wa(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
|
-
import { ref as Ve, openBlock as K, createElementBlock as ee, createElementVNode as q, defineComponent as Ze, onBeforeUnmount as ss, unref as _e, renderSlot as Le, computed as Vt, createBlock as Te, resolveDynamicComponent as wt, normalizeClass as ge, withCtx as ot, normalizeStyle as gn, mergeProps as re, Fragment as kt, createTextVNode as zn, toDisplayString as dt, createCommentVNode as Se, useSlots as qa, watch as
|
|
4
|
+
import { ref as Ve, openBlock as K, createElementBlock as ee, createElementVNode as q, defineComponent as Ze, onBeforeUnmount as ss, unref as _e, renderSlot as Le, computed as Vt, createBlock as Te, resolveDynamicComponent as wt, normalizeClass as ge, withCtx as ot, normalizeStyle as gn, mergeProps as re, Fragment as kt, createTextVNode as zn, toDisplayString as dt, createCommentVNode as Se, useSlots as qa, watch as jr, Teleport as Ga, withModifiers as Cr, createVNode as je, Transition as co, reactive as Ja, onMounted as En, createStaticVNode as Ya, resolveComponent as xn, renderList as uo, readonly as Xa, getCurrentInstance as Za, nextTick as Qa, resolveDirective as el, withDirectives as Vr, vShow as as, pushScopeId as tl, popScopeId as nl } from "vue";
|
|
5
5
|
class rl {
|
|
6
6
|
constructor() {
|
|
7
7
|
Je(this, "_visible", Ve(!1));
|
|
@@ -67,7 +67,7 @@ function cs(t = []) {
|
|
|
67
67
|
return n >= 100 ? n : 100;
|
|
68
68
|
}
|
|
69
69
|
let il = (t = 21) => crypto.getRandomValues(new Uint8Array(t)).reduce((e, n) => (n &= 63, n < 36 ? e += n.toString(36) : n < 62 ? e += (n - 26).toString(36).toUpperCase() : n > 62 ? e += "-" : e += "_", e), "");
|
|
70
|
-
const
|
|
70
|
+
const or = (t, e) => {
|
|
71
71
|
const n = t.__vccOpts || t;
|
|
72
72
|
for (const [r, o] of e)
|
|
73
73
|
n[r] = o;
|
|
@@ -89,7 +89,7 @@ const rr = (t, e) => {
|
|
|
89
89
|
function ul(t, e) {
|
|
90
90
|
return K(), ee("div", al, cl);
|
|
91
91
|
}
|
|
92
|
-
const dl = /* @__PURE__ */
|
|
92
|
+
const dl = /* @__PURE__ */ or(sl, [["render", ul]]), us = /* @__PURE__ */ Ze({
|
|
93
93
|
__name: "Tooltip",
|
|
94
94
|
props: {
|
|
95
95
|
text: {}
|
|
@@ -115,14 +115,20 @@ const dl = /* @__PURE__ */ rr(sl, [["render", ul]]), us = /* @__PURE__ */ Ze({
|
|
|
115
115
|
this.wrapper.classList.remove("visible"), this.wrapper.remove();
|
|
116
116
|
}
|
|
117
117
|
Position(i) {
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
this.FixWidth();
|
|
119
|
+
const s = 10, l = i.top, a = i.bottom, c = i.left, u = i.right, f = this.wrapper;
|
|
120
|
+
f.style.top = `${a + s}px`, f.style.left = `${c}px`, this.OutOfBottom() && (f.style.top = `${l - f.clientHeight - s}px`, f.classList.add("top")), this.OutOfRight() && (f.style.left = `${u - f.clientWidth}px`, f.classList.add("left"));
|
|
121
|
+
}
|
|
122
|
+
FixWidth() {
|
|
123
|
+
this.wrapper.style.width = "fit-content", this.wrapper.style.wordBreak = "normal", this.wrapper.style.whiteSpace = "nowrap";
|
|
124
|
+
const i = window.innerWidth / 2;
|
|
125
|
+
this.wrapper.clientWidth > i && (this.wrapper.style.width = `${i}px`, this.wrapper.style.wordBreak = "break-word", this.wrapper.style.whiteSpace = "normal");
|
|
120
126
|
}
|
|
121
127
|
OutOfBottom() {
|
|
122
128
|
return this.wrapper.getBoundingClientRect().bottom > (window.innerHeight || document.documentElement.clientHeight);
|
|
123
129
|
}
|
|
124
130
|
OutOfRight() {
|
|
125
|
-
return this.wrapper.getBoundingClientRect().right > (window.innerWidth || document.documentElement.clientWidth);
|
|
131
|
+
return this.wrapper.getBoundingClientRect().right > (window.innerWidth || document.documentElement.clientWidth) - 10;
|
|
126
132
|
}
|
|
127
133
|
}
|
|
128
134
|
const r = new n();
|
|
@@ -197,7 +203,7 @@ const dl = /* @__PURE__ */ rr(sl, [["render", ul]]), us = /* @__PURE__ */ Ze({
|
|
|
197
203
|
_: 1
|
|
198
204
|
}, 8, ["text", "class"]));
|
|
199
205
|
}
|
|
200
|
-
}),
|
|
206
|
+
}), Kr = /* @__PURE__ */ or(pl, [["__scopeId", "data-v-acf8f09c"]]), hl = ["id", "onClick"], gl = { class: "sf-drawer-header" }, yl = { class: "sf-drawer-title" }, vl = { class: "sf-drawer-content" }, bl = {
|
|
201
207
|
key: 0,
|
|
202
208
|
class: "sf-drawer-footer"
|
|
203
209
|
}, wl = /* @__PURE__ */ Ze({
|
|
@@ -232,12 +238,12 @@ const dl = /* @__PURE__ */ rr(sl, [["render", ul]]), us = /* @__PURE__ */ Ze({
|
|
|
232
238
|
function R() {
|
|
233
239
|
return new _t("sf-mask sf-mask-overlay").AddClass("right", n.position === "right").AddClass("bottom", n.position === "bottom").AddClass("full", n.position === "full").AddClass("sf-mask-overlay-enter", n.visible === !0).Build();
|
|
234
240
|
}
|
|
235
|
-
return
|
|
241
|
+
return jr(
|
|
236
242
|
() => n.visible,
|
|
237
243
|
(w) => {
|
|
238
244
|
i.value = w;
|
|
239
245
|
}
|
|
240
|
-
),
|
|
246
|
+
), jr(
|
|
241
247
|
() => i.value,
|
|
242
248
|
(w) => {
|
|
243
249
|
r("update:visible", w), w && (s.value = !0);
|
|
@@ -248,7 +254,7 @@ const dl = /* @__PURE__ */ rr(sl, [["render", ul]]), us = /* @__PURE__ */ Ze({
|
|
|
248
254
|
id: _e(a),
|
|
249
255
|
class: ge(R()),
|
|
250
256
|
style: gn({ zIndex: l.value - 1 }),
|
|
251
|
-
onClick:
|
|
257
|
+
onClick: Cr(c, ["stop"])
|
|
252
258
|
}, [
|
|
253
259
|
je(co, {
|
|
254
260
|
name: "sf-drawer",
|
|
@@ -269,16 +275,16 @@ const dl = /* @__PURE__ */ rr(sl, [["render", ul]]), us = /* @__PURE__ */ Ze({
|
|
|
269
275
|
]),
|
|
270
276
|
style: gn(n.style),
|
|
271
277
|
role: "dialog",
|
|
272
|
-
onClick: H[0] || (H[0] =
|
|
278
|
+
onClick: H[0] || (H[0] = Cr((A) => w.void, ["stop"]))
|
|
273
279
|
}, [
|
|
274
280
|
q("div", gl, [
|
|
275
281
|
q("span", yl, [
|
|
276
282
|
Le(w.$slots, "title")
|
|
277
283
|
]),
|
|
278
|
-
je(
|
|
284
|
+
je(Kr, {
|
|
279
285
|
button: !0,
|
|
280
286
|
icon: "close",
|
|
281
|
-
onClick:
|
|
287
|
+
onClick: Cr(c, ["stop"])
|
|
282
288
|
}, null, 8, ["onClick"])
|
|
283
289
|
]),
|
|
284
290
|
q("div", vl, [
|
|
@@ -330,7 +336,7 @@ const dl = /* @__PURE__ */ rr(sl, [["render", ul]]), us = /* @__PURE__ */ Ze({
|
|
|
330
336
|
form: e.form,
|
|
331
337
|
type: e.type
|
|
332
338
|
}, [
|
|
333
|
-
e.icon ? (K(), Te(
|
|
339
|
+
e.icon ? (K(), Te(Kr, {
|
|
334
340
|
key: 0,
|
|
335
341
|
icon: e.icon,
|
|
336
342
|
loading: e.loading,
|
|
@@ -338,7 +344,7 @@ const dl = /* @__PURE__ */ rr(sl, [["render", ul]]), us = /* @__PURE__ */ Ze({
|
|
|
338
344
|
color: void 0,
|
|
339
345
|
"button-props": { tabindex: -1 },
|
|
340
346
|
filled: e.iconFilled
|
|
341
|
-
}, null, 8, ["icon", "loading", "size", "filled"])) : e.loading ? (K(), Te(
|
|
347
|
+
}, null, 8, ["icon", "loading", "size", "filled"])) : e.loading ? (K(), Te(Kr, {
|
|
342
348
|
key: 1,
|
|
343
349
|
loading: !0,
|
|
344
350
|
size: e.size,
|
|
@@ -364,7 +370,7 @@ const dl = /* @__PURE__ */ rr(sl, [["render", ul]]), us = /* @__PURE__ */ Ze({
|
|
|
364
370
|
Al(
|
|
365
371
|
`"${t}" is deprecated and will be removed in the next major release. Please use "${e}" instead.`
|
|
366
372
|
);
|
|
367
|
-
},
|
|
373
|
+
}, ir = (t) => typeof t == "function" ? t() : t, mo = (t) => t && typeof t.toPromise == "function", In = (t) => mo(t) ? t.toPromise() : Promise.resolve(t), po = (t) => t && Promise.resolve(t) === t, Kt = {
|
|
368
374
|
title: "",
|
|
369
375
|
titleText: "",
|
|
370
376
|
text: "",
|
|
@@ -506,12 +512,12 @@ const dl = /* @__PURE__ */ rr(sl, [["render", ul]]), us = /* @__PURE__ */ Ze({
|
|
|
506
512
|
"returnFocus",
|
|
507
513
|
"heightAuto",
|
|
508
514
|
"keydownListenerCapture"
|
|
509
|
-
], fs = (t) => Object.prototype.hasOwnProperty.call(Kt, t), ms = (t) => El.indexOf(t) !== -1,
|
|
515
|
+
], fs = (t) => Object.prototype.hasOwnProperty.call(Kt, t), ms = (t) => El.indexOf(t) !== -1, zr = (t) => xl[t], Pl = (t) => {
|
|
510
516
|
fs(t) || Ue(`Unknown parameter "${t}"`);
|
|
511
517
|
}, Ol = (t) => {
|
|
512
518
|
Il.includes(t) && Ue(`The parameter "${t}" is incompatible with toasts`);
|
|
513
519
|
}, Ll = (t) => {
|
|
514
|
-
|
|
520
|
+
zr(t) && Tl(t, zr(t));
|
|
515
521
|
}, Rl = (t) => {
|
|
516
522
|
!t.backdrop && t.allowOutsideClick && Ue('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');
|
|
517
523
|
for (const e in t)
|
|
@@ -594,7 +600,7 @@ const dl = /* @__PURE__ */ rr(sl, [["render", ul]]), us = /* @__PURE__ */ Ze({
|
|
|
594
600
|
]), mn = ps(["success", "warning", "info", "question", "error"]), xe = () => document.body.querySelector(`.${b.container}`), Pn = (t) => {
|
|
595
601
|
const e = xe();
|
|
596
602
|
return e ? e.querySelector(t) : null;
|
|
597
|
-
}, Qe = (t) => Pn(`.${t}`), ue = () => Qe(b.popup), On = () => Qe(b.icon), hs = () => Qe(b.title), Yn = () => Qe(b["html-container"]), gs = () => Qe(b.image), ys = () => Qe(b["progress-steps"]),
|
|
603
|
+
}, Qe = (t) => Pn(`.${t}`), ue = () => Qe(b.popup), On = () => Qe(b.icon), hs = () => Qe(b.title), Yn = () => Qe(b["html-container"]), gs = () => Qe(b.image), ys = () => Qe(b["progress-steps"]), sr = () => Qe(b["validation-message"]), st = () => Pn(`.${b.actions} .${b.confirm}`), Ct = () => Pn(`.${b.actions} .${b.deny}`), Nl = () => Qe(b["input-label"]), Gt = () => Pn(`.${b.loader}`), Rt = () => Pn(`.${b.actions} .${b.cancel}`), Ln = () => Qe(b.actions), vs = () => Qe(b.footer), ar = () => Qe(b["timer-progress-bar"]), ho = () => Qe(b.close), Dl = `
|
|
598
604
|
a[href],
|
|
599
605
|
area[href],
|
|
600
606
|
input:not([disabled]),
|
|
@@ -619,7 +625,7 @@ const dl = /* @__PURE__ */ rr(sl, [["render", ul]]), us = /* @__PURE__ */ Ze({
|
|
|
619
625
|
(n) => n.getAttribute("tabindex") !== "-1"
|
|
620
626
|
);
|
|
621
627
|
return Cl(t.concat(e)).filter((n) => Ke(n));
|
|
622
|
-
}, yo = () => yt(document.body, b.shown) && !yt(document.body, b["toast-shown"]) && !yt(document.body, b["no-backdrop"]),
|
|
628
|
+
}, yo = () => yt(document.body, b.shown) && !yt(document.body, b["toast-shown"]) && !yt(document.body, b["no-backdrop"]), lr = () => ue() && yt(ue(), b.toast), Fl = () => ue().hasAttribute("data-loading"), zt = {
|
|
623
629
|
previousBodyPadding: null
|
|
624
630
|
}, Ee = (t, e) => {
|
|
625
631
|
if (t.textContent = "", e) {
|
|
@@ -696,18 +702,18 @@ const dl = /* @__PURE__ */ rr(sl, [["render", ul]]), us = /* @__PURE__ */ Ze({
|
|
|
696
702
|
}, ti = (t, e, n, r) => {
|
|
697
703
|
const o = t.querySelector(e);
|
|
698
704
|
o && (o.style[n] = r);
|
|
699
|
-
},
|
|
705
|
+
}, cr = (t, e, n) => {
|
|
700
706
|
e ? ke(t, n) : Ie(t);
|
|
701
707
|
}, Ke = (t) => !!(t && (t.offsetWidth || t.offsetHeight || t.getClientRects().length)), Ml = () => !Ke(st()) && !Ke(Ct()) && !Ke(Rt()), ni = (t) => t.scrollHeight > t.clientHeight, _s = (t) => {
|
|
702
708
|
const e = window.getComputedStyle(t), n = parseFloat(e.getPropertyValue("animation-duration") || "0"), r = parseFloat(e.getPropertyValue("transition-duration") || "0");
|
|
703
709
|
return n > 0 || r > 0;
|
|
704
710
|
}, bo = (t, e = !1) => {
|
|
705
|
-
const n =
|
|
711
|
+
const n = ar();
|
|
706
712
|
Ke(n) && (e && (n.style.transition = "none", n.style.width = "100%"), setTimeout(() => {
|
|
707
713
|
n.style.transition = `width ${t / 1e3}s linear`, n.style.width = "0%";
|
|
708
714
|
}, 10));
|
|
709
715
|
}, Ul = () => {
|
|
710
|
-
const t =
|
|
716
|
+
const t = ar(), e = parseInt(window.getComputedStyle(t).width);
|
|
711
717
|
t.style.removeProperty("transition"), t.style.width = "100%";
|
|
712
718
|
const n = parseInt(window.getComputedStyle(t).width), r = e / n * 100;
|
|
713
719
|
t.style.removeProperty("transition"), t.style.width = `${r}%`;
|
|
@@ -817,15 +823,15 @@ const dl = /* @__PURE__ */ rr(sl, [["render", ul]]), us = /* @__PURE__ */ Ze({
|
|
|
817
823
|
};
|
|
818
824
|
function tc(t, e, n) {
|
|
819
825
|
const r = st(), o = Ct(), i = Rt();
|
|
820
|
-
|
|
826
|
+
Ar(r, "confirm", n), Ar(o, "deny", n), Ar(i, "cancel", n), nc(r, o, i, n), n.reverseButtons && (n.toast ? (t.insertBefore(i, r), t.insertBefore(o, r)) : (t.insertBefore(i, e), t.insertBefore(o, e), t.insertBefore(r, e)));
|
|
821
827
|
}
|
|
822
828
|
function nc(t, e, n, r) {
|
|
823
829
|
if (!r.buttonsStyling)
|
|
824
830
|
return ft([t, e, n], b.styled);
|
|
825
831
|
se([t, e, n], b.styled), r.confirmButtonColor && (t.style.backgroundColor = r.confirmButtonColor, se(t, b["default-outline"])), r.denyButtonColor && (e.style.backgroundColor = r.denyButtonColor, se(e, b["default-outline"])), r.cancelButtonColor && (n.style.backgroundColor = r.cancelButtonColor, se(n, b["default-outline"]));
|
|
826
832
|
}
|
|
827
|
-
function
|
|
828
|
-
|
|
833
|
+
function Ar(t, e, n) {
|
|
834
|
+
cr(t, n[`show${fo(e)}Button`], "inline-block"), Ee(t, n[`${e}ButtonText`]), t.setAttribute("aria-label", n[`${e}ButtonAriaLabel`]), t.className = b[e], Xe(t, n, `${e}Button`), se(t, n[`${e}ButtonClass`]);
|
|
829
835
|
}
|
|
830
836
|
function rc(t, e) {
|
|
831
837
|
typeof e == "string" ? t.style.background = e : e || se([document.documentElement, document.body], b["no-backdrop"]);
|
|
@@ -932,10 +938,10 @@ const mc = (t, e) => {
|
|
|
932
938
|
Xe(n, e, "htmlContainer"), e.html ? (wo(e.html, n), ke(n, "block")) : e.text ? (n.textContent = e.text, ke(n, "block")) : Ie(n), lc(t, e);
|
|
933
939
|
}, pc = (t, e) => {
|
|
934
940
|
const n = vs();
|
|
935
|
-
|
|
941
|
+
cr(n, e.footer), e.footer && wo(e.footer, n), Xe(n, e, "footer");
|
|
936
942
|
}, hc = (t, e) => {
|
|
937
943
|
const n = ho();
|
|
938
|
-
Ee(n, e.closeButtonHtml), Xe(n, e, "closeButton"),
|
|
944
|
+
Ee(n, e.closeButtonHtml), Xe(n, e, "closeButton"), cr(n, e.showCloseButton), n.setAttribute("aria-label", e.closeButtonAriaLabel);
|
|
939
945
|
}, gc = (t, e) => {
|
|
940
946
|
const n = Z.innerParams.get(t), r = On();
|
|
941
947
|
if (n && e.icon === n.icon) {
|
|
@@ -1009,10 +1015,10 @@ const mc = (t, e) => {
|
|
|
1009
1015
|
});
|
|
1010
1016
|
}, Ac = (t, e) => {
|
|
1011
1017
|
const n = hs();
|
|
1012
|
-
|
|
1018
|
+
cr(n, e.title || e.titleText, "block"), e.title && wo(e.title, n), e.titleText && (n.innerText = e.titleText), Xe(n, e, "title");
|
|
1013
1019
|
}, Tc = (t, e) => {
|
|
1014
1020
|
const n = xe(), r = ue();
|
|
1015
|
-
e.toast ? (pn(n, "width", e.width), r.style.width = "100%", r.insertBefore(Gt(), On())) : pn(r, "width", e.width), pn(r, "padding", e.padding), e.color && (r.style.color = e.color), e.background && (r.style.background = e.background), Ie(
|
|
1021
|
+
e.toast ? (pn(n, "width", e.width), r.style.width = "100%", r.insertBefore(Gt(), On())) : pn(r, "width", e.width), pn(r, "padding", e.padding), e.color && (r.style.color = e.color), e.background && (r.style.background = e.background), Ie(sr()), Ec(r, e);
|
|
1016
1022
|
}, Ec = (t, e) => {
|
|
1017
1023
|
t.className = `${b.popup} ${Ke(t) ? e.showClass.popup : ""}`, e.toast ? (se([document.documentElement, document.body], b["toast-shown"]), se(t, b.toast)) : se(t, b.modal), Xe(t, e, "popup"), typeof e.customClass == "string" && se(t, e.customClass), e.icon && se(t, b[`icon-${e.icon}`]);
|
|
1018
1024
|
}, Cs = (t, e) => {
|
|
@@ -1179,7 +1185,7 @@ const Hc = () => {
|
|
|
1179
1185
|
const o = window.getComputedStyle(document.body).overflowY;
|
|
1180
1186
|
Qc(e, n, t), setTimeout(() => {
|
|
1181
1187
|
Xc(e, n);
|
|
1182
|
-
}, Es), yo() && (Zc(e, t.scrollbarPadding, o), xc()), !
|
|
1188
|
+
}, Es), yo() && (Zc(e, t.scrollbarPadding, o), xc()), !lr() && !X.previousActiveElement && (X.previousActiveElement = document.activeElement), typeof t.didOpen == "function" && setTimeout(() => t.didOpen(n)), ft(e, b["no-transition"]);
|
|
1183
1189
|
}, xs = (t) => {
|
|
1184
1190
|
const e = ue();
|
|
1185
1191
|
if (t.target !== e)
|
|
@@ -1200,7 +1206,7 @@ const Hc = () => {
|
|
|
1200
1206
|
let e = ue();
|
|
1201
1207
|
e || new qt(), e = ue();
|
|
1202
1208
|
const n = Gt();
|
|
1203
|
-
|
|
1209
|
+
lr() ? Ie(On()) : eu(e, t), ke(n), e.setAttribute("data-loading", !0), e.setAttribute("aria-busy", !0), e.focus();
|
|
1204
1210
|
}, eu = (t, e) => {
|
|
1205
1211
|
const n = Ln(), r = Gt();
|
|
1206
1212
|
!e && Ke(st()) && (e = st()), ke(n), e && (Ie(e), r.setAttribute("data-button-to-replace", e.className)), r.parentNode.insertBefore(r, e), se([t, n], b.loading);
|
|
@@ -1221,7 +1227,7 @@ const Hc = () => {
|
|
|
1221
1227
|
return e.inputAutoTrim ? n.value.trim() : n.value;
|
|
1222
1228
|
}
|
|
1223
1229
|
}, ru = (t) => t.checked ? 1 : 0, ou = (t) => t.checked ? t.value : null, iu = (t) => t.files.length ? t.getAttribute("multiple") !== null ? t.files : t.files[0] : null, su = (t, e) => {
|
|
1224
|
-
const n = ue(), r = (o) => lu[e.input](n,
|
|
1230
|
+
const n = ue(), r = (o) => lu[e.input](n, Wr(o), e);
|
|
1225
1231
|
mo(e.inputOptions) || po(e.inputOptions) ? (Wt(st()), In(e.inputOptions).then((o) => {
|
|
1226
1232
|
t.hideLoading(), r(o);
|
|
1227
1233
|
})) : typeof e.inputOptions == "object" ? r(e.inputOptions) : Dt(`Unexpected type of inputOptions! Expected object, Map or Promise, got ${typeof e.inputOptions}`);
|
|
@@ -1258,14 +1264,14 @@ const Hc = () => {
|
|
|
1258
1264
|
const o = r.querySelectorAll("input");
|
|
1259
1265
|
o.length && o[0].focus();
|
|
1260
1266
|
}
|
|
1261
|
-
},
|
|
1267
|
+
}, Wr = (t) => {
|
|
1262
1268
|
const e = [];
|
|
1263
1269
|
return typeof Map < "u" && t instanceof Map ? t.forEach((n, r) => {
|
|
1264
1270
|
let o = n;
|
|
1265
|
-
typeof o == "object" && (o =
|
|
1271
|
+
typeof o == "object" && (o = Wr(o)), e.push([r, o]);
|
|
1266
1272
|
}) : Object.keys(t).forEach((n) => {
|
|
1267
1273
|
let r = t[n];
|
|
1268
|
-
typeof r == "object" && (r =
|
|
1274
|
+
typeof r == "object" && (r = Wr(r)), e.push([n, r]);
|
|
1269
1275
|
}), e;
|
|
1270
1276
|
}, ai = (t, e) => e && e.toString() === t.toString();
|
|
1271
1277
|
function li() {
|
|
@@ -1273,7 +1279,7 @@ function li() {
|
|
|
1273
1279
|
if (!t)
|
|
1274
1280
|
return;
|
|
1275
1281
|
const e = Z.domCache.get(this);
|
|
1276
|
-
Ie(e.loader),
|
|
1282
|
+
Ie(e.loader), lr() ? t.icon && ke(On()) : cu(e), ft([e.popup, e.actions], b.loading), e.popup.removeAttribute("aria-busy"), e.popup.removeAttribute("data-loading"), e.confirmButton.disabled = !1, e.denyButton.disabled = !1, e.cancelButton.disabled = !1;
|
|
1277
1283
|
}
|
|
1278
1284
|
const cu = (t) => {
|
|
1279
1285
|
const e = t.popup.getElementsByClassName(t.loader.getAttribute("data-button-to-replace"));
|
|
@@ -1294,7 +1300,7 @@ const vn = {
|
|
|
1294
1300
|
Ps(e), n.toast || (e.keydownHandler = (o) => gu(t, o, r), e.keydownTarget = n.keydownListenerCapture ? window : ue(), e.keydownListenerCapture = n.keydownListenerCapture, e.keydownTarget.addEventListener("keydown", e.keydownHandler, {
|
|
1295
1301
|
capture: e.keydownListenerCapture
|
|
1296
1302
|
}), e.keydownHandlerAdded = !0);
|
|
1297
|
-
},
|
|
1303
|
+
}, qr = (t, e, n) => {
|
|
1298
1304
|
const r = go();
|
|
1299
1305
|
if (r.length)
|
|
1300
1306
|
return e = e + n, e === r.length ? e = 0 : e === -1 && (e = r.length - 1), r[e].focus();
|
|
@@ -1303,7 +1309,7 @@ const vn = {
|
|
|
1303
1309
|
const r = Z.innerParams.get(t);
|
|
1304
1310
|
r && (e.isComposing || e.keyCode === 229 || (r.stopKeydownPropagation && e.stopPropagation(), e.key === "Enter" ? yu(t, e, r) : e.key === "Tab" ? vu(e, r) : [...Os, ...hu].includes(e.key) ? bu(e.key) : e.key === "Escape" && wu(e, r, n)));
|
|
1305
1311
|
}, yu = (t, e, n) => {
|
|
1306
|
-
if (
|
|
1312
|
+
if (ir(n.allowEnterKey) && e.target && t.getInput() && e.target.outerHTML === t.getInput().outerHTML) {
|
|
1307
1313
|
if (["textarea", "file"].includes(n.input))
|
|
1308
1314
|
return;
|
|
1309
1315
|
Is(), e.preventDefault();
|
|
@@ -1316,7 +1322,7 @@ const vn = {
|
|
|
1316
1322
|
o = i;
|
|
1317
1323
|
break;
|
|
1318
1324
|
}
|
|
1319
|
-
t.shiftKey ?
|
|
1325
|
+
t.shiftKey ? qr(e, o, -1) : qr(e, o, 1), t.stopPropagation(), t.preventDefault();
|
|
1320
1326
|
}, bu = (t) => {
|
|
1321
1327
|
const e = st(), n = Ct(), r = Rt();
|
|
1322
1328
|
if (![e, n, r].includes(document.activeElement))
|
|
@@ -1331,10 +1337,10 @@ const vn = {
|
|
|
1331
1337
|
}
|
|
1332
1338
|
i instanceof HTMLButtonElement && i.focus();
|
|
1333
1339
|
}, wu = (t, e, n) => {
|
|
1334
|
-
|
|
1340
|
+
ir(e.allowEscapeKey) && (t.preventDefault(), n(Jt.esc));
|
|
1335
1341
|
};
|
|
1336
1342
|
function Ls(t, e, n, r) {
|
|
1337
|
-
|
|
1343
|
+
lr() ? ci(t, r) : (Vl(n).then(() => ci(t, r)), Ps(X)), /^((?!chrome|android).)*safari/i.test(navigator.userAgent) ? (e.setAttribute("style", "display:none !important"), e.removeAttribute("class"), e.innerHTML = "") : e.remove(), yo() && (jc(), Jc(), As()), _u();
|
|
1338
1344
|
}
|
|
1339
1345
|
function _u() {
|
|
1340
1346
|
ft(
|
|
@@ -1475,8 +1481,8 @@ function Fu() {
|
|
|
1475
1481
|
const Bu = (t) => {
|
|
1476
1482
|
Ns(t), delete t.params, delete X.keydownHandler, delete X.keydownTarget, delete X.currentInstance;
|
|
1477
1483
|
}, Ns = (t) => {
|
|
1478
|
-
t.isAwaitingPromise() ? (
|
|
1479
|
-
},
|
|
1484
|
+
t.isAwaitingPromise() ? (Tr(Z, t), Z.awaitingPromise.set(t, !0)) : (Tr(vn, t), Tr(Z, t));
|
|
1485
|
+
}, Tr = (t, e) => {
|
|
1480
1486
|
for (const n in t)
|
|
1481
1487
|
t[n].delete(e);
|
|
1482
1488
|
}, Ds = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -1539,7 +1545,7 @@ const Bu = (t) => {
|
|
|
1539
1545
|
n.showLoaderOnConfirm && Wt(), n.preConfirm ? (t.resetValidationMessage(), Z.awaitingPromise.set(t || void 0, !0), Promise.resolve().then(
|
|
1540
1546
|
() => In(n.preConfirm(e, n.validationMessage))
|
|
1541
1547
|
).then((o) => {
|
|
1542
|
-
Ke(
|
|
1548
|
+
Ke(sr()) || o === !1 ? (t.hideLoading(), $n(t)) : ui(t, typeof o > "u" ? e : o);
|
|
1543
1549
|
}).catch((o) => Bs(t || void 0, o))) : ui(t, e);
|
|
1544
1550
|
}, Vu = (t, e, n) => {
|
|
1545
1551
|
Z.innerParams.get(t).toast ? Ku(t, e, n) : (Wu(e), qu(e), Gu(t, e, n));
|
|
@@ -1569,7 +1575,7 @@ const Wu = (t) => {
|
|
|
1569
1575
|
Xn = !1;
|
|
1570
1576
|
return;
|
|
1571
1577
|
}
|
|
1572
|
-
r.target === e.container &&
|
|
1578
|
+
r.target === e.container && ir(o.allowOutsideClick) && n(Jt.backdrop);
|
|
1573
1579
|
};
|
|
1574
1580
|
}, Ju = (t) => typeof t == "object" && t.jquery, di = (t) => t instanceof Element || Ju(t), Yu = (t) => {
|
|
1575
1581
|
const e = {};
|
|
@@ -1608,16 +1614,16 @@ const Qu = () => X.timeout && X.timeout.getTimerLeft(), Ms = () => {
|
|
|
1608
1614
|
}
|
|
1609
1615
|
}, nd = () => X.timeout && X.timeout.isRunning();
|
|
1610
1616
|
let fi = !1;
|
|
1611
|
-
const
|
|
1617
|
+
const Gr = {};
|
|
1612
1618
|
function rd(t = "data-swal-template") {
|
|
1613
|
-
|
|
1619
|
+
Gr[t] = this, fi || (document.body.addEventListener("click", od), fi = !0);
|
|
1614
1620
|
}
|
|
1615
1621
|
const od = (t) => {
|
|
1616
1622
|
for (let e = t.target; e && e !== document; e = e.parentNode)
|
|
1617
|
-
for (const n in
|
|
1623
|
+
for (const n in Gr) {
|
|
1618
1624
|
const r = e.getAttribute(n);
|
|
1619
1625
|
if (r) {
|
|
1620
|
-
|
|
1626
|
+
Gr[n].fire({ template: r });
|
|
1621
1627
|
return;
|
|
1622
1628
|
}
|
|
1623
1629
|
}
|
|
@@ -1645,11 +1651,11 @@ const od = (t) => {
|
|
|
1645
1651
|
getLoader: Gt,
|
|
1646
1652
|
getPopup: ue,
|
|
1647
1653
|
getTimerLeft: Qu,
|
|
1648
|
-
getTimerProgressBar:
|
|
1654
|
+
getTimerProgressBar: ar,
|
|
1649
1655
|
getTitle: hs,
|
|
1650
|
-
getValidationMessage:
|
|
1656
|
+
getValidationMessage: sr,
|
|
1651
1657
|
increaseTimer: td,
|
|
1652
|
-
isDeprecatedParameter:
|
|
1658
|
+
isDeprecatedParameter: zr,
|
|
1653
1659
|
isLoading: Fl,
|
|
1654
1660
|
isTimerRunning: nd,
|
|
1655
1661
|
isUpdatableParameter: ms,
|
|
@@ -1661,12 +1667,12 @@ const od = (t) => {
|
|
|
1661
1667
|
stopTimer: Ms,
|
|
1662
1668
|
toggleTimer: ed
|
|
1663
1669
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1664
|
-
let
|
|
1670
|
+
let Jr;
|
|
1665
1671
|
class Yt {
|
|
1666
1672
|
constructor(...e) {
|
|
1667
1673
|
if (typeof window > "u")
|
|
1668
1674
|
return;
|
|
1669
|
-
|
|
1675
|
+
Jr = this;
|
|
1670
1676
|
const n = Object.freeze(this.constructor.argsToParams(e));
|
|
1671
1677
|
Object.defineProperties(this, {
|
|
1672
1678
|
params: {
|
|
@@ -1714,12 +1720,12 @@ const sd = (t, e, n) => new Promise((r, o) => {
|
|
|
1714
1720
|
cancelButton: Rt(),
|
|
1715
1721
|
loader: Gt(),
|
|
1716
1722
|
closeButton: ho(),
|
|
1717
|
-
validationMessage:
|
|
1723
|
+
validationMessage: sr(),
|
|
1718
1724
|
progressSteps: ys()
|
|
1719
1725
|
};
|
|
1720
1726
|
return Z.domCache.set(t, e), e;
|
|
1721
1727
|
}, cd = (t, e, n) => {
|
|
1722
|
-
const r =
|
|
1728
|
+
const r = ar();
|
|
1723
1729
|
Ie(r), e.timer && (t.timeout = new Uc(() => {
|
|
1724
1730
|
n("timer"), delete t.timeout;
|
|
1725
1731
|
}, e.timer), e.timerProgressBar && (ke(r), Xe(r, e, "timerProgressBar"), setTimeout(() => {
|
|
@@ -1727,9 +1733,9 @@ const sd = (t, e, n) => new Promise((r, o) => {
|
|
|
1727
1733
|
})));
|
|
1728
1734
|
}, ud = (t, e) => {
|
|
1729
1735
|
if (!e.toast) {
|
|
1730
|
-
if (!
|
|
1736
|
+
if (!ir(e.allowEnterKey))
|
|
1731
1737
|
return fd();
|
|
1732
|
-
dd(t, e) ||
|
|
1738
|
+
dd(t, e) || qr(e, -1, 1);
|
|
1733
1739
|
}
|
|
1734
1740
|
}, dd = (t, e) => e.focusDeny && Ke(t.denyButton) ? (t.denyButton.focus(), !0) : e.focusCancel && Ke(t.cancelButton) ? (t.cancelButton.focus(), !0) : e.focusConfirm && Ke(t.confirmButton) ? (t.confirmButton.focus(), !0) : !1, fd = () => {
|
|
1735
1741
|
document.activeElement instanceof HTMLElement && typeof document.activeElement.blur == "function" && document.activeElement.blur();
|
|
@@ -1738,8 +1744,8 @@ Object.assign(Yt.prototype, Ds);
|
|
|
1738
1744
|
Object.assign(Yt, id);
|
|
1739
1745
|
Object.keys(Ds).forEach((t) => {
|
|
1740
1746
|
Yt[t] = function(...e) {
|
|
1741
|
-
if (
|
|
1742
|
-
return
|
|
1747
|
+
if (Jr)
|
|
1748
|
+
return Jr[t](...e);
|
|
1743
1749
|
};
|
|
1744
1750
|
});
|
|
1745
1751
|
Yt.DismissReason = Jt;
|
|
@@ -1759,8 +1765,8 @@ let {
|
|
|
1759
1765
|
seal: at,
|
|
1760
1766
|
create: js
|
|
1761
1767
|
} = Object, {
|
|
1762
|
-
apply:
|
|
1763
|
-
construct:
|
|
1768
|
+
apply: Yr,
|
|
1769
|
+
construct: Xr
|
|
1764
1770
|
} = typeof Reflect < "u" && Reflect;
|
|
1765
1771
|
Re || (Re = function(e) {
|
|
1766
1772
|
return e;
|
|
@@ -1768,25 +1774,25 @@ Re || (Re = function(e) {
|
|
|
1768
1774
|
at || (at = function(e) {
|
|
1769
1775
|
return e;
|
|
1770
1776
|
});
|
|
1771
|
-
|
|
1777
|
+
Yr || (Yr = function(e, n, r) {
|
|
1772
1778
|
return e.apply(n, r);
|
|
1773
1779
|
});
|
|
1774
|
-
|
|
1780
|
+
Xr || (Xr = function(e, n) {
|
|
1775
1781
|
return new e(...n);
|
|
1776
1782
|
});
|
|
1777
|
-
const Un = Ge(Array.prototype.forEach), pi = Ge(Array.prototype.pop), nn = Ge(Array.prototype.push), Wn = Ge(String.prototype.toLowerCase),
|
|
1783
|
+
const Un = Ge(Array.prototype.forEach), pi = Ge(Array.prototype.pop), nn = Ge(Array.prototype.push), Wn = Ge(String.prototype.toLowerCase), Er = Ge(String.prototype.toString), gd = Ge(String.prototype.match), rn = Ge(String.prototype.replace), yd = Ge(String.prototype.indexOf), vd = Ge(String.prototype.trim), tt = Ge(Object.prototype.hasOwnProperty), He = Ge(RegExp.prototype.test), on = bd(TypeError);
|
|
1778
1784
|
function Ge(t) {
|
|
1779
1785
|
return function(e) {
|
|
1780
1786
|
for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++)
|
|
1781
1787
|
r[o - 1] = arguments[o];
|
|
1782
|
-
return
|
|
1788
|
+
return Yr(t, e, r);
|
|
1783
1789
|
};
|
|
1784
1790
|
}
|
|
1785
1791
|
function bd(t) {
|
|
1786
1792
|
return function() {
|
|
1787
1793
|
for (var e = arguments.length, n = new Array(e), r = 0; r < e; r++)
|
|
1788
1794
|
n[r] = arguments[r];
|
|
1789
|
-
return
|
|
1795
|
+
return Xr(t, n);
|
|
1790
1796
|
};
|
|
1791
1797
|
}
|
|
1792
1798
|
function ne(t, e) {
|
|
@@ -1830,7 +1836,7 @@ function Hn(t, e) {
|
|
|
1830
1836
|
}
|
|
1831
1837
|
return n;
|
|
1832
1838
|
}
|
|
1833
|
-
const hi = Re(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]),
|
|
1839
|
+
const hi = Re(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), xr = Re(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Ir = Re(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), _d = Re(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Pr = Re(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Sd = Re(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), gi = Re(["#text"]), yi = Re(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "xmlns", "slot"]), Or = Re(["accent-height", "accumulate", "additive", "alignment-baseline", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), vi = Re(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), jn = Re(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), kd = at(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Cd = at(/<%[\w\W]*|[\w\W]*%>/gm), Ad = at(/\${[\w\W]*}/gm), Td = at(/^data-[\-\w.\u00B7-\uFFFF]/), Ed = at(/^aria-[\-\w]+$/), Vs = at(
|
|
1834
1840
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
1835
1841
|
// eslint-disable-line no-useless-escape
|
|
1836
1842
|
), xd = at(/^(?:\w+script|data):/i), Id = at(
|
|
@@ -1917,9 +1923,9 @@ function zs() {
|
|
|
1917
1923
|
let {
|
|
1918
1924
|
IS_ALLOWED_URI: ve
|
|
1919
1925
|
} = bi, V = null;
|
|
1920
|
-
const he = ne({}, [...hi, ...
|
|
1926
|
+
const he = ne({}, [...hi, ...xr, ...Ir, ...Pr, ...gi]);
|
|
1921
1927
|
let d = null;
|
|
1922
|
-
const p = ne({}, [...yi, ...
|
|
1928
|
+
const p = ne({}, [...yi, ...Or, ...vi, ...jn]);
|
|
1923
1929
|
let S = Object.seal(js(null, {
|
|
1924
1930
|
tagNameCheck: {
|
|
1925
1931
|
writable: !0,
|
|
@@ -1941,24 +1947,24 @@ function zs() {
|
|
|
1941
1947
|
}
|
|
1942
1948
|
})), x = null, k = null, D = !0, L = !0, $ = !1, M = !0, F = !1, W = !1, oe = !1, $e = !1, Pe = !1, we = !1, ct = !1, $o = !0, No = !1;
|
|
1943
1949
|
const Da = "user-content-";
|
|
1944
|
-
let
|
|
1950
|
+
let vr = !0, Qt = !1, Ft = {}, Bt = null;
|
|
1945
1951
|
const Do = ne({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
1946
1952
|
let Fo = null;
|
|
1947
1953
|
const Bo = ne({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
1948
|
-
let
|
|
1954
|
+
let br = null;
|
|
1949
1955
|
const Mo = ne({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Fn = "http://www.w3.org/1998/Math/MathML", Bn = "http://www.w3.org/2000/svg", mt = "http://www.w3.org/1999/xhtml";
|
|
1950
|
-
let Mt = mt,
|
|
1951
|
-
const Fa = ne({}, [Fn, Bn, mt],
|
|
1956
|
+
let Mt = mt, wr = !1, _r = null;
|
|
1957
|
+
const Fa = ne({}, [Fn, Bn, mt], Er);
|
|
1952
1958
|
let en = null;
|
|
1953
1959
|
const Ba = ["application/xhtml+xml", "text/html"], Ma = "text/html";
|
|
1954
1960
|
let be = null, Ut = null;
|
|
1955
1961
|
const Ua = n.createElement("form"), Uo = function(m) {
|
|
1956
1962
|
return m instanceof RegExp || m instanceof Function;
|
|
1957
|
-
},
|
|
1963
|
+
}, Sr = function() {
|
|
1958
1964
|
let m = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1959
1965
|
if (!(Ut && Ut === m)) {
|
|
1960
1966
|
if ((!m || typeof m != "object") && (m = {}), m = It(m), en = // eslint-disable-next-line unicorn/prefer-includes
|
|
1961
|
-
Ba.indexOf(m.PARSER_MEDIA_TYPE) === -1 ? Ma : m.PARSER_MEDIA_TYPE, be = en === "application/xhtml+xml" ?
|
|
1967
|
+
Ba.indexOf(m.PARSER_MEDIA_TYPE) === -1 ? Ma : m.PARSER_MEDIA_TYPE, be = en === "application/xhtml+xml" ? Er : Wn, V = tt(m, "ALLOWED_TAGS") ? ne({}, m.ALLOWED_TAGS, be) : he, d = tt(m, "ALLOWED_ATTR") ? ne({}, m.ALLOWED_ATTR, be) : p, _r = tt(m, "ALLOWED_NAMESPACES") ? ne({}, m.ALLOWED_NAMESPACES, Er) : Fa, br = tt(m, "ADD_URI_SAFE_ATTR") ? ne(
|
|
1962
1968
|
It(Mo),
|
|
1963
1969
|
// eslint-disable-line indent
|
|
1964
1970
|
m.ADD_URI_SAFE_ATTR,
|
|
@@ -1972,7 +1978,7 @@ function zs() {
|
|
|
1972
1978
|
// eslint-disable-line indent
|
|
1973
1979
|
be
|
|
1974
1980
|
// eslint-disable-line indent
|
|
1975
|
-
) : Bo, Bt = tt(m, "FORBID_CONTENTS") ? ne({}, m.FORBID_CONTENTS, be) : Do, x = tt(m, "FORBID_TAGS") ? ne({}, m.FORBID_TAGS, be) : {}, k = tt(m, "FORBID_ATTR") ? ne({}, m.FORBID_ATTR, be) : {}, Ft = tt(m, "USE_PROFILES") ? m.USE_PROFILES : !1, D = m.ALLOW_ARIA_ATTR !== !1, L = m.ALLOW_DATA_ATTR !== !1, $ = m.ALLOW_UNKNOWN_PROTOCOLS || !1, M = m.ALLOW_SELF_CLOSE_IN_ATTR !== !1, F = m.SAFE_FOR_TEMPLATES || !1, W = m.WHOLE_DOCUMENT || !1, Pe = m.RETURN_DOM || !1, we = m.RETURN_DOM_FRAGMENT || !1, ct = m.RETURN_TRUSTED_TYPE || !1, $e = m.FORCE_BODY || !1, $o = m.SANITIZE_DOM !== !1, No = m.SANITIZE_NAMED_PROPS || !1,
|
|
1981
|
+
) : Bo, Bt = tt(m, "FORBID_CONTENTS") ? ne({}, m.FORBID_CONTENTS, be) : Do, x = tt(m, "FORBID_TAGS") ? ne({}, m.FORBID_TAGS, be) : {}, k = tt(m, "FORBID_ATTR") ? ne({}, m.FORBID_ATTR, be) : {}, Ft = tt(m, "USE_PROFILES") ? m.USE_PROFILES : !1, D = m.ALLOW_ARIA_ATTR !== !1, L = m.ALLOW_DATA_ATTR !== !1, $ = m.ALLOW_UNKNOWN_PROTOCOLS || !1, M = m.ALLOW_SELF_CLOSE_IN_ATTR !== !1, F = m.SAFE_FOR_TEMPLATES || !1, W = m.WHOLE_DOCUMENT || !1, Pe = m.RETURN_DOM || !1, we = m.RETURN_DOM_FRAGMENT || !1, ct = m.RETURN_TRUSTED_TYPE || !1, $e = m.FORCE_BODY || !1, $o = m.SANITIZE_DOM !== !1, No = m.SANITIZE_NAMED_PROPS || !1, vr = m.KEEP_CONTENT !== !1, Qt = m.IN_PLACE || !1, ve = m.ALLOWED_URI_REGEXP || Vs, Mt = m.NAMESPACE || mt, S = m.CUSTOM_ELEMENT_HANDLING || {}, m.CUSTOM_ELEMENT_HANDLING && Uo(m.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (S.tagNameCheck = m.CUSTOM_ELEMENT_HANDLING.tagNameCheck), m.CUSTOM_ELEMENT_HANDLING && Uo(m.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (S.attributeNameCheck = m.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), m.CUSTOM_ELEMENT_HANDLING && typeof m.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (S.allowCustomizedBuiltInElements = m.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), F && (L = !1), we && (Pe = !0), Ft && (V = ne({}, gi), d = [], Ft.html === !0 && (ne(V, hi), ne(d, yi)), Ft.svg === !0 && (ne(V, xr), ne(d, Or), ne(d, jn)), Ft.svgFilters === !0 && (ne(V, Ir), ne(d, Or), ne(d, jn)), Ft.mathMl === !0 && (ne(V, Pr), ne(d, vi), ne(d, jn))), m.ADD_TAGS && (V === he && (V = It(V)), ne(V, m.ADD_TAGS, be)), m.ADD_ATTR && (d === p && (d = It(d)), ne(d, m.ADD_ATTR, be)), m.ADD_URI_SAFE_ATTR && ne(br, m.ADD_URI_SAFE_ATTR, be), m.FORBID_CONTENTS && (Bt === Do && (Bt = It(Bt)), ne(Bt, m.FORBID_CONTENTS, be)), vr && (V["#text"] = !0), W && ne(V, ["html", "head", "body"]), V.table && (ne(V, ["tbody"]), delete x.tbody), m.TRUSTED_TYPES_POLICY) {
|
|
1976
1982
|
if (typeof m.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
1977
1983
|
throw on('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
1978
1984
|
if (typeof m.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -1982,14 +1988,14 @@ function zs() {
|
|
|
1982
1988
|
C === void 0 && (C = Od(_, o)), C !== null && typeof J == "string" && (J = C.createHTML(""));
|
|
1983
1989
|
Re && Re(m), Ut = m;
|
|
1984
1990
|
}
|
|
1985
|
-
}, Ho = ne({}, ["mi", "mo", "mn", "ms", "mtext"]), jo = ne({}, ["foreignobject", "desc", "title", "annotation-xml"]), Ha = ne({}, ["title", "style", "font", "a", "script"]), Vo = ne({}, [...
|
|
1991
|
+
}, Ho = ne({}, ["mi", "mo", "mn", "ms", "mtext"]), jo = ne({}, ["foreignobject", "desc", "title", "annotation-xml"]), Ha = ne({}, ["title", "style", "font", "a", "script"]), Vo = ne({}, [...xr, ...Ir, ..._d]), Ko = ne({}, [...Pr, ...Sd]), ja = function(m) {
|
|
1986
1992
|
let N = A(m);
|
|
1987
1993
|
(!N || !N.tagName) && (N = {
|
|
1988
1994
|
namespaceURI: Mt,
|
|
1989
1995
|
tagName: "template"
|
|
1990
1996
|
});
|
|
1991
1997
|
const U = Wn(m.tagName), de = Wn(N.tagName);
|
|
1992
|
-
return
|
|
1998
|
+
return _r[m.namespaceURI] ? m.namespaceURI === Bn ? N.namespaceURI === mt ? U === "svg" : N.namespaceURI === Fn ? U === "svg" && (de === "annotation-xml" || Ho[de]) : !!Vo[U] : m.namespaceURI === Fn ? N.namespaceURI === mt ? U === "math" : N.namespaceURI === Bn ? U === "math" && jo[de] : !!Ko[U] : m.namespaceURI === mt ? N.namespaceURI === Bn && !jo[de] || N.namespaceURI === Fn && !Ho[de] ? !1 : !Ko[U] && (Ha[U] || !Vo[U]) : !!(en === "application/xhtml+xml" && _r[m.namespaceURI]) : !1;
|
|
1993
1999
|
}, Tt = function(m) {
|
|
1994
2000
|
nn(e.removed, {
|
|
1995
2001
|
element: m
|
|
@@ -1999,7 +2005,7 @@ function zs() {
|
|
|
1999
2005
|
} catch {
|
|
2000
2006
|
m.remove();
|
|
2001
2007
|
}
|
|
2002
|
-
},
|
|
2008
|
+
}, kr = function(m, N) {
|
|
2003
2009
|
try {
|
|
2004
2010
|
nn(e.removed, {
|
|
2005
2011
|
attribute: N.getAttributeNode(m),
|
|
@@ -2040,7 +2046,7 @@ function zs() {
|
|
|
2040
2046
|
if (!N || !N.documentElement) {
|
|
2041
2047
|
N = te.createDocument(Mt, "template", null);
|
|
2042
2048
|
try {
|
|
2043
|
-
N.documentElement.innerHTML =
|
|
2049
|
+
N.documentElement.innerHTML = wr ? J : de;
|
|
2044
2050
|
} catch {
|
|
2045
2051
|
}
|
|
2046
2052
|
}
|
|
@@ -2075,7 +2081,7 @@ function zs() {
|
|
|
2075
2081
|
if (!V[U] || x[U]) {
|
|
2076
2082
|
if (!x[U] && Yo(U) && (S.tagNameCheck instanceof RegExp && He(S.tagNameCheck, U) || S.tagNameCheck instanceof Function && S.tagNameCheck(U)))
|
|
2077
2083
|
return !1;
|
|
2078
|
-
if (
|
|
2084
|
+
if (vr && !Bt[U]) {
|
|
2079
2085
|
const de = A(m) || m.parentNode, Ce = H(m) || m.childNodes;
|
|
2080
2086
|
if (Ce && de) {
|
|
2081
2087
|
const Ae = Ce.length;
|
|
@@ -2104,7 +2110,7 @@ function zs() {
|
|
|
2104
2110
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
2105
2111
|
N === "is" && S.allowCustomizedBuiltInElements && (S.tagNameCheck instanceof RegExp && He(S.tagNameCheck, U) || S.tagNameCheck instanceof Function && S.tagNameCheck(U)))
|
|
2106
2112
|
) return !1;
|
|
2107
|
-
} else if (!
|
|
2113
|
+
} else if (!br[N]) {
|
|
2108
2114
|
if (!He(ve, rn(U, fe, ""))) {
|
|
2109
2115
|
if (!((N === "src" || N === "xlink:href" || N === "href") && m !== "script" && yd(U, "data:") === 0 && Fo[m])) {
|
|
2110
2116
|
if (!($ && !He(pe, rn(U, fe, "")))) {
|
|
@@ -2140,10 +2146,10 @@ function zs() {
|
|
|
2140
2146
|
value: Et
|
|
2141
2147
|
} = Ce, tn = be(Ae);
|
|
2142
2148
|
let De = Ae === "value" ? Et : vd(Et);
|
|
2143
|
-
if (U.attrName = tn, U.attrValue = De, U.keepAttr = !0, U.forceKeepAttr = void 0, pt("uponSanitizeAttribute", m, U), De = U.attrValue, U.forceKeepAttr || (
|
|
2149
|
+
if (U.attrName = tn, U.attrValue = De, U.keepAttr = !0, U.forceKeepAttr = void 0, pt("uponSanitizeAttribute", m, U), De = U.attrValue, U.forceKeepAttr || (kr(Ae, m), !U.keepAttr))
|
|
2144
2150
|
continue;
|
|
2145
2151
|
if (!M && He(/\/>/i, De)) {
|
|
2146
|
-
|
|
2152
|
+
kr(Ae, m);
|
|
2147
2153
|
continue;
|
|
2148
2154
|
}
|
|
2149
2155
|
F && Un([O, z, E], (Qo) => {
|
|
@@ -2151,7 +2157,7 @@ function zs() {
|
|
|
2151
2157
|
});
|
|
2152
2158
|
const Zo = be(m.nodeName);
|
|
2153
2159
|
if (Jo(Zo, tn, De)) {
|
|
2154
|
-
if (No && (tn === "id" || tn === "name") && (
|
|
2160
|
+
if (No && (tn === "id" || tn === "name") && (kr(Ae, m), De = Da + De), C && typeof _ == "object" && typeof _.getAttributeType == "function" && !Ne)
|
|
2155
2161
|
switch (_.getAttributeType(Zo, tn)) {
|
|
2156
2162
|
case "TrustedHTML": {
|
|
2157
2163
|
De = C.createHTML(De);
|
|
@@ -2178,7 +2184,7 @@ function zs() {
|
|
|
2178
2184
|
};
|
|
2179
2185
|
return e.sanitize = function(j) {
|
|
2180
2186
|
let m = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, N = null, U = null, de = null, Ce = null;
|
|
2181
|
-
if (
|
|
2187
|
+
if (wr = !j, wr && (j = "<!-->"), typeof j != "string" && !qo(j))
|
|
2182
2188
|
if (typeof j.toString == "function") {
|
|
2183
2189
|
if (j = j.toString(), typeof j != "string")
|
|
2184
2190
|
throw on("dirty is not a string, aborting");
|
|
@@ -2186,7 +2192,7 @@ function zs() {
|
|
|
2186
2192
|
throw on("toString is not a function");
|
|
2187
2193
|
if (!e.isSupported)
|
|
2188
2194
|
return j;
|
|
2189
|
-
if (oe ||
|
|
2195
|
+
if (oe || Sr(m), e.removed = [], typeof j == "string" && (Qt = !1), Qt) {
|
|
2190
2196
|
if (j.nodeName) {
|
|
2191
2197
|
const Et = be(j.nodeName);
|
|
2192
2198
|
if (!V[Et] || x[Et])
|
|
@@ -2222,11 +2228,11 @@ function zs() {
|
|
|
2222
2228
|
}), C && ct ? C.createHTML(Ne) : Ne;
|
|
2223
2229
|
}, e.setConfig = function() {
|
|
2224
2230
|
let j = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
2225
|
-
|
|
2231
|
+
Sr(j), oe = !0;
|
|
2226
2232
|
}, e.clearConfig = function() {
|
|
2227
2233
|
Ut = null, oe = !1;
|
|
2228
2234
|
}, e.isValidAttribute = function(j, m, N) {
|
|
2229
|
-
Ut ||
|
|
2235
|
+
Ut || Sr({});
|
|
2230
2236
|
const U = be(j), de = be(m);
|
|
2231
2237
|
return Jo(U, de, N);
|
|
2232
2238
|
}, e.addHook = function(j, m) {
|
|
@@ -2330,13 +2336,13 @@ function Fd(t) {
|
|
|
2330
2336
|
});
|
|
2331
2337
|
}), n;
|
|
2332
2338
|
}
|
|
2333
|
-
var
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
var ut = [], Ye = [], Bd = typeof Uint8Array < "u" ? Uint8Array : Array,
|
|
2338
|
-
for (var Ht = 0, Md =
|
|
2339
|
-
ut[Ht] =
|
|
2339
|
+
var ur = {};
|
|
2340
|
+
ur.byteLength = Ud;
|
|
2341
|
+
ur.toByteArray = jd;
|
|
2342
|
+
ur.fromByteArray = zd;
|
|
2343
|
+
var ut = [], Ye = [], Bd = typeof Uint8Array < "u" ? Uint8Array : Array, Lr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
2344
|
+
for (var Ht = 0, Md = Lr.length; Ht < Md; ++Ht)
|
|
2345
|
+
ut[Ht] = Lr[Ht], Ye[Lr.charCodeAt(Ht)] = Ht;
|
|
2340
2346
|
Ye[45] = 62;
|
|
2341
2347
|
Ye[95] = 63;
|
|
2342
2348
|
function Gs(t) {
|
|
@@ -2664,7 +2670,7 @@ function Xd(t) {
|
|
|
2664
2670
|
return atob(e);
|
|
2665
2671
|
}
|
|
2666
2672
|
}
|
|
2667
|
-
function
|
|
2673
|
+
function Rr(t, e) {
|
|
2668
2674
|
if (typeof t != "string")
|
|
2669
2675
|
throw new cn("Invalid token specified: must be a string");
|
|
2670
2676
|
e || (e = {});
|
|
@@ -2828,7 +2834,7 @@ function Ys(t) {
|
|
|
2828
2834
|
function y(d, p) {
|
|
2829
2835
|
switch (d) {
|
|
2830
2836
|
case "S256":
|
|
2831
|
-
var S = new Uint8Array(Jd.arrayBuffer(p)), x =
|
|
2837
|
+
var S = new Uint8Array(Jd.arrayBuffer(p)), x = ur.fromByteArray(S).replace(/\+/g, "-").replace(/\//g, "_").replace(/\=/g, "");
|
|
2832
2838
|
return x;
|
|
2833
2839
|
default:
|
|
2834
2840
|
throw "Invalid value for pkceMethod";
|
|
@@ -3094,8 +3100,8 @@ function Ys(t) {
|
|
|
3094
3100
|
return d.status == 0 && d.responseText && d.responseURL.startsWith("file:");
|
|
3095
3101
|
}
|
|
3096
3102
|
function te(d, p, S, x) {
|
|
3097
|
-
if (e.tokenTimeoutHandle && (clearTimeout(e.tokenTimeoutHandle), e.tokenTimeoutHandle = null), p ? (e.refreshToken = p, e.refreshTokenParsed =
|
|
3098
|
-
if (e.token = d, e.tokenParsed =
|
|
3103
|
+
if (e.tokenTimeoutHandle && (clearTimeout(e.tokenTimeoutHandle), e.tokenTimeoutHandle = null), p ? (e.refreshToken = p, e.refreshTokenParsed = Rr(p)) : (delete e.refreshToken, delete e.refreshTokenParsed), S ? (e.idToken = S, e.idTokenParsed = Rr(S)) : (delete e.idToken, delete e.idTokenParsed), d) {
|
|
3104
|
+
if (e.token = d, e.tokenParsed = Rr(d), e.sessionId = e.tokenParsed.session_state, e.authenticated = !0, e.subject = e.tokenParsed.sub, e.realmAccess = e.tokenParsed.realm_access, e.resourceAccess = e.tokenParsed.resource_access, x && (e.timeSkew = Math.floor(x / 1e3) - e.tokenParsed.iat), e.timeSkew != null && (c("[KEYCLOAK] Estimated time difference between browser and server is " + e.timeSkew + " seconds"), e.onTokenExpired)) {
|
|
3099
3105
|
var k = (e.tokenParsed.exp - (/* @__PURE__ */ new Date()).getTime() / 1e3 + e.timeSkew) * 1e3;
|
|
3100
3106
|
c("[KEYCLOAK] Token expires in " + Math.round(k / 1e3) + " s"), k <= 0 ? e.onTokenExpired() : e.tokenTimeoutHandle = setTimeout(e.onTokenExpired, k);
|
|
3101
3107
|
}
|
|
@@ -3555,7 +3561,7 @@ const tf = () => Ja(Xs), ag = (t) => ef(t), nf = ["data-cor"], rf = { class: "sf
|
|
|
3555
3561
|
function uf(t, e) {
|
|
3556
3562
|
return K(), ee("svg", af, cf);
|
|
3557
3563
|
}
|
|
3558
|
-
const df = /* @__PURE__ */
|
|
3564
|
+
const df = /* @__PURE__ */ or(sf, [["render", uf]]);
|
|
3559
3565
|
class ff {
|
|
3560
3566
|
get storedTheme() {
|
|
3561
3567
|
return localStorage.getItem("color-scheme");
|
|
@@ -3582,7 +3588,7 @@ class ff {
|
|
|
3582
3588
|
this.EnableLightMode();
|
|
3583
3589
|
}
|
|
3584
3590
|
}
|
|
3585
|
-
const
|
|
3591
|
+
const Zn = new ff(), mf = /* @__PURE__ */ Ya('<svg xmlns="http://www.w3.org/2000/svg" width="472.39" height="472.39" viewBox="0 0 472.39 472.39"><g class="toggle-sun"><path d="M403.21,167V69.18H305.38L236.2,0,167,69.18H69.18V167L0,236.2l69.18,69.18v97.83H167l69.18,69.18,69.18-69.18h97.83V305.38l69.18-69.18Zm-167,198.17a129,129,0,1,1,129-129A129,129,0,0,1,236.2,365.19Z"></path></g><g class="toggle-circle"><circle class="cls-1" cx="236.2" cy="236.2" r="103.78"></circle></g></svg>', 1), pf = [
|
|
3586
3592
|
mf
|
|
3587
3593
|
], hf = /* @__PURE__ */ Ze({
|
|
3588
3594
|
__name: "ThemeToggle",
|
|
@@ -3590,7 +3596,7 @@ const Xr = new ff(), mf = /* @__PURE__ */ Ya('<svg xmlns="http://www.w3.org/2000
|
|
|
3590
3596
|
return (e, n) => (K(), ee("button", {
|
|
3591
3597
|
id: "sf-theme-toggle",
|
|
3592
3598
|
onClick: n[0] || (n[0] = //@ts-ignore
|
|
3593
|
-
(...r) => _e(
|
|
3599
|
+
(...r) => _e(Zn).Toggle && _e(Zn).Toggle(...r))
|
|
3594
3600
|
}, pf));
|
|
3595
3601
|
}
|
|
3596
3602
|
}), gf = { id: "sf-layout" }, yf = /* @__PURE__ */ q("div", { class: "sf-layout-menu-toggler-logo" }, null, -1), vf = { class: "title" }, bf = { class: "sf-layout-nav-content" }, wf = /* @__PURE__ */ q("div", { class: "sf-layout-nav-footer" }, [
|
|
@@ -3853,7 +3859,7 @@ function Rf(t, e) {
|
|
|
3853
3859
|
[e].flat().filter(Boolean).forEach((r) => r.split(" ").forEach(n));
|
|
3854
3860
|
}
|
|
3855
3861
|
}
|
|
3856
|
-
function
|
|
3862
|
+
function $r(t, e) {
|
|
3857
3863
|
if (t && e) {
|
|
3858
3864
|
const n = (r) => {
|
|
3859
3865
|
t.classList ? t.classList.remove(r) : t.className = t.className.replace(new RegExp("(^|\\b)" + r.split(" ").join("|") + "(\\b|$)", "gi"), " ");
|
|
@@ -3864,11 +3870,11 @@ function Rr(t, e) {
|
|
|
3864
3870
|
function $f(t, e) {
|
|
3865
3871
|
return t instanceof HTMLElement ? t.offsetWidth : 0;
|
|
3866
3872
|
}
|
|
3867
|
-
function
|
|
3873
|
+
function dr(t) {
|
|
3868
3874
|
return typeof HTMLElement == "object" ? t instanceof HTMLElement : t && typeof t == "object" && t !== null && t.nodeType === 1 && typeof t.nodeName == "string";
|
|
3869
3875
|
}
|
|
3870
|
-
function
|
|
3871
|
-
if (
|
|
3876
|
+
function Qn(t, e = {}) {
|
|
3877
|
+
if (dr(t)) {
|
|
3872
3878
|
const n = (r, o) => {
|
|
3873
3879
|
var i, s;
|
|
3874
3880
|
const l = (i = t == null ? void 0 : t.$attrs) != null && i[r] ? [(s = t == null ? void 0 : t.$attrs) == null ? void 0 : s[r]] : [];
|
|
@@ -3888,7 +3894,7 @@ function Zn(t, e = {}) {
|
|
|
3888
3894
|
Object.entries(e).forEach(([r, o]) => {
|
|
3889
3895
|
if (o != null) {
|
|
3890
3896
|
const i = r.match(/^on(.+)/);
|
|
3891
|
-
i ? t.addEventListener(i[1].toLowerCase(), o) : r === "p-bind" ?
|
|
3897
|
+
i ? t.addEventListener(i[1].toLowerCase(), o) : r === "p-bind" ? Qn(t, o) : (o = r === "class" ? [...new Set(n("class", o))].join(" ").trim() : r === "style" ? n("style", o).join(";").trim() : o, (t.$attrs = t.$attrs || {}) && (t.$attrs[r] = o), t.setAttribute(r, o));
|
|
3892
3898
|
}
|
|
3893
3899
|
});
|
|
3894
3900
|
}
|
|
@@ -3896,17 +3902,17 @@ function Zn(t, e = {}) {
|
|
|
3896
3902
|
function Nf(t, e = {}, ...n) {
|
|
3897
3903
|
{
|
|
3898
3904
|
const r = document.createElement(t);
|
|
3899
|
-
return
|
|
3905
|
+
return Qn(r, e), r.append(...n), r;
|
|
3900
3906
|
}
|
|
3901
3907
|
}
|
|
3902
3908
|
function nt(t, e) {
|
|
3903
|
-
return
|
|
3909
|
+
return dr(t) ? t.matches(e) ? t : t.querySelector(e) : null;
|
|
3904
3910
|
}
|
|
3905
3911
|
function un(t, e) {
|
|
3906
3912
|
t && document.activeElement !== t && t.focus(e);
|
|
3907
3913
|
}
|
|
3908
3914
|
function dn(t, e) {
|
|
3909
|
-
if (
|
|
3915
|
+
if (dr(t)) {
|
|
3910
3916
|
const n = t.getAttribute(e);
|
|
3911
3917
|
return isNaN(n) ? n === "true" || n === "false" ? n === "true" : n : +n;
|
|
3912
3918
|
}
|
|
@@ -3955,7 +3961,7 @@ function Uf() {
|
|
|
3955
3961
|
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
3956
3962
|
}
|
|
3957
3963
|
function Hf(t, e = "", n) {
|
|
3958
|
-
|
|
3964
|
+
dr(t) && n !== null && n !== void 0 && t.setAttribute(e, n);
|
|
3959
3965
|
}
|
|
3960
3966
|
function Zs() {
|
|
3961
3967
|
const t = /* @__PURE__ */ new Map();
|
|
@@ -4074,23 +4080,23 @@ var Vn = {};
|
|
|
4074
4080
|
function Kf(t = "pui_id_") {
|
|
4075
4081
|
return Vn.hasOwnProperty(t) || (Vn[t] = 0), Vn[t]++, `${t}${Vn[t]}`;
|
|
4076
4082
|
}
|
|
4077
|
-
function
|
|
4083
|
+
function er() {
|
|
4078
4084
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "pv_id_";
|
|
4079
4085
|
return Kf(t);
|
|
4080
4086
|
}
|
|
4081
|
-
var zf = Object.defineProperty, Wf = Object.defineProperties, qf = Object.getOwnPropertyDescriptors,
|
|
4087
|
+
var zf = Object.defineProperty, Wf = Object.defineProperties, qf = Object.getOwnPropertyDescriptors, tr = Object.getOwnPropertySymbols, ta = Object.prototype.hasOwnProperty, na = Object.prototype.propertyIsEnumerable, Ai = (t, e, n) => e in t ? zf(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, sn = (t, e) => {
|
|
4082
4088
|
for (var n in e || (e = {}))
|
|
4083
4089
|
ta.call(e, n) && Ai(t, n, e[n]);
|
|
4084
|
-
if (
|
|
4085
|
-
for (var n of
|
|
4090
|
+
if (tr)
|
|
4091
|
+
for (var n of tr(e))
|
|
4086
4092
|
na.call(e, n) && Ai(t, n, e[n]);
|
|
4087
4093
|
return t;
|
|
4088
|
-
},
|
|
4094
|
+
}, Nr = (t, e) => Wf(t, qf(e)), an = (t, e) => {
|
|
4089
4095
|
var n = {};
|
|
4090
4096
|
for (var r in t)
|
|
4091
4097
|
ta.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
|
|
4092
|
-
if (t != null &&
|
|
4093
|
-
for (var r of
|
|
4098
|
+
if (t != null && tr)
|
|
4099
|
+
for (var r of tr(t))
|
|
4094
4100
|
e.indexOf(r) < 0 && na.call(t, r) && (n[r] = t[r]);
|
|
4095
4101
|
return n;
|
|
4096
4102
|
}, Gf = Zs(), ht = Gf;
|
|
@@ -4132,7 +4138,7 @@ function Xf(t, e, n) {
|
|
|
4132
4138
|
function fn(t, e) {
|
|
4133
4139
|
return t ? `${t}{${e}}` : "";
|
|
4134
4140
|
}
|
|
4135
|
-
var
|
|
4141
|
+
var Dr = (...t) => Zf(me.getTheme(), ...t), Zf = (t = {}, e, n, r = "variable") => {
|
|
4136
4142
|
if (e) {
|
|
4137
4143
|
const { variable: o, options: i } = me.defaults || {}, { prefix: s, transform: l } = (t == null ? void 0 : t.options) || i || {}, c = gt(e, /{([^}]*)}/g) ? e : `{${e}}`;
|
|
4138
4144
|
return r === "value" || l === "strict" ? me.getTokenValue(e) : oa(c, void 0, s, [o.excludedKeyRegex], n);
|
|
@@ -4348,7 +4354,7 @@ var et = {
|
|
|
4348
4354
|
_tokens: {},
|
|
4349
4355
|
update(t = {}) {
|
|
4350
4356
|
const { theme: e } = t;
|
|
4351
|
-
e && (this._theme =
|
|
4357
|
+
e && (this._theme = Nr(sn({}, e), {
|
|
4352
4358
|
options: sn(sn({}, this.defaults.options), e.options)
|
|
4353
4359
|
}), this._tokens = et.createTokens(this.preset, this.defaults), this.clearLoadedStyleNames());
|
|
4354
4360
|
},
|
|
@@ -4376,13 +4382,13 @@ var et = {
|
|
|
4376
4382
|
return this.preset;
|
|
4377
4383
|
},
|
|
4378
4384
|
setPreset(t) {
|
|
4379
|
-
this._theme =
|
|
4385
|
+
this._theme = Nr(sn({}, this.theme), { preset: t }), this._tokens = et.createTokens(t, this.defaults), this.clearLoadedStyleNames(), ht.emit("preset:change", t), ht.emit("theme:change", this.theme);
|
|
4380
4386
|
},
|
|
4381
4387
|
getOptions() {
|
|
4382
4388
|
return this.options;
|
|
4383
4389
|
},
|
|
4384
4390
|
setOptions(t) {
|
|
4385
|
-
this._theme =
|
|
4391
|
+
this._theme = Nr(sn({}, this.theme), { options: t }), this.clearLoadedStyleNames(), ht.emit("options:change", t), ht.emit("theme:change", this.theme);
|
|
4386
4392
|
},
|
|
4387
4393
|
getLayerNames() {
|
|
4388
4394
|
return [...this._layerNames];
|
|
@@ -4519,16 +4525,16 @@ function im(t) {
|
|
|
4519
4525
|
var V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
4520
4526
|
if (l) {
|
|
4521
4527
|
var he = Ii(Ii({}, E), V), d = he.name || _, p = he.id || R, S = he.nonce || C;
|
|
4522
|
-
o.value = l.querySelector('style[data-primevue-style-id="'.concat(d, '"]')) || l.getElementById(p) || l.createElement("style"), o.value.isConnected || (r.value = ve || t,
|
|
4528
|
+
o.value = l.querySelector('style[data-primevue-style-id="'.concat(d, '"]')) || l.getElementById(p) || l.createElement("style"), o.value.isConnected || (r.value = ve || t, Qn(o.value, {
|
|
4523
4529
|
type: "text/css",
|
|
4524
4530
|
id: p,
|
|
4525
4531
|
media: H,
|
|
4526
4532
|
nonce: S
|
|
4527
|
-
}), te ? l.head.prepend(o.value) : l.head.appendChild(o.value), Hf(o.value, "data-primevue-style-id", d),
|
|
4533
|
+
}), te ? l.head.prepend(o.value) : l.head.appendChild(o.value), Hf(o.value, "data-primevue-style-id", d), Qn(o.value, he), o.value.onload = function(x) {
|
|
4528
4534
|
return O == null ? void 0 : O(x, {
|
|
4529
4535
|
name: d
|
|
4530
4536
|
});
|
|
4531
|
-
}, T == null || T(d)), !n.value && (G =
|
|
4537
|
+
}, T == null || T(d)), !n.value && (G = jr(r, function(x) {
|
|
4532
4538
|
o.value.textContent = x, I == null || I(d);
|
|
4533
4539
|
}, {
|
|
4534
4540
|
immediate: !0
|
|
@@ -4605,7 +4611,7 @@ function Li(t, e) {
|
|
|
4605
4611
|
}
|
|
4606
4612
|
return n;
|
|
4607
4613
|
}
|
|
4608
|
-
function
|
|
4614
|
+
function Fr(t) {
|
|
4609
4615
|
for (var e = 1; e < arguments.length; e++) {
|
|
4610
4616
|
var n = arguments[e] != null ? arguments[e] : {};
|
|
4611
4617
|
e % 2 ? Li(Object(n), !0).forEach(function(r) {
|
|
@@ -4789,9 +4795,9 @@ var mm = function(e) {
|
|
|
4789
4795
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : function(i) {
|
|
4790
4796
|
return i;
|
|
4791
4797
|
}, o = r(ze(e, {
|
|
4792
|
-
dt:
|
|
4798
|
+
dt: Dr
|
|
4793
4799
|
}));
|
|
4794
|
-
return o ? im(hn(o),
|
|
4800
|
+
return o ? im(hn(o), Fr({
|
|
4795
4801
|
name: this.name
|
|
4796
4802
|
}, n)) : {};
|
|
4797
4803
|
},
|
|
@@ -4824,7 +4830,7 @@ var mm = function(e) {
|
|
|
4824
4830
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
4825
4831
|
if (this.css) {
|
|
4826
4832
|
var r = ze(this.css, {
|
|
4827
|
-
dt:
|
|
4833
|
+
dt: Dr
|
|
4828
4834
|
}), o = hn("".concat(r).concat(e)), i = Object.entries(n).reduce(function(s, l) {
|
|
4829
4835
|
var a = Pi(l, 2), c = a[0], u = a[1];
|
|
4830
4836
|
return s.push("".concat(c, '="').concat(u, '"')) && s;
|
|
@@ -4841,7 +4847,7 @@ var mm = function(e) {
|
|
|
4841
4847
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = [me.getStyleSheet(this.name, e, n)];
|
|
4842
4848
|
if (this.theme) {
|
|
4843
4849
|
var o = this.name === "base" ? "global-style" : "".concat(this.name, "-style"), i = ze(this.theme, {
|
|
4844
|
-
dt:
|
|
4850
|
+
dt: Dr
|
|
4845
4851
|
}), s = hn(me.transformCSS(o, i)), l = Object.entries(n).reduce(function(a, c) {
|
|
4846
4852
|
var u = Pi(c, 2), f = u[0], h = u[1];
|
|
4847
4853
|
return a.push("".concat(f, '="').concat(h, '"')) && a;
|
|
@@ -4851,7 +4857,7 @@ var mm = function(e) {
|
|
|
4851
4857
|
return r.join("");
|
|
4852
4858
|
},
|
|
4853
4859
|
extend: function(e) {
|
|
4854
|
-
return
|
|
4860
|
+
return Fr(Fr({}, this), {}, {
|
|
4855
4861
|
css: void 0,
|
|
4856
4862
|
theme: void 0
|
|
4857
4863
|
}, e);
|
|
@@ -4954,7 +4960,7 @@ function _m(t, e) {
|
|
|
4954
4960
|
}
|
|
4955
4961
|
return (e === "string" ? String : Number)(t);
|
|
4956
4962
|
}
|
|
4957
|
-
var
|
|
4963
|
+
var fr = {
|
|
4958
4964
|
name: "BaseComponent",
|
|
4959
4965
|
props: {
|
|
4960
4966
|
pt: {
|
|
@@ -5274,7 +5280,7 @@ var dr = {
|
|
|
5274
5280
|
}, {});
|
|
5275
5281
|
},
|
|
5276
5282
|
$attrSelector: function() {
|
|
5277
|
-
return
|
|
5283
|
+
return er("pc");
|
|
5278
5284
|
}
|
|
5279
5285
|
}
|
|
5280
5286
|
}, Sm = `
|
|
@@ -5361,7 +5367,7 @@ function Tm(t, e) {
|
|
|
5361
5367
|
}
|
|
5362
5368
|
var la = {
|
|
5363
5369
|
name: "BaseIcon",
|
|
5364
|
-
extends:
|
|
5370
|
+
extends: fr,
|
|
5365
5371
|
props: {
|
|
5366
5372
|
label: {
|
|
5367
5373
|
type: String,
|
|
@@ -5897,7 +5903,7 @@ var Q = {
|
|
|
5897
5903
|
r("created", s, l, a, c);
|
|
5898
5904
|
},
|
|
5899
5905
|
beforeMount: function(s, l, a, c) {
|
|
5900
|
-
s.$attrSelector =
|
|
5906
|
+
s.$attrSelector = er("pd"), Q._loadStyles(s, l, a), r("beforeMount", s, l, a, c), o(s);
|
|
5901
5907
|
},
|
|
5902
5908
|
mounted: function(s, l, a, c) {
|
|
5903
5909
|
Q._loadStyles(s, l, a), r("mounted", s, l, a, c);
|
|
@@ -6043,18 +6049,18 @@ var Qm = zm.extend("ripple", {
|
|
|
6043
6049
|
onMouseDown: function(e) {
|
|
6044
6050
|
var n = this, r = e.currentTarget, o = this.getInk(r);
|
|
6045
6051
|
if (!(!o || getComputedStyle(o, null).display === "none")) {
|
|
6046
|
-
if (!this.isUnstyled() &&
|
|
6052
|
+
if (!this.isUnstyled() && $r(o, "p-ink-active"), o.setAttribute("data-p-ink-active", "false"), !_i(o) && !Si(o)) {
|
|
6047
6053
|
var i = Math.max($f(r), Bf(r));
|
|
6048
6054
|
o.style.height = i + "px", o.style.width = i + "px";
|
|
6049
6055
|
}
|
|
6050
6056
|
var s = Ff(r), l = e.pageX - s.left + document.body.scrollTop - Si(o) / 2, a = e.pageY - s.top + document.body.scrollLeft - _i(o) / 2;
|
|
6051
6057
|
o.style.top = a + "px", o.style.left = l + "px", !this.isUnstyled() && Rf(o, "p-ink-active"), o.setAttribute("data-p-ink-active", "true"), this.timeout = setTimeout(function() {
|
|
6052
|
-
o && (!n.isUnstyled() &&
|
|
6058
|
+
o && (!n.isUnstyled() && $r(o, "p-ink-active"), o.setAttribute("data-p-ink-active", "false"));
|
|
6053
6059
|
}, 401);
|
|
6054
6060
|
}
|
|
6055
6061
|
},
|
|
6056
6062
|
onAnimationEnd: function(e) {
|
|
6057
|
-
this.timeout && clearTimeout(this.timeout), !this.isUnstyled() &&
|
|
6063
|
+
this.timeout && clearTimeout(this.timeout), !this.isUnstyled() && $r(e.currentTarget, "p-ink-active"), e.currentTarget.setAttribute("data-p-ink-active", "false");
|
|
6058
6064
|
},
|
|
6059
6065
|
getInk: function(e) {
|
|
6060
6066
|
return e && e.children ? Wm(e.children).find(function(n) {
|
|
@@ -6064,7 +6070,7 @@ var Qm = zm.extend("ripple", {
|
|
|
6064
6070
|
}
|
|
6065
6071
|
}), ep = {
|
|
6066
6072
|
name: "BasePanelMenu",
|
|
6067
|
-
extends:
|
|
6073
|
+
extends: fr,
|
|
6068
6074
|
props: {
|
|
6069
6075
|
model: {
|
|
6070
6076
|
type: Array,
|
|
@@ -6093,7 +6099,7 @@ var Qm = zm.extend("ripple", {
|
|
|
6093
6099
|
}, ca = {
|
|
6094
6100
|
name: "PanelMenuSub",
|
|
6095
6101
|
hostName: "PanelMenu",
|
|
6096
|
-
extends:
|
|
6102
|
+
extends: fr,
|
|
6097
6103
|
emits: ["item-toggle", "item-mousemove"],
|
|
6098
6104
|
props: {
|
|
6099
6105
|
panelId: {
|
|
@@ -6265,7 +6271,7 @@ function ip(t, e, n, r, o, i) {
|
|
|
6265
6271
|
hasSubmenu: i.isItemGroup(a),
|
|
6266
6272
|
label: i.getItemLabel(a),
|
|
6267
6273
|
props: i.getMenuItemProps(a, c)
|
|
6268
|
-
}, null, 8, ["item", "active", "hasSubmenu", "label", "props"])) :
|
|
6274
|
+
}, null, 8, ["item", "active", "hasSubmenu", "label", "props"])) : Vr((K(), ee("a", re({
|
|
6269
6275
|
key: 0,
|
|
6270
6276
|
href: i.getItemProp(a, "url"),
|
|
6271
6277
|
class: t.cx("itemLink"),
|
|
@@ -6300,7 +6306,7 @@ function ip(t, e, n, r, o, i) {
|
|
|
6300
6306
|
ref_for: !0
|
|
6301
6307
|
}, t.ptm("transition")), {
|
|
6302
6308
|
default: ot(function() {
|
|
6303
|
-
return [
|
|
6309
|
+
return [Vr(q("div", re({
|
|
6304
6310
|
class: t.cx("contentContainer"),
|
|
6305
6311
|
ref_for: !0
|
|
6306
6312
|
}, t.ptm("contentContainer")), [i.isItemVisible(a) && i.isItemGroup(a) ? (K(), Te(s, re({
|
|
@@ -6376,7 +6382,7 @@ function up(t) {
|
|
|
6376
6382
|
var ua = {
|
|
6377
6383
|
name: "PanelMenuList",
|
|
6378
6384
|
hostName: "PanelMenu",
|
|
6379
|
-
extends:
|
|
6385
|
+
extends: fr,
|
|
6380
6386
|
emits: ["item-toggle", "header-focus"],
|
|
6381
6387
|
props: {
|
|
6382
6388
|
panelId: {
|
|
@@ -6782,11 +6788,11 @@ var da = {
|
|
|
6782
6788
|
},
|
|
6783
6789
|
watch: {
|
|
6784
6790
|
"$attrs.id": function(e) {
|
|
6785
|
-
this.id = e ||
|
|
6791
|
+
this.id = e || er();
|
|
6786
6792
|
}
|
|
6787
6793
|
},
|
|
6788
6794
|
mounted: function() {
|
|
6789
|
-
this.id = this.id ||
|
|
6795
|
+
this.id = this.id || er();
|
|
6790
6796
|
},
|
|
6791
6797
|
methods: {
|
|
6792
6798
|
getItemProp: function(e, n) {
|
|
@@ -7023,7 +7029,7 @@ function wp(t, e, n, r, o, i) {
|
|
|
7023
7029
|
ref_for: !0
|
|
7024
7030
|
}, t.ptm("transition")), {
|
|
7025
7031
|
default: ot(function() {
|
|
7026
|
-
return [
|
|
7032
|
+
return [Vr(q("div", re({
|
|
7027
7033
|
id: i.getContentId(a),
|
|
7028
7034
|
class: t.cx("contentContainer"),
|
|
7029
7035
|
role: "region",
|
|
@@ -7113,7 +7119,7 @@ const _p = (t) => (tl("data-v-f3b30de9"), t = t(), nl(), t), Sp = { class: "pane
|
|
|
7113
7119
|
]);
|
|
7114
7120
|
};
|
|
7115
7121
|
}
|
|
7116
|
-
}), fg = /* @__PURE__ */
|
|
7122
|
+
}), fg = /* @__PURE__ */ or(xp, [["__scopeId", "data-v-f3b30de9"]]);
|
|
7117
7123
|
class zi {
|
|
7118
7124
|
constructor(e = null) {
|
|
7119
7125
|
Je(this, "errors", []);
|
|
@@ -7151,10 +7157,10 @@ function fa(t, e) {
|
|
|
7151
7157
|
return t.apply(e, arguments);
|
|
7152
7158
|
};
|
|
7153
7159
|
}
|
|
7154
|
-
const { toString: Ip } = Object.prototype, { getPrototypeOf: Io } = Object,
|
|
7160
|
+
const { toString: Ip } = Object.prototype, { getPrototypeOf: Io } = Object, mr = /* @__PURE__ */ ((t) => (e) => {
|
|
7155
7161
|
const n = Ip.call(e);
|
|
7156
7162
|
return t[n] || (t[n] = n.slice(8, -1).toLowerCase());
|
|
7157
|
-
})(/* @__PURE__ */ Object.create(null)), lt = (t) => (t = t.toLowerCase(), (e) =>
|
|
7163
|
+
})(/* @__PURE__ */ Object.create(null)), lt = (t) => (t = t.toLowerCase(), (e) => mr(e) === t), pr = (t) => (e) => typeof e === t, { isArray: Xt } = Array, Tn = pr("undefined");
|
|
7158
7164
|
function Pp(t) {
|
|
7159
7165
|
return t !== null && !Tn(t) && t.constructor !== null && !Tn(t.constructor) && We(t.constructor.isBuffer) && t.constructor.isBuffer(t);
|
|
7160
7166
|
}
|
|
@@ -7163,14 +7169,14 @@ function Op(t) {
|
|
|
7163
7169
|
let e;
|
|
7164
7170
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && ma(t.buffer), e;
|
|
7165
7171
|
}
|
|
7166
|
-
const Lp =
|
|
7167
|
-
if (
|
|
7172
|
+
const Lp = pr("string"), We = pr("function"), pa = pr("number"), hr = (t) => t !== null && typeof t == "object", Rp = (t) => t === !0 || t === !1, Gn = (t) => {
|
|
7173
|
+
if (mr(t) !== "object")
|
|
7168
7174
|
return !1;
|
|
7169
7175
|
const e = Io(t);
|
|
7170
7176
|
return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
|
|
7171
|
-
}, $p = lt("Date"), Np = lt("File"), Dp = lt("Blob"), Fp = lt("FileList"), Bp = (t) =>
|
|
7177
|
+
}, $p = lt("Date"), Np = lt("File"), Dp = lt("Blob"), Fp = lt("FileList"), Bp = (t) => hr(t) && We(t.pipe), Mp = (t) => {
|
|
7172
7178
|
let e;
|
|
7173
|
-
return t && (typeof FormData == "function" && t instanceof FormData || We(t.append) && ((e =
|
|
7179
|
+
return t && (typeof FormData == "function" && t instanceof FormData || We(t.append) && ((e = mr(t)) === "formdata" || // detect form-data instance
|
|
7174
7180
|
e === "object" && We(t.toString) && t.toString() === "[object FormData]"));
|
|
7175
7181
|
}, Up = lt("URLSearchParams"), [Hp, jp, Vp, Kp] = ["ReadableStream", "Request", "Response", "Headers"].map(lt), zp = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
7176
7182
|
function Nn(t, e, { allOwnKeys: n = !1 } = {}) {
|
|
@@ -7282,10 +7288,10 @@ const Wp = (t, e, n, { allOwnKeys: r } = {}) => (Nn(e, (o, i) => {
|
|
|
7282
7288
|
};
|
|
7283
7289
|
return Xt(t) ? r(t) : r(String(t).split(e)), n;
|
|
7284
7290
|
}, sh = () => {
|
|
7285
|
-
}, ah = (t, e) => t != null && Number.isFinite(t = +t) ? t : e,
|
|
7291
|
+
}, ah = (t, e) => t != null && Number.isFinite(t = +t) ? t : e, Br = "abcdefghijklmnopqrstuvwxyz", qi = "0123456789", va = {
|
|
7286
7292
|
DIGIT: qi,
|
|
7287
|
-
ALPHA:
|
|
7288
|
-
ALPHA_DIGIT:
|
|
7293
|
+
ALPHA: Br,
|
|
7294
|
+
ALPHA_DIGIT: Br + Br.toUpperCase() + qi
|
|
7289
7295
|
}, lh = (t = 16, e = va.ALPHA_DIGIT) => {
|
|
7290
7296
|
let n = "";
|
|
7291
7297
|
const { length: r } = e;
|
|
@@ -7298,7 +7304,7 @@ function ch(t) {
|
|
|
7298
7304
|
}
|
|
7299
7305
|
const uh = (t) => {
|
|
7300
7306
|
const e = new Array(10), n = (r, o) => {
|
|
7301
|
-
if (
|
|
7307
|
+
if (hr(r)) {
|
|
7302
7308
|
if (e.indexOf(r) >= 0)
|
|
7303
7309
|
return;
|
|
7304
7310
|
if (!("toJSON" in r)) {
|
|
@@ -7313,7 +7319,7 @@ const uh = (t) => {
|
|
|
7313
7319
|
return r;
|
|
7314
7320
|
};
|
|
7315
7321
|
return n(t, 0);
|
|
7316
|
-
}, dh = lt("AsyncFunction"), fh = (t) => t && (
|
|
7322
|
+
}, dh = lt("AsyncFunction"), fh = (t) => t && (hr(t) || We(t)) && We(t.then) && We(t.catch), ba = ((t, e) => t ? setImmediate : e ? ((n, r) => (Pt.addEventListener("message", ({ source: o, data: i }) => {
|
|
7317
7323
|
o === Pt && i === n && r.length && r.shift()();
|
|
7318
7324
|
}, !1), (o) => {
|
|
7319
7325
|
r.push(o), Pt.postMessage(n, "*");
|
|
@@ -7329,7 +7335,7 @@ const uh = (t) => {
|
|
|
7329
7335
|
isString: Lp,
|
|
7330
7336
|
isNumber: pa,
|
|
7331
7337
|
isBoolean: Rp,
|
|
7332
|
-
isObject:
|
|
7338
|
+
isObject: hr,
|
|
7333
7339
|
isPlainObject: Gn,
|
|
7334
7340
|
isReadableStream: Hp,
|
|
7335
7341
|
isRequest: jp,
|
|
@@ -7352,7 +7358,7 @@ const uh = (t) => {
|
|
|
7352
7358
|
stripBOM: qp,
|
|
7353
7359
|
inherits: Gp,
|
|
7354
7360
|
toFlatObject: Jp,
|
|
7355
|
-
kindOf:
|
|
7361
|
+
kindOf: mr,
|
|
7356
7362
|
kindOfTest: lt,
|
|
7357
7363
|
endsWith: Yp,
|
|
7358
7364
|
toArray: Xp,
|
|
@@ -7448,7 +7454,7 @@ function hh(t) {
|
|
|
7448
7454
|
const gh = g.toFlatObject(g, {}, null, function(e) {
|
|
7449
7455
|
return /^is[A-Z]/.test(e);
|
|
7450
7456
|
});
|
|
7451
|
-
function
|
|
7457
|
+
function gr(t, e, n) {
|
|
7452
7458
|
if (!g.isObject(t))
|
|
7453
7459
|
throw new TypeError("target must be an object");
|
|
7454
7460
|
e = e || new FormData(), n = g.toFlatObject(n, {
|
|
@@ -7524,7 +7530,7 @@ function Ji(t) {
|
|
|
7524
7530
|
});
|
|
7525
7531
|
}
|
|
7526
7532
|
function Po(t, e) {
|
|
7527
|
-
this._pairs = [], t &&
|
|
7533
|
+
this._pairs = [], t && gr(t, this, e);
|
|
7528
7534
|
}
|
|
7529
7535
|
const ka = Po.prototype;
|
|
7530
7536
|
ka.append = function(e, n) {
|
|
@@ -7630,7 +7636,7 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Ch
|
|
|
7630
7636
|
..._h
|
|
7631
7637
|
};
|
|
7632
7638
|
function Th(t, e) {
|
|
7633
|
-
return
|
|
7639
|
+
return gr(t, new it.classes.URLSearchParams(), Object.assign({
|
|
7634
7640
|
visitor: function(n, r, o, i) {
|
|
7635
7641
|
return it.isNode && g.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
|
|
7636
7642
|
}
|
|
@@ -7692,7 +7698,7 @@ const Dn = {
|
|
|
7692
7698
|
return Th(e, this.formSerializer).toString();
|
|
7693
7699
|
if ((l = g.isFileList(e)) || r.indexOf("multipart/form-data") > -1) {
|
|
7694
7700
|
const a = this.env && this.env.FormData;
|
|
7695
|
-
return
|
|
7701
|
+
return gr(
|
|
7696
7702
|
l ? { "files[]": e } : e,
|
|
7697
7703
|
a && new a(),
|
|
7698
7704
|
this.formSerializer
|
|
@@ -7782,7 +7788,7 @@ function Lh(t) {
|
|
|
7782
7788
|
return e;
|
|
7783
7789
|
}
|
|
7784
7790
|
const Rh = (t) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());
|
|
7785
|
-
function
|
|
7791
|
+
function Mr(t, e, n, r, o) {
|
|
7786
7792
|
if (g.isFunction(r))
|
|
7787
7793
|
return r.call(this, e, n);
|
|
7788
7794
|
if (o && (e = n), !!g.isString(e)) {
|
|
@@ -7851,7 +7857,7 @@ class Me {
|
|
|
7851
7857
|
has(e, n) {
|
|
7852
7858
|
if (e = ln(e), e) {
|
|
7853
7859
|
const r = g.findKey(this, e);
|
|
7854
|
-
return !!(r && this[r] !== void 0 && (!n ||
|
|
7860
|
+
return !!(r && this[r] !== void 0 && (!n || Mr(this, this[r], r, n)));
|
|
7855
7861
|
}
|
|
7856
7862
|
return !1;
|
|
7857
7863
|
}
|
|
@@ -7861,7 +7867,7 @@ class Me {
|
|
|
7861
7867
|
function i(s) {
|
|
7862
7868
|
if (s = ln(s), s) {
|
|
7863
7869
|
const l = g.findKey(r, s);
|
|
7864
|
-
l && (!n ||
|
|
7870
|
+
l && (!n || Mr(r, r[l], l, n)) && (delete r[l], o = !0);
|
|
7865
7871
|
}
|
|
7866
7872
|
}
|
|
7867
7873
|
return g.isArray(e) ? e.forEach(i) : i(e), o;
|
|
@@ -7871,7 +7877,7 @@ class Me {
|
|
|
7871
7877
|
let r = n.length, o = !1;
|
|
7872
7878
|
for (; r--; ) {
|
|
7873
7879
|
const i = n[r];
|
|
7874
|
-
(!e ||
|
|
7880
|
+
(!e || Mr(this, this[i], i, e, !0)) && (delete this[i], o = !0);
|
|
7875
7881
|
}
|
|
7876
7882
|
return o;
|
|
7877
7883
|
}
|
|
@@ -7935,7 +7941,7 @@ g.reduceDescriptors(Me.prototype, ({ value: t }, e) => {
|
|
|
7935
7941
|
};
|
|
7936
7942
|
});
|
|
7937
7943
|
g.freezeMethods(Me);
|
|
7938
|
-
function
|
|
7944
|
+
function Ur(t, e) {
|
|
7939
7945
|
const n = this || Dn, r = e || n, o = Me.from(r.headers);
|
|
7940
7946
|
let i = r.data;
|
|
7941
7947
|
return g.forEach(t, function(l) {
|
|
@@ -7993,7 +7999,7 @@ function Bh(t, e) {
|
|
|
7993
7999
|
}, r - f)));
|
|
7994
8000
|
}, () => o && s(o)];
|
|
7995
8001
|
}
|
|
7996
|
-
const
|
|
8002
|
+
const nr = (t, e, n = 3) => {
|
|
7997
8003
|
let r = 0;
|
|
7998
8004
|
const o = Fh(50, 250);
|
|
7999
8005
|
return Bh((i) => {
|
|
@@ -8219,7 +8225,7 @@ const Pa = (t) => {
|
|
|
8219
8225
|
)), w = null;
|
|
8220
8226
|
}, i === void 0 && s.setContentType(null), "setRequestHeader" in w && g.forEach(s.toJSON(), function(J, te) {
|
|
8221
8227
|
w.setRequestHeader(te, J);
|
|
8222
|
-
}), g.isUndefined(o.withCredentials) || (w.withCredentials = !!o.withCredentials), l && l !== "json" && (w.responseType = o.responseType), c && ([h, y] =
|
|
8228
|
+
}), g.isUndefined(o.withCredentials) || (w.withCredentials = !!o.withCredentials), l && l !== "json" && (w.responseType = o.responseType), c && ([h, y] = nr(c, !0), w.addEventListener("progress", h)), a && w.upload && ([f, _] = nr(a), w.upload.addEventListener("progress", f), w.upload.addEventListener("loadend", _)), (o.cancelToken || o.signal) && (u = (C) => {
|
|
8223
8229
|
w && (r(!C || C.type ? new Zt(null, t, w) : C), w.abort(), w = null);
|
|
8224
8230
|
}, o.cancelToken && o.cancelToken.subscribe(u), o.signal && (o.signal.aborted ? u() : o.signal.addEventListener("abort", u)));
|
|
8225
8231
|
const A = Dh(o.url);
|
|
@@ -8292,7 +8298,7 @@ const Pa = (t) => {
|
|
|
8292
8298
|
}, {
|
|
8293
8299
|
highWaterMark: 2
|
|
8294
8300
|
});
|
|
8295
|
-
},
|
|
8301
|
+
}, yr = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Oa = yr && typeof ReadableStream == "function", oo = yr && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((t) => (e) => t.encode(e))(new TextEncoder()) : async (t) => new Uint8Array(await new Response(t).arrayBuffer())), La = (t, ...e) => {
|
|
8296
8302
|
try {
|
|
8297
8303
|
return !!t(...e);
|
|
8298
8304
|
} catch {
|
|
@@ -8308,12 +8314,12 @@ const Pa = (t) => {
|
|
|
8308
8314
|
}
|
|
8309
8315
|
}).headers.has("Content-Type");
|
|
8310
8316
|
return t && !e;
|
|
8311
|
-
}), ns = 64 * 1024, io = Oa && La(() => g.isReadableStream(new Response("").body)),
|
|
8317
|
+
}), ns = 64 * 1024, io = Oa && La(() => g.isReadableStream(new Response("").body)), rr = {
|
|
8312
8318
|
stream: io && ((t) => t.body)
|
|
8313
8319
|
};
|
|
8314
|
-
|
|
8320
|
+
yr && ((t) => {
|
|
8315
8321
|
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((e) => {
|
|
8316
|
-
!
|
|
8322
|
+
!rr[e] && (rr[e] = g.isFunction(t[e]) ? (n) => n[e]() : (n, r) => {
|
|
8317
8323
|
throw new Y(`Response type '${e}' is not supported`, Y.ERR_NOT_SUPPORT, r);
|
|
8318
8324
|
});
|
|
8319
8325
|
});
|
|
@@ -8332,7 +8338,7 @@ const Jh = async (t) => {
|
|
|
8332
8338
|
}, Yh = async (t, e) => {
|
|
8333
8339
|
const n = g.toFiniteNumber(t.getContentLength());
|
|
8334
8340
|
return n ?? Jh(e);
|
|
8335
|
-
}, Xh =
|
|
8341
|
+
}, Xh = yr && (async (t) => {
|
|
8336
8342
|
let {
|
|
8337
8343
|
url: e,
|
|
8338
8344
|
method: n,
|
|
@@ -8365,7 +8371,7 @@ const Jh = async (t) => {
|
|
|
8365
8371
|
if (g.isFormData(r) && (T = v.headers.get("content-type")) && u.setContentType(T), v.body) {
|
|
8366
8372
|
const [B, I] = Zi(
|
|
8367
8373
|
A,
|
|
8368
|
-
|
|
8374
|
+
nr(Qi(a))
|
|
8369
8375
|
);
|
|
8370
8376
|
r = ts(v.body, ns, B, I, oo);
|
|
8371
8377
|
}
|
|
@@ -8388,7 +8394,7 @@ const Jh = async (t) => {
|
|
|
8388
8394
|
});
|
|
8389
8395
|
const T = g.toFiniteNumber(C.headers.get("content-length")), [B, I] = l && Zi(
|
|
8390
8396
|
T,
|
|
8391
|
-
|
|
8397
|
+
nr(Qi(l), !0)
|
|
8392
8398
|
) || [];
|
|
8393
8399
|
C = new Response(
|
|
8394
8400
|
ts(C.body, ns, B, () => {
|
|
@@ -8398,7 +8404,7 @@ const Jh = async (t) => {
|
|
|
8398
8404
|
);
|
|
8399
8405
|
}
|
|
8400
8406
|
c = c || "text";
|
|
8401
|
-
let te = await
|
|
8407
|
+
let te = await rr[g.findKey(rr, c) || "text"](C, t);
|
|
8402
8408
|
return !J && H(), y && y(), await new Promise((v, T) => {
|
|
8403
8409
|
xa(v, T, {
|
|
8404
8410
|
data: te,
|
|
@@ -8462,22 +8468,22 @@ const rs = (t) => `- ${t}`, Zh = (t) => g.isFunction(t) || t === null || t === !
|
|
|
8462
8468
|
},
|
|
8463
8469
|
adapters: so
|
|
8464
8470
|
};
|
|
8465
|
-
function
|
|
8471
|
+
function Hr(t) {
|
|
8466
8472
|
if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted)
|
|
8467
8473
|
throw new Zt(null, t);
|
|
8468
8474
|
}
|
|
8469
8475
|
function os(t) {
|
|
8470
|
-
return
|
|
8476
|
+
return Hr(t), t.headers = Me.from(t.headers), t.data = Ur.call(
|
|
8471
8477
|
t,
|
|
8472
8478
|
t.transformRequest
|
|
8473
8479
|
), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), Ra.getAdapter(t.adapter || Dn.adapter)(t).then(function(r) {
|
|
8474
|
-
return
|
|
8480
|
+
return Hr(t), r.data = Ur.call(
|
|
8475
8481
|
t,
|
|
8476
8482
|
t.transformResponse,
|
|
8477
8483
|
r
|
|
8478
8484
|
), r.headers = Me.from(r.headers), r;
|
|
8479
8485
|
}, function(r) {
|
|
8480
|
-
return Ea(r) || (
|
|
8486
|
+
return Ea(r) || (Hr(t), r && r.response && (r.response.data = Ur.call(
|
|
8481
8487
|
t,
|
|
8482
8488
|
t.transformResponse,
|
|
8483
8489
|
r.response
|
|
@@ -8806,7 +8812,7 @@ ye.CanceledError = Zt;
|
|
|
8806
8812
|
ye.CancelToken = Ro;
|
|
8807
8813
|
ye.isCancel = Ea;
|
|
8808
8814
|
ye.VERSION = $a;
|
|
8809
|
-
ye.toFormData =
|
|
8815
|
+
ye.toFormData = gr;
|
|
8810
8816
|
ye.AxiosError = Y;
|
|
8811
8817
|
ye.Cancel = ye.CanceledError;
|
|
8812
8818
|
ye.all = function(e) {
|
|
@@ -8931,7 +8937,10 @@ const mg = (t, e) => new ng(t, e);
|
|
|
8931
8937
|
function pg() {
|
|
8932
8938
|
document.documentElement.classList.add("app-mounted");
|
|
8933
8939
|
}
|
|
8934
|
-
|
|
8940
|
+
function hg() {
|
|
8941
|
+
Zn.Toggle();
|
|
8942
|
+
}
|
|
8943
|
+
Zn.SetInitialTheme();
|
|
8935
8944
|
export {
|
|
8936
8945
|
zi as AppResult,
|
|
8937
8946
|
ng as AxiosClient,
|
|
@@ -8939,14 +8948,14 @@ export {
|
|
|
8939
8948
|
kl as SfButton,
|
|
8940
8949
|
cg as SfContent,
|
|
8941
8950
|
wl as SfDrawer,
|
|
8942
|
-
|
|
8951
|
+
Kr as SfIcon,
|
|
8943
8952
|
lg as SfLayout,
|
|
8944
8953
|
dg as SfMessage,
|
|
8945
8954
|
fg as SfNavMenu,
|
|
8946
8955
|
ug as SfTabNavigation,
|
|
8947
8956
|
us as SfTooltip,
|
|
8948
8957
|
ag as StartAuthService,
|
|
8949
|
-
|
|
8958
|
+
hg as ToggleTheme,
|
|
8950
8959
|
sg as UseAlertService,
|
|
8951
8960
|
tf as UseAuthService,
|
|
8952
8961
|
mg as UseAxiosClient,
|