jplan-pack 0.6.566 → 0.6.568
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/{AuthFailRoute-CiOt07Gb.mjs → AuthFailRoute-ClEiykYp.mjs} +1 -1
- package/dist/{AuthFailRoute-DYGcOkB1.js → AuthFailRoute-D5YnESOF.js} +1 -1
- package/dist/{AuthRoute-BC90rwNt.mjs → AuthRoute-DF8PICwz.mjs} +1 -1
- package/dist/{AuthRoute-DT7TDNqB.js → AuthRoute-nsTtZ_G2.js} +1 -1
- package/dist/{index-Btd19MGX.mjs → index-CcoTfwYh.mjs} +628 -623
- package/dist/{index-CS29lH-N.js → index-wfTle8as.js} +14 -14
- package/dist/index.css +1 -1
- package/dist/jplan-pack.cjs.js +1 -1
- package/dist/jplan-pack.es.js +42 -41
- package/dist/types/assets/index.d.ts +2 -0
- package/dist/types/components/SearchFilter.d.ts +7 -2
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
@@ -1,23 +1,23 @@
|
|
1
|
-
import { defineComponent as Te, resolveComponent as Dr, unref as
|
1
|
+
import { defineComponent as Te, resolveComponent as Dr, unref as te, openBlock as x, createElementBlock as oe, createVNode as A, withCtx as k, normalizeStyle as za, createCommentVNode as ge, Fragment as ht, createBlock as Q, resolveDynamicComponent as Va, createTextVNode as H, toDisplayString as we, useSlots as XR, mergeProps as Et, renderSlot as Se, effectScope as Hv, ref as ee, markRaw as bo, toRaw as Ii, watch as xi, hasInjectionContext as ZR, inject as Fv, getCurrentInstance as Wa, reactive as ek, isRef as Oo, isReactive as uh, toRef as Gu, nextTick as Pd, computed as Pt, getCurrentScope as tk, onScopeDispose as nk, toRefs as Ym, onUnmounted as dh, onMounted as Bv, normalizeClass as Oa, createElementVNode as ne, toHandlers as rk, withModifiers as $v, TransitionGroup as ok, renderList as oo, provide as ik, createApp as ak, normalizeProps as sk, guardReactiveProps as ck, mergeModels as Pa, useModel as Ri, createSlots as lk, h as wa, withKeys as uk, withDirectives as Jm, vShow as Qm, useAttrs as dk, onBeforeMount as hk } from "vue";
|
2
2
|
import * as fk from "@vueuse/core";
|
3
3
|
import { useClipboard as gk, useIntervalFn as mk } from "@vueuse/core";
|
4
4
|
import { VBtn as je } from "vuetify/lib/components/VBtn/index.mjs";
|
5
|
-
import { VTooltip as pk, VBtn as
|
5
|
+
import { VTooltip as pk, VBtn as Ma, VMenu as Kv, VList as vk, VListItem as yk, VListItemTitle as wk, VDivider as _k, VTextField as Ck, VSelect as Tk } from "vuetify/components";
|
6
6
|
import { VIcon as kc } from "vuetify/lib/components/VIcon/index.mjs";
|
7
|
-
import { VCard as
|
8
|
-
import { VDialog as
|
7
|
+
import { VCard as Na, VCardTitle as hh, VCardText as Da, VCardActions as _a } from "vuetify/lib/components/VCard/index.mjs";
|
8
|
+
import { VDialog as dc } from "vuetify/lib/components/VDialog/index.mjs";
|
9
9
|
import { VDivider as Po } from "vuetify/lib/components/VDivider/index.mjs";
|
10
|
-
import { VCol as Ot, VSpacer as
|
10
|
+
import { VCol as Ot, VSpacer as xa, VRow as dr } from "vuetify/lib/components/VGrid/index.mjs";
|
11
11
|
import { VAvatar as zv } from "vuetify/lib/components/VAvatar/index.mjs";
|
12
12
|
import { VImg as fh } from "vuetify/lib/components/VImg/index.mjs";
|
13
|
-
import { VList as Vv, VListItem as
|
13
|
+
import { VList as Vv, VListItem as hc, VListItemAction as Ek, VListItemTitle as fc, VListItemSubtitle as ju } from "vuetify/lib/components/VList/index.mjs";
|
14
14
|
import { VMenu as Wv } from "vuetify/lib/components/VMenu/index.mjs";
|
15
15
|
import { VDataTable as qv } from "vuetify/lib/components/VDataTable/index.mjs";
|
16
16
|
import { VTextField as Ak } from "vuetify/lib/components/VTextField/index.mjs";
|
17
17
|
import { VSelect as Ca } from "vuetify/lib/components/VSelect/index.mjs";
|
18
18
|
import { VCheckbox as bk } from "vuetify/lib/components/VCheckbox/index.mjs";
|
19
19
|
import { VChip as Sk } from "vuetify/lib/components/VChip/index.mjs";
|
20
|
-
import { VLabel as
|
20
|
+
import { VLabel as La } from "vuetify/lib/components/VLabel/index.mjs";
|
21
21
|
import { VTextarea as Ik } from "vuetify/lib/components/VTextarea/index.mjs";
|
22
22
|
import { VBtnToggle as Rk } from "vuetify/lib/components/VBtnToggle/index.mjs";
|
23
23
|
const kk = { key: 0 }, Ok = { key: 1 }, gh = /* @__PURE__ */ Te({
|
@@ -31,11 +31,11 @@ const kk = { key: 0 }, Ok = { key: 1 }, gh = /* @__PURE__ */ Te({
|
|
31
31
|
const e = r, { copy: t, copied: n, isSupported: i } = gk();
|
32
32
|
return (s, c) => {
|
33
33
|
const u = Dr("CopyIcon");
|
34
|
-
return
|
34
|
+
return te(i) ? (x(), oe("span", kk, [
|
35
35
|
A(je, {
|
36
36
|
icon: "",
|
37
37
|
variant: "text",
|
38
|
-
onClick: c[0] || (c[0] = (h) =>
|
38
|
+
onClick: c[0] || (c[0] = (h) => te(t)(e.contentToCopy)),
|
39
39
|
size: s.size,
|
40
40
|
color: s.color
|
41
41
|
}, {
|
@@ -44,9 +44,9 @@ const kk = { key: 0 }, Ok = { key: 1 }, gh = /* @__PURE__ */ Te({
|
|
44
44
|
]),
|
45
45
|
_: 1
|
46
46
|
}, 8, ["size", "color"]),
|
47
|
-
|
47
|
+
te(n) ? (x(), oe("span", {
|
48
48
|
key: 0,
|
49
|
-
style:
|
49
|
+
style: za({ fontSize: typeof e.size == "number" ? e.size - 4 + "px" : void 0 }),
|
50
50
|
class: "ms-1"
|
51
51
|
}, " Copied ", 4)) : ge("", !0)
|
52
52
|
])) : (x(), oe("p", Ok, "Your browser does not support Clipboard API"));
|
@@ -64,7 +64,7 @@ const kk = { key: 0 }, Ok = { key: 1 }, gh = /* @__PURE__ */ Te({
|
|
64
64
|
},
|
65
65
|
setup(r) {
|
66
66
|
return (e, t) => (x(), oe(ht, null, [
|
67
|
-
typeof e.item == "object" && "name" in e.item ? (x(), Q(
|
67
|
+
typeof e.item == "object" && "name" in e.item ? (x(), Q(Va(e.item.name), {
|
68
68
|
key: 0,
|
69
69
|
size: e.size,
|
70
70
|
"stroke-width": e.stroke,
|
@@ -94,13 +94,13 @@ const kk = { key: 0 }, Ok = { key: 1 }, gh = /* @__PURE__ */ Te({
|
|
94
94
|
emits: ["click"],
|
95
95
|
setup(r) {
|
96
96
|
const e = r, t = XR();
|
97
|
-
return (n, i) => n.tooltip ? (x(), Q(
|
97
|
+
return (n, i) => n.tooltip ? (x(), Q(te(pk), {
|
98
98
|
key: 0,
|
99
99
|
text: n.tooltip,
|
100
100
|
"open-delay": "1000"
|
101
101
|
}, {
|
102
102
|
activator: k(({ props: s }) => [
|
103
|
-
A(
|
103
|
+
A(te(Ma), Et(s, {
|
104
104
|
variant: n.variant,
|
105
105
|
color: n.color,
|
106
106
|
icon: "",
|
@@ -108,7 +108,7 @@ const kk = { key: 0 }, Ok = { key: 1 }, gh = /* @__PURE__ */ Te({
|
|
108
108
|
onClick: i[0] || (i[0] = (c) => n.$emit("click"))
|
109
109
|
}), {
|
110
110
|
default: k(() => [
|
111
|
-
!
|
111
|
+
!te(t).default && s.icon ? (x(), Q(Xm, {
|
112
112
|
key: 0,
|
113
113
|
item: s.icon,
|
114
114
|
size: s.size
|
@@ -119,7 +119,7 @@ const kk = { key: 0 }, Ok = { key: 1 }, gh = /* @__PURE__ */ Te({
|
|
119
119
|
}, 1040, ["variant", "color", "size"])
|
120
120
|
]),
|
121
121
|
_: 3
|
122
|
-
}, 8, ["text"])) : (x(), Q(
|
122
|
+
}, 8, ["text"])) : (x(), Q(te(Ma), {
|
123
123
|
key: 1,
|
124
124
|
variant: n.variant,
|
125
125
|
color: n.color,
|
@@ -128,7 +128,7 @@ const kk = { key: 0 }, Ok = { key: 1 }, gh = /* @__PURE__ */ Te({
|
|
128
128
|
onClick: i[1] || (i[1] = (s) => n.$emit("click"))
|
129
129
|
}, {
|
130
130
|
default: k(() => [
|
131
|
-
!
|
131
|
+
!te(t).default && e.icon ? (x(), Q(Xm, {
|
132
132
|
key: 0,
|
133
133
|
item: e.icon,
|
134
134
|
size: e.size
|
@@ -149,7 +149,7 @@ const kk = { key: 0 }, Ok = { key: 1 }, gh = /* @__PURE__ */ Te({
|
|
149
149
|
},
|
150
150
|
emits: ["click"],
|
151
151
|
setup(r) {
|
152
|
-
return (e, t) => (x(), Q(
|
152
|
+
return (e, t) => (x(), Q(te(Ma), {
|
153
153
|
"prepend-icon": e.icon,
|
154
154
|
variant: e.variant,
|
155
155
|
color: e.color,
|
@@ -165,7 +165,7 @@ const kk = { key: 0 }, Ok = { key: 1 }, gh = /* @__PURE__ */ Te({
|
|
165
165
|
}
|
166
166
|
});
|
167
167
|
var Gv = !1;
|
168
|
-
function
|
168
|
+
function Ys(r, e, t) {
|
169
169
|
return Array.isArray(r) ? (r.length = Math.max(r.length, e), r.splice(e, 1, t), t) : (r[e] = t, t);
|
170
170
|
}
|
171
171
|
function Yu(r, e) {
|
@@ -271,7 +271,7 @@ function Yv(r, e) {
|
|
271
271
|
* @license MIT
|
272
272
|
*/
|
273
273
|
let fa;
|
274
|
-
const
|
274
|
+
const Ua = (r) => fa = r, Jv = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
|
275
275
|
/* istanbul ignore next */
|
276
276
|
Symbol()
|
277
277
|
);
|
@@ -303,7 +303,7 @@ function Qv(r) {
|
|
303
303
|
}
|
304
304
|
return e.status >= 200 && e.status <= 299;
|
305
305
|
}
|
306
|
-
function
|
306
|
+
function gc(r) {
|
307
307
|
try {
|
308
308
|
r.dispatchEvent(new MouseEvent("click"));
|
309
309
|
} catch {
|
@@ -311,11 +311,11 @@ function fc(r) {
|
|
311
311
|
t.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), r.dispatchEvent(t);
|
312
312
|
}
|
313
313
|
}
|
314
|
-
const
|
314
|
+
const mc = typeof navigator == "object" ? navigator : { userAgent: "" }, Xv = /Macintosh/.test(mc.userAgent) && /AppleWebKit/.test(mc.userAgent) && !/Safari/.test(mc.userAgent), Zv = So ? (
|
315
315
|
// Use download attribute first if possible (#193 Lumia mobile) unless this is a macOS WebView or mini program
|
316
316
|
typeof HTMLAnchorElement < "u" && "download" in HTMLAnchorElement.prototype && !Xv ? $k : (
|
317
317
|
// Use msSaveOrOpenBlob as a second approach
|
318
|
-
"msSaveOrOpenBlob" in
|
318
|
+
"msSaveOrOpenBlob" in mc ? Kk : (
|
319
319
|
// Fallback to using FileReader and a popup
|
320
320
|
zk
|
321
321
|
)
|
@@ -324,10 +324,10 @@ const gc = typeof navigator == "object" ? navigator : { userAgent: "" }, Xv = /M
|
|
324
324
|
};
|
325
325
|
function $k(r, e = "download", t) {
|
326
326
|
const n = document.createElement("a");
|
327
|
-
n.download = e, n.rel = "noopener", typeof r == "string" ? (n.href = r, n.origin !== location.origin ? Qv(n.href) ? mh(r, e, t) : (n.target = "_blank",
|
327
|
+
n.download = e, n.rel = "noopener", typeof r == "string" ? (n.href = r, n.origin !== location.origin ? Qv(n.href) ? mh(r, e, t) : (n.target = "_blank", gc(n)) : gc(n)) : (n.href = URL.createObjectURL(r), setTimeout(function() {
|
328
328
|
URL.revokeObjectURL(n.href);
|
329
329
|
}, 4e4), setTimeout(function() {
|
330
|
-
|
330
|
+
gc(n);
|
331
331
|
}, 0));
|
332
332
|
}
|
333
333
|
function Kk(r, e = "download", t) {
|
@@ -337,7 +337,7 @@ function Kk(r, e = "download", t) {
|
|
337
337
|
else {
|
338
338
|
const n = document.createElement("a");
|
339
339
|
n.href = r, n.target = "_blank", setTimeout(function() {
|
340
|
-
|
340
|
+
gc(n);
|
341
341
|
});
|
342
342
|
}
|
343
343
|
else
|
@@ -445,10 +445,10 @@ function Gn(r) {
|
|
445
445
|
}
|
446
446
|
};
|
447
447
|
}
|
448
|
-
const ry = "🍍 Pinia (root)",
|
448
|
+
const ry = "🍍 Pinia (root)", pc = "_root";
|
449
449
|
function Yk(r) {
|
450
450
|
return ph(r) ? {
|
451
|
-
id:
|
451
|
+
id: pc,
|
452
452
|
label: ry
|
453
453
|
} : {
|
454
454
|
id: r.$id,
|
@@ -517,7 +517,7 @@ function Xk(r) {
|
|
517
517
|
}
|
518
518
|
}
|
519
519
|
let wi = !0;
|
520
|
-
const
|
520
|
+
const vc = [], _o = "pinia:mutations", Ft = "pinia", { assign: Zk } = Object, Oc = (r) => "🍍 " + r;
|
521
521
|
function eO(r, e) {
|
522
522
|
Yv({
|
523
523
|
id: "dev.esm.pinia",
|
@@ -525,7 +525,7 @@ function eO(r, e) {
|
|
525
525
|
logo: "https://pinia.vuejs.org/logo.svg",
|
526
526
|
packageName: "pinia",
|
527
527
|
homepage: "https://pinia.vuejs.org",
|
528
|
-
componentStateTypes:
|
528
|
+
componentStateTypes: vc,
|
529
529
|
app: r
|
530
530
|
}, (t) => {
|
531
531
|
typeof t.now != "function" && Ct("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."), t.addTimelineLayer({
|
@@ -623,14 +623,14 @@ function eO(r, e) {
|
|
623
623
|
}
|
624
624
|
}), globalThis.$pinia = e, t.on.getInspectorState((n) => {
|
625
625
|
if (n.app === r && n.inspectorId === Ft) {
|
626
|
-
const i = n.nodeId ===
|
626
|
+
const i = n.nodeId === pc ? e : e._s.get(n.nodeId);
|
627
627
|
if (!i)
|
628
628
|
return;
|
629
|
-
i && (n.nodeId !==
|
629
|
+
i && (n.nodeId !== pc && (globalThis.$store = Ii(i)), n.state = Jk(i));
|
630
630
|
}
|
631
631
|
}), t.on.editInspectorState((n, i) => {
|
632
632
|
if (n.app === r && n.inspectorId === Ft) {
|
633
|
-
const s = n.nodeId ===
|
633
|
+
const s = n.nodeId === pc ? e : e._s.get(n.nodeId);
|
634
634
|
if (!s)
|
635
635
|
return Ct(`store "${n.nodeId}" not found`, "error");
|
636
636
|
const { path: c } = n;
|
@@ -652,13 +652,13 @@ Only state can be modified.`);
|
|
652
652
|
});
|
653
653
|
}
|
654
654
|
function tO(r, e) {
|
655
|
-
|
655
|
+
vc.includes(Oc(e.$id)) || vc.push(Oc(e.$id)), Yv({
|
656
656
|
id: "dev.esm.pinia",
|
657
657
|
label: "Pinia 🍍",
|
658
658
|
logo: "https://pinia.vuejs.org/logo.svg",
|
659
659
|
packageName: "pinia",
|
660
660
|
homepage: "https://pinia.vuejs.org",
|
661
|
-
componentStateTypes:
|
661
|
+
componentStateTypes: vc,
|
662
662
|
app: r,
|
663
663
|
settings: {
|
664
664
|
logStoreChanges: {
|
@@ -724,7 +724,7 @@ function tO(r, e) {
|
|
724
724
|
});
|
725
725
|
});
|
726
726
|
}, !0), e._customProperties.forEach((c) => {
|
727
|
-
xi(() =>
|
727
|
+
xi(() => te(e[c]), (u, h) => {
|
728
728
|
t.notifyComponentUpdate(), t.sendInspectorState(Ft), wi && t.addTimelineEvent({
|
729
729
|
layerId: _o,
|
730
730
|
event: {
|
@@ -820,7 +820,7 @@ function rO() {
|
|
820
820
|
let t = [], n = [];
|
821
821
|
const i = bo({
|
822
822
|
install(s) {
|
823
|
-
|
823
|
+
Ua(i), i._a = s, s.provide(Jv, i), s.config.globalProperties.$pinia = i, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && So && eO(s, i), n.forEach((c) => t.push(c)), n = [];
|
824
824
|
},
|
825
825
|
use(s) {
|
826
826
|
return !this._a && !Gv ? n.push(s) : t.push(s), this;
|
@@ -889,7 +889,7 @@ function op(r, e, t, n) {
|
|
889
889
|
Ym(ee(i ? i() : {}).value)
|
890
890
|
) : Ym(t.state.value[r]);
|
891
891
|
return Dn(g, s, Object.keys(c || {}).reduce((p, y) => (process.env.NODE_ENV !== "production" && y in g && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${y}" in store "${r}".`), p[y] = bo(Pt(() => {
|
892
|
-
|
892
|
+
Ua(t);
|
893
893
|
const E = t._s.get(r);
|
894
894
|
return c[y].call(E, E);
|
895
895
|
})), p), {}));
|
@@ -938,7 +938,7 @@ function aO(r, e, t = {}, n, i, s) {
|
|
938
938
|
if (np in X)
|
939
939
|
return X[Ju] = Y, X;
|
940
940
|
const De = function() {
|
941
|
-
|
941
|
+
Ua(n);
|
942
942
|
const Ye = Array.from(arguments), Mt = [], Fn = [];
|
943
943
|
function wn(Nt) {
|
944
944
|
Mt.push(Nt);
|
@@ -1000,7 +1000,7 @@ function aO(r, e, t = {}, n, i, s) {
|
|
1000
1000
|
for (const X in Ne) {
|
1001
1001
|
const Y = Ne[X];
|
1002
1002
|
if (Oo(Y) && !rp(Y) || uh(Y))
|
1003
|
-
process.env.NODE_ENV !== "production" && i &&
|
1003
|
+
process.env.NODE_ENV !== "production" && i && Ys(S.value, X, Gu(Ne, X)), process.env.NODE_ENV !== "production" && pe.state.push(X);
|
1004
1004
|
else if (typeof Y == "function") {
|
1005
1005
|
const De = process.env.NODE_ENV !== "production" && i ? Y : ie(Y, X);
|
1006
1006
|
Ne[X] = De, process.env.NODE_ENV !== "production" && (pe.actions[X] = Y), u.actions[X] = Y;
|
@@ -1023,7 +1023,7 @@ function aO(r, e, t = {}, n, i, s) {
|
|
1023
1023
|
const De = X.$state[Y], Ye = G.$state[Y];
|
1024
1024
|
typeof De == "object" && ki(De) && ki(Ye) ? iy(De, Ye) : X.$state[Y] = Ye;
|
1025
1025
|
}
|
1026
|
-
|
1026
|
+
Ys(G, Y, Gu(X.$state, Y));
|
1027
1027
|
}), Object.keys(G.$state).forEach((Y) => {
|
1028
1028
|
Y in X.$state || Yu(G, Y);
|
1029
1029
|
}), f = !1, g = !1, n.state.value[r] = Gu(X._hmrPayload, "hotState"), g = !0, Pd().then(() => {
|
@@ -1031,14 +1031,14 @@ function aO(r, e, t = {}, n, i, s) {
|
|
1031
1031
|
});
|
1032
1032
|
for (const Y in X._hmrPayload.actions) {
|
1033
1033
|
const De = X[Y];
|
1034
|
-
|
1034
|
+
Ys(G, Y, ie(De, Y));
|
1035
1035
|
}
|
1036
1036
|
for (const Y in X._hmrPayload.getters) {
|
1037
1037
|
const De = X._hmrPayload.getters[Y], Ye = (
|
1038
1038
|
// special handling of options api
|
1039
|
-
Pt(() => (
|
1039
|
+
Pt(() => (Ua(n), De.call(G, G)))
|
1040
1040
|
);
|
1041
|
-
|
1041
|
+
Ys(G, Y, Ye);
|
1042
1042
|
}
|
1043
1043
|
Object.keys(G._hmrPayload.getters).forEach((Y) => {
|
1044
1044
|
Y in X._hmrPayload.getters || Yu(G, Y);
|
@@ -1088,7 +1088,7 @@ function sO(r, e, t) {
|
|
1088
1088
|
const h = ZR();
|
1089
1089
|
if (c = // in test mode, ignore the argument provided as we can always retrieve a
|
1090
1090
|
// pinia instance with getActivePinia()
|
1091
|
-
(process.env.NODE_ENV === "test" && fa && fa._testing ? null : c) || (h ? Fv(Jv, null) : null), c &&
|
1091
|
+
(process.env.NODE_ENV === "test" && fa && fa._testing ? null : c) || (h ? Fv(Jv, null) : null), c && Ua(c), process.env.NODE_ENV !== "production" && !fa)
|
1092
1092
|
throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
|
1093
1093
|
See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
|
1094
1094
|
This will fail in production.`);
|
@@ -1099,7 +1099,7 @@ This will fail in production.`);
|
|
1099
1099
|
u._hotUpdate(p), delete c.state.value[g], c._s.delete(g);
|
1100
1100
|
}
|
1101
1101
|
if (process.env.NODE_ENV !== "production" && So) {
|
1102
|
-
const g =
|
1102
|
+
const g = Wa();
|
1103
1103
|
if (g && g.proxy && // avoid adding stores that are just built for hot module replacement
|
1104
1104
|
!u) {
|
1105
1105
|
const p = g.proxy, y = "_pStores" in p ? p._pStores : p._pStores = {};
|
@@ -1167,7 +1167,7 @@ var cO = Object.defineProperty, ip = Object.getOwnPropertySymbols, lO = Object.p
|
|
1167
1167
|
for (var t of ip(e))
|
1168
1168
|
uO.call(e, t) && ap(r, t, e[t]);
|
1169
1169
|
return r;
|
1170
|
-
}, Zc = (r) => typeof r == "function", el = (r) => typeof r == "string", cy = (r) => el(r) && r.trim().length > 0, dO = (r) => typeof r == "number", Io = (r) => typeof r > "u",
|
1170
|
+
}, Zc = (r) => typeof r == "function", el = (r) => typeof r == "string", cy = (r) => el(r) && r.trim().length > 0, dO = (r) => typeof r == "number", Io = (r) => typeof r > "u", Ha = (r) => typeof r == "object" && r !== null, hO = (r) => fr(r, "tag") && cy(r.tag), ly = (r) => window.TouchEvent && r instanceof TouchEvent, uy = (r) => fr(r, "component") && dy(r.component), fO = (r) => Zc(r) || Ha(r), dy = (r) => !Io(r) && (el(r) || fO(r) || uy(r)), sp = (r) => Ha(r) && ["height", "width", "right", "left", "top", "bottom"].every((e) => dO(r[e])), fr = (r, e) => (Ha(r) || Zc(r)) && e in r, gO = /* @__PURE__ */ ((r) => () => r++)(0);
|
1171
1171
|
function Qu(r) {
|
1172
1172
|
return ly(r) ? r.targetTouches[0].clientX : r.clientX;
|
1173
1173
|
}
|
@@ -1176,15 +1176,15 @@ function cp(r) {
|
|
1176
1176
|
}
|
1177
1177
|
var mO = (r) => {
|
1178
1178
|
Io(r.remove) ? r.parentNode && r.parentNode.removeChild(r) : r.remove();
|
1179
|
-
},
|
1179
|
+
}, qa = (r) => uy(r) ? qa(r.component) : hO(r) ? Te({
|
1180
1180
|
render() {
|
1181
1181
|
return r;
|
1182
1182
|
}
|
1183
|
-
}) : typeof r == "string" ? r : Ii(
|
1183
|
+
}) : typeof r == "string" ? r : Ii(te(r)), pO = (r) => {
|
1184
1184
|
if (typeof r == "string")
|
1185
1185
|
return r;
|
1186
|
-
const e = fr(r, "props") &&
|
1187
|
-
return { component:
|
1186
|
+
const e = fr(r, "props") && Ha(r.props) ? r.props : {}, t = fr(r, "listeners") && Ha(r.listeners) ? r.listeners : {};
|
1187
|
+
return { component: qa(r), props: e, listeners: t };
|
1188
1188
|
}, vO = () => typeof window < "u", vh = class {
|
1189
1189
|
constructor() {
|
1190
1190
|
this.allHandlers = {};
|
@@ -1234,7 +1234,7 @@ var Jn = "Vue-Toastification", Yn = {
|
|
1234
1234
|
type: [String, Boolean, Object, Function],
|
1235
1235
|
default: !0
|
1236
1236
|
}
|
1237
|
-
},
|
1237
|
+
}, yc = {
|
1238
1238
|
component: {
|
1239
1239
|
type: [String, Object, Function, Boolean],
|
1240
1240
|
default: "button"
|
@@ -1284,9 +1284,9 @@ var Jn = "Vue-Toastification", Yn = {
|
|
1284
1284
|
toastClassName: Yn.classNames,
|
1285
1285
|
bodyClassName: Yn.classNames,
|
1286
1286
|
icon: hy.customIcon,
|
1287
|
-
closeButton:
|
1288
|
-
closeButtonClassName:
|
1289
|
-
showCloseButtonOnHover:
|
1287
|
+
closeButton: yc.component,
|
1288
|
+
closeButtonClassName: yc.classNames,
|
1289
|
+
showCloseButtonOnHover: yc.showOnHover,
|
1290
1290
|
accessibility: {
|
1291
1291
|
type: Object,
|
1292
1292
|
default: () => ({
|
@@ -1356,7 +1356,7 @@ var Jn = "Vue-Toastification", Yn = {
|
|
1356
1356
|
PROGRESS_BAR: Nd,
|
1357
1357
|
ICON: hy,
|
1358
1358
|
TRANSITION: fy,
|
1359
|
-
CLOSE_BUTTON:
|
1359
|
+
CLOSE_BUTTON: yc
|
1360
1360
|
}, gy = Te({
|
1361
1361
|
name: "VtProgressBar",
|
1362
1362
|
props: xr.PROGRESS_BAR,
|
@@ -1396,7 +1396,7 @@ var Jn = "Vue-Toastification", Yn = {
|
|
1396
1396
|
});
|
1397
1397
|
function TO(r, e) {
|
1398
1398
|
return x(), oe("div", {
|
1399
|
-
style:
|
1399
|
+
style: za(r.style),
|
1400
1400
|
class: Oa(r.cpClass)
|
1401
1401
|
}, null, 6);
|
1402
1402
|
}
|
@@ -1406,7 +1406,7 @@ var EO = gy, my = Te({
|
|
1406
1406
|
props: xr.CLOSE_BUTTON,
|
1407
1407
|
computed: {
|
1408
1408
|
buttonComponent() {
|
1409
|
-
return this.component !== !1 ?
|
1409
|
+
return this.component !== !1 ? qa(this.component) : "button";
|
1410
1410
|
},
|
1411
1411
|
classes() {
|
1412
1412
|
const r = [`${Jn}__close-button`];
|
@@ -1415,7 +1415,7 @@ var EO = gy, my = Te({
|
|
1415
1415
|
}
|
1416
1416
|
}), AO = /* @__PURE__ */ H(" × ");
|
1417
1417
|
function bO(r, e) {
|
1418
|
-
return x(), Q(
|
1418
|
+
return x(), Q(Va(r.buttonComponent), Et({
|
1419
1419
|
"aria-label": r.ariaLabel,
|
1420
1420
|
class: r.classes
|
1421
1421
|
}, r.$attrs), {
|
@@ -1435,7 +1435,7 @@ var SO = my, py = {}, IO = {
|
|
1435
1435
|
role: "img",
|
1436
1436
|
xmlns: "http://www.w3.org/2000/svg",
|
1437
1437
|
viewBox: "0 0 512 512"
|
1438
|
-
}, RO = /* @__PURE__ */
|
1438
|
+
}, RO = /* @__PURE__ */ ne("path", {
|
1439
1439
|
fill: "currentColor",
|
1440
1440
|
d: "M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"
|
1441
1441
|
}, null, -1), kO = [
|
@@ -1454,7 +1454,7 @@ var PO = py, vy = {}, MO = {
|
|
1454
1454
|
role: "img",
|
1455
1455
|
xmlns: "http://www.w3.org/2000/svg",
|
1456
1456
|
viewBox: "0 0 512 512"
|
1457
|
-
}, NO = /* @__PURE__ */
|
1457
|
+
}, NO = /* @__PURE__ */ ne("path", {
|
1458
1458
|
fill: "currentColor",
|
1459
1459
|
d: "M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"
|
1460
1460
|
}, null, -1), DO = [
|
@@ -1473,7 +1473,7 @@ var lp = vy, yy = {}, LO = {
|
|
1473
1473
|
role: "img",
|
1474
1474
|
xmlns: "http://www.w3.org/2000/svg",
|
1475
1475
|
viewBox: "0 0 512 512"
|
1476
|
-
}, UO = /* @__PURE__ */
|
1476
|
+
}, UO = /* @__PURE__ */ ne("path", {
|
1477
1477
|
fill: "currentColor",
|
1478
1478
|
d: "M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"
|
1479
1479
|
}, null, -1), HO = [
|
@@ -1492,7 +1492,7 @@ var BO = yy, wy = {}, $O = {
|
|
1492
1492
|
role: "img",
|
1493
1493
|
xmlns: "http://www.w3.org/2000/svg",
|
1494
1494
|
viewBox: "0 0 576 512"
|
1495
|
-
}, KO = /* @__PURE__ */
|
1495
|
+
}, KO = /* @__PURE__ */ ne("path", {
|
1496
1496
|
fill: "currentColor",
|
1497
1497
|
d: "M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"
|
1498
1498
|
}, null, -1), zO = [
|
@@ -1519,7 +1519,7 @@ var WO = wy, _y = Te({
|
|
1519
1519
|
return this.customIconClass.length > 0;
|
1520
1520
|
},
|
1521
1521
|
component() {
|
1522
|
-
return this.hasCustomIcon ? this.customIconTag : dy(this.customIcon) ?
|
1522
|
+
return this.hasCustomIcon ? this.customIconTag : dy(this.customIcon) ? qa(this.customIcon) : this.iconTypeComponent;
|
1523
1523
|
},
|
1524
1524
|
iconTypeComponent() {
|
1525
1525
|
return {
|
@@ -1542,7 +1542,7 @@ var WO = wy, _y = Te({
|
|
1542
1542
|
}
|
1543
1543
|
});
|
1544
1544
|
function qO(r, e) {
|
1545
|
-
return x(), Q(
|
1545
|
+
return x(), Q(Va(r.component), {
|
1546
1546
|
class: Oa(r.iconClasses)
|
1547
1547
|
}, {
|
1548
1548
|
default: k(() => [
|
@@ -1606,7 +1606,7 @@ var GO = _y, Cy = Te({
|
|
1606
1606
|
},
|
1607
1607
|
methods: {
|
1608
1608
|
hasProp: fr,
|
1609
|
-
getVueComponentFromObj:
|
1609
|
+
getVueComponentFromObj: qa,
|
1610
1610
|
closeToast() {
|
1611
1611
|
this.eventBus.emit(mn.DISMISS, this.id);
|
1612
1612
|
},
|
@@ -1661,7 +1661,7 @@ function YO(r, e) {
|
|
1661
1661
|
const t = Dr("Icon"), n = Dr("CloseButton"), i = Dr("ProgressBar");
|
1662
1662
|
return x(), oe("div", {
|
1663
1663
|
class: Oa(r.classes),
|
1664
|
-
style:
|
1664
|
+
style: za(r.draggableStyle),
|
1665
1665
|
onClick: e[0] || (e[0] = (...s) => r.clickHandler && r.clickHandler(...s)),
|
1666
1666
|
onMouseenter: e[1] || (e[1] = (...s) => r.hoverPause && r.hoverPause(...s)),
|
1667
1667
|
onMouseleave: e[2] || (e[2] = (...s) => r.hoverPlay && r.hoverPlay(...s))
|
@@ -1671,13 +1671,13 @@ function YO(r, e) {
|
|
1671
1671
|
"custom-icon": r.icon,
|
1672
1672
|
type: r.type
|
1673
1673
|
}, null, 8, ["custom-icon", "type"])) : ge("v-if", !0),
|
1674
|
-
|
1674
|
+
ne("div", {
|
1675
1675
|
role: r.accessibility.toastRole || "alert",
|
1676
1676
|
class: Oa(r.bodyClasses)
|
1677
1677
|
}, [
|
1678
1678
|
typeof r.content == "string" ? (x(), oe(ht, { key: 0 }, [
|
1679
1679
|
H(we(r.content), 1)
|
1680
|
-
], 2112)) : (x(), Q(
|
1680
|
+
], 2112)) : (x(), Q(Va(r.getVueComponentFromObj(r.content)), Et({
|
1681
1681
|
key: 1,
|
1682
1682
|
"toast-id": r.id
|
1683
1683
|
}, r.hasProp(r.content, "props") ? r.content.props : {}, rk(r.hasProp(r.content, "listeners") ? r.content.listeners : {}), { onCloseToast: r.closeToast }), null, 16, ["toast-id", "onCloseToast"]))
|
@@ -1863,11 +1863,11 @@ var yh = Symbol("VueToastification"), Ay = new vh(), n0 = (r, e) => {
|
|
1863
1863
|
r.provide(yh, t);
|
1864
1864
|
}, tF = (r) => {
|
1865
1865
|
const e = Mc(r);
|
1866
|
-
|
1866
|
+
Wa() && ik(yh, e);
|
1867
1867
|
}, yr = (r) => {
|
1868
1868
|
if (r)
|
1869
1869
|
return Mc(r);
|
1870
|
-
const e =
|
1870
|
+
const e = Wa() ? Fv(yh, void 0) : void 0;
|
1871
1871
|
return e || Mc(Ay);
|
1872
1872
|
}, r0 = n0;
|
1873
1873
|
const o0 = { class: "d-flex align-center" }, i0 = { key: 1 }, a0 = { class: "ms-auto" }, tl = /* @__PURE__ */ Te({
|
@@ -1905,26 +1905,26 @@ const o0 = { class: "d-flex align-center" }, i0 = { key: 1 }, a0 = { class: "ms-
|
|
1905
1905
|
return (f, g) => {
|
1906
1906
|
const p = Dr("ExclamationCircleIcon");
|
1907
1907
|
return x(), oe(ht, null, [
|
1908
|
-
f.variant === "global" ? (x(), Q(
|
1908
|
+
f.variant === "global" ? (x(), Q(dc, {
|
1909
1909
|
key: 0,
|
1910
1910
|
scrim: t.scrim,
|
1911
1911
|
width: t.width,
|
1912
|
-
modelValue:
|
1912
|
+
modelValue: te(s),
|
1913
1913
|
"onUpdate:modelValue": g[0] || (g[0] = (y) => Oo(s) ? s.value = y : null),
|
1914
1914
|
"onClick:outside": u
|
1915
1915
|
}, {
|
1916
1916
|
default: k(() => [
|
1917
|
-
A(
|
1917
|
+
A(Na, {
|
1918
1918
|
rounded: "",
|
1919
1919
|
loading: i.value
|
1920
1920
|
}, {
|
1921
1921
|
default: k(() => [
|
1922
1922
|
A(hh, { class: "mt-2 px-5 d-flex" }, {
|
1923
1923
|
default: k(() => [
|
1924
|
-
|
1924
|
+
ne("div", o0, [
|
1925
1925
|
f.$slots.title ? Se(f.$slots, "title", { key: 0 }) : (x(), oe("div", i0, we(t.title), 1))
|
1926
1926
|
]),
|
1927
|
-
|
1927
|
+
ne("div", a0, [
|
1928
1928
|
Se(f.$slots, "heading-actions"),
|
1929
1929
|
A(je, {
|
1930
1930
|
class: "ms-auto",
|
@@ -1937,7 +1937,7 @@ const o0 = { class: "d-flex align-center" }, i0 = { key: 1 }, a0 = { class: "ms-
|
|
1937
1937
|
_: 3
|
1938
1938
|
}),
|
1939
1939
|
A(Po, { class: "mx-5" }),
|
1940
|
-
A(
|
1940
|
+
A(Da, { class: "overflow-y-scroll" }, {
|
1941
1941
|
default: k(() => [
|
1942
1942
|
Se(f.$slots, "default")
|
1943
1943
|
]),
|
@@ -1966,7 +1966,7 @@ const o0 = { class: "d-flex align-center" }, i0 = { key: 1 }, a0 = { class: "ms-
|
|
1966
1966
|
]),
|
1967
1967
|
_: 3
|
1968
1968
|
})) : ge("", !0),
|
1969
|
-
A(
|
1969
|
+
A(xa),
|
1970
1970
|
A(je, {
|
1971
1971
|
class: "j-btn-form",
|
1972
1972
|
variant: "outlined",
|
@@ -2000,16 +2000,16 @@ const o0 = { class: "d-flex align-center" }, i0 = { key: 1 }, a0 = { class: "ms-
|
|
2000
2000
|
]),
|
2001
2001
|
_: 3
|
2002
2002
|
}, 8, ["scrim", "width", "modelValue"])) : ge("", !0),
|
2003
|
-
f.variant === "confirm" ? (x(), Q(
|
2003
|
+
f.variant === "confirm" ? (x(), Q(dc, {
|
2004
2004
|
key: 1,
|
2005
2005
|
scrim: "background",
|
2006
2006
|
width: t.width,
|
2007
|
-
modelValue:
|
2007
|
+
modelValue: te(s),
|
2008
2008
|
"onUpdate:modelValue": g[1] || (g[1] = (y) => Oo(s) ? s.value = y : null),
|
2009
2009
|
"onClick:outside": u
|
2010
2010
|
}, {
|
2011
2011
|
default: k(() => [
|
2012
|
-
A(
|
2012
|
+
A(Na, {
|
2013
2013
|
loading: i.value,
|
2014
2014
|
title: t.title,
|
2015
2015
|
rounded: "",
|
@@ -2027,7 +2027,7 @@ const o0 = { class: "d-flex align-center" }, i0 = { key: 1 }, a0 = { class: "ms-
|
|
2027
2027
|
})
|
2028
2028
|
]),
|
2029
2029
|
default: k(() => [
|
2030
|
-
A(
|
2030
|
+
A(Da, { class: "text-center mt-7" }, {
|
2031
2031
|
default: k(() => [
|
2032
2032
|
H(we(t.text), 1)
|
2033
2033
|
]),
|
@@ -2066,11 +2066,11 @@ const o0 = { class: "d-flex align-center" }, i0 = { key: 1 }, a0 = { class: "ms-
|
|
2066
2066
|
]),
|
2067
2067
|
_: 1
|
2068
2068
|
}, 8, ["width", "modelValue"])) : ge("", !0),
|
2069
|
-
f.variant === "empty" ? (x(), Q(
|
2069
|
+
f.variant === "empty" ? (x(), Q(dc, {
|
2070
2070
|
key: 2,
|
2071
2071
|
scrim: t.scrim,
|
2072
2072
|
width: t.width,
|
2073
|
-
modelValue:
|
2073
|
+
modelValue: te(s),
|
2074
2074
|
"onUpdate:modelValue": g[2] || (g[2] = (y) => Oo(s) ? s.value = y : null),
|
2075
2075
|
"onClick:outside": u
|
2076
2076
|
}, {
|
@@ -2096,7 +2096,7 @@ const o0 = { class: "d-flex align-center" }, i0 = { key: 1 }, a0 = { class: "ms-
|
|
2096
2096
|
"on-save": () => n("removeAll")
|
2097
2097
|
}, null, 8, ["on-save"]),
|
2098
2098
|
A(je, {
|
2099
|
-
onClick:
|
2099
|
+
onClick: te(t),
|
2100
2100
|
variant: "plain",
|
2101
2101
|
color: "secondary",
|
2102
2102
|
"prepend-icon": "mdi-delete"
|
@@ -2564,16 +2564,16 @@ const y0 = /* @__PURE__ */ Te({
|
|
2564
2564
|
size: {}
|
2565
2565
|
},
|
2566
2566
|
setup(r) {
|
2567
|
-
return (e, t) => (x(), Q(
|
2567
|
+
return (e, t) => (x(), Q(te(Kv), { "close-on-content-click": !0 }, {
|
2568
2568
|
activator: k(({ props: n }) => [
|
2569
|
-
A(
|
2569
|
+
A(te(Ma), Et({ variant: e.variant }, n, { icon: "" }), {
|
2570
2570
|
default: k(() => [
|
2571
|
-
e.orientation === "y" ? (x(), Q(
|
2571
|
+
e.orientation === "y" ? (x(), Q(te(Sy), {
|
2572
2572
|
key: 0,
|
2573
2573
|
size: e.size,
|
2574
2574
|
color: `rgb(var(--v-theme-${e.color}))`,
|
2575
2575
|
class: "cursor-pointer"
|
2576
|
-
}, null, 8, ["size", "color"])) : (x(), Q(
|
2576
|
+
}, null, 8, ["size", "color"])) : (x(), Q(te(Iy), {
|
2577
2577
|
key: 1,
|
2578
2578
|
size: e.size,
|
2579
2579
|
color: `rgb(var(--v-theme-${e.color}))`,
|
@@ -2603,16 +2603,16 @@ const y0 = /* @__PURE__ */ Te({
|
|
2603
2603
|
},
|
2604
2604
|
setup(r) {
|
2605
2605
|
const e = r;
|
2606
|
-
return (t, n) => (x(), Q(
|
2606
|
+
return (t, n) => (x(), Q(te(Kv), { "close-on-content-click": !0 }, {
|
2607
2607
|
activator: k(({ props: i }) => [
|
2608
|
-
A(
|
2608
|
+
A(te(Ma), Et({ variant: t.variant }, i, { icon: "" }), {
|
2609
2609
|
default: k(() => [
|
2610
|
-
t.orientation === "y" ? (x(), Q(
|
2610
|
+
t.orientation === "y" ? (x(), Q(te(Sy), {
|
2611
2611
|
key: 0,
|
2612
2612
|
size: t.size,
|
2613
2613
|
color: `rgb(var(--v-theme-${t.color}))`,
|
2614
2614
|
class: "cursor-pointer"
|
2615
|
-
}, null, 8, ["size", "color"])) : (x(), Q(
|
2615
|
+
}, null, 8, ["size", "color"])) : (x(), Q(te(Iy), {
|
2616
2616
|
key: 1,
|
2617
2617
|
size: t.size,
|
2618
2618
|
color: `rgb(var(--v-theme-${t.color}))`,
|
@@ -2623,17 +2623,17 @@ const y0 = /* @__PURE__ */ Te({
|
|
2623
2623
|
}, 1040, ["variant"])
|
2624
2624
|
]),
|
2625
2625
|
default: k(() => [
|
2626
|
-
A(
|
2626
|
+
A(te(vk), null, {
|
2627
2627
|
default: k(() => [
|
2628
2628
|
(x(!0), oe(ht, null, oo(e.options, (i, s) => (x(), oe(ht, { key: s }, [
|
2629
2629
|
i.title ? (x(), oe("div", w0, we(i.title), 1)) : ge("", !0),
|
2630
|
-
i.action ? (x(), Q(
|
2630
|
+
i.action ? (x(), Q(te(yk), {
|
2631
2631
|
key: 1,
|
2632
2632
|
class: "cursor-pointer",
|
2633
2633
|
onClick: i.action
|
2634
2634
|
}, {
|
2635
2635
|
default: k(() => [
|
2636
|
-
A(
|
2636
|
+
A(te(wk), null, {
|
2637
2637
|
default: k(() => [
|
2638
2638
|
H(we(i.name), 1)
|
2639
2639
|
]),
|
@@ -2642,7 +2642,7 @@ const y0 = /* @__PURE__ */ Te({
|
|
2642
2642
|
]),
|
2643
2643
|
_: 2
|
2644
2644
|
}, 1032, ["onClick"])) : ge("", !0),
|
2645
|
-
i.divider ? (x(), Q(
|
2645
|
+
i.divider ? (x(), Q(te(_k), {
|
2646
2646
|
key: 2,
|
2647
2647
|
class: "mt-2"
|
2648
2648
|
})) : ge("", !0)
|
@@ -2663,7 +2663,7 @@ const y0 = /* @__PURE__ */ Te({
|
|
2663
2663
|
},
|
2664
2664
|
setup(r) {
|
2665
2665
|
const e = r;
|
2666
|
-
return (t, n) => (x(), Q(
|
2666
|
+
return (t, n) => (x(), Q(Na, {
|
2667
2667
|
height: t.height,
|
2668
2668
|
loading: t.loading,
|
2669
2669
|
class: "bg-surface rounded-sm pa-5"
|
@@ -2715,7 +2715,7 @@ const y0 = /* @__PURE__ */ Te({
|
|
2715
2715
|
}
|
2716
2716
|
i.value = !1, n.value = !1;
|
2717
2717
|
}
|
2718
|
-
return (h, f) => (x(), Q(
|
2718
|
+
return (h, f) => (x(), Q(dc, {
|
2719
2719
|
scrim: "rgb(0,0,0,100)",
|
2720
2720
|
width: t.width
|
2721
2721
|
}, {
|
@@ -2723,14 +2723,14 @@ const y0 = /* @__PURE__ */ Te({
|
|
2723
2723
|
Se(h.$slots, "button", sk(ck({ isActive: g, props: p })))
|
2724
2724
|
]),
|
2725
2725
|
default: k(({ isActive: g }) => [
|
2726
|
-
A(
|
2726
|
+
A(Na, {
|
2727
2727
|
loading: i.value,
|
2728
2728
|
title: t.title,
|
2729
2729
|
rounded: "",
|
2730
2730
|
"min-height": "300"
|
2731
2731
|
}, {
|
2732
2732
|
prepend: k(() => [
|
2733
|
-
A(
|
2733
|
+
A(te(u0), { color: "rgb(var(--v-theme-secondary))" })
|
2734
2734
|
]),
|
2735
2735
|
append: k(() => [
|
2736
2736
|
A(je, {
|
@@ -2741,7 +2741,7 @@ const y0 = /* @__PURE__ */ Te({
|
|
2741
2741
|
})
|
2742
2742
|
]),
|
2743
2743
|
default: k(() => [
|
2744
|
-
A(
|
2744
|
+
A(Da, { class: "text-center mt-7" }, {
|
2745
2745
|
default: k(() => [
|
2746
2746
|
H(we(t.text), 1)
|
2747
2747
|
]),
|
@@ -2848,7 +2848,7 @@ const y0 = /* @__PURE__ */ Te({
|
|
2848
2848
|
A(Wv, {
|
2849
2849
|
modelValue: e.value,
|
2850
2850
|
"onUpdate:modelValue": c[0] || (c[0] = (u) => e.value = u),
|
2851
|
-
style:
|
2851
|
+
style: za({ top: `${t.value.y}px`, left: `${t.value.x}px`, position: "absolute" })
|
2852
2852
|
}, {
|
2853
2853
|
default: k(() => [
|
2854
2854
|
A(Vv, null, {
|
@@ -2862,14 +2862,14 @@ const y0 = /* @__PURE__ */ Te({
|
|
2862
2862
|
}, 8, ["modelValue", "style"])
|
2863
2863
|
], 32));
|
2864
2864
|
}
|
2865
|
-
}),
|
2865
|
+
}), Ga = (r, e) => {
|
2866
2866
|
const t = r.__vccOpts || r;
|
2867
2867
|
for (const [n, i] of e)
|
2868
2868
|
t[n] = i;
|
2869
2869
|
return t;
|
2870
|
-
}, b0 = /* @__PURE__ */
|
2870
|
+
}, b0 = /* @__PURE__ */ Ga(A0, [["__scopeId", "data-v-a53b15af"]]), S0 = { class: "d-inline-flex" }, I0 = /* @__PURE__ */ Te({
|
2871
2871
|
__name: "UiTable",
|
2872
|
-
props: /* @__PURE__ */
|
2872
|
+
props: /* @__PURE__ */ Pa({
|
2873
2873
|
headers: {},
|
2874
2874
|
items: { default: () => [] },
|
2875
2875
|
actions: {},
|
@@ -2906,7 +2906,7 @@ const y0 = /* @__PURE__ */ Te({
|
|
2906
2906
|
class: "customize-table"
|
2907
2907
|
}, {
|
2908
2908
|
top: k(() => s[1] || (s[1] = [
|
2909
|
-
|
2909
|
+
ne("span", { class: "mt-5" }, null, -1)
|
2910
2910
|
])),
|
2911
2911
|
"item.avatar": k(({ item: c }) => [
|
2912
2912
|
Se(i.$slots, "avatar", { item: c })
|
@@ -2924,7 +2924,7 @@ const y0 = /* @__PURE__ */ Te({
|
|
2924
2924
|
Se(i.$slots, "icon", { item: c })
|
2925
2925
|
]),
|
2926
2926
|
"item.actions": k(({ item: c }) => [
|
2927
|
-
|
2927
|
+
ne("div", S0, [
|
2928
2928
|
Se(i.$slots, "actions", { item: c })
|
2929
2929
|
])
|
2930
2930
|
]),
|
@@ -2947,13 +2947,13 @@ let k0 = {};
|
|
2947
2947
|
function nl() {
|
2948
2948
|
return k0;
|
2949
2949
|
}
|
2950
|
-
function
|
2950
|
+
function Fa(r, e) {
|
2951
2951
|
var u, h, f, g;
|
2952
2952
|
const t = nl(), n = (e == null ? void 0 : e.weekStartsOn) ?? ((h = (u = e == null ? void 0 : e.locale) == null ? void 0 : u.options) == null ? void 0 : h.weekStartsOn) ?? t.weekStartsOn ?? ((g = (f = t.locale) == null ? void 0 : f.options) == null ? void 0 : g.weekStartsOn) ?? 0, i = er(r, e == null ? void 0 : e.in), s = i.getDay(), c = (s < n ? 7 : 0) + s - n;
|
2953
2953
|
return i.setDate(i.getDate() - c), i.setHours(0, 0, 0, 0), i;
|
2954
2954
|
}
|
2955
2955
|
function Nc(r, e) {
|
2956
|
-
return
|
2956
|
+
return Fa(r, { ...e, weekStartsOn: 1 });
|
2957
2957
|
}
|
2958
2958
|
function ky(r, e) {
|
2959
2959
|
const t = er(r, e == null ? void 0 : e.in), n = t.getFullYear(), i = io(t, 0);
|
@@ -3453,18 +3453,18 @@ function Oy(r, e) {
|
|
3453
3453
|
var g, p, y, E;
|
3454
3454
|
const t = er(r, e == null ? void 0 : e.in), n = t.getFullYear(), i = nl(), s = (e == null ? void 0 : e.firstWeekContainsDate) ?? ((p = (g = e == null ? void 0 : e.locale) == null ? void 0 : g.options) == null ? void 0 : p.firstWeekContainsDate) ?? i.firstWeekContainsDate ?? ((E = (y = i.locale) == null ? void 0 : y.options) == null ? void 0 : E.firstWeekContainsDate) ?? 1, c = io((e == null ? void 0 : e.in) || r, 0);
|
3455
3455
|
c.setFullYear(n + 1, 0, s), c.setHours(0, 0, 0, 0);
|
3456
|
-
const u =
|
3456
|
+
const u = Fa(c, e), h = io((e == null ? void 0 : e.in) || r, 0);
|
3457
3457
|
h.setFullYear(n, 0, s), h.setHours(0, 0, 0, 0);
|
3458
|
-
const f =
|
3458
|
+
const f = Fa(h, e);
|
3459
3459
|
return +t >= +u ? n + 1 : +t >= +f ? n : n - 1;
|
3460
3460
|
}
|
3461
3461
|
function mP(r, e) {
|
3462
3462
|
var u, h, f, g;
|
3463
3463
|
const t = nl(), n = (e == null ? void 0 : e.firstWeekContainsDate) ?? ((h = (u = e == null ? void 0 : e.locale) == null ? void 0 : u.options) == null ? void 0 : h.firstWeekContainsDate) ?? t.firstWeekContainsDate ?? ((g = (f = t.locale) == null ? void 0 : f.options) == null ? void 0 : g.firstWeekContainsDate) ?? 1, i = Oy(r, e), s = io((e == null ? void 0 : e.in) || r, 0);
|
3464
|
-
return s.setFullYear(i, 0, n), s.setHours(0, 0, 0, 0),
|
3464
|
+
return s.setFullYear(i, 0, n), s.setHours(0, 0, 0, 0), Fa(s, e);
|
3465
3465
|
}
|
3466
3466
|
function pP(r, e) {
|
3467
|
-
const t = er(r, e == null ? void 0 : e.in), n = +
|
3467
|
+
const t = er(r, e == null ? void 0 : e.in), n = +Fa(t, e) - +mP(t, e);
|
3468
3468
|
return Math.round(n / Ry) + 1;
|
3469
3469
|
}
|
3470
3470
|
function Be(r, e) {
|
@@ -5400,15 +5400,15 @@ function mM(r) {
|
|
5400
5400
|
return console.error("Error formatting date:", n), "";
|
5401
5401
|
}
|
5402
5402
|
}
|
5403
|
-
const pM = {
|
5403
|
+
const wp = "https://app-files.jplan.com.br/pub/resources/assets/thumbs/empty_list.svg", pM = {
|
5404
5404
|
key: 0,
|
5405
5405
|
class: "d-flex mt-4 flex-column align-center justify-center"
|
5406
5406
|
}, vM = {
|
5407
5407
|
key: 1,
|
5408
5408
|
class: "mt-4 rounded-sm"
|
5409
|
-
}, yM = { class: "d-inline-flex" }, wM = { class: "d-inline-flex" }, _M = { class: "d-inline-flex" },
|
5409
|
+
}, yM = { class: "d-inline-flex" }, wM = { class: "d-inline-flex" }, _M = { class: "d-inline-flex" }, CM = /* @__PURE__ */ Te({
|
5410
5410
|
__name: "TableAdvanced",
|
5411
|
-
props: /* @__PURE__ */
|
5411
|
+
props: /* @__PURE__ */ Pa({
|
5412
5412
|
headers: {},
|
5413
5413
|
items: { default: () => [] },
|
5414
5414
|
actions: {},
|
@@ -5446,17 +5446,17 @@ const pM = {
|
|
5446
5446
|
}
|
5447
5447
|
return (g, p) => !g.loading && g.items.length === 0 ? (x(), oe("div", pM, [
|
5448
5448
|
A(fh, {
|
5449
|
-
"lazy-src": wp,
|
5450
|
-
src: wp,
|
5449
|
+
"lazy-src": te(wp),
|
5450
|
+
src: te(wp),
|
5451
5451
|
height: "600",
|
5452
5452
|
width: "600"
|
5453
|
-
}),
|
5454
|
-
p[2] || (p[2] =
|
5453
|
+
}, null, 8, ["lazy-src", "src"]),
|
5454
|
+
p[2] || (p[2] = ne("p", { class: "text-center text-body-1 w-100" }, "No record found.", -1))
|
5455
5455
|
])) : (x(), oe("div", vM, [
|
5456
5456
|
A(Wv, {
|
5457
5457
|
modelValue: s.value,
|
5458
5458
|
"onUpdate:modelValue": p[0] || (p[0] = (y) => s.value = y),
|
5459
|
-
style:
|
5459
|
+
style: za({ top: `${c.value.y}px`, left: `${c.value.x}px`, position: "absolute" })
|
5460
5460
|
}, {
|
5461
5461
|
default: k(() => [
|
5462
5462
|
Se(g.$slots, "contextmenu", {
|
@@ -5501,22 +5501,25 @@ const pM = {
|
|
5501
5501
|
Se(g.$slots, "icon", { item: y })
|
5502
5502
|
]),
|
5503
5503
|
"item.actions": k(({ item: y }) => [
|
5504
|
-
|
5504
|
+
ne("div", yM, [
|
5505
5505
|
Se(g.$slots, "actions", { item: y })
|
5506
5506
|
])
|
5507
5507
|
]),
|
5508
|
+
"no-data": k(() => [
|
5509
|
+
p[3] || (p[3] = ne("p", null, "No results found.", -1))
|
5510
|
+
]),
|
5508
5511
|
_: 2
|
5509
5512
|
}, [
|
5510
5513
|
oo(g.dateFields, (y) => ({
|
5511
5514
|
name: `item.${y}`,
|
5512
5515
|
fn: k(({ item: E }) => [
|
5513
|
-
|
5516
|
+
ne("div", wM, we(te(mM)(E[y])), 1)
|
5514
5517
|
])
|
5515
5518
|
})),
|
5516
5519
|
g.customFields ? {
|
5517
5520
|
name: `item.${customField}`,
|
5518
5521
|
fn: k(({ item: y }) => [
|
5519
|
-
|
5522
|
+
ne("div", _M, [
|
5520
5523
|
Se(g.$slots, customField, { item: y })
|
5521
5524
|
])
|
5522
5525
|
]),
|
@@ -5527,17 +5530,19 @@ const pM = {
|
|
5527
5530
|
}
|
5528
5531
|
}), Ch = /* @__PURE__ */ Te({
|
5529
5532
|
__name: "SearchFilter",
|
5530
|
-
props: {
|
5533
|
+
props: /* @__PURE__ */ Pa({
|
5534
|
+
placeholder: { default: "Search" }
|
5535
|
+
}, {
|
5531
5536
|
search: {},
|
5532
5537
|
searchModifiers: {}
|
5533
|
-
},
|
5538
|
+
}),
|
5534
5539
|
emits: ["update:search"],
|
5535
5540
|
setup(r) {
|
5536
5541
|
const e = Ri(r, "search");
|
5537
5542
|
return (t, n) => (x(), Q(Ak, {
|
5538
5543
|
class: "bg-containerBg pa-1 rounded-sm elevation-1",
|
5539
5544
|
"persistent-placeholder": "",
|
5540
|
-
placeholder:
|
5545
|
+
placeholder: t.placeholder,
|
5541
5546
|
variant: "plain",
|
5542
5547
|
"hide-details": "",
|
5543
5548
|
density: "compact",
|
@@ -5545,17 +5550,17 @@ const pM = {
|
|
5545
5550
|
"onUpdate:modelValue": n[0] || (n[0] = (i) => e.value = i)
|
5546
5551
|
}, {
|
5547
5552
|
"prepend-inner": k(() => [
|
5548
|
-
A(
|
5553
|
+
A(te(p0), {
|
5549
5554
|
size: "15",
|
5550
5555
|
class: "ma-1 me-1"
|
5551
5556
|
})
|
5552
5557
|
]),
|
5553
5558
|
_: 1
|
5554
|
-
}, 8, ["modelValue"]));
|
5559
|
+
}, 8, ["placeholder", "modelValue"]));
|
5555
5560
|
}
|
5556
|
-
}), TM = { class: "d-flex align-center w-100" }, EM = { class: "d-flex align-center" }, AM = { class: "d-flex align-center" }, bM = { class: "d-flex align-center
|
5561
|
+
}), TM = { class: "d-flex align-center w-100" }, EM = { class: "d-flex align-center" }, AM = { class: "d-flex align-center" }, bM = { class: "d-flex align-center me-2" }, SM = /* @__PURE__ */ Te({
|
5557
5562
|
__name: "TableHeader",
|
5558
|
-
props: /* @__PURE__ */
|
5563
|
+
props: /* @__PURE__ */ Pa({
|
5559
5564
|
columns: {}
|
5560
5565
|
}, {
|
5561
5566
|
search: {},
|
@@ -5563,12 +5568,12 @@ const pM = {
|
|
5563
5568
|
columns: {},
|
5564
5569
|
columnsModifiers: {}
|
5565
5570
|
}),
|
5566
|
-
emits: /* @__PURE__ */
|
5571
|
+
emits: /* @__PURE__ */ Pa(["refresh", "remove"], ["update:search", "update:columns"]),
|
5567
5572
|
setup(r, { emit: e }) {
|
5568
5573
|
var h, f;
|
5569
|
-
const t = e, n = Ri(r, "search"), i = Ri(r, "columns"), { openDialog: s } = Xc("col-settings"), c =
|
5574
|
+
const t = e, n = Ri(r, "search"), i = Ri(r, "columns"), { openDialog: s } = Xc("col-settings"), c = Wa(), u = ((h = c == null ? void 0 : c.vnode.props) == null ? void 0 : h.onRemove) !== void 0 || ((f = c == null ? void 0 : c.vnode.props) == null ? void 0 : f["onUpdate:remove"]) !== void 0;
|
5570
5575
|
return (g, p) => (x(), oe(ht, null, [
|
5571
|
-
A(
|
5576
|
+
A(te(Wy), {
|
5572
5577
|
modelValue: i.value,
|
5573
5578
|
"onUpdate:modelValue": p[0] || (p[0] = (y) => i.value = y)
|
5574
5579
|
}, null, 8, ["modelValue"]),
|
@@ -5579,8 +5584,8 @@ const pM = {
|
|
5579
5584
|
default: k(() => [
|
5580
5585
|
A(Ot, { cols: "4" }, {
|
5581
5586
|
default: k(() => [
|
5582
|
-
|
5583
|
-
A(
|
5587
|
+
ne("div", TM, [
|
5588
|
+
A(te(d0), {
|
5584
5589
|
class: "me-2",
|
5585
5590
|
color: "rgb(var(--v-theme-lightprimary))"
|
5586
5591
|
}),
|
@@ -5603,7 +5608,7 @@ const pM = {
|
|
5603
5608
|
variant: "text"
|
5604
5609
|
}, {
|
5605
5610
|
default: k(() => [
|
5606
|
-
A(
|
5611
|
+
A(te(m0), {
|
5607
5612
|
onClick: p[1] || (p[1] = (y) => t("refresh")),
|
5608
5613
|
color: "rgb(var(--v-theme-secondary))"
|
5609
5614
|
})
|
@@ -5616,7 +5621,7 @@ const pM = {
|
|
5616
5621
|
variant: "text"
|
5617
5622
|
}, {
|
5618
5623
|
default: k(() => [
|
5619
|
-
A(
|
5624
|
+
A(te(l0), { color: "rgb(var(--v-theme-secondary))" })
|
5620
5625
|
]),
|
5621
5626
|
_: 1
|
5622
5627
|
})
|
@@ -5626,35 +5631,34 @@ const pM = {
|
|
5626
5631
|
}),
|
5627
5632
|
A(Ot, { cols: "3" }, {
|
5628
5633
|
default: k(() => [
|
5629
|
-
|
5634
|
+
ne("div", EM, [
|
5630
5635
|
Se(g.$slots, "slot", {}, void 0, !0)
|
5631
5636
|
])
|
5632
5637
|
]),
|
5633
5638
|
_: 3
|
5634
5639
|
}),
|
5635
|
-
A(
|
5640
|
+
A(xa),
|
5636
5641
|
A(Ot, {
|
5637
5642
|
cols: "12",
|
5638
5643
|
md: "3",
|
5639
5644
|
class: "d-flex align-center"
|
5640
5645
|
}, {
|
5641
5646
|
default: k(() => [
|
5642
|
-
|
5643
|
-
|
5647
|
+
ne("div", AM, [
|
5648
|
+
ne("div", bM, [
|
5644
5649
|
A(je, {
|
5645
5650
|
icon: "",
|
5646
5651
|
flat: "",
|
5647
|
-
onClick:
|
5652
|
+
onClick: te(s)
|
5648
5653
|
}, {
|
5649
5654
|
default: k(() => [
|
5650
|
-
A(
|
5655
|
+
A(te(g0), { color: "rgb(var(--v-theme-secondary))" })
|
5651
5656
|
]),
|
5652
5657
|
_: 1
|
5653
5658
|
}, 8, ["onClick"])
|
5654
5659
|
])
|
5655
5660
|
]),
|
5656
5661
|
A(Ch, {
|
5657
|
-
class: "me-2",
|
5658
5662
|
modelValue: n.value,
|
5659
5663
|
"onUpdate:modelValue": p[2] || (p[2] = (y) => n.value = y)
|
5660
5664
|
}, null, 8, ["modelValue"])
|
@@ -5673,7 +5677,7 @@ const pM = {
|
|
5673
5677
|
A(Ot, { cols: "auto" }, {
|
5674
5678
|
default: k(() => [
|
5675
5679
|
Se(g.$slots, "left-prepend", {}, void 0, !0),
|
5676
|
-
|
5680
|
+
te(u) ? (x(), Q(te(by), {
|
5677
5681
|
key: 0,
|
5678
5682
|
onRemoveAll: p[3] || (p[3] = (y) => t("remove"))
|
5679
5683
|
})) : ge("", !0),
|
@@ -5681,7 +5685,7 @@ const pM = {
|
|
5681
5685
|
]),
|
5682
5686
|
_: 3
|
5683
5687
|
}),
|
5684
|
-
A(
|
5688
|
+
A(xa),
|
5685
5689
|
A(dr, {
|
5686
5690
|
justify: "end",
|
5687
5691
|
class: "align-center min-h-_JTable-header",
|
@@ -5694,7 +5698,7 @@ const pM = {
|
|
5694
5698
|
class: "d-flex align-center me-2"
|
5695
5699
|
}, {
|
5696
5700
|
default: k(() => [
|
5697
|
-
A(
|
5701
|
+
A(te(v0), {
|
5698
5702
|
class: "me-2",
|
5699
5703
|
color: "rgb(var(--v-theme-secondary))"
|
5700
5704
|
}),
|
@@ -5718,7 +5722,7 @@ const pM = {
|
|
5718
5722
|
class: "d-flex align-center me-2"
|
5719
5723
|
}, {
|
5720
5724
|
default: k(() => [
|
5721
|
-
A(
|
5725
|
+
A(te(f0), {
|
5722
5726
|
class: "me-2",
|
5723
5727
|
color: "rgb(var(--v-theme-secondary))"
|
5724
5728
|
}),
|
@@ -5743,7 +5747,7 @@ const pM = {
|
|
5743
5747
|
})
|
5744
5748
|
], 64));
|
5745
5749
|
}
|
5746
|
-
}), IM = /* @__PURE__ */
|
5750
|
+
}), IM = /* @__PURE__ */ Ga(SM, [["__scopeId", "data-v-b8f20ec5"]]);
|
5747
5751
|
/*!
|
5748
5752
|
* vue-draggable-next v2.2.0
|
5749
5753
|
* (c) 2023 Anish George
|
@@ -5776,13 +5780,13 @@ function pr(r) {
|
|
5776
5780
|
}
|
5777
5781
|
return r;
|
5778
5782
|
}
|
5779
|
-
function
|
5783
|
+
function wc(r) {
|
5780
5784
|
"@babel/helpers - typeof";
|
5781
|
-
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ?
|
5785
|
+
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? wc = function(e) {
|
5782
5786
|
return typeof e;
|
5783
|
-
} :
|
5787
|
+
} : wc = function(e) {
|
5784
5788
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
5785
|
-
},
|
5789
|
+
}, wc(r);
|
5786
5790
|
}
|
5787
5791
|
function RM(r, e, t) {
|
5788
5792
|
return e in r ? Object.defineProperty(r, e, {
|
@@ -5824,7 +5828,7 @@ function Lr(r) {
|
|
5824
5828
|
if (typeof window < "u" && window.navigator)
|
5825
5829
|
return !!/* @__PURE__ */ navigator.userAgent.match(r);
|
5826
5830
|
}
|
5827
|
-
var Br = Lr(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),
|
5831
|
+
var Br = Lr(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), ja = Lr(/Edge/i), Cp = Lr(/firefox/i), Ta = Lr(/safari/i) && !Lr(/chrome/i) && !Lr(/android/i), My = Lr(/iP(ad|od|hone)/i), MM = Lr(/chrome/i) && Lr(/android/i), Ny = {
|
5828
5832
|
capture: !1,
|
5829
5833
|
passive: !1
|
5830
5834
|
};
|
@@ -6095,7 +6099,7 @@ function FM(r, e, t, n) {
|
|
6095
6099
|
}
|
6096
6100
|
var ai = [], td = {
|
6097
6101
|
initializeByDefault: !0
|
6098
|
-
},
|
6102
|
+
}, Ya = {
|
6099
6103
|
mount: function(e) {
|
6100
6104
|
for (var t in td)
|
6101
6105
|
td.hasOwnProperty(t) && !(t in e) && (e[t] = td[t]);
|
@@ -6149,11 +6153,11 @@ function BM(r) {
|
|
6149
6153
|
var e = r.sortable, t = r.rootEl, n = r.name, i = r.targetEl, s = r.cloneEl, c = r.toEl, u = r.fromEl, h = r.oldIndex, f = r.newIndex, g = r.oldDraggableIndex, p = r.newDraggableIndex, y = r.originalEvent, E = r.putSortable, C = r.extraEventProperties;
|
6150
6154
|
if (e = e || t && t[pn], !!e) {
|
6151
6155
|
var S, P = e.options, W = "on" + n.charAt(0).toUpperCase() + n.substr(1);
|
6152
|
-
window.CustomEvent && !Br && !
|
6156
|
+
window.CustomEvent && !Br && !ja ? S = new CustomEvent(n, {
|
6153
6157
|
bubbles: !0,
|
6154
6158
|
cancelable: !0
|
6155
6159
|
}) : (S = document.createEvent("Event"), S.initEvent(n, !0, !0)), S.to = c || t, S.from = u || t, S.item = i || t, S.clone = s, S.oldIndex = h, S.newIndex = f, S.oldDraggableIndex = g, S.newDraggableIndex = p, S.originalEvent = y, S.pullMode = E ? E.lastPutMode : void 0;
|
6156
|
-
var K = pr(pr({}, C),
|
6160
|
+
var K = pr(pr({}, C), Ya.getEventProperties(n, e));
|
6157
6161
|
for (var $ in K)
|
6158
6162
|
S[$] = K[$];
|
6159
6163
|
t && t.dispatchEvent(S), P[W] && P[W].call(e, S);
|
@@ -6161,13 +6165,13 @@ function BM(r) {
|
|
6161
6165
|
}
|
6162
6166
|
var $M = ["evt"], Xt = function(e, t) {
|
6163
6167
|
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = n.evt, s = OM(n, $M);
|
6164
|
-
|
6168
|
+
Ya.pluginEvent.bind(he)(e, t, pr({
|
6165
6169
|
dragEl: V,
|
6166
6170
|
parentEl: rt,
|
6167
6171
|
ghostEl: ye,
|
6168
6172
|
rootEl: Qe,
|
6169
6173
|
nextEl: To,
|
6170
|
-
lastDownEl:
|
6174
|
+
lastDownEl: _c,
|
6171
6175
|
cloneEl: ot,
|
6172
6176
|
cloneHidden: eo,
|
6173
6177
|
dragStarted: ga,
|
@@ -6207,7 +6211,7 @@ function Wt(r) {
|
|
6207
6211
|
newDraggableIndex: Zr
|
6208
6212
|
}, r));
|
6209
6213
|
}
|
6210
|
-
var V, rt, ye, Qe, To,
|
6214
|
+
var V, rt, ye, Qe, To, _c, ot, eo, _i, un, Aa, Zr, Js, kt, mi = !1, xc = !1, Lc = [], yo, qn, nd, rd, bp, Sp, ga, si, ba, Sa = !1, Qs = !1, Cc, Lt, od = [], xd = !1, Uc = [], ol = typeof document < "u", Xs = My, Ip = ja || Br ? "cssFloat" : "float", KM = ol && !MM && !My && "draggable" in document.createElement("div"), Hy = function() {
|
6211
6215
|
if (ol) {
|
6212
6216
|
if (Br)
|
6213
6217
|
return !1;
|
@@ -6255,7 +6259,7 @@ var V, rt, ye, Qe, To, wc, ot, eo, _i, un, Aa, Zr, Ys, kt, mi = !1, xc = !1, Lc
|
|
6255
6259
|
};
|
6256
6260
|
}
|
6257
6261
|
var n = {}, i = e.group;
|
6258
|
-
(!i ||
|
6262
|
+
(!i || wc(i) != "object") && (i = {
|
6259
6263
|
name: i
|
6260
6264
|
}), n.name = i.name, n.checkPull = t(i.pull, !0), n.checkPut = t(i.put), n.revertClone = i.revertClone, e.group = n;
|
6261
6265
|
}, $y = function() {
|
@@ -6330,7 +6334,7 @@ function he(r, e) {
|
|
6330
6334
|
supportPointer: he.supportPointer !== !1 && "PointerEvent" in window && !Ta,
|
6331
6335
|
emptyInsertThreshold: 5
|
6332
6336
|
};
|
6333
|
-
|
6337
|
+
Ya.initializePlugins(this, r, t);
|
6334
6338
|
for (var n in t)
|
6335
6339
|
!(n in e) && (e[n] = t[n]);
|
6336
6340
|
By(e);
|
@@ -6350,7 +6354,7 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6350
6354
|
_onTapStart: function(e) {
|
6351
6355
|
if (e.cancelable) {
|
6352
6356
|
var t = this, n = this.el, i = this.options, s = i.preventOnFilter, c = e.type, u = e.touches && e.touches[0] || e.pointerType && e.pointerType === "touch" && e, h = (u || e).target, f = e.target.shadowRoot && (e.path && e.path[0] || e.composedPath && e.composedPath()[0]) || h, g = i.filter;
|
6353
|
-
if (ZM(n), !V && !(/mousedown|pointerdown/.test(c) && e.button !== 0 || i.disabled) && !f.isContentEditable && !(!this.nativeDraggable && Ta && h && h.tagName.toUpperCase() === "SELECT") && (h = sr(h, i.draggable, n, !1), !(h && h.animated) &&
|
6357
|
+
if (ZM(n), !V && !(/mousedown|pointerdown/.test(c) && e.button !== 0 || i.disabled) && !f.isContentEditable && !(!this.nativeDraggable && Ta && h && h.tagName.toUpperCase() === "SELECT") && (h = sr(h, i.draggable, n, !1), !(h && h.animated) && _c !== h)) {
|
6354
6358
|
if (_i = Ln(h), Aa = Ln(h, i.draggable), typeof g == "function") {
|
6355
6359
|
if (g.call(this, e, h, this)) {
|
6356
6360
|
Wt({
|
@@ -6389,7 +6393,7 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6389
6393
|
var i = this, s = i.el, c = i.options, u = s.ownerDocument, h;
|
6390
6394
|
if (n && !V && n.parentNode === s) {
|
6391
6395
|
var f = vt(n);
|
6392
|
-
if (Qe = s, V = n, rt = V.parentNode, To = V.nextSibling,
|
6396
|
+
if (Qe = s, V = n, rt = V.parentNode, To = V.nextSibling, _c = n, Js = c.group, he.dragged = V, yo = {
|
6393
6397
|
target: V,
|
6394
6398
|
clientX: (t || e).clientX,
|
6395
6399
|
clientY: (t || e).clientY
|
@@ -6409,7 +6413,7 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6409
6413
|
Dy(V, g.trim(), id);
|
6410
6414
|
}), Le(u, "dragover", wo), Le(u, "mousemove", wo), Le(u, "touchmove", wo), Le(u, "mouseup", i._onDrop), Le(u, "touchend", i._onDrop), Le(u, "touchcancel", i._onDrop), Cp && this.nativeDraggable && (this.options.touchStartThreshold = 4, V.draggable = !0), Xt("delayStart", this, {
|
6411
6415
|
evt: e
|
6412
|
-
}), c.delay && (!c.delayOnTouchOnly || t) && (!this.nativeDraggable || !(
|
6416
|
+
}), c.delay && (!c.delayOnTouchOnly || t) && (!this.nativeDraggable || !(ja || Br))) {
|
6413
6417
|
if (he.eventCanceled) {
|
6414
6418
|
this._onDrop();
|
6415
6419
|
return;
|
@@ -6433,7 +6437,7 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6433
6437
|
_triggerDragStart: function(e, t) {
|
6434
6438
|
t = t || e.pointerType == "touch" && e, !this.nativeDraggable || t ? this.options.supportPointer ? Le(document, "pointermove", this._onTouchMove) : t ? Le(document, "touchmove", this._onTouchMove) : Le(document, "mousemove", this._onTouchMove) : (Le(V, "dragend", this), Le(Qe, "dragstart", this._onDragStart));
|
6435
6439
|
try {
|
6436
|
-
document.selection ?
|
6440
|
+
document.selection ? Tc(function() {
|
6437
6441
|
document.selection.empty();
|
6438
6442
|
}) : window.getSelection().removeAllRanges();
|
6439
6443
|
} catch {
|
@@ -6477,7 +6481,7 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6477
6481
|
},
|
6478
6482
|
_onTouchMove: function(e) {
|
6479
6483
|
if (yo) {
|
6480
|
-
var t = this.options, n = t.fallbackTolerance, i = t.fallbackOffset, s = e.touches ? e.touches[0] : e, c = ye && Ai(ye, !0), u = ye && c && c.a, h = ye && c && c.d, f =
|
6484
|
+
var t = this.options, n = t.fallbackTolerance, i = t.fallbackOffset, s = e.touches ? e.touches[0] : e, c = ye && Ai(ye, !0), u = ye && c && c.a, h = ye && c && c.d, f = Xs && Lt && Ap(Lt), g = (s.clientX - yo.clientX + i.x) / (u || 1) + (f ? f[0] - od[0] : 0) / (u || 1), p = (s.clientY - yo.clientY + i.y) / (h || 1) + (f ? f[1] - od[1] : 0) / (h || 1);
|
6481
6485
|
if (!he.active && !mi) {
|
6482
6486
|
if (n && Math.max(Math.abs(s.clientX - this._lastX), Math.abs(s.clientY - this._lastY)) < n)
|
6483
6487
|
return;
|
@@ -6500,13 +6504,13 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6500
6504
|
},
|
6501
6505
|
_appendGhost: function() {
|
6502
6506
|
if (!ye) {
|
6503
|
-
var e = this.options.fallbackOnBody ? document.body : Qe, t = vt(V, !0,
|
6504
|
-
if (
|
6507
|
+
var e = this.options.fallbackOnBody ? document.body : Qe, t = vt(V, !0, Xs, !0, e), n = this.options;
|
6508
|
+
if (Xs) {
|
6505
6509
|
for (Lt = e; de(Lt, "position") === "static" && de(Lt, "transform") === "none" && Lt !== document; )
|
6506
6510
|
Lt = Lt.parentNode;
|
6507
6511
|
Lt !== document.body && Lt !== document.documentElement ? (Lt === document && (Lt = gr()), t.top += Lt.scrollTop, t.left += Lt.scrollLeft) : Lt = gr(), od = Ap(Lt);
|
6508
6512
|
}
|
6509
|
-
ye = V.cloneNode(!0), ln(ye, n.ghostClass, !1), ln(ye, n.fallbackClass, !0), ln(ye, n.dragClass, !0), de(ye, "transition", ""), de(ye, "transform", ""), de(ye, "box-sizing", "border-box"), de(ye, "margin", 0), de(ye, "top", t.top), de(ye, "left", t.left), de(ye, "width", t.width), de(ye, "height", t.height), de(ye, "opacity", "0.8"), de(ye, "position",
|
6513
|
+
ye = V.cloneNode(!0), ln(ye, n.ghostClass, !1), ln(ye, n.fallbackClass, !0), ln(ye, n.dragClass, !0), de(ye, "transition", ""), de(ye, "transform", ""), de(ye, "box-sizing", "border-box"), de(ye, "margin", 0), de(ye, "top", t.top), de(ye, "left", t.left), de(ye, "width", t.width), de(ye, "height", t.height), de(ye, "opacity", "0.8"), de(ye, "position", Xs ? "absolute" : "fixed"), de(ye, "zIndex", "100000"), de(ye, "pointerEvents", "none"), he.ghost = ye, e.appendChild(ye), de(ye, "transform-origin", bp / parseInt(ye.style.width) * 100 + "% " + Sp / parseInt(ye.style.height) * 100 + "%");
|
6510
6514
|
}
|
6511
6515
|
},
|
6512
6516
|
_onDragStart: function(e, t) {
|
@@ -6517,16 +6521,16 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6517
6521
|
this._onDrop();
|
6518
6522
|
return;
|
6519
6523
|
}
|
6520
|
-
Xt("setupClone", this), he.eventCanceled || (ot = Uy(V), ot.draggable = !1, ot.style["will-change"] = "", this._hideClone(), ln(ot, this.options.chosenClass, !1), he.clone = ot), n.cloneId =
|
6524
|
+
Xt("setupClone", this), he.eventCanceled || (ot = Uy(V), ot.draggable = !1, ot.style["will-change"] = "", this._hideClone(), ln(ot, this.options.chosenClass, !1), he.clone = ot), n.cloneId = Tc(function() {
|
6521
6525
|
Xt("clone", n), !he.eventCanceled && (n.options.removeCloneOnHide || Qe.insertBefore(ot, V), n._hideClone(), Wt({
|
6522
6526
|
sortable: n,
|
6523
6527
|
name: "clone"
|
6524
6528
|
}));
|
6525
|
-
}), !t && ln(V, s.dragClass, !0), t ? (xc = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (Pe(document, "mouseup", n._onDrop), Pe(document, "touchend", n._onDrop), Pe(document, "touchcancel", n._onDrop), i && (i.effectAllowed = "move", s.setData && s.setData.call(n, i, V)), Le(document, "drop", n), de(V, "transform", "translateZ(0)")), mi = !0, n._dragStartId =
|
6529
|
+
}), !t && ln(V, s.dragClass, !0), t ? (xc = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (Pe(document, "mouseup", n._onDrop), Pe(document, "touchend", n._onDrop), Pe(document, "touchcancel", n._onDrop), i && (i.effectAllowed = "move", s.setData && s.setData.call(n, i, V)), Le(document, "drop", n), de(V, "transform", "translateZ(0)")), mi = !0, n._dragStartId = Tc(n._dragStarted.bind(n, t, e)), Le(document, "selectstart", n), ga = !0, Ta && de(document.body, "user-select", "none");
|
6526
6530
|
},
|
6527
6531
|
// Returns true - if no further action is needed (either inserted or another condition)
|
6528
6532
|
_onDragOver: function(e) {
|
6529
|
-
var t = this.el, n = e.target, i, s, c, u = this.options, h = u.group, f = he.active, g =
|
6533
|
+
var t = this.el, n = e.target, i, s, c, u = this.options, h = u.group, f = he.active, g = Js === h, p = u.sort, y = kt || f, E, C = this, S = !1;
|
6530
6534
|
if (xd) return;
|
6531
6535
|
function P(ct, Nt) {
|
6532
6536
|
Xt(ct, C, pr({
|
@@ -6541,7 +6545,7 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6541
6545
|
target: n,
|
6542
6546
|
completed: K,
|
6543
6547
|
onMove: function(tn, bl) {
|
6544
|
-
return
|
6548
|
+
return Zs(Qe, t, V, i, tn, vt(tn), e, bl);
|
6545
6549
|
},
|
6546
6550
|
changed: $
|
6547
6551
|
}, Nt));
|
@@ -6569,7 +6573,7 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6569
6573
|
if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), n = sr(n, u.draggable, t, !0), P("dragOver"), he.eventCanceled) return S;
|
6570
6574
|
if (V.contains(e.target) || n.animated && n.animatingX && n.animatingY || C._ignoreWhileAnimating === n)
|
6571
6575
|
return K(!1);
|
6572
|
-
if (xc = !1, f && !u.disabled && (g ? p || (c = rt !== Qe) : kt === this || (this.lastPutMode =
|
6576
|
+
if (xc = !1, f && !u.disabled && (g ? p || (c = rt !== Qe) : kt === this || (this.lastPutMode = Js.checkPull(this, f, V, e)) && h.checkPut(this, f, V, e))) {
|
6573
6577
|
if (E = this._getDirection(e, n) === "vertical", i = vt(V), P("dragOverValid"), he.eventCanceled) return S;
|
6574
6578
|
if (c)
|
6575
6579
|
return rt = Qe, W(), this._hideClone(), P("revert"), he.eventCanceled || (To ? Qe.insertBefore(V, To) : Qe.appendChild(V)), K(!0);
|
@@ -6577,18 +6581,18 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6577
6581
|
if (!ie || YM(e, E, this) && !ie.animated) {
|
6578
6582
|
if (ie === V)
|
6579
6583
|
return K(!1);
|
6580
|
-
if (ie && t === e.target && (n = ie), n && (s = vt(n)),
|
6584
|
+
if (ie && t === e.target && (n = ie), n && (s = vt(n)), Zs(Qe, t, V, i, n, s, e, !!n) !== !1)
|
6581
6585
|
return W(), t.appendChild(V), rt = t, $(), K(!0);
|
6582
6586
|
} else if (ie && jM(e, E, this)) {
|
6583
6587
|
var pe = Oi(t, 0, u, !0);
|
6584
6588
|
if (pe === V)
|
6585
6589
|
return K(!1);
|
6586
|
-
if (n = pe, s = vt(n),
|
6590
|
+
if (n = pe, s = vt(n), Zs(Qe, t, V, i, n, s, e, !1) !== !1)
|
6587
6591
|
return W(), t.insertBefore(V, pe), rt = t, $(), K(!0);
|
6588
6592
|
} else if (n.parentNode === t) {
|
6589
6593
|
s = vt(n);
|
6590
6594
|
var Me = 0, G, ft = V.parentNode !== t, Ne = !zM(V.animated && V.toRect || i, n.animated && n.toRect || s, E), X = E ? "top" : "left", Y = Ep(n, "top", "top") || Ep(V, "top", "top"), De = Y ? Y.scrollTop : void 0;
|
6591
|
-
si !== n && (G = s[X], Sa = !1,
|
6595
|
+
si !== n && (G = s[X], Sa = !1, Qs = !Ne && u.invertSwap || ft), Me = JM(e, n, s, E, Ne ? 1 : u.swapThreshold, u.invertedSwapThreshold == null ? u.swapThreshold : u.invertedSwapThreshold, Qs, si === n);
|
6592
6596
|
var Ye;
|
6593
6597
|
if (Me !== 0) {
|
6594
6598
|
var Mt = Ln(V);
|
@@ -6601,9 +6605,9 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6601
6605
|
si = n, ba = Me;
|
6602
6606
|
var Fn = n.nextElementSibling, wn = !1;
|
6603
6607
|
wn = Me === 1;
|
6604
|
-
var Gt =
|
6608
|
+
var Gt = Zs(Qe, t, V, i, n, s, e, wn);
|
6605
6609
|
if (Gt !== !1)
|
6606
|
-
return (Gt === 1 || Gt === -1) && (wn = Gt === 1), xd = !0, setTimeout(GM, 30), W(), wn && !Fn ? t.appendChild(V) : n.parentNode.insertBefore(V, wn ? Fn : n), Y && Ly(Y, 0, De - Y.scrollTop), rt = V.parentNode, G !== void 0 && !
|
6610
|
+
return (Gt === 1 || Gt === -1) && (wn = Gt === 1), xd = !0, setTimeout(GM, 30), W(), wn && !Fn ? t.appendChild(V) : n.parentNode.insertBefore(V, wn ? Fn : n), Y && Ly(Y, 0, De - Y.scrollTop), rt = V.parentNode, G !== void 0 && !Qs && (Cc = Math.abs(G - vt(n)[X])), $(), K(!0);
|
6607
6611
|
}
|
6608
6612
|
if (t.contains(V))
|
6609
6613
|
return K(!1);
|
@@ -6626,7 +6630,7 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6626
6630
|
this._nulling();
|
6627
6631
|
return;
|
6628
6632
|
}
|
6629
|
-
mi = !1,
|
6633
|
+
mi = !1, Qs = !1, Sa = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Ld(this.cloneId), Ld(this._dragStartId), this.nativeDraggable && (Pe(document, "drop", this), Pe(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Ta && de(document.body, "user-select", ""), de(V, "transform", ""), e && (ga && (e.cancelable && e.preventDefault(), !n.dropBubble && e.stopPropagation()), ye && ye.parentNode && ye.parentNode.removeChild(ye), (Qe === rt || kt && kt.lastPutMode !== "clone") && ot && ot.parentNode && ot.parentNode.removeChild(ot), V && (this.nativeDraggable && Pe(V, "dragend", this), id(V), V.style["will-change"] = "", ga && !mi && ln(V, kt ? kt.options.ghostClass : this.options.ghostClass, !1), ln(V, this.options.chosenClass, !1), Wt({
|
6630
6634
|
sortable: this,
|
6631
6635
|
name: "unchoose",
|
6632
6636
|
toEl: rt,
|
@@ -6673,7 +6677,7 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6673
6677
|
}), this.save()))), this._nulling();
|
6674
6678
|
},
|
6675
6679
|
_nulling: function() {
|
6676
|
-
Xt("nulling", this), Qe = V = rt = ye = To = ot =
|
6680
|
+
Xt("nulling", this), Qe = V = rt = ye = To = ot = _c = eo = yo = qn = ga = un = Zr = _i = Aa = si = ba = kt = Js = he.dragged = he.ghost = he.clone = he.active = null, Uc.forEach(function(e) {
|
6677
6681
|
e.checked = !0;
|
6678
6682
|
}), Uc.length = nd = rd = 0;
|
6679
6683
|
},
|
@@ -6740,7 +6744,7 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6740
6744
|
var n = this.options;
|
6741
6745
|
if (t === void 0)
|
6742
6746
|
return n[e];
|
6743
|
-
var i =
|
6747
|
+
var i = Ya.modifyOption(this, e, t);
|
6744
6748
|
typeof i < "u" ? n[e] = i : n[e] = t, e === "group" && By(n);
|
6745
6749
|
},
|
6746
6750
|
/**
|
@@ -6773,9 +6777,9 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6773
6777
|
function qM(r) {
|
6774
6778
|
r.dataTransfer && (r.dataTransfer.dropEffect = "move"), r.cancelable && r.preventDefault();
|
6775
6779
|
}
|
6776
|
-
function
|
6780
|
+
function Zs(r, e, t, n, i, s, c, u) {
|
6777
6781
|
var h, f = r[pn], g = f.options.onMove, p;
|
6778
|
-
return window.CustomEvent && !Br && !
|
6782
|
+
return window.CustomEvent && !Br && !ja ? h = new CustomEvent("move", {
|
6779
6783
|
bubbles: !0,
|
6780
6784
|
cancelable: !0
|
6781
6785
|
}) : (h = document.createEvent("Event"), h.initEvent("move", !0, !0)), h.to = e, h.from = r, h.dragged = t, h.draggedRect = n, h.related = i || e, h.relatedRect = s || vt(e), h.willInsertAfter = u, h.originalEvent = c, r.dispatchEvent(h), g && (p = g.call(f, h, c)), p;
|
@@ -6797,10 +6801,10 @@ function YM(r, e, t) {
|
|
6797
6801
|
function JM(r, e, t, n, i, s, c, u) {
|
6798
6802
|
var h = n ? r.clientY : r.clientX, f = n ? t.height : t.width, g = n ? t.top : t.left, p = n ? t.bottom : t.right, y = !1;
|
6799
6803
|
if (!c) {
|
6800
|
-
if (u &&
|
6804
|
+
if (u && Cc < f * i) {
|
6801
6805
|
if (!Sa && (ba === 1 ? h > g + f * s / 2 : h < p - f * s / 2) && (Sa = !0), Sa)
|
6802
6806
|
y = !0;
|
6803
|
-
else if (ba === 1 ? h < g +
|
6807
|
+
else if (ba === 1 ? h < g + Cc : h > p - Cc)
|
6804
6808
|
return -ba;
|
6805
6809
|
} else if (h > g + f * (1 - i) / 2 && h < p - f * (1 - i) / 2)
|
6806
6810
|
return QM(e);
|
@@ -6822,7 +6826,7 @@ function ZM(r) {
|
|
6822
6826
|
n.checked && Uc.push(n);
|
6823
6827
|
}
|
6824
6828
|
}
|
6825
|
-
function
|
6829
|
+
function Tc(r) {
|
6826
6830
|
return setTimeout(r, 0);
|
6827
6831
|
}
|
6828
6832
|
function Ld(r) {
|
@@ -6845,7 +6849,7 @@ he.utils = {
|
|
6845
6849
|
toggleClass: ln,
|
6846
6850
|
clone: Uy,
|
6847
6851
|
index: Ln,
|
6848
|
-
nextTick:
|
6852
|
+
nextTick: Tc,
|
6849
6853
|
cancelNextTick: Ld,
|
6850
6854
|
detectDirection: Fy,
|
6851
6855
|
getChild: Oi
|
@@ -6859,7 +6863,7 @@ he.mount = function() {
|
|
6859
6863
|
e[0].constructor === Array && (e = e[0]), e.forEach(function(n) {
|
6860
6864
|
if (!n.prototype || !n.prototype.constructor)
|
6861
6865
|
throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(n));
|
6862
|
-
n.utils && (he.utils = pr(pr({}, he.utils), n.utils)),
|
6866
|
+
n.utils && (he.utils = pr(pr({}, he.utils), n.utils)), Ya.mount(n);
|
6863
6867
|
});
|
6864
6868
|
};
|
6865
6869
|
he.create = function(r, e) {
|
@@ -6889,7 +6893,7 @@ function eN() {
|
|
6889
6893
|
!this.options.dragOverBubble && !n.rootEl && this._handleAutoScroll(n);
|
6890
6894
|
},
|
6891
6895
|
drop: function() {
|
6892
|
-
this.sortable.nativeDraggable ? Pe(document, "dragover", this._handleAutoScroll) : (Pe(document, "pointermove", this._handleFallbackAutoScroll), Pe(document, "touchmove", this._handleFallbackAutoScroll), Pe(document, "mousemove", this._handleFallbackAutoScroll)), Rp(),
|
6896
|
+
this.sortable.nativeDraggable ? Pe(document, "dragover", this._handleAutoScroll) : (Pe(document, "pointermove", this._handleFallbackAutoScroll), Pe(document, "touchmove", this._handleFallbackAutoScroll), Pe(document, "mousemove", this._handleFallbackAutoScroll)), Rp(), Ec(), LM();
|
6893
6897
|
},
|
6894
6898
|
nulling: function() {
|
6895
6899
|
Hc = Ud = ma = Hd = pa = ad = sd = null, lt.length = 0;
|
@@ -6899,16 +6903,16 @@ function eN() {
|
|
6899
6903
|
},
|
6900
6904
|
_handleAutoScroll: function(t, n) {
|
6901
6905
|
var i = this, s = (t.touches ? t.touches[0] : t).clientX, c = (t.touches ? t.touches[0] : t).clientY, u = document.elementFromPoint(s, c);
|
6902
|
-
if (Hc = t, n || this.options.forceAutoScrollFallback ||
|
6906
|
+
if (Hc = t, n || this.options.forceAutoScrollFallback || ja || Br || Ta) {
|
6903
6907
|
cd(t, this.options, u, n);
|
6904
6908
|
var h = no(u, !0);
|
6905
6909
|
Hd && (!pa || s !== ad || c !== sd) && (pa && Rp(), pa = setInterval(function() {
|
6906
6910
|
var f = no(document.elementFromPoint(s, c), !0);
|
6907
|
-
f !== h && (h = f,
|
6911
|
+
f !== h && (h = f, Ec()), cd(t, i.options, f, n);
|
6908
6912
|
}, 10), ad = s, sd = c);
|
6909
6913
|
} else {
|
6910
6914
|
if (!this.options.bubbleScroll || no(u, !0) === gr()) {
|
6911
|
-
|
6915
|
+
Ec();
|
6912
6916
|
return;
|
6913
6917
|
}
|
6914
6918
|
cd(t, this.options, no(u, !1), !1);
|
@@ -6919,7 +6923,7 @@ function eN() {
|
|
6919
6923
|
initializeByDefault: !0
|
6920
6924
|
});
|
6921
6925
|
}
|
6922
|
-
function
|
6926
|
+
function Ec() {
|
6923
6927
|
lt.forEach(function(r) {
|
6924
6928
|
clearInterval(r.pid);
|
6925
6929
|
}), lt = [];
|
@@ -6930,7 +6934,7 @@ function Rp() {
|
|
6930
6934
|
var cd = xy(function(r, e, t, n) {
|
6931
6935
|
if (e.scroll) {
|
6932
6936
|
var i = (r.touches ? r.touches[0] : r).clientX, s = (r.touches ? r.touches[0] : r).clientY, c = e.scrollSensitivity, u = e.scrollSpeed, h = gr(), f = !1, g;
|
6933
|
-
Ud !== t && (Ud = t,
|
6937
|
+
Ud !== t && (Ud = t, Ec(), ma = e.scroll, g = e.scrollFn, ma === !0 && (ma = no(t, !0)));
|
6934
6938
|
var p = 0, y = ma;
|
6935
6939
|
do {
|
6936
6940
|
var E = y, C = vt(E), S = C.top, P = C.bottom, W = C.left, K = C.right, $ = C.width, ie = C.height, pe = void 0, Me = void 0, G = E.scrollWidth, ft = E.scrollHeight, Ne = de(E), X = E.scrollLeft, Y = E.scrollTop;
|
@@ -7305,19 +7309,19 @@ const hN = {
|
|
7305
7309
|
}, null, 8, ["modelValue"]),
|
7306
7310
|
A(Vv, null, {
|
7307
7311
|
default: k(() => [
|
7308
|
-
A(
|
7312
|
+
A(te(fN), {
|
7309
7313
|
list: e.value,
|
7310
7314
|
animation: 200,
|
7311
7315
|
"ghost-class": "ghost-card"
|
7312
7316
|
}, {
|
7313
7317
|
default: k(() => [
|
7314
|
-
(x(!0), oe(ht, null, oo(e.value, (c) => (x(), Q(
|
7318
|
+
(x(!0), oe(ht, null, oo(e.value, (c) => (x(), Q(hc, {
|
7315
7319
|
key: c.key,
|
7316
7320
|
class: "pa-0"
|
7317
7321
|
}, {
|
7318
7322
|
default: k(() => [
|
7319
|
-
|
7320
|
-
A(
|
7323
|
+
ne("div", gN, [
|
7324
|
+
A(te(h0), { class: "cursor-grab mb-2" }),
|
7321
7325
|
A(Ek, null, {
|
7322
7326
|
default: k(() => [
|
7323
7327
|
A(bk, {
|
@@ -7329,7 +7333,7 @@ const hN = {
|
|
7329
7333
|
}, 1024),
|
7330
7334
|
A(s, null, {
|
7331
7335
|
default: k(() => [
|
7332
|
-
A(
|
7336
|
+
A(fc, { class: "mb-1" }, {
|
7333
7337
|
default: k(() => [
|
7334
7338
|
H(we(c.title) + " ", 1)
|
7335
7339
|
]),
|
@@ -7387,7 +7391,7 @@ const hN = {
|
|
7387
7391
|
var i;
|
7388
7392
|
return ((i = e.columns.find((s) => s.isSubtitle)) == null ? void 0 : i.key) || "";
|
7389
7393
|
};
|
7390
|
-
return (i, s) => (x(), Q(
|
7394
|
+
return (i, s) => (x(), Q(Na, {
|
7391
7395
|
onClick: i.callback,
|
7392
7396
|
ripple: "",
|
7393
7397
|
class: "d-flex flex-column pa-4pa-4 bg-containerBg"
|
@@ -7432,14 +7436,14 @@ const hN = {
|
|
7432
7436
|
t() ? (x(), oe("div", pN, we(i.item[t()]), 1)) : ge("", !0),
|
7433
7437
|
n() ? (x(), oe("div", vN, we(i.item[n()]), 1)) : ge("", !0),
|
7434
7438
|
A(Po, { class: "ma-3" }),
|
7435
|
-
A(
|
7439
|
+
A(Da, { class: "d-flex flex-column align-center pa-4 pt-1" }, {
|
7436
7440
|
default: k(() => [
|
7437
7441
|
(x(!0), oe(ht, null, oo(i.columns, (c) => (x(), oe(ht, {
|
7438
7442
|
key: c.key
|
7439
7443
|
}, [
|
7440
7444
|
i.item[c.key] && !c.isHeader && !c.isSubtitle ? (x(), oe("div", yN, we(c.title) + ": " + we(i.item[c.key]), 1)) : ge("", !0)
|
7441
7445
|
], 64))), 128)),
|
7442
|
-
|
7446
|
+
ne("div", wN, [
|
7443
7447
|
i.tags ? (x(!0), oe(ht, { key: 0 }, oo(i.tags, (c) => (x(), Q(Sk, {
|
7444
7448
|
class: "pa-3",
|
7445
7449
|
key: c
|
@@ -7497,7 +7501,7 @@ const hN = {
|
|
7497
7501
|
_: 3
|
7498
7502
|
}));
|
7499
7503
|
}
|
7500
|
-
}), CN = /* @__PURE__ */
|
7504
|
+
}), CN = /* @__PURE__ */ Ga(_N, [["__scopeId", "data-v-e1a4ccbc"]]), TN = { class: "j-field px-4 py-3 rounded-sm bg-containerBg" }, Gy = /* @__PURE__ */ Te({
|
7501
7505
|
__name: "ReadOnlyField",
|
7502
7506
|
props: {
|
7503
7507
|
value: {}
|
@@ -7524,7 +7528,7 @@ const hN = {
|
|
7524
7528
|
const t = r, n = e, i = Pt(() => t.readonly ? "solo" : "solo-filled");
|
7525
7529
|
return (s, c) => (x(), oe("div", null, [
|
7526
7530
|
s.name ? (x(), oe("p", EN, we(s.name), 1)) : ge("", !0),
|
7527
|
-
s.label ? (x(), Q(
|
7531
|
+
s.label ? (x(), Q(La, {
|
7528
7532
|
key: 1,
|
7529
7533
|
class: "text-subtitle-1 text-high-emphasis mb-2"
|
7530
7534
|
}, {
|
@@ -7533,7 +7537,7 @@ const hN = {
|
|
7533
7537
|
]),
|
7534
7538
|
_: 1
|
7535
7539
|
})) : ge("", !0),
|
7536
|
-
s.readonly ? ge("", !0) : (x(), Q(
|
7540
|
+
s.readonly ? ge("", !0) : (x(), Q(te(Ck), {
|
7537
7541
|
key: 2,
|
7538
7542
|
variant: i.value,
|
7539
7543
|
color: "secondary",
|
@@ -7581,18 +7585,18 @@ const hN = {
|
|
7581
7585
|
class: "pa-2"
|
7582
7586
|
}, {
|
7583
7587
|
default: k(() => [
|
7584
|
-
|
7585
|
-
|
7586
|
-
|
7587
|
-
|
7588
|
+
ne("p", SN, [
|
7589
|
+
ne("b", IN, we(e.id.title) + ": ", 1),
|
7590
|
+
ne("span", RN, we(e.id.key || "-"), 1),
|
7591
|
+
ne("span", null, [
|
7588
7592
|
A(gh, {
|
7589
7593
|
"content-to-copy": e.id.key,
|
7590
7594
|
size: 15
|
7591
7595
|
}, null, 8, ["content-to-copy"])
|
7592
7596
|
])
|
7593
7597
|
]),
|
7594
|
-
|
7595
|
-
t[0] || (t[0] =
|
7598
|
+
ne("p", null, [
|
7599
|
+
t[0] || (t[0] = ne("b", null, "Created: ", -1)),
|
7596
7600
|
H(we(e.meta.created_at) + " - " + we(e.meta.created_by), 1)
|
7597
7601
|
])
|
7598
7602
|
]),
|
@@ -7604,14 +7608,14 @@ const hN = {
|
|
7604
7608
|
}, {
|
7605
7609
|
default: k(() => [
|
7606
7610
|
e.meta.updated_at && e.meta.updated_by ? (x(), oe("p", kN, [
|
7607
|
-
t[1] || (t[1] =
|
7611
|
+
t[1] || (t[1] = ne("b", null, "Updated: ", -1)),
|
7608
7612
|
H(we(e.meta.updated_at) + " - " + we(e.meta.updated_by), 1)
|
7609
7613
|
])) : (x(), oe("p", ON, [
|
7610
|
-
t[2] || (t[2] =
|
7614
|
+
t[2] || (t[2] = ne("b", null, "Modified: ", -1)),
|
7611
7615
|
H(we(e.meta.modified_at) + " - " + we(e.meta.modified_by), 1)
|
7612
7616
|
])),
|
7613
|
-
|
7614
|
-
t[3] || (t[3] =
|
7617
|
+
ne("p", PN, [
|
7618
|
+
t[3] || (t[3] = ne("b", null, "Delegated: ", -1)),
|
7615
7619
|
H(we(e.meta.delegated_at) + " - " + we(e.meta.delegated_by), 1)
|
7616
7620
|
])
|
7617
7621
|
]),
|
@@ -7656,7 +7660,7 @@ const hN = {
|
|
7656
7660
|
};
|
7657
7661
|
return (u, h) => (x(), oe(ht, null, [
|
7658
7662
|
u.name ? (x(), oe("p", MN, we(u.name), 1)) : ge("", !0),
|
7659
|
-
u.label ? (x(), Q(
|
7663
|
+
u.label ? (x(), Q(La, {
|
7660
7664
|
key: 1,
|
7661
7665
|
class: "text-subtitle-1 text-high-emphasis mb-2"
|
7662
7666
|
}, {
|
@@ -7668,7 +7672,7 @@ const hN = {
|
|
7668
7672
|
u.readonly ? (x(), Q(Gy, {
|
7669
7673
|
key: 3,
|
7670
7674
|
value: s.value
|
7671
|
-
}, null, 8, ["value"])) : (x(), Q(
|
7675
|
+
}, null, 8, ["value"])) : (x(), Q(te(Tk), {
|
7672
7676
|
key: 2,
|
7673
7677
|
modelValue: t.modelValue,
|
7674
7678
|
"onUpdate:modelValue": [
|
@@ -7710,7 +7714,7 @@ const hN = {
|
|
7710
7714
|
const t = r, n = e, i = Pt(() => t.readonly ? "solo" : "solo-filled");
|
7711
7715
|
return (s, c) => (x(), oe(ht, null, [
|
7712
7716
|
s.name ? (x(), oe("p", DN, we(s.name), 1)) : ge("", !0),
|
7713
|
-
s.label ? (x(), Q(
|
7717
|
+
s.label ? (x(), Q(La, {
|
7714
7718
|
key: 1,
|
7715
7719
|
class: "text-subtitle-1 text-high-emphasis mb-2"
|
7716
7720
|
}, {
|
@@ -7797,10 +7801,10 @@ const hN = {
|
|
7797
7801
|
}, {
|
7798
7802
|
default: k(() => [
|
7799
7803
|
n.title ? (x(), Q(Po, { key: 0 })) : ge("", !0),
|
7800
|
-
|
7804
|
+
ne("div", UN, [
|
7801
7805
|
Se(n.$slots, "default")
|
7802
7806
|
]),
|
7803
|
-
A(
|
7807
|
+
A(Da, { class: "pa-0 mx-0 align-content-end" }, {
|
7804
7808
|
default: k(() => [
|
7805
7809
|
A(dr, {
|
7806
7810
|
justify: "space-between",
|
@@ -7819,7 +7823,7 @@ const hN = {
|
|
7819
7823
|
]),
|
7820
7824
|
_: 1
|
7821
7825
|
}),
|
7822
|
-
A(
|
7826
|
+
A(xa),
|
7823
7827
|
A(Ot, {
|
7824
7828
|
cols: "auto",
|
7825
7829
|
class: "align-content-end"
|
@@ -7857,7 +7861,7 @@ const hN = {
|
|
7857
7861
|
emits: ["update:isEdition", "save", "cancel", "delete", "disable"],
|
7858
7862
|
setup(r, { emit: e }) {
|
7859
7863
|
var f;
|
7860
|
-
const t = r, n = e, i =
|
7864
|
+
const t = r, n = e, i = Wa(), s = ((f = i == null ? void 0 : i.vnode.props) == null ? void 0 : f.onDisable) !== void 0, c = ee(t.readonly);
|
7861
7865
|
function u() {
|
7862
7866
|
c.value = !c.value, n("update:isEdition", c.value);
|
7863
7867
|
}
|
@@ -7866,21 +7870,21 @@ const hN = {
|
|
7866
7870
|
}
|
7867
7871
|
return (g, p) => (x(), oe("div", FN, [
|
7868
7872
|
g.id ? (x(), oe("div", BN, [
|
7869
|
-
p[0] || (p[0] =
|
7870
|
-
|
7873
|
+
p[0] || (p[0] = ne("b", null, "ID:", -1)),
|
7874
|
+
ne("span", $N, we(g.id), 1),
|
7871
7875
|
A(gh, {
|
7872
7876
|
"content-to-copy": g.id,
|
7873
7877
|
size: 20
|
7874
7878
|
}, null, 8, ["content-to-copy"])
|
7875
7879
|
])) : ge("", !0),
|
7876
|
-
A(
|
7877
|
-
|
7880
|
+
A(xa),
|
7881
|
+
ne("div", KN, [
|
7878
7882
|
A(je, {
|
7879
7883
|
onClick: h,
|
7880
7884
|
variant: "text"
|
7881
7885
|
}, {
|
7882
7886
|
default: k(() => [
|
7883
|
-
s ? (x(), Q(
|
7887
|
+
s ? (x(), Q(te(c0), {
|
7884
7888
|
key: 0,
|
7885
7889
|
size: "11",
|
7886
7890
|
class: "me-2"
|
@@ -7895,12 +7899,12 @@ const hN = {
|
|
7895
7899
|
]),
|
7896
7900
|
_: 1
|
7897
7901
|
}),
|
7898
|
-
|
7902
|
+
ne("div", zN, [
|
7899
7903
|
A(Po, {
|
7900
7904
|
class: "mx-2 my-1",
|
7901
7905
|
vertical: ""
|
7902
7906
|
}),
|
7903
|
-
|
7907
|
+
ne("div", VN, [
|
7904
7908
|
Jm(A(je, {
|
7905
7909
|
onClick: u,
|
7906
7910
|
variant: "text",
|
@@ -7951,12 +7955,12 @@ const hN = {
|
|
7951
7955
|
const t = e, n = dk();
|
7952
7956
|
return (i, s) => (x(), Q(wh, null, {
|
7953
7957
|
default: k(() => [
|
7954
|
-
|
7955
|
-
|
7958
|
+
ne("div", qN, [
|
7959
|
+
ne("div", GN, [
|
7956
7960
|
Se(i.$slots, "default", {}, void 0, !0)
|
7957
7961
|
])
|
7958
7962
|
]),
|
7959
|
-
|
7963
|
+
ne("div", jN, [
|
7960
7964
|
A(dr, {
|
7961
7965
|
"no-gutters": "",
|
7962
7966
|
justify: "space-between",
|
@@ -7981,12 +7985,12 @@ const hN = {
|
|
7981
7985
|
cols: "auto"
|
7982
7986
|
}, {
|
7983
7987
|
default: k(() => [
|
7984
|
-
"onCancel" in
|
7988
|
+
"onCancel" in te(n) ? (x(), Q(jy, {
|
7985
7989
|
key: 0,
|
7986
7990
|
title: "Back",
|
7987
7991
|
onCancel: s[0] || (s[0] = (c) => t("onCancel"))
|
7988
7992
|
})) : ge("", !0),
|
7989
|
-
"onSave" in
|
7993
|
+
"onSave" in te(n) ? (x(), Q(Yy, {
|
7990
7994
|
key: 1,
|
7991
7995
|
onOnSave: s[1] || (s[1] = (c) => t("onSave"))
|
7992
7996
|
})) : ge("", !0)
|
@@ -8001,7 +8005,7 @@ const hN = {
|
|
8001
8005
|
_: 3
|
8002
8006
|
}));
|
8003
8007
|
}
|
8004
|
-
}), JN = /* @__PURE__ */
|
8008
|
+
}), JN = /* @__PURE__ */ Ga(YN, [["__scopeId", "data-v-489d31c3"]]);
|
8005
8009
|
/**
|
8006
8010
|
* @license @tabler/icons-vue v3.22.0 - MIT
|
8007
8011
|
*
|
@@ -8143,7 +8147,7 @@ const N = {
|
|
8143
8147
|
ID_TOKEN_RESPONSE_TYPE: "id_token",
|
8144
8148
|
SHR_NONCE_VALIDITY: 240,
|
8145
8149
|
INVALID_INSTANCE: "invalid_instance"
|
8146
|
-
},
|
8150
|
+
}, ec = {
|
8147
8151
|
SUCCESS: 200,
|
8148
8152
|
SUCCESS_RANGE_START: 200,
|
8149
8153
|
SUCCESS_RANGE_END: 299,
|
@@ -8188,7 +8192,7 @@ const N = {
|
|
8188
8192
|
COMMON: "common",
|
8189
8193
|
ORGANIZATIONS: "organizations",
|
8190
8194
|
CONSUMERS: "consumers"
|
8191
|
-
},
|
8195
|
+
}, tc = {
|
8192
8196
|
ACCESS_TOKEN: "access_token",
|
8193
8197
|
XMS_CC: "xms_cc"
|
8194
8198
|
}, Tt = {
|
@@ -8201,11 +8205,11 @@ const N = {
|
|
8201
8205
|
}, Np = {
|
8202
8206
|
PLAIN: "plain",
|
8203
8207
|
S256: "S256"
|
8204
|
-
},
|
8208
|
+
}, Ja = {
|
8205
8209
|
QUERY: "query",
|
8206
8210
|
FRAGMENT: "fragment"
|
8207
8211
|
}, tD = {
|
8208
|
-
...
|
8212
|
+
...Ja,
|
8209
8213
|
FORM_POST: "form_post"
|
8210
8214
|
}, Jy = {
|
8211
8215
|
IMPLICIT_GRANT: "implicit",
|
@@ -8215,7 +8219,7 @@ const N = {
|
|
8215
8219
|
REFRESH_TOKEN_GRANT: "refresh_token",
|
8216
8220
|
DEVICE_CODE_GRANT: "device_code",
|
8217
8221
|
JWT_BEARER: "urn:ietf:params:oauth:grant-type:jwt-bearer"
|
8218
|
-
},
|
8222
|
+
}, nc = {
|
8219
8223
|
MSSTS_ACCOUNT_TYPE: "MSSTS",
|
8220
8224
|
ADFS_ACCOUNT_TYPE: "ADFS",
|
8221
8225
|
MSAV1_ACCOUNT_TYPE: "MSA",
|
@@ -8268,7 +8272,7 @@ const N = {
|
|
8268
8272
|
}, xp = {
|
8269
8273
|
username: "username",
|
8270
8274
|
password: "password"
|
8271
|
-
},
|
8275
|
+
}, rc = {
|
8272
8276
|
httpSuccess: 200,
|
8273
8277
|
httpBadRequest: 400
|
8274
8278
|
}, ci = {
|
@@ -8730,7 +8734,7 @@ function kD(r, e) {
|
|
8730
8734
|
function $p() {
|
8731
8735
|
return vr() + Fc.REFRESH_TIME_SECONDS;
|
8732
8736
|
}
|
8733
|
-
function
|
8737
|
+
function oc(r, e, t) {
|
8734
8738
|
r.authorization_endpoint = e.authorization_endpoint, r.token_endpoint = e.token_endpoint, r.end_session_endpoint = e.end_session_endpoint, r.issuer = e.issuer, r.endpointsFromNetwork = t, r.jwks_uri = e.jwks_uri;
|
8735
8739
|
}
|
8736
8740
|
function hd(r, e, t) {
|
@@ -9120,7 +9124,7 @@ class yt {
|
|
9120
9124
|
static createAccount(e, t, n) {
|
9121
9125
|
var f, g, p, y, E, C;
|
9122
9126
|
const i = new yt();
|
9123
|
-
t.authorityType === jn.Adfs ? i.authorityType =
|
9127
|
+
t.authorityType === jn.Adfs ? i.authorityType = nc.ADFS_ACCOUNT_TYPE : t.protocolMode === Ur.AAD ? i.authorityType = nc.MSSTS_ACCOUNT_TYPE : i.authorityType = nc.GENERIC_ACCOUNT_TYPE;
|
9124
9128
|
let s;
|
9125
9129
|
e.clientInfo && n && (s = Kc(e.clientInfo, n)), i.clientInfo = e.clientInfo, i.homeAccountId = e.homeAccountId, i.nativeAccountId = e.nativeAccountId;
|
9126
9130
|
const c = e.environment || t && t.getPreferredCache();
|
@@ -9146,7 +9150,7 @@ class yt {
|
|
9146
9150
|
static createFromAccountInfo(e, t, n) {
|
9147
9151
|
var s;
|
9148
9152
|
const i = new yt();
|
9149
|
-
return i.authorityType = e.authorityType ||
|
9153
|
+
return i.authorityType = e.authorityType || nc.GENERIC_ACCOUNT_TYPE, i.homeAccountId = e.homeAccountId, i.localAccountId = e.localAccountId, i.nativeAccountId = e.nativeAccountId, i.realm = e.tenantId, i.environment = e.environment, i.username = e.username, i.name = e.name, i.cloudGraphHostName = t, i.msGraphHost = n, i.tenantProfiles = Array.from(((s = e.tenantProfiles) == null ? void 0 : s.values()) || []), i;
|
9150
9154
|
}
|
9151
9155
|
/**
|
9152
9156
|
* Generate HomeAccountId from server response
|
@@ -10573,7 +10577,7 @@ class ka {
|
|
10573
10577
|
} catch {
|
10574
10578
|
throw ze(Uh);
|
10575
10579
|
}
|
10576
|
-
return t && t.length > 0 && (n.hasOwnProperty(
|
10580
|
+
return t && t.length > 0 && (n.hasOwnProperty(tc.ACCESS_TOKEN) || (n[tc.ACCESS_TOKEN] = {}), n[tc.ACCESS_TOKEN][tc.XMS_CC] = {
|
10577
10581
|
values: t
|
10578
10582
|
}), JSON.stringify(n);
|
10579
10583
|
}
|
@@ -10952,12 +10956,12 @@ class ul {
|
|
10952
10956
|
const s = ul.IMDS_OPTIONS;
|
10953
10957
|
try {
|
10954
10958
|
const c = await z(this.getRegionFromIMDS.bind(this), R.RegionDiscoveryGetRegionFromIMDS, this.logger, this.performanceClient, this.correlationId)(N.IMDS_VERSION, s);
|
10955
|
-
if (c.status ===
|
10959
|
+
if (c.status === rc.httpSuccess && (n = c.body, t.region_source = ci.IMDS), c.status === rc.httpBadRequest) {
|
10956
10960
|
const u = await z(this.getCurrentVersion.bind(this), R.RegionDiscoveryGetCurrentVersion, this.logger, this.performanceClient, this.correlationId)(s);
|
10957
10961
|
if (!u)
|
10958
10962
|
return t.region_source = ci.FAILED_AUTO_DETECTION, null;
|
10959
10963
|
const h = await z(this.getRegionFromIMDS.bind(this), R.RegionDiscoveryGetRegionFromIMDS, this.logger, this.performanceClient, this.correlationId)(u, s);
|
10960
|
-
h.status ===
|
10964
|
+
h.status === rc.httpSuccess && (n = h.body, t.region_source = ci.IMDS);
|
10961
10965
|
}
|
10962
10966
|
} catch {
|
10963
10967
|
return t.region_source = ci.FAILED_AUTO_DETECTION, null;
|
@@ -10985,7 +10989,7 @@ class ul {
|
|
10985
10989
|
(t = this.performanceClient) == null || t.addQueueMeasurement(R.RegionDiscoveryGetCurrentVersion, this.correlationId);
|
10986
10990
|
try {
|
10987
10991
|
const n = await this.networkInterface.sendGetRequestAsync(`${N.IMDS_ENDPOINT}?format=json`, e);
|
10988
|
-
return n.status ===
|
10992
|
+
return n.status === rc.httpBadRequest && n.body && n.body["newest-versions"] && n.body["newest-versions"].length > 0 ? n.body["newest-versions"][0] : null;
|
10989
10993
|
} catch {
|
10990
10994
|
return null;
|
10991
10995
|
}
|
@@ -11223,13 +11227,13 @@ class Ht {
|
|
11223
11227
|
if (t) {
|
11224
11228
|
if (t.source === dn.HARDCODED_VALUES && (s = this.authorityOptions.azureRegionConfiguration) != null && s.azureRegion && t.metadata) {
|
11225
11229
|
const u = await z(this.updateMetadataWithRegionalInformation.bind(this), R.AuthorityUpdateMetadataWithRegionalInformation, this.logger, this.performanceClient, this.correlationId)(t.metadata);
|
11226
|
-
|
11230
|
+
oc(e, u, !1), e.canonical_authority = this.canonicalAuthority;
|
11227
11231
|
}
|
11228
11232
|
return t.source;
|
11229
11233
|
}
|
11230
11234
|
let n = await z(this.getEndpointMetadataFromNetwork.bind(this), R.AuthorityGetEndpointMetadataFromNetwork, this.logger, this.performanceClient, this.correlationId)();
|
11231
11235
|
if (n)
|
11232
|
-
return (c = this.authorityOptions.azureRegionConfiguration) != null && c.azureRegion && (n = await z(this.updateMetadataWithRegionalInformation.bind(this), R.AuthorityUpdateMetadataWithRegionalInformation, this.logger, this.performanceClient, this.correlationId)(n)),
|
11236
|
+
return (c = this.authorityOptions.azureRegionConfiguration) != null && c.azureRegion && (n = await z(this.updateMetadataWithRegionalInformation.bind(this), R.AuthorityUpdateMetadataWithRegionalInformation, this.logger, this.performanceClient, this.correlationId)(n)), oc(e, n, !0), dn.NETWORK;
|
11233
11237
|
throw B(tw, this.defaultOpenIdConfigurationEndpoint);
|
11234
11238
|
}
|
11235
11239
|
/**
|
@@ -11242,7 +11246,7 @@ class Ht {
|
|
11242
11246
|
this.logger.verbose("Attempting to get endpoint metadata from authority configuration");
|
11243
11247
|
const t = this.getEndpointMetadataFromConfig();
|
11244
11248
|
if (t)
|
11245
|
-
return this.logger.verbose("Found endpoint metadata in authority configuration"),
|
11249
|
+
return this.logger.verbose("Found endpoint metadata in authority configuration"), oc(e, t, !1), {
|
11246
11250
|
source: dn.CONFIG
|
11247
11251
|
};
|
11248
11252
|
if (this.logger.verbose("Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values."), this.authorityOptions.skipAuthorityMetadataCache)
|
@@ -11250,7 +11254,7 @@ class Ht {
|
|
11250
11254
|
else {
|
11251
11255
|
const i = this.getEndpointMetadataFromHardcodedValues();
|
11252
11256
|
if (i)
|
11253
|
-
return
|
11257
|
+
return oc(e, i, !1), {
|
11254
11258
|
source: dn.HARDCODED_VALUES,
|
11255
11259
|
metadata: i
|
11256
11260
|
};
|
@@ -11971,11 +11975,11 @@ class Do {
|
|
11971
11975
|
var n;
|
11972
11976
|
if (e.error || e.error_description || e.suberror) {
|
11973
11977
|
const i = `Error(s): ${e.error_codes || N.NOT_AVAILABLE} - Timestamp: ${e.timestamp || N.NOT_AVAILABLE} - Description: ${e.error_description || N.NOT_AVAILABLE} - Correlation ID: ${e.correlation_id || N.NOT_AVAILABLE} - Trace ID: ${e.trace_id || N.NOT_AVAILABLE}`, s = (n = e.error_codes) != null && n.length ? e.error_codes[0] : void 0, c = new so(e.error, i, e.suberror, s, e.status);
|
11974
|
-
if (t && e.status && e.status >=
|
11978
|
+
if (t && e.status && e.status >= ec.SERVER_ERROR_RANGE_START && e.status <= ec.SERVER_ERROR_RANGE_END) {
|
11975
11979
|
this.logger.warning(`executeTokenRequest:validateTokenResponse - AAD is currently unavailable and the access token is unable to be refreshed.
|
11976
11980
|
${c}`);
|
11977
11981
|
return;
|
11978
|
-
} else if (t && e.status && e.status >=
|
11982
|
+
} else if (t && e.status && e.status >= ec.CLIENT_ERROR_RANGE_START && e.status <= ec.CLIENT_ERROR_RANGE_END) {
|
11979
11983
|
this.logger.warning(`executeTokenRequest:validateTokenResponse - AAD is currently available but is unable to refresh the access token.
|
11980
11984
|
${c}`);
|
11981
11985
|
return;
|
@@ -12622,7 +12626,7 @@ function Gx(r) {
|
|
12622
12626
|
const { skuArr: e, index: t, skuName: n, skuVersion: i } = r;
|
12623
12627
|
t >= e.length || (e[t] = [n, i].join(Vw));
|
12624
12628
|
}
|
12625
|
-
class
|
12629
|
+
class Ba {
|
12626
12630
|
constructor(e, t) {
|
12627
12631
|
this.cacheOutcome = Xr.NOT_APPLICABLE, this.cacheManager = t, this.apiId = e.apiId, this.correlationId = e.correlationId, this.wrapperSKU = e.wrapperSKU || N.EMPTY_STRING, this.wrapperVer = e.wrapperVer || N.EMPTY_STRING, this.telemetryCacheKey = Rt.CACHE_KEY + Bt.CACHE_KEY_SEPARATOR + e.clientId;
|
12628
12632
|
}
|
@@ -12646,7 +12650,7 @@ class Fa {
|
|
12646
12650
|
* API to add MSER Telemetry for the last failed request
|
12647
12651
|
*/
|
12648
12652
|
generateLastRequestHeaderValue() {
|
12649
|
-
const e = this.getLastRequests(), t =
|
12653
|
+
const e = this.getLastRequests(), t = Ba.maxErrorsToSend(e), n = e.failedRequests.slice(0, 2 * t).join(Rt.VALUE_SEPARATOR), i = e.errors.slice(0, t).join(Rt.VALUE_SEPARATOR), s = e.errors.length, c = t < s ? Rt.OVERFLOW_TRUE : Rt.OVERFLOW_FALSE, u = [s, c].join(Rt.VALUE_SEPARATOR);
|
12650
12654
|
return [
|
12651
12655
|
Rt.SCHEMA_VERSION,
|
12652
12656
|
e.cacheHits,
|
@@ -12685,7 +12689,7 @@ class Fa {
|
|
12685
12689
|
* Remove server telemetry cache entry
|
12686
12690
|
*/
|
12687
12691
|
clearTelemetryCache() {
|
12688
|
-
const e = this.getLastRequests(), t =
|
12692
|
+
const e = this.getLastRequests(), t = Ba.maxErrorsToSend(e), n = e.errors.length;
|
12689
12693
|
if (t === n)
|
12690
12694
|
this.cacheManager.removeItem(this.telemetryCacheKey);
|
12691
12695
|
else {
|
@@ -12862,7 +12866,7 @@ class Yx {
|
|
12862
12866
|
}
|
12863
12867
|
}
|
12864
12868
|
/*! @azure/msal-browser v3.28.1 2025-01-14 */
|
12865
|
-
const Qh = "pkce_not_created", Jd = "crypto_nonexistent", fl = "empty_navigate_uri", Gw = "hash_empty_error", Xh = "no_state_in_hash", jw = "hash_does_not_contain_known_properties", Yw = "unable_to_parse_state", Jw = "state_interaction_type_mismatch", Qw = "interaction_in_progress", Xw = "popup_window_error", Zw = "empty_window_error", xo = "user_cancelled", Jx = "monitor_popup_timeout", e_ = "monitor_window_timeout", t_ = "redirect_in_iframe", n_ = "block_iframe_reload", r_ = "block_nested_popups", Qx = "iframe_closed_prematurely", gl = "silent_logout_unsupported", o_ = "no_account_error", Xx = "silent_prompt_value_error", i_ = "no_token_request_cache_error", a_ = "unable_to_parse_token_request_cache_error", Zh = "no_cached_authority_error", Zx = "auth_request_not_set_error", eL = "invalid_cache_type", ml = "non_browser_environment", vi = "database_not_open", Gc = "no_network_connectivity", s_ = "post_request_failed", c_ = "get_request_failed", Qd = "failed_to_parse_response", l_ = "unable_to_load_token", ef = "crypto_key_not_found", u_ = "auth_code_required", d_ = "auth_code_or_nativeAccountId_required", h_ = "spa_code_and_nativeAccountId_present", tf = "database_unavailable", f_ = "unable_to_acquire_token_from_native_platform", g_ = "native_handshake_timeout", m_ = "native_extension_not_installed",
|
12869
|
+
const Qh = "pkce_not_created", Jd = "crypto_nonexistent", fl = "empty_navigate_uri", Gw = "hash_empty_error", Xh = "no_state_in_hash", jw = "hash_does_not_contain_known_properties", Yw = "unable_to_parse_state", Jw = "state_interaction_type_mismatch", Qw = "interaction_in_progress", Xw = "popup_window_error", Zw = "empty_window_error", xo = "user_cancelled", Jx = "monitor_popup_timeout", e_ = "monitor_window_timeout", t_ = "redirect_in_iframe", n_ = "block_iframe_reload", r_ = "block_nested_popups", Qx = "iframe_closed_prematurely", gl = "silent_logout_unsupported", o_ = "no_account_error", Xx = "silent_prompt_value_error", i_ = "no_token_request_cache_error", a_ = "unable_to_parse_token_request_cache_error", Zh = "no_cached_authority_error", Zx = "auth_request_not_set_error", eL = "invalid_cache_type", ml = "non_browser_environment", vi = "database_not_open", Gc = "no_network_connectivity", s_ = "post_request_failed", c_ = "get_request_failed", Qd = "failed_to_parse_response", l_ = "unable_to_load_token", ef = "crypto_key_not_found", u_ = "auth_code_required", d_ = "auth_code_or_nativeAccountId_required", h_ = "spa_code_and_nativeAccountId_present", tf = "database_unavailable", f_ = "unable_to_acquire_token_from_native_platform", g_ = "native_handshake_timeout", m_ = "native_extension_not_installed", Qa = "native_connection_not_established", p_ = "uninitialized_public_client_application", v_ = "native_prompt_not_supported", y_ = "invalid_base64_string", w_ = "invalid_pop_token_request", __ = "failed_to_build_headers", C_ = "failed_to_parse_headers";
|
12866
12870
|
/*! @azure/msal-browser v3.28.1 2025-01-14 */
|
12867
12871
|
const Or = "For more visit: aka.ms/msaljs/browser-errors", tL = {
|
12868
12872
|
[Qh]: "The PKCE code challenge and verifier could not be generated.",
|
@@ -12906,7 +12910,7 @@ const Or = "For more visit: aka.ms/msaljs/browser-errors", tL = {
|
|
12906
12910
|
[f_]: `Unable to acquire token from native platform. ${Or}`,
|
12907
12911
|
[g_]: "Timed out while attempting to establish connection to browser extension",
|
12908
12912
|
[m_]: "Native extension is not installed. If you think this is a mistake call the initialize function.",
|
12909
|
-
[
|
12913
|
+
[Qa]: `Connection to native platform has not been established. Please install a compatible browser extension and run initialize(). ${Or}`,
|
12910
12914
|
[p_]: `You must call and await the initialize function before attempting to call any other MSAL API. ${Or}`,
|
12911
12915
|
[v_]: "The provided prompt is not supported by the native platform. This request should be routed to the web based flow.",
|
12912
12916
|
[y_]: "Invalid base64 encoded string.",
|
@@ -12914,13 +12918,13 @@ const Or = "For more visit: aka.ms/msaljs/browser-errors", tL = {
|
|
12914
12918
|
[__]: "Failed to build request headers object.",
|
12915
12919
|
[C_]: "Failed to parse response headers"
|
12916
12920
|
};
|
12917
|
-
class
|
12921
|
+
class Xa extends Xe {
|
12918
12922
|
constructor(e, t) {
|
12919
|
-
super(e, tL[e], t), Object.setPrototypeOf(this,
|
12923
|
+
super(e, tL[e], t), Object.setPrototypeOf(this, Xa.prototype), this.name = "BrowserAuthError";
|
12920
12924
|
}
|
12921
12925
|
}
|
12922
12926
|
function J(r, e) {
|
12923
|
-
return new
|
12927
|
+
return new Xa(r, e);
|
12924
12928
|
}
|
12925
12929
|
/*! @azure/msal-browser v3.28.1 2025-01-14 */
|
12926
12930
|
const fn = {
|
@@ -12987,7 +12991,7 @@ const fn = {
|
|
12987
12991
|
}, Qr = {
|
12988
12992
|
ACCOUNT_KEYS: "msal.account.keys",
|
12989
12993
|
TOKEN_KEYS: "msal.token.keys"
|
12990
|
-
},
|
12994
|
+
}, ic = {
|
12991
12995
|
WRAPPER_SKU: "wrapper.sku",
|
12992
12996
|
WRAPPER_VER: "wrapper.version"
|
12993
12997
|
}, Ge = {
|
@@ -13001,10 +13005,10 @@ const fn = {
|
|
13001
13005
|
logout: 961,
|
13002
13006
|
logoutPopup: 962
|
13003
13007
|
};
|
13004
|
-
var
|
13008
|
+
var re;
|
13005
13009
|
(function(r) {
|
13006
13010
|
r.Redirect = "redirect", r.Popup = "popup", r.Silent = "silent", r.None = "none";
|
13007
|
-
})(
|
13011
|
+
})(re || (re = {}));
|
13008
13012
|
const nv = {
|
13009
13013
|
scopes: Li
|
13010
13014
|
}, T_ = "jwk", Xd = "msal.db", nL = 1, rL = `${Xd}.keys`, hn = {
|
@@ -13048,7 +13052,7 @@ const nv = {
|
|
13048
13052
|
hn.RefreshTokenAndNetwork
|
13049
13053
|
], iL = "msal.browser.log.level", aL = "msal.browser.log.pii";
|
13050
13054
|
/*! @azure/msal-browser v3.28.1 2025-01-14 */
|
13051
|
-
function
|
13055
|
+
function ac(r) {
|
13052
13056
|
return encodeURIComponent(nf(r).replace(/=/g, "").replace(/\+/g, "-").replace(/\//g, "_"));
|
13053
13057
|
}
|
13054
13058
|
function pl(r) {
|
@@ -13112,21 +13116,21 @@ async function S_(r) {
|
|
13112
13116
|
return pl(t);
|
13113
13117
|
}
|
13114
13118
|
/*! @azure/msal-browser v3.28.1 2025-01-14 */
|
13115
|
-
const
|
13119
|
+
const $a = "storage_not_supported", Zd = "stubbed_public_client_application_called", jc = "in_mem_redirect_unavailable";
|
13116
13120
|
/*! @azure/msal-browser v3.28.1 2025-01-14 */
|
13117
|
-
const
|
13118
|
-
[
|
13121
|
+
const Ac = {
|
13122
|
+
[$a]: "Given storage configuration option was not supported.",
|
13119
13123
|
[Zd]: "Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors",
|
13120
13124
|
[jc]: "Redirect cannot be supported. In-memory storage was selected and storeAuthStateInCookie=false, which would cause the library to be unable to handle the incoming hash. If you would like to use the redirect API, please use session/localStorage or set storeAuthStateInCookie=true."
|
13121
13125
|
};
|
13122
|
-
|
13126
|
+
Ac[$a], Ac[Zd], Ac[jc];
|
13123
13127
|
class of extends Xe {
|
13124
13128
|
constructor(e, t) {
|
13125
13129
|
super(e, t), this.name = "BrowserConfigurationAuthError", Object.setPrototypeOf(this, of.prototype);
|
13126
13130
|
}
|
13127
13131
|
}
|
13128
13132
|
function af(r) {
|
13129
|
-
return new of(r,
|
13133
|
+
return new of(r, Ac[r]);
|
13130
13134
|
}
|
13131
13135
|
/*! @azure/msal-browser v3.28.1 2025-01-14 */
|
13132
13136
|
function pL(r) {
|
@@ -13317,7 +13321,7 @@ function RL({ auth: r, cache: e, system: t, telemetry: n }, i) {
|
|
13317
13321
|
clientCapabilities: [],
|
13318
13322
|
protocolMode: Ur.AAD,
|
13319
13323
|
OIDCOptions: {
|
13320
|
-
serverResponseType:
|
13324
|
+
serverResponseType: Ja.FRAGMENT,
|
13321
13325
|
defaultScopes: [
|
13322
13326
|
N.OPENID_SCOPE,
|
13323
13327
|
N.PROFILE_SCOPE,
|
@@ -13654,7 +13658,7 @@ class ML {
|
|
13654
13658
|
this.inMemoryCache = new th(), this.indexedDBCache = new PL(), this.logger = e;
|
13655
13659
|
}
|
13656
13660
|
handleDatabaseAccessError(e) {
|
13657
|
-
if (e instanceof
|
13661
|
+
if (e instanceof Xa && e.errorCode === tf)
|
13658
13662
|
this.logger.error("Could not access persistent storage. This may be caused by browser privacy features which block persistent storage in third-party contexts.");
|
13659
13663
|
else
|
13660
13664
|
throw e;
|
@@ -13779,7 +13783,7 @@ class Di {
|
|
13779
13783
|
* @param input
|
13780
13784
|
*/
|
13781
13785
|
base64UrlEncode(e) {
|
13782
|
-
return
|
13786
|
+
return ac(e);
|
13783
13787
|
}
|
13784
13788
|
/**
|
13785
13789
|
* Stringifies and base64Url encodes input public key
|
@@ -13837,15 +13841,15 @@ class Di {
|
|
13837
13841
|
const s = ($ = this.performanceClient) == null ? void 0 : $.startMeasurement(R.CryptoOptsSignJwt, i), c = await this.cache.getItem(t);
|
13838
13842
|
if (!c)
|
13839
13843
|
throw J(ef);
|
13840
|
-
const u = await md(c.publicKey), h = cv(u), f =
|
13844
|
+
const u = await md(c.publicKey), h = cv(u), f = ac(JSON.stringify({ kid: t })), g = Jh.getShrHeaderString({
|
13841
13845
|
...n == null ? void 0 : n.header,
|
13842
13846
|
alg: u.alg,
|
13843
13847
|
kid: f
|
13844
|
-
}), p =
|
13848
|
+
}), p = ac(g);
|
13845
13849
|
e.cnf = {
|
13846
13850
|
jwk: JSON.parse(h)
|
13847
13851
|
};
|
13848
|
-
const y =
|
13852
|
+
const y = ac(JSON.stringify(e)), E = `${p}.${y}`, S = new TextEncoder().encode(E), P = await mL(c.privateKey, S), W = pl(new Uint8Array(P)), K = `${E}.${W}`;
|
13849
13853
|
return s && s.end({
|
13850
13854
|
success: !0
|
13851
13855
|
}), K;
|
@@ -13867,7 +13871,7 @@ function cv(r) {
|
|
13867
13871
|
class NL {
|
13868
13872
|
constructor() {
|
13869
13873
|
if (!window.localStorage)
|
13870
|
-
throw af(
|
13874
|
+
throw af($a);
|
13871
13875
|
}
|
13872
13876
|
getItem(e) {
|
13873
13877
|
return window.localStorage.getItem(e);
|
@@ -13889,7 +13893,7 @@ class NL {
|
|
13889
13893
|
class DL {
|
13890
13894
|
constructor() {
|
13891
13895
|
if (!window.sessionStorage)
|
13892
|
-
throw af(
|
13896
|
+
throw af($a);
|
13893
13897
|
}
|
13894
13898
|
getItem(e) {
|
13895
13899
|
return window.sessionStorage.getItem(e);
|
@@ -14373,13 +14377,13 @@ class nh extends Mi {
|
|
14373
14377
|
* @param wrapperVersion
|
14374
14378
|
*/
|
14375
14379
|
setWrapperMetadata(e, t) {
|
14376
|
-
this.internalStorage.setItem(
|
14380
|
+
this.internalStorage.setItem(ic.WRAPPER_SKU, e), this.internalStorage.setItem(ic.WRAPPER_VER, t);
|
14377
14381
|
}
|
14378
14382
|
/**
|
14379
14383
|
* Returns wrapper metadata from in-memory storage
|
14380
14384
|
*/
|
14381
14385
|
getWrapperMetadata() {
|
14382
|
-
const e = this.internalStorage.getItem(
|
14386
|
+
const e = this.internalStorage.getItem(ic.WRAPPER_SKU) || N.EMPTY_STRING, t = this.internalStorage.getItem(ic.WRAPPER_VER) || N.EMPTY_STRING;
|
14383
14387
|
return [e, t];
|
14384
14388
|
}
|
14385
14389
|
/**
|
@@ -14949,7 +14953,7 @@ class P_ {
|
|
14949
14953
|
wrapperSKU: this.browserStorage.getWrapperMetadata()[0],
|
14950
14954
|
wrapperVer: this.browserStorage.getWrapperMetadata()[1]
|
14951
14955
|
};
|
14952
|
-
return new
|
14956
|
+
return new Ba(n, this.browserStorage);
|
14953
14957
|
}
|
14954
14958
|
/**
|
14955
14959
|
* Used to get a discovered version of the default authority.
|
@@ -15240,7 +15244,7 @@ class N_ extends Ui {
|
|
15240
15244
|
fromCache: !0
|
15241
15245
|
}, e.correlationId), c;
|
15242
15246
|
} catch (s) {
|
15243
|
-
throw s instanceof
|
15247
|
+
throw s instanceof Xa && s.errorCode === ef && this.logger.verbose("Signing keypair for bound access token not found. Refreshing bound access token and generating a new crypto keypair."), s;
|
15244
15248
|
}
|
15245
15249
|
}
|
15246
15250
|
/**
|
@@ -15259,7 +15263,7 @@ class Si extends P_ {
|
|
15259
15263
|
var C;
|
15260
15264
|
super(e, t, n, i, s, c, h, f, y), this.apiId = u, this.accountId = g, this.nativeMessageHandler = f, this.nativeStorageManager = p, this.silentCacheClient = new N_(e, this.nativeStorageManager, n, i, s, c, h, f, y), this.serverTelemetryManager = this.initializeServerTelemetryManager(this.apiId);
|
15261
15265
|
const E = this.nativeMessageHandler.getExtensionId() === Ei.PREFERRED_EXTENSION_ID ? "chrome" : (C = this.nativeMessageHandler.getExtensionId()) != null && C.length ? "unknown" : void 0;
|
15262
|
-
this.skus =
|
15266
|
+
this.skus = Ba.makeExtraSkuString({
|
15263
15267
|
libraryName: fn.MSAL_SKU,
|
15264
15268
|
libraryVersion: vl,
|
15265
15269
|
extensionName: E,
|
@@ -15973,7 +15977,7 @@ class cU extends Ui {
|
|
15973
15977
|
async acquireTokenPopupAsync(e, t) {
|
15974
15978
|
var s;
|
15975
15979
|
this.logger.verbose("acquireTokenPopupAsync called");
|
15976
|
-
const n = this.initializeServerTelemetryManager(Ge.acquireTokenPopup), i = await z(this.initializeAuthorizationRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, this.correlationId)(e,
|
15980
|
+
const n = this.initializeServerTelemetryManager(Ge.acquireTokenPopup), i = await z(this.initializeAuthorizationRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, this.correlationId)(e, re.Popup);
|
15977
15981
|
k_(i.authority);
|
15978
15982
|
try {
|
15979
15983
|
const c = await z(this.initializeAuthorizationCodeRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationCodeRequest, this.logger, this.performanceClient, this.correlationId)(i), u = await z(this.createAuthCodeClient.bind(this), R.StandardInteractionClientCreateAuthCodeClient, this.logger, this.performanceClient, this.correlationId)({
|
@@ -15989,14 +15993,14 @@ class cU extends Ui {
|
|
15989
15993
|
...i,
|
15990
15994
|
nativeBroker: h
|
15991
15995
|
}), p = new df(u, this.browserStorage, c, this.logger, this.performanceClient), y = this.initiateAuthRequest(g, t);
|
15992
|
-
this.eventHandler.emitEvent(le.POPUP_OPENED,
|
15996
|
+
this.eventHandler.emitEvent(le.POPUP_OPENED, re.Popup, { popupWindow: y }, null);
|
15993
15997
|
const E = await this.monitorPopupForHash(y, t.popupWindowParent), C = Fo(D_, R.DeserializeResponse, this.logger, this.performanceClient, this.correlationId)(E, this.config.auth.OIDCOptions.serverResponseType, this.logger);
|
15994
15998
|
if (cr.removeThrottle(this.browserStorage, this.config.auth.clientId, c), C.accountId) {
|
15995
15999
|
if (this.logger.verbose("Account id found in hash, calling WAM for token"), f && f.end({
|
15996
16000
|
success: !0,
|
15997
16001
|
isNativeBroker: !0
|
15998
16002
|
}), !this.nativeMessageHandler)
|
15999
|
-
throw J(
|
16003
|
+
throw J(Qa);
|
16000
16004
|
const P = new Si(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, Ge.acquireTokenPopup, this.performanceClient, this.nativeMessageHandler, C.accountId, this.nativeStorage, i.correlationId), { userRequestState: W } = Xn.parseRequestState(this.browserCrypto, i.state);
|
16001
16005
|
return await P.acquireToken({
|
16002
16006
|
...i,
|
@@ -16021,7 +16025,7 @@ class cU extends Ui {
|
|
16021
16025
|
*/
|
16022
16026
|
async logoutPopupAsync(e, t, n, i) {
|
16023
16027
|
var c, u, h, f;
|
16024
|
-
this.logger.verbose("logoutPopupAsync called"), this.eventHandler.emitEvent(le.LOGOUT_START,
|
16028
|
+
this.logger.verbose("logoutPopupAsync called"), this.eventHandler.emitEvent(le.LOGOUT_START, re.Popup, e);
|
16025
16029
|
const s = this.initializeServerTelemetryManager(Ge.logoutPopup);
|
16026
16030
|
try {
|
16027
16031
|
await this.clearCacheOnLogout(e.account);
|
@@ -16034,7 +16038,7 @@ class cU extends Ui {
|
|
16034
16038
|
g.authority.endSessionEndpoint;
|
16035
16039
|
} catch {
|
16036
16040
|
if ((c = e.account) != null && c.homeAccountId && e.postLogoutRedirectUri && g.authority.protocolMode === Ur.OIDC) {
|
16037
|
-
if (this.browserStorage.removeAccount((u = e.account) == null ? void 0 : u.homeAccountId), this.eventHandler.emitEvent(le.LOGOUT_SUCCESS,
|
16041
|
+
if (this.browserStorage.removeAccount((u = e.account) == null ? void 0 : u.homeAccountId), this.eventHandler.emitEvent(le.LOGOUT_SUCCESS, re.Popup, e), i) {
|
16038
16042
|
const E = {
|
16039
16043
|
apiId: Ge.logoutPopup,
|
16040
16044
|
timeout: this.config.system.redirectNavigationTimeout,
|
@@ -16047,9 +16051,9 @@ class cU extends Ui {
|
|
16047
16051
|
}
|
16048
16052
|
}
|
16049
16053
|
const p = g.getLogoutUri(e);
|
16050
|
-
this.eventHandler.emitEvent(le.LOGOUT_SUCCESS,
|
16054
|
+
this.eventHandler.emitEvent(le.LOGOUT_SUCCESS, re.Popup, e);
|
16051
16055
|
const y = this.openPopup(p, t);
|
16052
|
-
if (this.eventHandler.emitEvent(le.POPUP_OPENED,
|
16056
|
+
if (this.eventHandler.emitEvent(le.POPUP_OPENED, re.Popup, { popupWindow: y }, null), await this.monitorPopupForHash(y, t.popupWindowParent).catch(() => {
|
16053
16057
|
}), i) {
|
16054
16058
|
const E = {
|
16055
16059
|
apiId: Ge.logoutPopup,
|
@@ -16060,9 +16064,9 @@ class cU extends Ui {
|
|
16060
16064
|
} else
|
16061
16065
|
this.logger.verbose("No main window navigation requested");
|
16062
16066
|
} catch (g) {
|
16063
|
-
throw (f = t.popup) == null || f.close(), g instanceof Xe && (g.setCorrelationId(this.correlationId), s.cacheFailedRequest(g)), this.browserStorage.setInteractionInProgress(!1), this.eventHandler.emitEvent(le.LOGOUT_FAILURE,
|
16067
|
+
throw (f = t.popup) == null || f.close(), g instanceof Xe && (g.setCorrelationId(this.correlationId), s.cacheFailedRequest(g)), this.browserStorage.setInteractionInProgress(!1), this.eventHandler.emitEvent(le.LOGOUT_FAILURE, re.Popup, null, g), this.eventHandler.emitEvent(le.LOGOUT_END, re.Popup), g;
|
16064
16068
|
}
|
16065
|
-
this.eventHandler.emitEvent(le.LOGOUT_END,
|
16069
|
+
this.eventHandler.emitEvent(le.LOGOUT_END, re.Popup);
|
16066
16070
|
}
|
16067
16071
|
/**
|
16068
16072
|
* Opens a popup window with given request Url.
|
@@ -16096,7 +16100,7 @@ class cU extends Ui {
|
|
16096
16100
|
clearInterval(s);
|
16097
16101
|
let u = "";
|
16098
16102
|
const h = this.config.auth.OIDCOptions.serverResponseType;
|
16099
|
-
e && (h ===
|
16103
|
+
e && (h === Ja.QUERY ? u = e.location.search : u = e.location.hash), this.logger.verbose("PopupHandler.monitorPopupForHash - popup window is on same origin as caller"), n(u);
|
16100
16104
|
}, this.config.system.pollIntervalMilliseconds);
|
16101
16105
|
}).finally(() => {
|
16102
16106
|
this.cleanPopup(e, t);
|
@@ -16142,7 +16146,7 @@ class cU extends Ui {
|
|
16142
16146
|
* Event callback to unload main window.
|
16143
16147
|
*/
|
16144
16148
|
unloadWindow(e) {
|
16145
|
-
this.browserStorage.cleanRequestByInteractionType(
|
16149
|
+
this.browserStorage.cleanRequestByInteractionType(re.Popup), this.currentWindow && this.currentWindow.close(), e.preventDefault();
|
16146
16150
|
}
|
16147
16151
|
/**
|
16148
16152
|
* Closes popup, removes any state vars created during popup calls.
|
@@ -16256,10 +16260,10 @@ class uU extends Ui {
|
|
16256
16260
|
* @param request
|
16257
16261
|
*/
|
16258
16262
|
async acquireToken(e) {
|
16259
|
-
const t = await z(this.initializeAuthorizationRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, this.correlationId)(e,
|
16263
|
+
const t = await z(this.initializeAuthorizationRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, this.correlationId)(e, re.Redirect);
|
16260
16264
|
this.browserStorage.updateCacheEntries(t.state, t.nonce, t.authority, t.loginHint || "", t.account || null);
|
16261
16265
|
const n = this.initializeServerTelemetryManager(Ge.acquireTokenRedirect), i = (s) => {
|
16262
|
-
s.persisted && (this.logger.verbose("Page was restored from back/forward cache. Clearing temporary cache."), this.browserStorage.cleanRequestByState(t.state), this.eventHandler.emitEvent(le.RESTORE_FROM_BFCACHE,
|
16266
|
+
s.persisted && (this.logger.verbose("Page was restored from back/forward cache. Clearing temporary cache."), this.browserStorage.cleanRequestByState(t.state), this.eventHandler.emitEvent(le.RESTORE_FROM_BFCACHE, re.Redirect));
|
16263
16267
|
};
|
16264
16268
|
try {
|
16265
16269
|
const s = await z(this.initializeAuthorizationCodeRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationCodeRequest, this.logger, this.performanceClient, this.correlationId)(t), c = await z(this.createAuthCodeClient.bind(this), R.StandardInteractionClientCreateAuthCodeClient, this.logger, this.performanceClient, this.correlationId)({
|
@@ -16296,7 +16300,7 @@ class uU extends Ui {
|
|
16296
16300
|
return this.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."), null;
|
16297
16301
|
const [i, s] = this.getRedirectResponse(e || "");
|
16298
16302
|
if (!i)
|
16299
|
-
return this.logger.info("handleRedirectPromise did not detect a response as a result of a redirect. Cleaning temporary cache."), this.browserStorage.cleanRequestByInteractionType(
|
16303
|
+
return this.logger.info("handleRedirectPromise did not detect a response as a result of a redirect. Cleaning temporary cache."), this.browserStorage.cleanRequestByInteractionType(re.Redirect), lU() !== "back_forward" ? t.event.errorCode = "no_server_response" : this.logger.verbose("Back navigation event detected. Muting no_server_response error"), null;
|
16300
16304
|
const c = this.browserStorage.getTemporaryCache(Fe.ORIGIN_URI, !0) || N.EMPTY_STRING, u = Oe.removeHashFromUrl(c), h = Oe.removeHashFromUrl(window.location.href);
|
16301
16305
|
if (u === h && this.config.auth.navigateToLoginRequestUrl)
|
16302
16306
|
return this.logger.verbose("Current page is loginRequestUrl, handling response"), c.indexOf("#") > -1 && vL(c), await this.handleResponse(i, n);
|
@@ -16320,7 +16324,7 @@ class uU extends Ui {
|
|
16320
16324
|
} else return this.logger.verbose("NavigateToLoginRequestUrl set to false, handling response"), await this.handleResponse(i, n);
|
16321
16325
|
return null;
|
16322
16326
|
} catch (i) {
|
16323
|
-
throw i instanceof Xe && (i.setCorrelationId(this.correlationId), n.cacheFailedRequest(i)), this.browserStorage.cleanRequestByInteractionType(
|
16327
|
+
throw i instanceof Xe && (i.setCorrelationId(this.correlationId), n.cacheFailedRequest(i)), this.browserStorage.cleanRequestByInteractionType(re.Redirect), i;
|
16324
16328
|
}
|
16325
16329
|
}
|
16326
16330
|
/**
|
@@ -16331,11 +16335,11 @@ class uU extends Ui {
|
|
16331
16335
|
getRedirectResponse(e) {
|
16332
16336
|
this.logger.verbose("getRedirectResponseHash called");
|
16333
16337
|
let t = e;
|
16334
|
-
t || (this.config.auth.OIDCOptions.serverResponseType ===
|
16338
|
+
t || (this.config.auth.OIDCOptions.serverResponseType === Ja.QUERY ? t = window.location.search : t = window.location.hash);
|
16335
16339
|
let n = Vc(t);
|
16336
16340
|
if (n) {
|
16337
16341
|
try {
|
16338
|
-
sU(n, this.browserCrypto,
|
16342
|
+
sU(n, this.browserCrypto, re.Redirect);
|
16339
16343
|
} catch (s) {
|
16340
16344
|
return s instanceof Xe && this.logger.error(`Interaction type validation failed due to ${s.errorCode}: ${s.errorMessage}`), [null, ""];
|
16341
16345
|
}
|
@@ -16356,7 +16360,7 @@ class uU extends Ui {
|
|
16356
16360
|
const i = this.browserStorage.getCachedRequest(n);
|
16357
16361
|
if (this.logger.verbose("handleResponse called, retrieved cached request"), e.accountId) {
|
16358
16362
|
if (this.logger.verbose("Account id found in hash, calling WAM for token"), !this.nativeMessageHandler)
|
16359
|
-
throw J(
|
16363
|
+
throw J(Qa);
|
16360
16364
|
const h = new Si(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, Ge.acquireTokenPopup, this.performanceClient, this.nativeMessageHandler, e.accountId, this.nativeStorage, i.correlationId), { userRequestState: f } = Xn.parseRequestState(this.browserCrypto, n);
|
16361
16365
|
return h.acquireToken({
|
16362
16366
|
...i,
|
@@ -16383,7 +16387,7 @@ class uU extends Ui {
|
|
16383
16387
|
this.logger.verbose("logoutRedirect called");
|
16384
16388
|
const t = this.initializeLogoutRequest(e), n = this.initializeServerTelemetryManager(Ge.logout);
|
16385
16389
|
try {
|
16386
|
-
this.eventHandler.emitEvent(le.LOGOUT_START,
|
16390
|
+
this.eventHandler.emitEvent(le.LOGOUT_START, re.Redirect, e), await this.clearCacheOnLogout(t.account);
|
16387
16391
|
const c = {
|
16388
16392
|
apiId: Ge.logout,
|
16389
16393
|
timeout: this.config.system.redirectNavigationTimeout,
|
@@ -16399,12 +16403,12 @@ class uU extends Ui {
|
|
16399
16403
|
u.authority.endSessionEndpoint;
|
16400
16404
|
} catch {
|
16401
16405
|
if ((i = t.account) != null && i.homeAccountId) {
|
16402
|
-
this.browserStorage.removeAccount((s = t.account) == null ? void 0 : s.homeAccountId), this.eventHandler.emitEvent(le.LOGOUT_SUCCESS,
|
16406
|
+
this.browserStorage.removeAccount((s = t.account) == null ? void 0 : s.homeAccountId), this.eventHandler.emitEvent(le.LOGOUT_SUCCESS, re.Redirect, t);
|
16403
16407
|
return;
|
16404
16408
|
}
|
16405
16409
|
}
|
16406
16410
|
const h = u.getLogoutUri(t);
|
16407
|
-
if (this.eventHandler.emitEvent(le.LOGOUT_SUCCESS,
|
16411
|
+
if (this.eventHandler.emitEvent(le.LOGOUT_SUCCESS, re.Redirect, t), e && typeof e.onRedirectNavigate == "function")
|
16408
16412
|
if (e.onRedirectNavigate(h) !== !1) {
|
16409
16413
|
this.logger.verbose("Logout onRedirectNavigate did not return false, navigating"), this.browserStorage.getInteractionInProgress() || this.browserStorage.setInteractionInProgress(!0), await this.navigationClient.navigateExternal(h, c);
|
16410
16414
|
return;
|
@@ -16415,9 +16419,9 @@ class uU extends Ui {
|
|
16415
16419
|
return;
|
16416
16420
|
}
|
16417
16421
|
} catch (c) {
|
16418
|
-
throw c instanceof Xe && (c.setCorrelationId(this.correlationId), n.cacheFailedRequest(c)), this.eventHandler.emitEvent(le.LOGOUT_FAILURE,
|
16422
|
+
throw c instanceof Xe && (c.setCorrelationId(this.correlationId), n.cacheFailedRequest(c)), this.eventHandler.emitEvent(le.LOGOUT_FAILURE, re.Redirect, null, c), this.eventHandler.emitEvent(le.LOGOUT_END, re.Redirect), c;
|
16419
16423
|
}
|
16420
|
-
this.eventHandler.emitEvent(le.LOGOUT_END,
|
16424
|
+
this.eventHandler.emitEvent(le.LOGOUT_END, re.Redirect);
|
16421
16425
|
}
|
16422
16426
|
/**
|
16423
16427
|
* Use to get the redirectStartPage either from request or use current window
|
@@ -16449,7 +16453,7 @@ async function hU(r, e, t, n, i, s, c) {
|
|
16449
16453
|
if (!p || p === "about:blank")
|
16450
16454
|
return;
|
16451
16455
|
let E = "";
|
16452
|
-
y && (c ===
|
16456
|
+
y && (c === Ja.QUERY ? E = y.location.search : E = y.location.hash), window.clearTimeout(f), window.clearInterval(g), u(E);
|
16453
16457
|
}, t);
|
16454
16458
|
}).finally(() => {
|
16455
16459
|
Fo(mU, R.RemoveHiddenIframe, i, n, s)(r);
|
@@ -16491,7 +16495,7 @@ class pU extends Ui {
|
|
16491
16495
|
this.performanceClient.addQueueMeasurement(R.SilentIframeClientAcquireToken, e.correlationId), !e.loginHint && !e.sid && (!e.account || !e.account.username) && this.logger.warning("No user hint provided. The authorization server may need more information to complete this request.");
|
16492
16496
|
const t = { ...e };
|
16493
16497
|
t.prompt ? t.prompt !== Tt.NONE && t.prompt !== Tt.NO_SESSION && (this.logger.warning(`SilentIframeClient. Replacing invalid prompt ${t.prompt} with ${Tt.NONE}`), t.prompt = Tt.NONE) : t.prompt = Tt.NONE;
|
16494
|
-
const n = await z(this.initializeAuthorizationRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, e.correlationId)(t,
|
16498
|
+
const n = await z(this.initializeAuthorizationRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, e.correlationId)(t, re.Silent);
|
16495
16499
|
k_(n.authority);
|
16496
16500
|
const i = this.initializeServerTelemetryManager(this.apiId);
|
16497
16501
|
let s;
|
@@ -16509,7 +16513,7 @@ class pU extends Ui {
|
|
16509
16513
|
this.performanceClient.addFields({
|
16510
16514
|
retryError: c.errorCode
|
16511
16515
|
}, this.correlationId);
|
16512
|
-
const u = await z(this.initializeAuthorizationRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, e.correlationId)(t,
|
16516
|
+
const u = await z(this.initializeAuthorizationRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, e.correlationId)(t, re.Silent);
|
16513
16517
|
return await z(this.silentTokenHelper.bind(this), R.SilentIframeClientTokenHelper, this.logger, this.performanceClient, this.correlationId)(s, u);
|
16514
16518
|
}
|
16515
16519
|
}
|
@@ -16534,7 +16538,7 @@ class pU extends Ui {
|
|
16534
16538
|
}), c = new df(e, this.browserStorage, i, this.logger, this.performanceClient), u = await z(dU, R.SilentHandlerInitiateAuthRequest, this.logger, this.performanceClient, n)(s, this.performanceClient, this.logger, n, this.config.system.navigateFrameWait), h = this.config.auth.OIDCOptions.serverResponseType, f = await z(hU, R.SilentHandlerMonitorIframeForHash, this.logger, this.performanceClient, n)(u, this.config.system.iframeHashTimeout, this.config.system.pollIntervalMilliseconds, this.performanceClient, this.logger, n, h), g = Fo(D_, R.DeserializeResponse, this.logger, this.performanceClient, this.correlationId)(f, h, this.logger);
|
16535
16539
|
if (g.accountId) {
|
16536
16540
|
if (this.logger.verbose("Account id found in hash, calling WAM for token"), !this.nativeMessageHandler)
|
16537
|
-
throw J(
|
16541
|
+
throw J(Qa);
|
16538
16542
|
const p = new Si(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.apiId, this.performanceClient, this.nativeMessageHandler, g.accountId, this.browserStorage, n), { userRequestState: y } = Xn.parseRequestState(this.browserCrypto, t.state);
|
16539
16543
|
return z(p.acquireToken.bind(p), R.NativeInteractionClientAcquireToken, this.logger, this.performanceClient, n)({
|
16540
16544
|
...t,
|
@@ -16770,7 +16774,7 @@ class _U extends Ui {
|
|
16770
16774
|
async acquireToken(e) {
|
16771
16775
|
if (!e.code)
|
16772
16776
|
throw J(u_);
|
16773
|
-
const t = await z(this.initializeAuthorizationRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, e.correlationId)(e,
|
16777
|
+
const t = await z(this.initializeAuthorizationRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, e.correlationId)(e, re.Silent), n = this.initializeServerTelemetryManager(this.apiId);
|
16774
16778
|
try {
|
16775
16779
|
const i = {
|
16776
16780
|
...t,
|
@@ -16812,7 +16816,7 @@ function ir(r) {
|
|
16812
16816
|
} else return;
|
16813
16817
|
return "AAD";
|
16814
16818
|
}
|
16815
|
-
function
|
16819
|
+
function sc(r, e) {
|
16816
16820
|
try {
|
16817
16821
|
cf(r);
|
16818
16822
|
} catch (t) {
|
@@ -16905,7 +16909,7 @@ class yl {
|
|
16905
16909
|
*/
|
16906
16910
|
async handleRedirectPromiseInternal(e) {
|
16907
16911
|
const t = this.getAllAccounts(), n = this.browserStorage.getCachedNativeRequest(), i = n && ur.isNativeAvailable(this.config, this.logger, this.nativeExtensionProvider) && this.nativeExtensionProvider && !e, s = i ? n == null ? void 0 : n.correlationId : this.browserStorage.getTemporaryCache(Fe.CORRELATION_ID, !0) || "", c = this.performanceClient.startMeasurement(R.AcquireTokenRedirect, s);
|
16908
|
-
this.eventHandler.emitEvent(le.HANDLE_REDIRECT_START,
|
16912
|
+
this.eventHandler.emitEvent(le.HANDLE_REDIRECT_START, re.Redirect);
|
16909
16913
|
let u;
|
16910
16914
|
if (i && this.nativeExtensionProvider) {
|
16911
16915
|
this.logger.trace("handleRedirectPromise - acquiring token from native platform");
|
@@ -16916,12 +16920,12 @@ class yl {
|
|
16916
16920
|
const h = this.createRedirectClient(s);
|
16917
16921
|
u = z(h.handleRedirectPromise.bind(h), R.HandleRedirectPromiseMeasurement, this.logger, this.performanceClient, c.event.correlationId)(e, c);
|
16918
16922
|
}
|
16919
|
-
return u.then((h) => (h ? (t.length < this.getAllAccounts().length ? (this.eventHandler.emitEvent(le.LOGIN_SUCCESS,
|
16923
|
+
return u.then((h) => (h ? (t.length < this.getAllAccounts().length ? (this.eventHandler.emitEvent(le.LOGIN_SUCCESS, re.Redirect, h), this.logger.verbose("handleRedirectResponse returned result, login success")) : (this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_SUCCESS, re.Redirect, h), this.logger.verbose("handleRedirectResponse returned result, acquire token success")), c.end({
|
16920
16924
|
success: !0,
|
16921
16925
|
accountType: ir(h.account)
|
16922
|
-
})) : c.event.errorCode ? c.end({ success: !1 }) : c.discard(), this.eventHandler.emitEvent(le.HANDLE_REDIRECT_END,
|
16926
|
+
})) : c.event.errorCode ? c.end({ success: !1 }) : c.discard(), this.eventHandler.emitEvent(le.HANDLE_REDIRECT_END, re.Redirect), h)).catch((h) => {
|
16923
16927
|
const f = h;
|
16924
|
-
throw t.length > 0 ? this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_FAILURE,
|
16928
|
+
throw t.length > 0 ? this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_FAILURE, re.Redirect, null, f) : this.eventHandler.emitEvent(le.LOGIN_FAILURE, re.Redirect, null, f), this.eventHandler.emitEvent(le.HANDLE_REDIRECT_END, re.Redirect), c.end({
|
16925
16929
|
success: !1
|
16926
16930
|
}, f), h;
|
16927
16931
|
});
|
@@ -16958,7 +16962,7 @@ class yl {
|
|
16958
16962
|
}
|
16959
16963
|
const s = this.getAllAccounts().length > 0;
|
16960
16964
|
try {
|
16961
|
-
iv(this.initialized, this.config), this.browserStorage.setInteractionInProgress(!0), s ? this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_START,
|
16965
|
+
iv(this.initialized, this.config), this.browserStorage.setInteractionInProgress(!0), s ? this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_START, re.Redirect, e) : this.eventHandler.emitEvent(le.LOGIN_START, re.Redirect, e);
|
16962
16966
|
let c;
|
16963
16967
|
return this.nativeExtensionProvider && this.canUseNative(e) ? c = new Si(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, Ge.acquireTokenRedirect, this.performanceClient, this.nativeExtensionProvider, this.getNativeAccountId(e), this.nativeInternalStorage, t).acquireTokenRedirect(e, n).catch((h) => {
|
16964
16968
|
if (h instanceof lr && yi(h))
|
@@ -16968,7 +16972,7 @@ class yl {
|
|
16968
16972
|
throw this.browserStorage.setInteractionInProgress(!1), h;
|
16969
16973
|
}) : c = this.createRedirectClient(t).acquireToken(e), await c;
|
16970
16974
|
} catch (c) {
|
16971
|
-
throw n.end({ success: !1 }, c), s ? this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_FAILURE,
|
16975
|
+
throw n.end({ success: !1 }, c), s ? this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_FAILURE, re.Redirect, null, c) : this.eventHandler.emitEvent(le.LOGIN_FAILURE, re.Redirect, null, c), c;
|
16972
16976
|
}
|
16973
16977
|
}
|
16974
16978
|
// #endregion
|
@@ -16987,12 +16991,12 @@ class yl {
|
|
16987
16991
|
accountType: ir(e.account)
|
16988
16992
|
});
|
16989
16993
|
try {
|
16990
|
-
this.logger.verbose("acquireTokenPopup called", t),
|
16994
|
+
this.logger.verbose("acquireTokenPopup called", t), sc(this.initialized, n), this.browserStorage.setInteractionInProgress(!0);
|
16991
16995
|
} catch (c) {
|
16992
16996
|
return Promise.reject(c);
|
16993
16997
|
}
|
16994
16998
|
const i = this.getAllAccounts();
|
16995
|
-
i.length > 0 ? this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_START,
|
16999
|
+
i.length > 0 ? this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_START, re.Popup, e) : this.eventHandler.emitEvent(le.LOGIN_START, re.Popup, e);
|
16996
17000
|
let s;
|
16997
17001
|
return this.canUseNative(e) ? s = this.acquireTokenNative({
|
16998
17002
|
...e,
|
@@ -17007,12 +17011,12 @@ class yl {
|
|
17007
17011
|
if (c instanceof Zn)
|
17008
17012
|
return this.logger.verbose("acquireTokenPopup - Resolving interaction required error thrown by native broker by falling back to web flow"), this.createPopupClient(t).acquireToken(e);
|
17009
17013
|
throw this.browserStorage.setInteractionInProgress(!1), c;
|
17010
|
-
}) : s = this.createPopupClient(t).acquireToken(e), s.then((c) => (i.length < this.getAllAccounts().length ? this.eventHandler.emitEvent(le.LOGIN_SUCCESS,
|
17014
|
+
}) : s = this.createPopupClient(t).acquireToken(e), s.then((c) => (i.length < this.getAllAccounts().length ? this.eventHandler.emitEvent(le.LOGIN_SUCCESS, re.Popup, c) : this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_SUCCESS, re.Popup, c), n.end({
|
17011
17015
|
success: !0,
|
17012
17016
|
accessTokenSize: c.accessToken.length,
|
17013
17017
|
idTokenSize: c.idToken.length,
|
17014
17018
|
accountType: ir(c.account)
|
17015
|
-
}), c)).catch((c) => (i.length > 0 ? this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_FAILURE,
|
17019
|
+
}), c)).catch((c) => (i.length > 0 ? this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_FAILURE, re.Popup, null, c) : this.eventHandler.emitEvent(le.LOGIN_FAILURE, re.Popup, null, c), n.end({
|
17016
17020
|
success: !1
|
17017
17021
|
}, c), Promise.reject(c)));
|
17018
17022
|
}
|
@@ -17050,9 +17054,9 @@ class yl {
|
|
17050
17054
|
this.ssoSilentMeasurement = this.performanceClient.startMeasurement(R.SsoSilent, t), (s = this.ssoSilentMeasurement) == null || s.add({
|
17051
17055
|
scenarioId: e.scenarioId,
|
17052
17056
|
accountType: ir(e.account)
|
17053
|
-
}),
|
17057
|
+
}), sc(this.initialized, this.ssoSilentMeasurement), (c = this.ssoSilentMeasurement) == null || c.increment({
|
17054
17058
|
visibilityChangeCount: 0
|
17055
|
-
}), document.addEventListener("visibilitychange", this.trackPageVisibilityWithMeasurement), this.logger.verbose("ssoSilent called", t), this.eventHandler.emitEvent(le.SSO_SILENT_START,
|
17059
|
+
}), document.addEventListener("visibilitychange", this.trackPageVisibilityWithMeasurement), this.logger.verbose("ssoSilent called", t), this.eventHandler.emitEvent(le.SSO_SILENT_START, re.Silent, n);
|
17056
17060
|
let i;
|
17057
17061
|
return this.canUseNative(n) ? i = this.acquireTokenNative(n, Ge.ssoSilent).catch((u) => {
|
17058
17062
|
if (u instanceof lr && yi(u))
|
@@ -17060,7 +17064,7 @@ class yl {
|
|
17060
17064
|
throw u;
|
17061
17065
|
}) : i = this.createSilentIframeClient(n.correlationId).acquireToken(n), i.then((u) => {
|
17062
17066
|
var h;
|
17063
|
-
return this.eventHandler.emitEvent(le.SSO_SILENT_SUCCESS,
|
17067
|
+
return this.eventHandler.emitEvent(le.SSO_SILENT_SUCCESS, re.Silent, u), (h = this.ssoSilentMeasurement) == null || h.end({
|
17064
17068
|
success: !0,
|
17065
17069
|
isNativeBroker: u.fromNativeBroker,
|
17066
17070
|
accessTokenSize: u.accessToken.length,
|
@@ -17069,7 +17073,7 @@ class yl {
|
|
17069
17073
|
}), u;
|
17070
17074
|
}).catch((u) => {
|
17071
17075
|
var h;
|
17072
|
-
throw this.eventHandler.emitEvent(le.SSO_SILENT_FAILURE,
|
17076
|
+
throw this.eventHandler.emitEvent(le.SSO_SILENT_FAILURE, re.Silent, null, u), (h = this.ssoSilentMeasurement) == null || h.end({
|
17073
17077
|
success: !1
|
17074
17078
|
}, u), u;
|
17075
17079
|
}).finally(() => {
|
@@ -17090,7 +17094,7 @@ class yl {
|
|
17090
17094
|
const t = this.getRequestCorrelationId(e);
|
17091
17095
|
this.logger.trace("acquireTokenByCode called", t);
|
17092
17096
|
const n = this.performanceClient.startMeasurement(R.AcquireTokenByCode, t);
|
17093
|
-
|
17097
|
+
sc(this.initialized, n), this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_BY_CODE_START, re.Silent, e), n.add({ scenarioId: e.scenarioId });
|
17094
17098
|
try {
|
17095
17099
|
if (e.code && e.nativeAccountId)
|
17096
17100
|
throw J(h_);
|
@@ -17100,14 +17104,14 @@ class yl {
|
|
17100
17104
|
return s ? (this.logger.verbose("Existing acquireTokenByCode request found", t), n.discard()) : (this.logger.verbose("Initiating new acquireTokenByCode request", t), s = this.acquireTokenByCodeAsync({
|
17101
17105
|
...e,
|
17102
17106
|
correlationId: t
|
17103
|
-
}).then((c) => (this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_BY_CODE_SUCCESS,
|
17107
|
+
}).then((c) => (this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_BY_CODE_SUCCESS, re.Silent, c), this.hybridAuthCodeResponses.delete(i), n.end({
|
17104
17108
|
success: !0,
|
17105
17109
|
isNativeBroker: c.fromNativeBroker,
|
17106
17110
|
accessTokenSize: c.accessToken.length,
|
17107
17111
|
idTokenSize: c.idToken.length,
|
17108
17112
|
accountType: ir(c.account)
|
17109
17113
|
}), c)).catch((c) => {
|
17110
|
-
throw this.hybridAuthCodeResponses.delete(i), this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_BY_CODE_FAILURE,
|
17114
|
+
throw this.hybridAuthCodeResponses.delete(i), this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_BY_CODE_FAILURE, re.Silent, null, c), n.end({
|
17111
17115
|
success: !1
|
17112
17116
|
}, c), c;
|
17113
17117
|
}), this.hybridAuthCodeResponses.set(i, s)), await s;
|
@@ -17128,7 +17132,7 @@ class yl {
|
|
17128
17132
|
else
|
17129
17133
|
throw J(d_);
|
17130
17134
|
} catch (i) {
|
17131
|
-
throw this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_BY_CODE_FAILURE,
|
17135
|
+
throw this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_BY_CODE_FAILURE, re.Silent, null, i), n.end({
|
17132
17136
|
success: !1
|
17133
17137
|
}, i), i;
|
17134
17138
|
}
|
@@ -17332,7 +17336,7 @@ class yl {
|
|
17332
17336
|
*/
|
17333
17337
|
async acquireTokenNative(e, t, n) {
|
17334
17338
|
if (this.logger.trace("acquireTokenNative called"), !this.nativeExtensionProvider)
|
17335
|
-
throw J(
|
17339
|
+
throw J(Qa);
|
17336
17340
|
return new Si(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, t, this.performanceClient, this.nativeExtensionProvider, n || this.getNativeAccountId(e), this.nativeInternalStorage, e.correlationId).acquireToken(e);
|
17337
17341
|
}
|
17338
17342
|
/**
|
@@ -17572,7 +17576,7 @@ class yl {
|
|
17572
17576
|
n.add({
|
17573
17577
|
cacheLookupPolicy: e.cacheLookupPolicy,
|
17574
17578
|
scenarioId: e.scenarioId
|
17575
|
-
}),
|
17579
|
+
}), sc(this.initialized, n), this.logger.verbose("acquireTokenSilent called", t);
|
17576
17580
|
const i = e.account || this.getActiveAccount();
|
17577
17581
|
if (!i)
|
17578
17582
|
throw J(o_);
|
@@ -17625,7 +17629,7 @@ class yl {
|
|
17625
17629
|
*/
|
17626
17630
|
async acquireTokenSilentAsync(e, t) {
|
17627
17631
|
const n = () => this.trackPageVisibility(e.correlationId);
|
17628
|
-
this.performanceClient.addQueueMeasurement(R.AcquireTokenSilentAsync, e.correlationId), this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_START,
|
17632
|
+
this.performanceClient.addQueueMeasurement(R.AcquireTokenSilentAsync, e.correlationId), this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_START, re.Silent, e), e.correlationId && this.performanceClient.incrementFields({ visibilityChangeCount: 0 }, e.correlationId), document.addEventListener("visibilitychange", n);
|
17629
17633
|
const i = await z(QL, R.InitializeSilentRequest, this.logger, this.performanceClient, e.correlationId)(e, t, this.config, this.performanceClient, this.logger), s = e.cacheLookupPolicy || hn.Default;
|
17630
17634
|
return this.acquireTokenSilentNoIframe(i, s).catch(async (u) => {
|
17631
17635
|
if (CU(u, s))
|
@@ -17660,11 +17664,11 @@ class yl {
|
|
17660
17664
|
}
|
17661
17665
|
else
|
17662
17666
|
throw u;
|
17663
|
-
}).then((u) => (this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_SUCCESS,
|
17667
|
+
}).then((u) => (this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_SUCCESS, re.Silent, u), e.correlationId && this.performanceClient.addFields({
|
17664
17668
|
fromCache: u.fromCache,
|
17665
17669
|
isNativeBroker: u.fromNativeBroker
|
17666
17670
|
}, e.correlationId), u)).catch((u) => {
|
17667
|
-
throw this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_FAILURE,
|
17671
|
+
throw this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_FAILURE, re.Silent, null, u), u;
|
17668
17672
|
}).finally(() => {
|
17669
17673
|
document.removeEventListener("visibilitychange", n);
|
17670
17674
|
});
|
@@ -17681,7 +17685,7 @@ class yl {
|
|
17681
17685
|
})) : (this.logger.verbose("acquireTokenSilent - attempting to acquire token from web flow"), z(this.acquireTokenFromCache.bind(this), R.AcquireTokenFromCache, this.logger, this.performanceClient, e.correlationId)(e, t).catch((n) => {
|
17682
17686
|
if (t === hn.AccessToken)
|
17683
17687
|
throw n;
|
17684
|
-
return this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_NETWORK_START,
|
17688
|
+
return this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_NETWORK_START, re.Silent, e), z(this.acquireTokenByRefreshToken.bind(this), R.AcquireTokenByRefreshToken, this.logger, this.performanceClient, e.correlationId)(e, t);
|
17685
17689
|
}));
|
17686
17690
|
}
|
17687
17691
|
}
|
@@ -18188,16 +18192,16 @@ function B_(r, e) {
|
|
18188
18192
|
const { toString: RU } = Object.prototype, { getPrototypeOf: ff } = Object, wl = /* @__PURE__ */ ((r) => (e) => {
|
18189
18193
|
const t = RU.call(e);
|
18190
18194
|
return r[t] || (r[t] = t.slice(8, -1).toLowerCase());
|
18191
|
-
})(/* @__PURE__ */ Object.create(null)), tr = (r) => (r = r.toLowerCase(), (e) => wl(e) === r), _l = (r) => (e) => typeof e === r, { isArray: Hi } = Array,
|
18195
|
+
})(/* @__PURE__ */ Object.create(null)), tr = (r) => (r = r.toLowerCase(), (e) => wl(e) === r), _l = (r) => (e) => typeof e === r, { isArray: Hi } = Array, Ka = _l("undefined");
|
18192
18196
|
function kU(r) {
|
18193
|
-
return r !== null &&
|
18197
|
+
return r !== null && !Ka(r) && r.constructor !== null && !Ka(r.constructor) && yn(r.constructor.isBuffer) && r.constructor.isBuffer(r);
|
18194
18198
|
}
|
18195
18199
|
const $_ = tr("ArrayBuffer");
|
18196
18200
|
function OU(r) {
|
18197
18201
|
let e;
|
18198
18202
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(r) : e = r && r.buffer && $_(r.buffer), e;
|
18199
18203
|
}
|
18200
|
-
const PU = _l("string"), yn = _l("function"), K_ = _l("number"), Cl = (r) => r !== null && typeof r == "object", MU = (r) => r === !0 || r === !1,
|
18204
|
+
const PU = _l("string"), yn = _l("function"), K_ = _l("number"), Cl = (r) => r !== null && typeof r == "object", MU = (r) => r === !0 || r === !1, bc = (r) => {
|
18201
18205
|
if (wl(r) !== "object")
|
18202
18206
|
return !1;
|
18203
18207
|
const e = ff(r);
|
@@ -18207,7 +18211,7 @@ const PU = _l("string"), yn = _l("function"), K_ = _l("number"), Cl = (r) => r !
|
|
18207
18211
|
return r && (typeof FormData == "function" && r instanceof FormData || yn(r.append) && ((e = wl(r)) === "formdata" || // detect form-data instance
|
18208
18212
|
e === "object" && yn(r.toString) && r.toString() === "[object FormData]"));
|
18209
18213
|
}, FU = tr("URLSearchParams"), [BU, $U, KU, zU] = ["ReadableStream", "Request", "Response", "Headers"].map(tr), VU = (r) => r.trim ? r.trim() : r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
18210
|
-
function
|
18214
|
+
function Za(r, e, { allOwnKeys: t = !1 } = {}) {
|
18211
18215
|
if (r === null || typeof r > "u")
|
18212
18216
|
return;
|
18213
18217
|
let n, i;
|
@@ -18230,17 +18234,17 @@ function z_(r, e) {
|
|
18230
18234
|
return i;
|
18231
18235
|
return null;
|
18232
18236
|
}
|
18233
|
-
const ko = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, V_ = (r) =>
|
18237
|
+
const ko = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, V_ = (r) => !Ka(r) && r !== ko;
|
18234
18238
|
function oh() {
|
18235
18239
|
const { caseless: r } = V_(this) && this || {}, e = {}, t = (n, i) => {
|
18236
18240
|
const s = r && z_(e, i) || i;
|
18237
|
-
|
18241
|
+
bc(e[s]) && bc(n) ? e[s] = oh(e[s], n) : bc(n) ? e[s] = oh({}, n) : Hi(n) ? e[s] = n.slice() : e[s] = n;
|
18238
18242
|
};
|
18239
18243
|
for (let n = 0, i = arguments.length; n < i; n++)
|
18240
|
-
arguments[n] &&
|
18244
|
+
arguments[n] && Za(arguments[n], t);
|
18241
18245
|
return e;
|
18242
18246
|
}
|
18243
|
-
const WU = (r, e, t, { allOwnKeys: n } = {}) => (
|
18247
|
+
const WU = (r, e, t, { allOwnKeys: n } = {}) => (Za(e, (i, s) => {
|
18244
18248
|
t && yn(i) ? r[s] = B_(i, t) : r[s] = i;
|
18245
18249
|
}, { allOwnKeys: n }), r), qU = (r) => (r.charCodeAt(0) === 65279 && (r = r.slice(1)), r), GU = (r, e, t, n) => {
|
18246
18250
|
r.prototype = Object.create(e.prototype, n), r.prototype.constructor = r, Object.defineProperty(r, "super", {
|
@@ -18289,7 +18293,7 @@ const WU = (r, e, t, { allOwnKeys: n } = {}) => (Xa(e, (i, s) => {
|
|
18289
18293
|
}
|
18290
18294
|
), hv = (({ hasOwnProperty: r }) => (e, t) => r.call(e, t))(Object.prototype), n2 = tr("RegExp"), W_ = (r, e) => {
|
18291
18295
|
const t = Object.getOwnPropertyDescriptors(r), n = {};
|
18292
|
-
|
18296
|
+
Za(t, (i, s) => {
|
18293
18297
|
let c;
|
18294
18298
|
(c = e(i, s, r)) !== !1 && (n[s] = c || i);
|
18295
18299
|
}), Object.defineProperties(r, n);
|
@@ -18338,9 +18342,9 @@ const l2 = (r) => {
|
|
18338
18342
|
if (!("toJSON" in n)) {
|
18339
18343
|
e[i] = n;
|
18340
18344
|
const s = Hi(n) ? [] : {};
|
18341
|
-
return
|
18345
|
+
return Za(n, (c, u) => {
|
18342
18346
|
const h = t(c, i + 1);
|
18343
|
-
|
18347
|
+
!Ka(h) && (s[u] = h);
|
18344
18348
|
}), e[i] = void 0, s;
|
18345
18349
|
}
|
18346
18350
|
}
|
@@ -18364,12 +18368,12 @@ const l2 = (r) => {
|
|
18364
18368
|
isNumber: K_,
|
18365
18369
|
isBoolean: MU,
|
18366
18370
|
isObject: Cl,
|
18367
|
-
isPlainObject:
|
18371
|
+
isPlainObject: bc,
|
18368
18372
|
isReadableStream: BU,
|
18369
18373
|
isRequest: $U,
|
18370
18374
|
isResponse: KU,
|
18371
18375
|
isHeaders: zU,
|
18372
|
-
isUndefined:
|
18376
|
+
isUndefined: Ka,
|
18373
18377
|
isDate: NU,
|
18374
18378
|
isFile: DU,
|
18375
18379
|
isBlob: xU,
|
@@ -18379,7 +18383,7 @@ const l2 = (r) => {
|
|
18379
18383
|
isURLSearchParams: FU,
|
18380
18384
|
isTypedArray: QU,
|
18381
18385
|
isFileList: LU,
|
18382
|
-
forEach:
|
18386
|
+
forEach: Za,
|
18383
18387
|
merge: oh,
|
18384
18388
|
extend: WU,
|
18385
18389
|
trim: VU,
|
@@ -18712,7 +18716,7 @@ function R2(r, e, t) {
|
|
18712
18716
|
}
|
18713
18717
|
return (t || JSON.stringify)(r);
|
18714
18718
|
}
|
18715
|
-
const
|
18719
|
+
const es = {
|
18716
18720
|
transitional: Z_,
|
18717
18721
|
adapter: ["xhr", "http", "fetch"],
|
18718
18722
|
transformRequest: [function(e, t) {
|
@@ -18741,7 +18745,7 @@ const Za = {
|
|
18741
18745
|
return s || i ? (t.setContentType("application/json", !1), R2(e)) : e;
|
18742
18746
|
}],
|
18743
18747
|
transformResponse: [function(e) {
|
18744
|
-
const t = this.transitional ||
|
18748
|
+
const t = this.transitional || es.transitional, n = t && t.forcedJSONParsing, i = this.responseType === "json";
|
18745
18749
|
if (M.isResponse(e) || M.isReadableStream(e))
|
18746
18750
|
return e;
|
18747
18751
|
if (e && M.isString(e) && (n && !this.responseType || i)) {
|
@@ -18779,7 +18783,7 @@ const Za = {
|
|
18779
18783
|
}
|
18780
18784
|
};
|
18781
18785
|
M.forEach(["delete", "get", "head", "post", "put", "patch"], (r) => {
|
18782
|
-
|
18786
|
+
es.headers[r] = {};
|
18783
18787
|
});
|
18784
18788
|
const k2 = M.toObjectSet([
|
18785
18789
|
"age",
|
@@ -18810,8 +18814,8 @@ const k2 = M.toObjectSet([
|
|
18810
18814
|
function ua(r) {
|
18811
18815
|
return r && String(r).trim().toLowerCase();
|
18812
18816
|
}
|
18813
|
-
function
|
18814
|
-
return r === !1 || r == null ? r : M.isArray(r) ? r.map(
|
18817
|
+
function Sc(r) {
|
18818
|
+
return r === !1 || r == null ? r : M.isArray(r) ? r.map(Sc) : String(r);
|
18815
18819
|
}
|
18816
18820
|
function P2(r) {
|
18817
18821
|
const e = /* @__PURE__ */ Object.create(null), t = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
@@ -18856,7 +18860,7 @@ class en {
|
|
18856
18860
|
if (!g)
|
18857
18861
|
throw new Error("header name must be a non-empty string");
|
18858
18862
|
const p = M.findKey(i, g);
|
18859
|
-
(!p || i[p] === void 0 || f === !0 || f === void 0 && i[p] !== !1) && (i[p || h] =
|
18863
|
+
(!p || i[p] === void 0 || f === !0 || f === void 0 && i[p] !== !1) && (i[p || h] = Sc(u));
|
18860
18864
|
}
|
18861
18865
|
const c = (u, h) => M.forEach(u, (f, g) => s(f, g, h));
|
18862
18866
|
if (M.isPlainObject(e) || e instanceof this.constructor)
|
@@ -18919,11 +18923,11 @@ class en {
|
|
18919
18923
|
return M.forEach(this, (i, s) => {
|
18920
18924
|
const c = M.findKey(n, s);
|
18921
18925
|
if (c) {
|
18922
|
-
t[c] =
|
18926
|
+
t[c] = Sc(i), delete t[s];
|
18923
18927
|
return;
|
18924
18928
|
}
|
18925
18929
|
const u = e ? N2(s) : String(s).trim();
|
18926
|
-
u !== s && delete t[s], t[u] =
|
18930
|
+
u !== s && delete t[s], t[u] = Sc(i), n[u] = !0;
|
18927
18931
|
}), this;
|
18928
18932
|
}
|
18929
18933
|
concat(...e) {
|
@@ -18975,7 +18979,7 @@ M.reduceDescriptors(en.prototype, ({ value: r }, e) => {
|
|
18975
18979
|
});
|
18976
18980
|
M.freezeMethods(en);
|
18977
18981
|
function wd(r, e) {
|
18978
|
-
const t = this ||
|
18982
|
+
const t = this || es, n = e || t, i = en.from(n.headers);
|
18979
18983
|
let s = n.data;
|
18980
18984
|
return M.forEach(r, function(u) {
|
18981
18985
|
s = u.call(t, s, i.normalize(), e ? e.status : void 0);
|
@@ -19501,7 +19505,7 @@ function Av(r) {
|
|
19501
19505
|
return _d(r), r.headers = en.from(r.headers), r.data = wd.call(
|
19502
19506
|
r,
|
19503
19507
|
r.transformRequest
|
19504
|
-
), ["post", "put", "patch"].indexOf(r.method) !== -1 && r.headers.setContentType("application/x-www-form-urlencoded", !1), sC.getAdapter(r.adapter ||
|
19508
|
+
), ["post", "put", "patch"].indexOf(r.method) !== -1 && r.headers.setContentType("application/x-www-form-urlencoded", !1), sC.getAdapter(r.adapter || es.adapter)(r).then(function(n) {
|
19505
19509
|
return _d(r), n.data = wd.call(
|
19506
19510
|
r,
|
19507
19511
|
r.transformResponse,
|
@@ -19560,10 +19564,10 @@ function eH(r, e, t) {
|
|
19560
19564
|
throw new _e("Unknown option " + s, _e.ERR_BAD_OPTION);
|
19561
19565
|
}
|
19562
19566
|
}
|
19563
|
-
const
|
19567
|
+
const Ic = {
|
19564
19568
|
assertOptions: eH,
|
19565
19569
|
validators: Al
|
19566
|
-
}, ar =
|
19570
|
+
}, ar = Ic.validators;
|
19567
19571
|
class Mo {
|
19568
19572
|
constructor(e) {
|
19569
19573
|
this.defaults = e, this.interceptors = {
|
@@ -19599,16 +19603,16 @@ class Mo {
|
|
19599
19603
|
_request(e, t) {
|
19600
19604
|
typeof e == "string" ? (t = t || {}, t.url = e) : t = e || {}, t = Uo(this.defaults, t);
|
19601
19605
|
const { transitional: n, paramsSerializer: i, headers: s } = t;
|
19602
|
-
n !== void 0 &&
|
19606
|
+
n !== void 0 && Ic.assertOptions(n, {
|
19603
19607
|
silentJSONParsing: ar.transitional(ar.boolean),
|
19604
19608
|
forcedJSONParsing: ar.transitional(ar.boolean),
|
19605
19609
|
clarifyTimeoutError: ar.transitional(ar.boolean)
|
19606
19610
|
}, !1), i != null && (M.isFunction(i) ? t.paramsSerializer = {
|
19607
19611
|
serialize: i
|
19608
|
-
} :
|
19612
|
+
} : Ic.assertOptions(i, {
|
19609
19613
|
encode: ar.function,
|
19610
19614
|
serialize: ar.function
|
19611
|
-
}, !0)),
|
19615
|
+
}, !0)), Ic.assertOptions(t, {
|
19612
19616
|
baseUrl: ar.spelling("baseURL"),
|
19613
19617
|
withXsrfToken: ar.spelling("withXSRFToken")
|
19614
19618
|
}, !0), t.method = (t.method || this.defaults.method || "get").toLowerCase();
|
@@ -19843,7 +19847,7 @@ function lC(r) {
|
|
19843
19847
|
return lC(Uo(r, i));
|
19844
19848
|
}, t;
|
19845
19849
|
}
|
19846
|
-
const et = lC(
|
19850
|
+
const et = lC(es);
|
19847
19851
|
et.Axios = Mo;
|
19848
19852
|
et.CanceledError = Fi;
|
19849
19853
|
et.CancelToken = pf;
|
@@ -20014,7 +20018,7 @@ function vf() {
|
|
20014
20018
|
logout: t
|
20015
20019
|
};
|
20016
20020
|
}
|
20017
|
-
var
|
20021
|
+
var cc = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
20018
20022
|
function rH(r) {
|
20019
20023
|
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
20020
20024
|
}
|
@@ -20041,7 +20045,7 @@ function iH() {
|
|
20041
20045
|
["partial", pe],
|
20042
20046
|
["partialRight", Me],
|
20043
20047
|
["rearg", ft]
|
20044
|
-
], Bo = "[object Arguments]",
|
20048
|
+
], Bo = "[object Arguments]", rs = "[object Array]", fC = "[object AsyncFunction]", Ki = "[object Boolean]", zi = "[object Date]", gC = "[object DOMException]", os = "[object Error]", is = "[object Function]", yf = "[object GeneratorFunction]", Bn = "[object Map]", Vi = "[object Number]", mC = "[object Null]", wr = "[object Object]", wf = "[object Promise]", pC = "[object Proxy]", Wi = "[object RegExp]", $n = "[object Set]", qi = "[object String]", as = "[object Symbol]", vC = "[object Undefined]", Gi = "[object WeakMap]", yC = "[object WeakSet]", ji = "[object ArrayBuffer]", $o = "[object DataView]", Sl = "[object Float32Array]", Il = "[object Float64Array]", Rl = "[object Int8Array]", kl = "[object Int16Array]", Ol = "[object Int32Array]", Pl = "[object Uint8Array]", Ml = "[object Uint8ClampedArray]", Nl = "[object Uint16Array]", Dl = "[object Uint32Array]", wC = /\b__p \+= '';/g, _C = /\b(__p \+=) '' \+/g, CC = /(__e\(.*?\)|\b__t\)) \+\n'';/g, _f = /&(?:amp|lt|gt|quot|#39);/g, Cf = /[&<>"']/g, TC = RegExp(_f.source), EC = RegExp(Cf.source), AC = /<%-([\s\S]+?)%>/g, bC = /<%([\s\S]+?)%>/g, Tf = /<%=([\s\S]+?)%>/g, SC = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, IC = /^\w*$/, RC = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, xl = /[\\^$.*+?()[\]{}|]/g, kC = RegExp(xl.source), Ll = /^\s+/, OC = /\s/, PC = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, MC = /\{\n\/\* \[wrapped with (.+)\] \*/, NC = /,? & /, DC = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, xC = /[()=,{}\[\]\/\s]/, LC = /\\(\\)?/g, UC = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Ef = /\w*$/, HC = /^[-+]0x[0-9a-f]+$/i, FC = /^0b[01]+$/i, BC = /^\[object .+?Constructor\]$/, $C = /^0o[0-7]+$/i, KC = /^(?:0|[1-9]\d*)$/, zC = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, ss = /($^)/, VC = /['\n\r\u2028\u2029\\]/g, cs = "\\ud800-\\udfff", WC = "\\u0300-\\u036f", qC = "\\ufe20-\\ufe2f", GC = "\\u20d0-\\u20ff", Af = WC + qC + GC, bf = "\\u2700-\\u27bf", Sf = "a-z\\xdf-\\xf6\\xf8-\\xff", jC = "\\xac\\xb1\\xd7\\xf7", YC = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", JC = "\\u2000-\\u206f", QC = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", If = "A-Z\\xc0-\\xd6\\xd8-\\xde", Rf = "\\ufe0e\\ufe0f", kf = jC + YC + JC + QC, Ul = "['’]", XC = "[" + cs + "]", Of = "[" + kf + "]", ls = "[" + Af + "]", Pf = "\\d+", ZC = "[" + bf + "]", Mf = "[" + Sf + "]", Nf = "[^" + cs + kf + Pf + bf + Sf + If + "]", Hl = "\\ud83c[\\udffb-\\udfff]", eT = "(?:" + ls + "|" + Hl + ")", Df = "[^" + cs + "]", Fl = "(?:\\ud83c[\\udde6-\\uddff]){2}", Bl = "[\\ud800-\\udbff][\\udc00-\\udfff]", Ko = "[" + If + "]", xf = "\\u200d", Lf = "(?:" + Mf + "|" + Nf + ")", tT = "(?:" + Ko + "|" + Nf + ")", Uf = "(?:" + Ul + "(?:d|ll|m|re|s|t|ve))?", Hf = "(?:" + Ul + "(?:D|LL|M|RE|S|T|VE))?", Ff = eT + "?", Bf = "[" + Rf + "]?", nT = "(?:" + xf + "(?:" + [Df, Fl, Bl].join("|") + ")" + Bf + Ff + ")*", rT = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", oT = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", $f = Bf + Ff + nT, iT = "(?:" + [ZC, Fl, Bl].join("|") + ")" + $f, aT = "(?:" + [Df + ls + "?", ls, Fl, Bl, XC].join("|") + ")", sT = RegExp(Ul, "g"), cT = RegExp(ls, "g"), $l = RegExp(Hl + "(?=" + Hl + ")|" + aT + $f, "g"), lT = RegExp([
|
20045
20049
|
Ko + "?" + Mf + "+" + Uf + "(?=" + [Of, Ko, "$"].join("|") + ")",
|
20046
20050
|
tT + "+" + Hf + "(?=" + [Of, Ko + Lf, "$"].join("|") + ")",
|
20047
20051
|
Ko + "?" + Lf + "+" + Uf,
|
@@ -20050,7 +20054,7 @@ function iH() {
|
|
20050
20054
|
rT,
|
20051
20055
|
Pf,
|
20052
20056
|
iT
|
20053
|
-
].join("|"), "g"), uT = RegExp("[" + xf +
|
20057
|
+
].join("|"), "g"), uT = RegExp("[" + xf + cs + Af + Rf + "]"), dT = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/, hT = [
|
20054
20058
|
"Array",
|
20055
20059
|
"Buffer",
|
20056
20060
|
"DataView",
|
@@ -20082,9 +20086,9 @@ function iH() {
|
|
20082
20086
|
"parseInt",
|
20083
20087
|
"setTimeout"
|
20084
20088
|
], fT = -1, qe = {};
|
20085
|
-
qe[Sl] = qe[Il] = qe[Rl] = qe[kl] = qe[Ol] = qe[Pl] = qe[Ml] = qe[Nl] = qe[Dl] = !0, qe[Bo] = qe[
|
20089
|
+
qe[Sl] = qe[Il] = qe[Rl] = qe[kl] = qe[Ol] = qe[Pl] = qe[Ml] = qe[Nl] = qe[Dl] = !0, qe[Bo] = qe[rs] = qe[ji] = qe[Ki] = qe[$o] = qe[zi] = qe[os] = qe[is] = qe[Bn] = qe[Vi] = qe[wr] = qe[Wi] = qe[$n] = qe[qi] = qe[Gi] = !1;
|
20086
20090
|
var Ve = {};
|
20087
|
-
Ve[Bo] = Ve[
|
20091
|
+
Ve[Bo] = Ve[rs] = Ve[ji] = Ve[$o] = Ve[Ki] = Ve[zi] = Ve[Sl] = Ve[Il] = Ve[Rl] = Ve[kl] = Ve[Ol] = Ve[Bn] = Ve[Vi] = Ve[wr] = Ve[Wi] = Ve[$n] = Ve[qi] = Ve[as] = Ve[Pl] = Ve[Ml] = Ve[Nl] = Ve[Dl] = !0, Ve[os] = Ve[is] = Ve[Gi] = !1;
|
20088
20092
|
var gT = {
|
20089
20093
|
// Latin-1 Supplement block.
|
20090
20094
|
À: "A",
|
@@ -20297,7 +20301,7 @@ function iH() {
|
|
20297
20301
|
"\r": "r",
|
20298
20302
|
"\u2028": "u2028",
|
20299
20303
|
"\u2029": "u2029"
|
20300
|
-
}, yT = parseFloat, wT = parseInt, Kf = typeof
|
20304
|
+
}, yT = parseFloat, wT = parseInt, Kf = typeof cc == "object" && cc && cc.Object === Object && cc, _T = typeof self == "object" && self && self.Object === Object && self, At = Kf || _T || Function("return this")(), Kl = e && !e.nodeType && e, co = Kl && !0 && r && !r.nodeType && r, zf = co && co.exports === Kl, zl = zf && Kf.process, _n = function() {
|
20301
20305
|
try {
|
20302
20306
|
var b = co && co.require && co.require("util").types;
|
20303
20307
|
return b || zl && zl.binding && zl.binding("util");
|
@@ -20347,7 +20351,7 @@ function iH() {
|
|
20347
20351
|
}
|
20348
20352
|
return xe;
|
20349
20353
|
}
|
20350
|
-
function
|
20354
|
+
function us(b, D) {
|
20351
20355
|
var O = b == null ? 0 : b.length;
|
20352
20356
|
return !!O && zo(b, D, 0) > -1;
|
20353
20357
|
}
|
@@ -20399,14 +20403,14 @@ function iH() {
|
|
20399
20403
|
return j = xe, !1;
|
20400
20404
|
}), j;
|
20401
20405
|
}
|
20402
|
-
function
|
20406
|
+
function ds(b, D, O, j) {
|
20403
20407
|
for (var me = b.length, xe = O + (j ? 1 : -1); j ? xe-- : ++xe < me; )
|
20404
20408
|
if (D(b[xe], xe, b))
|
20405
20409
|
return xe;
|
20406
20410
|
return -1;
|
20407
20411
|
}
|
20408
20412
|
function zo(b, D, O) {
|
20409
|
-
return D === D ? HT(b, D, O) :
|
20413
|
+
return D === D ? HT(b, D, O) : ds(b, Xf, O);
|
20410
20414
|
}
|
20411
20415
|
function IT(b, D, O, j) {
|
20412
20416
|
for (var me = O - 1, xe = b.length; ++me < xe; )
|
@@ -20526,7 +20530,7 @@ function iH() {
|
|
20526
20530
|
}
|
20527
20531
|
return xe;
|
20528
20532
|
}
|
20529
|
-
function
|
20533
|
+
function hs(b) {
|
20530
20534
|
var D = -1, O = Array(b.size);
|
20531
20535
|
return b.forEach(function(j) {
|
20532
20536
|
O[++D] = j;
|
@@ -20575,18 +20579,18 @@ function iH() {
|
|
20575
20579
|
}
|
20576
20580
|
var VT = function b(D) {
|
20577
20581
|
D = D == null ? At : qo.defaults(At.Object(), D, qo.pick(At, hT));
|
20578
|
-
var O = D.Array, j = D.Date, me = D.Error, xe = D.Function, gt = D.Math, Ke = D.Object, Zl = D.RegExp, WT = D.String, Tn = D.TypeError,
|
20579
|
-
var o = /[^.]+$/.exec(
|
20582
|
+
var O = D.Array, j = D.Date, me = D.Error, xe = D.Function, gt = D.Math, Ke = D.Object, Zl = D.RegExp, WT = D.String, Tn = D.TypeError, fs = O.prototype, qT = xe.prototype, Go = Ke.prototype, gs = D["__core-js_shared__"], ms = qT.toString, He = Go.hasOwnProperty, GT = 0, ag = function() {
|
20583
|
+
var o = /[^.]+$/.exec(gs && gs.keys && gs.keys.IE_PROTO || "");
|
20580
20584
|
return o ? "Symbol(src)_1." + o : "";
|
20581
|
-
}(),
|
20582
|
-
"^" +
|
20583
|
-
),
|
20585
|
+
}(), ps = Go.toString, jT = ms.call(Ke), YT = At._, JT = Zl(
|
20586
|
+
"^" + ms.call(He).replace(xl, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
20587
|
+
), vs = zf ? D.Buffer : t, Vr = D.Symbol, ys = D.Uint8Array, sg = vs ? vs.allocUnsafe : t, ws = og(Ke.getPrototypeOf, Ke), cg = Ke.create, lg = Go.propertyIsEnumerable, _s = fs.splice, ug = Vr ? Vr.isConcatSpreadable : t, Ji = Vr ? Vr.iterator : t, lo = Vr ? Vr.toStringTag : t, Cs = function() {
|
20584
20588
|
try {
|
20585
20589
|
var o = mo(Ke, "defineProperty");
|
20586
20590
|
return o({}, "", {}), o;
|
20587
20591
|
} catch {
|
20588
20592
|
}
|
20589
|
-
}(), QT = D.clearTimeout !== At.clearTimeout && D.clearTimeout, XT = j && j.now !== At.Date.now && j.now, ZT = D.setTimeout !== At.setTimeout && D.setTimeout,
|
20593
|
+
}(), QT = D.clearTimeout !== At.clearTimeout && D.clearTimeout, XT = j && j.now !== At.Date.now && j.now, ZT = D.setTimeout !== At.setTimeout && D.setTimeout, Ts = gt.ceil, Es = gt.floor, eu = Ke.getOwnPropertySymbols, eE = vs ? vs.isBuffer : t, dg = D.isFinite, tE = fs.join, nE = og(Ke.keys, Ke), mt = gt.max, Dt = gt.min, rE = j.now, oE = D.parseInt, hg = gt.random, iE = fs.reverse, tu = mo(D, "DataView"), Qi = mo(D, "Map"), nu = mo(D, "Promise"), jo = mo(D, "Set"), Xi = mo(D, "WeakMap"), Zi = mo(Ke, "create"), As = Xi && new Xi(), Yo = {}, aE = po(tu), sE = po(Qi), cE = po(nu), lE = po(jo), uE = po(Xi), bs = Vr ? Vr.prototype : t, ea = bs ? bs.valueOf : t, fg = bs ? bs.toString : t;
|
20590
20594
|
function v(o) {
|
20591
20595
|
if (tt(o) && !ve(o) && !(o instanceof Re)) {
|
20592
20596
|
if (o instanceof En)
|
@@ -20609,7 +20613,7 @@ function iH() {
|
|
20609
20613
|
return o.prototype = t, l;
|
20610
20614
|
};
|
20611
20615
|
}();
|
20612
|
-
function
|
20616
|
+
function Ss() {
|
20613
20617
|
}
|
20614
20618
|
function En(o, a) {
|
20615
20619
|
this.__wrapped__ = o, this.__actions__ = [], this.__chain__ = !!a, this.__index__ = 0, this.__values__ = t;
|
@@ -20658,7 +20662,7 @@ function iH() {
|
|
20658
20662
|
*/
|
20659
20663
|
_: v
|
20660
20664
|
}
|
20661
|
-
}, v.prototype =
|
20665
|
+
}, v.prototype = Ss.prototype, v.prototype.constructor = v, En.prototype = Jo(Ss.prototype), En.prototype.constructor = En;
|
20662
20666
|
function Re(o) {
|
20663
20667
|
this.__wrapped__ = o, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ = tn, this.__views__ = [];
|
20664
20668
|
}
|
@@ -20696,7 +20700,7 @@ function iH() {
|
|
20696
20700
|
}
|
20697
20701
|
return se;
|
20698
20702
|
}
|
20699
|
-
Re.prototype = Jo(
|
20703
|
+
Re.prototype = Jo(Ss.prototype), Re.prototype.constructor = Re;
|
20700
20704
|
function uo(o) {
|
20701
20705
|
var a = -1, l = o == null ? 0 : o.length;
|
20702
20706
|
for (this.clear(); ++a < l; ) {
|
@@ -20739,21 +20743,21 @@ function iH() {
|
|
20739
20743
|
this.__data__ = [], this.size = 0;
|
20740
20744
|
}
|
20741
20745
|
function _E(o) {
|
20742
|
-
var a = this.__data__, l =
|
20746
|
+
var a = this.__data__, l = Is(a, o);
|
20743
20747
|
if (l < 0)
|
20744
20748
|
return !1;
|
20745
20749
|
var d = a.length - 1;
|
20746
|
-
return l == d ? a.pop() :
|
20750
|
+
return l == d ? a.pop() : _s.call(a, l, 1), --this.size, !0;
|
20747
20751
|
}
|
20748
20752
|
function CE(o) {
|
20749
|
-
var a = this.__data__, l =
|
20753
|
+
var a = this.__data__, l = Is(a, o);
|
20750
20754
|
return l < 0 ? t : a[l][1];
|
20751
20755
|
}
|
20752
20756
|
function TE(o) {
|
20753
|
-
return
|
20757
|
+
return Is(this.__data__, o) > -1;
|
20754
20758
|
}
|
20755
20759
|
function EE(o, a) {
|
20756
|
-
var l = this.__data__, d =
|
20760
|
+
var l = this.__data__, d = Is(l, o);
|
20757
20761
|
return d < 0 ? (++this.size, l.push([o, a])) : l[d][1] = a, this;
|
20758
20762
|
}
|
20759
20763
|
_r.prototype.clear = wE, _r.prototype.delete = _E, _r.prototype.get = CE, _r.prototype.has = TE, _r.prototype.set = EE;
|
@@ -20772,17 +20776,17 @@ function iH() {
|
|
20772
20776
|
};
|
20773
20777
|
}
|
20774
20778
|
function bE(o) {
|
20775
|
-
var a =
|
20779
|
+
var a = Fs(this, o).delete(o);
|
20776
20780
|
return this.size -= a ? 1 : 0, a;
|
20777
20781
|
}
|
20778
20782
|
function SE(o) {
|
20779
|
-
return
|
20783
|
+
return Fs(this, o).get(o);
|
20780
20784
|
}
|
20781
20785
|
function IE(o) {
|
20782
|
-
return
|
20786
|
+
return Fs(this, o).has(o);
|
20783
20787
|
}
|
20784
20788
|
function RE(o, a) {
|
20785
|
-
var l =
|
20789
|
+
var l = Fs(this, o), d = l.size;
|
20786
20790
|
return l.set(o, a), this.size += l.size == d ? 0 : 1, this;
|
20787
20791
|
}
|
20788
20792
|
Cr.prototype.clear = AE, Cr.prototype.delete = bE, Cr.prototype.get = SE, Cr.prototype.has = IE, Cr.prototype.set = RE;
|
@@ -20841,10 +20845,10 @@ function iH() {
|
|
20841
20845
|
return a ? o[fu(0, a - 1)] : t;
|
20842
20846
|
}
|
20843
20847
|
function LE(o, a) {
|
20844
|
-
return
|
20848
|
+
return Bs(jt(o), fo(a, 0, o.length));
|
20845
20849
|
}
|
20846
20850
|
function UE(o) {
|
20847
|
-
return
|
20851
|
+
return Bs(jt(o));
|
20848
20852
|
}
|
20849
20853
|
function ru(o, a, l) {
|
20850
20854
|
(l !== t && !Vn(o[a], l) || l === t && !(a in o)) && Tr(o, a, l);
|
@@ -20853,7 +20857,7 @@ function iH() {
|
|
20853
20857
|
var d = o[a];
|
20854
20858
|
(!(He.call(o, a) && Vn(d, l)) || l === t && !(a in o)) && Tr(o, a, l);
|
20855
20859
|
}
|
20856
|
-
function
|
20860
|
+
function Is(o, a) {
|
20857
20861
|
for (var l = o.length; l--; )
|
20858
20862
|
if (Vn(o[l][0], a))
|
20859
20863
|
return l;
|
@@ -20871,7 +20875,7 @@ function iH() {
|
|
20871
20875
|
return o && rr(a, Jt(a), o);
|
20872
20876
|
}
|
20873
20877
|
function Tr(o, a, l) {
|
20874
|
-
a == "__proto__" &&
|
20878
|
+
a == "__proto__" && Cs ? Cs(o, a, {
|
20875
20879
|
configurable: !0,
|
20876
20880
|
enumerable: !0,
|
20877
20881
|
value: l,
|
@@ -20897,7 +20901,7 @@ function iH() {
|
|
20897
20901
|
if (_ = IA(o), !T)
|
20898
20902
|
return jt(o, _);
|
20899
20903
|
} else {
|
20900
|
-
var F = xt(o), q = F ==
|
20904
|
+
var F = xt(o), q = F == is || F == yf;
|
20901
20905
|
if (Yr(o))
|
20902
20906
|
return Bg(o, T);
|
20903
20907
|
if (F == wr || F == Bo || q && !m) {
|
@@ -20948,7 +20952,7 @@ function iH() {
|
|
20948
20952
|
}, a);
|
20949
20953
|
}
|
20950
20954
|
function na(o, a, l, d) {
|
20951
|
-
var m = -1, w =
|
20955
|
+
var m = -1, w = us, _ = !0, T = o.length, I = [], L = a.length;
|
20952
20956
|
if (!T)
|
20953
20957
|
return I;
|
20954
20958
|
l && (a = Je(a, rn(l))), d ? (w = Vl, _ = !1) : a.length >= i && (w = Yi, _ = !1, a = new ho(a));
|
@@ -20971,7 +20975,7 @@ function iH() {
|
|
20971
20975
|
return l = !!a(d, m, w), l;
|
20972
20976
|
}), l;
|
20973
20977
|
}
|
20974
|
-
function
|
20978
|
+
function Rs(o, a, l) {
|
20975
20979
|
for (var d = -1, m = o.length; ++d < m; ) {
|
20976
20980
|
var w = o[d], _ = a(w);
|
20977
20981
|
if (_ != null && (T === t ? _ === _ && !an(_) : l(_, T)))
|
@@ -21006,7 +21010,7 @@ function iH() {
|
|
21006
21010
|
function au(o, a) {
|
21007
21011
|
return o && Cg(o, a, wt);
|
21008
21012
|
}
|
21009
|
-
function
|
21013
|
+
function ks(o, a) {
|
21010
21014
|
return $r(a, function(l) {
|
21011
21015
|
return Sr(o[l]);
|
21012
21016
|
});
|
@@ -21037,7 +21041,7 @@ function iH() {
|
|
21037
21041
|
return o >= Dt(a, l) && o < mt(a, l);
|
21038
21042
|
}
|
21039
21043
|
function cu(o, a, l) {
|
21040
|
-
for (var d = l ? Vl :
|
21044
|
+
for (var d = l ? Vl : us, m = o[0].length, w = o.length, _ = w, T = O(w), I = 1 / 0, L = []; _--; ) {
|
21041
21045
|
var U = o[_];
|
21042
21046
|
_ && a && (U = Je(U, rn(a))), I = Dt(U.length, I), T[_] = !l && (a || m >= 120 && U.length >= 120) ? new ho(_ && U) : t;
|
21043
21047
|
}
|
@@ -21080,7 +21084,7 @@ function iH() {
|
|
21080
21084
|
return o === a ? !0 : o == null || a == null || !tt(o) && !tt(a) ? o !== o && a !== a : YE(o, a, l, d, oa, m);
|
21081
21085
|
}
|
21082
21086
|
function YE(o, a, l, d, m, w) {
|
21083
|
-
var _ = ve(o), T = ve(a), I = _ ?
|
21087
|
+
var _ = ve(o), T = ve(a), I = _ ? rs : xt(o), L = T ? rs : xt(a);
|
21084
21088
|
I = I == Bo ? wr : I, L = L == Bo ? wr : L;
|
21085
21089
|
var U = I == wr, F = L == wr, q = I == L;
|
21086
21090
|
if (q && Yr(o)) {
|
@@ -21140,7 +21144,7 @@ function iH() {
|
|
21140
21144
|
return tt(o) && xt(o) == $n;
|
21141
21145
|
}
|
21142
21146
|
function ZE(o) {
|
21143
|
-
return tt(o) &&
|
21147
|
+
return tt(o) && qs(o.length) && !!qe[Kt(o)];
|
21144
21148
|
}
|
21145
21149
|
function bg(o) {
|
21146
21150
|
return typeof o == "function" ? o : o == null ? Qt : typeof o == "object" ? ve(o) ? Rg(o[0], o[1]) : Ig(o) : Gm(o);
|
@@ -21182,10 +21186,10 @@ function iH() {
|
|
21182
21186
|
return d === t && d === a ? Fu(l, o) : oa(a, d, C | S);
|
21183
21187
|
};
|
21184
21188
|
}
|
21185
|
-
function
|
21189
|
+
function Os(o, a, l, d, m) {
|
21186
21190
|
o !== a && iu(a, function(w, _) {
|
21187
21191
|
if (m || (m = new zn()), Ze(w))
|
21188
|
-
tA(o, a, _, l,
|
21192
|
+
tA(o, a, _, l, Os, d, m);
|
21189
21193
|
else {
|
21190
21194
|
var T = d ? d(Ou(o, _), w, _ + "", o, a, m) : t;
|
21191
21195
|
T === t && (T = w), ru(o, _, T);
|
@@ -21249,7 +21253,7 @@ function iH() {
|
|
21249
21253
|
var m = d ? IT : zo, w = -1, _ = a.length, T = o;
|
21250
21254
|
for (o === a && (a = jt(a)), l && (T = Je(o, rn(l))); ++w < _; )
|
21251
21255
|
for (var I = 0, L = a[w], U = l ? l(L) : L; (I = m(T, U, I, d)) > -1; )
|
21252
|
-
T !== o &&
|
21256
|
+
T !== o && _s.call(T, I, 1), _s.call(o, I, 1);
|
21253
21257
|
return o;
|
21254
21258
|
}
|
21255
21259
|
function Mg(o, a) {
|
@@ -21257,16 +21261,16 @@ function iH() {
|
|
21257
21261
|
var m = a[l];
|
21258
21262
|
if (l == d || m !== w) {
|
21259
21263
|
var w = m;
|
21260
|
-
br(m) ?
|
21264
|
+
br(m) ? _s.call(o, m, 1) : pu(o, m);
|
21261
21265
|
}
|
21262
21266
|
}
|
21263
21267
|
return o;
|
21264
21268
|
}
|
21265
21269
|
function fu(o, a) {
|
21266
|
-
return o +
|
21270
|
+
return o + Es(hg() * (a - o + 1));
|
21267
21271
|
}
|
21268
21272
|
function oA(o, a, l, d) {
|
21269
|
-
for (var m = -1, w = mt(
|
21273
|
+
for (var m = -1, w = mt(Ts((a - o) / (l || 1)), 0), _ = O(w); w--; )
|
21270
21274
|
_[d ? w : ++m] = o, o += l;
|
21271
21275
|
return _;
|
21272
21276
|
}
|
@@ -21275,7 +21279,7 @@ function iH() {
|
|
21275
21279
|
if (!o || a < 1 || a > ct)
|
21276
21280
|
return l;
|
21277
21281
|
do
|
21278
|
-
a % 2 && (l += o), a =
|
21282
|
+
a % 2 && (l += o), a = Es(a / 2), a && (o += o);
|
21279
21283
|
while (a);
|
21280
21284
|
return l;
|
21281
21285
|
}
|
@@ -21287,7 +21291,7 @@ function iH() {
|
|
21287
21291
|
}
|
21288
21292
|
function aA(o, a) {
|
21289
21293
|
var l = ti(o);
|
21290
|
-
return
|
21294
|
+
return Bs(l, fo(a, 0, l.length));
|
21291
21295
|
}
|
21292
21296
|
function ia(o, a, l, d) {
|
21293
21297
|
if (!Ze(o))
|
@@ -21305,10 +21309,10 @@ function iH() {
|
|
21305
21309
|
}
|
21306
21310
|
return o;
|
21307
21311
|
}
|
21308
|
-
var Ng =
|
21309
|
-
return
|
21310
|
-
} : Qt, sA =
|
21311
|
-
return
|
21312
|
+
var Ng = As ? function(o, a) {
|
21313
|
+
return As.set(o, a), o;
|
21314
|
+
} : Qt, sA = Cs ? function(o, a) {
|
21315
|
+
return Cs(o, "toString", {
|
21312
21316
|
configurable: !0,
|
21313
21317
|
enumerable: !1,
|
21314
21318
|
value: $u(a),
|
@@ -21316,7 +21320,7 @@ function iH() {
|
|
21316
21320
|
});
|
21317
21321
|
} : Qt;
|
21318
21322
|
function cA(o) {
|
21319
|
-
return
|
21323
|
+
return Bs(ti(o));
|
21320
21324
|
}
|
21321
21325
|
function bn(o, a, l) {
|
21322
21326
|
var d = -1, m = o.length;
|
@@ -21331,7 +21335,7 @@ function iH() {
|
|
21331
21335
|
return l = a(d, m, w), !l;
|
21332
21336
|
}), !!l;
|
21333
21337
|
}
|
21334
|
-
function
|
21338
|
+
function Ps(o, a, l) {
|
21335
21339
|
var d = 0, m = o == null ? d : o.length;
|
21336
21340
|
if (typeof a == "number" && a === a && m <= dC) {
|
21337
21341
|
for (; d < m; ) {
|
@@ -21348,7 +21352,7 @@ function iH() {
|
|
21348
21352
|
return 0;
|
21349
21353
|
a = l(a);
|
21350
21354
|
for (var _ = a !== a, T = a === null, I = an(a), L = a === t; m < w; ) {
|
21351
|
-
var U =
|
21355
|
+
var U = Es((m + w) / 2), F = l(o[U]), q = F !== t, Z = F === null, se = F === F, Ee = an(F);
|
21352
21356
|
if (_)
|
21353
21357
|
var ce = d || se;
|
21354
21358
|
else L ? ce = se && (d || q) : T ? ce = se && q && (d || !Z) : I ? ce = se && q && !Z && (d || !Ee) : Z || Ee ? ce = !1 : ce = d ? F <= a : F < a;
|
@@ -21380,13 +21384,13 @@ function iH() {
|
|
21380
21384
|
return a == "0" && 1 / o == -Gt ? "-0" : a;
|
21381
21385
|
}
|
21382
21386
|
function qr(o, a, l) {
|
21383
|
-
var d = -1, m =
|
21387
|
+
var d = -1, m = us, w = o.length, _ = !0, T = [], I = T;
|
21384
21388
|
if (l)
|
21385
21389
|
_ = !1, m = Vl;
|
21386
21390
|
else if (w >= i) {
|
21387
21391
|
var L = a ? null : _A(o);
|
21388
21392
|
if (L)
|
21389
|
-
return
|
21393
|
+
return hs(L);
|
21390
21394
|
_ = !1, m = Yi, I = new ho();
|
21391
21395
|
} else
|
21392
21396
|
I = a ? [] : T;
|
@@ -21408,7 +21412,7 @@ function iH() {
|
|
21408
21412
|
function Lg(o, a, l, d) {
|
21409
21413
|
return ia(o, a, l(go(o, a)), d);
|
21410
21414
|
}
|
21411
|
-
function
|
21415
|
+
function Ms(o, a, l, d) {
|
21412
21416
|
for (var m = o.length, w = d ? m : -1; (d ? w-- : ++w < m) && a(o[w], w, o); )
|
21413
21417
|
;
|
21414
21418
|
return l ? bn(o, d ? 0 : w, d ? w + 1 : m) : bn(o, d ? w + 1 : 0, d ? m : w);
|
@@ -21460,7 +21464,7 @@ function iH() {
|
|
21460
21464
|
}
|
21461
21465
|
function _u(o) {
|
21462
21466
|
var a = new o.constructor(o.byteLength);
|
21463
|
-
return new
|
21467
|
+
return new ys(a).set(new ys(o)), a;
|
21464
21468
|
}
|
21465
21469
|
function dA(o, a) {
|
21466
21470
|
var l = a ? _u(o.buffer) : o.buffer;
|
@@ -21538,7 +21542,7 @@ function iH() {
|
|
21538
21542
|
function pA(o, a) {
|
21539
21543
|
return rr(o, rm(o), a);
|
21540
21544
|
}
|
21541
|
-
function
|
21545
|
+
function Ns(o, a) {
|
21542
21546
|
return function(l, d) {
|
21543
21547
|
var m = ve(l) ? CT : HE, w = a ? a() : {};
|
21544
21548
|
return m(l, o, ae(d, 2), w);
|
@@ -21630,7 +21634,7 @@ function iH() {
|
|
21630
21634
|
return Xg(
|
21631
21635
|
o,
|
21632
21636
|
a,
|
21633
|
-
|
21637
|
+
Ds,
|
21634
21638
|
m.placeholder,
|
21635
21639
|
t,
|
21636
21640
|
_,
|
@@ -21664,13 +21668,13 @@ function iH() {
|
|
21664
21668
|
var w = a[d];
|
21665
21669
|
if (typeof w != "function")
|
21666
21670
|
throw new Tn(c);
|
21667
|
-
if (m && !_ &&
|
21671
|
+
if (m && !_ && Hs(w) == "wrapper")
|
21668
21672
|
var _ = new En([], !0);
|
21669
21673
|
}
|
21670
21674
|
for (d = _ ? d : l; ++d < l; ) {
|
21671
21675
|
w = a[d];
|
21672
|
-
var T =
|
21673
|
-
I && ku(I[0]) && I[1] == (G | $ | pe | ft) && !I[4].length && I[9] == 1 ? _ = _[
|
21676
|
+
var T = Hs(w), I = T == "wrapper" ? bu(w) : t;
|
21677
|
+
I && ku(I[0]) && I[1] == (G | $ | pe | ft) && !I[4].length && I[9] == 1 ? _ = _[Hs(I[0])].apply(_, I[3]) : _ = w.length == 1 && ku(w) ? _[T]() : _.thru(w);
|
21674
21678
|
}
|
21675
21679
|
return function() {
|
21676
21680
|
var L = arguments, U = L[0];
|
@@ -21682,7 +21686,7 @@ function iH() {
|
|
21682
21686
|
};
|
21683
21687
|
});
|
21684
21688
|
}
|
21685
|
-
function
|
21689
|
+
function Ds(o, a, l, d, m, w, _, T, I, L) {
|
21686
21690
|
var U = a & G, F = a & P, q = a & W, Z = a & ($ | ie), se = a & Ne, Ee = q ? t : aa(o);
|
21687
21691
|
function ce() {
|
21688
21692
|
for (var Ie = arguments.length, ke = O(Ie), sn = Ie; sn--; )
|
@@ -21694,7 +21698,7 @@ function iH() {
|
|
21694
21698
|
return Xg(
|
21695
21699
|
o,
|
21696
21700
|
a,
|
21697
|
-
|
21701
|
+
Ds,
|
21698
21702
|
ce.placeholder,
|
21699
21703
|
l,
|
21700
21704
|
ke,
|
@@ -21714,7 +21718,7 @@ function iH() {
|
|
21714
21718
|
return qE(l, o, a(d), {});
|
21715
21719
|
};
|
21716
21720
|
}
|
21717
|
-
function
|
21721
|
+
function xs(o, a) {
|
21718
21722
|
return function(l, d) {
|
21719
21723
|
var m;
|
21720
21724
|
if (l === t && d === t)
|
@@ -21737,12 +21741,12 @@ function iH() {
|
|
21737
21741
|
});
|
21738
21742
|
});
|
21739
21743
|
}
|
21740
|
-
function
|
21744
|
+
function Ls(o, a) {
|
21741
21745
|
a = a === t ? " " : on(a);
|
21742
21746
|
var l = a.length;
|
21743
21747
|
if (l < 2)
|
21744
21748
|
return l ? gu(a, o) : a;
|
21745
|
-
var d = gu(a,
|
21749
|
+
var d = gu(a, Ts(o / Wo(a)));
|
21746
21750
|
return Vo(a) ? jr(Kn(d), 0, o).join("") : d.slice(0, o);
|
21747
21751
|
}
|
21748
21752
|
function wA(o, a, l, d) {
|
@@ -21761,7 +21765,7 @@ function iH() {
|
|
21761
21765
|
return d && typeof d != "number" && zt(a, l, d) && (l = d = t), a = Ir(a), l === t ? (l = a, a = 0) : l = Ir(l), d = d === t ? a < l ? 1 : -1 : Ir(d), oA(a, l, d, o);
|
21762
21766
|
};
|
21763
21767
|
}
|
21764
|
-
function
|
21768
|
+
function Us(o) {
|
21765
21769
|
return function(a, l) {
|
21766
21770
|
return typeof a == "string" && typeof l == "string" || (a = In(a), l = In(l)), o(a, l);
|
21767
21771
|
};
|
@@ -21793,7 +21797,7 @@ function iH() {
|
|
21793
21797
|
return a(l);
|
21794
21798
|
};
|
21795
21799
|
}
|
21796
|
-
var _A = jo && 1 /
|
21800
|
+
var _A = jo && 1 / hs(new jo([, -0]))[1] == Gt ? function(o) {
|
21797
21801
|
return new jo(o);
|
21798
21802
|
} : Vu;
|
21799
21803
|
function Zg(o) {
|
@@ -21825,7 +21829,7 @@ function iH() {
|
|
21825
21829
|
];
|
21826
21830
|
if (q && xA(Z, q), o = Z[0], a = Z[1], l = Z[2], d = Z[3], m = Z[4], T = Z[9] = Z[9] === t ? I ? 0 : o.length : mt(Z[9] - L, 0), !T && a & ($ | ie) && (a &= ~($ | ie)), !a || a == P)
|
21827
21831
|
var se = vA(o, a, l);
|
21828
|
-
else a == $ || a == ie ? se = yA(o, a, T) : (a == pe || a == (P | pe)) && !m.length ? se = wA(o, a, l, d) : se =
|
21832
|
+
else a == $ || a == ie ? se = yA(o, a, T) : (a == pe || a == (P | pe)) && !m.length ? se = wA(o, a, l, d) : se = Ds.apply(t, Z);
|
21829
21833
|
var Ee = q ? Ng : um;
|
21830
21834
|
return dm(Ee(se, Z), o, a);
|
21831
21835
|
}
|
@@ -21833,7 +21837,7 @@ function iH() {
|
|
21833
21837
|
return o === t || Vn(o, Go[l]) && !He.call(d, l) ? a : o;
|
21834
21838
|
}
|
21835
21839
|
function tm(o, a, l, d, m, w) {
|
21836
|
-
return Ze(o) && Ze(a) && (w.set(a, o),
|
21840
|
+
return Ze(o) && Ze(a) && (w.set(a, o), Os(o, a, t, tm, w), w.delete(a)), o;
|
21837
21841
|
}
|
21838
21842
|
function CA(o) {
|
21839
21843
|
return la(o) ? t : o;
|
@@ -21878,12 +21882,12 @@ function iH() {
|
|
21878
21882
|
return !1;
|
21879
21883
|
o = o.buffer, a = a.buffer;
|
21880
21884
|
case ji:
|
21881
|
-
return !(o.byteLength != a.byteLength || !w(new
|
21885
|
+
return !(o.byteLength != a.byteLength || !w(new ys(o), new ys(a)));
|
21882
21886
|
case Ki:
|
21883
21887
|
case zi:
|
21884
21888
|
case Vi:
|
21885
21889
|
return Vn(+o, +a);
|
21886
|
-
case
|
21890
|
+
case os:
|
21887
21891
|
return o.name == a.name && o.message == a.message;
|
21888
21892
|
case Wi:
|
21889
21893
|
case qi:
|
@@ -21892,7 +21896,7 @@ function iH() {
|
|
21892
21896
|
var T = Xl;
|
21893
21897
|
case $n:
|
21894
21898
|
var I = d & C;
|
21895
|
-
if (T || (T =
|
21899
|
+
if (T || (T = hs), o.size != a.size && !I)
|
21896
21900
|
return !1;
|
21897
21901
|
var L = _.get(o);
|
21898
21902
|
if (L)
|
@@ -21900,7 +21904,7 @@ function iH() {
|
|
21900
21904
|
d |= S, _.set(o, a);
|
21901
21905
|
var U = nm(T(o), T(a), d, m, w, _);
|
21902
21906
|
return _.delete(o), U;
|
21903
|
-
case
|
21907
|
+
case as:
|
21904
21908
|
if (ea)
|
21905
21909
|
return ea.call(o) == ea.call(a);
|
21906
21910
|
}
|
@@ -21946,10 +21950,10 @@ function iH() {
|
|
21946
21950
|
function Au(o) {
|
21947
21951
|
return Tg(o, Jt, rm);
|
21948
21952
|
}
|
21949
|
-
var bu =
|
21950
|
-
return
|
21953
|
+
var bu = As ? function(o) {
|
21954
|
+
return As.get(o);
|
21951
21955
|
} : Vu;
|
21952
|
-
function
|
21956
|
+
function Hs(o) {
|
21953
21957
|
for (var a = o.name + "", l = Yo[a], d = He.call(Yo, a) ? l.length : 0; d--; ) {
|
21954
21958
|
var m = l[d], w = m.func;
|
21955
21959
|
if (w == null || w == o)
|
@@ -21965,7 +21969,7 @@ function iH() {
|
|
21965
21969
|
var o = v.iteratee || Ku;
|
21966
21970
|
return o = o === Ku ? bg : o, arguments.length ? o(arguments[0], arguments[1]) : o;
|
21967
21971
|
}
|
21968
|
-
function
|
21972
|
+
function Fs(o, a) {
|
21969
21973
|
var l = o.__data__;
|
21970
21974
|
return PA(a) ? l[typeof a == "string" ? "string" : "hash"] : l.map;
|
21971
21975
|
}
|
@@ -21987,7 +21991,7 @@ function iH() {
|
|
21987
21991
|
var d = !0;
|
21988
21992
|
} catch {
|
21989
21993
|
}
|
21990
|
-
var m =
|
21994
|
+
var m = ps.call(o);
|
21991
21995
|
return d && (a ? o[lo] = l : delete o[lo]), m;
|
21992
21996
|
}
|
21993
21997
|
var Iu = eu ? function(o) {
|
@@ -21996,7 +22000,7 @@ function iH() {
|
|
21996
22000
|
}));
|
21997
22001
|
} : Wu, rm = eu ? function(o) {
|
21998
22002
|
for (var a = []; o; )
|
21999
|
-
Kr(a, Iu(o)), o =
|
22003
|
+
Kr(a, Iu(o)), o = ws(o);
|
22000
22004
|
return a;
|
22001
22005
|
} : Wu, xt = Kt;
|
22002
22006
|
(tu && xt(new tu(new ArrayBuffer(1))) != $o || Qi && xt(new Qi()) != Bn || nu && xt(nu.resolve()) != wf || jo && xt(new jo()) != $n || Xi && xt(new Xi()) != Gi) && (xt = function(o) {
|
@@ -22048,14 +22052,14 @@ function iH() {
|
|
22048
22052
|
break;
|
22049
22053
|
o = o[_];
|
22050
22054
|
}
|
22051
|
-
return w || ++d != m ? w : (m = o == null ? 0 : o.length, !!m &&
|
22055
|
+
return w || ++d != m ? w : (m = o == null ? 0 : o.length, !!m && qs(m) && br(_, m) && (ve(o) || vo(o)));
|
22052
22056
|
}
|
22053
22057
|
function IA(o) {
|
22054
22058
|
var a = o.length, l = new o.constructor(a);
|
22055
22059
|
return a && typeof o[0] == "string" && He.call(o, "index") && (l.index = o.index, l.input = o.input), l;
|
22056
22060
|
}
|
22057
22061
|
function im(o) {
|
22058
|
-
return typeof o.constructor == "function" && !sa(o) ? Jo(
|
22062
|
+
return typeof o.constructor == "function" && !sa(o) ? Jo(ws(o)) : {};
|
22059
22063
|
}
|
22060
22064
|
function RA(o, a, l) {
|
22061
22065
|
var d = o.constructor;
|
@@ -22086,7 +22090,7 @@ function iH() {
|
|
22086
22090
|
return hA(o);
|
22087
22091
|
case $n:
|
22088
22092
|
return new d();
|
22089
|
-
case
|
22093
|
+
case as:
|
22090
22094
|
return fA(o);
|
22091
22095
|
}
|
22092
22096
|
}
|
@@ -22123,7 +22127,7 @@ function iH() {
|
|
22123
22127
|
return a == "string" || a == "number" || a == "symbol" || a == "boolean" ? o !== "__proto__" : o === null;
|
22124
22128
|
}
|
22125
22129
|
function ku(o) {
|
22126
|
-
var a =
|
22130
|
+
var a = Hs(o), l = v[a];
|
22127
22131
|
if (typeof l != "function" || !(a in Re.prototype))
|
22128
22132
|
return !1;
|
22129
22133
|
if (o === l)
|
@@ -22134,7 +22138,7 @@ function iH() {
|
|
22134
22138
|
function MA(o) {
|
22135
22139
|
return !!ag && ag in o;
|
22136
22140
|
}
|
22137
|
-
var NA =
|
22141
|
+
var NA = gs ? Sr : qu;
|
22138
22142
|
function sa(o) {
|
22139
22143
|
var a = o && o.constructor, l = typeof a == "function" && a.prototype || Go;
|
22140
22144
|
return o === l;
|
@@ -22148,7 +22152,7 @@ function iH() {
|
|
22148
22152
|
};
|
22149
22153
|
}
|
22150
22154
|
function DA(o) {
|
22151
|
-
var a =
|
22155
|
+
var a = Vs(o, function(d) {
|
22152
22156
|
return l.size === f && l.clear(), d;
|
22153
22157
|
}), l = a.cache;
|
22154
22158
|
return a;
|
@@ -22173,7 +22177,7 @@ function iH() {
|
|
22173
22177
|
return a;
|
22174
22178
|
}
|
22175
22179
|
function UA(o) {
|
22176
|
-
return
|
22180
|
+
return ps.call(o);
|
22177
22181
|
}
|
22178
22182
|
function cm(o, a, l) {
|
22179
22183
|
return a = mt(a === t ? o.length - 1 : a, 0), function() {
|
@@ -22218,7 +22222,7 @@ function iH() {
|
|
22218
22222
|
return o.apply(t, arguments);
|
22219
22223
|
};
|
22220
22224
|
}
|
22221
|
-
function
|
22225
|
+
function Bs(o, a) {
|
22222
22226
|
var l = -1, d = o.length, m = d - 1;
|
22223
22227
|
for (a = a === t ? d : a; ++l < a; ) {
|
22224
22228
|
var w = fu(l, m), _ = o[w];
|
@@ -22241,7 +22245,7 @@ function iH() {
|
|
22241
22245
|
function po(o) {
|
22242
22246
|
if (o != null) {
|
22243
22247
|
try {
|
22244
|
-
return
|
22248
|
+
return ms.call(o);
|
22245
22249
|
} catch {
|
22246
22250
|
}
|
22247
22251
|
try {
|
@@ -22254,7 +22258,7 @@ function iH() {
|
|
22254
22258
|
function FA(o, a) {
|
22255
22259
|
return Cn(hC, function(l) {
|
22256
22260
|
var d = "_." + l[0];
|
22257
|
-
a & l[1] && !
|
22261
|
+
a & l[1] && !us(o, d) && o.push(d);
|
22258
22262
|
}), o.sort();
|
22259
22263
|
}
|
22260
22264
|
function gm(o) {
|
@@ -22268,7 +22272,7 @@ function iH() {
|
|
22268
22272
|
var d = o == null ? 0 : o.length;
|
22269
22273
|
if (!d || a < 1)
|
22270
22274
|
return [];
|
22271
|
-
for (var m = 0, w = 0, _ = O(
|
22275
|
+
for (var m = 0, w = 0, _ = O(Ts(d / a)); m < d; )
|
22272
22276
|
_[w++] = bn(o, m, m += a);
|
22273
22277
|
return _;
|
22274
22278
|
}
|
@@ -22305,10 +22309,10 @@ function iH() {
|
|
22305
22309
|
return d ? (a = l || a === t ? 1 : Ce(a), a = d - a, bn(o, 0, a < 0 ? 0 : a)) : [];
|
22306
22310
|
}
|
22307
22311
|
function jA(o, a) {
|
22308
|
-
return o && o.length ?
|
22312
|
+
return o && o.length ? Ms(o, ae(a, 3), !0, !0) : [];
|
22309
22313
|
}
|
22310
22314
|
function YA(o, a) {
|
22311
|
-
return o && o.length ?
|
22315
|
+
return o && o.length ? Ms(o, ae(a, 3), !0) : [];
|
22312
22316
|
}
|
22313
22317
|
function JA(o, a, l, d) {
|
22314
22318
|
var m = o == null ? 0 : o.length;
|
@@ -22319,14 +22323,14 @@ function iH() {
|
|
22319
22323
|
if (!d)
|
22320
22324
|
return -1;
|
22321
22325
|
var m = l == null ? 0 : Ce(l);
|
22322
|
-
return m < 0 && (m = mt(d + m, 0)),
|
22326
|
+
return m < 0 && (m = mt(d + m, 0)), ds(o, ae(a, 3), m);
|
22323
22327
|
}
|
22324
22328
|
function pm(o, a, l) {
|
22325
22329
|
var d = o == null ? 0 : o.length;
|
22326
22330
|
if (!d)
|
22327
22331
|
return -1;
|
22328
22332
|
var m = d - 1;
|
22329
|
-
return l !== t && (m = Ce(l), m = l < 0 ? mt(d + m, 0) : Dt(m, d - 1)),
|
22333
|
+
return l !== t && (m = Ce(l), m = l < 0 ? mt(d + m, 0) : Dt(m, d - 1)), ds(o, ae(a, 3), m, !0);
|
22330
22334
|
}
|
22331
22335
|
function vm(o) {
|
22332
22336
|
var a = o == null ? 0 : o.length;
|
@@ -22383,7 +22387,7 @@ function iH() {
|
|
22383
22387
|
if (!d)
|
22384
22388
|
return -1;
|
22385
22389
|
var m = d;
|
22386
|
-
return l !== t && (m = Ce(l), m = m < 0 ? mt(d + m, 0) : Dt(m, d - 1)), a === a ? FT(o, a, m) :
|
22390
|
+
return l !== t && (m = Ce(l), m = m < 0 ? mt(d + m, 0) : Dt(m, d - 1)), a === a ? FT(o, a, m) : ds(o, Xf, m, !0);
|
22387
22391
|
}
|
22388
22392
|
function sb(o, a) {
|
22389
22393
|
return o && o.length ? kg(o, Ce(a)) : t;
|
@@ -22423,7 +22427,7 @@ function iH() {
|
|
22423
22427
|
return d ? (l && typeof l != "number" && zt(o, a, l) ? (a = 0, l = d) : (a = a == null ? 0 : Ce(a), l = l === t ? d : Ce(l)), bn(o, a, l)) : [];
|
22424
22428
|
}
|
22425
22429
|
function gb(o, a) {
|
22426
|
-
return
|
22430
|
+
return Ps(o, a);
|
22427
22431
|
}
|
22428
22432
|
function mb(o, a, l) {
|
22429
22433
|
return mu(o, a, ae(l, 2));
|
@@ -22431,14 +22435,14 @@ function iH() {
|
|
22431
22435
|
function pb(o, a) {
|
22432
22436
|
var l = o == null ? 0 : o.length;
|
22433
22437
|
if (l) {
|
22434
|
-
var d =
|
22438
|
+
var d = Ps(o, a);
|
22435
22439
|
if (d < l && Vn(o[d], a))
|
22436
22440
|
return d;
|
22437
22441
|
}
|
22438
22442
|
return -1;
|
22439
22443
|
}
|
22440
22444
|
function vb(o, a) {
|
22441
|
-
return
|
22445
|
+
return Ps(o, a, !0);
|
22442
22446
|
}
|
22443
22447
|
function yb(o, a, l) {
|
22444
22448
|
return mu(o, a, ae(l, 2), !0);
|
@@ -22446,7 +22450,7 @@ function iH() {
|
|
22446
22450
|
function wb(o, a) {
|
22447
22451
|
var l = o == null ? 0 : o.length;
|
22448
22452
|
if (l) {
|
22449
|
-
var d =
|
22453
|
+
var d = Ps(o, a, !0) - 1;
|
22450
22454
|
if (Vn(o[d], a))
|
22451
22455
|
return d;
|
22452
22456
|
}
|
@@ -22470,10 +22474,10 @@ function iH() {
|
|
22470
22474
|
return d ? (a = l || a === t ? 1 : Ce(a), a = d - a, bn(o, a < 0 ? 0 : a, d)) : [];
|
22471
22475
|
}
|
22472
22476
|
function bb(o, a) {
|
22473
|
-
return o && o.length ?
|
22477
|
+
return o && o.length ? Ms(o, ae(a, 3), !1, !0) : [];
|
22474
22478
|
}
|
22475
22479
|
function Sb(o, a) {
|
22476
|
-
return o && o.length ?
|
22480
|
+
return o && o.length ? Ms(o, ae(a, 3)) : [];
|
22477
22481
|
}
|
22478
22482
|
var Ib = Ae(function(o) {
|
22479
22483
|
return qr(bt(o, 1, it, !0));
|
@@ -22540,7 +22544,7 @@ function iH() {
|
|
22540
22544
|
function $b(o, a) {
|
22541
22545
|
return a(o), o;
|
22542
22546
|
}
|
22543
|
-
function
|
22547
|
+
function $s(o, a) {
|
22544
22548
|
return a(o);
|
22545
22549
|
}
|
22546
22550
|
var Kb = Ar(function(o) {
|
@@ -22548,7 +22552,7 @@ function iH() {
|
|
22548
22552
|
return ou(w, o);
|
22549
22553
|
};
|
22550
22554
|
return a > 1 || this.__actions__.length || !(d instanceof Re) || !br(l) ? this.thru(m) : (d = d.slice(l, +l + (a ? 1 : 0)), d.__actions__.push({
|
22551
|
-
func:
|
22555
|
+
func: $s,
|
22552
22556
|
args: [m],
|
22553
22557
|
thisArg: t
|
22554
22558
|
}), new En(d, this.__chain__).thru(function(w) {
|
@@ -22570,7 +22574,7 @@ function iH() {
|
|
22570
22574
|
return this;
|
22571
22575
|
}
|
22572
22576
|
function Gb(o) {
|
22573
|
-
for (var a, l = this; l instanceof
|
22577
|
+
for (var a, l = this; l instanceof Ss; ) {
|
22574
22578
|
var d = gm(l);
|
22575
22579
|
d.__index__ = 0, d.__values__ = t, a ? m.__wrapped__ = d : a = d;
|
22576
22580
|
var m = d;
|
@@ -22583,7 +22587,7 @@ function iH() {
|
|
22583
22587
|
if (o instanceof Re) {
|
22584
22588
|
var a = o;
|
22585
22589
|
return this.__actions__.length && (a = new Re(this)), a = a.reverse(), a.__actions__.push({
|
22586
|
-
func:
|
22590
|
+
func: $s,
|
22587
22591
|
args: [Mu],
|
22588
22592
|
thisArg: t
|
22589
22593
|
}), new En(a, this.__chain__);
|
@@ -22593,7 +22597,7 @@ function iH() {
|
|
22593
22597
|
function Yb() {
|
22594
22598
|
return Ug(this.__wrapped__, this.__actions__);
|
22595
22599
|
}
|
22596
|
-
var Jb =
|
22600
|
+
var Jb = Ns(function(o, a, l) {
|
22597
22601
|
He.call(o, l) ? ++o[l] : Tr(o, l, 1);
|
22598
22602
|
});
|
22599
22603
|
function Qb(o, a, l) {
|
@@ -22606,13 +22610,13 @@ function iH() {
|
|
22606
22610
|
}
|
22607
22611
|
var Zb = jg(mm), eS = jg(pm);
|
22608
22612
|
function tS(o, a) {
|
22609
|
-
return bt(
|
22613
|
+
return bt(Ks(o, a), 1);
|
22610
22614
|
}
|
22611
22615
|
function nS(o, a) {
|
22612
|
-
return bt(
|
22616
|
+
return bt(Ks(o, a), Gt);
|
22613
22617
|
}
|
22614
22618
|
function rS(o, a, l) {
|
22615
|
-
return l = l === t ? 1 : Ce(l), bt(
|
22619
|
+
return l = l === t ? 1 : Ce(l), bt(Ks(o, a), l);
|
22616
22620
|
}
|
22617
22621
|
function Tm(o, a) {
|
22618
22622
|
var l = ve(o) ? Cn : Wr;
|
@@ -22622,30 +22626,30 @@ function iH() {
|
|
22622
22626
|
var l = ve(o) ? TT : wg;
|
22623
22627
|
return l(o, ae(a, 3));
|
22624
22628
|
}
|
22625
|
-
var oS =
|
22629
|
+
var oS = Ns(function(o, a, l) {
|
22626
22630
|
He.call(o, l) ? o[l].push(a) : Tr(o, l, [a]);
|
22627
22631
|
});
|
22628
22632
|
function iS(o, a, l, d) {
|
22629
22633
|
o = Yt(o) ? o : ti(o), l = l && !d ? Ce(l) : 0;
|
22630
22634
|
var m = o.length;
|
22631
|
-
return l < 0 && (l = mt(m + l, 0)),
|
22635
|
+
return l < 0 && (l = mt(m + l, 0)), Gs(o) ? l <= m && o.indexOf(a, l) > -1 : !!m && zo(o, a, l) > -1;
|
22632
22636
|
}
|
22633
22637
|
var aS = Ae(function(o, a, l) {
|
22634
22638
|
var d = -1, m = typeof a == "function", w = Yt(o) ? O(o.length) : [];
|
22635
22639
|
return Wr(o, function(_) {
|
22636
22640
|
w[++d] = m ? nn(a, _, l) : ra(_, a, l);
|
22637
22641
|
}), w;
|
22638
|
-
}), sS =
|
22642
|
+
}), sS = Ns(function(o, a, l) {
|
22639
22643
|
Tr(o, l, a);
|
22640
22644
|
});
|
22641
|
-
function
|
22645
|
+
function Ks(o, a) {
|
22642
22646
|
var l = ve(o) ? Je : Sg;
|
22643
22647
|
return l(o, ae(a, 3));
|
22644
22648
|
}
|
22645
22649
|
function cS(o, a, l, d) {
|
22646
22650
|
return o == null ? [] : (ve(a) || (a = a == null ? [] : [a]), l = d ? t : l, ve(l) || (l = l == null ? [] : [l]), Og(o, a, l));
|
22647
22651
|
}
|
22648
|
-
var lS =
|
22652
|
+
var lS = Ns(function(o, a, l) {
|
22649
22653
|
o[l ? 0 : 1].push(a);
|
22650
22654
|
}, function() {
|
22651
22655
|
return [[], []];
|
@@ -22660,7 +22664,7 @@ function iH() {
|
|
22660
22664
|
}
|
22661
22665
|
function hS(o, a) {
|
22662
22666
|
var l = ve(o) ? $r : _g;
|
22663
|
-
return l(o,
|
22667
|
+
return l(o, Ws(ae(a, 3)));
|
22664
22668
|
}
|
22665
22669
|
function fS(o) {
|
22666
22670
|
var a = ve(o) ? mg : iA;
|
@@ -22679,7 +22683,7 @@ function iH() {
|
|
22679
22683
|
if (o == null)
|
22680
22684
|
return 0;
|
22681
22685
|
if (Yt(o))
|
22682
|
-
return
|
22686
|
+
return Gs(o) ? Wo(o) : o.length;
|
22683
22687
|
var a = xt(o);
|
22684
22688
|
return a == Bn || a == $n ? o.size : uu(o).length;
|
22685
22689
|
}
|
@@ -22692,7 +22696,7 @@ function iH() {
|
|
22692
22696
|
return [];
|
22693
22697
|
var l = a.length;
|
22694
22698
|
return l > 1 && zt(o, a[0], a[1]) ? a = [] : l > 2 && zt(a[0], a[1], a[2]) && (a = [a[0]]), Og(o, bt(a, 1), []);
|
22695
|
-
}),
|
22699
|
+
}), zs = XT || function() {
|
22696
22700
|
return At.Date.now();
|
22697
22701
|
};
|
22698
22702
|
function wS(o, a) {
|
@@ -22760,7 +22764,7 @@ function iH() {
|
|
22760
22764
|
return I === t || Wn >= a || Wn < 0 || F && Rr >= w;
|
22761
22765
|
}
|
22762
22766
|
function Ie() {
|
22763
|
-
var at =
|
22767
|
+
var at = zs();
|
22764
22768
|
if (ce(at))
|
22765
22769
|
return ke(at);
|
22766
22770
|
T = ca(Ie, Ee(at));
|
@@ -22772,10 +22776,10 @@ function iH() {
|
|
22772
22776
|
T !== t && Fg(T), L = 0, d = I = m = T = t;
|
22773
22777
|
}
|
22774
22778
|
function Vt() {
|
22775
|
-
return T === t ? _ : ke(
|
22779
|
+
return T === t ? _ : ke(zs());
|
22776
22780
|
}
|
22777
22781
|
function cn() {
|
22778
|
-
var at =
|
22782
|
+
var at = zs(), Wn = ce(at);
|
22779
22783
|
if (d = arguments, m = this, I = at, Wn) {
|
22780
22784
|
if (T === t)
|
22781
22785
|
return se(I);
|
@@ -22794,7 +22798,7 @@ function iH() {
|
|
22794
22798
|
function TS(o) {
|
22795
22799
|
return Er(o, Ne);
|
22796
22800
|
}
|
22797
|
-
function
|
22801
|
+
function Vs(o, a) {
|
22798
22802
|
if (typeof o != "function" || a != null && typeof a != "function")
|
22799
22803
|
throw new Tn(c);
|
22800
22804
|
var l = function() {
|
@@ -22804,10 +22808,10 @@ function iH() {
|
|
22804
22808
|
var _ = o.apply(this, d);
|
22805
22809
|
return l.cache = w.set(m, _) || w, _;
|
22806
22810
|
};
|
22807
|
-
return l.cache = new (
|
22811
|
+
return l.cache = new (Vs.Cache || Cr)(), l;
|
22808
22812
|
}
|
22809
|
-
|
22810
|
-
function
|
22813
|
+
Vs.Cache = Cr;
|
22814
|
+
function Ws(o) {
|
22811
22815
|
if (typeof o != "function")
|
22812
22816
|
throw new Tn(c);
|
22813
22817
|
return function() {
|
@@ -22898,7 +22902,7 @@ function iH() {
|
|
22898
22902
|
function Vn(o, a) {
|
22899
22903
|
return o === a || o !== o && a !== a;
|
22900
22904
|
}
|
22901
|
-
var US =
|
22905
|
+
var US = Us(su), HS = Us(function(o, a) {
|
22902
22906
|
return o >= a;
|
22903
22907
|
}), vo = Eg(/* @__PURE__ */ function() {
|
22904
22908
|
return arguments;
|
@@ -22906,7 +22910,7 @@ function iH() {
|
|
22906
22910
|
return tt(o) && He.call(o, "callee") && !lg.call(o, "callee");
|
22907
22911
|
}, ve = O.isArray, FS = Vf ? rn(Vf) : GE;
|
22908
22912
|
function Yt(o) {
|
22909
|
-
return o != null &&
|
22913
|
+
return o != null && qs(o.length) && !Sr(o);
|
22910
22914
|
}
|
22911
22915
|
function it(o) {
|
22912
22916
|
return tt(o) && Yt(o);
|
@@ -22945,7 +22949,7 @@ function iH() {
|
|
22945
22949
|
if (!tt(o))
|
22946
22950
|
return !1;
|
22947
22951
|
var a = Kt(o);
|
22948
|
-
return a ==
|
22952
|
+
return a == os || a == gC || typeof o.message == "string" && typeof o.name == "string" && !la(o);
|
22949
22953
|
}
|
22950
22954
|
function qS(o) {
|
22951
22955
|
return typeof o == "number" && dg(o);
|
@@ -22954,12 +22958,12 @@ function iH() {
|
|
22954
22958
|
if (!Ze(o))
|
22955
22959
|
return !1;
|
22956
22960
|
var a = Kt(o);
|
22957
|
-
return a ==
|
22961
|
+
return a == is || a == yf || a == fC || a == pC;
|
22958
22962
|
}
|
22959
22963
|
function Pm(o) {
|
22960
22964
|
return typeof o == "number" && o == Ce(o);
|
22961
22965
|
}
|
22962
|
-
function
|
22966
|
+
function qs(o) {
|
22963
22967
|
return typeof o == "number" && o > -1 && o % 1 == 0 && o <= ct;
|
22964
22968
|
}
|
22965
22969
|
function Ze(o) {
|
@@ -22996,22 +23000,22 @@ function iH() {
|
|
22996
23000
|
function la(o) {
|
22997
23001
|
if (!tt(o) || Kt(o) != wr)
|
22998
23002
|
return !1;
|
22999
|
-
var a =
|
23003
|
+
var a = ws(o);
|
23000
23004
|
if (a === null)
|
23001
23005
|
return !0;
|
23002
23006
|
var l = He.call(a, "constructor") && a.constructor;
|
23003
|
-
return typeof l == "function" && l instanceof l &&
|
23007
|
+
return typeof l == "function" && l instanceof l && ms.call(l) == jT;
|
23004
23008
|
}
|
23005
23009
|
var Uu = Gf ? rn(Gf) : QE;
|
23006
23010
|
function ZS(o) {
|
23007
23011
|
return Pm(o) && o >= -ct && o <= ct;
|
23008
23012
|
}
|
23009
23013
|
var Dm = jf ? rn(jf) : XE;
|
23010
|
-
function
|
23014
|
+
function Gs(o) {
|
23011
23015
|
return typeof o == "string" || !ve(o) && tt(o) && Kt(o) == qi;
|
23012
23016
|
}
|
23013
23017
|
function an(o) {
|
23014
|
-
return typeof o == "symbol" || tt(o) && Kt(o) ==
|
23018
|
+
return typeof o == "symbol" || tt(o) && Kt(o) == as;
|
23015
23019
|
}
|
23016
23020
|
var ei = Yf ? rn(Yf) : ZE;
|
23017
23021
|
function eI(o) {
|
@@ -23023,17 +23027,17 @@ function iH() {
|
|
23023
23027
|
function nI(o) {
|
23024
23028
|
return tt(o) && Kt(o) == yC;
|
23025
23029
|
}
|
23026
|
-
var rI =
|
23030
|
+
var rI = Us(du), oI = Us(function(o, a) {
|
23027
23031
|
return o <= a;
|
23028
23032
|
});
|
23029
23033
|
function xm(o) {
|
23030
23034
|
if (!o)
|
23031
23035
|
return [];
|
23032
23036
|
if (Yt(o))
|
23033
|
-
return
|
23037
|
+
return Gs(o) ? Kn(o) : jt(o);
|
23034
23038
|
if (Ji && o[Ji])
|
23035
23039
|
return LT(o[Ji]());
|
23036
|
-
var a = xt(o), l = a == Bn ? Xl : a == $n ?
|
23040
|
+
var a = xt(o), l = a == Bn ? Xl : a == $n ? hs : ti;
|
23037
23041
|
return l(o);
|
23038
23042
|
}
|
23039
23043
|
function Ir(o) {
|
@@ -23085,7 +23089,7 @@ function iH() {
|
|
23085
23089
|
He.call(a, l) && ta(o, l, a[l]);
|
23086
23090
|
}), Hm = Qo(function(o, a) {
|
23087
23091
|
rr(a, Jt(a), o);
|
23088
|
-
}),
|
23092
|
+
}), js = Qo(function(o, a, l, d) {
|
23089
23093
|
rr(a, Jt(a), o, d);
|
23090
23094
|
}), sI = Qo(function(o, a, l, d) {
|
23091
23095
|
rr(a, wt(a), o, d);
|
@@ -23125,10 +23129,10 @@ function iH() {
|
|
23125
23129
|
return o && au(o, ae(a, 3));
|
23126
23130
|
}
|
23127
23131
|
function yI(o) {
|
23128
|
-
return o == null ? [] :
|
23132
|
+
return o == null ? [] : ks(o, wt(o));
|
23129
23133
|
}
|
23130
23134
|
function wI(o) {
|
23131
|
-
return o == null ? [] :
|
23135
|
+
return o == null ? [] : ks(o, Jt(o));
|
23132
23136
|
}
|
23133
23137
|
function Hu(o, a, l) {
|
23134
23138
|
var d = o == null ? t : go(o, a);
|
@@ -23141,9 +23145,9 @@ function iH() {
|
|
23141
23145
|
return o != null && om(o, a, VE);
|
23142
23146
|
}
|
23143
23147
|
var CI = Jg(function(o, a, l) {
|
23144
|
-
a != null && typeof a.toString != "function" && (a =
|
23148
|
+
a != null && typeof a.toString != "function" && (a = ps.call(a)), o[a] = l;
|
23145
23149
|
}, $u(Qt)), TI = Jg(function(o, a, l) {
|
23146
|
-
a != null && typeof a.toString != "function" && (a =
|
23150
|
+
a != null && typeof a.toString != "function" && (a = ps.call(a)), He.call(o, a) ? o[a].push(l) : o[a] = [l];
|
23147
23151
|
}, ae), EI = Ae(ra);
|
23148
23152
|
function wt(o) {
|
23149
23153
|
return Yt(o) ? gg(o) : uu(o);
|
@@ -23164,9 +23168,9 @@ function iH() {
|
|
23164
23168
|
}), l;
|
23165
23169
|
}
|
23166
23170
|
var SI = Qo(function(o, a, l) {
|
23167
|
-
|
23171
|
+
Os(o, a, l);
|
23168
23172
|
}), Fm = Qo(function(o, a, l, d) {
|
23169
|
-
|
23173
|
+
Os(o, a, l, d);
|
23170
23174
|
}), II = Ar(function(o, a) {
|
23171
23175
|
var l = {};
|
23172
23176
|
if (o == null)
|
@@ -23180,7 +23184,7 @@ function iH() {
|
|
23180
23184
|
return l;
|
23181
23185
|
});
|
23182
23186
|
function RI(o, a) {
|
23183
|
-
return Bm(o,
|
23187
|
+
return Bm(o, Ws(ae(a)));
|
23184
23188
|
}
|
23185
23189
|
var kI = Ar(function(o, a) {
|
23186
23190
|
return o == null ? {} : nA(o, a);
|
@@ -23215,7 +23219,7 @@ function iH() {
|
|
23215
23219
|
var d = ve(o), m = d || Yr(o) || ei(o);
|
23216
23220
|
if (a = ae(a, 4), l == null) {
|
23217
23221
|
var w = o && o.constructor;
|
23218
|
-
m ? l = d ? new w() : [] : Ze(o) ? l = Sr(w) ? Jo(
|
23222
|
+
m ? l = d ? new w() : [] : Ze(o) ? l = Sr(w) ? Jo(ws(o)) : {} : l = {};
|
23219
23223
|
}
|
23220
23224
|
return (m ? Cn : nr)(o, function(_, T, I) {
|
23221
23225
|
return a(l, _, T, I);
|
@@ -23286,17 +23290,17 @@ function iH() {
|
|
23286
23290
|
if (!a || d >= a)
|
23287
23291
|
return o;
|
23288
23292
|
var m = (a - d) / 2;
|
23289
|
-
return
|
23293
|
+
return Ls(Es(m), l) + o + Ls(Ts(m), l);
|
23290
23294
|
}
|
23291
23295
|
function YI(o, a, l) {
|
23292
23296
|
o = Ue(o), a = Ce(a);
|
23293
23297
|
var d = a ? Wo(o) : 0;
|
23294
|
-
return a && d < a ? o +
|
23298
|
+
return a && d < a ? o + Ls(a - d, l) : o;
|
23295
23299
|
}
|
23296
23300
|
function JI(o, a, l) {
|
23297
23301
|
o = Ue(o), a = Ce(a);
|
23298
23302
|
var d = a ? Wo(o) : 0;
|
23299
|
-
return a && d < a ?
|
23303
|
+
return a && d < a ? Ls(a - d, l) + o : o;
|
23300
23304
|
}
|
23301
23305
|
function QI(o, a, l) {
|
23302
23306
|
return l || a == null ? a = 0 : a && (a = +a), oE(Ue(o).replace(Ll, ""), a || 0);
|
@@ -23322,9 +23326,9 @@ function iH() {
|
|
23322
23326
|
}
|
23323
23327
|
function oR(o, a, l) {
|
23324
23328
|
var d = v.templateSettings;
|
23325
|
-
l && zt(o, a, l) && (a = t), o = Ue(o), a =
|
23326
|
-
var m =
|
23327
|
-
(a.escape ||
|
23329
|
+
l && zt(o, a, l) && (a = t), o = Ue(o), a = js({}, a, d, em);
|
23330
|
+
var m = js({}, a.imports, d.imports, em), w = wt(m), _ = Ql(m, w), T, I, L = 0, U = a.interpolate || ss, F = "__p += '", q = Zl(
|
23331
|
+
(a.escape || ss).source + "|" + U.source + "|" + (U === Tf ? UC : ss).source + "|" + (a.evaluate || ss).source + "|$",
|
23328
23332
|
"g"
|
23329
23333
|
), Z = "//# sourceURL=" + (He.call(a, "sourceURL") ? (a.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++fT + "]") + `
|
23330
23334
|
`;
|
@@ -23491,8 +23495,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
23491
23495
|
};
|
23492
23496
|
});
|
23493
23497
|
function zu(o, a, l) {
|
23494
|
-
var d = wt(a), m =
|
23495
|
-
l == null && !(Ze(a) && (m.length || !d.length)) && (l = a, a = o, o = this, m =
|
23498
|
+
var d = wt(a), m = ks(a, d);
|
23499
|
+
l == null && !(Ze(a) && (m.length || !d.length)) && (l = a, a = o, o = this, m = ks(a, wt(a)));
|
23496
23500
|
var w = !(Ze(l) && "chain" in l) || !!l.chain, _ = Sr(o);
|
23497
23501
|
return Cn(m, function(T) {
|
23498
23502
|
var I = a[T];
|
@@ -23557,16 +23561,16 @@ function print() { __p += __j.call(arguments, '') }
|
|
23557
23561
|
var a = ++GT;
|
23558
23562
|
return Ue(o) + a;
|
23559
23563
|
}
|
23560
|
-
var UR =
|
23564
|
+
var UR = xs(function(o, a) {
|
23561
23565
|
return o + a;
|
23562
|
-
}, 0), HR = Tu("ceil"), FR =
|
23566
|
+
}, 0), HR = Tu("ceil"), FR = xs(function(o, a) {
|
23563
23567
|
return o / a;
|
23564
23568
|
}, 1), BR = Tu("floor");
|
23565
23569
|
function $R(o) {
|
23566
|
-
return o && o.length ?
|
23570
|
+
return o && o.length ? Rs(o, Qt, su) : t;
|
23567
23571
|
}
|
23568
23572
|
function KR(o, a) {
|
23569
|
-
return o && o.length ?
|
23573
|
+
return o && o.length ? Rs(o, ae(a, 2), su) : t;
|
23570
23574
|
}
|
23571
23575
|
function zR(o) {
|
23572
23576
|
return Zf(o, Qt);
|
@@ -23575,14 +23579,14 @@ function print() { __p += __j.call(arguments, '') }
|
|
23575
23579
|
return Zf(o, ae(a, 2));
|
23576
23580
|
}
|
23577
23581
|
function WR(o) {
|
23578
|
-
return o && o.length ?
|
23582
|
+
return o && o.length ? Rs(o, Qt, du) : t;
|
23579
23583
|
}
|
23580
23584
|
function qR(o, a) {
|
23581
|
-
return o && o.length ?
|
23585
|
+
return o && o.length ? Rs(o, ae(a, 2), du) : t;
|
23582
23586
|
}
|
23583
|
-
var GR =
|
23587
|
+
var GR = xs(function(o, a) {
|
23584
23588
|
return o * a;
|
23585
|
-
}, 1), jR = Tu("round"), YR =
|
23589
|
+
}, 1), jR = Tu("round"), YR = xs(function(o, a) {
|
23586
23590
|
return o - a;
|
23587
23591
|
}, 0);
|
23588
23592
|
function JR(o) {
|
@@ -23591,7 +23595,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
23591
23595
|
function QR(o, a) {
|
23592
23596
|
return o && o.length ? Yl(o, ae(a, 2)) : 0;
|
23593
23597
|
}
|
23594
|
-
return v.after = wS, v.ary = Am, v.assign = aI, v.assignIn = Hm, v.assignInWith =
|
23598
|
+
return v.after = wS, v.ary = Am, v.assign = aI, v.assignIn = Hm, v.assignInWith = js, v.assignWith = sI, v.at = cI, v.before = bm, v.bind = Du, v.bindAll = fR, v.bindKey = Sm, v.castArray = PS, v.chain = Cm, v.chunk = BA, v.compact = $A, v.concat = KA, v.cond = gR, v.conforms = mR, v.constant = $u, v.countBy = Jb, v.create = lI, v.curry = Im, v.curryRight = Rm, v.debounce = km, v.defaults = uI, v.defaultsDeep = dI, v.defer = _S, v.delay = CS, v.difference = zA, v.differenceBy = VA, v.differenceWith = WA, v.drop = qA, v.dropRight = GA, v.dropRightWhile = jA, v.dropWhile = YA, v.fill = JA, v.filter = Xb, v.flatMap = tS, v.flatMapDeep = nS, v.flatMapDepth = rS, v.flatten = vm, v.flattenDeep = QA, v.flattenDepth = XA, v.flip = TS, v.flow = vR, v.flowRight = yR, v.fromPairs = ZA, v.functions = yI, v.functionsIn = wI, v.groupBy = oS, v.initial = tb, v.intersection = nb, v.intersectionBy = rb, v.intersectionWith = ob, v.invert = CI, v.invertBy = TI, v.invokeMap = aS, v.iteratee = Ku, v.keyBy = sS, v.keys = wt, v.keysIn = Jt, v.map = Ks, v.mapKeys = AI, v.mapValues = bI, v.matches = wR, v.matchesProperty = _R, v.memoize = Vs, v.merge = SI, v.mergeWith = Fm, v.method = CR, v.methodOf = TR, v.mixin = zu, v.negate = Ws, v.nthArg = AR, v.omit = II, v.omitBy = RI, v.once = ES, v.orderBy = cS, v.over = bR, v.overArgs = AS, v.overEvery = SR, v.overSome = IR, v.partial = xu, v.partialRight = Om, v.partition = lS, v.pick = kI, v.pickBy = Bm, v.property = Gm, v.propertyOf = RR, v.pull = cb, v.pullAll = wm, v.pullAllBy = lb, v.pullAllWith = ub, v.pullAt = db, v.range = kR, v.rangeRight = OR, v.rearg = bS, v.reject = hS, v.remove = hb, v.rest = SS, v.reverse = Mu, v.sampleSize = gS, v.set = PI, v.setWith = MI, v.shuffle = mS, v.slice = fb, v.sortBy = yS, v.sortedUniq = _b, v.sortedUniqBy = Cb, v.split = tR, v.spread = IS, v.tail = Tb, v.take = Eb, v.takeRight = Ab, v.takeRightWhile = bb, v.takeWhile = Sb, v.tap = $b, v.throttle = RS, v.thru = $s, v.toArray = xm, v.toPairs = $m, v.toPairsIn = Km, v.toPath = xR, v.toPlainObject = Um, v.transform = NI, v.unary = kS, v.union = Ib, v.unionBy = Rb, v.unionWith = kb, v.uniq = Ob, v.uniqBy = Pb, v.uniqWith = Mb, v.unset = DI, v.unzip = Nu, v.unzipWith = _m, v.update = xI, v.updateWith = LI, v.values = ti, v.valuesIn = UI, v.without = Nb, v.words = Wm, v.wrap = OS, v.xor = Db, v.xorBy = xb, v.xorWith = Lb, v.zip = Ub, v.zipObject = Hb, v.zipObjectDeep = Fb, v.zipWith = Bb, v.entries = $m, v.entriesIn = Km, v.extend = Hm, v.extendWith = js, zu(v, v), v.add = UR, v.attempt = qm, v.camelCase = $I, v.capitalize = zm, v.ceil = HR, v.clamp = HI, v.clone = MS, v.cloneDeep = DS, v.cloneDeepWith = xS, v.cloneWith = NS, v.conformsTo = LS, v.deburr = Vm, v.defaultTo = pR, v.divide = FR, v.endsWith = KI, v.eq = Vn, v.escape = zI, v.escapeRegExp = VI, v.every = Qb, v.find = Zb, v.findIndex = mm, v.findKey = hI, v.findLast = eS, v.findLastIndex = pm, v.findLastKey = fI, v.floor = BR, v.forEach = Tm, v.forEachRight = Em, v.forIn = gI, v.forInRight = mI, v.forOwn = pI, v.forOwnRight = vI, v.get = Hu, v.gt = US, v.gte = HS, v.has = _I, v.hasIn = Fu, v.head = ym, v.identity = Qt, v.includes = iS, v.indexOf = eb, v.inRange = FI, v.invoke = EI, v.isArguments = vo, v.isArray = ve, v.isArrayBuffer = FS, v.isArrayLike = Yt, v.isArrayLikeObject = it, v.isBoolean = BS, v.isBuffer = Yr, v.isDate = $S, v.isElement = KS, v.isEmpty = zS, v.isEqual = VS, v.isEqualWith = WS, v.isError = Lu, v.isFinite = qS, v.isFunction = Sr, v.isInteger = Pm, v.isLength = qs, v.isMap = Mm, v.isMatch = GS, v.isMatchWith = jS, v.isNaN = YS, v.isNative = JS, v.isNil = XS, v.isNull = QS, v.isNumber = Nm, v.isObject = Ze, v.isObjectLike = tt, v.isPlainObject = la, v.isRegExp = Uu, v.isSafeInteger = ZS, v.isSet = Dm, v.isString = Gs, v.isSymbol = an, v.isTypedArray = ei, v.isUndefined = eI, v.isWeakMap = tI, v.isWeakSet = nI, v.join = ib, v.kebabCase = WI, v.last = Sn, v.lastIndexOf = ab, v.lowerCase = qI, v.lowerFirst = GI, v.lt = rI, v.lte = oI, v.max = $R, v.maxBy = KR, v.mean = zR, v.meanBy = VR, v.min = WR, v.minBy = qR, v.stubArray = Wu, v.stubFalse = qu, v.stubObject = PR, v.stubString = MR, v.stubTrue = NR, v.multiply = GR, v.nth = sb, v.noConflict = ER, v.noop = Vu, v.now = zs, v.pad = jI, v.padEnd = YI, v.padStart = JI, v.parseInt = QI, v.random = BI, v.reduce = uS, v.reduceRight = dS, v.repeat = XI, v.replace = ZI, v.result = OI, v.round = jR, v.runInContext = b, v.sample = fS, v.size = pS, v.snakeCase = eR, v.some = vS, v.sortedIndex = gb, v.sortedIndexBy = mb, v.sortedIndexOf = pb, v.sortedLastIndex = vb, v.sortedLastIndexBy = yb, v.sortedLastIndexOf = wb, v.startCase = nR, v.startsWith = rR, v.subtract = YR, v.sum = JR, v.sumBy = QR, v.template = oR, v.times = DR, v.toFinite = Ir, v.toInteger = Ce, v.toLength = Lm, v.toLower = iR, v.toNumber = In, v.toSafeInteger = iI, v.toString = Ue, v.toUpper = aR, v.trim = sR, v.trimEnd = cR, v.trimStart = lR, v.truncate = uR, v.unescape = dR, v.uniqueId = LR, v.upperCase = hR, v.upperFirst = Bu, v.each = Tm, v.eachRight = Em, v.first = ym, zu(v, function() {
|
23595
23599
|
var o = {};
|
23596
23600
|
return nr(v, function(a, l) {
|
23597
23601
|
He.call(v.prototype, l) || (o[l] = a);
|
@@ -23639,7 +23643,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
23639
23643
|
return ra(l, o, a);
|
23640
23644
|
});
|
23641
23645
|
}), Re.prototype.reject = function(o) {
|
23642
|
-
return this.filter(
|
23646
|
+
return this.filter(Ws(ae(o)));
|
23643
23647
|
}, Re.prototype.slice = function(o, a) {
|
23644
23648
|
o = Ce(o);
|
23645
23649
|
var l = this;
|
@@ -23660,12 +23664,12 @@ function print() { __p += __j.call(arguments, '') }
|
|
23660
23664
|
if (!w && U) {
|
23661
23665
|
_ = Ee ? _ : new Re(this);
|
23662
23666
|
var ce = o.apply(_, T);
|
23663
|
-
return ce.__actions__.push({ func:
|
23667
|
+
return ce.__actions__.push({ func: $s, args: [F], thisArg: t }), new En(ce, q);
|
23664
23668
|
}
|
23665
23669
|
return se && Ee ? o.apply(this, T) : (ce = this.thru(F), se ? d ? ce.value()[0] : ce.value() : ce);
|
23666
23670
|
});
|
23667
23671
|
}), Cn(["pop", "push", "shift", "sort", "splice", "unshift"], function(o) {
|
23668
|
-
var a =
|
23672
|
+
var a = fs[o], l = /^(?:push|sort|unshift)$/.test(o) ? "tap" : "thru", d = /^(?:pop|shift)$/.test(o);
|
23669
23673
|
v.prototype[o] = function() {
|
23670
23674
|
var m = arguments;
|
23671
23675
|
if (d && !this.__chain__) {
|
@@ -23682,7 +23686,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
23682
23686
|
var d = l.name + "";
|
23683
23687
|
He.call(Yo, d) || (Yo[d] = []), Yo[d].push({ name: a, func: l });
|
23684
23688
|
}
|
23685
|
-
}), Yo[
|
23689
|
+
}), Yo[Ds(t, W).name] = [{
|
23686
23690
|
name: "wrapper",
|
23687
23691
|
func: t
|
23688
23692
|
}], Re.prototype.clone = dE, Re.prototype.reverse = hE, Re.prototype.value = fE, v.prototype.at = Kb, v.prototype.chain = zb, v.prototype.commit = Vb, v.prototype.next = Wb, v.prototype.plant = Gb, v.prototype.reverse = jb, v.prototype.toJSON = v.prototype.valueOf = v.prototype.value = Yb, v.prototype.first = v.prototype.head, Ji && (v.prototype[Ji] = qb), v;
|
@@ -23692,13 +23696,13 @@ function print() { __p += __j.call(arguments, '') }
|
|
23692
23696
|
}(ya, ya.exports)), ya.exports;
|
23693
23697
|
}
|
23694
23698
|
var Bi = iH();
|
23695
|
-
const
|
23699
|
+
const Rc = /* @__PURE__ */ rH(Bi), aH = {
|
23696
23700
|
path: "/_/dashboard",
|
23697
|
-
component: () => import("./AuthRoute-
|
23701
|
+
component: () => import("./AuthRoute-DF8PICwz.mjs"),
|
23698
23702
|
meta: { requiresAuth: !1 }
|
23699
23703
|
}, sH = {
|
23700
23704
|
path: "/jplan-auth-fail",
|
23701
|
-
component: () => import("./AuthFailRoute-
|
23705
|
+
component: () => import("./AuthFailRoute-ClEiykYp.mjs"),
|
23702
23706
|
meta: { requiresAuth: !1 }
|
23703
23707
|
}, { isAuthenticated: Pv, handleRedirect: cH } = F_(), lH = vf();
|
23704
23708
|
function nF(r, e) {
|
@@ -23742,7 +23746,7 @@ function uH() {
|
|
23742
23746
|
scope: e
|
23743
23747
|
});
|
23744
23748
|
}
|
23745
|
-
function
|
23749
|
+
function ts(r) {
|
23746
23750
|
const e = uH();
|
23747
23751
|
e.defaults.baseURL = r;
|
23748
23752
|
const t = ee({
|
@@ -23766,7 +23770,7 @@ function es(r) {
|
|
23766
23770
|
});
|
23767
23771
|
}
|
23768
23772
|
function dH() {
|
23769
|
-
const r =
|
23773
|
+
const r = ts("https://api.jplan.com.br/management/organization"), { error: e } = yr();
|
23770
23774
|
return {
|
23771
23775
|
async getOrgList(t) {
|
23772
23776
|
try {
|
@@ -23834,7 +23838,7 @@ function dH() {
|
|
23834
23838
|
}
|
23835
23839
|
const Eo = dH();
|
23836
23840
|
function hH() {
|
23837
|
-
const r =
|
23841
|
+
const r = ts("https://api.jplan.com.br/management/branch/"), { error: e } = yr();
|
23838
23842
|
return {
|
23839
23843
|
async getBranchList(t) {
|
23840
23844
|
try {
|
@@ -23911,7 +23915,7 @@ function hH() {
|
|
23911
23915
|
}
|
23912
23916
|
const Ao = hH();
|
23913
23917
|
function fH() {
|
23914
|
-
const r =
|
23918
|
+
const r = ts("https://api.jplan.com.br/management/team"), { error: e } = yr();
|
23915
23919
|
return {
|
23916
23920
|
async getTeamList(t) {
|
23917
23921
|
try {
|
@@ -24048,7 +24052,7 @@ async function rF({
|
|
24048
24052
|
throw console.error(`Request failed for ${e} ${r}:`, c), c;
|
24049
24053
|
}
|
24050
24054
|
}
|
24051
|
-
function
|
24055
|
+
function ns(r, e, t = []) {
|
24052
24056
|
const n = mH(e);
|
24053
24057
|
if (!n) return r;
|
24054
24058
|
const i = n.split(" ");
|
@@ -24056,21 +24060,21 @@ function ts(r, e, t = []) {
|
|
24056
24060
|
}
|
24057
24061
|
function gH(r, e, t) {
|
24058
24062
|
return t.some((n) => {
|
24059
|
-
const i =
|
24060
|
-
if (
|
24061
|
-
const s =
|
24063
|
+
const i = Rc.get(r, n);
|
24064
|
+
if (Rc.isNil(i)) return !1;
|
24065
|
+
const s = Rc.toString(i).toLowerCase();
|
24062
24066
|
return e.every((c) => s.includes(c));
|
24063
24067
|
});
|
24064
24068
|
}
|
24065
24069
|
function mH(r) {
|
24066
|
-
return
|
24070
|
+
return Rc.trim(r).toLowerCase().replace(/\s+/g, " ");
|
24067
24071
|
}
|
24068
|
-
let
|
24072
|
+
let lc = !1;
|
24069
24073
|
const Ed = ee(!1), Rn = ee([]), Nv = ee([]), nt = ee(null), ui = ee([]), di = ee([]), pH = () => {
|
24070
24074
|
const r = yr(), e = async (C) => {
|
24071
24075
|
Ed.value = !0;
|
24072
24076
|
const S = C ? `_active eq true and ${C}` : "_active eq true", P = await Eo.getOrgList(S);
|
24073
|
-
P && (Rn.value = P,
|
24077
|
+
P && (Rn.value = P, lc = !0), Ed.value = !1;
|
24074
24078
|
}, t = async (C) => {
|
24075
24079
|
var S;
|
24076
24080
|
return (S = Rn.value) != null && S.length || await e(C), Rn.value;
|
@@ -24078,7 +24082,7 @@ const Ed = ee(!1), Rn = ee([]), Nv = ee([]), nt = ee(null), ui = ee([]), di = ee
|
|
24078
24082
|
function n(C) {
|
24079
24083
|
if (!Rn.value)
|
24080
24084
|
throw new Error("Data not stored yet");
|
24081
|
-
const S =
|
24085
|
+
const S = ns(Rn.value, C, ["name", "description"]);
|
24082
24086
|
return C !== "" ? S : Rn.value;
|
24083
24087
|
}
|
24084
24088
|
const i = (C) => {
|
@@ -24088,12 +24092,12 @@ const Ed = ee(!1), Rn = ee([]), Nv = ee([]), nt = ee(null), ui = ee([]), di = ee
|
|
24088
24092
|
}, c = async (C) => await Eo.getOrg(C), u = async () => {
|
24089
24093
|
if (nt.value != null) {
|
24090
24094
|
const C = await Eo.createOrg(nt.value);
|
24091
|
-
return C != null && C.data.created_at && (r.success("Organization created."),
|
24095
|
+
return C != null && C.data.created_at && (r.success("Organization created."), lc && Rn.value.push(C.data)), C == null ? void 0 : C.data;
|
24092
24096
|
}
|
24093
24097
|
}, h = async () => {
|
24094
24098
|
if (fe.value = !0, nt.value && nt.value.__id) {
|
24095
24099
|
const C = await Eo.updateOrg(nt.value);
|
24096
|
-
if (
|
24100
|
+
if (lc && (C != null && C.data.__id)) {
|
24097
24101
|
const S = Rn.value.findIndex((P) => P.__id === C.data.__id);
|
24098
24102
|
return S !== -1 ? (Rn.value[S] = C.data, r.success("Organization updated.")) : r.error("Unable to update item"), fe.value = !1, C.data;
|
24099
24103
|
}
|
@@ -24101,7 +24105,7 @@ const Ed = ee(!1), Rn = ee([]), Nv = ee([]), nt = ee(null), ui = ee([]), di = ee
|
|
24101
24105
|
fe.value = !1, r.error("Unable to update item");
|
24102
24106
|
}, f = async () => {
|
24103
24107
|
if (fe.value = !0, nt.value && nt.value.created_at) {
|
24104
|
-
if (await Eo.deactivateOrg(nt.value.__id),
|
24108
|
+
if (await Eo.deactivateOrg(nt.value.__id), lc) {
|
24105
24109
|
const C = Rn.value.findIndex((S) => {
|
24106
24110
|
var P;
|
24107
24111
|
return S.__id === ((P = nt.value) == null ? void 0 : P.__id);
|
@@ -24201,17 +24205,17 @@ const Ed = ee(!1), Rn = ee([]), Nv = ee([]), nt = ee(null), ui = ee([]), di = ee
|
|
24201
24205
|
unlinkTeam: E
|
24202
24206
|
};
|
24203
24207
|
};
|
24204
|
-
let
|
24208
|
+
let uc = !1;
|
24205
24209
|
const kn = ee([]), Dv = ee([]), pt = ee(null), Ad = ee(!1), hi = ee([]), vH = () => {
|
24206
24210
|
const r = yr(), e = async (y) => {
|
24207
24211
|
Ad.value = !0;
|
24208
24212
|
const E = y ? `_active eq true and ${y}` : "_active eq true", C = await Un.getTeamList(E);
|
24209
|
-
C && (kn.value = C,
|
24213
|
+
C && (kn.value = C, uc = !0), Ad.value = !1;
|
24210
24214
|
}, t = async (y) => (kn.value.length || await e(y), kn.value);
|
24211
24215
|
function n(y) {
|
24212
24216
|
if (!kn.value)
|
24213
24217
|
throw new Error("Data not stored yet");
|
24214
|
-
const E =
|
24218
|
+
const E = ns(kn.value, y, ["name", "description"]);
|
24215
24219
|
return y !== "" ? E : kn.value;
|
24216
24220
|
}
|
24217
24221
|
const i = (y) => {
|
@@ -24221,19 +24225,19 @@ const kn = ee([]), Dv = ee([]), pt = ee(null), Ad = ee(!1), hi = ee([]), vH = ()
|
|
24221
24225
|
}, c = async (y) => await Un.getTeam(y), u = async () => {
|
24222
24226
|
if (pt.value != null) {
|
24223
24227
|
const y = await Un.createTeam(pt.value);
|
24224
|
-
return y != null && y.data.created_at && (r.success("Team created."),
|
24228
|
+
return y != null && y.data.created_at && (r.success("Team created."), uc && kn.value.push(y.data)), y == null ? void 0 : y.data;
|
24225
24229
|
}
|
24226
24230
|
}, h = async () => {
|
24227
24231
|
if (fe.value = !0, pt.value && pt.value.__id) {
|
24228
24232
|
const y = await Un.updateTeam(pt.value);
|
24229
|
-
if (
|
24233
|
+
if (uc && (y != null && y.data.__id)) {
|
24230
24234
|
const E = kn.value.findIndex((C) => C.__id === y.data.__id);
|
24231
24235
|
return E !== -1 ? (kn.value[E] = y.data, r.success("Team updated.")) : r.error("Unable to update item"), y.data;
|
24232
24236
|
}
|
24233
24237
|
} else
|
24234
24238
|
r.error("Unable to update item");
|
24235
24239
|
}, f = async () => {
|
24236
|
-
if (pt.value && pt.value.created_at && (await Un.deactivateTeam(pt.value.__id),
|
24240
|
+
if (pt.value && pt.value.created_at && (await Un.deactivateTeam(pt.value.__id), uc)) {
|
24237
24241
|
const y = kn.value.findIndex((E) => {
|
24238
24242
|
var C;
|
24239
24243
|
return E.__id === ((C = pt.value) == null ? void 0 : C.__id);
|
@@ -24344,18 +24348,18 @@ const kn = ee([]), Dv = ee([]), pt = ee(null), Ad = ee(!1), hi = ee([]), vH = ()
|
|
24344
24348
|
variant: "flat"
|
24345
24349
|
}, {
|
24346
24350
|
default: k(() => [
|
24347
|
-
(x(), Q(
|
24351
|
+
(x(), Q(Va(E.value), { size: "20" }))
|
24348
24352
|
]),
|
24349
24353
|
_: 1
|
24350
24354
|
}),
|
24351
|
-
A(
|
24355
|
+
A(te(tl), {
|
24352
24356
|
loading: g.value,
|
24353
24357
|
title: "Scope",
|
24354
24358
|
"dd-id": "global-scope__J-",
|
24355
24359
|
"on-save": C
|
24356
24360
|
}, {
|
24357
24361
|
default: k(() => [
|
24358
|
-
|
24362
|
+
ne("div", null, [
|
24359
24363
|
A(dr, null, {
|
24360
24364
|
default: k(() => [
|
24361
24365
|
A(Ot, {
|
@@ -24363,9 +24367,9 @@ const kn = ee([]), Dv = ee([]), pt = ee(null), Ad = ee(!1), hi = ee([]), vH = ()
|
|
24363
24367
|
class: "d-flex flex-row align-center"
|
24364
24368
|
}, {
|
24365
24369
|
default: k(() => [
|
24366
|
-
A(
|
24370
|
+
A(hc, null, {
|
24367
24371
|
default: k(() => [
|
24368
|
-
A(
|
24372
|
+
A(fc, null, {
|
24369
24373
|
default: k(() => $[3] || ($[3] = [
|
24370
24374
|
H(" User")
|
24371
24375
|
])),
|
@@ -24375,7 +24379,7 @@ const kn = ee([]), Dv = ee([]), pt = ee(null), Ad = ee(!1), hi = ee([]), vH = ()
|
|
24375
24379
|
default: k(() => {
|
24376
24380
|
var ie;
|
24377
24381
|
return [
|
24378
|
-
H(we(((ie =
|
24382
|
+
H(we(((ie = te(t)) == null ? void 0 : ie.name) || "Unknown"), 1)
|
24379
24383
|
];
|
24380
24384
|
}),
|
24381
24385
|
_: 1
|
@@ -24388,9 +24392,9 @@ const kn = ee([]), Dv = ee([]), pt = ee(null), Ad = ee(!1), hi = ee([]), vH = ()
|
|
24388
24392
|
}),
|
24389
24393
|
A(Ot, { cols: "4" }, {
|
24390
24394
|
default: k(() => [
|
24391
|
-
A(
|
24395
|
+
A(hc, null, {
|
24392
24396
|
default: k(() => [
|
24393
|
-
A(
|
24397
|
+
A(fc, null, {
|
24394
24398
|
default: k(() => $[4] || ($[4] = [
|
24395
24399
|
H(" Domain")
|
24396
24400
|
])),
|
@@ -24398,7 +24402,7 @@ const kn = ee([]), Dv = ee([]), pt = ee(null), Ad = ee(!1), hi = ee([]), vH = ()
|
|
24398
24402
|
}),
|
24399
24403
|
A(ju, null, {
|
24400
24404
|
default: k(() => [
|
24401
|
-
H(we(
|
24405
|
+
H(we(te(i).domain), 1)
|
24402
24406
|
]),
|
24403
24407
|
_: 1
|
24404
24408
|
})
|
@@ -24410,9 +24414,9 @@ const kn = ee([]), Dv = ee([]), pt = ee(null), Ad = ee(!1), hi = ee([]), vH = ()
|
|
24410
24414
|
}),
|
24411
24415
|
A(Ot, { cols: "4" }, {
|
24412
24416
|
default: k(() => [
|
24413
|
-
A(
|
24417
|
+
A(hc, null, {
|
24414
24418
|
default: k(() => [
|
24415
|
-
A(
|
24419
|
+
A(fc, null, {
|
24416
24420
|
default: k(() => $[5] || ($[5] = [
|
24417
24421
|
H(" Environment")
|
24418
24422
|
])),
|
@@ -24420,7 +24424,7 @@ const kn = ee([]), Dv = ee([]), pt = ee(null), Ad = ee(!1), hi = ee([]), vH = ()
|
|
24420
24424
|
}),
|
24421
24425
|
A(ju, null, {
|
24422
24426
|
default: k(() => [
|
24423
|
-
H(we(
|
24427
|
+
H(we(te(i).environment), 1)
|
24424
24428
|
]),
|
24425
24429
|
_: 1
|
24426
24430
|
})
|
@@ -24488,15 +24492,15 @@ const kn = ee([]), Dv = ee([]), pt = ee(null), Ad = ee(!1), hi = ee([]), vH = ()
|
|
24488
24492
|
]),
|
24489
24493
|
_: 1
|
24490
24494
|
}, 8, ["modelValue"]),
|
24491
|
-
|
24492
|
-
A(
|
24495
|
+
ne("div", null, [
|
24496
|
+
A(La, { class: "text-subtitle-1 text-high-emphasis mb-2" }, {
|
24493
24497
|
default: k(() => $[10] || ($[10] = [
|
24494
24498
|
H("Organization")
|
24495
24499
|
])),
|
24496
24500
|
_: 1
|
24497
24501
|
}),
|
24498
24502
|
A(Ca, {
|
24499
|
-
items:
|
24503
|
+
items: te(u),
|
24500
24504
|
"item-title": "name",
|
24501
24505
|
"item-value": "__id",
|
24502
24506
|
variant: "solo",
|
@@ -24507,14 +24511,14 @@ const kn = ee([]), Dv = ee([]), pt = ee(null), Ad = ee(!1), hi = ee([]), vH = ()
|
|
24507
24511
|
modelValue: p.value.organization,
|
24508
24512
|
"onUpdate:modelValue": $[1] || ($[1] = (ie) => p.value.organization = ie)
|
24509
24513
|
}, null, 8, ["items", "modelValue"]),
|
24510
|
-
A(
|
24514
|
+
A(La, { class: "text-subtitle-1 text-high-emphasis mb-2" }, {
|
24511
24515
|
default: k(() => $[11] || ($[11] = [
|
24512
24516
|
H("Team")
|
24513
24517
|
])),
|
24514
24518
|
_: 1
|
24515
24519
|
}),
|
24516
24520
|
A(Ca, {
|
24517
|
-
items:
|
24521
|
+
items: te(f),
|
24518
24522
|
"item-title": "name",
|
24519
24523
|
"item-value": "__id",
|
24520
24524
|
variant: "solo",
|
@@ -24535,34 +24539,34 @@ const kn = ee([]), Dv = ee([]), pt = ee(null), Ad = ee(!1), hi = ee([]), vH = ()
|
|
24535
24539
|
}), wH = {}, _H = { class: "double-ring-spinner-container" };
|
24536
24540
|
function CH(r, e) {
|
24537
24541
|
return x(), oe("div", _H, e[0] || (e[0] = [
|
24538
|
-
|
24539
|
-
|
24540
|
-
|
24541
|
-
|
24542
|
-
|
24542
|
+
ne("div", { class: "spinner-loading" }, [
|
24543
|
+
ne("div"),
|
24544
|
+
ne("div"),
|
24545
|
+
ne("div", null, [
|
24546
|
+
ne("div")
|
24543
24547
|
]),
|
24544
|
-
|
24545
|
-
|
24548
|
+
ne("div", null, [
|
24549
|
+
ne("div")
|
24546
24550
|
])
|
24547
24551
|
], -1)
|
24548
24552
|
]));
|
24549
24553
|
}
|
24550
|
-
const TH = /* @__PURE__ */
|
24554
|
+
const TH = /* @__PURE__ */ Ga(wH, [["render", CH], ["__scopeId", "data-v-00d7a69f"]]), EH = {
|
24551
24555
|
key: 0,
|
24552
24556
|
class: "_jspinner-overlay_jj"
|
24553
24557
|
}, AH = /* @__PURE__ */ Te({
|
24554
24558
|
__name: "GlobalSpinner",
|
24555
24559
|
setup(r) {
|
24556
|
-
return (e, t) =>
|
24557
|
-
|
24558
|
-
|
24559
|
-
|
24560
|
-
|
24561
|
-
|
24562
|
-
|
24560
|
+
return (e, t) => te(fe) ? (x(), oe("div", EH, t[0] || (t[0] = [
|
24561
|
+
ne("div", { class: "j-double-ring-spinner-container" }, [
|
24562
|
+
ne("div", { class: "j-global-spinner-loading" }, [
|
24563
|
+
ne("div"),
|
24564
|
+
ne("div"),
|
24565
|
+
ne("div", null, [
|
24566
|
+
ne("div")
|
24563
24567
|
]),
|
24564
|
-
|
24565
|
-
|
24568
|
+
ne("div", null, [
|
24569
|
+
ne("div")
|
24566
24570
|
])
|
24567
24571
|
])
|
24568
24572
|
], -1)
|
@@ -24615,7 +24619,7 @@ const Sd = ee(!1), On = ee([]), xv = ee([]), St = ee(null), fi = ee([]), oF = ()
|
|
24615
24619
|
function n(y) {
|
24616
24620
|
if (!On.value)
|
24617
24621
|
throw new Error("Data not stored yet");
|
24618
|
-
const E =
|
24622
|
+
const E = ns(On.value, y, ["name", "description"]);
|
24619
24623
|
return y !== "" ? E : On.value;
|
24620
24624
|
}
|
24621
24625
|
const i = (y) => {
|
@@ -24700,7 +24704,7 @@ const Sd = ee(!1), On = ee([]), xv = ee([]), St = ee(null), fi = ee([]), oF = ()
|
|
24700
24704
|
};
|
24701
24705
|
};
|
24702
24706
|
function RH() {
|
24703
|
-
const r =
|
24707
|
+
const r = ts("https://api.jplan.com.br/management/division"), { error: e } = yr();
|
24704
24708
|
return {
|
24705
24709
|
async getDivisionList(t) {
|
24706
24710
|
try {
|
@@ -24777,7 +24781,7 @@ const Rd = ee(!1), Pn = ee([]), Lv = ee([]), It = ee(null), gi = ee([]), iF = ()
|
|
24777
24781
|
function n(y) {
|
24778
24782
|
if (!Pn.value)
|
24779
24783
|
throw new Error("Data not stored yet");
|
24780
|
-
const E =
|
24784
|
+
const E = ns(Pn.value, y, ["name", "description"]);
|
24781
24785
|
return y !== "" ? E : Pn.value;
|
24782
24786
|
}
|
24783
24787
|
const i = (y) => {
|
@@ -24859,7 +24863,7 @@ const Rd = ee(!1), Pn = ee([]), Lv = ee([]), It = ee(null), gi = ee([]), iF = ()
|
|
24859
24863
|
};
|
24860
24864
|
};
|
24861
24865
|
function kH() {
|
24862
|
-
const r =
|
24866
|
+
const r = ts("https://api.jplan.com.br/management/user"), { error: e } = yr();
|
24863
24867
|
return {
|
24864
24868
|
async getManageUserList(t) {
|
24865
24869
|
try {
|
@@ -24937,7 +24941,7 @@ const Mn = ee([]), Uv = ee([]), Nn = ee(null), OH = ee(null), PH = ee([]), aF =
|
|
24937
24941
|
function n(g) {
|
24938
24942
|
if (!Mn.value)
|
24939
24943
|
throw new Error("Data not stored yet");
|
24940
|
-
const p =
|
24944
|
+
const p = ns(Mn.value, g, ["name", "description"]);
|
24941
24945
|
return g !== "" ? p : Mn.value;
|
24942
24946
|
}
|
24943
24947
|
return {
|
@@ -25001,7 +25005,7 @@ const Mn = ee([]), Uv = ee([]), Nn = ee(null), OH = ee(null), PH = ee([]), aF =
|
|
25001
25005
|
});
|
25002
25006
|
}, sF = { install: MH };
|
25003
25007
|
export {
|
25004
|
-
|
25008
|
+
Eo as $,
|
25005
25009
|
WN as A,
|
25006
25010
|
wh as B,
|
25007
25011
|
b0 as C,
|
@@ -25015,29 +25019,30 @@ export {
|
|
25015
25019
|
yr as K,
|
25016
25020
|
fe as L,
|
25017
25021
|
rF as M,
|
25018
|
-
|
25022
|
+
ns as N,
|
25019
25023
|
mM as O,
|
25020
|
-
|
25021
|
-
|
25022
|
-
|
25024
|
+
wp as P,
|
25025
|
+
vh as Q,
|
25026
|
+
Pc as R,
|
25023
25027
|
TH as S,
|
25024
25028
|
IM as T,
|
25025
|
-
|
25026
|
-
|
25027
|
-
|
25028
|
-
|
25029
|
-
|
25030
|
-
|
25031
|
-
|
25029
|
+
gn as U,
|
25030
|
+
Mc as V,
|
25031
|
+
Ay as W,
|
25032
|
+
tF as X,
|
25033
|
+
yh as Y,
|
25034
|
+
da as Z,
|
25035
|
+
Ga as _,
|
25032
25036
|
F_ as a,
|
25033
|
-
|
25034
|
-
|
25035
|
-
|
25036
|
-
|
25037
|
-
|
25038
|
-
|
25039
|
-
|
25040
|
-
|
25037
|
+
Ao as a0,
|
25038
|
+
Un as a1,
|
25039
|
+
ha as a2,
|
25040
|
+
iF as a3,
|
25041
|
+
pH as a4,
|
25042
|
+
oF as a5,
|
25043
|
+
vH as a6,
|
25044
|
+
aF as a7,
|
25045
|
+
ts as a8,
|
25041
25046
|
I0 as b,
|
25042
25047
|
uC as c,
|
25043
25048
|
CM as d,
|