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