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