@das-fed/mframe 0.0.25-hot.1 → 0.0.26
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 +952 -959
- package/index.js +807 -813
- 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, gt = zr(
|
|
27
27
|
(e) => e.replace(Sa, (t, n) => n ? n.toUpperCase() : "")
|
|
28
|
-
), Aa = /\B([A-Z])/g,
|
|
28
|
+
), Aa = /\B([A-Z])/g, en = 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
|
+
), Qt = (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 Ht(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) : Ht(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 xt(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" && xt("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 = mt;
|
|
202
|
+
Ae = this, mt = !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 && xt(
|
|
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, mt = 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 = mt;
|
|
296
|
+
Ae = e, mt = !0;
|
|
297
297
|
try {
|
|
298
298
|
qi(e);
|
|
299
299
|
const o = e.fn(e._value);
|
|
300
|
-
(t.version === 0 ||
|
|
300
|
+
(t.version === 0 || Qt(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, mt = 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 mt = !0;
|
|
321
321
|
const Xi = [];
|
|
322
|
-
function
|
|
323
|
-
Xi.push(
|
|
322
|
+
function Ut() {
|
|
323
|
+
Xi.push(mt), mt = !1;
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function Gt() {
|
|
326
326
|
const e = Xi.pop();
|
|
327
|
-
|
|
327
|
+
mt = 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 || !mt || 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 (mt && 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 At(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 Mt(this, "every", e, t, void 0, arguments);
|
|
486
486
|
},
|
|
487
487
|
filter(e, t) {
|
|
488
|
-
return
|
|
488
|
+
return Mt(this, "filter", e, t, (n) => n.map(Ze), arguments);
|
|
489
489
|
},
|
|
490
490
|
find(e, t) {
|
|
491
|
-
return
|
|
491
|
+
return Mt(this, "find", e, t, Ze, arguments);
|
|
492
492
|
},
|
|
493
493
|
findIndex(e, t) {
|
|
494
|
-
return
|
|
494
|
+
return Mt(this, "findIndex", e, t, void 0, arguments);
|
|
495
495
|
},
|
|
496
496
|
findLast(e, t) {
|
|
497
|
-
return
|
|
497
|
+
return Mt(this, "findLast", e, t, Ze, arguments);
|
|
498
498
|
},
|
|
499
499
|
findLastIndex(e, t) {
|
|
500
|
-
return
|
|
500
|
+
return Mt(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 Mt(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 Mt(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 Mt(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 Mt(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
|
+
Ut(), ss();
|
|
600
600
|
const r = Ee(e)[t].apply(e, n);
|
|
601
|
-
return is(),
|
|
601
|
+
return is(), Gt(), 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 = Bt(s);
|
|
655
|
+
if (!rt(r) && !Bt(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 ? Qt(r, s) && At(t, "set", n, r, s) : At(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 && At(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" && xt(
|
|
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" && xt(
|
|
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
|
+
xt(
|
|
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 || (Qt(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 || (Qt(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) && !Bt(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), At(s, "add", o, o)), this;
|
|
772
772
|
},
|
|
773
773
|
set(o, s) {
|
|
774
|
-
!t && !rt(s) && !
|
|
774
|
+
!t && !rt(s) && !Bt(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 ? Qt(s, p) && At(i, "set", o, s, p) : At(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 && At(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 && At(
|
|
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
|
+
xt(
|
|
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 Bt(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 Tt(e) {
|
|
880
880
|
return Zr(
|
|
881
881
|
e,
|
|
882
882
|
!0,
|
|
@@ -887,7 +887,7 @@ function xt(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" && xt(
|
|
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 Bt(e) ? Nn(e.__v_raw) : !!(e && e.__v_isReactive);
|
|
911
911
|
}
|
|
912
|
-
function
|
|
912
|
+
function Bt(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) || Bt(t);
|
|
951
|
+
t = r ? t : Ee(t), Qt(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 zt(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 : zt(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" && xt("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 && xt(
|
|
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 || xt)(
|
|
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 ? Ft(L, 1) : Ft(L);
|
|
1022
|
+
let d, h, S, I, 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
|
+
Ut();
|
|
1034
1034
|
try {
|
|
1035
1035
|
S();
|
|
1036
1036
|
} finally {
|
|
1037
|
-
|
|
1037
|
+
Gt();
|
|
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, [I]) : e(I);
|
|
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, oe = o === !0 ? 1 / 0 : o;
|
|
1049
|
+
h = () => Ft(L(), oe);
|
|
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 = (...oe) => {
|
|
1057
|
+
L(...oe), te();
|
|
1058
1058
|
};
|
|
1059
1059
|
}
|
|
1060
1060
|
let U = F ? new Array(e.length).fill(_r) : _r;
|
|
1061
|
-
const
|
|
1061
|
+
const re = (L) => {
|
|
1062
1062
|
if (!(!(d.flags & 1) || !d.dirty && !L))
|
|
1063
1063
|
if (t) {
|
|
1064
|
-
const
|
|
1065
|
-
if (o || W || (F ?
|
|
1064
|
+
const oe = d.run();
|
|
1065
|
+
if (o || W || (F ? oe.some((ue, he) => Qt(ue, U[he])) : Qt(oe, U))) {
|
|
1066
1066
|
S && S();
|
|
1067
1067
|
const ue = un;
|
|
1068
1068
|
un = d;
|
|
1069
1069
|
try {
|
|
1070
1070
|
const he = [
|
|
1071
|
-
|
|
1071
|
+
oe,
|
|
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
|
+
I
|
|
1075
1075
|
];
|
|
1076
1076
|
l ? l(t, 3, he) : (
|
|
1077
1077
|
// @ts-expect-error
|
|
1078
1078
|
t(...he)
|
|
1079
|
-
), U =
|
|
1079
|
+
), U = oe;
|
|
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(re), d = new Ki(h), d.scheduler = i ? () => i(re, !1) : re, I = (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 oe of L) oe();
|
|
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 ? re(!0) : U = d.run() : i ? i(re.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 Ft(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
|
+
Ft(e.value, t, n);
|
|
1103
1103
|
else if (ae(e))
|
|
1104
1104
|
for (let r = 0; r < e.length; r++)
|
|
1105
|
-
|
|
1105
|
+
Ft(e[r], t, n);
|
|
1106
1106
|
else if (_a(e) || An(e))
|
|
1107
1107
|
e.forEach((r) => {
|
|
1108
|
-
|
|
1108
|
+
Ft(r, t, n);
|
|
1109
1109
|
});
|
|
1110
1110
|
else if (wa(e)) {
|
|
1111
1111
|
for (const r in e)
|
|
1112
|
-
|
|
1112
|
+
Ft(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) && Ft(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, Ut();
|
|
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
|
+
Gt(), 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 Dt(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 Pt(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(Dt(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
|
+
Ut(), Mn(s, null, 10, [
|
|
1273
1273
|
e,
|
|
1274
1274
|
l,
|
|
1275
1275
|
E
|
|
1276
|
-
]),
|
|
1276
|
+
]), Gt();
|
|
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 Ot = -1;
|
|
1292
1292
|
const Tn = [];
|
|
1293
|
-
let
|
|
1293
|
+
let Jt = 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 = Ot + 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) : Jt && e.id === -1 ? Jt.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 = Ot + 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, Jt) {
|
|
1338
|
+
Jt.push(...t);
|
|
1339
1339
|
return;
|
|
1340
1340
|
}
|
|
1341
|
-
for (
|
|
1342
|
-
const n =
|
|
1341
|
+
for (Jt = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), On = 0; On < Jt.length; On++) {
|
|
1342
|
+
const n = Jt[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
|
+
Jt = 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 (Ot = 0; Ot < Qe.length; Ot++) {
|
|
1354
|
+
const n = Qe[Ot];
|
|
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 (; Ot < Qe.length; Ot++) {
|
|
1367
|
+
const n = Qe[Ot];
|
|
1368
1368
|
n && (n.flags &= -2);
|
|
1369
1369
|
}
|
|
1370
|
-
|
|
1370
|
+
Ot = -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 Rt = !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 = [], Rt = !0, r.update(), Rt = !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
|
+
Rt = !0, s.parent.update(), Rt = !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 ht, qn = [], Ho = !1;
|
|
1446
1446
|
function dr(e, ...t) {
|
|
1447
|
-
|
|
1447
|
+
ht ? ht.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
|
+
ht = e, ht ? (ht.enabled = !0, qn.forEach(({ event: o, args: s }) => ht.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
|
+
ht || (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: St,
|
|
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
|
+
ht && typeof ht.cleanupBuffer == "function" && // remove the component if it wasn't buffered
|
|
1482
|
+
!ht.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 && Ft(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 rn(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 && (Ut(), Dt(l, n, 8, [
|
|
1569
1569
|
e.el,
|
|
1570
1570
|
c,
|
|
1571
1571
|
e,
|
|
1572
1572
|
t
|
|
1573
|
-
]),
|
|
1573
|
+
]), Gt());
|
|
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
|
+
(I, W) => Br(
|
|
1597
|
+
I,
|
|
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 : (I) => process.env.NODE_ENV !== "production" && (Oe(h, I) && !je(h[I]) && j(
|
|
1618
|
+
`Template ref "${I}" used on a non-ref value. It will not work in the production build.`
|
|
1619
|
+
), Pu.has(h[I])) ? !1 : Oe(h, I);
|
|
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 I = We(l), W = je(l);
|
|
1624
|
+
if (I || 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 = I ? S(l) ? d[l] : p[l] : l.value;
|
|
1628
|
+
o ? ae(k) && es(k, s) : ae(k) ? k.includes(s) || k.push(s) : I ? (p[l] = [s], S(l) && (d[l] = p[l])) : (l.value = [s], e.k && (p[e.k] = l.value));
|
|
1629
|
+
} else I ? (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
|
+
Ut();
|
|
1676
|
+
const c = gr(n), l = Dt(t, n, e, i);
|
|
1677
|
+
return c(), Gt(), 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" ? Tt(e.props) : e.props,
|
|
1707
|
+
$attrs: (e) => process.env.NODE_ENV !== "production" ? Tt(e.attrs) : e.attrs,
|
|
1708
|
+
$slots: (e) => process.env.NODE_ENV !== "production" ? Tt(e.slots) : e.slots,
|
|
1709
|
+
$refs: (e) => process.env.NODE_ENV !== "production" ? Tt(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: I,
|
|
1889
1889
|
activated: W,
|
|
1890
1890
|
deactivated: F,
|
|
1891
1891
|
beforeDestroy: k,
|
|
1892
1892
|
beforeUnmount: te,
|
|
1893
1893
|
destroyed: U,
|
|
1894
|
-
unmounted:
|
|
1894
|
+
unmounted: re,
|
|
1895
1895
|
render: L,
|
|
1896
|
-
renderTracked:
|
|
1896
|
+
renderTracked: oe,
|
|
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 = wt({
|
|
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, I), ie(Iu, W), ie($u, F), ie(Uu, he), ie(Bu, oe), ie(Fu, ue), ie(Hu, te), ie(Oc, re), 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
|
+
Dt(
|
|
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) ? Nt(o, s) : process.env.NODE_ENV !== "production" && j(`Invalid watch handler specified by key "${e}"`, s);
|
|
2017
2017
|
} else if (pe(e))
|
|
2018
|
-
|
|
2018
|
+
Nt(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) ? Nt(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
|
+
tn(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 ? (Dt(
|
|
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 I = gt(h);
|
|
2295
|
+
o[I] = Uo(
|
|
2296
2296
|
l,
|
|
2297
2297
|
c,
|
|
2298
|
-
|
|
2298
|
+
I,
|
|
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 = en(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 && At(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 = gt(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 === en(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 = gt(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 = gt(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), I = S.type;
|
|
2418
2418
|
let W = !1, F = !0;
|
|
2419
|
-
if (ae(
|
|
2420
|
-
for (let k = 0; k <
|
|
2421
|
-
const te =
|
|
2419
|
+
if (ae(I))
|
|
2420
|
+
for (let k = 0; k < I.length; ++k) {
|
|
2421
|
+
const te = I[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(I) && I.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) => gt(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" ? Tt(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: I } = ll(t, p[h]);
|
|
2473
|
+
d.push(I || ""), 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(dt) : [dt(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(ht)
|
|
|
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" && Rt ? (Go(o, t, n), At(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, Zt;
|
|
2565
2565
|
function bn(e, t) {
|
|
2566
|
-
e.appContext.config.performance && Gr() &&
|
|
2566
|
+
e.appContext.config.performance && Gr() && Zt.mark(`vue-${t}-${e.uid}`), process.env.NODE_ENV !== "production" && Au(e, t, Gr() ? Zt.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
|
+
Zt.mark(r), Zt.measure(
|
|
2572
2572
|
`<${ro(e, e.type)}> ${t}`,
|
|
2573
2573
|
n,
|
|
2574
2574
|
r
|
|
2575
|
-
),
|
|
2575
|
+
), Zt.clearMarks(n), Zt.clearMarks(r);
|
|
2576
2576
|
}
|
|
2577
|
-
process.env.NODE_ENV !== "production" && Nu(e, t, Gr() ?
|
|
2577
|
+
process.env.NODE_ENV !== "production" && Nu(e, t, Gr() ? Zt.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, Zt = 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: I
|
|
2609
|
+
} = e, W = (f, g, y, C = null, x = null, _ = null, P = void 0, b = null, N = process.env.NODE_ENV !== "production" && Rt ? !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, P) : process.env.NODE_ENV !== "production" && U(f, g, y, P);
|
|
2623
2623
|
break;
|
|
2624
|
-
case
|
|
2624
|
+
case St:
|
|
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
|
+
P,
|
|
2633
2633
|
b,
|
|
2634
2634
|
N
|
|
2635
2635
|
);
|
|
2636
2636
|
break;
|
|
2637
2637
|
default:
|
|
2638
|
-
M & 1 ?
|
|
2638
|
+
M & 1 ? oe(
|
|
2639
2639
|
f,
|
|
2640
2640
|
g,
|
|
2641
2641
|
y,
|
|
2642
2642
|
C,
|
|
2643
2643
|
x,
|
|
2644
2644
|
_,
|
|
2645
|
-
|
|
2645
|
+
P,
|
|
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
|
+
P,
|
|
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
|
+
P,
|
|
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] = I(
|
|
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] = I(
|
|
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
|
+
}, re = ({ 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
|
+
}, oe = (f, g, y, C, x, _, P, b, N) => {
|
|
2720
|
+
g.type === "svg" ? P = "svg" : g.type === "math" && (P = "mathml"), f == null ? ue(
|
|
2721
2721
|
g,
|
|
2722
2722
|
y,
|
|
2723
2723
|
C,
|
|
2724
2724
|
x,
|
|
2725
2725
|
_,
|
|
2726
|
-
|
|
2726
|
+
P,
|
|
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
|
+
P,
|
|
2735
2735
|
b,
|
|
2736
2736
|
N
|
|
2737
2737
|
);
|
|
2738
|
-
}, ue = (f, g, y, C, x, _,
|
|
2738
|
+
}, ue = (f, g, y, C, x, _, P, 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
|
+
P,
|
|
2754
2754
|
b
|
|
2755
|
-
), se &&
|
|
2755
|
+
), se && rn(f, null, C, "created"), he(N, f, f.scopeId, P, 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) && _t(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 && rn(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 && _t(R, C, f), ye && Z.enter(N), se && rn(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 P = x.vnode;
|
|
2773
2773
|
he(
|
|
2774
2774
|
f,
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2775
|
+
P,
|
|
2776
|
+
P.scopeId,
|
|
2777
|
+
P.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, _, P, 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 ? Xt(f[R]) : dt(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
|
+
P,
|
|
2794
2794
|
b
|
|
2795
2795
|
);
|
|
2796
2796
|
}
|
|
2797
|
-
}, be = (f, g, y, C, x, _,
|
|
2797
|
+
}, be = (f, g, y, C, x, _, P) => {
|
|
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 && on(y, !1), (se = Z.onVnodeBeforeUpdate) && _t(se, y, g, f), G && rn(g, f, y, "beforeUpdate"), y && on(y, !0), process.env.NODE_ENV !== "production" && Rt && (N = 0, P = !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)) : P || 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 !P && R == null && w(b, M, Z, y, x);
|
|
2834
2834
|
((se = Z.onVnodeUpdated) || G) && st(() => {
|
|
2835
|
-
se &&
|
|
2835
|
+
se && _t(se, y, g, f), G && rn(g, f, y, "updated");
|
|
2836
2836
|
}, C);
|
|
2837
|
-
}, Y = (f, g, y, C, x, _,
|
|
2837
|
+
}, Y = (f, g, y, C, x, _, P) => {
|
|
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 === St || // - 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
|
+
P,
|
|
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 P = y[_], b = g[_];
|
|
2880
|
+
P !== b && _ !== "value" && s(f, _, b, P, 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, _, P, 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
|
+
(Rt || 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
|
+
P,
|
|
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
|
+
P,
|
|
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
|
+
P,
|
|
2930
2930
|
b,
|
|
2931
2931
|
N
|
|
2932
2932
|
);
|
|
2933
|
-
}, ne = (f, g, y, C, x, _,
|
|
2933
|
+
}, ne = (f, g, y, C, x, _, P, 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
|
+
P,
|
|
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
|
+
P,
|
|
2947
2947
|
N
|
|
2948
2948
|
) : ie(f, g, N);
|
|
2949
|
-
}, ce = (f, g, y, C, x, _,
|
|
2949
|
+
}, ce = (f, g, y, C, x, _, P) => {
|
|
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, P), process.env.NODE_ENV !== "production" && wn(b, "init"), b.asyncDep) {
|
|
2956
|
+
if (process.env.NODE_ENV !== "production" && Rt && (f.el = null), x && x.registerDep(b, B, P), !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
|
+
P
|
|
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, _, P) => {
|
|
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, P)), 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), on(f, !1), M ? (M.el = Te.el, Q(f, M, P)) : M = Te, Z && Bn(Z), (qe = M.props && M.props.onVnodeBeforeUpdate) && _t(qe, ye, M, Te), on(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
|
+
() => _t(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
|
+
on(f, !1), ye && Bn(ye), !ot && (M = se && se.onVnodeBeforeMount) && _t(M, Se, g), on(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
|
+
() => _t(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), on(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), Ut(), Ms(f), Gt();
|
|
3049
|
+
}, ve = (f, g, y, C, x, _, P, 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
|
+
P,
|
|
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
|
+
P,
|
|
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
|
+
P,
|
|
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
|
+
P,
|
|
3097
3097
|
b,
|
|
3098
3098
|
N
|
|
3099
3099
|
));
|
|
3100
|
-
}, T = (f, g, y, C, x, _,
|
|
3100
|
+
}, T = (f, g, y, C, x, _, P, 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 ? Xt(g[Z]) : dt(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
|
+
P,
|
|
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
|
+
P,
|
|
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, _, P, 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 ? Xt(g[R]) : dt(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
|
+
P,
|
|
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 ? Xt(g[Z]) : dt(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
|
+
P,
|
|
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 ? Xt(g[R]) : dt(g[R]),
|
|
3183
3183
|
y,
|
|
3184
3184
|
ye,
|
|
3185
3185
|
x,
|
|
3186
3186
|
_,
|
|
3187
|
-
|
|
3187
|
+
P,
|
|
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 ? Xt(g[R]) : dt(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
|
+
P,
|
|
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], nn = 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
|
+
nn,
|
|
3245
3245
|
x,
|
|
3246
3246
|
_,
|
|
3247
|
-
|
|
3247
|
+
P,
|
|
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, nn, 2) : Se--);
|
|
3251
3251
|
}
|
|
3252
3252
|
}
|
|
3253
3253
|
}, Re = (f, g, y, C, x = null) => {
|
|
3254
|
-
const { el: _, type:
|
|
3254
|
+
const { el: _, type: P, 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
|
+
P.move(f, g, y, H);
|
|
3265
3265
|
return;
|
|
3266
3266
|
}
|
|
3267
|
-
if (
|
|
3267
|
+
if (P === St) {
|
|
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 (P === xr) {
|
|
3275
|
+
re(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: P,
|
|
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 = P && P.onVnodeBeforeUnmount) && _t(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 && rn(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
|
+
(_ !== St || M > 0 && M & 64) ? J(
|
|
3329
3329
|
R,
|
|
3330
3330
|
g,
|
|
3331
3331
|
y,
|
|
3332
3332
|
!1,
|
|
3333
3333
|
!0
|
|
3334
|
-
) : (_ ===
|
|
3334
|
+
) : (_ === St && M & 384 || !x && G & 16) && J(N, g, y), C && A(f);
|
|
3335
3335
|
}
|
|
3336
|
-
(Te && (Se =
|
|
3337
|
-
Se &&
|
|
3336
|
+
(Te && (Se = P && P.onVnodeUnmounted) || ye) && st(() => {
|
|
3337
|
+
Se && _t(Se, g, f), ye && rn(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 === St) {
|
|
3342
|
+
process.env.NODE_ENV !== "production" && f.patchFlag > 0 && f.patchFlag & 2048 && x && !x.persisted ? f.children.forEach((P) => {
|
|
3343
|
+
P.type === ut ? o(P.el) : A(P);
|
|
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: P, delayLeave: b } = x, N = () => P(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: P, um: b, m: N, a: R } = f;
|
|
3367
|
+
Gs(N), Gs(R), C && Bn(C), x.stop(), _ && (_.flags |= 8, Le(P, 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 P = _; P < f.length; P++)
|
|
3372
|
+
Le(f[P], 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 on({ 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] = Xt(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 Nt(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, I, W) => Dt(S, p, I, 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, I) => {
|
|
3500
|
+
I ? 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[`${gt(t)}Modifiers`] || e[`${en(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(gt(t)) in d)) && j(
|
|
3535
|
+
`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${an(gt(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 "${en(
|
|
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(gt(t))];
|
|
3559
|
+
!l && s && (l = r[c = an(en(t))]), l && Dt(
|
|
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, Dt(
|
|
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, en(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: I,
|
|
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, oe = 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 = dt(
|
|
3633
3633
|
E.call(
|
|
3634
|
-
|
|
3634
|
+
oe,
|
|
3635
3635
|
L,
|
|
3636
3636
|
p,
|
|
3637
|
-
process.env.NODE_ENV !== "production" ?
|
|
3637
|
+
process.env.NODE_ENV !== "production" ? Tt(d) : d,
|
|
3638
3638
|
S,
|
|
3639
3639
|
h,
|
|
3640
|
-
|
|
3640
|
+
I
|
|
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 = dt(
|
|
3646
3646
|
L.length > 1 ? L(
|
|
3647
|
-
process.env.NODE_ENV !== "production" ?
|
|
3647
|
+
process.env.NODE_ENV !== "production" ? Tt(d) : d,
|
|
3648
3648
|
process.env.NODE_ENV !== "production" ? {
|
|
3649
3649
|
get attrs() {
|
|
3650
|
-
return Kr(),
|
|
3650
|
+
return Kr(), Tt(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" ? Tt(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, re;
|
|
3665
|
+
if (process.env.NODE_ENV !== "production" && k.patchFlag > 0 && k.patchFlag & 2048 && ([U, re] = Fc(k)), te && W !== !1) {
|
|
3666
|
+
const L = Object.keys(te), { shapeFlag: oe } = U;
|
|
3667
3667
|
if (L.length) {
|
|
3668
|
-
if (
|
|
3668
|
+
if (oe & 7)
|
|
3669
3669
|
s && L.some(Mr) && (te = Tl(
|
|
3670
3670
|
te,
|
|
3671
3671
|
s
|
|
3672
|
-
)), U =
|
|
3672
|
+
)), U = tn(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 = tn(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" && re ? re(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 [dt(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) && Rt || 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 St = 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 Lt(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 qt(e, t, n, r, o, s) {
|
|
3792
3792
|
return Uc(
|
|
3793
|
-
|
|
3793
|
+
Vt(
|
|
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 Vt(e, t = null, n = null, r = 0, o = null, s = e === St ? 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 dt(e, t = null, n = null, r = 0, o = null, s = e === Nt ? 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 = tn(
|
|
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 = Ht(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
|
+
)), Vt(
|
|
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 tn(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 nn(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 !== St ? 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 nn(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 && tn(e.ssContent),
|
|
3948
|
+
ssFallback: e.ssFallback && tn(e.ssFallback),
|
|
3949
3949
|
el: e.el,
|
|
3950
3950
|
anchor: e.anchor,
|
|
3951
3951
|
ctx: e.ctx,
|
|
@@ -3957,25 +3957,25 @@ function nn(e, t, n = !1, r = !1) {
|
|
|
3957
3957
|
), p;
|
|
3958
3958
|
}
|
|
3959
3959
|
function kc(e) {
|
|
3960
|
-
const t =
|
|
3960
|
+
const t = tn(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 sn(e = "", t = !1) {
|
|
3967
|
+
return t ? (Lt(), Pl(ut, null, e)) : at(ut, null, e);
|
|
3968
3968
|
}
|
|
3969
|
-
function
|
|
3969
|
+
function dt(e) {
|
|
3970
3970
|
return e == null || typeof e == "boolean" ? at(ut) : ae(e) ? at(
|
|
3971
|
-
|
|
3971
|
+
St,
|
|
3972
3972
|
null,
|
|
3973
3973
|
// #3666, avoid reference pollution when reusing vnode
|
|
3974
3974
|
e.slice()
|
|
3975
|
-
) : xn(e) ?
|
|
3975
|
+
) : xn(e) ? Xt(e) : at(hr, null, String(e));
|
|
3976
3976
|
}
|
|
3977
|
-
function
|
|
3978
|
-
return e.el === null && e.patchFlag !== -1 || e.memo ? e :
|
|
3977
|
+
function Xt(e) {
|
|
3978
|
+
return e.el === null && e.patchFlag !== -1 || e.memo ? e : tn(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 = Ht([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 _t(e, t, n, r = null) {
|
|
4017
|
+
Dt(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
|
+
Ut();
|
|
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" ? Tt(e.props) : e.props,
|
|
4173
4173
|
s
|
|
4174
4174
|
]
|
|
4175
4175
|
), l = ts(c);
|
|
4176
|
-
if (
|
|
4176
|
+
if (Gt(), 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
|
+
Ut();
|
|
4208
4208
|
try {
|
|
4209
4209
|
zu(e);
|
|
4210
4210
|
} finally {
|
|
4211
|
-
|
|
4211
|
+
Gt(), 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 wt = (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
|
+
`>${Bt(d) ? " (readonly)" : ""}`
|
|
4343
|
+
] : Bt(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 I = l(d, "inject");
|
|
4370
|
+
return I && h.push(i("injected", I)), 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 I = {};
|
|
4416
4416
|
for (const W in d.ctx)
|
|
4417
|
-
E(S, W, h) && (
|
|
4418
|
-
return
|
|
4417
|
+
E(S, W, h) && (I[W] = d.ctx[W]);
|
|
4418
|
+
return I;
|
|
4419
4419
|
}
|
|
4420
4420
|
function E(d, h, S) {
|
|
4421
|
-
const
|
|
4422
|
-
if (ae(
|
|
4421
|
+
const I = d[S];
|
|
4422
|
+
if (ae(I) && I.includes(h) || De(I) && h in I || 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", jt = typeof document < "u" ? document : null, ei = jt && /* @__PURE__ */ jt.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" ? jt.createElementNS(Xl, e) : t === "mathml" ? jt.createElementNS(Zl, e) : n ? jt.createElement(e, { is: n }) : jt.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) => jt.createTextNode(e),
|
|
4461
|
+
createComment: (e) => jt.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) => jt.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
|
+
en(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 = gt(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) : en(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
|
+
Dt(
|
|
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, gt(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 =
|
|
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({
|
|
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 = wt(() => p.value.microApps || []), s = vt("container"), i = vt("mainApp"), c = vt("microApp"), l = wt(() => ["mainApp"].includes(n.type)), E = wt(() => ["microApp"].includes(n.type)), p = Ge(s.data.get());
|
|
4730
4730
|
s.data.watch((Y) => p.value = Y);
|
|
4731
|
-
const d =
|
|
4731
|
+
const d = wt(() => ({
|
|
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
|
+
}, I = wt(() => p.value.activeMicroAppName || ""), W = wt(() => {
|
|
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 = wt(() => ({
|
|
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 }, re = 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 (!I.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 = wt(() => ({ ...E.value ? n.clearBackgroundStyles || {} : {} })), oe = Ge(!1), ue = Ge(!1), he = Ge({});
|
|
4808
|
+
Nt(
|
|
4809
|
+
() => I.value,
|
|
4810
4810
|
(Y) => {
|
|
4811
|
-
ue.value = !0, Y && !he.value[Y] && (
|
|
4811
|
+
ue.value = !0, Y && !he.value[Y] && (oe.value = !0), setTimeout(() => {
|
|
4812
4812
|
ue.value = !1;
|
|
4813
4813
|
}, 300);
|
|
4814
4814
|
}
|
|
4815
4815
|
);
|
|
4816
|
-
const le =
|
|
4816
|
+
const le = wt(() => {
|
|
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 && I.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 && I.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) => Nt(() => 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) => Nt(() => 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", oe.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
|
+
Nt(() => 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) => Nt(() => ie.value, B));
|
|
4893
4893
|
})
|
|
4894
4894
|
]), s.event.emit("onLayoutMounted"), r("layoutMounted", {
|
|
4895
4895
|
mountDom: S.mount.value
|
|
@@ -4900,74 +4900,68 @@ 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) => (Lt(), qt("div", {
|
|
4904
|
+
style: Ht(F.value)
|
|
4905
4905
|
}, [
|
|
4906
|
-
br(
|
|
4906
|
+
br(Vt("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) => zt(re)("mouseenter", q, "nav")),
|
|
4909
|
+
onMousemove: w[1] || (w[1] = (q) => zt(re)("mousemove", q, "nav"))
|
|
4910
4910
|
}, [
|
|
4911
|
-
l.value ? (
|
|
4911
|
+
l.value ? (Lt(), qt("div", {
|
|
4912
4912
|
key: 0,
|
|
4913
4913
|
ref: S.nav
|
|
4914
|
-
}, null, 512)) :
|
|
4915
|
-
E.value ? (
|
|
4914
|
+
}, null, 512)) : sn("", !0),
|
|
4915
|
+
E.value ? (Lt(), qt("div", {
|
|
4916
4916
|
key: 1,
|
|
4917
|
-
style:
|
|
4918
|
-
}, null, 4)) :
|
|
4917
|
+
style: Ht([{ "pointer-events": "none" }, { height: W.value.navHeight }])
|
|
4918
|
+
}, null, 4)) : sn("", !0)
|
|
4919
4919
|
], 544), [
|
|
4920
4920
|
[Jn, d.value.nav]
|
|
4921
4921
|
]),
|
|
4922
|
-
|
|
4923
|
-
br(
|
|
4922
|
+
Vt("section", wf, [
|
|
4923
|
+
br(Vt("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) => zt(re)("mouseenter", q, "menu")),
|
|
4927
|
+
onMousemove: w[3] || (w[3] = (q) => zt(re)("mousemove", q, "menu"))
|
|
4928
4928
|
}, [
|
|
4929
|
-
l.value ? (
|
|
4929
|
+
l.value ? (Lt(), qt("div", {
|
|
4930
4930
|
key: 0,
|
|
4931
4931
|
ref: S.menu,
|
|
4932
4932
|
style: { height: "100%" }
|
|
4933
|
-
}, null, 512)) :
|
|
4934
|
-
E.value ? (
|
|
4933
|
+
}, null, 512)) : sn("", !0),
|
|
4934
|
+
E.value ? (Lt(), qt("div", {
|
|
4935
4935
|
key: 1,
|
|
4936
|
-
style:
|
|
4937
|
-
}, null, 4)) :
|
|
4936
|
+
style: Ht([{ "pointer-events": "none" }, { width: W.value.menuWidth }])
|
|
4937
|
+
}, null, 4)) : sn("", !0)
|
|
4938
4938
|
], 544), [
|
|
4939
4939
|
[Jn, d.value.menu]
|
|
4940
4940
|
]),
|
|
4941
|
-
|
|
4942
|
-
br(
|
|
4941
|
+
Vt("main", Of, [
|
|
4942
|
+
br(Vt("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) => zt(re)("mouseenter", q, "tab")),
|
|
4945
|
+
onMousemove: w[5] || (w[5] = (q) => zt(re)("mousemove", q, "tab"))
|
|
4946
4946
|
}, [
|
|
4947
|
-
l.value ? (
|
|
4947
|
+
l.value ? (Lt(), qt("div", {
|
|
4948
4948
|
key: 0,
|
|
4949
4949
|
ref: S.tab
|
|
4950
|
-
}, null, 512)) :
|
|
4951
|
-
E.value ? (
|
|
4950
|
+
}, null, 512)) : sn("", !0),
|
|
4951
|
+
E.value ? (Lt(), qt("div", {
|
|
4952
4952
|
key: 1,
|
|
4953
|
-
style:
|
|
4954
|
-
}, null, 4)) :
|
|
4953
|
+
style: Ht([{ "pointer-events": "none" }, { height: W.value.tabHeight }])
|
|
4954
|
+
}, null, 4)) : sn("", !0)
|
|
4955
4955
|
], 544), [
|
|
4956
4956
|
[Jn, d.value.tab]
|
|
4957
4957
|
]),
|
|
4958
|
-
br(
|
|
4958
|
+
br(Vt("section", {
|
|
4959
4959
|
class: "tttttttttttttttttt",
|
|
4960
4960
|
ref: h.mount,
|
|
4961
|
-
style:
|
|
4962
|
-
onMouseenter: w[6] || (w[6] = (q) =>
|
|
4961
|
+
style: Ht([{ flex: "1", "min-height": "0" }, L.value]),
|
|
4962
|
+
onMouseenter: w[6] || (w[6] = (q) => zt(re)("mouseenter", q, "mount"))
|
|
4963
4963
|
}, [
|
|
4964
|
-
|
|
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", {
|
|
4964
|
+
Vt("div", {
|
|
4971
4965
|
ref: S.mount,
|
|
4972
4966
|
style: { height: "100%" }
|
|
4973
4967
|
}, null, 512)
|
|
@@ -4976,13 +4970,13 @@ const wf = { style: { flex: "1", display: "flex", "min-height": "0" } }, Of = {
|
|
|
4976
4970
|
])
|
|
4977
4971
|
])
|
|
4978
4972
|
]),
|
|
4979
|
-
l.value ? (
|
|
4973
|
+
l.value ? (Lt(), qt("div", {
|
|
4980
4974
|
key: 0,
|
|
4981
4975
|
ref_key: "microAppContainerRef",
|
|
4982
4976
|
ref: be,
|
|
4983
4977
|
name: "mframe-micro-app-container",
|
|
4984
|
-
style:
|
|
4985
|
-
}, null, 4)) :
|
|
4978
|
+
style: Ht(le.value)
|
|
4979
|
+
}, null, 4)) : sn("", !0)
|
|
4986
4980
|
], 4));
|
|
4987
4981
|
}
|
|
4988
4982
|
});
|
|
@@ -5009,28 +5003,28 @@ const Qc = async (e) => {
|
|
|
5009
5003
|
const { appendTo: t = "#app", type: n, autoClearBackground: r } = e || {}, o = n === "microApp";
|
|
5010
5004
|
let s;
|
|
5011
5005
|
if (typeof t == "string" && (s = document.getElementById(t.replace("#", ""))), t instanceof HTMLElement && (s = t), !s) throw new Error("appendTo must be #id string or HTMLElement");
|
|
5012
|
-
|
|
5006
|
+
vt("container").data.set({ initOptions: e });
|
|
5013
5007
|
let c = {};
|
|
5014
5008
|
o && r !== !1 && (Object.assign(c, So(document.documentElement)), Object.assign(c, So(document.body)), Object.assign(c, So(s)));
|
|
5015
5009
|
const l = Ge(!0);
|
|
5016
5010
|
let E = {};
|
|
5017
|
-
const p = zl(
|
|
5011
|
+
const p = zl(Sf, {
|
|
5018
5012
|
type: n,
|
|
5019
5013
|
clearBackgroundStyles: c,
|
|
5020
5014
|
onLayoutMounted: (d) => {
|
|
5021
5015
|
E = d, l.value = !1;
|
|
5022
5016
|
}
|
|
5023
5017
|
});
|
|
5024
|
-
return _f(p, s), l.value && await new Promise((d) =>
|
|
5025
|
-
},
|
|
5018
|
+
return _f(p, s), l.value && await new Promise((d) => Nt(() => l.value, d)), E;
|
|
5019
|
+
}, Cg = async (e) => {
|
|
5026
5020
|
e || (e = {});
|
|
5027
|
-
const { microApps: t = [] } = e, n = await Qc({ type: "mainApp", ...e }), r =
|
|
5021
|
+
const { microApps: t = [] } = e, n = await Qc({ type: "mainApp", ...e }), r = vt("container"), o = vt("mainApp"), { addRouterEventListener: s } = ta(), i = ea(), c = Ge(t);
|
|
5028
5022
|
r.data.watch((F) => c.value = F.microApps, ["microApps"]), r.data.set({ microApps: t });
|
|
5029
5023
|
const { registerIframe: l, loadIframe: E, hideIframe: p, iframeEvent: d, checkIframeStatus: h } = Qo();
|
|
5030
5024
|
d.on("mounted", (F) => {
|
|
5031
5025
|
var U;
|
|
5032
5026
|
o.expose.connectMicroApp(F);
|
|
5033
|
-
const k = r.data.get().microApps.find((
|
|
5027
|
+
const k = r.data.get().microApps.find((re) => re.name === F.name);
|
|
5034
5028
|
if (!k) return;
|
|
5035
5029
|
if (!(((U = k.router) == null ? void 0 : U.sync) ?? !0)) {
|
|
5036
5030
|
W();
|
|
@@ -5046,8 +5040,8 @@ const Qc = async (e) => {
|
|
|
5046
5040
|
if (!k.appInfo) return;
|
|
5047
5041
|
const te = r.data.get().microApps.find((ce) => ce.name === k.appInfo.name);
|
|
5048
5042
|
if (!te || !(((w = te.router) == null ? void 0 : w.sync) ?? !0) || !h(te.name, ["mounted", "activated"])) return;
|
|
5049
|
-
const { pathname:
|
|
5050
|
-
let ue =
|
|
5043
|
+
const { pathname: re, hash: L, search: oe } = new URL(window.location.href);
|
|
5044
|
+
let ue = re + oe;
|
|
5051
5045
|
const { pathname: he, hash: le, search: be } = new URL(k.href);
|
|
5052
5046
|
let Y = he + be;
|
|
5053
5047
|
((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(() => {
|
|
@@ -5057,11 +5051,11 @@ const Qc = async (e) => {
|
|
|
5057
5051
|
var k, te;
|
|
5058
5052
|
(k = F == null ? void 0 : F.data) != null && k.eventName && o.event.emit(F.data.eventName, (te = F.data) == null ? void 0 : te.params);
|
|
5059
5053
|
});
|
|
5060
|
-
const
|
|
5061
|
-
var
|
|
5054
|
+
const I = (F, k) => {
|
|
5055
|
+
var re;
|
|
5062
5056
|
const { path: te } = k;
|
|
5063
5057
|
let U = te;
|
|
5064
|
-
((
|
|
5058
|
+
((re = F.router) == null ? void 0 : re.mode) === "hash" && (U = `/#${te}`), o.cors.send(F.name, "syncRouter", {
|
|
5065
5059
|
appInfo: F,
|
|
5066
5060
|
parentRouter: k,
|
|
5067
5061
|
replacePath: U
|
|
@@ -5075,28 +5069,28 @@ const Qc = async (e) => {
|
|
|
5075
5069
|
if (S.value) return;
|
|
5076
5070
|
await new Promise((Y) => setTimeout(Y, 0));
|
|
5077
5071
|
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);
|
|
5078
|
-
let
|
|
5079
|
-
F === "hash" && (
|
|
5080
|
-
const L = i.match(
|
|
5081
|
-
let ue =
|
|
5082
|
-
if (((be =
|
|
5072
|
+
let re = k + U;
|
|
5073
|
+
F === "hash" && (re = te.replace("#", ""));
|
|
5074
|
+
const L = i.match(re), oe = c.value.find((Y) => L ? L === Y.name : !1);
|
|
5075
|
+
let ue = re;
|
|
5076
|
+
if (((be = oe == null ? void 0 : oe.router) == null ? void 0 : be.mode) === "hash" && (ue = `/#${re}`), !oe) {
|
|
5083
5077
|
r.data.set({ activeMicroAppName: "" }), p();
|
|
5084
5078
|
return;
|
|
5085
5079
|
}
|
|
5086
|
-
r.data.set({ activeMicroAppName:
|
|
5087
|
-
const he = { href: window.location.href, mode: F, path:
|
|
5088
|
-
h(
|
|
5080
|
+
r.data.set({ activeMicroAppName: oe.name });
|
|
5081
|
+
const he = { href: window.location.href, mode: F, path: re };
|
|
5082
|
+
h(oe.name, "deactivated") && (await E(oe.name), I(oe, he)), h(oe.name, ["mounted", "activated"]) && I(oe, he), h(oe.name, "registered") && await E(oe.name, { path: ue });
|
|
5089
5083
|
};
|
|
5090
5084
|
return s(["replaceState"], W), n;
|
|
5091
5085
|
};
|
|
5092
|
-
function
|
|
5086
|
+
function Af(e) {
|
|
5093
5087
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
5094
5088
|
}
|
|
5095
5089
|
var Ao = {}, No, fi;
|
|
5096
5090
|
function so() {
|
|
5097
5091
|
if (fi) return No;
|
|
5098
5092
|
fi = 1;
|
|
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})`,
|
|
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})`, I = `(?!${p})`, W = `[^.${s}]`, F = `${c}*?`, te = {
|
|
5100
5094
|
DOT_LITERAL: n,
|
|
5101
5095
|
PLUS_LITERAL: r,
|
|
5102
5096
|
QMARK_LITERAL: o,
|
|
@@ -5108,7 +5102,7 @@ function so() {
|
|
|
5108
5102
|
NO_DOT: d,
|
|
5109
5103
|
NO_DOTS: h,
|
|
5110
5104
|
NO_DOT_SLASH: S,
|
|
5111
|
-
NO_DOTS_SLASH:
|
|
5105
|
+
NO_DOTS_SLASH: I,
|
|
5112
5106
|
QMARK_NO_DOT: W,
|
|
5113
5107
|
STAR: F,
|
|
5114
5108
|
START_ANCHOR: E,
|
|
@@ -5127,7 +5121,7 @@ function so() {
|
|
|
5127
5121
|
START_ANCHOR: `(?:^|[${e}])`,
|
|
5128
5122
|
END_ANCHOR: `(?:[${e}]|$)`,
|
|
5129
5123
|
SEP: "\\"
|
|
5130
|
-
},
|
|
5124
|
+
}, re = {
|
|
5131
5125
|
alnum: "a-zA-Z0-9",
|
|
5132
5126
|
alpha: "a-zA-Z",
|
|
5133
5127
|
ascii: "\\x00-\\x7F",
|
|
@@ -5145,7 +5139,7 @@ function so() {
|
|
|
5145
5139
|
};
|
|
5146
5140
|
return No = {
|
|
5147
5141
|
MAX_LENGTH: 1024 * 64,
|
|
5148
|
-
POSIX_REGEX_SOURCE:
|
|
5142
|
+
POSIX_REGEX_SOURCE: re,
|
|
5149
5143
|
// regular expressions
|
|
5150
5144
|
REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g,
|
|
5151
5145
|
REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/,
|
|
@@ -5300,7 +5294,7 @@ function io() {
|
|
|
5300
5294
|
}(Ao)), Ao;
|
|
5301
5295
|
}
|
|
5302
5296
|
var To, di;
|
|
5303
|
-
function
|
|
5297
|
+
function Nf() {
|
|
5304
5298
|
if (di) return To;
|
|
5305
5299
|
di = 1;
|
|
5306
5300
|
const e = /* @__PURE__ */ io(), {
|
|
@@ -5330,18 +5324,18 @@ function Tf() {
|
|
|
5330
5324
|
/* ? */
|
|
5331
5325
|
CHAR_RIGHT_CURLY_BRACE: S,
|
|
5332
5326
|
/* } */
|
|
5333
|
-
CHAR_RIGHT_PARENTHESES:
|
|
5327
|
+
CHAR_RIGHT_PARENTHESES: I,
|
|
5334
5328
|
/* ) */
|
|
5335
5329
|
CHAR_RIGHT_SQUARE_BRACKET: W
|
|
5336
5330
|
/* ] */
|
|
5337
5331
|
} = /* @__PURE__ */ so(), F = (U) => U === c || U === r, k = (U) => {
|
|
5338
5332
|
U.isPrefix !== !0 && (U.depth = U.isGlobstar ? 1 / 0 : 1);
|
|
5339
5333
|
};
|
|
5340
|
-
return To = (U,
|
|
5341
|
-
const L =
|
|
5334
|
+
return To = (U, re) => {
|
|
5335
|
+
const L = re || {}, oe = U.length - 1, ue = L.parts === !0 || L.scanToEnd === !0, he = [], le = [], be = [];
|
|
5342
5336
|
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 };
|
|
5343
|
-
const Ie = () => w >=
|
|
5344
|
-
for (; w <
|
|
5337
|
+
const Ie = () => w >= oe, we = () => Y.charCodeAt(w + 1), H = () => (Ve = J, Y.charCodeAt(++w));
|
|
5338
|
+
for (; w < oe; ) {
|
|
5345
5339
|
J = H();
|
|
5346
5340
|
let C;
|
|
5347
5341
|
if (J === r) {
|
|
@@ -5393,7 +5387,7 @@ function Tf() {
|
|
|
5393
5387
|
_e = ge.backslashes = !0, J = H();
|
|
5394
5388
|
continue;
|
|
5395
5389
|
}
|
|
5396
|
-
if (J ===
|
|
5390
|
+
if (J === I) {
|
|
5397
5391
|
B = ge.isGlob = !0, A = !0;
|
|
5398
5392
|
break;
|
|
5399
5393
|
}
|
|
@@ -5438,7 +5432,7 @@ function Tf() {
|
|
|
5438
5432
|
_e = ge.backslashes = !0, J = H();
|
|
5439
5433
|
continue;
|
|
5440
5434
|
}
|
|
5441
|
-
if (J ===
|
|
5435
|
+
if (J === I) {
|
|
5442
5436
|
A = !0;
|
|
5443
5437
|
break;
|
|
5444
5438
|
}
|
|
@@ -5473,8 +5467,8 @@ function Tf() {
|
|
|
5473
5467
|
if (L.tokens === !0 && (y.maxDepth = 0, F(J) || le.push(ge), y.tokens = le), L.parts === !0 || L.tokens === !0) {
|
|
5474
5468
|
let C;
|
|
5475
5469
|
for (let x = 0; x < he.length; x++) {
|
|
5476
|
-
const _ = C ? C + 1 : q,
|
|
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 =
|
|
5470
|
+
const _ = C ? C + 1 : q, P = he[x], b = U.slice(_, P);
|
|
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 = P;
|
|
5478
5472
|
}
|
|
5479
5473
|
if (C && C + 1 < U.length) {
|
|
5480
5474
|
const x = U.slice(C + 1);
|
|
@@ -5486,7 +5480,7 @@ function Tf() {
|
|
|
5486
5480
|
}, To;
|
|
5487
5481
|
}
|
|
5488
5482
|
var Ro, hi;
|
|
5489
|
-
function
|
|
5483
|
+
function Tf() {
|
|
5490
5484
|
if (hi) return Ro;
|
|
5491
5485
|
hi = 1;
|
|
5492
5486
|
const e = /* @__PURE__ */ so(), t = /* @__PURE__ */ io(), {
|
|
@@ -5503,7 +5497,7 @@ function Rf() {
|
|
|
5503
5497
|
try {
|
|
5504
5498
|
new RegExp(h);
|
|
5505
5499
|
} catch {
|
|
5506
|
-
return p.map((
|
|
5500
|
+
return p.map((I) => t.escapeRegex(I)).join("..");
|
|
5507
5501
|
}
|
|
5508
5502
|
return h;
|
|
5509
5503
|
}, l = (p, d) => `Missing ${p}: "${d}" - use "\\\\${d}" to match literal characters`, E = (p, d) => {
|
|
@@ -5511,13 +5505,13 @@ function Rf() {
|
|
|
5511
5505
|
throw new TypeError("Expected a string");
|
|
5512
5506
|
p = i[p] || p;
|
|
5513
5507
|
const h = { ...d }, S = typeof h.maxLength == "number" ? Math.min(n, h.maxLength) : n;
|
|
5514
|
-
let
|
|
5515
|
-
if (
|
|
5516
|
-
throw new SyntaxError(`Input length: ${
|
|
5508
|
+
let I = p.length;
|
|
5509
|
+
if (I > S)
|
|
5510
|
+
throw new SyntaxError(`Input length: ${I}, exceeds maximum allowed length: ${S}`);
|
|
5517
5511
|
const W = { type: "bos", value: "", output: h.prepend || "" }, F = [W], k = h.capture ? "" : "?:", te = e.globChars(h.windows), U = e.extglobChars(te), {
|
|
5518
|
-
DOT_LITERAL:
|
|
5512
|
+
DOT_LITERAL: re,
|
|
5519
5513
|
PLUS_LITERAL: L,
|
|
5520
|
-
SLASH_LITERAL:
|
|
5514
|
+
SLASH_LITERAL: oe,
|
|
5521
5515
|
ONE_CHAR: ue,
|
|
5522
5516
|
DOTS_SLASH: he,
|
|
5523
5517
|
NO_DOT: le,
|
|
@@ -5527,7 +5521,7 @@ function Rf() {
|
|
|
5527
5521
|
QMARK_NO_DOT: q,
|
|
5528
5522
|
STAR: ne,
|
|
5529
5523
|
START_ANCHOR: ce
|
|
5530
|
-
} = te, ie = (_) => `(${k}(?:(?!${ce}${_.dot ? he :
|
|
5524
|
+
} = te, ie = (_) => `(${k}(?:(?!${ce}${_.dot ? he : re}).)*?)`, B = h.dot ? "" : le, Q = h.dot ? w : q;
|
|
5531
5525
|
let ve = h.bash === !0 ? ie(h) : ne;
|
|
5532
5526
|
h.capture && (ve = `(${ve})`), typeof h.noext == "boolean" && (h.noextglob = h.noext);
|
|
5533
5527
|
const T = {
|
|
@@ -5547,11 +5541,11 @@ function Rf() {
|
|
|
5547
5541
|
globstar: !1,
|
|
5548
5542
|
tokens: F
|
|
5549
5543
|
};
|
|
5550
|
-
p = t.removePrefix(p, T),
|
|
5544
|
+
p = t.removePrefix(p, T), I = p.length;
|
|
5551
5545
|
const _e = [], Re = [], Le = [];
|
|
5552
5546
|
let A = W, D;
|
|
5553
|
-
const Ve = () => T.index ===
|
|
5554
|
-
T.consumed += _, T.index +=
|
|
5547
|
+
const Ve = () => T.index === I - 1, J = T.peek = (_ = 1) => p[T.index + _], ge = T.advance = () => p[++T.index] || "", Ie = () => p.slice(T.index + 1), we = (_ = "", P = 0) => {
|
|
5548
|
+
T.consumed += _, T.index += P;
|
|
5555
5549
|
}, H = (_) => {
|
|
5556
5550
|
T.output += _.output != null ? _.output : _.value, we(_.value);
|
|
5557
5551
|
}, $e = () => {
|
|
@@ -5565,34 +5559,34 @@ function Rf() {
|
|
|
5565
5559
|
T[_]--, Le.pop();
|
|
5566
5560
|
}, y = (_) => {
|
|
5567
5561
|
if (A.type === "globstar") {
|
|
5568
|
-
const
|
|
5569
|
-
_.type !== "slash" && _.type !== "paren" && !
|
|
5562
|
+
const P = T.braces > 0 && (_.type === "comma" || _.type === "brace"), b = _.extglob === !0 || _e.length && (_.type === "pipe" || _.type === "paren");
|
|
5563
|
+
_.type !== "slash" && _.type !== "paren" && !P && !b && (T.output = T.output.slice(0, -A.output.length), A.type = "star", A.value = "*", A.output = ve, T.output += A.output);
|
|
5570
5564
|
}
|
|
5571
5565
|
if (_e.length && _.type !== "paren" && (_e[_e.length - 1].inner += _.value), (_.value || _.output) && H(_), A && A.type === "text" && _.type === "text") {
|
|
5572
5566
|
A.output = (A.output || A.value) + _.value, A.value += _.value;
|
|
5573
5567
|
return;
|
|
5574
5568
|
}
|
|
5575
5569
|
_.prev = A, F.push(_), A = _;
|
|
5576
|
-
}, C = (_,
|
|
5577
|
-
const b = { ...U[
|
|
5570
|
+
}, C = (_, P) => {
|
|
5571
|
+
const b = { ...U[P], conditions: 1, inner: "" };
|
|
5578
5572
|
b.prev = A, b.parens = T.parens, b.output = T.output;
|
|
5579
5573
|
const N = (h.capture ? "(" : "") + b.open;
|
|
5580
|
-
f("parens"), y({ type: _, value:
|
|
5574
|
+
f("parens"), y({ type: _, value: P, output: T.output ? "" : ue }), y({ type: "paren", extglob: !0, value: ge(), output: N }), _e.push(b);
|
|
5581
5575
|
}, x = (_) => {
|
|
5582
|
-
let
|
|
5576
|
+
let P = _.close + (h.capture ? ")" : ""), b;
|
|
5583
5577
|
if (_.type === "negate") {
|
|
5584
5578
|
let N = ve;
|
|
5585
|
-
if (_.inner && _.inner.length > 1 && _.inner.includes("/") && (N = ie(h)), (N !== ve || Ve() || /^\)+$/.test(Ie())) && (
|
|
5579
|
+
if (_.inner && _.inner.length > 1 && _.inner.includes("/") && (N = ie(h)), (N !== ve || Ve() || /^\)+$/.test(Ie())) && (P = _.close = `)$))${N}`), _.inner.includes("*") && (b = Ie()) && /^\.[^\\/.]+$/.test(b)) {
|
|
5586
5580
|
const R = E(b, { ...d, fastpaths: !1 }).output;
|
|
5587
|
-
|
|
5581
|
+
P = _.close = `)${R})${N})`;
|
|
5588
5582
|
}
|
|
5589
5583
|
_.prev.type === "bos" && (T.negatedExtglob = !0);
|
|
5590
5584
|
}
|
|
5591
|
-
y({ type: "paren", extglob: !0, value: D, output:
|
|
5585
|
+
y({ type: "paren", extglob: !0, value: D, output: P }), g("parens");
|
|
5592
5586
|
};
|
|
5593
5587
|
if (h.fastpaths !== !1 && !/(^[*!]|[/()[\]{}"])/.test(p)) {
|
|
5594
|
-
let _ = !1,
|
|
5595
|
-
return _ === !0 && (h.unescape === !0 ?
|
|
5588
|
+
let _ = !1, P = 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 === "." ? re.repeat(R.length) : G === "*" ? N ? N + G + (M ? ve : "") : ve : N ? b : `\\${b}`);
|
|
5589
|
+
return _ === !0 && (h.unescape === !0 ? P = P.replace(/\\/g, "") : P = P.replace(/\\+/g, (b) => b.length % 2 === 0 ? "\\\\" : b ? "\\" : "")), P === p && h.contains === !0 ? (T.output = p, T) : (T.output = t.wrapOutput(P, T, d), T);
|
|
5596
5590
|
}
|
|
5597
5591
|
for (; !Ve(); ) {
|
|
5598
5592
|
if (D = ge(), D === "\0")
|
|
@@ -5731,21 +5725,21 @@ function Rf() {
|
|
|
5731
5725
|
T.start = T.index + 1, T.consumed = "", T.output = "", F.pop(), A = W;
|
|
5732
5726
|
continue;
|
|
5733
5727
|
}
|
|
5734
|
-
y({ type: "slash", value: D, output:
|
|
5728
|
+
y({ type: "slash", value: D, output: oe });
|
|
5735
5729
|
continue;
|
|
5736
5730
|
}
|
|
5737
5731
|
if (D === ".") {
|
|
5738
5732
|
if (T.braces > 0 && A.type === "dot") {
|
|
5739
|
-
A.value === "." && (A.output =
|
|
5733
|
+
A.value === "." && (A.output = re);
|
|
5740
5734
|
const b = Re[Re.length - 1];
|
|
5741
5735
|
A.type = "dots", A.output += D, A.value += D, b.dots = !0;
|
|
5742
5736
|
continue;
|
|
5743
5737
|
}
|
|
5744
5738
|
if (T.braces + T.parens === 0 && A.type !== "bos" && A.type !== "slash") {
|
|
5745
|
-
y({ type: "text", value: D, output:
|
|
5739
|
+
y({ type: "text", value: D, output: re });
|
|
5746
5740
|
continue;
|
|
5747
5741
|
}
|
|
5748
|
-
y({ type: "dot", value: D, output:
|
|
5742
|
+
y({ type: "dot", value: D, output: re });
|
|
5749
5743
|
continue;
|
|
5750
5744
|
}
|
|
5751
5745
|
if (D === "?") {
|
|
@@ -5846,26 +5840,26 @@ function Rf() {
|
|
|
5846
5840
|
}
|
|
5847
5841
|
if (b.type === "slash" && b.prev.type !== "bos" && _[0] === "/") {
|
|
5848
5842
|
const se = _[1] !== void 0 ? "|$" : "";
|
|
5849
|
-
T.output = T.output.slice(0, -(b.output + A.output).length), b.output = `(?:${b.output}`, A.type = "globstar", A.output = `${ie(h)}${
|
|
5843
|
+
T.output = T.output.slice(0, -(b.output + A.output).length), b.output = `(?:${b.output}`, A.type = "globstar", A.output = `${ie(h)}${oe}|${oe}${se})`, A.value += D, T.output += b.output + A.output, T.globstar = !0, we(D + ge()), y({ type: "slash", value: "/", output: "" });
|
|
5850
5844
|
continue;
|
|
5851
5845
|
}
|
|
5852
5846
|
if (b.type === "bos" && _[0] === "/") {
|
|
5853
|
-
A.type = "globstar", A.value += D, A.output = `(?:^|${
|
|
5847
|
+
A.type = "globstar", A.value += D, A.output = `(?:^|${oe}|${ie(h)}${oe})`, T.output = A.output, T.globstar = !0, we(D + ge()), y({ type: "slash", value: "/", output: "" });
|
|
5854
5848
|
continue;
|
|
5855
5849
|
}
|
|
5856
5850
|
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);
|
|
5857
5851
|
continue;
|
|
5858
5852
|
}
|
|
5859
|
-
const
|
|
5853
|
+
const P = { type: "star", value: D, output: ve };
|
|
5860
5854
|
if (h.bash === !0) {
|
|
5861
|
-
|
|
5855
|
+
P.output = ".*?", (A.type === "bos" || A.type === "slash") && (P.output = B + P.output), y(P);
|
|
5862
5856
|
continue;
|
|
5863
5857
|
}
|
|
5864
5858
|
if (A && (A.type === "bracket" || A.type === "paren") && h.regex === !0) {
|
|
5865
|
-
|
|
5859
|
+
P.output = D, y(P);
|
|
5866
5860
|
continue;
|
|
5867
5861
|
}
|
|
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(
|
|
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(P);
|
|
5869
5863
|
}
|
|
5870
5864
|
for (; T.brackets > 0; ) {
|
|
5871
5865
|
if (h.strictBrackets === !0) throw new SyntaxError(l("closing", "]"));
|
|
@@ -5879,7 +5873,7 @@ function Rf() {
|
|
|
5879
5873
|
if (h.strictBrackets === !0) throw new SyntaxError(l("closing", "}"));
|
|
5880
5874
|
T.output = t.escapeLast(T.output, "{"), g("braces");
|
|
5881
5875
|
}
|
|
5882
|
-
if (h.strictSlashes !== !0 && (A.type === "star" || A.type === "bracket") && y({ type: "maybe_slash", value: "", output: `${
|
|
5876
|
+
if (h.strictSlashes !== !0 && (A.type === "star" || A.type === "bracket") && y({ type: "maybe_slash", value: "", output: `${oe}?` }), T.backtrack === !0) {
|
|
5883
5877
|
T.output = "";
|
|
5884
5878
|
for (const _ of T.tokens)
|
|
5885
5879
|
T.output += _.output != null ? _.output : _.value, _.suffix && (T.output += _.suffix);
|
|
@@ -5887,9 +5881,9 @@ function Rf() {
|
|
|
5887
5881
|
return T;
|
|
5888
5882
|
};
|
|
5889
5883
|
return E.fastpaths = (p, d) => {
|
|
5890
|
-
const h = { ...d }, S = typeof h.maxLength == "number" ? Math.min(n, h.maxLength) : n,
|
|
5891
|
-
if (
|
|
5892
|
-
throw new SyntaxError(`Input length: ${
|
|
5884
|
+
const h = { ...d }, S = typeof h.maxLength == "number" ? Math.min(n, h.maxLength) : n, I = p.length;
|
|
5885
|
+
if (I > S)
|
|
5886
|
+
throw new SyntaxError(`Input length: ${I}, exceeds maximum allowed length: ${S}`);
|
|
5893
5887
|
p = i[p] || p;
|
|
5894
5888
|
const {
|
|
5895
5889
|
DOT_LITERAL: W,
|
|
@@ -5897,12 +5891,12 @@ function Rf() {
|
|
|
5897
5891
|
ONE_CHAR: k,
|
|
5898
5892
|
DOTS_SLASH: te,
|
|
5899
5893
|
NO_DOT: U,
|
|
5900
|
-
NO_DOTS:
|
|
5894
|
+
NO_DOTS: re,
|
|
5901
5895
|
NO_DOTS_SLASH: L,
|
|
5902
|
-
STAR:
|
|
5896
|
+
STAR: oe,
|
|
5903
5897
|
START_ANCHOR: ue
|
|
5904
|
-
} = e.globChars(h.windows), he = h.dot ?
|
|
5905
|
-
let w = h.bash === !0 ? ".*?" :
|
|
5898
|
+
} = e.globChars(h.windows), he = h.dot ? re : U, le = h.dot ? L : U, be = h.capture ? "" : "?:", Y = { negated: !1, prefix: "" };
|
|
5899
|
+
let w = h.bash === !0 ? ".*?" : oe;
|
|
5906
5900
|
h.capture && (w = `(${w})`);
|
|
5907
5901
|
const q = (B) => B.noglobstar === !0 ? w : `(${be}(?:(?!${ue}${B.dot ? te : W}).)*?)`, ne = (B) => {
|
|
5908
5902
|
switch (B) {
|
|
@@ -5935,16 +5929,16 @@ function Rf() {
|
|
|
5935
5929
|
}, Ro = E, Ro;
|
|
5936
5930
|
}
|
|
5937
5931
|
var xo, gi;
|
|
5938
|
-
function
|
|
5932
|
+
function Rf() {
|
|
5939
5933
|
if (gi) return xo;
|
|
5940
5934
|
gi = 1;
|
|
5941
|
-
const e = /* @__PURE__ */
|
|
5935
|
+
const e = /* @__PURE__ */ Nf(), t = /* @__PURE__ */ Tf(), n = /* @__PURE__ */ io(), r = /* @__PURE__ */ so(), o = (i) => i && typeof i == "object" && !Array.isArray(i), s = (i, c, l = !1) => {
|
|
5942
5936
|
if (Array.isArray(i)) {
|
|
5943
5937
|
const F = i.map((te) => s(te, c, l));
|
|
5944
5938
|
return (te) => {
|
|
5945
5939
|
for (const U of F) {
|
|
5946
|
-
const
|
|
5947
|
-
if (
|
|
5940
|
+
const re = U(te);
|
|
5941
|
+
if (re) return re;
|
|
5948
5942
|
}
|
|
5949
5943
|
return !1;
|
|
5950
5944
|
};
|
|
@@ -5954,14 +5948,14 @@ function xf() {
|
|
|
5954
5948
|
throw new TypeError("Expected pattern to be a non-empty string");
|
|
5955
5949
|
const p = c || {}, d = p.windows, h = E ? s.compileRe(i, c) : s.makeRe(i, c, !1, !0), S = h.state;
|
|
5956
5950
|
delete h.state;
|
|
5957
|
-
let
|
|
5951
|
+
let I = () => !1;
|
|
5958
5952
|
if (p.ignore) {
|
|
5959
5953
|
const F = { ...c, ignore: null, onMatch: null, onResult: null };
|
|
5960
|
-
|
|
5954
|
+
I = s(p.ignore, F, l);
|
|
5961
5955
|
}
|
|
5962
5956
|
const W = (F, k = !1) => {
|
|
5963
|
-
const { isMatch: te, match: U, output:
|
|
5964
|
-
return typeof p.onResult == "function" && p.onResult(L), te === !1 ? (L.isMatch = !1, k ? L : !1) :
|
|
5957
|
+
const { isMatch: te, match: U, output: re } = s.test(F, h, c, { glob: i, posix: d }), L = { glob: i, state: S, regex: h, posix: d, input: F, output: re, match: U, isMatch: te };
|
|
5958
|
+
return typeof p.onResult == "function" && p.onResult(L), te === !1 ? (L.isMatch = !1, k ? L : !1) : I(F) ? (typeof p.onIgnore == "function" && p.onIgnore(L), L.isMatch = !1, k ? L : !1) : (typeof p.onMatch == "function" && p.onMatch(L), k ? L : !0);
|
|
5965
5959
|
};
|
|
5966
5960
|
return l && (W.state = S), W;
|
|
5967
5961
|
};
|
|
@@ -5971,16 +5965,16 @@ function xf() {
|
|
|
5971
5965
|
if (i === "")
|
|
5972
5966
|
return { isMatch: !1, output: "" };
|
|
5973
5967
|
const d = l || {}, h = d.format || (p ? n.toPosixSlashes : null);
|
|
5974
|
-
let S = i === E,
|
|
5975
|
-
return S === !1 && (
|
|
5968
|
+
let S = i === E, I = S && h ? h(i) : i;
|
|
5969
|
+
return S === !1 && (I = h ? h(i) : i, S = I === E), (S === !1 || d.capture === !0) && (d.matchBase === !0 || d.basename === !0 ? S = s.matchBase(i, c, l, p) : S = c.exec(I)), { isMatch: !!S, match: S, output: I };
|
|
5976
5970
|
}, 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) => {
|
|
5977
5971
|
if (l === !0)
|
|
5978
5972
|
return i.output;
|
|
5979
5973
|
const p = c || {}, d = p.contains ? "" : "^", h = p.contains ? "" : "$";
|
|
5980
5974
|
let S = `${d}(?:${i.output})${h}`;
|
|
5981
5975
|
i && i.negated === !0 && (S = `^(?!${S}).*$`);
|
|
5982
|
-
const
|
|
5983
|
-
return E === !0 && (
|
|
5976
|
+
const I = s.toRegex(S, c);
|
|
5977
|
+
return E === !0 && (I.state = i), I;
|
|
5984
5978
|
}, s.makeRe = (i, c = {}, l = !1, E = !1) => {
|
|
5985
5979
|
if (!i || typeof i != "string")
|
|
5986
5980
|
throw new TypeError("Expected a non-empty string");
|
|
@@ -5997,17 +5991,17 @@ function xf() {
|
|
|
5997
5991
|
}, s.constants = r, xo = s, xo;
|
|
5998
5992
|
}
|
|
5999
5993
|
var Do, mi;
|
|
6000
|
-
function
|
|
5994
|
+
function xf() {
|
|
6001
5995
|
if (mi) return Do;
|
|
6002
5996
|
mi = 1;
|
|
6003
|
-
const e = /* @__PURE__ */
|
|
5997
|
+
const e = /* @__PURE__ */ Rf(), t = /* @__PURE__ */ io();
|
|
6004
5998
|
function n(r, o, s = !1) {
|
|
6005
5999
|
return o && (o.windows === null || o.windows === void 0) && (o = { ...o, windows: t.isWindows() }), e(r, o, s);
|
|
6006
6000
|
}
|
|
6007
6001
|
return Object.assign(n, e), Do = n, Do;
|
|
6008
6002
|
}
|
|
6009
|
-
var
|
|
6010
|
-
const vi = /* @__PURE__ */
|
|
6003
|
+
var Df = /* @__PURE__ */ xf();
|
|
6004
|
+
const vi = /* @__PURE__ */ Af(Df), Ei = (e) => {
|
|
6011
6005
|
const t = window.history[e];
|
|
6012
6006
|
return function() {
|
|
6013
6007
|
const n = t.apply(this, arguments), r = new Event(e);
|
|
@@ -6015,12 +6009,12 @@ const vi = /* @__PURE__ */ Nf(Cf), Ei = (e) => {
|
|
|
6015
6009
|
};
|
|
6016
6010
|
};
|
|
6017
6011
|
let yi = !1;
|
|
6018
|
-
const
|
|
6012
|
+
const Cf = () => {
|
|
6019
6013
|
yi || (yi = !0, history.replaceState = Ei("replaceState"), history.pushState = Ei("pushState"));
|
|
6020
|
-
},
|
|
6021
|
-
|
|
6022
|
-
},
|
|
6023
|
-
const t =
|
|
6014
|
+
}, Pg = (e) => {
|
|
6015
|
+
vt("microApp").cors.on("syncRouter", (n) => e(n.data));
|
|
6016
|
+
}, Ig = async (e) => {
|
|
6017
|
+
const t = vt("microApp"), n = t.data.get().appInfo;
|
|
6024
6018
|
n && t.cors.send("reportRouter", { data: e, href: location.href, appInfo: n });
|
|
6025
6019
|
}, wr = /* @__PURE__ */ new Map(), ea = () => {
|
|
6026
6020
|
const e = (n) => {
|
|
@@ -6047,7 +6041,7 @@ const Pf = () => {
|
|
|
6047
6041
|
}
|
|
6048
6042
|
};
|
|
6049
6043
|
}, ta = () => {
|
|
6050
|
-
|
|
6044
|
+
Cf();
|
|
6051
6045
|
const e = {};
|
|
6052
6046
|
return { addRouterEventListener: (r, o) => {
|
|
6053
6047
|
let s = [r];
|
|
@@ -6062,8 +6056,8 @@ const Pf = () => {
|
|
|
6062
6056
|
window.removeEventListener(s, i);
|
|
6063
6057
|
});
|
|
6064
6058
|
} };
|
|
6065
|
-
}, { replaceState:
|
|
6066
|
-
const e =
|
|
6059
|
+
}, { replaceState: Pf } = ea(), { addRouterEventListener: If } = ta(), $f = () => {
|
|
6060
|
+
const e = vt("microApp"), t = Ge(!1);
|
|
6067
6061
|
e.cors.on("syncRouter", (n) => {
|
|
6068
6062
|
var d, h;
|
|
6069
6063
|
if (t.value) return;
|
|
@@ -6077,8 +6071,8 @@ const Pf = () => {
|
|
|
6077
6071
|
e.event.emit("syncRouter", n);
|
|
6078
6072
|
return;
|
|
6079
6073
|
}
|
|
6080
|
-
|
|
6081
|
-
}),
|
|
6074
|
+
Pf(r.replacePath);
|
|
6075
|
+
}), If(["replaceState"], async (n) => {
|
|
6082
6076
|
var s;
|
|
6083
6077
|
if (t.value) return;
|
|
6084
6078
|
const r = e.data.get().appInfo;
|
|
@@ -6088,16 +6082,16 @@ const Pf = () => {
|
|
|
6088
6082
|
historyEvent: { type: n.type, state: history.state }
|
|
6089
6083
|
});
|
|
6090
6084
|
});
|
|
6091
|
-
},
|
|
6092
|
-
const e =
|
|
6085
|
+
}, Mf = () => {
|
|
6086
|
+
const e = vt("microApp");
|
|
6093
6087
|
e.cors.on("customEventFromMain", (t) => {
|
|
6094
6088
|
var n, r;
|
|
6095
6089
|
(n = t.data) != null && n.eventName && e.event.emit(t.data.eventName, (r = t.data) == null ? void 0 : r.params);
|
|
6096
6090
|
});
|
|
6097
|
-
},
|
|
6091
|
+
}, $g = async (e) => {
|
|
6098
6092
|
e || (e = {});
|
|
6099
6093
|
const t = await Qc({ type: "microApp", ...e });
|
|
6100
|
-
return
|
|
6094
|
+
return $f(), Mf(), t;
|
|
6101
6095
|
};
|
|
6102
6096
|
function co(e) {
|
|
6103
6097
|
return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, n) {
|
|
@@ -6115,7 +6109,7 @@ function co(e) {
|
|
|
6115
6109
|
});
|
|
6116
6110
|
} };
|
|
6117
6111
|
}
|
|
6118
|
-
function
|
|
6112
|
+
function Lf() {
|
|
6119
6113
|
this.__data__ = [], this.size = 0;
|
|
6120
6114
|
}
|
|
6121
6115
|
function na(e, t) {
|
|
@@ -6127,92 +6121,92 @@ function ao(e, t) {
|
|
|
6127
6121
|
return n;
|
|
6128
6122
|
return -1;
|
|
6129
6123
|
}
|
|
6130
|
-
var
|
|
6131
|
-
function
|
|
6124
|
+
var Vf = Array.prototype, jf = Vf.splice;
|
|
6125
|
+
function Hf(e) {
|
|
6132
6126
|
var t = this.__data__, n = ao(t, e);
|
|
6133
6127
|
if (n < 0)
|
|
6134
6128
|
return !1;
|
|
6135
6129
|
var r = t.length - 1;
|
|
6136
|
-
return n == r ? t.pop() :
|
|
6130
|
+
return n == r ? t.pop() : jf.call(t, n, 1), --this.size, !0;
|
|
6137
6131
|
}
|
|
6138
|
-
function
|
|
6132
|
+
function Wf(e) {
|
|
6139
6133
|
var t = this.__data__, n = ao(t, e);
|
|
6140
6134
|
return n < 0 ? void 0 : t[n][1];
|
|
6141
6135
|
}
|
|
6142
|
-
function
|
|
6136
|
+
function Ff(e) {
|
|
6143
6137
|
return ao(this.__data__, e) > -1;
|
|
6144
6138
|
}
|
|
6145
|
-
function
|
|
6139
|
+
function Bf(e, t) {
|
|
6146
6140
|
var n = this.__data__, r = ao(n, e);
|
|
6147
6141
|
return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
|
|
6148
6142
|
}
|
|
6149
|
-
function
|
|
6143
|
+
function kt(e) {
|
|
6150
6144
|
var t = -1, n = e == null ? 0 : e.length;
|
|
6151
6145
|
for (this.clear(); ++t < n; ) {
|
|
6152
6146
|
var r = e[t];
|
|
6153
6147
|
this.set(r[0], r[1]);
|
|
6154
6148
|
}
|
|
6155
6149
|
}
|
|
6156
|
-
|
|
6157
|
-
|
|
6158
|
-
|
|
6159
|
-
|
|
6160
|
-
|
|
6161
|
-
function
|
|
6162
|
-
this.__data__ = new
|
|
6150
|
+
kt.prototype.clear = Lf;
|
|
6151
|
+
kt.prototype.delete = Hf;
|
|
6152
|
+
kt.prototype.get = Wf;
|
|
6153
|
+
kt.prototype.has = Ff;
|
|
6154
|
+
kt.prototype.set = Bf;
|
|
6155
|
+
function Uf() {
|
|
6156
|
+
this.__data__ = new kt(), this.size = 0;
|
|
6163
6157
|
}
|
|
6164
|
-
function
|
|
6158
|
+
function Gf(e) {
|
|
6165
6159
|
var t = this.__data__, n = t.delete(e);
|
|
6166
6160
|
return this.size = t.size, n;
|
|
6167
6161
|
}
|
|
6168
|
-
function
|
|
6162
|
+
function Kf(e) {
|
|
6169
6163
|
return this.__data__.get(e);
|
|
6170
6164
|
}
|
|
6171
|
-
function
|
|
6165
|
+
function kf(e) {
|
|
6172
6166
|
return this.__data__.has(e);
|
|
6173
6167
|
}
|
|
6174
|
-
var ra = typeof global == "object" && global && global.Object === Object && global,
|
|
6175
|
-
function
|
|
6176
|
-
var t =
|
|
6168
|
+
var ra = typeof global == "object" && global && global.Object === Object && global, Yf = typeof self == "object" && self && self.Object === Object && self, Ct = ra || Yf || Function("return this")(), Dn = Ct.Symbol, oa = Object.prototype, qf = oa.hasOwnProperty, zf = oa.toString, Yn = Dn ? Dn.toStringTag : void 0;
|
|
6169
|
+
function Jf(e) {
|
|
6170
|
+
var t = qf.call(e, Yn), n = e[Yn];
|
|
6177
6171
|
try {
|
|
6178
6172
|
e[Yn] = void 0;
|
|
6179
6173
|
var r = !0;
|
|
6180
6174
|
} catch {
|
|
6181
6175
|
}
|
|
6182
|
-
var o =
|
|
6176
|
+
var o = zf.call(e);
|
|
6183
6177
|
return r && (t ? e[Yn] = n : delete e[Yn]), o;
|
|
6184
6178
|
}
|
|
6185
|
-
var
|
|
6186
|
-
function
|
|
6187
|
-
return
|
|
6179
|
+
var Xf = Object.prototype, Zf = Xf.toString;
|
|
6180
|
+
function Qf(e) {
|
|
6181
|
+
return Zf.call(e);
|
|
6188
6182
|
}
|
|
6189
|
-
var
|
|
6183
|
+
var ep = "[object Null]", tp = "[object Undefined]", _i = Dn ? Dn.toStringTag : void 0;
|
|
6190
6184
|
function mr(e) {
|
|
6191
|
-
return e == null ? e === void 0 ?
|
|
6185
|
+
return e == null ? e === void 0 ? tp : ep : _i && _i in Object(e) ? Jf(e) : Qf(e);
|
|
6192
6186
|
}
|
|
6193
6187
|
function uo(e) {
|
|
6194
6188
|
var t = typeof e;
|
|
6195
6189
|
return e != null && (t == "object" || t == "function");
|
|
6196
6190
|
}
|
|
6197
|
-
var
|
|
6191
|
+
var np = "[object AsyncFunction]", rp = "[object Function]", op = "[object GeneratorFunction]", sp = "[object Proxy]";
|
|
6198
6192
|
function sa(e) {
|
|
6199
6193
|
if (!uo(e))
|
|
6200
6194
|
return !1;
|
|
6201
6195
|
var t = mr(e);
|
|
6202
|
-
return t ==
|
|
6196
|
+
return t == rp || t == op || t == np || t == sp;
|
|
6203
6197
|
}
|
|
6204
|
-
var Co =
|
|
6198
|
+
var Co = Ct["__core-js_shared__"], bi = function() {
|
|
6205
6199
|
var e = /[^.]+$/.exec(Co && Co.keys && Co.keys.IE_PROTO || "");
|
|
6206
6200
|
return e ? "Symbol(src)_1." + e : "";
|
|
6207
6201
|
}();
|
|
6208
|
-
function
|
|
6202
|
+
function ip(e) {
|
|
6209
6203
|
return !!bi && bi in e;
|
|
6210
6204
|
}
|
|
6211
|
-
var
|
|
6205
|
+
var cp = Function.prototype, ap = cp.toString;
|
|
6212
6206
|
function gn(e) {
|
|
6213
6207
|
if (e != null) {
|
|
6214
6208
|
try {
|
|
6215
|
-
return
|
|
6209
|
+
return ap.call(e);
|
|
6216
6210
|
} catch {
|
|
6217
6211
|
}
|
|
6218
6212
|
try {
|
|
@@ -6222,48 +6216,48 @@ function gn(e) {
|
|
|
6222
6216
|
}
|
|
6223
6217
|
return "";
|
|
6224
6218
|
}
|
|
6225
|
-
var
|
|
6226
|
-
"^" +
|
|
6219
|
+
var up = /[\\^$.*+?()[\]{}|]/g, lp = /^\[object .+?Constructor\]$/, fp = Function.prototype, pp = Object.prototype, dp = fp.toString, hp = pp.hasOwnProperty, gp = RegExp(
|
|
6220
|
+
"^" + dp.call(hp).replace(up, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
6227
6221
|
);
|
|
6228
|
-
function
|
|
6229
|
-
if (!uo(e) ||
|
|
6222
|
+
function mp(e) {
|
|
6223
|
+
if (!uo(e) || ip(e))
|
|
6230
6224
|
return !1;
|
|
6231
|
-
var t = sa(e) ?
|
|
6225
|
+
var t = sa(e) ? gp : lp;
|
|
6232
6226
|
return t.test(gn(e));
|
|
6233
6227
|
}
|
|
6234
|
-
function
|
|
6228
|
+
function vp(e, t) {
|
|
6235
6229
|
return e == null ? void 0 : e[t];
|
|
6236
6230
|
}
|
|
6237
6231
|
function mn(e, t) {
|
|
6238
|
-
var n =
|
|
6239
|
-
return
|
|
6232
|
+
var n = vp(e, t);
|
|
6233
|
+
return mp(n) ? n : void 0;
|
|
6240
6234
|
}
|
|
6241
|
-
var ar = mn(
|
|
6242
|
-
function
|
|
6235
|
+
var ar = mn(Ct, "Map"), ur = mn(Object, "create");
|
|
6236
|
+
function Ep() {
|
|
6243
6237
|
this.__data__ = ur ? ur(null) : {}, this.size = 0;
|
|
6244
6238
|
}
|
|
6245
|
-
function
|
|
6239
|
+
function yp(e) {
|
|
6246
6240
|
var t = this.has(e) && delete this.__data__[e];
|
|
6247
6241
|
return this.size -= t ? 1 : 0, t;
|
|
6248
6242
|
}
|
|
6249
|
-
var
|
|
6250
|
-
function
|
|
6243
|
+
var _p = "__lodash_hash_undefined__", bp = Object.prototype, wp = bp.hasOwnProperty;
|
|
6244
|
+
function Op(e) {
|
|
6251
6245
|
var t = this.__data__;
|
|
6252
6246
|
if (ur) {
|
|
6253
6247
|
var n = t[e];
|
|
6254
|
-
return n ===
|
|
6248
|
+
return n === _p ? void 0 : n;
|
|
6255
6249
|
}
|
|
6256
|
-
return
|
|
6250
|
+
return wp.call(t, e) ? t[e] : void 0;
|
|
6257
6251
|
}
|
|
6258
|
-
var
|
|
6259
|
-
function
|
|
6252
|
+
var Sp = Object.prototype, Ap = Sp.hasOwnProperty;
|
|
6253
|
+
function Np(e) {
|
|
6260
6254
|
var t = this.__data__;
|
|
6261
|
-
return ur ? t[e] !== void 0 :
|
|
6255
|
+
return ur ? t[e] !== void 0 : Ap.call(t, e);
|
|
6262
6256
|
}
|
|
6263
|
-
var
|
|
6264
|
-
function
|
|
6257
|
+
var Tp = "__lodash_hash_undefined__";
|
|
6258
|
+
function Rp(e, t) {
|
|
6265
6259
|
var n = this.__data__;
|
|
6266
|
-
return this.size += this.has(e) ? 0 : 1, n[e] = ur && t === void 0 ?
|
|
6260
|
+
return this.size += this.has(e) ? 0 : 1, n[e] = ur && t === void 0 ? Tp : t, this;
|
|
6267
6261
|
}
|
|
6268
6262
|
function hn(e) {
|
|
6269
6263
|
var t = -1, n = e == null ? 0 : e.length;
|
|
@@ -6272,37 +6266,37 @@ function hn(e) {
|
|
|
6272
6266
|
this.set(r[0], r[1]);
|
|
6273
6267
|
}
|
|
6274
6268
|
}
|
|
6275
|
-
hn.prototype.clear =
|
|
6276
|
-
hn.prototype.delete =
|
|
6277
|
-
hn.prototype.get =
|
|
6278
|
-
hn.prototype.has =
|
|
6279
|
-
hn.prototype.set =
|
|
6280
|
-
function
|
|
6269
|
+
hn.prototype.clear = Ep;
|
|
6270
|
+
hn.prototype.delete = yp;
|
|
6271
|
+
hn.prototype.get = Op;
|
|
6272
|
+
hn.prototype.has = Np;
|
|
6273
|
+
hn.prototype.set = Rp;
|
|
6274
|
+
function xp() {
|
|
6281
6275
|
this.size = 0, this.__data__ = {
|
|
6282
6276
|
hash: new hn(),
|
|
6283
|
-
map: new (ar ||
|
|
6277
|
+
map: new (ar || kt)(),
|
|
6284
6278
|
string: new hn()
|
|
6285
6279
|
};
|
|
6286
6280
|
}
|
|
6287
|
-
function
|
|
6281
|
+
function Dp(e) {
|
|
6288
6282
|
var t = typeof e;
|
|
6289
6283
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
6290
6284
|
}
|
|
6291
6285
|
function lo(e, t) {
|
|
6292
6286
|
var n = e.__data__;
|
|
6293
|
-
return
|
|
6287
|
+
return Dp(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
|
|
6294
6288
|
}
|
|
6295
|
-
function
|
|
6289
|
+
function Cp(e) {
|
|
6296
6290
|
var t = lo(this, e).delete(e);
|
|
6297
6291
|
return this.size -= t ? 1 : 0, t;
|
|
6298
6292
|
}
|
|
6299
|
-
function
|
|
6293
|
+
function Pp(e) {
|
|
6300
6294
|
return lo(this, e).get(e);
|
|
6301
6295
|
}
|
|
6302
|
-
function
|
|
6296
|
+
function Ip(e) {
|
|
6303
6297
|
return lo(this, e).has(e);
|
|
6304
6298
|
}
|
|
6305
|
-
function
|
|
6299
|
+
function $p(e, t) {
|
|
6306
6300
|
var n = lo(this, e), r = n.size;
|
|
6307
6301
|
return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
|
|
6308
6302
|
}
|
|
@@ -6313,32 +6307,32 @@ function Ln(e) {
|
|
|
6313
6307
|
this.set(r[0], r[1]);
|
|
6314
6308
|
}
|
|
6315
6309
|
}
|
|
6316
|
-
Ln.prototype.clear =
|
|
6317
|
-
Ln.prototype.delete =
|
|
6318
|
-
Ln.prototype.get =
|
|
6319
|
-
Ln.prototype.has =
|
|
6320
|
-
Ln.prototype.set =
|
|
6321
|
-
var
|
|
6322
|
-
function
|
|
6310
|
+
Ln.prototype.clear = xp;
|
|
6311
|
+
Ln.prototype.delete = Cp;
|
|
6312
|
+
Ln.prototype.get = Pp;
|
|
6313
|
+
Ln.prototype.has = Ip;
|
|
6314
|
+
Ln.prototype.set = $p;
|
|
6315
|
+
var Mp = 200;
|
|
6316
|
+
function Lp(e, t) {
|
|
6323
6317
|
var n = this.__data__;
|
|
6324
|
-
if (n instanceof
|
|
6318
|
+
if (n instanceof kt) {
|
|
6325
6319
|
var r = n.__data__;
|
|
6326
|
-
if (!ar || r.length <
|
|
6320
|
+
if (!ar || r.length < Mp - 1)
|
|
6327
6321
|
return r.push([e, t]), this.size = ++n.size, this;
|
|
6328
6322
|
n = this.__data__ = new Ln(r);
|
|
6329
6323
|
}
|
|
6330
6324
|
return n.set(e, t), this.size = n.size, this;
|
|
6331
6325
|
}
|
|
6332
6326
|
function Vn(e) {
|
|
6333
|
-
var t = this.__data__ = new
|
|
6327
|
+
var t = this.__data__ = new kt(e);
|
|
6334
6328
|
this.size = t.size;
|
|
6335
6329
|
}
|
|
6336
|
-
Vn.prototype.clear =
|
|
6337
|
-
Vn.prototype.delete =
|
|
6338
|
-
Vn.prototype.get =
|
|
6339
|
-
Vn.prototype.has =
|
|
6340
|
-
Vn.prototype.set =
|
|
6341
|
-
function
|
|
6330
|
+
Vn.prototype.clear = Uf;
|
|
6331
|
+
Vn.prototype.delete = Gf;
|
|
6332
|
+
Vn.prototype.get = Kf;
|
|
6333
|
+
Vn.prototype.has = kf;
|
|
6334
|
+
Vn.prototype.set = Lp;
|
|
6335
|
+
function Vp(e, t) {
|
|
6342
6336
|
for (var n = -1, r = e == null ? 0 : e.length; ++n < r && t(e[n], n, e) !== !1; )
|
|
6343
6337
|
;
|
|
6344
6338
|
return e;
|
|
@@ -6350,7 +6344,7 @@ var wi = function() {
|
|
|
6350
6344
|
} catch {
|
|
6351
6345
|
}
|
|
6352
6346
|
}();
|
|
6353
|
-
function
|
|
6347
|
+
function jp(e, t, n) {
|
|
6354
6348
|
t == "__proto__" && wi ? wi(e, t, {
|
|
6355
6349
|
configurable: !0,
|
|
6356
6350
|
enumerable: !0,
|
|
@@ -6358,12 +6352,12 @@ function Hp(e, t, n) {
|
|
|
6358
6352
|
writable: !0
|
|
6359
6353
|
}) : e[t] = n;
|
|
6360
6354
|
}
|
|
6361
|
-
var
|
|
6362
|
-
function
|
|
6355
|
+
var Hp = Object.prototype, Wp = Hp.hasOwnProperty;
|
|
6356
|
+
function Fp(e, t, n) {
|
|
6363
6357
|
var r = e[t];
|
|
6364
|
-
(!(
|
|
6358
|
+
(!(Wp.call(e, t) && na(r, n)) || n === void 0 && !(t in e)) && jp(e, t, n);
|
|
6365
6359
|
}
|
|
6366
|
-
function
|
|
6360
|
+
function Bp(e, t) {
|
|
6367
6361
|
for (var n = -1, r = Array(e); ++n < e; )
|
|
6368
6362
|
r[n] = t(n);
|
|
6369
6363
|
return r;
|
|
@@ -6371,31 +6365,31 @@ function Up(e, t) {
|
|
|
6371
6365
|
function vr(e) {
|
|
6372
6366
|
return e != null && typeof e == "object";
|
|
6373
6367
|
}
|
|
6374
|
-
var
|
|
6368
|
+
var Up = "[object Arguments]";
|
|
6375
6369
|
function Oi(e) {
|
|
6376
|
-
return vr(e) && mr(e) ==
|
|
6370
|
+
return vr(e) && mr(e) == Up;
|
|
6377
6371
|
}
|
|
6378
|
-
var ia = Object.prototype,
|
|
6372
|
+
var ia = Object.prototype, Gp = ia.hasOwnProperty, Kp = ia.propertyIsEnumerable, kp = Oi(/* @__PURE__ */ function() {
|
|
6379
6373
|
return arguments;
|
|
6380
6374
|
}()) ? Oi : function(e) {
|
|
6381
|
-
return vr(e) &&
|
|
6375
|
+
return vr(e) && Gp.call(e, "callee") && !Kp.call(e, "callee");
|
|
6382
6376
|
}, bs = Array.isArray;
|
|
6383
|
-
function
|
|
6377
|
+
function Yp() {
|
|
6384
6378
|
return !1;
|
|
6385
6379
|
}
|
|
6386
|
-
var ca = typeof exports == "object" && exports && !exports.nodeType && exports, Si = ca && typeof module == "object" && module && !module.nodeType && module,
|
|
6387
|
-
function
|
|
6380
|
+
var ca = typeof exports == "object" && exports && !exports.nodeType && exports, Si = ca && typeof module == "object" && module && !module.nodeType && module, qp = Si && Si.exports === ca, Ai = qp ? Ct.Buffer : void 0, zp = Ai ? Ai.isBuffer : void 0, aa = zp || Yp, Jp = 9007199254740991, Xp = /^(?:0|[1-9]\d*)$/;
|
|
6381
|
+
function Zp(e, t) {
|
|
6388
6382
|
var n = typeof e;
|
|
6389
|
-
return t = t ??
|
|
6383
|
+
return t = t ?? Jp, !!t && (n == "number" || n != "symbol" && Xp.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
6390
6384
|
}
|
|
6391
|
-
var
|
|
6385
|
+
var Qp = 9007199254740991;
|
|
6392
6386
|
function ua(e) {
|
|
6393
|
-
return typeof e == "number" && e > -1 && e % 1 == 0 && e <=
|
|
6387
|
+
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Qp;
|
|
6394
6388
|
}
|
|
6395
|
-
var
|
|
6396
|
-
Ce[md] = Ce[vd] = Ce[Ed] = Ce[yd] = Ce[_d] = Ce[bd] = Ce[wd] = Ce[Od] =
|
|
6397
|
-
Ce[td] = Ce[
|
|
6398
|
-
function
|
|
6389
|
+
var ed = "[object Arguments]", td = "[object Array]", nd = "[object Boolean]", rd = "[object Date]", od = "[object Error]", sd = "[object Function]", id = "[object Map]", cd = "[object Number]", ad = "[object Object]", ud = "[object RegExp]", ld = "[object Set]", fd = "[object String]", pd = "[object WeakMap]", dd = "[object ArrayBuffer]", hd = "[object DataView]", gd = "[object Float32Array]", md = "[object Float64Array]", vd = "[object Int8Array]", Ed = "[object Int16Array]", yd = "[object Int32Array]", _d = "[object Uint8Array]", bd = "[object Uint8ClampedArray]", wd = "[object Uint16Array]", Od = "[object Uint32Array]", Ce = {};
|
|
6390
|
+
Ce[gd] = Ce[md] = Ce[vd] = Ce[Ed] = Ce[yd] = Ce[_d] = Ce[bd] = Ce[wd] = Ce[Od] = !0;
|
|
6391
|
+
Ce[ed] = Ce[td] = Ce[dd] = Ce[nd] = Ce[hd] = Ce[rd] = Ce[od] = Ce[sd] = Ce[id] = Ce[cd] = Ce[ad] = Ce[ud] = Ce[ld] = Ce[fd] = Ce[pd] = !1;
|
|
6392
|
+
function Sd(e) {
|
|
6399
6393
|
return vr(e) && ua(e.length) && !!Ce[mr(e)];
|
|
6400
6394
|
}
|
|
6401
6395
|
function ws(e) {
|
|
@@ -6403,26 +6397,26 @@ function ws(e) {
|
|
|
6403
6397
|
return e(t);
|
|
6404
6398
|
};
|
|
6405
6399
|
}
|
|
6406
|
-
var la = typeof exports == "object" && exports && !exports.nodeType && exports, nr = la && typeof module == "object" && module && !module.nodeType && module,
|
|
6400
|
+
var la = typeof exports == "object" && exports && !exports.nodeType && exports, nr = la && typeof module == "object" && module && !module.nodeType && module, Ad = nr && nr.exports === la, Po = Ad && ra.process, Cn = function() {
|
|
6407
6401
|
try {
|
|
6408
6402
|
var e = nr && nr.require && nr.require("util").types;
|
|
6409
6403
|
return e || Po && Po.binding && Po.binding("util");
|
|
6410
6404
|
} catch {
|
|
6411
6405
|
}
|
|
6412
|
-
}(), Ni = Cn && Cn.isTypedArray,
|
|
6413
|
-
function
|
|
6414
|
-
var n = bs(e), r = !n &&
|
|
6406
|
+
}(), Ni = Cn && Cn.isTypedArray, Nd = Ni ? ws(Ni) : Sd, Td = Object.prototype, Rd = Td.hasOwnProperty;
|
|
6407
|
+
function xd(e, t) {
|
|
6408
|
+
var n = bs(e), r = !n && kp(e), o = !n && !r && aa(e), s = !n && !r && !o && Nd(e), i = n || r || o || s, c = i ? Bp(e.length, String) : [], l = c.length;
|
|
6415
6409
|
for (var E in e)
|
|
6416
|
-
|
|
6410
|
+
Rd.call(e, E) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
6417
6411
|
(E == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
6418
6412
|
o && (E == "offset" || E == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
6419
6413
|
s && (E == "buffer" || E == "byteLength" || E == "byteOffset") || // Skip index properties.
|
|
6420
|
-
|
|
6414
|
+
Zp(E, l))) && c.push(E);
|
|
6421
6415
|
return c;
|
|
6422
6416
|
}
|
|
6423
|
-
var
|
|
6417
|
+
var Dd = Object.prototype;
|
|
6424
6418
|
function fa(e) {
|
|
6425
|
-
var t = e && e.constructor, n = typeof t == "function" && t.prototype ||
|
|
6419
|
+
var t = e && e.constructor, n = typeof t == "function" && t.prototype || Dd;
|
|
6426
6420
|
return e === n;
|
|
6427
6421
|
}
|
|
6428
6422
|
function pa(e, t) {
|
|
@@ -6430,110 +6424,111 @@ function pa(e, t) {
|
|
|
6430
6424
|
return e(t(n));
|
|
6431
6425
|
};
|
|
6432
6426
|
}
|
|
6433
|
-
var
|
|
6434
|
-
function
|
|
6427
|
+
var Cd = pa(Object.keys, Object), Pd = Object.prototype, Id = Pd.hasOwnProperty;
|
|
6428
|
+
function $d(e) {
|
|
6435
6429
|
if (!fa(e))
|
|
6436
|
-
return
|
|
6430
|
+
return Cd(e);
|
|
6437
6431
|
var t = [];
|
|
6438
6432
|
for (var n in Object(e))
|
|
6439
|
-
|
|
6433
|
+
Id.call(e, n) && n != "constructor" && t.push(n);
|
|
6440
6434
|
return t;
|
|
6441
6435
|
}
|
|
6442
|
-
function
|
|
6436
|
+
function Md(e) {
|
|
6443
6437
|
return e != null && ua(e.length) && !sa(e);
|
|
6444
6438
|
}
|
|
6445
|
-
function
|
|
6446
|
-
return
|
|
6439
|
+
function Ld(e) {
|
|
6440
|
+
return Md(e) ? xd(e) : $d(e);
|
|
6447
6441
|
}
|
|
6448
|
-
var da = typeof exports == "object" && exports && !exports.nodeType && exports, Ti = da && typeof module == "object" && module && !module.nodeType && module,
|
|
6442
|
+
var da = typeof exports == "object" && exports && !exports.nodeType && exports, Ti = da && typeof module == "object" && module && !module.nodeType && module, Vd = Ti && Ti.exports === da, Ri = Vd ? Ct.Buffer : void 0;
|
|
6449
6443
|
Ri && Ri.allocUnsafe;
|
|
6450
|
-
function
|
|
6444
|
+
function jd(e, t) {
|
|
6451
6445
|
return e.slice();
|
|
6452
6446
|
}
|
|
6453
|
-
function
|
|
6447
|
+
function Hd(e, t) {
|
|
6454
6448
|
for (var n = -1, r = e == null ? 0 : e.length, o = 0, s = []; ++n < r; ) {
|
|
6455
6449
|
var i = e[n];
|
|
6456
6450
|
t(i, n, e) && (s[o++] = i);
|
|
6457
6451
|
}
|
|
6458
6452
|
return s;
|
|
6459
6453
|
}
|
|
6460
|
-
function
|
|
6454
|
+
function Wd() {
|
|
6461
6455
|
return [];
|
|
6462
6456
|
}
|
|
6463
|
-
var
|
|
6464
|
-
return e == null ? [] : (e = Object(e),
|
|
6465
|
-
return
|
|
6457
|
+
var Fd = Object.prototype, Bd = Fd.propertyIsEnumerable, xi = Object.getOwnPropertySymbols, Ud = xi ? function(e) {
|
|
6458
|
+
return e == null ? [] : (e = Object(e), Hd(xi(e), function(t) {
|
|
6459
|
+
return Bd.call(e, t);
|
|
6466
6460
|
}));
|
|
6467
|
-
} :
|
|
6468
|
-
function
|
|
6461
|
+
} : Wd;
|
|
6462
|
+
function Gd(e, t) {
|
|
6469
6463
|
for (var n = -1, r = t.length, o = e.length; ++n < r; )
|
|
6470
6464
|
e[o + n] = t[n];
|
|
6471
6465
|
return e;
|
|
6472
6466
|
}
|
|
6473
|
-
var
|
|
6474
|
-
function
|
|
6467
|
+
var Kd = pa(Object.getPrototypeOf, Object);
|
|
6468
|
+
function kd(e, t, n) {
|
|
6475
6469
|
var r = t(e);
|
|
6476
|
-
return bs(e) ? r :
|
|
6470
|
+
return bs(e) ? r : Gd(r, n(e));
|
|
6477
6471
|
}
|
|
6478
|
-
function
|
|
6479
|
-
return
|
|
6472
|
+
function Yd(e) {
|
|
6473
|
+
return kd(e, Ld, Ud);
|
|
6480
6474
|
}
|
|
6481
|
-
var zo = mn(
|
|
6482
|
-
(zo &&
|
|
6483
|
-
var t = mr(e), n = t ==
|
|
6475
|
+
var zo = mn(Ct, "DataView"), Jo = mn(Ct, "Promise"), Xo = mn(Ct, "Set"), Zo = mn(Ct, "WeakMap"), Di = "[object Map]", qd = "[object Object]", Ci = "[object Promise]", Pi = "[object Set]", Ii = "[object WeakMap]", $i = "[object DataView]", zd = gn(zo), Jd = gn(ar), Xd = gn(Jo), Zd = gn(Xo), Qd = gn(Zo), Wt = mr;
|
|
6476
|
+
(zo && Wt(new zo(new ArrayBuffer(1))) != $i || ar && Wt(new ar()) != Di || Jo && Wt(Jo.resolve()) != Ci || Xo && Wt(new Xo()) != Pi || Zo && Wt(new Zo()) != Ii) && (Wt = function(e) {
|
|
6477
|
+
var t = mr(e), n = t == qd ? e.constructor : void 0, r = n ? gn(n) : "";
|
|
6484
6478
|
if (r)
|
|
6485
6479
|
switch (r) {
|
|
6486
|
-
case
|
|
6480
|
+
case zd:
|
|
6487
6481
|
return $i;
|
|
6488
|
-
case
|
|
6482
|
+
case Jd:
|
|
6489
6483
|
return Di;
|
|
6490
|
-
case
|
|
6484
|
+
case Xd:
|
|
6491
6485
|
return Ci;
|
|
6492
|
-
case
|
|
6486
|
+
case Zd:
|
|
6493
6487
|
return Pi;
|
|
6494
|
-
case
|
|
6488
|
+
case Qd:
|
|
6495
6489
|
return Ii;
|
|
6496
6490
|
}
|
|
6497
6491
|
return t;
|
|
6498
6492
|
});
|
|
6499
|
-
var
|
|
6500
|
-
function
|
|
6493
|
+
var eh = Object.prototype, th = eh.hasOwnProperty;
|
|
6494
|
+
function nh(e) {
|
|
6501
6495
|
var t = e.length, n = new e.constructor(t);
|
|
6502
|
-
return t && typeof e[0] == "string" &&
|
|
6496
|
+
return t && typeof e[0] == "string" && th.call(e, "index") && (n.index = e.index, n.input = e.input), n;
|
|
6503
6497
|
}
|
|
6504
|
-
var Mi =
|
|
6498
|
+
var Mi = Ct.Uint8Array;
|
|
6505
6499
|
function Os(e) {
|
|
6506
6500
|
var t = new e.constructor(e.byteLength);
|
|
6507
6501
|
return new Mi(t).set(new Mi(e)), t;
|
|
6508
6502
|
}
|
|
6509
|
-
function
|
|
6503
|
+
function rh(e, t) {
|
|
6510
6504
|
var n = Os(e.buffer);
|
|
6511
6505
|
return new e.constructor(n, e.byteOffset, e.byteLength);
|
|
6512
6506
|
}
|
|
6513
|
-
var
|
|
6514
|
-
function
|
|
6515
|
-
var t = new e.constructor(e.source,
|
|
6507
|
+
var oh = /\w*$/;
|
|
6508
|
+
function sh(e) {
|
|
6509
|
+
var t = new e.constructor(e.source, oh.exec(e));
|
|
6516
6510
|
return t.lastIndex = e.lastIndex, t;
|
|
6517
6511
|
}
|
|
6518
6512
|
var Li = Dn ? Dn.prototype : void 0, Vi = Li ? Li.valueOf : void 0;
|
|
6519
|
-
function
|
|
6513
|
+
function ih(e) {
|
|
6520
6514
|
return Vi ? Object(Vi.call(e)) : {};
|
|
6521
6515
|
}
|
|
6522
|
-
function
|
|
6516
|
+
function ch(e, t) {
|
|
6523
6517
|
var n = Os(e.buffer);
|
|
6524
6518
|
return new e.constructor(n, e.byteOffset, e.length);
|
|
6525
6519
|
}
|
|
6526
|
-
var
|
|
6527
|
-
function
|
|
6520
|
+
var ah = "[object Boolean]", uh = "[object Date]", lh = "[object Map]", fh = "[object Number]", ph = "[object RegExp]", dh = "[object Set]", hh = "[object String]", gh = "[object Symbol]", mh = "[object ArrayBuffer]", vh = "[object DataView]", Eh = "[object Float32Array]", yh = "[object Float64Array]", _h = "[object Int8Array]", bh = "[object Int16Array]", wh = "[object Int32Array]", Oh = "[object Uint8Array]", Sh = "[object Uint8ClampedArray]", Ah = "[object Uint16Array]", Nh = "[object Uint32Array]";
|
|
6521
|
+
function Th(e, t, n) {
|
|
6528
6522
|
var r = e.constructor;
|
|
6529
6523
|
switch (t) {
|
|
6530
|
-
case
|
|
6524
|
+
case mh:
|
|
6531
6525
|
return Os(e);
|
|
6526
|
+
case ah:
|
|
6532
6527
|
case uh:
|
|
6533
|
-
case lh:
|
|
6534
6528
|
return new r(+e);
|
|
6529
|
+
case vh:
|
|
6530
|
+
return rh(e);
|
|
6535
6531
|
case Eh:
|
|
6536
|
-
return oh(e);
|
|
6537
6532
|
case yh:
|
|
6538
6533
|
case _h:
|
|
6539
6534
|
case bh:
|
|
@@ -6542,22 +6537,21 @@ function Rh(e, t, n) {
|
|
|
6542
6537
|
case Sh:
|
|
6543
6538
|
case Ah:
|
|
6544
6539
|
case Nh:
|
|
6545
|
-
|
|
6546
|
-
|
|
6547
|
-
case fh:
|
|
6540
|
+
return ch(e);
|
|
6541
|
+
case lh:
|
|
6548
6542
|
return new r();
|
|
6549
|
-
case
|
|
6550
|
-
case
|
|
6543
|
+
case fh:
|
|
6544
|
+
case hh:
|
|
6551
6545
|
return new r(e);
|
|
6546
|
+
case ph:
|
|
6547
|
+
return sh(e);
|
|
6552
6548
|
case dh:
|
|
6553
|
-
return ih(e);
|
|
6554
|
-
case hh:
|
|
6555
6549
|
return new r();
|
|
6556
|
-
case
|
|
6557
|
-
return
|
|
6550
|
+
case gh:
|
|
6551
|
+
return ih(e);
|
|
6558
6552
|
}
|
|
6559
6553
|
}
|
|
6560
|
-
var ji = Object.create,
|
|
6554
|
+
var ji = Object.create, Rh = /* @__PURE__ */ function() {
|
|
6561
6555
|
function e() {
|
|
6562
6556
|
}
|
|
6563
6557
|
return function(t) {
|
|
@@ -6570,20 +6564,20 @@ var ji = Object.create, xh = /* @__PURE__ */ function() {
|
|
|
6570
6564
|
return e.prototype = void 0, n;
|
|
6571
6565
|
};
|
|
6572
6566
|
}();
|
|
6573
|
-
function
|
|
6574
|
-
return typeof e.constructor == "function" && !fa(e) ?
|
|
6567
|
+
function xh(e) {
|
|
6568
|
+
return typeof e.constructor == "function" && !fa(e) ? Rh(Kd(e)) : {};
|
|
6575
6569
|
}
|
|
6576
|
-
var
|
|
6577
|
-
function
|
|
6578
|
-
return vr(e) &&
|
|
6570
|
+
var Dh = "[object Map]";
|
|
6571
|
+
function Ch(e) {
|
|
6572
|
+
return vr(e) && Wt(e) == Dh;
|
|
6579
6573
|
}
|
|
6580
|
-
var Hi = Cn && Cn.isMap,
|
|
6581
|
-
function
|
|
6582
|
-
return vr(e) &&
|
|
6574
|
+
var Hi = Cn && Cn.isMap, Ph = Hi ? ws(Hi) : Ch, Ih = "[object Set]";
|
|
6575
|
+
function $h(e) {
|
|
6576
|
+
return vr(e) && Wt(e) == Ih;
|
|
6583
6577
|
}
|
|
6584
|
-
var Wi = Cn && Cn.isSet,
|
|
6585
|
-
xe[ha] = xe[
|
|
6586
|
-
xe[
|
|
6578
|
+
var Wi = Cn && Cn.isSet, Mh = Wi ? ws(Wi) : $h, ha = "[object Arguments]", Lh = "[object Array]", Vh = "[object Boolean]", jh = "[object Date]", Hh = "[object Error]", ga = "[object Function]", Wh = "[object GeneratorFunction]", Fh = "[object Map]", Bh = "[object Number]", ma = "[object Object]", Uh = "[object RegExp]", Gh = "[object Set]", Kh = "[object String]", kh = "[object Symbol]", Yh = "[object WeakMap]", qh = "[object ArrayBuffer]", zh = "[object DataView]", Jh = "[object Float32Array]", Xh = "[object Float64Array]", Zh = "[object Int8Array]", Qh = "[object Int16Array]", eg = "[object Int32Array]", tg = "[object Uint8Array]", ng = "[object Uint8ClampedArray]", rg = "[object Uint16Array]", og = "[object Uint32Array]", xe = {};
|
|
6579
|
+
xe[ha] = xe[Lh] = xe[qh] = xe[zh] = xe[Vh] = xe[jh] = xe[Jh] = xe[Xh] = xe[Zh] = xe[Qh] = xe[eg] = xe[Fh] = xe[Bh] = xe[ma] = xe[Uh] = xe[Gh] = xe[Kh] = xe[kh] = xe[tg] = xe[ng] = xe[rg] = xe[og] = !0;
|
|
6580
|
+
xe[Hh] = xe[ga] = xe[Yh] = !1;
|
|
6587
6581
|
function Pr(e, t, n, r, o, s) {
|
|
6588
6582
|
var i;
|
|
6589
6583
|
if (i !== void 0)
|
|
@@ -6592,53 +6586,53 @@ function Pr(e, t, n, r, o, s) {
|
|
|
6592
6586
|
return e;
|
|
6593
6587
|
var c = bs(e);
|
|
6594
6588
|
if (c)
|
|
6595
|
-
i =
|
|
6589
|
+
i = nh(e);
|
|
6596
6590
|
else {
|
|
6597
|
-
var l =
|
|
6591
|
+
var l = Wt(e), E = l == ga || l == Wh;
|
|
6598
6592
|
if (aa(e))
|
|
6599
|
-
return
|
|
6593
|
+
return jd(e);
|
|
6600
6594
|
if (l == ma || l == ha || E && !o)
|
|
6601
|
-
i = E ? {} :
|
|
6595
|
+
i = E ? {} : xh(e);
|
|
6602
6596
|
else {
|
|
6603
6597
|
if (!xe[l])
|
|
6604
6598
|
return o ? e : {};
|
|
6605
|
-
i =
|
|
6599
|
+
i = Th(e, l);
|
|
6606
6600
|
}
|
|
6607
6601
|
}
|
|
6608
6602
|
s || (s = new Vn());
|
|
6609
6603
|
var p = s.get(e);
|
|
6610
6604
|
if (p)
|
|
6611
6605
|
return p;
|
|
6612
|
-
s.set(e, i),
|
|
6606
|
+
s.set(e, i), Mh(e) ? e.forEach(function(S) {
|
|
6613
6607
|
i.add(Pr(S, t, n, S, e, s));
|
|
6614
|
-
}) :
|
|
6615
|
-
i.set(
|
|
6608
|
+
}) : Ph(e) && e.forEach(function(S, I) {
|
|
6609
|
+
i.set(I, Pr(S, t, n, I, e, s));
|
|
6616
6610
|
});
|
|
6617
|
-
var d =
|
|
6618
|
-
return
|
|
6619
|
-
h && (
|
|
6611
|
+
var d = Yd, h = c ? void 0 : d(e);
|
|
6612
|
+
return Vp(h || e, function(S, I) {
|
|
6613
|
+
h && (I = S, S = e[I]), Fp(i, I, Pr(S, t, n, I, e, s));
|
|
6620
6614
|
}), i;
|
|
6621
6615
|
}
|
|
6622
|
-
var
|
|
6616
|
+
var sg = 1, ig = 4;
|
|
6623
6617
|
function Fi(e) {
|
|
6624
|
-
return Pr(e,
|
|
6618
|
+
return Pr(e, sg | ig);
|
|
6625
6619
|
}
|
|
6626
6620
|
const cn = {};
|
|
6627
6621
|
let Ir = [];
|
|
6628
|
-
const
|
|
6622
|
+
const cg = (e, t, n) => {
|
|
6629
6623
|
Ir.map((r) => {
|
|
6630
6624
|
var o;
|
|
6631
6625
|
if (((o = r.watchKeys) == null ? void 0 : o.length) > 0 && Object.keys(e).some((s) => r.watchKeys.includes(s)))
|
|
6632
6626
|
return r.cb(t, n);
|
|
6633
6627
|
r.cb(t, n);
|
|
6634
6628
|
});
|
|
6635
|
-
},
|
|
6629
|
+
}, ag = (e) => [...Array(e)].map(() => Math.random().toString(36)[2]).join("").padEnd(e, "0").slice(0, e), Ss = (e, t) => (cn[e] = t, {
|
|
6636
6630
|
set: (r, o) => {
|
|
6637
6631
|
if (!r || typeof r != "object") return;
|
|
6638
6632
|
const s = Fi(cn[e]), { notMerge: i = !1 } = o || {};
|
|
6639
6633
|
i ? cn[e] = r : Object.keys(r || {}).map((c) => {
|
|
6640
6634
|
cn[e][c] = r[c];
|
|
6641
|
-
}),
|
|
6635
|
+
}), cg(r, Fi(cn[e]), s);
|
|
6642
6636
|
},
|
|
6643
6637
|
get: (r) => {
|
|
6644
6638
|
if (!(r && r.length > 0)) return cn[e];
|
|
@@ -6649,12 +6643,12 @@ const ag = (e, t, n) => {
|
|
|
6649
6643
|
}), o;
|
|
6650
6644
|
},
|
|
6651
6645
|
watch: (r, o) => {
|
|
6652
|
-
const s =
|
|
6646
|
+
const s = ag(10);
|
|
6653
6647
|
return Ir.push({ id: s, watchKeys: o || [], cb: r }), () => {
|
|
6654
6648
|
Ir = Ir.filter((i) => i.id !== s);
|
|
6655
6649
|
};
|
|
6656
6650
|
}
|
|
6657
|
-
}),
|
|
6651
|
+
}), ug = "container", lg = {
|
|
6658
6652
|
/** 整个容器是否显示,默认为true,包括内容区域 */
|
|
6659
6653
|
visible: void 0,
|
|
6660
6654
|
/** 外框是否显示,默认为true,外框包括顶部导航栏,左侧菜单栏,tab标签栏 */
|
|
@@ -6699,8 +6693,8 @@ const ag = (e, t, n) => {
|
|
|
6699
6693
|
microAppStickStatus: !1,
|
|
6700
6694
|
/** 容器创建时的初始化配置 */
|
|
6701
6695
|
initOptions: {}
|
|
6702
|
-
},
|
|
6703
|
-
data:
|
|
6696
|
+
}, fg = Ss(ug, lg), pg = {
|
|
6697
|
+
data: fg,
|
|
6704
6698
|
event: co(),
|
|
6705
6699
|
expose: {
|
|
6706
6700
|
/** 获取布局相关的数据key */
|
|
@@ -6717,13 +6711,13 @@ const ag = (e, t, n) => {
|
|
|
6717
6711
|
"mountRect"
|
|
6718
6712
|
]
|
|
6719
6713
|
}
|
|
6720
|
-
},
|
|
6721
|
-
var Io = { exports: {} }, $r = { exports: {} },
|
|
6722
|
-
function
|
|
6714
|
+
}, dg = { container: pg };
|
|
6715
|
+
var Io = { exports: {} }, $r = { exports: {} }, hg = $r.exports, Bi;
|
|
6716
|
+
function gg() {
|
|
6723
6717
|
return Bi || (Bi = 1, function(e, t) {
|
|
6724
6718
|
(function(n, r) {
|
|
6725
6719
|
e.exports = r();
|
|
6726
|
-
})(typeof self < "u" ? self :
|
|
6720
|
+
})(typeof self < "u" ? self : hg, function() {
|
|
6727
6721
|
return function(n) {
|
|
6728
6722
|
var r = {};
|
|
6729
6723
|
function o(s) {
|
|
@@ -6778,7 +6772,7 @@ function mg() {
|
|
|
6778
6772
|
}), o.d(s, "on", function() {
|
|
6779
6773
|
return Hn;
|
|
6780
6774
|
}), o.d(s, "listen", function() {
|
|
6781
|
-
return
|
|
6775
|
+
return nn;
|
|
6782
6776
|
}), o.d(s, "once", function() {
|
|
6783
6777
|
return As;
|
|
6784
6778
|
}), o.d(s, "listener", function() {
|
|
@@ -6823,7 +6817,7 @@ function mg() {
|
|
|
6823
6817
|
}
|
|
6824
6818
|
return !1;
|
|
6825
6819
|
}
|
|
6826
|
-
function
|
|
6820
|
+
function I() {
|
|
6827
6821
|
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window, u = a.location;
|
|
6828
6822
|
if (!u) throw new Error("Can not read window location");
|
|
6829
6823
|
var m = u.protocol;
|
|
@@ -6831,14 +6825,14 @@ function mg() {
|
|
|
6831
6825
|
if (m === c.FILE) return c.FILE + "//";
|
|
6832
6826
|
if (m === c.ABOUT) {
|
|
6833
6827
|
var v = d(a);
|
|
6834
|
-
return v && S(v) ?
|
|
6828
|
+
return v && S(v) ? I(v) : c.ABOUT + "//";
|
|
6835
6829
|
}
|
|
6836
6830
|
var O = u.host;
|
|
6837
6831
|
if (!O) throw new Error("Can not read window host");
|
|
6838
6832
|
return m + "//" + O;
|
|
6839
6833
|
}
|
|
6840
6834
|
function W() {
|
|
6841
|
-
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window, u =
|
|
6835
|
+
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window, u = I(a);
|
|
6842
6836
|
return u && a.mockDomain && a.mockDomain.indexOf(c.MOCK) === 0 ? a.mockDomain : u;
|
|
6843
6837
|
}
|
|
6844
6838
|
function F(a) {
|
|
@@ -6856,7 +6850,7 @@ function mg() {
|
|
|
6856
6850
|
} catch {
|
|
6857
6851
|
}
|
|
6858
6852
|
try {
|
|
6859
|
-
if (
|
|
6853
|
+
if (I(a) === I(window)) return !0;
|
|
6860
6854
|
} catch {
|
|
6861
6855
|
}
|
|
6862
6856
|
return !1;
|
|
@@ -6911,7 +6905,7 @@ function mg() {
|
|
|
6911
6905
|
}
|
|
6912
6906
|
return u;
|
|
6913
6907
|
}
|
|
6914
|
-
var U = [],
|
|
6908
|
+
var U = [], re = [];
|
|
6915
6909
|
function L(a) {
|
|
6916
6910
|
var u = !(arguments.length > 1 && arguments[1] !== void 0) || arguments[1];
|
|
6917
6911
|
try {
|
|
@@ -6952,7 +6946,7 @@ function mg() {
|
|
|
6952
6946
|
return -1;
|
|
6953
6947
|
}(U, a);
|
|
6954
6948
|
if (m !== -1) {
|
|
6955
|
-
var v =
|
|
6949
|
+
var v = re[m];
|
|
6956
6950
|
if (v && function(O) {
|
|
6957
6951
|
if (!O.contentWindow || !O.parentNode) return !0;
|
|
6958
6952
|
var $ = O.ownerDocument;
|
|
@@ -6961,7 +6955,7 @@ function mg() {
|
|
|
6961
6955
|
}
|
|
6962
6956
|
return !1;
|
|
6963
6957
|
}
|
|
6964
|
-
function
|
|
6958
|
+
function oe() {
|
|
6965
6959
|
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window;
|
|
6966
6960
|
return h(a = a || window) || d(a) || void 0;
|
|
6967
6961
|
}
|
|
@@ -7540,13 +7534,13 @@ function mg() {
|
|
|
7540
7534
|
};
|
|
7541
7535
|
});
|
|
7542
7536
|
}
|
|
7543
|
-
var
|
|
7544
|
-
|
|
7537
|
+
var P = {};
|
|
7538
|
+
P[w.SEND_STRATEGIES.POST_MESSAGE] = function(a, u, m) {
|
|
7545
7539
|
(Array.isArray(m) ? m : typeof m == "string" ? [m] : [w.WILDCARD]).map(function(v) {
|
|
7546
7540
|
if (v.indexOf(w.MOCK_PROTOCOL) === 0) {
|
|
7547
7541
|
if (window.location.protocol === w.FILE_PROTOCOL) return w.WILDCARD;
|
|
7548
7542
|
if (!F(a)) throw new Error("Attempting to send messsage to mock domain " + v + ", but window is actually cross-domain");
|
|
7549
|
-
return
|
|
7543
|
+
return I(a);
|
|
7550
7544
|
}
|
|
7551
7545
|
return v.indexOf(w.FILE_PROTOCOL) === 0 ? w.WILDCARD : v;
|
|
7552
7546
|
}).forEach(function(v) {
|
|
@@ -7625,10 +7619,10 @@ function mg() {
|
|
|
7625
7619
|
}
|
|
7626
7620
|
return z;
|
|
7627
7621
|
}(((v = {})[w.WINDOW_PROPS.POSTROBOT] = u, v));
|
|
7628
|
-
return we.map(Object.keys(
|
|
7622
|
+
return we.map(Object.keys(P), function(V) {
|
|
7629
7623
|
return we.try(function() {
|
|
7630
7624
|
if (!ne.ALLOWED_POST_MESSAGE_METHODS[V]) throw new Error("Strategy disallowed: " + V);
|
|
7631
|
-
return
|
|
7625
|
+
return P[V](a, $, m);
|
|
7632
7626
|
}).then(function() {
|
|
7633
7627
|
return O.push(V + ": success"), !0;
|
|
7634
7628
|
}, function(K) {
|
|
@@ -7827,7 +7821,7 @@ function mg() {
|
|
|
7827
7821
|
X || (X = [], H.requestPromises.set($, X));
|
|
7828
7822
|
var fe = we.try(function() {
|
|
7829
7823
|
if (function(ee, z) {
|
|
7830
|
-
var de =
|
|
7824
|
+
var de = oe(z);
|
|
7831
7825
|
if (de) return de === ee;
|
|
7832
7826
|
if (z === ee || function() {
|
|
7833
7827
|
var Pe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window;
|
|
@@ -7844,23 +7838,23 @@ function mg() {
|
|
|
7844
7838
|
if (k(Pe, window) && window.top) return window.top;
|
|
7845
7839
|
} catch {
|
|
7846
7840
|
}
|
|
7847
|
-
for (var Je = 0, Ye = function
|
|
7848
|
-
for (var Wn = [], Fn = 0, vn = te(po),
|
|
7841
|
+
for (var Je = 0, Ye = function It(po) {
|
|
7842
|
+
for (var Wn = [], Fn = 0, vn = te(po), Yt = vn == null ? 0 : vn.length; Fn < Yt; Fn++) {
|
|
7849
7843
|
var pt = vn[Fn];
|
|
7850
7844
|
Wn.push(pt);
|
|
7851
|
-
for (var En = 0,
|
|
7852
|
-
var
|
|
7853
|
-
Wn.push(
|
|
7845
|
+
for (var En = 0, yt = It(pt), yn = yt == null ? 0 : yt.length; En < yn; En++) {
|
|
7846
|
+
var $t = yt[En];
|
|
7847
|
+
Wn.push($t);
|
|
7854
7848
|
}
|
|
7855
7849
|
}
|
|
7856
7850
|
return Wn;
|
|
7857
|
-
}(Pe),
|
|
7858
|
-
var
|
|
7851
|
+
}(Pe), Et = Ye == null ? 0 : Ye.length; Je < Et; Je++) {
|
|
7852
|
+
var Pt = Ye[Je];
|
|
7859
7853
|
try {
|
|
7860
|
-
if (
|
|
7854
|
+
if (Pt.top) return Pt.top;
|
|
7861
7855
|
} catch {
|
|
7862
7856
|
}
|
|
7863
|
-
if (d(
|
|
7857
|
+
if (d(Pt) === Pt) return Pt;
|
|
7864
7858
|
}
|
|
7865
7859
|
}(z) === z) return !1;
|
|
7866
7860
|
for (var me = 0, Me = te(ee), ze = Me == null ? 0 : Me.length; me < ze; me++) if (Me[me] === z) return !0;
|
|
@@ -7884,14 +7878,14 @@ function mg() {
|
|
|
7884
7878
|
var z = v;
|
|
7885
7879
|
return new we(function(de, me) {
|
|
7886
7880
|
var Me = void 0;
|
|
7887
|
-
if (a.fireAndForget || function(Ye,
|
|
7888
|
-
H.responseListeners[Ye] =
|
|
7881
|
+
if (a.fireAndForget || function(Ye, Et) {
|
|
7882
|
+
H.responseListeners[Ye] = Et;
|
|
7889
7883
|
}(V, Me = {
|
|
7890
7884
|
name: u,
|
|
7891
7885
|
window: $,
|
|
7892
7886
|
domain: z,
|
|
7893
|
-
respond: function(Ye,
|
|
7894
|
-
Ye || (K = !0, X.splice(X.indexOf(fe, 1))), Ye ? me(Ye) : de(
|
|
7887
|
+
respond: function(Ye, Et) {
|
|
7888
|
+
Ye || (K = !0, X.splice(X.indexOf(fe, 1))), Ye ? me(Ye) : de(Et);
|
|
7895
7889
|
}
|
|
7896
7890
|
}), N($, {
|
|
7897
7891
|
type: w.POST_MESSAGE_TYPE.REQUEST,
|
|
@@ -7927,7 +7921,7 @@ function mg() {
|
|
|
7927
7921
|
return (v = v || {}).window = a, v.name = u, v.data = m, tt(v);
|
|
7928
7922
|
}
|
|
7929
7923
|
function jn(a, u, m) {
|
|
7930
|
-
var v =
|
|
7924
|
+
var v = oe();
|
|
7931
7925
|
return v ? lt(v, a, u, m) : new we(function(O, $) {
|
|
7932
7926
|
return $(new Error("Window does not have a parent"));
|
|
7933
7927
|
});
|
|
@@ -7948,7 +7942,7 @@ function mg() {
|
|
|
7948
7942
|
} : function(a) {
|
|
7949
7943
|
return a && typeof Symbol == "function" && a.constructor === Symbol && a !== Symbol.prototype ? "symbol" : typeof a;
|
|
7950
7944
|
};
|
|
7951
|
-
function
|
|
7945
|
+
function nn(a) {
|
|
7952
7946
|
if (!a.name) throw new Error("Expected options.name");
|
|
7953
7947
|
if (!a.handler) throw new Error("Expected options.handler");
|
|
7954
7948
|
var u = a.name, m = a.window, v = a.domain, O = {
|
|
@@ -7973,14 +7967,14 @@ function mg() {
|
|
|
7973
7967
|
}
|
|
7974
7968
|
return {
|
|
7975
7969
|
cancel: function() {
|
|
7976
|
-
for (var
|
|
7970
|
+
for (var $t = 0, ho = Me == null ? 0 : Me.length; $t < ho; $t++) Me[$t].cancel();
|
|
7977
7971
|
}
|
|
7978
7972
|
};
|
|
7979
7973
|
}
|
|
7980
7974
|
if (Array.isArray(me)) {
|
|
7981
|
-
for (var
|
|
7982
|
-
var Wn =
|
|
7983
|
-
|
|
7975
|
+
for (var Et = [], Pt = 0, It = me, po = It == null ? 0 : It.length; Pt < po; Pt++) {
|
|
7976
|
+
var Wn = It[Pt];
|
|
7977
|
+
Et.push(X({
|
|
7984
7978
|
name: z,
|
|
7985
7979
|
win: de,
|
|
7986
7980
|
domain: Wn
|
|
@@ -7988,7 +7982,7 @@ function mg() {
|
|
|
7988
7982
|
}
|
|
7989
7983
|
return {
|
|
7990
7984
|
cancel: function() {
|
|
7991
|
-
for (var
|
|
7985
|
+
for (var $t = 0, ho = Et == null ? 0 : Et.length; $t < ho; $t++) Et[$t].cancel();
|
|
7992
7986
|
}
|
|
7993
7987
|
};
|
|
7994
7988
|
}
|
|
@@ -7998,17 +7992,17 @@ function mg() {
|
|
|
7998
7992
|
domain: me
|
|
7999
7993
|
});
|
|
8000
7994
|
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);
|
|
8001
|
-
var vn = H.requestListeners,
|
|
8002
|
-
|
|
8003
|
-
var pt =
|
|
8004
|
-
pt || (pt = {},
|
|
8005
|
-
var En = me.toString(),
|
|
8006
|
-
return _e(me) ? (
|
|
7995
|
+
var vn = H.requestListeners, Yt = vn[z];
|
|
7996
|
+
Yt || (Yt = new Y(), vn[z] = Yt);
|
|
7997
|
+
var pt = Yt.get(de);
|
|
7998
|
+
pt || (pt = {}, Yt.set(de, pt));
|
|
7999
|
+
var En = me.toString(), yt = pt[G], yn = void 0;
|
|
8000
|
+
return _e(me) ? (yt || (yt = [], pt[G] = yt), yn = {
|
|
8007
8001
|
regex: me,
|
|
8008
8002
|
listener: ee
|
|
8009
|
-
},
|
|
8003
|
+
}, yt.push(yn)) : pt[En] = ee, {
|
|
8010
8004
|
cancel: function() {
|
|
8011
|
-
pt && (delete pt[En], de && Object.keys(pt).length === 0 &&
|
|
8005
|
+
pt && (delete pt[En], de && Object.keys(pt).length === 0 && Yt.delete(de), yn && yt.splice(yt.indexOf(yn, 1)));
|
|
8012
8006
|
}
|
|
8013
8007
|
};
|
|
8014
8008
|
}({
|
|
@@ -8041,7 +8035,7 @@ function mg() {
|
|
|
8041
8035
|
};
|
|
8042
8036
|
}
|
|
8043
8037
|
function Hn(a, u, m) {
|
|
8044
|
-
return typeof u == "function" && (m = u, u = {}), (u = u || {}).name = a, u.handler = m || u.handler,
|
|
8038
|
+
return typeof u == "function" && (m = u, u = {}), (u = u || {}).name = a, u.handler = m || u.handler, nn(u);
|
|
8045
8039
|
}
|
|
8046
8040
|
function As(a) {
|
|
8047
8041
|
var u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, m = arguments[2];
|
|
@@ -8052,7 +8046,7 @@ function mg() {
|
|
|
8052
8046
|
}, u.errorHandler = function(X) {
|
|
8053
8047
|
if (K(X), v) return v(X);
|
|
8054
8048
|
};
|
|
8055
|
-
}), $ =
|
|
8049
|
+
}), $ = nn(u);
|
|
8056
8050
|
return O.cancel = $.cancel, O;
|
|
8057
8051
|
}
|
|
8058
8052
|
function Ns() {
|
|
@@ -8067,7 +8061,7 @@ function mg() {
|
|
|
8067
8061
|
function Ts() {
|
|
8068
8062
|
delete window[w.WINDOW_PROPS.POSTROBOT], window.removeEventListener("message", ot);
|
|
8069
8063
|
}
|
|
8070
|
-
var Rs =
|
|
8064
|
+
var Rs = oe();
|
|
8071
8065
|
function xs(a) {
|
|
8072
8066
|
var u = H.requestPromises.get(a);
|
|
8073
8067
|
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"));
|
|
@@ -8090,7 +8084,7 @@ function mg() {
|
|
|
8090
8084
|
origin: V
|
|
8091
8085
|
});
|
|
8092
8086
|
});
|
|
8093
|
-
var m, v =
|
|
8087
|
+
var m, v = oe();
|
|
8094
8088
|
v && _(v).catch(Q);
|
|
8095
8089
|
}(), f({
|
|
8096
8090
|
on: Hn,
|
|
@@ -8120,7 +8114,7 @@ function mg() {
|
|
|
8120
8114
|
}), o.d(r, "on", function() {
|
|
8121
8115
|
return Hn;
|
|
8122
8116
|
}), o.d(r, "listen", function() {
|
|
8123
|
-
return
|
|
8117
|
+
return nn;
|
|
8124
8118
|
}), o.d(r, "once", function() {
|
|
8125
8119
|
return As;
|
|
8126
8120
|
}), o.d(r, "listener", function() {
|
|
@@ -8138,43 +8132,43 @@ function mg() {
|
|
|
8138
8132
|
}($r)), $r.exports;
|
|
8139
8133
|
}
|
|
8140
8134
|
var Ui;
|
|
8141
|
-
function
|
|
8135
|
+
function mg() {
|
|
8142
8136
|
return Ui || (Ui = 1, function(e) {
|
|
8143
|
-
e.exports =
|
|
8137
|
+
e.exports = gg(), e.exports.default = e.exports;
|
|
8144
8138
|
}(Io)), Io.exports;
|
|
8145
8139
|
}
|
|
8146
|
-
var Pn =
|
|
8147
|
-
const va = [],
|
|
8140
|
+
var Pn = mg();
|
|
8141
|
+
const va = [], vg = async (e) => {
|
|
8148
8142
|
va.push(e);
|
|
8149
|
-
},
|
|
8143
|
+
}, Eg = async (e, t, n) => {
|
|
8150
8144
|
const r = va.find((o) => o.name === e);
|
|
8151
8145
|
return r ? Pn.send(r.contentWindow, t, n).then((o) => [null, o.data]).catch((o) => [o, null]) : [{ msg: "microApp not exit" }, null];
|
|
8152
|
-
},
|
|
8153
|
-
data:
|
|
8146
|
+
}, yg = "mainApp", _g = {}, bg = Ss(yg, _g), wg = {
|
|
8147
|
+
data: bg,
|
|
8154
8148
|
cors: {
|
|
8155
|
-
send:
|
|
8149
|
+
send: Eg,
|
|
8156
8150
|
on: (e, t, n) => Pn.on(e, t, n),
|
|
8157
8151
|
once: (e, t, n) => Pn.once(e, t, n)
|
|
8158
8152
|
},
|
|
8159
8153
|
expose: {
|
|
8160
|
-
connectMicroApp:
|
|
8154
|
+
connectMicroApp: vg
|
|
8161
8155
|
},
|
|
8162
8156
|
event: co()
|
|
8163
|
-
},
|
|
8157
|
+
}, Og = { mainApp: wg }, Sg = "microApp", Ag = async (e, t) => Pn.send(window.parent, e, t).then((n) => [null, n.data]).catch((n) => [n, null]), Ng = {
|
|
8164
8158
|
appInfo: {}
|
|
8165
|
-
},
|
|
8166
|
-
data:
|
|
8159
|
+
}, Tg = Ss(Sg, Ng), Rg = {
|
|
8160
|
+
data: Tg,
|
|
8167
8161
|
cors: {
|
|
8168
|
-
send:
|
|
8162
|
+
send: Ag,
|
|
8169
8163
|
on: (e, t, n) => Pn.on(e, t, n),
|
|
8170
8164
|
once: (e, t, n) => Pn.once(e, t, n)
|
|
8171
8165
|
},
|
|
8172
8166
|
event: co()
|
|
8173
|
-
},
|
|
8174
|
-
...
|
|
8175
|
-
...
|
|
8176
|
-
...
|
|
8177
|
-
},
|
|
8167
|
+
}, xg = { microApp: Rg }, Dg = {
|
|
8168
|
+
...dg,
|
|
8169
|
+
...Og,
|
|
8170
|
+
...xg
|
|
8171
|
+
}, vt = (e) => Dg[e], nt = {
|
|
8178
8172
|
registered: "registered",
|
|
8179
8173
|
loading: "loading",
|
|
8180
8174
|
mounted: "mounted",
|
|
@@ -8184,9 +8178,9 @@ const va = [], Eg = async (e) => {
|
|
|
8184
8178
|
error: "error"
|
|
8185
8179
|
};
|
|
8186
8180
|
let Or = Ge(null);
|
|
8187
|
-
const
|
|
8188
|
-
const e =
|
|
8189
|
-
const s = Array.from(
|
|
8181
|
+
const bt = /* @__PURE__ */ new Map(), Qo = () => {
|
|
8182
|
+
const e = vt("container"), t = co(), n = (o) => {
|
|
8183
|
+
const s = Array.from(bt).find(([l, E]) => {
|
|
8190
8184
|
if (o) return o === l;
|
|
8191
8185
|
if (E.element)
|
|
8192
8186
|
return getComputedStyle(E.element).display === "block";
|
|
@@ -8206,18 +8200,18 @@ const wt = /* @__PURE__ */ new Map(), Qo = () => {
|
|
|
8206
8200
|
status: nt.registered,
|
|
8207
8201
|
element: null
|
|
8208
8202
|
};
|
|
8209
|
-
|
|
8203
|
+
bt.set(o, i);
|
|
8210
8204
|
},
|
|
8211
|
-
getIframeInfo: (o) =>
|
|
8212
|
-
checkIframeStatus: (o, s) => Array.isArray(s) ? s.includes(
|
|
8205
|
+
getIframeInfo: (o) => bt.get(o),
|
|
8206
|
+
checkIframeStatus: (o, s) => Array.isArray(s) ? s.includes(bt.get(o).status) : bt.get(o).status === s,
|
|
8213
8207
|
iframeEvent: t,
|
|
8214
8208
|
loadIframe: async (o, s) => {
|
|
8215
8209
|
var h, S;
|
|
8216
|
-
Or.value || await new Promise((
|
|
8217
|
-
const i =
|
|
8210
|
+
Or.value || await new Promise((I) => Nt(() => Or.value, I));
|
|
8211
|
+
const i = bt.get(o);
|
|
8218
8212
|
if (!i || i.status === nt.loading) return;
|
|
8219
|
-
if (Array.from(
|
|
8220
|
-
i.element.style.display = "block", i.status = nt.activated, t.emit(nt.activated, i), await new Promise((
|
|
8213
|
+
if (Array.from(bt).map((I) => I[1]).filter((I) => I.id !== o).map((I) => n(I.id)), i.element && getComputedStyle(i.element).display !== "block") {
|
|
8214
|
+
i.element.style.display = "block", i.status = nt.activated, t.emit(nt.activated, i), await new Promise((I) => setTimeout(I, 0));
|
|
8221
8215
|
return;
|
|
8222
8216
|
}
|
|
8223
8217
|
i.status = nt.loading, t.emit(nt.activated, i);
|
|
@@ -8230,25 +8224,25 @@ const wt = /* @__PURE__ */ new Map(), Qo = () => {
|
|
|
8230
8224
|
origin: window.origin
|
|
8231
8225
|
}
|
|
8232
8226
|
}), Or.value.appendChild(c);
|
|
8233
|
-
const [p, d] = await new Promise((
|
|
8234
|
-
c.onload = (W) =>
|
|
8227
|
+
const [p, d] = await new Promise((I) => {
|
|
8228
|
+
c.onload = (W) => I([null, W]), c.onerror = () => I([new Error(`${o} IFrame load failed`), null]);
|
|
8235
8229
|
});
|
|
8236
8230
|
if (p) {
|
|
8237
8231
|
i.status = nt.error, t.emit(nt.error, i);
|
|
8238
8232
|
return;
|
|
8239
8233
|
}
|
|
8240
|
-
i.element = c, i.status = nt.mounted,
|
|
8234
|
+
i.element = c, i.status = nt.mounted, bt.set(o, { ...i, element: c }), t.emit(nt.mounted, {
|
|
8241
8235
|
...i.config,
|
|
8242
8236
|
contentWindow: d.target.contentWindow
|
|
8243
8237
|
});
|
|
8244
8238
|
},
|
|
8245
8239
|
hideIframe: n,
|
|
8246
8240
|
destroyIframe: (o) => {
|
|
8247
|
-
const s =
|
|
8248
|
-
s && (s.element.remove(), s.status = nt.destroy, t.emit(nt.destroy, s),
|
|
8241
|
+
const s = bt.get(o);
|
|
8242
|
+
s && (s.element.remove(), s.status = nt.destroy, t.emit(nt.destroy, s), bt.delete(o));
|
|
8249
8243
|
}
|
|
8250
8244
|
};
|
|
8251
|
-
},
|
|
8245
|
+
}, Mg = (e, t) => {
|
|
8252
8246
|
const { interval: n = 50, times: r = 10 } = t || {};
|
|
8253
8247
|
return new Promise((o) => {
|
|
8254
8248
|
let s = 0;
|
|
@@ -8261,13 +8255,13 @@ const wt = /* @__PURE__ */ new Map(), Qo = () => {
|
|
|
8261
8255
|
});
|
|
8262
8256
|
};
|
|
8263
8257
|
export {
|
|
8264
|
-
|
|
8258
|
+
vt as bus,
|
|
8265
8259
|
Qc as createContainer,
|
|
8266
|
-
|
|
8267
|
-
|
|
8268
|
-
|
|
8269
|
-
|
|
8270
|
-
|
|
8260
|
+
Cg as createMainApp,
|
|
8261
|
+
$g as createMicroApp,
|
|
8262
|
+
Mg as pollVariable,
|
|
8263
|
+
Ig as reportRouter,
|
|
8264
|
+
Pg as syncRouter,
|
|
8271
8265
|
Qo as useIframeManager,
|
|
8272
8266
|
ea as useRouter,
|
|
8273
8267
|
ta as useRouterEventListener
|