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