@rainte/js 0.0.38 → 0.0.39

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/index.js CHANGED
@@ -1,31 +1,31 @@
1
1
  var ds = Object.defineProperty;
2
2
  var hs = (r, i, u) => i in r ? ds(r, i, { enumerable: !0, configurable: !0, writable: !0, value: u }) : r[i] = u;
3
3
  var Fr = (r, i, u) => hs(r, typeof i != "symbol" ? i + "" : i, u);
4
- const ii = (r, i = "children") => r.reduce((u, a) => {
5
- const { [i]: l, ...d } = a;
4
+ const ii = (r, i = "children") => r.reduce((u, s) => {
5
+ const { [i]: l, ...d } = s;
6
6
  return u.push(d), l && l.length > 0 && u.push(...ii(l)), u;
7
- }, []), ps = (r, i, u = "value") => r.find((a) => a[u] == (Array.isArray(i) ? i[0] : i)), Nu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7
+ }, []), ps = (r, i, u = "value") => r.find((s) => s[u] == (Array.isArray(i) ? i[0] : i)), qu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8
8
  __proto__: null,
9
9
  findByValue: ps,
10
10
  flattenTree: ii
11
11
  }, Symbol.toStringTag, { value: "Module" })), ms = (r) => new Promise((i, u) => {
12
- const a = new FileReader();
13
- a.onload = (l) => {
12
+ const s = new FileReader();
13
+ s.onload = (l) => {
14
14
  var d;
15
15
  return i((d = l.target) == null ? void 0 : d.result);
16
- }, a.onerror = (l) => {
16
+ }, s.onerror = (l) => {
17
17
  var d;
18
18
  return u((d = l.target) == null ? void 0 : d.error);
19
- }, a.readAsDataURL(r);
19
+ }, s.readAsDataURL(r);
20
20
  }).then((i) => i), ys = (r) => {
21
21
  const i = atob(r.split(",")[1] || r), u = new Uint8Array(i.length);
22
- for (let a = 0; a < i.length; a++)
23
- u[a] = i.charCodeAt(a);
22
+ for (let s = 0; s < i.length; s++)
23
+ u[s] = i.charCodeAt(s);
24
24
  return new Blob([u]);
25
25
  }, vs = (r, i) => {
26
26
  const u = document.createElement("a");
27
27
  u.href = URL.createObjectURL(i), u.download = r, u.click(), URL.revokeObjectURL(u.href);
28
- }, qu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28
+ }, Fu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29
29
  __proto__: null,
30
30
  download: vs,
31
31
  toBase64: ms,
@@ -38,23 +38,23 @@ function Ct(r) {
38
38
  var qn = { exports: {} }, bs = qn.exports, Mo;
39
39
  function ws() {
40
40
  return Mo || (Mo = 1, function(r, i) {
41
- (function(u, a) {
42
- r.exports = a();
41
+ (function(u, s) {
42
+ r.exports = s();
43
43
  })(bs, function() {
44
44
  var u = function(e, t) {
45
45
  return (u = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, o) {
46
46
  n.__proto__ = o;
47
47
  } || function(n, o) {
48
- for (var s in o) Object.prototype.hasOwnProperty.call(o, s) && (n[s] = o[s]);
48
+ for (var a in o) Object.prototype.hasOwnProperty.call(o, a) && (n[a] = o[a]);
49
49
  })(e, t);
50
- }, a = function() {
51
- return (a = Object.assign || function(e) {
52
- for (var t, n = 1, o = arguments.length; n < o; n++) for (var s in t = arguments[n]) Object.prototype.hasOwnProperty.call(t, s) && (e[s] = t[s]);
50
+ }, s = function() {
51
+ return (s = Object.assign || function(e) {
52
+ for (var t, n = 1, o = arguments.length; n < o; n++) for (var a in t = arguments[n]) Object.prototype.hasOwnProperty.call(t, a) && (e[a] = t[a]);
53
53
  return e;
54
54
  }).apply(this, arguments);
55
55
  };
56
56
  function l(e, t, n) {
57
- for (var o, s = 0, c = t.length; s < c; s++) !o && s in t || ((o = o || Array.prototype.slice.call(t, 0, s))[s] = t[s]);
57
+ for (var o, a = 0, c = t.length; a < c; a++) !o && a in t || ((o = o || Array.prototype.slice.call(t, 0, a))[a] = t[a]);
58
58
  return e.concat(o || Array.prototype.slice.call(t));
59
59
  }
60
60
  var d = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : gs, h = Object.keys, x = Array.isArray;
@@ -99,7 +99,7 @@ function ws() {
99
99
  if (typeof t == "string" && M(e, t)) return e[t];
100
100
  if (!t) return e;
101
101
  if (typeof t != "string") {
102
- for (var n = [], o = 0, s = t.length; o < s; ++o) {
102
+ for (var n = [], o = 0, a = t.length; o < a; ++o) {
103
103
  var c = te(e, t[o]);
104
104
  n.push(c);
105
105
  }
@@ -114,7 +114,7 @@ function ws() {
114
114
  function U(e, t, n) {
115
115
  if (e && t !== void 0 && !("isFrozen" in Object && Object.isFrozen(e))) if (typeof t != "string" && "length" in t) {
116
116
  _e(typeof n != "string" && "length" in n);
117
- for (var o = 0, s = t.length; o < s; ++o) U(e, t[o], n[o]);
117
+ for (var o = 0, a = t.length; o < a; ++o) U(e, t[o], n[o]);
118
118
  } else {
119
119
  var c, f, p = t.indexOf(".");
120
120
  p !== -1 ? (c = t.substr(0, p), (f = t.substr(p + 1)) === "" ? n === void 0 ? x(e) && !isNaN(parseInt(c)) ? e.splice(c, 1) : delete e[c] : e[c] = n : U(p = !(p = e[c]) || !M(e, c) ? e[c] = {} : p, f, n)) : n === void 0 ? x(e) && !isNaN(parseInt(t)) ? e.splice(t, 1) : delete e[t] : e[t] = n;
@@ -145,7 +145,7 @@ function ws() {
145
145
  if (o) return o;
146
146
  if (x(n)) {
147
147
  o = [], be.set(n, o);
148
- for (var s = 0, c = n.length; s < c; ++s) o.push(t(n[s]));
148
+ for (var a = 0, c = n.length; a < c; ++a) o.push(t(n[a]));
149
149
  } else if (ne.has(n.constructor)) o = n;
150
150
  else {
151
151
  var f, p = C(n);
@@ -169,12 +169,12 @@ function ws() {
169
169
  }
170
170
  var ie = {};
171
171
  function se(e) {
172
- var t, n, o, s;
172
+ var t, n, o, a;
173
173
  if (arguments.length === 1) {
174
174
  if (x(e)) return e.slice();
175
175
  if (this === ie && typeof e == "string") return [e];
176
- if (s = ee(e)) {
177
- for (n = []; !(o = s.next()).done; ) n.push(o.value);
176
+ if (a = ee(e)) {
177
+ for (n = []; !(o = a.next()).done; ) n.push(o.value);
178
178
  return n;
179
179
  }
180
180
  if (e == null) return [e];
@@ -196,8 +196,8 @@ function ws() {
196
196
  function Re(e, t) {
197
197
  return e + ". Errors: " + Object.keys(t).map(function(n) {
198
198
  return t[n].toString();
199
- }).filter(function(n, o, s) {
200
- return s.indexOf(n) === o;
199
+ }).filter(function(n, o, a) {
200
+ return a.indexOf(n) === o;
201
201
  }).join(`
202
202
  `);
203
203
  }
@@ -216,9 +216,9 @@ function ws() {
216
216
  return e[t] = t + "Error", e;
217
217
  }, {}), nt = Oe, Z = Ge.reduce(function(e, t) {
218
218
  var n = t + "Error";
219
- function o(s, c) {
220
- this.name = n, s ? typeof s == "string" ? (this.message = "".concat(s).concat(c ? `
221
- ` + c : ""), this.inner = c || null) : typeof s == "object" && (this.message = "".concat(s.name, " ").concat(s.message), this.inner = s) : (this.message = Ee[t] || n, this.inner = null);
219
+ function o(a, c) {
220
+ this.name = n, a ? typeof a == "string" ? (this.message = "".concat(a).concat(c ? `
221
+ ` + c : ""), this.inner = c || null) : typeof a == "object" && (this.message = "".concat(a.name, " ").concat(a.message), this.inner = a) : (this.message = Ee[t] || n, this.inner = null);
222
222
  }
223
223
  return j(o).from(nt), e[t] = o, e;
224
224
  }, {});
@@ -247,10 +247,10 @@ function ws() {
247
247
  return e === ye ? t : function() {
248
248
  var n = e.apply(this, arguments);
249
249
  n !== void 0 && (arguments[0] = n);
250
- var o = this.onsuccess, s = this.onerror;
250
+ var o = this.onsuccess, a = this.onerror;
251
251
  this.onsuccess = null, this.onerror = null;
252
252
  var c = t.apply(this, arguments);
253
- return o && (this.onsuccess = this.onsuccess ? Je(o, this.onsuccess) : o), s && (this.onerror = this.onerror ? Je(s, this.onerror) : s), c !== void 0 ? c : n;
253
+ return o && (this.onsuccess = this.onsuccess ? Je(o, this.onsuccess) : o), a && (this.onerror = this.onerror ? Je(a, this.onerror) : a), c !== void 0 ? c : n;
254
254
  };
255
255
  }
256
256
  function qt(e, t) {
@@ -264,8 +264,8 @@ function ws() {
264
264
  return e === ye ? t : function(n) {
265
265
  var o = e.apply(this, arguments);
266
266
  P(n, o);
267
- var s = this.onsuccess, c = this.onerror;
268
- return this.onsuccess = null, this.onerror = null, n = t.apply(this, arguments), s && (this.onsuccess = this.onsuccess ? Je(s, this.onsuccess) : s), c && (this.onerror = this.onerror ? Je(c, this.onerror) : c), o === void 0 ? n === void 0 ? void 0 : n : P(o, n);
267
+ var a = this.onsuccess, c = this.onerror;
268
+ return this.onsuccess = null, this.onerror = null, n = t.apply(this, arguments), a && (this.onsuccess = this.onsuccess ? Je(a, this.onsuccess) : a), c && (this.onerror = this.onerror ? Je(c, this.onerror) : c), o === void 0 ? n === void 0 ? void 0 : n : P(o, n);
269
269
  };
270
270
  }
271
271
  function Bt(e, t) {
@@ -277,7 +277,7 @@ function ws() {
277
277
  return e === ye ? t : function() {
278
278
  var n = e.apply(this, arguments);
279
279
  if (n && typeof n.then == "function") {
280
- for (var o = this, s = arguments.length, c = new Array(s); s--; ) c[s] = arguments[s];
280
+ for (var o = this, a = arguments.length, c = new Array(a); a--; ) c[a] = arguments[a];
281
281
  return n.then(function() {
282
282
  return t.apply(o, c);
283
283
  });
@@ -306,9 +306,9 @@ function ws() {
306
306
  if (e !== Kt) throw new TypeError("Not a function");
307
307
  return this._state = arguments[1], this._value = arguments[2], void (this._state === !1 && ar(this, this._value));
308
308
  }
309
- this._state = null, this._value = null, ++t.ref, function n(o, s) {
309
+ this._state = null, this._value = null, ++t.ref, function n(o, a) {
310
310
  try {
311
- s(function(c) {
311
+ a(function(c) {
312
312
  if (o._state === null) {
313
313
  if (c === o) throw new TypeError("A promise cannot be resolved with itself.");
314
314
  var f = o._lib && kt();
@@ -324,9 +324,9 @@ function ws() {
324
324
  }
325
325
  var sr = { get: function() {
326
326
  var e = oe, t = hn;
327
- function n(o, s) {
327
+ function n(o, a) {
328
328
  var c = this, f = !e.global && (e !== oe || t !== hn), p = f && !at(), y = new W(function(g, _) {
329
- ur(c, new ro(so(o, e, f, p), so(s, e, f, p), g, _, e));
329
+ ur(c, new ro(so(o, e, f, p), so(a, e, f, p), g, _, e));
330
330
  });
331
331
  return this._consoleTask && (y._consoleTask = this._consoleTask), y;
332
332
  }
@@ -336,21 +336,21 @@ function ws() {
336
336
  return e;
337
337
  }, set: sr.set });
338
338
  } };
339
- function ro(e, t, n, o, s) {
340
- this.onFulfilled = typeof e == "function" ? e : null, this.onRejected = typeof t == "function" ? t : null, this.resolve = n, this.reject = o, this.psd = s;
339
+ function ro(e, t, n, o, a) {
340
+ this.onFulfilled = typeof e == "function" ? e : null, this.onRejected = typeof t == "function" ? t : null, this.resolve = n, this.reject = o, this.psd = a;
341
341
  }
342
342
  function ar(e, t) {
343
343
  var n, o;
344
- un.push(t), e._state === null && (n = e._lib && kt(), t = ir(t), e._state = !1, e._value = t, o = e, pt.some(function(s) {
345
- return s._value === o._value;
344
+ un.push(t), e._state === null && (n = e._lib && kt(), t = ir(t), e._state = !1, e._value = t, o = e, pt.some(function(a) {
345
+ return a._value === o._value;
346
346
  }) || pt.push(o), oo(e), n && Tt());
347
347
  }
348
348
  function oo(e) {
349
349
  var t = e._listeners;
350
350
  e._listeners = [];
351
351
  for (var n = 0, o = t.length; n < o; ++n) ur(e, t[n]);
352
- var s = e._PSD;
353
- --s.ref || s.finalize(), mt === 0 && (++mt, Lt(function() {
352
+ var a = e._PSD;
353
+ --a.ref || a.finalize(), mt === 0 && (++mt, Lt(function() {
354
354
  --mt == 0 && cr();
355
355
  }, []));
356
356
  }
@@ -363,10 +363,10 @@ function ws() {
363
363
  }
364
364
  function Ii(e, t, n) {
365
365
  try {
366
- var o, s = t._value;
366
+ var o, a = t._value;
367
367
  !t._state && un.length && (un = []), o = Qe && t._consoleTask ? t._consoleTask.run(function() {
368
- return e(s);
369
- }) : e(s), t._state || un.indexOf(s) !== -1 || function(c) {
368
+ return e(a);
369
+ }) : e(a), t._state || un.indexOf(a) !== -1 || function(c) {
370
370
  for (var f = pt.length; f; ) if (pt[--f]._value === c._value) return pt.splice(f, 1);
371
371
  }(t), n.resolve(o);
372
372
  } catch (c) {
@@ -407,13 +407,13 @@ function ws() {
407
407
  function Te(e, t) {
408
408
  var n = oe;
409
409
  return function() {
410
- var o = kt(), s = oe;
410
+ var o = kt(), a = oe;
411
411
  try {
412
412
  return ut(n, !0), e.apply(this, arguments);
413
413
  } catch (c) {
414
414
  t && t(c);
415
415
  } finally {
416
- ut(s, !1), o && Tt();
416
+ ut(a, !1), o && Tt();
417
417
  }
418
418
  };
419
419
  }
@@ -439,19 +439,19 @@ function ws() {
439
439
  });
440
440
  }, timeout: function(e, t) {
441
441
  var n = this;
442
- return e < 1 / 0 ? new W(function(o, s) {
442
+ return e < 1 / 0 ? new W(function(o, a) {
443
443
  var c = setTimeout(function() {
444
- return s(new Z.Timeout(t));
444
+ return a(new Z.Timeout(t));
445
445
  }, e);
446
- n.then(o, s).finally(clearTimeout.bind(null, c));
446
+ n.then(o, a).finally(clearTimeout.bind(null, c));
447
447
  }) : this;
448
448
  } }), typeof Symbol < "u" && Symbol.toStringTag && N(W.prototype, Symbol.toStringTag, "Dexie.Promise"), it.env = io(), ae(W, { all: function() {
449
449
  var e = se.apply(null, arguments).map(pn);
450
450
  return new W(function(t, n) {
451
451
  e.length === 0 && t([]);
452
452
  var o = e.length;
453
- e.forEach(function(s, c) {
454
- return W.resolve(s).then(function(f) {
453
+ e.forEach(function(a, c) {
454
+ return W.resolve(a).then(function(f) {
455
455
  e[c] = f, --o || t(e);
456
456
  }, n);
457
457
  });
@@ -483,12 +483,12 @@ function ws() {
483
483
  ir = e;
484
484
  } }, follow: function(e, t) {
485
485
  return new W(function(n, o) {
486
- return st(function(s, c) {
486
+ return st(function(a, c) {
487
487
  var f = oe;
488
488
  f.unhandleds = [], f.onunhandled = c, f.finalize = Je(function() {
489
489
  var p, y = this;
490
490
  p = function() {
491
- y.unhandleds.length === 0 ? s() : c(y.unhandleds[0]);
491
+ y.unhandleds.length === 0 ? a() : c(y.unhandleds[0]);
492
492
  }, cn.push(function g() {
493
493
  p(), cn.splice(cn.indexOf(g), 1);
494
494
  }), ++mt, Lt(function() {
@@ -502,8 +502,8 @@ function ws() {
502
502
  return new W(function(t) {
503
503
  e.length === 0 && t([]);
504
504
  var n = e.length, o = new Array(n);
505
- e.forEach(function(s, c) {
506
- return W.resolve(s).then(function(f) {
505
+ e.forEach(function(a, c) {
506
+ return W.resolve(a).then(function(f) {
507
507
  return o[c] = { status: "fulfilled", value: f };
508
508
  }, function(f) {
509
509
  return o[c] = { status: "rejected", reason: f };
@@ -516,20 +516,20 @@ function ws() {
516
516
  var e = se.apply(null, arguments).map(pn);
517
517
  return new W(function(t, n) {
518
518
  e.length === 0 && n(new AggregateError([]));
519
- var o = e.length, s = new Array(o);
519
+ var o = e.length, a = new Array(o);
520
520
  e.forEach(function(c, f) {
521
521
  return W.resolve(c).then(function(p) {
522
522
  return t(p);
523
523
  }, function(p) {
524
- s[f] = p, --o || n(new AggregateError(s));
524
+ a[f] = p, --o || n(new AggregateError(a));
525
525
  });
526
526
  });
527
527
  });
528
528
  }), ht.withResolvers && (W.withResolvers = ht.withResolvers));
529
529
  var je = { awaits: 0, echoes: 0, id: 0 }, Ui = 0, fn = [], dn = 0, hn = 0, Yi = 0;
530
530
  function st(e, t, n, o) {
531
- var s = oe, c = Object.create(s);
532
- return c.parent = s, c.ref = 0, c.global = !1, c.id = ++Yi, it.env, c.env = rr ? { Promise: W, PromiseProp: { value: W, configurable: !0, writable: !0 }, all: W.all, race: W.race, allSettled: W.allSettled, any: W.any, resolve: W.resolve, reject: W.reject } : {}, t && P(c, t), ++s.ref, c.finalize = function() {
531
+ var a = oe, c = Object.create(a);
532
+ return c.parent = a, c.ref = 0, c.global = !1, c.id = ++Yi, it.env, c.env = rr ? { Promise: W, PromiseProp: { value: W, configurable: !0, writable: !0 }, all: W.all, race: W.race, allSettled: W.allSettled, any: W.any, resolve: W.resolve, reject: W.reject } : {}, t && P(c, t), ++a.ref, c.finalize = function() {
533
533
  --this.parent.ref || this.parent.finalize();
534
534
  }, o = yt(c, e, n, o), c.ref === 0 && c.finalize(), o;
535
535
  }
@@ -552,30 +552,30 @@ function ws() {
552
552
  }
553
553
  function ut(e, t) {
554
554
  var n, o = oe;
555
- (t ? !je.echoes || dn++ && e === oe : !dn || --dn && e === oe) || queueMicrotask(t ? (function(s) {
556
- ++hn, je.echoes && --je.echoes != 0 || (je.echoes = je.awaits = je.id = 0), fn.push(oe), ut(s, !0);
555
+ (t ? !je.echoes || dn++ && e === oe : !dn || --dn && e === oe) || queueMicrotask(t ? (function(a) {
556
+ ++hn, je.echoes && --je.echoes != 0 || (je.echoes = je.awaits = je.id = 0), fn.push(oe), ut(a, !0);
557
557
  }).bind(null, e) : Hi), e !== oe && (oe = e, o === it && (it.env = io()), rr && (n = it.env.Promise, t = e.env, (o.global || e.global) && (Object.defineProperty(d, "Promise", t.PromiseProp), n.all = t.all, n.race = t.race, n.resolve = t.resolve, n.reject = t.reject, t.allSettled && (n.allSettled = t.allSettled), t.any && (n.any = t.any))));
558
558
  }
559
559
  function io() {
560
560
  var e = d.Promise;
561
561
  return rr ? { Promise: e, PromiseProp: Object.getOwnPropertyDescriptor(d, "Promise"), all: e.all, race: e.race, allSettled: e.allSettled, any: e.any, resolve: e.resolve, reject: e.reject } : {};
562
562
  }
563
- function yt(e, t, n, o, s) {
563
+ function yt(e, t, n, o, a) {
564
564
  var c = oe;
565
565
  try {
566
- return ut(e, !0), t(n, o, s);
566
+ return ut(e, !0), t(n, o, a);
567
567
  } finally {
568
568
  ut(c, !1);
569
569
  }
570
570
  }
571
571
  function so(e, t, n, o) {
572
572
  return typeof e != "function" ? e : function() {
573
- var s = oe;
573
+ var a = oe;
574
574
  n && Rt(), ut(t, !0);
575
575
  try {
576
576
  return e.apply(this, arguments);
577
577
  } finally {
578
- ut(s, !1), o && queueMicrotask(at);
578
+ ut(a, !1), o && queueMicrotask(at);
579
579
  }
580
580
  };
581
581
  }
@@ -610,14 +610,14 @@ function ws() {
610
610
  case "string":
611
611
  return t < e ? 1 : e < t ? -1 : 0;
612
612
  case "binary":
613
- return function(s, c) {
614
- for (var f = s.length, p = c.length, y = f < p ? f : p, g = 0; g < y; ++g) if (s[g] !== c[g]) return s[g] < c[g] ? -1 : 1;
613
+ return function(a, c) {
614
+ for (var f = a.length, p = c.length, y = f < p ? f : p, g = 0; g < y; ++g) if (a[g] !== c[g]) return a[g] < c[g] ? -1 : 1;
615
615
  return f === p ? 0 : f < p ? -1 : 1;
616
616
  }(fo(e), fo(t));
617
617
  case "Array":
618
- return function(s, c) {
619
- for (var f = s.length, p = c.length, y = f < p ? f : p, g = 0; g < y; ++g) {
620
- var _ = xe(s[g], c[g]);
618
+ return function(a, c) {
619
+ for (var f = a.length, p = c.length, y = f < p ? f : p, g = 0; g < y; ++g) {
620
+ var _ = xe(a[g], c[g]);
621
621
  if (_ !== 0) return _;
622
622
  }
623
623
  return f === p ? 0 : f < p ? -1 : 1;
@@ -635,9 +635,9 @@ function ws() {
635
635
  return e instanceof Uint8Array ? e : ArrayBuffer.isView(e) ? new Uint8Array(e.buffer, e.byteOffset, e.byteLength) : new Uint8Array(e);
636
636
  }
637
637
  var ho = (ke.prototype._trans = function(e, t, n) {
638
- var o = this._tx || oe.trans, s = this.name, c = Qe && typeof console < "u" && console.createTask && console.createTask("Dexie: ".concat(e === "readonly" ? "read" : "write", " ").concat(this.name));
638
+ var o = this._tx || oe.trans, a = this.name, c = Qe && typeof console < "u" && console.createTask && console.createTask("Dexie: ".concat(e === "readonly" ? "read" : "write", " ").concat(this.name));
639
639
  function f(g, _, m) {
640
- if (!m.schema[s]) throw new Z.NotFound("Table " + s + " not part of transaction");
640
+ if (!m.schema[a]) throw new Z.NotFound("Table " + a + " not part of transaction");
641
641
  return t(m.idbtrans, m);
642
642
  }
643
643
  var p = kt();
@@ -686,8 +686,8 @@ function ws() {
686
686
  }, ke.prototype.get = function(e, t) {
687
687
  var n = this;
688
688
  return e && e.constructor === Object ? this.where(e).first(t) : e == null ? Ae(new Z.Type("Invalid argument to Table.get()")) : this._trans("readonly", function(o) {
689
- return n.core.get({ trans: o, key: e }).then(function(s) {
690
- return n.hook.reading.fire(s);
689
+ return n.core.get({ trans: o, key: e }).then(function(a) {
690
+ return n.hook.reading.fire(a);
691
691
  });
692
692
  }).then(t);
693
693
  }, ke.prototype.where = function(e) {
@@ -714,17 +714,17 @@ function ws() {
714
714
  }
715
715
  !n && Qe && console.warn("The query ".concat(JSON.stringify(e), " on ").concat(this.name, " would benefit from a ") + "compound index [".concat(t.join("+"), "]"));
716
716
  var o = this.schema.idxByName;
717
- function s(p, y) {
717
+ function a(p, y) {
718
718
  return xe(p, y) === 0;
719
719
  }
720
720
  var f = t.reduce(function(m, y) {
721
721
  var g = m[0], _ = m[1], m = o[y], O = e[y];
722
722
  return [g || m, g || !m ? gt(_, m && m.multi ? function(v) {
723
723
  return v = te(v, y), x(v) && v.some(function(w) {
724
- return s(O, w);
724
+ return a(O, w);
725
725
  });
726
726
  } : function(v) {
727
- return s(O, te(v, y));
727
+ return a(O, te(v, y));
728
728
  }) : _];
729
729
  }, [null, null]), c = f[0], f = f[1];
730
730
  return c ? this.where(c.name).equals(e[c.keyPath]).filter(f) : n ? this.filter(f) : this.where(t).equals("");
@@ -748,7 +748,7 @@ function ws() {
748
748
  return this.toCollection().reverse();
749
749
  }, ke.prototype.mapToClass = function(e) {
750
750
  var t, n = this.db, o = this.name;
751
- function s() {
751
+ function a() {
752
752
  return t !== null && t.apply(this, arguments) || this;
753
753
  }
754
754
  (this.schema.mappedClass = e).prototype instanceof co && (function(y, g) {
@@ -757,11 +757,11 @@ function ws() {
757
757
  this.constructor = y;
758
758
  }
759
759
  u(y, g), y.prototype = g === null ? Object.create(g) : (_.prototype = g.prototype, new _());
760
- }(s, t = e), Object.defineProperty(s.prototype, "db", { get: function() {
760
+ }(a, t = e), Object.defineProperty(a.prototype, "db", { get: function() {
761
761
  return n;
762
- }, enumerable: !1, configurable: !0 }), s.prototype.table = function() {
762
+ }, enumerable: !1, configurable: !0 }), a.prototype.table = function() {
763
763
  return o;
764
- }, e = s);
764
+ }, e = a);
765
765
  for (var c = /* @__PURE__ */ new Set(), f = e.prototype; f; f = C(f)) Object.getOwnPropertyNames(f).forEach(function(y) {
766
766
  return c.add(y);
767
767
  });
@@ -780,8 +780,8 @@ function ws() {
780
780
  P(this, e);
781
781
  });
782
782
  }, ke.prototype.add = function(e, t) {
783
- var n = this, o = this.schema.primKey, s = o.auto, c = o.keyPath, f = e;
784
- return c && s && (f = yn(c)(e)), this._trans("readwrite", function(p) {
783
+ var n = this, o = this.schema.primKey, a = o.auto, c = o.keyPath, f = e;
784
+ return c && a && (f = yn(c)(e)), this._trans("readwrite", function(p) {
785
785
  return n.core.mutate({ trans: p, type: "add", keys: t != null ? [t] : null, values: [f] });
786
786
  }).then(function(p) {
787
787
  return p.numFailures ? W.reject(p.failures[0]) : p.lastResult;
@@ -795,8 +795,8 @@ function ws() {
795
795
  }, ke.prototype.update = function(e, t) {
796
796
  return typeof e != "object" || x(e) ? this.where(":id").equals(e).modify(t) : (e = te(e, this.schema.primKey.keyPath), e === void 0 ? Ae(new Z.InvalidArgument("Given object does not contain its primary key")) : this.where(":id").equals(e).modify(t));
797
797
  }, ke.prototype.put = function(e, t) {
798
- var n = this, o = this.schema.primKey, s = o.auto, c = o.keyPath, f = e;
799
- return c && s && (f = yn(c)(e)), this._trans("readwrite", function(p) {
798
+ var n = this, o = this.schema.primKey, a = o.auto, c = o.keyPath, f = e;
799
+ return c && a && (f = yn(c)(e)), this._trans("readwrite", function(p) {
800
800
  return n.core.mutate({ trans: p, type: "put", values: [f], keys: t != null ? [t] : null });
801
801
  }).then(function(p) {
802
802
  return p.numFailures ? W.reject(p.failures[0]) : p.lastResult;
@@ -825,32 +825,32 @@ function ws() {
825
825
  var t = this;
826
826
  return this._trans("readonly", function(n) {
827
827
  return t.core.getMany({ keys: e, trans: n }).then(function(o) {
828
- return o.map(function(s) {
829
- return t.hook.reading.fire(s);
828
+ return o.map(function(a) {
829
+ return t.hook.reading.fire(a);
830
830
  });
831
831
  });
832
832
  });
833
833
  }, ke.prototype.bulkAdd = function(e, t, n) {
834
- var o = this, s = Array.isArray(t) ? t : void 0, c = (n = n || (s ? void 0 : t)) ? n.allKeys : void 0;
834
+ var o = this, a = Array.isArray(t) ? t : void 0, c = (n = n || (a ? void 0 : t)) ? n.allKeys : void 0;
835
835
  return this._trans("readwrite", function(f) {
836
836
  var g = o.schema.primKey, p = g.auto, g = g.keyPath;
837
- if (g && s) throw new Z.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");
838
- if (s && s.length !== e.length) throw new Z.InvalidArgument("Arguments objects and keys must have the same length");
837
+ if (g && a) throw new Z.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");
838
+ if (a && a.length !== e.length) throw new Z.InvalidArgument("Arguments objects and keys must have the same length");
839
839
  var y = e.length, g = g && p ? e.map(yn(g)) : e;
840
- return o.core.mutate({ trans: f, type: "add", keys: s, values: g, wantResults: c }).then(function(w) {
840
+ return o.core.mutate({ trans: f, type: "add", keys: a, values: g, wantResults: c }).then(function(w) {
841
841
  var m = w.numFailures, O = w.results, v = w.lastResult, w = w.failures;
842
842
  if (m === 0) return c ? O : v;
843
843
  throw new Ie("".concat(o.name, ".bulkAdd(): ").concat(m, " of ").concat(y, " operations failed"), w);
844
844
  });
845
845
  });
846
846
  }, ke.prototype.bulkPut = function(e, t, n) {
847
- var o = this, s = Array.isArray(t) ? t : void 0, c = (n = n || (s ? void 0 : t)) ? n.allKeys : void 0;
847
+ var o = this, a = Array.isArray(t) ? t : void 0, c = (n = n || (a ? void 0 : t)) ? n.allKeys : void 0;
848
848
  return this._trans("readwrite", function(f) {
849
849
  var g = o.schema.primKey, p = g.auto, g = g.keyPath;
850
- if (g && s) throw new Z.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");
851
- if (s && s.length !== e.length) throw new Z.InvalidArgument("Arguments objects and keys must have the same length");
850
+ if (g && a) throw new Z.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");
851
+ if (a && a.length !== e.length) throw new Z.InvalidArgument("Arguments objects and keys must have the same length");
852
852
  var y = e.length, g = g && p ? e.map(yn(g)) : e;
853
- return o.core.mutate({ trans: f, type: "put", keys: s, values: g, wantResults: c }).then(function(w) {
853
+ return o.core.mutate({ trans: f, type: "put", keys: a, values: g, wantResults: c }).then(function(w) {
854
854
  var m = w.numFailures, O = w.results, v = w.lastResult, w = w.failures;
855
855
  if (m === 0) return c ? O : v;
856
856
  throw new Ie("".concat(o.name, ".bulkPut(): ").concat(m, " of ").concat(y, " operations failed"), w);
@@ -859,7 +859,7 @@ function ws() {
859
859
  }, ke.prototype.bulkUpdate = function(e) {
860
860
  var t = this, n = this.core, o = e.map(function(f) {
861
861
  return f.key;
862
- }), s = e.map(function(f) {
862
+ }), a = e.map(function(f) {
863
863
  return f.changes;
864
864
  }), c = [];
865
865
  return this._trans("readwrite", function(f) {
@@ -878,7 +878,7 @@ function ws() {
878
878
  }
879
879
  });
880
880
  var _ = y.length;
881
- return n.mutate({ trans: f, type: "put", keys: y, values: g, updates: { keys: o, changeSpecs: s } }).then(function(m) {
881
+ return n.mutate({ trans: f, type: "put", keys: y, values: g, updates: { keys: o, changeSpecs: a } }).then(function(m) {
882
882
  var O = m.numFailures, v = m.failures;
883
883
  if (O === 0) return _;
884
884
  for (var w = 0, S = Object.keys(v); w < S.length; w++) {
@@ -894,9 +894,9 @@ function ws() {
894
894
  return this._trans("readwrite", function(o) {
895
895
  return t.core.mutate({ trans: o, type: "delete", keys: e });
896
896
  }).then(function(f) {
897
- var s = f.numFailures, c = f.lastResult, f = f.failures;
898
- if (s === 0) return c;
899
- throw new Ie("".concat(t.name, ".bulkDelete(): ").concat(s, " of ").concat(n, " operations failed"), f);
897
+ var a = f.numFailures, c = f.lastResult, f = f.failures;
898
+ if (a === 0) return c;
899
+ throw new Ie("".concat(t.name, ".bulkDelete(): ").concat(a, " of ").concat(n, " operations failed"), f);
900
900
  });
901
901
  }, ke);
902
902
  function ke() {
@@ -911,7 +911,7 @@ function ws() {
911
911
  }
912
912
  var n = {};
913
913
  t.addEventType = c;
914
- for (var o = 1, s = arguments.length; o < s; ++o) c(arguments[o]);
914
+ for (var o = 1, a = arguments.length; o < a; ++o) c(arguments[o]);
915
915
  return t;
916
916
  function c(f, p, y) {
917
917
  if (typeof f != "object") {
@@ -969,11 +969,11 @@ function ws() {
969
969
  return t.openCursor({ trans: n, values: !e.keysOnly, reverse: e.dir === "prev", unique: !!e.unique, query: { index: o, range: e.range } });
970
970
  }
971
971
  function gn(e, t, n, o) {
972
- var s = e.replayFilter ? gt(e.filter, e.replayFilter()) : e.filter;
972
+ var a = e.replayFilter ? gt(e.filter, e.replayFilter()) : e.filter;
973
973
  if (e.or) {
974
974
  var c = {}, f = function(p, y, g) {
975
975
  var _, m;
976
- s && !s(y, g, function(O) {
976
+ a && !a(y, g, function(O) {
977
977
  return y.stop(O);
978
978
  }, function(O) {
979
979
  return y.fail(O);
@@ -981,10 +981,10 @@ function ws() {
981
981
  };
982
982
  return Promise.all([e.or._iterate(f, n), mo(po(e, o, n), e.algorithm, f, !e.keysOnly && e.valueMapper)]);
983
983
  }
984
- return mo(po(e, o, n), gt(e.algorithm, s), t, !e.keysOnly && e.valueMapper);
984
+ return mo(po(e, o, n), gt(e.algorithm, a), t, !e.keysOnly && e.valueMapper);
985
985
  }
986
986
  function mo(e, t, n, o) {
987
- var s = Te(o ? function(c, f, p) {
987
+ var a = Te(o ? function(c, f, p) {
988
988
  return n(o(c), f, p);
989
989
  } : n);
990
990
  return e.then(function(c) {
@@ -998,7 +998,7 @@ function ws() {
998
998
  c.stop(p), f = ye;
999
999
  }, function(p) {
1000
1000
  c.fail(p), f = ye;
1001
- }) || s(c.value, c, function(p) {
1001
+ }) || a(c.value, c, function(p) {
1002
1002
  return f = p;
1003
1003
  }), f();
1004
1004
  });
@@ -1019,8 +1019,8 @@ function ws() {
1019
1019
  }
1020
1020
  if (t.remove !== void 0) {
1021
1021
  var o = t.remove;
1022
- if (x(o)) return x(e) ? e.filter(function(s) {
1023
- return !o.includes(s);
1022
+ if (x(o)) return x(e) ? e.filter(function(a) {
1023
+ return !o.includes(a);
1024
1024
  }).sort() : [];
1025
1025
  if (typeof o == "number") return Number(e) - o;
1026
1026
  if (typeof o == "bigint") try {
@@ -1059,25 +1059,25 @@ function ws() {
1059
1059
  }, Se.prototype.count = function(e) {
1060
1060
  var t = this;
1061
1061
  return this._read(function(n) {
1062
- var o = t._ctx, s = o.table.core;
1063
- if (Pt(o, !0)) return s.count({ trans: n, query: { index: vn(o, s.schema), range: o.range } }).then(function(f) {
1062
+ var o = t._ctx, a = o.table.core;
1063
+ if (Pt(o, !0)) return a.count({ trans: n, query: { index: vn(o, a.schema), range: o.range } }).then(function(f) {
1064
1064
  return Math.min(f, o.limit);
1065
1065
  });
1066
1066
  var c = 0;
1067
1067
  return gn(o, function() {
1068
1068
  return ++c, !1;
1069
- }, n, s).then(function() {
1069
+ }, n, a).then(function() {
1070
1070
  return c;
1071
1071
  });
1072
1072
  }).then(e);
1073
1073
  }, Se.prototype.sortBy = function(e, t) {
1074
- var n = e.split(".").reverse(), o = n[0], s = n.length - 1;
1074
+ var n = e.split(".").reverse(), o = n[0], a = n.length - 1;
1075
1075
  function c(y, g) {
1076
1076
  return g ? c(y[n[g]], g - 1) : y[o];
1077
1077
  }
1078
1078
  var f = this._ctx.dir === "next" ? 1 : -1;
1079
1079
  function p(y, g) {
1080
- return xe(c(y, s), c(g, s)) * f;
1080
+ return xe(c(y, a), c(g, a)) * f;
1081
1081
  }
1082
1082
  return this.toArray(function(y) {
1083
1083
  return y.sort(p);
@@ -1087,9 +1087,9 @@ function ws() {
1087
1087
  return this._read(function(n) {
1088
1088
  var o = t._ctx;
1089
1089
  if (o.dir === "next" && Pt(o, !0) && 0 < o.limit) {
1090
- var s = o.valueMapper, c = vn(o, o.table.core.schema);
1090
+ var a = o.valueMapper, c = vn(o, o.table.core.schema);
1091
1091
  return o.table.core.query({ trans: n, limit: o.limit, values: !0, query: { index: c, range: o.range } }).then(function(p) {
1092
- return p = p.result, s ? p.map(s) : p;
1092
+ return p = p.result, a ? p.map(a) : p;
1093
1093
  });
1094
1094
  }
1095
1095
  var f = [];
@@ -1103,8 +1103,8 @@ function ws() {
1103
1103
  var t = this._ctx;
1104
1104
  return e <= 0 || (t.offset += e, Pt(t) ? pr(t, function() {
1105
1105
  var n = e;
1106
- return function(o, s) {
1107
- return n === 0 || (n === 1 ? --n : s(function() {
1106
+ return function(o, a) {
1107
+ return n === 0 || (n === 1 ? --n : a(function() {
1108
1108
  o.advance(n), n = 0;
1109
1109
  }), !1);
1110
1110
  };
@@ -1117,13 +1117,13 @@ function ws() {
1117
1117
  }, Se.prototype.limit = function(e) {
1118
1118
  return this._ctx.limit = Math.min(this._ctx.limit, e), pr(this._ctx, function() {
1119
1119
  var t = e;
1120
- return function(n, o, s) {
1121
- return --t <= 0 && o(s), 0 <= t;
1120
+ return function(n, o, a) {
1121
+ return --t <= 0 && o(a), 0 <= t;
1122
1122
  };
1123
1123
  }, !0), this;
1124
1124
  }, Se.prototype.until = function(e, t) {
1125
- return hr(this._ctx, function(n, o, s) {
1126
- return !e(n.value) || (o(s), t);
1125
+ return hr(this._ctx, function(n, o, a) {
1126
+ return !e(n.value) || (o(a), t);
1127
1127
  }), this;
1128
1128
  }, Se.prototype.first = function(e) {
1129
1129
  return this.limit(1).toArray(function(t) {
@@ -1160,23 +1160,23 @@ function ws() {
1160
1160
  var t = this._ctx;
1161
1161
  t.keysOnly = !t.isMatch;
1162
1162
  var n = [];
1163
- return this.each(function(o, s) {
1164
- n.push(s.key);
1163
+ return this.each(function(o, a) {
1164
+ n.push(a.key);
1165
1165
  }).then(function() {
1166
1166
  return n;
1167
1167
  }).then(e);
1168
1168
  }, Se.prototype.primaryKeys = function(e) {
1169
1169
  var t = this._ctx;
1170
1170
  if (t.dir === "next" && Pt(t, !0) && 0 < t.limit) return this._read(function(o) {
1171
- var s = vn(t, t.table.core.schema);
1172
- return t.table.core.query({ trans: o, values: !1, limit: t.limit, query: { index: s, range: t.range } });
1171
+ var a = vn(t, t.table.core.schema);
1172
+ return t.table.core.query({ trans: o, values: !1, limit: t.limit, query: { index: a, range: t.range } });
1173
1173
  }).then(function(o) {
1174
1174
  return o.result;
1175
1175
  }).then(e);
1176
1176
  t.keysOnly = !t.isMatch;
1177
1177
  var n = [];
1178
- return this.each(function(o, s) {
1179
- n.push(s.primaryKey);
1178
+ return this.each(function(o, a) {
1179
+ n.push(a.primaryKey);
1180
1180
  }).then(function() {
1181
1181
  return n;
1182
1182
  }).then(e);
@@ -1192,17 +1192,17 @@ function ws() {
1192
1192
  var e = this._ctx, e = e.index && e.table.schema.idxByName[e.index];
1193
1193
  if (!e || !e.multi) return this;
1194
1194
  var t = {};
1195
- return hr(this._ctx, function(s) {
1196
- var o = s.primaryKey.toString(), s = M(t, o);
1197
- return t[o] = !0, !s;
1195
+ return hr(this._ctx, function(a) {
1196
+ var o = a.primaryKey.toString(), a = M(t, o);
1197
+ return t[o] = !0, !a;
1198
1198
  }), this;
1199
1199
  }, Se.prototype.modify = function(e) {
1200
1200
  var t = this, n = this._ctx;
1201
1201
  return this._write(function(o) {
1202
- var s, c, f;
1203
- f = typeof e == "function" ? e : (s = h(e), c = s.length, function(b) {
1202
+ var a, c, f;
1203
+ f = typeof e == "function" ? e : (a = h(e), c = a.length, function(b) {
1204
1204
  for (var k = !1, T = 0; T < c; ++T) {
1205
- var R = s[T], D = e[R], q = te(b, R);
1205
+ var R = a[T], D = e[R], q = te(b, R);
1206
1206
  D instanceof zt ? (U(b, R, D.execute(q)), k = !0) : q !== D && (U(b, R, D), k = !0);
1207
1207
  }
1208
1208
  return k;
@@ -1252,9 +1252,9 @@ function ws() {
1252
1252
  }, Se.prototype.delete = function() {
1253
1253
  var e = this._ctx, t = e.range;
1254
1254
  return Pt(e) && (e.isPrimKey || t.type === 3) ? this._write(function(n) {
1255
- var o = e.table.core.schema.primaryKey, s = t;
1256
- return e.table.core.count({ trans: n, query: { index: o, range: s } }).then(function(c) {
1257
- return e.table.core.mutate({ trans: n, type: "deleteRange", range: s }).then(function(f) {
1255
+ var o = e.table.core.schema.primaryKey, a = t;
1256
+ return e.table.core.count({ trans: n, query: { index: o, range: a } }).then(function(c) {
1257
+ return e.table.core.mutate({ trans: n, type: "deleteRange", range: a }).then(function(f) {
1258
1258
  var p = f.failures;
1259
1259
  if (f.lastResult, f.results, f = f.numFailures, f) throw new Ce("Could not delete some values", Object.keys(p).map(function(y) {
1260
1260
  return p[y];
@@ -1284,12 +1284,12 @@ function ws() {
1284
1284
  }).limit(0);
1285
1285
  }
1286
1286
  function bn(e, t, n, o) {
1287
- var s, c, f, p, y, g, _, m = n.length;
1287
+ var a, c, f, p, y, g, _, m = n.length;
1288
1288
  if (!n.every(function(w) {
1289
1289
  return typeof w == "string";
1290
1290
  })) return ze(e, ao);
1291
1291
  function O(w) {
1292
- s = w === "next" ? function(b) {
1292
+ a = w === "next" ? function(b) {
1293
1293
  return b.toUpperCase();
1294
1294
  } : function(b) {
1295
1295
  return b.toLowerCase();
@@ -1299,7 +1299,7 @@ function ws() {
1299
1299
  return b.toUpperCase();
1300
1300
  }, f = w === "next" ? Vi : Wi;
1301
1301
  var S = n.map(function(b) {
1302
- return { lower: c(b), upper: s(b) };
1302
+ return { lower: c(b), upper: a(b) };
1303
1303
  }).sort(function(b, k) {
1304
1304
  return f(b.lower, k.lower);
1305
1305
  });
@@ -1409,11 +1409,11 @@ function ws() {
1409
1409
  o._ondirectionchange = function(c) {
1410
1410
  n = c === "next" ? e._ascending : e._descending, t.sort(n);
1411
1411
  };
1412
- var s = 0;
1412
+ var a = 0;
1413
1413
  return o._addAlgorithm(function(c, f, p) {
1414
- for (var y = c.key; 0 < n(y, t[s]); ) if (++s === t.length) return f(p), !1;
1415
- return n(y, t[s]) === 0 || (f(function() {
1416
- c.continue(t[s]);
1414
+ for (var y = c.key; 0 < n(y, t[a]); ) if (++a === t.length) return f(p), !1;
1415
+ return n(y, t[a]) === 0 || (f(function() {
1416
+ c.continue(t[a]);
1417
1417
  }), !1);
1418
1418
  }), o;
1419
1419
  }, Me.prototype.notEqual = function(e) {
@@ -1431,12 +1431,12 @@ function ws() {
1431
1431
  }, null);
1432
1432
  return t.push([e[e.length - 1], this.db._maxKey]), this.inAnyRange(t, { includeLowers: !1, includeUppers: !1 });
1433
1433
  }, Me.prototype.inAnyRange = function(k, t) {
1434
- var n = this, o = this._cmp, s = this._ascending, c = this._descending, f = this._min, p = this._max;
1434
+ var n = this, o = this._cmp, a = this._ascending, c = this._descending, f = this._min, p = this._max;
1435
1435
  if (k.length === 0) return Dt(this);
1436
1436
  if (!k.every(function(T) {
1437
- return T[0] !== void 0 && T[1] !== void 0 && s(T[0], T[1]) <= 0;
1437
+ return T[0] !== void 0 && T[1] !== void 0 && a(T[0], T[1]) <= 0;
1438
1438
  })) return ze(this, "First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower", Z.InvalidArgument);
1439
- var y = !t || t.includeLowers !== !1, g = t && t.includeUppers === !0, _, m = s;
1439
+ var y = !t || t.includeLowers !== !1, g = t && t.includeUppers === !0, _, m = a;
1440
1440
  function O(T, R) {
1441
1441
  return m(T[0], R[0]);
1442
1442
  }
@@ -1455,9 +1455,9 @@ function ws() {
1455
1455
  return ze(this, rt);
1456
1456
  }
1457
1457
  var v = 0, w = g ? function(T) {
1458
- return 0 < s(T, _[v][1]);
1458
+ return 0 < a(T, _[v][1]);
1459
1459
  } : function(T) {
1460
- return 0 <= s(T, _[v][1]);
1460
+ return 0 <= a(T, _[v][1]);
1461
1461
  }, S = y ? function(T) {
1462
1462
  return 0 < c(T, _[v][0]);
1463
1463
  } : function(T) {
@@ -1466,11 +1466,11 @@ function ws() {
1466
1466
  return ct(_[0][0], _[_.length - 1][1], !y, !g);
1467
1467
  });
1468
1468
  return k._ondirectionchange = function(T) {
1469
- m = T === "next" ? (b = w, s) : (b = S, c), _.sort(O);
1469
+ m = T === "next" ? (b = w, a) : (b = S, c), _.sort(O);
1470
1470
  }, k._addAlgorithm(function(T, R, D) {
1471
1471
  for (var q, z = T.key; b(z); ) if (++v === _.length) return R(D), !1;
1472
1472
  return !w(q = z) && !S(q) || (n._cmp(z, _[v][1]) === 0 || n._cmp(z, _[v][0]) === 0 || R(function() {
1473
- m === s ? T.continue(_[v][0]) : T.continue(_[v][1]);
1473
+ m === a ? T.continue(_[v][0]) : T.continue(_[v][1]);
1474
1474
  }), !1);
1475
1475
  }), k;
1476
1476
  }, Me.prototype.startsWithAnyOf = function() {
@@ -1517,10 +1517,10 @@ function ws() {
1517
1517
  throw new Z.OpenFailed(o);
1518
1518
  }
1519
1519
  if (!this.active) throw new Z.TransactionInactive();
1520
- return _e(this._completion._state === null), (e = this.idbtrans = e || (this.db.core || n).transaction(this.storeNames, this.mode, { durability: this.chromeTransactionDurability })).onerror = Te(function(s) {
1521
- Vt(s), t._reject(e.error);
1522
- }), e.onabort = Te(function(s) {
1523
- Vt(s), t.active && t._reject(new Z.Abort(e.error)), t.active = !1, t.on("abort").fire(s);
1520
+ return _e(this._completion._state === null), (e = this.idbtrans = e || (this.db.core || n).transaction(this.storeNames, this.mode, { durability: this.chromeTransactionDurability })).onerror = Te(function(a) {
1521
+ Vt(a), t._reject(e.error);
1522
+ }), e.onabort = Te(function(a) {
1523
+ Vt(a), t.active && t._reject(new Z.Abort(e.error)), t.active = !1, t.on("abort").fire(a);
1524
1524
  }), e.oncomplete = Te(function() {
1525
1525
  t.active = !1, t._resolve(), "mutatedParts" in e && lt.storagemutated.fire(e.mutatedParts);
1526
1526
  }), this;
@@ -1543,11 +1543,11 @@ function ws() {
1543
1543
  return o._unlock();
1544
1544
  }), c._lib = !0, c;
1545
1545
  });
1546
- var s = new W(function(c, f) {
1546
+ var a = new W(function(c, f) {
1547
1547
  var p = t(c, f, o);
1548
1548
  p && p.then && p.then(c, f);
1549
1549
  });
1550
- return s._lib = !0, s;
1550
+ return a._lib = !0, a;
1551
1551
  }, et.prototype._root = function() {
1552
1552
  return this.parent ? this.parent._root() : this;
1553
1553
  }, et.prototype.waitFor = function(e) {
@@ -1558,14 +1558,14 @@ function ws() {
1558
1558
  for (++n._spinCount; n._waitingQueue.length; ) n._waitingQueue.shift()();
1559
1559
  n._waitingFor && (t.get(-1 / 0).onsuccess = c);
1560
1560
  }());
1561
- var s = n._waitingFor;
1561
+ var a = n._waitingFor;
1562
1562
  return new W(function(c, f) {
1563
1563
  o.then(function(p) {
1564
1564
  return n._waitingQueue.push(Te(c.bind(null, p)));
1565
1565
  }, function(p) {
1566
1566
  return n._waitingQueue.push(Te(f.bind(null, p)));
1567
1567
  }).finally(function() {
1568
- n._waitingFor === s && (n._waitingFor = null);
1568
+ n._waitingFor === a && (n._waitingFor = null);
1569
1569
  });
1570
1570
  });
1571
1571
  }, et.prototype.abort = function() {
@@ -1579,17 +1579,17 @@ function ws() {
1579
1579
  }, et);
1580
1580
  function et() {
1581
1581
  }
1582
- function vr(e, t, n, o, s, c, f) {
1583
- return { name: e, keyPath: t, unique: n, multi: o, auto: s, compound: c, src: (n && !f ? "&" : "") + (o ? "*" : "") + (s ? "++" : "") + bo(t) };
1582
+ function vr(e, t, n, o, a, c, f) {
1583
+ return { name: e, keyPath: t, unique: n, multi: o, auto: a, compound: c, src: (n && !f ? "&" : "") + (o ? "*" : "") + (a ? "++" : "") + bo(t) };
1584
1584
  }
1585
1585
  function bo(e) {
1586
1586
  return typeof e == "string" ? e : e ? "[" + [].join.call(e, "+") + "]" : "";
1587
1587
  }
1588
1588
  function gr(e, t, n) {
1589
- return { name: e, primKey: t, indexes: n, mappedClass: null, idxByName: (o = function(s) {
1590
- return [s.name, s];
1591
- }, n.reduce(function(s, c, f) {
1592
- return f = o(c, f), f && (s[f[0]] = f[1]), s;
1589
+ return { name: e, primKey: t, indexes: n, mappedClass: null, idxByName: (o = function(a) {
1590
+ return [a.name, a];
1591
+ }, n.reduce(function(a, c, f) {
1592
+ return f = o(c, f), f && (a[f[0]] = f[1]), a;
1593
1593
  }, {})) };
1594
1594
  var o;
1595
1595
  }
@@ -1629,7 +1629,7 @@ function ws() {
1629
1629
  var v = b.lower, w = b.upper, S = b.lowerOpen, b = b.upperOpen;
1630
1630
  return v === void 0 ? w === void 0 ? null : t.upperBound(w, !!b) : w === void 0 ? t.lowerBound(v, !!S) : t.bound(v, w, !!S, !!b);
1631
1631
  }
1632
- function s(O) {
1632
+ function a(O) {
1633
1633
  var v, w = O.name;
1634
1634
  return { name: w, schema: O, mutate: function(S) {
1635
1635
  var b = S.trans, k = S.type, T = S.keys, R = S.values, D = S.range;
@@ -1755,7 +1755,7 @@ function ws() {
1755
1755
  return S[Gt(k)];
1756
1756
  } };
1757
1757
  return S[":id"] = b.primaryKey, v != null && (S[Gt(v)] = b.primaryKey), b;
1758
- }) }, hasGetAll: 0 < p.length && "getAll" in f.objectStore(p[0]) && !(typeof navigator < "u" && /Safari/.test(navigator.userAgent) && !/(Chrome\/|Edge\/)/.test(navigator.userAgent) && [].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1] < 604) }), y = _.schema, g = _.hasGetAll, _ = y.tables.map(s), m = {};
1758
+ }) }, hasGetAll: 0 < p.length && "getAll" in f.objectStore(p[0]) && !(typeof navigator < "u" && /Safari/.test(navigator.userAgent) && !/(Chrome\/|Edge\/)/.test(navigator.userAgent) && [].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1] < 604) }), y = _.schema, g = _.hasGetAll, _ = y.tables.map(a), m = {};
1759
1759
  return _.forEach(function(O) {
1760
1760
  return m[O.name] = O;
1761
1761
  }), { stack: "dbcore", transaction: e.transaction.bind(e), table: function(O) {
@@ -1764,32 +1764,32 @@ function ws() {
1764
1764
  }, MIN_KEY: -1 / 0, MAX_KEY: Jt(t), schema: y };
1765
1765
  }
1766
1766
  function Qi(e, t, n, o) {
1767
- var s = n.IDBKeyRange;
1768
- return n.indexedDB, { dbcore: (o = Xi(t, s, o), e.dbcore.reduce(function(c, f) {
1769
- return f = f.create, a(a({}, c), f(c));
1767
+ var a = n.IDBKeyRange;
1768
+ return n.indexedDB, { dbcore: (o = Xi(t, a, o), e.dbcore.reduce(function(c, f) {
1769
+ return f = f.create, s(s({}, c), f(c));
1770
1770
  }, o)) };
1771
1771
  }
1772
1772
  function wn(e, o) {
1773
1773
  var n = o.db, o = Qi(e._middlewares, n, e._deps, o);
1774
- e.core = o.dbcore, e.tables.forEach(function(s) {
1775
- var c = s.name;
1774
+ e.core = o.dbcore, e.tables.forEach(function(a) {
1775
+ var c = a.name;
1776
1776
  e.core.schema.tables.some(function(f) {
1777
1777
  return f.name === c;
1778
- }) && (s.core = e.core.table(c), e[c] instanceof e.Table && (e[c].core = s.core));
1778
+ }) && (a.core = e.core.table(c), e[c] instanceof e.Table && (e[c].core = a.core));
1779
1779
  });
1780
1780
  }
1781
1781
  function _n(e, t, n, o) {
1782
- n.forEach(function(s) {
1783
- var c = o[s];
1782
+ n.forEach(function(a) {
1783
+ var c = o[a];
1784
1784
  t.forEach(function(f) {
1785
1785
  var p = function y(g, _) {
1786
1786
  return E(g, _) || (g = C(g)) && y(g, _);
1787
- }(f, s);
1788
- (!p || "value" in p && p.value === void 0) && (f === e.Transaction.prototype || f instanceof e.Transaction ? N(f, s, { get: function() {
1789
- return this.table(s);
1787
+ }(f, a);
1788
+ (!p || "value" in p && p.value === void 0) && (f === e.Transaction.prototype || f instanceof e.Transaction ? N(f, a, { get: function() {
1789
+ return this.table(a);
1790
1790
  }, set: function(y) {
1791
- ue(this, s, { value: y, writable: !0, configurable: !0, enumerable: !0 });
1792
- } }) : f[s] = new e.Table(s, c));
1791
+ ue(this, a, { value: y, writable: !0, configurable: !0, enumerable: !0 });
1792
+ } }) : f[a] = new e.Table(a, c));
1793
1793
  });
1794
1794
  });
1795
1795
  }
@@ -1802,9 +1802,9 @@ function ws() {
1802
1802
  return e._cfg.version - t._cfg.version;
1803
1803
  }
1804
1804
  function es(e, t, n, o) {
1805
- var s = e._dbSchema;
1806
- n.objectStoreNames.contains("$meta") && !s.$meta && (s.$meta = gr("$meta", xo("")[0], []), e._storeNames.push("$meta"));
1807
- var c = e._createTransaction("readwrite", e._storeNames, s);
1805
+ var a = e._dbSchema;
1806
+ n.objectStoreNames.contains("$meta") && !a.$meta && (a.$meta = gr("$meta", xo("")[0], []), e._storeNames.push("$meta"));
1807
+ var c = e._createTransaction("readwrite", e._storeNames, a);
1808
1808
  c.create(n), c._completion.catch(o);
1809
1809
  var f = c._reject.bind(c), p = oe.transless || oe;
1810
1810
  st(function() {
@@ -1862,8 +1862,8 @@ function ws() {
1862
1862
  _o(b, w);
1863
1863
  })) : W.resolve();
1864
1864
  var m, O, v, w, S, b;
1865
- }).catch(f)) : (h(s).forEach(function(_) {
1866
- xr(n, _, s[_].primKey, s[_].indexes);
1865
+ }).catch(f)) : (h(a).forEach(function(_) {
1866
+ xr(n, _, a[_].primKey, a[_].indexes);
1867
1867
  }), wn(e, n), void W.follow(function() {
1868
1868
  return e.on.populate.fire(c);
1869
1869
  }).catch(f));
@@ -1874,14 +1874,14 @@ function ws() {
1874
1874
  _o(e._dbSchema, t), t.db.version % 10 != 0 || t.objectStoreNames.contains("$meta") || t.db.createObjectStore("$meta").add(Math.ceil(t.db.version / 10 - 1), "version");
1875
1875
  var n = Sn(0, e.idbdb, t);
1876
1876
  On(e, e._dbSchema, t);
1877
- for (var o = 0, s = _r(n, e._dbSchema).change; o < s.length; o++) {
1877
+ for (var o = 0, a = _r(n, e._dbSchema).change; o < a.length; o++) {
1878
1878
  var c = function(f) {
1879
1879
  if (f.change.length || f.recreate) return console.warn("Unable to patch indexes of table ".concat(f.name, " because it has changes on the type of index or primary key.")), { value: void 0 };
1880
1880
  var p = t.objectStore(f.name);
1881
1881
  f.add.forEach(function(y) {
1882
1882
  Qe && console.debug("Dexie upgrade patch: Creating missing index ".concat(f.name, ".").concat(y.src)), xn(p, y);
1883
1883
  });
1884
- }(s[o]);
1884
+ }(a[o]);
1885
1885
  if (typeof c == "object") return c.value;
1886
1886
  }
1887
1887
  }
@@ -1889,12 +1889,12 @@ function ws() {
1889
1889
  var n, o = { del: [], add: [], change: [] };
1890
1890
  for (n in e) t[n] || o.del.push(n);
1891
1891
  for (n in t) {
1892
- var s = e[n], c = t[n];
1893
- if (s) {
1892
+ var a = e[n], c = t[n];
1893
+ if (a) {
1894
1894
  var f = { name: n, def: c, recreate: !1, del: [], add: [], change: [] };
1895
- if ("" + (s.primKey.keyPath || "") != "" + (c.primKey.keyPath || "") || s.primKey.auto !== c.primKey.auto) f.recreate = !0, o.change.push(f);
1895
+ if ("" + (a.primKey.keyPath || "") != "" + (c.primKey.keyPath || "") || a.primKey.auto !== c.primKey.auto) f.recreate = !0, o.change.push(f);
1896
1896
  else {
1897
- var p = s.idxByName, y = c.idxByName, g = void 0;
1897
+ var p = a.idxByName, y = c.idxByName, g = void 0;
1898
1898
  for (g in p) y[g] || f.del.push(g);
1899
1899
  for (g in y) {
1900
1900
  var _ = p[g], m = y[g];
@@ -1907,10 +1907,10 @@ function ws() {
1907
1907
  return o;
1908
1908
  }
1909
1909
  function xr(e, t, n, o) {
1910
- var s = e.db.createObjectStore(t, n.keyPath ? { keyPath: n.keyPath, autoIncrement: n.auto } : { autoIncrement: n.auto });
1910
+ var a = e.db.createObjectStore(t, n.keyPath ? { keyPath: n.keyPath, autoIncrement: n.auto } : { autoIncrement: n.auto });
1911
1911
  return o.forEach(function(c) {
1912
- return xn(s, c);
1913
- }), s;
1912
+ return xn(a, c);
1913
+ }), a;
1914
1914
  }
1915
1915
  function _o(e, t) {
1916
1916
  h(e).forEach(function(n) {
@@ -1922,17 +1922,17 @@ function ws() {
1922
1922
  }
1923
1923
  function Sn(e, t, n) {
1924
1924
  var o = {};
1925
- return re(t.objectStoreNames, 0).forEach(function(s) {
1926
- for (var c = n.objectStore(s), f = vr(bo(g = c.keyPath), g || "", !0, !1, !!c.autoIncrement, g && typeof g != "string", !0), p = [], y = 0; y < c.indexNames.length; ++y) {
1925
+ return re(t.objectStoreNames, 0).forEach(function(a) {
1926
+ for (var c = n.objectStore(a), f = vr(bo(g = c.keyPath), g || "", !0, !1, !!c.autoIncrement, g && typeof g != "string", !0), p = [], y = 0; y < c.indexNames.length; ++y) {
1927
1927
  var _ = c.index(c.indexNames[y]), g = _.keyPath, _ = vr(_.name, g, !!_.unique, !!_.multiEntry, !1, g && typeof g != "string", !1);
1928
1928
  p.push(_);
1929
1929
  }
1930
- o[s] = gr(s, f, p);
1930
+ o[a] = gr(a, f, p);
1931
1931
  }), o;
1932
1932
  }
1933
1933
  function On(e, t, n) {
1934
- for (var o = n.db.objectStoreNames, s = 0; s < o.length; ++s) {
1935
- var c = o[s], f = n.objectStore(c);
1934
+ for (var o = n.db.objectStoreNames, a = 0; a < o.length; ++a) {
1935
+ var c = o[a], f = n.objectStore(c);
1936
1936
  e._hasGetAll = "getAll" in f;
1937
1937
  for (var p = 0; p < f.indexNames.length; ++p) {
1938
1938
  var y = f.indexNames[p], g = f.index(y).keyPath, _ = typeof g == "string" ? g : "[" + re(g).join("+") + "]";
@@ -1943,28 +1943,28 @@ function ws() {
1943
1943
  }
1944
1944
  function xo(e) {
1945
1945
  return e.split(",").map(function(t, n) {
1946
- var o = (t = t.trim()).replace(/([&*]|\+\+)/g, ""), s = /^\[/.test(o) ? o.match(/^\[(.*)\]$/)[1].split("+") : o;
1947
- return vr(o, s || null, /\&/.test(t), /\*/.test(t), /\+\+/.test(t), x(s), n === 0);
1946
+ var o = (t = t.trim()).replace(/([&*]|\+\+)/g, ""), a = /^\[/.test(o) ? o.match(/^\[(.*)\]$/)[1].split("+") : o;
1947
+ return vr(o, a || null, /\&/.test(t), /\*/.test(t), /\+\+/.test(t), x(a), n === 0);
1948
1948
  });
1949
1949
  }
1950
1950
  var ns = (En.prototype._parseStoresSpec = function(e, t) {
1951
1951
  h(e).forEach(function(n) {
1952
1952
  if (e[n] !== null) {
1953
- var o = xo(e[n]), s = o.shift();
1954
- if (s.unique = !0, s.multi) throw new Z.Schema("Primary key cannot be multi-valued");
1953
+ var o = xo(e[n]), a = o.shift();
1954
+ if (a.unique = !0, a.multi) throw new Z.Schema("Primary key cannot be multi-valued");
1955
1955
  o.forEach(function(c) {
1956
1956
  if (c.auto) throw new Z.Schema("Only primary key can be marked as autoIncrement (++)");
1957
1957
  if (!c.keyPath) throw new Z.Schema("Index must have a name and cannot be an empty string");
1958
- }), t[n] = gr(n, s, o);
1958
+ }), t[n] = gr(n, a, o);
1959
1959
  }
1960
1960
  });
1961
1961
  }, En.prototype.stores = function(n) {
1962
1962
  var t = this.db;
1963
1963
  this._cfg.storesSource = this._cfg.storesSource ? P(this._cfg.storesSource, n) : n;
1964
- var n = t._versions, o = {}, s = {};
1964
+ var n = t._versions, o = {}, a = {};
1965
1965
  return n.forEach(function(c) {
1966
- P(o, c._cfg.storesSource), s = c._cfg.dbschema = {}, c._parseStoresSpec(o, s);
1967
- }), t._dbSchema = s, wr(t, [t._allTables, t, t.Transaction.prototype]), _n(t, [t._allTables, t, t.Transaction.prototype, this._cfg.tables], h(s), s), t._storeNames = h(s), this;
1966
+ P(o, c._cfg.storesSource), a = c._cfg.dbschema = {}, c._parseStoresSpec(o, a);
1967
+ }), t._dbSchema = a, wr(t, [t._allTables, t, t.Transaction.prototype]), _n(t, [t._allTables, t, t.Transaction.prototype, this._cfg.tables], h(a), a), t._storeNames = h(a), this;
1968
1968
  }, En.prototype.upgrade = function(e) {
1969
1969
  return this._cfg.contentUpgrade = sn(this._cfg.contentUpgrade || ye, e), this;
1970
1970
  }, En);
@@ -1997,10 +1997,10 @@ function ws() {
1997
1997
  if (!isNaN(o)) {
1998
1998
  if (0 < o) throw RangeError();
1999
1999
  if (kr(e)) return P(e, { from: t, to: n, d: 1 });
2000
- var s = e.l, o = e.r;
2001
- if (xe(n, e.from) < 0) return s ? Xt(s, t, n) : e.l = { from: t, to: n, d: 1, l: null, r: null }, Oo(e);
2000
+ var a = e.l, o = e.r;
2001
+ if (xe(n, e.from) < 0) return a ? Xt(a, t, n) : e.l = { from: t, to: n, d: 1, l: null, r: null }, Oo(e);
2002
2002
  if (0 < xe(t, e.to)) return o ? Xt(o, t, n) : e.r = { from: t, to: n, d: 1, l: null, r: null }, Oo(e);
2003
- xe(t, e.from) < 0 && (e.from = t, e.l = null, e.d = o ? o.d + 1 : 1), 0 < xe(n, e.to) && (e.to = n, e.r = null, e.d = e.l ? e.l.d + 1 : 1), n = !e.r, s && !e.l && Qt(e, s), o && n && Qt(e, o);
2003
+ xe(t, e.from) < 0 && (e.from = t, e.l = null, e.d = o ? o.d + 1 : 1), 0 < xe(n, e.to) && (e.to = n, e.r = null, e.d = e.l ? e.l.d + 1 : 1), n = !e.r, a && !e.l && Qt(e, a), o && n && Qt(e, o);
2004
2004
  }
2005
2005
  }
2006
2006
  function Qt(e, t) {
@@ -2012,9 +2012,9 @@ function ws() {
2012
2012
  function So(e, t) {
2013
2013
  var n = kn(t), o = n.next();
2014
2014
  if (o.done) return !1;
2015
- for (var s = o.value, c = kn(e), f = c.next(s.from), p = f.value; !o.done && !f.done; ) {
2016
- if (xe(p.from, s.to) <= 0 && 0 <= xe(p.to, s.from)) return !0;
2017
- xe(s.from, p.from) < 0 ? s = (o = n.next(p.from)).value : p = (f = c.next(s.from)).value;
2015
+ for (var a = o.value, c = kn(e), f = c.next(a.from), p = f.value; !o.done && !f.done; ) {
2016
+ if (xe(p.from, a.to) <= 0 && 0 <= xe(p.to, a.from)) return !0;
2017
+ xe(a.from, p.from) < 0 ? a = (o = n.next(p.from)).value : p = (f = c.next(a.from)).value;
2018
2018
  }
2019
2019
  return !1;
2020
2020
  }
@@ -2039,8 +2039,8 @@ function ws() {
2039
2039
  } };
2040
2040
  }
2041
2041
  function Oo(e) {
2042
- var t, n, o = (((t = e.r) === null || t === void 0 ? void 0 : t.d) || 0) - (((n = e.l) === null || n === void 0 ? void 0 : n.d) || 0), s = 1 < o ? "r" : o < -1 ? "l" : "";
2043
- s && (t = s == "r" ? "l" : "r", n = a({}, e), o = e[s], e.from = o.from, e.to = o.to, e[s] = o[s], n[s] = o[t], (e[t] = n).d = Eo(n)), e.d = Eo(e);
2042
+ var t, n, o = (((t = e.r) === null || t === void 0 ? void 0 : t.d) || 0) - (((n = e.l) === null || n === void 0 ? void 0 : n.d) || 0), a = 1 < o ? "r" : o < -1 ? "l" : "";
2043
+ a && (t = a == "r" ? "l" : "r", n = s({}, e), o = e[a], e.from = o.from, e.to = o.to, e[a] = o[a], n[a] = o[t], (e[t] = n).d = Eo(n)), e.d = Eo(e);
2044
2044
  }
2045
2045
  function Eo(n) {
2046
2046
  var t = n.r, n = n.l;
@@ -2048,9 +2048,9 @@ function ws() {
2048
2048
  }
2049
2049
  function Tn(e, t) {
2050
2050
  return h(t).forEach(function(n) {
2051
- e[n] ? Qt(e[n], t[n]) : e[n] = function o(s) {
2051
+ e[n] ? Qt(e[n], t[n]) : e[n] = function o(a) {
2052
2052
  var c, f, p = {};
2053
- for (c in s) M(s, c) && (f = s[c], p[c] = !f || typeof f != "object" || ne.has(f.constructor) ? f : o(f));
2053
+ for (c in a) M(a, c) && (f = a[c], p[c] = !f || typeof f != "object" || ne.has(f.constructor) ? f : o(f));
2054
2054
  return p;
2055
2055
  }(t[n]);
2056
2056
  }), e;
@@ -2084,7 +2084,7 @@ function ws() {
2084
2084
  function Pr(e, t) {
2085
2085
  t === void 0 && (t = !1);
2086
2086
  var n = /* @__PURE__ */ new Set();
2087
- if (e.all) for (var o = 0, s = Object.values(bt); o < s.length; o++) ko(f = s[o], e, n, t);
2087
+ if (e.all) for (var o = 0, a = Object.values(bt); o < a.length; o++) ko(f = a[o], e, n, t);
2088
2088
  else for (var c in e) {
2089
2089
  var f, p = /^idb\:\/\/(.*)\/(.*)\//.exec(c);
2090
2090
  p && (c = p[1], p = p[2], (f = bt["idb://".concat(c, "/").concat(p)]) && ko(f, e, n, t));
@@ -2094,16 +2094,16 @@ function ws() {
2094
2094
  });
2095
2095
  }
2096
2096
  function ko(e, t, n, o) {
2097
- for (var s = [], c = 0, f = Object.entries(e.queries.query); c < f.length; c++) {
2097
+ for (var a = [], c = 0, f = Object.entries(e.queries.query); c < f.length; c++) {
2098
2098
  for (var p = f[c], y = p[0], g = [], _ = 0, m = p[1]; _ < m.length; _++) {
2099
2099
  var O = m[_];
2100
2100
  Tr(t, O.obsSet) ? O.subscribers.forEach(function(b) {
2101
2101
  return n.add(b);
2102
2102
  }) : o && g.push(O);
2103
2103
  }
2104
- o && s.push([y, g]);
2104
+ o && a.push([y, g]);
2105
2105
  }
2106
- if (o) for (var v = 0, w = s; v < w.length; v++) {
2106
+ if (o) for (var v = 0, w = a; v < w.length; v++) {
2107
2107
  var S = w[v], y = S[0], g = S[1];
2108
2108
  e.queries.query[y] = g;
2109
2109
  }
@@ -2114,14 +2114,14 @@ function ws() {
2114
2114
  return t.dbOpenError ? Ae(t.dbOpenError) : e;
2115
2115
  });
2116
2116
  t.isBeingOpened = !0, t.dbOpenError = null, t.openComplete = !1;
2117
- var o = t.openCanceller, s = Math.round(10 * e.verno), c = !1;
2117
+ var o = t.openCanceller, a = Math.round(10 * e.verno), c = !1;
2118
2118
  function f() {
2119
2119
  if (t.openCanceller !== o) throw new Z.DatabaseClosed("db.open() was cancelled");
2120
2120
  }
2121
2121
  function p() {
2122
2122
  return new W(function(O, v) {
2123
2123
  if (f(), !n) throw new Z.MissingAPI();
2124
- var w = e.name, S = t.autoSchema || !s ? n.open(w) : n.open(w, s);
2124
+ var w = e.name, S = t.autoSchema || !a ? n.open(w) : n.open(w, a);
2125
2125
  if (!S) throw new Z.MissingAPI();
2126
2126
  S.onerror = Ze(v), S.onblocked = Te(e._fireOnBlocked), S.onupgradeneeded = Te(function(b) {
2127
2127
  var k;
@@ -2136,7 +2136,7 @@ function ws() {
2136
2136
  if (t.autoSchema) k = q, T = F, (b = e).verno = k.version / 10, T = b._dbSchema = Sn(0, k, T), b._storeNames = re(k.objectStoreNames, 0), _n(b, [b._allTables], h(T), T);
2137
2137
  else if (On(e, e._dbSchema, F), ((D = _r(Sn(0, (D = e).idbdb, F), D._dbSchema)).add.length || D.change.some(function(B) {
2138
2138
  return B.add.length || B.change.length;
2139
- })) && !c) return console.warn("Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Dexie will add missing parts and increment native version number to workaround this."), q.close(), s = q.version + 1, c = !0, O(p());
2139
+ })) && !c) return console.warn("Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Dexie will add missing parts and increment native version number to workaround this."), q.close(), a = q.version + 1, c = !0, O(p());
2140
2140
  wn(e, F);
2141
2141
  } catch {
2142
2142
  }
@@ -2152,7 +2152,7 @@ function ws() {
2152
2152
  if (0 < t.PR1398_maxLoop) return t.PR1398_maxLoop--, console.warn("Dexie: Workaround for Chrome UnknownError on open()"), p();
2153
2153
  break;
2154
2154
  case "VersionError":
2155
- if (0 < s) return s = 0, p();
2155
+ if (0 < a) return a = 0, p();
2156
2156
  }
2157
2157
  return W.reject(O);
2158
2158
  });
@@ -2200,41 +2200,41 @@ function ws() {
2200
2200
  function t(c) {
2201
2201
  return e.next(c);
2202
2202
  }
2203
- var n = s(t), o = s(function(c) {
2203
+ var n = a(t), o = a(function(c) {
2204
2204
  return e.throw(c);
2205
2205
  });
2206
- function s(c) {
2206
+ function a(c) {
2207
2207
  return function(y) {
2208
2208
  var p = c(y), y = p.value;
2209
2209
  return p.done ? y : y && typeof y.then == "function" ? y.then(n, o) : x(y) ? Promise.all(y).then(n, o) : n(y);
2210
2210
  };
2211
2211
  }
2212
- return s(t)();
2212
+ return a(t)();
2213
2213
  }
2214
2214
  function An(e, t, n) {
2215
- for (var o = x(e) ? e.slice() : [e], s = 0; s < n; ++s) o.push(t);
2215
+ for (var o = x(e) ? e.slice() : [e], a = 0; a < n; ++a) o.push(t);
2216
2216
  return o;
2217
2217
  }
2218
2218
  var os = { stack: "dbcore", name: "VirtualIndexMiddleware", level: 1, create: function(e) {
2219
- return a(a({}, e), { table: function(t) {
2220
- var n = e.table(t), o = n.schema, s = {}, c = [];
2219
+ return s(s({}, e), { table: function(t) {
2220
+ var n = e.table(t), o = n.schema, a = {}, c = [];
2221
2221
  function f(m, O, v) {
2222
- var w = Gt(m), S = s[w] = s[w] || [], b = m == null ? 0 : typeof m == "string" ? 1 : m.length, k = 0 < O, k = a(a({}, v), { name: k ? "".concat(w, "(virtual-from:").concat(v.name, ")") : v.name, lowLevelIndex: v, isVirtual: k, keyTail: O, keyLength: b, extractKey: br(m), unique: !k && v.unique });
2222
+ var w = Gt(m), S = a[w] = a[w] || [], b = m == null ? 0 : typeof m == "string" ? 1 : m.length, k = 0 < O, k = s(s({}, v), { name: k ? "".concat(w, "(virtual-from:").concat(v.name, ")") : v.name, lowLevelIndex: v, isVirtual: k, keyTail: O, keyLength: b, extractKey: br(m), unique: !k && v.unique });
2223
2223
  return S.push(k), k.isPrimaryKey || c.push(k), 1 < b && f(b === 2 ? m[0] : m.slice(0, b - 1), O + 1, v), S.sort(function(T, R) {
2224
2224
  return T.keyTail - R.keyTail;
2225
2225
  }), k;
2226
2226
  }
2227
- t = f(o.primaryKey.keyPath, 0, o.primaryKey), s[":id"] = [t];
2227
+ t = f(o.primaryKey.keyPath, 0, o.primaryKey), a[":id"] = [t];
2228
2228
  for (var p = 0, y = o.indexes; p < y.length; p++) {
2229
2229
  var g = y[p];
2230
2230
  f(g.keyPath, 0, g);
2231
2231
  }
2232
2232
  function _(m) {
2233
2233
  var O, v = m.query.index;
2234
- return v.isVirtual ? a(a({}, m), { query: { index: v.lowLevelIndex, range: (O = m.query.range, v = v.keyTail, { type: O.type === 1 ? 2 : O.type, lower: An(O.lower, O.lowerOpen ? e.MAX_KEY : e.MIN_KEY, v), lowerOpen: !0, upper: An(O.upper, O.upperOpen ? e.MIN_KEY : e.MAX_KEY, v), upperOpen: !0 }) } }) : m;
2234
+ return v.isVirtual ? s(s({}, m), { query: { index: v.lowLevelIndex, range: (O = m.query.range, v = v.keyTail, { type: O.type === 1 ? 2 : O.type, lower: An(O.lower, O.lowerOpen ? e.MAX_KEY : e.MIN_KEY, v), lowerOpen: !0, upper: An(O.upper, O.upperOpen ? e.MIN_KEY : e.MAX_KEY, v), upperOpen: !0 }) } }) : m;
2235
2235
  }
2236
- return a(a({}, n), { schema: a(a({}, o), { primaryKey: t, indexes: c, getIndexByKeyPath: function(m) {
2237
- return (m = s[Gt(m)]) && m[0];
2236
+ return s(s({}, n), { schema: s(s({}, o), { primaryKey: t, indexes: c, getIndexByKeyPath: function(m) {
2237
+ return (m = a[Gt(m)]) && m[0];
2238
2238
  } }), count: function(m) {
2239
2239
  return n.count(_(m));
2240
2240
  }, query: function(m) {
@@ -2262,36 +2262,36 @@ function ws() {
2262
2262
  } });
2263
2263
  } };
2264
2264
  function $r(e, t, n, o) {
2265
- return n = n || {}, o = o || "", h(e).forEach(function(s) {
2265
+ return n = n || {}, o = o || "", h(e).forEach(function(a) {
2266
2266
  var c, f, p;
2267
- M(t, s) ? (c = e[s], f = t[s], typeof c == "object" && typeof f == "object" && c && f ? (p = H(c)) !== H(f) ? n[o + s] = t[s] : p === "Object" ? $r(c, f, n, o + s + ".") : c !== f && (n[o + s] = t[s]) : c !== f && (n[o + s] = t[s])) : n[o + s] = void 0;
2268
- }), h(t).forEach(function(s) {
2269
- M(e, s) || (n[o + s] = t[s]);
2267
+ M(t, a) ? (c = e[a], f = t[a], typeof c == "object" && typeof f == "object" && c && f ? (p = H(c)) !== H(f) ? n[o + a] = t[a] : p === "Object" ? $r(c, f, n, o + a + ".") : c !== f && (n[o + a] = t[a]) : c !== f && (n[o + a] = t[a])) : n[o + a] = void 0;
2268
+ }), h(t).forEach(function(a) {
2269
+ M(e, a) || (n[o + a] = t[a]);
2270
2270
  }), n;
2271
2271
  }
2272
2272
  function Cr(e, t) {
2273
2273
  return t.type === "delete" ? t.keys : t.keys || t.values.map(e.extractKey);
2274
2274
  }
2275
2275
  var is = { stack: "dbcore", name: "HooksMiddleware", level: 2, create: function(e) {
2276
- return a(a({}, e), { table: function(t) {
2276
+ return s(s({}, e), { table: function(t) {
2277
2277
  var n = e.table(t), o = n.schema.primaryKey;
2278
- return a(a({}, n), { mutate: function(s) {
2278
+ return s(s({}, n), { mutate: function(a) {
2279
2279
  var c = oe.trans, f = c.table(t).hook, p = f.deleting, y = f.creating, g = f.updating;
2280
- switch (s.type) {
2280
+ switch (a.type) {
2281
2281
  case "add":
2282
2282
  if (y.fire === ye) break;
2283
2283
  return c._promise("readwrite", function() {
2284
- return _(s);
2284
+ return _(a);
2285
2285
  }, !0);
2286
2286
  case "put":
2287
2287
  if (y.fire === ye && g.fire === ye) break;
2288
2288
  return c._promise("readwrite", function() {
2289
- return _(s);
2289
+ return _(a);
2290
2290
  }, !0);
2291
2291
  case "delete":
2292
2292
  if (p.fire === ye) break;
2293
2293
  return c._promise("readwrite", function() {
2294
- return _(s);
2294
+ return _(a);
2295
2295
  }, !0);
2296
2296
  case "deleteRange":
2297
2297
  if (p.fire === ye) break;
@@ -2300,17 +2300,17 @@ function ws() {
2300
2300
  return n.query({ trans: O, values: !1, query: { index: o, range: v }, limit: w }).then(function(S) {
2301
2301
  var b = S.result;
2302
2302
  return _({ type: "delete", keys: b, trans: O }).then(function(k) {
2303
- return 0 < k.numFailures ? Promise.reject(k.failures[0]) : b.length < w ? { failures: [], numFailures: 0, lastResult: void 0 } : m(O, a(a({}, v), { lower: b[b.length - 1], lowerOpen: !0 }), w);
2303
+ return 0 < k.numFailures ? Promise.reject(k.failures[0]) : b.length < w ? { failures: [], numFailures: 0, lastResult: void 0 } : m(O, s(s({}, v), { lower: b[b.length - 1], lowerOpen: !0 }), w);
2304
2304
  });
2305
2305
  });
2306
- }(s.trans, s.range, 1e4);
2306
+ }(a.trans, a.range, 1e4);
2307
2307
  }, !0);
2308
2308
  }
2309
- return n.mutate(s);
2309
+ return n.mutate(a);
2310
2310
  function _(m) {
2311
2311
  var O, v, w, S = oe.trans, b = m.keys || Cr(o, m);
2312
2312
  if (!b) throw new Error("Keys missing");
2313
- return (m = m.type === "add" || m.type === "put" ? a(a({}, m), { keys: b }) : a({}, m)).type !== "delete" && (m.values = l([], m.values)), m.keys && (m.keys = l([], m.keys)), O = n, w = b, ((v = m).type === "add" ? Promise.resolve([]) : O.getMany({ trans: v.trans, keys: w, cache: "immutable" })).then(function(k) {
2313
+ return (m = m.type === "add" || m.type === "put" ? s(s({}, m), { keys: b }) : s({}, m)).type !== "delete" && (m.values = l([], m.values)), m.keys && (m.keys = l([], m.keys)), O = n, w = b, ((v = m).type === "add" ? Promise.resolve([]) : O.getMany({ trans: v.trans, keys: w, cache: "immutable" })).then(function(k) {
2314
2314
  var T = b.map(function(R, D) {
2315
2315
  var q, z, F, B = k[D], V = { onerror: null, onsuccess: null };
2316
2316
  return m.type === "delete" ? p.fire.call(V, R, B, S) : m.type === "add" || B === void 0 ? (q = y.fire.call(V, R, m.values[D], S), R == null && q != null && (m.keys[D] = R = q, o.outbound || U(m.values[D], o.keyPath, R))) : (q = $r(B, m.values[D]), (z = g.fire.call(V, q, R, B, S)) && (F = m.values[D], Object.keys(z).forEach(function(Y) {
@@ -2336,7 +2336,7 @@ function ws() {
2336
2336
  function To(e, t, n) {
2337
2337
  try {
2338
2338
  if (!t || t.keys.length < e.length) return null;
2339
- for (var o = [], s = 0, c = 0; s < t.keys.length && c < e.length; ++s) xe(t.keys[s], e[c]) === 0 && (o.push(n ? we(t.values[s]) : t.values[s]), ++c);
2339
+ for (var o = [], a = 0, c = 0; a < t.keys.length && c < e.length; ++a) xe(t.keys[a], e[c]) === 0 && (o.push(n ? we(t.values[a]) : t.values[a]), ++c);
2340
2340
  return o.length === e.length ? o : null;
2341
2341
  } catch {
2342
2342
  return null;
@@ -2345,10 +2345,10 @@ function ws() {
2345
2345
  var ss = { stack: "dbcore", level: -1, create: function(e) {
2346
2346
  return { table: function(t) {
2347
2347
  var n = e.table(t);
2348
- return a(a({}, n), { getMany: function(o) {
2348
+ return s(s({}, n), { getMany: function(o) {
2349
2349
  if (!o.cache) return n.getMany(o);
2350
- var s = To(o.keys, o.trans._cache, o.cache === "clone");
2351
- return s ? W.resolve(s) : n.getMany(o).then(function(c) {
2350
+ var a = To(o.keys, o.trans._cache, o.cache === "clone");
2351
+ return a ? W.resolve(a) : n.getMany(o).then(function(c) {
2352
2352
  return o.trans._cache = { keys: o.keys, values: o.cache === "clone" ? we(c) : c }, c;
2353
2353
  });
2354
2354
  }, mutate: function(o) {
@@ -2372,13 +2372,13 @@ function ws() {
2372
2372
  }
2373
2373
  var as = { stack: "dbcore", level: 0, name: "Observability", create: function(e) {
2374
2374
  var t = e.schema.name, n = new qe(e.MIN_KEY, e.MAX_KEY);
2375
- return a(a({}, e), { transaction: function(o, s, c) {
2376
- if (oe.subscr && s !== "readonly") throw new Z.ReadOnly("Readwrite transaction in liveQuery context. Querier source: ".concat(oe.querier));
2377
- return e.transaction(o, s, c);
2375
+ return s(s({}, e), { transaction: function(o, a, c) {
2376
+ if (oe.subscr && a !== "readonly") throw new Z.ReadOnly("Readwrite transaction in liveQuery context. Querier source: ".concat(oe.querier));
2377
+ return e.transaction(o, a, c);
2378
2378
  }, table: function(o) {
2379
- var s = e.table(o), c = s.schema, f = c.primaryKey, m = c.indexes, p = f.extractKey, y = f.outbound, g = f.autoIncrement && m.filter(function(v) {
2379
+ var a = e.table(o), c = a.schema, f = c.primaryKey, m = c.indexes, p = f.extractKey, y = f.outbound, g = f.autoIncrement && m.filter(function(v) {
2380
2380
  return v.compound && v.keyPath.includes(f.keyPath);
2381
- }), _ = a(a({}, s), { mutate: function(v) {
2381
+ }), _ = s(s({}, a), { mutate: function(v) {
2382
2382
  function w(Y) {
2383
2383
  return Y = "idb://".concat(t, "/").concat(o, "/").concat(Y), R[Y] || (R[Y] = new qe());
2384
2384
  }
@@ -2401,7 +2401,7 @@ function ws() {
2401
2401
  });
2402
2402
  }))) : F ? (B = { from: (B = F.lower) !== null && B !== void 0 ? B : e.MIN_KEY, to: (B = F.upper) !== null && B !== void 0 ? B : e.MAX_KEY }, q.add(B), D.add(B)) : (D.add(n), q.add(n), c.indexes.forEach(function(Y) {
2403
2403
  return w(Y.name).add(n);
2404
- })), s.mutate(v).then(function(Y) {
2404
+ })), a.mutate(v).then(function(Y) {
2405
2405
  return !F || v.type !== "add" && v.type !== "put" || (D.addKeys(Y.results), g && g.forEach(function(X) {
2406
2406
  for (var pe = v.values.map(function(he) {
2407
2407
  return X.extractKey(he);
@@ -2421,15 +2421,15 @@ function ws() {
2421
2421
  }, count: m, query: m, openCursor: m };
2422
2422
  return h(O).forEach(function(v) {
2423
2423
  _[v] = function(w) {
2424
- var S = oe.subscr, b = !!S, k = Ro(oe, s) && Ao(v, w) ? w.obsSet = {} : S;
2424
+ var S = oe.subscr, b = !!S, k = Ro(oe, a) && Ao(v, w) ? w.obsSet = {} : S;
2425
2425
  if (b) {
2426
2426
  var T = function(B) {
2427
2427
  return B = "idb://".concat(t, "/").concat(o, "/").concat(B), k[B] || (k[B] = new qe());
2428
2428
  }, R = T(""), D = T(":dels"), S = O[v](w), b = S[0], S = S[1];
2429
2429
  if ((v === "query" && b.isPrimaryKey && !w.values ? D : T(b.name || "")).add(S), !b.isPrimaryKey) {
2430
2430
  if (v !== "count") {
2431
- var q = v === "query" && y && w.values && s.query(a(a({}, w), { values: !1 }));
2432
- return s[v].apply(this, arguments).then(function(B) {
2431
+ var q = v === "query" && y && w.values && a.query(s(s({}, w), { values: !1 }));
2432
+ return a[v].apply(this, arguments).then(function(B) {
2433
2433
  if (v === "query") {
2434
2434
  if (y && w.values) return q.then(function(pe) {
2435
2435
  return pe = pe.result, R.addKeys(pe), B;
@@ -2453,7 +2453,7 @@ function ws() {
2453
2453
  D.add(n);
2454
2454
  }
2455
2455
  }
2456
- return s[v].apply(this, arguments);
2456
+ return a[v].apply(this, arguments);
2457
2457
  };
2458
2458
  }), _;
2459
2459
  } });
@@ -2462,9 +2462,9 @@ function ws() {
2462
2462
  if (n.numFailures === 0) return t;
2463
2463
  if (t.type === "deleteRange") return null;
2464
2464
  var o = t.keys ? t.keys.length : "values" in t && t.values ? t.values.length : 1;
2465
- return n.numFailures === o ? null : (t = a({}, t), x(t.keys) && (t.keys = t.keys.filter(function(s, c) {
2465
+ return n.numFailures === o ? null : (t = s({}, t), x(t.keys) && (t.keys = t.keys.filter(function(a, c) {
2466
2466
  return !(c in n.failures);
2467
- })), "values" in t && x(t.values) && (t.values = t.values.filter(function(s, c) {
2467
+ })), "values" in t && x(t.values) && (t.values = t.values.filter(function(a, c) {
2468
2468
  return !(c in n.failures);
2469
2469
  })), t);
2470
2470
  }
@@ -2472,7 +2472,7 @@ function ws() {
2472
2472
  return n = e, ((o = t).lower === void 0 || (o.lowerOpen ? 0 < xe(n, o.lower) : 0 <= xe(n, o.lower))) && (e = e, (t = t).upper === void 0 || (t.upperOpen ? xe(e, t.upper) < 0 : xe(e, t.upper) <= 0));
2473
2473
  var n, o;
2474
2474
  }
2475
- function Do(e, t, O, o, s, c) {
2475
+ function Do(e, t, O, o, a, c) {
2476
2476
  if (!O || O.length === 0) return e;
2477
2477
  var f = t.query.index, p = f.multiEntry, y = t.query.range, g = o.schema.primaryKey.extractKey, _ = f.extractKey, m = (f.lowLevelIndex || f).extractKey, O = O.reduce(function(v, w) {
2478
2478
  var S = v, b = [];
@@ -2520,27 +2520,27 @@ function ws() {
2520
2520
  }, e);
2521
2521
  return O === e ? e : (O.sort(function(v, w) {
2522
2522
  return xe(m(v), m(w)) || xe(g(v), g(w));
2523
- }), t.limit && t.limit < 1 / 0 && (O.length > t.limit ? O.length = t.limit : e.length === t.limit && O.length < t.limit && (s.dirty = !0)), c ? Object.freeze(O) : O);
2523
+ }), t.limit && t.limit < 1 / 0 && (O.length > t.limit ? O.length = t.limit : e.length === t.limit && O.length < t.limit && (a.dirty = !0)), c ? Object.freeze(O) : O);
2524
2524
  }
2525
2525
  function $o(e, t) {
2526
2526
  return xe(e.lower, t.lower) === 0 && xe(e.upper, t.upper) === 0 && !!e.lowerOpen == !!t.lowerOpen && !!e.upperOpen == !!t.upperOpen;
2527
2527
  }
2528
2528
  function us(e, t) {
2529
- return function(n, o, s, c) {
2529
+ return function(n, o, a, c) {
2530
2530
  if (n === void 0) return o !== void 0 ? -1 : 0;
2531
2531
  if (o === void 0) return 1;
2532
2532
  if ((o = xe(n, o)) === 0) {
2533
- if (s && c) return 0;
2534
- if (s) return 1;
2533
+ if (a && c) return 0;
2534
+ if (a) return 1;
2535
2535
  if (c) return -1;
2536
2536
  }
2537
2537
  return o;
2538
- }(e.lower, t.lower, e.lowerOpen, t.lowerOpen) <= 0 && 0 <= function(n, o, s, c) {
2538
+ }(e.lower, t.lower, e.lowerOpen, t.lowerOpen) <= 0 && 0 <= function(n, o, a, c) {
2539
2539
  if (n === void 0) return o !== void 0 ? 1 : 0;
2540
2540
  if (o === void 0) return -1;
2541
2541
  if ((o = xe(n, o)) === 0) {
2542
- if (s && c) return 0;
2543
- if (s) return -1;
2542
+ if (a && c) return 0;
2543
+ if (a) return -1;
2544
2544
  if (c) return 1;
2545
2545
  }
2546
2546
  return o;
@@ -2548,17 +2548,17 @@ function ws() {
2548
2548
  }
2549
2549
  function cs(e, t, n, o) {
2550
2550
  e.subscribers.add(n), o.addEventListener("abort", function() {
2551
- var s, c;
2552
- e.subscribers.delete(n), e.subscribers.size === 0 && (s = e, c = t, setTimeout(function() {
2553
- s.subscribers.size === 0 && L(c, s);
2551
+ var a, c;
2552
+ e.subscribers.delete(n), e.subscribers.size === 0 && (a = e, c = t, setTimeout(function() {
2553
+ a.subscribers.size === 0 && L(c, a);
2554
2554
  }, 3e3));
2555
2555
  });
2556
2556
  }
2557
2557
  var ls = { stack: "dbcore", level: 0, name: "Cache", create: function(e) {
2558
2558
  var t = e.schema.name;
2559
- return a(a({}, e), { transaction: function(n, o, s) {
2560
- var c, f, p = e.transaction(n, o, s);
2561
- return o === "readwrite" && (f = (c = new AbortController()).signal, s = function(y) {
2559
+ return s(s({}, e), { transaction: function(n, o, a) {
2560
+ var c, f, p = e.transaction(n, o, a);
2561
+ return o === "readwrite" && (f = (c = new AbortController()).signal, a = function(y) {
2562
2562
  return function() {
2563
2563
  if (c.abort(), o === "readwrite") {
2564
2564
  for (var g = /* @__PURE__ */ new Set(), _ = 0, m = n; _ < m.length; _++) {
@@ -2587,23 +2587,23 @@ function ws() {
2587
2587
  });
2588
2588
  }
2589
2589
  };
2590
- }, p.addEventListener("abort", s(!1), { signal: f }), p.addEventListener("error", s(!1), { signal: f }), p.addEventListener("complete", s(!0), { signal: f })), p;
2590
+ }, p.addEventListener("abort", a(!1), { signal: f }), p.addEventListener("error", a(!1), { signal: f }), p.addEventListener("complete", a(!0), { signal: f })), p;
2591
2591
  }, table: function(n) {
2592
- var o = e.table(n), s = o.schema.primaryKey;
2593
- return a(a({}, o), { mutate: function(c) {
2592
+ var o = e.table(n), a = o.schema.primaryKey;
2593
+ return s(s({}, o), { mutate: function(c) {
2594
2594
  var f = oe.trans;
2595
- if (s.outbound || f.db._options.cache === "disabled" || f.explicit || f.idbtrans.mode !== "readwrite") return o.mutate(c);
2595
+ if (a.outbound || f.db._options.cache === "disabled" || f.explicit || f.idbtrans.mode !== "readwrite") return o.mutate(c);
2596
2596
  var p = bt["idb://".concat(t, "/").concat(n)];
2597
- return p ? (f = o.mutate(c), c.type !== "add" && c.type !== "put" || !(50 <= c.values.length || Cr(s, c).some(function(y) {
2597
+ return p ? (f = o.mutate(c), c.type !== "add" && c.type !== "put" || !(50 <= c.values.length || Cr(a, c).some(function(y) {
2598
2598
  return y == null;
2599
2599
  })) ? (p.optimisticOps.push(c), c.mutatedParts && Rn(c.mutatedParts), f.then(function(y) {
2600
2600
  0 < y.numFailures && (L(p.optimisticOps, c), (y = Po(0, c, y)) && p.optimisticOps.push(y), c.mutatedParts && Rn(c.mutatedParts));
2601
2601
  }), f.catch(function() {
2602
2602
  L(p.optimisticOps, c), c.mutatedParts && Rn(c.mutatedParts);
2603
2603
  })) : f.then(function(y) {
2604
- var g = Po(0, a(a({}, c), { values: c.values.map(function(_, m) {
2604
+ var g = Po(0, s(s({}, c), { values: c.values.map(function(_, m) {
2605
2605
  var O;
2606
- return y.failures[m] ? _ : (_ = (O = s.keyPath) !== null && O !== void 0 && O.includes(".") ? we(_) : a({}, _), U(_, s.keyPath, y.results[m]), _);
2606
+ return y.failures[m] ? _ : (_ = (O = a.keyPath) !== null && O !== void 0 && O.includes(".") ? we(_) : s({}, _), U(_, a.keyPath, y.results[m]), _);
2607
2607
  }) }), y);
2608
2608
  p.optimisticOps.push(g), queueMicrotask(function() {
2609
2609
  return c.mutatedParts && Rn(c.mutatedParts);
@@ -2647,8 +2647,8 @@ function ws() {
2647
2647
  } });
2648
2648
  } };
2649
2649
  function Pn(e, t) {
2650
- return new Proxy(e, { get: function(n, o, s) {
2651
- return o === "db" ? t : Reflect.get(n, o, s);
2650
+ return new Proxy(e, { get: function(n, o, a) {
2651
+ return o === "db" ? t : Reflect.get(n, o, a);
2652
2652
  } });
2653
2653
  }
2654
2654
  var ot = (Pe.prototype.version = function(e) {
@@ -2670,14 +2670,14 @@ function ws() {
2670
2670
  t._state.dbReadyPromise.then(n, o);
2671
2671
  }).then(e);
2672
2672
  }, Pe.prototype.use = function(e) {
2673
- var t = e.stack, n = e.create, o = e.level, s = e.name;
2674
- return s && this.unuse({ stack: t, name: s }), e = this._middlewares[t] || (this._middlewares[t] = []), e.push({ stack: t, create: n, level: o ?? 10, name: s }), e.sort(function(c, f) {
2673
+ var t = e.stack, n = e.create, o = e.level, a = e.name;
2674
+ return a && this.unuse({ stack: t, name: a }), e = this._middlewares[t] || (this._middlewares[t] = []), e.push({ stack: t, create: n, level: o ?? 10, name: a }), e.sort(function(c, f) {
2675
2675
  return c.level - f.level;
2676
2676
  }), this;
2677
2677
  }, Pe.prototype.unuse = function(e) {
2678
2678
  var t = e.stack, n = e.name, o = e.create;
2679
- return t && this._middlewares[t] && (this._middlewares[t] = this._middlewares[t].filter(function(s) {
2680
- return o ? s.create !== o : !!n && s.name !== n;
2679
+ return t && this._middlewares[t] && (this._middlewares[t] = this._middlewares[t].filter(function(a) {
2680
+ return o ? a.create !== o : !!n && a.name !== n;
2681
2681
  })), this;
2682
2682
  }, Pe.prototype.open = function() {
2683
2683
  var e = this;
@@ -2705,13 +2705,13 @@ function ws() {
2705
2705
  var t = this;
2706
2706
  e === void 0 && (e = { disableAutoOpen: !0 });
2707
2707
  var n = 0 < arguments.length && typeof arguments[0] != "object", o = this._state;
2708
- return new W(function(s, c) {
2708
+ return new W(function(a, c) {
2709
2709
  function f() {
2710
2710
  t.close(e);
2711
2711
  var p = t._deps.indexedDB.deleteDatabase(t.name);
2712
2712
  p.onsuccess = Te(function() {
2713
2713
  var y, g, _;
2714
- y = t._deps, g = t.name, _ = y.indexedDB, y = y.IDBKeyRange, Or(_) || g === mn || Sr(_, y).delete(g).catch(ye), s();
2714
+ y = t._deps, g = t.name, _ = y.indexedDB, y = y.IDBKeyRange, Or(_) || g === mn || Sr(_, y).delete(g).catch(ye), a();
2715
2715
  }), p.onerror = Ze(c), p.onblocked = t._fireOnBlocked;
2716
2716
  }
2717
2717
  if (n) throw new Z.InvalidArgument("Invalid closeOptions argument to db.delete()");
@@ -2735,15 +2735,15 @@ function ws() {
2735
2735
  });
2736
2736
  }, enumerable: !1, configurable: !0 }), Pe.prototype.transaction = function() {
2737
2737
  var e = (function(t, n, o) {
2738
- var s = arguments.length;
2739
- if (s < 2) throw new Z.InvalidArgument("Too few arguments");
2740
- for (var c = new Array(s - 1); --s; ) c[s - 1] = arguments[s];
2738
+ var a = arguments.length;
2739
+ if (a < 2) throw new Z.InvalidArgument("Too few arguments");
2740
+ for (var c = new Array(a - 1); --a; ) c[a - 1] = arguments[a];
2741
2741
  return o = c.pop(), [t, le(c), o];
2742
2742
  }).apply(this, arguments);
2743
2743
  return this._transaction.apply(this, e);
2744
2744
  }, Pe.prototype._transaction = function(e, t, n) {
2745
- var o = this, s = oe.trans;
2746
- s && s.db === this && e.indexOf("!") === -1 || (s = null);
2745
+ var o = this, a = oe.trans;
2746
+ a && a.db === this && e.indexOf("!") === -1 || (a = null);
2747
2747
  var c, f, p = e.indexOf("?") !== -1;
2748
2748
  e = e.replace("!", "").replace("?", "");
2749
2749
  try {
@@ -2755,20 +2755,20 @@ function ws() {
2755
2755
  if (e != "rw" && e != dr) throw new Z.InvalidArgument("Invalid transaction mode: " + e);
2756
2756
  c = dr;
2757
2757
  }
2758
- if (s) {
2759
- if (s.mode === fr && c === dr) {
2758
+ if (a) {
2759
+ if (a.mode === fr && c === dr) {
2760
2760
  if (!p) throw new Z.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY");
2761
- s = null;
2761
+ a = null;
2762
2762
  }
2763
- s && f.forEach(function(g) {
2764
- if (s && s.storeNames.indexOf(g) === -1) {
2763
+ a && f.forEach(function(g) {
2764
+ if (a && a.storeNames.indexOf(g) === -1) {
2765
2765
  if (!p) throw new Z.SubTransaction("Table " + g + " not included in parent transaction.");
2766
- s = null;
2766
+ a = null;
2767
2767
  }
2768
- }), p && s && !s.active && (s = null);
2768
+ }), p && a && !a.active && (a = null);
2769
2769
  }
2770
2770
  } catch (g) {
2771
- return s ? s._promise(null, function(_, m) {
2771
+ return a ? a._promise(null, function(_, m) {
2772
2772
  m(g);
2773
2773
  }) : Ae(g);
2774
2774
  }
@@ -2799,8 +2799,8 @@ function ws() {
2799
2799
  return b._reject(R), Ae(R);
2800
2800
  });
2801
2801
  });
2802
- }).bind(null, this, c, f, s, n);
2803
- return s ? s._promise(c, y, "lock") : oe.trans ? yt(oe.transless, function() {
2802
+ }).bind(null, this, c, f, a, n);
2803
+ return a ? a._promise(c, y, "lock") : oe.trans ? yt(oe.transless, function() {
2804
2804
  return o._whenReady(y);
2805
2805
  }) : this._whenReady(y);
2806
2806
  }, Pe.prototype.table = function(e) {
@@ -2811,8 +2811,8 @@ function ws() {
2811
2811
  var n = this;
2812
2812
  this._middlewares = {}, this.verno = 0;
2813
2813
  var o = Pe.dependencies;
2814
- this._options = t = a({ addons: Pe.addons, autoOpen: !0, indexedDB: o.indexedDB, IDBKeyRange: o.IDBKeyRange, cache: "cloned" }, t), this._deps = { indexedDB: t.indexedDB, IDBKeyRange: t.IDBKeyRange }, o = t.addons, this._dbSchema = {}, this._versions = [], this._storeNames = [], this._allTables = {}, this.idbdb = null, this._novip = this;
2815
- var s, c, f, p, y, g = { dbOpenError: null, isBeingOpened: !1, onReadyBeingFired: null, openComplete: !1, dbReadyResolve: ye, dbReadyPromise: null, cancelOpen: ye, openCanceller: null, autoSchema: !0, PR1398_maxLoop: 3, autoOpen: t.autoOpen };
2814
+ this._options = t = s({ addons: Pe.addons, autoOpen: !0, indexedDB: o.indexedDB, IDBKeyRange: o.IDBKeyRange, cache: "cloned" }, t), this._deps = { indexedDB: t.indexedDB, IDBKeyRange: t.IDBKeyRange }, o = t.addons, this._dbSchema = {}, this._versions = [], this._storeNames = [], this._allTables = {}, this.idbdb = null, this._novip = this;
2815
+ var a, c, f, p, y, g = { dbOpenError: null, isBeingOpened: !1, onReadyBeingFired: null, openComplete: !1, dbReadyResolve: ye, dbReadyPromise: null, cancelOpen: ye, openCanceller: null, autoSchema: !0, PR1398_maxLoop: 3, autoOpen: t.autoOpen };
2816
2816
  g.dbReadyPromise = new W(function(m) {
2817
2817
  g.dbReadyResolve = m;
2818
2818
  }), g.openCanceller = new W(function(m, O) {
@@ -2826,8 +2826,8 @@ function ws() {
2826
2826
  }));
2827
2827
  });
2828
2828
  };
2829
- }), this.Collection = (s = this, Ht(zi.prototype, function(k, b) {
2830
- this.db = s;
2829
+ }), this.Collection = (a = this, Ht(zi.prototype, function(k, b) {
2830
+ this.db = a;
2831
2831
  var v = uo, w = null;
2832
2832
  if (b) try {
2833
2833
  v = b();
@@ -2901,13 +2901,13 @@ function ws() {
2901
2901
  Dn = { indexedDB: null, IDBKeyRange: null };
2902
2902
  }
2903
2903
  function Co(e) {
2904
- var t, n = !1, o = new fs(function(s) {
2904
+ var t, n = !1, o = new fs(function(a) {
2905
2905
  var c = de(e), f, p = !1, y = {}, g = {}, _ = { get closed() {
2906
2906
  return p;
2907
2907
  }, unsubscribe: function() {
2908
2908
  p || (p = !0, f && f.abort(), m && lt.storagemutated.unsubscribe(v));
2909
2909
  } };
2910
- s.start && s.start(_);
2910
+ a.start && a.start(_);
2911
2911
  var m = !1, O = function() {
2912
2912
  return lr(w);
2913
2913
  }, v = function(S) {
@@ -2928,11 +2928,11 @@ function ws() {
2928
2928
  for (var D in R) if (M(R, D)) return;
2929
2929
  return 1;
2930
2930
  }(g = S) || m || (lt(Wt, v), m = !0), lr(function() {
2931
- return !p && s.next && s.next(T);
2931
+ return !p && a.next && a.next(T);
2932
2932
  }));
2933
2933
  }, function(T) {
2934
2934
  n = !1, ["DatabaseClosedError", "AbortError"].includes(T == null ? void 0 : T.name) || p || lr(function() {
2935
- p || s.error && s.error(T);
2935
+ p || a.error && a.error(T);
2936
2936
  });
2937
2937
  }));
2938
2938
  };
@@ -2953,7 +2953,7 @@ function ws() {
2953
2953
  ft = t;
2954
2954
  }
2955
2955
  }
2956
- ae(wt, a(a({}, Ne), { delete: function(e) {
2956
+ ae(wt, s(s({}, Ne), { delete: function(e) {
2957
2957
  return new wt(e, { addons: [] }).delete();
2958
2958
  }, exists: function(e) {
2959
2959
  return new wt(e, { addons: [] }).open().then(function(t) {
@@ -2964,10 +2964,10 @@ function ws() {
2964
2964
  }, getDatabaseNames: function(e) {
2965
2965
  try {
2966
2966
  return t = wt.dependencies, n = t.indexedDB, t = t.IDBKeyRange, (Or(n) ? Promise.resolve(n.databases()).then(function(o) {
2967
- return o.map(function(s) {
2968
- return s.name;
2969
- }).filter(function(s) {
2970
- return s !== mn;
2967
+ return o.map(function(a) {
2968
+ return a.name;
2969
+ }).filter(function(a) {
2970
+ return a !== mn;
2971
2971
  });
2972
2972
  }) : Sr(n, t).toCollection().primaryKeys()).then(e);
2973
2973
  } catch {
@@ -2993,8 +2993,8 @@ function ws() {
2993
2993
  try {
2994
2994
  var o = Dr(e.apply(n, t || []));
2995
2995
  return o && typeof o.then == "function" ? o : W.resolve(o);
2996
- } catch (s) {
2997
- return Ae(s);
2996
+ } catch (a) {
2997
+ return Ae(a);
2998
2998
  }
2999
2999
  }, currentTransaction: { get: function() {
3000
3000
  return oe.trans || null;
@@ -3036,7 +3036,7 @@ function ws() {
3036
3036
  return !e || e instanceof Oe || e instanceof TypeError || e instanceof SyntaxError || !e.name || !$e[e.name] ? e : (t = new $e[e.name](t || e.message, e), "stack" in e && N(t, "stack", { get: function() {
3037
3037
  return this.inner.stack;
3038
3038
  } }), t);
3039
- }, to(Qe), a(ot, Object.freeze({ __proto__: null, Dexie: ot, liveQuery: Co, Entity: co, cmp: xe, PropModification: zt, replacePrefix: function(e, t) {
3039
+ }, to(Qe), s(ot, Object.freeze({ __proto__: null, Dexie: ot, liveQuery: Co, Entity: co, cmp: xe, PropModification: zt, replacePrefix: function(e, t) {
3040
3040
  return new zt({ replacePrefix: [e, t] });
3041
3041
  }, add: function(e) {
3042
3042
  return new zt({ add: e });
@@ -3051,16 +3051,16 @@ const Yr = /* @__PURE__ */ Ct(_s), No = Symbol.for("Dexie"), Hn = globalThis[No]
3051
3051
  if (Yr.semVer !== Hn.semVer)
3052
3052
  throw new Error(`Two different versions of Dexie loaded in the same app: ${Yr.semVer} and ${Hn.semVer}`);
3053
3053
  const {
3054
- liveQuery: Fu,
3055
- mergeRanges: Bu,
3056
- rangesOverlap: Ku,
3057
- RangeSet: Iu,
3058
- cmp: Lu,
3059
- Entity: Uu,
3060
- PropModification: Yu,
3061
- replacePrefix: Hu,
3062
- add: zu,
3063
- remove: Vu
3054
+ liveQuery: Bu,
3055
+ mergeRanges: Ku,
3056
+ rangesOverlap: Iu,
3057
+ RangeSet: Lu,
3058
+ cmp: Uu,
3059
+ Entity: Yu,
3060
+ PropModification: Hu,
3061
+ replacePrefix: zu,
3062
+ add: Vu,
3063
+ remove: Wu
3064
3064
  } = Hn;
3065
3065
  class si extends Hn {
3066
3066
  constructor() {
@@ -3071,7 +3071,7 @@ class si extends Hn {
3071
3071
  });
3072
3072
  }
3073
3073
  }
3074
- const zn = new si(), ai = (r, i = !1) => zn.rows.where({ key: r }).first().then((u) => i ? u : u == null ? void 0 : u.value), xs = async (r, i) => await ai(r, !0) ? zn.rows.where({ key: r }).modify({ value: i }) : zn.rows.add({ key: r, value: i }), Wu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3074
+ const zn = new si(), ai = (r, i = !1) => zn.rows.where({ key: r }).first().then((u) => i ? u : u == null ? void 0 : u.value), xs = async (r, i) => await ai(r, !0) ? zn.rows.where({ key: r }).modify({ value: i }) : zn.rows.add({ key: r, value: i }), Ju = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3075
3075
  __proto__: null,
3076
3076
  SubDexie: si,
3077
3077
  db: zn,
@@ -3081,10 +3081,10 @@ const zn = new si(), ai = (r, i = !1) => zn.rows.where({ key: r }).first().then(
3081
3081
  var Fn = { exports: {} }, Ss = Fn.exports, qo;
3082
3082
  function Os() {
3083
3083
  return qo || (qo = 1, function(r, i) {
3084
- (function(u, a) {
3085
- r.exports = a();
3084
+ (function(u, s) {
3085
+ r.exports = s();
3086
3086
  })(Ss, function() {
3087
- var u = 1e3, a = 6e4, l = 36e5, d = "millisecond", h = "second", x = "minute", P = "hour", C = "day", $ = "week", M = "month", ae = "quarter", ue = "year", N = "date", j = "Invalid Date", E = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, J = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, re = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(Q) {
3087
+ var u = 1e3, s = 6e4, l = 36e5, d = "millisecond", h = "second", x = "minute", P = "hour", C = "day", $ = "week", M = "month", ae = "quarter", ue = "year", N = "date", j = "Invalid Date", E = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, J = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, re = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(Q) {
3088
3088
  var H = ["th", "st", "nd", "rd"], I = Q % 100;
3089
3089
  return "[" + Q + (H[(I - 20) % 10] || H[I] || H[0]) + "]";
3090
3090
  } }, G = function(Q, H, I) {
@@ -3219,7 +3219,7 @@ function Os() {
3219
3219
  if (se === ue) return this.set(ue, this.$y + I);
3220
3220
  if (se === C) return de(1);
3221
3221
  if (se === $) return de(7);
3222
- var Ee = (L = {}, L[x] = a, L[P] = l, L[h] = u, L)[se] || 1, Oe = this.$d.getTime() + I * Ee;
3222
+ var Ee = (L = {}, L[x] = s, L[P] = l, L[h] = u, L)[se] || 1, Oe = this.$d.getTime() + I * Ee;
3223
3223
  return ne.w(Oe, this);
3224
3224
  }, H.subtract = function(I, ee) {
3225
3225
  return this.add(-1 * I, ee);
@@ -3292,7 +3292,7 @@ function Os() {
3292
3292
  }, H.utcOffset = function() {
3293
3293
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
3294
3294
  }, H.diff = function(I, ee, L) {
3295
- var ie, se = this, de = ne.p(ee), Ee = le(I), Oe = (Ee.utcOffset() - this.utcOffset()) * a, Re = this - Ee, Ce = function() {
3295
+ var ie, se = this, de = ne.p(ee), Ee = le(I), Oe = (Ee.utcOffset() - this.utcOffset()) * s, Re = this - Ee, Ce = function() {
3296
3296
  return ne.m(se, Ee);
3297
3297
  };
3298
3298
  switch (de) {
@@ -3315,7 +3315,7 @@ function Os() {
3315
3315
  ie = Re / l;
3316
3316
  break;
3317
3317
  case x:
3318
- ie = Re / a;
3318
+ ie = Re / s;
3319
3319
  break;
3320
3320
  case h:
3321
3321
  ie = Re / u;
@@ -3361,10 +3361,10 @@ const Jn = /* @__PURE__ */ Ct(Es);
3361
3361
  var Bn = { exports: {} }, ks = Bn.exports, Fo;
3362
3362
  function Ts() {
3363
3363
  return Fo || (Fo = 1, function(r, i) {
3364
- (function(u, a) {
3365
- r.exports = a();
3364
+ (function(u, s) {
3365
+ r.exports = s();
3366
3366
  })(ks, function() {
3367
- var u = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, a = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, l = /\d/, d = /\d\d/, h = /\d\d?/, x = /\d*[^-_:/,()\s\d]+/, P = {}, C = function(E) {
3367
+ var u = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, s = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, l = /\d/, d = /\d\d/, h = /\d\d?/, x = /\d*[^-_:/,()\s\d]+/, P = {}, C = function(E) {
3368
3368
  return (E = +E) + (E > 68 ? 1900 : 2e3);
3369
3369
  }, $ = function(E) {
3370
3370
  return function(J) {
@@ -3424,7 +3424,7 @@ function Ts() {
3424
3424
  return ne || re[be] || u[be] || re[we].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(Q, H, I) {
3425
3425
  return H || I.slice(1);
3426
3426
  });
3427
- })).match(a), _e = G.length, fe = 0; fe < _e; fe += 1) {
3427
+ })).match(s), _e = G.length, fe = 0; fe < _e; fe += 1) {
3428
3428
  var te = G[fe], U = N[te], K = U && U[0], ce = U && U[1];
3429
3429
  G[fe] = ce ? { regex: K, parser: ce } : te.replace(/^\[|\]$/g, "");
3430
3430
  }
@@ -3486,15 +3486,15 @@ const As = /* @__PURE__ */ Ct(Rs);
3486
3486
  var Kn = { exports: {} }, Ps = Kn.exports, Bo;
3487
3487
  function Ds() {
3488
3488
  return Bo || (Bo = 1, function(r, i) {
3489
- (function(u, a) {
3490
- r.exports = a();
3489
+ (function(u, s) {
3490
+ r.exports = s();
3491
3491
  })(Ps, function() {
3492
- var u, a, l = 1e3, d = 6e4, h = 36e5, x = 864e5, P = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, C = 31536e6, $ = 2628e6, M = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, ae = { years: C, months: $, days: x, hours: h, minutes: d, seconds: l, milliseconds: 1, weeks: 6048e5 }, ue = function(te) {
3492
+ var u, s, l = 1e3, d = 6e4, h = 36e5, x = 864e5, P = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, C = 31536e6, $ = 2628e6, M = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, ae = { years: C, months: $, days: x, hours: h, minutes: d, seconds: l, milliseconds: 1, weeks: 6048e5 }, ue = function(te) {
3493
3493
  return te instanceof _e;
3494
3494
  }, N = function(te, U, K) {
3495
3495
  return new _e(te, K, U.$l);
3496
3496
  }, j = function(te) {
3497
- return a.p(te) + "s";
3497
+ return s.p(te) + "s";
3498
3498
  }, E = function(te) {
3499
3499
  return te < 0;
3500
3500
  }, J = function(te) {
@@ -3541,7 +3541,7 @@ function Ds() {
3541
3541
  }, U.toJSON = function() {
3542
3542
  return this.toISOString();
3543
3543
  }, U.format = function(K) {
3544
- var ce = K || "YYYY-MM-DDTHH:mm:ss", le = { Y: this.$d.years, YY: a.s(this.$d.years, 2, "0"), YYYY: a.s(this.$d.years, 4, "0"), M: this.$d.months, MM: a.s(this.$d.months, 2, "0"), D: this.$d.days, DD: a.s(this.$d.days, 2, "0"), H: this.$d.hours, HH: a.s(this.$d.hours, 2, "0"), m: this.$d.minutes, mm: a.s(this.$d.minutes, 2, "0"), s: this.$d.seconds, ss: a.s(this.$d.seconds, 2, "0"), SSS: a.s(this.$d.milliseconds, 3, "0") };
3544
+ var ce = K || "YYYY-MM-DDTHH:mm:ss", le = { Y: this.$d.years, YY: s.s(this.$d.years, 2, "0"), YYYY: s.s(this.$d.years, 4, "0"), M: this.$d.months, MM: s.s(this.$d.months, 2, "0"), D: this.$d.days, DD: s.s(this.$d.days, 2, "0"), H: this.$d.hours, HH: s.s(this.$d.hours, 2, "0"), m: this.$d.minutes, mm: s.s(this.$d.minutes, 2, "0"), s: this.$d.seconds, ss: s.s(this.$d.seconds, 2, "0"), SSS: s.s(this.$d.milliseconds, 3, "0") };
3545
3545
  return ce.replace(P, function(ne, be) {
3546
3546
  return be || String(le[ne]);
3547
3547
  });
@@ -3601,7 +3601,7 @@ function Ds() {
3601
3601
  return te.add(U.years() * K, "y").add(U.months() * K, "M").add(U.days() * K, "d").add(U.hours() * K, "h").add(U.minutes() * K, "m").add(U.seconds() * K, "s").add(U.milliseconds() * K, "ms");
3602
3602
  };
3603
3603
  return function(te, U, K) {
3604
- u = K, a = K().$utils(), K.duration = function(ne, be) {
3604
+ u = K, s = K().$utils(), K.duration = function(ne, be) {
3605
3605
  var we = K.locale();
3606
3606
  return N(ne, { $l: we }, be);
3607
3607
  }, K.isDuration = ue;
@@ -3620,10 +3620,10 @@ const Cs = /* @__PURE__ */ Ct($s);
3620
3620
  var In = { exports: {} }, js = In.exports, Ko;
3621
3621
  function Ms() {
3622
3622
  return Ko || (Ko = 1, function(r, i) {
3623
- (function(u, a) {
3624
- r.exports = a();
3623
+ (function(u, s) {
3624
+ r.exports = s();
3625
3625
  })(js, function() {
3626
- var u = "minute", a = /[+-]\d\d(?::?\d\d)?/g, l = /([+-]|\d\d)/g;
3626
+ var u = "minute", s = /[+-]\d\d(?::?\d\d)?/g, l = /([+-]|\d\d)/g;
3627
3627
  return function(d, h, x) {
3628
3628
  var P = h.prototype;
3629
3629
  x.utc = function(j) {
@@ -3652,7 +3652,7 @@ function Ms() {
3652
3652
  if (J(j)) return this.$u ? 0 : J(this.$offset) ? M.call(this) : this.$offset;
3653
3653
  if (typeof j == "string" && (j = function(fe) {
3654
3654
  fe === void 0 && (fe = "");
3655
- var te = fe.match(a);
3655
+ var te = fe.match(s);
3656
3656
  if (!te) return null;
3657
3657
  var U = ("" + te[0]).match(l) || ["-", 0, 0], K = U[0], ce = 60 * +U[1] + +U[2];
3658
3658
  return ce === 0 ? 0 : K === "+" ? ce : -ce;
@@ -3706,7 +3706,7 @@ const Fs = {
3706
3706
  MONTH: "YYYY-MM",
3707
3707
  HOUR: "YYYY-MM-DD HH",
3708
3708
  MINUTE: "YYYY-MM-DD HH:mm"
3709
- }, Ju = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3709
+ }, Gu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3710
3710
  __proto__: null,
3711
3711
  FORMAT: Fs,
3712
3712
  dayjs: Jn
@@ -3715,14 +3715,14 @@ var Cn = {}, jn = {}, Br, Io;
3715
3715
  function ui() {
3716
3716
  if (Io) return Br;
3717
3717
  Io = 1, Br = r;
3718
- function r(u, a) {
3719
- if (a !== "$")
3720
- for (var l = i(a), d = 0; d < l.length; d++)
3721
- a = l[d].toString().replace(/\\"/g, '"'), !(typeof u[a] > "u" && d !== l.length - 1) && (u = u[a]);
3718
+ function r(u, s) {
3719
+ if (s !== "$")
3720
+ for (var l = i(s), d = 0; d < l.length; d++)
3721
+ s = l[d].toString().replace(/\\"/g, '"'), !(typeof u[s] > "u" && d !== l.length - 1) && (u = u[s]);
3722
3722
  return u;
3723
3723
  }
3724
3724
  function i(u) {
3725
- for (var a = /(?:\.(\w+))|(?:\[(\d+)\])|(?:\["((?:[^\\"]|\\.)*)"\])/g, l = [], d; d = a.exec(u); )
3725
+ for (var s = /(?:\.(\w+))|(?:\[(\d+)\])|(?:\["((?:[^\\"]|\\.)*)"\])/g, l = [], d; d = s.exec(u); )
3726
3726
  l.push(d[1] || d[2] || d[3]);
3727
3727
  return l;
3728
3728
  }
@@ -3733,19 +3733,19 @@ function Bs() {
3733
3733
  if (Lo) return Zt;
3734
3734
  Lo = 1;
3735
3735
  var r = ui(), i = ci();
3736
- return Zt.getRegexFlags = function(a) {
3736
+ return Zt.getRegexFlags = function(s) {
3737
3737
  var l = "";
3738
- return a.ignoreCase && (l += "i"), a.global && (l += "g"), a.multiline && (l += "m"), l;
3739
- }, Zt.stringifyFunction = function(a, l) {
3738
+ return s.ignoreCase && (l += "i"), s.global && (l += "g"), s.multiline && (l += "m"), l;
3739
+ }, Zt.stringifyFunction = function(s, l) {
3740
3740
  if (typeof l == "function")
3741
- return l(a);
3742
- var d = a.toString(), h = d.match(/^[^{]*{|^[^=]*=>/), x = h ? h[0] : "<function> ", P = d[d.length - 1] === "}" ? "}" : "";
3741
+ return l(s);
3742
+ var d = s.toString(), h = d.match(/^[^{]*{|^[^=]*=>/), x = h ? h[0] : "<function> ", P = d[d.length - 1] === "}" ? "}" : "";
3743
3743
  return x.replace(/\r\n|\n/g, " ").replace(/\s+/g, " ") + " /* ... */ " + P;
3744
- }, Zt.restore = function(a, l) {
3745
- var d = a[0], h = a.slice(1);
3744
+ }, Zt.restore = function(s, l) {
3745
+ var d = s[0], h = s.slice(1);
3746
3746
  switch (d) {
3747
3747
  case "$":
3748
- return r(l, a);
3748
+ return r(l, s);
3749
3749
  case "r":
3750
3750
  var x = h.indexOf(","), P = h.slice(0, x), C = h.slice(x + 1);
3751
3751
  return RegExp(C, P);
@@ -3778,7 +3778,7 @@ function Bs() {
3778
3778
  case "y":
3779
3779
  return -1 / 0;
3780
3780
  default:
3781
- return console.warn("unknown type", a), a;
3781
+ return console.warn("unknown type", s), s;
3782
3782
  }
3783
3783
  }, Zt;
3784
3784
  }
@@ -3787,19 +3787,19 @@ function Ks() {
3787
3787
  if (Uo) return jn;
3788
3788
  Uo = 1, ui();
3789
3789
  var r = Bs(), i = typeof WeakMap < "u" ? WeakMap : function() {
3790
- var u = [], a = [];
3790
+ var u = [], s = [];
3791
3791
  return {
3792
3792
  set: function(l, d) {
3793
- u.push(l), a.push(d);
3793
+ u.push(l), s.push(d);
3794
3794
  },
3795
3795
  get: function(l) {
3796
3796
  for (var d = 0; d < u.length; d++)
3797
3797
  if (u[d] === l)
3798
- return a[d];
3798
+ return s[d];
3799
3799
  }
3800
3800
  };
3801
3801
  };
3802
- return jn.decycle = function u(a, l, d, h) {
3802
+ return jn.decycle = function u(s, l, d, h) {
3803
3803
  h = h || new i();
3804
3804
  var x = !Object.prototype.hasOwnProperty.call(l, "circular"), P = l.refs !== !1;
3805
3805
  return function C($, M, ae) {
@@ -3862,22 +3862,22 @@ function Ks() {
3862
3862
  return j;
3863
3863
  }
3864
3864
  return E;
3865
- }(a, "$");
3866
- }, jn.retrocycle = function(a) {
3865
+ }(s, "$");
3866
+ }, jn.retrocycle = function(s) {
3867
3867
  return function l(d) {
3868
3868
  var h, x, P;
3869
3869
  if (d && typeof d == "object")
3870
3870
  if (Object.prototype.toString.apply(d) === "[object Array]")
3871
3871
  for (h = 0; h < d.length; h += 1)
3872
- x = d[h], x && typeof x == "object" && (x.$jsan ? d[h] = r.restore(x.$jsan, a) : l(x));
3872
+ x = d[h], x && typeof x == "object" && (x.$jsan ? d[h] = r.restore(x.$jsan, s) : l(x));
3873
3873
  else
3874
3874
  for (P in d) {
3875
3875
  if (typeof d[P] == "string" && P === "$jsan")
3876
- return r.restore(d.$jsan, a);
3877
- P === "$jsan" && (d[P] = d[P][0]), typeof d[P] == "object" && (x = d[P], x && typeof x == "object" && (x.$jsan ? d[P] = r.restore(x.$jsan, a) : l(x)));
3876
+ return r.restore(d.$jsan, s);
3877
+ P === "$jsan" && (d[P] = d[P][0]), typeof d[P] == "object" && (x = d[P], x && typeof x == "object" && (x.$jsan ? d[P] = r.restore(x.$jsan, s) : l(x)));
3878
3878
  }
3879
3879
  return d;
3880
- }(a);
3880
+ }(s);
3881
3881
  }, jn;
3882
3882
  }
3883
3883
  var Yo;
@@ -3885,7 +3885,7 @@ function ci() {
3885
3885
  if (Yo) return Cn;
3886
3886
  Yo = 1;
3887
3887
  var r = Ks();
3888
- return Cn.stringify = function(u, a, l, d) {
3888
+ return Cn.stringify = function(u, s, l, d) {
3889
3889
  if (arguments.length < 4)
3890
3890
  try {
3891
3891
  return arguments.length === 1 ? JSON.stringify(u) : JSON.stringify.apply(JSON, arguments);
@@ -3904,11 +3904,11 @@ function ci() {
3904
3904
  nan: h,
3905
3905
  infinity: h
3906
3906
  });
3907
- var x = r.decycle(u, h, a);
3908
- return arguments.length === 1 ? JSON.stringify(x) : JSON.stringify(x, Array.isArray(a) ? a : null, l);
3909
- }, Cn.parse = function(u, a) {
3907
+ var x = r.decycle(u, h, s);
3908
+ return arguments.length === 1 ? JSON.stringify(x) : JSON.stringify(x, Array.isArray(s) ? s : null, l);
3909
+ }, Cn.parse = function(u, s) {
3910
3910
  var l = /"\$jsan"/.test(u), d;
3911
- return arguments.length === 1 ? d = JSON.parse(u) : d = JSON.parse(u, a), l && (d = r.retrocycle(d)), d;
3911
+ return arguments.length === 1 ? d = JSON.parse(u) : d = JSON.parse(u, s), l && (d = r.retrocycle(d)), d;
3912
3912
  }, Cn;
3913
3913
  }
3914
3914
  var Kr, Ho;
@@ -3916,7 +3916,7 @@ function Is() {
3916
3916
  return Ho || (Ho = 1, Kr = ci()), Kr;
3917
3917
  }
3918
3918
  var Ls = Is();
3919
- const li = /* @__PURE__ */ Ct(Ls), Xr = (r = null, i, u, a = !0) => li.stringify(r, i, u, a), fi = (r, i) => li.parse(r, i), Gu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3919
+ const li = /* @__PURE__ */ Ct(Ls), Xr = (r = null, i, u, s = !0) => li.stringify(r, i, u, s), fi = (r, i) => li.parse(r, i), Xu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3920
3920
  __proto__: null,
3921
3921
  parse: fi,
3922
3922
  stringify: Xr
@@ -3929,7 +3929,7 @@ const li = /* @__PURE__ */ Ct(Ls), Xr = (r = null, i, u, a = !0) => li.stringify
3929
3929
  }, Hs = () => {
3930
3930
  const r = Date.now(), i = Math.floor(Math.random() * 1e6), u = `${r}${i}`;
3931
3931
  return parseInt(u).toString(32);
3932
- }, Xu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3932
+ }, Qu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3933
3933
  __proto__: null,
3934
3934
  SHA256: Us,
3935
3935
  id: Hs,
@@ -3965,56 +3965,56 @@ const Js = Xn("string"), We = Xn("function"), pi = Xn("number"), Qn = (r) => r !
3965
3965
  function nn(r, i, { allOwnKeys: u = !1 } = {}) {
3966
3966
  if (r === null || typeof r > "u")
3967
3967
  return;
3968
- let a, l;
3968
+ let s, l;
3969
3969
  if (typeof r != "object" && (r = [r]), jt(r))
3970
- for (a = 0, l = r.length; a < l; a++)
3971
- i.call(null, r[a], a, r);
3970
+ for (s = 0, l = r.length; s < l; s++)
3971
+ i.call(null, r[s], s, r);
3972
3972
  else {
3973
3973
  const d = u ? Object.getOwnPropertyNames(r) : Object.keys(r), h = d.length;
3974
3974
  let x;
3975
- for (a = 0; a < h; a++)
3976
- x = d[a], i.call(null, r[x], x, r);
3975
+ for (s = 0; s < h; s++)
3976
+ x = d[s], i.call(null, r[x], x, r);
3977
3977
  }
3978
3978
  }
3979
3979
  function mi(r, i) {
3980
3980
  i = i.toLowerCase();
3981
3981
  const u = Object.keys(r);
3982
- let a = u.length, l;
3983
- for (; a-- > 0; )
3984
- if (l = u[a], i === l.toLowerCase())
3982
+ let s = u.length, l;
3983
+ for (; s-- > 0; )
3984
+ if (l = u[s], i === l.toLowerCase())
3985
3985
  return l;
3986
3986
  return null;
3987
3987
  }
3988
3988
  const xt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, yi = (r) => !tn(r) && r !== xt;
3989
3989
  function Hr() {
3990
- const { caseless: r } = yi(this) && this || {}, i = {}, u = (a, l) => {
3990
+ const { caseless: r } = yi(this) && this || {}, i = {}, u = (s, l) => {
3991
3991
  const d = r && mi(i, l) || l;
3992
- Ln(i[d]) && Ln(a) ? i[d] = Hr(i[d], a) : Ln(a) ? i[d] = Hr({}, a) : jt(a) ? i[d] = a.slice() : i[d] = a;
3992
+ Ln(i[d]) && Ln(s) ? i[d] = Hr(i[d], s) : Ln(s) ? i[d] = Hr({}, s) : jt(s) ? i[d] = s.slice() : i[d] = s;
3993
3993
  };
3994
- for (let a = 0, l = arguments.length; a < l; a++)
3995
- arguments[a] && nn(arguments[a], u);
3994
+ for (let s = 0, l = arguments.length; s < l; s++)
3995
+ arguments[s] && nn(arguments[s], u);
3996
3996
  return i;
3997
3997
  }
3998
- const ca = (r, i, u, { allOwnKeys: a } = {}) => (nn(i, (l, d) => {
3998
+ const ca = (r, i, u, { allOwnKeys: s } = {}) => (nn(i, (l, d) => {
3999
3999
  u && We(l) ? r[d] = di(l, u) : r[d] = l;
4000
- }, { allOwnKeys: a }), r), la = (r) => (r.charCodeAt(0) === 65279 && (r = r.slice(1)), r), fa = (r, i, u, a) => {
4001
- r.prototype = Object.create(i.prototype, a), r.prototype.constructor = r, Object.defineProperty(r, "super", {
4000
+ }, { allOwnKeys: s }), r), la = (r) => (r.charCodeAt(0) === 65279 && (r = r.slice(1)), r), fa = (r, i, u, s) => {
4001
+ r.prototype = Object.create(i.prototype, s), r.prototype.constructor = r, Object.defineProperty(r, "super", {
4002
4002
  value: i.prototype
4003
4003
  }), u && Object.assign(r.prototype, u);
4004
- }, da = (r, i, u, a) => {
4004
+ }, da = (r, i, u, s) => {
4005
4005
  let l, d, h;
4006
4006
  const x = {};
4007
4007
  if (i = i || {}, r == null) return i;
4008
4008
  do {
4009
4009
  for (l = Object.getOwnPropertyNames(r), d = l.length; d-- > 0; )
4010
- h = l[d], (!a || a(h, r, i)) && !x[h] && (i[h] = r[h], x[h] = !0);
4010
+ h = l[d], (!s || s(h, r, i)) && !x[h] && (i[h] = r[h], x[h] = !0);
4011
4011
  r = u !== !1 && Qr(r);
4012
4012
  } while (r && (!u || u(r, i)) && r !== Object.prototype);
4013
4013
  return i;
4014
4014
  }, ha = (r, i, u) => {
4015
4015
  r = String(r), (u === void 0 || u > r.length) && (u = r.length), u -= i.length;
4016
- const a = r.indexOf(i, u);
4017
- return a !== -1 && a === u;
4016
+ const s = r.indexOf(i, u);
4017
+ return s !== -1 && s === u;
4018
4018
  }, pa = (r) => {
4019
4019
  if (!r) return null;
4020
4020
  if (jt(r)) return r;
@@ -4025,35 +4025,35 @@ const ca = (r, i, u, { allOwnKeys: a } = {}) => (nn(i, (l, d) => {
4025
4025
  u[i] = r[i];
4026
4026
  return u;
4027
4027
  }, ma = /* @__PURE__ */ ((r) => (i) => r && i instanceof r)(typeof Uint8Array < "u" && Qr(Uint8Array)), ya = (r, i) => {
4028
- const a = (r && r[Symbol.iterator]).call(r);
4028
+ const s = (r && r[Symbol.iterator]).call(r);
4029
4029
  let l;
4030
- for (; (l = a.next()) && !l.done; ) {
4030
+ for (; (l = s.next()) && !l.done; ) {
4031
4031
  const d = l.value;
4032
4032
  i.call(r, d[0], d[1]);
4033
4033
  }
4034
4034
  }, va = (r, i) => {
4035
4035
  let u;
4036
- const a = [];
4036
+ const s = [];
4037
4037
  for (; (u = r.exec(i)) !== null; )
4038
- a.push(u);
4039
- return a;
4038
+ s.push(u);
4039
+ return s;
4040
4040
  }, ga = Xe("HTMLFormElement"), ba = (r) => r.toLowerCase().replace(
4041
4041
  /[-_\s]([a-z\d])(\w*)/g,
4042
- function(u, a, l) {
4043
- return a.toUpperCase() + l;
4042
+ function(u, s, l) {
4043
+ return s.toUpperCase() + l;
4044
4044
  }
4045
4045
  ), zo = (({ hasOwnProperty: r }) => (i, u) => r.call(i, u))(Object.prototype), wa = Xe("RegExp"), vi = (r, i) => {
4046
- const u = Object.getOwnPropertyDescriptors(r), a = {};
4046
+ const u = Object.getOwnPropertyDescriptors(r), s = {};
4047
4047
  nn(u, (l, d) => {
4048
4048
  let h;
4049
- (h = i(l, d, r)) !== !1 && (a[d] = h || l);
4050
- }), Object.defineProperties(r, a);
4049
+ (h = i(l, d, r)) !== !1 && (s[d] = h || l);
4050
+ }), Object.defineProperties(r, s);
4051
4051
  }, _a = (r) => {
4052
4052
  vi(r, (i, u) => {
4053
4053
  if (We(r) && ["arguments", "caller", "callee"].indexOf(u) !== -1)
4054
4054
  return !1;
4055
- const a = r[u];
4056
- if (We(a)) {
4055
+ const s = r[u];
4056
+ if (We(s)) {
4057
4057
  if (i.enumerable = !1, "writable" in i) {
4058
4058
  i.writable = !1;
4059
4059
  return;
@@ -4064,38 +4064,38 @@ const ca = (r, i, u, { allOwnKeys: a } = {}) => (nn(i, (l, d) => {
4064
4064
  }
4065
4065
  });
4066
4066
  }, xa = (r, i) => {
4067
- const u = {}, a = (l) => {
4067
+ const u = {}, s = (l) => {
4068
4068
  l.forEach((d) => {
4069
4069
  u[d] = !0;
4070
4070
  });
4071
4071
  };
4072
- return jt(r) ? a(r) : a(String(r).split(i)), u;
4072
+ return jt(r) ? s(r) : s(String(r).split(i)), u;
4073
4073
  }, Sa = () => {
4074
4074
  }, Oa = (r, i) => r != null && Number.isFinite(r = +r) ? r : i;
4075
4075
  function Ea(r) {
4076
4076
  return !!(r && We(r.append) && r[Symbol.toStringTag] === "FormData" && r[Symbol.iterator]);
4077
4077
  }
4078
4078
  const ka = (r) => {
4079
- const i = new Array(10), u = (a, l) => {
4080
- if (Qn(a)) {
4081
- if (i.indexOf(a) >= 0)
4079
+ const i = new Array(10), u = (s, l) => {
4080
+ if (Qn(s)) {
4081
+ if (i.indexOf(s) >= 0)
4082
4082
  return;
4083
- if (!("toJSON" in a)) {
4084
- i[l] = a;
4085
- const d = jt(a) ? [] : {};
4086
- return nn(a, (h, x) => {
4083
+ if (!("toJSON" in s)) {
4084
+ i[l] = s;
4085
+ const d = jt(s) ? [] : {};
4086
+ return nn(s, (h, x) => {
4087
4087
  const P = u(h, l + 1);
4088
4088
  !tn(P) && (d[x] = P);
4089
4089
  }), i[l] = void 0, d;
4090
4090
  }
4091
4091
  }
4092
- return a;
4092
+ return s;
4093
4093
  };
4094
4094
  return u(r, 0);
4095
- }, Ta = Xe("AsyncFunction"), Ra = (r) => r && (Qn(r) || We(r)) && We(r.then) && We(r.catch), gi = ((r, i) => r ? setImmediate : i ? ((u, a) => (xt.addEventListener("message", ({ source: l, data: d }) => {
4096
- l === xt && d === u && a.length && a.shift()();
4095
+ }, Ta = Xe("AsyncFunction"), Ra = (r) => r && (Qn(r) || We(r)) && We(r.then) && We(r.catch), gi = ((r, i) => r ? setImmediate : i ? ((u, s) => (xt.addEventListener("message", ({ source: l, data: d }) => {
4096
+ l === xt && d === u && s.length && s.shift()();
4097
4097
  }, !1), (l) => {
4098
- a.push(l), xt.postMessage(u, "*");
4098
+ s.push(l), xt.postMessage(u, "*");
4099
4099
  }))(`axios@${Math.random()}`, []) : (u) => setTimeout(u))(
4100
4100
  typeof setImmediate == "function",
4101
4101
  We(xt.postMessage)
@@ -4157,8 +4157,8 @@ const ka = (r) => {
4157
4157
  setImmediate: gi,
4158
4158
  asap: Aa
4159
4159
  };
4160
- function me(r, i, u, a, l) {
4161
- Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = r, this.name = "AxiosError", i && (this.code = i), u && (this.config = u), a && (this.request = a), l && (this.response = l, this.status = l.status ? l.status : null);
4160
+ function me(r, i, u, s, l) {
4161
+ Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = r, this.name = "AxiosError", i && (this.code = i), u && (this.config = u), s && (this.request = s), l && (this.response = l, this.status = l.status ? l.status : null);
4162
4162
  }
4163
4163
  A.inherits(me, Error, {
4164
4164
  toJSON: function() {
@@ -4201,11 +4201,11 @@ const bi = me.prototype, wi = {};
4201
4201
  });
4202
4202
  Object.defineProperties(me, wi);
4203
4203
  Object.defineProperty(bi, "isAxiosError", { value: !0 });
4204
- me.from = (r, i, u, a, l, d) => {
4204
+ me.from = (r, i, u, s, l, d) => {
4205
4205
  const h = Object.create(bi);
4206
4206
  return A.toFlatObject(r, h, function(P) {
4207
4207
  return P !== Error.prototype;
4208
- }, (x) => x !== "isAxiosError"), me.call(h, r.message, i, u, a, l), h.cause = r, h.name = r.name, d && Object.assign(h, d), h;
4208
+ }, (x) => x !== "isAxiosError"), me.call(h, r.message, i, u, s, l), h.cause = r, h.name = r.name, d && Object.assign(h, d), h;
4209
4209
  };
4210
4210
  const Pa = null;
4211
4211
  function zr(r) {
@@ -4235,7 +4235,7 @@ function Zn(r, i, u) {
4235
4235
  }, !1, function(j, E) {
4236
4236
  return !A.isUndefined(E[j]);
4237
4237
  });
4238
- const a = u.metaTokens, l = u.visitor || $, d = u.dots, h = u.indexes, P = (u.Blob || typeof Blob < "u" && Blob) && A.isSpecCompliantForm(i);
4238
+ const s = u.metaTokens, l = u.visitor || $, d = u.dots, h = u.indexes, P = (u.Blob || typeof Blob < "u" && Blob) && A.isSpecCompliantForm(i);
4239
4239
  if (!A.isFunction(l))
4240
4240
  throw new TypeError("visitor must be a function");
4241
4241
  function C(N) {
@@ -4250,7 +4250,7 @@ function Zn(r, i, u) {
4250
4250
  let J = N;
4251
4251
  if (N && !E && typeof N == "object") {
4252
4252
  if (A.endsWith(j, "{}"))
4253
- j = a ? j : j.slice(0, -2), N = JSON.stringify(N);
4253
+ j = s ? j : j.slice(0, -2), N = JSON.stringify(N);
4254
4254
  else if (A.isArray(N) && Da(N) || (A.isFileList(N) || A.endsWith(j, "[]")) && (J = A.toArray(N)))
4255
4255
  return j = _i(j), J.forEach(function(G, _e) {
4256
4256
  !(A.isUndefined(G) || G === null) && i.append(
@@ -4296,8 +4296,8 @@ function Wo(r) {
4296
4296
  "%20": "+",
4297
4297
  "%00": "\0"
4298
4298
  };
4299
- return encodeURIComponent(r).replace(/[!'()~]|%20|%00/g, function(a) {
4300
- return i[a];
4299
+ return encodeURIComponent(r).replace(/[!'()~]|%20|%00/g, function(s) {
4300
+ return i[s];
4301
4301
  });
4302
4302
  }
4303
4303
  function Zr(r, i) {
@@ -4308,8 +4308,8 @@ xi.append = function(i, u) {
4308
4308
  this._pairs.push([i, u]);
4309
4309
  };
4310
4310
  xi.toString = function(i) {
4311
- const u = i ? function(a) {
4312
- return i.call(this, a, Wo);
4311
+ const u = i ? function(s) {
4312
+ return i.call(this, s, Wo);
4313
4313
  } : Wo;
4314
4314
  return this._pairs.map(function(l) {
4315
4315
  return u(l[0]) + "=" + u(l[1]);
@@ -4321,13 +4321,13 @@ function Ca(r) {
4321
4321
  function Si(r, i, u) {
4322
4322
  if (!i)
4323
4323
  return r;
4324
- const a = u && u.encode || Ca;
4324
+ const s = u && u.encode || Ca;
4325
4325
  A.isFunction(u) && (u = {
4326
4326
  serialize: u
4327
4327
  });
4328
4328
  const l = u && u.serialize;
4329
4329
  let d;
4330
- if (l ? d = l(i, u) : d = A.isURLSearchParams(i) ? i.toString() : new Zr(i, u).toString(a), d) {
4330
+ if (l ? d = l(i, u) : d = A.isURLSearchParams(i) ? i.toString() : new Zr(i, u).toString(s), d) {
4331
4331
  const h = r.indexOf("#");
4332
4332
  h !== -1 && (r = r.slice(0, h)), r += (r.indexOf("?") === -1 ? "?" : "&") + d;
4333
4333
  }
@@ -4345,12 +4345,12 @@ class Jo {
4345
4345
  *
4346
4346
  * @return {Number} An ID used to remove interceptor later
4347
4347
  */
4348
- use(i, u, a) {
4348
+ use(i, u, s) {
4349
4349
  return this.handlers.push({
4350
4350
  fulfilled: i,
4351
4351
  rejected: u,
4352
- synchronous: a ? a.synchronous : !1,
4353
- runWhen: a ? a.runWhen : null
4352
+ synchronous: s ? s.synchronous : !1,
4353
+ runWhen: s ? s.runWhen : null
4354
4354
  }), this.handlers.length - 1;
4355
4355
  }
4356
4356
  /**
@@ -4382,8 +4382,8 @@ class Jo {
4382
4382
  * @returns {void}
4383
4383
  */
4384
4384
  forEach(i) {
4385
- A.forEach(this.handlers, function(a) {
4386
- a !== null && i(a);
4385
+ A.forEach(this.handlers, function(s) {
4386
+ s !== null && i(s);
4387
4387
  });
4388
4388
  }
4389
4389
  }
@@ -4413,8 +4413,8 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Ka
4413
4413
  };
4414
4414
  function La(r, i) {
4415
4415
  return Zn(r, new Ke.classes.URLSearchParams(), Object.assign({
4416
- visitor: function(u, a, l, d) {
4417
- return Ke.isNode && A.isBuffer(u) ? (this.append(a, u.toString("base64")), !1) : d.defaultVisitor.apply(this, arguments);
4416
+ visitor: function(u, s, l, d) {
4417
+ return Ke.isNode && A.isBuffer(u) ? (this.append(s, u.toString("base64")), !1) : d.defaultVisitor.apply(this, arguments);
4418
4418
  }
4419
4419
  }, i));
4420
4420
  }
@@ -4423,24 +4423,24 @@ function Ua(r) {
4423
4423
  }
4424
4424
  function Ya(r) {
4425
4425
  const i = {}, u = Object.keys(r);
4426
- let a;
4426
+ let s;
4427
4427
  const l = u.length;
4428
4428
  let d;
4429
- for (a = 0; a < l; a++)
4430
- d = u[a], i[d] = r[d];
4429
+ for (s = 0; s < l; s++)
4430
+ d = u[s], i[d] = r[d];
4431
4431
  return i;
4432
4432
  }
4433
4433
  function Ei(r) {
4434
- function i(u, a, l, d) {
4434
+ function i(u, s, l, d) {
4435
4435
  let h = u[d++];
4436
4436
  if (h === "__proto__") return !0;
4437
4437
  const x = Number.isFinite(+h), P = d >= u.length;
4438
- return h = !h && A.isArray(l) ? l.length : h, P ? (A.hasOwnProp(l, h) ? l[h] = [l[h], a] : l[h] = a, !x) : ((!l[h] || !A.isObject(l[h])) && (l[h] = []), i(u, a, l[h], d) && A.isArray(l[h]) && (l[h] = Ya(l[h])), !x);
4438
+ return h = !h && A.isArray(l) ? l.length : h, P ? (A.hasOwnProp(l, h) ? l[h] = [l[h], s] : l[h] = s, !x) : ((!l[h] || !A.isObject(l[h])) && (l[h] = []), i(u, s, l[h], d) && A.isArray(l[h]) && (l[h] = Ya(l[h])), !x);
4439
4439
  }
4440
4440
  if (A.isFormData(r) && A.isFunction(r.entries)) {
4441
4441
  const u = {};
4442
- return A.forEachEntry(r, (a, l) => {
4443
- i(Ua(a), l, u, 0);
4442
+ return A.forEachEntry(r, (s, l) => {
4443
+ i(Ua(s), l, u, 0);
4444
4444
  }), u;
4445
4445
  }
4446
4446
  return null;
@@ -4449,9 +4449,9 @@ function Ha(r, i, u) {
4449
4449
  if (A.isString(r))
4450
4450
  try {
4451
4451
  return (i || JSON.parse)(r), A.trim(r);
4452
- } catch (a) {
4453
- if (a.name !== "SyntaxError")
4454
- throw a;
4452
+ } catch (s) {
4453
+ if (s.name !== "SyntaxError")
4454
+ throw s;
4455
4455
  }
4456
4456
  return (u || JSON.stringify)(r);
4457
4457
  }
@@ -4459,7 +4459,7 @@ const rn = {
4459
4459
  transitional: Oi,
4460
4460
  adapter: ["xhr", "http", "fetch"],
4461
4461
  transformRequest: [function(i, u) {
4462
- const a = u.getContentType() || "", l = a.indexOf("application/json") > -1, d = A.isObject(i);
4462
+ const s = u.getContentType() || "", l = s.indexOf("application/json") > -1, d = A.isObject(i);
4463
4463
  if (d && A.isHTMLForm(i) && (i = new FormData(i)), A.isFormData(i))
4464
4464
  return l ? JSON.stringify(Ei(i)) : i;
4465
4465
  if (A.isArrayBuffer(i) || A.isBuffer(i) || A.isStream(i) || A.isFile(i) || A.isBlob(i) || A.isReadableStream(i))
@@ -4470,9 +4470,9 @@ const rn = {
4470
4470
  return u.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), i.toString();
4471
4471
  let x;
4472
4472
  if (d) {
4473
- if (a.indexOf("application/x-www-form-urlencoded") > -1)
4473
+ if (s.indexOf("application/x-www-form-urlencoded") > -1)
4474
4474
  return La(i, this.formSerializer).toString();
4475
- if ((x = A.isFileList(i)) || a.indexOf("multipart/form-data") > -1) {
4475
+ if ((x = A.isFileList(i)) || s.indexOf("multipart/form-data") > -1) {
4476
4476
  const P = this.env && this.env.FormData;
4477
4477
  return Zn(
4478
4478
  x ? { "files[]": i } : i,
@@ -4484,10 +4484,10 @@ const rn = {
4484
4484
  return d || l ? (u.setContentType("application/json", !1), Ha(i)) : i;
4485
4485
  }],
4486
4486
  transformResponse: [function(i) {
4487
- const u = this.transitional || rn.transitional, a = u && u.forcedJSONParsing, l = this.responseType === "json";
4487
+ const u = this.transitional || rn.transitional, s = u && u.forcedJSONParsing, l = this.responseType === "json";
4488
4488
  if (A.isResponse(i) || A.isReadableStream(i))
4489
4489
  return i;
4490
- if (i && A.isString(i) && (a && !this.responseType || l)) {
4490
+ if (i && A.isString(i) && (s && !this.responseType || l)) {
4491
4491
  const h = !(u && u.silentJSONParsing) && l;
4492
4492
  try {
4493
4493
  return JSON.parse(i);
@@ -4544,10 +4544,10 @@ const za = A.toObjectSet([
4544
4544
  "user-agent"
4545
4545
  ]), Va = (r) => {
4546
4546
  const i = {};
4547
- let u, a, l;
4547
+ let u, s, l;
4548
4548
  return r && r.split(`
4549
4549
  `).forEach(function(h) {
4550
- l = h.indexOf(":"), u = h.substring(0, l).trim().toLowerCase(), a = h.substring(l + 1).trim(), !(!u || i[u] && za[u]) && (u === "set-cookie" ? i[u] ? i[u].push(a) : i[u] = [a] : i[u] = i[u] ? i[u] + ", " + a : a);
4550
+ l = h.indexOf(":"), u = h.substring(0, l).trim().toLowerCase(), s = h.substring(l + 1).trim(), !(!u || i[u] && za[u]) && (u === "set-cookie" ? i[u] ? i[u].push(s) : i[u] = [s] : i[u] = i[u] ? i[u] + ", " + s : s);
4551
4551
  }), i;
4552
4552
  }, Go = Symbol("internals");
4553
4553
  function en(r) {
@@ -4558,31 +4558,31 @@ function Un(r) {
4558
4558
  }
4559
4559
  function Wa(r) {
4560
4560
  const i = /* @__PURE__ */ Object.create(null), u = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
4561
- let a;
4562
- for (; a = u.exec(r); )
4563
- i[a[1]] = a[2];
4561
+ let s;
4562
+ for (; s = u.exec(r); )
4563
+ i[s[1]] = s[2];
4564
4564
  return i;
4565
4565
  }
4566
4566
  const Ja = (r) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(r.trim());
4567
- function Ir(r, i, u, a, l) {
4568
- if (A.isFunction(a))
4569
- return a.call(this, i, u);
4567
+ function Ir(r, i, u, s, l) {
4568
+ if (A.isFunction(s))
4569
+ return s.call(this, i, u);
4570
4570
  if (l && (i = u), !!A.isString(i)) {
4571
- if (A.isString(a))
4572
- return i.indexOf(a) !== -1;
4573
- if (A.isRegExp(a))
4574
- return a.test(i);
4571
+ if (A.isString(s))
4572
+ return i.indexOf(s) !== -1;
4573
+ if (A.isRegExp(s))
4574
+ return s.test(i);
4575
4575
  }
4576
4576
  }
4577
4577
  function Ga(r) {
4578
- return r.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (i, u, a) => u.toUpperCase() + a);
4578
+ return r.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (i, u, s) => u.toUpperCase() + s);
4579
4579
  }
4580
4580
  function Xa(r, i) {
4581
4581
  const u = A.toCamelCase(" " + i);
4582
- ["get", "set", "has"].forEach((a) => {
4583
- Object.defineProperty(r, a + u, {
4582
+ ["get", "set", "has"].forEach((s) => {
4583
+ Object.defineProperty(r, s + u, {
4584
4584
  value: function(l, d, h) {
4585
- return this[a].call(this, i, l, d, h);
4585
+ return this[s].call(this, i, l, d, h);
4586
4586
  },
4587
4587
  configurable: !0
4588
4588
  });
@@ -4592,7 +4592,7 @@ let Ye = class {
4592
4592
  constructor(i) {
4593
4593
  i && this.set(i);
4594
4594
  }
4595
- set(i, u, a) {
4595
+ set(i, u, s) {
4596
4596
  const l = this;
4597
4597
  function d(x, P, C) {
4598
4598
  const $ = en(P);
@@ -4608,22 +4608,22 @@ let Ye = class {
4608
4608
  h(Va(i), u);
4609
4609
  else if (A.isHeaders(i))
4610
4610
  for (const [x, P] of i.entries())
4611
- d(P, x, a);
4611
+ d(P, x, s);
4612
4612
  else
4613
- i != null && d(u, i, a);
4613
+ i != null && d(u, i, s);
4614
4614
  return this;
4615
4615
  }
4616
4616
  get(i, u) {
4617
4617
  if (i = en(i), i) {
4618
- const a = A.findKey(this, i);
4619
- if (a) {
4620
- const l = this[a];
4618
+ const s = A.findKey(this, i);
4619
+ if (s) {
4620
+ const l = this[s];
4621
4621
  if (!u)
4622
4622
  return l;
4623
4623
  if (u === !0)
4624
4624
  return Wa(l);
4625
4625
  if (A.isFunction(u))
4626
- return u.call(this, l, a);
4626
+ return u.call(this, l, s);
4627
4627
  if (A.isRegExp(u))
4628
4628
  return u.exec(l);
4629
4629
  throw new TypeError("parser must be boolean|regexp|function");
@@ -4632,41 +4632,41 @@ let Ye = class {
4632
4632
  }
4633
4633
  has(i, u) {
4634
4634
  if (i = en(i), i) {
4635
- const a = A.findKey(this, i);
4636
- return !!(a && this[a] !== void 0 && (!u || Ir(this, this[a], a, u)));
4635
+ const s = A.findKey(this, i);
4636
+ return !!(s && this[s] !== void 0 && (!u || Ir(this, this[s], s, u)));
4637
4637
  }
4638
4638
  return !1;
4639
4639
  }
4640
4640
  delete(i, u) {
4641
- const a = this;
4641
+ const s = this;
4642
4642
  let l = !1;
4643
4643
  function d(h) {
4644
4644
  if (h = en(h), h) {
4645
- const x = A.findKey(a, h);
4646
- x && (!u || Ir(a, a[x], x, u)) && (delete a[x], l = !0);
4645
+ const x = A.findKey(s, h);
4646
+ x && (!u || Ir(s, s[x], x, u)) && (delete s[x], l = !0);
4647
4647
  }
4648
4648
  }
4649
4649
  return A.isArray(i) ? i.forEach(d) : d(i), l;
4650
4650
  }
4651
4651
  clear(i) {
4652
4652
  const u = Object.keys(this);
4653
- let a = u.length, l = !1;
4654
- for (; a--; ) {
4655
- const d = u[a];
4653
+ let s = u.length, l = !1;
4654
+ for (; s--; ) {
4655
+ const d = u[s];
4656
4656
  (!i || Ir(this, this[d], d, i, !0)) && (delete this[d], l = !0);
4657
4657
  }
4658
4658
  return l;
4659
4659
  }
4660
4660
  normalize(i) {
4661
- const u = this, a = {};
4661
+ const u = this, s = {};
4662
4662
  return A.forEach(this, (l, d) => {
4663
- const h = A.findKey(a, d);
4663
+ const h = A.findKey(s, d);
4664
4664
  if (h) {
4665
4665
  u[h] = Un(l), delete u[d];
4666
4666
  return;
4667
4667
  }
4668
4668
  const x = i ? Ga(d) : String(d).trim();
4669
- x !== d && delete u[d], u[x] = Un(l), a[x] = !0;
4669
+ x !== d && delete u[d], u[x] = Un(l), s[x] = !0;
4670
4670
  }), this;
4671
4671
  }
4672
4672
  concat(...i) {
@@ -4674,8 +4674,8 @@ let Ye = class {
4674
4674
  }
4675
4675
  toJSON(i) {
4676
4676
  const u = /* @__PURE__ */ Object.create(null);
4677
- return A.forEach(this, (a, l) => {
4678
- a != null && a !== !1 && (u[l] = i && A.isArray(a) ? a.join(", ") : a);
4677
+ return A.forEach(this, (s, l) => {
4678
+ s != null && s !== !1 && (u[l] = i && A.isArray(s) ? s.join(", ") : s);
4679
4679
  }), u;
4680
4680
  }
4681
4681
  [Symbol.iterator]() {
@@ -4692,16 +4692,16 @@ let Ye = class {
4692
4692
  return i instanceof this ? i : new this(i);
4693
4693
  }
4694
4694
  static concat(i, ...u) {
4695
- const a = new this(i);
4696
- return u.forEach((l) => a.set(l)), a;
4695
+ const s = new this(i);
4696
+ return u.forEach((l) => s.set(l)), s;
4697
4697
  }
4698
4698
  static accessor(i) {
4699
- const a = (this[Go] = this[Go] = {
4699
+ const s = (this[Go] = this[Go] = {
4700
4700
  accessors: {}
4701
4701
  }).accessors, l = this.prototype;
4702
4702
  function d(h) {
4703
4703
  const x = en(h);
4704
- a[x] || (Xa(l, h), a[x] = !0);
4704
+ s[x] || (Xa(l, h), s[x] = !0);
4705
4705
  }
4706
4706
  return A.isArray(i) ? i.forEach(d) : d(i), this;
4707
4707
  }
@@ -4711,15 +4711,15 @@ A.reduceDescriptors(Ye.prototype, ({ value: r }, i) => {
4711
4711
  let u = i[0].toUpperCase() + i.slice(1);
4712
4712
  return {
4713
4713
  get: () => r,
4714
- set(a) {
4715
- this[u] = a;
4714
+ set(s) {
4715
+ this[u] = s;
4716
4716
  }
4717
4717
  };
4718
4718
  });
4719
4719
  A.freezeMethods(Ye);
4720
4720
  function Lr(r, i) {
4721
- const u = this || rn, a = i || u, l = Ye.from(a.headers);
4722
- let d = a.data;
4721
+ const u = this || rn, s = i || u, l = Ye.from(s.headers);
4722
+ let d = s.data;
4723
4723
  return A.forEach(r, function(x) {
4724
4724
  d = x.call(u, d, l.normalize(), i ? i.status : void 0);
4725
4725
  }), l.normalize(), d;
@@ -4734,8 +4734,8 @@ A.inherits(Mt, me, {
4734
4734
  __CANCEL__: !0
4735
4735
  });
4736
4736
  function Ti(r, i, u) {
4737
- const a = u.config.validateStatus;
4738
- !u.status || !a || a(u.status) ? r(u) : i(new me(
4737
+ const s = u.config.validateStatus;
4738
+ !u.status || !s || s(u.status) ? r(u) : i(new me(
4739
4739
  "Request failed with status code " + u.status,
4740
4740
  [me.ERR_BAD_REQUEST, me.ERR_BAD_RESPONSE][Math.floor(u.status / 100) - 4],
4741
4741
  u.config,
@@ -4749,11 +4749,11 @@ function Qa(r) {
4749
4749
  }
4750
4750
  function Za(r, i) {
4751
4751
  r = r || 10;
4752
- const u = new Array(r), a = new Array(r);
4752
+ const u = new Array(r), s = new Array(r);
4753
4753
  let l = 0, d = 0, h;
4754
4754
  return i = i !== void 0 ? i : 1e3, function(P) {
4755
- const C = Date.now(), $ = a[d];
4756
- h || (h = C), u[l] = P, a[l] = C;
4755
+ const C = Date.now(), $ = s[d];
4756
+ h || (h = C), u[l] = P, s[l] = C;
4757
4757
  let M = d, ae = 0;
4758
4758
  for (; M !== l; )
4759
4759
  ae += u[M++], M = M % r;
@@ -4764,23 +4764,23 @@ function Za(r, i) {
4764
4764
  };
4765
4765
  }
4766
4766
  function eu(r, i) {
4767
- let u = 0, a = 1e3 / i, l, d;
4767
+ let u = 0, s = 1e3 / i, l, d;
4768
4768
  const h = (C, $ = Date.now()) => {
4769
4769
  u = $, l = null, d && (clearTimeout(d), d = null), r.apply(null, C);
4770
4770
  };
4771
4771
  return [(...C) => {
4772
4772
  const $ = Date.now(), M = $ - u;
4773
- M >= a ? h(C, $) : (l = C, d || (d = setTimeout(() => {
4773
+ M >= s ? h(C, $) : (l = C, d || (d = setTimeout(() => {
4774
4774
  d = null, h(l);
4775
- }, a - M)));
4775
+ }, s - M)));
4776
4776
  }, () => l && h(l)];
4777
4777
  }
4778
4778
  const Vn = (r, i, u = 3) => {
4779
- let a = 0;
4779
+ let s = 0;
4780
4780
  const l = Za(50, 250);
4781
4781
  return eu((d) => {
4782
- const h = d.loaded, x = d.lengthComputable ? d.total : void 0, P = h - a, C = l(P), $ = h <= x;
4783
- a = h;
4782
+ const h = d.loaded, x = d.lengthComputable ? d.total : void 0, P = h - s, C = l(P), $ = h <= x;
4783
+ s = h;
4784
4784
  const M = {
4785
4785
  loaded: h,
4786
4786
  total: x,
@@ -4796,10 +4796,10 @@ const Vn = (r, i, u = 3) => {
4796
4796
  }, u);
4797
4797
  }, Xo = (r, i) => {
4798
4798
  const u = r != null;
4799
- return [(a) => i[0]({
4799
+ return [(s) => i[0]({
4800
4800
  lengthComputable: u,
4801
4801
  total: r,
4802
- loaded: a
4802
+ loaded: s
4803
4803
  }), i[1]];
4804
4804
  }, Qo = (r) => (...i) => A.asap(() => r(...i)), tu = Ke.hasStandardBrowserEnv ? /* @__PURE__ */ ((r, i) => (u) => (u = new URL(u, Ke.origin), r.protocol === u.protocol && r.host === u.host && (i || r.port === u.port)))(
4805
4805
  new URL(Ke.origin),
@@ -4807,9 +4807,9 @@ const Vn = (r, i, u = 3) => {
4807
4807
  ) : () => !0, nu = Ke.hasStandardBrowserEnv ? (
4808
4808
  // Standard browser envs support document.cookie
4809
4809
  {
4810
- write(r, i, u, a, l, d) {
4810
+ write(r, i, u, s, l, d) {
4811
4811
  const h = [r + "=" + encodeURIComponent(i)];
4812
- A.isNumber(u) && h.push("expires=" + new Date(u).toGMTString()), A.isString(a) && h.push("path=" + a), A.isString(l) && h.push("domain=" + l), d === !0 && h.push("secure"), document.cookie = h.join("; ");
4812
+ A.isNumber(u) && h.push("expires=" + new Date(u).toGMTString()), A.isString(s) && h.push("path=" + s), A.isString(l) && h.push("domain=" + l), d === !0 && h.push("secure"), document.cookie = h.join("; ");
4813
4813
  },
4814
4814
  read(r) {
4815
4815
  const i = document.cookie.match(new RegExp("(^|;\\s*)(" + r + ")=([^;]*)"));
@@ -4838,37 +4838,37 @@ function ou(r, i) {
4838
4838
  return i ? r.replace(/\/?\/$/, "") + "/" + i.replace(/^\/+/, "") : r;
4839
4839
  }
4840
4840
  function Ri(r, i, u) {
4841
- let a = !ru(i);
4842
- return r && (a || u == !1) ? ou(r, i) : i;
4841
+ let s = !ru(i);
4842
+ return r && (s || u == !1) ? ou(r, i) : i;
4843
4843
  }
4844
4844
  const Zo = (r) => r instanceof Ye ? { ...r } : r;
4845
4845
  function Ot(r, i) {
4846
4846
  i = i || {};
4847
4847
  const u = {};
4848
- function a(C, $, M, ae) {
4848
+ function s(C, $, M, ae) {
4849
4849
  return A.isPlainObject(C) && A.isPlainObject($) ? A.merge.call({ caseless: ae }, C, $) : A.isPlainObject($) ? A.merge({}, $) : A.isArray($) ? $.slice() : $;
4850
4850
  }
4851
4851
  function l(C, $, M, ae) {
4852
4852
  if (A.isUndefined($)) {
4853
4853
  if (!A.isUndefined(C))
4854
- return a(void 0, C, M, ae);
4855
- } else return a(C, $, M, ae);
4854
+ return s(void 0, C, M, ae);
4855
+ } else return s(C, $, M, ae);
4856
4856
  }
4857
4857
  function d(C, $) {
4858
4858
  if (!A.isUndefined($))
4859
- return a(void 0, $);
4859
+ return s(void 0, $);
4860
4860
  }
4861
4861
  function h(C, $) {
4862
4862
  if (A.isUndefined($)) {
4863
4863
  if (!A.isUndefined(C))
4864
- return a(void 0, C);
4865
- } else return a(void 0, $);
4864
+ return s(void 0, C);
4865
+ } else return s(void 0, $);
4866
4866
  }
4867
4867
  function x(C, $, M) {
4868
4868
  if (M in i)
4869
- return a(C, $);
4869
+ return s(C, $);
4870
4870
  if (M in r)
4871
- return a(void 0, C);
4871
+ return s(void 0, C);
4872
4872
  }
4873
4873
  const P = {
4874
4874
  url: d,
@@ -4908,7 +4908,7 @@ function Ot(r, i) {
4908
4908
  }
4909
4909
  const Ai = (r) => {
4910
4910
  const i = Ot({}, r);
4911
- let { data: u, withXSRFToken: a, xsrfHeaderName: l, xsrfCookieName: d, headers: h, auth: x } = i;
4911
+ let { data: u, withXSRFToken: s, xsrfHeaderName: l, xsrfCookieName: d, headers: h, auth: x } = i;
4912
4912
  i.headers = h = Ye.from(h), i.url = Si(Ri(i.baseURL, i.url, i.allowAbsoluteUrls), r.params, r.paramsSerializer), x && h.set(
4913
4913
  "Authorization",
4914
4914
  "Basic " + btoa((x.username || "") + ":" + (x.password ? unescape(encodeURIComponent(x.password)) : ""))
@@ -4922,13 +4922,13 @@ const Ai = (r) => {
4922
4922
  h.setContentType([C || "multipart/form-data", ...$].join("; "));
4923
4923
  }
4924
4924
  }
4925
- if (Ke.hasStandardBrowserEnv && (a && A.isFunction(a) && (a = a(i)), a || a !== !1 && tu(i.url))) {
4925
+ if (Ke.hasStandardBrowserEnv && (s && A.isFunction(s) && (s = s(i)), s || s !== !1 && tu(i.url))) {
4926
4926
  const C = l && d && nu.read(d);
4927
4927
  C && h.set(l, C);
4928
4928
  }
4929
4929
  return i;
4930
4930
  }, iu = typeof XMLHttpRequest < "u", su = iu && function(r) {
4931
- return new Promise(function(u, a) {
4931
+ return new Promise(function(u, s) {
4932
4932
  const l = Ai(r);
4933
4933
  let d = l.data;
4934
4934
  const h = Ye.from(l.headers).normalize();
@@ -4954,19 +4954,19 @@ const Ai = (r) => {
4954
4954
  Ti(function(U) {
4955
4955
  u(U), j();
4956
4956
  }, function(U) {
4957
- a(U), j();
4957
+ s(U), j();
4958
4958
  }, fe), E = null;
4959
4959
  }
4960
4960
  "onloadend" in E ? E.onloadend = J : E.onreadystatechange = function() {
4961
4961
  !E || E.readyState !== 4 || E.status === 0 && !(E.responseURL && E.responseURL.indexOf("file:") === 0) || setTimeout(J);
4962
4962
  }, E.onabort = function() {
4963
- E && (a(new me("Request aborted", me.ECONNABORTED, r, E)), E = null);
4963
+ E && (s(new me("Request aborted", me.ECONNABORTED, r, E)), E = null);
4964
4964
  }, E.onerror = function() {
4965
- a(new me("Network Error", me.ERR_NETWORK, r, E)), E = null;
4965
+ s(new me("Network Error", me.ERR_NETWORK, r, E)), E = null;
4966
4966
  }, E.ontimeout = function() {
4967
4967
  let _e = l.timeout ? "timeout of " + l.timeout + "ms exceeded" : "timeout exceeded";
4968
4968
  const fe = l.transitional || Oi;
4969
- l.timeoutErrorMessage && (_e = l.timeoutErrorMessage), a(new me(
4969
+ l.timeoutErrorMessage && (_e = l.timeoutErrorMessage), s(new me(
4970
4970
  _e,
4971
4971
  fe.clarifyTimeoutError ? me.ETIMEDOUT : me.ECONNABORTED,
4972
4972
  r,
@@ -4975,11 +4975,11 @@ const Ai = (r) => {
4975
4975
  }, d === void 0 && h.setContentType(null), "setRequestHeader" in E && A.forEach(h.toJSON(), function(_e, fe) {
4976
4976
  E.setRequestHeader(fe, _e);
4977
4977
  }), A.isUndefined(l.withCredentials) || (E.withCredentials = !!l.withCredentials), x && x !== "json" && (E.responseType = l.responseType), C && ([ae, N] = Vn(C, !0), E.addEventListener("progress", ae)), P && E.upload && ([M, ue] = Vn(P), E.upload.addEventListener("progress", M), E.upload.addEventListener("loadend", ue)), (l.cancelToken || l.signal) && ($ = (G) => {
4978
- E && (a(!G || G.type ? new Mt(null, r, E) : G), E.abort(), E = null);
4978
+ E && (s(!G || G.type ? new Mt(null, r, E) : G), E.abort(), E = null);
4979
4979
  }, l.cancelToken && l.cancelToken.subscribe($), l.signal && (l.signal.aborted ? $() : l.signal.addEventListener("abort", $)));
4980
4980
  const re = Qa(l.url);
4981
4981
  if (re && Ke.protocols.indexOf(re) === -1) {
4982
- a(new me("Unsupported protocol " + re + ":", me.ERR_BAD_REQUEST, r));
4982
+ s(new me("Unsupported protocol " + re + ":", me.ERR_BAD_REQUEST, r));
4983
4983
  return;
4984
4984
  }
4985
4985
  E.send(d || null);
@@ -4987,12 +4987,12 @@ const Ai = (r) => {
4987
4987
  }, au = (r, i) => {
4988
4988
  const { length: u } = r = r ? r.filter(Boolean) : [];
4989
4989
  if (i || u) {
4990
- let a = new AbortController(), l;
4990
+ let s = new AbortController(), l;
4991
4991
  const d = function(C) {
4992
4992
  if (!l) {
4993
4993
  l = !0, x();
4994
4994
  const $ = C instanceof Error ? C : this.reason;
4995
- a.abort($ instanceof me ? $ : new Mt($ instanceof Error ? $.message : $));
4995
+ s.abort($ instanceof me ? $ : new Mt($ instanceof Error ? $.message : $));
4996
4996
  }
4997
4997
  };
4998
4998
  let h = i && setTimeout(() => {
@@ -5004,7 +5004,7 @@ const Ai = (r) => {
5004
5004
  }), r = null);
5005
5005
  };
5006
5006
  r.forEach((C) => C.addEventListener("abort", d));
5007
- const { signal: P } = a;
5007
+ const { signal: P } = s;
5008
5008
  return P.unsubscribe = () => A.asap(x), P;
5009
5009
  }
5010
5010
  }, uu = function* (r, i) {
@@ -5013,9 +5013,9 @@ const Ai = (r) => {
5013
5013
  yield r;
5014
5014
  return;
5015
5015
  }
5016
- let a = 0, l;
5017
- for (; a < u; )
5018
- l = a + i, yield r.slice(a, l), a = l;
5016
+ let s = 0, l;
5017
+ for (; s < u; )
5018
+ l = s + i, yield r.slice(s, l), s = l;
5019
5019
  }, cu = async function* (r, i) {
5020
5020
  for await (const u of lu(r))
5021
5021
  yield* uu(u, i);
@@ -5027,18 +5027,18 @@ const Ai = (r) => {
5027
5027
  const i = r.getReader();
5028
5028
  try {
5029
5029
  for (; ; ) {
5030
- const { done: u, value: a } = await i.read();
5030
+ const { done: u, value: s } = await i.read();
5031
5031
  if (u)
5032
5032
  break;
5033
- yield a;
5033
+ yield s;
5034
5034
  }
5035
5035
  } finally {
5036
5036
  await i.cancel();
5037
5037
  }
5038
- }, ei = (r, i, u, a) => {
5038
+ }, ei = (r, i, u, s) => {
5039
5039
  const l = cu(r, i);
5040
5040
  let d = 0, h, x = (P) => {
5041
- h || (h = !0, a && a(P));
5041
+ h || (h = !0, s && s(P));
5042
5042
  };
5043
5043
  return new ReadableStream({
5044
5044
  async pull(P) {
@@ -5085,8 +5085,8 @@ const Ai = (r) => {
5085
5085
  };
5086
5086
  er && ((r) => {
5087
5087
  ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((i) => {
5088
- !Wn[i] && (Wn[i] = A.isFunction(r[i]) ? (u) => u[i]() : (u, a) => {
5089
- throw new me(`Response type '${i}' is not supported`, me.ERR_NOT_SUPPORT, a);
5088
+ !Wn[i] && (Wn[i] = A.isFunction(r[i]) ? (u) => u[i]() : (u, s) => {
5089
+ throw new me(`Response type '${i}' is not supported`, me.ERR_NOT_SUPPORT, s);
5090
5090
  });
5091
5091
  });
5092
5092
  })(new Response());
@@ -5111,7 +5111,7 @@ const hu = async (r) => {
5111
5111
  let {
5112
5112
  url: i,
5113
5113
  method: u,
5114
- data: a,
5114
+ data: s,
5115
5115
  signal: l,
5116
5116
  cancelToken: d,
5117
5117
  timeout: h,
@@ -5129,18 +5129,18 @@ const hu = async (r) => {
5129
5129
  });
5130
5130
  let E;
5131
5131
  try {
5132
- if (P && du && u !== "get" && u !== "head" && (E = await pu($, a)) !== 0) {
5132
+ if (P && du && u !== "get" && u !== "head" && (E = await pu($, s)) !== 0) {
5133
5133
  let fe = new Request(i, {
5134
5134
  method: "POST",
5135
- body: a,
5135
+ body: s,
5136
5136
  duplex: "half"
5137
5137
  }), te;
5138
- if (A.isFormData(a) && (te = fe.headers.get("content-type")) && $.setContentType(te), fe.body) {
5138
+ if (A.isFormData(s) && (te = fe.headers.get("content-type")) && $.setContentType(te), fe.body) {
5139
5139
  const [U, K] = Xo(
5140
5140
  E,
5141
5141
  Vn(Qo(P))
5142
5142
  );
5143
- a = ei(fe.body, ti, U, K);
5143
+ s = ei(fe.body, ti, U, K);
5144
5144
  }
5145
5145
  }
5146
5146
  A.isString(M) || (M = M ? "include" : "omit");
@@ -5150,7 +5150,7 @@ const hu = async (r) => {
5150
5150
  signal: ue,
5151
5151
  method: u.toUpperCase(),
5152
5152
  headers: $.normalize().toJSON(),
5153
- body: a,
5153
+ body: s,
5154
5154
  duplex: "half",
5155
5155
  credentials: J ? M : void 0
5156
5156
  });
@@ -5210,18 +5210,18 @@ const ni = (r) => `- ${r}`, yu = (r) => A.isFunction(r) || r === null || r === !
5210
5210
  getAdapter: (r) => {
5211
5211
  r = A.isArray(r) ? r : [r];
5212
5212
  const { length: i } = r;
5213
- let u, a;
5213
+ let u, s;
5214
5214
  const l = {};
5215
5215
  for (let d = 0; d < i; d++) {
5216
5216
  u = r[d];
5217
5217
  let h;
5218
- if (a = u, !yu(u) && (a = Jr[(h = String(u)).toLowerCase()], a === void 0))
5218
+ if (s = u, !yu(u) && (s = Jr[(h = String(u)).toLowerCase()], s === void 0))
5219
5219
  throw new me(`Unknown adapter '${h}'`);
5220
- if (a)
5220
+ if (s)
5221
5221
  break;
5222
- l[h || "#" + d] = a;
5222
+ l[h || "#" + d] = s;
5223
5223
  }
5224
- if (!a) {
5224
+ if (!s) {
5225
5225
  const d = Object.entries(l).map(
5226
5226
  ([x, P]) => `adapter ${x} ` + (P === !1 ? "is not supported by the environment" : "is not available in the build")
5227
5227
  );
@@ -5233,7 +5233,7 @@ const ni = (r) => `- ${r}`, yu = (r) => A.isFunction(r) || r === null || r === !
5233
5233
  "ERR_NOT_SUPPORT"
5234
5234
  );
5235
5235
  }
5236
- return a;
5236
+ return s;
5237
5237
  },
5238
5238
  adapters: Jr
5239
5239
  };
@@ -5245,30 +5245,30 @@ function ri(r) {
5245
5245
  return Ur(r), r.headers = Ye.from(r.headers), r.data = Lr.call(
5246
5246
  r,
5247
5247
  r.transformRequest
5248
- ), ["post", "put", "patch"].indexOf(r.method) !== -1 && r.headers.setContentType("application/x-www-form-urlencoded", !1), $i.getAdapter(r.adapter || rn.adapter)(r).then(function(a) {
5249
- return Ur(r), a.data = Lr.call(
5248
+ ), ["post", "put", "patch"].indexOf(r.method) !== -1 && r.headers.setContentType("application/x-www-form-urlencoded", !1), $i.getAdapter(r.adapter || rn.adapter)(r).then(function(s) {
5249
+ return Ur(r), s.data = Lr.call(
5250
5250
  r,
5251
5251
  r.transformResponse,
5252
- a
5253
- ), a.headers = Ye.from(a.headers), a;
5254
- }, function(a) {
5255
- return ki(a) || (Ur(r), a && a.response && (a.response.data = Lr.call(
5252
+ s
5253
+ ), s.headers = Ye.from(s.headers), s;
5254
+ }, function(s) {
5255
+ return ki(s) || (Ur(r), s && s.response && (s.response.data = Lr.call(
5256
5256
  r,
5257
5257
  r.transformResponse,
5258
- a.response
5259
- ), a.response.headers = Ye.from(a.response.headers))), Promise.reject(a);
5258
+ s.response
5259
+ ), s.response.headers = Ye.from(s.response.headers))), Promise.reject(s);
5260
5260
  });
5261
5261
  }
5262
5262
  const Ci = "1.8.4", tr = {};
5263
5263
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((r, i) => {
5264
- tr[r] = function(a) {
5265
- return typeof a === r || "a" + (i < 1 ? "n " : " ") + r;
5264
+ tr[r] = function(s) {
5265
+ return typeof s === r || "a" + (i < 1 ? "n " : " ") + r;
5266
5266
  };
5267
5267
  });
5268
5268
  const oi = {};
5269
- tr.transitional = function(i, u, a) {
5269
+ tr.transitional = function(i, u, s) {
5270
5270
  function l(d, h) {
5271
- return "[Axios v" + Ci + "] Transitional option '" + d + "'" + h + (a ? ". " + a : "");
5271
+ return "[Axios v" + Ci + "] Transitional option '" + d + "'" + h + (s ? ". " + s : "");
5272
5272
  }
5273
5273
  return (d, h, x) => {
5274
5274
  if (i === !1)
@@ -5285,15 +5285,15 @@ tr.transitional = function(i, u, a) {
5285
5285
  };
5286
5286
  };
5287
5287
  tr.spelling = function(i) {
5288
- return (u, a) => (console.warn(`${a} is likely a misspelling of ${i}`), !0);
5288
+ return (u, s) => (console.warn(`${s} is likely a misspelling of ${i}`), !0);
5289
5289
  };
5290
5290
  function vu(r, i, u) {
5291
5291
  if (typeof r != "object")
5292
5292
  throw new me("options must be an object", me.ERR_BAD_OPTION_VALUE);
5293
- const a = Object.keys(r);
5294
- let l = a.length;
5293
+ const s = Object.keys(r);
5294
+ let l = s.length;
5295
5295
  for (; l-- > 0; ) {
5296
- const d = a[l], h = i[d];
5296
+ const d = s[l], h = i[d];
5297
5297
  if (h) {
5298
5298
  const x = r[d], P = x === void 0 || h(x, d, r);
5299
5299
  if (P !== !0)
@@ -5326,24 +5326,24 @@ let St = class {
5326
5326
  async request(i, u) {
5327
5327
  try {
5328
5328
  return await this._request(i, u);
5329
- } catch (a) {
5330
- if (a instanceof Error) {
5329
+ } catch (s) {
5330
+ if (s instanceof Error) {
5331
5331
  let l = {};
5332
5332
  Error.captureStackTrace ? Error.captureStackTrace(l) : l = new Error();
5333
5333
  const d = l.stack ? l.stack.replace(/^.+\n/, "") : "";
5334
5334
  try {
5335
- a.stack ? d && !String(a.stack).endsWith(d.replace(/^.+\n.+\n/, "")) && (a.stack += `
5336
- ` + d) : a.stack = d;
5335
+ s.stack ? d && !String(s.stack).endsWith(d.replace(/^.+\n.+\n/, "")) && (s.stack += `
5336
+ ` + d) : s.stack = d;
5337
5337
  } catch {
5338
5338
  }
5339
5339
  }
5340
- throw a;
5340
+ throw s;
5341
5341
  }
5342
5342
  }
5343
5343
  _request(i, u) {
5344
5344
  typeof i == "string" ? (u = u || {}, u.url = i) : u = i || {}, u = Ot(this.defaults, u);
5345
- const { transitional: a, paramsSerializer: l, headers: d } = u;
5346
- a !== void 0 && Yn.assertOptions(a, {
5345
+ const { transitional: s, paramsSerializer: l, headers: d } = u;
5346
+ s !== void 0 && Yn.assertOptions(s, {
5347
5347
  silentJSONParsing: tt.transitional(tt.boolean),
5348
5348
  forcedJSONParsing: tt.transitional(tt.boolean),
5349
5349
  clarifyTimeoutError: tt.transitional(tt.boolean)
@@ -5409,20 +5409,20 @@ let St = class {
5409
5409
  }
5410
5410
  };
5411
5411
  A.forEach(["delete", "get", "head", "options"], function(i) {
5412
- St.prototype[i] = function(u, a) {
5413
- return this.request(Ot(a || {}, {
5412
+ St.prototype[i] = function(u, s) {
5413
+ return this.request(Ot(s || {}, {
5414
5414
  method: i,
5415
5415
  url: u,
5416
- data: (a || {}).data
5416
+ data: (s || {}).data
5417
5417
  }));
5418
5418
  };
5419
5419
  });
5420
5420
  A.forEach(["post", "put", "patch"], function(i) {
5421
- function u(a) {
5421
+ function u(s) {
5422
5422
  return function(d, h, x) {
5423
5423
  return this.request(Ot(x || {}, {
5424
5424
  method: i,
5425
- headers: a ? {
5425
+ headers: s ? {
5426
5426
  "Content-Type": "multipart/form-data"
5427
5427
  } : {},
5428
5428
  url: d,
@@ -5440,23 +5440,23 @@ let gu = class ji {
5440
5440
  this.promise = new Promise(function(d) {
5441
5441
  u = d;
5442
5442
  });
5443
- const a = this;
5443
+ const s = this;
5444
5444
  this.promise.then((l) => {
5445
- if (!a._listeners) return;
5446
- let d = a._listeners.length;
5445
+ if (!s._listeners) return;
5446
+ let d = s._listeners.length;
5447
5447
  for (; d-- > 0; )
5448
- a._listeners[d](l);
5449
- a._listeners = null;
5448
+ s._listeners[d](l);
5449
+ s._listeners = null;
5450
5450
  }), this.promise.then = (l) => {
5451
5451
  let d;
5452
5452
  const h = new Promise((x) => {
5453
- a.subscribe(x), d = x;
5453
+ s.subscribe(x), d = x;
5454
5454
  }).then(l);
5455
5455
  return h.cancel = function() {
5456
- a.unsubscribe(d);
5456
+ s.unsubscribe(d);
5457
5457
  }, h;
5458
5458
  }, i(function(d, h, x) {
5459
- a.reason || (a.reason = new Mt(d, h, x), u(a.reason));
5459
+ s.reason || (s.reason = new Mt(d, h, x), u(s.reason));
5460
5460
  });
5461
5461
  }
5462
5462
  /**
@@ -5486,8 +5486,8 @@ let gu = class ji {
5486
5486
  u !== -1 && this._listeners.splice(u, 1);
5487
5487
  }
5488
5488
  toAbortSignal() {
5489
- const i = new AbortController(), u = (a) => {
5490
- i.abort(a);
5489
+ const i = new AbortController(), u = (s) => {
5490
+ i.abort(s);
5491
5491
  };
5492
5492
  return this.subscribe(u), i.signal.unsubscribe = () => this.unsubscribe(u), i.signal;
5493
5493
  }
@@ -5608,22 +5608,22 @@ De.getAdapter = $i.getAdapter;
5608
5608
  De.HttpStatusCode = Gr;
5609
5609
  De.default = De;
5610
5610
  const {
5611
- Axios: ec,
5612
- AxiosError: tc,
5613
- CanceledError: nc,
5614
- isCancel: rc,
5615
- CancelToken: oc,
5616
- VERSION: ic,
5617
- all: sc,
5618
- Cancel: ac,
5619
- isAxiosError: uc,
5620
- spread: cc,
5621
- toFormData: lc,
5622
- AxiosHeaders: fc,
5623
- HttpStatusCode: dc,
5624
- formToJSON: hc,
5625
- getAdapter: pc,
5626
- mergeConfig: mc
5611
+ Axios: tc,
5612
+ AxiosError: nc,
5613
+ CanceledError: rc,
5614
+ isCancel: oc,
5615
+ CancelToken: ic,
5616
+ VERSION: sc,
5617
+ all: ac,
5618
+ Cancel: uc,
5619
+ isAxiosError: cc,
5620
+ spread: lc,
5621
+ toFormData: fc,
5622
+ AxiosHeaders: dc,
5623
+ HttpStatusCode: hc,
5624
+ formToJSON: pc,
5625
+ getAdapter: mc,
5626
+ mergeConfig: yc
5627
5627
  } = De;
5628
5628
  class Ni {
5629
5629
  constructor(i) {
@@ -5631,16 +5631,16 @@ class Ni {
5631
5631
  this.storage = i;
5632
5632
  }
5633
5633
  getRaw(i, u = null) {
5634
- var a;
5635
- return ((a = this.storage) == null ? void 0 : a.getItem(i)) ?? u;
5634
+ var s;
5635
+ return ((s = this.storage) == null ? void 0 : s.getItem(i)) ?? u;
5636
5636
  }
5637
5637
  setRaw(i, u) {
5638
- var a;
5639
- (a = this.storage) == null || a.setItem(i, u);
5638
+ var s;
5639
+ (s = this.storage) == null || s.setItem(i, u);
5640
5640
  }
5641
5641
  get(i, u = null) {
5642
- const a = this.getRaw(i);
5643
- return a ? fi(a) : u;
5642
+ const s = this.getRaw(i);
5643
+ return s ? fi(s) : u;
5644
5644
  }
5645
5645
  set(i, u) {
5646
5646
  this.setRaw(i, Xr(u));
@@ -5654,7 +5654,7 @@ class Ni {
5654
5654
  (i = this.storage) == null || i.clear();
5655
5655
  }
5656
5656
  }
5657
- const _u = typeof localStorage > "u" ? void 0 : localStorage, xu = typeof sessionStorage > "u" ? void 0 : sessionStorage, qi = new Ni(_u), Su = new Ni(xu), yc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5657
+ const _u = typeof localStorage > "u" ? void 0 : localStorage, xu = typeof sessionStorage > "u" ? void 0 : sessionStorage, qi = new Ni(_u), Su = new Ni(xu), vc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5658
5658
  __proto__: null,
5659
5659
  local: qi,
5660
5660
  session: Su
@@ -5669,20 +5669,20 @@ const _u = typeof localStorage > "u" ? void 0 : localStorage, xu = typeof sessio
5669
5669
  const u = i.data;
5670
5670
  if (i.status === 200)
5671
5671
  return u.data;
5672
- const a = new Error(Bi(u));
5673
- return r ? r(a) : Promise.reject(a);
5672
+ const s = new Error(Bi(u));
5673
+ return r ? r(s) : Promise.reject(s);
5674
5674
  },
5675
5675
  (i) => r ? r(i) : Promise.reject(i)
5676
5676
  );
5677
5677
  let Mn = !1, Nn = [];
5678
5678
  const ku = (r, i, u) => {
5679
- const { response: a } = r;
5680
- return a.config.url == i ? (Mn = !1, Nn = [], Promise.reject(r)) : (Mn || (Mn = !0, u().then(() => Nn.forEach((l) => l())).finally(() => {
5679
+ const { response: s } = r;
5680
+ return s.config.url == i ? (Mn = !1, Nn = [], Promise.reject(r)) : (Mn || (Mn = !0, u().then(() => Nn.forEach((l) => l())).finally(() => {
5681
5681
  Mn = !1, Nn = [];
5682
5682
  })), new Promise((l) => {
5683
- Nn.push(() => l(on(a.config)));
5683
+ Nn.push(() => l(on(s.config)));
5684
5684
  }));
5685
- }, Tu = (r, i) => nr({ url: r, method: "GET", params: i }), Ru = (r, i) => nr({ url: r, method: "POST", data: i }), Au = (r) => (r.responseType ?? (r.responseType = "blob"), nr(r)), nr = (r) => (r.headers = { ...r.headers, "Content-Type": "application/json" }, on.request(r)), vc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5685
+ }, Tu = (r, i) => nr({ url: r, method: "GET", params: i }), Ru = (r, i) => nr({ url: r, method: "POST", data: i }), Au = (r) => (r.responseType ?? (r.responseType = "blob"), nr(r)), nr = (r) => (r.headers = { ...r.headers, "Content-Type": "application/json" }, on.request(r)), gc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5686
5686
  __proto__: null,
5687
5687
  ACCESS_TOKEN: Fi,
5688
5688
  axios: on,
@@ -5698,36 +5698,45 @@ const ku = (r, i, u) => {
5698
5698
  i ? console.log(i, r) : console.log(r);
5699
5699
  }, $u = (r) => {
5700
5700
  throw new Error(r);
5701
- }, gc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5701
+ }, Cu = async (r) => {
5702
+ var u;
5703
+ const i = {};
5704
+ for (const s in r) {
5705
+ const l = await r[s](), d = (u = s.split("/").pop()) == null ? void 0 : u.split(".").shift();
5706
+ i[d] = { ...l.default, ...l };
5707
+ }
5708
+ return i;
5709
+ }, bc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5702
5710
  __proto__: null,
5703
5711
  fail: $u,
5712
+ loadModules: Cu,
5704
5713
  log: Du,
5705
5714
  sleep: Pu
5706
5715
  }, Symbol.toStringTag, { value: "Module" })), Ki = () => {
5707
5716
  const r = decodeURIComponent(location.search);
5708
5717
  return new URLSearchParams(r);
5709
- }, Cu = () => {
5718
+ }, ju = () => {
5710
5719
  let r = {};
5711
5720
  for (let [i, u] of Ki().entries())
5712
5721
  r[i] = u;
5713
5722
  return r;
5714
- }, ju = (r, i, u) => {
5723
+ }, Mu = (r, i, u) => {
5715
5724
  i ?? (i = "_blank"), window.open(r, i, u);
5716
- }, bc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5725
+ }, wc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5717
5726
  __proto__: null,
5718
- open: ju,
5719
- params: Cu,
5727
+ open: Mu,
5728
+ params: ju,
5720
5729
  search: Ki
5721
5730
  }, Symbol.toStringTag, { value: "Module" }));
5722
5731
  export {
5723
- Nu as array,
5724
- qu as blob,
5725
- Wu as database,
5726
- Ju as date,
5727
- Xu as hash,
5728
- vc as http,
5729
- Gu as json,
5730
- yc as storage,
5731
- gc as system,
5732
- bc as url
5732
+ qu as array,
5733
+ Fu as blob,
5734
+ Ju as database,
5735
+ Gu as date,
5736
+ Qu as hash,
5737
+ gc as http,
5738
+ Xu as json,
5739
+ vc as storage,
5740
+ bc as system,
5741
+ wc as url
5733
5742
  };