@univerjs/ui-adapter-vue3 0.9.1-nightly.202507061606 → 0.9.1-nightly.202507081607
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 +1 -17
- package/lib/es/index.js +30 -3633
- package/lib/index.js +30 -3633
- package/lib/umd/index.js +1 -20
- package/package.json +4 -4
package/lib/es/index.js
CHANGED
|
@@ -1,3643 +1,40 @@
|
|
|
1
|
-
import { DependentOn as
|
|
2
|
-
import { UniverUIPlugin as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
**/
|
|
8
|
-
/*! #__NO_SIDE_EFFECTS__ */
|
|
9
|
-
// @__NO_SIDE_EFFECTS__
|
|
10
|
-
function bs(e) {
|
|
11
|
-
const t = /* @__PURE__ */ Object.create(null);
|
|
12
|
-
for (const s of e.split(",")) t[s] = 1;
|
|
13
|
-
return (s) => s in t;
|
|
14
|
-
}
|
|
15
|
-
const V = {}, ot = [], xe = () => {
|
|
16
|
-
}, Tr = () => !1, Ut = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
|
|
17
|
-
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), xs = (e) => e.startsWith("onUpdate:"), te = Object.assign, vs = (e, t) => {
|
|
18
|
-
const s = e.indexOf(t);
|
|
19
|
-
s > -1 && e.splice(s, 1);
|
|
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(
|
|
21
|
-
// the leading comma is intentional so empty string "" is also included
|
|
22
|
-
",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
|
|
23
|
-
), $t = (e) => {
|
|
24
|
-
const t = /* @__PURE__ */ Object.create(null);
|
|
25
|
-
return (s) => t[s] || (t[s] = e(s));
|
|
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(
|
|
31
|
-
(e) => e ? `on${wn(e)}` : ""
|
|
32
|
-
), Ke = (e, t) => !Object.is(e, t), zt = (e, ...t) => {
|
|
33
|
-
for (let s = 0; s < e.length; s++)
|
|
34
|
-
e[s](...t);
|
|
35
|
-
}, is = (e, t, s, n = !1) => {
|
|
36
|
-
Object.defineProperty(e, t, {
|
|
37
|
-
configurable: !0,
|
|
38
|
-
enumerable: !1,
|
|
39
|
-
writable: n,
|
|
40
|
-
value: s
|
|
41
|
-
});
|
|
42
|
-
}, Mr = (e) => {
|
|
43
|
-
const t = parseFloat(e);
|
|
44
|
-
return isNaN(t) ? e : t;
|
|
45
|
-
};
|
|
46
|
-
let qs;
|
|
47
|
-
const Vt = () => qs || (qs = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
|
|
48
|
-
function ws(e) {
|
|
49
|
-
if (A(e)) {
|
|
50
|
-
const t = {};
|
|
51
|
-
for (let s = 0; s < e.length; s++) {
|
|
52
|
-
const n = e[s], r = J(n) ? jr(n) : ws(n);
|
|
53
|
-
if (r)
|
|
54
|
-
for (const i in r)
|
|
55
|
-
t[i] = r[i];
|
|
56
|
-
}
|
|
57
|
-
return t;
|
|
58
|
-
} else if (J(e) || q(e))
|
|
59
|
-
return e;
|
|
60
|
-
}
|
|
61
|
-
const Fr = /;(?![^(]*\))/g, Dr = /:([^]+)/, Hr = /\/\*[^]*?\*\//g;
|
|
62
|
-
function jr(e) {
|
|
63
|
-
const t = {};
|
|
64
|
-
return e.replace(Hr, "").split(Fr).forEach((s) => {
|
|
65
|
-
if (s) {
|
|
66
|
-
const n = s.split(Dr);
|
|
67
|
-
n.length > 1 && (t[n[0].trim()] = n[1].trim());
|
|
68
|
-
}
|
|
69
|
-
}), t;
|
|
70
|
-
}
|
|
71
|
-
function Ss(e) {
|
|
72
|
-
let t = "";
|
|
73
|
-
if (J(e))
|
|
74
|
-
t = e;
|
|
75
|
-
else if (A(e))
|
|
76
|
-
for (let s = 0; s < e.length; s++) {
|
|
77
|
-
const n = Ss(e[s]);
|
|
78
|
-
n && (t += n + " ");
|
|
79
|
-
}
|
|
80
|
-
else if (q(e))
|
|
81
|
-
for (const s in e)
|
|
82
|
-
e[s] && (t += s + " ");
|
|
83
|
-
return t.trim();
|
|
84
|
-
}
|
|
85
|
-
const Nr = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly", Ur = /* @__PURE__ */ bs(Nr);
|
|
86
|
-
function Sn(e) {
|
|
87
|
-
return !!e || e === "";
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* @vue/reactivity v3.5.17
|
|
91
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
92
|
-
* @license MIT
|
|
93
|
-
**/
|
|
94
|
-
let re;
|
|
95
|
-
class Lr {
|
|
96
|
-
constructor(t = !1) {
|
|
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(
|
|
98
|
-
this
|
|
99
|
-
) - 1);
|
|
100
|
-
}
|
|
101
|
-
get active() {
|
|
102
|
-
return this._active;
|
|
103
|
-
}
|
|
104
|
-
pause() {
|
|
105
|
-
if (this._active) {
|
|
106
|
-
this._isPaused = !0;
|
|
107
|
-
let t, s;
|
|
108
|
-
if (this.scopes)
|
|
109
|
-
for (t = 0, s = this.scopes.length; t < s; t++)
|
|
110
|
-
this.scopes[t].pause();
|
|
111
|
-
for (t = 0, s = this.effects.length; t < s; t++)
|
|
112
|
-
this.effects[t].pause();
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
/**
|
|
116
|
-
* Resumes the effect scope, including all child scopes and effects.
|
|
117
|
-
*/
|
|
118
|
-
resume() {
|
|
119
|
-
if (this._active && this._isPaused) {
|
|
120
|
-
this._isPaused = !1;
|
|
121
|
-
let t, s;
|
|
122
|
-
if (this.scopes)
|
|
123
|
-
for (t = 0, s = this.scopes.length; t < s; t++)
|
|
124
|
-
this.scopes[t].resume();
|
|
125
|
-
for (t = 0, s = this.effects.length; t < s; t++)
|
|
126
|
-
this.effects[t].resume();
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
run(t) {
|
|
130
|
-
if (this._active) {
|
|
131
|
-
const s = re;
|
|
132
|
-
try {
|
|
133
|
-
return re = this, t();
|
|
134
|
-
} finally {
|
|
135
|
-
re = s;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
/**
|
|
140
|
-
* This should only be called on non-detached scopes
|
|
141
|
-
* @internal
|
|
142
|
-
*/
|
|
143
|
-
on() {
|
|
144
|
-
++this._on === 1 && (this.prevScope = re, re = this);
|
|
145
|
-
}
|
|
146
|
-
/**
|
|
147
|
-
* This should only be called on non-detached scopes
|
|
148
|
-
* @internal
|
|
149
|
-
*/
|
|
150
|
-
off() {
|
|
151
|
-
this._on > 0 && --this._on === 0 && (re = this.prevScope, this.prevScope = void 0);
|
|
152
|
-
}
|
|
153
|
-
stop(t) {
|
|
154
|
-
if (this._active) {
|
|
155
|
-
this._active = !1;
|
|
156
|
-
let s, n;
|
|
157
|
-
for (s = 0, n = this.effects.length; s < n; s++)
|
|
158
|
-
this.effects[s].stop();
|
|
159
|
-
for (this.effects.length = 0, s = 0, n = this.cleanups.length; s < n; s++)
|
|
160
|
-
this.cleanups[s]();
|
|
161
|
-
if (this.cleanups.length = 0, this.scopes) {
|
|
162
|
-
for (s = 0, n = this.scopes.length; s < n; s++)
|
|
163
|
-
this.scopes[s].stop(!0);
|
|
164
|
-
this.scopes.length = 0;
|
|
165
|
-
}
|
|
166
|
-
if (!this.detached && this.parent && !t) {
|
|
167
|
-
const r = this.parent.scopes.pop();
|
|
168
|
-
r && r !== this && (this.parent.scopes[this.index] = r, r.index = this.index);
|
|
169
|
-
}
|
|
170
|
-
this.parent = void 0;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
function $r() {
|
|
175
|
-
return re;
|
|
176
|
-
}
|
|
177
|
-
let $;
|
|
178
|
-
const Xt = /* @__PURE__ */ new WeakSet();
|
|
179
|
-
class Tn {
|
|
180
|
-
constructor(t) {
|
|
181
|
-
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, re && re.active && re.effects.push(this);
|
|
182
|
-
}
|
|
183
|
-
pause() {
|
|
184
|
-
this.flags |= 64;
|
|
185
|
-
}
|
|
186
|
-
resume() {
|
|
187
|
-
this.flags & 64 && (this.flags &= -65, Xt.has(this) && (Xt.delete(this), this.trigger()));
|
|
188
|
-
}
|
|
189
|
-
/**
|
|
190
|
-
* @internal
|
|
191
|
-
*/
|
|
192
|
-
notify() {
|
|
193
|
-
this.flags & 2 && !(this.flags & 32) || this.flags & 8 || Cn(this);
|
|
194
|
-
}
|
|
195
|
-
run() {
|
|
196
|
-
if (!(this.flags & 1))
|
|
197
|
-
return this.fn();
|
|
198
|
-
this.flags |= 2, Gs(this), On(this);
|
|
199
|
-
const t = $, s = ce;
|
|
200
|
-
$ = this, ce = !0;
|
|
201
|
-
try {
|
|
202
|
-
return this.fn();
|
|
203
|
-
} finally {
|
|
204
|
-
Pn(this), $ = t, ce = s, this.flags &= -3;
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
stop() {
|
|
208
|
-
if (this.flags & 1) {
|
|
209
|
-
for (let t = this.deps; t; t = t.nextDep)
|
|
210
|
-
Cs(t);
|
|
211
|
-
this.deps = this.depsTail = void 0, Gs(this), this.onStop && this.onStop(), this.flags &= -2;
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
trigger() {
|
|
215
|
-
this.flags & 64 ? Xt.add(this) : this.scheduler ? this.scheduler() : this.runIfDirty();
|
|
216
|
-
}
|
|
217
|
-
/**
|
|
218
|
-
* @internal
|
|
219
|
-
*/
|
|
220
|
-
runIfDirty() {
|
|
221
|
-
os(this) && this.run();
|
|
222
|
-
}
|
|
223
|
-
get dirty() {
|
|
224
|
-
return os(this);
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
let En = 0, ct, ut;
|
|
228
|
-
function Cn(e, t = !1) {
|
|
229
|
-
if (e.flags |= 8, t) {
|
|
230
|
-
e.next = ut, ut = e;
|
|
231
|
-
return;
|
|
232
|
-
}
|
|
233
|
-
e.next = ct, ct = e;
|
|
234
|
-
}
|
|
235
|
-
function Ts() {
|
|
236
|
-
En++;
|
|
237
|
-
}
|
|
238
|
-
function Es() {
|
|
239
|
-
if (--En > 0)
|
|
240
|
-
return;
|
|
241
|
-
if (ut) {
|
|
242
|
-
let t = ut;
|
|
243
|
-
for (ut = void 0; t; ) {
|
|
244
|
-
const s = t.next;
|
|
245
|
-
t.next = void 0, t.flags &= -9, t = s;
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
let e;
|
|
249
|
-
for (; ct; ) {
|
|
250
|
-
let t = ct;
|
|
251
|
-
for (ct = void 0; t; ) {
|
|
252
|
-
const s = t.next;
|
|
253
|
-
if (t.next = void 0, t.flags &= -9, t.flags & 1)
|
|
254
|
-
try {
|
|
255
|
-
t.trigger();
|
|
256
|
-
} catch (n) {
|
|
257
|
-
e || (e = n);
|
|
258
|
-
}
|
|
259
|
-
t = s;
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
if (e) throw e;
|
|
263
|
-
}
|
|
264
|
-
function On(e) {
|
|
265
|
-
for (let t = e.deps; t; t = t.nextDep)
|
|
266
|
-
t.version = -1, t.prevActiveLink = t.dep.activeLink, t.dep.activeLink = t;
|
|
267
|
-
}
|
|
268
|
-
function Pn(e) {
|
|
269
|
-
let t, s = e.depsTail, n = s;
|
|
270
|
-
for (; n; ) {
|
|
271
|
-
const r = n.prevDep;
|
|
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;
|
|
273
|
-
}
|
|
274
|
-
e.deps = t, e.depsTail = s;
|
|
275
|
-
}
|
|
276
|
-
function os(e) {
|
|
277
|
-
for (let t = e.deps; t; t = t.nextDep)
|
|
278
|
-
if (t.dep.version !== t.version || t.dep.computed && (An(t.dep.computed) || t.dep.version !== t.version))
|
|
279
|
-
return !0;
|
|
280
|
-
return !!e._dirty;
|
|
281
|
-
}
|
|
282
|
-
function An(e) {
|
|
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))))
|
|
284
|
-
return;
|
|
285
|
-
e.flags |= 2;
|
|
286
|
-
const t = e.dep, s = $, n = ce;
|
|
287
|
-
$ = e, ce = !0;
|
|
288
|
-
try {
|
|
289
|
-
On(e);
|
|
290
|
-
const r = e.fn(e._value);
|
|
291
|
-
(t.version === 0 || Ke(r, e._value)) && (e.flags |= 128, e._value = r, t.version++);
|
|
292
|
-
} catch (r) {
|
|
293
|
-
throw t.version++, r;
|
|
294
|
-
} finally {
|
|
295
|
-
$ = s, ce = n, Pn(e), e.flags &= -3;
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
function Cs(e, t = !1) {
|
|
299
|
-
const { dep: s, prevSub: n, nextSub: r } = e;
|
|
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)) {
|
|
301
|
-
s.computed.flags &= -5;
|
|
302
|
-
for (let i = s.computed.deps; i; i = i.nextDep)
|
|
303
|
-
Cs(i, !0);
|
|
304
|
-
}
|
|
305
|
-
!t && !--s.sc && s.map && s.map.delete(s.key);
|
|
306
|
-
}
|
|
307
|
-
function Vr(e) {
|
|
308
|
-
const { prevDep: t, nextDep: s } = e;
|
|
309
|
-
t && (t.nextDep = s, e.prevDep = void 0), s && (s.prevDep = t, e.nextDep = void 0);
|
|
310
|
-
}
|
|
311
|
-
let ce = !0;
|
|
312
|
-
const In = [];
|
|
313
|
-
function Ce() {
|
|
314
|
-
In.push(ce), ce = !1;
|
|
315
|
-
}
|
|
316
|
-
function Oe() {
|
|
317
|
-
const e = In.pop();
|
|
318
|
-
ce = e === void 0 ? !0 : e;
|
|
319
|
-
}
|
|
320
|
-
function Gs(e) {
|
|
321
|
-
const { cleanup: t } = e;
|
|
322
|
-
if (e.cleanup = void 0, t) {
|
|
323
|
-
const s = $;
|
|
324
|
-
$ = void 0;
|
|
325
|
-
try {
|
|
326
|
-
t();
|
|
327
|
-
} finally {
|
|
328
|
-
$ = s;
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
let gt = 0;
|
|
333
|
-
class Kr {
|
|
334
|
-
constructor(t, s) {
|
|
335
|
-
this.sub = t, this.dep = s, this.version = s.version, this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0;
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
class Rn {
|
|
339
|
-
// TODO isolatedDeclarations "__v_skip"
|
|
340
|
-
constructor(t) {
|
|
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;
|
|
342
|
-
}
|
|
343
|
-
track(t) {
|
|
344
|
-
if (!$ || !ce || $ === this.computed)
|
|
345
|
-
return;
|
|
346
|
-
let s = this.activeLink;
|
|
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);
|
|
349
|
-
else if (s.version === -1 && (s.version = this.version, s.nextDep)) {
|
|
350
|
-
const n = s.nextDep;
|
|
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);
|
|
352
|
-
}
|
|
353
|
-
return s;
|
|
354
|
-
}
|
|
355
|
-
trigger(t) {
|
|
356
|
-
this.version++, gt++, this.notify(t);
|
|
357
|
-
}
|
|
358
|
-
notify(t) {
|
|
359
|
-
Ts();
|
|
360
|
-
try {
|
|
361
|
-
for (let s = this.subs; s; s = s.prevSub)
|
|
362
|
-
s.sub.notify() && s.sub.dep.notify();
|
|
363
|
-
} finally {
|
|
364
|
-
Es();
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
function Mn(e) {
|
|
369
|
-
if (e.dep.sc++, e.sub.flags & 4) {
|
|
370
|
-
const t = e.dep.computed;
|
|
371
|
-
if (t && !e.dep.subs) {
|
|
372
|
-
t.flags |= 20;
|
|
373
|
-
for (let n = t.deps; n; n = n.nextDep)
|
|
374
|
-
Mn(n);
|
|
375
|
-
}
|
|
376
|
-
const s = e.dep.subs;
|
|
377
|
-
s !== e && (e.prevSub = s, s && (s.nextSub = e)), e.dep.subs = e;
|
|
378
|
-
}
|
|
379
|
-
}
|
|
380
|
-
const ls = /* @__PURE__ */ new WeakMap(), We = Symbol(
|
|
381
|
-
""
|
|
382
|
-
), fs = Symbol(
|
|
383
|
-
""
|
|
384
|
-
), _t = Symbol(
|
|
385
|
-
""
|
|
386
|
-
);
|
|
387
|
-
function z(e, t, s) {
|
|
388
|
-
if (ce && $) {
|
|
389
|
-
let n = ls.get(e);
|
|
390
|
-
n || ls.set(e, n = /* @__PURE__ */ new Map());
|
|
391
|
-
let r = n.get(s);
|
|
392
|
-
r || (n.set(s, r = new Rn()), r.map = n, r.key = s), r.track();
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
function Ee(e, t, s, n, r, i) {
|
|
396
|
-
const o = ls.get(e);
|
|
397
|
-
if (!o) {
|
|
398
|
-
gt++;
|
|
399
|
-
return;
|
|
400
|
-
}
|
|
401
|
-
const f = (u) => {
|
|
402
|
-
u && u.trigger();
|
|
403
|
-
};
|
|
404
|
-
if (Ts(), t === "clear")
|
|
405
|
-
o.forEach(f);
|
|
406
|
-
else {
|
|
407
|
-
const u = A(e), h = u && ys(s);
|
|
408
|
-
if (u && s === "length") {
|
|
409
|
-
const a = Number(n);
|
|
410
|
-
o.forEach((p, S) => {
|
|
411
|
-
(S === "length" || S === _t || !Qe(S) && S >= a) && f(p);
|
|
412
|
-
});
|
|
413
|
-
} else
|
|
414
|
-
switch ((s !== void 0 || o.has(void 0)) && f(o.get(s)), h && f(o.get(_t)), t) {
|
|
415
|
-
case "add":
|
|
416
|
-
u ? h && f(o.get("length")) : (f(o.get(We)), lt(e) && f(o.get(fs)));
|
|
417
|
-
break;
|
|
418
|
-
case "delete":
|
|
419
|
-
u || (f(o.get(We)), lt(e) && f(o.get(fs)));
|
|
420
|
-
break;
|
|
421
|
-
case "set":
|
|
422
|
-
lt(e) && f(o.get(We));
|
|
423
|
-
break;
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
|
-
Es();
|
|
427
|
-
}
|
|
428
|
-
function qe(e) {
|
|
429
|
-
const t = j(e);
|
|
430
|
-
return t === e ? t : (z(t, "iterate", _t), ve(e) ? t : t.map(le));
|
|
431
|
-
}
|
|
432
|
-
function Os(e) {
|
|
433
|
-
return z(e = j(e), "iterate", _t), e;
|
|
434
|
-
}
|
|
435
|
-
const Wr = {
|
|
436
|
-
__proto__: null,
|
|
437
|
-
[Symbol.iterator]() {
|
|
438
|
-
return Zt(this, Symbol.iterator, le);
|
|
439
|
-
},
|
|
440
|
-
concat(...e) {
|
|
441
|
-
return qe(this).concat(
|
|
442
|
-
...e.map((t) => A(t) ? qe(t) : t)
|
|
443
|
-
);
|
|
444
|
-
},
|
|
445
|
-
entries() {
|
|
446
|
-
return Zt(this, "entries", (e) => (e[1] = le(e[1]), e));
|
|
447
|
-
},
|
|
448
|
-
every(e, t) {
|
|
449
|
-
return we(this, "every", e, t, void 0, arguments);
|
|
450
|
-
},
|
|
451
|
-
filter(e, t) {
|
|
452
|
-
return we(this, "filter", e, t, (s) => s.map(le), arguments);
|
|
453
|
-
},
|
|
454
|
-
find(e, t) {
|
|
455
|
-
return we(this, "find", e, t, le, arguments);
|
|
456
|
-
},
|
|
457
|
-
findIndex(e, t) {
|
|
458
|
-
return we(this, "findIndex", e, t, void 0, arguments);
|
|
459
|
-
},
|
|
460
|
-
findLast(e, t) {
|
|
461
|
-
return we(this, "findLast", e, t, le, arguments);
|
|
462
|
-
},
|
|
463
|
-
findLastIndex(e, t) {
|
|
464
|
-
return we(this, "findLastIndex", e, t, void 0, arguments);
|
|
465
|
-
},
|
|
466
|
-
// flat, flatMap could benefit from ARRAY_ITERATE but are not straight-forward to implement
|
|
467
|
-
forEach(e, t) {
|
|
468
|
-
return we(this, "forEach", e, t, void 0, arguments);
|
|
469
|
-
},
|
|
470
|
-
includes(...e) {
|
|
471
|
-
return Qt(this, "includes", e);
|
|
472
|
-
},
|
|
473
|
-
indexOf(...e) {
|
|
474
|
-
return Qt(this, "indexOf", e);
|
|
475
|
-
},
|
|
476
|
-
join(e) {
|
|
477
|
-
return qe(this).join(e);
|
|
478
|
-
},
|
|
479
|
-
// keys() iterator only reads `length`, no optimisation required
|
|
480
|
-
lastIndexOf(...e) {
|
|
481
|
-
return Qt(this, "lastIndexOf", e);
|
|
482
|
-
},
|
|
483
|
-
map(e, t) {
|
|
484
|
-
return we(this, "map", e, t, void 0, arguments);
|
|
485
|
-
},
|
|
486
|
-
pop() {
|
|
487
|
-
return nt(this, "pop");
|
|
488
|
-
},
|
|
489
|
-
push(...e) {
|
|
490
|
-
return nt(this, "push", e);
|
|
491
|
-
},
|
|
492
|
-
reduce(e, ...t) {
|
|
493
|
-
return Js(this, "reduce", e, t);
|
|
494
|
-
},
|
|
495
|
-
reduceRight(e, ...t) {
|
|
496
|
-
return Js(this, "reduceRight", e, t);
|
|
497
|
-
},
|
|
498
|
-
shift() {
|
|
499
|
-
return nt(this, "shift");
|
|
500
|
-
},
|
|
501
|
-
// slice could use ARRAY_ITERATE but also seems to beg for range tracking
|
|
502
|
-
some(e, t) {
|
|
503
|
-
return we(this, "some", e, t, void 0, arguments);
|
|
504
|
-
},
|
|
505
|
-
splice(...e) {
|
|
506
|
-
return nt(this, "splice", e);
|
|
507
|
-
},
|
|
508
|
-
toReversed() {
|
|
509
|
-
return qe(this).toReversed();
|
|
510
|
-
},
|
|
511
|
-
toSorted(e) {
|
|
512
|
-
return qe(this).toSorted(e);
|
|
513
|
-
},
|
|
514
|
-
toSpliced(...e) {
|
|
515
|
-
return qe(this).toSpliced(...e);
|
|
516
|
-
},
|
|
517
|
-
unshift(...e) {
|
|
518
|
-
return nt(this, "unshift", e);
|
|
519
|
-
},
|
|
520
|
-
values() {
|
|
521
|
-
return Zt(this, "values", le);
|
|
522
|
-
}
|
|
523
|
-
};
|
|
524
|
-
function Zt(e, t, s) {
|
|
525
|
-
const n = Os(e), r = n[t]();
|
|
526
|
-
return n !== e && !ve(e) && (r._next = r.next, r.next = () => {
|
|
527
|
-
const i = r._next();
|
|
528
|
-
return i.value && (i.value = s(i.value)), i;
|
|
529
|
-
}), r;
|
|
530
|
-
}
|
|
531
|
-
const Br = Array.prototype;
|
|
532
|
-
function we(e, t, s, n, r, i) {
|
|
533
|
-
const o = Os(e), f = o !== e && !ve(e), u = o[t];
|
|
534
|
-
if (u !== Br[t]) {
|
|
535
|
-
const p = u.apply(e, i);
|
|
536
|
-
return f ? le(p) : p;
|
|
537
|
-
}
|
|
538
|
-
let h = s;
|
|
539
|
-
o !== e && (f ? h = function(p, S) {
|
|
540
|
-
return s.call(this, le(p), S, e);
|
|
541
|
-
} : s.length > 2 && (h = function(p, S) {
|
|
542
|
-
return s.call(this, p, S, e);
|
|
543
|
-
}));
|
|
544
|
-
const a = u.call(o, h, n);
|
|
545
|
-
return f && r ? r(a) : a;
|
|
546
|
-
}
|
|
547
|
-
function Js(e, t, s, n) {
|
|
548
|
-
const r = Os(e);
|
|
549
|
-
let i = s;
|
|
550
|
-
return r !== e && (ve(e) ? s.length > 3 && (i = function(o, f, u) {
|
|
551
|
-
return s.call(this, o, f, u, e);
|
|
552
|
-
}) : i = function(o, f, u) {
|
|
553
|
-
return s.call(this, o, le(f), u, e);
|
|
554
|
-
}), r[t](i, ...n);
|
|
555
|
-
}
|
|
556
|
-
function Qt(e, t, s) {
|
|
557
|
-
const n = j(e);
|
|
558
|
-
z(n, "iterate", _t);
|
|
559
|
-
const r = n[t](...s);
|
|
560
|
-
return (r === -1 || r === !1) && Rs(s[0]) ? (s[0] = j(s[0]), n[t](...s)) : r;
|
|
561
|
-
}
|
|
562
|
-
function nt(e, t, s = []) {
|
|
563
|
-
Ce(), Ts();
|
|
564
|
-
const n = j(e)[t].apply(e, s);
|
|
565
|
-
return Es(), Oe(), n;
|
|
566
|
-
}
|
|
567
|
-
const qr = /* @__PURE__ */ bs("__proto__,__v_isRef,__isVue"), Fn = new Set(
|
|
568
|
-
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(Qe)
|
|
569
|
-
);
|
|
570
|
-
function Gr(e) {
|
|
571
|
-
Qe(e) || (e = String(e));
|
|
572
|
-
const t = j(this);
|
|
573
|
-
return z(t, "has", e), t.hasOwnProperty(e);
|
|
574
|
-
}
|
|
575
|
-
class Dn {
|
|
576
|
-
constructor(t = !1, s = !1) {
|
|
577
|
-
this._isReadonly = t, this._isShallow = s;
|
|
578
|
-
}
|
|
579
|
-
get(t, s, n) {
|
|
580
|
-
if (s === "__v_skip") return t.__v_skip;
|
|
581
|
-
const r = this._isReadonly, i = this._isShallow;
|
|
582
|
-
if (s === "__v_isReactive")
|
|
583
|
-
return !r;
|
|
584
|
-
if (s === "__v_isReadonly")
|
|
585
|
-
return r;
|
|
586
|
-
if (s === "__v_isShallow")
|
|
587
|
-
return i;
|
|
588
|
-
if (s === "__v_raw")
|
|
589
|
-
return n === (r ? i ? si : Un : i ? Nn : jn).get(t) || // receiver is not the reactive proxy, but has the same prototype
|
|
590
|
-
// this means the receiver is a user proxy of the reactive proxy
|
|
591
|
-
Object.getPrototypeOf(t) === Object.getPrototypeOf(n) ? t : void 0;
|
|
592
|
-
const o = A(t);
|
|
593
|
-
if (!r) {
|
|
594
|
-
let u;
|
|
595
|
-
if (o && (u = Wr[s]))
|
|
596
|
-
return u;
|
|
597
|
-
if (s === "hasOwnProperty")
|
|
598
|
-
return Gr;
|
|
599
|
-
}
|
|
600
|
-
const f = Reflect.get(
|
|
601
|
-
t,
|
|
602
|
-
s,
|
|
603
|
-
// if this is a proxy wrapping a ref, return methods using the raw ref
|
|
604
|
-
// as receiver so that we don't have to call `toRaw` on the ref in all
|
|
605
|
-
// its class methods
|
|
606
|
-
ee(t) ? t : n
|
|
607
|
-
);
|
|
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;
|
|
609
|
-
}
|
|
610
|
-
}
|
|
611
|
-
class Hn extends Dn {
|
|
612
|
-
constructor(t = !1) {
|
|
613
|
-
super(!1, t);
|
|
614
|
-
}
|
|
615
|
-
set(t, s, n, r) {
|
|
616
|
-
let i = t[s];
|
|
617
|
-
if (!this._isShallow) {
|
|
618
|
-
const u = ze(i);
|
|
619
|
-
if (!ve(n) && !ze(n) && (i = j(i), n = j(n)), !A(t) && ee(i) && !ee(n))
|
|
620
|
-
return u ? !1 : (i.value = n, !0);
|
|
621
|
-
}
|
|
622
|
-
const o = A(t) && ys(s) ? Number(s) < t.length : D(t, s), f = Reflect.set(
|
|
623
|
-
t,
|
|
624
|
-
s,
|
|
625
|
-
n,
|
|
626
|
-
ee(t) ? t : r
|
|
627
|
-
);
|
|
628
|
-
return t === j(r) && (o ? Ke(n, i) && Ee(t, "set", s, n) : Ee(t, "add", s, n)), f;
|
|
629
|
-
}
|
|
630
|
-
deleteProperty(t, s) {
|
|
631
|
-
const n = D(t, s);
|
|
632
|
-
t[s];
|
|
633
|
-
const r = Reflect.deleteProperty(t, s);
|
|
634
|
-
return r && n && Ee(t, "delete", s, void 0), r;
|
|
635
|
-
}
|
|
636
|
-
has(t, s) {
|
|
637
|
-
const n = Reflect.has(t, s);
|
|
638
|
-
return (!Qe(s) || !Fn.has(s)) && z(t, "has", s), n;
|
|
639
|
-
}
|
|
640
|
-
ownKeys(t) {
|
|
641
|
-
return z(
|
|
642
|
-
t,
|
|
643
|
-
"iterate",
|
|
644
|
-
A(t) ? "length" : We
|
|
645
|
-
), Reflect.ownKeys(t);
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
class Jr extends Dn {
|
|
649
|
-
constructor(t = !1) {
|
|
650
|
-
super(!0, t);
|
|
651
|
-
}
|
|
652
|
-
set(t, s) {
|
|
653
|
-
return !0;
|
|
654
|
-
}
|
|
655
|
-
deleteProperty(t, s) {
|
|
656
|
-
return !0;
|
|
657
|
-
}
|
|
658
|
-
}
|
|
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) {
|
|
662
|
-
return function(...n) {
|
|
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;
|
|
664
|
-
return !t && z(
|
|
665
|
-
i,
|
|
666
|
-
"iterate",
|
|
667
|
-
u ? fs : We
|
|
668
|
-
), {
|
|
669
|
-
// iterator protocol
|
|
670
|
-
next() {
|
|
671
|
-
const { value: p, done: S } = h.next();
|
|
672
|
-
return S ? { value: p, done: S } : {
|
|
673
|
-
value: f ? [a(p[0]), a(p[1])] : a(p),
|
|
674
|
-
done: S
|
|
675
|
-
};
|
|
676
|
-
},
|
|
677
|
-
// iterable protocol
|
|
678
|
-
[Symbol.iterator]() {
|
|
679
|
-
return this;
|
|
680
|
-
}
|
|
681
|
-
};
|
|
682
|
-
};
|
|
683
|
-
}
|
|
684
|
-
function Ot(e) {
|
|
685
|
-
return function(...t) {
|
|
686
|
-
return e === "delete" ? !1 : e === "clear" ? void 0 : this;
|
|
687
|
-
};
|
|
688
|
-
}
|
|
689
|
-
function Qr(e, t) {
|
|
690
|
-
const s = {
|
|
691
|
-
get(r) {
|
|
692
|
-
const i = this.__v_raw, o = j(i), f = j(r);
|
|
693
|
-
e || (Ke(r, f) && z(o, "get", r), z(o, "get", f));
|
|
694
|
-
const { has: u } = Ct(o), h = t ? cs : e ? us : le;
|
|
695
|
-
if (u.call(o, r))
|
|
696
|
-
return h(i.get(r));
|
|
697
|
-
if (u.call(o, f))
|
|
698
|
-
return h(i.get(f));
|
|
699
|
-
i !== o && i.get(r);
|
|
700
|
-
},
|
|
701
|
-
get size() {
|
|
702
|
-
const r = this.__v_raw;
|
|
703
|
-
return !e && z(j(r), "iterate", We), Reflect.get(r, "size", r);
|
|
704
|
-
},
|
|
705
|
-
has(r) {
|
|
706
|
-
const i = this.__v_raw, o = j(i), f = j(r);
|
|
707
|
-
return e || (Ke(r, f) && z(o, "has", r), z(o, "has", f)), r === f ? i.has(r) : i.has(r) || i.has(f);
|
|
708
|
-
},
|
|
709
|
-
forEach(r, i) {
|
|
710
|
-
const o = this, f = o.__v_raw, u = j(f), h = t ? cs : e ? us : le;
|
|
711
|
-
return !e && z(u, "iterate", We), f.forEach((a, p) => r.call(i, h(a), h(p), o));
|
|
712
|
-
}
|
|
713
|
-
};
|
|
714
|
-
return te(
|
|
715
|
-
s,
|
|
716
|
-
e ? {
|
|
717
|
-
add: Ot("add"),
|
|
718
|
-
set: Ot("set"),
|
|
719
|
-
delete: Ot("delete"),
|
|
720
|
-
clear: Ot("clear")
|
|
721
|
-
} : {
|
|
722
|
-
add(r) {
|
|
723
|
-
!t && !ve(r) && !ze(r) && (r = j(r));
|
|
724
|
-
const i = j(this);
|
|
725
|
-
return Ct(i).has.call(i, r) || (i.add(r), Ee(i, "add", r, r)), this;
|
|
726
|
-
},
|
|
727
|
-
set(r, i) {
|
|
728
|
-
!t && !ve(i) && !ze(i) && (i = j(i));
|
|
729
|
-
const o = j(this), { has: f, get: u } = Ct(o);
|
|
730
|
-
let h = f.call(o, r);
|
|
731
|
-
h || (r = j(r), h = f.call(o, r));
|
|
732
|
-
const a = u.call(o, r);
|
|
733
|
-
return o.set(r, i), h ? Ke(i, a) && Ee(o, "set", r, i) : Ee(o, "add", r, i), this;
|
|
734
|
-
},
|
|
735
|
-
delete(r) {
|
|
736
|
-
const i = j(this), { has: o, get: f } = Ct(i);
|
|
737
|
-
let u = o.call(i, r);
|
|
738
|
-
u || (r = j(r), u = o.call(i, r)), f && f.call(i, r);
|
|
739
|
-
const h = i.delete(r);
|
|
740
|
-
return u && Ee(i, "delete", r, void 0), h;
|
|
741
|
-
},
|
|
742
|
-
clear() {
|
|
743
|
-
const r = j(this), i = r.size !== 0, o = r.clear();
|
|
744
|
-
return i && Ee(
|
|
745
|
-
r,
|
|
746
|
-
"clear",
|
|
747
|
-
void 0,
|
|
748
|
-
void 0
|
|
749
|
-
), o;
|
|
750
|
-
}
|
|
751
|
-
}
|
|
752
|
-
), [
|
|
753
|
-
"keys",
|
|
754
|
-
"values",
|
|
755
|
-
"entries",
|
|
756
|
-
Symbol.iterator
|
|
757
|
-
].forEach((r) => {
|
|
758
|
-
s[r] = Zr(r, e, t);
|
|
759
|
-
}), s;
|
|
760
|
-
}
|
|
761
|
-
function Ps(e, t) {
|
|
762
|
-
const s = Qr(e, t);
|
|
763
|
-
return (n, r, i) => r === "__v_isReactive" ? !e : r === "__v_isReadonly" ? e : r === "__v_raw" ? n : Reflect.get(
|
|
764
|
-
D(s, r) && r in n ? s : n,
|
|
765
|
-
r,
|
|
766
|
-
i
|
|
767
|
-
);
|
|
768
|
-
}
|
|
769
|
-
const kr = {
|
|
770
|
-
get: /* @__PURE__ */ Ps(!1, !1)
|
|
771
|
-
}, ei = {
|
|
772
|
-
get: /* @__PURE__ */ Ps(!1, !0)
|
|
773
|
-
}, ti = {
|
|
774
|
-
get: /* @__PURE__ */ Ps(!0, !1)
|
|
775
|
-
};
|
|
776
|
-
const jn = /* @__PURE__ */ new WeakMap(), Nn = /* @__PURE__ */ new WeakMap(), Un = /* @__PURE__ */ new WeakMap(), si = /* @__PURE__ */ new WeakMap();
|
|
777
|
-
function ni(e) {
|
|
778
|
-
switch (e) {
|
|
779
|
-
case "Object":
|
|
780
|
-
case "Array":
|
|
781
|
-
return 1;
|
|
782
|
-
case "Map":
|
|
783
|
-
case "Set":
|
|
784
|
-
case "WeakMap":
|
|
785
|
-
case "WeakSet":
|
|
786
|
-
return 2;
|
|
787
|
-
default:
|
|
788
|
-
return 0;
|
|
789
|
-
}
|
|
790
|
-
}
|
|
791
|
-
function ri(e) {
|
|
792
|
-
return e.__v_skip || !Object.isExtensible(e) ? 0 : ni(Pr(e));
|
|
793
|
-
}
|
|
794
|
-
function As(e) {
|
|
795
|
-
return ze(e) ? e : Is(
|
|
796
|
-
e,
|
|
797
|
-
!1,
|
|
798
|
-
Yr,
|
|
799
|
-
kr,
|
|
800
|
-
jn
|
|
801
|
-
);
|
|
802
|
-
}
|
|
803
|
-
function ii(e) {
|
|
804
|
-
return Is(
|
|
805
|
-
e,
|
|
806
|
-
!1,
|
|
807
|
-
Xr,
|
|
808
|
-
ei,
|
|
809
|
-
Nn
|
|
810
|
-
);
|
|
811
|
-
}
|
|
812
|
-
function Ln(e) {
|
|
813
|
-
return Is(
|
|
814
|
-
e,
|
|
815
|
-
!0,
|
|
816
|
-
zr,
|
|
817
|
-
ti,
|
|
818
|
-
Un
|
|
819
|
-
);
|
|
820
|
-
}
|
|
821
|
-
function Is(e, t, s, n, r) {
|
|
822
|
-
if (!q(e) || e.__v_raw && !(t && e.__v_isReactive))
|
|
823
|
-
return e;
|
|
824
|
-
const i = ri(e);
|
|
825
|
-
if (i === 0)
|
|
826
|
-
return e;
|
|
827
|
-
const o = r.get(e);
|
|
828
|
-
if (o)
|
|
829
|
-
return o;
|
|
830
|
-
const f = new Proxy(
|
|
831
|
-
e,
|
|
832
|
-
i === 2 ? n : s
|
|
833
|
-
);
|
|
834
|
-
return r.set(e, f), f;
|
|
835
|
-
}
|
|
836
|
-
function at(e) {
|
|
837
|
-
return ze(e) ? at(e.__v_raw) : !!(e && e.__v_isReactive);
|
|
838
|
-
}
|
|
839
|
-
function ze(e) {
|
|
840
|
-
return !!(e && e.__v_isReadonly);
|
|
841
|
-
}
|
|
842
|
-
function ve(e) {
|
|
843
|
-
return !!(e && e.__v_isShallow);
|
|
844
|
-
}
|
|
845
|
-
function Rs(e) {
|
|
846
|
-
return e ? !!e.__v_raw : !1;
|
|
847
|
-
}
|
|
848
|
-
function j(e) {
|
|
849
|
-
const t = e && e.__v_raw;
|
|
850
|
-
return t ? j(t) : e;
|
|
851
|
-
}
|
|
852
|
-
function oi(e) {
|
|
853
|
-
return !D(e, "__v_skip") && Object.isExtensible(e) && is(e, "__v_skip", !0), e;
|
|
854
|
-
}
|
|
855
|
-
const le = (e) => q(e) ? As(e) : e, us = (e) => q(e) ? Ln(e) : e;
|
|
856
|
-
function ee(e) {
|
|
857
|
-
return e ? e.__v_isRef === !0 : !1;
|
|
858
|
-
}
|
|
859
|
-
function li(e) {
|
|
860
|
-
return ee(e) ? e.value : e;
|
|
861
|
-
}
|
|
862
|
-
const fi = {
|
|
863
|
-
get: (e, t, s) => t === "__v_raw" ? e : li(Reflect.get(e, t, s)),
|
|
864
|
-
set: (e, t, s, n) => {
|
|
865
|
-
const r = e[t];
|
|
866
|
-
return ee(r) && !ee(s) ? (r.value = s, !0) : Reflect.set(e, t, s, n);
|
|
867
|
-
}
|
|
868
|
-
};
|
|
869
|
-
function $n(e) {
|
|
870
|
-
return at(e) ? e : new Proxy(e, fi);
|
|
871
|
-
}
|
|
872
|
-
class ci {
|
|
873
|
-
constructor(t, s, n) {
|
|
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;
|
|
875
|
-
}
|
|
876
|
-
/**
|
|
877
|
-
* @internal
|
|
878
|
-
*/
|
|
879
|
-
notify() {
|
|
880
|
-
if (this.flags |= 16, !(this.flags & 8) && // avoid infinite self recursion
|
|
881
|
-
$ !== this)
|
|
882
|
-
return Cn(this, !0), !0;
|
|
883
|
-
}
|
|
884
|
-
get value() {
|
|
885
|
-
const t = this.dep.track();
|
|
886
|
-
return An(this), t && (t.version = this.dep.version), this._value;
|
|
887
|
-
}
|
|
888
|
-
set value(t) {
|
|
889
|
-
this.setter && this.setter(t);
|
|
890
|
-
}
|
|
891
|
-
}
|
|
892
|
-
function ui(e, t, s = !1) {
|
|
893
|
-
let n, r;
|
|
894
|
-
return I(e) ? n = e : (n = e.get, r = e.set), new ci(n, r, s);
|
|
895
|
-
}
|
|
896
|
-
const Pt = {}, Mt = /* @__PURE__ */ new WeakMap();
|
|
897
|
-
let Ve;
|
|
898
|
-
function ai(e, t = !1, s = Ve) {
|
|
899
|
-
if (s) {
|
|
900
|
-
let n = Mt.get(s);
|
|
901
|
-
n || Mt.set(s, n = []), n.push(e);
|
|
902
|
-
}
|
|
903
|
-
}
|
|
904
|
-
function di(e, t, s = V) {
|
|
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);
|
|
906
|
-
let a, p, S, T, F = !1, M = !1;
|
|
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) => {
|
|
908
|
-
if (ee(O))
|
|
909
|
-
return O.value;
|
|
910
|
-
if (at(O))
|
|
911
|
-
return h(O);
|
|
912
|
-
if (I(O))
|
|
913
|
-
return u ? u(O, 2) : O();
|
|
914
|
-
})) : I(e) ? t ? p = u ? () => u(e, 2) : e : p = () => {
|
|
915
|
-
if (S) {
|
|
916
|
-
Ce();
|
|
917
|
-
try {
|
|
918
|
-
S();
|
|
919
|
-
} finally {
|
|
920
|
-
Oe();
|
|
921
|
-
}
|
|
922
|
-
}
|
|
923
|
-
const O = Ve;
|
|
924
|
-
Ve = a;
|
|
925
|
-
try {
|
|
926
|
-
return u ? u(e, 3, [T]) : e(T);
|
|
927
|
-
} finally {
|
|
928
|
-
Ve = O;
|
|
929
|
-
}
|
|
930
|
-
} : p = xe, t && r) {
|
|
931
|
-
const O = p, G = r === !0 ? 1 / 0 : r;
|
|
932
|
-
p = () => Fe(O(), G);
|
|
933
|
-
}
|
|
934
|
-
const Y = $r(), N = () => {
|
|
935
|
-
a.stop(), Y && Y.active && vs(Y.effects, a);
|
|
936
|
-
};
|
|
937
|
-
if (i && t) {
|
|
938
|
-
const O = t;
|
|
939
|
-
t = (...G) => {
|
|
940
|
-
O(...G), N();
|
|
941
|
-
};
|
|
942
|
-
}
|
|
943
|
-
let W = M ? new Array(e.length).fill(Pt) : Pt;
|
|
944
|
-
const B = (O) => {
|
|
945
|
-
if (!(!(a.flags & 1) || !a.dirty && !O))
|
|
946
|
-
if (t) {
|
|
947
|
-
const G = a.run();
|
|
948
|
-
if (r || F || (M ? G.some((Ae, ue) => Ke(Ae, W[ue])) : Ke(G, W))) {
|
|
949
|
-
S && S();
|
|
950
|
-
const Ae = Ve;
|
|
951
|
-
Ve = a;
|
|
952
|
-
try {
|
|
953
|
-
const ue = [
|
|
954
|
-
G,
|
|
955
|
-
// pass undefined as the old value when it's changed for the first time
|
|
956
|
-
W === Pt ? void 0 : M && W[0] === Pt ? [] : W,
|
|
957
|
-
T
|
|
958
|
-
];
|
|
959
|
-
W = G, u ? u(t, 3, ue) : (
|
|
960
|
-
// @ts-expect-error
|
|
961
|
-
t(...ue)
|
|
962
|
-
);
|
|
963
|
-
} finally {
|
|
964
|
-
Ve = Ae;
|
|
965
|
-
}
|
|
966
|
-
}
|
|
967
|
-
} else
|
|
968
|
-
a.run();
|
|
969
|
-
};
|
|
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 = () => {
|
|
971
|
-
const O = Mt.get(a);
|
|
972
|
-
if (O) {
|
|
973
|
-
if (u)
|
|
974
|
-
u(O, 4);
|
|
975
|
-
else
|
|
976
|
-
for (const G of O) G();
|
|
977
|
-
Mt.delete(a);
|
|
978
|
-
}
|
|
979
|
-
}, t ? n ? B(!0) : W = a.run() : o ? o(B.bind(null, !0), !0) : a.run(), N.pause = a.pause.bind(a), N.resume = a.resume.bind(a), N.stop = N, N;
|
|
980
|
-
}
|
|
981
|
-
function Fe(e, t = 1 / 0, s) {
|
|
982
|
-
if (t <= 0 || !q(e) || e.__v_skip || (s = s || /* @__PURE__ */ new Set(), s.has(e)))
|
|
983
|
-
return e;
|
|
984
|
-
if (s.add(e), t--, ee(e))
|
|
985
|
-
Fe(e.value, t, s);
|
|
986
|
-
else if (A(e))
|
|
987
|
-
for (let n = 0; n < e.length; n++)
|
|
988
|
-
Fe(e[n], t, s);
|
|
989
|
-
else if (Cr(e) || lt(e))
|
|
990
|
-
e.forEach((n) => {
|
|
991
|
-
Fe(n, t, s);
|
|
992
|
-
});
|
|
993
|
-
else if (Ar(e)) {
|
|
994
|
-
for (const n in e)
|
|
995
|
-
Fe(e[n], t, s);
|
|
996
|
-
for (const n of Object.getOwnPropertySymbols(e))
|
|
997
|
-
Object.prototype.propertyIsEnumerable.call(e, n) && Fe(e[n], t, s);
|
|
998
|
-
}
|
|
999
|
-
return e;
|
|
1000
|
-
}
|
|
1001
|
-
/**
|
|
1002
|
-
* @vue/runtime-core v3.5.17
|
|
1003
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1004
|
-
* @license MIT
|
|
1005
|
-
**/
|
|
1006
|
-
function xt(e, t, s, n) {
|
|
1007
|
-
try {
|
|
1008
|
-
return n ? e(...n) : e();
|
|
1009
|
-
} catch (r) {
|
|
1010
|
-
Kt(r, t, s);
|
|
1011
|
-
}
|
|
1012
|
-
}
|
|
1013
|
-
function ye(e, t, s, n) {
|
|
1014
|
-
if (I(e)) {
|
|
1015
|
-
const r = xt(e, t, s, n);
|
|
1016
|
-
return r && yn(r) && r.catch((i) => {
|
|
1017
|
-
Kt(i, t, s);
|
|
1018
|
-
}), r;
|
|
1019
|
-
}
|
|
1020
|
-
if (A(e)) {
|
|
1021
|
-
const r = [];
|
|
1022
|
-
for (let i = 0; i < e.length; i++)
|
|
1023
|
-
r.push(ye(e[i], t, s, n));
|
|
1024
|
-
return r;
|
|
1025
|
-
}
|
|
1026
|
-
}
|
|
1027
|
-
function Kt(e, t, s, n = !0) {
|
|
1028
|
-
const r = t ? t.vnode : null, { errorHandler: i, throwUnhandledErrorInProduction: o } = t && t.appContext.config || V;
|
|
1029
|
-
if (t) {
|
|
1030
|
-
let f = t.parent;
|
|
1031
|
-
const u = t.proxy, h = `https://vuejs.org/error-reference/#runtime-${s}`;
|
|
1032
|
-
for (; f; ) {
|
|
1033
|
-
const a = f.ec;
|
|
1034
|
-
if (a) {
|
|
1035
|
-
for (let p = 0; p < a.length; p++)
|
|
1036
|
-
if (a[p](e, u, h) === !1)
|
|
1037
|
-
return;
|
|
1038
|
-
}
|
|
1039
|
-
f = f.parent;
|
|
1040
|
-
}
|
|
1041
|
-
if (i) {
|
|
1042
|
-
Ce(), xt(i, null, 10, [
|
|
1043
|
-
e,
|
|
1044
|
-
u,
|
|
1045
|
-
h
|
|
1046
|
-
]), Oe();
|
|
1047
|
-
return;
|
|
1048
|
-
}
|
|
1049
|
-
}
|
|
1050
|
-
hi(e, s, r, n, o);
|
|
1051
|
-
}
|
|
1052
|
-
function hi(e, t, s, n = !0, r = !1) {
|
|
1053
|
-
if (r)
|
|
1054
|
-
throw e;
|
|
1055
|
-
console.error(e);
|
|
1056
|
-
}
|
|
1057
|
-
const Q = [];
|
|
1058
|
-
let _e = -1;
|
|
1059
|
-
const Je = [];
|
|
1060
|
-
let Re = null, Ge = 0;
|
|
1061
|
-
const Vn = /* @__PURE__ */ Promise.resolve();
|
|
1062
|
-
let Ft = null;
|
|
1063
|
-
function pi(e) {
|
|
1064
|
-
const t = Ft || Vn;
|
|
1065
|
-
return e ? t.then(this ? e.bind(this) : e) : t;
|
|
1066
|
-
}
|
|
1067
|
-
function gi(e) {
|
|
1068
|
-
let t = _e + 1, s = Q.length;
|
|
1069
|
-
for (; t < s; ) {
|
|
1070
|
-
const n = t + s >>> 1, r = Q[n], i = mt(r);
|
|
1071
|
-
i < e || i === e && r.flags & 2 ? t = n + 1 : s = n;
|
|
1072
|
-
}
|
|
1073
|
-
return t;
|
|
1074
|
-
}
|
|
1075
|
-
function Ms(e) {
|
|
1076
|
-
if (!(e.flags & 1)) {
|
|
1077
|
-
const t = mt(e), s = Q[Q.length - 1];
|
|
1078
|
-
!s || // fast path when the job id is larger than the tail
|
|
1079
|
-
!(e.flags & 2) && t >= mt(s) ? Q.push(e) : Q.splice(gi(t), 0, e), e.flags |= 1, Kn();
|
|
1080
|
-
}
|
|
1081
|
-
}
|
|
1082
|
-
function Kn() {
|
|
1083
|
-
Ft || (Ft = Vn.then(Bn));
|
|
1084
|
-
}
|
|
1085
|
-
function _i(e) {
|
|
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();
|
|
1087
|
-
}
|
|
1088
|
-
function Ys(e, t, s = _e + 1) {
|
|
1089
|
-
for (; s < Q.length; s++) {
|
|
1090
|
-
const n = Q[s];
|
|
1091
|
-
if (n && n.flags & 2) {
|
|
1092
|
-
if (e && n.id !== e.uid)
|
|
1093
|
-
continue;
|
|
1094
|
-
Q.splice(s, 1), s--, n.flags & 4 && (n.flags &= -2), n(), n.flags & 4 || (n.flags &= -2);
|
|
1095
|
-
}
|
|
1096
|
-
}
|
|
1097
|
-
}
|
|
1098
|
-
function Wn(e) {
|
|
1099
|
-
if (Je.length) {
|
|
1100
|
-
const t = [...new Set(Je)].sort(
|
|
1101
|
-
(s, n) => mt(s) - mt(n)
|
|
1102
|
-
);
|
|
1103
|
-
if (Je.length = 0, Re) {
|
|
1104
|
-
Re.push(...t);
|
|
1105
|
-
return;
|
|
1106
|
-
}
|
|
1107
|
-
for (Re = t, Ge = 0; Ge < Re.length; Ge++) {
|
|
1108
|
-
const s = Re[Ge];
|
|
1109
|
-
s.flags & 4 && (s.flags &= -2), s.flags & 8 || s(), s.flags &= -2;
|
|
1110
|
-
}
|
|
1111
|
-
Re = null, Ge = 0;
|
|
1112
|
-
}
|
|
1113
|
-
}
|
|
1114
|
-
const mt = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id;
|
|
1115
|
-
function Bn(e) {
|
|
1116
|
-
try {
|
|
1117
|
-
for (_e = 0; _e < Q.length; _e++) {
|
|
1118
|
-
const t = Q[_e];
|
|
1119
|
-
t && !(t.flags & 8) && (t.flags & 4 && (t.flags &= -2), xt(
|
|
1120
|
-
t,
|
|
1121
|
-
t.i,
|
|
1122
|
-
t.i ? 15 : 14
|
|
1123
|
-
), t.flags & 4 || (t.flags &= -2));
|
|
1124
|
-
}
|
|
1125
|
-
} finally {
|
|
1126
|
-
for (; _e < Q.length; _e++) {
|
|
1127
|
-
const t = Q[_e];
|
|
1128
|
-
t && (t.flags &= -2);
|
|
1129
|
-
}
|
|
1130
|
-
_e = -1, Q.length = 0, Wn(), Ft = null, (Q.length || Je.length) && Bn();
|
|
1131
|
-
}
|
|
1132
|
-
}
|
|
1133
|
-
let be = null, qn = null;
|
|
1134
|
-
function Dt(e) {
|
|
1135
|
-
const t = be;
|
|
1136
|
-
return be = e, qn = e && e.type.__scopeId || null, t;
|
|
1137
|
-
}
|
|
1138
|
-
function mi(e, t = be, s) {
|
|
1139
|
-
if (!t || e._n)
|
|
1140
|
-
return e;
|
|
1141
|
-
const n = (...r) => {
|
|
1142
|
-
n._d && nn(-1);
|
|
1143
|
-
const i = Dt(t);
|
|
1144
|
-
let o;
|
|
1145
|
-
try {
|
|
1146
|
-
o = e(...r);
|
|
1147
|
-
} finally {
|
|
1148
|
-
Dt(i), n._d && nn(1);
|
|
1149
|
-
}
|
|
1150
|
-
return o;
|
|
1151
|
-
};
|
|
1152
|
-
return n._n = !0, n._c = !0, n._d = !0, n;
|
|
1153
|
-
}
|
|
1154
|
-
function Le(e, t, s, n) {
|
|
1155
|
-
const r = e.dirs, i = t && t.dirs;
|
|
1156
|
-
for (let o = 0; o < r.length; o++) {
|
|
1157
|
-
const f = r[o];
|
|
1158
|
-
i && (f.oldValue = i[o].value);
|
|
1159
|
-
let u = f.dir[n];
|
|
1160
|
-
u && (Ce(), ye(u, s, 8, [
|
|
1161
|
-
e.el,
|
|
1162
|
-
f,
|
|
1163
|
-
e,
|
|
1164
|
-
t
|
|
1165
|
-
]), Oe());
|
|
1166
|
-
}
|
|
1167
|
-
}
|
|
1168
|
-
const bi = Symbol("_vte"), xi = (e) => e.__isTeleport;
|
|
1169
|
-
function Fs(e, t) {
|
|
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;
|
|
1171
|
-
}
|
|
1172
|
-
function Gn(e) {
|
|
1173
|
-
e.ids = [e.ids[0] + e.ids[2]++ + "-", 0, 0];
|
|
1174
|
-
}
|
|
1175
|
-
function dt(e, t, s, n, r = !1) {
|
|
1176
|
-
if (A(e)) {
|
|
1177
|
-
e.forEach(
|
|
1178
|
-
(F, M) => dt(
|
|
1179
|
-
F,
|
|
1180
|
-
t && (A(t) ? t[M] : t),
|
|
1181
|
-
s,
|
|
1182
|
-
n,
|
|
1183
|
-
r
|
|
1184
|
-
)
|
|
1185
|
-
);
|
|
1186
|
-
return;
|
|
1187
|
-
}
|
|
1188
|
-
if (ht(n) && !r) {
|
|
1189
|
-
n.shapeFlag & 512 && n.type.__asyncResolved && n.component.subTree.component && dt(e, t, s, n.component.subTree);
|
|
1190
|
-
return;
|
|
1191
|
-
}
|
|
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);
|
|
1193
|
-
if (h != null && h !== u && (J(h) ? (a[h] = null, T(h) && (p[h] = null)) : ee(h) && (h.value = null)), I(u))
|
|
1194
|
-
xt(u, f, 12, [o, a]);
|
|
1195
|
-
else {
|
|
1196
|
-
const F = J(u), M = ee(u);
|
|
1197
|
-
if (F || M) {
|
|
1198
|
-
const Y = () => {
|
|
1199
|
-
if (e.f) {
|
|
1200
|
-
const N = F ? T(u) ? p[u] : a[u] : u.value;
|
|
1201
|
-
r ? A(N) && vs(N, i) : A(N) ? N.includes(i) || N.push(i) : F ? (a[u] = [i], T(u) && (p[u] = a[u])) : (u.value = [i], e.k && (a[e.k] = u.value));
|
|
1202
|
-
} else F ? (a[u] = o, T(u) && (p[u] = o)) : M && (u.value = o, e.k && (a[e.k] = o));
|
|
1203
|
-
};
|
|
1204
|
-
o ? (Y.id = -1, oe(Y, s)) : Y();
|
|
1205
|
-
}
|
|
1206
|
-
}
|
|
1207
|
-
}
|
|
1208
|
-
Vt().requestIdleCallback;
|
|
1209
|
-
Vt().cancelIdleCallback;
|
|
1210
|
-
const ht = (e) => !!e.type.__asyncLoader, Jn = (e) => e.type.__isKeepAlive;
|
|
1211
|
-
function vi(e, t) {
|
|
1212
|
-
Yn(e, "a", t);
|
|
1213
|
-
}
|
|
1214
|
-
function yi(e, t) {
|
|
1215
|
-
Yn(e, "da", t);
|
|
1216
|
-
}
|
|
1217
|
-
function Yn(e, t, s = k) {
|
|
1218
|
-
const n = e.__wdc || (e.__wdc = () => {
|
|
1219
|
-
let r = s;
|
|
1220
|
-
for (; r; ) {
|
|
1221
|
-
if (r.isDeactivated)
|
|
1222
|
-
return;
|
|
1223
|
-
r = r.parent;
|
|
1224
|
-
}
|
|
1225
|
-
return e();
|
|
1226
|
-
});
|
|
1227
|
-
if (Wt(t, n, s), s) {
|
|
1228
|
-
let r = s.parent;
|
|
1229
|
-
for (; r && r.parent; )
|
|
1230
|
-
Jn(r.parent.vnode) && wi(n, t, s, r), r = r.parent;
|
|
1231
|
-
}
|
|
1232
|
-
}
|
|
1233
|
-
function wi(e, t, s, n) {
|
|
1234
|
-
const r = Wt(
|
|
1235
|
-
t,
|
|
1236
|
-
e,
|
|
1237
|
-
n,
|
|
1238
|
-
!0
|
|
1239
|
-
/* prepend */
|
|
1240
|
-
);
|
|
1241
|
-
zn(() => {
|
|
1242
|
-
vs(n[t], r);
|
|
1243
|
-
}, s);
|
|
1244
|
-
}
|
|
1245
|
-
function Wt(e, t, s = k, n = !1) {
|
|
1246
|
-
if (s) {
|
|
1247
|
-
const r = s[e] || (s[e] = []), i = t.__weh || (t.__weh = (...o) => {
|
|
1248
|
-
Ce();
|
|
1249
|
-
const f = vt(s), u = ye(t, s, e, o);
|
|
1250
|
-
return f(), Oe(), u;
|
|
1251
|
-
});
|
|
1252
|
-
return n ? r.unshift(i) : r.push(i), i;
|
|
1253
|
-
}
|
|
1254
|
-
}
|
|
1255
|
-
const Pe = (e) => (t, s = k) => {
|
|
1256
|
-
(!bt || e === "sp") && Wt(e, (...n) => t(...n), s);
|
|
1257
|
-
}, Si = Pe("bm"), Ti = Pe("m"), Ei = Pe(
|
|
1258
|
-
"bu"
|
|
1259
|
-
), Ci = Pe("u"), Oi = Pe(
|
|
1260
|
-
"bum"
|
|
1261
|
-
), zn = Pe("um"), Pi = Pe(
|
|
1262
|
-
"sp"
|
|
1263
|
-
), Ai = Pe("rtg"), Ii = Pe("rtc");
|
|
1264
|
-
function Ri(e, t = k) {
|
|
1265
|
-
Wt("ec", e, t);
|
|
1266
|
-
}
|
|
1267
|
-
const Mi = Symbol.for("v-ndc"), as = (e) => e ? pr(e) ? Us(e) : as(e.parent) : null, pt = (
|
|
1268
|
-
// Move PURE marker to new line to workaround compiler discarding it
|
|
1269
|
-
// due to type annotation
|
|
1270
|
-
/* @__PURE__ */ te(/* @__PURE__ */ Object.create(null), {
|
|
1271
|
-
$: (e) => e,
|
|
1272
|
-
$el: (e) => e.vnode.el,
|
|
1273
|
-
$data: (e) => e.data,
|
|
1274
|
-
$props: (e) => e.props,
|
|
1275
|
-
$attrs: (e) => e.attrs,
|
|
1276
|
-
$slots: (e) => e.slots,
|
|
1277
|
-
$refs: (e) => e.refs,
|
|
1278
|
-
$parent: (e) => as(e.parent),
|
|
1279
|
-
$root: (e) => as(e.root),
|
|
1280
|
-
$host: (e) => e.ce,
|
|
1281
|
-
$emit: (e) => e.emit,
|
|
1282
|
-
$options: (e) => Zn(e),
|
|
1283
|
-
$forceUpdate: (e) => e.f || (e.f = () => {
|
|
1284
|
-
Ms(e.update);
|
|
1285
|
-
}),
|
|
1286
|
-
$nextTick: (e) => e.n || (e.n = pi.bind(e.proxy)),
|
|
1287
|
-
$watch: (e) => eo.bind(e)
|
|
1288
|
-
})
|
|
1289
|
-
), kt = (e, t) => e !== V && !e.__isScriptSetup && D(e, t), Fi = {
|
|
1290
|
-
get({ _: e }, t) {
|
|
1291
|
-
if (t === "__v_skip")
|
|
1292
|
-
return !0;
|
|
1293
|
-
const { ctx: s, setupState: n, data: r, props: i, accessCache: o, type: f, appContext: u } = e;
|
|
1294
|
-
let h;
|
|
1295
|
-
if (t[0] !== "$") {
|
|
1296
|
-
const T = o[t];
|
|
1297
|
-
if (T !== void 0)
|
|
1298
|
-
switch (T) {
|
|
1299
|
-
case 1:
|
|
1300
|
-
return n[t];
|
|
1301
|
-
case 2:
|
|
1302
|
-
return r[t];
|
|
1303
|
-
case 4:
|
|
1304
|
-
return s[t];
|
|
1305
|
-
case 3:
|
|
1306
|
-
return i[t];
|
|
1307
|
-
}
|
|
1308
|
-
else {
|
|
1309
|
-
if (kt(n, t))
|
|
1310
|
-
return o[t] = 1, n[t];
|
|
1311
|
-
if (r !== V && D(r, t))
|
|
1312
|
-
return o[t] = 2, r[t];
|
|
1313
|
-
if (
|
|
1314
|
-
// only cache other properties when instance has declared (thus stable)
|
|
1315
|
-
// props
|
|
1316
|
-
(h = e.propsOptions[0]) && D(h, t)
|
|
1317
|
-
)
|
|
1318
|
-
return o[t] = 3, i[t];
|
|
1319
|
-
if (s !== V && D(s, t))
|
|
1320
|
-
return o[t] = 4, s[t];
|
|
1321
|
-
ds && (o[t] = 0);
|
|
1322
|
-
}
|
|
1323
|
-
}
|
|
1324
|
-
const a = pt[t];
|
|
1325
|
-
let p, S;
|
|
1326
|
-
if (a)
|
|
1327
|
-
return t === "$attrs" && z(e.attrs, "get", ""), a(e);
|
|
1328
|
-
if (
|
|
1329
|
-
// css module (injected by vue-loader)
|
|
1330
|
-
(p = f.__cssModules) && (p = p[t])
|
|
1331
|
-
)
|
|
1332
|
-
return p;
|
|
1333
|
-
if (s !== V && D(s, t))
|
|
1334
|
-
return o[t] = 4, s[t];
|
|
1335
|
-
if (
|
|
1336
|
-
// global properties
|
|
1337
|
-
S = u.config.globalProperties, D(S, t)
|
|
1338
|
-
)
|
|
1339
|
-
return S[t];
|
|
1340
|
-
},
|
|
1341
|
-
set({ _: e }, t, s) {
|
|
1342
|
-
const { data: n, setupState: r, ctx: i } = e;
|
|
1343
|
-
return kt(r, t) ? (r[t] = s, !0) : n !== V && D(n, t) ? (n[t] = s, !0) : D(e.props, t) || t[0] === "$" && t.slice(1) in e ? !1 : (i[t] = s, !0);
|
|
1344
|
-
},
|
|
1345
|
-
has({
|
|
1346
|
-
_: { data: e, setupState: t, accessCache: s, ctx: n, appContext: r, propsOptions: i }
|
|
1347
|
-
}, o) {
|
|
1348
|
-
let f;
|
|
1349
|
-
return !!s[o] || e !== V && D(e, o) || kt(t, o) || (f = i[0]) && D(f, o) || D(n, o) || D(pt, o) || D(r.config.globalProperties, o);
|
|
1350
|
-
},
|
|
1351
|
-
defineProperty(e, t, s) {
|
|
1352
|
-
return s.get != null ? e._.accessCache[t] = 0 : D(s, "value") && this.set(e, t, s.value, null), Reflect.defineProperty(e, t, s);
|
|
1353
|
-
}
|
|
1354
|
-
};
|
|
1355
|
-
function zs(e) {
|
|
1356
|
-
return A(e) ? e.reduce(
|
|
1357
|
-
(t, s) => (t[s] = null, t),
|
|
1358
|
-
{}
|
|
1359
|
-
) : e;
|
|
1360
|
-
}
|
|
1361
|
-
let ds = !0;
|
|
1362
|
-
function Di(e) {
|
|
1363
|
-
const t = Zn(e), s = e.proxy, n = e.ctx;
|
|
1364
|
-
ds = !1, t.beforeCreate && Xs(t.beforeCreate, e, "bc");
|
|
1365
|
-
const {
|
|
1366
|
-
// state
|
|
1367
|
-
data: r,
|
|
1368
|
-
computed: i,
|
|
1369
|
-
methods: o,
|
|
1370
|
-
watch: f,
|
|
1371
|
-
provide: u,
|
|
1372
|
-
inject: h,
|
|
1373
|
-
// lifecycle
|
|
1374
|
-
created: a,
|
|
1375
|
-
beforeMount: p,
|
|
1376
|
-
mounted: S,
|
|
1377
|
-
beforeUpdate: T,
|
|
1378
|
-
updated: F,
|
|
1379
|
-
activated: M,
|
|
1380
|
-
deactivated: Y,
|
|
1381
|
-
beforeDestroy: N,
|
|
1382
|
-
beforeUnmount: W,
|
|
1383
|
-
destroyed: B,
|
|
1384
|
-
unmounted: O,
|
|
1385
|
-
render: G,
|
|
1386
|
-
renderTracked: Ae,
|
|
1387
|
-
renderTriggered: ue,
|
|
1388
|
-
errorCaptured: Ie,
|
|
1389
|
-
serverPrefetch: yt,
|
|
1390
|
-
// public API
|
|
1391
|
-
expose: je,
|
|
1392
|
-
inheritAttrs: ke,
|
|
1393
|
-
// assets
|
|
1394
|
-
components: wt,
|
|
1395
|
-
directives: St,
|
|
1396
|
-
filters: Gt
|
|
1397
|
-
} = t;
|
|
1398
|
-
if (h && Hi(h, n, null), o)
|
|
1399
|
-
for (const K in o) {
|
|
1400
|
-
const U = o[K];
|
|
1401
|
-
I(U) && (n[K] = U.bind(s));
|
|
1402
|
-
}
|
|
1403
|
-
if (r) {
|
|
1404
|
-
const K = r.call(s, s);
|
|
1405
|
-
q(K) && (e.data = As(K));
|
|
1406
|
-
}
|
|
1407
|
-
if (ds = !0, i)
|
|
1408
|
-
for (const K in i) {
|
|
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({
|
|
1410
|
-
get: Ne,
|
|
1411
|
-
set: Tt
|
|
1412
|
-
});
|
|
1413
|
-
Object.defineProperty(n, K, {
|
|
1414
|
-
enumerable: !0,
|
|
1415
|
-
configurable: !0,
|
|
1416
|
-
get: () => Ue.value,
|
|
1417
|
-
set: (ae) => Ue.value = ae
|
|
1418
|
-
});
|
|
1419
|
-
}
|
|
1420
|
-
if (f)
|
|
1421
|
-
for (const K in f)
|
|
1422
|
-
Xn(f[K], n, s, K);
|
|
1423
|
-
if (u) {
|
|
1424
|
-
const K = I(u) ? u.call(s) : u;
|
|
1425
|
-
Reflect.ownKeys(K).forEach((U) => {
|
|
1426
|
-
Vi(U, K[U]);
|
|
1427
|
-
});
|
|
1428
|
-
}
|
|
1429
|
-
a && Xs(a, e, "c");
|
|
1430
|
-
function X(K, U) {
|
|
1431
|
-
A(U) ? U.forEach((Ne) => K(Ne.bind(s))) : U && K(U.bind(s));
|
|
1432
|
-
}
|
|
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))
|
|
1434
|
-
if (je.length) {
|
|
1435
|
-
const K = e.exposed || (e.exposed = {});
|
|
1436
|
-
je.forEach((U) => {
|
|
1437
|
-
Object.defineProperty(K, U, {
|
|
1438
|
-
get: () => s[U],
|
|
1439
|
-
set: (Ne) => s[U] = Ne
|
|
1440
|
-
});
|
|
1441
|
-
});
|
|
1442
|
-
} else e.exposed || (e.exposed = {});
|
|
1443
|
-
G && e.render === xe && (e.render = G), ke != null && (e.inheritAttrs = ke), wt && (e.components = wt), St && (e.directives = St), yt && Gn(e);
|
|
1444
|
-
}
|
|
1445
|
-
function Hi(e, t, s = xe) {
|
|
1446
|
-
A(e) && (e = hs(e));
|
|
1447
|
-
for (const n in e) {
|
|
1448
|
-
const r = e[n];
|
|
1449
|
-
let i;
|
|
1450
|
-
q(r) ? "default" in r ? i = At(
|
|
1451
|
-
r.from || n,
|
|
1452
|
-
r.default,
|
|
1453
|
-
!0
|
|
1454
|
-
) : i = At(r.from || n) : i = At(r), ee(i) ? Object.defineProperty(t, n, {
|
|
1455
|
-
enumerable: !0,
|
|
1456
|
-
configurable: !0,
|
|
1457
|
-
get: () => i.value,
|
|
1458
|
-
set: (o) => i.value = o
|
|
1459
|
-
}) : t[n] = i;
|
|
1460
|
-
}
|
|
1461
|
-
}
|
|
1462
|
-
function Xs(e, t, s) {
|
|
1463
|
-
ye(
|
|
1464
|
-
A(e) ? e.map((n) => n.bind(t.proxy)) : e.bind(t.proxy),
|
|
1465
|
-
t,
|
|
1466
|
-
s
|
|
1467
|
-
);
|
|
1468
|
-
}
|
|
1469
|
-
function Xn(e, t, s, n) {
|
|
1470
|
-
let r = n.includes(".") ? ur(s, n) : () => s[n];
|
|
1471
|
-
if (J(e)) {
|
|
1472
|
-
const i = t[e];
|
|
1473
|
-
I(i) && ts(r, i);
|
|
1474
|
-
} else if (I(e))
|
|
1475
|
-
ts(r, e.bind(s));
|
|
1476
|
-
else if (q(e))
|
|
1477
|
-
if (A(e))
|
|
1478
|
-
e.forEach((i) => Xn(i, t, s, n));
|
|
1479
|
-
else {
|
|
1480
|
-
const i = I(e.handler) ? e.handler.bind(s) : t[e.handler];
|
|
1481
|
-
I(i) && ts(r, i, e);
|
|
1482
|
-
}
|
|
1483
|
-
}
|
|
1484
|
-
function Zn(e) {
|
|
1485
|
-
const t = e.type, { mixins: s, extends: n } = t, {
|
|
1486
|
-
mixins: r,
|
|
1487
|
-
optionsCache: i,
|
|
1488
|
-
config: { optionMergeStrategies: o }
|
|
1489
|
-
} = e.appContext, f = i.get(t);
|
|
1490
|
-
let u;
|
|
1491
|
-
return f ? u = f : !r.length && !s && !n ? u = t : (u = {}, r.length && r.forEach(
|
|
1492
|
-
(h) => Ht(u, h, o, !0)
|
|
1493
|
-
), Ht(u, t, o)), q(t) && i.set(t, u), u;
|
|
1494
|
-
}
|
|
1495
|
-
function Ht(e, t, s, n = !1) {
|
|
1496
|
-
const { mixins: r, extends: i } = t;
|
|
1497
|
-
i && Ht(e, i, s, !0), r && r.forEach(
|
|
1498
|
-
(o) => Ht(e, o, s, !0)
|
|
1499
|
-
);
|
|
1500
|
-
for (const o in t)
|
|
1501
|
-
if (!(n && o === "expose")) {
|
|
1502
|
-
const f = ji[o] || s && s[o];
|
|
1503
|
-
e[o] = f ? f(e[o], t[o]) : t[o];
|
|
1504
|
-
}
|
|
1505
|
-
return e;
|
|
1506
|
-
}
|
|
1507
|
-
const ji = {
|
|
1508
|
-
data: Zs,
|
|
1509
|
-
props: Qs,
|
|
1510
|
-
emits: Qs,
|
|
1511
|
-
// objects
|
|
1512
|
-
methods: it,
|
|
1513
|
-
computed: it,
|
|
1514
|
-
// lifecycle
|
|
1515
|
-
beforeCreate: Z,
|
|
1516
|
-
created: Z,
|
|
1517
|
-
beforeMount: Z,
|
|
1518
|
-
mounted: Z,
|
|
1519
|
-
beforeUpdate: Z,
|
|
1520
|
-
updated: Z,
|
|
1521
|
-
beforeDestroy: Z,
|
|
1522
|
-
beforeUnmount: Z,
|
|
1523
|
-
destroyed: Z,
|
|
1524
|
-
unmounted: Z,
|
|
1525
|
-
activated: Z,
|
|
1526
|
-
deactivated: Z,
|
|
1527
|
-
errorCaptured: Z,
|
|
1528
|
-
serverPrefetch: Z,
|
|
1529
|
-
// assets
|
|
1530
|
-
components: it,
|
|
1531
|
-
directives: it,
|
|
1532
|
-
// watch
|
|
1533
|
-
watch: Ui,
|
|
1534
|
-
// provide / inject
|
|
1535
|
-
provide: Zs,
|
|
1536
|
-
inject: Ni
|
|
1537
|
-
};
|
|
1538
|
-
function Zs(e, t) {
|
|
1539
|
-
return t ? e ? function() {
|
|
1540
|
-
return te(
|
|
1541
|
-
I(e) ? e.call(this, this) : e,
|
|
1542
|
-
I(t) ? t.call(this, this) : t
|
|
1543
|
-
);
|
|
1544
|
-
} : t : e;
|
|
1545
|
-
}
|
|
1546
|
-
function Ni(e, t) {
|
|
1547
|
-
return it(hs(e), hs(t));
|
|
1548
|
-
}
|
|
1549
|
-
function hs(e) {
|
|
1550
|
-
if (A(e)) {
|
|
1551
|
-
const t = {};
|
|
1552
|
-
for (let s = 0; s < e.length; s++)
|
|
1553
|
-
t[e[s]] = e[s];
|
|
1554
|
-
return t;
|
|
1555
|
-
}
|
|
1556
|
-
return e;
|
|
1557
|
-
}
|
|
1558
|
-
function Z(e, t) {
|
|
1559
|
-
return e ? [...new Set([].concat(e, t))] : t;
|
|
1560
|
-
}
|
|
1561
|
-
function it(e, t) {
|
|
1562
|
-
return e ? te(/* @__PURE__ */ Object.create(null), e, t) : t;
|
|
1563
|
-
}
|
|
1564
|
-
function Qs(e, t) {
|
|
1565
|
-
return e ? A(e) && A(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : te(
|
|
1566
|
-
/* @__PURE__ */ Object.create(null),
|
|
1567
|
-
zs(e),
|
|
1568
|
-
zs(t != null ? t : {})
|
|
1569
|
-
) : t;
|
|
1570
|
-
}
|
|
1571
|
-
function Ui(e, t) {
|
|
1572
|
-
if (!e) return t;
|
|
1573
|
-
if (!t) return e;
|
|
1574
|
-
const s = te(/* @__PURE__ */ Object.create(null), e);
|
|
1575
|
-
for (const n in t)
|
|
1576
|
-
s[n] = Z(e[n], t[n]);
|
|
1577
|
-
return s;
|
|
1578
|
-
}
|
|
1579
|
-
function Qn() {
|
|
1580
|
-
return {
|
|
1581
|
-
app: null,
|
|
1582
|
-
config: {
|
|
1583
|
-
isNativeTag: Tr,
|
|
1584
|
-
performance: !1,
|
|
1585
|
-
globalProperties: {},
|
|
1586
|
-
optionMergeStrategies: {},
|
|
1587
|
-
errorHandler: void 0,
|
|
1588
|
-
warnHandler: void 0,
|
|
1589
|
-
compilerOptions: {}
|
|
1590
|
-
},
|
|
1591
|
-
mixins: [],
|
|
1592
|
-
components: {},
|
|
1593
|
-
directives: {},
|
|
1594
|
-
provides: /* @__PURE__ */ Object.create(null),
|
|
1595
|
-
optionsCache: /* @__PURE__ */ new WeakMap(),
|
|
1596
|
-
propsCache: /* @__PURE__ */ new WeakMap(),
|
|
1597
|
-
emitsCache: /* @__PURE__ */ new WeakMap()
|
|
1598
|
-
};
|
|
1599
|
-
}
|
|
1600
|
-
let Li = 0;
|
|
1601
|
-
function $i(e, t) {
|
|
1602
|
-
return function(n, r = null) {
|
|
1603
|
-
I(n) || (n = te({}, n)), r != null && !q(r) && (r = null);
|
|
1604
|
-
const i = Qn(), o = /* @__PURE__ */ new WeakSet(), f = [];
|
|
1605
|
-
let u = !1;
|
|
1606
|
-
const h = i.app = {
|
|
1607
|
-
_uid: Li++,
|
|
1608
|
-
_component: n,
|
|
1609
|
-
_props: r,
|
|
1610
|
-
_container: null,
|
|
1611
|
-
_context: i,
|
|
1612
|
-
_instance: null,
|
|
1613
|
-
version: To,
|
|
1614
|
-
get config() {
|
|
1615
|
-
return i.config;
|
|
1616
|
-
},
|
|
1617
|
-
set config(a) {
|
|
1618
|
-
},
|
|
1619
|
-
use(a, ...p) {
|
|
1620
|
-
return o.has(a) || (a && I(a.install) ? (o.add(a), a.install(h, ...p)) : I(a) && (o.add(a), a(h, ...p))), h;
|
|
1621
|
-
},
|
|
1622
|
-
mixin(a) {
|
|
1623
|
-
return i.mixins.includes(a) || i.mixins.push(a), h;
|
|
1624
|
-
},
|
|
1625
|
-
component(a, p) {
|
|
1626
|
-
return p ? (i.components[a] = p, h) : i.components[a];
|
|
1627
|
-
},
|
|
1628
|
-
directive(a, p) {
|
|
1629
|
-
return p ? (i.directives[a] = p, h) : i.directives[a];
|
|
1630
|
-
},
|
|
1631
|
-
mount(a, p, S) {
|
|
1632
|
-
if (!u) {
|
|
1633
|
-
const T = h._ceVNode || fe(n, r);
|
|
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);
|
|
1635
|
-
}
|
|
1636
|
-
},
|
|
1637
|
-
onUnmount(a) {
|
|
1638
|
-
f.push(a);
|
|
1639
|
-
},
|
|
1640
|
-
unmount() {
|
|
1641
|
-
u && (ye(
|
|
1642
|
-
f,
|
|
1643
|
-
h._instance,
|
|
1644
|
-
16
|
|
1645
|
-
), e(null, h._container), delete h._container.__vue_app__);
|
|
1646
|
-
},
|
|
1647
|
-
provide(a, p) {
|
|
1648
|
-
return i.provides[a] = p, h;
|
|
1649
|
-
},
|
|
1650
|
-
runWithContext(a) {
|
|
1651
|
-
const p = Ye;
|
|
1652
|
-
Ye = h;
|
|
1653
|
-
try {
|
|
1654
|
-
return a();
|
|
1655
|
-
} finally {
|
|
1656
|
-
Ye = p;
|
|
1657
|
-
}
|
|
1658
|
-
}
|
|
1659
|
-
};
|
|
1660
|
-
return h;
|
|
1661
|
-
};
|
|
1662
|
-
}
|
|
1663
|
-
let Ye = null;
|
|
1664
|
-
function Vi(e, t) {
|
|
1665
|
-
if (k) {
|
|
1666
|
-
let s = k.provides;
|
|
1667
|
-
const n = k.parent && k.parent.provides;
|
|
1668
|
-
n === s && (s = k.provides = Object.create(n)), s[e] = t;
|
|
1669
|
-
}
|
|
1670
|
-
}
|
|
1671
|
-
function At(e, t, s = !1) {
|
|
1672
|
-
const n = k || be;
|
|
1673
|
-
if (n || Ye) {
|
|
1674
|
-
let r = Ye ? Ye._context.provides : n ? n.parent == null || n.ce ? n.vnode.appContext && n.vnode.appContext.provides : n.parent.provides : void 0;
|
|
1675
|
-
if (r && e in r)
|
|
1676
|
-
return r[e];
|
|
1677
|
-
if (arguments.length > 1)
|
|
1678
|
-
return s && I(t) ? t.call(n && n.proxy) : t;
|
|
1679
|
-
}
|
|
1680
|
-
}
|
|
1681
|
-
const kn = {}, er = () => Object.create(kn), tr = (e) => Object.getPrototypeOf(e) === kn;
|
|
1682
|
-
function Ki(e, t, s, n = !1) {
|
|
1683
|
-
const r = {}, i = er();
|
|
1684
|
-
e.propsDefaults = /* @__PURE__ */ Object.create(null), sr(e, t, r, i);
|
|
1685
|
-
for (const o in e.propsOptions[0])
|
|
1686
|
-
o in r || (r[o] = void 0);
|
|
1687
|
-
s ? e.props = n ? r : ii(r) : e.type.props ? e.props = r : e.props = i, e.attrs = i;
|
|
1688
|
-
}
|
|
1689
|
-
function Wi(e, t, s, n) {
|
|
1690
|
-
const {
|
|
1691
|
-
props: r,
|
|
1692
|
-
attrs: i,
|
|
1693
|
-
vnode: { patchFlag: o }
|
|
1694
|
-
} = e, f = j(r), [u] = e.propsOptions;
|
|
1695
|
-
let h = !1;
|
|
1696
|
-
if (
|
|
1697
|
-
// always force full diff in dev
|
|
1698
|
-
// - #1942 if hmr is enabled with sfc component
|
|
1699
|
-
// - vite#872 non-sfc component used by sfc component
|
|
1700
|
-
(n || o > 0) && !(o & 16)
|
|
1701
|
-
) {
|
|
1702
|
-
if (o & 8) {
|
|
1703
|
-
const a = e.vnode.dynamicProps;
|
|
1704
|
-
for (let p = 0; p < a.length; p++) {
|
|
1705
|
-
let S = a[p];
|
|
1706
|
-
if (Bt(e.emitsOptions, S))
|
|
1707
|
-
continue;
|
|
1708
|
-
const T = t[S];
|
|
1709
|
-
if (u)
|
|
1710
|
-
if (D(i, S))
|
|
1711
|
-
T !== i[S] && (i[S] = T, h = !0);
|
|
1712
|
-
else {
|
|
1713
|
-
const F = He(S);
|
|
1714
|
-
r[F] = ps(
|
|
1715
|
-
u,
|
|
1716
|
-
f,
|
|
1717
|
-
F,
|
|
1718
|
-
T,
|
|
1719
|
-
e,
|
|
1720
|
-
!1
|
|
1721
|
-
);
|
|
1722
|
-
}
|
|
1723
|
-
else
|
|
1724
|
-
T !== i[S] && (i[S] = T, h = !0);
|
|
1725
|
-
}
|
|
1726
|
-
}
|
|
1727
|
-
} else {
|
|
1728
|
-
sr(e, t, r, i) && (h = !0);
|
|
1729
|
-
let a;
|
|
1730
|
-
for (const p in f)
|
|
1731
|
-
(!t || // for camelCase
|
|
1732
|
-
!D(t, p) && // it's possible the original props was passed in as kebab-case
|
|
1733
|
-
// and converted to camelCase (#955)
|
|
1734
|
-
((a = Be(p)) === p || !D(t, a))) && (u ? s && // for camelCase
|
|
1735
|
-
(s[p] !== void 0 || // for kebab-case
|
|
1736
|
-
s[a] !== void 0) && (r[p] = ps(
|
|
1737
|
-
u,
|
|
1738
|
-
f,
|
|
1739
|
-
p,
|
|
1740
|
-
void 0,
|
|
1741
|
-
e,
|
|
1742
|
-
!0
|
|
1743
|
-
)) : delete r[p]);
|
|
1744
|
-
if (i !== f)
|
|
1745
|
-
for (const p in i)
|
|
1746
|
-
(!t || !D(t, p)) && (delete i[p], h = !0);
|
|
1747
|
-
}
|
|
1748
|
-
h && Ee(e.attrs, "set", "");
|
|
1749
|
-
}
|
|
1750
|
-
function sr(e, t, s, n) {
|
|
1751
|
-
const [r, i] = e.propsOptions;
|
|
1752
|
-
let o = !1, f;
|
|
1753
|
-
if (t)
|
|
1754
|
-
for (let u in t) {
|
|
1755
|
-
if (ft(u))
|
|
1756
|
-
continue;
|
|
1757
|
-
const h = t[u];
|
|
1758
|
-
let a;
|
|
1759
|
-
r && D(r, a = He(u)) ? !i || !i.includes(a) ? s[a] = h : (f || (f = {}))[a] = h : Bt(e.emitsOptions, u) || (!(u in n) || h !== n[u]) && (n[u] = h, o = !0);
|
|
1760
|
-
}
|
|
1761
|
-
if (i) {
|
|
1762
|
-
const u = j(s), h = f || V;
|
|
1763
|
-
for (let a = 0; a < i.length; a++) {
|
|
1764
|
-
const p = i[a];
|
|
1765
|
-
s[p] = ps(
|
|
1766
|
-
r,
|
|
1767
|
-
u,
|
|
1768
|
-
p,
|
|
1769
|
-
h[p],
|
|
1770
|
-
e,
|
|
1771
|
-
!D(h, p)
|
|
1772
|
-
);
|
|
1773
|
-
}
|
|
1774
|
-
}
|
|
1775
|
-
return o;
|
|
1776
|
-
}
|
|
1777
|
-
function ps(e, t, s, n, r, i) {
|
|
1778
|
-
const o = e[s];
|
|
1779
|
-
if (o != null) {
|
|
1780
|
-
const f = D(o, "default");
|
|
1781
|
-
if (f && n === void 0) {
|
|
1782
|
-
const u = o.default;
|
|
1783
|
-
if (o.type !== Function && !o.skipFactory && I(u)) {
|
|
1784
|
-
const { propsDefaults: h } = r;
|
|
1785
|
-
if (s in h)
|
|
1786
|
-
n = h[s];
|
|
1787
|
-
else {
|
|
1788
|
-
const a = vt(r);
|
|
1789
|
-
n = h[s] = u.call(
|
|
1790
|
-
null,
|
|
1791
|
-
t
|
|
1792
|
-
), a();
|
|
1793
|
-
}
|
|
1794
|
-
} else
|
|
1795
|
-
n = u;
|
|
1796
|
-
r.ce && r.ce._setProp(s, n);
|
|
1797
|
-
}
|
|
1798
|
-
o[
|
|
1799
|
-
0
|
|
1800
|
-
/* shouldCast */
|
|
1801
|
-
] && (i && !f ? n = !1 : o[
|
|
1802
|
-
1
|
|
1803
|
-
/* shouldCastTrue */
|
|
1804
|
-
] && (n === "" || n === Be(s)) && (n = !0));
|
|
1805
|
-
}
|
|
1
|
+
import { DependentOn as _, Inject as s, Injector as m, Plugin as d } from "@univerjs/core";
|
|
2
|
+
import { UniverUIPlugin as g, ComponentManager as v } from "@univerjs/ui";
|
|
3
|
+
import { h as P, render as p } from "vue";
|
|
4
|
+
var U = Object.defineProperty, h = Object.getOwnPropertyDescriptor, E = (e, r, t) => r in e ? U(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, I = (e, r, t, o) => {
|
|
5
|
+
for (var n = o > 1 ? void 0 : o ? h(r, t) : r, c = e.length - 1, u; c >= 0; c--)
|
|
6
|
+
(u = e[c]) && (n = u(n) || n);
|
|
1806
7
|
return n;
|
|
1807
|
-
}
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
if (r)
|
|
1812
|
-
return r;
|
|
1813
|
-
const i = e.props, o = {}, f = [];
|
|
1814
|
-
let u = !1;
|
|
1815
|
-
if (!I(e)) {
|
|
1816
|
-
const a = (p) => {
|
|
1817
|
-
u = !0;
|
|
1818
|
-
const [S, T] = nr(p, t, !0);
|
|
1819
|
-
te(o, S), T && f.push(...T);
|
|
1820
|
-
};
|
|
1821
|
-
!s && t.mixins.length && t.mixins.forEach(a), e.extends && a(e.extends), e.mixins && e.mixins.forEach(a);
|
|
1822
|
-
}
|
|
1823
|
-
if (!i && !u)
|
|
1824
|
-
return q(e) && n.set(e, ot), ot;
|
|
1825
|
-
if (A(i))
|
|
1826
|
-
for (let a = 0; a < i.length; a++) {
|
|
1827
|
-
const p = He(i[a]);
|
|
1828
|
-
ks(p) && (o[p] = V);
|
|
1829
|
-
}
|
|
1830
|
-
else if (i)
|
|
1831
|
-
for (const a in i) {
|
|
1832
|
-
const p = He(a);
|
|
1833
|
-
if (ks(p)) {
|
|
1834
|
-
const S = i[a], T = o[p] = A(S) || I(S) ? { type: S } : te({}, S), F = T.type;
|
|
1835
|
-
let M = !1, Y = !0;
|
|
1836
|
-
if (A(F))
|
|
1837
|
-
for (let N = 0; N < F.length; ++N) {
|
|
1838
|
-
const W = F[N], B = I(W) && W.name;
|
|
1839
|
-
if (B === "Boolean") {
|
|
1840
|
-
M = !0;
|
|
1841
|
-
break;
|
|
1842
|
-
} else B === "String" && (Y = !1);
|
|
1843
|
-
}
|
|
1844
|
-
else
|
|
1845
|
-
M = I(F) && F.name === "Boolean";
|
|
1846
|
-
T[
|
|
1847
|
-
0
|
|
1848
|
-
/* shouldCast */
|
|
1849
|
-
] = M, T[
|
|
1850
|
-
1
|
|
1851
|
-
/* shouldCastTrue */
|
|
1852
|
-
] = Y, (M || D(T, "default")) && f.push(p);
|
|
1853
|
-
}
|
|
1854
|
-
}
|
|
1855
|
-
const h = [o, f];
|
|
1856
|
-
return q(e) && n.set(e, h), h;
|
|
1857
|
-
}
|
|
1858
|
-
function ks(e) {
|
|
1859
|
-
return e[0] !== "$" && !ft(e);
|
|
1860
|
-
}
|
|
1861
|
-
const Ds = (e) => e[0] === "_" || e === "$stable", Hs = (e) => A(e) ? e.map(me) : [me(e)], qi = (e, t, s) => {
|
|
1862
|
-
if (t._n)
|
|
1863
|
-
return t;
|
|
1864
|
-
const n = mi((...r) => Hs(t(...r)), s);
|
|
1865
|
-
return n._c = !1, n;
|
|
1866
|
-
}, rr = (e, t, s) => {
|
|
1867
|
-
const n = e._ctx;
|
|
1868
|
-
for (const r in e) {
|
|
1869
|
-
if (Ds(r)) continue;
|
|
1870
|
-
const i = e[r];
|
|
1871
|
-
if (I(i))
|
|
1872
|
-
t[r] = qi(r, i, n);
|
|
1873
|
-
else if (i != null) {
|
|
1874
|
-
const o = Hs(i);
|
|
1875
|
-
t[r] = () => o;
|
|
1876
|
-
}
|
|
1877
|
-
}
|
|
1878
|
-
}, ir = (e, t) => {
|
|
1879
|
-
const s = Hs(t);
|
|
1880
|
-
e.slots.default = () => s;
|
|
1881
|
-
}, or = (e, t, s) => {
|
|
1882
|
-
for (const n in t)
|
|
1883
|
-
(s || !Ds(n)) && (e[n] = t[n]);
|
|
1884
|
-
}, Gi = (e, t, s) => {
|
|
1885
|
-
const n = e.slots = er();
|
|
1886
|
-
if (e.vnode.shapeFlag & 32) {
|
|
1887
|
-
const r = t.__;
|
|
1888
|
-
r && is(n, "__", r, !0);
|
|
1889
|
-
const i = t._;
|
|
1890
|
-
i ? (or(n, t, s), s && is(n, "_", i, !0)) : rr(t, n);
|
|
1891
|
-
} else t && ir(e, t);
|
|
1892
|
-
}, Ji = (e, t, s) => {
|
|
1893
|
-
const { vnode: n, slots: r } = e;
|
|
1894
|
-
let i = !0, o = V;
|
|
1895
|
-
if (n.shapeFlag & 32) {
|
|
1896
|
-
const f = t._;
|
|
1897
|
-
f ? s && f === 1 ? i = !1 : or(r, t, s) : (i = !t.$stable, rr(t, r)), o = t;
|
|
1898
|
-
} else t && (ir(e, t), o = { default: 1 });
|
|
1899
|
-
if (i)
|
|
1900
|
-
for (const f in r)
|
|
1901
|
-
!Ds(f) && o[f] == null && delete r[f];
|
|
1902
|
-
}, oe = lo;
|
|
1903
|
-
function Yi(e) {
|
|
1904
|
-
return zi(e);
|
|
1905
|
-
}
|
|
1906
|
-
function zi(e, t) {
|
|
1907
|
-
const s = Vt();
|
|
1908
|
-
s.__VUE__ = !0;
|
|
1909
|
-
const {
|
|
1910
|
-
insert: n,
|
|
1911
|
-
remove: r,
|
|
1912
|
-
patchProp: i,
|
|
1913
|
-
createElement: o,
|
|
1914
|
-
createText: f,
|
|
1915
|
-
createComment: u,
|
|
1916
|
-
setText: h,
|
|
1917
|
-
setElementText: a,
|
|
1918
|
-
parentNode: p,
|
|
1919
|
-
nextSibling: S,
|
|
1920
|
-
setScopeId: T = xe,
|
|
1921
|
-
insertStaticContent: F
|
|
1922
|
-
} = e, M = (l, c, d, m = null, g = null, _ = null, y = void 0, v = null, x = !!c.dynamicChildren) => {
|
|
1923
|
-
if (l === c)
|
|
1924
|
-
return;
|
|
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;
|
|
1927
|
-
switch (b) {
|
|
1928
|
-
case qt:
|
|
1929
|
-
Y(l, c, d, m);
|
|
1930
|
-
break;
|
|
1931
|
-
case Xe:
|
|
1932
|
-
N(l, c, d, m);
|
|
1933
|
-
break;
|
|
1934
|
-
case ss:
|
|
1935
|
-
l == null && W(c, d, m, y);
|
|
1936
|
-
break;
|
|
1937
|
-
case Te:
|
|
1938
|
-
wt(
|
|
1939
|
-
l,
|
|
1940
|
-
c,
|
|
1941
|
-
d,
|
|
1942
|
-
m,
|
|
1943
|
-
g,
|
|
1944
|
-
_,
|
|
1945
|
-
y,
|
|
1946
|
-
v,
|
|
1947
|
-
x
|
|
1948
|
-
);
|
|
1949
|
-
break;
|
|
1950
|
-
default:
|
|
1951
|
-
w & 1 ? G(
|
|
1952
|
-
l,
|
|
1953
|
-
c,
|
|
1954
|
-
d,
|
|
1955
|
-
m,
|
|
1956
|
-
g,
|
|
1957
|
-
_,
|
|
1958
|
-
y,
|
|
1959
|
-
v,
|
|
1960
|
-
x
|
|
1961
|
-
) : w & 6 ? St(
|
|
1962
|
-
l,
|
|
1963
|
-
c,
|
|
1964
|
-
d,
|
|
1965
|
-
m,
|
|
1966
|
-
g,
|
|
1967
|
-
_,
|
|
1968
|
-
y,
|
|
1969
|
-
v,
|
|
1970
|
-
x
|
|
1971
|
-
) : (w & 64 || w & 128) && b.process(
|
|
1972
|
-
l,
|
|
1973
|
-
c,
|
|
1974
|
-
d,
|
|
1975
|
-
m,
|
|
1976
|
-
g,
|
|
1977
|
-
_,
|
|
1978
|
-
y,
|
|
1979
|
-
v,
|
|
1980
|
-
x,
|
|
1981
|
-
tt
|
|
1982
|
-
);
|
|
1983
|
-
}
|
|
1984
|
-
C != null && g ? dt(C, l && l.ref, _, c || l, !c) : C == null && l && l.ref != null && dt(l.ref, null, _, l, !0);
|
|
1985
|
-
}, Y = (l, c, d, m) => {
|
|
1986
|
-
if (l == null)
|
|
1987
|
-
n(
|
|
1988
|
-
c.el = f(c.children),
|
|
1989
|
-
d,
|
|
1990
|
-
m
|
|
1991
|
-
);
|
|
1992
|
-
else {
|
|
1993
|
-
const g = c.el = l.el;
|
|
1994
|
-
c.children !== l.children && h(g, c.children);
|
|
1995
|
-
}
|
|
1996
|
-
}, N = (l, c, d, m) => {
|
|
1997
|
-
l == null ? n(
|
|
1998
|
-
c.el = u(c.children || ""),
|
|
1999
|
-
d,
|
|
2000
|
-
m
|
|
2001
|
-
) : c.el = l.el;
|
|
2002
|
-
}, W = (l, c, d, m) => {
|
|
2003
|
-
[l.el, l.anchor] = F(
|
|
2004
|
-
l.children,
|
|
2005
|
-
c,
|
|
2006
|
-
d,
|
|
2007
|
-
m,
|
|
2008
|
-
l.el,
|
|
2009
|
-
l.anchor
|
|
2010
|
-
);
|
|
2011
|
-
}, B = ({ el: l, anchor: c }, d, m) => {
|
|
2012
|
-
let g;
|
|
2013
|
-
for (; l && l !== c; )
|
|
2014
|
-
g = S(l), n(l, d, m), l = g;
|
|
2015
|
-
n(c, d, m);
|
|
2016
|
-
}, O = ({ el: l, anchor: c }) => {
|
|
2017
|
-
let d;
|
|
2018
|
-
for (; l && l !== c; )
|
|
2019
|
-
d = S(l), r(l), l = d;
|
|
2020
|
-
r(c);
|
|
2021
|
-
}, G = (l, c, d, m, g, _, y, v, x) => {
|
|
2022
|
-
c.type === "svg" ? y = "svg" : c.type === "math" && (y = "mathml"), l == null ? Ae(
|
|
2023
|
-
c,
|
|
2024
|
-
d,
|
|
2025
|
-
m,
|
|
2026
|
-
g,
|
|
2027
|
-
_,
|
|
2028
|
-
y,
|
|
2029
|
-
v,
|
|
2030
|
-
x
|
|
2031
|
-
) : yt(
|
|
2032
|
-
l,
|
|
2033
|
-
c,
|
|
2034
|
-
g,
|
|
2035
|
-
_,
|
|
2036
|
-
y,
|
|
2037
|
-
v,
|
|
2038
|
-
x
|
|
2039
|
-
);
|
|
2040
|
-
}, Ae = (l, c, d, m, g, _, y, v) => {
|
|
2041
|
-
let x, b;
|
|
2042
|
-
const { props: C, shapeFlag: w, transition: E, dirs: P } = l;
|
|
2043
|
-
if (x = l.el = o(
|
|
2044
|
-
l.type,
|
|
2045
|
-
_,
|
|
2046
|
-
C && C.is,
|
|
2047
|
-
C
|
|
2048
|
-
), w & 8 ? a(x, l.children) : w & 16 && Ie(
|
|
2049
|
-
l.children,
|
|
2050
|
-
x,
|
|
2051
|
-
null,
|
|
2052
|
-
m,
|
|
2053
|
-
g,
|
|
2054
|
-
es(l, _),
|
|
2055
|
-
y,
|
|
2056
|
-
v
|
|
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");
|
|
2066
|
-
}, g);
|
|
2067
|
-
}, ue = (l, c, d, m, g) => {
|
|
2068
|
-
if (d && T(l, d), m)
|
|
2069
|
-
for (let _ = 0; _ < m.length; _++)
|
|
2070
|
-
T(l, m[_]);
|
|
2071
|
-
if (g) {
|
|
2072
|
-
let _ = g.subTree;
|
|
2073
|
-
if (c === _ || dr(_.type) && (_.ssContent === c || _.ssFallback === c)) {
|
|
2074
|
-
const y = g.vnode;
|
|
2075
|
-
ue(
|
|
2076
|
-
l,
|
|
2077
|
-
y,
|
|
2078
|
-
y.scopeId,
|
|
2079
|
-
y.slotScopeIds,
|
|
2080
|
-
g.parent
|
|
2081
|
-
);
|
|
2082
|
-
}
|
|
2083
|
-
}
|
|
2084
|
-
}, Ie = (l, c, d, m, g, _, y, v, x = 0) => {
|
|
2085
|
-
for (let b = x; b < l.length; b++) {
|
|
2086
|
-
const C = l[b] = v ? Me(l[b]) : me(l[b]);
|
|
2087
|
-
M(
|
|
2088
|
-
null,
|
|
2089
|
-
C,
|
|
2090
|
-
c,
|
|
2091
|
-
d,
|
|
2092
|
-
m,
|
|
2093
|
-
g,
|
|
2094
|
-
_,
|
|
2095
|
-
y,
|
|
2096
|
-
v
|
|
2097
|
-
);
|
|
2098
|
-
}
|
|
2099
|
-
}, yt = (l, c, d, m, g, _, y) => {
|
|
2100
|
-
const v = c.el = l.el;
|
|
2101
|
-
let { patchFlag: x, dynamicChildren: b, dirs: C } = c;
|
|
2102
|
-
x |= l.patchFlag & 16;
|
|
2103
|
-
const w = l.props || V, E = c.props || V;
|
|
2104
|
-
let P;
|
|
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(
|
|
2106
|
-
l.dynamicChildren,
|
|
2107
|
-
b,
|
|
2108
|
-
v,
|
|
2109
|
-
d,
|
|
2110
|
-
m,
|
|
2111
|
-
es(c, g),
|
|
2112
|
-
_
|
|
2113
|
-
) : y || U(
|
|
2114
|
-
l,
|
|
2115
|
-
c,
|
|
2116
|
-
v,
|
|
2117
|
-
null,
|
|
2118
|
-
d,
|
|
2119
|
-
m,
|
|
2120
|
-
es(c, g),
|
|
2121
|
-
_,
|
|
2122
|
-
!1
|
|
2123
|
-
), x > 0) {
|
|
2124
|
-
if (x & 16)
|
|
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) {
|
|
2127
|
-
const R = c.dynamicProps;
|
|
2128
|
-
for (let L = 0; L < R.length; L++) {
|
|
2129
|
-
const H = R[L], se = w[H], ne = E[H];
|
|
2130
|
-
(ne !== se || H === "value") && i(v, H, se, ne, g, d);
|
|
2131
|
-
}
|
|
2132
|
-
}
|
|
2133
|
-
x & 1 && l.children !== c.children && a(v, c.children);
|
|
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");
|
|
2137
|
-
}, m);
|
|
2138
|
-
}, je = (l, c, d, m, g, _, y) => {
|
|
2139
|
-
for (let v = 0; v < c.length; v++) {
|
|
2140
|
-
const x = l[v], b = c[v], C = (
|
|
2141
|
-
// oldVNode may be an errored async setup() component inside Suspense
|
|
2142
|
-
// which will not have a mounted element
|
|
2143
|
-
x.el && // - In the case of a Fragment, we need to provide the actual parent
|
|
2144
|
-
// of the Fragment itself so it can move its children.
|
|
2145
|
-
(x.type === Te || // - In the case of different nodes, there is going to be a replacement
|
|
2146
|
-
// which also requires the correct parent container
|
|
2147
|
-
!rt(x, b) || // - In the case of a component, it could contain anything.
|
|
2148
|
-
x.shapeFlag & 198) ? p(x.el) : (
|
|
2149
|
-
// In other cases, the parent container is not actually used so we
|
|
2150
|
-
// just pass the block element here to avoid a DOM parentNode call.
|
|
2151
|
-
d
|
|
2152
|
-
)
|
|
2153
|
-
);
|
|
2154
|
-
M(
|
|
2155
|
-
x,
|
|
2156
|
-
b,
|
|
2157
|
-
C,
|
|
2158
|
-
null,
|
|
2159
|
-
m,
|
|
2160
|
-
g,
|
|
2161
|
-
_,
|
|
2162
|
-
y,
|
|
2163
|
-
!0
|
|
2164
|
-
);
|
|
2165
|
-
}
|
|
2166
|
-
}, ke = (l, c, d, m, g) => {
|
|
2167
|
-
if (c !== d) {
|
|
2168
|
-
if (c !== V)
|
|
2169
|
-
for (const _ in c)
|
|
2170
|
-
!ft(_) && !(_ in d) && i(
|
|
2171
|
-
l,
|
|
2172
|
-
_,
|
|
2173
|
-
c[_],
|
|
2174
|
-
null,
|
|
2175
|
-
g,
|
|
2176
|
-
m
|
|
2177
|
-
);
|
|
2178
|
-
for (const _ in d) {
|
|
2179
|
-
if (ft(_)) continue;
|
|
2180
|
-
const y = d[_], v = c[_];
|
|
2181
|
-
y !== v && _ !== "value" && i(l, _, v, y, g, m);
|
|
2182
|
-
}
|
|
2183
|
-
"value" in d && i(l, "value", c.value, d.value, g);
|
|
2184
|
-
}
|
|
2185
|
-
}, wt = (l, c, d, m, g, _, y, v, x) => {
|
|
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(
|
|
2189
|
-
// #10007
|
|
2190
|
-
// such fragment like `<></>` will be compiled into
|
|
2191
|
-
// a fragment which doesn't have a children.
|
|
2192
|
-
// In this case fallback to an empty array
|
|
2193
|
-
c.children || [],
|
|
2194
|
-
d,
|
|
2195
|
-
C,
|
|
2196
|
-
g,
|
|
2197
|
-
_,
|
|
2198
|
-
y,
|
|
2199
|
-
v,
|
|
2200
|
-
x
|
|
2201
|
-
)) : w > 0 && w & 64 && E && // #2715 the previous fragment could've been a BAILed one as a result
|
|
2202
|
-
// of renderSlot() with no valid children
|
|
2203
|
-
l.dynamicChildren ? (je(
|
|
2204
|
-
l.dynamicChildren,
|
|
2205
|
-
E,
|
|
2206
|
-
d,
|
|
2207
|
-
g,
|
|
2208
|
-
_,
|
|
2209
|
-
y,
|
|
2210
|
-
v
|
|
2211
|
-
), // #2080 if the stable fragment has a key, it's a <template v-for> that may
|
|
2212
|
-
// get moved around. Make sure all root level vnodes inherit el.
|
|
2213
|
-
// #2134 or if it's a component root, it may also get moved around
|
|
2214
|
-
// as the component is being moved.
|
|
2215
|
-
(c.key != null || g && c === g.subTree) && lr(
|
|
2216
|
-
l,
|
|
2217
|
-
c,
|
|
2218
|
-
!0
|
|
2219
|
-
/* shallow */
|
|
2220
|
-
)) : U(
|
|
2221
|
-
l,
|
|
2222
|
-
c,
|
|
2223
|
-
d,
|
|
2224
|
-
C,
|
|
2225
|
-
g,
|
|
2226
|
-
_,
|
|
2227
|
-
y,
|
|
2228
|
-
v,
|
|
2229
|
-
x
|
|
2230
|
-
);
|
|
2231
|
-
}, St = (l, c, d, m, g, _, y, v, x) => {
|
|
2232
|
-
c.slotScopeIds = v, l == null ? c.shapeFlag & 512 ? g.ctx.activate(
|
|
2233
|
-
c,
|
|
2234
|
-
d,
|
|
2235
|
-
m,
|
|
2236
|
-
y,
|
|
2237
|
-
x
|
|
2238
|
-
) : Gt(
|
|
2239
|
-
c,
|
|
2240
|
-
d,
|
|
2241
|
-
m,
|
|
2242
|
-
g,
|
|
2243
|
-
_,
|
|
2244
|
-
y,
|
|
2245
|
-
x
|
|
2246
|
-
) : Ls(l, c, x);
|
|
2247
|
-
}, Gt = (l, c, d, m, g, _, y) => {
|
|
2248
|
-
const v = l.component = _o(
|
|
2249
|
-
l,
|
|
2250
|
-
m,
|
|
2251
|
-
g
|
|
2252
|
-
);
|
|
2253
|
-
if (Jn(l) && (v.ctx.renderer = tt), mo(v, !1, y), v.asyncDep) {
|
|
2254
|
-
if (g && g.registerDep(v, X, y), !l.el) {
|
|
2255
|
-
const x = v.subTree = fe(Xe);
|
|
2256
|
-
N(null, x, c, d);
|
|
2257
|
-
}
|
|
2258
|
-
} else
|
|
2259
|
-
X(
|
|
2260
|
-
v,
|
|
2261
|
-
l,
|
|
2262
|
-
c,
|
|
2263
|
-
d,
|
|
2264
|
-
g,
|
|
2265
|
-
_,
|
|
2266
|
-
y
|
|
2267
|
-
);
|
|
2268
|
-
}, Ls = (l, c, d) => {
|
|
2269
|
-
const m = c.component = l.component;
|
|
2270
|
-
if (io(l, c, d))
|
|
2271
|
-
if (m.asyncDep && !m.asyncResolved) {
|
|
2272
|
-
K(m, c, d);
|
|
2273
|
-
return;
|
|
2274
|
-
} else
|
|
2275
|
-
m.next = c, m.update();
|
|
2276
|
-
else
|
|
2277
|
-
c.el = l.el, m.vnode = c;
|
|
2278
|
-
}, X = (l, c, d, m, g, _, y) => {
|
|
2279
|
-
const v = () => {
|
|
2280
|
-
if (l.isMounted) {
|
|
2281
|
-
let { next: w, bu: E, u: P, parent: R, vnode: L } = l;
|
|
2282
|
-
{
|
|
2283
|
-
const he = fr(l);
|
|
2284
|
-
if (he) {
|
|
2285
|
-
w && (w.el = L.el, K(l, w, y)), he.asyncDep.then(() => {
|
|
2286
|
-
l.isUnmounted || v();
|
|
2287
|
-
});
|
|
2288
|
-
return;
|
|
2289
|
-
}
|
|
2290
|
-
}
|
|
2291
|
-
let H = w, se;
|
|
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);
|
|
2293
|
-
const ne = tn(l), de = l.subTree;
|
|
2294
|
-
l.subTree = ne, M(
|
|
2295
|
-
de,
|
|
2296
|
-
ne,
|
|
2297
|
-
// parent may have changed if it's in a teleport
|
|
2298
|
-
p(de.el),
|
|
2299
|
-
// anchor may have changed if it's in a fragment
|
|
2300
|
-
Et(de),
|
|
2301
|
-
l,
|
|
2302
|
-
g,
|
|
2303
|
-
_
|
|
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),
|
|
2306
|
-
g
|
|
2307
|
-
);
|
|
2308
|
-
} else {
|
|
2309
|
-
let w;
|
|
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);
|
|
2312
|
-
{
|
|
2313
|
-
se.ce && // @ts-expect-error _def is private
|
|
2314
|
-
se.ce._def.shadowRoot !== !1 && se.ce._injectChildStyle(ne);
|
|
2315
|
-
const he = l.subTree = tn(l);
|
|
2316
|
-
M(
|
|
2317
|
-
null,
|
|
2318
|
-
he,
|
|
2319
|
-
d,
|
|
2320
|
-
m,
|
|
2321
|
-
l,
|
|
2322
|
-
g,
|
|
2323
|
-
_
|
|
2324
|
-
), c.el = he.el;
|
|
2325
|
-
}
|
|
2326
|
-
if (L && oe(L, g), !de && (w = P && P.onVnodeMounted)) {
|
|
2327
|
-
const he = c;
|
|
2328
|
-
oe(
|
|
2329
|
-
() => ge(w, H, he),
|
|
2330
|
-
g
|
|
2331
|
-
);
|
|
2332
|
-
}
|
|
2333
|
-
(c.shapeFlag & 256 || H && ht(H.vnode) && H.vnode.shapeFlag & 256) && l.a && oe(l.a, g), l.isMounted = !0, c = d = m = null;
|
|
2334
|
-
}
|
|
2335
|
-
};
|
|
2336
|
-
l.scope.on();
|
|
2337
|
-
const x = l.effect = new Tn(v);
|
|
2338
|
-
l.scope.off();
|
|
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();
|
|
2341
|
-
}, K = (l, c, d) => {
|
|
2342
|
-
c.component = l;
|
|
2343
|
-
const m = l.vnode.props;
|
|
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) {
|
|
2349
|
-
Tt(
|
|
2350
|
-
b,
|
|
2351
|
-
w,
|
|
2352
|
-
d,
|
|
2353
|
-
m,
|
|
2354
|
-
g,
|
|
2355
|
-
_,
|
|
2356
|
-
y,
|
|
2357
|
-
v,
|
|
2358
|
-
x
|
|
2359
|
-
);
|
|
2360
|
-
return;
|
|
2361
|
-
} else if (E & 256) {
|
|
2362
|
-
Ne(
|
|
2363
|
-
b,
|
|
2364
|
-
w,
|
|
2365
|
-
d,
|
|
2366
|
-
m,
|
|
2367
|
-
g,
|
|
2368
|
-
_,
|
|
2369
|
-
y,
|
|
2370
|
-
v,
|
|
2371
|
-
x
|
|
2372
|
-
);
|
|
2373
|
-
return;
|
|
2374
|
-
}
|
|
2375
|
-
}
|
|
2376
|
-
P & 8 ? (C & 16 && et(b, g, _), w !== b && a(d, w)) : C & 16 ? P & 16 ? Tt(
|
|
2377
|
-
b,
|
|
2378
|
-
w,
|
|
2379
|
-
d,
|
|
2380
|
-
m,
|
|
2381
|
-
g,
|
|
2382
|
-
_,
|
|
2383
|
-
y,
|
|
2384
|
-
v,
|
|
2385
|
-
x
|
|
2386
|
-
) : et(b, g, _, !0) : (C & 8 && a(d, ""), P & 16 && Ie(
|
|
2387
|
-
w,
|
|
2388
|
-
d,
|
|
2389
|
-
m,
|
|
2390
|
-
g,
|
|
2391
|
-
_,
|
|
2392
|
-
y,
|
|
2393
|
-
v,
|
|
2394
|
-
x
|
|
2395
|
-
));
|
|
2396
|
-
}, Ne = (l, c, d, m, g, _, y, v, x) => {
|
|
2397
|
-
l = l || ot, c = c || ot;
|
|
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]);
|
|
2402
|
-
M(
|
|
2403
|
-
l[E],
|
|
2404
|
-
P,
|
|
2405
|
-
d,
|
|
2406
|
-
null,
|
|
2407
|
-
g,
|
|
2408
|
-
_,
|
|
2409
|
-
y,
|
|
2410
|
-
v,
|
|
2411
|
-
x
|
|
2412
|
-
);
|
|
2413
|
-
}
|
|
2414
|
-
b > C ? et(
|
|
2415
|
-
l,
|
|
2416
|
-
g,
|
|
2417
|
-
_,
|
|
2418
|
-
!0,
|
|
2419
|
-
!1,
|
|
2420
|
-
w
|
|
2421
|
-
) : Ie(
|
|
2422
|
-
c,
|
|
2423
|
-
d,
|
|
2424
|
-
m,
|
|
2425
|
-
g,
|
|
2426
|
-
_,
|
|
2427
|
-
y,
|
|
2428
|
-
v,
|
|
2429
|
-
x,
|
|
2430
|
-
w
|
|
2431
|
-
);
|
|
2432
|
-
}, Tt = (l, c, d, m, g, _, y, v, x) => {
|
|
2433
|
-
let b = 0;
|
|
2434
|
-
const C = c.length;
|
|
2435
|
-
let w = l.length - 1, E = C - 1;
|
|
2436
|
-
for (; b <= w && b <= E; ) {
|
|
2437
|
-
const P = l[b], R = c[b] = x ? Me(c[b]) : me(c[b]);
|
|
2438
|
-
if (rt(P, R))
|
|
2439
|
-
M(
|
|
2440
|
-
P,
|
|
2441
|
-
R,
|
|
2442
|
-
d,
|
|
2443
|
-
null,
|
|
2444
|
-
g,
|
|
2445
|
-
_,
|
|
2446
|
-
y,
|
|
2447
|
-
v,
|
|
2448
|
-
x
|
|
2449
|
-
);
|
|
2450
|
-
else
|
|
2451
|
-
break;
|
|
2452
|
-
b++;
|
|
2453
|
-
}
|
|
2454
|
-
for (; b <= w && b <= E; ) {
|
|
2455
|
-
const P = l[w], R = c[E] = x ? Me(c[E]) : me(c[E]);
|
|
2456
|
-
if (rt(P, R))
|
|
2457
|
-
M(
|
|
2458
|
-
P,
|
|
2459
|
-
R,
|
|
2460
|
-
d,
|
|
2461
|
-
null,
|
|
2462
|
-
g,
|
|
2463
|
-
_,
|
|
2464
|
-
y,
|
|
2465
|
-
v,
|
|
2466
|
-
x
|
|
2467
|
-
);
|
|
2468
|
-
else
|
|
2469
|
-
break;
|
|
2470
|
-
w--, E--;
|
|
2471
|
-
}
|
|
2472
|
-
if (b > w) {
|
|
2473
|
-
if (b <= E) {
|
|
2474
|
-
const P = E + 1, R = P < C ? c[P].el : m;
|
|
2475
|
-
for (; b <= E; )
|
|
2476
|
-
M(
|
|
2477
|
-
null,
|
|
2478
|
-
c[b] = x ? Me(c[b]) : me(c[b]),
|
|
2479
|
-
d,
|
|
2480
|
-
R,
|
|
2481
|
-
g,
|
|
2482
|
-
_,
|
|
2483
|
-
y,
|
|
2484
|
-
v,
|
|
2485
|
-
x
|
|
2486
|
-
), b++;
|
|
2487
|
-
}
|
|
2488
|
-
} else if (b > E)
|
|
2489
|
-
for (; b <= w; )
|
|
2490
|
-
ae(l[b], g, _, !0), b++;
|
|
2491
|
-
else {
|
|
2492
|
-
const P = b, R = b, L = /* @__PURE__ */ new Map();
|
|
2493
|
-
for (b = R; b <= E; b++) {
|
|
2494
|
-
const ie = c[b] = x ? Me(c[b]) : me(c[b]);
|
|
2495
|
-
ie.key != null && L.set(ie.key, b);
|
|
2496
|
-
}
|
|
2497
|
-
let H, se = 0;
|
|
2498
|
-
const ne = E - R + 1;
|
|
2499
|
-
let de = !1, he = 0;
|
|
2500
|
-
const st = new Array(ne);
|
|
2501
|
-
for (b = 0; b < ne; b++) st[b] = 0;
|
|
2502
|
-
for (b = P; b <= w; b++) {
|
|
2503
|
-
const ie = l[b];
|
|
2504
|
-
if (se >= ne) {
|
|
2505
|
-
ae(ie, g, _, !0);
|
|
2506
|
-
continue;
|
|
2507
|
-
}
|
|
2508
|
-
let pe;
|
|
2509
|
-
if (ie.key != null)
|
|
2510
|
-
pe = L.get(ie.key);
|
|
2511
|
-
else
|
|
2512
|
-
for (H = R; H <= E; H++)
|
|
2513
|
-
if (st[H - R] === 0 && rt(ie, c[H])) {
|
|
2514
|
-
pe = H;
|
|
2515
|
-
break;
|
|
2516
|
-
}
|
|
2517
|
-
pe === void 0 ? ae(ie, g, _, !0) : (st[pe - R] = b + 1, pe >= he ? he = pe : de = !0, M(
|
|
2518
|
-
ie,
|
|
2519
|
-
c[pe],
|
|
2520
|
-
d,
|
|
2521
|
-
null,
|
|
2522
|
-
g,
|
|
2523
|
-
_,
|
|
2524
|
-
y,
|
|
2525
|
-
v,
|
|
2526
|
-
x
|
|
2527
|
-
), se++);
|
|
2528
|
-
}
|
|
2529
|
-
const Ks = de ? Zi(st) : ot;
|
|
2530
|
-
for (H = Ks.length - 1, b = ne - 1; b >= 0; b--) {
|
|
2531
|
-
const ie = R + b, pe = c[ie], Ws = ie + 1 < C ? c[ie + 1].el : m;
|
|
2532
|
-
st[b] === 0 ? M(
|
|
2533
|
-
null,
|
|
2534
|
-
pe,
|
|
2535
|
-
d,
|
|
2536
|
-
Ws,
|
|
2537
|
-
g,
|
|
2538
|
-
_,
|
|
2539
|
-
y,
|
|
2540
|
-
v,
|
|
2541
|
-
x
|
|
2542
|
-
) : de && (H < 0 || b !== Ks[H] ? Ue(pe, d, Ws, 2) : H--);
|
|
2543
|
-
}
|
|
2544
|
-
}
|
|
2545
|
-
}, Ue = (l, c, d, m, g = null) => {
|
|
2546
|
-
const { el: _, type: y, transition: v, children: x, shapeFlag: b } = l;
|
|
2547
|
-
if (b & 6) {
|
|
2548
|
-
Ue(l.component.subTree, c, d, m);
|
|
2549
|
-
return;
|
|
2550
|
-
}
|
|
2551
|
-
if (b & 128) {
|
|
2552
|
-
l.suspense.move(c, d, m);
|
|
2553
|
-
return;
|
|
2554
|
-
}
|
|
2555
|
-
if (b & 64) {
|
|
2556
|
-
y.move(l, c, d, tt);
|
|
2557
|
-
return;
|
|
2558
|
-
}
|
|
2559
|
-
if (y === Te) {
|
|
2560
|
-
n(_, c, d);
|
|
2561
|
-
for (let w = 0; w < x.length; w++)
|
|
2562
|
-
Ue(x[w], c, d, m);
|
|
2563
|
-
n(l.anchor, c, d);
|
|
2564
|
-
return;
|
|
2565
|
-
}
|
|
2566
|
-
if (y === ss) {
|
|
2567
|
-
B(l, c, d);
|
|
2568
|
-
return;
|
|
2569
|
-
}
|
|
2570
|
-
if (m !== 2 && b & 1 && v)
|
|
2571
|
-
if (m === 0)
|
|
2572
|
-
v.beforeEnter(_), n(_, c, d), oe(() => v.enter(_), g);
|
|
2573
|
-
else {
|
|
2574
|
-
const { leave: w, delayLeave: E, afterLeave: P } = v, R = () => {
|
|
2575
|
-
l.ctx.isUnmounted ? r(_) : n(_, c, d);
|
|
2576
|
-
}, L = () => {
|
|
2577
|
-
w(_, () => {
|
|
2578
|
-
R(), P && P();
|
|
2579
|
-
});
|
|
2580
|
-
};
|
|
2581
|
-
E ? E(_, R, L) : L();
|
|
2582
|
-
}
|
|
2583
|
-
else
|
|
2584
|
-
n(_, c, d);
|
|
2585
|
-
}, ae = (l, c, d, m = !1, g = !1) => {
|
|
2586
|
-
const {
|
|
2587
|
-
type: _,
|
|
2588
|
-
props: y,
|
|
2589
|
-
ref: v,
|
|
2590
|
-
children: x,
|
|
2591
|
-
dynamicChildren: b,
|
|
2592
|
-
shapeFlag: C,
|
|
2593
|
-
patchFlag: w,
|
|
2594
|
-
dirs: E,
|
|
2595
|
-
cacheIndex: P
|
|
2596
|
-
} = l;
|
|
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) {
|
|
2598
|
-
c.ctx.deactivate(l);
|
|
2599
|
-
return;
|
|
2600
|
-
}
|
|
2601
|
-
const R = C & 1 && E, L = !ht(l);
|
|
2602
|
-
let H;
|
|
2603
|
-
if (L && (H = y && y.onVnodeBeforeUnmount) && ge(H, c, l), C & 6)
|
|
2604
|
-
br(l.component, d, m);
|
|
2605
|
-
else {
|
|
2606
|
-
if (C & 128) {
|
|
2607
|
-
l.suspense.unmount(d, m);
|
|
2608
|
-
return;
|
|
2609
|
-
}
|
|
2610
|
-
R && Le(l, null, c, "beforeUnmount"), C & 64 ? l.type.remove(
|
|
2611
|
-
l,
|
|
2612
|
-
c,
|
|
2613
|
-
d,
|
|
2614
|
-
tt,
|
|
2615
|
-
m
|
|
2616
|
-
) : b && // #5154
|
|
2617
|
-
// when v-once is used inside a block, setBlockTracking(-1) marks the
|
|
2618
|
-
// parent block with hasOnce: true
|
|
2619
|
-
// so that it doesn't take the fast path during unmount - otherwise
|
|
2620
|
-
// components nested in v-once are never unmounted.
|
|
2621
|
-
!b.hasOnce && // #1153: fast path should not be taken for non-stable (v-for) fragments
|
|
2622
|
-
(_ !== Te || w > 0 && w & 64) ? et(
|
|
2623
|
-
b,
|
|
2624
|
-
c,
|
|
2625
|
-
d,
|
|
2626
|
-
!1,
|
|
2627
|
-
!0
|
|
2628
|
-
) : (_ === Te && w & 384 || !g && C & 16) && et(x, c, d), m && $s(l);
|
|
2629
|
-
}
|
|
2630
|
-
(L && (H = y && y.onVnodeUnmounted) || R) && oe(() => {
|
|
2631
|
-
H && ge(H, c, l), R && Le(l, null, c, "unmounted");
|
|
2632
|
-
}, d);
|
|
2633
|
-
}, $s = (l) => {
|
|
2634
|
-
const { type: c, el: d, anchor: m, transition: g } = l;
|
|
2635
|
-
if (c === Te) {
|
|
2636
|
-
mr(d, m);
|
|
2637
|
-
return;
|
|
2638
|
-
}
|
|
2639
|
-
if (c === ss) {
|
|
2640
|
-
O(l);
|
|
2641
|
-
return;
|
|
2642
|
-
}
|
|
2643
|
-
const _ = () => {
|
|
2644
|
-
r(d), g && !g.persisted && g.afterLeave && g.afterLeave();
|
|
2645
|
-
};
|
|
2646
|
-
if (l.shapeFlag & 1 && g && !g.persisted) {
|
|
2647
|
-
const { leave: y, delayLeave: v } = g, x = () => y(d, _);
|
|
2648
|
-
v ? v(l.el, _, x) : x();
|
|
2649
|
-
} else
|
|
2650
|
-
_();
|
|
2651
|
-
}, mr = (l, c) => {
|
|
2652
|
-
let d;
|
|
2653
|
-
for (; l !== c; )
|
|
2654
|
-
d = S(l), r(l), l = d;
|
|
2655
|
-
r(c);
|
|
2656
|
-
}, br = (l, c, d) => {
|
|
2657
|
-
const {
|
|
2658
|
-
bum: m,
|
|
2659
|
-
scope: g,
|
|
2660
|
-
job: _,
|
|
2661
|
-
subTree: y,
|
|
2662
|
-
um: v,
|
|
2663
|
-
m: x,
|
|
2664
|
-
a: b,
|
|
2665
|
-
parent: C,
|
|
2666
|
-
slots: { __: w }
|
|
2667
|
-
} = l;
|
|
2668
|
-
en(x), en(b), m && zt(m), C && A(w) && w.forEach((E) => {
|
|
2669
|
-
C.renderCache[E] = void 0;
|
|
2670
|
-
}), g.stop(), _ && (_.flags |= 8, ae(y, l, c, d)), v && oe(v, c), oe(() => {
|
|
2671
|
-
l.isUnmounted = !0;
|
|
2672
|
-
}, c), c && c.pendingBranch && !c.isUnmounted && l.asyncDep && !l.asyncResolved && l.suspenseId === c.pendingId && (c.deps--, c.deps === 0 && c.resolve());
|
|
2673
|
-
}, et = (l, c, d, m = !1, g = !1, _ = 0) => {
|
|
2674
|
-
for (let y = _; y < l.length; y++)
|
|
2675
|
-
ae(l[y], c, d, m, g);
|
|
2676
|
-
}, Et = (l) => {
|
|
2677
|
-
if (l.shapeFlag & 6)
|
|
2678
|
-
return Et(l.component.subTree);
|
|
2679
|
-
if (l.shapeFlag & 128)
|
|
2680
|
-
return l.suspense.next();
|
|
2681
|
-
const c = S(l.anchor || l.el), d = c && c[bi];
|
|
2682
|
-
return d ? S(d) : c;
|
|
2683
|
-
};
|
|
2684
|
-
let Jt = !1;
|
|
2685
|
-
const Vs = (l, c, d) => {
|
|
2686
|
-
l == null ? c._vnode && ae(c._vnode, null, null, !0) : M(
|
|
2687
|
-
c._vnode || null,
|
|
2688
|
-
l,
|
|
2689
|
-
c,
|
|
2690
|
-
null,
|
|
2691
|
-
null,
|
|
2692
|
-
null,
|
|
2693
|
-
d
|
|
2694
|
-
), c._vnode = l, Jt || (Jt = !0, Ys(), Wn(), Jt = !1);
|
|
2695
|
-
}, tt = {
|
|
2696
|
-
p: M,
|
|
2697
|
-
um: ae,
|
|
2698
|
-
m: Ue,
|
|
2699
|
-
r: $s,
|
|
2700
|
-
mt: Gt,
|
|
2701
|
-
mc: Ie,
|
|
2702
|
-
pc: U,
|
|
2703
|
-
pbc: je,
|
|
2704
|
-
n: Et,
|
|
2705
|
-
o: e
|
|
2706
|
-
};
|
|
2707
|
-
return {
|
|
2708
|
-
render: Vs,
|
|
2709
|
-
hydrate: void 0,
|
|
2710
|
-
createApp: $i(Vs)
|
|
2711
|
-
};
|
|
2712
|
-
}
|
|
2713
|
-
function es({ type: e, props: t }, s) {
|
|
2714
|
-
return s === "svg" && e === "foreignObject" || s === "mathml" && e === "annotation-xml" && t && t.encoding && t.encoding.includes("html") ? void 0 : s;
|
|
2715
|
-
}
|
|
2716
|
-
function $e({ effect: e, job: t }, s) {
|
|
2717
|
-
s ? (e.flags |= 32, t.flags |= 4) : (e.flags &= -33, t.flags &= -5);
|
|
2718
|
-
}
|
|
2719
|
-
function Xi(e, t) {
|
|
2720
|
-
return (!e || e && !e.pendingBranch) && t && !t.persisted;
|
|
2721
|
-
}
|
|
2722
|
-
function lr(e, t, s = !1) {
|
|
2723
|
-
const n = e.children, r = t.children;
|
|
2724
|
-
if (A(n) && A(r))
|
|
2725
|
-
for (let i = 0; i < n.length; i++) {
|
|
2726
|
-
const o = n[i];
|
|
2727
|
-
let f = r[i];
|
|
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);
|
|
2729
|
-
}
|
|
2730
|
-
}
|
|
2731
|
-
function Zi(e) {
|
|
2732
|
-
const t = e.slice(), s = [0];
|
|
2733
|
-
let n, r, i, o, f;
|
|
2734
|
-
const u = e.length;
|
|
2735
|
-
for (n = 0; n < u; n++) {
|
|
2736
|
-
const h = e[n];
|
|
2737
|
-
if (h !== 0) {
|
|
2738
|
-
if (r = s[s.length - 1], e[r] < h) {
|
|
2739
|
-
t[n] = r, s.push(n);
|
|
2740
|
-
continue;
|
|
2741
|
-
}
|
|
2742
|
-
for (i = 0, o = s.length - 1; i < o; )
|
|
2743
|
-
f = i + o >> 1, e[s[f]] < h ? i = f + 1 : o = f;
|
|
2744
|
-
h < e[s[i]] && (i > 0 && (t[n] = s[i - 1]), s[i] = n);
|
|
2745
|
-
}
|
|
2746
|
-
}
|
|
2747
|
-
for (i = s.length, o = s[i - 1]; i-- > 0; )
|
|
2748
|
-
s[i] = o, o = t[o];
|
|
2749
|
-
return s;
|
|
2750
|
-
}
|
|
2751
|
-
function fr(e) {
|
|
2752
|
-
const t = e.subTree.component;
|
|
2753
|
-
if (t)
|
|
2754
|
-
return t.asyncDep && !t.asyncResolved ? t : fr(t);
|
|
2755
|
-
}
|
|
2756
|
-
function en(e) {
|
|
2757
|
-
if (e)
|
|
2758
|
-
for (let t = 0; t < e.length; t++)
|
|
2759
|
-
e[t].flags |= 8;
|
|
2760
|
-
}
|
|
2761
|
-
const Qi = Symbol.for("v-scx"), ki = () => At(Qi);
|
|
2762
|
-
function ts(e, t, s) {
|
|
2763
|
-
return cr(e, t, s);
|
|
2764
|
-
}
|
|
2765
|
-
function cr(e, t, s = V) {
|
|
2766
|
-
const { immediate: n, deep: r, flush: i, once: o } = s, f = te({}, s), u = t && n || !t && i !== "post";
|
|
2767
|
-
let h;
|
|
2768
|
-
if (bt) {
|
|
2769
|
-
if (i === "sync") {
|
|
2770
|
-
const T = ki();
|
|
2771
|
-
h = T.__watcherHandles || (T.__watcherHandles = []);
|
|
2772
|
-
} else if (!u) {
|
|
2773
|
-
const T = () => {
|
|
2774
|
-
};
|
|
2775
|
-
return T.stop = xe, T.resume = xe, T.pause = xe, T;
|
|
2776
|
-
}
|
|
2777
|
-
}
|
|
2778
|
-
const a = k;
|
|
2779
|
-
f.call = (T, F, M) => ye(T, a, F, M);
|
|
2780
|
-
let p = !1;
|
|
2781
|
-
i === "post" ? f.scheduler = (T) => {
|
|
2782
|
-
oe(T, a && a.suspense);
|
|
2783
|
-
} : i !== "sync" && (p = !0, f.scheduler = (T, F) => {
|
|
2784
|
-
F ? T() : Ms(T);
|
|
2785
|
-
}), f.augmentJob = (T) => {
|
|
2786
|
-
t && (T.flags |= 4), p && (T.flags |= 2, a && (T.id = a.uid, T.i = a));
|
|
2787
|
-
};
|
|
2788
|
-
const S = di(e, t, f);
|
|
2789
|
-
return bt && (h ? h.push(S) : u && S()), S;
|
|
2790
|
-
}
|
|
2791
|
-
function eo(e, t, s) {
|
|
2792
|
-
const n = this.proxy, r = J(e) ? e.includes(".") ? ur(n, e) : () => n[e] : e.bind(n, n);
|
|
2793
|
-
let i;
|
|
2794
|
-
I(t) ? i = t : (i = t.handler, s = t);
|
|
2795
|
-
const o = vt(this), f = cr(r, i.bind(n), s);
|
|
2796
|
-
return o(), f;
|
|
2797
|
-
}
|
|
2798
|
-
function ur(e, t) {
|
|
2799
|
-
const s = t.split(".");
|
|
2800
|
-
return () => {
|
|
2801
|
-
let n = e;
|
|
2802
|
-
for (let r = 0; r < s.length && n; r++)
|
|
2803
|
-
n = n[s[r]];
|
|
2804
|
-
return n;
|
|
2805
|
-
};
|
|
2806
|
-
}
|
|
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) {
|
|
2809
|
-
if (e.isUnmounted) return;
|
|
2810
|
-
const n = e.vnode.props || V;
|
|
2811
|
-
let r = s;
|
|
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)));
|
|
2814
|
-
let f, u = n[f = Yt(t)] || // also try camelCase event handler (#2249)
|
|
2815
|
-
n[f = Yt(He(t))];
|
|
2816
|
-
!u && i && (u = n[f = Yt(Be(t))]), u && ye(
|
|
2817
|
-
u,
|
|
2818
|
-
e,
|
|
2819
|
-
6,
|
|
2820
|
-
r
|
|
2821
|
-
);
|
|
2822
|
-
const h = n[f + "Once"];
|
|
2823
|
-
if (h) {
|
|
2824
|
-
if (!e.emitted)
|
|
2825
|
-
e.emitted = {};
|
|
2826
|
-
else if (e.emitted[f])
|
|
2827
|
-
return;
|
|
2828
|
-
e.emitted[f] = !0, ye(
|
|
2829
|
-
h,
|
|
2830
|
-
e,
|
|
2831
|
-
6,
|
|
2832
|
-
r
|
|
2833
|
-
);
|
|
2834
|
-
}
|
|
2835
|
-
}
|
|
2836
|
-
function ar(e, t, s = !1) {
|
|
2837
|
-
const n = t.emitsCache, r = n.get(e);
|
|
2838
|
-
if (r !== void 0)
|
|
2839
|
-
return r;
|
|
2840
|
-
const i = e.emits;
|
|
2841
|
-
let o = {}, f = !1;
|
|
2842
|
-
if (!I(e)) {
|
|
2843
|
-
const u = (h) => {
|
|
2844
|
-
const a = ar(h, t, !0);
|
|
2845
|
-
a && (f = !0, te(o, a));
|
|
2846
|
-
};
|
|
2847
|
-
!s && t.mixins.length && t.mixins.forEach(u), e.extends && u(e.extends), e.mixins && e.mixins.forEach(u);
|
|
2848
|
-
}
|
|
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);
|
|
2850
|
-
}
|
|
2851
|
-
function Bt(e, t) {
|
|
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));
|
|
2853
|
-
}
|
|
2854
|
-
function tn(e) {
|
|
2855
|
-
const {
|
|
2856
|
-
type: t,
|
|
2857
|
-
vnode: s,
|
|
2858
|
-
proxy: n,
|
|
2859
|
-
withProxy: r,
|
|
2860
|
-
propsOptions: [i],
|
|
2861
|
-
slots: o,
|
|
2862
|
-
attrs: f,
|
|
2863
|
-
emit: u,
|
|
2864
|
-
render: h,
|
|
2865
|
-
renderCache: a,
|
|
2866
|
-
props: p,
|
|
2867
|
-
data: S,
|
|
2868
|
-
setupState: T,
|
|
2869
|
-
ctx: F,
|
|
2870
|
-
inheritAttrs: M
|
|
2871
|
-
} = e, Y = Dt(e);
|
|
2872
|
-
let N, W;
|
|
2873
|
-
try {
|
|
2874
|
-
if (s.shapeFlag & 4) {
|
|
2875
|
-
const O = r || n, G = O;
|
|
2876
|
-
N = me(
|
|
2877
|
-
h.call(
|
|
2878
|
-
G,
|
|
2879
|
-
O,
|
|
2880
|
-
a,
|
|
2881
|
-
p,
|
|
2882
|
-
T,
|
|
2883
|
-
S,
|
|
2884
|
-
F
|
|
2885
|
-
)
|
|
2886
|
-
), W = f;
|
|
2887
|
-
} else {
|
|
2888
|
-
const O = t;
|
|
2889
|
-
N = me(
|
|
2890
|
-
O.length > 1 ? O(
|
|
2891
|
-
p,
|
|
2892
|
-
{ attrs: f, slots: o, emit: u }
|
|
2893
|
-
) : O(
|
|
2894
|
-
p,
|
|
2895
|
-
null
|
|
2896
|
-
)
|
|
2897
|
-
), W = t.props ? f : no(f);
|
|
2898
|
-
}
|
|
2899
|
-
} catch (O) {
|
|
2900
|
-
Kt(O, e, 1), N = fe(Xe);
|
|
2901
|
-
}
|
|
2902
|
-
let B = N;
|
|
2903
|
-
if (W && M !== !1) {
|
|
2904
|
-
const O = Object.keys(W), { shapeFlag: G } = B;
|
|
2905
|
-
O.length && G & 7 && (i && O.some(xs) && (W = ro(
|
|
2906
|
-
W,
|
|
2907
|
-
i
|
|
2908
|
-
)), B = Ze(B, W, !1, !0));
|
|
2909
|
-
}
|
|
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;
|
|
2911
|
-
}
|
|
2912
|
-
const no = (e) => {
|
|
2913
|
-
let t;
|
|
2914
|
-
for (const s in e)
|
|
2915
|
-
(s === "class" || s === "style" || Ut(s)) && ((t || (t = {}))[s] = e[s]);
|
|
2916
|
-
return t;
|
|
2917
|
-
}, ro = (e, t) => {
|
|
2918
|
-
const s = {};
|
|
2919
|
-
for (const n in e)
|
|
2920
|
-
(!xs(n) || !(n.slice(9) in t)) && (s[n] = e[n]);
|
|
2921
|
-
return s;
|
|
2922
|
-
};
|
|
2923
|
-
function io(e, t, s) {
|
|
2924
|
-
const { props: n, children: r, component: i } = e, { props: o, children: f, patchFlag: u } = t, h = i.emitsOptions;
|
|
2925
|
-
if (t.dirs || t.transition)
|
|
2926
|
-
return !0;
|
|
2927
|
-
if (s && u >= 0) {
|
|
2928
|
-
if (u & 1024)
|
|
2929
|
-
return !0;
|
|
2930
|
-
if (u & 16)
|
|
2931
|
-
return n ? sn(n, o, h) : !!o;
|
|
2932
|
-
if (u & 8) {
|
|
2933
|
-
const a = t.dynamicProps;
|
|
2934
|
-
for (let p = 0; p < a.length; p++) {
|
|
2935
|
-
const S = a[p];
|
|
2936
|
-
if (o[S] !== n[S] && !Bt(h, S))
|
|
2937
|
-
return !0;
|
|
2938
|
-
}
|
|
2939
|
-
}
|
|
2940
|
-
} else
|
|
2941
|
-
return (r || f) && (!f || !f.$stable) ? !0 : n === o ? !1 : n ? o ? sn(n, o, h) : !0 : !!o;
|
|
2942
|
-
return !1;
|
|
2943
|
-
}
|
|
2944
|
-
function sn(e, t, s) {
|
|
2945
|
-
const n = Object.keys(t);
|
|
2946
|
-
if (n.length !== Object.keys(e).length)
|
|
2947
|
-
return !0;
|
|
2948
|
-
for (let r = 0; r < n.length; r++) {
|
|
2949
|
-
const i = n[r];
|
|
2950
|
-
if (t[i] !== e[i] && !Bt(s, i))
|
|
2951
|
-
return !0;
|
|
2952
|
-
}
|
|
2953
|
-
return !1;
|
|
2954
|
-
}
|
|
2955
|
-
function oo({ vnode: e, parent: t }, s) {
|
|
2956
|
-
for (; t; ) {
|
|
2957
|
-
const n = t.subTree;
|
|
2958
|
-
if (n.suspense && n.suspense.activeBranch === e && (n.el = e.el), n === e)
|
|
2959
|
-
(e = t.vnode).el = s, t = t.parent;
|
|
2960
|
-
else
|
|
2961
|
-
break;
|
|
2962
|
-
}
|
|
2963
|
-
}
|
|
2964
|
-
const dr = (e) => e.__isSuspense;
|
|
2965
|
-
function lo(e, t) {
|
|
2966
|
-
t && t.pendingBranch ? A(e) ? t.effects.push(...e) : t.effects.push(e) : _i(e);
|
|
2967
|
-
}
|
|
2968
|
-
const Te = Symbol.for("v-fgt"), qt = Symbol.for("v-txt"), Xe = Symbol.for("v-cmt"), ss = Symbol.for("v-stc");
|
|
2969
|
-
let De = null, js = 1;
|
|
2970
|
-
function nn(e, t = !1) {
|
|
2971
|
-
js += e, e < 0 && De && t && (De.hasOnce = !0);
|
|
2972
|
-
}
|
|
2973
|
-
function jt(e) {
|
|
2974
|
-
return e ? e.__v_isVNode === !0 : !1;
|
|
2975
|
-
}
|
|
2976
|
-
function rt(e, t) {
|
|
2977
|
-
return e.type === t.type && e.key === t.key;
|
|
2978
|
-
}
|
|
2979
|
-
const hr = ({ key: e }) => e != null ? e : null, It = ({
|
|
2980
|
-
ref: e,
|
|
2981
|
-
ref_key: t,
|
|
2982
|
-
ref_for: s
|
|
2983
|
-
}) => (typeof e == "number" && (e = "" + e), e != null ? J(e) || ee(e) || I(e) ? { i: be, r: e, k: t, f: !!s } : e : null);
|
|
2984
|
-
function fo(e, t = null, s = null, n = 0, r = null, i = e === Te ? 0 : 1, o = !1, f = !1) {
|
|
2985
|
-
const u = {
|
|
2986
|
-
__v_isVNode: !0,
|
|
2987
|
-
__v_skip: !0,
|
|
2988
|
-
type: e,
|
|
2989
|
-
props: t,
|
|
2990
|
-
key: t && hr(t),
|
|
2991
|
-
ref: t && It(t),
|
|
2992
|
-
scopeId: qn,
|
|
2993
|
-
slotScopeIds: null,
|
|
2994
|
-
children: s,
|
|
2995
|
-
component: null,
|
|
2996
|
-
suspense: null,
|
|
2997
|
-
ssContent: null,
|
|
2998
|
-
ssFallback: null,
|
|
2999
|
-
dirs: null,
|
|
3000
|
-
transition: null,
|
|
3001
|
-
el: null,
|
|
3002
|
-
anchor: null,
|
|
3003
|
-
target: null,
|
|
3004
|
-
targetStart: null,
|
|
3005
|
-
targetAnchor: null,
|
|
3006
|
-
staticCount: 0,
|
|
3007
|
-
shapeFlag: i,
|
|
3008
|
-
patchFlag: n,
|
|
3009
|
-
dynamicProps: r,
|
|
3010
|
-
dynamicChildren: null,
|
|
3011
|
-
appContext: null,
|
|
3012
|
-
ctx: be
|
|
3013
|
-
};
|
|
3014
|
-
return f ? (Ns(u, s), i & 128 && e.normalize(u)) : s && (u.shapeFlag |= J(s) ? 8 : 16), js > 0 && // avoid a block node from tracking itself
|
|
3015
|
-
!o && // has current parent block
|
|
3016
|
-
De && // presence of a patch flag indicates this node needs patching on updates.
|
|
3017
|
-
// component nodes also should always be patched, because even if the
|
|
3018
|
-
// component doesn't need to update, it needs to persist the instance on to
|
|
3019
|
-
// the next vnode so that it can be properly unmounted later.
|
|
3020
|
-
(u.patchFlag > 0 || i & 6) && // the EVENTS flag is only for hydration and if it is the only flag, the
|
|
3021
|
-
// vnode should not be considered dynamic due to handler caching.
|
|
3022
|
-
u.patchFlag !== 32 && De.push(u), u;
|
|
3023
|
-
}
|
|
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)) {
|
|
3027
|
-
const f = Ze(
|
|
3028
|
-
e,
|
|
3029
|
-
t,
|
|
3030
|
-
!0
|
|
3031
|
-
/* mergeRef: true */
|
|
3032
|
-
);
|
|
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;
|
|
3034
|
-
}
|
|
3035
|
-
if (yo(e) && (e = e.__vccOpts), t) {
|
|
3036
|
-
t = uo(t);
|
|
3037
|
-
let { class: f, style: u } = t;
|
|
3038
|
-
f && !J(f) && (t.class = Ss(f)), q(u) && (Rs(u) && !A(u) && (u = te({}, u)), t.style = ws(u));
|
|
3039
|
-
}
|
|
3040
|
-
const o = J(e) ? 1 : dr(e) ? 128 : xi(e) ? 64 : q(e) ? 4 : I(e) ? 2 : 0;
|
|
3041
|
-
return fo(
|
|
3042
|
-
e,
|
|
3043
|
-
t,
|
|
3044
|
-
s,
|
|
3045
|
-
n,
|
|
3046
|
-
r,
|
|
3047
|
-
o,
|
|
3048
|
-
i,
|
|
3049
|
-
!0
|
|
3050
|
-
);
|
|
3051
|
-
}
|
|
3052
|
-
function uo(e) {
|
|
3053
|
-
return e ? Rs(e) || tr(e) ? te({}, e) : e : null;
|
|
3054
|
-
}
|
|
3055
|
-
function Ze(e, t, s = !1, n = !1) {
|
|
3056
|
-
const { props: r, ref: i, patchFlag: o, children: f, transition: u } = e, h = t ? ho(r || {}, t) : r, a = {
|
|
3057
|
-
__v_isVNode: !0,
|
|
3058
|
-
__v_skip: !0,
|
|
3059
|
-
type: e.type,
|
|
3060
|
-
props: h,
|
|
3061
|
-
key: h && hr(h),
|
|
3062
|
-
ref: t && t.ref ? (
|
|
3063
|
-
// #2078 in the case of <component :is="vnode" ref="extra"/>
|
|
3064
|
-
// if the vnode itself already has a ref, cloneVNode will need to merge
|
|
3065
|
-
// the refs so the single vnode can be set on multiple refs
|
|
3066
|
-
s && i ? A(i) ? i.concat(It(t)) : [i, It(t)] : It(t)
|
|
3067
|
-
) : i,
|
|
3068
|
-
scopeId: e.scopeId,
|
|
3069
|
-
slotScopeIds: e.slotScopeIds,
|
|
3070
|
-
children: f,
|
|
3071
|
-
target: e.target,
|
|
3072
|
-
targetStart: e.targetStart,
|
|
3073
|
-
targetAnchor: e.targetAnchor,
|
|
3074
|
-
staticCount: e.staticCount,
|
|
3075
|
-
shapeFlag: e.shapeFlag,
|
|
3076
|
-
// if the vnode is cloned with extra props, we can no longer assume its
|
|
3077
|
-
// existing patch flag to be reliable and need to add the FULL_PROPS flag.
|
|
3078
|
-
// note: preserve flag for fragments since they use the flag for children
|
|
3079
|
-
// fast paths only.
|
|
3080
|
-
patchFlag: t && e.type !== Te ? o === -1 ? 16 : o | 16 : o,
|
|
3081
|
-
dynamicProps: e.dynamicProps,
|
|
3082
|
-
dynamicChildren: e.dynamicChildren,
|
|
3083
|
-
appContext: e.appContext,
|
|
3084
|
-
dirs: e.dirs,
|
|
3085
|
-
transition: u,
|
|
3086
|
-
// These should technically only be non-null on mounted VNodes. However,
|
|
3087
|
-
// they *should* be copied for kept-alive vnodes. So we just always copy
|
|
3088
|
-
// them since them being non-null during a mount doesn't affect the logic as
|
|
3089
|
-
// they will simply be overwritten.
|
|
3090
|
-
component: e.component,
|
|
3091
|
-
suspense: e.suspense,
|
|
3092
|
-
ssContent: e.ssContent && Ze(e.ssContent),
|
|
3093
|
-
ssFallback: e.ssFallback && Ze(e.ssFallback),
|
|
3094
|
-
el: e.el,
|
|
3095
|
-
anchor: e.anchor,
|
|
3096
|
-
ctx: e.ctx,
|
|
3097
|
-
ce: e.ce
|
|
3098
|
-
};
|
|
3099
|
-
return u && n && Fs(
|
|
3100
|
-
a,
|
|
3101
|
-
u.clone(a)
|
|
3102
|
-
), a;
|
|
3103
|
-
}
|
|
3104
|
-
function ao(e = " ", t = 0) {
|
|
3105
|
-
return fe(qt, null, e, t);
|
|
3106
|
-
}
|
|
3107
|
-
function me(e) {
|
|
3108
|
-
return e == null || typeof e == "boolean" ? fe(Xe) : A(e) ? fe(
|
|
3109
|
-
Te,
|
|
3110
|
-
null,
|
|
3111
|
-
// #3666, avoid reference pollution when reusing vnode
|
|
3112
|
-
e.slice()
|
|
3113
|
-
) : jt(e) ? Me(e) : fe(qt, null, String(e));
|
|
3114
|
-
}
|
|
3115
|
-
function Me(e) {
|
|
3116
|
-
return e.el === null && e.patchFlag !== -1 || e.memo ? e : Ze(e);
|
|
3117
|
-
}
|
|
3118
|
-
function Ns(e, t) {
|
|
3119
|
-
let s = 0;
|
|
3120
|
-
const { shapeFlag: n } = e;
|
|
3121
|
-
if (t == null)
|
|
3122
|
-
t = null;
|
|
3123
|
-
else if (A(t))
|
|
3124
|
-
s = 16;
|
|
3125
|
-
else if (typeof t == "object")
|
|
3126
|
-
if (n & 65) {
|
|
3127
|
-
const r = t.default;
|
|
3128
|
-
r && (r._c && (r._d = !1), Ns(e, r()), r._c && (r._d = !0));
|
|
3129
|
-
return;
|
|
3130
|
-
} else {
|
|
3131
|
-
s = 32;
|
|
3132
|
-
const r = t._;
|
|
3133
|
-
!r && !tr(t) ? t._ctx = be : r === 3 && be && (be.slots._ === 1 ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024));
|
|
3134
|
-
}
|
|
3135
|
-
else I(t) ? (t = { default: t, _ctx: be }, s = 32) : (t = String(t), n & 64 ? (s = 16, t = [ao(t)]) : s = 8);
|
|
3136
|
-
e.children = t, e.shapeFlag |= s;
|
|
3137
|
-
}
|
|
3138
|
-
function ho(...e) {
|
|
3139
|
-
const t = {};
|
|
3140
|
-
for (let s = 0; s < e.length; s++) {
|
|
3141
|
-
const n = e[s];
|
|
3142
|
-
for (const r in n)
|
|
3143
|
-
if (r === "class")
|
|
3144
|
-
t.class !== n.class && (t.class = Ss([t.class, n.class]));
|
|
3145
|
-
else if (r === "style")
|
|
3146
|
-
t.style = ws([t.style, n.style]);
|
|
3147
|
-
else if (Ut(r)) {
|
|
3148
|
-
const i = t[r], o = n[r];
|
|
3149
|
-
o && i !== o && !(A(i) && i.includes(o)) && (t[r] = i ? [].concat(i, o) : o);
|
|
3150
|
-
} else r !== "" && (t[r] = n[r]);
|
|
3151
|
-
}
|
|
3152
|
-
return t;
|
|
3153
|
-
}
|
|
3154
|
-
function ge(e, t, s, n = null) {
|
|
3155
|
-
ye(e, t, 7, [
|
|
3156
|
-
s,
|
|
3157
|
-
n
|
|
3158
|
-
]);
|
|
3159
|
-
}
|
|
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++,
|
|
3165
|
-
vnode: e,
|
|
3166
|
-
type: n,
|
|
3167
|
-
parent: t,
|
|
3168
|
-
appContext: r,
|
|
3169
|
-
root: null,
|
|
3170
|
-
// to be immediately set
|
|
3171
|
-
next: null,
|
|
3172
|
-
subTree: null,
|
|
3173
|
-
// will be set synchronously right after creation
|
|
3174
|
-
effect: null,
|
|
3175
|
-
update: null,
|
|
3176
|
-
// will be set synchronously right after creation
|
|
3177
|
-
job: null,
|
|
3178
|
-
scope: new Lr(
|
|
3179
|
-
!0
|
|
3180
|
-
/* detached */
|
|
3181
|
-
),
|
|
3182
|
-
render: null,
|
|
3183
|
-
proxy: null,
|
|
3184
|
-
exposed: null,
|
|
3185
|
-
exposeProxy: null,
|
|
3186
|
-
withProxy: null,
|
|
3187
|
-
provides: t ? t.provides : Object.create(r.provides),
|
|
3188
|
-
ids: t ? t.ids : ["", 0, 0],
|
|
3189
|
-
accessCache: null,
|
|
3190
|
-
renderCache: [],
|
|
3191
|
-
// local resolved assets
|
|
3192
|
-
components: null,
|
|
3193
|
-
directives: null,
|
|
3194
|
-
// resolved props and emits options
|
|
3195
|
-
propsOptions: nr(n, r),
|
|
3196
|
-
emitsOptions: ar(n, r),
|
|
3197
|
-
// emit
|
|
3198
|
-
emit: null,
|
|
3199
|
-
// to be set immediately
|
|
3200
|
-
emitted: null,
|
|
3201
|
-
// props default value
|
|
3202
|
-
propsDefaults: V,
|
|
3203
|
-
// inheritAttrs
|
|
3204
|
-
inheritAttrs: n.inheritAttrs,
|
|
3205
|
-
// state
|
|
3206
|
-
ctx: V,
|
|
3207
|
-
data: V,
|
|
3208
|
-
props: V,
|
|
3209
|
-
attrs: V,
|
|
3210
|
-
slots: V,
|
|
3211
|
-
refs: V,
|
|
3212
|
-
setupState: V,
|
|
3213
|
-
setupContext: null,
|
|
3214
|
-
// suspense related
|
|
3215
|
-
suspense: s,
|
|
3216
|
-
suspenseId: s ? s.pendingId : 0,
|
|
3217
|
-
asyncDep: null,
|
|
3218
|
-
asyncResolved: !1,
|
|
3219
|
-
// lifecycle hooks
|
|
3220
|
-
// not using enums here because it results in computed properties
|
|
3221
|
-
isMounted: !1,
|
|
3222
|
-
isUnmounted: !1,
|
|
3223
|
-
isDeactivated: !1,
|
|
3224
|
-
bc: null,
|
|
3225
|
-
c: null,
|
|
3226
|
-
bm: null,
|
|
3227
|
-
m: null,
|
|
3228
|
-
bu: null,
|
|
3229
|
-
u: null,
|
|
3230
|
-
um: null,
|
|
3231
|
-
bum: null,
|
|
3232
|
-
da: null,
|
|
3233
|
-
a: null,
|
|
3234
|
-
rtg: null,
|
|
3235
|
-
rtc: null,
|
|
3236
|
-
ec: null,
|
|
3237
|
-
sp: null
|
|
3238
|
-
};
|
|
3239
|
-
return i.ctx = { _: i }, i.root = t ? t.root : i, i.emit = so.bind(null, i), e.ce && e.ce(i), i;
|
|
3240
|
-
}
|
|
3241
|
-
let k = null, Nt, gs;
|
|
3242
|
-
{
|
|
3243
|
-
const e = Vt(), t = (s, n) => {
|
|
3244
|
-
let r;
|
|
3245
|
-
return (r = e[s]) || (r = e[s] = []), r.push(n), (i) => {
|
|
3246
|
-
r.length > 1 ? r.forEach((o) => o(i)) : r[0](i);
|
|
3247
|
-
};
|
|
3248
|
-
};
|
|
3249
|
-
Nt = t(
|
|
3250
|
-
"__VUE_INSTANCE_SETTERS__",
|
|
3251
|
-
(s) => k = s
|
|
3252
|
-
), gs = t(
|
|
3253
|
-
"__VUE_SSR_SETTERS__",
|
|
3254
|
-
(s) => bt = s
|
|
3255
|
-
);
|
|
3256
|
-
}
|
|
3257
|
-
const vt = (e) => {
|
|
3258
|
-
const t = k;
|
|
3259
|
-
return Nt(e), e.scope.on(), () => {
|
|
3260
|
-
e.scope.off(), Nt(t);
|
|
3261
|
-
};
|
|
3262
|
-
}, rn = () => {
|
|
3263
|
-
k && k.scope.off(), Nt(null);
|
|
3264
|
-
};
|
|
3265
|
-
function pr(e) {
|
|
3266
|
-
return e.vnode.shapeFlag & 4;
|
|
3267
|
-
}
|
|
3268
|
-
let bt = !1;
|
|
3269
|
-
function mo(e, t = !1, s = !1) {
|
|
3270
|
-
t && gs(t);
|
|
3271
|
-
const { props: n, children: r } = e.vnode, i = pr(e);
|
|
3272
|
-
Ki(e, n, i, t), Gi(e, r, s || t);
|
|
3273
|
-
const o = i ? bo(e, t) : void 0;
|
|
3274
|
-
return t && gs(!1), o;
|
|
3275
|
-
}
|
|
3276
|
-
function bo(e, t) {
|
|
3277
|
-
const s = e.type;
|
|
3278
|
-
e.accessCache = /* @__PURE__ */ Object.create(null), e.proxy = new Proxy(e.ctx, Fi);
|
|
3279
|
-
const { setup: n } = s;
|
|
3280
|
-
if (n) {
|
|
3281
|
-
Ce();
|
|
3282
|
-
const r = e.setupContext = n.length > 1 ? vo(e) : null, i = vt(e), o = xt(
|
|
3283
|
-
n,
|
|
3284
|
-
e,
|
|
3285
|
-
0,
|
|
3286
|
-
[
|
|
3287
|
-
e.props,
|
|
3288
|
-
r
|
|
3289
|
-
]
|
|
3290
|
-
), f = yn(o);
|
|
3291
|
-
if (Oe(), i(), (f || e.sp) && !ht(e) && Gn(e), f) {
|
|
3292
|
-
if (o.then(rn, rn), t)
|
|
3293
|
-
return o.then((u) => {
|
|
3294
|
-
on(e, u);
|
|
3295
|
-
}).catch((u) => {
|
|
3296
|
-
Kt(u, e, 0);
|
|
3297
|
-
});
|
|
3298
|
-
e.asyncDep = o;
|
|
3299
|
-
} else
|
|
3300
|
-
on(e, o);
|
|
3301
|
-
} else
|
|
3302
|
-
gr(e);
|
|
3303
|
-
}
|
|
3304
|
-
function on(e, t, s) {
|
|
3305
|
-
I(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : q(t) && (e.setupState = $n(t)), gr(e);
|
|
3306
|
-
}
|
|
3307
|
-
function gr(e, t, s) {
|
|
3308
|
-
const n = e.type;
|
|
3309
|
-
e.render || (e.render = n.render || xe);
|
|
3310
|
-
{
|
|
3311
|
-
const r = vt(e);
|
|
3312
|
-
Ce();
|
|
3313
|
-
try {
|
|
3314
|
-
Di(e);
|
|
3315
|
-
} finally {
|
|
3316
|
-
Oe(), r();
|
|
3317
|
-
}
|
|
3318
|
-
}
|
|
3319
|
-
}
|
|
3320
|
-
const xo = {
|
|
3321
|
-
get(e, t) {
|
|
3322
|
-
return z(e, "get", ""), e[t];
|
|
3323
|
-
}
|
|
3324
|
-
};
|
|
3325
|
-
function vo(e) {
|
|
3326
|
-
const t = (s) => {
|
|
3327
|
-
e.exposed = s || {};
|
|
3328
|
-
};
|
|
3329
|
-
return {
|
|
3330
|
-
attrs: new Proxy(e.attrs, xo),
|
|
3331
|
-
slots: e.slots,
|
|
3332
|
-
emit: e.emit,
|
|
3333
|
-
expose: t
|
|
3334
|
-
};
|
|
3335
|
-
}
|
|
3336
|
-
function Us(e) {
|
|
3337
|
-
return e.exposed ? e.exposeProxy || (e.exposeProxy = new Proxy($n(oi(e.exposed)), {
|
|
3338
|
-
get(t, s) {
|
|
3339
|
-
if (s in t)
|
|
3340
|
-
return t[s];
|
|
3341
|
-
if (s in pt)
|
|
3342
|
-
return pt[s](e);
|
|
3343
|
-
},
|
|
3344
|
-
has(t, s) {
|
|
3345
|
-
return s in t || s in pt;
|
|
3346
|
-
}
|
|
3347
|
-
})) : e.proxy;
|
|
3348
|
-
}
|
|
3349
|
-
function yo(e) {
|
|
3350
|
-
return I(e) && "__vccOpts" in e;
|
|
3351
|
-
}
|
|
3352
|
-
const wo = (e, t) => ui(e, t, bt);
|
|
3353
|
-
function So(e, t, s) {
|
|
3354
|
-
const n = arguments.length;
|
|
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));
|
|
3356
|
-
}
|
|
3357
|
-
const To = "3.5.17";
|
|
3358
|
-
/**
|
|
3359
|
-
* @vue/runtime-dom v3.5.17
|
|
3360
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
3361
|
-
* @license MIT
|
|
3362
|
-
**/
|
|
3363
|
-
let _s;
|
|
3364
|
-
const ln = typeof window < "u" && window.trustedTypes;
|
|
3365
|
-
if (ln)
|
|
3366
|
-
try {
|
|
3367
|
-
_s = /* @__PURE__ */ ln.createPolicy("vue", {
|
|
3368
|
-
createHTML: (e) => e
|
|
3369
|
-
});
|
|
3370
|
-
} catch {
|
|
3371
|
-
}
|
|
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 = {
|
|
3373
|
-
insert: (e, t, s) => {
|
|
3374
|
-
t.insertBefore(e, s || null);
|
|
3375
|
-
},
|
|
3376
|
-
remove: (e) => {
|
|
3377
|
-
const t = e.parentNode;
|
|
3378
|
-
t && t.removeChild(e);
|
|
3379
|
-
},
|
|
3380
|
-
createElement: (e, t, s, n) => {
|
|
3381
|
-
const r = t === "svg" ? Se.createElementNS(Eo, e) : t === "mathml" ? Se.createElementNS(Co, e) : s ? Se.createElement(e, { is: s }) : Se.createElement(e);
|
|
3382
|
-
return e === "select" && n && n.multiple != null && r.setAttribute("multiple", n.multiple), r;
|
|
3383
|
-
},
|
|
3384
|
-
createText: (e) => Se.createTextNode(e),
|
|
3385
|
-
createComment: (e) => Se.createComment(e),
|
|
3386
|
-
setText: (e, t) => {
|
|
3387
|
-
e.nodeValue = t;
|
|
3388
|
-
},
|
|
3389
|
-
setElementText: (e, t) => {
|
|
3390
|
-
e.textContent = t;
|
|
3391
|
-
},
|
|
3392
|
-
parentNode: (e) => e.parentNode,
|
|
3393
|
-
nextSibling: (e) => e.nextSibling,
|
|
3394
|
-
querySelector: (e) => Se.querySelector(e),
|
|
3395
|
-
setScopeId(e, t) {
|
|
3396
|
-
e.setAttribute(t, "");
|
|
3397
|
-
},
|
|
3398
|
-
// __UNSAFE__
|
|
3399
|
-
// Reason: innerHTML.
|
|
3400
|
-
// Static content here can only come from compiled templates.
|
|
3401
|
-
// As long as the user only uses trusted templates, this is safe.
|
|
3402
|
-
insertStaticContent(e, t, s, n, r, i) {
|
|
3403
|
-
const o = s ? s.previousSibling : t.lastChild;
|
|
3404
|
-
if (r && (r === i || r.nextSibling))
|
|
3405
|
-
for (; t.insertBefore(r.cloneNode(!0), s), !(r === i || !(r = r.nextSibling)); )
|
|
3406
|
-
;
|
|
3407
|
-
else {
|
|
3408
|
-
fn.innerHTML = _r(
|
|
3409
|
-
n === "svg" ? `<svg>${e}</svg>` : n === "mathml" ? `<math>${e}</math>` : e
|
|
3410
|
-
);
|
|
3411
|
-
const f = fn.content;
|
|
3412
|
-
if (n === "svg" || n === "mathml") {
|
|
3413
|
-
const u = f.firstChild;
|
|
3414
|
-
for (; u.firstChild; )
|
|
3415
|
-
f.appendChild(u.firstChild);
|
|
3416
|
-
f.removeChild(u);
|
|
3417
|
-
}
|
|
3418
|
-
t.insertBefore(f, s);
|
|
3419
|
-
}
|
|
3420
|
-
return [
|
|
3421
|
-
// first
|
|
3422
|
-
o ? o.nextSibling : t.firstChild,
|
|
3423
|
-
// last
|
|
3424
|
-
s ? s.previousSibling : t.lastChild
|
|
3425
|
-
];
|
|
3426
|
-
}
|
|
3427
|
-
}, Po = Symbol("_vtc");
|
|
3428
|
-
function Ao(e, t, s) {
|
|
3429
|
-
const n = e[Po];
|
|
3430
|
-
n && (t = (t ? [t, ...n] : [...n]).join(" ")), t == null ? e.removeAttribute("class") : s ? e.setAttribute("class", t) : e.className = t;
|
|
3431
|
-
}
|
|
3432
|
-
const cn = Symbol("_vod"), Io = Symbol("_vsh"), Ro = Symbol(""), Mo = /(^|;)\s*display\s*:/;
|
|
3433
|
-
function Fo(e, t, s) {
|
|
3434
|
-
const n = e.style, r = J(s);
|
|
3435
|
-
let i = !1;
|
|
3436
|
-
if (s && !r) {
|
|
3437
|
-
if (t)
|
|
3438
|
-
if (J(t))
|
|
3439
|
-
for (const o of t.split(";")) {
|
|
3440
|
-
const f = o.slice(0, o.indexOf(":")).trim();
|
|
3441
|
-
s[f] == null && Rt(n, f, "");
|
|
3442
|
-
}
|
|
3443
|
-
else
|
|
3444
|
-
for (const o in t)
|
|
3445
|
-
s[o] == null && Rt(n, o, "");
|
|
3446
|
-
for (const o in s)
|
|
3447
|
-
o === "display" && (i = !0), Rt(n, o, s[o]);
|
|
3448
|
-
} else if (r) {
|
|
3449
|
-
if (t !== s) {
|
|
3450
|
-
const o = n[Ro];
|
|
3451
|
-
o && (s += ";" + o), n.cssText = s, i = Mo.test(s);
|
|
3452
|
-
}
|
|
3453
|
-
} else t && e.removeAttribute("style");
|
|
3454
|
-
cn in e && (e[cn] = i ? n.display : "", e[Io] && (n.display = "none"));
|
|
3455
|
-
}
|
|
3456
|
-
const un = /\s*!important$/;
|
|
3457
|
-
function Rt(e, t, s) {
|
|
3458
|
-
if (A(s))
|
|
3459
|
-
s.forEach((n) => Rt(e, t, n));
|
|
3460
|
-
else if (s == null && (s = ""), t.startsWith("--"))
|
|
3461
|
-
e.setProperty(t, s);
|
|
3462
|
-
else {
|
|
3463
|
-
const n = Do(e, t);
|
|
3464
|
-
un.test(s) ? e.setProperty(
|
|
3465
|
-
Be(n),
|
|
3466
|
-
s.replace(un, ""),
|
|
3467
|
-
"important"
|
|
3468
|
-
) : e[n] = s;
|
|
3469
|
-
}
|
|
3470
|
-
}
|
|
3471
|
-
const an = ["Webkit", "Moz", "ms"], ns = {};
|
|
3472
|
-
function Do(e, t) {
|
|
3473
|
-
const s = ns[t];
|
|
3474
|
-
if (s)
|
|
3475
|
-
return s;
|
|
3476
|
-
let n = He(t);
|
|
3477
|
-
if (n !== "filter" && n in e)
|
|
3478
|
-
return ns[t] = n;
|
|
3479
|
-
n = wn(n);
|
|
3480
|
-
for (let r = 0; r < an.length; r++) {
|
|
3481
|
-
const i = an[r] + n;
|
|
3482
|
-
if (i in e)
|
|
3483
|
-
return ns[t] = i;
|
|
3484
|
-
}
|
|
3485
|
-
return t;
|
|
3486
|
-
}
|
|
3487
|
-
const dn = "http://www.w3.org/1999/xlink";
|
|
3488
|
-
function hn(e, t, s, n, r, i = Ur(t)) {
|
|
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(
|
|
3490
|
-
t,
|
|
3491
|
-
i ? "" : Qe(s) ? String(s) : s
|
|
3492
|
-
);
|
|
3493
|
-
}
|
|
3494
|
-
function pn(e, t, s, n, r) {
|
|
3495
|
-
if (t === "innerHTML" || t === "textContent") {
|
|
3496
|
-
s != null && (e[t] = t === "innerHTML" ? _r(s) : s);
|
|
3497
|
-
return;
|
|
3498
|
-
}
|
|
3499
|
-
const i = e.tagName;
|
|
3500
|
-
if (t === "value" && i !== "PROGRESS" && // custom elements may use _value internally
|
|
3501
|
-
!i.includes("-")) {
|
|
3502
|
-
const f = i === "OPTION" ? e.getAttribute("value") || "" : e.value, u = s == null ? (
|
|
3503
|
-
// #11647: value should be set as empty string for null and undefined,
|
|
3504
|
-
// but <input type="checkbox"> should be set as 'on'.
|
|
3505
|
-
e.type === "checkbox" ? "on" : ""
|
|
3506
|
-
) : String(s);
|
|
3507
|
-
(f !== u || !("_value" in e)) && (e.value = u), s == null && e.removeAttribute(t), e._value = s;
|
|
3508
|
-
return;
|
|
3509
|
-
}
|
|
3510
|
-
let o = !1;
|
|
3511
|
-
if (s === "" || s == null) {
|
|
3512
|
-
const f = typeof e[t];
|
|
3513
|
-
f === "boolean" ? s = Sn(s) : s == null && f === "string" ? (s = "", o = !0) : f === "number" && (s = 0, o = !0);
|
|
3514
|
-
}
|
|
3515
|
-
try {
|
|
3516
|
-
e[t] = s;
|
|
3517
|
-
} catch {
|
|
3518
|
-
}
|
|
3519
|
-
o && e.removeAttribute(r || t);
|
|
3520
|
-
}
|
|
3521
|
-
function Ho(e, t, s, n) {
|
|
3522
|
-
e.addEventListener(t, s, n);
|
|
3523
|
-
}
|
|
3524
|
-
function jo(e, t, s, n) {
|
|
3525
|
-
e.removeEventListener(t, s, n);
|
|
3526
|
-
}
|
|
3527
|
-
const gn = Symbol("_vei");
|
|
3528
|
-
function No(e, t, s, n, r = null) {
|
|
3529
|
-
const i = e[gn] || (e[gn] = {}), o = i[t];
|
|
3530
|
-
if (n && o)
|
|
3531
|
-
o.value = n;
|
|
3532
|
-
else {
|
|
3533
|
-
const [f, u] = Uo(t);
|
|
3534
|
-
if (n) {
|
|
3535
|
-
const h = i[t] = Vo(
|
|
3536
|
-
n,
|
|
3537
|
-
r
|
|
3538
|
-
);
|
|
3539
|
-
Ho(e, f, h, u);
|
|
3540
|
-
} else o && (jo(e, f, o, u), i[t] = void 0);
|
|
3541
|
-
}
|
|
3542
|
-
}
|
|
3543
|
-
const _n = /(?:Once|Passive|Capture)$/;
|
|
3544
|
-
function Uo(e) {
|
|
3545
|
-
let t;
|
|
3546
|
-
if (_n.test(e)) {
|
|
3547
|
-
t = {};
|
|
3548
|
-
let n;
|
|
3549
|
-
for (; n = e.match(_n); )
|
|
3550
|
-
e = e.slice(0, e.length - n[0].length), t[n[0].toLowerCase()] = !0;
|
|
3551
|
-
}
|
|
3552
|
-
return [e[2] === ":" ? e.slice(3) : Be(e.slice(2)), t];
|
|
3553
|
-
}
|
|
3554
|
-
let rs = 0;
|
|
3555
|
-
const Lo = /* @__PURE__ */ Promise.resolve(), $o = () => rs || (Lo.then(() => rs = 0), rs = Date.now());
|
|
3556
|
-
function Vo(e, t) {
|
|
3557
|
-
const s = (n) => {
|
|
3558
|
-
if (!n._vts)
|
|
3559
|
-
n._vts = Date.now();
|
|
3560
|
-
else if (n._vts <= s.attached)
|
|
3561
|
-
return;
|
|
3562
|
-
ye(
|
|
3563
|
-
Ko(n, s.value),
|
|
3564
|
-
t,
|
|
3565
|
-
5,
|
|
3566
|
-
[n]
|
|
3567
|
-
);
|
|
3568
|
-
};
|
|
3569
|
-
return s.value = e, s.attached = $o(), s;
|
|
3570
|
-
}
|
|
3571
|
-
function Ko(e, t) {
|
|
3572
|
-
if (A(t)) {
|
|
3573
|
-
const s = e.stopImmediatePropagation;
|
|
3574
|
-
return e.stopImmediatePropagation = () => {
|
|
3575
|
-
s.call(e), e._stopped = !0;
|
|
3576
|
-
}, t.map(
|
|
3577
|
-
(n) => (r) => !r._stopped && n && n(r)
|
|
3578
|
-
);
|
|
3579
|
-
} else
|
|
3580
|
-
return t;
|
|
3581
|
-
}
|
|
3582
|
-
const mn = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // lowercase letter
|
|
3583
|
-
e.charCodeAt(2) > 96 && e.charCodeAt(2) < 123, Wo = (e, t, s, n, r, i) => {
|
|
3584
|
-
const o = r === "svg";
|
|
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));
|
|
3586
|
-
};
|
|
3587
|
-
function Bo(e, t, s, n) {
|
|
3588
|
-
if (n)
|
|
3589
|
-
return !!(t === "innerHTML" || t === "textContent" || t in e && mn(t) && I(s));
|
|
3590
|
-
if (t === "spellcheck" || t === "draggable" || t === "translate" || t === "autocorrect" || t === "form" || t === "list" && e.tagName === "INPUT" || t === "type" && e.tagName === "TEXTAREA")
|
|
3591
|
-
return !1;
|
|
3592
|
-
if (t === "width" || t === "height") {
|
|
3593
|
-
const r = e.tagName;
|
|
3594
|
-
if (r === "IMG" || r === "VIDEO" || r === "CANVAS" || r === "SOURCE")
|
|
3595
|
-
return !1;
|
|
3596
|
-
}
|
|
3597
|
-
return mn(t) && J(s) ? !1 : t in e;
|
|
3598
|
-
}
|
|
3599
|
-
const qo = /* @__PURE__ */ te({ patchProp: Wo }, Oo);
|
|
3600
|
-
let bn;
|
|
3601
|
-
function Go() {
|
|
3602
|
-
return bn || (bn = Yi(qo));
|
|
3603
|
-
}
|
|
3604
|
-
const xn = (...e) => {
|
|
3605
|
-
Go().render(...e);
|
|
3606
|
-
};
|
|
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--)
|
|
3609
|
-
(o = e[i]) && (r = o(r) || r);
|
|
3610
|
-
return r;
|
|
3611
|
-
}, vn = (e, t) => (s, n) => t(s, n, e), Zo = (e, t, s) => zo(e, t + "", s);
|
|
3612
|
-
let ms = class extends yr {
|
|
3613
|
-
constructor(e = {}, t, s) {
|
|
3614
|
-
super(), this._config = e, this._injector = t, this._componentManager = s;
|
|
8
|
+
}, l = (e, r) => (t, o) => r(t, o, e), O = (e, r, t) => E(e, r + "", t);
|
|
9
|
+
let i = class extends d {
|
|
10
|
+
constructor(e = {}, r, t) {
|
|
11
|
+
super(), this._config = e, this._injector = r, this._componentManager = t;
|
|
3615
12
|
}
|
|
3616
13
|
onStarting() {
|
|
3617
|
-
const { createElement: e, useEffect:
|
|
3618
|
-
this._componentManager.setHandler("vue3", (
|
|
3619
|
-
component:
|
|
3620
|
-
props: Object.keys(
|
|
3621
|
-
reactUtils: { createElement: e, useEffect:
|
|
14
|
+
const { createElement: e, useEffect: r, useRef: t } = this._componentManager.reactUtils;
|
|
15
|
+
this._componentManager.setHandler("vue3", (o) => (n) => e(b, {
|
|
16
|
+
component: o,
|
|
17
|
+
props: Object.keys(n).reduce((c, u) => (u !== "key" && (c[u] = n[u]), c), {}),
|
|
18
|
+
reactUtils: { createElement: e, useEffect: r, useRef: t }
|
|
3622
19
|
}));
|
|
3623
20
|
}
|
|
3624
21
|
};
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
],
|
|
3631
|
-
function
|
|
3632
|
-
const { component:
|
|
3633
|
-
return
|
|
3634
|
-
if (!
|
|
3635
|
-
const
|
|
3636
|
-
return
|
|
3637
|
-
|
|
22
|
+
O(i, "pluginName", "UNIVER_UI_ADAPTER_VUE3_PLUGIN");
|
|
23
|
+
i = I([
|
|
24
|
+
_(g),
|
|
25
|
+
l(1, s(m)),
|
|
26
|
+
l(2, s(v))
|
|
27
|
+
], i);
|
|
28
|
+
function b(e) {
|
|
29
|
+
const { component: r, props: t, reactUtils: o } = e, { createElement: n, useEffect: c, useRef: u } = o, a = u(null);
|
|
30
|
+
return c(() => {
|
|
31
|
+
if (!a.current) return;
|
|
32
|
+
const f = P(r, t);
|
|
33
|
+
return p(f, a.current), () => {
|
|
34
|
+
a.current && p(null, a.current);
|
|
3638
35
|
};
|
|
3639
|
-
}, [
|
|
36
|
+
}, [t]), n("div", { ref: a });
|
|
3640
37
|
}
|
|
3641
38
|
export {
|
|
3642
|
-
|
|
39
|
+
i as UniverVue3AdapterPlugin
|
|
3643
40
|
};
|