@rainte/ant 0.0.34 → 0.0.35

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.
@@ -83,14 +83,14 @@ function Xh() {
83
83
  case Se:
84
84
  return (L._context.displayName || "Context") + ".Consumer";
85
85
  case Y:
86
- var Ne = L.render;
87
- return L = L.displayName, L || (L = Ne.displayName || Ne.name || "", L = L !== "" ? "ForwardRef(" + L + ")" : "ForwardRef"), L;
86
+ var _e = L.render;
87
+ return L = L.displayName, L || (L = _e.displayName || _e.name || "", L = L !== "" ? "ForwardRef(" + L + ")" : "ForwardRef"), L;
88
88
  case B:
89
- return Ne = L.displayName || null, Ne !== null ? Ne : e(L.type) || "Memo";
89
+ return _e = L.displayName || null, _e !== null ? _e : e(L.type) || "Memo";
90
90
  case R:
91
- Ne = L._payload, L = L._init;
91
+ _e = L._payload, L = L._init;
92
92
  try {
93
- return e(L(Ne));
93
+ return e(L(_e));
94
94
  } catch {
95
95
  }
96
96
  }
@@ -102,15 +102,15 @@ function Xh() {
102
102
  function n(L) {
103
103
  try {
104
104
  t(L);
105
- var Ne = !1;
105
+ var _e = !1;
106
106
  } catch {
107
- Ne = !0;
107
+ _e = !0;
108
108
  }
109
- if (Ne) {
110
- Ne = console;
111
- var xe = Ne.error, Fe = typeof Symbol == "function" && Symbol.toStringTag && L[Symbol.toStringTag] || L.constructor.name || "Object";
109
+ if (_e) {
110
+ _e = console;
111
+ var xe = _e.error, Fe = typeof Symbol == "function" && Symbol.toStringTag && L[Symbol.toStringTag] || L.constructor.name || "Object";
112
112
  return xe.call(
113
- Ne,
113
+ _e,
114
114
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
115
115
  Fe
116
116
  ), t(L);
@@ -161,14 +161,14 @@ function Xh() {
161
161
  try {
162
162
  throw Error();
163
163
  } catch (xe) {
164
- var Ne = xe.stack.trim().match(/\n( *(at )?)/);
165
- De = Ne && Ne[1] || "", rt = -1 < xe.stack.indexOf(`
164
+ var _e = xe.stack.trim().match(/\n( *(at )?)/);
165
+ De = _e && _e[1] || "", rt = -1 < xe.stack.indexOf(`
166
166
  at`) ? " (<anonymous>)" : -1 < xe.stack.indexOf("@") ? "@unknown:0:0" : "";
167
167
  }
168
168
  return `
169
169
  ` + De + L + rt;
170
170
  }
171
- function f(L, Ne) {
171
+ function f(L, _e) {
172
172
  if (!L || et) return "";
173
173
  var xe = Ft.get(L);
174
174
  if (xe !== void 0) return xe;
@@ -179,7 +179,7 @@ function Xh() {
179
179
  var st = {
180
180
  DetermineComponentFrameRoot: function() {
181
181
  try {
182
- if (Ne) {
182
+ if (_e) {
183
183
  var Tt = function() {
184
184
  throw Error();
185
185
  };
@@ -268,10 +268,10 @@ function Xh() {
268
268
  function d(L) {
269
269
  if (L == null) return "";
270
270
  if (typeof L == "function") {
271
- var Ne = L.prototype;
271
+ var _e = L.prototype;
272
272
  return f(
273
273
  L,
274
- !(!Ne || !Ne.isReactComponent)
274
+ !(!_e || !_e.isReactComponent)
275
275
  );
276
276
  }
277
277
  if (typeof L == "string") return u(L);
@@ -288,9 +288,9 @@ function Xh() {
288
288
  case B:
289
289
  return d(L.type);
290
290
  case R:
291
- Ne = L._payload, L = L._init;
291
+ _e = L._payload, L = L._init;
292
292
  try {
293
- return d(L(Ne));
293
+ return d(L(_e));
294
294
  } catch {
295
295
  }
296
296
  }
@@ -302,16 +302,16 @@ function Xh() {
302
302
  }
303
303
  function w(L) {
304
304
  if (le.call(L, "key")) {
305
- var Ne = Object.getOwnPropertyDescriptor(L, "key").get;
306
- if (Ne && Ne.isReactWarning) return !1;
305
+ var _e = Object.getOwnPropertyDescriptor(L, "key").get;
306
+ if (_e && _e.isReactWarning) return !1;
307
307
  }
308
308
  return L.key !== void 0;
309
309
  }
310
- function y(L, Ne) {
310
+ function y(L, _e) {
311
311
  function xe() {
312
312
  un || (un = !0, console.error(
313
313
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
314
- Ne
314
+ _e
315
315
  ));
316
316
  }
317
317
  xe.isReactWarning = !0, Object.defineProperty(L, "key", {
@@ -325,11 +325,11 @@ function Xh() {
325
325
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
326
326
  )), L = this.props.ref, L !== void 0 ? L : null;
327
327
  }
328
- function A(L, Ne, xe, Fe, st, Ye) {
328
+ function A(L, _e, xe, Fe, st, Ye) {
329
329
  return xe = Ye.ref, L = {
330
330
  $$typeof: ae,
331
331
  type: L,
332
- key: Ne,
332
+ key: _e,
333
333
  props: Ye,
334
334
  _owner: st
335
335
  }, (xe !== void 0 ? xe : null) !== null ? Object.defineProperty(L, "ref", {
@@ -347,9 +347,9 @@ function Xh() {
347
347
  value: null
348
348
  }), Object.freeze && (Object.freeze(L.props), Object.freeze(L)), L;
349
349
  }
350
- function E(L, Ne, xe, Fe, st, Ye) {
350
+ function E(L, _e, xe, Fe, st, Ye) {
351
351
  if (typeof L == "string" || typeof L == "function" || L === ne || L === Te || L === re || L === k || L === K || L === V || typeof L == "object" && L !== null && (L.$$typeof === R || L.$$typeof === B || L.$$typeof === S || L.$$typeof === Se || L.$$typeof === Y || L.$$typeof === we || L.getModuleId !== void 0)) {
352
- var $e = Ne.children;
352
+ var $e = _e.children;
353
353
  if ($e !== void 0)
354
354
  if (Fe)
355
355
  if (Le($e)) {
@@ -367,9 +367,9 @@ function Xh() {
367
367
  Fe,
368
368
  $e
369
369
  );
370
- if (le.call(Ne, "key")) {
370
+ if (le.call(_e, "key")) {
371
371
  $e = e(L);
372
- var yt = Object.keys(Ne).filter(function(at) {
372
+ var yt = Object.keys(_e).filter(function(at) {
373
373
  return at !== "key";
374
374
  });
375
375
  Fe = 0 < yt.length ? "{key: someKey, " + yt.join(": ..., ") + ": ...}" : "{key: someKey}", Jt[$e + Fe] || (yt = 0 < yt.length ? "{" + yt.join(": ..., ") + ": ...}" : "{}", console.error(
@@ -385,36 +385,36 @@ React keys must be passed directly to JSX without using spread:
385
385
  $e
386
386
  ), Jt[$e + Fe] = !0);
387
387
  }
388
- if ($e = null, xe !== void 0 && (n(xe), $e = "" + xe), w(Ne) && (n(Ne.key), $e = "" + Ne.key), "key" in Ne) {
388
+ if ($e = null, xe !== void 0 && (n(xe), $e = "" + xe), w(_e) && (n(_e.key), $e = "" + _e.key), "key" in _e) {
389
389
  xe = {};
390
- for (var ct in Ne)
391
- ct !== "key" && (xe[ct] = Ne[ct]);
392
- } else xe = Ne;
390
+ for (var ct in _e)
391
+ ct !== "key" && (xe[ct] = _e[ct]);
392
+ } else xe = _e;
393
393
  return $e && y(
394
394
  xe,
395
395
  typeof L == "function" ? L.displayName || L.name || "Unknown" : L
396
396
  ), A(L, $e, Ye, st, m(), xe);
397
397
  }
398
- function T(L, Ne) {
398
+ function T(L, _e) {
399
399
  if (typeof L == "object" && L && L.$$typeof !== ln) {
400
400
  if (Le(L))
401
401
  for (var xe = 0; xe < L.length; xe++) {
402
402
  var Fe = L[xe];
403
- $(Fe) && W(Fe, Ne);
403
+ $(Fe) && W(Fe, _e);
404
404
  }
405
405
  else if ($(L))
406
406
  L._store && (L._store.validated = 1);
407
407
  else if (L === null || typeof L != "object" ? xe = null : (xe = H && L[H] || L["@@iterator"], xe = typeof xe == "function" ? xe : null), typeof xe == "function" && xe !== L.entries && (xe = xe.call(L), xe !== L))
408
408
  for (; !(L = xe.next()).done; )
409
- $(L.value) && W(L.value, Ne);
409
+ $(L.value) && W(L.value, _e);
410
410
  }
411
411
  }
412
412
  function $(L) {
413
413
  return typeof L == "object" && L !== null && L.$$typeof === ae;
414
414
  }
415
- function W(L, Ne) {
416
- if (L._store && !L._store.validated && L.key == null && (L._store.validated = 1, Ne = X(Ne), !At[Ne])) {
417
- At[Ne] = !0;
415
+ function W(L, _e) {
416
+ if (L._store && !L._store.validated && L.key == null && (L._store.validated = 1, _e = X(_e), !At[_e])) {
417
+ At[_e] = !0;
418
418
  var xe = "";
419
419
  L && L._owner != null && L._owner !== m() && (xe = null, typeof L._owner.tag == "number" ? xe = e(L._owner.type) : typeof L._owner.name == "string" && (xe = L._owner.name), xe = " It was passed a child from " + xe + ".");
420
420
  var Fe = G.getCurrentStack;
@@ -423,26 +423,26 @@ React keys must be passed directly to JSX without using spread:
423
423
  return Fe && (st += Fe() || ""), st;
424
424
  }, console.error(
425
425
  'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
426
- Ne,
426
+ _e,
427
427
  xe
428
428
  ), G.getCurrentStack = Fe;
429
429
  }
430
430
  }
431
431
  function X(L) {
432
- var Ne = "", xe = m();
433
- return xe && (xe = e(xe.type)) && (Ne = `
432
+ var _e = "", xe = m();
433
+ return xe && (xe = e(xe.type)) && (_e = `
434
434
 
435
- Check the render method of \`` + xe + "`."), Ne || (L = e(L)) && (Ne = `
435
+ Check the render method of \`` + xe + "`."), _e || (L = e(L)) && (_e = `
436
436
 
437
- Check the top-level render call using <` + L + ">."), Ne;
437
+ Check the top-level render call using <` + L + ">."), _e;
438
438
  }
439
439
  var he = $r, ae = Symbol.for("react.transitional.element"), ue = Symbol.for("react.portal"), ne = Symbol.for("react.fragment"), re = Symbol.for("react.strict_mode"), Te = Symbol.for("react.profiler"), Se = Symbol.for("react.consumer"), S = Symbol.for("react.context"), Y = Symbol.for("react.forward_ref"), k = Symbol.for("react.suspense"), K = Symbol.for("react.suspense_list"), B = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), V = Symbol.for("react.offscreen"), H = Symbol.iterator, ee = Symbol.for("react.client.reference"), G = he.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, le = Object.prototype.hasOwnProperty, pe = Object.assign, we = Symbol.for("react.client.reference"), Le = Array.isArray, be = 0, Ue, We, je, oe, qe, Ie, Oe;
440
440
  s.__reactDisabledLog = !0;
441
441
  var De, rt, et = !1, Ft = new (typeof WeakMap == "function" ? WeakMap : Map)(), ln = Symbol.for("react.client.reference"), un, cn = {}, Jt = {}, At = {};
442
- Qs.Fragment = ne, Qs.jsx = function(L, Ne, xe, Fe, st) {
443
- return E(L, Ne, xe, !1, Fe, st);
444
- }, Qs.jsxs = function(L, Ne, xe, Fe, st) {
445
- return E(L, Ne, xe, !0, Fe, st);
442
+ Qs.Fragment = ne, Qs.jsx = function(L, _e, xe, Fe, st) {
443
+ return E(L, _e, xe, !1, Fe, st);
444
+ }, Qs.jsxs = function(L, _e, xe, Fe, st) {
445
+ return E(L, _e, xe, !0, Fe, st);
446
446
  };
447
447
  }(), Qs;
448
448
  }
@@ -553,19 +553,19 @@ function Td(r, e, t) {
553
553
  }
554
554
  return r.apply(e, t);
555
555
  }
556
- function Nd(r, e) {
556
+ function _d(r, e) {
557
557
  var t = -1, n = r.length;
558
558
  for (e || (e = Array(n)); ++t < n; )
559
559
  e[t] = r[t];
560
560
  return e;
561
561
  }
562
- var _d = 800, Cd = 16, Ld = Date.now;
562
+ var Nd = 800, Cd = 16, Ld = Date.now;
563
563
  function kd(r) {
564
564
  var e = 0, t = 0;
565
565
  return function() {
566
566
  var n = Ld(), s = Cd - (n - t);
567
567
  if (t = n, s > 0) {
568
- if (++e >= _d)
568
+ if (++e >= Nd)
569
569
  return arguments[0];
570
570
  } else
571
571
  e = 0;
@@ -702,11 +702,11 @@ var Vc = typeof exports == "object" && exports && !exports.nodeType && exports,
702
702
  return r || Wo && Wo.binding && Wo.binding("util");
703
703
  } catch {
704
704
  }
705
- }(), Fl = $s && $s.isTypedArray, tl = Fl ? el(Fl) : Op, Tp = Object.prototype, Np = Tp.hasOwnProperty;
705
+ }(), Fl = $s && $s.isTypedArray, tl = Fl ? el(Fl) : Op, Tp = Object.prototype, _p = Tp.hasOwnProperty;
706
706
  function Wc(r, e) {
707
707
  var t = ts(r), n = !t && da(r), s = !t && !n && di(r), i = !t && !n && !s && tl(r), a = t || n || s || i, u = a ? Wd(r.length, String) : [], f = u.length;
708
708
  for (var d in r)
709
- (e || Np.call(r, d)) && !(a && // Safari 9 has enumerable `arguments.length` in strict mode.
709
+ (e || _p.call(r, d)) && !(a && // Safari 9 has enumerable `arguments.length` in strict mode.
710
710
  (d == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
711
711
  s && (d == "offset" || d == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
712
712
  i && (d == "buffer" || d == "byteLength" || d == "byteOffset") || // Skip index properties.
@@ -718,10 +718,10 @@ function Yc(r, e) {
718
718
  return r(e(t));
719
719
  };
720
720
  }
721
- var _p = Yc(Object.keys, Object), Cp = Object.prototype, Lp = Cp.hasOwnProperty;
721
+ var Np = Yc(Object.keys, Object), Cp = Object.prototype, Lp = Cp.hasOwnProperty;
722
722
  function kp(r) {
723
723
  if (!Qa(r))
724
- return _p(r);
724
+ return Np(r);
725
725
  var e = [];
726
726
  for (var t in Object(r))
727
727
  Lp.call(r, t) && t != "constructor" && e.push(t);
@@ -947,12 +947,12 @@ function Tg(r, e, t) {
947
947
  function pa(r) {
948
948
  return Tg(r, Rp, Ag);
949
949
  }
950
- var ga = as(ar, "DataView"), ma = as(ar, "Promise"), ya = as(ar, "Set"), Wl = "[object Map]", Ng = "[object Object]", Yl = "[object Promise]", Gl = "[object Set]", Jl = "[object WeakMap]", Zl = "[object DataView]", _g = os(ga), Cg = os(gi), Lg = os(ma), kg = os(ya), Rg = os(ha), jn = Ks;
950
+ var ga = as(ar, "DataView"), ma = as(ar, "Promise"), ya = as(ar, "Set"), Wl = "[object Map]", _g = "[object Object]", Yl = "[object Promise]", Gl = "[object Set]", Jl = "[object WeakMap]", Zl = "[object DataView]", Ng = os(ga), Cg = os(gi), Lg = os(ma), kg = os(ya), Rg = os(ha), jn = Ks;
951
951
  (ga && jn(new ga(new ArrayBuffer(1))) != Zl || gi && jn(new gi()) != Wl || ma && jn(ma.resolve()) != Yl || ya && jn(new ya()) != Gl || ha && jn(new ha()) != Jl) && (jn = function(r) {
952
- var e = Ks(r), t = e == Ng ? r.constructor : void 0, n = t ? os(t) : "";
952
+ var e = Ks(r), t = e == _g ? r.constructor : void 0, n = t ? os(t) : "";
953
953
  if (n)
954
954
  switch (n) {
955
- case _g:
955
+ case Ng:
956
956
  return Zl;
957
957
  case Cg:
958
958
  return Wl;
@@ -1037,8 +1037,8 @@ var eu = $s && $s.isMap, lm = eu ? el(eu) : am, um = "[object Set]";
1037
1037
  function cm(r) {
1038
1038
  return mr(r) && jn(r) == um;
1039
1039
  }
1040
- var tu = $s && $s.isSet, fm = tu ? el(tu) : cm, hm = 1, nf = "[object Arguments]", dm = "[object Array]", pm = "[object Boolean]", gm = "[object Date]", mm = "[object Error]", rf = "[object Function]", ym = "[object GeneratorFunction]", bm = "[object Map]", vm = "[object Number]", sf = "[object Object]", wm = "[object RegExp]", xm = "[object Set]", Em = "[object String]", Sm = "[object Symbol]", Om = "[object WeakMap]", Am = "[object ArrayBuffer]", Tm = "[object DataView]", Nm = "[object Float32Array]", _m = "[object Float64Array]", Cm = "[object Int8Array]", Lm = "[object Int16Array]", km = "[object Int32Array]", Rm = "[object Uint8Array]", Pm = "[object Uint8ClampedArray]", qm = "[object Uint16Array]", jm = "[object Uint32Array]", ot = {};
1041
- ot[nf] = ot[dm] = ot[Am] = ot[Tm] = ot[pm] = ot[gm] = ot[Nm] = ot[_m] = ot[Cm] = ot[Lm] = ot[km] = ot[bm] = ot[vm] = ot[sf] = ot[wm] = ot[xm] = ot[Em] = ot[Sm] = ot[Rm] = ot[Pm] = ot[qm] = ot[jm] = !0;
1040
+ var tu = $s && $s.isSet, fm = tu ? el(tu) : cm, hm = 1, nf = "[object Arguments]", dm = "[object Array]", pm = "[object Boolean]", gm = "[object Date]", mm = "[object Error]", rf = "[object Function]", ym = "[object GeneratorFunction]", bm = "[object Map]", vm = "[object Number]", sf = "[object Object]", wm = "[object RegExp]", xm = "[object Set]", Em = "[object String]", Sm = "[object Symbol]", Om = "[object WeakMap]", Am = "[object ArrayBuffer]", Tm = "[object DataView]", _m = "[object Float32Array]", Nm = "[object Float64Array]", Cm = "[object Int8Array]", Lm = "[object Int16Array]", km = "[object Int32Array]", Rm = "[object Uint8Array]", Pm = "[object Uint8ClampedArray]", qm = "[object Uint16Array]", jm = "[object Uint32Array]", ot = {};
1041
+ ot[nf] = ot[dm] = ot[Am] = ot[Tm] = ot[pm] = ot[gm] = ot[_m] = ot[Nm] = ot[Cm] = ot[Lm] = ot[km] = ot[bm] = ot[vm] = ot[sf] = ot[wm] = ot[xm] = ot[Em] = ot[Sm] = ot[Rm] = ot[Pm] = ot[qm] = ot[jm] = !0;
1042
1042
  ot[mm] = ot[rf] = ot[Om] = !1;
1043
1043
  function Zi(r, e, t, n, s, i) {
1044
1044
  var a, u = e & hm;
@@ -1273,7 +1273,7 @@ function by(r, e, t, n, s, i, a) {
1273
1273
  var m = i ? i(u, f, t + "", r, e, a) : void 0, w = m === void 0;
1274
1274
  if (w) {
1275
1275
  var y = ts(f), x = !y && di(f), A = !y && !x && tl(f);
1276
- m = f, y || x || A ? ts(u) ? m = u : my(u) ? m = Nd(u) : x ? (w = !1, m = Qc(f, !0)) : A ? (w = !1, m = ef(f, !0)) : m = [] : dg(f) || da(f) ? (m = u, da(u) ? m = yy(u) : (!Ur(u) || Za(u)) && (m = tf(f))) : w = !1;
1276
+ m = f, y || x || A ? ts(u) ? m = u : my(u) ? m = _d(u) : x ? (w = !1, m = Qc(f, !0)) : A ? (w = !1, m = ef(f, !0)) : m = [] : dg(f) || da(f) ? (m = u, da(u) ? m = yy(u) : (!Ur(u) || Za(u)) && (m = tf(f))) : w = !1;
1277
1277
  }
1278
1278
  w && (a.set(f, m), s(m, f, n, i, a), a.delete(f)), ba(r, t, m);
1279
1279
  }
@@ -1845,7 +1845,7 @@ function Ay(r, e) {
1845
1845
  return !1;
1846
1846
  return !0;
1847
1847
  }
1848
- const _s = class Cs extends $n {
1848
+ const Ns = class Cs extends $n {
1849
1849
  static create(e) {
1850
1850
  return super.create(e);
1851
1851
  }
@@ -1902,8 +1902,8 @@ const _s = class Cs extends $n {
1902
1902
  return n instanceof Cs && this.attributes.move(n), n;
1903
1903
  }
1904
1904
  };
1905
- _s.allowedChildren = [_s, Mt], _s.blotName = "inline", _s.scope = Pe.INLINE_BLOT, _s.tagName = "SPAN";
1906
- let Ty = _s;
1905
+ Ns.allowedChildren = [Ns, Mt], Ns.blotName = "inline", Ns.scope = Pe.INLINE_BLOT, Ns.tagName = "SPAN";
1906
+ let Ty = Ns;
1907
1907
  const sl = Ty, Ls = class xa extends $n {
1908
1908
  static create(e) {
1909
1909
  return super.create(e);
@@ -1958,8 +1958,8 @@ Ls.blotName = "block", Ls.scope = Pe.BLOCK_BLOT, Ls.tagName = "P", Ls.allowedChi
1958
1958
  Ls,
1959
1959
  Mt
1960
1960
  ];
1961
- let Ny = Ls;
1962
- const mi = Ny, Ea = class extends $n {
1961
+ let _y = Ls;
1962
+ const mi = _y, Ea = class extends $n {
1963
1963
  checkMerge() {
1964
1964
  return this.next !== null && this.next.statics.blotName === this.statics.blotName;
1965
1965
  }
@@ -1977,8 +1977,8 @@ const mi = Ny, Ea = class extends $n {
1977
1977
  }
1978
1978
  };
1979
1979
  Ea.blotName = "container", Ea.scope = Pe.BLOCK_BLOT;
1980
- let _y = Ea;
1981
- const Eo = _y;
1980
+ let Ny = Ea;
1981
+ const Eo = Ny;
1982
1982
  class Cy extends Mt {
1983
1983
  static formats(e, t) {
1984
1984
  }
@@ -2567,8 +2567,8 @@ function gf() {
2567
2567
  var un = Array.prototype, cn = Function.prototype, Jt = Object.prototype, At = we["__core-js_shared__"], L = function() {
2568
2568
  var h = /[^.]+$/.exec(At && At.keys && At.keys.IE_PROTO || "");
2569
2569
  return h ? "Symbol(src)_1." + h : "";
2570
- }(), Ne = cn.toString, xe = Jt.hasOwnProperty, Fe = Jt.toString, st = RegExp(
2571
- "^" + Ne.call(xe).replace(R, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
2570
+ }(), _e = cn.toString, xe = Jt.hasOwnProperty, Fe = Jt.toString, st = RegExp(
2571
+ "^" + _e.call(xe).replace(R, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
2572
2572
  ), Ye = Ue ? we.Buffer : void 0, $e = we.Symbol, yt = we.Uint8Array, ct = Ft(Object.getPrototypeOf, Object), at = Object.create, Et = Jt.propertyIsEnumerable, Yt = un.splice, Tt = Object.getOwnPropertySymbols, St = Ye ? Ye.isBuffer : void 0, Ee = Ft(Object.keys, Object), fn = en(we, "DataView"), Kt = en(we, "Map"), Pt = en(we, "Promise"), ye = en(we, "Set"), lr = en(we, "WeakMap"), Kn = en(Object, "create"), ur = Ct(fn), Hn = Ct(Kt), cr = Ct(Pt), Kr = Ct(ye), Hr = Ct(lr), Ht = $e ? $e.prototype : void 0, Tn = Ht ? Ht.valueOf : void 0;
2573
2573
  function Zt(h) {
2574
2574
  var v = -1, C = h ? h.length : 0;
@@ -2649,20 +2649,20 @@ function gf() {
2649
2649
  function ds(h) {
2650
2650
  return Zn(this, h).get(h);
2651
2651
  }
2652
- function Nn(h) {
2652
+ function _n(h) {
2653
2653
  return Zn(this, h).has(h);
2654
2654
  }
2655
2655
  function ps(h, v) {
2656
2656
  return Zn(this, h).set(h, v), this;
2657
2657
  }
2658
- bt.prototype.clear = Ys, bt.prototype.delete = pn, bt.prototype.get = ds, bt.prototype.has = Nn, bt.prototype.set = ps;
2659
- function Nt(h) {
2658
+ bt.prototype.clear = Ys, bt.prototype.delete = pn, bt.prototype.get = ds, bt.prototype.has = _n, bt.prototype.set = ps;
2659
+ function _t(h) {
2660
2660
  this.__data__ = new dt(h);
2661
2661
  }
2662
2662
  function lt() {
2663
2663
  this.__data__ = new dt();
2664
2664
  }
2665
- function _n(h) {
2665
+ function Nn(h) {
2666
2666
  return this.__data__.delete(h);
2667
2667
  }
2668
2668
  function Xt(h) {
@@ -2681,7 +2681,7 @@ function gf() {
2681
2681
  }
2682
2682
  return C.set(h, v), this;
2683
2683
  }
2684
- Nt.prototype.clear = lt, Nt.prototype.delete = _n, Nt.prototype.get = Xt, Nt.prototype.has = gs, Nt.prototype.set = Wn;
2684
+ _t.prototype.clear = lt, _t.prototype.delete = Nn, _t.prototype.get = Xt, _t.prototype.has = gs, _t.prototype.set = Wn;
2685
2685
  function Cn(h, v) {
2686
2686
  var C = kn(h) || yn(h) ? Oe(h.length, String) : [], te = C.length, Me = !!te;
2687
2687
  for (var ke in h)
@@ -2698,7 +2698,7 @@ function gf() {
2698
2698
  return C;
2699
2699
  return -1;
2700
2700
  }
2701
- function _t(h, v) {
2701
+ function Nt(h, v) {
2702
2702
  return h && Jn(v, Rn(v), h);
2703
2703
  }
2704
2704
  function Or(h, v, C, te, Me, ke, Xe) {
@@ -2719,14 +2719,14 @@ function gf() {
2719
2719
  if (rt(h))
2720
2720
  return ke ? h : {};
2721
2721
  if (Qe = gn(Ot ? {} : h), !v)
2722
- return ws(h, _t(Qe, h));
2722
+ return ws(h, Nt(Qe, h));
2723
2723
  } else {
2724
2724
  if (!G[tt])
2725
2725
  return ke ? h : {};
2726
2726
  Qe = kt(h, tt, Or, v);
2727
2727
  }
2728
2728
  }
2729
- Xe || (Xe = new Nt());
2729
+ Xe || (Xe = new _t());
2730
2730
  var Lt = Xe.get(h);
2731
2731
  if (Lt)
2732
2732
  return Lt;
@@ -2815,7 +2815,7 @@ function gf() {
2815
2815
  }
2816
2816
  function Zn(h, v) {
2817
2817
  var C = h.__data__;
2818
- return Nr(v) ? C[typeof v == "string" ? "string" : "hash"] : C.map;
2818
+ return _r(v) ? C[typeof v == "string" ? "string" : "hash"] : C.map;
2819
2819
  }
2820
2820
  function en(h, v) {
2821
2821
  var C = De(h, v);
@@ -2882,7 +2882,7 @@ function gf() {
2882
2882
  function Xn(h, v) {
2883
2883
  return v = v ?? s, !!v && (typeof h == "number" || ee.test(h)) && h > -1 && h % 1 == 0 && h < v;
2884
2884
  }
2885
- function Nr(h) {
2885
+ function _r(h) {
2886
2886
  var v = typeof h;
2887
2887
  return v == "string" || v == "number" || v == "symbol" || v == "boolean" ? h !== "__proto__" : h === null;
2888
2888
  }
@@ -2896,7 +2896,7 @@ function gf() {
2896
2896
  function Ct(h) {
2897
2897
  if (h != null) {
2898
2898
  try {
2899
- return Ne.call(h);
2899
+ return _e.call(h);
2900
2900
  } catch {
2901
2901
  }
2902
2902
  try {
@@ -2917,7 +2917,7 @@ function gf() {
2917
2917
  }
2918
2918
  var kn = Array.isArray;
2919
2919
  function Qn(h) {
2920
- return h != null && _r(h.length) && !qt(h);
2920
+ return h != null && Nr(h.length) && !qt(h);
2921
2921
  }
2922
2922
  function bn(h) {
2923
2923
  return Cr(h) && Qn(h);
@@ -2927,7 +2927,7 @@ function gf() {
2927
2927
  var v = nn(h) ? Fe.call(h) : "";
2928
2928
  return v == m || v == w;
2929
2929
  }
2930
- function _r(h) {
2930
+ function Nr(h) {
2931
2931
  return typeof h == "number" && h > -1 && h % 1 == 0 && h <= s;
2932
2932
  }
2933
2933
  function nn(h) {
@@ -3002,7 +3002,7 @@ function mf() {
3002
3002
  C[++v] = [Me, te];
3003
3003
  }), C;
3004
3004
  }
3005
- function Ne(h, v) {
3005
+ function _e(h, v) {
3006
3006
  return function(C) {
3007
3007
  return h(v(C));
3008
3008
  };
@@ -3018,7 +3018,7 @@ function mf() {
3018
3018
  return h ? "Symbol(src)_1." + h : "";
3019
3019
  }(), Et = Ye.toString, Yt = RegExp(
3020
3020
  "^" + yt.call(ct).replace(pe, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
3021
- ), Tt = Ie ? je.Buffer : void 0, St = je.Symbol, Ee = je.Uint8Array, fn = Ye.propertyIsEnumerable, Kt = Fe.splice, Pt = St ? St.toStringTag : void 0, ye = Object.getOwnPropertySymbols, lr = Tt ? Tt.isBuffer : void 0, Kn = Ne(Object.keys, Object), ur = He(je, "DataView"), Hn = He(je, "Map"), cr = He(je, "Promise"), Kr = He(je, "Set"), Hr = He(je, "WeakMap"), Ht = He(Object, "create"), Tn = Ct(ur), Zt = Ct(Hn), xr = Ct(cr), it = Ct(Kr), ht = Ct(Hr), hs = St ? St.prototype : void 0, zn = hs ? hs.valueOf : void 0;
3021
+ ), Tt = Ie ? je.Buffer : void 0, St = je.Symbol, Ee = je.Uint8Array, fn = Ye.propertyIsEnumerable, Kt = Fe.splice, Pt = St ? St.toStringTag : void 0, ye = Object.getOwnPropertySymbols, lr = Tt ? Tt.isBuffer : void 0, Kn = _e(Object.keys, Object), ur = He(je, "DataView"), Hn = He(je, "Map"), cr = He(je, "Promise"), Kr = He(je, "Set"), Hr = He(je, "WeakMap"), Ht = He(Object, "create"), Tn = Ct(ur), Zt = Ct(Hn), xr = Ct(cr), it = Ct(Kr), ht = Ct(Hr), hs = St ? St.prototype : void 0, zn = hs ? hs.valueOf : void 0;
3022
3022
  function dt(h) {
3023
3023
  var v = -1, C = h == null ? 0 : h.length;
3024
3024
  for (this.clear(); ++v < C; ) {
@@ -3071,15 +3071,15 @@ function mf() {
3071
3071
  var v = this.__data__, C = fr(v, h);
3072
3072
  return C < 0 ? void 0 : v[C][1];
3073
3073
  }
3074
- function Nn(h) {
3074
+ function _n(h) {
3075
3075
  return fr(this.__data__, h) > -1;
3076
3076
  }
3077
3077
  function ps(h, v) {
3078
3078
  var C = this.__data__, te = fr(C, h);
3079
3079
  return te < 0 ? (++this.size, C.push([h, v])) : C[te][1] = v, this;
3080
3080
  }
3081
- bt.prototype.clear = Ys, bt.prototype.delete = pn, bt.prototype.get = ds, bt.prototype.has = Nn, bt.prototype.set = ps;
3082
- function Nt(h) {
3081
+ bt.prototype.clear = Ys, bt.prototype.delete = pn, bt.prototype.get = ds, bt.prototype.has = _n, bt.prototype.set = ps;
3082
+ function _t(h) {
3083
3083
  var v = -1, C = h == null ? 0 : h.length;
3084
3084
  for (this.clear(); ++v < C; ) {
3085
3085
  var te = h[v];
@@ -3093,7 +3093,7 @@ function mf() {
3093
3093
  string: new dt()
3094
3094
  };
3095
3095
  }
3096
- function _n(h) {
3096
+ function Nn(h) {
3097
3097
  var v = en(this, h).delete(h);
3098
3098
  return this.size -= v ? 1 : 0, v;
3099
3099
  }
@@ -3107,10 +3107,10 @@ function mf() {
3107
3107
  var C = en(this, h), te = C.size;
3108
3108
  return C.set(h, v), this.size += C.size == te ? 0 : 1, this;
3109
3109
  }
3110
- Nt.prototype.clear = lt, Nt.prototype.delete = _n, Nt.prototype.get = Xt, Nt.prototype.has = gs, Nt.prototype.set = Wn;
3110
+ _t.prototype.clear = lt, _t.prototype.delete = Nn, _t.prototype.get = Xt, _t.prototype.has = gs, _t.prototype.set = Wn;
3111
3111
  function Cn(h) {
3112
3112
  var v = -1, C = h == null ? 0 : h.length;
3113
- for (this.__data__ = new Nt(); ++v < C; )
3113
+ for (this.__data__ = new _t(); ++v < C; )
3114
3114
  this.add(h[v]);
3115
3115
  }
3116
3116
  function Sr(h) {
@@ -3120,7 +3120,7 @@ function mf() {
3120
3120
  return this.__data__.has(h);
3121
3121
  }
3122
3122
  Cn.prototype.add = Cn.prototype.push = Sr, Cn.prototype.has = Yn;
3123
- function _t(h) {
3123
+ function Nt(h) {
3124
3124
  var v = this.__data__ = new bt(h);
3125
3125
  this.size = v.size;
3126
3126
  }
@@ -3143,11 +3143,11 @@ function mf() {
3143
3143
  var te = C.__data__;
3144
3144
  if (!Hn || te.length < t - 1)
3145
3145
  return te.push([h, v]), this.size = ++C.size, this;
3146
- C = this.__data__ = new Nt(te);
3146
+ C = this.__data__ = new _t(te);
3147
3147
  }
3148
3148
  return C.set(h, v), this.size = C.size, this;
3149
3149
  }
3150
- _t.prototype.clear = Or, _t.prototype.delete = Ar, _t.prototype.get = ms, _t.prototype.has = Ge, _t.prototype.set = ys;
3150
+ Nt.prototype.clear = Or, Nt.prototype.delete = Ar, Nt.prototype.get = ms, Nt.prototype.has = Ge, Nt.prototype.set = ys;
3151
3151
  function bs(h, v) {
3152
3152
  var C = yn(h), te = !C && zt(h), Me = !C && !te && Qn(h), ke = !C && !te && !Me && Cr(h), Xe = C || te || Me || ke, Qe = Xe ? un(h.length, String) : [], pt = Qe.length;
3153
3153
  for (var tt in h)
@@ -3187,18 +3187,18 @@ function mf() {
3187
3187
  Xe = !0, Ot = !1;
3188
3188
  }
3189
3189
  if (gt && !Ot)
3190
- return ke || (ke = new _t()), Xe || Cr(h) ? Jn(h, v, C, te, Me, ke) : ws(h, v, pt, C, te, Me, ke);
3190
+ return ke || (ke = new Nt()), Xe || Cr(h) ? Jn(h, v, C, te, Me, ke) : ws(h, v, pt, C, te, Me, ke);
3191
3191
  if (!(C & s)) {
3192
3192
  var vt = Ot && ct.call(h, "__wrapped__"), mt = Lt && ct.call(v, "__wrapped__");
3193
3193
  if (vt || mt) {
3194
3194
  var rn = vt ? h.value() : h, vn = mt ? v.value() : v;
3195
- return ke || (ke = new _t()), Me(rn, vn, C, te, ke);
3195
+ return ke || (ke = new Nt()), Me(rn, vn, C, te, ke);
3196
3196
  }
3197
3197
  }
3198
- return gt ? (ke || (ke = new _t()), hr(h, v, C, te, Me, ke)) : !1;
3198
+ return gt ? (ke || (ke = new Nt()), hr(h, v, C, te, Me, ke)) : !1;
3199
3199
  }
3200
3200
  function Vr(h) {
3201
- if (!_r(h) || Nr(h))
3201
+ if (!Nr(h) || _r(h))
3202
3202
  return !1;
3203
3203
  var v = xs(h) ? Yt : we;
3204
3204
  return v.test(Ct(h));
@@ -3363,7 +3363,7 @@ function mf() {
3363
3363
  var v = typeof h;
3364
3364
  return v == "string" || v == "number" || v == "symbol" || v == "boolean" ? h !== "__proto__" : h === null;
3365
3365
  }
3366
- function Nr(h) {
3366
+ function _r(h) {
3367
3367
  return !!at && at in h;
3368
3368
  }
3369
3369
  function mn(h) {
@@ -3402,7 +3402,7 @@ function mf() {
3402
3402
  return Ln(h, v);
3403
3403
  }
3404
3404
  function xs(h) {
3405
- if (!_r(h))
3405
+ if (!Nr(h))
3406
3406
  return !1;
3407
3407
  var v = Qt(h);
3408
3408
  return v == x || v == A || v == d || v == he;
@@ -3410,7 +3410,7 @@ function mf() {
3410
3410
  function qt(h) {
3411
3411
  return typeof h == "number" && h > -1 && h % 1 == 0 && h <= a;
3412
3412
  }
3413
- function _r(h) {
3413
+ function Nr(h) {
3414
3414
  var v = typeof h;
3415
3415
  return h != null && (v == "object" || v == "function");
3416
3416
  }
@@ -5552,13 +5552,13 @@ const fl = {
5552
5552
  }, Sf = new ir("direction", "dir", fl), Of = new Dn("direction", "ql-direction", fl), Af = new Fr("direction", "direction", fl), Tf = {
5553
5553
  scope: Pe.INLINE,
5554
5554
  whitelist: ["serif", "monospace"]
5555
- }, Nf = new Dn("font", "ql-font", Tf);
5555
+ }, _f = new Dn("font", "ql-font", Tf);
5556
5556
  class ob extends Fr {
5557
5557
  value(e) {
5558
5558
  return super.value(e).replace(/["']/g, "");
5559
5559
  }
5560
5560
  }
5561
- const _f = new ob("font", "font-family", Tf), Cf = new Dn("size", "ql-size", {
5561
+ const Nf = new ob("font", "font-family", Tf), Cf = new Dn("size", "ql-size", {
5562
5562
  scope: Pe.INLINE,
5563
5563
  whitelist: ["small", "large", "huge"]
5564
5564
  }), Lf = new Fr("size", "font-size", {
@@ -6045,8 +6045,8 @@ function hl(r) {
6045
6045
  function fb(r, e, t, n) {
6046
6046
  return e.prev == null && e.next == null ? t.prev == null && t.next == null ? n === 0 ? -1 : 1 : t.prev == null ? -1 : 1 : e.prev == null ? -1 : e.next == null ? 1 : null;
6047
6047
  }
6048
- const hb = /font-weight:\s*normal/, db = ["P", "OL", "UL"], Nu = (r) => r && db.includes(r.tagName), pb = (r) => {
6049
- Array.from(r.querySelectorAll("br")).filter((e) => Nu(e.previousElementSibling) && Nu(e.nextElementSibling)).forEach((e) => {
6048
+ const hb = /font-weight:\s*normal/, db = ["P", "OL", "UL"], _u = (r) => r && db.includes(r.tagName), pb = (r) => {
6049
+ Array.from(r.querySelectorAll("br")).filter((e) => _u(e.previousElementSibling) && _u(e.nextElementSibling)).forEach((e) => {
6050
6050
  var t;
6051
6051
  (t = e.parentNode) == null || t.removeChild(e);
6052
6052
  });
@@ -6113,7 +6113,7 @@ const Sb = [Eb, mb], Ob = (r) => {
6113
6113
  r.documentElement && Sb.forEach((e) => {
6114
6114
  e(r);
6115
6115
  });
6116
- }, Ab = wr("quill:clipboard"), Tb = [[Node.TEXT_NODE, Mb], [Node.TEXT_NODE, Cu], ["br", kb], [Node.ELEMENT_NODE, Cu], [Node.ELEMENT_NODE, Lb], [Node.ELEMENT_NODE, Cb], [Node.ELEMENT_NODE, Ib], ["li", qb], ["ol, ul", jb], ["pre", Rb], ["tr", $b], ["b", ia("bold")], ["i", ia("italic")], ["strike", ia("strike")], ["style", Pb]], Nb = [rb, Sf].reduce((r, e) => (r[e.keyName] = e, r), {}), _u = [xf, ul, ll, Af, _f, Lf].reduce((r, e) => (r[e.keyName] = e, r), {});
6116
+ }, Ab = wr("quill:clipboard"), Tb = [[Node.TEXT_NODE, Mb], [Node.TEXT_NODE, Cu], ["br", kb], [Node.ELEMENT_NODE, Cu], [Node.ELEMENT_NODE, Lb], [Node.ELEMENT_NODE, Cb], [Node.ELEMENT_NODE, Ib], ["li", qb], ["ol, ul", jb], ["pre", Rb], ["tr", $b], ["b", ia("bold")], ["i", ia("italic")], ["strike", ia("strike")], ["style", Pb]], _b = [rb, Sf].reduce((r, e) => (r[e.keyName] = e, r), {}), Nu = [xf, ul, ll, Af, Nf, Lf].reduce((r, e) => (r[e.keyName] = e, r), {});
6117
6117
  class kf extends Un {
6118
6118
  constructor(e, t) {
6119
6119
  super(e, t), this.quill.root.addEventListener("copy", (n) => this.onCaptureCopy(n, !1)), this.quill.root.addEventListener("cut", (n) => this.onCaptureCopy(n, !0)), this.quill.root.addEventListener("paste", this.onCapturePaste.bind(this)), this.matchers = [], Tb.concat(this.options.matchers ?? []).forEach((n) => {
@@ -6294,7 +6294,7 @@ function jr(r, e) {
6294
6294
  const t = e.query(r);
6295
6295
  return t && t.prototype instanceof an ? !1 : ["address", "article", "blockquote", "canvas", "dd", "div", "dl", "dt", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "iframe", "li", "main", "nav", "ol", "output", "p", "pre", "section", "table", "td", "tr", "ul", "video"].includes(r.tagName.toLowerCase());
6296
6296
  }
6297
- function _b(r, e) {
6297
+ function Nb(r, e) {
6298
6298
  return r.previousElementSibling && r.nextElementSibling && !jr(r.previousElementSibling, e) && !jr(r.nextElementSibling, e);
6299
6299
  }
6300
6300
  const Wi = /* @__PURE__ */ new WeakMap();
@@ -6314,7 +6314,7 @@ function Cb(r, e, t) {
6314
6314
  const n = ir.keys(r), s = Dn.keys(r), i = Fr.keys(r), a = {};
6315
6315
  return n.concat(s).concat(i).forEach((u) => {
6316
6316
  let f = t.query(u, Pe.ATTRIBUTE);
6317
- f != null && (a[f.attrName] = f.value(r), a[f.attrName]) || (f = Nb[u], f != null && (f.attrName === u || f.keyName === u) && (a[f.attrName] = f.value(r) || void 0), f = _u[u], f != null && (f.attrName === u || f.keyName === u) && (f = _u[u], a[f.attrName] = f.value(r) || void 0));
6317
+ f != null && (a[f.attrName] = f.value(r), a[f.attrName]) || (f = _b[u], f != null && (f.attrName === u || f.keyName === u) && (a[f.attrName] = f.value(r) || void 0), f = Nu[u], f != null && (f.attrName === u || f.keyName === u) && (f = Nu[u], a[f.attrName] = f.value(r) || void 0));
6318
6318
  }), Object.entries(a).reduce((u, f) => {
6319
6319
  let [d, m] = f;
6320
6320
  return fs(u, d, m, t);
@@ -6412,7 +6412,7 @@ function Mb(r, e, t) {
6412
6412
  return e.insert(n.trim());
6413
6413
  if (!Rf(r)) {
6414
6414
  if (n.trim().length === 0 && n.includes(`
6415
- `) && !_b(r, t))
6415
+ `) && !Nb(r, t))
6416
6416
  return e;
6417
6417
  n = n.replace(/[^\S\u00a0]/g, " "), n = n.replace(/ {2,}/g, " "), (r.previousSibling == null && r.parentElement != null && jr(r.parentElement, t) || r.previousSibling instanceof Element && jr(r.previousSibling, t)) && (n = n.replace(/^ /, "")), (r.nextSibling == null && r.parentElement != null && jr(r.parentElement, t) || r.nextSibling instanceof Element && jr(r.nextSibling, t)) && (n = n.replace(/ $/, "")), n = n.replaceAll(" ", " ");
6418
6418
  }
@@ -6429,7 +6429,7 @@ class Pf extends Un {
6429
6429
  });
6430
6430
  Ae(this, "currentRange", null);
6431
6431
  this.quill.on(ie.events.EDITOR_CHANGE, (s, i, a, u) => {
6432
- s === ie.events.SELECTION_CHANGE ? i && u !== ie.sources.SILENT && (this.currentRange = i) : s === ie.events.TEXT_CHANGE && (this.ignoreChange || (!this.options.userOnly || u === ie.sources.USER ? this.record(i, a) : this.transform(i)), this.currentRange = Na(this.currentRange, i));
6432
+ s === ie.events.SELECTION_CHANGE ? i && u !== ie.sources.SILENT && (this.currentRange = i) : s === ie.events.TEXT_CHANGE && (this.ignoreChange || (!this.options.userOnly || u === ie.sources.USER ? this.record(i, a) : this.transform(i)), this.currentRange = _a(this.currentRange, i));
6433
6433
  }), this.quill.keyboard.addBinding({
6434
6434
  key: "z",
6435
6435
  shortKey: !0
@@ -6451,7 +6451,7 @@ class Pf extends Un {
6451
6451
  const i = this.quill.getContents(), a = s.delta.invert(i);
6452
6452
  this.stack[n].push({
6453
6453
  delta: a,
6454
- range: Na(s.range, a)
6454
+ range: _a(s.range, a)
6455
6455
  }), this.lastRecorded = 0, this.ignoreChange = !0, this.quill.updateContents(s.delta, ie.sources.USER), this.ignoreChange = !1, this.restoreSelection(s);
6456
6456
  }
6457
6457
  clear() {
@@ -6510,7 +6510,7 @@ function Lu(r, e) {
6510
6510
  const s = r[n];
6511
6511
  r[n] = {
6512
6512
  delta: t.transform(s.delta, !0),
6513
- range: s.range && Na(s.range, t)
6513
+ range: s.range && _a(s.range, t)
6514
6514
  }, t = s.delta.transform(t), r[n].delta.length() === 0 && r.splice(n, 1);
6515
6515
  }
6516
6516
  }
@@ -6524,7 +6524,7 @@ function Bb(r, e) {
6524
6524
  let n = e.length() - t;
6525
6525
  return Db(r, e) && (n -= 1), n;
6526
6526
  }
6527
- function Na(r, e) {
6527
+ function _a(r, e) {
6528
6528
  if (!r) return r;
6529
6529
  const t = e.transformPosition(r.index), n = e.transformPosition(r.index + r.length);
6530
6530
  return {
@@ -6720,9 +6720,9 @@ const Gb = new Yb("indent", "ql-indent", {
6720
6720
  // @ts-expect-error
6721
6721
  whitelist: [1, 2, 3, 4, 5, 6, 7, 8]
6722
6722
  });
6723
- class _a extends Rt {
6723
+ class Na extends Rt {
6724
6724
  }
6725
- Ae(_a, "blotName", "blockquote"), Ae(_a, "tagName", "blockquote");
6725
+ Ae(Na, "blotName", "blockquote"), Ae(Na, "tagName", "blockquote");
6726
6726
  class Ca extends Rt {
6727
6727
  static formats(e) {
6728
6728
  return this.tagName.indexOf(e.tagName) + 1;
@@ -7443,7 +7443,7 @@ gl.DEFAULTS = {
7443
7443
  }
7444
7444
  }
7445
7445
  };
7446
- const e1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="13" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="9" y1="4" y2="4"/></svg>', t1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="14" x2="4" y1="14" y2="14"/><line class="ql-stroke" x1="12" x2="6" y1="4" y2="4"/></svg>', n1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="5" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="9" y1="4" y2="4"/></svg>', r1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="3" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="3" y1="4" y2="4"/></svg>', s1 = '<svg viewbox="0 0 18 18"><g class="ql-fill ql-color-label"><polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"/><rect height="1" width="1" x="4" y="4"/><polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"/><rect height="1" width="1" x="2" y="6"/><rect height="1" width="1" x="3" y="5"/><rect height="1" width="1" x="4" y="7"/><polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"/><rect height="1" width="1" x="2" y="12"/><rect height="1" width="1" x="2" y="9"/><rect height="1" width="1" x="2" y="15"/><polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"/><rect height="1" width="1" x="3" y="8"/><path d="M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z"/><path d="M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z"/><path d="M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z"/><rect height="1" width="1" x="12" y="2"/><rect height="1" width="1" x="11" y="3"/><path d="M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z"/><rect height="1" width="1" x="2" y="3"/><rect height="1" width="1" x="6" y="2"/><rect height="1" width="1" x="3" y="2"/><rect height="1" width="1" x="5" y="3"/><rect height="1" width="1" x="9" y="2"/><rect height="1" width="1" x="15" y="14"/><polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"/><rect height="1" width="1" x="13" y="7"/><rect height="1" width="1" x="15" y="5"/><rect height="1" width="1" x="14" y="6"/><rect height="1" width="1" x="15" y="8"/><rect height="1" width="1" x="14" y="9"/><path d="M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z"/><rect height="1" width="1" x="14" y="3"/><polygon points="12 6.868 12 6 11.62 6 12 6.868"/><rect height="1" width="1" x="15" y="2"/><rect height="1" width="1" x="12" y="5"/><rect height="1" width="1" x="13" y="4"/><polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"/><rect height="1" width="1" x="9" y="14"/><rect height="1" width="1" x="8" y="15"/><path d="M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z"/><rect height="1" width="1" x="5" y="15"/><path d="M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z"/><rect height="1" width="1" x="11" y="15"/><path d="M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z"/><rect height="1" width="1" x="14" y="15"/><rect height="1" width="1" x="15" y="11"/></g><polyline class="ql-stroke" points="5.5 13 9 5 12.5 13"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="11" y2="11"/></svg>', i1 = '<svg viewbox="0 0 18 18"><rect class="ql-fill ql-stroke" height="3" width="3" x="4" y="5"/><rect class="ql-fill ql-stroke" height="3" width="3" x="11" y="5"/><path class="ql-even ql-fill ql-stroke" d="M7,8c0,4.031-3,5-3,5"/><path class="ql-even ql-fill ql-stroke" d="M14,8c0,4.031-3,5-3,5"/></svg>', o1 = '<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z"/><path class="ql-stroke" d="M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z"/></svg>', a1 = '<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="5" x2="13" y1="3" y2="3"/><line class="ql-stroke" x1="6" x2="9.35" y1="12" y2="3"/><line class="ql-stroke" x1="11" x2="15" y1="11" y2="15"/><line class="ql-stroke" x1="15" x2="11" y1="11" y2="15"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="7" x="2" y="14"/></svg>', ju = '<svg viewbox="0 0 18 18"><polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"/><polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"/><line class="ql-stroke" x1="10" x2="8" y1="5" y2="13"/></svg>', l1 = '<svg viewbox="0 0 18 18"><line class="ql-color-label ql-stroke ql-transparent" x1="3" x2="15" y1="15" y2="15"/><polyline class="ql-stroke" points="5.5 11 9 3 12.5 11"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="9" y2="9"/></svg>', u1 = '<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"/><line class="ql-stroke ql-fill" x1="15" x2="11" y1="4" y2="4"/><path class="ql-fill" d="M11,3a3,3,0,0,0,0,6h1V3H11Z"/><rect class="ql-fill" height="11" width="1" x="11" y="4"/><rect class="ql-fill" height="11" width="1" x="13" y="4"/></svg>', c1 = '<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"/><line class="ql-stroke ql-fill" x1="9" x2="5" y1="4" y2="4"/><path class="ql-fill" d="M5,3A3,3,0,0,0,5,9H6V3H5Z"/><rect class="ql-fill" height="11" width="1" x="5" y="4"/><rect class="ql-fill" height="11" width="1" x="7" y="4"/></svg>', f1 = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z"/><rect class="ql-fill" height="1.6" rx="0.8" ry="0.8" width="5" x="5.15" y="6.2"/><path class="ql-fill" d="M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z"/></svg>', h1 = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z"/></svg>', d1 = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', p1 = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.65186,12.30664a2.6742,2.6742,0,0,1-2.915,2.68457,3.96592,3.96592,0,0,1-2.25537-.6709.56007.56007,0,0,1-.13232-.83594L11.64648,13c.209-.34082.48389-.36328.82471-.1543a2.32654,2.32654,0,0,0,1.12256.33008c.71484,0,1.12207-.35156,1.12207-.78125,0-.61523-.61621-.86816-1.46338-.86816H13.2085a.65159.65159,0,0,1-.68213-.41895l-.05518-.10937a.67114.67114,0,0,1,.14307-.78125l.71533-.86914a8.55289,8.55289,0,0,1,.68213-.7373V8.58887a3.93913,3.93913,0,0,1-.748.05469H11.9873a.54085.54085,0,0,1-.605-.60547V7.59863a.54085.54085,0,0,1,.605-.60547h3.75146a.53773.53773,0,0,1,.60547.59375v.17676a1.03723,1.03723,0,0,1-.27539.748L14.74854,10.0293A2.31132,2.31132,0,0,1,16.65186,12.30664ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', g1 = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm7.05371,7.96582v.38477c0,.39648-.165.60547-.46191.60547h-.47314v1.29785a.54085.54085,0,0,1-.605.60547h-.69336a.54085.54085,0,0,1-.605-.60547V12.95605H11.333a.5412.5412,0,0,1-.60547-.60547v-.15332a1.199,1.199,0,0,1,.22021-.748l2.56348-4.05957a.7819.7819,0,0,1,.72607-.39648h1.27637a.54085.54085,0,0,1,.605.60547v3.7627h.33008A.54055.54055,0,0,1,17.05371,11.96582ZM14.28125,8.7207h-.022a4.18969,4.18969,0,0,1-.38525.81348l-1.188,1.80469v.02246h1.5293V9.60059A7.04058,7.04058,0,0,1,14.28125,8.7207Z"/></svg>', m1 = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.74023,12.18555a2.75131,2.75131,0,0,1-2.91553,2.80566,3.908,3.908,0,0,1-2.25537-.68164.54809.54809,0,0,1-.13184-.8252L11.73438,13c.209-.34082.48389-.36328.8252-.1543a2.23757,2.23757,0,0,0,1.1001.33008,1.01827,1.01827,0,0,0,1.1001-.96777c0-.61621-.53906-.97949-1.25439-.97949a2.15554,2.15554,0,0,0-.64893.09961,1.15209,1.15209,0,0,1-.814.01074l-.12109-.04395a.64116.64116,0,0,1-.45117-.71484l.231-3.00391a.56666.56666,0,0,1,.62744-.583H15.541a.54085.54085,0,0,1,.605.60547v.43945a.54085.54085,0,0,1-.605.60547H13.41748l-.04395.72559a1.29306,1.29306,0,0,1-.04395.30859h.022a2.39776,2.39776,0,0,1,.57227-.07715A2.53266,2.53266,0,0,1,16.74023,12.18555ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', y1 = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M14.51758,9.64453a1.85627,1.85627,0,0,0-1.24316.38477H13.252a1.73532,1.73532,0,0,1,1.72754-1.4082,2.66491,2.66491,0,0,1,.5498.06641c.35254.05469.57227.01074.70508-.40723l.16406-.5166a.53393.53393,0,0,0-.373-.75977,4.83723,4.83723,0,0,0-1.17773-.14258c-2.43164,0-3.7627,2.17773-3.7627,4.43359,0,2.47559,1.60645,3.69629,3.19043,3.69629A2.70585,2.70585,0,0,0,16.96,12.19727,2.43861,2.43861,0,0,0,14.51758,9.64453Zm-.23047,3.58691c-.67187,0-1.22168-.81445-1.22168-1.45215,0-.47363.30762-.583.72559-.583.96875,0,1.27734.59375,1.27734,1.12207A.82182.82182,0,0,1,14.28711,13.23145ZM10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Z"/></svg>', b1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="13" y1="4" y2="4"/><line class="ql-stroke" x1="5" x2="11" y1="14" y2="14"/><line class="ql-stroke" x1="8" x2="10" y1="14" y2="4"/></svg>', v1 = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="10" width="12" x="3" y="4"/><circle class="ql-fill" cx="6" cy="7" r="1"/><polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"/></svg>', w1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"/></svg>', x1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="5 7 5 11 3 9 5 7"/></svg>', E1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="11" y1="7" y2="11"/><path class="ql-even ql-stroke" d="M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z"/><path class="ql-even ql-stroke" d="M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z"/></svg>', S1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="6" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="6" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="6" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="3" y1="4" y2="4"/><line class="ql-stroke" x1="3" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="3" y1="14" y2="14"/></svg>', O1 = '<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="9" x2="15" y1="4" y2="4"/><polyline class="ql-stroke" points="3 4 4 5 6 3"/><line class="ql-stroke" x1="9" x2="15" y1="14" y2="14"/><polyline class="ql-stroke" points="3 14 4 15 6 13"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="3 9 4 10 6 8"/></svg>', A1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="7" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="7" x2="15" y1="14" y2="14"/><line class="ql-stroke ql-thin" x1="2.5" x2="4.5" y1="5.5" y2="5.5"/><path class="ql-fill" d="M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z"/><path class="ql-stroke ql-thin" d="M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156"/><path class="ql-stroke ql-thin" d="M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109"/></svg>', T1 = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z"/><path class="ql-fill" d="M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z"/></svg>', N1 = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z"/><path class="ql-fill" d="M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z"/></svg>', _1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke ql-thin" x1="15.5" x2="2.5" y1="8.5" y2="9.5"/><path class="ql-fill" d="M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z"/><path class="ql-fill" d="M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z"/></svg>', C1 = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="2" width="3" x="5" y="5"/><rect class="ql-fill" height="2" width="4" x="9" y="5"/><g class="ql-fill ql-transparent"><rect height="2" width="3" x="5" y="8"/><rect height="2" width="4" x="9" y="8"/><rect height="2" width="3" x="5" y="11"/><rect height="2" width="4" x="9" y="11"/></g></svg>', L1 = '<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="12" x="3" y="15"/></svg>', k1 = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="12" width="1" x="5" y="3"/><rect class="ql-fill" height="12" width="1" x="12" y="3"/><rect class="ql-fill" height="2" width="8" x="5" y="8"/><rect class="ql-fill" height="1" width="3" x="3" y="5"/><rect class="ql-fill" height="1" width="3" x="3" y="7"/><rect class="ql-fill" height="1" width="3" x="3" y="10"/><rect class="ql-fill" height="1" width="3" x="3" y="12"/><rect class="ql-fill" height="1" width="3" x="12" y="5"/><rect class="ql-fill" height="1" width="3" x="12" y="7"/><rect class="ql-fill" height="1" width="3" x="12" y="10"/><rect class="ql-fill" height="1" width="3" x="12" y="12"/></svg>', vi = {
7446
+ const e1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="13" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="9" y1="4" y2="4"/></svg>', t1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="14" x2="4" y1="14" y2="14"/><line class="ql-stroke" x1="12" x2="6" y1="4" y2="4"/></svg>', n1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="5" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="9" y1="4" y2="4"/></svg>', r1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="3" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="3" y1="4" y2="4"/></svg>', s1 = '<svg viewbox="0 0 18 18"><g class="ql-fill ql-color-label"><polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"/><rect height="1" width="1" x="4" y="4"/><polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"/><rect height="1" width="1" x="2" y="6"/><rect height="1" width="1" x="3" y="5"/><rect height="1" width="1" x="4" y="7"/><polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"/><rect height="1" width="1" x="2" y="12"/><rect height="1" width="1" x="2" y="9"/><rect height="1" width="1" x="2" y="15"/><polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"/><rect height="1" width="1" x="3" y="8"/><path d="M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z"/><path d="M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z"/><path d="M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z"/><rect height="1" width="1" x="12" y="2"/><rect height="1" width="1" x="11" y="3"/><path d="M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z"/><rect height="1" width="1" x="2" y="3"/><rect height="1" width="1" x="6" y="2"/><rect height="1" width="1" x="3" y="2"/><rect height="1" width="1" x="5" y="3"/><rect height="1" width="1" x="9" y="2"/><rect height="1" width="1" x="15" y="14"/><polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"/><rect height="1" width="1" x="13" y="7"/><rect height="1" width="1" x="15" y="5"/><rect height="1" width="1" x="14" y="6"/><rect height="1" width="1" x="15" y="8"/><rect height="1" width="1" x="14" y="9"/><path d="M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z"/><rect height="1" width="1" x="14" y="3"/><polygon points="12 6.868 12 6 11.62 6 12 6.868"/><rect height="1" width="1" x="15" y="2"/><rect height="1" width="1" x="12" y="5"/><rect height="1" width="1" x="13" y="4"/><polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"/><rect height="1" width="1" x="9" y="14"/><rect height="1" width="1" x="8" y="15"/><path d="M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z"/><rect height="1" width="1" x="5" y="15"/><path d="M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z"/><rect height="1" width="1" x="11" y="15"/><path d="M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z"/><rect height="1" width="1" x="14" y="15"/><rect height="1" width="1" x="15" y="11"/></g><polyline class="ql-stroke" points="5.5 13 9 5 12.5 13"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="11" y2="11"/></svg>', i1 = '<svg viewbox="0 0 18 18"><rect class="ql-fill ql-stroke" height="3" width="3" x="4" y="5"/><rect class="ql-fill ql-stroke" height="3" width="3" x="11" y="5"/><path class="ql-even ql-fill ql-stroke" d="M7,8c0,4.031-3,5-3,5"/><path class="ql-even ql-fill ql-stroke" d="M14,8c0,4.031-3,5-3,5"/></svg>', o1 = '<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z"/><path class="ql-stroke" d="M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z"/></svg>', a1 = '<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="5" x2="13" y1="3" y2="3"/><line class="ql-stroke" x1="6" x2="9.35" y1="12" y2="3"/><line class="ql-stroke" x1="11" x2="15" y1="11" y2="15"/><line class="ql-stroke" x1="15" x2="11" y1="11" y2="15"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="7" x="2" y="14"/></svg>', ju = '<svg viewbox="0 0 18 18"><polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"/><polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"/><line class="ql-stroke" x1="10" x2="8" y1="5" y2="13"/></svg>', l1 = '<svg viewbox="0 0 18 18"><line class="ql-color-label ql-stroke ql-transparent" x1="3" x2="15" y1="15" y2="15"/><polyline class="ql-stroke" points="5.5 11 9 3 12.5 11"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="9" y2="9"/></svg>', u1 = '<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"/><line class="ql-stroke ql-fill" x1="15" x2="11" y1="4" y2="4"/><path class="ql-fill" d="M11,3a3,3,0,0,0,0,6h1V3H11Z"/><rect class="ql-fill" height="11" width="1" x="11" y="4"/><rect class="ql-fill" height="11" width="1" x="13" y="4"/></svg>', c1 = '<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"/><line class="ql-stroke ql-fill" x1="9" x2="5" y1="4" y2="4"/><path class="ql-fill" d="M5,3A3,3,0,0,0,5,9H6V3H5Z"/><rect class="ql-fill" height="11" width="1" x="5" y="4"/><rect class="ql-fill" height="11" width="1" x="7" y="4"/></svg>', f1 = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z"/><rect class="ql-fill" height="1.6" rx="0.8" ry="0.8" width="5" x="5.15" y="6.2"/><path class="ql-fill" d="M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z"/></svg>', h1 = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z"/></svg>', d1 = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', p1 = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.65186,12.30664a2.6742,2.6742,0,0,1-2.915,2.68457,3.96592,3.96592,0,0,1-2.25537-.6709.56007.56007,0,0,1-.13232-.83594L11.64648,13c.209-.34082.48389-.36328.82471-.1543a2.32654,2.32654,0,0,0,1.12256.33008c.71484,0,1.12207-.35156,1.12207-.78125,0-.61523-.61621-.86816-1.46338-.86816H13.2085a.65159.65159,0,0,1-.68213-.41895l-.05518-.10937a.67114.67114,0,0,1,.14307-.78125l.71533-.86914a8.55289,8.55289,0,0,1,.68213-.7373V8.58887a3.93913,3.93913,0,0,1-.748.05469H11.9873a.54085.54085,0,0,1-.605-.60547V7.59863a.54085.54085,0,0,1,.605-.60547h3.75146a.53773.53773,0,0,1,.60547.59375v.17676a1.03723,1.03723,0,0,1-.27539.748L14.74854,10.0293A2.31132,2.31132,0,0,1,16.65186,12.30664ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', g1 = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm7.05371,7.96582v.38477c0,.39648-.165.60547-.46191.60547h-.47314v1.29785a.54085.54085,0,0,1-.605.60547h-.69336a.54085.54085,0,0,1-.605-.60547V12.95605H11.333a.5412.5412,0,0,1-.60547-.60547v-.15332a1.199,1.199,0,0,1,.22021-.748l2.56348-4.05957a.7819.7819,0,0,1,.72607-.39648h1.27637a.54085.54085,0,0,1,.605.60547v3.7627h.33008A.54055.54055,0,0,1,17.05371,11.96582ZM14.28125,8.7207h-.022a4.18969,4.18969,0,0,1-.38525.81348l-1.188,1.80469v.02246h1.5293V9.60059A7.04058,7.04058,0,0,1,14.28125,8.7207Z"/></svg>', m1 = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.74023,12.18555a2.75131,2.75131,0,0,1-2.91553,2.80566,3.908,3.908,0,0,1-2.25537-.68164.54809.54809,0,0,1-.13184-.8252L11.73438,13c.209-.34082.48389-.36328.8252-.1543a2.23757,2.23757,0,0,0,1.1001.33008,1.01827,1.01827,0,0,0,1.1001-.96777c0-.61621-.53906-.97949-1.25439-.97949a2.15554,2.15554,0,0,0-.64893.09961,1.15209,1.15209,0,0,1-.814.01074l-.12109-.04395a.64116.64116,0,0,1-.45117-.71484l.231-3.00391a.56666.56666,0,0,1,.62744-.583H15.541a.54085.54085,0,0,1,.605.60547v.43945a.54085.54085,0,0,1-.605.60547H13.41748l-.04395.72559a1.29306,1.29306,0,0,1-.04395.30859h.022a2.39776,2.39776,0,0,1,.57227-.07715A2.53266,2.53266,0,0,1,16.74023,12.18555ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', y1 = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M14.51758,9.64453a1.85627,1.85627,0,0,0-1.24316.38477H13.252a1.73532,1.73532,0,0,1,1.72754-1.4082,2.66491,2.66491,0,0,1,.5498.06641c.35254.05469.57227.01074.70508-.40723l.16406-.5166a.53393.53393,0,0,0-.373-.75977,4.83723,4.83723,0,0,0-1.17773-.14258c-2.43164,0-3.7627,2.17773-3.7627,4.43359,0,2.47559,1.60645,3.69629,3.19043,3.69629A2.70585,2.70585,0,0,0,16.96,12.19727,2.43861,2.43861,0,0,0,14.51758,9.64453Zm-.23047,3.58691c-.67187,0-1.22168-.81445-1.22168-1.45215,0-.47363.30762-.583.72559-.583.96875,0,1.27734.59375,1.27734,1.12207A.82182.82182,0,0,1,14.28711,13.23145ZM10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Z"/></svg>', b1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="13" y1="4" y2="4"/><line class="ql-stroke" x1="5" x2="11" y1="14" y2="14"/><line class="ql-stroke" x1="8" x2="10" y1="14" y2="4"/></svg>', v1 = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="10" width="12" x="3" y="4"/><circle class="ql-fill" cx="6" cy="7" r="1"/><polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"/></svg>', w1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"/></svg>', x1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="5 7 5 11 3 9 5 7"/></svg>', E1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="11" y1="7" y2="11"/><path class="ql-even ql-stroke" d="M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z"/><path class="ql-even ql-stroke" d="M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z"/></svg>', S1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="6" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="6" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="6" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="3" y1="4" y2="4"/><line class="ql-stroke" x1="3" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="3" y1="14" y2="14"/></svg>', O1 = '<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="9" x2="15" y1="4" y2="4"/><polyline class="ql-stroke" points="3 4 4 5 6 3"/><line class="ql-stroke" x1="9" x2="15" y1="14" y2="14"/><polyline class="ql-stroke" points="3 14 4 15 6 13"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="3 9 4 10 6 8"/></svg>', A1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="7" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="7" x2="15" y1="14" y2="14"/><line class="ql-stroke ql-thin" x1="2.5" x2="4.5" y1="5.5" y2="5.5"/><path class="ql-fill" d="M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z"/><path class="ql-stroke ql-thin" d="M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156"/><path class="ql-stroke ql-thin" d="M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109"/></svg>', T1 = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z"/><path class="ql-fill" d="M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z"/></svg>', _1 = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z"/><path class="ql-fill" d="M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z"/></svg>', N1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke ql-thin" x1="15.5" x2="2.5" y1="8.5" y2="9.5"/><path class="ql-fill" d="M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z"/><path class="ql-fill" d="M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z"/></svg>', C1 = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="2" width="3" x="5" y="5"/><rect class="ql-fill" height="2" width="4" x="9" y="5"/><g class="ql-fill ql-transparent"><rect height="2" width="3" x="5" y="8"/><rect height="2" width="4" x="9" y="8"/><rect height="2" width="3" x="5" y="11"/><rect height="2" width="4" x="9" y="11"/></g></svg>', L1 = '<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="12" x="3" y="15"/></svg>', k1 = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="12" width="1" x="5" y="3"/><rect class="ql-fill" height="12" width="1" x="12" y="3"/><rect class="ql-fill" height="2" width="8" x="5" y="8"/><rect class="ql-fill" height="1" width="3" x="3" y="5"/><rect class="ql-fill" height="1" width="3" x="3" y="7"/><rect class="ql-fill" height="1" width="3" x="3" y="10"/><rect class="ql-fill" height="1" width="3" x="3" y="12"/><rect class="ql-fill" height="1" width="3" x="12" y="5"/><rect class="ql-fill" height="1" width="3" x="12" y="7"/><rect class="ql-fill" height="1" width="3" x="12" y="10"/><rect class="ql-fill" height="1" width="3" x="12" y="12"/></svg>', vi = {
7447
7447
  align: {
7448
7448
  "": e1,
7449
7449
  center: t1,
@@ -7484,9 +7484,9 @@ const e1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="
7484
7484
  },
7485
7485
  script: {
7486
7486
  sub: T1,
7487
- super: N1
7487
+ super: _1
7488
7488
  },
7489
- strike: _1,
7489
+ strike: N1,
7490
7490
  table: C1,
7491
7491
  underline: L1,
7492
7492
  video: k1
@@ -7633,7 +7633,7 @@ class Df {
7633
7633
  }
7634
7634
  }
7635
7635
  const q1 = [!1, "center", "right", "justify"], j1 = ["#000000", "#e60000", "#ff9900", "#ffff00", "#008a00", "#0066cc", "#9933ff", "#ffffff", "#facccc", "#ffebcc", "#ffffcc", "#cce8cc", "#cce0f5", "#ebd6ff", "#bbbbbb", "#f06666", "#ffc266", "#ffff66", "#66b966", "#66a3e0", "#c285ff", "#888888", "#a10000", "#b26b00", "#b2b200", "#006100", "#0047b2", "#6b24b2", "#444444", "#5c0000", "#663d00", "#666600", "#003700", "#002966", "#3d1466"], I1 = [!1, "serif", "monospace"], $1 = ["1", "2", "3", !1], M1 = ["small", !1, "large", "huge"];
7636
- class Ni extends Bs {
7636
+ class _i extends Bs {
7637
7637
  constructor(e, t) {
7638
7638
  super(e, t);
7639
7639
  const n = (s) => {
@@ -7686,7 +7686,7 @@ class Ni extends Bs {
7686
7686
  this.quill.on(Ce.events.EDITOR_CHANGE, n);
7687
7687
  }
7688
7688
  }
7689
- Ni.DEFAULTS = Mr({}, Bs.DEFAULTS, {
7689
+ _i.DEFAULTS = Mr({}, Bs.DEFAULTS, {
7690
7690
  modules: {
7691
7691
  toolbar: {
7692
7692
  handlers: {
@@ -7821,7 +7821,7 @@ class Uf extends Bf {
7821
7821
  }
7822
7822
  }
7823
7823
  Ae(Uf, "TEMPLATE", ['<span class="ql-tooltip-arrow"></span>', '<div class="ql-tooltip-editor">', '<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">', '<a class="ql-close"></a>', "</div>"].join(""));
7824
- class Ff extends Ni {
7824
+ class Ff extends _i {
7825
7825
  constructor(e, t) {
7826
7826
  t.modules.toolbar != null && t.modules.toolbar.container == null && (t.modules.toolbar.container = B1), super(e, t), this.quill.container.classList.add("ql-bubble");
7827
7827
  }
@@ -7829,7 +7829,7 @@ class Ff extends Ni {
7829
7829
  this.tooltip = new Uf(this.quill, this.options.bounds), e.container != null && (this.tooltip.root.appendChild(e.container), this.buildButtons(e.container.querySelectorAll("button"), vi), this.buildPickers(e.container.querySelectorAll("select"), vi));
7830
7830
  }
7831
7831
  }
7832
- Ff.DEFAULTS = Mr({}, Ni.DEFAULTS, {
7832
+ Ff.DEFAULTS = Mr({}, _i.DEFAULTS, {
7833
7833
  modules: {
7834
7834
  toolbar: {
7835
7835
  handlers: {
@@ -7884,7 +7884,7 @@ class Kf extends Bf {
7884
7884
  }
7885
7885
  }
7886
7886
  Ae(Kf, "TEMPLATE", ['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>', '<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">', '<a class="ql-action"></a>', '<a class="ql-remove"></a>'].join(""));
7887
- class Hf extends Ni {
7887
+ class Hf extends _i {
7888
7888
  constructor(e, t) {
7889
7889
  t.modules.toolbar != null && t.modules.toolbar.container == null && (t.modules.toolbar.container = U1), super(e, t), this.quill.container.classList.add("ql-snow");
7890
7890
  }
@@ -7897,7 +7897,7 @@ class Hf extends Ni {
7897
7897
  }));
7898
7898
  }
7899
7899
  }
7900
- Hf.DEFAULTS = Mr({}, Ni.DEFAULTS, {
7900
+ Hf.DEFAULTS = Mr({}, _i.DEFAULTS, {
7901
7901
  modules: {
7902
7902
  toolbar: {
7903
7903
  handlers: {
@@ -7924,13 +7924,13 @@ ie.register({
7924
7924
  "attributors/class/background": ib,
7925
7925
  "attributors/class/color": sb,
7926
7926
  "attributors/class/direction": Of,
7927
- "attributors/class/font": Nf,
7927
+ "attributors/class/font": _f,
7928
7928
  "attributors/class/size": Cf,
7929
7929
  "attributors/style/align": xf,
7930
7930
  "attributors/style/background": ul,
7931
7931
  "attributors/style/color": ll,
7932
7932
  "attributors/style/direction": Af,
7933
- "attributors/style/font": _f,
7933
+ "attributors/style/font": Nf,
7934
7934
  "attributors/style/size": Lf
7935
7935
  }, !0);
7936
7936
  ie.register({
@@ -7939,9 +7939,9 @@ ie.register({
7939
7939
  "formats/indent": Gb,
7940
7940
  "formats/background": ul,
7941
7941
  "formats/color": ll,
7942
- "formats/font": Nf,
7942
+ "formats/font": _f,
7943
7943
  "formats/size": Cf,
7944
- "formats/blockquote": _a,
7944
+ "formats/blockquote": Na,
7945
7945
  "formats/code-block": Bt,
7946
7946
  "formats/header": Ca,
7947
7947
  "formats/list": Ti,
@@ -8151,7 +8151,7 @@ const s0 = {
8151
8151
  " 项"
8152
8152
  ] })
8153
8153
  };
8154
- function _x(r) {
8154
+ function Cx(r) {
8155
8155
  return /* @__PURE__ */ Wt.jsx(Wf, { children: /* @__PURE__ */ Wt.jsx(Yh, { ...s0, ...r }) });
8156
8156
  }
8157
8157
  const Be = (r) => typeof r == "string", ni = () => {
@@ -9530,7 +9530,7 @@ class wi extends To {
9530
9530
  }
9531
9531
  const Ut = wi.createInstance();
9532
9532
  Ut.createInstance = wi.createInstance;
9533
- const S0 = Ut.createInstance, O0 = Ut.dir, A0 = Ut.init, T0 = Ut.loadResources, N0 = Ut.reloadResources, _0 = Ut.use, C0 = Ut.changeLanguage, L0 = Ut.getFixedT, k0 = Ut.t, R0 = Ut.exists, P0 = Ut.setDefaultNamespace, q0 = Ut.hasLoadedNamespace, j0 = Ut.loadNamespaces, I0 = Ut.loadLanguages;
9533
+ const S0 = Ut.createInstance, O0 = Ut.dir, A0 = Ut.init, T0 = Ut.loadResources, _0 = Ut.reloadResources, N0 = Ut.use, C0 = Ut.changeLanguage, L0 = Ut.getFixedT, k0 = Ut.t, R0 = Ut.exists, P0 = Ut.setDefaultNamespace, q0 = Ut.hasLoadedNamespace, j0 = Ut.loadNamespaces, I0 = Ut.loadLanguages;
9534
9534
  function Ia(r) {
9535
9535
  "@babel/helpers - typeof";
9536
9536
  return Ia = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
@@ -9603,7 +9603,7 @@ typeof ActiveXObject == "function" && (typeof global < "u" && global.ActiveXObje
9603
9603
  typeof Br != "function" && (Br = void 0);
9604
9604
  if (!Br && !xi && !po)
9605
9605
  try {
9606
- import("./browser-ponyfill-5DuL6KDY.js").then((r) => r.b).then(function(r) {
9606
+ import("./browser-ponyfill-DrgKYU6q.js").then((r) => r.b).then(function(r) {
9607
9607
  Br = r.default;
9608
9608
  }).catch(function() {
9609
9609
  });
@@ -10027,18 +10027,18 @@ var nv = {
10027
10027
  t && lc() && window.localStorage.setItem(t, r);
10028
10028
  }
10029
10029
  };
10030
- let Ns = null;
10030
+ let _s = null;
10031
10031
  const uc = () => {
10032
- if (Ns !== null) return Ns;
10032
+ if (_s !== null) return _s;
10033
10033
  try {
10034
- if (Ns = typeof window < "u" && window.sessionStorage !== null, !Ns)
10034
+ if (_s = typeof window < "u" && window.sessionStorage !== null, !_s)
10035
10035
  return !1;
10036
10036
  const r = "i18next.translate.boo";
10037
10037
  window.sessionStorage.setItem(r, "foo"), window.sessionStorage.removeItem(r);
10038
10038
  } catch {
10039
- Ns = !1;
10039
+ _s = !1;
10040
10040
  }
10041
- return Ns;
10041
+ return _s;
10042
10042
  };
10043
10043
  var rv = {
10044
10044
  name: "sessionStorage",
@@ -10233,8 +10233,8 @@ function dv() {
10233
10233
  }
10234
10234
  var O = l.indexOf(".");
10235
10235
  if (O !== -1) {
10236
- var N = o[l.substr(0, O)];
10237
- return N == null ? void 0 : ue(N, l.substr(O + 1));
10236
+ var _ = o[l.substr(0, O)];
10237
+ return _ == null ? void 0 : ue(_, l.substr(O + 1));
10238
10238
  }
10239
10239
  }
10240
10240
  function ne(o, l, c) {
@@ -10242,8 +10242,8 @@ function dv() {
10242
10242
  he(typeof c != "string" && "length" in c);
10243
10243
  for (var p = 0, g = l.length; p < g; ++p) ne(o, l[p], c[p]);
10244
10244
  } else {
10245
- var b, O, N = l.indexOf(".");
10246
- N !== -1 ? (b = l.substr(0, N), (O = l.substr(N + 1)) === "" ? c === void 0 ? u(o) && !isNaN(parseInt(b)) ? o.splice(b, 1) : delete o[b] : o[b] = c : ne(N = !(N = o[b]) || !w(o, b) ? o[b] = {} : N, O, c)) : c === void 0 ? u(o) && !isNaN(parseInt(l)) ? o.splice(l, 1) : delete o[l] : o[l] = c;
10245
+ var b, O, _ = l.indexOf(".");
10246
+ _ !== -1 ? (b = l.substr(0, _), (O = l.substr(_ + 1)) === "" ? c === void 0 ? u(o) && !isNaN(parseInt(b)) ? o.splice(b, 1) : delete o[b] : o[b] = c : ne(_ = !(_ = o[b]) || !w(o, b) ? o[b] = {} : _, O, c)) : c === void 0 ? u(o) && !isNaN(parseInt(l)) ? o.splice(l, 1) : delete o[l] : o[l] = c;
10247
10247
  }
10248
10248
  }
10249
10249
  function re(o) {
@@ -10274,8 +10274,8 @@ function dv() {
10274
10274
  for (var g = 0, b = c.length; g < b; ++g) p.push(l(c[g]));
10275
10275
  } else if (S.has(c.constructor)) p = c;
10276
10276
  else {
10277
- var O, N = d(c);
10278
- for (O in p = N === Object.prototype ? {} : Object.create(N), Y.set(c, p), c) w(c, O) && (p[O] = l(c[O]));
10277
+ var O, _ = d(c);
10278
+ for (O in p = _ === Object.prototype ? {} : Object.create(_), Y.set(c, p), c) w(c, O) && (p[O] = l(c[O]));
10279
10279
  }
10280
10280
  return p;
10281
10281
  }(o), Y = null, o;
@@ -10416,7 +10416,7 @@ function dv() {
10416
10416
  function L(o) {
10417
10417
  At = o;
10418
10418
  }
10419
- var Ne = {}, xe = 100, st = typeof Promise > "u" ? [] : function() {
10419
+ var _e = {}, xe = 100, st = typeof Promise > "u" ? [] : function() {
10420
10420
  var o = Promise.resolve();
10421
10421
  if (typeof crypto > "u" || !crypto.subtle) return [o, d(o), o];
10422
10422
  var l = crypto.subtle.digest("SHA-512", new Uint8Array([0]));
@@ -10429,7 +10429,7 @@ function dv() {
10429
10429
  this._listeners = [], this._lib = !1;
10430
10430
  var l = this._PSD = Ee;
10431
10431
  if (typeof o != "function") {
10432
- if (o !== Ne) throw new TypeError("Not a function");
10432
+ if (o !== _e) throw new TypeError("Not a function");
10433
10433
  return this._state = arguments[1], this._value = arguments[2], void (this._state === !1 && ur(this, this._value));
10434
10434
  }
10435
10435
  this._state = null, this._value = null, ++l.ref, function c(p, g) {
@@ -10438,8 +10438,8 @@ function dv() {
10438
10438
  if (p._state === null) {
10439
10439
  if (b === p) throw new TypeError("A promise cannot be resolved with itself.");
10440
10440
  var O = p._lib && Ht();
10441
- b && typeof b.then == "function" ? c(p, function(N, P) {
10442
- b instanceof ye ? b._then(N, P) : b.then(N, P);
10441
+ b && typeof b.then == "function" ? c(p, function(_, P) {
10442
+ b instanceof ye ? b._then(_, P) : b.then(_, P);
10443
10443
  }) : (p._state = !0, p._value = b, Hn(p)), O && Tn();
10444
10444
  }
10445
10445
  }, ur.bind(null, p));
@@ -10451,14 +10451,14 @@ function dv() {
10451
10451
  var lr = { get: function() {
10452
10452
  var o = Ee, l = Er;
10453
10453
  function c(p, g) {
10454
- var b = this, O = !o.global && (o !== Ee || l !== Er), N = O && !dn(), P = new ye(function(j, D) {
10455
- cr(b, new Kn(ps(p, o, O, N), ps(g, o, O, N), j, D, o));
10454
+ var b = this, O = !o.global && (o !== Ee || l !== Er), _ = O && !dn(), P = new ye(function(j, D) {
10455
+ cr(b, new Kn(ps(p, o, O, _), ps(g, o, O, _), j, D, o));
10456
10456
  });
10457
10457
  return this._consoleTask && (P._consoleTask = this._consoleTask), P;
10458
10458
  }
10459
- return c.prototype = Ne, c;
10459
+ return c.prototype = _e, c;
10460
10460
  }, set: function(o) {
10461
- A(this, "then", o && o.prototype === Ne ? lr : { get: function() {
10461
+ A(this, "then", o && o.prototype === _e ? lr : { get: function() {
10462
10462
  return o;
10463
10463
  }, set: lr.set });
10464
10464
  } };
@@ -10502,7 +10502,7 @@ function dv() {
10502
10502
  }
10503
10503
  }
10504
10504
  function Hr() {
10505
- Nn(St, function() {
10505
+ _n(St, function() {
10506
10506
  Ht() && Tn();
10507
10507
  });
10508
10508
  }
@@ -10528,7 +10528,7 @@ function dv() {
10528
10528
  for (var l = Pt.slice(0), c = l.length; c; ) l[--c]();
10529
10529
  }
10530
10530
  function xr(o) {
10531
- return new ye(Ne, !1, o);
10531
+ return new ye(_e, !1, o);
10532
10532
  }
10533
10533
  function it(o, l) {
10534
10534
  var c = Ee;
@@ -10585,7 +10585,7 @@ function dv() {
10585
10585
  }, resolve: function(o) {
10586
10586
  return o instanceof ye ? o : o && typeof o.then == "function" ? new ye(function(l, c) {
10587
10587
  o.then(l, c);
10588
- }) : new ye(Ne, !0, o);
10588
+ }) : new ye(_e, !0, o);
10589
10589
  }, reject: xr, race: function() {
10590
10590
  var o = G.apply(null, arguments).map(bt);
10591
10591
  return new ye(function(l, c) {
@@ -10599,7 +10599,7 @@ function dv() {
10599
10599
  return Ee = o;
10600
10600
  } }, totalEchoes: { get: function() {
10601
10601
  return Er;
10602
- } }, newPSD: hn, usePSD: Nn, scheduler: { get: function() {
10602
+ } }, newPSD: hn, usePSD: _n, scheduler: { get: function() {
10603
10603
  return yt;
10604
10604
  }, set: function(o) {
10605
10605
  yt = o;
@@ -10612,11 +10612,11 @@ function dv() {
10612
10612
  return hn(function(g, b) {
10613
10613
  var O = Ee;
10614
10614
  O.unhandleds = [], O.onunhandled = b, O.finalize = et(function() {
10615
- var N, P = this;
10616
- N = function() {
10615
+ var _, P = this;
10616
+ _ = function() {
10617
10617
  P.unhandleds.length === 0 ? g() : b(P.unhandleds[0]);
10618
10618
  }, Pt.push(function j() {
10619
- N(), Pt.splice(Pt.indexOf(j), 1);
10619
+ _(), Pt.splice(Pt.indexOf(j), 1);
10620
10620
  }), ++Kt, yt(function() {
10621
10621
  --Kt == 0 && Zt();
10622
10622
  }, []);
@@ -10644,10 +10644,10 @@ function dv() {
10644
10644
  o.length === 0 && c(new AggregateError([]));
10645
10645
  var p = o.length, g = new Array(p);
10646
10646
  o.forEach(function(b, O) {
10647
- return ye.resolve(b).then(function(N) {
10648
- return l(N);
10649
- }, function(N) {
10650
- g[O] = N, --p || c(new AggregateError(g));
10647
+ return ye.resolve(b).then(function(_) {
10648
+ return l(_);
10649
+ }, function(_) {
10650
+ g[O] = _, --p || c(new AggregateError(g));
10651
10651
  });
10652
10652
  });
10653
10653
  });
@@ -10657,7 +10657,7 @@ function dv() {
10657
10657
  var g = Ee, b = Object.create(g);
10658
10658
  return b.parent = g, b.ref = 0, b.global = !1, b.id = ++Ws, St.env, b.env = $e ? { Promise: ye, PromiseProp: { value: ye, configurable: !0, writable: !0 }, all: ye.all, race: ye.race, allSettled: ye.allSettled, any: ye.any, resolve: ye.resolve, reject: ye.reject } : {}, l && f(b, l), ++g.ref, b.finalize = function() {
10659
10659
  --this.parent.ref || this.parent.finalize();
10660
- }, p = Nn(b, o, c, p), b.ref === 0 && b.finalize(), p;
10660
+ }, p = _n(b, o, c, p), b.ref === 0 && b.finalize(), p;
10661
10661
  }
10662
10662
  function Vn() {
10663
10663
  return ht.id || (ht.id = ++hs), ++ht.awaits, ht.echoes += xe, ht.id;
@@ -10686,7 +10686,7 @@ function dv() {
10686
10686
  var o = i.Promise;
10687
10687
  return $e ? { Promise: o, PromiseProp: Object.getOwnPropertyDescriptor(i, "Promise"), all: o.all, race: o.race, allSettled: o.allSettled, any: o.any, resolve: o.resolve, reject: o.reject } : {};
10688
10688
  }
10689
- function Nn(o, l, c, p, g) {
10689
+ function _n(o, l, c, p, g) {
10690
10690
  var b = Ee;
10691
10691
  try {
10692
10692
  return pn(o, !0), l(c, p, g);
@@ -10705,12 +10705,12 @@ function dv() {
10705
10705
  }
10706
10706
  };
10707
10707
  }
10708
- function Nt(o) {
10708
+ function _t(o) {
10709
10709
  Promise === Ye && ht.echoes === 0 ? dt === 0 ? o() : enqueueNativeMicroTask(o) : setTimeout(o, 0);
10710
10710
  }
10711
10711
  ("" + wn).indexOf("[native code]") === -1 && (Vn = dn = Oe);
10712
- var lt = ye.reject, _n = "￿", Xt = "Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.", gs = "String expected.", Wn = [], Cn = "__dbnames", Sr = "readonly", Yn = "readwrite";
10713
- function _t(o, l) {
10712
+ var lt = ye.reject, Nn = "￿", Xt = "Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.", gs = "String expected.", Wn = [], Cn = "__dbnames", Sr = "readonly", Yn = "readwrite";
10713
+ function Nt(o, l) {
10714
10714
  return o ? l ? function() {
10715
10715
  return o.apply(this, arguments) && l.apply(this, arguments);
10716
10716
  } : o : l;
@@ -10737,16 +10737,16 @@ function dv() {
10737
10737
  return l < o ? 1 : o < l ? -1 : 0;
10738
10738
  case "binary":
10739
10739
  return function(g, b) {
10740
- for (var O = g.length, N = b.length, P = O < N ? O : N, j = 0; j < P; ++j) if (g[j] !== b[j]) return g[j] < b[j] ? -1 : 1;
10741
- return O === N ? 0 : O < N ? -1 : 1;
10740
+ for (var O = g.length, _ = b.length, P = O < _ ? O : _, j = 0; j < P; ++j) if (g[j] !== b[j]) return g[j] < b[j] ? -1 : 1;
10741
+ return O === _ ? 0 : O < _ ? -1 : 1;
10742
10742
  }(bs(o), bs(l));
10743
10743
  case "Array":
10744
10744
  return function(g, b) {
10745
- for (var O = g.length, N = b.length, P = O < N ? O : N, j = 0; j < P; ++j) {
10745
+ for (var O = g.length, _ = b.length, P = O < _ ? O : _, j = 0; j < P; ++j) {
10746
10746
  var D = Ge(g[j], b[j]);
10747
10747
  if (D !== 0) return D;
10748
10748
  }
10749
- return O === N ? 0 : O < N ? -1 : 1;
10749
+ return O === _ ? 0 : O < _ ? -1 : 1;
10750
10750
  }(o, l);
10751
10751
  }
10752
10752
  } catch {
@@ -10762,34 +10762,34 @@ function dv() {
10762
10762
  }
10763
10763
  var fr = (nt.prototype._trans = function(o, l, c) {
10764
10764
  var p = this._tx || Ee.trans, g = this.name, b = At && typeof console < "u" && console.createTask && console.createTask("Dexie: ".concat(o === "readonly" ? "read" : "write", " ").concat(this.name));
10765
- function O(j, D, _) {
10766
- if (!_.schema[g]) throw new oe.NotFound("Table " + g + " not part of transaction");
10767
- return l(_.idbtrans, _);
10765
+ function O(j, D, N) {
10766
+ if (!N.schema[g]) throw new oe.NotFound("Table " + g + " not part of transaction");
10767
+ return l(N.idbtrans, N);
10768
10768
  }
10769
- var N = Ht();
10769
+ var _ = Ht();
10770
10770
  try {
10771
10771
  var P = p && p.db._novip === this.db._novip ? p === Ee.trans ? p._promise(o, O, c) : hn(function() {
10772
10772
  return p._promise(o, O, c);
10773
- }, { trans: p, transless: Ee.transless || Ee }) : function j(D, _, F, q) {
10773
+ }, { trans: p, transless: Ee.transless || Ee }) : function j(D, N, F, q) {
10774
10774
  if (D.idbdb && (D._state.openComplete || Ee.letThrough || D._vip)) {
10775
- var M = D._createTransaction(_, F, D._dbSchema);
10775
+ var M = D._createTransaction(N, F, D._dbSchema);
10776
10776
  try {
10777
10777
  M.create(), D._state.PR1398_maxLoop = 3;
10778
10778
  } catch (U) {
10779
10779
  return U.name === We.InvalidState && D.isOpen() && 0 < --D._state.PR1398_maxLoop ? (console.warn("Dexie: Need to reopen db"), D.close({ disableAutoOpen: !1 }), D.open().then(function() {
10780
- return j(D, _, F, q);
10780
+ return j(D, N, F, q);
10781
10781
  })) : lt(U);
10782
10782
  }
10783
- return M._promise(_, function(U, I) {
10783
+ return M._promise(N, function(U, I) {
10784
10784
  return hn(function() {
10785
10785
  return Ee.trans = M, q(U, I, M);
10786
10786
  });
10787
10787
  }).then(function(U) {
10788
- if (_ === "readwrite") try {
10788
+ if (N === "readwrite") try {
10789
10789
  M.idbtrans.commit();
10790
10790
  } catch {
10791
10791
  }
10792
- return _ === "readonly" ? U : M._completion.then(function() {
10792
+ return N === "readonly" ? U : M._completion.then(function() {
10793
10793
  return U;
10794
10794
  });
10795
10795
  });
@@ -10800,14 +10800,14 @@ function dv() {
10800
10800
  D.open().catch(Oe);
10801
10801
  }
10802
10802
  return D._state.dbReadyPromise.then(function() {
10803
- return j(D, _, F, q);
10803
+ return j(D, N, F, q);
10804
10804
  });
10805
10805
  }(this.db, o, [this.name], O);
10806
10806
  return b && (P._consoleTask = b, P = P.catch(function(j) {
10807
10807
  return console.trace(j), lt(j);
10808
10808
  })), P;
10809
10809
  } finally {
10810
- N && Tn();
10810
+ _ && Tn();
10811
10811
  }
10812
10812
  }, nt.prototype.get = function(o, l) {
10813
10813
  var c = this;
@@ -10821,18 +10821,18 @@ function dv() {
10821
10821
  if (u(o)) return new this.db.WhereClause(this, "[".concat(o.join("+"), "]"));
10822
10822
  var l = a(o);
10823
10823
  if (l.length === 1) return this.where(l[0]).equals(o[l[0]]);
10824
- var c = this.schema.indexes.concat(this.schema.primKey).filter(function(N) {
10825
- if (N.compound && l.every(function(j) {
10826
- return 0 <= N.keyPath.indexOf(j);
10824
+ var c = this.schema.indexes.concat(this.schema.primKey).filter(function(_) {
10825
+ if (_.compound && l.every(function(j) {
10826
+ return 0 <= _.keyPath.indexOf(j);
10827
10827
  })) {
10828
- for (var P = 0; P < l.length; ++P) if (l.indexOf(N.keyPath[P]) === -1) return !1;
10828
+ for (var P = 0; P < l.length; ++P) if (l.indexOf(_.keyPath[P]) === -1) return !1;
10829
10829
  return !0;
10830
10830
  }
10831
10831
  return !1;
10832
- }).sort(function(N, P) {
10833
- return N.keyPath.length - P.keyPath.length;
10832
+ }).sort(function(_, P) {
10833
+ return _.keyPath.length - P.keyPath.length;
10834
10834
  })[0];
10835
- if (c && this.db._maxKey !== _n) {
10835
+ if (c && this.db._maxKey !== Nn) {
10836
10836
  var b = c.keyPath.slice(0, l.length);
10837
10837
  return this.where(b).equals(b.map(function(P) {
10838
10838
  return o[P];
@@ -10840,12 +10840,12 @@ function dv() {
10840
10840
  }
10841
10841
  !c && At && console.warn("The query ".concat(JSON.stringify(o), " on ").concat(this.name, " would benefit from a ") + "compound index [".concat(l.join("+"), "]"));
10842
10842
  var p = this.schema.idxByName;
10843
- function g(N, P) {
10844
- return Ge(N, P) === 0;
10843
+ function g(_, P) {
10844
+ return Ge(_, P) === 0;
10845
10845
  }
10846
- var O = l.reduce(function(_, P) {
10847
- var j = _[0], D = _[1], _ = p[P], F = o[P];
10848
- return [j || _, j || !_ ? _t(D, _ && _.multi ? function(q) {
10846
+ var O = l.reduce(function(N, P) {
10847
+ var j = N[0], D = N[1], N = p[P], F = o[P];
10848
+ return [j || N, j || !N ? Nt(D, N && N.multi ? function(q) {
10849
10849
  return q = ue(q, P), u(q) && q.some(function(M) {
10850
10850
  return g(F, M);
10851
10851
  });
@@ -10891,7 +10891,7 @@ function dv() {
10891
10891
  for (var b = /* @__PURE__ */ new Set(), O = o.prototype; O; O = d(O)) Object.getOwnPropertyNames(O).forEach(function(P) {
10892
10892
  return b.add(P);
10893
10893
  });
10894
- function N(P) {
10894
+ function _(P) {
10895
10895
  if (!P) return P;
10896
10896
  var j, D = Object.create(o.prototype);
10897
10897
  for (j in P) if (!b.has(j)) try {
@@ -10900,38 +10900,38 @@ function dv() {
10900
10900
  }
10901
10901
  return D;
10902
10902
  }
10903
- return this.schema.readHook && this.hook.reading.unsubscribe(this.schema.readHook), this.schema.readHook = N, this.hook("reading", N), o;
10903
+ return this.schema.readHook && this.hook.reading.unsubscribe(this.schema.readHook), this.schema.readHook = _, this.hook("reading", _), o;
10904
10904
  }, nt.prototype.defineClass = function() {
10905
10905
  return this.mapToClass(function(o) {
10906
10906
  f(this, o);
10907
10907
  });
10908
10908
  }, nt.prototype.add = function(o, l) {
10909
10909
  var c = this, p = this.schema.primKey, g = p.auto, b = p.keyPath, O = o;
10910
- return b && g && (O = Ar(b)(o)), this._trans("readwrite", function(N) {
10911
- return c.core.mutate({ trans: N, type: "add", keys: l != null ? [l] : null, values: [O] });
10912
- }).then(function(N) {
10913
- return N.numFailures ? ye.reject(N.failures[0]) : N.lastResult;
10914
- }).then(function(N) {
10910
+ return b && g && (O = Ar(b)(o)), this._trans("readwrite", function(_) {
10911
+ return c.core.mutate({ trans: _, type: "add", keys: l != null ? [l] : null, values: [O] });
10912
+ }).then(function(_) {
10913
+ return _.numFailures ? ye.reject(_.failures[0]) : _.lastResult;
10914
+ }).then(function(_) {
10915
10915
  if (b) try {
10916
- ne(o, b, N);
10916
+ ne(o, b, _);
10917
10917
  } catch {
10918
10918
  }
10919
- return N;
10919
+ return _;
10920
10920
  });
10921
10921
  }, nt.prototype.update = function(o, l) {
10922
10922
  return typeof o != "object" || u(o) ? this.where(":id").equals(o).modify(l) : (o = ue(o, this.schema.primKey.keyPath), o === void 0 ? lt(new oe.InvalidArgument("Given object does not contain its primary key")) : this.where(":id").equals(o).modify(l));
10923
10923
  }, nt.prototype.put = function(o, l) {
10924
10924
  var c = this, p = this.schema.primKey, g = p.auto, b = p.keyPath, O = o;
10925
- return b && g && (O = Ar(b)(o)), this._trans("readwrite", function(N) {
10926
- return c.core.mutate({ trans: N, type: "put", values: [O], keys: l != null ? [l] : null });
10927
- }).then(function(N) {
10928
- return N.numFailures ? ye.reject(N.failures[0]) : N.lastResult;
10929
- }).then(function(N) {
10925
+ return b && g && (O = Ar(b)(o)), this._trans("readwrite", function(_) {
10926
+ return c.core.mutate({ trans: _, type: "put", values: [O], keys: l != null ? [l] : null });
10927
+ }).then(function(_) {
10928
+ return _.numFailures ? ye.reject(_.failures[0]) : _.lastResult;
10929
+ }).then(function(_) {
10930
10930
  if (b) try {
10931
- ne(o, b, N);
10931
+ ne(o, b, _);
10932
10932
  } catch {
10933
10933
  }
10934
- return N;
10934
+ return _;
10935
10935
  });
10936
10936
  }, nt.prototype.delete = function(o) {
10937
10937
  var l = this;
@@ -10959,27 +10959,27 @@ function dv() {
10959
10959
  }, nt.prototype.bulkAdd = function(o, l, c) {
10960
10960
  var p = this, g = Array.isArray(l) ? l : void 0, b = (c = c || (g ? void 0 : l)) ? c.allKeys : void 0;
10961
10961
  return this._trans("readwrite", function(O) {
10962
- var j = p.schema.primKey, N = j.auto, j = j.keyPath;
10962
+ var j = p.schema.primKey, _ = j.auto, j = j.keyPath;
10963
10963
  if (j && g) throw new oe.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");
10964
10964
  if (g && g.length !== o.length) throw new oe.InvalidArgument("Arguments objects and keys must have the same length");
10965
- var P = o.length, j = j && N ? o.map(Ar(j)) : o;
10965
+ var P = o.length, j = j && _ ? o.map(Ar(j)) : o;
10966
10966
  return p.core.mutate({ trans: O, type: "add", keys: g, values: j, wantResults: b }).then(function(M) {
10967
- var _ = M.numFailures, F = M.results, q = M.lastResult, M = M.failures;
10968
- if (_ === 0) return b ? F : q;
10969
- throw new Ue("".concat(p.name, ".bulkAdd(): ").concat(_, " of ").concat(P, " operations failed"), M);
10967
+ var N = M.numFailures, F = M.results, q = M.lastResult, M = M.failures;
10968
+ if (N === 0) return b ? F : q;
10969
+ throw new Ue("".concat(p.name, ".bulkAdd(): ").concat(N, " of ").concat(P, " operations failed"), M);
10970
10970
  });
10971
10971
  });
10972
10972
  }, nt.prototype.bulkPut = function(o, l, c) {
10973
10973
  var p = this, g = Array.isArray(l) ? l : void 0, b = (c = c || (g ? void 0 : l)) ? c.allKeys : void 0;
10974
10974
  return this._trans("readwrite", function(O) {
10975
- var j = p.schema.primKey, N = j.auto, j = j.keyPath;
10975
+ var j = p.schema.primKey, _ = j.auto, j = j.keyPath;
10976
10976
  if (j && g) throw new oe.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");
10977
10977
  if (g && g.length !== o.length) throw new oe.InvalidArgument("Arguments objects and keys must have the same length");
10978
- var P = o.length, j = j && N ? o.map(Ar(j)) : o;
10978
+ var P = o.length, j = j && _ ? o.map(Ar(j)) : o;
10979
10979
  return p.core.mutate({ trans: O, type: "put", keys: g, values: j, wantResults: b }).then(function(M) {
10980
- var _ = M.numFailures, F = M.results, q = M.lastResult, M = M.failures;
10981
- if (_ === 0) return b ? F : q;
10982
- throw new Ue("".concat(p.name, ".bulkPut(): ").concat(_, " of ").concat(P, " operations failed"), M);
10980
+ var N = M.numFailures, F = M.results, q = M.lastResult, M = M.failures;
10981
+ if (N === 0) return b ? F : q;
10982
+ throw new Ue("".concat(p.name, ".bulkPut(): ").concat(N, " of ").concat(P, " operations failed"), M);
10983
10983
  });
10984
10984
  });
10985
10985
  }, nt.prototype.bulkUpdate = function(o) {
@@ -10989,10 +10989,10 @@ function dv() {
10989
10989
  return O.changes;
10990
10990
  }), b = [];
10991
10991
  return this._trans("readwrite", function(O) {
10992
- return c.getMany({ trans: O, keys: p, cache: "clone" }).then(function(N) {
10992
+ return c.getMany({ trans: O, keys: p, cache: "clone" }).then(function(_) {
10993
10993
  var P = [], j = [];
10994
- o.forEach(function(_, F) {
10995
- var q = _.key, M = _.changes, U = N[F];
10994
+ o.forEach(function(N, F) {
10995
+ var q = N.key, M = N.changes, U = _[F];
10996
10996
  if (U) {
10997
10997
  for (var I = 0, z = Object.keys(M); I < z.length; I++) {
10998
10998
  var J = z[I], Z = M[J];
@@ -11004,8 +11004,8 @@ function dv() {
11004
11004
  }
11005
11005
  });
11006
11006
  var D = P.length;
11007
- return c.mutate({ trans: O, type: "put", keys: P, values: j, updates: { keys: p, changeSpecs: g } }).then(function(_) {
11008
- var F = _.numFailures, q = _.failures;
11007
+ return c.mutate({ trans: O, type: "put", keys: P, values: j, updates: { keys: p, changeSpecs: g } }).then(function(N) {
11008
+ var F = N.numFailures, q = N.failures;
11009
11009
  if (F === 0) return D;
11010
11010
  for (var M = 0, U = Object.keys(q); M < U.length; M++) {
11011
11011
  var I, z = U[M], J = b[Number(z)];
@@ -11028,8 +11028,8 @@ function dv() {
11028
11028
  function nt() {
11029
11029
  }
11030
11030
  function Qt(o) {
11031
- function l(O, N) {
11032
- if (N) {
11031
+ function l(O, _) {
11032
+ if (_) {
11033
11033
  for (var P = arguments.length, j = new Array(P - 1); --P; ) j[P - 1] = arguments[P];
11034
11034
  return c[O].subscribe.apply(null, j), o;
11035
11035
  }
@@ -11039,25 +11039,25 @@ function dv() {
11039
11039
  l.addEventType = b;
11040
11040
  for (var p = 1, g = arguments.length; p < g; ++p) b(arguments[p]);
11041
11041
  return l;
11042
- function b(O, N, P) {
11042
+ function b(O, _, P) {
11043
11043
  if (typeof O != "object") {
11044
11044
  var j;
11045
- N = N || cn;
11046
- var D = { subscribers: [], fire: P = P || Oe, subscribe: function(_) {
11047
- D.subscribers.indexOf(_) === -1 && (D.subscribers.push(_), D.fire = N(D.fire, _));
11048
- }, unsubscribe: function(_) {
11045
+ _ = _ || cn;
11046
+ var D = { subscribers: [], fire: P = P || Oe, subscribe: function(N) {
11047
+ D.subscribers.indexOf(N) === -1 && (D.subscribers.push(N), D.fire = _(D.fire, N));
11048
+ }, unsubscribe: function(N) {
11049
11049
  D.subscribers = D.subscribers.filter(function(F) {
11050
- return F !== _;
11051
- }), D.fire = D.subscribers.reduce(N, P);
11050
+ return F !== N;
11051
+ }), D.fire = D.subscribers.reduce(_, P);
11052
11052
  } };
11053
11053
  return c[O] = l[O] = D;
11054
11054
  }
11055
- a(j = O).forEach(function(_) {
11056
- var F = j[_];
11057
- if (u(F)) b(_, j[_][0], j[_][1]);
11055
+ a(j = O).forEach(function(N) {
11056
+ var F = j[N];
11057
+ if (u(F)) b(N, j[N][0], j[N][1]);
11058
11058
  else {
11059
11059
  if (F !== "asap") throw new oe.InvalidArgument("Invalid event config");
11060
- var q = b(_, De, function() {
11060
+ var q = b(N, De, function() {
11061
11061
  for (var M = arguments.length, U = new Array(M); M--; ) U[M] = arguments[M];
11062
11062
  q.subscribers.forEach(function(I) {
11063
11063
  ae(function() {
@@ -11076,12 +11076,12 @@ function dv() {
11076
11076
  return !(o.filter || o.algorithm || o.or) && (l ? o.justLimit : !o.replayFilter);
11077
11077
  }
11078
11078
  function zr(o, l) {
11079
- o.filter = _t(o.filter, l);
11079
+ o.filter = Nt(o.filter, l);
11080
11080
  }
11081
11081
  function Vr(o, l, c) {
11082
11082
  var p = o.replayFilter;
11083
11083
  o.replayFilter = p ? function() {
11084
- return _t(p(), l());
11084
+ return Nt(p(), l());
11085
11085
  } : l, o.justLimit = c && !p;
11086
11086
  }
11087
11087
  function Tr(o, l) {
@@ -11095,37 +11095,37 @@ function dv() {
11095
11095
  return l.openCursor({ trans: c, values: !o.keysOnly, reverse: o.dir === "prev", unique: !!o.unique, query: { index: p, range: o.range } });
11096
11096
  }
11097
11097
  function Jn(o, l, c, p) {
11098
- var g = o.replayFilter ? _t(o.filter, o.replayFilter()) : o.filter;
11098
+ var g = o.replayFilter ? Nt(o.filter, o.replayFilter()) : o.filter;
11099
11099
  if (o.or) {
11100
- var b = {}, O = function(N, P, j) {
11101
- var D, _;
11100
+ var b = {}, O = function(_, P, j) {
11101
+ var D, N;
11102
11102
  g && !g(P, j, function(F) {
11103
11103
  return P.stop(F);
11104
11104
  }, function(F) {
11105
11105
  return P.fail(F);
11106
- }) || ((_ = "" + (D = P.primaryKey)) == "[object ArrayBuffer]" && (_ = "" + new Uint8Array(D)), w(b, _) || (b[_] = !0, l(N, P, j)));
11106
+ }) || ((N = "" + (D = P.primaryKey)) == "[object ArrayBuffer]" && (N = "" + new Uint8Array(D)), w(b, N) || (b[N] = !0, l(_, P, j)));
11107
11107
  };
11108
11108
  return Promise.all([o.or._iterate(O, c), ws(vs(o, p, c), o.algorithm, O, !o.keysOnly && o.valueMapper)]);
11109
11109
  }
11110
- return ws(vs(o, p, c), _t(o.algorithm, g), l, !o.keysOnly && o.valueMapper);
11110
+ return ws(vs(o, p, c), Nt(o.algorithm, g), l, !o.keysOnly && o.valueMapper);
11111
11111
  }
11112
11112
  function ws(o, l, c, p) {
11113
- var g = it(p ? function(b, O, N) {
11114
- return c(p(b), O, N);
11113
+ var g = it(p ? function(b, O, _) {
11114
+ return c(p(b), O, _);
11115
11115
  } : c);
11116
11116
  return o.then(function(b) {
11117
11117
  if (b) return b.start(function() {
11118
11118
  var O = function() {
11119
11119
  return b.continue();
11120
11120
  };
11121
- l && !l(b, function(N) {
11122
- return O = N;
11123
- }, function(N) {
11124
- b.stop(N), O = Oe;
11125
- }, function(N) {
11126
- b.fail(N), O = Oe;
11127
- }) || g(b.value, b, function(N) {
11128
- return O = N;
11121
+ l && !l(b, function(_) {
11122
+ return O = _;
11123
+ }, function(_) {
11124
+ b.stop(_), O = Oe;
11125
+ }, function(_) {
11126
+ b.fail(_), O = Oe;
11127
+ }) || g(b.value, b, function(_) {
11128
+ return O = _;
11129
11129
  }), O();
11130
11130
  });
11131
11131
  });
@@ -11169,7 +11169,7 @@ function dv() {
11169
11169
  return l.error ? l.table._trans(null, lt.bind(null, l.error)) : l.table._trans("readwrite", o, "locked");
11170
11170
  }, He.prototype._addAlgorithm = function(o) {
11171
11171
  var l = this._ctx;
11172
- l.algorithm = _t(l.algorithm, o);
11172
+ l.algorithm = Nt(l.algorithm, o);
11173
11173
  }, He.prototype._iterate = function(o, l) {
11174
11174
  return Jn(this._ctx, o, l, this._ctx.table.core);
11175
11175
  }, He.prototype.clone = function(o) {
@@ -11202,11 +11202,11 @@ function dv() {
11202
11202
  return j ? b(P[c[j]], j - 1) : P[p];
11203
11203
  }
11204
11204
  var O = this._ctx.dir === "next" ? 1 : -1;
11205
- function N(P, j) {
11205
+ function _(P, j) {
11206
11206
  return Ge(b(P, g), b(j, g)) * O;
11207
11207
  }
11208
11208
  return this.toArray(function(P) {
11209
- return P.sort(N);
11209
+ return P.sort(_);
11210
11210
  }).then(l);
11211
11211
  }, He.prototype.toArray = function(o) {
11212
11212
  var l = this;
@@ -11214,13 +11214,13 @@ function dv() {
11214
11214
  var p = l._ctx;
11215
11215
  if (p.dir === "next" && Ln(p, !0) && 0 < p.limit) {
11216
11216
  var g = p.valueMapper, b = Tr(p, p.table.core.schema);
11217
- return p.table.core.query({ trans: c, limit: p.limit, values: !0, query: { index: b, range: p.range } }).then(function(N) {
11218
- return N = N.result, g ? N.map(g) : N;
11217
+ return p.table.core.query({ trans: c, limit: p.limit, values: !0, query: { index: b, range: p.range } }).then(function(_) {
11218
+ return _ = _.result, g ? _.map(g) : _;
11219
11219
  });
11220
11220
  }
11221
11221
  var O = [];
11222
- return Jn(p, function(N) {
11223
- return O.push(N);
11222
+ return Jn(p, function(_) {
11223
+ return O.push(_);
11224
11224
  }, c, p.table.core).then(function() {
11225
11225
  return O;
11226
11226
  });
@@ -11261,7 +11261,7 @@ function dv() {
11261
11261
  var l;
11262
11262
  return zr(this._ctx, function(c) {
11263
11263
  return o(c.value);
11264
- }), (l = this._ctx).isMatch = _t(l.isMatch, o), this;
11264
+ }), (l = this._ctx).isMatch = Nt(l.isMatch, o), this;
11265
11265
  }, He.prototype.and = function(o) {
11266
11266
  return this.filter(o);
11267
11267
  }, He.prototype.or = function(o) {
@@ -11333,8 +11333,8 @@ function dv() {
11333
11333
  }
11334
11334
  return z;
11335
11335
  });
11336
- var N = c.table.core, _ = N.schema.primaryKey, P = _.outbound, j = _.extractKey, D = 200, _ = l.db._options.modifyChunkSize;
11337
- _ && (D = typeof _ == "object" ? _[N.name] || _["*"] || 200 : _);
11336
+ var _ = c.table.core, N = _.schema.primaryKey, P = N.outbound, j = N.extractKey, D = 200, N = l.db._options.modifyChunkSize;
11337
+ N && (D = typeof N == "object" ? N[_.name] || N["*"] || 200 : N);
11338
11338
  function F(I, Z) {
11339
11339
  var J = Z.failures, Z = Z.numFailures;
11340
11340
  M += I - Z;
@@ -11347,20 +11347,20 @@ function dv() {
11347
11347
  return l.clone().primaryKeys().then(function(I) {
11348
11348
  function z(Z) {
11349
11349
  var se = Math.min(D, I.length - Z);
11350
- return N.getMany({ trans: p, keys: I.slice(Z, Z + se), cache: "immutable" }).then(function(ce) {
11350
+ return _.getMany({ trans: p, keys: I.slice(Z, Z + se), cache: "immutable" }).then(function(ce) {
11351
11351
  for (var me = [], fe = [], de = P ? [] : null, ve = [], ge = 0; ge < se; ++ge) {
11352
- var _e = ce[ge], ze = { value: k(_e), primKey: I[Z + ge] };
11353
- O.call(ze, ze.value, ze) !== !1 && (ze.value == null ? ve.push(I[Z + ge]) : P || Ge(j(_e), j(ze.value)) === 0 ? (fe.push(ze.value), P && de.push(I[Z + ge])) : (ve.push(I[Z + ge]), me.push(ze.value)));
11352
+ var Ne = ce[ge], ze = { value: k(Ne), primKey: I[Z + ge] };
11353
+ O.call(ze, ze.value, ze) !== !1 && (ze.value == null ? ve.push(I[Z + ge]) : P || Ge(j(Ne), j(ze.value)) === 0 ? (fe.push(ze.value), P && de.push(I[Z + ge])) : (ve.push(I[Z + ge]), me.push(ze.value)));
11354
11354
  }
11355
- return Promise.resolve(0 < me.length && N.mutate({ trans: p, type: "add", values: me }).then(function(Je) {
11355
+ return Promise.resolve(0 < me.length && _.mutate({ trans: p, type: "add", values: me }).then(function(Je) {
11356
11356
  for (var Ze in Je.failures) ve.splice(parseInt(Ze), 1);
11357
11357
  F(me.length, Je);
11358
11358
  })).then(function() {
11359
- return (0 < fe.length || J && typeof o == "object") && N.mutate({ trans: p, type: "put", keys: de, values: fe, criteria: J, changeSpec: typeof o != "function" && o, isAdditionalChunk: 0 < Z }).then(function(Je) {
11359
+ return (0 < fe.length || J && typeof o == "object") && _.mutate({ trans: p, type: "put", keys: de, values: fe, criteria: J, changeSpec: typeof o != "function" && o, isAdditionalChunk: 0 < Z }).then(function(Je) {
11360
11360
  return F(fe.length, Je);
11361
11361
  });
11362
11362
  }).then(function() {
11363
- return (0 < ve.length || J && o === tn) && N.mutate({ trans: p, type: "delete", keys: ve, criteria: J, isAdditionalChunk: 0 < Z }).then(function(Je) {
11363
+ return (0 < ve.length || J && o === tn) && _.mutate({ trans: p, type: "delete", keys: ve, criteria: J, isAdditionalChunk: 0 < Z }).then(function(Je) {
11364
11364
  return F(ve.length, Je);
11365
11365
  });
11366
11366
  }).then(function() {
@@ -11381,9 +11381,9 @@ function dv() {
11381
11381
  var p = o.table.core.schema.primaryKey, g = l;
11382
11382
  return o.table.core.count({ trans: c, query: { index: p, range: g } }).then(function(b) {
11383
11383
  return o.table.core.mutate({ trans: c, type: "deleteRange", range: g }).then(function(O) {
11384
- var N = O.failures;
11385
- if (O.lastResult, O.results, O = O.numFailures, O) throw new be("Could not delete some values", Object.keys(N).map(function(P) {
11386
- return N[P];
11384
+ var _ = O.failures;
11385
+ if (O.lastResult, O.results, O = O.numFailures, O) throw new be("Could not delete some values", Object.keys(_).map(function(P) {
11386
+ return _[P];
11387
11387
  }), b - O);
11388
11388
  return b - O;
11389
11389
  });
@@ -11409,8 +11409,8 @@ function dv() {
11409
11409
  return Wr("");
11410
11410
  }).limit(0);
11411
11411
  }
11412
- function Nr(o, l, c, p) {
11413
- var g, b, O, N, P, j, D, _ = c.length;
11412
+ function _r(o, l, c, p) {
11413
+ var g, b, O, _, P, j, D, N = c.length;
11414
11414
  if (!c.every(function(M) {
11415
11415
  return typeof M == "string";
11416
11416
  })) return kt(o, gs);
@@ -11429,14 +11429,14 @@ function dv() {
11429
11429
  }).sort(function(I, z) {
11430
11430
  return O(I.lower, z.lower);
11431
11431
  });
11432
- N = U.map(function(I) {
11432
+ _ = U.map(function(I) {
11433
11433
  return I.upper;
11434
11434
  }), P = U.map(function(I) {
11435
11435
  return I.lower;
11436
11436
  }), D = (j = M) === "next" ? "" : p;
11437
11437
  }
11438
11438
  F("next"), o = new o.Collection(o, function() {
11439
- return mn(N[0], P[_ - 1] + p);
11439
+ return mn(_[0], P[N - 1] + p);
11440
11440
  }), o._ondirectionchange = function(M) {
11441
11441
  F(M);
11442
11442
  };
@@ -11446,15 +11446,15 @@ function dv() {
11446
11446
  if (typeof z != "string") return !1;
11447
11447
  var J = b(z);
11448
11448
  if (l(J, P, q)) return !0;
11449
- for (var Z = null, se = q; se < _; ++se) {
11450
- var ce = function(me, fe, de, ve, ge, _e) {
11449
+ for (var Z = null, se = q; se < N; ++se) {
11450
+ var ce = function(me, fe, de, ve, ge, Ne) {
11451
11451
  for (var ze = Math.min(me.length, ve.length), Je = -1, Ze = 0; Ze < ze; ++Ze) {
11452
11452
  var sn = fe[Ze];
11453
11453
  if (sn !== ve[Ze]) return ge(me[Ze], de[Ze]) < 0 ? me.substr(0, Ze) + de[Ze] + de.substr(Ze + 1) : ge(me[Ze], ve[Ze]) < 0 ? me.substr(0, Ze) + ve[Ze] + de.substr(Ze + 1) : 0 <= Je ? me.substr(0, Je) + fe[Je] + de.substr(Je + 1) : null;
11454
11454
  ge(me[Ze], sn) < 0 && (Je = Ze);
11455
11455
  }
11456
- return ze < ve.length && _e === "next" ? me + de.substr(me.length) : ze < me.length && _e === "prev" ? me.substr(0, de.length) : Je < 0 ? null : me.substr(0, Je) + ve[Je] + de.substr(Je + 1);
11457
- }(z, J, N[se], P[se], O, j);
11456
+ return ze < ve.length && Ne === "next" ? me + de.substr(me.length) : ze < me.length && Ne === "prev" ? me.substr(0, de.length) : Je < 0 ? null : me.substr(0, Je) + ve[Je] + de.substr(Je + 1);
11457
+ }(z, J, _[se], P[se], O, j);
11458
11458
  ce === null && Z === null ? q = se + 1 : (Z === null || 0 < O(Z, ce)) && (Z = ce);
11459
11459
  }
11460
11460
  return U(Z !== null ? function() {
@@ -11500,27 +11500,27 @@ function dv() {
11500
11500
  return mn(void 0, o);
11501
11501
  });
11502
11502
  }, ft.prototype.startsWith = function(o) {
11503
- return typeof o != "string" ? kt(this, gs) : this.between(o, o + _n, !0, !0);
11503
+ return typeof o != "string" ? kt(this, gs) : this.between(o, o + Nn, !0, !0);
11504
11504
  }, ft.prototype.startsWithIgnoreCase = function(o) {
11505
- return o === "" ? this.startsWith(o) : Nr(this, function(l, c) {
11505
+ return o === "" ? this.startsWith(o) : _r(this, function(l, c) {
11506
11506
  return l.indexOf(c[0]) === 0;
11507
- }, [o], _n);
11507
+ }, [o], Nn);
11508
11508
  }, ft.prototype.equalsIgnoreCase = function(o) {
11509
- return Nr(this, function(l, c) {
11509
+ return _r(this, function(l, c) {
11510
11510
  return l === c[0];
11511
11511
  }, [o], "");
11512
11512
  }, ft.prototype.anyOfIgnoreCase = function() {
11513
11513
  var o = G.apply(ee, arguments);
11514
- return o.length === 0 ? Xn(this) : Nr(this, function(l, c) {
11514
+ return o.length === 0 ? Xn(this) : _r(this, function(l, c) {
11515
11515
  return c.indexOf(l) !== -1;
11516
11516
  }, o, "");
11517
11517
  }, ft.prototype.startsWithAnyOfIgnoreCase = function() {
11518
11518
  var o = G.apply(ee, arguments);
11519
- return o.length === 0 ? Xn(this) : Nr(this, function(l, c) {
11519
+ return o.length === 0 ? Xn(this) : _r(this, function(l, c) {
11520
11520
  return c.some(function(p) {
11521
11521
  return l.indexOf(p) === 0;
11522
11522
  });
11523
- }, o, _n);
11523
+ }, o, Nn);
11524
11524
  }, ft.prototype.anyOf = function() {
11525
11525
  var o = this, l = G.apply(ee, arguments), c = this._cmp;
11526
11526
  try {
@@ -11536,8 +11536,8 @@ function dv() {
11536
11536
  c = b === "next" ? o._ascending : o._descending, l.sort(c);
11537
11537
  };
11538
11538
  var g = 0;
11539
- return p._addAlgorithm(function(b, O, N) {
11540
- for (var P = b.key; 0 < c(P, l[g]); ) if (++g === l.length) return O(N), !1;
11539
+ return p._addAlgorithm(function(b, O, _) {
11540
+ for (var P = b.key; 0 < c(P, l[g]); ) if (++g === l.length) return O(_), !1;
11541
11541
  return c(P, l[g]) === 0 || (O(function() {
11542
11542
  b.continue(l[g]);
11543
11543
  }), !1);
@@ -11557,21 +11557,21 @@ function dv() {
11557
11557
  }, null);
11558
11558
  return l.push([o[o.length - 1], this.db._maxKey]), this.inAnyRange(l, { includeLowers: !1, includeUppers: !1 });
11559
11559
  }, ft.prototype.inAnyRange = function(z, l) {
11560
- var c = this, p = this._cmp, g = this._ascending, b = this._descending, O = this._min, N = this._max;
11560
+ var c = this, p = this._cmp, g = this._ascending, b = this._descending, O = this._min, _ = this._max;
11561
11561
  if (z.length === 0) return Xn(this);
11562
11562
  if (!z.every(function(J) {
11563
11563
  return J[0] !== void 0 && J[1] !== void 0 && g(J[0], J[1]) <= 0;
11564
11564
  })) return kt(this, "First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower", oe.InvalidArgument);
11565
- var P = !l || l.includeLowers !== !1, j = l && l.includeUppers === !0, D, _ = g;
11565
+ var P = !l || l.includeLowers !== !1, j = l && l.includeUppers === !0, D, N = g;
11566
11566
  function F(J, Z) {
11567
- return _(J[0], Z[0]);
11567
+ return N(J[0], Z[0]);
11568
11568
  }
11569
11569
  try {
11570
11570
  (D = z.reduce(function(J, Z) {
11571
11571
  for (var se = 0, ce = J.length; se < ce; ++se) {
11572
11572
  var me = J[se];
11573
11573
  if (p(Z[0], me[1]) < 0 && 0 < p(Z[1], me[0])) {
11574
- me[0] = O(me[0], Z[0]), me[1] = N(me[1], Z[1]);
11574
+ me[0] = O(me[0], Z[0]), me[1] = _(me[1], Z[1]);
11575
11575
  break;
11576
11576
  }
11577
11577
  }
@@ -11592,11 +11592,11 @@ function dv() {
11592
11592
  return mn(D[0][0], D[D.length - 1][1], !P, !j);
11593
11593
  });
11594
11594
  return z._ondirectionchange = function(J) {
11595
- _ = J === "next" ? (I = M, g) : (I = U, b), D.sort(F);
11595
+ N = J === "next" ? (I = M, g) : (I = U, b), D.sort(F);
11596
11596
  }, z._addAlgorithm(function(J, Z, se) {
11597
11597
  for (var ce, me = J.key; I(me); ) if (++q === D.length) return Z(se), !1;
11598
11598
  return !M(ce = me) && !U(ce) || (c._cmp(me, D[q][1]) === 0 || c._cmp(me, D[q][0]) === 0 || Z(function() {
11599
- _ === g ? J.continue(D[q][0]) : J.continue(D[q][1]);
11599
+ N === g ? J.continue(D[q][0]) : J.continue(D[q][1]);
11600
11600
  }), !1);
11601
11601
  }), z;
11602
11602
  }, ft.prototype.startsWithAnyOf = function() {
@@ -11604,7 +11604,7 @@ function dv() {
11604
11604
  return o.every(function(l) {
11605
11605
  return typeof l == "string";
11606
11606
  }) ? o.length === 0 ? Xn(this) : this.inAnyRange(o.map(function(l) {
11607
- return [l, l + _n];
11607
+ return [l, l + Nn];
11608
11608
  })) : kt(this, "startsWithAnyOf() only works with strings");
11609
11609
  }, ft);
11610
11610
  function ft() {
@@ -11623,7 +11623,7 @@ function dv() {
11623
11623
  if (he(!Ee.global), --this._reculock == 0) for (Ee.global || (Ee.lockOwnerFor = null); 0 < this._blockedFuncs.length && !this._locked(); ) {
11624
11624
  var o = this._blockedFuncs.shift();
11625
11625
  try {
11626
- Nn(o[1], o[0]);
11626
+ _n(o[1], o[0]);
11627
11627
  } catch {
11628
11628
  }
11629
11629
  }
@@ -11660,18 +11660,18 @@ function dv() {
11660
11660
  }, Ee]);
11661
11661
  });
11662
11662
  if (c) return hn(function() {
11663
- var b = new ye(function(O, N) {
11663
+ var b = new ye(function(O, _) {
11664
11664
  p._lock();
11665
- var P = l(O, N, p);
11666
- P && P.then && P.then(O, N);
11665
+ var P = l(O, _, p);
11666
+ P && P.then && P.then(O, _);
11667
11667
  });
11668
11668
  return b.finally(function() {
11669
11669
  return p._unlock();
11670
11670
  }), b._lib = !0, b;
11671
11671
  });
11672
11672
  var g = new ye(function(b, O) {
11673
- var N = l(b, O, p);
11674
- N && N.then && N.then(b, O);
11673
+ var _ = l(b, O, p);
11674
+ _ && _.then && _.then(b, O);
11675
11675
  });
11676
11676
  return g._lib = !0, g;
11677
11677
  }, qt.prototype._root = function() {
@@ -11686,10 +11686,10 @@ function dv() {
11686
11686
  }());
11687
11687
  var g = c._waitingFor;
11688
11688
  return new ye(function(b, O) {
11689
- p.then(function(N) {
11690
- return c._waitingQueue.push(it(b.bind(null, N)));
11691
- }, function(N) {
11692
- return c._waitingQueue.push(it(O.bind(null, N)));
11689
+ p.then(function(_) {
11690
+ return c._waitingQueue.push(it(b.bind(null, _)));
11691
+ }, function(_) {
11692
+ return c._waitingQueue.push(it(O.bind(null, _)));
11693
11693
  }).finally(function() {
11694
11694
  c._waitingFor === g && (c._waitingFor = null);
11695
11695
  });
@@ -11705,7 +11705,7 @@ function dv() {
11705
11705
  }, qt);
11706
11706
  function qt() {
11707
11707
  }
11708
- function _r(o, l, c, p, g, b, O) {
11708
+ function Nr(o, l, c, p, g, b, O) {
11709
11709
  return { name: o, keyPath: l, unique: c, multi: p, auto: g, compound: b, src: (c && !O ? "&" : "") + (p ? "*" : "") + (g ? "++" : "") + nn(l) };
11710
11710
  }
11711
11711
  function nn(o) {
@@ -11726,8 +11726,8 @@ function dv() {
11726
11726
  }, [[]];
11727
11727
  } catch {
11728
11728
  return Rn = function() {
11729
- return _n;
11730
- }, _n;
11729
+ return Nn;
11730
+ }, Nn;
11731
11731
  }
11732
11732
  };
11733
11733
  function Yr(o) {
@@ -11763,9 +11763,9 @@ function dv() {
11763
11763
  ce = it(ce);
11764
11764
  var fe = I.objectStore(M), de = fe.keyPath == null, ve = z === "put" || z === "add";
11765
11765
  if (!ve && z !== "delete" && z !== "deleteRange") throw new Error("Invalid operation type: " + z);
11766
- var ge, _e = (J || Z || { length: 1 }).length;
11766
+ var ge, Ne = (J || Z || { length: 1 }).length;
11767
11767
  if (J && Z && J.length !== Z.length) throw new Error("Given keys array must have same length as given values array.");
11768
- if (_e === 0) return ce({ numFailures: 0, failures: {}, results: [], lastResult: void 0 });
11768
+ if (Ne === 0) return ce({ numFailures: 0, failures: {}, results: [], lastResult: void 0 });
11769
11769
  function ze(Vt) {
11770
11770
  ++sn, yn(Vt);
11771
11771
  }
@@ -11775,8 +11775,8 @@ function dv() {
11775
11775
  se.type === 3 ? Je.push(ge = fe.clear()) : Je.push(ge = fe.delete(p(se)));
11776
11776
  } else {
11777
11777
  var de = ve ? de ? [Z, J] : [Z, null] : [J, null], Ke = de[0], It = de[1];
11778
- if (ve) for (var $t = 0; $t < _e; ++$t) Je.push(ge = It && It[$t] !== void 0 ? fe[z](Ke[$t], It[$t]) : fe[z](Ke[$t])), ge.onerror = ze;
11779
- else for ($t = 0; $t < _e; ++$t) Je.push(ge = fe[z](Ke[$t])), ge.onerror = ze;
11778
+ if (ve) for (var $t = 0; $t < Ne; ++$t) Je.push(ge = It && It[$t] !== void 0 ? fe[z](Ke[$t], It[$t]) : fe[z](Ke[$t])), ge.onerror = ze;
11779
+ else for ($t = 0; $t < Ne; ++$t) Je.push(ge = fe[z](Ke[$t])), ge.onerror = ze;
11780
11780
  }
11781
11781
  function Ii(Vt) {
11782
11782
  Vt = Vt.target.result, Je.forEach(function(Xr, zo) {
@@ -11795,7 +11795,7 @@ function dv() {
11795
11795
  J = it(J);
11796
11796
  for (var se, ce = I.objectStore(M), me = z.length, fe = new Array(me), de = 0, ve = 0, ge = function(Je) {
11797
11797
  Je = Je.target, fe[Je._pos] = Je.result, ++ve === de && J(fe);
11798
- }, _e = zt(Z), ze = 0; ze < me; ++ze) z[ze] != null && ((se = ce.get(z[ze]))._pos = ze, se.onsuccess = ge, se.onerror = _e, ++de);
11798
+ }, Ne = zt(Z), ze = 0; ze < me; ++ze) z[ze] != null && ((se = ce.get(z[ze]))._pos = ze, se.onsuccess = ge, se.onerror = Ne, ++de);
11799
11799
  de === 0 && J(fe);
11800
11800
  });
11801
11801
  }, get: function(U) {
@@ -11812,9 +11812,9 @@ function dv() {
11812
11812
  I = it(I);
11813
11813
  var J, Z, se, de = U.trans, ce = U.values, me = U.limit, ge = U.query, fe = me === 1 / 0 ? void 0 : me, ve = ge.index, ge = ge.range, de = de.objectStore(M), ve = ve.isPrimaryKey ? de : de.index(ve.name), ge = p(ge);
11814
11814
  if (me === 0) return I({ result: [] });
11815
- q ? ((fe = ce ? ve.getAll(ge, fe) : ve.getAllKeys(ge, fe)).onsuccess = function(_e) {
11816
- return I({ result: _e.target.result });
11817
- }, fe.onerror = zt(z)) : (J = 0, Z = !ce && "openKeyCursor" in ve ? ve.openKeyCursor(ge) : ve.openCursor(ge), se = [], Z.onsuccess = function(_e) {
11815
+ q ? ((fe = ce ? ve.getAll(ge, fe) : ve.getAllKeys(ge, fe)).onsuccess = function(Ne) {
11816
+ return I({ result: Ne.target.result });
11817
+ }, fe.onerror = zt(z)) : (J = 0, Z = !ce && "openKeyCursor" in ve ? ve.openKeyCursor(ge) : ve.openCursor(ge), se = [], Z.onsuccess = function(Ne) {
11818
11818
  var ze = Z.result;
11819
11819
  return ze ? (se.push(ce ? ze.value : ze.primaryKey), ++J === me ? I({ result: se }) : void ze.continue()) : I({ result: se });
11820
11820
  }, Z.onerror = zt(z));
@@ -11824,7 +11824,7 @@ function dv() {
11824
11824
  return new Promise(function(ce, me) {
11825
11825
  ce = it(ce);
11826
11826
  var ve = J.index, fe = J.range, de = I.objectStore(M), de = ve.isPrimaryKey ? de : de.index(ve.name), ve = Z ? se ? "prevunique" : "prev" : se ? "nextunique" : "next", ge = !z && "openKeyCursor" in de ? de.openKeyCursor(p(fe), ve) : de.openCursor(p(fe), ve);
11827
- ge.onerror = zt(me), ge.onsuccess = it(function(_e) {
11827
+ ge.onerror = zt(me), ge.onsuccess = it(function(Ne) {
11828
11828
  var ze, Je, Ze, sn, Ke = ge.result;
11829
11829
  Ke ? (Ke.___id = ++h, Ke.done = !1, ze = Ke.continue.bind(Ke), Je = (Je = Ke.continuePrimaryKey) && Je.bind(Ke), Ze = Ke.advance.bind(Ke), sn = function() {
11830
11830
  throw new Error("Cursor not stopped");
@@ -11869,7 +11869,7 @@ function dv() {
11869
11869
  });
11870
11870
  } };
11871
11871
  }
11872
- var b, O, N, D = (O = P, N = Es((b = o).objectStoreNames), { schema: { name: b.name, tables: N.map(function(F) {
11872
+ var b, O, _, D = (O = P, _ = Es((b = o).objectStoreNames), { schema: { name: b.name, tables: _.map(function(F) {
11873
11873
  return O.objectStore(F);
11874
11874
  }).map(function(F) {
11875
11875
  var q = F.keyPath, I = F.autoIncrement, M = u(q), U = {}, I = { name: F.name, primaryKey: { name: null, isPrimaryKey: !0, outbound: q == null, compound: M, keyPath: q, autoIncrement: I, unique: !0, extractKey: Yr(q) }, indexes: Es(F.indexNames).map(function(z) {
@@ -11881,12 +11881,12 @@ function dv() {
11881
11881
  return U[v(z)];
11882
11882
  } };
11883
11883
  return U[":id"] = I.primaryKey, q != null && (U[v(q)] = I.primaryKey), I;
11884
- }) }, hasGetAll: 0 < N.length && "getAll" in O.objectStore(N[0]) && !(typeof navigator < "u" && /Safari/.test(navigator.userAgent) && !/(Chrome\/|Edge\/)/.test(navigator.userAgent) && [].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1] < 604) }), P = D.schema, j = D.hasGetAll, D = P.tables.map(g), _ = {};
11884
+ }) }, hasGetAll: 0 < _.length && "getAll" in O.objectStore(_[0]) && !(typeof navigator < "u" && /Safari/.test(navigator.userAgent) && !/(Chrome\/|Edge\/)/.test(navigator.userAgent) && [].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1] < 604) }), P = D.schema, j = D.hasGetAll, D = P.tables.map(g), N = {};
11885
11885
  return D.forEach(function(F) {
11886
- return _[F.name] = F;
11886
+ return N[F.name] = F;
11887
11887
  }), { stack: "dbcore", transaction: o.transaction.bind(o), table: function(F) {
11888
- if (!_[F]) throw new Error("Table '".concat(F, "' not found"));
11889
- return _[F];
11888
+ if (!N[F]) throw new Error("Table '".concat(F, "' not found"));
11889
+ return N[F];
11890
11890
  }, MIN_KEY: -1 / 0, MAX_KEY: Rn(l), schema: P };
11891
11891
  }
11892
11892
  function te(o, l, c, p) {
@@ -11908,10 +11908,10 @@ function dv() {
11908
11908
  c.forEach(function(g) {
11909
11909
  var b = p[g];
11910
11910
  l.forEach(function(O) {
11911
- var N = function P(j, D) {
11911
+ var _ = function P(j, D) {
11912
11912
  return T(j, D) || (j = d(j)) && P(j, D);
11913
11913
  }(O, g);
11914
- (!N || "value" in N && N.value === void 0) && (O === o.Transaction.prototype || O instanceof o.Transaction ? A(O, g, { get: function() {
11914
+ (!_ || "value" in _ && _.value === void 0) && (O === o.Transaction.prototype || O instanceof o.Transaction ? A(O, g, { get: function() {
11915
11915
  return this.table(g);
11916
11916
  }, set: function(P) {
11917
11917
  x(this, g, { value: P, writable: !0, configurable: !0, enumerable: !0 });
@@ -11932,38 +11932,38 @@ function dv() {
11932
11932
  c.objectStoreNames.contains("$meta") && !g.$meta && (g.$meta = Cr("$meta", vn("")[0], []), o._storeNames.push("$meta"));
11933
11933
  var b = o._createTransaction("readwrite", o._storeNames, g);
11934
11934
  b.create(c), b._completion.catch(p);
11935
- var O = b._reject.bind(b), N = Ee.transless || Ee;
11935
+ var O = b._reject.bind(b), _ = Ee.transless || Ee;
11936
11936
  hn(function() {
11937
- return Ee.trans = b, Ee.transless = N, l !== 0 ? (Me(o, c), j = l, ((P = b).storeNames.includes("$meta") ? P.table("$meta").get("version").then(function(D) {
11937
+ return Ee.trans = b, Ee.transless = _, l !== 0 ? (Me(o, c), j = l, ((P = b).storeNames.includes("$meta") ? P.table("$meta").get("version").then(function(D) {
11938
11938
  return D ?? j;
11939
11939
  }) : ye.resolve(j)).then(function(D) {
11940
- return F = D, q = b, M = c, U = [], D = (_ = o)._versions, I = _._dbSchema = mt(0, _.idbdb, M), (D = D.filter(function(z) {
11940
+ return F = D, q = b, M = c, U = [], D = (N = o)._versions, I = N._dbSchema = mt(0, N.idbdb, M), (D = D.filter(function(z) {
11941
11941
  return z._cfg.version >= F;
11942
11942
  })).length !== 0 ? (D.forEach(function(z) {
11943
11943
  U.push(function() {
11944
11944
  var J = I, Z = z._cfg.dbschema;
11945
- rn(_, J, M), rn(_, Z, M), I = _._dbSchema = Z;
11945
+ rn(N, J, M), rn(N, Z, M), I = N._dbSchema = Z;
11946
11946
  var se = Ot(J, Z);
11947
11947
  se.add.forEach(function(ve) {
11948
11948
  Lt(M, ve[0], ve[1].primKey, ve[1].indexes);
11949
11949
  }), se.change.forEach(function(ve) {
11950
11950
  if (ve.recreate) throw new oe.Upgrade("Not yet support for changing primary key");
11951
11951
  var ge = M.objectStore(ve.name);
11952
- ve.add.forEach(function(_e) {
11953
- return vt(ge, _e);
11954
- }), ve.change.forEach(function(_e) {
11955
- ge.deleteIndex(_e.name), vt(ge, _e);
11956
- }), ve.del.forEach(function(_e) {
11957
- return ge.deleteIndex(_e);
11952
+ ve.add.forEach(function(Ne) {
11953
+ return vt(ge, Ne);
11954
+ }), ve.change.forEach(function(Ne) {
11955
+ ge.deleteIndex(Ne.name), vt(ge, Ne);
11956
+ }), ve.del.forEach(function(Ne) {
11957
+ return ge.deleteIndex(Ne);
11958
11958
  });
11959
11959
  });
11960
11960
  var ce = z._cfg.contentUpgrade;
11961
11961
  if (ce && z._cfg.version > F) {
11962
- Me(_, M), q._memoizedTables = {};
11962
+ Me(N, M), q._memoizedTables = {};
11963
11963
  var me = re(Z);
11964
11964
  se.del.forEach(function(ve) {
11965
11965
  me[ve] = J[ve];
11966
- }), Xe(_, [_.Transaction.prototype]), ke(_, [_.Transaction.prototype], a(me), me), q.schema = me;
11966
+ }), Xe(N, [N.Transaction.prototype]), ke(N, [N.Transaction.prototype], a(me), me), q.schema = me;
11967
11967
  var fe, de = le(ce);
11968
11968
  return de && Vn(), se = ye.follow(function() {
11969
11969
  var ve;
@@ -11976,9 +11976,9 @@ function dv() {
11976
11976
  var Z, se, ce = z._cfg.dbschema;
11977
11977
  Z = ce, se = J, [].slice.call(se.db.objectStoreNames).forEach(function(me) {
11978
11978
  return Z[me] == null && se.db.deleteObjectStore(me);
11979
- }), Xe(_, [_.Transaction.prototype]), ke(_, [_.Transaction.prototype], _._storeNames, _._dbSchema), q.schema = _._dbSchema;
11979
+ }), Xe(N, [N.Transaction.prototype]), ke(N, [N.Transaction.prototype], N._storeNames, N._dbSchema), q.schema = N._dbSchema;
11980
11980
  }), U.push(function(J) {
11981
- _.idbdb.objectStoreNames.contains("$meta") && (Math.ceil(_.idbdb.version / 10) === z._cfg.version ? (_.idbdb.deleteObjectStore("$meta"), delete _._dbSchema.$meta, _._storeNames = _._storeNames.filter(function(Z) {
11981
+ N.idbdb.objectStoreNames.contains("$meta") && (Math.ceil(N.idbdb.version / 10) === z._cfg.version ? (N.idbdb.deleteObjectStore("$meta"), delete N._dbSchema.$meta, N._storeNames = N._storeNames.filter(function(Z) {
11982
11982
  return Z !== "$meta";
11983
11983
  })) : J.objectStore("$meta").put(z._cfg.version, "version"));
11984
11984
  });
@@ -11987,7 +11987,7 @@ function dv() {
11987
11987
  }().then(function() {
11988
11988
  gt(I, M);
11989
11989
  })) : ye.resolve();
11990
- var _, F, q, M, U, I;
11990
+ var N, F, q, M, U, I;
11991
11991
  }).catch(O)) : (a(g).forEach(function(D) {
11992
11992
  Lt(c, D, g[D].primKey, g[D].indexes);
11993
11993
  }), Me(o, c), void ye.follow(function() {
@@ -12003,9 +12003,9 @@ function dv() {
12003
12003
  for (var p = 0, g = Ot(c, o._dbSchema).change; p < g.length; p++) {
12004
12004
  var b = function(O) {
12005
12005
  if (O.change.length || O.recreate) return console.warn("Unable to patch indexes of table ".concat(O.name, " because it has changes on the type of index or primary key.")), { value: void 0 };
12006
- var N = l.objectStore(O.name);
12006
+ var _ = l.objectStore(O.name);
12007
12007
  O.add.forEach(function(P) {
12008
- At && console.debug("Dexie upgrade patch: Creating missing index ".concat(O.name, ".").concat(P.src)), vt(N, P);
12008
+ At && console.debug("Dexie upgrade patch: Creating missing index ".concat(O.name, ".").concat(P.src)), vt(_, P);
12009
12009
  });
12010
12010
  }(g[p]);
12011
12011
  if (typeof b == "object") return b.value;
@@ -12020,11 +12020,11 @@ function dv() {
12020
12020
  var O = { name: c, def: b, recreate: !1, del: [], add: [], change: [] };
12021
12021
  if ("" + (g.primKey.keyPath || "") != "" + (b.primKey.keyPath || "") || g.primKey.auto !== b.primKey.auto) O.recreate = !0, p.change.push(O);
12022
12022
  else {
12023
- var N = g.idxByName, P = b.idxByName, j = void 0;
12024
- for (j in N) P[j] || O.del.push(j);
12023
+ var _ = g.idxByName, P = b.idxByName, j = void 0;
12024
+ for (j in _) P[j] || O.del.push(j);
12025
12025
  for (j in P) {
12026
- var D = N[j], _ = P[j];
12027
- D ? D.src !== _.src && O.change.push(_) : O.add.push(_);
12026
+ var D = _[j], N = P[j];
12027
+ D ? D.src !== N.src && O.change.push(N) : O.add.push(N);
12028
12028
  }
12029
12029
  (0 < O.del.length || 0 < O.add.length || 0 < O.change.length) && p.change.push(O);
12030
12030
  }
@@ -12049,19 +12049,19 @@ function dv() {
12049
12049
  function mt(o, l, c) {
12050
12050
  var p = {};
12051
12051
  return W(l.objectStoreNames, 0).forEach(function(g) {
12052
- for (var b = c.objectStore(g), O = _r(nn(j = b.keyPath), j || "", !0, !1, !!b.autoIncrement, j && typeof j != "string", !0), N = [], P = 0; P < b.indexNames.length; ++P) {
12053
- var D = b.index(b.indexNames[P]), j = D.keyPath, D = _r(D.name, j, !!D.unique, !!D.multiEntry, !1, j && typeof j != "string", !1);
12054
- N.push(D);
12052
+ for (var b = c.objectStore(g), O = Nr(nn(j = b.keyPath), j || "", !0, !1, !!b.autoIncrement, j && typeof j != "string", !0), _ = [], P = 0; P < b.indexNames.length; ++P) {
12053
+ var D = b.index(b.indexNames[P]), j = D.keyPath, D = Nr(D.name, j, !!D.unique, !!D.multiEntry, !1, j && typeof j != "string", !1);
12054
+ _.push(D);
12055
12055
  }
12056
- p[g] = Cr(g, O, N);
12056
+ p[g] = Cr(g, O, _);
12057
12057
  }), p;
12058
12058
  }
12059
12059
  function rn(o, l, c) {
12060
12060
  for (var p = c.db.objectStoreNames, g = 0; g < p.length; ++g) {
12061
12061
  var b = p[g], O = c.objectStore(b);
12062
12062
  o._hasGetAll = "getAll" in O;
12063
- for (var N = 0; N < O.indexNames.length; ++N) {
12064
- var P = O.indexNames[N], j = O.index(P).keyPath, D = typeof j == "string" ? j : "[" + W(j).join("+") + "]";
12063
+ for (var _ = 0; _ < O.indexNames.length; ++_) {
12064
+ var P = O.indexNames[_], j = O.index(P).keyPath, D = typeof j == "string" ? j : "[" + W(j).join("+") + "]";
12065
12065
  !l[b] || (j = l[b].idxByName[D]) && (j.name = P, delete l[b].idxByName[D], l[b].idxByName[P] = j);
12066
12066
  }
12067
12067
  }
@@ -12070,7 +12070,7 @@ function dv() {
12070
12070
  function vn(o) {
12071
12071
  return o.split(",").map(function(l, c) {
12072
12072
  var p = (l = l.trim()).replace(/([&*]|\+\+)/g, ""), g = /^\[/.test(p) ? p.match(/^\[(.*)\]$/)[1].split("+") : p;
12073
- return _r(p, g || null, /\&/.test(l), /\*/.test(l), /\+\+/.test(l), u(g), c === 0);
12073
+ return Nr(p, g || null, /\&/.test(l), /\*/.test(l), /\+\+/.test(l), u(g), c === 0);
12074
12074
  });
12075
12075
  }
12076
12076
  var dr = (Gr.prototype._parseStoresSpec = function(o, l) {
@@ -12131,16 +12131,16 @@ function dv() {
12131
12131
  }
12132
12132
  function Zs(o, l) {
12133
12133
  qo(l) || function c(p, P) {
12134
- var b = P.from, O = P.to, N = P.l, P = P.r;
12135
- Js(p, b, O), N && c(p, N), P && c(p, P);
12134
+ var b = P.from, O = P.to, _ = P.l, P = P.r;
12135
+ Js(p, b, O), _ && c(p, _), P && c(p, P);
12136
12136
  }(o, l);
12137
12137
  }
12138
12138
  function wl(o, l) {
12139
12139
  var c = Li(l), p = c.next();
12140
12140
  if (p.done) return !1;
12141
- for (var g = p.value, b = Li(o), O = b.next(g.from), N = O.value; !p.done && !O.done; ) {
12142
- if (Ge(N.from, g.to) <= 0 && 0 <= Ge(N.to, g.from)) return !0;
12143
- Ge(g.from, N.from) < 0 ? g = (p = c.next(N.from)).value : N = (O = b.next(g.from)).value;
12141
+ for (var g = p.value, b = Li(o), O = b.next(g.from), _ = O.value; !p.done && !O.done; ) {
12142
+ if (Ge(_.from, g.to) <= 0 && 0 <= Ge(_.to, g.from)) return !0;
12143
+ Ge(g.from, _.from) < 0 ? g = (p = c.next(_.from)).value : _ = (O = b.next(g.from)).value;
12144
12144
  }
12145
12145
  return !1;
12146
12146
  }
@@ -12175,9 +12175,9 @@ function dv() {
12175
12175
  function ki(o, l) {
12176
12176
  return a(l).forEach(function(c) {
12177
12177
  o[c] ? Zs(o[c], l[c]) : o[c] = function p(g) {
12178
- var b, O, N = {};
12179
- for (b in g) w(g, b) && (O = g[b], N[b] = !O || typeof O != "object" || S.has(O.constructor) ? O : p(O));
12180
- return N;
12178
+ var b, O, _ = {};
12179
+ for (b in g) w(g, b) && (O = g[b], _[b] = !O || typeof O != "object" || S.has(O.constructor) ? O : p(O));
12180
+ return _;
12181
12181
  }(l[c]);
12182
12182
  }), o;
12183
12183
  }
@@ -12212,8 +12212,8 @@ function dv() {
12212
12212
  var c = /* @__PURE__ */ new Set();
12213
12213
  if (o.all) for (var p = 0, g = Object.values(Jr); p < g.length; p++) Sl(O = g[p], o, c, l);
12214
12214
  else for (var b in o) {
12215
- var O, N = /^idb\:\/\/(.*)\/(.*)\//.exec(b);
12216
- N && (b = N[1], N = N[2], (O = Jr["idb://".concat(b, "/").concat(N)]) && Sl(O, o, c, l));
12215
+ var O, _ = /^idb\:\/\/(.*)\/(.*)\//.exec(b);
12216
+ _ && (b = _[1], _ = _[2], (O = Jr["idb://".concat(b, "/").concat(_)]) && Sl(O, o, c, l));
12217
12217
  }
12218
12218
  c.forEach(function(P) {
12219
12219
  return P();
@@ -12221,8 +12221,8 @@ function dv() {
12221
12221
  }
12222
12222
  function Sl(o, l, c, p) {
12223
12223
  for (var g = [], b = 0, O = Object.entries(o.queries.query); b < O.length; b++) {
12224
- for (var N = O[b], P = N[0], j = [], D = 0, _ = N[1]; D < _.length; D++) {
12225
- var F = _[D];
12224
+ for (var _ = O[b], P = _[0], j = [], D = 0, N = _[1]; D < N.length; D++) {
12225
+ var F = N[D];
12226
12226
  jo(l, F.obsSet) ? F.subscribers.forEach(function(I) {
12227
12227
  return c.add(I);
12228
12228
  }) : p && j.push(F);
@@ -12244,7 +12244,7 @@ function dv() {
12244
12244
  function O() {
12245
12245
  if (l.openCanceller !== p) throw new oe.DatabaseClosed("db.open() was cancelled");
12246
12246
  }
12247
- function N() {
12247
+ function _() {
12248
12248
  return new ye(function(F, q) {
12249
12249
  if (O(), !c) throw new oe.MissingAPI();
12250
12250
  var M = o.name, U = l.autoSchema || !g ? c.open(M) : c.open(M, g);
@@ -12253,7 +12253,7 @@ function dv() {
12253
12253
  var z;
12254
12254
  D = U.transaction, l.autoSchema && !o._options.allowEmptyDB ? (U.onerror = yn, D.abort(), U.result.close(), (z = c.deleteDatabase(M)).onsuccess = z.onerror = it(function() {
12255
12255
  q(new oe.NoSuchDatabase("Database ".concat(M, " doesnt exist")));
12256
- })) : (D.onerror = zt(q), I = I.oldVersion > Math.pow(2, 62) ? 0 : I.oldVersion, _ = I < 1, o.idbdb = U.result, b && tt(o, D), pt(o, I / 10, D, q));
12256
+ })) : (D.onerror = zt(q), I = I.oldVersion > Math.pow(2, 62) ? 0 : I.oldVersion, N = I < 1, o.idbdb = U.result, b && tt(o, D), pt(o, I / 10, D, q));
12257
12257
  }, q), U.onsuccess = it(function() {
12258
12258
  D = null;
12259
12259
  var I, z, J, Z, se, ce = o.idbdb = U.result, me = W(ce.objectStoreNames);
@@ -12262,7 +12262,7 @@ function dv() {
12262
12262
  if (l.autoSchema) z = ce, J = fe, (I = o).verno = z.version / 10, J = I._dbSchema = mt(0, z, J), I._storeNames = W(z.objectStoreNames, 0), ke(I, [I._allTables], a(J), J);
12263
12263
  else if (rn(o, o._dbSchema, fe), ((se = Ot(mt(0, (se = o).idbdb, fe), se._dbSchema)).add.length || se.change.some(function(de) {
12264
12264
  return de.add.length || de.change.length;
12265
- })) && !b) 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."), ce.close(), g = ce.version + 1, b = !0, F(N());
12265
+ })) && !b) 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."), ce.close(), g = ce.version + 1, b = !0, F(_());
12266
12266
  Me(o, fe);
12267
12267
  } catch {
12268
12268
  }
@@ -12270,20 +12270,20 @@ function dv() {
12270
12270
  l.vcFired = !0, o.on("versionchange").fire(de);
12271
12271
  }), ce.onclose = it(function(de) {
12272
12272
  o.on("close").fire(de);
12273
- }), _ && (se = o._deps, fe = M, ce = se.indexedDB, se = se.IDBKeyRange, kr(ce) || fe === Cn || Lr(ce, se).put({ name: fe }).catch(Oe)), F();
12273
+ }), N && (se = o._deps, fe = M, ce = se.indexedDB, se = se.IDBKeyRange, kr(ce) || fe === Cn || Lr(ce, se).put({ name: fe }).catch(Oe)), F();
12274
12274
  }, q);
12275
12275
  }).catch(function(F) {
12276
12276
  switch (F == null ? void 0 : F.name) {
12277
12277
  case "UnknownError":
12278
- if (0 < l.PR1398_maxLoop) return l.PR1398_maxLoop--, console.warn("Dexie: Workaround for Chrome UnknownError on open()"), N();
12278
+ if (0 < l.PR1398_maxLoop) return l.PR1398_maxLoop--, console.warn("Dexie: Workaround for Chrome UnknownError on open()"), _();
12279
12279
  break;
12280
12280
  case "VersionError":
12281
- if (0 < g) return g = 0, N();
12281
+ if (0 < g) return g = 0, _();
12282
12282
  }
12283
12283
  return ye.reject(F);
12284
12284
  });
12285
12285
  }
12286
- var P, j = l.dbReadyResolve, D = null, _ = !1;
12286
+ var P, j = l.dbReadyResolve, D = null, N = !1;
12287
12287
  return ye.race([p, (typeof navigator > "u" ? ye.resolve() : !navigator.userAgentData && /Safari\//.test(navigator.userAgent) && !/Chrom(e|ium)\//.test(navigator.userAgent) && indexedDB.databases ? new Promise(function(F) {
12288
12288
  function q() {
12289
12289
  return indexedDB.databases().finally(F);
@@ -12291,7 +12291,7 @@ function dv() {
12291
12291
  P = setInterval(q, 100), q();
12292
12292
  }).finally(function() {
12293
12293
  return clearInterval(P);
12294
- }) : Promise.resolve()).then(N)]).then(function() {
12294
+ }) : Promise.resolve()).then(_)]).then(function() {
12295
12295
  return O(), l.onReadyBeingFired = [], ye.resolve(Po(function() {
12296
12296
  return o.on.ready.fire(o.vip);
12297
12297
  })).then(function F() {
@@ -12315,7 +12315,7 @@ function dv() {
12315
12315
  l.openComplete = !0, j();
12316
12316
  }).then(function() {
12317
12317
  var F;
12318
- return _ && (F = {}, o.tables.forEach(function(q) {
12318
+ return N && (F = {}, o.tables.forEach(function(q) {
12319
12319
  q.schema.indexes.forEach(function(M) {
12320
12320
  M.name && (F["idb://".concat(o.name, "/").concat(q.name, "/").concat(M.name)] = new jt(-1 / 0, [[[]]]));
12321
12321
  }), F["idb://".concat(o.name, "/").concat(q.name, "/")] = F["idb://".concat(o.name, "/").concat(q.name, "/:dels")] = new jt(-1 / 0, [[[]]]);
@@ -12331,8 +12331,8 @@ function dv() {
12331
12331
  });
12332
12332
  function g(b) {
12333
12333
  return function(P) {
12334
- var N = b(P), P = N.value;
12335
- return N.done ? P : P && typeof P.then == "function" ? P.then(c, p) : u(P) ? Promise.all(P).then(c, p) : c(P);
12334
+ var _ = b(P), P = _.value;
12335
+ return _.done ? P : P && typeof P.then == "function" ? P.then(c, p) : u(P) ? Promise.all(P).then(c, p) : c(P);
12336
12336
  };
12337
12337
  }
12338
12338
  return g(l)();
@@ -12344,35 +12344,35 @@ function dv() {
12344
12344
  var qh = { stack: "dbcore", name: "VirtualIndexMiddleware", level: 1, create: function(o) {
12345
12345
  return n(n({}, o), { table: function(l) {
12346
12346
  var c = o.table(l), p = c.schema, g = {}, b = [];
12347
- function O(_, F, q) {
12348
- var M = v(_), U = g[M] = g[M] || [], I = _ == null ? 0 : typeof _ == "string" ? 1 : _.length, z = 0 < F, z = n(n({}, q), { name: z ? "".concat(M, "(virtual-from:").concat(q.name, ")") : q.name, lowLevelIndex: q, isVirtual: z, keyTail: F, keyLength: I, extractKey: Yr(_), unique: !z && q.unique });
12349
- return U.push(z), z.isPrimaryKey || b.push(z), 1 < I && O(I === 2 ? _[0] : _.slice(0, I - 1), F + 1, q), U.sort(function(J, Z) {
12347
+ function O(N, F, q) {
12348
+ var M = v(N), U = g[M] = g[M] || [], I = N == null ? 0 : typeof N == "string" ? 1 : N.length, z = 0 < F, z = n(n({}, q), { name: z ? "".concat(M, "(virtual-from:").concat(q.name, ")") : q.name, lowLevelIndex: q, isVirtual: z, keyTail: F, keyLength: I, extractKey: Yr(N), unique: !z && q.unique });
12349
+ return U.push(z), z.isPrimaryKey || b.push(z), 1 < I && O(I === 2 ? N[0] : N.slice(0, I - 1), F + 1, q), U.sort(function(J, Z) {
12350
12350
  return J.keyTail - Z.keyTail;
12351
12351
  }), z;
12352
12352
  }
12353
12353
  l = O(p.primaryKey.keyPath, 0, p.primaryKey), g[":id"] = [l];
12354
- for (var N = 0, P = p.indexes; N < P.length; N++) {
12355
- var j = P[N];
12354
+ for (var _ = 0, P = p.indexes; _ < P.length; _++) {
12355
+ var j = P[_];
12356
12356
  O(j.keyPath, 0, j);
12357
12357
  }
12358
- function D(_) {
12359
- var F, q = _.query.index;
12360
- return q.isVirtual ? n(n({}, _), { query: { index: q.lowLevelIndex, range: (F = _.query.range, q = q.keyTail, { type: F.type === 1 ? 2 : F.type, lower: Pi(F.lower, F.lowerOpen ? o.MAX_KEY : o.MIN_KEY, q), lowerOpen: !0, upper: Pi(F.upper, F.upperOpen ? o.MIN_KEY : o.MAX_KEY, q), upperOpen: !0 }) } }) : _;
12358
+ function D(N) {
12359
+ var F, q = N.query.index;
12360
+ return q.isVirtual ? n(n({}, N), { query: { index: q.lowLevelIndex, range: (F = N.query.range, q = q.keyTail, { type: F.type === 1 ? 2 : F.type, lower: Pi(F.lower, F.lowerOpen ? o.MAX_KEY : o.MIN_KEY, q), lowerOpen: !0, upper: Pi(F.upper, F.upperOpen ? o.MIN_KEY : o.MAX_KEY, q), upperOpen: !0 }) } }) : N;
12361
12361
  }
12362
- return n(n({}, c), { schema: n(n({}, p), { primaryKey: l, indexes: b, getIndexByKeyPath: function(_) {
12363
- return (_ = g[v(_)]) && _[0];
12364
- } }), count: function(_) {
12365
- return c.count(D(_));
12366
- }, query: function(_) {
12367
- return c.query(D(_));
12368
- }, openCursor: function(_) {
12369
- var F = _.query.index, q = F.keyTail, M = F.isVirtual, U = F.keyLength;
12370
- return M ? c.openCursor(D(_)).then(function(z) {
12362
+ return n(n({}, c), { schema: n(n({}, p), { primaryKey: l, indexes: b, getIndexByKeyPath: function(N) {
12363
+ return (N = g[v(N)]) && N[0];
12364
+ } }), count: function(N) {
12365
+ return c.count(D(N));
12366
+ }, query: function(N) {
12367
+ return c.query(D(N));
12368
+ }, openCursor: function(N) {
12369
+ var F = N.query.index, q = F.keyTail, M = F.isVirtual, U = F.keyLength;
12370
+ return M ? c.openCursor(D(N)).then(function(z) {
12371
12371
  return z && I(z);
12372
- }) : c.openCursor(_);
12372
+ }) : c.openCursor(N);
12373
12373
  function I(z) {
12374
12374
  return Object.create(z, { continue: { value: function(J) {
12375
- J != null ? z.continue(Pi(J, _.reverse ? o.MAX_KEY : o.MIN_KEY, q)) : _.unique ? z.continue(z.key.slice(0, U).concat(_.reverse ? o.MIN_KEY : o.MAX_KEY, q)) : z.continue();
12375
+ J != null ? z.continue(Pi(J, N.reverse ? o.MAX_KEY : o.MIN_KEY, q)) : N.unique ? z.continue(z.key.slice(0, U).concat(N.reverse ? o.MIN_KEY : o.MAX_KEY, q)) : z.continue();
12376
12376
  } }, continuePrimaryKey: { value: function(J, Z) {
12377
12377
  z.continuePrimaryKey(Pi(J, o.MAX_KEY, q), Z);
12378
12378
  } }, primaryKey: { get: function() {
@@ -12389,8 +12389,8 @@ function dv() {
12389
12389
  } };
12390
12390
  function Bo(o, l, c, p) {
12391
12391
  return c = c || {}, p = p || "", a(o).forEach(function(g) {
12392
- var b, O, N;
12393
- w(l, g) ? (b = o[g], O = l[g], typeof b == "object" && typeof O == "object" && b && O ? (N = B(b)) !== B(O) ? c[p + g] = l[g] : N === "Object" ? Bo(b, O, c, p + g + ".") : b !== O && (c[p + g] = l[g]) : b !== O && (c[p + g] = l[g])) : c[p + g] = void 0;
12392
+ var b, O, _;
12393
+ w(l, g) ? (b = o[g], O = l[g], typeof b == "object" && typeof O == "object" && b && O ? (_ = B(b)) !== B(O) ? c[p + g] = l[g] : _ === "Object" ? Bo(b, O, c, p + g + ".") : b !== O && (c[p + g] = l[g]) : b !== O && (c[p + g] = l[g])) : c[p + g] = void 0;
12394
12394
  }), a(l).forEach(function(g) {
12395
12395
  w(o, g) || (c[p + g] = l[g]);
12396
12396
  }), c;
@@ -12402,7 +12402,7 @@ function dv() {
12402
12402
  return n(n({}, o), { table: function(l) {
12403
12403
  var c = o.table(l), p = c.schema.primaryKey;
12404
12404
  return n(n({}, c), { mutate: function(g) {
12405
- var b = Ee.trans, O = b.table(l).hook, N = O.deleting, P = O.creating, j = O.updating;
12405
+ var b = Ee.trans, O = b.table(l).hook, _ = O.deleting, P = O.creating, j = O.updating;
12406
12406
  switch (g.type) {
12407
12407
  case "add":
12408
12408
  if (P.fire === Oe) break;
@@ -12415,38 +12415,38 @@ function dv() {
12415
12415
  return D(g);
12416
12416
  }, !0);
12417
12417
  case "delete":
12418
- if (N.fire === Oe) break;
12418
+ if (_.fire === Oe) break;
12419
12419
  return b._promise("readwrite", function() {
12420
12420
  return D(g);
12421
12421
  }, !0);
12422
12422
  case "deleteRange":
12423
- if (N.fire === Oe) break;
12423
+ if (_.fire === Oe) break;
12424
12424
  return b._promise("readwrite", function() {
12425
- return function _(F, q, M) {
12425
+ return function N(F, q, M) {
12426
12426
  return c.query({ trans: F, values: !1, query: { index: p, range: q }, limit: M }).then(function(U) {
12427
12427
  var I = U.result;
12428
12428
  return D({ type: "delete", keys: I, trans: F }).then(function(z) {
12429
- return 0 < z.numFailures ? Promise.reject(z.failures[0]) : I.length < M ? { failures: [], numFailures: 0, lastResult: void 0 } : _(F, n(n({}, q), { lower: I[I.length - 1], lowerOpen: !0 }), M);
12429
+ return 0 < z.numFailures ? Promise.reject(z.failures[0]) : I.length < M ? { failures: [], numFailures: 0, lastResult: void 0 } : N(F, n(n({}, q), { lower: I[I.length - 1], lowerOpen: !0 }), M);
12430
12430
  });
12431
12431
  });
12432
12432
  }(g.trans, g.range, 1e4);
12433
12433
  }, !0);
12434
12434
  }
12435
12435
  return c.mutate(g);
12436
- function D(_) {
12437
- var F, q, M, U = Ee.trans, I = _.keys || Uo(p, _);
12436
+ function D(N) {
12437
+ var F, q, M, U = Ee.trans, I = N.keys || Uo(p, N);
12438
12438
  if (!I) throw new Error("Keys missing");
12439
- return (_ = _.type === "add" || _.type === "put" ? n(n({}, _), { keys: I }) : n({}, _)).type !== "delete" && (_.values = s([], _.values)), _.keys && (_.keys = s([], _.keys)), F = c, M = I, ((q = _).type === "add" ? Promise.resolve([]) : F.getMany({ trans: q.trans, keys: M, cache: "immutable" })).then(function(z) {
12439
+ return (N = N.type === "add" || N.type === "put" ? n(n({}, N), { keys: I }) : n({}, N)).type !== "delete" && (N.values = s([], N.values)), N.keys && (N.keys = s([], N.keys)), F = c, M = I, ((q = N).type === "add" ? Promise.resolve([]) : F.getMany({ trans: q.trans, keys: M, cache: "immutable" })).then(function(z) {
12440
12440
  var J = I.map(function(Z, se) {
12441
12441
  var ce, me, fe, de = z[se], ve = { onerror: null, onsuccess: null };
12442
- return _.type === "delete" ? N.fire.call(ve, Z, de, U) : _.type === "add" || de === void 0 ? (ce = P.fire.call(ve, Z, _.values[se], U), Z == null && ce != null && (_.keys[se] = Z = ce, p.outbound || ne(_.values[se], p.keyPath, Z))) : (ce = Bo(de, _.values[se]), (me = j.fire.call(ve, ce, Z, de, U)) && (fe = _.values[se], Object.keys(me).forEach(function(ge) {
12442
+ return N.type === "delete" ? _.fire.call(ve, Z, de, U) : N.type === "add" || de === void 0 ? (ce = P.fire.call(ve, Z, N.values[se], U), Z == null && ce != null && (N.keys[se] = Z = ce, p.outbound || ne(N.values[se], p.keyPath, Z))) : (ce = Bo(de, N.values[se]), (me = j.fire.call(ve, ce, Z, de, U)) && (fe = N.values[se], Object.keys(me).forEach(function(ge) {
12443
12443
  w(fe, ge) ? fe[ge] = me[ge] : ne(fe, ge, me[ge]);
12444
12444
  }))), ve;
12445
12445
  });
12446
- return c.mutate(_).then(function(Z) {
12446
+ return c.mutate(N).then(function(Z) {
12447
12447
  for (var se = Z.failures, ce = Z.results, me = Z.numFailures, Z = Z.lastResult, fe = 0; fe < I.length; ++fe) {
12448
12448
  var de = (ce || I)[fe], ve = J[fe];
12449
- de == null ? ve.onerror && ve.onerror(se[fe]) : ve.onsuccess && ve.onsuccess(_.type === "put" && z[fe] ? _.values[fe] : de);
12449
+ de == null ? ve.onerror && ve.onerror(se[fe]) : ve.onsuccess && ve.onsuccess(N.type === "put" && z[fe] ? N.values[fe] : de);
12450
12450
  }
12451
12451
  return { failures: se, results: ce, numFailures: me, lastResult: Z };
12452
12452
  }).catch(function(Z) {
@@ -12502,7 +12502,7 @@ function dv() {
12502
12502
  if (Ee.subscr && g !== "readonly") throw new oe.ReadOnly("Readwrite transaction in liveQuery context. Querier source: ".concat(Ee.querier));
12503
12503
  return o.transaction(p, g, b);
12504
12504
  }, table: function(p) {
12505
- var g = o.table(p), b = g.schema, O = b.primaryKey, _ = b.indexes, N = O.extractKey, P = O.outbound, j = O.autoIncrement && _.filter(function(q) {
12505
+ var g = o.table(p), b = g.schema, O = b.primaryKey, N = b.indexes, _ = O.extractKey, P = O.outbound, j = O.autoIncrement && N.filter(function(q) {
12506
12506
  return q.compound && q.keyPath.includes(O.keyPath);
12507
12507
  }), D = n(n({}, g), { mutate: function(q) {
12508
12508
  function M(ge) {
@@ -12512,14 +12512,14 @@ function dv() {
12512
12512
  return ge;
12513
12513
  }), q.values] : [], fe = ve[0], de = ve[1], ve = q.trans._cache;
12514
12514
  return u(fe) ? (se.addKeys(fe), (ve = me === "delete" || fe.length === de.length ? Ol(fe, ve) : null) || ce.addKeys(fe), (ve || de) && (U = M, I = ve, z = de, b.indexes.forEach(function(ge) {
12515
- var _e = U(ge.name || "");
12515
+ var Ne = U(ge.name || "");
12516
12516
  function ze(Ze) {
12517
12517
  return Ze != null ? ge.extractKey(Ze) : null;
12518
12518
  }
12519
12519
  function Je(Ze) {
12520
12520
  return ge.multiEntry && u(Ze) ? Ze.forEach(function(sn) {
12521
- return _e.addKey(sn);
12522
- }) : _e.addKey(Ze);
12521
+ return Ne.addKey(sn);
12522
+ }) : Ne.addKey(Ze);
12523
12523
  }
12524
12524
  (I || z).forEach(function(Ze, It) {
12525
12525
  var Ke = I && ze(I[It]), It = z && ze(z[It]);
@@ -12528,23 +12528,23 @@ function dv() {
12528
12528
  }))) : fe ? (de = { from: (de = fe.lower) !== null && de !== void 0 ? de : o.MIN_KEY, to: (de = fe.upper) !== null && de !== void 0 ? de : o.MAX_KEY }, ce.add(de), se.add(de)) : (se.add(c), ce.add(c), b.indexes.forEach(function(ge) {
12529
12529
  return M(ge.name).add(c);
12530
12530
  })), g.mutate(q).then(function(ge) {
12531
- return !fe || q.type !== "add" && q.type !== "put" || (se.addKeys(ge.results), j && j.forEach(function(_e) {
12531
+ return !fe || q.type !== "add" && q.type !== "put" || (se.addKeys(ge.results), j && j.forEach(function(Ne) {
12532
12532
  for (var ze = q.values.map(function(Ke) {
12533
- return _e.extractKey(Ke);
12534
- }), Je = _e.keyPath.findIndex(function(Ke) {
12533
+ return Ne.extractKey(Ke);
12534
+ }), Je = Ne.keyPath.findIndex(function(Ke) {
12535
12535
  return Ke === O.keyPath;
12536
12536
  }), Ze = 0, sn = ge.results.length; Ze < sn; ++Ze) ze[Ze][Je] = ge.results[Ze];
12537
- M(_e.name).addKeys(ze);
12537
+ M(Ne.name).addKeys(ze);
12538
12538
  })), J.mutatedParts = ki(J.mutatedParts || {}, Z), ge;
12539
12539
  });
12540
- } }), _ = function(M) {
12540
+ } }), N = function(M) {
12541
12541
  var U = M.query, M = U.index, U = U.range;
12542
12542
  return [M, new jt((M = U.lower) !== null && M !== void 0 ? M : o.MIN_KEY, (U = U.upper) !== null && U !== void 0 ? U : o.MAX_KEY)];
12543
12543
  }, F = { get: function(q) {
12544
12544
  return [O, new jt(q.key)];
12545
12545
  }, getMany: function(q) {
12546
12546
  return [O, new jt().addKeys(q.keys)];
12547
- }, count: _, query: _, openCursor: _ };
12547
+ }, count: N, query: N, openCursor: N };
12548
12548
  return a(F).forEach(function(q) {
12549
12549
  D[q] = function(M) {
12550
12550
  var U = Ee.subscr, I = !!U, z = Al(Ee, g) && Tl(q, M) ? M.obsSet = {} : U;
@@ -12560,17 +12560,17 @@ function dv() {
12560
12560
  if (P && M.values) return ce.then(function(ze) {
12561
12561
  return ze = ze.result, Z.addKeys(ze), de;
12562
12562
  });
12563
- var ve = M.values ? de.result.map(N) : de.result;
12563
+ var ve = M.values ? de.result.map(_) : de.result;
12564
12564
  (M.values ? Z : se).addKeys(ve);
12565
12565
  } else if (q === "openCursor") {
12566
- var ge = de, _e = M.values;
12566
+ var ge = de, Ne = M.values;
12567
12567
  return ge && Object.create(ge, { key: { get: function() {
12568
12568
  return se.addKey(ge.primaryKey), ge.key;
12569
12569
  } }, primaryKey: { get: function() {
12570
12570
  var ze = ge.primaryKey;
12571
12571
  return se.addKey(ze), ze;
12572
12572
  } }, value: { get: function() {
12573
- return _e && Z.addKey(ge.primaryKey), ge.value;
12573
+ return Ne && Z.addKey(ge.primaryKey), ge.value;
12574
12574
  } } });
12575
12575
  }
12576
12576
  return de;
@@ -12584,7 +12584,7 @@ function dv() {
12584
12584
  }), D;
12585
12585
  } });
12586
12586
  } };
12587
- function Nl(o, l, c) {
12587
+ function _l(o, l, c) {
12588
12588
  if (c.numFailures === 0) return l;
12589
12589
  if (l.type === "deleteRange") return null;
12590
12590
  var p = l.keys ? l.keys.length : "values" in l && l.values ? l.values.length : 1;
@@ -12598,54 +12598,54 @@ function dv() {
12598
12598
  return c = o, ((p = l).lower === void 0 || (p.lowerOpen ? 0 < Ge(c, p.lower) : 0 <= Ge(c, p.lower))) && (o = o, (l = l).upper === void 0 || (l.upperOpen ? Ge(o, l.upper) < 0 : Ge(o, l.upper) <= 0));
12599
12599
  var c, p;
12600
12600
  }
12601
- function _l(o, l, F, p, g, b) {
12601
+ function Nl(o, l, F, p, g, b) {
12602
12602
  if (!F || F.length === 0) return o;
12603
- var O = l.query.index, N = O.multiEntry, P = l.query.range, j = p.schema.primaryKey.extractKey, D = O.extractKey, _ = (O.lowLevelIndex || O).extractKey, F = F.reduce(function(q, M) {
12603
+ var O = l.query.index, _ = O.multiEntry, P = l.query.range, j = p.schema.primaryKey.extractKey, D = O.extractKey, N = (O.lowLevelIndex || O).extractKey, F = F.reduce(function(q, M) {
12604
12604
  var U = q, I = [];
12605
12605
  if (M.type === "add" || M.type === "put") for (var z = new jt(), J = M.values.length - 1; 0 <= J; --J) {
12606
12606
  var Z, se = M.values[J], ce = j(se);
12607
- z.hasKey(ce) || (Z = D(se), (N && u(Z) ? Z.some(function(ge) {
12607
+ z.hasKey(ce) || (Z = D(se), (_ && u(Z) ? Z.some(function(ge) {
12608
12608
  return Fo(ge, P);
12609
12609
  }) : Fo(Z, P)) && (z.addKey(ce), I.push(se)));
12610
12610
  }
12611
12611
  switch (M.type) {
12612
12612
  case "add":
12613
- var me = new jt().addKeys(l.values ? q.map(function(_e) {
12614
- return j(_e);
12615
- }) : q), U = q.concat(l.values ? I.filter(function(_e) {
12616
- return _e = j(_e), !me.hasKey(_e) && (me.addKey(_e), !0);
12617
- }) : I.map(function(_e) {
12618
- return j(_e);
12619
- }).filter(function(_e) {
12620
- return !me.hasKey(_e) && (me.addKey(_e), !0);
12613
+ var me = new jt().addKeys(l.values ? q.map(function(Ne) {
12614
+ return j(Ne);
12615
+ }) : q), U = q.concat(l.values ? I.filter(function(Ne) {
12616
+ return Ne = j(Ne), !me.hasKey(Ne) && (me.addKey(Ne), !0);
12617
+ }) : I.map(function(Ne) {
12618
+ return j(Ne);
12619
+ }).filter(function(Ne) {
12620
+ return !me.hasKey(Ne) && (me.addKey(Ne), !0);
12621
12621
  }));
12622
12622
  break;
12623
12623
  case "put":
12624
- var fe = new jt().addKeys(M.values.map(function(_e) {
12625
- return j(_e);
12624
+ var fe = new jt().addKeys(M.values.map(function(Ne) {
12625
+ return j(Ne);
12626
12626
  }));
12627
- U = q.filter(function(_e) {
12628
- return !fe.hasKey(l.values ? j(_e) : _e);
12629
- }).concat(l.values ? I : I.map(function(_e) {
12630
- return j(_e);
12627
+ U = q.filter(function(Ne) {
12628
+ return !fe.hasKey(l.values ? j(Ne) : Ne);
12629
+ }).concat(l.values ? I : I.map(function(Ne) {
12630
+ return j(Ne);
12631
12631
  }));
12632
12632
  break;
12633
12633
  case "delete":
12634
12634
  var de = new jt().addKeys(M.keys);
12635
- U = q.filter(function(_e) {
12636
- return !de.hasKey(l.values ? j(_e) : _e);
12635
+ U = q.filter(function(Ne) {
12636
+ return !de.hasKey(l.values ? j(Ne) : Ne);
12637
12637
  });
12638
12638
  break;
12639
12639
  case "deleteRange":
12640
12640
  var ve = M.range;
12641
- U = q.filter(function(_e) {
12642
- return !Fo(j(_e), ve);
12641
+ U = q.filter(function(Ne) {
12642
+ return !Fo(j(Ne), ve);
12643
12643
  });
12644
12644
  }
12645
12645
  return U;
12646
12646
  }, o);
12647
12647
  return F === o ? o : (F.sort(function(q, M) {
12648
- return Ge(_(q), _(M)) || Ge(j(q), j(M));
12648
+ return Ge(N(q), N(M)) || Ge(j(q), j(M));
12649
12649
  }), l.limit && l.limit < 1 / 0 && (F.length > l.limit ? F.length = l.limit : o.length === l.limit && F.length < l.limit && (g.dirty = !0)), b ? Object.freeze(F) : F);
12650
12650
  }
12651
12651
  function Cl(o, l) {
@@ -12683,61 +12683,61 @@ function dv() {
12683
12683
  var Bh = { stack: "dbcore", level: 0, name: "Cache", create: function(o) {
12684
12684
  var l = o.schema.name;
12685
12685
  return n(n({}, o), { transaction: function(c, p, g) {
12686
- var b, O, N = o.transaction(c, p, g);
12686
+ var b, O, _ = o.transaction(c, p, g);
12687
12687
  return p === "readwrite" && (O = (b = new AbortController()).signal, g = function(P) {
12688
12688
  return function() {
12689
12689
  if (b.abort(), p === "readwrite") {
12690
- for (var j = /* @__PURE__ */ new Set(), D = 0, _ = c; D < _.length; D++) {
12691
- var F = _[D], q = Jr["idb://".concat(l, "/").concat(F)];
12690
+ for (var j = /* @__PURE__ */ new Set(), D = 0, N = c; D < N.length; D++) {
12691
+ var F = N[D], q = Jr["idb://".concat(l, "/").concat(F)];
12692
12692
  if (q) {
12693
- var M = o.table(F), U = q.optimisticOps.filter(function(_e) {
12694
- return _e.trans === N;
12693
+ var M = o.table(F), U = q.optimisticOps.filter(function(Ne) {
12694
+ return Ne.trans === _;
12695
12695
  });
12696
- if (N._explicit && P && N.mutatedParts) for (var I = 0, z = Object.values(q.queries.query); I < z.length; I++) for (var J = 0, Z = (me = z[I]).slice(); J < Z.length; J++) jo((fe = Z[J]).obsSet, N.mutatedParts) && (H(me, fe), fe.subscribers.forEach(function(_e) {
12697
- return j.add(_e);
12696
+ if (_._explicit && P && _.mutatedParts) for (var I = 0, z = Object.values(q.queries.query); I < z.length; I++) for (var J = 0, Z = (me = z[I]).slice(); J < Z.length; J++) jo((fe = Z[J]).obsSet, _.mutatedParts) && (H(me, fe), fe.subscribers.forEach(function(Ne) {
12697
+ return j.add(Ne);
12698
12698
  }));
12699
12699
  else if (0 < U.length) {
12700
- q.optimisticOps = q.optimisticOps.filter(function(_e) {
12701
- return _e.trans !== N;
12700
+ q.optimisticOps = q.optimisticOps.filter(function(Ne) {
12701
+ return Ne.trans !== _;
12702
12702
  });
12703
- for (var se = 0, ce = Object.values(q.queries.query); se < ce.length; se++) for (var me, fe, de, ve = 0, ge = (me = ce[se]).slice(); ve < ge.length; ve++) (fe = ge[ve]).res != null && N.mutatedParts && (P && !fe.dirty ? (de = Object.isFrozen(fe.res), de = _l(fe.res, fe.req, U, M, fe, de), fe.dirty ? (H(me, fe), fe.subscribers.forEach(function(_e) {
12704
- return j.add(_e);
12705
- })) : de !== fe.res && (fe.res = de, fe.promise = ye.resolve({ result: de }))) : (fe.dirty && H(me, fe), fe.subscribers.forEach(function(_e) {
12706
- return j.add(_e);
12703
+ for (var se = 0, ce = Object.values(q.queries.query); se < ce.length; se++) for (var me, fe, de, ve = 0, ge = (me = ce[se]).slice(); ve < ge.length; ve++) (fe = ge[ve]).res != null && _.mutatedParts && (P && !fe.dirty ? (de = Object.isFrozen(fe.res), de = Nl(fe.res, fe.req, U, M, fe, de), fe.dirty ? (H(me, fe), fe.subscribers.forEach(function(Ne) {
12704
+ return j.add(Ne);
12705
+ })) : de !== fe.res && (fe.res = de, fe.promise = ye.resolve({ result: de }))) : (fe.dirty && H(me, fe), fe.subscribers.forEach(function(Ne) {
12706
+ return j.add(Ne);
12707
12707
  })));
12708
12708
  }
12709
12709
  }
12710
12710
  }
12711
- j.forEach(function(_e) {
12712
- return _e();
12711
+ j.forEach(function(Ne) {
12712
+ return Ne();
12713
12713
  });
12714
12714
  }
12715
12715
  };
12716
- }, N.addEventListener("abort", g(!1), { signal: O }), N.addEventListener("error", g(!1), { signal: O }), N.addEventListener("complete", g(!0), { signal: O })), N;
12716
+ }, _.addEventListener("abort", g(!1), { signal: O }), _.addEventListener("error", g(!1), { signal: O }), _.addEventListener("complete", g(!0), { signal: O })), _;
12717
12717
  }, table: function(c) {
12718
12718
  var p = o.table(c), g = p.schema.primaryKey;
12719
12719
  return n(n({}, p), { mutate: function(b) {
12720
12720
  var O = Ee.trans;
12721
12721
  if (g.outbound || O.db._options.cache === "disabled" || O.explicit || O.idbtrans.mode !== "readwrite") return p.mutate(b);
12722
- var N = Jr["idb://".concat(l, "/").concat(c)];
12723
- return N ? (O = p.mutate(b), b.type !== "add" && b.type !== "put" || !(50 <= b.values.length || Uo(g, b).some(function(P) {
12722
+ var _ = Jr["idb://".concat(l, "/").concat(c)];
12723
+ return _ ? (O = p.mutate(b), b.type !== "add" && b.type !== "put" || !(50 <= b.values.length || Uo(g, b).some(function(P) {
12724
12724
  return P == null;
12725
- })) ? (N.optimisticOps.push(b), b.mutatedParts && Ri(b.mutatedParts), O.then(function(P) {
12726
- 0 < P.numFailures && (H(N.optimisticOps, b), (P = Nl(0, b, P)) && N.optimisticOps.push(P), b.mutatedParts && Ri(b.mutatedParts));
12725
+ })) ? (_.optimisticOps.push(b), b.mutatedParts && Ri(b.mutatedParts), O.then(function(P) {
12726
+ 0 < P.numFailures && (H(_.optimisticOps, b), (P = _l(0, b, P)) && _.optimisticOps.push(P), b.mutatedParts && Ri(b.mutatedParts));
12727
12727
  }), O.catch(function() {
12728
- H(N.optimisticOps, b), b.mutatedParts && Ri(b.mutatedParts);
12728
+ H(_.optimisticOps, b), b.mutatedParts && Ri(b.mutatedParts);
12729
12729
  })) : O.then(function(P) {
12730
- var j = Nl(0, n(n({}, b), { values: b.values.map(function(D, _) {
12730
+ var j = _l(0, n(n({}, b), { values: b.values.map(function(D, N) {
12731
12731
  var F;
12732
- return P.failures[_] || (D = (F = g.keyPath) !== null && F !== void 0 && F.includes(".") ? k(D) : n({}, D), ne(D, g.keyPath, P.results[_])), D;
12732
+ return P.failures[N] || (D = (F = g.keyPath) !== null && F !== void 0 && F.includes(".") ? k(D) : n({}, D), ne(D, g.keyPath, P.results[N])), D;
12733
12733
  }) }), P);
12734
- N.optimisticOps.push(j), queueMicrotask(function() {
12734
+ _.optimisticOps.push(j), queueMicrotask(function() {
12735
12735
  return b.mutatedParts && Ri(b.mutatedParts);
12736
12736
  });
12737
12737
  }), O) : p.mutate(b);
12738
12738
  }, query: function(b) {
12739
12739
  if (!Al(Ee, p) || !Tl("query", b)) return p.query(b);
12740
- var O = ((j = Ee.trans) === null || j === void 0 ? void 0 : j.db._options.cache) === "immutable", _ = Ee, N = _.requery, P = _.signal, j = function(M, U, I, z) {
12740
+ var O = ((j = Ee.trans) === null || j === void 0 ? void 0 : j.db._options.cache) === "immutable", N = Ee, _ = N.requery, P = N.signal, j = function(M, U, I, z) {
12741
12741
  var J = Jr["idb://".concat(M, "/").concat(U)];
12742
12742
  if (!J) return [];
12743
12743
  if (!(U = J.queries[I])) return [null, !1, J, null];
@@ -12756,8 +12756,8 @@ function dv() {
12756
12756
  return Cl(ce.req.query.range, z.query.range);
12757
12757
  }), [se, !!se, J, Z];
12758
12758
  }
12759
- }(l, c, "query", b), D = j[0], _ = j[1], F = j[2], q = j[3];
12760
- return D && _ ? D.obsSet = b.obsSet : (_ = p.query(b).then(function(M) {
12759
+ }(l, c, "query", b), D = j[0], N = j[1], F = j[2], q = j[3];
12760
+ return D && N ? D.obsSet = b.obsSet : (N = p.query(b).then(function(M) {
12761
12761
  var U = M.result;
12762
12762
  if (D && (D.res = U), O) {
12763
12763
  for (var I = 0, z = U.length; I < z; ++I) Object.freeze(U[I]);
@@ -12766,8 +12766,8 @@ function dv() {
12766
12766
  return M;
12767
12767
  }).catch(function(M) {
12768
12768
  return q && D && H(q, D), Promise.reject(M);
12769
- }), D = { obsSet: b.obsSet, promise: _, subscribers: /* @__PURE__ */ new Set(), type: "query", req: b, dirty: !1 }, q ? q.push(D) : (q = [D], (F = F || (Jr["idb://".concat(l, "/").concat(c)] = { queries: { query: {}, count: {} }, objs: /* @__PURE__ */ new Map(), optimisticOps: [], unsignaledParts: {} })).queries.query[b.query.index.name || ""] = q)), Dh(D, q, N, P), D.promise.then(function(M) {
12770
- return { result: _l(M.result, b, F == null ? void 0 : F.optimisticOps, p, D, O) };
12769
+ }), D = { obsSet: b.obsSet, promise: N, subscribers: /* @__PURE__ */ new Set(), type: "query", req: b, dirty: !1 }, q ? q.push(D) : (q = [D], (F = F || (Jr["idb://".concat(l, "/").concat(c)] = { queries: { query: {}, count: {} }, objs: /* @__PURE__ */ new Map(), optimisticOps: [], unsignaledParts: {} })).queries.query[b.query.index.name || ""] = q)), Dh(D, q, _, P), D.promise.then(function(M) {
12770
+ return { result: Nl(M.result, b, F == null ? void 0 : F.optimisticOps, p, D, O) };
12771
12771
  });
12772
12772
  } });
12773
12773
  } });
@@ -12807,7 +12807,7 @@ function dv() {
12807
12807
  })), this;
12808
12808
  }, wt.prototype.open = function() {
12809
12809
  var o = this;
12810
- return Nn(St, function() {
12810
+ return _n(St, function() {
12811
12811
  return Ph(o);
12812
12812
  });
12813
12813
  }, wt.prototype._close = function() {
@@ -12834,11 +12834,11 @@ function dv() {
12834
12834
  return new ye(function(g, b) {
12835
12835
  function O() {
12836
12836
  l.close(o);
12837
- var N = l._deps.indexedDB.deleteDatabase(l.name);
12838
- N.onsuccess = it(function() {
12837
+ var _ = l._deps.indexedDB.deleteDatabase(l.name);
12838
+ _.onsuccess = it(function() {
12839
12839
  var P, j, D;
12840
12840
  P = l._deps, j = l.name, D = P.indexedDB, P = P.IDBKeyRange, kr(D) || j === Cn || Lr(D, P).delete(j).catch(Oe), g();
12841
- }), N.onerror = zt(b), N.onblocked = l._fireOnBlocked;
12841
+ }), _.onerror = zt(b), _.onblocked = l._fireOnBlocked;
12842
12842
  }
12843
12843
  if (c) throw new oe.InvalidArgument("Invalid closeOptions argument to db.delete()");
12844
12844
  p.isBeingOpened ? p.dbReadyPromise.then(O) : O();
@@ -12870,7 +12870,7 @@ function dv() {
12870
12870
  }, wt.prototype._transaction = function(o, l, c) {
12871
12871
  var p = this, g = Ee.trans;
12872
12872
  g && g.db === this && o.indexOf("!") === -1 || (g = null);
12873
- var b, O, N = o.indexOf("?") !== -1;
12873
+ var b, O, _ = o.indexOf("?") !== -1;
12874
12874
  o = o.replace("!", "").replace("?", "");
12875
12875
  try {
12876
12876
  if (O = l.map(function(j) {
@@ -12883,30 +12883,30 @@ function dv() {
12883
12883
  }
12884
12884
  if (g) {
12885
12885
  if (g.mode === Sr && b === Yn) {
12886
- if (!N) throw new oe.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY");
12886
+ if (!_) throw new oe.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY");
12887
12887
  g = null;
12888
12888
  }
12889
12889
  g && O.forEach(function(j) {
12890
12890
  if (g && g.storeNames.indexOf(j) === -1) {
12891
- if (!N) throw new oe.SubTransaction("Table " + j + " not included in parent transaction.");
12891
+ if (!_) throw new oe.SubTransaction("Table " + j + " not included in parent transaction.");
12892
12892
  g = null;
12893
12893
  }
12894
- }), N && g && !g.active && (g = null);
12894
+ }), _ && g && !g.active && (g = null);
12895
12895
  }
12896
12896
  } catch (j) {
12897
- return g ? g._promise(null, function(D, _) {
12898
- _(j);
12897
+ return g ? g._promise(null, function(D, N) {
12898
+ N(j);
12899
12899
  }) : lt(j);
12900
12900
  }
12901
- var P = (function j(D, _, F, q, M) {
12901
+ var P = (function j(D, N, F, q, M) {
12902
12902
  return ye.resolve().then(function() {
12903
- var U = Ee.transless || Ee, I = D._createTransaction(_, F, D._dbSchema, q);
12903
+ var U = Ee.transless || Ee, I = D._createTransaction(N, F, D._dbSchema, q);
12904
12904
  if (I.explicit = !0, U = { trans: I, transless: U }, q) I.idbtrans = q.idbtrans;
12905
12905
  else try {
12906
12906
  I.create(), I.idbtrans._explicit = !0, D._state.PR1398_maxLoop = 3;
12907
12907
  } catch (Z) {
12908
12908
  return Z.name === We.InvalidState && D.isOpen() && 0 < --D._state.PR1398_maxLoop ? (console.warn("Dexie: Need to reopen db"), D.close({ disableAutoOpen: !1 }), D.open().then(function() {
12909
- return j(D, _, F, null, M);
12909
+ return j(D, N, F, null, M);
12910
12910
  })) : lt(Z);
12911
12911
  }
12912
12912
  var z, J = le(M);
@@ -12926,7 +12926,7 @@ function dv() {
12926
12926
  });
12927
12927
  });
12928
12928
  }).bind(null, this, b, O, g, c);
12929
- return g ? g._promise(b, P, "lock") : Ee.trans ? Nn(Ee.transless, function() {
12929
+ return g ? g._promise(b, P, "lock") : Ee.trans ? _n(Ee.transless, function() {
12930
12930
  return p._whenReady(P);
12931
12931
  }) : this._whenReady(P);
12932
12932
  }, wt.prototype.table = function(o) {
@@ -12938,16 +12938,16 @@ function dv() {
12938
12938
  this._middlewares = {}, this.verno = 0;
12939
12939
  var p = wt.dependencies;
12940
12940
  this._options = l = n({ addons: wt.addons, autoOpen: !0, indexedDB: p.indexedDB, IDBKeyRange: p.IDBKeyRange, cache: "cloned" }, l), this._deps = { indexedDB: l.indexedDB, IDBKeyRange: l.IDBKeyRange }, p = l.addons, this._dbSchema = {}, this._versions = [], this._storeNames = [], this._allTables = {}, this.idbdb = null, this._novip = this;
12941
- var g, b, O, N, P, j = { dbOpenError: null, isBeingOpened: !1, onReadyBeingFired: null, openComplete: !1, dbReadyResolve: Oe, dbReadyPromise: null, cancelOpen: Oe, openCanceller: null, autoSchema: !0, PR1398_maxLoop: 3, autoOpen: l.autoOpen };
12942
- j.dbReadyPromise = new ye(function(_) {
12943
- j.dbReadyResolve = _;
12944
- }), j.openCanceller = new ye(function(_, F) {
12941
+ var g, b, O, _, P, j = { dbOpenError: null, isBeingOpened: !1, onReadyBeingFired: null, openComplete: !1, dbReadyResolve: Oe, dbReadyPromise: null, cancelOpen: Oe, openCanceller: null, autoSchema: !0, PR1398_maxLoop: 3, autoOpen: l.autoOpen };
12942
+ j.dbReadyPromise = new ye(function(N) {
12943
+ j.dbReadyResolve = N;
12944
+ }), j.openCanceller = new ye(function(N, F) {
12945
12945
  j.cancelOpen = F;
12946
- }), this._state = j, this.name = o, this.on = Qt(this, "populate", "blocked", "versionchange", "close", { ready: [Jt, Oe] }), this.on.ready.subscribe = X(this.on.ready.subscribe, function(_) {
12946
+ }), this._state = j, this.name = o, this.on = Qt(this, "populate", "blocked", "versionchange", "close", { ready: [Jt, Oe] }), this.on.ready.subscribe = X(this.on.ready.subscribe, function(N) {
12947
12947
  return function(F, q) {
12948
12948
  wt.vip(function() {
12949
12949
  var M, U = c._state;
12950
- U.openComplete ? (U.dbOpenError || ye.resolve().then(F), q && _(F)) : U.onReadyBeingFired ? (U.onReadyBeingFired.push(F), q && _(F)) : (_(F), M = c, q || _(function I() {
12950
+ U.openComplete ? (U.dbOpenError || ye.resolve().then(F), q && N(F)) : U.onReadyBeingFired ? (U.onReadyBeingFired.push(F), q && N(F)) : (N(F), M = c, q || N(function I() {
12951
12951
  M.on.ready.unsubscribe(F), M.on.ready.unsubscribe(I);
12952
12952
  }));
12953
12953
  });
@@ -12962,11 +12962,11 @@ function dv() {
12962
12962
  }
12963
12963
  var U = z._ctx, I = U.table, z = I.hook.reading.fire;
12964
12964
  this._ctx = { table: I, index: U.index, isPrimKey: !U.index || I.schema.primKey.keyPath && U.index === I.schema.primKey.name, range: q, keysOnly: !1, dir: "next", unique: "", algorithm: null, filter: null, replayFilter: null, justLimit: !0, isMatch: null, offset: 0, limit: 1 / 0, error: M, or: U.or, valueMapper: z !== De ? z : null };
12965
- })), this.Table = (b = this, Gn(fr.prototype, function(_, F, q) {
12966
- this.db = b, this._tx = q, this.name = _, this.schema = F, this.hook = b._allTables[_] ? b._allTables[_].hook : Qt(null, { creating: [Ft, Oe], reading: [rt, De], updating: [un, Oe], deleting: [ln, Oe] });
12967
- })), this.Transaction = (O = this, Gn(xs.prototype, function(_, F, q, M, U) {
12965
+ })), this.Table = (b = this, Gn(fr.prototype, function(N, F, q) {
12966
+ this.db = b, this._tx = q, this.name = N, this.schema = F, this.hook = b._allTables[N] ? b._allTables[N].hook : Qt(null, { creating: [Ft, Oe], reading: [rt, De], updating: [un, Oe], deleting: [ln, Oe] });
12967
+ })), this.Transaction = (O = this, Gn(xs.prototype, function(N, F, q, M, U) {
12968
12968
  var I = this;
12969
- this.db = O, this.mode = _, this.storeNames = F, this.schema = q, this.chromeTransactionDurability = M, this.idbtrans = null, this.on = Qt(this, "complete", "error", "abort"), this.parent = U || null, this.active = !0, this._reculock = 0, this._blockedFuncs = [], this._resolve = null, this._reject = null, this._waitingFor = null, this._waitingQueue = null, this._spinCount = 0, this._completion = new ye(function(z, J) {
12969
+ this.db = O, this.mode = N, this.storeNames = F, this.schema = q, this.chromeTransactionDurability = M, this.idbtrans = null, this.on = Qt(this, "complete", "error", "abort"), this.parent = U || null, this.active = !0, this._reculock = 0, this._blockedFuncs = [], this._resolve = null, this._reject = null, this._waitingFor = null, this._waitingQueue = null, this._spinCount = 0, this._completion = new ye(function(z, J) {
12970
12970
  I._resolve = z, I._reject = J;
12971
12971
  }), this._completion.then(function() {
12972
12972
  I.active = !1, I.on.complete.fire();
@@ -12974,43 +12974,43 @@ function dv() {
12974
12974
  var J = I.active;
12975
12975
  return I.active = !1, I.on.error.fire(z), I.parent ? I.parent._reject(z) : J && I.idbtrans && I.idbtrans.abort(), lt(z);
12976
12976
  });
12977
- })), this.Version = (N = this, Gn(dr.prototype, function(_) {
12978
- this.db = N, this._cfg = { version: _, storesSource: null, dbschema: {}, tables: {}, contentUpgrade: null };
12979
- })), this.WhereClause = (P = this, Gn(Ct.prototype, function(_, F, q) {
12980
- if (this.db = P, this._ctx = { table: _, index: F === ":id" ? null : F, or: q }, this._cmp = this._ascending = Ge, this._descending = function(M, U) {
12977
+ })), this.Version = (_ = this, Gn(dr.prototype, function(N) {
12978
+ this.db = _, this._cfg = { version: N, storesSource: null, dbschema: {}, tables: {}, contentUpgrade: null };
12979
+ })), this.WhereClause = (P = this, Gn(Ct.prototype, function(N, F, q) {
12980
+ if (this.db = P, this._ctx = { table: N, index: F === ":id" ? null : F, or: q }, this._cmp = this._ascending = Ge, this._descending = function(M, U) {
12981
12981
  return Ge(U, M);
12982
12982
  }, this._max = function(M, U) {
12983
12983
  return 0 < Ge(M, U) ? M : U;
12984
12984
  }, this._min = function(M, U) {
12985
12985
  return Ge(M, U) < 0 ? M : U;
12986
12986
  }, this._IDBKeyRange = P._deps.IDBKeyRange, !this._IDBKeyRange) throw new oe.MissingAPI();
12987
- })), this.on("versionchange", function(_) {
12988
- 0 < _.newVersion ? console.warn("Another connection wants to upgrade database '".concat(c.name, "'. Closing db now to resume the upgrade.")) : console.warn("Another connection wants to delete database '".concat(c.name, "'. Closing db now to resume the delete request.")), c.close({ disableAutoOpen: !1 });
12989
- }), this.on("blocked", function(_) {
12990
- !_.newVersion || _.newVersion < _.oldVersion ? console.warn("Dexie.delete('".concat(c.name, "') was blocked")) : console.warn("Upgrade '".concat(c.name, "' blocked by other connection holding version ").concat(_.oldVersion / 10));
12991
- }), this._maxKey = Rn(l.IDBKeyRange), this._createTransaction = function(_, F, q, M) {
12992
- return new c.Transaction(_, F, q, c._options.chromeTransactionDurability, M);
12993
- }, this._fireOnBlocked = function(_) {
12994
- c.on("blocked").fire(_), Wn.filter(function(F) {
12987
+ })), this.on("versionchange", function(N) {
12988
+ 0 < N.newVersion ? console.warn("Another connection wants to upgrade database '".concat(c.name, "'. Closing db now to resume the upgrade.")) : console.warn("Another connection wants to delete database '".concat(c.name, "'. Closing db now to resume the delete request.")), c.close({ disableAutoOpen: !1 });
12989
+ }), this.on("blocked", function(N) {
12990
+ !N.newVersion || N.newVersion < N.oldVersion ? console.warn("Dexie.delete('".concat(c.name, "') was blocked")) : console.warn("Upgrade '".concat(c.name, "' blocked by other connection holding version ").concat(N.oldVersion / 10));
12991
+ }), this._maxKey = Rn(l.IDBKeyRange), this._createTransaction = function(N, F, q, M) {
12992
+ return new c.Transaction(N, F, q, c._options.chromeTransactionDurability, M);
12993
+ }, this._fireOnBlocked = function(N) {
12994
+ c.on("blocked").fire(N), Wn.filter(function(F) {
12995
12995
  return F.name === c.name && F !== c && !F._state.vcFired;
12996
12996
  }).map(function(F) {
12997
- return F.on("versionchange").fire(_);
12997
+ return F.on("versionchange").fire(N);
12998
12998
  });
12999
12999
  }, this.use(Ih), this.use(Bh), this.use($h), this.use(qh), this.use(jh);
13000
- var D = new Proxy(this, { get: function(_, F, q) {
13000
+ var D = new Proxy(this, { get: function(N, F, q) {
13001
13001
  if (F === "_vip") return !0;
13002
13002
  if (F === "table") return function(U) {
13003
13003
  return qi(c.table(U), D);
13004
13004
  };
13005
- var M = Reflect.get(_, F, q);
13005
+ var M = Reflect.get(N, F, q);
13006
13006
  return M instanceof fr ? qi(M, D) : F === "tables" ? M.map(function(U) {
13007
13007
  return qi(U, D);
13008
13008
  }) : F === "_createTransaction" ? function() {
13009
13009
  return qi(M.apply(this, arguments), D);
13010
13010
  } : M;
13011
13011
  } });
13012
- this.vip = D, p.forEach(function(_) {
13013
- return _(c);
13012
+ this.vip = D, p.forEach(function(N) {
13013
+ return N(c);
13014
13014
  });
13015
13015
  }
13016
13016
  var ji, wn = typeof Symbol < "u" && "observable" in Symbol ? Symbol.observable : "@@observable", Uh = (Ko.prototype.subscribe = function(o, l, c) {
@@ -13028,19 +13028,19 @@ function dv() {
13028
13028
  }
13029
13029
  function Ll(o) {
13030
13030
  var l, c = !1, p = new Uh(function(g) {
13031
- var b = le(o), O, N = !1, P = {}, j = {}, D = { get closed() {
13032
- return N;
13031
+ var b = le(o), O, _ = !1, P = {}, j = {}, D = { get closed() {
13032
+ return _;
13033
13033
  }, unsubscribe: function() {
13034
- N || (N = !0, O && O.abort(), _ && bn.storagemutated.unsubscribe(q));
13034
+ _ || (_ = !0, O && O.abort(), N && bn.storagemutated.unsubscribe(q));
13035
13035
  } };
13036
13036
  g.start && g.start(D);
13037
- var _ = !1, F = function() {
13038
- return Nt(M);
13037
+ var N = !1, F = function() {
13038
+ return _t(M);
13039
13039
  }, q = function(U) {
13040
13040
  ki(P, U), jo(j, P) && F();
13041
13041
  }, M = function() {
13042
13042
  var U, I, z;
13043
- !N && ji.indexedDB && (P = {}, U = {}, O && O.abort(), O = new AbortController(), z = function(J) {
13043
+ !_ && ji.indexedDB && (P = {}, U = {}, O && O.abort(), O = new AbortController(), z = function(J) {
13044
13044
  var Z = Ht();
13045
13045
  try {
13046
13046
  b && Vn();
@@ -13050,15 +13050,15 @@ function dv() {
13050
13050
  Z && Tn();
13051
13051
  }
13052
13052
  }(I = { subscr: U, signal: O.signal, requery: F, querier: o, trans: null }), Promise.resolve(z).then(function(J) {
13053
- c = !0, l = J, N || I.signal.aborted || (P = {}, function(Z) {
13053
+ c = !0, l = J, _ || I.signal.aborted || (P = {}, function(Z) {
13054
13054
  for (var se in Z) if (w(Z, se)) return;
13055
13055
  return 1;
13056
- }(j = U) || _ || (bn(kn, q), _ = !0), Nt(function() {
13057
- return !N && g.next && g.next(J);
13056
+ }(j = U) || N || (bn(kn, q), N = !0), _t(function() {
13057
+ return !_ && g.next && g.next(J);
13058
13058
  }));
13059
13059
  }, function(J) {
13060
- c = !1, ["DatabaseClosedError", "AbortError"].includes(J == null ? void 0 : J.name) || N || Nt(function() {
13061
- N || g.error && g.error(J);
13060
+ c = !1, ["DatabaseClosedError", "AbortError"].includes(J == null ? void 0 : J.name) || _ || _t(function() {
13061
+ _ || g.error && g.error(J);
13062
13062
  });
13063
13063
  }));
13064
13064
  };
@@ -13105,7 +13105,7 @@ function dv() {
13105
13105
  f(this, o);
13106
13106
  };
13107
13107
  }, ignoreTransaction: function(o) {
13108
- return Ee.trans ? Nn(Ee.transless, o) : o();
13108
+ return Ee.trans ? _n(Ee.transless, o) : o();
13109
13109
  }, vip: Po, async: function(o) {
13110
13110
  return function() {
13111
13111
  try {
@@ -13177,16 +13177,16 @@ const Da = /* @__PURE__ */ Hs(pv), fc = Symbol.for("Dexie"), go = globalThis[fc]
13177
13177
  if (Da.semVer !== go.semVer)
13178
13178
  throw new Error(`Two different versions of Dexie loaded in the same app: ${Da.semVer} and ${go.semVer}`);
13179
13179
  const {
13180
- liveQuery: Cx,
13181
- mergeRanges: Lx,
13182
- rangesOverlap: kx,
13183
- RangeSet: Rx,
13184
- cmp: Px,
13185
- Entity: qx,
13186
- PropModification: jx,
13187
- replacePrefix: Ix,
13188
- add: $x,
13189
- remove: Mx
13180
+ liveQuery: Lx,
13181
+ mergeRanges: kx,
13182
+ rangesOverlap: Rx,
13183
+ RangeSet: Px,
13184
+ cmp: qx,
13185
+ Entity: jx,
13186
+ PropModification: Ix,
13187
+ replacePrefix: $x,
13188
+ add: Mx,
13189
+ remove: Dx
13190
13190
  } = go;
13191
13191
  class gv extends go {
13192
13192
  constructor() {
@@ -13735,12 +13735,12 @@ function Ov() {
13735
13735
  }
13736
13736
  var Av = Ov();
13737
13737
  const Tv = /* @__PURE__ */ Hs(Av);
13738
- var Ka = { exports: {} }, Nv = Ka.exports, gc;
13739
- function _v() {
13738
+ var Ka = { exports: {} }, _v = Ka.exports, gc;
13739
+ function Nv() {
13740
13740
  return gc || (gc = 1, function(r, e) {
13741
13741
  (function(t, n) {
13742
13742
  r.exports = n();
13743
- })(Nv, function() {
13743
+ })(_v, function() {
13744
13744
  var t = "minute", n = /[+-]\d\d(?::?\d\d)?/g, s = /([+-]|\d\d)/g;
13745
13745
  return function(i, a, u) {
13746
13746
  var f = a.prototype;
@@ -13811,7 +13811,7 @@ function _v() {
13811
13811
  });
13812
13812
  }(Ka)), Ka.exports;
13813
13813
  }
13814
- var Cv = _v();
13814
+ var Cv = Nv();
13815
13815
  const Lv = /* @__PURE__ */ Hs(Cv);
13816
13816
  ml.extend(Ev);
13817
13817
  ml.extend(Tv);
@@ -14027,10 +14027,10 @@ function ah(r, e) {
14027
14027
  return r.apply(e, arguments);
14028
14028
  };
14029
14029
  }
14030
- const { toString: $v } = Object.prototype, { getPrototypeOf: yl } = Object, No = /* @__PURE__ */ ((r) => (e) => {
14030
+ const { toString: $v } = Object.prototype, { getPrototypeOf: yl } = Object, _o = /* @__PURE__ */ ((r) => (e) => {
14031
14031
  const t = $v.call(e);
14032
14032
  return r[t] || (r[t] = t.slice(8, -1).toLowerCase());
14033
- })(/* @__PURE__ */ Object.create(null)), Fn = (r) => (r = r.toLowerCase(), (e) => No(e) === r), _o = (r) => (e) => typeof e === r, { isArray: zs } = Array, Ei = _o("undefined");
14033
+ })(/* @__PURE__ */ Object.create(null)), Fn = (r) => (r = r.toLowerCase(), (e) => _o(e) === r), No = (r) => (e) => typeof e === r, { isArray: zs } = Array, Ei = No("undefined");
14034
14034
  function Mv(r) {
14035
14035
  return r !== null && !Ei(r) && r.constructor !== null && !Ei(r.constructor) && on(r.constructor.isBuffer) && r.constructor.isBuffer(r);
14036
14036
  }
@@ -14039,17 +14039,17 @@ function Dv(r) {
14039
14039
  let e;
14040
14040
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(r) : e = r && r.buffer && lh(r.buffer), e;
14041
14041
  }
14042
- const Bv = _o("string"), on = _o("function"), uh = _o("number"), Co = (r) => r !== null && typeof r == "object", Uv = (r) => r === !0 || r === !1, eo = (r) => {
14043
- if (No(r) !== "object")
14042
+ const Bv = No("string"), on = No("function"), uh = No("number"), Co = (r) => r !== null && typeof r == "object", Uv = (r) => r === !0 || r === !1, eo = (r) => {
14043
+ if (_o(r) !== "object")
14044
14044
  return !1;
14045
14045
  const e = yl(r);
14046
14046
  return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in r) && !(Symbol.iterator in r);
14047
14047
  }, Fv = Fn("Date"), Kv = Fn("File"), Hv = Fn("Blob"), zv = Fn("FileList"), Vv = (r) => Co(r) && on(r.pipe), Wv = (r) => {
14048
14048
  let e;
14049
- return r && (typeof FormData == "function" && r instanceof FormData || on(r.append) && ((e = No(r)) === "formdata" || // detect form-data instance
14049
+ return r && (typeof FormData == "function" && r instanceof FormData || on(r.append) && ((e = _o(r)) === "formdata" || // detect form-data instance
14050
14050
  e === "object" && on(r.toString) && r.toString() === "[object FormData]"));
14051
14051
  }, Yv = Fn("URLSearchParams"), [Gv, Jv, Zv, Xv] = ["ReadableStream", "Request", "Response", "Headers"].map(Fn), Qv = (r) => r.trim ? r.trim() : r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
14052
- function _i(r, e, { allOwnKeys: t = !1 } = {}) {
14052
+ function Ni(r, e, { allOwnKeys: t = !1 } = {}) {
14053
14053
  if (r === null || typeof r > "u")
14054
14054
  return;
14055
14055
  let n, s;
@@ -14079,10 +14079,10 @@ function Ha() {
14079
14079
  eo(e[i]) && eo(n) ? e[i] = Ha(e[i], n) : eo(n) ? e[i] = Ha({}, n) : zs(n) ? e[i] = n.slice() : e[i] = n;
14080
14080
  };
14081
14081
  for (let n = 0, s = arguments.length; n < s; n++)
14082
- arguments[n] && _i(arguments[n], t);
14082
+ arguments[n] && Ni(arguments[n], t);
14083
14083
  return e;
14084
14084
  }
14085
- const ew = (r, e, t, { allOwnKeys: n } = {}) => (_i(e, (s, i) => {
14085
+ const ew = (r, e, t, { allOwnKeys: n } = {}) => (Ni(e, (s, i) => {
14086
14086
  t && on(s) ? r[i] = ah(s, t) : r[i] = s;
14087
14087
  }, { allOwnKeys: n }), r), tw = (r) => (r.charCodeAt(0) === 65279 && (r = r.slice(1)), r), nw = (r, e, t, n) => {
14088
14088
  r.prototype = Object.create(e.prototype, n), r.prototype.constructor = r, Object.defineProperty(r, "super", {
@@ -14131,7 +14131,7 @@ const ew = (r, e, t, { allOwnKeys: n } = {}) => (_i(e, (s, i) => {
14131
14131
  }
14132
14132
  ), Ec = (({ hasOwnProperty: r }) => (e, t) => r.call(e, t))(Object.prototype), fw = Fn("RegExp"), hh = (r, e) => {
14133
14133
  const t = Object.getOwnPropertyDescriptors(r), n = {};
14134
- _i(t, (s, i) => {
14134
+ Ni(t, (s, i) => {
14135
14135
  let a;
14136
14136
  (a = e(s, i, r)) !== !1 && (n[i] = a || s);
14137
14137
  }), Object.defineProperties(r, n);
@@ -14170,7 +14170,7 @@ const yw = (r) => {
14170
14170
  if (!("toJSON" in n)) {
14171
14171
  e[s] = n;
14172
14172
  const i = zs(n) ? [] : {};
14173
- return _i(n, (a, u) => {
14173
+ return Ni(n, (a, u) => {
14174
14174
  const f = t(a, s + 1);
14175
14175
  !Ei(f) && (i[u] = f);
14176
14176
  }), e[s] = void 0, i;
@@ -14211,14 +14211,14 @@ const yw = (r) => {
14211
14211
  isURLSearchParams: Yv,
14212
14212
  isTypedArray: ow,
14213
14213
  isFileList: zv,
14214
- forEach: _i,
14214
+ forEach: Ni,
14215
14215
  merge: Ha,
14216
14216
  extend: ew,
14217
14217
  trim: Qv,
14218
14218
  stripBOM: tw,
14219
14219
  inherits: nw,
14220
14220
  toFlatObject: rw,
14221
- kindOf: No,
14221
+ kindOf: _o,
14222
14222
  kindOfTest: Fn,
14223
14223
  endsWith: sw,
14224
14224
  toArray: iw,
@@ -14478,12 +14478,12 @@ const vh = {
14478
14478
  silentJSONParsing: !0,
14479
14479
  forcedJSONParsing: !0,
14480
14480
  clarifyTimeoutError: !1
14481
- }, Aw = typeof URLSearchParams < "u" ? URLSearchParams : bl, Tw = typeof FormData < "u" ? FormData : null, Nw = typeof Blob < "u" ? Blob : null, _w = {
14481
+ }, Aw = typeof URLSearchParams < "u" ? URLSearchParams : bl, Tw = typeof FormData < "u" ? FormData : null, _w = typeof Blob < "u" ? Blob : null, Nw = {
14482
14482
  isBrowser: !0,
14483
14483
  classes: {
14484
14484
  URLSearchParams: Aw,
14485
14485
  FormData: Tw,
14486
- Blob: Nw
14486
+ Blob: _w
14487
14487
  },
14488
14488
  protocols: ["http", "https", "file", "blob", "url", "data"]
14489
14489
  }, vl = typeof window < "u" && typeof document < "u", Va = typeof navigator == "object" && navigator || void 0, Cw = vl && (!Va || ["ReactNative", "NativeScript", "NS"].indexOf(Va.product) < 0), Lw = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
@@ -14496,7 +14496,7 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", kw
14496
14496
  origin: kw
14497
14497
  }, Symbol.toStringTag, { value: "Module" })), Dt = {
14498
14498
  ...Rw,
14499
- ..._w
14499
+ ...Nw
14500
14500
  };
14501
14501
  function Pw(r, e) {
14502
14502
  return Lo(r, new Dt.classes.URLSearchParams(), Object.assign({
@@ -14881,14 +14881,14 @@ const mo = (r, e, t = 3) => {
14881
14881
  };
14882
14882
  r(w);
14883
14883
  }, t);
14884
- }, Nc = (r, e) => {
14884
+ }, _c = (r, e) => {
14885
14885
  const t = r != null;
14886
14886
  return [(n) => e[0]({
14887
14887
  lengthComputable: t,
14888
14888
  total: r,
14889
14889
  loaded: n
14890
14890
  }), e[1]];
14891
- }, _c = (r) => (...e) => Q.asap(() => r(...e)), Vw = Dt.hasStandardBrowserEnv ? /* @__PURE__ */ ((r, e) => (t) => (t = new URL(t, Dt.origin), r.protocol === t.protocol && r.host === t.host && (e || r.port === t.port)))(
14891
+ }, Nc = (r) => (...e) => Q.asap(() => r(...e)), Vw = Dt.hasStandardBrowserEnv ? /* @__PURE__ */ ((r, e) => (t) => (t = new URL(t, Dt.origin), r.protocol === t.protocol && r.host === t.host && (e || r.port === t.port)))(
14892
14892
  new URL(Dt.origin),
14893
14893
  Dt.navigator && /(msie|trident)/i.test(Dt.navigator.userAgent)
14894
14894
  ) : () => !0, Ww = Dt.hasStandardBrowserEnv ? (
@@ -15220,9 +15220,9 @@ const sx = async (r) => {
15220
15220
  duplex: "half"
15221
15221
  }), ue;
15222
15222
  if (Q.isFormData(n) && (ue = ae.headers.get("content-type")) && m.setContentType(ue), ae.body) {
15223
- const [ne, re] = Nc(
15223
+ const [ne, re] = _c(
15224
15224
  T,
15225
- mo(_c(f))
15225
+ mo(Nc(f))
15226
15226
  );
15227
15227
  n = Lc(ae.body, kc, ne, re);
15228
15228
  }
@@ -15245,9 +15245,9 @@ const sx = async (r) => {
15245
15245
  ["status", "statusText", "headers"].forEach((Te) => {
15246
15246
  ae[Te] = W[Te];
15247
15247
  });
15248
- const ue = Q.toFiniteNumber(W.headers.get("content-length")), [ne, re] = u && Nc(
15248
+ const ue = Q.toFiniteNumber(W.headers.get("content-length")), [ne, re] = u && _c(
15249
15249
  ue,
15250
- mo(_c(u), !0)
15250
+ mo(Nc(u), !0)
15251
15251
  ) || [];
15252
15252
  W = new Response(
15253
15253
  Lc(W.body, kc, ne, () => {
@@ -15290,7 +15290,7 @@ Q.forEach(Ya, (r, e) => {
15290
15290
  Object.defineProperty(r, "adapterName", { value: e });
15291
15291
  }
15292
15292
  });
15293
- const Rc = (r) => `- ${r}`, ax = (r) => Q.isFunction(r) || r === null || r === !1, Nh = {
15293
+ const Rc = (r) => `- ${r}`, ax = (r) => Q.isFunction(r) || r === null || r === !1, _h = {
15294
15294
  getAdapter: (r) => {
15295
15295
  r = Q.isArray(r) ? r : [r];
15296
15296
  const { length: e } = r;
@@ -15329,7 +15329,7 @@ function Pc(r) {
15329
15329
  return fa(r), r.headers = Gt.from(r.headers), r.data = ca.call(
15330
15330
  r,
15331
15331
  r.transformRequest
15332
- ), ["post", "put", "patch"].indexOf(r.method) !== -1 && r.headers.setContentType("application/x-www-form-urlencoded", !1), Nh.getAdapter(r.adapter || Ci.adapter)(r).then(function(e) {
15332
+ ), ["post", "put", "patch"].indexOf(r.method) !== -1 && r.headers.setContentType("application/x-www-form-urlencoded", !1), _h.getAdapter(r.adapter || Ci.adapter)(r).then(function(e) {
15333
15333
  return fa(r), e.data = ca.call(
15334
15334
  r,
15335
15335
  r.transformResponse,
@@ -15343,7 +15343,7 @@ function Pc(r) {
15343
15343
  ), e.response.headers = Gt.from(e.response.headers))), Promise.reject(e);
15344
15344
  });
15345
15345
  }
15346
- const _h = "1.8.4", Ro = {};
15346
+ const Nh = "1.8.4", Ro = {};
15347
15347
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((r, e) => {
15348
15348
  Ro[r] = function(t) {
15349
15349
  return typeof t === r || "a" + (e < 1 ? "n " : " ") + r;
@@ -15352,7 +15352,7 @@ const _h = "1.8.4", Ro = {};
15352
15352
  const qc = {};
15353
15353
  Ro.transitional = function(r, e, t) {
15354
15354
  function n(s, i) {
15355
- return "[Axios v" + _h + "] Transitional option '" + s + "'" + i + (t ? ". " + t : "");
15355
+ return "[Axios v" + Nh + "] Transitional option '" + s + "'" + i + (t ? ". " + t : "");
15356
15356
  }
15357
15357
  return (s, i, a) => {
15358
15358
  if (r === !1)
@@ -15676,7 +15676,7 @@ xt.Axios = es;
15676
15676
  xt.CanceledError = Vs;
15677
15677
  xt.CancelToken = ux;
15678
15678
  xt.isCancel = xh;
15679
- xt.VERSION = _h;
15679
+ xt.VERSION = Nh;
15680
15680
  xt.toFormData = Lo;
15681
15681
  xt.AxiosError = Ve;
15682
15682
  xt.Cancel = xt.CanceledError;
@@ -15688,26 +15688,26 @@ xt.isAxiosError = fx;
15688
15688
  xt.mergeConfig = is;
15689
15689
  xt.AxiosHeaders = Gt;
15690
15690
  xt.formToJSON = (r) => wh(Q.isHTMLForm(r) ? new FormData(r) : r);
15691
- xt.getAdapter = Nh.getAdapter;
15691
+ xt.getAdapter = _h.getAdapter;
15692
15692
  xt.HttpStatusCode = Ga;
15693
15693
  xt.default = xt;
15694
15694
  const {
15695
- Axios: Dx,
15696
- AxiosError: Bx,
15697
- CanceledError: Ux,
15698
- isCancel: Fx,
15699
- CancelToken: Kx,
15700
- VERSION: Hx,
15701
- all: zx,
15702
- Cancel: Vx,
15703
- isAxiosError: Wx,
15704
- spread: Yx,
15705
- toFormData: Gx,
15706
- AxiosHeaders: Jx,
15707
- HttpStatusCode: Zx,
15708
- formToJSON: Xx,
15709
- getAdapter: Qx,
15710
- mergeConfig: eE
15695
+ Axios: Bx,
15696
+ AxiosError: Ux,
15697
+ CanceledError: Fx,
15698
+ isCancel: Kx,
15699
+ CancelToken: Hx,
15700
+ VERSION: zx,
15701
+ all: Vx,
15702
+ Cancel: Wx,
15703
+ isAxiosError: Yx,
15704
+ spread: Gx,
15705
+ toFormData: Jx,
15706
+ AxiosHeaders: Zx,
15707
+ HttpStatusCode: Xx,
15708
+ formToJSON: Qx,
15709
+ getAdapter: eE,
15710
+ mergeConfig: tE
15711
15711
  } = xt;
15712
15712
  class kh {
15713
15713
  constructor(e) {
@@ -15753,7 +15753,7 @@ Ut.use(Qf).use(nh).init({
15753
15753
  backend: { loadPath: "/locales/{{lng}}/{{ns}}.json" },
15754
15754
  interpolation: { escapeValue: !1 }
15755
15755
  });
15756
- const tE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15756
+ const nE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15757
15757
  __proto__: null,
15758
15758
  KEY: Rh,
15759
15759
  LNG_ZH: Ja,
@@ -15767,18 +15767,29 @@ const tE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15767
15767
  loadLanguages: I0,
15768
15768
  loadNamespaces: j0,
15769
15769
  loadResources: T0,
15770
- reloadResources: N0,
15770
+ reloadResources: _0,
15771
15771
  setDefaultNamespace: P0,
15772
15772
  t: k0,
15773
- use: _0
15773
+ use: N0
15774
+ }, Symbol.toStringTag, { value: "Module" })), yx = async (r) => {
15775
+ const { file: e, onProgress: t, onSuccess: n } = r;
15776
+ let s = 0;
15777
+ const i = setInterval(() => {
15778
+ s += Math.floor(Math.random() * 10), s >= 100 && (s = 99), t({ percent: s });
15779
+ }, 100);
15780
+ e.url = URL.createObjectURL(e), n == null || n({ url: e.url }), clearInterval(i);
15781
+ }, rE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15782
+ __proto__: null,
15783
+ onUpload: yx
15774
15784
  }, Symbol.toStringTag, { value: "Module" }));
15775
15785
  export {
15776
15786
  F1 as E,
15777
15787
  r0 as F,
15778
15788
  Wf as P,
15779
- _x as T,
15789
+ Cx as T,
15780
15790
  X1 as U,
15791
+ rE as a,
15781
15792
  qr as c,
15782
15793
  $c as g,
15783
- tE as i
15794
+ nE as i
15784
15795
  };