pinia-plugin-persist-state 0.0.1 → 0.0.2
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/pinia-plugin-persist-state.js +155 -147
- package/dist/pinia-plugin-persist-state.umd.cjs +7 -7
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/services/Crypt.d.ts +0 -23
- package/dist/services/IndexedDB.d.ts +0 -34
- package/dist/services/Persister.d.ts +0 -15
- package/dist/services/WindowStorage.d.ts +0 -10
- package/dist/types/storage.d.ts +0 -12
- package/dist/types/store.d.ts +0 -27
|
@@ -162,21 +162,21 @@ function gn(e) {
|
|
|
162
162
|
for (const n of e.split(",")) t[n] = 1;
|
|
163
163
|
return (n) => n in t;
|
|
164
164
|
}
|
|
165
|
-
const
|
|
165
|
+
const Fe = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
|
|
166
166
|
process.env.NODE_ENV !== "production" && Object.freeze([]);
|
|
167
167
|
const yn = () => {
|
|
168
168
|
}, mn = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
|
|
169
|
-
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), bn = (e) => e.startsWith("onUpdate:"), q = Object.assign, Sn = Object.prototype.hasOwnProperty,
|
|
169
|
+
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), bn = (e) => e.startsWith("onUpdate:"), q = Object.assign, Sn = Object.prototype.hasOwnProperty, Ke = (e, t) => Sn.call(e, t), g = Array.isArray, te = (e) => gt(e) === "[object Map]", T = (e) => typeof e == "function", R = (e) => typeof e == "string", H = (e) => typeof e == "symbol", y = (e) => e !== null && typeof e == "object", vn = Object.prototype.toString, gt = (e) => vn.call(e), yt = (e) => gt(e).slice(8, -1), Ne = (e) => R(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, wn = (e) => {
|
|
170
170
|
const t = /* @__PURE__ */ Object.create(null);
|
|
171
171
|
return ((n) => t[n] || (t[n] = e(n)));
|
|
172
172
|
}, En = wn((e) => e.charAt(0).toUpperCase() + e.slice(1)), ne = (e, t) => !Object.is(e, t);
|
|
173
173
|
let it;
|
|
174
|
-
const
|
|
175
|
-
function
|
|
174
|
+
const Oe = () => it || (it = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
|
|
175
|
+
function Be(e) {
|
|
176
176
|
if (g(e)) {
|
|
177
177
|
const t = {};
|
|
178
178
|
for (let n = 0; n < e.length; n++) {
|
|
179
|
-
const s = e[n], r = R(s) ? Vn(s) :
|
|
179
|
+
const s = e[n], r = R(s) ? Vn(s) : Be(s);
|
|
180
180
|
if (r)
|
|
181
181
|
for (const o in r)
|
|
182
182
|
t[o] = r[o];
|
|
@@ -195,13 +195,13 @@ function Vn(e) {
|
|
|
195
195
|
}
|
|
196
196
|
}), t;
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Je(e) {
|
|
199
199
|
let t = "";
|
|
200
200
|
if (R(e))
|
|
201
201
|
t = e;
|
|
202
202
|
else if (g(e))
|
|
203
203
|
for (let n = 0; n < e.length; n++) {
|
|
204
|
-
const s =
|
|
204
|
+
const s = Je(e[n]);
|
|
205
205
|
s && (t += s + " ");
|
|
206
206
|
}
|
|
207
207
|
else if (y(e))
|
|
@@ -212,17 +212,17 @@ function Be(e) {
|
|
|
212
212
|
function Z(e, ...t) {
|
|
213
213
|
console.warn(`[Vue warn] ${e}`, ...t);
|
|
214
214
|
}
|
|
215
|
-
let mt = 0,
|
|
216
|
-
function
|
|
215
|
+
let mt = 0, Ce;
|
|
216
|
+
function Ye() {
|
|
217
217
|
mt++;
|
|
218
218
|
}
|
|
219
|
-
function
|
|
219
|
+
function Ge() {
|
|
220
220
|
if (--mt > 0)
|
|
221
221
|
return;
|
|
222
222
|
let e;
|
|
223
|
-
for (;
|
|
224
|
-
let t =
|
|
225
|
-
for (
|
|
223
|
+
for (; Ce; ) {
|
|
224
|
+
let t = Ce;
|
|
225
|
+
for (Ce = void 0; t; ) {
|
|
226
226
|
const n = t.next;
|
|
227
227
|
if (t.next = void 0, t.flags &= -9, t.flags & 1)
|
|
228
228
|
try {
|
|
@@ -246,7 +246,7 @@ class Cn {
|
|
|
246
246
|
this.version++, this.notify(t);
|
|
247
247
|
}
|
|
248
248
|
notify(t) {
|
|
249
|
-
|
|
249
|
+
Ye();
|
|
250
250
|
try {
|
|
251
251
|
if (process.env.NODE_ENV !== "production")
|
|
252
252
|
for (let n = this.subsHead; n; n = n.nextSub)
|
|
@@ -261,11 +261,11 @@ class Cn {
|
|
|
261
261
|
for (let n = this.subs; n; n = n.prevSub)
|
|
262
262
|
n.sub.notify() && n.sub.dep.notify();
|
|
263
263
|
} finally {
|
|
264
|
-
|
|
264
|
+
Ge();
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
|
-
const bt = /* @__PURE__ */ new WeakMap(),
|
|
268
|
+
const bt = /* @__PURE__ */ new WeakMap(), Re = /* @__PURE__ */ Symbol(
|
|
269
269
|
process.env.NODE_ENV !== "production" ? "Object iterate" : ""
|
|
270
270
|
), ct = /* @__PURE__ */ Symbol(
|
|
271
271
|
process.env.NODE_ENV !== "production" ? "Map keys iterate" : ""
|
|
@@ -286,10 +286,10 @@ function P(e, t, n, s, r, o) {
|
|
|
286
286
|
oldTarget: o
|
|
287
287
|
}) : l.trigger());
|
|
288
288
|
};
|
|
289
|
-
if (
|
|
289
|
+
if (Ye(), t === "clear")
|
|
290
290
|
i.forEach(c);
|
|
291
291
|
else {
|
|
292
|
-
const l = g(e), f = l &&
|
|
292
|
+
const l = g(e), f = l && Ne(n);
|
|
293
293
|
if (l && n === "length") {
|
|
294
294
|
const h = Number(s);
|
|
295
295
|
i.forEach((a, u) => {
|
|
@@ -298,17 +298,17 @@ function P(e, t, n, s, r, o) {
|
|
|
298
298
|
} else
|
|
299
299
|
switch ((n !== void 0 || i.has(void 0)) && c(i.get(n)), f && c(i.get(at)), t) {
|
|
300
300
|
case "add":
|
|
301
|
-
l ? f && c(i.get("length")) : (c(i.get(
|
|
301
|
+
l ? f && c(i.get("length")) : (c(i.get(Re)), te(e) && c(i.get(ct)));
|
|
302
302
|
break;
|
|
303
303
|
case "delete":
|
|
304
|
-
l || (c(i.get(
|
|
304
|
+
l || (c(i.get(Re)), te(e) && c(i.get(ct)));
|
|
305
305
|
break;
|
|
306
306
|
case "set":
|
|
307
|
-
te(e) && c(i.get(
|
|
307
|
+
te(e) && c(i.get(Re));
|
|
308
308
|
break;
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
|
-
|
|
311
|
+
Ge();
|
|
312
312
|
}
|
|
313
313
|
function Rn(e, t) {
|
|
314
314
|
const n = bt.get(e);
|
|
@@ -318,16 +318,16 @@ function L(e) {
|
|
|
318
318
|
const t = /* @__PURE__ */ p(e);
|
|
319
319
|
return t === e || /* @__PURE__ */ v(e) ? t : t.map(x);
|
|
320
320
|
}
|
|
321
|
-
function
|
|
321
|
+
function Xe(e) {
|
|
322
322
|
return e = /* @__PURE__ */ p(e), e;
|
|
323
323
|
}
|
|
324
324
|
function E(e, t) {
|
|
325
|
-
return /* @__PURE__ */ N(e) ? he(/* @__PURE__ */
|
|
325
|
+
return /* @__PURE__ */ N(e) ? he(/* @__PURE__ */ Ze(e) ? x(t) : t) : x(t);
|
|
326
326
|
}
|
|
327
327
|
const xn = {
|
|
328
328
|
__proto__: null,
|
|
329
329
|
[Symbol.iterator]() {
|
|
330
|
-
return
|
|
330
|
+
return xe(this, Symbol.iterator, (e) => E(this, e));
|
|
331
331
|
},
|
|
332
332
|
concat(...e) {
|
|
333
333
|
return L(this).concat(
|
|
@@ -335,7 +335,7 @@ const xn = {
|
|
|
335
335
|
);
|
|
336
336
|
},
|
|
337
337
|
entries() {
|
|
338
|
-
return
|
|
338
|
+
return xe(this, "entries", (e) => (e[1] = E(this, e[1]), e));
|
|
339
339
|
},
|
|
340
340
|
every(e, t) {
|
|
341
341
|
return k(this, "every", e, t, void 0, arguments);
|
|
@@ -381,17 +381,17 @@ const xn = {
|
|
|
381
381
|
return k(this, "forEach", e, t, void 0, arguments);
|
|
382
382
|
},
|
|
383
383
|
includes(...e) {
|
|
384
|
-
return
|
|
384
|
+
return Ie(this, "includes", e);
|
|
385
385
|
},
|
|
386
386
|
indexOf(...e) {
|
|
387
|
-
return
|
|
387
|
+
return Ie(this, "indexOf", e);
|
|
388
388
|
},
|
|
389
389
|
join(e) {
|
|
390
390
|
return L(this).join(e);
|
|
391
391
|
},
|
|
392
392
|
// keys() iterator only reads `length`, no optimization required
|
|
393
393
|
lastIndexOf(...e) {
|
|
394
|
-
return
|
|
394
|
+
return Ie(this, "lastIndexOf", e);
|
|
395
395
|
},
|
|
396
396
|
map(e, t) {
|
|
397
397
|
return k(this, "map", e, t, void 0, arguments);
|
|
@@ -431,11 +431,11 @@ const xn = {
|
|
|
431
431
|
return ee(this, "unshift", e);
|
|
432
432
|
},
|
|
433
433
|
values() {
|
|
434
|
-
return
|
|
434
|
+
return xe(this, "values", (e) => E(this, e));
|
|
435
435
|
}
|
|
436
436
|
};
|
|
437
|
-
function
|
|
438
|
-
const s =
|
|
437
|
+
function xe(e, t, n) {
|
|
438
|
+
const s = Xe(e), r = s[t]();
|
|
439
439
|
return s !== e && !/* @__PURE__ */ v(e) && (r._next = r.next, r.next = () => {
|
|
440
440
|
const o = r._next();
|
|
441
441
|
return o.done || (o.value = n(o.value)), o;
|
|
@@ -443,7 +443,7 @@ function Re(e, t, n) {
|
|
|
443
443
|
}
|
|
444
444
|
const In = Array.prototype;
|
|
445
445
|
function k(e, t, n, s, r, o) {
|
|
446
|
-
const i =
|
|
446
|
+
const i = Xe(e), c = i !== e && !/* @__PURE__ */ v(e), l = i[t];
|
|
447
447
|
if (l !== In[t]) {
|
|
448
448
|
const a = l.apply(e, o);
|
|
449
449
|
return c ? x(a) : a;
|
|
@@ -458,7 +458,7 @@ function k(e, t, n, s, r, o) {
|
|
|
458
458
|
return c && r ? r(h) : h;
|
|
459
459
|
}
|
|
460
460
|
function lt(e, t, n, s) {
|
|
461
|
-
const r =
|
|
461
|
+
const r = Xe(e), o = r !== e && !/* @__PURE__ */ v(e);
|
|
462
462
|
let i = n, c = !1;
|
|
463
463
|
r !== e && (o ? (c = s.length === 0, i = function(f, h, a) {
|
|
464
464
|
return c && (c = !1, f = E(e, f)), n.call(this, f, E(e, h), a, e);
|
|
@@ -468,14 +468,14 @@ function lt(e, t, n, s) {
|
|
|
468
468
|
const l = r[t](i, ...s);
|
|
469
469
|
return c ? E(e, l) : l;
|
|
470
470
|
}
|
|
471
|
-
function
|
|
471
|
+
function Ie(e, t, n) {
|
|
472
472
|
const s = /* @__PURE__ */ p(e), r = s[t](...n);
|
|
473
473
|
return (r === -1 || r === !1) && /* @__PURE__ */ se(n[0]) ? (n[0] = /* @__PURE__ */ p(n[0]), s[t](...n)) : r;
|
|
474
474
|
}
|
|
475
475
|
function ee(e, t, n = []) {
|
|
476
|
-
|
|
476
|
+
Ye();
|
|
477
477
|
const s = (/* @__PURE__ */ p(e))[t].apply(e, n);
|
|
478
|
-
return
|
|
478
|
+
return Ge(), s;
|
|
479
479
|
}
|
|
480
480
|
const Dn = /* @__PURE__ */ gn("__proto__,__v_isRef,__isVue"), St = new Set(
|
|
481
481
|
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(H)
|
|
@@ -519,10 +519,10 @@ class vt {
|
|
|
519
519
|
if ((H(n) ? St.has(n) : Dn(n)) || o)
|
|
520
520
|
return c;
|
|
521
521
|
if (/* @__PURE__ */ m(c)) {
|
|
522
|
-
const l = i &&
|
|
523
|
-
return r && y(l) ? /* @__PURE__ */
|
|
522
|
+
const l = i && Ne(n) ? c : c.value;
|
|
523
|
+
return r && y(l) ? /* @__PURE__ */ He(l) : l;
|
|
524
524
|
}
|
|
525
|
-
return y(c) ? r ? /* @__PURE__ */
|
|
525
|
+
return y(c) ? r ? /* @__PURE__ */ He(c) : /* @__PURE__ */ Ot(c) : c;
|
|
526
526
|
}
|
|
527
527
|
}
|
|
528
528
|
class jn extends vt {
|
|
@@ -531,7 +531,7 @@ class jn extends vt {
|
|
|
531
531
|
}
|
|
532
532
|
set(t, n, s, r) {
|
|
533
533
|
let o = t[n];
|
|
534
|
-
const i = g(t) &&
|
|
534
|
+
const i = g(t) && Ne(n);
|
|
535
535
|
if (!this._isShallow) {
|
|
536
536
|
const f = /* @__PURE__ */ N(o);
|
|
537
537
|
if (!/* @__PURE__ */ v(s) && !/* @__PURE__ */ N(s) && (o = /* @__PURE__ */ p(o), s = /* @__PURE__ */ p(s)), !i && /* @__PURE__ */ m(o) && !/* @__PURE__ */ m(s))
|
|
@@ -540,7 +540,7 @@ class jn extends vt {
|
|
|
540
540
|
t[n]
|
|
541
541
|
), !0) : (o.value = s, !0);
|
|
542
542
|
}
|
|
543
|
-
const c = i ? Number(n) < t.length :
|
|
543
|
+
const c = i ? Number(n) < t.length : Ke(t, n), l = Reflect.set(
|
|
544
544
|
t,
|
|
545
545
|
n,
|
|
546
546
|
s,
|
|
@@ -549,7 +549,7 @@ class jn extends vt {
|
|
|
549
549
|
return t === /* @__PURE__ */ p(r) && (c ? ne(s, o) && P(t, "set", n, s, o) : P(t, "add", n, s)), l;
|
|
550
550
|
}
|
|
551
551
|
deleteProperty(t, n) {
|
|
552
|
-
const s =
|
|
552
|
+
const s = Ke(t, n), r = t[n], o = Reflect.deleteProperty(t, n);
|
|
553
553
|
return o && s && P(t, "delete", n, void 0, r), o;
|
|
554
554
|
}
|
|
555
555
|
has(t, n) {
|
|
@@ -681,7 +681,7 @@ function Fn(e, t) {
|
|
|
681
681
|
function wt(e, t) {
|
|
682
682
|
const n = Fn(e);
|
|
683
683
|
return (s, r, o) => r === "__v_isReactive" ? !e : r === "__v_isReadonly" ? e : r === "__v_raw" ? s : Reflect.get(
|
|
684
|
-
|
|
684
|
+
Ke(n, r) && r in s ? n : s,
|
|
685
685
|
r,
|
|
686
686
|
o
|
|
687
687
|
);
|
|
@@ -729,7 +729,7 @@ function Ot(e) {
|
|
|
729
729
|
);
|
|
730
730
|
}
|
|
731
731
|
// @__NO_SIDE_EFFECTS__
|
|
732
|
-
function
|
|
732
|
+
function He(e) {
|
|
733
733
|
return kt(
|
|
734
734
|
e,
|
|
735
735
|
!0,
|
|
@@ -760,8 +760,8 @@ function kt(e, t, n, s, r) {
|
|
|
760
760
|
return r.set(e, c), c;
|
|
761
761
|
}
|
|
762
762
|
// @__NO_SIDE_EFFECTS__
|
|
763
|
-
function
|
|
764
|
-
return /* @__PURE__ */ N(e) ? /* @__PURE__ */
|
|
763
|
+
function Ze(e) {
|
|
764
|
+
return /* @__PURE__ */ N(e) ? /* @__PURE__ */ Ze(e.__v_raw) : !!(e && e.__v_isReactive);
|
|
765
765
|
}
|
|
766
766
|
// @__NO_SIDE_EFFECTS__
|
|
767
767
|
function N(e) {
|
|
@@ -780,7 +780,7 @@ function p(e) {
|
|
|
780
780
|
const t = e && e.__v_raw;
|
|
781
781
|
return t ? /* @__PURE__ */ p(t) : e;
|
|
782
782
|
}
|
|
783
|
-
const x = (e) => y(e) ? /* @__PURE__ */ Ot(e) : e, he = (e) => y(e) ? /* @__PURE__ */
|
|
783
|
+
const x = (e) => y(e) ? /* @__PURE__ */ Ot(e) : e, he = (e) => y(e) ? /* @__PURE__ */ He(e) : e;
|
|
784
784
|
// @__NO_SIDE_EFFECTS__
|
|
785
785
|
function m(e) {
|
|
786
786
|
return e ? e.__v_isRef === !0 : !1;
|
|
@@ -821,7 +821,7 @@ class Yn {
|
|
|
821
821
|
constructor(t, n, s) {
|
|
822
822
|
this._object = t, this._defaultValue = s, this.__v_isRef = !0, this._value = void 0, this._key = H(n) ? n : String(n), this._raw = /* @__PURE__ */ p(t);
|
|
823
823
|
let r = !0, o = t;
|
|
824
|
-
if (!g(t) || H(this._key) || !
|
|
824
|
+
if (!g(t) || H(this._key) || !Ne(this._key))
|
|
825
825
|
do
|
|
826
826
|
r = !/* @__PURE__ */ se(o) || /* @__PURE__ */ v(o);
|
|
827
827
|
while (r && (o = o.__v_raw));
|
|
@@ -867,13 +867,13 @@ function Qn(e) {
|
|
|
867
867
|
function es() {
|
|
868
868
|
M.pop();
|
|
869
869
|
}
|
|
870
|
-
let
|
|
870
|
+
let De = !1;
|
|
871
871
|
function re(e, ...t) {
|
|
872
|
-
if (
|
|
873
|
-
|
|
872
|
+
if (De) return;
|
|
873
|
+
De = !0;
|
|
874
874
|
const n = M.length ? M[M.length - 1].component : null, s = n && n.appContext.config.warnHandler, r = ts();
|
|
875
875
|
if (s)
|
|
876
|
-
|
|
876
|
+
Qe(
|
|
877
877
|
s,
|
|
878
878
|
n,
|
|
879
879
|
11,
|
|
@@ -896,7 +896,7 @@ function re(e, ...t) {
|
|
|
896
896
|
r.length && o.push(`
|
|
897
897
|
`, ...ns(r)), console.warn(...o);
|
|
898
898
|
}
|
|
899
|
-
|
|
899
|
+
De = !1;
|
|
900
900
|
}
|
|
901
901
|
function ts() {
|
|
902
902
|
let e = M[M.length - 1];
|
|
@@ -971,7 +971,7 @@ const Rt = {
|
|
|
971
971
|
15: "component update",
|
|
972
972
|
16: "app unmount cleanup function"
|
|
973
973
|
};
|
|
974
|
-
function
|
|
974
|
+
function Qe(e, t, n, s) {
|
|
975
975
|
try {
|
|
976
976
|
return s ? e(...s) : e();
|
|
977
977
|
} catch (r) {
|
|
@@ -979,7 +979,7 @@ function Ze(e, t, n, s) {
|
|
|
979
979
|
}
|
|
980
980
|
}
|
|
981
981
|
function xt(e, t, n, s = !0) {
|
|
982
|
-
const r = t ? t.vnode : null, { errorHandler: o, throwUnhandledErrorInProduction: i } = t && t.appContext.config ||
|
|
982
|
+
const r = t ? t.vnode : null, { errorHandler: o, throwUnhandledErrorInProduction: i } = t && t.appContext.config || Fe;
|
|
983
983
|
if (t) {
|
|
984
984
|
let c = t.parent;
|
|
985
985
|
const l = t.proxy, f = process.env.NODE_ENV !== "production" ? Rt[n] : `https://vuejs.org/error-reference/#runtime-${n}`;
|
|
@@ -993,7 +993,7 @@ function xt(e, t, n, s = !0) {
|
|
|
993
993
|
c = c.parent;
|
|
994
994
|
}
|
|
995
995
|
if (o) {
|
|
996
|
-
|
|
996
|
+
Qe(o, null, 10, [
|
|
997
997
|
e,
|
|
998
998
|
l,
|
|
999
999
|
f
|
|
@@ -1020,7 +1020,7 @@ let V = -1;
|
|
|
1020
1020
|
const G = [];
|
|
1021
1021
|
let I = null, z = 0;
|
|
1022
1022
|
const is = /* @__PURE__ */ Promise.resolve();
|
|
1023
|
-
let
|
|
1023
|
+
let qe = null;
|
|
1024
1024
|
const cs = 100;
|
|
1025
1025
|
function as(e) {
|
|
1026
1026
|
let t = V + 1, n = b.length;
|
|
@@ -1038,7 +1038,7 @@ function ls(e) {
|
|
|
1038
1038
|
}
|
|
1039
1039
|
}
|
|
1040
1040
|
function It() {
|
|
1041
|
-
|
|
1041
|
+
qe || (qe = is.then(Dt));
|
|
1042
1042
|
}
|
|
1043
1043
|
function us(e) {
|
|
1044
1044
|
g(e) ? G.push(...e) : I && e.id === -1 ? I.splice(z + 1, 0, e) : e.flags & 1 || (G.push(e), e.flags |= 1), It();
|
|
@@ -1069,7 +1069,7 @@ function Dt(e) {
|
|
|
1069
1069
|
if (n && !(n.flags & 8)) {
|
|
1070
1070
|
if (process.env.NODE_ENV !== "production" && t(n))
|
|
1071
1071
|
continue;
|
|
1072
|
-
n.flags & 4 && (n.flags &= -2),
|
|
1072
|
+
n.flags & 4 && (n.flags &= -2), Qe(
|
|
1073
1073
|
n,
|
|
1074
1074
|
n.i,
|
|
1075
1075
|
n.i ? 15 : 14
|
|
@@ -1081,7 +1081,7 @@ function Dt(e) {
|
|
|
1081
1081
|
const n = b[V];
|
|
1082
1082
|
n && (n.flags &= -2);
|
|
1083
1083
|
}
|
|
1084
|
-
V = -1, b.length = 0, fs(e),
|
|
1084
|
+
V = -1, b.length = 0, fs(e), qe = null, (b.length || G.length) && Dt(e);
|
|
1085
1085
|
}
|
|
1086
1086
|
}
|
|
1087
1087
|
function Pt(e, t) {
|
|
@@ -1096,11 +1096,11 @@ function Pt(e, t) {
|
|
|
1096
1096
|
}
|
|
1097
1097
|
return e.set(t, n + 1), !1;
|
|
1098
1098
|
}
|
|
1099
|
-
const
|
|
1100
|
-
process.env.NODE_ENV !== "production" && (
|
|
1101
|
-
createRecord:
|
|
1102
|
-
rerender:
|
|
1103
|
-
reload:
|
|
1099
|
+
const Pe = /* @__PURE__ */ new Map();
|
|
1100
|
+
process.env.NODE_ENV !== "production" && (Oe().__VUE_HMR_RUNTIME__ = {
|
|
1101
|
+
createRecord: je(ps),
|
|
1102
|
+
rerender: je(hs),
|
|
1103
|
+
reload: je(ds)
|
|
1104
1104
|
});
|
|
1105
1105
|
const de = /* @__PURE__ */ new Map();
|
|
1106
1106
|
function ps(e, t) {
|
|
@@ -1125,15 +1125,15 @@ function ds(e, t) {
|
|
|
1125
1125
|
const s = [...n.instances];
|
|
1126
1126
|
for (let r = 0; r < s.length; r++) {
|
|
1127
1127
|
const o = s[r], i = _e(o.type);
|
|
1128
|
-
let c =
|
|
1129
|
-
c || (i !== n.initialDef && ft(i, t),
|
|
1128
|
+
let c = Pe.get(i);
|
|
1129
|
+
c || (i !== n.initialDef && ft(i, t), Pe.set(i, c = /* @__PURE__ */ new Set())), c.add(o), o.appContext.propsCache.delete(o.type), o.appContext.emitsCache.delete(o.type), o.appContext.optionsCache.delete(o.type), o.ceReload ? (c.add(o), o.ceReload(t.styles), c.delete(o)) : o.parent ? ls(() => {
|
|
1130
1130
|
o.job.flags & 8 || (o.parent.update(), c.delete(o));
|
|
1131
1131
|
}) : o.appContext.reload ? o.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn(
|
|
1132
1132
|
"[HMR] Root or manually mounted instance modified. Full reload required."
|
|
1133
1133
|
), o.root.ce && o !== o.root && o.root.ce._removeChildStyle(i);
|
|
1134
1134
|
}
|
|
1135
1135
|
us(() => {
|
|
1136
|
-
|
|
1136
|
+
Pe.clear();
|
|
1137
1137
|
});
|
|
1138
1138
|
}
|
|
1139
1139
|
function ft(e, t) {
|
|
@@ -1141,7 +1141,7 @@ function ft(e, t) {
|
|
|
1141
1141
|
for (const n in e)
|
|
1142
1142
|
n !== "__file" && !(n in t) && delete e[n];
|
|
1143
1143
|
}
|
|
1144
|
-
function
|
|
1144
|
+
function je(e) {
|
|
1145
1145
|
return (t, n) => {
|
|
1146
1146
|
try {
|
|
1147
1147
|
return e(t, n);
|
|
@@ -1157,8 +1157,8 @@ const gs = (e) => e.__isTeleport;
|
|
|
1157
1157
|
function jt(e, t) {
|
|
1158
1158
|
e.shapeFlag & 6 && e.component ? (e.transition = t, jt(e.component.subTree, t)) : e.shapeFlag & 128 ? (e.ssContent.transition = t.clone(e.ssContent), e.ssFallback.transition = t.clone(e.ssFallback)) : e.transition = t;
|
|
1159
1159
|
}
|
|
1160
|
-
|
|
1161
|
-
|
|
1160
|
+
Oe().requestIdleCallback;
|
|
1161
|
+
Oe().cancelIdleCallback;
|
|
1162
1162
|
const ys = /* @__PURE__ */ Symbol.for("v-ndc");
|
|
1163
1163
|
process.env.NODE_ENV;
|
|
1164
1164
|
const ms = {}, $t = (e) => Object.getPrototypeOf(e) === ms, bs = (e) => e.__isSuspense, Tt = /* @__PURE__ */ Symbol.for("v-fgt"), Ss = /* @__PURE__ */ Symbol.for("v-txt"), vs = /* @__PURE__ */ Symbol.for("v-cmt");
|
|
@@ -1202,7 +1202,7 @@ function Ns(e, t = null, n = null, s = 0, r = null, o = e === Tt ? 0 : 1, i = !1
|
|
|
1202
1202
|
appContext: null,
|
|
1203
1203
|
ctx: ge
|
|
1204
1204
|
};
|
|
1205
|
-
return c ? (
|
|
1205
|
+
return c ? (et(l, n), o & 128 && e.normalize(l)) : n && (l.shapeFlag |= R(n) ? 8 : 16), process.env.NODE_ENV !== "production" && l.key !== l.key && re("VNode created with invalid key (NaN). VNode type:", l.type), l;
|
|
1206
1206
|
}
|
|
1207
1207
|
const Os = process.env.NODE_ENV !== "production" ? Es : Mt;
|
|
1208
1208
|
function Mt(e, t = null, n = null, s = 0, r = null, o = !1) {
|
|
@@ -1213,12 +1213,12 @@ function Mt(e, t = null, n = null, s = 0, r = null, o = !1) {
|
|
|
1213
1213
|
!0
|
|
1214
1214
|
/* mergeRef: true */
|
|
1215
1215
|
);
|
|
1216
|
-
return n &&
|
|
1216
|
+
return n && et(c, n), c.patchFlag = -2, c;
|
|
1217
1217
|
}
|
|
1218
1218
|
if (qt(e) && (e = e.__vccOpts), t) {
|
|
1219
1219
|
t = ks(t);
|
|
1220
1220
|
let { class: c, style: l } = t;
|
|
1221
|
-
c && !R(c) && (t.class =
|
|
1221
|
+
c && !R(c) && (t.class = Je(c)), y(l) && (/* @__PURE__ */ se(l) && !g(l) && (l = q({}, l)), t.style = Be(l));
|
|
1222
1222
|
}
|
|
1223
1223
|
const i = R(e) ? 1 : bs(e) ? 128 : gs(e) ? 64 : y(e) ? 4 : T(e) ? 2 : 0;
|
|
1224
1224
|
return process.env.NODE_ENV !== "production" && i & 4 && /* @__PURE__ */ se(e) && (e = /* @__PURE__ */ p(e), re(
|
|
@@ -1297,7 +1297,7 @@ function Ft(e) {
|
|
|
1297
1297
|
function Vs(e = " ", t = 0) {
|
|
1298
1298
|
return Os(Ss, null, e, t);
|
|
1299
1299
|
}
|
|
1300
|
-
function
|
|
1300
|
+
function et(e, t) {
|
|
1301
1301
|
let n = 0;
|
|
1302
1302
|
const { shapeFlag: s } = e;
|
|
1303
1303
|
if (t == null)
|
|
@@ -1307,7 +1307,7 @@ function Qe(e, t) {
|
|
|
1307
1307
|
else if (typeof t == "object")
|
|
1308
1308
|
if (s & 65) {
|
|
1309
1309
|
const r = t.default;
|
|
1310
|
-
r && (r._c && (r._d = !1),
|
|
1310
|
+
r && (r._c && (r._d = !1), et(e, r()), r._c && (r._d = !0));
|
|
1311
1311
|
return;
|
|
1312
1312
|
} else
|
|
1313
1313
|
n = 32, !t._ && !$t(t) && (t._ctx = ge);
|
|
@@ -1320,9 +1320,9 @@ function Cs(...e) {
|
|
|
1320
1320
|
const s = e[n];
|
|
1321
1321
|
for (const r in s)
|
|
1322
1322
|
if (r === "class")
|
|
1323
|
-
t.class !== s.class && (t.class =
|
|
1323
|
+
t.class !== s.class && (t.class = Je([t.class, s.class]));
|
|
1324
1324
|
else if (r === "style")
|
|
1325
|
-
t.style =
|
|
1325
|
+
t.style = Be([t.style, s.style]);
|
|
1326
1326
|
else if (mn(r)) {
|
|
1327
1327
|
const o = t[r], i = s[r];
|
|
1328
1328
|
i && o !== i && !(g(o) && o.includes(i)) ? t[r] = o ? [].concat(o, i) : i : i == null && o == null && // mergeProps({ 'onUpdate:modelValue': undefined }) should not retain
|
|
@@ -1333,7 +1333,7 @@ function Cs(...e) {
|
|
|
1333
1333
|
return t;
|
|
1334
1334
|
}
|
|
1335
1335
|
{
|
|
1336
|
-
const e =
|
|
1336
|
+
const e = Oe(), t = (n, s) => {
|
|
1337
1337
|
let r;
|
|
1338
1338
|
return (r = e[n]) || (r = e[n] = []), r.push(s), (o) => {
|
|
1339
1339
|
r.length > 1 ? r.forEach((i) => i(o)) : r[0](o);
|
|
@@ -1394,7 +1394,7 @@ function Is() {
|
|
|
1394
1394
|
">"
|
|
1395
1395
|
];
|
|
1396
1396
|
} else {
|
|
1397
|
-
if (/* @__PURE__ */
|
|
1397
|
+
if (/* @__PURE__ */ Ze(a))
|
|
1398
1398
|
return [
|
|
1399
1399
|
"div",
|
|
1400
1400
|
{},
|
|
@@ -1429,7 +1429,7 @@ function Is() {
|
|
|
1429
1429
|
};
|
|
1430
1430
|
function o(a) {
|
|
1431
1431
|
const u = [];
|
|
1432
|
-
a.type.props && a.props && u.push(i("props", /* @__PURE__ */ p(a.props))), a.setupState !==
|
|
1432
|
+
a.type.props && a.props && u.push(i("props", /* @__PURE__ */ p(a.props))), a.setupState !== Fe && u.push(i("setup", a.setupState)), a.data !== Fe && u.push(i("data", /* @__PURE__ */ p(a.data)));
|
|
1433
1433
|
const d = l(a, "computed");
|
|
1434
1434
|
d && u.push(i("computed", d));
|
|
1435
1435
|
const _ = l(a, "inject");
|
|
@@ -1772,7 +1772,7 @@ let pt = class {
|
|
|
1772
1772
|
this.open({ success: n });
|
|
1773
1773
|
}
|
|
1774
1774
|
};
|
|
1775
|
-
class
|
|
1775
|
+
class tt {
|
|
1776
1776
|
_db;
|
|
1777
1777
|
_db_options;
|
|
1778
1778
|
get dbName() {
|
|
@@ -1847,7 +1847,7 @@ const Ms = {
|
|
|
1847
1847
|
W[t] = e;
|
|
1848
1848
|
}
|
|
1849
1849
|
};
|
|
1850
|
-
class Fs extends
|
|
1850
|
+
class Fs extends tt {
|
|
1851
1851
|
defineDb() {
|
|
1852
1852
|
return this.dbName === "localStorage" || this.dbName === "sessionStorage" ? Ms : new As();
|
|
1853
1853
|
}
|
|
@@ -1920,18 +1920,18 @@ class ie {
|
|
|
1920
1920
|
this._materialKey || await this.setKeyMaterial(this._key);
|
|
1921
1921
|
}
|
|
1922
1922
|
}
|
|
1923
|
-
const
|
|
1923
|
+
const Ue = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
|
|
1924
1924
|
process.env.NODE_ENV !== "production" && Object.freeze([]);
|
|
1925
1925
|
const Lt = () => {
|
|
1926
1926
|
}, Ks = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
|
|
1927
|
-
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), Hs = (e) => e.startsWith("onUpdate:"),
|
|
1927
|
+
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), Hs = (e) => e.startsWith("onUpdate:"), ke = Object.assign, O = Array.isArray, U = (e) => typeof e == "function", $ = (e) => typeof e == "string", qs = (e) => typeof e == "symbol", F = (e) => e !== null && typeof e == "object";
|
|
1928
1928
|
let ht;
|
|
1929
|
-
const
|
|
1930
|
-
function
|
|
1929
|
+
const Ve = () => ht || (ht = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
|
|
1930
|
+
function nt(e) {
|
|
1931
1931
|
if (O(e)) {
|
|
1932
1932
|
const t = {};
|
|
1933
1933
|
for (let n = 0; n < e.length; n++) {
|
|
1934
|
-
const s = e[n], r = $(s) ? zs(s) :
|
|
1934
|
+
const s = e[n], r = $(s) ? zs(s) : nt(s);
|
|
1935
1935
|
if (r)
|
|
1936
1936
|
for (const o in r)
|
|
1937
1937
|
t[o] = r[o];
|
|
@@ -1950,13 +1950,13 @@ function zs(e) {
|
|
|
1950
1950
|
}
|
|
1951
1951
|
}), t;
|
|
1952
1952
|
}
|
|
1953
|
-
function
|
|
1953
|
+
function st(e) {
|
|
1954
1954
|
let t = "";
|
|
1955
1955
|
if ($(e))
|
|
1956
1956
|
t = e;
|
|
1957
1957
|
else if (O(e))
|
|
1958
1958
|
for (let n = 0; n < e.length; n++) {
|
|
1959
|
-
const s =
|
|
1959
|
+
const s = st(e[n]);
|
|
1960
1960
|
s && (t += s + " ");
|
|
1961
1961
|
}
|
|
1962
1962
|
else if (F(e))
|
|
@@ -1972,18 +1972,18 @@ new Set(
|
|
|
1972
1972
|
);
|
|
1973
1973
|
// @__NO_SIDE_EFFECTS__
|
|
1974
1974
|
function Wt(e) {
|
|
1975
|
-
return /* @__PURE__ */
|
|
1975
|
+
return /* @__PURE__ */ Le(e) ? /* @__PURE__ */ Wt(e.__v_raw) : !!(e && e.__v_isReactive);
|
|
1976
1976
|
}
|
|
1977
1977
|
// @__NO_SIDE_EFFECTS__
|
|
1978
|
-
function
|
|
1978
|
+
function Le(e) {
|
|
1979
1979
|
return !!(e && e.__v_isReadonly);
|
|
1980
1980
|
}
|
|
1981
1981
|
// @__NO_SIDE_EFFECTS__
|
|
1982
|
-
function
|
|
1982
|
+
function $e(e) {
|
|
1983
1983
|
return !!(e && e.__v_isShallow);
|
|
1984
1984
|
}
|
|
1985
1985
|
// @__NO_SIDE_EFFECTS__
|
|
1986
|
-
function
|
|
1986
|
+
function We(e) {
|
|
1987
1987
|
return e ? !!e.__v_raw : !1;
|
|
1988
1988
|
}
|
|
1989
1989
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -1992,7 +1992,7 @@ function j(e) {
|
|
|
1992
1992
|
return t ? /* @__PURE__ */ j(t) : e;
|
|
1993
1993
|
}
|
|
1994
1994
|
// @__NO_SIDE_EFFECTS__
|
|
1995
|
-
function
|
|
1995
|
+
function rt(e) {
|
|
1996
1996
|
return e ? e.__v_isRef === !0 : !1;
|
|
1997
1997
|
}
|
|
1998
1998
|
const K = [];
|
|
@@ -2002,13 +2002,13 @@ function Bs(e) {
|
|
|
2002
2002
|
function Js() {
|
|
2003
2003
|
K.pop();
|
|
2004
2004
|
}
|
|
2005
|
-
let
|
|
2005
|
+
let Te = !1;
|
|
2006
2006
|
function Q(e, ...t) {
|
|
2007
|
-
if (
|
|
2008
|
-
|
|
2007
|
+
if (Te) return;
|
|
2008
|
+
Te = !0;
|
|
2009
2009
|
const n = K.length ? K[K.length - 1].component : null, s = n && n.appContext.config.warnHandler, r = Ys();
|
|
2010
2010
|
if (s)
|
|
2011
|
-
|
|
2011
|
+
ot(
|
|
2012
2012
|
s,
|
|
2013
2013
|
n,
|
|
2014
2014
|
11,
|
|
@@ -2031,7 +2031,7 @@ function Q(e, ...t) {
|
|
|
2031
2031
|
r.length && o.push(`
|
|
2032
2032
|
`, ...Gs(r)), console.warn(...o);
|
|
2033
2033
|
}
|
|
2034
|
-
|
|
2034
|
+
Te = !1;
|
|
2035
2035
|
}
|
|
2036
2036
|
function Ys() {
|
|
2037
2037
|
let e = K[K.length - 1];
|
|
@@ -2071,7 +2071,7 @@ function Zs(e) {
|
|
|
2071
2071
|
}), n.length > 3 && t.push(" ..."), t;
|
|
2072
2072
|
}
|
|
2073
2073
|
function zt(e, t, n) {
|
|
2074
|
-
return $(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : /* @__PURE__ */
|
|
2074
|
+
return $(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : /* @__PURE__ */ rt(t) ? (t = zt(e, /* @__PURE__ */ j(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : U(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = /* @__PURE__ */ j(t), n ? t : [`${e}=`, t]);
|
|
2075
2075
|
}
|
|
2076
2076
|
const Bt = {
|
|
2077
2077
|
sp: "serverPrefetch hook",
|
|
@@ -2106,7 +2106,7 @@ const Bt = {
|
|
|
2106
2106
|
15: "component update",
|
|
2107
2107
|
16: "app unmount cleanup function"
|
|
2108
2108
|
};
|
|
2109
|
-
function
|
|
2109
|
+
function ot(e, t, n, s) {
|
|
2110
2110
|
try {
|
|
2111
2111
|
return s ? e(...s) : e();
|
|
2112
2112
|
} catch (r) {
|
|
@@ -2114,7 +2114,7 @@ function rt(e, t, n, s) {
|
|
|
2114
2114
|
}
|
|
2115
2115
|
}
|
|
2116
2116
|
function Jt(e, t, n, s = !0) {
|
|
2117
|
-
const r = t ? t.vnode : null, { errorHandler: o, throwUnhandledErrorInProduction: i } = t && t.appContext.config ||
|
|
2117
|
+
const r = t ? t.vnode : null, { errorHandler: o, throwUnhandledErrorInProduction: i } = t && t.appContext.config || Ue;
|
|
2118
2118
|
if (t) {
|
|
2119
2119
|
let c = t.parent;
|
|
2120
2120
|
const l = t.proxy, f = process.env.NODE_ENV !== "production" ? Bt[n] : `https://vuejs.org/error-reference/#runtime-${n}`;
|
|
@@ -2128,7 +2128,7 @@ function Jt(e, t, n, s = !0) {
|
|
|
2128
2128
|
c = c.parent;
|
|
2129
2129
|
}
|
|
2130
2130
|
if (o) {
|
|
2131
|
-
|
|
2131
|
+
ot(o, null, 10, [
|
|
2132
2132
|
e,
|
|
2133
2133
|
l,
|
|
2134
2134
|
f
|
|
@@ -2155,7 +2155,7 @@ let C = -1;
|
|
|
2155
2155
|
const X = [];
|
|
2156
2156
|
let D = null, B = 0;
|
|
2157
2157
|
const er = /* @__PURE__ */ Promise.resolve();
|
|
2158
|
-
let
|
|
2158
|
+
let ze = null;
|
|
2159
2159
|
const tr = 100;
|
|
2160
2160
|
function nr(e) {
|
|
2161
2161
|
let t = C + 1, n = S.length;
|
|
@@ -2173,7 +2173,7 @@ function sr(e) {
|
|
|
2173
2173
|
}
|
|
2174
2174
|
}
|
|
2175
2175
|
function Yt() {
|
|
2176
|
-
|
|
2176
|
+
ze || (ze = er.then(Gt));
|
|
2177
2177
|
}
|
|
2178
2178
|
function rr(e) {
|
|
2179
2179
|
O(e) ? X.push(...e) : D && e.id === -1 ? D.splice(B + 1, 0, e) : e.flags & 1 || (X.push(e), e.flags |= 1), Yt();
|
|
@@ -2204,7 +2204,7 @@ function Gt(e) {
|
|
|
2204
2204
|
if (n && !(n.flags & 8)) {
|
|
2205
2205
|
if (process.env.NODE_ENV !== "production" && t(n))
|
|
2206
2206
|
continue;
|
|
2207
|
-
n.flags & 4 && (n.flags &= -2),
|
|
2207
|
+
n.flags & 4 && (n.flags &= -2), ot(
|
|
2208
2208
|
n,
|
|
2209
2209
|
n.i,
|
|
2210
2210
|
n.i ? 15 : 14
|
|
@@ -2216,7 +2216,7 @@ function Gt(e) {
|
|
|
2216
2216
|
const n = S[C];
|
|
2217
2217
|
n && (n.flags &= -2);
|
|
2218
2218
|
}
|
|
2219
|
-
C = -1, S.length = 0, or(e),
|
|
2219
|
+
C = -1, S.length = 0, or(e), ze = null, (S.length || X.length) && Gt(e);
|
|
2220
2220
|
}
|
|
2221
2221
|
}
|
|
2222
2222
|
function Xt(e, t) {
|
|
@@ -2231,11 +2231,11 @@ function Xt(e, t) {
|
|
|
2231
2231
|
}
|
|
2232
2232
|
return e.set(t, n + 1), !1;
|
|
2233
2233
|
}
|
|
2234
|
-
const
|
|
2235
|
-
process.env.NODE_ENV !== "production" && (
|
|
2236
|
-
createRecord:
|
|
2237
|
-
rerender:
|
|
2238
|
-
reload:
|
|
2234
|
+
const Ae = /* @__PURE__ */ new Map();
|
|
2235
|
+
process.env.NODE_ENV !== "production" && (Ve().__VUE_HMR_RUNTIME__ = {
|
|
2236
|
+
createRecord: Me(ir),
|
|
2237
|
+
rerender: Me(cr),
|
|
2238
|
+
reload: Me(ar)
|
|
2239
2239
|
});
|
|
2240
2240
|
const me = /* @__PURE__ */ new Map();
|
|
2241
2241
|
function ir(e, t) {
|
|
@@ -2260,23 +2260,23 @@ function ar(e, t) {
|
|
|
2260
2260
|
const s = [...n.instances];
|
|
2261
2261
|
for (let r = 0; r < s.length; r++) {
|
|
2262
2262
|
const o = s[r], i = be(o.type);
|
|
2263
|
-
let c =
|
|
2264
|
-
c || (i !== n.initialDef && dt(i, t),
|
|
2263
|
+
let c = Ae.get(i);
|
|
2264
|
+
c || (i !== n.initialDef && dt(i, t), Ae.set(i, c = /* @__PURE__ */ new Set())), c.add(o), o.appContext.propsCache.delete(o.type), o.appContext.emitsCache.delete(o.type), o.appContext.optionsCache.delete(o.type), o.ceReload ? (c.add(o), o.ceReload(t.styles), c.delete(o)) : o.parent ? sr(() => {
|
|
2265
2265
|
o.job.flags & 8 || (o.parent.update(), c.delete(o));
|
|
2266
2266
|
}) : o.appContext.reload ? o.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn(
|
|
2267
2267
|
"[HMR] Root or manually mounted instance modified. Full reload required."
|
|
2268
2268
|
), o.root.ce && o !== o.root && o.root.ce._removeChildStyle(i);
|
|
2269
2269
|
}
|
|
2270
2270
|
rr(() => {
|
|
2271
|
-
|
|
2271
|
+
Ae.clear();
|
|
2272
2272
|
});
|
|
2273
2273
|
}
|
|
2274
2274
|
function dt(e, t) {
|
|
2275
|
-
|
|
2275
|
+
ke(e, t);
|
|
2276
2276
|
for (const n in e)
|
|
2277
2277
|
n !== "__file" && !(n in t) && delete e[n];
|
|
2278
2278
|
}
|
|
2279
|
-
function
|
|
2279
|
+
function Me(e) {
|
|
2280
2280
|
return (t, n) => {
|
|
2281
2281
|
try {
|
|
2282
2282
|
return e(t, n);
|
|
@@ -2304,8 +2304,8 @@ const ur = (e) => e.__isTeleport;
|
|
|
2304
2304
|
function Qt(e, t) {
|
|
2305
2305
|
e.shapeFlag & 6 && e.component ? (e.transition = t, Qt(e.component.subTree, t)) : e.shapeFlag & 128 ? (e.ssContent.transition = t.clone(e.ssContent), e.ssFallback.transition = t.clone(e.ssFallback)) : e.transition = t;
|
|
2306
2306
|
}
|
|
2307
|
-
|
|
2308
|
-
|
|
2307
|
+
Ve().requestIdleCallback;
|
|
2308
|
+
Ve().cancelIdleCallback;
|
|
2309
2309
|
const fr = /* @__PURE__ */ Symbol.for("v-ndc"), pr = {};
|
|
2310
2310
|
process.env.NODE_ENV !== "production" && (pr.ownKeys = (e) => (Q(
|
|
2311
2311
|
"Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."
|
|
@@ -2320,7 +2320,7 @@ const mr = (...e) => sn(
|
|
|
2320
2320
|
ref: e,
|
|
2321
2321
|
ref_key: t,
|
|
2322
2322
|
ref_for: n
|
|
2323
|
-
}) => (typeof e == "number" && (e = "" + e), e != null ? $(e) || /* @__PURE__ */
|
|
2323
|
+
}) => (typeof e == "number" && (e = "" + e), e != null ? $(e) || /* @__PURE__ */ rt(e) || U(e) ? { i: Se, r: e, k: t, f: !!n } : e : null);
|
|
2324
2324
|
function br(e, t = null, n = null, s = 0, r = null, o = e === tn ? 0 : 1, i = !1, c = !1) {
|
|
2325
2325
|
const l = {
|
|
2326
2326
|
__v_isVNode: !0,
|
|
@@ -2351,7 +2351,7 @@ function br(e, t = null, n = null, s = 0, r = null, o = e === tn ? 0 : 1, i = !1
|
|
|
2351
2351
|
appContext: null,
|
|
2352
2352
|
ctx: Se
|
|
2353
2353
|
};
|
|
2354
|
-
return c ? (
|
|
2354
|
+
return c ? (we(l, n), o & 128 && e.normalize(l)) : n && (l.shapeFlag |= $(n) ? 8 : 16), process.env.NODE_ENV !== "production" && l.key !== l.key && Q("VNode created with invalid key (NaN). VNode type:", l.type), l;
|
|
2355
2355
|
}
|
|
2356
2356
|
const Sr = process.env.NODE_ENV !== "production" ? mr : sn;
|
|
2357
2357
|
function sn(e, t = null, n = null, s = 0, r = null, o = !1) {
|
|
@@ -2362,15 +2362,15 @@ function sn(e, t = null, n = null, s = 0, r = null, o = !1) {
|
|
|
2362
2362
|
!0
|
|
2363
2363
|
/* mergeRef: true */
|
|
2364
2364
|
);
|
|
2365
|
-
return n &&
|
|
2365
|
+
return n && we(c, n), c.patchFlag = -2, c;
|
|
2366
2366
|
}
|
|
2367
2367
|
if (an(e) && (e = e.__vccOpts), t) {
|
|
2368
2368
|
t = vr(t);
|
|
2369
2369
|
let { class: c, style: l } = t;
|
|
2370
|
-
c && !$(c) && (t.class =
|
|
2370
|
+
c && !$(c) && (t.class = st(c)), F(l) && (/* @__PURE__ */ We(l) && !O(l) && (l = ke({}, l)), t.style = nt(l));
|
|
2371
2371
|
}
|
|
2372
2372
|
const i = $(e) ? 1 : dr(e) ? 128 : ur(e) ? 64 : F(e) ? 4 : U(e) ? 2 : 0;
|
|
2373
|
-
return process.env.NODE_ENV !== "production" && i & 4 && /* @__PURE__ */
|
|
2373
|
+
return process.env.NODE_ENV !== "production" && i & 4 && /* @__PURE__ */ We(e) && (e = /* @__PURE__ */ j(e), Q(
|
|
2374
2374
|
"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`.",
|
|
2375
2375
|
`
|
|
2376
2376
|
Component that was made reactive: `,
|
|
@@ -2387,7 +2387,7 @@ Component that was made reactive: `,
|
|
|
2387
2387
|
);
|
|
2388
2388
|
}
|
|
2389
2389
|
function vr(e) {
|
|
2390
|
-
return e ? /* @__PURE__ */
|
|
2390
|
+
return e ? /* @__PURE__ */ We(e) || en(e) ? ke({}, e) : e : null;
|
|
2391
2391
|
}
|
|
2392
2392
|
function ve(e, t, n = !1, s = !1) {
|
|
2393
2393
|
const { props: r, ref: o, patchFlag: i, children: c, transition: l } = e, f = t ? Er(r || {}, t) : r, h = {
|
|
@@ -2446,7 +2446,7 @@ function rn(e) {
|
|
|
2446
2446
|
function wr(e = " ", t = 0) {
|
|
2447
2447
|
return Sr(_r, null, e, t);
|
|
2448
2448
|
}
|
|
2449
|
-
function
|
|
2449
|
+
function we(e, t) {
|
|
2450
2450
|
let n = 0;
|
|
2451
2451
|
const { shapeFlag: s } = e;
|
|
2452
2452
|
if (t == null)
|
|
@@ -2456,11 +2456,18 @@ function ot(e, t) {
|
|
|
2456
2456
|
else if (typeof t == "object")
|
|
2457
2457
|
if (s & 65) {
|
|
2458
2458
|
const r = t.default;
|
|
2459
|
-
r && (r._c && (r._d = !1),
|
|
2459
|
+
r && (r._c && (r._d = !1), we(e, r()), r._c && (r._d = !0));
|
|
2460
2460
|
return;
|
|
2461
2461
|
} else
|
|
2462
2462
|
n = 32, !t._ && !en(t) && (t._ctx = Se);
|
|
2463
|
-
else
|
|
2463
|
+
else if (U(t)) {
|
|
2464
|
+
if (s & 65) {
|
|
2465
|
+
we(e, { default: t });
|
|
2466
|
+
return;
|
|
2467
|
+
}
|
|
2468
|
+
t = { default: t, _ctx: Se }, n = 32;
|
|
2469
|
+
} else
|
|
2470
|
+
t = String(t), s & 64 ? (n = 16, t = [wr(t)]) : n = 8;
|
|
2464
2471
|
e.children = t, e.shapeFlag |= n;
|
|
2465
2472
|
}
|
|
2466
2473
|
function Er(...e) {
|
|
@@ -2469,9 +2476,9 @@ function Er(...e) {
|
|
|
2469
2476
|
const s = e[n];
|
|
2470
2477
|
for (const r in s)
|
|
2471
2478
|
if (r === "class")
|
|
2472
|
-
t.class !== s.class && (t.class =
|
|
2479
|
+
t.class !== s.class && (t.class = st([t.class, s.class]));
|
|
2473
2480
|
else if (r === "style")
|
|
2474
|
-
t.style =
|
|
2481
|
+
t.style = nt([t.style, s.style]);
|
|
2475
2482
|
else if (Ks(r)) {
|
|
2476
2483
|
const o = t[r], i = s[r];
|
|
2477
2484
|
i && o !== i && !(O(o) && o.includes(i)) ? t[r] = o ? [].concat(o, i) : i : i == null && o == null && // mergeProps({ 'onUpdate:modelValue': undefined }) should not retain
|
|
@@ -2482,7 +2489,7 @@ function Er(...e) {
|
|
|
2482
2489
|
return t;
|
|
2483
2490
|
}
|
|
2484
2491
|
{
|
|
2485
|
-
const e =
|
|
2492
|
+
const e = Ve(), t = (n, s) => {
|
|
2486
2493
|
let r;
|
|
2487
2494
|
return (r = e[n]) || (r = e[n] = []), r.push(s), (o) => {
|
|
2488
2495
|
r.length > 1 ? r.forEach((i) => i(o)) : r[0](o);
|
|
@@ -2532,7 +2539,7 @@ function kr() {
|
|
|
2532
2539
|
return null;
|
|
2533
2540
|
if (a.__isVue)
|
|
2534
2541
|
return ["div", e, "VueInstance"];
|
|
2535
|
-
if (/* @__PURE__ */
|
|
2542
|
+
if (/* @__PURE__ */ rt(a)) {
|
|
2536
2543
|
const u = a.value;
|
|
2537
2544
|
return [
|
|
2538
2545
|
"div",
|
|
@@ -2547,16 +2554,16 @@ function kr() {
|
|
|
2547
2554
|
return [
|
|
2548
2555
|
"div",
|
|
2549
2556
|
{},
|
|
2550
|
-
["span", e, /* @__PURE__ */
|
|
2557
|
+
["span", e, /* @__PURE__ */ $e(a) ? "ShallowReactive" : "Reactive"],
|
|
2551
2558
|
"<",
|
|
2552
2559
|
c(a),
|
|
2553
|
-
`>${/* @__PURE__ */
|
|
2560
|
+
`>${/* @__PURE__ */ Le(a) ? " (readonly)" : ""}`
|
|
2554
2561
|
];
|
|
2555
|
-
if (/* @__PURE__ */
|
|
2562
|
+
if (/* @__PURE__ */ Le(a))
|
|
2556
2563
|
return [
|
|
2557
2564
|
"div",
|
|
2558
2565
|
{},
|
|
2559
|
-
["span", e, /* @__PURE__ */
|
|
2566
|
+
["span", e, /* @__PURE__ */ $e(a) ? "ShallowReadonly" : "Readonly"],
|
|
2560
2567
|
"<",
|
|
2561
2568
|
c(a),
|
|
2562
2569
|
">"
|
|
@@ -2578,7 +2585,7 @@ function kr() {
|
|
|
2578
2585
|
};
|
|
2579
2586
|
function o(a) {
|
|
2580
2587
|
const u = [];
|
|
2581
|
-
a.type.props && a.props && u.push(i("props", /* @__PURE__ */ j(a.props))), a.setupState !==
|
|
2588
|
+
a.type.props && a.props && u.push(i("props", /* @__PURE__ */ j(a.props))), a.setupState !== Ue && u.push(i("setup", a.setupState)), a.data !== Ue && u.push(i("data", /* @__PURE__ */ j(a.data)));
|
|
2582
2589
|
const d = l(a, "computed");
|
|
2583
2590
|
d && u.push(i("computed", d));
|
|
2584
2591
|
const _ = l(a, "inject");
|
|
@@ -2596,7 +2603,7 @@ function kr() {
|
|
|
2596
2603
|
]), u;
|
|
2597
2604
|
}
|
|
2598
2605
|
function i(a, u) {
|
|
2599
|
-
return u =
|
|
2606
|
+
return u = ke({}, u), Object.keys(u).length ? [
|
|
2600
2607
|
"div",
|
|
2601
2608
|
{ style: "line-height:1.25em;margin-bottom:0.6em" },
|
|
2602
2609
|
[
|
|
@@ -2638,7 +2645,7 @@ function kr() {
|
|
|
2638
2645
|
return !0;
|
|
2639
2646
|
}
|
|
2640
2647
|
function h(a) {
|
|
2641
|
-
return /* @__PURE__ */
|
|
2648
|
+
return /* @__PURE__ */ $e(a) ? "ShallowRef" : a.effect ? "ComputedRef" : "Ref";
|
|
2642
2649
|
}
|
|
2643
2650
|
window.devtoolsFormatters ? window.devtoolsFormatters.push(r) : window.devtoolsFormatters = [r];
|
|
2644
2651
|
}
|
|
@@ -2662,6 +2669,7 @@ const Cr = [
|
|
|
2662
2669
|
"version"
|
|
2663
2670
|
];
|
|
2664
2671
|
class _t extends $s {
|
|
2672
|
+
_className = "StorePersister";
|
|
2665
2673
|
_crypt;
|
|
2666
2674
|
_excludedKeys;
|
|
2667
2675
|
_persister;
|
|
@@ -2707,7 +2715,7 @@ class _t extends $s {
|
|
|
2707
2715
|
return !n.storeOptions?.persist && n.storeOptions?.watchMutation && (n.storeOptions.persist = !0), super.customizeStore(t, n, s, r);
|
|
2708
2716
|
}
|
|
2709
2717
|
definePersister(t) {
|
|
2710
|
-
this._persister = this.options.dbName ? new
|
|
2718
|
+
this._persister = this.options.dbName ? new tt({ name: this.options.dbName, keyPath: "storeName" }) : t;
|
|
2711
2719
|
}
|
|
2712
2720
|
isEncrypted() {
|
|
2713
2721
|
return this.options.isEncrypted;
|
|
@@ -2805,27 +2813,27 @@ class Rr extends un {
|
|
|
2805
2813
|
);
|
|
2806
2814
|
}
|
|
2807
2815
|
}
|
|
2808
|
-
const
|
|
2816
|
+
const Ee = new Rr();
|
|
2809
2817
|
function Pr(e, t) {
|
|
2810
|
-
return
|
|
2818
|
+
return Ee.pluginOptions = xr(e, t), Ee;
|
|
2811
2819
|
}
|
|
2812
2820
|
function xr(e, t) {
|
|
2813
2821
|
let n, s;
|
|
2814
2822
|
const r = /* @__PURE__ */ new Set();
|
|
2815
2823
|
try {
|
|
2816
2824
|
if (window)
|
|
2817
|
-
return !Y(e) && e && (n = new
|
|
2825
|
+
return !Y(e) && e && (n = new tt({ name: e, keyPath: "storeName" })), t && (s = new ie(t)), { persister: n, crypt: s, watchedStore: r };
|
|
2818
2826
|
} catch {
|
|
2819
2827
|
}
|
|
2820
2828
|
return { persister: n, crypt: s, watchedStore: r };
|
|
2821
2829
|
}
|
|
2822
2830
|
function jr(e, t) {
|
|
2823
2831
|
let n;
|
|
2824
|
-
return t && (n = new ie(t)),
|
|
2832
|
+
return t && (n = new ie(t)), Ee.pluginOptions = {
|
|
2825
2833
|
persister: new Fs({ name: e }),
|
|
2826
2834
|
crypt: n,
|
|
2827
2835
|
watchedStore: /* @__PURE__ */ new Set()
|
|
2828
|
-
},
|
|
2836
|
+
}, Ee;
|
|
2829
2837
|
}
|
|
2830
2838
|
export {
|
|
2831
2839
|
Ut as PLUGIN_NAME,
|