yxuse 1.0.61 → 1.0.63

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