@das-fed/mframe 0.0.24 → 0.0.25-hot.0
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/es5.js +858 -846
- package/index.d.ts +3 -3
- package/index.js +728 -725
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -12,27 +12,27 @@ function In(e) {
|
|
|
12
12
|
}
|
|
13
13
|
const Ne = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, Sn = process.env.NODE_ENV !== "production" ? Object.freeze([]) : [], Be = () => {
|
|
14
14
|
}, va = () => !1, lr = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
|
|
15
|
-
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97),
|
|
15
|
+
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), Mr = (e) => e.startsWith("onUpdate:"), He = Object.assign, es = (e, t) => {
|
|
16
16
|
const n = e.indexOf(t);
|
|
17
17
|
n > -1 && e.splice(n, 1);
|
|
18
|
-
}, Ea = Object.prototype.hasOwnProperty, Oe = (e, t) => Ea.call(e, t), ae = Array.isArray, An = (e) =>
|
|
18
|
+
}, Ea = Object.prototype.hasOwnProperty, Oe = (e, t) => Ea.call(e, t), ae = Array.isArray, An = (e) => qr(e) === "[object Map]", ya = (e) => qr(e) === "[object Set]", pe = (e) => typeof e == "function", We = (e) => typeof e == "string", $n = (e) => typeof e == "symbol", De = (e) => e !== null && typeof e == "object", ts = (e) => (De(e) || pe(e)) && pe(e.then) && pe(e.catch), _a = Object.prototype.toString, qr = (e) => _a.call(e), ns = (e) => qr(e).slice(8, -1), ba = (e) => qr(e) === "[object Object]", rs = (e) => We(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, Xn = /* @__PURE__ */ In(
|
|
19
19
|
// the leading comma is intentional so empty string "" is also included
|
|
20
20
|
",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
|
|
21
21
|
), wa = /* @__PURE__ */ In(
|
|
22
22
|
"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"
|
|
23
|
-
),
|
|
23
|
+
), zr = (e) => {
|
|
24
24
|
const t = /* @__PURE__ */ Object.create(null);
|
|
25
25
|
return (n) => t[n] || (t[n] = e(n));
|
|
26
|
-
}, Oa = /-(\w)/g, mt =
|
|
26
|
+
}, Oa = /-(\w)/g, mt = zr(
|
|
27
27
|
(e) => e.replace(Oa, (t, n) => n ? n.toUpperCase() : "")
|
|
28
|
-
), Sa = /\B([A-Z])/g, tn =
|
|
28
|
+
), Sa = /\B([A-Z])/g, tn = zr(
|
|
29
29
|
(e) => e.replace(Sa, "-$1").toLowerCase()
|
|
30
|
-
),
|
|
31
|
-
(e) => e ? `on${
|
|
30
|
+
), Jr = zr((e) => e.charAt(0).toUpperCase() + e.slice(1)), an = zr(
|
|
31
|
+
(e) => e ? `on${Jr(e)}` : ""
|
|
32
32
|
), en = (e, t) => !Object.is(e, t), Bn = (e, ...t) => {
|
|
33
33
|
for (let n = 0; n < e.length; n++)
|
|
34
34
|
e[n](...t);
|
|
35
|
-
},
|
|
35
|
+
}, Lr = (e, t, n, r = !1) => {
|
|
36
36
|
Object.defineProperty(e, t, {
|
|
37
37
|
configurable: !0,
|
|
38
38
|
enumerable: !1,
|
|
@@ -43,8 +43,8 @@ const Ne = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, Sn =
|
|
|
43
43
|
const t = parseFloat(e);
|
|
44
44
|
return isNaN(t) ? e : t;
|
|
45
45
|
};
|
|
46
|
-
let
|
|
47
|
-
const fr = () =>
|
|
46
|
+
let Cs;
|
|
47
|
+
const fr = () => Cs || (Cs = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
|
|
48
48
|
function Wt(e) {
|
|
49
49
|
if (ae(e)) {
|
|
50
50
|
const t = {};
|
|
@@ -68,13 +68,13 @@ function xa(e) {
|
|
|
68
68
|
}
|
|
69
69
|
}), t;
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function os(e) {
|
|
72
72
|
let t = "";
|
|
73
73
|
if (We(e))
|
|
74
74
|
t = e;
|
|
75
75
|
else if (ae(e))
|
|
76
76
|
for (let n = 0; n < e.length; n++) {
|
|
77
|
-
const r =
|
|
77
|
+
const r = os(e[n]);
|
|
78
78
|
r && (t += r + " ");
|
|
79
79
|
}
|
|
80
80
|
else if (De(e))
|
|
@@ -177,7 +177,7 @@ function Ia() {
|
|
|
177
177
|
return it;
|
|
178
178
|
}
|
|
179
179
|
let Ae;
|
|
180
|
-
const
|
|
180
|
+
const go = /* @__PURE__ */ new WeakSet();
|
|
181
181
|
class Gi {
|
|
182
182
|
constructor(t) {
|
|
183
183
|
this.fn = t, this.deps = void 0, this.depsTail = void 0, this.flags = 5, this.next = void 0, this.cleanup = void 0, this.scheduler = void 0, it && it.active && it.effects.push(this);
|
|
@@ -186,7 +186,7 @@ class Gi {
|
|
|
186
186
|
this.flags |= 64;
|
|
187
187
|
}
|
|
188
188
|
resume() {
|
|
189
|
-
this.flags & 64 && (this.flags &= -65,
|
|
189
|
+
this.flags & 64 && (this.flags &= -65, go.has(this) && (go.delete(this), this.trigger()));
|
|
190
190
|
}
|
|
191
191
|
/**
|
|
192
192
|
* @internal
|
|
@@ -197,7 +197,7 @@ class Gi {
|
|
|
197
197
|
run() {
|
|
198
198
|
if (!(this.flags & 1))
|
|
199
199
|
return this.fn();
|
|
200
|
-
this.flags |= 2,
|
|
200
|
+
this.flags |= 2, Ps(this), Yi(this);
|
|
201
201
|
const t = Ae, n = vt;
|
|
202
202
|
Ae = this, vt = !0;
|
|
203
203
|
try {
|
|
@@ -211,21 +211,21 @@ class Gi {
|
|
|
211
211
|
stop() {
|
|
212
212
|
if (this.flags & 1) {
|
|
213
213
|
for (let t = this.deps; t; t = t.nextDep)
|
|
214
|
-
|
|
215
|
-
this.deps = this.depsTail = void 0,
|
|
214
|
+
cs(t);
|
|
215
|
+
this.deps = this.depsTail = void 0, Ps(this), this.onStop && this.onStop(), this.flags &= -2;
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
218
|
trigger() {
|
|
219
|
-
this.flags & 64 ?
|
|
219
|
+
this.flags & 64 ? go.add(this) : this.scheduler ? this.scheduler() : this.runIfDirty();
|
|
220
220
|
}
|
|
221
221
|
/**
|
|
222
222
|
* @internal
|
|
223
223
|
*/
|
|
224
224
|
runIfDirty() {
|
|
225
|
-
|
|
225
|
+
$o(this) && this.run();
|
|
226
226
|
}
|
|
227
227
|
get dirty() {
|
|
228
|
-
return
|
|
228
|
+
return $o(this);
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
let Ki = 0, Zn, Qn;
|
|
@@ -236,10 +236,10 @@ function ki(e, t = !1) {
|
|
|
236
236
|
}
|
|
237
237
|
e.next = Zn, Zn = e;
|
|
238
238
|
}
|
|
239
|
-
function
|
|
239
|
+
function ss() {
|
|
240
240
|
Ki++;
|
|
241
241
|
}
|
|
242
|
-
function
|
|
242
|
+
function is() {
|
|
243
243
|
if (--Ki > 0)
|
|
244
244
|
return;
|
|
245
245
|
if (Qn) {
|
|
@@ -273,11 +273,11 @@ function qi(e) {
|
|
|
273
273
|
let t, n = e.depsTail, r = n;
|
|
274
274
|
for (; r; ) {
|
|
275
275
|
const o = r.prevDep;
|
|
276
|
-
r.version === -1 ? (r === n && (n = o),
|
|
276
|
+
r.version === -1 ? (r === n && (n = o), cs(r), $a(r)) : t = r, r.dep.activeLink = r.prevActiveLink, r.prevActiveLink = void 0, r = o;
|
|
277
277
|
}
|
|
278
278
|
e.deps = t, e.depsTail = n;
|
|
279
279
|
}
|
|
280
|
-
function
|
|
280
|
+
function $o(e) {
|
|
281
281
|
for (let t = e.deps; t; t = t.nextDep)
|
|
282
282
|
if (t.dep.version !== t.version || t.dep.computed && (zi(t.dep.computed) || t.dep.version !== t.version))
|
|
283
283
|
return !0;
|
|
@@ -288,7 +288,7 @@ function zi(e) {
|
|
|
288
288
|
return;
|
|
289
289
|
e.globalVersion = rr;
|
|
290
290
|
const t = e.dep;
|
|
291
|
-
if (e.flags |= 2, t.version > 0 && !e.isSSR && e.deps &&
|
|
291
|
+
if (e.flags |= 2, t.version > 0 && !e.isSSR && e.deps && !$o(e)) {
|
|
292
292
|
e.flags &= -3;
|
|
293
293
|
return;
|
|
294
294
|
}
|
|
@@ -304,12 +304,12 @@ function zi(e) {
|
|
|
304
304
|
Ae = n, vt = r, qi(e), e.flags &= -3;
|
|
305
305
|
}
|
|
306
306
|
}
|
|
307
|
-
function
|
|
307
|
+
function cs(e, t = !1) {
|
|
308
308
|
const { dep: n, prevSub: r, nextSub: o } = e;
|
|
309
309
|
if (r && (r.nextSub = o, e.prevSub = void 0), o && (o.prevSub = r, e.nextSub = void 0), process.env.NODE_ENV !== "production" && n.subsHead === e && (n.subsHead = o), n.subs === e && (n.subs = r, !r && n.computed)) {
|
|
310
310
|
n.computed.flags &= -5;
|
|
311
311
|
for (let s = n.computed.deps; s; s = s.nextDep)
|
|
312
|
-
|
|
312
|
+
cs(s, !0);
|
|
313
313
|
}
|
|
314
314
|
!t && !--n.sc && n.map && n.map.delete(n.key);
|
|
315
315
|
}
|
|
@@ -326,7 +326,7 @@ function Kt() {
|
|
|
326
326
|
const e = Ji.pop();
|
|
327
327
|
vt = e === void 0 ? !0 : e;
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function Ps(e) {
|
|
330
330
|
const { cleanup: t } = e;
|
|
331
331
|
if (e.cleanup = void 0, t) {
|
|
332
332
|
const n = Ae;
|
|
@@ -344,7 +344,7 @@ class Ma {
|
|
|
344
344
|
this.sub = t, this.dep = n, this.version = n.version, this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0;
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
|
-
class
|
|
347
|
+
class as {
|
|
348
348
|
constructor(t) {
|
|
349
349
|
this.computed = t, this.version = 0, this.activeLink = void 0, this.subs = void 0, this.map = void 0, this.key = void 0, this.sc = 0, process.env.NODE_ENV !== "production" && (this.subsHead = void 0);
|
|
350
350
|
}
|
|
@@ -371,7 +371,7 @@ class cs {
|
|
|
371
371
|
this.version++, rr++, this.notify(t);
|
|
372
372
|
}
|
|
373
373
|
notify(t) {
|
|
374
|
-
|
|
374
|
+
ss();
|
|
375
375
|
try {
|
|
376
376
|
if (process.env.NODE_ENV !== "production")
|
|
377
377
|
for (let n = this.subsHead; n; n = n.nextSub)
|
|
@@ -386,7 +386,7 @@ class cs {
|
|
|
386
386
|
for (let n = this.subs; n; n = n.prevSub)
|
|
387
387
|
n.sub.notify() && n.sub.dep.notify();
|
|
388
388
|
} finally {
|
|
389
|
-
|
|
389
|
+
is();
|
|
390
390
|
}
|
|
391
391
|
}
|
|
392
392
|
}
|
|
@@ -402,19 +402,19 @@ function Xi(e) {
|
|
|
402
402
|
n !== e && (e.prevSub = n, n && (n.nextSub = e)), process.env.NODE_ENV !== "production" && e.dep.subsHead === void 0 && (e.dep.subsHead = e), e.dep.subs = e;
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
|
-
const
|
|
405
|
+
const Mo = /* @__PURE__ */ new WeakMap(), ln = Symbol(
|
|
406
406
|
process.env.NODE_ENV !== "production" ? "Object iterate" : ""
|
|
407
|
-
),
|
|
407
|
+
), Lo = Symbol(
|
|
408
408
|
process.env.NODE_ENV !== "production" ? "Map keys iterate" : ""
|
|
409
409
|
), or = Symbol(
|
|
410
410
|
process.env.NODE_ENV !== "production" ? "Array iterate" : ""
|
|
411
411
|
);
|
|
412
412
|
function Fe(e, t, n) {
|
|
413
413
|
if (vt && Ae) {
|
|
414
|
-
let r =
|
|
415
|
-
r ||
|
|
414
|
+
let r = Mo.get(e);
|
|
415
|
+
r || Mo.set(e, r = /* @__PURE__ */ new Map());
|
|
416
416
|
let o = r.get(n);
|
|
417
|
-
o || (r.set(n, o = new
|
|
417
|
+
o || (r.set(n, o = new as()), o.map = r, o.key = n), process.env.NODE_ENV !== "production" ? o.track({
|
|
418
418
|
target: e,
|
|
419
419
|
type: t,
|
|
420
420
|
key: n
|
|
@@ -422,7 +422,7 @@ function Fe(e, t, n) {
|
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
424
|
function Tt(e, t, n, r, o, s) {
|
|
425
|
-
const i =
|
|
425
|
+
const i = Mo.get(e);
|
|
426
426
|
if (!i) {
|
|
427
427
|
rr++;
|
|
428
428
|
return;
|
|
@@ -437,10 +437,10 @@ function Tt(e, t, n, r, o, s) {
|
|
|
437
437
|
oldTarget: s
|
|
438
438
|
}) : l.trigger());
|
|
439
439
|
};
|
|
440
|
-
if (
|
|
440
|
+
if (ss(), t === "clear")
|
|
441
441
|
i.forEach(c);
|
|
442
442
|
else {
|
|
443
|
-
const l = ae(e), E = l &&
|
|
443
|
+
const l = ae(e), E = l && rs(n);
|
|
444
444
|
if (l && n === "length") {
|
|
445
445
|
const p = Number(r);
|
|
446
446
|
i.forEach((d, h) => {
|
|
@@ -449,29 +449,29 @@ function Tt(e, t, n, r, o, s) {
|
|
|
449
449
|
} else
|
|
450
450
|
switch ((n !== void 0 || i.has(void 0)) && c(i.get(n)), E && c(i.get(or)), t) {
|
|
451
451
|
case "add":
|
|
452
|
-
l ? E && c(i.get("length")) : (c(i.get(ln)), An(e) && c(i.get(
|
|
452
|
+
l ? E && c(i.get("length")) : (c(i.get(ln)), An(e) && c(i.get(Lo)));
|
|
453
453
|
break;
|
|
454
454
|
case "delete":
|
|
455
|
-
l || (c(i.get(ln)), An(e) && c(i.get(
|
|
455
|
+
l || (c(i.get(ln)), An(e) && c(i.get(Lo)));
|
|
456
456
|
break;
|
|
457
457
|
case "set":
|
|
458
458
|
An(e) && c(i.get(ln));
|
|
459
459
|
break;
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
|
-
|
|
462
|
+
is();
|
|
463
463
|
}
|
|
464
464
|
function _n(e) {
|
|
465
465
|
const t = Ee(e);
|
|
466
466
|
return t === e ? t : (Fe(t, "iterate", or), rt(e) ? t : t.map(Ze));
|
|
467
467
|
}
|
|
468
|
-
function
|
|
468
|
+
function us(e) {
|
|
469
469
|
return Fe(e = Ee(e), "iterate", or), e;
|
|
470
470
|
}
|
|
471
471
|
const La = {
|
|
472
472
|
__proto__: null,
|
|
473
473
|
[Symbol.iterator]() {
|
|
474
|
-
return
|
|
474
|
+
return mo(this, Symbol.iterator, Ze);
|
|
475
475
|
},
|
|
476
476
|
concat(...e) {
|
|
477
477
|
return _n(this).concat(
|
|
@@ -479,7 +479,7 @@ const La = {
|
|
|
479
479
|
);
|
|
480
480
|
},
|
|
481
481
|
entries() {
|
|
482
|
-
return
|
|
482
|
+
return mo(this, "entries", (e) => (e[1] = Ze(e[1]), e));
|
|
483
483
|
},
|
|
484
484
|
every(e, t) {
|
|
485
485
|
return Vt(this, "every", e, t, void 0, arguments);
|
|
@@ -504,17 +504,17 @@ const La = {
|
|
|
504
504
|
return Vt(this, "forEach", e, t, void 0, arguments);
|
|
505
505
|
},
|
|
506
506
|
includes(...e) {
|
|
507
|
-
return
|
|
507
|
+
return vo(this, "includes", e);
|
|
508
508
|
},
|
|
509
509
|
indexOf(...e) {
|
|
510
|
-
return
|
|
510
|
+
return vo(this, "indexOf", e);
|
|
511
511
|
},
|
|
512
512
|
join(e) {
|
|
513
513
|
return _n(this).join(e);
|
|
514
514
|
},
|
|
515
515
|
// keys() iterator only reads `length`, no optimisation required
|
|
516
516
|
lastIndexOf(...e) {
|
|
517
|
-
return
|
|
517
|
+
return vo(this, "lastIndexOf", e);
|
|
518
518
|
},
|
|
519
519
|
map(e, t) {
|
|
520
520
|
return Vt(this, "map", e, t, void 0, arguments);
|
|
@@ -526,10 +526,10 @@ const La = {
|
|
|
526
526
|
return Un(this, "push", e);
|
|
527
527
|
},
|
|
528
528
|
reduce(e, ...t) {
|
|
529
|
-
return
|
|
529
|
+
return Is(this, "reduce", e, t);
|
|
530
530
|
},
|
|
531
531
|
reduceRight(e, ...t) {
|
|
532
|
-
return
|
|
532
|
+
return Is(this, "reduceRight", e, t);
|
|
533
533
|
},
|
|
534
534
|
shift() {
|
|
535
535
|
return Un(this, "shift");
|
|
@@ -554,11 +554,11 @@ const La = {
|
|
|
554
554
|
return Un(this, "unshift", e);
|
|
555
555
|
},
|
|
556
556
|
values() {
|
|
557
|
-
return
|
|
557
|
+
return mo(this, "values", Ze);
|
|
558
558
|
}
|
|
559
559
|
};
|
|
560
|
-
function
|
|
561
|
-
const r =
|
|
560
|
+
function mo(e, t, n) {
|
|
561
|
+
const r = us(e), o = r[t]();
|
|
562
562
|
return r !== e && !rt(e) && (o._next = o.next, o.next = () => {
|
|
563
563
|
const s = o._next();
|
|
564
564
|
return s.value && (s.value = n(s.value)), s;
|
|
@@ -566,7 +566,7 @@ function go(e, t, n) {
|
|
|
566
566
|
}
|
|
567
567
|
const Va = Array.prototype;
|
|
568
568
|
function Vt(e, t, n, r, o, s) {
|
|
569
|
-
const i =
|
|
569
|
+
const i = us(e), c = i !== e && !rt(e), l = i[t];
|
|
570
570
|
if (l !== Va[t]) {
|
|
571
571
|
const d = l.apply(e, s);
|
|
572
572
|
return c ? Ze(d) : d;
|
|
@@ -580,8 +580,8 @@ function Vt(e, t, n, r, o, s) {
|
|
|
580
580
|
const p = l.call(i, E, r);
|
|
581
581
|
return c && o ? o(p) : p;
|
|
582
582
|
}
|
|
583
|
-
function
|
|
584
|
-
const o =
|
|
583
|
+
function Is(e, t, n, r) {
|
|
584
|
+
const o = us(e);
|
|
585
585
|
let s = n;
|
|
586
586
|
return o !== e && (rt(e) ? n.length > 3 && (s = function(i, c, l) {
|
|
587
587
|
return n.call(this, i, c, l, e);
|
|
@@ -589,16 +589,16 @@ function Ps(e, t, n, r) {
|
|
|
589
589
|
return n.call(this, i, Ze(c), l, e);
|
|
590
590
|
}), o[t](s, ...r);
|
|
591
591
|
}
|
|
592
|
-
function
|
|
592
|
+
function vo(e, t, n) {
|
|
593
593
|
const r = Ee(e);
|
|
594
594
|
Fe(r, "iterate", or);
|
|
595
595
|
const o = r[t](...n);
|
|
596
|
-
return (o === -1 || o === !1) &&
|
|
596
|
+
return (o === -1 || o === !1) && Vr(n[0]) ? (n[0] = Ee(n[0]), r[t](...n)) : o;
|
|
597
597
|
}
|
|
598
598
|
function Un(e, t, n = []) {
|
|
599
|
-
Gt(),
|
|
599
|
+
Gt(), ss();
|
|
600
600
|
const r = Ee(e)[t].apply(e, n);
|
|
601
|
-
return
|
|
601
|
+
return is(), Kt(), r;
|
|
602
602
|
}
|
|
603
603
|
const ja = /* @__PURE__ */ In("__proto__,__v_isRef,__isVue"), Zi = new Set(
|
|
604
604
|
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter($n)
|
|
@@ -641,7 +641,7 @@ class Qi {
|
|
|
641
641
|
// its class methods
|
|
642
642
|
je(t) ? t : r
|
|
643
643
|
);
|
|
644
|
-
return ($n(n) ? Zi.has(n) : ja(n)) || (o || Fe(t, "get", n), s) ? c : je(c) ? i &&
|
|
644
|
+
return ($n(n) ? Zi.has(n) : ja(n)) || (o || Fe(t, "get", n), s) ? c : je(c) ? i && rs(n) ? c : c.value : De(c) ? o ? ic(c) : ls(c) : c;
|
|
645
645
|
}
|
|
646
646
|
}
|
|
647
647
|
class ec extends Qi {
|
|
@@ -655,7 +655,7 @@ class ec extends Qi {
|
|
|
655
655
|
if (!rt(r) && !Ut(r) && (s = Ee(s), r = Ee(r)), !ae(t) && je(s) && !je(r))
|
|
656
656
|
return l ? !1 : (s.value = r, !0);
|
|
657
657
|
}
|
|
658
|
-
const i = ae(t) &&
|
|
658
|
+
const i = ae(t) && rs(n) ? Number(n) < t.length : Oe(t, n), c = Reflect.set(
|
|
659
659
|
t,
|
|
660
660
|
n,
|
|
661
661
|
r,
|
|
@@ -696,14 +696,14 @@ class tc extends Qi {
|
|
|
696
696
|
), !0;
|
|
697
697
|
}
|
|
698
698
|
}
|
|
699
|
-
const Wa = /* @__PURE__ */ new ec(), Fa = /* @__PURE__ */ new tc(), Ba = /* @__PURE__ */ new ec(!0), Ua = /* @__PURE__ */ new tc(!0),
|
|
699
|
+
const Wa = /* @__PURE__ */ new ec(), Fa = /* @__PURE__ */ new tc(), Ba = /* @__PURE__ */ new ec(!0), Ua = /* @__PURE__ */ new tc(!0), Vo = (e) => e, Er = (e) => Reflect.getPrototypeOf(e);
|
|
700
700
|
function Ga(e, t, n) {
|
|
701
701
|
return function(...r) {
|
|
702
|
-
const o = this.__v_raw, s = Ee(o), i = An(s), c = e === "entries" || e === Symbol.iterator && i, l = e === "keys" && i, E = o[e](...r), p = n ?
|
|
702
|
+
const o = this.__v_raw, s = Ee(o), i = An(s), c = e === "entries" || e === Symbol.iterator && i, l = e === "keys" && i, E = o[e](...r), p = n ? Vo : t ? jo : Ze;
|
|
703
703
|
return !t && Fe(
|
|
704
704
|
s,
|
|
705
705
|
"iterate",
|
|
706
|
-
l ?
|
|
706
|
+
l ? Lo : ln
|
|
707
707
|
), {
|
|
708
708
|
// iterator protocol
|
|
709
709
|
next() {
|
|
@@ -725,7 +725,7 @@ function yr(e) {
|
|
|
725
725
|
if (process.env.NODE_ENV !== "production") {
|
|
726
726
|
const n = t[0] ? `on key "${t[0]}" ` : "";
|
|
727
727
|
Ct(
|
|
728
|
-
`${
|
|
728
|
+
`${Jr(e)} operation ${n}failed: target is readonly.`,
|
|
729
729
|
Ee(this)
|
|
730
730
|
);
|
|
731
731
|
}
|
|
@@ -737,7 +737,7 @@ function Ka(e, t) {
|
|
|
737
737
|
get(o) {
|
|
738
738
|
const s = this.__v_raw, i = Ee(s), c = Ee(o);
|
|
739
739
|
e || (en(o, c) && Fe(i, "get", o), Fe(i, "get", c));
|
|
740
|
-
const { has: l } = Er(i), E = t ?
|
|
740
|
+
const { has: l } = Er(i), E = t ? Vo : e ? jo : Ze;
|
|
741
741
|
if (l.call(i, o))
|
|
742
742
|
return E(s.get(o));
|
|
743
743
|
if (l.call(i, c))
|
|
@@ -753,7 +753,7 @@ function Ka(e, t) {
|
|
|
753
753
|
return e || (en(o, c) && Fe(i, "has", o), Fe(i, "has", c)), o === c ? s.has(o) : s.has(o) || s.has(c);
|
|
754
754
|
},
|
|
755
755
|
forEach(o, s) {
|
|
756
|
-
const i = this, c = i.__v_raw, l = Ee(c), E = t ?
|
|
756
|
+
const i = this, c = i.__v_raw, l = Ee(c), E = t ? Vo : e ? jo : Ze;
|
|
757
757
|
return !e && Fe(l, "iterate", ln), c.forEach((p, d) => o.call(s, E(p), E(d), i));
|
|
758
758
|
}
|
|
759
759
|
};
|
|
@@ -774,14 +774,14 @@ function Ka(e, t) {
|
|
|
774
774
|
!t && !rt(s) && !Ut(s) && (s = Ee(s));
|
|
775
775
|
const i = Ee(this), { has: c, get: l } = Er(i);
|
|
776
776
|
let E = c.call(i, o);
|
|
777
|
-
E ? process.env.NODE_ENV !== "production" &&
|
|
777
|
+
E ? process.env.NODE_ENV !== "production" && $s(i, c, o) : (o = Ee(o), E = c.call(i, o));
|
|
778
778
|
const p = l.call(i, o);
|
|
779
779
|
return i.set(o, s), E ? en(s, p) && Tt(i, "set", o, s, p) : Tt(i, "add", o, s), this;
|
|
780
780
|
},
|
|
781
781
|
delete(o) {
|
|
782
782
|
const s = Ee(this), { has: i, get: c } = Er(s);
|
|
783
783
|
let l = i.call(s, o);
|
|
784
|
-
l ? process.env.NODE_ENV !== "production" &&
|
|
784
|
+
l ? process.env.NODE_ENV !== "production" && $s(s, i, o) : (o = Ee(o), l = i.call(s, o));
|
|
785
785
|
const E = c ? c.call(s, o) : void 0, p = s.delete(o);
|
|
786
786
|
return l && Tt(s, "delete", o, void 0, E), p;
|
|
787
787
|
},
|
|
@@ -805,7 +805,7 @@ function Ka(e, t) {
|
|
|
805
805
|
n[o] = Ga(o, e, t);
|
|
806
806
|
}), n;
|
|
807
807
|
}
|
|
808
|
-
function
|
|
808
|
+
function Xr(e, t) {
|
|
809
809
|
const n = Ka(e, t);
|
|
810
810
|
return (r, o, s) => o === "__v_isReactive" ? !e : o === "__v_isReadonly" ? e : o === "__v_raw" ? r : Reflect.get(
|
|
811
811
|
Oe(n, o) && o in r ? n : r,
|
|
@@ -814,18 +814,18 @@ function Jr(e, t) {
|
|
|
814
814
|
);
|
|
815
815
|
}
|
|
816
816
|
const ka = {
|
|
817
|
-
get: /* @__PURE__ */
|
|
817
|
+
get: /* @__PURE__ */ Xr(!1, !1)
|
|
818
818
|
}, Ya = {
|
|
819
|
-
get: /* @__PURE__ */
|
|
819
|
+
get: /* @__PURE__ */ Xr(!1, !0)
|
|
820
820
|
}, qa = {
|
|
821
|
-
get: /* @__PURE__ */
|
|
821
|
+
get: /* @__PURE__ */ Xr(!0, !1)
|
|
822
822
|
}, za = {
|
|
823
|
-
get: /* @__PURE__ */
|
|
823
|
+
get: /* @__PURE__ */ Xr(!0, !0)
|
|
824
824
|
};
|
|
825
|
-
function
|
|
825
|
+
function $s(e, t, n) {
|
|
826
826
|
const r = Ee(n);
|
|
827
827
|
if (r !== n && t.call(e, r)) {
|
|
828
|
-
const o =
|
|
828
|
+
const o = ns(e);
|
|
829
829
|
Ct(
|
|
830
830
|
`Reactive ${o} contains both the raw and reactive versions of the same object${o === "Map" ? " as keys" : ""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`
|
|
831
831
|
);
|
|
@@ -847,10 +847,10 @@ function Ja(e) {
|
|
|
847
847
|
}
|
|
848
848
|
}
|
|
849
849
|
function Xa(e) {
|
|
850
|
-
return e.__v_skip || !Object.isExtensible(e) ? 0 : Ja(
|
|
850
|
+
return e.__v_skip || !Object.isExtensible(e) ? 0 : Ja(ns(e));
|
|
851
851
|
}
|
|
852
|
-
function
|
|
853
|
-
return Ut(e) ? e :
|
|
852
|
+
function ls(e) {
|
|
853
|
+
return Ut(e) ? e : Zr(
|
|
854
854
|
e,
|
|
855
855
|
!1,
|
|
856
856
|
Wa,
|
|
@@ -859,7 +859,7 @@ function us(e) {
|
|
|
859
859
|
);
|
|
860
860
|
}
|
|
861
861
|
function Za(e) {
|
|
862
|
-
return
|
|
862
|
+
return Zr(
|
|
863
863
|
e,
|
|
864
864
|
!1,
|
|
865
865
|
Ba,
|
|
@@ -868,7 +868,7 @@ function Za(e) {
|
|
|
868
868
|
);
|
|
869
869
|
}
|
|
870
870
|
function ic(e) {
|
|
871
|
-
return
|
|
871
|
+
return Zr(
|
|
872
872
|
e,
|
|
873
873
|
!0,
|
|
874
874
|
Fa,
|
|
@@ -877,7 +877,7 @@ function ic(e) {
|
|
|
877
877
|
);
|
|
878
878
|
}
|
|
879
879
|
function xt(e) {
|
|
880
|
-
return
|
|
880
|
+
return Zr(
|
|
881
881
|
e,
|
|
882
882
|
!0,
|
|
883
883
|
Ua,
|
|
@@ -885,7 +885,7 @@ function xt(e) {
|
|
|
885
885
|
sc
|
|
886
886
|
);
|
|
887
887
|
}
|
|
888
|
-
function
|
|
888
|
+
function Zr(e, t, n, r, o) {
|
|
889
889
|
if (!De(e))
|
|
890
890
|
return process.env.NODE_ENV !== "production" && Ct(
|
|
891
891
|
`value cannot be made ${t ? "readonly" : "reactive"}: ${String(
|
|
@@ -915,7 +915,7 @@ function Ut(e) {
|
|
|
915
915
|
function rt(e) {
|
|
916
916
|
return !!(e && e.__v_isShallow);
|
|
917
917
|
}
|
|
918
|
-
function
|
|
918
|
+
function Vr(e) {
|
|
919
919
|
return e ? !!e.__v_raw : !1;
|
|
920
920
|
}
|
|
921
921
|
function Ee(e) {
|
|
@@ -923,9 +923,9 @@ function Ee(e) {
|
|
|
923
923
|
return t ? Ee(t) : e;
|
|
924
924
|
}
|
|
925
925
|
function Qa(e) {
|
|
926
|
-
return !Oe(e, "__v_skip") && Object.isExtensible(e) &&
|
|
926
|
+
return !Oe(e, "__v_skip") && Object.isExtensible(e) && Lr(e, "__v_skip", !0), e;
|
|
927
927
|
}
|
|
928
|
-
const Ze = (e) => De(e) ?
|
|
928
|
+
const Ze = (e) => De(e) ? ls(e) : e, jo = (e) => De(e) ? ic(e) : e;
|
|
929
929
|
function je(e) {
|
|
930
930
|
return e ? e.__v_isRef === !0 : !1;
|
|
931
931
|
}
|
|
@@ -937,7 +937,7 @@ function eu(e, t) {
|
|
|
937
937
|
}
|
|
938
938
|
class tu {
|
|
939
939
|
constructor(t, n) {
|
|
940
|
-
this.dep = new
|
|
940
|
+
this.dep = new as(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = n ? t : Ee(t), this._value = n ? t : Ze(t), this.__v_isShallow = n;
|
|
941
941
|
}
|
|
942
942
|
get value() {
|
|
943
943
|
return process.env.NODE_ENV !== "production" ? this.dep.track({
|
|
@@ -972,7 +972,7 @@ function cc(e) {
|
|
|
972
972
|
}
|
|
973
973
|
class ru {
|
|
974
974
|
constructor(t, n, r) {
|
|
975
|
-
this.fn = t, this.setter = n, this._value = void 0, this.dep = new
|
|
975
|
+
this.fn = t, this.setter = n, this._value = void 0, this.dep = new as(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion = rr - 1, this.next = void 0, this.effect = this, this.__v_isReadonly = !n, this.isSSR = r;
|
|
976
976
|
}
|
|
977
977
|
/**
|
|
978
978
|
* @internal
|
|
@@ -1001,12 +1001,12 @@ function ou(e, t, n = !1) {
|
|
|
1001
1001
|
const s = new ru(r, o, n);
|
|
1002
1002
|
return process.env.NODE_ENV, s;
|
|
1003
1003
|
}
|
|
1004
|
-
const _r = {},
|
|
1004
|
+
const _r = {}, jr = /* @__PURE__ */ new WeakMap();
|
|
1005
1005
|
let un;
|
|
1006
1006
|
function su(e, t = !1, n = un) {
|
|
1007
1007
|
if (n) {
|
|
1008
|
-
let r =
|
|
1009
|
-
r ||
|
|
1008
|
+
let r = jr.get(n);
|
|
1009
|
+
r || jr.set(n, r = []), r.push(e);
|
|
1010
1010
|
} else process.env.NODE_ENV !== "production" && !t && Ct(
|
|
1011
1011
|
"onWatcherCleanup() was called when there was no active watcher to associate with."
|
|
1012
1012
|
);
|
|
@@ -1048,13 +1048,13 @@ function iu(e, t, n = Ne) {
|
|
|
1048
1048
|
const L = h, re = o === !0 ? 1 / 0 : o;
|
|
1049
1049
|
h = () => Bt(L(), re);
|
|
1050
1050
|
}
|
|
1051
|
-
const
|
|
1052
|
-
d.stop(),
|
|
1051
|
+
const K = Ia(), Q = () => {
|
|
1052
|
+
d.stop(), K && K.active && es(K.effects, d);
|
|
1053
1053
|
};
|
|
1054
1054
|
if (s && t) {
|
|
1055
1055
|
const L = t;
|
|
1056
1056
|
t = (...re) => {
|
|
1057
|
-
L(...re),
|
|
1057
|
+
L(...re), Q();
|
|
1058
1058
|
};
|
|
1059
1059
|
}
|
|
1060
1060
|
let U = W ? new Array(e.length).fill(_r) : _r;
|
|
@@ -1085,15 +1085,15 @@ function iu(e, t, n = Ne) {
|
|
|
1085
1085
|
d.run();
|
|
1086
1086
|
};
|
|
1087
1087
|
return c && c(oe), d = new Gi(h), d.scheduler = i ? () => i(oe, !1) : oe, P = (L) => su(L, !1, d), S = d.onStop = () => {
|
|
1088
|
-
const L =
|
|
1088
|
+
const L = jr.get(d);
|
|
1089
1089
|
if (L) {
|
|
1090
1090
|
if (l)
|
|
1091
1091
|
l(L, 4);
|
|
1092
1092
|
else
|
|
1093
1093
|
for (const re of L) re();
|
|
1094
|
-
|
|
1094
|
+
jr.delete(d);
|
|
1095
1095
|
}
|
|
1096
|
-
}, process.env.NODE_ENV !== "production" && (d.onTrack = n.onTrack, d.onTrigger = n.onTrigger), t ? r ? oe(!0) : U = d.run() : i ? i(oe.bind(null, !0), !0) : d.run(),
|
|
1096
|
+
}, process.env.NODE_ENV !== "production" && (d.onTrack = n.onTrack, d.onTrigger = n.onTrigger), t ? r ? oe(!0) : U = d.run() : i ? i(oe.bind(null, !0), !0) : d.run(), Q.pause = d.pause.bind(d), Q.resume = d.resume.bind(d), Q.stop = Q, Q;
|
|
1097
1097
|
}
|
|
1098
1098
|
function Bt(e, t = 1 / 0, n) {
|
|
1099
1099
|
if (t <= 0 || !De(e) || e.__v_skip || (n = n || /* @__PURE__ */ new Set(), n.has(e)))
|
|
@@ -1121,16 +1121,16 @@ function Bt(e, t = 1 / 0, n) {
|
|
|
1121
1121
|
* @license MIT
|
|
1122
1122
|
**/
|
|
1123
1123
|
const fn = [];
|
|
1124
|
-
function
|
|
1124
|
+
function Sr(e) {
|
|
1125
1125
|
fn.push(e);
|
|
1126
1126
|
}
|
|
1127
|
-
function
|
|
1127
|
+
function Ar() {
|
|
1128
1128
|
fn.pop();
|
|
1129
1129
|
}
|
|
1130
|
-
let
|
|
1130
|
+
let Eo = !1;
|
|
1131
1131
|
function j(e, ...t) {
|
|
1132
|
-
if (
|
|
1133
|
-
|
|
1132
|
+
if (Eo) return;
|
|
1133
|
+
Eo = !0, Gt();
|
|
1134
1134
|
const n = fn.length ? fn[fn.length - 1].component : null, r = n && n.appContext.config.warnHandler, o = cu();
|
|
1135
1135
|
if (r)
|
|
1136
1136
|
Mn(
|
|
@@ -1145,7 +1145,7 @@ function j(e, ...t) {
|
|
|
1145
1145
|
}).join(""),
|
|
1146
1146
|
n && n.proxy,
|
|
1147
1147
|
o.map(
|
|
1148
|
-
({ vnode: s }) => `at <${
|
|
1148
|
+
({ vnode: s }) => `at <${ro(n, s.type)}>`
|
|
1149
1149
|
).join(`
|
|
1150
1150
|
`),
|
|
1151
1151
|
o
|
|
@@ -1156,7 +1156,7 @@ function j(e, ...t) {
|
|
|
1156
1156
|
o.length && s.push(`
|
|
1157
1157
|
`, ...au(o));
|
|
1158
1158
|
}
|
|
1159
|
-
Kt(),
|
|
1159
|
+
Kt(), Eo = !1;
|
|
1160
1160
|
}
|
|
1161
1161
|
function cu() {
|
|
1162
1162
|
let e = fn[fn.length - 1];
|
|
@@ -1182,7 +1182,7 @@ function au(e) {
|
|
|
1182
1182
|
}), t;
|
|
1183
1183
|
}
|
|
1184
1184
|
function uu({ vnode: e, recurseCount: t }) {
|
|
1185
|
-
const n = t > 0 ? `... (${t} recursive calls)` : "", r = e.component ? e.component.parent == null : !1, o = ` at <${
|
|
1185
|
+
const n = t > 0 ? `... (${t} recursive calls)` : "", r = e.component ? e.component.parent == null : !1, o = ` at <${ro(
|
|
1186
1186
|
e.component,
|
|
1187
1187
|
e.type,
|
|
1188
1188
|
r
|
|
@@ -1198,7 +1198,7 @@ function lu(e) {
|
|
|
1198
1198
|
function ac(e, t, n) {
|
|
1199
1199
|
return We(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : je(t) ? (t = ac(e, Ee(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : pe(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = Ee(t), n ? t : [`${e}=`, t]);
|
|
1200
1200
|
}
|
|
1201
|
-
const
|
|
1201
|
+
const fs = {
|
|
1202
1202
|
sp: "serverPrefetch hook",
|
|
1203
1203
|
bc: "beforeCreate hook",
|
|
1204
1204
|
c: "created hook",
|
|
@@ -1241,7 +1241,7 @@ function Mn(e, t, n, r) {
|
|
|
1241
1241
|
function Pt(e, t, n, r) {
|
|
1242
1242
|
if (pe(e)) {
|
|
1243
1243
|
const o = Mn(e, t, n, r);
|
|
1244
|
-
return o &&
|
|
1244
|
+
return o && ts(o) && o.catch((s) => {
|
|
1245
1245
|
pr(s, t, n);
|
|
1246
1246
|
}), o;
|
|
1247
1247
|
}
|
|
@@ -1258,7 +1258,7 @@ function pr(e, t, n, r = !0) {
|
|
|
1258
1258
|
const o = t ? t.vnode : null, { errorHandler: s, throwUnhandledErrorInProduction: i } = t && t.appContext.config || Ne;
|
|
1259
1259
|
if (t) {
|
|
1260
1260
|
let c = t.parent;
|
|
1261
|
-
const l = t.proxy, E = process.env.NODE_ENV !== "production" ?
|
|
1261
|
+
const l = t.proxy, E = process.env.NODE_ENV !== "production" ? fs[n] : `https://vuejs.org/error-reference/#runtime-${n}`;
|
|
1262
1262
|
for (; c; ) {
|
|
1263
1263
|
const p = c.ec;
|
|
1264
1264
|
if (p) {
|
|
@@ -1281,8 +1281,8 @@ function pr(e, t, n, r = !0) {
|
|
|
1281
1281
|
}
|
|
1282
1282
|
function fu(e, t, n, r = !0, o = !1) {
|
|
1283
1283
|
if (process.env.NODE_ENV !== "production") {
|
|
1284
|
-
const s =
|
|
1285
|
-
if (n &&
|
|
1284
|
+
const s = fs[t];
|
|
1285
|
+
if (n && Sr(n), j(`Unhandled error${s ? ` during execution of ${s}` : ""}`), n && Ar(), r)
|
|
1286
1286
|
throw e;
|
|
1287
1287
|
} else if (o)
|
|
1288
1288
|
throw e;
|
|
@@ -1292,10 +1292,10 @@ let At = -1;
|
|
|
1292
1292
|
const Tn = [];
|
|
1293
1293
|
let Xt = null, On = 0;
|
|
1294
1294
|
const uc = /* @__PURE__ */ Promise.resolve();
|
|
1295
|
-
let
|
|
1295
|
+
let Hr = null;
|
|
1296
1296
|
const pu = 100;
|
|
1297
1297
|
function du(e) {
|
|
1298
|
-
const t =
|
|
1298
|
+
const t = Hr || uc;
|
|
1299
1299
|
return e ? t.then(this ? e.bind(this) : e) : t;
|
|
1300
1300
|
}
|
|
1301
1301
|
function hu(e) {
|
|
@@ -1306,7 +1306,7 @@ function hu(e) {
|
|
|
1306
1306
|
}
|
|
1307
1307
|
return t;
|
|
1308
1308
|
}
|
|
1309
|
-
function
|
|
1309
|
+
function Qr(e) {
|
|
1310
1310
|
if (!(e.flags & 1)) {
|
|
1311
1311
|
const t = sr(e), n = Qe[Qe.length - 1];
|
|
1312
1312
|
!n || // fast path when the job id is larger than the tail
|
|
@@ -1314,16 +1314,16 @@ function Zr(e) {
|
|
|
1314
1314
|
}
|
|
1315
1315
|
}
|
|
1316
1316
|
function lc() {
|
|
1317
|
-
|
|
1317
|
+
Hr || (Hr = uc.then(dc));
|
|
1318
1318
|
}
|
|
1319
1319
|
function fc(e) {
|
|
1320
1320
|
ae(e) ? Tn.push(...e) : Xt && e.id === -1 ? Xt.splice(On + 1, 0, e) : e.flags & 1 || (Tn.push(e), e.flags |= 1), lc();
|
|
1321
1321
|
}
|
|
1322
|
-
function
|
|
1322
|
+
function Ms(e, t, n = At + 1) {
|
|
1323
1323
|
for (process.env.NODE_ENV !== "production" && (t = t || /* @__PURE__ */ new Map()); n < Qe.length; n++) {
|
|
1324
1324
|
const r = Qe[n];
|
|
1325
1325
|
if (r && r.flags & 2) {
|
|
1326
|
-
if (e && r.id !== e.uid || process.env.NODE_ENV !== "production" &&
|
|
1326
|
+
if (e && r.id !== e.uid || process.env.NODE_ENV !== "production" && ps(t, r))
|
|
1327
1327
|
continue;
|
|
1328
1328
|
Qe.splice(n, 1), n--, r.flags & 4 && (r.flags &= -2), r(), r.flags & 4 || (r.flags &= -2);
|
|
1329
1329
|
}
|
|
@@ -1340,7 +1340,7 @@ function pc(e) {
|
|
|
1340
1340
|
}
|
|
1341
1341
|
for (Xt = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), On = 0; On < Xt.length; On++) {
|
|
1342
1342
|
const n = Xt[On];
|
|
1343
|
-
process.env.NODE_ENV !== "production" &&
|
|
1343
|
+
process.env.NODE_ENV !== "production" && ps(e, n) || (n.flags & 4 && (n.flags &= -2), n.flags & 8 || n(), n.flags &= -2);
|
|
1344
1344
|
}
|
|
1345
1345
|
Xt = null, On = 0;
|
|
1346
1346
|
}
|
|
@@ -1348,7 +1348,7 @@ function pc(e) {
|
|
|
1348
1348
|
const sr = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id;
|
|
1349
1349
|
function dc(e) {
|
|
1350
1350
|
process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map());
|
|
1351
|
-
const t = process.env.NODE_ENV !== "production" ? (n) =>
|
|
1351
|
+
const t = process.env.NODE_ENV !== "production" ? (n) => ps(e, n) : Be;
|
|
1352
1352
|
try {
|
|
1353
1353
|
for (At = 0; At < Qe.length; At++) {
|
|
1354
1354
|
const n = Qe[At];
|
|
@@ -1367,10 +1367,10 @@ function dc(e) {
|
|
|
1367
1367
|
const n = Qe[At];
|
|
1368
1368
|
n && (n.flags &= -2);
|
|
1369
1369
|
}
|
|
1370
|
-
At = -1, Qe.length = 0, pc(e),
|
|
1370
|
+
At = -1, Qe.length = 0, pc(e), Hr = null, (Qe.length || Tn.length) && dc(e);
|
|
1371
1371
|
}
|
|
1372
1372
|
}
|
|
1373
|
-
function
|
|
1373
|
+
function ps(e, t) {
|
|
1374
1374
|
const n = e.get(t) || 0;
|
|
1375
1375
|
if (n > pu) {
|
|
1376
1376
|
const r = t.i, o = r && qc(r.type);
|
|
@@ -1383,11 +1383,11 @@ function fs(e, t) {
|
|
|
1383
1383
|
return e.set(t, n + 1), !1;
|
|
1384
1384
|
}
|
|
1385
1385
|
let Dt = !1;
|
|
1386
|
-
const
|
|
1386
|
+
const Nr = /* @__PURE__ */ new Map();
|
|
1387
1387
|
process.env.NODE_ENV !== "production" && (fr().__VUE_HMR_RUNTIME__ = {
|
|
1388
|
-
createRecord:
|
|
1389
|
-
rerender:
|
|
1390
|
-
reload:
|
|
1388
|
+
createRecord: yo(hc),
|
|
1389
|
+
rerender: yo(vu),
|
|
1390
|
+
reload: yo(Eu)
|
|
1391
1391
|
});
|
|
1392
1392
|
const dn = /* @__PURE__ */ new Map();
|
|
1393
1393
|
function gu(e) {
|
|
@@ -1400,41 +1400,41 @@ function mu(e) {
|
|
|
1400
1400
|
}
|
|
1401
1401
|
function hc(e, t) {
|
|
1402
1402
|
return dn.has(e) ? !1 : (dn.set(e, {
|
|
1403
|
-
initialDef:
|
|
1403
|
+
initialDef: Wr(t),
|
|
1404
1404
|
instances: /* @__PURE__ */ new Set()
|
|
1405
1405
|
}), !0);
|
|
1406
1406
|
}
|
|
1407
|
-
function
|
|
1407
|
+
function Wr(e) {
|
|
1408
1408
|
return zc(e) ? e.__vccOpts : e;
|
|
1409
1409
|
}
|
|
1410
1410
|
function vu(e, t) {
|
|
1411
1411
|
const n = dn.get(e);
|
|
1412
1412
|
n && (n.initialDef.render = t, [...n.instances].forEach((r) => {
|
|
1413
|
-
t && (r.render = t,
|
|
1413
|
+
t && (r.render = t, Wr(r.type).render = t), r.renderCache = [], Dt = !0, r.update(), Dt = !1;
|
|
1414
1414
|
}));
|
|
1415
1415
|
}
|
|
1416
1416
|
function Eu(e, t) {
|
|
1417
1417
|
const n = dn.get(e);
|
|
1418
1418
|
if (!n) return;
|
|
1419
|
-
t =
|
|
1419
|
+
t = Wr(t), Ls(n.initialDef, t);
|
|
1420
1420
|
const r = [...n.instances];
|
|
1421
1421
|
for (let o = 0; o < r.length; o++) {
|
|
1422
|
-
const s = r[o], i =
|
|
1423
|
-
let c =
|
|
1424
|
-
c || (i !== n.initialDef &&
|
|
1422
|
+
const s = r[o], i = Wr(s.type);
|
|
1423
|
+
let c = Nr.get(i);
|
|
1424
|
+
c || (i !== n.initialDef && Ls(i, t), Nr.set(i, c = /* @__PURE__ */ new Set())), c.add(s), s.appContext.propsCache.delete(s.type), s.appContext.emitsCache.delete(s.type), s.appContext.optionsCache.delete(s.type), s.ceReload ? (c.add(s), s.ceReload(t.styles), c.delete(s)) : s.parent ? Qr(() => {
|
|
1425
1425
|
Dt = !0, s.parent.update(), Dt = !1, c.delete(s);
|
|
1426
1426
|
}) : s.appContext.reload ? s.appContext.reload() : typeof window < "u" && window.location.reload(), s.root.ce && s !== s.root && s.root.ce._removeChildStyle(i);
|
|
1427
1427
|
}
|
|
1428
1428
|
fc(() => {
|
|
1429
|
-
|
|
1429
|
+
Nr.clear();
|
|
1430
1430
|
});
|
|
1431
1431
|
}
|
|
1432
|
-
function
|
|
1432
|
+
function Ls(e, t) {
|
|
1433
1433
|
He(e, t);
|
|
1434
1434
|
for (const n in e)
|
|
1435
1435
|
n !== "__file" && !(n in t) && delete e[n];
|
|
1436
1436
|
}
|
|
1437
|
-
function
|
|
1437
|
+
function yo(e) {
|
|
1438
1438
|
return (t, n) => {
|
|
1439
1439
|
try {
|
|
1440
1440
|
return e(t, n);
|
|
@@ -1442,39 +1442,39 @@ function Eo(e) {
|
|
|
1442
1442
|
}
|
|
1443
1443
|
};
|
|
1444
1444
|
}
|
|
1445
|
-
let gt, qn = [],
|
|
1445
|
+
let gt, qn = [], Ho = !1;
|
|
1446
1446
|
function dr(e, ...t) {
|
|
1447
|
-
gt ? gt.emit(e, ...t) :
|
|
1447
|
+
gt ? gt.emit(e, ...t) : Ho || qn.push({ event: e, args: t });
|
|
1448
1448
|
}
|
|
1449
|
-
function
|
|
1449
|
+
function ds(e, t) {
|
|
1450
1450
|
var n, r;
|
|
1451
1451
|
gt = e, gt ? (gt.enabled = !0, qn.forEach(({ event: o, args: s }) => gt.emit(o, ...s)), qn = []) : /* handle late devtools injection - only do this if we are in an actual */ /* browser environment to avoid the timer handle stalling test runner exit */ /* (#4815) */ typeof window < "u" && // some envs mock window but not fully
|
|
1452
1452
|
window.HTMLElement && // also exclude jsdom
|
|
1453
1453
|
// eslint-disable-next-line no-restricted-syntax
|
|
1454
1454
|
!((r = (n = window.navigator) == null ? void 0 : n.userAgent) != null && r.includes("jsdom")) ? ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ = t.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((s) => {
|
|
1455
|
-
|
|
1455
|
+
ds(s, t);
|
|
1456
1456
|
}), setTimeout(() => {
|
|
1457
|
-
gt || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null,
|
|
1458
|
-
}, 3e3)) : (
|
|
1457
|
+
gt || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, Ho = !0, qn = []);
|
|
1458
|
+
}, 3e3)) : (Ho = !0, qn = []);
|
|
1459
1459
|
}
|
|
1460
1460
|
function yu(e, t) {
|
|
1461
1461
|
dr("app:init", e, t, {
|
|
1462
1462
|
Fragment: Nt,
|
|
1463
1463
|
Text: hr,
|
|
1464
1464
|
Comment: ut,
|
|
1465
|
-
Static:
|
|
1465
|
+
Static: xr
|
|
1466
1466
|
});
|
|
1467
1467
|
}
|
|
1468
1468
|
function _u(e) {
|
|
1469
1469
|
dr("app:unmount", e);
|
|
1470
1470
|
}
|
|
1471
|
-
const bu = /* @__PURE__ */
|
|
1471
|
+
const bu = /* @__PURE__ */ hs(
|
|
1472
1472
|
"component:added"
|
|
1473
1473
|
/* COMPONENT_ADDED */
|
|
1474
|
-
), gc = /* @__PURE__ */
|
|
1474
|
+
), gc = /* @__PURE__ */ hs(
|
|
1475
1475
|
"component:updated"
|
|
1476
1476
|
/* COMPONENT_UPDATED */
|
|
1477
|
-
), wu = /* @__PURE__ */
|
|
1477
|
+
), wu = /* @__PURE__ */ hs(
|
|
1478
1478
|
"component:removed"
|
|
1479
1479
|
/* COMPONENT_REMOVED */
|
|
1480
1480
|
), Ou = (e) => {
|
|
@@ -1483,7 +1483,7 @@ const bu = /* @__PURE__ */ ds(
|
|
|
1483
1483
|
};
|
|
1484
1484
|
/*! #__NO_SIDE_EFFECTS__ */
|
|
1485
1485
|
// @__NO_SIDE_EFFECTS__
|
|
1486
|
-
function
|
|
1486
|
+
function hs(e) {
|
|
1487
1487
|
return (t) => {
|
|
1488
1488
|
dr(
|
|
1489
1489
|
e,
|
|
@@ -1516,7 +1516,7 @@ function Nu(e, t, n) {
|
|
|
1516
1516
|
);
|
|
1517
1517
|
}
|
|
1518
1518
|
let et = null, vc = null;
|
|
1519
|
-
function
|
|
1519
|
+
function Fr(e) {
|
|
1520
1520
|
const t = et;
|
|
1521
1521
|
return et = e, vc = e && e.type.__scopeId || null, t;
|
|
1522
1522
|
}
|
|
@@ -1524,13 +1524,13 @@ function Tu(e, t = et, n) {
|
|
|
1524
1524
|
if (!t || e._n)
|
|
1525
1525
|
return e;
|
|
1526
1526
|
const r = (...o) => {
|
|
1527
|
-
r._d &&
|
|
1528
|
-
const s =
|
|
1527
|
+
r._d && qs(-1);
|
|
1528
|
+
const s = Fr(t);
|
|
1529
1529
|
let i;
|
|
1530
1530
|
try {
|
|
1531
1531
|
i = e(...o);
|
|
1532
1532
|
} finally {
|
|
1533
|
-
|
|
1533
|
+
Fr(s), r._d && qs(1);
|
|
1534
1534
|
}
|
|
1535
1535
|
return process.env.NODE_ENV !== "production" && gc(t), i;
|
|
1536
1536
|
};
|
|
@@ -1542,7 +1542,7 @@ function Ec(e) {
|
|
|
1542
1542
|
function br(e, t) {
|
|
1543
1543
|
if (et === null)
|
|
1544
1544
|
return process.env.NODE_ENV !== "production" && j("withDirectives can only be used inside render functions."), e;
|
|
1545
|
-
const n =
|
|
1545
|
+
const n = no(et), r = e.dirs || (e.dirs = []);
|
|
1546
1546
|
for (let o = 0; o < t.length; o++) {
|
|
1547
1547
|
let [s, i, c, l = Ne] = t[o];
|
|
1548
1548
|
s && (pe(s) && (s = {
|
|
@@ -1574,8 +1574,8 @@ function on(e, t, n, r) {
|
|
|
1574
1574
|
}
|
|
1575
1575
|
}
|
|
1576
1576
|
const Ru = Symbol("_vte"), xu = (e) => e.__isTeleport;
|
|
1577
|
-
function
|
|
1578
|
-
e.shapeFlag & 6 && e.component ? (e.transition = t,
|
|
1577
|
+
function gs(e, t) {
|
|
1578
|
+
e.shapeFlag & 6 && e.component ? (e.transition = t, gs(e.component.subTree, t)) : e.shapeFlag & 128 ? (e.ssContent.transition = t.clone(e.ssContent), e.ssFallback.transition = t.clone(e.ssFallback)) : e.transition = t;
|
|
1579
1579
|
}
|
|
1580
1580
|
/*! #__NO_SIDE_EFFECTS__ */
|
|
1581
1581
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -1590,10 +1590,10 @@ function yc(e) {
|
|
|
1590
1590
|
e.ids = [e.ids[0] + e.ids[2]++ + "-", 0, 0];
|
|
1591
1591
|
}
|
|
1592
1592
|
const Cu = /* @__PURE__ */ new WeakSet();
|
|
1593
|
-
function
|
|
1593
|
+
function Br(e, t, n, r, o = !1) {
|
|
1594
1594
|
if (ae(e)) {
|
|
1595
1595
|
e.forEach(
|
|
1596
|
-
(P, F) =>
|
|
1596
|
+
(P, F) => Br(
|
|
1597
1597
|
P,
|
|
1598
1598
|
t && (ae(t) ? t[F] : t),
|
|
1599
1599
|
n,
|
|
@@ -1604,10 +1604,10 @@ function Fr(e, t, n, r, o = !1) {
|
|
|
1604
1604
|
return;
|
|
1605
1605
|
}
|
|
1606
1606
|
if (er(r) && !o) {
|
|
1607
|
-
r.shapeFlag & 512 && r.type.__asyncResolved && r.component.subTree.component &&
|
|
1607
|
+
r.shapeFlag & 512 && r.type.__asyncResolved && r.component.subTree.component && Br(e, t, n, r.component.subTree);
|
|
1608
1608
|
return;
|
|
1609
1609
|
}
|
|
1610
|
-
const s = r.shapeFlag & 4 ?
|
|
1610
|
+
const s = r.shapeFlag & 4 ? no(r.component) : r.el, i = o ? null : s, { i: c, r: l } = e;
|
|
1611
1611
|
if (process.env.NODE_ENV !== "production" && !c) {
|
|
1612
1612
|
j(
|
|
1613
1613
|
"Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function."
|
|
@@ -1624,8 +1624,8 @@ function Fr(e, t, n, r, o = !1) {
|
|
|
1624
1624
|
if (P || F) {
|
|
1625
1625
|
const W = () => {
|
|
1626
1626
|
if (e.f) {
|
|
1627
|
-
const
|
|
1628
|
-
o ? ae(
|
|
1627
|
+
const K = P ? S(l) ? d[l] : p[l] : l.value;
|
|
1628
|
+
o ? ae(K) && es(K, s) : ae(K) ? K.includes(s) || K.push(s) : P ? (p[l] = [s], S(l) && (d[l] = p[l])) : (l.value = [s], e.k && (p[e.k] = l.value));
|
|
1629
1629
|
} else P ? (p[l] = i, S(l) && (d[l] = i)) : F ? (l.value = i, e.k && (p[e.k] = i)) : process.env.NODE_ENV !== "production" && j("Invalid template ref type:", l, `(${typeof l})`);
|
|
1630
1630
|
};
|
|
1631
1631
|
i ? (W.id = -1, st(W, n)) : W();
|
|
@@ -1634,7 +1634,7 @@ function Fr(e, t, n, r, o = !1) {
|
|
|
1634
1634
|
}
|
|
1635
1635
|
fr().requestIdleCallback;
|
|
1636
1636
|
fr().cancelIdleCallback;
|
|
1637
|
-
const er = (e) => !!e.type.__asyncLoader,
|
|
1637
|
+
const er = (e) => !!e.type.__asyncLoader, ms = (e) => e.type.__isKeepAlive;
|
|
1638
1638
|
function Pu(e, t) {
|
|
1639
1639
|
_c(e, "a", t);
|
|
1640
1640
|
}
|
|
@@ -1651,14 +1651,14 @@ function _c(e, t, n = Ke) {
|
|
|
1651
1651
|
}
|
|
1652
1652
|
return e();
|
|
1653
1653
|
});
|
|
1654
|
-
if (
|
|
1654
|
+
if (eo(t, r, n), n) {
|
|
1655
1655
|
let o = n.parent;
|
|
1656
1656
|
for (; o && o.parent; )
|
|
1657
|
-
|
|
1657
|
+
ms(o.parent.vnode) && $u(r, t, n, o), o = o.parent;
|
|
1658
1658
|
}
|
|
1659
1659
|
}
|
|
1660
1660
|
function $u(e, t, n, r) {
|
|
1661
|
-
const o =
|
|
1661
|
+
const o = eo(
|
|
1662
1662
|
t,
|
|
1663
1663
|
e,
|
|
1664
1664
|
r,
|
|
@@ -1666,10 +1666,10 @@ function $u(e, t, n, r) {
|
|
|
1666
1666
|
/* prepend */
|
|
1667
1667
|
);
|
|
1668
1668
|
wc(() => {
|
|
1669
|
-
|
|
1669
|
+
es(r[t], o);
|
|
1670
1670
|
}, n);
|
|
1671
1671
|
}
|
|
1672
|
-
function
|
|
1672
|
+
function eo(e, t, n = Ke, r = !1) {
|
|
1673
1673
|
if (n) {
|
|
1674
1674
|
const o = n[e] || (n[e] = []), s = t.__weh || (t.__weh = (...i) => {
|
|
1675
1675
|
Gt();
|
|
@@ -1678,14 +1678,14 @@ function Qr(e, t, n = Ke, r = !1) {
|
|
|
1678
1678
|
});
|
|
1679
1679
|
return r ? o.unshift(s) : o.push(s), s;
|
|
1680
1680
|
} else if (process.env.NODE_ENV !== "production") {
|
|
1681
|
-
const o = an(
|
|
1681
|
+
const o = an(fs[e].replace(/ hook$/, ""));
|
|
1682
1682
|
j(
|
|
1683
1683
|
`${o} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`
|
|
1684
1684
|
);
|
|
1685
1685
|
}
|
|
1686
1686
|
}
|
|
1687
1687
|
const kt = (e) => (t, n = Ke) => {
|
|
1688
|
-
(!cr || e === "sp") &&
|
|
1688
|
+
(!cr || e === "sp") && eo(e, (...r) => t(...r), n);
|
|
1689
1689
|
}, Mu = kt("bm"), bc = kt("m"), Lu = kt(
|
|
1690
1690
|
"bu"
|
|
1691
1691
|
), Vu = kt("u"), ju = kt(
|
|
@@ -1694,9 +1694,9 @@ const kt = (e) => (t, n = Ke) => {
|
|
|
1694
1694
|
"sp"
|
|
1695
1695
|
), Wu = kt("rtg"), Fu = kt("rtc");
|
|
1696
1696
|
function Bu(e, t = Ke) {
|
|
1697
|
-
|
|
1697
|
+
eo("ec", e, t);
|
|
1698
1698
|
}
|
|
1699
|
-
const Uu = Symbol.for("v-ndc"),
|
|
1699
|
+
const Uu = Symbol.for("v-ndc"), Wo = (e) => e ? kc(e) ? no(e) : Wo(e.parent) : null, pn = (
|
|
1700
1700
|
// Move PURE marker to new line to workaround compiler discarding it
|
|
1701
1701
|
// due to type annotation
|
|
1702
1702
|
/* @__PURE__ */ He(/* @__PURE__ */ Object.create(null), {
|
|
@@ -1707,18 +1707,18 @@ const Uu = Symbol.for("v-ndc"), Ho = (e) => e ? kc(e) ? to(e) : Ho(e.parent) : n
|
|
|
1707
1707
|
$attrs: (e) => process.env.NODE_ENV !== "production" ? xt(e.attrs) : e.attrs,
|
|
1708
1708
|
$slots: (e) => process.env.NODE_ENV !== "production" ? xt(e.slots) : e.slots,
|
|
1709
1709
|
$refs: (e) => process.env.NODE_ENV !== "production" ? xt(e.refs) : e.refs,
|
|
1710
|
-
$parent: (e) =>
|
|
1711
|
-
$root: (e) =>
|
|
1710
|
+
$parent: (e) => Wo(e.parent),
|
|
1711
|
+
$root: (e) => Wo(e.root),
|
|
1712
1712
|
$host: (e) => e.ce,
|
|
1713
1713
|
$emit: (e) => e.emit,
|
|
1714
1714
|
$options: (e) => Ac(e),
|
|
1715
1715
|
$forceUpdate: (e) => e.f || (e.f = () => {
|
|
1716
|
-
|
|
1716
|
+
Qr(e.update);
|
|
1717
1717
|
}),
|
|
1718
1718
|
$nextTick: (e) => e.n || (e.n = du.bind(e.proxy)),
|
|
1719
1719
|
$watch: (e) => wl.bind(e)
|
|
1720
1720
|
})
|
|
1721
|
-
),
|
|
1721
|
+
), vs = (e) => e === "_" || e === "$", _o = (e, t) => e !== Ne && !e.__isScriptSetup && Oe(e, t), Oc = {
|
|
1722
1722
|
get({ _: e }, t) {
|
|
1723
1723
|
if (t === "__v_skip")
|
|
1724
1724
|
return !0;
|
|
@@ -1740,7 +1740,7 @@ const Uu = Symbol.for("v-ndc"), Ho = (e) => e ? kc(e) ? to(e) : Ho(e.parent) : n
|
|
|
1740
1740
|
return s[t];
|
|
1741
1741
|
}
|
|
1742
1742
|
else {
|
|
1743
|
-
if (
|
|
1743
|
+
if (_o(r, t))
|
|
1744
1744
|
return i[t] = 1, r[t];
|
|
1745
1745
|
if (o !== Ne && Oe(o, t))
|
|
1746
1746
|
return i[t] = 2, o[t];
|
|
@@ -1752,13 +1752,13 @@ const Uu = Symbol.for("v-ndc"), Ho = (e) => e ? kc(e) ? to(e) : Ho(e.parent) : n
|
|
|
1752
1752
|
return i[t] = 3, s[t];
|
|
1753
1753
|
if (n !== Ne && Oe(n, t))
|
|
1754
1754
|
return i[t] = 4, n[t];
|
|
1755
|
-
|
|
1755
|
+
Fo && (i[t] = 0);
|
|
1756
1756
|
}
|
|
1757
1757
|
}
|
|
1758
1758
|
const p = pn[t];
|
|
1759
1759
|
let d, h;
|
|
1760
1760
|
if (p)
|
|
1761
|
-
return t === "$attrs" ? (Fe(e.attrs, "get", ""), process.env.NODE_ENV !== "production" &&
|
|
1761
|
+
return t === "$attrs" ? (Fe(e.attrs, "get", ""), process.env.NODE_ENV !== "production" && Kr()) : process.env.NODE_ENV !== "production" && t === "$slots" && Fe(e, "get", t), p(e);
|
|
1762
1762
|
if (
|
|
1763
1763
|
// css module (injected by vue-loader)
|
|
1764
1764
|
(d = c.__cssModules) && (d = d[t])
|
|
@@ -1773,7 +1773,7 @@ const Uu = Symbol.for("v-ndc"), Ho = (e) => e ? kc(e) ? to(e) : Ho(e.parent) : n
|
|
|
1773
1773
|
return h[t];
|
|
1774
1774
|
process.env.NODE_ENV !== "production" && et && (!We(t) || // #1091 avoid internal isRef/isVNode checks on component instance leading
|
|
1775
1775
|
// to infinite warning loop
|
|
1776
|
-
t.indexOf("__v") !== 0) && (o !== Ne &&
|
|
1776
|
+
t.indexOf("__v") !== 0) && (o !== Ne && vs(t[0]) && Oe(o, t) ? j(
|
|
1777
1777
|
`Property ${JSON.stringify(
|
|
1778
1778
|
t
|
|
1779
1779
|
)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`
|
|
@@ -1783,7 +1783,7 @@ const Uu = Symbol.for("v-ndc"), Ho = (e) => e ? kc(e) ? to(e) : Ho(e.parent) : n
|
|
|
1783
1783
|
},
|
|
1784
1784
|
set({ _: e }, t, n) {
|
|
1785
1785
|
const { data: r, setupState: o, ctx: s } = e;
|
|
1786
|
-
return
|
|
1786
|
+
return _o(o, t) ? (o[t] = n, !0) : process.env.NODE_ENV !== "production" && o.__isScriptSetup && Oe(o, t) ? (j(`Cannot mutate <script setup> binding "${t}" from Options API.`), !1) : r !== Ne && Oe(r, t) ? (r[t] = n, !0) : Oe(e.props, t) ? (process.env.NODE_ENV !== "production" && j(`Attempting to mutate prop "${t}". Props are readonly.`), !1) : t[0] === "$" && t.slice(1) in e ? (process.env.NODE_ENV !== "production" && j(
|
|
1787
1787
|
`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`
|
|
1788
1788
|
), !1) : (process.env.NODE_ENV !== "production" && t in e.appContext.config.globalProperties ? Object.defineProperty(s, t, {
|
|
1789
1789
|
enumerable: !0,
|
|
@@ -1795,7 +1795,7 @@ const Uu = Symbol.for("v-ndc"), Ho = (e) => e ? kc(e) ? to(e) : Ho(e.parent) : n
|
|
|
1795
1795
|
_: { data: e, setupState: t, accessCache: n, ctx: r, appContext: o, propsOptions: s }
|
|
1796
1796
|
}, i) {
|
|
1797
1797
|
let c;
|
|
1798
|
-
return !!n[i] || e !== Ne && Oe(e, i) ||
|
|
1798
|
+
return !!n[i] || e !== Ne && Oe(e, i) || _o(t, i) || (c = s[0]) && Oe(c, i) || Oe(r, i) || Oe(pn, i) || Oe(o.config.globalProperties, i);
|
|
1799
1799
|
},
|
|
1800
1800
|
defineProperty(e, t, n) {
|
|
1801
1801
|
return n.get != null ? e._.accessCache[t] = 0 : Oe(n, "value") && this.set(e, t, n.value, null), Reflect.defineProperty(e, t, n);
|
|
@@ -1839,7 +1839,7 @@ function ku(e) {
|
|
|
1839
1839
|
const { ctx: t, setupState: n } = e;
|
|
1840
1840
|
Object.keys(Ee(n)).forEach((r) => {
|
|
1841
1841
|
if (!n.__isScriptSetup) {
|
|
1842
|
-
if (
|
|
1842
|
+
if (vs(r[0])) {
|
|
1843
1843
|
j(
|
|
1844
1844
|
`setup() return property ${JSON.stringify(
|
|
1845
1845
|
r
|
|
@@ -1856,7 +1856,7 @@ function ku(e) {
|
|
|
1856
1856
|
}
|
|
1857
1857
|
});
|
|
1858
1858
|
}
|
|
1859
|
-
function
|
|
1859
|
+
function Vs(e) {
|
|
1860
1860
|
return ae(e) ? e.reduce(
|
|
1861
1861
|
(t, n) => (t[n] = null, t),
|
|
1862
1862
|
{}
|
|
@@ -1868,10 +1868,10 @@ function Yu() {
|
|
|
1868
1868
|
e[n] ? j(`${t} property "${n}" is already defined in ${e[n]}.`) : e[n] = t;
|
|
1869
1869
|
};
|
|
1870
1870
|
}
|
|
1871
|
-
let
|
|
1871
|
+
let Fo = !0;
|
|
1872
1872
|
function qu(e) {
|
|
1873
1873
|
const t = Ac(e), n = e.proxy, r = e.ctx;
|
|
1874
|
-
|
|
1874
|
+
Fo = !1, t.beforeCreate && js(t.beforeCreate, e, "bc");
|
|
1875
1875
|
const {
|
|
1876
1876
|
// state
|
|
1877
1877
|
data: o,
|
|
@@ -1888,8 +1888,8 @@ function qu(e) {
|
|
|
1888
1888
|
updated: P,
|
|
1889
1889
|
activated: F,
|
|
1890
1890
|
deactivated: W,
|
|
1891
|
-
beforeDestroy:
|
|
1892
|
-
beforeUnmount:
|
|
1891
|
+
beforeDestroy: K,
|
|
1892
|
+
beforeUnmount: Q,
|
|
1893
1893
|
destroyed: U,
|
|
1894
1894
|
unmounted: oe,
|
|
1895
1895
|
render: L,
|
|
@@ -1908,19 +1908,19 @@ function qu(e) {
|
|
|
1908
1908
|
if (process.env.NODE_ENV !== "production") {
|
|
1909
1909
|
const [B] = e.propsOptions;
|
|
1910
1910
|
if (B)
|
|
1911
|
-
for (const
|
|
1912
|
-
ce("Props",
|
|
1911
|
+
for (const ee in B)
|
|
1912
|
+
ce("Props", ee);
|
|
1913
1913
|
}
|
|
1914
1914
|
if (E && zu(E, r, ce), i)
|
|
1915
1915
|
for (const B in i) {
|
|
1916
|
-
const
|
|
1917
|
-
pe(
|
|
1918
|
-
value:
|
|
1916
|
+
const ee = i[B];
|
|
1917
|
+
pe(ee) ? (process.env.NODE_ENV !== "production" ? Object.defineProperty(r, B, {
|
|
1918
|
+
value: ee.bind(n),
|
|
1919
1919
|
configurable: !0,
|
|
1920
1920
|
enumerable: !0,
|
|
1921
1921
|
writable: !0
|
|
1922
|
-
}) : r[B] =
|
|
1923
|
-
`Method "${B}" has type "${typeof
|
|
1922
|
+
}) : r[B] = ee.bind(n), process.env.NODE_ENV !== "production" && ce("Methods", B)) : process.env.NODE_ENV !== "production" && j(
|
|
1923
|
+
`Method "${B}" has type "${typeof ee}" in the component definition. Did you reference the function correctly?`
|
|
1924
1924
|
);
|
|
1925
1925
|
}
|
|
1926
1926
|
if (o) {
|
|
@@ -1928,24 +1928,24 @@ function qu(e) {
|
|
|
1928
1928
|
"The data option must be a function. Plain object usage is no longer supported."
|
|
1929
1929
|
);
|
|
1930
1930
|
const B = o.call(n, n);
|
|
1931
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
1931
|
+
if (process.env.NODE_ENV !== "production" && ts(B) && j(
|
|
1932
1932
|
"data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."
|
|
1933
1933
|
), !De(B))
|
|
1934
1934
|
process.env.NODE_ENV !== "production" && j("data() should return an object.");
|
|
1935
|
-
else if (e.data =
|
|
1936
|
-
for (const
|
|
1937
|
-
ce("Data",
|
|
1935
|
+
else if (e.data = ls(B), process.env.NODE_ENV !== "production")
|
|
1936
|
+
for (const ee in B)
|
|
1937
|
+
ce("Data", ee), vs(ee[0]) || Object.defineProperty(r, ee, {
|
|
1938
1938
|
configurable: !0,
|
|
1939
1939
|
enumerable: !0,
|
|
1940
|
-
get: () => B[
|
|
1940
|
+
get: () => B[ee],
|
|
1941
1941
|
set: Be
|
|
1942
1942
|
});
|
|
1943
1943
|
}
|
|
1944
|
-
if (
|
|
1944
|
+
if (Fo = !0, s)
|
|
1945
1945
|
for (const B in s) {
|
|
1946
|
-
const
|
|
1946
|
+
const ee = s[B], ve = pe(ee) ? ee.bind(n, n) : pe(ee.get) ? ee.get.bind(n, n) : Be;
|
|
1947
1947
|
process.env.NODE_ENV !== "production" && ve === Be && j(`Computed property "${B}" has no getter.`);
|
|
1948
|
-
const T = !pe(
|
|
1948
|
+
const T = !pe(ee) && pe(ee.set) ? ee.set.bind(n) : process.env.NODE_ENV !== "production" ? () => {
|
|
1949
1949
|
j(
|
|
1950
1950
|
`Write operation failed: computed property "${B}" is readonly.`
|
|
1951
1951
|
);
|
|
@@ -1965,36 +1965,36 @@ function qu(e) {
|
|
|
1965
1965
|
Sc(c[B], r, n, B);
|
|
1966
1966
|
if (l) {
|
|
1967
1967
|
const B = pe(l) ? l.call(n) : l;
|
|
1968
|
-
Reflect.ownKeys(B).forEach((
|
|
1969
|
-
tl(
|
|
1968
|
+
Reflect.ownKeys(B).forEach((ee) => {
|
|
1969
|
+
tl(ee, B[ee]);
|
|
1970
1970
|
});
|
|
1971
1971
|
}
|
|
1972
|
-
p &&
|
|
1973
|
-
function ie(B,
|
|
1974
|
-
ae(
|
|
1972
|
+
p && js(p, e, "c");
|
|
1973
|
+
function ie(B, ee) {
|
|
1974
|
+
ae(ee) ? ee.forEach((ve) => B(ve.bind(n))) : ee && B(ee.bind(n));
|
|
1975
1975
|
}
|
|
1976
|
-
if (ie(Mu, d), ie(bc, h), ie(Lu, S), ie(Vu, P), ie(Pu, F), ie(Iu, W), ie(Bu, he), ie(Fu, re), ie(Wu, ue), ie(ju,
|
|
1976
|
+
if (ie(Mu, d), ie(bc, h), ie(Lu, S), ie(Vu, P), ie(Pu, F), ie(Iu, W), ie(Bu, he), ie(Fu, re), ie(Wu, ue), ie(ju, Q), ie(wc, oe), ie(Hu, le), ae(be))
|
|
1977
1977
|
if (be.length) {
|
|
1978
1978
|
const B = e.exposed || (e.exposed = {});
|
|
1979
|
-
be.forEach((
|
|
1980
|
-
Object.defineProperty(B,
|
|
1981
|
-
get: () => n[
|
|
1982
|
-
set: (ve) => n[
|
|
1979
|
+
be.forEach((ee) => {
|
|
1980
|
+
Object.defineProperty(B, ee, {
|
|
1981
|
+
get: () => n[ee],
|
|
1982
|
+
set: (ve) => n[ee] = ve
|
|
1983
1983
|
});
|
|
1984
1984
|
});
|
|
1985
1985
|
} else e.exposed || (e.exposed = {});
|
|
1986
1986
|
L && e.render === Be && (e.render = L), Y != null && (e.inheritAttrs = Y), w && (e.components = w), q && (e.directives = q), le && yc(e);
|
|
1987
1987
|
}
|
|
1988
1988
|
function zu(e, t, n = Be) {
|
|
1989
|
-
ae(e) && (e =
|
|
1989
|
+
ae(e) && (e = Bo(e));
|
|
1990
1990
|
for (const r in e) {
|
|
1991
1991
|
const o = e[r];
|
|
1992
1992
|
let s;
|
|
1993
|
-
De(o) ? "default" in o ? s =
|
|
1993
|
+
De(o) ? "default" in o ? s = Tr(
|
|
1994
1994
|
o.from || r,
|
|
1995
1995
|
o.default,
|
|
1996
1996
|
!0
|
|
1997
|
-
) : s =
|
|
1997
|
+
) : s = Tr(o.from || r) : s = Tr(o), je(s) ? Object.defineProperty(t, r, {
|
|
1998
1998
|
enumerable: !0,
|
|
1999
1999
|
configurable: !0,
|
|
2000
2000
|
get: () => s.value,
|
|
@@ -2002,7 +2002,7 @@ function zu(e, t, n = Be) {
|
|
|
2002
2002
|
}) : t[r] = s, process.env.NODE_ENV !== "production" && n("Inject", r);
|
|
2003
2003
|
}
|
|
2004
2004
|
}
|
|
2005
|
-
function
|
|
2005
|
+
function js(e, t, n) {
|
|
2006
2006
|
Pt(
|
|
2007
2007
|
ae(e) ? e.map((r) => r.bind(t.proxy)) : e.bind(t.proxy),
|
|
2008
2008
|
t,
|
|
@@ -2033,13 +2033,13 @@ function Ac(e) {
|
|
|
2033
2033
|
} = e.appContext, c = s.get(t);
|
|
2034
2034
|
let l;
|
|
2035
2035
|
return c ? l = c : !o.length && !n && !r ? l = t : (l = {}, o.length && o.forEach(
|
|
2036
|
-
(E) =>
|
|
2037
|
-
),
|
|
2036
|
+
(E) => Ur(l, E, i, !0)
|
|
2037
|
+
), Ur(l, t, i)), De(t) && s.set(t, l), l;
|
|
2038
2038
|
}
|
|
2039
|
-
function
|
|
2039
|
+
function Ur(e, t, n, r = !1) {
|
|
2040
2040
|
const { mixins: o, extends: s } = t;
|
|
2041
|
-
s &&
|
|
2042
|
-
(i) =>
|
|
2041
|
+
s && Ur(e, s, n, !0), o && o.forEach(
|
|
2042
|
+
(i) => Ur(e, i, n, !0)
|
|
2043
2043
|
);
|
|
2044
2044
|
for (const i in t)
|
|
2045
2045
|
if (r && i === "expose")
|
|
@@ -2053,9 +2053,9 @@ function Br(e, t, n, r = !1) {
|
|
|
2053
2053
|
return e;
|
|
2054
2054
|
}
|
|
2055
2055
|
const Ju = {
|
|
2056
|
-
data:
|
|
2057
|
-
props:
|
|
2058
|
-
emits:
|
|
2056
|
+
data: Hs,
|
|
2057
|
+
props: Ws,
|
|
2058
|
+
emits: Ws,
|
|
2059
2059
|
// objects
|
|
2060
2060
|
methods: zn,
|
|
2061
2061
|
computed: zn,
|
|
@@ -2080,10 +2080,10 @@ const Ju = {
|
|
|
2080
2080
|
// watch
|
|
2081
2081
|
watch: Zu,
|
|
2082
2082
|
// provide / inject
|
|
2083
|
-
provide:
|
|
2083
|
+
provide: Hs,
|
|
2084
2084
|
inject: Xu
|
|
2085
2085
|
};
|
|
2086
|
-
function
|
|
2086
|
+
function Hs(e, t) {
|
|
2087
2087
|
return t ? e ? function() {
|
|
2088
2088
|
return He(
|
|
2089
2089
|
pe(e) ? e.call(this, this) : e,
|
|
@@ -2092,9 +2092,9 @@ function js(e, t) {
|
|
|
2092
2092
|
} : t : e;
|
|
2093
2093
|
}
|
|
2094
2094
|
function Xu(e, t) {
|
|
2095
|
-
return zn(
|
|
2095
|
+
return zn(Bo(e), Bo(t));
|
|
2096
2096
|
}
|
|
2097
|
-
function
|
|
2097
|
+
function Bo(e) {
|
|
2098
2098
|
if (ae(e)) {
|
|
2099
2099
|
const t = {};
|
|
2100
2100
|
for (let n = 0; n < e.length; n++)
|
|
@@ -2109,11 +2109,11 @@ function Xe(e, t) {
|
|
|
2109
2109
|
function zn(e, t) {
|
|
2110
2110
|
return e ? He(/* @__PURE__ */ Object.create(null), e, t) : t;
|
|
2111
2111
|
}
|
|
2112
|
-
function
|
|
2112
|
+
function Ws(e, t) {
|
|
2113
2113
|
return e ? ae(e) && ae(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : He(
|
|
2114
2114
|
/* @__PURE__ */ Object.create(null),
|
|
2115
|
-
|
|
2116
|
-
|
|
2115
|
+
Vs(e),
|
|
2116
|
+
Vs(t ?? {})
|
|
2117
2117
|
) : t;
|
|
2118
2118
|
}
|
|
2119
2119
|
function Zu(e, t) {
|
|
@@ -2158,7 +2158,7 @@ function el(e, t) {
|
|
|
2158
2158
|
_container: null,
|
|
2159
2159
|
_context: s,
|
|
2160
2160
|
_instance: null,
|
|
2161
|
-
version:
|
|
2161
|
+
version: Zs,
|
|
2162
2162
|
get config() {
|
|
2163
2163
|
return s.config;
|
|
2164
2164
|
},
|
|
@@ -2178,7 +2178,7 @@ function el(e, t) {
|
|
|
2178
2178
|
) : s.mixins.push(p), E;
|
|
2179
2179
|
},
|
|
2180
2180
|
component(p, d) {
|
|
2181
|
-
return process.env.NODE_ENV !== "production" &&
|
|
2181
|
+
return process.env.NODE_ENV !== "production" && Yo(p, s.config), d ? (process.env.NODE_ENV !== "production" && s.components[p] && j(`Component "${p}" has already been registered in target app.`), s.components[p] = d, E) : s.components[p];
|
|
2182
2182
|
},
|
|
2183
2183
|
directive(p, d) {
|
|
2184
2184
|
return process.env.NODE_ENV !== "production" && Ec(p), d ? (process.env.NODE_ENV !== "production" && s.directives[p] && j(`Directive "${p}" has already been registered in target app.`), s.directives[p] = d, E) : s.directives[p];
|
|
@@ -2199,7 +2199,7 @@ function el(e, t) {
|
|
|
2199
2199
|
p,
|
|
2200
2200
|
h
|
|
2201
2201
|
);
|
|
2202
|
-
}), e(S, p, h), l = !0, E._container = p, p.__vue_app__ = E, process.env.NODE_ENV !== "production" && (E._instance = S.component, yu(E,
|
|
2202
|
+
}), e(S, p, h), l = !0, E._container = p, p.__vue_app__ = E, process.env.NODE_ENV !== "production" && (E._instance = S.component, yu(E, Zs)), no(S.component);
|
|
2203
2203
|
}
|
|
2204
2204
|
},
|
|
2205
2205
|
onUnmount(p) {
|
|
@@ -2242,7 +2242,7 @@ function tl(e, t) {
|
|
|
2242
2242
|
r === n && (n = Ke.provides = Object.create(r)), n[e] = t;
|
|
2243
2243
|
}
|
|
2244
2244
|
}
|
|
2245
|
-
function
|
|
2245
|
+
function Tr(e, t, n = !1) {
|
|
2246
2246
|
const r = Ke || et;
|
|
2247
2247
|
if (r || Rn) {
|
|
2248
2248
|
const o = Rn ? Rn._context.provides : r ? r.parent == null ? r.vnode.appContext && r.vnode.appContext.provides : r.parent.provides : void 0;
|
|
@@ -2284,7 +2284,7 @@ function ol(e, t, n, r) {
|
|
|
2284
2284
|
const p = e.vnode.dynamicProps;
|
|
2285
2285
|
for (let d = 0; d < p.length; d++) {
|
|
2286
2286
|
let h = p[d];
|
|
2287
|
-
if (
|
|
2287
|
+
if (to(e.emitsOptions, h))
|
|
2288
2288
|
continue;
|
|
2289
2289
|
const S = t[h];
|
|
2290
2290
|
if (l)
|
|
@@ -2292,7 +2292,7 @@ function ol(e, t, n, r) {
|
|
|
2292
2292
|
S !== s[h] && (s[h] = S, E = !0);
|
|
2293
2293
|
else {
|
|
2294
2294
|
const P = mt(h);
|
|
2295
|
-
o[P] =
|
|
2295
|
+
o[P] = Uo(
|
|
2296
2296
|
l,
|
|
2297
2297
|
c,
|
|
2298
2298
|
P,
|
|
@@ -2314,7 +2314,7 @@ function ol(e, t, n, r) {
|
|
|
2314
2314
|
// and converted to camelCase (#955)
|
|
2315
2315
|
((p = tn(d)) === d || !Oe(t, p))) && (l ? n && // for camelCase
|
|
2316
2316
|
(n[d] !== void 0 || // for kebab-case
|
|
2317
|
-
n[p] !== void 0) && (o[d] =
|
|
2317
|
+
n[p] !== void 0) && (o[d] = Uo(
|
|
2318
2318
|
l,
|
|
2319
2319
|
c,
|
|
2320
2320
|
d,
|
|
@@ -2337,13 +2337,13 @@ function Dc(e, t, n, r) {
|
|
|
2337
2337
|
continue;
|
|
2338
2338
|
const E = t[l];
|
|
2339
2339
|
let p;
|
|
2340
|
-
o && Oe(o, p = mt(l)) ? !s || !s.includes(p) ? n[p] = E : (c || (c = {}))[p] = E :
|
|
2340
|
+
o && Oe(o, p = mt(l)) ? !s || !s.includes(p) ? n[p] = E : (c || (c = {}))[p] = E : to(e.emitsOptions, l) || (!(l in r) || E !== r[l]) && (r[l] = E, i = !0);
|
|
2341
2341
|
}
|
|
2342
2342
|
if (s) {
|
|
2343
2343
|
const l = Ee(n), E = c || Ne;
|
|
2344
2344
|
for (let p = 0; p < s.length; p++) {
|
|
2345
2345
|
const d = s[p];
|
|
2346
|
-
n[d] =
|
|
2346
|
+
n[d] = Uo(
|
|
2347
2347
|
o,
|
|
2348
2348
|
l,
|
|
2349
2349
|
d,
|
|
@@ -2355,7 +2355,7 @@ function Dc(e, t, n, r) {
|
|
|
2355
2355
|
}
|
|
2356
2356
|
return i;
|
|
2357
2357
|
}
|
|
2358
|
-
function
|
|
2358
|
+
function Uo(e, t, n, r, o, s) {
|
|
2359
2359
|
const i = e[n];
|
|
2360
2360
|
if (i != null) {
|
|
2361
2361
|
const c = Oe(i, "default");
|
|
@@ -2407,18 +2407,18 @@ function Cc(e, t, n = !1) {
|
|
|
2407
2407
|
for (let p = 0; p < s.length; p++) {
|
|
2408
2408
|
process.env.NODE_ENV !== "production" && !We(s[p]) && j("props must be strings when using array syntax.", s[p]);
|
|
2409
2409
|
const d = mt(s[p]);
|
|
2410
|
-
|
|
2410
|
+
Fs(d) && (i[d] = Ne);
|
|
2411
2411
|
}
|
|
2412
2412
|
else if (s) {
|
|
2413
2413
|
process.env.NODE_ENV !== "production" && !De(s) && j("invalid props options", s);
|
|
2414
2414
|
for (const p in s) {
|
|
2415
2415
|
const d = mt(p);
|
|
2416
|
-
if (
|
|
2416
|
+
if (Fs(d)) {
|
|
2417
2417
|
const h = s[p], S = i[d] = ae(h) || pe(h) ? { type: h } : He({}, h), P = S.type;
|
|
2418
2418
|
let F = !1, W = !0;
|
|
2419
2419
|
if (ae(P))
|
|
2420
|
-
for (let
|
|
2421
|
-
const
|
|
2420
|
+
for (let K = 0; K < P.length; ++K) {
|
|
2421
|
+
const Q = P[K], U = pe(Q) && Q.name;
|
|
2422
2422
|
if (U === "Boolean") {
|
|
2423
2423
|
F = !0;
|
|
2424
2424
|
break;
|
|
@@ -2439,7 +2439,7 @@ function Cc(e, t, n = !1) {
|
|
|
2439
2439
|
const E = [i, c];
|
|
2440
2440
|
return De(e) && r.set(e, E), E;
|
|
2441
2441
|
}
|
|
2442
|
-
function
|
|
2442
|
+
function Fs(e) {
|
|
2443
2443
|
return e[0] !== "$" && !Xn(e) ? !0 : (process.env.NODE_ENV !== "production" && j(`Invalid prop name: "${e}" is a reserved property.`), !1);
|
|
2444
2444
|
}
|
|
2445
2445
|
function il(e) {
|
|
@@ -2500,25 +2500,25 @@ function ul(e, t) {
|
|
|
2500
2500
|
function ll(e, t, n) {
|
|
2501
2501
|
if (n.length === 0)
|
|
2502
2502
|
return `Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;
|
|
2503
|
-
let r = `Invalid prop: type check failed for prop "${e}". Expected ${n.map(
|
|
2504
|
-
const o = n[0], s =
|
|
2505
|
-
return n.length === 1 &&
|
|
2503
|
+
let r = `Invalid prop: type check failed for prop "${e}". Expected ${n.map(Jr).join(" | ")}`;
|
|
2504
|
+
const o = n[0], s = ns(t), i = Bs(t, o), c = Bs(t, s);
|
|
2505
|
+
return n.length === 1 && Us(o) && !fl(o, s) && (r += ` with value ${i}`), r += `, got ${s} `, Us(s) && (r += `with value ${c}.`), r;
|
|
2506
2506
|
}
|
|
2507
|
-
function
|
|
2507
|
+
function Bs(e, t) {
|
|
2508
2508
|
return t === "String" ? `"${e}"` : t === "Number" ? `${Number(e)}` : `${e}`;
|
|
2509
2509
|
}
|
|
2510
|
-
function
|
|
2510
|
+
function Us(e) {
|
|
2511
2511
|
return ["string", "number", "boolean"].some((n) => e.toLowerCase() === n);
|
|
2512
2512
|
}
|
|
2513
2513
|
function fl(...e) {
|
|
2514
2514
|
return e.some((t) => t.toLowerCase() === "boolean");
|
|
2515
2515
|
}
|
|
2516
|
-
const Ic = (e) => e[0] === "_" || e === "$stable",
|
|
2516
|
+
const Ic = (e) => e[0] === "_" || e === "$stable", Es = (e) => ae(e) ? e.map(ht) : [ht(e)], pl = (e, t, n) => {
|
|
2517
2517
|
if (t._n)
|
|
2518
2518
|
return t;
|
|
2519
2519
|
const r = Tu((...o) => (process.env.NODE_ENV !== "production" && Ke && (!n || n.root === Ke.root) && j(
|
|
2520
2520
|
`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`
|
|
2521
|
-
),
|
|
2521
|
+
), Es(t(...o))), n);
|
|
2522
2522
|
return r._c = !1, r;
|
|
2523
2523
|
}, $c = (e, t, n) => {
|
|
2524
2524
|
const r = e._ctx;
|
|
@@ -2531,31 +2531,31 @@ const Ic = (e) => e[0] === "_" || e === "$stable", vs = (e) => ae(e) ? e.map(ht)
|
|
|
2531
2531
|
process.env.NODE_ENV !== "production" && j(
|
|
2532
2532
|
`Non-function value encountered for slot "${o}". Prefer function slots for better performance.`
|
|
2533
2533
|
);
|
|
2534
|
-
const i =
|
|
2534
|
+
const i = Es(s);
|
|
2535
2535
|
t[o] = () => i;
|
|
2536
2536
|
}
|
|
2537
2537
|
}
|
|
2538
2538
|
}, Mc = (e, t) => {
|
|
2539
|
-
process.env.NODE_ENV !== "production" && !
|
|
2539
|
+
process.env.NODE_ENV !== "production" && !ms(e.vnode) && j(
|
|
2540
2540
|
"Non-function value encountered for default slot. Prefer function slots for better performance."
|
|
2541
2541
|
);
|
|
2542
|
-
const n =
|
|
2542
|
+
const n = Es(t);
|
|
2543
2543
|
e.slots.default = () => n;
|
|
2544
|
-
},
|
|
2544
|
+
}, Go = (e, t, n) => {
|
|
2545
2545
|
for (const r in t)
|
|
2546
2546
|
(n || r !== "_") && (e[r] = t[r]);
|
|
2547
2547
|
}, dl = (e, t, n) => {
|
|
2548
2548
|
const r = e.slots = Rc();
|
|
2549
2549
|
if (e.vnode.shapeFlag & 32) {
|
|
2550
2550
|
const o = t._;
|
|
2551
|
-
o ? (
|
|
2551
|
+
o ? (Go(r, t, n), n && Lr(r, "_", o, !0)) : $c(t, r);
|
|
2552
2552
|
} else t && Mc(e, t);
|
|
2553
2553
|
}, hl = (e, t, n) => {
|
|
2554
2554
|
const { vnode: r, slots: o } = e;
|
|
2555
2555
|
let s = !0, i = Ne;
|
|
2556
2556
|
if (r.shapeFlag & 32) {
|
|
2557
2557
|
const c = t._;
|
|
2558
|
-
c ? process.env.NODE_ENV !== "production" && Dt ? (
|
|
2558
|
+
c ? process.env.NODE_ENV !== "production" && Dt ? (Go(o, t, n), Tt(e, "set", "$slots")) : n && c === 1 ? s = !1 : Go(o, t, n) : (s = !t.$stable, $c(t, o)), i = t;
|
|
2559
2559
|
} else t && (Mc(e, t), i = { default: 1 });
|
|
2560
2560
|
if (s)
|
|
2561
2561
|
for (const c in o)
|
|
@@ -2563,20 +2563,20 @@ const Ic = (e) => e[0] === "_" || e === "$stable", vs = (e) => ae(e) ? e.map(ht)
|
|
|
2563
2563
|
};
|
|
2564
2564
|
let Gn, Qt;
|
|
2565
2565
|
function bn(e, t) {
|
|
2566
|
-
e.appContext.config.performance &&
|
|
2566
|
+
e.appContext.config.performance && Gr() && Qt.mark(`vue-${t}-${e.uid}`), process.env.NODE_ENV !== "production" && Su(e, t, Gr() ? Qt.now() : Date.now());
|
|
2567
2567
|
}
|
|
2568
2568
|
function wn(e, t) {
|
|
2569
|
-
if (e.appContext.config.performance &&
|
|
2569
|
+
if (e.appContext.config.performance && Gr()) {
|
|
2570
2570
|
const n = `vue-${t}-${e.uid}`, r = n + ":end";
|
|
2571
2571
|
Qt.mark(r), Qt.measure(
|
|
2572
|
-
`<${
|
|
2572
|
+
`<${ro(e, e.type)}> ${t}`,
|
|
2573
2573
|
n,
|
|
2574
2574
|
r
|
|
2575
2575
|
), Qt.clearMarks(n), Qt.clearMarks(r);
|
|
2576
2576
|
}
|
|
2577
|
-
process.env.NODE_ENV !== "production" && Au(e, t,
|
|
2577
|
+
process.env.NODE_ENV !== "production" && Au(e, t, Gr() ? Qt.now() : Date.now());
|
|
2578
2578
|
}
|
|
2579
|
-
function
|
|
2579
|
+
function Gr() {
|
|
2580
2580
|
return Gn !== void 0 || (typeof window < "u" && window.performance ? (Gn = !0, Qt = window.performance) : Gn = !1), Gn;
|
|
2581
2581
|
}
|
|
2582
2582
|
function gl() {
|
|
@@ -2592,7 +2592,7 @@ function ml(e) {
|
|
|
2592
2592
|
function vl(e, t) {
|
|
2593
2593
|
gl();
|
|
2594
2594
|
const n = fr();
|
|
2595
|
-
n.__VUE__ = !0, process.env.NODE_ENV !== "production" &&
|
|
2595
|
+
n.__VUE__ = !0, process.env.NODE_ENV !== "production" && ds(n.__VUE_DEVTOOLS_GLOBAL_HOOK__, n);
|
|
2596
2596
|
const {
|
|
2597
2597
|
insert: r,
|
|
2598
2598
|
remove: o,
|
|
@@ -2616,10 +2616,10 @@ function vl(e, t) {
|
|
|
2616
2616
|
W(f, g, y, C);
|
|
2617
2617
|
break;
|
|
2618
2618
|
case ut:
|
|
2619
|
-
|
|
2619
|
+
K(f, g, y, C);
|
|
2620
2620
|
break;
|
|
2621
|
-
case
|
|
2622
|
-
f == null ?
|
|
2621
|
+
case xr:
|
|
2622
|
+
f == null ? Q(g, y, C, I) : process.env.NODE_ENV !== "production" && U(f, g, y, I);
|
|
2623
2623
|
break;
|
|
2624
2624
|
case Nt:
|
|
2625
2625
|
q(
|
|
@@ -2668,7 +2668,7 @@ function vl(e, t) {
|
|
|
2668
2668
|
H
|
|
2669
2669
|
) : process.env.NODE_ENV !== "production" && j("Invalid VNode type:", R, `(${typeof R})`);
|
|
2670
2670
|
}
|
|
2671
|
-
G != null && x &&
|
|
2671
|
+
G != null && x && Br(G, f && f.ref, _, g || f, !g);
|
|
2672
2672
|
}, W = (f, g, y, C) => {
|
|
2673
2673
|
if (f == null)
|
|
2674
2674
|
r(
|
|
@@ -2680,13 +2680,13 @@ function vl(e, t) {
|
|
|
2680
2680
|
const x = g.el = f.el;
|
|
2681
2681
|
g.children !== f.children && E(x, g.children);
|
|
2682
2682
|
}
|
|
2683
|
-
},
|
|
2683
|
+
}, K = (f, g, y, C) => {
|
|
2684
2684
|
f == null ? r(
|
|
2685
2685
|
g.el = l(g.children || ""),
|
|
2686
2686
|
y,
|
|
2687
2687
|
C
|
|
2688
2688
|
) : g.el = f.el;
|
|
2689
|
-
},
|
|
2689
|
+
}, Q = (f, g, y, C) => {
|
|
2690
2690
|
[f.el, f.anchor] = P(
|
|
2691
2691
|
f.children,
|
|
2692
2692
|
g,
|
|
@@ -2749,7 +2749,7 @@ function vl(e, t) {
|
|
|
2749
2749
|
null,
|
|
2750
2750
|
C,
|
|
2751
2751
|
x,
|
|
2752
|
-
|
|
2752
|
+
bo(f, _),
|
|
2753
2753
|
I,
|
|
2754
2754
|
b
|
|
2755
2755
|
), se && on(f, null, C, "created"), he(N, f, f.scopeId, I, C), G) {
|
|
@@ -2757,7 +2757,7 @@ function vl(e, t) {
|
|
|
2757
2757
|
Te !== "value" && !Xn(Te) && s(N, Te, null, G[Te], _, C);
|
|
2758
2758
|
"value" in G && s(N, "value", null, G.value, _), (R = G.onVnodeBeforeMount) && bt(R, C, f);
|
|
2759
2759
|
}
|
|
2760
|
-
process.env.NODE_ENV !== "production" && (
|
|
2760
|
+
process.env.NODE_ENV !== "production" && (Lr(N, "__vnode", f, !0), Lr(N, "__vueParentComponent", C, !0)), se && on(f, null, C, "beforeMount");
|
|
2761
2761
|
const ye = El(x, Z);
|
|
2762
2762
|
ye && Z.beforeEnter(N), r(N, g, y), ((R = G && G.onVnodeMounted) || ye || se) && st(() => {
|
|
2763
2763
|
R && bt(R, C, f), ye && Z.enter(N), se && on(f, null, C, "mounted");
|
|
@@ -2768,7 +2768,7 @@ function vl(e, t) {
|
|
|
2768
2768
|
S(f, C[_]);
|
|
2769
2769
|
if (x) {
|
|
2770
2770
|
let _ = x.subTree;
|
|
2771
|
-
if (process.env.NODE_ENV !== "production" && _.patchFlag > 0 && _.patchFlag & 2048 && (_ =
|
|
2771
|
+
if (process.env.NODE_ENV !== "production" && _.patchFlag > 0 && _.patchFlag & 2048 && (_ = ys(_.children) || _), g === _ || Fc(_.type) && (_.ssContent === g || _.ssFallback === g)) {
|
|
2772
2772
|
const I = x.vnode;
|
|
2773
2773
|
he(
|
|
2774
2774
|
f,
|
|
@@ -2807,16 +2807,16 @@ function vl(e, t) {
|
|
|
2807
2807
|
b,
|
|
2808
2808
|
y,
|
|
2809
2809
|
C,
|
|
2810
|
-
|
|
2810
|
+
bo(g, x),
|
|
2811
2811
|
_
|
|
2812
|
-
), process.env.NODE_ENV !== "production" &&
|
|
2812
|
+
), process.env.NODE_ENV !== "production" && Rr(f, g)) : I || ve(
|
|
2813
2813
|
f,
|
|
2814
2814
|
g,
|
|
2815
2815
|
b,
|
|
2816
2816
|
null,
|
|
2817
2817
|
y,
|
|
2818
2818
|
C,
|
|
2819
|
-
|
|
2819
|
+
bo(g, x),
|
|
2820
2820
|
_,
|
|
2821
2821
|
!1
|
|
2822
2822
|
), N > 0) {
|
|
@@ -2908,12 +2908,12 @@ function vl(e, t) {
|
|
|
2908
2908
|
_,
|
|
2909
2909
|
I,
|
|
2910
2910
|
b
|
|
2911
|
-
), process.env.NODE_ENV !== "production" ?
|
|
2911
|
+
), process.env.NODE_ENV !== "production" ? Rr(f, g) : (
|
|
2912
2912
|
// #2080 if the stable fragment has a key, it's a <template v-for> that may
|
|
2913
2913
|
// get moved around. Make sure all root level vnodes inherit el.
|
|
2914
2914
|
// #2134 or if it's a component root, it may also get moved around
|
|
2915
2915
|
// as the component is being moved.
|
|
2916
|
-
(g.key != null || x && g === x.subTree) &&
|
|
2916
|
+
(g.key != null || x && g === x.subTree) && Rr(
|
|
2917
2917
|
f,
|
|
2918
2918
|
g,
|
|
2919
2919
|
!0
|
|
@@ -2952,10 +2952,10 @@ function vl(e, t) {
|
|
|
2952
2952
|
C,
|
|
2953
2953
|
x
|
|
2954
2954
|
);
|
|
2955
|
-
if (process.env.NODE_ENV !== "production" && b.type.__hmrId && gu(b), process.env.NODE_ENV !== "production" && (
|
|
2955
|
+
if (process.env.NODE_ENV !== "production" && b.type.__hmrId && gu(b), process.env.NODE_ENV !== "production" && (Sr(f), bn(b, "mount")), ms(f) && (b.ctx.renderer = H), process.env.NODE_ENV !== "production" && bn(b, "init"), Fl(b, !1, I), process.env.NODE_ENV !== "production" && wn(b, "init"), b.asyncDep) {
|
|
2956
2956
|
if (process.env.NODE_ENV !== "production" && Dt && (f.el = null), x && x.registerDep(b, B, I), !f.el) {
|
|
2957
2957
|
const N = b.subTree = at(ut);
|
|
2958
|
-
|
|
2958
|
+
K(null, N, g, y);
|
|
2959
2959
|
}
|
|
2960
2960
|
} else
|
|
2961
2961
|
B(
|
|
@@ -2967,12 +2967,12 @@ function vl(e, t) {
|
|
|
2967
2967
|
_,
|
|
2968
2968
|
I
|
|
2969
2969
|
);
|
|
2970
|
-
process.env.NODE_ENV !== "production" && (
|
|
2970
|
+
process.env.NODE_ENV !== "production" && (Ar(), wn(b, "mount"));
|
|
2971
2971
|
}, ie = (f, g, y) => {
|
|
2972
2972
|
const C = g.component = f.component;
|
|
2973
2973
|
if (Tl(f, g, y))
|
|
2974
2974
|
if (C.asyncDep && !C.asyncResolved) {
|
|
2975
|
-
process.env.NODE_ENV !== "production" &&
|
|
2975
|
+
process.env.NODE_ENV !== "production" && Sr(g), ee(C, g, y), process.env.NODE_ENV !== "production" && Ar();
|
|
2976
2976
|
return;
|
|
2977
2977
|
} else
|
|
2978
2978
|
C.next = g, C.update();
|
|
@@ -2985,15 +2985,15 @@ function vl(e, t) {
|
|
|
2985
2985
|
{
|
|
2986
2986
|
const tt = Lc(f);
|
|
2987
2987
|
if (tt) {
|
|
2988
|
-
M && (M.el = Te.el,
|
|
2988
|
+
M && (M.el = Te.el, ee(f, M, I)), tt.asyncDep.then(() => {
|
|
2989
2989
|
f.isUnmounted || b();
|
|
2990
2990
|
});
|
|
2991
2991
|
return;
|
|
2992
2992
|
}
|
|
2993
2993
|
}
|
|
2994
2994
|
let Se = M, qe;
|
|
2995
|
-
process.env.NODE_ENV !== "production" &&
|
|
2996
|
-
const ke =
|
|
2995
|
+
process.env.NODE_ENV !== "production" && Sr(M || f.vnode), sn(f, !1), M ? (M.el = Te.el, ee(f, M, I)) : M = Te, Z && Bn(Z), (qe = M.props && M.props.onVnodeBeforeUpdate) && bt(qe, ye, M, Te), sn(f, !0), process.env.NODE_ENV !== "production" && bn(f, "render");
|
|
2996
|
+
const ke = Ks(f);
|
|
2997
2997
|
process.env.NODE_ENV !== "production" && wn(f, "render");
|
|
2998
2998
|
const ot = f.subTree;
|
|
2999
2999
|
f.subTree = ke, process.env.NODE_ENV !== "production" && bn(f, "patch"), F(
|
|
@@ -3009,14 +3009,14 @@ function vl(e, t) {
|
|
|
3009
3009
|
), process.env.NODE_ENV !== "production" && wn(f, "patch"), M.el = ke.el, Se === null && Rl(f, ke.el), se && st(se, x), (qe = M.props && M.props.onVnodeUpdated) && st(
|
|
3010
3010
|
() => bt(qe, ye, M, Te),
|
|
3011
3011
|
x
|
|
3012
|
-
), process.env.NODE_ENV !== "production" && gc(f), process.env.NODE_ENV !== "production" &&
|
|
3012
|
+
), process.env.NODE_ENV !== "production" && gc(f), process.env.NODE_ENV !== "production" && Ar();
|
|
3013
3013
|
} else {
|
|
3014
3014
|
let M;
|
|
3015
3015
|
const { el: Z, props: se } = g, { bm: ye, m: Te, parent: Se, root: qe, type: ke } = f, ot = er(g);
|
|
3016
3016
|
sn(f, !1), ye && Bn(ye), !ot && (M = se && se.onVnodeBeforeMount) && bt(M, Se, g), sn(f, !0);
|
|
3017
3017
|
{
|
|
3018
3018
|
qe.ce && qe.ce._injectChildStyle(ke), process.env.NODE_ENV !== "production" && bn(f, "render");
|
|
3019
|
-
const tt = f.subTree =
|
|
3019
|
+
const tt = f.subTree = Ks(f);
|
|
3020
3020
|
process.env.NODE_ENV !== "production" && wn(f, "render"), process.env.NODE_ENV !== "production" && bn(f, "patch"), F(
|
|
3021
3021
|
null,
|
|
3022
3022
|
tt,
|
|
@@ -3041,11 +3041,11 @@ function vl(e, t) {
|
|
|
3041
3041
|
const N = f.effect = new Gi(b);
|
|
3042
3042
|
f.scope.off();
|
|
3043
3043
|
const R = f.update = N.run.bind(N), G = f.job = N.runIfDirty.bind(N);
|
|
3044
|
-
G.i = f, G.id = f.uid, N.scheduler = () =>
|
|
3045
|
-
},
|
|
3044
|
+
G.i = f, G.id = f.uid, N.scheduler = () => Qr(G), sn(f, !0), process.env.NODE_ENV !== "production" && (N.onTrack = f.rtc ? (M) => Bn(f.rtc, M) : void 0, N.onTrigger = f.rtg ? (M) => Bn(f.rtg, M) : void 0), R();
|
|
3045
|
+
}, ee = (f, g, y) => {
|
|
3046
3046
|
g.component = f;
|
|
3047
3047
|
const C = f.vnode.props;
|
|
3048
|
-
f.vnode = g, f.next = null, ol(f, g.props, C, y), hl(f, g.children, y), Gt(),
|
|
3048
|
+
f.vnode = g, f.next = null, ol(f, g.props, C, y), hl(f, g.children, y), Gt(), Ms(f), Kt();
|
|
3049
3049
|
}, ve = (f, g, y, C, x, _, I, b, N = !1) => {
|
|
3050
3050
|
const R = f && f.children, G = f ? f.shapeFlag : 0, M = g.children, { patchFlag: Z, shapeFlag: se } = g;
|
|
3051
3051
|
if (Z > 0) {
|
|
@@ -3271,7 +3271,7 @@ function vl(e, t) {
|
|
|
3271
3271
|
r(f.anchor, g, y);
|
|
3272
3272
|
return;
|
|
3273
3273
|
}
|
|
3274
|
-
if (I ===
|
|
3274
|
+
if (I === xr) {
|
|
3275
3275
|
oe(f, g, y);
|
|
3276
3276
|
return;
|
|
3277
3277
|
}
|
|
@@ -3300,7 +3300,7 @@ function vl(e, t) {
|
|
|
3300
3300
|
dirs: Z,
|
|
3301
3301
|
cacheIndex: se
|
|
3302
3302
|
} = f;
|
|
3303
|
-
if (M === -2 && (x = !1), b != null &&
|
|
3303
|
+
if (M === -2 && (x = !1), b != null && Br(b, null, y, f, !0), se != null && (g.renderCache[se] = void 0), G & 256) {
|
|
3304
3304
|
g.ctx.deactivate(f);
|
|
3305
3305
|
return;
|
|
3306
3306
|
}
|
|
@@ -3344,7 +3344,7 @@ function vl(e, t) {
|
|
|
3344
3344
|
}) : D(y, C);
|
|
3345
3345
|
return;
|
|
3346
3346
|
}
|
|
3347
|
-
if (g ===
|
|
3347
|
+
if (g === xr) {
|
|
3348
3348
|
L(f);
|
|
3349
3349
|
return;
|
|
3350
3350
|
}
|
|
@@ -3364,7 +3364,7 @@ function vl(e, t) {
|
|
|
3364
3364
|
}, Ve = (f, g, y) => {
|
|
3365
3365
|
process.env.NODE_ENV !== "production" && f.type.__hmrId && mu(f);
|
|
3366
3366
|
const { bum: C, scope: x, job: _, subTree: I, um: b, m: N, a: R } = f;
|
|
3367
|
-
|
|
3367
|
+
Gs(N), Gs(R), C && Bn(C), x.stop(), _ && (_.flags |= 8, Le(I, f, g, y)), b && st(b, g), st(() => {
|
|
3368
3368
|
f.isUnmounted = !0;
|
|
3369
3369
|
}, g), g && g.pendingBranch && !g.isUnmounted && f.asyncDep && !f.asyncResolved && f.suspenseId === g.pendingId && (g.deps--, g.deps === 0 && g.resolve()), process.env.NODE_ENV !== "production" && Ou(f);
|
|
3370
3370
|
}, J = (f, g, y, C = !1, x = !1, _ = 0) => {
|
|
@@ -3388,7 +3388,7 @@ function vl(e, t) {
|
|
|
3388
3388
|
null,
|
|
3389
3389
|
null,
|
|
3390
3390
|
y
|
|
3391
|
-
), g._vnode = f, Ie || (Ie = !0,
|
|
3391
|
+
), g._vnode = f, Ie || (Ie = !0, Ms(), pc(), Ie = !1);
|
|
3392
3392
|
}, H = {
|
|
3393
3393
|
p: F,
|
|
3394
3394
|
um: Le,
|
|
@@ -3407,7 +3407,7 @@ function vl(e, t) {
|
|
|
3407
3407
|
createApp: el(we)
|
|
3408
3408
|
};
|
|
3409
3409
|
}
|
|
3410
|
-
function
|
|
3410
|
+
function bo({ type: e, props: t }, n) {
|
|
3411
3411
|
return n === "svg" && e === "foreignObject" || n === "mathml" && e === "annotation-xml" && t && t.encoding && t.encoding.includes("html") ? void 0 : n;
|
|
3412
3412
|
}
|
|
3413
3413
|
function sn({ effect: e, job: t }, n) {
|
|
@@ -3416,13 +3416,13 @@ function sn({ effect: e, job: t }, n) {
|
|
|
3416
3416
|
function El(e, t) {
|
|
3417
3417
|
return (!e || e && !e.pendingBranch) && t && !t.persisted;
|
|
3418
3418
|
}
|
|
3419
|
-
function
|
|
3419
|
+
function Rr(e, t, n = !1) {
|
|
3420
3420
|
const r = e.children, o = t.children;
|
|
3421
3421
|
if (ae(r) && ae(o))
|
|
3422
3422
|
for (let s = 0; s < r.length; s++) {
|
|
3423
3423
|
const i = r[s];
|
|
3424
3424
|
let c = o[s];
|
|
3425
|
-
c.shapeFlag & 1 && !c.dynamicChildren && ((c.patchFlag <= 0 || c.patchFlag === 32) && (c = o[s] = Zt(o[s]), c.el = i.el), !n && c.patchFlag !== -2 &&
|
|
3425
|
+
c.shapeFlag & 1 && !c.dynamicChildren && ((c.patchFlag <= 0 || c.patchFlag === 32) && (c = o[s] = Zt(o[s]), c.el = i.el), !n && c.patchFlag !== -2 && Rr(i, c)), c.type === hr && (c.el = i.el), process.env.NODE_ENV !== "production" && c.type === ut && !c.el && (c.el = i.el);
|
|
3426
3426
|
}
|
|
3427
3427
|
}
|
|
3428
3428
|
function yl(e) {
|
|
@@ -3450,14 +3450,14 @@ function Lc(e) {
|
|
|
3450
3450
|
if (t)
|
|
3451
3451
|
return t.asyncDep && !t.asyncResolved ? t : Lc(t);
|
|
3452
3452
|
}
|
|
3453
|
-
function
|
|
3453
|
+
function Gs(e) {
|
|
3454
3454
|
if (e)
|
|
3455
3455
|
for (let t = 0; t < e.length; t++)
|
|
3456
3456
|
e[t].flags |= 8;
|
|
3457
3457
|
}
|
|
3458
3458
|
const _l = Symbol.for("v-scx"), bl = () => {
|
|
3459
3459
|
{
|
|
3460
|
-
const e =
|
|
3460
|
+
const e = Tr(_l);
|
|
3461
3461
|
return e || process.env.NODE_ENV !== "production" && j(
|
|
3462
3462
|
"Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."
|
|
3463
3463
|
), e;
|
|
@@ -3497,7 +3497,7 @@ function Vc(e, t, n = Ne) {
|
|
|
3497
3497
|
s === "post" ? c.scheduler = (S) => {
|
|
3498
3498
|
st(S, p && p.suspense);
|
|
3499
3499
|
} : s !== "sync" && (d = !0, c.scheduler = (S, P) => {
|
|
3500
|
-
P ? S() :
|
|
3500
|
+
P ? S() : Qr(S);
|
|
3501
3501
|
}), c.augmentJob = (S) => {
|
|
3502
3502
|
t && (S.flags |= 4), d && (S.flags |= 2, p && (S.id = p.uid, S.i = p));
|
|
3503
3503
|
};
|
|
@@ -3546,7 +3546,7 @@ function Sl(e, t, ...n) {
|
|
|
3546
3546
|
if (i && (i.trim && (o = n.map((p) => We(p) ? p.trim() : p)), i.number && (o = n.map(Aa))), process.env.NODE_ENV !== "production" && Nu(e, t, o), process.env.NODE_ENV !== "production") {
|
|
3547
3547
|
const p = t.toLowerCase();
|
|
3548
3548
|
p !== t && r[an(p)] && j(
|
|
3549
|
-
`Event "${p}" is emitted in component ${
|
|
3549
|
+
`Event "${p}" is emitted in component ${ro(
|
|
3550
3550
|
e,
|
|
3551
3551
|
e.type
|
|
3552
3552
|
)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${tn(
|
|
@@ -3591,14 +3591,14 @@ function Hc(e, t, n = !1) {
|
|
|
3591
3591
|
}
|
|
3592
3592
|
return !s && !c ? (De(e) && r.set(e, null), null) : (ae(s) ? s.forEach((l) => i[l] = null) : He(i, s), De(e) && r.set(e, i), i);
|
|
3593
3593
|
}
|
|
3594
|
-
function
|
|
3594
|
+
function to(e, t) {
|
|
3595
3595
|
return !e || !lr(t) ? !1 : (t = t.slice(2).replace(/Once$/, ""), Oe(e, t[0].toLowerCase() + t.slice(1)) || Oe(e, tn(t)) || Oe(e, t));
|
|
3596
3596
|
}
|
|
3597
|
-
let
|
|
3598
|
-
function
|
|
3599
|
-
|
|
3597
|
+
let Ko = !1;
|
|
3598
|
+
function Kr() {
|
|
3599
|
+
Ko = !0;
|
|
3600
3600
|
}
|
|
3601
|
-
function
|
|
3601
|
+
function Ks(e) {
|
|
3602
3602
|
const {
|
|
3603
3603
|
type: t,
|
|
3604
3604
|
vnode: n,
|
|
@@ -3615,9 +3615,9 @@ function Gs(e) {
|
|
|
3615
3615
|
setupState: S,
|
|
3616
3616
|
ctx: P,
|
|
3617
3617
|
inheritAttrs: F
|
|
3618
|
-
} = e, W =
|
|
3619
|
-
let
|
|
3620
|
-
process.env.NODE_ENV !== "production" && (
|
|
3618
|
+
} = e, W = Fr(e);
|
|
3619
|
+
let K, Q;
|
|
3620
|
+
process.env.NODE_ENV !== "production" && (Ko = !1);
|
|
3621
3621
|
try {
|
|
3622
3622
|
if (n.shapeFlag & 4) {
|
|
3623
3623
|
const L = o || r, re = process.env.NODE_ENV !== "production" && S.__isScriptSetup ? new Proxy(L, {
|
|
@@ -3629,7 +3629,7 @@ function Gs(e) {
|
|
|
3629
3629
|
), Reflect.get(ue, he, le);
|
|
3630
3630
|
}
|
|
3631
3631
|
}) : L;
|
|
3632
|
-
|
|
3632
|
+
K = ht(
|
|
3633
3633
|
E.call(
|
|
3634
3634
|
re,
|
|
3635
3635
|
L,
|
|
@@ -3639,15 +3639,15 @@ function Gs(e) {
|
|
|
3639
3639
|
h,
|
|
3640
3640
|
P
|
|
3641
3641
|
)
|
|
3642
|
-
),
|
|
3642
|
+
), Q = c;
|
|
3643
3643
|
} else {
|
|
3644
3644
|
const L = t;
|
|
3645
|
-
process.env.NODE_ENV !== "production" && c === d &&
|
|
3645
|
+
process.env.NODE_ENV !== "production" && c === d && Kr(), K = ht(
|
|
3646
3646
|
L.length > 1 ? L(
|
|
3647
3647
|
process.env.NODE_ENV !== "production" ? xt(d) : d,
|
|
3648
3648
|
process.env.NODE_ENV !== "production" ? {
|
|
3649
3649
|
get attrs() {
|
|
3650
|
-
return
|
|
3650
|
+
return Kr(), xt(c);
|
|
3651
3651
|
},
|
|
3652
3652
|
slots: i,
|
|
3653
3653
|
emit: l
|
|
@@ -3656,25 +3656,25 @@ function Gs(e) {
|
|
|
3656
3656
|
process.env.NODE_ENV !== "production" ? xt(d) : d,
|
|
3657
3657
|
null
|
|
3658
3658
|
)
|
|
3659
|
-
),
|
|
3659
|
+
), Q = t.props ? c : Al(c);
|
|
3660
3660
|
}
|
|
3661
3661
|
} catch (L) {
|
|
3662
|
-
tr.length = 0, pr(L, e, 1),
|
|
3662
|
+
tr.length = 0, pr(L, e, 1), K = at(ut);
|
|
3663
3663
|
}
|
|
3664
|
-
let U =
|
|
3665
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
3666
|
-
const L = Object.keys(
|
|
3664
|
+
let U = K, oe;
|
|
3665
|
+
if (process.env.NODE_ENV !== "production" && K.patchFlag > 0 && K.patchFlag & 2048 && ([U, oe] = Wc(K)), Q && F !== !1) {
|
|
3666
|
+
const L = Object.keys(Q), { shapeFlag: re } = U;
|
|
3667
3667
|
if (L.length) {
|
|
3668
3668
|
if (re & 7)
|
|
3669
|
-
s && L.some(
|
|
3670
|
-
|
|
3669
|
+
s && L.some(Mr) && (Q = Nl(
|
|
3670
|
+
Q,
|
|
3671
3671
|
s
|
|
3672
|
-
)), U = nn(U,
|
|
3673
|
-
else if (process.env.NODE_ENV !== "production" && !
|
|
3672
|
+
)), U = nn(U, Q, !1, !0);
|
|
3673
|
+
else if (process.env.NODE_ENV !== "production" && !Ko && U.type !== ut) {
|
|
3674
3674
|
const ue = Object.keys(c), he = [], le = [];
|
|
3675
3675
|
for (let be = 0, Y = ue.length; be < Y; be++) {
|
|
3676
3676
|
const w = ue[be];
|
|
3677
|
-
lr(w) ?
|
|
3677
|
+
lr(w) ? Mr(w) || he.push(w[2].toLowerCase() + w.slice(3)) : le.push(w);
|
|
3678
3678
|
}
|
|
3679
3679
|
le.length && j(
|
|
3680
3680
|
`Extraneous non-props attributes (${le.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`
|
|
@@ -3684,14 +3684,14 @@ function Gs(e) {
|
|
|
3684
3684
|
}
|
|
3685
3685
|
}
|
|
3686
3686
|
}
|
|
3687
|
-
return n.dirs && (process.env.NODE_ENV !== "production" && !
|
|
3687
|
+
return n.dirs && (process.env.NODE_ENV !== "production" && !ks(U) && j(
|
|
3688
3688
|
"Runtime directive used on component with non-element root node. The directives will not function as intended."
|
|
3689
|
-
), U = nn(U, null, !1, !0), U.dirs = U.dirs ? U.dirs.concat(n.dirs) : n.dirs), n.transition && (process.env.NODE_ENV !== "production" && !
|
|
3689
|
+
), U = nn(U, null, !1, !0), U.dirs = U.dirs ? U.dirs.concat(n.dirs) : n.dirs), n.transition && (process.env.NODE_ENV !== "production" && !ks(U) && j(
|
|
3690
3690
|
"Component inside <Transition> renders non-element root node that cannot be animated."
|
|
3691
|
-
),
|
|
3691
|
+
), gs(U, n.transition)), process.env.NODE_ENV !== "production" && oe ? oe(U) : K = U, Fr(W), K;
|
|
3692
3692
|
}
|
|
3693
3693
|
const Wc = (e) => {
|
|
3694
|
-
const t = e.children, n = e.dynamicChildren, r =
|
|
3694
|
+
const t = e.children, n = e.dynamicChildren, r = ys(t, !1);
|
|
3695
3695
|
if (r) {
|
|
3696
3696
|
if (process.env.NODE_ENV !== "production" && r.patchFlag > 0 && r.patchFlag & 2048)
|
|
3697
3697
|
return Wc(r);
|
|
@@ -3701,7 +3701,7 @@ const Wc = (e) => {
|
|
|
3701
3701
|
};
|
|
3702
3702
|
return [ht(r), i];
|
|
3703
3703
|
};
|
|
3704
|
-
function
|
|
3704
|
+
function ys(e, t = !0) {
|
|
3705
3705
|
let n;
|
|
3706
3706
|
for (let r = 0; r < e.length; r++) {
|
|
3707
3707
|
const o = e[r];
|
|
@@ -3710,7 +3710,7 @@ function Es(e, t = !0) {
|
|
|
3710
3710
|
if (n)
|
|
3711
3711
|
return;
|
|
3712
3712
|
if (n = o, process.env.NODE_ENV !== "production" && t && n.patchFlag > 0 && n.patchFlag & 2048)
|
|
3713
|
-
return
|
|
3713
|
+
return ys(n.children);
|
|
3714
3714
|
}
|
|
3715
3715
|
} else
|
|
3716
3716
|
return;
|
|
@@ -3725,9 +3725,9 @@ const Al = (e) => {
|
|
|
3725
3725
|
}, Nl = (e, t) => {
|
|
3726
3726
|
const n = {};
|
|
3727
3727
|
for (const r in e)
|
|
3728
|
-
(
|
|
3728
|
+
(!Mr(r) || !(r.slice(9) in t)) && (n[r] = e[r]);
|
|
3729
3729
|
return n;
|
|
3730
|
-
},
|
|
3730
|
+
}, ks = (e) => e.shapeFlag & 7 || e.type === ut;
|
|
3731
3731
|
function Tl(e, t, n) {
|
|
3732
3732
|
const { props: r, children: o, component: s } = e, { props: i, children: c, patchFlag: l } = t, E = s.emitsOptions;
|
|
3733
3733
|
if (process.env.NODE_ENV !== "production" && (o || c) && Dt || t.dirs || t.transition)
|
|
@@ -3736,26 +3736,26 @@ function Tl(e, t, n) {
|
|
|
3736
3736
|
if (l & 1024)
|
|
3737
3737
|
return !0;
|
|
3738
3738
|
if (l & 16)
|
|
3739
|
-
return r ?
|
|
3739
|
+
return r ? Ys(r, i, E) : !!i;
|
|
3740
3740
|
if (l & 8) {
|
|
3741
3741
|
const p = t.dynamicProps;
|
|
3742
3742
|
for (let d = 0; d < p.length; d++) {
|
|
3743
3743
|
const h = p[d];
|
|
3744
|
-
if (i[h] !== r[h] && !
|
|
3744
|
+
if (i[h] !== r[h] && !to(E, h))
|
|
3745
3745
|
return !0;
|
|
3746
3746
|
}
|
|
3747
3747
|
}
|
|
3748
3748
|
} else
|
|
3749
|
-
return (o || c) && (!c || !c.$stable) ? !0 : r === i ? !1 : r ? i ?
|
|
3749
|
+
return (o || c) && (!c || !c.$stable) ? !0 : r === i ? !1 : r ? i ? Ys(r, i, E) : !0 : !!i;
|
|
3750
3750
|
return !1;
|
|
3751
3751
|
}
|
|
3752
|
-
function
|
|
3752
|
+
function Ys(e, t, n) {
|
|
3753
3753
|
const r = Object.keys(t);
|
|
3754
3754
|
if (r.length !== Object.keys(e).length)
|
|
3755
3755
|
return !0;
|
|
3756
3756
|
for (let o = 0; o < r.length; o++) {
|
|
3757
3757
|
const s = r[o];
|
|
3758
|
-
if (t[s] !== e[s] && !
|
|
3758
|
+
if (t[s] !== e[s] && !to(n, s))
|
|
3759
3759
|
return !0;
|
|
3760
3760
|
}
|
|
3761
3761
|
return !1;
|
|
@@ -3773,7 +3773,7 @@ const Fc = (e) => e.__isSuspense;
|
|
|
3773
3773
|
function xl(e, t) {
|
|
3774
3774
|
t && t.pendingBranch ? ae(e) ? t.effects.push(...e) : t.effects.push(e) : fc(e);
|
|
3775
3775
|
}
|
|
3776
|
-
const Nt = Symbol.for("v-fgt"), hr = Symbol.for("v-txt"), ut = Symbol.for("v-cmt"),
|
|
3776
|
+
const Nt = Symbol.for("v-fgt"), hr = Symbol.for("v-txt"), ut = Symbol.for("v-cmt"), xr = Symbol.for("v-stc"), tr = [];
|
|
3777
3777
|
let ct = null;
|
|
3778
3778
|
function Ot(e = !1) {
|
|
3779
3779
|
tr.push(ct = e ? null : []);
|
|
@@ -3782,7 +3782,7 @@ function Dl() {
|
|
|
3782
3782
|
tr.pop(), ct = tr[tr.length - 1] || null;
|
|
3783
3783
|
}
|
|
3784
3784
|
let ir = 1;
|
|
3785
|
-
function
|
|
3785
|
+
function qs(e, t = !1) {
|
|
3786
3786
|
ir += e, e < 0 && ct && t && (ct.hasOnce = !0);
|
|
3787
3787
|
}
|
|
3788
3788
|
function Bc(e) {
|
|
@@ -3818,7 +3818,7 @@ function xn(e) {
|
|
|
3818
3818
|
}
|
|
3819
3819
|
function Kn(e, t) {
|
|
3820
3820
|
if (process.env.NODE_ENV !== "production" && t.shapeFlag & 6 && e.component) {
|
|
3821
|
-
const n =
|
|
3821
|
+
const n = Nr.get(t.type);
|
|
3822
3822
|
if (n && n.has(e.component))
|
|
3823
3823
|
return e.shapeFlag &= -257, t.shapeFlag &= -513, !1;
|
|
3824
3824
|
}
|
|
@@ -3826,7 +3826,7 @@ function Kn(e, t) {
|
|
|
3826
3826
|
}
|
|
3827
3827
|
const Pl = (...e) => Gc(
|
|
3828
3828
|
...e
|
|
3829
|
-
), Uc = ({ key: e }) => e ?? null,
|
|
3829
|
+
), Uc = ({ key: e }) => e ?? null, Dr = ({
|
|
3830
3830
|
ref: e,
|
|
3831
3831
|
ref_key: t,
|
|
3832
3832
|
ref_for: n
|
|
@@ -3838,7 +3838,7 @@ function dt(e, t = null, n = null, r = 0, o = null, s = e === Nt ? 0 : 1, i = !1
|
|
|
3838
3838
|
type: e,
|
|
3839
3839
|
props: t,
|
|
3840
3840
|
key: t && Uc(t),
|
|
3841
|
-
ref: t &&
|
|
3841
|
+
ref: t && Dr(t),
|
|
3842
3842
|
scopeId: vc,
|
|
3843
3843
|
slotScopeIds: null,
|
|
3844
3844
|
children: n,
|
|
@@ -3861,7 +3861,7 @@ function dt(e, t = null, n = null, r = 0, o = null, s = e === Nt ? 0 : 1, i = !1
|
|
|
3861
3861
|
appContext: null,
|
|
3862
3862
|
ctx: et
|
|
3863
3863
|
};
|
|
3864
|
-
return c ? (
|
|
3864
|
+
return c ? (_s(l, n), s & 128 && e.normalize(l)) : n && (l.shapeFlag |= We(n) ? 8 : 16), process.env.NODE_ENV !== "production" && l.key !== l.key && j("VNode created with invalid key (NaN). VNode type:", l.type), ir > 0 && // avoid a block node from tracking itself
|
|
3865
3865
|
!i && // has current parent block
|
|
3866
3866
|
ct && // presence of a patch flag indicates this node needs patching on updates.
|
|
3867
3867
|
// component nodes also should always be patched, because even if the
|
|
@@ -3880,15 +3880,15 @@ function Gc(e, t = null, n = null, r = 0, o = null, s = !1) {
|
|
|
3880
3880
|
!0
|
|
3881
3881
|
/* mergeRef: true */
|
|
3882
3882
|
);
|
|
3883
|
-
return n &&
|
|
3883
|
+
return n && _s(c, n), ir > 0 && !s && ct && (c.shapeFlag & 6 ? ct[ct.indexOf(e)] = c : ct.push(c)), c.patchFlag = -2, c;
|
|
3884
3884
|
}
|
|
3885
3885
|
if (zc(e) && (e = e.__vccOpts), t) {
|
|
3886
3886
|
t = Il(t);
|
|
3887
3887
|
let { class: c, style: l } = t;
|
|
3888
|
-
c && !We(c) && (t.class =
|
|
3888
|
+
c && !We(c) && (t.class = os(c)), De(l) && (Vr(l) && !ae(l) && (l = He({}, l)), t.style = Wt(l));
|
|
3889
3889
|
}
|
|
3890
3890
|
const i = We(e) ? 1 : Fc(e) ? 128 : xu(e) ? 64 : De(e) ? 4 : pe(e) ? 2 : 0;
|
|
3891
|
-
return process.env.NODE_ENV !== "production" && i & 4 &&
|
|
3891
|
+
return process.env.NODE_ENV !== "production" && i & 4 && Vr(e) && (e = Ee(e), j(
|
|
3892
3892
|
"Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",
|
|
3893
3893
|
`
|
|
3894
3894
|
Component that was made reactive: `,
|
|
@@ -3905,7 +3905,7 @@ Component that was made reactive: `,
|
|
|
3905
3905
|
);
|
|
3906
3906
|
}
|
|
3907
3907
|
function Il(e) {
|
|
3908
|
-
return e ?
|
|
3908
|
+
return e ? Vr(e) || xc(e) ? He({}, e) : e : null;
|
|
3909
3909
|
}
|
|
3910
3910
|
function nn(e, t, n = !1, r = !1) {
|
|
3911
3911
|
const { props: o, ref: s, patchFlag: i, children: c, transition: l } = e, E = t ? Ml(o || {}, t) : o, p = {
|
|
@@ -3918,7 +3918,7 @@ function nn(e, t, n = !1, r = !1) {
|
|
|
3918
3918
|
// #2078 in the case of <component :is="vnode" ref="extra"/>
|
|
3919
3919
|
// if the vnode itself already has a ref, cloneVNode will need to merge
|
|
3920
3920
|
// the refs so the single vnode can be set on multiple refs
|
|
3921
|
-
n && s ? ae(s) ? s.concat(
|
|
3921
|
+
n && s ? ae(s) ? s.concat(Dr(t)) : [s, Dr(t)] : Dr(t)
|
|
3922
3922
|
) : s,
|
|
3923
3923
|
scopeId: e.scopeId,
|
|
3924
3924
|
slotScopeIds: e.slotScopeIds,
|
|
@@ -3951,7 +3951,7 @@ function nn(e, t, n = !1, r = !1) {
|
|
|
3951
3951
|
ctx: e.ctx,
|
|
3952
3952
|
ce: e.ce
|
|
3953
3953
|
};
|
|
3954
|
-
return l && r &&
|
|
3954
|
+
return l && r && gs(
|
|
3955
3955
|
p,
|
|
3956
3956
|
l.clone(p)
|
|
3957
3957
|
), p;
|
|
@@ -3977,7 +3977,7 @@ function ht(e) {
|
|
|
3977
3977
|
function Zt(e) {
|
|
3978
3978
|
return e.el === null && e.patchFlag !== -1 || e.memo ? e : nn(e);
|
|
3979
3979
|
}
|
|
3980
|
-
function
|
|
3980
|
+
function _s(e, t) {
|
|
3981
3981
|
let n = 0;
|
|
3982
3982
|
const { shapeFlag: r } = e;
|
|
3983
3983
|
if (t == null)
|
|
@@ -3987,7 +3987,7 @@ function ys(e, t) {
|
|
|
3987
3987
|
else if (typeof t == "object")
|
|
3988
3988
|
if (r & 65) {
|
|
3989
3989
|
const o = t.default;
|
|
3990
|
-
o && (o._c && (o._d = !1),
|
|
3990
|
+
o && (o._c && (o._d = !1), _s(e, o()), o._c && (o._d = !0));
|
|
3991
3991
|
return;
|
|
3992
3992
|
} else {
|
|
3993
3993
|
n = 32;
|
|
@@ -4003,7 +4003,7 @@ function Ml(...e) {
|
|
|
4003
4003
|
const r = e[n];
|
|
4004
4004
|
for (const o in r)
|
|
4005
4005
|
if (o === "class")
|
|
4006
|
-
t.class !== r.class && (t.class =
|
|
4006
|
+
t.class !== r.class && (t.class = os([t.class, r.class]));
|
|
4007
4007
|
else if (o === "style")
|
|
4008
4008
|
t.style = Wt([t.style, r.style]);
|
|
4009
4009
|
else if (lr(o)) {
|
|
@@ -4102,7 +4102,7 @@ function jl(e, t, n) {
|
|
|
4102
4102
|
}
|
|
4103
4103
|
let Ke = null;
|
|
4104
4104
|
const Hl = () => Ke || et;
|
|
4105
|
-
let
|
|
4105
|
+
let kr, ko;
|
|
4106
4106
|
{
|
|
4107
4107
|
const e = fr(), t = (n, r) => {
|
|
4108
4108
|
let o;
|
|
@@ -4110,23 +4110,23 @@ let Kr, Ko;
|
|
|
4110
4110
|
o.length > 1 ? o.forEach((i) => i(s)) : o[0](s);
|
|
4111
4111
|
};
|
|
4112
4112
|
};
|
|
4113
|
-
|
|
4113
|
+
kr = t(
|
|
4114
4114
|
"__VUE_INSTANCE_SETTERS__",
|
|
4115
4115
|
(n) => Ke = n
|
|
4116
|
-
),
|
|
4116
|
+
), ko = t(
|
|
4117
4117
|
"__VUE_SSR_SETTERS__",
|
|
4118
4118
|
(n) => cr = n
|
|
4119
4119
|
);
|
|
4120
4120
|
}
|
|
4121
4121
|
const gr = (e) => {
|
|
4122
4122
|
const t = Ke;
|
|
4123
|
-
return
|
|
4124
|
-
e.scope.off(),
|
|
4123
|
+
return kr(e), e.scope.on(), () => {
|
|
4124
|
+
e.scope.off(), kr(t);
|
|
4125
4125
|
};
|
|
4126
|
-
},
|
|
4127
|
-
Ke && Ke.scope.off(),
|
|
4126
|
+
}, zs = () => {
|
|
4127
|
+
Ke && Ke.scope.off(), kr(null);
|
|
4128
4128
|
}, Wl = /* @__PURE__ */ In("slot,component");
|
|
4129
|
-
function
|
|
4129
|
+
function Yo(e, { isNativeTag: t }) {
|
|
4130
4130
|
(Wl(e) || t(e)) && j(
|
|
4131
4131
|
"Do not use built-in or reserved HTML elements as component id: " + e
|
|
4132
4132
|
);
|
|
@@ -4136,20 +4136,20 @@ function kc(e) {
|
|
|
4136
4136
|
}
|
|
4137
4137
|
let cr = !1;
|
|
4138
4138
|
function Fl(e, t = !1, n = !1) {
|
|
4139
|
-
t &&
|
|
4139
|
+
t && ko(t);
|
|
4140
4140
|
const { props: r, children: o } = e.vnode, s = kc(e);
|
|
4141
4141
|
nl(e, r, s, t), dl(e, o, n);
|
|
4142
4142
|
const i = s ? Bl(e, t) : void 0;
|
|
4143
|
-
return t &&
|
|
4143
|
+
return t && ko(!1), i;
|
|
4144
4144
|
}
|
|
4145
4145
|
function Bl(e, t) {
|
|
4146
4146
|
var n;
|
|
4147
4147
|
const r = e.type;
|
|
4148
4148
|
if (process.env.NODE_ENV !== "production") {
|
|
4149
|
-
if (r.name &&
|
|
4149
|
+
if (r.name && Yo(r.name, e.appContext.config), r.components) {
|
|
4150
4150
|
const s = Object.keys(r.components);
|
|
4151
4151
|
for (let i = 0; i < s.length; i++)
|
|
4152
|
-
|
|
4152
|
+
Yo(s[i], e.appContext.config);
|
|
4153
4153
|
}
|
|
4154
4154
|
if (r.directives) {
|
|
4155
4155
|
const s = Object.keys(r.directives);
|
|
@@ -4172,11 +4172,11 @@ function Bl(e, t) {
|
|
|
4172
4172
|
process.env.NODE_ENV !== "production" ? xt(e.props) : e.props,
|
|
4173
4173
|
s
|
|
4174
4174
|
]
|
|
4175
|
-
), l =
|
|
4175
|
+
), l = ts(c);
|
|
4176
4176
|
if (Kt(), i(), (l || e.sp) && !er(e) && yc(e), l) {
|
|
4177
|
-
if (c.then(
|
|
4177
|
+
if (c.then(zs, zs), t)
|
|
4178
4178
|
return c.then((E) => {
|
|
4179
|
-
|
|
4179
|
+
Js(e, E, t);
|
|
4180
4180
|
}).catch((E) => {
|
|
4181
4181
|
pr(E, e, 0);
|
|
4182
4182
|
});
|
|
@@ -4187,11 +4187,11 @@ function Bl(e, t) {
|
|
|
4187
4187
|
);
|
|
4188
4188
|
}
|
|
4189
4189
|
} else
|
|
4190
|
-
|
|
4190
|
+
Js(e, c, t);
|
|
4191
4191
|
} else
|
|
4192
4192
|
Yc(e, t);
|
|
4193
4193
|
}
|
|
4194
|
-
function
|
|
4194
|
+
function Js(e, t, n) {
|
|
4195
4195
|
pe(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : De(t) ? (process.env.NODE_ENV !== "production" && xn(t) && j(
|
|
4196
4196
|
"setup() should not return VNodes directly - return a render function instead."
|
|
4197
4197
|
), process.env.NODE_ENV !== "production" && (e.devtoolsRawSetupState = t), e.setupState = cc(t), process.env.NODE_ENV !== "production" && ku(e)) : process.env.NODE_ENV !== "production" && t !== void 0 && j(
|
|
@@ -4215,9 +4215,9 @@ function Yc(e, t, n) {
|
|
|
4215
4215
|
'Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'
|
|
4216
4216
|
) : j("Component is missing template or render function: ", r));
|
|
4217
4217
|
}
|
|
4218
|
-
const
|
|
4218
|
+
const Xs = process.env.NODE_ENV !== "production" ? {
|
|
4219
4219
|
get(e, t) {
|
|
4220
|
-
return
|
|
4220
|
+
return Kr(), Fe(e, "get", ""), e[t];
|
|
4221
4221
|
},
|
|
4222
4222
|
set() {
|
|
4223
4223
|
return j("setupContext.attrs is readonly."), !1;
|
|
@@ -4251,7 +4251,7 @@ function Kl(e) {
|
|
|
4251
4251
|
let n, r;
|
|
4252
4252
|
return Object.freeze({
|
|
4253
4253
|
get attrs() {
|
|
4254
|
-
return n || (n = new Proxy(e.attrs,
|
|
4254
|
+
return n || (n = new Proxy(e.attrs, Xs));
|
|
4255
4255
|
},
|
|
4256
4256
|
get slots() {
|
|
4257
4257
|
return r || (r = Gl(e));
|
|
@@ -4263,13 +4263,13 @@ function Kl(e) {
|
|
|
4263
4263
|
});
|
|
4264
4264
|
} else
|
|
4265
4265
|
return {
|
|
4266
|
-
attrs: new Proxy(e.attrs,
|
|
4266
|
+
attrs: new Proxy(e.attrs, Xs),
|
|
4267
4267
|
slots: e.slots,
|
|
4268
4268
|
emit: e.emit,
|
|
4269
4269
|
expose: t
|
|
4270
4270
|
};
|
|
4271
4271
|
}
|
|
4272
|
-
function
|
|
4272
|
+
function no(e) {
|
|
4273
4273
|
return e.exposed ? e.exposeProxy || (e.exposeProxy = new Proxy(cc(Qa(e.exposed)), {
|
|
4274
4274
|
get(t, n) {
|
|
4275
4275
|
if (n in t)
|
|
@@ -4286,7 +4286,7 @@ const kl = /(?:^|[-_])(\w)/g, Yl = (e) => e.replace(kl, (t) => t.toUpperCase()).
|
|
|
4286
4286
|
function qc(e, t = !0) {
|
|
4287
4287
|
return pe(e) ? e.displayName || e.name : e.name || t && e.__name;
|
|
4288
4288
|
}
|
|
4289
|
-
function
|
|
4289
|
+
function ro(e, t, n = !1) {
|
|
4290
4290
|
let r = qc(t);
|
|
4291
4291
|
if (!r && t.__file) {
|
|
4292
4292
|
const o = t.__file.match(/([^/\\]+)\.\w+$/);
|
|
@@ -4427,7 +4427,7 @@ function zl() {
|
|
|
4427
4427
|
}
|
|
4428
4428
|
window.devtoolsFormatters ? window.devtoolsFormatters.push(o) : window.devtoolsFormatters = [o];
|
|
4429
4429
|
}
|
|
4430
|
-
const
|
|
4430
|
+
const Zs = "3.5.13", oo = process.env.NODE_ENV !== "production" ? j : Be;
|
|
4431
4431
|
process.env.NODE_ENV;
|
|
4432
4432
|
process.env.NODE_ENV;
|
|
4433
4433
|
/**
|
|
@@ -4435,17 +4435,17 @@ process.env.NODE_ENV;
|
|
|
4435
4435
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4436
4436
|
* @license MIT
|
|
4437
4437
|
**/
|
|
4438
|
-
let
|
|
4439
|
-
const
|
|
4440
|
-
if (
|
|
4438
|
+
let qo;
|
|
4439
|
+
const Qs = typeof window < "u" && window.trustedTypes;
|
|
4440
|
+
if (Qs)
|
|
4441
4441
|
try {
|
|
4442
|
-
|
|
4442
|
+
qo = /* @__PURE__ */ Qs.createPolicy("vue", {
|
|
4443
4443
|
createHTML: (e) => e
|
|
4444
4444
|
});
|
|
4445
4445
|
} catch (e) {
|
|
4446
|
-
process.env.NODE_ENV !== "production" &&
|
|
4446
|
+
process.env.NODE_ENV !== "production" && oo(`Error creating trusted types policy: ${e}`);
|
|
4447
4447
|
}
|
|
4448
|
-
const Jc =
|
|
4448
|
+
const Jc = qo ? (e) => qo.createHTML(e) : (e) => e, Jl = "http://www.w3.org/2000/svg", Xl = "http://www.w3.org/1998/Math/MathML", Ht = typeof document < "u" ? document : null, ei = Ht && /* @__PURE__ */ Ht.createElement("template"), Zl = {
|
|
4449
4449
|
insert: (e, t, n) => {
|
|
4450
4450
|
t.insertBefore(e, n || null);
|
|
4451
4451
|
},
|
|
@@ -4481,10 +4481,10 @@ const Jc = Yo ? (e) => Yo.createHTML(e) : (e) => e, Jl = "http://www.w3.org/2000
|
|
|
4481
4481
|
for (; t.insertBefore(o.cloneNode(!0), n), !(o === s || !(o = o.nextSibling)); )
|
|
4482
4482
|
;
|
|
4483
4483
|
else {
|
|
4484
|
-
|
|
4484
|
+
ei.innerHTML = Jc(
|
|
4485
4485
|
r === "svg" ? `<svg>${e}</svg>` : r === "mathml" ? `<math>${e}</math>` : e
|
|
4486
4486
|
);
|
|
4487
|
-
const c =
|
|
4487
|
+
const c = ei.content;
|
|
4488
4488
|
if (r === "svg" || r === "mathml") {
|
|
4489
4489
|
const l = c.firstChild;
|
|
4490
4490
|
for (; l.firstChild; )
|
|
@@ -4505,9 +4505,9 @@ function ef(e, t, n) {
|
|
|
4505
4505
|
const r = e[Ql];
|
|
4506
4506
|
r && (t = (t ? [t, ...r] : [...r]).join(" ")), t == null ? e.removeAttribute("class") : n ? e.setAttribute("class", t) : e.className = t;
|
|
4507
4507
|
}
|
|
4508
|
-
const
|
|
4508
|
+
const Yr = Symbol("_vod"), Xc = Symbol("_vsh"), Jn = {
|
|
4509
4509
|
beforeMount(e, { value: t }, { transition: n }) {
|
|
4510
|
-
e[
|
|
4510
|
+
e[Yr] = e.style.display === "none" ? "" : e.style.display, n && t ? n.beforeEnter(e) : kn(e, t);
|
|
4511
4511
|
},
|
|
4512
4512
|
mounted(e, { value: t }, { transition: n }) {
|
|
4513
4513
|
n && t && n.enter(e);
|
|
@@ -4523,7 +4523,7 @@ const kr = Symbol("_vod"), Xc = Symbol("_vsh"), Jn = {
|
|
|
4523
4523
|
};
|
|
4524
4524
|
process.env.NODE_ENV !== "production" && (Jn.name = "show");
|
|
4525
4525
|
function kn(e, t) {
|
|
4526
|
-
e.style.display = t ? e[
|
|
4526
|
+
e.style.display = t ? e[Yr] : "none", e[Xc] = !t;
|
|
4527
4527
|
}
|
|
4528
4528
|
const tf = Symbol(process.env.NODE_ENV !== "production" ? "CSS_VAR_TEXT" : ""), nf = /(^|;)\s*display\s*:/;
|
|
4529
4529
|
function rf(e, t, n) {
|
|
@@ -4534,62 +4534,62 @@ function rf(e, t, n) {
|
|
|
4534
4534
|
if (We(t))
|
|
4535
4535
|
for (const i of t.split(";")) {
|
|
4536
4536
|
const c = i.slice(0, i.indexOf(":")).trim();
|
|
4537
|
-
n[c] == null &&
|
|
4537
|
+
n[c] == null && Cr(r, c, "");
|
|
4538
4538
|
}
|
|
4539
4539
|
else
|
|
4540
4540
|
for (const i in t)
|
|
4541
|
-
n[i] == null &&
|
|
4541
|
+
n[i] == null && Cr(r, i, "");
|
|
4542
4542
|
for (const i in n)
|
|
4543
|
-
i === "display" && (s = !0),
|
|
4543
|
+
i === "display" && (s = !0), Cr(r, i, n[i]);
|
|
4544
4544
|
} else if (o) {
|
|
4545
4545
|
if (t !== n) {
|
|
4546
4546
|
const i = r[tf];
|
|
4547
4547
|
i && (n += ";" + i), r.cssText = n, s = nf.test(n);
|
|
4548
4548
|
}
|
|
4549
4549
|
} else t && e.removeAttribute("style");
|
|
4550
|
-
|
|
4550
|
+
Yr in e && (e[Yr] = s ? r.display : "", e[Xc] && (r.display = "none"));
|
|
4551
4551
|
}
|
|
4552
|
-
const of = /[^\\];\s*$/,
|
|
4553
|
-
function
|
|
4552
|
+
const of = /[^\\];\s*$/, ti = /\s*!important$/;
|
|
4553
|
+
function Cr(e, t, n) {
|
|
4554
4554
|
if (ae(n))
|
|
4555
|
-
n.forEach((r) =>
|
|
4556
|
-
else if (n == null && (n = ""), process.env.NODE_ENV !== "production" && of.test(n) &&
|
|
4555
|
+
n.forEach((r) => Cr(e, t, r));
|
|
4556
|
+
else if (n == null && (n = ""), process.env.NODE_ENV !== "production" && of.test(n) && oo(
|
|
4557
4557
|
`Unexpected semicolon at the end of '${t}' style value: '${n}'`
|
|
4558
4558
|
), t.startsWith("--"))
|
|
4559
4559
|
e.setProperty(t, n);
|
|
4560
4560
|
else {
|
|
4561
4561
|
const r = sf(e, t);
|
|
4562
|
-
|
|
4562
|
+
ti.test(n) ? e.setProperty(
|
|
4563
4563
|
tn(r),
|
|
4564
|
-
n.replace(
|
|
4564
|
+
n.replace(ti, ""),
|
|
4565
4565
|
"important"
|
|
4566
4566
|
) : e[r] = n;
|
|
4567
4567
|
}
|
|
4568
4568
|
}
|
|
4569
|
-
const
|
|
4569
|
+
const ni = ["Webkit", "Moz", "ms"], wo = {};
|
|
4570
4570
|
function sf(e, t) {
|
|
4571
|
-
const n =
|
|
4571
|
+
const n = wo[t];
|
|
4572
4572
|
if (n)
|
|
4573
4573
|
return n;
|
|
4574
4574
|
let r = mt(t);
|
|
4575
4575
|
if (r !== "filter" && r in e)
|
|
4576
|
-
return
|
|
4577
|
-
r =
|
|
4578
|
-
for (let o = 0; o <
|
|
4579
|
-
const s =
|
|
4576
|
+
return wo[t] = r;
|
|
4577
|
+
r = Jr(r);
|
|
4578
|
+
for (let o = 0; o < ni.length; o++) {
|
|
4579
|
+
const s = ni[o] + r;
|
|
4580
4580
|
if (s in e)
|
|
4581
|
-
return
|
|
4581
|
+
return wo[t] = s;
|
|
4582
4582
|
}
|
|
4583
4583
|
return t;
|
|
4584
4584
|
}
|
|
4585
|
-
const
|
|
4586
|
-
function
|
|
4587
|
-
r && t.startsWith("xlink:") ? n == null ? e.removeAttributeNS(
|
|
4585
|
+
const ri = "http://www.w3.org/1999/xlink";
|
|
4586
|
+
function oi(e, t, n, r, o, s = Ca(t)) {
|
|
4587
|
+
r && t.startsWith("xlink:") ? n == null ? e.removeAttributeNS(ri, t.slice(6, t.length)) : e.setAttributeNS(ri, t, n) : n == null || s && !Ui(n) ? e.removeAttribute(t) : e.setAttribute(
|
|
4588
4588
|
t,
|
|
4589
4589
|
s ? "" : $n(n) ? String(n) : n
|
|
4590
4590
|
);
|
|
4591
4591
|
}
|
|
4592
|
-
function
|
|
4592
|
+
function si(e, t, n, r, o) {
|
|
4593
4593
|
if (t === "innerHTML" || t === "textContent") {
|
|
4594
4594
|
n != null && (e[t] = t === "innerHTML" ? Jc(n) : n);
|
|
4595
4595
|
return;
|
|
@@ -4613,7 +4613,7 @@ function oi(e, t, n, r, o) {
|
|
|
4613
4613
|
try {
|
|
4614
4614
|
e[t] = n;
|
|
4615
4615
|
} catch (c) {
|
|
4616
|
-
process.env.NODE_ENV !== "production" && !i &&
|
|
4616
|
+
process.env.NODE_ENV !== "production" && !i && oo(
|
|
4617
4617
|
`Failed setting prop "${t}" on <${s.toLowerCase()}>: value ${n} is invalid.`,
|
|
4618
4618
|
c
|
|
4619
4619
|
);
|
|
@@ -4626,35 +4626,35 @@ function cf(e, t, n, r) {
|
|
|
4626
4626
|
function af(e, t, n, r) {
|
|
4627
4627
|
e.removeEventListener(t, n, r);
|
|
4628
4628
|
}
|
|
4629
|
-
const
|
|
4629
|
+
const ii = Symbol("_vei");
|
|
4630
4630
|
function uf(e, t, n, r, o = null) {
|
|
4631
|
-
const s = e[
|
|
4631
|
+
const s = e[ii] || (e[ii] = {}), i = s[t];
|
|
4632
4632
|
if (r && i)
|
|
4633
|
-
i.value = process.env.NODE_ENV !== "production" ?
|
|
4633
|
+
i.value = process.env.NODE_ENV !== "production" ? ai(r, t) : r;
|
|
4634
4634
|
else {
|
|
4635
4635
|
const [c, l] = lf(t);
|
|
4636
4636
|
if (r) {
|
|
4637
4637
|
const E = s[t] = df(
|
|
4638
|
-
process.env.NODE_ENV !== "production" ?
|
|
4638
|
+
process.env.NODE_ENV !== "production" ? ai(r, t) : r,
|
|
4639
4639
|
o
|
|
4640
4640
|
);
|
|
4641
4641
|
cf(e, c, E, l);
|
|
4642
4642
|
} else i && (af(e, c, i, l), s[t] = void 0);
|
|
4643
4643
|
}
|
|
4644
4644
|
}
|
|
4645
|
-
const
|
|
4645
|
+
const ci = /(?:Once|Passive|Capture)$/;
|
|
4646
4646
|
function lf(e) {
|
|
4647
4647
|
let t;
|
|
4648
|
-
if (
|
|
4648
|
+
if (ci.test(e)) {
|
|
4649
4649
|
t = {};
|
|
4650
4650
|
let r;
|
|
4651
|
-
for (; r = e.match(
|
|
4651
|
+
for (; r = e.match(ci); )
|
|
4652
4652
|
e = e.slice(0, e.length - r[0].length), t[r[0].toLowerCase()] = !0;
|
|
4653
4653
|
}
|
|
4654
4654
|
return [e[2] === ":" ? e.slice(3) : tn(e.slice(2)), t];
|
|
4655
4655
|
}
|
|
4656
|
-
let
|
|
4657
|
-
const ff = /* @__PURE__ */ Promise.resolve(), pf = () =>
|
|
4656
|
+
let Oo = 0;
|
|
4657
|
+
const ff = /* @__PURE__ */ Promise.resolve(), pf = () => Oo || (ff.then(() => Oo = 0), Oo = Date.now());
|
|
4658
4658
|
function df(e, t) {
|
|
4659
4659
|
const n = (r) => {
|
|
4660
4660
|
if (!r._vts)
|
|
@@ -4670,8 +4670,8 @@ function df(e, t) {
|
|
|
4670
4670
|
};
|
|
4671
4671
|
return n.value = e, n.attached = pf(), n;
|
|
4672
4672
|
}
|
|
4673
|
-
function
|
|
4674
|
-
return pe(e) || ae(e) ? e : (
|
|
4673
|
+
function ai(e, t) {
|
|
4674
|
+
return pe(e) || ae(e) ? e : (oo(
|
|
4675
4675
|
`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?
|
|
4676
4676
|
Expected function or array of functions, received type ${typeof e}.`
|
|
4677
4677
|
), Be);
|
|
@@ -4687,14 +4687,14 @@ function hf(e, t) {
|
|
|
4687
4687
|
} else
|
|
4688
4688
|
return t;
|
|
4689
4689
|
}
|
|
4690
|
-
const
|
|
4690
|
+
const ui = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // lowercase letter
|
|
4691
4691
|
e.charCodeAt(2) > 96 && e.charCodeAt(2) < 123, gf = (e, t, n, r, o, s) => {
|
|
4692
4692
|
const i = o === "svg";
|
|
4693
|
-
t === "class" ? ef(e, r, i) : t === "style" ? rf(e, n, r) : lr(t) ?
|
|
4693
|
+
t === "class" ? ef(e, r, i) : t === "style" ? rf(e, n, r) : lr(t) ? Mr(t) || uf(e, t, n, r, s) : (t[0] === "." ? (t = t.slice(1), !0) : t[0] === "^" ? (t = t.slice(1), !1) : mf(e, t, r, i)) ? (si(e, t, r), !e.tagName.includes("-") && (t === "value" || t === "checked" || t === "selected") && oi(e, t, r, i, s, t !== "value")) : /* #11081 force set props for possible async custom element */ e._isVueCE && (/[A-Z]/.test(t) || !We(r)) ? si(e, mt(t), r, s, t) : (t === "true-value" ? e._trueValue = r : t === "false-value" && (e._falseValue = r), oi(e, t, r, i));
|
|
4694
4694
|
};
|
|
4695
4695
|
function mf(e, t, n, r) {
|
|
4696
4696
|
if (r)
|
|
4697
|
-
return !!(t === "innerHTML" || t === "textContent" || t in e &&
|
|
4697
|
+
return !!(t === "innerHTML" || t === "textContent" || t in e && ui(t) && pe(n));
|
|
4698
4698
|
if (t === "spellcheck" || t === "draggable" || t === "translate" || t === "form" || t === "list" && e.tagName === "INPUT" || t === "type" && e.tagName === "TEXTAREA")
|
|
4699
4699
|
return !1;
|
|
4700
4700
|
if (t === "width" || t === "height") {
|
|
@@ -4702,12 +4702,12 @@ function mf(e, t, n, r) {
|
|
|
4702
4702
|
if (o === "IMG" || o === "VIDEO" || o === "CANVAS" || o === "SOURCE")
|
|
4703
4703
|
return !1;
|
|
4704
4704
|
}
|
|
4705
|
-
return
|
|
4705
|
+
return ui(t) && We(n) ? !1 : t in e;
|
|
4706
4706
|
}
|
|
4707
4707
|
const vf = /* @__PURE__ */ He({ patchProp: gf }, Zl);
|
|
4708
|
-
let
|
|
4708
|
+
let li;
|
|
4709
4709
|
function Ef() {
|
|
4710
|
-
return
|
|
4710
|
+
return li || (li = ml(vf));
|
|
4711
4711
|
}
|
|
4712
4712
|
const yf = (...e) => {
|
|
4713
4713
|
Ef().render(...e);
|
|
@@ -4755,17 +4755,17 @@ const bf = { style: { flex: "1", display: "flex", "min-height": "0" } }, wf = {
|
|
|
4755
4755
|
height: "100%",
|
|
4756
4756
|
display: "flex",
|
|
4757
4757
|
flexDirection: "column"
|
|
4758
|
-
})),
|
|
4758
|
+
})), K = (Y, w = 0, q = !1) => {
|
|
4759
4759
|
let ne = null;
|
|
4760
4760
|
return (...ce) => {
|
|
4761
4761
|
q && !ne && Y(...ce), clearTimeout(ne), ne = setTimeout(() => {
|
|
4762
4762
|
Y(...ce);
|
|
4763
4763
|
}, w);
|
|
4764
4764
|
};
|
|
4765
|
-
},
|
|
4765
|
+
}, Q = () => {
|
|
4766
4766
|
function Y(q, ne = 20) {
|
|
4767
4767
|
if (!q) return;
|
|
4768
|
-
const ce = q.getBoundingClientRect(), { x: ie, y: B, width:
|
|
4768
|
+
const ce = q.getBoundingClientRect(), { x: ie, y: B, width: ee, height: ve } = ce, T = ie, _e = B, Re = ie + ee, Le = B + ve, A = [
|
|
4769
4769
|
document.documentElement,
|
|
4770
4770
|
document.body,
|
|
4771
4771
|
q,
|
|
@@ -4783,7 +4783,7 @@ const bf = { style: { flex: "1", display: "flex", "min-height": "0" } }, wf = {
|
|
|
4783
4783
|
}
|
|
4784
4784
|
let w = Y(h.nav.value);
|
|
4785
4785
|
return w || (w = Y(h.tab.value)), w || (w = Y(h.menu.value)), w;
|
|
4786
|
-
}, U = { x: -1, y: -1 }, oe =
|
|
4786
|
+
}, U = { x: -1, y: -1 }, oe = K(
|
|
4787
4787
|
(Y, w, q) => {
|
|
4788
4788
|
if (!(U.x === w.x && U.y === w.y)) {
|
|
4789
4789
|
if (U.x = w.x, U.y = w.x, Y === "mouseenter") {
|
|
@@ -4793,12 +4793,12 @@ const bf = { style: { flex: "1", display: "flex", "min-height": "0" } }, wf = {
|
|
|
4793
4793
|
s.data.set({ microAppStickStatus: q === "mount" });
|
|
4794
4794
|
}
|
|
4795
4795
|
if (E.value) {
|
|
4796
|
-
if (
|
|
4796
|
+
if (Q()) return c.cors.send("microAppStickStatus", !0);
|
|
4797
4797
|
c.cors.send("microAppStickStatus", q === "mount");
|
|
4798
4798
|
}
|
|
4799
4799
|
}
|
|
4800
4800
|
if (Y === "mousemove" && E.value) {
|
|
4801
|
-
if (
|
|
4801
|
+
if (Q()) return c.cors.send("microAppStickStatus", !0);
|
|
4802
4802
|
c.cors.send("microAppStickStatus", q === "mount");
|
|
4803
4803
|
}
|
|
4804
4804
|
}
|
|
@@ -4832,15 +4832,15 @@ const bf = { style: { flex: "1", display: "flex", "min-height": "0" } }, wf = {
|
|
|
4832
4832
|
const q = (ne) => {
|
|
4833
4833
|
var B;
|
|
4834
4834
|
const ce = (B = h[ne]) == null ? void 0 : B.value, ie = () => {
|
|
4835
|
-
const { x:
|
|
4836
|
-
s.data.set({ [`${ne}Rect`]: { x:
|
|
4835
|
+
const { x: ee, y: ve, width: T, height: _e } = (ce == null ? void 0 : ce.getBoundingClientRect()) || {};
|
|
4836
|
+
s.data.set({ [`${ne}Rect`]: { x: ee, y: ve, width: T, height: _e } });
|
|
4837
4837
|
};
|
|
4838
4838
|
ie(), new MutationObserver(ie).observe(ce, {
|
|
4839
4839
|
childList: !0,
|
|
4840
4840
|
subtree: !0
|
|
4841
|
-
}), new IntersectionObserver((
|
|
4841
|
+
}), new IntersectionObserver((ee) => {
|
|
4842
4842
|
var ve;
|
|
4843
|
-
(ve =
|
|
4843
|
+
(ve = ee == null ? void 0 : ee[0]) != null && ve.isIntersecting && ie();
|
|
4844
4844
|
}).observe(ce);
|
|
4845
4845
|
};
|
|
4846
4846
|
await Promise.all([
|
|
@@ -4857,9 +4857,9 @@ const bf = { style: { flex: "1", display: "flex", "min-height": "0" } }, wf = {
|
|
|
4857
4857
|
tabDom: S.tab.value,
|
|
4858
4858
|
mountDom: S.mount.value
|
|
4859
4859
|
}), i.event.on("mountMicroContent", (ne) => {
|
|
4860
|
-
var
|
|
4861
|
-
const { getIframeInfo: ce } =
|
|
4862
|
-
let ie = ce((
|
|
4860
|
+
var ee, ve, T;
|
|
4861
|
+
const { getIframeInfo: ce } = Qo();
|
|
4862
|
+
let ie = ce((ee = ne == null ? void 0 : ne.appInfo) == null ? void 0 : ee.name), B = (ve = be.value) == null ? void 0 : ve.querySelector(`#${ie.id}`);
|
|
4863
4863
|
B && (B.style.display = "block", re.value = !1, he.value[(T = ne == null ? void 0 : ne.appInfo) == null ? void 0 : T.name] = !0);
|
|
4864
4864
|
});
|
|
4865
4865
|
})(), s.data.watch(() => {
|
|
@@ -4870,7 +4870,7 @@ const bf = { style: { flex: "1", display: "flex", "min-height": "0" } }, wf = {
|
|
|
4870
4870
|
}, s.expose.getLayoutDataKeys()), i.cors.on("microAppStickStatus", (q) => {
|
|
4871
4871
|
s.data.set({ microAppStickStatus: q.data });
|
|
4872
4872
|
});
|
|
4873
|
-
const { setIframeMountDom: w } =
|
|
4873
|
+
const { setIframeMountDom: w } = Qo();
|
|
4874
4874
|
Rt(() => be.value, w);
|
|
4875
4875
|
}
|
|
4876
4876
|
if (E.value) {
|
|
@@ -4986,7 +4986,7 @@ const bf = { style: { flex: "1", display: "flex", "min-height": "0" } }, wf = {
|
|
|
4986
4986
|
], 4));
|
|
4987
4987
|
}
|
|
4988
4988
|
});
|
|
4989
|
-
function
|
|
4989
|
+
function So(e) {
|
|
4990
4990
|
const t = [
|
|
4991
4991
|
"background",
|
|
4992
4992
|
"background-color",
|
|
@@ -5011,7 +5011,7 @@ const Zc = async (e) => {
|
|
|
5011
5011
|
if (typeof t == "string" && (s = document.getElementById(t.replace("#", ""))), t instanceof HTMLElement && (s = t), !s) throw new Error("appendTo must be #id string or HTMLElement");
|
|
5012
5012
|
Et("container").data.set({ initOptions: e });
|
|
5013
5013
|
let c = {};
|
|
5014
|
-
o && r !== !1 && (Object.assign(c,
|
|
5014
|
+
o && r !== !1 && (Object.assign(c, So(document.documentElement)), Object.assign(c, So(document.body)), Object.assign(c, So(s)));
|
|
5015
5015
|
const l = Ge(!0);
|
|
5016
5016
|
let E = {};
|
|
5017
5017
|
const p = ql(Sf, {
|
|
@@ -5026,57 +5026,59 @@ const Zc = async (e) => {
|
|
|
5026
5026
|
e || (e = {});
|
|
5027
5027
|
const { microApps: t = [] } = e, n = await Zc({ type: "mainApp", ...e }), r = Et("container"), o = Et("mainApp"), { addRouterEventListener: s } = ea(), i = Qc(), c = Ge(t);
|
|
5028
5028
|
r.data.watch((W) => c.value = W.microApps, ["microApps"]), r.data.set({ microApps: t });
|
|
5029
|
-
const { registerIframe: l, loadIframe: E, hideIframe: p, iframeEvent: d, checkIframeStatus: h } =
|
|
5029
|
+
const { registerIframe: l, loadIframe: E, hideIframe: p, iframeEvent: d, checkIframeStatus: h } = Qo();
|
|
5030
5030
|
d.on("mounted", (W) => {
|
|
5031
5031
|
var U;
|
|
5032
5032
|
o.expose.connectMicroApp(W);
|
|
5033
|
-
const
|
|
5034
|
-
if (!
|
|
5035
|
-
if (!(((U =
|
|
5033
|
+
const K = r.data.get().microApps.find((oe) => oe.name === W.name);
|
|
5034
|
+
if (!K) return;
|
|
5035
|
+
if (!(((U = K.router) == null ? void 0 : U.sync) ?? !0)) {
|
|
5036
5036
|
F();
|
|
5037
5037
|
return;
|
|
5038
5038
|
}
|
|
5039
|
-
}), t.filter((W) => W.activeRule).
|
|
5040
|
-
|
|
5039
|
+
}), t.filter((W) => W.activeRule).forEach((W) => {
|
|
5040
|
+
(Array.isArray(W.activeRule) ? W.activeRule : [W.activeRule]).forEach((Q) => {
|
|
5041
|
+
i.addRule(W.name, Q);
|
|
5042
|
+
}), l(W.name, W);
|
|
5041
5043
|
});
|
|
5042
5044
|
const S = Ge(!1);
|
|
5043
5045
|
o.cors.on("reportRouter", (W) => {
|
|
5044
5046
|
var w, q, ne;
|
|
5045
|
-
const { data:
|
|
5046
|
-
if (!
|
|
5047
|
-
const
|
|
5048
|
-
if (!
|
|
5047
|
+
const { data: K } = W || {};
|
|
5048
|
+
if (!K.appInfo) return;
|
|
5049
|
+
const Q = r.data.get().microApps.find((ce) => ce.name === K.appInfo.name);
|
|
5050
|
+
if (!Q || !(((w = Q.router) == null ? void 0 : w.sync) ?? !0) || !h(Q.name, ["mounted", "activated"])) return;
|
|
5049
5051
|
const { pathname: oe, hash: L, search: re } = new URL(window.location.href);
|
|
5050
5052
|
let ue = oe + re;
|
|
5051
|
-
const { pathname: he, hash: le, search: be } = new URL(
|
|
5053
|
+
const { pathname: he, hash: le, search: be } = new URL(K.href);
|
|
5052
5054
|
let Y = he + be;
|
|
5053
|
-
((q =
|
|
5055
|
+
((q = Q.router) == null ? void 0 : q.mode) === "hash" && (Y = le.replace("#", "")), ((ne = r.data.get().initOptions.router) == null ? void 0 : ne.mode) === "hash" && (ue = `/${L}`, Y = `/#${Y}`), ue !== Y && (S.value = !0, setTimeout(() => {
|
|
5054
5056
|
S.value = !1;
|
|
5055
5057
|
}, 300), i.replaceState(Y));
|
|
5056
5058
|
}), o.cors.on("customEventFromMicro", (W) => {
|
|
5057
|
-
var
|
|
5058
|
-
(
|
|
5059
|
+
var K, Q;
|
|
5060
|
+
(K = W == null ? void 0 : W.data) != null && K.eventName && o.event.emit(W.data.eventName, (Q = W.data) == null ? void 0 : Q.params);
|
|
5059
5061
|
});
|
|
5060
|
-
const P = (W,
|
|
5062
|
+
const P = (W, K) => {
|
|
5061
5063
|
var oe;
|
|
5062
|
-
const { path:
|
|
5063
|
-
let U =
|
|
5064
|
-
((oe = W.router) == null ? void 0 : oe.mode) === "hash" && (U = `/#${
|
|
5064
|
+
const { path: Q } = K;
|
|
5065
|
+
let U = Q;
|
|
5066
|
+
((oe = W.router) == null ? void 0 : oe.mode) === "hash" && (U = `/#${Q}`), o.cors.send(W.name, "syncRouter", {
|
|
5065
5067
|
appInfo: W,
|
|
5066
|
-
parentRouter:
|
|
5068
|
+
parentRouter: K,
|
|
5067
5069
|
replacePath: U
|
|
5068
5070
|
});
|
|
5069
5071
|
};
|
|
5070
|
-
window.addEventListener("popstate", (
|
|
5072
|
+
window.addEventListener("popstate", () => {
|
|
5071
5073
|
F();
|
|
5072
5074
|
});
|
|
5073
5075
|
const F = async () => {
|
|
5074
5076
|
var le, be;
|
|
5075
5077
|
if (S.value) return;
|
|
5076
5078
|
await new Promise((Y) => setTimeout(Y, 0));
|
|
5077
|
-
const W = ((le = r.data.get().initOptions.router) == null ? void 0 : le.mode) || "history", { pathname:
|
|
5078
|
-
let oe =
|
|
5079
|
-
W === "hash" && (oe =
|
|
5079
|
+
const W = ((le = r.data.get().initOptions.router) == null ? void 0 : le.mode) || "history", { pathname: K, hash: Q, search: U } = new URL(window.location.href);
|
|
5080
|
+
let oe = K + U;
|
|
5081
|
+
W === "hash" && (oe = Q.replace("#", ""));
|
|
5080
5082
|
const L = i.match(oe), re = c.value.find((Y) => L ? L === Y.name : !1);
|
|
5081
5083
|
let ue = oe;
|
|
5082
5084
|
if (((be = re == null ? void 0 : re.router) == null ? void 0 : be.mode) === "hash" && (ue = `/#${oe}`), !re) {
|
|
@@ -5092,11 +5094,11 @@ const Zc = async (e) => {
|
|
|
5092
5094
|
function Af(e) {
|
|
5093
5095
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
5094
5096
|
}
|
|
5095
|
-
var
|
|
5096
|
-
function
|
|
5097
|
-
if (
|
|
5098
|
-
|
|
5099
|
-
const e = "\\\\/", t = `[^${e}]`, n = "\\.", r = "\\+", o = "\\?", s = "\\/", i = "(?=.)", c = "[^/]", l = `(?:${s}|$)`, E = `(?:^|${s})`, p = `${n}{1,2}${l}`, d = `(?!${n})`, h = `(?!${E}${p})`, S = `(?!${n}{0,1}${l})`, P = `(?!${p})`, F = `[^.${s}]`, W = `${c}*?`,
|
|
5097
|
+
var Ao = {}, No, fi;
|
|
5098
|
+
function so() {
|
|
5099
|
+
if (fi) return No;
|
|
5100
|
+
fi = 1;
|
|
5101
|
+
const e = "\\\\/", t = `[^${e}]`, n = "\\.", r = "\\+", o = "\\?", s = "\\/", i = "(?=.)", c = "[^/]", l = `(?:${s}|$)`, E = `(?:^|${s})`, p = `${n}{1,2}${l}`, d = `(?!${n})`, h = `(?!${E}${p})`, S = `(?!${n}{0,1}${l})`, P = `(?!${p})`, F = `[^.${s}]`, W = `${c}*?`, Q = {
|
|
5100
5102
|
DOT_LITERAL: n,
|
|
5101
5103
|
PLUS_LITERAL: r,
|
|
5102
5104
|
QMARK_LITERAL: o,
|
|
@@ -5114,7 +5116,7 @@ function oo() {
|
|
|
5114
5116
|
START_ANCHOR: E,
|
|
5115
5117
|
SEP: "/"
|
|
5116
5118
|
}, U = {
|
|
5117
|
-
...
|
|
5119
|
+
...Q,
|
|
5118
5120
|
SLASH_LITERAL: `[${e}]`,
|
|
5119
5121
|
QMARK: t,
|
|
5120
5122
|
STAR: `${t}*?`,
|
|
@@ -5143,7 +5145,7 @@ function oo() {
|
|
|
5143
5145
|
word: "A-Za-z0-9_",
|
|
5144
5146
|
xdigit: "A-Fa-f0-9"
|
|
5145
5147
|
};
|
|
5146
|
-
return
|
|
5148
|
+
return No = {
|
|
5147
5149
|
MAX_LENGTH: 1024 * 64,
|
|
5148
5150
|
POSIX_REGEX_SOURCE: oe,
|
|
5149
5151
|
// regular expressions
|
|
@@ -5264,19 +5266,19 @@ function oo() {
|
|
|
5264
5266
|
* Create GLOB_CHARS
|
|
5265
5267
|
*/
|
|
5266
5268
|
globChars(L) {
|
|
5267
|
-
return L === !0 ? U :
|
|
5269
|
+
return L === !0 ? U : Q;
|
|
5268
5270
|
}
|
|
5269
|
-
},
|
|
5271
|
+
}, No;
|
|
5270
5272
|
}
|
|
5271
|
-
var
|
|
5272
|
-
function
|
|
5273
|
-
return
|
|
5273
|
+
var pi;
|
|
5274
|
+
function io() {
|
|
5275
|
+
return pi || (pi = 1, function(e) {
|
|
5274
5276
|
const {
|
|
5275
5277
|
REGEX_BACKSLASH: t,
|
|
5276
5278
|
REGEX_REMOVE_BACKSLASH: n,
|
|
5277
5279
|
REGEX_SPECIAL_CHARS: r,
|
|
5278
5280
|
REGEX_SPECIAL_CHARS_GLOBAL: o
|
|
5279
|
-
} = /* @__PURE__ */
|
|
5281
|
+
} = /* @__PURE__ */ so();
|
|
5280
5282
|
e.isObject = (s) => s !== null && typeof s == "object" && !Array.isArray(s), e.hasRegexChars = (s) => r.test(s), e.isRegexChar = (s) => s.length === 1 && e.hasRegexChars(s), e.escapeRegex = (s) => s.replace(o, "\\$1"), e.toPosixSlashes = (s) => s.replace(t, "/"), e.isWindows = () => {
|
|
5281
5283
|
if (typeof navigator < "u" && navigator.platform) {
|
|
5282
5284
|
const s = navigator.platform.toLowerCase();
|
|
@@ -5297,13 +5299,13 @@ function so() {
|
|
|
5297
5299
|
const c = s.split(i ? /[\\/]/ : "/"), l = c[c.length - 1];
|
|
5298
5300
|
return l === "" ? c[c.length - 2] : l;
|
|
5299
5301
|
};
|
|
5300
|
-
}(
|
|
5302
|
+
}(Ao)), Ao;
|
|
5301
5303
|
}
|
|
5302
|
-
var
|
|
5304
|
+
var To, di;
|
|
5303
5305
|
function Nf() {
|
|
5304
|
-
if (
|
|
5305
|
-
|
|
5306
|
-
const e = /* @__PURE__ */
|
|
5306
|
+
if (di) return To;
|
|
5307
|
+
di = 1;
|
|
5308
|
+
const e = /* @__PURE__ */ io(), {
|
|
5307
5309
|
CHAR_ASTERISK: t,
|
|
5308
5310
|
/* * */
|
|
5309
5311
|
CHAR_AT: n,
|
|
@@ -5334,12 +5336,12 @@ function Nf() {
|
|
|
5334
5336
|
/* ) */
|
|
5335
5337
|
CHAR_RIGHT_SQUARE_BRACKET: F
|
|
5336
5338
|
/* ] */
|
|
5337
|
-
} = /* @__PURE__ */
|
|
5339
|
+
} = /* @__PURE__ */ so(), W = (U) => U === c || U === r, K = (U) => {
|
|
5338
5340
|
U.isPrefix !== !0 && (U.depth = U.isGlobstar ? 1 / 0 : 1);
|
|
5339
5341
|
};
|
|
5340
|
-
return
|
|
5342
|
+
return To = (U, oe) => {
|
|
5341
5343
|
const L = oe || {}, re = U.length - 1, ue = L.parts === !0 || L.scanToEnd === !0, he = [], le = [], be = [];
|
|
5342
|
-
let Y = U, w = -1, q = 0, ne = 0, ce = !1, ie = !1, B = !1,
|
|
5344
|
+
let Y = U, w = -1, q = 0, ne = 0, ce = !1, ie = !1, B = !1, ee = !1, ve = !1, T = !1, _e = !1, Re = !1, Le = !1, A = !1, D = 0, Ve, J, ge = { value: "", depth: 0, isGlob: !1 };
|
|
5343
5345
|
const Ie = () => w >= re, we = () => Y.charCodeAt(w + 1), H = () => (Ve = J, Y.charCodeAt(++w));
|
|
5344
5346
|
for (; w < re; ) {
|
|
5345
5347
|
J = H();
|
|
@@ -5387,7 +5389,7 @@ function Nf() {
|
|
|
5387
5389
|
continue;
|
|
5388
5390
|
}
|
|
5389
5391
|
if (L.noext !== !0 && (J === d || J === n || J === t || J === h || J === i) === !0 && we() === E) {
|
|
5390
|
-
if (B = ge.isGlob = !0,
|
|
5392
|
+
if (B = ge.isGlob = !0, ee = ge.isExtglob = !0, A = !0, J === i && w === q && (Le = !0), ue === !0) {
|
|
5391
5393
|
for (; Ie() !== !0 && (J = H()); ) {
|
|
5392
5394
|
if (J === r) {
|
|
5393
5395
|
_e = ge.backslashes = !0, J = H();
|
|
@@ -5453,7 +5455,7 @@ function Nf() {
|
|
|
5453
5455
|
break;
|
|
5454
5456
|
}
|
|
5455
5457
|
}
|
|
5456
|
-
L.noext === !0 && (
|
|
5458
|
+
L.noext === !0 && (ee = !1, B = !1);
|
|
5457
5459
|
let $e = Y, f = "", g = "";
|
|
5458
5460
|
q > 0 && (f = Y.slice(0, q), Y = Y.slice(q), ne -= q), $e && B === !0 && ne > 0 ? ($e = Y.slice(0, ne), g = Y.slice(ne)) : B === !0 ? ($e = "", g = Y) : $e = Y, $e && $e !== "" && $e !== "/" && $e !== Y && W($e.charCodeAt($e.length - 1)) && ($e = $e.slice(0, -1)), L.unescape === !0 && (g && (g = e.removeBackslashes(g)), $e && _e === !0 && ($e = e.removeBackslashes($e)));
|
|
5459
5461
|
const y = {
|
|
@@ -5465,7 +5467,7 @@ function Nf() {
|
|
|
5465
5467
|
isBrace: ce,
|
|
5466
5468
|
isBracket: ie,
|
|
5467
5469
|
isGlob: B,
|
|
5468
|
-
isExtglob:
|
|
5470
|
+
isExtglob: ee,
|
|
5469
5471
|
isGlobstar: ve,
|
|
5470
5472
|
negated: Re,
|
|
5471
5473
|
negatedExtglob: Le
|
|
@@ -5474,22 +5476,22 @@ function Nf() {
|
|
|
5474
5476
|
let C;
|
|
5475
5477
|
for (let x = 0; x < he.length; x++) {
|
|
5476
5478
|
const _ = C ? C + 1 : q, I = he[x], b = U.slice(_, I);
|
|
5477
|
-
L.tokens && (x === 0 && q !== 0 ? (le[x].isPrefix = !0, le[x].value = f) : le[x].value = b,
|
|
5479
|
+
L.tokens && (x === 0 && q !== 0 ? (le[x].isPrefix = !0, le[x].value = f) : le[x].value = b, K(le[x]), y.maxDepth += le[x].depth), (x !== 0 || b !== "") && be.push(b), C = I;
|
|
5478
5480
|
}
|
|
5479
5481
|
if (C && C + 1 < U.length) {
|
|
5480
5482
|
const x = U.slice(C + 1);
|
|
5481
|
-
be.push(x), L.tokens && (le[le.length - 1].value = x,
|
|
5483
|
+
be.push(x), L.tokens && (le[le.length - 1].value = x, K(le[le.length - 1]), y.maxDepth += le[le.length - 1].depth);
|
|
5482
5484
|
}
|
|
5483
5485
|
y.slashes = he, y.parts = be;
|
|
5484
5486
|
}
|
|
5485
5487
|
return y;
|
|
5486
|
-
},
|
|
5488
|
+
}, To;
|
|
5487
5489
|
}
|
|
5488
|
-
var
|
|
5490
|
+
var Ro, hi;
|
|
5489
5491
|
function Tf() {
|
|
5490
|
-
if (
|
|
5491
|
-
|
|
5492
|
-
const e = /* @__PURE__ */
|
|
5492
|
+
if (hi) return Ro;
|
|
5493
|
+
hi = 1;
|
|
5494
|
+
const e = /* @__PURE__ */ so(), t = /* @__PURE__ */ io(), {
|
|
5493
5495
|
MAX_LENGTH: n,
|
|
5494
5496
|
POSIX_REGEX_SOURCE: r,
|
|
5495
5497
|
REGEX_NON_SPECIAL_CHARS: o,
|
|
@@ -5514,7 +5516,7 @@ function Tf() {
|
|
|
5514
5516
|
let P = p.length;
|
|
5515
5517
|
if (P > S)
|
|
5516
5518
|
throw new SyntaxError(`Input length: ${P}, exceeds maximum allowed length: ${S}`);
|
|
5517
|
-
const F = { type: "bos", value: "", output: h.prepend || "" }, W = [F],
|
|
5519
|
+
const F = { type: "bos", value: "", output: h.prepend || "" }, W = [F], K = h.capture ? "" : "?:", Q = e.globChars(h.windows), U = e.extglobChars(Q), {
|
|
5518
5520
|
DOT_LITERAL: oe,
|
|
5519
5521
|
PLUS_LITERAL: L,
|
|
5520
5522
|
SLASH_LITERAL: re,
|
|
@@ -5527,7 +5529,7 @@ function Tf() {
|
|
|
5527
5529
|
QMARK_NO_DOT: q,
|
|
5528
5530
|
STAR: ne,
|
|
5529
5531
|
START_ANCHOR: ce
|
|
5530
|
-
} =
|
|
5532
|
+
} = Q, ie = (_) => `(${K}(?:(?!${ce}${_.dot ? he : oe}).)*?)`, B = h.dot ? "" : le, ee = h.dot ? w : q;
|
|
5531
5533
|
let ve = h.bash === !0 ? ie(h) : ne;
|
|
5532
5534
|
h.capture && (ve = `(${ve})`), typeof h.noext == "boolean" && (h.noextglob = h.noext);
|
|
5533
5535
|
const T = {
|
|
@@ -5591,7 +5593,7 @@ function Tf() {
|
|
|
5591
5593
|
y({ type: "paren", extglob: !0, value: D, output: I }), g("parens");
|
|
5592
5594
|
};
|
|
5593
5595
|
if (h.fastpaths !== !1 && !/(^[*!]|[/()[\]{}"])/.test(p)) {
|
|
5594
|
-
let _ = !1, I = p.replace(s, (b, N, R, G, M, Z) => G === "\\" ? (_ = !0, b) : G === "?" ? N ? N + G + (M ? w.repeat(M.length) : "") : Z === 0 ?
|
|
5596
|
+
let _ = !1, I = p.replace(s, (b, N, R, G, M, Z) => G === "\\" ? (_ = !0, b) : G === "?" ? N ? N + G + (M ? w.repeat(M.length) : "") : Z === 0 ? ee + (M ? w.repeat(M.length) : "") : w.repeat(R.length) : G === "." ? oe.repeat(R.length) : G === "*" ? N ? N + G + (M ? ve : "") : ve : N ? b : `\\${b}`);
|
|
5595
5597
|
return _ === !0 && (h.unescape === !0 ? I = I.replace(/\\/g, "") : I = I.replace(/\\+/g, (b) => b.length % 2 === 0 ? "\\\\" : b ? "\\" : "")), I === p && h.contains === !0 ? (T.output = p, T) : (T.output = t.wrapOutput(I, T, d), T);
|
|
5596
5598
|
}
|
|
5597
5599
|
for (; !Ve(); ) {
|
|
@@ -5679,7 +5681,7 @@ function Tf() {
|
|
|
5679
5681
|
T.output += N, A.value = N;
|
|
5680
5682
|
continue;
|
|
5681
5683
|
}
|
|
5682
|
-
A.value = `(${
|
|
5684
|
+
A.value = `(${K}${N}|${A.value})`, T.output += A.value;
|
|
5683
5685
|
continue;
|
|
5684
5686
|
}
|
|
5685
5687
|
if (D === "{" && h.nobrace !== !0) {
|
|
@@ -5894,8 +5896,8 @@ function Tf() {
|
|
|
5894
5896
|
const {
|
|
5895
5897
|
DOT_LITERAL: F,
|
|
5896
5898
|
SLASH_LITERAL: W,
|
|
5897
|
-
ONE_CHAR:
|
|
5898
|
-
DOTS_SLASH:
|
|
5899
|
+
ONE_CHAR: K,
|
|
5900
|
+
DOTS_SLASH: Q,
|
|
5899
5901
|
NO_DOT: U,
|
|
5900
5902
|
NO_DOTS: oe,
|
|
5901
5903
|
NO_DOTS_SLASH: L,
|
|
@@ -5904,46 +5906,46 @@ function Tf() {
|
|
|
5904
5906
|
} = e.globChars(h.windows), he = h.dot ? oe : U, le = h.dot ? L : U, be = h.capture ? "" : "?:", Y = { negated: !1, prefix: "" };
|
|
5905
5907
|
let w = h.bash === !0 ? ".*?" : re;
|
|
5906
5908
|
h.capture && (w = `(${w})`);
|
|
5907
|
-
const q = (B) => B.noglobstar === !0 ? w : `(${be}(?:(?!${ue}${B.dot ?
|
|
5909
|
+
const q = (B) => B.noglobstar === !0 ? w : `(${be}(?:(?!${ue}${B.dot ? Q : F}).)*?)`, ne = (B) => {
|
|
5908
5910
|
switch (B) {
|
|
5909
5911
|
case "*":
|
|
5910
|
-
return `${he}${
|
|
5912
|
+
return `${he}${K}${w}`;
|
|
5911
5913
|
case ".*":
|
|
5912
|
-
return `${F}${
|
|
5914
|
+
return `${F}${K}${w}`;
|
|
5913
5915
|
case "*.*":
|
|
5914
|
-
return `${he}${w}${F}${
|
|
5916
|
+
return `${he}${w}${F}${K}${w}`;
|
|
5915
5917
|
case "*/*":
|
|
5916
|
-
return `${he}${w}${W}${
|
|
5918
|
+
return `${he}${w}${W}${K}${le}${w}`;
|
|
5917
5919
|
case "**":
|
|
5918
5920
|
return he + q(h);
|
|
5919
5921
|
case "**/*":
|
|
5920
|
-
return `(?:${he}${q(h)}${W})?${le}${
|
|
5922
|
+
return `(?:${he}${q(h)}${W})?${le}${K}${w}`;
|
|
5921
5923
|
case "**/*.*":
|
|
5922
|
-
return `(?:${he}${q(h)}${W})?${le}${w}${F}${
|
|
5924
|
+
return `(?:${he}${q(h)}${W})?${le}${w}${F}${K}${w}`;
|
|
5923
5925
|
case "**/.*":
|
|
5924
|
-
return `(?:${he}${q(h)}${W})?${F}${
|
|
5926
|
+
return `(?:${he}${q(h)}${W})?${F}${K}${w}`;
|
|
5925
5927
|
default: {
|
|
5926
|
-
const
|
|
5927
|
-
if (!
|
|
5928
|
-
const ve = ne(
|
|
5929
|
-
return ve ? ve + F +
|
|
5928
|
+
const ee = /^(.*?)\.(\w+)$/.exec(B);
|
|
5929
|
+
if (!ee) return;
|
|
5930
|
+
const ve = ne(ee[1]);
|
|
5931
|
+
return ve ? ve + F + ee[2] : void 0;
|
|
5930
5932
|
}
|
|
5931
5933
|
}
|
|
5932
5934
|
}, ce = t.removePrefix(p, Y);
|
|
5933
5935
|
let ie = ne(ce);
|
|
5934
5936
|
return ie && h.strictSlashes !== !0 && (ie += `${W}?`), ie;
|
|
5935
|
-
},
|
|
5937
|
+
}, Ro = E, Ro;
|
|
5936
5938
|
}
|
|
5937
|
-
var
|
|
5939
|
+
var xo, gi;
|
|
5938
5940
|
function Rf() {
|
|
5939
|
-
if (
|
|
5940
|
-
|
|
5941
|
-
const e = /* @__PURE__ */ Nf(), t = /* @__PURE__ */ Tf(), n = /* @__PURE__ */
|
|
5941
|
+
if (gi) return xo;
|
|
5942
|
+
gi = 1;
|
|
5943
|
+
const e = /* @__PURE__ */ Nf(), t = /* @__PURE__ */ Tf(), n = /* @__PURE__ */ io(), r = /* @__PURE__ */ so(), o = (i) => i && typeof i == "object" && !Array.isArray(i), s = (i, c, l = !1) => {
|
|
5942
5944
|
if (Array.isArray(i)) {
|
|
5943
|
-
const W = i.map((
|
|
5944
|
-
return (
|
|
5945
|
+
const W = i.map((Q) => s(Q, c, l));
|
|
5946
|
+
return (Q) => {
|
|
5945
5947
|
for (const U of W) {
|
|
5946
|
-
const oe = U(
|
|
5948
|
+
const oe = U(Q);
|
|
5947
5949
|
if (oe) return oe;
|
|
5948
5950
|
}
|
|
5949
5951
|
return !1;
|
|
@@ -5959,9 +5961,9 @@ function Rf() {
|
|
|
5959
5961
|
const W = { ...c, ignore: null, onMatch: null, onResult: null };
|
|
5960
5962
|
P = s(p.ignore, W, l);
|
|
5961
5963
|
}
|
|
5962
|
-
const F = (W,
|
|
5963
|
-
const { isMatch:
|
|
5964
|
-
return typeof p.onResult == "function" && p.onResult(L),
|
|
5964
|
+
const F = (W, K = !1) => {
|
|
5965
|
+
const { isMatch: Q, match: U, output: oe } = s.test(W, h, c, { glob: i, posix: d }), L = { glob: i, state: S, regex: h, posix: d, input: W, output: oe, match: U, isMatch: Q };
|
|
5966
|
+
return typeof p.onResult == "function" && p.onResult(L), Q === !1 ? (L.isMatch = !1, K ? L : !1) : P(W) ? (typeof p.onIgnore == "function" && p.onIgnore(L), L.isMatch = !1, K ? L : !1) : (typeof p.onMatch == "function" && p.onMatch(L), K ? L : !0);
|
|
5965
5967
|
};
|
|
5966
5968
|
return l && (F.state = S), F;
|
|
5967
5969
|
};
|
|
@@ -5994,35 +5996,35 @@ function Rf() {
|
|
|
5994
5996
|
if (c && c.debug === !0) throw l;
|
|
5995
5997
|
return /$^/;
|
|
5996
5998
|
}
|
|
5997
|
-
}, s.constants = r,
|
|
5999
|
+
}, s.constants = r, xo = s, xo;
|
|
5998
6000
|
}
|
|
5999
|
-
var
|
|
6001
|
+
var Do, mi;
|
|
6000
6002
|
function xf() {
|
|
6001
|
-
if (
|
|
6002
|
-
|
|
6003
|
-
const e = /* @__PURE__ */ Rf(), t = /* @__PURE__ */
|
|
6003
|
+
if (mi) return Do;
|
|
6004
|
+
mi = 1;
|
|
6005
|
+
const e = /* @__PURE__ */ Rf(), t = /* @__PURE__ */ io();
|
|
6004
6006
|
function n(r, o, s = !1) {
|
|
6005
6007
|
return o && (o.windows === null || o.windows === void 0) && (o = { ...o, windows: t.isWindows() }), e(r, o, s);
|
|
6006
6008
|
}
|
|
6007
|
-
return Object.assign(n, e),
|
|
6009
|
+
return Object.assign(n, e), Do = n, Do;
|
|
6008
6010
|
}
|
|
6009
6011
|
var Df = /* @__PURE__ */ xf();
|
|
6010
|
-
const Cf = /* @__PURE__ */ Af(Df),
|
|
6012
|
+
const Cf = /* @__PURE__ */ Af(Df), vi = (e) => {
|
|
6011
6013
|
const t = window.history[e];
|
|
6012
6014
|
return function() {
|
|
6013
6015
|
const n = t.apply(this, arguments), r = new Event(e);
|
|
6014
6016
|
return window.dispatchEvent(r), n;
|
|
6015
6017
|
};
|
|
6016
6018
|
};
|
|
6017
|
-
let
|
|
6019
|
+
let Ei = !1;
|
|
6018
6020
|
const Pf = () => {
|
|
6019
|
-
|
|
6021
|
+
Ei || (Ei = !0, history.replaceState = vi("replaceState"), history.pushState = vi("pushState"));
|
|
6020
6022
|
}, Ig = (e) => {
|
|
6021
6023
|
Et("microApp").cors.on("syncRouter", (n) => e(n.data));
|
|
6022
6024
|
}, $g = async (e) => {
|
|
6023
6025
|
const t = Et("microApp"), n = t.data.get().appInfo;
|
|
6024
6026
|
n && t.cors.send("reportRouter", { data: e, href: location.href, appInfo: n });
|
|
6025
|
-
},
|
|
6027
|
+
}, wr = /* @__PURE__ */ new Map(), Qc = () => ({
|
|
6026
6028
|
replaceState: (t) => {
|
|
6027
6029
|
if (window.history.replaceState(history.state, "", t), ["back", "current", "forward", "position", "replaced", "scroll"].every((o) => Object.keys(history.state || {}).includes(o))) {
|
|
6028
6030
|
const o = new PopStateEvent("popstate", { state: history.state });
|
|
@@ -6030,11 +6032,12 @@ const Pf = () => {
|
|
|
6030
6032
|
}
|
|
6031
6033
|
},
|
|
6032
6034
|
addRule: (t, n) => {
|
|
6033
|
-
|
|
6035
|
+
wr.has(t) || wr.set(t, []), wr.get(t).push(Cf(n));
|
|
6034
6036
|
},
|
|
6035
6037
|
match: (t) => {
|
|
6036
|
-
const n
|
|
6037
|
-
|
|
6038
|
+
for (const [n, r] of wr)
|
|
6039
|
+
if (r.some((s) => s(t))) return n;
|
|
6040
|
+
return !1;
|
|
6038
6041
|
}
|
|
6039
6042
|
}), ea = () => {
|
|
6040
6043
|
Pf();
|
|
@@ -6089,7 +6092,7 @@ const Pf = () => {
|
|
|
6089
6092
|
const t = await Zc({ type: "microApp", ...e });
|
|
6090
6093
|
return Mf(), Lf(), t;
|
|
6091
6094
|
};
|
|
6092
|
-
function
|
|
6095
|
+
function co(e) {
|
|
6093
6096
|
return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, n) {
|
|
6094
6097
|
var r = e.get(t);
|
|
6095
6098
|
r ? r.push(n) : e.set(t, [n]);
|
|
@@ -6111,7 +6114,7 @@ function Vf() {
|
|
|
6111
6114
|
function ta(e, t) {
|
|
6112
6115
|
return e === t || e !== e && t !== t;
|
|
6113
6116
|
}
|
|
6114
|
-
function
|
|
6117
|
+
function ao(e, t) {
|
|
6115
6118
|
for (var n = e.length; n--; )
|
|
6116
6119
|
if (ta(e[n][0], t))
|
|
6117
6120
|
return n;
|
|
@@ -6119,21 +6122,21 @@ function co(e, t) {
|
|
|
6119
6122
|
}
|
|
6120
6123
|
var jf = Array.prototype, Hf = jf.splice;
|
|
6121
6124
|
function Wf(e) {
|
|
6122
|
-
var t = this.__data__, n =
|
|
6125
|
+
var t = this.__data__, n = ao(t, e);
|
|
6123
6126
|
if (n < 0)
|
|
6124
6127
|
return !1;
|
|
6125
6128
|
var r = t.length - 1;
|
|
6126
6129
|
return n == r ? t.pop() : Hf.call(t, n, 1), --this.size, !0;
|
|
6127
6130
|
}
|
|
6128
6131
|
function Ff(e) {
|
|
6129
|
-
var t = this.__data__, n =
|
|
6132
|
+
var t = this.__data__, n = ao(t, e);
|
|
6130
6133
|
return n < 0 ? void 0 : t[n][1];
|
|
6131
6134
|
}
|
|
6132
6135
|
function Bf(e) {
|
|
6133
|
-
return
|
|
6136
|
+
return ao(this.__data__, e) > -1;
|
|
6134
6137
|
}
|
|
6135
6138
|
function Uf(e, t) {
|
|
6136
|
-
var n = this.__data__, r =
|
|
6139
|
+
var n = this.__data__, r = ao(n, e);
|
|
6137
6140
|
return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
|
|
6138
6141
|
}
|
|
6139
6142
|
function Yt(e) {
|
|
@@ -6180,19 +6183,19 @@ var tp = "[object Null]", np = "[object Undefined]", yi = Dn ? Dn.toStringTag :
|
|
|
6180
6183
|
function mr(e) {
|
|
6181
6184
|
return e == null ? e === void 0 ? np : tp : yi && yi in Object(e) ? Xf(e) : ep(e);
|
|
6182
6185
|
}
|
|
6183
|
-
function
|
|
6186
|
+
function uo(e) {
|
|
6184
6187
|
var t = typeof e;
|
|
6185
6188
|
return e != null && (t == "object" || t == "function");
|
|
6186
6189
|
}
|
|
6187
6190
|
var rp = "[object AsyncFunction]", op = "[object Function]", sp = "[object GeneratorFunction]", ip = "[object Proxy]";
|
|
6188
6191
|
function oa(e) {
|
|
6189
|
-
if (!
|
|
6192
|
+
if (!uo(e))
|
|
6190
6193
|
return !1;
|
|
6191
6194
|
var t = mr(e);
|
|
6192
6195
|
return t == op || t == sp || t == rp || t == ip;
|
|
6193
6196
|
}
|
|
6194
|
-
var
|
|
6195
|
-
var e = /[^.]+$/.exec(
|
|
6197
|
+
var Co = It["__core-js_shared__"], _i = function() {
|
|
6198
|
+
var e = /[^.]+$/.exec(Co && Co.keys && Co.keys.IE_PROTO || "");
|
|
6196
6199
|
return e ? "Symbol(src)_1." + e : "";
|
|
6197
6200
|
}();
|
|
6198
6201
|
function cp(e) {
|
|
@@ -6216,7 +6219,7 @@ var lp = /[\\^$.*+?()[\]{}|]/g, fp = /^\[object .+?Constructor\]$/, pp = Functio
|
|
|
6216
6219
|
"^" + hp.call(gp).replace(lp, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
6217
6220
|
);
|
|
6218
6221
|
function vp(e) {
|
|
6219
|
-
if (!
|
|
6222
|
+
if (!uo(e) || cp(e))
|
|
6220
6223
|
return !1;
|
|
6221
6224
|
var t = oa(e) ? mp : fp;
|
|
6222
6225
|
return t.test(gn(e));
|
|
@@ -6278,22 +6281,22 @@ function Cp(e) {
|
|
|
6278
6281
|
var t = typeof e;
|
|
6279
6282
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
6280
6283
|
}
|
|
6281
|
-
function
|
|
6284
|
+
function lo(e, t) {
|
|
6282
6285
|
var n = e.__data__;
|
|
6283
6286
|
return Cp(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
|
|
6284
6287
|
}
|
|
6285
6288
|
function Pp(e) {
|
|
6286
|
-
var t =
|
|
6289
|
+
var t = lo(this, e).delete(e);
|
|
6287
6290
|
return this.size -= t ? 1 : 0, t;
|
|
6288
6291
|
}
|
|
6289
6292
|
function Ip(e) {
|
|
6290
|
-
return
|
|
6293
|
+
return lo(this, e).get(e);
|
|
6291
6294
|
}
|
|
6292
6295
|
function $p(e) {
|
|
6293
|
-
return
|
|
6296
|
+
return lo(this, e).has(e);
|
|
6294
6297
|
}
|
|
6295
6298
|
function Mp(e, t) {
|
|
6296
|
-
var n =
|
|
6299
|
+
var n = lo(this, e), r = n.size;
|
|
6297
6300
|
return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
|
|
6298
6301
|
}
|
|
6299
6302
|
function Ln(e) {
|
|
@@ -6369,7 +6372,7 @@ var sa = Object.prototype, Kp = sa.hasOwnProperty, kp = sa.propertyIsEnumerable,
|
|
|
6369
6372
|
return arguments;
|
|
6370
6373
|
}()) ? wi : function(e) {
|
|
6371
6374
|
return vr(e) && Kp.call(e, "callee") && !kp.call(e, "callee");
|
|
6372
|
-
},
|
|
6375
|
+
}, bs = Array.isArray;
|
|
6373
6376
|
function qp() {
|
|
6374
6377
|
return !1;
|
|
6375
6378
|
}
|
|
@@ -6388,20 +6391,20 @@ Ce[td] = Ce[nd] = Ce[hd] = Ce[rd] = Ce[gd] = Ce[od] = Ce[sd] = Ce[id] = Ce[cd] =
|
|
|
6388
6391
|
function Ad(e) {
|
|
6389
6392
|
return vr(e) && aa(e.length) && !!Ce[mr(e)];
|
|
6390
6393
|
}
|
|
6391
|
-
function
|
|
6394
|
+
function ws(e) {
|
|
6392
6395
|
return function(t) {
|
|
6393
6396
|
return e(t);
|
|
6394
6397
|
};
|
|
6395
6398
|
}
|
|
6396
|
-
var ua = typeof exports == "object" && exports && !exports.nodeType && exports, nr = ua && typeof module == "object" && module && !module.nodeType && module, Nd = nr && nr.exports === ua,
|
|
6399
|
+
var ua = typeof exports == "object" && exports && !exports.nodeType && exports, nr = ua && typeof module == "object" && module && !module.nodeType && module, Nd = nr && nr.exports === ua, Po = Nd && na.process, Cn = function() {
|
|
6397
6400
|
try {
|
|
6398
6401
|
var e = nr && nr.require && nr.require("util").types;
|
|
6399
|
-
return e ||
|
|
6402
|
+
return e || Po && Po.binding && Po.binding("util");
|
|
6400
6403
|
} catch {
|
|
6401
6404
|
}
|
|
6402
|
-
}(), Ai = Cn && Cn.isTypedArray, Td = Ai ?
|
|
6405
|
+
}(), Ai = Cn && Cn.isTypedArray, Td = Ai ? ws(Ai) : Ad, Rd = Object.prototype, xd = Rd.hasOwnProperty;
|
|
6403
6406
|
function Dd(e, t) {
|
|
6404
|
-
var n =
|
|
6407
|
+
var n = bs(e), r = !n && Yp(e), o = !n && !r && ca(e), s = !n && !r && !o && Td(e), i = n || r || o || s, c = i ? Up(e.length, String) : [], l = c.length;
|
|
6405
6408
|
for (var E in e)
|
|
6406
6409
|
xd.call(e, E) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
6407
6410
|
(E == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -6463,13 +6466,13 @@ function Kd(e, t) {
|
|
|
6463
6466
|
var kd = fa(Object.getPrototypeOf, Object);
|
|
6464
6467
|
function Yd(e, t, n) {
|
|
6465
6468
|
var r = t(e);
|
|
6466
|
-
return
|
|
6469
|
+
return bs(e) ? r : Kd(r, n(e));
|
|
6467
6470
|
}
|
|
6468
6471
|
function qd(e) {
|
|
6469
6472
|
return Yd(e, Vd, Gd);
|
|
6470
6473
|
}
|
|
6471
|
-
var
|
|
6472
|
-
(
|
|
6474
|
+
var zo = mn(It, "DataView"), Jo = mn(It, "Promise"), Xo = mn(It, "Set"), Zo = mn(It, "WeakMap"), xi = "[object Map]", zd = "[object Object]", Di = "[object Promise]", Ci = "[object Set]", Pi = "[object WeakMap]", Ii = "[object DataView]", Jd = gn(zo), Xd = gn(ar), Zd = gn(Jo), Qd = gn(Xo), eh = gn(Zo), Ft = mr;
|
|
6475
|
+
(zo && Ft(new zo(new ArrayBuffer(1))) != Ii || ar && Ft(new ar()) != xi || Jo && Ft(Jo.resolve()) != Di || Xo && Ft(new Xo()) != Ci || Zo && Ft(new Zo()) != Pi) && (Ft = function(e) {
|
|
6473
6476
|
var t = mr(e), n = t == zd ? e.constructor : void 0, r = n ? gn(n) : "";
|
|
6474
6477
|
if (r)
|
|
6475
6478
|
switch (r) {
|
|
@@ -6492,12 +6495,12 @@ function rh(e) {
|
|
|
6492
6495
|
return t && typeof e[0] == "string" && nh.call(e, "index") && (n.index = e.index, n.input = e.input), n;
|
|
6493
6496
|
}
|
|
6494
6497
|
var $i = It.Uint8Array;
|
|
6495
|
-
function
|
|
6498
|
+
function Os(e) {
|
|
6496
6499
|
var t = new e.constructor(e.byteLength);
|
|
6497
6500
|
return new $i(t).set(new $i(e)), t;
|
|
6498
6501
|
}
|
|
6499
6502
|
function oh(e, t) {
|
|
6500
|
-
var n =
|
|
6503
|
+
var n = Os(e.buffer);
|
|
6501
6504
|
return new e.constructor(n, e.byteOffset, e.byteLength);
|
|
6502
6505
|
}
|
|
6503
6506
|
var sh = /\w*$/;
|
|
@@ -6510,7 +6513,7 @@ function ch(e) {
|
|
|
6510
6513
|
return Li ? Object(Li.call(e)) : {};
|
|
6511
6514
|
}
|
|
6512
6515
|
function ah(e, t) {
|
|
6513
|
-
var n =
|
|
6516
|
+
var n = Os(e.buffer);
|
|
6514
6517
|
return new e.constructor(n, e.byteOffset, e.length);
|
|
6515
6518
|
}
|
|
6516
6519
|
var uh = "[object Boolean]", lh = "[object Date]", fh = "[object Map]", ph = "[object Number]", dh = "[object RegExp]", hh = "[object Set]", gh = "[object String]", mh = "[object Symbol]", vh = "[object ArrayBuffer]", Eh = "[object DataView]", yh = "[object Float32Array]", _h = "[object Float64Array]", bh = "[object Int8Array]", wh = "[object Int16Array]", Oh = "[object Int32Array]", Sh = "[object Uint8Array]", Ah = "[object Uint8ClampedArray]", Nh = "[object Uint16Array]", Th = "[object Uint32Array]";
|
|
@@ -6518,7 +6521,7 @@ function Rh(e, t, n) {
|
|
|
6518
6521
|
var r = e.constructor;
|
|
6519
6522
|
switch (t) {
|
|
6520
6523
|
case vh:
|
|
6521
|
-
return
|
|
6524
|
+
return Os(e);
|
|
6522
6525
|
case uh:
|
|
6523
6526
|
case lh:
|
|
6524
6527
|
return new r(+e);
|
|
@@ -6551,7 +6554,7 @@ var Vi = Object.create, xh = /* @__PURE__ */ function() {
|
|
|
6551
6554
|
function e() {
|
|
6552
6555
|
}
|
|
6553
6556
|
return function(t) {
|
|
6554
|
-
if (!
|
|
6557
|
+
if (!uo(t))
|
|
6555
6558
|
return {};
|
|
6556
6559
|
if (Vi)
|
|
6557
6560
|
return Vi(t);
|
|
@@ -6567,20 +6570,20 @@ var Ch = "[object Map]";
|
|
|
6567
6570
|
function Ph(e) {
|
|
6568
6571
|
return vr(e) && Ft(e) == Ch;
|
|
6569
6572
|
}
|
|
6570
|
-
var ji = Cn && Cn.isMap, Ih = ji ?
|
|
6573
|
+
var ji = Cn && Cn.isMap, Ih = ji ? ws(ji) : Ph, $h = "[object Set]";
|
|
6571
6574
|
function Mh(e) {
|
|
6572
6575
|
return vr(e) && Ft(e) == $h;
|
|
6573
6576
|
}
|
|
6574
|
-
var Hi = Cn && Cn.isSet, Lh = Hi ?
|
|
6577
|
+
var Hi = Cn && Cn.isSet, Lh = Hi ? ws(Hi) : Mh, da = "[object Arguments]", Vh = "[object Array]", jh = "[object Boolean]", Hh = "[object Date]", Wh = "[object Error]", ha = "[object Function]", Fh = "[object GeneratorFunction]", Bh = "[object Map]", Uh = "[object Number]", ga = "[object Object]", Gh = "[object RegExp]", Kh = "[object Set]", kh = "[object String]", Yh = "[object Symbol]", qh = "[object WeakMap]", zh = "[object ArrayBuffer]", Jh = "[object DataView]", Xh = "[object Float32Array]", Zh = "[object Float64Array]", Qh = "[object Int8Array]", eg = "[object Int16Array]", tg = "[object Int32Array]", ng = "[object Uint8Array]", rg = "[object Uint8ClampedArray]", og = "[object Uint16Array]", sg = "[object Uint32Array]", xe = {};
|
|
6575
6578
|
xe[da] = xe[Vh] = xe[zh] = xe[Jh] = xe[jh] = xe[Hh] = xe[Xh] = xe[Zh] = xe[Qh] = xe[eg] = xe[tg] = xe[Bh] = xe[Uh] = xe[ga] = xe[Gh] = xe[Kh] = xe[kh] = xe[Yh] = xe[ng] = xe[rg] = xe[og] = xe[sg] = !0;
|
|
6576
6579
|
xe[Wh] = xe[ha] = xe[qh] = !1;
|
|
6577
|
-
function
|
|
6580
|
+
function Pr(e, t, n, r, o, s) {
|
|
6578
6581
|
var i;
|
|
6579
6582
|
if (i !== void 0)
|
|
6580
6583
|
return i;
|
|
6581
|
-
if (!
|
|
6584
|
+
if (!uo(e))
|
|
6582
6585
|
return e;
|
|
6583
|
-
var c =
|
|
6586
|
+
var c = bs(e);
|
|
6584
6587
|
if (c)
|
|
6585
6588
|
i = rh(e);
|
|
6586
6589
|
else {
|
|
@@ -6600,29 +6603,29 @@ function Cr(e, t, n, r, o, s) {
|
|
|
6600
6603
|
if (p)
|
|
6601
6604
|
return p;
|
|
6602
6605
|
s.set(e, i), Lh(e) ? e.forEach(function(S) {
|
|
6603
|
-
i.add(
|
|
6606
|
+
i.add(Pr(S, t, n, S, e, s));
|
|
6604
6607
|
}) : Ih(e) && e.forEach(function(S, P) {
|
|
6605
|
-
i.set(P,
|
|
6608
|
+
i.set(P, Pr(S, t, n, P, e, s));
|
|
6606
6609
|
});
|
|
6607
6610
|
var d = qd, h = c ? void 0 : d(e);
|
|
6608
6611
|
return jp(h || e, function(S, P) {
|
|
6609
|
-
h && (P = S, S = e[P]), Bp(i, P,
|
|
6612
|
+
h && (P = S, S = e[P]), Bp(i, P, Pr(S, t, n, P, e, s));
|
|
6610
6613
|
}), i;
|
|
6611
6614
|
}
|
|
6612
6615
|
var ig = 1, cg = 4;
|
|
6613
6616
|
function Wi(e) {
|
|
6614
|
-
return
|
|
6617
|
+
return Pr(e, ig | cg);
|
|
6615
6618
|
}
|
|
6616
6619
|
const cn = {};
|
|
6617
|
-
let
|
|
6620
|
+
let Ir = [];
|
|
6618
6621
|
const ag = (e, t, n) => {
|
|
6619
|
-
|
|
6622
|
+
Ir.map((r) => {
|
|
6620
6623
|
var o;
|
|
6621
6624
|
if (((o = r.watchKeys) == null ? void 0 : o.length) > 0 && Object.keys(e).some((s) => r.watchKeys.includes(s)))
|
|
6622
6625
|
return r.cb(t, n);
|
|
6623
6626
|
r.cb(t, n);
|
|
6624
6627
|
});
|
|
6625
|
-
}, ug = (e) => [...Array(e)].map(() => Math.random().toString(36)[2]).join("").padEnd(e, "0").slice(0, e),
|
|
6628
|
+
}, ug = (e) => [...Array(e)].map(() => Math.random().toString(36)[2]).join("").padEnd(e, "0").slice(0, e), Ss = (e, t) => (cn[e] = t, {
|
|
6626
6629
|
set: (r, o) => {
|
|
6627
6630
|
if (!r || typeof r != "object") return;
|
|
6628
6631
|
const s = Wi(cn[e]), { notMerge: i = !1 } = o || {};
|
|
@@ -6640,8 +6643,8 @@ const ag = (e, t, n) => {
|
|
|
6640
6643
|
},
|
|
6641
6644
|
watch: (r, o) => {
|
|
6642
6645
|
const s = ug(10);
|
|
6643
|
-
return
|
|
6644
|
-
|
|
6646
|
+
return Ir.push({ id: s, watchKeys: o || [], cb: r }), () => {
|
|
6647
|
+
Ir = Ir.filter((i) => i.id !== s);
|
|
6645
6648
|
};
|
|
6646
6649
|
}
|
|
6647
6650
|
}), lg = "container", fg = {
|
|
@@ -6689,9 +6692,9 @@ const ag = (e, t, n) => {
|
|
|
6689
6692
|
microAppStickStatus: !1,
|
|
6690
6693
|
/** 容器创建时的初始化配置 */
|
|
6691
6694
|
initOptions: {}
|
|
6692
|
-
}, pg =
|
|
6695
|
+
}, pg = Ss(lg, fg), dg = {
|
|
6693
6696
|
data: pg,
|
|
6694
|
-
event:
|
|
6697
|
+
event: co(),
|
|
6695
6698
|
expose: {
|
|
6696
6699
|
/** 获取布局相关的数据key */
|
|
6697
6700
|
getLayoutDataKeys: () => [
|
|
@@ -6708,7 +6711,7 @@ const ag = (e, t, n) => {
|
|
|
6708
6711
|
]
|
|
6709
6712
|
}
|
|
6710
6713
|
}, hg = { container: dg };
|
|
6711
|
-
var
|
|
6714
|
+
var Io = { exports: {} }, $r = { exports: {} }, gg = $r.exports, Fi;
|
|
6712
6715
|
function mg() {
|
|
6713
6716
|
return Fi || (Fi = 1, function(e, t) {
|
|
6714
6717
|
(function(n, r) {
|
|
@@ -6748,15 +6751,15 @@ function mg() {
|
|
|
6748
6751
|
});
|
|
6749
6752
|
var s = {};
|
|
6750
6753
|
o.d(s, "cleanUpWindow", function() {
|
|
6751
|
-
return
|
|
6754
|
+
return xs;
|
|
6752
6755
|
}), o.d(s, "Promise", function() {
|
|
6753
6756
|
return we;
|
|
6754
6757
|
}), o.d(s, "bridge", function() {
|
|
6755
|
-
return
|
|
6758
|
+
return Ds;
|
|
6756
6759
|
}), o.d(s, "init", function() {
|
|
6757
|
-
return
|
|
6760
|
+
return fo;
|
|
6758
6761
|
}), o.d(s, "parent", function() {
|
|
6759
|
-
return
|
|
6762
|
+
return Rs;
|
|
6760
6763
|
}), o.d(s, "send", function() {
|
|
6761
6764
|
return lt;
|
|
6762
6765
|
}), o.d(s, "request", function() {
|
|
@@ -6770,15 +6773,15 @@ function mg() {
|
|
|
6770
6773
|
}), o.d(s, "listen", function() {
|
|
6771
6774
|
return rn;
|
|
6772
6775
|
}), o.d(s, "once", function() {
|
|
6773
|
-
return Ss;
|
|
6774
|
-
}), o.d(s, "listener", function() {
|
|
6775
6776
|
return As;
|
|
6777
|
+
}), o.d(s, "listener", function() {
|
|
6778
|
+
return Ns;
|
|
6776
6779
|
}), o.d(s, "CONFIG", function() {
|
|
6777
6780
|
return ne;
|
|
6778
6781
|
}), o.d(s, "CONSTANTS", function() {
|
|
6779
6782
|
return w;
|
|
6780
6783
|
}), o.d(s, "disable", function() {
|
|
6781
|
-
return
|
|
6784
|
+
return Ts;
|
|
6782
6785
|
});
|
|
6783
6786
|
function i(a) {
|
|
6784
6787
|
return Object.prototype.toString.call(a) === "[object RegExp]";
|
|
@@ -6851,7 +6854,7 @@ function mg() {
|
|
|
6851
6854
|
}
|
|
6852
6855
|
return !1;
|
|
6853
6856
|
}
|
|
6854
|
-
function
|
|
6857
|
+
function K(a, u) {
|
|
6855
6858
|
if (!a || !u) return !1;
|
|
6856
6859
|
var m = d(u);
|
|
6857
6860
|
return m ? m === a : function(v) {
|
|
@@ -6864,7 +6867,7 @@ function mg() {
|
|
|
6864
6867
|
return O;
|
|
6865
6868
|
}(u).indexOf(a) !== -1;
|
|
6866
6869
|
}
|
|
6867
|
-
function
|
|
6870
|
+
function Q(a) {
|
|
6868
6871
|
var u = [], m = void 0;
|
|
6869
6872
|
try {
|
|
6870
6873
|
m = a.frames;
|
|
@@ -6890,14 +6893,14 @@ function mg() {
|
|
|
6890
6893
|
return u;
|
|
6891
6894
|
}
|
|
6892
6895
|
for (var V = 0; V < 100; V++) {
|
|
6893
|
-
var
|
|
6896
|
+
var k = void 0;
|
|
6894
6897
|
try {
|
|
6895
|
-
|
|
6898
|
+
k = m[V];
|
|
6896
6899
|
} catch {
|
|
6897
6900
|
return u;
|
|
6898
6901
|
}
|
|
6899
|
-
if (!
|
|
6900
|
-
u.push(
|
|
6902
|
+
if (!k) return u;
|
|
6903
|
+
u.push(k);
|
|
6901
6904
|
}
|
|
6902
6905
|
return u;
|
|
6903
6906
|
}
|
|
@@ -7064,8 +7067,8 @@ function mg() {
|
|
|
7064
7067
|
} catch {
|
|
7065
7068
|
}
|
|
7066
7069
|
this._cleanupClosedWindows();
|
|
7067
|
-
var V = this.keys,
|
|
7068
|
-
X === -1 ? (V.push(u),
|
|
7070
|
+
var V = this.keys, k = this.values, X = le(V, u);
|
|
7071
|
+
X === -1 ? (V.push(u), k.push(m)) : k[X] = m;
|
|
7069
7072
|
}, a.prototype.get = function(u) {
|
|
7070
7073
|
if (!u) throw new Error("WeakMap expected key");
|
|
7071
7074
|
var m = this.weakmap;
|
|
@@ -7204,7 +7207,7 @@ function mg() {
|
|
|
7204
7207
|
return u = !0, a.apply(this, arguments);
|
|
7205
7208
|
};
|
|
7206
7209
|
};
|
|
7207
|
-
function
|
|
7210
|
+
function ee() {
|
|
7208
7211
|
}
|
|
7209
7212
|
function ve() {
|
|
7210
7213
|
var a = "0123456789abcdef";
|
|
@@ -7221,10 +7224,10 @@ function mg() {
|
|
|
7221
7224
|
v = [];
|
|
7222
7225
|
} else v = {};
|
|
7223
7226
|
return function(O, $) {
|
|
7224
|
-
Array.isArray(O) ? function(V,
|
|
7225
|
-
for (var X = 0; X < V.length; X++)
|
|
7226
|
-
}(O, $) : (O === void 0 ? "undefined" : ce(O)) === "object" && O !== null && function(V,
|
|
7227
|
-
for (var X in V) V.hasOwnProperty(X) &&
|
|
7227
|
+
Array.isArray(O) ? function(V, k) {
|
|
7228
|
+
for (var X = 0; X < V.length; X++) k(V[X], X);
|
|
7229
|
+
}(O, $) : (O === void 0 ? "undefined" : ce(O)) === "object" && O !== null && function(V, k) {
|
|
7230
|
+
for (var X in V) V.hasOwnProperty(X) && k(V[X], X);
|
|
7228
7231
|
}(O, $);
|
|
7229
7232
|
}(a, function(O, $) {
|
|
7230
7233
|
var V = u(O, $);
|
|
@@ -7269,19 +7272,19 @@ function mg() {
|
|
|
7269
7272
|
if (function(X, fe) {
|
|
7270
7273
|
if (!(X instanceof a)) throw new TypeError("Cannot call a class as a function");
|
|
7271
7274
|
}(this), this.resolved = !1, this.rejected = !1, this.errorHandled = !1, this.handlers = [], u) {
|
|
7272
|
-
var v = void 0, O = void 0, $ = !1, V = !1,
|
|
7275
|
+
var v = void 0, O = void 0, $ = !1, V = !1, k = !1;
|
|
7273
7276
|
ge();
|
|
7274
7277
|
try {
|
|
7275
7278
|
u(function(X) {
|
|
7276
|
-
|
|
7279
|
+
k ? m.resolve(X) : ($ = !0, v = X);
|
|
7277
7280
|
}, function(X) {
|
|
7278
|
-
|
|
7281
|
+
k ? m.reject(X) : (V = !0, O = X);
|
|
7279
7282
|
});
|
|
7280
7283
|
} catch (X) {
|
|
7281
7284
|
Ie(), this.reject(X);
|
|
7282
7285
|
return;
|
|
7283
7286
|
}
|
|
7284
|
-
Ie(),
|
|
7287
|
+
Ie(), k = !0, $ ? this.resolve(v) : V && this.reject(O);
|
|
7285
7288
|
}
|
|
7286
7289
|
}
|
|
7287
7290
|
return a.prototype.resolve = function(u) {
|
|
@@ -7319,26 +7322,26 @@ function mg() {
|
|
|
7319
7322
|
me.reject(Me);
|
|
7320
7323
|
});
|
|
7321
7324
|
}, V = 0; V < O.length; V++) {
|
|
7322
|
-
var
|
|
7325
|
+
var k = O[V], X = k.onSuccess, fe = k.onError, te = k.promise, z = void 0;
|
|
7323
7326
|
if (m) try {
|
|
7324
7327
|
z = X ? X(this.value) : this.value;
|
|
7325
7328
|
} catch (de) {
|
|
7326
|
-
|
|
7329
|
+
te.reject(de);
|
|
7327
7330
|
continue;
|
|
7328
7331
|
}
|
|
7329
7332
|
else if (v) {
|
|
7330
7333
|
if (!fe) {
|
|
7331
|
-
|
|
7334
|
+
te.reject(this.error);
|
|
7332
7335
|
continue;
|
|
7333
7336
|
}
|
|
7334
7337
|
try {
|
|
7335
7338
|
z = fe(this.error);
|
|
7336
7339
|
} catch (de) {
|
|
7337
|
-
|
|
7340
|
+
te.reject(de);
|
|
7338
7341
|
continue;
|
|
7339
7342
|
}
|
|
7340
7343
|
}
|
|
7341
|
-
z instanceof a && (z.resolved || z.rejected) ? (z.resolved ?
|
|
7344
|
+
z instanceof a && (z.resolved || z.rejected) ? (z.resolved ? te.resolve(z.value) : te.reject(z.error), z.errorHandled = !0) : Re(z) ? z instanceof a && (z.resolved || z.rejected) ? z.resolved ? te.resolve(z.value) : te.reject(z.error) : $(z, te) : te.resolve(z);
|
|
7342
7345
|
}
|
|
7343
7346
|
O.length = 0, this.dispatching = !1, Ie();
|
|
7344
7347
|
}
|
|
@@ -7388,24 +7391,24 @@ function mg() {
|
|
|
7388
7391
|
var m = new a(), v = u.length, O = [];
|
|
7389
7392
|
if (!v)
|
|
7390
7393
|
return m.resolve(O), m;
|
|
7391
|
-
for (var $ = function(X, fe,
|
|
7394
|
+
for (var $ = function(X, fe, te) {
|
|
7392
7395
|
return fe.then(function(z) {
|
|
7393
7396
|
O[X] = z, (v -= 1) == 0 && m.resolve(O);
|
|
7394
7397
|
}, function(z) {
|
|
7395
|
-
|
|
7398
|
+
te.reject(z);
|
|
7396
7399
|
});
|
|
7397
7400
|
}, V = 0; V < u.length; V++) {
|
|
7398
|
-
var
|
|
7399
|
-
if (
|
|
7400
|
-
if (
|
|
7401
|
-
O[V] =
|
|
7401
|
+
var k = u[V];
|
|
7402
|
+
if (k instanceof a) {
|
|
7403
|
+
if (k.resolved) {
|
|
7404
|
+
O[V] = k.value, v -= 1;
|
|
7402
7405
|
continue;
|
|
7403
7406
|
}
|
|
7404
|
-
} else if (!Re(
|
|
7405
|
-
O[V] =
|
|
7407
|
+
} else if (!Re(k)) {
|
|
7408
|
+
O[V] = k, v -= 1;
|
|
7406
7409
|
continue;
|
|
7407
7410
|
}
|
|
7408
|
-
$(V, a.resolve(
|
|
7411
|
+
$(V, a.resolve(k), m);
|
|
7409
7412
|
}
|
|
7410
7413
|
return v === 0 && m.resolve(O), m;
|
|
7411
7414
|
}, a.hash = function(u) {
|
|
@@ -7553,25 +7556,25 @@ function mg() {
|
|
|
7553
7556
|
function N(a, u, m) {
|
|
7554
7557
|
return we.try(function() {
|
|
7555
7558
|
var v;
|
|
7556
|
-
if (u = function(V,
|
|
7557
|
-
var X = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, fe = ve(),
|
|
7559
|
+
if (u = function(V, k) {
|
|
7560
|
+
var X = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, fe = ve(), te = function() {
|
|
7558
7561
|
var de = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window;
|
|
7559
7562
|
return !!h(de);
|
|
7560
7563
|
}() ? w.WINDOW_TYPES.POPUP : function() {
|
|
7561
7564
|
var de = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window;
|
|
7562
7565
|
return !!d(de);
|
|
7563
7566
|
}() ? w.WINDOW_TYPES.IFRAME : w.WINDOW_TYPES.FULLPAGE, z = F(window);
|
|
7564
|
-
return b({},
|
|
7567
|
+
return b({}, k, X, {
|
|
7565
7568
|
sourceDomain: z,
|
|
7566
|
-
id:
|
|
7567
|
-
windowType:
|
|
7569
|
+
id: k.id || fe,
|
|
7570
|
+
windowType: te
|
|
7568
7571
|
});
|
|
7569
7572
|
}(a, u, {
|
|
7570
|
-
data: function(V,
|
|
7573
|
+
data: function(V, k, X) {
|
|
7571
7574
|
return T({
|
|
7572
7575
|
obj: u.data
|
|
7573
|
-
}, function(fe,
|
|
7574
|
-
return typeof fe == "function" ? y(V,
|
|
7576
|
+
}, function(fe, te) {
|
|
7577
|
+
return typeof fe == "function" ? y(V, k, fe, te.toString()) : fe instanceof Error ? (z = fe, {
|
|
7575
7578
|
__type__: w.SERIALIZATION_TYPES.ERROR,
|
|
7576
7579
|
__message__: ie(z),
|
|
7577
7580
|
__code__: z.code
|
|
@@ -7582,14 +7585,14 @@ function mg() {
|
|
|
7582
7585
|
return ze.then(Je, Ye);
|
|
7583
7586
|
}, Pe + ".then")
|
|
7584
7587
|
};
|
|
7585
|
-
}(V,
|
|
7588
|
+
}(V, k, fe, te.toString()) : we.isPromise(fe) ? function(me, Me, ze, Pe) {
|
|
7586
7589
|
return {
|
|
7587
7590
|
__type__: w.SERIALIZATION_TYPES.ZALGO_PROMISE,
|
|
7588
7591
|
__then__: y(me, Me, function(Je, Ye) {
|
|
7589
7592
|
return ze.then(Je, Ye);
|
|
7590
7593
|
}, Pe + ".then")
|
|
7591
7594
|
};
|
|
7592
|
-
}(V,
|
|
7595
|
+
}(V, k, fe, te.toString()) : _e(fe) ? (de = fe, {
|
|
7593
7596
|
__type__: w.SERIALIZATION_TYPES.REGEX,
|
|
7594
7597
|
__source__: de.source
|
|
7595
7598
|
}) : void 0;
|
|
@@ -7599,17 +7602,17 @@ function mg() {
|
|
|
7599
7602
|
domain: m
|
|
7600
7603
|
}), a === window && !ne.ALLOW_SAME_ORIGIN) throw new Error("Attemping to send message to self");
|
|
7601
7604
|
if (L(a)) throw new Error("Window is closed");
|
|
7602
|
-
var O = [], $ = function(V,
|
|
7603
|
-
var fe = void 0,
|
|
7605
|
+
var O = [], $ = function(V, k, X) {
|
|
7606
|
+
var fe = void 0, te = void 0;
|
|
7604
7607
|
try {
|
|
7605
7608
|
if (JSON.stringify({}) !== "{}" && (fe = Object.prototype.toJSON, delete Object.prototype.toJSON), JSON.stringify({}) !== "{}") throw new Error("Can not correctly serialize JSON objects");
|
|
7606
|
-
if (JSON.stringify([]) !== "[]" && (
|
|
7609
|
+
if (JSON.stringify([]) !== "[]" && (te = Array.prototype.toJSON, delete Array.prototype.toJSON), JSON.stringify([]) !== "[]") throw new Error("Can not correctly serialize JSON objects");
|
|
7607
7610
|
} catch (de) {
|
|
7608
7611
|
throw new Error("Can not repair JSON.stringify: " + de.message);
|
|
7609
7612
|
}
|
|
7610
7613
|
var z = JSON.stringify.call(this, V, null, 2);
|
|
7611
7614
|
try {
|
|
7612
|
-
fe && (Object.prototype.toJSON = fe),
|
|
7615
|
+
fe && (Object.prototype.toJSON = fe), te && (Array.prototype.toJSON = te);
|
|
7613
7616
|
} catch (de) {
|
|
7614
7617
|
throw new Error("Can not repair JSON.stringify: " + de.message);
|
|
7615
7618
|
}
|
|
@@ -7621,16 +7624,16 @@ function mg() {
|
|
|
7621
7624
|
return I[V](a, $, m);
|
|
7622
7625
|
}).then(function() {
|
|
7623
7626
|
return O.push(V + ": success"), !0;
|
|
7624
|
-
}, function(
|
|
7625
|
-
return O.push(V + ": " + ie(
|
|
7627
|
+
}, function(k) {
|
|
7628
|
+
return O.push(V + ": " + ie(k) + `
|
|
7626
7629
|
`), !1;
|
|
7627
7630
|
});
|
|
7628
7631
|
}).then(function(V) {
|
|
7629
|
-
var
|
|
7632
|
+
var k = V.some(Boolean), X = u.type + " " + u.name + " " + (k ? "success" : "error") + `:
|
|
7630
7633
|
- ` + O.join(`
|
|
7631
7634
|
- `) + `
|
|
7632
7635
|
`;
|
|
7633
|
-
if (!
|
|
7636
|
+
if (!k) throw new Error(X);
|
|
7634
7637
|
});
|
|
7635
7638
|
});
|
|
7636
7639
|
}
|
|
@@ -7650,13 +7653,13 @@ function mg() {
|
|
|
7650
7653
|
var u = a.name, m = a.win, v = a.domain;
|
|
7651
7654
|
if (m === w.WILDCARD && (m = null), v === w.WILDCARD && (v = null), !u) throw new Error("Name required to get request listener");
|
|
7652
7655
|
var O = H.requestListeners[u];
|
|
7653
|
-
if (O) for (var $ = 0, V = [m, H.WINDOW_WILDCARD],
|
|
7656
|
+
if (O) for (var $ = 0, V = [m, H.WINDOW_WILDCARD], k = V == null ? 0 : V.length; $ < k; $++) {
|
|
7654
7657
|
var X = V[$], fe = X && O.get(X);
|
|
7655
7658
|
if (fe) {
|
|
7656
7659
|
if (v && typeof v == "string") {
|
|
7657
7660
|
if (fe[v]) return fe[v];
|
|
7658
|
-
if (fe[G]) for (var
|
|
7659
|
-
var me = z[
|
|
7661
|
+
if (fe[G]) for (var te = 0, z = fe[G], de = z == null ? 0 : z.length; te < de; te++) {
|
|
7662
|
+
var me = z[te], Me = me.regex, ze = me.listener;
|
|
7660
7663
|
if (ue(Me, v)) return ze;
|
|
7661
7664
|
}
|
|
7662
7665
|
}
|
|
@@ -7708,14 +7711,14 @@ function mg() {
|
|
|
7708
7711
|
data: $
|
|
7709
7712
|
});
|
|
7710
7713
|
}, function($) {
|
|
7711
|
-
var V = ie($).replace(/^Error: /, ""),
|
|
7714
|
+
var V = ie($).replace(/^Error: /, ""), k = $.code;
|
|
7712
7715
|
return O({
|
|
7713
7716
|
type: w.POST_MESSAGE_TYPE.RESPONSE,
|
|
7714
7717
|
ack: w.POST_MESSAGE_ACK.ERROR,
|
|
7715
7718
|
error: V,
|
|
7716
|
-
code:
|
|
7719
|
+
code: k
|
|
7717
7720
|
});
|
|
7718
|
-
})]).then(
|
|
7721
|
+
})]).then(ee).catch(function($) {
|
|
7719
7722
|
if (v && v.handleError) return v.handleError($);
|
|
7720
7723
|
throw $;
|
|
7721
7724
|
});
|
|
@@ -7764,17 +7767,17 @@ function mg() {
|
|
|
7764
7767
|
v.sourceDomain.indexOf(w.MOCK_PROTOCOL) !== 0 && v.sourceDomain.indexOf(w.FILE_PROTOCOL) !== 0 || (m = v.sourceDomain), H.receivedMessages.indexOf(v.id) === -1 && (H.receivedMessages.push(v.id), (!L(u) || v.fireAndForget) && (v.data && (v.data = function(O, $, V) {
|
|
7765
7768
|
return T({
|
|
7766
7769
|
obj: v.data
|
|
7767
|
-
}, function(
|
|
7768
|
-
if ((
|
|
7769
|
-
var z = new Error(
|
|
7770
|
-
return
|
|
7771
|
-
}(0, 0,
|
|
7770
|
+
}, function(k) {
|
|
7771
|
+
if ((k === void 0 ? "undefined" : $e(k)) === "object" && k !== null) return g(k, w.SERIALIZATION_TYPES.METHOD) ? C(O, $, k) : g(k, w.SERIALIZATION_TYPES.ERROR) ? function(X, fe, te) {
|
|
7772
|
+
var z = new Error(te.__message__);
|
|
7773
|
+
return te.__code__ && (z.code = te.__code__), z;
|
|
7774
|
+
}(0, 0, k) : g(k, w.SERIALIZATION_TYPES.PROMISE) ? function(X, fe, te) {
|
|
7772
7775
|
return window.Promise ? new window.Promise(function(z, de) {
|
|
7773
|
-
return C(X, fe,
|
|
7774
|
-
}) : x(X, fe,
|
|
7775
|
-
}(O, $,
|
|
7776
|
-
return new RegExp(
|
|
7777
|
-
}(0, 0,
|
|
7776
|
+
return C(X, fe, te.__then__)(z, de);
|
|
7777
|
+
}) : x(X, fe, te);
|
|
7778
|
+
}(O, $, k) : g(k, w.SERIALIZATION_TYPES.ZALGO_PROMISE) ? x(O, $, k) : g(k, w.SERIALIZATION_TYPES.REGEX) ? function(X, fe, te) {
|
|
7779
|
+
return new RegExp(te.__source__);
|
|
7780
|
+
}(0, 0, k) : void 0;
|
|
7778
7781
|
}).obj;
|
|
7779
7782
|
}(u, m)), Se[v.type](u, m, v)));
|
|
7780
7783
|
}
|
|
@@ -7813,13 +7816,13 @@ function mg() {
|
|
|
7813
7816
|
v = a.domain || w.WILDCARD;
|
|
7814
7817
|
var V = a.name + "_" + ve();
|
|
7815
7818
|
if (L($)) throw new Error("Target window is closed");
|
|
7816
|
-
var
|
|
7819
|
+
var k = !1, X = H.requestPromises.get($);
|
|
7817
7820
|
X || (X = [], H.requestPromises.set($, X));
|
|
7818
7821
|
var fe = we.try(function() {
|
|
7819
|
-
if (function(
|
|
7822
|
+
if (function(te, z) {
|
|
7820
7823
|
var de = re(z);
|
|
7821
|
-
if (de) return de ===
|
|
7822
|
-
if (z ===
|
|
7824
|
+
if (de) return de === te;
|
|
7825
|
+
if (z === te || function() {
|
|
7823
7826
|
var Pe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window;
|
|
7824
7827
|
try {
|
|
7825
7828
|
if (Pe.top) return Pe.top;
|
|
@@ -7827,15 +7830,15 @@ function mg() {
|
|
|
7827
7830
|
}
|
|
7828
7831
|
if (d(Pe) === Pe) return Pe;
|
|
7829
7832
|
try {
|
|
7830
|
-
if (
|
|
7833
|
+
if (K(window, Pe) && window.top) return window.top;
|
|
7831
7834
|
} catch {
|
|
7832
7835
|
}
|
|
7833
7836
|
try {
|
|
7834
|
-
if (
|
|
7837
|
+
if (K(Pe, window) && window.top) return window.top;
|
|
7835
7838
|
} catch {
|
|
7836
7839
|
}
|
|
7837
|
-
for (var Je = 0, Ye = function Mt(
|
|
7838
|
-
for (var Wn = [], Fn = 0, vn =
|
|
7840
|
+
for (var Je = 0, Ye = function Mt(po) {
|
|
7841
|
+
for (var Wn = [], Fn = 0, vn = Q(po), qt = vn == null ? 0 : vn.length; Fn < qt; Fn++) {
|
|
7839
7842
|
var pt = vn[Fn];
|
|
7840
7843
|
Wn.push(pt);
|
|
7841
7844
|
for (var En = 0, _t = Mt(pt), yn = _t == null ? 0 : _t.length; En < yn; En++) {
|
|
@@ -7853,22 +7856,22 @@ function mg() {
|
|
|
7853
7856
|
if (d($t) === $t) return $t;
|
|
7854
7857
|
}
|
|
7855
7858
|
}(z) === z) return !1;
|
|
7856
|
-
for (var me = 0, Me = te
|
|
7859
|
+
for (var me = 0, Me = Q(te), ze = Me == null ? 0 : Me.length; me < ze; me++) if (Me[me] === z) return !0;
|
|
7857
7860
|
return !1;
|
|
7858
|
-
}(window, $)) return function(
|
|
7859
|
-
var z = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 5e3, de = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "Window", me = H.readyPromises.get(
|
|
7860
|
-
return me || (me = new we(), H.readyPromises.set(
|
|
7861
|
+
}(window, $)) return function(te) {
|
|
7862
|
+
var z = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 5e3, de = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "Window", me = H.readyPromises.get(te);
|
|
7863
|
+
return me || (me = new we(), H.readyPromises.set(te, me), z !== -1 && setTimeout(function() {
|
|
7861
7864
|
return me.reject(new Error(de + " did not load after " + z + "ms"));
|
|
7862
7865
|
}, z), me);
|
|
7863
7866
|
}($, a.timeout || ne.CHILD_WINDOW_TIMEOUT);
|
|
7864
7867
|
}).then(function() {
|
|
7865
|
-
var
|
|
7866
|
-
if (_e(v) && !
|
|
7868
|
+
var te = (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}).origin;
|
|
7869
|
+
if (_e(v) && !te) return _($);
|
|
7867
7870
|
}).then(function() {
|
|
7868
|
-
var
|
|
7871
|
+
var te = (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}).origin;
|
|
7869
7872
|
if (_e(v)) {
|
|
7870
|
-
if (!ue(v,
|
|
7871
|
-
v =
|
|
7873
|
+
if (!ue(v, te)) throw new Error("Remote window domain " + te + " does not match regex: " + v.toString());
|
|
7874
|
+
v = te;
|
|
7872
7875
|
}
|
|
7873
7876
|
if (typeof v != "string" && !Array.isArray(v)) throw new TypeError("Expected domain to be a string or array");
|
|
7874
7877
|
var z = v;
|
|
@@ -7881,7 +7884,7 @@ function mg() {
|
|
|
7881
7884
|
window: $,
|
|
7882
7885
|
domain: z,
|
|
7883
7886
|
respond: function(Ye, yt) {
|
|
7884
|
-
Ye || (
|
|
7887
|
+
Ye || (k = !0, X.splice(X.indexOf(fe, 1))), Ye ? me(Ye) : de(yt);
|
|
7885
7888
|
}
|
|
7886
7889
|
}), N($, {
|
|
7887
7890
|
type: w.POST_MESSAGE_TYPE.REQUEST,
|
|
@@ -7892,7 +7895,7 @@ function mg() {
|
|
|
7892
7895
|
}, z).catch(me), a.fireAndForget) return de();
|
|
7893
7896
|
var ze = ne.ACK_TIMEOUT, Pe = a.timeout || ne.RES_TIMEOUT, Je = 100;
|
|
7894
7897
|
setTimeout(function Ye() {
|
|
7895
|
-
if (!
|
|
7898
|
+
if (!k) {
|
|
7896
7899
|
if (L($)) return Me.ack ? me(new Error("Window closed for " + u + " before response")) : me(new Error("Window closed for " + u + " before ack"));
|
|
7897
7900
|
if (ze = Math.max(ze - Je, 0), Pe !== -1 && (Pe = Math.max(Pe - Je, 0)), Me.ack) {
|
|
7898
7901
|
if (Pe === -1) return;
|
|
@@ -7907,8 +7910,8 @@ function mg() {
|
|
|
7907
7910
|
});
|
|
7908
7911
|
});
|
|
7909
7912
|
return fe.catch(function() {
|
|
7910
|
-
(function(
|
|
7911
|
-
H.erroredResponseListeners[
|
|
7913
|
+
(function(te) {
|
|
7914
|
+
H.erroredResponseListeners[te] = !0;
|
|
7912
7915
|
})(V), Z(V);
|
|
7913
7916
|
}), X.push(fe), fe;
|
|
7914
7917
|
});
|
|
@@ -7949,7 +7952,7 @@ function mg() {
|
|
|
7949
7952
|
window: m,
|
|
7950
7953
|
domain: v || w.WILDCARD,
|
|
7951
7954
|
name: u
|
|
7952
|
-
}, $ = function X(fe,
|
|
7955
|
+
}, $ = function X(fe, te) {
|
|
7953
7956
|
var z = fe.name, de = fe.win, me = fe.domain;
|
|
7954
7957
|
if (!z || typeof z != "string") throw new Error("Name required to add request listener");
|
|
7955
7958
|
if (Array.isArray(de)) {
|
|
@@ -7959,26 +7962,26 @@ function mg() {
|
|
|
7959
7962
|
name: z,
|
|
7960
7963
|
domain: me,
|
|
7961
7964
|
win: Ye
|
|
7962
|
-
},
|
|
7965
|
+
}, te));
|
|
7963
7966
|
}
|
|
7964
7967
|
return {
|
|
7965
7968
|
cancel: function() {
|
|
7966
|
-
for (var Lt = 0,
|
|
7969
|
+
for (var Lt = 0, ho = Me == null ? 0 : Me.length; Lt < ho; Lt++) Me[Lt].cancel();
|
|
7967
7970
|
}
|
|
7968
7971
|
};
|
|
7969
7972
|
}
|
|
7970
7973
|
if (Array.isArray(me)) {
|
|
7971
|
-
for (var yt = [], $t = 0, Mt = me,
|
|
7974
|
+
for (var yt = [], $t = 0, Mt = me, po = Mt == null ? 0 : Mt.length; $t < po; $t++) {
|
|
7972
7975
|
var Wn = Mt[$t];
|
|
7973
7976
|
yt.push(X({
|
|
7974
7977
|
name: z,
|
|
7975
7978
|
win: de,
|
|
7976
7979
|
domain: Wn
|
|
7977
|
-
},
|
|
7980
|
+
}, te));
|
|
7978
7981
|
}
|
|
7979
7982
|
return {
|
|
7980
7983
|
cancel: function() {
|
|
7981
|
-
for (var Lt = 0,
|
|
7984
|
+
for (var Lt = 0, ho = yt == null ? 0 : yt.length; Lt < ho; Lt++) yt[Lt].cancel();
|
|
7982
7985
|
}
|
|
7983
7986
|
};
|
|
7984
7987
|
}
|
|
@@ -7995,8 +7998,8 @@ function mg() {
|
|
|
7995
7998
|
var En = me.toString(), _t = pt[G], yn = void 0;
|
|
7996
7999
|
return _e(me) ? (_t || (_t = [], pt[G] = _t), yn = {
|
|
7997
8000
|
regex: me,
|
|
7998
|
-
listener:
|
|
7999
|
-
}, _t.push(yn)) : pt[En] =
|
|
8001
|
+
listener: te
|
|
8002
|
+
}, _t.push(yn)) : pt[En] = te, {
|
|
8000
8003
|
cancel: function() {
|
|
8001
8004
|
pt && (delete pt[En], de && Object.keys(pt).length === 0 && qt.delete(de), yn && _t.splice(_t.indexOf(yn, 1)));
|
|
8002
8005
|
}
|
|
@@ -8012,15 +8015,15 @@ function mg() {
|
|
|
8012
8015
|
return $.cancel(), V.apply(this, arguments);
|
|
8013
8016
|
});
|
|
8014
8017
|
}
|
|
8015
|
-
if (O.window && a.errorOnClose) var
|
|
8016
|
-
var
|
|
8017
|
-
return
|
|
8018
|
-
|
|
8019
|
-
m && (m === void 0 ? "undefined" : ft(m)) === "object" && L(m) && (
|
|
8018
|
+
if (O.window && a.errorOnClose) var k = function(X, fe) {
|
|
8019
|
+
var te = void 0;
|
|
8020
|
+
return te = setTimeout(function z() {
|
|
8021
|
+
te = setTimeout(z, 50), (function() {
|
|
8022
|
+
m && (m === void 0 ? "undefined" : ft(m)) === "object" && L(m) && (k.cancel(), O.handleError(new Error("Post message target window is closed")));
|
|
8020
8023
|
}).call();
|
|
8021
8024
|
}, 50), {
|
|
8022
8025
|
cancel: function() {
|
|
8023
|
-
clearTimeout(
|
|
8026
|
+
clearTimeout(te);
|
|
8024
8027
|
}
|
|
8025
8028
|
};
|
|
8026
8029
|
}();
|
|
@@ -8033,19 +8036,19 @@ function mg() {
|
|
|
8033
8036
|
function Hn(a, u, m) {
|
|
8034
8037
|
return typeof u == "function" && (m = u, u = {}), (u = u || {}).name = a, u.handler = m || u.handler, rn(u);
|
|
8035
8038
|
}
|
|
8036
|
-
function
|
|
8039
|
+
function As(a) {
|
|
8037
8040
|
var u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, m = arguments[2];
|
|
8038
8041
|
typeof u == "function" && (m = u, u = {}), u = u || {}, m = m || u.handler;
|
|
8039
|
-
var v = u.errorHandler, O = new we(function(V,
|
|
8042
|
+
var v = u.errorHandler, O = new we(function(V, k) {
|
|
8040
8043
|
(u = u || {}).name = a, u.once = !0, u.handler = function(X) {
|
|
8041
8044
|
if (V(X), m) return m(X);
|
|
8042
8045
|
}, u.errorHandler = function(X) {
|
|
8043
|
-
if (
|
|
8046
|
+
if (k(X), v) return v(X);
|
|
8044
8047
|
};
|
|
8045
8048
|
}), $ = rn(u);
|
|
8046
8049
|
return O.cancel = $.cancel, O;
|
|
8047
8050
|
}
|
|
8048
|
-
function
|
|
8051
|
+
function Ns() {
|
|
8049
8052
|
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
8050
8053
|
return {
|
|
8051
8054
|
on: function(u, m) {
|
|
@@ -8054,23 +8057,23 @@ function mg() {
|
|
|
8054
8057
|
};
|
|
8055
8058
|
}
|
|
8056
8059
|
H.on = Hn;
|
|
8057
|
-
function
|
|
8060
|
+
function Ts() {
|
|
8058
8061
|
delete window[w.WINDOW_PROPS.POSTROBOT], window.removeEventListener("message", ot);
|
|
8059
8062
|
}
|
|
8060
|
-
var
|
|
8061
|
-
function
|
|
8063
|
+
var Rs = re();
|
|
8064
|
+
function xs(a) {
|
|
8062
8065
|
var u = H.requestPromises.get(a);
|
|
8063
8066
|
if (u) for (var m = 0, v = u == null ? 0 : u.length; m < v; m++) u[m].reject(new Error("No response from window - cleaned up"));
|
|
8064
8067
|
H.popupWindowsByWin && H.popupWindowsByWin.delete(a), H.remoteWindows && H.remoteWindows.delete(a), H.requestPromises.delete(a), H.methods.delete(a), H.readyPromises.delete(a);
|
|
8065
8068
|
}
|
|
8066
|
-
var
|
|
8067
|
-
function
|
|
8069
|
+
var Ds = null;
|
|
8070
|
+
function fo() {
|
|
8068
8071
|
H.initialized || (u = ot, (a = window).addEventListener ? a.addEventListener("message", u) : a.attachEvent("onmessage", u), function() {
|
|
8069
8072
|
m = function(O) {
|
|
8070
|
-
var $ = O.source, V = O.origin,
|
|
8071
|
-
|
|
8073
|
+
var $ = O.source, V = O.origin, k = H.readyPromises.get($) || new we();
|
|
8074
|
+
k.resolve({
|
|
8072
8075
|
origin: V
|
|
8073
|
-
}), H.readyPromises.set($,
|
|
8076
|
+
}), H.readyPromises.set($, k);
|
|
8074
8077
|
}, H.on(w.POST_MESSAGE_NAMES.HELLO, {
|
|
8075
8078
|
domain: w.WILDCARD
|
|
8076
8079
|
}, function(O) {
|
|
@@ -8081,7 +8084,7 @@ function mg() {
|
|
|
8081
8084
|
});
|
|
8082
8085
|
});
|
|
8083
8086
|
var m, v = re();
|
|
8084
|
-
v && _(v).catch(
|
|
8087
|
+
v && _(v).catch(ee);
|
|
8085
8088
|
}(), f({
|
|
8086
8089
|
on: Hn,
|
|
8087
8090
|
send: lt
|
|
@@ -8089,16 +8092,16 @@ function mg() {
|
|
|
8089
8092
|
var a, u;
|
|
8090
8093
|
H.initialized = !0;
|
|
8091
8094
|
}
|
|
8092
|
-
|
|
8093
|
-
return
|
|
8095
|
+
fo(), o.d(r, "cleanUpWindow", function() {
|
|
8096
|
+
return xs;
|
|
8094
8097
|
}), o.d(r, "Promise", function() {
|
|
8095
8098
|
return we;
|
|
8096
8099
|
}), o.d(r, "bridge", function() {
|
|
8097
|
-
return
|
|
8100
|
+
return Ds;
|
|
8098
8101
|
}), o.d(r, "init", function() {
|
|
8099
|
-
return
|
|
8102
|
+
return fo;
|
|
8100
8103
|
}), o.d(r, "parent", function() {
|
|
8101
|
-
return
|
|
8104
|
+
return Rs;
|
|
8102
8105
|
}), o.d(r, "send", function() {
|
|
8103
8106
|
return lt;
|
|
8104
8107
|
}), o.d(r, "request", function() {
|
|
@@ -8112,26 +8115,26 @@ function mg() {
|
|
|
8112
8115
|
}), o.d(r, "listen", function() {
|
|
8113
8116
|
return rn;
|
|
8114
8117
|
}), o.d(r, "once", function() {
|
|
8115
|
-
return Ss;
|
|
8116
|
-
}), o.d(r, "listener", function() {
|
|
8117
8118
|
return As;
|
|
8119
|
+
}), o.d(r, "listener", function() {
|
|
8120
|
+
return Ns;
|
|
8118
8121
|
}), o.d(r, "CONFIG", function() {
|
|
8119
8122
|
return ne;
|
|
8120
8123
|
}), o.d(r, "CONSTANTS", function() {
|
|
8121
8124
|
return w;
|
|
8122
8125
|
}), o.d(r, "disable", function() {
|
|
8123
|
-
return
|
|
8126
|
+
return Ts;
|
|
8124
8127
|
}), r.default = s;
|
|
8125
8128
|
}
|
|
8126
8129
|
});
|
|
8127
8130
|
});
|
|
8128
|
-
}(
|
|
8131
|
+
}($r)), $r.exports;
|
|
8129
8132
|
}
|
|
8130
8133
|
var Bi;
|
|
8131
8134
|
function vg() {
|
|
8132
8135
|
return Bi || (Bi = 1, function(e) {
|
|
8133
8136
|
e.exports = mg(), e.exports.default = e.exports;
|
|
8134
|
-
}(
|
|
8137
|
+
}(Io)), Io.exports;
|
|
8135
8138
|
}
|
|
8136
8139
|
var Pn = vg();
|
|
8137
8140
|
const ma = [], Eg = async (e) => {
|
|
@@ -8139,7 +8142,7 @@ const ma = [], Eg = async (e) => {
|
|
|
8139
8142
|
}, yg = async (e, t, n) => {
|
|
8140
8143
|
const r = ma.find((o) => o.name === e);
|
|
8141
8144
|
return r ? Pn.send(r.contentWindow, t, n).then((o) => [null, o.data]).catch((o) => [o, null]) : [{ msg: "microApp not exit" }, null];
|
|
8142
|
-
}, _g = "mainApp", bg = {}, wg =
|
|
8145
|
+
}, _g = "mainApp", bg = {}, wg = Ss(_g, bg), Og = {
|
|
8143
8146
|
data: wg,
|
|
8144
8147
|
cors: {
|
|
8145
8148
|
send: yg,
|
|
@@ -8149,17 +8152,17 @@ const ma = [], Eg = async (e) => {
|
|
|
8149
8152
|
expose: {
|
|
8150
8153
|
connectMicroApp: Eg
|
|
8151
8154
|
},
|
|
8152
|
-
event:
|
|
8155
|
+
event: co()
|
|
8153
8156
|
}, Sg = { mainApp: Og }, Ag = "microApp", Ng = async (e, t) => Pn.send(window.parent, e, t).then((n) => [null, n.data]).catch((n) => [n, null]), Tg = {
|
|
8154
8157
|
appInfo: {}
|
|
8155
|
-
}, Rg =
|
|
8158
|
+
}, Rg = Ss(Ag, Tg), xg = {
|
|
8156
8159
|
data: Rg,
|
|
8157
8160
|
cors: {
|
|
8158
8161
|
send: Ng,
|
|
8159
8162
|
on: (e, t, n) => Pn.on(e, t, n),
|
|
8160
8163
|
once: (e, t, n) => Pn.once(e, t, n)
|
|
8161
8164
|
},
|
|
8162
|
-
event:
|
|
8165
|
+
event: co()
|
|
8163
8166
|
}, Dg = { microApp: xg }, Cg = {
|
|
8164
8167
|
...hg,
|
|
8165
8168
|
...Sg,
|
|
@@ -8173,9 +8176,9 @@ const ma = [], Eg = async (e) => {
|
|
|
8173
8176
|
destroy: "destroy",
|
|
8174
8177
|
error: "error"
|
|
8175
8178
|
};
|
|
8176
|
-
let
|
|
8177
|
-
const wt = /* @__PURE__ */ new Map(),
|
|
8178
|
-
const e = Et("container"), t =
|
|
8179
|
+
let Or = Ge(null);
|
|
8180
|
+
const wt = /* @__PURE__ */ new Map(), Qo = () => {
|
|
8181
|
+
const e = Et("container"), t = co(), n = (o) => {
|
|
8179
8182
|
const s = Array.from(wt).find(([l, E]) => {
|
|
8180
8183
|
if (o) return o === l;
|
|
8181
8184
|
if (E.element)
|
|
@@ -8187,7 +8190,7 @@ const wt = /* @__PURE__ */ new Map(), Zo = () => {
|
|
|
8187
8190
|
};
|
|
8188
8191
|
return {
|
|
8189
8192
|
setIframeMountDom: (o) => {
|
|
8190
|
-
|
|
8193
|
+
Or.value = o;
|
|
8191
8194
|
},
|
|
8192
8195
|
registerIframe: (o, s) => {
|
|
8193
8196
|
const i = {
|
|
@@ -8203,7 +8206,7 @@ const wt = /* @__PURE__ */ new Map(), Zo = () => {
|
|
|
8203
8206
|
iframeEvent: t,
|
|
8204
8207
|
loadIframe: async (o, s) => {
|
|
8205
8208
|
var h, S;
|
|
8206
|
-
|
|
8209
|
+
Or.value || await new Promise((P) => Rt(() => Or.value, P));
|
|
8207
8210
|
const i = wt.get(o);
|
|
8208
8211
|
if (!i || i.status === nt.loading) return;
|
|
8209
8212
|
if (Array.from(wt).map((P) => P[1]).filter((P) => P.id !== o).map((P) => n(P.id)), i.element && getComputedStyle(i.element).display !== "block") {
|
|
@@ -8219,7 +8222,7 @@ const wt = /* @__PURE__ */ new Map(), Zo = () => {
|
|
|
8219
8222
|
layoutData: e.data.get(e.expose.getLayoutDataKeys()),
|
|
8220
8223
|
origin: window.origin
|
|
8221
8224
|
}
|
|
8222
|
-
}),
|
|
8225
|
+
}), Or.value.appendChild(c);
|
|
8223
8226
|
const [p, d] = await new Promise((P) => {
|
|
8224
8227
|
c.onload = (F) => P([null, F]), c.onerror = () => P([new Error(`${o} IFrame load failed`), null]);
|
|
8225
8228
|
});
|
|
@@ -8258,7 +8261,7 @@ export {
|
|
|
8258
8261
|
Lg as pollVariable,
|
|
8259
8262
|
$g as reportRouter,
|
|
8260
8263
|
Ig as syncRouter,
|
|
8261
|
-
|
|
8264
|
+
Qo as useIframeManager,
|
|
8262
8265
|
Qc as useRouter,
|
|
8263
8266
|
ea as useRouterEventListener
|
|
8264
8267
|
};
|