@univerjs/ui-adapter-vue3 0.8.3-nightly.202507010644 → 0.8.3-nightly.202507011607
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/lib/cjs/index.js +5 -5
- package/lib/es/index.js +413 -417
- package/lib/index.js +413 -417
- package/lib/types/plugin.d.ts +2 -1
- package/lib/umd/index.js +7 -7
- package/package.json +3 -4
package/lib/index.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DependentOn as xr, Inject as Bs, Injector as vr, Plugin as yr } from "@univerjs/core";
|
|
2
2
|
import { UniverUIPlugin as wr, ComponentManager as Sr } from "@univerjs/ui";
|
|
3
|
-
import { cloneElement as Tr, createElement as vn, useRef as Cr, useEffect as Er } from "react";
|
|
4
3
|
/**
|
|
5
4
|
* @vue/shared v3.5.17
|
|
6
5
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
@@ -14,21 +13,21 @@ function bs(e) {
|
|
|
14
13
|
return (s) => s in t;
|
|
15
14
|
}
|
|
16
15
|
const V = {}, ot = [], xe = () => {
|
|
17
|
-
},
|
|
16
|
+
}, Tr = () => !1, Ut = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
|
|
18
17
|
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), xs = (e) => e.startsWith("onUpdate:"), te = Object.assign, vs = (e, t) => {
|
|
19
18
|
const s = e.indexOf(t);
|
|
20
19
|
s > -1 && e.splice(s, 1);
|
|
21
|
-
},
|
|
20
|
+
}, Er = Object.prototype.hasOwnProperty, D = (e, t) => Er.call(e, t), A = Array.isArray, lt = (e) => Lt(e) === "[object Map]", Cr = (e) => Lt(e) === "[object Set]", I = (e) => typeof e == "function", J = (e) => typeof e == "string", Qe = (e) => typeof e == "symbol", q = (e) => e !== null && typeof e == "object", yn = (e) => (q(e) || I(e)) && I(e.then) && I(e.catch), Or = Object.prototype.toString, Lt = (e) => Or.call(e), Pr = (e) => Lt(e).slice(8, -1), Ar = (e) => Lt(e) === "[object Object]", ys = (e) => J(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, ft = /* @__PURE__ */ bs(
|
|
22
21
|
// the leading comma is intentional so empty string "" is also included
|
|
23
22
|
",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
|
|
24
|
-
),
|
|
23
|
+
), $t = (e) => {
|
|
25
24
|
const t = /* @__PURE__ */ Object.create(null);
|
|
26
25
|
return (s) => t[s] || (t[s] = e(s));
|
|
27
|
-
},
|
|
28
|
-
(e) => e.replace(
|
|
29
|
-
),
|
|
30
|
-
(e) => e.replace(
|
|
31
|
-
), wn =
|
|
26
|
+
}, Ir = /-(\w)/g, He = $t(
|
|
27
|
+
(e) => e.replace(Ir, (t, s) => s ? s.toUpperCase() : "")
|
|
28
|
+
), Rr = /\B([A-Z])/g, Be = $t(
|
|
29
|
+
(e) => e.replace(Rr, "-$1").toLowerCase()
|
|
30
|
+
), wn = $t((e) => e.charAt(0).toUpperCase() + e.slice(1)), Yt = $t(
|
|
32
31
|
(e) => e ? `on${wn(e)}` : ""
|
|
33
32
|
), Ke = (e, t) => !Object.is(e, t), zt = (e, ...t) => {
|
|
34
33
|
for (let s = 0; s < e.length; s++)
|
|
@@ -40,7 +39,7 @@ const V = {}, ot = [], xe = () => {
|
|
|
40
39
|
writable: n,
|
|
41
40
|
value: s
|
|
42
41
|
});
|
|
43
|
-
},
|
|
42
|
+
}, Mr = (e) => {
|
|
44
43
|
const t = parseFloat(e);
|
|
45
44
|
return isNaN(t) ? e : t;
|
|
46
45
|
};
|
|
@@ -50,7 +49,7 @@ function ws(e) {
|
|
|
50
49
|
if (A(e)) {
|
|
51
50
|
const t = {};
|
|
52
51
|
for (let s = 0; s < e.length; s++) {
|
|
53
|
-
const n = e[s], r = J(n) ?
|
|
52
|
+
const n = e[s], r = J(n) ? jr(n) : ws(n);
|
|
54
53
|
if (r)
|
|
55
54
|
for (const i in r)
|
|
56
55
|
t[i] = r[i];
|
|
@@ -59,12 +58,12 @@ function ws(e) {
|
|
|
59
58
|
} else if (J(e) || q(e))
|
|
60
59
|
return e;
|
|
61
60
|
}
|
|
62
|
-
const
|
|
63
|
-
function
|
|
61
|
+
const Fr = /;(?![^(]*\))/g, Dr = /:([^]+)/, Hr = /\/\*[^]*?\*\//g;
|
|
62
|
+
function jr(e) {
|
|
64
63
|
const t = {};
|
|
65
|
-
return e.replace(
|
|
64
|
+
return e.replace(Hr, "").split(Fr).forEach((s) => {
|
|
66
65
|
if (s) {
|
|
67
|
-
const n = s.split(
|
|
66
|
+
const n = s.split(Dr);
|
|
68
67
|
n.length > 1 && (t[n[0].trim()] = n[1].trim());
|
|
69
68
|
}
|
|
70
69
|
}), t;
|
|
@@ -83,7 +82,7 @@ function Ss(e) {
|
|
|
83
82
|
e[s] && (t += s + " ");
|
|
84
83
|
return t.trim();
|
|
85
84
|
}
|
|
86
|
-
const
|
|
85
|
+
const Nr = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly", Ur = /* @__PURE__ */ bs(Nr);
|
|
87
86
|
function Sn(e) {
|
|
88
87
|
return !!e || e === "";
|
|
89
88
|
}
|
|
@@ -93,7 +92,7 @@ function Sn(e) {
|
|
|
93
92
|
* @license MIT
|
|
94
93
|
**/
|
|
95
94
|
let re;
|
|
96
|
-
class
|
|
95
|
+
class Lr {
|
|
97
96
|
constructor(t = !1) {
|
|
98
97
|
this.detached = t, this._active = !0, this._on = 0, this.effects = [], this.cleanups = [], this._isPaused = !1, this.parent = re, !t && re && (this.index = (re.scopes || (re.scopes = [])).push(
|
|
99
98
|
this
|
|
@@ -172,10 +171,10 @@ class Kr {
|
|
|
172
171
|
}
|
|
173
172
|
}
|
|
174
173
|
}
|
|
175
|
-
function
|
|
174
|
+
function $r() {
|
|
176
175
|
return re;
|
|
177
176
|
}
|
|
178
|
-
let
|
|
177
|
+
let $;
|
|
179
178
|
const Xt = /* @__PURE__ */ new WeakSet();
|
|
180
179
|
class Tn {
|
|
181
180
|
constructor(t) {
|
|
@@ -191,24 +190,24 @@ class Tn {
|
|
|
191
190
|
* @internal
|
|
192
191
|
*/
|
|
193
192
|
notify() {
|
|
194
|
-
this.flags & 2 && !(this.flags & 32) || this.flags & 8 ||
|
|
193
|
+
this.flags & 2 && !(this.flags & 32) || this.flags & 8 || Cn(this);
|
|
195
194
|
}
|
|
196
195
|
run() {
|
|
197
196
|
if (!(this.flags & 1))
|
|
198
197
|
return this.fn();
|
|
199
198
|
this.flags |= 2, Gs(this), On(this);
|
|
200
|
-
const t =
|
|
201
|
-
|
|
199
|
+
const t = $, s = ce;
|
|
200
|
+
$ = this, ce = !0;
|
|
202
201
|
try {
|
|
203
202
|
return this.fn();
|
|
204
203
|
} finally {
|
|
205
|
-
Pn(this),
|
|
204
|
+
Pn(this), $ = t, ce = s, this.flags &= -3;
|
|
206
205
|
}
|
|
207
206
|
}
|
|
208
207
|
stop() {
|
|
209
208
|
if (this.flags & 1) {
|
|
210
209
|
for (let t = this.deps; t; t = t.nextDep)
|
|
211
|
-
|
|
210
|
+
Cs(t);
|
|
212
211
|
this.deps = this.depsTail = void 0, Gs(this), this.onStop && this.onStop(), this.flags &= -2;
|
|
213
212
|
}
|
|
214
213
|
}
|
|
@@ -225,8 +224,8 @@ class Tn {
|
|
|
225
224
|
return os(this);
|
|
226
225
|
}
|
|
227
226
|
}
|
|
228
|
-
let
|
|
229
|
-
function
|
|
227
|
+
let En = 0, ct, ut;
|
|
228
|
+
function Cn(e, t = !1) {
|
|
230
229
|
if (e.flags |= 8, t) {
|
|
231
230
|
e.next = ut, ut = e;
|
|
232
231
|
return;
|
|
@@ -234,10 +233,10 @@ function En(e, t = !1) {
|
|
|
234
233
|
e.next = ct, ct = e;
|
|
235
234
|
}
|
|
236
235
|
function Ts() {
|
|
237
|
-
|
|
236
|
+
En++;
|
|
238
237
|
}
|
|
239
|
-
function
|
|
240
|
-
if (--
|
|
238
|
+
function Es() {
|
|
239
|
+
if (--En > 0)
|
|
241
240
|
return;
|
|
242
241
|
if (ut) {
|
|
243
242
|
let t = ut;
|
|
@@ -270,7 +269,7 @@ function Pn(e) {
|
|
|
270
269
|
let t, s = e.depsTail, n = s;
|
|
271
270
|
for (; n; ) {
|
|
272
271
|
const r = n.prevDep;
|
|
273
|
-
n.version === -1 ? (n === s && (s = r),
|
|
272
|
+
n.version === -1 ? (n === s && (s = r), Cs(n), Vr(n)) : t = n, n.dep.activeLink = n.prevActiveLink, n.prevActiveLink = void 0, n = r;
|
|
274
273
|
}
|
|
275
274
|
e.deps = t, e.depsTail = s;
|
|
276
275
|
}
|
|
@@ -284,8 +283,8 @@ function An(e) {
|
|
|
284
283
|
if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion === gt) || (e.globalVersion = gt, !e.isSSR && e.flags & 128 && (!e.deps && !e._dirty || !os(e))))
|
|
285
284
|
return;
|
|
286
285
|
e.flags |= 2;
|
|
287
|
-
const t = e.dep, s =
|
|
288
|
-
|
|
286
|
+
const t = e.dep, s = $, n = ce;
|
|
287
|
+
$ = e, ce = !0;
|
|
289
288
|
try {
|
|
290
289
|
On(e);
|
|
291
290
|
const r = e.fn(e._value);
|
|
@@ -293,25 +292,25 @@ function An(e) {
|
|
|
293
292
|
} catch (r) {
|
|
294
293
|
throw t.version++, r;
|
|
295
294
|
} finally {
|
|
296
|
-
|
|
295
|
+
$ = s, ce = n, Pn(e), e.flags &= -3;
|
|
297
296
|
}
|
|
298
297
|
}
|
|
299
|
-
function
|
|
298
|
+
function Cs(e, t = !1) {
|
|
300
299
|
const { dep: s, prevSub: n, nextSub: r } = e;
|
|
301
300
|
if (n && (n.nextSub = r, e.prevSub = void 0), r && (r.prevSub = n, e.nextSub = void 0), s.subs === e && (s.subs = n, !n && s.computed)) {
|
|
302
301
|
s.computed.flags &= -5;
|
|
303
302
|
for (let i = s.computed.deps; i; i = i.nextDep)
|
|
304
|
-
|
|
303
|
+
Cs(i, !0);
|
|
305
304
|
}
|
|
306
305
|
!t && !--s.sc && s.map && s.map.delete(s.key);
|
|
307
306
|
}
|
|
308
|
-
function
|
|
307
|
+
function Vr(e) {
|
|
309
308
|
const { prevDep: t, nextDep: s } = e;
|
|
310
309
|
t && (t.nextDep = s, e.prevDep = void 0), s && (s.prevDep = t, e.nextDep = void 0);
|
|
311
310
|
}
|
|
312
311
|
let ce = !0;
|
|
313
312
|
const In = [];
|
|
314
|
-
function
|
|
313
|
+
function Ce() {
|
|
315
314
|
In.push(ce), ce = !1;
|
|
316
315
|
}
|
|
317
316
|
function Oe() {
|
|
@@ -321,17 +320,17 @@ function Oe() {
|
|
|
321
320
|
function Gs(e) {
|
|
322
321
|
const { cleanup: t } = e;
|
|
323
322
|
if (e.cleanup = void 0, t) {
|
|
324
|
-
const s =
|
|
325
|
-
|
|
323
|
+
const s = $;
|
|
324
|
+
$ = void 0;
|
|
326
325
|
try {
|
|
327
326
|
t();
|
|
328
327
|
} finally {
|
|
329
|
-
|
|
328
|
+
$ = s;
|
|
330
329
|
}
|
|
331
330
|
}
|
|
332
331
|
}
|
|
333
332
|
let gt = 0;
|
|
334
|
-
class
|
|
333
|
+
class Kr {
|
|
335
334
|
constructor(t, s) {
|
|
336
335
|
this.sub = t, this.dep = s, this.version = s.version, this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0;
|
|
337
336
|
}
|
|
@@ -342,14 +341,14 @@ class Rn {
|
|
|
342
341
|
this.computed = t, this.version = 0, this.activeLink = void 0, this.subs = void 0, this.map = void 0, this.key = void 0, this.sc = 0, this.__v_skip = !0;
|
|
343
342
|
}
|
|
344
343
|
track(t) {
|
|
345
|
-
if (
|
|
344
|
+
if (!$ || !ce || $ === this.computed)
|
|
346
345
|
return;
|
|
347
346
|
let s = this.activeLink;
|
|
348
|
-
if (s === void 0 || s.sub !==
|
|
349
|
-
s = this.activeLink = new
|
|
347
|
+
if (s === void 0 || s.sub !== $)
|
|
348
|
+
s = this.activeLink = new Kr($, this), $.deps ? (s.prevDep = $.depsTail, $.depsTail.nextDep = s, $.depsTail = s) : $.deps = $.depsTail = s, Mn(s);
|
|
350
349
|
else if (s.version === -1 && (s.version = this.version, s.nextDep)) {
|
|
351
350
|
const n = s.nextDep;
|
|
352
|
-
n.prevDep = s.prevDep, s.prevDep && (s.prevDep.nextDep = n), s.prevDep =
|
|
351
|
+
n.prevDep = s.prevDep, s.prevDep && (s.prevDep.nextDep = n), s.prevDep = $.depsTail, s.nextDep = void 0, $.depsTail.nextDep = s, $.depsTail = s, $.deps === s && ($.deps = n);
|
|
353
352
|
}
|
|
354
353
|
return s;
|
|
355
354
|
}
|
|
@@ -362,7 +361,7 @@ class Rn {
|
|
|
362
361
|
for (let s = this.subs; s; s = s.prevSub)
|
|
363
362
|
s.sub.notify() && s.sub.dep.notify();
|
|
364
363
|
} finally {
|
|
365
|
-
|
|
364
|
+
Es();
|
|
366
365
|
}
|
|
367
366
|
}
|
|
368
367
|
}
|
|
@@ -386,14 +385,14 @@ const ls = /* @__PURE__ */ new WeakMap(), We = Symbol(
|
|
|
386
385
|
""
|
|
387
386
|
);
|
|
388
387
|
function z(e, t, s) {
|
|
389
|
-
if (ce &&
|
|
388
|
+
if (ce && $) {
|
|
390
389
|
let n = ls.get(e);
|
|
391
390
|
n || ls.set(e, n = /* @__PURE__ */ new Map());
|
|
392
391
|
let r = n.get(s);
|
|
393
392
|
r || (n.set(s, r = new Rn()), r.map = n, r.key = s), r.track();
|
|
394
393
|
}
|
|
395
394
|
}
|
|
396
|
-
function
|
|
395
|
+
function Ee(e, t, s, n, r, i) {
|
|
397
396
|
const o = ls.get(e);
|
|
398
397
|
if (!o) {
|
|
399
398
|
gt++;
|
|
@@ -424,7 +423,7 @@ function Ce(e, t, s, n, r, i) {
|
|
|
424
423
|
break;
|
|
425
424
|
}
|
|
426
425
|
}
|
|
427
|
-
|
|
426
|
+
Es();
|
|
428
427
|
}
|
|
429
428
|
function qe(e) {
|
|
430
429
|
const t = j(e);
|
|
@@ -433,7 +432,7 @@ function qe(e) {
|
|
|
433
432
|
function Os(e) {
|
|
434
433
|
return z(e = j(e), "iterate", _t), e;
|
|
435
434
|
}
|
|
436
|
-
const
|
|
435
|
+
const Wr = {
|
|
437
436
|
__proto__: null,
|
|
438
437
|
[Symbol.iterator]() {
|
|
439
438
|
return Zt(this, Symbol.iterator, le);
|
|
@@ -529,10 +528,10 @@ function Zt(e, t, s) {
|
|
|
529
528
|
return i.value && (i.value = s(i.value)), i;
|
|
530
529
|
}), r;
|
|
531
530
|
}
|
|
532
|
-
const
|
|
531
|
+
const Br = Array.prototype;
|
|
533
532
|
function we(e, t, s, n, r, i) {
|
|
534
533
|
const o = Os(e), f = o !== e && !ve(e), u = o[t];
|
|
535
|
-
if (u !==
|
|
534
|
+
if (u !== Br[t]) {
|
|
536
535
|
const p = u.apply(e, i);
|
|
537
536
|
return f ? le(p) : p;
|
|
538
537
|
}
|
|
@@ -561,14 +560,14 @@ function Qt(e, t, s) {
|
|
|
561
560
|
return (r === -1 || r === !1) && Rs(s[0]) ? (s[0] = j(s[0]), n[t](...s)) : r;
|
|
562
561
|
}
|
|
563
562
|
function nt(e, t, s = []) {
|
|
564
|
-
|
|
563
|
+
Ce(), Ts();
|
|
565
564
|
const n = j(e)[t].apply(e, s);
|
|
566
|
-
return
|
|
565
|
+
return Es(), Oe(), n;
|
|
567
566
|
}
|
|
568
|
-
const
|
|
567
|
+
const qr = /* @__PURE__ */ bs("__proto__,__v_isRef,__isVue"), Fn = new Set(
|
|
569
568
|
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(Qe)
|
|
570
569
|
);
|
|
571
|
-
function
|
|
570
|
+
function Gr(e) {
|
|
572
571
|
Qe(e) || (e = String(e));
|
|
573
572
|
const t = j(this);
|
|
574
573
|
return z(t, "has", e), t.hasOwnProperty(e);
|
|
@@ -587,16 +586,16 @@ class Dn {
|
|
|
587
586
|
if (s === "__v_isShallow")
|
|
588
587
|
return i;
|
|
589
588
|
if (s === "__v_raw")
|
|
590
|
-
return n === (r ? i ?
|
|
589
|
+
return n === (r ? i ? si : Un : i ? Nn : jn).get(t) || // receiver is not the reactive proxy, but has the same prototype
|
|
591
590
|
// this means the receiver is a user proxy of the reactive proxy
|
|
592
591
|
Object.getPrototypeOf(t) === Object.getPrototypeOf(n) ? t : void 0;
|
|
593
592
|
const o = A(t);
|
|
594
593
|
if (!r) {
|
|
595
594
|
let u;
|
|
596
|
-
if (o && (u =
|
|
595
|
+
if (o && (u = Wr[s]))
|
|
597
596
|
return u;
|
|
598
597
|
if (s === "hasOwnProperty")
|
|
599
|
-
return
|
|
598
|
+
return Gr;
|
|
600
599
|
}
|
|
601
600
|
const f = Reflect.get(
|
|
602
601
|
t,
|
|
@@ -606,7 +605,7 @@ class Dn {
|
|
|
606
605
|
// its class methods
|
|
607
606
|
ee(t) ? t : n
|
|
608
607
|
);
|
|
609
|
-
return (Qe(s) ? Fn.has(s) :
|
|
608
|
+
return (Qe(s) ? Fn.has(s) : qr(s)) || (r || z(t, "get", s), i) ? f : ee(f) ? o && ys(s) ? f : f.value : q(f) ? r ? Ln(f) : As(f) : f;
|
|
610
609
|
}
|
|
611
610
|
}
|
|
612
611
|
class Hn extends Dn {
|
|
@@ -626,13 +625,13 @@ class Hn extends Dn {
|
|
|
626
625
|
n,
|
|
627
626
|
ee(t) ? t : r
|
|
628
627
|
);
|
|
629
|
-
return t === j(r) && (o ? Ke(n, i) &&
|
|
628
|
+
return t === j(r) && (o ? Ke(n, i) && Ee(t, "set", s, n) : Ee(t, "add", s, n)), f;
|
|
630
629
|
}
|
|
631
630
|
deleteProperty(t, s) {
|
|
632
631
|
const n = D(t, s);
|
|
633
632
|
t[s];
|
|
634
633
|
const r = Reflect.deleteProperty(t, s);
|
|
635
|
-
return r && n &&
|
|
634
|
+
return r && n && Ee(t, "delete", s, void 0), r;
|
|
636
635
|
}
|
|
637
636
|
has(t, s) {
|
|
638
637
|
const n = Reflect.has(t, s);
|
|
@@ -646,7 +645,7 @@ class Hn extends Dn {
|
|
|
646
645
|
), Reflect.ownKeys(t);
|
|
647
646
|
}
|
|
648
647
|
}
|
|
649
|
-
class
|
|
648
|
+
class Jr extends Dn {
|
|
650
649
|
constructor(t = !1) {
|
|
651
650
|
super(!0, t);
|
|
652
651
|
}
|
|
@@ -657,9 +656,9 @@ class Xr extends Dn {
|
|
|
657
656
|
return !0;
|
|
658
657
|
}
|
|
659
658
|
}
|
|
660
|
-
const
|
|
661
|
-
const cs = (e) => e,
|
|
662
|
-
function
|
|
659
|
+
const Yr = /* @__PURE__ */ new Hn(), zr = /* @__PURE__ */ new Jr(), Xr = /* @__PURE__ */ new Hn(!0);
|
|
660
|
+
const cs = (e) => e, Ct = (e) => Reflect.getPrototypeOf(e);
|
|
661
|
+
function Zr(e, t, s) {
|
|
663
662
|
return function(...n) {
|
|
664
663
|
const r = this.__v_raw, i = j(r), o = lt(i), f = e === "entries" || e === Symbol.iterator && o, u = e === "keys" && o, h = r[e](...n), a = s ? cs : t ? us : le;
|
|
665
664
|
return !t && z(
|
|
@@ -687,12 +686,12 @@ function Ot(e) {
|
|
|
687
686
|
return e === "delete" ? !1 : e === "clear" ? void 0 : this;
|
|
688
687
|
};
|
|
689
688
|
}
|
|
690
|
-
function
|
|
689
|
+
function Qr(e, t) {
|
|
691
690
|
const s = {
|
|
692
691
|
get(r) {
|
|
693
692
|
const i = this.__v_raw, o = j(i), f = j(r);
|
|
694
693
|
e || (Ke(r, f) && z(o, "get", r), z(o, "get", f));
|
|
695
|
-
const { has: u } =
|
|
694
|
+
const { has: u } = Ct(o), h = t ? cs : e ? us : le;
|
|
696
695
|
if (u.call(o, r))
|
|
697
696
|
return h(i.get(r));
|
|
698
697
|
if (u.call(o, f))
|
|
@@ -723,26 +722,26 @@ function ti(e, t) {
|
|
|
723
722
|
add(r) {
|
|
724
723
|
!t && !ve(r) && !ze(r) && (r = j(r));
|
|
725
724
|
const i = j(this);
|
|
726
|
-
return
|
|
725
|
+
return Ct(i).has.call(i, r) || (i.add(r), Ee(i, "add", r, r)), this;
|
|
727
726
|
},
|
|
728
727
|
set(r, i) {
|
|
729
728
|
!t && !ve(i) && !ze(i) && (i = j(i));
|
|
730
|
-
const o = j(this), { has: f, get: u } =
|
|
729
|
+
const o = j(this), { has: f, get: u } = Ct(o);
|
|
731
730
|
let h = f.call(o, r);
|
|
732
731
|
h || (r = j(r), h = f.call(o, r));
|
|
733
732
|
const a = u.call(o, r);
|
|
734
|
-
return o.set(r, i), h ? Ke(i, a) &&
|
|
733
|
+
return o.set(r, i), h ? Ke(i, a) && Ee(o, "set", r, i) : Ee(o, "add", r, i), this;
|
|
735
734
|
},
|
|
736
735
|
delete(r) {
|
|
737
|
-
const i = j(this), { has: o, get: f } =
|
|
736
|
+
const i = j(this), { has: o, get: f } = Ct(i);
|
|
738
737
|
let u = o.call(i, r);
|
|
739
738
|
u || (r = j(r), u = o.call(i, r)), f && f.call(i, r);
|
|
740
739
|
const h = i.delete(r);
|
|
741
|
-
return u &&
|
|
740
|
+
return u && Ee(i, "delete", r, void 0), h;
|
|
742
741
|
},
|
|
743
742
|
clear() {
|
|
744
743
|
const r = j(this), i = r.size !== 0, o = r.clear();
|
|
745
|
-
return i &&
|
|
744
|
+
return i && Ee(
|
|
746
745
|
r,
|
|
747
746
|
"clear",
|
|
748
747
|
void 0,
|
|
@@ -756,26 +755,26 @@ function ti(e, t) {
|
|
|
756
755
|
"entries",
|
|
757
756
|
Symbol.iterator
|
|
758
757
|
].forEach((r) => {
|
|
759
|
-
s[r] =
|
|
758
|
+
s[r] = Zr(r, e, t);
|
|
760
759
|
}), s;
|
|
761
760
|
}
|
|
762
761
|
function Ps(e, t) {
|
|
763
|
-
const s =
|
|
762
|
+
const s = Qr(e, t);
|
|
764
763
|
return (n, r, i) => r === "__v_isReactive" ? !e : r === "__v_isReadonly" ? e : r === "__v_raw" ? n : Reflect.get(
|
|
765
764
|
D(s, r) && r in n ? s : n,
|
|
766
765
|
r,
|
|
767
766
|
i
|
|
768
767
|
);
|
|
769
768
|
}
|
|
770
|
-
const
|
|
769
|
+
const kr = {
|
|
771
770
|
get: /* @__PURE__ */ Ps(!1, !1)
|
|
772
|
-
},
|
|
771
|
+
}, ei = {
|
|
773
772
|
get: /* @__PURE__ */ Ps(!1, !0)
|
|
774
|
-
},
|
|
773
|
+
}, ti = {
|
|
775
774
|
get: /* @__PURE__ */ Ps(!0, !1)
|
|
776
775
|
};
|
|
777
|
-
const jn = /* @__PURE__ */ new WeakMap(), Nn = /* @__PURE__ */ new WeakMap(),
|
|
778
|
-
function
|
|
776
|
+
const jn = /* @__PURE__ */ new WeakMap(), Nn = /* @__PURE__ */ new WeakMap(), Un = /* @__PURE__ */ new WeakMap(), si = /* @__PURE__ */ new WeakMap();
|
|
777
|
+
function ni(e) {
|
|
779
778
|
switch (e) {
|
|
780
779
|
case "Object":
|
|
781
780
|
case "Array":
|
|
@@ -789,40 +788,40 @@ function oi(e) {
|
|
|
789
788
|
return 0;
|
|
790
789
|
}
|
|
791
790
|
}
|
|
792
|
-
function
|
|
793
|
-
return e.__v_skip || !Object.isExtensible(e) ? 0 :
|
|
791
|
+
function ri(e) {
|
|
792
|
+
return e.__v_skip || !Object.isExtensible(e) ? 0 : ni(Pr(e));
|
|
794
793
|
}
|
|
795
794
|
function As(e) {
|
|
796
795
|
return ze(e) ? e : Is(
|
|
797
796
|
e,
|
|
798
797
|
!1,
|
|
799
|
-
|
|
800
|
-
|
|
798
|
+
Yr,
|
|
799
|
+
kr,
|
|
801
800
|
jn
|
|
802
801
|
);
|
|
803
802
|
}
|
|
804
|
-
function
|
|
803
|
+
function ii(e) {
|
|
805
804
|
return Is(
|
|
806
805
|
e,
|
|
807
806
|
!1,
|
|
808
|
-
|
|
809
|
-
|
|
807
|
+
Xr,
|
|
808
|
+
ei,
|
|
810
809
|
Nn
|
|
811
810
|
);
|
|
812
811
|
}
|
|
813
|
-
function
|
|
812
|
+
function Ln(e) {
|
|
814
813
|
return Is(
|
|
815
814
|
e,
|
|
816
815
|
!0,
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
816
|
+
zr,
|
|
817
|
+
ti,
|
|
818
|
+
Un
|
|
820
819
|
);
|
|
821
820
|
}
|
|
822
821
|
function Is(e, t, s, n, r) {
|
|
823
822
|
if (!q(e) || e.__v_raw && !(t && e.__v_isReactive))
|
|
824
823
|
return e;
|
|
825
|
-
const i =
|
|
824
|
+
const i = ri(e);
|
|
826
825
|
if (i === 0)
|
|
827
826
|
return e;
|
|
828
827
|
const o = r.get(e);
|
|
@@ -850,27 +849,27 @@ function j(e) {
|
|
|
850
849
|
const t = e && e.__v_raw;
|
|
851
850
|
return t ? j(t) : e;
|
|
852
851
|
}
|
|
853
|
-
function
|
|
852
|
+
function oi(e) {
|
|
854
853
|
return !D(e, "__v_skip") && Object.isExtensible(e) && is(e, "__v_skip", !0), e;
|
|
855
854
|
}
|
|
856
|
-
const le = (e) => q(e) ? As(e) : e, us = (e) => q(e) ?
|
|
855
|
+
const le = (e) => q(e) ? As(e) : e, us = (e) => q(e) ? Ln(e) : e;
|
|
857
856
|
function ee(e) {
|
|
858
857
|
return e ? e.__v_isRef === !0 : !1;
|
|
859
858
|
}
|
|
860
|
-
function
|
|
859
|
+
function li(e) {
|
|
861
860
|
return ee(e) ? e.value : e;
|
|
862
861
|
}
|
|
863
|
-
const
|
|
864
|
-
get: (e, t, s) => t === "__v_raw" ? e :
|
|
862
|
+
const fi = {
|
|
863
|
+
get: (e, t, s) => t === "__v_raw" ? e : li(Reflect.get(e, t, s)),
|
|
865
864
|
set: (e, t, s, n) => {
|
|
866
865
|
const r = e[t];
|
|
867
866
|
return ee(r) && !ee(s) ? (r.value = s, !0) : Reflect.set(e, t, s, n);
|
|
868
867
|
}
|
|
869
868
|
};
|
|
870
|
-
function
|
|
871
|
-
return at(e) ? e : new Proxy(e,
|
|
869
|
+
function $n(e) {
|
|
870
|
+
return at(e) ? e : new Proxy(e, fi);
|
|
872
871
|
}
|
|
873
|
-
class
|
|
872
|
+
class ci {
|
|
874
873
|
constructor(t, s, n) {
|
|
875
874
|
this.fn = t, this.setter = s, this._value = void 0, this.dep = new Rn(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion = gt - 1, this.next = void 0, this.effect = this, this.__v_isReadonly = !s, this.isSSR = n;
|
|
876
875
|
}
|
|
@@ -879,8 +878,8 @@ class di {
|
|
|
879
878
|
*/
|
|
880
879
|
notify() {
|
|
881
880
|
if (this.flags |= 16, !(this.flags & 8) && // avoid infinite self recursion
|
|
882
|
-
|
|
883
|
-
return
|
|
881
|
+
$ !== this)
|
|
882
|
+
return Cn(this, !0), !0;
|
|
884
883
|
}
|
|
885
884
|
get value() {
|
|
886
885
|
const t = this.dep.track();
|
|
@@ -890,19 +889,19 @@ class di {
|
|
|
890
889
|
this.setter && this.setter(t);
|
|
891
890
|
}
|
|
892
891
|
}
|
|
893
|
-
function
|
|
892
|
+
function ui(e, t, s = !1) {
|
|
894
893
|
let n, r;
|
|
895
|
-
return I(e) ? n = e : (n = e.get, r = e.set), new
|
|
894
|
+
return I(e) ? n = e : (n = e.get, r = e.set), new ci(n, r, s);
|
|
896
895
|
}
|
|
897
896
|
const Pt = {}, Mt = /* @__PURE__ */ new WeakMap();
|
|
898
897
|
let Ve;
|
|
899
|
-
function
|
|
898
|
+
function ai(e, t = !1, s = Ve) {
|
|
900
899
|
if (s) {
|
|
901
900
|
let n = Mt.get(s);
|
|
902
901
|
n || Mt.set(s, n = []), n.push(e);
|
|
903
902
|
}
|
|
904
903
|
}
|
|
905
|
-
function
|
|
904
|
+
function di(e, t, s = V) {
|
|
906
905
|
const { immediate: n, deep: r, once: i, scheduler: o, augmentJob: f, call: u } = s, h = (O) => r ? O : ve(O) || r === !1 || r === 0 ? Fe(O, 1) : Fe(O);
|
|
907
906
|
let a, p, S, T, F = !1, M = !1;
|
|
908
907
|
if (ee(e) ? (p = () => e.value, F = ve(e)) : at(e) ? (p = () => h(e), F = !0) : A(e) ? (M = !0, F = e.some((O) => at(O) || ve(O)), p = () => e.map((O) => {
|
|
@@ -914,7 +913,7 @@ function gi(e, t, s = V) {
|
|
|
914
913
|
return u ? u(O, 2) : O();
|
|
915
914
|
})) : I(e) ? t ? p = u ? () => u(e, 2) : e : p = () => {
|
|
916
915
|
if (S) {
|
|
917
|
-
|
|
916
|
+
Ce();
|
|
918
917
|
try {
|
|
919
918
|
S();
|
|
920
919
|
} finally {
|
|
@@ -932,7 +931,7 @@ function gi(e, t, s = V) {
|
|
|
932
931
|
const O = p, G = r === !0 ? 1 / 0 : r;
|
|
933
932
|
p = () => Fe(O(), G);
|
|
934
933
|
}
|
|
935
|
-
const Y =
|
|
934
|
+
const Y = $r(), N = () => {
|
|
936
935
|
a.stop(), Y && Y.active && vs(Y.effects, a);
|
|
937
936
|
};
|
|
938
937
|
if (i && t) {
|
|
@@ -968,7 +967,7 @@ function gi(e, t, s = V) {
|
|
|
968
967
|
} else
|
|
969
968
|
a.run();
|
|
970
969
|
};
|
|
971
|
-
return f && f(B), a = new Tn(p), a.scheduler = o ? () => o(B, !1) : B, T = (O) =>
|
|
970
|
+
return f && f(B), a = new Tn(p), a.scheduler = o ? () => o(B, !1) : B, T = (O) => ai(O, !1, a), S = a.onStop = () => {
|
|
972
971
|
const O = Mt.get(a);
|
|
973
972
|
if (O) {
|
|
974
973
|
if (u)
|
|
@@ -987,11 +986,11 @@ function Fe(e, t = 1 / 0, s) {
|
|
|
987
986
|
else if (A(e))
|
|
988
987
|
for (let n = 0; n < e.length; n++)
|
|
989
988
|
Fe(e[n], t, s);
|
|
990
|
-
else if (
|
|
989
|
+
else if (Cr(e) || lt(e))
|
|
991
990
|
e.forEach((n) => {
|
|
992
991
|
Fe(n, t, s);
|
|
993
992
|
});
|
|
994
|
-
else if (
|
|
993
|
+
else if (Ar(e)) {
|
|
995
994
|
for (const n in e)
|
|
996
995
|
Fe(e[n], t, s);
|
|
997
996
|
for (const n of Object.getOwnPropertySymbols(e))
|
|
@@ -1040,7 +1039,7 @@ function Kt(e, t, s, n = !0) {
|
|
|
1040
1039
|
f = f.parent;
|
|
1041
1040
|
}
|
|
1042
1041
|
if (i) {
|
|
1043
|
-
|
|
1042
|
+
Ce(), xt(i, null, 10, [
|
|
1044
1043
|
e,
|
|
1045
1044
|
u,
|
|
1046
1045
|
h
|
|
@@ -1048,9 +1047,9 @@ function Kt(e, t, s, n = !0) {
|
|
|
1048
1047
|
return;
|
|
1049
1048
|
}
|
|
1050
1049
|
}
|
|
1051
|
-
|
|
1050
|
+
hi(e, s, r, n, o);
|
|
1052
1051
|
}
|
|
1053
|
-
function
|
|
1052
|
+
function hi(e, t, s, n = !0, r = !1) {
|
|
1054
1053
|
if (r)
|
|
1055
1054
|
throw e;
|
|
1056
1055
|
console.error(e);
|
|
@@ -1061,11 +1060,11 @@ const Je = [];
|
|
|
1061
1060
|
let Re = null, Ge = 0;
|
|
1062
1061
|
const Vn = /* @__PURE__ */ Promise.resolve();
|
|
1063
1062
|
let Ft = null;
|
|
1064
|
-
function
|
|
1063
|
+
function pi(e) {
|
|
1065
1064
|
const t = Ft || Vn;
|
|
1066
1065
|
return e ? t.then(this ? e.bind(this) : e) : t;
|
|
1067
1066
|
}
|
|
1068
|
-
function
|
|
1067
|
+
function gi(e) {
|
|
1069
1068
|
let t = _e + 1, s = Q.length;
|
|
1070
1069
|
for (; t < s; ) {
|
|
1071
1070
|
const n = t + s >>> 1, r = Q[n], i = mt(r);
|
|
@@ -1077,13 +1076,13 @@ function Ms(e) {
|
|
|
1077
1076
|
if (!(e.flags & 1)) {
|
|
1078
1077
|
const t = mt(e), s = Q[Q.length - 1];
|
|
1079
1078
|
!s || // fast path when the job id is larger than the tail
|
|
1080
|
-
!(e.flags & 2) && t >= mt(s) ? Q.push(e) : Q.splice(
|
|
1079
|
+
!(e.flags & 2) && t >= mt(s) ? Q.push(e) : Q.splice(gi(t), 0, e), e.flags |= 1, Kn();
|
|
1081
1080
|
}
|
|
1082
1081
|
}
|
|
1083
1082
|
function Kn() {
|
|
1084
1083
|
Ft || (Ft = Vn.then(Bn));
|
|
1085
1084
|
}
|
|
1086
|
-
function
|
|
1085
|
+
function _i(e) {
|
|
1087
1086
|
A(e) ? Je.push(...e) : Re && e.id === -1 ? Re.splice(Ge + 1, 0, e) : e.flags & 1 || (Je.push(e), e.flags |= 1), Kn();
|
|
1088
1087
|
}
|
|
1089
1088
|
function Ys(e, t, s = _e + 1) {
|
|
@@ -1136,7 +1135,7 @@ function Dt(e) {
|
|
|
1136
1135
|
const t = be;
|
|
1137
1136
|
return be = e, qn = e && e.type.__scopeId || null, t;
|
|
1138
1137
|
}
|
|
1139
|
-
function
|
|
1138
|
+
function mi(e, t = be, s) {
|
|
1140
1139
|
if (!t || e._n)
|
|
1141
1140
|
return e;
|
|
1142
1141
|
const n = (...r) => {
|
|
@@ -1152,13 +1151,13 @@ function vi(e, t = be, s) {
|
|
|
1152
1151
|
};
|
|
1153
1152
|
return n._n = !0, n._c = !0, n._d = !0, n;
|
|
1154
1153
|
}
|
|
1155
|
-
function
|
|
1154
|
+
function Le(e, t, s, n) {
|
|
1156
1155
|
const r = e.dirs, i = t && t.dirs;
|
|
1157
1156
|
for (let o = 0; o < r.length; o++) {
|
|
1158
1157
|
const f = r[o];
|
|
1159
1158
|
i && (f.oldValue = i[o].value);
|
|
1160
1159
|
let u = f.dir[n];
|
|
1161
|
-
u && (
|
|
1160
|
+
u && (Ce(), ye(u, s, 8, [
|
|
1162
1161
|
e.el,
|
|
1163
1162
|
f,
|
|
1164
1163
|
e,
|
|
@@ -1166,7 +1165,7 @@ function $e(e, t, s, n) {
|
|
|
1166
1165
|
]), Oe());
|
|
1167
1166
|
}
|
|
1168
1167
|
}
|
|
1169
|
-
const
|
|
1168
|
+
const bi = Symbol("_vte"), xi = (e) => e.__isTeleport;
|
|
1170
1169
|
function Fs(e, t) {
|
|
1171
1170
|
e.shapeFlag & 6 && e.component ? (e.transition = t, Fs(e.component.subTree, t)) : e.shapeFlag & 128 ? (e.ssContent.transition = t.clone(e.ssContent), e.ssFallback.transition = t.clone(e.ssFallback)) : e.transition = t;
|
|
1172
1171
|
}
|
|
@@ -1190,7 +1189,7 @@ function dt(e, t, s, n, r = !1) {
|
|
|
1190
1189
|
n.shapeFlag & 512 && n.type.__asyncResolved && n.component.subTree.component && dt(e, t, s, n.component.subTree);
|
|
1191
1190
|
return;
|
|
1192
1191
|
}
|
|
1193
|
-
const i = n.shapeFlag & 4 ?
|
|
1192
|
+
const i = n.shapeFlag & 4 ? Us(n.component) : n.el, o = r ? null : i, { i: f, r: u } = e, h = t && t.r, a = f.refs === V ? f.refs = {} : f.refs, p = f.setupState, S = j(p), T = p === V ? () => !1 : (F) => D(S, F);
|
|
1194
1193
|
if (h != null && h !== u && (J(h) ? (a[h] = null, T(h) && (p[h] = null)) : ee(h) && (h.value = null)), I(u))
|
|
1195
1194
|
xt(u, f, 12, [o, a]);
|
|
1196
1195
|
else {
|
|
@@ -1209,10 +1208,10 @@ function dt(e, t, s, n, r = !1) {
|
|
|
1209
1208
|
Vt().requestIdleCallback;
|
|
1210
1209
|
Vt().cancelIdleCallback;
|
|
1211
1210
|
const ht = (e) => !!e.type.__asyncLoader, Jn = (e) => e.type.__isKeepAlive;
|
|
1212
|
-
function
|
|
1211
|
+
function vi(e, t) {
|
|
1213
1212
|
Yn(e, "a", t);
|
|
1214
1213
|
}
|
|
1215
|
-
function
|
|
1214
|
+
function yi(e, t) {
|
|
1216
1215
|
Yn(e, "da", t);
|
|
1217
1216
|
}
|
|
1218
1217
|
function Yn(e, t, s = k) {
|
|
@@ -1228,10 +1227,10 @@ function Yn(e, t, s = k) {
|
|
|
1228
1227
|
if (Wt(t, n, s), s) {
|
|
1229
1228
|
let r = s.parent;
|
|
1230
1229
|
for (; r && r.parent; )
|
|
1231
|
-
Jn(r.parent.vnode) &&
|
|
1230
|
+
Jn(r.parent.vnode) && wi(n, t, s, r), r = r.parent;
|
|
1232
1231
|
}
|
|
1233
1232
|
}
|
|
1234
|
-
function
|
|
1233
|
+
function wi(e, t, s, n) {
|
|
1235
1234
|
const r = Wt(
|
|
1236
1235
|
t,
|
|
1237
1236
|
e,
|
|
@@ -1246,7 +1245,7 @@ function Ci(e, t, s, n) {
|
|
|
1246
1245
|
function Wt(e, t, s = k, n = !1) {
|
|
1247
1246
|
if (s) {
|
|
1248
1247
|
const r = s[e] || (s[e] = []), i = t.__weh || (t.__weh = (...o) => {
|
|
1249
|
-
|
|
1248
|
+
Ce();
|
|
1250
1249
|
const f = vt(s), u = ye(t, s, e, o);
|
|
1251
1250
|
return f(), Oe(), u;
|
|
1252
1251
|
});
|
|
@@ -1255,17 +1254,17 @@ function Wt(e, t, s = k, n = !1) {
|
|
|
1255
1254
|
}
|
|
1256
1255
|
const Pe = (e) => (t, s = k) => {
|
|
1257
1256
|
(!bt || e === "sp") && Wt(e, (...n) => t(...n), s);
|
|
1258
|
-
},
|
|
1257
|
+
}, Si = Pe("bm"), Ti = Pe("m"), Ei = Pe(
|
|
1259
1258
|
"bu"
|
|
1260
|
-
),
|
|
1259
|
+
), Ci = Pe("u"), Oi = Pe(
|
|
1261
1260
|
"bum"
|
|
1262
|
-
), zn = Pe("um"),
|
|
1261
|
+
), zn = Pe("um"), Pi = Pe(
|
|
1263
1262
|
"sp"
|
|
1264
|
-
),
|
|
1265
|
-
function
|
|
1263
|
+
), Ai = Pe("rtg"), Ii = Pe("rtc");
|
|
1264
|
+
function Ri(e, t = k) {
|
|
1266
1265
|
Wt("ec", e, t);
|
|
1267
1266
|
}
|
|
1268
|
-
const
|
|
1267
|
+
const Mi = Symbol.for("v-ndc"), as = (e) => e ? pr(e) ? Us(e) : as(e.parent) : null, pt = (
|
|
1269
1268
|
// Move PURE marker to new line to workaround compiler discarding it
|
|
1270
1269
|
// due to type annotation
|
|
1271
1270
|
/* @__PURE__ */ te(/* @__PURE__ */ Object.create(null), {
|
|
@@ -1284,10 +1283,10 @@ const Hi = Symbol.for("v-ndc"), as = (e) => e ? pr(e) ? Ls(e) : as(e.parent) : n
|
|
|
1284
1283
|
$forceUpdate: (e) => e.f || (e.f = () => {
|
|
1285
1284
|
Ms(e.update);
|
|
1286
1285
|
}),
|
|
1287
|
-
$nextTick: (e) => e.n || (e.n =
|
|
1288
|
-
$watch: (e) =>
|
|
1286
|
+
$nextTick: (e) => e.n || (e.n = pi.bind(e.proxy)),
|
|
1287
|
+
$watch: (e) => eo.bind(e)
|
|
1289
1288
|
})
|
|
1290
|
-
), kt = (e, t) => e !== V && !e.__isScriptSetup && D(e, t),
|
|
1289
|
+
), kt = (e, t) => e !== V && !e.__isScriptSetup && D(e, t), Fi = {
|
|
1291
1290
|
get({ _: e }, t) {
|
|
1292
1291
|
if (t === "__v_skip")
|
|
1293
1292
|
return !0;
|
|
@@ -1360,7 +1359,7 @@ function zs(e) {
|
|
|
1360
1359
|
) : e;
|
|
1361
1360
|
}
|
|
1362
1361
|
let ds = !0;
|
|
1363
|
-
function
|
|
1362
|
+
function Di(e) {
|
|
1364
1363
|
const t = Zn(e), s = e.proxy, n = e.ctx;
|
|
1365
1364
|
ds = !1, t.beforeCreate && Xs(t.beforeCreate, e, "bc");
|
|
1366
1365
|
const {
|
|
@@ -1396,10 +1395,10 @@ function Ni(e) {
|
|
|
1396
1395
|
directives: St,
|
|
1397
1396
|
filters: Gt
|
|
1398
1397
|
} = t;
|
|
1399
|
-
if (h &&
|
|
1398
|
+
if (h && Hi(h, n, null), o)
|
|
1400
1399
|
for (const K in o) {
|
|
1401
|
-
const
|
|
1402
|
-
I(
|
|
1400
|
+
const U = o[K];
|
|
1401
|
+
I(U) && (n[K] = U.bind(s));
|
|
1403
1402
|
}
|
|
1404
1403
|
if (r) {
|
|
1405
1404
|
const K = r.call(s, s);
|
|
@@ -1407,15 +1406,15 @@ function Ni(e) {
|
|
|
1407
1406
|
}
|
|
1408
1407
|
if (ds = !0, i)
|
|
1409
1408
|
for (const K in i) {
|
|
1410
|
-
const
|
|
1409
|
+
const U = i[K], Ne = I(U) ? U.bind(s, s) : I(U.get) ? U.get.bind(s, s) : xe, Tt = !I(U) && I(U.set) ? U.set.bind(s) : xe, Ue = wo({
|
|
1411
1410
|
get: Ne,
|
|
1412
1411
|
set: Tt
|
|
1413
1412
|
});
|
|
1414
1413
|
Object.defineProperty(n, K, {
|
|
1415
1414
|
enumerable: !0,
|
|
1416
1415
|
configurable: !0,
|
|
1417
|
-
get: () =>
|
|
1418
|
-
set: (ae) =>
|
|
1416
|
+
get: () => Ue.value,
|
|
1417
|
+
set: (ae) => Ue.value = ae
|
|
1419
1418
|
});
|
|
1420
1419
|
}
|
|
1421
1420
|
if (f)
|
|
@@ -1423,27 +1422,27 @@ function Ni(e) {
|
|
|
1423
1422
|
Xn(f[K], n, s, K);
|
|
1424
1423
|
if (u) {
|
|
1425
1424
|
const K = I(u) ? u.call(s) : u;
|
|
1426
|
-
Reflect.ownKeys(K).forEach((
|
|
1427
|
-
|
|
1425
|
+
Reflect.ownKeys(K).forEach((U) => {
|
|
1426
|
+
Vi(U, K[U]);
|
|
1428
1427
|
});
|
|
1429
1428
|
}
|
|
1430
1429
|
a && Xs(a, e, "c");
|
|
1431
|
-
function X(K,
|
|
1432
|
-
A(
|
|
1430
|
+
function X(K, U) {
|
|
1431
|
+
A(U) ? U.forEach((Ne) => K(Ne.bind(s))) : U && K(U.bind(s));
|
|
1433
1432
|
}
|
|
1434
|
-
if (X(
|
|
1433
|
+
if (X(Si, p), X(Ti, S), X(Ei, T), X(Ci, F), X(vi, M), X(yi, Y), X(Ri, Ie), X(Ii, Ae), X(Ai, ue), X(Oi, W), X(zn, O), X(Pi, yt), A(je))
|
|
1435
1434
|
if (je.length) {
|
|
1436
1435
|
const K = e.exposed || (e.exposed = {});
|
|
1437
|
-
je.forEach((
|
|
1438
|
-
Object.defineProperty(K,
|
|
1439
|
-
get: () => s[
|
|
1440
|
-
set: (Ne) => s[
|
|
1436
|
+
je.forEach((U) => {
|
|
1437
|
+
Object.defineProperty(K, U, {
|
|
1438
|
+
get: () => s[U],
|
|
1439
|
+
set: (Ne) => s[U] = Ne
|
|
1441
1440
|
});
|
|
1442
1441
|
});
|
|
1443
1442
|
} else e.exposed || (e.exposed = {});
|
|
1444
1443
|
G && e.render === xe && (e.render = G), ke != null && (e.inheritAttrs = ke), wt && (e.components = wt), St && (e.directives = St), yt && Gn(e);
|
|
1445
1444
|
}
|
|
1446
|
-
function
|
|
1445
|
+
function Hi(e, t, s = xe) {
|
|
1447
1446
|
A(e) && (e = hs(e));
|
|
1448
1447
|
for (const n in e) {
|
|
1449
1448
|
const r = e[n];
|
|
@@ -1500,12 +1499,12 @@ function Ht(e, t, s, n = !1) {
|
|
|
1500
1499
|
);
|
|
1501
1500
|
for (const o in t)
|
|
1502
1501
|
if (!(n && o === "expose")) {
|
|
1503
|
-
const f =
|
|
1502
|
+
const f = ji[o] || s && s[o];
|
|
1504
1503
|
e[o] = f ? f(e[o], t[o]) : t[o];
|
|
1505
1504
|
}
|
|
1506
1505
|
return e;
|
|
1507
1506
|
}
|
|
1508
|
-
const
|
|
1507
|
+
const ji = {
|
|
1509
1508
|
data: Zs,
|
|
1510
1509
|
props: Qs,
|
|
1511
1510
|
emits: Qs,
|
|
@@ -1531,10 +1530,10 @@ const $i = {
|
|
|
1531
1530
|
components: it,
|
|
1532
1531
|
directives: it,
|
|
1533
1532
|
// watch
|
|
1534
|
-
watch:
|
|
1533
|
+
watch: Ui,
|
|
1535
1534
|
// provide / inject
|
|
1536
1535
|
provide: Zs,
|
|
1537
|
-
inject:
|
|
1536
|
+
inject: Ni
|
|
1538
1537
|
};
|
|
1539
1538
|
function Zs(e, t) {
|
|
1540
1539
|
return t ? e ? function() {
|
|
@@ -1544,7 +1543,7 @@ function Zs(e, t) {
|
|
|
1544
1543
|
);
|
|
1545
1544
|
} : t : e;
|
|
1546
1545
|
}
|
|
1547
|
-
function
|
|
1546
|
+
function Ni(e, t) {
|
|
1548
1547
|
return it(hs(e), hs(t));
|
|
1549
1548
|
}
|
|
1550
1549
|
function hs(e) {
|
|
@@ -1569,7 +1568,7 @@ function Qs(e, t) {
|
|
|
1569
1568
|
zs(t != null ? t : {})
|
|
1570
1569
|
) : t;
|
|
1571
1570
|
}
|
|
1572
|
-
function
|
|
1571
|
+
function Ui(e, t) {
|
|
1573
1572
|
if (!e) return t;
|
|
1574
1573
|
if (!t) return e;
|
|
1575
1574
|
const s = te(/* @__PURE__ */ Object.create(null), e);
|
|
@@ -1581,7 +1580,7 @@ function Qn() {
|
|
|
1581
1580
|
return {
|
|
1582
1581
|
app: null,
|
|
1583
1582
|
config: {
|
|
1584
|
-
isNativeTag:
|
|
1583
|
+
isNativeTag: Tr,
|
|
1585
1584
|
performance: !1,
|
|
1586
1585
|
globalProperties: {},
|
|
1587
1586
|
optionMergeStrategies: {},
|
|
@@ -1598,20 +1597,20 @@ function Qn() {
|
|
|
1598
1597
|
emitsCache: /* @__PURE__ */ new WeakMap()
|
|
1599
1598
|
};
|
|
1600
1599
|
}
|
|
1601
|
-
let
|
|
1602
|
-
function
|
|
1600
|
+
let Li = 0;
|
|
1601
|
+
function $i(e, t) {
|
|
1603
1602
|
return function(n, r = null) {
|
|
1604
1603
|
I(n) || (n = te({}, n)), r != null && !q(r) && (r = null);
|
|
1605
1604
|
const i = Qn(), o = /* @__PURE__ */ new WeakSet(), f = [];
|
|
1606
1605
|
let u = !1;
|
|
1607
1606
|
const h = i.app = {
|
|
1608
|
-
_uid:
|
|
1607
|
+
_uid: Li++,
|
|
1609
1608
|
_component: n,
|
|
1610
1609
|
_props: r,
|
|
1611
1610
|
_container: null,
|
|
1612
1611
|
_context: i,
|
|
1613
1612
|
_instance: null,
|
|
1614
|
-
version:
|
|
1613
|
+
version: To,
|
|
1615
1614
|
get config() {
|
|
1616
1615
|
return i.config;
|
|
1617
1616
|
},
|
|
@@ -1632,7 +1631,7 @@ function Wi(e, t) {
|
|
|
1632
1631
|
mount(a, p, S) {
|
|
1633
1632
|
if (!u) {
|
|
1634
1633
|
const T = h._ceVNode || fe(n, r);
|
|
1635
|
-
return T.appContext = i, S === !0 ? S = "svg" : S === !1 && (S = void 0), e(T, a, S), u = !0, h._container = a, a.__vue_app__ = h,
|
|
1634
|
+
return T.appContext = i, S === !0 ? S = "svg" : S === !1 && (S = void 0), e(T, a, S), u = !0, h._container = a, a.__vue_app__ = h, Us(T.component);
|
|
1636
1635
|
}
|
|
1637
1636
|
},
|
|
1638
1637
|
onUnmount(a) {
|
|
@@ -1662,7 +1661,7 @@ function Wi(e, t) {
|
|
|
1662
1661
|
};
|
|
1663
1662
|
}
|
|
1664
1663
|
let Ye = null;
|
|
1665
|
-
function
|
|
1664
|
+
function Vi(e, t) {
|
|
1666
1665
|
if (k) {
|
|
1667
1666
|
let s = k.provides;
|
|
1668
1667
|
const n = k.parent && k.parent.provides;
|
|
@@ -1680,14 +1679,14 @@ function At(e, t, s = !1) {
|
|
|
1680
1679
|
}
|
|
1681
1680
|
}
|
|
1682
1681
|
const kn = {}, er = () => Object.create(kn), tr = (e) => Object.getPrototypeOf(e) === kn;
|
|
1683
|
-
function
|
|
1682
|
+
function Ki(e, t, s, n = !1) {
|
|
1684
1683
|
const r = {}, i = er();
|
|
1685
1684
|
e.propsDefaults = /* @__PURE__ */ Object.create(null), sr(e, t, r, i);
|
|
1686
1685
|
for (const o in e.propsOptions[0])
|
|
1687
1686
|
o in r || (r[o] = void 0);
|
|
1688
|
-
s ? e.props = n ? r :
|
|
1687
|
+
s ? e.props = n ? r : ii(r) : e.type.props ? e.props = r : e.props = i, e.attrs = i;
|
|
1689
1688
|
}
|
|
1690
|
-
function
|
|
1689
|
+
function Wi(e, t, s, n) {
|
|
1691
1690
|
const {
|
|
1692
1691
|
props: r,
|
|
1693
1692
|
attrs: i,
|
|
@@ -1746,7 +1745,7 @@ function Gi(e, t, s, n) {
|
|
|
1746
1745
|
for (const p in i)
|
|
1747
1746
|
(!t || !D(t, p)) && (delete i[p], h = !0);
|
|
1748
1747
|
}
|
|
1749
|
-
h &&
|
|
1748
|
+
h && Ee(e.attrs, "set", "");
|
|
1750
1749
|
}
|
|
1751
1750
|
function sr(e, t, s, n) {
|
|
1752
1751
|
const [r, i] = e.propsOptions;
|
|
@@ -1806,9 +1805,9 @@ function ps(e, t, s, n, r, i) {
|
|
|
1806
1805
|
}
|
|
1807
1806
|
return n;
|
|
1808
1807
|
}
|
|
1809
|
-
const
|
|
1808
|
+
const Bi = /* @__PURE__ */ new WeakMap();
|
|
1810
1809
|
function nr(e, t, s = !1) {
|
|
1811
|
-
const n = s ?
|
|
1810
|
+
const n = s ? Bi : t.propsCache, r = n.get(e);
|
|
1812
1811
|
if (r)
|
|
1813
1812
|
return r;
|
|
1814
1813
|
const i = e.props, o = {}, f = [];
|
|
@@ -1859,10 +1858,10 @@ function nr(e, t, s = !1) {
|
|
|
1859
1858
|
function ks(e) {
|
|
1860
1859
|
return e[0] !== "$" && !ft(e);
|
|
1861
1860
|
}
|
|
1862
|
-
const Ds = (e) => e[0] === "_" || e === "$stable", Hs = (e) => A(e) ? e.map(me) : [me(e)],
|
|
1861
|
+
const Ds = (e) => e[0] === "_" || e === "$stable", Hs = (e) => A(e) ? e.map(me) : [me(e)], qi = (e, t, s) => {
|
|
1863
1862
|
if (t._n)
|
|
1864
1863
|
return t;
|
|
1865
|
-
const n =
|
|
1864
|
+
const n = mi((...r) => Hs(t(...r)), s);
|
|
1866
1865
|
return n._c = !1, n;
|
|
1867
1866
|
}, rr = (e, t, s) => {
|
|
1868
1867
|
const n = e._ctx;
|
|
@@ -1870,7 +1869,7 @@ const Ds = (e) => e[0] === "_" || e === "$stable", Hs = (e) => A(e) ? e.map(me)
|
|
|
1870
1869
|
if (Ds(r)) continue;
|
|
1871
1870
|
const i = e[r];
|
|
1872
1871
|
if (I(i))
|
|
1873
|
-
t[r] =
|
|
1872
|
+
t[r] = qi(r, i, n);
|
|
1874
1873
|
else if (i != null) {
|
|
1875
1874
|
const o = Hs(i);
|
|
1876
1875
|
t[r] = () => o;
|
|
@@ -1882,7 +1881,7 @@ const Ds = (e) => e[0] === "_" || e === "$stable", Hs = (e) => A(e) ? e.map(me)
|
|
|
1882
1881
|
}, or = (e, t, s) => {
|
|
1883
1882
|
for (const n in t)
|
|
1884
1883
|
(s || !Ds(n)) && (e[n] = t[n]);
|
|
1885
|
-
},
|
|
1884
|
+
}, Gi = (e, t, s) => {
|
|
1886
1885
|
const n = e.slots = er();
|
|
1887
1886
|
if (e.vnode.shapeFlag & 32) {
|
|
1888
1887
|
const r = t.__;
|
|
@@ -1890,7 +1889,7 @@ const Ds = (e) => e[0] === "_" || e === "$stable", Hs = (e) => A(e) ? e.map(me)
|
|
|
1890
1889
|
const i = t._;
|
|
1891
1890
|
i ? (or(n, t, s), s && is(n, "_", i, !0)) : rr(t, n);
|
|
1892
1891
|
} else t && ir(e, t);
|
|
1893
|
-
},
|
|
1892
|
+
}, Ji = (e, t, s) => {
|
|
1894
1893
|
const { vnode: n, slots: r } = e;
|
|
1895
1894
|
let i = !0, o = V;
|
|
1896
1895
|
if (n.shapeFlag & 32) {
|
|
@@ -1900,11 +1899,11 @@ const Ds = (e) => e[0] === "_" || e === "$stable", Hs = (e) => A(e) ? e.map(me)
|
|
|
1900
1899
|
if (i)
|
|
1901
1900
|
for (const f in r)
|
|
1902
1901
|
!Ds(f) && o[f] == null && delete r[f];
|
|
1903
|
-
}, oe =
|
|
1904
|
-
function
|
|
1905
|
-
return
|
|
1902
|
+
}, oe = lo;
|
|
1903
|
+
function Yi(e) {
|
|
1904
|
+
return zi(e);
|
|
1906
1905
|
}
|
|
1907
|
-
function
|
|
1906
|
+
function zi(e, t) {
|
|
1908
1907
|
const s = Vt();
|
|
1909
1908
|
s.__VUE__ = !0;
|
|
1910
1909
|
const {
|
|
@@ -1923,8 +1922,8 @@ function Qi(e, t) {
|
|
|
1923
1922
|
} = e, M = (l, c, d, m = null, g = null, _ = null, y = void 0, v = null, x = !!c.dynamicChildren) => {
|
|
1924
1923
|
if (l === c)
|
|
1925
1924
|
return;
|
|
1926
|
-
l && !rt(l, c) && (m =
|
|
1927
|
-
const { type: b, ref:
|
|
1925
|
+
l && !rt(l, c) && (m = Et(l), ae(l, g, _, !0), l = null), c.patchFlag === -2 && (x = !1, c.dynamicChildren = null);
|
|
1926
|
+
const { type: b, ref: C, shapeFlag: w } = c;
|
|
1928
1927
|
switch (b) {
|
|
1929
1928
|
case qt:
|
|
1930
1929
|
Y(l, c, d, m);
|
|
@@ -1982,7 +1981,7 @@ function Qi(e, t) {
|
|
|
1982
1981
|
tt
|
|
1983
1982
|
);
|
|
1984
1983
|
}
|
|
1985
|
-
|
|
1984
|
+
C != null && g ? dt(C, l && l.ref, _, c || l, !c) : C == null && l && l.ref != null && dt(l.ref, null, _, l, !0);
|
|
1986
1985
|
}, Y = (l, c, d, m) => {
|
|
1987
1986
|
if (l == null)
|
|
1988
1987
|
n(
|
|
@@ -2040,12 +2039,12 @@ function Qi(e, t) {
|
|
|
2040
2039
|
);
|
|
2041
2040
|
}, Ae = (l, c, d, m, g, _, y, v) => {
|
|
2042
2041
|
let x, b;
|
|
2043
|
-
const { props:
|
|
2042
|
+
const { props: C, shapeFlag: w, transition: E, dirs: P } = l;
|
|
2044
2043
|
if (x = l.el = o(
|
|
2045
2044
|
l.type,
|
|
2046
2045
|
_,
|
|
2047
|
-
|
|
2048
|
-
|
|
2046
|
+
C && C.is,
|
|
2047
|
+
C
|
|
2049
2048
|
), w & 8 ? a(x, l.children) : w & 16 && Ie(
|
|
2050
2049
|
l.children,
|
|
2051
2050
|
x,
|
|
@@ -2055,15 +2054,15 @@ function Qi(e, t) {
|
|
|
2055
2054
|
es(l, _),
|
|
2056
2055
|
y,
|
|
2057
2056
|
v
|
|
2058
|
-
), P &&
|
|
2059
|
-
for (const
|
|
2060
|
-
|
|
2061
|
-
"value" in
|
|
2062
|
-
}
|
|
2063
|
-
P &&
|
|
2064
|
-
const R =
|
|
2065
|
-
R &&
|
|
2066
|
-
b && ge(b, m, l), R &&
|
|
2057
|
+
), P && Le(l, null, m, "created"), ue(x, l, l.scopeId, y, m), C) {
|
|
2058
|
+
for (const L in C)
|
|
2059
|
+
L !== "value" && !ft(L) && i(x, L, null, C[L], _, m);
|
|
2060
|
+
"value" in C && i(x, "value", null, C.value, _), (b = C.onVnodeBeforeMount) && ge(b, m, l);
|
|
2061
|
+
}
|
|
2062
|
+
P && Le(l, null, m, "beforeMount");
|
|
2063
|
+
const R = Xi(g, E);
|
|
2064
|
+
R && E.beforeEnter(x), n(x, c, d), ((b = C && C.onVnodeMounted) || R || P) && oe(() => {
|
|
2065
|
+
b && ge(b, m, l), R && E.enter(x), P && Le(l, null, m, "mounted");
|
|
2067
2066
|
}, g);
|
|
2068
2067
|
}, ue = (l, c, d, m, g) => {
|
|
2069
2068
|
if (d && T(l, d), m)
|
|
@@ -2084,10 +2083,10 @@ function Qi(e, t) {
|
|
|
2084
2083
|
}
|
|
2085
2084
|
}, Ie = (l, c, d, m, g, _, y, v, x = 0) => {
|
|
2086
2085
|
for (let b = x; b < l.length; b++) {
|
|
2087
|
-
const
|
|
2086
|
+
const C = l[b] = v ? Me(l[b]) : me(l[b]);
|
|
2088
2087
|
M(
|
|
2089
2088
|
null,
|
|
2090
|
-
|
|
2089
|
+
C,
|
|
2091
2090
|
c,
|
|
2092
2091
|
d,
|
|
2093
2092
|
m,
|
|
@@ -2099,11 +2098,11 @@ function Qi(e, t) {
|
|
|
2099
2098
|
}
|
|
2100
2099
|
}, yt = (l, c, d, m, g, _, y) => {
|
|
2101
2100
|
const v = c.el = l.el;
|
|
2102
|
-
let { patchFlag: x, dynamicChildren: b, dirs:
|
|
2101
|
+
let { patchFlag: x, dynamicChildren: b, dirs: C } = c;
|
|
2103
2102
|
x |= l.patchFlag & 16;
|
|
2104
|
-
const w = l.props || V,
|
|
2103
|
+
const w = l.props || V, E = c.props || V;
|
|
2105
2104
|
let P;
|
|
2106
|
-
if (d &&
|
|
2105
|
+
if (d && $e(d, !1), (P = E.onVnodeBeforeUpdate) && ge(P, d, c, l), C && Le(c, l, d, "beforeUpdate"), d && $e(d, !0), (w.innerHTML && E.innerHTML == null || w.textContent && E.textContent == null) && a(v, ""), b ? je(
|
|
2107
2106
|
l.dynamicChildren,
|
|
2108
2107
|
b,
|
|
2109
2108
|
v,
|
|
@@ -2111,7 +2110,7 @@ function Qi(e, t) {
|
|
|
2111
2110
|
m,
|
|
2112
2111
|
es(c, g),
|
|
2113
2112
|
_
|
|
2114
|
-
) : y ||
|
|
2113
|
+
) : y || U(
|
|
2115
2114
|
l,
|
|
2116
2115
|
c,
|
|
2117
2116
|
v,
|
|
@@ -2123,22 +2122,22 @@ function Qi(e, t) {
|
|
|
2123
2122
|
!1
|
|
2124
2123
|
), x > 0) {
|
|
2125
2124
|
if (x & 16)
|
|
2126
|
-
ke(v, w,
|
|
2127
|
-
else if (x & 2 && w.class !==
|
|
2125
|
+
ke(v, w, E, d, g);
|
|
2126
|
+
else if (x & 2 && w.class !== E.class && i(v, "class", null, E.class, g), x & 4 && i(v, "style", w.style, E.style, g), x & 8) {
|
|
2128
2127
|
const R = c.dynamicProps;
|
|
2129
|
-
for (let
|
|
2130
|
-
const H = R[
|
|
2128
|
+
for (let L = 0; L < R.length; L++) {
|
|
2129
|
+
const H = R[L], se = w[H], ne = E[H];
|
|
2131
2130
|
(ne !== se || H === "value") && i(v, H, se, ne, g, d);
|
|
2132
2131
|
}
|
|
2133
2132
|
}
|
|
2134
2133
|
x & 1 && l.children !== c.children && a(v, c.children);
|
|
2135
|
-
} else !y && b == null && ke(v, w,
|
|
2136
|
-
((P =
|
|
2137
|
-
P && ge(P, d, c, l),
|
|
2134
|
+
} else !y && b == null && ke(v, w, E, d, g);
|
|
2135
|
+
((P = E.onVnodeUpdated) || C) && oe(() => {
|
|
2136
|
+
P && ge(P, d, c, l), C && Le(c, l, d, "updated");
|
|
2138
2137
|
}, m);
|
|
2139
2138
|
}, je = (l, c, d, m, g, _, y) => {
|
|
2140
2139
|
for (let v = 0; v < c.length; v++) {
|
|
2141
|
-
const x = l[v], b = c[v],
|
|
2140
|
+
const x = l[v], b = c[v], C = (
|
|
2142
2141
|
// oldVNode may be an errored async setup() component inside Suspense
|
|
2143
2142
|
// which will not have a mounted element
|
|
2144
2143
|
x.el && // - In the case of a Fragment, we need to provide the actual parent
|
|
@@ -2155,7 +2154,7 @@ function Qi(e, t) {
|
|
|
2155
2154
|
M(
|
|
2156
2155
|
x,
|
|
2157
2156
|
b,
|
|
2158
|
-
|
|
2157
|
+
C,
|
|
2159
2158
|
null,
|
|
2160
2159
|
m,
|
|
2161
2160
|
g,
|
|
@@ -2184,26 +2183,26 @@ function Qi(e, t) {
|
|
|
2184
2183
|
"value" in d && i(l, "value", c.value, d.value, g);
|
|
2185
2184
|
}
|
|
2186
2185
|
}, wt = (l, c, d, m, g, _, y, v, x) => {
|
|
2187
|
-
const b = c.el = l ? l.el : f(""),
|
|
2188
|
-
let { patchFlag: w, dynamicChildren:
|
|
2189
|
-
P && (v = v ? v.concat(P) : P), l == null ? (n(b, d, m), n(
|
|
2186
|
+
const b = c.el = l ? l.el : f(""), C = c.anchor = l ? l.anchor : f("");
|
|
2187
|
+
let { patchFlag: w, dynamicChildren: E, slotScopeIds: P } = c;
|
|
2188
|
+
P && (v = v ? v.concat(P) : P), l == null ? (n(b, d, m), n(C, d, m), Ie(
|
|
2190
2189
|
// #10007
|
|
2191
2190
|
// such fragment like `<></>` will be compiled into
|
|
2192
2191
|
// a fragment which doesn't have a children.
|
|
2193
2192
|
// In this case fallback to an empty array
|
|
2194
2193
|
c.children || [],
|
|
2195
2194
|
d,
|
|
2196
|
-
|
|
2195
|
+
C,
|
|
2197
2196
|
g,
|
|
2198
2197
|
_,
|
|
2199
2198
|
y,
|
|
2200
2199
|
v,
|
|
2201
2200
|
x
|
|
2202
|
-
)) : w > 0 && w & 64 &&
|
|
2201
|
+
)) : w > 0 && w & 64 && E && // #2715 the previous fragment could've been a BAILed one as a result
|
|
2203
2202
|
// of renderSlot() with no valid children
|
|
2204
2203
|
l.dynamicChildren ? (je(
|
|
2205
2204
|
l.dynamicChildren,
|
|
2206
|
-
|
|
2205
|
+
E,
|
|
2207
2206
|
d,
|
|
2208
2207
|
g,
|
|
2209
2208
|
_,
|
|
@@ -2218,11 +2217,11 @@ function Qi(e, t) {
|
|
|
2218
2217
|
c,
|
|
2219
2218
|
!0
|
|
2220
2219
|
/* shallow */
|
|
2221
|
-
)) :
|
|
2220
|
+
)) : U(
|
|
2222
2221
|
l,
|
|
2223
2222
|
c,
|
|
2224
2223
|
d,
|
|
2225
|
-
|
|
2224
|
+
C,
|
|
2226
2225
|
g,
|
|
2227
2226
|
_,
|
|
2228
2227
|
y,
|
|
@@ -2244,14 +2243,14 @@ function Qi(e, t) {
|
|
|
2244
2243
|
_,
|
|
2245
2244
|
y,
|
|
2246
2245
|
x
|
|
2247
|
-
) :
|
|
2246
|
+
) : Ls(l, c, x);
|
|
2248
2247
|
}, Gt = (l, c, d, m, g, _, y) => {
|
|
2249
|
-
const v = l.component =
|
|
2248
|
+
const v = l.component = _o(
|
|
2250
2249
|
l,
|
|
2251
2250
|
m,
|
|
2252
2251
|
g
|
|
2253
2252
|
);
|
|
2254
|
-
if (Jn(l) && (v.ctx.renderer = tt),
|
|
2253
|
+
if (Jn(l) && (v.ctx.renderer = tt), mo(v, !1, y), v.asyncDep) {
|
|
2255
2254
|
if (g && g.registerDep(v, X, y), !l.el) {
|
|
2256
2255
|
const x = v.subTree = fe(Xe);
|
|
2257
2256
|
N(null, x, c, d);
|
|
@@ -2266,9 +2265,9 @@ function Qi(e, t) {
|
|
|
2266
2265
|
_,
|
|
2267
2266
|
y
|
|
2268
2267
|
);
|
|
2269
|
-
},
|
|
2268
|
+
}, Ls = (l, c, d) => {
|
|
2270
2269
|
const m = c.component = l.component;
|
|
2271
|
-
if (
|
|
2270
|
+
if (io(l, c, d))
|
|
2272
2271
|
if (m.asyncDep && !m.asyncResolved) {
|
|
2273
2272
|
K(m, c, d);
|
|
2274
2273
|
return;
|
|
@@ -2279,18 +2278,18 @@ function Qi(e, t) {
|
|
|
2279
2278
|
}, X = (l, c, d, m, g, _, y) => {
|
|
2280
2279
|
const v = () => {
|
|
2281
2280
|
if (l.isMounted) {
|
|
2282
|
-
let { next: w, bu:
|
|
2281
|
+
let { next: w, bu: E, u: P, parent: R, vnode: L } = l;
|
|
2283
2282
|
{
|
|
2284
2283
|
const he = fr(l);
|
|
2285
2284
|
if (he) {
|
|
2286
|
-
w && (w.el =
|
|
2285
|
+
w && (w.el = L.el, K(l, w, y)), he.asyncDep.then(() => {
|
|
2287
2286
|
l.isUnmounted || v();
|
|
2288
2287
|
});
|
|
2289
2288
|
return;
|
|
2290
2289
|
}
|
|
2291
2290
|
}
|
|
2292
2291
|
let H = w, se;
|
|
2293
|
-
|
|
2292
|
+
$e(l, !1), w ? (w.el = L.el, K(l, w, y)) : w = L, E && zt(E), (se = w.props && w.props.onVnodeBeforeUpdate) && ge(se, R, w, L), $e(l, !0);
|
|
2294
2293
|
const ne = tn(l), de = l.subTree;
|
|
2295
2294
|
l.subTree = ne, M(
|
|
2296
2295
|
de,
|
|
@@ -2298,18 +2297,18 @@ function Qi(e, t) {
|
|
|
2298
2297
|
// parent may have changed if it's in a teleport
|
|
2299
2298
|
p(de.el),
|
|
2300
2299
|
// anchor may have changed if it's in a fragment
|
|
2301
|
-
|
|
2300
|
+
Et(de),
|
|
2302
2301
|
l,
|
|
2303
2302
|
g,
|
|
2304
2303
|
_
|
|
2305
|
-
), w.el = ne.el, H === null &&
|
|
2306
|
-
() => ge(se, R, w,
|
|
2304
|
+
), w.el = ne.el, H === null && oo(l, ne.el), P && oe(P, g), (se = w.props && w.props.onVnodeUpdated) && oe(
|
|
2305
|
+
() => ge(se, R, w, L),
|
|
2307
2306
|
g
|
|
2308
2307
|
);
|
|
2309
2308
|
} else {
|
|
2310
2309
|
let w;
|
|
2311
|
-
const { el:
|
|
2312
|
-
|
|
2310
|
+
const { el: E, props: P } = c, { bm: R, m: L, parent: H, root: se, type: ne } = l, de = ht(c);
|
|
2311
|
+
$e(l, !1), R && zt(R), !de && (w = P && P.onVnodeBeforeMount) && ge(w, H, c), $e(l, !0);
|
|
2313
2312
|
{
|
|
2314
2313
|
se.ce && // @ts-expect-error _def is private
|
|
2315
2314
|
se.ce._def.shadowRoot !== !1 && se.ce._injectChildStyle(ne);
|
|
@@ -2324,7 +2323,7 @@ function Qi(e, t) {
|
|
|
2324
2323
|
_
|
|
2325
2324
|
), c.el = he.el;
|
|
2326
2325
|
}
|
|
2327
|
-
if (
|
|
2326
|
+
if (L && oe(L, g), !de && (w = P && P.onVnodeMounted)) {
|
|
2328
2327
|
const he = c;
|
|
2329
2328
|
oe(
|
|
2330
2329
|
() => ge(w, H, he),
|
|
@@ -2337,16 +2336,16 @@ function Qi(e, t) {
|
|
|
2337
2336
|
l.scope.on();
|
|
2338
2337
|
const x = l.effect = new Tn(v);
|
|
2339
2338
|
l.scope.off();
|
|
2340
|
-
const b = l.update = x.run.bind(x),
|
|
2341
|
-
|
|
2339
|
+
const b = l.update = x.run.bind(x), C = l.job = x.runIfDirty.bind(x);
|
|
2340
|
+
C.i = l, C.id = l.uid, x.scheduler = () => Ms(C), $e(l, !0), b();
|
|
2342
2341
|
}, K = (l, c, d) => {
|
|
2343
2342
|
c.component = l;
|
|
2344
2343
|
const m = l.vnode.props;
|
|
2345
|
-
l.vnode = c, l.next = null,
|
|
2346
|
-
},
|
|
2347
|
-
const b = l && l.children,
|
|
2348
|
-
if (
|
|
2349
|
-
if (
|
|
2344
|
+
l.vnode = c, l.next = null, Wi(l, c.props, m, d), Ji(l, c.children, d), Ce(), Ys(l), Oe();
|
|
2345
|
+
}, U = (l, c, d, m, g, _, y, v, x = !1) => {
|
|
2346
|
+
const b = l && l.children, C = l ? l.shapeFlag : 0, w = c.children, { patchFlag: E, shapeFlag: P } = c;
|
|
2347
|
+
if (E > 0) {
|
|
2348
|
+
if (E & 128) {
|
|
2350
2349
|
Tt(
|
|
2351
2350
|
b,
|
|
2352
2351
|
w,
|
|
@@ -2359,7 +2358,7 @@ function Qi(e, t) {
|
|
|
2359
2358
|
x
|
|
2360
2359
|
);
|
|
2361
2360
|
return;
|
|
2362
|
-
} else if (
|
|
2361
|
+
} else if (E & 256) {
|
|
2363
2362
|
Ne(
|
|
2364
2363
|
b,
|
|
2365
2364
|
w,
|
|
@@ -2374,7 +2373,7 @@ function Qi(e, t) {
|
|
|
2374
2373
|
return;
|
|
2375
2374
|
}
|
|
2376
2375
|
}
|
|
2377
|
-
P & 8 ? (
|
|
2376
|
+
P & 8 ? (C & 16 && et(b, g, _), w !== b && a(d, w)) : C & 16 ? P & 16 ? Tt(
|
|
2378
2377
|
b,
|
|
2379
2378
|
w,
|
|
2380
2379
|
d,
|
|
@@ -2384,7 +2383,7 @@ function Qi(e, t) {
|
|
|
2384
2383
|
y,
|
|
2385
2384
|
v,
|
|
2386
2385
|
x
|
|
2387
|
-
) : et(b, g, _, !0) : (
|
|
2386
|
+
) : et(b, g, _, !0) : (C & 8 && a(d, ""), P & 16 && Ie(
|
|
2388
2387
|
w,
|
|
2389
2388
|
d,
|
|
2390
2389
|
m,
|
|
@@ -2396,12 +2395,12 @@ function Qi(e, t) {
|
|
|
2396
2395
|
));
|
|
2397
2396
|
}, Ne = (l, c, d, m, g, _, y, v, x) => {
|
|
2398
2397
|
l = l || ot, c = c || ot;
|
|
2399
|
-
const b = l.length,
|
|
2400
|
-
let
|
|
2401
|
-
for (
|
|
2402
|
-
const P = c[
|
|
2398
|
+
const b = l.length, C = c.length, w = Math.min(b, C);
|
|
2399
|
+
let E;
|
|
2400
|
+
for (E = 0; E < w; E++) {
|
|
2401
|
+
const P = c[E] = x ? Me(c[E]) : me(c[E]);
|
|
2403
2402
|
M(
|
|
2404
|
-
l[
|
|
2403
|
+
l[E],
|
|
2405
2404
|
P,
|
|
2406
2405
|
d,
|
|
2407
2406
|
null,
|
|
@@ -2412,7 +2411,7 @@ function Qi(e, t) {
|
|
|
2412
2411
|
x
|
|
2413
2412
|
);
|
|
2414
2413
|
}
|
|
2415
|
-
b >
|
|
2414
|
+
b > C ? et(
|
|
2416
2415
|
l,
|
|
2417
2416
|
g,
|
|
2418
2417
|
_,
|
|
@@ -2432,9 +2431,9 @@ function Qi(e, t) {
|
|
|
2432
2431
|
);
|
|
2433
2432
|
}, Tt = (l, c, d, m, g, _, y, v, x) => {
|
|
2434
2433
|
let b = 0;
|
|
2435
|
-
const
|
|
2436
|
-
let w = l.length - 1,
|
|
2437
|
-
for (; b <= w && b <=
|
|
2434
|
+
const C = c.length;
|
|
2435
|
+
let w = l.length - 1, E = C - 1;
|
|
2436
|
+
for (; b <= w && b <= E; ) {
|
|
2438
2437
|
const P = l[b], R = c[b] = x ? Me(c[b]) : me(c[b]);
|
|
2439
2438
|
if (rt(P, R))
|
|
2440
2439
|
M(
|
|
@@ -2452,8 +2451,8 @@ function Qi(e, t) {
|
|
|
2452
2451
|
break;
|
|
2453
2452
|
b++;
|
|
2454
2453
|
}
|
|
2455
|
-
for (; b <= w && b <=
|
|
2456
|
-
const P = l[w], R = c[
|
|
2454
|
+
for (; b <= w && b <= E; ) {
|
|
2455
|
+
const P = l[w], R = c[E] = x ? Me(c[E]) : me(c[E]);
|
|
2457
2456
|
if (rt(P, R))
|
|
2458
2457
|
M(
|
|
2459
2458
|
P,
|
|
@@ -2468,12 +2467,12 @@ function Qi(e, t) {
|
|
|
2468
2467
|
);
|
|
2469
2468
|
else
|
|
2470
2469
|
break;
|
|
2471
|
-
w--,
|
|
2470
|
+
w--, E--;
|
|
2472
2471
|
}
|
|
2473
2472
|
if (b > w) {
|
|
2474
|
-
if (b <=
|
|
2475
|
-
const P =
|
|
2476
|
-
for (; b <=
|
|
2473
|
+
if (b <= E) {
|
|
2474
|
+
const P = E + 1, R = P < C ? c[P].el : m;
|
|
2475
|
+
for (; b <= E; )
|
|
2477
2476
|
M(
|
|
2478
2477
|
null,
|
|
2479
2478
|
c[b] = x ? Me(c[b]) : me(c[b]),
|
|
@@ -2486,17 +2485,17 @@ function Qi(e, t) {
|
|
|
2486
2485
|
x
|
|
2487
2486
|
), b++;
|
|
2488
2487
|
}
|
|
2489
|
-
} else if (b >
|
|
2488
|
+
} else if (b > E)
|
|
2490
2489
|
for (; b <= w; )
|
|
2491
2490
|
ae(l[b], g, _, !0), b++;
|
|
2492
2491
|
else {
|
|
2493
|
-
const P = b, R = b,
|
|
2494
|
-
for (b = R; b <=
|
|
2492
|
+
const P = b, R = b, L = /* @__PURE__ */ new Map();
|
|
2493
|
+
for (b = R; b <= E; b++) {
|
|
2495
2494
|
const ie = c[b] = x ? Me(c[b]) : me(c[b]);
|
|
2496
|
-
ie.key != null &&
|
|
2495
|
+
ie.key != null && L.set(ie.key, b);
|
|
2497
2496
|
}
|
|
2498
2497
|
let H, se = 0;
|
|
2499
|
-
const ne =
|
|
2498
|
+
const ne = E - R + 1;
|
|
2500
2499
|
let de = !1, he = 0;
|
|
2501
2500
|
const st = new Array(ne);
|
|
2502
2501
|
for (b = 0; b < ne; b++) st[b] = 0;
|
|
@@ -2508,9 +2507,9 @@ function Qi(e, t) {
|
|
|
2508
2507
|
}
|
|
2509
2508
|
let pe;
|
|
2510
2509
|
if (ie.key != null)
|
|
2511
|
-
pe =
|
|
2510
|
+
pe = L.get(ie.key);
|
|
2512
2511
|
else
|
|
2513
|
-
for (H = R; H <=
|
|
2512
|
+
for (H = R; H <= E; H++)
|
|
2514
2513
|
if (st[H - R] === 0 && rt(ie, c[H])) {
|
|
2515
2514
|
pe = H;
|
|
2516
2515
|
break;
|
|
@@ -2527,9 +2526,9 @@ function Qi(e, t) {
|
|
|
2527
2526
|
x
|
|
2528
2527
|
), se++);
|
|
2529
2528
|
}
|
|
2530
|
-
const Ks = de ?
|
|
2529
|
+
const Ks = de ? Zi(st) : ot;
|
|
2531
2530
|
for (H = Ks.length - 1, b = ne - 1; b >= 0; b--) {
|
|
2532
|
-
const ie = R + b, pe = c[ie], Ws = ie + 1 <
|
|
2531
|
+
const ie = R + b, pe = c[ie], Ws = ie + 1 < C ? c[ie + 1].el : m;
|
|
2533
2532
|
st[b] === 0 ? M(
|
|
2534
2533
|
null,
|
|
2535
2534
|
pe,
|
|
@@ -2540,13 +2539,13 @@ function Qi(e, t) {
|
|
|
2540
2539
|
y,
|
|
2541
2540
|
v,
|
|
2542
2541
|
x
|
|
2543
|
-
) : de && (H < 0 || b !== Ks[H] ?
|
|
2542
|
+
) : de && (H < 0 || b !== Ks[H] ? Ue(pe, d, Ws, 2) : H--);
|
|
2544
2543
|
}
|
|
2545
2544
|
}
|
|
2546
|
-
},
|
|
2545
|
+
}, Ue = (l, c, d, m, g = null) => {
|
|
2547
2546
|
const { el: _, type: y, transition: v, children: x, shapeFlag: b } = l;
|
|
2548
2547
|
if (b & 6) {
|
|
2549
|
-
|
|
2548
|
+
Ue(l.component.subTree, c, d, m);
|
|
2550
2549
|
return;
|
|
2551
2550
|
}
|
|
2552
2551
|
if (b & 128) {
|
|
@@ -2560,7 +2559,7 @@ function Qi(e, t) {
|
|
|
2560
2559
|
if (y === Te) {
|
|
2561
2560
|
n(_, c, d);
|
|
2562
2561
|
for (let w = 0; w < x.length; w++)
|
|
2563
|
-
|
|
2562
|
+
Ue(x[w], c, d, m);
|
|
2564
2563
|
n(l.anchor, c, d);
|
|
2565
2564
|
return;
|
|
2566
2565
|
}
|
|
@@ -2572,14 +2571,14 @@ function Qi(e, t) {
|
|
|
2572
2571
|
if (m === 0)
|
|
2573
2572
|
v.beforeEnter(_), n(_, c, d), oe(() => v.enter(_), g);
|
|
2574
2573
|
else {
|
|
2575
|
-
const { leave: w, delayLeave:
|
|
2574
|
+
const { leave: w, delayLeave: E, afterLeave: P } = v, R = () => {
|
|
2576
2575
|
l.ctx.isUnmounted ? r(_) : n(_, c, d);
|
|
2577
|
-
},
|
|
2576
|
+
}, L = () => {
|
|
2578
2577
|
w(_, () => {
|
|
2579
2578
|
R(), P && P();
|
|
2580
2579
|
});
|
|
2581
2580
|
};
|
|
2582
|
-
|
|
2581
|
+
E ? E(_, R, L) : L();
|
|
2583
2582
|
}
|
|
2584
2583
|
else
|
|
2585
2584
|
n(_, c, d);
|
|
@@ -2590,25 +2589,25 @@ function Qi(e, t) {
|
|
|
2590
2589
|
ref: v,
|
|
2591
2590
|
children: x,
|
|
2592
2591
|
dynamicChildren: b,
|
|
2593
|
-
shapeFlag:
|
|
2592
|
+
shapeFlag: C,
|
|
2594
2593
|
patchFlag: w,
|
|
2595
|
-
dirs:
|
|
2594
|
+
dirs: E,
|
|
2596
2595
|
cacheIndex: P
|
|
2597
2596
|
} = l;
|
|
2598
|
-
if (w === -2 && (g = !1), v != null && (
|
|
2597
|
+
if (w === -2 && (g = !1), v != null && (Ce(), dt(v, null, d, l, !0), Oe()), P != null && (c.renderCache[P] = void 0), C & 256) {
|
|
2599
2598
|
c.ctx.deactivate(l);
|
|
2600
2599
|
return;
|
|
2601
2600
|
}
|
|
2602
|
-
const R =
|
|
2601
|
+
const R = C & 1 && E, L = !ht(l);
|
|
2603
2602
|
let H;
|
|
2604
|
-
if (
|
|
2603
|
+
if (L && (H = y && y.onVnodeBeforeUnmount) && ge(H, c, l), C & 6)
|
|
2605
2604
|
br(l.component, d, m);
|
|
2606
2605
|
else {
|
|
2607
|
-
if (
|
|
2606
|
+
if (C & 128) {
|
|
2608
2607
|
l.suspense.unmount(d, m);
|
|
2609
2608
|
return;
|
|
2610
2609
|
}
|
|
2611
|
-
R &&
|
|
2610
|
+
R && Le(l, null, c, "beforeUnmount"), C & 64 ? l.type.remove(
|
|
2612
2611
|
l,
|
|
2613
2612
|
c,
|
|
2614
2613
|
d,
|
|
@@ -2626,12 +2625,12 @@ function Qi(e, t) {
|
|
|
2626
2625
|
d,
|
|
2627
2626
|
!1,
|
|
2628
2627
|
!0
|
|
2629
|
-
) : (_ === Te && w & 384 || !g &&
|
|
2628
|
+
) : (_ === Te && w & 384 || !g && C & 16) && et(x, c, d), m && $s(l);
|
|
2630
2629
|
}
|
|
2631
|
-
(
|
|
2632
|
-
H && ge(H, c, l), R &&
|
|
2630
|
+
(L && (H = y && y.onVnodeUnmounted) || R) && oe(() => {
|
|
2631
|
+
H && ge(H, c, l), R && Le(l, null, c, "unmounted");
|
|
2633
2632
|
}, d);
|
|
2634
|
-
},
|
|
2633
|
+
}, $s = (l) => {
|
|
2635
2634
|
const { type: c, el: d, anchor: m, transition: g } = l;
|
|
2636
2635
|
if (c === Te) {
|
|
2637
2636
|
mr(d, m);
|
|
@@ -2663,23 +2662,23 @@ function Qi(e, t) {
|
|
|
2663
2662
|
um: v,
|
|
2664
2663
|
m: x,
|
|
2665
2664
|
a: b,
|
|
2666
|
-
parent:
|
|
2665
|
+
parent: C,
|
|
2667
2666
|
slots: { __: w }
|
|
2668
2667
|
} = l;
|
|
2669
|
-
en(x), en(b), m && zt(m),
|
|
2670
|
-
|
|
2668
|
+
en(x), en(b), m && zt(m), C && A(w) && w.forEach((E) => {
|
|
2669
|
+
C.renderCache[E] = void 0;
|
|
2671
2670
|
}), g.stop(), _ && (_.flags |= 8, ae(y, l, c, d)), v && oe(v, c), oe(() => {
|
|
2672
2671
|
l.isUnmounted = !0;
|
|
2673
2672
|
}, c), c && c.pendingBranch && !c.isUnmounted && l.asyncDep && !l.asyncResolved && l.suspenseId === c.pendingId && (c.deps--, c.deps === 0 && c.resolve());
|
|
2674
2673
|
}, et = (l, c, d, m = !1, g = !1, _ = 0) => {
|
|
2675
2674
|
for (let y = _; y < l.length; y++)
|
|
2676
2675
|
ae(l[y], c, d, m, g);
|
|
2677
|
-
},
|
|
2676
|
+
}, Et = (l) => {
|
|
2678
2677
|
if (l.shapeFlag & 6)
|
|
2679
|
-
return
|
|
2678
|
+
return Et(l.component.subTree);
|
|
2680
2679
|
if (l.shapeFlag & 128)
|
|
2681
2680
|
return l.suspense.next();
|
|
2682
|
-
const c = S(l.anchor || l.el), d = c && c[
|
|
2681
|
+
const c = S(l.anchor || l.el), d = c && c[bi];
|
|
2683
2682
|
return d ? S(d) : c;
|
|
2684
2683
|
};
|
|
2685
2684
|
let Jt = !1;
|
|
@@ -2696,28 +2695,28 @@ function Qi(e, t) {
|
|
|
2696
2695
|
}, tt = {
|
|
2697
2696
|
p: M,
|
|
2698
2697
|
um: ae,
|
|
2699
|
-
m:
|
|
2700
|
-
r:
|
|
2698
|
+
m: Ue,
|
|
2699
|
+
r: $s,
|
|
2701
2700
|
mt: Gt,
|
|
2702
2701
|
mc: Ie,
|
|
2703
|
-
pc:
|
|
2702
|
+
pc: U,
|
|
2704
2703
|
pbc: je,
|
|
2705
|
-
n:
|
|
2704
|
+
n: Et,
|
|
2706
2705
|
o: e
|
|
2707
2706
|
};
|
|
2708
2707
|
return {
|
|
2709
2708
|
render: Vs,
|
|
2710
2709
|
hydrate: void 0,
|
|
2711
|
-
createApp:
|
|
2710
|
+
createApp: $i(Vs)
|
|
2712
2711
|
};
|
|
2713
2712
|
}
|
|
2714
2713
|
function es({ type: e, props: t }, s) {
|
|
2715
2714
|
return s === "svg" && e === "foreignObject" || s === "mathml" && e === "annotation-xml" && t && t.encoding && t.encoding.includes("html") ? void 0 : s;
|
|
2716
2715
|
}
|
|
2717
|
-
function
|
|
2716
|
+
function $e({ effect: e, job: t }, s) {
|
|
2718
2717
|
s ? (e.flags |= 32, t.flags |= 4) : (e.flags &= -33, t.flags &= -5);
|
|
2719
2718
|
}
|
|
2720
|
-
function
|
|
2719
|
+
function Xi(e, t) {
|
|
2721
2720
|
return (!e || e && !e.pendingBranch) && t && !t.persisted;
|
|
2722
2721
|
}
|
|
2723
2722
|
function lr(e, t, s = !1) {
|
|
@@ -2729,7 +2728,7 @@ function lr(e, t, s = !1) {
|
|
|
2729
2728
|
f.shapeFlag & 1 && !f.dynamicChildren && ((f.patchFlag <= 0 || f.patchFlag === 32) && (f = r[i] = Me(r[i]), f.el = o.el), !s && f.patchFlag !== -2 && lr(o, f)), f.type === qt && (f.el = o.el), f.type === Xe && !f.el && (f.el = o.el);
|
|
2730
2729
|
}
|
|
2731
2730
|
}
|
|
2732
|
-
function
|
|
2731
|
+
function Zi(e) {
|
|
2733
2732
|
const t = e.slice(), s = [0];
|
|
2734
2733
|
let n, r, i, o, f;
|
|
2735
2734
|
const u = e.length;
|
|
@@ -2759,7 +2758,7 @@ function en(e) {
|
|
|
2759
2758
|
for (let t = 0; t < e.length; t++)
|
|
2760
2759
|
e[t].flags |= 8;
|
|
2761
2760
|
}
|
|
2762
|
-
const
|
|
2761
|
+
const Qi = Symbol.for("v-scx"), ki = () => At(Qi);
|
|
2763
2762
|
function ts(e, t, s) {
|
|
2764
2763
|
return cr(e, t, s);
|
|
2765
2764
|
}
|
|
@@ -2768,7 +2767,7 @@ function cr(e, t, s = V) {
|
|
|
2768
2767
|
let h;
|
|
2769
2768
|
if (bt) {
|
|
2770
2769
|
if (i === "sync") {
|
|
2771
|
-
const T =
|
|
2770
|
+
const T = ki();
|
|
2772
2771
|
h = T.__watcherHandles || (T.__watcherHandles = []);
|
|
2773
2772
|
} else if (!u) {
|
|
2774
2773
|
const T = () => {
|
|
@@ -2786,10 +2785,10 @@ function cr(e, t, s = V) {
|
|
|
2786
2785
|
}), f.augmentJob = (T) => {
|
|
2787
2786
|
t && (T.flags |= 4), p && (T.flags |= 2, a && (T.id = a.uid, T.i = a));
|
|
2788
2787
|
};
|
|
2789
|
-
const S =
|
|
2788
|
+
const S = di(e, t, f);
|
|
2790
2789
|
return bt && (h ? h.push(S) : u && S()), S;
|
|
2791
2790
|
}
|
|
2792
|
-
function
|
|
2791
|
+
function eo(e, t, s) {
|
|
2793
2792
|
const n = this.proxy, r = J(e) ? e.includes(".") ? ur(n, e) : () => n[e] : e.bind(n, n);
|
|
2794
2793
|
let i;
|
|
2795
2794
|
I(t) ? i = t : (i = t.handler, s = t);
|
|
@@ -2805,13 +2804,13 @@ function ur(e, t) {
|
|
|
2805
2804
|
return n;
|
|
2806
2805
|
};
|
|
2807
2806
|
}
|
|
2808
|
-
const
|
|
2809
|
-
function
|
|
2807
|
+
const to = (e, t) => t === "modelValue" || t === "model-value" ? e.modelModifiers : e[`${t}Modifiers`] || e[`${He(t)}Modifiers`] || e[`${Be(t)}Modifiers`];
|
|
2808
|
+
function so(e, t, ...s) {
|
|
2810
2809
|
if (e.isUnmounted) return;
|
|
2811
2810
|
const n = e.vnode.props || V;
|
|
2812
2811
|
let r = s;
|
|
2813
|
-
const i = t.startsWith("update:"), o = i &&
|
|
2814
|
-
o && (o.trim && (r = s.map((a) => J(a) ? a.trim() : a)), o.number && (r = s.map(
|
|
2812
|
+
const i = t.startsWith("update:"), o = i && to(n, t.slice(7));
|
|
2813
|
+
o && (o.trim && (r = s.map((a) => J(a) ? a.trim() : a)), o.number && (r = s.map(Mr)));
|
|
2815
2814
|
let f, u = n[f = Yt(t)] || // also try camelCase event handler (#2249)
|
|
2816
2815
|
n[f = Yt(He(t))];
|
|
2817
2816
|
!u && i && (u = n[f = Yt(Be(t))]), u && ye(
|
|
@@ -2850,7 +2849,7 @@ function ar(e, t, s = !1) {
|
|
|
2850
2849
|
return !i && !f ? (q(e) && n.set(e, null), null) : (A(i) ? i.forEach((u) => o[u] = null) : te(o, i), q(e) && n.set(e, o), o);
|
|
2851
2850
|
}
|
|
2852
2851
|
function Bt(e, t) {
|
|
2853
|
-
return !e || !
|
|
2852
|
+
return !e || !Ut(t) ? !1 : (t = t.slice(2).replace(/Once$/, ""), D(e, t[0].toLowerCase() + t.slice(1)) || D(e, Be(t)) || D(e, t));
|
|
2854
2853
|
}
|
|
2855
2854
|
function tn(e) {
|
|
2856
2855
|
const {
|
|
@@ -2895,7 +2894,7 @@ function tn(e) {
|
|
|
2895
2894
|
p,
|
|
2896
2895
|
null
|
|
2897
2896
|
)
|
|
2898
|
-
), W = t.props ? f :
|
|
2897
|
+
), W = t.props ? f : no(f);
|
|
2899
2898
|
}
|
|
2900
2899
|
} catch (O) {
|
|
2901
2900
|
Kt(O, e, 1), N = fe(Xe);
|
|
@@ -2903,25 +2902,25 @@ function tn(e) {
|
|
|
2903
2902
|
let B = N;
|
|
2904
2903
|
if (W && M !== !1) {
|
|
2905
2904
|
const O = Object.keys(W), { shapeFlag: G } = B;
|
|
2906
|
-
O.length && G & 7 && (i && O.some(xs) && (W =
|
|
2905
|
+
O.length && G & 7 && (i && O.some(xs) && (W = ro(
|
|
2907
2906
|
W,
|
|
2908
2907
|
i
|
|
2909
2908
|
)), B = Ze(B, W, !1, !0));
|
|
2910
2909
|
}
|
|
2911
2910
|
return s.dirs && (B = Ze(B, null, !1, !0), B.dirs = B.dirs ? B.dirs.concat(s.dirs) : s.dirs), s.transition && Fs(B, s.transition), N = B, Dt(Y), N;
|
|
2912
2911
|
}
|
|
2913
|
-
const
|
|
2912
|
+
const no = (e) => {
|
|
2914
2913
|
let t;
|
|
2915
2914
|
for (const s in e)
|
|
2916
|
-
(s === "class" || s === "style" ||
|
|
2915
|
+
(s === "class" || s === "style" || Ut(s)) && ((t || (t = {}))[s] = e[s]);
|
|
2917
2916
|
return t;
|
|
2918
|
-
},
|
|
2917
|
+
}, ro = (e, t) => {
|
|
2919
2918
|
const s = {};
|
|
2920
2919
|
for (const n in e)
|
|
2921
2920
|
(!xs(n) || !(n.slice(9) in t)) && (s[n] = e[n]);
|
|
2922
2921
|
return s;
|
|
2923
2922
|
};
|
|
2924
|
-
function
|
|
2923
|
+
function io(e, t, s) {
|
|
2925
2924
|
const { props: n, children: r, component: i } = e, { props: o, children: f, patchFlag: u } = t, h = i.emitsOptions;
|
|
2926
2925
|
if (t.dirs || t.transition)
|
|
2927
2926
|
return !0;
|
|
@@ -2953,7 +2952,7 @@ function sn(e, t, s) {
|
|
|
2953
2952
|
}
|
|
2954
2953
|
return !1;
|
|
2955
2954
|
}
|
|
2956
|
-
function
|
|
2955
|
+
function oo({ vnode: e, parent: t }, s) {
|
|
2957
2956
|
for (; t; ) {
|
|
2958
2957
|
const n = t.subTree;
|
|
2959
2958
|
if (n.suspense && n.suspense.activeBranch === e && (n.el = e.el), n === e)
|
|
@@ -2963,8 +2962,8 @@ function co({ vnode: e, parent: t }, s) {
|
|
|
2963
2962
|
}
|
|
2964
2963
|
}
|
|
2965
2964
|
const dr = (e) => e.__isSuspense;
|
|
2966
|
-
function
|
|
2967
|
-
t && t.pendingBranch ? A(e) ? t.effects.push(...e) : t.effects.push(e) :
|
|
2965
|
+
function lo(e, t) {
|
|
2966
|
+
t && t.pendingBranch ? A(e) ? t.effects.push(...e) : t.effects.push(e) : _i(e);
|
|
2968
2967
|
}
|
|
2969
2968
|
const Te = Symbol.for("v-fgt"), qt = Symbol.for("v-txt"), Xe = Symbol.for("v-cmt"), ss = Symbol.for("v-stc");
|
|
2970
2969
|
let De = null, js = 1;
|
|
@@ -2982,7 +2981,7 @@ const hr = ({ key: e }) => e != null ? e : null, It = ({
|
|
|
2982
2981
|
ref_key: t,
|
|
2983
2982
|
ref_for: s
|
|
2984
2983
|
}) => (typeof e == "number" && (e = "" + e), e != null ? J(e) || ee(e) || I(e) ? { i: be, r: e, k: t, f: !!s } : e : null);
|
|
2985
|
-
function
|
|
2984
|
+
function fo(e, t = null, s = null, n = 0, r = null, i = e === Te ? 0 : 1, o = !1, f = !1) {
|
|
2986
2985
|
const u = {
|
|
2987
2986
|
__v_isVNode: !0,
|
|
2988
2987
|
__v_skip: !0,
|
|
@@ -3022,9 +3021,9 @@ function ao(e, t = null, s = null, n = 0, r = null, i = e === Te ? 0 : 1, o = !1
|
|
|
3022
3021
|
// vnode should not be considered dynamic due to handler caching.
|
|
3023
3022
|
u.patchFlag !== 32 && De.push(u), u;
|
|
3024
3023
|
}
|
|
3025
|
-
const fe =
|
|
3026
|
-
function
|
|
3027
|
-
if ((!e || e ===
|
|
3024
|
+
const fe = co;
|
|
3025
|
+
function co(e, t = null, s = null, n = 0, r = null, i = !1) {
|
|
3026
|
+
if ((!e || e === Mi) && (e = Xe), jt(e)) {
|
|
3028
3027
|
const f = Ze(
|
|
3029
3028
|
e,
|
|
3030
3029
|
t,
|
|
@@ -3033,13 +3032,13 @@ function ho(e, t = null, s = null, n = 0, r = null, i = !1) {
|
|
|
3033
3032
|
);
|
|
3034
3033
|
return s && Ns(f, s), js > 0 && !i && De && (f.shapeFlag & 6 ? De[De.indexOf(e)] = f : De.push(f)), f.patchFlag = -2, f;
|
|
3035
3034
|
}
|
|
3036
|
-
if (
|
|
3037
|
-
t =
|
|
3035
|
+
if (yo(e) && (e = e.__vccOpts), t) {
|
|
3036
|
+
t = uo(t);
|
|
3038
3037
|
let { class: f, style: u } = t;
|
|
3039
3038
|
f && !J(f) && (t.class = Ss(f)), q(u) && (Rs(u) && !A(u) && (u = te({}, u)), t.style = ws(u));
|
|
3040
3039
|
}
|
|
3041
|
-
const o = J(e) ? 1 : dr(e) ? 128 :
|
|
3042
|
-
return
|
|
3040
|
+
const o = J(e) ? 1 : dr(e) ? 128 : xi(e) ? 64 : q(e) ? 4 : I(e) ? 2 : 0;
|
|
3041
|
+
return fo(
|
|
3043
3042
|
e,
|
|
3044
3043
|
t,
|
|
3045
3044
|
s,
|
|
@@ -3050,11 +3049,11 @@ function ho(e, t = null, s = null, n = 0, r = null, i = !1) {
|
|
|
3050
3049
|
!0
|
|
3051
3050
|
);
|
|
3052
3051
|
}
|
|
3053
|
-
function
|
|
3052
|
+
function uo(e) {
|
|
3054
3053
|
return e ? Rs(e) || tr(e) ? te({}, e) : e : null;
|
|
3055
3054
|
}
|
|
3056
3055
|
function Ze(e, t, s = !1, n = !1) {
|
|
3057
|
-
const { props: r, ref: i, patchFlag: o, children: f, transition: u } = e, h = t ?
|
|
3056
|
+
const { props: r, ref: i, patchFlag: o, children: f, transition: u } = e, h = t ? ho(r || {}, t) : r, a = {
|
|
3058
3057
|
__v_isVNode: !0,
|
|
3059
3058
|
__v_skip: !0,
|
|
3060
3059
|
type: e.type,
|
|
@@ -3102,7 +3101,7 @@ function Ze(e, t, s = !1, n = !1) {
|
|
|
3102
3101
|
u.clone(a)
|
|
3103
3102
|
), a;
|
|
3104
3103
|
}
|
|
3105
|
-
function
|
|
3104
|
+
function ao(e = " ", t = 0) {
|
|
3106
3105
|
return fe(qt, null, e, t);
|
|
3107
3106
|
}
|
|
3108
3107
|
function me(e) {
|
|
@@ -3133,10 +3132,10 @@ function Ns(e, t) {
|
|
|
3133
3132
|
const r = t._;
|
|
3134
3133
|
!r && !tr(t) ? t._ctx = be : r === 3 && be && (be.slots._ === 1 ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024));
|
|
3135
3134
|
}
|
|
3136
|
-
else I(t) ? (t = { default: t, _ctx: be }, s = 32) : (t = String(t), n & 64 ? (s = 16, t = [
|
|
3135
|
+
else I(t) ? (t = { default: t, _ctx: be }, s = 32) : (t = String(t), n & 64 ? (s = 16, t = [ao(t)]) : s = 8);
|
|
3137
3136
|
e.children = t, e.shapeFlag |= s;
|
|
3138
3137
|
}
|
|
3139
|
-
function
|
|
3138
|
+
function ho(...e) {
|
|
3140
3139
|
const t = {};
|
|
3141
3140
|
for (let s = 0; s < e.length; s++) {
|
|
3142
3141
|
const n = e[s];
|
|
@@ -3145,7 +3144,7 @@ function _o(...e) {
|
|
|
3145
3144
|
t.class !== n.class && (t.class = Ss([t.class, n.class]));
|
|
3146
3145
|
else if (r === "style")
|
|
3147
3146
|
t.style = ws([t.style, n.style]);
|
|
3148
|
-
else if (
|
|
3147
|
+
else if (Ut(r)) {
|
|
3149
3148
|
const i = t[r], o = n[r];
|
|
3150
3149
|
o && i !== o && !(A(i) && i.includes(o)) && (t[r] = i ? [].concat(i, o) : o);
|
|
3151
3150
|
} else r !== "" && (t[r] = n[r]);
|
|
@@ -3158,11 +3157,11 @@ function ge(e, t, s, n = null) {
|
|
|
3158
3157
|
n
|
|
3159
3158
|
]);
|
|
3160
3159
|
}
|
|
3161
|
-
const
|
|
3162
|
-
let
|
|
3163
|
-
function
|
|
3164
|
-
const n = e.type, r = (t ? t.appContext : e.appContext) ||
|
|
3165
|
-
uid:
|
|
3160
|
+
const po = Qn();
|
|
3161
|
+
let go = 0;
|
|
3162
|
+
function _o(e, t, s) {
|
|
3163
|
+
const n = e.type, r = (t ? t.appContext : e.appContext) || po, i = {
|
|
3164
|
+
uid: go++,
|
|
3166
3165
|
vnode: e,
|
|
3167
3166
|
type: n,
|
|
3168
3167
|
parent: t,
|
|
@@ -3176,7 +3175,7 @@ function xo(e, t, s) {
|
|
|
3176
3175
|
update: null,
|
|
3177
3176
|
// will be set synchronously right after creation
|
|
3178
3177
|
job: null,
|
|
3179
|
-
scope: new
|
|
3178
|
+
scope: new Lr(
|
|
3180
3179
|
!0
|
|
3181
3180
|
/* detached */
|
|
3182
3181
|
),
|
|
@@ -3237,7 +3236,7 @@ function xo(e, t, s) {
|
|
|
3237
3236
|
ec: null,
|
|
3238
3237
|
sp: null
|
|
3239
3238
|
};
|
|
3240
|
-
return i.ctx = { _: i }, i.root = t ? t.root : i, i.emit =
|
|
3239
|
+
return i.ctx = { _: i }, i.root = t ? t.root : i, i.emit = so.bind(null, i), e.ce && e.ce(i), i;
|
|
3241
3240
|
}
|
|
3242
3241
|
let k = null, Nt, gs;
|
|
3243
3242
|
{
|
|
@@ -3267,20 +3266,20 @@ function pr(e) {
|
|
|
3267
3266
|
return e.vnode.shapeFlag & 4;
|
|
3268
3267
|
}
|
|
3269
3268
|
let bt = !1;
|
|
3270
|
-
function
|
|
3269
|
+
function mo(e, t = !1, s = !1) {
|
|
3271
3270
|
t && gs(t);
|
|
3272
3271
|
const { props: n, children: r } = e.vnode, i = pr(e);
|
|
3273
|
-
|
|
3274
|
-
const o = i ?
|
|
3272
|
+
Ki(e, n, i, t), Gi(e, r, s || t);
|
|
3273
|
+
const o = i ? bo(e, t) : void 0;
|
|
3275
3274
|
return t && gs(!1), o;
|
|
3276
3275
|
}
|
|
3277
|
-
function
|
|
3276
|
+
function bo(e, t) {
|
|
3278
3277
|
const s = e.type;
|
|
3279
|
-
e.accessCache = /* @__PURE__ */ Object.create(null), e.proxy = new Proxy(e.ctx,
|
|
3278
|
+
e.accessCache = /* @__PURE__ */ Object.create(null), e.proxy = new Proxy(e.ctx, Fi);
|
|
3280
3279
|
const { setup: n } = s;
|
|
3281
3280
|
if (n) {
|
|
3282
|
-
|
|
3283
|
-
const r = e.setupContext = n.length > 1 ?
|
|
3281
|
+
Ce();
|
|
3282
|
+
const r = e.setupContext = n.length > 1 ? vo(e) : null, i = vt(e), o = xt(
|
|
3284
3283
|
n,
|
|
3285
3284
|
e,
|
|
3286
3285
|
0,
|
|
@@ -3303,39 +3302,39 @@ function yo(e, t) {
|
|
|
3303
3302
|
gr(e);
|
|
3304
3303
|
}
|
|
3305
3304
|
function on(e, t, s) {
|
|
3306
|
-
I(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : q(t) && (e.setupState =
|
|
3305
|
+
I(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : q(t) && (e.setupState = $n(t)), gr(e);
|
|
3307
3306
|
}
|
|
3308
3307
|
function gr(e, t, s) {
|
|
3309
3308
|
const n = e.type;
|
|
3310
3309
|
e.render || (e.render = n.render || xe);
|
|
3311
3310
|
{
|
|
3312
3311
|
const r = vt(e);
|
|
3313
|
-
|
|
3312
|
+
Ce();
|
|
3314
3313
|
try {
|
|
3315
|
-
|
|
3314
|
+
Di(e);
|
|
3316
3315
|
} finally {
|
|
3317
3316
|
Oe(), r();
|
|
3318
3317
|
}
|
|
3319
3318
|
}
|
|
3320
3319
|
}
|
|
3321
|
-
const
|
|
3320
|
+
const xo = {
|
|
3322
3321
|
get(e, t) {
|
|
3323
3322
|
return z(e, "get", ""), e[t];
|
|
3324
3323
|
}
|
|
3325
3324
|
};
|
|
3326
|
-
function
|
|
3325
|
+
function vo(e) {
|
|
3327
3326
|
const t = (s) => {
|
|
3328
3327
|
e.exposed = s || {};
|
|
3329
3328
|
};
|
|
3330
3329
|
return {
|
|
3331
|
-
attrs: new Proxy(e.attrs,
|
|
3330
|
+
attrs: new Proxy(e.attrs, xo),
|
|
3332
3331
|
slots: e.slots,
|
|
3333
3332
|
emit: e.emit,
|
|
3334
3333
|
expose: t
|
|
3335
3334
|
};
|
|
3336
3335
|
}
|
|
3337
|
-
function
|
|
3338
|
-
return e.exposed ? e.exposeProxy || (e.exposeProxy = new Proxy(
|
|
3336
|
+
function Us(e) {
|
|
3337
|
+
return e.exposed ? e.exposeProxy || (e.exposeProxy = new Proxy($n(oi(e.exposed)), {
|
|
3339
3338
|
get(t, s) {
|
|
3340
3339
|
if (s in t)
|
|
3341
3340
|
return t[s];
|
|
@@ -3347,15 +3346,15 @@ function Ls(e) {
|
|
|
3347
3346
|
}
|
|
3348
3347
|
})) : e.proxy;
|
|
3349
3348
|
}
|
|
3350
|
-
function
|
|
3349
|
+
function yo(e) {
|
|
3351
3350
|
return I(e) && "__vccOpts" in e;
|
|
3352
3351
|
}
|
|
3353
|
-
const
|
|
3354
|
-
function
|
|
3352
|
+
const wo = (e, t) => ui(e, t, bt);
|
|
3353
|
+
function So(e, t, s) {
|
|
3355
3354
|
const n = arguments.length;
|
|
3356
3355
|
return n === 2 ? q(t) && !A(t) ? jt(t) ? fe(e, null, [t]) : fe(e, t) : fe(e, null, t) : (n > 3 ? s = Array.prototype.slice.call(arguments, 2) : n === 3 && jt(s) && (s = [s]), fe(e, t, s));
|
|
3357
3356
|
}
|
|
3358
|
-
const
|
|
3357
|
+
const To = "3.5.17";
|
|
3359
3358
|
/**
|
|
3360
3359
|
* @vue/runtime-dom v3.5.17
|
|
3361
3360
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
@@ -3370,7 +3369,7 @@ if (ln)
|
|
|
3370
3369
|
});
|
|
3371
3370
|
} catch {
|
|
3372
3371
|
}
|
|
3373
|
-
const _r = _s ? (e) => _s.createHTML(e) : (e) => e,
|
|
3372
|
+
const _r = _s ? (e) => _s.createHTML(e) : (e) => e, Eo = "http://www.w3.org/2000/svg", Co = "http://www.w3.org/1998/Math/MathML", Se = typeof document < "u" ? document : null, fn = Se && /* @__PURE__ */ Se.createElement("template"), Oo = {
|
|
3374
3373
|
insert: (e, t, s) => {
|
|
3375
3374
|
t.insertBefore(e, s || null);
|
|
3376
3375
|
},
|
|
@@ -3379,7 +3378,7 @@ const _r = _s ? (e) => _s.createHTML(e) : (e) => e, Po = "http://www.w3.org/2000
|
|
|
3379
3378
|
t && t.removeChild(e);
|
|
3380
3379
|
},
|
|
3381
3380
|
createElement: (e, t, s, n) => {
|
|
3382
|
-
const r = t === "svg" ? Se.createElementNS(
|
|
3381
|
+
const r = t === "svg" ? Se.createElementNS(Eo, e) : t === "mathml" ? Se.createElementNS(Co, e) : s ? Se.createElement(e, { is: s }) : Se.createElement(e);
|
|
3383
3382
|
return e === "select" && n && n.multiple != null && r.setAttribute("multiple", n.multiple), r;
|
|
3384
3383
|
},
|
|
3385
3384
|
createText: (e) => Se.createTextNode(e),
|
|
@@ -3425,13 +3424,13 @@ const _r = _s ? (e) => _s.createHTML(e) : (e) => e, Po = "http://www.w3.org/2000
|
|
|
3425
3424
|
s ? s.previousSibling : t.lastChild
|
|
3426
3425
|
];
|
|
3427
3426
|
}
|
|
3428
|
-
},
|
|
3429
|
-
function
|
|
3430
|
-
const n = e[
|
|
3427
|
+
}, Po = Symbol("_vtc");
|
|
3428
|
+
function Ao(e, t, s) {
|
|
3429
|
+
const n = e[Po];
|
|
3431
3430
|
n && (t = (t ? [t, ...n] : [...n]).join(" ")), t == null ? e.removeAttribute("class") : s ? e.setAttribute("class", t) : e.className = t;
|
|
3432
3431
|
}
|
|
3433
|
-
const cn = Symbol("_vod"),
|
|
3434
|
-
function
|
|
3432
|
+
const cn = Symbol("_vod"), Io = Symbol("_vsh"), Ro = Symbol(""), Mo = /(^|;)\s*display\s*:/;
|
|
3433
|
+
function Fo(e, t, s) {
|
|
3435
3434
|
const n = e.style, r = J(s);
|
|
3436
3435
|
let i = !1;
|
|
3437
3436
|
if (s && !r) {
|
|
@@ -3448,11 +3447,11 @@ function jo(e, t, s) {
|
|
|
3448
3447
|
o === "display" && (i = !0), Rt(n, o, s[o]);
|
|
3449
3448
|
} else if (r) {
|
|
3450
3449
|
if (t !== s) {
|
|
3451
|
-
const o = n[
|
|
3452
|
-
o && (s += ";" + o), n.cssText = s, i =
|
|
3450
|
+
const o = n[Ro];
|
|
3451
|
+
o && (s += ";" + o), n.cssText = s, i = Mo.test(s);
|
|
3453
3452
|
}
|
|
3454
3453
|
} else t && e.removeAttribute("style");
|
|
3455
|
-
cn in e && (e[cn] = i ? n.display : "", e[
|
|
3454
|
+
cn in e && (e[cn] = i ? n.display : "", e[Io] && (n.display = "none"));
|
|
3456
3455
|
}
|
|
3457
3456
|
const un = /\s*!important$/;
|
|
3458
3457
|
function Rt(e, t, s) {
|
|
@@ -3461,7 +3460,7 @@ function Rt(e, t, s) {
|
|
|
3461
3460
|
else if (s == null && (s = ""), t.startsWith("--"))
|
|
3462
3461
|
e.setProperty(t, s);
|
|
3463
3462
|
else {
|
|
3464
|
-
const n =
|
|
3463
|
+
const n = Do(e, t);
|
|
3465
3464
|
un.test(s) ? e.setProperty(
|
|
3466
3465
|
Be(n),
|
|
3467
3466
|
s.replace(un, ""),
|
|
@@ -3470,7 +3469,7 @@ function Rt(e, t, s) {
|
|
|
3470
3469
|
}
|
|
3471
3470
|
}
|
|
3472
3471
|
const an = ["Webkit", "Moz", "ms"], ns = {};
|
|
3473
|
-
function
|
|
3472
|
+
function Do(e, t) {
|
|
3474
3473
|
const s = ns[t];
|
|
3475
3474
|
if (s)
|
|
3476
3475
|
return s;
|
|
@@ -3486,7 +3485,7 @@ function No(e, t) {
|
|
|
3486
3485
|
return t;
|
|
3487
3486
|
}
|
|
3488
3487
|
const dn = "http://www.w3.org/1999/xlink";
|
|
3489
|
-
function hn(e, t, s, n, r, i =
|
|
3488
|
+
function hn(e, t, s, n, r, i = Ur(t)) {
|
|
3490
3489
|
n && t.startsWith("xlink:") ? s == null ? e.removeAttributeNS(dn, t.slice(6, t.length)) : e.setAttributeNS(dn, t, s) : s == null || i && !Sn(s) ? e.removeAttribute(t) : e.setAttribute(
|
|
3491
3490
|
t,
|
|
3492
3491
|
i ? "" : Qe(s) ? String(s) : s
|
|
@@ -3519,30 +3518,30 @@ function pn(e, t, s, n, r) {
|
|
|
3519
3518
|
}
|
|
3520
3519
|
o && e.removeAttribute(r || t);
|
|
3521
3520
|
}
|
|
3522
|
-
function
|
|
3521
|
+
function Ho(e, t, s, n) {
|
|
3523
3522
|
e.addEventListener(t, s, n);
|
|
3524
3523
|
}
|
|
3525
|
-
function
|
|
3524
|
+
function jo(e, t, s, n) {
|
|
3526
3525
|
e.removeEventListener(t, s, n);
|
|
3527
3526
|
}
|
|
3528
3527
|
const gn = Symbol("_vei");
|
|
3529
|
-
function
|
|
3528
|
+
function No(e, t, s, n, r = null) {
|
|
3530
3529
|
const i = e[gn] || (e[gn] = {}), o = i[t];
|
|
3531
3530
|
if (n && o)
|
|
3532
3531
|
o.value = n;
|
|
3533
3532
|
else {
|
|
3534
|
-
const [f, u] =
|
|
3533
|
+
const [f, u] = Uo(t);
|
|
3535
3534
|
if (n) {
|
|
3536
|
-
const h = i[t] =
|
|
3535
|
+
const h = i[t] = Vo(
|
|
3537
3536
|
n,
|
|
3538
3537
|
r
|
|
3539
3538
|
);
|
|
3540
|
-
|
|
3541
|
-
} else o && (
|
|
3539
|
+
Ho(e, f, h, u);
|
|
3540
|
+
} else o && (jo(e, f, o, u), i[t] = void 0);
|
|
3542
3541
|
}
|
|
3543
3542
|
}
|
|
3544
3543
|
const _n = /(?:Once|Passive|Capture)$/;
|
|
3545
|
-
function
|
|
3544
|
+
function Uo(e) {
|
|
3546
3545
|
let t;
|
|
3547
3546
|
if (_n.test(e)) {
|
|
3548
3547
|
t = {};
|
|
@@ -3553,23 +3552,23 @@ function Vo(e) {
|
|
|
3553
3552
|
return [e[2] === ":" ? e.slice(3) : Be(e.slice(2)), t];
|
|
3554
3553
|
}
|
|
3555
3554
|
let rs = 0;
|
|
3556
|
-
const
|
|
3557
|
-
function
|
|
3555
|
+
const Lo = /* @__PURE__ */ Promise.resolve(), $o = () => rs || (Lo.then(() => rs = 0), rs = Date.now());
|
|
3556
|
+
function Vo(e, t) {
|
|
3558
3557
|
const s = (n) => {
|
|
3559
3558
|
if (!n._vts)
|
|
3560
3559
|
n._vts = Date.now();
|
|
3561
3560
|
else if (n._vts <= s.attached)
|
|
3562
3561
|
return;
|
|
3563
3562
|
ye(
|
|
3564
|
-
|
|
3563
|
+
Ko(n, s.value),
|
|
3565
3564
|
t,
|
|
3566
3565
|
5,
|
|
3567
3566
|
[n]
|
|
3568
3567
|
);
|
|
3569
3568
|
};
|
|
3570
|
-
return s.value = e, s.attached =
|
|
3569
|
+
return s.value = e, s.attached = $o(), s;
|
|
3571
3570
|
}
|
|
3572
|
-
function
|
|
3571
|
+
function Ko(e, t) {
|
|
3573
3572
|
if (A(t)) {
|
|
3574
3573
|
const s = e.stopImmediatePropagation;
|
|
3575
3574
|
return e.stopImmediatePropagation = () => {
|
|
@@ -3581,11 +3580,11 @@ function qo(e, t) {
|
|
|
3581
3580
|
return t;
|
|
3582
3581
|
}
|
|
3583
3582
|
const mn = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // lowercase letter
|
|
3584
|
-
e.charCodeAt(2) > 96 && e.charCodeAt(2) < 123,
|
|
3583
|
+
e.charCodeAt(2) > 96 && e.charCodeAt(2) < 123, Wo = (e, t, s, n, r, i) => {
|
|
3585
3584
|
const o = r === "svg";
|
|
3586
|
-
t === "class" ?
|
|
3585
|
+
t === "class" ? Ao(e, n, o) : t === "style" ? Fo(e, s, n) : Ut(t) ? xs(t) || No(e, t, s, n, i) : (t[0] === "." ? (t = t.slice(1), !0) : t[0] === "^" ? (t = t.slice(1), !1) : Bo(e, t, n, o)) ? (pn(e, t, n), !e.tagName.includes("-") && (t === "value" || t === "checked" || t === "selected") && hn(e, t, n, o, i, t !== "value")) : /* #11081 force set props for possible async custom element */ e._isVueCE && (/[A-Z]/.test(t) || !J(n)) ? pn(e, He(t), n, i, t) : (t === "true-value" ? e._trueValue = n : t === "false-value" && (e._falseValue = n), hn(e, t, n, o));
|
|
3587
3586
|
};
|
|
3588
|
-
function
|
|
3587
|
+
function Bo(e, t, s, n) {
|
|
3589
3588
|
if (n)
|
|
3590
3589
|
return !!(t === "innerHTML" || t === "textContent" || t in e && mn(t) && I(s));
|
|
3591
3590
|
if (t === "spellcheck" || t === "draggable" || t === "translate" || t === "autocorrect" || t === "form" || t === "list" && e.tagName === "INPUT" || t === "type" && e.tagName === "TEXTAREA")
|
|
@@ -3597,50 +3596,47 @@ function Jo(e, t, s, n) {
|
|
|
3597
3596
|
}
|
|
3598
3597
|
return mn(t) && J(s) ? !1 : t in e;
|
|
3599
3598
|
}
|
|
3600
|
-
const
|
|
3599
|
+
const qo = /* @__PURE__ */ te({ patchProp: Wo }, Oo);
|
|
3601
3600
|
let bn;
|
|
3602
|
-
function
|
|
3603
|
-
return bn || (bn =
|
|
3601
|
+
function Go() {
|
|
3602
|
+
return bn || (bn = Yi(qo));
|
|
3604
3603
|
}
|
|
3605
|
-
const
|
|
3606
|
-
|
|
3604
|
+
const xn = (...e) => {
|
|
3605
|
+
Go().render(...e);
|
|
3607
3606
|
};
|
|
3608
|
-
var
|
|
3609
|
-
for (var r = n > 1 ? void 0 : n ?
|
|
3607
|
+
var Jo = Object.defineProperty, Yo = Object.getOwnPropertyDescriptor, zo = (e, t, s) => t in e ? Jo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, Xo = (e, t, s, n) => {
|
|
3608
|
+
for (var r = n > 1 ? void 0 : n ? Yo(t, s) : t, i = e.length - 1, o; i >= 0; i--)
|
|
3610
3609
|
(o = e[i]) && (r = o(r) || r);
|
|
3611
3610
|
return r;
|
|
3612
|
-
},
|
|
3611
|
+
}, vn = (e, t) => (s, n) => t(s, n, e), Zo = (e, t, s) => zo(e, t + "", s);
|
|
3613
3612
|
let ms = class extends yr {
|
|
3614
3613
|
constructor(e = {}, t, s) {
|
|
3615
3614
|
super(), this._config = e, this._injector = t, this._componentManager = s;
|
|
3616
3615
|
}
|
|
3617
3616
|
onStarting() {
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
})
|
|
3625
|
-
);
|
|
3626
|
-
});
|
|
3617
|
+
const { createElement: e, useEffect: t, useRef: s } = this._componentManager.reactUtils;
|
|
3618
|
+
this._componentManager.setHandler("vue3", (n) => (r) => e(Qo, {
|
|
3619
|
+
component: n,
|
|
3620
|
+
props: Object.keys(r).reduce((i, o) => (o !== "key" && (i[o] = r[o]), i), {}),
|
|
3621
|
+
reactUtils: { createElement: e, useEffect: t, useRef: s }
|
|
3622
|
+
}));
|
|
3627
3623
|
}
|
|
3628
3624
|
};
|
|
3629
|
-
|
|
3630
|
-
ms =
|
|
3625
|
+
Zo(ms, "pluginName", "UNIVER_UI_ADAPTER_VUE3_PLUGIN");
|
|
3626
|
+
ms = Xo([
|
|
3631
3627
|
xr(wr),
|
|
3632
|
-
|
|
3633
|
-
|
|
3628
|
+
vn(1, Bs(vr)),
|
|
3629
|
+
vn(2, Bs(Sr))
|
|
3634
3630
|
], ms);
|
|
3635
|
-
function
|
|
3636
|
-
const { component: t, props: s } = e, n =
|
|
3637
|
-
return
|
|
3638
|
-
if (!
|
|
3639
|
-
const
|
|
3640
|
-
return
|
|
3641
|
-
|
|
3631
|
+
function Qo(e) {
|
|
3632
|
+
const { component: t, props: s, reactUtils: n } = e, { createElement: r, useEffect: i, useRef: o } = n, f = o(null);
|
|
3633
|
+
return i(() => {
|
|
3634
|
+
if (!f.current) return;
|
|
3635
|
+
const u = So(t, s);
|
|
3636
|
+
return xn(u, f.current), () => {
|
|
3637
|
+
f.current && xn(null, f.current);
|
|
3642
3638
|
};
|
|
3643
|
-
}, [s]),
|
|
3639
|
+
}, [s]), r("div", { ref: f });
|
|
3644
3640
|
}
|
|
3645
3641
|
export {
|
|
3646
3642
|
ms as UniverVue3AdapterPlugin
|