@i18n-micro/astro 1.3.13 → 1.3.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/index.js +6 -17
- package/dist/client/preact.js +35 -64
- package/dist/client/react.js +35 -64
- package/dist/client/svelte.js +60 -62
- package/dist/client/vue.js +2 -1552
- package/dist/core-DwkpOV-H.cjs +1 -0
- package/dist/core-VSnkGRWR.js +28 -0
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +498 -564
- package/dist/vue-BVFyDsja.cjs +5 -0
- package/dist/vue-CyIbewNw.js +1723 -0
- package/package.json +11 -11
- package/dist/core-B-Ia_nzr.cjs +0 -1
- package/dist/core-Bk6qZuDf.js +0 -37
|
@@ -0,0 +1,1723 @@
|
|
|
1
|
+
import { n as e, t } from "./core-VSnkGRWR.js";
|
|
2
|
+
import { FormatService as n, defaultPlural as r } from "@i18n-micro/core";
|
|
3
|
+
//#region ../../node_modules/.pnpm/@vue+shared@3.5.42/node_modules/@vue/shared/dist/shared.esm-bundler.js
|
|
4
|
+
// @__NO_SIDE_EFFECTS__
|
|
5
|
+
function i(e) {
|
|
6
|
+
let t = /* @__PURE__ */ Object.create(null);
|
|
7
|
+
for (let n of e.split(",")) t[n] = 1;
|
|
8
|
+
return (e) => e in t;
|
|
9
|
+
}
|
|
10
|
+
var a = process.env.NODE_ENV === "production" ? {} : Object.freeze({});
|
|
11
|
+
process.env.NODE_ENV === "production" || Object.freeze([]);
|
|
12
|
+
var o = () => {}, s = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), c = (e) => e.startsWith("onUpdate:"), l = Object.assign, u = Object.prototype.hasOwnProperty, d = (e, t) => u.call(e, t), f = Array.isArray, p = (e) => b(e) === "[object Map]", m = (e) => b(e) === "[object Set]", h = (e) => typeof e == "function", g = (e) => typeof e == "string", _ = (e) => typeof e == "symbol", v = (e) => typeof e == "object" && !!e, y = (e) => (v(e) || h(e)) && h(e.then) && h(e.catch), ee = Object.prototype.toString, b = (e) => ee.call(e), x = (e) => b(e).slice(8, -1), S = (e) => b(e) === "[object Object]", te = (e) => g(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, ne = ((e) => {
|
|
13
|
+
let t = /* @__PURE__ */ Object.create(null);
|
|
14
|
+
return ((n) => t[n] || (t[n] = e(n)));
|
|
15
|
+
})((e) => e.charAt(0).toUpperCase() + e.slice(1)), C = (e, t) => !Object.is(e, t), re = (e, t, n, r = !1) => {
|
|
16
|
+
Object.defineProperty(e, t, {
|
|
17
|
+
configurable: !0,
|
|
18
|
+
enumerable: !1,
|
|
19
|
+
writable: r,
|
|
20
|
+
value: n
|
|
21
|
+
});
|
|
22
|
+
}, ie, ae = () => ie ||= typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {};
|
|
23
|
+
function oe(e) {
|
|
24
|
+
if (f(e)) {
|
|
25
|
+
let t = {};
|
|
26
|
+
for (let n = 0; n < e.length; n++) {
|
|
27
|
+
let r = e[n], i = g(r) ? ue(r) : oe(r);
|
|
28
|
+
if (i) for (let e in i) t[e] = i[e];
|
|
29
|
+
}
|
|
30
|
+
return t;
|
|
31
|
+
}
|
|
32
|
+
if (g(e) || v(e)) return e;
|
|
33
|
+
}
|
|
34
|
+
var se = /;(?![^(]*\))/g, ce = /:([^]+)/, le = /\/\*[^]*?\*\//g;
|
|
35
|
+
function ue(e) {
|
|
36
|
+
let t = {};
|
|
37
|
+
return e.replace(le, "").split(se).forEach((e) => {
|
|
38
|
+
if (e) {
|
|
39
|
+
let n = e.split(ce);
|
|
40
|
+
n.length > 1 && (t[n[0].trim()] = n[1].trim());
|
|
41
|
+
}
|
|
42
|
+
}), t;
|
|
43
|
+
}
|
|
44
|
+
function de(e) {
|
|
45
|
+
let t = "";
|
|
46
|
+
if (g(e)) t = e;
|
|
47
|
+
else if (f(e)) for (let n = 0; n < e.length; n++) {
|
|
48
|
+
let r = de(e[n]);
|
|
49
|
+
r && (t += r + " ");
|
|
50
|
+
}
|
|
51
|
+
else if (v(e)) for (let n in e) e[n] && (t += n + " ");
|
|
52
|
+
return t.trim();
|
|
53
|
+
}
|
|
54
|
+
//#endregion
|
|
55
|
+
//#region ../../node_modules/.pnpm/@vue+reactivity@3.5.42/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js
|
|
56
|
+
function w(e, ...t) {
|
|
57
|
+
console.warn(`[Vue warn] ${e}`, ...t);
|
|
58
|
+
}
|
|
59
|
+
var T, fe = /* @__PURE__ */ new WeakSet(), pe = class {
|
|
60
|
+
constructor(e) {
|
|
61
|
+
this.fn = e, this.deps = void 0, this.depsTail = void 0, this.flags = 5, this.next = void 0, this.cleanup = void 0, this.scheduler = void 0;
|
|
62
|
+
}
|
|
63
|
+
pause() {
|
|
64
|
+
this.flags |= 64;
|
|
65
|
+
}
|
|
66
|
+
resume() {
|
|
67
|
+
this.flags & 64 && (this.flags &= -65, fe.has(this) && (fe.delete(this), this.trigger()));
|
|
68
|
+
}
|
|
69
|
+
notify() {
|
|
70
|
+
this.flags & 2 && !(this.flags & 32) || this.flags & 8 || _e(this);
|
|
71
|
+
}
|
|
72
|
+
run() {
|
|
73
|
+
if (!(this.flags & 1)) return this.fn();
|
|
74
|
+
this.flags |= 2, De(this), be(this);
|
|
75
|
+
let e = T, t = E;
|
|
76
|
+
T = this, E = !0;
|
|
77
|
+
try {
|
|
78
|
+
return this.fn();
|
|
79
|
+
} finally {
|
|
80
|
+
process.env.NODE_ENV !== "production" && T !== this && w("Active effect was not restored correctly - this is likely a Vue internal bug."), xe(this), T = e, E = t, this.flags &= -3;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
stop() {
|
|
84
|
+
if (this.flags & 1) {
|
|
85
|
+
for (let e = this.deps; e; e = e.nextDep) we(e);
|
|
86
|
+
this.deps = this.depsTail = void 0, De(this), this.onStop && this.onStop(), this.flags &= -2;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
trigger() {
|
|
90
|
+
this.flags & 64 ? fe.add(this) : this.scheduler ? this.scheduler() : this.runIfDirty();
|
|
91
|
+
}
|
|
92
|
+
runIfDirty() {
|
|
93
|
+
Se(this) && this.run();
|
|
94
|
+
}
|
|
95
|
+
get dirty() {
|
|
96
|
+
return Se(this);
|
|
97
|
+
}
|
|
98
|
+
}, me = 0, he, ge;
|
|
99
|
+
function _e(e, t = !1) {
|
|
100
|
+
if (e.flags |= 8, t) {
|
|
101
|
+
e.next = ge, ge = e;
|
|
102
|
+
return;
|
|
103
|
+
}
|
|
104
|
+
e.next = he, he = e;
|
|
105
|
+
}
|
|
106
|
+
function ve() {
|
|
107
|
+
me++;
|
|
108
|
+
}
|
|
109
|
+
function ye() {
|
|
110
|
+
if (--me > 0) return;
|
|
111
|
+
if (ge) {
|
|
112
|
+
let e = ge;
|
|
113
|
+
for (ge = void 0; e;) {
|
|
114
|
+
let t = e.next;
|
|
115
|
+
e.next = void 0, e.flags &= -9, e = t;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
let e;
|
|
119
|
+
for (; he;) {
|
|
120
|
+
let t = he;
|
|
121
|
+
for (he = void 0; t;) {
|
|
122
|
+
let n = t.next;
|
|
123
|
+
if (t.next = void 0, t.flags &= -9, t.flags & 1) try {
|
|
124
|
+
t.trigger();
|
|
125
|
+
} catch (t) {
|
|
126
|
+
e ||= t;
|
|
127
|
+
}
|
|
128
|
+
t = n;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
if (e) throw e;
|
|
132
|
+
}
|
|
133
|
+
function be(e) {
|
|
134
|
+
for (let t = e.deps; t; t = t.nextDep) t.version = -1, t.prevActiveLink = t.dep.activeLink, t.dep.activeLink = t;
|
|
135
|
+
}
|
|
136
|
+
function xe(e) {
|
|
137
|
+
let t, n = e.depsTail, r = n;
|
|
138
|
+
for (; r;) {
|
|
139
|
+
let e = r.prevDep;
|
|
140
|
+
r.version === -1 ? (r === n && (n = e), we(r), Te(r)) : t = r, r.dep.activeLink = r.prevActiveLink, r.prevActiveLink = void 0, r = e;
|
|
141
|
+
}
|
|
142
|
+
e.deps = t, e.depsTail = n;
|
|
143
|
+
}
|
|
144
|
+
function Se(e) {
|
|
145
|
+
for (let t = e.deps; t; t = t.nextDep) if (t.dep.version !== t.version || t.dep.computed && (Ce(t.dep.computed) || t.dep.version !== t.version)) return !0;
|
|
146
|
+
return !!e._dirty;
|
|
147
|
+
}
|
|
148
|
+
function Ce(e) {
|
|
149
|
+
if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion === k) || (e.globalVersion = k, !e.isSSR && e.flags & 128 && (!e.deps && !e._dirty || !Se(e)))) return;
|
|
150
|
+
e.flags |= 2;
|
|
151
|
+
let t = e.dep, n = T, r = E;
|
|
152
|
+
T = e, E = !0;
|
|
153
|
+
try {
|
|
154
|
+
be(e);
|
|
155
|
+
let n = e.fn(e._value);
|
|
156
|
+
(t.version === 0 || C(n, e._value)) && (e.flags |= 128, e._value = n, t.version++);
|
|
157
|
+
} catch (e) {
|
|
158
|
+
throw t.version++, e;
|
|
159
|
+
} finally {
|
|
160
|
+
T = n, E = r, xe(e), e.flags &= -3;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
function we(e, t = !1) {
|
|
164
|
+
let { dep: n, prevSub: r, nextSub: i } = e;
|
|
165
|
+
if (r && (r.nextSub = i, e.prevSub = void 0), i && (i.prevSub = r, e.nextSub = void 0), process.env.NODE_ENV !== "production" && n.subsHead === e && (n.subsHead = i), n.subs === e && (n.subs = r, !r && n.computed)) {
|
|
166
|
+
n.computed.flags &= -5;
|
|
167
|
+
for (let e = n.computed.deps; e; e = e.nextDep) we(e, !0);
|
|
168
|
+
}
|
|
169
|
+
!t && !--n.sc && n.map && n.map.delete(n.key);
|
|
170
|
+
}
|
|
171
|
+
function Te(e) {
|
|
172
|
+
let { prevDep: t, nextDep: n } = e;
|
|
173
|
+
t && (t.nextDep = n, e.prevDep = void 0), n && (n.prevDep = t, e.nextDep = void 0);
|
|
174
|
+
}
|
|
175
|
+
var E = !0, Ee = [];
|
|
176
|
+
function D() {
|
|
177
|
+
Ee.push(E), E = !1;
|
|
178
|
+
}
|
|
179
|
+
function O() {
|
|
180
|
+
let e = Ee.pop();
|
|
181
|
+
E = e === void 0 || e;
|
|
182
|
+
}
|
|
183
|
+
function De(e) {
|
|
184
|
+
let { cleanup: t } = e;
|
|
185
|
+
if (e.cleanup = void 0, t) {
|
|
186
|
+
let e = T;
|
|
187
|
+
T = void 0;
|
|
188
|
+
try {
|
|
189
|
+
t();
|
|
190
|
+
} finally {
|
|
191
|
+
T = e;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
var k = 0, Oe = class {
|
|
196
|
+
constructor(e, t) {
|
|
197
|
+
this.sub = e, this.dep = t, this.version = t.version, this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0;
|
|
198
|
+
}
|
|
199
|
+
}, ke = class {
|
|
200
|
+
constructor(e) {
|
|
201
|
+
this.computed = e, this.version = 0, this.activeLink = void 0, this.subs = void 0, this.map = void 0, this.key = void 0, this.sc = 0, this.__v_skip = !0, process.env.NODE_ENV !== "production" && (this.subsHead = void 0);
|
|
202
|
+
}
|
|
203
|
+
track(e) {
|
|
204
|
+
if (!T || !E || T === this.computed) return;
|
|
205
|
+
let t = this.activeLink;
|
|
206
|
+
if (t === void 0 || t.sub !== T) t = this.activeLink = new Oe(T, this), T.deps ? (t.prevDep = T.depsTail, T.depsTail.nextDep = t, T.depsTail = t) : T.deps = T.depsTail = t, Ae(t);
|
|
207
|
+
else if (t.version === -1 && (t.version = this.version, t.nextDep)) {
|
|
208
|
+
let e = t.nextDep;
|
|
209
|
+
e.prevDep = t.prevDep, t.prevDep && (t.prevDep.nextDep = e), t.prevDep = T.depsTail, t.nextDep = void 0, T.depsTail.nextDep = t, T.depsTail = t, T.deps === t && (T.deps = e);
|
|
210
|
+
}
|
|
211
|
+
return process.env.NODE_ENV !== "production" && T.onTrack && T.onTrack(l({ effect: T }, e)), t;
|
|
212
|
+
}
|
|
213
|
+
trigger(e) {
|
|
214
|
+
this.version++, k++, this.notify(e);
|
|
215
|
+
}
|
|
216
|
+
notify(e) {
|
|
217
|
+
ve();
|
|
218
|
+
try {
|
|
219
|
+
if (process.env.NODE_ENV !== "production") for (let t = this.subsHead; t; t = t.nextSub) t.sub.onTrigger && !(t.sub.flags & 8) && t.sub.onTrigger(l({ effect: t.sub }, e));
|
|
220
|
+
for (let e = this.subs; e; e = e.prevSub) e.sub.notify() && e.sub.dep.notify();
|
|
221
|
+
} finally {
|
|
222
|
+
ye();
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
};
|
|
226
|
+
function Ae(e) {
|
|
227
|
+
if (e.dep.sc++, e.sub.flags & 4) {
|
|
228
|
+
let t = e.dep.computed;
|
|
229
|
+
if (t && !e.dep.subs) {
|
|
230
|
+
t.flags |= 20;
|
|
231
|
+
for (let e = t.deps; e; e = e.nextDep) Ae(e);
|
|
232
|
+
}
|
|
233
|
+
let n = e.dep.subs;
|
|
234
|
+
n !== e && (e.prevSub = n, n && (n.nextSub = e)), process.env.NODE_ENV !== "production" && e.dep.subsHead === void 0 && (e.dep.subsHead = e), e.dep.subs = e;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
var je = /* @__PURE__ */ new WeakMap(), A = /* @__PURE__ */ Symbol(process.env.NODE_ENV === "production" ? "" : "Object iterate"), Me = /* @__PURE__ */ Symbol(process.env.NODE_ENV === "production" ? "" : "Map keys iterate"), Ne = /* @__PURE__ */ Symbol(process.env.NODE_ENV === "production" ? "" : "Array iterate");
|
|
238
|
+
function j(e, t, n) {
|
|
239
|
+
if (E && T) {
|
|
240
|
+
let r = je.get(e);
|
|
241
|
+
r || je.set(e, r = /* @__PURE__ */ new Map());
|
|
242
|
+
let i = r.get(n);
|
|
243
|
+
i || (r.set(n, i = new ke()), i.map = r, i.key = n), process.env.NODE_ENV === "production" ? i.track() : i.track({
|
|
244
|
+
target: e,
|
|
245
|
+
type: t,
|
|
246
|
+
key: n
|
|
247
|
+
});
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
function M(e, t, n, r, i, a) {
|
|
251
|
+
let o = je.get(e);
|
|
252
|
+
if (!o) {
|
|
253
|
+
k++;
|
|
254
|
+
return;
|
|
255
|
+
}
|
|
256
|
+
let s = (o) => {
|
|
257
|
+
o && (process.env.NODE_ENV === "production" ? o.trigger() : o.trigger({
|
|
258
|
+
target: e,
|
|
259
|
+
type: t,
|
|
260
|
+
key: n,
|
|
261
|
+
newValue: r,
|
|
262
|
+
oldValue: i,
|
|
263
|
+
oldTarget: a
|
|
264
|
+
}));
|
|
265
|
+
};
|
|
266
|
+
if (ve(), t === "clear") o.forEach(s);
|
|
267
|
+
else {
|
|
268
|
+
let i = f(e), a = i && te(n);
|
|
269
|
+
if (i && n === "length") {
|
|
270
|
+
let e = Number(r);
|
|
271
|
+
o.forEach((t, n) => {
|
|
272
|
+
(n === "length" || n === Ne || !_(n) && n >= e) && s(t);
|
|
273
|
+
});
|
|
274
|
+
} else switch ((n !== void 0 || o.has(void 0)) && s(o.get(n)), a && s(o.get(Ne)), t) {
|
|
275
|
+
case "add":
|
|
276
|
+
i ? a && s(o.get("length")) : (s(o.get(A)), p(e) && s(o.get(Me)));
|
|
277
|
+
break;
|
|
278
|
+
case "delete":
|
|
279
|
+
i || (s(o.get(A)), p(e) && s(o.get(Me)));
|
|
280
|
+
break;
|
|
281
|
+
case "set": p(e) && s(o.get(A));
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
ye();
|
|
285
|
+
}
|
|
286
|
+
function N(e) {
|
|
287
|
+
let t = /* @__PURE__ */ B(e);
|
|
288
|
+
return t === e ? t : (j(t, "iterate", Ne), /* @__PURE__ */ z(e) ? t : t.map(V));
|
|
289
|
+
}
|
|
290
|
+
function Pe(e) {
|
|
291
|
+
return j(e = /* @__PURE__ */ B(e), "iterate", Ne), e;
|
|
292
|
+
}
|
|
293
|
+
function P(e, t) {
|
|
294
|
+
return /* @__PURE__ */ R(e) ? gt(/* @__PURE__ */ L(e) ? V(t) : t) : V(t);
|
|
295
|
+
}
|
|
296
|
+
var Fe = {
|
|
297
|
+
__proto__: null,
|
|
298
|
+
[Symbol.iterator]() {
|
|
299
|
+
return Ie(this, Symbol.iterator, (e) => P(this, e));
|
|
300
|
+
},
|
|
301
|
+
concat(...e) {
|
|
302
|
+
return N(this).concat(...e.map((e) => f(e) ? N(e) : e));
|
|
303
|
+
},
|
|
304
|
+
entries() {
|
|
305
|
+
return Ie(this, "entries", (e) => (e[1] = P(this, e[1]), e));
|
|
306
|
+
},
|
|
307
|
+
every(e, t) {
|
|
308
|
+
return F(this, "every", e, t, void 0, arguments);
|
|
309
|
+
},
|
|
310
|
+
filter(e, t) {
|
|
311
|
+
return F(this, "filter", e, t, (e) => e.map((e) => P(this, e)), arguments);
|
|
312
|
+
},
|
|
313
|
+
find(e, t) {
|
|
314
|
+
return F(this, "find", e, t, (e) => P(this, e), arguments);
|
|
315
|
+
},
|
|
316
|
+
findIndex(e, t) {
|
|
317
|
+
return F(this, "findIndex", e, t, void 0, arguments);
|
|
318
|
+
},
|
|
319
|
+
findLast(e, t) {
|
|
320
|
+
return F(this, "findLast", e, t, (e) => P(this, e), arguments);
|
|
321
|
+
},
|
|
322
|
+
findLastIndex(e, t) {
|
|
323
|
+
return F(this, "findLastIndex", e, t, void 0, arguments);
|
|
324
|
+
},
|
|
325
|
+
forEach(e, t) {
|
|
326
|
+
return F(this, "forEach", e, t, void 0, arguments);
|
|
327
|
+
},
|
|
328
|
+
includes(...e) {
|
|
329
|
+
return ze(this, "includes", e);
|
|
330
|
+
},
|
|
331
|
+
indexOf(...e) {
|
|
332
|
+
return ze(this, "indexOf", e);
|
|
333
|
+
},
|
|
334
|
+
join(e) {
|
|
335
|
+
return N(this).join(e);
|
|
336
|
+
},
|
|
337
|
+
lastIndexOf(...e) {
|
|
338
|
+
return ze(this, "lastIndexOf", e);
|
|
339
|
+
},
|
|
340
|
+
map(e, t) {
|
|
341
|
+
return F(this, "map", e, t, void 0, arguments);
|
|
342
|
+
},
|
|
343
|
+
pop() {
|
|
344
|
+
return I(this, "pop");
|
|
345
|
+
},
|
|
346
|
+
push(...e) {
|
|
347
|
+
return I(this, "push", e);
|
|
348
|
+
},
|
|
349
|
+
reduce(e, ...t) {
|
|
350
|
+
return Re(this, "reduce", e, t);
|
|
351
|
+
},
|
|
352
|
+
reduceRight(e, ...t) {
|
|
353
|
+
return Re(this, "reduceRight", e, t);
|
|
354
|
+
},
|
|
355
|
+
shift() {
|
|
356
|
+
return I(this, "shift");
|
|
357
|
+
},
|
|
358
|
+
some(e, t) {
|
|
359
|
+
return F(this, "some", e, t, void 0, arguments);
|
|
360
|
+
},
|
|
361
|
+
splice(...e) {
|
|
362
|
+
return I(this, "splice", e);
|
|
363
|
+
},
|
|
364
|
+
toReversed() {
|
|
365
|
+
return N(this).toReversed();
|
|
366
|
+
},
|
|
367
|
+
toSorted(e) {
|
|
368
|
+
return N(this).toSorted(e);
|
|
369
|
+
},
|
|
370
|
+
toSpliced(...e) {
|
|
371
|
+
return N(this).toSpliced(...e);
|
|
372
|
+
},
|
|
373
|
+
unshift(...e) {
|
|
374
|
+
return I(this, "unshift", e);
|
|
375
|
+
},
|
|
376
|
+
values() {
|
|
377
|
+
return Ie(this, "values", (e) => P(this, e));
|
|
378
|
+
}
|
|
379
|
+
};
|
|
380
|
+
function Ie(e, t, n) {
|
|
381
|
+
let r = Pe(e), i = r[t]();
|
|
382
|
+
return r !== e && !/* @__PURE__ */ z(e) && (i._next = i.next, i.next = () => {
|
|
383
|
+
let e = i._next();
|
|
384
|
+
return e.done || (e.value = n(e.value)), e;
|
|
385
|
+
}), i;
|
|
386
|
+
}
|
|
387
|
+
var Le = Array.prototype;
|
|
388
|
+
function F(e, t, n, r, i, a) {
|
|
389
|
+
let o = Pe(e), s = o !== e && !/* @__PURE__ */ z(e), c = o[t];
|
|
390
|
+
if (c !== Le[t]) {
|
|
391
|
+
let t = c.apply(e, a);
|
|
392
|
+
return s ? V(t) : t;
|
|
393
|
+
}
|
|
394
|
+
let l = n;
|
|
395
|
+
o !== e && (s ? l = function(t, r) {
|
|
396
|
+
return n.call(this, P(e, t), r, e);
|
|
397
|
+
} : n.length > 2 && (l = function(t, r) {
|
|
398
|
+
return n.call(this, t, r, e);
|
|
399
|
+
}));
|
|
400
|
+
let u = c.call(o, l, r);
|
|
401
|
+
return s && i ? i(u) : u;
|
|
402
|
+
}
|
|
403
|
+
function Re(e, t, n, r) {
|
|
404
|
+
let i = Pe(e), a = i !== e && !/* @__PURE__ */ z(e), o = n, s = !1;
|
|
405
|
+
i !== e && (a ? (s = r.length === 0, o = function(t, r, i) {
|
|
406
|
+
return s && (s = !1, t = P(e, t)), n.call(this, t, P(e, r), i, e);
|
|
407
|
+
}) : n.length > 3 && (o = function(t, r, i) {
|
|
408
|
+
return n.call(this, t, r, i, e);
|
|
409
|
+
}));
|
|
410
|
+
let c = i[t](o, ...r);
|
|
411
|
+
return s ? P(e, c) : c;
|
|
412
|
+
}
|
|
413
|
+
function ze(e, t, n) {
|
|
414
|
+
let r = /* @__PURE__ */ B(e);
|
|
415
|
+
j(r, "iterate", Ne);
|
|
416
|
+
let i = r[t](...n);
|
|
417
|
+
return (i === -1 || i === !1) && /* @__PURE__ */ mt(n[0]) ? (n[0] = /* @__PURE__ */ B(n[0]), r[t](...n)) : i;
|
|
418
|
+
}
|
|
419
|
+
function I(e, t, n = []) {
|
|
420
|
+
D(), ve();
|
|
421
|
+
let r = (/* @__PURE__ */ B(e))[t].apply(e, n);
|
|
422
|
+
return ye(), O(), r;
|
|
423
|
+
}
|
|
424
|
+
var Be = /* @__PURE__ */ i("__proto__,__v_isRef,__isVue"), Ve = new Set(/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(_));
|
|
425
|
+
function He(e) {
|
|
426
|
+
_(e) || (e = String(e));
|
|
427
|
+
let t = /* @__PURE__ */ B(this);
|
|
428
|
+
return j(t, "has", e), t.hasOwnProperty(e);
|
|
429
|
+
}
|
|
430
|
+
var Ue = class {
|
|
431
|
+
constructor(e = !1, t = !1) {
|
|
432
|
+
this._isReadonly = e, this._isShallow = t;
|
|
433
|
+
}
|
|
434
|
+
get(e, t, n) {
|
|
435
|
+
if (t === "__v_skip") return e.__v_skip;
|
|
436
|
+
let r = this._isReadonly, i = this._isShallow;
|
|
437
|
+
if (t === "__v_isReactive") return !r;
|
|
438
|
+
if (t === "__v_isReadonly") return r;
|
|
439
|
+
if (t === "__v_isShallow") return i;
|
|
440
|
+
if (t === "__v_raw") return n === (r ? i ? ct : st : i ? ot : at).get(e) || Object.getPrototypeOf(e) === Object.getPrototypeOf(n) ? e : void 0;
|
|
441
|
+
let a = f(e);
|
|
442
|
+
if (!r) {
|
|
443
|
+
let e;
|
|
444
|
+
if (a && (e = Fe[t])) return e;
|
|
445
|
+
if (t === "hasOwnProperty") return He;
|
|
446
|
+
}
|
|
447
|
+
let o = Reflect.get(e, t, /* @__PURE__ */ H(e) ? e : n);
|
|
448
|
+
if ((_(t) ? Ve.has(t) : Be(t)) || (r || j(e, "get", t), i)) return o;
|
|
449
|
+
if (/* @__PURE__ */ H(o)) {
|
|
450
|
+
let e = a && te(t) ? o : o.value;
|
|
451
|
+
return r && v(e) ? /* @__PURE__ */ dt(e) : e;
|
|
452
|
+
}
|
|
453
|
+
return v(o) ? r ? /* @__PURE__ */ dt(o) : /* @__PURE__ */ ut(o) : o;
|
|
454
|
+
}
|
|
455
|
+
}, We = class extends Ue {
|
|
456
|
+
constructor(e = !1) {
|
|
457
|
+
super(!1, e);
|
|
458
|
+
}
|
|
459
|
+
set(e, t, n, r) {
|
|
460
|
+
let i = e[t], a = f(e) && te(t);
|
|
461
|
+
if (!this._isShallow) {
|
|
462
|
+
let r = /* @__PURE__ */ R(i);
|
|
463
|
+
if (!/* @__PURE__ */ z(n) && !/* @__PURE__ */ R(n) && (i = /* @__PURE__ */ B(i), n = /* @__PURE__ */ B(n)), !a && /* @__PURE__ */ H(i) && !/* @__PURE__ */ H(n)) return r ? (process.env.NODE_ENV !== "production" && w(`Set operation on key "${String(t)}" failed: target is readonly.`, e[t]), !0) : (i.value = n, !0);
|
|
464
|
+
}
|
|
465
|
+
let o = a ? Number(t) < e.length : d(e, t), s = Reflect.set(e, t, n, /* @__PURE__ */ H(e) ? e : r);
|
|
466
|
+
return e === /* @__PURE__ */ B(r) && s && (o ? C(n, i) && M(e, "set", t, n, i) : M(e, "add", t, n)), s;
|
|
467
|
+
}
|
|
468
|
+
deleteProperty(e, t) {
|
|
469
|
+
let n = d(e, t), r = e[t], i = Reflect.deleteProperty(e, t);
|
|
470
|
+
return i && n && M(e, "delete", t, void 0, r), i;
|
|
471
|
+
}
|
|
472
|
+
has(e, t) {
|
|
473
|
+
let n = Reflect.has(e, t);
|
|
474
|
+
return (!_(t) || !Ve.has(t)) && j(e, "has", t), n;
|
|
475
|
+
}
|
|
476
|
+
ownKeys(e) {
|
|
477
|
+
return j(e, "iterate", f(e) ? "length" : A), Reflect.ownKeys(e);
|
|
478
|
+
}
|
|
479
|
+
}, Ge = class extends Ue {
|
|
480
|
+
constructor(e = !1) {
|
|
481
|
+
super(!0, e);
|
|
482
|
+
}
|
|
483
|
+
set(e, t) {
|
|
484
|
+
return process.env.NODE_ENV !== "production" && w(`Set operation on key "${String(t)}" failed: target is readonly.`, e), !0;
|
|
485
|
+
}
|
|
486
|
+
deleteProperty(e, t) {
|
|
487
|
+
return process.env.NODE_ENV !== "production" && w(`Delete operation on key "${String(t)}" failed: target is readonly.`, e), !0;
|
|
488
|
+
}
|
|
489
|
+
}, Ke = /* @__PURE__ */ new We(), qe = /* @__PURE__ */ new Ge(), Je = /* @__PURE__ */ new Ge(!0), Ye = (e) => e, Xe = (e) => Reflect.getPrototypeOf(e);
|
|
490
|
+
function Ze(e, t, n) {
|
|
491
|
+
return function(...r) {
|
|
492
|
+
let i = this.__v_raw, a = /* @__PURE__ */ B(i), o = p(a), s = e === "entries" || e === Symbol.iterator && o, c = e === "keys" && o, u = i[e](...r), d = n ? Ye : t ? gt : V;
|
|
493
|
+
return !t && j(a, "iterate", c ? Me : A), l(Object.create(u), { next() {
|
|
494
|
+
let { value: e, done: t } = u.next();
|
|
495
|
+
return t ? {
|
|
496
|
+
value: e,
|
|
497
|
+
done: t
|
|
498
|
+
} : {
|
|
499
|
+
value: s ? [d(e[0]), d(e[1])] : d(e),
|
|
500
|
+
done: t
|
|
501
|
+
};
|
|
502
|
+
} });
|
|
503
|
+
};
|
|
504
|
+
}
|
|
505
|
+
function Qe(e) {
|
|
506
|
+
return function(...t) {
|
|
507
|
+
if (process.env.NODE_ENV !== "production") {
|
|
508
|
+
let n = t[0] ? `on key "${t[0]}" ` : "";
|
|
509
|
+
w(`${ne(e)} operation ${n}failed: target is readonly.`, /* @__PURE__ */ B(this));
|
|
510
|
+
}
|
|
511
|
+
return e === "delete" ? !1 : e === "clear" ? void 0 : this;
|
|
512
|
+
};
|
|
513
|
+
}
|
|
514
|
+
function $e(e, t) {
|
|
515
|
+
let n = {
|
|
516
|
+
get(n) {
|
|
517
|
+
let r = this.__v_raw, i = /* @__PURE__ */ B(r), a = /* @__PURE__ */ B(n);
|
|
518
|
+
e || (C(n, a) && j(i, "get", n), j(i, "get", a));
|
|
519
|
+
let { has: o } = Xe(i), s = t ? Ye : e ? gt : V;
|
|
520
|
+
if (o.call(i, n)) return s(r.get(n));
|
|
521
|
+
if (o.call(i, a)) return s(r.get(a));
|
|
522
|
+
r !== i && r.get(n);
|
|
523
|
+
},
|
|
524
|
+
get size() {
|
|
525
|
+
let t = this.__v_raw;
|
|
526
|
+
return !e && j(/* @__PURE__ */ B(t), "iterate", A), t.size;
|
|
527
|
+
},
|
|
528
|
+
has(t) {
|
|
529
|
+
let n = this.__v_raw, r = /* @__PURE__ */ B(n), i = /* @__PURE__ */ B(t);
|
|
530
|
+
return e || (C(t, i) && j(r, "has", t), j(r, "has", i)), t === i ? n.has(t) : n.has(t) || n.has(i);
|
|
531
|
+
},
|
|
532
|
+
forEach(n, r) {
|
|
533
|
+
let i = this, a = i.__v_raw, o = /* @__PURE__ */ B(a), s = t ? Ye : e ? gt : V;
|
|
534
|
+
return !e && j(o, "iterate", A), a.forEach((e, t) => n.call(r, s(e), s(t), i));
|
|
535
|
+
}
|
|
536
|
+
};
|
|
537
|
+
return l(n, e ? {
|
|
538
|
+
add: Qe("add"),
|
|
539
|
+
set: Qe("set"),
|
|
540
|
+
delete: Qe("delete"),
|
|
541
|
+
clear: Qe("clear")
|
|
542
|
+
} : {
|
|
543
|
+
add(e) {
|
|
544
|
+
let n = /* @__PURE__ */ B(this), r = Xe(n), i = /* @__PURE__ */ B(e), a = !t && !/* @__PURE__ */ z(e) && !/* @__PURE__ */ R(e) ? i : e;
|
|
545
|
+
return r.has.call(n, a) || C(e, a) && r.has.call(n, e) || C(i, a) && r.has.call(n, i) || (n.add(a), M(n, "add", a, a)), this;
|
|
546
|
+
},
|
|
547
|
+
set(e, n) {
|
|
548
|
+
!t && !/* @__PURE__ */ z(n) && !/* @__PURE__ */ R(n) && (n = /* @__PURE__ */ B(n));
|
|
549
|
+
let r = /* @__PURE__ */ B(this), { has: i, get: a } = Xe(r), o = i.call(r, e);
|
|
550
|
+
o ? process.env.NODE_ENV !== "production" && it(r, i, e) : (e = /* @__PURE__ */ B(e), o = i.call(r, e));
|
|
551
|
+
let s = a.call(r, e);
|
|
552
|
+
return r.set(e, n), o ? C(n, s) && M(r, "set", e, n, s) : M(r, "add", e, n), this;
|
|
553
|
+
},
|
|
554
|
+
delete(e) {
|
|
555
|
+
let t = /* @__PURE__ */ B(this), { has: n, get: r } = Xe(t), i = n.call(t, e);
|
|
556
|
+
i ? process.env.NODE_ENV !== "production" && it(t, n, e) : (e = /* @__PURE__ */ B(e), i = n.call(t, e));
|
|
557
|
+
let a = r ? r.call(t, e) : void 0, o = t.delete(e);
|
|
558
|
+
return i && M(t, "delete", e, void 0, a), o;
|
|
559
|
+
},
|
|
560
|
+
clear() {
|
|
561
|
+
let e = /* @__PURE__ */ B(this), t = e.size !== 0, n = process.env.NODE_ENV === "production" ? void 0 : p(e) ? new Map(e) : new Set(e), r = e.clear();
|
|
562
|
+
return t && M(e, "clear", void 0, void 0, n), r;
|
|
563
|
+
}
|
|
564
|
+
}), [
|
|
565
|
+
"keys",
|
|
566
|
+
"values",
|
|
567
|
+
"entries",
|
|
568
|
+
Symbol.iterator
|
|
569
|
+
].forEach((r) => {
|
|
570
|
+
n[r] = Ze(r, e, t);
|
|
571
|
+
}), n;
|
|
572
|
+
}
|
|
573
|
+
function et(e, t) {
|
|
574
|
+
let n = $e(e, t);
|
|
575
|
+
return (t, r, i) => r === "__v_isReactive" ? !e : r === "__v_isReadonly" ? e : r === "__v_raw" ? t : Reflect.get(d(n, r) && r in t ? n : t, r, i);
|
|
576
|
+
}
|
|
577
|
+
var tt = { get: /* @__PURE__ */ et(!1, !1) }, nt = { get: /* @__PURE__ */ et(!0, !1) }, rt = { get: /* @__PURE__ */ et(!0, !0) };
|
|
578
|
+
function it(e, t, n) {
|
|
579
|
+
let r = /* @__PURE__ */ B(n);
|
|
580
|
+
if (r !== n && t.call(e, r)) {
|
|
581
|
+
let t = x(e);
|
|
582
|
+
w(`Reactive ${t} contains both the raw and reactive versions of the same object${t === "Map" ? " as keys" : ""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`);
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
var at = /* @__PURE__ */ new WeakMap(), ot = /* @__PURE__ */ new WeakMap(), st = /* @__PURE__ */ new WeakMap(), ct = /* @__PURE__ */ new WeakMap();
|
|
586
|
+
function lt(e) {
|
|
587
|
+
switch (e) {
|
|
588
|
+
case "Object":
|
|
589
|
+
case "Array": return 1;
|
|
590
|
+
case "Map":
|
|
591
|
+
case "Set":
|
|
592
|
+
case "WeakMap":
|
|
593
|
+
case "WeakSet": return 2;
|
|
594
|
+
default: return 0;
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
// @__NO_SIDE_EFFECTS__
|
|
598
|
+
function ut(e) {
|
|
599
|
+
return /* @__PURE__ */ R(e) ? e : pt(e, !1, Ke, tt, at);
|
|
600
|
+
}
|
|
601
|
+
// @__NO_SIDE_EFFECTS__
|
|
602
|
+
function dt(e) {
|
|
603
|
+
return pt(e, !0, qe, nt, st);
|
|
604
|
+
}
|
|
605
|
+
// @__NO_SIDE_EFFECTS__
|
|
606
|
+
function ft(e) {
|
|
607
|
+
return pt(e, !0, Je, rt, ct);
|
|
608
|
+
}
|
|
609
|
+
function pt(e, t, n, r, i) {
|
|
610
|
+
if (!v(e)) return process.env.NODE_ENV !== "production" && w(`value cannot be made ${t ? "readonly" : "reactive"}: ${String(e)}`), e;
|
|
611
|
+
if (e.__v_raw && !(t && e.__v_isReactive) || e.__v_skip || !Object.isExtensible(e)) return e;
|
|
612
|
+
let a = i.get(e);
|
|
613
|
+
if (a) return a;
|
|
614
|
+
let o = lt(x(e));
|
|
615
|
+
if (o === 0) return e;
|
|
616
|
+
let s = new Proxy(e, o === 2 ? r : n);
|
|
617
|
+
return i.set(e, s), s;
|
|
618
|
+
}
|
|
619
|
+
// @__NO_SIDE_EFFECTS__
|
|
620
|
+
function L(e) {
|
|
621
|
+
return /* @__PURE__ */ R(e) ? /* @__PURE__ */ L(e.__v_raw) : !!(e && e.__v_isReactive);
|
|
622
|
+
}
|
|
623
|
+
// @__NO_SIDE_EFFECTS__
|
|
624
|
+
function R(e) {
|
|
625
|
+
return !!(e && e.__v_isReadonly);
|
|
626
|
+
}
|
|
627
|
+
// @__NO_SIDE_EFFECTS__
|
|
628
|
+
function z(e) {
|
|
629
|
+
return !!(e && e.__v_isShallow);
|
|
630
|
+
}
|
|
631
|
+
// @__NO_SIDE_EFFECTS__
|
|
632
|
+
function mt(e) {
|
|
633
|
+
return e ? !!e.__v_raw : !1;
|
|
634
|
+
}
|
|
635
|
+
// @__NO_SIDE_EFFECTS__
|
|
636
|
+
function B(e) {
|
|
637
|
+
let t = e && e.__v_raw;
|
|
638
|
+
return t ? /* @__PURE__ */ B(t) : e;
|
|
639
|
+
}
|
|
640
|
+
function ht(e) {
|
|
641
|
+
return !d(e, "__v_skip") && Object.isExtensible(e) && re(e, "__v_skip", !0), e;
|
|
642
|
+
}
|
|
643
|
+
var V = (e) => v(e) ? /* @__PURE__ */ ut(e) : e, gt = (e) => v(e) ? /* @__PURE__ */ dt(e) : e;
|
|
644
|
+
// @__NO_SIDE_EFFECTS__
|
|
645
|
+
function H(e) {
|
|
646
|
+
return e ? e.__v_isRef === !0 : !1;
|
|
647
|
+
}
|
|
648
|
+
// @__NO_SIDE_EFFECTS__
|
|
649
|
+
function _t(e) {
|
|
650
|
+
return vt(e, !1);
|
|
651
|
+
}
|
|
652
|
+
function vt(e, t) {
|
|
653
|
+
return /* @__PURE__ */ H(e) ? e : new yt(e, t);
|
|
654
|
+
}
|
|
655
|
+
var yt = class {
|
|
656
|
+
constructor(e, t) {
|
|
657
|
+
this.dep = new ke(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = t ? e : /* @__PURE__ */ B(e), this._value = t ? e : V(e), this.__v_isShallow = t;
|
|
658
|
+
}
|
|
659
|
+
get value() {
|
|
660
|
+
return process.env.NODE_ENV === "production" ? this.dep.track() : this.dep.track({
|
|
661
|
+
target: this,
|
|
662
|
+
type: "get",
|
|
663
|
+
key: "value"
|
|
664
|
+
}), this._value;
|
|
665
|
+
}
|
|
666
|
+
set value(e) {
|
|
667
|
+
let t = this._rawValue, n = this.__v_isShallow || /* @__PURE__ */ z(e) || /* @__PURE__ */ R(e);
|
|
668
|
+
e = n ? e : /* @__PURE__ */ B(e), C(e, t) && (this._rawValue = e, this._value = n ? e : V(e), process.env.NODE_ENV === "production" ? this.dep.trigger() : this.dep.trigger({
|
|
669
|
+
target: this,
|
|
670
|
+
type: "set",
|
|
671
|
+
key: "value",
|
|
672
|
+
newValue: e,
|
|
673
|
+
oldValue: t
|
|
674
|
+
}));
|
|
675
|
+
}
|
|
676
|
+
};
|
|
677
|
+
function bt(e) {
|
|
678
|
+
return /* @__PURE__ */ H(e) ? e.value : e;
|
|
679
|
+
}
|
|
680
|
+
var xt = {
|
|
681
|
+
get: (e, t, n) => t === "__v_raw" ? e : bt(Reflect.get(e, t, n)),
|
|
682
|
+
set: (e, t, n, r) => {
|
|
683
|
+
let i = e[t];
|
|
684
|
+
return /* @__PURE__ */ H(i) && !/* @__PURE__ */ H(n) ? (i.value = n, !0) : Reflect.set(e, t, n, r);
|
|
685
|
+
}
|
|
686
|
+
};
|
|
687
|
+
function St(e) {
|
|
688
|
+
return /* @__PURE__ */ L(e) ? e : new Proxy(e, xt);
|
|
689
|
+
}
|
|
690
|
+
var Ct = class {
|
|
691
|
+
constructor(e, t, n) {
|
|
692
|
+
this.fn = e, this.setter = t, this._value = void 0, this.dep = new ke(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion = k - 1, this.next = void 0, this.effect = this, this.__v_isReadonly = !t, this.isSSR = n;
|
|
693
|
+
}
|
|
694
|
+
notify() {
|
|
695
|
+
if (this.flags |= 16, !(this.flags & 8) && T !== this) return _e(this, !0), !0;
|
|
696
|
+
process.env.NODE_ENV;
|
|
697
|
+
}
|
|
698
|
+
get value() {
|
|
699
|
+
let e = process.env.NODE_ENV === "production" ? this.dep.track() : this.dep.track({
|
|
700
|
+
target: this,
|
|
701
|
+
type: "get",
|
|
702
|
+
key: "value"
|
|
703
|
+
});
|
|
704
|
+
return Ce(this), e && (e.version = this.dep.version), this._value;
|
|
705
|
+
}
|
|
706
|
+
set value(e) {
|
|
707
|
+
this.setter ? this.setter(e) : process.env.NODE_ENV !== "production" && w("Write operation failed: computed value is readonly");
|
|
708
|
+
}
|
|
709
|
+
};
|
|
710
|
+
// @__NO_SIDE_EFFECTS__
|
|
711
|
+
function wt(e, t, n = !1) {
|
|
712
|
+
let r, i;
|
|
713
|
+
h(e) ? r = e : (r = e.get, i = e.set);
|
|
714
|
+
let a = new Ct(r, i, n);
|
|
715
|
+
return process.env.NODE_ENV !== "production" && t && !n && (a.onTrack = t.onTrack, a.onTrigger = t.onTrigger), a;
|
|
716
|
+
}
|
|
717
|
+
var Tt = {}, Et = /* @__PURE__ */ new WeakMap(), U = void 0;
|
|
718
|
+
function Dt(e, t = !1, n = U) {
|
|
719
|
+
if (n) {
|
|
720
|
+
let t = Et.get(n);
|
|
721
|
+
t || Et.set(n, t = []), t.push(e);
|
|
722
|
+
} else process.env.NODE_ENV !== "production" && !t && w("onWatcherCleanup() was called when there was no active watcher to associate with.");
|
|
723
|
+
}
|
|
724
|
+
function Ot(e, t, n = a) {
|
|
725
|
+
let { immediate: r, deep: i, once: s, scheduler: c, augmentJob: l, call: u } = n, d = (e) => {
|
|
726
|
+
(n.onWarn || w)("Invalid watch source: ", e, "A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.");
|
|
727
|
+
}, p = (e) => i ? e : /* @__PURE__ */ z(e) || i === !1 || i === 0 ? W(e, 1) : W(e), m, g, _, v, y = !1, ee = !1;
|
|
728
|
+
if (/* @__PURE__ */ H(e) ? (g = () => e.value, y = /* @__PURE__ */ z(e)) : /* @__PURE__ */ L(e) ? (g = () => p(e), y = !0) : f(e) ? (ee = !0, y = e.some((e) => /* @__PURE__ */ L(e) || /* @__PURE__ */ z(e)), g = () => e.map((e) => {
|
|
729
|
+
if (/* @__PURE__ */ H(e)) return e.value;
|
|
730
|
+
if (/* @__PURE__ */ L(e)) return p(e);
|
|
731
|
+
if (h(e)) return u ? u(e, 2) : e();
|
|
732
|
+
process.env.NODE_ENV !== "production" && d(e);
|
|
733
|
+
})) : h(e) ? g = t ? u ? () => u(e, 2) : e : () => {
|
|
734
|
+
if (_) {
|
|
735
|
+
D();
|
|
736
|
+
try {
|
|
737
|
+
_();
|
|
738
|
+
} finally {
|
|
739
|
+
O();
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
let t = U;
|
|
743
|
+
U = m;
|
|
744
|
+
try {
|
|
745
|
+
return u ? u(e, 3, [v]) : e(v);
|
|
746
|
+
} finally {
|
|
747
|
+
U = t;
|
|
748
|
+
}
|
|
749
|
+
} : (g = o, process.env.NODE_ENV !== "production" && d(e)), t && i) {
|
|
750
|
+
let e = g, t = i === !0 ? Infinity : i;
|
|
751
|
+
g = () => W(e(), t);
|
|
752
|
+
}
|
|
753
|
+
let b = () => {
|
|
754
|
+
m.stop();
|
|
755
|
+
};
|
|
756
|
+
if (s && t) {
|
|
757
|
+
let e = t;
|
|
758
|
+
t = (...t) => {
|
|
759
|
+
let n = e(...t);
|
|
760
|
+
return b(), n;
|
|
761
|
+
};
|
|
762
|
+
}
|
|
763
|
+
let x = ee ? Array(e.length).fill(Tt) : Tt, S = (e) => {
|
|
764
|
+
if (m.flags & 1 && (m.dirty || e)) {
|
|
765
|
+
if (t) {
|
|
766
|
+
let n = m.run();
|
|
767
|
+
if (e || i || y || (ee ? n.some((e, t) => C(e, x[t])) : C(n, x))) {
|
|
768
|
+
_ && _();
|
|
769
|
+
let e = U;
|
|
770
|
+
U = m;
|
|
771
|
+
try {
|
|
772
|
+
let e = [
|
|
773
|
+
n,
|
|
774
|
+
x === Tt ? void 0 : ee && x[0] === Tt ? [] : x,
|
|
775
|
+
v
|
|
776
|
+
];
|
|
777
|
+
x = n, u ? u(t, 3, e) : t(...e);
|
|
778
|
+
} finally {
|
|
779
|
+
U = e;
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
} else m.run();
|
|
783
|
+
}
|
|
784
|
+
};
|
|
785
|
+
return l && l(S), m = new pe(g), m.scheduler = c ? () => c(S, !1) : S, v = (e) => Dt(e, !1, m), _ = m.onStop = () => {
|
|
786
|
+
let e = Et.get(m);
|
|
787
|
+
if (e) {
|
|
788
|
+
if (u) u(e, 4);
|
|
789
|
+
else for (let t of e) t();
|
|
790
|
+
Et.delete(m);
|
|
791
|
+
}
|
|
792
|
+
}, process.env.NODE_ENV !== "production" && (m.onTrack = n.onTrack, m.onTrigger = n.onTrigger), t ? r ? S(!0) : x = m.run() : c ? c(S.bind(null, !0), !0) : m.run(), b.pause = m.pause.bind(m), b.resume = m.resume.bind(m), b.stop = b, b;
|
|
793
|
+
}
|
|
794
|
+
function W(e, t = Infinity, n) {
|
|
795
|
+
if (t <= 0 || !v(e) || e.__v_skip || (n ||= /* @__PURE__ */ new Map(), (n.get(e) || 0) >= t)) return e;
|
|
796
|
+
if (n.set(e, t), t--, /* @__PURE__ */ H(e)) W(e.value, t, n);
|
|
797
|
+
else if (f(e)) for (let r = 0; r < e.length; r++) W(e[r], t, n);
|
|
798
|
+
else if (m(e) || p(e)) e.forEach((e) => {
|
|
799
|
+
W(e, t, n);
|
|
800
|
+
});
|
|
801
|
+
else if (S(e)) {
|
|
802
|
+
for (let r in e) W(e[r], t, n);
|
|
803
|
+
for (let r of Object.getOwnPropertySymbols(e)) Object.prototype.propertyIsEnumerable.call(e, r) && W(e[r], t, n);
|
|
804
|
+
}
|
|
805
|
+
return e;
|
|
806
|
+
}
|
|
807
|
+
//#endregion
|
|
808
|
+
//#region ../../node_modules/.pnpm/@vue+runtime-core@3.5.42/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js
|
|
809
|
+
var G = [];
|
|
810
|
+
function kt(e) {
|
|
811
|
+
G.push(e);
|
|
812
|
+
}
|
|
813
|
+
function At() {
|
|
814
|
+
G.pop();
|
|
815
|
+
}
|
|
816
|
+
var jt = !1;
|
|
817
|
+
function K(e, ...t) {
|
|
818
|
+
if (jt) return;
|
|
819
|
+
jt = !0, D();
|
|
820
|
+
let n = G.length ? G[G.length - 1].component : null, r = n && n.appContext.config.warnHandler, i = Mt();
|
|
821
|
+
if (r) Rt(r, n, 11, [
|
|
822
|
+
e + t.map((e) => e.toString?.call(e) ?? JSON.stringify(e)).join(""),
|
|
823
|
+
n && n.proxy,
|
|
824
|
+
i.map(({ vnode: e }) => `at <${_r(n, e.type)}>`).join("\n"),
|
|
825
|
+
i
|
|
826
|
+
]);
|
|
827
|
+
else {
|
|
828
|
+
let n = [`[Vue warn]: ${e}`, ...t];
|
|
829
|
+
i.length && n.push("\n", ...Nt(i)), console.warn(...n);
|
|
830
|
+
}
|
|
831
|
+
O(), jt = !1;
|
|
832
|
+
}
|
|
833
|
+
function Mt() {
|
|
834
|
+
let e = G[G.length - 1];
|
|
835
|
+
if (!e) return [];
|
|
836
|
+
let t = [];
|
|
837
|
+
for (; e;) {
|
|
838
|
+
let n = t[0];
|
|
839
|
+
n && n.vnode === e ? n.recurseCount++ : t.push({
|
|
840
|
+
vnode: e,
|
|
841
|
+
recurseCount: 0
|
|
842
|
+
});
|
|
843
|
+
let r = e.component && e.component.parent;
|
|
844
|
+
e = r && r.vnode;
|
|
845
|
+
}
|
|
846
|
+
return t;
|
|
847
|
+
}
|
|
848
|
+
function Nt(e) {
|
|
849
|
+
let t = [];
|
|
850
|
+
return e.forEach((e, n) => {
|
|
851
|
+
t.push(...n === 0 ? [] : ["\n"], ...Pt(e));
|
|
852
|
+
}), t;
|
|
853
|
+
}
|
|
854
|
+
function Pt({ vnode: e, recurseCount: t }) {
|
|
855
|
+
let n = t > 0 ? `... (${t} recursive calls)` : "", r = e.component ? e.component.parent == null : !1, i = ` at <${_r(e.component, e.type, r)}`, a = ">" + n;
|
|
856
|
+
return e.props ? [
|
|
857
|
+
i,
|
|
858
|
+
...Ft(e.props),
|
|
859
|
+
a
|
|
860
|
+
] : [i + a];
|
|
861
|
+
}
|
|
862
|
+
function Ft(e) {
|
|
863
|
+
let t = [], n = Object.keys(e);
|
|
864
|
+
return n.slice(0, 3).forEach((n) => {
|
|
865
|
+
t.push(...It(n, e[n]));
|
|
866
|
+
}), n.length > 3 && t.push(" ..."), t;
|
|
867
|
+
}
|
|
868
|
+
function It(e, t, n) {
|
|
869
|
+
return g(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : /* @__PURE__ */ H(t) ? (t = It(e, /* @__PURE__ */ B(t.value), !0), n ? t : [
|
|
870
|
+
`${e}=Ref<`,
|
|
871
|
+
t,
|
|
872
|
+
">"
|
|
873
|
+
]) : h(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = /* @__PURE__ */ B(t), n ? t : [`${e}=`, t]);
|
|
874
|
+
}
|
|
875
|
+
var Lt = {
|
|
876
|
+
sp: "serverPrefetch hook",
|
|
877
|
+
bc: "beforeCreate hook",
|
|
878
|
+
c: "created hook",
|
|
879
|
+
bm: "beforeMount hook",
|
|
880
|
+
m: "mounted hook",
|
|
881
|
+
bu: "beforeUpdate hook",
|
|
882
|
+
u: "updated",
|
|
883
|
+
bum: "beforeUnmount hook",
|
|
884
|
+
um: "unmounted hook",
|
|
885
|
+
a: "activated hook",
|
|
886
|
+
da: "deactivated hook",
|
|
887
|
+
ec: "errorCaptured hook",
|
|
888
|
+
rtc: "renderTracked hook",
|
|
889
|
+
rtg: "renderTriggered hook",
|
|
890
|
+
0: "setup function",
|
|
891
|
+
1: "render function",
|
|
892
|
+
2: "watcher getter",
|
|
893
|
+
3: "watcher callback",
|
|
894
|
+
4: "watcher cleanup function",
|
|
895
|
+
5: "native event handler",
|
|
896
|
+
6: "component event handler",
|
|
897
|
+
7: "vnode hook",
|
|
898
|
+
8: "directive hook",
|
|
899
|
+
9: "transition hook",
|
|
900
|
+
10: "app errorHandler",
|
|
901
|
+
11: "app warnHandler",
|
|
902
|
+
12: "ref function",
|
|
903
|
+
13: "async component loader",
|
|
904
|
+
14: "scheduler flush",
|
|
905
|
+
15: "component update",
|
|
906
|
+
16: "app unmount cleanup function"
|
|
907
|
+
};
|
|
908
|
+
function Rt(e, t, n, r) {
|
|
909
|
+
try {
|
|
910
|
+
return r ? e(...r) : e();
|
|
911
|
+
} catch (e) {
|
|
912
|
+
Bt(e, t, n);
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
function zt(e, t, n, r) {
|
|
916
|
+
if (h(e)) {
|
|
917
|
+
let i = Rt(e, t, n, r);
|
|
918
|
+
return i && y(i) && i.catch((e) => {
|
|
919
|
+
Bt(e, t, n);
|
|
920
|
+
}), i;
|
|
921
|
+
}
|
|
922
|
+
if (f(e)) {
|
|
923
|
+
let i = [];
|
|
924
|
+
for (let a = 0; a < e.length; a++) i.push(zt(e[a], t, n, r));
|
|
925
|
+
return i;
|
|
926
|
+
}
|
|
927
|
+
process.env.NODE_ENV !== "production" && K(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`);
|
|
928
|
+
}
|
|
929
|
+
function Bt(e, t, n, r = !0) {
|
|
930
|
+
let i = t ? t.vnode : null, { errorHandler: o, throwUnhandledErrorInProduction: s } = t && t.appContext.config || a;
|
|
931
|
+
if (t) {
|
|
932
|
+
let r = t.parent, i = t.proxy, a = process.env.NODE_ENV === "production" ? `https://vuejs.org/error-reference/#runtime-${n}` : Lt[n];
|
|
933
|
+
for (; r;) {
|
|
934
|
+
let t = r.ec;
|
|
935
|
+
if (t) {
|
|
936
|
+
for (let n = 0; n < t.length; n++) if (t[n](e, i, a) === !1) return;
|
|
937
|
+
}
|
|
938
|
+
r = r.parent;
|
|
939
|
+
}
|
|
940
|
+
if (o) {
|
|
941
|
+
D(), Rt(o, null, 10, [
|
|
942
|
+
e,
|
|
943
|
+
i,
|
|
944
|
+
a
|
|
945
|
+
]), O();
|
|
946
|
+
return;
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
Vt(e, n, i, r, s);
|
|
950
|
+
}
|
|
951
|
+
function Vt(e, t, n, r = !0, i = !1) {
|
|
952
|
+
if (process.env.NODE_ENV !== "production") {
|
|
953
|
+
let i = Lt[t];
|
|
954
|
+
if (n && kt(n), K(`Unhandled error${i ? ` during execution of ${i}` : ""}`), n && At(), r) throw e;
|
|
955
|
+
console.error(e);
|
|
956
|
+
} else if (i) throw e;
|
|
957
|
+
else console.error(e);
|
|
958
|
+
}
|
|
959
|
+
var q = [], J = -1, Y = [], X = null, Z = 0, Ht = /* @__PURE__ */ Promise.resolve(), Ut = null, Wt = 100;
|
|
960
|
+
function Gt(e) {
|
|
961
|
+
let t = Ut || Ht;
|
|
962
|
+
return e ? t.then(this ? e.bind(this) : e) : t;
|
|
963
|
+
}
|
|
964
|
+
function Kt(e) {
|
|
965
|
+
let t = J + 1, n = q.length;
|
|
966
|
+
for (; t < n;) {
|
|
967
|
+
let r = t + n >>> 1, i = q[r], a = Zt(i);
|
|
968
|
+
a < e || a === e && i.flags & 2 ? t = r + 1 : n = r;
|
|
969
|
+
}
|
|
970
|
+
return t;
|
|
971
|
+
}
|
|
972
|
+
function qt(e) {
|
|
973
|
+
if (!(e.flags & 1)) {
|
|
974
|
+
let t = Zt(e), n = q[q.length - 1];
|
|
975
|
+
!n || !(e.flags & 2) && t >= Zt(n) ? q.push(e) : q.splice(Kt(t), 0, e), e.flags |= 1, Jt();
|
|
976
|
+
}
|
|
977
|
+
}
|
|
978
|
+
function Jt() {
|
|
979
|
+
Ut ||= Ht.then(Qt);
|
|
980
|
+
}
|
|
981
|
+
function Yt(e) {
|
|
982
|
+
if (!f(e)) X && e.id === -1 ? X.splice(Z + 1, 0, e) : e.flags & 1 || (Y.push(e), e.flags |= 1);
|
|
983
|
+
else for (let t = 0; t < e.length; t++) Y.push(e[t]);
|
|
984
|
+
Jt();
|
|
985
|
+
}
|
|
986
|
+
function Xt(e) {
|
|
987
|
+
if (Y.length) {
|
|
988
|
+
let t = [...new Set(Y)].sort((e, t) => Zt(e) - Zt(t));
|
|
989
|
+
if (Y.length = 0, X) {
|
|
990
|
+
for (let e = 0; e < t.length; e++) X.push(t[e]);
|
|
991
|
+
return;
|
|
992
|
+
}
|
|
993
|
+
for (X = t, process.env.NODE_ENV !== "production" && (e ||= /* @__PURE__ */ new Map()), Z = 0; Z < X.length; Z++) {
|
|
994
|
+
let t = X[Z];
|
|
995
|
+
process.env.NODE_ENV !== "production" && $t(e, t) || (t.flags & 4 && (t.flags &= -2), t.flags & 8 || t(), t.flags &= -2);
|
|
996
|
+
}
|
|
997
|
+
X = null, Z = 0;
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
var Zt = (e) => e.id == null ? e.flags & 2 ? -1 : Infinity : e.id;
|
|
1001
|
+
function Qt(e) {
|
|
1002
|
+
process.env.NODE_ENV !== "production" && (e ||= /* @__PURE__ */ new Map());
|
|
1003
|
+
let t = process.env.NODE_ENV === "production" ? o : (t) => $t(e, t);
|
|
1004
|
+
try {
|
|
1005
|
+
for (J = 0; J < q.length; J++) {
|
|
1006
|
+
let e = q[J];
|
|
1007
|
+
if (e && !(e.flags & 8)) {
|
|
1008
|
+
if (process.env.NODE_ENV !== "production" && t(e)) continue;
|
|
1009
|
+
e.flags & 4 && (e.flags &= -2), Rt(e, e.i, e.i ? 15 : 14), e.flags & 4 || (e.flags &= -2);
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
} finally {
|
|
1013
|
+
for (; J < q.length; J++) {
|
|
1014
|
+
let e = q[J];
|
|
1015
|
+
e && (e.flags &= -2);
|
|
1016
|
+
}
|
|
1017
|
+
J = -1, q.length = 0, Xt(e), Ut = null, (q.length || Y.length) && Qt(e);
|
|
1018
|
+
}
|
|
1019
|
+
}
|
|
1020
|
+
function $t(e, t) {
|
|
1021
|
+
let n = e.get(t) || 0;
|
|
1022
|
+
if (n > Wt) {
|
|
1023
|
+
let e = t.i, n = e && gr(e.type);
|
|
1024
|
+
return Bt(`Maximum recursive updates exceeded${n ? ` in component <${n}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`, null, 10), !0;
|
|
1025
|
+
}
|
|
1026
|
+
return e.set(t, n + 1), !1;
|
|
1027
|
+
}
|
|
1028
|
+
var en = /* @__PURE__ */ new Map();
|
|
1029
|
+
process.env.NODE_ENV !== "production" && (ae().__VUE_HMR_RUNTIME__ = {
|
|
1030
|
+
createRecord: cn(nn),
|
|
1031
|
+
rerender: cn(an),
|
|
1032
|
+
reload: cn(on)
|
|
1033
|
+
});
|
|
1034
|
+
var tn = /* @__PURE__ */ new Map();
|
|
1035
|
+
function nn(e, t) {
|
|
1036
|
+
return !tn.has(e) && (tn.set(e, {
|
|
1037
|
+
initialDef: rn(t),
|
|
1038
|
+
instances: /* @__PURE__ */ new Set()
|
|
1039
|
+
}), !0);
|
|
1040
|
+
}
|
|
1041
|
+
function rn(e) {
|
|
1042
|
+
return vr(e) ? e.__vccOpts : e;
|
|
1043
|
+
}
|
|
1044
|
+
function an(e, t) {
|
|
1045
|
+
let n = tn.get(e);
|
|
1046
|
+
n && (n.initialDef.render = t, [...n.instances].forEach((e) => {
|
|
1047
|
+
t && (e.render = t, rn(e.type).render = t), e.renderCache = [], e.job.flags & 8 || e.update();
|
|
1048
|
+
}));
|
|
1049
|
+
}
|
|
1050
|
+
function on(e, t) {
|
|
1051
|
+
let n = tn.get(e);
|
|
1052
|
+
if (!n) return;
|
|
1053
|
+
t = rn(t), sn(n.initialDef, t);
|
|
1054
|
+
let r = [...n.instances];
|
|
1055
|
+
for (let e = 0; e < r.length; e++) {
|
|
1056
|
+
let i = r[e], a = rn(i.type), o = en.get(a);
|
|
1057
|
+
o || (a !== n.initialDef && sn(a, t), en.set(a, o = /* @__PURE__ */ new Set())), o.add(i), i.appContext.propsCache.delete(i.type), i.appContext.emitsCache.delete(i.type), i.appContext.optionsCache.delete(i.type), i.ceReload ? (o.add(i), i.ceReload(t.styles), o.delete(i)) : i.parent ? qt(() => {
|
|
1058
|
+
i.job.flags & 8 || (i.parent.update(), o.delete(i));
|
|
1059
|
+
}) : i.appContext.reload ? i.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn("[HMR] Root or manually mounted instance modified. Full reload required."), i.root.ce && i !== i.root && i.root.ce._removeChildStyle(a);
|
|
1060
|
+
}
|
|
1061
|
+
Yt(() => {
|
|
1062
|
+
en.clear();
|
|
1063
|
+
});
|
|
1064
|
+
}
|
|
1065
|
+
function sn(e, t) {
|
|
1066
|
+
l(e, t);
|
|
1067
|
+
for (let n in e) n !== "__file" && !(n in t) && delete e[n];
|
|
1068
|
+
}
|
|
1069
|
+
function cn(e) {
|
|
1070
|
+
return (t, n) => {
|
|
1071
|
+
try {
|
|
1072
|
+
return e(t, n);
|
|
1073
|
+
} catch (e) {
|
|
1074
|
+
console.error(e), console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.");
|
|
1075
|
+
}
|
|
1076
|
+
};
|
|
1077
|
+
}
|
|
1078
|
+
var ln = null, un = null;
|
|
1079
|
+
function dn(e, t) {
|
|
1080
|
+
if (process.env.NODE_ENV !== "production" && (!$ || $.isMounted) && K("provide() can only be used inside setup()."), $) {
|
|
1081
|
+
let n = $.provides, r = $.parent && $.parent.provides;
|
|
1082
|
+
r === n && (n = $.provides = Object.create(r)), n[e] = t;
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1085
|
+
function fn(e, t, n = !1) {
|
|
1086
|
+
let r = cr();
|
|
1087
|
+
if (r || Rn) {
|
|
1088
|
+
let i = Rn ? Rn._context.provides : r ? r.parent == null || r.ce ? r.vnode.appContext && r.vnode.appContext.provides : r.parent.provides : void 0;
|
|
1089
|
+
if (i && e in i) return i[e];
|
|
1090
|
+
if (arguments.length > 1) return n && h(t) ? t.call(r && r.proxy) : t;
|
|
1091
|
+
process.env.NODE_ENV !== "production" && K(`injection "${String(e)}" not found.`);
|
|
1092
|
+
} else process.env.NODE_ENV !== "production" && K("inject() can only be used inside setup() or functional components.");
|
|
1093
|
+
}
|
|
1094
|
+
var pn = /* @__PURE__ */ Symbol.for("v-scx"), mn = () => {
|
|
1095
|
+
{
|
|
1096
|
+
let e = fn(pn);
|
|
1097
|
+
return e || process.env.NODE_ENV !== "production" && K("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."), e;
|
|
1098
|
+
}
|
|
1099
|
+
};
|
|
1100
|
+
function hn(e, t, n = a) {
|
|
1101
|
+
let { immediate: r, deep: i, flush: s, once: c } = n;
|
|
1102
|
+
process.env.NODE_ENV !== "production" && !t && (r !== void 0 && K("watch() \"immediate\" option is only respected when using the watch(source, callback, options?) signature."), i !== void 0 && K("watch() \"deep\" option is only respected when using the watch(source, callback, options?) signature."), c !== void 0 && K("watch() \"once\" option is only respected when using the watch(source, callback, options?) signature."));
|
|
1103
|
+
let u = l({}, n);
|
|
1104
|
+
process.env.NODE_ENV !== "production" && (u.onWarn = K);
|
|
1105
|
+
let d = t && r || !t && s !== "post", f;
|
|
1106
|
+
if (fr) {
|
|
1107
|
+
if (s === "sync") {
|
|
1108
|
+
let e = mn();
|
|
1109
|
+
f = e.__watcherHandles ||= [];
|
|
1110
|
+
} else if (!d) {
|
|
1111
|
+
let e = () => {};
|
|
1112
|
+
return e.stop = o, e.resume = o, e.pause = o, e;
|
|
1113
|
+
}
|
|
1114
|
+
}
|
|
1115
|
+
let p = $;
|
|
1116
|
+
u.call = (e, t, n) => zt(e, p, t, n);
|
|
1117
|
+
let m = !1;
|
|
1118
|
+
s === "post" ? u.scheduler = (e) => {
|
|
1119
|
+
Hn(e, p && p.suspense);
|
|
1120
|
+
} : s !== "sync" && (m = !0, u.scheduler = (e, t) => {
|
|
1121
|
+
t ? e() : qt(e);
|
|
1122
|
+
}), u.augmentJob = (e) => {
|
|
1123
|
+
t && (e.flags |= 4), m && (e.flags |= 2, p && (e.id = p.uid, e.i = p));
|
|
1124
|
+
};
|
|
1125
|
+
let h = Ot(e, t, u);
|
|
1126
|
+
return fr && (f ? f.push(h) : d && h()), h;
|
|
1127
|
+
}
|
|
1128
|
+
function gn(e, t, n) {
|
|
1129
|
+
let r = this.proxy, i = g(e) ? e.includes(".") ? _n(r, e) : () => r[e] : e.bind(r, r), a;
|
|
1130
|
+
h(t) ? a = t : (a = t.handler, n = t);
|
|
1131
|
+
let o = ur(this), s = hn(i, a.bind(r), n);
|
|
1132
|
+
return o(), s;
|
|
1133
|
+
}
|
|
1134
|
+
function _n(e, t) {
|
|
1135
|
+
let n = t.split(".");
|
|
1136
|
+
return () => {
|
|
1137
|
+
let t = e;
|
|
1138
|
+
for (let e = 0; e < n.length && t; e++) t = t[n[e]];
|
|
1139
|
+
return t;
|
|
1140
|
+
};
|
|
1141
|
+
}
|
|
1142
|
+
var vn = (e) => e.__isTeleport;
|
|
1143
|
+
function yn(e) {
|
|
1144
|
+
let t = e[0];
|
|
1145
|
+
if (e.length > 1) {
|
|
1146
|
+
let n = !1;
|
|
1147
|
+
for (let r of e) if (r.type !== qn) {
|
|
1148
|
+
if (process.env.NODE_ENV !== "production" && n) {
|
|
1149
|
+
K("<transition> can only be used on a single element or component. Use <transition-group> for lists.");
|
|
1150
|
+
break;
|
|
1151
|
+
}
|
|
1152
|
+
if (t = r, n = !0, process.env.NODE_ENV === "production") break;
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
return t;
|
|
1156
|
+
}
|
|
1157
|
+
function bn(e) {
|
|
1158
|
+
if (!Sn(e)) return vn(e.type) && e.children ? yn(e.children) : e;
|
|
1159
|
+
if (e.component) return e.component.subTree;
|
|
1160
|
+
let { shapeFlag: t, children: n } = e;
|
|
1161
|
+
if (n) {
|
|
1162
|
+
if (t & 16) return n[0];
|
|
1163
|
+
if (t & 32 && h(n.default)) return n.default();
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
function xn(e, t) {
|
|
1167
|
+
if (e.shapeFlag & 6 && e.component) {
|
|
1168
|
+
e.transition = t;
|
|
1169
|
+
let n = e.component.subTree;
|
|
1170
|
+
xn(vn(n.type) && bn(n) || n, t);
|
|
1171
|
+
} else e.shapeFlag & 128 ? (e.ssContent.transition = t.clone(e.ssContent), e.ssFallback.transition = t.clone(e.ssFallback)) : e.transition = t;
|
|
1172
|
+
}
|
|
1173
|
+
ae().requestIdleCallback, ae().cancelIdleCallback;
|
|
1174
|
+
var Sn = (e) => e.type.__isKeepAlive, Cn = /* @__PURE__ */ Symbol.for("v-ndc"), wn = (e) => e ? dr(e) ? pr(e) : wn(e.parent) : null, Tn = (e) => {
|
|
1175
|
+
let t = !1;
|
|
1176
|
+
for (;;) {
|
|
1177
|
+
if (e.patchFlag > 0 && e.patchFlag & 2048) {
|
|
1178
|
+
let n = zn(e.children);
|
|
1179
|
+
if (!n) return;
|
|
1180
|
+
e = n, t = !0;
|
|
1181
|
+
continue;
|
|
1182
|
+
}
|
|
1183
|
+
let n = e.component;
|
|
1184
|
+
if (n && n.subTree) {
|
|
1185
|
+
e = n.subTree;
|
|
1186
|
+
continue;
|
|
1187
|
+
}
|
|
1188
|
+
let r = e.suspense;
|
|
1189
|
+
if (r && r.activeBranch) {
|
|
1190
|
+
e = r.activeBranch;
|
|
1191
|
+
continue;
|
|
1192
|
+
}
|
|
1193
|
+
return t ? e.el : void 0;
|
|
1194
|
+
}
|
|
1195
|
+
}, En = (e) => {
|
|
1196
|
+
let t = e.subTree && Tn(e.subTree);
|
|
1197
|
+
return t === void 0 ? e.vnode.el : t;
|
|
1198
|
+
}, Dn = /* @__PURE__ */ l(/* @__PURE__ */ Object.create(null), {
|
|
1199
|
+
$: (e) => e,
|
|
1200
|
+
$el: (e) => process.env.NODE_ENV === "production" ? e.vnode.el : En(e),
|
|
1201
|
+
$data: (e) => e.data,
|
|
1202
|
+
$props: (e) => process.env.NODE_ENV === "production" ? e.props : /* @__PURE__ */ ft(e.props),
|
|
1203
|
+
$attrs: (e) => process.env.NODE_ENV === "production" ? e.attrs : /* @__PURE__ */ ft(e.attrs),
|
|
1204
|
+
$slots: (e) => process.env.NODE_ENV === "production" ? e.slots : /* @__PURE__ */ ft(e.slots),
|
|
1205
|
+
$refs: (e) => process.env.NODE_ENV === "production" ? e.refs : /* @__PURE__ */ ft(e.refs),
|
|
1206
|
+
$parent: (e) => wn(e.parent),
|
|
1207
|
+
$root: (e) => wn(e.root),
|
|
1208
|
+
$host: (e) => e.ce,
|
|
1209
|
+
$emit: (e) => e.emit,
|
|
1210
|
+
$options: (e) => __VUE_OPTIONS_API__ ? kn(e) : e.type,
|
|
1211
|
+
$forceUpdate: (e) => e.f ||= () => {
|
|
1212
|
+
qt(e.update);
|
|
1213
|
+
},
|
|
1214
|
+
$nextTick: (e) => e.n ||= Gt.bind(e.proxy),
|
|
1215
|
+
$watch: (e) => __VUE_OPTIONS_API__ ? gn.bind(e) : o
|
|
1216
|
+
});
|
|
1217
|
+
process.env.NODE_ENV;
|
|
1218
|
+
function On(e) {
|
|
1219
|
+
return f(e) ? e.reduce((e, t) => (e[t] = null, e), {}) : e;
|
|
1220
|
+
}
|
|
1221
|
+
function kn(e) {
|
|
1222
|
+
let t = e.type, { mixins: n, extends: r } = t, { mixins: i, optionsCache: a, config: { optionMergeStrategies: o } } = e.appContext, s = a.get(t), c;
|
|
1223
|
+
return s ? c = s : !i.length && !n && !r ? c = t : (c = {}, i.length && i.forEach((e) => An(c, e, o, !0)), An(c, t, o)), v(t) && a.set(t, c), c;
|
|
1224
|
+
}
|
|
1225
|
+
function An(e, t, n, r = !1) {
|
|
1226
|
+
let { mixins: i, extends: a } = t;
|
|
1227
|
+
a && An(e, a, n, !0), i && i.forEach((t) => An(e, t, n, !0));
|
|
1228
|
+
for (let i in t) if (r && i === "expose") process.env.NODE_ENV !== "production" && K("\"expose\" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.");
|
|
1229
|
+
else {
|
|
1230
|
+
let r = jn[i] || n && n[i];
|
|
1231
|
+
e[i] = r ? r(e[i], t[i]) : t[i];
|
|
1232
|
+
}
|
|
1233
|
+
return e;
|
|
1234
|
+
}
|
|
1235
|
+
var jn = {
|
|
1236
|
+
data: Mn,
|
|
1237
|
+
props: In,
|
|
1238
|
+
emits: In,
|
|
1239
|
+
methods: Fn,
|
|
1240
|
+
computed: Fn,
|
|
1241
|
+
beforeCreate: Q,
|
|
1242
|
+
created: Q,
|
|
1243
|
+
beforeMount: Q,
|
|
1244
|
+
mounted: Q,
|
|
1245
|
+
beforeUpdate: Q,
|
|
1246
|
+
updated: Q,
|
|
1247
|
+
beforeDestroy: Q,
|
|
1248
|
+
beforeUnmount: Q,
|
|
1249
|
+
destroyed: Q,
|
|
1250
|
+
unmounted: Q,
|
|
1251
|
+
activated: Q,
|
|
1252
|
+
deactivated: Q,
|
|
1253
|
+
errorCaptured: Q,
|
|
1254
|
+
serverPrefetch: Q,
|
|
1255
|
+
components: Fn,
|
|
1256
|
+
directives: Fn,
|
|
1257
|
+
watch: Ln,
|
|
1258
|
+
provide: Mn,
|
|
1259
|
+
inject: Nn
|
|
1260
|
+
};
|
|
1261
|
+
function Mn(e, t) {
|
|
1262
|
+
return t ? e ? function() {
|
|
1263
|
+
return l(h(e) ? e.call(this, this) : e, h(t) ? t.call(this, this) : t);
|
|
1264
|
+
} : t : e;
|
|
1265
|
+
}
|
|
1266
|
+
function Nn(e, t) {
|
|
1267
|
+
return Fn(Pn(e), Pn(t));
|
|
1268
|
+
}
|
|
1269
|
+
function Pn(e) {
|
|
1270
|
+
if (f(e)) {
|
|
1271
|
+
let t = {};
|
|
1272
|
+
for (let n = 0; n < e.length; n++) t[e[n]] = e[n];
|
|
1273
|
+
return t;
|
|
1274
|
+
}
|
|
1275
|
+
return e;
|
|
1276
|
+
}
|
|
1277
|
+
function Q(e, t) {
|
|
1278
|
+
return e ? [...new Set([].concat(e, t))] : t;
|
|
1279
|
+
}
|
|
1280
|
+
function Fn(e, t) {
|
|
1281
|
+
return e ? l(/* @__PURE__ */ Object.create(null), e, t) : t;
|
|
1282
|
+
}
|
|
1283
|
+
function In(e, t) {
|
|
1284
|
+
return e ? f(e) && f(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : l(/* @__PURE__ */ Object.create(null), On(e), On(t ?? {})) : t;
|
|
1285
|
+
}
|
|
1286
|
+
function Ln(e, t) {
|
|
1287
|
+
if (!e) return t;
|
|
1288
|
+
if (!t) return e;
|
|
1289
|
+
let n = l(/* @__PURE__ */ Object.create(null), e);
|
|
1290
|
+
for (let r in t) n[r] = Q(e[r], t[r]);
|
|
1291
|
+
return n;
|
|
1292
|
+
}
|
|
1293
|
+
var Rn = null;
|
|
1294
|
+
function zn(e, t = !0) {
|
|
1295
|
+
let n;
|
|
1296
|
+
for (let r = 0; r < e.length; r++) {
|
|
1297
|
+
let i = e[r];
|
|
1298
|
+
if (Jn(i)) {
|
|
1299
|
+
if (i.type !== qn || i.children === "v-if") {
|
|
1300
|
+
if (n) return;
|
|
1301
|
+
if (n = i, process.env.NODE_ENV !== "production" && t && n.patchFlag > 0 && n.patchFlag & 2048) return zn(n.children);
|
|
1302
|
+
}
|
|
1303
|
+
} else return;
|
|
1304
|
+
}
|
|
1305
|
+
return n;
|
|
1306
|
+
}
|
|
1307
|
+
var Bn = {}, Vn = (e) => Object.getPrototypeOf(e) === Bn, Hn = Wn, Un = (e) => e.__isSuspense;
|
|
1308
|
+
function Wn(e, t) {
|
|
1309
|
+
t && t.pendingBranch ? f(e) ? t.effects.push(...e) : t.effects.push(e) : Yt(e);
|
|
1310
|
+
}
|
|
1311
|
+
var Gn = /* @__PURE__ */ Symbol.for("v-fgt"), Kn = /* @__PURE__ */ Symbol.for("v-txt"), qn = /* @__PURE__ */ Symbol.for("v-cmt");
|
|
1312
|
+
function Jn(e) {
|
|
1313
|
+
return e ? e.__v_isVNode === !0 : !1;
|
|
1314
|
+
}
|
|
1315
|
+
var Yn = (...e) => tr(...e), Xn = ({ key: e }) => e ?? null, Zn = ({ ref: e, ref_key: t, ref_for: n }) => (typeof e == "number" && (e = "" + e), e == null ? null : g(e) || /* @__PURE__ */ H(e) || h(e) ? {
|
|
1316
|
+
i: ln,
|
|
1317
|
+
r: e,
|
|
1318
|
+
k: t,
|
|
1319
|
+
f: !!n
|
|
1320
|
+
} : e);
|
|
1321
|
+
function Qn(e, t = null, n = null, r = 0, i = null, a = e === Gn ? 0 : 1, o = !1, s = !1) {
|
|
1322
|
+
let c = {
|
|
1323
|
+
__v_isVNode: !0,
|
|
1324
|
+
__v_skip: !0,
|
|
1325
|
+
type: e,
|
|
1326
|
+
props: t,
|
|
1327
|
+
key: t && Xn(t),
|
|
1328
|
+
ref: t && Zn(t),
|
|
1329
|
+
scopeId: un,
|
|
1330
|
+
slotScopeIds: null,
|
|
1331
|
+
children: n,
|
|
1332
|
+
component: null,
|
|
1333
|
+
suspense: null,
|
|
1334
|
+
ssContent: null,
|
|
1335
|
+
ssFallback: null,
|
|
1336
|
+
dirs: null,
|
|
1337
|
+
transition: null,
|
|
1338
|
+
el: null,
|
|
1339
|
+
anchor: null,
|
|
1340
|
+
target: null,
|
|
1341
|
+
targetStart: null,
|
|
1342
|
+
targetAnchor: null,
|
|
1343
|
+
staticCount: 0,
|
|
1344
|
+
shapeFlag: a,
|
|
1345
|
+
patchFlag: r,
|
|
1346
|
+
dynamicProps: i,
|
|
1347
|
+
dynamicChildren: null,
|
|
1348
|
+
appContext: null,
|
|
1349
|
+
ctx: ln
|
|
1350
|
+
};
|
|
1351
|
+
if (s ? (or(c, n), a & 128 && e.normalize(c)) : n && (c.shapeFlag |= g(n) ? 8 : 16), process.env.NODE_ENV !== "production" && c.key !== c.key && K("VNode created with invalid key (NaN). VNode type:", c.type), process.env.NODE_ENV !== "production" && t && c.shapeFlag & 1) {
|
|
1352
|
+
let e = t.innerHTML == null ? t.textContent == null ? null : "textContent" : "innerHTML";
|
|
1353
|
+
e && $n(c.children) && K(`The \`${e}\` prop on <${c.type}> will override its children. Remove either the \`${e}\` prop or the children.`);
|
|
1354
|
+
}
|
|
1355
|
+
return c;
|
|
1356
|
+
}
|
|
1357
|
+
function $n(e) {
|
|
1358
|
+
return g(e) ? e !== "" : f(e) ? e.length > 0 : !1;
|
|
1359
|
+
}
|
|
1360
|
+
var er = process.env.NODE_ENV === "production" ? tr : Yn;
|
|
1361
|
+
function tr(e, t = null, n = null, r = 0, i = null, a = !1) {
|
|
1362
|
+
if ((!e || e === Cn) && (process.env.NODE_ENV !== "production" && !e && K(`Invalid vnode type when creating vnode: ${e}.`), e = qn), Jn(e)) {
|
|
1363
|
+
let r = rr(e, t, !0);
|
|
1364
|
+
return n && or(r, n), r.patchFlag = -2, r;
|
|
1365
|
+
}
|
|
1366
|
+
if (vr(e) && (e = e.__vccOpts), t) {
|
|
1367
|
+
t = nr(t);
|
|
1368
|
+
let { class: e, style: n } = t;
|
|
1369
|
+
e && !g(e) && (t.class = de(e)), v(n) && (/* @__PURE__ */ mt(n) && !f(n) && (n = l({}, n)), t.style = oe(n));
|
|
1370
|
+
}
|
|
1371
|
+
let o = g(e) ? 1 : Un(e) ? 128 : vn(e) ? 64 : v(e) ? 4 : h(e) ? 2 : 0;
|
|
1372
|
+
return process.env.NODE_ENV !== "production" && o & 4 && /* @__PURE__ */ mt(e) && (e = /* @__PURE__ */ B(e), K("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.", "\nComponent that was made reactive: ", e)), Qn(e, t, n, r, i, o, a, !0);
|
|
1373
|
+
}
|
|
1374
|
+
function nr(e) {
|
|
1375
|
+
return e ? /* @__PURE__ */ mt(e) || Vn(e) ? l({}, e) : e : null;
|
|
1376
|
+
}
|
|
1377
|
+
function rr(e, t, n = !1, r = !1) {
|
|
1378
|
+
let { props: i, ref: a, patchFlag: o, children: s, transition: c } = e, l = t ? sr(i || {}, t) : i, u = {
|
|
1379
|
+
__v_isVNode: !0,
|
|
1380
|
+
__v_skip: !0,
|
|
1381
|
+
type: e.type,
|
|
1382
|
+
props: l,
|
|
1383
|
+
key: l && Xn(l),
|
|
1384
|
+
ref: t && t.ref ? n && a ? f(a) ? a.concat(Zn(t)) : [a, Zn(t)] : Zn(t) : a,
|
|
1385
|
+
scopeId: e.scopeId,
|
|
1386
|
+
slotScopeIds: e.slotScopeIds,
|
|
1387
|
+
children: process.env.NODE_ENV !== "production" && o === -1 && f(s) ? s.map(ir) : s,
|
|
1388
|
+
target: e.target,
|
|
1389
|
+
targetStart: e.targetStart,
|
|
1390
|
+
targetAnchor: e.targetAnchor,
|
|
1391
|
+
staticCount: e.staticCount,
|
|
1392
|
+
shapeFlag: e.shapeFlag,
|
|
1393
|
+
patchFlag: t && e.type !== Gn ? o === -1 ? 16 : o | 16 : o,
|
|
1394
|
+
dynamicProps: e.dynamicProps,
|
|
1395
|
+
dynamicChildren: e.dynamicChildren,
|
|
1396
|
+
appContext: e.appContext,
|
|
1397
|
+
dirs: e.dirs,
|
|
1398
|
+
transition: c,
|
|
1399
|
+
component: e.component,
|
|
1400
|
+
suspense: e.suspense,
|
|
1401
|
+
ssContent: e.ssContent && rr(e.ssContent),
|
|
1402
|
+
ssFallback: e.ssFallback && rr(e.ssFallback),
|
|
1403
|
+
placeholder: e.placeholder,
|
|
1404
|
+
el: e.el,
|
|
1405
|
+
anchor: e.anchor,
|
|
1406
|
+
ctx: e.ctx,
|
|
1407
|
+
ce: e.ce
|
|
1408
|
+
};
|
|
1409
|
+
return c && r && xn(u, c.clone(u)), u;
|
|
1410
|
+
}
|
|
1411
|
+
function ir(e) {
|
|
1412
|
+
let t = rr(e);
|
|
1413
|
+
return f(e.children) && (t.children = e.children.map(ir)), t;
|
|
1414
|
+
}
|
|
1415
|
+
function ar(e = " ", t = 0) {
|
|
1416
|
+
return er(Kn, null, e, t);
|
|
1417
|
+
}
|
|
1418
|
+
function or(e, t) {
|
|
1419
|
+
let n = 0, { shapeFlag: r } = e;
|
|
1420
|
+
if (t == null) t = null;
|
|
1421
|
+
else if (f(t)) n = 16;
|
|
1422
|
+
else if (typeof t == "object") {
|
|
1423
|
+
if (r & 65) {
|
|
1424
|
+
let n = t.default;
|
|
1425
|
+
n && (n._c && (n._d = !1), or(e, n()), n._c && (n._d = !0));
|
|
1426
|
+
return;
|
|
1427
|
+
}
|
|
1428
|
+
n = 32, !t._ && !Vn(t) && (t._ctx = ln);
|
|
1429
|
+
} else if (h(t)) {
|
|
1430
|
+
if (r & 65) {
|
|
1431
|
+
or(e, { default: t });
|
|
1432
|
+
return;
|
|
1433
|
+
}
|
|
1434
|
+
t = {
|
|
1435
|
+
default: t,
|
|
1436
|
+
_ctx: ln
|
|
1437
|
+
}, n = 32;
|
|
1438
|
+
} else t = String(t), r & 64 ? (n = 16, t = [ar(t)]) : n = 8;
|
|
1439
|
+
e.children = t, e.shapeFlag |= n;
|
|
1440
|
+
}
|
|
1441
|
+
function sr(...e) {
|
|
1442
|
+
let t = {};
|
|
1443
|
+
for (let n = 0; n < e.length; n++) {
|
|
1444
|
+
let r = e[n];
|
|
1445
|
+
for (let e in r) if (e === "class") t.class !== r.class && (t.class = de([t.class, r.class]));
|
|
1446
|
+
else if (e === "style") t.style = oe([t.style, r.style]);
|
|
1447
|
+
else if (s(e)) {
|
|
1448
|
+
let n = t[e], i = r[e];
|
|
1449
|
+
i && n !== i && !(f(n) && n.includes(i)) ? t[e] = n ? [].concat(n, i) : i : i == null && n == null && !c(e) && (t[e] = i);
|
|
1450
|
+
} else e !== "" && (t[e] = r[e]);
|
|
1451
|
+
}
|
|
1452
|
+
return t;
|
|
1453
|
+
}
|
|
1454
|
+
var $ = null, cr = () => $ || ln, lr;
|
|
1455
|
+
{
|
|
1456
|
+
let e = ae(), t = (t, n) => {
|
|
1457
|
+
let r;
|
|
1458
|
+
return (r = e[t]) || (r = e[t] = []), r.push(n), (e) => {
|
|
1459
|
+
r.length > 1 ? r.forEach((t) => t(e)) : r[0](e);
|
|
1460
|
+
};
|
|
1461
|
+
};
|
|
1462
|
+
lr = t("__VUE_INSTANCE_SETTERS__", (e) => $ = e), t("__VUE_SSR_SETTERS__", (e) => fr = e);
|
|
1463
|
+
}
|
|
1464
|
+
var ur = (e) => {
|
|
1465
|
+
let t = $;
|
|
1466
|
+
return lr(e), e.scope.on(), () => {
|
|
1467
|
+
e.scope.off(), lr(t);
|
|
1468
|
+
};
|
|
1469
|
+
};
|
|
1470
|
+
function dr(e) {
|
|
1471
|
+
return e.vnode.shapeFlag & 4;
|
|
1472
|
+
}
|
|
1473
|
+
var fr = !1;
|
|
1474
|
+
process.env.NODE_ENV;
|
|
1475
|
+
function pr(e) {
|
|
1476
|
+
return e.exposed ? e.exposeProxy ||= new Proxy(St(ht(e.exposed)), {
|
|
1477
|
+
get(t, n) {
|
|
1478
|
+
if (n in t) return t[n];
|
|
1479
|
+
if (n in Dn) return Dn[n](e);
|
|
1480
|
+
},
|
|
1481
|
+
has(e, t) {
|
|
1482
|
+
return t in e || t in Dn;
|
|
1483
|
+
}
|
|
1484
|
+
}) : e.proxy;
|
|
1485
|
+
}
|
|
1486
|
+
var mr = /(?:^|[-_])\w/g, hr = (e) => e.replace(mr, (e) => e.toUpperCase()).replace(/[-_]/g, "");
|
|
1487
|
+
function gr(e, t = !0) {
|
|
1488
|
+
return h(e) ? e.displayName || e.name : e.name || t && e.__name;
|
|
1489
|
+
}
|
|
1490
|
+
function _r(e, t, n = !1) {
|
|
1491
|
+
let r = gr(t);
|
|
1492
|
+
if (!r && t.__file) {
|
|
1493
|
+
let e = t.__file.match(/([^/\\]+)\.\w+$/);
|
|
1494
|
+
e && (r = e[1]);
|
|
1495
|
+
}
|
|
1496
|
+
if (!r && e) {
|
|
1497
|
+
let n = (e) => {
|
|
1498
|
+
for (let n in e) if (e[n] === t) return n;
|
|
1499
|
+
};
|
|
1500
|
+
r = n(e.components) || e.parent && n(e.parent.type.components) || n(e.appContext.components);
|
|
1501
|
+
}
|
|
1502
|
+
return r ? hr(r) : n ? "App" : "Anonymous";
|
|
1503
|
+
}
|
|
1504
|
+
function vr(e) {
|
|
1505
|
+
return h(e) && "__vccOpts" in e;
|
|
1506
|
+
}
|
|
1507
|
+
var yr = (e, t) => {
|
|
1508
|
+
let n = /* @__PURE__ */ wt(e, t, fr);
|
|
1509
|
+
if (process.env.NODE_ENV !== "production") {
|
|
1510
|
+
let e = cr();
|
|
1511
|
+
e && e.appContext.config.warnRecursiveComputed && (n._warnRecursive = !0);
|
|
1512
|
+
}
|
|
1513
|
+
return n;
|
|
1514
|
+
};
|
|
1515
|
+
function br() {
|
|
1516
|
+
if (process.env.NODE_ENV === "production" || typeof window > "u") return;
|
|
1517
|
+
let e = { style: "color:#3ba776" }, t = { style: "color:#1677ff" }, n = { style: "color:#f5222d" }, r = { style: "color:#eb2f96" }, i = {
|
|
1518
|
+
__vue_custom_formatter: !0,
|
|
1519
|
+
header(t) {
|
|
1520
|
+
if (!v(t)) return null;
|
|
1521
|
+
if (t.__isVue) return [
|
|
1522
|
+
"div",
|
|
1523
|
+
e,
|
|
1524
|
+
"VueInstance"
|
|
1525
|
+
];
|
|
1526
|
+
if (/* @__PURE__ */ H(t)) {
|
|
1527
|
+
D();
|
|
1528
|
+
let n = t.value;
|
|
1529
|
+
return O(), [
|
|
1530
|
+
"div",
|
|
1531
|
+
{},
|
|
1532
|
+
[
|
|
1533
|
+
"span",
|
|
1534
|
+
e,
|
|
1535
|
+
p(t)
|
|
1536
|
+
],
|
|
1537
|
+
"<",
|
|
1538
|
+
c(n),
|
|
1539
|
+
">"
|
|
1540
|
+
];
|
|
1541
|
+
}
|
|
1542
|
+
return /* @__PURE__ */ L(t) ? [
|
|
1543
|
+
"div",
|
|
1544
|
+
{},
|
|
1545
|
+
[
|
|
1546
|
+
"span",
|
|
1547
|
+
e,
|
|
1548
|
+
/* @__PURE__ */ z(t) ? "ShallowReactive" : "Reactive"
|
|
1549
|
+
],
|
|
1550
|
+
"<",
|
|
1551
|
+
c(t),
|
|
1552
|
+
`>${/* @__PURE__ */ R(t) ? " (readonly)" : ""}`
|
|
1553
|
+
] : /* @__PURE__ */ R(t) ? [
|
|
1554
|
+
"div",
|
|
1555
|
+
{},
|
|
1556
|
+
[
|
|
1557
|
+
"span",
|
|
1558
|
+
e,
|
|
1559
|
+
/* @__PURE__ */ z(t) ? "ShallowReadonly" : "Readonly"
|
|
1560
|
+
],
|
|
1561
|
+
"<",
|
|
1562
|
+
c(t),
|
|
1563
|
+
">"
|
|
1564
|
+
] : null;
|
|
1565
|
+
},
|
|
1566
|
+
hasBody(e) {
|
|
1567
|
+
return e && e.__isVue;
|
|
1568
|
+
},
|
|
1569
|
+
body(e) {
|
|
1570
|
+
if (e && e.__isVue) return [
|
|
1571
|
+
"div",
|
|
1572
|
+
{},
|
|
1573
|
+
...o(e.$)
|
|
1574
|
+
];
|
|
1575
|
+
}
|
|
1576
|
+
};
|
|
1577
|
+
function o(e) {
|
|
1578
|
+
let t = [];
|
|
1579
|
+
e.type.props && e.props && t.push(s("props", /* @__PURE__ */ B(e.props))), e.setupState !== a && t.push(s("setup", e.setupState)), e.data !== a && t.push(s("data", /* @__PURE__ */ B(e.data)));
|
|
1580
|
+
let n = u(e, "computed");
|
|
1581
|
+
n && t.push(s("computed", n));
|
|
1582
|
+
let i = u(e, "inject");
|
|
1583
|
+
return i && t.push(s("injected", i)), t.push([
|
|
1584
|
+
"div",
|
|
1585
|
+
{},
|
|
1586
|
+
[
|
|
1587
|
+
"span",
|
|
1588
|
+
{ style: r.style + ";opacity:0.66" },
|
|
1589
|
+
"$ (internal): "
|
|
1590
|
+
],
|
|
1591
|
+
["object", { object: e }]
|
|
1592
|
+
]), t;
|
|
1593
|
+
}
|
|
1594
|
+
function s(e, t) {
|
|
1595
|
+
return t = l({}, t), Object.keys(t).length ? [
|
|
1596
|
+
"div",
|
|
1597
|
+
{ style: "line-height:1.25em;margin-bottom:0.6em" },
|
|
1598
|
+
[
|
|
1599
|
+
"div",
|
|
1600
|
+
{ style: "color:#476582" },
|
|
1601
|
+
e
|
|
1602
|
+
],
|
|
1603
|
+
[
|
|
1604
|
+
"div",
|
|
1605
|
+
{ style: "padding-left:1.25em" },
|
|
1606
|
+
...Object.keys(t).map((e) => [
|
|
1607
|
+
"div",
|
|
1608
|
+
{},
|
|
1609
|
+
[
|
|
1610
|
+
"span",
|
|
1611
|
+
r,
|
|
1612
|
+
e + ": "
|
|
1613
|
+
],
|
|
1614
|
+
c(t[e], !1)
|
|
1615
|
+
])
|
|
1616
|
+
]
|
|
1617
|
+
] : ["span", {}];
|
|
1618
|
+
}
|
|
1619
|
+
function c(e, i = !0) {
|
|
1620
|
+
return typeof e == "number" ? [
|
|
1621
|
+
"span",
|
|
1622
|
+
t,
|
|
1623
|
+
e
|
|
1624
|
+
] : typeof e == "string" ? [
|
|
1625
|
+
"span",
|
|
1626
|
+
n,
|
|
1627
|
+
JSON.stringify(e)
|
|
1628
|
+
] : typeof e == "boolean" ? [
|
|
1629
|
+
"span",
|
|
1630
|
+
r,
|
|
1631
|
+
e
|
|
1632
|
+
] : v(e) ? ["object", { object: i ? /* @__PURE__ */ B(e) : e }] : [
|
|
1633
|
+
"span",
|
|
1634
|
+
n,
|
|
1635
|
+
String(e)
|
|
1636
|
+
];
|
|
1637
|
+
}
|
|
1638
|
+
function u(e, t) {
|
|
1639
|
+
let n = e.type;
|
|
1640
|
+
if (h(n)) return;
|
|
1641
|
+
let r = {};
|
|
1642
|
+
for (let i in e.ctx) d(n, i, t) && (r[i] = e.ctx[i]);
|
|
1643
|
+
return r;
|
|
1644
|
+
}
|
|
1645
|
+
function d(e, t, n) {
|
|
1646
|
+
let r = e[n];
|
|
1647
|
+
if (f(r) && r.includes(t) || v(r) && t in r || e.extends && d(e.extends, t, n) || e.mixins && e.mixins.some((e) => d(e, t, n))) return !0;
|
|
1648
|
+
}
|
|
1649
|
+
function p(e) {
|
|
1650
|
+
return /* @__PURE__ */ z(e) ? "ShallowRef" : e.effect ? "ComputedRef" : "Ref";
|
|
1651
|
+
}
|
|
1652
|
+
window.devtoolsFormatters ? window.devtoolsFormatters.push(i) : window.devtoolsFormatters = [i];
|
|
1653
|
+
}
|
|
1654
|
+
process.env.NODE_ENV, process.env.NODE_ENV, process.env.NODE_ENV;
|
|
1655
|
+
//#endregion
|
|
1656
|
+
//#region ../../node_modules/.pnpm/vue@3.5.42_typescript@6.0.3/node_modules/vue/dist/vue.runtime.esm-bundler.js
|
|
1657
|
+
function xr() {
|
|
1658
|
+
br();
|
|
1659
|
+
}
|
|
1660
|
+
process.env.NODE_ENV !== "production" && xr();
|
|
1661
|
+
//#endregion
|
|
1662
|
+
//#region src/client/vue.ts
|
|
1663
|
+
var Sr = new n(), Cr = Symbol("i18n-astro");
|
|
1664
|
+
function wr(e) {
|
|
1665
|
+
let t = /* @__PURE__ */ _t({
|
|
1666
|
+
locale: e.locale,
|
|
1667
|
+
fallbackLocale: e.fallbackLocale,
|
|
1668
|
+
translations: e.translations,
|
|
1669
|
+
currentRoute: e.currentRoute
|
|
1670
|
+
});
|
|
1671
|
+
return dn(Cr, t), t;
|
|
1672
|
+
}
|
|
1673
|
+
function Tr() {
|
|
1674
|
+
let n = fn(Cr);
|
|
1675
|
+
if (!n) throw Error("useAstroI18n must be used within a component that calls provideI18n");
|
|
1676
|
+
let i = (t, r, i, a) => e(n.value, t, r, i, a);
|
|
1677
|
+
return {
|
|
1678
|
+
t: i,
|
|
1679
|
+
ts: (e, t, n, r) => i(e, t, n, r)?.toString() ?? n ?? e,
|
|
1680
|
+
tc: (e, t, a) => {
|
|
1681
|
+
let { count: o, ...s } = typeof t == "number" ? { count: t } : t;
|
|
1682
|
+
return o === void 0 ? a ?? e : r(e, Number.parseInt(o.toString(), 10), s, n.value.locale, (e, t, n) => i(e, t, n)) ?? a ?? e;
|
|
1683
|
+
},
|
|
1684
|
+
tn: (e, t) => Sr.formatNumber(e, n.value.locale, t),
|
|
1685
|
+
td: (e, t) => Sr.formatDate(e, n.value.locale, t),
|
|
1686
|
+
tdr: (e, t) => Sr.formatRelativeTime(e, n.value.locale, t),
|
|
1687
|
+
has: (e, r) => t(n.value, e, r),
|
|
1688
|
+
locale: yr({
|
|
1689
|
+
get: () => n.value.locale,
|
|
1690
|
+
set: (e) => {
|
|
1691
|
+
n.value = {
|
|
1692
|
+
...n.value,
|
|
1693
|
+
locale: e
|
|
1694
|
+
};
|
|
1695
|
+
}
|
|
1696
|
+
}),
|
|
1697
|
+
fallbackLocale: yr(() => n.value.fallbackLocale),
|
|
1698
|
+
currentRoute: yr({
|
|
1699
|
+
get: () => n.value.currentRoute,
|
|
1700
|
+
set: (e) => {
|
|
1701
|
+
n.value = {
|
|
1702
|
+
...n.value,
|
|
1703
|
+
currentRoute: e
|
|
1704
|
+
};
|
|
1705
|
+
}
|
|
1706
|
+
}),
|
|
1707
|
+
setLocale: (e) => {
|
|
1708
|
+
n.value = {
|
|
1709
|
+
...n.value,
|
|
1710
|
+
locale: e
|
|
1711
|
+
};
|
|
1712
|
+
},
|
|
1713
|
+
setRoute: (e) => {
|
|
1714
|
+
n.value = {
|
|
1715
|
+
...n.value,
|
|
1716
|
+
currentRoute: e
|
|
1717
|
+
};
|
|
1718
|
+
},
|
|
1719
|
+
getRoute: () => n.value.currentRoute
|
|
1720
|
+
};
|
|
1721
|
+
}
|
|
1722
|
+
//#endregion
|
|
1723
|
+
export { Tr as n, wr as t };
|