@genpact/genome.mfe.mgtwin-app 1.1.365-alpha → 1.1.367-alpha
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/{AssessmentAMA-51bdd271.mjs → AssessmentAMA-da287167.mjs} +4 -4
- package/dist/{AssessmentSimulation-0120eaf3.mjs → AssessmentSimulation-f74a6523.mjs} +7 -7
- package/dist/{EditSkillAdminData-02c9dc79.mjs → EditSkillAdminData-090afec5.mjs} +2 -2
- package/dist/{EditSkillData-7819fa7c.mjs → EditSkillData-7b5482ca.mjs} +2 -2
- package/dist/{HomeView-964eb1f5.mjs → HomeView-f47ba61f.mjs} +5 -5
- package/dist/{Loading-ecf9990b.mjs → Loading-304087a3.mjs} +1 -1
- package/dist/{LoadingSimulation-af8075c2.mjs → LoadingSimulation-5659ffe2.mjs} +1 -1
- package/dist/{Modal-ce68671d.mjs → Modal-2e85e762.mjs} +1 -1
- package/dist/{PaperAirplaneIcon-fd88758e.mjs → PaperAirplaneIcon-cd2420b0.mjs} +1 -1
- package/dist/{PromptTesting-6bb531d9.mjs → PromptTesting-b99f78de.mjs} +3 -3
- package/dist/{SkillAutomation-a889952f.mjs → SkillAutomation-30f262f2.mjs} +3 -3
- package/dist/{SkillData-2e46b518.mjs → SkillData-a9f46904.mjs} +3 -3
- package/dist/{Testcase-335cadd5.mjs → Testcase-7bd7ad4f.mjs} +3 -3
- package/dist/{UnderMaintenance-65699b88.mjs → UnderMaintenance-a2cfce17.mjs} +1 -1
- package/dist/{VoiceTestcase-e972d949.mjs → VoiceTestcase-3029e5db.mjs} +3 -3
- package/dist/{XMarkIcon-40701ce5.mjs → XMarkIcon-a975bcf1.mjs} +1 -1
- package/dist/{api-cc68977d.mjs → api-7256f760.mjs} +1 -1
- package/dist/assets/ffmpeg/ffmpeg-core.js +16 -0
- package/dist/assets/ffmpeg/ffmpeg-core.wasm +0 -0
- package/dist/{index.es-a4f67388.mjs → index.es-b59f0598.mjs} +7 -7
- package/dist/{main-9a7a01bb.mjs → main-06141389.mjs} +413 -413
- package/dist/mgtwin.es.min.js +1 -1
- package/dist/mgtwin.umd.min.js +54 -54
- package/dist/style.css +1 -1
- package/dist/{voiceServices-283a0bfd.mjs → voiceServices-2347e11e.mjs} +1412 -1451
- package/package.json +2 -1
|
@@ -18,7 +18,7 @@ const le = {}, Vt = [], We = () => {
|
|
|
18
18
|
(e) => e.replace(Uu, "-$1").toLowerCase()
|
|
19
19
|
), Ni = Ar(
|
|
20
20
|
(e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
21
|
-
),
|
|
21
|
+
), Hr = Ar(
|
|
22
22
|
(e) => e ? `on${Ni(e)}` : ""
|
|
23
23
|
), Dn = (e, t) => !Object.is(e, t), qn = (e, t) => {
|
|
24
24
|
for (let n = 0; n < e.length; n++)
|
|
@@ -42,7 +42,7 @@ function hs(e) {
|
|
|
42
42
|
if (w(e)) {
|
|
43
43
|
const t = {};
|
|
44
44
|
for (let n = 0; n < e.length; n++) {
|
|
45
|
-
const r = e[n], s = Ae(r) ?
|
|
45
|
+
const r = e[n], s = Ae(r) ? Pu(r) : hs(r);
|
|
46
46
|
if (s)
|
|
47
47
|
for (const o in s)
|
|
48
48
|
t[o] = s[o];
|
|
@@ -56,7 +56,7 @@ function hs(e) {
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
const mu = /;(?![^(]*\))/g, Lu = /:([^]+)/, Cu = /\/\*[^]*?\*\//g;
|
|
59
|
-
function
|
|
59
|
+
function Pu(e) {
|
|
60
60
|
const t = {};
|
|
61
61
|
return e.replace(Cu, "").split(mu).forEach((n) => {
|
|
62
62
|
if (n) {
|
|
@@ -79,7 +79,7 @@ function ms(e) {
|
|
|
79
79
|
e[n] && (t += n + " ");
|
|
80
80
|
return t.trim();
|
|
81
81
|
}
|
|
82
|
-
const
|
|
82
|
+
const gu = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly", Bu = /* @__PURE__ */ Ns(gu);
|
|
83
83
|
function pi(e) {
|
|
84
84
|
return !!e || e === "";
|
|
85
85
|
}
|
|
@@ -194,7 +194,7 @@ const Cs = (e) => {
|
|
|
194
194
|
if (e.length)
|
|
195
195
|
for (let t = 0; t < e.length; t++)
|
|
196
196
|
e[t].w |= mt;
|
|
197
|
-
},
|
|
197
|
+
}, Fu = (e) => {
|
|
198
198
|
const { deps: t } = e;
|
|
199
199
|
if (t.length) {
|
|
200
200
|
let n = 0;
|
|
@@ -208,8 +208,8 @@ const Cs = (e) => {
|
|
|
208
208
|
let Tn = 0, mt = 1;
|
|
209
209
|
const Qr = 30;
|
|
210
210
|
let ke;
|
|
211
|
-
const
|
|
212
|
-
class
|
|
211
|
+
const Ft = Symbol(""), es = Symbol("");
|
|
212
|
+
class Ps {
|
|
213
213
|
constructor(t, n = null, r) {
|
|
214
214
|
this.fn = t, this.scheduler = n, this.active = !0, this.deps = [], this.parent = void 0, Mu(this, r);
|
|
215
215
|
}
|
|
@@ -225,7 +225,7 @@ class gs {
|
|
|
225
225
|
try {
|
|
226
226
|
return this.parent = ke, ke = this, pt = !0, mt = 1 << ++Tn, Tn <= Qr ? yu(this) : ro(this), this.fn();
|
|
227
227
|
} finally {
|
|
228
|
-
Tn <= Qr &&
|
|
228
|
+
Tn <= Qr && Fu(this), mt = 1 << --Tn, ke = this.parent, pt = n, this.parent = void 0, this.deferStop && this.stop();
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
stop() {
|
|
@@ -241,12 +241,12 @@ function ro(e) {
|
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
243
|
let pt = !0;
|
|
244
|
-
const
|
|
244
|
+
const Pi = [];
|
|
245
245
|
function nn() {
|
|
246
|
-
|
|
246
|
+
Pi.push(pt), pt = !1;
|
|
247
247
|
}
|
|
248
248
|
function rn() {
|
|
249
|
-
const e =
|
|
249
|
+
const e = Pi.pop();
|
|
250
250
|
pt = e === void 0 ? !0 : e;
|
|
251
251
|
}
|
|
252
252
|
function Be(e, t, n) {
|
|
@@ -254,10 +254,10 @@ function Be(e, t, n) {
|
|
|
254
254
|
let r = ur.get(e);
|
|
255
255
|
r || ur.set(e, r = /* @__PURE__ */ new Map());
|
|
256
256
|
let s = r.get(n);
|
|
257
|
-
s || r.set(n, s = Cs()),
|
|
257
|
+
s || r.set(n, s = Cs()), gi(s);
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
|
-
function
|
|
260
|
+
function gi(e, t) {
|
|
261
261
|
let n = !1;
|
|
262
262
|
Tn <= Qr ? Ci(e) || (e.n |= mt, n = !Li(e)) : n = !e.has(ke), n && (e.add(ke), ke.deps.push(e));
|
|
263
263
|
}
|
|
@@ -276,13 +276,13 @@ function it(e, t, n, r, s, o) {
|
|
|
276
276
|
} else
|
|
277
277
|
switch (n !== void 0 && E.push(i.get(n)), t) {
|
|
278
278
|
case "add":
|
|
279
|
-
w(e) ? Us(n) && E.push(i.get("length")) : (E.push(i.get(
|
|
279
|
+
w(e) ? Us(n) && E.push(i.get("length")) : (E.push(i.get(Ft)), Wt(e) && E.push(i.get(es)));
|
|
280
280
|
break;
|
|
281
281
|
case "delete":
|
|
282
|
-
w(e) || (E.push(i.get(
|
|
282
|
+
w(e) || (E.push(i.get(Ft)), Wt(e) && E.push(i.get(es)));
|
|
283
283
|
break;
|
|
284
284
|
case "set":
|
|
285
|
-
Wt(e) && E.push(i.get(
|
|
285
|
+
Wt(e) && E.push(i.get(Ft));
|
|
286
286
|
break;
|
|
287
287
|
}
|
|
288
288
|
if (E.length === 1)
|
|
@@ -304,13 +304,13 @@ function ts(e, t) {
|
|
|
304
304
|
function so(e, t) {
|
|
305
305
|
(e !== ke || e.allowRecurse) && (e.scheduler ? e.scheduler() : e.run());
|
|
306
306
|
}
|
|
307
|
-
function
|
|
307
|
+
function Hu(e, t) {
|
|
308
308
|
var n;
|
|
309
309
|
return (n = ur.get(e)) == null ? void 0 : n.get(t);
|
|
310
310
|
}
|
|
311
311
|
const vu = /* @__PURE__ */ Ns("__proto__,__v_isRef,__isVue"), Bi = new Set(
|
|
312
312
|
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(pn)
|
|
313
|
-
), wu = /* @__PURE__ */
|
|
313
|
+
), wu = /* @__PURE__ */ gs(), Yu = /* @__PURE__ */ gs(!1, !0), xu = /* @__PURE__ */ gs(!0), oo = /* @__PURE__ */ ku();
|
|
314
314
|
function ku() {
|
|
315
315
|
const e = {};
|
|
316
316
|
return ["includes", "indexOf", "lastIndexOf"].forEach((t) => {
|
|
@@ -333,7 +333,7 @@ function Vu(e) {
|
|
|
333
333
|
const t = q(this);
|
|
334
334
|
return Be(t, "has", e), t.hasOwnProperty(e);
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function gs(e = !1, t = !1) {
|
|
337
337
|
return function(r, s, o) {
|
|
338
338
|
if (s === "__v_isReactive")
|
|
339
339
|
return !e;
|
|
@@ -351,7 +351,7 @@ function Ps(e = !1, t = !1) {
|
|
|
351
351
|
return Vu;
|
|
352
352
|
}
|
|
353
353
|
const E = Reflect.get(r, s, o);
|
|
354
|
-
return (pn(s) ? Bi.has(s) : vu(s)) || (e || Be(r, "get", s), t) ? E : Se(E) ? i && Us(s) ? E : E.value : ue(E) ? e ?
|
|
354
|
+
return (pn(s) ? Bi.has(s) : vu(s)) || (e || Be(r, "get", s), t) ? E : Se(E) ? i && Us(s) ? E : E.value : ue(E) ? e ? Fi(E) : sn(E) : E;
|
|
355
355
|
};
|
|
356
356
|
}
|
|
357
357
|
const Wu = /* @__PURE__ */ bi(), Ju = /* @__PURE__ */ bi(!0);
|
|
@@ -377,7 +377,7 @@ function Xu(e, t) {
|
|
|
377
377
|
return (!pn(t) || !Bi.has(t)) && Be(e, "has", t), n;
|
|
378
378
|
}
|
|
379
379
|
function ju(e) {
|
|
380
|
-
return Be(e, "iterate", w(e) ? "length" :
|
|
380
|
+
return Be(e, "iterate", w(e) ? "length" : Ft), Reflect.ownKeys(e);
|
|
381
381
|
}
|
|
382
382
|
const Gi = {
|
|
383
383
|
get: wu,
|
|
@@ -417,7 +417,7 @@ function Jn(e, t = !1) {
|
|
|
417
417
|
return t || (e !== s && Be(r, "has", e), Be(r, "has", s)), e === s ? n.has(e) : n.has(e) || n.has(s);
|
|
418
418
|
}
|
|
419
419
|
function Zn(e, t = !1) {
|
|
420
|
-
return e = e.__v_raw, !t && Be(q(e), "iterate",
|
|
420
|
+
return e = e.__v_raw, !t && Be(q(e), "iterate", Ft), Reflect.get(e, "size", e);
|
|
421
421
|
}
|
|
422
422
|
function io(e) {
|
|
423
423
|
e = q(e);
|
|
@@ -446,7 +446,7 @@ function co() {
|
|
|
446
446
|
function Xn(e, t) {
|
|
447
447
|
return function(r, s) {
|
|
448
448
|
const o = this, i = o.__v_raw, E = q(i), u = t ? Bs : e ? Ms : Un;
|
|
449
|
-
return !e && Be(E, "iterate",
|
|
449
|
+
return !e && Be(E, "iterate", Ft), i.forEach((c, a) => r.call(s, u(c), u(a), o));
|
|
450
450
|
};
|
|
451
451
|
}
|
|
452
452
|
function jn(e, t, n) {
|
|
@@ -455,7 +455,7 @@ function jn(e, t, n) {
|
|
|
455
455
|
return !t && Be(
|
|
456
456
|
o,
|
|
457
457
|
"iterate",
|
|
458
|
-
u ? es :
|
|
458
|
+
u ? es : Ft
|
|
459
459
|
), {
|
|
460
460
|
// iterator protocol
|
|
461
461
|
next() {
|
|
@@ -616,7 +616,7 @@ function cc(e) {
|
|
|
616
616
|
Ki
|
|
617
617
|
);
|
|
618
618
|
}
|
|
619
|
-
function
|
|
619
|
+
function Fi(e) {
|
|
620
620
|
return Gs(
|
|
621
621
|
e,
|
|
622
622
|
!0,
|
|
@@ -649,7 +649,7 @@ function Xt(e) {
|
|
|
649
649
|
function cr(e) {
|
|
650
650
|
return !!(e && e.__v_isShallow);
|
|
651
651
|
}
|
|
652
|
-
function
|
|
652
|
+
function Hi(e) {
|
|
653
653
|
return Dt(e) || Xt(e);
|
|
654
654
|
}
|
|
655
655
|
function q(e) {
|
|
@@ -659,9 +659,9 @@ function q(e) {
|
|
|
659
659
|
function Ir(e) {
|
|
660
660
|
return ir(e, "__v_skip", !0), e;
|
|
661
661
|
}
|
|
662
|
-
const Un = (e) => ue(e) ? sn(e) : e, Ms = (e) => ue(e) ?
|
|
662
|
+
const Un = (e) => ue(e) ? sn(e) : e, Ms = (e) => ue(e) ? Fi(e) : e;
|
|
663
663
|
function vi(e) {
|
|
664
|
-
pt && ke && (e = q(e),
|
|
664
|
+
pt && ke && (e = q(e), gi(e.dep || (e.dep = Cs())));
|
|
665
665
|
}
|
|
666
666
|
function wi(e, t) {
|
|
667
667
|
e = q(e);
|
|
@@ -723,7 +723,7 @@ class Sc {
|
|
|
723
723
|
this._object[this._key] = t;
|
|
724
724
|
}
|
|
725
725
|
get dep() {
|
|
726
|
-
return
|
|
726
|
+
return Hu(q(this._object), this._key);
|
|
727
727
|
}
|
|
728
728
|
}
|
|
729
729
|
function fc(e, t, n) {
|
|
@@ -736,7 +736,7 @@ function fc(e, t, n) {
|
|
|
736
736
|
}
|
|
737
737
|
class Ac {
|
|
738
738
|
constructor(t, n, r, s) {
|
|
739
|
-
this._setter = n, this.dep = void 0, this.__v_isRef = !0, this.__v_isReadonly = !1, this._dirty = !0, this.effect = new
|
|
739
|
+
this._setter = n, this.dep = void 0, this.__v_isRef = !0, this.__v_isReadonly = !1, this._dirty = !0, this.effect = new Ps(t, () => {
|
|
740
740
|
this._dirty || (this._dirty = !0, wi(this));
|
|
741
741
|
}), this.effect.computed = this, this.effect.active = this._cacheable = !s, this.__v_isReadonly = r;
|
|
742
742
|
}
|
|
@@ -823,7 +823,7 @@ function Rc(e) {
|
|
|
823
823
|
}
|
|
824
824
|
return t;
|
|
825
825
|
}
|
|
826
|
-
function
|
|
826
|
+
function Fs(e) {
|
|
827
827
|
(!Ue.length || !Ue.includes(
|
|
828
828
|
e,
|
|
829
829
|
hn && e.allowRecurse ? $e + 1 : $e
|
|
@@ -892,9 +892,9 @@ function Dc(e, t, ...n) {
|
|
|
892
892
|
const a = `${i === "modelValue" ? "model" : i}Modifiers`, { number: T, trim: S } = r[a] || le;
|
|
893
893
|
S && (s = n.map((A) => Ae(A) ? A.trim() : A)), T && (s = n.map(Er));
|
|
894
894
|
}
|
|
895
|
-
let E, u = r[E =
|
|
896
|
-
r[E =
|
|
897
|
-
!u && o && (u = r[E =
|
|
895
|
+
let E, u = r[E = Hr(t)] || // also try camelCase event handler (#2249)
|
|
896
|
+
r[E = Hr(Zt(t))];
|
|
897
|
+
!u && o && (u = r[E = Hr(vt(t))]), u && ve(
|
|
898
898
|
u,
|
|
899
899
|
e,
|
|
900
900
|
6,
|
|
@@ -977,12 +977,12 @@ function vr(e) {
|
|
|
977
977
|
ctx: d,
|
|
978
978
|
inheritAttrs: N
|
|
979
979
|
} = e;
|
|
980
|
-
let
|
|
980
|
+
let F, g;
|
|
981
981
|
const b = ar(e);
|
|
982
982
|
try {
|
|
983
983
|
if (n.shapeFlag & 4) {
|
|
984
984
|
const K = s || r;
|
|
985
|
-
|
|
985
|
+
F = ze(
|
|
986
986
|
a.call(
|
|
987
987
|
K,
|
|
988
988
|
K,
|
|
@@ -992,10 +992,10 @@ function vr(e) {
|
|
|
992
992
|
S,
|
|
993
993
|
d
|
|
994
994
|
)
|
|
995
|
-
),
|
|
995
|
+
), g = u;
|
|
996
996
|
} else {
|
|
997
997
|
const K = t;
|
|
998
|
-
|
|
998
|
+
F = ze(
|
|
999
999
|
K.length > 1 ? K(
|
|
1000
1000
|
o,
|
|
1001
1001
|
{ attrs: u, slots: E, emit: c }
|
|
@@ -1004,20 +1004,20 @@ function vr(e) {
|
|
|
1004
1004
|
null
|
|
1005
1005
|
/* we know it doesn't need it */
|
|
1006
1006
|
)
|
|
1007
|
-
),
|
|
1007
|
+
), g = t.props ? u : hc(u);
|
|
1008
1008
|
}
|
|
1009
1009
|
} catch (K) {
|
|
1010
|
-
dn.length = 0, Rr(K, e, 1),
|
|
1010
|
+
dn.length = 0, Rr(K, e, 1), F = De(we);
|
|
1011
1011
|
}
|
|
1012
|
-
let V =
|
|
1013
|
-
if (
|
|
1014
|
-
const K = Object.keys(
|
|
1015
|
-
K.length && Z & 7 && (i && K.some(ps) && (
|
|
1016
|
-
|
|
1012
|
+
let V = F;
|
|
1013
|
+
if (g && N !== !1) {
|
|
1014
|
+
const K = Object.keys(g), { shapeFlag: Z } = V;
|
|
1015
|
+
K.length && Z & 7 && (i && K.some(ps) && (g = mc(
|
|
1016
|
+
g,
|
|
1017
1017
|
i
|
|
1018
|
-
)), V = Lt(V,
|
|
1018
|
+
)), V = Lt(V, g));
|
|
1019
1019
|
}
|
|
1020
|
-
return n.dirs && (V = Lt(V), V.dirs = V.dirs ? V.dirs.concat(n.dirs) : n.dirs), n.transition && (V.transition = n.transition),
|
|
1020
|
+
return n.dirs && (V = Lt(V), V.dirs = V.dirs ? V.dirs.concat(n.dirs) : n.dirs), n.transition && (V.transition = n.transition), F = V, ar(b), F;
|
|
1021
1021
|
}
|
|
1022
1022
|
const hc = (e) => {
|
|
1023
1023
|
let t;
|
|
@@ -1066,8 +1066,8 @@ function Cc({ vnode: e, parent: t }, n) {
|
|
|
1066
1066
|
for (; t && t.subTree === e; )
|
|
1067
1067
|
(e = t.vnode).el = n, t = t.parent;
|
|
1068
1068
|
}
|
|
1069
|
-
const
|
|
1070
|
-
function
|
|
1069
|
+
const Pc = (e) => e.__isSuspense;
|
|
1070
|
+
function gc(e, t) {
|
|
1071
1071
|
t && t.pendingBranch ? w(e) ? t.effects.push(...e) : t.effects.push(e) : Nc(e);
|
|
1072
1072
|
}
|
|
1073
1073
|
const zn = {};
|
|
@@ -1102,7 +1102,7 @@ function Xi(e, t, { immediate: n, deep: r, flush: s, onTrack: o, onTrigger: i }
|
|
|
1102
1102
|
ht(K, u, 4);
|
|
1103
1103
|
};
|
|
1104
1104
|
}, d;
|
|
1105
|
-
if (
|
|
1105
|
+
if (Pn)
|
|
1106
1106
|
if (A = We, t ? n && ve(t, u, 3, [
|
|
1107
1107
|
c(),
|
|
1108
1108
|
T ? [] : void 0,
|
|
@@ -1113,7 +1113,7 @@ function Xi(e, t, { immediate: n, deep: r, flush: s, onTrack: o, onTrigger: i }
|
|
|
1113
1113
|
} else
|
|
1114
1114
|
return We;
|
|
1115
1115
|
let N = T ? new Array(e.length).fill(zn) : zn;
|
|
1116
|
-
const
|
|
1116
|
+
const F = () => {
|
|
1117
1117
|
if (b.active)
|
|
1118
1118
|
if (t) {
|
|
1119
1119
|
const K = b.run();
|
|
@@ -1128,11 +1128,11 @@ function Xi(e, t, { immediate: n, deep: r, flush: s, onTrack: o, onTrigger: i }
|
|
|
1128
1128
|
} else
|
|
1129
1129
|
b.run();
|
|
1130
1130
|
};
|
|
1131
|
-
|
|
1132
|
-
let
|
|
1133
|
-
s === "sync" ?
|
|
1134
|
-
const b = new
|
|
1135
|
-
t ? n ?
|
|
1131
|
+
F.allowRecurse = !!t;
|
|
1132
|
+
let g;
|
|
1133
|
+
s === "sync" ? g = F : s === "post" ? g = () => Pe(F, u && u.suspense) : (F.pre = !0, u && (F.id = u.uid), g = () => Fs(F));
|
|
1134
|
+
const b = new Ps(c, g);
|
|
1135
|
+
t ? n ? F() : N = b.run() : s === "post" ? Pe(
|
|
1136
1136
|
b.run.bind(b),
|
|
1137
1137
|
u && u.suspense
|
|
1138
1138
|
) : b.run();
|
|
@@ -1148,7 +1148,7 @@ function Bc(e, t, n) {
|
|
|
1148
1148
|
const i = Oe;
|
|
1149
1149
|
zt(this);
|
|
1150
1150
|
const E = Xi(s, o.bind(r), n);
|
|
1151
|
-
return i ? zt(i) :
|
|
1151
|
+
return i ? zt(i) : Ht(), E;
|
|
1152
1152
|
}
|
|
1153
1153
|
function ji(e, t) {
|
|
1154
1154
|
const n = t.split(".");
|
|
@@ -1197,7 +1197,7 @@ function J_(e, t) {
|
|
|
1197
1197
|
}
|
|
1198
1198
|
return e;
|
|
1199
1199
|
}
|
|
1200
|
-
function
|
|
1200
|
+
function Pt(e, t, n, r) {
|
|
1201
1201
|
const s = e.dirs, o = t && t.dirs;
|
|
1202
1202
|
for (let i = 0; i < s.length; i++) {
|
|
1203
1203
|
const E = s[i];
|
|
@@ -1224,25 +1224,25 @@ function bc() {
|
|
|
1224
1224
|
e.isUnmounting = !0;
|
|
1225
1225
|
}), e;
|
|
1226
1226
|
}
|
|
1227
|
-
const
|
|
1227
|
+
const He = [Function, Array], zi = {
|
|
1228
1228
|
mode: String,
|
|
1229
1229
|
appear: Boolean,
|
|
1230
1230
|
persisted: Boolean,
|
|
1231
1231
|
// enter
|
|
1232
|
-
onBeforeEnter:
|
|
1233
|
-
onEnter:
|
|
1234
|
-
onAfterEnter:
|
|
1235
|
-
onEnterCancelled:
|
|
1232
|
+
onBeforeEnter: He,
|
|
1233
|
+
onEnter: He,
|
|
1234
|
+
onAfterEnter: He,
|
|
1235
|
+
onEnterCancelled: He,
|
|
1236
1236
|
// leave
|
|
1237
|
-
onBeforeLeave:
|
|
1238
|
-
onLeave:
|
|
1239
|
-
onAfterLeave:
|
|
1240
|
-
onLeaveCancelled:
|
|
1237
|
+
onBeforeLeave: He,
|
|
1238
|
+
onLeave: He,
|
|
1239
|
+
onAfterLeave: He,
|
|
1240
|
+
onLeaveCancelled: He,
|
|
1241
1241
|
// appear
|
|
1242
|
-
onBeforeAppear:
|
|
1243
|
-
onAppear:
|
|
1244
|
-
onAfterAppear:
|
|
1245
|
-
onAppearCancelled:
|
|
1242
|
+
onBeforeAppear: He,
|
|
1243
|
+
onAppear: He,
|
|
1244
|
+
onAfterAppear: He,
|
|
1245
|
+
onAppearCancelled: He
|
|
1246
1246
|
}, Gc = {
|
|
1247
1247
|
name: "BaseTransition",
|
|
1248
1248
|
props: zi,
|
|
@@ -1292,13 +1292,13 @@ const Fe = [Function, Array], zi = {
|
|
|
1292
1292
|
return r.isLeaving = !0, N.afterLeave = () => {
|
|
1293
1293
|
r.isLeaving = !1, n.update.active !== !1 && n.update();
|
|
1294
1294
|
}, wr(i);
|
|
1295
|
-
u === "in-out" && c.type !== we && (N.delayLeave = (
|
|
1295
|
+
u === "in-out" && c.type !== we && (N.delayLeave = (F, g, b) => {
|
|
1296
1296
|
const V = $i(
|
|
1297
1297
|
r,
|
|
1298
1298
|
S
|
|
1299
1299
|
);
|
|
1300
|
-
V[String(S.key)] = S,
|
|
1301
|
-
|
|
1300
|
+
V[String(S.key)] = S, F._leaveCb = () => {
|
|
1301
|
+
g(), F._leaveCb = void 0, delete a.delayedLeave;
|
|
1302
1302
|
}, a.delayedLeave = b;
|
|
1303
1303
|
});
|
|
1304
1304
|
}
|
|
@@ -1325,8 +1325,8 @@ function rs(e, t, n, r) {
|
|
|
1325
1325
|
onAfterLeave: A,
|
|
1326
1326
|
onLeaveCancelled: d,
|
|
1327
1327
|
onBeforeAppear: N,
|
|
1328
|
-
onAppear:
|
|
1329
|
-
onAfterAppear:
|
|
1328
|
+
onAppear: F,
|
|
1329
|
+
onAfterAppear: g,
|
|
1330
1330
|
onAppearCancelled: b
|
|
1331
1331
|
} = t, V = String(e.key), K = $i(n, e), Z = (y, Y) => {
|
|
1332
1332
|
y && ve(
|
|
@@ -1359,7 +1359,7 @@ function rs(e, t, n, r) {
|
|
|
1359
1359
|
let Y = u, J = c, re = a;
|
|
1360
1360
|
if (!n.isMounted)
|
|
1361
1361
|
if (s)
|
|
1362
|
-
Y =
|
|
1362
|
+
Y = F || u, J = g || c, re = b || a;
|
|
1363
1363
|
else
|
|
1364
1364
|
return;
|
|
1365
1365
|
let M = !1;
|
|
@@ -1439,10 +1439,10 @@ function Qi(e, t, n = Oe) {
|
|
|
1439
1439
|
if (Dr(t, r, n), n) {
|
|
1440
1440
|
let s = n.parent;
|
|
1441
1441
|
for (; s && s.parent; )
|
|
1442
|
-
pr(s.parent.vnode) &&
|
|
1442
|
+
pr(s.parent.vnode) && Fc(r, t, n, s), s = s.parent;
|
|
1443
1443
|
}
|
|
1444
1444
|
}
|
|
1445
|
-
function
|
|
1445
|
+
function Fc(e, t, n, r) {
|
|
1446
1446
|
const s = Dr(
|
|
1447
1447
|
t,
|
|
1448
1448
|
e,
|
|
@@ -1461,15 +1461,15 @@ function Dr(e, t, n = Oe, r = !1) {
|
|
|
1461
1461
|
return;
|
|
1462
1462
|
nn(), zt(n);
|
|
1463
1463
|
const E = ve(t, n, e, i);
|
|
1464
|
-
return
|
|
1464
|
+
return Ht(), rn(), E;
|
|
1465
1465
|
});
|
|
1466
1466
|
return r ? s.unshift(o) : s.push(o), o;
|
|
1467
1467
|
}
|
|
1468
1468
|
}
|
|
1469
1469
|
const Et = (e) => (t, n = Oe) => (
|
|
1470
1470
|
// post-create lifecycle registrations are noops during SSR (except for serverPrefetch)
|
|
1471
|
-
(!
|
|
1472
|
-
),
|
|
1471
|
+
(!Pn || e === "sp") && Dr(e, (...r) => t(...r), n)
|
|
1472
|
+
), Hc = Et("bm"), eE = Et("m"), vc = Et("bu"), wc = Et("u"), tE = Et("bum"), nE = Et("um"), Yc = Et("sp"), xc = Et(
|
|
1473
1473
|
"rtg"
|
|
1474
1474
|
), kc = Et(
|
|
1475
1475
|
"rtc"
|
|
@@ -1541,8 +1541,8 @@ const os = (e) => e ? fE(e) ? mr(e) || e.proxy : os(e.parent) : null, An = (
|
|
|
1541
1541
|
$parent: (e) => os(e.parent),
|
|
1542
1542
|
$root: (e) => os(e.root),
|
|
1543
1543
|
$emit: (e) => e.emit,
|
|
1544
|
-
$options: (e) =>
|
|
1545
|
-
$forceUpdate: (e) => e.f || (e.f = () =>
|
|
1544
|
+
$options: (e) => Hs(e),
|
|
1545
|
+
$forceUpdate: (e) => e.f || (e.f = () => Fs(e.update)),
|
|
1546
1546
|
$nextTick: (e) => e.n || (e.n = ys.bind(e.proxy)),
|
|
1547
1547
|
$watch: (e) => Bc.bind(e)
|
|
1548
1548
|
})
|
|
@@ -1618,7 +1618,7 @@ function _o(e) {
|
|
|
1618
1618
|
}
|
|
1619
1619
|
let is = !0;
|
|
1620
1620
|
function Zc(e) {
|
|
1621
|
-
const t =
|
|
1621
|
+
const t = Hs(e), n = e.proxy, r = e.ctx;
|
|
1622
1622
|
is = !1, t.beforeCreate && So(t.beforeCreate, e, "bc");
|
|
1623
1623
|
const {
|
|
1624
1624
|
// state
|
|
@@ -1635,8 +1635,8 @@ function Zc(e) {
|
|
|
1635
1635
|
beforeUpdate: A,
|
|
1636
1636
|
updated: d,
|
|
1637
1637
|
activated: N,
|
|
1638
|
-
deactivated:
|
|
1639
|
-
beforeDestroy:
|
|
1638
|
+
deactivated: F,
|
|
1639
|
+
beforeDestroy: g,
|
|
1640
1640
|
beforeUnmount: b,
|
|
1641
1641
|
destroyed: V,
|
|
1642
1642
|
unmounted: K,
|
|
@@ -1664,7 +1664,7 @@ function Zc(e) {
|
|
|
1664
1664
|
}
|
|
1665
1665
|
if (is = !0, o)
|
|
1666
1666
|
for (const oe in o) {
|
|
1667
|
-
const te = o[oe], xe = X(te) ? te.bind(n, n) : X(te.get) ? te.get.bind(n, n) : We, be = !X(te) && X(te.set) ? te.set.bind(n) : We, he =
|
|
1667
|
+
const te = o[oe], xe = X(te) ? te.bind(n, n) : X(te.get) ? te.get.bind(n, n) : We, be = !X(te) && X(te.set) ? te.set.bind(n) : We, he = ge({
|
|
1668
1668
|
get: xe,
|
|
1669
1669
|
set: be
|
|
1670
1670
|
});
|
|
@@ -1688,7 +1688,7 @@ function Zc(e) {
|
|
|
1688
1688
|
function z(oe, te) {
|
|
1689
1689
|
w(te) ? te.forEach((xe) => oe(xe.bind(n))) : te && oe(te.bind(n));
|
|
1690
1690
|
}
|
|
1691
|
-
if (z(
|
|
1691
|
+
if (z(Hc, T), z(eE, S), z(vc, A), z(wc, d), z(Kc, N), z(yc, F), z(Vc, y), z(kc, ce), z(xc, ae), z(tE, b), z(nE, K), z(Yc, Y), w(J))
|
|
1692
1692
|
if (J.length) {
|
|
1693
1693
|
const oe = e.exposed || (e.exposed = {});
|
|
1694
1694
|
J.forEach((te) => {
|
|
@@ -1741,7 +1741,7 @@ function sE(e, t, n, r) {
|
|
|
1741
1741
|
X(o) && Sn(s, o, e);
|
|
1742
1742
|
}
|
|
1743
1743
|
}
|
|
1744
|
-
function
|
|
1744
|
+
function Hs(e) {
|
|
1745
1745
|
const t = e.type, { mixins: n, extends: r } = t, {
|
|
1746
1746
|
mixins: s,
|
|
1747
1747
|
optionsCache: o,
|
|
@@ -2046,7 +2046,7 @@ function us(e, t, n, r, s, o) {
|
|
|
2046
2046
|
n in c ? r = c[n] : (zt(s), r = c[n] = u.call(
|
|
2047
2047
|
null,
|
|
2048
2048
|
t
|
|
2049
|
-
),
|
|
2049
|
+
), Ht());
|
|
2050
2050
|
} else
|
|
2051
2051
|
r = u;
|
|
2052
2052
|
}
|
|
@@ -2185,11 +2185,11 @@ function cs(e, t, n, r, s = !1) {
|
|
|
2185
2185
|
} else
|
|
2186
2186
|
S ? (a[u] = i, Q(T, u) && (T[u] = i)) : A && (u.value = i, e.k && (a[e.k] = i));
|
|
2187
2187
|
};
|
|
2188
|
-
i ? (d.id = -1,
|
|
2188
|
+
i ? (d.id = -1, Pe(d, n)) : d();
|
|
2189
2189
|
}
|
|
2190
2190
|
}
|
|
2191
2191
|
}
|
|
2192
|
-
const
|
|
2192
|
+
const Pe = gc;
|
|
2193
2193
|
function ia(e) {
|
|
2194
2194
|
return Ea(e);
|
|
2195
2195
|
}
|
|
@@ -2213,13 +2213,13 @@ function Ea(e, t) {
|
|
|
2213
2213
|
if (l === _)
|
|
2214
2214
|
return;
|
|
2215
2215
|
l && !Mt(l, _) && (I = O(l), Ne(l, p, U, !0), l = null), _.patchFlag === -2 && (C = !1, _.dynamicChildren = null);
|
|
2216
|
-
const { type: h, ref: x, shapeFlag:
|
|
2216
|
+
const { type: h, ref: x, shapeFlag: H } = _;
|
|
2217
2217
|
switch (h) {
|
|
2218
2218
|
case Ur:
|
|
2219
|
-
|
|
2219
|
+
F(l, _, f, I);
|
|
2220
2220
|
break;
|
|
2221
2221
|
case we:
|
|
2222
|
-
|
|
2222
|
+
g(l, _, f, I);
|
|
2223
2223
|
break;
|
|
2224
2224
|
case er:
|
|
2225
2225
|
l == null && b(_, f, I, B);
|
|
@@ -2238,7 +2238,7 @@ function Ea(e, t) {
|
|
|
2238
2238
|
);
|
|
2239
2239
|
break;
|
|
2240
2240
|
default:
|
|
2241
|
-
|
|
2241
|
+
H & 1 ? Z(
|
|
2242
2242
|
l,
|
|
2243
2243
|
_,
|
|
2244
2244
|
f,
|
|
@@ -2248,7 +2248,7 @@ function Ea(e, t) {
|
|
|
2248
2248
|
B,
|
|
2249
2249
|
L,
|
|
2250
2250
|
C
|
|
2251
|
-
) :
|
|
2251
|
+
) : H & 6 ? $(
|
|
2252
2252
|
l,
|
|
2253
2253
|
_,
|
|
2254
2254
|
f,
|
|
@@ -2258,7 +2258,7 @@ function Ea(e, t) {
|
|
|
2258
2258
|
B,
|
|
2259
2259
|
L,
|
|
2260
2260
|
C
|
|
2261
|
-
) : (
|
|
2261
|
+
) : (H & 64 || H & 128) && h.process(
|
|
2262
2262
|
l,
|
|
2263
2263
|
_,
|
|
2264
2264
|
f,
|
|
@@ -2268,11 +2268,11 @@ function Ea(e, t) {
|
|
|
2268
2268
|
B,
|
|
2269
2269
|
L,
|
|
2270
2270
|
C,
|
|
2271
|
-
|
|
2271
|
+
P
|
|
2272
2272
|
);
|
|
2273
2273
|
}
|
|
2274
2274
|
x != null && p && cs(x, l && l.ref, U, _ || l, !_);
|
|
2275
|
-
},
|
|
2275
|
+
}, F = (l, _, f, I) => {
|
|
2276
2276
|
if (l == null)
|
|
2277
2277
|
r(
|
|
2278
2278
|
_.el = E(_.children),
|
|
@@ -2283,7 +2283,7 @@ function Ea(e, t) {
|
|
|
2283
2283
|
const p = _.el = l.el;
|
|
2284
2284
|
_.children !== l.children && c(p, _.children);
|
|
2285
2285
|
}
|
|
2286
|
-
},
|
|
2286
|
+
}, g = (l, _, f, I) => {
|
|
2287
2287
|
l == null ? r(
|
|
2288
2288
|
_.el = u(_.children || ""),
|
|
2289
2289
|
f,
|
|
@@ -2329,12 +2329,12 @@ function Ea(e, t) {
|
|
|
2329
2329
|
);
|
|
2330
2330
|
}, ce = (l, _, f, I, p, U, B, L) => {
|
|
2331
2331
|
let C, h;
|
|
2332
|
-
const { type: x, props:
|
|
2332
|
+
const { type: x, props: H, shapeFlag: k, transition: W, dirs: j } = l;
|
|
2333
2333
|
if (C = l.el = i(
|
|
2334
2334
|
l.type,
|
|
2335
2335
|
U,
|
|
2336
|
-
|
|
2337
|
-
|
|
2336
|
+
H && H.is,
|
|
2337
|
+
H
|
|
2338
2338
|
), k & 8 ? a(C, l.children) : k & 16 && y(
|
|
2339
2339
|
l.children,
|
|
2340
2340
|
C,
|
|
@@ -2344,25 +2344,25 @@ function Ea(e, t) {
|
|
|
2344
2344
|
U && x !== "foreignObject",
|
|
2345
2345
|
B,
|
|
2346
2346
|
L
|
|
2347
|
-
), j &&
|
|
2348
|
-
for (const se in
|
|
2347
|
+
), j && Pt(l, null, I, "created"), ae(C, l, l.scopeId, B, I), H) {
|
|
2348
|
+
for (const se in H)
|
|
2349
2349
|
se !== "value" && !$n(se) && o(
|
|
2350
2350
|
C,
|
|
2351
2351
|
se,
|
|
2352
2352
|
null,
|
|
2353
|
-
|
|
2353
|
+
H[se],
|
|
2354
2354
|
U,
|
|
2355
2355
|
l.children,
|
|
2356
2356
|
I,
|
|
2357
2357
|
p,
|
|
2358
2358
|
Re
|
|
2359
2359
|
);
|
|
2360
|
-
"value" in
|
|
2360
|
+
"value" in H && o(C, "value", null, H.value), (h = H.onVnodeBeforeMount) && je(h, I, l);
|
|
2361
2361
|
}
|
|
2362
|
-
j &&
|
|
2362
|
+
j && Pt(l, null, I, "beforeMount");
|
|
2363
2363
|
const Ee = (!p || p && !p.pendingBranch) && W && !W.persisted;
|
|
2364
|
-
Ee && W.beforeEnter(C), r(C, _, f), ((h =
|
|
2365
|
-
h && je(h, I, l), Ee && W.enter(C), j &&
|
|
2364
|
+
Ee && W.beforeEnter(C), r(C, _, f), ((h = H && H.onVnodeMounted) || Ee || j) && Pe(() => {
|
|
2365
|
+
h && je(h, I, l), Ee && W.enter(C), j && Pt(l, null, I, "mounted");
|
|
2366
2366
|
}, p);
|
|
2367
2367
|
}, ae = (l, _, f, I, p) => {
|
|
2368
2368
|
if (f && A(l, f), I)
|
|
@@ -2400,9 +2400,9 @@ function Ea(e, t) {
|
|
|
2400
2400
|
const L = _.el = l.el;
|
|
2401
2401
|
let { patchFlag: C, dynamicChildren: h, dirs: x } = _;
|
|
2402
2402
|
C |= l.patchFlag & 16;
|
|
2403
|
-
const
|
|
2403
|
+
const H = l.props || le, k = _.props || le;
|
|
2404
2404
|
let W;
|
|
2405
|
-
f &&
|
|
2405
|
+
f && gt(f, !1), (W = k.onVnodeBeforeUpdate) && je(W, f, _, l), x && Pt(_, l, f, "beforeUpdate"), f && gt(f, !0);
|
|
2406
2406
|
const j = p && _.type !== "foreignObject";
|
|
2407
2407
|
if (h ? J(
|
|
2408
2408
|
l.dynamicChildren,
|
|
@@ -2427,16 +2427,16 @@ function Ea(e, t) {
|
|
|
2427
2427
|
re(
|
|
2428
2428
|
L,
|
|
2429
2429
|
_,
|
|
2430
|
-
|
|
2430
|
+
H,
|
|
2431
2431
|
k,
|
|
2432
2432
|
f,
|
|
2433
2433
|
I,
|
|
2434
2434
|
p
|
|
2435
2435
|
);
|
|
2436
|
-
else if (C & 2 &&
|
|
2436
|
+
else if (C & 2 && H.class !== k.class && o(L, "class", null, k.class, p), C & 4 && o(L, "style", H.style, k.style, p), C & 8) {
|
|
2437
2437
|
const Ee = _.dynamicProps;
|
|
2438
2438
|
for (let se = 0; se < Ee.length; se++) {
|
|
2439
|
-
const _e = Ee[se], Ge =
|
|
2439
|
+
const _e = Ee[se], Ge = H[_e], ct = k[_e];
|
|
2440
2440
|
(ct !== Ge || _e === "value") && o(
|
|
2441
2441
|
L,
|
|
2442
2442
|
_e,
|
|
@@ -2455,14 +2455,14 @@ function Ea(e, t) {
|
|
|
2455
2455
|
!B && h == null && re(
|
|
2456
2456
|
L,
|
|
2457
2457
|
_,
|
|
2458
|
-
|
|
2458
|
+
H,
|
|
2459
2459
|
k,
|
|
2460
2460
|
f,
|
|
2461
2461
|
I,
|
|
2462
2462
|
p
|
|
2463
2463
|
);
|
|
2464
|
-
((W = k.onVnodeUpdated) || x) &&
|
|
2465
|
-
W && je(W, f, _, l), x &&
|
|
2464
|
+
((W = k.onVnodeUpdated) || x) && Pe(() => {
|
|
2465
|
+
W && je(W, f, _, l), x && Pt(_, l, f, "updated");
|
|
2466
2466
|
}, I);
|
|
2467
2467
|
}, J = (l, _, f, I, p, U, B) => {
|
|
2468
2468
|
for (let L = 0; L < _.length; L++) {
|
|
@@ -2527,7 +2527,7 @@ function Ea(e, t) {
|
|
|
2527
2527
|
}
|
|
2528
2528
|
}, M = (l, _, f, I, p, U, B, L, C) => {
|
|
2529
2529
|
const h = _.el = l ? l.el : E(""), x = _.anchor = l ? l.anchor : E("");
|
|
2530
|
-
let { patchFlag:
|
|
2530
|
+
let { patchFlag: H, dynamicChildren: k, slotScopeIds: W } = _;
|
|
2531
2531
|
W && (L = L ? L.concat(W) : W), l == null ? (r(h, f, I), r(x, f, I), y(
|
|
2532
2532
|
_.children,
|
|
2533
2533
|
f,
|
|
@@ -2537,7 +2537,7 @@ function Ea(e, t) {
|
|
|
2537
2537
|
B,
|
|
2538
2538
|
L,
|
|
2539
2539
|
C
|
|
2540
|
-
)) :
|
|
2540
|
+
)) : H > 0 && H & 64 && k && // #2715 the previous fragment could've been a BAILed one as a result
|
|
2541
2541
|
// of renderSlot() with no valid children
|
|
2542
2542
|
l.dynamicChildren ? (J(
|
|
2543
2543
|
l.dynamicChildren,
|
|
@@ -2589,10 +2589,10 @@ function Ea(e, t) {
|
|
|
2589
2589
|
I,
|
|
2590
2590
|
p
|
|
2591
2591
|
);
|
|
2592
|
-
if (pr(l) && (L.ctx.renderer =
|
|
2592
|
+
if (pr(l) && (L.ctx.renderer = P), Oa(L), L.asyncDep) {
|
|
2593
2593
|
if (p && p.registerDep(L, z), !l.el) {
|
|
2594
2594
|
const C = L.subTree = De(we);
|
|
2595
|
-
|
|
2595
|
+
g(null, C, _, f);
|
|
2596
2596
|
}
|
|
2597
2597
|
return;
|
|
2598
2598
|
}
|
|
@@ -2618,8 +2618,8 @@ function Ea(e, t) {
|
|
|
2618
2618
|
}, z = (l, _, f, I, p, U, B) => {
|
|
2619
2619
|
const L = () => {
|
|
2620
2620
|
if (l.isMounted) {
|
|
2621
|
-
let { next: x, bu:
|
|
2622
|
-
|
|
2621
|
+
let { next: x, bu: H, u: k, parent: W, vnode: j } = l, Ee = x, se;
|
|
2622
|
+
gt(l, !1), x ? (x.el = j.el, oe(l, x, B)) : x = j, H && qn(H), (se = x.props && x.props.onVnodeBeforeUpdate) && je(se, W, x, j), gt(l, !0);
|
|
2623
2623
|
const _e = vr(l), Ge = l.subTree;
|
|
2624
2624
|
l.subTree = _e, N(
|
|
2625
2625
|
Ge,
|
|
@@ -2631,17 +2631,17 @@ function Ea(e, t) {
|
|
|
2631
2631
|
l,
|
|
2632
2632
|
p,
|
|
2633
2633
|
U
|
|
2634
|
-
), x.el = _e.el, Ee === null && Cc(l, _e.el), k &&
|
|
2634
|
+
), x.el = _e.el, Ee === null && Cc(l, _e.el), k && Pe(k, p), (se = x.props && x.props.onVnodeUpdated) && Pe(
|
|
2635
2635
|
() => je(se, W, x, j),
|
|
2636
2636
|
p
|
|
2637
2637
|
);
|
|
2638
2638
|
} else {
|
|
2639
2639
|
let x;
|
|
2640
|
-
const { el:
|
|
2641
|
-
if (
|
|
2640
|
+
const { el: H, props: k } = _, { bm: W, m: j, parent: Ee } = l, se = fn(_);
|
|
2641
|
+
if (gt(l, !1), W && qn(W), !se && (x = k && k.onVnodeBeforeMount) && je(x, Ee, _), gt(l, !0), H && ne) {
|
|
2642
2642
|
const _e = () => {
|
|
2643
2643
|
l.subTree = vr(l), ne(
|
|
2644
|
-
|
|
2644
|
+
H,
|
|
2645
2645
|
l.subTree,
|
|
2646
2646
|
l,
|
|
2647
2647
|
p,
|
|
@@ -2667,33 +2667,33 @@ function Ea(e, t) {
|
|
|
2667
2667
|
U
|
|
2668
2668
|
), _.el = _e.el;
|
|
2669
2669
|
}
|
|
2670
|
-
if (j &&
|
|
2670
|
+
if (j && Pe(j, p), !se && (x = k && k.onVnodeMounted)) {
|
|
2671
2671
|
const _e = _;
|
|
2672
|
-
|
|
2672
|
+
Pe(
|
|
2673
2673
|
() => je(x, Ee, _e),
|
|
2674
2674
|
p
|
|
2675
2675
|
);
|
|
2676
2676
|
}
|
|
2677
|
-
(_.shapeFlag & 256 || Ee && fn(Ee.vnode) && Ee.vnode.shapeFlag & 256) && l.a &&
|
|
2677
|
+
(_.shapeFlag & 256 || Ee && fn(Ee.vnode) && Ee.vnode.shapeFlag & 256) && l.a && Pe(l.a, p), l.isMounted = !0, _ = f = I = null;
|
|
2678
2678
|
}
|
|
2679
|
-
}, C = l.effect = new
|
|
2679
|
+
}, C = l.effect = new Ps(
|
|
2680
2680
|
L,
|
|
2681
|
-
() =>
|
|
2681
|
+
() => Fs(h),
|
|
2682
2682
|
l.scope
|
|
2683
2683
|
// track it in component's effect scope
|
|
2684
2684
|
), h = l.update = () => C.run();
|
|
2685
|
-
h.id = l.uid,
|
|
2685
|
+
h.id = l.uid, gt(l, !0), h();
|
|
2686
2686
|
}, oe = (l, _, f) => {
|
|
2687
2687
|
_.component = l;
|
|
2688
2688
|
const I = l.vnode.props;
|
|
2689
2689
|
l.vnode = _, l.next = null, na(l, _.props, I, f), oa(l, _.children, f), nn(), ao(), rn();
|
|
2690
2690
|
}, te = (l, _, f, I, p, U, B, L, C = !1) => {
|
|
2691
|
-
const h = l && l.children, x = l ? l.shapeFlag : 0,
|
|
2691
|
+
const h = l && l.children, x = l ? l.shapeFlag : 0, H = _.children, { patchFlag: k, shapeFlag: W } = _;
|
|
2692
2692
|
if (k > 0) {
|
|
2693
2693
|
if (k & 128) {
|
|
2694
2694
|
be(
|
|
2695
2695
|
h,
|
|
2696
|
-
|
|
2696
|
+
H,
|
|
2697
2697
|
f,
|
|
2698
2698
|
I,
|
|
2699
2699
|
p,
|
|
@@ -2706,7 +2706,7 @@ function Ea(e, t) {
|
|
|
2706
2706
|
} else if (k & 256) {
|
|
2707
2707
|
xe(
|
|
2708
2708
|
h,
|
|
2709
|
-
|
|
2709
|
+
H,
|
|
2710
2710
|
f,
|
|
2711
2711
|
I,
|
|
2712
2712
|
p,
|
|
@@ -2718,9 +2718,9 @@ function Ea(e, t) {
|
|
|
2718
2718
|
return;
|
|
2719
2719
|
}
|
|
2720
2720
|
}
|
|
2721
|
-
W & 8 ? (x & 16 && Re(h, p, U),
|
|
2721
|
+
W & 8 ? (x & 16 && Re(h, p, U), H !== h && a(f, H)) : x & 16 ? W & 16 ? be(
|
|
2722
2722
|
h,
|
|
2723
|
-
|
|
2723
|
+
H,
|
|
2724
2724
|
f,
|
|
2725
2725
|
I,
|
|
2726
2726
|
p,
|
|
@@ -2729,7 +2729,7 @@ function Ea(e, t) {
|
|
|
2729
2729
|
L,
|
|
2730
2730
|
C
|
|
2731
2731
|
) : Re(h, p, U, !0) : (x & 8 && a(f, ""), W & 16 && y(
|
|
2732
|
-
|
|
2732
|
+
H,
|
|
2733
2733
|
f,
|
|
2734
2734
|
I,
|
|
2735
2735
|
p,
|
|
@@ -2740,9 +2740,9 @@ function Ea(e, t) {
|
|
|
2740
2740
|
));
|
|
2741
2741
|
}, xe = (l, _, f, I, p, U, B, L, C) => {
|
|
2742
2742
|
l = l || Vt, _ = _ || Vt;
|
|
2743
|
-
const h = l.length, x = _.length,
|
|
2743
|
+
const h = l.length, x = _.length, H = Math.min(h, x);
|
|
2744
2744
|
let k;
|
|
2745
|
-
for (k = 0; k <
|
|
2745
|
+
for (k = 0; k < H; k++) {
|
|
2746
2746
|
const W = _[k] = C ? It(_[k]) : ze(_[k]);
|
|
2747
2747
|
N(
|
|
2748
2748
|
l[k],
|
|
@@ -2762,7 +2762,7 @@ function Ea(e, t) {
|
|
|
2762
2762
|
U,
|
|
2763
2763
|
!0,
|
|
2764
2764
|
!1,
|
|
2765
|
-
|
|
2765
|
+
H
|
|
2766
2766
|
) : y(
|
|
2767
2767
|
_,
|
|
2768
2768
|
f,
|
|
@@ -2772,13 +2772,13 @@ function Ea(e, t) {
|
|
|
2772
2772
|
B,
|
|
2773
2773
|
L,
|
|
2774
2774
|
C,
|
|
2775
|
-
|
|
2775
|
+
H
|
|
2776
2776
|
);
|
|
2777
2777
|
}, be = (l, _, f, I, p, U, B, L, C) => {
|
|
2778
2778
|
let h = 0;
|
|
2779
2779
|
const x = _.length;
|
|
2780
|
-
let
|
|
2781
|
-
for (; h <=
|
|
2780
|
+
let H = l.length - 1, k = x - 1;
|
|
2781
|
+
for (; h <= H && h <= k; ) {
|
|
2782
2782
|
const W = l[h], j = _[h] = C ? It(_[h]) : ze(_[h]);
|
|
2783
2783
|
if (Mt(W, j))
|
|
2784
2784
|
N(
|
|
@@ -2796,8 +2796,8 @@ function Ea(e, t) {
|
|
|
2796
2796
|
break;
|
|
2797
2797
|
h++;
|
|
2798
2798
|
}
|
|
2799
|
-
for (; h <=
|
|
2800
|
-
const W = l[
|
|
2799
|
+
for (; h <= H && h <= k; ) {
|
|
2800
|
+
const W = l[H], j = _[k] = C ? It(_[k]) : ze(_[k]);
|
|
2801
2801
|
if (Mt(W, j))
|
|
2802
2802
|
N(
|
|
2803
2803
|
W,
|
|
@@ -2812,9 +2812,9 @@ function Ea(e, t) {
|
|
|
2812
2812
|
);
|
|
2813
2813
|
else
|
|
2814
2814
|
break;
|
|
2815
|
-
|
|
2815
|
+
H--, k--;
|
|
2816
2816
|
}
|
|
2817
|
-
if (h >
|
|
2817
|
+
if (h > H) {
|
|
2818
2818
|
if (h <= k) {
|
|
2819
2819
|
const W = k + 1, j = W < x ? _[W].el : I;
|
|
2820
2820
|
for (; h <= k; )
|
|
@@ -2831,7 +2831,7 @@ function Ea(e, t) {
|
|
|
2831
2831
|
), h++;
|
|
2832
2832
|
}
|
|
2833
2833
|
} else if (h > k)
|
|
2834
|
-
for (; h <=
|
|
2834
|
+
for (; h <= H; )
|
|
2835
2835
|
Ne(l[h], p, U, !0), h++;
|
|
2836
2836
|
else {
|
|
2837
2837
|
const W = h, j = h, Ee = /* @__PURE__ */ new Map();
|
|
@@ -2845,7 +2845,7 @@ function Ea(e, t) {
|
|
|
2845
2845
|
const Ct = new Array(Ge);
|
|
2846
2846
|
for (h = 0; h < Ge; h++)
|
|
2847
2847
|
Ct[h] = 0;
|
|
2848
|
-
for (h = W; h <=
|
|
2848
|
+
for (h = W; h <= H; h++) {
|
|
2849
2849
|
const me = l[h];
|
|
2850
2850
|
if (_e >= Ge) {
|
|
2851
2851
|
Ne(me, p, U, !0);
|
|
@@ -2899,13 +2899,13 @@ function Ea(e, t) {
|
|
|
2899
2899
|
return;
|
|
2900
2900
|
}
|
|
2901
2901
|
if (h & 64) {
|
|
2902
|
-
B.move(l, _, f,
|
|
2902
|
+
B.move(l, _, f, P);
|
|
2903
2903
|
return;
|
|
2904
2904
|
}
|
|
2905
2905
|
if (B === Ke) {
|
|
2906
2906
|
r(U, _, f);
|
|
2907
|
-
for (let
|
|
2908
|
-
he(C[
|
|
2907
|
+
for (let H = 0; H < C.length; H++)
|
|
2908
|
+
he(C[H], _, f, I);
|
|
2909
2909
|
r(l.anchor, _, f);
|
|
2910
2910
|
return;
|
|
2911
2911
|
}
|
|
@@ -2915,10 +2915,10 @@ function Ea(e, t) {
|
|
|
2915
2915
|
}
|
|
2916
2916
|
if (I !== 2 && h & 1 && L)
|
|
2917
2917
|
if (I === 0)
|
|
2918
|
-
L.beforeEnter(U), r(U, _, f),
|
|
2918
|
+
L.beforeEnter(U), r(U, _, f), Pe(() => L.enter(U), p);
|
|
2919
2919
|
else {
|
|
2920
|
-
const { leave:
|
|
2921
|
-
|
|
2920
|
+
const { leave: H, delayLeave: k, afterLeave: W } = L, j = () => r(U, _, f), Ee = () => {
|
|
2921
|
+
H(U, () => {
|
|
2922
2922
|
j(), W && W();
|
|
2923
2923
|
});
|
|
2924
2924
|
};
|
|
@@ -2934,7 +2934,7 @@ function Ea(e, t) {
|
|
|
2934
2934
|
children: C,
|
|
2935
2935
|
dynamicChildren: h,
|
|
2936
2936
|
shapeFlag: x,
|
|
2937
|
-
patchFlag:
|
|
2937
|
+
patchFlag: H,
|
|
2938
2938
|
dirs: k
|
|
2939
2939
|
} = l;
|
|
2940
2940
|
if (L != null && cs(L, null, f, l, !0), x & 256) {
|
|
@@ -2950,24 +2950,24 @@ function Ea(e, t) {
|
|
|
2950
2950
|
l.suspense.unmount(f, I);
|
|
2951
2951
|
return;
|
|
2952
2952
|
}
|
|
2953
|
-
W &&
|
|
2953
|
+
W && Pt(l, null, _, "beforeUnmount"), x & 64 ? l.type.remove(
|
|
2954
2954
|
l,
|
|
2955
2955
|
_,
|
|
2956
2956
|
f,
|
|
2957
2957
|
p,
|
|
2958
|
-
|
|
2958
|
+
P,
|
|
2959
2959
|
I
|
|
2960
2960
|
) : h && // #1153: fast path should not be taken for non-stable (v-for) fragments
|
|
2961
|
-
(U !== Ke ||
|
|
2961
|
+
(U !== Ke || H > 0 && H & 64) ? Re(
|
|
2962
2962
|
h,
|
|
2963
2963
|
_,
|
|
2964
2964
|
f,
|
|
2965
2965
|
!1,
|
|
2966
2966
|
!0
|
|
2967
|
-
) : (U === Ke &&
|
|
2967
|
+
) : (U === Ke && H & 384 || !p && x & 16) && Re(C, _, f), I && et(l);
|
|
2968
2968
|
}
|
|
2969
|
-
(j && (Ee = B && B.onVnodeUnmounted) || W) &&
|
|
2970
|
-
Ee && je(Ee, _, l), W &&
|
|
2969
|
+
(j && (Ee = B && B.onVnodeUnmounted) || W) && Pe(() => {
|
|
2970
|
+
Ee && je(Ee, _, l), W && Pt(l, null, _, "unmounted");
|
|
2971
2971
|
}, f);
|
|
2972
2972
|
}, et = (l) => {
|
|
2973
2973
|
const { type: _, el: f, anchor: I, transition: p } = l;
|
|
@@ -2994,7 +2994,7 @@ function Ea(e, t) {
|
|
|
2994
2994
|
s(_);
|
|
2995
2995
|
}, wt = (l, _, f) => {
|
|
2996
2996
|
const { bum: I, scope: p, update: U, subTree: B, um: L } = l;
|
|
2997
|
-
I && qn(I), p.stop(), U && (U.active = !1, Ne(B, l, _, f)), L &&
|
|
2997
|
+
I && qn(I), p.stop(), U && (U.active = !1, Ne(B, l, _, f)), L && Pe(L, _), Pe(() => {
|
|
2998
2998
|
l.isUnmounted = !0;
|
|
2999
2999
|
}, _), _ && _.pendingBranch && !_.isUnmounted && l.asyncDep && !l.asyncResolved && l.suspenseId === _.pendingId && (_.deps--, _.deps === 0 && _.resolve());
|
|
3000
3000
|
}, Re = (l, _, f, I = !1, p = !1, U = 0) => {
|
|
@@ -3002,7 +3002,7 @@ function Ea(e, t) {
|
|
|
3002
3002
|
Ne(l[B], _, f, I, p);
|
|
3003
3003
|
}, O = (l) => l.shapeFlag & 6 ? O(l.component.subTree) : l.shapeFlag & 128 ? l.suspense.next() : S(l.anchor || l.el), G = (l, _, f) => {
|
|
3004
3004
|
l == null ? _._vnode && Ne(_._vnode, null, null, !0) : N(_._vnode || null, l, _, null, null, null, f), ao(), Wi(), _._vnode = l;
|
|
3005
|
-
},
|
|
3005
|
+
}, P = {
|
|
3006
3006
|
p: N,
|
|
3007
3007
|
um: Ne,
|
|
3008
3008
|
m: he,
|
|
@@ -3016,14 +3016,14 @@ function Ea(e, t) {
|
|
|
3016
3016
|
};
|
|
3017
3017
|
let v, ne;
|
|
3018
3018
|
return t && ([v, ne] = t(
|
|
3019
|
-
|
|
3019
|
+
P
|
|
3020
3020
|
)), {
|
|
3021
3021
|
render: G,
|
|
3022
3022
|
hydrate: v,
|
|
3023
3023
|
createApp: Qc(G, v)
|
|
3024
3024
|
};
|
|
3025
3025
|
}
|
|
3026
|
-
function
|
|
3026
|
+
function gt({ effect: e, update: t }, n) {
|
|
3027
3027
|
e.allowRecurse = t.allowRecurse = n;
|
|
3028
3028
|
}
|
|
3029
3029
|
function lE(e, t, n = !1) {
|
|
@@ -3161,9 +3161,9 @@ function la(e, t = null, n = null, r = 0, s = null, o = !1) {
|
|
|
3161
3161
|
if (Ua(e) && (e = e.__vccOpts), t) {
|
|
3162
3162
|
t = Ta(t);
|
|
3163
3163
|
let { class: E, style: u } = t;
|
|
3164
|
-
E && !Ae(E) && (t.class = ms(E)), ue(u) && (
|
|
3164
|
+
E && !Ae(E) && (t.class = ms(E)), ue(u) && (Hi(u) && !w(u) && (u = fe({}, u)), t.style = hs(u));
|
|
3165
3165
|
}
|
|
3166
|
-
const i = Ae(e) ? 1 :
|
|
3166
|
+
const i = Ae(e) ? 1 : Pc(e) ? 128 : ca(e) ? 64 : ue(e) ? 4 : X(e) ? 2 : 0;
|
|
3167
3167
|
return SE(
|
|
3168
3168
|
e,
|
|
3169
3169
|
t,
|
|
@@ -3176,7 +3176,7 @@ function la(e, t = null, n = null, r = 0, s = null, o = !1) {
|
|
|
3176
3176
|
);
|
|
3177
3177
|
}
|
|
3178
3178
|
function Ta(e) {
|
|
3179
|
-
return e ?
|
|
3179
|
+
return e ? Hi(e) || hr in e ? fe({}, e) : e : null;
|
|
3180
3180
|
}
|
|
3181
3181
|
function Lt(e, t, n = !1) {
|
|
3182
3182
|
const { props: r, ref: s, patchFlag: o, children: i } = e, E = t ? fa(r || {}, t) : r;
|
|
@@ -3377,19 +3377,19 @@ let xs, Yt, Do = "__VUE_INSTANCE_SETTERS__";
|
|
|
3377
3377
|
};
|
|
3378
3378
|
const zt = (e) => {
|
|
3379
3379
|
xs(e), e.scope.on();
|
|
3380
|
-
},
|
|
3380
|
+
}, Ht = () => {
|
|
3381
3381
|
Oe && Oe.scope.off(), xs(null);
|
|
3382
3382
|
};
|
|
3383
3383
|
function fE(e) {
|
|
3384
3384
|
return e.vnode.shapeFlag & 4;
|
|
3385
3385
|
}
|
|
3386
|
-
let
|
|
3386
|
+
let Pn = !1;
|
|
3387
3387
|
function Oa(e, t = !1) {
|
|
3388
|
-
|
|
3388
|
+
Pn = t;
|
|
3389
3389
|
const { props: n, children: r } = e.vnode, s = fE(e);
|
|
3390
3390
|
ta(e, n, s, t), sa(e, r);
|
|
3391
3391
|
const o = s ? Na(e, t) : void 0;
|
|
3392
|
-
return
|
|
3392
|
+
return Pn = !1, o;
|
|
3393
3393
|
}
|
|
3394
3394
|
function Na(e, t) {
|
|
3395
3395
|
const n = e.type;
|
|
@@ -3404,8 +3404,8 @@ function Na(e, t) {
|
|
|
3404
3404
|
0,
|
|
3405
3405
|
[e.props, s]
|
|
3406
3406
|
);
|
|
3407
|
-
if (rn(),
|
|
3408
|
-
if (o.then(
|
|
3407
|
+
if (rn(), Ht(), Ii(o)) {
|
|
3408
|
+
if (o.then(Ht, Ht), t)
|
|
3409
3409
|
return o.then((i) => {
|
|
3410
3410
|
Uo(e, i, t);
|
|
3411
3411
|
}).catch((i) => {
|
|
@@ -3425,7 +3425,7 @@ function AE(e, t, n) {
|
|
|
3425
3425
|
const r = e.type;
|
|
3426
3426
|
if (!e.render) {
|
|
3427
3427
|
if (!t && ho && !r.render) {
|
|
3428
|
-
const s = r.template ||
|
|
3428
|
+
const s = r.template || Hs(e).template;
|
|
3429
3429
|
if (s) {
|
|
3430
3430
|
const { isCustomElement: o, compilerOptions: i } = e.appContext.config, { delimiters: E, compilerOptions: u } = r, c = fe(
|
|
3431
3431
|
fe(
|
|
@@ -3442,7 +3442,7 @@ function AE(e, t, n) {
|
|
|
3442
3442
|
}
|
|
3443
3443
|
e.render = r.render || We;
|
|
3444
3444
|
}
|
|
3445
|
-
zt(e), nn(), Zc(e), rn(),
|
|
3445
|
+
zt(e), nn(), Zc(e), rn(), Ht();
|
|
3446
3446
|
}
|
|
3447
3447
|
function pa(e) {
|
|
3448
3448
|
return e.attrsProxy || (e.attrsProxy = new Proxy(
|
|
@@ -3484,12 +3484,12 @@ function mr(e) {
|
|
|
3484
3484
|
function Ua(e) {
|
|
3485
3485
|
return X(e) && "__vccOpts" in e;
|
|
3486
3486
|
}
|
|
3487
|
-
const
|
|
3487
|
+
const ge = (e, t) => dc(e, t, Pn);
|
|
3488
3488
|
function ks(e, t, n) {
|
|
3489
3489
|
const r = arguments.length;
|
|
3490
3490
|
return r === 2 ? ue(t) && !w(t) ? Tr(t) ? De(e, null, [t]) : De(e, t) : De(e, null, t) : (r > 3 ? n = Array.prototype.slice.call(arguments, 2) : r === 3 && Tr(n) && (n = [n]), De(e, t, n));
|
|
3491
3491
|
}
|
|
3492
|
-
const ha = Symbol.for("v-scx"), ma = () => Je(ha), La = "3.3.4", Ca = "http://www.w3.org/2000/svg", Kt = typeof document < "u" ? document : null, mo = Kt && /* @__PURE__ */ Kt.createElement("template"),
|
|
3492
|
+
const ha = Symbol.for("v-scx"), ma = () => Je(ha), La = "3.3.4", Ca = "http://www.w3.org/2000/svg", Kt = typeof document < "u" ? document : null, mo = Kt && /* @__PURE__ */ Kt.createElement("template"), Pa = {
|
|
3493
3493
|
insert: (e, t, n) => {
|
|
3494
3494
|
t.insertBefore(e, n || null);
|
|
3495
3495
|
},
|
|
@@ -3543,7 +3543,7 @@ const ha = Symbol.for("v-scx"), ma = () => Je(ha), La = "3.3.4", Ca = "http://ww
|
|
|
3543
3543
|
];
|
|
3544
3544
|
}
|
|
3545
3545
|
};
|
|
3546
|
-
function
|
|
3546
|
+
function ga(e, t, n) {
|
|
3547
3547
|
const r = e._vtc;
|
|
3548
3548
|
r && (t = (t ? [t, ...r] : [...r]).join(" ")), t == null ? e.removeAttribute("class") : n ? e.setAttribute("class", t) : e.className = t;
|
|
3549
3549
|
}
|
|
@@ -3591,10 +3591,10 @@ function ba(e, t) {
|
|
|
3591
3591
|
}
|
|
3592
3592
|
return t;
|
|
3593
3593
|
}
|
|
3594
|
-
const
|
|
3594
|
+
const Po = "http://www.w3.org/1999/xlink";
|
|
3595
3595
|
function Ga(e, t, n, r, s) {
|
|
3596
3596
|
if (r && t.startsWith("xlink:"))
|
|
3597
|
-
n == null ? e.removeAttributeNS(
|
|
3597
|
+
n == null ? e.removeAttributeNS(Po, t.slice(6, t.length)) : e.setAttributeNS(Po, t, n);
|
|
3598
3598
|
else {
|
|
3599
3599
|
const o = Bu(t);
|
|
3600
3600
|
n == null || o && !pi(n) ? e.removeAttribute(t) : e.setAttribute(t, o ? "" : n);
|
|
@@ -3635,7 +3635,7 @@ function ya(e, t, n, r, s = null) {
|
|
|
3635
3635
|
if (r && i)
|
|
3636
3636
|
i.value = r;
|
|
3637
3637
|
else {
|
|
3638
|
-
const [E, u] =
|
|
3638
|
+
const [E, u] = Fa(t);
|
|
3639
3639
|
if (r) {
|
|
3640
3640
|
const c = o[t] = wa(r, s);
|
|
3641
3641
|
Ot(e, E, c, u);
|
|
@@ -3643,19 +3643,19 @@ function ya(e, t, n, r, s = null) {
|
|
|
3643
3643
|
i && (Ka(e, E, i, u), o[t] = void 0);
|
|
3644
3644
|
}
|
|
3645
3645
|
}
|
|
3646
|
-
const
|
|
3647
|
-
function
|
|
3646
|
+
const go = /(?:Once|Passive|Capture)$/;
|
|
3647
|
+
function Fa(e) {
|
|
3648
3648
|
let t;
|
|
3649
|
-
if (
|
|
3649
|
+
if (go.test(e)) {
|
|
3650
3650
|
t = {};
|
|
3651
3651
|
let r;
|
|
3652
|
-
for (; r = e.match(
|
|
3652
|
+
for (; r = e.match(go); )
|
|
3653
3653
|
e = e.slice(0, e.length - r[0].length), t[r[0].toLowerCase()] = !0;
|
|
3654
3654
|
}
|
|
3655
3655
|
return [e[2] === ":" ? e.slice(3) : vt(e.slice(2)), t];
|
|
3656
3656
|
}
|
|
3657
3657
|
let kr = 0;
|
|
3658
|
-
const
|
|
3658
|
+
const Ha = /* @__PURE__ */ Promise.resolve(), va = () => kr || (Ha.then(() => kr = 0), kr = Date.now());
|
|
3659
3659
|
function wa(e, t) {
|
|
3660
3660
|
const n = (r) => {
|
|
3661
3661
|
if (!r._vts)
|
|
@@ -3681,7 +3681,7 @@ function Ya(e, t) {
|
|
|
3681
3681
|
return t;
|
|
3682
3682
|
}
|
|
3683
3683
|
const Bo = /^on[a-z]/, xa = (e, t, n, r, s = !1, o, i, E, u) => {
|
|
3684
|
-
t === "class" ?
|
|
3684
|
+
t === "class" ? ga(e, r, s) : t === "style" ? Ba(e, n, r) : fr(t) ? ps(t) || ya(e, t, n, r, i) : (t[0] === "." ? (t = t.slice(1), !0) : t[0] === "^" ? (t = t.slice(1), !1) : ka(e, t, r, s)) ? Ma(
|
|
3685
3685
|
e,
|
|
3686
3686
|
t,
|
|
3687
3687
|
r,
|
|
@@ -3741,13 +3741,13 @@ function Va(e) {
|
|
|
3741
3741
|
leaveFromClass: T = `${n}-leave-from`,
|
|
3742
3742
|
leaveActiveClass: S = `${n}-leave-active`,
|
|
3743
3743
|
leaveToClass: A = `${n}-leave-to`
|
|
3744
|
-
} = e, d = Wa(s), N = d && d[0],
|
|
3745
|
-
onBeforeEnter:
|
|
3744
|
+
} = e, d = Wa(s), N = d && d[0], F = d && d[1], {
|
|
3745
|
+
onBeforeEnter: g,
|
|
3746
3746
|
onEnter: b,
|
|
3747
3747
|
onEnterCancelled: V,
|
|
3748
3748
|
onLeave: K,
|
|
3749
3749
|
onLeaveCancelled: Z,
|
|
3750
|
-
onBeforeAppear: ce =
|
|
3750
|
+
onBeforeAppear: ce = g,
|
|
3751
3751
|
onAppear: ae = b,
|
|
3752
3752
|
onAppearCancelled: y = V
|
|
3753
3753
|
} = t, Y = (M, $, Te) => {
|
|
@@ -3762,7 +3762,7 @@ function Va(e) {
|
|
|
3762
3762
|
};
|
|
3763
3763
|
return fe(t, {
|
|
3764
3764
|
onBeforeEnter(M) {
|
|
3765
|
-
Bt(
|
|
3765
|
+
Bt(g, [M]), _t(M, o), _t(M, i);
|
|
3766
3766
|
},
|
|
3767
3767
|
onBeforeAppear(M) {
|
|
3768
3768
|
Bt(ce, [M]), _t(M, u), _t(M, c);
|
|
@@ -3773,7 +3773,7 @@ function Va(e) {
|
|
|
3773
3773
|
M._isLeaving = !0;
|
|
3774
3774
|
const Te = () => J(M, $);
|
|
3775
3775
|
_t(M, T), Xa(), _t(M, S), Go(() => {
|
|
3776
|
-
M._isLeaving && (bt(M, T), _t(M, A), bo(K) || Mo(M, r,
|
|
3776
|
+
M._isLeaving && (bt(M, T), _t(M, A), bo(K) || Mo(M, r, F, Te));
|
|
3777
3777
|
}), Bt(K, [M, Te]);
|
|
3778
3778
|
},
|
|
3779
3779
|
onEnterCancelled(M) {
|
|
@@ -3866,7 +3866,7 @@ const $t = (e) => {
|
|
|
3866
3866
|
function ja(e) {
|
|
3867
3867
|
e.target.composing = !0;
|
|
3868
3868
|
}
|
|
3869
|
-
function
|
|
3869
|
+
function Fo(e) {
|
|
3870
3870
|
const t = e.target;
|
|
3871
3871
|
t.composing && (t.composing = !1, t.dispatchEvent(new Event("input")));
|
|
3872
3872
|
}
|
|
@@ -3881,7 +3881,7 @@ const z_ = {
|
|
|
3881
3881
|
n && (E = E.trim()), o && (E = Er(E)), e._assign(E);
|
|
3882
3882
|
}), n && Ot(e, "change", () => {
|
|
3883
3883
|
e.value = e.value.trim();
|
|
3884
|
-
}), t || (Ot(e, "compositionstart", ja), Ot(e, "compositionend",
|
|
3884
|
+
}), t || (Ot(e, "compositionstart", ja), Ot(e, "compositionend", Fo), Ot(e, "change", Fo));
|
|
3885
3885
|
},
|
|
3886
3886
|
// set value on mounted so it's after min/max for type="range"
|
|
3887
3887
|
mounted(e, { value: t }) {
|
|
@@ -3898,7 +3898,7 @@ const z_ = {
|
|
|
3898
3898
|
deep: !0,
|
|
3899
3899
|
created(e, t, n) {
|
|
3900
3900
|
e._assign = $t(n), Ot(e, "change", () => {
|
|
3901
|
-
const r = e._modelValue, s =
|
|
3901
|
+
const r = e._modelValue, s = gn(e), o = e.checked, i = e._assign;
|
|
3902
3902
|
if (w(r)) {
|
|
3903
3903
|
const E = Ls(r, s), u = E !== -1;
|
|
3904
3904
|
if (o && !u)
|
|
@@ -3915,12 +3915,12 @@ const z_ = {
|
|
|
3915
3915
|
});
|
|
3916
3916
|
},
|
|
3917
3917
|
// set initial checked on mount to wait for true-value/false-value
|
|
3918
|
-
mounted:
|
|
3918
|
+
mounted: Ho,
|
|
3919
3919
|
beforeUpdate(e, t, n) {
|
|
3920
|
-
e._assign = $t(n),
|
|
3920
|
+
e._assign = $t(n), Ho(e, t, n);
|
|
3921
3921
|
}
|
|
3922
3922
|
};
|
|
3923
|
-
function
|
|
3923
|
+
function Ho(e, { value: t, oldValue: n }, r) {
|
|
3924
3924
|
e._modelValue = t, w(t) ? e.checked = Ls(t, r.props.value) > -1 : tn(t) ? e.checked = t.has(r.props.value) : t !== n && (e.checked = Kn(t, RE(e, !0)));
|
|
3925
3925
|
}
|
|
3926
3926
|
const q_ = {
|
|
@@ -3930,7 +3930,7 @@ const q_ = {
|
|
|
3930
3930
|
const s = tn(t);
|
|
3931
3931
|
Ot(e, "change", () => {
|
|
3932
3932
|
const o = Array.prototype.filter.call(e.options, (i) => i.selected).map(
|
|
3933
|
-
(i) => n ? Er(
|
|
3933
|
+
(i) => n ? Er(gn(i)) : gn(i)
|
|
3934
3934
|
);
|
|
3935
3935
|
e._assign(
|
|
3936
3936
|
e.multiple ? s ? new Set(o) : o : o[0]
|
|
@@ -3953,10 +3953,10 @@ function vo(e, t) {
|
|
|
3953
3953
|
const n = e.multiple;
|
|
3954
3954
|
if (!(n && !w(t) && !tn(t))) {
|
|
3955
3955
|
for (let r = 0, s = e.options.length; r < s; r++) {
|
|
3956
|
-
const o = e.options[r], i =
|
|
3956
|
+
const o = e.options[r], i = gn(o);
|
|
3957
3957
|
if (n)
|
|
3958
3958
|
w(t) ? o.selected = Ls(t, i) > -1 : o.selected = t.has(i);
|
|
3959
|
-
else if (Kn(
|
|
3959
|
+
else if (Kn(gn(o), t)) {
|
|
3960
3960
|
e.selectedIndex !== r && (e.selectedIndex = r);
|
|
3961
3961
|
return;
|
|
3962
3962
|
}
|
|
@@ -3964,7 +3964,7 @@ function vo(e, t) {
|
|
|
3964
3964
|
!n && e.selectedIndex !== -1 && (e.selectedIndex = -1);
|
|
3965
3965
|
}
|
|
3966
3966
|
}
|
|
3967
|
-
function
|
|
3967
|
+
function gn(e) {
|
|
3968
3968
|
return "_value" in e ? e._value : e.value;
|
|
3969
3969
|
}
|
|
3970
3970
|
function RE(e, t) {
|
|
@@ -4023,7 +4023,7 @@ const za = ["ctrl", "shift", "alt", "meta"], $a = {
|
|
|
4023
4023
|
function cn(e, t) {
|
|
4024
4024
|
e.style.display = t ? e._vod : "none";
|
|
4025
4025
|
}
|
|
4026
|
-
const Qa = /* @__PURE__ */ fe({ patchProp: xa },
|
|
4026
|
+
const Qa = /* @__PURE__ */ fe({ patchProp: xa }, Pa);
|
|
4027
4027
|
let wo;
|
|
4028
4028
|
function el() {
|
|
4029
4029
|
return wo || (wo = ia(Qa));
|
|
@@ -4186,20 +4186,20 @@ function Il(e, t, n, r) {
|
|
|
4186
4186
|
let s = [], o = [], i = null;
|
|
4187
4187
|
const E = ({ state: S }) => {
|
|
4188
4188
|
const A = NE(e, location), d = n.value, N = t.value;
|
|
4189
|
-
let
|
|
4189
|
+
let F = 0;
|
|
4190
4190
|
if (S) {
|
|
4191
4191
|
if (n.value = A, t.value = S, i && i === d) {
|
|
4192
4192
|
i = null;
|
|
4193
4193
|
return;
|
|
4194
4194
|
}
|
|
4195
|
-
|
|
4195
|
+
F = N ? S.position - N.position : 0;
|
|
4196
4196
|
} else
|
|
4197
4197
|
r(A);
|
|
4198
|
-
s.forEach((
|
|
4199
|
-
|
|
4200
|
-
delta:
|
|
4198
|
+
s.forEach((g) => {
|
|
4199
|
+
g(n.value, d, {
|
|
4200
|
+
delta: F,
|
|
4201
4201
|
type: Bn.pop,
|
|
4202
|
-
direction:
|
|
4202
|
+
direction: F ? F > 0 ? Rn.forward : Rn.back : Rn.unknown
|
|
4203
4203
|
});
|
|
4204
4204
|
});
|
|
4205
4205
|
};
|
|
@@ -4371,13 +4371,13 @@ function Ul(e, t) {
|
|
|
4371
4371
|
if (S.type === 0)
|
|
4372
4372
|
T || (s += "/"), s += S.value.replace(Dl, "\\$&"), A += 40;
|
|
4373
4373
|
else if (S.type === 1) {
|
|
4374
|
-
const { value: d, repeatable: N, optional:
|
|
4374
|
+
const { value: d, repeatable: N, optional: F, regexp: g } = S;
|
|
4375
4375
|
o.push({
|
|
4376
4376
|
name: d,
|
|
4377
4377
|
repeatable: N,
|
|
4378
|
-
optional:
|
|
4378
|
+
optional: F
|
|
4379
4379
|
});
|
|
4380
|
-
const b =
|
|
4380
|
+
const b = g || Jo;
|
|
4381
4381
|
if (b !== Jo) {
|
|
4382
4382
|
A += 10;
|
|
4383
4383
|
try {
|
|
@@ -4389,7 +4389,7 @@ function Ul(e, t) {
|
|
|
4389
4389
|
let V = N ? `((?:${b})(?:/(?:${b}))*)` : `(${b})`;
|
|
4390
4390
|
T || (V = // avoid an optional / if there are more segments e.g. /:p?-static
|
|
4391
4391
|
// or /:p?-:p2
|
|
4392
|
-
|
|
4392
|
+
F && c.length < 2 ? `(?:/${V})` : "/" + V), F && (V += "?"), s += V, A += 20, F && (A += -8), N && (A += -20), b === ".*" && (A += -50);
|
|
4393
4393
|
}
|
|
4394
4394
|
a.push(A);
|
|
4395
4395
|
}
|
|
@@ -4419,12 +4419,12 @@ function Ul(e, t) {
|
|
|
4419
4419
|
if (A.type === 0)
|
|
4420
4420
|
a += A.value;
|
|
4421
4421
|
else if (A.type === 1) {
|
|
4422
|
-
const { value: d, repeatable: N, optional:
|
|
4423
|
-
if (Ze(
|
|
4422
|
+
const { value: d, repeatable: N, optional: F } = A, g = d in c ? c[d] : "";
|
|
4423
|
+
if (Ze(g) && !N)
|
|
4424
4424
|
throw new Error(`Provided param "${d}" is an array but it is not repeatable (* or + modifiers)`);
|
|
4425
|
-
const b = Ze(
|
|
4425
|
+
const b = Ze(g) ? g.join("/") : g;
|
|
4426
4426
|
if (!b)
|
|
4427
|
-
if (
|
|
4427
|
+
if (F)
|
|
4428
4428
|
S.length < 2 && (a.endsWith("/") ? a = a.slice(0, -1) : T = !0);
|
|
4429
4429
|
else
|
|
4430
4430
|
throw new Error(`Missing required param "${d}"`);
|
|
@@ -4476,7 +4476,7 @@ const Ll = {
|
|
|
4476
4476
|
type: 0,
|
|
4477
4477
|
value: ""
|
|
4478
4478
|
}, Cl = /[a-zA-Z0-9_]/;
|
|
4479
|
-
function
|
|
4479
|
+
function Pl(e) {
|
|
4480
4480
|
if (!e)
|
|
4481
4481
|
return [[]];
|
|
4482
4482
|
if (e === "/")
|
|
@@ -4536,8 +4536,8 @@ function gl(e) {
|
|
|
4536
4536
|
}
|
|
4537
4537
|
return n === 2 && t(`Unfinished custom RegExp for param "${c}"`), T(), i(), s;
|
|
4538
4538
|
}
|
|
4539
|
-
function
|
|
4540
|
-
const r = Ul(
|
|
4539
|
+
function gl(e, t, n) {
|
|
4540
|
+
const r = Ul(Pl(e.path), n), s = ie(r, {
|
|
4541
4541
|
record: e,
|
|
4542
4542
|
parent: t,
|
|
4543
4543
|
// these needs to be populated by the parent
|
|
@@ -4555,13 +4555,13 @@ function Bl(e, t) {
|
|
|
4555
4555
|
function o(a, T, S) {
|
|
4556
4556
|
const A = !S, d = bl(a);
|
|
4557
4557
|
d.aliasOf = S && S.record;
|
|
4558
|
-
const N = zo(t, a),
|
|
4558
|
+
const N = zo(t, a), F = [
|
|
4559
4559
|
d
|
|
4560
4560
|
];
|
|
4561
4561
|
if ("alias" in a) {
|
|
4562
4562
|
const V = typeof a.alias == "string" ? [a.alias] : a.alias;
|
|
4563
4563
|
for (const K of V)
|
|
4564
|
-
|
|
4564
|
+
F.push(ie({}, d, {
|
|
4565
4565
|
// this allows us to hold a copy of the `components` option
|
|
4566
4566
|
// so that async components cache is hold on the original record
|
|
4567
4567
|
components: S ? S.record.components : d.components,
|
|
@@ -4572,19 +4572,19 @@ function Bl(e, t) {
|
|
|
4572
4572
|
// are defined on the same record
|
|
4573
4573
|
}));
|
|
4574
4574
|
}
|
|
4575
|
-
let
|
|
4576
|
-
for (const V of
|
|
4575
|
+
let g, b;
|
|
4576
|
+
for (const V of F) {
|
|
4577
4577
|
const { path: K } = V;
|
|
4578
4578
|
if (T && K[0] !== "/") {
|
|
4579
4579
|
const Z = T.record.path, ce = Z[Z.length - 1] === "/" ? "" : "/";
|
|
4580
4580
|
V.path = T.record.path + (K && ce + K);
|
|
4581
4581
|
}
|
|
4582
|
-
if (
|
|
4582
|
+
if (g = gl(V, T, N), S ? S.alias.push(g) : (b = b || g, b !== g && b.alias.push(g), A && a.name && !jo(g) && i(a.name)), d.children) {
|
|
4583
4583
|
const Z = d.children;
|
|
4584
4584
|
for (let ce = 0; ce < Z.length; ce++)
|
|
4585
|
-
o(Z[ce],
|
|
4585
|
+
o(Z[ce], g, S && S.children[ce]);
|
|
4586
4586
|
}
|
|
4587
|
-
S = S ||
|
|
4587
|
+
S = S || g, (g.record.components && Object.keys(g.record.components).length || g.record.name || g.record.redirect) && u(g);
|
|
4588
4588
|
}
|
|
4589
4589
|
return b ? () => {
|
|
4590
4590
|
i(b);
|
|
@@ -4639,16 +4639,16 @@ function Bl(e, t) {
|
|
|
4639
4639
|
});
|
|
4640
4640
|
N = S.record.name, A = ie({}, T.params, a.params), d = S.stringify(A);
|
|
4641
4641
|
}
|
|
4642
|
-
const
|
|
4643
|
-
let
|
|
4644
|
-
for (;
|
|
4645
|
-
|
|
4642
|
+
const F = [];
|
|
4643
|
+
let g = S;
|
|
4644
|
+
for (; g; )
|
|
4645
|
+
F.unshift(g.record), g = g.parent;
|
|
4646
4646
|
return {
|
|
4647
4647
|
name: N,
|
|
4648
4648
|
path: d,
|
|
4649
4649
|
params: A,
|
|
4650
|
-
matched:
|
|
4651
|
-
meta: Ml(
|
|
4650
|
+
matched: F,
|
|
4651
|
+
meta: Ml(F)
|
|
4652
4652
|
};
|
|
4653
4653
|
}
|
|
4654
4654
|
return e.forEach((a) => o(a)), { addRoute: o, resolve: c, removeRoute: i, getRoutes: E, getRecordMatcher: s };
|
|
@@ -4705,21 +4705,21 @@ function zo(e, t) {
|
|
|
4705
4705
|
function UE(e, t) {
|
|
4706
4706
|
return t.children.some((n) => n === e || UE(e, n));
|
|
4707
4707
|
}
|
|
4708
|
-
const hE = /#/g, Kl = /&/g, yl = /\//g,
|
|
4708
|
+
const hE = /#/g, Kl = /&/g, yl = /\//g, Fl = /=/g, Hl = /\?/g, mE = /\+/g, vl = /%5B/g, wl = /%5D/g, LE = /%5E/g, Yl = /%60/g, CE = /%7B/g, xl = /%7C/g, PE = /%7D/g, kl = /%20/g;
|
|
4709
4709
|
function Vs(e) {
|
|
4710
4710
|
return encodeURI("" + e).replace(xl, "|").replace(vl, "[").replace(wl, "]");
|
|
4711
4711
|
}
|
|
4712
4712
|
function Vl(e) {
|
|
4713
|
-
return Vs(e).replace(CE, "{").replace(
|
|
4713
|
+
return Vs(e).replace(CE, "{").replace(PE, "}").replace(LE, "^");
|
|
4714
4714
|
}
|
|
4715
4715
|
function _s(e) {
|
|
4716
|
-
return Vs(e).replace(mE, "%2B").replace(kl, "+").replace(hE, "%23").replace(Kl, "%26").replace(Yl, "`").replace(CE, "{").replace(
|
|
4716
|
+
return Vs(e).replace(mE, "%2B").replace(kl, "+").replace(hE, "%23").replace(Kl, "%26").replace(Yl, "`").replace(CE, "{").replace(PE, "}").replace(LE, "^");
|
|
4717
4717
|
}
|
|
4718
4718
|
function Wl(e) {
|
|
4719
|
-
return _s(e).replace(
|
|
4719
|
+
return _s(e).replace(Fl, "%3D");
|
|
4720
4720
|
}
|
|
4721
4721
|
function Jl(e) {
|
|
4722
|
-
return Vs(e).replace(hE, "%23").replace(
|
|
4722
|
+
return Vs(e).replace(hE, "%23").replace(Hl, "%3F");
|
|
4723
4723
|
}
|
|
4724
4724
|
function Zl(e) {
|
|
4725
4725
|
return e == null ? "" : Jl(e).replace(yl, "%2F");
|
|
@@ -4768,7 +4768,7 @@ function jl(e) {
|
|
|
4768
4768
|
}
|
|
4769
4769
|
return t;
|
|
4770
4770
|
}
|
|
4771
|
-
const zl = Symbol(""), qo = Symbol(""), Cr = Symbol(""),
|
|
4771
|
+
const zl = Symbol(""), qo = Symbol(""), Cr = Symbol(""), gE = Symbol(""), Ss = Symbol("");
|
|
4772
4772
|
function an() {
|
|
4773
4773
|
let e = [];
|
|
4774
4774
|
function t(r) {
|
|
@@ -4831,7 +4831,7 @@ function $l(e) {
|
|
|
4831
4831
|
return typeof e == "object" || "displayName" in e || "props" in e || "__vccOpts" in e;
|
|
4832
4832
|
}
|
|
4833
4833
|
function Qo(e) {
|
|
4834
|
-
const t = Je(Cr), n = Je(
|
|
4834
|
+
const t = Je(Cr), n = Je(gE), r = ge(() => t.resolve(Ut(e.to))), s = ge(() => {
|
|
4835
4835
|
const { matched: u } = r.value, { length: c } = u, a = u[c - 1], T = n.matched;
|
|
4836
4836
|
if (!a || !T.length)
|
|
4837
4837
|
return -1;
|
|
@@ -4847,7 +4847,7 @@ function Qo(e) {
|
|
|
4847
4847
|
ei(a) === A && // avoid comparing the child with its parent
|
|
4848
4848
|
T[T.length - 1].path !== A ? T.findIndex(qt.bind(null, u[c - 2])) : S
|
|
4849
4849
|
);
|
|
4850
|
-
}), o =
|
|
4850
|
+
}), o = ge(() => s.value > -1 && tT(n.params, r.value.params)), i = ge(() => s.value > -1 && s.value === n.matched.length - 1 && OE(n.params, r.value.params));
|
|
4851
4851
|
function E(u = {}) {
|
|
4852
4852
|
return eT(u) ? t[Ut(e.replace) ? "replace" : "push"](
|
|
4853
4853
|
Ut(e.to)
|
|
@@ -4856,7 +4856,7 @@ function Qo(e) {
|
|
|
4856
4856
|
}
|
|
4857
4857
|
return {
|
|
4858
4858
|
route: r,
|
|
4859
|
-
href:
|
|
4859
|
+
href: ge(() => r.value.href),
|
|
4860
4860
|
isActive: o,
|
|
4861
4861
|
isExactActive: i,
|
|
4862
4862
|
navigate: E
|
|
@@ -4882,7 +4882,7 @@ const ql = /* @__PURE__ */ yn({
|
|
|
4882
4882
|
},
|
|
4883
4883
|
useLink: Qo,
|
|
4884
4884
|
setup(e, { slots: t }) {
|
|
4885
|
-
const n = sn(Qo(e)), { options: r } = Je(Cr), s =
|
|
4885
|
+
const n = sn(Qo(e)), { options: r } = Je(Cr), s = ge(() => ({
|
|
4886
4886
|
[ti(e.activeClass, r.linkActiveClass, "router-link-active")]: n.isActive,
|
|
4887
4887
|
// [getLinkClass(
|
|
4888
4888
|
// props.inactiveClass,
|
|
@@ -4943,15 +4943,15 @@ const ti = (e, t, n) => e ?? t ?? n, nT = /* @__PURE__ */ yn({
|
|
|
4943
4943
|
// https://github.com/vuejs/router/issues/1315
|
|
4944
4944
|
compatConfig: { MODE: 3 },
|
|
4945
4945
|
setup(e, { attrs: t, slots: n }) {
|
|
4946
|
-
const r = Je(Ss), s =
|
|
4946
|
+
const r = Je(Ss), s = ge(() => e.route || r.value), o = Je(qo, 0), i = ge(() => {
|
|
4947
4947
|
let c = Ut(o);
|
|
4948
4948
|
const { matched: a } = s.value;
|
|
4949
4949
|
let T;
|
|
4950
4950
|
for (; (T = a[c]) && !T.components; )
|
|
4951
4951
|
c++;
|
|
4952
4952
|
return c;
|
|
4953
|
-
}), E =
|
|
4954
|
-
Qn(qo,
|
|
4953
|
+
}), E = ge(() => s.value.matched[i.value]);
|
|
4954
|
+
Qn(qo, ge(() => i.value + 1)), Qn(zl, E), Qn(Ss, s);
|
|
4955
4955
|
const u = m();
|
|
4956
4956
|
return Sn(() => [u.value, E.value, e.name], ([c, a, T], [S, A, d]) => {
|
|
4957
4957
|
a && (a.instances[T] = c, A && A !== a && c && c === S && (a.leaveGuards.size || (a.leaveGuards = A.leaveGuards), a.updateGuards.size || (a.updateGuards = A.updateGuards))), c && a && // if there is no instance but to and from are the same this might be
|
|
@@ -4961,16 +4961,16 @@ const ti = (e, t, n) => e ?? t ?? n, nT = /* @__PURE__ */ yn({
|
|
|
4961
4961
|
const c = s.value, a = e.name, T = E.value, S = T && T.components[a];
|
|
4962
4962
|
if (!S)
|
|
4963
4963
|
return ni(n.default, { Component: S, route: c });
|
|
4964
|
-
const A = T.props[a], d = A ? A === !0 ? c.params : typeof A == "function" ? A(c) : A : null,
|
|
4965
|
-
onVnodeUnmounted: (
|
|
4966
|
-
|
|
4964
|
+
const A = T.props[a], d = A ? A === !0 ? c.params : typeof A == "function" ? A(c) : A : null, F = ks(S, ie({}, d, t, {
|
|
4965
|
+
onVnodeUnmounted: (g) => {
|
|
4966
|
+
g.component.isUnmounted && (T.instances[a] = null);
|
|
4967
4967
|
},
|
|
4968
4968
|
ref: u
|
|
4969
4969
|
}));
|
|
4970
4970
|
return (
|
|
4971
4971
|
// pass the vnode to the slot as a prop.
|
|
4972
4972
|
// h and <component :is="..."> both accept vnodes
|
|
4973
|
-
ni(n.default, { Component:
|
|
4973
|
+
ni(n.default, { Component: F, route: c }) || F
|
|
4974
4974
|
);
|
|
4975
4975
|
};
|
|
4976
4976
|
}
|
|
@@ -4991,8 +4991,8 @@ function rT(e) {
|
|
|
4991
4991
|
Wr.bind(null, _r)
|
|
4992
4992
|
);
|
|
4993
4993
|
function A(O, G) {
|
|
4994
|
-
let
|
|
4995
|
-
return pE(O) ? (
|
|
4994
|
+
let P, v;
|
|
4995
|
+
return pE(O) ? (P = t.getRecordMatcher(O), v = G) : v = O, t.addRoute(v, P);
|
|
4996
4996
|
}
|
|
4997
4997
|
function d(O) {
|
|
4998
4998
|
const G = t.getRecordMatcher(O);
|
|
@@ -5001,10 +5001,10 @@ function rT(e) {
|
|
|
5001
5001
|
function N() {
|
|
5002
5002
|
return t.getRoutes().map((O) => O.record);
|
|
5003
5003
|
}
|
|
5004
|
-
function
|
|
5004
|
+
function F(O) {
|
|
5005
5005
|
return !!t.getRecordMatcher(O);
|
|
5006
5006
|
}
|
|
5007
|
-
function
|
|
5007
|
+
function g(O, G) {
|
|
5008
5008
|
if (G = ie({}, G || u.value), typeof O == "string") {
|
|
5009
5009
|
const f = Jr(n, O, G.path), I = t.resolve({ path: f.path }, G), p = s.createHref(f.fullPath);
|
|
5010
5010
|
return ie(f, I, {
|
|
@@ -5014,20 +5014,20 @@ function rT(e) {
|
|
|
5014
5014
|
href: p
|
|
5015
5015
|
});
|
|
5016
5016
|
}
|
|
5017
|
-
let
|
|
5017
|
+
let P;
|
|
5018
5018
|
if ("path" in O)
|
|
5019
|
-
|
|
5019
|
+
P = ie({}, O, {
|
|
5020
5020
|
path: Jr(n, O.path, G.path).path
|
|
5021
5021
|
});
|
|
5022
5022
|
else {
|
|
5023
5023
|
const f = ie({}, O.params);
|
|
5024
5024
|
for (const I in f)
|
|
5025
5025
|
f[I] == null && delete f[I];
|
|
5026
|
-
|
|
5026
|
+
P = ie({}, O, {
|
|
5027
5027
|
params: T(f)
|
|
5028
5028
|
}), G.params = T(G.params);
|
|
5029
5029
|
}
|
|
5030
|
-
const v = t.resolve(
|
|
5030
|
+
const v = t.resolve(P, G), ne = O.hash || "";
|
|
5031
5031
|
v.params = a(S(v.params));
|
|
5032
5032
|
const l = il(r, ie({}, O, {
|
|
5033
5033
|
hash: Vl(ne),
|
|
@@ -5070,8 +5070,8 @@ function rT(e) {
|
|
|
5070
5070
|
function ce(O) {
|
|
5071
5071
|
const G = O.matched[O.matched.length - 1];
|
|
5072
5072
|
if (G && G.redirect) {
|
|
5073
|
-
const { redirect:
|
|
5074
|
-
let v = typeof
|
|
5073
|
+
const { redirect: P } = G;
|
|
5074
|
+
let v = typeof P == "function" ? P(O) : P;
|
|
5075
5075
|
return typeof v == "string" && (v = v.includes("?") || v.includes("#") ? v = b(v) : (
|
|
5076
5076
|
// force empty params
|
|
5077
5077
|
{ path: v }
|
|
@@ -5084,7 +5084,7 @@ function rT(e) {
|
|
|
5084
5084
|
}
|
|
5085
5085
|
}
|
|
5086
5086
|
function ae(O, G) {
|
|
5087
|
-
const
|
|
5087
|
+
const P = c = g(O), v = u.value, ne = O.state, l = O.force, _ = O.replace === !0, f = ce(P);
|
|
5088
5088
|
if (f)
|
|
5089
5089
|
return ae(
|
|
5090
5090
|
ie(b(f), {
|
|
@@ -5093,12 +5093,12 @@ function rT(e) {
|
|
|
5093
5093
|
replace: _
|
|
5094
5094
|
}),
|
|
5095
5095
|
// keep original redirectedFrom if it exists
|
|
5096
|
-
G ||
|
|
5096
|
+
G || P
|
|
5097
5097
|
);
|
|
5098
|
-
const I =
|
|
5098
|
+
const I = P;
|
|
5099
5099
|
I.redirectedFrom = G;
|
|
5100
5100
|
let p;
|
|
5101
|
-
return !l && El(r, v,
|
|
5101
|
+
return !l && El(r, v, P) && (p = Qt(16, { to: I, from: v }), he(
|
|
5102
5102
|
v,
|
|
5103
5103
|
v,
|
|
5104
5104
|
// this is a push, the only way for it to be triggered from a
|
|
@@ -5142,81 +5142,81 @@ function rT(e) {
|
|
|
5142
5142
|
});
|
|
5143
5143
|
}
|
|
5144
5144
|
function y(O, G) {
|
|
5145
|
-
const
|
|
5146
|
-
return
|
|
5145
|
+
const P = V(O, G);
|
|
5146
|
+
return P ? Promise.reject(P) : Promise.resolve();
|
|
5147
5147
|
}
|
|
5148
5148
|
function Y(O) {
|
|
5149
5149
|
const G = ut.values().next().value;
|
|
5150
5150
|
return G && typeof G.runWithContext == "function" ? G.runWithContext(O) : O();
|
|
5151
5151
|
}
|
|
5152
5152
|
function J(O, G) {
|
|
5153
|
-
let
|
|
5153
|
+
let P;
|
|
5154
5154
|
const [v, ne, l] = sT(O, G);
|
|
5155
|
-
|
|
5155
|
+
P = Zr(v.reverse(), "beforeRouteLeave", O, G);
|
|
5156
5156
|
for (const f of v)
|
|
5157
5157
|
f.leaveGuards.forEach((I) => {
|
|
5158
|
-
|
|
5158
|
+
P.push(Rt(I, O, G));
|
|
5159
5159
|
});
|
|
5160
5160
|
const _ = y.bind(null, O, G);
|
|
5161
|
-
return
|
|
5162
|
-
|
|
5161
|
+
return P.push(_), Re(P).then(() => {
|
|
5162
|
+
P = [];
|
|
5163
5163
|
for (const f of o.list())
|
|
5164
|
-
|
|
5165
|
-
return
|
|
5164
|
+
P.push(Rt(f, O, G));
|
|
5165
|
+
return P.push(_), Re(P);
|
|
5166
5166
|
}).then(() => {
|
|
5167
|
-
|
|
5167
|
+
P = Zr(ne, "beforeRouteUpdate", O, G);
|
|
5168
5168
|
for (const f of ne)
|
|
5169
5169
|
f.updateGuards.forEach((I) => {
|
|
5170
|
-
|
|
5170
|
+
P.push(Rt(I, O, G));
|
|
5171
5171
|
});
|
|
5172
|
-
return
|
|
5172
|
+
return P.push(_), Re(P);
|
|
5173
5173
|
}).then(() => {
|
|
5174
|
-
|
|
5174
|
+
P = [];
|
|
5175
5175
|
for (const f of O.matched)
|
|
5176
5176
|
if (f.beforeEnter && !G.matched.includes(f))
|
|
5177
5177
|
if (Ze(f.beforeEnter))
|
|
5178
5178
|
for (const I of f.beforeEnter)
|
|
5179
|
-
|
|
5179
|
+
P.push(Rt(I, O, G));
|
|
5180
5180
|
else
|
|
5181
|
-
|
|
5182
|
-
return
|
|
5183
|
-
}).then(() => (O.matched.forEach((f) => f.enterCallbacks = {}),
|
|
5184
|
-
|
|
5181
|
+
P.push(Rt(f.beforeEnter, O, G));
|
|
5182
|
+
return P.push(_), Re(P);
|
|
5183
|
+
}).then(() => (O.matched.forEach((f) => f.enterCallbacks = {}), P = Zr(l, "beforeRouteEnter", O, G), P.push(_), Re(P))).then(() => {
|
|
5184
|
+
P = [];
|
|
5185
5185
|
for (const f of i.list())
|
|
5186
|
-
|
|
5187
|
-
return
|
|
5186
|
+
P.push(Rt(f, O, G));
|
|
5187
|
+
return P.push(_), Re(P);
|
|
5188
5188
|
}).catch((f) => rt(
|
|
5189
5189
|
f,
|
|
5190
5190
|
8
|
|
5191
5191
|
/* ErrorTypes.NAVIGATION_CANCELLED */
|
|
5192
5192
|
) ? f : Promise.reject(f));
|
|
5193
5193
|
}
|
|
5194
|
-
function re(O, G,
|
|
5194
|
+
function re(O, G, P) {
|
|
5195
5195
|
for (const v of E.list())
|
|
5196
|
-
Y(() => v(O, G,
|
|
5196
|
+
Y(() => v(O, G, P));
|
|
5197
5197
|
}
|
|
5198
|
-
function M(O, G,
|
|
5198
|
+
function M(O, G, P, v, ne) {
|
|
5199
5199
|
const l = V(O, G);
|
|
5200
5200
|
if (l)
|
|
5201
5201
|
return l;
|
|
5202
5202
|
const _ = G === St, f = kt ? history.state : {};
|
|
5203
|
-
|
|
5203
|
+
P && (v || _ ? s.replace(O.fullPath, ie({
|
|
5204
5204
|
scroll: _ && f && f.scroll
|
|
5205
|
-
}, ne)) : s.push(O.fullPath, ne)), u.value = O, he(O, G,
|
|
5205
|
+
}, ne)) : s.push(O.fullPath, ne)), u.value = O, he(O, G, P, _), be();
|
|
5206
5206
|
}
|
|
5207
5207
|
let $;
|
|
5208
5208
|
function Te() {
|
|
5209
|
-
$ || ($ = s.listen((O, G,
|
|
5209
|
+
$ || ($ = s.listen((O, G, P) => {
|
|
5210
5210
|
if (!wt.listening)
|
|
5211
5211
|
return;
|
|
5212
|
-
const v =
|
|
5212
|
+
const v = g(O), ne = ce(v);
|
|
5213
5213
|
if (ne) {
|
|
5214
5214
|
ae(ie(ne, { replace: !0 }), v).catch(In);
|
|
5215
5215
|
return;
|
|
5216
5216
|
}
|
|
5217
5217
|
c = v;
|
|
5218
5218
|
const l = u.value;
|
|
5219
|
-
kt && fl(ko(l.fullPath,
|
|
5219
|
+
kt && fl(ko(l.fullPath, P.delta), Lr()), J(v, l).catch((_) => rt(
|
|
5220
5220
|
_,
|
|
5221
5221
|
12
|
|
5222
5222
|
/* ErrorTypes.NAVIGATION_CANCELLED */
|
|
@@ -5233,20 +5233,20 @@ function rT(e) {
|
|
|
5233
5233
|
f,
|
|
5234
5234
|
20
|
|
5235
5235
|
/* ErrorTypes.NAVIGATION_DUPLICATED */
|
|
5236
|
-
) && !
|
|
5237
|
-
}).catch(In), Promise.reject()) : (
|
|
5236
|
+
) && !P.delta && P.type === Bn.pop && s.go(-1, !1);
|
|
5237
|
+
}).catch(In), Promise.reject()) : (P.delta && s.go(-P.delta, !1), te(_, v, l))).then((_) => {
|
|
5238
5238
|
_ = _ || M(
|
|
5239
5239
|
// after navigation, all matched components are resolved
|
|
5240
5240
|
v,
|
|
5241
5241
|
l,
|
|
5242
5242
|
!1
|
|
5243
|
-
), _ && (
|
|
5243
|
+
), _ && (P.delta && // a new navigation has been triggered, so we do not want to revert, that will change the current history
|
|
5244
5244
|
// entry while a different route is displayed
|
|
5245
5245
|
!rt(
|
|
5246
5246
|
_,
|
|
5247
5247
|
8
|
|
5248
5248
|
/* ErrorTypes.NAVIGATION_CANCELLED */
|
|
5249
|
-
) ? s.go(-
|
|
5249
|
+
) ? s.go(-P.delta, !1) : P.type === Bn.pop && rt(
|
|
5250
5250
|
_,
|
|
5251
5251
|
20
|
|
5252
5252
|
/* ErrorTypes.NAVIGATION_DUPLICATED */
|
|
@@ -5255,10 +5255,10 @@ function rT(e) {
|
|
|
5255
5255
|
}));
|
|
5256
5256
|
}
|
|
5257
5257
|
let Ie = an(), z = an(), oe;
|
|
5258
|
-
function te(O, G,
|
|
5258
|
+
function te(O, G, P) {
|
|
5259
5259
|
be(O);
|
|
5260
5260
|
const v = z.list();
|
|
5261
|
-
return v.length ? v.forEach((ne) => ne(O, G,
|
|
5261
|
+
return v.length ? v.forEach((ne) => ne(O, G, P)) : console.error(O), Promise.reject(O);
|
|
5262
5262
|
}
|
|
5263
5263
|
function xe() {
|
|
5264
5264
|
return oe && u.value !== St ? Promise.resolve() : new Promise((O, G) => {
|
|
@@ -5266,13 +5266,13 @@ function rT(e) {
|
|
|
5266
5266
|
});
|
|
5267
5267
|
}
|
|
5268
5268
|
function be(O) {
|
|
5269
|
-
return oe || (oe = !O, Te(), Ie.list().forEach(([G,
|
|
5269
|
+
return oe || (oe = !O, Te(), Ie.list().forEach(([G, P]) => O ? P(O) : G()), Ie.reset()), O;
|
|
5270
5270
|
}
|
|
5271
|
-
function he(O, G,
|
|
5271
|
+
function he(O, G, P, v) {
|
|
5272
5272
|
const { scrollBehavior: ne } = e;
|
|
5273
5273
|
if (!kt || !ne)
|
|
5274
5274
|
return Promise.resolve();
|
|
5275
|
-
const l = !
|
|
5275
|
+
const l = !P && Al(ko(O.fullPath, 0)) || (v || !P) && history.state && history.state.scroll || null;
|
|
5276
5276
|
return ys().then(() => ne(O, G, l)).then((_) => _ && Sl(_)).catch((_) => te(_, O, G));
|
|
5277
5277
|
}
|
|
5278
5278
|
const Ne = (O) => s.go(O);
|
|
@@ -5282,9 +5282,9 @@ function rT(e) {
|
|
|
5282
5282
|
listening: !0,
|
|
5283
5283
|
addRoute: A,
|
|
5284
5284
|
removeRoute: d,
|
|
5285
|
-
hasRoute:
|
|
5285
|
+
hasRoute: F,
|
|
5286
5286
|
getRoutes: N,
|
|
5287
|
-
resolve:
|
|
5287
|
+
resolve: g,
|
|
5288
5288
|
options: e,
|
|
5289
5289
|
push: K,
|
|
5290
5290
|
replace: Z,
|
|
@@ -5305,10 +5305,10 @@ function rT(e) {
|
|
|
5305
5305
|
// multiple times when the router is used in multiple apps
|
|
5306
5306
|
!et && u.value === St && (et = !0, K(s.location).catch((ne) => {
|
|
5307
5307
|
}));
|
|
5308
|
-
const
|
|
5308
|
+
const P = {};
|
|
5309
5309
|
for (const ne in St)
|
|
5310
|
-
|
|
5311
|
-
O.provide(Cr, G), O.provide(
|
|
5310
|
+
P[ne] = ge(() => u.value[ne]);
|
|
5311
|
+
O.provide(Cr, G), O.provide(gE, sn(P)), O.provide(Ss, u);
|
|
5312
5312
|
const v = O.unmount;
|
|
5313
5313
|
ut.add(O), O.unmount = function() {
|
|
5314
5314
|
ut.delete(O), ut.size < 1 && (c = St, $ && $(), $ = null, u.value = St, et = !1, oe = !1), v();
|
|
@@ -5316,7 +5316,7 @@ function rT(e) {
|
|
|
5316
5316
|
}
|
|
5317
5317
|
};
|
|
5318
5318
|
function Re(O) {
|
|
5319
|
-
return O.reduce((G,
|
|
5319
|
+
return O.reduce((G, P) => G.then(() => Y(P)), Promise.resolve());
|
|
5320
5320
|
}
|
|
5321
5321
|
return wt;
|
|
5322
5322
|
}
|
|
@@ -5361,7 +5361,7 @@ var cT = !1;
|
|
|
5361
5361
|
* @license MIT
|
|
5362
5362
|
*/
|
|
5363
5363
|
let BE;
|
|
5364
|
-
const
|
|
5364
|
+
const Pr = (e) => BE = e, bE = (
|
|
5365
5365
|
/* istanbul ignore next */
|
|
5366
5366
|
Symbol()
|
|
5367
5367
|
);
|
|
@@ -5377,7 +5377,7 @@ function aT() {
|
|
|
5377
5377
|
let n = [], r = [];
|
|
5378
5378
|
const s = Ir({
|
|
5379
5379
|
install(o) {
|
|
5380
|
-
|
|
5380
|
+
Pr(s), s._a = o, o.provide(bE, s), o.config.globalProperties.$pinia = s, r.forEach((i) => n.push(i)), r = [];
|
|
5381
5381
|
},
|
|
5382
5382
|
use(o) {
|
|
5383
5383
|
return !this._a && !cT ? r.push(o) : n.push(o), this;
|
|
@@ -5435,8 +5435,8 @@ function fT(e, t, n, r) {
|
|
|
5435
5435
|
function c() {
|
|
5436
5436
|
E || (n.state.value[e] = s ? s() : {});
|
|
5437
5437
|
const a = _c(n.state.value[e]);
|
|
5438
|
-
return At(a, o, Object.keys(i || {}).reduce((T, S) => (T[S] = Ir(
|
|
5439
|
-
|
|
5438
|
+
return At(a, o, Object.keys(i || {}).reduce((T, S) => (T[S] = Ir(ge(() => {
|
|
5439
|
+
Pr(n);
|
|
5440
5440
|
const A = n._s.get(e);
|
|
5441
5441
|
return i[S].call(A, A);
|
|
5442
5442
|
})), T), {}));
|
|
@@ -5453,7 +5453,7 @@ function ME(e, t, n = {}, r, s, o) {
|
|
|
5453
5453
|
const d = r.state.value[e];
|
|
5454
5454
|
!o && !d && (r.state.value[e] = {}), m({});
|
|
5455
5455
|
let N;
|
|
5456
|
-
function
|
|
5456
|
+
function F(y) {
|
|
5457
5457
|
let Y;
|
|
5458
5458
|
c = a = !1, typeof y == "function" ? (y(r.state.value[e]), Y = {
|
|
5459
5459
|
type: On.patchFunction,
|
|
@@ -5470,7 +5470,7 @@ function ME(e, t, n = {}, r, s, o) {
|
|
|
5470
5470
|
N === J && (c = !0);
|
|
5471
5471
|
}), a = !0, xt(T, Y, r.state.value[e]);
|
|
5472
5472
|
}
|
|
5473
|
-
const
|
|
5473
|
+
const g = o ? function() {
|
|
5474
5474
|
const { state: Y } = n, J = Y ? Y() : {};
|
|
5475
5475
|
this.$patch((re) => {
|
|
5476
5476
|
At(re, J);
|
|
@@ -5484,7 +5484,7 @@ function ME(e, t, n = {}, r, s, o) {
|
|
|
5484
5484
|
}
|
|
5485
5485
|
function V(y, Y) {
|
|
5486
5486
|
return function() {
|
|
5487
|
-
|
|
5487
|
+
Pr(r);
|
|
5488
5488
|
const J = Array.from(arguments), re = [], M = [];
|
|
5489
5489
|
function $(z) {
|
|
5490
5490
|
re.push(z);
|
|
@@ -5513,8 +5513,8 @@ function ME(e, t, n = {}, r, s, o) {
|
|
|
5513
5513
|
// _s: scope,
|
|
5514
5514
|
$id: e,
|
|
5515
5515
|
$onAction: ri.bind(null, S),
|
|
5516
|
-
$patch:
|
|
5517
|
-
$reset:
|
|
5516
|
+
$patch: F,
|
|
5517
|
+
$reset: g,
|
|
5518
5518
|
$subscribe(y, Y = {}) {
|
|
5519
5519
|
const J = ri(T, y, Y.detached, () => re()), re = i.run(() => Sn(() => r.state.value[e], (M) => {
|
|
5520
5520
|
(Y.flush === "sync" ? a : c) && y({
|
|
@@ -5541,7 +5541,7 @@ function ME(e, t, n = {}, r, s, o) {
|
|
|
5541
5541
|
return At(Z, ae), At(q(Z), ae), Object.defineProperty(Z, "$state", {
|
|
5542
5542
|
get: () => r.state.value[e],
|
|
5543
5543
|
set: (y) => {
|
|
5544
|
-
|
|
5544
|
+
F((Y) => {
|
|
5545
5545
|
At(Y, y);
|
|
5546
5546
|
});
|
|
5547
5547
|
}
|
|
@@ -5562,7 +5562,7 @@ function Js(e, t, n) {
|
|
|
5562
5562
|
const c = ea();
|
|
5563
5563
|
return E = // in test mode, ignore the argument provided as we can always retrieve a
|
|
5564
5564
|
// pinia instance with getActivePinia()
|
|
5565
|
-
E || (c ? Je(bE, null) : null), E &&
|
|
5565
|
+
E || (c ? Je(bE, null) : null), E && Pr(E), E = BE, E._s.has(r) || (o ? ME(r, t, s, E) : fT(r, s, E)), E._s.get(r);
|
|
5566
5566
|
}
|
|
5567
5567
|
return i.$id = r, i;
|
|
5568
5568
|
}
|
|
@@ -5584,10 +5584,10 @@ function KE(e, t) {
|
|
|
5584
5584
|
return e.apply(t, arguments);
|
|
5585
5585
|
};
|
|
5586
5586
|
}
|
|
5587
|
-
const { toString: IT } = Object.prototype, { getPrototypeOf: Zs } = Object,
|
|
5587
|
+
const { toString: IT } = Object.prototype, { getPrototypeOf: Zs } = Object, gr = ((e) => (t) => {
|
|
5588
5588
|
const n = IT.call(t);
|
|
5589
5589
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
5590
|
-
})(/* @__PURE__ */ Object.create(null)), Qe = (e) => (e = e.toLowerCase(), (t) =>
|
|
5590
|
+
})(/* @__PURE__ */ Object.create(null)), Qe = (e) => (e = e.toLowerCase(), (t) => gr(t) === e), Br = (e) => (t) => typeof t === e, { isArray: on } = Array, bn = Br("undefined");
|
|
5591
5591
|
function RT(e) {
|
|
5592
5592
|
return e !== null && !bn(e) && e.constructor !== null && !bn(e.constructor) && Ye(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
5593
5593
|
}
|
|
@@ -5596,17 +5596,17 @@ function OT(e) {
|
|
|
5596
5596
|
let t;
|
|
5597
5597
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && yE(e.buffer), t;
|
|
5598
5598
|
}
|
|
5599
|
-
const NT = Br("string"), Ye = Br("function"),
|
|
5600
|
-
if (
|
|
5599
|
+
const NT = Br("string"), Ye = Br("function"), FE = Br("number"), br = (e) => e !== null && typeof e == "object", pT = (e) => e === !0 || e === !1, nr = (e) => {
|
|
5600
|
+
if (gr(e) !== "object")
|
|
5601
5601
|
return !1;
|
|
5602
5602
|
const t = Zs(e);
|
|
5603
5603
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
5604
5604
|
}, DT = Qe("Date"), UT = Qe("File"), hT = Qe("Blob"), mT = Qe("FileList"), LT = (e) => br(e) && Ye(e.pipe), CT = (e) => {
|
|
5605
5605
|
let t;
|
|
5606
|
-
return e && (typeof FormData == "function" && e instanceof FormData || Ye(e.append) && ((t =
|
|
5606
|
+
return e && (typeof FormData == "function" && e instanceof FormData || Ye(e.append) && ((t = gr(e)) === "formdata" || // detect form-data instance
|
|
5607
5607
|
t === "object" && Ye(e.toString) && e.toString() === "[object FormData]"));
|
|
5608
|
-
},
|
|
5609
|
-
function
|
|
5608
|
+
}, PT = Qe("URLSearchParams"), gT = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
5609
|
+
function Fn(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
5610
5610
|
if (e === null || typeof e > "u")
|
|
5611
5611
|
return;
|
|
5612
5612
|
let r, s;
|
|
@@ -5620,7 +5620,7 @@ function Hn(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
|
5620
5620
|
E = o[r], t.call(null, e[E], E, e);
|
|
5621
5621
|
}
|
|
5622
5622
|
}
|
|
5623
|
-
function
|
|
5623
|
+
function HE(e, t) {
|
|
5624
5624
|
t = t.toLowerCase();
|
|
5625
5625
|
const n = Object.keys(e);
|
|
5626
5626
|
let r = n.length, s;
|
|
@@ -5632,14 +5632,14 @@ function FE(e, t) {
|
|
|
5632
5632
|
const vE = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), wE = (e) => !bn(e) && e !== vE;
|
|
5633
5633
|
function ds() {
|
|
5634
5634
|
const { caseless: e } = wE(this) && this || {}, t = {}, n = (r, s) => {
|
|
5635
|
-
const o = e &&
|
|
5635
|
+
const o = e && HE(t, s) || s;
|
|
5636
5636
|
nr(t[o]) && nr(r) ? t[o] = ds(t[o], r) : nr(r) ? t[o] = ds({}, r) : on(r) ? t[o] = r.slice() : t[o] = r;
|
|
5637
5637
|
};
|
|
5638
5638
|
for (let r = 0, s = arguments.length; r < s; r++)
|
|
5639
|
-
arguments[r] &&
|
|
5639
|
+
arguments[r] && Fn(arguments[r], n);
|
|
5640
5640
|
return t;
|
|
5641
5641
|
}
|
|
5642
|
-
const BT = (e, t, n, { allOwnKeys: r } = {}) => (
|
|
5642
|
+
const BT = (e, t, n, { allOwnKeys: r } = {}) => (Fn(t, (s, o) => {
|
|
5643
5643
|
n && Ye(s) ? e[o] = KE(s, n) : e[o] = s;
|
|
5644
5644
|
}, { allOwnKeys: r }), e), bT = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), GT = (e, t, n, r) => {
|
|
5645
5645
|
e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
@@ -5666,13 +5666,13 @@ const BT = (e, t, n, { allOwnKeys: r } = {}) => (Hn(t, (s, o) => {
|
|
|
5666
5666
|
if (on(e))
|
|
5667
5667
|
return e;
|
|
5668
5668
|
let t = e.length;
|
|
5669
|
-
if (!
|
|
5669
|
+
if (!FE(t))
|
|
5670
5670
|
return null;
|
|
5671
5671
|
const n = new Array(t);
|
|
5672
5672
|
for (; t-- > 0; )
|
|
5673
5673
|
n[t] = e[t];
|
|
5674
5674
|
return n;
|
|
5675
|
-
},
|
|
5675
|
+
}, FT = ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && Zs(Uint8Array)), HT = (e, t) => {
|
|
5676
5676
|
const r = (e && e[Symbol.iterator]).call(e);
|
|
5677
5677
|
let s;
|
|
5678
5678
|
for (; (s = r.next()) && !s.done; ) {
|
|
@@ -5692,7 +5692,7 @@ const BT = (e, t, n, { allOwnKeys: r } = {}) => (Hn(t, (s, o) => {
|
|
|
5692
5692
|
}
|
|
5693
5693
|
), si = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), xT = Qe("RegExp"), YE = (e, t) => {
|
|
5694
5694
|
const n = Object.getOwnPropertyDescriptors(e), r = {};
|
|
5695
|
-
|
|
5695
|
+
Fn(n, (s, o) => {
|
|
5696
5696
|
t(s, o, e) !== !1 && (r[o] = s);
|
|
5697
5697
|
}), Object.defineProperties(e, r);
|
|
5698
5698
|
}, kT = (e) => {
|
|
@@ -5740,7 +5740,7 @@ const jT = (e) => {
|
|
|
5740
5740
|
if (!("toJSON" in r)) {
|
|
5741
5741
|
t[s] = r;
|
|
5742
5742
|
const o = on(r) ? [] : {};
|
|
5743
|
-
return
|
|
5743
|
+
return Fn(r, (i, E) => {
|
|
5744
5744
|
const u = n(i, s + 1);
|
|
5745
5745
|
!bn(u) && (o[E] = u);
|
|
5746
5746
|
}), t[s] = void 0, o;
|
|
@@ -5756,7 +5756,7 @@ const jT = (e) => {
|
|
|
5756
5756
|
isFormData: CT,
|
|
5757
5757
|
isArrayBufferView: OT,
|
|
5758
5758
|
isString: NT,
|
|
5759
|
-
isNumber:
|
|
5759
|
+
isNumber: FE,
|
|
5760
5760
|
isBoolean: pT,
|
|
5761
5761
|
isObject: br,
|
|
5762
5762
|
isPlainObject: nr,
|
|
@@ -5767,21 +5767,21 @@ const jT = (e) => {
|
|
|
5767
5767
|
isRegExp: xT,
|
|
5768
5768
|
isFunction: Ye,
|
|
5769
5769
|
isStream: LT,
|
|
5770
|
-
isURLSearchParams:
|
|
5771
|
-
isTypedArray:
|
|
5770
|
+
isURLSearchParams: PT,
|
|
5771
|
+
isTypedArray: FT,
|
|
5772
5772
|
isFileList: mT,
|
|
5773
|
-
forEach:
|
|
5773
|
+
forEach: Fn,
|
|
5774
5774
|
merge: ds,
|
|
5775
5775
|
extend: BT,
|
|
5776
|
-
trim:
|
|
5776
|
+
trim: gT,
|
|
5777
5777
|
stripBOM: bT,
|
|
5778
5778
|
inherits: GT,
|
|
5779
5779
|
toFlatObject: MT,
|
|
5780
|
-
kindOf:
|
|
5780
|
+
kindOf: gr,
|
|
5781
5781
|
kindOfTest: Qe,
|
|
5782
5782
|
endsWith: KT,
|
|
5783
5783
|
toArray: yT,
|
|
5784
|
-
forEachEntry:
|
|
5784
|
+
forEachEntry: HT,
|
|
5785
5785
|
matchAll: vT,
|
|
5786
5786
|
isHTMLForm: wT,
|
|
5787
5787
|
hasOwnProperty: si,
|
|
@@ -5793,7 +5793,7 @@ const jT = (e) => {
|
|
|
5793
5793
|
toCamelCase: YT,
|
|
5794
5794
|
noop: WT,
|
|
5795
5795
|
toFiniteNumber: JT,
|
|
5796
|
-
findKey:
|
|
5796
|
+
findKey: HE,
|
|
5797
5797
|
global: vE,
|
|
5798
5798
|
isContextDefined: wE,
|
|
5799
5799
|
ALPHABET: xE,
|
|
@@ -5878,8 +5878,8 @@ function Gr(e, t, n) {
|
|
|
5878
5878
|
metaTokens: !0,
|
|
5879
5879
|
dots: !1,
|
|
5880
5880
|
indexes: !1
|
|
5881
|
-
}, !1, function(N,
|
|
5882
|
-
return !R.isUndefined(
|
|
5881
|
+
}, !1, function(N, F) {
|
|
5882
|
+
return !R.isUndefined(F[N]);
|
|
5883
5883
|
});
|
|
5884
5884
|
const r = n.metaTokens, s = n.visitor || a, o = n.dots, i = n.indexes, u = (n.Blob || typeof Blob < "u" && Blob) && R.isSpecCompliantForm(t);
|
|
5885
5885
|
if (!R.isFunction(s))
|
|
@@ -5893,13 +5893,13 @@ function Gr(e, t, n) {
|
|
|
5893
5893
|
throw new ee("Blob is not supported. Use a Buffer instead.");
|
|
5894
5894
|
return R.isArrayBuffer(d) || R.isTypedArray(d) ? u && typeof Blob == "function" ? new Blob([d]) : Buffer.from(d) : d;
|
|
5895
5895
|
}
|
|
5896
|
-
function a(d, N,
|
|
5897
|
-
let
|
|
5898
|
-
if (d && !
|
|
5896
|
+
function a(d, N, F) {
|
|
5897
|
+
let g = d;
|
|
5898
|
+
if (d && !F && typeof d == "object") {
|
|
5899
5899
|
if (R.endsWith(N, "{}"))
|
|
5900
5900
|
N = r ? N : N.slice(0, -2), d = JSON.stringify(d);
|
|
5901
|
-
else if (R.isArray(d) && QT(d) || (R.isFileList(d) || R.endsWith(N, "[]")) && (
|
|
5902
|
-
return N = WE(N),
|
|
5901
|
+
else if (R.isArray(d) && QT(d) || (R.isFileList(d) || R.endsWith(N, "[]")) && (g = R.toArray(d)))
|
|
5902
|
+
return N = WE(N), g.forEach(function(V, K) {
|
|
5903
5903
|
!(R.isUndefined(V) || V === null) && t.append(
|
|
5904
5904
|
// eslint-disable-next-line no-nested-ternary
|
|
5905
5905
|
i === !0 ? ii([N], K, o) : i === null ? N : N + "[]",
|
|
@@ -5907,7 +5907,7 @@ function Gr(e, t, n) {
|
|
|
5907
5907
|
);
|
|
5908
5908
|
}), !1;
|
|
5909
5909
|
}
|
|
5910
|
-
return Is(d) ? !0 : (t.append(ii(
|
|
5910
|
+
return Is(d) ? !0 : (t.append(ii(F, N, o), c(d)), !1);
|
|
5911
5911
|
}
|
|
5912
5912
|
const T = [], S = Object.assign(e_, {
|
|
5913
5913
|
defaultVisitor: a,
|
|
@@ -5918,14 +5918,14 @@ function Gr(e, t, n) {
|
|
|
5918
5918
|
if (!R.isUndefined(d)) {
|
|
5919
5919
|
if (T.indexOf(d) !== -1)
|
|
5920
5920
|
throw Error("Circular reference detected in " + N.join("."));
|
|
5921
|
-
T.push(d), R.forEach(d, function(
|
|
5922
|
-
(!(R.isUndefined(
|
|
5921
|
+
T.push(d), R.forEach(d, function(g, b) {
|
|
5922
|
+
(!(R.isUndefined(g) || g === null) && s.call(
|
|
5923
5923
|
t,
|
|
5924
|
-
|
|
5924
|
+
g,
|
|
5925
5925
|
R.isString(b) ? b.trim() : b,
|
|
5926
5926
|
N,
|
|
5927
5927
|
S
|
|
5928
|
-
)) === !0 && A(
|
|
5928
|
+
)) === !0 && A(g, N ? N.concat(b) : [b]);
|
|
5929
5929
|
}), T.pop();
|
|
5930
5930
|
}
|
|
5931
5931
|
}
|
|
@@ -6351,10 +6351,10 @@ function zr(e, t) {
|
|
|
6351
6351
|
function zE(e) {
|
|
6352
6352
|
return !!(e && e.__CANCEL__);
|
|
6353
6353
|
}
|
|
6354
|
-
function
|
|
6354
|
+
function Hn(e, t, n) {
|
|
6355
6355
|
ee.call(this, e ?? "canceled", ee.ERR_CANCELED, t, n), this.name = "CanceledError";
|
|
6356
6356
|
}
|
|
6357
|
-
R.inherits(
|
|
6357
|
+
R.inherits(Hn, ee, {
|
|
6358
6358
|
__CANCEL__: !0
|
|
6359
6359
|
});
|
|
6360
6360
|
function R_(e, t, n) {
|
|
@@ -6506,10 +6506,10 @@ const m_ = typeof XMLHttpRequest < "u", L_ = m_ && function(e) {
|
|
|
6506
6506
|
config: e,
|
|
6507
6507
|
request: c
|
|
6508
6508
|
};
|
|
6509
|
-
R_(function(
|
|
6510
|
-
n(
|
|
6511
|
-
}, function(
|
|
6512
|
-
r(
|
|
6509
|
+
R_(function(g) {
|
|
6510
|
+
n(g), u();
|
|
6511
|
+
}, function(g) {
|
|
6512
|
+
r(g), u();
|
|
6513
6513
|
}, N), c = null;
|
|
6514
6514
|
}
|
|
6515
6515
|
if ("onloadend" in c ? c.onloadend = T : c.onreadystatechange = function() {
|
|
@@ -6534,7 +6534,7 @@ const m_ = typeof XMLHttpRequest < "u", L_ = m_ && function(e) {
|
|
|
6534
6534
|
s === void 0 && o.setContentType(null), "setRequestHeader" in c && R.forEach(o.toJSON(), function(d, N) {
|
|
6535
6535
|
c.setRequestHeader(N, d);
|
|
6536
6536
|
}), R.isUndefined(e.withCredentials) || (c.withCredentials = !!e.withCredentials), i && i !== "json" && (c.responseType = e.responseType), typeof e.onDownloadProgress == "function" && c.addEventListener("progress", ai(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && c.upload && c.upload.addEventListener("progress", ai(e.onUploadProgress)), (e.cancelToken || e.signal) && (E = (A) => {
|
|
6537
|
-
c && (r(!A || A.type ? new
|
|
6537
|
+
c && (r(!A || A.type ? new Hn(null, e, c) : A), c.abort(), c = null);
|
|
6538
6538
|
}, e.cancelToken && e.cancelToken.subscribe(E), e.signal && (e.signal.aborted ? E() : e.signal.addEventListener("abort", E)));
|
|
6539
6539
|
const S = U_(a);
|
|
6540
6540
|
if (S && qe.protocols.indexOf(S) === -1) {
|
|
@@ -6578,7 +6578,7 @@ const C_ = {
|
|
|
6578
6578
|
};
|
|
6579
6579
|
function $r(e) {
|
|
6580
6580
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
6581
|
-
throw new
|
|
6581
|
+
throw new Hn(null, e);
|
|
6582
6582
|
}
|
|
6583
6583
|
function li(e) {
|
|
6584
6584
|
return $r(e), e.headers = ot.from(e.headers), e.data = zr.call(
|
|
@@ -6689,7 +6689,7 @@ zs.transitional = function(t, n, r) {
|
|
|
6689
6689
|
)), t ? t(o, i, E) : !0;
|
|
6690
6690
|
};
|
|
6691
6691
|
};
|
|
6692
|
-
function
|
|
6692
|
+
function P_(e, t, n) {
|
|
6693
6693
|
if (typeof e != "object")
|
|
6694
6694
|
throw new ee("options must be an object", ee.ERR_BAD_OPTION_VALUE);
|
|
6695
6695
|
const r = Object.keys(e);
|
|
@@ -6707,7 +6707,7 @@ function g_(e, t, n) {
|
|
|
6707
6707
|
}
|
|
6708
6708
|
}
|
|
6709
6709
|
const Rs = {
|
|
6710
|
-
assertOptions:
|
|
6710
|
+
assertOptions: P_,
|
|
6711
6711
|
validators: zs
|
|
6712
6712
|
}, ft = Rs.validators;
|
|
6713
6713
|
class Sr {
|
|
@@ -6770,8 +6770,8 @@ class Sr {
|
|
|
6770
6770
|
const d = E[T++], N = E[T++];
|
|
6771
6771
|
try {
|
|
6772
6772
|
A = d(A);
|
|
6773
|
-
} catch (
|
|
6774
|
-
N.call(this,
|
|
6773
|
+
} catch (F) {
|
|
6774
|
+
N.call(this, F);
|
|
6775
6775
|
break;
|
|
6776
6776
|
}
|
|
6777
6777
|
}
|
|
@@ -6840,7 +6840,7 @@ class $s {
|
|
|
6840
6840
|
r.unsubscribe(o);
|
|
6841
6841
|
}, i;
|
|
6842
6842
|
}, t(function(o, i, E) {
|
|
6843
|
-
r.reason || (r.reason = new
|
|
6843
|
+
r.reason || (r.reason = new Hn(o, i, E), n(r.reason));
|
|
6844
6844
|
});
|
|
6845
6845
|
}
|
|
6846
6846
|
/**
|
|
@@ -6883,7 +6883,7 @@ class $s {
|
|
|
6883
6883
|
};
|
|
6884
6884
|
}
|
|
6885
6885
|
}
|
|
6886
|
-
const
|
|
6886
|
+
const g_ = $s;
|
|
6887
6887
|
function B_(e) {
|
|
6888
6888
|
return function(n) {
|
|
6889
6889
|
return e.apply(null, n);
|
|
@@ -6969,8 +6969,8 @@ function QE(e) {
|
|
|
6969
6969
|
}
|
|
6970
6970
|
const de = QE(js);
|
|
6971
6971
|
de.Axios = or;
|
|
6972
|
-
de.CanceledError =
|
|
6973
|
-
de.CancelToken =
|
|
6972
|
+
de.CanceledError = Hn;
|
|
6973
|
+
de.CancelToken = g_;
|
|
6974
6974
|
de.isCancel = zE;
|
|
6975
6975
|
de.VERSION = qE;
|
|
6976
6976
|
de.toFormData = Gr;
|
|
@@ -7046,15 +7046,15 @@ const Ai = localStorage.getItem("accessToken"), y_ = async (e = [], t, n) => {
|
|
|
7046
7046
|
},
|
|
7047
7047
|
data: JSON.stringify(e)
|
|
7048
7048
|
})).data);
|
|
7049
|
-
},
|
|
7050
|
-
const e = m([]), t = m([]), n = m(0), r = m(0), s = m([]), o = m(""), i = m(""), E = m(""), u = m(""), c = m(""), a = m(""), T = m(""), S = m(""), A = m(""), d = m("Learner"), N = m(""),
|
|
7049
|
+
}, F_ = Js("global", () => {
|
|
7050
|
+
const e = m([]), t = m([]), n = m(0), r = m(0), s = m([]), o = m(""), i = m(""), E = m(""), u = m(""), c = m(""), a = m(""), T = m(""), S = m(""), A = m(""), d = m("Learner"), N = m(""), F = m(""), g = m([]), b = m([]), V = m([]), K = m([]), Z = m([]), ce = m([]), ae = m([]), y = m([]), Y = m([]), J = m([]), re = m([]), M = m([]), $ = m([]), Te = m(!1), Ie = m([]), z = m(!1), oe = m(!0), te = m(!1), xe = m(""), be = m(!0), he = m(!0), Ne = m(!1), et = m(!1), ut = m(!1), wt = m(""), Re = m(""), O = m(""), G = m(!1), P = m(!1), v = m(!1), ne = m(!1), l = m(""), _ = m(""), f = m(""), I = m(""), p = m(""), U = m(""), B = m(""), L = m(""), C = m(""), h = m(""), x = m(""), H = m(""), k = m(!0), W = m(""), j = m(""), Ee = m(""), se = m(!0), _e = m(!1), Ge = m(!1), ct = m(!1), vn = m(!1), Ct = m(!1), wn = m(!1), me = m(!1), ye = m(!1), Yn = m(!0), eu = m(""), tu = m(!1), nu = m(""), yr = m(0), ru = m(""), su = m(!1), ou = m(""), Qs = m([]), iu = m(!1), Eu = m([]), uu = m(!1), cu = (D) => {
|
|
7051
7051
|
K.value.push({
|
|
7052
7052
|
question: D == null ? void 0 : D.question,
|
|
7053
7053
|
answer: D == null ? void 0 : D.answer
|
|
7054
7054
|
});
|
|
7055
7055
|
}, xn = m(""), { host: eo, pathname: k_ } = window.location;
|
|
7056
7056
|
eo.includes("genome-aig-dev.genpact.com") || eo.includes("genome-aig.genpact.com") ? xn.value = "persona/aiguru" : xn.value = "persona";
|
|
7057
|
-
const au =
|
|
7057
|
+
const au = ge(() => [
|
|
7058
7058
|
"32b7d6d8-f7a8-40a0-ab84-8784f25897ea",
|
|
7059
7059
|
"32b7d6d8-f7a8-40a0-ab84-8784f25897ef",
|
|
7060
7060
|
"937e84ef-e95d-4327-9afe-e7be2bf420eb",
|
|
@@ -7075,15 +7075,15 @@ const Ai = localStorage.getItem("accessToken"), y_ = async (e = [], t, n) => {
|
|
|
7075
7075
|
);
|
|
7076
7076
|
}, Tu = (D) => {
|
|
7077
7077
|
var Le, at, tt;
|
|
7078
|
-
N.value = D.ohr,
|
|
7078
|
+
N.value = D.ohr, F.value = D.band_code, d.value = (Le = D.learnerName) == null ? void 0 : Le.split(",").reverse().join(" "), r.value = D.questionsLeft, n.value = D.questionLimit, Z.value = D.user_skills, ce.value = D.industry_skills, ae.value = D.service_line_skills, y.value = D.digital_skills, Y.value = D.professional_skills, g.value = D.today, b.value = D.currentWeek, V.value = D.currentMonth, M.value = (at = D.globalFrequentlyAskedQuestions) == null ? void 0 : at.map((Xe) => (Xe.isShown = !1, Xe)), $.value = (tt = D.globalRecentQuestions) == null ? void 0 : tt.map((Xe) => (Xe.isShown = !1, Xe)), e.value = M.value, t.value = $.value;
|
|
7079
7079
|
}, _u = async (D) => {
|
|
7080
7080
|
var Le, at, tt, Xe, Vn, En;
|
|
7081
|
-
if (e.value = (Le = D.frequentlyAskedQuestions) == null ? void 0 : Le.map((
|
|
7081
|
+
if (e.value = (Le = D.frequentlyAskedQuestions) == null ? void 0 : Le.map((Fe) => (Fe.isShown = !1, Fe)), t.value = (at = D.recentQuestions) == null ? void 0 : at.map((Fe) => (Fe.isShown = !1, Fe)), o.value = D.skill_name, S.value = D.prof_name, a.value = D.skill_id, T.value = D.skill_master_id, A.value = D.prof_id, i.value = (tt = D.skillDetails) == null ? void 0 : tt.skill_master_guru, E.value = (Xe = D.skillDetails) == null ? void 0 : Xe.prompt_context, c.value = (Vn = D.skillDetails) == null ? void 0 : Vn.skill_video_link, u.value = (En = D.skillDetails) == null ? void 0 : En.skill_guru_profile, he.value = !1, Te.value = !0, T.value === "f7d42458-5668-447f-806e-f1b7b1025a45") {
|
|
7082
7082
|
console.log("Persona Params===>", xn.value);
|
|
7083
|
-
const
|
|
7084
|
-
Ie.value =
|
|
7083
|
+
const Fe = await y_({}, "get", `/${xn.value}/${N.value}`);
|
|
7084
|
+
Ie.value = Fe == null ? void 0 : Fe.map((nt) => nt.id);
|
|
7085
7085
|
}
|
|
7086
|
-
await
|
|
7086
|
+
await Fr();
|
|
7087
7087
|
}, Su = async (D) => {
|
|
7088
7088
|
be.value = !1, console.log("Consoling in getUseCases");
|
|
7089
7089
|
const Le = {
|
|
@@ -7093,8 +7093,8 @@ const Ai = localStorage.getItem("accessToken"), y_ = async (e = [], t, n) => {
|
|
|
7093
7093
|
kn({ question: D.useCaseName, answer: D.example }, "faq"), be.value = !0;
|
|
7094
7094
|
return;
|
|
7095
7095
|
}
|
|
7096
|
-
await
|
|
7097
|
-
},
|
|
7096
|
+
await Fr(D.useCaseId), kn({ question: D.useCaseName, answer: null }, "faq"), be.value = !0;
|
|
7097
|
+
}, Fr = async (D = "") => {
|
|
7098
7098
|
T.value, Ie.value;
|
|
7099
7099
|
}, fu = () => {
|
|
7100
7100
|
const D = l == null ? void 0 : l.value;
|
|
@@ -7110,11 +7110,11 @@ const Ai = localStorage.getItem("accessToken"), y_ = async (e = [], t, n) => {
|
|
|
7110
7110
|
}, Iu = () => {
|
|
7111
7111
|
s.value = [], K.value = [], Te.value = !1, he.value = !0, Ne.value = !1, et.value = !1, console.log("for job");
|
|
7112
7112
|
}, kn = (D, Le) => {
|
|
7113
|
-
var En,
|
|
7113
|
+
var En, Fe;
|
|
7114
7114
|
if (D != null && D.isShown)
|
|
7115
7115
|
return;
|
|
7116
7116
|
let at = !1, tt = "";
|
|
7117
|
-
Le === "new" ? (console.log("New Conversation Added"), at = D == null ? void 0 : D.isSaved, D != null && D.isSaved && (D != null && D.is_from_open_world) && (tt = "Web Sources 🌍"), D != null && D.isSaved && !(D != null && D.is_from_open_world) && (tt = "Genome Library ✅"), r.value = D != null && D.isSaved ? r.value - 1 : r.value, yr.value = yr.value - 1, cu(D)) : Le === "recent" ? t.value = (En = t.value) == null ? void 0 : En.map((nt) => (nt.id === D.id && (nt.isShown = !0), nt)) : Le === "faq" && (e.value = (
|
|
7117
|
+
Le === "new" ? (console.log("New Conversation Added"), at = D == null ? void 0 : D.isSaved, D != null && D.isSaved && (D != null && D.is_from_open_world) && (tt = "Web Sources 🌍"), D != null && D.isSaved && !(D != null && D.is_from_open_world) && (tt = "Genome Library ✅"), r.value = D != null && D.isSaved ? r.value - 1 : r.value, yr.value = yr.value - 1, cu(D)) : Le === "recent" ? t.value = (En = t.value) == null ? void 0 : En.map((nt) => (nt.id === D.id && (nt.isShown = !0), nt)) : Le === "faq" && (e.value = (Fe = e.value) == null ? void 0 : Fe.map((nt) => (nt.id === D.id && (nt.isShown = !0), nt))), l.value = D == null ? void 0 : D.answer;
|
|
7118
7118
|
const Xe = {
|
|
7119
7119
|
showFeedback: at,
|
|
7120
7120
|
showSources: tt,
|
|
@@ -7166,7 +7166,7 @@ const Ai = localStorage.getItem("accessToken"), y_ = async (e = [], t, n) => {
|
|
|
7166
7166
|
postSkillUseCases: J,
|
|
7167
7167
|
showPostSkillUseCases: Te,
|
|
7168
7168
|
otherUseCases: re,
|
|
7169
|
-
generateUseCases:
|
|
7169
|
+
generateUseCases: Fr,
|
|
7170
7170
|
showSkillName: z,
|
|
7171
7171
|
SkillChange: du,
|
|
7172
7172
|
showButton: oe,
|
|
@@ -7182,12 +7182,12 @@ const Ai = localStorage.getItem("accessToken"), y_ = async (e = [], t, n) => {
|
|
|
7182
7182
|
descriptionForSkillData: Re,
|
|
7183
7183
|
offeringTypeForSkillData: O,
|
|
7184
7184
|
enableInputbox: G,
|
|
7185
|
-
isTopicPending:
|
|
7185
|
+
isTopicPending: P,
|
|
7186
7186
|
viewPrompt: ne,
|
|
7187
7187
|
addPostSkillSelectionMessage: lu,
|
|
7188
7188
|
copyToClipboard: fu,
|
|
7189
7189
|
answer: l,
|
|
7190
|
-
todayQues:
|
|
7190
|
+
todayQues: g,
|
|
7191
7191
|
weekQues: b,
|
|
7192
7192
|
monthQues: V,
|
|
7193
7193
|
isNewUI: v,
|
|
@@ -7197,10 +7197,10 @@ const Ai = localStorage.getItem("accessToken"), y_ = async (e = [], t, n) => {
|
|
|
7197
7197
|
assessmentType: B,
|
|
7198
7198
|
empSeniority: L,
|
|
7199
7199
|
functionRole: C,
|
|
7200
|
-
mcqType:
|
|
7200
|
+
mcqType: H,
|
|
7201
7201
|
storeFinalFeedback: j,
|
|
7202
7202
|
storeFinalScore: W,
|
|
7203
|
-
band_code:
|
|
7203
|
+
band_code: F,
|
|
7204
7204
|
searchBoxdisable: k,
|
|
7205
7205
|
recognizedText: Ee,
|
|
7206
7206
|
beginFlag: se,
|
|
@@ -7230,10 +7230,10 @@ const Ai = localStorage.getItem("accessToken"), y_ = async (e = [], t, n) => {
|
|
|
7230
7230
|
audioAnaysis: Eu,
|
|
7231
7231
|
showVoiceModeMsg: uu
|
|
7232
7232
|
};
|
|
7233
|
-
}), rS =
|
|
7233
|
+
}), rS = F_, H_ = dT, sS = AT, di = /* @__PURE__ */ yn({
|
|
7234
7234
|
__name: "DigitalTwin",
|
|
7235
7235
|
setup(e) {
|
|
7236
|
-
|
|
7236
|
+
H_().$subscribe((r, s) => {
|
|
7237
7237
|
r.storeId === "error" && n.value.setError(s.error);
|
|
7238
7238
|
});
|
|
7239
7239
|
const n = m();
|
|
@@ -7257,7 +7257,7 @@ const Ai = localStorage.getItem("accessToken"), y_ = async (e = [], t, n) => {
|
|
|
7257
7257
|
// route level code-splitting
|
|
7258
7258
|
// this generates a separate chunk (About.[hash].js) for this route
|
|
7259
7259
|
// which is lazy-loaded when the route is visited.
|
|
7260
|
-
component: () => import("./HomeView-
|
|
7260
|
+
component: () => import("./HomeView-f47ba61f.mjs")
|
|
7261
7261
|
},
|
|
7262
7262
|
{
|
|
7263
7263
|
path: "playground",
|
|
@@ -7265,7 +7265,7 @@ const Ai = localStorage.getItem("accessToken"), y_ = async (e = [], t, n) => {
|
|
|
7265
7265
|
// route level code-splitting
|
|
7266
7266
|
// this generates a separate chunk (About.[hash].js) for this route
|
|
7267
7267
|
// which is lazy-loaded when the route is visited.
|
|
7268
|
-
component: () => import("./PromptTesting-
|
|
7268
|
+
component: () => import("./PromptTesting-b99f78de.mjs")
|
|
7269
7269
|
},
|
|
7270
7270
|
{
|
|
7271
7271
|
path: "simulation",
|
|
@@ -7273,7 +7273,7 @@ const Ai = localStorage.getItem("accessToken"), y_ = async (e = [], t, n) => {
|
|
|
7273
7273
|
// route level code-splitting
|
|
7274
7274
|
// this generates a separate chunk (About.[hash].js) for this route
|
|
7275
7275
|
// which is lazy-loaded when the route is visited.
|
|
7276
|
-
component: () => import("./AssessmentSimulation-
|
|
7276
|
+
component: () => import("./AssessmentSimulation-f74a6523.mjs").then((e) => e.A)
|
|
7277
7277
|
},
|
|
7278
7278
|
{
|
|
7279
7279
|
path: "ama",
|
|
@@ -7281,7 +7281,7 @@ const Ai = localStorage.getItem("accessToken"), y_ = async (e = [], t, n) => {
|
|
|
7281
7281
|
// route level code-splitting
|
|
7282
7282
|
// this generates a separate chunk (About.[hash].js) for this route
|
|
7283
7283
|
// which is lazy-loaded when the route is visited.
|
|
7284
|
-
component: () => import("./AssessmentAMA-
|
|
7284
|
+
component: () => import("./AssessmentAMA-da287167.mjs")
|
|
7285
7285
|
},
|
|
7286
7286
|
{
|
|
7287
7287
|
path: "testcase",
|
|
@@ -7289,7 +7289,7 @@ const Ai = localStorage.getItem("accessToken"), y_ = async (e = [], t, n) => {
|
|
|
7289
7289
|
// route level code-splitting
|
|
7290
7290
|
// this generates a separate chunk (About.[hash].js) for this route
|
|
7291
7291
|
// which is lazy-loaded when the route is visited.
|
|
7292
|
-
component: () => import("./Testcase-
|
|
7292
|
+
component: () => import("./Testcase-7bd7ad4f.mjs")
|
|
7293
7293
|
},
|
|
7294
7294
|
{
|
|
7295
7295
|
path: "voiceTestcase",
|
|
@@ -7297,7 +7297,7 @@ const Ai = localStorage.getItem("accessToken"), y_ = async (e = [], t, n) => {
|
|
|
7297
7297
|
// route level code-splitting
|
|
7298
7298
|
// this generates a separate chunk (About.[hash].js) for this route
|
|
7299
7299
|
// which is lazy-loaded when the route is visited.
|
|
7300
|
-
component: () => import("./VoiceTestcase-
|
|
7300
|
+
component: () => import("./VoiceTestcase-3029e5db.mjs")
|
|
7301
7301
|
},
|
|
7302
7302
|
{
|
|
7303
7303
|
path: "skillData",
|
|
@@ -7305,7 +7305,7 @@ const Ai = localStorage.getItem("accessToken"), y_ = async (e = [], t, n) => {
|
|
|
7305
7305
|
// route level code-splitting
|
|
7306
7306
|
// this generates a separate chunk (About.[hash].js) for this route
|
|
7307
7307
|
// which is lazy-loaded when the route is visited.
|
|
7308
|
-
component: () => import("./SkillData-
|
|
7308
|
+
component: () => import("./SkillData-a9f46904.mjs")
|
|
7309
7309
|
},
|
|
7310
7310
|
{
|
|
7311
7311
|
path: "editSkillData",
|
|
@@ -7313,7 +7313,7 @@ const Ai = localStorage.getItem("accessToken"), y_ = async (e = [], t, n) => {
|
|
|
7313
7313
|
// route level code-splitting
|
|
7314
7314
|
// this generates a separate chunk (About.[hash].js) for this route
|
|
7315
7315
|
// which is lazy-loaded when the route is visited.
|
|
7316
|
-
component: () => import("./EditSkillData-
|
|
7316
|
+
component: () => import("./EditSkillData-7b5482ca.mjs"),
|
|
7317
7317
|
beforeEnter: (e, t, n) => {
|
|
7318
7318
|
sessionStorage.getItem("dataViewAccess") ? n() : n({ name: "SkillData" });
|
|
7319
7319
|
}
|
|
@@ -7324,7 +7324,7 @@ const Ai = localStorage.getItem("accessToken"), y_ = async (e = [], t, n) => {
|
|
|
7324
7324
|
// route level code-splitting
|
|
7325
7325
|
// this generates a separate chunk (About.[hash].js) for this route
|
|
7326
7326
|
// which is lazy-loaded when the route is visited.
|
|
7327
|
-
component: () => import("./SkillAutomation-
|
|
7327
|
+
component: () => import("./SkillAutomation-30f262f2.mjs")
|
|
7328
7328
|
},
|
|
7329
7329
|
{
|
|
7330
7330
|
path: "editSkillAdminData",
|
|
@@ -7332,7 +7332,7 @@ const Ai = localStorage.getItem("accessToken"), y_ = async (e = [], t, n) => {
|
|
|
7332
7332
|
// route level code-splitting
|
|
7333
7333
|
// this generates a separate chunk (About.[hash].js) for this route
|
|
7334
7334
|
// which is lazy-loaded when the route is visited.
|
|
7335
|
-
component: () => import("./EditSkillAdminData-
|
|
7335
|
+
component: () => import("./EditSkillAdminData-090afec5.mjs"),
|
|
7336
7336
|
beforeEnter: (e, t, n) => {
|
|
7337
7337
|
sessionStorage.getItem("dataViewAccess") ? n() : n({ name: "SkillAutomation" });
|
|
7338
7338
|
}
|
|
@@ -7343,7 +7343,7 @@ const Ai = localStorage.getItem("accessToken"), y_ = async (e = [], t, n) => {
|
|
|
7343
7343
|
// route level code-splitting
|
|
7344
7344
|
// this generates a separate chunk (About.[hash].js) for this route
|
|
7345
7345
|
// which is lazy-loaded when the route is visited.
|
|
7346
|
-
component: () => import("./UnderMaintenance-
|
|
7346
|
+
component: () => import("./UnderMaintenance-a2cfce17.mjs")
|
|
7347
7347
|
}
|
|
7348
7348
|
]
|
|
7349
7349
|
},
|
|
@@ -7358,7 +7358,7 @@ const Ai = localStorage.getItem("accessToken"), y_ = async (e = [], t, n) => {
|
|
|
7358
7358
|
// route level code-splitting
|
|
7359
7359
|
// this generates a separate chunk (About.[hash].js) for this route
|
|
7360
7360
|
// which is lazy-loaded when the route is visited.
|
|
7361
|
-
component: () => import("./HomeView-
|
|
7361
|
+
component: () => import("./HomeView-f47ba61f.mjs")
|
|
7362
7362
|
},
|
|
7363
7363
|
{
|
|
7364
7364
|
path: "playground",
|
|
@@ -7366,7 +7366,7 @@ const Ai = localStorage.getItem("accessToken"), y_ = async (e = [], t, n) => {
|
|
|
7366
7366
|
// route level code-splitting
|
|
7367
7367
|
// this generates a separate chunk (About.[hash].js) for this route
|
|
7368
7368
|
// which is lazy-loaded when the route is visited.
|
|
7369
|
-
component: () => import("./PromptTesting-
|
|
7369
|
+
component: () => import("./PromptTesting-b99f78de.mjs")
|
|
7370
7370
|
},
|
|
7371
7371
|
{
|
|
7372
7372
|
path: "skillData",
|
|
@@ -7374,7 +7374,7 @@ const Ai = localStorage.getItem("accessToken"), y_ = async (e = [], t, n) => {
|
|
|
7374
7374
|
// route level code-splitting
|
|
7375
7375
|
// this generates a separate chunk (About.[hash].js) for this route
|
|
7376
7376
|
// which is lazy-loaded when the route is visited.
|
|
7377
|
-
component: () => import("./SkillData-
|
|
7377
|
+
component: () => import("./SkillData-a9f46904.mjs")
|
|
7378
7378
|
},
|
|
7379
7379
|
{
|
|
7380
7380
|
path: "under-maintenance",
|
|
@@ -7382,7 +7382,7 @@ const Ai = localStorage.getItem("accessToken"), y_ = async (e = [], t, n) => {
|
|
|
7382
7382
|
// route level code-splitting
|
|
7383
7383
|
// this generates a separate chunk (About.[hash].js) for this route
|
|
7384
7384
|
// which is lazy-loaded when the route is visited.
|
|
7385
|
-
component: () => import("./UnderMaintenance-
|
|
7385
|
+
component: () => import("./UnderMaintenance-a2cfce17.mjs")
|
|
7386
7386
|
}
|
|
7387
7387
|
]
|
|
7388
7388
|
}
|
|
@@ -7419,7 +7419,7 @@ export {
|
|
|
7419
7419
|
De as h,
|
|
7420
7420
|
_a as i,
|
|
7421
7421
|
sS as j,
|
|
7422
|
-
|
|
7422
|
+
H_ as k,
|
|
7423
7423
|
ws as l,
|
|
7424
7424
|
z_ as m,
|
|
7425
7425
|
ms as n,
|
|
@@ -7432,7 +7432,7 @@ export {
|
|
|
7432
7432
|
rS as u,
|
|
7433
7433
|
tS as v,
|
|
7434
7434
|
J_ as w,
|
|
7435
|
-
|
|
7436
|
-
|
|
7435
|
+
Hc as x,
|
|
7436
|
+
ge as y,
|
|
7437
7437
|
wc as z
|
|
7438
7438
|
};
|