@luizleon/sf.prefeiturasp.vuecomponents 0.0.46 → 0.0.47
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/sf.prefeiturasp.vuecomponents.es.js +276 -273
- package/dist/sf.prefeiturasp.vuecomponents.es.js.map +1 -1
- package/dist/sf.prefeiturasp.vuecomponents.umd.js +8 -8
- package/dist/sf.prefeiturasp.vuecomponents.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/layout/Layout.vue +3 -0
- package/src/style/src/components/_layout.scss +21 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Ks = Object.defineProperty;
|
|
2
2
|
var Gs = (t, e, n) => e in t ? Ks(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var Fe = (t, e, n) => (Gs(t, typeof e != "symbol" ? e + "" : e, n), n);
|
|
4
|
-
import { ref as qe, openBlock as ne, createElementBlock as le, createElementVNode as
|
|
4
|
+
import { ref as qe, openBlock as ne, createElementBlock as le, createElementVNode as G, defineComponent as De, onBeforeUnmount as Cr, unref as Ae, renderSlot as Te, computed as Dt, createBlock as st, resolveDynamicComponent as Js, withCtx as ot, normalizeStyle as Mt, normalizeClass as he, mergeProps as Ys, Fragment as so, createTextVNode as Wn, toDisplayString as fn, createCommentVNode as rt, useSlots as Xs, watch as Wo, Teleport as Zs, withModifiers as Ln, createVNode as Xe, Transition as Qs, onMounted as pn, createStaticVNode as ei, resolveComponent as Sr, renderList as ti } from "vue";
|
|
5
5
|
class ni {
|
|
6
6
|
constructor() {
|
|
7
7
|
Fe(this, "_visible", qe(!1));
|
|
@@ -71,9 +71,9 @@ const Pr = (t, e) => {
|
|
|
71
71
|
for (const [o, r] of e)
|
|
72
72
|
n[o] = r;
|
|
73
73
|
return n;
|
|
74
|
-
}, si = {}, ii = { class: "sf-loading-circle" }, ai = /* @__PURE__ */
|
|
75
|
-
/* @__PURE__ */
|
|
76
|
-
/* @__PURE__ */
|
|
74
|
+
}, si = {}, ii = { class: "sf-loading-circle" }, ai = /* @__PURE__ */ G("div", null, [
|
|
75
|
+
/* @__PURE__ */ G("svg", { viewBox: "25 25 50 50" }, [
|
|
76
|
+
/* @__PURE__ */ G("circle", {
|
|
77
77
|
cx: "50",
|
|
78
78
|
cy: "50",
|
|
79
79
|
r: "20",
|
|
@@ -169,7 +169,7 @@ const ui = /* @__PURE__ */ Pr(si, [["render", li]]), Rr = /* @__PURE__ */ De({
|
|
|
169
169
|
style: Mt(e.style),
|
|
170
170
|
class: he(o.value)
|
|
171
171
|
}, [
|
|
172
|
-
|
|
172
|
+
G("button", Ys({
|
|
173
173
|
class: [
|
|
174
174
|
"material-symbols-outlined",
|
|
175
175
|
{ "icon-filled": !!e.filled }
|
|
@@ -265,8 +265,8 @@ const ui = /* @__PURE__ */ Pr(si, [["render", li]]), Rr = /* @__PURE__ */ De({
|
|
|
265
265
|
role: "dialog",
|
|
266
266
|
onClick: Q[0] || (Q[0] = Ln((oe) => D.void, ["stop"]))
|
|
267
267
|
}, [
|
|
268
|
-
|
|
269
|
-
|
|
268
|
+
G("div", hi, [
|
|
269
|
+
G("span", mi, [
|
|
270
270
|
Te(D.$slots, "title")
|
|
271
271
|
]),
|
|
272
272
|
Xe(cn, {
|
|
@@ -275,7 +275,7 @@ const ui = /* @__PURE__ */ Pr(si, [["render", li]]), Rr = /* @__PURE__ */ De({
|
|
|
275
275
|
onClick: Ln(b, ["stop"])
|
|
276
276
|
}, null, 8, ["onClick"])
|
|
277
277
|
]),
|
|
278
|
-
|
|
278
|
+
G("div", gi, [
|
|
279
279
|
Te(D.$slots, "default")
|
|
280
280
|
]),
|
|
281
281
|
Ae(r).footer ? (ne(), le("div", yi, [
|
|
@@ -336,7 +336,7 @@ const ui = /* @__PURE__ */ Pr(si, [["render", li]]), Rr = /* @__PURE__ */ De({
|
|
|
336
336
|
size: e.size,
|
|
337
337
|
"button-props": { tabindex: -1 }
|
|
338
338
|
}, null, 8, ["size"])) : rt("", !0),
|
|
339
|
-
|
|
339
|
+
G("span", vi, [
|
|
340
340
|
Te(o.$slots, "default")
|
|
341
341
|
])
|
|
342
342
|
], 14, wi)) : rt("", !0);
|
|
@@ -1931,7 +1931,7 @@ function ds() {
|
|
|
1931
1931
|
enumerable: !0,
|
|
1932
1932
|
value: !1
|
|
1933
1933
|
}
|
|
1934
|
-
})), E = null, g = null, P = !0, A = !0, x = !1, L = !0, R = !1, $ = !1,
|
|
1934
|
+
})), E = null, g = null, P = !0, A = !0, x = !1, L = !0, R = !1, $ = !1, J = !1, ke = !1, ve = !1, ue = !1, ze = !1, Co = !0, So = !1;
|
|
1935
1935
|
const Ds = "user-content-";
|
|
1936
1936
|
let Cn = !0, Tt = !1, ht = {}, mt = null;
|
|
1937
1937
|
const _o = K({}, ["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"]);
|
|
@@ -2179,7 +2179,7 @@ function ds() {
|
|
|
2179
2179
|
throw It("toString is not a function");
|
|
2180
2180
|
if (!e.isSupported)
|
|
2181
2181
|
return B;
|
|
2182
|
-
if (
|
|
2182
|
+
if (J || Pn(c), e.removed = [], typeof B == "string" && (Tt = !1), Tt) {
|
|
2183
2183
|
if (B.nodeName) {
|
|
2184
2184
|
const ct = ce(B.nodeName);
|
|
2185
2185
|
if (!U[ct] || E[ct])
|
|
@@ -2215,9 +2215,9 @@ function ds() {
|
|
|
2215
2215
|
}), j && ze ? j.createHTML(Ce) : Ce;
|
|
2216
2216
|
}, e.setConfig = function() {
|
|
2217
2217
|
let B = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
2218
|
-
Pn(B),
|
|
2218
|
+
Pn(B), J = !0;
|
|
2219
2219
|
}, e.clearConfig = function() {
|
|
2220
|
-
yt = null,
|
|
2220
|
+
yt = null, J = !1;
|
|
2221
2221
|
}, e.isValidAttribute = function(B, c, k) {
|
|
2222
2222
|
yt || Pn({});
|
|
2223
2223
|
const O = ce(B), te = ce(c);
|
|
@@ -2299,7 +2299,7 @@ class Ll extends ps {
|
|
|
2299
2299
|
});
|
|
2300
2300
|
}
|
|
2301
2301
|
}
|
|
2302
|
-
const
|
|
2302
|
+
const Gd = () => new Rl(), Ol = () => new Ll(), Il = ["data-cor"], Fl = { class: "sf-p-4" }, Bl = /* @__PURE__ */ De({
|
|
2303
2303
|
__name: "HeaderAvatar",
|
|
2304
2304
|
emits: ["logout"],
|
|
2305
2305
|
setup(t, { emit: e }) {
|
|
@@ -2325,7 +2325,7 @@ const Kd = () => new Rl(), Ol = () => new Ll(), Il = ["data-cor"], Fl = { class:
|
|
|
2325
2325
|
return pn(() => {
|
|
2326
2326
|
o.value = i();
|
|
2327
2327
|
}), (b, w) => (ne(), le(so, null, [
|
|
2328
|
-
|
|
2328
|
+
G("div", {
|
|
2329
2329
|
id: "sf-header-avatar",
|
|
2330
2330
|
"data-cor": d.value,
|
|
2331
2331
|
onClick: w[0] || (w[0] = (y) => l.value = !0)
|
|
@@ -2339,7 +2339,7 @@ const Kd = () => new Rl(), Ol = () => new Ll(), Il = ["data-cor"], Fl = { class:
|
|
|
2339
2339
|
Wn("Minha conta")
|
|
2340
2340
|
]),
|
|
2341
2341
|
default: ot(() => [
|
|
2342
|
-
|
|
2342
|
+
G("div", Fl, [
|
|
2343
2343
|
Xe(Ai, {
|
|
2344
2344
|
color: "error",
|
|
2345
2345
|
onClick: s
|
|
@@ -2361,7 +2361,7 @@ const Kd = () => new Rl(), Ol = () => new Ll(), Il = ["data-cor"], Fl = { class:
|
|
|
2361
2361
|
viewBox: "0 -960 960 960",
|
|
2362
2362
|
width: "48",
|
|
2363
2363
|
class: "sf-svg-icon"
|
|
2364
|
-
}, Dl = /* @__PURE__ */
|
|
2364
|
+
}, Dl = /* @__PURE__ */ G("path", { d: "m307.231-83.463-54.999-55.23 343.923-343.922-343.923-343.539 54.999-54.614 398.153 398.153L307.231-83.462Z" }, null, -1), Ml = [
|
|
2365
2365
|
Dl
|
|
2366
2366
|
];
|
|
2367
2367
|
function $l(t, e) {
|
|
@@ -2405,7 +2405,9 @@ const Qn = new jl(), zl = /* @__PURE__ */ ei('<svg xmlns="http://www.w3.org/2000
|
|
|
2405
2405
|
(...o) => Ae(Qn).Toggle && Ae(Qn).Toggle(...o))
|
|
2406
2406
|
}, Vl));
|
|
2407
2407
|
}
|
|
2408
|
-
}), ql = { id: "sf-layout" }, Kl = /* @__PURE__ */
|
|
2408
|
+
}), ql = { id: "sf-layout" }, Kl = /* @__PURE__ */ G("div", { class: "sf-layout-menu-toggler-logo" }, null, -1), Gl = { class: "title" }, Jl = { class: "sf-layout-nav-content" }, Yl = /* @__PURE__ */ G("div", { class: "sf-layout-nav-footer" }, [
|
|
2409
|
+
/* @__PURE__ */ G("div", { class: "sf-layout-nav-footer-logo" })
|
|
2410
|
+
], -1), Xl = /* @__PURE__ */ G("section", { id: "sf-layout-page-title" }, null, -1), Zl = { id: "sf-layout-content" }, Jd = /* @__PURE__ */ De({
|
|
2409
2411
|
__name: "Layout",
|
|
2410
2412
|
emits: ["mounted", "logout"],
|
|
2411
2413
|
setup(t, { emit: e }) {
|
|
@@ -2413,8 +2415,8 @@ const Qn = new jl(), zl = /* @__PURE__ */ ei('<svg xmlns="http://www.w3.org/2000
|
|
|
2413
2415
|
return pn(() => {
|
|
2414
2416
|
o("mounted");
|
|
2415
2417
|
}), (r, s) => (ne(), le("div", ql, [
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
+
G("header", null, [
|
|
2419
|
+
G("div", {
|
|
2418
2420
|
class: he([
|
|
2419
2421
|
"sf-layout-menu-toggler",
|
|
2420
2422
|
{ invert: Ae(n).IsVisible }
|
|
@@ -2424,7 +2426,7 @@ const Qn = new jl(), zl = /* @__PURE__ */ ei('<svg xmlns="http://www.w3.org/2000
|
|
|
2424
2426
|
Kl,
|
|
2425
2427
|
Xe(Hl)
|
|
2426
2428
|
], 2),
|
|
2427
|
-
|
|
2429
|
+
G("div", Gl, [
|
|
2428
2430
|
Te(r.$slots, "title")
|
|
2429
2431
|
]),
|
|
2430
2432
|
Te(r.$slots, "action"),
|
|
@@ -2438,24 +2440,25 @@ const Qn = new jl(), zl = /* @__PURE__ */ ei('<svg xmlns="http://www.w3.org/2000
|
|
|
2438
2440
|
onLogout: s[1] || (s[1] = (i) => o("logout"))
|
|
2439
2441
|
})
|
|
2440
2442
|
]),
|
|
2441
|
-
|
|
2443
|
+
G("nav", {
|
|
2442
2444
|
class: he({ visible: Ae(n).IsVisible })
|
|
2443
2445
|
}, [
|
|
2444
|
-
|
|
2446
|
+
G("div", Jl, [
|
|
2445
2447
|
Te(r.$slots, "menu")
|
|
2446
|
-
])
|
|
2448
|
+
]),
|
|
2449
|
+
Yl
|
|
2447
2450
|
], 2),
|
|
2448
|
-
|
|
2451
|
+
G("main", {
|
|
2449
2452
|
class: he({ "menu-visible": Ae(n).IsVisible })
|
|
2450
2453
|
}, [
|
|
2451
|
-
|
|
2452
|
-
|
|
2454
|
+
Xl,
|
|
2455
|
+
G("section", Zl, [
|
|
2453
2456
|
Te(r.$slots, "content")
|
|
2454
2457
|
])
|
|
2455
2458
|
], 2)
|
|
2456
2459
|
]));
|
|
2457
2460
|
}
|
|
2458
|
-
}),
|
|
2461
|
+
}), Ql = ["href", "data-active", "onClick"], eu = { class: "sf-navmenulink-text" }, Yd = /* @__PURE__ */ De({
|
|
2459
2462
|
__name: "NavMenuLink",
|
|
2460
2463
|
props: {
|
|
2461
2464
|
href: {},
|
|
@@ -2478,7 +2481,7 @@ const Qn = new jl(), zl = /* @__PURE__ */ ei('<svg xmlns="http://www.w3.org/2000
|
|
|
2478
2481
|
custom: ""
|
|
2479
2482
|
}, {
|
|
2480
2483
|
default: ot(({ href: d, navigate: l, isExactActive: b, isActive: w }) => [
|
|
2481
|
-
|
|
2484
|
+
G("a", {
|
|
2482
2485
|
class: "sf-navmenulink",
|
|
2483
2486
|
href: d,
|
|
2484
2487
|
"data-active": e.exact ? b : w,
|
|
@@ -2490,14 +2493,14 @@ const Qn = new jl(), zl = /* @__PURE__ */ ei('<svg xmlns="http://www.w3.org/2000
|
|
|
2490
2493
|
filled: e.iconFilled,
|
|
2491
2494
|
"button-props": { tabindex: -1 }
|
|
2492
2495
|
}, null, 8, ["icon", "filled"])) : rt("", !0),
|
|
2493
|
-
|
|
2494
|
-
], 8,
|
|
2496
|
+
G("span", eu, fn(e.text), 1)
|
|
2497
|
+
], 8, Ql)
|
|
2495
2498
|
]),
|
|
2496
2499
|
_: 1
|
|
2497
2500
|
}, 8, ["to"]);
|
|
2498
2501
|
};
|
|
2499
2502
|
}
|
|
2500
|
-
}),
|
|
2503
|
+
}), tu = /* @__PURE__ */ De({
|
|
2501
2504
|
__name: "ScrollToTop",
|
|
2502
2505
|
setup(t) {
|
|
2503
2506
|
const e = qe(!1), n = `--${+/* @__PURE__ */ new Date()}`;
|
|
@@ -2516,7 +2519,7 @@ const Qn = new jl(), zl = /* @__PURE__ */ ei('<svg xmlns="http://www.w3.org/2000
|
|
|
2516
2519
|
onClick: r
|
|
2517
2520
|
}, null, 2));
|
|
2518
2521
|
}
|
|
2519
|
-
}),
|
|
2522
|
+
}), Xd = /* @__PURE__ */ De({
|
|
2520
2523
|
__name: "Content",
|
|
2521
2524
|
props: {
|
|
2522
2525
|
class: {},
|
|
@@ -2543,25 +2546,25 @@ const Qn = new jl(), zl = /* @__PURE__ */ ei('<svg xmlns="http://www.w3.org/2000
|
|
|
2543
2546
|
class: he(n()),
|
|
2544
2547
|
style: Mt(e.style)
|
|
2545
2548
|
}, [
|
|
2546
|
-
|
|
2549
|
+
G("div", {
|
|
2547
2550
|
class: he(r())
|
|
2548
2551
|
}, [
|
|
2549
2552
|
Te(i.$slots, "header")
|
|
2550
2553
|
], 2),
|
|
2551
|
-
|
|
2554
|
+
G("div", {
|
|
2552
2555
|
class: he(o())
|
|
2553
2556
|
}, [
|
|
2554
2557
|
Te(i.$slots, "default"),
|
|
2555
|
-
Xe(
|
|
2558
|
+
Xe(tu)
|
|
2556
2559
|
], 2),
|
|
2557
|
-
|
|
2560
|
+
G("div", {
|
|
2558
2561
|
class: he(s())
|
|
2559
2562
|
}, [
|
|
2560
2563
|
Te(i.$slots, "footer")
|
|
2561
2564
|
], 2)
|
|
2562
2565
|
], 6));
|
|
2563
2566
|
}
|
|
2564
|
-
}),
|
|
2567
|
+
}), nu = { class: "sf-tab-navigation" }, ou = /* @__PURE__ */ G("svg", {
|
|
2565
2568
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2566
2569
|
fill: "none",
|
|
2567
2570
|
viewBox: "0 0 24 24",
|
|
@@ -2569,14 +2572,14 @@ const Qn = new jl(), zl = /* @__PURE__ */ ei('<svg xmlns="http://www.w3.org/2000
|
|
|
2569
2572
|
stroke: "currentColor",
|
|
2570
2573
|
class: "w-6 h-6"
|
|
2571
2574
|
}, [
|
|
2572
|
-
/* @__PURE__ */
|
|
2575
|
+
/* @__PURE__ */ G("path", {
|
|
2573
2576
|
"stroke-linecap": "round",
|
|
2574
2577
|
"stroke-linejoin": "round",
|
|
2575
2578
|
d: "M15.75 19.5L8.25 12l7.5-7.5"
|
|
2576
2579
|
})
|
|
2577
|
-
], -1),
|
|
2578
|
-
|
|
2579
|
-
],
|
|
2580
|
+
], -1), ru = [
|
|
2581
|
+
ou
|
|
2582
|
+
], su = ["data-active"], iu = ["href", "onClick"], au = /* @__PURE__ */ G("svg", {
|
|
2580
2583
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2581
2584
|
fill: "none",
|
|
2582
2585
|
viewBox: "0 0 24 24",
|
|
@@ -2584,14 +2587,14 @@ const Qn = new jl(), zl = /* @__PURE__ */ ei('<svg xmlns="http://www.w3.org/2000
|
|
|
2584
2587
|
stroke: "currentColor",
|
|
2585
2588
|
class: "w-6 h-6"
|
|
2586
2589
|
}, [
|
|
2587
|
-
/* @__PURE__ */
|
|
2590
|
+
/* @__PURE__ */ G("path", {
|
|
2588
2591
|
"stroke-linecap": "round",
|
|
2589
2592
|
"stroke-linejoin": "round",
|
|
2590
2593
|
d: "M8.25 4.5l7.5 7.5-7.5 7.5"
|
|
2591
2594
|
})
|
|
2592
|
-
], -1),
|
|
2593
|
-
|
|
2594
|
-
],
|
|
2595
|
+
], -1), cu = [
|
|
2596
|
+
au
|
|
2597
|
+
], Zd = /* @__PURE__ */ De({
|
|
2595
2598
|
__name: "TabNavigation",
|
|
2596
2599
|
props: {
|
|
2597
2600
|
tabs: {}
|
|
@@ -2621,12 +2624,12 @@ const Qn = new jl(), zl = /* @__PURE__ */ ei('<svg xmlns="http://www.w3.org/2000
|
|
|
2621
2624
|
}
|
|
2622
2625
|
}), (l, b) => {
|
|
2623
2626
|
const w = Sr("RouterLink");
|
|
2624
|
-
return ne(), le("div",
|
|
2625
|
-
|
|
2627
|
+
return ne(), le("div", nu, [
|
|
2628
|
+
G("div", {
|
|
2626
2629
|
class: he(["left-arrow", { active: r.value }]),
|
|
2627
2630
|
onClick: b[0] || (b[0] = (y) => i(!0))
|
|
2628
|
-
},
|
|
2629
|
-
|
|
2631
|
+
}, ru, 2),
|
|
2632
|
+
G("ul", {
|
|
2630
2633
|
ref_key: "trackerContainer",
|
|
2631
2634
|
ref: n
|
|
2632
2635
|
}, [
|
|
@@ -2635,31 +2638,31 @@ const Qn = new jl(), zl = /* @__PURE__ */ ei('<svg xmlns="http://www.w3.org/2000
|
|
|
2635
2638
|
custom: !0
|
|
2636
2639
|
}, {
|
|
2637
2640
|
default: ot(({ navigate: H, isActive: M }) => [
|
|
2638
|
-
|
|
2641
|
+
G("li", { "data-active": M }, [
|
|
2639
2642
|
Te(l.$slots, "item", {
|
|
2640
2643
|
item: y,
|
|
2641
2644
|
navigate: H,
|
|
2642
2645
|
isActive: M
|
|
2643
2646
|
}, () => [
|
|
2644
|
-
|
|
2647
|
+
G("a", {
|
|
2645
2648
|
href: y.route,
|
|
2646
2649
|
class: he({ active: M }),
|
|
2647
2650
|
onClick: H
|
|
2648
|
-
}, fn(y.text), 11,
|
|
2651
|
+
}, fn(y.text), 11, iu)
|
|
2649
2652
|
])
|
|
2650
|
-
], 8,
|
|
2653
|
+
], 8, su)
|
|
2651
2654
|
]),
|
|
2652
2655
|
_: 2
|
|
2653
2656
|
}, 1032, ["to"]))), 256))
|
|
2654
2657
|
], 512),
|
|
2655
|
-
|
|
2658
|
+
G("div", {
|
|
2656
2659
|
class: he(["right-arrow", { active: s.value }]),
|
|
2657
2660
|
onClick: b[1] || (b[1] = (y) => i())
|
|
2658
|
-
},
|
|
2661
|
+
}, cu, 2)
|
|
2659
2662
|
]);
|
|
2660
2663
|
};
|
|
2661
2664
|
}
|
|
2662
|
-
}),
|
|
2665
|
+
}), lu = ["data-icon"], Qd = /* @__PURE__ */ De({
|
|
2663
2666
|
__name: "Message",
|
|
2664
2667
|
props: {
|
|
2665
2668
|
color: { default: "info" },
|
|
@@ -2691,14 +2694,14 @@ const Qn = new jl(), zl = /* @__PURE__ */ ei('<svg xmlns="http://www.w3.org/2000
|
|
|
2691
2694
|
"data-icon": n.value
|
|
2692
2695
|
}, [
|
|
2693
2696
|
Te(r.$slots, "default")
|
|
2694
|
-
], 10,
|
|
2697
|
+
], 10, lu));
|
|
2695
2698
|
}
|
|
2696
2699
|
});
|
|
2697
|
-
var
|
|
2698
|
-
function
|
|
2700
|
+
var uu = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
2701
|
+
function du(t) {
|
|
2699
2702
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
2700
2703
|
}
|
|
2701
|
-
function
|
|
2704
|
+
function fu(t) {
|
|
2702
2705
|
if (t.__esModule)
|
|
2703
2706
|
return t;
|
|
2704
2707
|
var e = t.default;
|
|
@@ -2720,11 +2723,11 @@ function du(t) {
|
|
|
2720
2723
|
}), n;
|
|
2721
2724
|
}
|
|
2722
2725
|
var wn = {};
|
|
2723
|
-
wn.byteLength =
|
|
2724
|
-
wn.toByteArray =
|
|
2725
|
-
wn.fromByteArray =
|
|
2726
|
-
var Ve = [], Be = [],
|
|
2727
|
-
for (var bt = 0,
|
|
2726
|
+
wn.byteLength = mu;
|
|
2727
|
+
wn.toByteArray = yu;
|
|
2728
|
+
wn.fromByteArray = vu;
|
|
2729
|
+
var Ve = [], Be = [], pu = typeof Uint8Array < "u" ? Uint8Array : Array, Mn = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
2730
|
+
for (var bt = 0, hu = Mn.length; bt < hu; ++bt)
|
|
2728
2731
|
Ve[bt] = Mn[bt], Be[Mn.charCodeAt(bt)] = bt;
|
|
2729
2732
|
Be[45] = 62;
|
|
2730
2733
|
Be[95] = 63;
|
|
@@ -2737,30 +2740,30 @@ function hs(t) {
|
|
|
2737
2740
|
var o = n === e ? 0 : 4 - n % 4;
|
|
2738
2741
|
return [n, o];
|
|
2739
2742
|
}
|
|
2740
|
-
function
|
|
2743
|
+
function mu(t) {
|
|
2741
2744
|
var e = hs(t), n = e[0], o = e[1];
|
|
2742
2745
|
return (n + o) * 3 / 4 - o;
|
|
2743
2746
|
}
|
|
2744
|
-
function
|
|
2747
|
+
function gu(t, e, n) {
|
|
2745
2748
|
return (e + n) * 3 / 4 - n;
|
|
2746
2749
|
}
|
|
2747
|
-
function
|
|
2748
|
-
var e, n = hs(t), o = n[0], r = n[1], s = new
|
|
2750
|
+
function yu(t) {
|
|
2751
|
+
var e, n = hs(t), o = n[0], r = n[1], s = new pu(gu(t, o, r)), i = 0, d = r > 0 ? o - 4 : o, l;
|
|
2749
2752
|
for (l = 0; l < d; l += 4)
|
|
2750
2753
|
e = Be[t.charCodeAt(l)] << 18 | Be[t.charCodeAt(l + 1)] << 12 | Be[t.charCodeAt(l + 2)] << 6 | Be[t.charCodeAt(l + 3)], s[i++] = e >> 16 & 255, s[i++] = e >> 8 & 255, s[i++] = e & 255;
|
|
2751
2754
|
return r === 2 && (e = Be[t.charCodeAt(l)] << 2 | Be[t.charCodeAt(l + 1)] >> 4, s[i++] = e & 255), r === 1 && (e = Be[t.charCodeAt(l)] << 10 | Be[t.charCodeAt(l + 1)] << 4 | Be[t.charCodeAt(l + 2)] >> 2, s[i++] = e >> 8 & 255, s[i++] = e & 255), s;
|
|
2752
2755
|
}
|
|
2753
|
-
function
|
|
2756
|
+
function bu(t) {
|
|
2754
2757
|
return Ve[t >> 18 & 63] + Ve[t >> 12 & 63] + Ve[t >> 6 & 63] + Ve[t & 63];
|
|
2755
2758
|
}
|
|
2756
|
-
function
|
|
2759
|
+
function wu(t, e, n) {
|
|
2757
2760
|
for (var o, r = [], s = e; s < n; s += 3)
|
|
2758
|
-
o = (t[s] << 16 & 16711680) + (t[s + 1] << 8 & 65280) + (t[s + 2] & 255), r.push(
|
|
2761
|
+
o = (t[s] << 16 & 16711680) + (t[s + 1] << 8 & 65280) + (t[s + 2] & 255), r.push(bu(o));
|
|
2759
2762
|
return r.join("");
|
|
2760
2763
|
}
|
|
2761
|
-
function
|
|
2764
|
+
function vu(t) {
|
|
2762
2765
|
for (var e, n = t.length, o = n % 3, r = [], s = 16383, i = 0, d = n - o; i < d; i += s)
|
|
2763
|
-
r.push(
|
|
2766
|
+
r.push(wu(t, i, i + s > d ? d : i + s));
|
|
2764
2767
|
return o === 1 ? (e = t[n - 1], r.push(
|
|
2765
2768
|
Ve[e >> 2] + Ve[e << 4 & 63] + "=="
|
|
2766
2769
|
)) : o === 2 && (e = (t[n - 2] << 8) + t[n - 1], r.push(
|
|
@@ -2768,10 +2771,10 @@ function wu(t) {
|
|
|
2768
2771
|
)), r.join("");
|
|
2769
2772
|
}
|
|
2770
2773
|
var ms = { exports: {} };
|
|
2771
|
-
const
|
|
2774
|
+
const Au = {}, Eu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2772
2775
|
__proto__: null,
|
|
2773
|
-
default:
|
|
2774
|
-
}, Symbol.toStringTag, { value: "Module" })), fr = /* @__PURE__ */
|
|
2776
|
+
default: Au
|
|
2777
|
+
}, Symbol.toStringTag, { value: "Module" })), fr = /* @__PURE__ */ fu(Eu);
|
|
2775
2778
|
/**
|
|
2776
2779
|
* [js-sha256]{@link https://github.com/emn178/js-sha256}
|
|
2777
2780
|
*
|
|
@@ -2785,7 +2788,7 @@ const vu = {}, Au = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2785
2788
|
var e = "input is invalid type", n = typeof window == "object", o = n ? window : {};
|
|
2786
2789
|
o.JS_SHA256_NO_WINDOW && (n = !1);
|
|
2787
2790
|
var r = !n && typeof self == "object", s = !o.JS_SHA256_NO_NODE_JS && typeof process == "object" && process.versions && process.versions.node;
|
|
2788
|
-
s ? o =
|
|
2791
|
+
s ? o = uu : r && (o = self);
|
|
2789
2792
|
var i = !o.JS_SHA256_NO_COMMON_JS && !0 && t.exports, d = !o.JS_SHA256_NO_ARRAY_BUFFER && typeof ArrayBuffer < "u", l = "0123456789abcdef".split(""), b = [-2147483648, 8388608, 32768, 128], w = [24, 16, 8, 0], y = [
|
|
2790
2793
|
1116352408,
|
|
2791
2794
|
1899447441,
|
|
@@ -3022,18 +3025,18 @@ const vu = {}, Au = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3022
3025
|
ae.sha256 = ae, ae.sha224 = F(!0), ae.sha256.hmac = oe(), ae.sha224.hmac = oe(!0), i ? t.exports = ae : (o.sha256 = ae.sha256, o.sha224 = ae.sha224);
|
|
3023
3026
|
})();
|
|
3024
3027
|
})(ms);
|
|
3025
|
-
var
|
|
3026
|
-
const
|
|
3028
|
+
var xu = ms.exports;
|
|
3029
|
+
const ku = /* @__PURE__ */ du(xu);
|
|
3027
3030
|
class Bt extends Error {
|
|
3028
3031
|
}
|
|
3029
3032
|
Bt.prototype.name = "InvalidTokenError";
|
|
3030
|
-
function
|
|
3033
|
+
function Cu(t) {
|
|
3031
3034
|
return decodeURIComponent(atob(t).replace(/(.)/g, (e, n) => {
|
|
3032
3035
|
let o = n.charCodeAt(0).toString(16).toUpperCase();
|
|
3033
3036
|
return o.length < 2 && (o = "0" + o), "%" + o;
|
|
3034
3037
|
}));
|
|
3035
3038
|
}
|
|
3036
|
-
function
|
|
3039
|
+
function Su(t) {
|
|
3037
3040
|
let e = t.replace(/-/g, "+").replace(/_/g, "/");
|
|
3038
3041
|
switch (e.length % 4) {
|
|
3039
3042
|
case 0:
|
|
@@ -3048,7 +3051,7 @@ function Cu(t) {
|
|
|
3048
3051
|
throw new Error("base64 string is not of the correct length");
|
|
3049
3052
|
}
|
|
3050
3053
|
try {
|
|
3051
|
-
return
|
|
3054
|
+
return Cu(e);
|
|
3052
3055
|
} catch {
|
|
3053
3056
|
return atob(e);
|
|
3054
3057
|
}
|
|
@@ -3062,7 +3065,7 @@ function $n(t, e) {
|
|
|
3062
3065
|
throw new Bt(`Invalid token specified: missing part #${n + 1}`);
|
|
3063
3066
|
let r;
|
|
3064
3067
|
try {
|
|
3065
|
-
r =
|
|
3068
|
+
r = Su(o);
|
|
3066
3069
|
} catch (s) {
|
|
3067
3070
|
throw new Bt(`Invalid token specified: invalid base64 for part #${n + 1} (${s.message})`);
|
|
3068
3071
|
}
|
|
@@ -3127,19 +3130,19 @@ function gs(t) {
|
|
|
3127
3130
|
});
|
|
3128
3131
|
var g = j();
|
|
3129
3132
|
function P() {
|
|
3130
|
-
var L = function(
|
|
3131
|
-
|
|
3133
|
+
var L = function(J) {
|
|
3134
|
+
J || ($.prompt = "none"), a && a.locale && ($.locale = a.locale), e.login($).then(function() {
|
|
3132
3135
|
E.setSuccess();
|
|
3133
3136
|
}).catch(function(ke) {
|
|
3134
3137
|
E.setError(ke);
|
|
3135
3138
|
});
|
|
3136
3139
|
}, R = function() {
|
|
3137
|
-
var
|
|
3138
|
-
|
|
3140
|
+
var J = document.createElement("iframe"), ke = e.createLoginUrl({ prompt: "none", redirectUri: e.silentCheckSsoRedirectUri });
|
|
3141
|
+
J.setAttribute("src", ke), J.setAttribute("sandbox", "allow-scripts allow-same-origin"), J.setAttribute("title", "keycloak-silent-check-sso"), J.style.display = "none", document.body.appendChild(J);
|
|
3139
3142
|
var ve = function(ue) {
|
|
3140
|
-
if (!(ue.origin !== window.location.origin ||
|
|
3143
|
+
if (!(ue.origin !== window.location.origin || J.contentWindow !== ue.source)) {
|
|
3141
3144
|
var ze = _(ue.data);
|
|
3142
|
-
oe(ze, E), document.body.removeChild(
|
|
3145
|
+
oe(ze, E), document.body.removeChild(J), window.removeEventListener("message", ve);
|
|
3143
3146
|
}
|
|
3144
3147
|
};
|
|
3145
3148
|
window.addEventListener("message", ve);
|
|
@@ -3147,10 +3150,10 @@ function gs(t) {
|
|
|
3147
3150
|
switch (a.onLoad) {
|
|
3148
3151
|
case "check-sso":
|
|
3149
3152
|
s.enable ? z().then(function() {
|
|
3150
|
-
V().then(function(
|
|
3151
|
-
|
|
3152
|
-
}).catch(function(
|
|
3153
|
-
E.setError(
|
|
3153
|
+
V().then(function(J) {
|
|
3154
|
+
J ? E.setSuccess() : e.silentCheckSsoRedirectUri ? R() : L(!1);
|
|
3155
|
+
}).catch(function(J) {
|
|
3156
|
+
E.setError(J);
|
|
3154
3157
|
});
|
|
3155
3158
|
}) : e.silentCheckSsoRedirectUri ? R() : L(!1);
|
|
3156
3159
|
break;
|
|
@@ -3217,7 +3220,7 @@ function gs(t) {
|
|
|
3217
3220
|
function I(a, u) {
|
|
3218
3221
|
switch (a) {
|
|
3219
3222
|
case "S256":
|
|
3220
|
-
var h = new Uint8Array(
|
|
3223
|
+
var h = new Uint8Array(ku.arrayBuffer(u)), E = wn.fromByteArray(h).replace(/\+/g, "-").replace(/\//g, "_").replace(/\=/g, "");
|
|
3221
3224
|
return E;
|
|
3222
3225
|
default:
|
|
3223
3226
|
throw "Invalid value for pkceMethod";
|
|
@@ -3370,14 +3373,14 @@ function gs(t) {
|
|
|
3370
3373
|
R.open("POST", L, !0), R.setRequestHeader("Content-type", "application/x-www-form-urlencoded"), x += "&client_id=" + encodeURIComponent(e.clientId), x += "&redirect_uri=" + a.redirectUri, a.pkceCodeVerifier && (x += "&code_verifier=" + a.pkceCodeVerifier), R.withCredentials = !0, R.onreadystatechange = function() {
|
|
3371
3374
|
if (R.readyState == 4)
|
|
3372
3375
|
if (R.status == 200) {
|
|
3373
|
-
var
|
|
3374
|
-
$(
|
|
3376
|
+
var J = JSON.parse(R.responseText);
|
|
3377
|
+
$(J.access_token, J.refresh_token, J.id_token, e.flow === "standard"), v();
|
|
3375
3378
|
} else
|
|
3376
3379
|
e.onAuthError && e.onAuthError(), u && u.setError();
|
|
3377
3380
|
}, R.send(x);
|
|
3378
3381
|
}
|
|
3379
|
-
function $(
|
|
3380
|
-
P = (P + (/* @__PURE__ */ new Date()).getTime()) / 2, ae(
|
|
3382
|
+
function $(J, ke, ve, ue) {
|
|
3383
|
+
P = (P + (/* @__PURE__ */ new Date()).getTime()) / 2, ae(J, ke, ve, P), l && (e.tokenParsed && e.tokenParsed.nonce != a.storedNonce || e.refreshTokenParsed && e.refreshTokenParsed.nonce != a.storedNonce || e.idTokenParsed && e.idTokenParsed.nonce != a.storedNonce) ? (b("[KEYCLOAK] Invalid nonce, clearing token"), e.clearToken(), u && u.setError()) : ue && (e.onAuthSuccess && e.onAuthSuccess(), u && u.setSuccess());
|
|
3381
3384
|
}
|
|
3382
3385
|
}
|
|
3383
3386
|
function j(a) {
|
|
@@ -3665,19 +3668,19 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
|
|
|
3665
3668
|
};
|
|
3666
3669
|
return {
|
|
3667
3670
|
login: function(A) {
|
|
3668
|
-
var x = S(), L = g(A), R = e.createLoginUrl(A), $ = u(R, "_blank", L),
|
|
3671
|
+
var x = S(), L = g(A), R = e.createLoginUrl(A), $ = u(R, "_blank", L), J = !1, ke = !1, ve = function() {
|
|
3669
3672
|
ke = !0, $.close();
|
|
3670
3673
|
};
|
|
3671
3674
|
return $.addEventListener("loadstart", function(ue) {
|
|
3672
3675
|
if (ue.url.indexOf(P()) == 0) {
|
|
3673
3676
|
var ze = _(ue.url);
|
|
3674
|
-
oe(ze, x), ve(),
|
|
3677
|
+
oe(ze, x), ve(), J = !0;
|
|
3675
3678
|
}
|
|
3676
3679
|
}), $.addEventListener("loaderror", function(ue) {
|
|
3677
|
-
if (!
|
|
3680
|
+
if (!J)
|
|
3678
3681
|
if (ue.url.indexOf(P()) == 0) {
|
|
3679
3682
|
var ze = _(ue.url);
|
|
3680
|
-
oe(ze, x), ve(),
|
|
3683
|
+
oe(ze, x), ve(), J = !0;
|
|
3681
3684
|
} else
|
|
3682
3685
|
x.setError(), ve();
|
|
3683
3686
|
}), $.addEventListener("exit", function(ue) {
|
|
@@ -3688,20 +3691,20 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
|
|
|
3688
3691
|
},
|
|
3689
3692
|
logout: function(A) {
|
|
3690
3693
|
var x = S(), L = e.createLogoutUrl(A), R = u(L, "_blank", "location=no,hidden=yes,clearcache=yes"), $;
|
|
3691
|
-
return R.addEventListener("loadstart", function(
|
|
3692
|
-
|
|
3693
|
-
}), R.addEventListener("loaderror", function(
|
|
3694
|
-
|
|
3695
|
-
}), R.addEventListener("exit", function(
|
|
3694
|
+
return R.addEventListener("loadstart", function(J) {
|
|
3695
|
+
J.url.indexOf(P()) == 0 && R.close();
|
|
3696
|
+
}), R.addEventListener("loaderror", function(J) {
|
|
3697
|
+
J.url.indexOf(P()) == 0 || ($ = !0), R.close();
|
|
3698
|
+
}), R.addEventListener("exit", function(J) {
|
|
3696
3699
|
$ ? x.setError() : (e.clearToken(), x.setSuccess());
|
|
3697
3700
|
}), x.promise;
|
|
3698
3701
|
},
|
|
3699
3702
|
register: function(A) {
|
|
3700
3703
|
var x = S(), L = e.createRegisterUrl(), R = g(A), $ = u(L, "_blank", R);
|
|
3701
|
-
return $.addEventListener("loadstart", function(
|
|
3702
|
-
if (
|
|
3704
|
+
return $.addEventListener("loadstart", function(J) {
|
|
3705
|
+
if (J.url.indexOf(P()) == 0) {
|
|
3703
3706
|
$.close();
|
|
3704
|
-
var ke = _(
|
|
3707
|
+
var ke = _(J.url);
|
|
3705
3708
|
oe(ke, x);
|
|
3706
3709
|
}
|
|
3707
3710
|
}), x.promise;
|
|
@@ -3832,7 +3835,7 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
|
|
|
3832
3835
|
};
|
|
3833
3836
|
}
|
|
3834
3837
|
}
|
|
3835
|
-
async function
|
|
3838
|
+
async function _u() {
|
|
3836
3839
|
const t = "silent-login.html", e = await fetch(location.origin + "/" + t).then(async (n) => n.status !== 200 ? !1 : (await n.text()).includes("silent-login-iframe-result")).catch(() => !1);
|
|
3837
3840
|
if (!e) {
|
|
3838
3841
|
const n = `O arquivo ${t} não foi localizado no projeto ou não possui o conteúdo correto!`;
|
|
@@ -3840,9 +3843,9 @@ async function Su() {
|
|
|
3840
3843
|
}
|
|
3841
3844
|
return e;
|
|
3842
3845
|
}
|
|
3843
|
-
function
|
|
3846
|
+
function Tu(t) {
|
|
3844
3847
|
const e = new gs(t), n = {}, o = async (i = {}, d) => {
|
|
3845
|
-
if (await
|
|
3848
|
+
if (await _u())
|
|
3846
3849
|
return i.onLoad === "login-required" && document.documentElement.setAttribute(
|
|
3847
3850
|
"data-app-message",
|
|
3848
3851
|
"Autorizando..."
|
|
@@ -3871,7 +3874,7 @@ function _u(t) {
|
|
|
3871
3874
|
}
|
|
3872
3875
|
};
|
|
3873
3876
|
}
|
|
3874
|
-
const
|
|
3877
|
+
const ef = (t) => Tu(t);
|
|
3875
3878
|
class pr {
|
|
3876
3879
|
constructor(e = null) {
|
|
3877
3880
|
Fe(this, "errors", []);
|
|
@@ -3909,28 +3912,28 @@ function ys(t, e) {
|
|
|
3909
3912
|
return t.apply(e, arguments);
|
|
3910
3913
|
};
|
|
3911
3914
|
}
|
|
3912
|
-
const { toString:
|
|
3913
|
-
const n =
|
|
3915
|
+
const { toString: Pu } = Object.prototype, { getPrototypeOf: wo } = Object, vn = /* @__PURE__ */ ((t) => (e) => {
|
|
3916
|
+
const n = Pu.call(e);
|
|
3914
3917
|
return t[n] || (t[n] = n.slice(8, -1).toLowerCase());
|
|
3915
3918
|
})(/* @__PURE__ */ Object.create(null)), Ge = (t) => (t = t.toLowerCase(), (e) => vn(e) === t), An = (t) => (e) => typeof e === t, { isArray: _t } = Array, jt = An("undefined");
|
|
3916
|
-
function
|
|
3919
|
+
function Ru(t) {
|
|
3917
3920
|
return t !== null && !jt(t) && t.constructor !== null && !jt(t.constructor) && Ne(t.constructor.isBuffer) && t.constructor.isBuffer(t);
|
|
3918
3921
|
}
|
|
3919
3922
|
const bs = Ge("ArrayBuffer");
|
|
3920
|
-
function
|
|
3923
|
+
function Lu(t) {
|
|
3921
3924
|
let e;
|
|
3922
3925
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && bs(t.buffer), e;
|
|
3923
3926
|
}
|
|
3924
|
-
const
|
|
3927
|
+
const Ou = An("string"), Ne = An("function"), ws = An("number"), En = (t) => t !== null && typeof t == "object", Iu = (t) => t === !0 || t === !1, rn = (t) => {
|
|
3925
3928
|
if (vn(t) !== "object")
|
|
3926
3929
|
return !1;
|
|
3927
3930
|
const e = wo(t);
|
|
3928
3931
|
return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
|
|
3929
|
-
},
|
|
3932
|
+
}, Fu = Ge("Date"), Bu = Ge("File"), Nu = Ge("Blob"), Uu = Ge("FileList"), Du = (t) => En(t) && Ne(t.pipe), Mu = (t) => {
|
|
3930
3933
|
let e;
|
|
3931
3934
|
return t && (typeof FormData == "function" && t instanceof FormData || Ne(t.append) && ((e = vn(t)) === "formdata" || // detect form-data instance
|
|
3932
3935
|
e === "object" && Ne(t.toString) && t.toString() === "[object FormData]"));
|
|
3933
|
-
},
|
|
3936
|
+
}, $u = Ge("URLSearchParams"), Hu = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
3934
3937
|
function Jt(t, e, { allOwnKeys: n = !1 } = {}) {
|
|
3935
3938
|
if (t === null || typeof t > "u")
|
|
3936
3939
|
return;
|
|
@@ -3964,13 +3967,13 @@ function eo() {
|
|
|
3964
3967
|
arguments[o] && Jt(arguments[o], n);
|
|
3965
3968
|
return e;
|
|
3966
3969
|
}
|
|
3967
|
-
const
|
|
3970
|
+
const ju = (t, e, n, { allOwnKeys: o } = {}) => (Jt(e, (r, s) => {
|
|
3968
3971
|
n && Ne(r) ? t[s] = ys(r, n) : t[s] = r;
|
|
3969
|
-
}, { allOwnKeys: o }), t),
|
|
3972
|
+
}, { allOwnKeys: o }), t), zu = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), Vu = (t, e, n, o) => {
|
|
3970
3973
|
t.prototype = Object.create(e.prototype, o), t.prototype.constructor = t, Object.defineProperty(t, "super", {
|
|
3971
3974
|
value: e.prototype
|
|
3972
3975
|
}), n && Object.assign(t.prototype, n);
|
|
3973
|
-
},
|
|
3976
|
+
}, Wu = (t, e, n, o) => {
|
|
3974
3977
|
let r, s, i;
|
|
3975
3978
|
const d = {};
|
|
3976
3979
|
if (e = e || {}, t == null)
|
|
@@ -3981,11 +3984,11 @@ const Hu = (t, e, n, { allOwnKeys: o } = {}) => (Jt(e, (r, s) => {
|
|
|
3981
3984
|
t = n !== !1 && wo(t);
|
|
3982
3985
|
} while (t && (!n || n(t, e)) && t !== Object.prototype);
|
|
3983
3986
|
return e;
|
|
3984
|
-
},
|
|
3987
|
+
}, qu = (t, e, n) => {
|
|
3985
3988
|
t = String(t), (n === void 0 || n > t.length) && (n = t.length), n -= e.length;
|
|
3986
3989
|
const o = t.indexOf(e, n);
|
|
3987
3990
|
return o !== -1 && o === n;
|
|
3988
|
-
},
|
|
3991
|
+
}, Ku = (t) => {
|
|
3989
3992
|
if (!t)
|
|
3990
3993
|
return null;
|
|
3991
3994
|
if (_t(t))
|
|
@@ -3997,31 +4000,31 @@ const Hu = (t, e, n, { allOwnKeys: o } = {}) => (Jt(e, (r, s) => {
|
|
|
3997
4000
|
for (; e-- > 0; )
|
|
3998
4001
|
n[e] = t[e];
|
|
3999
4002
|
return n;
|
|
4000
|
-
},
|
|
4003
|
+
}, Gu = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && wo(Uint8Array)), Ju = (t, e) => {
|
|
4001
4004
|
const o = (t && t[Symbol.iterator]).call(t);
|
|
4002
4005
|
let r;
|
|
4003
4006
|
for (; (r = o.next()) && !r.done; ) {
|
|
4004
4007
|
const s = r.value;
|
|
4005
4008
|
e.call(t, s[0], s[1]);
|
|
4006
4009
|
}
|
|
4007
|
-
},
|
|
4010
|
+
}, Yu = (t, e) => {
|
|
4008
4011
|
let n;
|
|
4009
4012
|
const o = [];
|
|
4010
4013
|
for (; (n = t.exec(e)) !== null; )
|
|
4011
4014
|
o.push(n);
|
|
4012
4015
|
return o;
|
|
4013
|
-
},
|
|
4016
|
+
}, Xu = Ge("HTMLFormElement"), Zu = (t) => t.toLowerCase().replace(
|
|
4014
4017
|
/[-_\s]([a-z\d])(\w*)/g,
|
|
4015
4018
|
function(n, o, r) {
|
|
4016
4019
|
return o.toUpperCase() + r;
|
|
4017
4020
|
}
|
|
4018
|
-
), hr = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype),
|
|
4021
|
+
), hr = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), Qu = Ge("RegExp"), xs = (t, e) => {
|
|
4019
4022
|
const n = Object.getOwnPropertyDescriptors(t), o = {};
|
|
4020
4023
|
Jt(n, (r, s) => {
|
|
4021
4024
|
let i;
|
|
4022
4025
|
(i = e(r, s, t)) !== !1 && (o[s] = i || r);
|
|
4023
4026
|
}), Object.defineProperties(t, o);
|
|
4024
|
-
},
|
|
4027
|
+
}, ed = (t) => {
|
|
4025
4028
|
xs(t, (e, n) => {
|
|
4026
4029
|
if (Ne(t) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
|
|
4027
4030
|
return !1;
|
|
@@ -4036,29 +4039,29 @@ const Hu = (t, e, n, { allOwnKeys: o } = {}) => (Jt(e, (r, s) => {
|
|
|
4036
4039
|
});
|
|
4037
4040
|
}
|
|
4038
4041
|
});
|
|
4039
|
-
},
|
|
4042
|
+
}, td = (t, e) => {
|
|
4040
4043
|
const n = {}, o = (r) => {
|
|
4041
4044
|
r.forEach((s) => {
|
|
4042
4045
|
n[s] = !0;
|
|
4043
4046
|
});
|
|
4044
4047
|
};
|
|
4045
4048
|
return _t(t) ? o(t) : o(String(t).split(e)), n;
|
|
4046
|
-
},
|
|
4047
|
-
},
|
|
4049
|
+
}, nd = () => {
|
|
4050
|
+
}, od = (t, e) => (t = +t, Number.isFinite(t) ? t : e), Hn = "abcdefghijklmnopqrstuvwxyz", mr = "0123456789", ks = {
|
|
4048
4051
|
DIGIT: mr,
|
|
4049
4052
|
ALPHA: Hn,
|
|
4050
4053
|
ALPHA_DIGIT: Hn + Hn.toUpperCase() + mr
|
|
4051
|
-
},
|
|
4054
|
+
}, rd = (t = 16, e = ks.ALPHA_DIGIT) => {
|
|
4052
4055
|
let n = "";
|
|
4053
4056
|
const { length: o } = e;
|
|
4054
4057
|
for (; t--; )
|
|
4055
4058
|
n += e[Math.random() * o | 0];
|
|
4056
4059
|
return n;
|
|
4057
4060
|
};
|
|
4058
|
-
function
|
|
4061
|
+
function sd(t) {
|
|
4059
4062
|
return !!(t && Ne(t.append) && t[Symbol.toStringTag] === "FormData" && t[Symbol.iterator]);
|
|
4060
4063
|
}
|
|
4061
|
-
const
|
|
4064
|
+
const id = (t) => {
|
|
4062
4065
|
const e = new Array(10), n = (o, r) => {
|
|
4063
4066
|
if (En(o)) {
|
|
4064
4067
|
if (e.indexOf(o) >= 0)
|
|
@@ -4075,64 +4078,64 @@ const sd = (t) => {
|
|
|
4075
4078
|
return o;
|
|
4076
4079
|
};
|
|
4077
4080
|
return n(t, 0);
|
|
4078
|
-
},
|
|
4081
|
+
}, ad = Ge("AsyncFunction"), cd = (t) => t && (En(t) || Ne(t)) && Ne(t.then) && Ne(t.catch), p = {
|
|
4079
4082
|
isArray: _t,
|
|
4080
4083
|
isArrayBuffer: bs,
|
|
4081
|
-
isBuffer:
|
|
4082
|
-
isFormData:
|
|
4083
|
-
isArrayBufferView:
|
|
4084
|
-
isString:
|
|
4084
|
+
isBuffer: Ru,
|
|
4085
|
+
isFormData: Mu,
|
|
4086
|
+
isArrayBufferView: Lu,
|
|
4087
|
+
isString: Ou,
|
|
4085
4088
|
isNumber: ws,
|
|
4086
|
-
isBoolean:
|
|
4089
|
+
isBoolean: Iu,
|
|
4087
4090
|
isObject: En,
|
|
4088
4091
|
isPlainObject: rn,
|
|
4089
4092
|
isUndefined: jt,
|
|
4090
|
-
isDate:
|
|
4091
|
-
isFile:
|
|
4092
|
-
isBlob:
|
|
4093
|
-
isRegExp:
|
|
4093
|
+
isDate: Fu,
|
|
4094
|
+
isFile: Bu,
|
|
4095
|
+
isBlob: Nu,
|
|
4096
|
+
isRegExp: Qu,
|
|
4094
4097
|
isFunction: Ne,
|
|
4095
|
-
isStream:
|
|
4096
|
-
isURLSearchParams:
|
|
4097
|
-
isTypedArray:
|
|
4098
|
-
isFileList:
|
|
4098
|
+
isStream: Du,
|
|
4099
|
+
isURLSearchParams: $u,
|
|
4100
|
+
isTypedArray: Gu,
|
|
4101
|
+
isFileList: Uu,
|
|
4099
4102
|
forEach: Jt,
|
|
4100
4103
|
merge: eo,
|
|
4101
|
-
extend:
|
|
4102
|
-
trim:
|
|
4103
|
-
stripBOM:
|
|
4104
|
-
inherits:
|
|
4105
|
-
toFlatObject:
|
|
4104
|
+
extend: ju,
|
|
4105
|
+
trim: Hu,
|
|
4106
|
+
stripBOM: zu,
|
|
4107
|
+
inherits: Vu,
|
|
4108
|
+
toFlatObject: Wu,
|
|
4106
4109
|
kindOf: vn,
|
|
4107
4110
|
kindOfTest: Ge,
|
|
4108
|
-
endsWith:
|
|
4109
|
-
toArray:
|
|
4110
|
-
forEachEntry:
|
|
4111
|
-
matchAll:
|
|
4112
|
-
isHTMLForm:
|
|
4111
|
+
endsWith: qu,
|
|
4112
|
+
toArray: Ku,
|
|
4113
|
+
forEachEntry: Ju,
|
|
4114
|
+
matchAll: Yu,
|
|
4115
|
+
isHTMLForm: Xu,
|
|
4113
4116
|
hasOwnProperty: hr,
|
|
4114
4117
|
hasOwnProp: hr,
|
|
4115
4118
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
4116
4119
|
reduceDescriptors: xs,
|
|
4117
|
-
freezeMethods:
|
|
4118
|
-
toObjectSet:
|
|
4119
|
-
toCamelCase:
|
|
4120
|
-
noop:
|
|
4121
|
-
toFiniteNumber:
|
|
4120
|
+
freezeMethods: ed,
|
|
4121
|
+
toObjectSet: td,
|
|
4122
|
+
toCamelCase: Zu,
|
|
4123
|
+
noop: nd,
|
|
4124
|
+
toFiniteNumber: od,
|
|
4122
4125
|
findKey: vs,
|
|
4123
4126
|
global: As,
|
|
4124
4127
|
isContextDefined: Es,
|
|
4125
4128
|
ALPHABET: ks,
|
|
4126
|
-
generateString:
|
|
4127
|
-
isSpecCompliantForm:
|
|
4128
|
-
toJSONObject:
|
|
4129
|
-
isAsyncFn:
|
|
4130
|
-
isThenable:
|
|
4129
|
+
generateString: rd,
|
|
4130
|
+
isSpecCompliantForm: sd,
|
|
4131
|
+
toJSONObject: id,
|
|
4132
|
+
isAsyncFn: ad,
|
|
4133
|
+
isThenable: cd
|
|
4131
4134
|
};
|
|
4132
|
-
function
|
|
4135
|
+
function Y(t, e, n, o, r) {
|
|
4133
4136
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = t, this.name = "AxiosError", e && (this.code = e), n && (this.config = n), o && (this.request = o), r && (this.response = r);
|
|
4134
4137
|
}
|
|
4135
|
-
p.inherits(
|
|
4138
|
+
p.inherits(Y, Error, {
|
|
4136
4139
|
toJSON: function() {
|
|
4137
4140
|
return {
|
|
4138
4141
|
// Standard
|
|
@@ -4153,7 +4156,7 @@ p.inherits(J, Error, {
|
|
|
4153
4156
|
};
|
|
4154
4157
|
}
|
|
4155
4158
|
});
|
|
4156
|
-
const Cs =
|
|
4159
|
+
const Cs = Y.prototype, Ss = {};
|
|
4157
4160
|
[
|
|
4158
4161
|
"ERR_BAD_OPTION_VALUE",
|
|
4159
4162
|
"ERR_BAD_OPTION",
|
|
@@ -4171,15 +4174,15 @@ const Cs = J.prototype, Ss = {};
|
|
|
4171
4174
|
].forEach((t) => {
|
|
4172
4175
|
Ss[t] = { value: t };
|
|
4173
4176
|
});
|
|
4174
|
-
Object.defineProperties(
|
|
4177
|
+
Object.defineProperties(Y, Ss);
|
|
4175
4178
|
Object.defineProperty(Cs, "isAxiosError", { value: !0 });
|
|
4176
|
-
|
|
4179
|
+
Y.from = (t, e, n, o, r, s) => {
|
|
4177
4180
|
const i = Object.create(Cs);
|
|
4178
4181
|
return p.toFlatObject(t, i, function(l) {
|
|
4179
4182
|
return l !== Error.prototype;
|
|
4180
|
-
}, (d) => d !== "isAxiosError"),
|
|
4183
|
+
}, (d) => d !== "isAxiosError"), Y.call(i, t.message, e, n, o, r), i.cause = t, i.name = t.name, s && Object.assign(i, s), i;
|
|
4181
4184
|
};
|
|
4182
|
-
const
|
|
4185
|
+
const ld = null;
|
|
4183
4186
|
function to(t) {
|
|
4184
4187
|
return p.isPlainObject(t) || p.isArray(t);
|
|
4185
4188
|
}
|
|
@@ -4191,10 +4194,10 @@ function gr(t, e, n) {
|
|
|
4191
4194
|
return r = _s(r), !n && s ? "[" + r + "]" : r;
|
|
4192
4195
|
}).join(n ? "." : "") : e;
|
|
4193
4196
|
}
|
|
4194
|
-
function
|
|
4197
|
+
function ud(t) {
|
|
4195
4198
|
return p.isArray(t) && !t.some(to);
|
|
4196
4199
|
}
|
|
4197
|
-
const
|
|
4200
|
+
const dd = p.toFlatObject(p, {}, null, function(e) {
|
|
4198
4201
|
return /^is[A-Z]/.test(e);
|
|
4199
4202
|
});
|
|
4200
4203
|
function xn(t, e, n) {
|
|
@@ -4216,7 +4219,7 @@ function xn(t, e, n) {
|
|
|
4216
4219
|
if (p.isDate(I))
|
|
4217
4220
|
return I.toISOString();
|
|
4218
4221
|
if (!l && p.isBlob(I))
|
|
4219
|
-
throw new
|
|
4222
|
+
throw new Y("Blob is not supported. Use a Buffer instead.");
|
|
4220
4223
|
return p.isArrayBuffer(I) || p.isTypedArray(I) ? l && typeof Blob == "function" ? new Blob([I]) : Buffer.from(I) : I;
|
|
4221
4224
|
}
|
|
4222
4225
|
function w(I, F, D) {
|
|
@@ -4224,7 +4227,7 @@ function xn(t, e, n) {
|
|
|
4224
4227
|
if (I && !D && typeof I == "object") {
|
|
4225
4228
|
if (p.endsWith(F, "{}"))
|
|
4226
4229
|
F = o ? F : F.slice(0, -2), I = JSON.stringify(I);
|
|
4227
|
-
else if (p.isArray(I) &&
|
|
4230
|
+
else if (p.isArray(I) && ud(I) || (p.isFileList(I) || p.endsWith(F, "[]")) && (Q = p.toArray(I)))
|
|
4228
4231
|
return F = _s(F), Q.forEach(function(j, be) {
|
|
4229
4232
|
!(p.isUndefined(j) || j === null) && e.append(
|
|
4230
4233
|
// eslint-disable-next-line no-nested-ternary
|
|
@@ -4235,7 +4238,7 @@ function xn(t, e, n) {
|
|
|
4235
4238
|
}
|
|
4236
4239
|
return to(I) ? !0 : (e.append(gr(D, F, s), b(I)), !1);
|
|
4237
4240
|
}
|
|
4238
|
-
const y = [], H = Object.assign(
|
|
4241
|
+
const y = [], H = Object.assign(dd, {
|
|
4239
4242
|
defaultVisitor: w,
|
|
4240
4243
|
convertValue: b,
|
|
4241
4244
|
isVisitable: to
|
|
@@ -4288,13 +4291,13 @@ Ts.toString = function(e) {
|
|
|
4288
4291
|
return n(r[0]) + "=" + n(r[1]);
|
|
4289
4292
|
}, "").join("&");
|
|
4290
4293
|
};
|
|
4291
|
-
function
|
|
4294
|
+
function fd(t) {
|
|
4292
4295
|
return encodeURIComponent(t).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
4293
4296
|
}
|
|
4294
4297
|
function Ps(t, e, n) {
|
|
4295
4298
|
if (!e)
|
|
4296
4299
|
return t;
|
|
4297
|
-
const o = n && n.encode ||
|
|
4300
|
+
const o = n && n.encode || fd, r = n && n.serialize;
|
|
4298
4301
|
let s;
|
|
4299
4302
|
if (r ? s = r(e, n) : s = p.isURLSearchParams(e) ? e.toString() : new vo(e, n).toString(o), s) {
|
|
4300
4303
|
const i = t.indexOf("#");
|
|
@@ -4360,35 +4363,35 @@ const Rs = {
|
|
|
4360
4363
|
silentJSONParsing: !0,
|
|
4361
4364
|
forcedJSONParsing: !0,
|
|
4362
4365
|
clarifyTimeoutError: !1
|
|
4363
|
-
},
|
|
4366
|
+
}, pd = typeof URLSearchParams < "u" ? URLSearchParams : vo, hd = typeof FormData < "u" ? FormData : null, md = typeof Blob < "u" ? Blob : null, gd = {
|
|
4364
4367
|
isBrowser: !0,
|
|
4365
4368
|
classes: {
|
|
4366
|
-
URLSearchParams:
|
|
4367
|
-
FormData:
|
|
4368
|
-
Blob:
|
|
4369
|
+
URLSearchParams: pd,
|
|
4370
|
+
FormData: hd,
|
|
4371
|
+
Blob: md
|
|
4369
4372
|
},
|
|
4370
4373
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
4371
|
-
}, Ls = typeof window < "u" && typeof document < "u",
|
|
4372
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function",
|
|
4374
|
+
}, Ls = typeof window < "u" && typeof document < "u", yd = ((t) => Ls && ["ReactNative", "NativeScript", "NS"].indexOf(t) < 0)(typeof navigator < "u" && navigator.product), bd = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
4375
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", wd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4373
4376
|
__proto__: null,
|
|
4374
4377
|
hasBrowserEnv: Ls,
|
|
4375
|
-
hasStandardBrowserEnv:
|
|
4376
|
-
hasStandardBrowserWebWorkerEnv:
|
|
4378
|
+
hasStandardBrowserEnv: yd,
|
|
4379
|
+
hasStandardBrowserWebWorkerEnv: bd
|
|
4377
4380
|
}, Symbol.toStringTag, { value: "Module" })), We = {
|
|
4378
|
-
...
|
|
4379
|
-
...
|
|
4381
|
+
...wd,
|
|
4382
|
+
...gd
|
|
4380
4383
|
};
|
|
4381
|
-
function
|
|
4384
|
+
function vd(t, e) {
|
|
4382
4385
|
return xn(t, new We.classes.URLSearchParams(), Object.assign({
|
|
4383
4386
|
visitor: function(n, o, r, s) {
|
|
4384
4387
|
return We.isNode && p.isBuffer(n) ? (this.append(o, n.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
|
|
4385
4388
|
}
|
|
4386
4389
|
}, e));
|
|
4387
4390
|
}
|
|
4388
|
-
function
|
|
4391
|
+
function Ad(t) {
|
|
4389
4392
|
return p.matchAll(/\w+|\[(\w*)]/g, t).map((e) => e[0] === "[]" ? "" : e[1] || e[0]);
|
|
4390
4393
|
}
|
|
4391
|
-
function
|
|
4394
|
+
function Ed(t) {
|
|
4392
4395
|
const e = {}, n = Object.keys(t);
|
|
4393
4396
|
let o;
|
|
4394
4397
|
const r = n.length;
|
|
@@ -4403,17 +4406,17 @@ function Os(t) {
|
|
|
4403
4406
|
if (i === "__proto__")
|
|
4404
4407
|
return !0;
|
|
4405
4408
|
const d = Number.isFinite(+i), l = s >= n.length;
|
|
4406
|
-
return i = !i && p.isArray(r) ? r.length : i, l ? (p.hasOwnProp(r, i) ? r[i] = [r[i], o] : r[i] = o, !d) : ((!r[i] || !p.isObject(r[i])) && (r[i] = []), e(n, o, r[i], s) && p.isArray(r[i]) && (r[i] =
|
|
4409
|
+
return i = !i && p.isArray(r) ? r.length : i, l ? (p.hasOwnProp(r, i) ? r[i] = [r[i], o] : r[i] = o, !d) : ((!r[i] || !p.isObject(r[i])) && (r[i] = []), e(n, o, r[i], s) && p.isArray(r[i]) && (r[i] = Ed(r[i])), !d);
|
|
4407
4410
|
}
|
|
4408
4411
|
if (p.isFormData(t) && p.isFunction(t.entries)) {
|
|
4409
4412
|
const n = {};
|
|
4410
4413
|
return p.forEachEntry(t, (o, r) => {
|
|
4411
|
-
e(
|
|
4414
|
+
e(Ad(o), r, n, 0);
|
|
4412
4415
|
}), n;
|
|
4413
4416
|
}
|
|
4414
4417
|
return null;
|
|
4415
4418
|
}
|
|
4416
|
-
function
|
|
4419
|
+
function xd(t, e, n) {
|
|
4417
4420
|
if (p.isString(t))
|
|
4418
4421
|
try {
|
|
4419
4422
|
return (e || JSON.parse)(t), p.trim(t);
|
|
@@ -4439,7 +4442,7 @@ const Ao = {
|
|
|
4439
4442
|
let d;
|
|
4440
4443
|
if (s) {
|
|
4441
4444
|
if (o.indexOf("application/x-www-form-urlencoded") > -1)
|
|
4442
|
-
return
|
|
4445
|
+
return vd(e, this.formSerializer).toString();
|
|
4443
4446
|
if ((d = p.isFileList(e)) || o.indexOf("multipart/form-data") > -1) {
|
|
4444
4447
|
const l = this.env && this.env.FormData;
|
|
4445
4448
|
return xn(
|
|
@@ -4449,7 +4452,7 @@ const Ao = {
|
|
|
4449
4452
|
);
|
|
4450
4453
|
}
|
|
4451
4454
|
}
|
|
4452
|
-
return s || r ? (n.setContentType("application/json", !1),
|
|
4455
|
+
return s || r ? (n.setContentType("application/json", !1), xd(e)) : e;
|
|
4453
4456
|
}],
|
|
4454
4457
|
transformResponse: [function(e) {
|
|
4455
4458
|
const n = this.transitional || Ao.transitional, o = n && n.forcedJSONParsing, r = this.responseType === "json";
|
|
@@ -4459,7 +4462,7 @@ const Ao = {
|
|
|
4459
4462
|
return JSON.parse(e);
|
|
4460
4463
|
} catch (d) {
|
|
4461
4464
|
if (i)
|
|
4462
|
-
throw d.name === "SyntaxError" ?
|
|
4465
|
+
throw d.name === "SyntaxError" ? Y.from(d, Y.ERR_BAD_RESPONSE, this, null, this.response) : d;
|
|
4463
4466
|
}
|
|
4464
4467
|
}
|
|
4465
4468
|
return e;
|
|
@@ -4490,7 +4493,7 @@ const Ao = {
|
|
|
4490
4493
|
p.forEach(["delete", "get", "head", "post", "put", "patch"], (t) => {
|
|
4491
4494
|
Ao.headers[t] = {};
|
|
4492
4495
|
});
|
|
4493
|
-
const Eo = Ao,
|
|
4496
|
+
const Eo = Ao, kd = p.toObjectSet([
|
|
4494
4497
|
"age",
|
|
4495
4498
|
"authorization",
|
|
4496
4499
|
"content-length",
|
|
@@ -4508,12 +4511,12 @@ const Eo = Ao, xd = p.toObjectSet([
|
|
|
4508
4511
|
"referer",
|
|
4509
4512
|
"retry-after",
|
|
4510
4513
|
"user-agent"
|
|
4511
|
-
]),
|
|
4514
|
+
]), Cd = (t) => {
|
|
4512
4515
|
const e = {};
|
|
4513
4516
|
let n, o, r;
|
|
4514
4517
|
return t && t.split(`
|
|
4515
4518
|
`).forEach(function(i) {
|
|
4516
|
-
r = i.indexOf(":"), n = i.substring(0, r).trim().toLowerCase(), o = i.substring(r + 1).trim(), !(!n || e[n] &&
|
|
4519
|
+
r = i.indexOf(":"), n = i.substring(0, r).trim().toLowerCase(), o = i.substring(r + 1).trim(), !(!n || e[n] && kd[n]) && (n === "set-cookie" ? e[n] ? e[n].push(o) : e[n] = [o] : e[n] = e[n] ? e[n] + ", " + o : o);
|
|
4517
4520
|
}), e;
|
|
4518
4521
|
}, wr = Symbol("internals");
|
|
4519
4522
|
function Ft(t) {
|
|
@@ -4522,14 +4525,14 @@ function Ft(t) {
|
|
|
4522
4525
|
function sn(t) {
|
|
4523
4526
|
return t === !1 || t == null ? t : p.isArray(t) ? t.map(sn) : String(t);
|
|
4524
4527
|
}
|
|
4525
|
-
function
|
|
4528
|
+
function Sd(t) {
|
|
4526
4529
|
const e = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
4527
4530
|
let o;
|
|
4528
4531
|
for (; o = n.exec(t); )
|
|
4529
4532
|
e[o[1]] = o[2];
|
|
4530
4533
|
return e;
|
|
4531
4534
|
}
|
|
4532
|
-
const
|
|
4535
|
+
const _d = (t) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());
|
|
4533
4536
|
function jn(t, e, n, o, r) {
|
|
4534
4537
|
if (p.isFunction(o))
|
|
4535
4538
|
return o.call(this, e, n);
|
|
@@ -4540,10 +4543,10 @@ function jn(t, e, n, o, r) {
|
|
|
4540
4543
|
return o.test(e);
|
|
4541
4544
|
}
|
|
4542
4545
|
}
|
|
4543
|
-
function
|
|
4546
|
+
function Td(t) {
|
|
4544
4547
|
return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, n, o) => n.toUpperCase() + o);
|
|
4545
4548
|
}
|
|
4546
|
-
function
|
|
4549
|
+
function Pd(t, e) {
|
|
4547
4550
|
const n = p.toCamelCase(" " + e);
|
|
4548
4551
|
["get", "set", "has"].forEach((o) => {
|
|
4549
4552
|
Object.defineProperty(t, o + n, {
|
|
@@ -4568,7 +4571,7 @@ class kn {
|
|
|
4568
4571
|
(!y || r[y] === void 0 || b === !0 || b === void 0 && r[y] !== !1) && (r[y || l] = sn(d));
|
|
4569
4572
|
}
|
|
4570
4573
|
const i = (d, l) => p.forEach(d, (b, w) => s(b, w, l));
|
|
4571
|
-
return p.isPlainObject(e) || e instanceof this.constructor ? i(e, n) : p.isString(e) && (e = e.trim()) && !
|
|
4574
|
+
return p.isPlainObject(e) || e instanceof this.constructor ? i(e, n) : p.isString(e) && (e = e.trim()) && !_d(e) ? i(Cd(e), n) : e != null && s(n, e, o), this;
|
|
4572
4575
|
}
|
|
4573
4576
|
get(e, n) {
|
|
4574
4577
|
if (e = Ft(e), e) {
|
|
@@ -4578,7 +4581,7 @@ class kn {
|
|
|
4578
4581
|
if (!n)
|
|
4579
4582
|
return r;
|
|
4580
4583
|
if (n === !0)
|
|
4581
|
-
return
|
|
4584
|
+
return Sd(r);
|
|
4582
4585
|
if (p.isFunction(n))
|
|
4583
4586
|
return n.call(this, r, o);
|
|
4584
4587
|
if (p.isRegExp(n))
|
|
@@ -4622,7 +4625,7 @@ class kn {
|
|
|
4622
4625
|
n[i] = sn(r), delete n[s];
|
|
4623
4626
|
return;
|
|
4624
4627
|
}
|
|
4625
|
-
const d = e ?
|
|
4628
|
+
const d = e ? Td(s) : String(s).trim();
|
|
4626
4629
|
d !== s && delete n[s], n[d] = sn(r), o[d] = !0;
|
|
4627
4630
|
}), this;
|
|
4628
4631
|
}
|
|
@@ -4658,7 +4661,7 @@ class kn {
|
|
|
4658
4661
|
}).accessors, r = this.prototype;
|
|
4659
4662
|
function s(i) {
|
|
4660
4663
|
const d = Ft(i);
|
|
4661
|
-
o[d] || (
|
|
4664
|
+
o[d] || (Pd(r, i), o[d] = !0);
|
|
4662
4665
|
}
|
|
4663
4666
|
return p.isArray(e) ? e.forEach(s) : s(e), this;
|
|
4664
4667
|
}
|
|
@@ -4686,22 +4689,22 @@ function Is(t) {
|
|
|
4686
4689
|
return !!(t && t.__CANCEL__);
|
|
4687
4690
|
}
|
|
4688
4691
|
function Yt(t, e, n) {
|
|
4689
|
-
|
|
4692
|
+
Y.call(this, t ?? "canceled", Y.ERR_CANCELED, e, n), this.name = "CanceledError";
|
|
4690
4693
|
}
|
|
4691
|
-
p.inherits(Yt,
|
|
4694
|
+
p.inherits(Yt, Y, {
|
|
4692
4695
|
__CANCEL__: !0
|
|
4693
4696
|
});
|
|
4694
|
-
function
|
|
4697
|
+
function Rd(t, e, n) {
|
|
4695
4698
|
const o = n.config.validateStatus;
|
|
4696
|
-
!n.status || !o || o(n.status) ? t(n) : e(new
|
|
4699
|
+
!n.status || !o || o(n.status) ? t(n) : e(new Y(
|
|
4697
4700
|
"Request failed with status code " + n.status,
|
|
4698
|
-
[
|
|
4701
|
+
[Y.ERR_BAD_REQUEST, Y.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
|
|
4699
4702
|
n.config,
|
|
4700
4703
|
n.request,
|
|
4701
4704
|
n
|
|
4702
4705
|
));
|
|
4703
4706
|
}
|
|
4704
|
-
const
|
|
4707
|
+
const Ld = We.hasStandardBrowserEnv ? (
|
|
4705
4708
|
// Standard browser envs support document.cookie
|
|
4706
4709
|
{
|
|
4707
4710
|
write(t, e, n, o, r, s) {
|
|
@@ -4728,16 +4731,16 @@ const Rd = We.hasStandardBrowserEnv ? (
|
|
|
4728
4731
|
}
|
|
4729
4732
|
}
|
|
4730
4733
|
);
|
|
4731
|
-
function
|
|
4734
|
+
function Od(t) {
|
|
4732
4735
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);
|
|
4733
4736
|
}
|
|
4734
|
-
function
|
|
4737
|
+
function Id(t, e) {
|
|
4735
4738
|
return e ? t.replace(/\/?\/$/, "") + "/" + e.replace(/^\/+/, "") : t;
|
|
4736
4739
|
}
|
|
4737
4740
|
function Fs(t, e) {
|
|
4738
|
-
return t && !
|
|
4741
|
+
return t && !Od(e) ? Id(t, e) : e;
|
|
4739
4742
|
}
|
|
4740
|
-
const
|
|
4743
|
+
const Fd = We.hasStandardBrowserEnv ? (
|
|
4741
4744
|
// Standard browser envs have full support of the APIs needed to test
|
|
4742
4745
|
// whether the request URL is of the same origin as current location.
|
|
4743
4746
|
function() {
|
|
@@ -4769,11 +4772,11 @@ const Id = We.hasStandardBrowserEnv ? (
|
|
|
4769
4772
|
};
|
|
4770
4773
|
}()
|
|
4771
4774
|
);
|
|
4772
|
-
function
|
|
4775
|
+
function Bd(t) {
|
|
4773
4776
|
const e = /^([-+\w]{1,25})(:?\/\/|:)/.exec(t);
|
|
4774
4777
|
return e && e[1] || "";
|
|
4775
4778
|
}
|
|
4776
|
-
function
|
|
4779
|
+
function Nd(t, e) {
|
|
4777
4780
|
t = t || 10;
|
|
4778
4781
|
const n = new Array(t), o = new Array(t);
|
|
4779
4782
|
let r = 0, s = 0, i;
|
|
@@ -4791,7 +4794,7 @@ function Bd(t, e) {
|
|
|
4791
4794
|
}
|
|
4792
4795
|
function vr(t, e) {
|
|
4793
4796
|
let n = 0;
|
|
4794
|
-
const o =
|
|
4797
|
+
const o = Nd(50, 250);
|
|
4795
4798
|
return (r) => {
|
|
4796
4799
|
const s = r.loaded, i = r.lengthComputable ? r.total : void 0, d = s - n, l = o(d), b = s <= i;
|
|
4797
4800
|
n = s;
|
|
@@ -4807,7 +4810,7 @@ function vr(t, e) {
|
|
|
4807
4810
|
w[e ? "download" : "upload"] = !0, t(w);
|
|
4808
4811
|
};
|
|
4809
4812
|
}
|
|
4810
|
-
const
|
|
4813
|
+
const Ud = typeof XMLHttpRequest < "u", Dd = Ud && function(t) {
|
|
4811
4814
|
return new Promise(function(n, o) {
|
|
4812
4815
|
let r = t.data;
|
|
4813
4816
|
const s = Qe.from(t.headers).normalize();
|
|
@@ -4844,7 +4847,7 @@ const Nd = typeof XMLHttpRequest < "u", Ud = Nd && function(t) {
|
|
|
4844
4847
|
config: t,
|
|
4845
4848
|
request: y
|
|
4846
4849
|
};
|
|
4847
|
-
|
|
4850
|
+
Rd(function(j) {
|
|
4848
4851
|
n(j), b();
|
|
4849
4852
|
}, function(j) {
|
|
4850
4853
|
o(j), b();
|
|
@@ -4853,20 +4856,20 @@ const Nd = typeof XMLHttpRequest < "u", Ud = Nd && function(t) {
|
|
|
4853
4856
|
if ("onloadend" in y ? y.onloadend = M : y.onreadystatechange = function() {
|
|
4854
4857
|
!y || y.readyState !== 4 || y.status === 0 && !(y.responseURL && y.responseURL.indexOf("file:") === 0) || setTimeout(M);
|
|
4855
4858
|
}, y.onabort = function() {
|
|
4856
|
-
y && (o(new
|
|
4859
|
+
y && (o(new Y("Request aborted", Y.ECONNABORTED, t, y)), y = null);
|
|
4857
4860
|
}, y.onerror = function() {
|
|
4858
|
-
o(new
|
|
4861
|
+
o(new Y("Network Error", Y.ERR_NETWORK, t, y)), y = null;
|
|
4859
4862
|
}, y.ontimeout = function() {
|
|
4860
4863
|
let D = t.timeout ? "timeout of " + t.timeout + "ms exceeded" : "timeout exceeded";
|
|
4861
4864
|
const Q = t.transitional || Rs;
|
|
4862
|
-
t.timeoutErrorMessage && (D = t.timeoutErrorMessage), o(new
|
|
4865
|
+
t.timeoutErrorMessage && (D = t.timeoutErrorMessage), o(new Y(
|
|
4863
4866
|
D,
|
|
4864
|
-
Q.clarifyTimeoutError ?
|
|
4867
|
+
Q.clarifyTimeoutError ? Y.ETIMEDOUT : Y.ECONNABORTED,
|
|
4865
4868
|
t,
|
|
4866
4869
|
y
|
|
4867
4870
|
)), y = null;
|
|
4868
|
-
}, We.hasStandardBrowserEnv && (d && p.isFunction(d) && (d = d(t)), d || d !== !1 &&
|
|
4869
|
-
const F = t.xsrfHeaderName && t.xsrfCookieName &&
|
|
4871
|
+
}, We.hasStandardBrowserEnv && (d && p.isFunction(d) && (d = d(t)), d || d !== !1 && Fd(H))) {
|
|
4872
|
+
const F = t.xsrfHeaderName && t.xsrfCookieName && Ld.read(t.xsrfCookieName);
|
|
4870
4873
|
F && s.set(t.xsrfHeaderName, F);
|
|
4871
4874
|
}
|
|
4872
4875
|
r === void 0 && s.setContentType(null), "setRequestHeader" in y && p.forEach(s.toJSON(), function(D, Q) {
|
|
@@ -4874,16 +4877,16 @@ const Nd = typeof XMLHttpRequest < "u", Ud = Nd && function(t) {
|
|
|
4874
4877
|
}), p.isUndefined(t.withCredentials) || (y.withCredentials = !!t.withCredentials), i && i !== "json" && (y.responseType = t.responseType), typeof t.onDownloadProgress == "function" && y.addEventListener("progress", vr(t.onDownloadProgress, !0)), typeof t.onUploadProgress == "function" && y.upload && y.upload.addEventListener("progress", vr(t.onUploadProgress)), (t.cancelToken || t.signal) && (l = (F) => {
|
|
4875
4878
|
y && (o(!F || F.type ? new Yt(null, t, y) : F), y.abort(), y = null);
|
|
4876
4879
|
}, t.cancelToken && t.cancelToken.subscribe(l), t.signal && (t.signal.aborted ? l() : t.signal.addEventListener("abort", l)));
|
|
4877
|
-
const I =
|
|
4880
|
+
const I = Bd(H);
|
|
4878
4881
|
if (I && We.protocols.indexOf(I) === -1) {
|
|
4879
|
-
o(new
|
|
4882
|
+
o(new Y("Unsupported protocol " + I + ":", Y.ERR_BAD_REQUEST, t));
|
|
4880
4883
|
return;
|
|
4881
4884
|
}
|
|
4882
4885
|
y.send(r || null);
|
|
4883
4886
|
});
|
|
4884
4887
|
}, no = {
|
|
4885
|
-
http:
|
|
4886
|
-
xhr:
|
|
4888
|
+
http: ld,
|
|
4889
|
+
xhr: Dd
|
|
4887
4890
|
};
|
|
4888
4891
|
p.forEach(no, (t, e) => {
|
|
4889
4892
|
if (t) {
|
|
@@ -4894,7 +4897,7 @@ p.forEach(no, (t, e) => {
|
|
|
4894
4897
|
Object.defineProperty(t, "adapterName", { value: e });
|
|
4895
4898
|
}
|
|
4896
4899
|
});
|
|
4897
|
-
const Ar = (t) => `- ${t}`,
|
|
4900
|
+
const Ar = (t) => `- ${t}`, Md = (t) => p.isFunction(t) || t === null || t === !1, Bs = {
|
|
4898
4901
|
getAdapter: (t) => {
|
|
4899
4902
|
t = p.isArray(t) ? t : [t];
|
|
4900
4903
|
const { length: e } = t;
|
|
@@ -4903,8 +4906,8 @@ const Ar = (t) => `- ${t}`, Dd = (t) => p.isFunction(t) || t === null || t === !
|
|
|
4903
4906
|
for (let s = 0; s < e; s++) {
|
|
4904
4907
|
n = t[s];
|
|
4905
4908
|
let i;
|
|
4906
|
-
if (o = n, !
|
|
4907
|
-
throw new
|
|
4909
|
+
if (o = n, !Md(n) && (o = no[(i = String(n)).toLowerCase()], o === void 0))
|
|
4910
|
+
throw new Y(`Unknown adapter '${i}'`);
|
|
4908
4911
|
if (o)
|
|
4909
4912
|
break;
|
|
4910
4913
|
r[i || "#" + s] = o;
|
|
@@ -4916,7 +4919,7 @@ const Ar = (t) => `- ${t}`, Dd = (t) => p.isFunction(t) || t === null || t === !
|
|
|
4916
4919
|
let i = e ? s.length > 1 ? `since :
|
|
4917
4920
|
` + s.map(Ar).join(`
|
|
4918
4921
|
`) : " " + Ar(s[0]) : "as no adapter specified";
|
|
4919
|
-
throw new
|
|
4922
|
+
throw new Y(
|
|
4920
4923
|
"There is no suitable adapter to dispatch the request " + i,
|
|
4921
4924
|
"ERR_NOT_SUPPORT"
|
|
4922
4925
|
);
|
|
@@ -5027,9 +5030,9 @@ xo.transitional = function(e, n, o) {
|
|
|
5027
5030
|
}
|
|
5028
5031
|
return (s, i, d) => {
|
|
5029
5032
|
if (e === !1)
|
|
5030
|
-
throw new
|
|
5033
|
+
throw new Y(
|
|
5031
5034
|
r(i, " has been removed" + (n ? " in " + n : "")),
|
|
5032
|
-
|
|
5035
|
+
Y.ERR_DEPRECATED
|
|
5033
5036
|
);
|
|
5034
5037
|
return n && !kr[i] && (kr[i] = !0, console.warn(
|
|
5035
5038
|
r(
|
|
@@ -5039,9 +5042,9 @@ xo.transitional = function(e, n, o) {
|
|
|
5039
5042
|
)), e ? e(s, i, d) : !0;
|
|
5040
5043
|
};
|
|
5041
5044
|
};
|
|
5042
|
-
function
|
|
5045
|
+
function $d(t, e, n) {
|
|
5043
5046
|
if (typeof t != "object")
|
|
5044
|
-
throw new
|
|
5047
|
+
throw new Y("options must be an object", Y.ERR_BAD_OPTION_VALUE);
|
|
5045
5048
|
const o = Object.keys(t);
|
|
5046
5049
|
let r = o.length;
|
|
5047
5050
|
for (; r-- > 0; ) {
|
|
@@ -5049,15 +5052,15 @@ function Md(t, e, n) {
|
|
|
5049
5052
|
if (i) {
|
|
5050
5053
|
const d = t[s], l = d === void 0 || i(d, s, t);
|
|
5051
5054
|
if (l !== !0)
|
|
5052
|
-
throw new
|
|
5055
|
+
throw new Y("option " + s + " must be " + l, Y.ERR_BAD_OPTION_VALUE);
|
|
5053
5056
|
continue;
|
|
5054
5057
|
}
|
|
5055
5058
|
if (n !== !0)
|
|
5056
|
-
throw new
|
|
5059
|
+
throw new Y("Unknown option " + s, Y.ERR_BAD_OPTION);
|
|
5057
5060
|
}
|
|
5058
5061
|
}
|
|
5059
5062
|
const oo = {
|
|
5060
|
-
assertOptions:
|
|
5063
|
+
assertOptions: $d,
|
|
5061
5064
|
validators: xo
|
|
5062
5065
|
}, et = oo.validators;
|
|
5063
5066
|
class dn {
|
|
@@ -5233,13 +5236,13 @@ class ko {
|
|
|
5233
5236
|
};
|
|
5234
5237
|
}
|
|
5235
5238
|
}
|
|
5236
|
-
const
|
|
5237
|
-
function
|
|
5239
|
+
const Hd = ko;
|
|
5240
|
+
function jd(t) {
|
|
5238
5241
|
return function(n) {
|
|
5239
5242
|
return t.apply(null, n);
|
|
5240
5243
|
};
|
|
5241
5244
|
}
|
|
5242
|
-
function
|
|
5245
|
+
function zd(t) {
|
|
5243
5246
|
return p.isObject(t) && t.isAxiosError === !0;
|
|
5244
5247
|
}
|
|
5245
5248
|
const ro = {
|
|
@@ -5310,7 +5313,7 @@ const ro = {
|
|
|
5310
5313
|
Object.entries(ro).forEach(([t, e]) => {
|
|
5311
5314
|
ro[e] = t;
|
|
5312
5315
|
});
|
|
5313
|
-
const
|
|
5316
|
+
const Vd = ro;
|
|
5314
5317
|
function Us(t) {
|
|
5315
5318
|
const e = new an(t), n = ys(an.prototype.request, e);
|
|
5316
5319
|
return p.extend(n, an.prototype, e, { allOwnKeys: !0 }), p.extend(n, e, null, { allOwnKeys: !0 }), n.create = function(r) {
|
|
@@ -5320,24 +5323,24 @@ function Us(t) {
|
|
|
5320
5323
|
const se = Us(Eo);
|
|
5321
5324
|
se.Axios = an;
|
|
5322
5325
|
se.CanceledError = Yt;
|
|
5323
|
-
se.CancelToken =
|
|
5326
|
+
se.CancelToken = Hd;
|
|
5324
5327
|
se.isCancel = Is;
|
|
5325
5328
|
se.VERSION = Ns;
|
|
5326
5329
|
se.toFormData = xn;
|
|
5327
|
-
se.AxiosError =
|
|
5330
|
+
se.AxiosError = Y;
|
|
5328
5331
|
se.Cancel = se.CanceledError;
|
|
5329
5332
|
se.all = function(e) {
|
|
5330
5333
|
return Promise.all(e);
|
|
5331
5334
|
};
|
|
5332
|
-
se.spread =
|
|
5333
|
-
se.isAxiosError =
|
|
5335
|
+
se.spread = jd;
|
|
5336
|
+
se.isAxiosError = zd;
|
|
5334
5337
|
se.mergeConfig = xt;
|
|
5335
5338
|
se.AxiosHeaders = Qe;
|
|
5336
5339
|
se.formToJSON = (t) => Os(p.isHTMLForm(t) ? new FormData(t) : t);
|
|
5337
5340
|
se.getAdapter = Bs.getAdapter;
|
|
5338
|
-
se.HttpStatusCode =
|
|
5341
|
+
se.HttpStatusCode = Vd;
|
|
5339
5342
|
se.default = se;
|
|
5340
|
-
class
|
|
5343
|
+
class Wd {
|
|
5341
5344
|
constructor(e) {
|
|
5342
5345
|
Fe(this, "keycloak");
|
|
5343
5346
|
Fe(this, "axios");
|
|
@@ -5444,23 +5447,23 @@ class Vd {
|
|
|
5444
5447
|
return !e || !n ? !0 : n - Math.ceil((/* @__PURE__ */ new Date()).getTime() / 1e3) + (this.keycloak.timeSkew ?? 0) < 10;
|
|
5445
5448
|
}
|
|
5446
5449
|
}
|
|
5447
|
-
const
|
|
5450
|
+
const tf = (t) => new Wd(t);
|
|
5448
5451
|
Qn.SetInitialTheme();
|
|
5449
5452
|
export {
|
|
5450
5453
|
pr as AppResult,
|
|
5451
|
-
|
|
5454
|
+
Wd as AxiosClient,
|
|
5452
5455
|
Ai as SfButton,
|
|
5453
|
-
|
|
5456
|
+
Xd as SfContent,
|
|
5454
5457
|
bi as SfDrawer,
|
|
5455
5458
|
cn as SfIcon,
|
|
5456
|
-
|
|
5457
|
-
|
|
5458
|
-
|
|
5459
|
-
|
|
5459
|
+
Jd as SfLayout,
|
|
5460
|
+
Qd as SfMessage,
|
|
5461
|
+
Yd as SfNavMenuLink,
|
|
5462
|
+
Zd as SfTabNavigation,
|
|
5460
5463
|
Rr as SfTooltip,
|
|
5461
|
-
|
|
5462
|
-
|
|
5463
|
-
|
|
5464
|
+
Gd as UseAlertService,
|
|
5465
|
+
ef as UseAuthService,
|
|
5466
|
+
tf as UseAxiosClient,
|
|
5464
5467
|
Ol as UseConfirmService,
|
|
5465
5468
|
_r as UseNavMenuService
|
|
5466
5469
|
};
|