@vc-shell/framework 1.0.75 → 1.0.76
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/framework.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Me, openBlock as V, createElementBlock as J, normalizeClass as De, renderSlot as Ne, computed as Ee, createBlock as Ae, unref as ee, createCommentVNode as fe, ref as ce, createElementVNode as re, toDisplayString as pe, createVNode as ae, Transition as ff, withCtx as he, withDirectives as kn, vShow as ns, createTextVNode as Ie, normalizeStyle as Ct, onMounted as fn, nextTick as un, resolveComponent as Ye, createSlots as Dr, Fragment as Re, renderList as ct, mergeProps as gt, h as Kt, markRaw as uo, capitalize as wb, onBeforeUnmount as ml, watch as ot, getCurrentInstance as bn, effectScope as _b, inject as
|
|
1
|
+
import { defineComponent as Me, openBlock as V, createElementBlock as J, normalizeClass as De, renderSlot as Ne, computed as Ee, createBlock as Ae, unref as ee, createCommentVNode as fe, ref as ce, createElementVNode as re, toDisplayString as pe, createVNode as ae, Transition as ff, withCtx as he, withDirectives as kn, vShow as ns, createTextVNode as Ie, normalizeStyle as Ct, onMounted as fn, nextTick as un, resolveComponent as Ye, createSlots as Dr, Fragment as Re, renderList as ct, mergeProps as gt, h as Kt, markRaw as uo, capitalize as wb, onBeforeUnmount as ml, watch as ot, getCurrentInstance as bn, effectScope as _b, inject as fi, onUnmounted as ug, shallowRef as Es, onBeforeMount as cg, isRef as fg, Text as Sb, readonly as hf, onErrorCaptured as Eb, withModifiers as tt, vModelDynamic as Ab, toRefs as df, customRef as hg, getCurrentScope as dg, onScopeDispose as pg, toRef as Tb, watchEffect as gg, onUpdated as vl, shallowReadonly as Wi, Teleport as As, normalizeProps as xb, guardReactiveProps as kb, onBeforeUpdate as mg, resolveDynamicComponent as co, reactive as Nr, createApp as Cb, shallowReactive as Ob, withKeys as pf, useAttrs as $b } from "vue";
|
|
2
2
|
import * as vg from "vee-validate";
|
|
3
3
|
import { useField as Lb, useForm as Ts, useIsFormValid as yl, useIsFormDirty as bl, Field as Tt, defineRule as Ao } from "vee-validate";
|
|
4
4
|
import { useRoute as yg, useRouter as wl } from "vue-router";
|
|
@@ -23669,16 +23669,16 @@ Ua.exports;
|
|
|
23669
23669
|
};
|
|
23670
23670
|
}
|
|
23671
23671
|
function bu(I) {
|
|
23672
|
-
return
|
|
23672
|
+
return pi(this, I).delete(I);
|
|
23673
23673
|
}
|
|
23674
23674
|
function wu(I) {
|
|
23675
|
-
return
|
|
23675
|
+
return pi(this, I).get(I);
|
|
23676
23676
|
}
|
|
23677
23677
|
function _u(I) {
|
|
23678
|
-
return
|
|
23678
|
+
return pi(this, I).has(I);
|
|
23679
23679
|
}
|
|
23680
23680
|
function Su(I, G) {
|
|
23681
|
-
return
|
|
23681
|
+
return pi(this, I).set(I, G), this;
|
|
23682
23682
|
}
|
|
23683
23683
|
Zt.prototype.clear = yu, Zt.prototype.delete = bu, Zt.prototype.get = wu, Zt.prototype.has = _u, Zt.prototype.set = Su;
|
|
23684
23684
|
function hn(I) {
|
|
@@ -23795,7 +23795,7 @@ Ua.exports;
|
|
|
23795
23795
|
var G = new I.constructor(I.byteLength);
|
|
23796
23796
|
return new Qe(G).set(new Qe(I)), G;
|
|
23797
23797
|
}
|
|
23798
|
-
function
|
|
23798
|
+
function di(I, G) {
|
|
23799
23799
|
var ne = G ? Ro(I.buffer) : I.buffer;
|
|
23800
23800
|
return new I.constructor(ne, I.byteOffset, I.byteLength);
|
|
23801
23801
|
}
|
|
@@ -23838,7 +23838,7 @@ Ua.exports;
|
|
|
23838
23838
|
function Fu(I) {
|
|
23839
23839
|
return Ou(I, Po, Er);
|
|
23840
23840
|
}
|
|
23841
|
-
function
|
|
23841
|
+
function pi(I, G) {
|
|
23842
23842
|
var ne = I.__data__;
|
|
23843
23843
|
return Hu(G) ? ne[typeof G == "string" ? "string" : "hash"] : ne.map;
|
|
23844
23844
|
}
|
|
@@ -23880,7 +23880,7 @@ Ua.exports;
|
|
|
23880
23880
|
case l:
|
|
23881
23881
|
return new Xe(+I);
|
|
23882
23882
|
case S:
|
|
23883
|
-
return
|
|
23883
|
+
return di(I, be);
|
|
23884
23884
|
case T:
|
|
23885
23885
|
case x:
|
|
23886
23886
|
case O:
|
|
@@ -24190,11 +24190,11 @@ Ha.exports;
|
|
|
24190
24190
|
var be = G(I);
|
|
24191
24191
|
return Ui(I) ? be : ge(be, ne(I));
|
|
24192
24192
|
}
|
|
24193
|
-
function
|
|
24193
|
+
function di(I) {
|
|
24194
24194
|
return I == null ? I === void 0 ? O : v : _n && _n in Object(I) ? Ar(I) : ea(I);
|
|
24195
24195
|
}
|
|
24196
24196
|
function Xs(I) {
|
|
24197
|
-
return sr(I) &&
|
|
24197
|
+
return sr(I) && di(I) == g;
|
|
24198
24198
|
}
|
|
24199
24199
|
function Qs(I, G, ne, be, Xe) {
|
|
24200
24200
|
return I === G ? !0 : I == null || G == null || !sr(I) && !sr(G) ? I !== I && G !== G : Iu(I, G, ne, be, Qs, Xe);
|
|
@@ -24226,7 +24226,7 @@ Ha.exports;
|
|
|
24226
24226
|
return G.test(an(I));
|
|
24227
24227
|
}
|
|
24228
24228
|
function Nu(I) {
|
|
24229
|
-
return sr(I) && No(I.length) && !!W[
|
|
24229
|
+
return sr(I) && No(I.length) && !!W[di(I)];
|
|
24230
24230
|
}
|
|
24231
24231
|
function Pu(I) {
|
|
24232
24232
|
if (!Wu(I))
|
|
@@ -24255,9 +24255,9 @@ Ha.exports;
|
|
|
24255
24255
|
break;
|
|
24256
24256
|
}
|
|
24257
24257
|
if (Nt) {
|
|
24258
|
-
if (!Ce(G, function(Tr,
|
|
24259
|
-
if (!_e(Nt,
|
|
24260
|
-
return Nt.push(
|
|
24258
|
+
if (!Ce(G, function(Tr, gi) {
|
|
24259
|
+
if (!_e(Nt, gi) && (Qt === Tr || Xe(Qt, Tr, ne, be, We)))
|
|
24260
|
+
return Nt.push(gi);
|
|
24261
24261
|
})) {
|
|
24262
24262
|
dn = !1;
|
|
24263
24263
|
break;
|
|
@@ -24305,7 +24305,7 @@ Ha.exports;
|
|
|
24305
24305
|
return !1;
|
|
24306
24306
|
}
|
|
24307
24307
|
function Fu(I, G, ne, be, Xe, We) {
|
|
24308
|
-
var st = ne & i, ut =
|
|
24308
|
+
var st = ne & i, ut = pi(I), Rt = ut.length, dt = pi(G), Xt = dt.length;
|
|
24309
24309
|
if (Rt != Xt && !st)
|
|
24310
24310
|
return !1;
|
|
24311
24311
|
for (var dn = Rt; dn--; ) {
|
|
@@ -24320,10 +24320,10 @@ Ha.exports;
|
|
|
24320
24320
|
We.set(I, G), We.set(G, I);
|
|
24321
24321
|
for (var qr = st; ++dn < Rt; ) {
|
|
24322
24322
|
Nt = ut[dn];
|
|
24323
|
-
var Tr = I[Nt],
|
|
24323
|
+
var Tr = I[Nt], gi = G[Nt];
|
|
24324
24324
|
if (be)
|
|
24325
|
-
var Xh = st ? be(
|
|
24326
|
-
if (!(Xh === void 0 ? Tr ===
|
|
24325
|
+
var Xh = st ? be(gi, Tr, Nt, G, I, We) : be(Tr, gi, Nt, I, G, We);
|
|
24326
|
+
if (!(Xh === void 0 ? Tr === gi || Xe(Tr, gi, ne, be, We) : Xh)) {
|
|
24327
24327
|
Gt = !1;
|
|
24328
24328
|
break;
|
|
24329
24329
|
}
|
|
@@ -24335,7 +24335,7 @@ Ha.exports;
|
|
|
24335
24335
|
}
|
|
24336
24336
|
return We.delete(I), We.delete(G), Gt;
|
|
24337
24337
|
}
|
|
24338
|
-
function
|
|
24338
|
+
function pi(I) {
|
|
24339
24339
|
return Ro(I, Po, Bu);
|
|
24340
24340
|
}
|
|
24341
24341
|
function Hn(I, G) {
|
|
@@ -24360,9 +24360,9 @@ Ha.exports;
|
|
|
24360
24360
|
return I == null ? [] : (I = Object(I), te(ie(I), function(G) {
|
|
24361
24361
|
return _r.call(I, G);
|
|
24362
24362
|
}));
|
|
24363
|
-
} : zu, or =
|
|
24363
|
+
} : zu, or = di;
|
|
24364
24364
|
(He && or(new He(new ArrayBuffer(1))) != $ || qe && or(new qe()) != p || Lt && or(Lt.resolve()) != _ || Un && or(new Un()) != S || rr && or(new rr()) != A) && (or = function(I) {
|
|
24365
|
-
var G =
|
|
24365
|
+
var G = di(I), ne = G == y ? I.constructor : void 0, be = ne ? an(ne) : "";
|
|
24366
24366
|
if (be)
|
|
24367
24367
|
switch (be) {
|
|
24368
24368
|
case Ks:
|
|
@@ -24426,7 +24426,7 @@ Ha.exports;
|
|
|
24426
24426
|
function ra(I) {
|
|
24427
24427
|
if (!ia(I))
|
|
24428
24428
|
return !1;
|
|
24429
|
-
var G =
|
|
24429
|
+
var G = di(I);
|
|
24430
24430
|
return G == c || G == d || G == h || G == b;
|
|
24431
24431
|
}
|
|
24432
24432
|
function No(I) {
|
|
@@ -25038,10 +25038,10 @@ function a3() {
|
|
|
25038
25038
|
* Released under the MIT License.
|
|
25039
25039
|
*/
|
|
25040
25040
|
const dr = typeof window < "u";
|
|
25041
|
-
let An,
|
|
25041
|
+
let An, Ti;
|
|
25042
25042
|
if (process.env.NODE_ENV !== "production") {
|
|
25043
25043
|
const n = dr && window.performance;
|
|
25044
|
-
n && n.mark && n.measure && n.clearMarks && n.clearMeasures && (An = (e) => n.mark(e),
|
|
25044
|
+
n && n.mark && n.measure && n.clearMarks && n.clearMeasures && (An = (e) => n.mark(e), Ti = (e, t, r) => {
|
|
25045
25045
|
n.measure(e, t, r), n.clearMarks(t), n.clearMarks(r);
|
|
25046
25046
|
});
|
|
25047
25047
|
}
|
|
@@ -25977,8 +25977,8 @@ const Dg = {
|
|
|
25977
25977
|
* (c) 2022 kazuya kawaguchi
|
|
25978
25978
|
* Released under the MIT License.
|
|
25979
25979
|
*/
|
|
25980
|
-
const
|
|
25981
|
-
|
|
25980
|
+
const hi = [];
|
|
25981
|
+
hi[
|
|
25982
25982
|
0
|
|
25983
25983
|
/* BEFORE_PATH */
|
|
25984
25984
|
] = {
|
|
@@ -26003,7 +26003,7 @@ fi[
|
|
|
26003
26003
|
/* AFTER_PATH */
|
|
26004
26004
|
]
|
|
26005
26005
|
};
|
|
26006
|
-
|
|
26006
|
+
hi[
|
|
26007
26007
|
1
|
|
26008
26008
|
/* IN_PATH */
|
|
26009
26009
|
] = {
|
|
@@ -26030,7 +26030,7 @@ fi[
|
|
|
26030
26030
|
/* AFTER_PATH */
|
|
26031
26031
|
]
|
|
26032
26032
|
};
|
|
26033
|
-
|
|
26033
|
+
hi[
|
|
26034
26034
|
2
|
|
26035
26035
|
/* BEFORE_IDENT */
|
|
26036
26036
|
] = {
|
|
@@ -26052,7 +26052,7 @@ fi[
|
|
|
26052
26052
|
/* APPEND */
|
|
26053
26053
|
]
|
|
26054
26054
|
};
|
|
26055
|
-
|
|
26055
|
+
hi[
|
|
26056
26056
|
3
|
|
26057
26057
|
/* IN_IDENT */
|
|
26058
26058
|
] = {
|
|
@@ -26096,7 +26096,7 @@ fi[
|
|
|
26096
26096
|
/* PUSH */
|
|
26097
26097
|
]
|
|
26098
26098
|
};
|
|
26099
|
-
|
|
26099
|
+
hi[
|
|
26100
26100
|
4
|
|
26101
26101
|
/* IN_SUB_PATH */
|
|
26102
26102
|
] = {
|
|
@@ -26139,7 +26139,7 @@ fi[
|
|
|
26139
26139
|
/* APPEND */
|
|
26140
26140
|
]
|
|
26141
26141
|
};
|
|
26142
|
-
|
|
26142
|
+
hi[
|
|
26143
26143
|
5
|
|
26144
26144
|
/* IN_SINGLE_QUOTE */
|
|
26145
26145
|
] = {
|
|
@@ -26158,7 +26158,7 @@ fi[
|
|
|
26158
26158
|
/* APPEND */
|
|
26159
26159
|
]
|
|
26160
26160
|
};
|
|
26161
|
-
|
|
26161
|
+
hi[
|
|
26162
26162
|
6
|
|
26163
26163
|
/* IN_DOUBLE_QUOTE */
|
|
26164
26164
|
] = {
|
|
@@ -26264,7 +26264,7 @@ function h_(n) {
|
|
|
26264
26264
|
}
|
|
26265
26265
|
for (; r !== null; )
|
|
26266
26266
|
if (t++, o = n[t], !(o === "\\" && c())) {
|
|
26267
|
-
if (l = c_(o), s =
|
|
26267
|
+
if (l = c_(o), s = hi[r], h = s[l] || s.l || 8, h === 8 || (r = h[0], h[1] !== void 0 && (u = a[h[1]], u && (g = o, u() === !1))))
|
|
26268
26268
|
return;
|
|
26269
26269
|
if (r === 7)
|
|
26270
26270
|
return e;
|
|
@@ -26594,7 +26594,7 @@ function Gg(n, e, t, r, i, o) {
|
|
|
26594
26594
|
message: c,
|
|
26595
26595
|
time: S - y,
|
|
26596
26596
|
groupId: `${m}:${e}`
|
|
26597
|
-
}), _ && b && An &&
|
|
26597
|
+
}), _ && b && An && Ti && (An(b), Ti("intlify message resolve", _, b));
|
|
26598
26598
|
}
|
|
26599
26599
|
if ($e(c) || kt(c))
|
|
26600
26600
|
break;
|
|
@@ -26630,7 +26630,7 @@ function qg(n, e, t, r, i, o) {
|
|
|
26630
26630
|
message: r,
|
|
26631
26631
|
time: a - l,
|
|
26632
26632
|
groupId: `translate:${e}`
|
|
26633
|
-
}), h && u && An &&
|
|
26633
|
+
}), h && u && An && Ti && (An(u), Ti("intlify message compilation", h, u));
|
|
26634
26634
|
}
|
|
26635
26635
|
return s.locale = t, s.key = e, s.source = r, s;
|
|
26636
26636
|
}
|
|
@@ -26645,7 +26645,7 @@ function G_(n, e, t) {
|
|
|
26645
26645
|
value: f,
|
|
26646
26646
|
time: g - r,
|
|
26647
26647
|
groupId: `translate:${e.key}`
|
|
26648
|
-
}), i && o && An &&
|
|
26648
|
+
}), i && o && An && Ti && (An(o), Ti("intlify message evaluation", i, o));
|
|
26649
26649
|
}
|
|
26650
26650
|
return f;
|
|
26651
26651
|
}
|
|
@@ -27075,7 +27075,7 @@ const l1 = {
|
|
|
27075
27075
|
[at.BRIDGE_SUPPORT_VUE_2_ONLY]: "vue-i18n-bridge support Vue 2.x only",
|
|
27076
27076
|
[at.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]: "Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",
|
|
27077
27077
|
[at.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
|
|
27078
|
-
}, Tc = /* @__PURE__ */ mr("__transrateVNode"), xc = /* @__PURE__ */ mr("__datetimeParts"), kc = /* @__PURE__ */ mr("__numberParts"),
|
|
27078
|
+
}, Tc = /* @__PURE__ */ mr("__transrateVNode"), xc = /* @__PURE__ */ mr("__datetimeParts"), kc = /* @__PURE__ */ mr("__numberParts"), xi = /* @__PURE__ */ mr("__enableEmitter"), os = /* @__PURE__ */ mr("__disableEmitter"), em = mr("__setPluralRules");
|
|
27079
27079
|
mr("__intlifyMeta");
|
|
27080
27080
|
const tm = /* @__PURE__ */ mr("__injectWithOption");
|
|
27081
27081
|
function Cc(n) {
|
|
@@ -27448,7 +27448,7 @@ function Tf(n = {}, e) {
|
|
|
27448
27448
|
setMissingHandler: R,
|
|
27449
27449
|
[em]: X
|
|
27450
27450
|
};
|
|
27451
|
-
return me.datetimeFormats = E, me.numberFormats = $, me.rt = P, me.te = le, me.tm = oe, me.d = M, me.n = U, me.getDateTimeFormat = ge, me.setDateTimeFormat = Ce, me.mergeDateTimeFormat = ue, me.getNumberFormat = de, me.setNumberFormat = _e, me.mergeNumberFormat = ke, me[tm] = n.__injectWithOption, me[Tc] = j, me[xc] = Z, me[kc] = q, process.env.NODE_ENV !== "production" && (me[
|
|
27451
|
+
return me.datetimeFormats = E, me.numberFormats = $, me.rt = P, me.te = le, me.tm = oe, me.d = M, me.n = U, me.getDateTimeFormat = ge, me.setDateTimeFormat = Ce, me.mergeDateTimeFormat = ue, me.getNumberFormat = de, me.setNumberFormat = _e, me.mergeNumberFormat = ke, me[tm] = n.__injectWithOption, me[Tc] = j, me[xc] = Z, me[kc] = q, process.env.NODE_ENV !== "production" && (me[xi] = (K) => {
|
|
27452
27452
|
w.__v_emitter = K;
|
|
27453
27453
|
}, me[os] = () => {
|
|
27454
27454
|
w.__v_emitter = void 0;
|
|
@@ -27703,7 +27703,7 @@ function Oc(n = {}, e) {
|
|
|
27703
27703
|
};
|
|
27704
27704
|
return process.env.NODE_ENV !== "production" && (r.__enableEmitter = (i) => {
|
|
27705
27705
|
const o = t;
|
|
27706
|
-
o[
|
|
27706
|
+
o[xi] && o[xi](i);
|
|
27707
27707
|
}, r.__disableEmitter = () => {
|
|
27708
27708
|
const i = t;
|
|
27709
27709
|
i[os] && i[os]();
|
|
@@ -28255,7 +28255,7 @@ function O1(n = {}, e) {
|
|
|
28255
28255
|
y.__enableEmitter && y.__enableEmitter(v);
|
|
28256
28256
|
} else {
|
|
28257
28257
|
const y = g;
|
|
28258
|
-
y[
|
|
28258
|
+
y[xi] && y[xi](v);
|
|
28259
28259
|
}
|
|
28260
28260
|
v.on("*", ss);
|
|
28261
28261
|
}
|
|
@@ -28316,7 +28316,7 @@ function $1(n, e, t) {
|
|
|
28316
28316
|
}
|
|
28317
28317
|
function L1(n) {
|
|
28318
28318
|
{
|
|
28319
|
-
const e =
|
|
28319
|
+
const e = fi(n.isCE ? C1 : n.appContext.app.__VUE_I18N_SYMBOL__);
|
|
28320
28320
|
if (!e)
|
|
28321
28321
|
throw It(n.isCE ? at.NOT_INSLALLED_WITH_PROVIDE : at.UNEXPECTED_ERROR);
|
|
28322
28322
|
return e;
|
|
@@ -28352,7 +28352,7 @@ function N1(n, e, t) {
|
|
|
28352
28352
|
if (process.env.NODE_ENV !== "production" && e.vnode.el) {
|
|
28353
28353
|
e.vnode.el.__VUE_I18N__ = t, r = Sf();
|
|
28354
28354
|
const i = t;
|
|
28355
|
-
i[
|
|
28355
|
+
i[xi] && i[xi](r), r.on("*", ss);
|
|
28356
28356
|
}
|
|
28357
28357
|
}, e), ug(() => {
|
|
28358
28358
|
if (process.env.NODE_ENV !== "production" && e.vnode.el && e.vnode.el.__VUE_I18N__) {
|
|
@@ -28983,7 +28983,7 @@ var K1 = function(e, t, r, i) {
|
|
|
28983
28983
|
g.setRequestHeader(l, i[l]);
|
|
28984
28984
|
}), g.send(r);
|
|
28985
28985
|
});
|
|
28986
|
-
}, cm = go.Buffer,
|
|
28986
|
+
}, cm = go.Buffer, ki = as, J1 = K1;
|
|
28987
28987
|
const Va = "https://example.org/";
|
|
28988
28988
|
var Rc;
|
|
28989
28989
|
typeof cm == "function" ? Rc = Q1 : Rc = window.btoa.bind(window);
|
|
@@ -29060,7 +29060,7 @@ function eS(n) {
|
|
|
29060
29060
|
try {
|
|
29061
29061
|
return JSON.parse(n);
|
|
29062
29062
|
} catch {
|
|
29063
|
-
return
|
|
29063
|
+
return ki.parse(n);
|
|
29064
29064
|
}
|
|
29065
29065
|
}
|
|
29066
29066
|
function Il(n) {
|
|
@@ -29076,7 +29076,7 @@ function fm(n, e) {
|
|
|
29076
29076
|
};
|
|
29077
29077
|
n.scopes !== void 0 && (t.scope = Il(n.scopes));
|
|
29078
29078
|
const r = n.authorizationUri.includes("?") ? "&" : "?";
|
|
29079
|
-
return n.authorizationUri + r +
|
|
29079
|
+
return n.authorizationUri + r + ki.stringify(
|
|
29080
29080
|
Object.assign(t, n.query)
|
|
29081
29081
|
);
|
|
29082
29082
|
}
|
|
@@ -29110,7 +29110,7 @@ ls.prototype.createToken = function(n, e, t, r) {
|
|
|
29110
29110
|
return new ls.Token(this, i);
|
|
29111
29111
|
};
|
|
29112
29112
|
ls.prototype._request = function(n) {
|
|
29113
|
-
var e = n.url, t =
|
|
29113
|
+
var e = n.url, t = ki.stringify(n.body), r = ki.stringify(n.query);
|
|
29114
29114
|
return r && (e += (e.indexOf("?") === -1 ? "?" : "&") + r), this.request(n.method, e, t, n.headers).then(function(i) {
|
|
29115
29115
|
var o = eS(i.body), f = Cf(o);
|
|
29116
29116
|
if (f)
|
|
@@ -29202,8 +29202,8 @@ Of.prototype.getToken = function(n, e) {
|
|
|
29202
29202
|
return Promise.reject(new TypeError("Unable to process uri: " + n));
|
|
29203
29203
|
var o = Object.assign(
|
|
29204
29204
|
{},
|
|
29205
|
-
typeof r.search == "string" ?
|
|
29206
|
-
typeof r.hash == "string" ?
|
|
29205
|
+
typeof r.search == "string" ? ki.parse(r.search.substr(1)) : r.search || {},
|
|
29206
|
+
typeof r.hash == "string" ? ki.parse(r.hash.substr(1)) : r.hash || {}
|
|
29207
29207
|
), f = Cf(o);
|
|
29208
29208
|
return f ? Promise.reject(f) : t.state != null && o.state !== t.state ? Promise.reject(new TypeError("Invalid state: " + o.state)) : Promise.resolve(this.client.createToken(o));
|
|
29209
29209
|
};
|
|
@@ -29244,7 +29244,7 @@ $f.prototype.getToken = function(n, e) {
|
|
|
29244
29244
|
);
|
|
29245
29245
|
if (!i.search || !i.search.substr(1))
|
|
29246
29246
|
return Promise.reject(new TypeError("Unable to process uri: " + n));
|
|
29247
|
-
var o = typeof i.search == "string" ?
|
|
29247
|
+
var o = typeof i.search == "string" ? ki.parse(i.search.substr(1)) : i.search || {}, f = Cf(o);
|
|
29248
29248
|
if (f)
|
|
29249
29249
|
return Promise.reject(f);
|
|
29250
29250
|
if (r.state != null && o.state !== r.state)
|
|
@@ -33817,7 +33817,7 @@ var NS = "[object Symbol]";
|
|
|
33817
33817
|
function fs(n) {
|
|
33818
33818
|
return typeof n == "symbol" || Jn(n) && Ri(n) == NS;
|
|
33819
33819
|
}
|
|
33820
|
-
function
|
|
33820
|
+
function _i(n, e) {
|
|
33821
33821
|
for (var t = -1, r = n == null ? 0 : n.length, i = Array(r); ++t < r; )
|
|
33822
33822
|
i[t] = e(n[t], t, n);
|
|
33823
33823
|
return i;
|
|
@@ -33829,7 +33829,7 @@ function Im(n) {
|
|
|
33829
33829
|
if (typeof n == "string")
|
|
33830
33830
|
return n;
|
|
33831
33831
|
if (cn(n))
|
|
33832
|
-
return
|
|
33832
|
+
return _i(n, Im) + "";
|
|
33833
33833
|
if (fs(n))
|
|
33834
33834
|
return Bd ? Bd.call(n) : "";
|
|
33835
33835
|
var e = n + "";
|
|
@@ -34199,18 +34199,18 @@ function DA(n, e) {
|
|
|
34199
34199
|
var t = this.__data__;
|
|
34200
34200
|
return this.size += this.has(n) ? 0 : 1, t[n] = ds && e === void 0 ? PA : e, this;
|
|
34201
34201
|
}
|
|
34202
|
-
function
|
|
34202
|
+
function Ci(n) {
|
|
34203
34203
|
var e = -1, t = n == null ? 0 : n.length;
|
|
34204
34204
|
for (this.clear(); ++e < t; ) {
|
|
34205
34205
|
var r = n[e];
|
|
34206
34206
|
this.set(r[0], r[1]);
|
|
34207
34207
|
}
|
|
34208
34208
|
}
|
|
34209
|
-
|
|
34210
|
-
|
|
34211
|
-
|
|
34212
|
-
|
|
34213
|
-
|
|
34209
|
+
Ci.prototype.clear = kA;
|
|
34210
|
+
Ci.prototype.delete = CA;
|
|
34211
|
+
Ci.prototype.get = RA;
|
|
34212
|
+
Ci.prototype.has = NA;
|
|
34213
|
+
Ci.prototype.set = DA;
|
|
34214
34214
|
function FA() {
|
|
34215
34215
|
this.__data__ = [], this.size = 0;
|
|
34216
34216
|
}
|
|
@@ -34255,9 +34255,9 @@ var zA = Mi(vr, "Map");
|
|
|
34255
34255
|
const ps = zA;
|
|
34256
34256
|
function GA() {
|
|
34257
34257
|
this.size = 0, this.__data__ = {
|
|
34258
|
-
hash: new
|
|
34258
|
+
hash: new Ci(),
|
|
34259
34259
|
map: new (ps || jr)(),
|
|
34260
|
-
string: new
|
|
34260
|
+
string: new Ci()
|
|
34261
34261
|
};
|
|
34262
34262
|
}
|
|
34263
34263
|
function qA(n) {
|
|
@@ -34482,8 +34482,8 @@ var BT = Mi(vr, "Promise");
|
|
|
34482
34482
|
const Dc = BT;
|
|
34483
34483
|
var jT = Mi(vr, "Set");
|
|
34484
34484
|
const Fc = jT;
|
|
34485
|
-
var Xd = "[object Map]", UT = "[object Object]", Qd = "[object Promise]", ep = "[object Set]", tp = "[object WeakMap]", np = "[object DataView]", HT = Ii(Pc), WT = Ii(ps), VT = Ii(Dc), zT = Ii(Fc), GT = Ii(Mc),
|
|
34486
|
-
(Pc &&
|
|
34485
|
+
var Xd = "[object Map]", UT = "[object Object]", Qd = "[object Promise]", ep = "[object Set]", tp = "[object WeakMap]", np = "[object DataView]", HT = Ii(Pc), WT = Ii(ps), VT = Ii(Dc), zT = Ii(Fc), GT = Ii(Mc), yi = Ri;
|
|
34486
|
+
(Pc && yi(new Pc(new ArrayBuffer(1))) != np || ps && yi(new ps()) != Xd || Dc && yi(Dc.resolve()) != Qd || Fc && yi(new Fc()) != ep || Mc && yi(new Mc()) != tp) && (yi = function(n) {
|
|
34487
34487
|
var e = Ri(n), t = e == UT ? n.constructor : void 0, r = t ? Ii(t) : "";
|
|
34488
34488
|
if (r)
|
|
34489
34489
|
switch (r) {
|
|
@@ -34500,7 +34500,7 @@ var Xd = "[object Map]", UT = "[object Object]", Qd = "[object Promise]", ep = "
|
|
|
34500
34500
|
}
|
|
34501
34501
|
return e;
|
|
34502
34502
|
});
|
|
34503
|
-
const gs =
|
|
34503
|
+
const gs = yi;
|
|
34504
34504
|
var qT = Object.prototype, YT = qT.hasOwnProperty;
|
|
34505
34505
|
function KT(n) {
|
|
34506
34506
|
var e = n.length, t = new n.constructor(e);
|
|
@@ -34924,7 +34924,7 @@ var lC = Math.min;
|
|
|
34924
34924
|
function uC(n, e, t) {
|
|
34925
34925
|
for (var r = t ? oC : SE, i = n[0].length, o = n.length, f = o, g = Array(o), l = 1 / 0, h = []; f--; ) {
|
|
34926
34926
|
var u = n[f];
|
|
34927
|
-
f && e && (u =
|
|
34927
|
+
f && e && (u = _i(u, Ms(e))), l = lC(u.length, l), g[f] = !t && (e || i >= 120 && u.length >= 120) ? new ms(f && u) : void 0;
|
|
34928
34928
|
}
|
|
34929
34929
|
u = n[0];
|
|
34930
34930
|
var s = -1, a = g[0];
|
|
@@ -34946,14 +34946,14 @@ function cC(n) {
|
|
|
34946
34946
|
return iC(n) ? n : [];
|
|
34947
34947
|
}
|
|
34948
34948
|
var fC = kE(function(n) {
|
|
34949
|
-
var e =
|
|
34949
|
+
var e = _i(n, cC);
|
|
34950
34950
|
return e.length && e[0] === n[0] ? uC(e) : [];
|
|
34951
34951
|
});
|
|
34952
34952
|
const hC = fC;
|
|
34953
34953
|
function dC(n, e) {
|
|
34954
34954
|
return e.length < 2 ? n : Vl(n, yT(e, 0, -1));
|
|
34955
34955
|
}
|
|
34956
|
-
function
|
|
34956
|
+
function bi(n, e) {
|
|
34957
34957
|
return zl(n, e);
|
|
34958
34958
|
}
|
|
34959
34959
|
function sv(n, e) {
|
|
@@ -34967,7 +34967,7 @@ var gC = 1, mC = 2, vC = 4, yC = cT(function(n, e) {
|
|
|
34967
34967
|
if (n == null)
|
|
34968
34968
|
return t;
|
|
34969
34969
|
var r = !1;
|
|
34970
|
-
e =
|
|
34970
|
+
e = _i(e, function(o) {
|
|
34971
34971
|
return o = Wl(o, n), r || (r = o.length > 1), o;
|
|
34972
34972
|
}), Rs(n, Xm(n), t), r && (t = io(t, gC | mC | vC, pC));
|
|
34973
34973
|
for (var i = e.length; i--; )
|
|
@@ -35004,15 +35004,15 @@ function SC(n, e, t) {
|
|
|
35004
35004
|
return n.index - e.index;
|
|
35005
35005
|
}
|
|
35006
35006
|
function EC(n, e, t) {
|
|
35007
|
-
e.length ? e =
|
|
35007
|
+
e.length ? e = _i(e, function(o) {
|
|
35008
35008
|
return cn(o) ? function(f) {
|
|
35009
35009
|
return Vl(f, o.length === 1 ? o[0] : o);
|
|
35010
35010
|
} : o;
|
|
35011
35011
|
}) : e = [jl];
|
|
35012
35012
|
var r = -1;
|
|
35013
|
-
e =
|
|
35013
|
+
e = _i(e, Ms(ov));
|
|
35014
35014
|
var i = aC(n, function(o, f, g) {
|
|
35015
|
-
var l =
|
|
35015
|
+
var l = _i(e, function(h) {
|
|
35016
35016
|
return h(o);
|
|
35017
35017
|
});
|
|
35018
35018
|
return { criteria: l, index: ++r, value: o };
|
|
@@ -35468,196 +35468,196 @@ const hp = /* @__PURE__ */ xo(HC), dp = "ls.authenticationData", Uo = ce(), Vn =
|
|
|
35468
35468
|
scopes: ["offline_access"]
|
|
35469
35469
|
}), qi = ce(!1), ic = ce(), Yi = new iS();
|
|
35470
35470
|
function yr() {
|
|
35471
|
-
|
|
35472
|
-
|
|
35471
|
+
const n = fi("platformUrl");
|
|
35472
|
+
async function e(b, w) {
|
|
35473
|
+
let S = !1;
|
|
35473
35474
|
try {
|
|
35474
|
-
Vn.value = !0,
|
|
35475
|
-
token:
|
|
35475
|
+
Vn.value = !0, S = await Yi.validatePasswordResetToken(b, {
|
|
35476
|
+
token: w
|
|
35476
35477
|
});
|
|
35477
35478
|
} catch {
|
|
35478
35479
|
} finally {
|
|
35479
35480
|
Vn.value = !1;
|
|
35480
35481
|
}
|
|
35481
|
-
return
|
|
35482
|
+
return S;
|
|
35482
35483
|
}
|
|
35483
|
-
async function
|
|
35484
|
-
return Yi.validatePassword(
|
|
35484
|
+
async function t(b) {
|
|
35485
|
+
return Yi.validatePassword(b);
|
|
35485
35486
|
}
|
|
35486
|
-
async function
|
|
35487
|
-
return Yi.resetPasswordByToken(
|
|
35488
|
-
newPassword:
|
|
35489
|
-
token:
|
|
35487
|
+
async function r(b, w, S) {
|
|
35488
|
+
return Yi.resetPasswordByToken(b, {
|
|
35489
|
+
newPassword: w,
|
|
35490
|
+
token: S
|
|
35490
35491
|
});
|
|
35491
35492
|
}
|
|
35492
|
-
async function
|
|
35493
|
+
async function i(b, w) {
|
|
35493
35494
|
console.debug("[@vc-shell/framework#useUser:signIn] - Entry point");
|
|
35494
|
-
let
|
|
35495
|
+
let S;
|
|
35495
35496
|
try {
|
|
35496
|
-
Vn.value = !0,
|
|
35497
|
-
} catch (
|
|
35498
|
-
return { succeeded: !1, error:
|
|
35497
|
+
Vn.value = !0, S = await pp.owner.getToken(b, w);
|
|
35498
|
+
} catch (T) {
|
|
35499
|
+
return { succeeded: !1, error: T };
|
|
35499
35500
|
} finally {
|
|
35500
35501
|
Vn.value = !1;
|
|
35501
35502
|
}
|
|
35502
|
-
return
|
|
35503
|
-
accessToken:
|
|
35504
|
-
refreshToken:
|
|
35505
|
-
expiresAt:
|
|
35506
|
-
userName:
|
|
35507
|
-
}, console.log("[useUser]: an access token has been obtained successfully", Yt.value),
|
|
35508
|
-
}
|
|
35509
|
-
async function i() {
|
|
35510
|
-
console.debug("[@vc-shell/framework#useUser:signOut] - Entry point"), qi.value ? (p(ic.value), ic.value = void 0) : (Uo.value = void 0, Yt.value = void 0, g({}));
|
|
35503
|
+
return S && (Yt.value = {
|
|
35504
|
+
accessToken: S.accessToken,
|
|
35505
|
+
refreshToken: S.refreshToken,
|
|
35506
|
+
expiresAt: u(Number(S.data.expires_in)),
|
|
35507
|
+
userName: b
|
|
35508
|
+
}, console.log("[useUser]: an access token has been obtained successfully", Yt.value), l(Yt.value), await f()), { succeeded: !0 };
|
|
35511
35509
|
}
|
|
35512
35510
|
async function o() {
|
|
35511
|
+
console.debug("[@vc-shell/framework#useUser:signOut] - Entry point"), qi.value ? (m(ic.value), ic.value = void 0) : (Uo.value = void 0, Yt.value = void 0, l({}));
|
|
35512
|
+
}
|
|
35513
|
+
async function f() {
|
|
35513
35514
|
console.debug("[@vc-shell/framework#useUser:loadUser] - Entry point");
|
|
35514
|
-
const
|
|
35515
|
-
if (
|
|
35516
|
-
Yi.setAuthToken(
|
|
35515
|
+
const b = await g();
|
|
35516
|
+
if (b) {
|
|
35517
|
+
Yi.setAuthToken(b);
|
|
35517
35518
|
try {
|
|
35518
35519
|
Vn.value = !0, Uo.value = await Yi.getCurrentUser(), console.log("[useUser]: an user details has been loaded", Uo.value);
|
|
35519
|
-
} catch (
|
|
35520
|
-
throw console.dir(
|
|
35520
|
+
} catch (w) {
|
|
35521
|
+
throw console.dir(w), w;
|
|
35521
35522
|
} finally {
|
|
35522
35523
|
Vn.value = !1;
|
|
35523
35524
|
}
|
|
35524
35525
|
}
|
|
35525
35526
|
return { ...Uo.value };
|
|
35526
35527
|
}
|
|
35527
|
-
async function
|
|
35528
|
-
if (console.debug("[@vc-shell/framework#useUser:getAccessToken] - Entry point"), (!Yt.value || Object.keys(Yt.value).length === 0) && (Yt.value = await
|
|
35529
|
-
const
|
|
35528
|
+
async function g() {
|
|
35529
|
+
if (console.debug("[@vc-shell/framework#useUser:getAccessToken] - Entry point"), (!Yt.value || Object.keys(Yt.value).length === 0) && (Yt.value = await h()), Yt.value && Date.now() >= (Yt.value.expiresAt ?? 0)) {
|
|
35530
|
+
const b = pp.createToken(
|
|
35530
35531
|
Yt.value.accessToken ?? Yt.value.token ?? "",
|
|
35531
35532
|
Yt.value.refreshToken ?? "",
|
|
35532
35533
|
{}
|
|
35533
35534
|
);
|
|
35534
35535
|
console.log("[useUser]: an access token is expired, using refresh token to receive a new");
|
|
35535
35536
|
try {
|
|
35536
|
-
const
|
|
35537
|
-
|
|
35537
|
+
const w = await b.refresh();
|
|
35538
|
+
w && (Yt.value = {
|
|
35538
35539
|
...Yt.value,
|
|
35539
|
-
accessToken:
|
|
35540
|
-
token:
|
|
35541
|
-
refreshToken:
|
|
35542
|
-
expiresAt:
|
|
35543
|
-
},
|
|
35544
|
-
} catch (
|
|
35545
|
-
console.log("[useUser]: getAccessToken() returns error",
|
|
35540
|
+
accessToken: w.accessToken,
|
|
35541
|
+
token: w.accessToken,
|
|
35542
|
+
refreshToken: w.refreshToken,
|
|
35543
|
+
expiresAt: u(Number(w.data.expires_in))
|
|
35544
|
+
}, l(Yt.value));
|
|
35545
|
+
} catch (w) {
|
|
35546
|
+
console.log("[useUser]: getAccessToken() returns error", w);
|
|
35546
35547
|
}
|
|
35547
35548
|
}
|
|
35548
35549
|
return Yt.value?.accessToken ?? Yt.value?.token;
|
|
35549
35550
|
}
|
|
35550
|
-
function
|
|
35551
|
-
localStorage.setItem(dp, JSON.stringify({ ...
|
|
35551
|
+
function l(b) {
|
|
35552
|
+
localStorage.setItem(dp, JSON.stringify({ ...b || {} }));
|
|
35552
35553
|
}
|
|
35553
|
-
async function
|
|
35554
|
+
async function h() {
|
|
35554
35555
|
return await JSON.parse(localStorage.getItem(dp) || "{}");
|
|
35555
35556
|
}
|
|
35556
|
-
function
|
|
35557
|
-
return Date.now() +
|
|
35557
|
+
function u(b) {
|
|
35558
|
+
return Date.now() + b * 1e3;
|
|
35558
35559
|
}
|
|
35559
|
-
async function
|
|
35560
|
+
async function s(b) {
|
|
35560
35561
|
try {
|
|
35561
|
-
return Vn.value = !0, await Yi.requestPasswordReset(
|
|
35562
|
-
} catch (
|
|
35563
|
-
return { succeeded: !1, error:
|
|
35562
|
+
return Vn.value = !0, await Yi.requestPasswordReset(b), { succeeded: !0 };
|
|
35563
|
+
} catch (w) {
|
|
35564
|
+
return { succeeded: !1, error: w };
|
|
35564
35565
|
} finally {
|
|
35565
35566
|
Vn.value = !1;
|
|
35566
35567
|
}
|
|
35567
35568
|
}
|
|
35568
|
-
async function
|
|
35569
|
-
const
|
|
35570
|
-
let
|
|
35571
|
-
if (
|
|
35569
|
+
async function a(b, w) {
|
|
35570
|
+
const S = await g();
|
|
35571
|
+
let T;
|
|
35572
|
+
if (S)
|
|
35572
35573
|
try {
|
|
35573
35574
|
Vn.value = !0;
|
|
35574
|
-
const
|
|
35575
|
+
const x = await fetch("/api/platform/security/currentuser/changepassword", {
|
|
35575
35576
|
method: "POST",
|
|
35576
35577
|
headers: {
|
|
35577
35578
|
"Content-Type": "application/json-patch+json",
|
|
35578
35579
|
Accept: "text/plain",
|
|
35579
|
-
authorization: `Bearer ${
|
|
35580
|
+
authorization: `Bearer ${S}`
|
|
35580
35581
|
},
|
|
35581
35582
|
body: JSON.stringify({
|
|
35582
|
-
oldPassword:
|
|
35583
|
-
newPassword:
|
|
35583
|
+
oldPassword: b,
|
|
35584
|
+
newPassword: w
|
|
35584
35585
|
})
|
|
35585
35586
|
});
|
|
35586
|
-
|
|
35587
|
-
} catch (
|
|
35588
|
-
return { succeeded: !1, errors: [
|
|
35587
|
+
x.status !== 500 && (T = await x.text().then((O) => JSON.parse(O)));
|
|
35588
|
+
} catch (x) {
|
|
35589
|
+
return { succeeded: !1, errors: [x.message] };
|
|
35589
35590
|
} finally {
|
|
35590
35591
|
Vn.value = !1;
|
|
35591
35592
|
}
|
|
35592
|
-
return
|
|
35593
|
+
return T;
|
|
35593
35594
|
}
|
|
35594
|
-
async function
|
|
35595
|
-
let
|
|
35595
|
+
async function c() {
|
|
35596
|
+
let b = null;
|
|
35596
35597
|
try {
|
|
35597
|
-
const
|
|
35598
|
+
const S = await (await fetch("/api/platform/security/logintypes", {
|
|
35598
35599
|
method: "GET",
|
|
35599
35600
|
headers: {}
|
|
35600
35601
|
})).text();
|
|
35601
|
-
|
|
35602
|
-
} catch (
|
|
35603
|
-
throw console.error(
|
|
35602
|
+
S && S.trim() && (b = JSON.parse(S));
|
|
35603
|
+
} catch (w) {
|
|
35604
|
+
throw console.error(w), w;
|
|
35604
35605
|
}
|
|
35605
|
-
return
|
|
35606
|
+
return b;
|
|
35606
35607
|
}
|
|
35607
|
-
async function
|
|
35608
|
-
let
|
|
35608
|
+
async function d() {
|
|
35609
|
+
let b = null;
|
|
35609
35610
|
try {
|
|
35610
|
-
const
|
|
35611
|
+
const S = await (await fetch(n + "externalsignin/providers", {
|
|
35611
35612
|
method: "GET"
|
|
35612
35613
|
})).text();
|
|
35613
|
-
|
|
35614
|
-
} catch (
|
|
35615
|
-
throw console.error(
|
|
35614
|
+
S && S.trim() && (b = JSON.parse(S));
|
|
35615
|
+
} catch (w) {
|
|
35616
|
+
throw console.error(w), w;
|
|
35616
35617
|
}
|
|
35617
|
-
return
|
|
35618
|
+
return b;
|
|
35618
35619
|
}
|
|
35619
|
-
async function
|
|
35620
|
-
ic.value =
|
|
35620
|
+
async function p(b, w) {
|
|
35621
|
+
ic.value = b;
|
|
35621
35622
|
try {
|
|
35622
|
-
let
|
|
35623
|
-
if (
|
|
35623
|
+
let S = n + "externalsignin?";
|
|
35624
|
+
if (b === null)
|
|
35624
35625
|
throw new Error("The parameter 'authenticationType' cannot be null.");
|
|
35625
|
-
|
|
35626
|
-
} catch (
|
|
35627
|
-
throw qi.value = !1, console.error(
|
|
35626
|
+
b !== void 0 && (S += "authenticationType=" + encodeURIComponent("" + b) + "&"), w !== void 0 && (S += "returnUrl=" + encodeURIComponent("" + w) + "&"), S = S.replace(/[?&]$/, ""), qi.value = !0, _(), window.location.href = S;
|
|
35627
|
+
} catch (S) {
|
|
35628
|
+
throw qi.value = !1, console.error(S), S;
|
|
35628
35629
|
}
|
|
35629
35630
|
}
|
|
35630
|
-
async function
|
|
35631
|
+
async function m(b) {
|
|
35631
35632
|
try {
|
|
35632
|
-
let
|
|
35633
|
-
if (
|
|
35633
|
+
let w = n + "externalsignin/signout?";
|
|
35634
|
+
if (b === null)
|
|
35634
35635
|
throw new Error("The parameter 'authenticationType' cannot be null.");
|
|
35635
|
-
|
|
35636
|
+
b !== void 0 && (w += "authenticationType=" + encodeURIComponent("" + b) + "&"), w = w.replace(/[?&]$/, ""), await fetch(w, {
|
|
35636
35637
|
method: "GET",
|
|
35637
|
-
mode: "no-cors",
|
|
35638
35638
|
headers: {}
|
|
35639
35639
|
}), hp.clear();
|
|
35640
|
-
} catch (
|
|
35641
|
-
throw console.error(
|
|
35640
|
+
} catch (w) {
|
|
35641
|
+
throw console.error(w), w;
|
|
35642
35642
|
}
|
|
35643
35643
|
qi.value = !1;
|
|
35644
35644
|
}
|
|
35645
|
-
async function m() {
|
|
35646
|
-
const _ = await a();
|
|
35647
|
-
return _ ? _.filter((b) => b.authenticationType === "AzureAD").length > 0 && _.find((b) => b.authenticationType === "AzureAD").enabled : !1;
|
|
35648
|
-
}
|
|
35649
35645
|
async function v() {
|
|
35650
|
-
const
|
|
35651
|
-
return
|
|
35646
|
+
const b = await c();
|
|
35647
|
+
return b ? b.filter((w) => w.authenticationType === "AzureAD").length > 0 && b.find((w) => w.authenticationType === "AzureAD").enabled : !1;
|
|
35652
35648
|
}
|
|
35653
|
-
function y() {
|
|
35649
|
+
async function y() {
|
|
35650
|
+
const b = await d();
|
|
35651
|
+
return b ? b.find((w) => w.authenticationType === "AzureAD").displayName : null;
|
|
35652
|
+
}
|
|
35653
|
+
function _() {
|
|
35654
35654
|
return console.log("[@vc-shell/framework#useUser:initInterceptor]: Entry point"), hp.register({
|
|
35655
|
-
request: function(
|
|
35655
|
+
request: function(b, w) {
|
|
35656
35656
|
if (qi.value) {
|
|
35657
|
-
const
|
|
35658
|
-
|
|
35657
|
+
const S = bC(w.headers, "authorization");
|
|
35658
|
+
w.headers = S;
|
|
35659
35659
|
}
|
|
35660
|
-
return [
|
|
35660
|
+
return [b, w];
|
|
35661
35661
|
}
|
|
35662
35662
|
});
|
|
35663
35663
|
}
|
|
@@ -35665,21 +35665,21 @@ function yr() {
|
|
|
35665
35665
|
user: Ee(() => Uo.value),
|
|
35666
35666
|
loading: Ee(() => Vn.value),
|
|
35667
35667
|
isExternalSignedIn: qi,
|
|
35668
|
-
getAccessToken:
|
|
35669
|
-
loadUser:
|
|
35670
|
-
signIn:
|
|
35671
|
-
signOut:
|
|
35672
|
-
validateToken:
|
|
35673
|
-
validatePassword:
|
|
35674
|
-
resetPasswordByToken:
|
|
35675
|
-
requestPasswordReset:
|
|
35676
|
-
changeUserPassword:
|
|
35677
|
-
getExternalLoginProviders:
|
|
35678
|
-
externalSignIn:
|
|
35679
|
-
externalSignOut:
|
|
35680
|
-
getLoginTypes:
|
|
35681
|
-
isAzureAdAuthAvailable:
|
|
35682
|
-
getAzureAdAuthCaption:
|
|
35668
|
+
getAccessToken: g,
|
|
35669
|
+
loadUser: f,
|
|
35670
|
+
signIn: i,
|
|
35671
|
+
signOut: o,
|
|
35672
|
+
validateToken: e,
|
|
35673
|
+
validatePassword: t,
|
|
35674
|
+
resetPasswordByToken: r,
|
|
35675
|
+
requestPasswordReset: s,
|
|
35676
|
+
changeUserPassword: a,
|
|
35677
|
+
getExternalLoginProviders: d,
|
|
35678
|
+
externalSignIn: p,
|
|
35679
|
+
externalSignOut: m,
|
|
35680
|
+
getLoginTypes: c,
|
|
35681
|
+
isAzureAdAuthAvailable: v,
|
|
35682
|
+
getAzureAdAuthCaption: y
|
|
35683
35683
|
};
|
|
35684
35684
|
}
|
|
35685
35685
|
const oc = new rS(), Ki = ce([]), da = ce([]);
|
|
@@ -35744,7 +35744,7 @@ const pa = ce({
|
|
|
35744
35744
|
title: void 0
|
|
35745
35745
|
});
|
|
35746
35746
|
function VC() {
|
|
35747
|
-
const { getAccessToken: n } = yr(), e =
|
|
35747
|
+
const { getAccessToken: n } = yr(), e = fi("platformUrl");
|
|
35748
35748
|
async function t() {
|
|
35749
35749
|
const o = new oS();
|
|
35750
35750
|
return o.setAuthToken(await n()), o;
|
|
@@ -37211,10 +37211,10 @@ function La(n) {
|
|
|
37211
37211
|
const t = ui(n);
|
|
37212
37212
|
return (e = t?.$el) != null ? e : t;
|
|
37213
37213
|
}
|
|
37214
|
-
const
|
|
37214
|
+
const Oi = bh ? window : void 0;
|
|
37215
37215
|
function wp(...n) {
|
|
37216
37216
|
let e, t, r, i;
|
|
37217
|
-
if (typeof n[0] == "string" || Array.isArray(n[0]) ? ([t, r, i] = n, e =
|
|
37217
|
+
if (typeof n[0] == "string" || Array.isArray(n[0]) ? ([t, r, i] = n, e = Oi) : [e, t, r, i] = n, !e)
|
|
37218
37218
|
return ri;
|
|
37219
37219
|
Array.isArray(t) || (t = [t]), Array.isArray(r) || (r = [r]);
|
|
37220
37220
|
const o = [], f = () => {
|
|
@@ -37243,7 +37243,7 @@ function wv(n) {
|
|
|
37243
37243
|
return Ee(() => (e.value, !!n()));
|
|
37244
37244
|
}
|
|
37245
37245
|
function Ho(n, e = {}) {
|
|
37246
|
-
const { window: t =
|
|
37246
|
+
const { window: t = Oi } = e, r = wv(() => t && "matchMedia" in t && typeof t.matchMedia == "function");
|
|
37247
37247
|
let i;
|
|
37248
37248
|
const o = ce(!1), f = () => {
|
|
37249
37249
|
i && ("removeEventListener" in i ? i.removeEventListener("change", g) : i.removeListener(g));
|
|
@@ -37257,7 +37257,7 @@ function f$(n, e = {}) {
|
|
|
37257
37257
|
let h = n[g];
|
|
37258
37258
|
return l != null && (h = XO(h, l)), typeof h == "number" && (h = `${h}px`), h;
|
|
37259
37259
|
}
|
|
37260
|
-
const { window: r =
|
|
37260
|
+
const { window: r = Oi } = e;
|
|
37261
37261
|
function i(g) {
|
|
37262
37262
|
return r ? r.matchMedia(g).matches : !1;
|
|
37263
37263
|
}
|
|
@@ -37362,7 +37362,7 @@ function w$(n, e, t, r = {}) {
|
|
|
37362
37362
|
writeDefaults: l = !0,
|
|
37363
37363
|
mergeDefaults: h = !1,
|
|
37364
37364
|
shallow: u,
|
|
37365
|
-
window: s =
|
|
37365
|
+
window: s = Oi,
|
|
37366
37366
|
eventFilter: a,
|
|
37367
37367
|
onError: c = (x) => {
|
|
37368
37368
|
console.error(x);
|
|
@@ -37372,7 +37372,7 @@ function w$(n, e, t, r = {}) {
|
|
|
37372
37372
|
try {
|
|
37373
37373
|
t = p$("getDefaultStorage", () => {
|
|
37374
37374
|
var x;
|
|
37375
|
-
return (x =
|
|
37375
|
+
return (x = Oi) == null ? void 0 : x.localStorage;
|
|
37376
37376
|
})();
|
|
37377
37377
|
} catch (x) {
|
|
37378
37378
|
c(x);
|
|
@@ -37448,7 +37448,7 @@ function S$(n, e, t = {}) {
|
|
|
37448
37448
|
root: r,
|
|
37449
37449
|
rootMargin: i = "0px",
|
|
37450
37450
|
threshold: o = 0.1,
|
|
37451
|
-
window: f =
|
|
37451
|
+
window: f = Oi,
|
|
37452
37452
|
immediate: g = !0
|
|
37453
37453
|
} = t, l = wv(() => f && "IntersectionObserver" in f), h = Ee(() => {
|
|
37454
37454
|
const d = ui(n);
|
|
@@ -37489,7 +37489,7 @@ function S$(n, e, t = {}) {
|
|
|
37489
37489
|
};
|
|
37490
37490
|
}
|
|
37491
37491
|
function _v(n, e, t = {}) {
|
|
37492
|
-
const { window: r =
|
|
37492
|
+
const { window: r = Oi } = t;
|
|
37493
37493
|
return w$(n, e, r?.localStorage, t);
|
|
37494
37494
|
}
|
|
37495
37495
|
function zo(n) {
|
|
@@ -37634,17 +37634,17 @@ function js(n) {
|
|
|
37634
37634
|
function wh(n) {
|
|
37635
37635
|
return n === "y" ? "height" : "width";
|
|
37636
37636
|
}
|
|
37637
|
-
function
|
|
37637
|
+
function Si(n) {
|
|
37638
37638
|
return n.split("-")[0];
|
|
37639
37639
|
}
|
|
37640
37640
|
function Us(n) {
|
|
37641
|
-
return ["top", "bottom"].includes(
|
|
37641
|
+
return ["top", "bottom"].includes(Si(n)) ? "x" : "y";
|
|
37642
37642
|
}
|
|
37643
37643
|
function kp(n, e, t) {
|
|
37644
37644
|
let { reference: r, floating: i } = n;
|
|
37645
37645
|
const o = r.x + r.width / 2 - i.width / 2, f = r.y + r.height / 2 - i.height / 2, g = Us(e), l = wh(g), h = r[l] / 2 - i[l] / 2, u = g === "x";
|
|
37646
37646
|
let s;
|
|
37647
|
-
switch (
|
|
37647
|
+
switch (Si(e)) {
|
|
37648
37648
|
case "top":
|
|
37649
37649
|
s = { x: o, y: r.y - i.height };
|
|
37650
37650
|
break;
|
|
@@ -37724,7 +37724,7 @@ function ac(n) {
|
|
|
37724
37724
|
const _h = function(n) {
|
|
37725
37725
|
return n === void 0 && (n = {}), { name: "flip", options: n, async fn(e) {
|
|
37726
37726
|
var t;
|
|
37727
|
-
const { placement: r, middlewareData: i, rects: o, initialPlacement: f, platform: g, elements: l } = e, { mainAxis: h = !0, crossAxis: u = !0, fallbackPlacements: s, fallbackStrategy: a = "bestFit", fallbackAxisSideDirection: c = "none", flipAlignment: d = !0, ...p } = n, m =
|
|
37727
|
+
const { placement: r, middlewareData: i, rects: o, initialPlacement: f, platform: g, elements: l } = e, { mainAxis: h = !0, crossAxis: u = !0, fallbackPlacements: s, fallbackStrategy: a = "bestFit", fallbackAxisSideDirection: c = "none", flipAlignment: d = !0, ...p } = n, m = Si(r), v = Si(f) === f, y = await (g.isRTL == null ? void 0 : g.isRTL(l.floating)), _ = s || (v || !d ? [sl(f)] : function(E) {
|
|
37728
37728
|
const $ = sl(E);
|
|
37729
37729
|
return [ac(E), $, ac($)];
|
|
37730
37730
|
}(f));
|
|
@@ -37742,7 +37742,7 @@ const _h = function(n) {
|
|
|
37742
37742
|
default:
|
|
37743
37743
|
return [];
|
|
37744
37744
|
}
|
|
37745
|
-
}(
|
|
37745
|
+
}(Si(E), C === "start", k);
|
|
37746
37746
|
return L && (R = R.map((N) => N + "-" + L), $ && (R = R.concat(R.map(ac)))), R;
|
|
37747
37747
|
}(f, d, c, y));
|
|
37748
37748
|
const b = [f, ..._], w = await Tv(e, p), S = [];
|
|
@@ -37776,7 +37776,7 @@ const _h = function(n) {
|
|
|
37776
37776
|
}, Gl = function(n) {
|
|
37777
37777
|
return n === void 0 && (n = 0), { name: "offset", options: n, async fn(e) {
|
|
37778
37778
|
const { x: t, y: r } = e, i = await async function(o, f) {
|
|
37779
|
-
const { placement: g, platform: l, elements: h } = o, u = await (l.isRTL == null ? void 0 : l.isRTL(h.floating)), s =
|
|
37779
|
+
const { placement: g, platform: l, elements: h } = o, u = await (l.isRTL == null ? void 0 : l.isRTL(h.floating)), s = Si(g), a = js(g), c = Us(g) === "x", d = ["left", "top"].includes(s) ? -1 : 1, p = u && c ? -1 : 1, m = typeof f == "function" ? f(o) : f;
|
|
37780
37780
|
let { mainAxis: v, crossAxis: y, alignmentAxis: _ } = typeof m == "number" ? { mainAxis: m, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...m };
|
|
37781
37781
|
return a && typeof _ == "number" && (y = a === "end" ? -1 * _ : _), c ? { x: y * p, y: v * d } : { x: v * d, y: y * p };
|
|
37782
37782
|
}(e, n);
|
|
@@ -37791,7 +37791,7 @@ const xv = function(n) {
|
|
|
37791
37791
|
const { x: t, y: r, placement: i } = e, { mainAxis: o = !0, crossAxis: f = !1, limiter: g = { fn: (m) => {
|
|
37792
37792
|
let { x: v, y } = m;
|
|
37793
37793
|
return { x: v, y };
|
|
37794
|
-
} }, ...l } = n, h = { x: t, y: r }, u = await Tv(e, l), s = Us(
|
|
37794
|
+
} }, ...l } = n, h = { x: t, y: r }, u = await Tv(e, l), s = Us(Si(i)), a = M$(s);
|
|
37795
37795
|
let c = h[s], d = h[a];
|
|
37796
37796
|
if (o) {
|
|
37797
37797
|
const m = s === "y" ? "bottom" : "right";
|
|
@@ -37871,7 +37871,7 @@ function Lv(n, e, t) {
|
|
|
37871
37871
|
const o = n ? Mn(n) : window;
|
|
37872
37872
|
return !t || e && t !== o ? $p : { x: ((r = o.visualViewport) == null ? void 0 : r.offsetLeft) || 0, y: ((i = o.visualViewport) == null ? void 0 : i.offsetTop) || 0 };
|
|
37873
37873
|
}
|
|
37874
|
-
function
|
|
37874
|
+
function $i(n, e, t, r) {
|
|
37875
37875
|
e === void 0 && (e = !1), t === void 0 && (t = !1);
|
|
37876
37876
|
const i = n.getBoundingClientRect(), o = Ov(n);
|
|
37877
37877
|
let f = $v;
|
|
@@ -37895,7 +37895,7 @@ function Yl(n) {
|
|
|
37895
37895
|
return Tn(n) ? { scrollLeft: n.scrollLeft, scrollTop: n.scrollTop } : { scrollLeft: n.pageXOffset, scrollTop: n.pageYOffset };
|
|
37896
37896
|
}
|
|
37897
37897
|
function Rv(n) {
|
|
37898
|
-
return
|
|
37898
|
+
return $i(ii(n)).left + Yl(n).scrollLeft;
|
|
37899
37899
|
}
|
|
37900
37900
|
function bo(n) {
|
|
37901
37901
|
if (ci(n) === "html")
|
|
@@ -37935,7 +37935,7 @@ function Lp(n, e, t) {
|
|
|
37935
37935
|
}(ii(n));
|
|
37936
37936
|
else if (Tn(e))
|
|
37937
37937
|
r = function(i, o) {
|
|
37938
|
-
const f =
|
|
37938
|
+
const f = $i(i, !0, o === "fixed"), g = f.top + i.clientTop, l = f.left + i.clientLeft, h = Xn(i) ? oo(i) : { x: 1, y: 1 };
|
|
37939
37939
|
return { width: i.clientWidth * h.x, height: i.clientHeight * h.y, x: l * h.x, y: g * h.y };
|
|
37940
37940
|
}(e, t);
|
|
37941
37941
|
else {
|
|
@@ -37969,12 +37969,12 @@ function Ip(n, e) {
|
|
|
37969
37969
|
}(n) || t;
|
|
37970
37970
|
}
|
|
37971
37971
|
function P$(n, e, t) {
|
|
37972
|
-
const r = Xn(e), i = ii(e), o = t === "fixed", f =
|
|
37972
|
+
const r = Xn(e), i = ii(e), o = t === "fixed", f = $i(n, !0, o, e);
|
|
37973
37973
|
let g = { scrollLeft: 0, scrollTop: 0 };
|
|
37974
37974
|
const l = { x: 0, y: 0 };
|
|
37975
37975
|
if (r || !r && !o)
|
|
37976
37976
|
if ((ci(e) !== "body" || vs(i)) && (g = Yl(e)), Xn(e)) {
|
|
37977
|
-
const h =
|
|
37977
|
+
const h = $i(e, !0, o, e);
|
|
37978
37978
|
l.x = h.x + e.clientLeft, l.y = h.y + e.clientTop;
|
|
37979
37979
|
} else
|
|
37980
37980
|
i && (l.x = Rv(i));
|
|
@@ -38007,7 +38007,7 @@ const D$ = { getClippingRect: function(n) {
|
|
|
38007
38007
|
let f = { scrollLeft: 0, scrollTop: 0 }, g = { x: 1, y: 1 };
|
|
38008
38008
|
const l = { x: 0, y: 0 };
|
|
38009
38009
|
if ((i || !i && r !== "fixed") && ((ci(t) !== "body" || vs(o)) && (f = Yl(t)), Xn(t))) {
|
|
38010
|
-
const h =
|
|
38010
|
+
const h = $i(t);
|
|
38011
38011
|
g = oo(t), l.x = h.x + t.clientLeft, l.y = h.y + t.clientTop;
|
|
38012
38012
|
}
|
|
38013
38013
|
return { width: e.width * g.x, height: e.height * g.y, x: e.x * g.x - f.scrollLeft * g.x + l.x, y: e.y * g.y - f.scrollTop * g.y + l.y };
|
|
@@ -38029,9 +38029,9 @@ function Nv(n, e, t, r) {
|
|
|
38029
38029
|
f && (u = new ResizeObserver(() => {
|
|
38030
38030
|
t();
|
|
38031
38031
|
}), Tn(n) && !g && u.observe(n), Tn(n) || !n.contextElement || g || u.observe(n.contextElement), u.observe(e));
|
|
38032
|
-
let s = g ?
|
|
38032
|
+
let s = g ? $i(n) : null;
|
|
38033
38033
|
return g && function a() {
|
|
38034
|
-
const c =
|
|
38034
|
+
const c = $i(n);
|
|
38035
38035
|
!s || c.x === s.x && c.y === s.y && c.width === s.width && c.height === s.height || t(), s = c, h = requestAnimationFrame(a);
|
|
38036
38036
|
}(), t(), () => {
|
|
38037
38037
|
var a;
|
|
@@ -38328,7 +38328,7 @@ const B$ = ["innerHTML"], j$ = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
38328
38328
|
return typeof z == "function" ? z : (te) => te !== null && typeof te == "object" && z in te ? te[z] : te;
|
|
38329
38329
|
}
|
|
38330
38330
|
function B(oe, Y) {
|
|
38331
|
-
const z = (te) =>
|
|
38331
|
+
const z = (te) => bi(T.value(te), oe) || bi(O.value(te), oe);
|
|
38332
38332
|
return c.value.find(z) || d.value.find(z) || Y.find(z) || oe;
|
|
38333
38333
|
}
|
|
38334
38334
|
function D(oe) {
|
|
@@ -38347,7 +38347,7 @@ const B$ = ["innerHTML"], j$ = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
38347
38347
|
}
|
|
38348
38348
|
function U(oe) {
|
|
38349
38349
|
const Y = T.value(oe) || O.value(oe);
|
|
38350
|
-
return k.value.find((z) =>
|
|
38350
|
+
return k.value.find((z) => bi(z, Y)) !== void 0;
|
|
38351
38351
|
}
|
|
38352
38352
|
function F() {
|
|
38353
38353
|
o.value = !1, e("close"), H();
|
|
@@ -38385,7 +38385,7 @@ const B$ = ["innerHTML"], j$ = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
38385
38385
|
return;
|
|
38386
38386
|
const Y = T.value(oe) || O.value(oe);
|
|
38387
38387
|
if (t.multiple !== !0) {
|
|
38388
|
-
(E.value.length === 0 ||
|
|
38388
|
+
(E.value.length === 0 || bi(T.value(E.value[0]), Y) !== !0) && (e("update:modelValue", t.emitValue === !0 ? Y : oe), o.value = !1);
|
|
38389
38389
|
return;
|
|
38390
38390
|
}
|
|
38391
38391
|
if (E.value.length === 0) {
|
|
@@ -38393,7 +38393,7 @@ const B$ = ["innerHTML"], j$ = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
38393
38393
|
e("update:modelValue", t.multiple === !0 ? [ge] : ge);
|
|
38394
38394
|
return;
|
|
38395
38395
|
}
|
|
38396
|
-
const z = t.modelValue.slice(), te = k.value.findIndex((ge) =>
|
|
38396
|
+
const z = t.modelValue.slice(), te = k.value.findIndex((ge) => bi(ge, Y));
|
|
38397
38397
|
if (te > -1)
|
|
38398
38398
|
z.splice(te, 1);
|
|
38399
38399
|
else {
|
|
@@ -41166,7 +41166,7 @@ const $I = {
|
|
|
41166
41166
|
}
|
|
41167
41167
|
}
|
|
41168
41168
|
};
|
|
41169
|
-
function
|
|
41169
|
+
function Li(n) {
|
|
41170
41170
|
return typeof n == "object" && n !== null && n.constructor && Object.prototype.toString.call(n).slice(8, -1) === "Object";
|
|
41171
41171
|
}
|
|
41172
41172
|
function ei(n, e) {
|
|
@@ -41174,7 +41174,7 @@ function ei(n, e) {
|
|
|
41174
41174
|
Object.keys(e).filter(function(r) {
|
|
41175
41175
|
return t.indexOf(r) < 0;
|
|
41176
41176
|
}).forEach(function(r) {
|
|
41177
|
-
typeof n[r] > "u" ? n[r] = e[r] :
|
|
41177
|
+
typeof n[r] > "u" ? n[r] = e[r] : Li(e[r]) && Li(n[r]) && Object.keys(e[r]).length > 0 ? e[r].__swiper__ ? n[r] = e[r] : ei(n[r], e[r]) : n[r] = e[r];
|
|
41178
41178
|
});
|
|
41179
41179
|
}
|
|
41180
41180
|
function Hv(n) {
|
|
@@ -41327,7 +41327,7 @@ function jp(n) {
|
|
|
41327
41327
|
return f.replace(/_/, "");
|
|
41328
41328
|
}), o = Object.assign({}, n);
|
|
41329
41329
|
return Object.keys(o).forEach(function(f) {
|
|
41330
|
-
typeof n[f] > "u" || (i.indexOf(f) >= 0 ?
|
|
41330
|
+
typeof n[f] > "u" || (i.indexOf(f) >= 0 ? Li(n[f]) ? (e[f] = {}, t[f] = {}, ei(e[f], n[f]), ei(t[f], n[f])) : (e[f] = n[f], t[f] = n[f]) : f.search(/on[A-Z]/) === 0 && typeof n[f] == "function" ? e.on["" + f[2].toLowerCase() + f.substr(3)] = n[f] : r[f] = n[f]);
|
|
41331
41331
|
}), ["navigation", "pagination", "scrollbar"].forEach(function(f) {
|
|
41332
41332
|
e[f] === !0 && (e[f] = {}), e[f] === !1 && delete e[f];
|
|
41333
41333
|
}), {
|
|
@@ -41407,7 +41407,7 @@ function MI(n, e, t, r) {
|
|
|
41407
41407
|
});
|
|
41408
41408
|
return l.forEach(function(h) {
|
|
41409
41409
|
if (h in n && h in e)
|
|
41410
|
-
if (
|
|
41410
|
+
if (Li(n[h]) && Li(e[h])) {
|
|
41411
41411
|
var u = Object.keys(n[h]), s = Object.keys(e[h]);
|
|
41412
41412
|
u.length !== s.length ? o(h) : (u.forEach(function(a) {
|
|
41413
41413
|
n[h][a] !== e[h][a] && o(h);
|
|
@@ -41448,7 +41448,7 @@ function NI(n) {
|
|
|
41448
41448
|
e[x] && (e[x].destroy(), x === "navigation" ? (u[x].prevEl = void 0, u[x].nextEl = void 0, e[x].prevEl = void 0, e[x].nextEl = void 0) : (u[x].el = void 0, e[x].el = void 0));
|
|
41449
41449
|
};
|
|
41450
41450
|
if (h.forEach(function(T) {
|
|
41451
|
-
if (
|
|
41451
|
+
if (Li(u[T]) && Li(r[T]))
|
|
41452
41452
|
ei(u[T], r[T]);
|
|
41453
41453
|
else {
|
|
41454
41454
|
var x = r[T];
|
|
@@ -42598,7 +42598,7 @@ function bM(n) {
|
|
|
42598
42598
|
function Qn(n) {
|
|
42599
42599
|
return n instanceof Array || Object.prototype.toString.call(n) === "[object Array]";
|
|
42600
42600
|
}
|
|
42601
|
-
function
|
|
42601
|
+
function Ei(n) {
|
|
42602
42602
|
return n != null && Object.prototype.toString.call(n) === "[object Object]";
|
|
42603
42603
|
}
|
|
42604
42604
|
function ft(n, e) {
|
|
@@ -42745,9 +42745,9 @@ function _M(n) {
|
|
|
42745
42745
|
function nf(n, e) {
|
|
42746
42746
|
var t = ti({}, n), r;
|
|
42747
42747
|
for (r in e)
|
|
42748
|
-
ft(e, r) && (
|
|
42748
|
+
ft(e, r) && (Ei(n[r]) && Ei(e[r]) ? (t[r] = {}, ti(t[r], n[r]), ti(t[r], e[r])) : e[r] != null ? t[r] = e[r] : delete t[r]);
|
|
42749
42749
|
for (r in n)
|
|
42750
|
-
ft(n, r) && !ft(e, r) &&
|
|
42750
|
+
ft(n, r) && !ft(e, r) && Ei(n[r]) && (t[r] = ti({}, t[r]));
|
|
42751
42751
|
return t;
|
|
42752
42752
|
}
|
|
42753
42753
|
function Oh(n) {
|
|
@@ -42970,7 +42970,7 @@ function Gs(n, e) {
|
|
|
42970
42970
|
function WM(n, e, t) {
|
|
42971
42971
|
e != null && ft(of, n) && of[n](e, t._a, t, n);
|
|
42972
42972
|
}
|
|
42973
|
-
var rn = 0, Rr = 1, ur = 2, Dt = 3, qn = 4, Ir = 5,
|
|
42973
|
+
var rn = 0, Rr = 1, ur = 2, Dt = 3, qn = 4, Ir = 5, wi = 6, VM = 7, zM = 8;
|
|
42974
42974
|
function GM(n, e) {
|
|
42975
42975
|
return (n % e + e) % e;
|
|
42976
42976
|
}
|
|
@@ -43531,7 +43531,7 @@ function FN() {
|
|
|
43531
43531
|
}
|
|
43532
43532
|
function Fh(n) {
|
|
43533
43533
|
var e, t = n._a;
|
|
43534
|
-
return t && et(n).overflow === -2 && (e = t[Rr] < 0 || t[Rr] > 11 ? Rr : t[ur] < 1 || t[ur] > ru(t[rn], t[Rr]) ? ur : t[Dt] < 0 || t[Dt] > 24 || t[Dt] === 24 && (t[qn] !== 0 || t[Ir] !== 0 || t[
|
|
43534
|
+
return t && et(n).overflow === -2 && (e = t[Rr] < 0 || t[Rr] > 11 ? Rr : t[ur] < 1 || t[ur] > ru(t[rn], t[Rr]) ? ur : t[Dt] < 0 || t[Dt] > 24 || t[Dt] === 24 && (t[qn] !== 0 || t[Ir] !== 0 || t[wi] !== 0) ? Dt : t[qn] < 0 || t[qn] > 59 ? qn : t[Ir] < 0 || t[Ir] > 59 ? Ir : t[wi] < 0 || t[wi] > 999 ? wi : -1, et(n)._overflowDayOfYear && (e < rn || e > ur) && (e = ur), et(n)._overflowWeeks && e === -1 && (e = VM), et(n)._overflowWeekday && e === -1 && (e = zM), et(n).overflow = e), n;
|
|
43535
43535
|
}
|
|
43536
43536
|
var BN = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, jN = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, UN = /Z|[+-]\d\d(?::?\d\d)?/, ba = [
|
|
43537
43537
|
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
|
@@ -43700,7 +43700,7 @@ function Bh(n) {
|
|
|
43700
43700
|
n._a[e] = r[e] = i[e];
|
|
43701
43701
|
for (; e < 7; e++)
|
|
43702
43702
|
n._a[e] = r[e] = n._a[e] == null ? e === 2 ? 1 : 0 : n._a[e];
|
|
43703
|
-
n._a[Dt] === 24 && n._a[qn] === 0 && n._a[Ir] === 0 && n._a[
|
|
43703
|
+
n._a[Dt] === 24 && n._a[qn] === 0 && n._a[Ir] === 0 && n._a[wi] === 0 && (n._nextDay = !0, n._a[Dt] = 0), n._d = (n._useUTC ? ys : iN).apply(
|
|
43704
43704
|
null,
|
|
43705
43705
|
r
|
|
43706
43706
|
), o = n._useUTC ? n._d.getUTCDay() : n._d.getDay(), n._tzm != null && n._d.setUTCMinutes(n._d.getUTCMinutes() - n._tzm), n._nextDay && (n._a[Dt] = 24), n._w && typeof n._w.d < "u" && n._w.d !== o && (et(n).weekdayMismatch = !0);
|
|
@@ -43776,11 +43776,11 @@ function rP(n) {
|
|
|
43776
43776
|
var e = n._i;
|
|
43777
43777
|
gn(e) ? n._d = new Date(Oe.now()) : Ws(e) ? n._d = new Date(e.valueOf()) : typeof e == "string" ? JN(n) : Qn(e) ? (n._a = Jv(e.slice(0), function(t) {
|
|
43778
43778
|
return parseInt(t, 10);
|
|
43779
|
-
}), Bh(n)) :
|
|
43779
|
+
}), Bh(n)) : Ei(e) ? tP(n) : Pr(e) ? n._d = new Date(e) : Oe.createFromInputFallback(n);
|
|
43780
43780
|
}
|
|
43781
43781
|
function wy(n, e, t, r, i) {
|
|
43782
43782
|
var o = {};
|
|
43783
|
-
return (e === !0 || e === !1) && (r = e, e = void 0), (t === !0 || t === !1) && (r = t, t = void 0), (
|
|
43783
|
+
return (e === !0 || e === !1) && (r = e, e = void 0), (t === !0 || t === !1) && (r = t, t = void 0), (Ei(n) && xh(n) || Qn(n) && n.length === 0) && (n = void 0), o._isAMomentObject = !0, o._useUTC = o._isUTC = i, o._l = t, o._i = n, o._f = e, o._strict = r, nP(o);
|
|
43784
43784
|
}
|
|
43785
43785
|
function _t(n, e, t, r) {
|
|
43786
43786
|
return wy(n, e, t, r, !1);
|
|
@@ -43962,16 +43962,16 @@ function tr(n, e) {
|
|
|
43962
43962
|
h: nt(r[Dt]) * i,
|
|
43963
43963
|
m: nt(r[qn]) * i,
|
|
43964
43964
|
s: nt(r[Ir]) * i,
|
|
43965
|
-
ms: nt(sf(r[
|
|
43965
|
+
ms: nt(sf(r[wi] * 1e3)) * i
|
|
43966
43966
|
// the millisecond decimal point is included in the match
|
|
43967
43967
|
}) : (r = TP.exec(n)) ? (i = r[1] === "-" ? -1 : 1, t = {
|
|
43968
|
-
y:
|
|
43969
|
-
M:
|
|
43970
|
-
w:
|
|
43971
|
-
d:
|
|
43972
|
-
h:
|
|
43973
|
-
m:
|
|
43974
|
-
s:
|
|
43968
|
+
y: mi(r[2], i),
|
|
43969
|
+
M: mi(r[3], i),
|
|
43970
|
+
w: mi(r[4], i),
|
|
43971
|
+
d: mi(r[5], i),
|
|
43972
|
+
h: mi(r[6], i),
|
|
43973
|
+
m: mi(r[7], i),
|
|
43974
|
+
s: mi(r[8], i)
|
|
43975
43975
|
}) : t == null ? t = {} : typeof t == "object" && ("from" in t || "to" in t) && (f = xP(
|
|
43976
43976
|
_t(t.from),
|
|
43977
43977
|
_t(t.to)
|
|
@@ -43979,7 +43979,7 @@ function tr(n, e) {
|
|
|
43979
43979
|
}
|
|
43980
43980
|
tr.fn = ou.prototype;
|
|
43981
43981
|
tr.invalid = fP;
|
|
43982
|
-
function
|
|
43982
|
+
function mi(n, e) {
|
|
43983
43983
|
var t = n && parseFloat(n.replace(",", "."));
|
|
43984
43984
|
return (isNaN(t) ? 0 : t) * e;
|
|
43985
43985
|
}
|
|
@@ -44012,7 +44012,7 @@ function OP(n) {
|
|
|
44012
44012
|
return er(n) || Ws(n) || xy(n) || Pr(n) || LP(n) || $P(n) || n === null || n === void 0;
|
|
44013
44013
|
}
|
|
44014
44014
|
function $P(n) {
|
|
44015
|
-
var e =
|
|
44015
|
+
var e = Ei(n) && !xh(n), t = !1, r = [
|
|
44016
44016
|
"years",
|
|
44017
44017
|
"year",
|
|
44018
44018
|
"y",
|
|
@@ -44049,7 +44049,7 @@ function LP(n) {
|
|
|
44049
44049
|
}).length === 0), e && t;
|
|
44050
44050
|
}
|
|
44051
44051
|
function RP(n) {
|
|
44052
|
-
var e =
|
|
44052
|
+
var e = Ei(n) && !xh(n), t = !1, r = [
|
|
44053
44053
|
"sameDay",
|
|
44054
44054
|
"nextDay",
|
|
44055
44055
|
"lastDay",
|
|
@@ -44654,7 +44654,7 @@ var ni, Ny;
|
|
|
44654
44654
|
for (ni = "SSSS"; ni.length <= 9; ni += "S")
|
|
44655
44655
|
Pe(ni, Oo);
|
|
44656
44656
|
function ID(n, e) {
|
|
44657
|
-
e[
|
|
44657
|
+
e[wi] = nt(("0." + n) * 1e3);
|
|
44658
44658
|
}
|
|
44659
44659
|
for (ni = "S"; ni.length <= 9; ni += "S")
|
|
44660
44660
|
mt(ni, ID);
|
|
@@ -45371,7 +45371,7 @@ const b2 = { class: "tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[
|
|
|
45371
45371
|
},
|
|
45372
45372
|
emits: ["onClick"],
|
|
45373
45373
|
setup(n, { emit: e }) {
|
|
45374
|
-
const t = n, r =
|
|
45374
|
+
const t = n, r = fi("platformUrl"), i = ce(!1), o = (u) => r.replace(/\/+$/, "") + u, f = (u) => {
|
|
45375
45375
|
const s = window.location.pathname.replace(/\/+$/, ""), a = u.match(s);
|
|
45376
45376
|
return a ? a[0] : null;
|
|
45377
45377
|
}, g = (u) => {
|
|
@@ -47117,10 +47117,10 @@ class Qp {
|
|
|
47117
47117
|
return this._retryDelays[e.previousRetryCount];
|
|
47118
47118
|
}
|
|
47119
47119
|
}
|
|
47120
|
-
class
|
|
47120
|
+
class Ai {
|
|
47121
47121
|
}
|
|
47122
|
-
|
|
47123
|
-
|
|
47122
|
+
Ai.Authorization = "Authorization";
|
|
47123
|
+
Ai.Cookie = "Cookie";
|
|
47124
47124
|
class lB extends uu {
|
|
47125
47125
|
constructor(e, t) {
|
|
47126
47126
|
super(), this._innerClient = e, this._accessTokenFactory = t;
|
|
@@ -47132,7 +47132,7 @@ class lB extends uu {
|
|
|
47132
47132
|
return t && r.statusCode === 401 && this._accessTokenFactory ? (this._accessToken = await this._accessTokenFactory(), this._setAuthorizationHeader(e), await this._innerClient.send(e)) : r;
|
|
47133
47133
|
}
|
|
47134
47134
|
_setAuthorizationHeader(e) {
|
|
47135
|
-
e.headers || (e.headers = {}), this._accessToken ? e.headers[
|
|
47135
|
+
e.headers || (e.headers = {}), this._accessToken ? e.headers[Ai.Authorization] = `Bearer ${this._accessToken}` : this._accessTokenFactory && e.headers[Ai.Authorization] && delete e.headers[Ai.Authorization];
|
|
47136
47136
|
}
|
|
47137
47137
|
getCookieString(e) {
|
|
47138
47138
|
return this._innerClient.getCookieString(e);
|
|
@@ -47288,7 +47288,7 @@ class fB {
|
|
|
47288
47288
|
let l = !1;
|
|
47289
47289
|
if (Ut.isNode || Ut.isReactNative) {
|
|
47290
47290
|
const h = {}, [u, s] = So();
|
|
47291
|
-
h[u] = s, r && (h[
|
|
47291
|
+
h[u] = s, r && (h[Ai.Authorization] = `Bearer ${r}`), g && (h[Ai.Cookie] = g), f = new this._webSocketConstructor(e, void 0, {
|
|
47292
47292
|
headers: { ...h, ...this._headers }
|
|
47293
47293
|
});
|
|
47294
47294
|
} else
|
|
@@ -48118,9 +48118,9 @@ var cf = { exports: {} };
|
|
|
48118
48118
|
});
|
|
48119
48119
|
})(cf, cf.exports);
|
|
48120
48120
|
var kB = cf.exports;
|
|
48121
|
-
const CB = /* @__PURE__ */ xo(kB), ka = ce(), Ca = ce(),
|
|
48121
|
+
const CB = /* @__PURE__ */ xo(kB), ka = ce(), Ca = ce(), vi = _v("VC_BLADE_DATA", {});
|
|
48122
48122
|
function ab() {
|
|
48123
|
-
const n = wl(), e = new CB("(/:workspace(/:blade(/:param)))"), { checkPermission: t } = vh(), r = ce(!1), i = n.getRoutes(), o = bn(), f = o &&
|
|
48123
|
+
const n = wl(), e = new CB("(/:workspace(/:blade(/:param)))"), { checkPermission: t } = vh(), r = ce(!1), i = n.getRoutes(), o = bn(), f = o && fi("bladeNavigationPlugin") || sb;
|
|
48124
48124
|
ot(
|
|
48125
48125
|
f?.blades,
|
|
48126
48126
|
(_) => {
|
|
@@ -48152,7 +48152,7 @@ function ab() {
|
|
|
48152
48152
|
g({ blade: _, param: b, options: w });
|
|
48153
48153
|
return;
|
|
48154
48154
|
}
|
|
48155
|
-
const O = o && o.vnode.type, A = f.bladesRefs.value.findIndex((k) =>
|
|
48155
|
+
const O = o && o.vnode.type, A = f.bladesRefs.value.findIndex((k) => bi(k.blade.blade, O)), E = A >= 0 ? f.bladesRefs.value[A + 1]?.blade.blade : void 0, $ = ee(_), C = O?.idx ? O.idx : 0;
|
|
48156
48156
|
E === void 0 ? $.idx = C ? C + 1 : 1 : E && (await h(
|
|
48157
48157
|
f.blades.value.findIndex((k) => k.idx === E.idx)
|
|
48158
48158
|
), $.idx = E.idx), r.value || await u($, b, w, S, T, C);
|
|
@@ -48206,7 +48206,7 @@ function ab() {
|
|
|
48206
48206
|
function d(_) {
|
|
48207
48207
|
const b = e.match(_.path), w = (S) => i.find((T) => T.path === "/" + S);
|
|
48208
48208
|
if (w(b?.workspace) && _.path !== "/" + b.workspace)
|
|
48209
|
-
return w(b?.blade) && (
|
|
48209
|
+
return w(b?.blade) && (vi.value = {
|
|
48210
48210
|
blade: "/" + b?.blade,
|
|
48211
48211
|
param: b?.param
|
|
48212
48212
|
}), "/" + b.workspace;
|
|
@@ -48216,22 +48216,22 @@ function ab() {
|
|
|
48216
48216
|
return h(0), "/";
|
|
48217
48217
|
}
|
|
48218
48218
|
function m() {
|
|
48219
|
-
|
|
48219
|
+
vi.value = {};
|
|
48220
48220
|
}
|
|
48221
48221
|
async function v({ param: _, options: b }) {
|
|
48222
48222
|
ka.value = b, Ca.value = _;
|
|
48223
48223
|
}
|
|
48224
48224
|
function y(_) {
|
|
48225
|
-
if (
|
|
48226
|
-
const b = _?.find((w) => w.url ===
|
|
48227
|
-
v({ param:
|
|
48225
|
+
if (vi.value?.blade) {
|
|
48226
|
+
const b = _?.find((w) => w.url === vi.value?.blade);
|
|
48227
|
+
v({ param: vi.value?.param }), l({ blade: b, param: vi.value?.param }), m();
|
|
48228
48228
|
}
|
|
48229
48229
|
}
|
|
48230
48230
|
return {
|
|
48231
48231
|
blades: Ee(() => f.blades.value),
|
|
48232
48232
|
workspaceOptions: Ee(() => ka.value),
|
|
48233
48233
|
workspaceParam: Ee(() => Ca.value),
|
|
48234
|
-
lastBladeData: Ee(() =>
|
|
48234
|
+
lastBladeData: Ee(() => vi.value),
|
|
48235
48235
|
bladesRefs: f.bladesRefs,
|
|
48236
48236
|
openBlade: l,
|
|
48237
48237
|
closeBlade: h,
|
|
@@ -48319,7 +48319,7 @@ const OB = ["onDragover", "onDragleave", "onDrop"], $B = { class: "tw-w-full tw-
|
|
|
48319
48319
|
ot(
|
|
48320
48320
|
() => o.value,
|
|
48321
48321
|
(A) => {
|
|
48322
|
-
a.value = !
|
|
48322
|
+
a.value = !bi(A, s);
|
|
48323
48323
|
},
|
|
48324
48324
|
{ deep: !0 }
|
|
48325
48325
|
), fn(() => {
|
|
@@ -48574,7 +48574,7 @@ const OB = ["onDragover", "onDragleave", "onDrop"], $B = { class: "tw-w-full tw-
|
|
|
48574
48574
|
}, Symbol.toStringTag, { value: "Module" })), JB = Hr(GB, KB);
|
|
48575
48575
|
function ZB() {
|
|
48576
48576
|
if (bn())
|
|
48577
|
-
return
|
|
48577
|
+
return fi("popupPlugin");
|
|
48578
48578
|
}
|
|
48579
48579
|
const XB = { key: 0 }, QB = /* @__PURE__ */ Me({
|
|
48580
48580
|
__name: "vc-popup-container",
|
|
@@ -48608,7 +48608,7 @@ const nj = {
|
|
|
48608
48608
|
}
|
|
48609
48609
|
};
|
|
48610
48610
|
function cb(n) {
|
|
48611
|
-
const { t: e } = Fr({ useScope: "global" }), r = bn() &&
|
|
48611
|
+
const { t: e } = Fr({ useScope: "global" }), r = bn() && fi("popupPlugin") || ub, i = h(n);
|
|
48612
48612
|
async function o(u) {
|
|
48613
48613
|
let s;
|
|
48614
48614
|
await un(), r && (s = r), s.popups.push(i || u);
|
|
@@ -49196,7 +49196,7 @@ const O3 = wj, _j = { class: "vc-app tw-w-full tw-h-full tw-box-border tw-flex t
|
|
|
49196
49196
|
Ts({ validateOnMount: !1 });
|
|
49197
49197
|
const { getUiCustomizationSettings: r, uiSettings: i } = VC();
|
|
49198
49198
|
let o;
|
|
49199
|
-
const f =
|
|
49199
|
+
const f = fi("commonPageComposables");
|
|
49200
49200
|
f && (o = f?.useLogin);
|
|
49201
49201
|
const g = ce({ succeeded: !0 }), l = ce({ succeeded: !0 }), h = ce(!1), { signIn: u, loading: s, loadUser: a, externalSignIn: c, isAzureAdAuthAvailable: d, getAzureAdAuthCaption: p } = yr();
|
|
49202
49202
|
let m;
|