smart-editor-v3 1.8.7 → 1.8.8

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.
@@ -228,16 +228,16 @@ function Z8(n) {
228
228
  function k() {
229
229
  return o = 0, u(t) && (r++, i = 0), s(t) && t++, t++, i++, e[t];
230
230
  }
231
- function T() {
231
+ function A() {
232
232
  return s(t + o) && o++, o++, e[t + o];
233
233
  }
234
234
  function x() {
235
235
  t = 0, r = 1, i = 1, o = 0;
236
236
  }
237
- function A(R = 0) {
237
+ function T(R = 0) {
238
238
  o = R;
239
239
  }
240
- function N() {
240
+ function E() {
241
241
  const R = t + o;
242
242
  for (; R !== t; )
243
243
  k();
@@ -252,10 +252,10 @@ function Z8(n) {
252
252
  currentChar: v,
253
253
  currentPeek: y,
254
254
  next: k,
255
- peek: T,
255
+ peek: A,
256
256
  reset: x,
257
- resetPeek: A,
258
- skipToPeek: N
257
+ resetPeek: T,
258
+ skipToPeek: E
259
259
  };
260
260
  }
261
261
  const uo = void 0, e_ = ".", $1 = "'", t_ = "tokenizer";
@@ -320,7 +320,7 @@ function n_(n, e = {}) {
320
320
  const W = z.charCodeAt(0);
321
321
  return W >= 48 && W <= 57;
322
322
  }
323
- function T(z, W) {
323
+ function A(z, W) {
324
324
  const { currentType: ce } = W;
325
325
  if (ce !== 2)
326
326
  return !1;
@@ -336,7 +336,7 @@ function n_(n, e = {}) {
336
336
  const De = z.currentPeek() === "-" ? z.peek() : z.currentPeek(), At = k(De);
337
337
  return z.resetPeek(), At;
338
338
  }
339
- function A(z, W) {
339
+ function T(z, W) {
340
340
  const { currentType: ce } = W;
341
341
  if (ce !== 2)
342
342
  return !1;
@@ -344,7 +344,7 @@ function n_(n, e = {}) {
344
344
  const De = z.currentPeek() === $1;
345
345
  return z.resetPeek(), De;
346
346
  }
347
- function N(z, W) {
347
+ function E(z, W) {
348
348
  const { currentType: ce } = W;
349
349
  if (ce !== 7)
350
350
  return !1;
@@ -405,7 +405,7 @@ function n_(n, e = {}) {
405
405
  function D(z) {
406
406
  return S(z, P);
407
407
  }
408
- function E(z) {
408
+ function M(z) {
409
409
  const W = z.charCodeAt(0);
410
410
  return W >= 97 && W <= 122 || // a-z
411
411
  W >= 65 && W <= 90 || // A-Z
@@ -415,7 +415,7 @@ function n_(n, e = {}) {
415
415
  W === 45;
416
416
  }
417
417
  function Y(z) {
418
- return S(z, E);
418
+ return S(z, M);
419
419
  }
420
420
  function K(z) {
421
421
  const W = z.charCodeAt(0);
@@ -565,11 +565,11 @@ function n_(n, e = {}) {
565
565
  return W.braceNest > 0 && d(Qe.UNTERMINATED_CLOSING_BRACE, o(), 0), ce = f(W, 1, gn(z)), W.braceNest = 0, W.inLinked = !1, ce;
566
566
  if (W.braceNest > 0 && (W.currentType === 4 || W.currentType === 5 || W.currentType === 6))
567
567
  return d(Qe.UNTERMINATED_CLOSING_BRACE, o(), 0), W.braceNest = 0, Hn(z, W);
568
- if (At = T(z, W))
568
+ if (At = A(z, W))
569
569
  return ce = f(W, 4, Me(z)), v(z), ce;
570
570
  if (Ct = x(z, W))
571
571
  return ce = f(W, 5, $e(z)), v(z), ce;
572
- if (nt = A(z, W))
572
+ if (nt = T(z, W))
573
573
  return ce = f(W, 6, Nt(z)), v(z), ce;
574
574
  if (!At && !Ct && !nt)
575
575
  return ce = f(W, 12, ot(z)), d(Qe.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, ce.value), v(z), ce;
@@ -605,7 +605,7 @@ function n_(n, e = {}) {
605
605
  /* TokenChars.LinkedDelimiter */
606
606
  );
607
607
  default:
608
- return te(z) ? (De = f(W, 1, gn(z)), W.braceNest = 0, W.inLinked = !1, De) : N(z, W) || U(z, W) ? (v(z), Gt(z, W)) : R(z, W) ? (v(z), f(W, 11, Ot(z))) : L(z, W) ? (v(z), At === "{" ? zn(z, W) || De : f(W, 10, un(z))) : (ce === 7 && d(Qe.INVALID_LINKED_FORMAT, o(), 0), W.braceNest = 0, W.inLinked = !1, Hn(z, W));
608
+ return te(z) ? (De = f(W, 1, gn(z)), W.braceNest = 0, W.inLinked = !1, De) : E(z, W) || U(z, W) ? (v(z), Gt(z, W)) : R(z, W) ? (v(z), f(W, 11, Ot(z))) : L(z, W) ? (v(z), At === "{" ? zn(z, W) || De : f(W, 10, un(z))) : (ce === 7 && d(Qe.INVALID_LINKED_FORMAT, o(), 0), W.braceNest = 0, W.inLinked = !1, Hn(z, W));
609
609
  }
610
610
  }
611
611
  function Hn(z, W) {
@@ -669,132 +669,132 @@ function o_(n, e, t) {
669
669
  }
670
670
  function s_(n = {}) {
671
671
  const e = n.location !== !1, { onError: t } = n;
672
- function r(y, k, T, x, ...A) {
673
- const N = y.currentPosition();
674
- if (N.offset += x, N.column += x, t) {
675
- const R = e ? Zf(T, N) : null, U = Ba(k, R, {
672
+ function r(y, k, A, x, ...T) {
673
+ const E = y.currentPosition();
674
+ if (E.offset += x, E.column += x, t) {
675
+ const R = e ? Zf(A, E) : null, U = Ba(k, R, {
676
676
  domain: r_,
677
- args: A
677
+ args: T
678
678
  });
679
679
  t(U);
680
680
  }
681
681
  }
682
- function i(y, k, T) {
682
+ function i(y, k, A) {
683
683
  const x = { type: y };
684
- return e && (x.start = k, x.end = k, x.loc = { start: T, end: T }), x;
684
+ return e && (x.start = k, x.end = k, x.loc = { start: A, end: A }), x;
685
685
  }
686
- function o(y, k, T, x) {
687
- e && (y.end = k, y.loc && (y.loc.end = T));
686
+ function o(y, k, A, x) {
687
+ e && (y.end = k, y.loc && (y.loc.end = A));
688
688
  }
689
689
  function s(y, k) {
690
- const T = y.context(), x = i(3, T.offset, T.startLoc);
690
+ const A = y.context(), x = i(3, A.offset, A.startLoc);
691
691
  return x.value = k, o(x, y.currentOffset(), y.currentPosition()), x;
692
692
  }
693
693
  function a(y, k) {
694
- const T = y.context(), { lastOffset: x, lastStartLoc: A } = T, N = i(5, x, A);
695
- return N.index = parseInt(k, 10), y.nextToken(), o(N, y.currentOffset(), y.currentPosition()), N;
694
+ const A = y.context(), { lastOffset: x, lastStartLoc: T } = A, E = i(5, x, T);
695
+ return E.index = parseInt(k, 10), y.nextToken(), o(E, y.currentOffset(), y.currentPosition()), E;
696
696
  }
697
697
  function l(y, k) {
698
- const T = y.context(), { lastOffset: x, lastStartLoc: A } = T, N = i(4, x, A);
699
- return N.key = k, y.nextToken(), o(N, y.currentOffset(), y.currentPosition()), N;
698
+ const A = y.context(), { lastOffset: x, lastStartLoc: T } = A, E = i(4, x, T);
699
+ return E.key = k, y.nextToken(), o(E, y.currentOffset(), y.currentPosition()), E;
700
700
  }
701
701
  function c(y, k) {
702
- const T = y.context(), { lastOffset: x, lastStartLoc: A } = T, N = i(9, x, A);
703
- return N.value = k.replace(i_, o_), y.nextToken(), o(N, y.currentOffset(), y.currentPosition()), N;
702
+ const A = y.context(), { lastOffset: x, lastStartLoc: T } = A, E = i(9, x, T);
703
+ return E.value = k.replace(i_, o_), y.nextToken(), o(E, y.currentOffset(), y.currentPosition()), E;
704
704
  }
705
705
  function u(y) {
706
- const k = y.nextToken(), T = y.context(), { lastOffset: x, lastStartLoc: A } = T, N = i(8, x, A);
707
- return k.type !== 11 ? (r(y, Qe.UNEXPECTED_EMPTY_LINKED_MODIFIER, T.lastStartLoc, 0), N.value = "", o(N, x, A), {
706
+ const k = y.nextToken(), A = y.context(), { lastOffset: x, lastStartLoc: T } = A, E = i(8, x, T);
707
+ return k.type !== 11 ? (r(y, Qe.UNEXPECTED_EMPTY_LINKED_MODIFIER, A.lastStartLoc, 0), E.value = "", o(E, x, T), {
708
708
  nextConsumeToken: k,
709
- node: N
710
- }) : (k.value == null && r(y, Qe.UNEXPECTED_LEXICAL_ANALYSIS, T.lastStartLoc, 0, ci(k)), N.value = k.value || "", o(N, y.currentOffset(), y.currentPosition()), {
711
- node: N
709
+ node: E
710
+ }) : (k.value == null && r(y, Qe.UNEXPECTED_LEXICAL_ANALYSIS, A.lastStartLoc, 0, ci(k)), E.value = k.value || "", o(E, y.currentOffset(), y.currentPosition()), {
711
+ node: E
712
712
  });
713
713
  }
714
714
  function d(y, k) {
715
- const T = y.context(), x = i(7, T.offset, T.startLoc);
715
+ const A = y.context(), x = i(7, A.offset, A.startLoc);
716
716
  return x.value = k, o(x, y.currentOffset(), y.currentPosition()), x;
717
717
  }
718
718
  function f(y) {
719
- const k = y.context(), T = i(6, k.offset, k.startLoc);
719
+ const k = y.context(), A = i(6, k.offset, k.startLoc);
720
720
  let x = y.nextToken();
721
721
  if (x.type === 8) {
722
- const A = u(y);
723
- T.modifier = A.node, x = A.nextConsumeToken || y.nextToken();
722
+ const T = u(y);
723
+ A.modifier = T.node, x = T.nextConsumeToken || y.nextToken();
724
724
  }
725
725
  switch (x.type !== 9 && r(y, Qe.UNEXPECTED_LEXICAL_ANALYSIS, k.lastStartLoc, 0, ci(x)), x = y.nextToken(), x.type === 2 && (x = y.nextToken()), x.type) {
726
726
  case 10:
727
- x.value == null && r(y, Qe.UNEXPECTED_LEXICAL_ANALYSIS, k.lastStartLoc, 0, ci(x)), T.key = d(y, x.value || "");
727
+ x.value == null && r(y, Qe.UNEXPECTED_LEXICAL_ANALYSIS, k.lastStartLoc, 0, ci(x)), A.key = d(y, x.value || "");
728
728
  break;
729
729
  case 4:
730
- x.value == null && r(y, Qe.UNEXPECTED_LEXICAL_ANALYSIS, k.lastStartLoc, 0, ci(x)), T.key = l(y, x.value || "");
730
+ x.value == null && r(y, Qe.UNEXPECTED_LEXICAL_ANALYSIS, k.lastStartLoc, 0, ci(x)), A.key = l(y, x.value || "");
731
731
  break;
732
732
  case 5:
733
- x.value == null && r(y, Qe.UNEXPECTED_LEXICAL_ANALYSIS, k.lastStartLoc, 0, ci(x)), T.key = a(y, x.value || "");
733
+ x.value == null && r(y, Qe.UNEXPECTED_LEXICAL_ANALYSIS, k.lastStartLoc, 0, ci(x)), A.key = a(y, x.value || "");
734
734
  break;
735
735
  case 6:
736
- x.value == null && r(y, Qe.UNEXPECTED_LEXICAL_ANALYSIS, k.lastStartLoc, 0, ci(x)), T.key = c(y, x.value || "");
736
+ x.value == null && r(y, Qe.UNEXPECTED_LEXICAL_ANALYSIS, k.lastStartLoc, 0, ci(x)), A.key = c(y, x.value || "");
737
737
  break;
738
738
  default: {
739
739
  r(y, Qe.UNEXPECTED_EMPTY_LINKED_KEY, k.lastStartLoc, 0);
740
- const A = y.context(), N = i(7, A.offset, A.startLoc);
741
- return N.value = "", o(N, A.offset, A.startLoc), T.key = N, o(T, A.offset, A.startLoc), {
740
+ const T = y.context(), E = i(7, T.offset, T.startLoc);
741
+ return E.value = "", o(E, T.offset, T.startLoc), A.key = E, o(A, T.offset, T.startLoc), {
742
742
  nextConsumeToken: x,
743
- node: T
743
+ node: A
744
744
  };
745
745
  }
746
746
  }
747
- return o(T, y.currentOffset(), y.currentPosition()), {
748
- node: T
747
+ return o(A, y.currentOffset(), y.currentPosition()), {
748
+ node: A
749
749
  };
750
750
  }
751
751
  function h(y) {
752
- const k = y.context(), T = k.currentType === 1 ? y.currentOffset() : k.offset, x = k.currentType === 1 ? k.endLoc : k.startLoc, A = i(2, T, x);
753
- A.items = [];
754
- let N = null;
752
+ const k = y.context(), A = k.currentType === 1 ? y.currentOffset() : k.offset, x = k.currentType === 1 ? k.endLoc : k.startLoc, T = i(2, A, x);
753
+ T.items = [];
754
+ let E = null;
755
755
  do {
756
- const L = N || y.nextToken();
757
- switch (N = null, L.type) {
756
+ const L = E || y.nextToken();
757
+ switch (E = null, L.type) {
758
758
  case 0:
759
- L.value == null && r(y, Qe.UNEXPECTED_LEXICAL_ANALYSIS, k.lastStartLoc, 0, ci(L)), A.items.push(s(y, L.value || ""));
759
+ L.value == null && r(y, Qe.UNEXPECTED_LEXICAL_ANALYSIS, k.lastStartLoc, 0, ci(L)), T.items.push(s(y, L.value || ""));
760
760
  break;
761
761
  case 5:
762
- L.value == null && r(y, Qe.UNEXPECTED_LEXICAL_ANALYSIS, k.lastStartLoc, 0, ci(L)), A.items.push(a(y, L.value || ""));
762
+ L.value == null && r(y, Qe.UNEXPECTED_LEXICAL_ANALYSIS, k.lastStartLoc, 0, ci(L)), T.items.push(a(y, L.value || ""));
763
763
  break;
764
764
  case 4:
765
- L.value == null && r(y, Qe.UNEXPECTED_LEXICAL_ANALYSIS, k.lastStartLoc, 0, ci(L)), A.items.push(l(y, L.value || ""));
765
+ L.value == null && r(y, Qe.UNEXPECTED_LEXICAL_ANALYSIS, k.lastStartLoc, 0, ci(L)), T.items.push(l(y, L.value || ""));
766
766
  break;
767
767
  case 6:
768
- L.value == null && r(y, Qe.UNEXPECTED_LEXICAL_ANALYSIS, k.lastStartLoc, 0, ci(L)), A.items.push(c(y, L.value || ""));
768
+ L.value == null && r(y, Qe.UNEXPECTED_LEXICAL_ANALYSIS, k.lastStartLoc, 0, ci(L)), T.items.push(c(y, L.value || ""));
769
769
  break;
770
770
  case 7: {
771
771
  const te = f(y);
772
- A.items.push(te.node), N = te.nextConsumeToken || null;
772
+ T.items.push(te.node), E = te.nextConsumeToken || null;
773
773
  break;
774
774
  }
775
775
  }
776
776
  } while (k.currentType !== 13 && k.currentType !== 1);
777
777
  const R = k.currentType === 1 ? k.lastOffset : y.currentOffset(), U = k.currentType === 1 ? k.lastEndLoc : y.currentPosition();
778
- return o(A, R, U), A;
778
+ return o(T, R, U), T;
779
779
  }
780
- function p(y, k, T, x) {
781
- const A = y.context();
782
- let N = x.items.length === 0;
783
- const R = i(1, k, T);
780
+ function p(y, k, A, x) {
781
+ const T = y.context();
782
+ let E = x.items.length === 0;
783
+ const R = i(1, k, A);
784
784
  R.cases = [], R.cases.push(x);
785
785
  do {
786
786
  const U = h(y);
787
- N || (N = U.items.length === 0), R.cases.push(U);
788
- } while (A.currentType !== 13);
789
- return N && r(y, Qe.MUST_HAVE_MESSAGES_IN_PLURAL, T, 0), o(R, y.currentOffset(), y.currentPosition()), R;
787
+ E || (E = U.items.length === 0), R.cases.push(U);
788
+ } while (T.currentType !== 13);
789
+ return E && r(y, Qe.MUST_HAVE_MESSAGES_IN_PLURAL, A, 0), o(R, y.currentOffset(), y.currentPosition()), R;
790
790
  }
791
791
  function m(y) {
792
- const k = y.context(), { offset: T, startLoc: x } = k, A = h(y);
793
- return k.currentType === 13 ? A : p(y, T, x, A);
792
+ const k = y.context(), { offset: A, startLoc: x } = k, T = h(y);
793
+ return k.currentType === 13 ? T : p(y, A, x, T);
794
794
  }
795
795
  function v(y) {
796
- const k = n_(y, Sn({}, n)), T = k.context(), x = i(0, T.offset, T.startLoc);
797
- return e && x.loc && (x.loc.source = y), x.body = m(k), n.onCacheKey && (x.cacheKey = n.onCacheKey(y)), T.currentType !== 13 && r(k, Qe.UNEXPECTED_LEXICAL_ANALYSIS, T.lastStartLoc, 0, y[T.offset] || ""), o(x, k.currentOffset(), k.currentPosition()), x;
796
+ const k = n_(y, Sn({}, n)), A = k.context(), x = i(0, A.offset, A.startLoc);
797
+ return e && x.loc && (x.loc.source = y), x.body = m(k), n.onCacheKey && (x.cacheKey = n.onCacheKey(y)), A.currentType !== 13 && r(k, Qe.UNEXPECTED_LEXICAL_ANALYSIS, A.lastStartLoc, 0, y[A.offset] || ""), o(x, k.currentOffset(), k.currentPosition()), x;
798
798
  }
799
799
  return { parse: v };
800
800
  }
@@ -1629,9 +1629,9 @@ const q1 = (n) => {
1629
1629
  }, Q_ = () => g4;
1630
1630
  let K1 = 0;
1631
1631
  function Z_(n = {}) {
1632
- const e = $t(n.onWarn) ? n.onWarn : Ko, t = Te(n.version) ? n.version : j_, r = Te(n.locale) || $t(n.locale) ? n.locale : Nl, i = $t(r) ? Nl : r, o = rn(n.fallbackLocale) || lt(n.fallbackLocale) || Te(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : i, s = lt(n.messages) ? n.messages : { [i]: {} }, a = lt(n.datetimeFormats) ? n.datetimeFormats : { [i]: {} }, l = lt(n.numberFormats) ? n.numberFormats : { [i]: {} }, c = Sn({}, n.modifiers || {}, q_()), u = n.pluralRules || {}, d = $t(n.missing) ? n.missing : null, f = yt(n.missingWarn) || ba(n.missingWarn) ? n.missingWarn : !0, h = yt(n.fallbackWarn) || ba(n.fallbackWarn) ? n.fallbackWarn : !0, p = !!n.fallbackFormat, m = !!n.unresolving, v = $t(n.postTranslation) ? n.postTranslation : null, y = lt(n.processor) ? n.processor : null, k = yt(n.warnHtmlMessage) ? n.warnHtmlMessage : !0, T = !!n.escapeParameter, x = $t(n.messageCompiler) ? n.messageCompiler : f4;
1632
+ const e = $t(n.onWarn) ? n.onWarn : Ko, t = Te(n.version) ? n.version : j_, r = Te(n.locale) || $t(n.locale) ? n.locale : Nl, i = $t(r) ? Nl : r, o = rn(n.fallbackLocale) || lt(n.fallbackLocale) || Te(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : i, s = lt(n.messages) ? n.messages : { [i]: {} }, a = lt(n.datetimeFormats) ? n.datetimeFormats : { [i]: {} }, l = lt(n.numberFormats) ? n.numberFormats : { [i]: {} }, c = Sn({}, n.modifiers || {}, q_()), u = n.pluralRules || {}, d = $t(n.missing) ? n.missing : null, f = yt(n.missingWarn) || ba(n.missingWarn) ? n.missingWarn : !0, h = yt(n.fallbackWarn) || ba(n.fallbackWarn) ? n.fallbackWarn : !0, p = !!n.fallbackFormat, m = !!n.unresolving, v = $t(n.postTranslation) ? n.postTranslation : null, y = lt(n.processor) ? n.processor : null, k = yt(n.warnHtmlMessage) ? n.warnHtmlMessage : !0, A = !!n.escapeParameter, x = $t(n.messageCompiler) ? n.messageCompiler : f4;
1633
1633
  process.env.NODE_ENV !== "production" && $t(n.messageCompiler) && u4(Cs(cr.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
1634
- const A = $t(n.messageResolver) ? n.messageResolver : h4 || H_, N = $t(n.localeFallbacker) ? n.localeFallbacker : p4 || D_, R = _t(n.fallbackContext) ? n.fallbackContext : void 0, U = n, L = _t(U.__datetimeFormatters) ? U.__datetimeFormatters : /* @__PURE__ */ new Map(), te = _t(U.__numberFormatters) ? U.__numberFormatters : /* @__PURE__ */ new Map(), re = _t(U.__meta) ? U.__meta : {};
1634
+ const T = $t(n.messageResolver) ? n.messageResolver : h4 || H_, E = $t(n.localeFallbacker) ? n.localeFallbacker : p4 || D_, R = _t(n.fallbackContext) ? n.fallbackContext : void 0, U = n, L = _t(U.__datetimeFormatters) ? U.__datetimeFormatters : /* @__PURE__ */ new Map(), te = _t(U.__numberFormatters) ? U.__numberFormatters : /* @__PURE__ */ new Map(), re = _t(U.__meta) ? U.__meta : {};
1635
1635
  K1++;
1636
1636
  const S = {
1637
1637
  version: t,
@@ -1649,10 +1649,10 @@ function Z_(n = {}) {
1649
1649
  postTranslation: v,
1650
1650
  processor: y,
1651
1651
  warnHtmlMessage: k,
1652
- escapeParameter: T,
1652
+ escapeParameter: A,
1653
1653
  messageCompiler: x,
1654
- messageResolver: A,
1655
- localeFallbacker: N,
1654
+ messageResolver: T,
1655
+ localeFallbacker: E,
1656
1656
  fallbackContext: R,
1657
1657
  onWarn: e,
1658
1658
  __meta: re
@@ -1714,32 +1714,32 @@ function Y1(n, ...e) {
1714
1714
  );
1715
1715
  if (!Te(l) || l === "")
1716
1716
  return new Intl.DateTimeFormat(m, d).format(c);
1717
- let y = {}, k, T = null, x = m, A = null;
1718
- const N = "datetime format";
1717
+ let y = {}, k, A = null, x = m, T = null;
1718
+ const E = "datetime format";
1719
1719
  for (let L = 0; L < v.length; L++) {
1720
- if (k = A = v[L], process.env.NODE_ENV !== "production" && m !== k && Gd(h, l) && o(Cs(cr.FALLBACK_TO_DATE_FORMAT, {
1720
+ if (k = T = v[L], process.env.NODE_ENV !== "production" && m !== k && Gd(h, l) && o(Cs(cr.FALLBACK_TO_DATE_FORMAT, {
1721
1721
  key: l,
1722
1722
  target: k
1723
1723
  })), process.env.NODE_ENV !== "production" && m !== k) {
1724
1724
  const te = n.__v_emitter;
1725
1725
  te && te.emit("fallback", {
1726
- type: N,
1726
+ type: E,
1727
1727
  key: l,
1728
1728
  from: x,
1729
- to: A,
1730
- groupId: `${N}:${l}`
1729
+ to: T,
1730
+ groupId: `${E}:${l}`
1731
1731
  });
1732
1732
  }
1733
- if (y = t[k] || {}, T = y[l], lt(T))
1733
+ if (y = t[k] || {}, A = y[l], lt(A))
1734
1734
  break;
1735
- $p(n, l, k, f, N), x = A;
1735
+ $p(n, l, k, f, E), x = T;
1736
1736
  }
1737
- if (!lt(T) || !Te(k))
1737
+ if (!lt(A) || !Te(k))
1738
1738
  return r ? Kd : l;
1739
1739
  let R = `${k}__${l}`;
1740
1740
  qd(d) || (R = `${R}__${JSON.stringify(d)}`);
1741
1741
  let U = a.get(R);
1742
- return U || (U = new Intl.DateTimeFormat(k, Sn({}, T, d)), a.set(R, U)), p ? U.formatToParts(c) : U.format(c);
1742
+ return U || (U = new Intl.DateTimeFormat(k, Sn({}, A, d)), a.set(R, U)), p ? U.formatToParts(c) : U.format(c);
1743
1743
  }
1744
1744
  const w4 = [
1745
1745
  "localeMatcher",
@@ -1808,32 +1808,32 @@ function X1(n, ...e) {
1808
1808
  );
1809
1809
  if (!Te(l) || l === "")
1810
1810
  return new Intl.NumberFormat(m, d).format(c);
1811
- let y = {}, k, T = null, x = m, A = null;
1812
- const N = "number format";
1811
+ let y = {}, k, A = null, x = m, T = null;
1812
+ const E = "number format";
1813
1813
  for (let L = 0; L < v.length; L++) {
1814
- if (k = A = v[L], process.env.NODE_ENV !== "production" && m !== k && Gd(h, l) && o(Cs(cr.FALLBACK_TO_NUMBER_FORMAT, {
1814
+ if (k = T = v[L], process.env.NODE_ENV !== "production" && m !== k && Gd(h, l) && o(Cs(cr.FALLBACK_TO_NUMBER_FORMAT, {
1815
1815
  key: l,
1816
1816
  target: k
1817
1817
  })), process.env.NODE_ENV !== "production" && m !== k) {
1818
1818
  const te = n.__v_emitter;
1819
1819
  te && te.emit("fallback", {
1820
- type: N,
1820
+ type: E,
1821
1821
  key: l,
1822
1822
  from: x,
1823
- to: A,
1824
- groupId: `${N}:${l}`
1823
+ to: T,
1824
+ groupId: `${E}:${l}`
1825
1825
  });
1826
1826
  }
1827
- if (y = t[k] || {}, T = y[l], lt(T))
1827
+ if (y = t[k] || {}, A = y[l], lt(A))
1828
1828
  break;
1829
- $p(n, l, k, f, N), x = A;
1829
+ $p(n, l, k, f, E), x = T;
1830
1830
  }
1831
- if (!lt(T) || !Te(k))
1831
+ if (!lt(A) || !Te(k))
1832
1832
  return r ? Kd : l;
1833
1833
  let R = `${k}__${l}`;
1834
1834
  qd(d) || (R = `${R}__${JSON.stringify(d)}`);
1835
1835
  let U = a.get(R);
1836
- return U || (U = new Intl.NumberFormat(k, Sn({}, T, d)), a.set(R, U)), p ? U.formatToParts(c) : U.format(c);
1836
+ return U || (U = new Intl.NumberFormat(k, Sn({}, A, d)), a.set(R, U)), p ? U.formatToParts(c) : U.format(c);
1837
1837
  }
1838
1838
  const _4 = [
1839
1839
  "localeMatcher",
@@ -1890,22 +1890,22 @@ function lk(n = {}) {
1890
1890
  Cn(n.pluralIndex) && ak(t, l);
1891
1891
  const c = (y) => l[y];
1892
1892
  function u(y, k) {
1893
- const T = $t(n.messages) ? n.messages(y, !!k) : _t(n.messages) ? n.messages[y] : !1;
1894
- return T || (n.parent ? n.parent.message(y) : nk);
1893
+ const A = $t(n.messages) ? n.messages(y, !!k) : _t(n.messages) ? n.messages[y] : !1;
1894
+ return A || (n.parent ? n.parent.message(y) : nk);
1895
1895
  }
1896
1896
  const d = (y) => n.modifiers ? n.modifiers[y] : tk, f = lt(n.processor) && $t(n.processor.normalize) ? n.processor.normalize : ik, h = lt(n.processor) && $t(n.processor.interpolate) ? n.processor.interpolate : ok, p = lt(n.processor) && Te(n.processor.type) ? n.processor.type : rk, v = {
1897
1897
  list: a,
1898
1898
  named: c,
1899
1899
  plural: o,
1900
1900
  linked: (y, ...k) => {
1901
- const [T, x] = k;
1902
- let A = "text", N = "";
1903
- k.length === 1 ? _t(T) ? (N = T.modifier || N, A = T.type || A) : Te(T) && (N = T || N) : k.length === 2 && (Te(T) && (N = T || N), Te(x) && (A = x || A));
1901
+ const [A, x] = k;
1902
+ let T = "text", E = "";
1903
+ k.length === 1 ? _t(A) ? (E = A.modifier || E, T = A.type || T) : Te(A) && (E = A || E) : k.length === 2 && (Te(A) && (E = A || E), Te(x) && (T = x || T));
1904
1904
  const R = u(y, !0)(v), U = (
1905
1905
  // The message in vnode resolved with linked are returned as an array by processor.nomalize
1906
- A === "vnode" && rn(R) && N ? R[0] : R
1906
+ T === "vnode" && rn(R) && E ? R[0] : R
1907
1907
  );
1908
- return N ? d(N)(U, A) : U;
1908
+ return E ? d(E)(U, T) : U;
1909
1909
  },
1910
1910
  message: u,
1911
1911
  type: p,
@@ -1919,22 +1919,22 @@ const eg = () => "", Br = (n) => $t(n);
1919
1919
  function tg(n, ...e) {
1920
1920
  const { fallbackFormat: t, postTranslation: r, unresolving: i, messageCompiler: o, fallbackLocale: s, messages: a } = n, [l, c] = rh(...e), u = yt(c.missingWarn) ? c.missingWarn : n.missingWarn, d = yt(c.fallbackWarn) ? c.fallbackWarn : n.fallbackWarn, f = yt(c.escapeParameter) ? c.escapeParameter : n.escapeParameter, h = !!c.resolvedMessage, p = Te(c.default) || yt(c.default) ? yt(c.default) ? o ? l : () => l : c.default : t ? o ? l : () => l : null, m = t || p != null && (Te(p) || $t(p)), v = Pp(n, c);
1921
1921
  f && ck(c);
1922
- let [y, k, T] = h ? [
1922
+ let [y, k, A] = h ? [
1923
1923
  l,
1924
1924
  v,
1925
1925
  a[v] || {}
1926
- ] : k4(n, l, v, s, d, u), x = y, A = l;
1927
- if (!h && !(Te(x) || Ro(x) || Br(x)) && m && (x = p, A = x), !h && (!(Te(x) || Ro(x) || Br(x)) || !Te(k)))
1926
+ ] : k4(n, l, v, s, d, u), x = y, T = l;
1927
+ if (!h && !(Te(x) || Ro(x) || Br(x)) && m && (x = p, T = x), !h && (!(Te(x) || Ro(x) || Br(x)) || !Te(k)))
1928
1928
  return i ? Kd : l;
1929
1929
  if (process.env.NODE_ENV !== "production" && Te(x) && n.messageCompiler == null)
1930
1930
  return Ko(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${l}'.`), l;
1931
- let N = !1;
1931
+ let E = !1;
1932
1932
  const R = () => {
1933
- N = !0;
1934
- }, U = Br(x) ? x : x4(n, l, k, x, A, R);
1935
- if (N)
1933
+ E = !0;
1934
+ }, U = Br(x) ? x : x4(n, l, k, x, T, R);
1935
+ if (E)
1936
1936
  return x;
1937
- const L = hk(n, k, T, c), te = lk(L), re = uk(n, U, te), S = r ? r(re, l) : re;
1937
+ const L = hk(n, k, A, c), te = lk(L), re = uk(n, U, te), S = r ? r(re, l) : re;
1938
1938
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
1939
1939
  const P = {
1940
1940
  timestamp: Date.now(),
@@ -1961,8 +1961,8 @@ function k4(n, e, t, r, i, o) {
1961
1961
  key: e,
1962
1962
  target: f
1963
1963
  })), process.env.NODE_ENV !== "production" && t !== f) {
1964
- const A = n.__v_emitter;
1965
- A && A.emit("fallback", {
1964
+ const T = n.__v_emitter;
1965
+ T && T.emit("fallback", {
1966
1966
  type: v,
1967
1967
  key: e,
1968
1968
  from: p,
@@ -1971,21 +1971,21 @@ function k4(n, e, t, r, i, o) {
1971
1971
  });
1972
1972
  }
1973
1973
  d = s[f] || {};
1974
- let k = null, T, x;
1975
- if (process.env.NODE_ENV !== "production" && ni && (k = window.performance.now(), T = "intlify-message-resolve-start", x = "intlify-message-resolve-end", Cr && Cr(T)), (h = l(d, e)) === null && (h = d[e]), process.env.NODE_ENV !== "production" && ni) {
1976
- const A = window.performance.now(), N = n.__v_emitter;
1977
- N && k && h && N.emit("message-resolve", {
1974
+ let k = null, A, x;
1975
+ if (process.env.NODE_ENV !== "production" && ni && (k = window.performance.now(), A = "intlify-message-resolve-start", x = "intlify-message-resolve-end", Cr && Cr(A)), (h = l(d, e)) === null && (h = d[e]), process.env.NODE_ENV !== "production" && ni) {
1976
+ const T = window.performance.now(), E = n.__v_emitter;
1977
+ E && k && h && E.emit("message-resolve", {
1978
1978
  type: "message-resolve",
1979
1979
  key: e,
1980
1980
  message: h,
1981
- time: A - k,
1981
+ time: T - k,
1982
1982
  groupId: `${v}:${e}`
1983
- }), T && x && Cr && xs && (Cr(x), xs("intlify message resolve", T, x));
1983
+ }), A && x && Cr && xs && (Cr(x), xs("intlify message resolve", A, x));
1984
1984
  }
1985
1985
  if (Te(h) || Ro(h) || Br(h))
1986
1986
  break;
1987
1987
  if (!ek(f, u)) {
1988
- const A = $p(
1988
+ const T = $p(
1989
1989
  n,
1990
1990
  // eslint-disable-line @typescript-eslint/no-explicit-any
1991
1991
  e,
@@ -1993,7 +1993,7 @@ function k4(n, e, t, r, i, o) {
1993
1993
  o,
1994
1994
  v
1995
1995
  );
1996
- A !== e && (h = A);
1996
+ T !== e && (h = T);
1997
1997
  }
1998
1998
  p = m;
1999
1999
  }
@@ -2343,9 +2343,9 @@ function zp(n = {}) {
2343
2343
  // prettier-ignore
2344
2344
  e && s ? e.fallbackLocale.value : Te(n.fallbackLocale) || rn(n.fallbackLocale) || lt(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : a.value
2345
2345
  ), c = o(Fp(a.value, n)), u = o(lt(n.datetimeFormats) ? n.datetimeFormats : { [a.value]: {} }), d = o(lt(n.numberFormats) ? n.numberFormats : { [a.value]: {} });
2346
- let f = e ? e.missingWarn : yt(n.missingWarn) || ba(n.missingWarn) ? n.missingWarn : !0, h = e ? e.fallbackWarn : yt(n.fallbackWarn) || ba(n.fallbackWarn) ? n.fallbackWarn : !0, p = e ? e.fallbackRoot : yt(n.fallbackRoot) ? n.fallbackRoot : !0, m = !!n.fallbackFormat, v = $t(n.missing) ? n.missing : null, y = $t(n.missing) ? sg(n.missing) : null, k = $t(n.postTranslation) ? n.postTranslation : null, T = e ? e.warnHtmlMessage : yt(n.warnHtmlMessage) ? n.warnHtmlMessage : !0, x = !!n.escapeParameter;
2347
- const A = e ? e.modifiers : lt(n.modifiers) ? n.modifiers : {};
2348
- let N = n.pluralRules || e && e.pluralRules, R;
2346
+ let f = e ? e.missingWarn : yt(n.missingWarn) || ba(n.missingWarn) ? n.missingWarn : !0, h = e ? e.fallbackWarn : yt(n.fallbackWarn) || ba(n.fallbackWarn) ? n.fallbackWarn : !0, p = e ? e.fallbackRoot : yt(n.fallbackRoot) ? n.fallbackRoot : !0, m = !!n.fallbackFormat, v = $t(n.missing) ? n.missing : null, y = $t(n.missing) ? sg(n.missing) : null, k = $t(n.postTranslation) ? n.postTranslation : null, A = e ? e.warnHtmlMessage : yt(n.warnHtmlMessage) ? n.warnHtmlMessage : !0, x = !!n.escapeParameter;
2347
+ const T = e ? e.modifiers : lt(n.modifiers) ? n.modifiers : {};
2348
+ let E = n.pluralRules || e && e.pluralRules, R;
2349
2349
  R = (() => {
2350
2350
  r && q1(null);
2351
2351
  const oe = {
@@ -2353,15 +2353,15 @@ function zp(n = {}) {
2353
2353
  locale: a.value,
2354
2354
  fallbackLocale: l.value,
2355
2355
  messages: c.value,
2356
- modifiers: A,
2357
- pluralRules: N,
2356
+ modifiers: T,
2357
+ pluralRules: E,
2358
2358
  missing: y === null ? void 0 : y,
2359
2359
  missingWarn: f,
2360
2360
  fallbackWarn: h,
2361
2361
  fallbackFormat: m,
2362
2362
  unresolving: !0,
2363
2363
  postTranslation: k === null ? void 0 : k,
2364
- warnHtmlMessage: T,
2364
+ warnHtmlMessage: A,
2365
2365
  escapeParameter: x,
2366
2366
  messageResolver: n.messageResolver,
2367
2367
  messageCompiler: n.messageCompiler,
@@ -2391,7 +2391,7 @@ function zp(n = {}) {
2391
2391
  l.value = oe, R.fallbackLocale = l.value, Xa(R, a.value, oe);
2392
2392
  }
2393
2393
  }), S = Ye(() => c.value), P = /* @__PURE__ */ Ye(() => u.value), D = /* @__PURE__ */ Ye(() => d.value);
2394
- function E() {
2394
+ function M() {
2395
2395
  return $t(k) ? k : null;
2396
2396
  }
2397
2397
  function Y(oe) {
@@ -2478,7 +2478,7 @@ function zp(n = {}) {
2478
2478
  return me((ge) => Reflect.apply(Y1, null, [ge, ...oe]), () => th(...oe), "datetime format", (ge) => ge[sh](...oe), ig, (ge) => Te(ge) || rn(ge));
2479
2479
  }
2480
2480
  function Ot(oe) {
2481
- N = oe, R.pluralRules = N;
2481
+ E = oe, R.pluralRules = E;
2482
2482
  }
2483
2483
  function un(oe, ge) {
2484
2484
  return me(() => {
@@ -2562,10 +2562,10 @@ function zp(n = {}) {
2562
2562
  },
2563
2563
  messages: S,
2564
2564
  get modifiers() {
2565
- return A;
2565
+ return T;
2566
2566
  },
2567
2567
  get pluralRules() {
2568
- return N || {};
2568
+ return E || {};
2569
2569
  },
2570
2570
  get isGlobal() {
2571
2571
  return r;
@@ -2595,10 +2595,10 @@ function zp(n = {}) {
2595
2595
  m = oe, R.fallbackFormat = m;
2596
2596
  },
2597
2597
  get warnHtmlMessage() {
2598
- return T;
2598
+ return A;
2599
2599
  },
2600
2600
  set warnHtmlMessage(oe) {
2601
- T = oe, R.warnHtmlMessage = oe;
2601
+ A = oe, R.warnHtmlMessage = oe;
2602
2602
  },
2603
2603
  get escapeParameter() {
2604
2604
  return x;
@@ -2610,7 +2610,7 @@ function zp(n = {}) {
2610
2610
  getLocaleMessage: Gt,
2611
2611
  setLocaleMessage: Hn,
2612
2612
  mergeLocaleMessage: Vn,
2613
- getPostTranslationHandler: E,
2613
+ getPostTranslationHandler: M,
2614
2614
  setPostTranslationHandler: Y,
2615
2615
  getMissingHandler: K,
2616
2616
  setMissingHandler: j,
@@ -2886,20 +2886,20 @@ function Hk(n) {
2886
2886
  const e = Te(n.locale) ? n.locale : Nl, t = Te(n.fallbackLocale) || rn(n.fallbackLocale) || lt(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : e, r = $t(n.missing) ? n.missing : void 0, i = yt(n.silentTranslationWarn) || ba(n.silentTranslationWarn) ? !n.silentTranslationWarn : !0, o = yt(n.silentFallbackWarn) || ba(n.silentFallbackWarn) ? !n.silentFallbackWarn : !0, s = yt(n.fallbackRoot) ? n.fallbackRoot : !0, a = !!n.formatFallbackMessages, l = lt(n.modifiers) ? n.modifiers : {}, c = n.pluralizationRules, u = $t(n.postTranslation) ? n.postTranslation : void 0, d = Te(n.warnHtmlInMessage) ? n.warnHtmlInMessage !== "off" : !0, f = !!n.escapeParameterHtml, h = yt(n.sync) ? n.sync : !0;
2887
2887
  let p = n.messages;
2888
2888
  if (lt(n.sharedMessages)) {
2889
- const A = n.sharedMessages;
2890
- p = Object.keys(A).reduce((R, U) => {
2889
+ const T = n.sharedMessages;
2890
+ p = Object.keys(T).reduce((R, U) => {
2891
2891
  const L = R[U] || (R[U] = {});
2892
- return Sn(L, A[U]), R;
2892
+ return Sn(L, T[U]), R;
2893
2893
  }, p || {});
2894
2894
  }
2895
- const { __i18n: m, __root: v, __injectWithOption: y } = n, k = n.datetimeFormats, T = n.numberFormats, x = n.flatJson;
2895
+ const { __i18n: m, __root: v, __injectWithOption: y } = n, k = n.datetimeFormats, A = n.numberFormats, x = n.flatJson;
2896
2896
  return {
2897
2897
  locale: e,
2898
2898
  fallbackLocale: t,
2899
2899
  messages: p,
2900
2900
  flatJson: x,
2901
2901
  datetimeFormats: k,
2902
- numberFormats: T,
2902
+ numberFormats: A,
2903
2903
  missing: r,
2904
2904
  missingWarn: i,
2905
2905
  fallbackWarn: o,
@@ -4638,17 +4638,17 @@ const de = g8(() => {
4638
4638
  marks: []
4639
4639
  }), a = ({
4640
4640
  enabled: k,
4641
- once: T,
4641
+ once: A,
4642
4642
  marks: x
4643
4643
  }) => {
4644
- s.value.enabled = k, s.value.once = T, s.value.marks = x;
4644
+ s.value.enabled = k, s.value.once = A, s.value.marks = x;
4645
4645
  }, l = ue([]), c = `#smart-editor-${Hr(4)}`, u = `#smart-editor-toolbar-${Hr(4)}`, d = ue(!1), f = ue(!1), h = ue(!1), p = (k) => {
4646
4646
  e.value = k;
4647
4647
  }, m = ue(!1), v = (k) => {
4648
- const T = Object.keys(k).includes("value") ? k.value : k;
4648
+ const A = Object.keys(k).includes("value") ? k.value : k;
4649
4649
  i.value = {
4650
4650
  ...i.value,
4651
- ...Object.keys(T).reduce((A, N) => (T[N] !== void 0 && (A[N] = T[N]), A), {})
4651
+ ...Object.keys(A).reduce((T, E) => (A[E] !== void 0 && (T[E] = A[E]), T), {})
4652
4652
  };
4653
4653
  const x = Bo("locale");
4654
4654
  return x.value || (x.value = i.value.locale), i.value;
@@ -4661,26 +4661,26 @@ const de = g8(() => {
4661
4661
  return (k = i.value.document) == null ? void 0 : k.readOnly;
4662
4662
  },
4663
4663
  (k) => {
4664
- var T;
4665
- (T = e.value) == null || T.setEditable(!k), n.value = Hr();
4664
+ var A;
4665
+ (A = e.value) == null || A.setEditable(!k), n.value = Hr();
4666
4666
  }
4667
4667
  ), jt(
4668
4668
  () => i.value.page,
4669
4669
  ({
4670
4670
  defaultBackground: k,
4671
- defaultMargin: T,
4671
+ defaultMargin: A,
4672
4672
  defaultOrientation: x,
4673
- watermark: A
4673
+ watermark: T
4674
4674
  }) => {
4675
- var N;
4675
+ var E;
4676
4676
  r.value = {
4677
- size: (N = i.value.dicts) == null ? void 0 : N.pageSizes.find(
4677
+ size: (E = i.value.dicts) == null ? void 0 : E.pageSizes.find(
4678
4678
  (R) => R.default
4679
4679
  ),
4680
- margin: T,
4680
+ margin: A,
4681
4681
  background: k,
4682
4682
  orientation: x,
4683
- watermark: A,
4683
+ watermark: T,
4684
4684
  header: !0,
4685
4685
  footer: !0,
4686
4686
  showLineNumber: !1,
@@ -8908,8 +8908,8 @@ function d9(n, e, t, r) {
8908
8908
  for (let m = 0; m < s.length; m++) {
8909
8909
  let v = s[(m + l) % s.length], y = !0;
8910
8910
  v < 0 && (y = !1, v = -v);
8911
- let k = i.node(v - 1), T = i.index(v - 1);
8912
- if (k.canReplaceWith(T, T, p.type, p.marks))
8911
+ let k = i.node(v - 1), A = i.index(v - 1);
8912
+ if (k.canReplaceWith(A, A, p.type, p.marks))
8913
8913
  return n.replace(i.before(v), y ? o.after(v) : t, new Ae(h2(r.content, 0, r.openStart, h), h, r.openEnd));
8914
8914
  }
8915
8915
  }
@@ -12903,8 +12903,8 @@ function DC(n, e, t, r, i, o, s) {
12903
12903
  let k = a[y + 1];
12904
12904
  if (k < 0 || f > k + u - d)
12905
12905
  continue;
12906
- let T = a[y] + u - d;
12907
- h >= T ? a[y + 1] = f <= T ? -2 : -1 : f >= u && v && (a[y] += v, a[y + 1] += v);
12906
+ let A = a[y] + u - d;
12907
+ h >= A ? a[y + 1] = f <= A ? -2 : -1 : f >= u && v && (a[y] += v, a[y + 1] += v);
12908
12908
  }
12909
12909
  d += v;
12910
12910
  }), u = t.maps[c].map(u, -1);
@@ -13302,8 +13302,8 @@ function WC(n, e, t, r, i) {
13302
13302
  return;
13303
13303
  }
13304
13304
  n.state.selection.from < n.state.selection.to && p.start == p.endB && n.state.selection instanceof Fe && (p.start > n.state.selection.from && p.start <= n.state.selection.from + 2 && n.state.selection.from >= c.from ? p.start = n.state.selection.from : p.endA < n.state.selection.to && p.endA >= n.state.selection.to - 2 && n.state.selection.to <= c.to && (p.endB += n.state.selection.to - p.endA, p.endA = n.state.selection.to)), fr && Do <= 11 && p.endB == p.start + 1 && p.endA == p.start && p.start > c.from && c.doc.textBetween(p.start - c.from - 1, p.start - c.from + 1) == "  " && (p.start--, p.endA--, p.endB--);
13305
- let m = c.doc.resolveNoCache(p.start - c.from), v = c.doc.resolveNoCache(p.endB - c.from), y = u.resolve(p.start), k = m.sameParent(v) && m.parent.inlineContent && y.end() >= p.endA, T;
13306
- if ((xa && n.input.lastIOSEnter > Date.now() - 225 && (!k || i.some((L) => L.nodeName == "DIV" || L.nodeName == "P")) || !k && m.pos < c.doc.content.size && !m.sameParent(v) && (T = Ue.findFrom(c.doc.resolve(m.pos + 1), 1, !0)) && T.head == v.pos) && n.someProp("handleKeyDown", (L) => L(n, ls(13, "Enter")))) {
13305
+ let m = c.doc.resolveNoCache(p.start - c.from), v = c.doc.resolveNoCache(p.endB - c.from), y = u.resolve(p.start), k = m.sameParent(v) && m.parent.inlineContent && y.end() >= p.endA, A;
13306
+ if ((xa && n.input.lastIOSEnter > Date.now() - 225 && (!k || i.some((L) => L.nodeName == "DIV" || L.nodeName == "P")) || !k && m.pos < c.doc.content.size && !m.sameParent(v) && (A = Ue.findFrom(c.doc.resolve(m.pos + 1), 1, !0)) && A.head == v.pos) && n.someProp("handleKeyDown", (L) => L(n, ls(13, "Enter")))) {
13307
13307
  n.input.lastIOSEnter = 0;
13308
13308
  return;
13309
13309
  }
@@ -13316,27 +13316,27 @@ function WC(n, e, t, r, i) {
13316
13316
  return L(n, ls(13, "Enter"));
13317
13317
  });
13318
13318
  }, 20));
13319
- let x = p.start, A = p.endA, N, R, U;
13319
+ let x = p.start, T = p.endA, E, R, U;
13320
13320
  if (k) {
13321
13321
  if (m.pos == v.pos)
13322
- fr && Do <= 11 && m.parentOffset == 0 && (n.domObserver.suppressSelectionUpdates(), setTimeout(() => Ki(n), 20)), N = n.state.tr.delete(x, A), R = u.resolve(p.start).marksAcross(u.resolve(p.endA));
13322
+ fr && Do <= 11 && m.parentOffset == 0 && (n.domObserver.suppressSelectionUpdates(), setTimeout(() => Ki(n), 20)), E = n.state.tr.delete(x, T), R = u.resolve(p.start).marksAcross(u.resolve(p.endA));
13323
13323
  else if (
13324
13324
  // Adding or removing a mark
13325
13325
  p.endA == p.endB && (U = jC(m.parent.content.cut(m.parentOffset, v.parentOffset), y.parent.content.cut(y.parentOffset, p.endA - y.start())))
13326
13326
  )
13327
- N = n.state.tr, U.type == "add" ? N.addMark(x, A, U.mark) : N.removeMark(x, A, U.mark);
13327
+ E = n.state.tr, U.type == "add" ? E.addMark(x, T, U.mark) : E.removeMark(x, T, U.mark);
13328
13328
  else if (m.parent.child(m.index()).isText && m.index() == v.index() - (v.textOffset ? 0 : 1)) {
13329
13329
  let L = m.parent.textBetween(m.parentOffset, v.parentOffset);
13330
- if (n.someProp("handleTextInput", (te) => te(n, x, A, L)))
13330
+ if (n.someProp("handleTextInput", (te) => te(n, x, T, L)))
13331
13331
  return;
13332
- N = n.state.tr.insertText(L, x, A);
13332
+ E = n.state.tr.insertText(L, x, T);
13333
13333
  }
13334
13334
  }
13335
- if (N || (N = n.state.tr.replace(x, A, c.doc.slice(p.start - c.from, p.endB - c.from))), c.sel) {
13336
- let L = sb(n, N.doc, c.sel);
13337
- L && !(qn && n.composing && L.empty && (p.start != p.endB || n.input.lastChromeDelete < Date.now() - 100) && (L.head == x || L.head == N.mapping.map(A) - 1) || fr && L.empty && L.head == x) && N.setSelection(L);
13335
+ if (E || (E = n.state.tr.replace(x, T, c.doc.slice(p.start - c.from, p.endB - c.from))), c.sel) {
13336
+ let L = sb(n, E.doc, c.sel);
13337
+ L && !(qn && n.composing && L.empty && (p.start != p.endB || n.input.lastChromeDelete < Date.now() - 100) && (L.head == x || L.head == E.mapping.map(T) - 1) || fr && L.empty && L.head == x) && E.setSelection(L);
13338
13338
  }
13339
- R && N.ensureMarks(R), o && N.setMeta("composition", o), n.dispatch(N.scrollIntoView());
13339
+ R && E.ensureMarks(R), o && E.setMeta("composition", o), n.dispatch(E.scrollIntoView());
13340
13340
  }
13341
13341
  function sb(n, e, t) {
13342
13342
  return Math.max(t.anchor, t.head) > e.content.size ? null : Zp(n, e.resolve(t.anchor), e.resolve(t.head));
@@ -14205,8 +14205,8 @@ function e3(n, e, t, r) {
14205
14205
  if (h.canReplace(h.childCount, h.childCount, m.content)) {
14206
14206
  if (t) {
14207
14207
  let y = be.empty;
14208
- for (let T = p.length - 1; T >= 0; T--)
14209
- y = be.from(p[T].copy(y));
14208
+ for (let A = p.length - 1; A >= 0; A--)
14209
+ y = be.from(p[A].copy(y));
14210
14210
  let k = n.tr.step(new Nn(e.pos - p.length, e.pos + o.nodeSize, e.pos + v, e.pos + o.nodeSize - v, new Ae(y, p.length, 0), 0, !0));
14211
14211
  t(k.scrollIntoView());
14212
14212
  }
@@ -14600,10 +14600,10 @@ function DS(n, e) {
14600
14600
  storage: c.storage,
14601
14601
  editor: e
14602
14602
  }, f = n.reduce((y, k) => {
14603
- const T = Ie(k, "extendNodeSchema", d);
14603
+ const A = Ie(k, "extendNodeSchema", d);
14604
14604
  return {
14605
14605
  ...y,
14606
- ...T ? T(c) : {}
14606
+ ...A ? A(c) : {}
14607
14607
  };
14608
14608
  }, {}), h = mb({
14609
14609
  ...f,
@@ -14735,7 +14735,7 @@ function Ic(n) {
14735
14735
  }), v = {
14736
14736
  from: r - (h[0].length - o.length),
14737
14737
  to: i
14738
- }, { commands: y, chain: k, can: T } = new i0({
14738
+ }, { commands: y, chain: k, can: A } = new i0({
14739
14739
  editor: t,
14740
14740
  state: m
14741
14741
  });
@@ -14745,7 +14745,7 @@ function Ic(n) {
14745
14745
  match: h,
14746
14746
  commands: y,
14747
14747
  chain: k,
14748
- can: T
14748
+ can: A
14749
14749
  }) === null || !p.steps.length || (p.setMeta(a, {
14750
14750
  transform: p,
14751
14751
  from: r,
@@ -14910,16 +14910,16 @@ function zS(n) {
14910
14910
  if (!h.isTextblock || h.type.spec.code)
14911
14911
  return;
14912
14912
  const m = Math.max(r, p), v = Math.min(i, p + h.content.size), y = h.textBetween(m - p, v - p, void 0, "");
14913
- FS(y, o.find, s).forEach((T) => {
14914
- if (T.index === void 0)
14913
+ FS(y, o.find, s).forEach((A) => {
14914
+ if (A.index === void 0)
14915
14915
  return;
14916
- const x = m + T.index + 1, A = x + T[0].length, N = {
14916
+ const x = m + A.index + 1, T = x + A[0].length, E = {
14917
14917
  from: t.tr.mapping.map(x),
14918
- to: t.tr.mapping.map(A)
14918
+ to: t.tr.mapping.map(T)
14919
14919
  }, R = o.handler({
14920
14920
  state: t,
14921
- range: N,
14922
- match: T,
14921
+ range: E,
14922
+ match: A,
14923
14923
  commands: l,
14924
14924
  chain: c,
14925
14925
  can: u,
@@ -15007,23 +15007,23 @@ function VS(n) {
15007
15007
  if (!m && !v && !k)
15008
15008
  return;
15009
15009
  if (k) {
15010
- let { text: A } = y;
15011
- typeof A == "string" ? A = A : A = cm(be.from(A), h.schema);
15012
- const { from: N } = y, R = N + A.length, U = HS(A);
15010
+ let { text: T } = y;
15011
+ typeof T == "string" ? T = T : T = cm(be.from(T), h.schema);
15012
+ const { from: E } = y, R = E + T.length, U = HS(T);
15013
15013
  return l({
15014
15014
  rule: u,
15015
15015
  state: h,
15016
- from: N,
15016
+ from: E,
15017
15017
  to: { b: R },
15018
15018
  pasteEvt: U
15019
15019
  });
15020
15020
  }
15021
- const T = f.doc.content.findDiffStart(h.doc.content), x = f.doc.content.findDiffEnd(h.doc.content);
15022
- if (!(!PS(T) || !x || T === x.b))
15021
+ const A = f.doc.content.findDiffStart(h.doc.content), x = f.doc.content.findDiffEnd(h.doc.content);
15022
+ if (!(!PS(A) || !x || A === x.b))
15023
15023
  return l({
15024
15024
  rule: u,
15025
15025
  state: h,
15026
- from: T,
15026
+ from: A,
15027
15027
  to: x,
15028
15028
  pasteEvt: s
15029
15029
  });
@@ -15842,8 +15842,8 @@ function Oh(n, e, t = {}) {
15842
15842
  n.doc.nodesBetween(h, p, (m, v) => {
15843
15843
  if (!m.isText && !m.marks.length)
15844
15844
  return;
15845
- const y = Math.max(h, v), k = Math.min(p, v + m.nodeSize), T = k - y;
15846
- s += T, a.push(...m.marks.map((x) => ({
15845
+ const y = Math.max(h, v), k = Math.min(p, v + m.nodeSize), A = k - y;
15846
+ s += A, a.push(...m.marks.map((x) => ({
15847
15847
  mark: x,
15848
15848
  from: y,
15849
15849
  to: k
@@ -16041,15 +16041,15 @@ const JT = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
16041
16041
  const k = l.index(-1) ? 1 : l.index(-2) ? 2 : 3;
16042
16042
  for (let U = l.depth - k; U >= l.depth - 3; U -= 1)
16043
16043
  y = be.from(l.node(U).copy(y));
16044
- const T = l.indexAfter(-1) < l.node(-2).childCount ? 1 : l.indexAfter(-2) < l.node(-3).childCount ? 2 : 3, x = {
16044
+ const A = l.indexAfter(-1) < l.node(-2).childCount ? 1 : l.indexAfter(-2) < l.node(-3).childCount ? 2 : 3, x = {
16045
16045
  ...pu(f, l.node().type.name, l.node().attrs),
16046
16046
  ...e
16047
- }, A = ((s = a.contentMatch.defaultType) === null || s === void 0 ? void 0 : s.createAndFill(x)) || void 0;
16048
- y = y.append(be.from(a.createAndFill(null, A) || void 0));
16049
- const N = l.before(l.depth - (k - 1));
16050
- t.replace(N, l.after(-T), new Ae(y, 4 - k, 0));
16047
+ }, T = ((s = a.contentMatch.defaultType) === null || s === void 0 ? void 0 : s.createAndFill(x)) || void 0;
16048
+ y = y.append(be.from(a.createAndFill(null, T) || void 0));
16049
+ const E = l.before(l.depth - (k - 1));
16050
+ t.replace(E, l.after(-A), new Ae(y, 4 - k, 0));
16051
16051
  let R = -1;
16052
- t.doc.nodesBetween(N, t.doc.content.size, (U, L) => {
16052
+ t.doc.nodesBetween(E, t.doc.content.size, (U, L) => {
16053
16053
  if (R > -1)
16054
16054
  return !1;
16055
16055
  U.isTextblock && U.content.size === 0 && (R = L + 1);
@@ -16072,11 +16072,11 @@ const JT = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
16072
16072
  if (!aa(t.doc, l.pos, 2))
16073
16073
  return !1;
16074
16074
  if (i) {
16075
- const { selection: y, storedMarks: k } = r, { splittableMarks: T } = o.extensionManager, x = k || y.$to.parentOffset && y.$from.marks();
16075
+ const { selection: y, storedMarks: k } = r, { splittableMarks: A } = o.extensionManager, x = k || y.$to.parentOffset && y.$from.marks();
16076
16076
  if (t.split(l.pos, 2, v).scrollIntoView(), !x || !i)
16077
16077
  return !0;
16078
- const A = x.filter((N) => T.includes(N.type.name));
16079
- t.ensureMarks(A);
16078
+ const T = x.filter((E) => A.includes(E.type.name));
16079
+ t.ensureMarks(T);
16080
16080
  }
16081
16081
  return !0;
16082
16082
  }, tf = (n, e) => {
@@ -16098,19 +16098,19 @@ const JT = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
16098
16098
  const i = n.doc.nodeAt(r);
16099
16099
  return t.node.type === (i == null ? void 0 : i.type) && Yo(n.doc, r) && n.join(r), !0;
16100
16100
  }, QT = (n, e, t, r = {}) => ({ editor: i, tr: o, state: s, dispatch: a, chain: l, commands: c, can: u }) => {
16101
- const { extensions: d, splittableMarks: f } = i.extensionManager, h = wn(n, s.schema), p = wn(e, s.schema), { selection: m, storedMarks: v } = s, { $from: y, $to: k } = m, T = y.blockRange(k), x = v || m.$to.parentOffset && m.$from.marks();
16102
- if (!T)
16101
+ const { extensions: d, splittableMarks: f } = i.extensionManager, h = wn(n, s.schema), p = wn(e, s.schema), { selection: m, storedMarks: v } = s, { $from: y, $to: k } = m, A = y.blockRange(k), x = v || m.$to.parentOffset && m.$from.marks();
16102
+ if (!A)
16103
16103
  return !1;
16104
- const A = Qo((N) => yb(N.type.name, d))(m);
16105
- if (T.depth >= 1 && A && T.depth - A.depth <= 1) {
16106
- if (A.node.type === h)
16104
+ const T = Qo((E) => yb(E.type.name, d))(m);
16105
+ if (A.depth >= 1 && T && A.depth - T.depth <= 1) {
16106
+ if (T.node.type === h)
16107
16107
  return c.liftListItem(p);
16108
- if (yb(A.node.type.name, d) && h.validContent(A.node.content) && a)
16109
- return l().command(() => (o.setNodeMarkup(A.pos, h), !0)).command(() => tf(o, h)).command(() => nf(o, h)).run();
16108
+ if (yb(T.node.type.name, d) && h.validContent(T.node.content) && a)
16109
+ return l().command(() => (o.setNodeMarkup(T.pos, h), !0)).command(() => tf(o, h)).command(() => nf(o, h)).run();
16110
16110
  }
16111
16111
  return !t || !x || !a ? l().command(() => u().wrapInList(h, r) ? !0 : c.clearNodes()).wrapInList(h, r).command(() => tf(o, h)).command(() => nf(o, h)).run() : l().command(() => {
16112
- const N = u().wrapInList(h, r), R = x.filter((U) => f.includes(U.type.name));
16113
- return o.ensureMarks(R), N ? !0 : c.clearNodes();
16112
+ const E = u().wrapInList(h, r), R = x.filter((U) => f.includes(U.type.name));
16113
+ return o.ensureMarks(R), E ? !0 : c.clearNodes();
16114
16114
  }).wrapInList(h, r).command(() => tf(o, h)).command(() => nf(o, h)).run();
16115
16115
  }, ZT = (n, e = {}, t = {}) => ({ state: r, commands: i }) => {
16116
16116
  const { extendEmptyMarkRange: o = !1 } = t, s = Xo(n, r.schema);
@@ -16175,8 +16175,8 @@ const JT = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
16175
16175
  ...e
16176
16176
  }), s && m.marks.length && m.marks.forEach((y) => {
16177
16177
  if (s === y.type) {
16178
- const k = Math.max(v, c), T = Math.min(v + m.nodeSize, u);
16179
- t.addMark(k, T, s.create({
16178
+ const k = Math.max(v, c), A = Math.min(v + m.nodeSize, u);
16179
+ t.addMark(k, A, s.create({
16180
16180
  ...y.attrs,
16181
16181
  ...e
16182
16182
  }));
@@ -17130,8 +17130,8 @@ class wA {
17130
17130
  return;
17131
17131
  let f = 0, h = 0;
17132
17132
  if (this.dom !== d) {
17133
- const k = this.dom.getBoundingClientRect(), T = d.getBoundingClientRect(), x = (i = e.offsetX) !== null && i !== void 0 ? i : (o = e.nativeEvent) === null || o === void 0 ? void 0 : o.offsetX, A = (s = e.offsetY) !== null && s !== void 0 ? s : (a = e.nativeEvent) === null || a === void 0 ? void 0 : a.offsetY;
17134
- f = T.x - k.x + x, h = T.y - k.y + A;
17133
+ const k = this.dom.getBoundingClientRect(), A = d.getBoundingClientRect(), x = (i = e.offsetX) !== null && i !== void 0 ? i : (o = e.nativeEvent) === null || o === void 0 ? void 0 : o.offsetX, T = (s = e.offsetY) !== null && s !== void 0 ? s : (a = e.nativeEvent) === null || a === void 0 ? void 0 : a.offsetY;
17134
+ f = A.x - k.x + x, h = A.y - k.y + T;
17135
17135
  }
17136
17136
  const p = this.dom.cloneNode(!0);
17137
17137
  (l = e.dataTransfer) === null || l === void 0 || l.setDragImage(p, f, h);
@@ -18257,12 +18257,12 @@ function FA({
18257
18257
  ye(v, Lr, v), st(v, n.domain, s), st(y, r, o), st(y, n.domain, s);
18258
18258
  const k = Ir(Fc);
18259
18259
  st(y, n.tld, k), st(y, n.utld, k), st(k, n.domain, s), st(k, r, o), ye(k, fi, y), ye(k, Lr, v), ye(k, vo, c);
18260
- const T = ye(k, _o), x = Ir(Fc);
18261
- st(T, n.numeric, x);
18262
- const A = Ir(Fc), N = Ir();
18263
- st(A, e, A), st(A, t, N), st(N, e, A), st(N, t, N), ye(k, hi, A), ye(x, hi, A);
18260
+ const A = ye(k, _o), x = Ir(Fc);
18261
+ st(A, n.numeric, x);
18262
+ const T = Ir(Fc), E = Ir();
18263
+ st(T, e, T), st(T, t, E), st(E, e, T), st(E, t, E), ye(k, hi, T), ye(x, hi, T);
18264
18264
  const R = ye(a, _o), U = ye(l, _o), L = ye(U, hi), te = ye(L, hi);
18265
- st(a, n.domain, s), ye(a, fi, y), ye(a, Lr, v), st(l, n.domain, s), ye(l, fi, y), ye(l, Lr, v), st(R, n.domain, A), ye(R, hi, A), ye(R, vl, A), st(te, n.domain, A), st(te, e, A), ye(te, hi, A);
18265
+ st(a, n.domain, s), ye(a, fi, y), ye(a, Lr, v), st(l, n.domain, s), ye(l, fi, y), ye(l, Lr, v), st(R, n.domain, T), ye(R, hi, T), ye(R, vl, T), st(te, n.domain, T), st(te, e, T), ye(te, hi, T);
18266
18266
  const re = [
18267
18267
  [ml, gl],
18268
18268
  // {}
@@ -18282,12 +18282,12 @@ function FA({
18282
18282
  // <>
18283
18283
  ];
18284
18284
  for (let S = 0; S < re.length; S++) {
18285
- const [P, D] = re[S], E = ye(A, P);
18286
- ye(N, P, E), ye(E, D, A);
18285
+ const [P, D] = re[S], M = ye(T, P);
18286
+ ye(E, P, M), ye(M, D, T);
18287
18287
  const Y = Ir(Fc);
18288
- st(E, e, Y);
18288
+ st(M, e, Y);
18289
18289
  const K = Ir();
18290
- st(E, t), st(Y, e, Y), st(Y, t, K), st(K, e, Y), st(K, t, K), ye(Y, D, A), ye(K, D, A);
18290
+ st(M, t), st(Y, e, Y), st(Y, t, K), st(K, e, Y), st(K, t, K), ye(Y, D, T), ye(K, D, T);
18291
18291
  }
18292
18292
  return ye(i, zl, k), ye(i, vm, $A), {
18293
18293
  start: i,
@@ -24758,8 +24758,8 @@ var Wc = [
24758
24758
  var k = jc("textrm", t.fontWeight, t.fontShape);
24759
24759
  return ei(o, k, i, t, s.concat(t.fontWeight, t.fontShape));
24760
24760
  } else {
24761
- var T = jc(v, t.fontWeight, t.fontShape);
24762
- return ei(o, T, i, t, s.concat(T, t.fontWeight, t.fontShape));
24761
+ var A = jc(v, t.fontWeight, t.fontShape);
24762
+ return ei(o, A, i, t, s.concat(A, t.fontWeight, t.fontShape));
24763
24763
  }
24764
24764
  } else
24765
24765
  throw new Error("unexpected type: " + r + " in makeOrd");
@@ -24861,23 +24861,23 @@ var Wc = [
24861
24861
  if (m.type === "kern")
24862
24862
  h += m.size;
24863
24863
  else {
24864
- var v = m.elem, y = m.wrapperClasses || [], k = m.wrapperStyle || {}, T = lr(y, [c, v], void 0, k);
24865
- T.style.top = Se(-o - h - v.depth), m.marginLeft && (T.style.marginLeft = m.marginLeft), m.marginRight && (T.style.marginRight = m.marginRight), u.push(T), h += v.height + v.depth;
24864
+ var v = m.elem, y = m.wrapperClasses || [], k = m.wrapperStyle || {}, A = lr(y, [c, v], void 0, k);
24865
+ A.style.top = Se(-o - h - v.depth), m.marginLeft && (A.style.marginLeft = m.marginLeft), m.marginRight && (A.style.marginRight = m.marginRight), u.push(A), h += v.height + v.depth;
24866
24866
  }
24867
24867
  d = Math.min(d, h), f = Math.max(f, h);
24868
24868
  }
24869
24869
  var x = lr(["vlist"], u);
24870
24870
  x.style.height = Se(f);
24871
- var A;
24871
+ var T;
24872
24872
  if (d < 0) {
24873
- var N = lr([], []), R = lr(["vlist"], [N]);
24873
+ var E = lr([], []), R = lr(["vlist"], [E]);
24874
24874
  R.style.height = Se(-d);
24875
24875
  var U = lr(["vlist-s"], [new Gr("​")]);
24876
- A = [lr(["vlist-r"], [x, U]), lr(["vlist-r"], [R])];
24876
+ T = [lr(["vlist-r"], [x, U]), lr(["vlist-r"], [R])];
24877
24877
  } else
24878
- A = [lr(["vlist-r"], [x])];
24879
- var L = lr(["vlist-t"], A);
24880
- return A.length === 2 && L.classes.push("vlist-t2"), L.height = f, L.depth = -d, L;
24878
+ T = [lr(["vlist-r"], [x])];
24879
+ var L = lr(["vlist-t"], T);
24880
+ return T.length === 2 && L.classes.push("vlist-t2"), L.height = f, L.depth = -d, L;
24881
24881
  }, fN = (n, e) => {
24882
24882
  var t = lr(["mspace"], [], e), r = nn(n, e);
24883
24883
  return t.style.marginRight = Se(r), t;
@@ -25580,7 +25580,7 @@ var d5 = function(e) {
25580
25580
  height: h
25581
25581
  };
25582
25582
  } else {
25583
- var y = [], k = TN[l], [T, x, A] = k, N = A / 1e3, R = T.length, U, L;
25583
+ var y = [], k = TN[l], [A, x, T] = k, E = T / 1e3, R = A.length, U, L;
25584
25584
  if (R === 1) {
25585
25585
  var te = k[3];
25586
25586
  U = ["hide-tail"], L = [te];
@@ -25592,24 +25592,24 @@ var d5 = function(e) {
25592
25592
  throw new Error(`Correct katexImagesData or update code here to support
25593
25593
  ` + R + " children.");
25594
25594
  for (var re = 0; re < R; re++) {
25595
- var S = new Ho(T[re]), P = new Qi([S], {
25595
+ var S = new Ho(A[re]), P = new Qi([S], {
25596
25596
  width: "400em",
25597
- height: Se(N),
25598
- viewBox: "0 0 " + a + " " + A,
25597
+ height: Se(E),
25598
+ viewBox: "0 0 " + a + " " + T,
25599
25599
  preserveAspectRatio: L[re] + " slice"
25600
25600
  }), D = ee.makeSvgSpan([U[re]], [P], t);
25601
25601
  if (R === 1)
25602
25602
  return {
25603
25603
  span: D,
25604
25604
  minWidth: x,
25605
- height: N
25605
+ height: E
25606
25606
  };
25607
- D.style.height = Se(N), y.push(D);
25607
+ D.style.height = Se(E), y.push(D);
25608
25608
  }
25609
25609
  return {
25610
25610
  span: ee.makeSpan(["stretchy"], y, t),
25611
25611
  minWidth: x,
25612
- height: N
25612
+ height: E
25613
25613
  };
25614
25614
  }
25615
25615
  }
@@ -26523,16 +26523,16 @@ var al = function(e, t, r) {
26523
26523
  a = c = u = e, l = null;
26524
26524
  var h = "Size1-Regular";
26525
26525
  e === "\\uparrow" ? c = u = "⏐" : e === "\\Uparrow" ? c = u = "‖" : e === "\\downarrow" ? a = c = "⏐" : e === "\\Downarrow" ? a = c = "‖" : e === "\\updownarrow" ? (a = "\\uparrow", c = "⏐", u = "\\downarrow") : e === "\\Updownarrow" ? (a = "\\Uparrow", c = "‖", u = "\\Downarrow") : He.contains(FN, e) ? (c = "∣", d = "vert", f = 333) : He.contains(zN, e) ? (c = "∥", d = "doublevert", f = 556) : e === "[" || e === "\\lbrack" ? (a = "⎡", c = "⎢", u = "⎣", h = "Size4-Regular", d = "lbrack", f = 667) : e === "]" || e === "\\rbrack" ? (a = "⎤", c = "⎥", u = "⎦", h = "Size4-Regular", d = "rbrack", f = 667) : e === "\\lfloor" || e === "⌊" ? (c = a = "⎢", u = "⎣", h = "Size4-Regular", d = "lfloor", f = 667) : e === "\\lceil" || e === "⌈" ? (a = "⎡", c = u = "⎢", h = "Size4-Regular", d = "lceil", f = 667) : e === "\\rfloor" || e === "⌋" ? (c = a = "⎥", u = "⎦", h = "Size4-Regular", d = "rfloor", f = 667) : e === "\\rceil" || e === "⌉" ? (a = "⎤", c = u = "⎥", h = "Size4-Regular", d = "rceil", f = 667) : e === "(" || e === "\\lparen" ? (a = "⎛", c = "⎜", u = "⎝", h = "Size4-Regular", d = "lparen", f = 875) : e === ")" || e === "\\rparen" ? (a = "⎞", c = "⎟", u = "⎠", h = "Size4-Regular", d = "rparen", f = 875) : e === "\\{" || e === "\\lbrace" ? (a = "⎧", l = "⎨", u = "⎩", c = "⎪", h = "Size4-Regular") : e === "\\}" || e === "\\rbrace" ? (a = "⎫", l = "⎬", u = "⎭", c = "⎪", h = "Size4-Regular") : e === "\\lgroup" || e === "⟮" ? (a = "⎧", u = "⎩", c = "⎪", h = "Size4-Regular") : e === "\\rgroup" || e === "⟯" ? (a = "⎫", u = "⎭", c = "⎪", h = "Size4-Regular") : e === "\\lmoustache" || e === "⎰" ? (a = "⎧", u = "⎭", c = "⎪", h = "Size4-Regular") : (e === "\\rmoustache" || e === "⎱") && (a = "⎫", u = "⎩", c = "⎪", h = "Size4-Regular");
26526
- var p = al(a, h, o), m = p.height + p.depth, v = al(c, h, o), y = v.height + v.depth, k = al(u, h, o), T = k.height + k.depth, x = 0, A = 1;
26526
+ var p = al(a, h, o), m = p.height + p.depth, v = al(c, h, o), y = v.height + v.depth, k = al(u, h, o), A = k.height + k.depth, x = 0, T = 1;
26527
26527
  if (l !== null) {
26528
- var N = al(l, h, o);
26529
- x = N.height + N.depth, A = 2;
26528
+ var E = al(l, h, o);
26529
+ x = E.height + E.depth, T = 2;
26530
26530
  }
26531
- var R = m + T + x, U = Math.max(0, Math.ceil((t - R) / (A * y))), L = R + U * A * y, te = i.fontMetrics().axisHeight;
26531
+ var R = m + A + x, U = Math.max(0, Math.ceil((t - R) / (T * y))), L = R + U * T * y, te = i.fontMetrics().axisHeight;
26532
26532
  r && (te *= i.sizeMultiplier);
26533
26533
  var re = L / 2 - te, S = [];
26534
26534
  if (d.length > 0) {
26535
- var P = L - m - T, D = Math.round(L * 1e3), E = jM(d, Math.round(P * 1e3)), Y = new Ho(d, E), K = (f / 1e3).toFixed(3) + "em", j = (D / 1e3).toFixed(3) + "em", se = new Qi([Y], {
26535
+ var P = L - m - A, D = Math.round(L * 1e3), M = jM(d, Math.round(P * 1e3)), Y = new Ho(d, M), K = (f / 1e3).toFixed(3) + "em", j = (D / 1e3).toFixed(3) + "em", se = new Qi([Y], {
26536
26536
  width: K,
26537
26537
  height: j,
26538
26538
  viewBox: "0 0 " + f + " " + D
@@ -26543,10 +26543,10 @@ var al = function(e, t, r) {
26543
26543
  });
26544
26544
  } else {
26545
26545
  if (S.push(bf(u, h, o)), S.push(Gc), l === null) {
26546
- var Ne = L - m - T + 2 * Gh;
26546
+ var Ne = L - m - A + 2 * Gh;
26547
26547
  S.push(vf(c, Ne, i));
26548
26548
  } else {
26549
- var he = (L - m - T - x) / 2 + 2 * Gh;
26549
+ var he = (L - m - A - x) / 2 + 2 * Gh;
26550
26550
  S.push(vf(c, he, i)), S.push(Gc), S.push(bf(l, h, o)), S.push(Gc), S.push(vf(c, he, i));
26551
26551
  }
26552
26552
  S.push(Gc), S.push(bf(a, h, o));
@@ -26950,7 +26950,7 @@ var Pm = (n, e) => {
26950
26950
  ]
26951
26951
  }, e);
26952
26952
  else {
26953
- var T = /cancel|phase/.test(r) ? ["svg-align"] : [];
26953
+ var A = /cancel|phase/.test(r) ? ["svg-align"] : [];
26954
26954
  k = ee.makeVList({
26955
26955
  positionType: "individualShift",
26956
26956
  children: [
@@ -26964,7 +26964,7 @@ var Pm = (n, e) => {
26964
26964
  type: "elem",
26965
26965
  elem: o,
26966
26966
  shift: s,
26967
- wrapperClasses: T
26967
+ wrapperClasses: A
26968
26968
  }
26969
26969
  ]
26970
26970
  }, e);
@@ -27139,7 +27139,7 @@ function Ai(n) {
27139
27139
  o && (_d[e] = o), s && (kd[e] = s);
27140
27140
  }
27141
27141
  var M5 = {};
27142
- function M(n, e) {
27142
+ function N(n, e) {
27143
27143
  M5[n] = e;
27144
27144
  }
27145
27145
  function Zb(n) {
@@ -27181,39 +27181,39 @@ function Zo(n, e, t) {
27181
27181
  }
27182
27182
  n.gullet.beginGroup();
27183
27183
  var p = [], m = [p], v = [], y = [], k = l != null ? [] : void 0;
27184
- function T() {
27184
+ function A() {
27185
27185
  l && n.gullet.macros.set("\\@eqnsw", "1", !0);
27186
27186
  }
27187
27187
  function x() {
27188
27188
  k && (n.gullet.macros.get("\\df@tag") ? (k.push(n.subparse([new qr("\\df@tag")])), n.gullet.macros.set("\\df@tag", void 0, !0)) : k.push(!!l && n.gullet.macros.get("\\@eqnsw") === "1"));
27189
27189
  }
27190
- for (T(), y.push(Zb(n)); ; ) {
27191
- var A = n.parseExpression(!1, c ? "\\end" : "\\\\");
27192
- n.gullet.endGroup(), n.gullet.beginGroup(), A = {
27190
+ for (A(), y.push(Zb(n)); ; ) {
27191
+ var T = n.parseExpression(!1, c ? "\\end" : "\\\\");
27192
+ n.gullet.endGroup(), n.gullet.beginGroup(), T = {
27193
27193
  type: "ordgroup",
27194
27194
  mode: n.mode,
27195
- body: A
27196
- }, t && (A = {
27195
+ body: T
27196
+ }, t && (T = {
27197
27197
  type: "styling",
27198
27198
  mode: n.mode,
27199
27199
  style: t,
27200
- body: [A]
27201
- }), p.push(A);
27202
- var N = n.fetch().text;
27203
- if (N === "&") {
27200
+ body: [T]
27201
+ }), p.push(T);
27202
+ var E = n.fetch().text;
27203
+ if (E === "&") {
27204
27204
  if (d && p.length === d) {
27205
27205
  if (c || a)
27206
27206
  throw new we("Too many tab characters: &", n.nextToken);
27207
27207
  n.settings.reportNonstrict("textEnv", "Too few columns specified in the {array} column argument.");
27208
27208
  }
27209
27209
  n.consume();
27210
- } else if (N === "\\end") {
27211
- x(), p.length === 1 && A.type === "styling" && A.body[0].body.length === 0 && (m.length > 1 || !u) && m.pop(), y.length < m.length + 1 && y.push([]);
27210
+ } else if (E === "\\end") {
27211
+ x(), p.length === 1 && T.type === "styling" && T.body[0].body.length === 0 && (m.length > 1 || !u) && m.pop(), y.length < m.length + 1 && y.push([]);
27212
27212
  break;
27213
- } else if (N === "\\\\") {
27213
+ } else if (E === "\\\\") {
27214
27214
  n.consume();
27215
27215
  var R = void 0;
27216
- n.gullet.future().text !== " " && (R = n.parseSizeGroup(!0)), v.push(R ? R.value : null), x(), y.push(Zb(n)), p = [], m.push(p), T();
27216
+ n.gullet.future().text !== " " && (R = n.parseSizeGroup(!0)), v.push(R ? R.value : null), x(), y.push(Zb(n)), p = [], m.push(p), A();
27217
27217
  } else
27218
27218
  throw new we("Expected & or \\\\ or \\cr or \\end", n.nextToken);
27219
27219
  }
@@ -27249,26 +27249,26 @@ var Ei = function(e, t) {
27249
27249
  var p = e.colSeparationType === "CD" ? nn({
27250
27250
  number: 3,
27251
27251
  unit: "ex"
27252
- }, t) : 12 * d, m = 3 * d, v = e.arraystretch * p, y = 0.7 * v, k = 0.3 * v, T = 0;
27252
+ }, t) : 12 * d, m = 3 * d, v = e.arraystretch * p, y = 0.7 * v, k = 0.3 * v, A = 0;
27253
27253
  function x(z) {
27254
27254
  for (var W = 0; W < z.length; ++W)
27255
- W > 0 && (T += 0.25), c.push({
27256
- pos: T,
27255
+ W > 0 && (A += 0.25), c.push({
27256
+ pos: A,
27257
27257
  isDashed: z[W]
27258
27258
  });
27259
27259
  }
27260
27260
  for (x(s[0]), r = 0; r < e.body.length; ++r) {
27261
- var A = e.body[r], N = y, R = k;
27262
- a < A.length && (a = A.length);
27263
- var U = new Array(A.length);
27264
- for (i = 0; i < A.length; ++i) {
27265
- var L = kt(A[i], t);
27266
- R < L.depth && (R = L.depth), N < L.height && (N = L.height), U[i] = L;
27261
+ var T = e.body[r], E = y, R = k;
27262
+ a < T.length && (a = T.length);
27263
+ var U = new Array(T.length);
27264
+ for (i = 0; i < T.length; ++i) {
27265
+ var L = kt(T[i], t);
27266
+ R < L.depth && (R = L.depth), E < L.height && (E = L.height), U[i] = L;
27267
27267
  }
27268
27268
  var te = e.rowGaps[r], re = 0;
27269
- te && (re = nn(te, t), re > 0 && (re += k, R < re && (R = re), re = 0)), e.addJot && (R += m), U.height = N, U.depth = R, T += N, U.pos = T, T += R + re, l[r] = U, x(s[r + 1]);
27269
+ te && (re = nn(te, t), re > 0 && (re += k, R < re && (R = re), re = 0)), e.addJot && (R += m), U.height = E, U.depth = R, A += E, U.pos = A, A += R + re, l[r] = U, x(s[r + 1]);
27270
27270
  }
27271
- var S = T / 2 + t.fontMetrics().axisHeight, P = e.cols || [], D = [], E, Y, K = [];
27271
+ var S = A / 2 + t.fontMetrics().axisHeight, P = e.cols || [], D = [], M, Y, K = [];
27272
27272
  if (e.tags && e.tags.some((z) => z))
27273
27273
  for (r = 0; r < o; ++r) {
27274
27274
  var j = l[r], se = j.pos - S, me = e.tags[r], Ne = void 0;
@@ -27286,10 +27286,10 @@ var Ei = function(e, t) {
27286
27286
  ++i, ++Y
27287
27287
  ) {
27288
27288
  for (var he = P[Y] || {}, Me = !0; he.type === "separator"; ) {
27289
- if (Me || (E = ee.makeSpan(["arraycolsep"], []), E.style.width = Se(t.fontMetrics().doubleRuleSep), D.push(E)), he.separator === "|" || he.separator === ":") {
27289
+ if (Me || (M = ee.makeSpan(["arraycolsep"], []), M.style.width = Se(t.fontMetrics().doubleRuleSep), D.push(M)), he.separator === "|" || he.separator === ":") {
27290
27290
  var $e = he.separator === "|" ? "solid" : "dashed", tt = ee.makeSpan(["vertical-separator"], [], t);
27291
- tt.style.height = Se(T), tt.style.borderRightWidth = Se(u), tt.style.borderRightStyle = $e, tt.style.margin = "0 " + Se(-u / 2);
27292
- var Nt = T - S;
27291
+ tt.style.height = Se(A), tt.style.borderRightWidth = Se(u), tt.style.borderRightStyle = $e, tt.style.margin = "0 " + Se(-u / 2);
27292
+ var Nt = A - S;
27293
27293
  Nt && (tt.style.verticalAlign = Se(-Nt)), D.push(tt);
27294
27294
  } else
27295
27295
  throw new we("Invalid separator type: " + he.separator);
@@ -27297,7 +27297,7 @@ var Ei = function(e, t) {
27297
27297
  }
27298
27298
  if (!(i >= a)) {
27299
27299
  var xt = void 0;
27300
- (i > 0 || e.hskipBeforeAndAfter) && (xt = He.deflt(he.pregap, f), xt !== 0 && (E = ee.makeSpan(["arraycolsep"], []), E.style.width = Se(xt), D.push(E)));
27300
+ (i > 0 || e.hskipBeforeAndAfter) && (xt = He.deflt(he.pregap, f), xt !== 0 && (M = ee.makeSpan(["arraycolsep"], []), M.style.width = Se(xt), D.push(M)));
27301
27301
  var gt = [];
27302
27302
  for (r = 0; r < o; ++r) {
27303
27303
  var Tt = l[r], ot = Tt[i];
@@ -27313,7 +27313,7 @@ var Ei = function(e, t) {
27313
27313
  gt = ee.makeVList({
27314
27314
  positionType: "individualShift",
27315
27315
  children: gt
27316
- }, t), gt = ee.makeSpan(["col-align-" + (he.align || "c")], [gt]), D.push(gt), (i < a - 1 || e.hskipBeforeAndAfter) && (xt = He.deflt(he.postgap, f), xt !== 0 && (E = ee.makeSpan(["arraycolsep"], []), E.style.width = Se(xt), D.push(E)));
27316
+ }, t), gt = ee.makeSpan(["col-align-" + (he.align || "c")], [gt]), D.push(gt), (i < a - 1 || e.hskipBeforeAndAfter) && (xt = He.deflt(he.postgap, f), xt !== 0 && (M = ee.makeSpan(["arraycolsep"], []), M.style.width = Se(xt), D.push(M)));
27317
27317
  }
27318
27318
  }
27319
27319
  if (l = ee.makeSpan(["mtable"], D), c.length > 0) {
@@ -27361,14 +27361,14 @@ var Ei = function(e, t) {
27361
27361
  if (e.cols && e.cols.length > 0) {
27362
27362
  var p = e.cols, m = "", v = !1, y = 0, k = p.length;
27363
27363
  p[0].type === "separator" && (f += "top ", y = 1), p[p.length - 1].type === "separator" && (f += "bottom ", k -= 1);
27364
- for (var T = y; T < k; T++)
27365
- p[T].type === "align" ? (h += YN[p[T].align], v && (m += "none "), v = !0) : p[T].type === "separator" && v && (m += p[T].separator === "|" ? "solid " : "dashed ", v = !1);
27364
+ for (var A = y; A < k; A++)
27365
+ p[A].type === "align" ? (h += YN[p[A].align], v && (m += "none "), v = !0) : p[A].type === "separator" && v && (m += p[A].separator === "|" ? "solid " : "dashed ", v = !1);
27366
27366
  u.setAttribute("columnalign", h.trim()), /[sd]/.test(m) && u.setAttribute("columnlines", m.trim());
27367
27367
  }
27368
27368
  if (e.colSeparationType === "align") {
27369
- for (var x = e.cols || [], A = "", N = 1; N < x.length; N++)
27370
- A += N % 2 ? "0em " : "1em ";
27371
- u.setAttribute("columnspacing", A.trim());
27369
+ for (var x = e.cols || [], T = "", E = 1; E < x.length; E++)
27370
+ T += E % 2 ? "0em " : "1em ";
27371
+ u.setAttribute("columnspacing", T.trim());
27372
27372
  } else e.colSeparationType === "alignat" || e.colSeparationType === "gather" ? u.setAttribute("columnspacing", "0em") : e.colSeparationType === "small" ? u.setAttribute("columnspacing", "0.2778em") : e.colSeparationType === "CD" ? u.setAttribute("columnspacing", "0.5em") : u.setAttribute("columnspacing", "1em");
27373
27373
  var R = "", U = e.hLinesBeforeRow;
27374
27374
  f += U[0].length > 0 ? "left " : "", f += U[U.length - 1].length > 0 ? "right " : "";
@@ -27400,15 +27400,15 @@ var Ei = function(e, t) {
27400
27400
  var h = !l;
27401
27401
  s.body.forEach(function(y) {
27402
27402
  for (var k = 1; k < y.length; k += 2) {
27403
- var T = it(y[k], "styling"), x = it(T.body[0], "ordgroup");
27403
+ var A = it(y[k], "styling"), x = it(A.body[0], "ordgroup");
27404
27404
  x.body.unshift(c);
27405
27405
  }
27406
27406
  if (h)
27407
27407
  l < y.length && (l = y.length);
27408
27408
  else {
27409
- var A = y.length / 2;
27410
- if (a < A)
27411
- throw new we("Too many math in a row: " + ("expected " + a + ", but got " + A), y[0]);
27409
+ var T = y.length / 2;
27410
+ if (a < T)
27411
+ throw new we("Too many math in a row: " + ("expected " + a + ", but got " + T), y[0]);
27412
27412
  }
27413
27413
  });
27414
27414
  for (var p = 0; p < l; ++p) {
@@ -27666,8 +27666,8 @@ Ai({
27666
27666
  htmlBuilder: Ei,
27667
27667
  mathmlBuilder: Mi
27668
27668
  });
27669
- M("\\nonumber", "\\gdef\\@eqnsw{0}");
27670
- M("\\notag", "\\nonumber");
27669
+ N("\\nonumber", "\\gdef\\@eqnsw{0}");
27670
+ N("\\notag", "\\nonumber");
27671
27671
  Ee({
27672
27672
  type: "text",
27673
27673
  // Doesn't matter what this is.
@@ -27847,7 +27847,7 @@ var I5 = (n, e) => {
27847
27847
  if (u) {
27848
27848
  var k = e.fontMetrics().axisHeight;
27849
27849
  h - s.depth - (k + 0.5 * d) < p && (h += p - (h - s.depth - (k + 0.5 * d))), k - 0.5 * d - (c.height - m) < p && (m += p - (k - 0.5 * d - (c.height - m)));
27850
- var T = -(k - 0.5 * d);
27850
+ var A = -(k - 0.5 * d);
27851
27851
  v = ee.makeVList({
27852
27852
  positionType: "individualShift",
27853
27853
  children: [{
@@ -27857,7 +27857,7 @@ var I5 = (n, e) => {
27857
27857
  }, {
27858
27858
  type: "elem",
27859
27859
  elem: u,
27860
- shift: T
27860
+ shift: A
27861
27861
  }, {
27862
27862
  type: "elem",
27863
27863
  elem: s,
@@ -27882,8 +27882,8 @@ var I5 = (n, e) => {
27882
27882
  o = e.havingStyle(t), v.height *= o.sizeMultiplier / e.sizeMultiplier, v.depth *= o.sizeMultiplier / e.sizeMultiplier;
27883
27883
  var x;
27884
27884
  t.size === qe.DISPLAY.size ? x = e.fontMetrics().delim1 : t.size === qe.SCRIPTSCRIPT.size ? x = e.havingStyle(qe.SCRIPT).fontMetrics().delim2 : x = e.fontMetrics().delim2;
27885
- var A, N;
27886
- return n.leftDelim == null ? A = Ul(e, ["mopen"]) : A = Yi.customSizedDelim(n.leftDelim, x, !0, e.havingStyle(t), n.mode, ["mopen"]), n.continued ? N = ee.makeSpan([]) : n.rightDelim == null ? N = Ul(e, ["mclose"]) : N = Yi.customSizedDelim(n.rightDelim, x, !0, e.havingStyle(t), n.mode, ["mclose"]), ee.makeSpan(["mord"].concat(o.sizingClasses(e)), [A, ee.makeSpan(["mfrac"], [v]), N], e);
27885
+ var T, E;
27886
+ return n.leftDelim == null ? T = Ul(e, ["mopen"]) : T = Yi.customSizedDelim(n.leftDelim, x, !0, e.havingStyle(t), n.mode, ["mopen"]), n.continued ? E = ee.makeSpan([]) : n.rightDelim == null ? E = Ul(e, ["mclose"]) : E = Yi.customSizedDelim(n.rightDelim, x, !0, e.havingStyle(t), n.mode, ["mclose"]), ee.makeSpan(["mord"].concat(o.sizingClasses(e)), [T, ee.makeSpan(["mfrac"], [v]), E], e);
27887
27887
  }, Vm = (n, e) => {
27888
27888
  var t = new ve.MathNode("mfrac", [zt(n.numer, e), zt(n.denom, e)]);
27889
27889
  if (!n.hasBarLine)
@@ -29013,7 +29013,7 @@ Ee({
29013
29013
  htmlBuilder: P5,
29014
29014
  mathmlBuilder: ZN
29015
29015
  });
29016
- M("\\operatorname", "\\@ifstar\\operatornamewithlimits\\operatorname@");
29016
+ N("\\operatorname", "\\@ifstar\\operatornamewithlimits\\operatorname@");
29017
29017
  Ps({
29018
29018
  type: "ordgroup",
29019
29019
  htmlBuilder(n, e) {
@@ -29487,15 +29487,15 @@ Ps({
29487
29487
  e.style === qe.DISPLAY ? m = c.sup1 : e.style.cramped ? m = c.sup3 : m = c.sup2;
29488
29488
  var v = e.sizeMultiplier, y = Se(0.5 / c.ptPerEm / v), k = null;
29489
29489
  if (l) {
29490
- var T = n.base && n.base.type === "op" && n.base.name && (n.base.name === "\\oiint" || n.base.name === "\\oiiint");
29491
- (s instanceof Gr || T) && (k = Se(-s.italic));
29490
+ var A = n.base && n.base.type === "op" && n.base.name && (n.base.name === "\\oiint" || n.base.name === "\\oiiint");
29491
+ (s instanceof Gr || A) && (k = Se(-s.italic));
29492
29492
  }
29493
29493
  var x;
29494
29494
  if (a && l) {
29495
29495
  u = Math.max(u, m, a.depth + 0.25 * c.xHeight), d = Math.max(d, c.sub2);
29496
- var A = c.defaultRuleThickness, N = 4 * A;
29497
- if (u - a.depth - (l.height - d) < N) {
29498
- d = N - (u - a.depth) + l.height;
29496
+ var T = c.defaultRuleThickness, E = 4 * T;
29497
+ if (u - a.depth - (l.height - d) < E) {
29498
+ d = E - (u - a.depth) + l.height;
29499
29499
  var R = 0.8 * c.xHeight - (u - a.depth);
29500
29500
  R > 0 && (u += R, d -= R);
29501
29501
  }
@@ -29943,35 +29943,35 @@ class cO {
29943
29943
  }
29944
29944
  }
29945
29945
  var uO = M5;
29946
- M("\\noexpand", function(n) {
29946
+ N("\\noexpand", function(n) {
29947
29947
  var e = n.popToken();
29948
29948
  return n.isExpandable(e.text) && (e.noexpand = !0, e.treatAsRelax = !0), {
29949
29949
  tokens: [e],
29950
29950
  numArgs: 0
29951
29951
  };
29952
29952
  });
29953
- M("\\expandafter", function(n) {
29953
+ N("\\expandafter", function(n) {
29954
29954
  var e = n.popToken();
29955
29955
  return n.expandOnce(!0), {
29956
29956
  tokens: [e],
29957
29957
  numArgs: 0
29958
29958
  };
29959
29959
  });
29960
- M("\\@firstoftwo", function(n) {
29960
+ N("\\@firstoftwo", function(n) {
29961
29961
  var e = n.consumeArgs(2);
29962
29962
  return {
29963
29963
  tokens: e[0],
29964
29964
  numArgs: 0
29965
29965
  };
29966
29966
  });
29967
- M("\\@secondoftwo", function(n) {
29967
+ N("\\@secondoftwo", function(n) {
29968
29968
  var e = n.consumeArgs(2);
29969
29969
  return {
29970
29970
  tokens: e[1],
29971
29971
  numArgs: 0
29972
29972
  };
29973
29973
  });
29974
- M("\\@ifnextchar", function(n) {
29974
+ N("\\@ifnextchar", function(n) {
29975
29975
  var e = n.consumeArgs(3);
29976
29976
  n.consumeSpaces();
29977
29977
  var t = n.future();
@@ -29983,8 +29983,8 @@ M("\\@ifnextchar", function(n) {
29983
29983
  numArgs: 0
29984
29984
  };
29985
29985
  });
29986
- M("\\@ifstar", "\\@ifnextchar *{\\@firstoftwo{#1}}");
29987
- M("\\TextOrMath", function(n) {
29986
+ N("\\@ifstar", "\\@ifnextchar *{\\@firstoftwo{#1}}");
29987
+ N("\\TextOrMath", function(n) {
29988
29988
  var e = n.consumeArgs(2);
29989
29989
  return n.mode === "text" ? {
29990
29990
  tokens: e[0],
@@ -30018,7 +30018,7 @@ var hv = {
30018
30018
  f: 15,
30019
30019
  F: 15
30020
30020
  };
30021
- M("\\char", function(n) {
30021
+ N("\\char", function(n) {
30022
30022
  var e = n.popToken(), t, r = "";
30023
30023
  if (e.text === "'")
30024
30024
  t = 8, e = n.popToken();
@@ -30064,95 +30064,95 @@ var Um = (n, e, t) => {
30064
30064
  numArgs: s
30065
30065
  }), "";
30066
30066
  };
30067
- M("\\newcommand", (n) => Um(n, !1, !0));
30068
- M("\\renewcommand", (n) => Um(n, !0, !1));
30069
- M("\\providecommand", (n) => Um(n, !0, !0));
30070
- M("\\message", (n) => {
30067
+ N("\\newcommand", (n) => Um(n, !1, !0));
30068
+ N("\\renewcommand", (n) => Um(n, !0, !1));
30069
+ N("\\providecommand", (n) => Um(n, !0, !0));
30070
+ N("\\message", (n) => {
30071
30071
  var e = n.consumeArgs(1)[0];
30072
30072
  return console.log(e.reverse().map((t) => t.text).join("")), "";
30073
30073
  });
30074
- M("\\errmessage", (n) => {
30074
+ N("\\errmessage", (n) => {
30075
30075
  var e = n.consumeArgs(1)[0];
30076
30076
  return console.error(e.reverse().map((t) => t.text).join("")), "";
30077
30077
  });
30078
- M("\\show", (n) => {
30078
+ N("\\show", (n) => {
30079
30079
  var e = n.popToken(), t = e.text;
30080
30080
  return console.log(e, n.macros.get(t), Eo[t], Vt.math[t], Vt.text[t]), "";
30081
30081
  });
30082
- M("\\bgroup", "{");
30083
- M("\\egroup", "}");
30084
- M("~", "\\nobreakspace");
30085
- M("\\lq", "`");
30086
- M("\\rq", "'");
30087
- M("\\aa", "\\r a");
30088
- M("\\AA", "\\r A");
30089
- M("\\textcopyright", "\\html@mathml{\\textcircled{c}}{\\char`©}");
30090
- M("\\copyright", "\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");
30091
- M("\\textregistered", "\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");
30092
- M("ℬ", "\\mathscr{B}");
30093
- M("ℰ", "\\mathscr{E}");
30094
- M("ℱ", "\\mathscr{F}");
30095
- M("ℋ", "\\mathscr{H}");
30096
- M("ℐ", "\\mathscr{I}");
30097
- M("ℒ", "\\mathscr{L}");
30098
- M("ℳ", "\\mathscr{M}");
30099
- M("ℛ", "\\mathscr{R}");
30100
- M("ℭ", "\\mathfrak{C}");
30101
- M("ℌ", "\\mathfrak{H}");
30102
- M("ℨ", "\\mathfrak{Z}");
30103
- M("\\Bbbk", "\\Bbb{k}");
30104
- M("·", "\\cdotp");
30105
- M("\\llap", "\\mathllap{\\textrm{#1}}");
30106
- M("\\rlap", "\\mathrlap{\\textrm{#1}}");
30107
- M("\\clap", "\\mathclap{\\textrm{#1}}");
30108
- M("\\mathstrut", "\\vphantom{(}");
30109
- M("\\underbar", "\\underline{\\text{#1}}");
30110
- M("\\not", '\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');
30111
- M("\\neq", "\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");
30112
- M("\\ne", "\\neq");
30113
- M("≠", "\\neq");
30114
- M("\\notin", "\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");
30115
- M("∉", "\\notin");
30116
- M("≘", "\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");
30117
- M("≙", "\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");
30118
- M("≚", "\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");
30119
- M("≛", "\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");
30120
- M("≝", "\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");
30121
- M("≞", "\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");
30122
- M("≟", "\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");
30123
- M("⟂", "\\perp");
30124
- M("‼", "\\mathclose{!\\mkern-0.8mu!}");
30125
- M("∌", "\\notni");
30126
- M("⌜", "\\ulcorner");
30127
- M("⌝", "\\urcorner");
30128
- M("⌞", "\\llcorner");
30129
- M("⌟", "\\lrcorner");
30130
- M("©", "\\copyright");
30131
- M("®", "\\textregistered");
30132
- M("️", "\\textregistered");
30133
- M("\\ulcorner", '\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');
30134
- M("\\urcorner", '\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');
30135
- M("\\llcorner", '\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');
30136
- M("\\lrcorner", '\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');
30137
- M("\\vdots", "\\mathord{\\varvdots\\rule{0pt}{15pt}}");
30138
- M("⋮", "\\vdots");
30139
- M("\\varGamma", "\\mathit{\\Gamma}");
30140
- M("\\varDelta", "\\mathit{\\Delta}");
30141
- M("\\varTheta", "\\mathit{\\Theta}");
30142
- M("\\varLambda", "\\mathit{\\Lambda}");
30143
- M("\\varXi", "\\mathit{\\Xi}");
30144
- M("\\varPi", "\\mathit{\\Pi}");
30145
- M("\\varSigma", "\\mathit{\\Sigma}");
30146
- M("\\varUpsilon", "\\mathit{\\Upsilon}");
30147
- M("\\varPhi", "\\mathit{\\Phi}");
30148
- M("\\varPsi", "\\mathit{\\Psi}");
30149
- M("\\varOmega", "\\mathit{\\Omega}");
30150
- M("\\substack", "\\begin{subarray}{c}#1\\end{subarray}");
30151
- M("\\colon", "\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");
30152
- M("\\boxed", "\\fbox{$\\displaystyle{#1}$}");
30153
- M("\\iff", "\\DOTSB\\;\\Longleftrightarrow\\;");
30154
- M("\\implies", "\\DOTSB\\;\\Longrightarrow\\;");
30155
- M("\\impliedby", "\\DOTSB\\;\\Longleftarrow\\;");
30082
+ N("\\bgroup", "{");
30083
+ N("\\egroup", "}");
30084
+ N("~", "\\nobreakspace");
30085
+ N("\\lq", "`");
30086
+ N("\\rq", "'");
30087
+ N("\\aa", "\\r a");
30088
+ N("\\AA", "\\r A");
30089
+ N("\\textcopyright", "\\html@mathml{\\textcircled{c}}{\\char`©}");
30090
+ N("\\copyright", "\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");
30091
+ N("\\textregistered", "\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");
30092
+ N("ℬ", "\\mathscr{B}");
30093
+ N("ℰ", "\\mathscr{E}");
30094
+ N("ℱ", "\\mathscr{F}");
30095
+ N("ℋ", "\\mathscr{H}");
30096
+ N("ℐ", "\\mathscr{I}");
30097
+ N("ℒ", "\\mathscr{L}");
30098
+ N("ℳ", "\\mathscr{M}");
30099
+ N("ℛ", "\\mathscr{R}");
30100
+ N("ℭ", "\\mathfrak{C}");
30101
+ N("ℌ", "\\mathfrak{H}");
30102
+ N("ℨ", "\\mathfrak{Z}");
30103
+ N("\\Bbbk", "\\Bbb{k}");
30104
+ N("·", "\\cdotp");
30105
+ N("\\llap", "\\mathllap{\\textrm{#1}}");
30106
+ N("\\rlap", "\\mathrlap{\\textrm{#1}}");
30107
+ N("\\clap", "\\mathclap{\\textrm{#1}}");
30108
+ N("\\mathstrut", "\\vphantom{(}");
30109
+ N("\\underbar", "\\underline{\\text{#1}}");
30110
+ N("\\not", '\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');
30111
+ N("\\neq", "\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");
30112
+ N("\\ne", "\\neq");
30113
+ N("≠", "\\neq");
30114
+ N("\\notin", "\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");
30115
+ N("∉", "\\notin");
30116
+ N("≘", "\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");
30117
+ N("≙", "\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");
30118
+ N("≚", "\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");
30119
+ N("≛", "\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");
30120
+ N("≝", "\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");
30121
+ N("≞", "\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");
30122
+ N("≟", "\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");
30123
+ N("⟂", "\\perp");
30124
+ N("‼", "\\mathclose{!\\mkern-0.8mu!}");
30125
+ N("∌", "\\notni");
30126
+ N("⌜", "\\ulcorner");
30127
+ N("⌝", "\\urcorner");
30128
+ N("⌞", "\\llcorner");
30129
+ N("⌟", "\\lrcorner");
30130
+ N("©", "\\copyright");
30131
+ N("®", "\\textregistered");
30132
+ N("️", "\\textregistered");
30133
+ N("\\ulcorner", '\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');
30134
+ N("\\urcorner", '\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');
30135
+ N("\\llcorner", '\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');
30136
+ N("\\lrcorner", '\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');
30137
+ N("\\vdots", "\\mathord{\\varvdots\\rule{0pt}{15pt}}");
30138
+ N("⋮", "\\vdots");
30139
+ N("\\varGamma", "\\mathit{\\Gamma}");
30140
+ N("\\varDelta", "\\mathit{\\Delta}");
30141
+ N("\\varTheta", "\\mathit{\\Theta}");
30142
+ N("\\varLambda", "\\mathit{\\Lambda}");
30143
+ N("\\varXi", "\\mathit{\\Xi}");
30144
+ N("\\varPi", "\\mathit{\\Pi}");
30145
+ N("\\varSigma", "\\mathit{\\Sigma}");
30146
+ N("\\varUpsilon", "\\mathit{\\Upsilon}");
30147
+ N("\\varPhi", "\\mathit{\\Phi}");
30148
+ N("\\varPsi", "\\mathit{\\Psi}");
30149
+ N("\\varOmega", "\\mathit{\\Omega}");
30150
+ N("\\substack", "\\begin{subarray}{c}#1\\end{subarray}");
30151
+ N("\\colon", "\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");
30152
+ N("\\boxed", "\\fbox{$\\displaystyle{#1}$}");
30153
+ N("\\iff", "\\DOTSB\\;\\Longleftrightarrow\\;");
30154
+ N("\\implies", "\\DOTSB\\;\\Longrightarrow\\;");
30155
+ N("\\impliedby", "\\DOTSB\\;\\Longleftarrow\\;");
30156
30156
  var pv = {
30157
30157
  ",": "\\dotsc",
30158
30158
  "\\not": "\\dotsb",
@@ -30208,7 +30208,7 @@ var pv = {
30208
30208
  // Symbols whose definition starts with \DOTSX:
30209
30209
  "\\DOTSX": "\\dotsx"
30210
30210
  };
30211
- M("\\dots", function(n) {
30211
+ N("\\dots", function(n) {
30212
30212
  var e = "\\dotso", t = n.expandAfterFuture().text;
30213
30213
  return t in pv ? e = pv[t] : (t.slice(0, 4) === "\\not" || t in Vt.math && He.contains(["bin", "rel"], Vt.math[t].group)) && (e = "\\dotsb"), e;
30214
30214
  });
@@ -30236,202 +30236,202 @@ var Wm = {
30236
30236
  ".": !0,
30237
30237
  ",": !0
30238
30238
  };
30239
- M("\\dotso", function(n) {
30239
+ N("\\dotso", function(n) {
30240
30240
  var e = n.future().text;
30241
30241
  return e in Wm ? "\\ldots\\," : "\\ldots";
30242
30242
  });
30243
- M("\\dotsc", function(n) {
30243
+ N("\\dotsc", function(n) {
30244
30244
  var e = n.future().text;
30245
30245
  return e in Wm && e !== "," ? "\\ldots\\," : "\\ldots";
30246
30246
  });
30247
- M("\\cdots", function(n) {
30247
+ N("\\cdots", function(n) {
30248
30248
  var e = n.future().text;
30249
30249
  return e in Wm ? "\\@cdots\\," : "\\@cdots";
30250
30250
  });
30251
- M("\\dotsb", "\\cdots");
30252
- M("\\dotsm", "\\cdots");
30253
- M("\\dotsi", "\\!\\cdots");
30254
- M("\\dotsx", "\\ldots\\,");
30255
- M("\\DOTSI", "\\relax");
30256
- M("\\DOTSB", "\\relax");
30257
- M("\\DOTSX", "\\relax");
30258
- M("\\tmspace", "\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");
30259
- M("\\,", "\\tmspace+{3mu}{.1667em}");
30260
- M("\\thinspace", "\\,");
30261
- M("\\>", "\\mskip{4mu}");
30262
- M("\\:", "\\tmspace+{4mu}{.2222em}");
30263
- M("\\medspace", "\\:");
30264
- M("\\;", "\\tmspace+{5mu}{.2777em}");
30265
- M("\\thickspace", "\\;");
30266
- M("\\!", "\\tmspace-{3mu}{.1667em}");
30267
- M("\\negthinspace", "\\!");
30268
- M("\\negmedspace", "\\tmspace-{4mu}{.2222em}");
30269
- M("\\negthickspace", "\\tmspace-{5mu}{.277em}");
30270
- M("\\enspace", "\\kern.5em ");
30271
- M("\\enskip", "\\hskip.5em\\relax");
30272
- M("\\quad", "\\hskip1em\\relax");
30273
- M("\\qquad", "\\hskip2em\\relax");
30274
- M("\\tag", "\\@ifstar\\tag@literal\\tag@paren");
30275
- M("\\tag@paren", "\\tag@literal{({#1})}");
30276
- M("\\tag@literal", (n) => {
30251
+ N("\\dotsb", "\\cdots");
30252
+ N("\\dotsm", "\\cdots");
30253
+ N("\\dotsi", "\\!\\cdots");
30254
+ N("\\dotsx", "\\ldots\\,");
30255
+ N("\\DOTSI", "\\relax");
30256
+ N("\\DOTSB", "\\relax");
30257
+ N("\\DOTSX", "\\relax");
30258
+ N("\\tmspace", "\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");
30259
+ N("\\,", "\\tmspace+{3mu}{.1667em}");
30260
+ N("\\thinspace", "\\,");
30261
+ N("\\>", "\\mskip{4mu}");
30262
+ N("\\:", "\\tmspace+{4mu}{.2222em}");
30263
+ N("\\medspace", "\\:");
30264
+ N("\\;", "\\tmspace+{5mu}{.2777em}");
30265
+ N("\\thickspace", "\\;");
30266
+ N("\\!", "\\tmspace-{3mu}{.1667em}");
30267
+ N("\\negthinspace", "\\!");
30268
+ N("\\negmedspace", "\\tmspace-{4mu}{.2222em}");
30269
+ N("\\negthickspace", "\\tmspace-{5mu}{.277em}");
30270
+ N("\\enspace", "\\kern.5em ");
30271
+ N("\\enskip", "\\hskip.5em\\relax");
30272
+ N("\\quad", "\\hskip1em\\relax");
30273
+ N("\\qquad", "\\hskip2em\\relax");
30274
+ N("\\tag", "\\@ifstar\\tag@literal\\tag@paren");
30275
+ N("\\tag@paren", "\\tag@literal{({#1})}");
30276
+ N("\\tag@literal", (n) => {
30277
30277
  if (n.macros.get("\\df@tag"))
30278
30278
  throw new we("Multiple \\tag");
30279
30279
  return "\\gdef\\df@tag{\\text{#1}}";
30280
30280
  });
30281
- M("\\bmod", "\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");
30282
- M("\\pod", "\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");
30283
- M("\\pmod", "\\pod{{\\rm mod}\\mkern6mu#1}");
30284
- M("\\mod", "\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");
30285
- M("\\newline", "\\\\\\relax");
30286
- M("\\TeX", "\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");
30281
+ N("\\bmod", "\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");
30282
+ N("\\pod", "\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");
30283
+ N("\\pmod", "\\pod{{\\rm mod}\\mkern6mu#1}");
30284
+ N("\\mod", "\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");
30285
+ N("\\newline", "\\\\\\relax");
30286
+ N("\\TeX", "\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");
30287
30287
  var H5 = Se(bi["Main-Regular"][84][1] - 0.7 * bi["Main-Regular"][65][1]);
30288
- M("\\LaTeX", "\\textrm{\\html@mathml{" + ("L\\kern-.36em\\raisebox{" + H5 + "}{\\scriptstyle A}") + "\\kern-.15em\\TeX}{LaTeX}}");
30289
- M("\\KaTeX", "\\textrm{\\html@mathml{" + ("K\\kern-.17em\\raisebox{" + H5 + "}{\\scriptstyle A}") + "\\kern-.15em\\TeX}{KaTeX}}");
30290
- M("\\hspace", "\\@ifstar\\@hspacer\\@hspace");
30291
- M("\\@hspace", "\\hskip #1\\relax");
30292
- M("\\@hspacer", "\\rule{0pt}{0pt}\\hskip #1\\relax");
30293
- M("\\ordinarycolon", ":");
30294
- M("\\vcentcolon", "\\mathrel{\\mathop\\ordinarycolon}");
30295
- M("\\dblcolon", '\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');
30296
- M("\\coloneqq", '\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');
30297
- M("\\Coloneqq", '\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');
30298
- M("\\coloneq", '\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');
30299
- M("\\Coloneq", '\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');
30300
- M("\\eqqcolon", '\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');
30301
- M("\\Eqqcolon", '\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');
30302
- M("\\eqcolon", '\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');
30303
- M("\\Eqcolon", '\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');
30304
- M("\\colonapprox", '\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');
30305
- M("\\Colonapprox", '\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');
30306
- M("\\colonsim", '\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');
30307
- M("\\Colonsim", '\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');
30308
- M("∷", "\\dblcolon");
30309
- M("∹", "\\eqcolon");
30310
- M("≔", "\\coloneqq");
30311
- M("≕", "\\eqqcolon");
30312
- M("⩴", "\\Coloneqq");
30313
- M("\\ratio", "\\vcentcolon");
30314
- M("\\coloncolon", "\\dblcolon");
30315
- M("\\colonequals", "\\coloneqq");
30316
- M("\\coloncolonequals", "\\Coloneqq");
30317
- M("\\equalscolon", "\\eqqcolon");
30318
- M("\\equalscoloncolon", "\\Eqqcolon");
30319
- M("\\colonminus", "\\coloneq");
30320
- M("\\coloncolonminus", "\\Coloneq");
30321
- M("\\minuscolon", "\\eqcolon");
30322
- M("\\minuscoloncolon", "\\Eqcolon");
30323
- M("\\coloncolonapprox", "\\Colonapprox");
30324
- M("\\coloncolonsim", "\\Colonsim");
30325
- M("\\simcolon", "\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");
30326
- M("\\simcoloncolon", "\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");
30327
- M("\\approxcolon", "\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");
30328
- M("\\approxcoloncolon", "\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");
30329
- M("\\notni", "\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");
30330
- M("\\limsup", "\\DOTSB\\operatorname*{lim\\,sup}");
30331
- M("\\liminf", "\\DOTSB\\operatorname*{lim\\,inf}");
30332
- M("\\injlim", "\\DOTSB\\operatorname*{inj\\,lim}");
30333
- M("\\projlim", "\\DOTSB\\operatorname*{proj\\,lim}");
30334
- M("\\varlimsup", "\\DOTSB\\operatorname*{\\overline{lim}}");
30335
- M("\\varliminf", "\\DOTSB\\operatorname*{\\underline{lim}}");
30336
- M("\\varinjlim", "\\DOTSB\\operatorname*{\\underrightarrow{lim}}");
30337
- M("\\varprojlim", "\\DOTSB\\operatorname*{\\underleftarrow{lim}}");
30338
- M("\\gvertneqq", "\\html@mathml{\\@gvertneqq}{≩}");
30339
- M("\\lvertneqq", "\\html@mathml{\\@lvertneqq}{≨}");
30340
- M("\\ngeqq", "\\html@mathml{\\@ngeqq}{≱}");
30341
- M("\\ngeqslant", "\\html@mathml{\\@ngeqslant}{≱}");
30342
- M("\\nleqq", "\\html@mathml{\\@nleqq}{≰}");
30343
- M("\\nleqslant", "\\html@mathml{\\@nleqslant}{≰}");
30344
- M("\\nshortmid", "\\html@mathml{\\@nshortmid}{∤}");
30345
- M("\\nshortparallel", "\\html@mathml{\\@nshortparallel}{∦}");
30346
- M("\\nsubseteqq", "\\html@mathml{\\@nsubseteqq}{⊈}");
30347
- M("\\nsupseteqq", "\\html@mathml{\\@nsupseteqq}{⊉}");
30348
- M("\\varsubsetneq", "\\html@mathml{\\@varsubsetneq}{⊊}");
30349
- M("\\varsubsetneqq", "\\html@mathml{\\@varsubsetneqq}{⫋}");
30350
- M("\\varsupsetneq", "\\html@mathml{\\@varsupsetneq}{⊋}");
30351
- M("\\varsupsetneqq", "\\html@mathml{\\@varsupsetneqq}{⫌}");
30352
- M("\\imath", "\\html@mathml{\\@imath}{ı}");
30353
- M("\\jmath", "\\html@mathml{\\@jmath}{ȷ}");
30354
- M("\\llbracket", "\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");
30355
- M("\\rrbracket", "\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");
30356
- M("⟦", "\\llbracket");
30357
- M("⟧", "\\rrbracket");
30358
- M("\\lBrace", "\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");
30359
- M("\\rBrace", "\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");
30360
- M("⦃", "\\lBrace");
30361
- M("⦄", "\\rBrace");
30362
- M("\\minuso", "\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");
30363
- M("⦵", "\\minuso");
30364
- M("\\darr", "\\downarrow");
30365
- M("\\dArr", "\\Downarrow");
30366
- M("\\Darr", "\\Downarrow");
30367
- M("\\lang", "\\langle");
30368
- M("\\rang", "\\rangle");
30369
- M("\\uarr", "\\uparrow");
30370
- M("\\uArr", "\\Uparrow");
30371
- M("\\Uarr", "\\Uparrow");
30372
- M("\\N", "\\mathbb{N}");
30373
- M("\\R", "\\mathbb{R}");
30374
- M("\\Z", "\\mathbb{Z}");
30375
- M("\\alef", "\\aleph");
30376
- M("\\alefsym", "\\aleph");
30377
- M("\\Alpha", "\\mathrm{A}");
30378
- M("\\Beta", "\\mathrm{B}");
30379
- M("\\bull", "\\bullet");
30380
- M("\\Chi", "\\mathrm{X}");
30381
- M("\\clubs", "\\clubsuit");
30382
- M("\\cnums", "\\mathbb{C}");
30383
- M("\\Complex", "\\mathbb{C}");
30384
- M("\\Dagger", "\\ddagger");
30385
- M("\\diamonds", "\\diamondsuit");
30386
- M("\\empty", "\\emptyset");
30387
- M("\\Epsilon", "\\mathrm{E}");
30388
- M("\\Eta", "\\mathrm{H}");
30389
- M("\\exist", "\\exists");
30390
- M("\\harr", "\\leftrightarrow");
30391
- M("\\hArr", "\\Leftrightarrow");
30392
- M("\\Harr", "\\Leftrightarrow");
30393
- M("\\hearts", "\\heartsuit");
30394
- M("\\image", "\\Im");
30395
- M("\\infin", "\\infty");
30396
- M("\\Iota", "\\mathrm{I}");
30397
- M("\\isin", "\\in");
30398
- M("\\Kappa", "\\mathrm{K}");
30399
- M("\\larr", "\\leftarrow");
30400
- M("\\lArr", "\\Leftarrow");
30401
- M("\\Larr", "\\Leftarrow");
30402
- M("\\lrarr", "\\leftrightarrow");
30403
- M("\\lrArr", "\\Leftrightarrow");
30404
- M("\\Lrarr", "\\Leftrightarrow");
30405
- M("\\Mu", "\\mathrm{M}");
30406
- M("\\natnums", "\\mathbb{N}");
30407
- M("\\Nu", "\\mathrm{N}");
30408
- M("\\Omicron", "\\mathrm{O}");
30409
- M("\\plusmn", "\\pm");
30410
- M("\\rarr", "\\rightarrow");
30411
- M("\\rArr", "\\Rightarrow");
30412
- M("\\Rarr", "\\Rightarrow");
30413
- M("\\real", "\\Re");
30414
- M("\\reals", "\\mathbb{R}");
30415
- M("\\Reals", "\\mathbb{R}");
30416
- M("\\Rho", "\\mathrm{P}");
30417
- M("\\sdot", "\\cdot");
30418
- M("\\sect", "\\S");
30419
- M("\\spades", "\\spadesuit");
30420
- M("\\sub", "\\subset");
30421
- M("\\sube", "\\subseteq");
30422
- M("\\supe", "\\supseteq");
30423
- M("\\Tau", "\\mathrm{T}");
30424
- M("\\thetasym", "\\vartheta");
30425
- M("\\weierp", "\\wp");
30426
- M("\\Zeta", "\\mathrm{Z}");
30427
- M("\\argmin", "\\DOTSB\\operatorname*{arg\\,min}");
30428
- M("\\argmax", "\\DOTSB\\operatorname*{arg\\,max}");
30429
- M("\\plim", "\\DOTSB\\mathop{\\operatorname{plim}}\\limits");
30430
- M("\\bra", "\\mathinner{\\langle{#1}|}");
30431
- M("\\ket", "\\mathinner{|{#1}\\rangle}");
30432
- M("\\braket", "\\mathinner{\\langle{#1}\\rangle}");
30433
- M("\\Bra", "\\left\\langle#1\\right|");
30434
- M("\\Ket", "\\left|#1\\right\\rangle");
30288
+ N("\\LaTeX", "\\textrm{\\html@mathml{" + ("L\\kern-.36em\\raisebox{" + H5 + "}{\\scriptstyle A}") + "\\kern-.15em\\TeX}{LaTeX}}");
30289
+ N("\\KaTeX", "\\textrm{\\html@mathml{" + ("K\\kern-.17em\\raisebox{" + H5 + "}{\\scriptstyle A}") + "\\kern-.15em\\TeX}{KaTeX}}");
30290
+ N("\\hspace", "\\@ifstar\\@hspacer\\@hspace");
30291
+ N("\\@hspace", "\\hskip #1\\relax");
30292
+ N("\\@hspacer", "\\rule{0pt}{0pt}\\hskip #1\\relax");
30293
+ N("\\ordinarycolon", ":");
30294
+ N("\\vcentcolon", "\\mathrel{\\mathop\\ordinarycolon}");
30295
+ N("\\dblcolon", '\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');
30296
+ N("\\coloneqq", '\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');
30297
+ N("\\Coloneqq", '\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');
30298
+ N("\\coloneq", '\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');
30299
+ N("\\Coloneq", '\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');
30300
+ N("\\eqqcolon", '\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');
30301
+ N("\\Eqqcolon", '\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');
30302
+ N("\\eqcolon", '\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');
30303
+ N("\\Eqcolon", '\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');
30304
+ N("\\colonapprox", '\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');
30305
+ N("\\Colonapprox", '\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');
30306
+ N("\\colonsim", '\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');
30307
+ N("\\Colonsim", '\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');
30308
+ N("∷", "\\dblcolon");
30309
+ N("∹", "\\eqcolon");
30310
+ N("≔", "\\coloneqq");
30311
+ N("≕", "\\eqqcolon");
30312
+ N("⩴", "\\Coloneqq");
30313
+ N("\\ratio", "\\vcentcolon");
30314
+ N("\\coloncolon", "\\dblcolon");
30315
+ N("\\colonequals", "\\coloneqq");
30316
+ N("\\coloncolonequals", "\\Coloneqq");
30317
+ N("\\equalscolon", "\\eqqcolon");
30318
+ N("\\equalscoloncolon", "\\Eqqcolon");
30319
+ N("\\colonminus", "\\coloneq");
30320
+ N("\\coloncolonminus", "\\Coloneq");
30321
+ N("\\minuscolon", "\\eqcolon");
30322
+ N("\\minuscoloncolon", "\\Eqcolon");
30323
+ N("\\coloncolonapprox", "\\Colonapprox");
30324
+ N("\\coloncolonsim", "\\Colonsim");
30325
+ N("\\simcolon", "\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");
30326
+ N("\\simcoloncolon", "\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");
30327
+ N("\\approxcolon", "\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");
30328
+ N("\\approxcoloncolon", "\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");
30329
+ N("\\notni", "\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");
30330
+ N("\\limsup", "\\DOTSB\\operatorname*{lim\\,sup}");
30331
+ N("\\liminf", "\\DOTSB\\operatorname*{lim\\,inf}");
30332
+ N("\\injlim", "\\DOTSB\\operatorname*{inj\\,lim}");
30333
+ N("\\projlim", "\\DOTSB\\operatorname*{proj\\,lim}");
30334
+ N("\\varlimsup", "\\DOTSB\\operatorname*{\\overline{lim}}");
30335
+ N("\\varliminf", "\\DOTSB\\operatorname*{\\underline{lim}}");
30336
+ N("\\varinjlim", "\\DOTSB\\operatorname*{\\underrightarrow{lim}}");
30337
+ N("\\varprojlim", "\\DOTSB\\operatorname*{\\underleftarrow{lim}}");
30338
+ N("\\gvertneqq", "\\html@mathml{\\@gvertneqq}{≩}");
30339
+ N("\\lvertneqq", "\\html@mathml{\\@lvertneqq}{≨}");
30340
+ N("\\ngeqq", "\\html@mathml{\\@ngeqq}{≱}");
30341
+ N("\\ngeqslant", "\\html@mathml{\\@ngeqslant}{≱}");
30342
+ N("\\nleqq", "\\html@mathml{\\@nleqq}{≰}");
30343
+ N("\\nleqslant", "\\html@mathml{\\@nleqslant}{≰}");
30344
+ N("\\nshortmid", "\\html@mathml{\\@nshortmid}{∤}");
30345
+ N("\\nshortparallel", "\\html@mathml{\\@nshortparallel}{∦}");
30346
+ N("\\nsubseteqq", "\\html@mathml{\\@nsubseteqq}{⊈}");
30347
+ N("\\nsupseteqq", "\\html@mathml{\\@nsupseteqq}{⊉}");
30348
+ N("\\varsubsetneq", "\\html@mathml{\\@varsubsetneq}{⊊}");
30349
+ N("\\varsubsetneqq", "\\html@mathml{\\@varsubsetneqq}{⫋}");
30350
+ N("\\varsupsetneq", "\\html@mathml{\\@varsupsetneq}{⊋}");
30351
+ N("\\varsupsetneqq", "\\html@mathml{\\@varsupsetneqq}{⫌}");
30352
+ N("\\imath", "\\html@mathml{\\@imath}{ı}");
30353
+ N("\\jmath", "\\html@mathml{\\@jmath}{ȷ}");
30354
+ N("\\llbracket", "\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");
30355
+ N("\\rrbracket", "\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");
30356
+ N("⟦", "\\llbracket");
30357
+ N("⟧", "\\rrbracket");
30358
+ N("\\lBrace", "\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");
30359
+ N("\\rBrace", "\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");
30360
+ N("⦃", "\\lBrace");
30361
+ N("⦄", "\\rBrace");
30362
+ N("\\minuso", "\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");
30363
+ N("⦵", "\\minuso");
30364
+ N("\\darr", "\\downarrow");
30365
+ N("\\dArr", "\\Downarrow");
30366
+ N("\\Darr", "\\Downarrow");
30367
+ N("\\lang", "\\langle");
30368
+ N("\\rang", "\\rangle");
30369
+ N("\\uarr", "\\uparrow");
30370
+ N("\\uArr", "\\Uparrow");
30371
+ N("\\Uarr", "\\Uparrow");
30372
+ N("\\N", "\\mathbb{N}");
30373
+ N("\\R", "\\mathbb{R}");
30374
+ N("\\Z", "\\mathbb{Z}");
30375
+ N("\\alef", "\\aleph");
30376
+ N("\\alefsym", "\\aleph");
30377
+ N("\\Alpha", "\\mathrm{A}");
30378
+ N("\\Beta", "\\mathrm{B}");
30379
+ N("\\bull", "\\bullet");
30380
+ N("\\Chi", "\\mathrm{X}");
30381
+ N("\\clubs", "\\clubsuit");
30382
+ N("\\cnums", "\\mathbb{C}");
30383
+ N("\\Complex", "\\mathbb{C}");
30384
+ N("\\Dagger", "\\ddagger");
30385
+ N("\\diamonds", "\\diamondsuit");
30386
+ N("\\empty", "\\emptyset");
30387
+ N("\\Epsilon", "\\mathrm{E}");
30388
+ N("\\Eta", "\\mathrm{H}");
30389
+ N("\\exist", "\\exists");
30390
+ N("\\harr", "\\leftrightarrow");
30391
+ N("\\hArr", "\\Leftrightarrow");
30392
+ N("\\Harr", "\\Leftrightarrow");
30393
+ N("\\hearts", "\\heartsuit");
30394
+ N("\\image", "\\Im");
30395
+ N("\\infin", "\\infty");
30396
+ N("\\Iota", "\\mathrm{I}");
30397
+ N("\\isin", "\\in");
30398
+ N("\\Kappa", "\\mathrm{K}");
30399
+ N("\\larr", "\\leftarrow");
30400
+ N("\\lArr", "\\Leftarrow");
30401
+ N("\\Larr", "\\Leftarrow");
30402
+ N("\\lrarr", "\\leftrightarrow");
30403
+ N("\\lrArr", "\\Leftrightarrow");
30404
+ N("\\Lrarr", "\\Leftrightarrow");
30405
+ N("\\Mu", "\\mathrm{M}");
30406
+ N("\\natnums", "\\mathbb{N}");
30407
+ N("\\Nu", "\\mathrm{N}");
30408
+ N("\\Omicron", "\\mathrm{O}");
30409
+ N("\\plusmn", "\\pm");
30410
+ N("\\rarr", "\\rightarrow");
30411
+ N("\\rArr", "\\Rightarrow");
30412
+ N("\\Rarr", "\\Rightarrow");
30413
+ N("\\real", "\\Re");
30414
+ N("\\reals", "\\mathbb{R}");
30415
+ N("\\Reals", "\\mathbb{R}");
30416
+ N("\\Rho", "\\mathrm{P}");
30417
+ N("\\sdot", "\\cdot");
30418
+ N("\\sect", "\\S");
30419
+ N("\\spades", "\\spadesuit");
30420
+ N("\\sub", "\\subset");
30421
+ N("\\sube", "\\subseteq");
30422
+ N("\\supe", "\\supseteq");
30423
+ N("\\Tau", "\\mathrm{T}");
30424
+ N("\\thetasym", "\\vartheta");
30425
+ N("\\weierp", "\\wp");
30426
+ N("\\Zeta", "\\mathrm{Z}");
30427
+ N("\\argmin", "\\DOTSB\\operatorname*{arg\\,min}");
30428
+ N("\\argmax", "\\DOTSB\\operatorname*{arg\\,max}");
30429
+ N("\\plim", "\\DOTSB\\mathop{\\operatorname{plim}}\\limits");
30430
+ N("\\bra", "\\mathinner{\\langle{#1}|}");
30431
+ N("\\ket", "\\mathinner{|{#1}\\rangle}");
30432
+ N("\\braket", "\\mathinner{\\langle{#1}\\rangle}");
30433
+ N("\\Bra", "\\left\\langle#1\\right|");
30434
+ N("\\Ket", "\\left|#1\\right\\rangle");
30435
30435
  var V5 = (n) => (e) => {
30436
30436
  var t = e.consumeArg().tokens, r = e.consumeArg().tokens, i = e.consumeArg().tokens, o = e.consumeArg().tokens, s = e.macros.get("|"), a = e.macros.get("\\|");
30437
30437
  e.macros.beginGroup();
@@ -30459,68 +30459,68 @@ var V5 = (n) => (e) => {
30459
30459
  numArgs: 0
30460
30460
  };
30461
30461
  };
30462
- M("\\bra@ket", V5(!1));
30463
- M("\\bra@set", V5(!0));
30464
- M("\\Braket", "\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");
30465
- M("\\Set", "\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");
30466
- M("\\set", "\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");
30467
- M("\\angln", "{\\angl n}");
30468
- M("\\blue", "\\textcolor{##6495ed}{#1}");
30469
- M("\\orange", "\\textcolor{##ffa500}{#1}");
30470
- M("\\pink", "\\textcolor{##ff00af}{#1}");
30471
- M("\\red", "\\textcolor{##df0030}{#1}");
30472
- M("\\green", "\\textcolor{##28ae7b}{#1}");
30473
- M("\\gray", "\\textcolor{gray}{#1}");
30474
- M("\\purple", "\\textcolor{##9d38bd}{#1}");
30475
- M("\\blueA", "\\textcolor{##ccfaff}{#1}");
30476
- M("\\blueB", "\\textcolor{##80f6ff}{#1}");
30477
- M("\\blueC", "\\textcolor{##63d9ea}{#1}");
30478
- M("\\blueD", "\\textcolor{##11accd}{#1}");
30479
- M("\\blueE", "\\textcolor{##0c7f99}{#1}");
30480
- M("\\tealA", "\\textcolor{##94fff5}{#1}");
30481
- M("\\tealB", "\\textcolor{##26edd5}{#1}");
30482
- M("\\tealC", "\\textcolor{##01d1c1}{#1}");
30483
- M("\\tealD", "\\textcolor{##01a995}{#1}");
30484
- M("\\tealE", "\\textcolor{##208170}{#1}");
30485
- M("\\greenA", "\\textcolor{##b6ffb0}{#1}");
30486
- M("\\greenB", "\\textcolor{##8af281}{#1}");
30487
- M("\\greenC", "\\textcolor{##74cf70}{#1}");
30488
- M("\\greenD", "\\textcolor{##1fab54}{#1}");
30489
- M("\\greenE", "\\textcolor{##0d923f}{#1}");
30490
- M("\\goldA", "\\textcolor{##ffd0a9}{#1}");
30491
- M("\\goldB", "\\textcolor{##ffbb71}{#1}");
30492
- M("\\goldC", "\\textcolor{##ff9c39}{#1}");
30493
- M("\\goldD", "\\textcolor{##e07d10}{#1}");
30494
- M("\\goldE", "\\textcolor{##a75a05}{#1}");
30495
- M("\\redA", "\\textcolor{##fca9a9}{#1}");
30496
- M("\\redB", "\\textcolor{##ff8482}{#1}");
30497
- M("\\redC", "\\textcolor{##f9685d}{#1}");
30498
- M("\\redD", "\\textcolor{##e84d39}{#1}");
30499
- M("\\redE", "\\textcolor{##bc2612}{#1}");
30500
- M("\\maroonA", "\\textcolor{##ffbde0}{#1}");
30501
- M("\\maroonB", "\\textcolor{##ff92c6}{#1}");
30502
- M("\\maroonC", "\\textcolor{##ed5fa6}{#1}");
30503
- M("\\maroonD", "\\textcolor{##ca337c}{#1}");
30504
- M("\\maroonE", "\\textcolor{##9e034e}{#1}");
30505
- M("\\purpleA", "\\textcolor{##ddd7ff}{#1}");
30506
- M("\\purpleB", "\\textcolor{##c6b9fc}{#1}");
30507
- M("\\purpleC", "\\textcolor{##aa87ff}{#1}");
30508
- M("\\purpleD", "\\textcolor{##7854ab}{#1}");
30509
- M("\\purpleE", "\\textcolor{##543b78}{#1}");
30510
- M("\\mintA", "\\textcolor{##f5f9e8}{#1}");
30511
- M("\\mintB", "\\textcolor{##edf2df}{#1}");
30512
- M("\\mintC", "\\textcolor{##e0e5cc}{#1}");
30513
- M("\\grayA", "\\textcolor{##f6f7f7}{#1}");
30514
- M("\\grayB", "\\textcolor{##f0f1f2}{#1}");
30515
- M("\\grayC", "\\textcolor{##e3e5e6}{#1}");
30516
- M("\\grayD", "\\textcolor{##d6d8da}{#1}");
30517
- M("\\grayE", "\\textcolor{##babec2}{#1}");
30518
- M("\\grayF", "\\textcolor{##888d93}{#1}");
30519
- M("\\grayG", "\\textcolor{##626569}{#1}");
30520
- M("\\grayH", "\\textcolor{##3b3e40}{#1}");
30521
- M("\\grayI", "\\textcolor{##21242c}{#1}");
30522
- M("\\kaBlue", "\\textcolor{##314453}{#1}");
30523
- M("\\kaGreen", "\\textcolor{##71B307}{#1}");
30462
+ N("\\bra@ket", V5(!1));
30463
+ N("\\bra@set", V5(!0));
30464
+ N("\\Braket", "\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");
30465
+ N("\\Set", "\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");
30466
+ N("\\set", "\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");
30467
+ N("\\angln", "{\\angl n}");
30468
+ N("\\blue", "\\textcolor{##6495ed}{#1}");
30469
+ N("\\orange", "\\textcolor{##ffa500}{#1}");
30470
+ N("\\pink", "\\textcolor{##ff00af}{#1}");
30471
+ N("\\red", "\\textcolor{##df0030}{#1}");
30472
+ N("\\green", "\\textcolor{##28ae7b}{#1}");
30473
+ N("\\gray", "\\textcolor{gray}{#1}");
30474
+ N("\\purple", "\\textcolor{##9d38bd}{#1}");
30475
+ N("\\blueA", "\\textcolor{##ccfaff}{#1}");
30476
+ N("\\blueB", "\\textcolor{##80f6ff}{#1}");
30477
+ N("\\blueC", "\\textcolor{##63d9ea}{#1}");
30478
+ N("\\blueD", "\\textcolor{##11accd}{#1}");
30479
+ N("\\blueE", "\\textcolor{##0c7f99}{#1}");
30480
+ N("\\tealA", "\\textcolor{##94fff5}{#1}");
30481
+ N("\\tealB", "\\textcolor{##26edd5}{#1}");
30482
+ N("\\tealC", "\\textcolor{##01d1c1}{#1}");
30483
+ N("\\tealD", "\\textcolor{##01a995}{#1}");
30484
+ N("\\tealE", "\\textcolor{##208170}{#1}");
30485
+ N("\\greenA", "\\textcolor{##b6ffb0}{#1}");
30486
+ N("\\greenB", "\\textcolor{##8af281}{#1}");
30487
+ N("\\greenC", "\\textcolor{##74cf70}{#1}");
30488
+ N("\\greenD", "\\textcolor{##1fab54}{#1}");
30489
+ N("\\greenE", "\\textcolor{##0d923f}{#1}");
30490
+ N("\\goldA", "\\textcolor{##ffd0a9}{#1}");
30491
+ N("\\goldB", "\\textcolor{##ffbb71}{#1}");
30492
+ N("\\goldC", "\\textcolor{##ff9c39}{#1}");
30493
+ N("\\goldD", "\\textcolor{##e07d10}{#1}");
30494
+ N("\\goldE", "\\textcolor{##a75a05}{#1}");
30495
+ N("\\redA", "\\textcolor{##fca9a9}{#1}");
30496
+ N("\\redB", "\\textcolor{##ff8482}{#1}");
30497
+ N("\\redC", "\\textcolor{##f9685d}{#1}");
30498
+ N("\\redD", "\\textcolor{##e84d39}{#1}");
30499
+ N("\\redE", "\\textcolor{##bc2612}{#1}");
30500
+ N("\\maroonA", "\\textcolor{##ffbde0}{#1}");
30501
+ N("\\maroonB", "\\textcolor{##ff92c6}{#1}");
30502
+ N("\\maroonC", "\\textcolor{##ed5fa6}{#1}");
30503
+ N("\\maroonD", "\\textcolor{##ca337c}{#1}");
30504
+ N("\\maroonE", "\\textcolor{##9e034e}{#1}");
30505
+ N("\\purpleA", "\\textcolor{##ddd7ff}{#1}");
30506
+ N("\\purpleB", "\\textcolor{##c6b9fc}{#1}");
30507
+ N("\\purpleC", "\\textcolor{##aa87ff}{#1}");
30508
+ N("\\purpleD", "\\textcolor{##7854ab}{#1}");
30509
+ N("\\purpleE", "\\textcolor{##543b78}{#1}");
30510
+ N("\\mintA", "\\textcolor{##f5f9e8}{#1}");
30511
+ N("\\mintB", "\\textcolor{##edf2df}{#1}");
30512
+ N("\\mintC", "\\textcolor{##e0e5cc}{#1}");
30513
+ N("\\grayA", "\\textcolor{##f6f7f7}{#1}");
30514
+ N("\\grayB", "\\textcolor{##f0f1f2}{#1}");
30515
+ N("\\grayC", "\\textcolor{##e3e5e6}{#1}");
30516
+ N("\\grayD", "\\textcolor{##d6d8da}{#1}");
30517
+ N("\\grayE", "\\textcolor{##babec2}{#1}");
30518
+ N("\\grayF", "\\textcolor{##888d93}{#1}");
30519
+ N("\\grayG", "\\textcolor{##626569}{#1}");
30520
+ N("\\grayH", "\\textcolor{##3b3e40}{#1}");
30521
+ N("\\grayI", "\\textcolor{##21242c}{#1}");
30522
+ N("\\kaBlue", "\\textcolor{##314453}{#1}");
30523
+ N("\\kaGreen", "\\textcolor{##71B307}{#1}");
30524
30524
  var U5 = {
30525
30525
  "^": !0,
30526
30526
  // Parser.js
@@ -32008,7 +32008,7 @@ var fO = function(e, t) {
32008
32008
  /**
32009
32009
  * adds a new macro to builtin macro list
32010
32010
  */
32011
- __defineMacro: M,
32011
+ __defineMacro: N,
32012
32012
  /**
32013
32013
  * Expose the dom tree node types, which can be useful for type checking nodes.
32014
32014
  *
@@ -32036,17 +32036,17 @@ const mO = (n) => {
32036
32036
  for (; p = e.exec(d.text); ) {
32037
32037
  const m = f + p.index, v = m + p[0].length, y = p.slice(1).find(Boolean);
32038
32038
  if (y) {
32039
- const k = c.$from.pos - c.$to.pos, T = c.$anchor.pos >= m && c.$anchor.pos <= v, x = c.$from.pos >= m && c.$to.pos <= v, A = k === 0 && T || x;
32040
- A && r.isEditable || u.push(hn.widget(m, () => {
32041
- const N = document.createElement("span");
32042
- N.classList.add("Tiptap-mathematics-render"), r.isEditable && N.classList.add("Tiptap-mathematics-render--editable");
32039
+ const k = c.$from.pos - c.$to.pos, A = c.$anchor.pos >= m && c.$anchor.pos <= v, x = c.$from.pos >= m && c.$to.pos <= v, T = k === 0 && A || x;
32040
+ T && r.isEditable || u.push(hn.widget(m, () => {
32041
+ const E = document.createElement("span");
32042
+ E.classList.add("Tiptap-mathematics-render"), r.isEditable && E.classList.add("Tiptap-mathematics-render--editable");
32043
32043
  try {
32044
- q5.render(y, N, t);
32044
+ q5.render(y, E, t);
32045
32045
  } catch {
32046
- N.innerHTML = y;
32046
+ E.innerHTML = y;
32047
32047
  }
32048
- return N;
32049
- })), u.push(hn.inline(m, v, { class: A && r.isEditable ? "Tiptap-mathematics-editor" : "Tiptap-mathematics-editor Tiptap-mathematics-editor--hidden", style: A && r.isEditable ? void 0 : "display: inline-block; height: 0; opacity: 0; overflow: hidden; position: absolute; width: 0;" }));
32048
+ return E;
32049
+ })), u.push(hn.inline(m, v, { class: T && r.isEditable ? "Tiptap-mathematics-editor" : "Tiptap-mathematics-editor Tiptap-mathematics-editor--hidden", style: T && r.isEditable ? void 0 : "display: inline-block; height: 0; opacity: 0; overflow: hidden; position: absolute; width: 0;" }));
32050
32050
  }
32051
32051
  }
32052
32052
  }
@@ -32386,8 +32386,8 @@ var HO = function(e, t) {
32386
32386
  function VO(n) {
32387
32387
  var e, t = n.state, r = n.name, i = n.options, o = t.elements.arrow, s = t.modifiersData.popperOffsets, a = yi(t.placement), l = Jm(a), c = [pr, Xr].indexOf(a) >= 0, u = c ? "height" : "width";
32388
32388
  if (!(!o || !s)) {
32389
- var d = HO(i.padding, t), f = Ym(o), h = l === "y" ? hr : pr, p = l === "y" ? Jr : Xr, m = t.rects.reference[u] + t.rects.reference[l] - s[l] - t.rects.popper[u], v = s[l] - t.rects.reference[l], y = vc(o), k = y ? l === "y" ? y.clientHeight || 0 : y.clientWidth || 0 : 0, T = m / 2 - v / 2, x = d[h], A = k - f[u] - d[p], N = k / 2 - f[u] / 2 + T, R = kl(x, N, A), U = l;
32390
- t.modifiersData[r] = (e = {}, e[U] = R, e.centerOffset = R - N, e);
32389
+ var d = HO(i.padding, t), f = Ym(o), h = l === "y" ? hr : pr, p = l === "y" ? Jr : Xr, m = t.rects.reference[u] + t.rects.reference[l] - s[l] - t.rects.popper[u], v = s[l] - t.rects.reference[l], y = vc(o), k = y ? l === "y" ? y.clientHeight || 0 : y.clientWidth || 0 : 0, A = m / 2 - v / 2, x = d[h], T = k - f[u] - d[p], E = k / 2 - f[u] / 2 + A, R = kl(x, E, T), U = l;
32390
+ t.modifiersData[r] = (e = {}, e[U] = R, e.centerOffset = R - E, e);
32391
32391
  }
32392
32392
  }
32393
32393
  function UO(n) {
@@ -32428,22 +32428,22 @@ function xv(n) {
32428
32428
  y: m
32429
32429
  };
32430
32430
  h = v.x, m = v.y;
32431
- var y = s.hasOwnProperty("x"), k = s.hasOwnProperty("y"), T = pr, x = hr, A = window;
32431
+ var y = s.hasOwnProperty("x"), k = s.hasOwnProperty("y"), A = pr, x = hr, T = window;
32432
32432
  if (c) {
32433
- var N = vc(t), R = "clientHeight", U = "clientWidth";
32434
- if (N === Ar(t) && (N = es(t), to(N).position !== "static" && a === "absolute" && (R = "scrollHeight", U = "scrollWidth")), N = N, i === hr || (i === pr || i === Xr) && o === Wl) {
32433
+ var E = vc(t), R = "clientHeight", U = "clientWidth";
32434
+ if (E === Ar(t) && (E = es(t), to(E).position !== "static" && a === "absolute" && (R = "scrollHeight", U = "scrollWidth")), E = E, i === hr || (i === pr || i === Xr) && o === Wl) {
32435
32435
  x = Jr;
32436
- var L = d && N === A && A.visualViewport ? A.visualViewport.height : (
32436
+ var L = d && E === T && T.visualViewport ? T.visualViewport.height : (
32437
32437
  // $FlowFixMe[prop-missing]
32438
- N[R]
32438
+ E[R]
32439
32439
  );
32440
32440
  m -= L - r.height, m *= l ? 1 : -1;
32441
32441
  }
32442
32442
  if (i === pr || (i === hr || i === Jr) && o === Wl) {
32443
- T = Xr;
32444
- var te = d && N === A && A.visualViewport ? A.visualViewport.width : (
32443
+ A = Xr;
32444
+ var te = d && E === T && T.visualViewport ? T.visualViewport.width : (
32445
32445
  // $FlowFixMe[prop-missing]
32446
- N[U]
32446
+ E[U]
32447
32447
  );
32448
32448
  h -= te - r.width, h *= l ? 1 : -1;
32449
32449
  }
@@ -32459,9 +32459,9 @@ function xv(n) {
32459
32459
  };
32460
32460
  if (h = S.x, m = S.y, l) {
32461
32461
  var P;
32462
- return Object.assign({}, re, (P = {}, P[x] = k ? "0" : "", P[T] = y ? "0" : "", P.transform = (A.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + m + "px)" : "translate3d(" + h + "px, " + m + "px, 0)", P));
32462
+ return Object.assign({}, re, (P = {}, P[x] = k ? "0" : "", P[A] = y ? "0" : "", P.transform = (T.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + m + "px)" : "translate3d(" + h + "px, " + m + "px, 0)", P));
32463
32463
  }
32464
- return Object.assign({}, re, (e = {}, e[x] = k ? m + "px" : "", e[T] = y ? h + "px" : "", e.transform = "", e));
32464
+ return Object.assign({}, re, (e = {}, e[x] = k ? m + "px" : "", e[A] = y ? h + "px" : "", e.transform = "", e));
32465
32465
  }
32466
32466
  function KO(n) {
32467
32467
  var e = n.state, t = n.options, r = t.gpuAcceleration, i = r === void 0 ? !0 : r, o = t.adaptive, s = o === void 0 ? !0 : o, a = t.roundOffsets, l = a === void 0 ? !0 : a, c = {
@@ -32661,22 +32661,22 @@ function i6(n) {
32661
32661
  }
32662
32662
  function jl(n, e) {
32663
32663
  e === void 0 && (e = {});
32664
- var t = e, r = t.placement, i = r === void 0 ? n.placement : r, o = t.strategy, s = o === void 0 ? n.strategy : o, a = t.boundary, l = a === void 0 ? CO : a, c = t.rootBoundary, u = c === void 0 ? Y5 : c, d = t.elementContext, f = d === void 0 ? el : d, h = t.altBoundary, p = h === void 0 ? !1 : h, m = t.padding, v = m === void 0 ? 0 : m, y = t6(typeof v != "number" ? v : n6(v, bc)), k = f === el ? SO : el, T = n.rects.popper, x = n.elements[p ? k : f], A = rD(Ns(x) ? x : x.contextElement || es(n.elements.popper), l, u, s), N = Ma(n.elements.reference), R = i6({
32665
- reference: N,
32666
- element: T,
32664
+ var t = e, r = t.placement, i = r === void 0 ? n.placement : r, o = t.strategy, s = o === void 0 ? n.strategy : o, a = t.boundary, l = a === void 0 ? CO : a, c = t.rootBoundary, u = c === void 0 ? Y5 : c, d = t.elementContext, f = d === void 0 ? el : d, h = t.altBoundary, p = h === void 0 ? !1 : h, m = t.padding, v = m === void 0 ? 0 : m, y = t6(typeof v != "number" ? v : n6(v, bc)), k = f === el ? SO : el, A = n.rects.popper, x = n.elements[p ? k : f], T = rD(Ns(x) ? x : x.contextElement || es(n.elements.popper), l, u, s), E = Ma(n.elements.reference), R = i6({
32665
+ reference: E,
32666
+ element: A,
32667
32667
  strategy: "absolute",
32668
32668
  placement: i
32669
- }), U = Qh(Object.assign({}, T, R)), L = f === el ? U : N, te = {
32670
- top: A.top - L.top + y.top,
32671
- bottom: L.bottom - A.bottom + y.bottom,
32672
- left: A.left - L.left + y.left,
32673
- right: L.right - A.right + y.right
32669
+ }), U = Qh(Object.assign({}, A, R)), L = f === el ? U : E, te = {
32670
+ top: T.top - L.top + y.top,
32671
+ bottom: L.bottom - T.bottom + y.bottom,
32672
+ left: T.left - L.left + y.left,
32673
+ right: L.right - T.right + y.right
32674
32674
  }, re = n.modifiersData.offset;
32675
32675
  if (f === el && re) {
32676
32676
  var S = re[i];
32677
32677
  Object.keys(te).forEach(function(P) {
32678
- var D = [Xr, Jr].indexOf(P) >= 0 ? 1 : -1, E = [hr, Jr].indexOf(P) >= 0 ? "y" : "x";
32679
- te[P] += S[E] * D;
32678
+ var D = [Xr, Jr].indexOf(P) >= 0 ? 1 : -1, M = [hr, Jr].indexOf(P) >= 0 ? "y" : "x";
32679
+ te[P] += S[M] * D;
32680
32680
  });
32681
32681
  }
32682
32682
  return te;
@@ -32710,7 +32710,7 @@ function oD(n) {
32710
32710
  function sD(n) {
32711
32711
  var e = n.state, t = n.options, r = n.name;
32712
32712
  if (!e.modifiersData[r]._skip) {
32713
- for (var i = t.mainAxis, o = i === void 0 ? !0 : i, s = t.altAxis, a = s === void 0 ? !0 : s, l = t.fallbackPlacements, c = t.padding, u = t.boundary, d = t.rootBoundary, f = t.altBoundary, h = t.flipVariations, p = h === void 0 ? !0 : h, m = t.allowedAutoPlacements, v = e.options.placement, y = yi(v), k = y === v, T = l || (k || !p ? [wu(v)] : oD(v)), x = [v].concat(T).reduce(function($e, tt) {
32713
+ for (var i = t.mainAxis, o = i === void 0 ? !0 : i, s = t.altAxis, a = s === void 0 ? !0 : s, l = t.fallbackPlacements, c = t.padding, u = t.boundary, d = t.rootBoundary, f = t.altBoundary, h = t.flipVariations, p = h === void 0 ? !0 : h, m = t.allowedAutoPlacements, v = e.options.placement, y = yi(v), k = y === v, A = l || (k || !p ? [wu(v)] : oD(v)), x = [v].concat(A).reduce(function($e, tt) {
32714
32714
  return $e.concat(yi(tt) === Km ? iD(e, {
32715
32715
  placement: tt,
32716
32716
  boundary: u,
@@ -32719,15 +32719,15 @@ function sD(n) {
32719
32719
  flipVariations: p,
32720
32720
  allowedAutoPlacements: m
32721
32721
  }) : tt);
32722
- }, []), A = e.rects.reference, N = e.rects.popper, R = /* @__PURE__ */ new Map(), U = !0, L = x[0], te = 0; te < x.length; te++) {
32723
- var re = x[te], S = yi(re), P = Na(re) === Aa, D = [hr, Jr].indexOf(S) >= 0, E = D ? "width" : "height", Y = jl(e, {
32722
+ }, []), T = e.rects.reference, E = e.rects.popper, R = /* @__PURE__ */ new Map(), U = !0, L = x[0], te = 0; te < x.length; te++) {
32723
+ var re = x[te], S = yi(re), P = Na(re) === Aa, D = [hr, Jr].indexOf(S) >= 0, M = D ? "width" : "height", Y = jl(e, {
32724
32724
  placement: re,
32725
32725
  boundary: u,
32726
32726
  rootBoundary: d,
32727
32727
  altBoundary: f,
32728
32728
  padding: c
32729
32729
  }), K = D ? P ? Xr : pr : P ? Jr : hr;
32730
- A[E] > N[E] && (K = wu(K));
32730
+ T[M] > E[M] && (K = wu(K));
32731
32731
  var j = wu(K), se = [];
32732
32732
  if (o && se.push(Y[S] <= 0), a && se.push(Y[K] <= 0, Y[j] <= 0), se.every(function($e) {
32733
32733
  return $e;
@@ -32854,7 +32854,7 @@ function gD(n) {
32854
32854
  rootBoundary: c,
32855
32855
  padding: d,
32856
32856
  altBoundary: u
32857
- }), y = yi(e.placement), k = Na(e.placement), T = !k, x = Jm(y), A = mD(x), N = e.modifiersData.popperOffsets, R = e.rects.reference, U = e.rects.popper, L = typeof m == "function" ? m(Object.assign({}, e.rects, {
32857
+ }), y = yi(e.placement), k = Na(e.placement), A = !k, x = Jm(y), T = mD(x), E = e.modifiersData.popperOffsets, R = e.rects.reference, U = e.rects.popper, L = typeof m == "function" ? m(Object.assign({}, e.rects, {
32858
32858
  placement: e.placement
32859
32859
  })) : m, te = typeof L == "number" ? {
32860
32860
  mainAxis: L,
@@ -32866,17 +32866,17 @@ function gD(n) {
32866
32866
  x: 0,
32867
32867
  y: 0
32868
32868
  };
32869
- if (N) {
32869
+ if (E) {
32870
32870
  if (o) {
32871
- var P, D = x === "y" ? hr : pr, E = x === "y" ? Jr : Xr, Y = x === "y" ? "height" : "width", K = N[x], j = K + v[D], se = K - v[E], me = h ? -U[Y] / 2 : 0, Ne = k === Aa ? R[Y] : U[Y], he = k === Aa ? -U[Y] : -R[Y], Me = e.elements.arrow, $e = h && Me ? Ym(Me) : {
32871
+ var P, D = x === "y" ? hr : pr, M = x === "y" ? Jr : Xr, Y = x === "y" ? "height" : "width", K = E[x], j = K + v[D], se = K - v[M], me = h ? -U[Y] / 2 : 0, Ne = k === Aa ? R[Y] : U[Y], he = k === Aa ? -U[Y] : -R[Y], Me = e.elements.arrow, $e = h && Me ? Ym(Me) : {
32872
32872
  width: 0,
32873
32873
  height: 0
32874
- }, tt = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : e6(), Nt = tt[D], xt = tt[E], gt = kl(0, R[Y], $e[Y]), Tt = T ? R[Y] / 2 - me - gt - Nt - te.mainAxis : Ne - gt - Nt - te.mainAxis, ot = T ? -R[Y] / 2 + me + gt + xt + te.mainAxis : he + gt + xt + te.mainAxis, Ot = e.elements.arrow && vc(e.elements.arrow), un = Ot ? x === "y" ? Ot.clientTop || 0 : Ot.clientLeft || 0 : 0, gn = (P = re == null ? void 0 : re[x]) != null ? P : 0, zn = K + Tt - gn - un, Gt = K + ot - gn, Hn = kl(h ? Cd(j, zn) : j, K, h ? _s(se, Gt) : se);
32875
- N[x] = Hn, S[x] = Hn - K;
32874
+ }, tt = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : e6(), Nt = tt[D], xt = tt[M], gt = kl(0, R[Y], $e[Y]), Tt = A ? R[Y] / 2 - me - gt - Nt - te.mainAxis : Ne - gt - Nt - te.mainAxis, ot = A ? -R[Y] / 2 + me + gt + xt + te.mainAxis : he + gt + xt + te.mainAxis, Ot = e.elements.arrow && vc(e.elements.arrow), un = Ot ? x === "y" ? Ot.clientTop || 0 : Ot.clientLeft || 0 : 0, gn = (P = re == null ? void 0 : re[x]) != null ? P : 0, zn = K + Tt - gn - un, Gt = K + ot - gn, Hn = kl(h ? Cd(j, zn) : j, K, h ? _s(se, Gt) : se);
32875
+ E[x] = Hn, S[x] = Hn - K;
32876
32876
  }
32877
32877
  if (a) {
32878
- var Vn, z = x === "x" ? hr : pr, W = x === "x" ? Jr : Xr, ce = N[A], De = A === "y" ? "height" : "width", At = ce + v[z], Ct = ce - v[W], nt = [hr, pr].indexOf(y) !== -1, oe = (Vn = re == null ? void 0 : re[A]) != null ? Vn : 0, ge = nt ? At : ce - R[De] - U[De] - oe + te.altAxis, ct = nt ? ce + R[De] + U[De] - oe - te.altAxis : Ct, Dt = h && nt ? zO(ge, ce, ct) : kl(h ? ge : At, ce, h ? ct : Ct);
32879
- N[A] = Dt, S[A] = Dt - ce;
32878
+ var Vn, z = x === "x" ? hr : pr, W = x === "x" ? Jr : Xr, ce = E[T], De = T === "y" ? "height" : "width", At = ce + v[z], Ct = ce - v[W], nt = [hr, pr].indexOf(y) !== -1, oe = (Vn = re == null ? void 0 : re[T]) != null ? Vn : 0, ge = nt ? At : ce - R[De] - U[De] - oe + te.altAxis, ct = nt ? ce + R[De] + U[De] - oe - te.altAxis : Ct, Dt = h && nt ? zO(ge, ce, ct) : kl(h ? ge : At, ce, h ? ct : Ct);
32879
+ E[T] = Dt, S[T] = Dt - ce;
32880
32880
  }
32881
32881
  e.modifiersData[r] = S;
32882
32882
  }
@@ -33003,8 +33003,8 @@ function TD(n) {
33003
33003
  reference: Ns(a) ? xl(a) : a.contextElement ? xl(a.contextElement) : [],
33004
33004
  popper: xl(l)
33005
33005
  };
33006
- var T = xD(SD([].concat(r, u.options.modifiers)));
33007
- return u.orderedModifiers = T.filter(function(x) {
33006
+ var A = xD(SD([].concat(r, u.options.modifiers)));
33007
+ return u.orderedModifiers = A.filter(function(x) {
33008
33008
  return x.enabled;
33009
33009
  }), p(), h.update();
33010
33010
  },
@@ -33015,11 +33015,11 @@ function TD(n) {
33015
33015
  // prefer the async Popper#update method
33016
33016
  forceUpdate: function() {
33017
33017
  if (!f) {
33018
- var y = u.elements, k = y.reference, T = y.popper;
33019
- if (Mv(k, T)) {
33018
+ var y = u.elements, k = y.reference, A = y.popper;
33019
+ if (Mv(k, A)) {
33020
33020
  u.rects = {
33021
- reference: _D(k, vc(T), u.options.strategy === "fixed"),
33022
- popper: Ym(T)
33021
+ reference: _D(k, vc(A), u.options.strategy === "fixed"),
33022
+ popper: Ym(A)
33023
33023
  }, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(te) {
33024
33024
  return u.modifiersData[te.name] = Object.assign({}, te.data);
33025
33025
  });
@@ -33028,8 +33028,8 @@ function TD(n) {
33028
33028
  u.reset = !1, x = -1;
33029
33029
  continue;
33030
33030
  }
33031
- var A = u.orderedModifiers[x], N = A.fn, R = A.options, U = R === void 0 ? {} : R, L = A.name;
33032
- typeof N == "function" && (u = N({
33031
+ var T = u.orderedModifiers[x], E = T.fn, R = T.options, U = R === void 0 ? {} : R, L = T.name;
33032
+ typeof E == "function" && (u = E({
33033
33033
  state: u,
33034
33034
  options: U,
33035
33035
  name: L,
@@ -33057,16 +33057,16 @@ function TD(n) {
33057
33057
  });
33058
33058
  function p() {
33059
33059
  u.orderedModifiers.forEach(function(v) {
33060
- var y = v.name, k = v.options, T = k === void 0 ? {} : k, x = v.effect;
33060
+ var y = v.name, k = v.options, A = k === void 0 ? {} : k, x = v.effect;
33061
33061
  if (typeof x == "function") {
33062
- var A = x({
33062
+ var T = x({
33063
33063
  state: u,
33064
33064
  name: y,
33065
33065
  instance: h,
33066
- options: T
33067
- }), N = function() {
33066
+ options: A
33067
+ }), E = function() {
33068
33068
  };
33069
- d.push(A || N);
33069
+ d.push(T || E);
33070
33070
  }
33071
33071
  });
33072
33072
  }
@@ -33443,7 +33443,7 @@ function m6(n) {
33443
33443
  m6.$$tippy = !0;
33444
33444
  var tI = 1, Qc = [], Nf = [];
33445
33445
  function nI(n, e) {
33446
- var t = Pv(n, Object.assign({}, kr, h6(Dv(e)))), r, i, o, s = !1, a = !1, l = !1, c = !1, u, d, f, h = [], p = Nv(zn, t.interactiveDebounce), m, v = tI++, y = null, k = LD(t.plugins), T = {
33446
+ var t = Pv(n, Object.assign({}, kr, h6(Dv(e)))), r, i, o, s = !1, a = !1, l = !1, c = !1, u, d, f, h = [], p = Nv(zn, t.interactiveDebounce), m, v = tI++, y = null, k = LD(t.plugins), A = {
33447
33447
  // Is the instance currently enabled?
33448
33448
  isEnabled: !0,
33449
33449
  // Is the tippy currently showing and not transitioning out?
@@ -33461,7 +33461,7 @@ function nI(n, e) {
33461
33461
  popper: Cl(),
33462
33462
  popperInstance: y,
33463
33463
  props: t,
33464
- state: T,
33464
+ state: A,
33465
33465
  plugins: k,
33466
33466
  // methods
33467
33467
  clearDelayTimeouts: ge,
@@ -33477,14 +33477,14 @@ function nI(n, e) {
33477
33477
  };
33478
33478
  if (!t.render)
33479
33479
  return process.env.NODE_ENV !== "production" && Zh(!0, "render() function has not been supplied."), x;
33480
- var A = t.render(x), N = A.popper, R = A.onUpdate;
33481
- N.setAttribute("data-tippy-root", ""), N.id = "tippy-" + x.id, x.popper = N, n._tippy = x, N._tippy = x;
33480
+ var T = t.render(x), E = T.popper, R = T.onUpdate;
33481
+ E.setAttribute("data-tippy-root", ""), E.id = "tippy-" + x.id, x.popper = E, n._tippy = x, E._tippy = x;
33482
33482
  var U = k.map(function(ie) {
33483
33483
  return ie.fn(x);
33484
33484
  }), L = n.hasAttribute("aria-expanded");
33485
- return Ot(), me(), K(), j("onCreate", [x]), t.showOnCreate && At(), N.addEventListener("mouseenter", function() {
33485
+ return Ot(), me(), K(), j("onCreate", [x]), t.showOnCreate && At(), E.addEventListener("mouseenter", function() {
33486
33486
  x.props.interactive && x.state.isVisible && x.clearDelayTimeouts();
33487
- }), N.addEventListener("mouseleave", function() {
33487
+ }), E.addEventListener("mouseleave", function() {
33488
33488
  x.props.interactive && x.props.trigger.indexOf("mouseenter") >= 0 && D().addEventListener("mousemove", p);
33489
33489
  }), x;
33490
33490
  function te() {
@@ -33505,14 +33505,14 @@ function nI(n, e) {
33505
33505
  var ie = P().parentNode;
33506
33506
  return ie ? zD(ie) : document;
33507
33507
  }
33508
- function E() {
33509
- return tp(N);
33508
+ function M() {
33509
+ return tp(E);
33510
33510
  }
33511
33511
  function Y(ie) {
33512
33512
  return x.state.isMounted && !x.state.isVisible || mi.isTouch || u && u.type === "focus" ? 0 : Af(x.props.delay, ie ? 0 : 1, kr.delay);
33513
33513
  }
33514
33514
  function K(ie) {
33515
- ie === void 0 && (ie = !1), N.style.pointerEvents = x.props.interactive && !ie ? "" : "none", N.style.zIndex = "" + x.props.zIndex;
33515
+ ie === void 0 && (ie = !1), E.style.pointerEvents = x.props.interactive && !ie ? "" : "none", E.style.zIndex = "" + x.props.zIndex;
33516
33516
  }
33517
33517
  function j(ie, Re, Je) {
33518
33518
  if (Je === void 0 && (Je = !0), U.forEach(function(pt) {
@@ -33525,7 +33525,7 @@ function nI(n, e) {
33525
33525
  function se() {
33526
33526
  var ie = x.props.aria;
33527
33527
  if (ie.content) {
33528
- var Re = "aria-" + ie.content, Je = N.id, bt = ta(x.props.triggerTarget || n);
33528
+ var Re = "aria-" + ie.content, Je = E.id, bt = ta(x.props.triggerTarget || n);
33529
33529
  bt.forEach(function(pt) {
33530
33530
  var In = pt.getAttribute(Re);
33531
33531
  if (x.state.isVisible)
@@ -33553,7 +33553,7 @@ function nI(n, e) {
33553
33553
  function he(ie) {
33554
33554
  if (!(mi.isTouch && (l || ie.type === "mousedown"))) {
33555
33555
  var Re = ie.composedPath && ie.composedPath()[0] || ie.target;
33556
- if (!(x.props.interactive && Lv(N, Re))) {
33556
+ if (!(x.props.interactive && Lv(E, Re))) {
33557
33557
  if (ta(x.props.triggerTarget || n).some(function(Je) {
33558
33558
  return Lv(Je, Re);
33559
33559
  })) {
@@ -33583,14 +33583,14 @@ function nI(n, e) {
33583
33583
  }
33584
33584
  function xt(ie, Re) {
33585
33585
  Tt(ie, function() {
33586
- !x.state.isVisible && N.parentNode && N.parentNode.contains(N) && Re();
33586
+ !x.state.isVisible && E.parentNode && E.parentNode.contains(E) && Re();
33587
33587
  });
33588
33588
  }
33589
33589
  function gt(ie, Re) {
33590
33590
  Tt(ie, Re);
33591
33591
  }
33592
33592
  function Tt(ie, Re) {
33593
- var Je = E().box;
33593
+ var Je = M().box;
33594
33594
  function bt(pt) {
33595
33595
  pt.target === Je && (Mf(Je, "remove", bt), Re());
33596
33596
  }
@@ -33646,9 +33646,9 @@ function nI(n, e) {
33646
33646
  }
33647
33647
  }
33648
33648
  function zn(ie) {
33649
- var Re = ie.target, Je = P().contains(Re) || N.contains(Re);
33649
+ var Re = ie.target, Je = P().contains(Re) || E.contains(Re);
33650
33650
  if (!(ie.type === "mousemove" && Je)) {
33651
- var bt = De().concat(N).map(function(pt) {
33651
+ var bt = De().concat(E).map(function(pt) {
33652
33652
  var In, dn = pt._tippy, lo = (In = dn.popperInstance) == null ? void 0 : In.state;
33653
33653
  return lo ? {
33654
33654
  popperRect: pt.getBoundingClientRect(),
@@ -33670,14 +33670,14 @@ function nI(n, e) {
33670
33670
  }
33671
33671
  }
33672
33672
  function Hn(ie) {
33673
- x.props.trigger.indexOf("focusin") < 0 && ie.target !== P() || x.props.interactive && ie.relatedTarget && N.contains(ie.relatedTarget) || Ct(ie);
33673
+ x.props.trigger.indexOf("focusin") < 0 && ie.target !== P() || x.props.interactive && ie.relatedTarget && E.contains(ie.relatedTarget) || Ct(ie);
33674
33674
  }
33675
33675
  function Vn(ie) {
33676
33676
  return mi.isTouch ? re() !== ie.type.indexOf("touch") >= 0 : !1;
33677
33677
  }
33678
33678
  function z() {
33679
33679
  W();
33680
- var ie = x.props, Re = ie.popperOptions, Je = ie.placement, bt = ie.offset, pt = ie.getReferenceClientRect, In = ie.moveTransition, dn = S() ? tp(N).arrow : null, lo = pt ? {
33680
+ var ie = x.props, Re = ie.popperOptions, Je = ie.placement, bt = ie.offset, pt = ie.getReferenceClientRect, In = ie.moveTransition, dn = S() ? tp(E).arrow : null, lo = pt ? {
33681
33681
  getBoundingClientRect: pt,
33682
33682
  contextElement: pt.contextElement || P()
33683
33683
  } : n, Tc = {
@@ -33688,7 +33688,7 @@ function nI(n, e) {
33688
33688
  fn: function(Vs) {
33689
33689
  var co = Vs.state;
33690
33690
  if (S()) {
33691
- var N0 = E(), Ga = N0.box;
33691
+ var N0 = M(), Ga = N0.box;
33692
33692
  ["placement", "reference-hidden", "escaped"].forEach(function(Us) {
33693
33693
  Us === "placement" ? Ga.setAttribute("data-placement", co.placement) : co.attributes.popper["data-popper-" + Us] ? Ga.setAttribute("data-" + Us, "") : Ga.removeAttribute("data-" + Us);
33694
33694
  }), co.attributes.popper = {};
@@ -33726,7 +33726,7 @@ function nI(n, e) {
33726
33726
  element: dn,
33727
33727
  padding: 3
33728
33728
  }
33729
- }), li.push.apply(li, (Re == null ? void 0 : Re.modifiers) || []), x.popperInstance = ED(lo, N, Object.assign({}, Re, {
33729
+ }), li.push.apply(li, (Re == null ? void 0 : Re.modifiers) || []), x.popperInstance = ED(lo, E, Object.assign({}, Re, {
33730
33730
  placement: Je,
33731
33731
  onFirstUpdate: f,
33732
33732
  modifiers: li
@@ -33737,7 +33737,7 @@ function nI(n, e) {
33737
33737
  }
33738
33738
  function ce() {
33739
33739
  var ie = x.props.appendTo, Re, Je = P();
33740
- x.props.interactive && ie === l6 || ie === "parent" ? Re = Je.parentNode : Re = c6(ie, [Je]), Re.contains(N) || Re.appendChild(N), x.state.isMounted = !0, z(), process.env.NODE_ENV !== "production" && Hi(x.props.interactive && ie === kr.appendTo && Je.nextElementSibling !== N, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
33740
+ x.props.interactive && ie === l6 || ie === "parent" ? Re = Je.parentNode : Re = c6(ie, [Je]), Re.contains(E) || Re.appendChild(E), x.state.isMounted = !0, z(), process.env.NODE_ENV !== "production" && Hi(x.props.interactive && ie === kr.appendTo && Je.nextElementSibling !== E, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
33741
33741
 
33742
33742
  `, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
33743
33743
 
@@ -33746,7 +33746,7 @@ function nI(n, e) {
33746
33746
  `, "See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "));
33747
33747
  }
33748
33748
  function De() {
33749
- return Sd(N.querySelectorAll("[data-tippy-root]"));
33749
+ return Sd(E.querySelectorAll("[data-tippy-root]"));
33750
33750
  }
33751
33751
  function At(ie) {
33752
33752
  x.clearDelayTimeouts(), ie && j("onTrigger", [x, ie]), tt();
@@ -33800,15 +33800,15 @@ function nI(n, e) {
33800
33800
  process.env.NODE_ENV !== "production" && Hi(x.state.isDestroyed, Ys("show"));
33801
33801
  var ie = x.state.isVisible, Re = x.state.isDestroyed, Je = !x.state.isEnabled, bt = mi.isTouch && !x.props.touch, pt = Af(x.props.duration, 0, kr.duration);
33802
33802
  if (!(ie || Re || Je || bt) && !P().hasAttribute("disabled") && (j("onShow", [x], !1), x.props.onShow(x) !== !1)) {
33803
- if (x.state.isVisible = !0, S() && (N.style.visibility = "visible"), K(), tt(), x.state.isMounted || (N.style.transition = "none"), S()) {
33804
- var In = E(), dn = In.box, lo = In.content;
33803
+ if (x.state.isVisible = !0, S() && (E.style.visibility = "visible"), K(), tt(), x.state.isMounted || (E.style.transition = "none"), S()) {
33804
+ var In = M(), dn = In.box, lo = In.content;
33805
33805
  Ef([dn, lo], 0);
33806
33806
  }
33807
33807
  f = function() {
33808
33808
  var li;
33809
33809
  if (!(!x.state.isVisible || c)) {
33810
- if (c = !0, N.offsetHeight, N.style.transition = x.props.moveTransition, S() && x.props.animation) {
33811
- var Ka = E(), Vs = Ka.box, co = Ka.content;
33810
+ if (c = !0, E.offsetHeight, E.style.transition = x.props.moveTransition, S() && x.props.animation) {
33811
+ var Ka = M(), Vs = Ka.box, co = Ka.content;
33812
33812
  Ef([Vs, co], pt), Iv([Vs, co], "visible");
33813
33813
  }
33814
33814
  se(), me(), Ov(Nf, x), (li = x.popperInstance) == null || li.forceUpdate(), j("onMount", [x]), x.props.animation && S() && gt(pt, function() {
@@ -33822,8 +33822,8 @@ function nI(n, e) {
33822
33822
  process.env.NODE_ENV !== "production" && Hi(x.state.isDestroyed, Ys("hide"));
33823
33823
  var ie = !x.state.isVisible, Re = x.state.isDestroyed, Je = !x.state.isEnabled, bt = Af(x.props.duration, 1, kr.duration);
33824
33824
  if (!(ie || Re || Je) && (j("onHide", [x], !1), x.props.onHide(x) !== !1)) {
33825
- if (x.state.isVisible = !1, x.state.isShown = !1, c = !1, s = !1, S() && (N.style.visibility = "hidden"), Ne(), Nt(), K(!0), S()) {
33826
- var pt = E(), In = pt.box, dn = pt.content;
33825
+ if (x.state.isVisible = !1, x.state.isShown = !1, c = !1, s = !1, S() && (E.style.visibility = "hidden"), Ne(), Nt(), K(!0), S()) {
33826
+ var pt = M(), In = pt.box, dn = pt.content;
33827
33827
  x.props.animation && (Ef([In, dn], bt), Iv([In, dn], "hidden"));
33828
33828
  }
33829
33829
  se(), me(), x.props.animation ? S() && xt(bt, x.unmount) : x.unmount();
@@ -33835,7 +33835,7 @@ function nI(n, e) {
33835
33835
  function Or() {
33836
33836
  process.env.NODE_ENV !== "production" && Hi(x.state.isDestroyed, Ys("unmount")), x.state.isVisible && x.hide(), x.state.isMounted && (W(), De().forEach(function(ie) {
33837
33837
  ie._tippy.unmount();
33838
- }), N.parentNode && N.parentNode.removeChild(N), Nf = Nf.filter(function(ie) {
33838
+ }), E.parentNode && E.parentNode.removeChild(E), Nf = Nf.filter(function(ie) {
33839
33839
  return ie !== x;
33840
33840
  }), x.state.isMounted = !1, j("onHidden", [x]));
33841
33841
  }
@@ -33919,14 +33919,14 @@ class rI {
33919
33919
  if (m || !l && !c)
33920
33920
  return;
33921
33921
  this.createTooltip();
33922
- const { ranges: k } = v, T = Math.min(...k.map((N) => N.$from.pos)), x = Math.max(...k.map((N) => N.$to.pos));
33922
+ const { ranges: k } = v, A = Math.min(...k.map((E) => E.$from.pos)), x = Math.max(...k.map((E) => E.$to.pos));
33923
33923
  if (!((d = this.shouldShow) === null || d === void 0 ? void 0 : d.call(this, {
33924
33924
  editor: this.editor,
33925
33925
  element: this.element,
33926
33926
  view: a,
33927
33927
  state: p,
33928
33928
  oldState: u,
33929
- from: T,
33929
+ from: A,
33930
33930
  to: x
33931
33931
  }))) {
33932
33932
  this.hide();
@@ -33935,14 +33935,14 @@ class rI {
33935
33935
  (f = this.tippy) === null || f === void 0 || f.setProps({
33936
33936
  getReferenceClientRect: ((h = this.tippyOptions) === null || h === void 0 ? void 0 : h.getReferenceClientRect) || (() => {
33937
33937
  if (m3(p.selection)) {
33938
- let N = a.nodeDOM(T);
33939
- if (N) {
33940
- const R = N.dataset.nodeViewWrapper ? N : N.querySelector("[data-node-view-wrapper]");
33941
- if (R && (N = R.firstChild), N)
33942
- return N.getBoundingClientRect();
33938
+ let E = a.nodeDOM(A);
33939
+ if (E) {
33940
+ const R = E.dataset.nodeViewWrapper ? E : E.querySelector("[data-node-view-wrapper]");
33941
+ if (R && (E = R.firstChild), E)
33942
+ return E.getBoundingClientRect();
33943
33943
  }
33944
33944
  }
33945
- return g3(a, T, x);
33945
+ return g3(a, A, x);
33946
33946
  })
33947
33947
  }), this.show();
33948
33948
  }, this.editor = e, this.element = t, this.view = r, this.updateDelay = o, s && (this.shouldShow = s), this.element.addEventListener("mousedown", this.mousedownHandler, { capture: !0 }), this.view.dom.addEventListener("dragstart", this.dragstartHandler), this.editor.on("focus", this.focusHandler), this.editor.on("blur", this.blurHandler), this.tippyOptions = i, this.element.remove(), this.element.style.visibility = "visible";
@@ -35434,12 +35434,12 @@ const w6 = We.create({
35434
35434
  if (!y || !m.canReplaceWith(v, v, y)) return !1;
35435
35435
  const k = y.createAndFill();
35436
35436
  if (!k) return !1;
35437
- const { tr: T } = e, x = i.after(-2);
35438
- T.replaceWith(x, x, k);
35439
- const A = T.doc.resolve(x), N = Ue.near(A, 1);
35440
- T.setSelection(N);
35437
+ const { tr: A } = e, x = i.after(-2);
35438
+ A.replaceWith(x, x, k);
35439
+ const T = A.doc.resolve(x), E = Ue.near(T, 1);
35440
+ A.setSelection(E);
35441
35441
  const R = p, U = p + h.nodeSize;
35442
- return T.delete(R, U), T.scrollIntoView(), t.dispatch(T), !0;
35442
+ return A.delete(R, U), A.scrollIntoView(), t.dispatch(A), !0;
35443
35443
  } };
35444
35444
  } }), $I = PI.extend({
35445
35445
  addProseMirrorPlugins() {
@@ -36030,7 +36030,7 @@ const Uv = (n) => typeof n == "number", iL = ["src", "alt"], oL = {
36030
36030
  }), v = ["tl", "tr", "bl", "br"], y = ue(!1), k = ue({
36031
36031
  width: 0,
36032
36032
  height: 0
36033
- }), T = ue({
36033
+ }), A = ue({
36034
36034
  x: 0,
36035
36035
  y: 0,
36036
36036
  w: 0,
@@ -36040,23 +36040,23 @@ const Uv = (n) => typeof n == "number", iL = ["src", "alt"], oL = {
36040
36040
  function x(L, te) {
36041
36041
  if (i.value === "Y")
36042
36042
  return;
36043
- L.preventDefault(), L.stopPropagation(), T.value.x = L.clientX, T.value.y = L.clientY;
36043
+ L.preventDefault(), L.stopPropagation(), A.value.x = L.clientX, A.value.y = L.clientY;
36044
36044
  const re = h.value.width, S = h.value.height, P = re / S;
36045
- let D = Number(n.node.attrs.width), E = Number(n.node.attrs.height);
36045
+ let D = Number(n.node.attrs.width), M = Number(n.node.attrs.height);
36046
36046
  const Y = m.value.width;
36047
- D && !E ? (D = D > Y ? Y : D, E = Math.round(D / P)) : E && !D ? (D = Math.round(E * P), D = D > Y ? Y : D) : !D && !E ? (D = re > Y ? Y : re, E = Math.round(D / P)) : D = D > Y ? Y : D, T.value.w = D, T.value.h = E, T.value.dir = te, y.value = !0, R();
36047
+ D && !M ? (D = D > Y ? Y : D, M = Math.round(D / P)) : M && !D ? (D = Math.round(M * P), D = D > Y ? Y : D) : !D && !M ? (D = re > Y ? Y : re, M = Math.round(D / P)) : D = D > Y ? Y : D, A.value.w = D, A.value.h = M, A.value.dir = te, y.value = !0, R();
36048
36048
  }
36049
- const A = Dp((L) => {
36049
+ const T = Dp((L) => {
36050
36050
  if (L.preventDefault(), L.stopPropagation(), !y.value)
36051
36051
  return;
36052
- const { x: te, y: re, w: S, h: P, dir: D } = T.value, E = (L.clientX - te) * (/l/.test(D) ? -1 : 1), Y = (L.clientY - re) * (/t/.test(D) ? -1 : 1), K = rL(S + E, 20, m.value.width), j = o.value ? null : Math.max(P + Y, 20);
36052
+ const { x: te, y: re, w: S, h: P, dir: D } = A.value, M = (L.clientX - te) * (/l/.test(D) ? -1 : 1), Y = (L.clientY - re) * (/t/.test(D) ? -1 : 1), K = rL(S + M, 20, m.value.width), j = o.value ? null : Math.max(P + Y, 20);
36053
36053
  k.value = {
36054
36054
  width: K,
36055
36055
  height: K * (h.value.height / h.value.width)
36056
36056
  }, n.updateAttributes({ width: K, height: j });
36057
36057
  }, 16);
36058
- function N(L) {
36059
- L.preventDefault(), L.stopPropagation(), y.value && (y.value = !1, T.value = {
36058
+ function E(L) {
36059
+ L.preventDefault(), L.stopPropagation(), y.value && (y.value = !1, A.value = {
36060
36060
  x: 0,
36061
36061
  y: 0,
36062
36062
  w: 0,
@@ -36065,10 +36065,10 @@ const Uv = (n) => typeof n == "number", iL = ["src", "alt"], oL = {
36065
36065
  }, U(), f());
36066
36066
  }
36067
36067
  function R() {
36068
- document == null || document.addEventListener("mousemove", A, !0), document == null || document.addEventListener("mouseup", N, !0);
36068
+ document == null || document.addEventListener("mousemove", T, !0), document == null || document.addEventListener("mouseup", E, !0);
36069
36069
  }
36070
36070
  function U() {
36071
- document == null || document.removeEventListener("mousemove", A, !0), document == null || document.removeEventListener("mouseup", N, !0);
36071
+ document == null || document.removeEventListener("mousemove", T, !0), document == null || document.removeEventListener("mouseup", E, !0);
36072
36072
  }
36073
36073
  return (L, te) => (I(), X(g(Qt), {
36074
36074
  ref_key: "imageViewRef",
@@ -37248,39 +37248,39 @@ function vR(n, e, t) {
37248
37248
  if (typeof n != "function")
37249
37249
  throw new TypeError(mR);
37250
37250
  e = Kv(e) || 0, Md(t) && (u = !!t.leading, d = "maxWait" in t, o = d ? gR(Kv(t.maxWait) || 0, e) : o, f = "trailing" in t ? !!t.trailing : f);
37251
- function h(N) {
37251
+ function h(E) {
37252
37252
  var R = r, U = i;
37253
- return r = i = void 0, c = N, s = n.apply(U, R), s;
37253
+ return r = i = void 0, c = E, s = n.apply(U, R), s;
37254
37254
  }
37255
- function p(N) {
37256
- return c = N, a = setTimeout(y, e), u ? h(N) : s;
37255
+ function p(E) {
37256
+ return c = E, a = setTimeout(y, e), u ? h(E) : s;
37257
37257
  }
37258
- function m(N) {
37259
- var R = N - l, U = N - c, L = e - R;
37258
+ function m(E) {
37259
+ var R = E - l, U = E - c, L = e - R;
37260
37260
  return d ? bR(L, o - U) : L;
37261
37261
  }
37262
- function v(N) {
37263
- var R = N - l, U = N - c;
37262
+ function v(E) {
37263
+ var R = E - l, U = E - c;
37264
37264
  return l === void 0 || R >= e || R < 0 || d && U >= o;
37265
37265
  }
37266
37266
  function y() {
37267
- var N = If();
37268
- if (v(N))
37269
- return k(N);
37270
- a = setTimeout(y, m(N));
37267
+ var E = If();
37268
+ if (v(E))
37269
+ return k(E);
37270
+ a = setTimeout(y, m(E));
37271
37271
  }
37272
- function k(N) {
37273
- return a = void 0, f && r ? h(N) : (r = i = void 0, s);
37272
+ function k(E) {
37273
+ return a = void 0, f && r ? h(E) : (r = i = void 0, s);
37274
37274
  }
37275
- function T() {
37275
+ function A() {
37276
37276
  a !== void 0 && clearTimeout(a), c = 0, r = l = i = a = void 0;
37277
37277
  }
37278
37278
  function x() {
37279
37279
  return a === void 0 ? s : k(If());
37280
37280
  }
37281
- function A() {
37282
- var N = If(), R = v(N);
37283
- if (r = arguments, i = this, l = N, R) {
37281
+ function T() {
37282
+ var E = If(), R = v(E);
37283
+ if (r = arguments, i = this, l = E, R) {
37284
37284
  if (a === void 0)
37285
37285
  return p(l);
37286
37286
  if (d)
@@ -37288,7 +37288,7 @@ function vR(n, e, t) {
37288
37288
  }
37289
37289
  return a === void 0 && (a = setTimeout(y, e)), s;
37290
37290
  }
37291
- return A.cancel = T, A.flush = x, A;
37291
+ return T.cancel = A, T.flush = x, T;
37292
37292
  }
37293
37293
  var yR = "Expected a function";
37294
37294
  function wR(n, e, t) {
@@ -37338,6 +37338,8 @@ const _R = ft.create({
37338
37338
  ];
37339
37339
  },
37340
37340
  onCreate({ editor: n }) {
37341
+ if (!n.isEditable)
37342
+ return;
37341
37343
  const e = n.options.element;
37342
37344
  e.style.position = "relative";
37343
37345
  const t = document.createElement("div");
@@ -37355,8 +37357,8 @@ const _R = ft.create({
37355
37357
  Math.min(y, p)
37356
37358
  );
37357
37359
  s.style.width = `${k}px`, a.attrs.width = k;
37358
- const T = s.clientWidth, x = s.clientHeight, A = Zc(s, e);
37359
- t.style.top = `${A.top}px`, t.style.left = `${A.left}px`, t.style.width = `${T}px`, t.style.height = `${x}px`, l = d.screenX;
37360
+ const A = s.clientWidth, x = s.clientHeight, T = Zc(s, e);
37361
+ t.style.top = `${T.top}px`, t.style.left = `${T.left}px`, t.style.width = `${A}px`, t.style.height = `${x}px`, l = d.screenX;
37360
37362
  };
37361
37363
  document.addEventListener("mousemove", u), document.addEventListener("mouseup", () => {
37362
37364
  document.removeEventListener("mousemove", u);
@@ -37370,8 +37372,8 @@ const _R = ft.create({
37370
37372
  Math.min(y, p)
37371
37373
  );
37372
37374
  s.style.width = `${k}px`, a.attrs.width = k;
37373
- const T = s.clientWidth, x = s.clientHeight, A = Zc(s, e);
37374
- t.style.top = `${A.top}px`, t.style.left = `${A.left}px`, t.style.width = `${T}px`, t.style.height = `${x}px`, l = d.screenX;
37375
+ const A = s.clientWidth, x = s.clientHeight, T = Zc(s, e);
37376
+ t.style.top = `${T.top}px`, t.style.left = `${T.left}px`, t.style.width = `${A}px`, t.style.height = `${x}px`, l = d.screenX;
37375
37377
  };
37376
37378
  document.addEventListener("mousemove", u), document.addEventListener("mouseup", () => {
37377
37379
  document.removeEventListener("mousemove", u);
@@ -37413,7 +37415,7 @@ const _R = ft.create({
37413
37415
  const s = Zc(o, t);
37414
37416
  i.style.top = `${s.top}px`, i.style.left = `${s.left}px`, i.style.width = `${o.clientWidth}px`, i.style.height = `${o.clientHeight}px`;
37415
37417
  } else
37416
- i.style.display = "none";
37418
+ i && (i.style.display = "none");
37417
37419
  }
37418
37420
  });
37419
37421
  function Zc(n, e) {
@@ -37648,8 +37650,12 @@ const AR = new St(
37648
37650
  key: new St("selection"),
37649
37651
  props: {
37650
37652
  decorations(e) {
37651
- return e.selection.empty || n.isFocused ? null : wt.create(e.doc, [
37652
- hn.inline(e.selection.from, e.selection.to, {
37653
+ const { doc: t, selection: r } = e;
37654
+ if (r.empty || n.isFocused)
37655
+ return null;
37656
+ const i = Math.max(0, Math.min(r.from, t.nodeSize - 2)), o = Math.max(0, Math.min(r.to, t.nodeSize - 2));
37657
+ return i >= o ? null : wt.create(e.doc, [
37658
+ hn.inline(i, o, {
37653
37659
  class: "smart-text-selection"
37654
37660
  })
37655
37661
  ]);
@@ -38260,27 +38266,27 @@ function RR(n) {
38260
38266
  for (; i < r.length && r[i] != 0; ) i++;
38261
38267
  if (p == d.childCount) break;
38262
38268
  const m = d.child(p), { colspan: v, rowspan: y, colwidth: k } = m.attrs;
38263
- for (let T = 0; T < y; T++) {
38264
- if (T + c >= t) {
38269
+ for (let A = 0; A < y; A++) {
38270
+ if (A + c >= t) {
38265
38271
  (o || (o = [])).push({
38266
38272
  type: "overlong_rowspan",
38267
38273
  pos: u,
38268
- n: y - T
38274
+ n: y - A
38269
38275
  });
38270
38276
  break;
38271
38277
  }
38272
- const x = i + T * e;
38273
- for (let A = 0; A < v; A++) {
38274
- r[x + A] == 0 ? r[x + A] = u : (o || (o = [])).push({
38278
+ const x = i + A * e;
38279
+ for (let T = 0; T < v; T++) {
38280
+ r[x + T] == 0 ? r[x + T] = u : (o || (o = [])).push({
38275
38281
  type: "collision",
38276
38282
  row: c,
38277
38283
  pos: u,
38278
- n: v - A
38284
+ n: v - T
38279
38285
  });
38280
- const N = k && k[A];
38281
- if (N) {
38282
- const R = (x + A) % e * 2, U = s[R];
38283
- U == null || U != N && s[R + 1] == 1 ? (s[R] = N, s[R + 1] = 1) : U == N && s[R + 1]++;
38286
+ const E = k && k[T];
38287
+ if (E) {
38288
+ const R = (x + T) % e * 2, U = s[R];
38289
+ U == null || U != E && s[R + 1] == 1 ? (s[R] = E, s[R + 1] = 1) : U == E && s[R + 1]++;
38284
38290
  }
38285
38291
  }
38286
38292
  }
@@ -39845,10 +39851,10 @@ function sy(n, e, t, r, i, o) {
39845
39851
  for (let h = 0, p = 0; h < c.childCount; h += 1) {
39846
39852
  const { colspan: m, colwidth: v } = c.child(h).attrs;
39847
39853
  for (let y = 0; y < m; y += 1, p += 1) {
39848
- const k = i === p ? o : v && v[y], T = k && !d ? `${k}px` : "";
39849
- s += k || r, k || (a = !1), l ? (l.style.width !== T && (l.style.width = T), l = l.nextSibling) : e.appendChild(
39854
+ const k = i === p ? o : v && v[y], A = k && !d ? `${k}px` : "";
39855
+ s += k || r, k || (a = !1), l ? (l.style.width !== A && (l.style.width = A), l = l.nextSibling) : e.appendChild(
39850
39856
  document.createElement("col")
39851
- ).style.width = T;
39857
+ ).style.width = A;
39852
39858
  }
39853
39859
  }
39854
39860
  for (; l; ) {
@@ -39888,8 +39894,8 @@ function IB(n, e, t, r, i, o) {
39888
39894
  for (let h = 0, p = 0; h < c.childCount; h += 1) {
39889
39895
  const { colspan: m, colwidth: v } = c.child(h).attrs;
39890
39896
  for (let y = 0; y < m; y += 1, p += 1) {
39891
- const k = i === p ? o : v && v[y], T = k ? `${k}px` : "";
39892
- s += k || r, k || (a = !1), l.push(["col", T ? { style: `width: ${T}` } : {}]);
39897
+ const k = i === p ? o : v && v[y], A = k ? `${k}px` : "";
39898
+ s += k || r, k || (a = !1), l.push(["col", A ? { style: `width: ${A}` } : {}]);
39893
39899
  }
39894
39900
  }
39895
39901
  if (n) {
@@ -40610,138 +40616,138 @@ var G6 = { exports: {} };
40610
40616
  }
40611
40617
  var a = {}, l = ["REJECTED"], c = ["FULFILLED"], u = ["PENDING"];
40612
40618
  r.exports = d;
40613
- function d(A) {
40614
- if (typeof A != "function")
40619
+ function d(T) {
40620
+ if (typeof T != "function")
40615
40621
  throw new TypeError("resolver must be a function");
40616
- this.state = u, this.queue = [], this.outcome = void 0, A !== s && m(this, A);
40622
+ this.state = u, this.queue = [], this.outcome = void 0, T !== s && m(this, T);
40617
40623
  }
40618
- d.prototype.catch = function(A) {
40619
- return this.then(null, A);
40620
- }, d.prototype.then = function(A, N) {
40621
- if (typeof A != "function" && this.state === c || typeof N != "function" && this.state === l)
40624
+ d.prototype.catch = function(T) {
40625
+ return this.then(null, T);
40626
+ }, d.prototype.then = function(T, E) {
40627
+ if (typeof T != "function" && this.state === c || typeof E != "function" && this.state === l)
40622
40628
  return this;
40623
40629
  var R = new this.constructor(s);
40624
40630
  if (this.state !== u) {
40625
- var U = this.state === c ? A : N;
40631
+ var U = this.state === c ? T : E;
40626
40632
  h(R, U, this.outcome);
40627
40633
  } else
40628
- this.queue.push(new f(R, A, N));
40634
+ this.queue.push(new f(R, T, E));
40629
40635
  return R;
40630
40636
  };
40631
- function f(A, N, R) {
40632
- this.promise = A, typeof N == "function" && (this.onFulfilled = N, this.callFulfilled = this.otherCallFulfilled), typeof R == "function" && (this.onRejected = R, this.callRejected = this.otherCallRejected);
40633
- }
40634
- f.prototype.callFulfilled = function(A) {
40635
- a.resolve(this.promise, A);
40636
- }, f.prototype.otherCallFulfilled = function(A) {
40637
- h(this.promise, this.onFulfilled, A);
40638
- }, f.prototype.callRejected = function(A) {
40639
- a.reject(this.promise, A);
40640
- }, f.prototype.otherCallRejected = function(A) {
40641
- h(this.promise, this.onRejected, A);
40637
+ function f(T, E, R) {
40638
+ this.promise = T, typeof E == "function" && (this.onFulfilled = E, this.callFulfilled = this.otherCallFulfilled), typeof R == "function" && (this.onRejected = R, this.callRejected = this.otherCallRejected);
40639
+ }
40640
+ f.prototype.callFulfilled = function(T) {
40641
+ a.resolve(this.promise, T);
40642
+ }, f.prototype.otherCallFulfilled = function(T) {
40643
+ h(this.promise, this.onFulfilled, T);
40644
+ }, f.prototype.callRejected = function(T) {
40645
+ a.reject(this.promise, T);
40646
+ }, f.prototype.otherCallRejected = function(T) {
40647
+ h(this.promise, this.onRejected, T);
40642
40648
  };
40643
- function h(A, N, R) {
40649
+ function h(T, E, R) {
40644
40650
  o(function() {
40645
40651
  var U;
40646
40652
  try {
40647
- U = N(R);
40653
+ U = E(R);
40648
40654
  } catch (L) {
40649
- return a.reject(A, L);
40655
+ return a.reject(T, L);
40650
40656
  }
40651
- U === A ? a.reject(A, new TypeError("Cannot resolve promise with itself")) : a.resolve(A, U);
40657
+ U === T ? a.reject(T, new TypeError("Cannot resolve promise with itself")) : a.resolve(T, U);
40652
40658
  });
40653
40659
  }
40654
- a.resolve = function(A, N) {
40655
- var R = v(p, N);
40660
+ a.resolve = function(T, E) {
40661
+ var R = v(p, E);
40656
40662
  if (R.status === "error")
40657
- return a.reject(A, R.value);
40663
+ return a.reject(T, R.value);
40658
40664
  var U = R.value;
40659
40665
  if (U)
40660
- m(A, U);
40666
+ m(T, U);
40661
40667
  else {
40662
- A.state = c, A.outcome = N;
40663
- for (var L = -1, te = A.queue.length; ++L < te; )
40664
- A.queue[L].callFulfilled(N);
40668
+ T.state = c, T.outcome = E;
40669
+ for (var L = -1, te = T.queue.length; ++L < te; )
40670
+ T.queue[L].callFulfilled(E);
40665
40671
  }
40666
- return A;
40667
- }, a.reject = function(A, N) {
40668
- A.state = l, A.outcome = N;
40669
- for (var R = -1, U = A.queue.length; ++R < U; )
40670
- A.queue[R].callRejected(N);
40671
- return A;
40672
+ return T;
40673
+ }, a.reject = function(T, E) {
40674
+ T.state = l, T.outcome = E;
40675
+ for (var R = -1, U = T.queue.length; ++R < U; )
40676
+ T.queue[R].callRejected(E);
40677
+ return T;
40672
40678
  };
40673
- function p(A) {
40674
- var N = A && A.then;
40675
- if (A && (typeof A == "object" || typeof A == "function") && typeof N == "function")
40679
+ function p(T) {
40680
+ var E = T && T.then;
40681
+ if (T && (typeof T == "object" || typeof T == "function") && typeof E == "function")
40676
40682
  return function() {
40677
- N.apply(A, arguments);
40683
+ E.apply(T, arguments);
40678
40684
  };
40679
40685
  }
40680
- function m(A, N) {
40686
+ function m(T, E) {
40681
40687
  var R = !1;
40682
40688
  function U(S) {
40683
- R || (R = !0, a.reject(A, S));
40689
+ R || (R = !0, a.reject(T, S));
40684
40690
  }
40685
40691
  function L(S) {
40686
- R || (R = !0, a.resolve(A, S));
40692
+ R || (R = !0, a.resolve(T, S));
40687
40693
  }
40688
40694
  function te() {
40689
- N(L, U);
40695
+ E(L, U);
40690
40696
  }
40691
40697
  var re = v(te);
40692
40698
  re.status === "error" && U(re.value);
40693
40699
  }
40694
- function v(A, N) {
40700
+ function v(T, E) {
40695
40701
  var R = {};
40696
40702
  try {
40697
- R.value = A(N), R.status = "success";
40703
+ R.value = T(E), R.status = "success";
40698
40704
  } catch (U) {
40699
40705
  R.status = "error", R.value = U;
40700
40706
  }
40701
40707
  return R;
40702
40708
  }
40703
40709
  d.resolve = y;
40704
- function y(A) {
40705
- return A instanceof this ? A : a.resolve(new this(s), A);
40710
+ function y(T) {
40711
+ return T instanceof this ? T : a.resolve(new this(s), T);
40706
40712
  }
40707
40713
  d.reject = k;
40708
- function k(A) {
40709
- var N = new this(s);
40710
- return a.reject(N, A);
40711
- }
40712
- d.all = T;
40713
- function T(A) {
40714
- var N = this;
40715
- if (Object.prototype.toString.call(A) !== "[object Array]")
40714
+ function k(T) {
40715
+ var E = new this(s);
40716
+ return a.reject(E, T);
40717
+ }
40718
+ d.all = A;
40719
+ function A(T) {
40720
+ var E = this;
40721
+ if (Object.prototype.toString.call(T) !== "[object Array]")
40716
40722
  return this.reject(new TypeError("must be an array"));
40717
- var R = A.length, U = !1;
40723
+ var R = T.length, U = !1;
40718
40724
  if (!R)
40719
40725
  return this.resolve([]);
40720
40726
  for (var L = new Array(R), te = 0, re = -1, S = new this(s); ++re < R; )
40721
- P(A[re], re);
40727
+ P(T[re], re);
40722
40728
  return S;
40723
- function P(D, E) {
40724
- N.resolve(D).then(Y, function(K) {
40729
+ function P(D, M) {
40730
+ E.resolve(D).then(Y, function(K) {
40725
40731
  U || (U = !0, a.reject(S, K));
40726
40732
  });
40727
40733
  function Y(K) {
40728
- L[E] = K, ++te === R && !U && (U = !0, a.resolve(S, L));
40734
+ L[M] = K, ++te === R && !U && (U = !0, a.resolve(S, L));
40729
40735
  }
40730
40736
  }
40731
40737
  }
40732
40738
  d.race = x;
40733
- function x(A) {
40734
- var N = this;
40735
- if (Object.prototype.toString.call(A) !== "[object Array]")
40739
+ function x(T) {
40740
+ var E = this;
40741
+ if (Object.prototype.toString.call(T) !== "[object Array]")
40736
40742
  return this.reject(new TypeError("must be an array"));
40737
- var R = A.length, U = !1;
40743
+ var R = T.length, U = !1;
40738
40744
  if (!R)
40739
40745
  return this.resolve([]);
40740
40746
  for (var L = -1, te = new this(s); ++L < R; )
40741
- re(A[L]);
40747
+ re(T[L]);
40742
40748
  return te;
40743
40749
  function re(S) {
40744
- N.resolve(S).then(function(P) {
40750
+ E.resolve(S).then(function(P) {
40745
40751
  U || (U = !0, a.resolve(te, P));
40746
40752
  }, function(P) {
40747
40753
  U || (U = !0, a.reject(te, P));
@@ -40824,15 +40830,15 @@ var G6 = { exports: {} };
40824
40830
  if (arguments.length && typeof arguments[arguments.length - 1] == "function")
40825
40831
  return arguments[arguments.length - 1];
40826
40832
  }
40827
- var v = "local-forage-detect-blob-support", y = void 0, k = {}, T = Object.prototype.toString, x = "readonly", A = "readwrite";
40828
- function N(O) {
40833
+ var v = "local-forage-detect-blob-support", y = void 0, k = {}, A = Object.prototype.toString, x = "readonly", T = "readwrite";
40834
+ function E(O) {
40829
40835
  for (var H = O.length, B = new ArrayBuffer(H), Q = new Uint8Array(B), Z = 0; Z < H; Z++)
40830
40836
  Q[Z] = O.charCodeAt(Z);
40831
40837
  return B;
40832
40838
  }
40833
40839
  function R(O) {
40834
40840
  return new d(function(H) {
40835
- var B = O.transaction(v, A), Q = u([""]);
40841
+ var B = O.transaction(v, T), Q = u([""]);
40836
40842
  B.objectStore(v).put(Q, "key"), B.onabort = function(Z) {
40837
40843
  Z.preventDefault(), Z.stopPropagation(), H(!1);
40838
40844
  }, B.oncomplete = function() {
@@ -40902,7 +40908,7 @@ var G6 = { exports: {} };
40902
40908
  function D(O) {
40903
40909
  return S(O, !0);
40904
40910
  }
40905
- function E(O, H) {
40911
+ function M(O, H) {
40906
40912
  if (!O.db)
40907
40913
  return !0;
40908
40914
  var B = !O.db.objectStoreNames.contains(O.storeName), Q = O.version < O.db.version, Z = O.version > O.db.version;
@@ -40929,7 +40935,7 @@ var G6 = { exports: {} };
40929
40935
  });
40930
40936
  }
40931
40937
  function K(O) {
40932
- var H = N(atob(O.data));
40938
+ var H = E(atob(O.data));
40933
40939
  return u([H], { type: O.type });
40934
40940
  }
40935
40941
  function j(O) {
@@ -40950,7 +40956,7 @@ var G6 = { exports: {} };
40950
40956
  Z._dbInfo.db && (Z._dbInfo.db.close(), Z._dbInfo.db = null);
40951
40957
  }
40952
40958
  return O.db = null, P(O).then(function(J) {
40953
- return O.db = J, E(O) ? D(O) : J;
40959
+ return O.db = J, M(O) ? D(O) : J;
40954
40960
  }).then(function(J) {
40955
40961
  O.db = H.db = J;
40956
40962
  for (var ae = 0; ae < B.length; ae++)
@@ -41010,7 +41016,7 @@ var G6 = { exports: {} };
41010
41016
  return d.all(J).then(function() {
41011
41017
  return B.db = Z.db, P(B);
41012
41018
  }).then(function(Ce) {
41013
- return B.db = Ce, E(B, H._defaultConfig.version) ? D(B) : Ce;
41019
+ return B.db = Ce, M(B, H._defaultConfig.version) ? D(B) : Ce;
41014
41020
  }).then(function(Ce) {
41015
41021
  B.db = Z.db = Ce, H._dbInfo = B;
41016
41022
  for (var Pe = 0; Pe < ke.length; Pe++) {
@@ -41077,11 +41083,11 @@ var G6 = { exports: {} };
41077
41083
  var Z = new d(function(J, ae) {
41078
41084
  var pe;
41079
41085
  Q.ready().then(function() {
41080
- return pe = Q._dbInfo, T.call(H) === "[object Blob]" ? U(pe.db).then(function(_e) {
41086
+ return pe = Q._dbInfo, A.call(H) === "[object Blob]" ? U(pe.db).then(function(_e) {
41081
41087
  return _e ? H : Y(H);
41082
41088
  }) : H;
41083
41089
  }).then(function(_e) {
41084
- Ne(Q._dbInfo, A, function(ke, Ce) {
41090
+ Ne(Q._dbInfo, T, function(ke, Ce) {
41085
41091
  if (ke)
41086
41092
  return ae(ke);
41087
41093
  try {
@@ -41107,7 +41113,7 @@ var G6 = { exports: {} };
41107
41113
  O = p(O);
41108
41114
  var Q = new d(function(Z, J) {
41109
41115
  B.ready().then(function() {
41110
- Ne(B._dbInfo, A, function(ae, pe) {
41116
+ Ne(B._dbInfo, T, function(ae, pe) {
41111
41117
  if (ae)
41112
41118
  return J(ae);
41113
41119
  try {
@@ -41131,7 +41137,7 @@ var G6 = { exports: {} };
41131
41137
  function gt(O) {
41132
41138
  var H = this, B = new d(function(Q, Z) {
41133
41139
  H.ready().then(function() {
41134
- Ne(H._dbInfo, A, function(J, ae) {
41140
+ Ne(H._dbInfo, T, function(J, ae) {
41135
41141
  if (J)
41136
41142
  return Z(J);
41137
41143
  try {
@@ -42058,17 +42064,17 @@ var J6 = { exports: {} };
42058
42064
  n.exports = r();
42059
42065
  })(oa, function() {
42060
42066
  var t = 1e3, r = 6e4, i = 36e5, o = "millisecond", s = "second", a = "minute", l = "hour", c = "day", u = "week", d = "month", f = "quarter", h = "year", p = "date", m = "Invalid Date", v = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, k = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(D) {
42061
- var E = ["th", "st", "nd", "rd"], Y = D % 100;
42062
- return "[" + D + (E[(Y - 20) % 10] || E[Y] || E[0]) + "]";
42063
- } }, T = function(D, E, Y) {
42067
+ var M = ["th", "st", "nd", "rd"], Y = D % 100;
42068
+ return "[" + D + (M[(Y - 20) % 10] || M[Y] || M[0]) + "]";
42069
+ } }, A = function(D, M, Y) {
42064
42070
  var K = String(D);
42065
- return !K || K.length >= E ? D : "" + Array(E + 1 - K.length).join(Y) + D;
42066
- }, x = { s: T, z: function(D) {
42067
- var E = -D.utcOffset(), Y = Math.abs(E), K = Math.floor(Y / 60), j = Y % 60;
42068
- return (E <= 0 ? "+" : "-") + T(K, 2, "0") + ":" + T(j, 2, "0");
42069
- }, m: function D(E, Y) {
42070
- if (E.date() < Y.date()) return -D(Y, E);
42071
- var K = 12 * (Y.year() - E.year()) + (Y.month() - E.month()), j = E.clone().add(K, d), se = Y - j < 0, me = E.clone().add(K + (se ? -1 : 1), d);
42071
+ return !K || K.length >= M ? D : "" + Array(M + 1 - K.length).join(Y) + D;
42072
+ }, x = { s: A, z: function(D) {
42073
+ var M = -D.utcOffset(), Y = Math.abs(M), K = Math.floor(Y / 60), j = Y % 60;
42074
+ return (M <= 0 ? "+" : "-") + A(K, 2, "0") + ":" + A(j, 2, "0");
42075
+ }, m: function D(M, Y) {
42076
+ if (M.date() < Y.date()) return -D(Y, M);
42077
+ var K = 12 * (Y.year() - M.year()) + (Y.month() - M.month()), j = M.clone().add(K, d), se = Y - j < 0, me = M.clone().add(K + (se ? -1 : 1), d);
42072
42078
  return +(-(K + (Y - j) / (se ? j - me : me - j)) || 0);
42073
42079
  }, a: function(D) {
42074
42080
  return D < 0 ? Math.ceil(D) || 0 : Math.floor(D);
@@ -42076,37 +42082,37 @@ var J6 = { exports: {} };
42076
42082
  return { M: d, y: h, w: u, d: c, D: p, h: l, m: a, s, ms: o, Q: f }[D] || String(D || "").toLowerCase().replace(/s$/, "");
42077
42083
  }, u: function(D) {
42078
42084
  return D === void 0;
42079
- } }, A = "en", N = {};
42080
- N[A] = k;
42085
+ } }, T = "en", E = {};
42086
+ E[T] = k;
42081
42087
  var R = "$isDayjsObject", U = function(D) {
42082
42088
  return D instanceof S || !(!D || !D[R]);
42083
- }, L = function D(E, Y, K) {
42089
+ }, L = function D(M, Y, K) {
42084
42090
  var j;
42085
- if (!E) return A;
42086
- if (typeof E == "string") {
42087
- var se = E.toLowerCase();
42088
- N[se] && (j = se), Y && (N[se] = Y, j = se);
42089
- var me = E.split("-");
42091
+ if (!M) return T;
42092
+ if (typeof M == "string") {
42093
+ var se = M.toLowerCase();
42094
+ E[se] && (j = se), Y && (E[se] = Y, j = se);
42095
+ var me = M.split("-");
42090
42096
  if (!j && me.length > 1) return D(me[0]);
42091
42097
  } else {
42092
- var Ne = E.name;
42093
- N[Ne] = E, j = Ne;
42098
+ var Ne = M.name;
42099
+ E[Ne] = M, j = Ne;
42094
42100
  }
42095
- return !K && j && (A = j), j || !K && A;
42096
- }, te = function(D, E) {
42101
+ return !K && j && (T = j), j || !K && T;
42102
+ }, te = function(D, M) {
42097
42103
  if (U(D)) return D.clone();
42098
- var Y = typeof E == "object" ? E : {};
42104
+ var Y = typeof M == "object" ? M : {};
42099
42105
  return Y.date = D, Y.args = arguments, new S(Y);
42100
42106
  }, re = x;
42101
- re.l = L, re.i = U, re.w = function(D, E) {
42102
- return te(D, { locale: E.$L, utc: E.$u, x: E.$x, $offset: E.$offset });
42107
+ re.l = L, re.i = U, re.w = function(D, M) {
42108
+ return te(D, { locale: M.$L, utc: M.$u, x: M.$x, $offset: M.$offset });
42103
42109
  };
42104
42110
  var S = function() {
42105
42111
  function D(Y) {
42106
42112
  this.$L = L(Y.locale, null, !0), this.parse(Y), this.$x = this.$x || Y.x || {}, this[R] = !0;
42107
42113
  }
42108
- var E = D.prototype;
42109
- return E.parse = function(Y) {
42114
+ var M = D.prototype;
42115
+ return M.parse = function(Y) {
42110
42116
  this.$d = function(K) {
42111
42117
  var j = K.date, se = K.utc;
42112
42118
  if (j === null) return /* @__PURE__ */ new Date(NaN);
@@ -42121,27 +42127,27 @@ var J6 = { exports: {} };
42121
42127
  }
42122
42128
  return new Date(j);
42123
42129
  }(Y), this.init();
42124
- }, E.init = function() {
42130
+ }, M.init = function() {
42125
42131
  var Y = this.$d;
42126
42132
  this.$y = Y.getFullYear(), this.$M = Y.getMonth(), this.$D = Y.getDate(), this.$W = Y.getDay(), this.$H = Y.getHours(), this.$m = Y.getMinutes(), this.$s = Y.getSeconds(), this.$ms = Y.getMilliseconds();
42127
- }, E.$utils = function() {
42133
+ }, M.$utils = function() {
42128
42134
  return re;
42129
- }, E.isValid = function() {
42135
+ }, M.isValid = function() {
42130
42136
  return this.$d.toString() !== m;
42131
- }, E.isSame = function(Y, K) {
42137
+ }, M.isSame = function(Y, K) {
42132
42138
  var j = te(Y);
42133
42139
  return this.startOf(K) <= j && j <= this.endOf(K);
42134
- }, E.isAfter = function(Y, K) {
42140
+ }, M.isAfter = function(Y, K) {
42135
42141
  return te(Y) < this.startOf(K);
42136
- }, E.isBefore = function(Y, K) {
42142
+ }, M.isBefore = function(Y, K) {
42137
42143
  return this.endOf(K) < te(Y);
42138
- }, E.$g = function(Y, K, j) {
42144
+ }, M.$g = function(Y, K, j) {
42139
42145
  return re.u(Y) ? this[K] : this.set(j, Y);
42140
- }, E.unix = function() {
42146
+ }, M.unix = function() {
42141
42147
  return Math.floor(this.valueOf() / 1e3);
42142
- }, E.valueOf = function() {
42148
+ }, M.valueOf = function() {
42143
42149
  return this.$d.getTime();
42144
- }, E.startOf = function(Y, K) {
42150
+ }, M.startOf = function(Y, K) {
42145
42151
  var j = this, se = !!re.u(K) || K, me = re.p(Y), Ne = function(Tt, ot) {
42146
42152
  var Ot = re.w(j.$u ? Date.UTC(j.$y, ot, Tt) : new Date(j.$y, ot, Tt), j);
42147
42153
  return se ? Ot : Ot.endOf(c);
@@ -42168,20 +42174,20 @@ var J6 = { exports: {} };
42168
42174
  default:
42169
42175
  return this.clone();
42170
42176
  }
42171
- }, E.endOf = function(Y) {
42177
+ }, M.endOf = function(Y) {
42172
42178
  return this.startOf(Y, !1);
42173
- }, E.$set = function(Y, K) {
42179
+ }, M.$set = function(Y, K) {
42174
42180
  var j, se = re.p(Y), me = "set" + (this.$u ? "UTC" : ""), Ne = (j = {}, j[c] = me + "Date", j[p] = me + "Date", j[d] = me + "Month", j[h] = me + "FullYear", j[l] = me + "Hours", j[a] = me + "Minutes", j[s] = me + "Seconds", j[o] = me + "Milliseconds", j)[se], he = se === c ? this.$D + (K - this.$W) : K;
42175
42181
  if (se === d || se === h) {
42176
42182
  var Me = this.clone().set(p, 1);
42177
42183
  Me.$d[Ne](he), Me.init(), this.$d = Me.set(p, Math.min(this.$D, Me.daysInMonth())).$d;
42178
42184
  } else Ne && this.$d[Ne](he);
42179
42185
  return this.init(), this;
42180
- }, E.set = function(Y, K) {
42186
+ }, M.set = function(Y, K) {
42181
42187
  return this.clone().$set(Y, K);
42182
- }, E.get = function(Y) {
42188
+ }, M.get = function(Y) {
42183
42189
  return this[re.p(Y)]();
42184
- }, E.add = function(Y, K) {
42190
+ }, M.add = function(Y, K) {
42185
42191
  var j, se = this;
42186
42192
  Y = Number(Y);
42187
42193
  var me = re.p(K), Ne = function($e) {
@@ -42194,9 +42200,9 @@ var J6 = { exports: {} };
42194
42200
  if (me === u) return Ne(7);
42195
42201
  var he = (j = {}, j[a] = r, j[l] = i, j[s] = t, j)[me] || 1, Me = this.$d.getTime() + Y * he;
42196
42202
  return re.w(Me, this);
42197
- }, E.subtract = function(Y, K) {
42203
+ }, M.subtract = function(Y, K) {
42198
42204
  return this.add(-1 * Y, K);
42199
- }, E.format = function(Y) {
42205
+ }, M.format = function(Y) {
42200
42206
  var K = this, j = this.$locale();
42201
42207
  if (!this.isValid()) return j.invalidDate || m;
42202
42208
  var se = Y || "YYYY-MM-DDTHH:mm:ssZ", me = re.z(this), Ne = this.$H, he = this.$m, Me = this.$M, $e = j.weekdays, tt = j.months, Nt = j.meridiem, xt = function(ot, Ot, un, gn) {
@@ -42262,9 +42268,9 @@ var J6 = { exports: {} };
42262
42268
  return null;
42263
42269
  }(ot) || me.replace(":", "");
42264
42270
  });
42265
- }, E.utcOffset = function() {
42271
+ }, M.utcOffset = function() {
42266
42272
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
42267
- }, E.diff = function(Y, K, j) {
42273
+ }, M.diff = function(Y, K, j) {
42268
42274
  var se, me = this, Ne = re.p(K), he = te(Y), Me = (he.utcOffset() - this.utcOffset()) * r, $e = this - he, tt = function() {
42269
42275
  return re.m(me, he);
42270
42276
  };
@@ -42297,35 +42303,35 @@ var J6 = { exports: {} };
42297
42303
  se = $e;
42298
42304
  }
42299
42305
  return j ? se : re.a(se);
42300
- }, E.daysInMonth = function() {
42306
+ }, M.daysInMonth = function() {
42301
42307
  return this.endOf(d).$D;
42302
- }, E.$locale = function() {
42303
- return N[this.$L];
42304
- }, E.locale = function(Y, K) {
42308
+ }, M.$locale = function() {
42309
+ return E[this.$L];
42310
+ }, M.locale = function(Y, K) {
42305
42311
  if (!Y) return this.$L;
42306
42312
  var j = this.clone(), se = L(Y, K, !0);
42307
42313
  return se && (j.$L = se), j;
42308
- }, E.clone = function() {
42314
+ }, M.clone = function() {
42309
42315
  return re.w(this.$d, this);
42310
- }, E.toDate = function() {
42316
+ }, M.toDate = function() {
42311
42317
  return new Date(this.valueOf());
42312
- }, E.toJSON = function() {
42318
+ }, M.toJSON = function() {
42313
42319
  return this.isValid() ? this.toISOString() : null;
42314
- }, E.toISOString = function() {
42320
+ }, M.toISOString = function() {
42315
42321
  return this.$d.toISOString();
42316
- }, E.toString = function() {
42322
+ }, M.toString = function() {
42317
42323
  return this.$d.toUTCString();
42318
42324
  }, D;
42319
42325
  }(), P = S.prototype;
42320
42326
  return te.prototype = P, [["$ms", o], ["$s", s], ["$m", a], ["$H", l], ["$W", c], ["$M", d], ["$y", h], ["$D", p]].forEach(function(D) {
42321
- P[D[1]] = function(E) {
42322
- return this.$g(E, D[0], D[1]);
42327
+ P[D[1]] = function(M) {
42328
+ return this.$g(M, D[0], D[1]);
42323
42329
  };
42324
- }), te.extend = function(D, E) {
42325
- return D.$i || (D(E, S, te), D.$i = !0), te;
42330
+ }), te.extend = function(D, M) {
42331
+ return D.$i || (D(M, S, te), D.$i = !0), te;
42326
42332
  }, te.locale = L, te.isDayjs = U, te.unix = function(D) {
42327
42333
  return te(1e3 * D);
42328
- }, te.en = N[A], te.Ls = N, te.p = {}, te;
42334
+ }, te.en = E[T], te.Ls = E, te.p = {}, te;
42329
42335
  });
42330
42336
  })(J6);
42331
42337
  var jB = J6.exports;
@@ -42363,7 +42369,7 @@ const qB = {}, KB = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
42363
42369
  l && (i.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW || !k) && (k = function(S) {
42364
42370
  return typeof S == "object" && S.buffer && S.buffer.constructor === ArrayBuffer;
42365
42371
  });
42366
- var T = function(S) {
42372
+ var A = function(S) {
42367
42373
  var P = typeof S;
42368
42374
  if (P === "string")
42369
42375
  return [S, !0];
@@ -42378,21 +42384,21 @@ const qB = {}, KB = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
42378
42384
  return function(P) {
42379
42385
  return new L(!0).update(P)[S]();
42380
42386
  };
42381
- }, A = function() {
42387
+ }, T = function() {
42382
42388
  var S = x("hex");
42383
- s && (S = N(S)), S.create = function() {
42389
+ s && (S = E(S)), S.create = function() {
42384
42390
  return new L();
42385
- }, S.update = function(E) {
42386
- return S.create().update(E);
42391
+ }, S.update = function(M) {
42392
+ return S.create().update(M);
42387
42393
  };
42388
42394
  for (var P = 0; P < f.length; ++P) {
42389
42395
  var D = f[P];
42390
42396
  S[D] = x(D);
42391
42397
  }
42392
42398
  return S;
42393
- }, N = function(S) {
42394
- var P = uy, D = uy.Buffer, E;
42395
- D.from && !i.JS_MD5_NO_BUFFER_FROM ? E = D.from : E = function(K) {
42399
+ }, E = function(S) {
42400
+ var P = uy, D = uy.Buffer, M;
42401
+ D.from && !i.JS_MD5_NO_BUFFER_FROM ? M = D.from : M = function(K) {
42396
42402
  return new D(K);
42397
42403
  };
42398
42404
  var Y = function(K) {
@@ -42400,7 +42406,7 @@ const qB = {}, KB = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
42400
42406
  return P.createHash("md5").update(K, "utf8").digest("hex");
42401
42407
  if (K == null)
42402
42408
  throw new Error(e);
42403
- return K.constructor === ArrayBuffer && (K = new Uint8Array(K)), y(K) || k(K) || K.constructor === D ? P.createHash("md5").update(E(K)).digest("hex") : S(K);
42409
+ return K.constructor === ArrayBuffer && (K = new Uint8Array(K)), y(K) || k(K) || K.constructor === D ? P.createHash("md5").update(M(K)).digest("hex") : S(K);
42404
42410
  };
42405
42411
  return Y;
42406
42412
  }, R = function(S) {
@@ -42409,10 +42415,10 @@ const qB = {}, KB = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
42409
42415
  };
42410
42416
  }, U = function() {
42411
42417
  var S = R("hex");
42412
- S.create = function(E) {
42413
- return new te(E);
42414
- }, S.update = function(E, Y) {
42415
- return S.create(E).update(Y);
42418
+ S.create = function(M) {
42419
+ return new te(M);
42420
+ }, S.update = function(M, Y) {
42421
+ return S.create(M).update(Y);
42416
42422
  };
42417
42423
  for (var P = 0; P < f.length; ++P) {
42418
42424
  var D = f[P];
@@ -42433,16 +42439,16 @@ const qB = {}, KB = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
42433
42439
  L.prototype.update = function(S) {
42434
42440
  if (this.finalized)
42435
42441
  throw new Error(t);
42436
- var P = T(S);
42442
+ var P = A(S);
42437
42443
  S = P[0];
42438
- for (var D = P[1], E, Y = 0, K, j = S.length, se = this.blocks, me = this.buffer8; Y < j; ) {
42444
+ for (var D = P[1], M, Y = 0, K, j = S.length, se = this.blocks, me = this.buffer8; Y < j; ) {
42439
42445
  if (this.hashed && (this.hashed = !1, se[0] = se[16], se[16] = se[1] = se[2] = se[3] = se[4] = se[5] = se[6] = se[7] = se[8] = se[9] = se[10] = se[11] = se[12] = se[13] = se[14] = se[15] = 0), D)
42440
42446
  if (l)
42441
42447
  for (K = this.start; Y < j && K < 64; ++Y)
42442
- E = S.charCodeAt(Y), E < 128 ? me[K++] = E : E < 2048 ? (me[K++] = 192 | E >>> 6, me[K++] = 128 | E & 63) : E < 55296 || E >= 57344 ? (me[K++] = 224 | E >>> 12, me[K++] = 128 | E >>> 6 & 63, me[K++] = 128 | E & 63) : (E = 65536 + ((E & 1023) << 10 | S.charCodeAt(++Y) & 1023), me[K++] = 240 | E >>> 18, me[K++] = 128 | E >>> 12 & 63, me[K++] = 128 | E >>> 6 & 63, me[K++] = 128 | E & 63);
42448
+ M = S.charCodeAt(Y), M < 128 ? me[K++] = M : M < 2048 ? (me[K++] = 192 | M >>> 6, me[K++] = 128 | M & 63) : M < 55296 || M >= 57344 ? (me[K++] = 224 | M >>> 12, me[K++] = 128 | M >>> 6 & 63, me[K++] = 128 | M & 63) : (M = 65536 + ((M & 1023) << 10 | S.charCodeAt(++Y) & 1023), me[K++] = 240 | M >>> 18, me[K++] = 128 | M >>> 12 & 63, me[K++] = 128 | M >>> 6 & 63, me[K++] = 128 | M & 63);
42443
42449
  else
42444
42450
  for (K = this.start; Y < j && K < 64; ++Y)
42445
- E = S.charCodeAt(Y), E < 128 ? se[K >>> 2] |= E << d[K++ & 3] : E < 2048 ? (se[K >>> 2] |= (192 | E >>> 6) << d[K++ & 3], se[K >>> 2] |= (128 | E & 63) << d[K++ & 3]) : E < 55296 || E >= 57344 ? (se[K >>> 2] |= (224 | E >>> 12) << d[K++ & 3], se[K >>> 2] |= (128 | E >>> 6 & 63) << d[K++ & 3], se[K >>> 2] |= (128 | E & 63) << d[K++ & 3]) : (E = 65536 + ((E & 1023) << 10 | S.charCodeAt(++Y) & 1023), se[K >>> 2] |= (240 | E >>> 18) << d[K++ & 3], se[K >>> 2] |= (128 | E >>> 12 & 63) << d[K++ & 3], se[K >>> 2] |= (128 | E >>> 6 & 63) << d[K++ & 3], se[K >>> 2] |= (128 | E & 63) << d[K++ & 3]);
42451
+ M = S.charCodeAt(Y), M < 128 ? se[K >>> 2] |= M << d[K++ & 3] : M < 2048 ? (se[K >>> 2] |= (192 | M >>> 6) << d[K++ & 3], se[K >>> 2] |= (128 | M & 63) << d[K++ & 3]) : M < 55296 || M >= 57344 ? (se[K >>> 2] |= (224 | M >>> 12) << d[K++ & 3], se[K >>> 2] |= (128 | M >>> 6 & 63) << d[K++ & 3], se[K >>> 2] |= (128 | M & 63) << d[K++ & 3]) : (M = 65536 + ((M & 1023) << 10 | S.charCodeAt(++Y) & 1023), se[K >>> 2] |= (240 | M >>> 18) << d[K++ & 3], se[K >>> 2] |= (128 | M >>> 12 & 63) << d[K++ & 3], se[K >>> 2] |= (128 | M >>> 6 & 63) << d[K++ & 3], se[K >>> 2] |= (128 | M & 63) << d[K++ & 3]);
42446
42452
  else if (l)
42447
42453
  for (K = this.start; Y < j && K < 64; ++Y)
42448
42454
  me[K++] = S[Y];
@@ -42459,15 +42465,15 @@ const qB = {}, KB = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
42459
42465
  S[P >>> 2] |= u[P & 3], P >= 56 && (this.hashed || this.hash(), S[0] = S[16], S[16] = S[1] = S[2] = S[3] = S[4] = S[5] = S[6] = S[7] = S[8] = S[9] = S[10] = S[11] = S[12] = S[13] = S[14] = S[15] = 0), S[14] = this.bytes << 3, S[15] = this.hBytes << 3 | this.bytes >>> 29, this.hash();
42460
42466
  }
42461
42467
  }, L.prototype.hash = function() {
42462
- var S, P, D, E, Y, K, j = this.blocks;
42463
- this.first ? (S = j[0] - 680876937, S = (S << 7 | S >>> 25) - 271733879 << 0, E = (-1732584194 ^ S & 2004318071) + j[1] - 117830708, E = (E << 12 | E >>> 20) + S << 0, D = (-271733879 ^ E & (S ^ -271733879)) + j[2] - 1126478375, D = (D << 17 | D >>> 15) + E << 0, P = (S ^ D & (E ^ S)) + j[3] - 1316259209, P = (P << 22 | P >>> 10) + D << 0) : (S = this.h0, P = this.h1, D = this.h2, E = this.h3, S += (E ^ P & (D ^ E)) + j[0] - 680876936, S = (S << 7 | S >>> 25) + P << 0, E += (D ^ S & (P ^ D)) + j[1] - 389564586, E = (E << 12 | E >>> 20) + S << 0, D += (P ^ E & (S ^ P)) + j[2] + 606105819, D = (D << 17 | D >>> 15) + E << 0, P += (S ^ D & (E ^ S)) + j[3] - 1044525330, P = (P << 22 | P >>> 10) + D << 0), S += (E ^ P & (D ^ E)) + j[4] - 176418897, S = (S << 7 | S >>> 25) + P << 0, E += (D ^ S & (P ^ D)) + j[5] + 1200080426, E = (E << 12 | E >>> 20) + S << 0, D += (P ^ E & (S ^ P)) + j[6] - 1473231341, D = (D << 17 | D >>> 15) + E << 0, P += (S ^ D & (E ^ S)) + j[7] - 45705983, P = (P << 22 | P >>> 10) + D << 0, S += (E ^ P & (D ^ E)) + j[8] + 1770035416, S = (S << 7 | S >>> 25) + P << 0, E += (D ^ S & (P ^ D)) + j[9] - 1958414417, E = (E << 12 | E >>> 20) + S << 0, D += (P ^ E & (S ^ P)) + j[10] - 42063, D = (D << 17 | D >>> 15) + E << 0, P += (S ^ D & (E ^ S)) + j[11] - 1990404162, P = (P << 22 | P >>> 10) + D << 0, S += (E ^ P & (D ^ E)) + j[12] + 1804603682, S = (S << 7 | S >>> 25) + P << 0, E += (D ^ S & (P ^ D)) + j[13] - 40341101, E = (E << 12 | E >>> 20) + S << 0, D += (P ^ E & (S ^ P)) + j[14] - 1502002290, D = (D << 17 | D >>> 15) + E << 0, P += (S ^ D & (E ^ S)) + j[15] + 1236535329, P = (P << 22 | P >>> 10) + D << 0, S += (D ^ E & (P ^ D)) + j[1] - 165796510, S = (S << 5 | S >>> 27) + P << 0, E += (P ^ D & (S ^ P)) + j[6] - 1069501632, E = (E << 9 | E >>> 23) + S << 0, D += (S ^ P & (E ^ S)) + j[11] + 643717713, D = (D << 14 | D >>> 18) + E << 0, P += (E ^ S & (D ^ E)) + j[0] - 373897302, P = (P << 20 | P >>> 12) + D << 0, S += (D ^ E & (P ^ D)) + j[5] - 701558691, S = (S << 5 | S >>> 27) + P << 0, E += (P ^ D & (S ^ P)) + j[10] + 38016083, E = (E << 9 | E >>> 23) + S << 0, D += (S ^ P & (E ^ S)) + j[15] - 660478335, D = (D << 14 | D >>> 18) + E << 0, P += (E ^ S & (D ^ E)) + j[4] - 405537848, P = (P << 20 | P >>> 12) + D << 0, S += (D ^ E & (P ^ D)) + j[9] + 568446438, S = (S << 5 | S >>> 27) + P << 0, E += (P ^ D & (S ^ P)) + j[14] - 1019803690, E = (E << 9 | E >>> 23) + S << 0, D += (S ^ P & (E ^ S)) + j[3] - 187363961, D = (D << 14 | D >>> 18) + E << 0, P += (E ^ S & (D ^ E)) + j[8] + 1163531501, P = (P << 20 | P >>> 12) + D << 0, S += (D ^ E & (P ^ D)) + j[13] - 1444681467, S = (S << 5 | S >>> 27) + P << 0, E += (P ^ D & (S ^ P)) + j[2] - 51403784, E = (E << 9 | E >>> 23) + S << 0, D += (S ^ P & (E ^ S)) + j[7] + 1735328473, D = (D << 14 | D >>> 18) + E << 0, P += (E ^ S & (D ^ E)) + j[12] - 1926607734, P = (P << 20 | P >>> 12) + D << 0, Y = P ^ D, S += (Y ^ E) + j[5] - 378558, S = (S << 4 | S >>> 28) + P << 0, E += (Y ^ S) + j[8] - 2022574463, E = (E << 11 | E >>> 21) + S << 0, K = E ^ S, D += (K ^ P) + j[11] + 1839030562, D = (D << 16 | D >>> 16) + E << 0, P += (K ^ D) + j[14] - 35309556, P = (P << 23 | P >>> 9) + D << 0, Y = P ^ D, S += (Y ^ E) + j[1] - 1530992060, S = (S << 4 | S >>> 28) + P << 0, E += (Y ^ S) + j[4] + 1272893353, E = (E << 11 | E >>> 21) + S << 0, K = E ^ S, D += (K ^ P) + j[7] - 155497632, D = (D << 16 | D >>> 16) + E << 0, P += (K ^ D) + j[10] - 1094730640, P = (P << 23 | P >>> 9) + D << 0, Y = P ^ D, S += (Y ^ E) + j[13] + 681279174, S = (S << 4 | S >>> 28) + P << 0, E += (Y ^ S) + j[0] - 358537222, E = (E << 11 | E >>> 21) + S << 0, K = E ^ S, D += (K ^ P) + j[3] - 722521979, D = (D << 16 | D >>> 16) + E << 0, P += (K ^ D) + j[6] + 76029189, P = (P << 23 | P >>> 9) + D << 0, Y = P ^ D, S += (Y ^ E) + j[9] - 640364487, S = (S << 4 | S >>> 28) + P << 0, E += (Y ^ S) + j[12] - 421815835, E = (E << 11 | E >>> 21) + S << 0, K = E ^ S, D += (K ^ P) + j[15] + 530742520, D = (D << 16 | D >>> 16) + E << 0, P += (K ^ D) + j[2] - 995338651, P = (P << 23 | P >>> 9) + D << 0, S += (D ^ (P | ~E)) + j[0] - 198630844, S = (S << 6 | S >>> 26) + P << 0, E += (P ^ (S | ~D)) + j[7] + 1126891415, E = (E << 10 | E >>> 22) + S << 0, D += (S ^ (E | ~P)) + j[14] - 1416354905, D = (D << 15 | D >>> 17) + E << 0, P += (E ^ (D | ~S)) + j[5] - 57434055, P = (P << 21 | P >>> 11) + D << 0, S += (D ^ (P | ~E)) + j[12] + 1700485571, S = (S << 6 | S >>> 26) + P << 0, E += (P ^ (S | ~D)) + j[3] - 1894986606, E = (E << 10 | E >>> 22) + S << 0, D += (S ^ (E | ~P)) + j[10] - 1051523, D = (D << 15 | D >>> 17) + E << 0, P += (E ^ (D | ~S)) + j[1] - 2054922799, P = (P << 21 | P >>> 11) + D << 0, S += (D ^ (P | ~E)) + j[8] + 1873313359, S = (S << 6 | S >>> 26) + P << 0, E += (P ^ (S | ~D)) + j[15] - 30611744, E = (E << 10 | E >>> 22) + S << 0, D += (S ^ (E | ~P)) + j[6] - 1560198380, D = (D << 15 | D >>> 17) + E << 0, P += (E ^ (D | ~S)) + j[13] + 1309151649, P = (P << 21 | P >>> 11) + D << 0, S += (D ^ (P | ~E)) + j[4] - 145523070, S = (S << 6 | S >>> 26) + P << 0, E += (P ^ (S | ~D)) + j[11] - 1120210379, E = (E << 10 | E >>> 22) + S << 0, D += (S ^ (E | ~P)) + j[2] + 718787259, D = (D << 15 | D >>> 17) + E << 0, P += (E ^ (D | ~S)) + j[9] - 343485551, P = (P << 21 | P >>> 11) + D << 0, this.first ? (this.h0 = S + 1732584193 << 0, this.h1 = P - 271733879 << 0, this.h2 = D - 1732584194 << 0, this.h3 = E + 271733878 << 0, this.first = !1) : (this.h0 = this.h0 + S << 0, this.h1 = this.h1 + P << 0, this.h2 = this.h2 + D << 0, this.h3 = this.h3 + E << 0);
42468
+ var S, P, D, M, Y, K, j = this.blocks;
42469
+ this.first ? (S = j[0] - 680876937, S = (S << 7 | S >>> 25) - 271733879 << 0, M = (-1732584194 ^ S & 2004318071) + j[1] - 117830708, M = (M << 12 | M >>> 20) + S << 0, D = (-271733879 ^ M & (S ^ -271733879)) + j[2] - 1126478375, D = (D << 17 | D >>> 15) + M << 0, P = (S ^ D & (M ^ S)) + j[3] - 1316259209, P = (P << 22 | P >>> 10) + D << 0) : (S = this.h0, P = this.h1, D = this.h2, M = this.h3, S += (M ^ P & (D ^ M)) + j[0] - 680876936, S = (S << 7 | S >>> 25) + P << 0, M += (D ^ S & (P ^ D)) + j[1] - 389564586, M = (M << 12 | M >>> 20) + S << 0, D += (P ^ M & (S ^ P)) + j[2] + 606105819, D = (D << 17 | D >>> 15) + M << 0, P += (S ^ D & (M ^ S)) + j[3] - 1044525330, P = (P << 22 | P >>> 10) + D << 0), S += (M ^ P & (D ^ M)) + j[4] - 176418897, S = (S << 7 | S >>> 25) + P << 0, M += (D ^ S & (P ^ D)) + j[5] + 1200080426, M = (M << 12 | M >>> 20) + S << 0, D += (P ^ M & (S ^ P)) + j[6] - 1473231341, D = (D << 17 | D >>> 15) + M << 0, P += (S ^ D & (M ^ S)) + j[7] - 45705983, P = (P << 22 | P >>> 10) + D << 0, S += (M ^ P & (D ^ M)) + j[8] + 1770035416, S = (S << 7 | S >>> 25) + P << 0, M += (D ^ S & (P ^ D)) + j[9] - 1958414417, M = (M << 12 | M >>> 20) + S << 0, D += (P ^ M & (S ^ P)) + j[10] - 42063, D = (D << 17 | D >>> 15) + M << 0, P += (S ^ D & (M ^ S)) + j[11] - 1990404162, P = (P << 22 | P >>> 10) + D << 0, S += (M ^ P & (D ^ M)) + j[12] + 1804603682, S = (S << 7 | S >>> 25) + P << 0, M += (D ^ S & (P ^ D)) + j[13] - 40341101, M = (M << 12 | M >>> 20) + S << 0, D += (P ^ M & (S ^ P)) + j[14] - 1502002290, D = (D << 17 | D >>> 15) + M << 0, P += (S ^ D & (M ^ S)) + j[15] + 1236535329, P = (P << 22 | P >>> 10) + D << 0, S += (D ^ M & (P ^ D)) + j[1] - 165796510, S = (S << 5 | S >>> 27) + P << 0, M += (P ^ D & (S ^ P)) + j[6] - 1069501632, M = (M << 9 | M >>> 23) + S << 0, D += (S ^ P & (M ^ S)) + j[11] + 643717713, D = (D << 14 | D >>> 18) + M << 0, P += (M ^ S & (D ^ M)) + j[0] - 373897302, P = (P << 20 | P >>> 12) + D << 0, S += (D ^ M & (P ^ D)) + j[5] - 701558691, S = (S << 5 | S >>> 27) + P << 0, M += (P ^ D & (S ^ P)) + j[10] + 38016083, M = (M << 9 | M >>> 23) + S << 0, D += (S ^ P & (M ^ S)) + j[15] - 660478335, D = (D << 14 | D >>> 18) + M << 0, P += (M ^ S & (D ^ M)) + j[4] - 405537848, P = (P << 20 | P >>> 12) + D << 0, S += (D ^ M & (P ^ D)) + j[9] + 568446438, S = (S << 5 | S >>> 27) + P << 0, M += (P ^ D & (S ^ P)) + j[14] - 1019803690, M = (M << 9 | M >>> 23) + S << 0, D += (S ^ P & (M ^ S)) + j[3] - 187363961, D = (D << 14 | D >>> 18) + M << 0, P += (M ^ S & (D ^ M)) + j[8] + 1163531501, P = (P << 20 | P >>> 12) + D << 0, S += (D ^ M & (P ^ D)) + j[13] - 1444681467, S = (S << 5 | S >>> 27) + P << 0, M += (P ^ D & (S ^ P)) + j[2] - 51403784, M = (M << 9 | M >>> 23) + S << 0, D += (S ^ P & (M ^ S)) + j[7] + 1735328473, D = (D << 14 | D >>> 18) + M << 0, P += (M ^ S & (D ^ M)) + j[12] - 1926607734, P = (P << 20 | P >>> 12) + D << 0, Y = P ^ D, S += (Y ^ M) + j[5] - 378558, S = (S << 4 | S >>> 28) + P << 0, M += (Y ^ S) + j[8] - 2022574463, M = (M << 11 | M >>> 21) + S << 0, K = M ^ S, D += (K ^ P) + j[11] + 1839030562, D = (D << 16 | D >>> 16) + M << 0, P += (K ^ D) + j[14] - 35309556, P = (P << 23 | P >>> 9) + D << 0, Y = P ^ D, S += (Y ^ M) + j[1] - 1530992060, S = (S << 4 | S >>> 28) + P << 0, M += (Y ^ S) + j[4] + 1272893353, M = (M << 11 | M >>> 21) + S << 0, K = M ^ S, D += (K ^ P) + j[7] - 155497632, D = (D << 16 | D >>> 16) + M << 0, P += (K ^ D) + j[10] - 1094730640, P = (P << 23 | P >>> 9) + D << 0, Y = P ^ D, S += (Y ^ M) + j[13] + 681279174, S = (S << 4 | S >>> 28) + P << 0, M += (Y ^ S) + j[0] - 358537222, M = (M << 11 | M >>> 21) + S << 0, K = M ^ S, D += (K ^ P) + j[3] - 722521979, D = (D << 16 | D >>> 16) + M << 0, P += (K ^ D) + j[6] + 76029189, P = (P << 23 | P >>> 9) + D << 0, Y = P ^ D, S += (Y ^ M) + j[9] - 640364487, S = (S << 4 | S >>> 28) + P << 0, M += (Y ^ S) + j[12] - 421815835, M = (M << 11 | M >>> 21) + S << 0, K = M ^ S, D += (K ^ P) + j[15] + 530742520, D = (D << 16 | D >>> 16) + M << 0, P += (K ^ D) + j[2] - 995338651, P = (P << 23 | P >>> 9) + D << 0, S += (D ^ (P | ~M)) + j[0] - 198630844, S = (S << 6 | S >>> 26) + P << 0, M += (P ^ (S | ~D)) + j[7] + 1126891415, M = (M << 10 | M >>> 22) + S << 0, D += (S ^ (M | ~P)) + j[14] - 1416354905, D = (D << 15 | D >>> 17) + M << 0, P += (M ^ (D | ~S)) + j[5] - 57434055, P = (P << 21 | P >>> 11) + D << 0, S += (D ^ (P | ~M)) + j[12] + 1700485571, S = (S << 6 | S >>> 26) + P << 0, M += (P ^ (S | ~D)) + j[3] - 1894986606, M = (M << 10 | M >>> 22) + S << 0, D += (S ^ (M | ~P)) + j[10] - 1051523, D = (D << 15 | D >>> 17) + M << 0, P += (M ^ (D | ~S)) + j[1] - 2054922799, P = (P << 21 | P >>> 11) + D << 0, S += (D ^ (P | ~M)) + j[8] + 1873313359, S = (S << 6 | S >>> 26) + P << 0, M += (P ^ (S | ~D)) + j[15] - 30611744, M = (M << 10 | M >>> 22) + S << 0, D += (S ^ (M | ~P)) + j[6] - 1560198380, D = (D << 15 | D >>> 17) + M << 0, P += (M ^ (D | ~S)) + j[13] + 1309151649, P = (P << 21 | P >>> 11) + D << 0, S += (D ^ (P | ~M)) + j[4] - 145523070, S = (S << 6 | S >>> 26) + P << 0, M += (P ^ (S | ~D)) + j[11] - 1120210379, M = (M << 10 | M >>> 22) + S << 0, D += (S ^ (M | ~P)) + j[2] + 718787259, D = (D << 15 | D >>> 17) + M << 0, P += (M ^ (D | ~S)) + j[9] - 343485551, P = (P << 21 | P >>> 11) + D << 0, this.first ? (this.h0 = S + 1732584193 << 0, this.h1 = P - 271733879 << 0, this.h2 = D - 1732584194 << 0, this.h3 = M + 271733878 << 0, this.first = !1) : (this.h0 = this.h0 + S << 0, this.h1 = this.h1 + P << 0, this.h2 = this.h2 + D << 0, this.h3 = this.h3 + M << 0);
42464
42470
  }, L.prototype.hex = function() {
42465
42471
  this.finalize();
42466
- var S = this.h0, P = this.h1, D = this.h2, E = this.h3;
42467
- return c[S >>> 4 & 15] + c[S & 15] + c[S >>> 12 & 15] + c[S >>> 8 & 15] + c[S >>> 20 & 15] + c[S >>> 16 & 15] + c[S >>> 28 & 15] + c[S >>> 24 & 15] + c[P >>> 4 & 15] + c[P & 15] + c[P >>> 12 & 15] + c[P >>> 8 & 15] + c[P >>> 20 & 15] + c[P >>> 16 & 15] + c[P >>> 28 & 15] + c[P >>> 24 & 15] + c[D >>> 4 & 15] + c[D & 15] + c[D >>> 12 & 15] + c[D >>> 8 & 15] + c[D >>> 20 & 15] + c[D >>> 16 & 15] + c[D >>> 28 & 15] + c[D >>> 24 & 15] + c[E >>> 4 & 15] + c[E & 15] + c[E >>> 12 & 15] + c[E >>> 8 & 15] + c[E >>> 20 & 15] + c[E >>> 16 & 15] + c[E >>> 28 & 15] + c[E >>> 24 & 15];
42472
+ var S = this.h0, P = this.h1, D = this.h2, M = this.h3;
42473
+ return c[S >>> 4 & 15] + c[S & 15] + c[S >>> 12 & 15] + c[S >>> 8 & 15] + c[S >>> 20 & 15] + c[S >>> 16 & 15] + c[S >>> 28 & 15] + c[S >>> 24 & 15] + c[P >>> 4 & 15] + c[P & 15] + c[P >>> 12 & 15] + c[P >>> 8 & 15] + c[P >>> 20 & 15] + c[P >>> 16 & 15] + c[P >>> 28 & 15] + c[P >>> 24 & 15] + c[D >>> 4 & 15] + c[D & 15] + c[D >>> 12 & 15] + c[D >>> 8 & 15] + c[D >>> 20 & 15] + c[D >>> 16 & 15] + c[D >>> 28 & 15] + c[D >>> 24 & 15] + c[M >>> 4 & 15] + c[M & 15] + c[M >>> 12 & 15] + c[M >>> 8 & 15] + c[M >>> 20 & 15] + c[M >>> 16 & 15] + c[M >>> 28 & 15] + c[M >>> 24 & 15];
42468
42474
  }, L.prototype.toString = L.prototype.hex, L.prototype.digest = function() {
42469
42475
  this.finalize();
42470
- var S = this.h0, P = this.h1, D = this.h2, E = this.h3;
42476
+ var S = this.h0, P = this.h1, D = this.h2, M = this.h3;
42471
42477
  return [
42472
42478
  S & 255,
42473
42479
  S >>> 8 & 255,
@@ -42481,23 +42487,23 @@ const qB = {}, KB = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
42481
42487
  D >>> 8 & 255,
42482
42488
  D >>> 16 & 255,
42483
42489
  D >>> 24 & 255,
42484
- E & 255,
42485
- E >>> 8 & 255,
42486
- E >>> 16 & 255,
42487
- E >>> 24 & 255
42490
+ M & 255,
42491
+ M >>> 8 & 255,
42492
+ M >>> 16 & 255,
42493
+ M >>> 24 & 255
42488
42494
  ];
42489
42495
  }, L.prototype.array = L.prototype.digest, L.prototype.arrayBuffer = function() {
42490
42496
  this.finalize();
42491
42497
  var S = new ArrayBuffer(16), P = new Uint32Array(S);
42492
42498
  return P[0] = this.h0, P[1] = this.h1, P[2] = this.h2, P[3] = this.h3, S;
42493
42499
  }, L.prototype.buffer = L.prototype.arrayBuffer, L.prototype.base64 = function() {
42494
- for (var S, P, D, E = "", Y = this.array(), K = 0; K < 15; )
42495
- S = Y[K++], P = Y[K++], D = Y[K++], E += h[S >>> 2] + h[(S << 4 | P >>> 4) & 63] + h[(P << 2 | D >>> 6) & 63] + h[D & 63];
42496
- return S = Y[K], E += h[S >>> 2] + h[S << 4 & 63] + "==", E;
42500
+ for (var S, P, D, M = "", Y = this.array(), K = 0; K < 15; )
42501
+ S = Y[K++], P = Y[K++], D = Y[K++], M += h[S >>> 2] + h[(S << 4 | P >>> 4) & 63] + h[(P << 2 | D >>> 6) & 63] + h[D & 63];
42502
+ return S = Y[K], M += h[S >>> 2] + h[S << 4 & 63] + "==", M;
42497
42503
  };
42498
42504
  function te(S, P) {
42499
- var D, E = T(S);
42500
- if (S = E[0], E[1]) {
42505
+ var D, M = A(S);
42506
+ if (S = M[0], M[1]) {
42501
42507
  var Y = [], K = S.length, j = 0, se;
42502
42508
  for (D = 0; D < K; ++D)
42503
42509
  se = S.charCodeAt(D), se < 128 ? Y[j++] = se : se < 2048 ? (Y[j++] = 192 | se >>> 6, Y[j++] = 128 | se & 63) : se < 55296 || se >= 57344 ? (Y[j++] = 224 | se >>> 12, Y[j++] = 128 | se >>> 6 & 63, Y[j++] = 128 | se & 63) : (se = 65536 + ((se & 1023) << 10 | S.charCodeAt(++D) & 1023), Y[j++] = 240 | se >>> 18, Y[j++] = 128 | se >>> 12 & 63, Y[j++] = 128 | se >>> 6 & 63, Y[j++] = 128 | se & 63);
@@ -42518,7 +42524,7 @@ const qB = {}, KB = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
42518
42524
  L.call(this, this.sharedMemory), this.update(this.oKeyPad), this.update(S), L.prototype.finalize.call(this);
42519
42525
  }
42520
42526
  };
42521
- var re = A();
42527
+ var re = T();
42522
42528
  re.md5 = re, re.md5.hmac = U(), a ? n.exports = re : i.md5 = re;
42523
42529
  })();
42524
42530
  })(X6);
@@ -42547,7 +42553,7 @@ const Od = /* @__PURE__ */ o1(GB), YB = { class: "smart-shortcuts-drawer-header"
42547
42553
  c.commands.setContent(p);
42548
42554
  }
42549
42555
  async function f() {
42550
- var p, m, v, y, k, T;
42556
+ var p, m, v, y, k, A;
42551
42557
  const h = await i.getItem(s.value);
42552
42558
  if (h && h.content) {
42553
42559
  const x = Od(JSON.stringify((p = r.value) == null ? void 0 : p.getJSON()));
@@ -42556,11 +42562,11 @@ const Od = /* @__PURE__ */ o1(GB), YB = { class: "smart-shortcuts-drawer-header"
42556
42562
  time: Nd().unix(),
42557
42563
  version: "local",
42558
42564
  versionId: (y = e.value.history) == null ? void 0 : y.versionId
42559
- }), l.value = await i.getAllItems()), (k = r.value) == null || k.commands.setContent(h.content), (T = r.value) == null || T.commands.focus("end"), a.value = !1;
42565
+ }), l.value = await i.getAllItems()), (k = r.value) == null || k.commands.setContent(h.content), (A = r.value) == null || A.commands.enter(), a.value = !1;
42560
42566
  }
42561
42567
  }
42562
42568
  return (h, p) => {
42563
- const m = Er, v = P4, y = Q7, k = Z7, T = jy, x = qy;
42569
+ const m = Er, v = P4, y = Q7, k = Z7, A = jy, x = qy;
42564
42570
  return I(), le(et, null, [
42565
42571
  V(v, {
42566
42572
  content: ("t" in h ? h.t : g(_))("history.title")
@@ -42570,7 +42576,7 @@ const Od = /* @__PURE__ */ o1(GB), YB = { class: "smart-shortcuts-drawer-header"
42570
42576
  class: "smart-status-bar-button",
42571
42577
  quaternary: "",
42572
42578
  size: "tiny",
42573
- onClick: p[0] || (p[0] = (A) => a.value = !0)
42579
+ onClick: p[0] || (p[0] = (T) => a.value = !0)
42574
42580
  }, {
42575
42581
  default: ne(() => p[3] || (p[3] = [
42576
42582
  q("i", { class: "i-sed:history" }, null, -1)
@@ -42582,14 +42588,14 @@ const Od = /* @__PURE__ */ o1(GB), YB = { class: "smart-shortcuts-drawer-header"
42582
42588
  }, 8, ["content"]),
42583
42589
  V(x, {
42584
42590
  show: g(a),
42585
- "onUpdate:show": p[2] || (p[2] = (A) => No(a) ? a.value = A : null),
42591
+ "onUpdate:show": p[2] || (p[2] = (T) => No(a) ? a.value = T : null),
42586
42592
  "auto-focus": !1,
42587
42593
  height: 600,
42588
42594
  to: g(t),
42589
42595
  placement: "bottom"
42590
42596
  }, {
42591
42597
  default: ne(() => [
42592
- V(T, { "body-content-class": "smart-scrollbar smart-history-drawer-body" }, {
42598
+ V(A, { "body-content-class": "smart-scrollbar smart-history-drawer-body" }, {
42593
42599
  header: ne(() => [
42594
42600
  q("div", YB, [
42595
42601
  p[4] || (p[4] = q("i", { class: "smart-icon i-sed:history" }, null, -1)),
@@ -42618,12 +42624,12 @@ const Od = /* @__PURE__ */ o1(GB), YB = { class: "smart-shortcuts-drawer-header"
42618
42624
  g(l).length ? (I(), le("div", ZB, [
42619
42625
  q("div", eP, " 全部记录 ( " + xe(g(l).length) + " ) ", 1),
42620
42626
  q("div", tP, [
42621
- (I(!0), le(et, null, Mn(g(u), (A, N) => (I(), le("div", {
42622
- key: N,
42623
- class: ht(["versions-group-item", A.key === g(s) && "active"]),
42624
- onClick: (R) => d(A)
42627
+ (I(!0), le(et, null, Mn(g(u), (T, E) => (I(), le("div", {
42628
+ key: E,
42629
+ class: ht(["versions-group-item", T.key === g(s) && "active"]),
42630
+ onClick: (R) => d(T)
42625
42631
  }, [
42626
- Mt(xe(g(Nd).unix(A.value.time).format("YYYY-MM-DD HH:mm:ss")) + " ", 1),
42632
+ Mt(xe(g(Nd).unix(T.value.time).format("YYYY-MM-DD HH:mm:ss")) + " ", 1),
42627
42633
  q("div", null, [
42628
42634
  V(k, {
42629
42635
  size: "small",
@@ -42633,11 +42639,11 @@ const Od = /* @__PURE__ */ o1(GB), YB = { class: "smart-shortcuts-drawer-header"
42633
42639
  }, {
42634
42640
  icon: ne(() => [
42635
42641
  q("i", {
42636
- class: ht(`i-sed:history-${A.value.version}`)
42642
+ class: ht(`i-sed:history-${T.value.version}`)
42637
42643
  }, null, 2)
42638
42644
  ]),
42639
42645
  default: ne(() => [
42640
- Mt(xe(o[A.value.version]) + " ", 1)
42646
+ Mt(xe(o[T.value.version]) + " ", 1)
42641
42647
  ]),
42642
42648
  _: 2
42643
42649
  }, 1024)
@@ -42647,7 +42653,7 @@ const Od = /* @__PURE__ */ o1(GB), YB = { class: "smart-shortcuts-drawer-header"
42647
42653
  q("div", rP, [
42648
42654
  V(m, {
42649
42655
  size: "small",
42650
- onClick: p[1] || (p[1] = (A) => a.value = !1)
42656
+ onClick: p[1] || (p[1] = (T) => a.value = !1)
42651
42657
  }, {
42652
42658
  default: ne(() => p[6] || (p[6] = [
42653
42659
  Mt(" 关闭 ")
@@ -43103,7 +43109,7 @@ const gP = { class: "smart-status-bar" }, bP = { class: "smart-status-bar-left"
43103
43109
  window.open(t.value.companyUrl, "_blank");
43104
43110
  }
43105
43111
  return (m, v) => {
43106
- const y = Er, k = P4, T = e8, x = iP, A = wx, N = jy, R = qy;
43112
+ const y = Er, k = P4, A = e8, x = iP, T = wx, E = jy, R = qy;
43107
43113
  return I(), le(et, null, [
43108
43114
  q("div", gP, [
43109
43115
  q("div", bP, [
@@ -43198,7 +43204,7 @@ const gP = { class: "smart-status-bar" }, bP = { class: "smart-status-bar-left"
43198
43204
  _: 1
43199
43205
  }, 8, ["content"]),
43200
43206
  v[10] || (v[10] = q("div", { class: "smart-status-bar-split" }, null, -1)),
43201
- V(T, {
43207
+ V(A, {
43202
43208
  placement: "top",
43203
43209
  to: g(e),
43204
43210
  "show-arrow": !1,
@@ -43247,7 +43253,7 @@ const gP = { class: "smart-status-bar" }, bP = { class: "smart-status-bar-left"
43247
43253
  }),
43248
43254
  _: 1
43249
43255
  }, 8, ["to"]),
43250
- V(T, {
43256
+ V(A, {
43251
43257
  placement: "top",
43252
43258
  show: g(d),
43253
43259
  to: g(e),
@@ -43313,7 +43319,7 @@ const gP = { class: "smart-status-bar" }, bP = { class: "smart-status-bar-left"
43313
43319
  to: g(e)
43314
43320
  }, {
43315
43321
  default: ne(() => [
43316
- V(N, { "body-content-class": "smart-scrollbar" }, {
43322
+ V(E, { "body-content-class": "smart-scrollbar" }, {
43317
43323
  header: ne(() => [
43318
43324
  q("div", NP, [
43319
43325
  v[11] || (v[11] = q("i", { class: "smart-icon i-sed:shortcut" }, null, -1)),
@@ -43321,7 +43327,7 @@ const gP = { class: "smart-status-bar" }, bP = { class: "smart-status-bar-left"
43321
43327
  ])
43322
43328
  ]),
43323
43329
  default: ne(() => [
43324
- V(A)
43330
+ V(T)
43325
43331
  ]),
43326
43332
  _: 1
43327
43333
  })
@@ -43347,8 +43353,8 @@ const gP = { class: "smart-status-bar" }, bP = { class: "smart-status-bar-left"
43347
43353
  });
43348
43354
  const u = Ye(
43349
43355
  () => {
43350
- var k, T;
43351
- return ((T = (k = e.value) == null ? void 0 : k.storage.searchAndReplace) == null ? void 0 : T.results.length) || 0;
43356
+ var k, A;
43357
+ return ((A = (k = e.value) == null ? void 0 : k.storage.searchAndReplace) == null ? void 0 : A.results.length) || 0;
43352
43358
  }
43353
43359
  );
43354
43360
  function d() {
@@ -43361,28 +43367,28 @@ const gP = { class: "smart-status-bar" }, bP = { class: "smart-status-bar-left"
43361
43367
  function h() {
43362
43368
  if (!e.value)
43363
43369
  return;
43364
- const { results: k, resultIndex: T } = e.value.storage.searchAndReplace, x = k[T];
43370
+ const { results: k, resultIndex: A } = e.value.storage.searchAndReplace, x = k[A];
43365
43371
  if (!x)
43366
43372
  return;
43367
43373
  e.value.commands.setTextSelection(x);
43368
- const { node: A } = e.value.view.domAtPos(
43374
+ const { node: T } = e.value.view.domAtPos(
43369
43375
  e.value.state.selection.anchor
43370
43376
  );
43371
- A.scrollIntoView({ behavior: "smooth", block: "center" });
43377
+ T.scrollIntoView({ behavior: "smooth", block: "center" });
43372
43378
  }
43373
43379
  jt(
43374
43380
  () => a.value.trim(),
43375
- (k, T) => {
43376
- k || d(), k !== T && f(!0);
43381
+ (k, A) => {
43382
+ k || d(), k !== A && f(!0);
43377
43383
  }
43378
43384
  ), jt(
43379
43385
  () => l.value.trim(),
43380
- (k, T) => k === T ? null : f()
43386
+ (k, A) => k === A ? null : f()
43381
43387
  ), jt(
43382
43388
  () => c.value,
43383
43389
  // 修复:使用 getter 函数监听 caseSensitive 的值
43384
- (k, T) => {
43385
- k !== T && f(!0);
43390
+ (k, A) => {
43391
+ k !== A && f(!0);
43386
43392
  }
43387
43393
  );
43388
43394
  function p() {
@@ -43406,8 +43412,8 @@ const gP = { class: "smart-status-bar" }, bP = { class: "smart-status-bar-left"
43406
43412
  (k) => {
43407
43413
  a.value = k ? yc(e.value) : "";
43408
43414
  }
43409
- ), (k, T) => {
43410
- const x = Ky, A = Er, N = t8, R = n8;
43415
+ ), (k, A) => {
43416
+ const x = Ky, T = Er, E = t8, R = n8;
43411
43417
  return g(t) ? (I(), X(g(I8), {
43412
43418
  key: 0,
43413
43419
  "container-element": g(r),
@@ -43419,7 +43425,7 @@ const gP = { class: "smart-status-bar" }, bP = { class: "smart-status-bar-left"
43419
43425
  V(R, {
43420
43426
  closable: "",
43421
43427
  style: { width: "420px", "box-shadow": "0 1px 2px -2px rgba(0, 0, 0, .08), 0 3px 6px 0 rgba(0, 0, 0, .06), 0 5px 12px 4px rgba(0, 0, 0, .04)" },
43422
- onClose: T[3] || (T[3] = (U) => t.value = !1)
43428
+ onClose: A[3] || (A[3] = (U) => t.value = !1)
43423
43429
  }, {
43424
43430
  header: ne(() => [
43425
43431
  q("div", {
@@ -43433,7 +43439,7 @@ const gP = { class: "smart-status-bar" }, bP = { class: "smart-status-bar-left"
43433
43439
  q("div", LP, [
43434
43440
  V(x, {
43435
43441
  value: g(a),
43436
- "onUpdate:value": T[0] || (T[0] = (U) => No(a) ? a.value = U : null),
43442
+ "onUpdate:value": A[0] || (A[0] = (U) => No(a) ? a.value = U : null),
43437
43443
  placeholder: ("t" in k ? k.t : g(_))("search.searchText"),
43438
43444
  clearable: ""
43439
43445
  }, {
@@ -43445,22 +43451,22 @@ const gP = { class: "smart-status-bar" }, bP = { class: "smart-status-bar-left"
43445
43451
  }),
43446
43452
  _: 1
43447
43453
  }, 8, ["value", "placeholder"]),
43448
- V(A, {
43454
+ V(T, {
43449
43455
  disabled: g(u) === 0,
43450
43456
  quaternary: "",
43451
43457
  onClick: p
43452
43458
  }, {
43453
- default: ne(() => T[4] || (T[4] = [
43459
+ default: ne(() => A[4] || (A[4] = [
43454
43460
  q("i", { class: "i-sed:arrow-down" }, null, -1)
43455
43461
  ])),
43456
43462
  _: 1
43457
43463
  }, 8, ["disabled"]),
43458
- V(A, {
43464
+ V(T, {
43459
43465
  disabled: g(u) === 0,
43460
43466
  quaternary: "",
43461
43467
  onClick: m
43462
43468
  }, {
43463
- default: ne(() => T[5] || (T[5] = [
43469
+ default: ne(() => A[5] || (A[5] = [
43464
43470
  q("i", {
43465
43471
  class: "i-sed:arrow-down",
43466
43472
  style: { transform: "rotate(180deg)" }
@@ -43472,15 +43478,15 @@ const gP = { class: "smart-status-bar" }, bP = { class: "smart-status-bar-left"
43472
43478
  q("div", RP, [
43473
43479
  V(x, {
43474
43480
  value: g(l),
43475
- "onUpdate:value": T[1] || (T[1] = (U) => No(l) ? l.value = U : null),
43481
+ "onUpdate:value": A[1] || (A[1] = (U) => No(l) ? l.value = U : null),
43476
43482
  placeholder: ("t" in k ? k.t : g(_))("search.replaceText"),
43477
43483
  clearable: ""
43478
43484
  }, null, 8, ["value", "placeholder"])
43479
43485
  ]),
43480
43486
  q("div", BP, [
43481
- V(N, {
43487
+ V(E, {
43482
43488
  checked: g(c),
43483
- "onUpdate:checked": T[2] || (T[2] = (U) => No(c) ? c.value = U : null)
43489
+ "onUpdate:checked": A[2] || (A[2] = (U) => No(c) ? c.value = U : null)
43484
43490
  }, {
43485
43491
  default: ne(() => [
43486
43492
  Mt(xe(("t" in k ? k.t : g(_))("search.caseSensitive")), 1)
@@ -43489,7 +43495,7 @@ const gP = { class: "smart-status-bar" }, bP = { class: "smart-status-bar-left"
43489
43495
  }, 8, ["checked"])
43490
43496
  ]),
43491
43497
  q("div", PP, [
43492
- V(A, {
43498
+ V(T, {
43493
43499
  disabled: g(u) === 0,
43494
43500
  quaternary: "",
43495
43501
  onClick: v
@@ -43499,7 +43505,7 @@ const gP = { class: "smart-status-bar" }, bP = { class: "smart-status-bar-left"
43499
43505
  ]),
43500
43506
  _: 1
43501
43507
  }, 8, ["disabled"]),
43502
- V(A, {
43508
+ V(T, {
43503
43509
  disabled: g(u) === 0,
43504
43510
  quaternary: "",
43505
43511
  onClick: y
@@ -43509,7 +43515,7 @@ const gP = { class: "smart-status-bar" }, bP = { class: "smart-status-bar-left"
43509
43515
  ]),
43510
43516
  _: 1
43511
43517
  }, 8, ["disabled"]),
43512
- V(A, {
43518
+ V(T, {
43513
43519
  disabled: g(u) === 0,
43514
43520
  type: "primary",
43515
43521
  onClick: p
@@ -43673,13 +43679,13 @@ const gP = { class: "smart-status-bar" }, bP = { class: "smart-status-bar-left"
43673
43679
  }
43674
43680
  }
43675
43681
  const f = Ye(() => {
43676
- var m, v, y, k, T, x, A, N, R, U, L, te, re, S, P, D, E, Y, K, j, se, me, Ne;
43682
+ var m, v, y, k, A, x, T, E, R, U, L, te, re, S, P, D, M, Y, K, j, se, me, Ne;
43677
43683
  return [
43678
43684
  {
43679
43685
  label: _("assistant.text"),
43680
43686
  key: "assistant",
43681
43687
  icon: u("i-sed:assistant"),
43682
- show: !!((v = (m = i.value) == null ? void 0 : m.assistant) != null && v.enabled && ((y = t.value) != null && y.isActive("paragraph") || (k = t.value) != null && k.isActive("heading")) && ((N = (A = (x = (T = t.value) == null ? void 0 : T.state) == null ? void 0 : x.selection) == null ? void 0 : A.$from) != null && N.nodeAfter)),
43688
+ show: !!((v = (m = i.value) == null ? void 0 : m.assistant) != null && v.enabled && ((y = t.value) != null && y.isActive("paragraph") || (k = t.value) != null && k.isActive("heading")) && ((E = (T = (x = (A = t.value) == null ? void 0 : A.state) == null ? void 0 : x.selection) == null ? void 0 : T.$from) != null && E.nodeAfter)),
43683
43689
  props: {
43684
43690
  onClick: () => {
43685
43691
  h();
@@ -43913,7 +43919,7 @@ const gP = { class: "smart-status-bar" }, bP = { class: "smart-status-bar-left"
43913
43919
  label: _("base.heading.paragraph"),
43914
43920
  key: "paragraph",
43915
43921
  icon: u("i-sed:paragraph"),
43916
- disabled: (E = t.value) == null ? void 0 : E.isActive("paragraph"),
43922
+ disabled: (M = t.value) == null ? void 0 : M.isActive("paragraph"),
43917
43923
  props: {
43918
43924
  onClick: () => {
43919
43925
  var he, Me;
@@ -44047,16 +44053,16 @@ const gP = { class: "smart-status-bar" }, bP = { class: "smart-status-bar-left"
44047
44053
  ];
44048
44054
  });
44049
44055
  function h() {
44050
- var y, k, T, x;
44056
+ var y, k, A, x;
44051
44057
  o.value = !0, (y = t.value) == null || y.commands.selectParentNode(), (k = t.value) == null || k.commands.focus();
44052
- const { from: m, to: v } = ((T = t.value) == null ? void 0 : T.state.selection) ?? {};
44058
+ const { from: m, to: v } = ((A = t.value) == null ? void 0 : A.state.selection) ?? {};
44053
44059
  (x = t.value) == null || x.commands.setTextSelection({ from: m ?? 0, to: v ?? 0 });
44054
44060
  }
44055
44061
  async function p(m) {
44056
44062
  t.value.commands.focus(), r.value = m, s.value = m;
44057
44063
  }
44058
44064
  return (m, v) => {
44059
- var T;
44065
+ var A;
44060
44066
  const y = Er, k = cc;
44061
44067
  return I(), le(et, null, [
44062
44068
  V(k, {
@@ -44067,13 +44073,13 @@ const gP = { class: "smart-status-bar" }, bP = { class: "smart-status-bar-left"
44067
44073
  "onUpdate:show": p
44068
44074
  }, {
44069
44075
  default: ne(() => {
44070
- var x, A;
44076
+ var x, T;
44071
44077
  return [
44072
44078
  V(y, {
44073
44079
  class: ht(["smart-menu-button", { active: g(s) && ((x = g(t)) == null ? void 0 : x.isEditable) !== !1 }]),
44074
44080
  quaternary: "",
44075
44081
  size: "small",
44076
- disabled: ((A = g(t)) == null ? void 0 : A.isEditable) === !1
44082
+ disabled: ((T = g(t)) == null ? void 0 : T.isEditable) === !1
44077
44083
  }, {
44078
44084
  default: ne(() => v[1] || (v[1] = [
44079
44085
  q("div", { class: "smart-button-content" }, [
@@ -44086,7 +44092,7 @@ const gP = { class: "smart-status-bar" }, bP = { class: "smart-status-bar-left"
44086
44092
  }),
44087
44093
  _: 1
44088
44094
  }, 8, ["to", "options"]),
44089
- g(a) ? (I(), X(Kt((T = g(i).render[g(l)]) == null ? void 0 : T.insert()), {
44095
+ g(a) ? (I(), X(Kt((A = g(i).render[g(l)]) == null ? void 0 : A.insert()), {
44090
44096
  key: 0,
44091
44097
  visible: g(a),
44092
44098
  header: g(c),
@@ -44212,8 +44218,8 @@ const jP = {
44212
44218
  jt(o, () => {
44213
44219
  v();
44214
44220
  });
44215
- async function y(N) {
44216
- if (N && (f.value = N), !f.value)
44221
+ async function y(E) {
44222
+ if (E && (f.value = E), !f.value)
44217
44223
  return;
44218
44224
  o.value = "", s.value = !1, l.value = 0, c.value = 0, u.value = {
44219
44225
  content: "",
@@ -44240,13 +44246,13 @@ const jP = {
44240
44246
  }
44241
44247
  const P = new TextDecoder();
44242
44248
  for (; ; ) {
44243
- const { done: D, value: E } = await S.read();
44249
+ const { done: D, value: M } = await S.read();
44244
44250
  let Y = "";
44245
44251
  if (D) {
44246
44252
  i.value = !1;
44247
44253
  break;
44248
44254
  } else {
44249
- Y += P.decode(E, { stream: !0 });
44255
+ Y += P.decode(M, { stream: !0 });
44250
44256
  let K;
44251
44257
  for (; (K = Y.indexOf(`
44252
44258
 
@@ -44261,25 +44267,25 @@ const jP = {
44261
44267
  }
44262
44268
  }
44263
44269
  function k() {
44264
- var N;
44265
- r.value = !1, (N = t.value) == null || N.commands.focus();
44270
+ var E;
44271
+ r.value = !1, (E = t.value) == null || E.commands.focus();
44266
44272
  }
44267
- function T() {
44273
+ function A() {
44268
44274
  h.value && h.value.abort();
44269
44275
  }
44270
44276
  function x() {
44271
44277
  var R, U;
44272
- const { to: N } = (R = t.value) == null ? void 0 : R.state.selection;
44273
- (U = t.value) == null || U.chain().focus().insertContentAt(N, u.value.content).run();
44278
+ const { to: E } = (R = t.value) == null ? void 0 : R.state.selection;
44279
+ (U = t.value) == null || U.chain().focus().insertContentAt(E, u.value.content).run();
44274
44280
  }
44275
- function A() {
44281
+ function T() {
44276
44282
  var U, L;
44277
- const { from: N, to: R } = (U = t.value) == null ? void 0 : U.state.selection;
44278
- (L = t.value) == null || L.chain().focus().insertContentAt({ from: N, to: R }, u.value.content).run();
44283
+ const { from: E, to: R } = (U = t.value) == null ? void 0 : U.state.selection;
44284
+ (L = t.value) == null || L.chain().focus().insertContentAt({ from: E, to: R }, u.value.content).run();
44279
44285
  }
44280
44286
  return io(() => {
44281
44287
  h.value && h.value.abort();
44282
- }), (N, R) => (I(), le("div", qP, [
44288
+ }), (E, R) => (I(), le("div", qP, [
44283
44289
  q("div", KP, [
44284
44290
  g(u).content === "" || g(i) ? (I(), le("div", GP, [
44285
44291
  R[3] || (R[3] = q("div", { class: "title_icon" }, null, -1)),
@@ -44287,7 +44293,7 @@ const jP = {
44287
44293
  q("div", null, xe(g(_)("assistant.loading")), 1),
44288
44294
  q("div", {
44289
44295
  class: "stop",
44290
- onClick: T
44296
+ onClick: A
44291
44297
  }, [
44292
44298
  R[1] || (R[1] = q("i", { class: "i-sed:assistant-stop text-[#497fed]" }, null, -1)),
44293
44299
  q("span", JP, xe(g(_)("assistant.stop")), 1),
@@ -44303,7 +44309,7 @@ const jP = {
44303
44309
  }, xe(g(_)("assistant.insertBelow")), 1),
44304
44310
  q("button", {
44305
44311
  class: "operation_button",
44306
- onClick: A
44312
+ onClick: T
44307
44313
  }, xe(g(_)("assistant.replace")), 1),
44308
44314
  q("button", {
44309
44315
  class: "operation_button",
@@ -44454,7 +44460,7 @@ const jP = {
44454
44460
  ignore: [f, ".smart-popup"]
44455
44461
  }
44456
44462
  ), (m, v) => {
44457
- const y = Er, k = cc, T = Gy, x = Mp;
44463
+ const y = Er, k = cc, A = Gy, x = Mp;
44458
44464
  return I(), X(x, {
44459
44465
  show: g(l) && !g(c) && n.showTooltip,
44460
44466
  placement: "bottom",
@@ -44462,7 +44468,7 @@ const jP = {
44462
44468
  "show-arrow": !1
44463
44469
  }, {
44464
44470
  trigger: ne(() => {
44465
- var A, N, R, U;
44471
+ var T, E, R, U;
44466
44472
  return [
44467
44473
  q("div", {
44468
44474
  class: "smart-menu-button-wrap",
@@ -44474,11 +44480,11 @@ const jP = {
44474
44480
  key: 0,
44475
44481
  class: ["smart-menu-button", {
44476
44482
  "show-text": !n.hideText,
44477
- active: n.menuActive && ((A = g(s)) == null ? void 0 : A.isEditable) !== !1
44483
+ active: n.menuActive && ((T = g(s)) == null ? void 0 : T.isEditable) !== !1
44478
44484
  }],
44479
44485
  quaternary: "",
44480
44486
  size: "small",
44481
- disabled: n.disabled || ((N = g(s)) == null ? void 0 : N.isEditable) === !1
44487
+ disabled: n.disabled || ((E = g(s)) == null ? void 0 : E.isEditable) === !1
44482
44488
  }, g(i), { onClick: a }), {
44483
44489
  default: ne(() => [
44484
44490
  q("div", a$, [
@@ -44530,7 +44536,7 @@ const jP = {
44530
44536
  ];
44531
44537
  }),
44532
44538
  _: 3
44533
- }, 16, ["options", "to", "onSelect"])) : n.menuType === "select" ? (I(), X(T, Pn({
44539
+ }, 16, ["options", "to", "onSelect"])) : n.menuType === "select" ? (I(), X(A, Pn({
44534
44540
  key: 2,
44535
44541
  size: "tiny",
44536
44542
  placement: "bottom-left",
@@ -44713,8 +44719,8 @@ const w$ = ["id"], _$ = { class: "smart-color-picker-default-button" }, k$ = { c
44713
44719
  })
44714
44720
  ]),
44715
44721
  q("div", k$, [
44716
- (I(!0), le(et, null, Mn((y = g(o).dicts) == null ? void 0 : y.colors, (k, T) => (I(), le("div", {
44717
- key: T,
44722
+ (I(!0), le(et, null, Mn((y = g(o).dicts) == null ? void 0 : y.colors, (k, A) => (I(), le("div", {
44723
+ key: A,
44718
44724
  class: "smart-color-picker-item",
44719
44725
  style: Jt({ backgroundColor: k }),
44720
44726
  onClick: (x) => d(k)
@@ -44725,8 +44731,8 @@ const w$ = ["id"], _$ = { class: "smart-color-picker-default-button" }, k$ = { c
44725
44731
  textContent: xe(("t" in h ? h.t : g(_))("colorPicker.standard"))
44726
44732
  }, null, 8, C$),
44727
44733
  q("div", S$, [
44728
- (I(), le(et, null, Mn(a, (k, T) => q("div", {
44729
- key: T,
44734
+ (I(), le(et, null, Mn(a, (k, A) => q("div", {
44735
+ key: A,
44730
44736
  class: "smart-color-picker-item",
44731
44737
  style: Jt({ backgroundColor: k }),
44732
44738
  onClick: (x) => d(k)
@@ -44738,8 +44744,8 @@ const w$ = ["id"], _$ = { class: "smart-color-picker-default-button" }, k$ = { c
44738
44744
  textContent: xe(("t" in h ? h.t : g(_))("colorPicker.recent"))
44739
44745
  }, null, 8, A$),
44740
44746
  q("div", E$, [
44741
- (I(!0), le(et, null, Mn(g(s).colors, (k, T) => (I(), le("div", {
44742
- key: T,
44747
+ (I(!0), le(et, null, Mn(g(s).colors, (k, A) => (I(), le("div", {
44748
+ key: A,
44743
44749
  class: "smart-color-picker-item",
44744
44750
  style: Jt({ backgroundColor: k }),
44745
44751
  onClick: (x) => d(k)
@@ -44982,7 +44988,7 @@ const w$ = ["id"], _$ = { class: "smart-color-picker-default-button" }, k$ = { c
44982
44988
  const c = _c, u = Le;
44983
44989
  return I(), X(u, {
44984
44990
  ico: "i-sed:highlight",
44985
- text: ("t" in a ? a.t : g(_))("base.bgColor"),
44991
+ text: ("t" in a ? a.t : g(_))("bubbleMenu.bgColor"),
44986
44992
  "menu-type": "popup",
44987
44993
  "popup-handle": "arrow",
44988
44994
  "hide-text": "",
@@ -45009,7 +45015,7 @@ const w$ = ["id"], _$ = { class: "smart-color-picker-default-button" }, k$ = { c
45009
45015
  }, 8, ["text", "popup-visible", "onTogglePopup"]);
45010
45016
  };
45011
45017
  }
45012
- }, R$ = /* @__PURE__ */ Ge(L$, [["__scopeId", "data-v-dd8e0ec3"]]), B$ = {
45018
+ }, R$ = /* @__PURE__ */ Ge(L$, [["__scopeId", "data-v-aceda1d5"]]), B$ = {
45013
45019
  __name: "delete",
45014
45020
  setup(n) {
45015
45021
  const { editor: e } = de();
@@ -46250,7 +46256,7 @@ const w$ = ["id"], _$ = { class: "smart-color-picker-default-button" }, k$ = { c
46250
46256
  }));
46251
46257
  return (i, o) => {
46252
46258
  var he, Me, $e, tt, Nt, xt, gt, Tt, ot, Ot, un;
46253
- const s = pF, a = hF, l = fF, c = aF, u = sF, d = oF, f = iF, h = rF, p = Q$, m = X$, v = J$, y = Y$, k = G$, T = K$, x = q$, A = j$, N = U$, R = V$, U = H$, L = z$, te = F$, re = $$, S = P$, P = B$, D = R$, E = I$, Y = lw, K = aw, j = sw, se = ow, me = iw, Ne = rw;
46259
+ const s = pF, a = hF, l = fF, c = aF, u = sF, d = oF, f = iF, h = rF, p = Q$, m = X$, v = J$, y = Y$, k = G$, A = K$, x = q$, T = j$, E = U$, R = V$, U = H$, L = z$, te = F$, re = $$, S = P$, P = B$, D = R$, M = I$, Y = lw, K = aw, j = sw, se = ow, me = iw, Ne = rw;
46254
46260
  return (he = g(t)) != null && he.isActive("map") || (Me = g(t)) != null && Me.getAttributes("bubble").bubble || ($e = g(t)) != null && $e.isActive("pagination") || (tt = g(t)) != null && tt.isActive("horizontalRule") || (Nt = g(t)) != null && Nt.getAttributes("image").error || g(r) ? (I(), le(et, { key: 0 }, [], 64)) : (xt = g(t)) != null && xt.isActive("image") && !((gt = g(t)) != null && gt.getAttributes("image").error) ? (I(), le(et, { key: 1 }, [
46255
46261
  V(s),
46256
46262
  V(a),
@@ -46268,11 +46274,11 @@ const w$ = ["id"], _$ = { class: "smart-color-picker-default-button" }, k$ = { c
46268
46274
  V(v),
46269
46275
  V(y),
46270
46276
  V(k),
46271
- V(T),
46277
+ V(A),
46272
46278
  V(x),
46273
46279
  o[2] || (o[2] = q("div", { class: "smart-bubble-menu-divider" }, null, -1)),
46274
- V(A),
46275
- V(N),
46280
+ V(T),
46281
+ V(E),
46276
46282
  V(R)
46277
46283
  ], 64)) : (ot = g(t)) != null && ot.isActive("codeBlock") ? (I(), le(et, { key: 3 }, [
46278
46284
  V(U),
@@ -46288,7 +46294,7 @@ const w$ = ["id"], _$ = { class: "smart-color-picker-default-button" }, k$ = { c
46288
46294
  V(P)
46289
46295
  ], 64)) : (I(), le(et, { key: 5 }, [
46290
46296
  (un = g(e).assistant) != null && un.enabled ? (I(), le(et, { key: 0 }, [
46291
- V(E),
46297
+ V(M),
46292
46298
  o[5] || (o[5] = q("div", { class: "smart-bubble-menu-divider" }, null, -1))
46293
46299
  ], 64)) : Ve("", !0),
46294
46300
  V(Y),
@@ -48420,8 +48426,8 @@ class Fw extends cw {
48420
48426
  c ? this.stopCapturing() : u || this.clear(!1, !0);
48421
48427
  const f = new Ua();
48422
48428
  l.afterState.forEach((v, y) => {
48423
- const k = l.beforeState.get(y) || 0, T = v - k;
48424
- T > 0 && nc(f, y, k, T);
48429
+ const k = l.beforeState.get(y) || 0, A = v - k;
48430
+ A > 0 && nc(f, y, k, A);
48425
48431
  });
48426
48432
  const h = ez();
48427
48433
  let p = !1;
@@ -52959,14 +52965,14 @@ const p7 = (n, e, t, r, i, o) => {
52959
52965
  /** @type {PModel.Node} */
52960
52966
  h,
52961
52967
  r
52962
- ), T = Vy(
52968
+ ), A = Vy(
52963
52969
  /** @type {Y.XmlElement} */
52964
52970
  p,
52965
52971
  /** @type {PModel.Node} */
52966
52972
  m,
52967
52973
  r
52968
52974
  );
52969
- k.foundMappedChild && !T.foundMappedChild ? y = !1 : !k.foundMappedChild && T.foundMappedChild || k.equalityFactor < T.equalityFactor ? v = !1 : y = !1;
52975
+ k.foundMappedChild && !A.foundMappedChild ? y = !1 : !k.foundMappedChild && A.foundMappedChild || k.equalityFactor < A.equalityFactor ? v = !1 : y = !1;
52970
52976
  }
52971
52977
  v ? (Tp(
52972
52978
  n,
@@ -53402,51 +53408,43 @@ class QV extends kF {
53402
53408
  const ZV = {
53403
53409
  __name: "index",
53404
53410
  setup(n) {
53405
- var c, u, d, f, h, p, m, v;
53411
+ var c, u, d, f, h, p, m, v, y;
53406
53412
  const { options: e, editor: t, painter: r, setEditor: i, editorDestroyed: o } = de(), s = new ns();
53407
53413
  (c = e.value.history) != null && c.enable && new QV(`document-${e.value.editorKey}`, s).on("synced", async () => {
53408
- var A, N, R, U, L, te, re, S;
53409
- const k = new Y6(`history-${e.value.editorKey}`, "version"), T = Od(JSON.stringify((A = e.value.document) == null ? void 0 : A.content)), x = Od(JSON.stringify(t.value.getJSON()));
53410
- if ((N = t.value) != null && N.isEmpty) {
53411
- (U = t.value) == null || U.commands.setContent((R = e.value.document) == null ? void 0 : R.content);
53412
- return;
53413
- }
53414
- T !== x && !((L = t.value) != null && L.isEmpty) && await k.saveItem(x, {
53414
+ var E, R, U, L;
53415
+ const A = new Y6(`history-${e.value.editorKey}`, "version"), x = Od(JSON.stringify((E = e.value.document) == null ? void 0 : E.content)), T = Od(JSON.stringify(t.value.getJSON()));
53416
+ x !== T && await A.saveItem(T, {
53415
53417
  content: t.value.getJSON(),
53416
53418
  time: Nd().unix(),
53417
53419
  version: "local",
53418
- versionId: (te = e.value.history) == null ? void 0 : te.versionId
53419
- }), (S = t.value) == null || S.commands.setContent((re = e.value.document) == null ? void 0 : re.content);
53420
+ versionId: (R = e.value.history) == null ? void 0 : R.versionId
53421
+ }), (L = t.value) == null || L.commands.setContent((U = e.value.document) == null ? void 0 : U.content);
53420
53422
  });
53421
53423
  const a = new t1({
53422
53424
  editable: !((u = e.value.document) != null && u.readOnly),
53423
53425
  autofocus: (d = e.value.document) == null ? void 0 : d.autofocus,
53424
- content: (f = e.value.document) == null ? void 0 : f.content,
53426
+ content: (f = e.value.history) != null && f.enable || (h = e.value.document) == null ? void 0 : h.content,
53425
53427
  editorProps: {
53426
53428
  attributes: {
53427
53429
  class: "smart-editor"
53428
53430
  },
53429
- ...(h = e.value.document) == null ? void 0 : h.editorProps
53431
+ ...(p = e.value.document) == null ? void 0 : p.editorProps
53430
53432
  },
53431
- extensions: (p = e.value.history) != null && p.enable ? [...cp({ history: !((v = e.value.history) != null && v.enable) })].concat([
53432
- PV.configure({
53433
- document: s
53434
- })
53435
- ]) : [...cp({ history: !((m = e.value.history) != null && m.enable) })]
53433
+ extensions: (m = e.value.history) != null && m.enable ? [...cp({ history: !((y = e.value.history) != null && y.enable) }), PV.configure({ document: s })] : [...cp({ history: !((v = e.value.history) != null && v.enable) })]
53436
53434
  });
53437
53435
  i(a);
53438
53436
  function l() {
53439
- var k, T;
53440
- if (document.querySelector("#katex-style") === null && !((k = e.value.toolbar) != null && k.disableMenuItems.includes("math"))) {
53441
- const x = document.createElement("link");
53442
- x.href = "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.9/katex.min.css", x.rel = "stylesheet", x.id = "katex-style", (T = document.querySelector("head")) == null || T.append(x);
53437
+ var A, x;
53438
+ if (document.querySelector("#katex-style") === null && !((A = e.value.toolbar) != null && A.disableMenuItems.includes("math"))) {
53439
+ const T = document.createElement("link");
53440
+ T.href = "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.9/katex.min.css", T.rel = "stylesheet", T.id = "katex-style", (x = document.querySelector("head")) == null || x.append(T);
53443
53441
  }
53444
53442
  }
53445
53443
  return Qr(() => l()), io(() => {
53446
53444
  a.destroy();
53447
- }), (y, k) => {
53448
- var A;
53449
- const T = bF, x = jP;
53445
+ }), (k, A) => {
53446
+ var E;
53447
+ const x = bF, T = jP;
53450
53448
  return I(), le(et, null, [
53451
53449
  V(g(n1), {
53452
53450
  editor: g(t),
@@ -53454,8 +53452,8 @@ const ZV = {
53454
53452
  "format-painter": g(r).enabled
53455
53453
  }])
53456
53454
  }, null, 8, ["editor", "class"]),
53457
- g(t) && !g(o) ? (I(), X(T, { key: 0 })) : Ve("", !0),
53458
- (A = g(e).document) != null && A.enableBlockMenu && g(t) && !g(o) ? (I(), X(x, { key: 1 })) : Ve("", !0)
53455
+ g(t) && !g(o) ? (I(), X(x, { key: 0 })) : Ve("", !0),
53456
+ (E = g(e).document) != null && E.enableBlockMenu && g(t) && !g(o) ? (I(), X(T, { key: 1 })) : Ve("", !0)
53459
53457
  ], 64);
53460
53458
  };
53461
53459
  }
@@ -53474,12 +53472,11 @@ const ZV = {
53474
53472
  }
53475
53473
  function a(u) {
53476
53474
  return u.map((d) => {
53477
- const { id: f, level: h, node: p } = d, m = h, v = s(p);
53475
+ const { id: f, originalLevel: h, node: p } = d, m = s(p);
53478
53476
  return {
53479
53477
  id: f,
53480
- level: h,
53481
- originalLevel: m,
53482
- textContent: v,
53478
+ originalLevel: h,
53479
+ textContent: m,
53483
53480
  isActive: !1
53484
53481
  };
53485
53482
  });
@@ -53544,7 +53541,7 @@ const ZV = {
53544
53541
  ])
53545
53542
  ]));
53546
53543
  }
53547
- }, aU = /* @__PURE__ */ Ge(sU, [["__scopeId", "data-v-71176a42"]]), lU = { class: "smart-page-container" }, cU = { class: "smart-zoomable-container smart-scrollbar" }, uU = {
53544
+ }, aU = /* @__PURE__ */ Ge(sU, [["__scopeId", "data-v-68ccf9ee"]]), lU = { class: "smart-page-container" }, cU = { class: "smart-zoomable-container smart-scrollbar" }, uU = {
53548
53545
  __name: "page",
53549
53546
  setup(n) {
53550
53547
  const { container: e, page: t } = de(), r = Ye(() => {
@@ -53936,7 +53933,7 @@ const ZV = {
53936
53933
  (I(!0), le(et, null, Mn(m, (y, k) => (I(), le("div", {
53937
53934
  key: k,
53938
53935
  class: ht(["cell", { selected: s(v, k) }]),
53939
- onMouseover: (T) => a(v, k),
53936
+ onMouseover: (A) => a(v, k),
53940
53937
  onClick: c
53941
53938
  }, null, 42, xU))), 128))
53942
53939
  ]))), 128))
@@ -54035,14 +54032,14 @@ const ZV = {
54035
54032
  const { state: v } = e.value, { selection: y } = v, { $from: k } = y;
54036
54033
  if (f !== k.node(k.depth - 2))
54037
54034
  return;
54038
- const T = (p = e.value) == null ? void 0 : p.view.state.tr.setNodeMarkup(
54035
+ const A = (p = e.value) == null ? void 0 : p.view.state.tr.setNodeMarkup(
54039
54036
  h,
54040
54037
  void 0,
54041
54038
  {
54042
54039
  listStyleType: o
54043
54040
  }
54044
54041
  );
54045
- (m = e.value) == null || m.view.dispatch(T);
54042
+ (m = e.value) == null || m.view.dispatch(A);
54046
54043
  }
54047
54044
  }) : (d = (u = s == null ? void 0 : s.toggleOrderedList()) == null ? void 0 : u.updateAttributes("orderedList", { listStyleType: o })) == null || d.run();
54048
54045
  }
@@ -54962,7 +54959,7 @@ const ZV = {
54962
54959
  ]);
54963
54960
  return (p, m) => {
54964
54961
  var ot;
54965
- const v = Er, y = cc, k = GU, T = KU, x = qU, A = WU, N = UU, R = lw, U = aw, L = sw, te = ow, re = iw, S = rw, P = VU, D = HU, E = zU, Y = FU, K = IU, j = DU, se = OU, me = NU, Ne = MU, he = EU, Me = AU, $e = kU, tt = bU, Nt = gU, xt = mU, gt = pU, Tt = hU;
54962
+ const v = Er, y = cc, k = GU, A = KU, x = qU, T = WU, E = UU, R = lw, U = aw, L = sw, te = ow, re = iw, S = rw, P = VU, D = HU, M = zU, Y = FU, K = IU, j = DU, se = OU, me = NU, Ne = MU, he = EU, Me = AU, $e = kU, tt = bU, Nt = gU, xt = mU, gt = pU, Tt = hU;
54966
54963
  return I(), le(et, null, [
54967
54964
  El((I(), X(Tt, {
54968
54965
  id: g(s).substr(1),
@@ -54999,12 +54996,12 @@ const ZV = {
54999
54996
  ]),
55000
54997
  q("div", XU, [
55001
54998
  V(k),
55002
- V(T)
54999
+ V(A)
55003
55000
  ]),
55004
55001
  q("div", QU, [
55005
55002
  V(x),
55006
- V(A),
55007
- V(N),
55003
+ V(T),
55004
+ V(E),
55008
55005
  V(R),
55009
55006
  V(U),
55010
55007
  V(L),
@@ -55015,7 +55012,7 @@ const ZV = {
55015
55012
  q("div", ZU, [
55016
55013
  V(P),
55017
55014
  V(D),
55018
- V(E)
55015
+ V(M)
55019
55016
  ]),
55020
55017
  q("div", eW, [
55021
55018
  V(Y),
@@ -55121,8 +55118,8 @@ const cW = /* @__PURE__ */ Ge(sW, [["render", lW], ["__scopeId", "data-v-3d91acb
55121
55118
  const v = Ye(() => {
55122
55119
  var L;
55123
55120
  return !((L = l.value.document) != null && L.readOnly);
55124
- }), y = Bo("locale"), k = ue(!1), T = Dp(async () => {
55125
- var te, re, S, P, D, E, Y;
55121
+ }), y = Bo("locale"), k = ue(!1), A = Dp(async () => {
55122
+ var te, re, S, P, D, M, Y;
55126
55123
  if ((te = l.value.document) != null && te.readOnly)
55127
55124
  return;
55128
55125
  let L = null;
@@ -55134,7 +55131,7 @@ const cW = /* @__PURE__ */ Ge(sW, [["render", lW], ["__scopeId", "data-v-3d91acb
55134
55131
  {
55135
55132
  html: (P = d.value) == null ? void 0 : P.getHTML(),
55136
55133
  json: (D = d.value) == null ? void 0 : D.getJSON(),
55137
- text: (E = d.value) == null ? void 0 : E.getHTML(),
55134
+ text: (M = d.value) == null ? void 0 : M.getHTML(),
55138
55135
  version: K,
55139
55136
  hashMd: j
55140
55137
  }
@@ -55181,7 +55178,7 @@ const cW = /* @__PURE__ */ Ge(sW, [["render", lW], ["__scopeId", "data-v-3d91acb
55181
55178
  );
55182
55179
  const { locale: x } = B4();
55183
55180
  x.value = y.value;
55184
- function A(L) {
55181
+ function T(L) {
55185
55182
  if (!["zh_CN", "en_US"].includes(L))
55186
55183
  throw new Error('"params" must be one of "zh-CN" or "en-US".');
55187
55184
  if (x.value === L)
@@ -55189,7 +55186,7 @@ const cW = /* @__PURE__ */ Ge(sW, [["render", lW], ["__scopeId", "data-v-3d91acb
55189
55186
  const te = Bo("locale");
55190
55187
  te.value = L, x.value = te.value;
55191
55188
  }
55192
- function N(L = "html") {
55189
+ function E(L = "html") {
55193
55190
  if (!d.value)
55194
55191
  throw new Error("editor is not ready!");
55195
55192
  if (L === "html")
@@ -55210,7 +55207,7 @@ const cW = /* @__PURE__ */ Ge(sW, [["render", lW], ["__scopeId", "data-v-3d91acb
55210
55207
  return (L = d.value) == null ? void 0 : L.commands.unsetFormatPainter();
55211
55208
  };
55212
55209
  Dd("ctrl+s,command+s", () => {
55213
- T(), R();
55210
+ A(), R();
55214
55211
  }), Dd("esc", () => {
55215
55212
  R();
55216
55213
  });
@@ -55218,10 +55215,10 @@ const cW = /* @__PURE__ */ Ge(sW, [["render", lW], ["__scopeId", "data-v-3d91acb
55218
55215
  var L;
55219
55216
  (L = d.value) == null || L.destroy(), py("ctrl+s,command+s"), py("esc"), h();
55220
55217
  }
55221
- return Eu("saveContent", T), Eu("setLocale", A), e({
55218
+ return Eu("saveContent", A), Eu("setLocale", T), e({
55222
55219
  getOptions: () => l.value,
55223
55220
  setOptions: f,
55224
- setLocale: A,
55221
+ setLocale: T,
55225
55222
  getEditor: () => d,
55226
55223
  useEditor: () => d.value,
55227
55224
  // 目录大纲
@@ -55246,12 +55243,12 @@ const cW = /* @__PURE__ */ Ge(sW, [["render", lW], ["__scopeId", "data-v-3d91acb
55246
55243
  setHistoryVersion(L) {
55247
55244
  l.value.history.enable && (l.value.history.versionId = L);
55248
55245
  },
55249
- getText: () => N("text"),
55250
- getHTML: () => N("html"),
55251
- getJSON: () => N("json"),
55252
- saveContent: T
55246
+ getText: () => E("text"),
55247
+ getHTML: () => E("html"),
55248
+ getJSON: () => E("json"),
55249
+ saveContent: A
55253
55250
  }), (L, te) => {
55254
- const re = uW, S = a8, P = cW, D = dU, E = DP, Y = n4;
55251
+ const re = uW, S = a8, P = cW, D = dU, M = DP, Y = n4;
55255
55252
  return I(), X(Y, {
55256
55253
  "cls-prefix": "se",
55257
55254
  "theme-overrides": g(o) ? g(R4) : g(L4),
@@ -55283,7 +55280,7 @@ const cW = /* @__PURE__ */ Ge(sW, [["render", lW], ["__scopeId", "data-v-3d91acb
55283
55280
  })
55284
55281
  ]),
55285
55282
  g(v) && !g(l).extendRead ? (I(), le("footer", pW, [
55286
- V(E)
55283
+ V(M)
55287
55284
  ])) : Ve("", !0)
55288
55285
  ], 12, dW)
55289
55286
  ]),
@@ -55532,8 +55529,8 @@ const cW = /* @__PURE__ */ Ge(sW, [["render", lW], ["__scopeId", "data-v-3d91acb
55532
55529
  ignore: [h, ".smart-popup"]
55533
55530
  }
55534
55531
  ), (v, y) => {
55535
- const k = Er, T = cc, x = Gy, A = Mp;
55536
- return I(), X(A, {
55532
+ const k = Er, A = cc, x = Gy, T = Mp;
55533
+ return I(), X(T, {
55537
55534
  show: g(l) && !g(c) && n.showTooltip,
55538
55535
  placement: "bottom",
55539
55536
  to: g(o),
@@ -55542,9 +55539,9 @@ const cW = /* @__PURE__ */ Ge(sW, [["render", lW], ["__scopeId", "data-v-3d91acb
55542
55539
  trigger: ne(() => [
55543
55540
  q("div", {
55544
55541
  class: "smart-menu-button-wrap",
55545
- onClick: y[2] || (y[2] = (N) => l.value = !1),
55546
- onMouseover: y[3] || (y[3] = (N) => l.value = !0),
55547
- onMouseleave: y[4] || (y[4] = (N) => l.value = !1)
55542
+ onClick: y[2] || (y[2] = (E) => l.value = !1),
55543
+ onMouseover: y[3] || (y[3] = (E) => l.value = !0),
55544
+ onMouseleave: y[4] || (y[4] = (E) => l.value = !1)
55548
55545
  }, [
55549
55546
  n.menuType === "button" ? (I(), X(k, Pn({
55550
55547
  key: 0,
@@ -55568,7 +55565,7 @@ const cW = /* @__PURE__ */ Ge(sW, [["render", lW], ["__scopeId", "data-v-3d91acb
55568
55565
  ])
55569
55566
  ]),
55570
55567
  _: 3
55571
- }, 16, ["class", "disabled"])) : n.menuType === "dropdown" ? (I(), X(T, Pn({ key: 1 }, g(i), {
55568
+ }, 16, ["class", "disabled"])) : n.menuType === "dropdown" ? (I(), X(A, Pn({ key: 1 }, g(i), {
55572
55569
  trigger: "click",
55573
55570
  options: n.selectOptions,
55574
55571
  to: g(o),
@@ -55643,7 +55640,7 @@ const cW = /* @__PURE__ */ Ge(sW, [["render", lW], ["__scopeId", "data-v-3d91acb
55643
55640
  q("p", xW, xe(n.text), 1),
55644
55641
  n.shortcutText ? (I(), le("kbd", CW, xe(g(wr)(n.shortcutText)), 1)) : Ve("", !0)
55645
55642
  ]),
55646
- V(A, {
55643
+ V(T, {
55647
55644
  show: n.popupVisible,
55648
55645
  placement: "bottom",
55649
55646
  to: g(o),
@@ -55655,7 +55652,7 @@ const cW = /* @__PURE__ */ Ge(sW, [["render", lW], ["__scopeId", "data-v-3d91acb
55655
55652
  ref_key: "popupHandleRef",
55656
55653
  ref: h,
55657
55654
  class: "smart-button-icon-arrow smart-button-handle",
55658
- onClick: y[0] || (y[0] = (N) => m(!n.popupVisible))
55655
+ onClick: y[0] || (y[0] = (E) => m(!n.popupVisible))
55659
55656
  }, y[6] || (y[6] = [
55660
55657
  q("i", { class: "i-sed:arrow-down" }, null, -1)
55661
55658
  ]), 512)
@@ -55673,7 +55670,7 @@ const cW = /* @__PURE__ */ Ge(sW, [["render", lW], ["__scopeId", "data-v-3d91acb
55673
55670
  }, 8, ["show", "to"])
55674
55671
  ]),
55675
55672
  _: 3
55676
- }, 16, ["class", "disabled"])) : (I(), X(A, {
55673
+ }, 16, ["class", "disabled"])) : (I(), X(T, {
55677
55674
  key: 1,
55678
55675
  show: n.popupVisible,
55679
55676
  placement: "bottom-start",
@@ -55693,7 +55690,7 @@ const cW = /* @__PURE__ */ Ge(sW, [["render", lW], ["__scopeId", "data-v-3d91acb
55693
55690
  size: "small",
55694
55691
  disabled: n.disabled || g(f) === !1
55695
55692
  }, g(i), {
55696
- onClick: y[1] || (y[1] = (N) => m(!n.popupVisible))
55693
+ onClick: y[1] || (y[1] = (E) => m(!n.popupVisible))
55697
55694
  }), {
55698
55695
  default: ne(() => [
55699
55696
  q("div", SW, [
@@ -56358,8 +56355,8 @@ const cW = /* @__PURE__ */ Ge(sW, [["render", lW], ["__scopeId", "data-v-3d91acb
56358
56355
  })
56359
56356
  ]),
56360
56357
  q("div", LW, [
56361
- (I(!0), le(et, null, Mn((y = g(o).dicts) == null ? void 0 : y.colors, (k, T) => (I(), le("div", {
56362
- key: T,
56358
+ (I(!0), le(et, null, Mn((y = g(o).dicts) == null ? void 0 : y.colors, (k, A) => (I(), le("div", {
56359
+ key: A,
56363
56360
  class: "smart-color-picker-item",
56364
56361
  style: Jt({ backgroundColor: k }),
56365
56362
  onClick: (x) => d(k)
@@ -56370,8 +56367,8 @@ const cW = /* @__PURE__ */ Ge(sW, [["render", lW], ["__scopeId", "data-v-3d91acb
56370
56367
  textContent: xe(("t" in h ? h.t : g(_))("colorPicker.standard"))
56371
56368
  }, null, 8, BW),
56372
56369
  q("div", PW, [
56373
- (I(), le(et, null, Mn(a, (k, T) => q("div", {
56374
- key: T,
56370
+ (I(), le(et, null, Mn(a, (k, A) => q("div", {
56371
+ key: A,
56375
56372
  class: "smart-color-picker-item",
56376
56373
  style: Jt({ backgroundColor: k }),
56377
56374
  onClick: (x) => d(k)
@@ -56383,8 +56380,8 @@ const cW = /* @__PURE__ */ Ge(sW, [["render", lW], ["__scopeId", "data-v-3d91acb
56383
56380
  textContent: xe(("t" in h ? h.t : g(_))("colorPicker.recent"))
56384
56381
  }, null, 8, FW),
56385
56382
  q("div", zW, [
56386
- (I(!0), le(et, null, Mn(g(s).colors, (k, T) => (I(), le("div", {
56387
- key: T,
56383
+ (I(!0), le(et, null, Mn(g(s).colors, (k, A) => (I(), le("div", {
56384
+ key: A,
56388
56385
  class: "smart-color-picker-item",
56389
56386
  style: Jt({ backgroundColor: k }),
56390
56387
  onClick: (x) => d(k)
@@ -56765,7 +56762,7 @@ const cW = /* @__PURE__ */ Ge(sW, [["render", lW], ["__scopeId", "data-v-3d91acb
56765
56762
  const { editor: e, showTableBar: t } = Ke();
56766
56763
  return (r, i) => {
56767
56764
  var x;
56768
- const o = sj, s = oj, a = ij, l = rj, c = nj, u = XW, d = JW, f = YW, h = GW, p = KW, m = qW, v = jW, y = WW, k = OW, T = NW;
56765
+ const o = sj, s = oj, a = ij, l = rj, c = nj, u = XW, d = JW, f = YW, h = GW, p = KW, m = qW, v = jW, y = WW, k = OW, A = NW;
56769
56766
  return (x = g(e)) != null && x.isActive("tableCell") && g(t) ? (I(), le(et, { key: 0 }, [
56770
56767
  V(o),
56771
56768
  i[0] || (i[0] = q("div", { class: "smart-bubble-menu-divider" }, null, -1)),
@@ -56784,7 +56781,7 @@ const cW = /* @__PURE__ */ Ge(sW, [["render", lW], ["__scopeId", "data-v-3d91acb
56784
56781
  i[2] || (i[2] = q("div", { class: "smart-bubble-menu-divider" }, null, -1)),
56785
56782
  V(y),
56786
56783
  V(k),
56787
- V(T)
56784
+ V(A)
56788
56785
  ], 64)) : Ve("", !0);
56789
56786
  };
56790
56787
  }
@@ -57076,7 +57073,7 @@ const fj = {
57076
57073
  (I(!0), le(et, null, Mn(m, (y, k) => (I(), le("div", {
57077
57074
  key: k,
57078
57075
  class: ht(["cell", { selected: s(v, k) }]),
57079
- onMouseover: (T) => a(v, k),
57076
+ onMouseover: (A) => a(v, k),
57080
57077
  onClick: c
57081
57078
  }, null, 42, vj))), 128))
57082
57079
  ]))), 128))
@@ -57809,7 +57806,7 @@ const fj = {
57809
57806
  setup(n) {
57810
57807
  const { config: e } = Ke();
57811
57808
  return (t, r) => {
57812
- const i = Gj, o = Kj, s = jj, a = Wj, l = Uj, c = Vj, u = Hj, d = zj, f = Fj, h = Pj, p = Rj, m = Lj, v = Ij, y = Dj, k = Tj, T = Sj, x = Cj, A = xj, N = kj, R = bj, U = gj, L = mj, te = pj;
57809
+ const i = Gj, o = Kj, s = jj, a = Wj, l = Uj, c = Vj, u = Hj, d = zj, f = Fj, h = Pj, p = Rj, m = Lj, v = Ij, y = Dj, k = Tj, A = Sj, x = Cj, T = xj, E = kj, R = bj, U = gj, L = mj, te = pj;
57813
57810
  return I(), le("div", Yj, [
57814
57811
  V(i),
57815
57812
  V(o),
@@ -57826,10 +57823,10 @@ const fj = {
57826
57823
  V(v),
57827
57824
  V(y),
57828
57825
  V(k),
57829
- V(T),
57830
- V(x),
57831
57826
  V(A),
57832
- V(N),
57827
+ V(x),
57828
+ V(T),
57829
+ V(E),
57833
57830
  V(R),
57834
57831
  g(e).canFill ? (I(), X(U, { key: 0 })) : Ve("", !0),
57835
57832
  V(L),
@@ -57877,8 +57874,8 @@ const fj = {
57877
57874
  if (!m)
57878
57875
  return "";
57879
57876
  const y = u(m);
57880
- return y ? y.replace(v, (k, T) => `<span class="Tiptap-mathematics-render Tiptap-mathematics-render--editable ProseMirror-widget">${q5.renderToString(
57881
- T,
57877
+ return y ? y.replace(v, (k, A) => `<span class="Tiptap-mathematics-render Tiptap-mathematics-render--editable ProseMirror-widget">${q5.renderToString(
57878
+ A,
57882
57879
  { throwOnError: !1 }
57883
57880
  )}</span>`) : "";
57884
57881
  }
@@ -57906,8 +57903,8 @@ const fj = {
57906
57903
  }));
57907
57904
  }
57908
57905
  ), (m, v) => {
57909
- const y = Xj, k = hj, T = n4;
57910
- return I(), X(T, {
57906
+ const y = Xj, k = hj, A = n4;
57907
+ return I(), X(A, {
57911
57908
  "cls-prefix": "se",
57912
57909
  "theme-overrides": g(i) ? g(R4) : g(L4),
57913
57910
  locale: g(s) !== "en_US" ? g(Xy) : g(Qy),