@das-fed/mframe 0.0.25-hot.0 → 0.0.25-hot.1
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 +1050 -1044
- package/index.d.ts +2 -2
- package/index.js +843 -836
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -11,22 +11,22 @@ function In(e) {
|
|
|
11
11
|
return (n) => n in t;
|
|
12
12
|
}
|
|
13
13
|
const Ne = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, Sn = process.env.NODE_ENV !== "production" ? Object.freeze([]) : [], Be = () => {
|
|
14
|
-
},
|
|
14
|
+
}, Ea = () => !1, lr = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
|
|
15
15
|
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), Mr = (e) => e.startsWith("onUpdate:"), He = Object.assign, es = (e, t) => {
|
|
16
16
|
const n = e.indexOf(t);
|
|
17
17
|
n > -1 && e.splice(n, 1);
|
|
18
|
-
},
|
|
18
|
+
}, ya = Object.prototype.hasOwnProperty, Oe = (e, t) => ya.call(e, t), ae = Array.isArray, An = (e) => qr(e) === "[object Map]", _a = (e) => qr(e) === "[object Set]", pe = (e) => typeof e == "function", We = (e) => typeof e == "string", $n = (e) => typeof e == "symbol", De = (e) => e !== null && typeof e == "object", ts = (e) => (De(e) || pe(e)) && pe(e.then) && pe(e.catch), ba = Object.prototype.toString, qr = (e) => ba.call(e), ns = (e) => qr(e).slice(8, -1), wa = (e) => qr(e) === "[object Object]", rs = (e) => We(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, Xn = /* @__PURE__ */ In(
|
|
19
19
|
// the leading comma is intentional so empty string "" is also included
|
|
20
20
|
",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
|
|
21
|
-
),
|
|
21
|
+
), Oa = /* @__PURE__ */ In(
|
|
22
22
|
"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"
|
|
23
23
|
), zr = (e) => {
|
|
24
24
|
const t = /* @__PURE__ */ Object.create(null);
|
|
25
25
|
return (n) => t[n] || (t[n] = e(n));
|
|
26
|
-
},
|
|
27
|
-
(e) => e.replace(
|
|
28
|
-
),
|
|
29
|
-
(e) => e.replace(
|
|
26
|
+
}, Sa = /-(\w)/g, mt = zr(
|
|
27
|
+
(e) => e.replace(Sa, (t, n) => n ? n.toUpperCase() : "")
|
|
28
|
+
), Aa = /\B([A-Z])/g, tn = zr(
|
|
29
|
+
(e) => e.replace(Aa, "-$1").toLowerCase()
|
|
30
30
|
), Jr = zr((e) => e.charAt(0).toUpperCase() + e.slice(1)), an = zr(
|
|
31
31
|
(e) => e ? `on${Jr(e)}` : ""
|
|
32
32
|
), en = (e, t) => !Object.is(e, t), Bn = (e, ...t) => {
|
|
@@ -39,7 +39,7 @@ const Ne = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, Sn =
|
|
|
39
39
|
writable: r,
|
|
40
40
|
value: n
|
|
41
41
|
});
|
|
42
|
-
},
|
|
42
|
+
}, Na = (e) => {
|
|
43
43
|
const t = parseFloat(e);
|
|
44
44
|
return isNaN(t) ? e : t;
|
|
45
45
|
};
|
|
@@ -49,7 +49,7 @@ function Wt(e) {
|
|
|
49
49
|
if (ae(e)) {
|
|
50
50
|
const t = {};
|
|
51
51
|
for (let n = 0; n < e.length; n++) {
|
|
52
|
-
const r = e[n], o = We(r) ?
|
|
52
|
+
const r = e[n], o = We(r) ? Da(r) : Wt(r);
|
|
53
53
|
if (o)
|
|
54
54
|
for (const s in o)
|
|
55
55
|
t[s] = o[s];
|
|
@@ -58,12 +58,12 @@ function Wt(e) {
|
|
|
58
58
|
} else if (We(e) || De(e))
|
|
59
59
|
return e;
|
|
60
60
|
}
|
|
61
|
-
const
|
|
62
|
-
function
|
|
61
|
+
const Ta = /;(?![^(]*\))/g, Ra = /:([^]+)/, xa = /\/\*[^]*?\*\//g;
|
|
62
|
+
function Da(e) {
|
|
63
63
|
const t = {};
|
|
64
|
-
return e.replace(
|
|
64
|
+
return e.replace(xa, "").split(Ta).forEach((n) => {
|
|
65
65
|
if (n) {
|
|
66
|
-
const r = n.split(
|
|
66
|
+
const r = n.split(Ra);
|
|
67
67
|
r.length > 1 && (t[r[0].trim()] = r[1].trim());
|
|
68
68
|
}
|
|
69
69
|
}), t;
|
|
@@ -82,8 +82,8 @@ function os(e) {
|
|
|
82
82
|
e[n] && (t += n + " ");
|
|
83
83
|
return t.trim();
|
|
84
84
|
}
|
|
85
|
-
const
|
|
86
|
-
function
|
|
85
|
+
const Ca = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly", Pa = /* @__PURE__ */ In(Ca);
|
|
86
|
+
function Gi(e) {
|
|
87
87
|
return !!e || e === "";
|
|
88
88
|
}
|
|
89
89
|
/**
|
|
@@ -94,7 +94,7 @@ function Ui(e) {
|
|
|
94
94
|
function Ct(e, ...t) {
|
|
95
95
|
}
|
|
96
96
|
let it;
|
|
97
|
-
class
|
|
97
|
+
class Ia {
|
|
98
98
|
constructor(t = !1) {
|
|
99
99
|
this.detached = t, this._active = !0, this.effects = [], this.cleanups = [], this._isPaused = !1, this.parent = it, !t && it && (this.index = (it.scopes || (it.scopes = [])).push(
|
|
100
100
|
this
|
|
@@ -173,12 +173,12 @@ class Pa {
|
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function $a() {
|
|
177
177
|
return it;
|
|
178
178
|
}
|
|
179
179
|
let Ae;
|
|
180
180
|
const go = /* @__PURE__ */ new WeakSet();
|
|
181
|
-
class
|
|
181
|
+
class Ki {
|
|
182
182
|
constructor(t) {
|
|
183
183
|
this.fn = t, this.deps = void 0, this.depsTail = void 0, this.flags = 5, this.next = void 0, this.cleanup = void 0, this.scheduler = void 0, it && it.active && it.effects.push(this);
|
|
184
184
|
}
|
|
@@ -192,12 +192,12 @@ class Gi {
|
|
|
192
192
|
* @internal
|
|
193
193
|
*/
|
|
194
194
|
notify() {
|
|
195
|
-
this.flags & 2 && !(this.flags & 32) || this.flags & 8 ||
|
|
195
|
+
this.flags & 2 && !(this.flags & 32) || this.flags & 8 || Yi(this);
|
|
196
196
|
}
|
|
197
197
|
run() {
|
|
198
198
|
if (!(this.flags & 1))
|
|
199
199
|
return this.fn();
|
|
200
|
-
this.flags |= 2, Ps(this),
|
|
200
|
+
this.flags |= 2, Ps(this), qi(this);
|
|
201
201
|
const t = Ae, n = vt;
|
|
202
202
|
Ae = this, vt = !0;
|
|
203
203
|
try {
|
|
@@ -205,7 +205,7 @@ class Gi {
|
|
|
205
205
|
} finally {
|
|
206
206
|
process.env.NODE_ENV !== "production" && Ae !== this && Ct(
|
|
207
207
|
"Active effect was not restored correctly - this is likely a Vue internal bug."
|
|
208
|
-
),
|
|
208
|
+
), zi(this), Ae = t, vt = n, this.flags &= -3;
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
stop() {
|
|
@@ -228,8 +228,8 @@ class Gi {
|
|
|
228
228
|
return $o(this);
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
|
-
let
|
|
232
|
-
function
|
|
231
|
+
let ki = 0, Zn, Qn;
|
|
232
|
+
function Yi(e, t = !1) {
|
|
233
233
|
if (e.flags |= 8, t) {
|
|
234
234
|
e.next = Qn, Qn = e;
|
|
235
235
|
return;
|
|
@@ -237,10 +237,10 @@ function ki(e, t = !1) {
|
|
|
237
237
|
e.next = Zn, Zn = e;
|
|
238
238
|
}
|
|
239
239
|
function ss() {
|
|
240
|
-
|
|
240
|
+
ki++;
|
|
241
241
|
}
|
|
242
242
|
function is() {
|
|
243
|
-
if (--
|
|
243
|
+
if (--ki > 0)
|
|
244
244
|
return;
|
|
245
245
|
if (Qn) {
|
|
246
246
|
let t = Qn;
|
|
@@ -265,25 +265,25 @@ function is() {
|
|
|
265
265
|
}
|
|
266
266
|
if (e) throw e;
|
|
267
267
|
}
|
|
268
|
-
function
|
|
268
|
+
function qi(e) {
|
|
269
269
|
for (let t = e.deps; t; t = t.nextDep)
|
|
270
270
|
t.version = -1, t.prevActiveLink = t.dep.activeLink, t.dep.activeLink = t;
|
|
271
271
|
}
|
|
272
|
-
function
|
|
272
|
+
function zi(e) {
|
|
273
273
|
let t, n = e.depsTail, r = n;
|
|
274
274
|
for (; r; ) {
|
|
275
275
|
const o = r.prevDep;
|
|
276
|
-
r.version === -1 ? (r === n && (n = o), cs(r),
|
|
276
|
+
r.version === -1 ? (r === n && (n = o), cs(r), Ma(r)) : t = r, r.dep.activeLink = r.prevActiveLink, r.prevActiveLink = void 0, r = o;
|
|
277
277
|
}
|
|
278
278
|
e.deps = t, e.depsTail = n;
|
|
279
279
|
}
|
|
280
280
|
function $o(e) {
|
|
281
281
|
for (let t = e.deps; t; t = t.nextDep)
|
|
282
|
-
if (t.dep.version !== t.version || t.dep.computed && (
|
|
282
|
+
if (t.dep.version !== t.version || t.dep.computed && (Ji(t.dep.computed) || t.dep.version !== t.version))
|
|
283
283
|
return !0;
|
|
284
284
|
return !!e._dirty;
|
|
285
285
|
}
|
|
286
|
-
function
|
|
286
|
+
function Ji(e) {
|
|
287
287
|
if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion === rr))
|
|
288
288
|
return;
|
|
289
289
|
e.globalVersion = rr;
|
|
@@ -295,13 +295,13 @@ function zi(e) {
|
|
|
295
295
|
const n = Ae, r = vt;
|
|
296
296
|
Ae = e, vt = !0;
|
|
297
297
|
try {
|
|
298
|
-
|
|
298
|
+
qi(e);
|
|
299
299
|
const o = e.fn(e._value);
|
|
300
300
|
(t.version === 0 || en(o, e._value)) && (e._value = o, t.version++);
|
|
301
301
|
} catch (o) {
|
|
302
302
|
throw t.version++, o;
|
|
303
303
|
} finally {
|
|
304
|
-
Ae = n, vt = r,
|
|
304
|
+
Ae = n, vt = r, zi(e), e.flags &= -3;
|
|
305
305
|
}
|
|
306
306
|
}
|
|
307
307
|
function cs(e, t = !1) {
|
|
@@ -313,17 +313,17 @@ function cs(e, t = !1) {
|
|
|
313
313
|
}
|
|
314
314
|
!t && !--n.sc && n.map && n.map.delete(n.key);
|
|
315
315
|
}
|
|
316
|
-
function
|
|
316
|
+
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
320
|
let vt = !0;
|
|
321
|
-
const
|
|
321
|
+
const Xi = [];
|
|
322
322
|
function Gt() {
|
|
323
|
-
|
|
323
|
+
Xi.push(vt), vt = !1;
|
|
324
324
|
}
|
|
325
325
|
function Kt() {
|
|
326
|
-
const e =
|
|
326
|
+
const e = Xi.pop();
|
|
327
327
|
vt = e === void 0 ? !0 : e;
|
|
328
328
|
}
|
|
329
329
|
function Ps(e) {
|
|
@@ -339,7 +339,7 @@ function Ps(e) {
|
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
341
|
let rr = 0;
|
|
342
|
-
class
|
|
342
|
+
class La {
|
|
343
343
|
constructor(t, n) {
|
|
344
344
|
this.sub = t, this.dep = n, this.version = n.version, this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0;
|
|
345
345
|
}
|
|
@@ -353,7 +353,7 @@ class as {
|
|
|
353
353
|
return;
|
|
354
354
|
let n = this.activeLink;
|
|
355
355
|
if (n === void 0 || n.sub !== Ae)
|
|
356
|
-
n = this.activeLink = new
|
|
356
|
+
n = this.activeLink = new La(Ae, this), Ae.deps ? (n.prevDep = Ae.depsTail, Ae.depsTail.nextDep = n, Ae.depsTail = n) : Ae.deps = Ae.depsTail = n, Zi(n);
|
|
357
357
|
else if (n.version === -1 && (n.version = this.version, n.nextDep)) {
|
|
358
358
|
const r = n.nextDep;
|
|
359
359
|
r.prevDep = n.prevDep, n.prevDep && (n.prevDep.nextDep = r), n.prevDep = Ae.depsTail, n.nextDep = void 0, Ae.depsTail.nextDep = n, Ae.depsTail = n, Ae.deps === n && (Ae.deps = r);
|
|
@@ -390,13 +390,13 @@ class as {
|
|
|
390
390
|
}
|
|
391
391
|
}
|
|
392
392
|
}
|
|
393
|
-
function
|
|
393
|
+
function Zi(e) {
|
|
394
394
|
if (e.dep.sc++, e.sub.flags & 4) {
|
|
395
395
|
const t = e.dep.computed;
|
|
396
396
|
if (t && !e.dep.subs) {
|
|
397
397
|
t.flags |= 20;
|
|
398
398
|
for (let r = t.deps; r; r = r.nextDep)
|
|
399
|
-
|
|
399
|
+
Zi(r);
|
|
400
400
|
}
|
|
401
401
|
const n = e.dep.subs;
|
|
402
402
|
n !== e && (e.prevSub = n, n && (n.nextSub = e)), process.env.NODE_ENV !== "production" && e.dep.subsHead === void 0 && (e.dep.subsHead = e), e.dep.subs = e;
|
|
@@ -468,7 +468,7 @@ function _n(e) {
|
|
|
468
468
|
function us(e) {
|
|
469
469
|
return Fe(e = Ee(e), "iterate", or), e;
|
|
470
470
|
}
|
|
471
|
-
const
|
|
471
|
+
const Va = {
|
|
472
472
|
__proto__: null,
|
|
473
473
|
[Symbol.iterator]() {
|
|
474
474
|
return mo(this, Symbol.iterator, Ze);
|
|
@@ -564,10 +564,10 @@ function mo(e, t, n) {
|
|
|
564
564
|
return s.value && (s.value = n(s.value)), s;
|
|
565
565
|
}), o;
|
|
566
566
|
}
|
|
567
|
-
const
|
|
567
|
+
const ja = Array.prototype;
|
|
568
568
|
function Vt(e, t, n, r, o, s) {
|
|
569
569
|
const i = us(e), c = i !== e && !rt(e), l = i[t];
|
|
570
|
-
if (l !==
|
|
570
|
+
if (l !== ja[t]) {
|
|
571
571
|
const d = l.apply(e, s);
|
|
572
572
|
return c ? Ze(d) : d;
|
|
573
573
|
}
|
|
@@ -600,15 +600,15 @@ function Un(e, t, n = []) {
|
|
|
600
600
|
const r = Ee(e)[t].apply(e, n);
|
|
601
601
|
return is(), Kt(), r;
|
|
602
602
|
}
|
|
603
|
-
const
|
|
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)
|
|
605
605
|
);
|
|
606
|
-
function
|
|
606
|
+
function Wa(e) {
|
|
607
607
|
$n(e) || (e = String(e));
|
|
608
608
|
const t = Ee(this);
|
|
609
609
|
return Fe(t, "has", e), t.hasOwnProperty(e);
|
|
610
610
|
}
|
|
611
|
-
class
|
|
611
|
+
class ec {
|
|
612
612
|
constructor(t = !1, n = !1) {
|
|
613
613
|
this._isReadonly = t, this._isShallow = n;
|
|
614
614
|
}
|
|
@@ -622,16 +622,16 @@ class Qi {
|
|
|
622
622
|
if (n === "__v_isShallow")
|
|
623
623
|
return s;
|
|
624
624
|
if (n === "__v_raw")
|
|
625
|
-
return r === (o ? s ?
|
|
625
|
+
return r === (o ? s ? ic : sc : s ? oc : rc).get(t) || // receiver is not the reactive proxy, but has the same prototype
|
|
626
626
|
// this means the receiver is a user proxy of the reactive proxy
|
|
627
627
|
Object.getPrototypeOf(t) === Object.getPrototypeOf(r) ? t : void 0;
|
|
628
628
|
const i = ae(t);
|
|
629
629
|
if (!o) {
|
|
630
630
|
let l;
|
|
631
|
-
if (i && (l =
|
|
631
|
+
if (i && (l = Va[n]))
|
|
632
632
|
return l;
|
|
633
633
|
if (n === "hasOwnProperty")
|
|
634
|
-
return
|
|
634
|
+
return Wa;
|
|
635
635
|
}
|
|
636
636
|
const c = Reflect.get(
|
|
637
637
|
t,
|
|
@@ -641,10 +641,10 @@ class Qi {
|
|
|
641
641
|
// its class methods
|
|
642
642
|
je(t) ? t : r
|
|
643
643
|
);
|
|
644
|
-
return ($n(n) ?
|
|
644
|
+
return ($n(n) ? Qi.has(n) : Ha(n)) || (o || Fe(t, "get", n), s) ? c : je(c) ? i && rs(n) ? c : c.value : De(c) ? o ? cc(c) : ls(c) : c;
|
|
645
645
|
}
|
|
646
646
|
}
|
|
647
|
-
class
|
|
647
|
+
class tc extends ec {
|
|
648
648
|
constructor(t = !1) {
|
|
649
649
|
super(!1, t);
|
|
650
650
|
}
|
|
@@ -669,7 +669,7 @@ class ec extends Qi {
|
|
|
669
669
|
}
|
|
670
670
|
has(t, n) {
|
|
671
671
|
const r = Reflect.has(t, n);
|
|
672
|
-
return (!$n(n) || !
|
|
672
|
+
return (!$n(n) || !Qi.has(n)) && Fe(t, "has", n), r;
|
|
673
673
|
}
|
|
674
674
|
ownKeys(t) {
|
|
675
675
|
return Fe(
|
|
@@ -679,7 +679,7 @@ class ec extends Qi {
|
|
|
679
679
|
), Reflect.ownKeys(t);
|
|
680
680
|
}
|
|
681
681
|
}
|
|
682
|
-
class
|
|
682
|
+
class nc extends ec {
|
|
683
683
|
constructor(t = !1) {
|
|
684
684
|
super(!0, t);
|
|
685
685
|
}
|
|
@@ -696,8 +696,8 @@ class tc extends Qi {
|
|
|
696
696
|
), !0;
|
|
697
697
|
}
|
|
698
698
|
}
|
|
699
|
-
const
|
|
700
|
-
function
|
|
699
|
+
const Fa = /* @__PURE__ */ new tc(), Ba = /* @__PURE__ */ new nc(), Ua = /* @__PURE__ */ new tc(!0), Ga = /* @__PURE__ */ new nc(!0), Vo = (e) => e, Er = (e) => Reflect.getPrototypeOf(e);
|
|
700
|
+
function Ka(e, t, n) {
|
|
701
701
|
return function(...r) {
|
|
702
702
|
const o = this.__v_raw, s = Ee(o), i = An(s), c = e === "entries" || e === Symbol.iterator && i, l = e === "keys" && i, E = o[e](...r), p = n ? Vo : t ? jo : Ze;
|
|
703
703
|
return !t && Fe(
|
|
@@ -732,7 +732,7 @@ function yr(e) {
|
|
|
732
732
|
return e === "delete" ? !1 : e === "clear" ? void 0 : this;
|
|
733
733
|
};
|
|
734
734
|
}
|
|
735
|
-
function
|
|
735
|
+
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);
|
|
@@ -802,24 +802,24 @@ function Ka(e, t) {
|
|
|
802
802
|
"entries",
|
|
803
803
|
Symbol.iterator
|
|
804
804
|
].forEach((o) => {
|
|
805
|
-
n[o] =
|
|
805
|
+
n[o] = Ka(o, e, t);
|
|
806
806
|
}), n;
|
|
807
807
|
}
|
|
808
808
|
function Xr(e, t) {
|
|
809
|
-
const n =
|
|
809
|
+
const n = ka(e, t);
|
|
810
810
|
return (r, o, s) => o === "__v_isReactive" ? !e : o === "__v_isReadonly" ? e : o === "__v_raw" ? r : Reflect.get(
|
|
811
811
|
Oe(n, o) && o in r ? n : r,
|
|
812
812
|
o,
|
|
813
813
|
s
|
|
814
814
|
);
|
|
815
815
|
}
|
|
816
|
-
const
|
|
816
|
+
const Ya = {
|
|
817
817
|
get: /* @__PURE__ */ Xr(!1, !1)
|
|
818
|
-
}, Ya = {
|
|
819
|
-
get: /* @__PURE__ */ Xr(!1, !0)
|
|
820
818
|
}, qa = {
|
|
821
|
-
get: /* @__PURE__ */ Xr(!
|
|
819
|
+
get: /* @__PURE__ */ Xr(!1, !0)
|
|
822
820
|
}, za = {
|
|
821
|
+
get: /* @__PURE__ */ Xr(!0, !1)
|
|
822
|
+
}, Ja = {
|
|
823
823
|
get: /* @__PURE__ */ Xr(!0, !0)
|
|
824
824
|
};
|
|
825
825
|
function $s(e, t, n) {
|
|
@@ -831,8 +831,8 @@ function $s(e, t, n) {
|
|
|
831
831
|
);
|
|
832
832
|
}
|
|
833
833
|
}
|
|
834
|
-
const
|
|
835
|
-
function
|
|
834
|
+
const rc = /* @__PURE__ */ new WeakMap(), oc = /* @__PURE__ */ new WeakMap(), sc = /* @__PURE__ */ new WeakMap(), ic = /* @__PURE__ */ new WeakMap();
|
|
835
|
+
function Xa(e) {
|
|
836
836
|
switch (e) {
|
|
837
837
|
case "Object":
|
|
838
838
|
case "Array":
|
|
@@ -846,43 +846,43 @@ function Ja(e) {
|
|
|
846
846
|
return 0;
|
|
847
847
|
}
|
|
848
848
|
}
|
|
849
|
-
function
|
|
850
|
-
return e.__v_skip || !Object.isExtensible(e) ? 0 :
|
|
849
|
+
function Za(e) {
|
|
850
|
+
return e.__v_skip || !Object.isExtensible(e) ? 0 : Xa(ns(e));
|
|
851
851
|
}
|
|
852
852
|
function ls(e) {
|
|
853
853
|
return Ut(e) ? e : Zr(
|
|
854
854
|
e,
|
|
855
855
|
!1,
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
856
|
+
Fa,
|
|
857
|
+
Ya,
|
|
858
|
+
rc
|
|
859
859
|
);
|
|
860
860
|
}
|
|
861
|
-
function
|
|
861
|
+
function Qa(e) {
|
|
862
862
|
return Zr(
|
|
863
863
|
e,
|
|
864
864
|
!1,
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
865
|
+
Ua,
|
|
866
|
+
qa,
|
|
867
|
+
oc
|
|
868
868
|
);
|
|
869
869
|
}
|
|
870
|
-
function
|
|
870
|
+
function cc(e) {
|
|
871
871
|
return Zr(
|
|
872
872
|
e,
|
|
873
873
|
!0,
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
874
|
+
Ba,
|
|
875
|
+
za,
|
|
876
|
+
sc
|
|
877
877
|
);
|
|
878
878
|
}
|
|
879
879
|
function xt(e) {
|
|
880
880
|
return Zr(
|
|
881
881
|
e,
|
|
882
882
|
!0,
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
883
|
+
Ga,
|
|
884
|
+
Ja,
|
|
885
|
+
ic
|
|
886
886
|
);
|
|
887
887
|
}
|
|
888
888
|
function Zr(e, t, n, r, o) {
|
|
@@ -897,7 +897,7 @@ function Zr(e, t, n, r, o) {
|
|
|
897
897
|
const s = o.get(e);
|
|
898
898
|
if (s)
|
|
899
899
|
return s;
|
|
900
|
-
const i =
|
|
900
|
+
const i = Za(e);
|
|
901
901
|
if (i === 0)
|
|
902
902
|
return e;
|
|
903
903
|
const c = new Proxy(
|
|
@@ -922,20 +922,20 @@ function Ee(e) {
|
|
|
922
922
|
const t = e && e.__v_raw;
|
|
923
923
|
return t ? Ee(t) : e;
|
|
924
924
|
}
|
|
925
|
-
function
|
|
925
|
+
function eu(e) {
|
|
926
926
|
return !Oe(e, "__v_skip") && Object.isExtensible(e) && Lr(e, "__v_skip", !0), e;
|
|
927
927
|
}
|
|
928
|
-
const Ze = (e) => De(e) ? ls(e) : e, jo = (e) => De(e) ?
|
|
928
|
+
const Ze = (e) => De(e) ? ls(e) : e, jo = (e) => De(e) ? cc(e) : e;
|
|
929
929
|
function je(e) {
|
|
930
930
|
return e ? e.__v_isRef === !0 : !1;
|
|
931
931
|
}
|
|
932
932
|
function Ge(e) {
|
|
933
|
-
return
|
|
933
|
+
return tu(e, !1);
|
|
934
934
|
}
|
|
935
|
-
function
|
|
936
|
-
return je(e) ? e : new
|
|
935
|
+
function tu(e, t) {
|
|
936
|
+
return je(e) ? e : new nu(e, t);
|
|
937
937
|
}
|
|
938
|
-
class
|
|
938
|
+
class nu {
|
|
939
939
|
constructor(t, n) {
|
|
940
940
|
this.dep = new as(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = n ? t : Ee(t), this._value = n ? t : Ze(t), this.__v_isShallow = n;
|
|
941
941
|
}
|
|
@@ -960,17 +960,17 @@ class tu {
|
|
|
960
960
|
function Jt(e) {
|
|
961
961
|
return je(e) ? e.value : e;
|
|
962
962
|
}
|
|
963
|
-
const
|
|
963
|
+
const ru = {
|
|
964
964
|
get: (e, t, n) => t === "__v_raw" ? e : Jt(Reflect.get(e, t, n)),
|
|
965
965
|
set: (e, t, n, r) => {
|
|
966
966
|
const o = e[t];
|
|
967
967
|
return je(o) && !je(n) ? (o.value = n, !0) : Reflect.set(e, t, n, r);
|
|
968
968
|
}
|
|
969
969
|
};
|
|
970
|
-
function
|
|
971
|
-
return Nn(e) ? e : new Proxy(e,
|
|
970
|
+
function ac(e) {
|
|
971
|
+
return Nn(e) ? e : new Proxy(e, ru);
|
|
972
972
|
}
|
|
973
|
-
class
|
|
973
|
+
class ou {
|
|
974
974
|
constructor(t, n, r) {
|
|
975
975
|
this.fn = t, this.setter = n, this._value = void 0, this.dep = new as(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion = rr - 1, this.next = void 0, this.effect = this, this.__v_isReadonly = !n, this.isSSR = r;
|
|
976
976
|
}
|
|
@@ -980,7 +980,7 @@ class ru {
|
|
|
980
980
|
notify() {
|
|
981
981
|
if (this.flags |= 16, !(this.flags & 8) && // avoid infinite self recursion
|
|
982
982
|
Ae !== this)
|
|
983
|
-
return
|
|
983
|
+
return Yi(this, !0), !0;
|
|
984
984
|
process.env.NODE_ENV;
|
|
985
985
|
}
|
|
986
986
|
get value() {
|
|
@@ -989,21 +989,21 @@ class ru {
|
|
|
989
989
|
type: "get",
|
|
990
990
|
key: "value"
|
|
991
991
|
}) : this.dep.track();
|
|
992
|
-
return
|
|
992
|
+
return Ji(this), t && (t.version = this.dep.version), this._value;
|
|
993
993
|
}
|
|
994
994
|
set value(t) {
|
|
995
995
|
this.setter ? this.setter(t) : process.env.NODE_ENV !== "production" && Ct("Write operation failed: computed value is readonly");
|
|
996
996
|
}
|
|
997
997
|
}
|
|
998
|
-
function
|
|
998
|
+
function su(e, t, n = !1) {
|
|
999
999
|
let r, o;
|
|
1000
1000
|
pe(e) ? r = e : (r = e.get, o = e.set);
|
|
1001
|
-
const s = new
|
|
1001
|
+
const s = new ou(r, o, n);
|
|
1002
1002
|
return process.env.NODE_ENV, s;
|
|
1003
1003
|
}
|
|
1004
1004
|
const _r = {}, jr = /* @__PURE__ */ new WeakMap();
|
|
1005
1005
|
let un;
|
|
1006
|
-
function
|
|
1006
|
+
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);
|
|
@@ -1011,7 +1011,7 @@ function su(e, t = !1, n = un) {
|
|
|
1011
1011
|
"onWatcherCleanup() was called when there was no active watcher to associate with."
|
|
1012
1012
|
);
|
|
1013
1013
|
}
|
|
1014
|
-
function
|
|
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
1016
|
(n.onWarn || Ct)(
|
|
1017
1017
|
"Invalid watch source: ",
|
|
@@ -1019,8 +1019,8 @@ function iu(e, t, n = Ne) {
|
|
|
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
1021
|
}, p = (L) => o ? L : rt(L) || o === !1 || o === 0 ? Bt(L, 1) : Bt(L);
|
|
1022
|
-
let d, h, S, P,
|
|
1023
|
-
if (je(e) ? (h = () => e.value,
|
|
1022
|
+
let d, h, S, P, W = !1, F = !1;
|
|
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;
|
|
1026
1026
|
if (Nn(L))
|
|
@@ -1048,21 +1048,21 @@ function iu(e, t, n = Ne) {
|
|
|
1048
1048
|
const L = h, re = o === !0 ? 1 / 0 : o;
|
|
1049
1049
|
h = () => Bt(L(), re);
|
|
1050
1050
|
}
|
|
1051
|
-
const
|
|
1052
|
-
d.stop(),
|
|
1051
|
+
const k = $a(), te = () => {
|
|
1052
|
+
d.stop(), k && k.active && es(k.effects, d);
|
|
1053
1053
|
};
|
|
1054
1054
|
if (s && t) {
|
|
1055
1055
|
const L = t;
|
|
1056
1056
|
t = (...re) => {
|
|
1057
|
-
L(...re),
|
|
1057
|
+
L(...re), te();
|
|
1058
1058
|
};
|
|
1059
1059
|
}
|
|
1060
|
-
let U =
|
|
1060
|
+
let U = F ? new Array(e.length).fill(_r) : _r;
|
|
1061
1061
|
const oe = (L) => {
|
|
1062
1062
|
if (!(!(d.flags & 1) || !d.dirty && !L))
|
|
1063
1063
|
if (t) {
|
|
1064
1064
|
const re = d.run();
|
|
1065
|
-
if (o ||
|
|
1065
|
+
if (o || W || (F ? re.some((ue, he) => en(ue, U[he])) : en(re, U))) {
|
|
1066
1066
|
S && S();
|
|
1067
1067
|
const ue = un;
|
|
1068
1068
|
un = d;
|
|
@@ -1070,7 +1070,7 @@ function iu(e, t, n = Ne) {
|
|
|
1070
1070
|
const he = [
|
|
1071
1071
|
re,
|
|
1072
1072
|
// pass undefined as the old value when it's changed for the first time
|
|
1073
|
-
U === _r ? void 0 :
|
|
1073
|
+
U === _r ? void 0 : F && U[0] === _r ? [] : U,
|
|
1074
1074
|
P
|
|
1075
1075
|
];
|
|
1076
1076
|
l ? l(t, 3, he) : (
|
|
@@ -1084,7 +1084,7 @@ function iu(e, t, n = Ne) {
|
|
|
1084
1084
|
} else
|
|
1085
1085
|
d.run();
|
|
1086
1086
|
};
|
|
1087
|
-
return c && c(oe), d = new
|
|
1087
|
+
return c && c(oe), d = new Ki(h), d.scheduler = i ? () => i(oe, !1) : oe, P = (L) => iu(L, !1, d), S = d.onStop = () => {
|
|
1088
1088
|
const L = jr.get(d);
|
|
1089
1089
|
if (L) {
|
|
1090
1090
|
if (l)
|
|
@@ -1093,7 +1093,7 @@ function iu(e, t, n = Ne) {
|
|
|
1093
1093
|
for (const re of L) re();
|
|
1094
1094
|
jr.delete(d);
|
|
1095
1095
|
}
|
|
1096
|
-
}, process.env.NODE_ENV !== "production" && (d.onTrack = n.onTrack, d.onTrigger = n.onTrigger), t ? r ? oe(!0) : U = d.run() : i ? i(oe.bind(null, !0), !0) : d.run(),
|
|
1096
|
+
}, process.env.NODE_ENV !== "production" && (d.onTrack = n.onTrack, d.onTrigger = n.onTrigger), t ? r ? oe(!0) : U = d.run() : i ? i(oe.bind(null, !0), !0) : d.run(), te.pause = d.pause.bind(d), te.resume = d.resume.bind(d), te.stop = te, te;
|
|
1097
1097
|
}
|
|
1098
1098
|
function Bt(e, t = 1 / 0, n) {
|
|
1099
1099
|
if (t <= 0 || !De(e) || e.__v_skip || (n = n || /* @__PURE__ */ new Set(), n.has(e)))
|
|
@@ -1103,11 +1103,11 @@ function Bt(e, t = 1 / 0, n) {
|
|
|
1103
1103
|
else if (ae(e))
|
|
1104
1104
|
for (let r = 0; r < e.length; r++)
|
|
1105
1105
|
Bt(e[r], t, n);
|
|
1106
|
-
else if (
|
|
1106
|
+
else if (_a(e) || An(e))
|
|
1107
1107
|
e.forEach((r) => {
|
|
1108
1108
|
Bt(r, t, n);
|
|
1109
1109
|
});
|
|
1110
|
-
else if (
|
|
1110
|
+
else if (wa(e)) {
|
|
1111
1111
|
for (const r in e)
|
|
1112
1112
|
Bt(e[r], t, n);
|
|
1113
1113
|
for (const r of Object.getOwnPropertySymbols(e))
|
|
@@ -1131,7 +1131,7 @@ let Eo = !1;
|
|
|
1131
1131
|
function j(e, ...t) {
|
|
1132
1132
|
if (Eo) return;
|
|
1133
1133
|
Eo = !0, Gt();
|
|
1134
|
-
const n = fn.length ? fn[fn.length - 1].component : null, r = n && n.appContext.config.warnHandler, o =
|
|
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(
|
|
1137
1137
|
r,
|
|
@@ -1154,11 +1154,11 @@ function j(e, ...t) {
|
|
|
1154
1154
|
else {
|
|
1155
1155
|
const s = [`[Vue warn]: ${e}`, ...t];
|
|
1156
1156
|
o.length && s.push(`
|
|
1157
|
-
`, ...
|
|
1157
|
+
`, ...uu(o));
|
|
1158
1158
|
}
|
|
1159
1159
|
Kt(), Eo = !1;
|
|
1160
1160
|
}
|
|
1161
|
-
function
|
|
1161
|
+
function au() {
|
|
1162
1162
|
let e = fn[fn.length - 1];
|
|
1163
1163
|
if (!e)
|
|
1164
1164
|
return [];
|
|
@@ -1174,29 +1174,29 @@ function cu() {
|
|
|
1174
1174
|
}
|
|
1175
1175
|
return t;
|
|
1176
1176
|
}
|
|
1177
|
-
function
|
|
1177
|
+
function uu(e) {
|
|
1178
1178
|
const t = [];
|
|
1179
1179
|
return e.forEach((n, r) => {
|
|
1180
1180
|
t.push(...r === 0 ? [] : [`
|
|
1181
|
-
`], ...
|
|
1181
|
+
`], ...lu(n));
|
|
1182
1182
|
}), t;
|
|
1183
1183
|
}
|
|
1184
|
-
function
|
|
1184
|
+
function lu({ vnode: e, recurseCount: t }) {
|
|
1185
1185
|
const n = t > 0 ? `... (${t} recursive calls)` : "", r = e.component ? e.component.parent == null : !1, o = ` at <${ro(
|
|
1186
1186
|
e.component,
|
|
1187
1187
|
e.type,
|
|
1188
1188
|
r
|
|
1189
1189
|
)}`, s = ">" + n;
|
|
1190
|
-
return e.props ? [o, ...
|
|
1190
|
+
return e.props ? [o, ...fu(e.props), s] : [o + s];
|
|
1191
1191
|
}
|
|
1192
|
-
function
|
|
1192
|
+
function fu(e) {
|
|
1193
1193
|
const t = [], n = Object.keys(e);
|
|
1194
1194
|
return n.slice(0, 3).forEach((r) => {
|
|
1195
|
-
t.push(...
|
|
1195
|
+
t.push(...uc(r, e[r]));
|
|
1196
1196
|
}), n.length > 3 && t.push(" ..."), t;
|
|
1197
1197
|
}
|
|
1198
|
-
function
|
|
1199
|
-
return We(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : je(t) ? (t =
|
|
1198
|
+
function uc(e, t, n) {
|
|
1199
|
+
return We(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : je(t) ? (t = uc(e, Ee(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : pe(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = Ee(t), n ? t : [`${e}=`, t]);
|
|
1200
1200
|
}
|
|
1201
1201
|
const fs = {
|
|
1202
1202
|
sp: "serverPrefetch hook",
|
|
@@ -1277,9 +1277,9 @@ function pr(e, t, n, r = !0) {
|
|
|
1277
1277
|
return;
|
|
1278
1278
|
}
|
|
1279
1279
|
}
|
|
1280
|
-
|
|
1280
|
+
pu(e, n, o, r, i);
|
|
1281
1281
|
}
|
|
1282
|
-
function
|
|
1282
|
+
function pu(e, t, n, r = !0, o = !1) {
|
|
1283
1283
|
if (process.env.NODE_ENV !== "production") {
|
|
1284
1284
|
const s = fs[t];
|
|
1285
1285
|
if (n && Sr(n), j(`Unhandled error${s ? ` during execution of ${s}` : ""}`), n && Ar(), r)
|
|
@@ -1291,14 +1291,14 @@ const Qe = [];
|
|
|
1291
1291
|
let At = -1;
|
|
1292
1292
|
const Tn = [];
|
|
1293
1293
|
let Xt = null, On = 0;
|
|
1294
|
-
const
|
|
1294
|
+
const lc = /* @__PURE__ */ Promise.resolve();
|
|
1295
1295
|
let Hr = null;
|
|
1296
|
-
const
|
|
1297
|
-
function
|
|
1298
|
-
const t = Hr ||
|
|
1296
|
+
const du = 100;
|
|
1297
|
+
function hu(e) {
|
|
1298
|
+
const t = Hr || lc;
|
|
1299
1299
|
return e ? t.then(this ? e.bind(this) : e) : t;
|
|
1300
1300
|
}
|
|
1301
|
-
function
|
|
1301
|
+
function gu(e) {
|
|
1302
1302
|
let t = At + 1, n = Qe.length;
|
|
1303
1303
|
for (; t < n; ) {
|
|
1304
1304
|
const r = t + n >>> 1, o = Qe[r], s = sr(o);
|
|
@@ -1310,14 +1310,14 @@ function Qr(e) {
|
|
|
1310
1310
|
if (!(e.flags & 1)) {
|
|
1311
1311
|
const t = sr(e), n = Qe[Qe.length - 1];
|
|
1312
1312
|
!n || // fast path when the job id is larger than the tail
|
|
1313
|
-
!(e.flags & 2) && t >= sr(n) ? Qe.push(e) : Qe.splice(
|
|
1313
|
+
!(e.flags & 2) && t >= sr(n) ? Qe.push(e) : Qe.splice(gu(t), 0, e), e.flags |= 1, fc();
|
|
1314
1314
|
}
|
|
1315
1315
|
}
|
|
1316
|
-
function
|
|
1317
|
-
Hr || (Hr =
|
|
1316
|
+
function fc() {
|
|
1317
|
+
Hr || (Hr = lc.then(hc));
|
|
1318
1318
|
}
|
|
1319
|
-
function
|
|
1320
|
-
ae(e) ? Tn.push(...e) : Xt && e.id === -1 ? Xt.splice(On + 1, 0, e) : e.flags & 1 || (Tn.push(e), e.flags |= 1),
|
|
1319
|
+
function pc(e) {
|
|
1320
|
+
ae(e) ? Tn.push(...e) : Xt && e.id === -1 ? Xt.splice(On + 1, 0, e) : e.flags & 1 || (Tn.push(e), e.flags |= 1), fc();
|
|
1321
1321
|
}
|
|
1322
1322
|
function Ms(e, t, n = At + 1) {
|
|
1323
1323
|
for (process.env.NODE_ENV !== "production" && (t = t || /* @__PURE__ */ new Map()); n < Qe.length; n++) {
|
|
@@ -1329,7 +1329,7 @@ function Ms(e, t, n = At + 1) {
|
|
|
1329
1329
|
}
|
|
1330
1330
|
}
|
|
1331
1331
|
}
|
|
1332
|
-
function
|
|
1332
|
+
function dc(e) {
|
|
1333
1333
|
if (Tn.length) {
|
|
1334
1334
|
const t = [...new Set(Tn)].sort(
|
|
1335
1335
|
(n, r) => sr(n) - sr(r)
|
|
@@ -1346,7 +1346,7 @@ function pc(e) {
|
|
|
1346
1346
|
}
|
|
1347
1347
|
}
|
|
1348
1348
|
const sr = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id;
|
|
1349
|
-
function
|
|
1349
|
+
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 {
|
|
@@ -1367,13 +1367,13 @@ function dc(e) {
|
|
|
1367
1367
|
const n = Qe[At];
|
|
1368
1368
|
n && (n.flags &= -2);
|
|
1369
1369
|
}
|
|
1370
|
-
At = -1, Qe.length = 0,
|
|
1370
|
+
At = -1, Qe.length = 0, dc(e), Hr = null, (Qe.length || Tn.length) && hc(e);
|
|
1371
1371
|
}
|
|
1372
1372
|
}
|
|
1373
1373
|
function ps(e, t) {
|
|
1374
1374
|
const n = e.get(t) || 0;
|
|
1375
|
-
if (n >
|
|
1376
|
-
const r = t.i, o = r &&
|
|
1375
|
+
if (n > du) {
|
|
1376
|
+
const r = t.i, o = r && zc(r.type);
|
|
1377
1377
|
return pr(
|
|
1378
1378
|
`Maximum recursive updates exceeded${o ? ` in component <${o}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,
|
|
1379
1379
|
null,
|
|
@@ -1385,35 +1385,35 @@ function ps(e, t) {
|
|
|
1385
1385
|
let Dt = !1;
|
|
1386
1386
|
const Nr = /* @__PURE__ */ new Map();
|
|
1387
1387
|
process.env.NODE_ENV !== "production" && (fr().__VUE_HMR_RUNTIME__ = {
|
|
1388
|
-
createRecord: yo(
|
|
1389
|
-
rerender: yo(
|
|
1390
|
-
reload: yo(
|
|
1388
|
+
createRecord: yo(gc),
|
|
1389
|
+
rerender: yo(Eu),
|
|
1390
|
+
reload: yo(yu)
|
|
1391
1391
|
});
|
|
1392
1392
|
const dn = /* @__PURE__ */ new Map();
|
|
1393
|
-
function
|
|
1393
|
+
function mu(e) {
|
|
1394
1394
|
const t = e.type.__hmrId;
|
|
1395
1395
|
let n = dn.get(t);
|
|
1396
|
-
n || (
|
|
1396
|
+
n || (gc(t, e.type), n = dn.get(t)), n.instances.add(e);
|
|
1397
1397
|
}
|
|
1398
|
-
function
|
|
1398
|
+
function vu(e) {
|
|
1399
1399
|
dn.get(e.type.__hmrId).instances.delete(e);
|
|
1400
1400
|
}
|
|
1401
|
-
function
|
|
1401
|
+
function gc(e, t) {
|
|
1402
1402
|
return dn.has(e) ? !1 : (dn.set(e, {
|
|
1403
1403
|
initialDef: Wr(t),
|
|
1404
1404
|
instances: /* @__PURE__ */ new Set()
|
|
1405
1405
|
}), !0);
|
|
1406
1406
|
}
|
|
1407
1407
|
function Wr(e) {
|
|
1408
|
-
return
|
|
1408
|
+
return Jc(e) ? e.__vccOpts : e;
|
|
1409
1409
|
}
|
|
1410
|
-
function
|
|
1410
|
+
function Eu(e, t) {
|
|
1411
1411
|
const n = dn.get(e);
|
|
1412
1412
|
n && (n.initialDef.render = t, [...n.instances].forEach((r) => {
|
|
1413
1413
|
t && (r.render = t, Wr(r.type).render = t), r.renderCache = [], Dt = !0, r.update(), Dt = !1;
|
|
1414
1414
|
}));
|
|
1415
1415
|
}
|
|
1416
|
-
function
|
|
1416
|
+
function yu(e, t) {
|
|
1417
1417
|
const n = dn.get(e);
|
|
1418
1418
|
if (!n) return;
|
|
1419
1419
|
t = Wr(t), Ls(n.initialDef, t);
|
|
@@ -1425,7 +1425,7 @@ function Eu(e, t) {
|
|
|
1425
1425
|
Dt = !0, s.parent.update(), Dt = !1, c.delete(s);
|
|
1426
1426
|
}) : s.appContext.reload ? s.appContext.reload() : typeof window < "u" && window.location.reload(), s.root.ce && s !== s.root && s.root.ce._removeChildStyle(i);
|
|
1427
1427
|
}
|
|
1428
|
-
|
|
1428
|
+
pc(() => {
|
|
1429
1429
|
Nr.clear();
|
|
1430
1430
|
});
|
|
1431
1431
|
}
|
|
@@ -1457,7 +1457,7 @@ function ds(e, t) {
|
|
|
1457
1457
|
gt || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, Ho = !0, qn = []);
|
|
1458
1458
|
}, 3e3)) : (Ho = !0, qn = []);
|
|
1459
1459
|
}
|
|
1460
|
-
function
|
|
1460
|
+
function _u(e, t) {
|
|
1461
1461
|
dr("app:init", e, t, {
|
|
1462
1462
|
Fragment: Nt,
|
|
1463
1463
|
Text: hr,
|
|
@@ -1465,21 +1465,21 @@ function yu(e, t) {
|
|
|
1465
1465
|
Static: xr
|
|
1466
1466
|
});
|
|
1467
1467
|
}
|
|
1468
|
-
function
|
|
1468
|
+
function bu(e) {
|
|
1469
1469
|
dr("app:unmount", e);
|
|
1470
1470
|
}
|
|
1471
|
-
const
|
|
1471
|
+
const wu = /* @__PURE__ */ hs(
|
|
1472
1472
|
"component:added"
|
|
1473
1473
|
/* COMPONENT_ADDED */
|
|
1474
|
-
),
|
|
1474
|
+
), mc = /* @__PURE__ */ hs(
|
|
1475
1475
|
"component:updated"
|
|
1476
1476
|
/* COMPONENT_UPDATED */
|
|
1477
|
-
),
|
|
1477
|
+
), Ou = /* @__PURE__ */ hs(
|
|
1478
1478
|
"component:removed"
|
|
1479
1479
|
/* COMPONENT_REMOVED */
|
|
1480
|
-
),
|
|
1480
|
+
), Su = (e) => {
|
|
1481
1481
|
gt && typeof gt.cleanupBuffer == "function" && // remove the component if it wasn't buffered
|
|
1482
|
-
!gt.cleanupBuffer(e) &&
|
|
1482
|
+
!gt.cleanupBuffer(e) && Ou(e);
|
|
1483
1483
|
};
|
|
1484
1484
|
/*! #__NO_SIDE_EFFECTS__ */
|
|
1485
1485
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -1494,19 +1494,19 @@ function hs(e) {
|
|
|
1494
1494
|
);
|
|
1495
1495
|
};
|
|
1496
1496
|
}
|
|
1497
|
-
const
|
|
1497
|
+
const Au = /* @__PURE__ */ vc(
|
|
1498
1498
|
"perf:start"
|
|
1499
1499
|
/* PERFORMANCE_START */
|
|
1500
|
-
),
|
|
1500
|
+
), Nu = /* @__PURE__ */ vc(
|
|
1501
1501
|
"perf:end"
|
|
1502
1502
|
/* PERFORMANCE_END */
|
|
1503
1503
|
);
|
|
1504
|
-
function
|
|
1504
|
+
function vc(e) {
|
|
1505
1505
|
return (t, n, r) => {
|
|
1506
1506
|
dr(e, t.appContext.app, t.uid, t, n, r);
|
|
1507
1507
|
};
|
|
1508
1508
|
}
|
|
1509
|
-
function
|
|
1509
|
+
function Tu(e, t, n) {
|
|
1510
1510
|
dr(
|
|
1511
1511
|
"component:emit",
|
|
1512
1512
|
e.appContext.app,
|
|
@@ -1515,12 +1515,12 @@ function Nu(e, t, n) {
|
|
|
1515
1515
|
n
|
|
1516
1516
|
);
|
|
1517
1517
|
}
|
|
1518
|
-
let et = null,
|
|
1518
|
+
let et = null, Ec = null;
|
|
1519
1519
|
function Fr(e) {
|
|
1520
1520
|
const t = et;
|
|
1521
|
-
return et = e,
|
|
1521
|
+
return et = e, Ec = e && e.type.__scopeId || null, t;
|
|
1522
1522
|
}
|
|
1523
|
-
function
|
|
1523
|
+
function Ru(e, t = et, n) {
|
|
1524
1524
|
if (!t || e._n)
|
|
1525
1525
|
return e;
|
|
1526
1526
|
const r = (...o) => {
|
|
@@ -1532,12 +1532,12 @@ function Tu(e, t = et, n) {
|
|
|
1532
1532
|
} finally {
|
|
1533
1533
|
Fr(s), r._d && qs(1);
|
|
1534
1534
|
}
|
|
1535
|
-
return process.env.NODE_ENV !== "production" &&
|
|
1535
|
+
return process.env.NODE_ENV !== "production" && mc(t), i;
|
|
1536
1536
|
};
|
|
1537
1537
|
return r._n = !0, r._c = !0, r._d = !0, r;
|
|
1538
1538
|
}
|
|
1539
|
-
function
|
|
1540
|
-
|
|
1539
|
+
function yc(e) {
|
|
1540
|
+
Oa(e) && j("Do not use built-in directive ids as custom directive id: " + e);
|
|
1541
1541
|
}
|
|
1542
1542
|
function br(e, t) {
|
|
1543
1543
|
if (et === null)
|
|
@@ -1573,29 +1573,29 @@ function on(e, t, n, r) {
|
|
|
1573
1573
|
]), Kt());
|
|
1574
1574
|
}
|
|
1575
1575
|
}
|
|
1576
|
-
const
|
|
1576
|
+
const xu = Symbol("_vte"), Du = (e) => e.__isTeleport;
|
|
1577
1577
|
function gs(e, t) {
|
|
1578
1578
|
e.shapeFlag & 6 && e.component ? (e.transition = t, gs(e.component.subTree, t)) : e.shapeFlag & 128 ? (e.ssContent.transition = t.clone(e.ssContent), e.ssFallback.transition = t.clone(e.ssFallback)) : e.transition = t;
|
|
1579
1579
|
}
|
|
1580
1580
|
/*! #__NO_SIDE_EFFECTS__ */
|
|
1581
1581
|
// @__NO_SIDE_EFFECTS__
|
|
1582
|
-
function
|
|
1582
|
+
function Cu(e, t) {
|
|
1583
1583
|
return pe(e) ? (
|
|
1584
1584
|
// #8236: extend call and options.name access are considered side-effects
|
|
1585
1585
|
// by Rollup, so we have to wrap it in a pure-annotated IIFE.
|
|
1586
1586
|
He({ name: e.name }, t, { setup: e })
|
|
1587
1587
|
) : e;
|
|
1588
1588
|
}
|
|
1589
|
-
function
|
|
1589
|
+
function _c(e) {
|
|
1590
1590
|
e.ids = [e.ids[0] + e.ids[2]++ + "-", 0, 0];
|
|
1591
1591
|
}
|
|
1592
|
-
const
|
|
1592
|
+
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
|
-
(P,
|
|
1596
|
+
(P, W) => Br(
|
|
1597
1597
|
P,
|
|
1598
|
-
t && (ae(t) ? t[
|
|
1598
|
+
t && (ae(t) ? t[W] : t),
|
|
1599
1599
|
n,
|
|
1600
1600
|
r,
|
|
1601
1601
|
o
|
|
@@ -1616,32 +1616,32 @@ function Br(e, t, n, r, o = !1) {
|
|
|
1616
1616
|
}
|
|
1617
1617
|
const E = t && t.r, p = c.refs === Ne ? c.refs = {} : c.refs, d = c.setupState, h = Ee(d), S = d === Ne ? () => !1 : (P) => process.env.NODE_ENV !== "production" && (Oe(h, P) && !je(h[P]) && j(
|
|
1618
1618
|
`Template ref "${P}" used on a non-ref value. It will not work in the production build.`
|
|
1619
|
-
),
|
|
1619
|
+
), Pu.has(h[P])) ? !1 : Oe(h, P);
|
|
1620
1620
|
if (E != null && E !== l && (We(E) ? (p[E] = null, S(E) && (d[E] = null)) : je(E) && (E.value = null)), pe(l))
|
|
1621
1621
|
Mn(l, c, 12, [i, p]);
|
|
1622
1622
|
else {
|
|
1623
|
-
const P = We(l),
|
|
1624
|
-
if (P ||
|
|
1625
|
-
const
|
|
1623
|
+
const P = We(l), W = je(l);
|
|
1624
|
+
if (P || W) {
|
|
1625
|
+
const F = () => {
|
|
1626
1626
|
if (e.f) {
|
|
1627
|
-
const
|
|
1628
|
-
o ? ae(
|
|
1629
|
-
} else P ? (p[l] = i, S(l) && (d[l] = i)) :
|
|
1627
|
+
const k = P ? S(l) ? d[l] : p[l] : l.value;
|
|
1628
|
+
o ? ae(k) && es(k, s) : ae(k) ? k.includes(s) || k.push(s) : P ? (p[l] = [s], S(l) && (d[l] = p[l])) : (l.value = [s], e.k && (p[e.k] = l.value));
|
|
1629
|
+
} else P ? (p[l] = i, S(l) && (d[l] = i)) : W ? (l.value = i, e.k && (p[e.k] = i)) : process.env.NODE_ENV !== "production" && j("Invalid template ref type:", l, `(${typeof l})`);
|
|
1630
1630
|
};
|
|
1631
|
-
i ? (
|
|
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})`);
|
|
1633
1633
|
}
|
|
1634
1634
|
}
|
|
1635
1635
|
fr().requestIdleCallback;
|
|
1636
1636
|
fr().cancelIdleCallback;
|
|
1637
1637
|
const er = (e) => !!e.type.__asyncLoader, ms = (e) => e.type.__isKeepAlive;
|
|
1638
|
-
function Pu(e, t) {
|
|
1639
|
-
_c(e, "a", t);
|
|
1640
|
-
}
|
|
1641
1638
|
function Iu(e, t) {
|
|
1642
|
-
|
|
1639
|
+
bc(e, "a", t);
|
|
1643
1640
|
}
|
|
1644
|
-
function
|
|
1641
|
+
function $u(e, t) {
|
|
1642
|
+
bc(e, "da", t);
|
|
1643
|
+
}
|
|
1644
|
+
function bc(e, t, n = Ke) {
|
|
1645
1645
|
const r = e.__wdc || (e.__wdc = () => {
|
|
1646
1646
|
let o = n;
|
|
1647
1647
|
for (; o; ) {
|
|
@@ -1654,10 +1654,10 @@ function _c(e, t, n = Ke) {
|
|
|
1654
1654
|
if (eo(t, r, n), n) {
|
|
1655
1655
|
let o = n.parent;
|
|
1656
1656
|
for (; o && o.parent; )
|
|
1657
|
-
ms(o.parent.vnode) &&
|
|
1657
|
+
ms(o.parent.vnode) && Mu(r, t, n, o), o = o.parent;
|
|
1658
1658
|
}
|
|
1659
1659
|
}
|
|
1660
|
-
function
|
|
1660
|
+
function Mu(e, t, n, r) {
|
|
1661
1661
|
const o = eo(
|
|
1662
1662
|
t,
|
|
1663
1663
|
e,
|
|
@@ -1665,7 +1665,7 @@ function $u(e, t, n, r) {
|
|
|
1665
1665
|
!0
|
|
1666
1666
|
/* prepend */
|
|
1667
1667
|
);
|
|
1668
|
-
|
|
1668
|
+
Oc(() => {
|
|
1669
1669
|
es(r[t], o);
|
|
1670
1670
|
}, n);
|
|
1671
1671
|
}
|
|
@@ -1686,17 +1686,17 @@ function eo(e, t, n = Ke, r = !1) {
|
|
|
1686
1686
|
}
|
|
1687
1687
|
const kt = (e) => (t, n = Ke) => {
|
|
1688
1688
|
(!cr || e === "sp") && eo(e, (...r) => t(...r), n);
|
|
1689
|
-
},
|
|
1689
|
+
}, Lu = kt("bm"), wc = kt("m"), Vu = kt(
|
|
1690
1690
|
"bu"
|
|
1691
|
-
),
|
|
1691
|
+
), ju = kt("u"), Hu = kt(
|
|
1692
1692
|
"bum"
|
|
1693
|
-
),
|
|
1693
|
+
), Oc = kt("um"), Wu = kt(
|
|
1694
1694
|
"sp"
|
|
1695
|
-
),
|
|
1696
|
-
function
|
|
1695
|
+
), Fu = kt("rtg"), Bu = kt("rtc");
|
|
1696
|
+
function Uu(e, t = Ke) {
|
|
1697
1697
|
eo("ec", e, t);
|
|
1698
1698
|
}
|
|
1699
|
-
const
|
|
1699
|
+
const Gu = Symbol.for("v-ndc"), Wo = (e) => e ? Yc(e) ? no(e) : Wo(e.parent) : null, pn = (
|
|
1700
1700
|
// Move PURE marker to new line to workaround compiler discarding it
|
|
1701
1701
|
// due to type annotation
|
|
1702
1702
|
/* @__PURE__ */ He(/* @__PURE__ */ Object.create(null), {
|
|
@@ -1711,14 +1711,14 @@ const Uu = Symbol.for("v-ndc"), Wo = (e) => e ? kc(e) ? no(e) : Wo(e.parent) : n
|
|
|
1711
1711
|
$root: (e) => Wo(e.root),
|
|
1712
1712
|
$host: (e) => e.ce,
|
|
1713
1713
|
$emit: (e) => e.emit,
|
|
1714
|
-
$options: (e) =>
|
|
1714
|
+
$options: (e) => Nc(e),
|
|
1715
1715
|
$forceUpdate: (e) => e.f || (e.f = () => {
|
|
1716
1716
|
Qr(e.update);
|
|
1717
1717
|
}),
|
|
1718
|
-
$nextTick: (e) => e.n || (e.n =
|
|
1719
|
-
$watch: (e) =>
|
|
1718
|
+
$nextTick: (e) => e.n || (e.n = hu.bind(e.proxy)),
|
|
1719
|
+
$watch: (e) => Ol.bind(e)
|
|
1720
1720
|
})
|
|
1721
|
-
), vs = (e) => e === "_" || e === "$", _o = (e, t) => e !== Ne && !e.__isScriptSetup && Oe(e, t),
|
|
1721
|
+
), vs = (e) => e === "_" || e === "$", _o = (e, t) => e !== Ne && !e.__isScriptSetup && Oe(e, t), Sc = {
|
|
1722
1722
|
get({ _: e }, t) {
|
|
1723
1723
|
if (t === "__v_skip")
|
|
1724
1724
|
return !0;
|
|
@@ -1801,10 +1801,10 @@ const Uu = Symbol.for("v-ndc"), Wo = (e) => e ? kc(e) ? no(e) : Wo(e.parent) : n
|
|
|
1801
1801
|
return n.get != null ? e._.accessCache[t] = 0 : Oe(n, "value") && this.set(e, t, n.value, null), Reflect.defineProperty(e, t, n);
|
|
1802
1802
|
}
|
|
1803
1803
|
};
|
|
1804
|
-
process.env.NODE_ENV !== "production" && (
|
|
1804
|
+
process.env.NODE_ENV !== "production" && (Sc.ownKeys = (e) => (j(
|
|
1805
1805
|
"Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."
|
|
1806
1806
|
), Reflect.ownKeys(e)));
|
|
1807
|
-
function
|
|
1807
|
+
function Ku(e) {
|
|
1808
1808
|
const t = {};
|
|
1809
1809
|
return Object.defineProperty(t, "_", {
|
|
1810
1810
|
configurable: !0,
|
|
@@ -1821,7 +1821,7 @@ function Gu(e) {
|
|
|
1821
1821
|
});
|
|
1822
1822
|
}), t;
|
|
1823
1823
|
}
|
|
1824
|
-
function
|
|
1824
|
+
function ku(e) {
|
|
1825
1825
|
const {
|
|
1826
1826
|
ctx: t,
|
|
1827
1827
|
propsOptions: [n]
|
|
@@ -1835,7 +1835,7 @@ function Ku(e) {
|
|
|
1835
1835
|
});
|
|
1836
1836
|
});
|
|
1837
1837
|
}
|
|
1838
|
-
function
|
|
1838
|
+
function Yu(e) {
|
|
1839
1839
|
const { ctx: t, setupState: n } = e;
|
|
1840
1840
|
Object.keys(Ee(n)).forEach((r) => {
|
|
1841
1841
|
if (!n.__isScriptSetup) {
|
|
@@ -1862,15 +1862,15 @@ function Vs(e) {
|
|
|
1862
1862
|
{}
|
|
1863
1863
|
) : e;
|
|
1864
1864
|
}
|
|
1865
|
-
function
|
|
1865
|
+
function qu() {
|
|
1866
1866
|
const e = /* @__PURE__ */ Object.create(null);
|
|
1867
1867
|
return (t, n) => {
|
|
1868
1868
|
e[n] ? j(`${t} property "${n}" is already defined in ${e[n]}.`) : e[n] = t;
|
|
1869
1869
|
};
|
|
1870
1870
|
}
|
|
1871
1871
|
let Fo = !0;
|
|
1872
|
-
function
|
|
1873
|
-
const t =
|
|
1872
|
+
function zu(e) {
|
|
1873
|
+
const t = Nc(e), n = e.proxy, r = e.ctx;
|
|
1874
1874
|
Fo = !1, t.beforeCreate && js(t.beforeCreate, e, "bc");
|
|
1875
1875
|
const {
|
|
1876
1876
|
// state
|
|
@@ -1886,10 +1886,10 @@ function qu(e) {
|
|
|
1886
1886
|
mounted: h,
|
|
1887
1887
|
beforeUpdate: S,
|
|
1888
1888
|
updated: P,
|
|
1889
|
-
activated:
|
|
1890
|
-
deactivated:
|
|
1891
|
-
beforeDestroy:
|
|
1892
|
-
beforeUnmount:
|
|
1889
|
+
activated: W,
|
|
1890
|
+
deactivated: F,
|
|
1891
|
+
beforeDestroy: k,
|
|
1892
|
+
beforeUnmount: te,
|
|
1893
1893
|
destroyed: U,
|
|
1894
1894
|
unmounted: oe,
|
|
1895
1895
|
render: L,
|
|
@@ -1904,23 +1904,23 @@ function qu(e) {
|
|
|
1904
1904
|
components: w,
|
|
1905
1905
|
directives: q,
|
|
1906
1906
|
filters: ne
|
|
1907
|
-
} = t, ce = process.env.NODE_ENV !== "production" ?
|
|
1907
|
+
} = t, ce = process.env.NODE_ENV !== "production" ? qu() : null;
|
|
1908
1908
|
if (process.env.NODE_ENV !== "production") {
|
|
1909
1909
|
const [B] = e.propsOptions;
|
|
1910
1910
|
if (B)
|
|
1911
|
-
for (const
|
|
1912
|
-
ce("Props",
|
|
1911
|
+
for (const Q in B)
|
|
1912
|
+
ce("Props", Q);
|
|
1913
1913
|
}
|
|
1914
|
-
if (E &&
|
|
1914
|
+
if (E && Ju(E, r, ce), i)
|
|
1915
1915
|
for (const B in i) {
|
|
1916
|
-
const
|
|
1917
|
-
pe(
|
|
1918
|
-
value:
|
|
1916
|
+
const Q = i[B];
|
|
1917
|
+
pe(Q) ? (process.env.NODE_ENV !== "production" ? Object.defineProperty(r, B, {
|
|
1918
|
+
value: Q.bind(n),
|
|
1919
1919
|
configurable: !0,
|
|
1920
1920
|
enumerable: !0,
|
|
1921
1921
|
writable: !0
|
|
1922
|
-
}) : r[B] =
|
|
1923
|
-
`Method "${B}" has type "${typeof
|
|
1922
|
+
}) : r[B] = Q.bind(n), process.env.NODE_ENV !== "production" && ce("Methods", B)) : process.env.NODE_ENV !== "production" && j(
|
|
1923
|
+
`Method "${B}" has type "${typeof Q}" in the component definition. Did you reference the function correctly?`
|
|
1924
1924
|
);
|
|
1925
1925
|
}
|
|
1926
1926
|
if (o) {
|
|
@@ -1933,19 +1933,19 @@ function qu(e) {
|
|
|
1933
1933
|
), !De(B))
|
|
1934
1934
|
process.env.NODE_ENV !== "production" && j("data() should return an object.");
|
|
1935
1935
|
else if (e.data = ls(B), process.env.NODE_ENV !== "production")
|
|
1936
|
-
for (const
|
|
1937
|
-
ce("Data",
|
|
1936
|
+
for (const Q in B)
|
|
1937
|
+
ce("Data", Q), vs(Q[0]) || Object.defineProperty(r, Q, {
|
|
1938
1938
|
configurable: !0,
|
|
1939
1939
|
enumerable: !0,
|
|
1940
|
-
get: () => B[
|
|
1940
|
+
get: () => B[Q],
|
|
1941
1941
|
set: Be
|
|
1942
1942
|
});
|
|
1943
1943
|
}
|
|
1944
1944
|
if (Fo = !0, s)
|
|
1945
1945
|
for (const B in s) {
|
|
1946
|
-
const
|
|
1946
|
+
const Q = s[B], ve = pe(Q) ? Q.bind(n, n) : pe(Q.get) ? Q.get.bind(n, n) : Be;
|
|
1947
1947
|
process.env.NODE_ENV !== "production" && ve === Be && j(`Computed property "${B}" has no getter.`);
|
|
1948
|
-
const T = !pe(
|
|
1948
|
+
const T = !pe(Q) && pe(Q.set) ? Q.set.bind(n) : process.env.NODE_ENV !== "production" ? () => {
|
|
1949
1949
|
j(
|
|
1950
1950
|
`Write operation failed: computed property "${B}" is readonly.`
|
|
1951
1951
|
);
|
|
@@ -1962,30 +1962,30 @@ function qu(e) {
|
|
|
1962
1962
|
}
|
|
1963
1963
|
if (c)
|
|
1964
1964
|
for (const B in c)
|
|
1965
|
-
|
|
1965
|
+
Ac(c[B], r, n, B);
|
|
1966
1966
|
if (l) {
|
|
1967
1967
|
const B = pe(l) ? l.call(n) : l;
|
|
1968
|
-
Reflect.ownKeys(B).forEach((
|
|
1969
|
-
|
|
1968
|
+
Reflect.ownKeys(B).forEach((Q) => {
|
|
1969
|
+
nl(Q, B[Q]);
|
|
1970
1970
|
});
|
|
1971
1971
|
}
|
|
1972
1972
|
p && js(p, e, "c");
|
|
1973
|
-
function ie(B,
|
|
1974
|
-
ae(
|
|
1973
|
+
function ie(B, Q) {
|
|
1974
|
+
ae(Q) ? Q.forEach((ve) => B(ve.bind(n))) : Q && B(Q.bind(n));
|
|
1975
1975
|
}
|
|
1976
|
-
if (ie(
|
|
1976
|
+
if (ie(Lu, d), ie(wc, h), ie(Vu, S), ie(ju, P), ie(Iu, W), ie($u, F), ie(Uu, he), ie(Bu, re), ie(Fu, ue), ie(Hu, te), ie(Oc, oe), ie(Wu, le), ae(be))
|
|
1977
1977
|
if (be.length) {
|
|
1978
1978
|
const B = e.exposed || (e.exposed = {});
|
|
1979
|
-
be.forEach((
|
|
1980
|
-
Object.defineProperty(B,
|
|
1981
|
-
get: () => n[
|
|
1982
|
-
set: (ve) => n[
|
|
1979
|
+
be.forEach((Q) => {
|
|
1980
|
+
Object.defineProperty(B, Q, {
|
|
1981
|
+
get: () => n[Q],
|
|
1982
|
+
set: (ve) => n[Q] = ve
|
|
1983
1983
|
});
|
|
1984
1984
|
});
|
|
1985
1985
|
} else e.exposed || (e.exposed = {});
|
|
1986
|
-
L && e.render === Be && (e.render = L), Y != null && (e.inheritAttrs = Y), w && (e.components = w), q && (e.directives = q), le &&
|
|
1986
|
+
L && e.render === Be && (e.render = L), Y != null && (e.inheritAttrs = Y), w && (e.components = w), q && (e.directives = q), le && _c(e);
|
|
1987
1987
|
}
|
|
1988
|
-
function
|
|
1988
|
+
function Ju(e, t, n = Be) {
|
|
1989
1989
|
ae(e) && (e = Bo(e));
|
|
1990
1990
|
for (const r in e) {
|
|
1991
1991
|
const o = e[r];
|
|
@@ -2009,8 +2009,8 @@ function js(e, t, n) {
|
|
|
2009
2009
|
n
|
|
2010
2010
|
);
|
|
2011
2011
|
}
|
|
2012
|
-
function
|
|
2013
|
-
let o = r.includes(".") ?
|
|
2012
|
+
function Ac(e, t, n, r) {
|
|
2013
|
+
let o = r.includes(".") ? Hc(n, r) : () => n[r];
|
|
2014
2014
|
if (We(e)) {
|
|
2015
2015
|
const s = t[e];
|
|
2016
2016
|
pe(s) ? Rt(o, s) : process.env.NODE_ENV !== "production" && j(`Invalid watch handler specified by key "${e}"`, s);
|
|
@@ -2018,14 +2018,14 @@ function Sc(e, t, n, r) {
|
|
|
2018
2018
|
Rt(o, e.bind(n));
|
|
2019
2019
|
else if (De(e))
|
|
2020
2020
|
if (ae(e))
|
|
2021
|
-
e.forEach((s) =>
|
|
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
2024
|
pe(s) ? Rt(o, s, e) : process.env.NODE_ENV !== "production" && j(`Invalid watch handler specified by key "${e.handler}"`, s);
|
|
2025
2025
|
}
|
|
2026
2026
|
else process.env.NODE_ENV !== "production" && j(`Invalid watch option: "${r}"`, e);
|
|
2027
2027
|
}
|
|
2028
|
-
function
|
|
2028
|
+
function Nc(e) {
|
|
2029
2029
|
const t = e.type, { mixins: n, extends: r } = t, {
|
|
2030
2030
|
mixins: o,
|
|
2031
2031
|
optionsCache: s,
|
|
@@ -2047,12 +2047,12 @@ function Ur(e, t, n, r = !1) {
|
|
|
2047
2047
|
'"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.'
|
|
2048
2048
|
);
|
|
2049
2049
|
else {
|
|
2050
|
-
const c =
|
|
2050
|
+
const c = Xu[i] || n && n[i];
|
|
2051
2051
|
e[i] = c ? c(e[i], t[i]) : t[i];
|
|
2052
2052
|
}
|
|
2053
2053
|
return e;
|
|
2054
2054
|
}
|
|
2055
|
-
const
|
|
2055
|
+
const Xu = {
|
|
2056
2056
|
data: Hs,
|
|
2057
2057
|
props: Ws,
|
|
2058
2058
|
emits: Ws,
|
|
@@ -2078,10 +2078,10 @@ const Ju = {
|
|
|
2078
2078
|
components: zn,
|
|
2079
2079
|
directives: zn,
|
|
2080
2080
|
// watch
|
|
2081
|
-
watch:
|
|
2081
|
+
watch: Qu,
|
|
2082
2082
|
// provide / inject
|
|
2083
2083
|
provide: Hs,
|
|
2084
|
-
inject:
|
|
2084
|
+
inject: Zu
|
|
2085
2085
|
};
|
|
2086
2086
|
function Hs(e, t) {
|
|
2087
2087
|
return t ? e ? function() {
|
|
@@ -2091,7 +2091,7 @@ function Hs(e, t) {
|
|
|
2091
2091
|
);
|
|
2092
2092
|
} : t : e;
|
|
2093
2093
|
}
|
|
2094
|
-
function
|
|
2094
|
+
function Zu(e, t) {
|
|
2095
2095
|
return zn(Bo(e), Bo(t));
|
|
2096
2096
|
}
|
|
2097
2097
|
function Bo(e) {
|
|
@@ -2116,7 +2116,7 @@ function Ws(e, t) {
|
|
|
2116
2116
|
Vs(t ?? {})
|
|
2117
2117
|
) : t;
|
|
2118
2118
|
}
|
|
2119
|
-
function
|
|
2119
|
+
function Qu(e, t) {
|
|
2120
2120
|
if (!e) return t;
|
|
2121
2121
|
if (!t) return e;
|
|
2122
2122
|
const n = He(/* @__PURE__ */ Object.create(null), e);
|
|
@@ -2124,11 +2124,11 @@ function Zu(e, t) {
|
|
|
2124
2124
|
n[r] = Xe(e[r], t[r]);
|
|
2125
2125
|
return n;
|
|
2126
2126
|
}
|
|
2127
|
-
function
|
|
2127
|
+
function Tc() {
|
|
2128
2128
|
return {
|
|
2129
2129
|
app: null,
|
|
2130
2130
|
config: {
|
|
2131
|
-
isNativeTag:
|
|
2131
|
+
isNativeTag: Ea,
|
|
2132
2132
|
performance: !1,
|
|
2133
2133
|
globalProperties: {},
|
|
2134
2134
|
optionMergeStrategies: {},
|
|
@@ -2145,14 +2145,14 @@ function Nc() {
|
|
|
2145
2145
|
emitsCache: /* @__PURE__ */ new WeakMap()
|
|
2146
2146
|
};
|
|
2147
2147
|
}
|
|
2148
|
-
let
|
|
2149
|
-
function
|
|
2148
|
+
let el = 0;
|
|
2149
|
+
function tl(e, t) {
|
|
2150
2150
|
return function(r, o = null) {
|
|
2151
2151
|
pe(r) || (r = He({}, r)), o != null && !De(o) && (process.env.NODE_ENV !== "production" && j("root props passed to app.mount() must be an object."), o = null);
|
|
2152
|
-
const s =
|
|
2152
|
+
const s = Tc(), i = /* @__PURE__ */ new WeakSet(), c = [];
|
|
2153
2153
|
let l = !1;
|
|
2154
2154
|
const E = s.app = {
|
|
2155
|
-
_uid:
|
|
2155
|
+
_uid: el++,
|
|
2156
2156
|
_component: r,
|
|
2157
2157
|
_props: o,
|
|
2158
2158
|
_container: null,
|
|
@@ -2181,7 +2181,7 @@ function el(e, t) {
|
|
|
2181
2181
|
return process.env.NODE_ENV !== "production" && Yo(p, s.config), d ? (process.env.NODE_ENV !== "production" && s.components[p] && j(`Component "${p}" has already been registered in target app.`), s.components[p] = d, E) : s.components[p];
|
|
2182
2182
|
},
|
|
2183
2183
|
directive(p, d) {
|
|
2184
|
-
return process.env.NODE_ENV !== "production" &&
|
|
2184
|
+
return process.env.NODE_ENV !== "production" && yc(p), d ? (process.env.NODE_ENV !== "production" && s.directives[p] && j(`Directive "${p}" has already been registered in target app.`), s.directives[p] = d, E) : s.directives[p];
|
|
2185
2185
|
},
|
|
2186
2186
|
mount(p, d, h) {
|
|
2187
2187
|
if (l)
|
|
@@ -2199,7 +2199,7 @@ function el(e, t) {
|
|
|
2199
2199
|
p,
|
|
2200
2200
|
h
|
|
2201
2201
|
);
|
|
2202
|
-
}), e(S, p, h), l = !0, E._container = p, p.__vue_app__ = E, process.env.NODE_ENV !== "production" && (E._instance = S.component,
|
|
2202
|
+
}), e(S, p, h), l = !0, E._container = p, p.__vue_app__ = E, process.env.NODE_ENV !== "production" && (E._instance = S.component, _u(E, Zs)), no(S.component);
|
|
2203
2203
|
}
|
|
2204
2204
|
},
|
|
2205
2205
|
onUnmount(p) {
|
|
@@ -2212,7 +2212,7 @@ function el(e, t) {
|
|
|
2212
2212
|
c,
|
|
2213
2213
|
E._instance,
|
|
2214
2214
|
16
|
|
2215
|
-
), e(null, E._container), process.env.NODE_ENV !== "production" && (E._instance = null,
|
|
2215
|
+
), e(null, E._container), process.env.NODE_ENV !== "production" && (E._instance = null, bu(E)), delete E._container.__vue_app__) : process.env.NODE_ENV !== "production" && j("Cannot unmount an app that is not mounted.");
|
|
2216
2216
|
},
|
|
2217
2217
|
provide(p, d) {
|
|
2218
2218
|
return process.env.NODE_ENV !== "production" && p in s.provides && j(
|
|
@@ -2233,7 +2233,7 @@ function el(e, t) {
|
|
|
2233
2233
|
};
|
|
2234
2234
|
}
|
|
2235
2235
|
let Rn = null;
|
|
2236
|
-
function
|
|
2236
|
+
function nl(e, t) {
|
|
2237
2237
|
if (!Ke)
|
|
2238
2238
|
process.env.NODE_ENV !== "production" && j("provide() can only be used inside setup().");
|
|
2239
2239
|
else {
|
|
@@ -2253,21 +2253,21 @@ function Tr(e, t, n = !1) {
|
|
|
2253
2253
|
process.env.NODE_ENV !== "production" && j(`injection "${String(e)}" not found.`);
|
|
2254
2254
|
} else process.env.NODE_ENV !== "production" && j("inject() can only be used inside setup() or functional components.");
|
|
2255
2255
|
}
|
|
2256
|
-
const
|
|
2257
|
-
function
|
|
2258
|
-
const o = {}, s =
|
|
2259
|
-
e.propsDefaults = /* @__PURE__ */ Object.create(null),
|
|
2256
|
+
const Rc = {}, xc = () => Object.create(Rc), Dc = (e) => Object.getPrototypeOf(e) === Rc;
|
|
2257
|
+
function rl(e, t, n, r = !1) {
|
|
2258
|
+
const o = {}, s = xc();
|
|
2259
|
+
e.propsDefaults = /* @__PURE__ */ Object.create(null), Cc(e, t, o, s);
|
|
2260
2260
|
for (const i in e.propsOptions[0])
|
|
2261
2261
|
i in o || (o[i] = void 0);
|
|
2262
|
-
process.env.NODE_ENV !== "production" &&
|
|
2262
|
+
process.env.NODE_ENV !== "production" && Ic(t || {}, o, e), n ? e.props = r ? o : Qa(o) : e.type.props ? e.props = o : e.props = s, e.attrs = s;
|
|
2263
2263
|
}
|
|
2264
|
-
function
|
|
2264
|
+
function ol(e) {
|
|
2265
2265
|
for (; e; ) {
|
|
2266
2266
|
if (e.type.__hmrId) return !0;
|
|
2267
2267
|
e = e.parent;
|
|
2268
2268
|
}
|
|
2269
2269
|
}
|
|
2270
|
-
function
|
|
2270
|
+
function sl(e, t, n, r) {
|
|
2271
2271
|
const {
|
|
2272
2272
|
props: o,
|
|
2273
2273
|
attrs: s,
|
|
@@ -2278,7 +2278,7 @@ function ol(e, t, n, r) {
|
|
|
2278
2278
|
// always force full diff in dev
|
|
2279
2279
|
// - #1942 if hmr is enabled with sfc component
|
|
2280
2280
|
// - vite#872 non-sfc component used by sfc component
|
|
2281
|
-
!(process.env.NODE_ENV !== "production" &&
|
|
2281
|
+
!(process.env.NODE_ENV !== "production" && ol(e)) && (r || i > 0) && !(i & 16)
|
|
2282
2282
|
) {
|
|
2283
2283
|
if (i & 8) {
|
|
2284
2284
|
const p = e.vnode.dynamicProps;
|
|
@@ -2306,7 +2306,7 @@ function ol(e, t, n, r) {
|
|
|
2306
2306
|
}
|
|
2307
2307
|
}
|
|
2308
2308
|
} else {
|
|
2309
|
-
|
|
2309
|
+
Cc(e, t, o, s) && (E = !0);
|
|
2310
2310
|
let p;
|
|
2311
2311
|
for (const d in c)
|
|
2312
2312
|
(!t || // for camelCase
|
|
@@ -2326,9 +2326,9 @@ function ol(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 && Tt(e.attrs, "set", ""), process.env.NODE_ENV !== "production" &&
|
|
2329
|
+
E && Tt(e.attrs, "set", ""), process.env.NODE_ENV !== "production" && Ic(t || {}, o, e);
|
|
2330
2330
|
}
|
|
2331
|
-
function
|
|
2331
|
+
function Cc(e, t, n, r) {
|
|
2332
2332
|
const [o, s] = e.propsOptions;
|
|
2333
2333
|
let i = !1, c;
|
|
2334
2334
|
if (t)
|
|
@@ -2386,9 +2386,9 @@ function Uo(e, t, n, r, o, s) {
|
|
|
2386
2386
|
}
|
|
2387
2387
|
return r;
|
|
2388
2388
|
}
|
|
2389
|
-
const
|
|
2390
|
-
function
|
|
2391
|
-
const r = n ?
|
|
2389
|
+
const il = /* @__PURE__ */ new WeakMap();
|
|
2390
|
+
function Pc(e, t, n = !1) {
|
|
2391
|
+
const r = n ? il : t.propsCache, o = r.get(e);
|
|
2392
2392
|
if (o)
|
|
2393
2393
|
return o;
|
|
2394
2394
|
const s = e.props, i = {}, c = [];
|
|
@@ -2396,7 +2396,7 @@ function Cc(e, t, n = !1) {
|
|
|
2396
2396
|
if (!pe(e)) {
|
|
2397
2397
|
const p = (d) => {
|
|
2398
2398
|
l = !0;
|
|
2399
|
-
const [h, S] =
|
|
2399
|
+
const [h, S] = Pc(d, t, !0);
|
|
2400
2400
|
He(i, h), S && c.push(...S);
|
|
2401
2401
|
};
|
|
2402
2402
|
!n && t.mixins.length && t.mixins.forEach(p), e.extends && p(e.extends), e.mixins && e.mixins.forEach(p);
|
|
@@ -2415,24 +2415,24 @@ function Cc(e, t, n = !1) {
|
|
|
2415
2415
|
const d = mt(p);
|
|
2416
2416
|
if (Fs(d)) {
|
|
2417
2417
|
const h = s[p], S = i[d] = ae(h) || pe(h) ? { type: h } : He({}, h), P = S.type;
|
|
2418
|
-
let
|
|
2418
|
+
let W = !1, F = !0;
|
|
2419
2419
|
if (ae(P))
|
|
2420
|
-
for (let
|
|
2421
|
-
const
|
|
2420
|
+
for (let k = 0; k < P.length; ++k) {
|
|
2421
|
+
const te = P[k], U = pe(te) && te.name;
|
|
2422
2422
|
if (U === "Boolean") {
|
|
2423
|
-
|
|
2423
|
+
W = !0;
|
|
2424
2424
|
break;
|
|
2425
|
-
} else U === "String" && (
|
|
2425
|
+
} else U === "String" && (F = !1);
|
|
2426
2426
|
}
|
|
2427
2427
|
else
|
|
2428
|
-
|
|
2428
|
+
W = pe(P) && P.name === "Boolean";
|
|
2429
2429
|
S[
|
|
2430
2430
|
0
|
|
2431
2431
|
/* shouldCast */
|
|
2432
|
-
] =
|
|
2432
|
+
] = W, S[
|
|
2433
2433
|
1
|
|
2434
2434
|
/* shouldCastTrue */
|
|
2435
|
-
] =
|
|
2435
|
+
] = F, (W || Oe(S, "default")) && c.push(d);
|
|
2436
2436
|
}
|
|
2437
2437
|
}
|
|
2438
2438
|
}
|
|
@@ -2442,14 +2442,14 @@ function Cc(e, t, n = !1) {
|
|
|
2442
2442
|
function Fs(e) {
|
|
2443
2443
|
return e[0] !== "$" && !Xn(e) ? !0 : (process.env.NODE_ENV !== "production" && j(`Invalid prop name: "${e}" is a reserved property.`), !1);
|
|
2444
2444
|
}
|
|
2445
|
-
function
|
|
2445
|
+
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
|
-
function
|
|
2448
|
+
function Ic(e, t, n) {
|
|
2449
2449
|
const r = Ee(t), o = n.propsOptions[0], s = Object.keys(e).map((i) => mt(i));
|
|
2450
2450
|
for (const i in o) {
|
|
2451
2451
|
let c = o[i];
|
|
2452
|
-
c != null &&
|
|
2452
|
+
c != null && al(
|
|
2453
2453
|
i,
|
|
2454
2454
|
r[i],
|
|
2455
2455
|
c,
|
|
@@ -2458,7 +2458,7 @@ function Pc(e, t, n) {
|
|
|
2458
2458
|
);
|
|
2459
2459
|
}
|
|
2460
2460
|
}
|
|
2461
|
-
function
|
|
2461
|
+
function al(e, t, n, r, o) {
|
|
2462
2462
|
const { type: s, required: i, validator: c, skipCheck: l } = n;
|
|
2463
2463
|
if (i && o) {
|
|
2464
2464
|
j('Missing required prop: "' + e + '"');
|
|
@@ -2469,26 +2469,26 @@ function cl(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: P } =
|
|
2472
|
+
const { valid: S, expectedType: P } = ll(t, p[h]);
|
|
2473
2473
|
d.push(P || ""), E = S;
|
|
2474
2474
|
}
|
|
2475
2475
|
if (!E) {
|
|
2476
|
-
j(
|
|
2476
|
+
j(fl(e, t, d));
|
|
2477
2477
|
return;
|
|
2478
2478
|
}
|
|
2479
2479
|
}
|
|
2480
2480
|
c && !c(t, r) && j('Invalid prop: custom validator check failed for prop "' + e + '".');
|
|
2481
2481
|
}
|
|
2482
2482
|
}
|
|
2483
|
-
const
|
|
2483
|
+
const ul = /* @__PURE__ */ In(
|
|
2484
2484
|
"String,Number,Boolean,Function,Symbol,BigInt"
|
|
2485
2485
|
);
|
|
2486
|
-
function
|
|
2486
|
+
function ll(e, t) {
|
|
2487
2487
|
let n;
|
|
2488
|
-
const r =
|
|
2488
|
+
const r = cl(t);
|
|
2489
2489
|
if (r === "null")
|
|
2490
2490
|
n = e === null;
|
|
2491
|
-
else if (
|
|
2491
|
+
else if (ul(r)) {
|
|
2492
2492
|
const o = typeof e;
|
|
2493
2493
|
n = o === r.toLowerCase(), !n && o === "object" && (n = e instanceof t);
|
|
2494
2494
|
} else r === "Object" ? n = De(e) : r === "Array" ? n = ae(e) : n = e instanceof t;
|
|
@@ -2497,12 +2497,12 @@ function ul(e, t) {
|
|
|
2497
2497
|
expectedType: r
|
|
2498
2498
|
};
|
|
2499
2499
|
}
|
|
2500
|
-
function
|
|
2500
|
+
function fl(e, t, n) {
|
|
2501
2501
|
if (n.length === 0)
|
|
2502
2502
|
return `Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;
|
|
2503
2503
|
let r = `Invalid prop: type check failed for prop "${e}". Expected ${n.map(Jr).join(" | ")}`;
|
|
2504
2504
|
const o = n[0], s = ns(t), i = Bs(t, o), c = Bs(t, s);
|
|
2505
|
-
return n.length === 1 && Us(o) && !
|
|
2505
|
+
return n.length === 1 && Us(o) && !pl(o, s) && (r += ` with value ${i}`), r += `, got ${s} `, Us(s) && (r += `with value ${c}.`), r;
|
|
2506
2506
|
}
|
|
2507
2507
|
function Bs(e, t) {
|
|
2508
2508
|
return t === "String" ? `"${e}"` : t === "Number" ? `${Number(e)}` : `${e}`;
|
|
@@ -2510,23 +2510,23 @@ function Bs(e, t) {
|
|
|
2510
2510
|
function Us(e) {
|
|
2511
2511
|
return ["string", "number", "boolean"].some((n) => e.toLowerCase() === n);
|
|
2512
2512
|
}
|
|
2513
|
-
function
|
|
2513
|
+
function pl(...e) {
|
|
2514
2514
|
return e.some((t) => t.toLowerCase() === "boolean");
|
|
2515
2515
|
}
|
|
2516
|
-
const
|
|
2516
|
+
const $c = (e) => e[0] === "_" || e === "$stable", Es = (e) => ae(e) ? e.map(ht) : [ht(e)], dl = (e, t, n) => {
|
|
2517
2517
|
if (t._n)
|
|
2518
2518
|
return t;
|
|
2519
|
-
const r =
|
|
2519
|
+
const r = Ru((...o) => (process.env.NODE_ENV !== "production" && Ke && (!n || n.root === Ke.root) && j(
|
|
2520
2520
|
`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`
|
|
2521
2521
|
), Es(t(...o))), n);
|
|
2522
2522
|
return r._c = !1, r;
|
|
2523
|
-
},
|
|
2523
|
+
}, Mc = (e, t, n) => {
|
|
2524
2524
|
const r = e._ctx;
|
|
2525
2525
|
for (const o in e) {
|
|
2526
|
-
if (
|
|
2526
|
+
if ($c(o)) continue;
|
|
2527
2527
|
const s = e[o];
|
|
2528
2528
|
if (pe(s))
|
|
2529
|
-
t[o] =
|
|
2529
|
+
t[o] = dl(o, s, r);
|
|
2530
2530
|
else if (s != null) {
|
|
2531
2531
|
process.env.NODE_ENV !== "production" && j(
|
|
2532
2532
|
`Non-function value encountered for slot "${o}". Prefer function slots for better performance.`
|
|
@@ -2535,7 +2535,7 @@ const Ic = (e) => e[0] === "_" || e === "$stable", Es = (e) => ae(e) ? e.map(ht)
|
|
|
2535
2535
|
t[o] = () => i;
|
|
2536
2536
|
}
|
|
2537
2537
|
}
|
|
2538
|
-
},
|
|
2538
|
+
}, Lc = (e, t) => {
|
|
2539
2539
|
process.env.NODE_ENV !== "production" && !ms(e.vnode) && j(
|
|
2540
2540
|
"Non-function value encountered for default slot. Prefer function slots for better performance."
|
|
2541
2541
|
);
|
|
@@ -2544,26 +2544,26 @@ const Ic = (e) => e[0] === "_" || e === "$stable", Es = (e) => ae(e) ? e.map(ht)
|
|
|
2544
2544
|
}, Go = (e, t, n) => {
|
|
2545
2545
|
for (const r in t)
|
|
2546
2546
|
(n || r !== "_") && (e[r] = t[r]);
|
|
2547
|
-
},
|
|
2548
|
-
const r = e.slots =
|
|
2547
|
+
}, hl = (e, t, n) => {
|
|
2548
|
+
const r = e.slots = xc();
|
|
2549
2549
|
if (e.vnode.shapeFlag & 32) {
|
|
2550
2550
|
const o = t._;
|
|
2551
|
-
o ? (Go(r, t, n), n && Lr(r, "_", o, !0)) :
|
|
2552
|
-
} else t &&
|
|
2553
|
-
},
|
|
2551
|
+
o ? (Go(r, t, n), n && Lr(r, "_", o, !0)) : Mc(t, r);
|
|
2552
|
+
} else t && Lc(e, t);
|
|
2553
|
+
}, gl = (e, t, n) => {
|
|
2554
2554
|
const { vnode: r, slots: o } = e;
|
|
2555
2555
|
let s = !0, i = Ne;
|
|
2556
2556
|
if (r.shapeFlag & 32) {
|
|
2557
2557
|
const c = t._;
|
|
2558
|
-
c ? process.env.NODE_ENV !== "production" && Dt ? (Go(o, t, n), Tt(e, "set", "$slots")) : n && c === 1 ? s = !1 : Go(o, t, n) : (s = !t.$stable,
|
|
2559
|
-
} else t && (
|
|
2558
|
+
c ? process.env.NODE_ENV !== "production" && Dt ? (Go(o, t, n), Tt(e, "set", "$slots")) : n && c === 1 ? s = !1 : Go(o, t, n) : (s = !t.$stable, Mc(t, o)), i = t;
|
|
2559
|
+
} 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
2564
|
let Gn, Qt;
|
|
2565
2565
|
function bn(e, t) {
|
|
2566
|
-
e.appContext.config.performance && Gr() && Qt.mark(`vue-${t}-${e.uid}`), process.env.NODE_ENV !== "production" &&
|
|
2566
|
+
e.appContext.config.performance && Gr() && Qt.mark(`vue-${t}-${e.uid}`), process.env.NODE_ENV !== "production" && Au(e, t, Gr() ? Qt.now() : Date.now());
|
|
2567
2567
|
}
|
|
2568
2568
|
function wn(e, t) {
|
|
2569
2569
|
if (e.appContext.config.performance && Gr()) {
|
|
@@ -2574,23 +2574,23 @@ function wn(e, t) {
|
|
|
2574
2574
|
r
|
|
2575
2575
|
), Qt.clearMarks(n), Qt.clearMarks(r);
|
|
2576
2576
|
}
|
|
2577
|
-
process.env.NODE_ENV !== "production" &&
|
|
2577
|
+
process.env.NODE_ENV !== "production" && Nu(e, t, Gr() ? Qt.now() : Date.now());
|
|
2578
2578
|
}
|
|
2579
2579
|
function Gr() {
|
|
2580
2580
|
return Gn !== void 0 || (typeof window < "u" && window.performance ? (Gn = !0, Qt = window.performance) : Gn = !1), Gn;
|
|
2581
2581
|
}
|
|
2582
|
-
function
|
|
2582
|
+
function ml() {
|
|
2583
2583
|
const e = [];
|
|
2584
2584
|
if (process.env.NODE_ENV !== "production" && e.length) {
|
|
2585
2585
|
const t = e.length > 1;
|
|
2586
2586
|
}
|
|
2587
2587
|
}
|
|
2588
|
-
const st =
|
|
2589
|
-
function
|
|
2590
|
-
return
|
|
2588
|
+
const st = Dl;
|
|
2589
|
+
function vl(e) {
|
|
2590
|
+
return El(e);
|
|
2591
2591
|
}
|
|
2592
|
-
function
|
|
2593
|
-
|
|
2592
|
+
function El(e, t) {
|
|
2593
|
+
ml();
|
|
2594
2594
|
const n = fr();
|
|
2595
2595
|
n.__VUE__ = !0, process.env.NODE_ENV !== "production" && ds(n.__VUE_DEVTOOLS_GLOBAL_HOOK__, n);
|
|
2596
2596
|
const {
|
|
@@ -2606,20 +2606,20 @@ function vl(e, t) {
|
|
|
2606
2606
|
nextSibling: h,
|
|
2607
2607
|
setScopeId: S = Be,
|
|
2608
2608
|
insertStaticContent: P
|
|
2609
|
-
} = e,
|
|
2609
|
+
} = e, W = (f, g, y, C = null, x = null, _ = null, I = void 0, b = null, N = process.env.NODE_ENV !== "production" && Dt ? !1 : !!g.dynamicChildren) => {
|
|
2610
2610
|
if (f === g)
|
|
2611
2611
|
return;
|
|
2612
2612
|
f && !Kn(f, g) && (C = ge(f), Le(f, x, _, !0), f = null), g.patchFlag === -2 && (N = !1, g.dynamicChildren = null);
|
|
2613
2613
|
const { type: R, ref: G, shapeFlag: M } = g;
|
|
2614
2614
|
switch (R) {
|
|
2615
2615
|
case hr:
|
|
2616
|
-
|
|
2616
|
+
F(f, g, y, C);
|
|
2617
2617
|
break;
|
|
2618
2618
|
case ut:
|
|
2619
|
-
|
|
2619
|
+
k(f, g, y, C);
|
|
2620
2620
|
break;
|
|
2621
2621
|
case xr:
|
|
2622
|
-
f == null ?
|
|
2622
|
+
f == null ? te(g, y, C, I) : process.env.NODE_ENV !== "production" && U(f, g, y, I);
|
|
2623
2623
|
break;
|
|
2624
2624
|
case Nt:
|
|
2625
2625
|
q(
|
|
@@ -2669,7 +2669,7 @@ function vl(e, t) {
|
|
|
2669
2669
|
) : process.env.NODE_ENV !== "production" && j("Invalid VNode type:", R, `(${typeof R})`);
|
|
2670
2670
|
}
|
|
2671
2671
|
G != null && x && Br(G, f && f.ref, _, g || f, !g);
|
|
2672
|
-
},
|
|
2672
|
+
}, F = (f, g, y, C) => {
|
|
2673
2673
|
if (f == null)
|
|
2674
2674
|
r(
|
|
2675
2675
|
g.el = c(g.children),
|
|
@@ -2680,13 +2680,13 @@ function vl(e, t) {
|
|
|
2680
2680
|
const x = g.el = f.el;
|
|
2681
2681
|
g.children !== f.children && E(x, g.children);
|
|
2682
2682
|
}
|
|
2683
|
-
},
|
|
2683
|
+
}, k = (f, g, y, C) => {
|
|
2684
2684
|
f == null ? r(
|
|
2685
2685
|
g.el = l(g.children || ""),
|
|
2686
2686
|
y,
|
|
2687
2687
|
C
|
|
2688
2688
|
) : g.el = f.el;
|
|
2689
|
-
},
|
|
2689
|
+
}, te = (f, g, y, C) => {
|
|
2690
2690
|
[f.el, f.anchor] = P(
|
|
2691
2691
|
f.children,
|
|
2692
2692
|
g,
|
|
@@ -2758,7 +2758,7 @@ function vl(e, t) {
|
|
|
2758
2758
|
"value" in G && s(N, "value", null, G.value, _), (R = G.onVnodeBeforeMount) && bt(R, C, f);
|
|
2759
2759
|
}
|
|
2760
2760
|
process.env.NODE_ENV !== "production" && (Lr(N, "__vnode", f, !0), Lr(N, "__vueParentComponent", C, !0)), se && on(f, null, C, "beforeMount");
|
|
2761
|
-
const ye =
|
|
2761
|
+
const ye = yl(x, Z);
|
|
2762
2762
|
ye && Z.beforeEnter(N), r(N, g, y), ((R = G && G.onVnodeMounted) || ye || se) && st(() => {
|
|
2763
2763
|
R && bt(R, C, f), ye && Z.enter(N), se && on(f, null, C, "mounted");
|
|
2764
2764
|
}, x);
|
|
@@ -2768,7 +2768,7 @@ function vl(e, t) {
|
|
|
2768
2768
|
S(f, C[_]);
|
|
2769
2769
|
if (x) {
|
|
2770
2770
|
let _ = x.subTree;
|
|
2771
|
-
if (process.env.NODE_ENV !== "production" && _.patchFlag > 0 && _.patchFlag & 2048 && (_ = ys(_.children) || _), g === _ ||
|
|
2771
|
+
if (process.env.NODE_ENV !== "production" && _.patchFlag > 0 && _.patchFlag & 2048 && (_ = ys(_.children) || _), g === _ || Bc(_.type) && (_.ssContent === g || _.ssFallback === g)) {
|
|
2772
2772
|
const I = x.vnode;
|
|
2773
2773
|
he(
|
|
2774
2774
|
f,
|
|
@@ -2782,7 +2782,7 @@ function vl(e, t) {
|
|
|
2782
2782
|
}, le = (f, g, y, C, x, _, I, b, N = 0) => {
|
|
2783
2783
|
for (let R = N; R < f.length; R++) {
|
|
2784
2784
|
const G = f[R] = b ? Zt(f[R]) : ht(f[R]);
|
|
2785
|
-
|
|
2785
|
+
W(
|
|
2786
2786
|
null,
|
|
2787
2787
|
G,
|
|
2788
2788
|
g,
|
|
@@ -2850,7 +2850,7 @@ function vl(e, t) {
|
|
|
2850
2850
|
y
|
|
2851
2851
|
)
|
|
2852
2852
|
);
|
|
2853
|
-
|
|
2853
|
+
W(
|
|
2854
2854
|
N,
|
|
2855
2855
|
R,
|
|
2856
2856
|
G,
|
|
@@ -2947,15 +2947,15 @@ function vl(e, t) {
|
|
|
2947
2947
|
N
|
|
2948
2948
|
) : ie(f, g, N);
|
|
2949
2949
|
}, ce = (f, g, y, C, x, _, I) => {
|
|
2950
|
-
const b = f.component =
|
|
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 &&
|
|
2955
|
+
if (process.env.NODE_ENV !== "production" && b.type.__hmrId && mu(b), process.env.NODE_ENV !== "production" && (Sr(f), bn(b, "mount")), ms(f) && (b.ctx.renderer = H), process.env.NODE_ENV !== "production" && bn(b, "init"), Bl(b, !1, I), process.env.NODE_ENV !== "production" && wn(b, "init"), b.asyncDep) {
|
|
2956
2956
|
if (process.env.NODE_ENV !== "production" && Dt && (f.el = null), x && x.registerDep(b, B, I), !f.el) {
|
|
2957
2957
|
const N = b.subTree = at(ut);
|
|
2958
|
-
|
|
2958
|
+
k(null, N, g, y);
|
|
2959
2959
|
}
|
|
2960
2960
|
} else
|
|
2961
2961
|
B(
|
|
@@ -2970,9 +2970,9 @@ function vl(e, t) {
|
|
|
2970
2970
|
process.env.NODE_ENV !== "production" && (Ar(), wn(b, "mount"));
|
|
2971
2971
|
}, ie = (f, g, y) => {
|
|
2972
2972
|
const C = g.component = f.component;
|
|
2973
|
-
if (
|
|
2973
|
+
if (Rl(f, g, y))
|
|
2974
2974
|
if (C.asyncDep && !C.asyncResolved) {
|
|
2975
|
-
process.env.NODE_ENV !== "production" && Sr(g),
|
|
2975
|
+
process.env.NODE_ENV !== "production" && Sr(g), Q(C, g, y), process.env.NODE_ENV !== "production" && Ar();
|
|
2976
2976
|
return;
|
|
2977
2977
|
} else
|
|
2978
2978
|
C.next = g, C.update();
|
|
@@ -2983,20 +2983,20 @@ function vl(e, t) {
|
|
|
2983
2983
|
if (f.isMounted) {
|
|
2984
2984
|
let { next: M, bu: Z, u: se, parent: ye, vnode: Te } = f;
|
|
2985
2985
|
{
|
|
2986
|
-
const tt =
|
|
2986
|
+
const tt = Vc(f);
|
|
2987
2987
|
if (tt) {
|
|
2988
|
-
M && (M.el = Te.el,
|
|
2988
|
+
M && (M.el = Te.el, Q(f, M, I)), tt.asyncDep.then(() => {
|
|
2989
2989
|
f.isUnmounted || b();
|
|
2990
2990
|
});
|
|
2991
2991
|
return;
|
|
2992
2992
|
}
|
|
2993
2993
|
}
|
|
2994
2994
|
let Se = M, qe;
|
|
2995
|
-
process.env.NODE_ENV !== "production" && Sr(M || f.vnode), sn(f, !1), M ? (M.el = Te.el,
|
|
2995
|
+
process.env.NODE_ENV !== "production" && Sr(M || f.vnode), sn(f, !1), M ? (M.el = Te.el, Q(f, M, I)) : M = Te, Z && Bn(Z), (qe = M.props && M.props.onVnodeBeforeUpdate) && bt(qe, ye, M, Te), sn(f, !0), process.env.NODE_ENV !== "production" && bn(f, "render");
|
|
2996
2996
|
const ke = Ks(f);
|
|
2997
2997
|
process.env.NODE_ENV !== "production" && wn(f, "render");
|
|
2998
2998
|
const ot = f.subTree;
|
|
2999
|
-
f.subTree = ke, process.env.NODE_ENV !== "production" && bn(f, "patch"),
|
|
2999
|
+
f.subTree = ke, process.env.NODE_ENV !== "production" && bn(f, "patch"), W(
|
|
3000
3000
|
ot,
|
|
3001
3001
|
ke,
|
|
3002
3002
|
// parent may have changed if it's in a teleport
|
|
@@ -3006,10 +3006,10 @@ function vl(e, t) {
|
|
|
3006
3006
|
f,
|
|
3007
3007
|
x,
|
|
3008
3008
|
_
|
|
3009
|
-
), process.env.NODE_ENV !== "production" && wn(f, "patch"), M.el = ke.el, Se === null &&
|
|
3009
|
+
), process.env.NODE_ENV !== "production" && wn(f, "patch"), M.el = ke.el, Se === null && xl(f, ke.el), se && st(se, x), (qe = M.props && M.props.onVnodeUpdated) && st(
|
|
3010
3010
|
() => bt(qe, ye, M, Te),
|
|
3011
3011
|
x
|
|
3012
|
-
), process.env.NODE_ENV !== "production" &&
|
|
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);
|
|
@@ -3017,7 +3017,7 @@ function vl(e, t) {
|
|
|
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);
|
|
3020
|
-
process.env.NODE_ENV !== "production" && wn(f, "render"), process.env.NODE_ENV !== "production" && bn(f, "patch"),
|
|
3020
|
+
process.env.NODE_ENV !== "production" && wn(f, "render"), process.env.NODE_ENV !== "production" && bn(f, "patch"), W(
|
|
3021
3021
|
null,
|
|
3022
3022
|
tt,
|
|
3023
3023
|
y,
|
|
@@ -3034,18 +3034,18 @@ function vl(e, t) {
|
|
|
3034
3034
|
x
|
|
3035
3035
|
);
|
|
3036
3036
|
}
|
|
3037
|
-
(g.shapeFlag & 256 || Se && er(Se.vnode) && Se.vnode.shapeFlag & 256) && f.a && st(f.a, x), f.isMounted = !0, process.env.NODE_ENV !== "production" &&
|
|
3037
|
+
(g.shapeFlag & 256 || Se && er(Se.vnode) && Se.vnode.shapeFlag & 256) && f.a && st(f.a, x), f.isMounted = !0, process.env.NODE_ENV !== "production" && wu(f), g = y = C = null;
|
|
3038
3038
|
}
|
|
3039
3039
|
};
|
|
3040
3040
|
f.scope.on();
|
|
3041
|
-
const N = f.effect = new
|
|
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
3044
|
G.i = f, G.id = f.uid, N.scheduler = () => Qr(G), sn(f, !0), process.env.NODE_ENV !== "production" && (N.onTrack = f.rtc ? (M) => Bn(f.rtc, M) : void 0, N.onTrigger = f.rtg ? (M) => Bn(f.rtg, M) : void 0), R();
|
|
3045
|
-
},
|
|
3045
|
+
}, Q = (f, g, y) => {
|
|
3046
3046
|
g.component = f;
|
|
3047
3047
|
const C = f.vnode.props;
|
|
3048
|
-
f.vnode = g, f.next = null,
|
|
3048
|
+
f.vnode = g, f.next = null, sl(f, g.props, C, y), gl(f, g.children, y), Gt(), Ms(f), Kt();
|
|
3049
3049
|
}, ve = (f, g, y, C, x, _, I, b, N = !1) => {
|
|
3050
3050
|
const R = f && f.children, G = f ? f.shapeFlag : 0, M = g.children, { patchFlag: Z, shapeFlag: se } = g;
|
|
3051
3051
|
if (Z > 0) {
|
|
@@ -3103,7 +3103,7 @@ function vl(e, t) {
|
|
|
3103
3103
|
let Z;
|
|
3104
3104
|
for (Z = 0; Z < M; Z++) {
|
|
3105
3105
|
const se = g[Z] = N ? Zt(g[Z]) : ht(g[Z]);
|
|
3106
|
-
|
|
3106
|
+
W(
|
|
3107
3107
|
f[Z],
|
|
3108
3108
|
se,
|
|
3109
3109
|
y,
|
|
@@ -3140,7 +3140,7 @@ function vl(e, t) {
|
|
|
3140
3140
|
for (; R <= M && R <= Z; ) {
|
|
3141
3141
|
const se = f[R], ye = g[R] = N ? Zt(g[R]) : ht(g[R]);
|
|
3142
3142
|
if (Kn(se, ye))
|
|
3143
|
-
|
|
3143
|
+
W(
|
|
3144
3144
|
se,
|
|
3145
3145
|
ye,
|
|
3146
3146
|
y,
|
|
@@ -3158,7 +3158,7 @@ function vl(e, t) {
|
|
|
3158
3158
|
for (; R <= M && R <= Z; ) {
|
|
3159
3159
|
const se = f[M], ye = g[Z] = N ? Zt(g[Z]) : ht(g[Z]);
|
|
3160
3160
|
if (Kn(se, ye))
|
|
3161
|
-
|
|
3161
|
+
W(
|
|
3162
3162
|
se,
|
|
3163
3163
|
ye,
|
|
3164
3164
|
y,
|
|
@@ -3177,7 +3177,7 @@ function vl(e, t) {
|
|
|
3177
3177
|
if (R <= Z) {
|
|
3178
3178
|
const se = Z + 1, ye = se < G ? g[se].el : C;
|
|
3179
3179
|
for (; R <= Z; )
|
|
3180
|
-
|
|
3180
|
+
W(
|
|
3181
3181
|
null,
|
|
3182
3182
|
g[R] = N ? Zt(g[R]) : ht(g[R]),
|
|
3183
3183
|
y,
|
|
@@ -3222,7 +3222,7 @@ function vl(e, t) {
|
|
|
3222
3222
|
ft = Se;
|
|
3223
3223
|
break;
|
|
3224
3224
|
}
|
|
3225
|
-
ft === void 0 ? Le(Ue, x, _, !0) : (lt[ft - ye] = R + 1, ft >= tt ? tt = ft : ot = !0,
|
|
3225
|
+
ft === void 0 ? Le(Ue, x, _, !0) : (lt[ft - ye] = R + 1, ft >= tt ? tt = ft : ot = !0, W(
|
|
3226
3226
|
Ue,
|
|
3227
3227
|
g[ft],
|
|
3228
3228
|
y,
|
|
@@ -3234,10 +3234,10 @@ function vl(e, t) {
|
|
|
3234
3234
|
N
|
|
3235
3235
|
), qe++);
|
|
3236
3236
|
}
|
|
3237
|
-
const jn = ot ?
|
|
3237
|
+
const jn = ot ? _l(lt) : Sn;
|
|
3238
3238
|
for (Se = jn.length - 1, R = ke - 1; R >= 0; R--) {
|
|
3239
3239
|
const Ue = ye + R, ft = g[Ue], rn = Ue + 1 < G ? g[Ue + 1].el : C;
|
|
3240
|
-
lt[R] === 0 ?
|
|
3240
|
+
lt[R] === 0 ? W(
|
|
3241
3241
|
null,
|
|
3242
3242
|
ft,
|
|
3243
3243
|
y,
|
|
@@ -3362,11 +3362,11 @@ function vl(e, t) {
|
|
|
3362
3362
|
y = h(f), o(f), f = y;
|
|
3363
3363
|
o(g);
|
|
3364
3364
|
}, Ve = (f, g, y) => {
|
|
3365
|
-
process.env.NODE_ENV !== "production" && f.type.__hmrId &&
|
|
3365
|
+
process.env.NODE_ENV !== "production" && f.type.__hmrId && vu(f);
|
|
3366
3366
|
const { bum: C, scope: x, job: _, subTree: I, um: b, m: N, a: R } = f;
|
|
3367
3367
|
Gs(N), Gs(R), C && Bn(C), x.stop(), _ && (_.flags |= 8, Le(I, f, g, y)), b && st(b, g), st(() => {
|
|
3368
3368
|
f.isUnmounted = !0;
|
|
3369
|
-
}, 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" &&
|
|
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
3371
|
for (let I = _; I < f.length; I++)
|
|
3372
3372
|
Le(f[I], g, y, C, x);
|
|
@@ -3375,12 +3375,12 @@ function vl(e, t) {
|
|
|
3375
3375
|
return ge(f.component.subTree);
|
|
3376
3376
|
if (f.shapeFlag & 128)
|
|
3377
3377
|
return f.suspense.next();
|
|
3378
|
-
const g = h(f.anchor || f.el), y = g && g[
|
|
3378
|
+
const g = h(f.anchor || f.el), y = g && g[xu];
|
|
3379
3379
|
return y ? h(y) : g;
|
|
3380
3380
|
};
|
|
3381
3381
|
let Ie = !1;
|
|
3382
3382
|
const we = (f, g, y) => {
|
|
3383
|
-
f == null ? g._vnode && Le(g._vnode, null, null, !0) :
|
|
3383
|
+
f == null ? g._vnode && Le(g._vnode, null, null, !0) : W(
|
|
3384
3384
|
g._vnode || null,
|
|
3385
3385
|
f,
|
|
3386
3386
|
g,
|
|
@@ -3388,9 +3388,9 @@ function vl(e, t) {
|
|
|
3388
3388
|
null,
|
|
3389
3389
|
null,
|
|
3390
3390
|
y
|
|
3391
|
-
), g._vnode = f, Ie || (Ie = !0, Ms(),
|
|
3391
|
+
), g._vnode = f, Ie || (Ie = !0, Ms(), dc(), Ie = !1);
|
|
3392
3392
|
}, H = {
|
|
3393
|
-
p:
|
|
3393
|
+
p: W,
|
|
3394
3394
|
um: Le,
|
|
3395
3395
|
m: Re,
|
|
3396
3396
|
r: A,
|
|
@@ -3404,7 +3404,7 @@ function vl(e, t) {
|
|
|
3404
3404
|
return {
|
|
3405
3405
|
render: we,
|
|
3406
3406
|
hydrate: void 0,
|
|
3407
|
-
createApp:
|
|
3407
|
+
createApp: tl(we)
|
|
3408
3408
|
};
|
|
3409
3409
|
}
|
|
3410
3410
|
function bo({ type: e, props: t }, n) {
|
|
@@ -3413,7 +3413,7 @@ function bo({ type: e, props: t }, n) {
|
|
|
3413
3413
|
function sn({ effect: e, job: t }, n) {
|
|
3414
3414
|
n ? (e.flags |= 32, t.flags |= 4) : (e.flags &= -33, t.flags &= -5);
|
|
3415
3415
|
}
|
|
3416
|
-
function
|
|
3416
|
+
function yl(e, t) {
|
|
3417
3417
|
return (!e || e && !e.pendingBranch) && t && !t.persisted;
|
|
3418
3418
|
}
|
|
3419
3419
|
function Rr(e, t, n = !1) {
|
|
@@ -3425,7 +3425,7 @@ function Rr(e, t, n = !1) {
|
|
|
3425
3425
|
c.shapeFlag & 1 && !c.dynamicChildren && ((c.patchFlag <= 0 || c.patchFlag === 32) && (c = o[s] = Zt(o[s]), c.el = i.el), !n && c.patchFlag !== -2 && Rr(i, c)), c.type === hr && (c.el = i.el), process.env.NODE_ENV !== "production" && c.type === ut && !c.el && (c.el = i.el);
|
|
3426
3426
|
}
|
|
3427
3427
|
}
|
|
3428
|
-
function
|
|
3428
|
+
function _l(e) {
|
|
3429
3429
|
const t = e.slice(), n = [0];
|
|
3430
3430
|
let r, o, s, i, c;
|
|
3431
3431
|
const l = e.length;
|
|
@@ -3445,19 +3445,19 @@ function yl(e) {
|
|
|
3445
3445
|
n[s] = i, i = t[i];
|
|
3446
3446
|
return n;
|
|
3447
3447
|
}
|
|
3448
|
-
function
|
|
3448
|
+
function Vc(e) {
|
|
3449
3449
|
const t = e.subTree.component;
|
|
3450
3450
|
if (t)
|
|
3451
|
-
return t.asyncDep && !t.asyncResolved ? t :
|
|
3451
|
+
return t.asyncDep && !t.asyncResolved ? t : Vc(t);
|
|
3452
3452
|
}
|
|
3453
3453
|
function Gs(e) {
|
|
3454
3454
|
if (e)
|
|
3455
3455
|
for (let t = 0; t < e.length; t++)
|
|
3456
3456
|
e[t].flags |= 8;
|
|
3457
3457
|
}
|
|
3458
|
-
const
|
|
3458
|
+
const bl = Symbol.for("v-scx"), wl = () => {
|
|
3459
3459
|
{
|
|
3460
|
-
const e = Tr(
|
|
3460
|
+
const e = Tr(bl);
|
|
3461
3461
|
return e || process.env.NODE_ENV !== "production" && j(
|
|
3462
3462
|
"Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."
|
|
3463
3463
|
), e;
|
|
@@ -3466,9 +3466,9 @@ const _l = Symbol.for("v-scx"), bl = () => {
|
|
|
3466
3466
|
function Rt(e, t, n) {
|
|
3467
3467
|
return process.env.NODE_ENV !== "production" && !pe(t) && j(
|
|
3468
3468
|
"`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."
|
|
3469
|
-
),
|
|
3469
|
+
), jc(e, t, n);
|
|
3470
3470
|
}
|
|
3471
|
-
function
|
|
3471
|
+
function jc(e, t, n = Ne) {
|
|
3472
3472
|
const { immediate: r, deep: o, flush: s, once: i } = n;
|
|
3473
3473
|
process.env.NODE_ENV !== "production" && !t && (r !== void 0 && j(
|
|
3474
3474
|
'watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'
|
|
@@ -3483,7 +3483,7 @@ function Vc(e, t, n = Ne) {
|
|
|
3483
3483
|
let E;
|
|
3484
3484
|
if (cr) {
|
|
3485
3485
|
if (s === "sync") {
|
|
3486
|
-
const S =
|
|
3486
|
+
const S = wl();
|
|
3487
3487
|
E = S.__watcherHandles || (S.__watcherHandles = []);
|
|
3488
3488
|
} else if (!l) {
|
|
3489
3489
|
const S = () => {
|
|
@@ -3492,7 +3492,7 @@ function Vc(e, t, n = Ne) {
|
|
|
3492
3492
|
}
|
|
3493
3493
|
}
|
|
3494
3494
|
const p = Ke;
|
|
3495
|
-
c.call = (S, P,
|
|
3495
|
+
c.call = (S, P, W) => Pt(S, p, P, W);
|
|
3496
3496
|
let d = !1;
|
|
3497
3497
|
s === "post" ? c.scheduler = (S) => {
|
|
3498
3498
|
st(S, p && p.suspense);
|
|
@@ -3501,17 +3501,17 @@ function Vc(e, t, n = Ne) {
|
|
|
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
|
};
|
|
3504
|
-
const h =
|
|
3504
|
+
const h = cu(e, t, c);
|
|
3505
3505
|
return cr && (E ? E.push(h) : l && h()), h;
|
|
3506
3506
|
}
|
|
3507
|
-
function
|
|
3508
|
-
const r = this.proxy, o = We(e) ? e.includes(".") ?
|
|
3507
|
+
function Ol(e, t, n) {
|
|
3508
|
+
const r = this.proxy, o = We(e) ? e.includes(".") ? Hc(r, e) : () => r[e] : e.bind(r, r);
|
|
3509
3509
|
let s;
|
|
3510
3510
|
pe(t) ? s = t : (s = t.handler, n = t);
|
|
3511
|
-
const i = gr(this), c =
|
|
3511
|
+
const i = gr(this), c = jc(o, s.bind(r), n);
|
|
3512
3512
|
return i(), c;
|
|
3513
3513
|
}
|
|
3514
|
-
function
|
|
3514
|
+
function Hc(e, t) {
|
|
3515
3515
|
const n = t.split(".");
|
|
3516
3516
|
return () => {
|
|
3517
3517
|
let r = e;
|
|
@@ -3520,8 +3520,8 @@ function jc(e, t) {
|
|
|
3520
3520
|
return r;
|
|
3521
3521
|
};
|
|
3522
3522
|
}
|
|
3523
|
-
const
|
|
3524
|
-
function
|
|
3523
|
+
const Sl = (e, t) => t === "modelValue" || t === "model-value" ? e.modelModifiers : e[`${t}Modifiers`] || e[`${mt(t)}Modifiers`] || e[`${tn(t)}Modifiers`];
|
|
3524
|
+
function Al(e, t, ...n) {
|
|
3525
3525
|
if (e.isUnmounted) return;
|
|
3526
3526
|
const r = e.vnode.props || Ne;
|
|
3527
3527
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -3542,8 +3542,8 @@ function Sl(e, t, ...n) {
|
|
|
3542
3542
|
}
|
|
3543
3543
|
}
|
|
3544
3544
|
let o = n;
|
|
3545
|
-
const s = t.startsWith("update:"), i = s &&
|
|
3546
|
-
if (i && (i.trim && (o = n.map((p) => We(p) ? p.trim() : p)), i.number && (o = n.map(
|
|
3545
|
+
const s = t.startsWith("update:"), i = s && Sl(r, t.slice(7));
|
|
3546
|
+
if (i && (i.trim && (o = n.map((p) => We(p) ? p.trim() : p)), i.number && (o = n.map(Na))), process.env.NODE_ENV !== "production" && Tu(e, t, o), process.env.NODE_ENV !== "production") {
|
|
3547
3547
|
const p = t.toLowerCase();
|
|
3548
3548
|
p !== t && r[an(p)] && j(
|
|
3549
3549
|
`Event "${p}" is emitted in component ${ro(
|
|
@@ -3576,7 +3576,7 @@ function Sl(e, t, ...n) {
|
|
|
3576
3576
|
);
|
|
3577
3577
|
}
|
|
3578
3578
|
}
|
|
3579
|
-
function
|
|
3579
|
+
function Wc(e, t, n = !1) {
|
|
3580
3580
|
const r = t.emitsCache, o = r.get(e);
|
|
3581
3581
|
if (o !== void 0)
|
|
3582
3582
|
return o;
|
|
@@ -3584,7 +3584,7 @@ function Hc(e, t, n = !1) {
|
|
|
3584
3584
|
let i = {}, c = !1;
|
|
3585
3585
|
if (!pe(e)) {
|
|
3586
3586
|
const l = (E) => {
|
|
3587
|
-
const p =
|
|
3587
|
+
const p = Wc(E, t, !0);
|
|
3588
3588
|
p && (c = !0, He(i, p));
|
|
3589
3589
|
};
|
|
3590
3590
|
!n && t.mixins.length && t.mixins.forEach(l), e.extends && l(e.extends), e.mixins && e.mixins.forEach(l);
|
|
@@ -3614,9 +3614,9 @@ function Ks(e) {
|
|
|
3614
3614
|
data: h,
|
|
3615
3615
|
setupState: S,
|
|
3616
3616
|
ctx: P,
|
|
3617
|
-
inheritAttrs:
|
|
3618
|
-
} = e,
|
|
3619
|
-
let
|
|
3617
|
+
inheritAttrs: W
|
|
3618
|
+
} = e, F = Fr(e);
|
|
3619
|
+
let k, te;
|
|
3620
3620
|
process.env.NODE_ENV !== "production" && (Ko = !1);
|
|
3621
3621
|
try {
|
|
3622
3622
|
if (n.shapeFlag & 4) {
|
|
@@ -3629,7 +3629,7 @@ function Ks(e) {
|
|
|
3629
3629
|
), Reflect.get(ue, he, le);
|
|
3630
3630
|
}
|
|
3631
3631
|
}) : L;
|
|
3632
|
-
|
|
3632
|
+
k = ht(
|
|
3633
3633
|
E.call(
|
|
3634
3634
|
re,
|
|
3635
3635
|
L,
|
|
@@ -3639,10 +3639,10 @@ function Ks(e) {
|
|
|
3639
3639
|
h,
|
|
3640
3640
|
P
|
|
3641
3641
|
)
|
|
3642
|
-
),
|
|
3642
|
+
), te = c;
|
|
3643
3643
|
} else {
|
|
3644
3644
|
const L = t;
|
|
3645
|
-
process.env.NODE_ENV !== "production" && c === d && Kr(),
|
|
3645
|
+
process.env.NODE_ENV !== "production" && c === d && Kr(), k = ht(
|
|
3646
3646
|
L.length > 1 ? L(
|
|
3647
3647
|
process.env.NODE_ENV !== "production" ? xt(d) : d,
|
|
3648
3648
|
process.env.NODE_ENV !== "production" ? {
|
|
@@ -3656,20 +3656,20 @@ function Ks(e) {
|
|
|
3656
3656
|
process.env.NODE_ENV !== "production" ? xt(d) : d,
|
|
3657
3657
|
null
|
|
3658
3658
|
)
|
|
3659
|
-
),
|
|
3659
|
+
), te = t.props ? c : Nl(c);
|
|
3660
3660
|
}
|
|
3661
3661
|
} catch (L) {
|
|
3662
|
-
tr.length = 0, pr(L, e, 1),
|
|
3662
|
+
tr.length = 0, pr(L, e, 1), k = at(ut);
|
|
3663
3663
|
}
|
|
3664
|
-
let U =
|
|
3665
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
3666
|
-
const L = Object.keys(
|
|
3664
|
+
let U = k, oe;
|
|
3665
|
+
if (process.env.NODE_ENV !== "production" && k.patchFlag > 0 && k.patchFlag & 2048 && ([U, oe] = Fc(k)), te && W !== !1) {
|
|
3666
|
+
const L = Object.keys(te), { shapeFlag: re } = U;
|
|
3667
3667
|
if (L.length) {
|
|
3668
3668
|
if (re & 7)
|
|
3669
|
-
s && L.some(Mr) && (
|
|
3670
|
-
|
|
3669
|
+
s && L.some(Mr) && (te = Tl(
|
|
3670
|
+
te,
|
|
3671
3671
|
s
|
|
3672
|
-
)), U = nn(U,
|
|
3672
|
+
)), U = nn(U, te, !1, !0);
|
|
3673
3673
|
else if (process.env.NODE_ENV !== "production" && !Ko && U.type !== ut) {
|
|
3674
3674
|
const ue = Object.keys(c), he = [], le = [];
|
|
3675
3675
|
for (let be = 0, Y = ue.length; be < Y; be++) {
|
|
@@ -3688,13 +3688,13 @@ function Ks(e) {
|
|
|
3688
3688
|
"Runtime directive used on component with non-element root node. The directives will not function as intended."
|
|
3689
3689
|
), U = nn(U, null, !1, !0), U.dirs = U.dirs ? U.dirs.concat(n.dirs) : n.dirs), n.transition && (process.env.NODE_ENV !== "production" && !ks(U) && j(
|
|
3690
3690
|
"Component inside <Transition> renders non-element root node that cannot be animated."
|
|
3691
|
-
), gs(U, n.transition)), process.env.NODE_ENV !== "production" && oe ? oe(U) :
|
|
3691
|
+
), gs(U, n.transition)), process.env.NODE_ENV !== "production" && oe ? oe(U) : k = U, Fr(F), k;
|
|
3692
3692
|
}
|
|
3693
|
-
const
|
|
3693
|
+
const Fc = (e) => {
|
|
3694
3694
|
const t = e.children, n = e.dynamicChildren, r = ys(t, !1);
|
|
3695
3695
|
if (r) {
|
|
3696
3696
|
if (process.env.NODE_ENV !== "production" && r.patchFlag > 0 && r.patchFlag & 2048)
|
|
3697
|
-
return
|
|
3697
|
+
return Fc(r);
|
|
3698
3698
|
} else return [e, void 0];
|
|
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]));
|
|
@@ -3717,18 +3717,18 @@ function ys(e, t = !0) {
|
|
|
3717
3717
|
}
|
|
3718
3718
|
return n;
|
|
3719
3719
|
}
|
|
3720
|
-
const
|
|
3720
|
+
const Nl = (e) => {
|
|
3721
3721
|
let t;
|
|
3722
3722
|
for (const n in e)
|
|
3723
3723
|
(n === "class" || n === "style" || lr(n)) && ((t || (t = {}))[n] = e[n]);
|
|
3724
3724
|
return t;
|
|
3725
|
-
},
|
|
3725
|
+
}, Tl = (e, t) => {
|
|
3726
3726
|
const n = {};
|
|
3727
3727
|
for (const r in e)
|
|
3728
3728
|
(!Mr(r) || !(r.slice(9) in t)) && (n[r] = e[r]);
|
|
3729
3729
|
return n;
|
|
3730
3730
|
}, ks = (e) => e.shapeFlag & 7 || e.type === ut;
|
|
3731
|
-
function
|
|
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
3733
|
if (process.env.NODE_ENV !== "production" && (o || c) && Dt || t.dirs || t.transition)
|
|
3734
3734
|
return !0;
|
|
@@ -3760,7 +3760,7 @@ function Ys(e, t, n) {
|
|
|
3760
3760
|
}
|
|
3761
3761
|
return !1;
|
|
3762
3762
|
}
|
|
3763
|
-
function
|
|
3763
|
+
function xl({ vnode: e, parent: t }, n) {
|
|
3764
3764
|
for (; t; ) {
|
|
3765
3765
|
const r = t.subTree;
|
|
3766
3766
|
if (r.suspense && r.suspense.activeBranch === e && (r.el = e.el), r === e)
|
|
@@ -3769,27 +3769,27 @@ function Rl({ vnode: e, parent: t }, n) {
|
|
|
3769
3769
|
break;
|
|
3770
3770
|
}
|
|
3771
3771
|
}
|
|
3772
|
-
const
|
|
3773
|
-
function
|
|
3774
|
-
t && t.pendingBranch ? ae(e) ? t.effects.push(...e) : t.effects.push(e) :
|
|
3772
|
+
const Bc = (e) => e.__isSuspense;
|
|
3773
|
+
function Dl(e, t) {
|
|
3774
|
+
t && t.pendingBranch ? ae(e) ? t.effects.push(...e) : t.effects.push(e) : pc(e);
|
|
3775
3775
|
}
|
|
3776
3776
|
const Nt = Symbol.for("v-fgt"), hr = Symbol.for("v-txt"), ut = Symbol.for("v-cmt"), xr = Symbol.for("v-stc"), tr = [];
|
|
3777
3777
|
let ct = null;
|
|
3778
3778
|
function Ot(e = !1) {
|
|
3779
3779
|
tr.push(ct = e ? null : []);
|
|
3780
3780
|
}
|
|
3781
|
-
function
|
|
3781
|
+
function Cl() {
|
|
3782
3782
|
tr.pop(), ct = tr[tr.length - 1] || null;
|
|
3783
3783
|
}
|
|
3784
3784
|
let ir = 1;
|
|
3785
3785
|
function qs(e, t = !1) {
|
|
3786
3786
|
ir += e, e < 0 && ct && t && (ct.hasOnce = !0);
|
|
3787
3787
|
}
|
|
3788
|
-
function
|
|
3789
|
-
return e.dynamicChildren = ir > 0 ? ct || Sn : null,
|
|
3788
|
+
function Uc(e) {
|
|
3789
|
+
return e.dynamicChildren = ir > 0 ? ct || Sn : null, Cl(), ir > 0 && ct && ct.push(e), e;
|
|
3790
3790
|
}
|
|
3791
3791
|
function jt(e, t, n, r, o, s) {
|
|
3792
|
-
return
|
|
3792
|
+
return Uc(
|
|
3793
3793
|
dt(
|
|
3794
3794
|
e,
|
|
3795
3795
|
t,
|
|
@@ -3801,8 +3801,8 @@ function jt(e, t, n, r, o, s) {
|
|
|
3801
3801
|
)
|
|
3802
3802
|
);
|
|
3803
3803
|
}
|
|
3804
|
-
function
|
|
3805
|
-
return
|
|
3804
|
+
function Pl(e, t, n, r, o) {
|
|
3805
|
+
return Uc(
|
|
3806
3806
|
at(
|
|
3807
3807
|
e,
|
|
3808
3808
|
t,
|
|
@@ -3824,9 +3824,9 @@ function Kn(e, t) {
|
|
|
3824
3824
|
}
|
|
3825
3825
|
return e.type === t.type && e.key === t.key;
|
|
3826
3826
|
}
|
|
3827
|
-
const
|
|
3827
|
+
const Il = (...e) => Kc(
|
|
3828
3828
|
...e
|
|
3829
|
-
),
|
|
3829
|
+
), Gc = ({ key: e }) => e ?? null, Dr = ({
|
|
3830
3830
|
ref: e,
|
|
3831
3831
|
ref_key: t,
|
|
3832
3832
|
ref_for: n
|
|
@@ -3837,9 +3837,9 @@ function dt(e, t = null, n = null, r = 0, o = null, s = e === Nt ? 0 : 1, i = !1
|
|
|
3837
3837
|
__v_skip: !0,
|
|
3838
3838
|
type: e,
|
|
3839
3839
|
props: t,
|
|
3840
|
-
key: t &&
|
|
3840
|
+
key: t && Gc(t),
|
|
3841
3841
|
ref: t && Dr(t),
|
|
3842
|
-
scopeId:
|
|
3842
|
+
scopeId: Ec,
|
|
3843
3843
|
slotScopeIds: null,
|
|
3844
3844
|
children: n,
|
|
3845
3845
|
component: null,
|
|
@@ -3871,9 +3871,9 @@ function dt(e, t = null, n = null, r = 0, o = null, s = e === Nt ? 0 : 1, i = !1
|
|
|
3871
3871
|
// vnode should not be considered dynamic due to handler caching.
|
|
3872
3872
|
l.patchFlag !== 32 && ct.push(l), l;
|
|
3873
3873
|
}
|
|
3874
|
-
const at = process.env.NODE_ENV !== "production" ?
|
|
3875
|
-
function
|
|
3876
|
-
if ((!e || e ===
|
|
3874
|
+
const at = process.env.NODE_ENV !== "production" ? Il : Kc;
|
|
3875
|
+
function Kc(e, t = null, n = null, r = 0, o = null, s = !1) {
|
|
3876
|
+
if ((!e || e === Gu) && (process.env.NODE_ENV !== "production" && !e && j(`Invalid vnode type when creating vnode: ${e}.`), e = ut), xn(e)) {
|
|
3877
3877
|
const c = nn(
|
|
3878
3878
|
e,
|
|
3879
3879
|
t,
|
|
@@ -3882,12 +3882,12 @@ function Gc(e, t = null, n = null, r = 0, o = null, s = !1) {
|
|
|
3882
3882
|
);
|
|
3883
3883
|
return n && _s(c, n), ir > 0 && !s && ct && (c.shapeFlag & 6 ? ct[ct.indexOf(e)] = c : ct.push(c)), c.patchFlag = -2, c;
|
|
3884
3884
|
}
|
|
3885
|
-
if (
|
|
3886
|
-
t =
|
|
3885
|
+
if (Jc(e) && (e = e.__vccOpts), t) {
|
|
3886
|
+
t = $l(t);
|
|
3887
3887
|
let { class: c, style: l } = t;
|
|
3888
3888
|
c && !We(c) && (t.class = os(c)), De(l) && (Vr(l) && !ae(l) && (l = He({}, l)), t.style = Wt(l));
|
|
3889
3889
|
}
|
|
3890
|
-
const i = We(e) ? 1 :
|
|
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(
|
|
3892
3892
|
"Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",
|
|
3893
3893
|
`
|
|
@@ -3904,16 +3904,16 @@ Component that was made reactive: `,
|
|
|
3904
3904
|
!0
|
|
3905
3905
|
);
|
|
3906
3906
|
}
|
|
3907
|
-
function
|
|
3908
|
-
return e ? Vr(e) ||
|
|
3907
|
+
function $l(e) {
|
|
3908
|
+
return e ? Vr(e) || Dc(e) ? He({}, e) : e : null;
|
|
3909
3909
|
}
|
|
3910
3910
|
function nn(e, t, n = !1, r = !1) {
|
|
3911
|
-
const { props: o, ref: s, patchFlag: i, children: c, transition: l } = e, E = t ?
|
|
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,
|
|
3914
3914
|
type: e.type,
|
|
3915
3915
|
props: E,
|
|
3916
|
-
key: E &&
|
|
3916
|
+
key: E && Gc(E),
|
|
3917
3917
|
ref: t && t.ref ? (
|
|
3918
3918
|
// #2078 in the case of <component :is="vnode" ref="extra"/>
|
|
3919
3919
|
// if the vnode itself already has a ref, cloneVNode will need to merge
|
|
@@ -3922,7 +3922,7 @@ function nn(e, t, n = !1, r = !1) {
|
|
|
3922
3922
|
) : s,
|
|
3923
3923
|
scopeId: e.scopeId,
|
|
3924
3924
|
slotScopeIds: e.slotScopeIds,
|
|
3925
|
-
children: process.env.NODE_ENV !== "production" && i === -1 && ae(c) ? c.map(
|
|
3925
|
+
children: process.env.NODE_ENV !== "production" && i === -1 && ae(c) ? c.map(kc) : c,
|
|
3926
3926
|
target: e.target,
|
|
3927
3927
|
targetStart: e.targetStart,
|
|
3928
3928
|
targetAnchor: e.targetAnchor,
|
|
@@ -3956,15 +3956,15 @@ function nn(e, t, n = !1, r = !1) {
|
|
|
3956
3956
|
l.clone(p)
|
|
3957
3957
|
), p;
|
|
3958
3958
|
}
|
|
3959
|
-
function
|
|
3959
|
+
function kc(e) {
|
|
3960
3960
|
const t = nn(e);
|
|
3961
|
-
return ae(e.children) && (t.children = e.children.map(
|
|
3961
|
+
return ae(e.children) && (t.children = e.children.map(kc)), t;
|
|
3962
3962
|
}
|
|
3963
|
-
function
|
|
3963
|
+
function Ml(e = " ", t = 0) {
|
|
3964
3964
|
return at(hr, null, e, t);
|
|
3965
3965
|
}
|
|
3966
3966
|
function zt(e = "", t = !1) {
|
|
3967
|
-
return t ? (Ot(),
|
|
3967
|
+
return t ? (Ot(), Pl(ut, null, e)) : at(ut, null, e);
|
|
3968
3968
|
}
|
|
3969
3969
|
function ht(e) {
|
|
3970
3970
|
return e == null || typeof e == "boolean" ? at(ut) : ae(e) ? at(
|
|
@@ -3992,12 +3992,12 @@ function _s(e, t) {
|
|
|
3992
3992
|
} else {
|
|
3993
3993
|
n = 32;
|
|
3994
3994
|
const o = t._;
|
|
3995
|
-
!o && !
|
|
3995
|
+
!o && !Dc(t) ? t._ctx = et : o === 3 && et && (et.slots._ === 1 ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024));
|
|
3996
3996
|
}
|
|
3997
|
-
else pe(t) ? (t = { default: t, _ctx: et }, n = 32) : (t = String(t), r & 64 ? (n = 16, t = [
|
|
3997
|
+
else pe(t) ? (t = { default: t, _ctx: et }, n = 32) : (t = String(t), r & 64 ? (n = 16, t = [Ml(t)]) : n = 8);
|
|
3998
3998
|
e.children = t, e.shapeFlag |= n;
|
|
3999
3999
|
}
|
|
4000
|
-
function
|
|
4000
|
+
function Ll(...e) {
|
|
4001
4001
|
const t = {};
|
|
4002
4002
|
for (let n = 0; n < e.length; n++) {
|
|
4003
4003
|
const r = e[n];
|
|
@@ -4019,11 +4019,11 @@ function bt(e, t, n, r = null) {
|
|
|
4019
4019
|
r
|
|
4020
4020
|
]);
|
|
4021
4021
|
}
|
|
4022
|
-
const
|
|
4023
|
-
let
|
|
4024
|
-
function
|
|
4025
|
-
const r = e.type, o = (t ? t.appContext : e.appContext) ||
|
|
4026
|
-
uid:
|
|
4022
|
+
const Vl = Tc();
|
|
4023
|
+
let jl = 0;
|
|
4024
|
+
function Hl(e, t, n) {
|
|
4025
|
+
const r = e.type, o = (t ? t.appContext : e.appContext) || Vl, s = {
|
|
4026
|
+
uid: jl++,
|
|
4027
4027
|
vnode: e,
|
|
4028
4028
|
type: r,
|
|
4029
4029
|
parent: t,
|
|
@@ -4037,7 +4037,7 @@ function jl(e, t, n) {
|
|
|
4037
4037
|
update: null,
|
|
4038
4038
|
// will be set synchronously right after creation
|
|
4039
4039
|
job: null,
|
|
4040
|
-
scope: new
|
|
4040
|
+
scope: new Ia(
|
|
4041
4041
|
!0
|
|
4042
4042
|
/* detached */
|
|
4043
4043
|
),
|
|
@@ -4054,8 +4054,8 @@ function jl(e, t, n) {
|
|
|
4054
4054
|
components: null,
|
|
4055
4055
|
directives: null,
|
|
4056
4056
|
// resolved props and emits options
|
|
4057
|
-
propsOptions:
|
|
4058
|
-
emitsOptions:
|
|
4057
|
+
propsOptions: Pc(r, o),
|
|
4058
|
+
emitsOptions: Wc(r, o),
|
|
4059
4059
|
// emit
|
|
4060
4060
|
emit: null,
|
|
4061
4061
|
// to be set immediately
|
|
@@ -4098,10 +4098,10 @@ function jl(e, t, n) {
|
|
|
4098
4098
|
ec: null,
|
|
4099
4099
|
sp: null
|
|
4100
4100
|
};
|
|
4101
|
-
return process.env.NODE_ENV !== "production" ? s.ctx =
|
|
4101
|
+
return process.env.NODE_ENV !== "production" ? s.ctx = Ku(s) : s.ctx = { _: s }, s.root = t ? t.root : s, s.emit = Al.bind(null, s), e.ce && e.ce(s), s;
|
|
4102
4102
|
}
|
|
4103
4103
|
let Ke = null;
|
|
4104
|
-
const
|
|
4104
|
+
const Wl = () => Ke || et;
|
|
4105
4105
|
let kr, ko;
|
|
4106
4106
|
{
|
|
4107
4107
|
const e = fr(), t = (n, r) => {
|
|
@@ -4125,24 +4125,24 @@ const gr = (e) => {
|
|
|
4125
4125
|
};
|
|
4126
4126
|
}, zs = () => {
|
|
4127
4127
|
Ke && Ke.scope.off(), kr(null);
|
|
4128
|
-
},
|
|
4128
|
+
}, Fl = /* @__PURE__ */ In("slot,component");
|
|
4129
4129
|
function Yo(e, { isNativeTag: t }) {
|
|
4130
|
-
(
|
|
4130
|
+
(Fl(e) || t(e)) && j(
|
|
4131
4131
|
"Do not use built-in or reserved HTML elements as component id: " + e
|
|
4132
4132
|
);
|
|
4133
4133
|
}
|
|
4134
|
-
function
|
|
4134
|
+
function Yc(e) {
|
|
4135
4135
|
return e.vnode.shapeFlag & 4;
|
|
4136
4136
|
}
|
|
4137
4137
|
let cr = !1;
|
|
4138
|
-
function
|
|
4138
|
+
function Bl(e, t = !1, n = !1) {
|
|
4139
4139
|
t && ko(t);
|
|
4140
|
-
const { props: r, children: o } = e.vnode, s =
|
|
4141
|
-
|
|
4142
|
-
const i = s ?
|
|
4140
|
+
const { props: r, children: o } = e.vnode, s = Yc(e);
|
|
4141
|
+
rl(e, r, s, t), hl(e, o, n);
|
|
4142
|
+
const i = s ? Ul(e, t) : void 0;
|
|
4143
4143
|
return t && ko(!1), i;
|
|
4144
4144
|
}
|
|
4145
|
-
function
|
|
4145
|
+
function Ul(e, t) {
|
|
4146
4146
|
var n;
|
|
4147
4147
|
const r = e.type;
|
|
4148
4148
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -4154,17 +4154,17 @@ function Bl(e, t) {
|
|
|
4154
4154
|
if (r.directives) {
|
|
4155
4155
|
const s = Object.keys(r.directives);
|
|
4156
4156
|
for (let i = 0; i < s.length; i++)
|
|
4157
|
-
|
|
4157
|
+
yc(s[i]);
|
|
4158
4158
|
}
|
|
4159
|
-
r.compilerOptions &&
|
|
4159
|
+
r.compilerOptions && Gl() && j(
|
|
4160
4160
|
'"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.'
|
|
4161
4161
|
);
|
|
4162
4162
|
}
|
|
4163
|
-
e.accessCache = /* @__PURE__ */ Object.create(null), e.proxy = new Proxy(e.ctx,
|
|
4163
|
+
e.accessCache = /* @__PURE__ */ Object.create(null), e.proxy = new Proxy(e.ctx, Sc), process.env.NODE_ENV !== "production" && ku(e);
|
|
4164
4164
|
const { setup: o } = r;
|
|
4165
4165
|
if (o) {
|
|
4166
4166
|
Gt();
|
|
4167
|
-
const s = e.setupContext = o.length > 1 ?
|
|
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,
|
|
@@ -4173,7 +4173,7 @@ function Bl(e, t) {
|
|
|
4173
4173
|
s
|
|
4174
4174
|
]
|
|
4175
4175
|
), l = ts(c);
|
|
4176
|
-
if (Kt(), i(), (l || e.sp) && !er(e) &&
|
|
4176
|
+
if (Kt(), i(), (l || e.sp) && !er(e) && _c(e), l) {
|
|
4177
4177
|
if (c.then(zs, zs), t)
|
|
4178
4178
|
return c.then((E) => {
|
|
4179
4179
|
Js(e, E, t);
|
|
@@ -4189,24 +4189,24 @@ function Bl(e, t) {
|
|
|
4189
4189
|
} else
|
|
4190
4190
|
Js(e, c, t);
|
|
4191
4191
|
} else
|
|
4192
|
-
|
|
4192
|
+
qc(e, t);
|
|
4193
4193
|
}
|
|
4194
4194
|
function Js(e, t, n) {
|
|
4195
4195
|
pe(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : De(t) ? (process.env.NODE_ENV !== "production" && xn(t) && j(
|
|
4196
4196
|
"setup() should not return VNodes directly - return a render function instead."
|
|
4197
|
-
), process.env.NODE_ENV !== "production" && (e.devtoolsRawSetupState = t), e.setupState =
|
|
4197
|
+
), process.env.NODE_ENV !== "production" && (e.devtoolsRawSetupState = t), e.setupState = ac(t), process.env.NODE_ENV !== "production" && Yu(e)) : process.env.NODE_ENV !== "production" && t !== void 0 && j(
|
|
4198
4198
|
`setup() should return an object. Received: ${t === null ? "null" : typeof t}`
|
|
4199
|
-
),
|
|
4199
|
+
), qc(e, n);
|
|
4200
4200
|
}
|
|
4201
|
-
const
|
|
4202
|
-
function
|
|
4201
|
+
const Gl = () => !0;
|
|
4202
|
+
function qc(e, t, n) {
|
|
4203
4203
|
const r = e.type;
|
|
4204
4204
|
e.render || (e.render = r.render || Be);
|
|
4205
4205
|
{
|
|
4206
4206
|
const o = gr(e);
|
|
4207
4207
|
Gt();
|
|
4208
4208
|
try {
|
|
4209
|
-
|
|
4209
|
+
zu(e);
|
|
4210
4210
|
} finally {
|
|
4211
4211
|
Kt(), o();
|
|
4212
4212
|
}
|
|
@@ -4230,14 +4230,14 @@ const Xs = process.env.NODE_ENV !== "production" ? {
|
|
|
4230
4230
|
return Fe(e, "get", ""), e[t];
|
|
4231
4231
|
}
|
|
4232
4232
|
};
|
|
4233
|
-
function
|
|
4233
|
+
function Kl(e) {
|
|
4234
4234
|
return new Proxy(e.slots, {
|
|
4235
4235
|
get(t, n) {
|
|
4236
4236
|
return Fe(e, "get", "$slots"), t[n];
|
|
4237
4237
|
}
|
|
4238
4238
|
});
|
|
4239
4239
|
}
|
|
4240
|
-
function
|
|
4240
|
+
function kl(e) {
|
|
4241
4241
|
const t = (n) => {
|
|
4242
4242
|
if (process.env.NODE_ENV !== "production" && (e.exposed && j("expose() should be called only once per setup()."), n != null)) {
|
|
4243
4243
|
let r = typeof n;
|
|
@@ -4254,7 +4254,7 @@ function Kl(e) {
|
|
|
4254
4254
|
return n || (n = new Proxy(e.attrs, Xs));
|
|
4255
4255
|
},
|
|
4256
4256
|
get slots() {
|
|
4257
|
-
return r || (r =
|
|
4257
|
+
return r || (r = Kl(e));
|
|
4258
4258
|
},
|
|
4259
4259
|
get emit() {
|
|
4260
4260
|
return (o, ...s) => e.emit(o, ...s);
|
|
@@ -4270,7 +4270,7 @@ function Kl(e) {
|
|
|
4270
4270
|
};
|
|
4271
4271
|
}
|
|
4272
4272
|
function no(e) {
|
|
4273
|
-
return e.exposed ? e.exposeProxy || (e.exposeProxy = new Proxy(
|
|
4273
|
+
return e.exposed ? e.exposeProxy || (e.exposeProxy = new Proxy(ac(eu(e.exposed)), {
|
|
4274
4274
|
get(t, n) {
|
|
4275
4275
|
if (n in t)
|
|
4276
4276
|
return t[n];
|
|
@@ -4282,12 +4282,12 @@ function no(e) {
|
|
|
4282
4282
|
}
|
|
4283
4283
|
})) : e.proxy;
|
|
4284
4284
|
}
|
|
4285
|
-
const
|
|
4286
|
-
function
|
|
4285
|
+
const Yl = /(?:^|[-_])(\w)/g, ql = (e) => e.replace(Yl, (t) => t.toUpperCase()).replace(/[-_]/g, "");
|
|
4286
|
+
function zc(e, t = !0) {
|
|
4287
4287
|
return pe(e) ? e.displayName || e.name : e.name || t && e.__name;
|
|
4288
4288
|
}
|
|
4289
4289
|
function ro(e, t, n = !1) {
|
|
4290
|
-
let r =
|
|
4290
|
+
let r = zc(t);
|
|
4291
4291
|
if (!r && t.__file) {
|
|
4292
4292
|
const o = t.__file.match(/([^/\\]+)\.\w+$/);
|
|
4293
4293
|
o && (r = o[1]);
|
|
@@ -4302,24 +4302,24 @@ function ro(e, t, n = !1) {
|
|
|
4302
4302
|
e.components || e.parent.type.components
|
|
4303
4303
|
) || o(e.appContext.components);
|
|
4304
4304
|
}
|
|
4305
|
-
return r ?
|
|
4305
|
+
return r ? ql(r) : n ? "App" : "Anonymous";
|
|
4306
4306
|
}
|
|
4307
|
-
function
|
|
4307
|
+
function Jc(e) {
|
|
4308
4308
|
return pe(e) && "__vccOpts" in e;
|
|
4309
4309
|
}
|
|
4310
4310
|
const St = (e, t) => {
|
|
4311
|
-
const n =
|
|
4311
|
+
const n = su(e, t, cr);
|
|
4312
4312
|
if (process.env.NODE_ENV !== "production") {
|
|
4313
|
-
const r =
|
|
4313
|
+
const r = Wl();
|
|
4314
4314
|
r && r.appContext.config.warnRecursiveComputed && (n._warnRecursive = !0);
|
|
4315
4315
|
}
|
|
4316
4316
|
return n;
|
|
4317
4317
|
};
|
|
4318
|
-
function
|
|
4318
|
+
function zl(e, t, n) {
|
|
4319
4319
|
const r = arguments.length;
|
|
4320
4320
|
return r === 2 ? De(t) && !ae(t) ? xn(t) ? at(e, null, [t]) : at(e, t) : at(e, null, t) : (r > 3 ? n = Array.prototype.slice.call(arguments, 2) : r === 3 && xn(n) && (n = [n]), at(e, t, n));
|
|
4321
4321
|
}
|
|
4322
|
-
function
|
|
4322
|
+
function Jl() {
|
|
4323
4323
|
if (process.env.NODE_ENV === "production" || typeof window > "u")
|
|
4324
4324
|
return;
|
|
4325
4325
|
const e = { style: "color:#3ba776" }, t = { style: "color:#1677ff" }, n = { style: "color:#f5222d" }, r = { style: "color:#eb2f96" }, o = {
|
|
@@ -4413,13 +4413,13 @@ function zl() {
|
|
|
4413
4413
|
if (pe(S))
|
|
4414
4414
|
return;
|
|
4415
4415
|
const P = {};
|
|
4416
|
-
for (const
|
|
4417
|
-
E(S,
|
|
4416
|
+
for (const W in d.ctx)
|
|
4417
|
+
E(S, W, h) && (P[W] = d.ctx[W]);
|
|
4418
4418
|
return P;
|
|
4419
4419
|
}
|
|
4420
4420
|
function E(d, h, S) {
|
|
4421
4421
|
const P = d[S];
|
|
4422
|
-
if (ae(P) && P.includes(h) || De(P) && h in P || d.extends && E(d.extends, h, S) || d.mixins && d.mixins.some((
|
|
4422
|
+
if (ae(P) && P.includes(h) || De(P) && h in P || d.extends && E(d.extends, h, S) || d.mixins && d.mixins.some((W) => E(W, h, S)))
|
|
4423
4423
|
return !0;
|
|
4424
4424
|
}
|
|
4425
4425
|
function p(d) {
|
|
@@ -4445,7 +4445,7 @@ if (Qs)
|
|
|
4445
4445
|
} catch (e) {
|
|
4446
4446
|
process.env.NODE_ENV !== "production" && oo(`Error creating trusted types policy: ${e}`);
|
|
4447
4447
|
}
|
|
4448
|
-
const
|
|
4448
|
+
const Xc = qo ? (e) => qo.createHTML(e) : (e) => e, Xl = "http://www.w3.org/2000/svg", Zl = "http://www.w3.org/1998/Math/MathML", Ht = typeof document < "u" ? document : null, ei = Ht && /* @__PURE__ */ Ht.createElement("template"), Ql = {
|
|
4449
4449
|
insert: (e, t, n) => {
|
|
4450
4450
|
t.insertBefore(e, n || null);
|
|
4451
4451
|
},
|
|
@@ -4454,7 +4454,7 @@ const Jc = qo ? (e) => qo.createHTML(e) : (e) => e, Jl = "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" ? Ht.createElementNS(
|
|
4457
|
+
const o = t === "svg" ? Ht.createElementNS(Xl, e) : t === "mathml" ? Ht.createElementNS(Zl, e) : n ? Ht.createElement(e, { is: n }) : Ht.createElement(e);
|
|
4458
4458
|
return e === "select" && r && r.multiple != null && o.setAttribute("multiple", r.multiple), o;
|
|
4459
4459
|
},
|
|
4460
4460
|
createText: (e) => Ht.createTextNode(e),
|
|
@@ -4481,7 +4481,7 @@ const Jc = qo ? (e) => qo.createHTML(e) : (e) => e, Jl = "http://www.w3.org/2000
|
|
|
4481
4481
|
for (; t.insertBefore(o.cloneNode(!0), n), !(o === s || !(o = o.nextSibling)); )
|
|
4482
4482
|
;
|
|
4483
4483
|
else {
|
|
4484
|
-
ei.innerHTML =
|
|
4484
|
+
ei.innerHTML = Xc(
|
|
4485
4485
|
r === "svg" ? `<svg>${e}</svg>` : r === "mathml" ? `<math>${e}</math>` : e
|
|
4486
4486
|
);
|
|
4487
4487
|
const c = ei.content;
|
|
@@ -4500,12 +4500,12 @@ const Jc = qo ? (e) => qo.createHTML(e) : (e) => e, Jl = "http://www.w3.org/2000
|
|
|
4500
4500
|
n ? n.previousSibling : t.lastChild
|
|
4501
4501
|
];
|
|
4502
4502
|
}
|
|
4503
|
-
},
|
|
4504
|
-
function
|
|
4505
|
-
const r = e[
|
|
4503
|
+
}, ef = Symbol("_vtc");
|
|
4504
|
+
function tf(e, t, n) {
|
|
4505
|
+
const r = e[ef];
|
|
4506
4506
|
r && (t = (t ? [t, ...r] : [...r]).join(" ")), t == null ? e.removeAttribute("class") : n ? e.setAttribute("class", t) : e.className = t;
|
|
4507
4507
|
}
|
|
4508
|
-
const Yr = Symbol("_vod"),
|
|
4508
|
+
const Yr = Symbol("_vod"), Zc = Symbol("_vsh"), Jn = {
|
|
4509
4509
|
beforeMount(e, { value: t }, { transition: n }) {
|
|
4510
4510
|
e[Yr] = e.style.display === "none" ? "" : e.style.display, n && t ? n.beforeEnter(e) : kn(e, t);
|
|
4511
4511
|
},
|
|
@@ -4523,10 +4523,10 @@ const Yr = Symbol("_vod"), Xc = Symbol("_vsh"), Jn = {
|
|
|
4523
4523
|
};
|
|
4524
4524
|
process.env.NODE_ENV !== "production" && (Jn.name = "show");
|
|
4525
4525
|
function kn(e, t) {
|
|
4526
|
-
e.style.display = t ? e[Yr] : "none", e[
|
|
4526
|
+
e.style.display = t ? e[Yr] : "none", e[Zc] = !t;
|
|
4527
4527
|
}
|
|
4528
|
-
const
|
|
4529
|
-
function
|
|
4528
|
+
const nf = Symbol(process.env.NODE_ENV !== "production" ? "CSS_VAR_TEXT" : ""), rf = /(^|;)\s*display\s*:/;
|
|
4529
|
+
function of(e, t, n) {
|
|
4530
4530
|
const r = e.style, o = We(n);
|
|
4531
4531
|
let s = !1;
|
|
4532
4532
|
if (n && !o) {
|
|
@@ -4543,22 +4543,22 @@ function rf(e, t, n) {
|
|
|
4543
4543
|
i === "display" && (s = !0), Cr(r, i, n[i]);
|
|
4544
4544
|
} else if (o) {
|
|
4545
4545
|
if (t !== n) {
|
|
4546
|
-
const i = r[
|
|
4547
|
-
i && (n += ";" + i), r.cssText = n, s =
|
|
4546
|
+
const i = r[nf];
|
|
4547
|
+
i && (n += ";" + i), r.cssText = n, s = rf.test(n);
|
|
4548
4548
|
}
|
|
4549
4549
|
} else t && e.removeAttribute("style");
|
|
4550
|
-
Yr in e && (e[Yr] = s ? r.display : "", e[
|
|
4550
|
+
Yr in e && (e[Yr] = s ? r.display : "", e[Zc] && (r.display = "none"));
|
|
4551
4551
|
}
|
|
4552
|
-
const
|
|
4552
|
+
const sf = /[^\\];\s*$/, ti = /\s*!important$/;
|
|
4553
4553
|
function Cr(e, t, n) {
|
|
4554
4554
|
if (ae(n))
|
|
4555
4555
|
n.forEach((r) => Cr(e, t, r));
|
|
4556
|
-
else if (n == null && (n = ""), process.env.NODE_ENV !== "production" &&
|
|
4556
|
+
else if (n == null && (n = ""), process.env.NODE_ENV !== "production" && sf.test(n) && oo(
|
|
4557
4557
|
`Unexpected semicolon at the end of '${t}' style value: '${n}'`
|
|
4558
4558
|
), t.startsWith("--"))
|
|
4559
4559
|
e.setProperty(t, n);
|
|
4560
4560
|
else {
|
|
4561
|
-
const r =
|
|
4561
|
+
const r = cf(e, t);
|
|
4562
4562
|
ti.test(n) ? e.setProperty(
|
|
4563
4563
|
tn(r),
|
|
4564
4564
|
n.replace(ti, ""),
|
|
@@ -4567,7 +4567,7 @@ function Cr(e, t, n) {
|
|
|
4567
4567
|
}
|
|
4568
4568
|
}
|
|
4569
4569
|
const ni = ["Webkit", "Moz", "ms"], wo = {};
|
|
4570
|
-
function
|
|
4570
|
+
function cf(e, t) {
|
|
4571
4571
|
const n = wo[t];
|
|
4572
4572
|
if (n)
|
|
4573
4573
|
return n;
|
|
@@ -4583,15 +4583,15 @@ function sf(e, t) {
|
|
|
4583
4583
|
return t;
|
|
4584
4584
|
}
|
|
4585
4585
|
const ri = "http://www.w3.org/1999/xlink";
|
|
4586
|
-
function oi(e, t, n, r, o, s =
|
|
4587
|
-
r && t.startsWith("xlink:") ? n == null ? e.removeAttributeNS(ri, t.slice(6, t.length)) : e.setAttributeNS(ri, t, n) : n == null || s && !
|
|
4586
|
+
function oi(e, t, n, r, o, s = Pa(t)) {
|
|
4587
|
+
r && t.startsWith("xlink:") ? n == null ? e.removeAttributeNS(ri, t.slice(6, t.length)) : e.setAttributeNS(ri, t, n) : n == null || s && !Gi(n) ? e.removeAttribute(t) : e.setAttribute(
|
|
4588
4588
|
t,
|
|
4589
4589
|
s ? "" : $n(n) ? String(n) : n
|
|
4590
4590
|
);
|
|
4591
4591
|
}
|
|
4592
4592
|
function si(e, t, n, r, o) {
|
|
4593
4593
|
if (t === "innerHTML" || t === "textContent") {
|
|
4594
|
-
n != null && (e[t] = t === "innerHTML" ?
|
|
4594
|
+
n != null && (e[t] = t === "innerHTML" ? Xc(n) : n);
|
|
4595
4595
|
return;
|
|
4596
4596
|
}
|
|
4597
4597
|
const s = e.tagName;
|
|
@@ -4608,7 +4608,7 @@ function si(e, t, n, r, o) {
|
|
|
4608
4608
|
let i = !1;
|
|
4609
4609
|
if (n === "" || n == null) {
|
|
4610
4610
|
const c = typeof e[t];
|
|
4611
|
-
c === "boolean" ? n =
|
|
4611
|
+
c === "boolean" ? n = Gi(n) : n == null && c === "string" ? (n = "", i = !0) : c === "number" && (n = 0, i = !0);
|
|
4612
4612
|
}
|
|
4613
4613
|
try {
|
|
4614
4614
|
e[t] = n;
|
|
@@ -4620,30 +4620,30 @@ function si(e, t, n, r, o) {
|
|
|
4620
4620
|
}
|
|
4621
4621
|
i && e.removeAttribute(o || t);
|
|
4622
4622
|
}
|
|
4623
|
-
function
|
|
4623
|
+
function af(e, t, n, r) {
|
|
4624
4624
|
e.addEventListener(t, n, r);
|
|
4625
4625
|
}
|
|
4626
|
-
function
|
|
4626
|
+
function uf(e, t, n, r) {
|
|
4627
4627
|
e.removeEventListener(t, n, r);
|
|
4628
4628
|
}
|
|
4629
4629
|
const ii = Symbol("_vei");
|
|
4630
|
-
function
|
|
4630
|
+
function lf(e, t, n, r, o = null) {
|
|
4631
4631
|
const s = e[ii] || (e[ii] = {}), i = s[t];
|
|
4632
4632
|
if (r && i)
|
|
4633
4633
|
i.value = process.env.NODE_ENV !== "production" ? ai(r, t) : r;
|
|
4634
4634
|
else {
|
|
4635
|
-
const [c, l] =
|
|
4635
|
+
const [c, l] = ff(t);
|
|
4636
4636
|
if (r) {
|
|
4637
|
-
const E = s[t] =
|
|
4637
|
+
const E = s[t] = hf(
|
|
4638
4638
|
process.env.NODE_ENV !== "production" ? ai(r, t) : r,
|
|
4639
4639
|
o
|
|
4640
4640
|
);
|
|
4641
|
-
|
|
4642
|
-
} else i && (
|
|
4641
|
+
af(e, c, E, l);
|
|
4642
|
+
} else i && (uf(e, c, i, l), s[t] = void 0);
|
|
4643
4643
|
}
|
|
4644
4644
|
}
|
|
4645
4645
|
const ci = /(?:Once|Passive|Capture)$/;
|
|
4646
|
-
function
|
|
4646
|
+
function ff(e) {
|
|
4647
4647
|
let t;
|
|
4648
4648
|
if (ci.test(e)) {
|
|
4649
4649
|
t = {};
|
|
@@ -4654,21 +4654,21 @@ function lf(e) {
|
|
|
4654
4654
|
return [e[2] === ":" ? e.slice(3) : tn(e.slice(2)), t];
|
|
4655
4655
|
}
|
|
4656
4656
|
let Oo = 0;
|
|
4657
|
-
const
|
|
4658
|
-
function
|
|
4657
|
+
const pf = /* @__PURE__ */ Promise.resolve(), df = () => Oo || (pf.then(() => Oo = 0), Oo = Date.now());
|
|
4658
|
+
function hf(e, t) {
|
|
4659
4659
|
const n = (r) => {
|
|
4660
4660
|
if (!r._vts)
|
|
4661
4661
|
r._vts = Date.now();
|
|
4662
4662
|
else if (r._vts <= n.attached)
|
|
4663
4663
|
return;
|
|
4664
4664
|
Pt(
|
|
4665
|
-
|
|
4665
|
+
gf(r, n.value),
|
|
4666
4666
|
t,
|
|
4667
4667
|
5,
|
|
4668
4668
|
[r]
|
|
4669
4669
|
);
|
|
4670
4670
|
};
|
|
4671
|
-
return n.value = e, n.attached =
|
|
4671
|
+
return n.value = e, n.attached = df(), n;
|
|
4672
4672
|
}
|
|
4673
4673
|
function ai(e, t) {
|
|
4674
4674
|
return pe(e) || ae(e) ? e : (oo(
|
|
@@ -4676,7 +4676,7 @@ function ai(e, t) {
|
|
|
4676
4676
|
Expected function or array of functions, received type ${typeof e}.`
|
|
4677
4677
|
), Be);
|
|
4678
4678
|
}
|
|
4679
|
-
function
|
|
4679
|
+
function gf(e, t) {
|
|
4680
4680
|
if (ae(t)) {
|
|
4681
4681
|
const n = e.stopImmediatePropagation;
|
|
4682
4682
|
return e.stopImmediatePropagation = () => {
|
|
@@ -4688,11 +4688,11 @@ function hf(e, t) {
|
|
|
4688
4688
|
return t;
|
|
4689
4689
|
}
|
|
4690
4690
|
const ui = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // lowercase letter
|
|
4691
|
-
e.charCodeAt(2) > 96 && e.charCodeAt(2) < 123,
|
|
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" ?
|
|
4693
|
+
t === "class" ? tf(e, r, i) : t === "style" ? of(e, n, r) : lr(t) ? Mr(t) || lf(e, t, n, r, s) : (t[0] === "." ? (t = t.slice(1), !0) : t[0] === "^" ? (t = t.slice(1), !1) : vf(e, t, r, i)) ? (si(e, t, r), !e.tagName.includes("-") && (t === "value" || t === "checked" || t === "selected") && oi(e, t, r, i, s, t !== "value")) : /* #11081 force set props for possible async custom element */ e._isVueCE && (/[A-Z]/.test(t) || !We(r)) ? si(e, mt(t), r, s, t) : (t === "true-value" ? e._trueValue = r : t === "false-value" && (e._falseValue = r), oi(e, t, r, i));
|
|
4694
4694
|
};
|
|
4695
|
-
function
|
|
4695
|
+
function vf(e, t, n, r) {
|
|
4696
4696
|
if (r)
|
|
4697
4697
|
return !!(t === "innerHTML" || t === "textContent" || t in e && ui(t) && pe(n));
|
|
4698
4698
|
if (t === "spellcheck" || t === "draggable" || t === "translate" || t === "form" || t === "list" && e.tagName === "INPUT" || t === "type" && e.tagName === "TEXTAREA")
|
|
@@ -4704,24 +4704,24 @@ function mf(e, t, n, r) {
|
|
|
4704
4704
|
}
|
|
4705
4705
|
return ui(t) && We(n) ? !1 : t in e;
|
|
4706
4706
|
}
|
|
4707
|
-
const
|
|
4707
|
+
const Ef = /* @__PURE__ */ He({ patchProp: mf }, Ql);
|
|
4708
4708
|
let li;
|
|
4709
|
-
function
|
|
4710
|
-
return li || (li =
|
|
4709
|
+
function yf() {
|
|
4710
|
+
return li || (li = vl(Ef));
|
|
4711
4711
|
}
|
|
4712
|
-
const
|
|
4713
|
-
|
|
4712
|
+
const _f = (...e) => {
|
|
4713
|
+
yf().render(...e);
|
|
4714
4714
|
};
|
|
4715
4715
|
/**
|
|
4716
4716
|
* vue v3.5.13
|
|
4717
4717
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4718
4718
|
* @license MIT
|
|
4719
4719
|
**/
|
|
4720
|
-
function
|
|
4721
|
-
|
|
4720
|
+
function bf() {
|
|
4721
|
+
Jl();
|
|
4722
4722
|
}
|
|
4723
|
-
process.env.NODE_ENV !== "production" &&
|
|
4724
|
-
const
|
|
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 = { key: 0 }, Af = /* @__PURE__ */ Cu({
|
|
4725
4725
|
__name: "container",
|
|
4726
4726
|
props: ["type", "clearBackgroundStyles", "microAppsContainerStyle"],
|
|
4727
4727
|
emits: ["layoutMounted"],
|
|
@@ -4743,29 +4743,29 @@ const bf = { style: { flex: "1", display: "flex", "min-height": "0" } }, wf = {
|
|
|
4743
4743
|
menu: Ge(null),
|
|
4744
4744
|
tab: Ge(null),
|
|
4745
4745
|
mount: Ge(null)
|
|
4746
|
-
}, P = St(() => p.value.activeMicroAppName || ""),
|
|
4746
|
+
}, P = St(() => p.value.activeMicroAppName || ""), W = St(() => {
|
|
4747
4747
|
var Y, w, q, ne, ce, ie;
|
|
4748
4748
|
return {
|
|
4749
4749
|
navHeight: (((w = (Y = p.value) == null ? void 0 : Y.navRect) == null ? void 0 : w.height) || 0) + "px",
|
|
4750
4750
|
menuWidth: (((ne = (q = p.value) == null ? void 0 : q.menuRect) == null ? void 0 : ne.width) || 0) + "px",
|
|
4751
4751
|
tabHeight: (((ie = (ce = p.value) == null ? void 0 : ce.tabRect) == null ? void 0 : ie.height) || 0) + "px"
|
|
4752
4752
|
};
|
|
4753
|
-
}),
|
|
4753
|
+
}), F = St(() => ({
|
|
4754
4754
|
position: "relative",
|
|
4755
4755
|
height: "100%",
|
|
4756
4756
|
display: "flex",
|
|
4757
4757
|
flexDirection: "column"
|
|
4758
|
-
})),
|
|
4758
|
+
})), k = (Y, w = 0, q = !1) => {
|
|
4759
4759
|
let ne = null;
|
|
4760
4760
|
return (...ce) => {
|
|
4761
4761
|
q && !ne && Y(...ce), clearTimeout(ne), ne = setTimeout(() => {
|
|
4762
4762
|
Y(...ce);
|
|
4763
4763
|
}, w);
|
|
4764
4764
|
};
|
|
4765
|
-
},
|
|
4765
|
+
}, te = () => {
|
|
4766
4766
|
function Y(q, ne = 20) {
|
|
4767
4767
|
if (!q) return;
|
|
4768
|
-
const ce = q.getBoundingClientRect(), { x: ie, y: B, width:
|
|
4768
|
+
const ce = q.getBoundingClientRect(), { x: ie, y: B, width: Q, height: ve } = ce, T = ie, _e = B, Re = ie + Q, Le = B + ve, A = [
|
|
4769
4769
|
document.documentElement,
|
|
4770
4770
|
document.body,
|
|
4771
4771
|
q,
|
|
@@ -4783,7 +4783,7 @@ const bf = { style: { flex: "1", display: "flex", "min-height": "0" } }, wf = {
|
|
|
4783
4783
|
}
|
|
4784
4784
|
let w = Y(h.nav.value);
|
|
4785
4785
|
return w || (w = Y(h.tab.value)), w || (w = Y(h.menu.value)), w;
|
|
4786
|
-
}, U = { x: -1, y: -1 }, oe =
|
|
4786
|
+
}, U = { x: -1, y: -1 }, oe = k(
|
|
4787
4787
|
(Y, w, q) => {
|
|
4788
4788
|
if (!(U.x === w.x && U.y === w.y)) {
|
|
4789
4789
|
if (U.x = w.x, U.y = w.x, Y === "mouseenter") {
|
|
@@ -4793,12 +4793,12 @@ const bf = { style: { flex: "1", display: "flex", "min-height": "0" } }, wf = {
|
|
|
4793
4793
|
s.data.set({ microAppStickStatus: q === "mount" });
|
|
4794
4794
|
}
|
|
4795
4795
|
if (E.value) {
|
|
4796
|
-
if (
|
|
4796
|
+
if (te()) return c.cors.send("microAppStickStatus", !0);
|
|
4797
4797
|
c.cors.send("microAppStickStatus", q === "mount");
|
|
4798
4798
|
}
|
|
4799
4799
|
}
|
|
4800
4800
|
if (Y === "mousemove" && E.value) {
|
|
4801
|
-
if (
|
|
4801
|
+
if (te()) return c.cors.send("microAppStickStatus", !0);
|
|
4802
4802
|
c.cors.send("microAppStickStatus", q === "mount");
|
|
4803
4803
|
}
|
|
4804
4804
|
}
|
|
@@ -4832,15 +4832,15 @@ const bf = { style: { flex: "1", display: "flex", "min-height": "0" } }, wf = {
|
|
|
4832
4832
|
const q = (ne) => {
|
|
4833
4833
|
var B;
|
|
4834
4834
|
const ce = (B = h[ne]) == null ? void 0 : B.value, ie = () => {
|
|
4835
|
-
const { x:
|
|
4836
|
-
s.data.set({ [`${ne}Rect`]: { x:
|
|
4835
|
+
const { x: Q, y: ve, width: T, height: _e } = (ce == null ? void 0 : ce.getBoundingClientRect()) || {};
|
|
4836
|
+
s.data.set({ [`${ne}Rect`]: { x: Q, y: ve, width: T, height: _e } });
|
|
4837
4837
|
};
|
|
4838
4838
|
ie(), new MutationObserver(ie).observe(ce, {
|
|
4839
4839
|
childList: !0,
|
|
4840
4840
|
subtree: !0
|
|
4841
|
-
}), new IntersectionObserver((
|
|
4841
|
+
}), new IntersectionObserver((Q) => {
|
|
4842
4842
|
var ve;
|
|
4843
|
-
(ve =
|
|
4843
|
+
(ve = Q == null ? void 0 : Q[0]) != null && ve.isIntersecting && ie();
|
|
4844
4844
|
}).observe(ce);
|
|
4845
4845
|
};
|
|
4846
4846
|
await Promise.all([
|
|
@@ -4857,9 +4857,9 @@ const bf = { style: { flex: "1", display: "flex", "min-height": "0" } }, wf = {
|
|
|
4857
4857
|
tabDom: S.tab.value,
|
|
4858
4858
|
mountDom: S.mount.value
|
|
4859
4859
|
}), i.event.on("mountMicroContent", (ne) => {
|
|
4860
|
-
var
|
|
4860
|
+
var Q, ve, T;
|
|
4861
4861
|
const { getIframeInfo: ce } = Qo();
|
|
4862
|
-
let ie = ce((
|
|
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
4863
|
B && (B.style.display = "block", re.value = !1, he.value[(T = ne == null ? void 0 : ne.appInfo) == null ? void 0 : T.name] = !0);
|
|
4864
4864
|
});
|
|
4865
4865
|
})(), s.data.watch(() => {
|
|
@@ -4898,10 +4898,10 @@ const bf = { style: { flex: "1", display: "flex", "min-height": "0" } }, wf = {
|
|
|
4898
4898
|
}).observe(S.mount.value, { childList: !0 });
|
|
4899
4899
|
})();
|
|
4900
4900
|
}
|
|
4901
|
-
return
|
|
4901
|
+
return wc(() => {
|
|
4902
4902
|
s.event.emit("onMounted");
|
|
4903
4903
|
}), (Y, w) => (Ot(), jt("div", {
|
|
4904
|
-
style: Wt(
|
|
4904
|
+
style: Wt(F.value)
|
|
4905
4905
|
}, [
|
|
4906
4906
|
br(dt("header", {
|
|
4907
4907
|
ref: h.nav,
|
|
@@ -4914,12 +4914,12 @@ const bf = { style: { flex: "1", display: "flex", "min-height": "0" } }, wf = {
|
|
|
4914
4914
|
}, null, 512)) : zt("", !0),
|
|
4915
4915
|
E.value ? (Ot(), jt("div", {
|
|
4916
4916
|
key: 1,
|
|
4917
|
-
style: Wt([{ "pointer-events": "none" }, { height:
|
|
4917
|
+
style: Wt([{ "pointer-events": "none" }, { height: W.value.navHeight }])
|
|
4918
4918
|
}, null, 4)) : zt("", !0)
|
|
4919
4919
|
], 544), [
|
|
4920
4920
|
[Jn, d.value.nav]
|
|
4921
4921
|
]),
|
|
4922
|
-
dt("section",
|
|
4922
|
+
dt("section", wf, [
|
|
4923
4923
|
br(dt("aside", {
|
|
4924
4924
|
ref: h.menu,
|
|
4925
4925
|
style: { height: "100%" },
|
|
@@ -4933,12 +4933,12 @@ const bf = { style: { flex: "1", display: "flex", "min-height": "0" } }, wf = {
|
|
|
4933
4933
|
}, null, 512)) : zt("", !0),
|
|
4934
4934
|
E.value ? (Ot(), jt("div", {
|
|
4935
4935
|
key: 1,
|
|
4936
|
-
style: Wt([{ "pointer-events": "none" }, { width:
|
|
4936
|
+
style: Wt([{ "pointer-events": "none" }, { width: W.value.menuWidth }])
|
|
4937
4937
|
}, null, 4)) : zt("", !0)
|
|
4938
4938
|
], 544), [
|
|
4939
4939
|
[Jn, d.value.menu]
|
|
4940
4940
|
]),
|
|
4941
|
-
dt("main",
|
|
4941
|
+
dt("main", Of, [
|
|
4942
4942
|
br(dt("header", {
|
|
4943
4943
|
ref: h.tab,
|
|
4944
4944
|
onMouseenter: w[4] || (w[4] = (q) => Jt(oe)("mouseenter", q, "tab")),
|
|
@@ -4950,7 +4950,7 @@ const bf = { style: { flex: "1", display: "flex", "min-height": "0" } }, wf = {
|
|
|
4950
4950
|
}, null, 512)) : zt("", !0),
|
|
4951
4951
|
E.value ? (Ot(), jt("div", {
|
|
4952
4952
|
key: 1,
|
|
4953
|
-
style: Wt([{ "pointer-events": "none" }, { height:
|
|
4953
|
+
style: Wt([{ "pointer-events": "none" }, { height: W.value.tabHeight }])
|
|
4954
4954
|
}, null, 4)) : zt("", !0)
|
|
4955
4955
|
], 544), [
|
|
4956
4956
|
[Jn, d.value.tab]
|
|
@@ -4961,7 +4961,7 @@ const bf = { style: { flex: "1", display: "flex", "min-height": "0" } }, wf = {
|
|
|
4961
4961
|
style: Wt([{ flex: "1", "min-height": "0" }, L.value]),
|
|
4962
4962
|
onMouseenter: w[6] || (w[6] = (q) => Jt(oe)("mouseenter", q, "mount"))
|
|
4963
4963
|
}, [
|
|
4964
|
-
re.value && P.value ? (Ot(), jt("div",
|
|
4964
|
+
re.value && P.value ? (Ot(), jt("div", Sf, w[7] || (w[7] = [
|
|
4965
4965
|
dt("div", { class: "main-loader-container" }, [
|
|
4966
4966
|
dt("div", { class: "loader" }),
|
|
4967
4967
|
dt("span", null, "Loading...")
|
|
@@ -5005,7 +5005,7 @@ function So(e) {
|
|
|
5005
5005
|
e.style[o] = "none";
|
|
5006
5006
|
}), r;
|
|
5007
5007
|
}
|
|
5008
|
-
const
|
|
5008
|
+
const Qc = async (e) => {
|
|
5009
5009
|
const { appendTo: t = "#app", type: n, autoClearBackground: r } = e || {}, o = n === "microApp";
|
|
5010
5010
|
let s;
|
|
5011
5011
|
if (typeof t == "string" && (s = document.getElementById(t.replace("#", ""))), t instanceof HTMLElement && (s = t), !s) throw new Error("appendTo must be #id string or HTMLElement");
|
|
@@ -5014,71 +5014,69 @@ const Zc = async (e) => {
|
|
|
5014
5014
|
o && r !== !1 && (Object.assign(c, So(document.documentElement)), Object.assign(c, So(document.body)), Object.assign(c, So(s)));
|
|
5015
5015
|
const l = Ge(!0);
|
|
5016
5016
|
let E = {};
|
|
5017
|
-
const p =
|
|
5017
|
+
const p = zl(Af, {
|
|
5018
5018
|
type: n,
|
|
5019
5019
|
clearBackgroundStyles: c,
|
|
5020
5020
|
onLayoutMounted: (d) => {
|
|
5021
5021
|
E = d, l.value = !1;
|
|
5022
5022
|
}
|
|
5023
5023
|
});
|
|
5024
|
-
return
|
|
5024
|
+
return _f(p, s), l.value && await new Promise((d) => Rt(() => l.value, d)), E;
|
|
5025
5025
|
}, Pg = async (e) => {
|
|
5026
5026
|
e || (e = {});
|
|
5027
|
-
const { microApps: t = [] } = e, n = await
|
|
5028
|
-
r.data.watch((
|
|
5027
|
+
const { microApps: t = [] } = e, n = await Qc({ type: "mainApp", ...e }), r = Et("container"), o = Et("mainApp"), { addRouterEventListener: s } = ta(), i = ea(), c = Ge(t);
|
|
5028
|
+
r.data.watch((F) => c.value = F.microApps, ["microApps"]), r.data.set({ microApps: t });
|
|
5029
5029
|
const { registerIframe: l, loadIframe: E, hideIframe: p, iframeEvent: d, checkIframeStatus: h } = Qo();
|
|
5030
|
-
d.on("mounted", (
|
|
5030
|
+
d.on("mounted", (F) => {
|
|
5031
5031
|
var U;
|
|
5032
|
-
o.expose.connectMicroApp(
|
|
5033
|
-
const
|
|
5034
|
-
if (!
|
|
5035
|
-
if (!(((U =
|
|
5036
|
-
|
|
5032
|
+
o.expose.connectMicroApp(F);
|
|
5033
|
+
const k = r.data.get().microApps.find((oe) => oe.name === F.name);
|
|
5034
|
+
if (!k) return;
|
|
5035
|
+
if (!(((U = k.router) == null ? void 0 : U.sync) ?? !0)) {
|
|
5036
|
+
W();
|
|
5037
5037
|
return;
|
|
5038
5038
|
}
|
|
5039
|
-
}), t.filter((
|
|
5040
|
-
|
|
5041
|
-
i.addRule(W.name, Q);
|
|
5042
|
-
}), l(W.name, W);
|
|
5039
|
+
}), t.filter((F) => F.activeRule).map((F) => {
|
|
5040
|
+
i.addRule(F.name, F.activeRule), l(F.name, F);
|
|
5043
5041
|
});
|
|
5044
5042
|
const S = Ge(!1);
|
|
5045
|
-
o.cors.on("reportRouter", (
|
|
5043
|
+
o.cors.on("reportRouter", (F) => {
|
|
5046
5044
|
var w, q, ne;
|
|
5047
|
-
const { data:
|
|
5048
|
-
if (!
|
|
5049
|
-
const
|
|
5050
|
-
if (!
|
|
5045
|
+
const { data: k } = F || {};
|
|
5046
|
+
if (!k.appInfo) return;
|
|
5047
|
+
const te = r.data.get().microApps.find((ce) => ce.name === k.appInfo.name);
|
|
5048
|
+
if (!te || !(((w = te.router) == null ? void 0 : w.sync) ?? !0) || !h(te.name, ["mounted", "activated"])) return;
|
|
5051
5049
|
const { pathname: oe, hash: L, search: re } = new URL(window.location.href);
|
|
5052
5050
|
let ue = oe + re;
|
|
5053
|
-
const { pathname: he, hash: le, search: be } = new URL(
|
|
5051
|
+
const { pathname: he, hash: le, search: be } = new URL(k.href);
|
|
5054
5052
|
let Y = he + be;
|
|
5055
|
-
((q =
|
|
5053
|
+
((q = te.router) == null ? void 0 : q.mode) === "hash" && (Y = le.replace("#", "")), ((ne = r.data.get().initOptions.router) == null ? void 0 : ne.mode) === "hash" && (ue = `/${L}`, Y = `/#${Y}`), ue !== Y && (S.value = !0, setTimeout(() => {
|
|
5056
5054
|
S.value = !1;
|
|
5057
5055
|
}, 300), i.replaceState(Y));
|
|
5058
|
-
}), o.cors.on("customEventFromMicro", (
|
|
5059
|
-
var
|
|
5060
|
-
(
|
|
5056
|
+
}), o.cors.on("customEventFromMicro", (F) => {
|
|
5057
|
+
var k, te;
|
|
5058
|
+
(k = F == null ? void 0 : F.data) != null && k.eventName && o.event.emit(F.data.eventName, (te = F.data) == null ? void 0 : te.params);
|
|
5061
5059
|
});
|
|
5062
|
-
const P = (
|
|
5060
|
+
const P = (F, k) => {
|
|
5063
5061
|
var oe;
|
|
5064
|
-
const { path:
|
|
5065
|
-
let U =
|
|
5066
|
-
((oe =
|
|
5067
|
-
appInfo:
|
|
5068
|
-
parentRouter:
|
|
5062
|
+
const { path: te } = k;
|
|
5063
|
+
let U = te;
|
|
5064
|
+
((oe = F.router) == null ? void 0 : oe.mode) === "hash" && (U = `/#${te}`), o.cors.send(F.name, "syncRouter", {
|
|
5065
|
+
appInfo: F,
|
|
5066
|
+
parentRouter: k,
|
|
5069
5067
|
replacePath: U
|
|
5070
5068
|
});
|
|
5071
5069
|
};
|
|
5072
5070
|
window.addEventListener("popstate", () => {
|
|
5073
|
-
|
|
5071
|
+
W();
|
|
5074
5072
|
});
|
|
5075
|
-
const
|
|
5073
|
+
const W = async () => {
|
|
5076
5074
|
var le, be;
|
|
5077
5075
|
if (S.value) return;
|
|
5078
5076
|
await new Promise((Y) => setTimeout(Y, 0));
|
|
5079
|
-
const
|
|
5080
|
-
let oe =
|
|
5081
|
-
|
|
5077
|
+
const F = ((le = r.data.get().initOptions.router) == null ? void 0 : le.mode) || "history", { pathname: k, hash: te, search: U } = new URL(window.location.href);
|
|
5078
|
+
let oe = k + U;
|
|
5079
|
+
F === "hash" && (oe = te.replace("#", ""));
|
|
5082
5080
|
const L = i.match(oe), re = c.value.find((Y) => L ? L === Y.name : !1);
|
|
5083
5081
|
let ue = oe;
|
|
5084
5082
|
if (((be = re == null ? void 0 : re.router) == null ? void 0 : be.mode) === "hash" && (ue = `/#${oe}`), !re) {
|
|
@@ -5086,19 +5084,19 @@ const Zc = async (e) => {
|
|
|
5086
5084
|
return;
|
|
5087
5085
|
}
|
|
5088
5086
|
r.data.set({ activeMicroAppName: re.name });
|
|
5089
|
-
const he = { href: window.location.href, mode:
|
|
5087
|
+
const he = { href: window.location.href, mode: F, path: oe };
|
|
5090
5088
|
h(re.name, "deactivated") && (await E(re.name), P(re, he)), h(re.name, ["mounted", "activated"]) && P(re, he), h(re.name, "registered") && await E(re.name, { path: ue });
|
|
5091
5089
|
};
|
|
5092
|
-
return s(["replaceState"],
|
|
5090
|
+
return s(["replaceState"], W), n;
|
|
5093
5091
|
};
|
|
5094
|
-
function
|
|
5092
|
+
function Nf(e) {
|
|
5095
5093
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
5096
5094
|
}
|
|
5097
5095
|
var Ao = {}, No, fi;
|
|
5098
5096
|
function so() {
|
|
5099
5097
|
if (fi) return No;
|
|
5100
5098
|
fi = 1;
|
|
5101
|
-
const e = "\\\\/", t = `[^${e}]`, n = "\\.", r = "\\+", o = "\\?", s = "\\/", i = "(?=.)", c = "[^/]", l = `(?:${s}|$)`, E = `(?:^|${s})`, p = `${n}{1,2}${l}`, d = `(?!${n})`, h = `(?!${E}${p})`, S = `(?!${n}{0,1}${l})`, P = `(?!${p})`,
|
|
5099
|
+
const e = "\\\\/", t = `[^${e}]`, n = "\\.", r = "\\+", o = "\\?", s = "\\/", i = "(?=.)", c = "[^/]", l = `(?:${s}|$)`, E = `(?:^|${s})`, p = `${n}{1,2}${l}`, d = `(?!${n})`, h = `(?!${E}${p})`, S = `(?!${n}{0,1}${l})`, P = `(?!${p})`, W = `[^.${s}]`, F = `${c}*?`, te = {
|
|
5102
5100
|
DOT_LITERAL: n,
|
|
5103
5101
|
PLUS_LITERAL: r,
|
|
5104
5102
|
QMARK_LITERAL: o,
|
|
@@ -5111,12 +5109,12 @@ function so() {
|
|
|
5111
5109
|
NO_DOTS: h,
|
|
5112
5110
|
NO_DOT_SLASH: S,
|
|
5113
5111
|
NO_DOTS_SLASH: P,
|
|
5114
|
-
QMARK_NO_DOT:
|
|
5115
|
-
STAR:
|
|
5112
|
+
QMARK_NO_DOT: W,
|
|
5113
|
+
STAR: F,
|
|
5116
5114
|
START_ANCHOR: E,
|
|
5117
5115
|
SEP: "/"
|
|
5118
5116
|
}, U = {
|
|
5119
|
-
...
|
|
5117
|
+
...te,
|
|
5120
5118
|
SLASH_LITERAL: `[${e}]`,
|
|
5121
5119
|
QMARK: t,
|
|
5122
5120
|
STAR: `${t}*?`,
|
|
@@ -5266,7 +5264,7 @@ function so() {
|
|
|
5266
5264
|
* Create GLOB_CHARS
|
|
5267
5265
|
*/
|
|
5268
5266
|
globChars(L) {
|
|
5269
|
-
return L === !0 ? U :
|
|
5267
|
+
return L === !0 ? U : te;
|
|
5270
5268
|
}
|
|
5271
5269
|
}, No;
|
|
5272
5270
|
}
|
|
@@ -5302,7 +5300,7 @@ function io() {
|
|
|
5302
5300
|
}(Ao)), Ao;
|
|
5303
5301
|
}
|
|
5304
5302
|
var To, di;
|
|
5305
|
-
function
|
|
5303
|
+
function Tf() {
|
|
5306
5304
|
if (di) return To;
|
|
5307
5305
|
di = 1;
|
|
5308
5306
|
const e = /* @__PURE__ */ io(), {
|
|
@@ -5334,14 +5332,14 @@ function Nf() {
|
|
|
5334
5332
|
/* } */
|
|
5335
5333
|
CHAR_RIGHT_PARENTHESES: P,
|
|
5336
5334
|
/* ) */
|
|
5337
|
-
CHAR_RIGHT_SQUARE_BRACKET:
|
|
5335
|
+
CHAR_RIGHT_SQUARE_BRACKET: W
|
|
5338
5336
|
/* ] */
|
|
5339
|
-
} = /* @__PURE__ */ so(),
|
|
5337
|
+
} = /* @__PURE__ */ so(), F = (U) => U === c || U === r, k = (U) => {
|
|
5340
5338
|
U.isPrefix !== !0 && (U.depth = U.isGlobstar ? 1 / 0 : 1);
|
|
5341
5339
|
};
|
|
5342
5340
|
return To = (U, oe) => {
|
|
5343
5341
|
const L = oe || {}, re = U.length - 1, ue = L.parts === !0 || L.scanToEnd === !0, he = [], le = [], be = [];
|
|
5344
|
-
let Y = U, w = -1, q = 0, ne = 0, ce = !1, ie = !1, B = !1,
|
|
5342
|
+
let Y = U, w = -1, q = 0, ne = 0, ce = !1, ie = !1, B = !1, Q = !1, ve = !1, T = !1, _e = !1, Re = !1, Le = !1, A = !1, D = 0, Ve, J, ge = { value: "", depth: 0, isGlob: !1 };
|
|
5345
5343
|
const Ie = () => w >= re, we = () => Y.charCodeAt(w + 1), H = () => (Ve = J, Y.charCodeAt(++w));
|
|
5346
5344
|
for (; w < re; ) {
|
|
5347
5345
|
J = H();
|
|
@@ -5389,7 +5387,7 @@ function Nf() {
|
|
|
5389
5387
|
continue;
|
|
5390
5388
|
}
|
|
5391
5389
|
if (L.noext !== !0 && (J === d || J === n || J === t || J === h || J === i) === !0 && we() === E) {
|
|
5392
|
-
if (B = ge.isGlob = !0,
|
|
5390
|
+
if (B = ge.isGlob = !0, Q = ge.isExtglob = !0, A = !0, J === i && w === q && (Le = !0), ue === !0) {
|
|
5393
5391
|
for (; Ie() !== !0 && (J = H()); ) {
|
|
5394
5392
|
if (J === r) {
|
|
5395
5393
|
_e = ge.backslashes = !0, J = H();
|
|
@@ -5420,7 +5418,7 @@ function Nf() {
|
|
|
5420
5418
|
_e = ge.backslashes = !0, H();
|
|
5421
5419
|
continue;
|
|
5422
5420
|
}
|
|
5423
|
-
if (C ===
|
|
5421
|
+
if (C === W) {
|
|
5424
5422
|
ie = ge.isBracket = !0, B = ge.isGlob = !0, A = !0;
|
|
5425
5423
|
break;
|
|
5426
5424
|
}
|
|
@@ -5455,9 +5453,9 @@ function Nf() {
|
|
|
5455
5453
|
break;
|
|
5456
5454
|
}
|
|
5457
5455
|
}
|
|
5458
|
-
L.noext === !0 && (
|
|
5456
|
+
L.noext === !0 && (Q = !1, B = !1);
|
|
5459
5457
|
let $e = Y, f = "", g = "";
|
|
5460
|
-
q > 0 && (f = Y.slice(0, q), Y = Y.slice(q), ne -= q), $e && B === !0 && ne > 0 ? ($e = Y.slice(0, ne), g = Y.slice(ne)) : B === !0 ? ($e = "", g = Y) : $e = Y, $e && $e !== "" && $e !== "/" && $e !== Y &&
|
|
5458
|
+
q > 0 && (f = Y.slice(0, q), Y = Y.slice(q), ne -= q), $e && B === !0 && ne > 0 ? ($e = Y.slice(0, ne), g = Y.slice(ne)) : B === !0 ? ($e = "", g = Y) : $e = Y, $e && $e !== "" && $e !== "/" && $e !== Y && F($e.charCodeAt($e.length - 1)) && ($e = $e.slice(0, -1)), L.unescape === !0 && (g && (g = e.removeBackslashes(g)), $e && _e === !0 && ($e = e.removeBackslashes($e)));
|
|
5461
5459
|
const y = {
|
|
5462
5460
|
prefix: f,
|
|
5463
5461
|
input: U,
|
|
@@ -5467,20 +5465,20 @@ function Nf() {
|
|
|
5467
5465
|
isBrace: ce,
|
|
5468
5466
|
isBracket: ie,
|
|
5469
5467
|
isGlob: B,
|
|
5470
|
-
isExtglob:
|
|
5468
|
+
isExtglob: Q,
|
|
5471
5469
|
isGlobstar: ve,
|
|
5472
5470
|
negated: Re,
|
|
5473
5471
|
negatedExtglob: Le
|
|
5474
5472
|
};
|
|
5475
|
-
if (L.tokens === !0 && (y.maxDepth = 0,
|
|
5473
|
+
if (L.tokens === !0 && (y.maxDepth = 0, F(J) || le.push(ge), y.tokens = le), L.parts === !0 || L.tokens === !0) {
|
|
5476
5474
|
let C;
|
|
5477
5475
|
for (let x = 0; x < he.length; x++) {
|
|
5478
5476
|
const _ = C ? C + 1 : q, I = he[x], b = U.slice(_, I);
|
|
5479
|
-
L.tokens && (x === 0 && q !== 0 ? (le[x].isPrefix = !0, le[x].value = f) : le[x].value = b,
|
|
5477
|
+
L.tokens && (x === 0 && q !== 0 ? (le[x].isPrefix = !0, le[x].value = f) : le[x].value = b, k(le[x]), y.maxDepth += le[x].depth), (x !== 0 || b !== "") && be.push(b), C = I;
|
|
5480
5478
|
}
|
|
5481
5479
|
if (C && C + 1 < U.length) {
|
|
5482
5480
|
const x = U.slice(C + 1);
|
|
5483
|
-
be.push(x), L.tokens && (le[le.length - 1].value = x,
|
|
5481
|
+
be.push(x), L.tokens && (le[le.length - 1].value = x, k(le[le.length - 1]), y.maxDepth += le[le.length - 1].depth);
|
|
5484
5482
|
}
|
|
5485
5483
|
y.slashes = he, y.parts = be;
|
|
5486
5484
|
}
|
|
@@ -5488,7 +5486,7 @@ function Nf() {
|
|
|
5488
5486
|
}, To;
|
|
5489
5487
|
}
|
|
5490
5488
|
var Ro, hi;
|
|
5491
|
-
function
|
|
5489
|
+
function Rf() {
|
|
5492
5490
|
if (hi) return Ro;
|
|
5493
5491
|
hi = 1;
|
|
5494
5492
|
const e = /* @__PURE__ */ so(), t = /* @__PURE__ */ io(), {
|
|
@@ -5516,7 +5514,7 @@ function Tf() {
|
|
|
5516
5514
|
let P = p.length;
|
|
5517
5515
|
if (P > S)
|
|
5518
5516
|
throw new SyntaxError(`Input length: ${P}, exceeds maximum allowed length: ${S}`);
|
|
5519
|
-
const
|
|
5517
|
+
const W = { type: "bos", value: "", output: h.prepend || "" }, F = [W], k = h.capture ? "" : "?:", te = e.globChars(h.windows), U = e.extglobChars(te), {
|
|
5520
5518
|
DOT_LITERAL: oe,
|
|
5521
5519
|
PLUS_LITERAL: L,
|
|
5522
5520
|
SLASH_LITERAL: re,
|
|
@@ -5529,7 +5527,7 @@ function Tf() {
|
|
|
5529
5527
|
QMARK_NO_DOT: q,
|
|
5530
5528
|
STAR: ne,
|
|
5531
5529
|
START_ANCHOR: ce
|
|
5532
|
-
} =
|
|
5530
|
+
} = te, ie = (_) => `(${k}(?:(?!${ce}${_.dot ? he : oe}).)*?)`, B = h.dot ? "" : le, Q = h.dot ? w : q;
|
|
5533
5531
|
let ve = h.bash === !0 ? ie(h) : ne;
|
|
5534
5532
|
h.capture && (ve = `(${ve})`), typeof h.noext == "boolean" && (h.noextglob = h.noext);
|
|
5535
5533
|
const T = {
|
|
@@ -5547,11 +5545,11 @@ function Tf() {
|
|
|
5547
5545
|
parens: 0,
|
|
5548
5546
|
quotes: 0,
|
|
5549
5547
|
globstar: !1,
|
|
5550
|
-
tokens:
|
|
5548
|
+
tokens: F
|
|
5551
5549
|
};
|
|
5552
5550
|
p = t.removePrefix(p, T), P = p.length;
|
|
5553
5551
|
const _e = [], Re = [], Le = [];
|
|
5554
|
-
let A =
|
|
5552
|
+
let A = W, D;
|
|
5555
5553
|
const Ve = () => T.index === P - 1, J = T.peek = (_ = 1) => p[T.index + _], ge = T.advance = () => p[++T.index] || "", Ie = () => p.slice(T.index + 1), we = (_ = "", I = 0) => {
|
|
5556
5554
|
T.consumed += _, T.index += I;
|
|
5557
5555
|
}, H = (_) => {
|
|
@@ -5574,7 +5572,7 @@ function Tf() {
|
|
|
5574
5572
|
A.output = (A.output || A.value) + _.value, A.value += _.value;
|
|
5575
5573
|
return;
|
|
5576
5574
|
}
|
|
5577
|
-
_.prev = A,
|
|
5575
|
+
_.prev = A, F.push(_), A = _;
|
|
5578
5576
|
}, C = (_, I) => {
|
|
5579
5577
|
const b = { ...U[I], conditions: 1, inner: "" };
|
|
5580
5578
|
b.prev = A, b.parens = T.parens, b.output = T.output;
|
|
@@ -5593,7 +5591,7 @@ function Tf() {
|
|
|
5593
5591
|
y({ type: "paren", extglob: !0, value: D, output: I }), g("parens");
|
|
5594
5592
|
};
|
|
5595
5593
|
if (h.fastpaths !== !1 && !/(^[*!]|[/()[\]{}"])/.test(p)) {
|
|
5596
|
-
let _ = !1, I = p.replace(s, (b, N, R, G, M, Z) => G === "\\" ? (_ = !0, b) : G === "?" ? N ? N + G + (M ? w.repeat(M.length) : "") : Z === 0 ?
|
|
5594
|
+
let _ = !1, I = p.replace(s, (b, N, R, G, M, Z) => G === "\\" ? (_ = !0, b) : G === "?" ? N ? N + G + (M ? w.repeat(M.length) : "") : Z === 0 ? Q + (M ? w.repeat(M.length) : "") : w.repeat(R.length) : G === "." ? oe.repeat(R.length) : G === "*" ? N ? N + G + (M ? ve : "") : ve : N ? b : `\\${b}`);
|
|
5597
5595
|
return _ === !0 && (h.unescape === !0 ? I = I.replace(/\\/g, "") : I = I.replace(/\\+/g, (b) => b.length % 2 === 0 ? "\\\\" : b ? "\\" : "")), I === p && h.contains === !0 ? (T.output = p, T) : (T.output = t.wrapOutput(I, T, d), T);
|
|
5598
5596
|
}
|
|
5599
5597
|
for (; !Ve(); ) {
|
|
@@ -5620,7 +5618,7 @@ function Tf() {
|
|
|
5620
5618
|
if (b.includes("[") && (A.posix = !0, b.includes(":"))) {
|
|
5621
5619
|
const N = A.value.lastIndexOf("["), R = A.value.slice(0, N), G = A.value.slice(N + 2), M = r[G];
|
|
5622
5620
|
if (M) {
|
|
5623
|
-
A.value = R + M, T.backtrack = !0, ge(), !
|
|
5621
|
+
A.value = R + M, T.backtrack = !0, ge(), !W.output && F.indexOf(A) === 1 && (W.output = ue);
|
|
5624
5622
|
continue;
|
|
5625
5623
|
}
|
|
5626
5624
|
}
|
|
@@ -5681,7 +5679,7 @@ function Tf() {
|
|
|
5681
5679
|
T.output += N, A.value = N;
|
|
5682
5680
|
continue;
|
|
5683
5681
|
}
|
|
5684
|
-
A.value = `(${
|
|
5682
|
+
A.value = `(${k}${N}|${A.value})`, T.output += A.value;
|
|
5685
5683
|
continue;
|
|
5686
5684
|
}
|
|
5687
5685
|
if (D === "{" && h.nobrace !== !0) {
|
|
@@ -5704,8 +5702,8 @@ function Tf() {
|
|
|
5704
5702
|
}
|
|
5705
5703
|
let N = ")";
|
|
5706
5704
|
if (b.dots === !0) {
|
|
5707
|
-
const R =
|
|
5708
|
-
for (let M = R.length - 1; M >= 0 && (
|
|
5705
|
+
const R = F.slice(), G = [];
|
|
5706
|
+
for (let M = R.length - 1; M >= 0 && (F.pop(), R[M].type !== "brace"); M--)
|
|
5709
5707
|
R[M].type !== "dots" && G.unshift(R[M].value);
|
|
5710
5708
|
N = c(G, h), T.backtrack = !0;
|
|
5711
5709
|
}
|
|
@@ -5730,7 +5728,7 @@ function Tf() {
|
|
|
5730
5728
|
}
|
|
5731
5729
|
if (D === "/") {
|
|
5732
5730
|
if (A.type === "dot" && T.index === T.start + 1) {
|
|
5733
|
-
T.start = T.index + 1, T.consumed = "", T.output = "",
|
|
5731
|
+
T.start = T.index + 1, T.consumed = "", T.output = "", F.pop(), A = W;
|
|
5734
5732
|
continue;
|
|
5735
5733
|
}
|
|
5736
5734
|
y({ type: "slash", value: D, output: re });
|
|
@@ -5894,10 +5892,10 @@ function Tf() {
|
|
|
5894
5892
|
throw new SyntaxError(`Input length: ${P}, exceeds maximum allowed length: ${S}`);
|
|
5895
5893
|
p = i[p] || p;
|
|
5896
5894
|
const {
|
|
5897
|
-
DOT_LITERAL:
|
|
5898
|
-
SLASH_LITERAL:
|
|
5899
|
-
ONE_CHAR:
|
|
5900
|
-
DOTS_SLASH:
|
|
5895
|
+
DOT_LITERAL: W,
|
|
5896
|
+
SLASH_LITERAL: F,
|
|
5897
|
+
ONE_CHAR: k,
|
|
5898
|
+
DOTS_SLASH: te,
|
|
5901
5899
|
NO_DOT: U,
|
|
5902
5900
|
NO_DOTS: oe,
|
|
5903
5901
|
NO_DOTS_SLASH: L,
|
|
@@ -5906,46 +5904,46 @@ function Tf() {
|
|
|
5906
5904
|
} = e.globChars(h.windows), he = h.dot ? oe : U, le = h.dot ? L : U, be = h.capture ? "" : "?:", Y = { negated: !1, prefix: "" };
|
|
5907
5905
|
let w = h.bash === !0 ? ".*?" : re;
|
|
5908
5906
|
h.capture && (w = `(${w})`);
|
|
5909
|
-
const q = (B) => B.noglobstar === !0 ? w : `(${be}(?:(?!${ue}${B.dot ?
|
|
5907
|
+
const q = (B) => B.noglobstar === !0 ? w : `(${be}(?:(?!${ue}${B.dot ? te : W}).)*?)`, ne = (B) => {
|
|
5910
5908
|
switch (B) {
|
|
5911
5909
|
case "*":
|
|
5912
|
-
return `${he}${
|
|
5910
|
+
return `${he}${k}${w}`;
|
|
5913
5911
|
case ".*":
|
|
5914
|
-
return `${
|
|
5912
|
+
return `${W}${k}${w}`;
|
|
5915
5913
|
case "*.*":
|
|
5916
|
-
return `${he}${w}${
|
|
5914
|
+
return `${he}${w}${W}${k}${w}`;
|
|
5917
5915
|
case "*/*":
|
|
5918
|
-
return `${he}${w}${
|
|
5916
|
+
return `${he}${w}${F}${k}${le}${w}`;
|
|
5919
5917
|
case "**":
|
|
5920
5918
|
return he + q(h);
|
|
5921
5919
|
case "**/*":
|
|
5922
|
-
return `(?:${he}${q(h)}${
|
|
5920
|
+
return `(?:${he}${q(h)}${F})?${le}${k}${w}`;
|
|
5923
5921
|
case "**/*.*":
|
|
5924
|
-
return `(?:${he}${q(h)}${
|
|
5922
|
+
return `(?:${he}${q(h)}${F})?${le}${w}${W}${k}${w}`;
|
|
5925
5923
|
case "**/.*":
|
|
5926
|
-
return `(?:${he}${q(h)}${
|
|
5924
|
+
return `(?:${he}${q(h)}${F})?${W}${k}${w}`;
|
|
5927
5925
|
default: {
|
|
5928
|
-
const
|
|
5929
|
-
if (!
|
|
5930
|
-
const ve = ne(
|
|
5931
|
-
return ve ? ve +
|
|
5926
|
+
const Q = /^(.*?)\.(\w+)$/.exec(B);
|
|
5927
|
+
if (!Q) return;
|
|
5928
|
+
const ve = ne(Q[1]);
|
|
5929
|
+
return ve ? ve + W + Q[2] : void 0;
|
|
5932
5930
|
}
|
|
5933
5931
|
}
|
|
5934
5932
|
}, ce = t.removePrefix(p, Y);
|
|
5935
5933
|
let ie = ne(ce);
|
|
5936
|
-
return ie && h.strictSlashes !== !0 && (ie += `${
|
|
5934
|
+
return ie && h.strictSlashes !== !0 && (ie += `${F}?`), ie;
|
|
5937
5935
|
}, Ro = E, Ro;
|
|
5938
5936
|
}
|
|
5939
5937
|
var xo, gi;
|
|
5940
|
-
function
|
|
5938
|
+
function xf() {
|
|
5941
5939
|
if (gi) return xo;
|
|
5942
5940
|
gi = 1;
|
|
5943
|
-
const e = /* @__PURE__ */
|
|
5941
|
+
const e = /* @__PURE__ */ Tf(), t = /* @__PURE__ */ Rf(), n = /* @__PURE__ */ io(), r = /* @__PURE__ */ so(), o = (i) => i && typeof i == "object" && !Array.isArray(i), s = (i, c, l = !1) => {
|
|
5944
5942
|
if (Array.isArray(i)) {
|
|
5945
|
-
const
|
|
5946
|
-
return (
|
|
5947
|
-
for (const U of
|
|
5948
|
-
const oe = U(
|
|
5943
|
+
const F = i.map((te) => s(te, c, l));
|
|
5944
|
+
return (te) => {
|
|
5945
|
+
for (const U of F) {
|
|
5946
|
+
const oe = U(te);
|
|
5949
5947
|
if (oe) return oe;
|
|
5950
5948
|
}
|
|
5951
5949
|
return !1;
|
|
@@ -5958,14 +5956,14 @@ function Rf() {
|
|
|
5958
5956
|
delete h.state;
|
|
5959
5957
|
let P = () => !1;
|
|
5960
5958
|
if (p.ignore) {
|
|
5961
|
-
const
|
|
5962
|
-
P = s(p.ignore,
|
|
5959
|
+
const F = { ...c, ignore: null, onMatch: null, onResult: null };
|
|
5960
|
+
P = s(p.ignore, F, l);
|
|
5963
5961
|
}
|
|
5964
|
-
const
|
|
5965
|
-
const { isMatch:
|
|
5966
|
-
return typeof p.onResult == "function" && p.onResult(L),
|
|
5962
|
+
const W = (F, k = !1) => {
|
|
5963
|
+
const { isMatch: te, match: U, output: oe } = s.test(F, h, c, { glob: i, posix: d }), L = { glob: i, state: S, regex: h, posix: d, input: F, output: oe, match: U, isMatch: te };
|
|
5964
|
+
return typeof p.onResult == "function" && p.onResult(L), te === !1 ? (L.isMatch = !1, k ? L : !1) : P(F) ? (typeof p.onIgnore == "function" && p.onIgnore(L), L.isMatch = !1, k ? L : !1) : (typeof p.onMatch == "function" && p.onMatch(L), k ? L : !0);
|
|
5967
5965
|
};
|
|
5968
|
-
return l && (
|
|
5966
|
+
return l && (W.state = S), W;
|
|
5969
5967
|
};
|
|
5970
5968
|
return s.test = (i, c, l, { glob: E, posix: p } = {}) => {
|
|
5971
5969
|
if (typeof i != "string")
|
|
@@ -5999,47 +5997,56 @@ function Rf() {
|
|
|
5999
5997
|
}, s.constants = r, xo = s, xo;
|
|
6000
5998
|
}
|
|
6001
5999
|
var Do, mi;
|
|
6002
|
-
function
|
|
6000
|
+
function Df() {
|
|
6003
6001
|
if (mi) return Do;
|
|
6004
6002
|
mi = 1;
|
|
6005
|
-
const e = /* @__PURE__ */
|
|
6003
|
+
const e = /* @__PURE__ */ xf(), t = /* @__PURE__ */ io();
|
|
6006
6004
|
function n(r, o, s = !1) {
|
|
6007
6005
|
return o && (o.windows === null || o.windows === void 0) && (o = { ...o, windows: t.isWindows() }), e(r, o, s);
|
|
6008
6006
|
}
|
|
6009
6007
|
return Object.assign(n, e), Do = n, Do;
|
|
6010
6008
|
}
|
|
6011
|
-
var
|
|
6012
|
-
const
|
|
6009
|
+
var Cf = /* @__PURE__ */ Df();
|
|
6010
|
+
const vi = /* @__PURE__ */ Nf(Cf), Ei = (e) => {
|
|
6013
6011
|
const t = window.history[e];
|
|
6014
6012
|
return function() {
|
|
6015
6013
|
const n = t.apply(this, arguments), r = new Event(e);
|
|
6016
6014
|
return window.dispatchEvent(r), n;
|
|
6017
6015
|
};
|
|
6018
6016
|
};
|
|
6019
|
-
let
|
|
6017
|
+
let yi = !1;
|
|
6020
6018
|
const Pf = () => {
|
|
6021
|
-
|
|
6019
|
+
yi || (yi = !0, history.replaceState = Ei("replaceState"), history.pushState = Ei("pushState"));
|
|
6022
6020
|
}, Ig = (e) => {
|
|
6023
6021
|
Et("microApp").cors.on("syncRouter", (n) => e(n.data));
|
|
6024
6022
|
}, $g = async (e) => {
|
|
6025
6023
|
const t = Et("microApp"), n = t.data.get().appInfo;
|
|
6026
6024
|
n && t.cors.send("reportRouter", { data: e, href: location.href, appInfo: n });
|
|
6027
|
-
}, wr = /* @__PURE__ */ new Map(),
|
|
6028
|
-
|
|
6029
|
-
if (window.history.replaceState(history.state, "",
|
|
6030
|
-
const
|
|
6031
|
-
window.dispatchEvent(
|
|
6025
|
+
}, wr = /* @__PURE__ */ new Map(), ea = () => {
|
|
6026
|
+
const e = (n) => {
|
|
6027
|
+
if (window.history.replaceState(history.state, "", n), ["back", "current", "forward", "position", "replaced", "scroll"].every((s) => Object.keys(history.state || {}).includes(s))) {
|
|
6028
|
+
const s = new PopStateEvent("popstate", { state: history.state });
|
|
6029
|
+
window.dispatchEvent(s);
|
|
6032
6030
|
}
|
|
6033
|
-
},
|
|
6034
|
-
|
|
6035
|
-
|
|
6036
|
-
|
|
6037
|
-
|
|
6038
|
-
|
|
6039
|
-
|
|
6040
|
-
|
|
6041
|
-
|
|
6042
|
-
|
|
6031
|
+
}, t = (n) => {
|
|
6032
|
+
if (Array.isArray(n)) {
|
|
6033
|
+
const r = n.map((o) => vi(o));
|
|
6034
|
+
return (o) => r.some((s) => s(o));
|
|
6035
|
+
}
|
|
6036
|
+
return vi(n);
|
|
6037
|
+
};
|
|
6038
|
+
return {
|
|
6039
|
+
replaceState: e,
|
|
6040
|
+
addRule: (n, r) => {
|
|
6041
|
+
const o = t(r), s = wr.get(n);
|
|
6042
|
+
s ? wr.set(n, (i) => s(i) || o(i)) : wr.set(n, o);
|
|
6043
|
+
},
|
|
6044
|
+
match: (n) => {
|
|
6045
|
+
const r = [...wr].find(([o, s]) => s(n));
|
|
6046
|
+
return r ? r[0] : !1;
|
|
6047
|
+
}
|
|
6048
|
+
};
|
|
6049
|
+
}, ta = () => {
|
|
6043
6050
|
Pf();
|
|
6044
6051
|
const e = {};
|
|
6045
6052
|
return { addRouterEventListener: (r, o) => {
|
|
@@ -6055,7 +6062,7 @@ const Pf = () => {
|
|
|
6055
6062
|
window.removeEventListener(s, i);
|
|
6056
6063
|
});
|
|
6057
6064
|
} };
|
|
6058
|
-
}, { replaceState: If } =
|
|
6065
|
+
}, { replaceState: If } = ea(), { addRouterEventListener: $f } = ta(), Mf = () => {
|
|
6059
6066
|
const e = Et("microApp"), t = Ge(!1);
|
|
6060
6067
|
e.cors.on("syncRouter", (n) => {
|
|
6061
6068
|
var d, h;
|
|
@@ -6089,7 +6096,7 @@ const Pf = () => {
|
|
|
6089
6096
|
});
|
|
6090
6097
|
}, Mg = async (e) => {
|
|
6091
6098
|
e || (e = {});
|
|
6092
|
-
const t = await
|
|
6099
|
+
const t = await Qc({ type: "microApp", ...e });
|
|
6093
6100
|
return Mf(), Lf(), t;
|
|
6094
6101
|
};
|
|
6095
6102
|
function co(e) {
|
|
@@ -6111,12 +6118,12 @@ function co(e) {
|
|
|
6111
6118
|
function Vf() {
|
|
6112
6119
|
this.__data__ = [], this.size = 0;
|
|
6113
6120
|
}
|
|
6114
|
-
function
|
|
6121
|
+
function na(e, t) {
|
|
6115
6122
|
return e === t || e !== e && t !== t;
|
|
6116
6123
|
}
|
|
6117
6124
|
function ao(e, t) {
|
|
6118
6125
|
for (var n = e.length; n--; )
|
|
6119
|
-
if (
|
|
6126
|
+
if (na(e[n][0], t))
|
|
6120
6127
|
return n;
|
|
6121
6128
|
return -1;
|
|
6122
6129
|
}
|
|
@@ -6164,7 +6171,7 @@ function kf(e) {
|
|
|
6164
6171
|
function Yf(e) {
|
|
6165
6172
|
return this.__data__.has(e);
|
|
6166
6173
|
}
|
|
6167
|
-
var
|
|
6174
|
+
var ra = typeof global == "object" && global && global.Object === Object && global, qf = typeof self == "object" && self && self.Object === Object && self, It = ra || qf || Function("return this")(), Dn = It.Symbol, oa = Object.prototype, zf = oa.hasOwnProperty, Jf = oa.toString, Yn = Dn ? Dn.toStringTag : void 0;
|
|
6168
6175
|
function Xf(e) {
|
|
6169
6176
|
var t = zf.call(e, Yn), n = e[Yn];
|
|
6170
6177
|
try {
|
|
@@ -6179,27 +6186,27 @@ var Zf = Object.prototype, Qf = Zf.toString;
|
|
|
6179
6186
|
function ep(e) {
|
|
6180
6187
|
return Qf.call(e);
|
|
6181
6188
|
}
|
|
6182
|
-
var tp = "[object Null]", np = "[object Undefined]",
|
|
6189
|
+
var tp = "[object Null]", np = "[object Undefined]", _i = Dn ? Dn.toStringTag : void 0;
|
|
6183
6190
|
function mr(e) {
|
|
6184
|
-
return e == null ? e === void 0 ? np : tp :
|
|
6191
|
+
return e == null ? e === void 0 ? np : tp : _i && _i in Object(e) ? Xf(e) : ep(e);
|
|
6185
6192
|
}
|
|
6186
6193
|
function uo(e) {
|
|
6187
6194
|
var t = typeof e;
|
|
6188
6195
|
return e != null && (t == "object" || t == "function");
|
|
6189
6196
|
}
|
|
6190
6197
|
var rp = "[object AsyncFunction]", op = "[object Function]", sp = "[object GeneratorFunction]", ip = "[object Proxy]";
|
|
6191
|
-
function
|
|
6198
|
+
function sa(e) {
|
|
6192
6199
|
if (!uo(e))
|
|
6193
6200
|
return !1;
|
|
6194
6201
|
var t = mr(e);
|
|
6195
6202
|
return t == op || t == sp || t == rp || t == ip;
|
|
6196
6203
|
}
|
|
6197
|
-
var Co = It["__core-js_shared__"],
|
|
6204
|
+
var Co = It["__core-js_shared__"], bi = function() {
|
|
6198
6205
|
var e = /[^.]+$/.exec(Co && Co.keys && Co.keys.IE_PROTO || "");
|
|
6199
6206
|
return e ? "Symbol(src)_1." + e : "";
|
|
6200
6207
|
}();
|
|
6201
6208
|
function cp(e) {
|
|
6202
|
-
return !!
|
|
6209
|
+
return !!bi && bi in e;
|
|
6203
6210
|
}
|
|
6204
6211
|
var ap = Function.prototype, up = ap.toString;
|
|
6205
6212
|
function gn(e) {
|
|
@@ -6221,7 +6228,7 @@ var lp = /[\\^$.*+?()[\]{}|]/g, fp = /^\[object .+?Constructor\]$/, pp = Functio
|
|
|
6221
6228
|
function vp(e) {
|
|
6222
6229
|
if (!uo(e) || cp(e))
|
|
6223
6230
|
return !1;
|
|
6224
|
-
var t =
|
|
6231
|
+
var t = sa(e) ? mp : fp;
|
|
6225
6232
|
return t.test(gn(e));
|
|
6226
6233
|
}
|
|
6227
6234
|
function Ep(e, t) {
|
|
@@ -6336,7 +6343,7 @@ function jp(e, t) {
|
|
|
6336
6343
|
;
|
|
6337
6344
|
return e;
|
|
6338
6345
|
}
|
|
6339
|
-
var
|
|
6346
|
+
var wi = function() {
|
|
6340
6347
|
try {
|
|
6341
6348
|
var e = mn(Object, "defineProperty");
|
|
6342
6349
|
return e({}, "", {}), e;
|
|
@@ -6344,7 +6351,7 @@ var bi = function() {
|
|
|
6344
6351
|
}
|
|
6345
6352
|
}();
|
|
6346
6353
|
function Hp(e, t, n) {
|
|
6347
|
-
t == "__proto__" &&
|
|
6354
|
+
t == "__proto__" && wi ? wi(e, t, {
|
|
6348
6355
|
configurable: !0,
|
|
6349
6356
|
enumerable: !0,
|
|
6350
6357
|
value: n,
|
|
@@ -6354,7 +6361,7 @@ function Hp(e, t, n) {
|
|
|
6354
6361
|
var Wp = Object.prototype, Fp = Wp.hasOwnProperty;
|
|
6355
6362
|
function Bp(e, t, n) {
|
|
6356
6363
|
var r = e[t];
|
|
6357
|
-
(!(Fp.call(e, t) &&
|
|
6364
|
+
(!(Fp.call(e, t) && na(r, n)) || n === void 0 && !(t in e)) && Hp(e, t, n);
|
|
6358
6365
|
}
|
|
6359
6366
|
function Up(e, t) {
|
|
6360
6367
|
for (var n = -1, r = Array(e); ++n < e; )
|
|
@@ -6365,46 +6372,46 @@ function vr(e) {
|
|
|
6365
6372
|
return e != null && typeof e == "object";
|
|
6366
6373
|
}
|
|
6367
6374
|
var Gp = "[object Arguments]";
|
|
6368
|
-
function
|
|
6375
|
+
function Oi(e) {
|
|
6369
6376
|
return vr(e) && mr(e) == Gp;
|
|
6370
6377
|
}
|
|
6371
|
-
var
|
|
6378
|
+
var ia = Object.prototype, Kp = ia.hasOwnProperty, kp = ia.propertyIsEnumerable, Yp = Oi(/* @__PURE__ */ function() {
|
|
6372
6379
|
return arguments;
|
|
6373
|
-
}()) ?
|
|
6380
|
+
}()) ? Oi : function(e) {
|
|
6374
6381
|
return vr(e) && Kp.call(e, "callee") && !kp.call(e, "callee");
|
|
6375
6382
|
}, bs = Array.isArray;
|
|
6376
6383
|
function qp() {
|
|
6377
6384
|
return !1;
|
|
6378
6385
|
}
|
|
6379
|
-
var
|
|
6386
|
+
var ca = typeof exports == "object" && exports && !exports.nodeType && exports, Si = ca && typeof module == "object" && module && !module.nodeType && module, zp = Si && Si.exports === ca, Ai = zp ? It.Buffer : void 0, Jp = Ai ? Ai.isBuffer : void 0, aa = Jp || qp, Xp = 9007199254740991, Zp = /^(?:0|[1-9]\d*)$/;
|
|
6380
6387
|
function Qp(e, t) {
|
|
6381
6388
|
var n = typeof e;
|
|
6382
6389
|
return t = t ?? Xp, !!t && (n == "number" || n != "symbol" && Zp.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
6383
6390
|
}
|
|
6384
6391
|
var ed = 9007199254740991;
|
|
6385
|
-
function
|
|
6392
|
+
function ua(e) {
|
|
6386
6393
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= ed;
|
|
6387
6394
|
}
|
|
6388
6395
|
var td = "[object Arguments]", nd = "[object Array]", rd = "[object Boolean]", od = "[object Date]", sd = "[object Error]", id = "[object Function]", cd = "[object Map]", ad = "[object Number]", ud = "[object Object]", ld = "[object RegExp]", fd = "[object Set]", pd = "[object String]", dd = "[object WeakMap]", hd = "[object ArrayBuffer]", gd = "[object DataView]", md = "[object Float32Array]", vd = "[object Float64Array]", Ed = "[object Int8Array]", yd = "[object Int16Array]", _d = "[object Int32Array]", bd = "[object Uint8Array]", wd = "[object Uint8ClampedArray]", Od = "[object Uint16Array]", Sd = "[object Uint32Array]", Ce = {};
|
|
6389
6396
|
Ce[md] = Ce[vd] = Ce[Ed] = Ce[yd] = Ce[_d] = Ce[bd] = Ce[wd] = Ce[Od] = Ce[Sd] = !0;
|
|
6390
6397
|
Ce[td] = Ce[nd] = Ce[hd] = Ce[rd] = Ce[gd] = Ce[od] = Ce[sd] = Ce[id] = Ce[cd] = Ce[ad] = Ce[ud] = Ce[ld] = Ce[fd] = Ce[pd] = Ce[dd] = !1;
|
|
6391
6398
|
function Ad(e) {
|
|
6392
|
-
return vr(e) &&
|
|
6399
|
+
return vr(e) && ua(e.length) && !!Ce[mr(e)];
|
|
6393
6400
|
}
|
|
6394
6401
|
function ws(e) {
|
|
6395
6402
|
return function(t) {
|
|
6396
6403
|
return e(t);
|
|
6397
6404
|
};
|
|
6398
6405
|
}
|
|
6399
|
-
var
|
|
6406
|
+
var la = typeof exports == "object" && exports && !exports.nodeType && exports, nr = la && typeof module == "object" && module && !module.nodeType && module, Nd = nr && nr.exports === la, Po = Nd && ra.process, Cn = function() {
|
|
6400
6407
|
try {
|
|
6401
6408
|
var e = nr && nr.require && nr.require("util").types;
|
|
6402
6409
|
return e || Po && Po.binding && Po.binding("util");
|
|
6403
6410
|
} catch {
|
|
6404
6411
|
}
|
|
6405
|
-
}(),
|
|
6412
|
+
}(), Ni = Cn && Cn.isTypedArray, Td = Ni ? ws(Ni) : Ad, Rd = Object.prototype, xd = Rd.hasOwnProperty;
|
|
6406
6413
|
function Dd(e, t) {
|
|
6407
|
-
var n = bs(e), r = !n && Yp(e), o = !n && !r &&
|
|
6414
|
+
var n = bs(e), r = !n && Yp(e), o = !n && !r && aa(e), s = !n && !r && !o && Td(e), i = n || r || o || s, c = i ? Up(e.length, String) : [], l = c.length;
|
|
6408
6415
|
for (var E in e)
|
|
6409
6416
|
xd.call(e, E) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
6410
6417
|
(E == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -6414,18 +6421,18 @@ function Dd(e, t) {
|
|
|
6414
6421
|
return c;
|
|
6415
6422
|
}
|
|
6416
6423
|
var Cd = Object.prototype;
|
|
6417
|
-
function
|
|
6424
|
+
function fa(e) {
|
|
6418
6425
|
var t = e && e.constructor, n = typeof t == "function" && t.prototype || Cd;
|
|
6419
6426
|
return e === n;
|
|
6420
6427
|
}
|
|
6421
|
-
function
|
|
6428
|
+
function pa(e, t) {
|
|
6422
6429
|
return function(n) {
|
|
6423
6430
|
return e(t(n));
|
|
6424
6431
|
};
|
|
6425
6432
|
}
|
|
6426
|
-
var Pd =
|
|
6433
|
+
var Pd = pa(Object.keys, Object), Id = Object.prototype, $d = Id.hasOwnProperty;
|
|
6427
6434
|
function Md(e) {
|
|
6428
|
-
if (!
|
|
6435
|
+
if (!fa(e))
|
|
6429
6436
|
return Pd(e);
|
|
6430
6437
|
var t = [];
|
|
6431
6438
|
for (var n in Object(e))
|
|
@@ -6433,13 +6440,13 @@ function Md(e) {
|
|
|
6433
6440
|
return t;
|
|
6434
6441
|
}
|
|
6435
6442
|
function Ld(e) {
|
|
6436
|
-
return e != null &&
|
|
6443
|
+
return e != null && ua(e.length) && !sa(e);
|
|
6437
6444
|
}
|
|
6438
6445
|
function Vd(e) {
|
|
6439
6446
|
return Ld(e) ? Dd(e) : Md(e);
|
|
6440
6447
|
}
|
|
6441
|
-
var
|
|
6442
|
-
|
|
6448
|
+
var da = typeof exports == "object" && exports && !exports.nodeType && exports, Ti = da && typeof module == "object" && module && !module.nodeType && module, jd = Ti && Ti.exports === da, Ri = jd ? It.Buffer : void 0;
|
|
6449
|
+
Ri && Ri.allocUnsafe;
|
|
6443
6450
|
function Hd(e, t) {
|
|
6444
6451
|
return e.slice();
|
|
6445
6452
|
}
|
|
@@ -6453,8 +6460,8 @@ function Wd(e, t) {
|
|
|
6453
6460
|
function Fd() {
|
|
6454
6461
|
return [];
|
|
6455
6462
|
}
|
|
6456
|
-
var Bd = Object.prototype, Ud = Bd.propertyIsEnumerable,
|
|
6457
|
-
return e == null ? [] : (e = Object(e), Wd(
|
|
6463
|
+
var Bd = Object.prototype, Ud = Bd.propertyIsEnumerable, xi = Object.getOwnPropertySymbols, Gd = xi ? function(e) {
|
|
6464
|
+
return e == null ? [] : (e = Object(e), Wd(xi(e), function(t) {
|
|
6458
6465
|
return Ud.call(e, t);
|
|
6459
6466
|
}));
|
|
6460
6467
|
} : Fd;
|
|
@@ -6463,7 +6470,7 @@ function Kd(e, t) {
|
|
|
6463
6470
|
e[o + n] = t[n];
|
|
6464
6471
|
return e;
|
|
6465
6472
|
}
|
|
6466
|
-
var kd =
|
|
6473
|
+
var kd = pa(Object.getPrototypeOf, Object);
|
|
6467
6474
|
function Yd(e, t, n) {
|
|
6468
6475
|
var r = t(e);
|
|
6469
6476
|
return bs(e) ? r : Kd(r, n(e));
|
|
@@ -6471,21 +6478,21 @@ function Yd(e, t, n) {
|
|
|
6471
6478
|
function qd(e) {
|
|
6472
6479
|
return Yd(e, Vd, Gd);
|
|
6473
6480
|
}
|
|
6474
|
-
var zo = mn(It, "DataView"), Jo = mn(It, "Promise"), Xo = mn(It, "Set"), Zo = mn(It, "WeakMap"),
|
|
6475
|
-
(zo && Ft(new zo(new ArrayBuffer(1))) !=
|
|
6481
|
+
var zo = mn(It, "DataView"), Jo = mn(It, "Promise"), Xo = mn(It, "Set"), Zo = mn(It, "WeakMap"), Di = "[object Map]", zd = "[object Object]", Ci = "[object Promise]", Pi = "[object Set]", Ii = "[object WeakMap]", $i = "[object DataView]", Jd = gn(zo), Xd = gn(ar), Zd = gn(Jo), Qd = gn(Xo), eh = gn(Zo), Ft = mr;
|
|
6482
|
+
(zo && Ft(new zo(new ArrayBuffer(1))) != $i || ar && Ft(new ar()) != Di || Jo && Ft(Jo.resolve()) != Ci || Xo && Ft(new Xo()) != Pi || Zo && Ft(new Zo()) != Ii) && (Ft = function(e) {
|
|
6476
6483
|
var t = mr(e), n = t == zd ? e.constructor : void 0, r = n ? gn(n) : "";
|
|
6477
6484
|
if (r)
|
|
6478
6485
|
switch (r) {
|
|
6479
6486
|
case Jd:
|
|
6480
|
-
return
|
|
6487
|
+
return $i;
|
|
6481
6488
|
case Xd:
|
|
6482
|
-
return xi;
|
|
6483
|
-
case Zd:
|
|
6484
6489
|
return Di;
|
|
6485
|
-
case
|
|
6490
|
+
case Zd:
|
|
6486
6491
|
return Ci;
|
|
6487
|
-
case
|
|
6492
|
+
case Qd:
|
|
6488
6493
|
return Pi;
|
|
6494
|
+
case eh:
|
|
6495
|
+
return Ii;
|
|
6489
6496
|
}
|
|
6490
6497
|
return t;
|
|
6491
6498
|
});
|
|
@@ -6494,10 +6501,10 @@ function rh(e) {
|
|
|
6494
6501
|
var t = e.length, n = new e.constructor(t);
|
|
6495
6502
|
return t && typeof e[0] == "string" && nh.call(e, "index") && (n.index = e.index, n.input = e.input), n;
|
|
6496
6503
|
}
|
|
6497
|
-
var
|
|
6504
|
+
var Mi = It.Uint8Array;
|
|
6498
6505
|
function Os(e) {
|
|
6499
6506
|
var t = new e.constructor(e.byteLength);
|
|
6500
|
-
return new
|
|
6507
|
+
return new Mi(t).set(new Mi(e)), t;
|
|
6501
6508
|
}
|
|
6502
6509
|
function oh(e, t) {
|
|
6503
6510
|
var n = Os(e.buffer);
|
|
@@ -6508,9 +6515,9 @@ function ih(e) {
|
|
|
6508
6515
|
var t = new e.constructor(e.source, sh.exec(e));
|
|
6509
6516
|
return t.lastIndex = e.lastIndex, t;
|
|
6510
6517
|
}
|
|
6511
|
-
var
|
|
6518
|
+
var Li = Dn ? Dn.prototype : void 0, Vi = Li ? Li.valueOf : void 0;
|
|
6512
6519
|
function ch(e) {
|
|
6513
|
-
return
|
|
6520
|
+
return Vi ? Object(Vi.call(e)) : {};
|
|
6514
6521
|
}
|
|
6515
6522
|
function ah(e, t) {
|
|
6516
6523
|
var n = Os(e.buffer);
|
|
@@ -6550,33 +6557,33 @@ function Rh(e, t, n) {
|
|
|
6550
6557
|
return ch(e);
|
|
6551
6558
|
}
|
|
6552
6559
|
}
|
|
6553
|
-
var
|
|
6560
|
+
var ji = Object.create, xh = /* @__PURE__ */ function() {
|
|
6554
6561
|
function e() {
|
|
6555
6562
|
}
|
|
6556
6563
|
return function(t) {
|
|
6557
6564
|
if (!uo(t))
|
|
6558
6565
|
return {};
|
|
6559
|
-
if (
|
|
6560
|
-
return
|
|
6566
|
+
if (ji)
|
|
6567
|
+
return ji(t);
|
|
6561
6568
|
e.prototype = t;
|
|
6562
6569
|
var n = new e();
|
|
6563
6570
|
return e.prototype = void 0, n;
|
|
6564
6571
|
};
|
|
6565
6572
|
}();
|
|
6566
6573
|
function Dh(e) {
|
|
6567
|
-
return typeof e.constructor == "function" && !
|
|
6574
|
+
return typeof e.constructor == "function" && !fa(e) ? xh(kd(e)) : {};
|
|
6568
6575
|
}
|
|
6569
6576
|
var Ch = "[object Map]";
|
|
6570
6577
|
function Ph(e) {
|
|
6571
6578
|
return vr(e) && Ft(e) == Ch;
|
|
6572
6579
|
}
|
|
6573
|
-
var
|
|
6580
|
+
var Hi = Cn && Cn.isMap, Ih = Hi ? ws(Hi) : Ph, $h = "[object Set]";
|
|
6574
6581
|
function Mh(e) {
|
|
6575
6582
|
return vr(e) && Ft(e) == $h;
|
|
6576
6583
|
}
|
|
6577
|
-
var
|
|
6578
|
-
xe[
|
|
6579
|
-
xe[Wh] = xe[
|
|
6584
|
+
var Wi = Cn && Cn.isSet, Lh = Wi ? ws(Wi) : Mh, ha = "[object Arguments]", Vh = "[object Array]", jh = "[object Boolean]", Hh = "[object Date]", Wh = "[object Error]", ga = "[object Function]", Fh = "[object GeneratorFunction]", Bh = "[object Map]", Uh = "[object Number]", ma = "[object Object]", Gh = "[object RegExp]", Kh = "[object Set]", kh = "[object String]", Yh = "[object Symbol]", qh = "[object WeakMap]", zh = "[object ArrayBuffer]", Jh = "[object DataView]", Xh = "[object Float32Array]", Zh = "[object Float64Array]", Qh = "[object Int8Array]", eg = "[object Int16Array]", tg = "[object Int32Array]", ng = "[object Uint8Array]", rg = "[object Uint8ClampedArray]", og = "[object Uint16Array]", sg = "[object Uint32Array]", xe = {};
|
|
6585
|
+
xe[ha] = xe[Vh] = xe[zh] = xe[Jh] = xe[jh] = xe[Hh] = xe[Xh] = xe[Zh] = xe[Qh] = xe[eg] = xe[tg] = xe[Bh] = xe[Uh] = xe[ma] = xe[Gh] = xe[Kh] = xe[kh] = xe[Yh] = xe[ng] = xe[rg] = xe[og] = xe[sg] = !0;
|
|
6586
|
+
xe[Wh] = xe[ga] = xe[qh] = !1;
|
|
6580
6587
|
function Pr(e, t, n, r, o, s) {
|
|
6581
6588
|
var i;
|
|
6582
6589
|
if (i !== void 0)
|
|
@@ -6587,10 +6594,10 @@ function Pr(e, t, n, r, o, s) {
|
|
|
6587
6594
|
if (c)
|
|
6588
6595
|
i = rh(e);
|
|
6589
6596
|
else {
|
|
6590
|
-
var l = Ft(e), E = l ==
|
|
6591
|
-
if (
|
|
6597
|
+
var l = Ft(e), E = l == ga || l == Fh;
|
|
6598
|
+
if (aa(e))
|
|
6592
6599
|
return Hd(e);
|
|
6593
|
-
if (l ==
|
|
6600
|
+
if (l == ma || l == ha || E && !o)
|
|
6594
6601
|
i = E ? {} : Dh(e);
|
|
6595
6602
|
else {
|
|
6596
6603
|
if (!xe[l])
|
|
@@ -6613,7 +6620,7 @@ function Pr(e, t, n, r, o, s) {
|
|
|
6613
6620
|
}), i;
|
|
6614
6621
|
}
|
|
6615
6622
|
var ig = 1, cg = 4;
|
|
6616
|
-
function
|
|
6623
|
+
function Fi(e) {
|
|
6617
6624
|
return Pr(e, ig | cg);
|
|
6618
6625
|
}
|
|
6619
6626
|
const cn = {};
|
|
@@ -6628,10 +6635,10 @@ const ag = (e, t, n) => {
|
|
|
6628
6635
|
}, ug = (e) => [...Array(e)].map(() => Math.random().toString(36)[2]).join("").padEnd(e, "0").slice(0, e), Ss = (e, t) => (cn[e] = t, {
|
|
6629
6636
|
set: (r, o) => {
|
|
6630
6637
|
if (!r || typeof r != "object") return;
|
|
6631
|
-
const s =
|
|
6638
|
+
const s = Fi(cn[e]), { notMerge: i = !1 } = o || {};
|
|
6632
6639
|
i ? cn[e] = r : Object.keys(r || {}).map((c) => {
|
|
6633
6640
|
cn[e][c] = r[c];
|
|
6634
|
-
}), ag(r,
|
|
6641
|
+
}), ag(r, Fi(cn[e]), s);
|
|
6635
6642
|
},
|
|
6636
6643
|
get: (r) => {
|
|
6637
6644
|
if (!(r && r.length > 0)) return cn[e];
|
|
@@ -6711,9 +6718,9 @@ const ag = (e, t, n) => {
|
|
|
6711
6718
|
]
|
|
6712
6719
|
}
|
|
6713
6720
|
}, hg = { container: dg };
|
|
6714
|
-
var Io = { exports: {} }, $r = { exports: {} }, gg = $r.exports,
|
|
6721
|
+
var Io = { exports: {} }, $r = { exports: {} }, gg = $r.exports, Bi;
|
|
6715
6722
|
function mg() {
|
|
6716
|
-
return
|
|
6723
|
+
return Bi || (Bi = 1, function(e, t) {
|
|
6717
6724
|
(function(n, r) {
|
|
6718
6725
|
e.exports = r();
|
|
6719
6726
|
})(typeof self < "u" ? self : gg, function() {
|
|
@@ -6830,11 +6837,11 @@ function mg() {
|
|
|
6830
6837
|
if (!O) throw new Error("Can not read window host");
|
|
6831
6838
|
return m + "//" + O;
|
|
6832
6839
|
}
|
|
6833
|
-
function
|
|
6840
|
+
function W() {
|
|
6834
6841
|
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window, u = P(a);
|
|
6835
6842
|
return u && a.mockDomain && a.mockDomain.indexOf(c.MOCK) === 0 ? a.mockDomain : u;
|
|
6836
6843
|
}
|
|
6837
|
-
function
|
|
6844
|
+
function F(a) {
|
|
6838
6845
|
try {
|
|
6839
6846
|
if (a === window) return !0;
|
|
6840
6847
|
} catch {
|
|
@@ -6854,7 +6861,7 @@ function mg() {
|
|
|
6854
6861
|
}
|
|
6855
6862
|
return !1;
|
|
6856
6863
|
}
|
|
6857
|
-
function
|
|
6864
|
+
function k(a, u) {
|
|
6858
6865
|
if (!a || !u) return !1;
|
|
6859
6866
|
var m = d(u);
|
|
6860
6867
|
return m ? m === a : function(v) {
|
|
@@ -6867,7 +6874,7 @@ function mg() {
|
|
|
6867
6874
|
return O;
|
|
6868
6875
|
}(u).indexOf(a) !== -1;
|
|
6869
6876
|
}
|
|
6870
|
-
function
|
|
6877
|
+
function te(a) {
|
|
6871
6878
|
var u = [], m = void 0;
|
|
6872
6879
|
try {
|
|
6873
6880
|
m = a.frames;
|
|
@@ -6893,14 +6900,14 @@ function mg() {
|
|
|
6893
6900
|
return u;
|
|
6894
6901
|
}
|
|
6895
6902
|
for (var V = 0; V < 100; V++) {
|
|
6896
|
-
var
|
|
6903
|
+
var K = void 0;
|
|
6897
6904
|
try {
|
|
6898
|
-
|
|
6905
|
+
K = m[V];
|
|
6899
6906
|
} catch {
|
|
6900
6907
|
return u;
|
|
6901
6908
|
}
|
|
6902
|
-
if (!
|
|
6903
|
-
u.push(
|
|
6909
|
+
if (!K) return u;
|
|
6910
|
+
u.push(K);
|
|
6904
6911
|
}
|
|
6905
6912
|
return u;
|
|
6906
6913
|
}
|
|
@@ -6923,9 +6930,9 @@ function mg() {
|
|
|
6923
6930
|
return !O || O.message !== E;
|
|
6924
6931
|
}
|
|
6925
6932
|
if (u && function(O) {
|
|
6926
|
-
if (!
|
|
6933
|
+
if (!F(O)) return !1;
|
|
6927
6934
|
try {
|
|
6928
|
-
if (O === window || p(O) && S(O) ||
|
|
6935
|
+
if (O === window || p(O) && S(O) || W(window) === W(O)) return !0;
|
|
6929
6936
|
} catch {
|
|
6930
6937
|
}
|
|
6931
6938
|
return !1;
|
|
@@ -7067,8 +7074,8 @@ function mg() {
|
|
|
7067
7074
|
} catch {
|
|
7068
7075
|
}
|
|
7069
7076
|
this._cleanupClosedWindows();
|
|
7070
|
-
var V = this.keys,
|
|
7071
|
-
X === -1 ? (V.push(u),
|
|
7077
|
+
var V = this.keys, K = this.values, X = le(V, u);
|
|
7078
|
+
X === -1 ? (V.push(u), K.push(m)) : K[X] = m;
|
|
7072
7079
|
}, a.prototype.get = function(u) {
|
|
7073
7080
|
if (!u) throw new Error("WeakMap expected key");
|
|
7074
7081
|
var m = this.weakmap;
|
|
@@ -7207,7 +7214,7 @@ function mg() {
|
|
|
7207
7214
|
return u = !0, a.apply(this, arguments);
|
|
7208
7215
|
};
|
|
7209
7216
|
};
|
|
7210
|
-
function
|
|
7217
|
+
function Q() {
|
|
7211
7218
|
}
|
|
7212
7219
|
function ve() {
|
|
7213
7220
|
var a = "0123456789abcdef";
|
|
@@ -7224,10 +7231,10 @@ function mg() {
|
|
|
7224
7231
|
v = [];
|
|
7225
7232
|
} else v = {};
|
|
7226
7233
|
return function(O, $) {
|
|
7227
|
-
Array.isArray(O) ? function(V,
|
|
7228
|
-
for (var X = 0; X < V.length; X++)
|
|
7229
|
-
}(O, $) : (O === void 0 ? "undefined" : ce(O)) === "object" && O !== null && function(V,
|
|
7230
|
-
for (var X in V) V.hasOwnProperty(X) &&
|
|
7234
|
+
Array.isArray(O) ? function(V, K) {
|
|
7235
|
+
for (var X = 0; X < V.length; X++) K(V[X], X);
|
|
7236
|
+
}(O, $) : (O === void 0 ? "undefined" : ce(O)) === "object" && O !== null && function(V, K) {
|
|
7237
|
+
for (var X in V) V.hasOwnProperty(X) && K(V[X], X);
|
|
7231
7238
|
}(O, $);
|
|
7232
7239
|
}(a, function(O, $) {
|
|
7233
7240
|
var V = u(O, $);
|
|
@@ -7272,19 +7279,19 @@ function mg() {
|
|
|
7272
7279
|
if (function(X, fe) {
|
|
7273
7280
|
if (!(X instanceof a)) throw new TypeError("Cannot call a class as a function");
|
|
7274
7281
|
}(this), this.resolved = !1, this.rejected = !1, this.errorHandled = !1, this.handlers = [], u) {
|
|
7275
|
-
var v = void 0, O = void 0, $ = !1, V = !1,
|
|
7282
|
+
var v = void 0, O = void 0, $ = !1, V = !1, K = !1;
|
|
7276
7283
|
ge();
|
|
7277
7284
|
try {
|
|
7278
7285
|
u(function(X) {
|
|
7279
|
-
|
|
7286
|
+
K ? m.resolve(X) : ($ = !0, v = X);
|
|
7280
7287
|
}, function(X) {
|
|
7281
|
-
|
|
7288
|
+
K ? m.reject(X) : (V = !0, O = X);
|
|
7282
7289
|
});
|
|
7283
7290
|
} catch (X) {
|
|
7284
7291
|
Ie(), this.reject(X);
|
|
7285
7292
|
return;
|
|
7286
7293
|
}
|
|
7287
|
-
Ie(),
|
|
7294
|
+
Ie(), K = !0, $ ? this.resolve(v) : V && this.reject(O);
|
|
7288
7295
|
}
|
|
7289
7296
|
}
|
|
7290
7297
|
return a.prototype.resolve = function(u) {
|
|
@@ -7322,26 +7329,26 @@ function mg() {
|
|
|
7322
7329
|
me.reject(Me);
|
|
7323
7330
|
});
|
|
7324
7331
|
}, V = 0; V < O.length; V++) {
|
|
7325
|
-
var
|
|
7332
|
+
var K = O[V], X = K.onSuccess, fe = K.onError, ee = K.promise, z = void 0;
|
|
7326
7333
|
if (m) try {
|
|
7327
7334
|
z = X ? X(this.value) : this.value;
|
|
7328
7335
|
} catch (de) {
|
|
7329
|
-
|
|
7336
|
+
ee.reject(de);
|
|
7330
7337
|
continue;
|
|
7331
7338
|
}
|
|
7332
7339
|
else if (v) {
|
|
7333
7340
|
if (!fe) {
|
|
7334
|
-
|
|
7341
|
+
ee.reject(this.error);
|
|
7335
7342
|
continue;
|
|
7336
7343
|
}
|
|
7337
7344
|
try {
|
|
7338
7345
|
z = fe(this.error);
|
|
7339
7346
|
} catch (de) {
|
|
7340
|
-
|
|
7347
|
+
ee.reject(de);
|
|
7341
7348
|
continue;
|
|
7342
7349
|
}
|
|
7343
7350
|
}
|
|
7344
|
-
z instanceof a && (z.resolved || z.rejected) ? (z.resolved ?
|
|
7351
|
+
z instanceof a && (z.resolved || z.rejected) ? (z.resolved ? ee.resolve(z.value) : ee.reject(z.error), z.errorHandled = !0) : Re(z) ? z instanceof a && (z.resolved || z.rejected) ? z.resolved ? ee.resolve(z.value) : ee.reject(z.error) : $(z, ee) : ee.resolve(z);
|
|
7345
7352
|
}
|
|
7346
7353
|
O.length = 0, this.dispatching = !1, Ie();
|
|
7347
7354
|
}
|
|
@@ -7391,24 +7398,24 @@ function mg() {
|
|
|
7391
7398
|
var m = new a(), v = u.length, O = [];
|
|
7392
7399
|
if (!v)
|
|
7393
7400
|
return m.resolve(O), m;
|
|
7394
|
-
for (var $ = function(X, fe,
|
|
7401
|
+
for (var $ = function(X, fe, ee) {
|
|
7395
7402
|
return fe.then(function(z) {
|
|
7396
7403
|
O[X] = z, (v -= 1) == 0 && m.resolve(O);
|
|
7397
7404
|
}, function(z) {
|
|
7398
|
-
|
|
7405
|
+
ee.reject(z);
|
|
7399
7406
|
});
|
|
7400
7407
|
}, V = 0; V < u.length; V++) {
|
|
7401
|
-
var
|
|
7402
|
-
if (
|
|
7403
|
-
if (
|
|
7404
|
-
O[V] =
|
|
7408
|
+
var K = u[V];
|
|
7409
|
+
if (K instanceof a) {
|
|
7410
|
+
if (K.resolved) {
|
|
7411
|
+
O[V] = K.value, v -= 1;
|
|
7405
7412
|
continue;
|
|
7406
7413
|
}
|
|
7407
|
-
} else if (!Re(
|
|
7408
|
-
O[V] =
|
|
7414
|
+
} else if (!Re(K)) {
|
|
7415
|
+
O[V] = K, v -= 1;
|
|
7409
7416
|
continue;
|
|
7410
7417
|
}
|
|
7411
|
-
$(V, a.resolve(
|
|
7418
|
+
$(V, a.resolve(K), m);
|
|
7412
7419
|
}
|
|
7413
7420
|
return v === 0 && m.resolve(O), m;
|
|
7414
7421
|
}, a.hash = function(u) {
|
|
@@ -7538,7 +7545,7 @@ function mg() {
|
|
|
7538
7545
|
(Array.isArray(m) ? m : typeof m == "string" ? [m] : [w.WILDCARD]).map(function(v) {
|
|
7539
7546
|
if (v.indexOf(w.MOCK_PROTOCOL) === 0) {
|
|
7540
7547
|
if (window.location.protocol === w.FILE_PROTOCOL) return w.WILDCARD;
|
|
7541
|
-
if (!
|
|
7548
|
+
if (!F(a)) throw new Error("Attempting to send messsage to mock domain " + v + ", but window is actually cross-domain");
|
|
7542
7549
|
return P(a);
|
|
7543
7550
|
}
|
|
7544
7551
|
return v.indexOf(w.FILE_PROTOCOL) === 0 ? w.WILDCARD : v;
|
|
@@ -7556,25 +7563,25 @@ function mg() {
|
|
|
7556
7563
|
function N(a, u, m) {
|
|
7557
7564
|
return we.try(function() {
|
|
7558
7565
|
var v;
|
|
7559
|
-
if (u = function(V,
|
|
7560
|
-
var X = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, fe = ve(),
|
|
7566
|
+
if (u = function(V, K) {
|
|
7567
|
+
var X = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, fe = ve(), ee = function() {
|
|
7561
7568
|
var de = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window;
|
|
7562
7569
|
return !!h(de);
|
|
7563
7570
|
}() ? w.WINDOW_TYPES.POPUP : function() {
|
|
7564
7571
|
var de = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window;
|
|
7565
7572
|
return !!d(de);
|
|
7566
|
-
}() ? w.WINDOW_TYPES.IFRAME : w.WINDOW_TYPES.FULLPAGE, z =
|
|
7567
|
-
return b({},
|
|
7573
|
+
}() ? w.WINDOW_TYPES.IFRAME : w.WINDOW_TYPES.FULLPAGE, z = W(window);
|
|
7574
|
+
return b({}, K, X, {
|
|
7568
7575
|
sourceDomain: z,
|
|
7569
|
-
id:
|
|
7570
|
-
windowType:
|
|
7576
|
+
id: K.id || fe,
|
|
7577
|
+
windowType: ee
|
|
7571
7578
|
});
|
|
7572
7579
|
}(a, u, {
|
|
7573
|
-
data: function(V,
|
|
7580
|
+
data: function(V, K, X) {
|
|
7574
7581
|
return T({
|
|
7575
7582
|
obj: u.data
|
|
7576
|
-
}, function(fe,
|
|
7577
|
-
return typeof fe == "function" ? y(V,
|
|
7583
|
+
}, function(fe, ee) {
|
|
7584
|
+
return typeof fe == "function" ? y(V, K, fe, ee.toString()) : fe instanceof Error ? (z = fe, {
|
|
7578
7585
|
__type__: w.SERIALIZATION_TYPES.ERROR,
|
|
7579
7586
|
__message__: ie(z),
|
|
7580
7587
|
__code__: z.code
|
|
@@ -7585,14 +7592,14 @@ function mg() {
|
|
|
7585
7592
|
return ze.then(Je, Ye);
|
|
7586
7593
|
}, Pe + ".then")
|
|
7587
7594
|
};
|
|
7588
|
-
}(V,
|
|
7595
|
+
}(V, K, fe, ee.toString()) : we.isPromise(fe) ? function(me, Me, ze, Pe) {
|
|
7589
7596
|
return {
|
|
7590
7597
|
__type__: w.SERIALIZATION_TYPES.ZALGO_PROMISE,
|
|
7591
7598
|
__then__: y(me, Me, function(Je, Ye) {
|
|
7592
7599
|
return ze.then(Je, Ye);
|
|
7593
7600
|
}, Pe + ".then")
|
|
7594
7601
|
};
|
|
7595
|
-
}(V,
|
|
7602
|
+
}(V, K, fe, ee.toString()) : _e(fe) ? (de = fe, {
|
|
7596
7603
|
__type__: w.SERIALIZATION_TYPES.REGEX,
|
|
7597
7604
|
__source__: de.source
|
|
7598
7605
|
}) : void 0;
|
|
@@ -7602,17 +7609,17 @@ function mg() {
|
|
|
7602
7609
|
domain: m
|
|
7603
7610
|
}), a === window && !ne.ALLOW_SAME_ORIGIN) throw new Error("Attemping to send message to self");
|
|
7604
7611
|
if (L(a)) throw new Error("Window is closed");
|
|
7605
|
-
var O = [], $ = function(V,
|
|
7606
|
-
var fe = void 0,
|
|
7612
|
+
var O = [], $ = function(V, K, X) {
|
|
7613
|
+
var fe = void 0, ee = void 0;
|
|
7607
7614
|
try {
|
|
7608
7615
|
if (JSON.stringify({}) !== "{}" && (fe = Object.prototype.toJSON, delete Object.prototype.toJSON), JSON.stringify({}) !== "{}") throw new Error("Can not correctly serialize JSON objects");
|
|
7609
|
-
if (JSON.stringify([]) !== "[]" && (
|
|
7616
|
+
if (JSON.stringify([]) !== "[]" && (ee = Array.prototype.toJSON, delete Array.prototype.toJSON), JSON.stringify([]) !== "[]") throw new Error("Can not correctly serialize JSON objects");
|
|
7610
7617
|
} catch (de) {
|
|
7611
7618
|
throw new Error("Can not repair JSON.stringify: " + de.message);
|
|
7612
7619
|
}
|
|
7613
7620
|
var z = JSON.stringify.call(this, V, null, 2);
|
|
7614
7621
|
try {
|
|
7615
|
-
fe && (Object.prototype.toJSON = fe),
|
|
7622
|
+
fe && (Object.prototype.toJSON = fe), ee && (Array.prototype.toJSON = ee);
|
|
7616
7623
|
} catch (de) {
|
|
7617
7624
|
throw new Error("Can not repair JSON.stringify: " + de.message);
|
|
7618
7625
|
}
|
|
@@ -7624,16 +7631,16 @@ function mg() {
|
|
|
7624
7631
|
return I[V](a, $, m);
|
|
7625
7632
|
}).then(function() {
|
|
7626
7633
|
return O.push(V + ": success"), !0;
|
|
7627
|
-
}, function(
|
|
7628
|
-
return O.push(V + ": " + ie(
|
|
7634
|
+
}, function(K) {
|
|
7635
|
+
return O.push(V + ": " + ie(K) + `
|
|
7629
7636
|
`), !1;
|
|
7630
7637
|
});
|
|
7631
7638
|
}).then(function(V) {
|
|
7632
|
-
var
|
|
7639
|
+
var K = V.some(Boolean), X = u.type + " " + u.name + " " + (K ? "success" : "error") + `:
|
|
7633
7640
|
- ` + O.join(`
|
|
7634
7641
|
- `) + `
|
|
7635
7642
|
`;
|
|
7636
|
-
if (!
|
|
7643
|
+
if (!K) throw new Error(X);
|
|
7637
7644
|
});
|
|
7638
7645
|
});
|
|
7639
7646
|
}
|
|
@@ -7653,13 +7660,13 @@ function mg() {
|
|
|
7653
7660
|
var u = a.name, m = a.win, v = a.domain;
|
|
7654
7661
|
if (m === w.WILDCARD && (m = null), v === w.WILDCARD && (v = null), !u) throw new Error("Name required to get request listener");
|
|
7655
7662
|
var O = H.requestListeners[u];
|
|
7656
|
-
if (O) for (var $ = 0, V = [m, H.WINDOW_WILDCARD],
|
|
7663
|
+
if (O) for (var $ = 0, V = [m, H.WINDOW_WILDCARD], K = V == null ? 0 : V.length; $ < K; $++) {
|
|
7657
7664
|
var X = V[$], fe = X && O.get(X);
|
|
7658
7665
|
if (fe) {
|
|
7659
7666
|
if (v && typeof v == "string") {
|
|
7660
7667
|
if (fe[v]) return fe[v];
|
|
7661
|
-
if (fe[G]) for (var
|
|
7662
|
-
var me = z[
|
|
7668
|
+
if (fe[G]) for (var ee = 0, z = fe[G], de = z == null ? 0 : z.length; ee < de; ee++) {
|
|
7669
|
+
var me = z[ee], Me = me.regex, ze = me.listener;
|
|
7663
7670
|
if (ue(Me, v)) return ze;
|
|
7664
7671
|
}
|
|
7665
7672
|
}
|
|
@@ -7711,14 +7718,14 @@ function mg() {
|
|
|
7711
7718
|
data: $
|
|
7712
7719
|
});
|
|
7713
7720
|
}, function($) {
|
|
7714
|
-
var V = ie($).replace(/^Error: /, ""),
|
|
7721
|
+
var V = ie($).replace(/^Error: /, ""), K = $.code;
|
|
7715
7722
|
return O({
|
|
7716
7723
|
type: w.POST_MESSAGE_TYPE.RESPONSE,
|
|
7717
7724
|
ack: w.POST_MESSAGE_ACK.ERROR,
|
|
7718
7725
|
error: V,
|
|
7719
|
-
code:
|
|
7726
|
+
code: K
|
|
7720
7727
|
});
|
|
7721
|
-
})]).then(
|
|
7728
|
+
})]).then(Q).catch(function($) {
|
|
7722
7729
|
if (v && v.handleError) return v.handleError($);
|
|
7723
7730
|
throw $;
|
|
7724
7731
|
});
|
|
@@ -7767,17 +7774,17 @@ function mg() {
|
|
|
7767
7774
|
v.sourceDomain.indexOf(w.MOCK_PROTOCOL) !== 0 && v.sourceDomain.indexOf(w.FILE_PROTOCOL) !== 0 || (m = v.sourceDomain), H.receivedMessages.indexOf(v.id) === -1 && (H.receivedMessages.push(v.id), (!L(u) || v.fireAndForget) && (v.data && (v.data = function(O, $, V) {
|
|
7768
7775
|
return T({
|
|
7769
7776
|
obj: v.data
|
|
7770
|
-
}, function(
|
|
7771
|
-
if ((
|
|
7772
|
-
var z = new Error(
|
|
7773
|
-
return
|
|
7774
|
-
}(0, 0,
|
|
7777
|
+
}, function(K) {
|
|
7778
|
+
if ((K === void 0 ? "undefined" : $e(K)) === "object" && K !== null) return g(K, w.SERIALIZATION_TYPES.METHOD) ? C(O, $, K) : g(K, w.SERIALIZATION_TYPES.ERROR) ? function(X, fe, ee) {
|
|
7779
|
+
var z = new Error(ee.__message__);
|
|
7780
|
+
return ee.__code__ && (z.code = ee.__code__), z;
|
|
7781
|
+
}(0, 0, K) : g(K, w.SERIALIZATION_TYPES.PROMISE) ? function(X, fe, ee) {
|
|
7775
7782
|
return window.Promise ? new window.Promise(function(z, de) {
|
|
7776
|
-
return C(X, fe,
|
|
7777
|
-
}) : x(X, fe,
|
|
7778
|
-
}(O, $,
|
|
7779
|
-
return new RegExp(
|
|
7780
|
-
}(0, 0,
|
|
7783
|
+
return C(X, fe, ee.__then__)(z, de);
|
|
7784
|
+
}) : x(X, fe, ee);
|
|
7785
|
+
}(O, $, K) : g(K, w.SERIALIZATION_TYPES.ZALGO_PROMISE) ? x(O, $, K) : g(K, w.SERIALIZATION_TYPES.REGEX) ? function(X, fe, ee) {
|
|
7786
|
+
return new RegExp(ee.__source__);
|
|
7787
|
+
}(0, 0, K) : void 0;
|
|
7781
7788
|
}).obj;
|
|
7782
7789
|
}(u, m)), Se[v.type](u, m, v)));
|
|
7783
7790
|
}
|
|
@@ -7816,13 +7823,13 @@ function mg() {
|
|
|
7816
7823
|
v = a.domain || w.WILDCARD;
|
|
7817
7824
|
var V = a.name + "_" + ve();
|
|
7818
7825
|
if (L($)) throw new Error("Target window is closed");
|
|
7819
|
-
var
|
|
7826
|
+
var K = !1, X = H.requestPromises.get($);
|
|
7820
7827
|
X || (X = [], H.requestPromises.set($, X));
|
|
7821
7828
|
var fe = we.try(function() {
|
|
7822
|
-
if (function(
|
|
7829
|
+
if (function(ee, z) {
|
|
7823
7830
|
var de = re(z);
|
|
7824
|
-
if (de) return de ===
|
|
7825
|
-
if (z ===
|
|
7831
|
+
if (de) return de === ee;
|
|
7832
|
+
if (z === ee || function() {
|
|
7826
7833
|
var Pe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window;
|
|
7827
7834
|
try {
|
|
7828
7835
|
if (Pe.top) return Pe.top;
|
|
@@ -7830,15 +7837,15 @@ function mg() {
|
|
|
7830
7837
|
}
|
|
7831
7838
|
if (d(Pe) === Pe) return Pe;
|
|
7832
7839
|
try {
|
|
7833
|
-
if (
|
|
7840
|
+
if (k(window, Pe) && window.top) return window.top;
|
|
7834
7841
|
} catch {
|
|
7835
7842
|
}
|
|
7836
7843
|
try {
|
|
7837
|
-
if (
|
|
7844
|
+
if (k(Pe, window) && window.top) return window.top;
|
|
7838
7845
|
} catch {
|
|
7839
7846
|
}
|
|
7840
7847
|
for (var Je = 0, Ye = function Mt(po) {
|
|
7841
|
-
for (var Wn = [], Fn = 0, vn =
|
|
7848
|
+
for (var Wn = [], Fn = 0, vn = te(po), qt = vn == null ? 0 : vn.length; Fn < qt; Fn++) {
|
|
7842
7849
|
var pt = vn[Fn];
|
|
7843
7850
|
Wn.push(pt);
|
|
7844
7851
|
for (var En = 0, _t = Mt(pt), yn = _t == null ? 0 : _t.length; En < yn; En++) {
|
|
@@ -7856,22 +7863,22 @@ function mg() {
|
|
|
7856
7863
|
if (d($t) === $t) return $t;
|
|
7857
7864
|
}
|
|
7858
7865
|
}(z) === z) return !1;
|
|
7859
|
-
for (var me = 0, Me =
|
|
7866
|
+
for (var me = 0, Me = te(ee), ze = Me == null ? 0 : Me.length; me < ze; me++) if (Me[me] === z) return !0;
|
|
7860
7867
|
return !1;
|
|
7861
|
-
}(window, $)) return function(
|
|
7862
|
-
var z = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 5e3, de = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "Window", me = H.readyPromises.get(
|
|
7863
|
-
return me || (me = new we(), H.readyPromises.set(
|
|
7868
|
+
}(window, $)) return function(ee) {
|
|
7869
|
+
var z = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 5e3, de = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "Window", me = H.readyPromises.get(ee);
|
|
7870
|
+
return me || (me = new we(), H.readyPromises.set(ee, me), z !== -1 && setTimeout(function() {
|
|
7864
7871
|
return me.reject(new Error(de + " did not load after " + z + "ms"));
|
|
7865
7872
|
}, z), me);
|
|
7866
7873
|
}($, a.timeout || ne.CHILD_WINDOW_TIMEOUT);
|
|
7867
7874
|
}).then(function() {
|
|
7868
|
-
var
|
|
7869
|
-
if (_e(v) && !
|
|
7875
|
+
var ee = (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}).origin;
|
|
7876
|
+
if (_e(v) && !ee) return _($);
|
|
7870
7877
|
}).then(function() {
|
|
7871
|
-
var
|
|
7878
|
+
var ee = (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}).origin;
|
|
7872
7879
|
if (_e(v)) {
|
|
7873
|
-
if (!ue(v,
|
|
7874
|
-
v =
|
|
7880
|
+
if (!ue(v, ee)) throw new Error("Remote window domain " + ee + " does not match regex: " + v.toString());
|
|
7881
|
+
v = ee;
|
|
7875
7882
|
}
|
|
7876
7883
|
if (typeof v != "string" && !Array.isArray(v)) throw new TypeError("Expected domain to be a string or array");
|
|
7877
7884
|
var z = v;
|
|
@@ -7884,7 +7891,7 @@ function mg() {
|
|
|
7884
7891
|
window: $,
|
|
7885
7892
|
domain: z,
|
|
7886
7893
|
respond: function(Ye, yt) {
|
|
7887
|
-
Ye || (
|
|
7894
|
+
Ye || (K = !0, X.splice(X.indexOf(fe, 1))), Ye ? me(Ye) : de(yt);
|
|
7888
7895
|
}
|
|
7889
7896
|
}), N($, {
|
|
7890
7897
|
type: w.POST_MESSAGE_TYPE.REQUEST,
|
|
@@ -7895,14 +7902,14 @@ function mg() {
|
|
|
7895
7902
|
}, z).catch(me), a.fireAndForget) return de();
|
|
7896
7903
|
var ze = ne.ACK_TIMEOUT, Pe = a.timeout || ne.RES_TIMEOUT, Je = 100;
|
|
7897
7904
|
setTimeout(function Ye() {
|
|
7898
|
-
if (!
|
|
7905
|
+
if (!K) {
|
|
7899
7906
|
if (L($)) return Me.ack ? me(new Error("Window closed for " + u + " before response")) : me(new Error("Window closed for " + u + " before ack"));
|
|
7900
7907
|
if (ze = Math.max(ze - Je, 0), Pe !== -1 && (Pe = Math.max(Pe - Je, 0)), Me.ack) {
|
|
7901
7908
|
if (Pe === -1) return;
|
|
7902
7909
|
Je = Math.min(Pe, 2e3);
|
|
7903
7910
|
} else {
|
|
7904
|
-
if (ze === 0) return me(new Error("No ack for postMessage " + u + " in " +
|
|
7905
|
-
if (Pe === 0) return me(new Error("No response for postMessage " + u + " in " +
|
|
7911
|
+
if (ze === 0) return me(new Error("No ack for postMessage " + u + " in " + W() + " in " + ne.ACK_TIMEOUT + "ms"));
|
|
7912
|
+
if (Pe === 0) return me(new Error("No response for postMessage " + u + " in " + W() + " in " + (a.timeout || ne.RES_TIMEOUT) + "ms"));
|
|
7906
7913
|
}
|
|
7907
7914
|
setTimeout(Ye, Je);
|
|
7908
7915
|
}
|
|
@@ -7910,8 +7917,8 @@ function mg() {
|
|
|
7910
7917
|
});
|
|
7911
7918
|
});
|
|
7912
7919
|
return fe.catch(function() {
|
|
7913
|
-
(function(
|
|
7914
|
-
H.erroredResponseListeners[
|
|
7920
|
+
(function(ee) {
|
|
7921
|
+
H.erroredResponseListeners[ee] = !0;
|
|
7915
7922
|
})(V), Z(V);
|
|
7916
7923
|
}), X.push(fe), fe;
|
|
7917
7924
|
});
|
|
@@ -7952,7 +7959,7 @@ function mg() {
|
|
|
7952
7959
|
window: m,
|
|
7953
7960
|
domain: v || w.WILDCARD,
|
|
7954
7961
|
name: u
|
|
7955
|
-
}, $ = function X(fe,
|
|
7962
|
+
}, $ = function X(fe, ee) {
|
|
7956
7963
|
var z = fe.name, de = fe.win, me = fe.domain;
|
|
7957
7964
|
if (!z || typeof z != "string") throw new Error("Name required to add request listener");
|
|
7958
7965
|
if (Array.isArray(de)) {
|
|
@@ -7962,7 +7969,7 @@ function mg() {
|
|
|
7962
7969
|
name: z,
|
|
7963
7970
|
domain: me,
|
|
7964
7971
|
win: Ye
|
|
7965
|
-
},
|
|
7972
|
+
}, ee));
|
|
7966
7973
|
}
|
|
7967
7974
|
return {
|
|
7968
7975
|
cancel: function() {
|
|
@@ -7977,7 +7984,7 @@ function mg() {
|
|
|
7977
7984
|
name: z,
|
|
7978
7985
|
win: de,
|
|
7979
7986
|
domain: Wn
|
|
7980
|
-
},
|
|
7987
|
+
}, ee));
|
|
7981
7988
|
}
|
|
7982
7989
|
return {
|
|
7983
7990
|
cancel: function() {
|
|
@@ -7998,8 +8005,8 @@ function mg() {
|
|
|
7998
8005
|
var En = me.toString(), _t = pt[G], yn = void 0;
|
|
7999
8006
|
return _e(me) ? (_t || (_t = [], pt[G] = _t), yn = {
|
|
8000
8007
|
regex: me,
|
|
8001
|
-
listener:
|
|
8002
|
-
}, _t.push(yn)) : pt[En] =
|
|
8008
|
+
listener: ee
|
|
8009
|
+
}, _t.push(yn)) : pt[En] = ee, {
|
|
8003
8010
|
cancel: function() {
|
|
8004
8011
|
pt && (delete pt[En], de && Object.keys(pt).length === 0 && qt.delete(de), yn && _t.splice(_t.indexOf(yn, 1)));
|
|
8005
8012
|
}
|
|
@@ -8015,15 +8022,15 @@ function mg() {
|
|
|
8015
8022
|
return $.cancel(), V.apply(this, arguments);
|
|
8016
8023
|
});
|
|
8017
8024
|
}
|
|
8018
|
-
if (O.window && a.errorOnClose) var
|
|
8019
|
-
var
|
|
8020
|
-
return
|
|
8021
|
-
|
|
8022
|
-
m && (m === void 0 ? "undefined" : ft(m)) === "object" && L(m) && (
|
|
8025
|
+
if (O.window && a.errorOnClose) var K = function(X, fe) {
|
|
8026
|
+
var ee = void 0;
|
|
8027
|
+
return ee = setTimeout(function z() {
|
|
8028
|
+
ee = setTimeout(z, 50), (function() {
|
|
8029
|
+
m && (m === void 0 ? "undefined" : ft(m)) === "object" && L(m) && (K.cancel(), O.handleError(new Error("Post message target window is closed")));
|
|
8023
8030
|
}).call();
|
|
8024
8031
|
}, 50), {
|
|
8025
8032
|
cancel: function() {
|
|
8026
|
-
clearTimeout(
|
|
8033
|
+
clearTimeout(ee);
|
|
8027
8034
|
}
|
|
8028
8035
|
};
|
|
8029
8036
|
}();
|
|
@@ -8039,11 +8046,11 @@ function mg() {
|
|
|
8039
8046
|
function As(a) {
|
|
8040
8047
|
var u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, m = arguments[2];
|
|
8041
8048
|
typeof u == "function" && (m = u, u = {}), u = u || {}, m = m || u.handler;
|
|
8042
|
-
var v = u.errorHandler, O = new we(function(V,
|
|
8049
|
+
var v = u.errorHandler, O = new we(function(V, K) {
|
|
8043
8050
|
(u = u || {}).name = a, u.once = !0, u.handler = function(X) {
|
|
8044
8051
|
if (V(X), m) return m(X);
|
|
8045
8052
|
}, u.errorHandler = function(X) {
|
|
8046
|
-
if (
|
|
8053
|
+
if (K(X), v) return v(X);
|
|
8047
8054
|
};
|
|
8048
8055
|
}), $ = rn(u);
|
|
8049
8056
|
return O.cancel = $.cancel, O;
|
|
@@ -8070,10 +8077,10 @@ function mg() {
|
|
|
8070
8077
|
function fo() {
|
|
8071
8078
|
H.initialized || (u = ot, (a = window).addEventListener ? a.addEventListener("message", u) : a.attachEvent("onmessage", u), function() {
|
|
8072
8079
|
m = function(O) {
|
|
8073
|
-
var $ = O.source, V = O.origin,
|
|
8074
|
-
|
|
8080
|
+
var $ = O.source, V = O.origin, K = H.readyPromises.get($) || new we();
|
|
8081
|
+
K.resolve({
|
|
8075
8082
|
origin: V
|
|
8076
|
-
}), H.readyPromises.set($,
|
|
8083
|
+
}), H.readyPromises.set($, K);
|
|
8077
8084
|
}, H.on(w.POST_MESSAGE_NAMES.HELLO, {
|
|
8078
8085
|
domain: w.WILDCARD
|
|
8079
8086
|
}, function(O) {
|
|
@@ -8084,7 +8091,7 @@ function mg() {
|
|
|
8084
8091
|
});
|
|
8085
8092
|
});
|
|
8086
8093
|
var m, v = re();
|
|
8087
|
-
v && _(v).catch(
|
|
8094
|
+
v && _(v).catch(Q);
|
|
8088
8095
|
}(), f({
|
|
8089
8096
|
on: Hn,
|
|
8090
8097
|
send: lt
|
|
@@ -8130,17 +8137,17 @@ function mg() {
|
|
|
8130
8137
|
});
|
|
8131
8138
|
}($r)), $r.exports;
|
|
8132
8139
|
}
|
|
8133
|
-
var
|
|
8140
|
+
var Ui;
|
|
8134
8141
|
function vg() {
|
|
8135
|
-
return
|
|
8142
|
+
return Ui || (Ui = 1, function(e) {
|
|
8136
8143
|
e.exports = mg(), e.exports.default = e.exports;
|
|
8137
8144
|
}(Io)), Io.exports;
|
|
8138
8145
|
}
|
|
8139
8146
|
var Pn = vg();
|
|
8140
|
-
const
|
|
8141
|
-
|
|
8147
|
+
const va = [], Eg = async (e) => {
|
|
8148
|
+
va.push(e);
|
|
8142
8149
|
}, yg = async (e, t, n) => {
|
|
8143
|
-
const r =
|
|
8150
|
+
const r = va.find((o) => o.name === e);
|
|
8144
8151
|
return r ? Pn.send(r.contentWindow, t, n).then((o) => [null, o.data]).catch((o) => [o, null]) : [{ msg: "microApp not exit" }, null];
|
|
8145
8152
|
}, _g = "mainApp", bg = {}, wg = Ss(_g, bg), Og = {
|
|
8146
8153
|
data: wg,
|
|
@@ -8224,7 +8231,7 @@ const wt = /* @__PURE__ */ new Map(), Qo = () => {
|
|
|
8224
8231
|
}
|
|
8225
8232
|
}), Or.value.appendChild(c);
|
|
8226
8233
|
const [p, d] = await new Promise((P) => {
|
|
8227
|
-
c.onload = (
|
|
8234
|
+
c.onload = (W) => P([null, W]), c.onerror = () => P([new Error(`${o} IFrame load failed`), null]);
|
|
8228
8235
|
});
|
|
8229
8236
|
if (p) {
|
|
8230
8237
|
i.status = nt.error, t.emit(nt.error, i);
|
|
@@ -8255,13 +8262,13 @@ const wt = /* @__PURE__ */ new Map(), Qo = () => {
|
|
|
8255
8262
|
};
|
|
8256
8263
|
export {
|
|
8257
8264
|
Et as bus,
|
|
8258
|
-
|
|
8265
|
+
Qc as createContainer,
|
|
8259
8266
|
Pg as createMainApp,
|
|
8260
8267
|
Mg as createMicroApp,
|
|
8261
8268
|
Lg as pollVariable,
|
|
8262
8269
|
$g as reportRouter,
|
|
8263
8270
|
Ig as syncRouter,
|
|
8264
8271
|
Qo as useIframeManager,
|
|
8265
|
-
|
|
8266
|
-
|
|
8272
|
+
ea as useRouter,
|
|
8273
|
+
ta as useRouterEventListener
|
|
8267
8274
|
};
|