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