yxuse 1.0.87 → 1.0.89

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