japhy-custom-elements 1.0.0
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/README.md +7 -0
- package/dist/index.mjs +4553 -0
- package/dist/index.umd.js +30 -0
- package/package.json +17 -0
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,4553 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @vue/shared v3.4.35
|
|
3
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
+
* @license MIT
|
|
5
|
+
**/
|
|
6
|
+
/*! #__NO_SIDE_EFFECTS__ */
|
|
7
|
+
// @__NO_SIDE_EFFECTS__
|
|
8
|
+
function pt(e, t) {
|
|
9
|
+
const n = new Set(e.split(","));
|
|
10
|
+
return (o) => n.has(o);
|
|
11
|
+
}
|
|
12
|
+
const K = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, ut = process.env.NODE_ENV !== "production" ? Object.freeze([]) : [], G = () => {
|
|
13
|
+
}, Nr = () => !1, Tt = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
|
|
14
|
+
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), Zt = (e) => e.startsWith("onUpdate:"), Y = Object.assign, Gn = (e, t) => {
|
|
15
|
+
const n = e.indexOf(t);
|
|
16
|
+
n > -1 && e.splice(n, 1);
|
|
17
|
+
}, br = Object.prototype.hasOwnProperty, M = (e, t) => br.call(e, t), C = Array.isArray, ft = (e) => ln(e) === "[object Map]", yr = (e) => ln(e) === "[object Set]", S = (e) => typeof e == "function", z = (e) => typeof e == "string", ht = (e) => typeof e == "symbol", W = (e) => e !== null && typeof e == "object", Yn = (e) => (W(e) || S(e)) && S(e.then) && S(e.catch), Or = Object.prototype.toString, ln = (e) => Or.call(e), zn = (e) => ln(e).slice(8, -1), wr = (e) => ln(e) === "[object Object]", Xn = (e) => z(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, wt = /* @__PURE__ */ pt(
|
|
18
|
+
// the leading comma is intentional so empty string "" is also included
|
|
19
|
+
",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
|
|
20
|
+
), Vr = /* @__PURE__ */ pt(
|
|
21
|
+
"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"
|
|
22
|
+
), cn = (e) => {
|
|
23
|
+
const t = /* @__PURE__ */ Object.create(null);
|
|
24
|
+
return (n) => t[n] || (t[n] = e(n));
|
|
25
|
+
}, Dr = /-(\w)/g, De = cn((e) => e.replace(Dr, (t, n) => n ? n.toUpperCase() : "")), xr = /\B([A-Z])/g, ce = cn(
|
|
26
|
+
(e) => e.replace(xr, "-$1").toLowerCase()
|
|
27
|
+
), un = cn((e) => e.charAt(0).toUpperCase() + e.slice(1)), Xe = cn((e) => e ? `on${un(e)}` : ""), rt = (e, t) => !Object.is(e, t), vt = (e, ...t) => {
|
|
28
|
+
for (let n = 0; n < e.length; n++)
|
|
29
|
+
e[n](...t);
|
|
30
|
+
}, Qt = (e, t, n, o = !1) => {
|
|
31
|
+
Object.defineProperty(e, t, {
|
|
32
|
+
configurable: !0,
|
|
33
|
+
enumerable: !1,
|
|
34
|
+
writable: o,
|
|
35
|
+
value: n
|
|
36
|
+
});
|
|
37
|
+
}, Cr = (e) => {
|
|
38
|
+
const t = parseFloat(e);
|
|
39
|
+
return isNaN(t) ? e : t;
|
|
40
|
+
}, To = (e) => {
|
|
41
|
+
const t = z(e) ? Number(e) : NaN;
|
|
42
|
+
return isNaN(t) ? e : t;
|
|
43
|
+
};
|
|
44
|
+
let Po;
|
|
45
|
+
const Zn = () => Po || (Po = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
|
|
46
|
+
function Qn(e) {
|
|
47
|
+
if (C(e)) {
|
|
48
|
+
const t = {};
|
|
49
|
+
for (let n = 0; n < e.length; n++) {
|
|
50
|
+
const o = e[n], s = z(o) ? $r(o) : Qn(o);
|
|
51
|
+
if (s)
|
|
52
|
+
for (const r in s)
|
|
53
|
+
t[r] = s[r];
|
|
54
|
+
}
|
|
55
|
+
return t;
|
|
56
|
+
} else if (z(e) || W(e))
|
|
57
|
+
return e;
|
|
58
|
+
}
|
|
59
|
+
const Sr = /;(?![^(]*\))/g, Tr = /:([^]+)/, Pr = /\/\*[^]*?\*\//g;
|
|
60
|
+
function $r(e) {
|
|
61
|
+
const t = {};
|
|
62
|
+
return e.replace(Pr, "").split(Sr).forEach((n) => {
|
|
63
|
+
if (n) {
|
|
64
|
+
const o = n.split(Tr);
|
|
65
|
+
o.length > 1 && (t[o[0].trim()] = o[1].trim());
|
|
66
|
+
}
|
|
67
|
+
}), t;
|
|
68
|
+
}
|
|
69
|
+
function eo(e) {
|
|
70
|
+
let t = "";
|
|
71
|
+
if (z(e))
|
|
72
|
+
t = e;
|
|
73
|
+
else if (C(e))
|
|
74
|
+
for (let n = 0; n < e.length; n++) {
|
|
75
|
+
const o = eo(e[n]);
|
|
76
|
+
o && (t += o + " ");
|
|
77
|
+
}
|
|
78
|
+
else if (W(e))
|
|
79
|
+
for (const n in e)
|
|
80
|
+
e[n] && (t += n + " ");
|
|
81
|
+
return t.trim();
|
|
82
|
+
}
|
|
83
|
+
const Ir = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly", Rr = /* @__PURE__ */ pt(Ir);
|
|
84
|
+
function hs(e) {
|
|
85
|
+
return !!e || e === "";
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* @vue/reactivity v3.4.35
|
|
89
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
90
|
+
* @license MIT
|
|
91
|
+
**/
|
|
92
|
+
function qe(e, ...t) {
|
|
93
|
+
console.warn(`[Vue warn] ${e}`, ...t);
|
|
94
|
+
}
|
|
95
|
+
let _e;
|
|
96
|
+
class Ar {
|
|
97
|
+
constructor(t = !1) {
|
|
98
|
+
this.detached = t, this._active = !0, this.effects = [], this.cleanups = [], this.parent = _e, !t && _e && (this.index = (_e.scopes || (_e.scopes = [])).push(
|
|
99
|
+
this
|
|
100
|
+
) - 1);
|
|
101
|
+
}
|
|
102
|
+
get active() {
|
|
103
|
+
return this._active;
|
|
104
|
+
}
|
|
105
|
+
run(t) {
|
|
106
|
+
if (this._active) {
|
|
107
|
+
const n = _e;
|
|
108
|
+
try {
|
|
109
|
+
return _e = this, t();
|
|
110
|
+
} finally {
|
|
111
|
+
_e = n;
|
|
112
|
+
}
|
|
113
|
+
} else process.env.NODE_ENV !== "production" && qe("cannot run an inactive effect scope.");
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* This should only be called on non-detached scopes
|
|
117
|
+
* @internal
|
|
118
|
+
*/
|
|
119
|
+
on() {
|
|
120
|
+
_e = this;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* This should only be called on non-detached scopes
|
|
124
|
+
* @internal
|
|
125
|
+
*/
|
|
126
|
+
off() {
|
|
127
|
+
_e = this.parent;
|
|
128
|
+
}
|
|
129
|
+
stop(t) {
|
|
130
|
+
if (this._active) {
|
|
131
|
+
let n, o;
|
|
132
|
+
for (n = 0, o = this.effects.length; n < o; n++)
|
|
133
|
+
this.effects[n].stop();
|
|
134
|
+
for (n = 0, o = this.cleanups.length; n < o; n++)
|
|
135
|
+
this.cleanups[n]();
|
|
136
|
+
if (this.scopes)
|
|
137
|
+
for (n = 0, o = this.scopes.length; n < o; n++)
|
|
138
|
+
this.scopes[n].stop(!0);
|
|
139
|
+
if (!this.detached && this.parent && !t) {
|
|
140
|
+
const s = this.parent.scopes.pop();
|
|
141
|
+
s && s !== this && (this.parent.scopes[this.index] = s, s.index = this.index);
|
|
142
|
+
}
|
|
143
|
+
this.parent = void 0, this._active = !1;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
function Mr(e, t = _e) {
|
|
148
|
+
t && t.active && t.effects.push(e);
|
|
149
|
+
}
|
|
150
|
+
function Fr() {
|
|
151
|
+
return _e;
|
|
152
|
+
}
|
|
153
|
+
let et;
|
|
154
|
+
class to {
|
|
155
|
+
constructor(t, n, o, s) {
|
|
156
|
+
this.fn = t, this.trigger = n, this.scheduler = o, this.active = !0, this.deps = [], this._dirtyLevel = 4, this._trackId = 0, this._runnings = 0, this._shouldSchedule = !1, this._depsLength = 0, Mr(this, s);
|
|
157
|
+
}
|
|
158
|
+
get dirty() {
|
|
159
|
+
if (this._dirtyLevel === 2 || this._dirtyLevel === 3) {
|
|
160
|
+
this._dirtyLevel = 1, Ie();
|
|
161
|
+
for (let t = 0; t < this._depsLength; t++) {
|
|
162
|
+
const n = this.deps[t];
|
|
163
|
+
if (n.computed && (jr(n.computed), this._dirtyLevel >= 4))
|
|
164
|
+
break;
|
|
165
|
+
}
|
|
166
|
+
this._dirtyLevel === 1 && (this._dirtyLevel = 0), Re();
|
|
167
|
+
}
|
|
168
|
+
return this._dirtyLevel >= 4;
|
|
169
|
+
}
|
|
170
|
+
set dirty(t) {
|
|
171
|
+
this._dirtyLevel = t ? 4 : 0;
|
|
172
|
+
}
|
|
173
|
+
run() {
|
|
174
|
+
if (this._dirtyLevel = 0, !this.active)
|
|
175
|
+
return this.fn();
|
|
176
|
+
let t = Be, n = et;
|
|
177
|
+
try {
|
|
178
|
+
return Be = !0, et = this, this._runnings++, $o(this), this.fn();
|
|
179
|
+
} finally {
|
|
180
|
+
Io(this), this._runnings--, et = n, Be = t;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
stop() {
|
|
184
|
+
this.active && ($o(this), Io(this), this.onStop && this.onStop(), this.active = !1);
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
function jr(e) {
|
|
188
|
+
return e.value;
|
|
189
|
+
}
|
|
190
|
+
function $o(e) {
|
|
191
|
+
e._trackId++, e._depsLength = 0;
|
|
192
|
+
}
|
|
193
|
+
function Io(e) {
|
|
194
|
+
if (e.deps.length > e._depsLength) {
|
|
195
|
+
for (let t = e._depsLength; t < e.deps.length; t++)
|
|
196
|
+
_s(e.deps[t], e);
|
|
197
|
+
e.deps.length = e._depsLength;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
function _s(e, t) {
|
|
201
|
+
const n = e.get(t);
|
|
202
|
+
n !== void 0 && t._trackId !== n && (e.delete(t), e.size === 0 && e.cleanup());
|
|
203
|
+
}
|
|
204
|
+
let Be = !0, Pn = 0;
|
|
205
|
+
const gs = [];
|
|
206
|
+
function Ie() {
|
|
207
|
+
gs.push(Be), Be = !1;
|
|
208
|
+
}
|
|
209
|
+
function Re() {
|
|
210
|
+
const e = gs.pop();
|
|
211
|
+
Be = e === void 0 ? !0 : e;
|
|
212
|
+
}
|
|
213
|
+
function no() {
|
|
214
|
+
Pn++;
|
|
215
|
+
}
|
|
216
|
+
function oo() {
|
|
217
|
+
for (Pn--; !Pn && $n.length; )
|
|
218
|
+
$n.shift()();
|
|
219
|
+
}
|
|
220
|
+
function Es(e, t, n) {
|
|
221
|
+
var o;
|
|
222
|
+
if (t.get(e) !== e._trackId) {
|
|
223
|
+
t.set(e, e._trackId);
|
|
224
|
+
const s = e.deps[e._depsLength];
|
|
225
|
+
s !== t ? (s && _s(s, e), e.deps[e._depsLength++] = t) : e._depsLength++, process.env.NODE_ENV !== "production" && ((o = e.onTrack) == null || o.call(e, Y({ effect: e }, n)));
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
const $n = [];
|
|
229
|
+
function ms(e, t, n) {
|
|
230
|
+
var o;
|
|
231
|
+
no();
|
|
232
|
+
for (const s of e.keys()) {
|
|
233
|
+
let r;
|
|
234
|
+
s._dirtyLevel < t && (r ?? (r = e.get(s) === s._trackId)) && (s._shouldSchedule || (s._shouldSchedule = s._dirtyLevel === 0), s._dirtyLevel = t), s._shouldSchedule && (r ?? (r = e.get(s) === s._trackId)) && (process.env.NODE_ENV !== "production" && ((o = s.onTrigger) == null || o.call(s, Y({ effect: s }, n))), s.trigger(), (!s._runnings || s.allowRecurse) && s._dirtyLevel !== 2 && (s._shouldSchedule = !1, s.scheduler && $n.push(s.scheduler)));
|
|
235
|
+
}
|
|
236
|
+
oo();
|
|
237
|
+
}
|
|
238
|
+
const vs = (e, t) => {
|
|
239
|
+
const n = /* @__PURE__ */ new Map();
|
|
240
|
+
return n.cleanup = e, n.computed = t, n;
|
|
241
|
+
}, In = /* @__PURE__ */ new WeakMap(), tt = Symbol(process.env.NODE_ENV !== "production" ? "iterate" : ""), Rn = Symbol(process.env.NODE_ENV !== "production" ? "Map key iterate" : "");
|
|
242
|
+
function Q(e, t, n) {
|
|
243
|
+
if (Be && et) {
|
|
244
|
+
let o = In.get(e);
|
|
245
|
+
o || In.set(e, o = /* @__PURE__ */ new Map());
|
|
246
|
+
let s = o.get(n);
|
|
247
|
+
s || o.set(n, s = vs(() => o.delete(n))), Es(
|
|
248
|
+
et,
|
|
249
|
+
s,
|
|
250
|
+
process.env.NODE_ENV !== "production" ? {
|
|
251
|
+
target: e,
|
|
252
|
+
type: t,
|
|
253
|
+
key: n
|
|
254
|
+
} : void 0
|
|
255
|
+
);
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
function xe(e, t, n, o, s, r) {
|
|
259
|
+
const i = In.get(e);
|
|
260
|
+
if (!i)
|
|
261
|
+
return;
|
|
262
|
+
let c = [];
|
|
263
|
+
if (t === "clear")
|
|
264
|
+
c = [...i.values()];
|
|
265
|
+
else if (n === "length" && C(e)) {
|
|
266
|
+
const f = Number(o);
|
|
267
|
+
i.forEach((d, h) => {
|
|
268
|
+
(h === "length" || !ht(h) && h >= f) && c.push(d);
|
|
269
|
+
});
|
|
270
|
+
} else
|
|
271
|
+
switch (n !== void 0 && c.push(i.get(n)), t) {
|
|
272
|
+
case "add":
|
|
273
|
+
C(e) ? Xn(n) && c.push(i.get("length")) : (c.push(i.get(tt)), ft(e) && c.push(i.get(Rn)));
|
|
274
|
+
break;
|
|
275
|
+
case "delete":
|
|
276
|
+
C(e) || (c.push(i.get(tt)), ft(e) && c.push(i.get(Rn)));
|
|
277
|
+
break;
|
|
278
|
+
case "set":
|
|
279
|
+
ft(e) && c.push(i.get(tt));
|
|
280
|
+
break;
|
|
281
|
+
}
|
|
282
|
+
no();
|
|
283
|
+
for (const f of c)
|
|
284
|
+
f && ms(
|
|
285
|
+
f,
|
|
286
|
+
4,
|
|
287
|
+
process.env.NODE_ENV !== "production" ? {
|
|
288
|
+
target: e,
|
|
289
|
+
type: t,
|
|
290
|
+
key: n,
|
|
291
|
+
newValue: o,
|
|
292
|
+
oldValue: s,
|
|
293
|
+
oldTarget: r
|
|
294
|
+
} : void 0
|
|
295
|
+
);
|
|
296
|
+
oo();
|
|
297
|
+
}
|
|
298
|
+
const Lr = /* @__PURE__ */ pt("__proto__,__v_isRef,__isVue"), Ns = new Set(
|
|
299
|
+
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(ht)
|
|
300
|
+
), Ro = /* @__PURE__ */ Hr();
|
|
301
|
+
function Hr() {
|
|
302
|
+
const e = {};
|
|
303
|
+
return ["includes", "indexOf", "lastIndexOf"].forEach((t) => {
|
|
304
|
+
e[t] = function(...n) {
|
|
305
|
+
const o = R(this);
|
|
306
|
+
for (let r = 0, i = this.length; r < i; r++)
|
|
307
|
+
Q(o, "get", r + "");
|
|
308
|
+
const s = o[t](...n);
|
|
309
|
+
return s === -1 || s === !1 ? o[t](...n.map(R)) : s;
|
|
310
|
+
};
|
|
311
|
+
}), ["push", "pop", "shift", "unshift", "splice"].forEach((t) => {
|
|
312
|
+
e[t] = function(...n) {
|
|
313
|
+
Ie(), no();
|
|
314
|
+
const o = R(this)[t].apply(this, n);
|
|
315
|
+
return oo(), Re(), o;
|
|
316
|
+
};
|
|
317
|
+
}), e;
|
|
318
|
+
}
|
|
319
|
+
function Ur(e) {
|
|
320
|
+
ht(e) || (e = String(e));
|
|
321
|
+
const t = R(this);
|
|
322
|
+
return Q(t, "has", e), t.hasOwnProperty(e);
|
|
323
|
+
}
|
|
324
|
+
class bs {
|
|
325
|
+
constructor(t = !1, n = !1) {
|
|
326
|
+
this._isReadonly = t, this._isShallow = n;
|
|
327
|
+
}
|
|
328
|
+
get(t, n, o) {
|
|
329
|
+
const s = this._isReadonly, r = this._isShallow;
|
|
330
|
+
if (n === "__v_isReactive")
|
|
331
|
+
return !s;
|
|
332
|
+
if (n === "__v_isReadonly")
|
|
333
|
+
return s;
|
|
334
|
+
if (n === "__v_isShallow")
|
|
335
|
+
return r;
|
|
336
|
+
if (n === "__v_raw")
|
|
337
|
+
return o === (s ? r ? Cs : xs : r ? Ds : Vs).get(t) || // receiver is not the reactive proxy, but has the same prototype
|
|
338
|
+
// this means the reciever is a user proxy of the reactive proxy
|
|
339
|
+
Object.getPrototypeOf(t) === Object.getPrototypeOf(o) ? t : void 0;
|
|
340
|
+
const i = C(t);
|
|
341
|
+
if (!s) {
|
|
342
|
+
if (i && M(Ro, n))
|
|
343
|
+
return Reflect.get(Ro, n, o);
|
|
344
|
+
if (n === "hasOwnProperty")
|
|
345
|
+
return Ur;
|
|
346
|
+
}
|
|
347
|
+
const c = Reflect.get(t, n, o);
|
|
348
|
+
return (ht(n) ? Ns.has(n) : Lr(n)) || (s || Q(t, "get", n), r) ? c : te(c) ? i && Xn(n) ? c : c.value : W(c) ? s ? Ss(c) : ro(c) : c;
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
class ys extends bs {
|
|
352
|
+
constructor(t = !1) {
|
|
353
|
+
super(!1, t);
|
|
354
|
+
}
|
|
355
|
+
set(t, n, o, s) {
|
|
356
|
+
let r = t[n];
|
|
357
|
+
if (!this._isShallow) {
|
|
358
|
+
const f = Je(r);
|
|
359
|
+
if (!We(o) && !Je(o) && (r = R(r), o = R(o)), !C(t) && te(r) && !te(o))
|
|
360
|
+
return f ? !1 : (r.value = o, !0);
|
|
361
|
+
}
|
|
362
|
+
const i = C(t) && Xn(n) ? Number(n) < t.length : M(t, n), c = Reflect.set(t, n, o, s);
|
|
363
|
+
return t === R(s) && (i ? rt(o, r) && xe(t, "set", n, o, r) : xe(t, "add", n, o)), c;
|
|
364
|
+
}
|
|
365
|
+
deleteProperty(t, n) {
|
|
366
|
+
const o = M(t, n), s = t[n], r = Reflect.deleteProperty(t, n);
|
|
367
|
+
return r && o && xe(t, "delete", n, void 0, s), r;
|
|
368
|
+
}
|
|
369
|
+
has(t, n) {
|
|
370
|
+
const o = Reflect.has(t, n);
|
|
371
|
+
return (!ht(n) || !Ns.has(n)) && Q(t, "has", n), o;
|
|
372
|
+
}
|
|
373
|
+
ownKeys(t) {
|
|
374
|
+
return Q(
|
|
375
|
+
t,
|
|
376
|
+
"iterate",
|
|
377
|
+
C(t) ? "length" : tt
|
|
378
|
+
), Reflect.ownKeys(t);
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
class Os extends bs {
|
|
382
|
+
constructor(t = !1) {
|
|
383
|
+
super(!0, t);
|
|
384
|
+
}
|
|
385
|
+
set(t, n) {
|
|
386
|
+
return process.env.NODE_ENV !== "production" && qe(
|
|
387
|
+
`Set operation on key "${String(n)}" failed: target is readonly.`,
|
|
388
|
+
t
|
|
389
|
+
), !0;
|
|
390
|
+
}
|
|
391
|
+
deleteProperty(t, n) {
|
|
392
|
+
return process.env.NODE_ENV !== "production" && qe(
|
|
393
|
+
`Delete operation on key "${String(n)}" failed: target is readonly.`,
|
|
394
|
+
t
|
|
395
|
+
), !0;
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
const Kr = /* @__PURE__ */ new ys(), Br = /* @__PURE__ */ new Os(), Wr = /* @__PURE__ */ new ys(
|
|
399
|
+
!0
|
|
400
|
+
), kr = /* @__PURE__ */ new Os(!0), so = (e) => e, fn = (e) => Reflect.getPrototypeOf(e);
|
|
401
|
+
function Ft(e, t, n = !1, o = !1) {
|
|
402
|
+
e = e.__v_raw;
|
|
403
|
+
const s = R(e), r = R(t);
|
|
404
|
+
n || (rt(t, r) && Q(s, "get", t), Q(s, "get", r));
|
|
405
|
+
const { has: i } = fn(s), c = o ? so : n ? lo : io;
|
|
406
|
+
if (i.call(s, t))
|
|
407
|
+
return c(e.get(t));
|
|
408
|
+
if (i.call(s, r))
|
|
409
|
+
return c(e.get(r));
|
|
410
|
+
e !== s && e.get(t);
|
|
411
|
+
}
|
|
412
|
+
function jt(e, t = !1) {
|
|
413
|
+
const n = this.__v_raw, o = R(n), s = R(e);
|
|
414
|
+
return t || (rt(e, s) && Q(o, "has", e), Q(o, "has", s)), e === s ? n.has(e) : n.has(e) || n.has(s);
|
|
415
|
+
}
|
|
416
|
+
function Lt(e, t = !1) {
|
|
417
|
+
return e = e.__v_raw, !t && Q(R(e), "iterate", tt), Reflect.get(e, "size", e);
|
|
418
|
+
}
|
|
419
|
+
function Ao(e, t = !1) {
|
|
420
|
+
!t && !We(e) && !Je(e) && (e = R(e));
|
|
421
|
+
const n = R(this);
|
|
422
|
+
return fn(n).has.call(n, e) || (n.add(e), xe(n, "add", e, e)), this;
|
|
423
|
+
}
|
|
424
|
+
function Mo(e, t, n = !1) {
|
|
425
|
+
!n && !We(t) && !Je(t) && (t = R(t));
|
|
426
|
+
const o = R(this), { has: s, get: r } = fn(o);
|
|
427
|
+
let i = s.call(o, e);
|
|
428
|
+
i ? process.env.NODE_ENV !== "production" && ws(o, s, e) : (e = R(e), i = s.call(o, e));
|
|
429
|
+
const c = r.call(o, e);
|
|
430
|
+
return o.set(e, t), i ? rt(t, c) && xe(o, "set", e, t, c) : xe(o, "add", e, t), this;
|
|
431
|
+
}
|
|
432
|
+
function Fo(e) {
|
|
433
|
+
const t = R(this), { has: n, get: o } = fn(t);
|
|
434
|
+
let s = n.call(t, e);
|
|
435
|
+
s ? process.env.NODE_ENV !== "production" && ws(t, n, e) : (e = R(e), s = n.call(t, e));
|
|
436
|
+
const r = o ? o.call(t, e) : void 0, i = t.delete(e);
|
|
437
|
+
return s && xe(t, "delete", e, void 0, r), i;
|
|
438
|
+
}
|
|
439
|
+
function jo() {
|
|
440
|
+
const e = R(this), t = e.size !== 0, n = process.env.NODE_ENV !== "production" ? ft(e) ? new Map(e) : new Set(e) : void 0, o = e.clear();
|
|
441
|
+
return t && xe(e, "clear", void 0, void 0, n), o;
|
|
442
|
+
}
|
|
443
|
+
function Ht(e, t) {
|
|
444
|
+
return function(o, s) {
|
|
445
|
+
const r = this, i = r.__v_raw, c = R(i), f = t ? so : e ? lo : io;
|
|
446
|
+
return !e && Q(c, "iterate", tt), i.forEach((d, h) => o.call(s, f(d), f(h), r));
|
|
447
|
+
};
|
|
448
|
+
}
|
|
449
|
+
function Ut(e, t, n) {
|
|
450
|
+
return function(...o) {
|
|
451
|
+
const s = this.__v_raw, r = R(s), i = ft(r), c = e === "entries" || e === Symbol.iterator && i, f = e === "keys" && i, d = s[e](...o), h = n ? so : t ? lo : io;
|
|
452
|
+
return !t && Q(
|
|
453
|
+
r,
|
|
454
|
+
"iterate",
|
|
455
|
+
f ? Rn : tt
|
|
456
|
+
), {
|
|
457
|
+
// iterator protocol
|
|
458
|
+
next() {
|
|
459
|
+
const { value: a, done: v } = d.next();
|
|
460
|
+
return v ? { value: a, done: v } : {
|
|
461
|
+
value: c ? [h(a[0]), h(a[1])] : h(a),
|
|
462
|
+
done: v
|
|
463
|
+
};
|
|
464
|
+
},
|
|
465
|
+
// iterable protocol
|
|
466
|
+
[Symbol.iterator]() {
|
|
467
|
+
return this;
|
|
468
|
+
}
|
|
469
|
+
};
|
|
470
|
+
};
|
|
471
|
+
}
|
|
472
|
+
function Le(e) {
|
|
473
|
+
return function(...t) {
|
|
474
|
+
if (process.env.NODE_ENV !== "production") {
|
|
475
|
+
const n = t[0] ? `on key "${t[0]}" ` : "";
|
|
476
|
+
qe(
|
|
477
|
+
`${un(e)} operation ${n}failed: target is readonly.`,
|
|
478
|
+
R(this)
|
|
479
|
+
);
|
|
480
|
+
}
|
|
481
|
+
return e === "delete" ? !1 : e === "clear" ? void 0 : this;
|
|
482
|
+
};
|
|
483
|
+
}
|
|
484
|
+
function qr() {
|
|
485
|
+
const e = {
|
|
486
|
+
get(r) {
|
|
487
|
+
return Ft(this, r);
|
|
488
|
+
},
|
|
489
|
+
get size() {
|
|
490
|
+
return Lt(this);
|
|
491
|
+
},
|
|
492
|
+
has: jt,
|
|
493
|
+
add: Ao,
|
|
494
|
+
set: Mo,
|
|
495
|
+
delete: Fo,
|
|
496
|
+
clear: jo,
|
|
497
|
+
forEach: Ht(!1, !1)
|
|
498
|
+
}, t = {
|
|
499
|
+
get(r) {
|
|
500
|
+
return Ft(this, r, !1, !0);
|
|
501
|
+
},
|
|
502
|
+
get size() {
|
|
503
|
+
return Lt(this);
|
|
504
|
+
},
|
|
505
|
+
has: jt,
|
|
506
|
+
add(r) {
|
|
507
|
+
return Ao.call(this, r, !0);
|
|
508
|
+
},
|
|
509
|
+
set(r, i) {
|
|
510
|
+
return Mo.call(this, r, i, !0);
|
|
511
|
+
},
|
|
512
|
+
delete: Fo,
|
|
513
|
+
clear: jo,
|
|
514
|
+
forEach: Ht(!1, !0)
|
|
515
|
+
}, n = {
|
|
516
|
+
get(r) {
|
|
517
|
+
return Ft(this, r, !0);
|
|
518
|
+
},
|
|
519
|
+
get size() {
|
|
520
|
+
return Lt(this, !0);
|
|
521
|
+
},
|
|
522
|
+
has(r) {
|
|
523
|
+
return jt.call(this, r, !0);
|
|
524
|
+
},
|
|
525
|
+
add: Le("add"),
|
|
526
|
+
set: Le("set"),
|
|
527
|
+
delete: Le("delete"),
|
|
528
|
+
clear: Le("clear"),
|
|
529
|
+
forEach: Ht(!0, !1)
|
|
530
|
+
}, o = {
|
|
531
|
+
get(r) {
|
|
532
|
+
return Ft(this, r, !0, !0);
|
|
533
|
+
},
|
|
534
|
+
get size() {
|
|
535
|
+
return Lt(this, !0);
|
|
536
|
+
},
|
|
537
|
+
has(r) {
|
|
538
|
+
return jt.call(this, r, !0);
|
|
539
|
+
},
|
|
540
|
+
add: Le("add"),
|
|
541
|
+
set: Le("set"),
|
|
542
|
+
delete: Le("delete"),
|
|
543
|
+
clear: Le("clear"),
|
|
544
|
+
forEach: Ht(!0, !0)
|
|
545
|
+
};
|
|
546
|
+
return [
|
|
547
|
+
"keys",
|
|
548
|
+
"values",
|
|
549
|
+
"entries",
|
|
550
|
+
Symbol.iterator
|
|
551
|
+
].forEach((r) => {
|
|
552
|
+
e[r] = Ut(r, !1, !1), n[r] = Ut(r, !0, !1), t[r] = Ut(r, !1, !0), o[r] = Ut(
|
|
553
|
+
r,
|
|
554
|
+
!0,
|
|
555
|
+
!0
|
|
556
|
+
);
|
|
557
|
+
}), [
|
|
558
|
+
e,
|
|
559
|
+
n,
|
|
560
|
+
t,
|
|
561
|
+
o
|
|
562
|
+
];
|
|
563
|
+
}
|
|
564
|
+
const [
|
|
565
|
+
Jr,
|
|
566
|
+
Gr,
|
|
567
|
+
Yr,
|
|
568
|
+
zr
|
|
569
|
+
] = /* @__PURE__ */ qr();
|
|
570
|
+
function an(e, t) {
|
|
571
|
+
const n = t ? e ? zr : Yr : e ? Gr : Jr;
|
|
572
|
+
return (o, s, r) => s === "__v_isReactive" ? !e : s === "__v_isReadonly" ? e : s === "__v_raw" ? o : Reflect.get(
|
|
573
|
+
M(n, s) && s in o ? n : o,
|
|
574
|
+
s,
|
|
575
|
+
r
|
|
576
|
+
);
|
|
577
|
+
}
|
|
578
|
+
const Xr = {
|
|
579
|
+
get: /* @__PURE__ */ an(!1, !1)
|
|
580
|
+
}, Zr = {
|
|
581
|
+
get: /* @__PURE__ */ an(!1, !0)
|
|
582
|
+
}, Qr = {
|
|
583
|
+
get: /* @__PURE__ */ an(!0, !1)
|
|
584
|
+
}, ei = {
|
|
585
|
+
get: /* @__PURE__ */ an(!0, !0)
|
|
586
|
+
};
|
|
587
|
+
function ws(e, t, n) {
|
|
588
|
+
const o = R(n);
|
|
589
|
+
if (o !== n && t.call(e, o)) {
|
|
590
|
+
const s = zn(e);
|
|
591
|
+
qe(
|
|
592
|
+
`Reactive ${s} contains both the raw and reactive versions of the same object${s === "Map" ? " as keys" : ""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`
|
|
593
|
+
);
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
const Vs = /* @__PURE__ */ new WeakMap(), Ds = /* @__PURE__ */ new WeakMap(), xs = /* @__PURE__ */ new WeakMap(), Cs = /* @__PURE__ */ new WeakMap();
|
|
597
|
+
function ti(e) {
|
|
598
|
+
switch (e) {
|
|
599
|
+
case "Object":
|
|
600
|
+
case "Array":
|
|
601
|
+
return 1;
|
|
602
|
+
case "Map":
|
|
603
|
+
case "Set":
|
|
604
|
+
case "WeakMap":
|
|
605
|
+
case "WeakSet":
|
|
606
|
+
return 2;
|
|
607
|
+
default:
|
|
608
|
+
return 0;
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
function ni(e) {
|
|
612
|
+
return e.__v_skip || !Object.isExtensible(e) ? 0 : ti(zn(e));
|
|
613
|
+
}
|
|
614
|
+
function ro(e) {
|
|
615
|
+
return Je(e) ? e : dn(
|
|
616
|
+
e,
|
|
617
|
+
!1,
|
|
618
|
+
Kr,
|
|
619
|
+
Xr,
|
|
620
|
+
Vs
|
|
621
|
+
);
|
|
622
|
+
}
|
|
623
|
+
function oi(e) {
|
|
624
|
+
return dn(
|
|
625
|
+
e,
|
|
626
|
+
!1,
|
|
627
|
+
Wr,
|
|
628
|
+
Zr,
|
|
629
|
+
Ds
|
|
630
|
+
);
|
|
631
|
+
}
|
|
632
|
+
function Ss(e) {
|
|
633
|
+
return dn(
|
|
634
|
+
e,
|
|
635
|
+
!0,
|
|
636
|
+
Br,
|
|
637
|
+
Qr,
|
|
638
|
+
xs
|
|
639
|
+
);
|
|
640
|
+
}
|
|
641
|
+
function Ve(e) {
|
|
642
|
+
return dn(
|
|
643
|
+
e,
|
|
644
|
+
!0,
|
|
645
|
+
kr,
|
|
646
|
+
ei,
|
|
647
|
+
Cs
|
|
648
|
+
);
|
|
649
|
+
}
|
|
650
|
+
function dn(e, t, n, o, s) {
|
|
651
|
+
if (!W(e))
|
|
652
|
+
return process.env.NODE_ENV !== "production" && qe(
|
|
653
|
+
`value cannot be made ${t ? "readonly" : "reactive"}: ${String(
|
|
654
|
+
e
|
|
655
|
+
)}`
|
|
656
|
+
), e;
|
|
657
|
+
if (e.__v_raw && !(t && e.__v_isReactive))
|
|
658
|
+
return e;
|
|
659
|
+
const r = s.get(e);
|
|
660
|
+
if (r)
|
|
661
|
+
return r;
|
|
662
|
+
const i = ni(e);
|
|
663
|
+
if (i === 0)
|
|
664
|
+
return e;
|
|
665
|
+
const c = new Proxy(
|
|
666
|
+
e,
|
|
667
|
+
i === 2 ? o : n
|
|
668
|
+
);
|
|
669
|
+
return s.set(e, c), c;
|
|
670
|
+
}
|
|
671
|
+
function at(e) {
|
|
672
|
+
return Je(e) ? at(e.__v_raw) : !!(e && e.__v_isReactive);
|
|
673
|
+
}
|
|
674
|
+
function Je(e) {
|
|
675
|
+
return !!(e && e.__v_isReadonly);
|
|
676
|
+
}
|
|
677
|
+
function We(e) {
|
|
678
|
+
return !!(e && e.__v_isShallow);
|
|
679
|
+
}
|
|
680
|
+
function An(e) {
|
|
681
|
+
return e ? !!e.__v_raw : !1;
|
|
682
|
+
}
|
|
683
|
+
function R(e) {
|
|
684
|
+
const t = e && e.__v_raw;
|
|
685
|
+
return t ? R(t) : e;
|
|
686
|
+
}
|
|
687
|
+
function si(e) {
|
|
688
|
+
return Object.isExtensible(e) && Qt(e, "__v_skip", !0), e;
|
|
689
|
+
}
|
|
690
|
+
const io = (e) => W(e) ? ro(e) : e, lo = (e) => W(e) ? Ss(e) : e, ri = "Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free";
|
|
691
|
+
class Ts {
|
|
692
|
+
constructor(t, n, o, s) {
|
|
693
|
+
this.getter = t, this._setter = n, this.dep = void 0, this.__v_isRef = !0, this.__v_isReadonly = !1, this.effect = new to(
|
|
694
|
+
() => t(this._value),
|
|
695
|
+
() => yn(
|
|
696
|
+
this,
|
|
697
|
+
this.effect._dirtyLevel === 2 ? 2 : 3
|
|
698
|
+
)
|
|
699
|
+
), this.effect.computed = this, this.effect.active = this._cacheable = !s, this.__v_isReadonly = o;
|
|
700
|
+
}
|
|
701
|
+
get value() {
|
|
702
|
+
const t = R(this);
|
|
703
|
+
return (!t._cacheable || t.effect.dirty) && rt(t._value, t._value = t.effect.run()) && yn(t, 4), li(t), t.effect._dirtyLevel >= 2 && (process.env.NODE_ENV !== "production" && this._warnRecursive && qe(ri, `
|
|
704
|
+
|
|
705
|
+
getter: `, this.getter), yn(t, 2)), t._value;
|
|
706
|
+
}
|
|
707
|
+
set value(t) {
|
|
708
|
+
this._setter(t);
|
|
709
|
+
}
|
|
710
|
+
// #region polyfill _dirty for backward compatibility third party code for Vue <= 3.3.x
|
|
711
|
+
get _dirty() {
|
|
712
|
+
return this.effect.dirty;
|
|
713
|
+
}
|
|
714
|
+
set _dirty(t) {
|
|
715
|
+
this.effect.dirty = t;
|
|
716
|
+
}
|
|
717
|
+
// #endregion
|
|
718
|
+
}
|
|
719
|
+
function ii(e, t, n = !1) {
|
|
720
|
+
let o, s;
|
|
721
|
+
const r = S(e);
|
|
722
|
+
r ? (o = e, s = process.env.NODE_ENV !== "production" ? () => {
|
|
723
|
+
qe("Write operation failed: computed value is readonly");
|
|
724
|
+
} : G) : (o = e.get, s = e.set);
|
|
725
|
+
const i = new Ts(o, s, r || !s, n);
|
|
726
|
+
return process.env.NODE_ENV !== "production" && t && !n && (i.effect.onTrack = t.onTrack, i.effect.onTrigger = t.onTrigger), i;
|
|
727
|
+
}
|
|
728
|
+
function li(e) {
|
|
729
|
+
var t;
|
|
730
|
+
Be && et && (e = R(e), Es(
|
|
731
|
+
et,
|
|
732
|
+
(t = e.dep) != null ? t : e.dep = vs(
|
|
733
|
+
() => e.dep = void 0,
|
|
734
|
+
e instanceof Ts ? e : void 0
|
|
735
|
+
),
|
|
736
|
+
process.env.NODE_ENV !== "production" ? {
|
|
737
|
+
target: e,
|
|
738
|
+
type: "get",
|
|
739
|
+
key: "value"
|
|
740
|
+
} : void 0
|
|
741
|
+
));
|
|
742
|
+
}
|
|
743
|
+
function yn(e, t = 4, n, o) {
|
|
744
|
+
e = R(e);
|
|
745
|
+
const s = e.dep;
|
|
746
|
+
s && ms(
|
|
747
|
+
s,
|
|
748
|
+
t,
|
|
749
|
+
process.env.NODE_ENV !== "production" ? {
|
|
750
|
+
target: e,
|
|
751
|
+
type: "set",
|
|
752
|
+
key: "value",
|
|
753
|
+
newValue: n,
|
|
754
|
+
oldValue: o
|
|
755
|
+
} : void 0
|
|
756
|
+
);
|
|
757
|
+
}
|
|
758
|
+
function te(e) {
|
|
759
|
+
return !!(e && e.__v_isRef === !0);
|
|
760
|
+
}
|
|
761
|
+
function ci(e) {
|
|
762
|
+
return te(e) ? e.value : e;
|
|
763
|
+
}
|
|
764
|
+
const ui = {
|
|
765
|
+
get: (e, t, n) => ci(Reflect.get(e, t, n)),
|
|
766
|
+
set: (e, t, n, o) => {
|
|
767
|
+
const s = e[t];
|
|
768
|
+
return te(s) && !te(n) ? (s.value = n, !0) : Reflect.set(e, t, n, o);
|
|
769
|
+
}
|
|
770
|
+
};
|
|
771
|
+
function Ps(e) {
|
|
772
|
+
return at(e) ? e : new Proxy(e, ui);
|
|
773
|
+
}
|
|
774
|
+
/**
|
|
775
|
+
* @vue/runtime-core v3.4.35
|
|
776
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
777
|
+
* @license MIT
|
|
778
|
+
**/
|
|
779
|
+
const nt = [];
|
|
780
|
+
function Bt(e) {
|
|
781
|
+
nt.push(e);
|
|
782
|
+
}
|
|
783
|
+
function Wt() {
|
|
784
|
+
nt.pop();
|
|
785
|
+
}
|
|
786
|
+
let On = !1;
|
|
787
|
+
function y(e, ...t) {
|
|
788
|
+
if (On) return;
|
|
789
|
+
On = !0, Ie();
|
|
790
|
+
const n = nt.length ? nt[nt.length - 1].component : null, o = n && n.appContext.config.warnHandler, s = fi();
|
|
791
|
+
if (o)
|
|
792
|
+
$e(
|
|
793
|
+
o,
|
|
794
|
+
n,
|
|
795
|
+
11,
|
|
796
|
+
[
|
|
797
|
+
// eslint-disable-next-line no-restricted-syntax
|
|
798
|
+
e + t.map((r) => {
|
|
799
|
+
var i, c;
|
|
800
|
+
return (c = (i = r.toString) == null ? void 0 : i.call(r)) != null ? c : JSON.stringify(r);
|
|
801
|
+
}).join(""),
|
|
802
|
+
n && n.proxy,
|
|
803
|
+
s.map(
|
|
804
|
+
({ vnode: r }) => `at <${En(n, r.type)}>`
|
|
805
|
+
).join(`
|
|
806
|
+
`),
|
|
807
|
+
s
|
|
808
|
+
]
|
|
809
|
+
);
|
|
810
|
+
else {
|
|
811
|
+
const r = [`[Vue warn]: ${e}`, ...t];
|
|
812
|
+
s.length && r.push(`
|
|
813
|
+
`, ...ai(s)), console.warn(...r);
|
|
814
|
+
}
|
|
815
|
+
Re(), On = !1;
|
|
816
|
+
}
|
|
817
|
+
function fi() {
|
|
818
|
+
let e = nt[nt.length - 1];
|
|
819
|
+
if (!e)
|
|
820
|
+
return [];
|
|
821
|
+
const t = [];
|
|
822
|
+
for (; e; ) {
|
|
823
|
+
const n = t[0];
|
|
824
|
+
n && n.vnode === e ? n.recurseCount++ : t.push({
|
|
825
|
+
vnode: e,
|
|
826
|
+
recurseCount: 0
|
|
827
|
+
});
|
|
828
|
+
const o = e.component && e.component.parent;
|
|
829
|
+
e = o && o.vnode;
|
|
830
|
+
}
|
|
831
|
+
return t;
|
|
832
|
+
}
|
|
833
|
+
function ai(e) {
|
|
834
|
+
const t = [];
|
|
835
|
+
return e.forEach((n, o) => {
|
|
836
|
+
t.push(...o === 0 ? [] : [`
|
|
837
|
+
`], ...di(n));
|
|
838
|
+
}), t;
|
|
839
|
+
}
|
|
840
|
+
function di({ vnode: e, recurseCount: t }) {
|
|
841
|
+
const n = t > 0 ? `... (${t} recursive calls)` : "", o = e.component ? e.component.parent == null : !1, s = ` at <${En(
|
|
842
|
+
e.component,
|
|
843
|
+
e.type,
|
|
844
|
+
o
|
|
845
|
+
)}`, r = ">" + n;
|
|
846
|
+
return e.props ? [s, ...pi(e.props), r] : [s + r];
|
|
847
|
+
}
|
|
848
|
+
function pi(e) {
|
|
849
|
+
const t = [], n = Object.keys(e);
|
|
850
|
+
return n.slice(0, 3).forEach((o) => {
|
|
851
|
+
t.push(...$s(o, e[o]));
|
|
852
|
+
}), n.length > 3 && t.push(" ..."), t;
|
|
853
|
+
}
|
|
854
|
+
function $s(e, t, n) {
|
|
855
|
+
return z(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : te(t) ? (t = $s(e, R(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : S(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = R(t), n ? t : [`${e}=`, t]);
|
|
856
|
+
}
|
|
857
|
+
const co = {
|
|
858
|
+
sp: "serverPrefetch hook",
|
|
859
|
+
bc: "beforeCreate hook",
|
|
860
|
+
c: "created hook",
|
|
861
|
+
bm: "beforeMount hook",
|
|
862
|
+
m: "mounted hook",
|
|
863
|
+
bu: "beforeUpdate hook",
|
|
864
|
+
u: "updated",
|
|
865
|
+
bum: "beforeUnmount hook",
|
|
866
|
+
um: "unmounted hook",
|
|
867
|
+
a: "activated hook",
|
|
868
|
+
da: "deactivated hook",
|
|
869
|
+
ec: "errorCaptured hook",
|
|
870
|
+
rtc: "renderTracked hook",
|
|
871
|
+
rtg: "renderTriggered hook",
|
|
872
|
+
0: "setup function",
|
|
873
|
+
1: "render function",
|
|
874
|
+
2: "watcher getter",
|
|
875
|
+
3: "watcher callback",
|
|
876
|
+
4: "watcher cleanup function",
|
|
877
|
+
5: "native event handler",
|
|
878
|
+
6: "component event handler",
|
|
879
|
+
7: "vnode hook",
|
|
880
|
+
8: "directive hook",
|
|
881
|
+
9: "transition hook",
|
|
882
|
+
10: "app errorHandler",
|
|
883
|
+
11: "app warnHandler",
|
|
884
|
+
12: "ref function",
|
|
885
|
+
13: "async component loader",
|
|
886
|
+
14: "scheduler flush",
|
|
887
|
+
15: "component update"
|
|
888
|
+
};
|
|
889
|
+
function $e(e, t, n, o) {
|
|
890
|
+
try {
|
|
891
|
+
return o ? e(...o) : e();
|
|
892
|
+
} catch (s) {
|
|
893
|
+
Pt(s, t, n);
|
|
894
|
+
}
|
|
895
|
+
}
|
|
896
|
+
function me(e, t, n, o) {
|
|
897
|
+
if (S(e)) {
|
|
898
|
+
const s = $e(e, t, n, o);
|
|
899
|
+
return s && Yn(s) && s.catch((r) => {
|
|
900
|
+
Pt(r, t, n);
|
|
901
|
+
}), s;
|
|
902
|
+
}
|
|
903
|
+
if (C(e)) {
|
|
904
|
+
const s = [];
|
|
905
|
+
for (let r = 0; r < e.length; r++)
|
|
906
|
+
s.push(me(e[r], t, n, o));
|
|
907
|
+
return s;
|
|
908
|
+
} else process.env.NODE_ENV !== "production" && y(
|
|
909
|
+
`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`
|
|
910
|
+
);
|
|
911
|
+
}
|
|
912
|
+
function Pt(e, t, n, o = !0) {
|
|
913
|
+
const s = t ? t.vnode : null;
|
|
914
|
+
if (t) {
|
|
915
|
+
let r = t.parent;
|
|
916
|
+
const i = t.proxy, c = process.env.NODE_ENV !== "production" ? co[n] : `https://vuejs.org/error-reference/#runtime-${n}`;
|
|
917
|
+
for (; r; ) {
|
|
918
|
+
const d = r.ec;
|
|
919
|
+
if (d) {
|
|
920
|
+
for (let h = 0; h < d.length; h++)
|
|
921
|
+
if (d[h](e, i, c) === !1)
|
|
922
|
+
return;
|
|
923
|
+
}
|
|
924
|
+
r = r.parent;
|
|
925
|
+
}
|
|
926
|
+
const f = t.appContext.config.errorHandler;
|
|
927
|
+
if (f) {
|
|
928
|
+
Ie(), $e(
|
|
929
|
+
f,
|
|
930
|
+
null,
|
|
931
|
+
10,
|
|
932
|
+
[e, i, c]
|
|
933
|
+
), Re();
|
|
934
|
+
return;
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
hi(e, n, s, o);
|
|
938
|
+
}
|
|
939
|
+
function hi(e, t, n, o = !0) {
|
|
940
|
+
if (process.env.NODE_ENV !== "production") {
|
|
941
|
+
const s = co[t];
|
|
942
|
+
if (n && Bt(n), y(`Unhandled error${s ? ` during execution of ${s}` : ""}`), n && Wt(), o)
|
|
943
|
+
throw e;
|
|
944
|
+
console.error(e);
|
|
945
|
+
} else
|
|
946
|
+
console.error(e);
|
|
947
|
+
}
|
|
948
|
+
let xt = !1, Mn = !1;
|
|
949
|
+
const ee = [];
|
|
950
|
+
let we = 0;
|
|
951
|
+
const dt = [];
|
|
952
|
+
let He = null, Ze = 0;
|
|
953
|
+
const Is = /* @__PURE__ */ Promise.resolve();
|
|
954
|
+
let uo = null;
|
|
955
|
+
const _i = 100;
|
|
956
|
+
function Rs(e) {
|
|
957
|
+
const t = uo || Is;
|
|
958
|
+
return e ? t.then(this ? e.bind(this) : e) : t;
|
|
959
|
+
}
|
|
960
|
+
function gi(e) {
|
|
961
|
+
let t = we + 1, n = ee.length;
|
|
962
|
+
for (; t < n; ) {
|
|
963
|
+
const o = t + n >>> 1, s = ee[o], r = Ct(s);
|
|
964
|
+
r < e || r === e && s.pre ? t = o + 1 : n = o;
|
|
965
|
+
}
|
|
966
|
+
return t;
|
|
967
|
+
}
|
|
968
|
+
function pn(e) {
|
|
969
|
+
(!ee.length || !ee.includes(
|
|
970
|
+
e,
|
|
971
|
+
xt && e.allowRecurse ? we + 1 : we
|
|
972
|
+
)) && (e.id == null ? ee.push(e) : ee.splice(gi(e.id), 0, e), As());
|
|
973
|
+
}
|
|
974
|
+
function As() {
|
|
975
|
+
!xt && !Mn && (Mn = !0, uo = Is.then(js));
|
|
976
|
+
}
|
|
977
|
+
function Ei(e) {
|
|
978
|
+
const t = ee.indexOf(e);
|
|
979
|
+
t > we && ee.splice(t, 1);
|
|
980
|
+
}
|
|
981
|
+
function Ms(e) {
|
|
982
|
+
C(e) ? dt.push(...e) : (!He || !He.includes(
|
|
983
|
+
e,
|
|
984
|
+
e.allowRecurse ? Ze + 1 : Ze
|
|
985
|
+
)) && dt.push(e), As();
|
|
986
|
+
}
|
|
987
|
+
function Lo(e, t, n = xt ? we + 1 : 0) {
|
|
988
|
+
for (process.env.NODE_ENV !== "production" && (t = t || /* @__PURE__ */ new Map()); n < ee.length; n++) {
|
|
989
|
+
const o = ee[n];
|
|
990
|
+
if (o && o.pre) {
|
|
991
|
+
if (e && o.id !== e.uid || process.env.NODE_ENV !== "production" && fo(t, o))
|
|
992
|
+
continue;
|
|
993
|
+
ee.splice(n, 1), n--, o();
|
|
994
|
+
}
|
|
995
|
+
}
|
|
996
|
+
}
|
|
997
|
+
function Fs(e) {
|
|
998
|
+
if (dt.length) {
|
|
999
|
+
const t = [...new Set(dt)].sort(
|
|
1000
|
+
(n, o) => Ct(n) - Ct(o)
|
|
1001
|
+
);
|
|
1002
|
+
if (dt.length = 0, He) {
|
|
1003
|
+
He.push(...t);
|
|
1004
|
+
return;
|
|
1005
|
+
}
|
|
1006
|
+
for (He = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), Ze = 0; Ze < He.length; Ze++) {
|
|
1007
|
+
const n = He[Ze];
|
|
1008
|
+
process.env.NODE_ENV !== "production" && fo(e, n) || n.active !== !1 && n();
|
|
1009
|
+
}
|
|
1010
|
+
He = null, Ze = 0;
|
|
1011
|
+
}
|
|
1012
|
+
}
|
|
1013
|
+
const Ct = (e) => e.id == null ? 1 / 0 : e.id, mi = (e, t) => {
|
|
1014
|
+
const n = Ct(e) - Ct(t);
|
|
1015
|
+
if (n === 0) {
|
|
1016
|
+
if (e.pre && !t.pre) return -1;
|
|
1017
|
+
if (t.pre && !e.pre) return 1;
|
|
1018
|
+
}
|
|
1019
|
+
return n;
|
|
1020
|
+
};
|
|
1021
|
+
function js(e) {
|
|
1022
|
+
Mn = !1, xt = !0, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), ee.sort(mi);
|
|
1023
|
+
const t = process.env.NODE_ENV !== "production" ? (n) => fo(e, n) : G;
|
|
1024
|
+
try {
|
|
1025
|
+
for (we = 0; we < ee.length; we++) {
|
|
1026
|
+
const n = ee[we];
|
|
1027
|
+
if (n && n.active !== !1) {
|
|
1028
|
+
if (process.env.NODE_ENV !== "production" && t(n))
|
|
1029
|
+
continue;
|
|
1030
|
+
$e(
|
|
1031
|
+
n,
|
|
1032
|
+
n.i,
|
|
1033
|
+
n.i ? 15 : 14
|
|
1034
|
+
);
|
|
1035
|
+
}
|
|
1036
|
+
}
|
|
1037
|
+
} finally {
|
|
1038
|
+
we = 0, ee.length = 0, Fs(e), xt = !1, uo = null, (ee.length || dt.length) && js(e);
|
|
1039
|
+
}
|
|
1040
|
+
}
|
|
1041
|
+
function fo(e, t) {
|
|
1042
|
+
if (!e.has(t))
|
|
1043
|
+
e.set(t, 1);
|
|
1044
|
+
else {
|
|
1045
|
+
const n = e.get(t);
|
|
1046
|
+
if (n > _i) {
|
|
1047
|
+
const o = t.i, s = o && gr(o.type);
|
|
1048
|
+
return Pt(
|
|
1049
|
+
`Maximum recursive updates exceeded${s ? ` in component <${s}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,
|
|
1050
|
+
null,
|
|
1051
|
+
10
|
|
1052
|
+
), !0;
|
|
1053
|
+
} else
|
|
1054
|
+
e.set(t, n + 1);
|
|
1055
|
+
}
|
|
1056
|
+
}
|
|
1057
|
+
let ot = !1;
|
|
1058
|
+
const kt = /* @__PURE__ */ new Map();
|
|
1059
|
+
process.env.NODE_ENV !== "production" && (Zn().__VUE_HMR_RUNTIME__ = {
|
|
1060
|
+
createRecord: wn(Ls),
|
|
1061
|
+
rerender: wn(bi),
|
|
1062
|
+
reload: wn(yi)
|
|
1063
|
+
});
|
|
1064
|
+
const it = /* @__PURE__ */ new Map();
|
|
1065
|
+
function vi(e) {
|
|
1066
|
+
const t = e.type.__hmrId;
|
|
1067
|
+
let n = it.get(t);
|
|
1068
|
+
n || (Ls(t, e.type), n = it.get(t)), n.instances.add(e);
|
|
1069
|
+
}
|
|
1070
|
+
function Ni(e) {
|
|
1071
|
+
it.get(e.type.__hmrId).instances.delete(e);
|
|
1072
|
+
}
|
|
1073
|
+
function Ls(e, t) {
|
|
1074
|
+
return it.has(e) ? !1 : (it.set(e, {
|
|
1075
|
+
initialDef: en(t),
|
|
1076
|
+
instances: /* @__PURE__ */ new Set()
|
|
1077
|
+
}), !0);
|
|
1078
|
+
}
|
|
1079
|
+
function en(e) {
|
|
1080
|
+
return Er(e) ? e.__vccOpts : e;
|
|
1081
|
+
}
|
|
1082
|
+
function bi(e, t) {
|
|
1083
|
+
const n = it.get(e);
|
|
1084
|
+
n && (n.initialDef.render = t, [...n.instances].forEach((o) => {
|
|
1085
|
+
t && (o.render = t, en(o.type).render = t), o.renderCache = [], ot = !0, o.effect.dirty = !0, o.update(), ot = !1;
|
|
1086
|
+
}));
|
|
1087
|
+
}
|
|
1088
|
+
function yi(e, t) {
|
|
1089
|
+
const n = it.get(e);
|
|
1090
|
+
if (!n) return;
|
|
1091
|
+
t = en(t), Ho(n.initialDef, t);
|
|
1092
|
+
const o = [...n.instances];
|
|
1093
|
+
for (let s = 0; s < o.length; s++) {
|
|
1094
|
+
const r = o[s], i = en(r.type);
|
|
1095
|
+
let c = kt.get(i);
|
|
1096
|
+
c || (i !== n.initialDef && Ho(i, t), kt.set(i, c = /* @__PURE__ */ new Set())), c.add(r), r.appContext.propsCache.delete(r.type), r.appContext.emitsCache.delete(r.type), r.appContext.optionsCache.delete(r.type), r.ceReload ? (c.add(r), r.ceReload(t.styles), c.delete(r)) : r.parent ? (r.parent.effect.dirty = !0, pn(() => {
|
|
1097
|
+
r.parent.update(), c.delete(r);
|
|
1098
|
+
})) : r.appContext.reload ? r.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn(
|
|
1099
|
+
"[HMR] Root or manually mounted instance modified. Full reload required."
|
|
1100
|
+
);
|
|
1101
|
+
}
|
|
1102
|
+
Ms(() => {
|
|
1103
|
+
kt.clear();
|
|
1104
|
+
});
|
|
1105
|
+
}
|
|
1106
|
+
function Ho(e, t) {
|
|
1107
|
+
Y(e, t);
|
|
1108
|
+
for (const n in e)
|
|
1109
|
+
n !== "__file" && !(n in t) && delete e[n];
|
|
1110
|
+
}
|
|
1111
|
+
function wn(e) {
|
|
1112
|
+
return (t, n) => {
|
|
1113
|
+
try {
|
|
1114
|
+
return e(t, n);
|
|
1115
|
+
} catch (o) {
|
|
1116
|
+
console.error(o), console.warn(
|
|
1117
|
+
"[HMR] Something went wrong during Vue component hot-reload. Full reload required."
|
|
1118
|
+
);
|
|
1119
|
+
}
|
|
1120
|
+
};
|
|
1121
|
+
}
|
|
1122
|
+
let Ee, yt = [], Fn = !1;
|
|
1123
|
+
function $t(e, ...t) {
|
|
1124
|
+
Ee ? Ee.emit(e, ...t) : Fn || yt.push({ event: e, args: t });
|
|
1125
|
+
}
|
|
1126
|
+
function ao(e, t) {
|
|
1127
|
+
var n, o;
|
|
1128
|
+
Ee = e, Ee ? (Ee.enabled = !0, yt.forEach(({ event: s, args: r }) => Ee.emit(s, ...r)), yt = []) : /* handle late devtools injection - only do this if we are in an actual */ /* browser environment to avoid the timer handle stalling test runner exit */ /* (#4815) */ typeof window < "u" && // some envs mock window but not fully
|
|
1129
|
+
window.HTMLElement && // also exclude jsdom
|
|
1130
|
+
// eslint-disable-next-line no-restricted-syntax
|
|
1131
|
+
!((o = (n = window.navigator) == null ? void 0 : n.userAgent) != null && o.includes("jsdom")) ? ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ = t.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((r) => {
|
|
1132
|
+
ao(r, t);
|
|
1133
|
+
}), setTimeout(() => {
|
|
1134
|
+
Ee || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, Fn = !0, yt = []);
|
|
1135
|
+
}, 3e3)) : (Fn = !0, yt = []);
|
|
1136
|
+
}
|
|
1137
|
+
function Oi(e, t) {
|
|
1138
|
+
$t("app:init", e, t, {
|
|
1139
|
+
Fragment: Oe,
|
|
1140
|
+
Text: It,
|
|
1141
|
+
Comment: ve,
|
|
1142
|
+
Static: Yt
|
|
1143
|
+
});
|
|
1144
|
+
}
|
|
1145
|
+
function wi(e) {
|
|
1146
|
+
$t("app:unmount", e);
|
|
1147
|
+
}
|
|
1148
|
+
const Vi = /* @__PURE__ */ po(
|
|
1149
|
+
"component:added"
|
|
1150
|
+
/* COMPONENT_ADDED */
|
|
1151
|
+
), Hs = /* @__PURE__ */ po(
|
|
1152
|
+
"component:updated"
|
|
1153
|
+
/* COMPONENT_UPDATED */
|
|
1154
|
+
), Di = /* @__PURE__ */ po(
|
|
1155
|
+
"component:removed"
|
|
1156
|
+
/* COMPONENT_REMOVED */
|
|
1157
|
+
), xi = (e) => {
|
|
1158
|
+
Ee && typeof Ee.cleanupBuffer == "function" && // remove the component if it wasn't buffered
|
|
1159
|
+
!Ee.cleanupBuffer(e) && Di(e);
|
|
1160
|
+
};
|
|
1161
|
+
/*! #__NO_SIDE_EFFECTS__ */
|
|
1162
|
+
// @__NO_SIDE_EFFECTS__
|
|
1163
|
+
function po(e) {
|
|
1164
|
+
return (t) => {
|
|
1165
|
+
$t(
|
|
1166
|
+
e,
|
|
1167
|
+
t.appContext.app,
|
|
1168
|
+
t.uid,
|
|
1169
|
+
t.parent ? t.parent.uid : void 0,
|
|
1170
|
+
t
|
|
1171
|
+
);
|
|
1172
|
+
};
|
|
1173
|
+
}
|
|
1174
|
+
const Ci = /* @__PURE__ */ Us(
|
|
1175
|
+
"perf:start"
|
|
1176
|
+
/* PERFORMANCE_START */
|
|
1177
|
+
), Si = /* @__PURE__ */ Us(
|
|
1178
|
+
"perf:end"
|
|
1179
|
+
/* PERFORMANCE_END */
|
|
1180
|
+
);
|
|
1181
|
+
function Us(e) {
|
|
1182
|
+
return (t, n, o) => {
|
|
1183
|
+
$t(e, t.appContext.app, t.uid, t, n, o);
|
|
1184
|
+
};
|
|
1185
|
+
}
|
|
1186
|
+
function Ti(e, t, n) {
|
|
1187
|
+
$t(
|
|
1188
|
+
"component:emit",
|
|
1189
|
+
e.appContext.app,
|
|
1190
|
+
e,
|
|
1191
|
+
t,
|
|
1192
|
+
n
|
|
1193
|
+
);
|
|
1194
|
+
}
|
|
1195
|
+
let ue = null, Ks = null;
|
|
1196
|
+
function tn(e) {
|
|
1197
|
+
const t = ue;
|
|
1198
|
+
return ue = e, Ks = e && e.type.__scopeId || null, t;
|
|
1199
|
+
}
|
|
1200
|
+
function Pi(e, t = ue, n) {
|
|
1201
|
+
if (!t || e._n)
|
|
1202
|
+
return e;
|
|
1203
|
+
const o = (...s) => {
|
|
1204
|
+
o._d && Xo(-1);
|
|
1205
|
+
const r = tn(t);
|
|
1206
|
+
let i;
|
|
1207
|
+
try {
|
|
1208
|
+
i = e(...s);
|
|
1209
|
+
} finally {
|
|
1210
|
+
tn(r), o._d && Xo(1);
|
|
1211
|
+
}
|
|
1212
|
+
return process.env.NODE_ENV !== "production" && Hs(t), i;
|
|
1213
|
+
};
|
|
1214
|
+
return o._n = !0, o._c = !0, o._d = !0, o;
|
|
1215
|
+
}
|
|
1216
|
+
function Bs(e) {
|
|
1217
|
+
Vr(e) && y("Do not use built-in directive ids as custom directive id: " + e);
|
|
1218
|
+
}
|
|
1219
|
+
function Ye(e, t, n, o) {
|
|
1220
|
+
const s = e.dirs, r = t && t.dirs;
|
|
1221
|
+
for (let i = 0; i < s.length; i++) {
|
|
1222
|
+
const c = s[i];
|
|
1223
|
+
r && (c.oldValue = r[i].value);
|
|
1224
|
+
let f = c.dir[o];
|
|
1225
|
+
f && (Ie(), me(f, n, 8, [
|
|
1226
|
+
e.el,
|
|
1227
|
+
c,
|
|
1228
|
+
e,
|
|
1229
|
+
t
|
|
1230
|
+
]), Re());
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
function Ws(e, t) {
|
|
1234
|
+
e.shapeFlag & 6 && e.component ? Ws(e.component.subTree, t) : e.shapeFlag & 128 ? (e.ssContent.transition = t.clone(e.ssContent), e.ssFallback.transition = t.clone(e.ssFallback)) : e.transition = t;
|
|
1235
|
+
}
|
|
1236
|
+
/*! #__NO_SIDE_EFFECTS__ */
|
|
1237
|
+
// @__NO_SIDE_EFFECTS__
|
|
1238
|
+
function $i(e, t) {
|
|
1239
|
+
return S(e) ? (
|
|
1240
|
+
// #8326: extend call and options.name access are considered side-effects
|
|
1241
|
+
// by Rollup, so we have to wrap it in a pure-annotated IIFE.
|
|
1242
|
+
Y({ name: e.name }, t, { setup: e })
|
|
1243
|
+
) : e;
|
|
1244
|
+
}
|
|
1245
|
+
const qt = (e) => !!e.type.__asyncLoader, ho = (e) => e.type.__isKeepAlive;
|
|
1246
|
+
function Ii(e, t) {
|
|
1247
|
+
ks(e, "a", t);
|
|
1248
|
+
}
|
|
1249
|
+
function Ri(e, t) {
|
|
1250
|
+
ks(e, "da", t);
|
|
1251
|
+
}
|
|
1252
|
+
function ks(e, t, n = Z) {
|
|
1253
|
+
const o = e.__wdc || (e.__wdc = () => {
|
|
1254
|
+
let s = n;
|
|
1255
|
+
for (; s; ) {
|
|
1256
|
+
if (s.isDeactivated)
|
|
1257
|
+
return;
|
|
1258
|
+
s = s.parent;
|
|
1259
|
+
}
|
|
1260
|
+
return e();
|
|
1261
|
+
});
|
|
1262
|
+
if (hn(t, o, n), n) {
|
|
1263
|
+
let s = n.parent;
|
|
1264
|
+
for (; s && s.parent; )
|
|
1265
|
+
ho(s.parent.vnode) && Ai(o, t, n, s), s = s.parent;
|
|
1266
|
+
}
|
|
1267
|
+
}
|
|
1268
|
+
function Ai(e, t, n, o) {
|
|
1269
|
+
const s = hn(
|
|
1270
|
+
t,
|
|
1271
|
+
e,
|
|
1272
|
+
o,
|
|
1273
|
+
!0
|
|
1274
|
+
/* prepend */
|
|
1275
|
+
);
|
|
1276
|
+
qs(() => {
|
|
1277
|
+
Gn(o[t], s);
|
|
1278
|
+
}, n);
|
|
1279
|
+
}
|
|
1280
|
+
function hn(e, t, n = Z, o = !1) {
|
|
1281
|
+
if (n) {
|
|
1282
|
+
const s = n[e] || (n[e] = []), r = t.__weh || (t.__weh = (...i) => {
|
|
1283
|
+
Ie();
|
|
1284
|
+
const c = Rt(n), f = me(t, n, e, i);
|
|
1285
|
+
return c(), Re(), f;
|
|
1286
|
+
});
|
|
1287
|
+
return o ? s.unshift(r) : s.push(r), r;
|
|
1288
|
+
} else if (process.env.NODE_ENV !== "production") {
|
|
1289
|
+
const s = Xe(co[e].replace(/ hook$/, ""));
|
|
1290
|
+
y(
|
|
1291
|
+
`${s} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`
|
|
1292
|
+
);
|
|
1293
|
+
}
|
|
1294
|
+
}
|
|
1295
|
+
const Ae = (e) => (t, n = Z) => {
|
|
1296
|
+
(!gn || e === "sp") && hn(e, (...o) => t(...o), n);
|
|
1297
|
+
}, Mi = Ae("bm"), Fi = Ae("m"), ji = Ae("bu"), Li = Ae("u"), Hi = Ae("bum"), qs = Ae("um"), Ui = Ae("sp"), Ki = Ae(
|
|
1298
|
+
"rtg"
|
|
1299
|
+
), Bi = Ae(
|
|
1300
|
+
"rtc"
|
|
1301
|
+
);
|
|
1302
|
+
function Wi(e, t = Z) {
|
|
1303
|
+
hn("ec", e, t);
|
|
1304
|
+
}
|
|
1305
|
+
const ki = Symbol.for("v-ndc"), jn = (e) => e ? hr(e) ? bo(e) : jn(e.parent) : null, st = (
|
|
1306
|
+
// Move PURE marker to new line to workaround compiler discarding it
|
|
1307
|
+
// due to type annotation
|
|
1308
|
+
/* @__PURE__ */ Y(/* @__PURE__ */ Object.create(null), {
|
|
1309
|
+
$: (e) => e,
|
|
1310
|
+
$el: (e) => e.vnode.el,
|
|
1311
|
+
$data: (e) => e.data,
|
|
1312
|
+
$props: (e) => process.env.NODE_ENV !== "production" ? Ve(e.props) : e.props,
|
|
1313
|
+
$attrs: (e) => process.env.NODE_ENV !== "production" ? Ve(e.attrs) : e.attrs,
|
|
1314
|
+
$slots: (e) => process.env.NODE_ENV !== "production" ? Ve(e.slots) : e.slots,
|
|
1315
|
+
$refs: (e) => process.env.NODE_ENV !== "production" ? Ve(e.refs) : e.refs,
|
|
1316
|
+
$parent: (e) => jn(e.parent),
|
|
1317
|
+
$root: (e) => jn(e.root),
|
|
1318
|
+
$emit: (e) => e.emit,
|
|
1319
|
+
$options: (e) => go(e),
|
|
1320
|
+
$forceUpdate: (e) => e.f || (e.f = () => {
|
|
1321
|
+
e.effect.dirty = !0, pn(e.update);
|
|
1322
|
+
}),
|
|
1323
|
+
$nextTick: (e) => e.n || (e.n = Rs.bind(e.proxy)),
|
|
1324
|
+
$watch: (e) => Dl.bind(e)
|
|
1325
|
+
})
|
|
1326
|
+
), _o = (e) => e === "_" || e === "$", Vn = (e, t) => e !== K && !e.__isScriptSetup && M(e, t), Js = {
|
|
1327
|
+
get({ _: e }, t) {
|
|
1328
|
+
if (t === "__v_skip")
|
|
1329
|
+
return !0;
|
|
1330
|
+
const { ctx: n, setupState: o, data: s, props: r, accessCache: i, type: c, appContext: f } = e;
|
|
1331
|
+
if (process.env.NODE_ENV !== "production" && t === "__isVue")
|
|
1332
|
+
return !0;
|
|
1333
|
+
let d;
|
|
1334
|
+
if (t[0] !== "$") {
|
|
1335
|
+
const x = i[t];
|
|
1336
|
+
if (x !== void 0)
|
|
1337
|
+
switch (x) {
|
|
1338
|
+
case 1:
|
|
1339
|
+
return o[t];
|
|
1340
|
+
case 2:
|
|
1341
|
+
return s[t];
|
|
1342
|
+
case 4:
|
|
1343
|
+
return n[t];
|
|
1344
|
+
case 3:
|
|
1345
|
+
return r[t];
|
|
1346
|
+
}
|
|
1347
|
+
else {
|
|
1348
|
+
if (Vn(o, t))
|
|
1349
|
+
return i[t] = 1, o[t];
|
|
1350
|
+
if (s !== K && M(s, t))
|
|
1351
|
+
return i[t] = 2, s[t];
|
|
1352
|
+
if (
|
|
1353
|
+
// only cache other properties when instance has declared (thus stable)
|
|
1354
|
+
// props
|
|
1355
|
+
(d = e.propsOptions[0]) && M(d, t)
|
|
1356
|
+
)
|
|
1357
|
+
return i[t] = 3, r[t];
|
|
1358
|
+
if (n !== K && M(n, t))
|
|
1359
|
+
return i[t] = 4, n[t];
|
|
1360
|
+
Ln && (i[t] = 0);
|
|
1361
|
+
}
|
|
1362
|
+
}
|
|
1363
|
+
const h = st[t];
|
|
1364
|
+
let a, v;
|
|
1365
|
+
if (h)
|
|
1366
|
+
return t === "$attrs" ? (Q(e.attrs, "get", ""), process.env.NODE_ENV !== "production" && sn()) : process.env.NODE_ENV !== "production" && t === "$slots" && Q(e, "get", t), h(e);
|
|
1367
|
+
if (
|
|
1368
|
+
// css module (injected by vue-loader)
|
|
1369
|
+
(a = c.__cssModules) && (a = a[t])
|
|
1370
|
+
)
|
|
1371
|
+
return a;
|
|
1372
|
+
if (n !== K && M(n, t))
|
|
1373
|
+
return i[t] = 4, n[t];
|
|
1374
|
+
if (
|
|
1375
|
+
// global properties
|
|
1376
|
+
v = f.config.globalProperties, M(v, t)
|
|
1377
|
+
)
|
|
1378
|
+
return v[t];
|
|
1379
|
+
process.env.NODE_ENV !== "production" && ue && (!z(t) || // #1091 avoid internal isRef/isVNode checks on component instance leading
|
|
1380
|
+
// to infinite warning loop
|
|
1381
|
+
t.indexOf("__v") !== 0) && (s !== K && _o(t[0]) && M(s, t) ? y(
|
|
1382
|
+
`Property ${JSON.stringify(
|
|
1383
|
+
t
|
|
1384
|
+
)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`
|
|
1385
|
+
) : e === ue && y(
|
|
1386
|
+
`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`
|
|
1387
|
+
));
|
|
1388
|
+
},
|
|
1389
|
+
set({ _: e }, t, n) {
|
|
1390
|
+
const { data: o, setupState: s, ctx: r } = e;
|
|
1391
|
+
return Vn(s, t) ? (s[t] = n, !0) : process.env.NODE_ENV !== "production" && s.__isScriptSetup && M(s, t) ? (y(`Cannot mutate <script setup> binding "${t}" from Options API.`), !1) : o !== K && M(o, t) ? (o[t] = n, !0) : M(e.props, t) ? (process.env.NODE_ENV !== "production" && y(`Attempting to mutate prop "${t}". Props are readonly.`), !1) : t[0] === "$" && t.slice(1) in e ? (process.env.NODE_ENV !== "production" && y(
|
|
1392
|
+
`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`
|
|
1393
|
+
), !1) : (process.env.NODE_ENV !== "production" && t in e.appContext.config.globalProperties ? Object.defineProperty(r, t, {
|
|
1394
|
+
enumerable: !0,
|
|
1395
|
+
configurable: !0,
|
|
1396
|
+
value: n
|
|
1397
|
+
}) : r[t] = n, !0);
|
|
1398
|
+
},
|
|
1399
|
+
has({
|
|
1400
|
+
_: { data: e, setupState: t, accessCache: n, ctx: o, appContext: s, propsOptions: r }
|
|
1401
|
+
}, i) {
|
|
1402
|
+
let c;
|
|
1403
|
+
return !!n[i] || e !== K && M(e, i) || Vn(t, i) || (c = r[0]) && M(c, i) || M(o, i) || M(st, i) || M(s.config.globalProperties, i);
|
|
1404
|
+
},
|
|
1405
|
+
defineProperty(e, t, n) {
|
|
1406
|
+
return n.get != null ? e._.accessCache[t] = 0 : M(n, "value") && this.set(e, t, n.value, null), Reflect.defineProperty(e, t, n);
|
|
1407
|
+
}
|
|
1408
|
+
};
|
|
1409
|
+
process.env.NODE_ENV !== "production" && (Js.ownKeys = (e) => (y(
|
|
1410
|
+
"Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."
|
|
1411
|
+
), Reflect.ownKeys(e)));
|
|
1412
|
+
function qi(e) {
|
|
1413
|
+
const t = {};
|
|
1414
|
+
return Object.defineProperty(t, "_", {
|
|
1415
|
+
configurable: !0,
|
|
1416
|
+
enumerable: !1,
|
|
1417
|
+
get: () => e
|
|
1418
|
+
}), Object.keys(st).forEach((n) => {
|
|
1419
|
+
Object.defineProperty(t, n, {
|
|
1420
|
+
configurable: !0,
|
|
1421
|
+
enumerable: !1,
|
|
1422
|
+
get: () => st[n](e),
|
|
1423
|
+
// intercepted by the proxy so no need for implementation,
|
|
1424
|
+
// but needed to prevent set errors
|
|
1425
|
+
set: G
|
|
1426
|
+
});
|
|
1427
|
+
}), t;
|
|
1428
|
+
}
|
|
1429
|
+
function Ji(e) {
|
|
1430
|
+
const {
|
|
1431
|
+
ctx: t,
|
|
1432
|
+
propsOptions: [n]
|
|
1433
|
+
} = e;
|
|
1434
|
+
n && Object.keys(n).forEach((o) => {
|
|
1435
|
+
Object.defineProperty(t, o, {
|
|
1436
|
+
enumerable: !0,
|
|
1437
|
+
configurable: !0,
|
|
1438
|
+
get: () => e.props[o],
|
|
1439
|
+
set: G
|
|
1440
|
+
});
|
|
1441
|
+
});
|
|
1442
|
+
}
|
|
1443
|
+
function Gi(e) {
|
|
1444
|
+
const { ctx: t, setupState: n } = e;
|
|
1445
|
+
Object.keys(R(n)).forEach((o) => {
|
|
1446
|
+
if (!n.__isScriptSetup) {
|
|
1447
|
+
if (_o(o[0])) {
|
|
1448
|
+
y(
|
|
1449
|
+
`setup() return property ${JSON.stringify(
|
|
1450
|
+
o
|
|
1451
|
+
)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`
|
|
1452
|
+
);
|
|
1453
|
+
return;
|
|
1454
|
+
}
|
|
1455
|
+
Object.defineProperty(t, o, {
|
|
1456
|
+
enumerable: !0,
|
|
1457
|
+
configurable: !0,
|
|
1458
|
+
get: () => n[o],
|
|
1459
|
+
set: G
|
|
1460
|
+
});
|
|
1461
|
+
}
|
|
1462
|
+
});
|
|
1463
|
+
}
|
|
1464
|
+
function Uo(e) {
|
|
1465
|
+
return C(e) ? e.reduce(
|
|
1466
|
+
(t, n) => (t[n] = null, t),
|
|
1467
|
+
{}
|
|
1468
|
+
) : e;
|
|
1469
|
+
}
|
|
1470
|
+
function Yi() {
|
|
1471
|
+
const e = /* @__PURE__ */ Object.create(null);
|
|
1472
|
+
return (t, n) => {
|
|
1473
|
+
e[n] ? y(`${t} property "${n}" is already defined in ${e[n]}.`) : e[n] = t;
|
|
1474
|
+
};
|
|
1475
|
+
}
|
|
1476
|
+
let Ln = !0;
|
|
1477
|
+
function zi(e) {
|
|
1478
|
+
const t = go(e), n = e.proxy, o = e.ctx;
|
|
1479
|
+
Ln = !1, t.beforeCreate && Ko(t.beforeCreate, e, "bc");
|
|
1480
|
+
const {
|
|
1481
|
+
// state
|
|
1482
|
+
data: s,
|
|
1483
|
+
computed: r,
|
|
1484
|
+
methods: i,
|
|
1485
|
+
watch: c,
|
|
1486
|
+
provide: f,
|
|
1487
|
+
inject: d,
|
|
1488
|
+
// lifecycle
|
|
1489
|
+
created: h,
|
|
1490
|
+
beforeMount: a,
|
|
1491
|
+
mounted: v,
|
|
1492
|
+
beforeUpdate: x,
|
|
1493
|
+
updated: P,
|
|
1494
|
+
activated: $,
|
|
1495
|
+
deactivated: ae,
|
|
1496
|
+
beforeDestroy: B,
|
|
1497
|
+
beforeUnmount: k,
|
|
1498
|
+
destroyed: H,
|
|
1499
|
+
unmounted: q,
|
|
1500
|
+
render: J,
|
|
1501
|
+
renderTracked: de,
|
|
1502
|
+
renderTriggered: I,
|
|
1503
|
+
errorCaptured: ne,
|
|
1504
|
+
serverPrefetch: oe,
|
|
1505
|
+
// public API
|
|
1506
|
+
expose: Ce,
|
|
1507
|
+
inheritAttrs: Me,
|
|
1508
|
+
// assets
|
|
1509
|
+
components: pe,
|
|
1510
|
+
directives: At,
|
|
1511
|
+
filters: Oo
|
|
1512
|
+
} = t, Fe = process.env.NODE_ENV !== "production" ? Yi() : null;
|
|
1513
|
+
if (process.env.NODE_ENV !== "production") {
|
|
1514
|
+
const [j] = e.propsOptions;
|
|
1515
|
+
if (j)
|
|
1516
|
+
for (const F in j)
|
|
1517
|
+
Fe("Props", F);
|
|
1518
|
+
}
|
|
1519
|
+
if (d && Xi(d, o, Fe), i)
|
|
1520
|
+
for (const j in i) {
|
|
1521
|
+
const F = i[j];
|
|
1522
|
+
S(F) ? (process.env.NODE_ENV !== "production" ? Object.defineProperty(o, j, {
|
|
1523
|
+
value: F.bind(n),
|
|
1524
|
+
configurable: !0,
|
|
1525
|
+
enumerable: !0,
|
|
1526
|
+
writable: !0
|
|
1527
|
+
}) : o[j] = F.bind(n), process.env.NODE_ENV !== "production" && Fe("Methods", j)) : process.env.NODE_ENV !== "production" && y(
|
|
1528
|
+
`Method "${j}" has type "${typeof F}" in the component definition. Did you reference the function correctly?`
|
|
1529
|
+
);
|
|
1530
|
+
}
|
|
1531
|
+
if (s) {
|
|
1532
|
+
process.env.NODE_ENV !== "production" && !S(s) && y(
|
|
1533
|
+
"The data option must be a function. Plain object usage is no longer supported."
|
|
1534
|
+
);
|
|
1535
|
+
const j = s.call(n, n);
|
|
1536
|
+
if (process.env.NODE_ENV !== "production" && Yn(j) && y(
|
|
1537
|
+
"data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."
|
|
1538
|
+
), !W(j))
|
|
1539
|
+
process.env.NODE_ENV !== "production" && y("data() should return an object.");
|
|
1540
|
+
else if (e.data = ro(j), process.env.NODE_ENV !== "production")
|
|
1541
|
+
for (const F in j)
|
|
1542
|
+
Fe("Data", F), _o(F[0]) || Object.defineProperty(o, F, {
|
|
1543
|
+
configurable: !0,
|
|
1544
|
+
enumerable: !0,
|
|
1545
|
+
get: () => j[F],
|
|
1546
|
+
set: G
|
|
1547
|
+
});
|
|
1548
|
+
}
|
|
1549
|
+
if (Ln = !0, r)
|
|
1550
|
+
for (const j in r) {
|
|
1551
|
+
const F = r[j], Ne = S(F) ? F.bind(n, n) : S(F.get) ? F.get.bind(n, n) : G;
|
|
1552
|
+
process.env.NODE_ENV !== "production" && Ne === G && y(`Computed property "${j}" has no getter.`);
|
|
1553
|
+
const vn = !S(F) && S(F.set) ? F.set.bind(n) : process.env.NODE_ENV !== "production" ? () => {
|
|
1554
|
+
y(
|
|
1555
|
+
`Write operation failed: computed property "${j}" is readonly.`
|
|
1556
|
+
);
|
|
1557
|
+
} : G, _t = tc({
|
|
1558
|
+
get: Ne,
|
|
1559
|
+
set: vn
|
|
1560
|
+
});
|
|
1561
|
+
Object.defineProperty(o, j, {
|
|
1562
|
+
enumerable: !0,
|
|
1563
|
+
configurable: !0,
|
|
1564
|
+
get: () => _t.value,
|
|
1565
|
+
set: (lt) => _t.value = lt
|
|
1566
|
+
}), process.env.NODE_ENV !== "production" && Fe("Computed", j);
|
|
1567
|
+
}
|
|
1568
|
+
if (c)
|
|
1569
|
+
for (const j in c)
|
|
1570
|
+
Gs(c[j], o, n, j);
|
|
1571
|
+
if (f) {
|
|
1572
|
+
const j = S(f) ? f.call(n) : f;
|
|
1573
|
+
Reflect.ownKeys(j).forEach((F) => {
|
|
1574
|
+
ol(F, j[F]);
|
|
1575
|
+
});
|
|
1576
|
+
}
|
|
1577
|
+
h && Ko(h, e, "c");
|
|
1578
|
+
function ie(j, F) {
|
|
1579
|
+
C(F) ? F.forEach((Ne) => j(Ne.bind(n))) : F && j(F.bind(n));
|
|
1580
|
+
}
|
|
1581
|
+
if (ie(Mi, a), ie(Fi, v), ie(ji, x), ie(Li, P), ie(Ii, $), ie(Ri, ae), ie(Wi, ne), ie(Bi, de), ie(Ki, I), ie(Hi, k), ie(qs, q), ie(Ui, oe), C(Ce))
|
|
1582
|
+
if (Ce.length) {
|
|
1583
|
+
const j = e.exposed || (e.exposed = {});
|
|
1584
|
+
Ce.forEach((F) => {
|
|
1585
|
+
Object.defineProperty(j, F, {
|
|
1586
|
+
get: () => n[F],
|
|
1587
|
+
set: (Ne) => n[F] = Ne
|
|
1588
|
+
});
|
|
1589
|
+
});
|
|
1590
|
+
} else e.exposed || (e.exposed = {});
|
|
1591
|
+
J && e.render === G && (e.render = J), Me != null && (e.inheritAttrs = Me), pe && (e.components = pe), At && (e.directives = At);
|
|
1592
|
+
}
|
|
1593
|
+
function Xi(e, t, n = G) {
|
|
1594
|
+
C(e) && (e = Hn(e));
|
|
1595
|
+
for (const o in e) {
|
|
1596
|
+
const s = e[o];
|
|
1597
|
+
let r;
|
|
1598
|
+
W(s) ? "default" in s ? r = Jt(
|
|
1599
|
+
s.from || o,
|
|
1600
|
+
s.default,
|
|
1601
|
+
!0
|
|
1602
|
+
) : r = Jt(s.from || o) : r = Jt(s), te(r) ? Object.defineProperty(t, o, {
|
|
1603
|
+
enumerable: !0,
|
|
1604
|
+
configurable: !0,
|
|
1605
|
+
get: () => r.value,
|
|
1606
|
+
set: (i) => r.value = i
|
|
1607
|
+
}) : t[o] = r, process.env.NODE_ENV !== "production" && n("Inject", o);
|
|
1608
|
+
}
|
|
1609
|
+
}
|
|
1610
|
+
function Ko(e, t, n) {
|
|
1611
|
+
me(
|
|
1612
|
+
C(e) ? e.map((o) => o.bind(t.proxy)) : e.bind(t.proxy),
|
|
1613
|
+
t,
|
|
1614
|
+
n
|
|
1615
|
+
);
|
|
1616
|
+
}
|
|
1617
|
+
function Gs(e, t, n, o) {
|
|
1618
|
+
const s = o.includes(".") ? lr(n, o) : () => n[o];
|
|
1619
|
+
if (z(e)) {
|
|
1620
|
+
const r = t[e];
|
|
1621
|
+
S(r) ? xn(s, r) : process.env.NODE_ENV !== "production" && y(`Invalid watch handler specified by key "${e}"`, r);
|
|
1622
|
+
} else if (S(e))
|
|
1623
|
+
xn(s, e.bind(n));
|
|
1624
|
+
else if (W(e))
|
|
1625
|
+
if (C(e))
|
|
1626
|
+
e.forEach((r) => Gs(r, t, n, o));
|
|
1627
|
+
else {
|
|
1628
|
+
const r = S(e.handler) ? e.handler.bind(n) : t[e.handler];
|
|
1629
|
+
S(r) ? xn(s, r, e) : process.env.NODE_ENV !== "production" && y(`Invalid watch handler specified by key "${e.handler}"`, r);
|
|
1630
|
+
}
|
|
1631
|
+
else process.env.NODE_ENV !== "production" && y(`Invalid watch option: "${o}"`, e);
|
|
1632
|
+
}
|
|
1633
|
+
function go(e) {
|
|
1634
|
+
const t = e.type, { mixins: n, extends: o } = t, {
|
|
1635
|
+
mixins: s,
|
|
1636
|
+
optionsCache: r,
|
|
1637
|
+
config: { optionMergeStrategies: i }
|
|
1638
|
+
} = e.appContext, c = r.get(t);
|
|
1639
|
+
let f;
|
|
1640
|
+
return c ? f = c : !s.length && !n && !o ? f = t : (f = {}, s.length && s.forEach(
|
|
1641
|
+
(d) => nn(f, d, i, !0)
|
|
1642
|
+
), nn(f, t, i)), W(t) && r.set(t, f), f;
|
|
1643
|
+
}
|
|
1644
|
+
function nn(e, t, n, o = !1) {
|
|
1645
|
+
const { mixins: s, extends: r } = t;
|
|
1646
|
+
r && nn(e, r, n, !0), s && s.forEach(
|
|
1647
|
+
(i) => nn(e, i, n, !0)
|
|
1648
|
+
);
|
|
1649
|
+
for (const i in t)
|
|
1650
|
+
if (o && i === "expose")
|
|
1651
|
+
process.env.NODE_ENV !== "production" && y(
|
|
1652
|
+
'"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.'
|
|
1653
|
+
);
|
|
1654
|
+
else {
|
|
1655
|
+
const c = Zi[i] || n && n[i];
|
|
1656
|
+
e[i] = c ? c(e[i], t[i]) : t[i];
|
|
1657
|
+
}
|
|
1658
|
+
return e;
|
|
1659
|
+
}
|
|
1660
|
+
const Zi = {
|
|
1661
|
+
data: Bo,
|
|
1662
|
+
props: Wo,
|
|
1663
|
+
emits: Wo,
|
|
1664
|
+
// objects
|
|
1665
|
+
methods: Ot,
|
|
1666
|
+
computed: Ot,
|
|
1667
|
+
// lifecycle
|
|
1668
|
+
beforeCreate: re,
|
|
1669
|
+
created: re,
|
|
1670
|
+
beforeMount: re,
|
|
1671
|
+
mounted: re,
|
|
1672
|
+
beforeUpdate: re,
|
|
1673
|
+
updated: re,
|
|
1674
|
+
beforeDestroy: re,
|
|
1675
|
+
beforeUnmount: re,
|
|
1676
|
+
destroyed: re,
|
|
1677
|
+
unmounted: re,
|
|
1678
|
+
activated: re,
|
|
1679
|
+
deactivated: re,
|
|
1680
|
+
errorCaptured: re,
|
|
1681
|
+
serverPrefetch: re,
|
|
1682
|
+
// assets
|
|
1683
|
+
components: Ot,
|
|
1684
|
+
directives: Ot,
|
|
1685
|
+
// watch
|
|
1686
|
+
watch: el,
|
|
1687
|
+
// provide / inject
|
|
1688
|
+
provide: Bo,
|
|
1689
|
+
inject: Qi
|
|
1690
|
+
};
|
|
1691
|
+
function Bo(e, t) {
|
|
1692
|
+
return t ? e ? function() {
|
|
1693
|
+
return Y(
|
|
1694
|
+
S(e) ? e.call(this, this) : e,
|
|
1695
|
+
S(t) ? t.call(this, this) : t
|
|
1696
|
+
);
|
|
1697
|
+
} : t : e;
|
|
1698
|
+
}
|
|
1699
|
+
function Qi(e, t) {
|
|
1700
|
+
return Ot(Hn(e), Hn(t));
|
|
1701
|
+
}
|
|
1702
|
+
function Hn(e) {
|
|
1703
|
+
if (C(e)) {
|
|
1704
|
+
const t = {};
|
|
1705
|
+
for (let n = 0; n < e.length; n++)
|
|
1706
|
+
t[e[n]] = e[n];
|
|
1707
|
+
return t;
|
|
1708
|
+
}
|
|
1709
|
+
return e;
|
|
1710
|
+
}
|
|
1711
|
+
function re(e, t) {
|
|
1712
|
+
return e ? [...new Set([].concat(e, t))] : t;
|
|
1713
|
+
}
|
|
1714
|
+
function Ot(e, t) {
|
|
1715
|
+
return e ? Y(/* @__PURE__ */ Object.create(null), e, t) : t;
|
|
1716
|
+
}
|
|
1717
|
+
function Wo(e, t) {
|
|
1718
|
+
return e ? C(e) && C(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : Y(
|
|
1719
|
+
/* @__PURE__ */ Object.create(null),
|
|
1720
|
+
Uo(e),
|
|
1721
|
+
Uo(t ?? {})
|
|
1722
|
+
) : t;
|
|
1723
|
+
}
|
|
1724
|
+
function el(e, t) {
|
|
1725
|
+
if (!e) return t;
|
|
1726
|
+
if (!t) return e;
|
|
1727
|
+
const n = Y(/* @__PURE__ */ Object.create(null), e);
|
|
1728
|
+
for (const o in t)
|
|
1729
|
+
n[o] = re(e[o], t[o]);
|
|
1730
|
+
return n;
|
|
1731
|
+
}
|
|
1732
|
+
function Ys() {
|
|
1733
|
+
return {
|
|
1734
|
+
app: null,
|
|
1735
|
+
config: {
|
|
1736
|
+
isNativeTag: Nr,
|
|
1737
|
+
performance: !1,
|
|
1738
|
+
globalProperties: {},
|
|
1739
|
+
optionMergeStrategies: {},
|
|
1740
|
+
errorHandler: void 0,
|
|
1741
|
+
warnHandler: void 0,
|
|
1742
|
+
compilerOptions: {}
|
|
1743
|
+
},
|
|
1744
|
+
mixins: [],
|
|
1745
|
+
components: {},
|
|
1746
|
+
directives: {},
|
|
1747
|
+
provides: /* @__PURE__ */ Object.create(null),
|
|
1748
|
+
optionsCache: /* @__PURE__ */ new WeakMap(),
|
|
1749
|
+
propsCache: /* @__PURE__ */ new WeakMap(),
|
|
1750
|
+
emitsCache: /* @__PURE__ */ new WeakMap()
|
|
1751
|
+
};
|
|
1752
|
+
}
|
|
1753
|
+
let tl = 0;
|
|
1754
|
+
function nl(e, t) {
|
|
1755
|
+
return function(o, s = null) {
|
|
1756
|
+
S(o) || (o = Y({}, o)), s != null && !W(s) && (process.env.NODE_ENV !== "production" && y("root props passed to app.mount() must be an object."), s = null);
|
|
1757
|
+
const r = Ys(), i = /* @__PURE__ */ new WeakSet();
|
|
1758
|
+
let c = !1;
|
|
1759
|
+
const f = r.app = {
|
|
1760
|
+
_uid: tl++,
|
|
1761
|
+
_component: o,
|
|
1762
|
+
_props: s,
|
|
1763
|
+
_container: null,
|
|
1764
|
+
_context: r,
|
|
1765
|
+
_instance: null,
|
|
1766
|
+
version: ts,
|
|
1767
|
+
get config() {
|
|
1768
|
+
return r.config;
|
|
1769
|
+
},
|
|
1770
|
+
set config(d) {
|
|
1771
|
+
process.env.NODE_ENV !== "production" && y(
|
|
1772
|
+
"app.config cannot be replaced. Modify individual options instead."
|
|
1773
|
+
);
|
|
1774
|
+
},
|
|
1775
|
+
use(d, ...h) {
|
|
1776
|
+
return i.has(d) ? process.env.NODE_ENV !== "production" && y("Plugin has already been applied to target app.") : d && S(d.install) ? (i.add(d), d.install(f, ...h)) : S(d) ? (i.add(d), d(f, ...h)) : process.env.NODE_ENV !== "production" && y(
|
|
1777
|
+
'A plugin must either be a function or an object with an "install" function.'
|
|
1778
|
+
), f;
|
|
1779
|
+
},
|
|
1780
|
+
mixin(d) {
|
|
1781
|
+
return r.mixins.includes(d) ? process.env.NODE_ENV !== "production" && y(
|
|
1782
|
+
"Mixin has already been applied to target app" + (d.name ? `: ${d.name}` : "")
|
|
1783
|
+
) : r.mixins.push(d), f;
|
|
1784
|
+
},
|
|
1785
|
+
component(d, h) {
|
|
1786
|
+
return process.env.NODE_ENV !== "production" && qn(d, r.config), h ? (process.env.NODE_ENV !== "production" && r.components[d] && y(`Component "${d}" has already been registered in target app.`), r.components[d] = h, f) : r.components[d];
|
|
1787
|
+
},
|
|
1788
|
+
directive(d, h) {
|
|
1789
|
+
return process.env.NODE_ENV !== "production" && Bs(d), h ? (process.env.NODE_ENV !== "production" && r.directives[d] && y(`Directive "${d}" has already been registered in target app.`), r.directives[d] = h, f) : r.directives[d];
|
|
1790
|
+
},
|
|
1791
|
+
mount(d, h, a) {
|
|
1792
|
+
if (c)
|
|
1793
|
+
process.env.NODE_ENV !== "production" && y(
|
|
1794
|
+
"App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`"
|
|
1795
|
+
);
|
|
1796
|
+
else {
|
|
1797
|
+
process.env.NODE_ENV !== "production" && d.__vue_app__ && y(
|
|
1798
|
+
"There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first."
|
|
1799
|
+
);
|
|
1800
|
+
const v = ke(o, s);
|
|
1801
|
+
return v.appContext = r, a === !0 ? a = "svg" : a === !1 && (a = void 0), process.env.NODE_ENV !== "production" && (r.reload = () => {
|
|
1802
|
+
e(
|
|
1803
|
+
Ge(v),
|
|
1804
|
+
d,
|
|
1805
|
+
a
|
|
1806
|
+
);
|
|
1807
|
+
}), h && t ? t(v, d) : e(v, d, a), c = !0, f._container = d, d.__vue_app__ = f, process.env.NODE_ENV !== "production" && (f._instance = v.component, Oi(f, ts)), bo(v.component);
|
|
1808
|
+
}
|
|
1809
|
+
},
|
|
1810
|
+
unmount() {
|
|
1811
|
+
c ? (e(null, f._container), process.env.NODE_ENV !== "production" && (f._instance = null, wi(f)), delete f._container.__vue_app__) : process.env.NODE_ENV !== "production" && y("Cannot unmount an app that is not mounted.");
|
|
1812
|
+
},
|
|
1813
|
+
provide(d, h) {
|
|
1814
|
+
return process.env.NODE_ENV !== "production" && d in r.provides && y(
|
|
1815
|
+
`App already provides property with key "${String(d)}". It will be overwritten with the new value.`
|
|
1816
|
+
), r.provides[d] = h, f;
|
|
1817
|
+
},
|
|
1818
|
+
runWithContext(d) {
|
|
1819
|
+
const h = Vt;
|
|
1820
|
+
Vt = f;
|
|
1821
|
+
try {
|
|
1822
|
+
return d();
|
|
1823
|
+
} finally {
|
|
1824
|
+
Vt = h;
|
|
1825
|
+
}
|
|
1826
|
+
}
|
|
1827
|
+
};
|
|
1828
|
+
return f;
|
|
1829
|
+
};
|
|
1830
|
+
}
|
|
1831
|
+
let Vt = null;
|
|
1832
|
+
function ol(e, t) {
|
|
1833
|
+
if (!Z)
|
|
1834
|
+
process.env.NODE_ENV !== "production" && y("provide() can only be used inside setup().");
|
|
1835
|
+
else {
|
|
1836
|
+
let n = Z.provides;
|
|
1837
|
+
const o = Z.parent && Z.parent.provides;
|
|
1838
|
+
o === n && (n = Z.provides = Object.create(o)), n[e] = t;
|
|
1839
|
+
}
|
|
1840
|
+
}
|
|
1841
|
+
function Jt(e, t, n = !1) {
|
|
1842
|
+
const o = Z || ue;
|
|
1843
|
+
if (o || Vt) {
|
|
1844
|
+
const s = o ? o.parent == null ? o.vnode.appContext && o.vnode.appContext.provides : o.parent.provides : Vt._context.provides;
|
|
1845
|
+
if (s && e in s)
|
|
1846
|
+
return s[e];
|
|
1847
|
+
if (arguments.length > 1)
|
|
1848
|
+
return n && S(t) ? t.call(o && o.proxy) : t;
|
|
1849
|
+
process.env.NODE_ENV !== "production" && y(`injection "${String(e)}" not found.`);
|
|
1850
|
+
} else process.env.NODE_ENV !== "production" && y("inject() can only be used inside setup() or functional components.");
|
|
1851
|
+
}
|
|
1852
|
+
const zs = {}, Xs = () => Object.create(zs), Zs = (e) => Object.getPrototypeOf(e) === zs;
|
|
1853
|
+
function sl(e, t, n, o = !1) {
|
|
1854
|
+
const s = {}, r = Xs();
|
|
1855
|
+
e.propsDefaults = /* @__PURE__ */ Object.create(null), Qs(e, t, s, r);
|
|
1856
|
+
for (const i in e.propsOptions[0])
|
|
1857
|
+
i in s || (s[i] = void 0);
|
|
1858
|
+
process.env.NODE_ENV !== "production" && tr(t || {}, s, e), n ? e.props = o ? s : oi(s) : e.type.props ? e.props = s : e.props = r, e.attrs = r;
|
|
1859
|
+
}
|
|
1860
|
+
function rl(e) {
|
|
1861
|
+
for (; e; ) {
|
|
1862
|
+
if (e.type.__hmrId) return !0;
|
|
1863
|
+
e = e.parent;
|
|
1864
|
+
}
|
|
1865
|
+
}
|
|
1866
|
+
function il(e, t, n, o) {
|
|
1867
|
+
const {
|
|
1868
|
+
props: s,
|
|
1869
|
+
attrs: r,
|
|
1870
|
+
vnode: { patchFlag: i }
|
|
1871
|
+
} = e, c = R(s), [f] = e.propsOptions;
|
|
1872
|
+
let d = !1;
|
|
1873
|
+
if (
|
|
1874
|
+
// always force full diff in dev
|
|
1875
|
+
// - #1942 if hmr is enabled with sfc component
|
|
1876
|
+
// - vite#872 non-sfc component used by sfc component
|
|
1877
|
+
!(process.env.NODE_ENV !== "production" && rl(e)) && (o || i > 0) && !(i & 16)
|
|
1878
|
+
) {
|
|
1879
|
+
if (i & 8) {
|
|
1880
|
+
const h = e.vnode.dynamicProps;
|
|
1881
|
+
for (let a = 0; a < h.length; a++) {
|
|
1882
|
+
let v = h[a];
|
|
1883
|
+
if (_n(e.emitsOptions, v))
|
|
1884
|
+
continue;
|
|
1885
|
+
const x = t[v];
|
|
1886
|
+
if (f)
|
|
1887
|
+
if (M(r, v))
|
|
1888
|
+
x !== r[v] && (r[v] = x, d = !0);
|
|
1889
|
+
else {
|
|
1890
|
+
const P = De(v);
|
|
1891
|
+
s[P] = Un(
|
|
1892
|
+
f,
|
|
1893
|
+
c,
|
|
1894
|
+
P,
|
|
1895
|
+
x,
|
|
1896
|
+
e,
|
|
1897
|
+
!1
|
|
1898
|
+
);
|
|
1899
|
+
}
|
|
1900
|
+
else
|
|
1901
|
+
x !== r[v] && (r[v] = x, d = !0);
|
|
1902
|
+
}
|
|
1903
|
+
}
|
|
1904
|
+
} else {
|
|
1905
|
+
Qs(e, t, s, r) && (d = !0);
|
|
1906
|
+
let h;
|
|
1907
|
+
for (const a in c)
|
|
1908
|
+
(!t || // for camelCase
|
|
1909
|
+
!M(t, a) && // it's possible the original props was passed in as kebab-case
|
|
1910
|
+
// and converted to camelCase (#955)
|
|
1911
|
+
((h = ce(a)) === a || !M(t, h))) && (f ? n && // for camelCase
|
|
1912
|
+
(n[a] !== void 0 || // for kebab-case
|
|
1913
|
+
n[h] !== void 0) && (s[a] = Un(
|
|
1914
|
+
f,
|
|
1915
|
+
c,
|
|
1916
|
+
a,
|
|
1917
|
+
void 0,
|
|
1918
|
+
e,
|
|
1919
|
+
!0
|
|
1920
|
+
)) : delete s[a]);
|
|
1921
|
+
if (r !== c)
|
|
1922
|
+
for (const a in r)
|
|
1923
|
+
(!t || !M(t, a)) && (delete r[a], d = !0);
|
|
1924
|
+
}
|
|
1925
|
+
d && xe(e.attrs, "set", ""), process.env.NODE_ENV !== "production" && tr(t || {}, s, e);
|
|
1926
|
+
}
|
|
1927
|
+
function Qs(e, t, n, o) {
|
|
1928
|
+
const [s, r] = e.propsOptions;
|
|
1929
|
+
let i = !1, c;
|
|
1930
|
+
if (t)
|
|
1931
|
+
for (let f in t) {
|
|
1932
|
+
if (wt(f))
|
|
1933
|
+
continue;
|
|
1934
|
+
const d = t[f];
|
|
1935
|
+
let h;
|
|
1936
|
+
s && M(s, h = De(f)) ? !r || !r.includes(h) ? n[h] = d : (c || (c = {}))[h] = d : _n(e.emitsOptions, f) || (!(f in o) || d !== o[f]) && (o[f] = d, i = !0);
|
|
1937
|
+
}
|
|
1938
|
+
if (r) {
|
|
1939
|
+
const f = R(n), d = c || K;
|
|
1940
|
+
for (let h = 0; h < r.length; h++) {
|
|
1941
|
+
const a = r[h];
|
|
1942
|
+
n[a] = Un(
|
|
1943
|
+
s,
|
|
1944
|
+
f,
|
|
1945
|
+
a,
|
|
1946
|
+
d[a],
|
|
1947
|
+
e,
|
|
1948
|
+
!M(d, a)
|
|
1949
|
+
);
|
|
1950
|
+
}
|
|
1951
|
+
}
|
|
1952
|
+
return i;
|
|
1953
|
+
}
|
|
1954
|
+
function Un(e, t, n, o, s, r) {
|
|
1955
|
+
const i = e[n];
|
|
1956
|
+
if (i != null) {
|
|
1957
|
+
const c = M(i, "default");
|
|
1958
|
+
if (c && o === void 0) {
|
|
1959
|
+
const f = i.default;
|
|
1960
|
+
if (i.type !== Function && !i.skipFactory && S(f)) {
|
|
1961
|
+
const { propsDefaults: d } = s;
|
|
1962
|
+
if (n in d)
|
|
1963
|
+
o = d[n];
|
|
1964
|
+
else {
|
|
1965
|
+
const h = Rt(s);
|
|
1966
|
+
o = d[n] = f.call(
|
|
1967
|
+
null,
|
|
1968
|
+
t
|
|
1969
|
+
), h();
|
|
1970
|
+
}
|
|
1971
|
+
} else
|
|
1972
|
+
o = f;
|
|
1973
|
+
}
|
|
1974
|
+
i[
|
|
1975
|
+
0
|
|
1976
|
+
/* shouldCast */
|
|
1977
|
+
] && (r && !c ? o = !1 : i[
|
|
1978
|
+
1
|
|
1979
|
+
/* shouldCastTrue */
|
|
1980
|
+
] && (o === "" || o === ce(n)) && (o = !0));
|
|
1981
|
+
}
|
|
1982
|
+
return o;
|
|
1983
|
+
}
|
|
1984
|
+
const ll = /* @__PURE__ */ new WeakMap();
|
|
1985
|
+
function er(e, t, n = !1) {
|
|
1986
|
+
const o = n ? ll : t.propsCache, s = o.get(e);
|
|
1987
|
+
if (s)
|
|
1988
|
+
return s;
|
|
1989
|
+
const r = e.props, i = {}, c = [];
|
|
1990
|
+
let f = !1;
|
|
1991
|
+
if (!S(e)) {
|
|
1992
|
+
const h = (a) => {
|
|
1993
|
+
f = !0;
|
|
1994
|
+
const [v, x] = er(a, t, !0);
|
|
1995
|
+
Y(i, v), x && c.push(...x);
|
|
1996
|
+
};
|
|
1997
|
+
!n && t.mixins.length && t.mixins.forEach(h), e.extends && h(e.extends), e.mixins && e.mixins.forEach(h);
|
|
1998
|
+
}
|
|
1999
|
+
if (!r && !f)
|
|
2000
|
+
return W(e) && o.set(e, ut), ut;
|
|
2001
|
+
if (C(r))
|
|
2002
|
+
for (let h = 0; h < r.length; h++) {
|
|
2003
|
+
process.env.NODE_ENV !== "production" && !z(r[h]) && y("props must be strings when using array syntax.", r[h]);
|
|
2004
|
+
const a = De(r[h]);
|
|
2005
|
+
ko(a) && (i[a] = K);
|
|
2006
|
+
}
|
|
2007
|
+
else if (r) {
|
|
2008
|
+
process.env.NODE_ENV !== "production" && !W(r) && y("invalid props options", r);
|
|
2009
|
+
for (const h in r) {
|
|
2010
|
+
const a = De(h);
|
|
2011
|
+
if (ko(a)) {
|
|
2012
|
+
const v = r[h], x = i[a] = C(v) || S(v) ? { type: v } : Y({}, v), P = x.type;
|
|
2013
|
+
let $ = !1, ae = !0;
|
|
2014
|
+
if (C(P))
|
|
2015
|
+
for (let B = 0; B < P.length; ++B) {
|
|
2016
|
+
const k = P[B], H = S(k) && k.name;
|
|
2017
|
+
if (H === "Boolean") {
|
|
2018
|
+
$ = !0;
|
|
2019
|
+
break;
|
|
2020
|
+
} else H === "String" && (ae = !1);
|
|
2021
|
+
}
|
|
2022
|
+
else
|
|
2023
|
+
$ = S(P) && P.name === "Boolean";
|
|
2024
|
+
x[
|
|
2025
|
+
0
|
|
2026
|
+
/* shouldCast */
|
|
2027
|
+
] = $, x[
|
|
2028
|
+
1
|
|
2029
|
+
/* shouldCastTrue */
|
|
2030
|
+
] = ae, ($ || M(x, "default")) && c.push(a);
|
|
2031
|
+
}
|
|
2032
|
+
}
|
|
2033
|
+
}
|
|
2034
|
+
const d = [i, c];
|
|
2035
|
+
return W(e) && o.set(e, d), d;
|
|
2036
|
+
}
|
|
2037
|
+
function ko(e) {
|
|
2038
|
+
return e[0] !== "$" && !wt(e) ? !0 : (process.env.NODE_ENV !== "production" && y(`Invalid prop name: "${e}" is a reserved property.`), !1);
|
|
2039
|
+
}
|
|
2040
|
+
function cl(e) {
|
|
2041
|
+
return e === null ? "null" : typeof e == "function" ? e.name || "" : typeof e == "object" && e.constructor && e.constructor.name || "";
|
|
2042
|
+
}
|
|
2043
|
+
function tr(e, t, n) {
|
|
2044
|
+
const o = R(t), s = n.propsOptions[0];
|
|
2045
|
+
for (const r in s) {
|
|
2046
|
+
let i = s[r];
|
|
2047
|
+
i != null && ul(
|
|
2048
|
+
r,
|
|
2049
|
+
o[r],
|
|
2050
|
+
i,
|
|
2051
|
+
process.env.NODE_ENV !== "production" ? Ve(o) : o,
|
|
2052
|
+
!M(e, r) && !M(e, ce(r))
|
|
2053
|
+
);
|
|
2054
|
+
}
|
|
2055
|
+
}
|
|
2056
|
+
function ul(e, t, n, o, s) {
|
|
2057
|
+
const { type: r, required: i, validator: c, skipCheck: f } = n;
|
|
2058
|
+
if (i && s) {
|
|
2059
|
+
y('Missing required prop: "' + e + '"');
|
|
2060
|
+
return;
|
|
2061
|
+
}
|
|
2062
|
+
if (!(t == null && !i)) {
|
|
2063
|
+
if (r != null && r !== !0 && !f) {
|
|
2064
|
+
let d = !1;
|
|
2065
|
+
const h = C(r) ? r : [r], a = [];
|
|
2066
|
+
for (let v = 0; v < h.length && !d; v++) {
|
|
2067
|
+
const { valid: x, expectedType: P } = al(t, h[v]);
|
|
2068
|
+
a.push(P || ""), d = x;
|
|
2069
|
+
}
|
|
2070
|
+
if (!d) {
|
|
2071
|
+
y(dl(e, t, a));
|
|
2072
|
+
return;
|
|
2073
|
+
}
|
|
2074
|
+
}
|
|
2075
|
+
c && !c(t, o) && y('Invalid prop: custom validator check failed for prop "' + e + '".');
|
|
2076
|
+
}
|
|
2077
|
+
}
|
|
2078
|
+
const fl = /* @__PURE__ */ pt(
|
|
2079
|
+
"String,Number,Boolean,Function,Symbol,BigInt"
|
|
2080
|
+
);
|
|
2081
|
+
function al(e, t) {
|
|
2082
|
+
let n;
|
|
2083
|
+
const o = cl(t);
|
|
2084
|
+
if (fl(o)) {
|
|
2085
|
+
const s = typeof e;
|
|
2086
|
+
n = s === o.toLowerCase(), !n && s === "object" && (n = e instanceof t);
|
|
2087
|
+
} else o === "Object" ? n = W(e) : o === "Array" ? n = C(e) : o === "null" ? n = e === null : n = e instanceof t;
|
|
2088
|
+
return {
|
|
2089
|
+
valid: n,
|
|
2090
|
+
expectedType: o
|
|
2091
|
+
};
|
|
2092
|
+
}
|
|
2093
|
+
function dl(e, t, n) {
|
|
2094
|
+
if (n.length === 0)
|
|
2095
|
+
return `Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;
|
|
2096
|
+
let o = `Invalid prop: type check failed for prop "${e}". Expected ${n.map(un).join(" | ")}`;
|
|
2097
|
+
const s = n[0], r = zn(t), i = qo(t, s), c = qo(t, r);
|
|
2098
|
+
return n.length === 1 && Jo(s) && !pl(s, r) && (o += ` with value ${i}`), o += `, got ${r} `, Jo(r) && (o += `with value ${c}.`), o;
|
|
2099
|
+
}
|
|
2100
|
+
function qo(e, t) {
|
|
2101
|
+
return t === "String" ? `"${e}"` : t === "Number" ? `${Number(e)}` : `${e}`;
|
|
2102
|
+
}
|
|
2103
|
+
function Jo(e) {
|
|
2104
|
+
return ["string", "number", "boolean"].some((n) => e.toLowerCase() === n);
|
|
2105
|
+
}
|
|
2106
|
+
function pl(...e) {
|
|
2107
|
+
return e.some((t) => t.toLowerCase() === "boolean");
|
|
2108
|
+
}
|
|
2109
|
+
const nr = (e) => e[0] === "_" || e === "$stable", Eo = (e) => C(e) ? e.map(ge) : [ge(e)], hl = (e, t, n) => {
|
|
2110
|
+
if (t._n)
|
|
2111
|
+
return t;
|
|
2112
|
+
const o = Pi((...s) => (process.env.NODE_ENV !== "production" && Z && (!n || n.root === Z.root) && y(
|
|
2113
|
+
`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`
|
|
2114
|
+
), Eo(t(...s))), n);
|
|
2115
|
+
return o._c = !1, o;
|
|
2116
|
+
}, or = (e, t, n) => {
|
|
2117
|
+
const o = e._ctx;
|
|
2118
|
+
for (const s in e) {
|
|
2119
|
+
if (nr(s)) continue;
|
|
2120
|
+
const r = e[s];
|
|
2121
|
+
if (S(r))
|
|
2122
|
+
t[s] = hl(s, r, o);
|
|
2123
|
+
else if (r != null) {
|
|
2124
|
+
process.env.NODE_ENV !== "production" && y(
|
|
2125
|
+
`Non-function value encountered for slot "${s}". Prefer function slots for better performance.`
|
|
2126
|
+
);
|
|
2127
|
+
const i = Eo(r);
|
|
2128
|
+
t[s] = () => i;
|
|
2129
|
+
}
|
|
2130
|
+
}
|
|
2131
|
+
}, sr = (e, t) => {
|
|
2132
|
+
process.env.NODE_ENV !== "production" && !ho(e.vnode) && y(
|
|
2133
|
+
"Non-function value encountered for default slot. Prefer function slots for better performance."
|
|
2134
|
+
);
|
|
2135
|
+
const n = Eo(t);
|
|
2136
|
+
e.slots.default = () => n;
|
|
2137
|
+
}, Kn = (e, t, n) => {
|
|
2138
|
+
for (const o in t)
|
|
2139
|
+
(n || o !== "_") && (e[o] = t[o]);
|
|
2140
|
+
}, _l = (e, t, n) => {
|
|
2141
|
+
const o = e.slots = Xs();
|
|
2142
|
+
if (e.vnode.shapeFlag & 32) {
|
|
2143
|
+
const s = t._;
|
|
2144
|
+
s ? (Kn(o, t, n), n && Qt(o, "_", s, !0)) : or(t, o);
|
|
2145
|
+
} else t && sr(e, t);
|
|
2146
|
+
}, gl = (e, t, n) => {
|
|
2147
|
+
const { vnode: o, slots: s } = e;
|
|
2148
|
+
let r = !0, i = K;
|
|
2149
|
+
if (o.shapeFlag & 32) {
|
|
2150
|
+
const c = t._;
|
|
2151
|
+
c ? process.env.NODE_ENV !== "production" && ot ? (Kn(s, t, n), xe(e, "set", "$slots")) : n && c === 1 ? r = !1 : Kn(s, t, n) : (r = !t.$stable, or(t, s)), i = t;
|
|
2152
|
+
} else t && (sr(e, t), i = { default: 1 });
|
|
2153
|
+
if (r)
|
|
2154
|
+
for (const c in s)
|
|
2155
|
+
!nr(c) && i[c] == null && delete s[c];
|
|
2156
|
+
};
|
|
2157
|
+
function Bn(e, t, n, o, s = !1) {
|
|
2158
|
+
if (C(e)) {
|
|
2159
|
+
e.forEach(
|
|
2160
|
+
(v, x) => Bn(
|
|
2161
|
+
v,
|
|
2162
|
+
t && (C(t) ? t[x] : t),
|
|
2163
|
+
n,
|
|
2164
|
+
o,
|
|
2165
|
+
s
|
|
2166
|
+
)
|
|
2167
|
+
);
|
|
2168
|
+
return;
|
|
2169
|
+
}
|
|
2170
|
+
if (qt(o) && !s)
|
|
2171
|
+
return;
|
|
2172
|
+
const r = o.shapeFlag & 4 ? bo(o.component) : o.el, i = s ? null : r, { i: c, r: f } = e;
|
|
2173
|
+
if (process.env.NODE_ENV !== "production" && !c) {
|
|
2174
|
+
y(
|
|
2175
|
+
"Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function."
|
|
2176
|
+
);
|
|
2177
|
+
return;
|
|
2178
|
+
}
|
|
2179
|
+
const d = t && t.r, h = c.refs === K ? c.refs = {} : c.refs, a = c.setupState;
|
|
2180
|
+
if (d != null && d !== f && (z(d) ? (h[d] = null, M(a, d) && (a[d] = null)) : te(d) && (d.value = null)), S(f))
|
|
2181
|
+
$e(f, c, 12, [i, h]);
|
|
2182
|
+
else {
|
|
2183
|
+
const v = z(f), x = te(f);
|
|
2184
|
+
if (v || x) {
|
|
2185
|
+
const P = () => {
|
|
2186
|
+
if (e.f) {
|
|
2187
|
+
const $ = v ? M(a, f) ? a[f] : h[f] : f.value;
|
|
2188
|
+
s ? C($) && Gn($, r) : C($) ? $.includes(r) || $.push(r) : v ? (h[f] = [r], M(a, f) && (a[f] = h[f])) : (f.value = [r], e.k && (h[e.k] = f.value));
|
|
2189
|
+
} else v ? (h[f] = i, M(a, f) && (a[f] = i)) : x ? (f.value = i, e.k && (h[e.k] = i)) : process.env.NODE_ENV !== "production" && y("Invalid template ref type:", f, `(${typeof f})`);
|
|
2190
|
+
};
|
|
2191
|
+
i ? (P.id = -1, le(P, n)) : P();
|
|
2192
|
+
} else process.env.NODE_ENV !== "production" && y("Invalid template ref type:", f, `(${typeof f})`);
|
|
2193
|
+
}
|
|
2194
|
+
}
|
|
2195
|
+
const El = Symbol("_vte"), ml = (e) => e.__isTeleport;
|
|
2196
|
+
let Nt, Ke;
|
|
2197
|
+
function Se(e, t) {
|
|
2198
|
+
e.appContext.config.performance && on() && Ke.mark(`vue-${t}-${e.uid}`), process.env.NODE_ENV !== "production" && Ci(e, t, on() ? Ke.now() : Date.now());
|
|
2199
|
+
}
|
|
2200
|
+
function Te(e, t) {
|
|
2201
|
+
if (e.appContext.config.performance && on()) {
|
|
2202
|
+
const n = `vue-${t}-${e.uid}`, o = n + ":end";
|
|
2203
|
+
Ke.mark(o), Ke.measure(
|
|
2204
|
+
`<${En(e, e.type)}> ${t}`,
|
|
2205
|
+
n,
|
|
2206
|
+
o
|
|
2207
|
+
), Ke.clearMarks(n), Ke.clearMarks(o);
|
|
2208
|
+
}
|
|
2209
|
+
process.env.NODE_ENV !== "production" && Si(e, t, on() ? Ke.now() : Date.now());
|
|
2210
|
+
}
|
|
2211
|
+
function on() {
|
|
2212
|
+
return Nt !== void 0 || (typeof window < "u" && window.performance ? (Nt = !0, Ke = window.performance) : Nt = !1), Nt;
|
|
2213
|
+
}
|
|
2214
|
+
function vl() {
|
|
2215
|
+
const e = [];
|
|
2216
|
+
if (process.env.NODE_ENV !== "production" && e.length) {
|
|
2217
|
+
const t = e.length > 1;
|
|
2218
|
+
console.warn(
|
|
2219
|
+
`Feature flag${t ? "s" : ""} ${e.join(", ")} ${t ? "are" : "is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
|
|
2220
|
+
|
|
2221
|
+
For more details, see https://link.vuejs.org/feature-flags.`
|
|
2222
|
+
);
|
|
2223
|
+
}
|
|
2224
|
+
}
|
|
2225
|
+
const le = Rl;
|
|
2226
|
+
function Nl(e) {
|
|
2227
|
+
return bl(e);
|
|
2228
|
+
}
|
|
2229
|
+
function bl(e, t) {
|
|
2230
|
+
vl();
|
|
2231
|
+
const n = Zn();
|
|
2232
|
+
n.__VUE__ = !0, process.env.NODE_ENV !== "production" && ao(n.__VUE_DEVTOOLS_GLOBAL_HOOK__, n);
|
|
2233
|
+
const {
|
|
2234
|
+
insert: o,
|
|
2235
|
+
remove: s,
|
|
2236
|
+
patchProp: r,
|
|
2237
|
+
createElement: i,
|
|
2238
|
+
createText: c,
|
|
2239
|
+
createComment: f,
|
|
2240
|
+
setText: d,
|
|
2241
|
+
setElementText: h,
|
|
2242
|
+
parentNode: a,
|
|
2243
|
+
nextSibling: v,
|
|
2244
|
+
setScopeId: x = G,
|
|
2245
|
+
insertStaticContent: P
|
|
2246
|
+
} = e, $ = (l, u, p, E = null, _ = null, m = null, O = void 0, N = null, b = process.env.NODE_ENV !== "production" && ot ? !1 : !!u.dynamicChildren) => {
|
|
2247
|
+
if (l === u)
|
|
2248
|
+
return;
|
|
2249
|
+
l && !bt(l, u) && (E = Mt(l), je(l, _, m, !0), l = null), u.patchFlag === -2 && (b = !1, u.dynamicChildren = null);
|
|
2250
|
+
const { type: g, ref: w, shapeFlag: D } = u;
|
|
2251
|
+
switch (g) {
|
|
2252
|
+
case It:
|
|
2253
|
+
ae(l, u, p, E);
|
|
2254
|
+
break;
|
|
2255
|
+
case ve:
|
|
2256
|
+
B(l, u, p, E);
|
|
2257
|
+
break;
|
|
2258
|
+
case Yt:
|
|
2259
|
+
l == null ? k(u, p, E, O) : process.env.NODE_ENV !== "production" && H(l, u, p, O);
|
|
2260
|
+
break;
|
|
2261
|
+
case Oe:
|
|
2262
|
+
At(
|
|
2263
|
+
l,
|
|
2264
|
+
u,
|
|
2265
|
+
p,
|
|
2266
|
+
E,
|
|
2267
|
+
_,
|
|
2268
|
+
m,
|
|
2269
|
+
O,
|
|
2270
|
+
N,
|
|
2271
|
+
b
|
|
2272
|
+
);
|
|
2273
|
+
break;
|
|
2274
|
+
default:
|
|
2275
|
+
D & 1 ? de(
|
|
2276
|
+
l,
|
|
2277
|
+
u,
|
|
2278
|
+
p,
|
|
2279
|
+
E,
|
|
2280
|
+
_,
|
|
2281
|
+
m,
|
|
2282
|
+
O,
|
|
2283
|
+
N,
|
|
2284
|
+
b
|
|
2285
|
+
) : D & 6 ? Oo(
|
|
2286
|
+
l,
|
|
2287
|
+
u,
|
|
2288
|
+
p,
|
|
2289
|
+
E,
|
|
2290
|
+
_,
|
|
2291
|
+
m,
|
|
2292
|
+
O,
|
|
2293
|
+
N,
|
|
2294
|
+
b
|
|
2295
|
+
) : D & 64 || D & 128 ? g.process(
|
|
2296
|
+
l,
|
|
2297
|
+
u,
|
|
2298
|
+
p,
|
|
2299
|
+
E,
|
|
2300
|
+
_,
|
|
2301
|
+
m,
|
|
2302
|
+
O,
|
|
2303
|
+
N,
|
|
2304
|
+
b,
|
|
2305
|
+
Et
|
|
2306
|
+
) : process.env.NODE_ENV !== "production" && y("Invalid VNode type:", g, `(${typeof g})`);
|
|
2307
|
+
}
|
|
2308
|
+
w != null && _ && Bn(w, l && l.ref, m, u || l, !u);
|
|
2309
|
+
}, ae = (l, u, p, E) => {
|
|
2310
|
+
if (l == null)
|
|
2311
|
+
o(
|
|
2312
|
+
u.el = c(u.children),
|
|
2313
|
+
p,
|
|
2314
|
+
E
|
|
2315
|
+
);
|
|
2316
|
+
else {
|
|
2317
|
+
const _ = u.el = l.el;
|
|
2318
|
+
u.children !== l.children && d(_, u.children);
|
|
2319
|
+
}
|
|
2320
|
+
}, B = (l, u, p, E) => {
|
|
2321
|
+
l == null ? o(
|
|
2322
|
+
u.el = f(u.children || ""),
|
|
2323
|
+
p,
|
|
2324
|
+
E
|
|
2325
|
+
) : u.el = l.el;
|
|
2326
|
+
}, k = (l, u, p, E) => {
|
|
2327
|
+
[l.el, l.anchor] = P(
|
|
2328
|
+
l.children,
|
|
2329
|
+
u,
|
|
2330
|
+
p,
|
|
2331
|
+
E,
|
|
2332
|
+
l.el,
|
|
2333
|
+
l.anchor
|
|
2334
|
+
);
|
|
2335
|
+
}, H = (l, u, p, E) => {
|
|
2336
|
+
if (u.children !== l.children) {
|
|
2337
|
+
const _ = v(l.anchor);
|
|
2338
|
+
J(l), [u.el, u.anchor] = P(
|
|
2339
|
+
u.children,
|
|
2340
|
+
p,
|
|
2341
|
+
_,
|
|
2342
|
+
E
|
|
2343
|
+
);
|
|
2344
|
+
} else
|
|
2345
|
+
u.el = l.el, u.anchor = l.anchor;
|
|
2346
|
+
}, q = ({ el: l, anchor: u }, p, E) => {
|
|
2347
|
+
let _;
|
|
2348
|
+
for (; l && l !== u; )
|
|
2349
|
+
_ = v(l), o(l, p, E), l = _;
|
|
2350
|
+
o(u, p, E);
|
|
2351
|
+
}, J = ({ el: l, anchor: u }) => {
|
|
2352
|
+
let p;
|
|
2353
|
+
for (; l && l !== u; )
|
|
2354
|
+
p = v(l), s(l), l = p;
|
|
2355
|
+
s(u);
|
|
2356
|
+
}, de = (l, u, p, E, _, m, O, N, b) => {
|
|
2357
|
+
u.type === "svg" ? O = "svg" : u.type === "math" && (O = "mathml"), l == null ? I(
|
|
2358
|
+
u,
|
|
2359
|
+
p,
|
|
2360
|
+
E,
|
|
2361
|
+
_,
|
|
2362
|
+
m,
|
|
2363
|
+
O,
|
|
2364
|
+
N,
|
|
2365
|
+
b
|
|
2366
|
+
) : Ce(
|
|
2367
|
+
l,
|
|
2368
|
+
u,
|
|
2369
|
+
_,
|
|
2370
|
+
m,
|
|
2371
|
+
O,
|
|
2372
|
+
N,
|
|
2373
|
+
b
|
|
2374
|
+
);
|
|
2375
|
+
}, I = (l, u, p, E, _, m, O, N) => {
|
|
2376
|
+
let b, g;
|
|
2377
|
+
const { props: w, shapeFlag: D, transition: V, dirs: T } = l;
|
|
2378
|
+
if (b = l.el = i(
|
|
2379
|
+
l.type,
|
|
2380
|
+
m,
|
|
2381
|
+
w && w.is,
|
|
2382
|
+
w
|
|
2383
|
+
), D & 8 ? h(b, l.children) : D & 16 && oe(
|
|
2384
|
+
l.children,
|
|
2385
|
+
b,
|
|
2386
|
+
null,
|
|
2387
|
+
E,
|
|
2388
|
+
_,
|
|
2389
|
+
Dn(l, m),
|
|
2390
|
+
O,
|
|
2391
|
+
N
|
|
2392
|
+
), T && Ye(l, null, E, "created"), ne(b, l, l.scopeId, O, E), w) {
|
|
2393
|
+
for (const U in w)
|
|
2394
|
+
U !== "value" && !wt(U) && r(b, U, null, w[U], m, E);
|
|
2395
|
+
"value" in w && r(b, "value", null, w.value, m), (g = w.onVnodeBeforeMount) && ye(g, E, l);
|
|
2396
|
+
}
|
|
2397
|
+
process.env.NODE_ENV !== "production" && (Qt(b, "__vnode", l, !0), Qt(b, "__vueParentComponent", E, !0)), T && Ye(l, null, E, "beforeMount");
|
|
2398
|
+
const A = yl(_, V);
|
|
2399
|
+
A && V.beforeEnter(b), o(b, u, p), ((g = w && w.onVnodeMounted) || A || T) && le(() => {
|
|
2400
|
+
g && ye(g, E, l), A && V.enter(b), T && Ye(l, null, E, "mounted");
|
|
2401
|
+
}, _);
|
|
2402
|
+
}, ne = (l, u, p, E, _) => {
|
|
2403
|
+
if (p && x(l, p), E)
|
|
2404
|
+
for (let m = 0; m < E.length; m++)
|
|
2405
|
+
x(l, E[m]);
|
|
2406
|
+
if (_) {
|
|
2407
|
+
let m = _.subTree;
|
|
2408
|
+
if (process.env.NODE_ENV !== "production" && m.patchFlag > 0 && m.patchFlag & 2048 && (m = mo(m.children) || m), u === m) {
|
|
2409
|
+
const O = _.vnode;
|
|
2410
|
+
ne(
|
|
2411
|
+
l,
|
|
2412
|
+
O,
|
|
2413
|
+
O.scopeId,
|
|
2414
|
+
O.slotScopeIds,
|
|
2415
|
+
_.parent
|
|
2416
|
+
);
|
|
2417
|
+
}
|
|
2418
|
+
}
|
|
2419
|
+
}, oe = (l, u, p, E, _, m, O, N, b = 0) => {
|
|
2420
|
+
for (let g = b; g < l.length; g++) {
|
|
2421
|
+
const w = l[g] = N ? Ue(l[g]) : ge(l[g]);
|
|
2422
|
+
$(
|
|
2423
|
+
null,
|
|
2424
|
+
w,
|
|
2425
|
+
u,
|
|
2426
|
+
p,
|
|
2427
|
+
E,
|
|
2428
|
+
_,
|
|
2429
|
+
m,
|
|
2430
|
+
O,
|
|
2431
|
+
N
|
|
2432
|
+
);
|
|
2433
|
+
}
|
|
2434
|
+
}, Ce = (l, u, p, E, _, m, O) => {
|
|
2435
|
+
const N = u.el = l.el;
|
|
2436
|
+
process.env.NODE_ENV !== "production" && (N.__vnode = u);
|
|
2437
|
+
let { patchFlag: b, dynamicChildren: g, dirs: w } = u;
|
|
2438
|
+
b |= l.patchFlag & 16;
|
|
2439
|
+
const D = l.props || K, V = u.props || K;
|
|
2440
|
+
let T;
|
|
2441
|
+
if (p && ze(p, !1), (T = V.onVnodeBeforeUpdate) && ye(T, p, u, l), w && Ye(u, l, p, "beforeUpdate"), p && ze(p, !0), process.env.NODE_ENV !== "production" && ot && (b = 0, O = !1, g = null), (D.innerHTML && V.innerHTML == null || D.textContent && V.textContent == null) && h(N, ""), g ? (Me(
|
|
2442
|
+
l.dynamicChildren,
|
|
2443
|
+
g,
|
|
2444
|
+
N,
|
|
2445
|
+
p,
|
|
2446
|
+
E,
|
|
2447
|
+
Dn(u, _),
|
|
2448
|
+
m
|
|
2449
|
+
), process.env.NODE_ENV !== "production" && Gt(l, u)) : O || Ne(
|
|
2450
|
+
l,
|
|
2451
|
+
u,
|
|
2452
|
+
N,
|
|
2453
|
+
null,
|
|
2454
|
+
p,
|
|
2455
|
+
E,
|
|
2456
|
+
Dn(u, _),
|
|
2457
|
+
m,
|
|
2458
|
+
!1
|
|
2459
|
+
), b > 0) {
|
|
2460
|
+
if (b & 16)
|
|
2461
|
+
pe(N, D, V, p, _);
|
|
2462
|
+
else if (b & 2 && D.class !== V.class && r(N, "class", null, V.class, _), b & 4 && r(N, "style", D.style, V.style, _), b & 8) {
|
|
2463
|
+
const A = u.dynamicProps;
|
|
2464
|
+
for (let U = 0; U < A.length; U++) {
|
|
2465
|
+
const L = A[U], X = D[L], he = V[L];
|
|
2466
|
+
(he !== X || L === "value") && r(N, L, X, he, _, p);
|
|
2467
|
+
}
|
|
2468
|
+
}
|
|
2469
|
+
b & 1 && l.children !== u.children && h(N, u.children);
|
|
2470
|
+
} else !O && g == null && pe(N, D, V, p, _);
|
|
2471
|
+
((T = V.onVnodeUpdated) || w) && le(() => {
|
|
2472
|
+
T && ye(T, p, u, l), w && Ye(u, l, p, "updated");
|
|
2473
|
+
}, E);
|
|
2474
|
+
}, Me = (l, u, p, E, _, m, O) => {
|
|
2475
|
+
for (let N = 0; N < u.length; N++) {
|
|
2476
|
+
const b = l[N], g = u[N], w = (
|
|
2477
|
+
// oldVNode may be an errored async setup() component inside Suspense
|
|
2478
|
+
// which will not have a mounted element
|
|
2479
|
+
b.el && // - In the case of a Fragment, we need to provide the actual parent
|
|
2480
|
+
// of the Fragment itself so it can move its children.
|
|
2481
|
+
(b.type === Oe || // - In the case of different nodes, there is going to be a replacement
|
|
2482
|
+
// which also requires the correct parent container
|
|
2483
|
+
!bt(b, g) || // - In the case of a component, it could contain anything.
|
|
2484
|
+
b.shapeFlag & 70) ? a(b.el) : (
|
|
2485
|
+
// In other cases, the parent container is not actually used so we
|
|
2486
|
+
// just pass the block element here to avoid a DOM parentNode call.
|
|
2487
|
+
p
|
|
2488
|
+
)
|
|
2489
|
+
);
|
|
2490
|
+
$(
|
|
2491
|
+
b,
|
|
2492
|
+
g,
|
|
2493
|
+
w,
|
|
2494
|
+
null,
|
|
2495
|
+
E,
|
|
2496
|
+
_,
|
|
2497
|
+
m,
|
|
2498
|
+
O,
|
|
2499
|
+
!0
|
|
2500
|
+
);
|
|
2501
|
+
}
|
|
2502
|
+
}, pe = (l, u, p, E, _) => {
|
|
2503
|
+
if (u !== p) {
|
|
2504
|
+
if (u !== K)
|
|
2505
|
+
for (const m in u)
|
|
2506
|
+
!wt(m) && !(m in p) && r(
|
|
2507
|
+
l,
|
|
2508
|
+
m,
|
|
2509
|
+
u[m],
|
|
2510
|
+
null,
|
|
2511
|
+
_,
|
|
2512
|
+
E
|
|
2513
|
+
);
|
|
2514
|
+
for (const m in p) {
|
|
2515
|
+
if (wt(m)) continue;
|
|
2516
|
+
const O = p[m], N = u[m];
|
|
2517
|
+
O !== N && m !== "value" && r(l, m, N, O, _, E);
|
|
2518
|
+
}
|
|
2519
|
+
"value" in p && r(l, "value", u.value, p.value, _);
|
|
2520
|
+
}
|
|
2521
|
+
}, At = (l, u, p, E, _, m, O, N, b) => {
|
|
2522
|
+
const g = u.el = l ? l.el : c(""), w = u.anchor = l ? l.anchor : c("");
|
|
2523
|
+
let { patchFlag: D, dynamicChildren: V, slotScopeIds: T } = u;
|
|
2524
|
+
process.env.NODE_ENV !== "production" && // #5523 dev root fragment may inherit directives
|
|
2525
|
+
(ot || D & 2048) && (D = 0, b = !1, V = null), T && (N = N ? N.concat(T) : T), l == null ? (o(g, p, E), o(w, p, E), oe(
|
|
2526
|
+
// #10007
|
|
2527
|
+
// such fragment like `<></>` will be compiled into
|
|
2528
|
+
// a fragment which doesn't have a children.
|
|
2529
|
+
// In this case fallback to an empty array
|
|
2530
|
+
u.children || [],
|
|
2531
|
+
p,
|
|
2532
|
+
w,
|
|
2533
|
+
_,
|
|
2534
|
+
m,
|
|
2535
|
+
O,
|
|
2536
|
+
N,
|
|
2537
|
+
b
|
|
2538
|
+
)) : D > 0 && D & 64 && V && // #2715 the previous fragment could've been a BAILed one as a result
|
|
2539
|
+
// of renderSlot() with no valid children
|
|
2540
|
+
l.dynamicChildren ? (Me(
|
|
2541
|
+
l.dynamicChildren,
|
|
2542
|
+
V,
|
|
2543
|
+
p,
|
|
2544
|
+
_,
|
|
2545
|
+
m,
|
|
2546
|
+
O,
|
|
2547
|
+
N
|
|
2548
|
+
), process.env.NODE_ENV !== "production" ? Gt(l, u) : (
|
|
2549
|
+
// #2080 if the stable fragment has a key, it's a <template v-for> that may
|
|
2550
|
+
// get moved around. Make sure all root level vnodes inherit el.
|
|
2551
|
+
// #2134 or if it's a component root, it may also get moved around
|
|
2552
|
+
// as the component is being moved.
|
|
2553
|
+
(u.key != null || _ && u === _.subTree) && Gt(
|
|
2554
|
+
l,
|
|
2555
|
+
u,
|
|
2556
|
+
!0
|
|
2557
|
+
/* shallow */
|
|
2558
|
+
)
|
|
2559
|
+
)) : Ne(
|
|
2560
|
+
l,
|
|
2561
|
+
u,
|
|
2562
|
+
p,
|
|
2563
|
+
w,
|
|
2564
|
+
_,
|
|
2565
|
+
m,
|
|
2566
|
+
O,
|
|
2567
|
+
N,
|
|
2568
|
+
b
|
|
2569
|
+
);
|
|
2570
|
+
}, Oo = (l, u, p, E, _, m, O, N, b) => {
|
|
2571
|
+
u.slotScopeIds = N, l == null ? u.shapeFlag & 512 ? _.ctx.activate(
|
|
2572
|
+
u,
|
|
2573
|
+
p,
|
|
2574
|
+
E,
|
|
2575
|
+
O,
|
|
2576
|
+
b
|
|
2577
|
+
) : Fe(
|
|
2578
|
+
u,
|
|
2579
|
+
p,
|
|
2580
|
+
E,
|
|
2581
|
+
_,
|
|
2582
|
+
m,
|
|
2583
|
+
O,
|
|
2584
|
+
b
|
|
2585
|
+
) : ie(l, u, b);
|
|
2586
|
+
}, Fe = (l, u, p, E, _, m, O) => {
|
|
2587
|
+
const N = l.component = kl(
|
|
2588
|
+
l,
|
|
2589
|
+
E,
|
|
2590
|
+
_
|
|
2591
|
+
);
|
|
2592
|
+
if (process.env.NODE_ENV !== "production" && N.type.__hmrId && vi(N), process.env.NODE_ENV !== "production" && (Bt(l), Se(N, "mount")), ho(l) && (N.ctx.renderer = Et), process.env.NODE_ENV !== "production" && Se(N, "init"), Gl(N, !1, O), process.env.NODE_ENV !== "production" && Te(N, "init"), N.asyncDep) {
|
|
2593
|
+
if (_ && _.registerDep(N, j, O), !l.el) {
|
|
2594
|
+
const b = N.subTree = ke(ve);
|
|
2595
|
+
B(null, b, u, p);
|
|
2596
|
+
}
|
|
2597
|
+
} else
|
|
2598
|
+
j(
|
|
2599
|
+
N,
|
|
2600
|
+
l,
|
|
2601
|
+
u,
|
|
2602
|
+
p,
|
|
2603
|
+
_,
|
|
2604
|
+
m,
|
|
2605
|
+
O
|
|
2606
|
+
);
|
|
2607
|
+
process.env.NODE_ENV !== "production" && (Wt(), Te(N, "mount"));
|
|
2608
|
+
}, ie = (l, u, p) => {
|
|
2609
|
+
const E = u.component = l.component;
|
|
2610
|
+
if (Pl(l, u, p))
|
|
2611
|
+
if (E.asyncDep && !E.asyncResolved) {
|
|
2612
|
+
process.env.NODE_ENV !== "production" && Bt(u), F(E, u, p), process.env.NODE_ENV !== "production" && Wt();
|
|
2613
|
+
return;
|
|
2614
|
+
} else
|
|
2615
|
+
E.next = u, Ei(E.update), E.effect.dirty = !0, E.update();
|
|
2616
|
+
else
|
|
2617
|
+
u.el = l.el, E.vnode = u;
|
|
2618
|
+
}, j = (l, u, p, E, _, m, O) => {
|
|
2619
|
+
const N = () => {
|
|
2620
|
+
if (l.isMounted) {
|
|
2621
|
+
let { next: w, bu: D, u: V, parent: T, vnode: A } = l;
|
|
2622
|
+
{
|
|
2623
|
+
const ct = rr(l);
|
|
2624
|
+
if (ct) {
|
|
2625
|
+
w && (w.el = A.el, F(l, w, O)), ct.asyncDep.then(() => {
|
|
2626
|
+
l.isUnmounted || N();
|
|
2627
|
+
});
|
|
2628
|
+
return;
|
|
2629
|
+
}
|
|
2630
|
+
}
|
|
2631
|
+
let U = w, L;
|
|
2632
|
+
process.env.NODE_ENV !== "production" && Bt(w || l.vnode), ze(l, !1), w ? (w.el = A.el, F(l, w, O)) : w = A, D && vt(D), (L = w.props && w.props.onVnodeBeforeUpdate) && ye(L, T, w, A), ze(l, !0), process.env.NODE_ENV !== "production" && Se(l, "render");
|
|
2633
|
+
const X = Cn(l);
|
|
2634
|
+
process.env.NODE_ENV !== "production" && Te(l, "render");
|
|
2635
|
+
const he = l.subTree;
|
|
2636
|
+
l.subTree = X, process.env.NODE_ENV !== "production" && Se(l, "patch"), $(
|
|
2637
|
+
he,
|
|
2638
|
+
X,
|
|
2639
|
+
// parent may have changed if it's in a teleport
|
|
2640
|
+
a(he.el),
|
|
2641
|
+
// anchor may have changed if it's in a fragment
|
|
2642
|
+
Mt(he),
|
|
2643
|
+
l,
|
|
2644
|
+
_,
|
|
2645
|
+
m
|
|
2646
|
+
), process.env.NODE_ENV !== "production" && Te(l, "patch"), w.el = X.el, U === null && $l(l, X.el), V && le(V, _), (L = w.props && w.props.onVnodeUpdated) && le(
|
|
2647
|
+
() => ye(L, T, w, A),
|
|
2648
|
+
_
|
|
2649
|
+
), process.env.NODE_ENV !== "production" && Hs(l), process.env.NODE_ENV !== "production" && Wt();
|
|
2650
|
+
} else {
|
|
2651
|
+
let w;
|
|
2652
|
+
const { el: D, props: V } = u, { bm: T, m: A, parent: U } = l, L = qt(u);
|
|
2653
|
+
if (ze(l, !1), T && vt(T), !L && (w = V && V.onVnodeBeforeMount) && ye(w, U, u), ze(l, !0), D && Do) {
|
|
2654
|
+
const X = () => {
|
|
2655
|
+
process.env.NODE_ENV !== "production" && Se(l, "render"), l.subTree = Cn(l), process.env.NODE_ENV !== "production" && Te(l, "render"), process.env.NODE_ENV !== "production" && Se(l, "hydrate"), Do(
|
|
2656
|
+
D,
|
|
2657
|
+
l.subTree,
|
|
2658
|
+
l,
|
|
2659
|
+
_,
|
|
2660
|
+
null
|
|
2661
|
+
), process.env.NODE_ENV !== "production" && Te(l, "hydrate");
|
|
2662
|
+
};
|
|
2663
|
+
L ? u.type.__asyncLoader().then(
|
|
2664
|
+
// note: we are moving the render call into an async callback,
|
|
2665
|
+
// which means it won't track dependencies - but it's ok because
|
|
2666
|
+
// a server-rendered async wrapper is already in resolved state
|
|
2667
|
+
// and it will never need to change.
|
|
2668
|
+
() => !l.isUnmounted && X()
|
|
2669
|
+
) : X();
|
|
2670
|
+
} else {
|
|
2671
|
+
process.env.NODE_ENV !== "production" && Se(l, "render");
|
|
2672
|
+
const X = l.subTree = Cn(l);
|
|
2673
|
+
process.env.NODE_ENV !== "production" && Te(l, "render"), process.env.NODE_ENV !== "production" && Se(l, "patch"), $(
|
|
2674
|
+
null,
|
|
2675
|
+
X,
|
|
2676
|
+
p,
|
|
2677
|
+
E,
|
|
2678
|
+
l,
|
|
2679
|
+
_,
|
|
2680
|
+
m
|
|
2681
|
+
), process.env.NODE_ENV !== "production" && Te(l, "patch"), u.el = X.el;
|
|
2682
|
+
}
|
|
2683
|
+
if (A && le(A, _), !L && (w = V && V.onVnodeMounted)) {
|
|
2684
|
+
const X = u;
|
|
2685
|
+
le(
|
|
2686
|
+
() => ye(w, U, X),
|
|
2687
|
+
_
|
|
2688
|
+
);
|
|
2689
|
+
}
|
|
2690
|
+
(u.shapeFlag & 256 || U && qt(U.vnode) && U.vnode.shapeFlag & 256) && l.a && le(l.a, _), l.isMounted = !0, process.env.NODE_ENV !== "production" && Vi(l), u = p = E = null;
|
|
2691
|
+
}
|
|
2692
|
+
}, b = l.effect = new to(
|
|
2693
|
+
N,
|
|
2694
|
+
G,
|
|
2695
|
+
() => pn(g),
|
|
2696
|
+
l.scope
|
|
2697
|
+
// track it in component's effect scope
|
|
2698
|
+
), g = l.update = () => {
|
|
2699
|
+
b.dirty && b.run();
|
|
2700
|
+
};
|
|
2701
|
+
g.i = l, g.id = l.uid, ze(l, !0), process.env.NODE_ENV !== "production" && (b.onTrack = l.rtc ? (w) => vt(l.rtc, w) : void 0, b.onTrigger = l.rtg ? (w) => vt(l.rtg, w) : void 0), g();
|
|
2702
|
+
}, F = (l, u, p) => {
|
|
2703
|
+
u.component = l;
|
|
2704
|
+
const E = l.vnode.props;
|
|
2705
|
+
l.vnode = u, l.next = null, il(l, u.props, E, p), gl(l, u.children, p), Ie(), Lo(l), Re();
|
|
2706
|
+
}, Ne = (l, u, p, E, _, m, O, N, b = !1) => {
|
|
2707
|
+
const g = l && l.children, w = l ? l.shapeFlag : 0, D = u.children, { patchFlag: V, shapeFlag: T } = u;
|
|
2708
|
+
if (V > 0) {
|
|
2709
|
+
if (V & 128) {
|
|
2710
|
+
_t(
|
|
2711
|
+
g,
|
|
2712
|
+
D,
|
|
2713
|
+
p,
|
|
2714
|
+
E,
|
|
2715
|
+
_,
|
|
2716
|
+
m,
|
|
2717
|
+
O,
|
|
2718
|
+
N,
|
|
2719
|
+
b
|
|
2720
|
+
);
|
|
2721
|
+
return;
|
|
2722
|
+
} else if (V & 256) {
|
|
2723
|
+
vn(
|
|
2724
|
+
g,
|
|
2725
|
+
D,
|
|
2726
|
+
p,
|
|
2727
|
+
E,
|
|
2728
|
+
_,
|
|
2729
|
+
m,
|
|
2730
|
+
O,
|
|
2731
|
+
N,
|
|
2732
|
+
b
|
|
2733
|
+
);
|
|
2734
|
+
return;
|
|
2735
|
+
}
|
|
2736
|
+
}
|
|
2737
|
+
T & 8 ? (w & 16 && gt(g, _, m), D !== g && h(p, D)) : w & 16 ? T & 16 ? _t(
|
|
2738
|
+
g,
|
|
2739
|
+
D,
|
|
2740
|
+
p,
|
|
2741
|
+
E,
|
|
2742
|
+
_,
|
|
2743
|
+
m,
|
|
2744
|
+
O,
|
|
2745
|
+
N,
|
|
2746
|
+
b
|
|
2747
|
+
) : gt(g, _, m, !0) : (w & 8 && h(p, ""), T & 16 && oe(
|
|
2748
|
+
D,
|
|
2749
|
+
p,
|
|
2750
|
+
E,
|
|
2751
|
+
_,
|
|
2752
|
+
m,
|
|
2753
|
+
O,
|
|
2754
|
+
N,
|
|
2755
|
+
b
|
|
2756
|
+
));
|
|
2757
|
+
}, vn = (l, u, p, E, _, m, O, N, b) => {
|
|
2758
|
+
l = l || ut, u = u || ut;
|
|
2759
|
+
const g = l.length, w = u.length, D = Math.min(g, w);
|
|
2760
|
+
let V;
|
|
2761
|
+
for (V = 0; V < D; V++) {
|
|
2762
|
+
const T = u[V] = b ? Ue(u[V]) : ge(u[V]);
|
|
2763
|
+
$(
|
|
2764
|
+
l[V],
|
|
2765
|
+
T,
|
|
2766
|
+
p,
|
|
2767
|
+
null,
|
|
2768
|
+
_,
|
|
2769
|
+
m,
|
|
2770
|
+
O,
|
|
2771
|
+
N,
|
|
2772
|
+
b
|
|
2773
|
+
);
|
|
2774
|
+
}
|
|
2775
|
+
g > w ? gt(
|
|
2776
|
+
l,
|
|
2777
|
+
_,
|
|
2778
|
+
m,
|
|
2779
|
+
!0,
|
|
2780
|
+
!1,
|
|
2781
|
+
D
|
|
2782
|
+
) : oe(
|
|
2783
|
+
u,
|
|
2784
|
+
p,
|
|
2785
|
+
E,
|
|
2786
|
+
_,
|
|
2787
|
+
m,
|
|
2788
|
+
O,
|
|
2789
|
+
N,
|
|
2790
|
+
b,
|
|
2791
|
+
D
|
|
2792
|
+
);
|
|
2793
|
+
}, _t = (l, u, p, E, _, m, O, N, b) => {
|
|
2794
|
+
let g = 0;
|
|
2795
|
+
const w = u.length;
|
|
2796
|
+
let D = l.length - 1, V = w - 1;
|
|
2797
|
+
for (; g <= D && g <= V; ) {
|
|
2798
|
+
const T = l[g], A = u[g] = b ? Ue(u[g]) : ge(u[g]);
|
|
2799
|
+
if (bt(T, A))
|
|
2800
|
+
$(
|
|
2801
|
+
T,
|
|
2802
|
+
A,
|
|
2803
|
+
p,
|
|
2804
|
+
null,
|
|
2805
|
+
_,
|
|
2806
|
+
m,
|
|
2807
|
+
O,
|
|
2808
|
+
N,
|
|
2809
|
+
b
|
|
2810
|
+
);
|
|
2811
|
+
else
|
|
2812
|
+
break;
|
|
2813
|
+
g++;
|
|
2814
|
+
}
|
|
2815
|
+
for (; g <= D && g <= V; ) {
|
|
2816
|
+
const T = l[D], A = u[V] = b ? Ue(u[V]) : ge(u[V]);
|
|
2817
|
+
if (bt(T, A))
|
|
2818
|
+
$(
|
|
2819
|
+
T,
|
|
2820
|
+
A,
|
|
2821
|
+
p,
|
|
2822
|
+
null,
|
|
2823
|
+
_,
|
|
2824
|
+
m,
|
|
2825
|
+
O,
|
|
2826
|
+
N,
|
|
2827
|
+
b
|
|
2828
|
+
);
|
|
2829
|
+
else
|
|
2830
|
+
break;
|
|
2831
|
+
D--, V--;
|
|
2832
|
+
}
|
|
2833
|
+
if (g > D) {
|
|
2834
|
+
if (g <= V) {
|
|
2835
|
+
const T = V + 1, A = T < w ? u[T].el : E;
|
|
2836
|
+
for (; g <= V; )
|
|
2837
|
+
$(
|
|
2838
|
+
null,
|
|
2839
|
+
u[g] = b ? Ue(u[g]) : ge(u[g]),
|
|
2840
|
+
p,
|
|
2841
|
+
A,
|
|
2842
|
+
_,
|
|
2843
|
+
m,
|
|
2844
|
+
O,
|
|
2845
|
+
N,
|
|
2846
|
+
b
|
|
2847
|
+
), g++;
|
|
2848
|
+
}
|
|
2849
|
+
} else if (g > V)
|
|
2850
|
+
for (; g <= D; )
|
|
2851
|
+
je(l[g], _, m, !0), g++;
|
|
2852
|
+
else {
|
|
2853
|
+
const T = g, A = g, U = /* @__PURE__ */ new Map();
|
|
2854
|
+
for (g = A; g <= V; g++) {
|
|
2855
|
+
const se = u[g] = b ? Ue(u[g]) : ge(u[g]);
|
|
2856
|
+
se.key != null && (process.env.NODE_ENV !== "production" && U.has(se.key) && y(
|
|
2857
|
+
"Duplicate keys found during update:",
|
|
2858
|
+
JSON.stringify(se.key),
|
|
2859
|
+
"Make sure keys are unique."
|
|
2860
|
+
), U.set(se.key, g));
|
|
2861
|
+
}
|
|
2862
|
+
let L, X = 0;
|
|
2863
|
+
const he = V - A + 1;
|
|
2864
|
+
let ct = !1, xo = 0;
|
|
2865
|
+
const mt = new Array(he);
|
|
2866
|
+
for (g = 0; g < he; g++) mt[g] = 0;
|
|
2867
|
+
for (g = T; g <= D; g++) {
|
|
2868
|
+
const se = l[g];
|
|
2869
|
+
if (X >= he) {
|
|
2870
|
+
je(se, _, m, !0);
|
|
2871
|
+
continue;
|
|
2872
|
+
}
|
|
2873
|
+
let be;
|
|
2874
|
+
if (se.key != null)
|
|
2875
|
+
be = U.get(se.key);
|
|
2876
|
+
else
|
|
2877
|
+
for (L = A; L <= V; L++)
|
|
2878
|
+
if (mt[L - A] === 0 && bt(se, u[L])) {
|
|
2879
|
+
be = L;
|
|
2880
|
+
break;
|
|
2881
|
+
}
|
|
2882
|
+
be === void 0 ? je(se, _, m, !0) : (mt[be - A] = g + 1, be >= xo ? xo = be : ct = !0, $(
|
|
2883
|
+
se,
|
|
2884
|
+
u[be],
|
|
2885
|
+
p,
|
|
2886
|
+
null,
|
|
2887
|
+
_,
|
|
2888
|
+
m,
|
|
2889
|
+
O,
|
|
2890
|
+
N,
|
|
2891
|
+
b
|
|
2892
|
+
), X++);
|
|
2893
|
+
}
|
|
2894
|
+
const Co = ct ? Ol(mt) : ut;
|
|
2895
|
+
for (L = Co.length - 1, g = he - 1; g >= 0; g--) {
|
|
2896
|
+
const se = A + g, be = u[se], So = se + 1 < w ? u[se + 1].el : E;
|
|
2897
|
+
mt[g] === 0 ? $(
|
|
2898
|
+
null,
|
|
2899
|
+
be,
|
|
2900
|
+
p,
|
|
2901
|
+
So,
|
|
2902
|
+
_,
|
|
2903
|
+
m,
|
|
2904
|
+
O,
|
|
2905
|
+
N,
|
|
2906
|
+
b
|
|
2907
|
+
) : ct && (L < 0 || g !== Co[L] ? lt(be, p, So, 2) : L--);
|
|
2908
|
+
}
|
|
2909
|
+
}
|
|
2910
|
+
}, lt = (l, u, p, E, _ = null) => {
|
|
2911
|
+
const { el: m, type: O, transition: N, children: b, shapeFlag: g } = l;
|
|
2912
|
+
if (g & 6) {
|
|
2913
|
+
lt(l.component.subTree, u, p, E);
|
|
2914
|
+
return;
|
|
2915
|
+
}
|
|
2916
|
+
if (g & 128) {
|
|
2917
|
+
l.suspense.move(u, p, E);
|
|
2918
|
+
return;
|
|
2919
|
+
}
|
|
2920
|
+
if (g & 64) {
|
|
2921
|
+
O.move(l, u, p, Et);
|
|
2922
|
+
return;
|
|
2923
|
+
}
|
|
2924
|
+
if (O === Oe) {
|
|
2925
|
+
o(m, u, p);
|
|
2926
|
+
for (let D = 0; D < b.length; D++)
|
|
2927
|
+
lt(b[D], u, p, E);
|
|
2928
|
+
o(l.anchor, u, p);
|
|
2929
|
+
return;
|
|
2930
|
+
}
|
|
2931
|
+
if (O === Yt) {
|
|
2932
|
+
q(l, u, p);
|
|
2933
|
+
return;
|
|
2934
|
+
}
|
|
2935
|
+
if (E !== 2 && g & 1 && N)
|
|
2936
|
+
if (E === 0)
|
|
2937
|
+
N.beforeEnter(m), o(m, u, p), le(() => N.enter(m), _);
|
|
2938
|
+
else {
|
|
2939
|
+
const { leave: D, delayLeave: V, afterLeave: T } = N, A = () => o(m, u, p), U = () => {
|
|
2940
|
+
D(m, () => {
|
|
2941
|
+
A(), T && T();
|
|
2942
|
+
});
|
|
2943
|
+
};
|
|
2944
|
+
V ? V(m, A, U) : U();
|
|
2945
|
+
}
|
|
2946
|
+
else
|
|
2947
|
+
o(m, u, p);
|
|
2948
|
+
}, je = (l, u, p, E = !1, _ = !1) => {
|
|
2949
|
+
const {
|
|
2950
|
+
type: m,
|
|
2951
|
+
props: O,
|
|
2952
|
+
ref: N,
|
|
2953
|
+
children: b,
|
|
2954
|
+
dynamicChildren: g,
|
|
2955
|
+
shapeFlag: w,
|
|
2956
|
+
patchFlag: D,
|
|
2957
|
+
dirs: V,
|
|
2958
|
+
cacheIndex: T
|
|
2959
|
+
} = l;
|
|
2960
|
+
if (D === -2 && (_ = !1), N != null && Bn(N, null, p, l, !0), T != null && (u.renderCache[T] = void 0), w & 256) {
|
|
2961
|
+
u.ctx.deactivate(l);
|
|
2962
|
+
return;
|
|
2963
|
+
}
|
|
2964
|
+
const A = w & 1 && V, U = !qt(l);
|
|
2965
|
+
let L;
|
|
2966
|
+
if (U && (L = O && O.onVnodeBeforeUnmount) && ye(L, u, l), w & 6)
|
|
2967
|
+
vr(l.component, p, E);
|
|
2968
|
+
else {
|
|
2969
|
+
if (w & 128) {
|
|
2970
|
+
l.suspense.unmount(p, E);
|
|
2971
|
+
return;
|
|
2972
|
+
}
|
|
2973
|
+
A && Ye(l, null, u, "beforeUnmount"), w & 64 ? l.type.remove(
|
|
2974
|
+
l,
|
|
2975
|
+
u,
|
|
2976
|
+
p,
|
|
2977
|
+
Et,
|
|
2978
|
+
E
|
|
2979
|
+
) : g && // #5154
|
|
2980
|
+
// when v-once is used inside a block, setBlockTracking(-1) marks the
|
|
2981
|
+
// parent block with hasOnce: true
|
|
2982
|
+
// so that it doesn't take the fast path during unmount - otherwise
|
|
2983
|
+
// components nested in v-once are never unmounted.
|
|
2984
|
+
!g.hasOnce && // #1153: fast path should not be taken for non-stable (v-for) fragments
|
|
2985
|
+
(m !== Oe || D > 0 && D & 64) ? gt(
|
|
2986
|
+
g,
|
|
2987
|
+
u,
|
|
2988
|
+
p,
|
|
2989
|
+
!1,
|
|
2990
|
+
!0
|
|
2991
|
+
) : (m === Oe && D & 384 || !_ && w & 16) && gt(b, u, p), E && Nn(l);
|
|
2992
|
+
}
|
|
2993
|
+
(U && (L = O && O.onVnodeUnmounted) || A) && le(() => {
|
|
2994
|
+
L && ye(L, u, l), A && Ye(l, null, u, "unmounted");
|
|
2995
|
+
}, p);
|
|
2996
|
+
}, Nn = (l) => {
|
|
2997
|
+
const { type: u, el: p, anchor: E, transition: _ } = l;
|
|
2998
|
+
if (u === Oe) {
|
|
2999
|
+
process.env.NODE_ENV !== "production" && l.patchFlag > 0 && l.patchFlag & 2048 && _ && !_.persisted ? l.children.forEach((O) => {
|
|
3000
|
+
O.type === ve ? s(O.el) : Nn(O);
|
|
3001
|
+
}) : mr(p, E);
|
|
3002
|
+
return;
|
|
3003
|
+
}
|
|
3004
|
+
if (u === Yt) {
|
|
3005
|
+
J(l);
|
|
3006
|
+
return;
|
|
3007
|
+
}
|
|
3008
|
+
const m = () => {
|
|
3009
|
+
s(p), _ && !_.persisted && _.afterLeave && _.afterLeave();
|
|
3010
|
+
};
|
|
3011
|
+
if (l.shapeFlag & 1 && _ && !_.persisted) {
|
|
3012
|
+
const { leave: O, delayLeave: N } = _, b = () => O(p, m);
|
|
3013
|
+
N ? N(l.el, m, b) : b();
|
|
3014
|
+
} else
|
|
3015
|
+
m();
|
|
3016
|
+
}, mr = (l, u) => {
|
|
3017
|
+
let p;
|
|
3018
|
+
for (; l !== u; )
|
|
3019
|
+
p = v(l), s(l), l = p;
|
|
3020
|
+
s(u);
|
|
3021
|
+
}, vr = (l, u, p) => {
|
|
3022
|
+
process.env.NODE_ENV !== "production" && l.type.__hmrId && Ni(l);
|
|
3023
|
+
const { bum: E, scope: _, update: m, subTree: O, um: N, m: b, a: g } = l;
|
|
3024
|
+
Go(b), Go(g), E && vt(E), _.stop(), m && (m.active = !1, je(O, l, u, p)), N && le(N, u), le(() => {
|
|
3025
|
+
l.isUnmounted = !0;
|
|
3026
|
+
}, u), u && u.pendingBranch && !u.isUnmounted && l.asyncDep && !l.asyncResolved && l.suspenseId === u.pendingId && (u.deps--, u.deps === 0 && u.resolve()), process.env.NODE_ENV !== "production" && xi(l);
|
|
3027
|
+
}, gt = (l, u, p, E = !1, _ = !1, m = 0) => {
|
|
3028
|
+
for (let O = m; O < l.length; O++)
|
|
3029
|
+
je(l[O], u, p, E, _);
|
|
3030
|
+
}, Mt = (l) => {
|
|
3031
|
+
if (l.shapeFlag & 6)
|
|
3032
|
+
return Mt(l.component.subTree);
|
|
3033
|
+
if (l.shapeFlag & 128)
|
|
3034
|
+
return l.suspense.next();
|
|
3035
|
+
const u = v(l.anchor || l.el), p = u && u[El];
|
|
3036
|
+
return p ? v(p) : u;
|
|
3037
|
+
};
|
|
3038
|
+
let bn = !1;
|
|
3039
|
+
const wo = (l, u, p) => {
|
|
3040
|
+
l == null ? u._vnode && je(u._vnode, null, null, !0) : $(
|
|
3041
|
+
u._vnode || null,
|
|
3042
|
+
l,
|
|
3043
|
+
u,
|
|
3044
|
+
null,
|
|
3045
|
+
null,
|
|
3046
|
+
null,
|
|
3047
|
+
p
|
|
3048
|
+
), bn || (bn = !0, Lo(), Fs(), bn = !1), u._vnode = l;
|
|
3049
|
+
}, Et = {
|
|
3050
|
+
p: $,
|
|
3051
|
+
um: je,
|
|
3052
|
+
m: lt,
|
|
3053
|
+
r: Nn,
|
|
3054
|
+
mt: Fe,
|
|
3055
|
+
mc: oe,
|
|
3056
|
+
pc: Ne,
|
|
3057
|
+
pbc: Me,
|
|
3058
|
+
n: Mt,
|
|
3059
|
+
o: e
|
|
3060
|
+
};
|
|
3061
|
+
let Vo, Do;
|
|
3062
|
+
return {
|
|
3063
|
+
render: wo,
|
|
3064
|
+
hydrate: Vo,
|
|
3065
|
+
createApp: nl(wo, Vo)
|
|
3066
|
+
};
|
|
3067
|
+
}
|
|
3068
|
+
function Dn({ type: e, props: t }, n) {
|
|
3069
|
+
return n === "svg" && e === "foreignObject" || n === "mathml" && e === "annotation-xml" && t && t.encoding && t.encoding.includes("html") ? void 0 : n;
|
|
3070
|
+
}
|
|
3071
|
+
function ze({ effect: e, update: t }, n) {
|
|
3072
|
+
e.allowRecurse = t.allowRecurse = n;
|
|
3073
|
+
}
|
|
3074
|
+
function yl(e, t) {
|
|
3075
|
+
return (!e || e && !e.pendingBranch) && t && !t.persisted;
|
|
3076
|
+
}
|
|
3077
|
+
function Gt(e, t, n = !1) {
|
|
3078
|
+
const o = e.children, s = t.children;
|
|
3079
|
+
if (C(o) && C(s))
|
|
3080
|
+
for (let r = 0; r < o.length; r++) {
|
|
3081
|
+
const i = o[r];
|
|
3082
|
+
let c = s[r];
|
|
3083
|
+
c.shapeFlag & 1 && !c.dynamicChildren && ((c.patchFlag <= 0 || c.patchFlag === 32) && (c = s[r] = Ue(s[r]), c.el = i.el), !n && c.patchFlag !== -2 && Gt(i, c)), c.type === It && (c.el = i.el), process.env.NODE_ENV !== "production" && c.type === ve && !c.el && (c.el = i.el);
|
|
3084
|
+
}
|
|
3085
|
+
}
|
|
3086
|
+
function Ol(e) {
|
|
3087
|
+
const t = e.slice(), n = [0];
|
|
3088
|
+
let o, s, r, i, c;
|
|
3089
|
+
const f = e.length;
|
|
3090
|
+
for (o = 0; o < f; o++) {
|
|
3091
|
+
const d = e[o];
|
|
3092
|
+
if (d !== 0) {
|
|
3093
|
+
if (s = n[n.length - 1], e[s] < d) {
|
|
3094
|
+
t[o] = s, n.push(o);
|
|
3095
|
+
continue;
|
|
3096
|
+
}
|
|
3097
|
+
for (r = 0, i = n.length - 1; r < i; )
|
|
3098
|
+
c = r + i >> 1, e[n[c]] < d ? r = c + 1 : i = c;
|
|
3099
|
+
d < e[n[r]] && (r > 0 && (t[o] = n[r - 1]), n[r] = o);
|
|
3100
|
+
}
|
|
3101
|
+
}
|
|
3102
|
+
for (r = n.length, i = n[r - 1]; r-- > 0; )
|
|
3103
|
+
n[r] = i, i = t[i];
|
|
3104
|
+
return n;
|
|
3105
|
+
}
|
|
3106
|
+
function rr(e) {
|
|
3107
|
+
const t = e.subTree.component;
|
|
3108
|
+
if (t)
|
|
3109
|
+
return t.asyncDep && !t.asyncResolved ? t : rr(t);
|
|
3110
|
+
}
|
|
3111
|
+
function Go(e) {
|
|
3112
|
+
if (e)
|
|
3113
|
+
for (let t = 0; t < e.length; t++) e[t].active = !1;
|
|
3114
|
+
}
|
|
3115
|
+
const wl = Symbol.for("v-scx"), Vl = () => {
|
|
3116
|
+
{
|
|
3117
|
+
const e = Jt(wl);
|
|
3118
|
+
return e || process.env.NODE_ENV !== "production" && y(
|
|
3119
|
+
"Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."
|
|
3120
|
+
), e;
|
|
3121
|
+
}
|
|
3122
|
+
}, Kt = {};
|
|
3123
|
+
function xn(e, t, n) {
|
|
3124
|
+
return process.env.NODE_ENV !== "production" && !S(t) && y(
|
|
3125
|
+
"`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."
|
|
3126
|
+
), ir(e, t, n);
|
|
3127
|
+
}
|
|
3128
|
+
function ir(e, t, {
|
|
3129
|
+
immediate: n,
|
|
3130
|
+
deep: o,
|
|
3131
|
+
flush: s,
|
|
3132
|
+
once: r,
|
|
3133
|
+
onTrack: i,
|
|
3134
|
+
onTrigger: c
|
|
3135
|
+
} = K) {
|
|
3136
|
+
if (t && r) {
|
|
3137
|
+
const I = t;
|
|
3138
|
+
t = (...ne) => {
|
|
3139
|
+
I(...ne), de();
|
|
3140
|
+
};
|
|
3141
|
+
}
|
|
3142
|
+
process.env.NODE_ENV !== "production" && o !== void 0 && typeof o == "number" && y(
|
|
3143
|
+
'watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'
|
|
3144
|
+
), process.env.NODE_ENV !== "production" && !t && (n !== void 0 && y(
|
|
3145
|
+
'watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'
|
|
3146
|
+
), o !== void 0 && y(
|
|
3147
|
+
'watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'
|
|
3148
|
+
), r !== void 0 && y(
|
|
3149
|
+
'watch() "once" option is only respected when using the watch(source, callback, options?) signature.'
|
|
3150
|
+
));
|
|
3151
|
+
const f = (I) => {
|
|
3152
|
+
y(
|
|
3153
|
+
"Invalid watch source: ",
|
|
3154
|
+
I,
|
|
3155
|
+
"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."
|
|
3156
|
+
);
|
|
3157
|
+
}, d = Z, h = (I) => o === !0 ? I : (
|
|
3158
|
+
// for deep: false, only traverse root-level properties
|
|
3159
|
+
Qe(I, o === !1 ? 1 : void 0)
|
|
3160
|
+
);
|
|
3161
|
+
let a, v = !1, x = !1;
|
|
3162
|
+
if (te(e) ? (a = () => e.value, v = We(e)) : at(e) ? (a = () => h(e), v = !0) : C(e) ? (x = !0, v = e.some((I) => at(I) || We(I)), a = () => e.map((I) => {
|
|
3163
|
+
if (te(I))
|
|
3164
|
+
return I.value;
|
|
3165
|
+
if (at(I))
|
|
3166
|
+
return h(I);
|
|
3167
|
+
if (S(I))
|
|
3168
|
+
return $e(I, d, 2);
|
|
3169
|
+
process.env.NODE_ENV !== "production" && f(I);
|
|
3170
|
+
})) : S(e) ? t ? a = () => $e(e, d, 2) : a = () => (P && P(), me(
|
|
3171
|
+
e,
|
|
3172
|
+
d,
|
|
3173
|
+
3,
|
|
3174
|
+
[$]
|
|
3175
|
+
)) : (a = G, process.env.NODE_ENV !== "production" && f(e)), t && o) {
|
|
3176
|
+
const I = a;
|
|
3177
|
+
a = () => Qe(I());
|
|
3178
|
+
}
|
|
3179
|
+
let P, $ = (I) => {
|
|
3180
|
+
P = q.onStop = () => {
|
|
3181
|
+
$e(I, d, 4), P = q.onStop = void 0;
|
|
3182
|
+
};
|
|
3183
|
+
}, ae;
|
|
3184
|
+
if (gn)
|
|
3185
|
+
if ($ = G, t ? n && me(t, d, 3, [
|
|
3186
|
+
a(),
|
|
3187
|
+
x ? [] : void 0,
|
|
3188
|
+
$
|
|
3189
|
+
]) : a(), s === "sync") {
|
|
3190
|
+
const I = Vl();
|
|
3191
|
+
ae = I.__watcherHandles || (I.__watcherHandles = []);
|
|
3192
|
+
} else
|
|
3193
|
+
return G;
|
|
3194
|
+
let B = x ? new Array(e.length).fill(Kt) : Kt;
|
|
3195
|
+
const k = () => {
|
|
3196
|
+
if (!(!q.active || !q.dirty))
|
|
3197
|
+
if (t) {
|
|
3198
|
+
const I = q.run();
|
|
3199
|
+
(o || v || (x ? I.some((ne, oe) => rt(ne, B[oe])) : rt(I, B))) && (P && P(), me(t, d, 3, [
|
|
3200
|
+
I,
|
|
3201
|
+
// pass undefined as the old value when it's changed for the first time
|
|
3202
|
+
B === Kt ? void 0 : x && B[0] === Kt ? [] : B,
|
|
3203
|
+
$
|
|
3204
|
+
]), B = I);
|
|
3205
|
+
} else
|
|
3206
|
+
q.run();
|
|
3207
|
+
};
|
|
3208
|
+
k.allowRecurse = !!t;
|
|
3209
|
+
let H;
|
|
3210
|
+
s === "sync" ? H = k : s === "post" ? H = () => le(k, d && d.suspense) : (k.pre = !0, d && (k.id = d.uid), H = () => pn(k));
|
|
3211
|
+
const q = new to(a, G, H), J = Fr(), de = () => {
|
|
3212
|
+
q.stop(), J && Gn(J.effects, q);
|
|
3213
|
+
};
|
|
3214
|
+
return process.env.NODE_ENV !== "production" && (q.onTrack = i, q.onTrigger = c), t ? n ? k() : B = q.run() : s === "post" ? le(
|
|
3215
|
+
q.run.bind(q),
|
|
3216
|
+
d && d.suspense
|
|
3217
|
+
) : q.run(), ae && ae.push(de), de;
|
|
3218
|
+
}
|
|
3219
|
+
function Dl(e, t, n) {
|
|
3220
|
+
const o = this.proxy, s = z(e) ? e.includes(".") ? lr(o, e) : () => o[e] : e.bind(o, o);
|
|
3221
|
+
let r;
|
|
3222
|
+
S(t) ? r = t : (r = t.handler, n = t);
|
|
3223
|
+
const i = Rt(this), c = ir(s, r.bind(o), n);
|
|
3224
|
+
return i(), c;
|
|
3225
|
+
}
|
|
3226
|
+
function lr(e, t) {
|
|
3227
|
+
const n = t.split(".");
|
|
3228
|
+
return () => {
|
|
3229
|
+
let o = e;
|
|
3230
|
+
for (let s = 0; s < n.length && o; s++)
|
|
3231
|
+
o = o[n[s]];
|
|
3232
|
+
return o;
|
|
3233
|
+
};
|
|
3234
|
+
}
|
|
3235
|
+
function Qe(e, t = 1 / 0, n) {
|
|
3236
|
+
if (t <= 0 || !W(e) || e.__v_skip || (n = n || /* @__PURE__ */ new Set(), n.has(e)))
|
|
3237
|
+
return e;
|
|
3238
|
+
if (n.add(e), t--, te(e))
|
|
3239
|
+
Qe(e.value, t, n);
|
|
3240
|
+
else if (C(e))
|
|
3241
|
+
for (let o = 0; o < e.length; o++)
|
|
3242
|
+
Qe(e[o], t, n);
|
|
3243
|
+
else if (yr(e) || ft(e))
|
|
3244
|
+
e.forEach((o) => {
|
|
3245
|
+
Qe(o, t, n);
|
|
3246
|
+
});
|
|
3247
|
+
else if (wr(e)) {
|
|
3248
|
+
for (const o in e)
|
|
3249
|
+
Qe(e[o], t, n);
|
|
3250
|
+
for (const o of Object.getOwnPropertySymbols(e))
|
|
3251
|
+
Object.prototype.propertyIsEnumerable.call(e, o) && Qe(e[o], t, n);
|
|
3252
|
+
}
|
|
3253
|
+
return e;
|
|
3254
|
+
}
|
|
3255
|
+
const xl = (e, t) => t === "modelValue" || t === "model-value" ? e.modelModifiers : e[`${t}Modifiers`] || e[`${De(t)}Modifiers`] || e[`${ce(t)}Modifiers`];
|
|
3256
|
+
function Cl(e, t, ...n) {
|
|
3257
|
+
if (e.isUnmounted) return;
|
|
3258
|
+
const o = e.vnode.props || K;
|
|
3259
|
+
if (process.env.NODE_ENV !== "production") {
|
|
3260
|
+
const {
|
|
3261
|
+
emitsOptions: h,
|
|
3262
|
+
propsOptions: [a]
|
|
3263
|
+
} = e;
|
|
3264
|
+
if (h)
|
|
3265
|
+
if (!(t in h))
|
|
3266
|
+
(!a || !(Xe(t) in a)) && y(
|
|
3267
|
+
`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${Xe(t)}" prop.`
|
|
3268
|
+
);
|
|
3269
|
+
else {
|
|
3270
|
+
const v = h[t];
|
|
3271
|
+
S(v) && (v(...n) || y(
|
|
3272
|
+
`Invalid event arguments: event validation failed for event "${t}".`
|
|
3273
|
+
));
|
|
3274
|
+
}
|
|
3275
|
+
}
|
|
3276
|
+
let s = n;
|
|
3277
|
+
const r = t.startsWith("update:"), i = r && xl(o, t.slice(7));
|
|
3278
|
+
if (i && (i.trim && (s = n.map((h) => z(h) ? h.trim() : h)), i.number && (s = n.map(Cr))), process.env.NODE_ENV !== "production" && Ti(e, t, s), process.env.NODE_ENV !== "production") {
|
|
3279
|
+
const h = t.toLowerCase();
|
|
3280
|
+
h !== t && o[Xe(h)] && y(
|
|
3281
|
+
`Event "${h}" is emitted in component ${En(
|
|
3282
|
+
e,
|
|
3283
|
+
e.type
|
|
3284
|
+
)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${ce(
|
|
3285
|
+
t
|
|
3286
|
+
)}" instead of "${t}".`
|
|
3287
|
+
);
|
|
3288
|
+
}
|
|
3289
|
+
let c, f = o[c = Xe(t)] || // also try camelCase event handler (#2249)
|
|
3290
|
+
o[c = Xe(De(t))];
|
|
3291
|
+
!f && r && (f = o[c = Xe(ce(t))]), f && me(
|
|
3292
|
+
f,
|
|
3293
|
+
e,
|
|
3294
|
+
6,
|
|
3295
|
+
s
|
|
3296
|
+
);
|
|
3297
|
+
const d = o[c + "Once"];
|
|
3298
|
+
if (d) {
|
|
3299
|
+
if (!e.emitted)
|
|
3300
|
+
e.emitted = {};
|
|
3301
|
+
else if (e.emitted[c])
|
|
3302
|
+
return;
|
|
3303
|
+
e.emitted[c] = !0, me(
|
|
3304
|
+
d,
|
|
3305
|
+
e,
|
|
3306
|
+
6,
|
|
3307
|
+
s
|
|
3308
|
+
);
|
|
3309
|
+
}
|
|
3310
|
+
}
|
|
3311
|
+
function cr(e, t, n = !1) {
|
|
3312
|
+
const o = t.emitsCache, s = o.get(e);
|
|
3313
|
+
if (s !== void 0)
|
|
3314
|
+
return s;
|
|
3315
|
+
const r = e.emits;
|
|
3316
|
+
let i = {}, c = !1;
|
|
3317
|
+
if (!S(e)) {
|
|
3318
|
+
const f = (d) => {
|
|
3319
|
+
const h = cr(d, t, !0);
|
|
3320
|
+
h && (c = !0, Y(i, h));
|
|
3321
|
+
};
|
|
3322
|
+
!n && t.mixins.length && t.mixins.forEach(f), e.extends && f(e.extends), e.mixins && e.mixins.forEach(f);
|
|
3323
|
+
}
|
|
3324
|
+
return !r && !c ? (W(e) && o.set(e, null), null) : (C(r) ? r.forEach((f) => i[f] = null) : Y(i, r), W(e) && o.set(e, i), i);
|
|
3325
|
+
}
|
|
3326
|
+
function _n(e, t) {
|
|
3327
|
+
return !e || !Tt(t) ? !1 : (t = t.slice(2).replace(/Once$/, ""), M(e, t[0].toLowerCase() + t.slice(1)) || M(e, ce(t)) || M(e, t));
|
|
3328
|
+
}
|
|
3329
|
+
let Wn = !1;
|
|
3330
|
+
function sn() {
|
|
3331
|
+
Wn = !0;
|
|
3332
|
+
}
|
|
3333
|
+
function Cn(e) {
|
|
3334
|
+
const {
|
|
3335
|
+
type: t,
|
|
3336
|
+
vnode: n,
|
|
3337
|
+
proxy: o,
|
|
3338
|
+
withProxy: s,
|
|
3339
|
+
propsOptions: [r],
|
|
3340
|
+
slots: i,
|
|
3341
|
+
attrs: c,
|
|
3342
|
+
emit: f,
|
|
3343
|
+
render: d,
|
|
3344
|
+
renderCache: h,
|
|
3345
|
+
props: a,
|
|
3346
|
+
data: v,
|
|
3347
|
+
setupState: x,
|
|
3348
|
+
ctx: P,
|
|
3349
|
+
inheritAttrs: $
|
|
3350
|
+
} = e, ae = tn(e);
|
|
3351
|
+
let B, k;
|
|
3352
|
+
process.env.NODE_ENV !== "production" && (Wn = !1);
|
|
3353
|
+
try {
|
|
3354
|
+
if (n.shapeFlag & 4) {
|
|
3355
|
+
const J = s || o, de = process.env.NODE_ENV !== "production" && x.__isScriptSetup ? new Proxy(J, {
|
|
3356
|
+
get(I, ne, oe) {
|
|
3357
|
+
return y(
|
|
3358
|
+
`Property '${String(
|
|
3359
|
+
ne
|
|
3360
|
+
)}' was accessed via 'this'. Avoid using 'this' in templates.`
|
|
3361
|
+
), Reflect.get(I, ne, oe);
|
|
3362
|
+
}
|
|
3363
|
+
}) : J;
|
|
3364
|
+
B = ge(
|
|
3365
|
+
d.call(
|
|
3366
|
+
de,
|
|
3367
|
+
J,
|
|
3368
|
+
h,
|
|
3369
|
+
process.env.NODE_ENV !== "production" ? Ve(a) : a,
|
|
3370
|
+
x,
|
|
3371
|
+
v,
|
|
3372
|
+
P
|
|
3373
|
+
)
|
|
3374
|
+
), k = c;
|
|
3375
|
+
} else {
|
|
3376
|
+
const J = t;
|
|
3377
|
+
process.env.NODE_ENV !== "production" && c === a && sn(), B = ge(
|
|
3378
|
+
J.length > 1 ? J(
|
|
3379
|
+
process.env.NODE_ENV !== "production" ? Ve(a) : a,
|
|
3380
|
+
process.env.NODE_ENV !== "production" ? {
|
|
3381
|
+
get attrs() {
|
|
3382
|
+
return sn(), Ve(c);
|
|
3383
|
+
},
|
|
3384
|
+
slots: i,
|
|
3385
|
+
emit: f
|
|
3386
|
+
} : { attrs: c, slots: i, emit: f }
|
|
3387
|
+
) : J(
|
|
3388
|
+
process.env.NODE_ENV !== "production" ? Ve(a) : a,
|
|
3389
|
+
null
|
|
3390
|
+
)
|
|
3391
|
+
), k = t.props ? c : Sl(c);
|
|
3392
|
+
}
|
|
3393
|
+
} catch (J) {
|
|
3394
|
+
Dt.length = 0, Pt(J, e, 1), B = ke(ve);
|
|
3395
|
+
}
|
|
3396
|
+
let H = B, q;
|
|
3397
|
+
if (process.env.NODE_ENV !== "production" && B.patchFlag > 0 && B.patchFlag & 2048 && ([H, q] = ur(B)), k && $ !== !1) {
|
|
3398
|
+
const J = Object.keys(k), { shapeFlag: de } = H;
|
|
3399
|
+
if (J.length) {
|
|
3400
|
+
if (de & 7)
|
|
3401
|
+
r && J.some(Zt) && (k = Tl(
|
|
3402
|
+
k,
|
|
3403
|
+
r
|
|
3404
|
+
)), H = Ge(H, k, !1, !0);
|
|
3405
|
+
else if (process.env.NODE_ENV !== "production" && !Wn && H.type !== ve) {
|
|
3406
|
+
const I = Object.keys(c), ne = [], oe = [];
|
|
3407
|
+
for (let Ce = 0, Me = I.length; Ce < Me; Ce++) {
|
|
3408
|
+
const pe = I[Ce];
|
|
3409
|
+
Tt(pe) ? Zt(pe) || ne.push(pe[2].toLowerCase() + pe.slice(3)) : oe.push(pe);
|
|
3410
|
+
}
|
|
3411
|
+
oe.length && y(
|
|
3412
|
+
`Extraneous non-props attributes (${oe.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`
|
|
3413
|
+
), ne.length && y(
|
|
3414
|
+
`Extraneous non-emits event listeners (${ne.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`
|
|
3415
|
+
);
|
|
3416
|
+
}
|
|
3417
|
+
}
|
|
3418
|
+
}
|
|
3419
|
+
return n.dirs && (process.env.NODE_ENV !== "production" && !Yo(H) && y(
|
|
3420
|
+
"Runtime directive used on component with non-element root node. The directives will not function as intended."
|
|
3421
|
+
), H = Ge(H, null, !1, !0), H.dirs = H.dirs ? H.dirs.concat(n.dirs) : n.dirs), n.transition && (process.env.NODE_ENV !== "production" && !Yo(H) && y(
|
|
3422
|
+
"Component inside <Transition> renders non-element root node that cannot be animated."
|
|
3423
|
+
), H.transition = n.transition), process.env.NODE_ENV !== "production" && q ? q(H) : B = H, tn(ae), B;
|
|
3424
|
+
}
|
|
3425
|
+
const ur = (e) => {
|
|
3426
|
+
const t = e.children, n = e.dynamicChildren, o = mo(t, !1);
|
|
3427
|
+
if (o) {
|
|
3428
|
+
if (process.env.NODE_ENV !== "production" && o.patchFlag > 0 && o.patchFlag & 2048)
|
|
3429
|
+
return ur(o);
|
|
3430
|
+
} else return [e, void 0];
|
|
3431
|
+
const s = t.indexOf(o), r = n ? n.indexOf(o) : -1, i = (c) => {
|
|
3432
|
+
t[s] = c, n && (r > -1 ? n[r] = c : c.patchFlag > 0 && (e.dynamicChildren = [...n, c]));
|
|
3433
|
+
};
|
|
3434
|
+
return [ge(o), i];
|
|
3435
|
+
};
|
|
3436
|
+
function mo(e, t = !0) {
|
|
3437
|
+
let n;
|
|
3438
|
+
for (let o = 0; o < e.length; o++) {
|
|
3439
|
+
const s = e[o];
|
|
3440
|
+
if (vo(s)) {
|
|
3441
|
+
if (s.type !== ve || s.children === "v-if") {
|
|
3442
|
+
if (n)
|
|
3443
|
+
return;
|
|
3444
|
+
if (n = s, process.env.NODE_ENV !== "production" && t && n.patchFlag > 0 && n.patchFlag & 2048)
|
|
3445
|
+
return mo(n.children);
|
|
3446
|
+
}
|
|
3447
|
+
} else
|
|
3448
|
+
return;
|
|
3449
|
+
}
|
|
3450
|
+
return n;
|
|
3451
|
+
}
|
|
3452
|
+
const Sl = (e) => {
|
|
3453
|
+
let t;
|
|
3454
|
+
for (const n in e)
|
|
3455
|
+
(n === "class" || n === "style" || Tt(n)) && ((t || (t = {}))[n] = e[n]);
|
|
3456
|
+
return t;
|
|
3457
|
+
}, Tl = (e, t) => {
|
|
3458
|
+
const n = {};
|
|
3459
|
+
for (const o in e)
|
|
3460
|
+
(!Zt(o) || !(o.slice(9) in t)) && (n[o] = e[o]);
|
|
3461
|
+
return n;
|
|
3462
|
+
}, Yo = (e) => e.shapeFlag & 7 || e.type === ve;
|
|
3463
|
+
function Pl(e, t, n) {
|
|
3464
|
+
const { props: o, children: s, component: r } = e, { props: i, children: c, patchFlag: f } = t, d = r.emitsOptions;
|
|
3465
|
+
if (process.env.NODE_ENV !== "production" && (s || c) && ot || t.dirs || t.transition)
|
|
3466
|
+
return !0;
|
|
3467
|
+
if (n && f >= 0) {
|
|
3468
|
+
if (f & 1024)
|
|
3469
|
+
return !0;
|
|
3470
|
+
if (f & 16)
|
|
3471
|
+
return o ? zo(o, i, d) : !!i;
|
|
3472
|
+
if (f & 8) {
|
|
3473
|
+
const h = t.dynamicProps;
|
|
3474
|
+
for (let a = 0; a < h.length; a++) {
|
|
3475
|
+
const v = h[a];
|
|
3476
|
+
if (i[v] !== o[v] && !_n(d, v))
|
|
3477
|
+
return !0;
|
|
3478
|
+
}
|
|
3479
|
+
}
|
|
3480
|
+
} else
|
|
3481
|
+
return (s || c) && (!c || !c.$stable) ? !0 : o === i ? !1 : o ? i ? zo(o, i, d) : !0 : !!i;
|
|
3482
|
+
return !1;
|
|
3483
|
+
}
|
|
3484
|
+
function zo(e, t, n) {
|
|
3485
|
+
const o = Object.keys(t);
|
|
3486
|
+
if (o.length !== Object.keys(e).length)
|
|
3487
|
+
return !0;
|
|
3488
|
+
for (let s = 0; s < o.length; s++) {
|
|
3489
|
+
const r = o[s];
|
|
3490
|
+
if (t[r] !== e[r] && !_n(n, r))
|
|
3491
|
+
return !0;
|
|
3492
|
+
}
|
|
3493
|
+
return !1;
|
|
3494
|
+
}
|
|
3495
|
+
function $l({ vnode: e, parent: t }, n) {
|
|
3496
|
+
for (; t; ) {
|
|
3497
|
+
const o = t.subTree;
|
|
3498
|
+
if (o.suspense && o.suspense.activeBranch === e && (o.el = e.el), o === e)
|
|
3499
|
+
(e = t.vnode).el = n, t = t.parent;
|
|
3500
|
+
else
|
|
3501
|
+
break;
|
|
3502
|
+
}
|
|
3503
|
+
}
|
|
3504
|
+
const Il = (e) => e.__isSuspense;
|
|
3505
|
+
function Rl(e, t) {
|
|
3506
|
+
t && t.pendingBranch ? C(e) ? t.effects.push(...e) : t.effects.push(e) : Ms(e);
|
|
3507
|
+
}
|
|
3508
|
+
const Oe = Symbol.for("v-fgt"), It = Symbol.for("v-txt"), ve = Symbol.for("v-cmt"), Yt = Symbol.for("v-stc"), Dt = [];
|
|
3509
|
+
let fe = null;
|
|
3510
|
+
function Al(e = !1) {
|
|
3511
|
+
Dt.push(fe = e ? null : []);
|
|
3512
|
+
}
|
|
3513
|
+
function Ml() {
|
|
3514
|
+
Dt.pop(), fe = Dt[Dt.length - 1] || null;
|
|
3515
|
+
}
|
|
3516
|
+
let St = 1;
|
|
3517
|
+
function Xo(e) {
|
|
3518
|
+
St += e, e < 0 && fe && (fe.hasOnce = !0);
|
|
3519
|
+
}
|
|
3520
|
+
function Fl(e) {
|
|
3521
|
+
return e.dynamicChildren = St > 0 ? fe || ut : null, Ml(), St > 0 && fe && fe.push(e), e;
|
|
3522
|
+
}
|
|
3523
|
+
function jl(e, t, n, o, s, r) {
|
|
3524
|
+
return Fl(
|
|
3525
|
+
ar(
|
|
3526
|
+
e,
|
|
3527
|
+
t,
|
|
3528
|
+
n,
|
|
3529
|
+
o,
|
|
3530
|
+
s,
|
|
3531
|
+
r,
|
|
3532
|
+
!0
|
|
3533
|
+
)
|
|
3534
|
+
);
|
|
3535
|
+
}
|
|
3536
|
+
function vo(e) {
|
|
3537
|
+
return e ? e.__v_isVNode === !0 : !1;
|
|
3538
|
+
}
|
|
3539
|
+
function bt(e, t) {
|
|
3540
|
+
if (process.env.NODE_ENV !== "production" && t.shapeFlag & 6 && e.component) {
|
|
3541
|
+
const n = kt.get(t.type);
|
|
3542
|
+
if (n && n.has(e.component))
|
|
3543
|
+
return e.shapeFlag &= -257, t.shapeFlag &= -513, !1;
|
|
3544
|
+
}
|
|
3545
|
+
return e.type === t.type && e.key === t.key;
|
|
3546
|
+
}
|
|
3547
|
+
const Ll = (...e) => dr(
|
|
3548
|
+
...e
|
|
3549
|
+
), fr = ({ key: e }) => e ?? null, zt = ({
|
|
3550
|
+
ref: e,
|
|
3551
|
+
ref_key: t,
|
|
3552
|
+
ref_for: n
|
|
3553
|
+
}) => (typeof e == "number" && (e = "" + e), e != null ? z(e) || te(e) || S(e) ? { i: ue, r: e, k: t, f: !!n } : e : null);
|
|
3554
|
+
function ar(e, t = null, n = null, o = 0, s = null, r = e === Oe ? 0 : 1, i = !1, c = !1) {
|
|
3555
|
+
const f = {
|
|
3556
|
+
__v_isVNode: !0,
|
|
3557
|
+
__v_skip: !0,
|
|
3558
|
+
type: e,
|
|
3559
|
+
props: t,
|
|
3560
|
+
key: t && fr(t),
|
|
3561
|
+
ref: t && zt(t),
|
|
3562
|
+
scopeId: Ks,
|
|
3563
|
+
slotScopeIds: null,
|
|
3564
|
+
children: n,
|
|
3565
|
+
component: null,
|
|
3566
|
+
suspense: null,
|
|
3567
|
+
ssContent: null,
|
|
3568
|
+
ssFallback: null,
|
|
3569
|
+
dirs: null,
|
|
3570
|
+
transition: null,
|
|
3571
|
+
el: null,
|
|
3572
|
+
anchor: null,
|
|
3573
|
+
target: null,
|
|
3574
|
+
targetStart: null,
|
|
3575
|
+
targetAnchor: null,
|
|
3576
|
+
staticCount: 0,
|
|
3577
|
+
shapeFlag: r,
|
|
3578
|
+
patchFlag: o,
|
|
3579
|
+
dynamicProps: s,
|
|
3580
|
+
dynamicChildren: null,
|
|
3581
|
+
appContext: null,
|
|
3582
|
+
ctx: ue
|
|
3583
|
+
};
|
|
3584
|
+
return c ? (No(f, n), r & 128 && e.normalize(f)) : n && (f.shapeFlag |= z(n) ? 8 : 16), process.env.NODE_ENV !== "production" && f.key !== f.key && y("VNode created with invalid key (NaN). VNode type:", f.type), St > 0 && // avoid a block node from tracking itself
|
|
3585
|
+
!i && // has current parent block
|
|
3586
|
+
fe && // presence of a patch flag indicates this node needs patching on updates.
|
|
3587
|
+
// component nodes also should always be patched, because even if the
|
|
3588
|
+
// component doesn't need to update, it needs to persist the instance on to
|
|
3589
|
+
// the next vnode so that it can be properly unmounted later.
|
|
3590
|
+
(f.patchFlag > 0 || r & 6) && // the EVENTS flag is only for hydration and if it is the only flag, the
|
|
3591
|
+
// vnode should not be considered dynamic due to handler caching.
|
|
3592
|
+
f.patchFlag !== 32 && fe.push(f), f;
|
|
3593
|
+
}
|
|
3594
|
+
const ke = process.env.NODE_ENV !== "production" ? Ll : dr;
|
|
3595
|
+
function dr(e, t = null, n = null, o = 0, s = null, r = !1) {
|
|
3596
|
+
if ((!e || e === ki) && (process.env.NODE_ENV !== "production" && !e && y(`Invalid vnode type when creating vnode: ${e}.`), e = ve), vo(e)) {
|
|
3597
|
+
const c = Ge(
|
|
3598
|
+
e,
|
|
3599
|
+
t,
|
|
3600
|
+
!0
|
|
3601
|
+
/* mergeRef: true */
|
|
3602
|
+
);
|
|
3603
|
+
return n && No(c, n), St > 0 && !r && fe && (c.shapeFlag & 6 ? fe[fe.indexOf(e)] = c : fe.push(c)), c.patchFlag = -2, c;
|
|
3604
|
+
}
|
|
3605
|
+
if (Er(e) && (e = e.__vccOpts), t) {
|
|
3606
|
+
t = Hl(t);
|
|
3607
|
+
let { class: c, style: f } = t;
|
|
3608
|
+
c && !z(c) && (t.class = eo(c)), W(f) && (An(f) && !C(f) && (f = Y({}, f)), t.style = Qn(f));
|
|
3609
|
+
}
|
|
3610
|
+
const i = z(e) ? 1 : Il(e) ? 128 : ml(e) ? 64 : W(e) ? 4 : S(e) ? 2 : 0;
|
|
3611
|
+
return process.env.NODE_ENV !== "production" && i & 4 && An(e) && (e = R(e), y(
|
|
3612
|
+
"Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",
|
|
3613
|
+
`
|
|
3614
|
+
Component that was made reactive: `,
|
|
3615
|
+
e
|
|
3616
|
+
)), ar(
|
|
3617
|
+
e,
|
|
3618
|
+
t,
|
|
3619
|
+
n,
|
|
3620
|
+
o,
|
|
3621
|
+
s,
|
|
3622
|
+
i,
|
|
3623
|
+
r,
|
|
3624
|
+
!0
|
|
3625
|
+
);
|
|
3626
|
+
}
|
|
3627
|
+
function Hl(e) {
|
|
3628
|
+
return e ? An(e) || Zs(e) ? Y({}, e) : e : null;
|
|
3629
|
+
}
|
|
3630
|
+
function Ge(e, t, n = !1, o = !1) {
|
|
3631
|
+
const { props: s, ref: r, patchFlag: i, children: c, transition: f } = e, d = t ? Kl(s || {}, t) : s, h = {
|
|
3632
|
+
__v_isVNode: !0,
|
|
3633
|
+
__v_skip: !0,
|
|
3634
|
+
type: e.type,
|
|
3635
|
+
props: d,
|
|
3636
|
+
key: d && fr(d),
|
|
3637
|
+
ref: t && t.ref ? (
|
|
3638
|
+
// #2078 in the case of <component :is="vnode" ref="extra"/>
|
|
3639
|
+
// if the vnode itself already has a ref, cloneVNode will need to merge
|
|
3640
|
+
// the refs so the single vnode can be set on multiple refs
|
|
3641
|
+
n && r ? C(r) ? r.concat(zt(t)) : [r, zt(t)] : zt(t)
|
|
3642
|
+
) : r,
|
|
3643
|
+
scopeId: e.scopeId,
|
|
3644
|
+
slotScopeIds: e.slotScopeIds,
|
|
3645
|
+
children: process.env.NODE_ENV !== "production" && i === -1 && C(c) ? c.map(pr) : c,
|
|
3646
|
+
target: e.target,
|
|
3647
|
+
targetStart: e.targetStart,
|
|
3648
|
+
targetAnchor: e.targetAnchor,
|
|
3649
|
+
staticCount: e.staticCount,
|
|
3650
|
+
shapeFlag: e.shapeFlag,
|
|
3651
|
+
// if the vnode is cloned with extra props, we can no longer assume its
|
|
3652
|
+
// existing patch flag to be reliable and need to add the FULL_PROPS flag.
|
|
3653
|
+
// note: preserve flag for fragments since they use the flag for children
|
|
3654
|
+
// fast paths only.
|
|
3655
|
+
patchFlag: t && e.type !== Oe ? i === -1 ? 16 : i | 16 : i,
|
|
3656
|
+
dynamicProps: e.dynamicProps,
|
|
3657
|
+
dynamicChildren: e.dynamicChildren,
|
|
3658
|
+
appContext: e.appContext,
|
|
3659
|
+
dirs: e.dirs,
|
|
3660
|
+
transition: f,
|
|
3661
|
+
// These should technically only be non-null on mounted VNodes. However,
|
|
3662
|
+
// they *should* be copied for kept-alive vnodes. So we just always copy
|
|
3663
|
+
// them since them being non-null during a mount doesn't affect the logic as
|
|
3664
|
+
// they will simply be overwritten.
|
|
3665
|
+
component: e.component,
|
|
3666
|
+
suspense: e.suspense,
|
|
3667
|
+
ssContent: e.ssContent && Ge(e.ssContent),
|
|
3668
|
+
ssFallback: e.ssFallback && Ge(e.ssFallback),
|
|
3669
|
+
el: e.el,
|
|
3670
|
+
anchor: e.anchor,
|
|
3671
|
+
ctx: e.ctx,
|
|
3672
|
+
ce: e.ce
|
|
3673
|
+
};
|
|
3674
|
+
return f && o && Ws(
|
|
3675
|
+
h,
|
|
3676
|
+
f.clone(h)
|
|
3677
|
+
), h;
|
|
3678
|
+
}
|
|
3679
|
+
function pr(e) {
|
|
3680
|
+
const t = Ge(e);
|
|
3681
|
+
return C(e.children) && (t.children = e.children.map(pr)), t;
|
|
3682
|
+
}
|
|
3683
|
+
function Ul(e = " ", t = 0) {
|
|
3684
|
+
return ke(It, null, e, t);
|
|
3685
|
+
}
|
|
3686
|
+
function ge(e) {
|
|
3687
|
+
return e == null || typeof e == "boolean" ? ke(ve) : C(e) ? ke(
|
|
3688
|
+
Oe,
|
|
3689
|
+
null,
|
|
3690
|
+
// #3666, avoid reference pollution when reusing vnode
|
|
3691
|
+
e.slice()
|
|
3692
|
+
) : typeof e == "object" ? Ue(e) : ke(It, null, String(e));
|
|
3693
|
+
}
|
|
3694
|
+
function Ue(e) {
|
|
3695
|
+
return e.el === null && e.patchFlag !== -1 || e.memo ? e : Ge(e);
|
|
3696
|
+
}
|
|
3697
|
+
function No(e, t) {
|
|
3698
|
+
let n = 0;
|
|
3699
|
+
const { shapeFlag: o } = e;
|
|
3700
|
+
if (t == null)
|
|
3701
|
+
t = null;
|
|
3702
|
+
else if (C(t))
|
|
3703
|
+
n = 16;
|
|
3704
|
+
else if (typeof t == "object")
|
|
3705
|
+
if (o & 65) {
|
|
3706
|
+
const s = t.default;
|
|
3707
|
+
s && (s._c && (s._d = !1), No(e, s()), s._c && (s._d = !0));
|
|
3708
|
+
return;
|
|
3709
|
+
} else {
|
|
3710
|
+
n = 32;
|
|
3711
|
+
const s = t._;
|
|
3712
|
+
!s && !Zs(t) ? t._ctx = ue : s === 3 && ue && (ue.slots._ === 1 ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024));
|
|
3713
|
+
}
|
|
3714
|
+
else S(t) ? (t = { default: t, _ctx: ue }, n = 32) : (t = String(t), o & 64 ? (n = 16, t = [Ul(t)]) : n = 8);
|
|
3715
|
+
e.children = t, e.shapeFlag |= n;
|
|
3716
|
+
}
|
|
3717
|
+
function Kl(...e) {
|
|
3718
|
+
const t = {};
|
|
3719
|
+
for (let n = 0; n < e.length; n++) {
|
|
3720
|
+
const o = e[n];
|
|
3721
|
+
for (const s in o)
|
|
3722
|
+
if (s === "class")
|
|
3723
|
+
t.class !== o.class && (t.class = eo([t.class, o.class]));
|
|
3724
|
+
else if (s === "style")
|
|
3725
|
+
t.style = Qn([t.style, o.style]);
|
|
3726
|
+
else if (Tt(s)) {
|
|
3727
|
+
const r = t[s], i = o[s];
|
|
3728
|
+
i && r !== i && !(C(r) && r.includes(i)) && (t[s] = r ? [].concat(r, i) : i);
|
|
3729
|
+
} else s !== "" && (t[s] = o[s]);
|
|
3730
|
+
}
|
|
3731
|
+
return t;
|
|
3732
|
+
}
|
|
3733
|
+
function ye(e, t, n, o = null) {
|
|
3734
|
+
me(e, t, 7, [
|
|
3735
|
+
n,
|
|
3736
|
+
o
|
|
3737
|
+
]);
|
|
3738
|
+
}
|
|
3739
|
+
const Bl = Ys();
|
|
3740
|
+
let Wl = 0;
|
|
3741
|
+
function kl(e, t, n) {
|
|
3742
|
+
const o = e.type, s = (t ? t.appContext : e.appContext) || Bl, r = {
|
|
3743
|
+
uid: Wl++,
|
|
3744
|
+
vnode: e,
|
|
3745
|
+
type: o,
|
|
3746
|
+
parent: t,
|
|
3747
|
+
appContext: s,
|
|
3748
|
+
root: null,
|
|
3749
|
+
// to be immediately set
|
|
3750
|
+
next: null,
|
|
3751
|
+
subTree: null,
|
|
3752
|
+
// will be set synchronously right after creation
|
|
3753
|
+
effect: null,
|
|
3754
|
+
update: null,
|
|
3755
|
+
// will be set synchronously right after creation
|
|
3756
|
+
scope: new Ar(
|
|
3757
|
+
!0
|
|
3758
|
+
/* detached */
|
|
3759
|
+
),
|
|
3760
|
+
render: null,
|
|
3761
|
+
proxy: null,
|
|
3762
|
+
exposed: null,
|
|
3763
|
+
exposeProxy: null,
|
|
3764
|
+
withProxy: null,
|
|
3765
|
+
provides: t ? t.provides : Object.create(s.provides),
|
|
3766
|
+
accessCache: null,
|
|
3767
|
+
renderCache: [],
|
|
3768
|
+
// local resolved assets
|
|
3769
|
+
components: null,
|
|
3770
|
+
directives: null,
|
|
3771
|
+
// resolved props and emits options
|
|
3772
|
+
propsOptions: er(o, s),
|
|
3773
|
+
emitsOptions: cr(o, s),
|
|
3774
|
+
// emit
|
|
3775
|
+
emit: null,
|
|
3776
|
+
// to be set immediately
|
|
3777
|
+
emitted: null,
|
|
3778
|
+
// props default value
|
|
3779
|
+
propsDefaults: K,
|
|
3780
|
+
// inheritAttrs
|
|
3781
|
+
inheritAttrs: o.inheritAttrs,
|
|
3782
|
+
// state
|
|
3783
|
+
ctx: K,
|
|
3784
|
+
data: K,
|
|
3785
|
+
props: K,
|
|
3786
|
+
attrs: K,
|
|
3787
|
+
slots: K,
|
|
3788
|
+
refs: K,
|
|
3789
|
+
setupState: K,
|
|
3790
|
+
setupContext: null,
|
|
3791
|
+
// suspense related
|
|
3792
|
+
suspense: n,
|
|
3793
|
+
suspenseId: n ? n.pendingId : 0,
|
|
3794
|
+
asyncDep: null,
|
|
3795
|
+
asyncResolved: !1,
|
|
3796
|
+
// lifecycle hooks
|
|
3797
|
+
// not using enums here because it results in computed properties
|
|
3798
|
+
isMounted: !1,
|
|
3799
|
+
isUnmounted: !1,
|
|
3800
|
+
isDeactivated: !1,
|
|
3801
|
+
bc: null,
|
|
3802
|
+
c: null,
|
|
3803
|
+
bm: null,
|
|
3804
|
+
m: null,
|
|
3805
|
+
bu: null,
|
|
3806
|
+
u: null,
|
|
3807
|
+
um: null,
|
|
3808
|
+
bum: null,
|
|
3809
|
+
da: null,
|
|
3810
|
+
a: null,
|
|
3811
|
+
rtg: null,
|
|
3812
|
+
rtc: null,
|
|
3813
|
+
ec: null,
|
|
3814
|
+
sp: null
|
|
3815
|
+
};
|
|
3816
|
+
return process.env.NODE_ENV !== "production" ? r.ctx = qi(r) : r.ctx = { _: r }, r.root = t ? t.root : r, r.emit = Cl.bind(null, r), e.ce && e.ce(r), r;
|
|
3817
|
+
}
|
|
3818
|
+
let Z = null;
|
|
3819
|
+
const ql = () => Z || ue;
|
|
3820
|
+
let rn, kn;
|
|
3821
|
+
{
|
|
3822
|
+
const e = Zn(), t = (n, o) => {
|
|
3823
|
+
let s;
|
|
3824
|
+
return (s = e[n]) || (s = e[n] = []), s.push(o), (r) => {
|
|
3825
|
+
s.length > 1 ? s.forEach((i) => i(r)) : s[0](r);
|
|
3826
|
+
};
|
|
3827
|
+
};
|
|
3828
|
+
rn = t(
|
|
3829
|
+
"__VUE_INSTANCE_SETTERS__",
|
|
3830
|
+
(n) => Z = n
|
|
3831
|
+
), kn = t(
|
|
3832
|
+
"__VUE_SSR_SETTERS__",
|
|
3833
|
+
(n) => gn = n
|
|
3834
|
+
);
|
|
3835
|
+
}
|
|
3836
|
+
const Rt = (e) => {
|
|
3837
|
+
const t = Z;
|
|
3838
|
+
return rn(e), e.scope.on(), () => {
|
|
3839
|
+
e.scope.off(), rn(t);
|
|
3840
|
+
};
|
|
3841
|
+
}, Zo = () => {
|
|
3842
|
+
Z && Z.scope.off(), rn(null);
|
|
3843
|
+
}, Jl = /* @__PURE__ */ pt("slot,component");
|
|
3844
|
+
function qn(e, { isNativeTag: t }) {
|
|
3845
|
+
(Jl(e) || t(e)) && y(
|
|
3846
|
+
"Do not use built-in or reserved HTML elements as component id: " + e
|
|
3847
|
+
);
|
|
3848
|
+
}
|
|
3849
|
+
function hr(e) {
|
|
3850
|
+
return e.vnode.shapeFlag & 4;
|
|
3851
|
+
}
|
|
3852
|
+
let gn = !1;
|
|
3853
|
+
function Gl(e, t = !1, n = !1) {
|
|
3854
|
+
t && kn(t);
|
|
3855
|
+
const { props: o, children: s } = e.vnode, r = hr(e);
|
|
3856
|
+
sl(e, o, r, t), _l(e, s, n);
|
|
3857
|
+
const i = r ? Yl(e, t) : void 0;
|
|
3858
|
+
return t && kn(!1), i;
|
|
3859
|
+
}
|
|
3860
|
+
function Yl(e, t) {
|
|
3861
|
+
var n;
|
|
3862
|
+
const o = e.type;
|
|
3863
|
+
if (process.env.NODE_ENV !== "production") {
|
|
3864
|
+
if (o.name && qn(o.name, e.appContext.config), o.components) {
|
|
3865
|
+
const r = Object.keys(o.components);
|
|
3866
|
+
for (let i = 0; i < r.length; i++)
|
|
3867
|
+
qn(r[i], e.appContext.config);
|
|
3868
|
+
}
|
|
3869
|
+
if (o.directives) {
|
|
3870
|
+
const r = Object.keys(o.directives);
|
|
3871
|
+
for (let i = 0; i < r.length; i++)
|
|
3872
|
+
Bs(r[i]);
|
|
3873
|
+
}
|
|
3874
|
+
o.compilerOptions && zl() && y(
|
|
3875
|
+
'"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.'
|
|
3876
|
+
);
|
|
3877
|
+
}
|
|
3878
|
+
e.accessCache = /* @__PURE__ */ Object.create(null), e.proxy = new Proxy(e.ctx, Js), process.env.NODE_ENV !== "production" && Ji(e);
|
|
3879
|
+
const { setup: s } = o;
|
|
3880
|
+
if (s) {
|
|
3881
|
+
const r = e.setupContext = s.length > 1 ? Zl(e) : null, i = Rt(e);
|
|
3882
|
+
Ie();
|
|
3883
|
+
const c = $e(
|
|
3884
|
+
s,
|
|
3885
|
+
e,
|
|
3886
|
+
0,
|
|
3887
|
+
[
|
|
3888
|
+
process.env.NODE_ENV !== "production" ? Ve(e.props) : e.props,
|
|
3889
|
+
r
|
|
3890
|
+
]
|
|
3891
|
+
);
|
|
3892
|
+
if (Re(), i(), Yn(c)) {
|
|
3893
|
+
if (c.then(Zo, Zo), t)
|
|
3894
|
+
return c.then((f) => {
|
|
3895
|
+
Qo(e, f, t);
|
|
3896
|
+
}).catch((f) => {
|
|
3897
|
+
Pt(f, e, 0);
|
|
3898
|
+
});
|
|
3899
|
+
if (e.asyncDep = c, process.env.NODE_ENV !== "production" && !e.suspense) {
|
|
3900
|
+
const f = (n = o.name) != null ? n : "Anonymous";
|
|
3901
|
+
y(
|
|
3902
|
+
`Component <${f}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`
|
|
3903
|
+
);
|
|
3904
|
+
}
|
|
3905
|
+
} else
|
|
3906
|
+
Qo(e, c, t);
|
|
3907
|
+
} else
|
|
3908
|
+
_r(e, t);
|
|
3909
|
+
}
|
|
3910
|
+
function Qo(e, t, n) {
|
|
3911
|
+
S(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : W(t) ? (process.env.NODE_ENV !== "production" && vo(t) && y(
|
|
3912
|
+
"setup() should not return VNodes directly - return a render function instead."
|
|
3913
|
+
), process.env.NODE_ENV !== "production" && (e.devtoolsRawSetupState = t), e.setupState = Ps(t), process.env.NODE_ENV !== "production" && Gi(e)) : process.env.NODE_ENV !== "production" && t !== void 0 && y(
|
|
3914
|
+
`setup() should return an object. Received: ${t === null ? "null" : typeof t}`
|
|
3915
|
+
), _r(e, n);
|
|
3916
|
+
}
|
|
3917
|
+
let Jn;
|
|
3918
|
+
const zl = () => !Jn;
|
|
3919
|
+
function _r(e, t, n) {
|
|
3920
|
+
const o = e.type;
|
|
3921
|
+
if (!e.render) {
|
|
3922
|
+
if (!t && Jn && !o.render) {
|
|
3923
|
+
const s = o.template || go(e).template;
|
|
3924
|
+
if (s) {
|
|
3925
|
+
process.env.NODE_ENV !== "production" && Se(e, "compile");
|
|
3926
|
+
const { isCustomElement: r, compilerOptions: i } = e.appContext.config, { delimiters: c, compilerOptions: f } = o, d = Y(
|
|
3927
|
+
Y(
|
|
3928
|
+
{
|
|
3929
|
+
isCustomElement: r,
|
|
3930
|
+
delimiters: c
|
|
3931
|
+
},
|
|
3932
|
+
i
|
|
3933
|
+
),
|
|
3934
|
+
f
|
|
3935
|
+
);
|
|
3936
|
+
o.render = Jn(s, d), process.env.NODE_ENV !== "production" && Te(e, "compile");
|
|
3937
|
+
}
|
|
3938
|
+
}
|
|
3939
|
+
e.render = o.render || G;
|
|
3940
|
+
}
|
|
3941
|
+
{
|
|
3942
|
+
const s = Rt(e);
|
|
3943
|
+
Ie();
|
|
3944
|
+
try {
|
|
3945
|
+
zi(e);
|
|
3946
|
+
} finally {
|
|
3947
|
+
Re(), s();
|
|
3948
|
+
}
|
|
3949
|
+
}
|
|
3950
|
+
process.env.NODE_ENV !== "production" && !o.render && e.render === G && !t && (o.template ? y(
|
|
3951
|
+
'Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'
|
|
3952
|
+
) : y("Component is missing template or render function: ", o));
|
|
3953
|
+
}
|
|
3954
|
+
const es = process.env.NODE_ENV !== "production" ? {
|
|
3955
|
+
get(e, t) {
|
|
3956
|
+
return sn(), Q(e, "get", ""), e[t];
|
|
3957
|
+
},
|
|
3958
|
+
set() {
|
|
3959
|
+
return y("setupContext.attrs is readonly."), !1;
|
|
3960
|
+
},
|
|
3961
|
+
deleteProperty() {
|
|
3962
|
+
return y("setupContext.attrs is readonly."), !1;
|
|
3963
|
+
}
|
|
3964
|
+
} : {
|
|
3965
|
+
get(e, t) {
|
|
3966
|
+
return Q(e, "get", ""), e[t];
|
|
3967
|
+
}
|
|
3968
|
+
};
|
|
3969
|
+
function Xl(e) {
|
|
3970
|
+
return new Proxy(e.slots, {
|
|
3971
|
+
get(t, n) {
|
|
3972
|
+
return Q(e, "get", "$slots"), t[n];
|
|
3973
|
+
}
|
|
3974
|
+
});
|
|
3975
|
+
}
|
|
3976
|
+
function Zl(e) {
|
|
3977
|
+
const t = (n) => {
|
|
3978
|
+
if (process.env.NODE_ENV !== "production" && (e.exposed && y("expose() should be called only once per setup()."), n != null)) {
|
|
3979
|
+
let o = typeof n;
|
|
3980
|
+
o === "object" && (C(n) ? o = "array" : te(n) && (o = "ref")), o !== "object" && y(
|
|
3981
|
+
`expose() should be passed a plain object, received ${o}.`
|
|
3982
|
+
);
|
|
3983
|
+
}
|
|
3984
|
+
e.exposed = n || {};
|
|
3985
|
+
};
|
|
3986
|
+
if (process.env.NODE_ENV !== "production") {
|
|
3987
|
+
let n, o;
|
|
3988
|
+
return Object.freeze({
|
|
3989
|
+
get attrs() {
|
|
3990
|
+
return n || (n = new Proxy(e.attrs, es));
|
|
3991
|
+
},
|
|
3992
|
+
get slots() {
|
|
3993
|
+
return o || (o = Xl(e));
|
|
3994
|
+
},
|
|
3995
|
+
get emit() {
|
|
3996
|
+
return (s, ...r) => e.emit(s, ...r);
|
|
3997
|
+
},
|
|
3998
|
+
expose: t
|
|
3999
|
+
});
|
|
4000
|
+
} else
|
|
4001
|
+
return {
|
|
4002
|
+
attrs: new Proxy(e.attrs, es),
|
|
4003
|
+
slots: e.slots,
|
|
4004
|
+
emit: e.emit,
|
|
4005
|
+
expose: t
|
|
4006
|
+
};
|
|
4007
|
+
}
|
|
4008
|
+
function bo(e) {
|
|
4009
|
+
return e.exposed ? e.exposeProxy || (e.exposeProxy = new Proxy(Ps(si(e.exposed)), {
|
|
4010
|
+
get(t, n) {
|
|
4011
|
+
if (n in t)
|
|
4012
|
+
return t[n];
|
|
4013
|
+
if (n in st)
|
|
4014
|
+
return st[n](e);
|
|
4015
|
+
},
|
|
4016
|
+
has(t, n) {
|
|
4017
|
+
return n in t || n in st;
|
|
4018
|
+
}
|
|
4019
|
+
})) : e.proxy;
|
|
4020
|
+
}
|
|
4021
|
+
const Ql = /(?:^|[-_])(\w)/g, ec = (e) => e.replace(Ql, (t) => t.toUpperCase()).replace(/[-_]/g, "");
|
|
4022
|
+
function gr(e, t = !0) {
|
|
4023
|
+
return S(e) ? e.displayName || e.name : e.name || t && e.__name;
|
|
4024
|
+
}
|
|
4025
|
+
function En(e, t, n = !1) {
|
|
4026
|
+
let o = gr(t);
|
|
4027
|
+
if (!o && t.__file) {
|
|
4028
|
+
const s = t.__file.match(/([^/\\]+)\.\w+$/);
|
|
4029
|
+
s && (o = s[1]);
|
|
4030
|
+
}
|
|
4031
|
+
if (!o && e && e.parent) {
|
|
4032
|
+
const s = (r) => {
|
|
4033
|
+
for (const i in r)
|
|
4034
|
+
if (r[i] === t)
|
|
4035
|
+
return i;
|
|
4036
|
+
};
|
|
4037
|
+
o = s(
|
|
4038
|
+
e.components || e.parent.type.components
|
|
4039
|
+
) || s(e.appContext.components);
|
|
4040
|
+
}
|
|
4041
|
+
return o ? ec(o) : n ? "App" : "Anonymous";
|
|
4042
|
+
}
|
|
4043
|
+
function Er(e) {
|
|
4044
|
+
return S(e) && "__vccOpts" in e;
|
|
4045
|
+
}
|
|
4046
|
+
const tc = (e, t) => {
|
|
4047
|
+
const n = ii(e, t, gn);
|
|
4048
|
+
if (process.env.NODE_ENV !== "production") {
|
|
4049
|
+
const o = ql();
|
|
4050
|
+
o && o.appContext.config.warnRecursiveComputed && (n._warnRecursive = !0);
|
|
4051
|
+
}
|
|
4052
|
+
return n;
|
|
4053
|
+
};
|
|
4054
|
+
function nc() {
|
|
4055
|
+
if (process.env.NODE_ENV === "production" || typeof window > "u")
|
|
4056
|
+
return;
|
|
4057
|
+
const e = { style: "color:#3ba776" }, t = { style: "color:#1677ff" }, n = { style: "color:#f5222d" }, o = { style: "color:#eb2f96" }, s = {
|
|
4058
|
+
__vue_custom_formatter: !0,
|
|
4059
|
+
header(a) {
|
|
4060
|
+
return W(a) ? a.__isVue ? ["div", e, "VueInstance"] : te(a) ? [
|
|
4061
|
+
"div",
|
|
4062
|
+
{},
|
|
4063
|
+
["span", e, h(a)],
|
|
4064
|
+
"<",
|
|
4065
|
+
c(a.value),
|
|
4066
|
+
">"
|
|
4067
|
+
] : at(a) ? [
|
|
4068
|
+
"div",
|
|
4069
|
+
{},
|
|
4070
|
+
["span", e, We(a) ? "ShallowReactive" : "Reactive"],
|
|
4071
|
+
"<",
|
|
4072
|
+
c(a),
|
|
4073
|
+
`>${Je(a) ? " (readonly)" : ""}`
|
|
4074
|
+
] : Je(a) ? [
|
|
4075
|
+
"div",
|
|
4076
|
+
{},
|
|
4077
|
+
["span", e, We(a) ? "ShallowReadonly" : "Readonly"],
|
|
4078
|
+
"<",
|
|
4079
|
+
c(a),
|
|
4080
|
+
">"
|
|
4081
|
+
] : null : null;
|
|
4082
|
+
},
|
|
4083
|
+
hasBody(a) {
|
|
4084
|
+
return a && a.__isVue;
|
|
4085
|
+
},
|
|
4086
|
+
body(a) {
|
|
4087
|
+
if (a && a.__isVue)
|
|
4088
|
+
return [
|
|
4089
|
+
"div",
|
|
4090
|
+
{},
|
|
4091
|
+
...r(a.$)
|
|
4092
|
+
];
|
|
4093
|
+
}
|
|
4094
|
+
};
|
|
4095
|
+
function r(a) {
|
|
4096
|
+
const v = [];
|
|
4097
|
+
a.type.props && a.props && v.push(i("props", R(a.props))), a.setupState !== K && v.push(i("setup", a.setupState)), a.data !== K && v.push(i("data", R(a.data)));
|
|
4098
|
+
const x = f(a, "computed");
|
|
4099
|
+
x && v.push(i("computed", x));
|
|
4100
|
+
const P = f(a, "inject");
|
|
4101
|
+
return P && v.push(i("injected", P)), v.push([
|
|
4102
|
+
"div",
|
|
4103
|
+
{},
|
|
4104
|
+
[
|
|
4105
|
+
"span",
|
|
4106
|
+
{
|
|
4107
|
+
style: o.style + ";opacity:0.66"
|
|
4108
|
+
},
|
|
4109
|
+
"$ (internal): "
|
|
4110
|
+
],
|
|
4111
|
+
["object", { object: a }]
|
|
4112
|
+
]), v;
|
|
4113
|
+
}
|
|
4114
|
+
function i(a, v) {
|
|
4115
|
+
return v = Y({}, v), Object.keys(v).length ? [
|
|
4116
|
+
"div",
|
|
4117
|
+
{ style: "line-height:1.25em;margin-bottom:0.6em" },
|
|
4118
|
+
[
|
|
4119
|
+
"div",
|
|
4120
|
+
{
|
|
4121
|
+
style: "color:#476582"
|
|
4122
|
+
},
|
|
4123
|
+
a
|
|
4124
|
+
],
|
|
4125
|
+
[
|
|
4126
|
+
"div",
|
|
4127
|
+
{
|
|
4128
|
+
style: "padding-left:1.25em"
|
|
4129
|
+
},
|
|
4130
|
+
...Object.keys(v).map((x) => [
|
|
4131
|
+
"div",
|
|
4132
|
+
{},
|
|
4133
|
+
["span", o, x + ": "],
|
|
4134
|
+
c(v[x], !1)
|
|
4135
|
+
])
|
|
4136
|
+
]
|
|
4137
|
+
] : ["span", {}];
|
|
4138
|
+
}
|
|
4139
|
+
function c(a, v = !0) {
|
|
4140
|
+
return typeof a == "number" ? ["span", t, a] : typeof a == "string" ? ["span", n, JSON.stringify(a)] : typeof a == "boolean" ? ["span", o, a] : W(a) ? ["object", { object: v ? R(a) : a }] : ["span", n, String(a)];
|
|
4141
|
+
}
|
|
4142
|
+
function f(a, v) {
|
|
4143
|
+
const x = a.type;
|
|
4144
|
+
if (S(x))
|
|
4145
|
+
return;
|
|
4146
|
+
const P = {};
|
|
4147
|
+
for (const $ in a.ctx)
|
|
4148
|
+
d(x, $, v) && (P[$] = a.ctx[$]);
|
|
4149
|
+
return P;
|
|
4150
|
+
}
|
|
4151
|
+
function d(a, v, x) {
|
|
4152
|
+
const P = a[x];
|
|
4153
|
+
if (C(P) && P.includes(v) || W(P) && v in P || a.extends && d(a.extends, v, x) || a.mixins && a.mixins.some(($) => d($, v, x)))
|
|
4154
|
+
return !0;
|
|
4155
|
+
}
|
|
4156
|
+
function h(a) {
|
|
4157
|
+
return We(a) ? "ShallowRef" : a.effect ? "ComputedRef" : "Ref";
|
|
4158
|
+
}
|
|
4159
|
+
window.devtoolsFormatters ? window.devtoolsFormatters.push(s) : window.devtoolsFormatters = [s];
|
|
4160
|
+
}
|
|
4161
|
+
const ts = "3.4.35", mn = process.env.NODE_ENV !== "production" ? y : G;
|
|
4162
|
+
process.env.NODE_ENV;
|
|
4163
|
+
process.env.NODE_ENV;
|
|
4164
|
+
/**
|
|
4165
|
+
* @vue/runtime-dom v3.4.35
|
|
4166
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4167
|
+
* @license MIT
|
|
4168
|
+
**/
|
|
4169
|
+
const oc = "http://www.w3.org/2000/svg", sc = "http://www.w3.org/1998/Math/MathML", Pe = typeof document < "u" ? document : null, ns = Pe && /* @__PURE__ */ Pe.createElement("template"), rc = {
|
|
4170
|
+
insert: (e, t, n) => {
|
|
4171
|
+
t.insertBefore(e, n || null);
|
|
4172
|
+
},
|
|
4173
|
+
remove: (e) => {
|
|
4174
|
+
const t = e.parentNode;
|
|
4175
|
+
t && t.removeChild(e);
|
|
4176
|
+
},
|
|
4177
|
+
createElement: (e, t, n, o) => {
|
|
4178
|
+
const s = t === "svg" ? Pe.createElementNS(oc, e) : t === "mathml" ? Pe.createElementNS(sc, e) : n ? Pe.createElement(e, { is: n }) : Pe.createElement(e);
|
|
4179
|
+
return e === "select" && o && o.multiple != null && s.setAttribute("multiple", o.multiple), s;
|
|
4180
|
+
},
|
|
4181
|
+
createText: (e) => Pe.createTextNode(e),
|
|
4182
|
+
createComment: (e) => Pe.createComment(e),
|
|
4183
|
+
setText: (e, t) => {
|
|
4184
|
+
e.nodeValue = t;
|
|
4185
|
+
},
|
|
4186
|
+
setElementText: (e, t) => {
|
|
4187
|
+
e.textContent = t;
|
|
4188
|
+
},
|
|
4189
|
+
parentNode: (e) => e.parentNode,
|
|
4190
|
+
nextSibling: (e) => e.nextSibling,
|
|
4191
|
+
querySelector: (e) => Pe.querySelector(e),
|
|
4192
|
+
setScopeId(e, t) {
|
|
4193
|
+
e.setAttribute(t, "");
|
|
4194
|
+
},
|
|
4195
|
+
// __UNSAFE__
|
|
4196
|
+
// Reason: innerHTML.
|
|
4197
|
+
// Static content here can only come from compiled templates.
|
|
4198
|
+
// As long as the user only uses trusted templates, this is safe.
|
|
4199
|
+
insertStaticContent(e, t, n, o, s, r) {
|
|
4200
|
+
const i = n ? n.previousSibling : t.lastChild;
|
|
4201
|
+
if (s && (s === r || s.nextSibling))
|
|
4202
|
+
for (; t.insertBefore(s.cloneNode(!0), n), !(s === r || !(s = s.nextSibling)); )
|
|
4203
|
+
;
|
|
4204
|
+
else {
|
|
4205
|
+
ns.innerHTML = o === "svg" ? `<svg>${e}</svg>` : o === "mathml" ? `<math>${e}</math>` : e;
|
|
4206
|
+
const c = ns.content;
|
|
4207
|
+
if (o === "svg" || o === "mathml") {
|
|
4208
|
+
const f = c.firstChild;
|
|
4209
|
+
for (; f.firstChild; )
|
|
4210
|
+
c.appendChild(f.firstChild);
|
|
4211
|
+
c.removeChild(f);
|
|
4212
|
+
}
|
|
4213
|
+
t.insertBefore(c, n);
|
|
4214
|
+
}
|
|
4215
|
+
return [
|
|
4216
|
+
// first
|
|
4217
|
+
i ? i.nextSibling : t.firstChild,
|
|
4218
|
+
// last
|
|
4219
|
+
n ? n.previousSibling : t.lastChild
|
|
4220
|
+
];
|
|
4221
|
+
}
|
|
4222
|
+
}, ic = Symbol("_vtc");
|
|
4223
|
+
function lc(e, t, n) {
|
|
4224
|
+
const o = e[ic];
|
|
4225
|
+
o && (t = (t ? [t, ...o] : [...o]).join(" ")), t == null ? e.removeAttribute("class") : n ? e.setAttribute("class", t) : e.className = t;
|
|
4226
|
+
}
|
|
4227
|
+
const os = Symbol("_vod"), cc = Symbol("_vsh");
|
|
4228
|
+
process.env.NODE_ENV;
|
|
4229
|
+
const uc = Symbol(process.env.NODE_ENV !== "production" ? "CSS_VAR_TEXT" : ""), fc = /(^|;)\s*display\s*:/;
|
|
4230
|
+
function ac(e, t, n) {
|
|
4231
|
+
const o = e.style, s = z(n);
|
|
4232
|
+
let r = !1;
|
|
4233
|
+
if (n && !s) {
|
|
4234
|
+
if (t)
|
|
4235
|
+
if (z(t))
|
|
4236
|
+
for (const i of t.split(";")) {
|
|
4237
|
+
const c = i.slice(0, i.indexOf(":")).trim();
|
|
4238
|
+
n[c] == null && Xt(o, c, "");
|
|
4239
|
+
}
|
|
4240
|
+
else
|
|
4241
|
+
for (const i in t)
|
|
4242
|
+
n[i] == null && Xt(o, i, "");
|
|
4243
|
+
for (const i in n)
|
|
4244
|
+
i === "display" && (r = !0), Xt(o, i, n[i]);
|
|
4245
|
+
} else if (s) {
|
|
4246
|
+
if (t !== n) {
|
|
4247
|
+
const i = o[uc];
|
|
4248
|
+
i && (n += ";" + i), o.cssText = n, r = fc.test(n);
|
|
4249
|
+
}
|
|
4250
|
+
} else t && e.removeAttribute("style");
|
|
4251
|
+
os in e && (e[os] = r ? o.display : "", e[cc] && (o.display = "none"));
|
|
4252
|
+
}
|
|
4253
|
+
const dc = /[^\\];\s*$/, ss = /\s*!important$/;
|
|
4254
|
+
function Xt(e, t, n) {
|
|
4255
|
+
if (C(n))
|
|
4256
|
+
n.forEach((o) => Xt(e, t, o));
|
|
4257
|
+
else if (n == null && (n = ""), process.env.NODE_ENV !== "production" && dc.test(n) && mn(
|
|
4258
|
+
`Unexpected semicolon at the end of '${t}' style value: '${n}'`
|
|
4259
|
+
), t.startsWith("--"))
|
|
4260
|
+
e.setProperty(t, n);
|
|
4261
|
+
else {
|
|
4262
|
+
const o = pc(e, t);
|
|
4263
|
+
ss.test(n) ? e.setProperty(
|
|
4264
|
+
ce(o),
|
|
4265
|
+
n.replace(ss, ""),
|
|
4266
|
+
"important"
|
|
4267
|
+
) : e[o] = n;
|
|
4268
|
+
}
|
|
4269
|
+
}
|
|
4270
|
+
const rs = ["Webkit", "Moz", "ms"], Sn = {};
|
|
4271
|
+
function pc(e, t) {
|
|
4272
|
+
const n = Sn[t];
|
|
4273
|
+
if (n)
|
|
4274
|
+
return n;
|
|
4275
|
+
let o = De(t);
|
|
4276
|
+
if (o !== "filter" && o in e)
|
|
4277
|
+
return Sn[t] = o;
|
|
4278
|
+
o = un(o);
|
|
4279
|
+
for (let s = 0; s < rs.length; s++) {
|
|
4280
|
+
const r = rs[s] + o;
|
|
4281
|
+
if (r in e)
|
|
4282
|
+
return Sn[t] = r;
|
|
4283
|
+
}
|
|
4284
|
+
return t;
|
|
4285
|
+
}
|
|
4286
|
+
const is = "http://www.w3.org/1999/xlink";
|
|
4287
|
+
function ls(e, t, n, o, s, r = Rr(t)) {
|
|
4288
|
+
o && t.startsWith("xlink:") ? n == null ? e.removeAttributeNS(is, t.slice(6, t.length)) : e.setAttributeNS(is, t, n) : n == null || r && !hs(n) ? e.removeAttribute(t) : e.setAttribute(
|
|
4289
|
+
t,
|
|
4290
|
+
r ? "" : ht(n) ? String(n) : n
|
|
4291
|
+
);
|
|
4292
|
+
}
|
|
4293
|
+
function hc(e, t, n, o) {
|
|
4294
|
+
if (t === "innerHTML" || t === "textContent") {
|
|
4295
|
+
if (n == null) return;
|
|
4296
|
+
e[t] = n;
|
|
4297
|
+
return;
|
|
4298
|
+
}
|
|
4299
|
+
const s = e.tagName;
|
|
4300
|
+
if (t === "value" && s !== "PROGRESS" && // custom elements may use _value internally
|
|
4301
|
+
!s.includes("-")) {
|
|
4302
|
+
const i = s === "OPTION" ? e.getAttribute("value") || "" : e.value, c = n == null ? "" : String(n);
|
|
4303
|
+
(i !== c || !("_value" in e)) && (e.value = c), n == null && e.removeAttribute(t), e._value = n;
|
|
4304
|
+
return;
|
|
4305
|
+
}
|
|
4306
|
+
let r = !1;
|
|
4307
|
+
if (n === "" || n == null) {
|
|
4308
|
+
const i = typeof e[t];
|
|
4309
|
+
i === "boolean" ? n = hs(n) : n == null && i === "string" ? (n = "", r = !0) : i === "number" && (n = 0, r = !0);
|
|
4310
|
+
}
|
|
4311
|
+
try {
|
|
4312
|
+
e[t] = n;
|
|
4313
|
+
} catch (i) {
|
|
4314
|
+
process.env.NODE_ENV !== "production" && !r && mn(
|
|
4315
|
+
`Failed setting prop "${t}" on <${s.toLowerCase()}>: value ${n} is invalid.`,
|
|
4316
|
+
i
|
|
4317
|
+
);
|
|
4318
|
+
}
|
|
4319
|
+
r && e.removeAttribute(t);
|
|
4320
|
+
}
|
|
4321
|
+
function _c(e, t, n, o) {
|
|
4322
|
+
e.addEventListener(t, n, o);
|
|
4323
|
+
}
|
|
4324
|
+
function gc(e, t, n, o) {
|
|
4325
|
+
e.removeEventListener(t, n, o);
|
|
4326
|
+
}
|
|
4327
|
+
const cs = Symbol("_vei");
|
|
4328
|
+
function Ec(e, t, n, o, s = null) {
|
|
4329
|
+
const r = e[cs] || (e[cs] = {}), i = r[t];
|
|
4330
|
+
if (o && i)
|
|
4331
|
+
i.value = process.env.NODE_ENV !== "production" ? fs(o, t) : o;
|
|
4332
|
+
else {
|
|
4333
|
+
const [c, f] = mc(t);
|
|
4334
|
+
if (o) {
|
|
4335
|
+
const d = r[t] = bc(
|
|
4336
|
+
process.env.NODE_ENV !== "production" ? fs(o, t) : o,
|
|
4337
|
+
s
|
|
4338
|
+
);
|
|
4339
|
+
_c(e, c, d, f);
|
|
4340
|
+
} else i && (gc(e, c, i, f), r[t] = void 0);
|
|
4341
|
+
}
|
|
4342
|
+
}
|
|
4343
|
+
const us = /(?:Once|Passive|Capture)$/;
|
|
4344
|
+
function mc(e) {
|
|
4345
|
+
let t;
|
|
4346
|
+
if (us.test(e)) {
|
|
4347
|
+
t = {};
|
|
4348
|
+
let o;
|
|
4349
|
+
for (; o = e.match(us); )
|
|
4350
|
+
e = e.slice(0, e.length - o[0].length), t[o[0].toLowerCase()] = !0;
|
|
4351
|
+
}
|
|
4352
|
+
return [e[2] === ":" ? e.slice(3) : ce(e.slice(2)), t];
|
|
4353
|
+
}
|
|
4354
|
+
let Tn = 0;
|
|
4355
|
+
const vc = /* @__PURE__ */ Promise.resolve(), Nc = () => Tn || (vc.then(() => Tn = 0), Tn = Date.now());
|
|
4356
|
+
function bc(e, t) {
|
|
4357
|
+
const n = (o) => {
|
|
4358
|
+
if (!o._vts)
|
|
4359
|
+
o._vts = Date.now();
|
|
4360
|
+
else if (o._vts <= n.attached)
|
|
4361
|
+
return;
|
|
4362
|
+
me(
|
|
4363
|
+
yc(o, n.value),
|
|
4364
|
+
t,
|
|
4365
|
+
5,
|
|
4366
|
+
[o]
|
|
4367
|
+
);
|
|
4368
|
+
};
|
|
4369
|
+
return n.value = e, n.attached = Nc(), n;
|
|
4370
|
+
}
|
|
4371
|
+
function fs(e, t) {
|
|
4372
|
+
return S(e) || C(e) ? e : (mn(
|
|
4373
|
+
`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?
|
|
4374
|
+
Expected function or array of functions, received type ${typeof e}.`
|
|
4375
|
+
), G);
|
|
4376
|
+
}
|
|
4377
|
+
function yc(e, t) {
|
|
4378
|
+
if (C(t)) {
|
|
4379
|
+
const n = e.stopImmediatePropagation;
|
|
4380
|
+
return e.stopImmediatePropagation = () => {
|
|
4381
|
+
n.call(e), e._stopped = !0;
|
|
4382
|
+
}, t.map(
|
|
4383
|
+
(o) => (s) => !s._stopped && o && o(s)
|
|
4384
|
+
);
|
|
4385
|
+
} else
|
|
4386
|
+
return t;
|
|
4387
|
+
}
|
|
4388
|
+
const as = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // lowercase letter
|
|
4389
|
+
e.charCodeAt(2) > 96 && e.charCodeAt(2) < 123, Oc = (e, t, n, o, s, r) => {
|
|
4390
|
+
const i = s === "svg";
|
|
4391
|
+
t === "class" ? lc(e, o, i) : t === "style" ? ac(e, n, o) : Tt(t) ? Zt(t) || Ec(e, t, n, o, r) : (t[0] === "." ? (t = t.slice(1), !0) : t[0] === "^" ? (t = t.slice(1), !1) : wc(e, t, o, i)) ? (hc(e, t, o), !e.tagName.includes("-") && (t === "value" || t === "checked" || t === "selected") && ls(e, t, o, i, r, t !== "value")) : (t === "true-value" ? e._trueValue = o : t === "false-value" && (e._falseValue = o), ls(e, t, o, i));
|
|
4392
|
+
};
|
|
4393
|
+
function wc(e, t, n, o) {
|
|
4394
|
+
if (o)
|
|
4395
|
+
return !!(t === "innerHTML" || t === "textContent" || t in e && as(t) && S(n));
|
|
4396
|
+
if (t === "spellcheck" || t === "draggable" || t === "translate" || t === "form" || t === "list" && e.tagName === "INPUT" || t === "type" && e.tagName === "TEXTAREA")
|
|
4397
|
+
return !1;
|
|
4398
|
+
if (t === "width" || t === "height") {
|
|
4399
|
+
const s = e.tagName;
|
|
4400
|
+
if (s === "IMG" || s === "VIDEO" || s === "CANVAS" || s === "SOURCE")
|
|
4401
|
+
return !1;
|
|
4402
|
+
}
|
|
4403
|
+
return as(t) && z(n) ? !1 : t in e;
|
|
4404
|
+
}
|
|
4405
|
+
/*! #__NO_SIDE_EFFECTS__ */
|
|
4406
|
+
// @__NO_SIDE_EFFECTS__
|
|
4407
|
+
function Vc(e, t, n) {
|
|
4408
|
+
const o = /* @__PURE__ */ $i(e, t);
|
|
4409
|
+
class s extends yo {
|
|
4410
|
+
constructor(i) {
|
|
4411
|
+
super(o, i, n);
|
|
4412
|
+
}
|
|
4413
|
+
}
|
|
4414
|
+
return s.def = o, s;
|
|
4415
|
+
}
|
|
4416
|
+
const Dc = typeof HTMLElement < "u" ? HTMLElement : class {
|
|
4417
|
+
};
|
|
4418
|
+
class yo extends Dc {
|
|
4419
|
+
constructor(t, n = {}, o) {
|
|
4420
|
+
super(), this._def = t, this._props = n, this._instance = null, this._connected = !1, this._resolved = !1, this._numberProps = null, this._ob = null, this.shadowRoot && o ? o(this._createVNode(), this.shadowRoot) : (process.env.NODE_ENV !== "production" && this.shadowRoot && mn(
|
|
4421
|
+
"Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use `defineSSRCustomElement`."
|
|
4422
|
+
), this.attachShadow({ mode: "open" }), this._def.__asyncLoader || this._resolveProps(this._def));
|
|
4423
|
+
}
|
|
4424
|
+
connectedCallback() {
|
|
4425
|
+
this._connected = !0, this._instance || (this._resolved ? this._update() : this._resolveDef());
|
|
4426
|
+
}
|
|
4427
|
+
disconnectedCallback() {
|
|
4428
|
+
this._connected = !1, Rs(() => {
|
|
4429
|
+
this._connected || (this._ob && (this._ob.disconnect(), this._ob = null), ps(null, this.shadowRoot), this._instance = null);
|
|
4430
|
+
});
|
|
4431
|
+
}
|
|
4432
|
+
/**
|
|
4433
|
+
* resolve inner component definition (handle possible async component)
|
|
4434
|
+
*/
|
|
4435
|
+
_resolveDef() {
|
|
4436
|
+
this._resolved = !0;
|
|
4437
|
+
for (let o = 0; o < this.attributes.length; o++)
|
|
4438
|
+
this._setAttr(this.attributes[o].name);
|
|
4439
|
+
this._ob = new MutationObserver((o) => {
|
|
4440
|
+
for (const s of o)
|
|
4441
|
+
this._setAttr(s.attributeName);
|
|
4442
|
+
}), this._ob.observe(this, { attributes: !0 });
|
|
4443
|
+
const t = (o, s = !1) => {
|
|
4444
|
+
const { props: r, styles: i } = o;
|
|
4445
|
+
let c;
|
|
4446
|
+
if (r && !C(r))
|
|
4447
|
+
for (const f in r) {
|
|
4448
|
+
const d = r[f];
|
|
4449
|
+
(d === Number || d && d.type === Number) && (f in this._props && (this._props[f] = To(this._props[f])), (c || (c = /* @__PURE__ */ Object.create(null)))[De(f)] = !0);
|
|
4450
|
+
}
|
|
4451
|
+
this._numberProps = c, s && this._resolveProps(o), this._applyStyles(i), this._update();
|
|
4452
|
+
}, n = this._def.__asyncLoader;
|
|
4453
|
+
n ? n().then((o) => t(o, !0)) : t(this._def);
|
|
4454
|
+
}
|
|
4455
|
+
_resolveProps(t) {
|
|
4456
|
+
const { props: n } = t, o = C(n) ? n : Object.keys(n || {});
|
|
4457
|
+
for (const s of Object.keys(this))
|
|
4458
|
+
s[0] !== "_" && o.includes(s) && this._setProp(s, this[s], !0, !1);
|
|
4459
|
+
for (const s of o.map(De))
|
|
4460
|
+
Object.defineProperty(this, s, {
|
|
4461
|
+
get() {
|
|
4462
|
+
return this._getProp(s);
|
|
4463
|
+
},
|
|
4464
|
+
set(r) {
|
|
4465
|
+
this._setProp(s, r);
|
|
4466
|
+
}
|
|
4467
|
+
});
|
|
4468
|
+
}
|
|
4469
|
+
_setAttr(t) {
|
|
4470
|
+
let n = this.hasAttribute(t) ? this.getAttribute(t) : void 0;
|
|
4471
|
+
const o = De(t);
|
|
4472
|
+
this._numberProps && this._numberProps[o] && (n = To(n)), this._setProp(o, n, !1);
|
|
4473
|
+
}
|
|
4474
|
+
/**
|
|
4475
|
+
* @internal
|
|
4476
|
+
*/
|
|
4477
|
+
_getProp(t) {
|
|
4478
|
+
return this._props[t];
|
|
4479
|
+
}
|
|
4480
|
+
/**
|
|
4481
|
+
* @internal
|
|
4482
|
+
*/
|
|
4483
|
+
_setProp(t, n, o = !0, s = !0) {
|
|
4484
|
+
n !== this._props[t] && (this._props[t] = n, s && this._instance && this._update(), o && (n === !0 ? this.setAttribute(ce(t), "") : typeof n == "string" || typeof n == "number" ? this.setAttribute(ce(t), n + "") : n || this.removeAttribute(ce(t))));
|
|
4485
|
+
}
|
|
4486
|
+
_update() {
|
|
4487
|
+
ps(this._createVNode(), this.shadowRoot);
|
|
4488
|
+
}
|
|
4489
|
+
_createVNode() {
|
|
4490
|
+
const t = ke(this._def, Y({}, this._props));
|
|
4491
|
+
return this._instance || (t.ce = (n) => {
|
|
4492
|
+
this._instance = n, n.isCE = !0, process.env.NODE_ENV !== "production" && (n.ceReload = (r) => {
|
|
4493
|
+
this._styles && (this._styles.forEach((i) => this.shadowRoot.removeChild(i)), this._styles.length = 0), this._applyStyles(r), this._instance = null, this._update();
|
|
4494
|
+
});
|
|
4495
|
+
const o = (r, i) => {
|
|
4496
|
+
this.dispatchEvent(
|
|
4497
|
+
new CustomEvent(r, {
|
|
4498
|
+
detail: i
|
|
4499
|
+
})
|
|
4500
|
+
);
|
|
4501
|
+
};
|
|
4502
|
+
n.emit = (r, ...i) => {
|
|
4503
|
+
o(r, i), ce(r) !== r && o(ce(r), i);
|
|
4504
|
+
};
|
|
4505
|
+
let s = this;
|
|
4506
|
+
for (; s = s && (s.parentNode || s.host); )
|
|
4507
|
+
if (s instanceof yo) {
|
|
4508
|
+
n.parent = s._instance, n.provides = s._instance.provides;
|
|
4509
|
+
break;
|
|
4510
|
+
}
|
|
4511
|
+
}), t;
|
|
4512
|
+
}
|
|
4513
|
+
_applyStyles(t) {
|
|
4514
|
+
t && t.forEach((n) => {
|
|
4515
|
+
const o = document.createElement("style");
|
|
4516
|
+
o.textContent = n, this.shadowRoot.appendChild(o), process.env.NODE_ENV !== "production" && (this._styles || (this._styles = [])).push(o);
|
|
4517
|
+
});
|
|
4518
|
+
}
|
|
4519
|
+
}
|
|
4520
|
+
const xc = /* @__PURE__ */ Y({ patchProp: Oc }, rc);
|
|
4521
|
+
let ds;
|
|
4522
|
+
function Cc() {
|
|
4523
|
+
return ds || (ds = Nl(xc));
|
|
4524
|
+
}
|
|
4525
|
+
const ps = (...e) => {
|
|
4526
|
+
Cc().render(...e);
|
|
4527
|
+
};
|
|
4528
|
+
/**
|
|
4529
|
+
* vue v3.4.35
|
|
4530
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4531
|
+
* @license MIT
|
|
4532
|
+
**/
|
|
4533
|
+
function Sc() {
|
|
4534
|
+
nc();
|
|
4535
|
+
}
|
|
4536
|
+
process.env.NODE_ENV !== "production" && Sc();
|
|
4537
|
+
const Tc = (e, t) => {
|
|
4538
|
+
const n = e.__vccOpts || e;
|
|
4539
|
+
for (const [o, s] of t)
|
|
4540
|
+
n[o] = s;
|
|
4541
|
+
return n;
|
|
4542
|
+
}, Pc = {};
|
|
4543
|
+
function $c(e, t) {
|
|
4544
|
+
return Al(), jl("div", null, "Bonjour je suis le bloc de press");
|
|
4545
|
+
}
|
|
4546
|
+
const Ic = /* @__PURE__ */ Tc(Pc, [["render", $c]]), Rc = /* @__PURE__ */ Vc(Ic);
|
|
4547
|
+
function Ac(e = "press") {
|
|
4548
|
+
customElements.define(e, Rc);
|
|
4549
|
+
}
|
|
4550
|
+
export {
|
|
4551
|
+
Rc as PressCustomElement,
|
|
4552
|
+
Ac as register
|
|
4553
|
+
};
|