@das-fed/mframe 0.0.26 → 0.0.27
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 +959 -952
- package/index.js +813 -807
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -23,13 +23,13 @@ const Ne = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, Sn =
|
|
|
23
23
|
), zr = (e) => {
|
|
24
24
|
const t = /* @__PURE__ */ Object.create(null);
|
|
25
25
|
return (n) => t[n] || (t[n] = e(n));
|
|
26
|
-
}, Sa = /-(\w)/g,
|
|
26
|
+
}, Sa = /-(\w)/g, mt = zr(
|
|
27
27
|
(e) => e.replace(Sa, (t, n) => n ? n.toUpperCase() : "")
|
|
28
|
-
), Aa = /\B([A-Z])/g,
|
|
28
|
+
), Aa = /\B([A-Z])/g, tn = zr(
|
|
29
29
|
(e) => e.replace(Aa, "-$1").toLowerCase()
|
|
30
30
|
), Jr = zr((e) => e.charAt(0).toUpperCase() + e.slice(1)), an = zr(
|
|
31
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) => {
|
|
@@ -45,11 +45,11 @@ const Ne = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, Sn =
|
|
|
45
45
|
};
|
|
46
46
|
let Cs;
|
|
47
47
|
const fr = () => Cs || (Cs = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
|
|
48
|
-
function
|
|
48
|
+
function Wt(e) {
|
|
49
49
|
if (ae(e)) {
|
|
50
50
|
const t = {};
|
|
51
51
|
for (let n = 0; n < e.length; n++) {
|
|
52
|
-
const r = e[n], o = We(r) ? Da(r) :
|
|
52
|
+
const r = e[n], o = We(r) ? Da(r) : Wt(r);
|
|
53
53
|
if (o)
|
|
54
54
|
for (const s in o)
|
|
55
55
|
t[s] = o[s];
|
|
@@ -91,7 +91,7 @@ function Gi(e) {
|
|
|
91
91
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
92
92
|
* @license MIT
|
|
93
93
|
**/
|
|
94
|
-
function
|
|
94
|
+
function Ct(e, ...t) {
|
|
95
95
|
}
|
|
96
96
|
let it;
|
|
97
97
|
class Ia {
|
|
@@ -136,7 +136,7 @@ class Ia {
|
|
|
136
136
|
} finally {
|
|
137
137
|
it = n;
|
|
138
138
|
}
|
|
139
|
-
} else process.env.NODE_ENV !== "production" &&
|
|
139
|
+
} else process.env.NODE_ENV !== "production" && Ct("cannot run an inactive effect scope.");
|
|
140
140
|
}
|
|
141
141
|
/**
|
|
142
142
|
* This should only be called on non-detached scopes
|
|
@@ -198,14 +198,14 @@ class Ki {
|
|
|
198
198
|
if (!(this.flags & 1))
|
|
199
199
|
return this.fn();
|
|
200
200
|
this.flags |= 2, Ps(this), qi(this);
|
|
201
|
-
const t = Ae, n =
|
|
202
|
-
Ae = this,
|
|
201
|
+
const t = Ae, n = vt;
|
|
202
|
+
Ae = this, vt = !0;
|
|
203
203
|
try {
|
|
204
204
|
return this.fn();
|
|
205
205
|
} finally {
|
|
206
|
-
process.env.NODE_ENV !== "production" && Ae !== this &&
|
|
206
|
+
process.env.NODE_ENV !== "production" && Ae !== this && Ct(
|
|
207
207
|
"Active effect was not restored correctly - this is likely a Vue internal bug."
|
|
208
|
-
), zi(this), Ae = t,
|
|
208
|
+
), zi(this), Ae = t, vt = n, this.flags &= -3;
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
stop() {
|
|
@@ -292,16 +292,16 @@ function Ji(e) {
|
|
|
292
292
|
e.flags &= -3;
|
|
293
293
|
return;
|
|
294
294
|
}
|
|
295
|
-
const n = Ae, r =
|
|
296
|
-
Ae = e,
|
|
295
|
+
const n = Ae, r = vt;
|
|
296
|
+
Ae = e, vt = !0;
|
|
297
297
|
try {
|
|
298
298
|
qi(e);
|
|
299
299
|
const o = e.fn(e._value);
|
|
300
|
-
(t.version === 0 ||
|
|
300
|
+
(t.version === 0 || en(o, e._value)) && (e._value = o, t.version++);
|
|
301
301
|
} catch (o) {
|
|
302
302
|
throw t.version++, o;
|
|
303
303
|
} finally {
|
|
304
|
-
Ae = n,
|
|
304
|
+
Ae = n, vt = r, zi(e), e.flags &= -3;
|
|
305
305
|
}
|
|
306
306
|
}
|
|
307
307
|
function cs(e, t = !1) {
|
|
@@ -317,14 +317,14 @@ function Ma(e) {
|
|
|
317
317
|
const { prevDep: t, nextDep: n } = e;
|
|
318
318
|
t && (t.nextDep = n, e.prevDep = void 0), n && (n.prevDep = t, e.nextDep = void 0);
|
|
319
319
|
}
|
|
320
|
-
let
|
|
320
|
+
let vt = !0;
|
|
321
321
|
const Xi = [];
|
|
322
|
-
function Ut() {
|
|
323
|
-
Xi.push(mt), mt = !1;
|
|
324
|
-
}
|
|
325
322
|
function Gt() {
|
|
323
|
+
Xi.push(vt), vt = !1;
|
|
324
|
+
}
|
|
325
|
+
function Kt() {
|
|
326
326
|
const e = Xi.pop();
|
|
327
|
-
|
|
327
|
+
vt = e === void 0 ? !0 : e;
|
|
328
328
|
}
|
|
329
329
|
function Ps(e) {
|
|
330
330
|
const { cleanup: t } = e;
|
|
@@ -349,7 +349,7 @@ class as {
|
|
|
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
|
}
|
|
351
351
|
track(t) {
|
|
352
|
-
if (!Ae || !
|
|
352
|
+
if (!Ae || !vt || Ae === this.computed)
|
|
353
353
|
return;
|
|
354
354
|
let n = this.activeLink;
|
|
355
355
|
if (n === void 0 || n.sub !== Ae)
|
|
@@ -410,7 +410,7 @@ const Mo = /* @__PURE__ */ new WeakMap(), ln = Symbol(
|
|
|
410
410
|
process.env.NODE_ENV !== "production" ? "Array iterate" : ""
|
|
411
411
|
);
|
|
412
412
|
function Fe(e, t, n) {
|
|
413
|
-
if (
|
|
413
|
+
if (vt && Ae) {
|
|
414
414
|
let r = Mo.get(e);
|
|
415
415
|
r || Mo.set(e, r = /* @__PURE__ */ new Map());
|
|
416
416
|
let o = r.get(n);
|
|
@@ -421,7 +421,7 @@ function Fe(e, t, n) {
|
|
|
421
421
|
}) : o.track();
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
|
-
function
|
|
424
|
+
function Tt(e, t, n, r, o, s) {
|
|
425
425
|
const i = Mo.get(e);
|
|
426
426
|
if (!i) {
|
|
427
427
|
rr++;
|
|
@@ -482,26 +482,26 @@ const Va = {
|
|
|
482
482
|
return mo(this, "entries", (e) => (e[1] = Ze(e[1]), e));
|
|
483
483
|
},
|
|
484
484
|
every(e, t) {
|
|
485
|
-
return
|
|
485
|
+
return Vt(this, "every", e, t, void 0, arguments);
|
|
486
486
|
},
|
|
487
487
|
filter(e, t) {
|
|
488
|
-
return
|
|
488
|
+
return Vt(this, "filter", e, t, (n) => n.map(Ze), arguments);
|
|
489
489
|
},
|
|
490
490
|
find(e, t) {
|
|
491
|
-
return
|
|
491
|
+
return Vt(this, "find", e, t, Ze, arguments);
|
|
492
492
|
},
|
|
493
493
|
findIndex(e, t) {
|
|
494
|
-
return
|
|
494
|
+
return Vt(this, "findIndex", e, t, void 0, arguments);
|
|
495
495
|
},
|
|
496
496
|
findLast(e, t) {
|
|
497
|
-
return
|
|
497
|
+
return Vt(this, "findLast", e, t, Ze, arguments);
|
|
498
498
|
},
|
|
499
499
|
findLastIndex(e, t) {
|
|
500
|
-
return
|
|
500
|
+
return Vt(this, "findLastIndex", e, t, void 0, arguments);
|
|
501
501
|
},
|
|
502
502
|
// flat, flatMap could benefit from ARRAY_ITERATE but are not straight-forward to implement
|
|
503
503
|
forEach(e, t) {
|
|
504
|
-
return
|
|
504
|
+
return Vt(this, "forEach", e, t, void 0, arguments);
|
|
505
505
|
},
|
|
506
506
|
includes(...e) {
|
|
507
507
|
return vo(this, "includes", e);
|
|
@@ -517,7 +517,7 @@ const Va = {
|
|
|
517
517
|
return vo(this, "lastIndexOf", e);
|
|
518
518
|
},
|
|
519
519
|
map(e, t) {
|
|
520
|
-
return
|
|
520
|
+
return Vt(this, "map", e, t, void 0, arguments);
|
|
521
521
|
},
|
|
522
522
|
pop() {
|
|
523
523
|
return Un(this, "pop");
|
|
@@ -536,7 +536,7 @@ const Va = {
|
|
|
536
536
|
},
|
|
537
537
|
// slice could use ARRAY_ITERATE but also seems to beg for range tracking
|
|
538
538
|
some(e, t) {
|
|
539
|
-
return
|
|
539
|
+
return Vt(this, "some", e, t, void 0, arguments);
|
|
540
540
|
},
|
|
541
541
|
splice(...e) {
|
|
542
542
|
return Un(this, "splice", e);
|
|
@@ -565,7 +565,7 @@ function mo(e, t, n) {
|
|
|
565
565
|
}), o;
|
|
566
566
|
}
|
|
567
567
|
const ja = Array.prototype;
|
|
568
|
-
function
|
|
568
|
+
function Vt(e, t, n, r, o, s) {
|
|
569
569
|
const i = us(e), c = i !== e && !rt(e), l = i[t];
|
|
570
570
|
if (l !== ja[t]) {
|
|
571
571
|
const d = l.apply(e, s);
|
|
@@ -596,9 +596,9 @@ function vo(e, t, n) {
|
|
|
596
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
|
-
|
|
599
|
+
Gt(), ss();
|
|
600
600
|
const r = Ee(e)[t].apply(e, n);
|
|
601
|
-
return is(),
|
|
601
|
+
return is(), Kt(), r;
|
|
602
602
|
}
|
|
603
603
|
const Ha = /* @__PURE__ */ In("__proto__,__v_isRef,__isVue"), Qi = new Set(
|
|
604
604
|
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter($n)
|
|
@@ -651,8 +651,8 @@ class tc extends ec {
|
|
|
651
651
|
set(t, n, r, o) {
|
|
652
652
|
let s = t[n];
|
|
653
653
|
if (!this._isShallow) {
|
|
654
|
-
const l =
|
|
655
|
-
if (!rt(r) && !
|
|
654
|
+
const l = Ut(s);
|
|
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
658
|
const i = ae(t) && rs(n) ? Number(n) < t.length : Oe(t, n), c = Reflect.set(
|
|
@@ -661,11 +661,11 @@ class tc extends ec {
|
|
|
661
661
|
r,
|
|
662
662
|
je(t) ? t : o
|
|
663
663
|
);
|
|
664
|
-
return t === Ee(o) && (i ?
|
|
664
|
+
return t === Ee(o) && (i ? en(r, s) && Tt(t, "set", n, r, s) : Tt(t, "add", n, r)), c;
|
|
665
665
|
}
|
|
666
666
|
deleteProperty(t, n) {
|
|
667
667
|
const r = Oe(t, n), o = t[n], s = Reflect.deleteProperty(t, n);
|
|
668
|
-
return s && r &&
|
|
668
|
+
return s && r && Tt(t, "delete", n, void 0, o), s;
|
|
669
669
|
}
|
|
670
670
|
has(t, n) {
|
|
671
671
|
const r = Reflect.has(t, n);
|
|
@@ -684,13 +684,13 @@ class nc extends ec {
|
|
|
684
684
|
super(!0, t);
|
|
685
685
|
}
|
|
686
686
|
set(t, n) {
|
|
687
|
-
return process.env.NODE_ENV !== "production" &&
|
|
687
|
+
return process.env.NODE_ENV !== "production" && Ct(
|
|
688
688
|
`Set operation on key "${String(n)}" failed: target is readonly.`,
|
|
689
689
|
t
|
|
690
690
|
), !0;
|
|
691
691
|
}
|
|
692
692
|
deleteProperty(t, n) {
|
|
693
|
-
return process.env.NODE_ENV !== "production" &&
|
|
693
|
+
return process.env.NODE_ENV !== "production" && Ct(
|
|
694
694
|
`Delete operation on key "${String(n)}" failed: target is readonly.`,
|
|
695
695
|
t
|
|
696
696
|
), !0;
|
|
@@ -724,7 +724,7 @@ function yr(e) {
|
|
|
724
724
|
return function(...t) {
|
|
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
|
);
|
|
@@ -736,7 +736,7 @@ function ka(e, t) {
|
|
|
736
736
|
const n = {
|
|
737
737
|
get(o) {
|
|
738
738
|
const s = this.__v_raw, i = Ee(s), c = Ee(o);
|
|
739
|
-
e || (
|
|
739
|
+
e || (en(o, c) && Fe(i, "get", o), Fe(i, "get", c));
|
|
740
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));
|
|
@@ -750,7 +750,7 @@ function ka(e, t) {
|
|
|
750
750
|
},
|
|
751
751
|
has(o) {
|
|
752
752
|
const s = this.__v_raw, i = Ee(s), c = Ee(o);
|
|
753
|
-
return e || (
|
|
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
756
|
const i = this, c = i.__v_raw, l = Ee(c), E = t ? Vo : e ? jo : Ze;
|
|
@@ -766,28 +766,28 @@ function ka(e, t) {
|
|
|
766
766
|
clear: yr("clear")
|
|
767
767
|
} : {
|
|
768
768
|
add(o) {
|
|
769
|
-
!t && !rt(o) && !
|
|
769
|
+
!t && !rt(o) && !Ut(o) && (o = Ee(o));
|
|
770
770
|
const s = Ee(this);
|
|
771
|
-
return Er(s).has.call(s, o) || (s.add(o),
|
|
771
|
+
return Er(s).has.call(s, o) || (s.add(o), Tt(s, "add", o, o)), this;
|
|
772
772
|
},
|
|
773
773
|
set(o, s) {
|
|
774
|
-
!t && !rt(s) && !
|
|
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
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
|
-
return i.set(o, s), E ?
|
|
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
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
|
-
return l &&
|
|
786
|
+
return l && Tt(s, "delete", o, void 0, E), p;
|
|
787
787
|
},
|
|
788
788
|
clear() {
|
|
789
789
|
const o = Ee(this), s = o.size !== 0, i = process.env.NODE_ENV !== "production" ? An(o) ? new Map(o) : new Set(o) : void 0, c = o.clear();
|
|
790
|
-
return s &&
|
|
790
|
+
return s && Tt(
|
|
791
791
|
o,
|
|
792
792
|
"clear",
|
|
793
793
|
void 0,
|
|
@@ -826,7 +826,7 @@ function $s(e, t, n) {
|
|
|
826
826
|
const r = Ee(n);
|
|
827
827
|
if (r !== n && t.call(e, r)) {
|
|
828
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
|
);
|
|
832
832
|
}
|
|
@@ -850,7 +850,7 @@ function Za(e) {
|
|
|
850
850
|
return e.__v_skip || !Object.isExtensible(e) ? 0 : Xa(ns(e));
|
|
851
851
|
}
|
|
852
852
|
function ls(e) {
|
|
853
|
-
return
|
|
853
|
+
return Ut(e) ? e : Zr(
|
|
854
854
|
e,
|
|
855
855
|
!1,
|
|
856
856
|
Fa,
|
|
@@ -876,7 +876,7 @@ function cc(e) {
|
|
|
876
876
|
sc
|
|
877
877
|
);
|
|
878
878
|
}
|
|
879
|
-
function
|
|
879
|
+
function xt(e) {
|
|
880
880
|
return Zr(
|
|
881
881
|
e,
|
|
882
882
|
!0,
|
|
@@ -887,7 +887,7 @@ function Tt(e) {
|
|
|
887
887
|
}
|
|
888
888
|
function Zr(e, t, n, r, o) {
|
|
889
889
|
if (!De(e))
|
|
890
|
-
return process.env.NODE_ENV !== "production" &&
|
|
890
|
+
return process.env.NODE_ENV !== "production" && Ct(
|
|
891
891
|
`value cannot be made ${t ? "readonly" : "reactive"}: ${String(
|
|
892
892
|
e
|
|
893
893
|
)}`
|
|
@@ -907,9 +907,9 @@ function Zr(e, t, n, r, o) {
|
|
|
907
907
|
return o.set(e, c), c;
|
|
908
908
|
}
|
|
909
909
|
function Nn(e) {
|
|
910
|
-
return
|
|
910
|
+
return Ut(e) ? Nn(e.__v_raw) : !!(e && e.__v_isReactive);
|
|
911
911
|
}
|
|
912
|
-
function
|
|
912
|
+
function Ut(e) {
|
|
913
913
|
return !!(e && e.__v_isReadonly);
|
|
914
914
|
}
|
|
915
915
|
function rt(e) {
|
|
@@ -947,8 +947,8 @@ class nu {
|
|
|
947
947
|
}) : this.dep.track(), this._value;
|
|
948
948
|
}
|
|
949
949
|
set value(t) {
|
|
950
|
-
const n = this._rawValue, r = this.__v_isShallow || rt(t) ||
|
|
951
|
-
t = r ? t : Ee(t),
|
|
950
|
+
const n = this._rawValue, r = this.__v_isShallow || rt(t) || Ut(t);
|
|
951
|
+
t = r ? t : Ee(t), en(t, n) && (this._rawValue = t, this._value = r ? t : Ze(t), process.env.NODE_ENV !== "production" ? this.dep.trigger({
|
|
952
952
|
target: this,
|
|
953
953
|
type: "set",
|
|
954
954
|
key: "value",
|
|
@@ -957,11 +957,11 @@ class nu {
|
|
|
957
957
|
}) : this.dep.trigger());
|
|
958
958
|
}
|
|
959
959
|
}
|
|
960
|
-
function
|
|
960
|
+
function Jt(e) {
|
|
961
961
|
return je(e) ? e.value : e;
|
|
962
962
|
}
|
|
963
963
|
const ru = {
|
|
964
|
-
get: (e, t, n) => t === "__v_raw" ? e :
|
|
964
|
+
get: (e, t, n) => t === "__v_raw" ? e : Jt(Reflect.get(e, t, n)),
|
|
965
965
|
set: (e, t, n, r) => {
|
|
966
966
|
const o = e[t];
|
|
967
967
|
return je(o) && !je(n) ? (o.value = n, !0) : Reflect.set(e, t, n, r);
|
|
@@ -992,7 +992,7 @@ class ou {
|
|
|
992
992
|
return Ji(this), t && (t.version = this.dep.version), this._value;
|
|
993
993
|
}
|
|
994
994
|
set value(t) {
|
|
995
|
-
this.setter ? this.setter(t) : process.env.NODE_ENV !== "production" &&
|
|
995
|
+
this.setter ? this.setter(t) : process.env.NODE_ENV !== "production" && Ct("Write operation failed: computed value is readonly");
|
|
996
996
|
}
|
|
997
997
|
}
|
|
998
998
|
function su(e, t, n = !1) {
|
|
@@ -1007,19 +1007,19 @@ function iu(e, t = !1, n = un) {
|
|
|
1007
1007
|
if (n) {
|
|
1008
1008
|
let r = jr.get(n);
|
|
1009
1009
|
r || jr.set(n, r = []), r.push(e);
|
|
1010
|
-
} else process.env.NODE_ENV !== "production" && !t &&
|
|
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
|
);
|
|
1013
1013
|
}
|
|
1014
1014
|
function cu(e, t, n = Ne) {
|
|
1015
1015
|
const { immediate: r, deep: o, once: s, scheduler: i, augmentJob: c, call: l } = n, E = (L) => {
|
|
1016
|
-
(n.onWarn ||
|
|
1016
|
+
(n.onWarn || Ct)(
|
|
1017
1017
|
"Invalid watch source: ",
|
|
1018
1018
|
L,
|
|
1019
1019
|
"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."
|
|
1020
1020
|
);
|
|
1021
|
-
}, p = (L) => o ? L : rt(L) || o === !1 || o === 0 ?
|
|
1022
|
-
let d, h, S,
|
|
1021
|
+
}, p = (L) => o ? L : rt(L) || o === !1 || o === 0 ? Bt(L, 1) : Bt(L);
|
|
1022
|
+
let d, h, S, P, W = !1, F = !1;
|
|
1023
1023
|
if (je(e) ? (h = () => e.value, W = rt(e)) : Nn(e) ? (h = () => p(e), W = !0) : ae(e) ? (F = !0, W = e.some((L) => Nn(L) || rt(L)), h = () => e.map((L) => {
|
|
1024
1024
|
if (je(L))
|
|
1025
1025
|
return L.value;
|
|
@@ -1030,53 +1030,53 @@ function cu(e, t, n = Ne) {
|
|
|
1030
1030
|
process.env.NODE_ENV !== "production" && E(L);
|
|
1031
1031
|
})) : pe(e) ? t ? h = l ? () => l(e, 2) : e : h = () => {
|
|
1032
1032
|
if (S) {
|
|
1033
|
-
|
|
1033
|
+
Gt();
|
|
1034
1034
|
try {
|
|
1035
1035
|
S();
|
|
1036
1036
|
} finally {
|
|
1037
|
-
|
|
1037
|
+
Kt();
|
|
1038
1038
|
}
|
|
1039
1039
|
}
|
|
1040
1040
|
const L = un;
|
|
1041
1041
|
un = d;
|
|
1042
1042
|
try {
|
|
1043
|
-
return l ? l(e, 3, [
|
|
1043
|
+
return l ? l(e, 3, [P]) : e(P);
|
|
1044
1044
|
} finally {
|
|
1045
1045
|
un = L;
|
|
1046
1046
|
}
|
|
1047
1047
|
} : (h = Be, process.env.NODE_ENV !== "production" && E(e)), t && o) {
|
|
1048
|
-
const L = h,
|
|
1049
|
-
h = () =>
|
|
1048
|
+
const L = h, re = o === !0 ? 1 / 0 : o;
|
|
1049
|
+
h = () => Bt(L(), re);
|
|
1050
1050
|
}
|
|
1051
1051
|
const k = $a(), te = () => {
|
|
1052
1052
|
d.stop(), k && k.active && es(k.effects, d);
|
|
1053
1053
|
};
|
|
1054
1054
|
if (s && t) {
|
|
1055
1055
|
const L = t;
|
|
1056
|
-
t = (...
|
|
1057
|
-
L(...
|
|
1056
|
+
t = (...re) => {
|
|
1057
|
+
L(...re), te();
|
|
1058
1058
|
};
|
|
1059
1059
|
}
|
|
1060
1060
|
let U = F ? new Array(e.length).fill(_r) : _r;
|
|
1061
|
-
const
|
|
1061
|
+
const oe = (L) => {
|
|
1062
1062
|
if (!(!(d.flags & 1) || !d.dirty && !L))
|
|
1063
1063
|
if (t) {
|
|
1064
|
-
const
|
|
1065
|
-
if (o || W || (F ?
|
|
1064
|
+
const re = d.run();
|
|
1065
|
+
if (o || W || (F ? re.some((ue, he) => en(ue, U[he])) : en(re, U))) {
|
|
1066
1066
|
S && S();
|
|
1067
1067
|
const ue = un;
|
|
1068
1068
|
un = d;
|
|
1069
1069
|
try {
|
|
1070
1070
|
const he = [
|
|
1071
|
-
|
|
1071
|
+
re,
|
|
1072
1072
|
// pass undefined as the old value when it's changed for the first time
|
|
1073
1073
|
U === _r ? void 0 : F && U[0] === _r ? [] : U,
|
|
1074
|
-
|
|
1074
|
+
P
|
|
1075
1075
|
];
|
|
1076
1076
|
l ? l(t, 3, he) : (
|
|
1077
1077
|
// @ts-expect-error
|
|
1078
1078
|
t(...he)
|
|
1079
|
-
), U =
|
|
1079
|
+
), U = re;
|
|
1080
1080
|
} finally {
|
|
1081
1081
|
un = ue;
|
|
1082
1082
|
}
|
|
@@ -1084,34 +1084,34 @@ function cu(e, t, n = Ne) {
|
|
|
1084
1084
|
} else
|
|
1085
1085
|
d.run();
|
|
1086
1086
|
};
|
|
1087
|
-
return c && c(
|
|
1087
|
+
return c && c(oe), d = new Ki(h), d.scheduler = i ? () => i(oe, !1) : oe, P = (L) => iu(L, !1, d), S = d.onStop = () => {
|
|
1088
1088
|
const L = jr.get(d);
|
|
1089
1089
|
if (L) {
|
|
1090
1090
|
if (l)
|
|
1091
1091
|
l(L, 4);
|
|
1092
1092
|
else
|
|
1093
|
-
for (const
|
|
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 ?
|
|
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(), te.pause = d.pause.bind(d), te.resume = d.resume.bind(d), te.stop = te, te;
|
|
1097
1097
|
}
|
|
1098
|
-
function
|
|
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)))
|
|
1100
1100
|
return e;
|
|
1101
1101
|
if (n.add(e), t--, je(e))
|
|
1102
|
-
|
|
1102
|
+
Bt(e.value, t, n);
|
|
1103
1103
|
else if (ae(e))
|
|
1104
1104
|
for (let r = 0; r < e.length; r++)
|
|
1105
|
-
|
|
1105
|
+
Bt(e[r], t, n);
|
|
1106
1106
|
else if (_a(e) || An(e))
|
|
1107
1107
|
e.forEach((r) => {
|
|
1108
|
-
|
|
1108
|
+
Bt(r, t, n);
|
|
1109
1109
|
});
|
|
1110
1110
|
else if (wa(e)) {
|
|
1111
1111
|
for (const r in e)
|
|
1112
|
-
|
|
1112
|
+
Bt(e[r], t, n);
|
|
1113
1113
|
for (const r of Object.getOwnPropertySymbols(e))
|
|
1114
|
-
Object.prototype.propertyIsEnumerable.call(e, r) &&
|
|
1114
|
+
Object.prototype.propertyIsEnumerable.call(e, r) && Bt(e[r], t, n);
|
|
1115
1115
|
}
|
|
1116
1116
|
return e;
|
|
1117
1117
|
}
|
|
@@ -1130,7 +1130,7 @@ function Ar() {
|
|
|
1130
1130
|
let Eo = !1;
|
|
1131
1131
|
function j(e, ...t) {
|
|
1132
1132
|
if (Eo) return;
|
|
1133
|
-
Eo = !0,
|
|
1133
|
+
Eo = !0, Gt();
|
|
1134
1134
|
const n = fn.length ? fn[fn.length - 1].component : null, r = n && n.appContext.config.warnHandler, o = au();
|
|
1135
1135
|
if (r)
|
|
1136
1136
|
Mn(
|
|
@@ -1156,7 +1156,7 @@ function j(e, ...t) {
|
|
|
1156
1156
|
o.length && s.push(`
|
|
1157
1157
|
`, ...uu(o));
|
|
1158
1158
|
}
|
|
1159
|
-
|
|
1159
|
+
Kt(), Eo = !1;
|
|
1160
1160
|
}
|
|
1161
1161
|
function au() {
|
|
1162
1162
|
let e = fn[fn.length - 1];
|
|
@@ -1238,7 +1238,7 @@ function Mn(e, t, n, r) {
|
|
|
1238
1238
|
pr(o, t, n);
|
|
1239
1239
|
}
|
|
1240
1240
|
}
|
|
1241
|
-
function
|
|
1241
|
+
function Pt(e, t, n, r) {
|
|
1242
1242
|
if (pe(e)) {
|
|
1243
1243
|
const o = Mn(e, t, n, r);
|
|
1244
1244
|
return o && ts(o) && o.catch((s) => {
|
|
@@ -1248,7 +1248,7 @@ function Dt(e, t, n, r) {
|
|
|
1248
1248
|
if (ae(e)) {
|
|
1249
1249
|
const o = [];
|
|
1250
1250
|
for (let s = 0; s < e.length; s++)
|
|
1251
|
-
o.push(
|
|
1251
|
+
o.push(Pt(e[s], t, n, r));
|
|
1252
1252
|
return o;
|
|
1253
1253
|
} else process.env.NODE_ENV !== "production" && j(
|
|
1254
1254
|
`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`
|
|
@@ -1269,11 +1269,11 @@ function pr(e, t, n, r = !0) {
|
|
|
1269
1269
|
c = c.parent;
|
|
1270
1270
|
}
|
|
1271
1271
|
if (s) {
|
|
1272
|
-
|
|
1272
|
+
Gt(), Mn(s, null, 10, [
|
|
1273
1273
|
e,
|
|
1274
1274
|
l,
|
|
1275
1275
|
E
|
|
1276
|
-
]),
|
|
1276
|
+
]), Kt();
|
|
1277
1277
|
return;
|
|
1278
1278
|
}
|
|
1279
1279
|
}
|
|
@@ -1288,9 +1288,9 @@ function pu(e, t, n, r = !0, o = !1) {
|
|
|
1288
1288
|
throw e;
|
|
1289
1289
|
}
|
|
1290
1290
|
const Qe = [];
|
|
1291
|
-
let
|
|
1291
|
+
let At = -1;
|
|
1292
1292
|
const Tn = [];
|
|
1293
|
-
let
|
|
1293
|
+
let Xt = null, On = 0;
|
|
1294
1294
|
const lc = /* @__PURE__ */ Promise.resolve();
|
|
1295
1295
|
let Hr = null;
|
|
1296
1296
|
const du = 100;
|
|
@@ -1299,7 +1299,7 @@ function hu(e) {
|
|
|
1299
1299
|
return e ? t.then(this ? e.bind(this) : e) : t;
|
|
1300
1300
|
}
|
|
1301
1301
|
function gu(e) {
|
|
1302
|
-
let t =
|
|
1302
|
+
let t = At + 1, n = Qe.length;
|
|
1303
1303
|
for (; t < n; ) {
|
|
1304
1304
|
const r = t + n >>> 1, o = Qe[r], s = sr(o);
|
|
1305
1305
|
s < e || s === e && o.flags & 2 ? t = r + 1 : n = r;
|
|
@@ -1317,9 +1317,9 @@ function fc() {
|
|
|
1317
1317
|
Hr || (Hr = lc.then(hc));
|
|
1318
1318
|
}
|
|
1319
1319
|
function pc(e) {
|
|
1320
|
-
ae(e) ? Tn.push(...e) :
|
|
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), fc();
|
|
1321
1321
|
}
|
|
1322
|
-
function Ms(e, t, n =
|
|
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) {
|
|
@@ -1334,15 +1334,15 @@ function dc(e) {
|
|
|
1334
1334
|
const t = [...new Set(Tn)].sort(
|
|
1335
1335
|
(n, r) => sr(n) - sr(r)
|
|
1336
1336
|
);
|
|
1337
|
-
if (Tn.length = 0,
|
|
1338
|
-
|
|
1337
|
+
if (Tn.length = 0, Xt) {
|
|
1338
|
+
Xt.push(...t);
|
|
1339
1339
|
return;
|
|
1340
1340
|
}
|
|
1341
|
-
for (
|
|
1342
|
-
const n =
|
|
1341
|
+
for (Xt = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), On = 0; On < Xt.length; On++) {
|
|
1342
|
+
const n = Xt[On];
|
|
1343
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
|
}
|
|
1347
1347
|
}
|
|
1348
1348
|
const sr = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id;
|
|
@@ -1350,8 +1350,8 @@ function hc(e) {
|
|
|
1350
1350
|
process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map());
|
|
1351
1351
|
const t = process.env.NODE_ENV !== "production" ? (n) => ps(e, n) : Be;
|
|
1352
1352
|
try {
|
|
1353
|
-
for (
|
|
1354
|
-
const n = Qe[
|
|
1353
|
+
for (At = 0; At < Qe.length; At++) {
|
|
1354
|
+
const n = Qe[At];
|
|
1355
1355
|
if (n && !(n.flags & 8)) {
|
|
1356
1356
|
if (process.env.NODE_ENV !== "production" && t(n))
|
|
1357
1357
|
continue;
|
|
@@ -1363,11 +1363,11 @@ function hc(e) {
|
|
|
1363
1363
|
}
|
|
1364
1364
|
}
|
|
1365
1365
|
} finally {
|
|
1366
|
-
for (;
|
|
1367
|
-
const n = Qe[
|
|
1366
|
+
for (; At < Qe.length; At++) {
|
|
1367
|
+
const n = Qe[At];
|
|
1368
1368
|
n && (n.flags &= -2);
|
|
1369
1369
|
}
|
|
1370
|
-
|
|
1370
|
+
At = -1, Qe.length = 0, dc(e), Hr = null, (Qe.length || Tn.length) && hc(e);
|
|
1371
1371
|
}
|
|
1372
1372
|
}
|
|
1373
1373
|
function ps(e, t) {
|
|
@@ -1382,7 +1382,7 @@ function ps(e, t) {
|
|
|
1382
1382
|
}
|
|
1383
1383
|
return e.set(t, n + 1), !1;
|
|
1384
1384
|
}
|
|
1385
|
-
let
|
|
1385
|
+
let Dt = !1;
|
|
1386
1386
|
const Nr = /* @__PURE__ */ new Map();
|
|
1387
1387
|
process.env.NODE_ENV !== "production" && (fr().__VUE_HMR_RUNTIME__ = {
|
|
1388
1388
|
createRecord: yo(gc),
|
|
@@ -1410,7 +1410,7 @@ function Wr(e) {
|
|
|
1410
1410
|
function Eu(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, Wr(r.type).render = t), r.renderCache = [],
|
|
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 yu(e, t) {
|
|
@@ -1422,7 +1422,7 @@ function yu(e, t) {
|
|
|
1422
1422
|
const s = r[o], i = Wr(s.type);
|
|
1423
1423
|
let c = Nr.get(i);
|
|
1424
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
|
pc(() => {
|
|
@@ -1442,24 +1442,24 @@ function yo(e) {
|
|
|
1442
1442
|
}
|
|
1443
1443
|
};
|
|
1444
1444
|
}
|
|
1445
|
-
let
|
|
1445
|
+
let gt, qn = [], Ho = !1;
|
|
1446
1446
|
function dr(e, ...t) {
|
|
1447
|
-
|
|
1447
|
+
gt ? gt.emit(e, ...t) : Ho || qn.push({ event: e, args: t });
|
|
1448
1448
|
}
|
|
1449
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
|
-
|
|
1457
|
+
gt || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, Ho = !0, qn = []);
|
|
1458
1458
|
}, 3e3)) : (Ho = !0, qn = []);
|
|
1459
1459
|
}
|
|
1460
1460
|
function _u(e, t) {
|
|
1461
1461
|
dr("app:init", e, t, {
|
|
1462
|
-
Fragment:
|
|
1462
|
+
Fragment: Nt,
|
|
1463
1463
|
Text: hr,
|
|
1464
1464
|
Comment: ut,
|
|
1465
1465
|
Static: xr
|
|
@@ -1478,8 +1478,8 @@ const wu = /* @__PURE__ */ hs(
|
|
|
1478
1478
|
"component:removed"
|
|
1479
1479
|
/* COMPONENT_REMOVED */
|
|
1480
1480
|
), Su = (e) => {
|
|
1481
|
-
|
|
1482
|
-
!
|
|
1481
|
+
gt && typeof gt.cleanupBuffer == "function" && // remove the component if it wasn't buffered
|
|
1482
|
+
!gt.cleanupBuffer(e) && Ou(e);
|
|
1483
1483
|
};
|
|
1484
1484
|
/*! #__NO_SIDE_EFFECTS__ */
|
|
1485
1485
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -1548,7 +1548,7 @@ function br(e, t) {
|
|
|
1548
1548
|
s && (pe(s) && (s = {
|
|
1549
1549
|
mounted: s,
|
|
1550
1550
|
updated: s
|
|
1551
|
-
}), s.deep &&
|
|
1551
|
+
}), s.deep && Bt(i), r.push({
|
|
1552
1552
|
dir: s,
|
|
1553
1553
|
instance: n,
|
|
1554
1554
|
value: i,
|
|
@@ -1559,18 +1559,18 @@ function br(e, t) {
|
|
|
1559
1559
|
}
|
|
1560
1560
|
return e;
|
|
1561
1561
|
}
|
|
1562
|
-
function
|
|
1562
|
+
function on(e, t, n, r) {
|
|
1563
1563
|
const o = e.dirs, s = t && t.dirs;
|
|
1564
1564
|
for (let i = 0; i < o.length; i++) {
|
|
1565
1565
|
const c = o[i];
|
|
1566
1566
|
s && (c.oldValue = s[i].value);
|
|
1567
1567
|
let l = c.dir[r];
|
|
1568
|
-
l && (
|
|
1568
|
+
l && (Gt(), Pt(l, n, 8, [
|
|
1569
1569
|
e.el,
|
|
1570
1570
|
c,
|
|
1571
1571
|
e,
|
|
1572
1572
|
t
|
|
1573
|
-
]),
|
|
1573
|
+
]), Kt());
|
|
1574
1574
|
}
|
|
1575
1575
|
}
|
|
1576
1576
|
const xu = Symbol("_vte"), Du = (e) => e.__isTeleport;
|
|
@@ -1593,8 +1593,8 @@ const Pu = /* @__PURE__ */ new WeakSet();
|
|
|
1593
1593
|
function Br(e, t, n, r, o = !1) {
|
|
1594
1594
|
if (ae(e)) {
|
|
1595
1595
|
e.forEach(
|
|
1596
|
-
(
|
|
1597
|
-
|
|
1596
|
+
(P, W) => Br(
|
|
1597
|
+
P,
|
|
1598
1598
|
t && (ae(t) ? t[W] : t),
|
|
1599
1599
|
n,
|
|
1600
1600
|
r,
|
|
@@ -1614,19 +1614,19 @@ function Br(e, t, n, r, o = !1) {
|
|
|
1614
1614
|
);
|
|
1615
1615
|
return;
|
|
1616
1616
|
}
|
|
1617
|
-
const E = t && t.r, p = c.refs === Ne ? c.refs = {} : c.refs, d = c.setupState, h = Ee(d), S = d === Ne ? () => !1 : (
|
|
1618
|
-
`Template ref "${
|
|
1619
|
-
), Pu.has(h[
|
|
1617
|
+
const E = t && t.r, p = c.refs === Ne ? c.refs = {} : c.refs, d = c.setupState, h = Ee(d), S = d === Ne ? () => !1 : (P) => process.env.NODE_ENV !== "production" && (Oe(h, P) && !je(h[P]) && j(
|
|
1618
|
+
`Template ref "${P}" used on a non-ref value. It will not work in the production build.`
|
|
1619
|
+
), Pu.has(h[P])) ? !1 : Oe(h, P);
|
|
1620
1620
|
if (E != null && E !== l && (We(E) ? (p[E] = null, S(E) && (d[E] = null)) : je(E) && (E.value = null)), pe(l))
|
|
1621
1621
|
Mn(l, c, 12, [i, p]);
|
|
1622
1622
|
else {
|
|
1623
|
-
const
|
|
1624
|
-
if (
|
|
1623
|
+
const P = We(l), W = je(l);
|
|
1624
|
+
if (P || W) {
|
|
1625
1625
|
const F = () => {
|
|
1626
1626
|
if (e.f) {
|
|
1627
|
-
const k =
|
|
1628
|
-
o ? ae(k) && es(k, s) : ae(k) ? k.includes(s) || k.push(s) :
|
|
1629
|
-
} else
|
|
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
|
+
} else P ? (p[l] = i, S(l) && (d[l] = i)) : W ? (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 ? (F.id = -1, st(F, n)) : F();
|
|
1632
1632
|
} else process.env.NODE_ENV !== "production" && j("Invalid template ref type:", l, `(${typeof l})`);
|
|
@@ -1672,9 +1672,9 @@ function Mu(e, t, n, r) {
|
|
|
1672
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
|
-
|
|
1676
|
-
const c = gr(n), l =
|
|
1677
|
-
return c(),
|
|
1675
|
+
Gt();
|
|
1676
|
+
const c = gr(n), l = Pt(t, n, e, i);
|
|
1677
|
+
return c(), Kt(), l;
|
|
1678
1678
|
});
|
|
1679
1679
|
return r ? o.unshift(s) : o.push(s), s;
|
|
1680
1680
|
} else if (process.env.NODE_ENV !== "production") {
|
|
@@ -1684,15 +1684,15 @@ function eo(e, t, n = Ke, r = !1) {
|
|
|
1684
1684
|
);
|
|
1685
1685
|
}
|
|
1686
1686
|
}
|
|
1687
|
-
const
|
|
1687
|
+
const kt = (e) => (t, n = Ke) => {
|
|
1688
1688
|
(!cr || e === "sp") && eo(e, (...r) => t(...r), n);
|
|
1689
|
-
}, Lu =
|
|
1689
|
+
}, Lu = kt("bm"), wc = kt("m"), Vu = kt(
|
|
1690
1690
|
"bu"
|
|
1691
|
-
), ju =
|
|
1691
|
+
), ju = kt("u"), Hu = kt(
|
|
1692
1692
|
"bum"
|
|
1693
|
-
), Oc =
|
|
1693
|
+
), Oc = kt("um"), Wu = kt(
|
|
1694
1694
|
"sp"
|
|
1695
|
-
), Fu =
|
|
1695
|
+
), Fu = kt("rtg"), Bu = kt("rtc");
|
|
1696
1696
|
function Uu(e, t = Ke) {
|
|
1697
1697
|
eo("ec", e, t);
|
|
1698
1698
|
}
|
|
@@ -1703,10 +1703,10 @@ const Gu = Symbol.for("v-ndc"), Wo = (e) => e ? Yc(e) ? no(e) : Wo(e.parent) : n
|
|
|
1703
1703
|
$: (e) => e,
|
|
1704
1704
|
$el: (e) => e.vnode.el,
|
|
1705
1705
|
$data: (e) => e.data,
|
|
1706
|
-
$props: (e) => process.env.NODE_ENV !== "production" ?
|
|
1707
|
-
$attrs: (e) => process.env.NODE_ENV !== "production" ?
|
|
1708
|
-
$slots: (e) => process.env.NODE_ENV !== "production" ?
|
|
1709
|
-
$refs: (e) => process.env.NODE_ENV !== "production" ?
|
|
1706
|
+
$props: (e) => process.env.NODE_ENV !== "production" ? xt(e.props) : e.props,
|
|
1707
|
+
$attrs: (e) => process.env.NODE_ENV !== "production" ? xt(e.attrs) : e.attrs,
|
|
1708
|
+
$slots: (e) => process.env.NODE_ENV !== "production" ? xt(e.slots) : e.slots,
|
|
1709
|
+
$refs: (e) => process.env.NODE_ENV !== "production" ? xt(e.refs) : e.refs,
|
|
1710
1710
|
$parent: (e) => Wo(e.parent),
|
|
1711
1711
|
$root: (e) => Wo(e.root),
|
|
1712
1712
|
$host: (e) => e.ce,
|
|
@@ -1885,15 +1885,15 @@ function zu(e) {
|
|
|
1885
1885
|
beforeMount: d,
|
|
1886
1886
|
mounted: h,
|
|
1887
1887
|
beforeUpdate: S,
|
|
1888
|
-
updated:
|
|
1888
|
+
updated: P,
|
|
1889
1889
|
activated: W,
|
|
1890
1890
|
deactivated: F,
|
|
1891
1891
|
beforeDestroy: k,
|
|
1892
1892
|
beforeUnmount: te,
|
|
1893
1893
|
destroyed: U,
|
|
1894
|
-
unmounted:
|
|
1894
|
+
unmounted: oe,
|
|
1895
1895
|
render: L,
|
|
1896
|
-
renderTracked:
|
|
1896
|
+
renderTracked: re,
|
|
1897
1897
|
renderTriggered: ue,
|
|
1898
1898
|
errorCaptured: he,
|
|
1899
1899
|
serverPrefetch: le,
|
|
@@ -1949,7 +1949,7 @@ function zu(e) {
|
|
|
1949
1949
|
j(
|
|
1950
1950
|
`Write operation failed: computed property "${B}" is readonly.`
|
|
1951
1951
|
);
|
|
1952
|
-
} : Be, _e =
|
|
1952
|
+
} : Be, _e = St({
|
|
1953
1953
|
get: ve,
|
|
1954
1954
|
set: T
|
|
1955
1955
|
});
|
|
@@ -1973,7 +1973,7 @@ function zu(e) {
|
|
|
1973
1973
|
function ie(B, Q) {
|
|
1974
1974
|
ae(Q) ? Q.forEach((ve) => B(ve.bind(n))) : Q && B(Q.bind(n));
|
|
1975
1975
|
}
|
|
1976
|
-
if (ie(Lu, d), ie(wc, h), ie(Vu, S), ie(ju,
|
|
1976
|
+
if (ie(Lu, d), ie(wc, h), ie(Vu, S), ie(ju, P), ie(Iu, W), ie($u, F), ie(Uu, he), ie(Bu, re), ie(Fu, ue), ie(Hu, te), ie(Oc, oe), ie(Wu, le), ae(be))
|
|
1977
1977
|
if (be.length) {
|
|
1978
1978
|
const B = e.exposed || (e.exposed = {});
|
|
1979
1979
|
be.forEach((Q) => {
|
|
@@ -2003,7 +2003,7 @@ function Ju(e, t, n = Be) {
|
|
|
2003
2003
|
}
|
|
2004
2004
|
}
|
|
2005
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,
|
|
2009
2009
|
n
|
|
@@ -2013,15 +2013,15 @@ function Ac(e, t, n, r) {
|
|
|
2013
2013
|
let o = r.includes(".") ? Hc(n, r) : () => n[r];
|
|
2014
2014
|
if (We(e)) {
|
|
2015
2015
|
const s = t[e];
|
|
2016
|
-
pe(s) ?
|
|
2016
|
+
pe(s) ? Rt(o, s) : process.env.NODE_ENV !== "production" && j(`Invalid watch handler specified by key "${e}"`, s);
|
|
2017
2017
|
} else if (pe(e))
|
|
2018
|
-
|
|
2018
|
+
Rt(o, e.bind(n));
|
|
2019
2019
|
else if (De(e))
|
|
2020
2020
|
if (ae(e))
|
|
2021
2021
|
e.forEach((s) => Ac(s, t, n, r));
|
|
2022
2022
|
else {
|
|
2023
2023
|
const s = pe(e.handler) ? e.handler.bind(n) : t[e.handler];
|
|
2024
|
-
pe(s) ?
|
|
2024
|
+
pe(s) ? Rt(o, s, e) : process.env.NODE_ENV !== "production" && j(`Invalid watch handler specified by key "${e.handler}"`, s);
|
|
2025
2025
|
}
|
|
2026
2026
|
else process.env.NODE_ENV !== "production" && j(`Invalid watch option: "${r}"`, e);
|
|
2027
2027
|
}
|
|
@@ -2195,7 +2195,7 @@ function tl(e, t) {
|
|
|
2195
2195
|
const S = E._ceVNode || at(r, o);
|
|
2196
2196
|
return S.appContext = s, h === !0 ? h = "svg" : h === !1 && (h = void 0), process.env.NODE_ENV !== "production" && (s.reload = () => {
|
|
2197
2197
|
e(
|
|
2198
|
-
|
|
2198
|
+
nn(S),
|
|
2199
2199
|
p,
|
|
2200
2200
|
h
|
|
2201
2201
|
);
|
|
@@ -2208,7 +2208,7 @@ function tl(e, t) {
|
|
|
2208
2208
|
), c.push(p);
|
|
2209
2209
|
},
|
|
2210
2210
|
unmount() {
|
|
2211
|
-
l ? (
|
|
2211
|
+
l ? (Pt(
|
|
2212
2212
|
c,
|
|
2213
2213
|
E._instance,
|
|
2214
2214
|
16
|
|
@@ -2291,11 +2291,11 @@ function sl(e, t, n, r) {
|
|
|
2291
2291
|
if (Oe(s, h))
|
|
2292
2292
|
S !== s[h] && (s[h] = S, E = !0);
|
|
2293
2293
|
else {
|
|
2294
|
-
const
|
|
2295
|
-
o[
|
|
2294
|
+
const P = mt(h);
|
|
2295
|
+
o[P] = Uo(
|
|
2296
2296
|
l,
|
|
2297
2297
|
c,
|
|
2298
|
-
|
|
2298
|
+
P,
|
|
2299
2299
|
S,
|
|
2300
2300
|
e,
|
|
2301
2301
|
!1
|
|
@@ -2312,7 +2312,7 @@ function sl(e, t, n, r) {
|
|
|
2312
2312
|
(!t || // for camelCase
|
|
2313
2313
|
!Oe(t, d) && // it's possible the original props was passed in as kebab-case
|
|
2314
2314
|
// and converted to camelCase (#955)
|
|
2315
|
-
((p =
|
|
2315
|
+
((p = tn(d)) === d || !Oe(t, p))) && (l ? n && // for camelCase
|
|
2316
2316
|
(n[d] !== void 0 || // for kebab-case
|
|
2317
2317
|
n[p] !== void 0) && (o[d] = Uo(
|
|
2318
2318
|
l,
|
|
@@ -2326,7 +2326,7 @@ function sl(e, t, n, r) {
|
|
|
2326
2326
|
for (const d in s)
|
|
2327
2327
|
(!t || !Oe(t, d)) && (delete s[d], E = !0);
|
|
2328
2328
|
}
|
|
2329
|
-
E &&
|
|
2329
|
+
E && Tt(e.attrs, "set", ""), process.env.NODE_ENV !== "production" && Ic(t || {}, o, e);
|
|
2330
2330
|
}
|
|
2331
2331
|
function Cc(e, t, n, r) {
|
|
2332
2332
|
const [o, s] = e.propsOptions;
|
|
@@ -2337,7 +2337,7 @@ function Cc(e, t, n, r) {
|
|
|
2337
2337
|
continue;
|
|
2338
2338
|
const E = t[l];
|
|
2339
2339
|
let p;
|
|
2340
|
-
o && Oe(o, p =
|
|
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;
|
|
@@ -2382,7 +2382,7 @@ function Uo(e, t, n, r, o, s) {
|
|
|
2382
2382
|
] && (s && !c ? r = !1 : i[
|
|
2383
2383
|
1
|
|
2384
2384
|
/* shouldCastTrue */
|
|
2385
|
-
] && (r === "" || r ===
|
|
2385
|
+
] && (r === "" || r === tn(n)) && (r = !0));
|
|
2386
2386
|
}
|
|
2387
2387
|
return r;
|
|
2388
2388
|
}
|
|
@@ -2406,26 +2406,26 @@ function Pc(e, t, n = !1) {
|
|
|
2406
2406
|
if (ae(s))
|
|
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
|
-
const d =
|
|
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
|
-
const d =
|
|
2415
|
+
const d = mt(p);
|
|
2416
2416
|
if (Fs(d)) {
|
|
2417
|
-
const h = s[p], S = i[d] = ae(h) || pe(h) ? { type: h } : He({}, h),
|
|
2417
|
+
const h = s[p], S = i[d] = ae(h) || pe(h) ? { type: h } : He({}, h), P = S.type;
|
|
2418
2418
|
let W = !1, F = !0;
|
|
2419
|
-
if (ae(
|
|
2420
|
-
for (let k = 0; k <
|
|
2421
|
-
const te =
|
|
2419
|
+
if (ae(P))
|
|
2420
|
+
for (let k = 0; k < P.length; ++k) {
|
|
2421
|
+
const te = P[k], U = pe(te) && te.name;
|
|
2422
2422
|
if (U === "Boolean") {
|
|
2423
2423
|
W = !0;
|
|
2424
2424
|
break;
|
|
2425
2425
|
} else U === "String" && (F = !1);
|
|
2426
2426
|
}
|
|
2427
2427
|
else
|
|
2428
|
-
W = pe(
|
|
2428
|
+
W = pe(P) && P.name === "Boolean";
|
|
2429
2429
|
S[
|
|
2430
2430
|
0
|
|
2431
2431
|
/* shouldCast */
|
|
@@ -2446,14 +2446,14 @@ function cl(e) {
|
|
|
2446
2446
|
return e === null ? "null" : typeof e == "function" ? e.name || "" : typeof e == "object" && e.constructor && e.constructor.name || "";
|
|
2447
2447
|
}
|
|
2448
2448
|
function Ic(e, t, n) {
|
|
2449
|
-
const r = Ee(t), o = n.propsOptions[0], s = Object.keys(e).map((i) =>
|
|
2449
|
+
const r = Ee(t), o = n.propsOptions[0], s = Object.keys(e).map((i) => mt(i));
|
|
2450
2450
|
for (const i in o) {
|
|
2451
2451
|
let c = o[i];
|
|
2452
2452
|
c != null && al(
|
|
2453
2453
|
i,
|
|
2454
2454
|
r[i],
|
|
2455
2455
|
c,
|
|
2456
|
-
process.env.NODE_ENV !== "production" ?
|
|
2456
|
+
process.env.NODE_ENV !== "production" ? xt(r) : r,
|
|
2457
2457
|
!s.includes(i)
|
|
2458
2458
|
);
|
|
2459
2459
|
}
|
|
@@ -2469,8 +2469,8 @@ function al(e, t, n, r, o) {
|
|
|
2469
2469
|
let E = !1;
|
|
2470
2470
|
const p = ae(s) ? s : [s], d = [];
|
|
2471
2471
|
for (let h = 0; h < p.length && !E; h++) {
|
|
2472
|
-
const { valid: S, expectedType:
|
|
2473
|
-
d.push(
|
|
2472
|
+
const { valid: S, expectedType: P } = ll(t, p[h]);
|
|
2473
|
+
d.push(P || ""), E = S;
|
|
2474
2474
|
}
|
|
2475
2475
|
if (!E) {
|
|
2476
2476
|
j(fl(e, t, d));
|
|
@@ -2513,7 +2513,7 @@ function Us(e) {
|
|
|
2513
2513
|
function pl(...e) {
|
|
2514
2514
|
return e.some((t) => t.toLowerCase() === "boolean");
|
|
2515
2515
|
}
|
|
2516
|
-
const $c = (e) => e[0] === "_" || e === "$stable", Es = (e) => ae(e) ? e.map(
|
|
2516
|
+
const $c = (e) => e[0] === "_" || e === "$stable", Es = (e) => ae(e) ? e.map(ht) : [ht(e)], dl = (e, t, n) => {
|
|
2517
2517
|
if (t._n)
|
|
2518
2518
|
return t;
|
|
2519
2519
|
const r = Ru((...o) => (process.env.NODE_ENV !== "production" && Ke && (!n || n.root === Ke.root) && j(
|
|
@@ -2555,29 +2555,29 @@ const $c = (e) => e[0] === "_" || e === "$stable", Es = (e) => ae(e) ? e.map(dt)
|
|
|
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" &&
|
|
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, Mc(t, o)), i = t;
|
|
2559
2559
|
} else t && (Lc(e, t), i = { default: 1 });
|
|
2560
2560
|
if (s)
|
|
2561
2561
|
for (const c in o)
|
|
2562
2562
|
!$c(c) && i[c] == null && delete o[c];
|
|
2563
2563
|
};
|
|
2564
|
-
let Gn,
|
|
2564
|
+
let Gn, Qt;
|
|
2565
2565
|
function bn(e, t) {
|
|
2566
|
-
e.appContext.config.performance && Gr() &&
|
|
2566
|
+
e.appContext.config.performance && Gr() && Qt.mark(`vue-${t}-${e.uid}`), process.env.NODE_ENV !== "production" && Au(e, t, Gr() ? Qt.now() : Date.now());
|
|
2567
2567
|
}
|
|
2568
2568
|
function wn(e, t) {
|
|
2569
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" && Nu(e, t, Gr() ?
|
|
2577
|
+
process.env.NODE_ENV !== "production" && Nu(e, t, Gr() ? Qt.now() : Date.now());
|
|
2578
2578
|
}
|
|
2579
2579
|
function Gr() {
|
|
2580
|
-
return Gn !== void 0 || (typeof window < "u" && window.performance ? (Gn = !0,
|
|
2580
|
+
return Gn !== void 0 || (typeof window < "u" && window.performance ? (Gn = !0, Qt = window.performance) : Gn = !1), Gn;
|
|
2581
2581
|
}
|
|
2582
2582
|
function ml() {
|
|
2583
2583
|
const e = [];
|
|
@@ -2605,8 +2605,8 @@ function El(e, t) {
|
|
|
2605
2605
|
parentNode: d,
|
|
2606
2606
|
nextSibling: h,
|
|
2607
2607
|
setScopeId: S = Be,
|
|
2608
|
-
insertStaticContent:
|
|
2609
|
-
} = e, W = (f, g, y, C = null, x = null, _ = null,
|
|
2608
|
+
insertStaticContent: P
|
|
2609
|
+
} = e, W = (f, g, y, C = null, x = null, _ = null, I = void 0, b = null, N = process.env.NODE_ENV !== "production" && Dt ? !1 : !!g.dynamicChildren) => {
|
|
2610
2610
|
if (f === g)
|
|
2611
2611
|
return;
|
|
2612
2612
|
f && !Kn(f, g) && (C = ge(f), Le(f, x, _, !0), f = null), g.patchFlag === -2 && (N = !1, g.dynamicChildren = null);
|
|
@@ -2619,9 +2619,9 @@ function El(e, t) {
|
|
|
2619
2619
|
k(f, g, y, C);
|
|
2620
2620
|
break;
|
|
2621
2621
|
case xr:
|
|
2622
|
-
f == null ? te(g, y, C,
|
|
2622
|
+
f == null ? te(g, y, C, I) : process.env.NODE_ENV !== "production" && U(f, g, y, I);
|
|
2623
2623
|
break;
|
|
2624
|
-
case
|
|
2624
|
+
case Nt:
|
|
2625
2625
|
q(
|
|
2626
2626
|
f,
|
|
2627
2627
|
g,
|
|
@@ -2629,20 +2629,20 @@ function El(e, t) {
|
|
|
2629
2629
|
C,
|
|
2630
2630
|
x,
|
|
2631
2631
|
_,
|
|
2632
|
-
|
|
2632
|
+
I,
|
|
2633
2633
|
b,
|
|
2634
2634
|
N
|
|
2635
2635
|
);
|
|
2636
2636
|
break;
|
|
2637
2637
|
default:
|
|
2638
|
-
M & 1 ?
|
|
2638
|
+
M & 1 ? re(
|
|
2639
2639
|
f,
|
|
2640
2640
|
g,
|
|
2641
2641
|
y,
|
|
2642
2642
|
C,
|
|
2643
2643
|
x,
|
|
2644
2644
|
_,
|
|
2645
|
-
|
|
2645
|
+
I,
|
|
2646
2646
|
b,
|
|
2647
2647
|
N
|
|
2648
2648
|
) : M & 6 ? ne(
|
|
@@ -2652,7 +2652,7 @@ function El(e, t) {
|
|
|
2652
2652
|
C,
|
|
2653
2653
|
x,
|
|
2654
2654
|
_,
|
|
2655
|
-
|
|
2655
|
+
I,
|
|
2656
2656
|
b,
|
|
2657
2657
|
N
|
|
2658
2658
|
) : M & 64 || M & 128 ? R.process(
|
|
@@ -2662,7 +2662,7 @@ function El(e, t) {
|
|
|
2662
2662
|
C,
|
|
2663
2663
|
x,
|
|
2664
2664
|
_,
|
|
2665
|
-
|
|
2665
|
+
I,
|
|
2666
2666
|
b,
|
|
2667
2667
|
N,
|
|
2668
2668
|
H
|
|
@@ -2687,7 +2687,7 @@ function El(e, t) {
|
|
|
2687
2687
|
C
|
|
2688
2688
|
) : g.el = f.el;
|
|
2689
2689
|
}, te = (f, g, y, C) => {
|
|
2690
|
-
[f.el, f.anchor] =
|
|
2690
|
+
[f.el, f.anchor] = P(
|
|
2691
2691
|
f.children,
|
|
2692
2692
|
g,
|
|
2693
2693
|
y,
|
|
@@ -2698,7 +2698,7 @@ function El(e, t) {
|
|
|
2698
2698
|
}, U = (f, g, y, C) => {
|
|
2699
2699
|
if (g.children !== f.children) {
|
|
2700
2700
|
const x = h(f.anchor);
|
|
2701
|
-
L(f), [g.el, g.anchor] =
|
|
2701
|
+
L(f), [g.el, g.anchor] = P(
|
|
2702
2702
|
g.children,
|
|
2703
2703
|
y,
|
|
2704
2704
|
x,
|
|
@@ -2706,7 +2706,7 @@ function El(e, t) {
|
|
|
2706
2706
|
);
|
|
2707
2707
|
} else
|
|
2708
2708
|
g.el = f.el, g.anchor = f.anchor;
|
|
2709
|
-
},
|
|
2709
|
+
}, oe = ({ el: f, anchor: g }, y, C) => {
|
|
2710
2710
|
let x;
|
|
2711
2711
|
for (; f && f !== g; )
|
|
2712
2712
|
x = h(f), r(f, y, C), f = x;
|
|
@@ -2716,14 +2716,14 @@ function El(e, t) {
|
|
|
2716
2716
|
for (; f && f !== g; )
|
|
2717
2717
|
y = h(f), o(f), f = y;
|
|
2718
2718
|
o(g);
|
|
2719
|
-
},
|
|
2720
|
-
g.type === "svg" ?
|
|
2719
|
+
}, re = (f, g, y, C, x, _, I, b, N) => {
|
|
2720
|
+
g.type === "svg" ? I = "svg" : g.type === "math" && (I = "mathml"), f == null ? ue(
|
|
2721
2721
|
g,
|
|
2722
2722
|
y,
|
|
2723
2723
|
C,
|
|
2724
2724
|
x,
|
|
2725
2725
|
_,
|
|
2726
|
-
|
|
2726
|
+
I,
|
|
2727
2727
|
b,
|
|
2728
2728
|
N
|
|
2729
2729
|
) : be(
|
|
@@ -2731,11 +2731,11 @@ function El(e, t) {
|
|
|
2731
2731
|
g,
|
|
2732
2732
|
x,
|
|
2733
2733
|
_,
|
|
2734
|
-
|
|
2734
|
+
I,
|
|
2735
2735
|
b,
|
|
2736
2736
|
N
|
|
2737
2737
|
);
|
|
2738
|
-
}, ue = (f, g, y, C, x, _,
|
|
2738
|
+
}, ue = (f, g, y, C, x, _, I, b) => {
|
|
2739
2739
|
let N, R;
|
|
2740
2740
|
const { props: G, shapeFlag: M, transition: Z, dirs: se } = f;
|
|
2741
2741
|
if (N = f.el = i(
|
|
@@ -2750,17 +2750,17 @@ function El(e, t) {
|
|
|
2750
2750
|
C,
|
|
2751
2751
|
x,
|
|
2752
2752
|
bo(f, _),
|
|
2753
|
-
|
|
2753
|
+
I,
|
|
2754
2754
|
b
|
|
2755
|
-
), se &&
|
|
2755
|
+
), se && on(f, null, C, "created"), he(N, f, f.scopeId, I, C), G) {
|
|
2756
2756
|
for (const Te in G)
|
|
2757
2757
|
Te !== "value" && !Xn(Te) && s(N, Te, null, G[Te], _, C);
|
|
2758
|
-
"value" in G && s(N, "value", null, G.value, _), (R = G.onVnodeBeforeMount) &&
|
|
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" && (Lr(N, "__vnode", f, !0), Lr(N, "__vueParentComponent", C, !0)), se &&
|
|
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 = yl(x, Z);
|
|
2762
2762
|
ye && Z.beforeEnter(N), r(N, g, y), ((R = G && G.onVnodeMounted) || ye || se) && st(() => {
|
|
2763
|
-
R &&
|
|
2763
|
+
R && bt(R, C, f), ye && Z.enter(N), se && on(f, null, C, "mounted");
|
|
2764
2764
|
}, x);
|
|
2765
2765
|
}, he = (f, g, y, C, x) => {
|
|
2766
2766
|
if (y && S(f, y), C)
|
|
@@ -2769,19 +2769,19 @@ function El(e, t) {
|
|
|
2769
2769
|
if (x) {
|
|
2770
2770
|
let _ = x.subTree;
|
|
2771
2771
|
if (process.env.NODE_ENV !== "production" && _.patchFlag > 0 && _.patchFlag & 2048 && (_ = ys(_.children) || _), g === _ || Bc(_.type) && (_.ssContent === g || _.ssFallback === g)) {
|
|
2772
|
-
const
|
|
2772
|
+
const I = x.vnode;
|
|
2773
2773
|
he(
|
|
2774
2774
|
f,
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2775
|
+
I,
|
|
2776
|
+
I.scopeId,
|
|
2777
|
+
I.slotScopeIds,
|
|
2778
2778
|
x.parent
|
|
2779
2779
|
);
|
|
2780
2780
|
}
|
|
2781
2781
|
}
|
|
2782
|
-
}, le = (f, g, y, C, x, _,
|
|
2782
|
+
}, le = (f, g, y, C, x, _, I, b, N = 0) => {
|
|
2783
2783
|
for (let R = N; R < f.length; R++) {
|
|
2784
|
-
const G = f[R] = b ?
|
|
2784
|
+
const G = f[R] = b ? Zt(f[R]) : ht(f[R]);
|
|
2785
2785
|
W(
|
|
2786
2786
|
null,
|
|
2787
2787
|
G,
|
|
@@ -2790,18 +2790,18 @@ function El(e, t) {
|
|
|
2790
2790
|
C,
|
|
2791
2791
|
x,
|
|
2792
2792
|
_,
|
|
2793
|
-
|
|
2793
|
+
I,
|
|
2794
2794
|
b
|
|
2795
2795
|
);
|
|
2796
2796
|
}
|
|
2797
|
-
}, be = (f, g, y, C, x, _,
|
|
2797
|
+
}, be = (f, g, y, C, x, _, I) => {
|
|
2798
2798
|
const b = g.el = f.el;
|
|
2799
2799
|
process.env.NODE_ENV !== "production" && (b.__vnode = g);
|
|
2800
2800
|
let { patchFlag: N, dynamicChildren: R, dirs: G } = g;
|
|
2801
2801
|
N |= f.patchFlag & 16;
|
|
2802
2802
|
const M = f.props || Ne, Z = g.props || Ne;
|
|
2803
2803
|
let se;
|
|
2804
|
-
if (y &&
|
|
2804
|
+
if (y && sn(y, !1), (se = Z.onVnodeBeforeUpdate) && bt(se, y, g, f), G && on(g, f, y, "beforeUpdate"), y && sn(y, !0), process.env.NODE_ENV !== "production" && Dt && (N = 0, I = !1, R = null), (M.innerHTML && Z.innerHTML == null || M.textContent && Z.textContent == null) && p(b, ""), R ? (Y(
|
|
2805
2805
|
f.dynamicChildren,
|
|
2806
2806
|
R,
|
|
2807
2807
|
b,
|
|
@@ -2809,7 +2809,7 @@ function El(e, t) {
|
|
|
2809
2809
|
C,
|
|
2810
2810
|
bo(g, x),
|
|
2811
2811
|
_
|
|
2812
|
-
), process.env.NODE_ENV !== "production" && Rr(f, g)) :
|
|
2812
|
+
), process.env.NODE_ENV !== "production" && Rr(f, g)) : I || ve(
|
|
2813
2813
|
f,
|
|
2814
2814
|
g,
|
|
2815
2815
|
b,
|
|
@@ -2830,18 +2830,18 @@ function El(e, t) {
|
|
|
2830
2830
|
}
|
|
2831
2831
|
}
|
|
2832
2832
|
N & 1 && f.children !== g.children && p(b, g.children);
|
|
2833
|
-
} else !
|
|
2833
|
+
} else !I && R == null && w(b, M, Z, y, x);
|
|
2834
2834
|
((se = Z.onVnodeUpdated) || G) && st(() => {
|
|
2835
|
-
se &&
|
|
2835
|
+
se && bt(se, y, g, f), G && on(g, f, y, "updated");
|
|
2836
2836
|
}, C);
|
|
2837
|
-
}, Y = (f, g, y, C, x, _,
|
|
2837
|
+
}, Y = (f, g, y, C, x, _, I) => {
|
|
2838
2838
|
for (let b = 0; b < g.length; b++) {
|
|
2839
2839
|
const N = f[b], R = g[b], G = (
|
|
2840
2840
|
// oldVNode may be an errored async setup() component inside Suspense
|
|
2841
2841
|
// which will not have a mounted element
|
|
2842
2842
|
N.el && // - In the case of a Fragment, we need to provide the actual parent
|
|
2843
2843
|
// of the Fragment itself so it can move its children.
|
|
2844
|
-
(N.type ===
|
|
2844
|
+
(N.type === Nt || // - In the case of different nodes, there is going to be a replacement
|
|
2845
2845
|
// which also requires the correct parent container
|
|
2846
2846
|
!Kn(N, R) || // - In the case of a component, it could contain anything.
|
|
2847
2847
|
N.shapeFlag & 70) ? d(N.el) : (
|
|
@@ -2858,7 +2858,7 @@ function El(e, t) {
|
|
|
2858
2858
|
C,
|
|
2859
2859
|
x,
|
|
2860
2860
|
_,
|
|
2861
|
-
|
|
2861
|
+
I,
|
|
2862
2862
|
!0
|
|
2863
2863
|
);
|
|
2864
2864
|
}
|
|
@@ -2876,16 +2876,16 @@ function El(e, t) {
|
|
|
2876
2876
|
);
|
|
2877
2877
|
for (const _ in y) {
|
|
2878
2878
|
if (Xn(_)) continue;
|
|
2879
|
-
const
|
|
2880
|
-
|
|
2879
|
+
const I = y[_], b = g[_];
|
|
2880
|
+
I !== b && _ !== "value" && s(f, _, b, I, x, C);
|
|
2881
2881
|
}
|
|
2882
2882
|
"value" in y && s(f, "value", g.value, y.value, x);
|
|
2883
2883
|
}
|
|
2884
|
-
}, q = (f, g, y, C, x, _,
|
|
2884
|
+
}, q = (f, g, y, C, x, _, I, b, N) => {
|
|
2885
2885
|
const R = g.el = f ? f.el : c(""), G = g.anchor = f ? f.anchor : c("");
|
|
2886
2886
|
let { patchFlag: M, dynamicChildren: Z, slotScopeIds: se } = g;
|
|
2887
2887
|
process.env.NODE_ENV !== "production" && // #5523 dev root fragment may inherit directives
|
|
2888
|
-
(
|
|
2888
|
+
(Dt || M & 2048) && (M = 0, N = !1, Z = null), se && (b = b ? b.concat(se) : se), f == null ? (r(R, y, C), r(G, y, C), le(
|
|
2889
2889
|
// #10007
|
|
2890
2890
|
// such fragment like `<></>` will be compiled into
|
|
2891
2891
|
// a fragment which doesn't have a children.
|
|
@@ -2895,7 +2895,7 @@ function El(e, t) {
|
|
|
2895
2895
|
G,
|
|
2896
2896
|
x,
|
|
2897
2897
|
_,
|
|
2898
|
-
|
|
2898
|
+
I,
|
|
2899
2899
|
b,
|
|
2900
2900
|
N
|
|
2901
2901
|
)) : M > 0 && M & 64 && Z && // #2715 the previous fragment could've been a BAILed one as a result
|
|
@@ -2906,7 +2906,7 @@ function El(e, t) {
|
|
|
2906
2906
|
y,
|
|
2907
2907
|
x,
|
|
2908
2908
|
_,
|
|
2909
|
-
|
|
2909
|
+
I,
|
|
2910
2910
|
b
|
|
2911
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
|
|
@@ -2926,16 +2926,16 @@ function El(e, t) {
|
|
|
2926
2926
|
G,
|
|
2927
2927
|
x,
|
|
2928
2928
|
_,
|
|
2929
|
-
|
|
2929
|
+
I,
|
|
2930
2930
|
b,
|
|
2931
2931
|
N
|
|
2932
2932
|
);
|
|
2933
|
-
}, ne = (f, g, y, C, x, _,
|
|
2933
|
+
}, ne = (f, g, y, C, x, _, I, b, N) => {
|
|
2934
2934
|
g.slotScopeIds = b, f == null ? g.shapeFlag & 512 ? x.ctx.activate(
|
|
2935
2935
|
g,
|
|
2936
2936
|
y,
|
|
2937
2937
|
C,
|
|
2938
|
-
|
|
2938
|
+
I,
|
|
2939
2939
|
N
|
|
2940
2940
|
) : ce(
|
|
2941
2941
|
g,
|
|
@@ -2943,17 +2943,17 @@ function El(e, t) {
|
|
|
2943
2943
|
C,
|
|
2944
2944
|
x,
|
|
2945
2945
|
_,
|
|
2946
|
-
|
|
2946
|
+
I,
|
|
2947
2947
|
N
|
|
2948
2948
|
) : ie(f, g, N);
|
|
2949
|
-
}, ce = (f, g, y, C, x, _,
|
|
2949
|
+
}, ce = (f, g, y, C, x, _, I) => {
|
|
2950
2950
|
const b = f.component = Hl(
|
|
2951
2951
|
f,
|
|
2952
2952
|
C,
|
|
2953
2953
|
x
|
|
2954
2954
|
);
|
|
2955
|
-
if (process.env.NODE_ENV !== "production" && b.type.__hmrId && mu(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"), Bl(b, !1,
|
|
2956
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
2955
|
+
if (process.env.NODE_ENV !== "production" && b.type.__hmrId && mu(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"), Bl(b, !1, I), process.env.NODE_ENV !== "production" && wn(b, "init"), b.asyncDep) {
|
|
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
|
}
|
|
@@ -2965,7 +2965,7 @@ function El(e, t) {
|
|
|
2965
2965
|
y,
|
|
2966
2966
|
x,
|
|
2967
2967
|
_,
|
|
2968
|
-
|
|
2968
|
+
I
|
|
2969
2969
|
);
|
|
2970
2970
|
process.env.NODE_ENV !== "production" && (Ar(), wn(b, "mount"));
|
|
2971
2971
|
}, ie = (f, g, y) => {
|
|
@@ -2978,21 +2978,21 @@ function El(e, t) {
|
|
|
2978
2978
|
C.next = g, C.update();
|
|
2979
2979
|
else
|
|
2980
2980
|
g.el = f.el, C.vnode = g;
|
|
2981
|
-
}, B = (f, g, y, C, x, _,
|
|
2981
|
+
}, B = (f, g, y, C, x, _, I) => {
|
|
2982
2982
|
const b = () => {
|
|
2983
2983
|
if (f.isMounted) {
|
|
2984
2984
|
let { next: M, bu: Z, u: se, parent: ye, vnode: Te } = f;
|
|
2985
2985
|
{
|
|
2986
2986
|
const tt = Vc(f);
|
|
2987
2987
|
if (tt) {
|
|
2988
|
-
M && (M.el = Te.el, Q(f, M,
|
|
2988
|
+
M && (M.el = Te.el, Q(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" && Sr(M || f.vnode),
|
|
2995
|
+
process.env.NODE_ENV !== "production" && Sr(M || f.vnode), sn(f, !1), M ? (M.el = Te.el, Q(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
2996
|
const ke = Ks(f);
|
|
2997
2997
|
process.env.NODE_ENV !== "production" && wn(f, "render");
|
|
2998
2998
|
const ot = f.subTree;
|
|
@@ -3007,13 +3007,13 @@ function El(e, t) {
|
|
|
3007
3007
|
x,
|
|
3008
3008
|
_
|
|
3009
3009
|
), process.env.NODE_ENV !== "production" && wn(f, "patch"), M.el = ke.el, Se === null && xl(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
3012
|
), process.env.NODE_ENV !== "production" && mc(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
3019
|
const tt = f.subTree = Ks(f);
|
|
@@ -3030,7 +3030,7 @@ function El(e, t) {
|
|
|
3030
3030
|
if (Te && st(Te, x), !ot && (M = se && se.onVnodeMounted)) {
|
|
3031
3031
|
const tt = g;
|
|
3032
3032
|
st(
|
|
3033
|
-
() =>
|
|
3033
|
+
() => bt(M, Se, tt),
|
|
3034
3034
|
x
|
|
3035
3035
|
);
|
|
3036
3036
|
}
|
|
@@ -3041,12 +3041,12 @@ function El(e, t) {
|
|
|
3041
3041
|
const N = f.effect = new Ki(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 = () => Qr(G),
|
|
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
3045
|
}, Q = (f, g, y) => {
|
|
3046
3046
|
g.component = f;
|
|
3047
3047
|
const C = f.vnode.props;
|
|
3048
|
-
f.vnode = g, f.next = null, sl(f, g.props, C, y), gl(f, g.children, y),
|
|
3049
|
-
}, ve = (f, g, y, C, x, _,
|
|
3048
|
+
f.vnode = g, f.next = null, sl(f, g.props, C, y), gl(f, g.children, y), Gt(), Ms(f), Kt();
|
|
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) {
|
|
3052
3052
|
if (Z & 128) {
|
|
@@ -3057,7 +3057,7 @@ function El(e, t) {
|
|
|
3057
3057
|
C,
|
|
3058
3058
|
x,
|
|
3059
3059
|
_,
|
|
3060
|
-
|
|
3060
|
+
I,
|
|
3061
3061
|
b,
|
|
3062
3062
|
N
|
|
3063
3063
|
);
|
|
@@ -3070,7 +3070,7 @@ function El(e, t) {
|
|
|
3070
3070
|
C,
|
|
3071
3071
|
x,
|
|
3072
3072
|
_,
|
|
3073
|
-
|
|
3073
|
+
I,
|
|
3074
3074
|
b,
|
|
3075
3075
|
N
|
|
3076
3076
|
);
|
|
@@ -3084,7 +3084,7 @@ function El(e, t) {
|
|
|
3084
3084
|
C,
|
|
3085
3085
|
x,
|
|
3086
3086
|
_,
|
|
3087
|
-
|
|
3087
|
+
I,
|
|
3088
3088
|
b,
|
|
3089
3089
|
N
|
|
3090
3090
|
) : J(R, x, _, !0) : (G & 8 && p(y, ""), se & 16 && le(
|
|
@@ -3093,16 +3093,16 @@ function El(e, t) {
|
|
|
3093
3093
|
C,
|
|
3094
3094
|
x,
|
|
3095
3095
|
_,
|
|
3096
|
-
|
|
3096
|
+
I,
|
|
3097
3097
|
b,
|
|
3098
3098
|
N
|
|
3099
3099
|
));
|
|
3100
|
-
}, T = (f, g, y, C, x, _,
|
|
3100
|
+
}, T = (f, g, y, C, x, _, I, b, N) => {
|
|
3101
3101
|
f = f || Sn, g = g || Sn;
|
|
3102
3102
|
const R = f.length, G = g.length, M = Math.min(R, G);
|
|
3103
3103
|
let Z;
|
|
3104
3104
|
for (Z = 0; Z < M; Z++) {
|
|
3105
|
-
const se = g[Z] = N ?
|
|
3105
|
+
const se = g[Z] = N ? Zt(g[Z]) : ht(g[Z]);
|
|
3106
3106
|
W(
|
|
3107
3107
|
f[Z],
|
|
3108
3108
|
se,
|
|
@@ -3110,7 +3110,7 @@ function El(e, t) {
|
|
|
3110
3110
|
null,
|
|
3111
3111
|
x,
|
|
3112
3112
|
_,
|
|
3113
|
-
|
|
3113
|
+
I,
|
|
3114
3114
|
b,
|
|
3115
3115
|
N
|
|
3116
3116
|
);
|
|
@@ -3128,17 +3128,17 @@ function El(e, t) {
|
|
|
3128
3128
|
C,
|
|
3129
3129
|
x,
|
|
3130
3130
|
_,
|
|
3131
|
-
|
|
3131
|
+
I,
|
|
3132
3132
|
b,
|
|
3133
3133
|
N,
|
|
3134
3134
|
M
|
|
3135
3135
|
);
|
|
3136
|
-
}, _e = (f, g, y, C, x, _,
|
|
3136
|
+
}, _e = (f, g, y, C, x, _, I, b, N) => {
|
|
3137
3137
|
let R = 0;
|
|
3138
3138
|
const G = g.length;
|
|
3139
3139
|
let M = f.length - 1, Z = G - 1;
|
|
3140
3140
|
for (; R <= M && R <= Z; ) {
|
|
3141
|
-
const se = f[R], ye = g[R] = N ?
|
|
3141
|
+
const se = f[R], ye = g[R] = N ? Zt(g[R]) : ht(g[R]);
|
|
3142
3142
|
if (Kn(se, ye))
|
|
3143
3143
|
W(
|
|
3144
3144
|
se,
|
|
@@ -3147,7 +3147,7 @@ function El(e, t) {
|
|
|
3147
3147
|
null,
|
|
3148
3148
|
x,
|
|
3149
3149
|
_,
|
|
3150
|
-
|
|
3150
|
+
I,
|
|
3151
3151
|
b,
|
|
3152
3152
|
N
|
|
3153
3153
|
);
|
|
@@ -3156,7 +3156,7 @@ function El(e, t) {
|
|
|
3156
3156
|
R++;
|
|
3157
3157
|
}
|
|
3158
3158
|
for (; R <= M && R <= Z; ) {
|
|
3159
|
-
const se = f[M], ye = g[Z] = N ?
|
|
3159
|
+
const se = f[M], ye = g[Z] = N ? Zt(g[Z]) : ht(g[Z]);
|
|
3160
3160
|
if (Kn(se, ye))
|
|
3161
3161
|
W(
|
|
3162
3162
|
se,
|
|
@@ -3165,7 +3165,7 @@ function El(e, t) {
|
|
|
3165
3165
|
null,
|
|
3166
3166
|
x,
|
|
3167
3167
|
_,
|
|
3168
|
-
|
|
3168
|
+
I,
|
|
3169
3169
|
b,
|
|
3170
3170
|
N
|
|
3171
3171
|
);
|
|
@@ -3179,12 +3179,12 @@ function El(e, t) {
|
|
|
3179
3179
|
for (; R <= Z; )
|
|
3180
3180
|
W(
|
|
3181
3181
|
null,
|
|
3182
|
-
g[R] = N ?
|
|
3182
|
+
g[R] = N ? Zt(g[R]) : ht(g[R]),
|
|
3183
3183
|
y,
|
|
3184
3184
|
ye,
|
|
3185
3185
|
x,
|
|
3186
3186
|
_,
|
|
3187
|
-
|
|
3187
|
+
I,
|
|
3188
3188
|
b,
|
|
3189
3189
|
N
|
|
3190
3190
|
), R++;
|
|
@@ -3195,7 +3195,7 @@ function El(e, t) {
|
|
|
3195
3195
|
else {
|
|
3196
3196
|
const se = R, ye = R, Te = /* @__PURE__ */ new Map();
|
|
3197
3197
|
for (R = ye; R <= Z; R++) {
|
|
3198
|
-
const Ue = g[R] = N ?
|
|
3198
|
+
const Ue = g[R] = N ? Zt(g[R]) : ht(g[R]);
|
|
3199
3199
|
Ue.key != null && (process.env.NODE_ENV !== "production" && Te.has(Ue.key) && j(
|
|
3200
3200
|
"Duplicate keys found during update:",
|
|
3201
3201
|
JSON.stringify(Ue.key),
|
|
@@ -3229,29 +3229,29 @@ function El(e, t) {
|
|
|
3229
3229
|
null,
|
|
3230
3230
|
x,
|
|
3231
3231
|
_,
|
|
3232
|
-
|
|
3232
|
+
I,
|
|
3233
3233
|
b,
|
|
3234
3234
|
N
|
|
3235
3235
|
), qe++);
|
|
3236
3236
|
}
|
|
3237
3237
|
const jn = ot ? _l(lt) : Sn;
|
|
3238
3238
|
for (Se = jn.length - 1, R = ke - 1; R >= 0; R--) {
|
|
3239
|
-
const Ue = ye + R, ft = g[Ue],
|
|
3239
|
+
const Ue = ye + R, ft = g[Ue], rn = Ue + 1 < G ? g[Ue + 1].el : C;
|
|
3240
3240
|
lt[R] === 0 ? W(
|
|
3241
3241
|
null,
|
|
3242
3242
|
ft,
|
|
3243
3243
|
y,
|
|
3244
|
-
|
|
3244
|
+
rn,
|
|
3245
3245
|
x,
|
|
3246
3246
|
_,
|
|
3247
|
-
|
|
3247
|
+
I,
|
|
3248
3248
|
b,
|
|
3249
3249
|
N
|
|
3250
|
-
) : ot && (Se < 0 || R !== jn[Se] ? Re(ft, y,
|
|
3250
|
+
) : ot && (Se < 0 || R !== jn[Se] ? Re(ft, y, rn, 2) : Se--);
|
|
3251
3251
|
}
|
|
3252
3252
|
}
|
|
3253
3253
|
}, Re = (f, g, y, C, x = null) => {
|
|
3254
|
-
const { el: _, type:
|
|
3254
|
+
const { el: _, type: I, transition: b, children: N, shapeFlag: R } = f;
|
|
3255
3255
|
if (R & 6) {
|
|
3256
3256
|
Re(f.component.subTree, g, y, C);
|
|
3257
3257
|
return;
|
|
@@ -3261,18 +3261,18 @@ function El(e, t) {
|
|
|
3261
3261
|
return;
|
|
3262
3262
|
}
|
|
3263
3263
|
if (R & 64) {
|
|
3264
|
-
|
|
3264
|
+
I.move(f, g, y, H);
|
|
3265
3265
|
return;
|
|
3266
3266
|
}
|
|
3267
|
-
if (
|
|
3267
|
+
if (I === Nt) {
|
|
3268
3268
|
r(_, g, y);
|
|
3269
3269
|
for (let M = 0; M < N.length; M++)
|
|
3270
3270
|
Re(N[M], g, y, C);
|
|
3271
3271
|
r(f.anchor, g, y);
|
|
3272
3272
|
return;
|
|
3273
3273
|
}
|
|
3274
|
-
if (
|
|
3275
|
-
|
|
3274
|
+
if (I === xr) {
|
|
3275
|
+
oe(f, g, y);
|
|
3276
3276
|
return;
|
|
3277
3277
|
}
|
|
3278
3278
|
if (C !== 2 && R & 1 && b)
|
|
@@ -3291,7 +3291,7 @@ function El(e, t) {
|
|
|
3291
3291
|
}, Le = (f, g, y, C = !1, x = !1) => {
|
|
3292
3292
|
const {
|
|
3293
3293
|
type: _,
|
|
3294
|
-
props:
|
|
3294
|
+
props: I,
|
|
3295
3295
|
ref: b,
|
|
3296
3296
|
children: N,
|
|
3297
3297
|
dynamicChildren: R,
|
|
@@ -3306,14 +3306,14 @@ function El(e, t) {
|
|
|
3306
3306
|
}
|
|
3307
3307
|
const ye = G & 1 && Z, Te = !er(f);
|
|
3308
3308
|
let Se;
|
|
3309
|
-
if (Te && (Se =
|
|
3309
|
+
if (Te && (Se = I && I.onVnodeBeforeUnmount) && bt(Se, g, f), G & 6)
|
|
3310
3310
|
Ve(f.component, y, C);
|
|
3311
3311
|
else {
|
|
3312
3312
|
if (G & 128) {
|
|
3313
3313
|
f.suspense.unmount(y, C);
|
|
3314
3314
|
return;
|
|
3315
3315
|
}
|
|
3316
|
-
ye &&
|
|
3316
|
+
ye && on(f, null, g, "beforeUnmount"), G & 64 ? f.type.remove(
|
|
3317
3317
|
f,
|
|
3318
3318
|
g,
|
|
3319
3319
|
y,
|
|
@@ -3325,22 +3325,22 @@ function El(e, t) {
|
|
|
3325
3325
|
// so that it doesn't take the fast path during unmount - otherwise
|
|
3326
3326
|
// components nested in v-once are never unmounted.
|
|
3327
3327
|
!R.hasOnce && // #1153: fast path should not be taken for non-stable (v-for) fragments
|
|
3328
|
-
(_ !==
|
|
3328
|
+
(_ !== Nt || M > 0 && M & 64) ? J(
|
|
3329
3329
|
R,
|
|
3330
3330
|
g,
|
|
3331
3331
|
y,
|
|
3332
3332
|
!1,
|
|
3333
3333
|
!0
|
|
3334
|
-
) : (_ ===
|
|
3334
|
+
) : (_ === Nt && M & 384 || !x && G & 16) && J(N, g, y), C && A(f);
|
|
3335
3335
|
}
|
|
3336
|
-
(Te && (Se =
|
|
3337
|
-
Se &&
|
|
3336
|
+
(Te && (Se = I && I.onVnodeUnmounted) || ye) && st(() => {
|
|
3337
|
+
Se && bt(Se, g, f), ye && on(f, null, g, "unmounted");
|
|
3338
3338
|
}, y);
|
|
3339
3339
|
}, A = (f) => {
|
|
3340
3340
|
const { type: g, el: y, anchor: C, transition: x } = f;
|
|
3341
|
-
if (g ===
|
|
3342
|
-
process.env.NODE_ENV !== "production" && f.patchFlag > 0 && f.patchFlag & 2048 && x && !x.persisted ? f.children.forEach((
|
|
3343
|
-
|
|
3341
|
+
if (g === Nt) {
|
|
3342
|
+
process.env.NODE_ENV !== "production" && f.patchFlag > 0 && f.patchFlag & 2048 && x && !x.persisted ? f.children.forEach((I) => {
|
|
3343
|
+
I.type === ut ? o(I.el) : A(I);
|
|
3344
3344
|
}) : D(y, C);
|
|
3345
3345
|
return;
|
|
3346
3346
|
}
|
|
@@ -3352,7 +3352,7 @@ function El(e, t) {
|
|
|
3352
3352
|
o(y), x && !x.persisted && x.afterLeave && x.afterLeave();
|
|
3353
3353
|
};
|
|
3354
3354
|
if (f.shapeFlag & 1 && x && !x.persisted) {
|
|
3355
|
-
const { leave:
|
|
3355
|
+
const { leave: I, delayLeave: b } = x, N = () => I(y, _);
|
|
3356
3356
|
b ? b(f.el, _, N) : N();
|
|
3357
3357
|
} else
|
|
3358
3358
|
_();
|
|
@@ -3363,13 +3363,13 @@ function El(e, t) {
|
|
|
3363
3363
|
o(g);
|
|
3364
3364
|
}, Ve = (f, g, y) => {
|
|
3365
3365
|
process.env.NODE_ENV !== "production" && f.type.__hmrId && vu(f);
|
|
3366
|
-
const { bum: C, scope: x, job: _, subTree:
|
|
3367
|
-
Gs(N), Gs(R), C && Bn(C), x.stop(), _ && (_.flags |= 8, Le(
|
|
3366
|
+
const { bum: C, scope: x, job: _, subTree: I, um: b, m: N, a: R } = f;
|
|
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" && Su(f);
|
|
3370
3370
|
}, J = (f, g, y, C = !1, x = !1, _ = 0) => {
|
|
3371
|
-
for (let
|
|
3372
|
-
Le(f[
|
|
3371
|
+
for (let I = _; I < f.length; I++)
|
|
3372
|
+
Le(f[I], g, y, C, x);
|
|
3373
3373
|
}, ge = (f) => {
|
|
3374
3374
|
if (f.shapeFlag & 6)
|
|
3375
3375
|
return ge(f.component.subTree);
|
|
@@ -3410,7 +3410,7 @@ function El(e, t) {
|
|
|
3410
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
|
-
function
|
|
3413
|
+
function sn({ effect: e, job: t }, n) {
|
|
3414
3414
|
n ? (e.flags |= 32, t.flags |= 4) : (e.flags &= -33, t.flags &= -5);
|
|
3415
3415
|
}
|
|
3416
3416
|
function yl(e, t) {
|
|
@@ -3422,7 +3422,7 @@ function Rr(e, t, n = !1) {
|
|
|
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] =
|
|
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 _l(e) {
|
|
@@ -3463,7 +3463,7 @@ const bl = Symbol.for("v-scx"), wl = () => {
|
|
|
3463
3463
|
), e;
|
|
3464
3464
|
}
|
|
3465
3465
|
};
|
|
3466
|
-
function
|
|
3466
|
+
function Rt(e, t, n) {
|
|
3467
3467
|
return process.env.NODE_ENV !== "production" && !pe(t) && j(
|
|
3468
3468
|
"`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."
|
|
3469
3469
|
), jc(e, t, n);
|
|
@@ -3492,12 +3492,12 @@ function jc(e, t, n = Ne) {
|
|
|
3492
3492
|
}
|
|
3493
3493
|
}
|
|
3494
3494
|
const p = Ke;
|
|
3495
|
-
c.call = (S,
|
|
3495
|
+
c.call = (S, P, W) => Pt(S, p, P, W);
|
|
3496
3496
|
let d = !1;
|
|
3497
3497
|
s === "post" ? c.scheduler = (S) => {
|
|
3498
3498
|
st(S, p && p.suspense);
|
|
3499
|
-
} : s !== "sync" && (d = !0, c.scheduler = (S,
|
|
3500
|
-
|
|
3499
|
+
} : s !== "sync" && (d = !0, c.scheduler = (S, P) => {
|
|
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
|
};
|
|
@@ -3520,7 +3520,7 @@ function Hc(e, t) {
|
|
|
3520
3520
|
return r;
|
|
3521
3521
|
};
|
|
3522
3522
|
}
|
|
3523
|
-
const Sl = (e, t) => t === "modelValue" || t === "model-value" ? e.modelModifiers : e[`${t}Modifiers`] || e[`${
|
|
3523
|
+
const Sl = (e, t) => t === "modelValue" || t === "model-value" ? e.modelModifiers : e[`${t}Modifiers`] || e[`${mt(t)}Modifiers`] || e[`${tn(t)}Modifiers`];
|
|
3524
3524
|
function Al(e, t, ...n) {
|
|
3525
3525
|
if (e.isUnmounted) return;
|
|
3526
3526
|
const r = e.vnode.props || Ne;
|
|
@@ -3531,8 +3531,8 @@ function Al(e, t, ...n) {
|
|
|
3531
3531
|
} = e;
|
|
3532
3532
|
if (p)
|
|
3533
3533
|
if (!(t in p))
|
|
3534
|
-
(!d || !(an(
|
|
3535
|
-
`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${an(
|
|
3534
|
+
(!d || !(an(mt(t)) in d)) && j(
|
|
3535
|
+
`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${an(mt(t))}" prop.`
|
|
3536
3536
|
);
|
|
3537
3537
|
else {
|
|
3538
3538
|
const h = p[t];
|
|
@@ -3549,14 +3549,14 @@ function Al(e, t, ...n) {
|
|
|
3549
3549
|
`Event "${p}" is emitted in component ${ro(
|
|
3550
3550
|
e,
|
|
3551
3551
|
e.type
|
|
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 "${
|
|
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(
|
|
3553
3553
|
t
|
|
3554
3554
|
)}" instead of "${t}".`
|
|
3555
3555
|
);
|
|
3556
3556
|
}
|
|
3557
3557
|
let c, l = r[c = an(t)] || // also try camelCase event handler (#2249)
|
|
3558
|
-
r[c = an(
|
|
3559
|
-
!l && s && (l = r[c = an(
|
|
3558
|
+
r[c = an(mt(t))];
|
|
3559
|
+
!l && s && (l = r[c = an(tn(t))]), l && Pt(
|
|
3560
3560
|
l,
|
|
3561
3561
|
e,
|
|
3562
3562
|
6,
|
|
@@ -3568,7 +3568,7 @@ function Al(e, t, ...n) {
|
|
|
3568
3568
|
e.emitted = {};
|
|
3569
3569
|
else if (e.emitted[c])
|
|
3570
3570
|
return;
|
|
3571
|
-
e.emitted[c] = !0,
|
|
3571
|
+
e.emitted[c] = !0, Pt(
|
|
3572
3572
|
E,
|
|
3573
3573
|
e,
|
|
3574
3574
|
6,
|
|
@@ -3592,7 +3592,7 @@ function Wc(e, t, n = !1) {
|
|
|
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
3594
|
function to(e, t) {
|
|
3595
|
-
return !e || !lr(t) ? !1 : (t = t.slice(2).replace(/Once$/, ""), Oe(e, t[0].toLowerCase() + t.slice(1)) || Oe(e,
|
|
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
3597
|
let Ko = !1;
|
|
3598
3598
|
function Kr() {
|
|
@@ -3613,14 +3613,14 @@ function Ks(e) {
|
|
|
3613
3613
|
props: d,
|
|
3614
3614
|
data: h,
|
|
3615
3615
|
setupState: S,
|
|
3616
|
-
ctx:
|
|
3616
|
+
ctx: P,
|
|
3617
3617
|
inheritAttrs: W
|
|
3618
3618
|
} = e, F = Fr(e);
|
|
3619
3619
|
let k, te;
|
|
3620
3620
|
process.env.NODE_ENV !== "production" && (Ko = !1);
|
|
3621
3621
|
try {
|
|
3622
3622
|
if (n.shapeFlag & 4) {
|
|
3623
|
-
const L = o || r,
|
|
3623
|
+
const L = o || r, re = process.env.NODE_ENV !== "production" && S.__isScriptSetup ? new Proxy(L, {
|
|
3624
3624
|
get(ue, he, le) {
|
|
3625
3625
|
return j(
|
|
3626
3626
|
`Property '${String(
|
|
@@ -3629,31 +3629,31 @@ function Ks(e) {
|
|
|
3629
3629
|
), Reflect.get(ue, he, le);
|
|
3630
3630
|
}
|
|
3631
3631
|
}) : L;
|
|
3632
|
-
k =
|
|
3632
|
+
k = ht(
|
|
3633
3633
|
E.call(
|
|
3634
|
-
|
|
3634
|
+
re,
|
|
3635
3635
|
L,
|
|
3636
3636
|
p,
|
|
3637
|
-
process.env.NODE_ENV !== "production" ?
|
|
3637
|
+
process.env.NODE_ENV !== "production" ? xt(d) : d,
|
|
3638
3638
|
S,
|
|
3639
3639
|
h,
|
|
3640
|
-
|
|
3640
|
+
P
|
|
3641
3641
|
)
|
|
3642
3642
|
), te = c;
|
|
3643
3643
|
} else {
|
|
3644
3644
|
const L = t;
|
|
3645
|
-
process.env.NODE_ENV !== "production" && c === d && Kr(), k =
|
|
3645
|
+
process.env.NODE_ENV !== "production" && c === d && Kr(), k = ht(
|
|
3646
3646
|
L.length > 1 ? L(
|
|
3647
|
-
process.env.NODE_ENV !== "production" ?
|
|
3647
|
+
process.env.NODE_ENV !== "production" ? xt(d) : d,
|
|
3648
3648
|
process.env.NODE_ENV !== "production" ? {
|
|
3649
3649
|
get attrs() {
|
|
3650
|
-
return Kr(),
|
|
3650
|
+
return Kr(), xt(c);
|
|
3651
3651
|
},
|
|
3652
3652
|
slots: i,
|
|
3653
3653
|
emit: l
|
|
3654
3654
|
} : { attrs: c, slots: i, emit: l }
|
|
3655
3655
|
) : L(
|
|
3656
|
-
process.env.NODE_ENV !== "production" ?
|
|
3656
|
+
process.env.NODE_ENV !== "production" ? xt(d) : d,
|
|
3657
3657
|
null
|
|
3658
3658
|
)
|
|
3659
3659
|
), te = t.props ? c : Nl(c);
|
|
@@ -3661,15 +3661,15 @@ function Ks(e) {
|
|
|
3661
3661
|
} catch (L) {
|
|
3662
3662
|
tr.length = 0, pr(L, e, 1), k = at(ut);
|
|
3663
3663
|
}
|
|
3664
|
-
let U = k,
|
|
3665
|
-
if (process.env.NODE_ENV !== "production" && k.patchFlag > 0 && k.patchFlag & 2048 && ([U,
|
|
3666
|
-
const L = Object.keys(te), { shapeFlag:
|
|
3664
|
+
let U = k, oe;
|
|
3665
|
+
if (process.env.NODE_ENV !== "production" && k.patchFlag > 0 && k.patchFlag & 2048 && ([U, oe] = Fc(k)), te && W !== !1) {
|
|
3666
|
+
const L = Object.keys(te), { shapeFlag: re } = U;
|
|
3667
3667
|
if (L.length) {
|
|
3668
|
-
if (
|
|
3668
|
+
if (re & 7)
|
|
3669
3669
|
s && L.some(Mr) && (te = Tl(
|
|
3670
3670
|
te,
|
|
3671
3671
|
s
|
|
3672
|
-
)), U =
|
|
3672
|
+
)), U = nn(U, te, !1, !0);
|
|
3673
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++) {
|
|
@@ -3686,9 +3686,9 @@ function Ks(e) {
|
|
|
3686
3686
|
}
|
|
3687
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 =
|
|
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
|
-
), gs(U, n.transition)), process.env.NODE_ENV !== "production" &&
|
|
3691
|
+
), gs(U, n.transition)), process.env.NODE_ENV !== "production" && oe ? oe(U) : k = U, Fr(F), k;
|
|
3692
3692
|
}
|
|
3693
3693
|
const Fc = (e) => {
|
|
3694
3694
|
const t = e.children, n = e.dynamicChildren, r = ys(t, !1);
|
|
@@ -3699,7 +3699,7 @@ const Fc = (e) => {
|
|
|
3699
3699
|
const o = t.indexOf(r), s = n ? n.indexOf(r) : -1, i = (c) => {
|
|
3700
3700
|
t[o] = c, n && (s > -1 ? n[s] = c : c.patchFlag > 0 && (e.dynamicChildren = [...n, c]));
|
|
3701
3701
|
};
|
|
3702
|
-
return [
|
|
3702
|
+
return [ht(r), i];
|
|
3703
3703
|
};
|
|
3704
3704
|
function ys(e, t = !0) {
|
|
3705
3705
|
let n;
|
|
@@ -3730,7 +3730,7 @@ const Nl = (e) => {
|
|
|
3730
3730
|
}, ks = (e) => e.shapeFlag & 7 || e.type === ut;
|
|
3731
3731
|
function Rl(e, t, n) {
|
|
3732
3732
|
const { props: r, children: o, component: s } = e, { props: i, children: c, patchFlag: l } = t, E = s.emitsOptions;
|
|
3733
|
-
if (process.env.NODE_ENV !== "production" && (o || c) &&
|
|
3733
|
+
if (process.env.NODE_ENV !== "production" && (o || c) && Dt || t.dirs || t.transition)
|
|
3734
3734
|
return !0;
|
|
3735
3735
|
if (n && l >= 0) {
|
|
3736
3736
|
if (l & 1024)
|
|
@@ -3773,9 +3773,9 @@ const Bc = (e) => e.__isSuspense;
|
|
|
3773
3773
|
function Dl(e, t) {
|
|
3774
3774
|
t && t.pendingBranch ? ae(e) ? t.effects.push(...e) : t.effects.push(e) : pc(e);
|
|
3775
3775
|
}
|
|
3776
|
-
const
|
|
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
|
-
function
|
|
3778
|
+
function Ot(e = !1) {
|
|
3779
3779
|
tr.push(ct = e ? null : []);
|
|
3780
3780
|
}
|
|
3781
3781
|
function Cl() {
|
|
@@ -3788,9 +3788,9 @@ function qs(e, t = !1) {
|
|
|
3788
3788
|
function Uc(e) {
|
|
3789
3789
|
return e.dynamicChildren = ir > 0 ? ct || Sn : null, Cl(), ir > 0 && ct && ct.push(e), e;
|
|
3790
3790
|
}
|
|
3791
|
-
function
|
|
3791
|
+
function jt(e, t, n, r, o, s) {
|
|
3792
3792
|
return Uc(
|
|
3793
|
-
|
|
3793
|
+
dt(
|
|
3794
3794
|
e,
|
|
3795
3795
|
t,
|
|
3796
3796
|
n,
|
|
@@ -3831,7 +3831,7 @@ const Il = (...e) => Kc(
|
|
|
3831
3831
|
ref_key: t,
|
|
3832
3832
|
ref_for: n
|
|
3833
3833
|
}) => (typeof e == "number" && (e = "" + e), e != null ? We(e) || je(e) || pe(e) ? { i: et, r: e, k: t, f: !!n } : e : null);
|
|
3834
|
-
function
|
|
3834
|
+
function dt(e, t = null, n = null, r = 0, o = null, s = e === Nt ? 0 : 1, i = !1, c = !1) {
|
|
3835
3835
|
const l = {
|
|
3836
3836
|
__v_isVNode: !0,
|
|
3837
3837
|
__v_skip: !0,
|
|
@@ -3874,7 +3874,7 @@ function Vt(e, t = null, n = null, r = 0, o = null, s = e === St ? 0 : 1, i = !1
|
|
|
3874
3874
|
const at = process.env.NODE_ENV !== "production" ? Il : Kc;
|
|
3875
3875
|
function Kc(e, t = null, n = null, r = 0, o = null, s = !1) {
|
|
3876
3876
|
if ((!e || e === Gu) && (process.env.NODE_ENV !== "production" && !e && j(`Invalid vnode type when creating vnode: ${e}.`), e = ut), xn(e)) {
|
|
3877
|
-
const c =
|
|
3877
|
+
const c = nn(
|
|
3878
3878
|
e,
|
|
3879
3879
|
t,
|
|
3880
3880
|
!0
|
|
@@ -3885,7 +3885,7 @@ function Kc(e, t = null, n = null, r = 0, o = null, s = !1) {
|
|
|
3885
3885
|
if (Jc(e) && (e = e.__vccOpts), t) {
|
|
3886
3886
|
t = $l(t);
|
|
3887
3887
|
let { class: c, style: l } = t;
|
|
3888
|
-
c && !We(c) && (t.class = os(c)), De(l) && (Vr(l) && !ae(l) && (l = He({}, l)), t.style =
|
|
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 : Bc(e) ? 128 : Du(e) ? 64 : De(e) ? 4 : pe(e) ? 2 : 0;
|
|
3891
3891
|
return process.env.NODE_ENV !== "production" && i & 4 && Vr(e) && (e = Ee(e), j(
|
|
@@ -3893,7 +3893,7 @@ function Kc(e, t = null, n = null, r = 0, o = null, s = !1) {
|
|
|
3893
3893
|
`
|
|
3894
3894
|
Component that was made reactive: `,
|
|
3895
3895
|
e
|
|
3896
|
-
)),
|
|
3896
|
+
)), dt(
|
|
3897
3897
|
e,
|
|
3898
3898
|
t,
|
|
3899
3899
|
n,
|
|
@@ -3907,7 +3907,7 @@ Component that was made reactive: `,
|
|
|
3907
3907
|
function $l(e) {
|
|
3908
3908
|
return e ? Vr(e) || Dc(e) ? He({}, e) : e : null;
|
|
3909
3909
|
}
|
|
3910
|
-
function
|
|
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 ? Ll(o || {}, t) : o, p = {
|
|
3912
3912
|
__v_isVNode: !0,
|
|
3913
3913
|
__v_skip: !0,
|
|
@@ -3932,7 +3932,7 @@ function tn(e, t, n = !1, r = !1) {
|
|
|
3932
3932
|
// existing patch flag to be reliable and need to add the FULL_PROPS flag.
|
|
3933
3933
|
// note: preserve flag for fragments since they use the flag for children
|
|
3934
3934
|
// fast paths only.
|
|
3935
|
-
patchFlag: t && e.type !==
|
|
3935
|
+
patchFlag: t && e.type !== Nt ? i === -1 ? 16 : i | 16 : i,
|
|
3936
3936
|
dynamicProps: e.dynamicProps,
|
|
3937
3937
|
dynamicChildren: e.dynamicChildren,
|
|
3938
3938
|
appContext: e.appContext,
|
|
@@ -3944,8 +3944,8 @@ function tn(e, t, n = !1, r = !1) {
|
|
|
3944
3944
|
// they will simply be overwritten.
|
|
3945
3945
|
component: e.component,
|
|
3946
3946
|
suspense: e.suspense,
|
|
3947
|
-
ssContent: e.ssContent &&
|
|
3948
|
-
ssFallback: e.ssFallback &&
|
|
3947
|
+
ssContent: e.ssContent && nn(e.ssContent),
|
|
3948
|
+
ssFallback: e.ssFallback && nn(e.ssFallback),
|
|
3949
3949
|
el: e.el,
|
|
3950
3950
|
anchor: e.anchor,
|
|
3951
3951
|
ctx: e.ctx,
|
|
@@ -3957,25 +3957,25 @@ function tn(e, t, n = !1, r = !1) {
|
|
|
3957
3957
|
), p;
|
|
3958
3958
|
}
|
|
3959
3959
|
function kc(e) {
|
|
3960
|
-
const t =
|
|
3960
|
+
const t = nn(e);
|
|
3961
3961
|
return ae(e.children) && (t.children = e.children.map(kc)), t;
|
|
3962
3962
|
}
|
|
3963
3963
|
function Ml(e = " ", t = 0) {
|
|
3964
3964
|
return at(hr, null, e, t);
|
|
3965
3965
|
}
|
|
3966
|
-
function
|
|
3967
|
-
return t ? (
|
|
3966
|
+
function zt(e = "", t = !1) {
|
|
3967
|
+
return t ? (Ot(), Pl(ut, null, e)) : at(ut, null, e);
|
|
3968
3968
|
}
|
|
3969
|
-
function
|
|
3969
|
+
function ht(e) {
|
|
3970
3970
|
return e == null || typeof e == "boolean" ? at(ut) : ae(e) ? at(
|
|
3971
|
-
|
|
3971
|
+
Nt,
|
|
3972
3972
|
null,
|
|
3973
3973
|
// #3666, avoid reference pollution when reusing vnode
|
|
3974
3974
|
e.slice()
|
|
3975
|
-
) : xn(e) ?
|
|
3975
|
+
) : xn(e) ? Zt(e) : at(hr, null, String(e));
|
|
3976
3976
|
}
|
|
3977
|
-
function
|
|
3978
|
-
return e.el === null && e.patchFlag !== -1 || e.memo ? e :
|
|
3977
|
+
function Zt(e) {
|
|
3978
|
+
return e.el === null && e.patchFlag !== -1 || e.memo ? e : nn(e);
|
|
3979
3979
|
}
|
|
3980
3980
|
function _s(e, t) {
|
|
3981
3981
|
let n = 0;
|
|
@@ -4005,7 +4005,7 @@ function Ll(...e) {
|
|
|
4005
4005
|
if (o === "class")
|
|
4006
4006
|
t.class !== r.class && (t.class = os([t.class, r.class]));
|
|
4007
4007
|
else if (o === "style")
|
|
4008
|
-
t.style =
|
|
4008
|
+
t.style = Wt([t.style, r.style]);
|
|
4009
4009
|
else if (lr(o)) {
|
|
4010
4010
|
const s = t[o], i = r[o];
|
|
4011
4011
|
i && s !== i && !(ae(s) && s.includes(i)) && (t[o] = s ? [].concat(s, i) : i);
|
|
@@ -4013,8 +4013,8 @@ function Ll(...e) {
|
|
|
4013
4013
|
}
|
|
4014
4014
|
return t;
|
|
4015
4015
|
}
|
|
4016
|
-
function
|
|
4017
|
-
|
|
4016
|
+
function bt(e, t, n, r = null) {
|
|
4017
|
+
Pt(e, t, 7, [
|
|
4018
4018
|
n,
|
|
4019
4019
|
r
|
|
4020
4020
|
]);
|
|
@@ -4163,17 +4163,17 @@ function Ul(e, t) {
|
|
|
4163
4163
|
e.accessCache = /* @__PURE__ */ Object.create(null), e.proxy = new Proxy(e.ctx, Sc), process.env.NODE_ENV !== "production" && ku(e);
|
|
4164
4164
|
const { setup: o } = r;
|
|
4165
4165
|
if (o) {
|
|
4166
|
-
|
|
4166
|
+
Gt();
|
|
4167
4167
|
const s = e.setupContext = o.length > 1 ? kl(e) : null, i = gr(e), c = Mn(
|
|
4168
4168
|
o,
|
|
4169
4169
|
e,
|
|
4170
4170
|
0,
|
|
4171
4171
|
[
|
|
4172
|
-
process.env.NODE_ENV !== "production" ?
|
|
4172
|
+
process.env.NODE_ENV !== "production" ? xt(e.props) : e.props,
|
|
4173
4173
|
s
|
|
4174
4174
|
]
|
|
4175
4175
|
), l = ts(c);
|
|
4176
|
-
if (
|
|
4176
|
+
if (Kt(), i(), (l || e.sp) && !er(e) && _c(e), l) {
|
|
4177
4177
|
if (c.then(zs, zs), t)
|
|
4178
4178
|
return c.then((E) => {
|
|
4179
4179
|
Js(e, E, t);
|
|
@@ -4204,11 +4204,11 @@ function qc(e, t, n) {
|
|
|
4204
4204
|
e.render || (e.render = r.render || Be);
|
|
4205
4205
|
{
|
|
4206
4206
|
const o = gr(e);
|
|
4207
|
-
|
|
4207
|
+
Gt();
|
|
4208
4208
|
try {
|
|
4209
4209
|
zu(e);
|
|
4210
4210
|
} finally {
|
|
4211
|
-
|
|
4211
|
+
Kt(), o();
|
|
4212
4212
|
}
|
|
4213
4213
|
}
|
|
4214
4214
|
process.env.NODE_ENV !== "production" && !r.render && e.render === Be && !t && (r.template ? j(
|
|
@@ -4307,7 +4307,7 @@ function ro(e, t, n = !1) {
|
|
|
4307
4307
|
function Jc(e) {
|
|
4308
4308
|
return pe(e) && "__vccOpts" in e;
|
|
4309
4309
|
}
|
|
4310
|
-
const
|
|
4310
|
+
const St = (e, t) => {
|
|
4311
4311
|
const n = su(e, t, cr);
|
|
4312
4312
|
if (process.env.NODE_ENV !== "production") {
|
|
4313
4313
|
const r = Wl();
|
|
@@ -4339,8 +4339,8 @@ function Jl() {
|
|
|
4339
4339
|
["span", e, rt(d) ? "ShallowReactive" : "Reactive"],
|
|
4340
4340
|
"<",
|
|
4341
4341
|
c(d),
|
|
4342
|
-
`>${
|
|
4343
|
-
] :
|
|
4342
|
+
`>${Ut(d) ? " (readonly)" : ""}`
|
|
4343
|
+
] : Ut(d) ? [
|
|
4344
4344
|
"div",
|
|
4345
4345
|
{},
|
|
4346
4346
|
["span", e, rt(d) ? "ShallowReadonly" : "Readonly"],
|
|
@@ -4366,8 +4366,8 @@ function Jl() {
|
|
|
4366
4366
|
d.type.props && d.props && h.push(i("props", Ee(d.props))), d.setupState !== Ne && h.push(i("setup", d.setupState)), d.data !== Ne && h.push(i("data", Ee(d.data)));
|
|
4367
4367
|
const S = l(d, "computed");
|
|
4368
4368
|
S && h.push(i("computed", S));
|
|
4369
|
-
const
|
|
4370
|
-
return
|
|
4369
|
+
const P = l(d, "inject");
|
|
4370
|
+
return P && h.push(i("injected", P)), h.push([
|
|
4371
4371
|
"div",
|
|
4372
4372
|
{},
|
|
4373
4373
|
[
|
|
@@ -4412,14 +4412,14 @@ function Jl() {
|
|
|
4412
4412
|
const S = d.type;
|
|
4413
4413
|
if (pe(S))
|
|
4414
4414
|
return;
|
|
4415
|
-
const
|
|
4415
|
+
const P = {};
|
|
4416
4416
|
for (const W in d.ctx)
|
|
4417
|
-
E(S, W, h) && (
|
|
4418
|
-
return
|
|
4417
|
+
E(S, W, h) && (P[W] = d.ctx[W]);
|
|
4418
|
+
return P;
|
|
4419
4419
|
}
|
|
4420
4420
|
function E(d, h, S) {
|
|
4421
|
-
const
|
|
4422
|
-
if (ae(
|
|
4421
|
+
const P = d[S];
|
|
4422
|
+
if (ae(P) && P.includes(h) || De(P) && h in P || d.extends && E(d.extends, h, S) || d.mixins && d.mixins.some((W) => E(W, h, S)))
|
|
4423
4423
|
return !0;
|
|
4424
4424
|
}
|
|
4425
4425
|
function p(d) {
|
|
@@ -4445,7 +4445,7 @@ if (Qs)
|
|
|
4445
4445
|
} catch (e) {
|
|
4446
4446
|
process.env.NODE_ENV !== "production" && oo(`Error creating trusted types policy: ${e}`);
|
|
4447
4447
|
}
|
|
4448
|
-
const Xc = qo ? (e) => qo.createHTML(e) : (e) => e, Xl = "http://www.w3.org/2000/svg", Zl = "http://www.w3.org/1998/Math/MathML",
|
|
4448
|
+
const Xc = qo ? (e) => qo.createHTML(e) : (e) => e, Xl = "http://www.w3.org/2000/svg", Zl = "http://www.w3.org/1998/Math/MathML", Ht = typeof document < "u" ? document : null, ei = Ht && /* @__PURE__ */ Ht.createElement("template"), Ql = {
|
|
4449
4449
|
insert: (e, t, n) => {
|
|
4450
4450
|
t.insertBefore(e, n || null);
|
|
4451
4451
|
},
|
|
@@ -4454,11 +4454,11 @@ const Xc = qo ? (e) => qo.createHTML(e) : (e) => e, Xl = "http://www.w3.org/2000
|
|
|
4454
4454
|
t && t.removeChild(e);
|
|
4455
4455
|
},
|
|
4456
4456
|
createElement: (e, t, n, r) => {
|
|
4457
|
-
const o = t === "svg" ?
|
|
4457
|
+
const o = t === "svg" ? Ht.createElementNS(Xl, e) : t === "mathml" ? Ht.createElementNS(Zl, e) : n ? Ht.createElement(e, { is: n }) : Ht.createElement(e);
|
|
4458
4458
|
return e === "select" && r && r.multiple != null && o.setAttribute("multiple", r.multiple), o;
|
|
4459
4459
|
},
|
|
4460
|
-
createText: (e) =>
|
|
4461
|
-
createComment: (e) =>
|
|
4460
|
+
createText: (e) => Ht.createTextNode(e),
|
|
4461
|
+
createComment: (e) => Ht.createComment(e),
|
|
4462
4462
|
setText: (e, t) => {
|
|
4463
4463
|
e.nodeValue = t;
|
|
4464
4464
|
},
|
|
@@ -4467,7 +4467,7 @@ const Xc = qo ? (e) => qo.createHTML(e) : (e) => e, Xl = "http://www.w3.org/2000
|
|
|
4467
4467
|
},
|
|
4468
4468
|
parentNode: (e) => e.parentNode,
|
|
4469
4469
|
nextSibling: (e) => e.nextSibling,
|
|
4470
|
-
querySelector: (e) =>
|
|
4470
|
+
querySelector: (e) => Ht.querySelector(e),
|
|
4471
4471
|
setScopeId(e, t) {
|
|
4472
4472
|
e.setAttribute(t, "");
|
|
4473
4473
|
},
|
|
@@ -4560,7 +4560,7 @@ function Cr(e, t, n) {
|
|
|
4560
4560
|
else {
|
|
4561
4561
|
const r = cf(e, t);
|
|
4562
4562
|
ti.test(n) ? e.setProperty(
|
|
4563
|
-
|
|
4563
|
+
tn(r),
|
|
4564
4564
|
n.replace(ti, ""),
|
|
4565
4565
|
"important"
|
|
4566
4566
|
) : e[r] = n;
|
|
@@ -4571,7 +4571,7 @@ function cf(e, t) {
|
|
|
4571
4571
|
const n = wo[t];
|
|
4572
4572
|
if (n)
|
|
4573
4573
|
return n;
|
|
4574
|
-
let r =
|
|
4574
|
+
let r = mt(t);
|
|
4575
4575
|
if (r !== "filter" && r in e)
|
|
4576
4576
|
return wo[t] = r;
|
|
4577
4577
|
r = Jr(r);
|
|
@@ -4651,7 +4651,7 @@ function ff(e) {
|
|
|
4651
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
|
-
return [e[2] === ":" ? e.slice(3) :
|
|
4654
|
+
return [e[2] === ":" ? e.slice(3) : tn(e.slice(2)), t];
|
|
4655
4655
|
}
|
|
4656
4656
|
let Oo = 0;
|
|
4657
4657
|
const pf = /* @__PURE__ */ Promise.resolve(), df = () => Oo || (pf.then(() => Oo = 0), Oo = Date.now());
|
|
@@ -4661,7 +4661,7 @@ function hf(e, t) {
|
|
|
4661
4661
|
r._vts = Date.now();
|
|
4662
4662
|
else if (r._vts <= n.attached)
|
|
4663
4663
|
return;
|
|
4664
|
-
|
|
4664
|
+
Pt(
|
|
4665
4665
|
gf(r, n.value),
|
|
4666
4666
|
t,
|
|
4667
4667
|
5,
|
|
@@ -4690,7 +4690,7 @@ function gf(e, t) {
|
|
|
4690
4690
|
const ui = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // lowercase letter
|
|
4691
4691
|
e.charCodeAt(2) > 96 && e.charCodeAt(2) < 123, mf = (e, t, n, r, o, s) => {
|
|
4692
4692
|
const i = o === "svg";
|
|
4693
|
-
t === "class" ? tf(e, r, i) : t === "style" ? of(e, n, r) : lr(t) ? Mr(t) || lf(e, t, n, r, s) : (t[0] === "." ? (t = t.slice(1), !0) : t[0] === "^" ? (t = t.slice(1), !1) : vf(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,
|
|
4693
|
+
t === "class" ? tf(e, r, i) : t === "style" ? of(e, n, r) : lr(t) ? Mr(t) || lf(e, t, n, r, s) : (t[0] === "." ? (t = t.slice(1), !0) : t[0] === "^" ? (t = t.slice(1), !1) : vf(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 vf(e, t, n, r) {
|
|
4696
4696
|
if (r)
|
|
@@ -4721,14 +4721,14 @@ function bf() {
|
|
|
4721
4721
|
Jl();
|
|
4722
4722
|
}
|
|
4723
4723
|
process.env.NODE_ENV !== "production" && bf();
|
|
4724
|
-
const wf = { style: { flex: "1", display: "flex", "min-height": "0" } }, Of = { style: { flex: "1", "min-width": "0", display: "flex", "flex-direction": "column" } }, Sf = /* @__PURE__ */ Cu({
|
|
4724
|
+
const wf = { style: { flex: "1", display: "flex", "min-height": "0" } }, Of = { style: { flex: "1", "min-width": "0", display: "flex", "flex-direction": "column" } }, Sf = { key: 0 }, Af = /* @__PURE__ */ Cu({
|
|
4725
4725
|
__name: "container",
|
|
4726
4726
|
props: ["type", "clearBackgroundStyles", "microAppsContainerStyle"],
|
|
4727
4727
|
emits: ["layoutMounted"],
|
|
4728
4728
|
setup(e, { emit: t }) {
|
|
4729
|
-
const n = e, r = t, o =
|
|
4729
|
+
const n = e, r = t, o = St(() => p.value.microApps || []), s = Et("container"), i = Et("mainApp"), c = Et("microApp"), l = St(() => ["mainApp"].includes(n.type)), E = St(() => ["microApp"].includes(n.type)), p = Ge(s.data.get());
|
|
4730
4730
|
s.data.watch((Y) => p.value = Y);
|
|
4731
|
-
const d =
|
|
4731
|
+
const d = St(() => ({
|
|
4732
4732
|
nav: p.value.navVisible ?? p.value.frameVisible ?? p.value.visible ?? !0,
|
|
4733
4733
|
menu: p.value.menuVisible ?? p.value.frameVisible ?? p.value.visible ?? !0,
|
|
4734
4734
|
tab: p.value.tabVisible ?? p.value.frameVisible ?? p.value.visible ?? !0,
|
|
@@ -4743,14 +4743,14 @@ const wf = { style: { flex: "1", display: "flex", "min-height": "0" } }, Of = {
|
|
|
4743
4743
|
menu: Ge(null),
|
|
4744
4744
|
tab: Ge(null),
|
|
4745
4745
|
mount: Ge(null)
|
|
4746
|
-
},
|
|
4746
|
+
}, P = St(() => p.value.activeMicroAppName || ""), W = St(() => {
|
|
4747
4747
|
var Y, w, q, ne, ce, ie;
|
|
4748
4748
|
return {
|
|
4749
4749
|
navHeight: (((w = (Y = p.value) == null ? void 0 : Y.navRect) == null ? void 0 : w.height) || 0) + "px",
|
|
4750
4750
|
menuWidth: (((ne = (q = p.value) == null ? void 0 : q.menuRect) == null ? void 0 : ne.width) || 0) + "px",
|
|
4751
4751
|
tabHeight: (((ie = (ce = p.value) == null ? void 0 : ce.tabRect) == null ? void 0 : ie.height) || 0) + "px"
|
|
4752
4752
|
};
|
|
4753
|
-
}), F =
|
|
4753
|
+
}), F = St(() => ({
|
|
4754
4754
|
position: "relative",
|
|
4755
4755
|
height: "100%",
|
|
4756
4756
|
display: "flex",
|
|
@@ -4783,12 +4783,12 @@ const wf = { style: { flex: "1", display: "flex", "min-height": "0" } }, Of = {
|
|
|
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 },
|
|
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") {
|
|
4790
4790
|
if (l.value) {
|
|
4791
|
-
if (!
|
|
4791
|
+
if (!P.value)
|
|
4792
4792
|
return s.data.set({ microAppStickStatus: !1 });
|
|
4793
4793
|
s.data.set({ microAppStickStatus: q === "mount" });
|
|
4794
4794
|
}
|
|
@@ -4804,20 +4804,20 @@ const wf = { style: { flex: "1", display: "flex", "min-height": "0" } }, Of = {
|
|
|
4804
4804
|
}
|
|
4805
4805
|
},
|
|
4806
4806
|
20
|
|
4807
|
-
), L =
|
|
4808
|
-
|
|
4809
|
-
() =>
|
|
4807
|
+
), L = St(() => ({ ...E.value ? n.clearBackgroundStyles || {} : {} })), re = Ge(!1), ue = Ge(!1), he = Ge({});
|
|
4808
|
+
Rt(
|
|
4809
|
+
() => P.value,
|
|
4810
4810
|
(Y) => {
|
|
4811
|
-
ue.value = !0, Y && !he.value[Y] && (
|
|
4811
|
+
ue.value = !0, Y && !he.value[Y] && (re.value = !0), setTimeout(() => {
|
|
4812
4812
|
ue.value = !1;
|
|
4813
4813
|
}, 300);
|
|
4814
4814
|
}
|
|
4815
4815
|
);
|
|
4816
|
-
const le =
|
|
4816
|
+
const le = St(() => {
|
|
4817
4817
|
var w;
|
|
4818
4818
|
let Y = {
|
|
4819
4819
|
...n.microAppsContainerStyle || {},
|
|
4820
|
-
display: (w = o.value) != null && w.length &&
|
|
4820
|
+
display: (w = o.value) != null && w.length && P.value ? "block" : "none",
|
|
4821
4821
|
position: "absolute",
|
|
4822
4822
|
zIndex: ue.value ? -1 : 1,
|
|
4823
4823
|
top: 0,
|
|
@@ -4825,7 +4825,7 @@ const wf = { style: { flex: "1", display: "flex", "min-height": "0" } }, Of = {
|
|
|
4825
4825
|
height: "100%",
|
|
4826
4826
|
width: "100%"
|
|
4827
4827
|
};
|
|
4828
|
-
return l.value && (Y.pointerEvents = p.value.microAppStickStatus &&
|
|
4828
|
+
return l.value && (Y.pointerEvents = p.value.microAppStickStatus && P.value ? "all" : "none"), Y;
|
|
4829
4829
|
}), be = Ge(null);
|
|
4830
4830
|
if (l.value) {
|
|
4831
4831
|
(async () => {
|
|
@@ -4846,10 +4846,10 @@ const wf = { style: { flex: "1", display: "flex", "min-height": "0" } }, Of = {
|
|
|
4846
4846
|
await Promise.all([
|
|
4847
4847
|
...Object.keys(h).map(async (ne) => {
|
|
4848
4848
|
const ce = h[ne];
|
|
4849
|
-
await new Promise((ie) =>
|
|
4849
|
+
await new Promise((ie) => Rt(() => ce.value, ie)), q(ne);
|
|
4850
4850
|
}),
|
|
4851
4851
|
...Object.keys(S).map(async (ne) => {
|
|
4852
|
-
await new Promise((ce) =>
|
|
4852
|
+
await new Promise((ce) => Rt(() => S[ne].value, ce));
|
|
4853
4853
|
})
|
|
4854
4854
|
]), s.event.emit("onLayoutMounted"), r("layoutMounted", {
|
|
4855
4855
|
navDom: S.nav.value,
|
|
@@ -4860,7 +4860,7 @@ const wf = { style: { flex: "1", display: "flex", "min-height": "0" } }, Of = {
|
|
|
4860
4860
|
var Q, ve, T;
|
|
4861
4861
|
const { getIframeInfo: ce } = Qo();
|
|
4862
4862
|
let ie = ce((Q = ne == null ? void 0 : ne.appInfo) == null ? void 0 : Q.name), B = (ve = be.value) == null ? void 0 : ve.querySelector(`#${ie.id}`);
|
|
4863
|
-
B && (B.style.display = "block",
|
|
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(() => {
|
|
4866
4866
|
const q = p.value.activeMicroAppName;
|
|
@@ -4871,7 +4871,7 @@ const wf = { style: { flex: "1", display: "flex", "min-height": "0" } }, Of = {
|
|
|
4871
4871
|
s.data.set({ microAppStickStatus: q.data });
|
|
4872
4872
|
});
|
|
4873
4873
|
const { setIframeMountDom: w } = Qo();
|
|
4874
|
-
|
|
4874
|
+
Rt(() => be.value, w);
|
|
4875
4875
|
}
|
|
4876
4876
|
if (E.value) {
|
|
4877
4877
|
s.data.set({ microAppStickStatus: !0 });
|
|
@@ -4889,7 +4889,7 @@ const wf = { style: { flex: "1", display: "flex", "min-height": "0" } }, Of = {
|
|
|
4889
4889
|
await Promise.all([
|
|
4890
4890
|
...Object.keys(h).map(async (ce) => {
|
|
4891
4891
|
const ie = h[ce];
|
|
4892
|
-
await new Promise((B) =>
|
|
4892
|
+
await new Promise((B) => Rt(() => ie.value, B));
|
|
4893
4893
|
})
|
|
4894
4894
|
]), s.event.emit("onLayoutMounted"), r("layoutMounted", {
|
|
4895
4895
|
mountDom: S.mount.value
|
|
@@ -4900,68 +4900,74 @@ const wf = { style: { flex: "1", display: "flex", "min-height": "0" } }, Of = {
|
|
|
4900
4900
|
}
|
|
4901
4901
|
return wc(() => {
|
|
4902
4902
|
s.event.emit("onMounted");
|
|
4903
|
-
}), (Y, w) => (
|
|
4904
|
-
style:
|
|
4903
|
+
}), (Y, w) => (Ot(), jt("div", {
|
|
4904
|
+
style: Wt(F.value)
|
|
4905
4905
|
}, [
|
|
4906
|
-
br(
|
|
4906
|
+
br(dt("header", {
|
|
4907
4907
|
ref: h.nav,
|
|
4908
|
-
onMouseenter: w[0] || (w[0] = (q) =>
|
|
4909
|
-
onMousemove: w[1] || (w[1] = (q) =>
|
|
4908
|
+
onMouseenter: w[0] || (w[0] = (q) => Jt(oe)("mouseenter", q, "nav")),
|
|
4909
|
+
onMousemove: w[1] || (w[1] = (q) => Jt(oe)("mousemove", q, "nav"))
|
|
4910
4910
|
}, [
|
|
4911
|
-
l.value ? (
|
|
4911
|
+
l.value ? (Ot(), jt("div", {
|
|
4912
4912
|
key: 0,
|
|
4913
4913
|
ref: S.nav
|
|
4914
|
-
}, null, 512)) :
|
|
4915
|
-
E.value ? (
|
|
4914
|
+
}, null, 512)) : zt("", !0),
|
|
4915
|
+
E.value ? (Ot(), jt("div", {
|
|
4916
4916
|
key: 1,
|
|
4917
|
-
style:
|
|
4918
|
-
}, null, 4)) :
|
|
4917
|
+
style: Wt([{ "pointer-events": "none" }, { height: W.value.navHeight }])
|
|
4918
|
+
}, null, 4)) : zt("", !0)
|
|
4919
4919
|
], 544), [
|
|
4920
4920
|
[Jn, d.value.nav]
|
|
4921
4921
|
]),
|
|
4922
|
-
|
|
4923
|
-
br(
|
|
4922
|
+
dt("section", wf, [
|
|
4923
|
+
br(dt("aside", {
|
|
4924
4924
|
ref: h.menu,
|
|
4925
4925
|
style: { height: "100%" },
|
|
4926
|
-
onMouseenter: w[2] || (w[2] = (q) =>
|
|
4927
|
-
onMousemove: w[3] || (w[3] = (q) =>
|
|
4926
|
+
onMouseenter: w[2] || (w[2] = (q) => Jt(oe)("mouseenter", q, "menu")),
|
|
4927
|
+
onMousemove: w[3] || (w[3] = (q) => Jt(oe)("mousemove", q, "menu"))
|
|
4928
4928
|
}, [
|
|
4929
|
-
l.value ? (
|
|
4929
|
+
l.value ? (Ot(), jt("div", {
|
|
4930
4930
|
key: 0,
|
|
4931
4931
|
ref: S.menu,
|
|
4932
4932
|
style: { height: "100%" }
|
|
4933
|
-
}, null, 512)) :
|
|
4934
|
-
E.value ? (
|
|
4933
|
+
}, null, 512)) : zt("", !0),
|
|
4934
|
+
E.value ? (Ot(), jt("div", {
|
|
4935
4935
|
key: 1,
|
|
4936
|
-
style:
|
|
4937
|
-
}, null, 4)) :
|
|
4936
|
+
style: Wt([{ "pointer-events": "none" }, { width: W.value.menuWidth }])
|
|
4937
|
+
}, null, 4)) : zt("", !0)
|
|
4938
4938
|
], 544), [
|
|
4939
4939
|
[Jn, d.value.menu]
|
|
4940
4940
|
]),
|
|
4941
|
-
|
|
4942
|
-
br(
|
|
4941
|
+
dt("main", Of, [
|
|
4942
|
+
br(dt("header", {
|
|
4943
4943
|
ref: h.tab,
|
|
4944
|
-
onMouseenter: w[4] || (w[4] = (q) =>
|
|
4945
|
-
onMousemove: w[5] || (w[5] = (q) =>
|
|
4944
|
+
onMouseenter: w[4] || (w[4] = (q) => Jt(oe)("mouseenter", q, "tab")),
|
|
4945
|
+
onMousemove: w[5] || (w[5] = (q) => Jt(oe)("mousemove", q, "tab"))
|
|
4946
4946
|
}, [
|
|
4947
|
-
l.value ? (
|
|
4947
|
+
l.value ? (Ot(), jt("div", {
|
|
4948
4948
|
key: 0,
|
|
4949
4949
|
ref: S.tab
|
|
4950
|
-
}, null, 512)) :
|
|
4951
|
-
E.value ? (
|
|
4950
|
+
}, null, 512)) : zt("", !0),
|
|
4951
|
+
E.value ? (Ot(), jt("div", {
|
|
4952
4952
|
key: 1,
|
|
4953
|
-
style:
|
|
4954
|
-
}, null, 4)) :
|
|
4953
|
+
style: Wt([{ "pointer-events": "none" }, { height: W.value.tabHeight }])
|
|
4954
|
+
}, null, 4)) : zt("", !0)
|
|
4955
4955
|
], 544), [
|
|
4956
4956
|
[Jn, d.value.tab]
|
|
4957
4957
|
]),
|
|
4958
|
-
br(
|
|
4958
|
+
br(dt("section", {
|
|
4959
4959
|
class: "tttttttttttttttttt",
|
|
4960
4960
|
ref: h.mount,
|
|
4961
|
-
style:
|
|
4962
|
-
onMouseenter: w[6] || (w[6] = (q) =>
|
|
4961
|
+
style: Wt([{ flex: "1", "min-height": "0" }, L.value]),
|
|
4962
|
+
onMouseenter: w[6] || (w[6] = (q) => Jt(oe)("mouseenter", q, "mount"))
|
|
4963
4963
|
}, [
|
|
4964
|
-
|
|
4964
|
+
re.value && P.value ? (Ot(), jt("div", Sf, w[7] || (w[7] = [
|
|
4965
|
+
dt("div", { class: "main-loader-container" }, [
|
|
4966
|
+
dt("div", { class: "loader" }),
|
|
4967
|
+
dt("span", null, "Loading...")
|
|
4968
|
+
], -1)
|
|
4969
|
+
]))) : zt("", !0),
|
|
4970
|
+
dt("div", {
|
|
4965
4971
|
ref: S.mount,
|
|
4966
4972
|
style: { height: "100%" }
|
|
4967
4973
|
}, null, 512)
|
|
@@ -4970,13 +4976,13 @@ const wf = { style: { flex: "1", display: "flex", "min-height": "0" } }, Of = {
|
|
|
4970
4976
|
])
|
|
4971
4977
|
])
|
|
4972
4978
|
]),
|
|
4973
|
-
l.value ? (
|
|
4979
|
+
l.value ? (Ot(), jt("div", {
|
|
4974
4980
|
key: 0,
|
|
4975
4981
|
ref_key: "microAppContainerRef",
|
|
4976
4982
|
ref: be,
|
|
4977
4983
|
name: "mframe-micro-app-container",
|
|
4978
|
-
style:
|
|
4979
|
-
}, null, 4)) :
|
|
4984
|
+
style: Wt(le.value)
|
|
4985
|
+
}, null, 4)) : zt("", !0)
|
|
4980
4986
|
], 4));
|
|
4981
4987
|
}
|
|
4982
4988
|
});
|
|
@@ -5003,28 +5009,28 @@ const Qc = async (e) => {
|
|
|
5003
5009
|
const { appendTo: t = "#app", type: n, autoClearBackground: r } = e || {}, o = n === "microApp";
|
|
5004
5010
|
let s;
|
|
5005
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");
|
|
5006
|
-
|
|
5012
|
+
Et("container").data.set({ initOptions: e });
|
|
5007
5013
|
let c = {};
|
|
5008
5014
|
o && r !== !1 && (Object.assign(c, So(document.documentElement)), Object.assign(c, So(document.body)), Object.assign(c, So(s)));
|
|
5009
5015
|
const l = Ge(!0);
|
|
5010
5016
|
let E = {};
|
|
5011
|
-
const p = zl(
|
|
5017
|
+
const p = zl(Af, {
|
|
5012
5018
|
type: n,
|
|
5013
5019
|
clearBackgroundStyles: c,
|
|
5014
5020
|
onLayoutMounted: (d) => {
|
|
5015
5021
|
E = d, l.value = !1;
|
|
5016
5022
|
}
|
|
5017
5023
|
});
|
|
5018
|
-
return _f(p, s), l.value && await new Promise((d) =>
|
|
5019
|
-
},
|
|
5024
|
+
return _f(p, s), l.value && await new Promise((d) => Rt(() => l.value, d)), E;
|
|
5025
|
+
}, Pg = async (e) => {
|
|
5020
5026
|
e || (e = {});
|
|
5021
|
-
const { microApps: t = [] } = e, n = await Qc({ type: "mainApp", ...e }), r =
|
|
5027
|
+
const { microApps: t = [] } = e, n = await Qc({ type: "mainApp", ...e }), r = Et("container"), o = Et("mainApp"), { addRouterEventListener: s } = ta(), i = ea(), c = Ge(t);
|
|
5022
5028
|
r.data.watch((F) => c.value = F.microApps, ["microApps"]), r.data.set({ microApps: t });
|
|
5023
5029
|
const { registerIframe: l, loadIframe: E, hideIframe: p, iframeEvent: d, checkIframeStatus: h } = Qo();
|
|
5024
5030
|
d.on("mounted", (F) => {
|
|
5025
5031
|
var U;
|
|
5026
5032
|
o.expose.connectMicroApp(F);
|
|
5027
|
-
const k = r.data.get().microApps.find((
|
|
5033
|
+
const k = r.data.get().microApps.find((oe) => oe.name === F.name);
|
|
5028
5034
|
if (!k) return;
|
|
5029
5035
|
if (!(((U = k.router) == null ? void 0 : U.sync) ?? !0)) {
|
|
5030
5036
|
W();
|
|
@@ -5040,8 +5046,8 @@ const Qc = async (e) => {
|
|
|
5040
5046
|
if (!k.appInfo) return;
|
|
5041
5047
|
const te = r.data.get().microApps.find((ce) => ce.name === k.appInfo.name);
|
|
5042
5048
|
if (!te || !(((w = te.router) == null ? void 0 : w.sync) ?? !0) || !h(te.name, ["mounted", "activated"])) return;
|
|
5043
|
-
const { pathname:
|
|
5044
|
-
let ue =
|
|
5049
|
+
const { pathname: oe, hash: L, search: re } = new URL(window.location.href);
|
|
5050
|
+
let ue = oe + re;
|
|
5045
5051
|
const { pathname: he, hash: le, search: be } = new URL(k.href);
|
|
5046
5052
|
let Y = he + be;
|
|
5047
5053
|
((q = te.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(() => {
|
|
@@ -5051,11 +5057,11 @@ const Qc = async (e) => {
|
|
|
5051
5057
|
var k, te;
|
|
5052
5058
|
(k = F == null ? void 0 : F.data) != null && k.eventName && o.event.emit(F.data.eventName, (te = F.data) == null ? void 0 : te.params);
|
|
5053
5059
|
});
|
|
5054
|
-
const
|
|
5055
|
-
var
|
|
5060
|
+
const P = (F, k) => {
|
|
5061
|
+
var oe;
|
|
5056
5062
|
const { path: te } = k;
|
|
5057
5063
|
let U = te;
|
|
5058
|
-
((
|
|
5064
|
+
((oe = F.router) == null ? void 0 : oe.mode) === "hash" && (U = `/#${te}`), o.cors.send(F.name, "syncRouter", {
|
|
5059
5065
|
appInfo: F,
|
|
5060
5066
|
parentRouter: k,
|
|
5061
5067
|
replacePath: U
|
|
@@ -5069,28 +5075,28 @@ const Qc = async (e) => {
|
|
|
5069
5075
|
if (S.value) return;
|
|
5070
5076
|
await new Promise((Y) => setTimeout(Y, 0));
|
|
5071
5077
|
const F = ((le = r.data.get().initOptions.router) == null ? void 0 : le.mode) || "history", { pathname: k, hash: te, search: U } = new URL(window.location.href);
|
|
5072
|
-
let
|
|
5073
|
-
F === "hash" && (
|
|
5074
|
-
const L = i.match(
|
|
5075
|
-
let ue =
|
|
5076
|
-
if (((be =
|
|
5078
|
+
let oe = k + U;
|
|
5079
|
+
F === "hash" && (oe = te.replace("#", ""));
|
|
5080
|
+
const L = i.match(oe), re = c.value.find((Y) => L ? L === Y.name : !1);
|
|
5081
|
+
let ue = oe;
|
|
5082
|
+
if (((be = re == null ? void 0 : re.router) == null ? void 0 : be.mode) === "hash" && (ue = `/#${oe}`), !re) {
|
|
5077
5083
|
r.data.set({ activeMicroAppName: "" }), p();
|
|
5078
5084
|
return;
|
|
5079
5085
|
}
|
|
5080
|
-
r.data.set({ activeMicroAppName:
|
|
5081
|
-
const he = { href: window.location.href, mode: F, path:
|
|
5082
|
-
h(
|
|
5086
|
+
r.data.set({ activeMicroAppName: re.name });
|
|
5087
|
+
const he = { href: window.location.href, mode: F, path: oe };
|
|
5088
|
+
h(re.name, "deactivated") && (await E(re.name), P(re, he)), h(re.name, ["mounted", "activated"]) && P(re, he), h(re.name, "registered") && await E(re.name, { path: ue });
|
|
5083
5089
|
};
|
|
5084
5090
|
return s(["replaceState"], W), n;
|
|
5085
5091
|
};
|
|
5086
|
-
function
|
|
5092
|
+
function Nf(e) {
|
|
5087
5093
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
5088
5094
|
}
|
|
5089
5095
|
var Ao = {}, No, fi;
|
|
5090
5096
|
function so() {
|
|
5091
5097
|
if (fi) return No;
|
|
5092
5098
|
fi = 1;
|
|
5093
|
-
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})`,
|
|
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})`, W = `[^.${s}]`, F = `${c}*?`, te = {
|
|
5094
5100
|
DOT_LITERAL: n,
|
|
5095
5101
|
PLUS_LITERAL: r,
|
|
5096
5102
|
QMARK_LITERAL: o,
|
|
@@ -5102,7 +5108,7 @@ function so() {
|
|
|
5102
5108
|
NO_DOT: d,
|
|
5103
5109
|
NO_DOTS: h,
|
|
5104
5110
|
NO_DOT_SLASH: S,
|
|
5105
|
-
NO_DOTS_SLASH:
|
|
5111
|
+
NO_DOTS_SLASH: P,
|
|
5106
5112
|
QMARK_NO_DOT: W,
|
|
5107
5113
|
STAR: F,
|
|
5108
5114
|
START_ANCHOR: E,
|
|
@@ -5121,7 +5127,7 @@ function so() {
|
|
|
5121
5127
|
START_ANCHOR: `(?:^|[${e}])`,
|
|
5122
5128
|
END_ANCHOR: `(?:[${e}]|$)`,
|
|
5123
5129
|
SEP: "\\"
|
|
5124
|
-
},
|
|
5130
|
+
}, oe = {
|
|
5125
5131
|
alnum: "a-zA-Z0-9",
|
|
5126
5132
|
alpha: "a-zA-Z",
|
|
5127
5133
|
ascii: "\\x00-\\x7F",
|
|
@@ -5139,7 +5145,7 @@ function so() {
|
|
|
5139
5145
|
};
|
|
5140
5146
|
return No = {
|
|
5141
5147
|
MAX_LENGTH: 1024 * 64,
|
|
5142
|
-
POSIX_REGEX_SOURCE:
|
|
5148
|
+
POSIX_REGEX_SOURCE: oe,
|
|
5143
5149
|
// regular expressions
|
|
5144
5150
|
REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g,
|
|
5145
5151
|
REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/,
|
|
@@ -5294,7 +5300,7 @@ function io() {
|
|
|
5294
5300
|
}(Ao)), Ao;
|
|
5295
5301
|
}
|
|
5296
5302
|
var To, di;
|
|
5297
|
-
function
|
|
5303
|
+
function Tf() {
|
|
5298
5304
|
if (di) return To;
|
|
5299
5305
|
di = 1;
|
|
5300
5306
|
const e = /* @__PURE__ */ io(), {
|
|
@@ -5324,18 +5330,18 @@ function Nf() {
|
|
|
5324
5330
|
/* ? */
|
|
5325
5331
|
CHAR_RIGHT_CURLY_BRACE: S,
|
|
5326
5332
|
/* } */
|
|
5327
|
-
CHAR_RIGHT_PARENTHESES:
|
|
5333
|
+
CHAR_RIGHT_PARENTHESES: P,
|
|
5328
5334
|
/* ) */
|
|
5329
5335
|
CHAR_RIGHT_SQUARE_BRACKET: W
|
|
5330
5336
|
/* ] */
|
|
5331
5337
|
} = /* @__PURE__ */ so(), F = (U) => U === c || U === r, k = (U) => {
|
|
5332
5338
|
U.isPrefix !== !0 && (U.depth = U.isGlobstar ? 1 / 0 : 1);
|
|
5333
5339
|
};
|
|
5334
|
-
return To = (U,
|
|
5335
|
-
const L =
|
|
5340
|
+
return To = (U, oe) => {
|
|
5341
|
+
const L = oe || {}, re = U.length - 1, ue = L.parts === !0 || L.scanToEnd === !0, he = [], le = [], be = [];
|
|
5336
5342
|
let Y = U, w = -1, q = 0, ne = 0, ce = !1, ie = !1, B = !1, Q = !1, ve = !1, T = !1, _e = !1, Re = !1, Le = !1, A = !1, D = 0, Ve, J, ge = { value: "", depth: 0, isGlob: !1 };
|
|
5337
|
-
const Ie = () => w >=
|
|
5338
|
-
for (; w <
|
|
5343
|
+
const Ie = () => w >= re, we = () => Y.charCodeAt(w + 1), H = () => (Ve = J, Y.charCodeAt(++w));
|
|
5344
|
+
for (; w < re; ) {
|
|
5339
5345
|
J = H();
|
|
5340
5346
|
let C;
|
|
5341
5347
|
if (J === r) {
|
|
@@ -5387,7 +5393,7 @@ function Nf() {
|
|
|
5387
5393
|
_e = ge.backslashes = !0, J = H();
|
|
5388
5394
|
continue;
|
|
5389
5395
|
}
|
|
5390
|
-
if (J ===
|
|
5396
|
+
if (J === P) {
|
|
5391
5397
|
B = ge.isGlob = !0, A = !0;
|
|
5392
5398
|
break;
|
|
5393
5399
|
}
|
|
@@ -5432,7 +5438,7 @@ function Nf() {
|
|
|
5432
5438
|
_e = ge.backslashes = !0, J = H();
|
|
5433
5439
|
continue;
|
|
5434
5440
|
}
|
|
5435
|
-
if (J ===
|
|
5441
|
+
if (J === P) {
|
|
5436
5442
|
A = !0;
|
|
5437
5443
|
break;
|
|
5438
5444
|
}
|
|
@@ -5467,8 +5473,8 @@ function Nf() {
|
|
|
5467
5473
|
if (L.tokens === !0 && (y.maxDepth = 0, F(J) || le.push(ge), y.tokens = le), L.parts === !0 || L.tokens === !0) {
|
|
5468
5474
|
let C;
|
|
5469
5475
|
for (let x = 0; x < he.length; x++) {
|
|
5470
|
-
const _ = C ? C + 1 : q,
|
|
5471
|
-
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 =
|
|
5476
|
+
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, k(le[x]), y.maxDepth += le[x].depth), (x !== 0 || b !== "") && be.push(b), C = I;
|
|
5472
5478
|
}
|
|
5473
5479
|
if (C && C + 1 < U.length) {
|
|
5474
5480
|
const x = U.slice(C + 1);
|
|
@@ -5480,7 +5486,7 @@ function Nf() {
|
|
|
5480
5486
|
}, To;
|
|
5481
5487
|
}
|
|
5482
5488
|
var Ro, hi;
|
|
5483
|
-
function
|
|
5489
|
+
function Rf() {
|
|
5484
5490
|
if (hi) return Ro;
|
|
5485
5491
|
hi = 1;
|
|
5486
5492
|
const e = /* @__PURE__ */ so(), t = /* @__PURE__ */ io(), {
|
|
@@ -5497,7 +5503,7 @@ function Tf() {
|
|
|
5497
5503
|
try {
|
|
5498
5504
|
new RegExp(h);
|
|
5499
5505
|
} catch {
|
|
5500
|
-
return p.map((
|
|
5506
|
+
return p.map((P) => t.escapeRegex(P)).join("..");
|
|
5501
5507
|
}
|
|
5502
5508
|
return h;
|
|
5503
5509
|
}, l = (p, d) => `Missing ${p}: "${d}" - use "\\\\${d}" to match literal characters`, E = (p, d) => {
|
|
@@ -5505,13 +5511,13 @@ function Tf() {
|
|
|
5505
5511
|
throw new TypeError("Expected a string");
|
|
5506
5512
|
p = i[p] || p;
|
|
5507
5513
|
const h = { ...d }, S = typeof h.maxLength == "number" ? Math.min(n, h.maxLength) : n;
|
|
5508
|
-
let
|
|
5509
|
-
if (
|
|
5510
|
-
throw new SyntaxError(`Input length: ${
|
|
5514
|
+
let P = p.length;
|
|
5515
|
+
if (P > S)
|
|
5516
|
+
throw new SyntaxError(`Input length: ${P}, exceeds maximum allowed length: ${S}`);
|
|
5511
5517
|
const W = { type: "bos", value: "", output: h.prepend || "" }, F = [W], k = h.capture ? "" : "?:", te = e.globChars(h.windows), U = e.extglobChars(te), {
|
|
5512
|
-
DOT_LITERAL:
|
|
5518
|
+
DOT_LITERAL: oe,
|
|
5513
5519
|
PLUS_LITERAL: L,
|
|
5514
|
-
SLASH_LITERAL:
|
|
5520
|
+
SLASH_LITERAL: re,
|
|
5515
5521
|
ONE_CHAR: ue,
|
|
5516
5522
|
DOTS_SLASH: he,
|
|
5517
5523
|
NO_DOT: le,
|
|
@@ -5521,7 +5527,7 @@ function Tf() {
|
|
|
5521
5527
|
QMARK_NO_DOT: q,
|
|
5522
5528
|
STAR: ne,
|
|
5523
5529
|
START_ANCHOR: ce
|
|
5524
|
-
} = te, ie = (_) => `(${k}(?:(?!${ce}${_.dot ? he :
|
|
5530
|
+
} = te, ie = (_) => `(${k}(?:(?!${ce}${_.dot ? he : oe}).)*?)`, B = h.dot ? "" : le, Q = h.dot ? w : q;
|
|
5525
5531
|
let ve = h.bash === !0 ? ie(h) : ne;
|
|
5526
5532
|
h.capture && (ve = `(${ve})`), typeof h.noext == "boolean" && (h.noextglob = h.noext);
|
|
5527
5533
|
const T = {
|
|
@@ -5541,11 +5547,11 @@ function Tf() {
|
|
|
5541
5547
|
globstar: !1,
|
|
5542
5548
|
tokens: F
|
|
5543
5549
|
};
|
|
5544
|
-
p = t.removePrefix(p, T),
|
|
5550
|
+
p = t.removePrefix(p, T), P = p.length;
|
|
5545
5551
|
const _e = [], Re = [], Le = [];
|
|
5546
5552
|
let A = W, D;
|
|
5547
|
-
const Ve = () => T.index ===
|
|
5548
|
-
T.consumed += _, T.index +=
|
|
5553
|
+
const Ve = () => T.index === P - 1, J = T.peek = (_ = 1) => p[T.index + _], ge = T.advance = () => p[++T.index] || "", Ie = () => p.slice(T.index + 1), we = (_ = "", I = 0) => {
|
|
5554
|
+
T.consumed += _, T.index += I;
|
|
5549
5555
|
}, H = (_) => {
|
|
5550
5556
|
T.output += _.output != null ? _.output : _.value, we(_.value);
|
|
5551
5557
|
}, $e = () => {
|
|
@@ -5559,34 +5565,34 @@ function Tf() {
|
|
|
5559
5565
|
T[_]--, Le.pop();
|
|
5560
5566
|
}, y = (_) => {
|
|
5561
5567
|
if (A.type === "globstar") {
|
|
5562
|
-
const
|
|
5563
|
-
_.type !== "slash" && _.type !== "paren" && !
|
|
5568
|
+
const I = T.braces > 0 && (_.type === "comma" || _.type === "brace"), b = _.extglob === !0 || _e.length && (_.type === "pipe" || _.type === "paren");
|
|
5569
|
+
_.type !== "slash" && _.type !== "paren" && !I && !b && (T.output = T.output.slice(0, -A.output.length), A.type = "star", A.value = "*", A.output = ve, T.output += A.output);
|
|
5564
5570
|
}
|
|
5565
5571
|
if (_e.length && _.type !== "paren" && (_e[_e.length - 1].inner += _.value), (_.value || _.output) && H(_), A && A.type === "text" && _.type === "text") {
|
|
5566
5572
|
A.output = (A.output || A.value) + _.value, A.value += _.value;
|
|
5567
5573
|
return;
|
|
5568
5574
|
}
|
|
5569
5575
|
_.prev = A, F.push(_), A = _;
|
|
5570
|
-
}, C = (_,
|
|
5571
|
-
const b = { ...U[
|
|
5576
|
+
}, C = (_, I) => {
|
|
5577
|
+
const b = { ...U[I], conditions: 1, inner: "" };
|
|
5572
5578
|
b.prev = A, b.parens = T.parens, b.output = T.output;
|
|
5573
5579
|
const N = (h.capture ? "(" : "") + b.open;
|
|
5574
|
-
f("parens"), y({ type: _, value:
|
|
5580
|
+
f("parens"), y({ type: _, value: I, output: T.output ? "" : ue }), y({ type: "paren", extglob: !0, value: ge(), output: N }), _e.push(b);
|
|
5575
5581
|
}, x = (_) => {
|
|
5576
|
-
let
|
|
5582
|
+
let I = _.close + (h.capture ? ")" : ""), b;
|
|
5577
5583
|
if (_.type === "negate") {
|
|
5578
5584
|
let N = ve;
|
|
5579
|
-
if (_.inner && _.inner.length > 1 && _.inner.includes("/") && (N = ie(h)), (N !== ve || Ve() || /^\)+$/.test(Ie())) && (
|
|
5585
|
+
if (_.inner && _.inner.length > 1 && _.inner.includes("/") && (N = ie(h)), (N !== ve || Ve() || /^\)+$/.test(Ie())) && (I = _.close = `)$))${N}`), _.inner.includes("*") && (b = Ie()) && /^\.[^\\/.]+$/.test(b)) {
|
|
5580
5586
|
const R = E(b, { ...d, fastpaths: !1 }).output;
|
|
5581
|
-
|
|
5587
|
+
I = _.close = `)${R})${N})`;
|
|
5582
5588
|
}
|
|
5583
5589
|
_.prev.type === "bos" && (T.negatedExtglob = !0);
|
|
5584
5590
|
}
|
|
5585
|
-
y({ type: "paren", extglob: !0, value: D, output:
|
|
5591
|
+
y({ type: "paren", extglob: !0, value: D, output: I }), g("parens");
|
|
5586
5592
|
};
|
|
5587
5593
|
if (h.fastpaths !== !1 && !/(^[*!]|[/()[\]{}"])/.test(p)) {
|
|
5588
|
-
let _ = !1,
|
|
5589
|
-
return _ === !0 && (h.unescape === !0 ?
|
|
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 ? Q + (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
|
+
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);
|
|
5590
5596
|
}
|
|
5591
5597
|
for (; !Ve(); ) {
|
|
5592
5598
|
if (D = ge(), D === "\0")
|
|
@@ -5725,21 +5731,21 @@ function Tf() {
|
|
|
5725
5731
|
T.start = T.index + 1, T.consumed = "", T.output = "", F.pop(), A = W;
|
|
5726
5732
|
continue;
|
|
5727
5733
|
}
|
|
5728
|
-
y({ type: "slash", value: D, output:
|
|
5734
|
+
y({ type: "slash", value: D, output: re });
|
|
5729
5735
|
continue;
|
|
5730
5736
|
}
|
|
5731
5737
|
if (D === ".") {
|
|
5732
5738
|
if (T.braces > 0 && A.type === "dot") {
|
|
5733
|
-
A.value === "." && (A.output =
|
|
5739
|
+
A.value === "." && (A.output = oe);
|
|
5734
5740
|
const b = Re[Re.length - 1];
|
|
5735
5741
|
A.type = "dots", A.output += D, A.value += D, b.dots = !0;
|
|
5736
5742
|
continue;
|
|
5737
5743
|
}
|
|
5738
5744
|
if (T.braces + T.parens === 0 && A.type !== "bos" && A.type !== "slash") {
|
|
5739
|
-
y({ type: "text", value: D, output:
|
|
5745
|
+
y({ type: "text", value: D, output: oe });
|
|
5740
5746
|
continue;
|
|
5741
5747
|
}
|
|
5742
|
-
y({ type: "dot", value: D, output:
|
|
5748
|
+
y({ type: "dot", value: D, output: oe });
|
|
5743
5749
|
continue;
|
|
5744
5750
|
}
|
|
5745
5751
|
if (D === "?") {
|
|
@@ -5840,26 +5846,26 @@ function Tf() {
|
|
|
5840
5846
|
}
|
|
5841
5847
|
if (b.type === "slash" && b.prev.type !== "bos" && _[0] === "/") {
|
|
5842
5848
|
const se = _[1] !== void 0 ? "|$" : "";
|
|
5843
|
-
T.output = T.output.slice(0, -(b.output + A.output).length), b.output = `(?:${b.output}`, A.type = "globstar", A.output = `${ie(h)}${
|
|
5849
|
+
T.output = T.output.slice(0, -(b.output + A.output).length), b.output = `(?:${b.output}`, A.type = "globstar", A.output = `${ie(h)}${re}|${re}${se})`, A.value += D, T.output += b.output + A.output, T.globstar = !0, we(D + ge()), y({ type: "slash", value: "/", output: "" });
|
|
5844
5850
|
continue;
|
|
5845
5851
|
}
|
|
5846
5852
|
if (b.type === "bos" && _[0] === "/") {
|
|
5847
|
-
A.type = "globstar", A.value += D, A.output = `(?:^|${
|
|
5853
|
+
A.type = "globstar", A.value += D, A.output = `(?:^|${re}|${ie(h)}${re})`, T.output = A.output, T.globstar = !0, we(D + ge()), y({ type: "slash", value: "/", output: "" });
|
|
5848
5854
|
continue;
|
|
5849
5855
|
}
|
|
5850
5856
|
T.output = T.output.slice(0, -A.output.length), A.type = "globstar", A.output = ie(h), A.value += D, T.output += A.output, T.globstar = !0, we(D);
|
|
5851
5857
|
continue;
|
|
5852
5858
|
}
|
|
5853
|
-
const
|
|
5859
|
+
const I = { type: "star", value: D, output: ve };
|
|
5854
5860
|
if (h.bash === !0) {
|
|
5855
|
-
|
|
5861
|
+
I.output = ".*?", (A.type === "bos" || A.type === "slash") && (I.output = B + I.output), y(I);
|
|
5856
5862
|
continue;
|
|
5857
5863
|
}
|
|
5858
5864
|
if (A && (A.type === "bracket" || A.type === "paren") && h.regex === !0) {
|
|
5859
|
-
|
|
5865
|
+
I.output = D, y(I);
|
|
5860
5866
|
continue;
|
|
5861
5867
|
}
|
|
5862
|
-
(T.index === T.start || A.type === "slash" || A.type === "dot") && (A.type === "dot" ? (T.output += be, A.output += be) : h.dot === !0 ? (T.output += Y, A.output += Y) : (T.output += B, A.output += B), J() !== "*" && (T.output += ue, A.output += ue)), y(
|
|
5868
|
+
(T.index === T.start || A.type === "slash" || A.type === "dot") && (A.type === "dot" ? (T.output += be, A.output += be) : h.dot === !0 ? (T.output += Y, A.output += Y) : (T.output += B, A.output += B), J() !== "*" && (T.output += ue, A.output += ue)), y(I);
|
|
5863
5869
|
}
|
|
5864
5870
|
for (; T.brackets > 0; ) {
|
|
5865
5871
|
if (h.strictBrackets === !0) throw new SyntaxError(l("closing", "]"));
|
|
@@ -5873,7 +5879,7 @@ function Tf() {
|
|
|
5873
5879
|
if (h.strictBrackets === !0) throw new SyntaxError(l("closing", "}"));
|
|
5874
5880
|
T.output = t.escapeLast(T.output, "{"), g("braces");
|
|
5875
5881
|
}
|
|
5876
|
-
if (h.strictSlashes !== !0 && (A.type === "star" || A.type === "bracket") && y({ type: "maybe_slash", value: "", output: `${
|
|
5882
|
+
if (h.strictSlashes !== !0 && (A.type === "star" || A.type === "bracket") && y({ type: "maybe_slash", value: "", output: `${re}?` }), T.backtrack === !0) {
|
|
5877
5883
|
T.output = "";
|
|
5878
5884
|
for (const _ of T.tokens)
|
|
5879
5885
|
T.output += _.output != null ? _.output : _.value, _.suffix && (T.output += _.suffix);
|
|
@@ -5881,9 +5887,9 @@ function Tf() {
|
|
|
5881
5887
|
return T;
|
|
5882
5888
|
};
|
|
5883
5889
|
return E.fastpaths = (p, d) => {
|
|
5884
|
-
const h = { ...d }, S = typeof h.maxLength == "number" ? Math.min(n, h.maxLength) : n,
|
|
5885
|
-
if (
|
|
5886
|
-
throw new SyntaxError(`Input length: ${
|
|
5890
|
+
const h = { ...d }, S = typeof h.maxLength == "number" ? Math.min(n, h.maxLength) : n, P = p.length;
|
|
5891
|
+
if (P > S)
|
|
5892
|
+
throw new SyntaxError(`Input length: ${P}, exceeds maximum allowed length: ${S}`);
|
|
5887
5893
|
p = i[p] || p;
|
|
5888
5894
|
const {
|
|
5889
5895
|
DOT_LITERAL: W,
|
|
@@ -5891,12 +5897,12 @@ function Tf() {
|
|
|
5891
5897
|
ONE_CHAR: k,
|
|
5892
5898
|
DOTS_SLASH: te,
|
|
5893
5899
|
NO_DOT: U,
|
|
5894
|
-
NO_DOTS:
|
|
5900
|
+
NO_DOTS: oe,
|
|
5895
5901
|
NO_DOTS_SLASH: L,
|
|
5896
|
-
STAR:
|
|
5902
|
+
STAR: re,
|
|
5897
5903
|
START_ANCHOR: ue
|
|
5898
|
-
} = e.globChars(h.windows), he = h.dot ?
|
|
5899
|
-
let w = h.bash === !0 ? ".*?" :
|
|
5904
|
+
} = e.globChars(h.windows), he = h.dot ? oe : U, le = h.dot ? L : U, be = h.capture ? "" : "?:", Y = { negated: !1, prefix: "" };
|
|
5905
|
+
let w = h.bash === !0 ? ".*?" : re;
|
|
5900
5906
|
h.capture && (w = `(${w})`);
|
|
5901
5907
|
const q = (B) => B.noglobstar === !0 ? w : `(${be}(?:(?!${ue}${B.dot ? te : W}).)*?)`, ne = (B) => {
|
|
5902
5908
|
switch (B) {
|
|
@@ -5929,16 +5935,16 @@ function Tf() {
|
|
|
5929
5935
|
}, Ro = E, Ro;
|
|
5930
5936
|
}
|
|
5931
5937
|
var xo, gi;
|
|
5932
|
-
function
|
|
5938
|
+
function xf() {
|
|
5933
5939
|
if (gi) return xo;
|
|
5934
5940
|
gi = 1;
|
|
5935
|
-
const e = /* @__PURE__ */
|
|
5941
|
+
const e = /* @__PURE__ */ Tf(), t = /* @__PURE__ */ Rf(), n = /* @__PURE__ */ io(), r = /* @__PURE__ */ so(), o = (i) => i && typeof i == "object" && !Array.isArray(i), s = (i, c, l = !1) => {
|
|
5936
5942
|
if (Array.isArray(i)) {
|
|
5937
5943
|
const F = i.map((te) => s(te, c, l));
|
|
5938
5944
|
return (te) => {
|
|
5939
5945
|
for (const U of F) {
|
|
5940
|
-
const
|
|
5941
|
-
if (
|
|
5946
|
+
const oe = U(te);
|
|
5947
|
+
if (oe) return oe;
|
|
5942
5948
|
}
|
|
5943
5949
|
return !1;
|
|
5944
5950
|
};
|
|
@@ -5948,14 +5954,14 @@ function Rf() {
|
|
|
5948
5954
|
throw new TypeError("Expected pattern to be a non-empty string");
|
|
5949
5955
|
const p = c || {}, d = p.windows, h = E ? s.compileRe(i, c) : s.makeRe(i, c, !1, !0), S = h.state;
|
|
5950
5956
|
delete h.state;
|
|
5951
|
-
let
|
|
5957
|
+
let P = () => !1;
|
|
5952
5958
|
if (p.ignore) {
|
|
5953
5959
|
const F = { ...c, ignore: null, onMatch: null, onResult: null };
|
|
5954
|
-
|
|
5960
|
+
P = s(p.ignore, F, l);
|
|
5955
5961
|
}
|
|
5956
5962
|
const W = (F, k = !1) => {
|
|
5957
|
-
const { isMatch: te, match: U, output:
|
|
5958
|
-
return typeof p.onResult == "function" && p.onResult(L), te === !1 ? (L.isMatch = !1, k ? L : !1) :
|
|
5963
|
+
const { isMatch: te, match: U, output: oe } = s.test(F, h, c, { glob: i, posix: d }), L = { glob: i, state: S, regex: h, posix: d, input: F, output: oe, match: U, isMatch: te };
|
|
5964
|
+
return typeof p.onResult == "function" && p.onResult(L), te === !1 ? (L.isMatch = !1, k ? L : !1) : P(F) ? (typeof p.onIgnore == "function" && p.onIgnore(L), L.isMatch = !1, k ? L : !1) : (typeof p.onMatch == "function" && p.onMatch(L), k ? L : !0);
|
|
5959
5965
|
};
|
|
5960
5966
|
return l && (W.state = S), W;
|
|
5961
5967
|
};
|
|
@@ -5965,16 +5971,16 @@ function Rf() {
|
|
|
5965
5971
|
if (i === "")
|
|
5966
5972
|
return { isMatch: !1, output: "" };
|
|
5967
5973
|
const d = l || {}, h = d.format || (p ? n.toPosixSlashes : null);
|
|
5968
|
-
let S = i === E,
|
|
5969
|
-
return S === !1 && (
|
|
5974
|
+
let S = i === E, P = S && h ? h(i) : i;
|
|
5975
|
+
return S === !1 && (P = h ? h(i) : i, S = P === E), (S === !1 || d.capture === !0) && (d.matchBase === !0 || d.basename === !0 ? S = s.matchBase(i, c, l, p) : S = c.exec(P)), { isMatch: !!S, match: S, output: P };
|
|
5970
5976
|
}, s.matchBase = (i, c, l) => (c instanceof RegExp ? c : s.makeRe(c, l)).test(n.basename(i)), s.isMatch = (i, c, l) => s(c, l)(i), s.parse = (i, c) => Array.isArray(i) ? i.map((l) => s.parse(l, c)) : t(i, { ...c, fastpaths: !1 }), s.scan = (i, c) => e(i, c), s.compileRe = (i, c, l = !1, E = !1) => {
|
|
5971
5977
|
if (l === !0)
|
|
5972
5978
|
return i.output;
|
|
5973
5979
|
const p = c || {}, d = p.contains ? "" : "^", h = p.contains ? "" : "$";
|
|
5974
5980
|
let S = `${d}(?:${i.output})${h}`;
|
|
5975
5981
|
i && i.negated === !0 && (S = `^(?!${S}).*$`);
|
|
5976
|
-
const
|
|
5977
|
-
return E === !0 && (
|
|
5982
|
+
const P = s.toRegex(S, c);
|
|
5983
|
+
return E === !0 && (P.state = i), P;
|
|
5978
5984
|
}, s.makeRe = (i, c = {}, l = !1, E = !1) => {
|
|
5979
5985
|
if (!i || typeof i != "string")
|
|
5980
5986
|
throw new TypeError("Expected a non-empty string");
|
|
@@ -5991,17 +5997,17 @@ function Rf() {
|
|
|
5991
5997
|
}, s.constants = r, xo = s, xo;
|
|
5992
5998
|
}
|
|
5993
5999
|
var Do, mi;
|
|
5994
|
-
function
|
|
6000
|
+
function Df() {
|
|
5995
6001
|
if (mi) return Do;
|
|
5996
6002
|
mi = 1;
|
|
5997
|
-
const e = /* @__PURE__ */
|
|
6003
|
+
const e = /* @__PURE__ */ xf(), t = /* @__PURE__ */ io();
|
|
5998
6004
|
function n(r, o, s = !1) {
|
|
5999
6005
|
return o && (o.windows === null || o.windows === void 0) && (o = { ...o, windows: t.isWindows() }), e(r, o, s);
|
|
6000
6006
|
}
|
|
6001
6007
|
return Object.assign(n, e), Do = n, Do;
|
|
6002
6008
|
}
|
|
6003
|
-
var
|
|
6004
|
-
const vi = /* @__PURE__ */
|
|
6009
|
+
var Cf = /* @__PURE__ */ Df();
|
|
6010
|
+
const vi = /* @__PURE__ */ Nf(Cf), Ei = (e) => {
|
|
6005
6011
|
const t = window.history[e];
|
|
6006
6012
|
return function() {
|
|
6007
6013
|
const n = t.apply(this, arguments), r = new Event(e);
|
|
@@ -6009,12 +6015,12 @@ const vi = /* @__PURE__ */ Af(Df), Ei = (e) => {
|
|
|
6009
6015
|
};
|
|
6010
6016
|
};
|
|
6011
6017
|
let yi = !1;
|
|
6012
|
-
const
|
|
6018
|
+
const Pf = () => {
|
|
6013
6019
|
yi || (yi = !0, history.replaceState = Ei("replaceState"), history.pushState = Ei("pushState"));
|
|
6014
|
-
},
|
|
6015
|
-
|
|
6016
|
-
},
|
|
6017
|
-
const t =
|
|
6020
|
+
}, Ig = (e) => {
|
|
6021
|
+
Et("microApp").cors.on("syncRouter", (n) => e(n.data));
|
|
6022
|
+
}, $g = async (e) => {
|
|
6023
|
+
const t = Et("microApp"), n = t.data.get().appInfo;
|
|
6018
6024
|
n && t.cors.send("reportRouter", { data: e, href: location.href, appInfo: n });
|
|
6019
6025
|
}, wr = /* @__PURE__ */ new Map(), ea = () => {
|
|
6020
6026
|
const e = (n) => {
|
|
@@ -6041,7 +6047,7 @@ const Cf = () => {
|
|
|
6041
6047
|
}
|
|
6042
6048
|
};
|
|
6043
6049
|
}, ta = () => {
|
|
6044
|
-
|
|
6050
|
+
Pf();
|
|
6045
6051
|
const e = {};
|
|
6046
6052
|
return { addRouterEventListener: (r, o) => {
|
|
6047
6053
|
let s = [r];
|
|
@@ -6056,8 +6062,8 @@ const Cf = () => {
|
|
|
6056
6062
|
window.removeEventListener(s, i);
|
|
6057
6063
|
});
|
|
6058
6064
|
} };
|
|
6059
|
-
}, { replaceState:
|
|
6060
|
-
const e =
|
|
6065
|
+
}, { replaceState: If } = ea(), { addRouterEventListener: $f } = ta(), Mf = () => {
|
|
6066
|
+
const e = Et("microApp"), t = Ge(!1);
|
|
6061
6067
|
e.cors.on("syncRouter", (n) => {
|
|
6062
6068
|
var d, h;
|
|
6063
6069
|
if (t.value) return;
|
|
@@ -6071,8 +6077,8 @@ const Cf = () => {
|
|
|
6071
6077
|
e.event.emit("syncRouter", n);
|
|
6072
6078
|
return;
|
|
6073
6079
|
}
|
|
6074
|
-
|
|
6075
|
-
}),
|
|
6080
|
+
If(r.replacePath);
|
|
6081
|
+
}), $f(["replaceState"], async (n) => {
|
|
6076
6082
|
var s;
|
|
6077
6083
|
if (t.value) return;
|
|
6078
6084
|
const r = e.data.get().appInfo;
|
|
@@ -6082,16 +6088,16 @@ const Cf = () => {
|
|
|
6082
6088
|
historyEvent: { type: n.type, state: history.state }
|
|
6083
6089
|
});
|
|
6084
6090
|
});
|
|
6085
|
-
},
|
|
6086
|
-
const e =
|
|
6091
|
+
}, Lf = () => {
|
|
6092
|
+
const e = Et("microApp");
|
|
6087
6093
|
e.cors.on("customEventFromMain", (t) => {
|
|
6088
6094
|
var n, r;
|
|
6089
6095
|
(n = t.data) != null && n.eventName && e.event.emit(t.data.eventName, (r = t.data) == null ? void 0 : r.params);
|
|
6090
6096
|
});
|
|
6091
|
-
},
|
|
6097
|
+
}, Mg = async (e) => {
|
|
6092
6098
|
e || (e = {});
|
|
6093
6099
|
const t = await Qc({ type: "microApp", ...e });
|
|
6094
|
-
return
|
|
6100
|
+
return Mf(), Lf(), t;
|
|
6095
6101
|
};
|
|
6096
6102
|
function co(e) {
|
|
6097
6103
|
return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, n) {
|
|
@@ -6109,7 +6115,7 @@ function co(e) {
|
|
|
6109
6115
|
});
|
|
6110
6116
|
} };
|
|
6111
6117
|
}
|
|
6112
|
-
function
|
|
6118
|
+
function Vf() {
|
|
6113
6119
|
this.__data__ = [], this.size = 0;
|
|
6114
6120
|
}
|
|
6115
6121
|
function na(e, t) {
|
|
@@ -6121,92 +6127,92 @@ function ao(e, t) {
|
|
|
6121
6127
|
return n;
|
|
6122
6128
|
return -1;
|
|
6123
6129
|
}
|
|
6124
|
-
var
|
|
6125
|
-
function
|
|
6130
|
+
var jf = Array.prototype, Hf = jf.splice;
|
|
6131
|
+
function Wf(e) {
|
|
6126
6132
|
var t = this.__data__, n = ao(t, e);
|
|
6127
6133
|
if (n < 0)
|
|
6128
6134
|
return !1;
|
|
6129
6135
|
var r = t.length - 1;
|
|
6130
|
-
return n == r ? t.pop() :
|
|
6136
|
+
return n == r ? t.pop() : Hf.call(t, n, 1), --this.size, !0;
|
|
6131
6137
|
}
|
|
6132
|
-
function
|
|
6138
|
+
function Ff(e) {
|
|
6133
6139
|
var t = this.__data__, n = ao(t, e);
|
|
6134
6140
|
return n < 0 ? void 0 : t[n][1];
|
|
6135
6141
|
}
|
|
6136
|
-
function
|
|
6142
|
+
function Bf(e) {
|
|
6137
6143
|
return ao(this.__data__, e) > -1;
|
|
6138
6144
|
}
|
|
6139
|
-
function
|
|
6145
|
+
function Uf(e, t) {
|
|
6140
6146
|
var n = this.__data__, r = ao(n, e);
|
|
6141
6147
|
return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
|
|
6142
6148
|
}
|
|
6143
|
-
function
|
|
6149
|
+
function Yt(e) {
|
|
6144
6150
|
var t = -1, n = e == null ? 0 : e.length;
|
|
6145
6151
|
for (this.clear(); ++t < n; ) {
|
|
6146
6152
|
var r = e[t];
|
|
6147
6153
|
this.set(r[0], r[1]);
|
|
6148
6154
|
}
|
|
6149
6155
|
}
|
|
6150
|
-
|
|
6151
|
-
|
|
6152
|
-
|
|
6153
|
-
|
|
6154
|
-
|
|
6155
|
-
function
|
|
6156
|
-
this.__data__ = new
|
|
6156
|
+
Yt.prototype.clear = Vf;
|
|
6157
|
+
Yt.prototype.delete = Wf;
|
|
6158
|
+
Yt.prototype.get = Ff;
|
|
6159
|
+
Yt.prototype.has = Bf;
|
|
6160
|
+
Yt.prototype.set = Uf;
|
|
6161
|
+
function Gf() {
|
|
6162
|
+
this.__data__ = new Yt(), this.size = 0;
|
|
6157
6163
|
}
|
|
6158
|
-
function
|
|
6164
|
+
function Kf(e) {
|
|
6159
6165
|
var t = this.__data__, n = t.delete(e);
|
|
6160
6166
|
return this.size = t.size, n;
|
|
6161
6167
|
}
|
|
6162
|
-
function
|
|
6168
|
+
function kf(e) {
|
|
6163
6169
|
return this.__data__.get(e);
|
|
6164
6170
|
}
|
|
6165
|
-
function
|
|
6171
|
+
function Yf(e) {
|
|
6166
6172
|
return this.__data__.has(e);
|
|
6167
6173
|
}
|
|
6168
|
-
var ra = typeof global == "object" && global && global.Object === Object && global,
|
|
6169
|
-
function
|
|
6170
|
-
var t =
|
|
6174
|
+
var ra = typeof global == "object" && global && global.Object === Object && global, qf = typeof self == "object" && self && self.Object === Object && self, It = ra || qf || Function("return this")(), Dn = It.Symbol, oa = Object.prototype, zf = oa.hasOwnProperty, Jf = oa.toString, Yn = Dn ? Dn.toStringTag : void 0;
|
|
6175
|
+
function Xf(e) {
|
|
6176
|
+
var t = zf.call(e, Yn), n = e[Yn];
|
|
6171
6177
|
try {
|
|
6172
6178
|
e[Yn] = void 0;
|
|
6173
6179
|
var r = !0;
|
|
6174
6180
|
} catch {
|
|
6175
6181
|
}
|
|
6176
|
-
var o =
|
|
6182
|
+
var o = Jf.call(e);
|
|
6177
6183
|
return r && (t ? e[Yn] = n : delete e[Yn]), o;
|
|
6178
6184
|
}
|
|
6179
|
-
var
|
|
6180
|
-
function
|
|
6181
|
-
return
|
|
6185
|
+
var Zf = Object.prototype, Qf = Zf.toString;
|
|
6186
|
+
function ep(e) {
|
|
6187
|
+
return Qf.call(e);
|
|
6182
6188
|
}
|
|
6183
|
-
var
|
|
6189
|
+
var tp = "[object Null]", np = "[object Undefined]", _i = Dn ? Dn.toStringTag : void 0;
|
|
6184
6190
|
function mr(e) {
|
|
6185
|
-
return e == null ? e === void 0 ?
|
|
6191
|
+
return e == null ? e === void 0 ? np : tp : _i && _i in Object(e) ? Xf(e) : ep(e);
|
|
6186
6192
|
}
|
|
6187
6193
|
function uo(e) {
|
|
6188
6194
|
var t = typeof e;
|
|
6189
6195
|
return e != null && (t == "object" || t == "function");
|
|
6190
6196
|
}
|
|
6191
|
-
var
|
|
6197
|
+
var rp = "[object AsyncFunction]", op = "[object Function]", sp = "[object GeneratorFunction]", ip = "[object Proxy]";
|
|
6192
6198
|
function sa(e) {
|
|
6193
6199
|
if (!uo(e))
|
|
6194
6200
|
return !1;
|
|
6195
6201
|
var t = mr(e);
|
|
6196
|
-
return t ==
|
|
6202
|
+
return t == op || t == sp || t == rp || t == ip;
|
|
6197
6203
|
}
|
|
6198
|
-
var Co =
|
|
6204
|
+
var Co = It["__core-js_shared__"], bi = function() {
|
|
6199
6205
|
var e = /[^.]+$/.exec(Co && Co.keys && Co.keys.IE_PROTO || "");
|
|
6200
6206
|
return e ? "Symbol(src)_1." + e : "";
|
|
6201
6207
|
}();
|
|
6202
|
-
function
|
|
6208
|
+
function cp(e) {
|
|
6203
6209
|
return !!bi && bi in e;
|
|
6204
6210
|
}
|
|
6205
|
-
var
|
|
6211
|
+
var ap = Function.prototype, up = ap.toString;
|
|
6206
6212
|
function gn(e) {
|
|
6207
6213
|
if (e != null) {
|
|
6208
6214
|
try {
|
|
6209
|
-
return
|
|
6215
|
+
return up.call(e);
|
|
6210
6216
|
} catch {
|
|
6211
6217
|
}
|
|
6212
6218
|
try {
|
|
@@ -6216,48 +6222,48 @@ function gn(e) {
|
|
|
6216
6222
|
}
|
|
6217
6223
|
return "";
|
|
6218
6224
|
}
|
|
6219
|
-
var
|
|
6220
|
-
"^" +
|
|
6225
|
+
var lp = /[\\^$.*+?()[\]{}|]/g, fp = /^\[object .+?Constructor\]$/, pp = Function.prototype, dp = Object.prototype, hp = pp.toString, gp = dp.hasOwnProperty, mp = RegExp(
|
|
6226
|
+
"^" + hp.call(gp).replace(lp, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
6221
6227
|
);
|
|
6222
|
-
function
|
|
6223
|
-
if (!uo(e) ||
|
|
6228
|
+
function vp(e) {
|
|
6229
|
+
if (!uo(e) || cp(e))
|
|
6224
6230
|
return !1;
|
|
6225
|
-
var t = sa(e) ?
|
|
6231
|
+
var t = sa(e) ? mp : fp;
|
|
6226
6232
|
return t.test(gn(e));
|
|
6227
6233
|
}
|
|
6228
|
-
function
|
|
6234
|
+
function Ep(e, t) {
|
|
6229
6235
|
return e == null ? void 0 : e[t];
|
|
6230
6236
|
}
|
|
6231
6237
|
function mn(e, t) {
|
|
6232
|
-
var n =
|
|
6233
|
-
return
|
|
6238
|
+
var n = Ep(e, t);
|
|
6239
|
+
return vp(n) ? n : void 0;
|
|
6234
6240
|
}
|
|
6235
|
-
var ar = mn(
|
|
6236
|
-
function
|
|
6241
|
+
var ar = mn(It, "Map"), ur = mn(Object, "create");
|
|
6242
|
+
function yp() {
|
|
6237
6243
|
this.__data__ = ur ? ur(null) : {}, this.size = 0;
|
|
6238
6244
|
}
|
|
6239
|
-
function
|
|
6245
|
+
function _p(e) {
|
|
6240
6246
|
var t = this.has(e) && delete this.__data__[e];
|
|
6241
6247
|
return this.size -= t ? 1 : 0, t;
|
|
6242
6248
|
}
|
|
6243
|
-
var
|
|
6244
|
-
function
|
|
6249
|
+
var bp = "__lodash_hash_undefined__", wp = Object.prototype, Op = wp.hasOwnProperty;
|
|
6250
|
+
function Sp(e) {
|
|
6245
6251
|
var t = this.__data__;
|
|
6246
6252
|
if (ur) {
|
|
6247
6253
|
var n = t[e];
|
|
6248
|
-
return n ===
|
|
6254
|
+
return n === bp ? void 0 : n;
|
|
6249
6255
|
}
|
|
6250
|
-
return
|
|
6256
|
+
return Op.call(t, e) ? t[e] : void 0;
|
|
6251
6257
|
}
|
|
6252
|
-
var
|
|
6253
|
-
function
|
|
6258
|
+
var Ap = Object.prototype, Np = Ap.hasOwnProperty;
|
|
6259
|
+
function Tp(e) {
|
|
6254
6260
|
var t = this.__data__;
|
|
6255
|
-
return ur ? t[e] !== void 0 :
|
|
6261
|
+
return ur ? t[e] !== void 0 : Np.call(t, e);
|
|
6256
6262
|
}
|
|
6257
|
-
var
|
|
6258
|
-
function
|
|
6263
|
+
var Rp = "__lodash_hash_undefined__";
|
|
6264
|
+
function xp(e, t) {
|
|
6259
6265
|
var n = this.__data__;
|
|
6260
|
-
return this.size += this.has(e) ? 0 : 1, n[e] = ur && t === void 0 ?
|
|
6266
|
+
return this.size += this.has(e) ? 0 : 1, n[e] = ur && t === void 0 ? Rp : t, this;
|
|
6261
6267
|
}
|
|
6262
6268
|
function hn(e) {
|
|
6263
6269
|
var t = -1, n = e == null ? 0 : e.length;
|
|
@@ -6266,37 +6272,37 @@ function hn(e) {
|
|
|
6266
6272
|
this.set(r[0], r[1]);
|
|
6267
6273
|
}
|
|
6268
6274
|
}
|
|
6269
|
-
hn.prototype.clear =
|
|
6270
|
-
hn.prototype.delete =
|
|
6271
|
-
hn.prototype.get =
|
|
6272
|
-
hn.prototype.has =
|
|
6273
|
-
hn.prototype.set =
|
|
6274
|
-
function
|
|
6275
|
+
hn.prototype.clear = yp;
|
|
6276
|
+
hn.prototype.delete = _p;
|
|
6277
|
+
hn.prototype.get = Sp;
|
|
6278
|
+
hn.prototype.has = Tp;
|
|
6279
|
+
hn.prototype.set = xp;
|
|
6280
|
+
function Dp() {
|
|
6275
6281
|
this.size = 0, this.__data__ = {
|
|
6276
6282
|
hash: new hn(),
|
|
6277
|
-
map: new (ar ||
|
|
6283
|
+
map: new (ar || Yt)(),
|
|
6278
6284
|
string: new hn()
|
|
6279
6285
|
};
|
|
6280
6286
|
}
|
|
6281
|
-
function
|
|
6287
|
+
function Cp(e) {
|
|
6282
6288
|
var t = typeof e;
|
|
6283
6289
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
6284
6290
|
}
|
|
6285
6291
|
function lo(e, t) {
|
|
6286
6292
|
var n = e.__data__;
|
|
6287
|
-
return
|
|
6293
|
+
return Cp(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
|
|
6288
6294
|
}
|
|
6289
|
-
function
|
|
6295
|
+
function Pp(e) {
|
|
6290
6296
|
var t = lo(this, e).delete(e);
|
|
6291
6297
|
return this.size -= t ? 1 : 0, t;
|
|
6292
6298
|
}
|
|
6293
|
-
function
|
|
6299
|
+
function Ip(e) {
|
|
6294
6300
|
return lo(this, e).get(e);
|
|
6295
6301
|
}
|
|
6296
|
-
function
|
|
6302
|
+
function $p(e) {
|
|
6297
6303
|
return lo(this, e).has(e);
|
|
6298
6304
|
}
|
|
6299
|
-
function
|
|
6305
|
+
function Mp(e, t) {
|
|
6300
6306
|
var n = lo(this, e), r = n.size;
|
|
6301
6307
|
return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
|
|
6302
6308
|
}
|
|
@@ -6307,32 +6313,32 @@ function Ln(e) {
|
|
|
6307
6313
|
this.set(r[0], r[1]);
|
|
6308
6314
|
}
|
|
6309
6315
|
}
|
|
6310
|
-
Ln.prototype.clear =
|
|
6311
|
-
Ln.prototype.delete =
|
|
6312
|
-
Ln.prototype.get =
|
|
6313
|
-
Ln.prototype.has =
|
|
6314
|
-
Ln.prototype.set =
|
|
6315
|
-
var
|
|
6316
|
-
function
|
|
6316
|
+
Ln.prototype.clear = Dp;
|
|
6317
|
+
Ln.prototype.delete = Pp;
|
|
6318
|
+
Ln.prototype.get = Ip;
|
|
6319
|
+
Ln.prototype.has = $p;
|
|
6320
|
+
Ln.prototype.set = Mp;
|
|
6321
|
+
var Lp = 200;
|
|
6322
|
+
function Vp(e, t) {
|
|
6317
6323
|
var n = this.__data__;
|
|
6318
|
-
if (n instanceof
|
|
6324
|
+
if (n instanceof Yt) {
|
|
6319
6325
|
var r = n.__data__;
|
|
6320
|
-
if (!ar || r.length <
|
|
6326
|
+
if (!ar || r.length < Lp - 1)
|
|
6321
6327
|
return r.push([e, t]), this.size = ++n.size, this;
|
|
6322
6328
|
n = this.__data__ = new Ln(r);
|
|
6323
6329
|
}
|
|
6324
6330
|
return n.set(e, t), this.size = n.size, this;
|
|
6325
6331
|
}
|
|
6326
6332
|
function Vn(e) {
|
|
6327
|
-
var t = this.__data__ = new
|
|
6333
|
+
var t = this.__data__ = new Yt(e);
|
|
6328
6334
|
this.size = t.size;
|
|
6329
6335
|
}
|
|
6330
|
-
Vn.prototype.clear =
|
|
6331
|
-
Vn.prototype.delete =
|
|
6332
|
-
Vn.prototype.get =
|
|
6333
|
-
Vn.prototype.has =
|
|
6334
|
-
Vn.prototype.set =
|
|
6335
|
-
function
|
|
6336
|
+
Vn.prototype.clear = Gf;
|
|
6337
|
+
Vn.prototype.delete = Kf;
|
|
6338
|
+
Vn.prototype.get = kf;
|
|
6339
|
+
Vn.prototype.has = Yf;
|
|
6340
|
+
Vn.prototype.set = Vp;
|
|
6341
|
+
function jp(e, t) {
|
|
6336
6342
|
for (var n = -1, r = e == null ? 0 : e.length; ++n < r && t(e[n], n, e) !== !1; )
|
|
6337
6343
|
;
|
|
6338
6344
|
return e;
|
|
@@ -6344,7 +6350,7 @@ var wi = function() {
|
|
|
6344
6350
|
} catch {
|
|
6345
6351
|
}
|
|
6346
6352
|
}();
|
|
6347
|
-
function
|
|
6353
|
+
function Hp(e, t, n) {
|
|
6348
6354
|
t == "__proto__" && wi ? wi(e, t, {
|
|
6349
6355
|
configurable: !0,
|
|
6350
6356
|
enumerable: !0,
|
|
@@ -6352,12 +6358,12 @@ function jp(e, t, n) {
|
|
|
6352
6358
|
writable: !0
|
|
6353
6359
|
}) : e[t] = n;
|
|
6354
6360
|
}
|
|
6355
|
-
var
|
|
6356
|
-
function
|
|
6361
|
+
var Wp = Object.prototype, Fp = Wp.hasOwnProperty;
|
|
6362
|
+
function Bp(e, t, n) {
|
|
6357
6363
|
var r = e[t];
|
|
6358
|
-
(!(
|
|
6364
|
+
(!(Fp.call(e, t) && na(r, n)) || n === void 0 && !(t in e)) && Hp(e, t, n);
|
|
6359
6365
|
}
|
|
6360
|
-
function
|
|
6366
|
+
function Up(e, t) {
|
|
6361
6367
|
for (var n = -1, r = Array(e); ++n < e; )
|
|
6362
6368
|
r[n] = t(n);
|
|
6363
6369
|
return r;
|
|
@@ -6365,31 +6371,31 @@ function Bp(e, t) {
|
|
|
6365
6371
|
function vr(e) {
|
|
6366
6372
|
return e != null && typeof e == "object";
|
|
6367
6373
|
}
|
|
6368
|
-
var
|
|
6374
|
+
var Gp = "[object Arguments]";
|
|
6369
6375
|
function Oi(e) {
|
|
6370
|
-
return vr(e) && mr(e) ==
|
|
6376
|
+
return vr(e) && mr(e) == Gp;
|
|
6371
6377
|
}
|
|
6372
|
-
var ia = Object.prototype,
|
|
6378
|
+
var ia = Object.prototype, Kp = ia.hasOwnProperty, kp = ia.propertyIsEnumerable, Yp = Oi(/* @__PURE__ */ function() {
|
|
6373
6379
|
return arguments;
|
|
6374
6380
|
}()) ? Oi : function(e) {
|
|
6375
|
-
return vr(e) &&
|
|
6381
|
+
return vr(e) && Kp.call(e, "callee") && !kp.call(e, "callee");
|
|
6376
6382
|
}, bs = Array.isArray;
|
|
6377
|
-
function
|
|
6383
|
+
function qp() {
|
|
6378
6384
|
return !1;
|
|
6379
6385
|
}
|
|
6380
|
-
var ca = typeof exports == "object" && exports && !exports.nodeType && exports, Si = ca && typeof module == "object" && module && !module.nodeType && module,
|
|
6381
|
-
function
|
|
6386
|
+
var ca = typeof exports == "object" && exports && !exports.nodeType && exports, Si = ca && typeof module == "object" && module && !module.nodeType && module, zp = Si && Si.exports === ca, Ai = zp ? It.Buffer : void 0, Jp = Ai ? Ai.isBuffer : void 0, aa = Jp || qp, Xp = 9007199254740991, Zp = /^(?:0|[1-9]\d*)$/;
|
|
6387
|
+
function Qp(e, t) {
|
|
6382
6388
|
var n = typeof e;
|
|
6383
|
-
return t = t ??
|
|
6389
|
+
return t = t ?? Xp, !!t && (n == "number" || n != "symbol" && Zp.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
6384
6390
|
}
|
|
6385
|
-
var
|
|
6391
|
+
var ed = 9007199254740991;
|
|
6386
6392
|
function ua(e) {
|
|
6387
|
-
return typeof e == "number" && e > -1 && e % 1 == 0 && e <=
|
|
6393
|
+
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= ed;
|
|
6388
6394
|
}
|
|
6389
|
-
var
|
|
6390
|
-
Ce[
|
|
6391
|
-
Ce[
|
|
6392
|
-
function
|
|
6395
|
+
var td = "[object Arguments]", nd = "[object Array]", rd = "[object Boolean]", od = "[object Date]", sd = "[object Error]", id = "[object Function]", cd = "[object Map]", ad = "[object Number]", ud = "[object Object]", ld = "[object RegExp]", fd = "[object Set]", pd = "[object String]", dd = "[object WeakMap]", hd = "[object ArrayBuffer]", gd = "[object DataView]", md = "[object Float32Array]", vd = "[object Float64Array]", Ed = "[object Int8Array]", yd = "[object Int16Array]", _d = "[object Int32Array]", bd = "[object Uint8Array]", wd = "[object Uint8ClampedArray]", Od = "[object Uint16Array]", Sd = "[object Uint32Array]", Ce = {};
|
|
6396
|
+
Ce[md] = Ce[vd] = Ce[Ed] = Ce[yd] = Ce[_d] = Ce[bd] = Ce[wd] = Ce[Od] = Ce[Sd] = !0;
|
|
6397
|
+
Ce[td] = Ce[nd] = Ce[hd] = Ce[rd] = Ce[gd] = Ce[od] = Ce[sd] = Ce[id] = Ce[cd] = Ce[ad] = Ce[ud] = Ce[ld] = Ce[fd] = Ce[pd] = Ce[dd] = !1;
|
|
6398
|
+
function Ad(e) {
|
|
6393
6399
|
return vr(e) && ua(e.length) && !!Ce[mr(e)];
|
|
6394
6400
|
}
|
|
6395
6401
|
function ws(e) {
|
|
@@ -6397,26 +6403,26 @@ function ws(e) {
|
|
|
6397
6403
|
return e(t);
|
|
6398
6404
|
};
|
|
6399
6405
|
}
|
|
6400
|
-
var la = typeof exports == "object" && exports && !exports.nodeType && exports, nr = la && typeof module == "object" && module && !module.nodeType && module,
|
|
6406
|
+
var la = typeof exports == "object" && exports && !exports.nodeType && exports, nr = la && typeof module == "object" && module && !module.nodeType && module, Nd = nr && nr.exports === la, Po = Nd && ra.process, Cn = function() {
|
|
6401
6407
|
try {
|
|
6402
6408
|
var e = nr && nr.require && nr.require("util").types;
|
|
6403
6409
|
return e || Po && Po.binding && Po.binding("util");
|
|
6404
6410
|
} catch {
|
|
6405
6411
|
}
|
|
6406
|
-
}(), Ni = Cn && Cn.isTypedArray,
|
|
6407
|
-
function
|
|
6408
|
-
var n = bs(e), r = !n &&
|
|
6412
|
+
}(), Ni = Cn && Cn.isTypedArray, Td = Ni ? ws(Ni) : Ad, Rd = Object.prototype, xd = Rd.hasOwnProperty;
|
|
6413
|
+
function Dd(e, t) {
|
|
6414
|
+
var n = bs(e), r = !n && Yp(e), o = !n && !r && aa(e), s = !n && !r && !o && Td(e), i = n || r || o || s, c = i ? Up(e.length, String) : [], l = c.length;
|
|
6409
6415
|
for (var E in e)
|
|
6410
|
-
|
|
6416
|
+
xd.call(e, E) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
6411
6417
|
(E == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
6412
6418
|
o && (E == "offset" || E == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
6413
6419
|
s && (E == "buffer" || E == "byteLength" || E == "byteOffset") || // Skip index properties.
|
|
6414
|
-
|
|
6420
|
+
Qp(E, l))) && c.push(E);
|
|
6415
6421
|
return c;
|
|
6416
6422
|
}
|
|
6417
|
-
var
|
|
6423
|
+
var Cd = Object.prototype;
|
|
6418
6424
|
function fa(e) {
|
|
6419
|
-
var t = e && e.constructor, n = typeof t == "function" && t.prototype ||
|
|
6425
|
+
var t = e && e.constructor, n = typeof t == "function" && t.prototype || Cd;
|
|
6420
6426
|
return e === n;
|
|
6421
6427
|
}
|
|
6422
6428
|
function pa(e, t) {
|
|
@@ -6424,111 +6430,110 @@ function pa(e, t) {
|
|
|
6424
6430
|
return e(t(n));
|
|
6425
6431
|
};
|
|
6426
6432
|
}
|
|
6427
|
-
var
|
|
6428
|
-
function
|
|
6433
|
+
var Pd = pa(Object.keys, Object), Id = Object.prototype, $d = Id.hasOwnProperty;
|
|
6434
|
+
function Md(e) {
|
|
6429
6435
|
if (!fa(e))
|
|
6430
|
-
return
|
|
6436
|
+
return Pd(e);
|
|
6431
6437
|
var t = [];
|
|
6432
6438
|
for (var n in Object(e))
|
|
6433
|
-
|
|
6439
|
+
$d.call(e, n) && n != "constructor" && t.push(n);
|
|
6434
6440
|
return t;
|
|
6435
6441
|
}
|
|
6436
|
-
function
|
|
6442
|
+
function Ld(e) {
|
|
6437
6443
|
return e != null && ua(e.length) && !sa(e);
|
|
6438
6444
|
}
|
|
6439
|
-
function
|
|
6440
|
-
return
|
|
6445
|
+
function Vd(e) {
|
|
6446
|
+
return Ld(e) ? Dd(e) : Md(e);
|
|
6441
6447
|
}
|
|
6442
|
-
var da = typeof exports == "object" && exports && !exports.nodeType && exports, Ti = da && typeof module == "object" && module && !module.nodeType && module,
|
|
6448
|
+
var da = typeof exports == "object" && exports && !exports.nodeType && exports, Ti = da && typeof module == "object" && module && !module.nodeType && module, jd = Ti && Ti.exports === da, Ri = jd ? It.Buffer : void 0;
|
|
6443
6449
|
Ri && Ri.allocUnsafe;
|
|
6444
|
-
function
|
|
6450
|
+
function Hd(e, t) {
|
|
6445
6451
|
return e.slice();
|
|
6446
6452
|
}
|
|
6447
|
-
function
|
|
6453
|
+
function Wd(e, t) {
|
|
6448
6454
|
for (var n = -1, r = e == null ? 0 : e.length, o = 0, s = []; ++n < r; ) {
|
|
6449
6455
|
var i = e[n];
|
|
6450
6456
|
t(i, n, e) && (s[o++] = i);
|
|
6451
6457
|
}
|
|
6452
6458
|
return s;
|
|
6453
6459
|
}
|
|
6454
|
-
function
|
|
6460
|
+
function Fd() {
|
|
6455
6461
|
return [];
|
|
6456
6462
|
}
|
|
6457
|
-
var
|
|
6458
|
-
return e == null ? [] : (e = Object(e),
|
|
6459
|
-
return
|
|
6463
|
+
var Bd = Object.prototype, Ud = Bd.propertyIsEnumerable, xi = Object.getOwnPropertySymbols, Gd = xi ? function(e) {
|
|
6464
|
+
return e == null ? [] : (e = Object(e), Wd(xi(e), function(t) {
|
|
6465
|
+
return Ud.call(e, t);
|
|
6460
6466
|
}));
|
|
6461
|
-
} :
|
|
6462
|
-
function
|
|
6467
|
+
} : Fd;
|
|
6468
|
+
function Kd(e, t) {
|
|
6463
6469
|
for (var n = -1, r = t.length, o = e.length; ++n < r; )
|
|
6464
6470
|
e[o + n] = t[n];
|
|
6465
6471
|
return e;
|
|
6466
6472
|
}
|
|
6467
|
-
var
|
|
6468
|
-
function
|
|
6473
|
+
var kd = pa(Object.getPrototypeOf, Object);
|
|
6474
|
+
function Yd(e, t, n) {
|
|
6469
6475
|
var r = t(e);
|
|
6470
|
-
return bs(e) ? r :
|
|
6476
|
+
return bs(e) ? r : Kd(r, n(e));
|
|
6471
6477
|
}
|
|
6472
|
-
function
|
|
6473
|
-
return
|
|
6478
|
+
function qd(e) {
|
|
6479
|
+
return Yd(e, Vd, Gd);
|
|
6474
6480
|
}
|
|
6475
|
-
var zo = mn(
|
|
6476
|
-
(zo &&
|
|
6477
|
-
var t = mr(e), n = t ==
|
|
6481
|
+
var zo = mn(It, "DataView"), Jo = mn(It, "Promise"), Xo = mn(It, "Set"), Zo = mn(It, "WeakMap"), Di = "[object Map]", zd = "[object Object]", Ci = "[object Promise]", Pi = "[object Set]", Ii = "[object WeakMap]", $i = "[object DataView]", Jd = gn(zo), Xd = gn(ar), Zd = gn(Jo), Qd = gn(Xo), eh = gn(Zo), Ft = mr;
|
|
6482
|
+
(zo && Ft(new zo(new ArrayBuffer(1))) != $i || ar && Ft(new ar()) != Di || Jo && Ft(Jo.resolve()) != Ci || Xo && Ft(new Xo()) != Pi || Zo && Ft(new Zo()) != Ii) && (Ft = function(e) {
|
|
6483
|
+
var t = mr(e), n = t == zd ? e.constructor : void 0, r = n ? gn(n) : "";
|
|
6478
6484
|
if (r)
|
|
6479
6485
|
switch (r) {
|
|
6480
|
-
case zd:
|
|
6481
|
-
return $i;
|
|
6482
6486
|
case Jd:
|
|
6483
|
-
return
|
|
6487
|
+
return $i;
|
|
6484
6488
|
case Xd:
|
|
6485
|
-
return
|
|
6489
|
+
return Di;
|
|
6486
6490
|
case Zd:
|
|
6487
|
-
return
|
|
6491
|
+
return Ci;
|
|
6488
6492
|
case Qd:
|
|
6493
|
+
return Pi;
|
|
6494
|
+
case eh:
|
|
6489
6495
|
return Ii;
|
|
6490
6496
|
}
|
|
6491
6497
|
return t;
|
|
6492
6498
|
});
|
|
6493
|
-
var
|
|
6494
|
-
function
|
|
6499
|
+
var th = Object.prototype, nh = th.hasOwnProperty;
|
|
6500
|
+
function rh(e) {
|
|
6495
6501
|
var t = e.length, n = new e.constructor(t);
|
|
6496
|
-
return t && typeof e[0] == "string" &&
|
|
6502
|
+
return t && typeof e[0] == "string" && nh.call(e, "index") && (n.index = e.index, n.input = e.input), n;
|
|
6497
6503
|
}
|
|
6498
|
-
var Mi =
|
|
6504
|
+
var Mi = It.Uint8Array;
|
|
6499
6505
|
function Os(e) {
|
|
6500
6506
|
var t = new e.constructor(e.byteLength);
|
|
6501
6507
|
return new Mi(t).set(new Mi(e)), t;
|
|
6502
6508
|
}
|
|
6503
|
-
function
|
|
6509
|
+
function oh(e, t) {
|
|
6504
6510
|
var n = Os(e.buffer);
|
|
6505
6511
|
return new e.constructor(n, e.byteOffset, e.byteLength);
|
|
6506
6512
|
}
|
|
6507
|
-
var
|
|
6508
|
-
function
|
|
6509
|
-
var t = new e.constructor(e.source,
|
|
6513
|
+
var sh = /\w*$/;
|
|
6514
|
+
function ih(e) {
|
|
6515
|
+
var t = new e.constructor(e.source, sh.exec(e));
|
|
6510
6516
|
return t.lastIndex = e.lastIndex, t;
|
|
6511
6517
|
}
|
|
6512
6518
|
var Li = Dn ? Dn.prototype : void 0, Vi = Li ? Li.valueOf : void 0;
|
|
6513
|
-
function
|
|
6519
|
+
function ch(e) {
|
|
6514
6520
|
return Vi ? Object(Vi.call(e)) : {};
|
|
6515
6521
|
}
|
|
6516
|
-
function
|
|
6522
|
+
function ah(e, t) {
|
|
6517
6523
|
var n = Os(e.buffer);
|
|
6518
6524
|
return new e.constructor(n, e.byteOffset, e.length);
|
|
6519
6525
|
}
|
|
6520
|
-
var
|
|
6521
|
-
function
|
|
6526
|
+
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]";
|
|
6527
|
+
function Rh(e, t, n) {
|
|
6522
6528
|
var r = e.constructor;
|
|
6523
6529
|
switch (t) {
|
|
6524
|
-
case
|
|
6530
|
+
case vh:
|
|
6525
6531
|
return Os(e);
|
|
6526
|
-
case ah:
|
|
6527
6532
|
case uh:
|
|
6533
|
+
case lh:
|
|
6528
6534
|
return new r(+e);
|
|
6529
|
-
case vh:
|
|
6530
|
-
return rh(e);
|
|
6531
6535
|
case Eh:
|
|
6536
|
+
return oh(e);
|
|
6532
6537
|
case yh:
|
|
6533
6538
|
case _h:
|
|
6534
6539
|
case bh:
|
|
@@ -6537,21 +6542,22 @@ function Th(e, t, n) {
|
|
|
6537
6542
|
case Sh:
|
|
6538
6543
|
case Ah:
|
|
6539
6544
|
case Nh:
|
|
6540
|
-
|
|
6541
|
-
|
|
6542
|
-
return new r();
|
|
6545
|
+
case Th:
|
|
6546
|
+
return ah(e);
|
|
6543
6547
|
case fh:
|
|
6544
|
-
case hh:
|
|
6545
|
-
return new r(e);
|
|
6546
|
-
case ph:
|
|
6547
|
-
return sh(e);
|
|
6548
|
-
case dh:
|
|
6549
6548
|
return new r();
|
|
6549
|
+
case ph:
|
|
6550
6550
|
case gh:
|
|
6551
|
+
return new r(e);
|
|
6552
|
+
case dh:
|
|
6551
6553
|
return ih(e);
|
|
6554
|
+
case hh:
|
|
6555
|
+
return new r();
|
|
6556
|
+
case mh:
|
|
6557
|
+
return ch(e);
|
|
6552
6558
|
}
|
|
6553
6559
|
}
|
|
6554
|
-
var ji = Object.create,
|
|
6560
|
+
var ji = Object.create, xh = /* @__PURE__ */ function() {
|
|
6555
6561
|
function e() {
|
|
6556
6562
|
}
|
|
6557
6563
|
return function(t) {
|
|
@@ -6564,20 +6570,20 @@ var ji = Object.create, Rh = /* @__PURE__ */ function() {
|
|
|
6564
6570
|
return e.prototype = void 0, n;
|
|
6565
6571
|
};
|
|
6566
6572
|
}();
|
|
6567
|
-
function
|
|
6568
|
-
return typeof e.constructor == "function" && !fa(e) ?
|
|
6573
|
+
function Dh(e) {
|
|
6574
|
+
return typeof e.constructor == "function" && !fa(e) ? xh(kd(e)) : {};
|
|
6569
6575
|
}
|
|
6570
|
-
var
|
|
6571
|
-
function
|
|
6572
|
-
return vr(e) &&
|
|
6576
|
+
var Ch = "[object Map]";
|
|
6577
|
+
function Ph(e) {
|
|
6578
|
+
return vr(e) && Ft(e) == Ch;
|
|
6573
6579
|
}
|
|
6574
|
-
var Hi = Cn && Cn.isMap,
|
|
6575
|
-
function
|
|
6576
|
-
return vr(e) &&
|
|
6580
|
+
var Hi = Cn && Cn.isMap, Ih = Hi ? ws(Hi) : Ph, $h = "[object Set]";
|
|
6581
|
+
function Mh(e) {
|
|
6582
|
+
return vr(e) && Ft(e) == $h;
|
|
6577
6583
|
}
|
|
6578
|
-
var Wi = Cn && Cn.isSet,
|
|
6579
|
-
xe[ha] = xe[
|
|
6580
|
-
xe[
|
|
6584
|
+
var Wi = Cn && Cn.isSet, Lh = Wi ? ws(Wi) : Mh, ha = "[object Arguments]", Vh = "[object Array]", jh = "[object Boolean]", Hh = "[object Date]", Wh = "[object Error]", ga = "[object Function]", Fh = "[object GeneratorFunction]", Bh = "[object Map]", Uh = "[object Number]", ma = "[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 = {};
|
|
6585
|
+
xe[ha] = 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[ma] = xe[Gh] = xe[Kh] = xe[kh] = xe[Yh] = xe[ng] = xe[rg] = xe[og] = xe[sg] = !0;
|
|
6586
|
+
xe[Wh] = xe[ga] = xe[qh] = !1;
|
|
6581
6587
|
function Pr(e, t, n, r, o, s) {
|
|
6582
6588
|
var i;
|
|
6583
6589
|
if (i !== void 0)
|
|
@@ -6586,53 +6592,53 @@ function Pr(e, t, n, r, o, s) {
|
|
|
6586
6592
|
return e;
|
|
6587
6593
|
var c = bs(e);
|
|
6588
6594
|
if (c)
|
|
6589
|
-
i =
|
|
6595
|
+
i = rh(e);
|
|
6590
6596
|
else {
|
|
6591
|
-
var l =
|
|
6597
|
+
var l = Ft(e), E = l == ga || l == Fh;
|
|
6592
6598
|
if (aa(e))
|
|
6593
|
-
return
|
|
6599
|
+
return Hd(e);
|
|
6594
6600
|
if (l == ma || l == ha || E && !o)
|
|
6595
|
-
i = E ? {} :
|
|
6601
|
+
i = E ? {} : Dh(e);
|
|
6596
6602
|
else {
|
|
6597
6603
|
if (!xe[l])
|
|
6598
6604
|
return o ? e : {};
|
|
6599
|
-
i =
|
|
6605
|
+
i = Rh(e, l);
|
|
6600
6606
|
}
|
|
6601
6607
|
}
|
|
6602
6608
|
s || (s = new Vn());
|
|
6603
6609
|
var p = s.get(e);
|
|
6604
6610
|
if (p)
|
|
6605
6611
|
return p;
|
|
6606
|
-
s.set(e, i),
|
|
6612
|
+
s.set(e, i), Lh(e) ? e.forEach(function(S) {
|
|
6607
6613
|
i.add(Pr(S, t, n, S, e, s));
|
|
6608
|
-
}) :
|
|
6609
|
-
i.set(
|
|
6614
|
+
}) : Ih(e) && e.forEach(function(S, P) {
|
|
6615
|
+
i.set(P, Pr(S, t, n, P, e, s));
|
|
6610
6616
|
});
|
|
6611
|
-
var d =
|
|
6612
|
-
return
|
|
6613
|
-
h && (
|
|
6617
|
+
var d = qd, h = c ? void 0 : d(e);
|
|
6618
|
+
return jp(h || e, function(S, P) {
|
|
6619
|
+
h && (P = S, S = e[P]), Bp(i, P, Pr(S, t, n, P, e, s));
|
|
6614
6620
|
}), i;
|
|
6615
6621
|
}
|
|
6616
|
-
var
|
|
6622
|
+
var ig = 1, cg = 4;
|
|
6617
6623
|
function Fi(e) {
|
|
6618
|
-
return Pr(e,
|
|
6624
|
+
return Pr(e, ig | cg);
|
|
6619
6625
|
}
|
|
6620
6626
|
const cn = {};
|
|
6621
6627
|
let Ir = [];
|
|
6622
|
-
const
|
|
6628
|
+
const ag = (e, t, n) => {
|
|
6623
6629
|
Ir.map((r) => {
|
|
6624
6630
|
var o;
|
|
6625
6631
|
if (((o = r.watchKeys) == null ? void 0 : o.length) > 0 && Object.keys(e).some((s) => r.watchKeys.includes(s)))
|
|
6626
6632
|
return r.cb(t, n);
|
|
6627
6633
|
r.cb(t, n);
|
|
6628
6634
|
});
|
|
6629
|
-
},
|
|
6635
|
+
}, ug = (e) => [...Array(e)].map(() => Math.random().toString(36)[2]).join("").padEnd(e, "0").slice(0, e), Ss = (e, t) => (cn[e] = t, {
|
|
6630
6636
|
set: (r, o) => {
|
|
6631
6637
|
if (!r || typeof r != "object") return;
|
|
6632
6638
|
const s = Fi(cn[e]), { notMerge: i = !1 } = o || {};
|
|
6633
6639
|
i ? cn[e] = r : Object.keys(r || {}).map((c) => {
|
|
6634
6640
|
cn[e][c] = r[c];
|
|
6635
|
-
}),
|
|
6641
|
+
}), ag(r, Fi(cn[e]), s);
|
|
6636
6642
|
},
|
|
6637
6643
|
get: (r) => {
|
|
6638
6644
|
if (!(r && r.length > 0)) return cn[e];
|
|
@@ -6643,12 +6649,12 @@ const cg = (e, t, n) => {
|
|
|
6643
6649
|
}), o;
|
|
6644
6650
|
},
|
|
6645
6651
|
watch: (r, o) => {
|
|
6646
|
-
const s =
|
|
6652
|
+
const s = ug(10);
|
|
6647
6653
|
return Ir.push({ id: s, watchKeys: o || [], cb: r }), () => {
|
|
6648
6654
|
Ir = Ir.filter((i) => i.id !== s);
|
|
6649
6655
|
};
|
|
6650
6656
|
}
|
|
6651
|
-
}),
|
|
6657
|
+
}), lg = "container", fg = {
|
|
6652
6658
|
/** 整个容器是否显示,默认为true,包括内容区域 */
|
|
6653
6659
|
visible: void 0,
|
|
6654
6660
|
/** 外框是否显示,默认为true,外框包括顶部导航栏,左侧菜单栏,tab标签栏 */
|
|
@@ -6693,8 +6699,8 @@ const cg = (e, t, n) => {
|
|
|
6693
6699
|
microAppStickStatus: !1,
|
|
6694
6700
|
/** 容器创建时的初始化配置 */
|
|
6695
6701
|
initOptions: {}
|
|
6696
|
-
},
|
|
6697
|
-
data:
|
|
6702
|
+
}, pg = Ss(lg, fg), dg = {
|
|
6703
|
+
data: pg,
|
|
6698
6704
|
event: co(),
|
|
6699
6705
|
expose: {
|
|
6700
6706
|
/** 获取布局相关的数据key */
|
|
@@ -6711,13 +6717,13 @@ const cg = (e, t, n) => {
|
|
|
6711
6717
|
"mountRect"
|
|
6712
6718
|
]
|
|
6713
6719
|
}
|
|
6714
|
-
},
|
|
6715
|
-
var Io = { exports: {} }, $r = { exports: {} },
|
|
6716
|
-
function
|
|
6720
|
+
}, hg = { container: dg };
|
|
6721
|
+
var Io = { exports: {} }, $r = { exports: {} }, gg = $r.exports, Bi;
|
|
6722
|
+
function mg() {
|
|
6717
6723
|
return Bi || (Bi = 1, function(e, t) {
|
|
6718
6724
|
(function(n, r) {
|
|
6719
6725
|
e.exports = r();
|
|
6720
|
-
})(typeof self < "u" ? self :
|
|
6726
|
+
})(typeof self < "u" ? self : gg, function() {
|
|
6721
6727
|
return function(n) {
|
|
6722
6728
|
var r = {};
|
|
6723
6729
|
function o(s) {
|
|
@@ -6772,7 +6778,7 @@ function gg() {
|
|
|
6772
6778
|
}), o.d(s, "on", function() {
|
|
6773
6779
|
return Hn;
|
|
6774
6780
|
}), o.d(s, "listen", function() {
|
|
6775
|
-
return
|
|
6781
|
+
return rn;
|
|
6776
6782
|
}), o.d(s, "once", function() {
|
|
6777
6783
|
return As;
|
|
6778
6784
|
}), o.d(s, "listener", function() {
|
|
@@ -6817,7 +6823,7 @@ function gg() {
|
|
|
6817
6823
|
}
|
|
6818
6824
|
return !1;
|
|
6819
6825
|
}
|
|
6820
|
-
function
|
|
6826
|
+
function P() {
|
|
6821
6827
|
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window, u = a.location;
|
|
6822
6828
|
if (!u) throw new Error("Can not read window location");
|
|
6823
6829
|
var m = u.protocol;
|
|
@@ -6825,14 +6831,14 @@ function gg() {
|
|
|
6825
6831
|
if (m === c.FILE) return c.FILE + "//";
|
|
6826
6832
|
if (m === c.ABOUT) {
|
|
6827
6833
|
var v = d(a);
|
|
6828
|
-
return v && S(v) ?
|
|
6834
|
+
return v && S(v) ? P(v) : c.ABOUT + "//";
|
|
6829
6835
|
}
|
|
6830
6836
|
var O = u.host;
|
|
6831
6837
|
if (!O) throw new Error("Can not read window host");
|
|
6832
6838
|
return m + "//" + O;
|
|
6833
6839
|
}
|
|
6834
6840
|
function W() {
|
|
6835
|
-
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window, u =
|
|
6841
|
+
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window, u = P(a);
|
|
6836
6842
|
return u && a.mockDomain && a.mockDomain.indexOf(c.MOCK) === 0 ? a.mockDomain : u;
|
|
6837
6843
|
}
|
|
6838
6844
|
function F(a) {
|
|
@@ -6850,7 +6856,7 @@ function gg() {
|
|
|
6850
6856
|
} catch {
|
|
6851
6857
|
}
|
|
6852
6858
|
try {
|
|
6853
|
-
if (
|
|
6859
|
+
if (P(a) === P(window)) return !0;
|
|
6854
6860
|
} catch {
|
|
6855
6861
|
}
|
|
6856
6862
|
return !1;
|
|
@@ -6905,7 +6911,7 @@ function gg() {
|
|
|
6905
6911
|
}
|
|
6906
6912
|
return u;
|
|
6907
6913
|
}
|
|
6908
|
-
var U = [],
|
|
6914
|
+
var U = [], oe = [];
|
|
6909
6915
|
function L(a) {
|
|
6910
6916
|
var u = !(arguments.length > 1 && arguments[1] !== void 0) || arguments[1];
|
|
6911
6917
|
try {
|
|
@@ -6946,7 +6952,7 @@ function gg() {
|
|
|
6946
6952
|
return -1;
|
|
6947
6953
|
}(U, a);
|
|
6948
6954
|
if (m !== -1) {
|
|
6949
|
-
var v =
|
|
6955
|
+
var v = oe[m];
|
|
6950
6956
|
if (v && function(O) {
|
|
6951
6957
|
if (!O.contentWindow || !O.parentNode) return !0;
|
|
6952
6958
|
var $ = O.ownerDocument;
|
|
@@ -6955,7 +6961,7 @@ function gg() {
|
|
|
6955
6961
|
}
|
|
6956
6962
|
return !1;
|
|
6957
6963
|
}
|
|
6958
|
-
function
|
|
6964
|
+
function re() {
|
|
6959
6965
|
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window;
|
|
6960
6966
|
return h(a = a || window) || d(a) || void 0;
|
|
6961
6967
|
}
|
|
@@ -7534,13 +7540,13 @@ function gg() {
|
|
|
7534
7540
|
};
|
|
7535
7541
|
});
|
|
7536
7542
|
}
|
|
7537
|
-
var
|
|
7538
|
-
|
|
7543
|
+
var I = {};
|
|
7544
|
+
I[w.SEND_STRATEGIES.POST_MESSAGE] = function(a, u, m) {
|
|
7539
7545
|
(Array.isArray(m) ? m : typeof m == "string" ? [m] : [w.WILDCARD]).map(function(v) {
|
|
7540
7546
|
if (v.indexOf(w.MOCK_PROTOCOL) === 0) {
|
|
7541
7547
|
if (window.location.protocol === w.FILE_PROTOCOL) return w.WILDCARD;
|
|
7542
7548
|
if (!F(a)) throw new Error("Attempting to send messsage to mock domain " + v + ", but window is actually cross-domain");
|
|
7543
|
-
return
|
|
7549
|
+
return P(a);
|
|
7544
7550
|
}
|
|
7545
7551
|
return v.indexOf(w.FILE_PROTOCOL) === 0 ? w.WILDCARD : v;
|
|
7546
7552
|
}).forEach(function(v) {
|
|
@@ -7619,10 +7625,10 @@ function gg() {
|
|
|
7619
7625
|
}
|
|
7620
7626
|
return z;
|
|
7621
7627
|
}(((v = {})[w.WINDOW_PROPS.POSTROBOT] = u, v));
|
|
7622
|
-
return we.map(Object.keys(
|
|
7628
|
+
return we.map(Object.keys(I), function(V) {
|
|
7623
7629
|
return we.try(function() {
|
|
7624
7630
|
if (!ne.ALLOWED_POST_MESSAGE_METHODS[V]) throw new Error("Strategy disallowed: " + V);
|
|
7625
|
-
return
|
|
7631
|
+
return I[V](a, $, m);
|
|
7626
7632
|
}).then(function() {
|
|
7627
7633
|
return O.push(V + ": success"), !0;
|
|
7628
7634
|
}, function(K) {
|
|
@@ -7821,7 +7827,7 @@ function gg() {
|
|
|
7821
7827
|
X || (X = [], H.requestPromises.set($, X));
|
|
7822
7828
|
var fe = we.try(function() {
|
|
7823
7829
|
if (function(ee, z) {
|
|
7824
|
-
var de =
|
|
7830
|
+
var de = re(z);
|
|
7825
7831
|
if (de) return de === ee;
|
|
7826
7832
|
if (z === ee || function() {
|
|
7827
7833
|
var Pe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window;
|
|
@@ -7838,23 +7844,23 @@ function gg() {
|
|
|
7838
7844
|
if (k(Pe, window) && window.top) return window.top;
|
|
7839
7845
|
} catch {
|
|
7840
7846
|
}
|
|
7841
|
-
for (var Je = 0, Ye = function
|
|
7842
|
-
for (var Wn = [], Fn = 0, vn = te(po),
|
|
7847
|
+
for (var Je = 0, Ye = function Mt(po) {
|
|
7848
|
+
for (var Wn = [], Fn = 0, vn = te(po), qt = vn == null ? 0 : vn.length; Fn < qt; Fn++) {
|
|
7843
7849
|
var pt = vn[Fn];
|
|
7844
7850
|
Wn.push(pt);
|
|
7845
|
-
for (var En = 0,
|
|
7846
|
-
var
|
|
7847
|
-
Wn.push(
|
|
7851
|
+
for (var En = 0, _t = Mt(pt), yn = _t == null ? 0 : _t.length; En < yn; En++) {
|
|
7852
|
+
var Lt = _t[En];
|
|
7853
|
+
Wn.push(Lt);
|
|
7848
7854
|
}
|
|
7849
7855
|
}
|
|
7850
7856
|
return Wn;
|
|
7851
|
-
}(Pe),
|
|
7852
|
-
var
|
|
7857
|
+
}(Pe), yt = Ye == null ? 0 : Ye.length; Je < yt; Je++) {
|
|
7858
|
+
var $t = Ye[Je];
|
|
7853
7859
|
try {
|
|
7854
|
-
if (
|
|
7860
|
+
if ($t.top) return $t.top;
|
|
7855
7861
|
} catch {
|
|
7856
7862
|
}
|
|
7857
|
-
if (d(
|
|
7863
|
+
if (d($t) === $t) return $t;
|
|
7858
7864
|
}
|
|
7859
7865
|
}(z) === z) return !1;
|
|
7860
7866
|
for (var me = 0, Me = te(ee), ze = Me == null ? 0 : Me.length; me < ze; me++) if (Me[me] === z) return !0;
|
|
@@ -7878,14 +7884,14 @@ function gg() {
|
|
|
7878
7884
|
var z = v;
|
|
7879
7885
|
return new we(function(de, me) {
|
|
7880
7886
|
var Me = void 0;
|
|
7881
|
-
if (a.fireAndForget || function(Ye,
|
|
7882
|
-
H.responseListeners[Ye] =
|
|
7887
|
+
if (a.fireAndForget || function(Ye, yt) {
|
|
7888
|
+
H.responseListeners[Ye] = yt;
|
|
7883
7889
|
}(V, Me = {
|
|
7884
7890
|
name: u,
|
|
7885
7891
|
window: $,
|
|
7886
7892
|
domain: z,
|
|
7887
|
-
respond: function(Ye,
|
|
7888
|
-
Ye || (K = !0, X.splice(X.indexOf(fe, 1))), Ye ? me(Ye) : de(
|
|
7893
|
+
respond: function(Ye, yt) {
|
|
7894
|
+
Ye || (K = !0, X.splice(X.indexOf(fe, 1))), Ye ? me(Ye) : de(yt);
|
|
7889
7895
|
}
|
|
7890
7896
|
}), N($, {
|
|
7891
7897
|
type: w.POST_MESSAGE_TYPE.REQUEST,
|
|
@@ -7921,7 +7927,7 @@ function gg() {
|
|
|
7921
7927
|
return (v = v || {}).window = a, v.name = u, v.data = m, tt(v);
|
|
7922
7928
|
}
|
|
7923
7929
|
function jn(a, u, m) {
|
|
7924
|
-
var v =
|
|
7930
|
+
var v = re();
|
|
7925
7931
|
return v ? lt(v, a, u, m) : new we(function(O, $) {
|
|
7926
7932
|
return $(new Error("Window does not have a parent"));
|
|
7927
7933
|
});
|
|
@@ -7942,7 +7948,7 @@ function gg() {
|
|
|
7942
7948
|
} : function(a) {
|
|
7943
7949
|
return a && typeof Symbol == "function" && a.constructor === Symbol && a !== Symbol.prototype ? "symbol" : typeof a;
|
|
7944
7950
|
};
|
|
7945
|
-
function
|
|
7951
|
+
function rn(a) {
|
|
7946
7952
|
if (!a.name) throw new Error("Expected options.name");
|
|
7947
7953
|
if (!a.handler) throw new Error("Expected options.handler");
|
|
7948
7954
|
var u = a.name, m = a.window, v = a.domain, O = {
|
|
@@ -7967,14 +7973,14 @@ function gg() {
|
|
|
7967
7973
|
}
|
|
7968
7974
|
return {
|
|
7969
7975
|
cancel: function() {
|
|
7970
|
-
for (var
|
|
7976
|
+
for (var Lt = 0, ho = Me == null ? 0 : Me.length; Lt < ho; Lt++) Me[Lt].cancel();
|
|
7971
7977
|
}
|
|
7972
7978
|
};
|
|
7973
7979
|
}
|
|
7974
7980
|
if (Array.isArray(me)) {
|
|
7975
|
-
for (var
|
|
7976
|
-
var Wn =
|
|
7977
|
-
|
|
7981
|
+
for (var yt = [], $t = 0, Mt = me, po = Mt == null ? 0 : Mt.length; $t < po; $t++) {
|
|
7982
|
+
var Wn = Mt[$t];
|
|
7983
|
+
yt.push(X({
|
|
7978
7984
|
name: z,
|
|
7979
7985
|
win: de,
|
|
7980
7986
|
domain: Wn
|
|
@@ -7982,7 +7988,7 @@ function gg() {
|
|
|
7982
7988
|
}
|
|
7983
7989
|
return {
|
|
7984
7990
|
cancel: function() {
|
|
7985
|
-
for (var
|
|
7991
|
+
for (var Lt = 0, ho = yt == null ? 0 : yt.length; Lt < ho; Lt++) yt[Lt].cancel();
|
|
7986
7992
|
}
|
|
7987
7993
|
};
|
|
7988
7994
|
}
|
|
@@ -7992,17 +7998,17 @@ function gg() {
|
|
|
7992
7998
|
domain: me
|
|
7993
7999
|
});
|
|
7994
8000
|
if (de && de !== w.WILDCARD || (de = H.WINDOW_WILDCARD), me = me || w.WILDCARD, Fn) throw de && me ? new Error("Request listener already exists for " + z + " on domain " + me.toString() + " for " + (de === H.WINDOW_WILDCARD ? "wildcard" : "specified") + " window") : de ? new Error("Request listener already exists for " + z + " for " + (de === H.WINDOW_WILDCARD ? "wildcard" : "specified") + " window") : me ? new Error("Request listener already exists for " + z + " on domain " + me.toString()) : new Error("Request listener already exists for " + z);
|
|
7995
|
-
var vn = H.requestListeners,
|
|
7996
|
-
|
|
7997
|
-
var pt =
|
|
7998
|
-
pt || (pt = {},
|
|
7999
|
-
var En = me.toString(),
|
|
8000
|
-
return _e(me) ? (
|
|
8001
|
+
var vn = H.requestListeners, qt = vn[z];
|
|
8002
|
+
qt || (qt = new Y(), vn[z] = qt);
|
|
8003
|
+
var pt = qt.get(de);
|
|
8004
|
+
pt || (pt = {}, qt.set(de, pt));
|
|
8005
|
+
var En = me.toString(), _t = pt[G], yn = void 0;
|
|
8006
|
+
return _e(me) ? (_t || (_t = [], pt[G] = _t), yn = {
|
|
8001
8007
|
regex: me,
|
|
8002
8008
|
listener: ee
|
|
8003
|
-
},
|
|
8009
|
+
}, _t.push(yn)) : pt[En] = ee, {
|
|
8004
8010
|
cancel: function() {
|
|
8005
|
-
pt && (delete pt[En], de && Object.keys(pt).length === 0 &&
|
|
8011
|
+
pt && (delete pt[En], de && Object.keys(pt).length === 0 && qt.delete(de), yn && _t.splice(_t.indexOf(yn, 1)));
|
|
8006
8012
|
}
|
|
8007
8013
|
};
|
|
8008
8014
|
}({
|
|
@@ -8035,7 +8041,7 @@ function gg() {
|
|
|
8035
8041
|
};
|
|
8036
8042
|
}
|
|
8037
8043
|
function Hn(a, u, m) {
|
|
8038
|
-
return typeof u == "function" && (m = u, u = {}), (u = u || {}).name = a, u.handler = m || u.handler,
|
|
8044
|
+
return typeof u == "function" && (m = u, u = {}), (u = u || {}).name = a, u.handler = m || u.handler, rn(u);
|
|
8039
8045
|
}
|
|
8040
8046
|
function As(a) {
|
|
8041
8047
|
var u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, m = arguments[2];
|
|
@@ -8046,7 +8052,7 @@ function gg() {
|
|
|
8046
8052
|
}, u.errorHandler = function(X) {
|
|
8047
8053
|
if (K(X), v) return v(X);
|
|
8048
8054
|
};
|
|
8049
|
-
}), $ =
|
|
8055
|
+
}), $ = rn(u);
|
|
8050
8056
|
return O.cancel = $.cancel, O;
|
|
8051
8057
|
}
|
|
8052
8058
|
function Ns() {
|
|
@@ -8061,7 +8067,7 @@ function gg() {
|
|
|
8061
8067
|
function Ts() {
|
|
8062
8068
|
delete window[w.WINDOW_PROPS.POSTROBOT], window.removeEventListener("message", ot);
|
|
8063
8069
|
}
|
|
8064
|
-
var Rs =
|
|
8070
|
+
var Rs = re();
|
|
8065
8071
|
function xs(a) {
|
|
8066
8072
|
var u = H.requestPromises.get(a);
|
|
8067
8073
|
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"));
|
|
@@ -8084,7 +8090,7 @@ function gg() {
|
|
|
8084
8090
|
origin: V
|
|
8085
8091
|
});
|
|
8086
8092
|
});
|
|
8087
|
-
var m, v =
|
|
8093
|
+
var m, v = re();
|
|
8088
8094
|
v && _(v).catch(Q);
|
|
8089
8095
|
}(), f({
|
|
8090
8096
|
on: Hn,
|
|
@@ -8114,7 +8120,7 @@ function gg() {
|
|
|
8114
8120
|
}), o.d(r, "on", function() {
|
|
8115
8121
|
return Hn;
|
|
8116
8122
|
}), o.d(r, "listen", function() {
|
|
8117
|
-
return
|
|
8123
|
+
return rn;
|
|
8118
8124
|
}), o.d(r, "once", function() {
|
|
8119
8125
|
return As;
|
|
8120
8126
|
}), o.d(r, "listener", function() {
|
|
@@ -8132,43 +8138,43 @@ function gg() {
|
|
|
8132
8138
|
}($r)), $r.exports;
|
|
8133
8139
|
}
|
|
8134
8140
|
var Ui;
|
|
8135
|
-
function
|
|
8141
|
+
function vg() {
|
|
8136
8142
|
return Ui || (Ui = 1, function(e) {
|
|
8137
|
-
e.exports =
|
|
8143
|
+
e.exports = mg(), e.exports.default = e.exports;
|
|
8138
8144
|
}(Io)), Io.exports;
|
|
8139
8145
|
}
|
|
8140
|
-
var Pn =
|
|
8141
|
-
const va = [],
|
|
8146
|
+
var Pn = vg();
|
|
8147
|
+
const va = [], Eg = async (e) => {
|
|
8142
8148
|
va.push(e);
|
|
8143
|
-
},
|
|
8149
|
+
}, yg = async (e, t, n) => {
|
|
8144
8150
|
const r = va.find((o) => o.name === e);
|
|
8145
8151
|
return r ? Pn.send(r.contentWindow, t, n).then((o) => [null, o.data]).catch((o) => [o, null]) : [{ msg: "microApp not exit" }, null];
|
|
8146
|
-
},
|
|
8147
|
-
data:
|
|
8152
|
+
}, _g = "mainApp", bg = {}, wg = Ss(_g, bg), Og = {
|
|
8153
|
+
data: wg,
|
|
8148
8154
|
cors: {
|
|
8149
|
-
send:
|
|
8155
|
+
send: yg,
|
|
8150
8156
|
on: (e, t, n) => Pn.on(e, t, n),
|
|
8151
8157
|
once: (e, t, n) => Pn.once(e, t, n)
|
|
8152
8158
|
},
|
|
8153
8159
|
expose: {
|
|
8154
|
-
connectMicroApp:
|
|
8160
|
+
connectMicroApp: Eg
|
|
8155
8161
|
},
|
|
8156
8162
|
event: co()
|
|
8157
|
-
},
|
|
8163
|
+
}, 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 = {
|
|
8158
8164
|
appInfo: {}
|
|
8159
|
-
},
|
|
8160
|
-
data:
|
|
8165
|
+
}, Rg = Ss(Ag, Tg), xg = {
|
|
8166
|
+
data: Rg,
|
|
8161
8167
|
cors: {
|
|
8162
|
-
send:
|
|
8168
|
+
send: Ng,
|
|
8163
8169
|
on: (e, t, n) => Pn.on(e, t, n),
|
|
8164
8170
|
once: (e, t, n) => Pn.once(e, t, n)
|
|
8165
8171
|
},
|
|
8166
8172
|
event: co()
|
|
8167
|
-
},
|
|
8168
|
-
...
|
|
8169
|
-
...
|
|
8170
|
-
...
|
|
8171
|
-
},
|
|
8173
|
+
}, Dg = { microApp: xg }, Cg = {
|
|
8174
|
+
...hg,
|
|
8175
|
+
...Sg,
|
|
8176
|
+
...Dg
|
|
8177
|
+
}, Et = (e) => Cg[e], nt = {
|
|
8172
8178
|
registered: "registered",
|
|
8173
8179
|
loading: "loading",
|
|
8174
8180
|
mounted: "mounted",
|
|
@@ -8178,9 +8184,9 @@ const va = [], vg = async (e) => {
|
|
|
8178
8184
|
error: "error"
|
|
8179
8185
|
};
|
|
8180
8186
|
let Or = Ge(null);
|
|
8181
|
-
const
|
|
8182
|
-
const e =
|
|
8183
|
-
const s = Array.from(
|
|
8187
|
+
const wt = /* @__PURE__ */ new Map(), Qo = () => {
|
|
8188
|
+
const e = Et("container"), t = co(), n = (o) => {
|
|
8189
|
+
const s = Array.from(wt).find(([l, E]) => {
|
|
8184
8190
|
if (o) return o === l;
|
|
8185
8191
|
if (E.element)
|
|
8186
8192
|
return getComputedStyle(E.element).display === "block";
|
|
@@ -8200,18 +8206,18 @@ const bt = /* @__PURE__ */ new Map(), Qo = () => {
|
|
|
8200
8206
|
status: nt.registered,
|
|
8201
8207
|
element: null
|
|
8202
8208
|
};
|
|
8203
|
-
|
|
8209
|
+
wt.set(o, i);
|
|
8204
8210
|
},
|
|
8205
|
-
getIframeInfo: (o) =>
|
|
8206
|
-
checkIframeStatus: (o, s) => Array.isArray(s) ? s.includes(
|
|
8211
|
+
getIframeInfo: (o) => wt.get(o),
|
|
8212
|
+
checkIframeStatus: (o, s) => Array.isArray(s) ? s.includes(wt.get(o).status) : wt.get(o).status === s,
|
|
8207
8213
|
iframeEvent: t,
|
|
8208
8214
|
loadIframe: async (o, s) => {
|
|
8209
8215
|
var h, S;
|
|
8210
|
-
Or.value || await new Promise((
|
|
8211
|
-
const i =
|
|
8216
|
+
Or.value || await new Promise((P) => Rt(() => Or.value, P));
|
|
8217
|
+
const i = wt.get(o);
|
|
8212
8218
|
if (!i || i.status === nt.loading) return;
|
|
8213
|
-
if (Array.from(
|
|
8214
|
-
i.element.style.display = "block", i.status = nt.activated, t.emit(nt.activated, i), await new Promise((
|
|
8219
|
+
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") {
|
|
8220
|
+
i.element.style.display = "block", i.status = nt.activated, t.emit(nt.activated, i), await new Promise((P) => setTimeout(P, 0));
|
|
8215
8221
|
return;
|
|
8216
8222
|
}
|
|
8217
8223
|
i.status = nt.loading, t.emit(nt.activated, i);
|
|
@@ -8224,25 +8230,25 @@ const bt = /* @__PURE__ */ new Map(), Qo = () => {
|
|
|
8224
8230
|
origin: window.origin
|
|
8225
8231
|
}
|
|
8226
8232
|
}), Or.value.appendChild(c);
|
|
8227
|
-
const [p, d] = await new Promise((
|
|
8228
|
-
c.onload = (W) =>
|
|
8233
|
+
const [p, d] = await new Promise((P) => {
|
|
8234
|
+
c.onload = (W) => P([null, W]), c.onerror = () => P([new Error(`${o} IFrame load failed`), null]);
|
|
8229
8235
|
});
|
|
8230
8236
|
if (p) {
|
|
8231
8237
|
i.status = nt.error, t.emit(nt.error, i);
|
|
8232
8238
|
return;
|
|
8233
8239
|
}
|
|
8234
|
-
i.element = c, i.status = nt.mounted,
|
|
8240
|
+
i.element = c, i.status = nt.mounted, wt.set(o, { ...i, element: c }), t.emit(nt.mounted, {
|
|
8235
8241
|
...i.config,
|
|
8236
8242
|
contentWindow: d.target.contentWindow
|
|
8237
8243
|
});
|
|
8238
8244
|
},
|
|
8239
8245
|
hideIframe: n,
|
|
8240
8246
|
destroyIframe: (o) => {
|
|
8241
|
-
const s =
|
|
8242
|
-
s && (s.element.remove(), s.status = nt.destroy, t.emit(nt.destroy, s),
|
|
8247
|
+
const s = wt.get(o);
|
|
8248
|
+
s && (s.element.remove(), s.status = nt.destroy, t.emit(nt.destroy, s), wt.delete(o));
|
|
8243
8249
|
}
|
|
8244
8250
|
};
|
|
8245
|
-
},
|
|
8251
|
+
}, Lg = (e, t) => {
|
|
8246
8252
|
const { interval: n = 50, times: r = 10 } = t || {};
|
|
8247
8253
|
return new Promise((o) => {
|
|
8248
8254
|
let s = 0;
|
|
@@ -8255,13 +8261,13 @@ const bt = /* @__PURE__ */ new Map(), Qo = () => {
|
|
|
8255
8261
|
});
|
|
8256
8262
|
};
|
|
8257
8263
|
export {
|
|
8258
|
-
|
|
8264
|
+
Et as bus,
|
|
8259
8265
|
Qc as createContainer,
|
|
8260
|
-
|
|
8261
|
-
|
|
8262
|
-
|
|
8263
|
-
|
|
8264
|
-
|
|
8266
|
+
Pg as createMainApp,
|
|
8267
|
+
Mg as createMicroApp,
|
|
8268
|
+
Lg as pollVariable,
|
|
8269
|
+
$g as reportRouter,
|
|
8270
|
+
Ig as syncRouter,
|
|
8265
8271
|
Qo as useIframeManager,
|
|
8266
8272
|
ea as useRouter,
|
|
8267
8273
|
ta as useRouterEventListener
|