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.
- package/dist/smart-editor-package.js +1113 -1116
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -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
|
|
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
|
|
237
|
+
function T(R = 0) {
|
|
238
238
|
o = R;
|
|
239
239
|
}
|
|
240
|
-
function
|
|
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:
|
|
255
|
+
peek: A,
|
|
256
256
|
reset: x,
|
|
257
|
-
resetPeek:
|
|
258
|
-
skipToPeek:
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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,
|
|
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 =
|
|
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 =
|
|
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) :
|
|
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,
|
|
673
|
-
const
|
|
674
|
-
if (
|
|
675
|
-
const R = e ? Zf(
|
|
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:
|
|
677
|
+
args: T
|
|
678
678
|
});
|
|
679
679
|
t(U);
|
|
680
680
|
}
|
|
681
681
|
}
|
|
682
|
-
function i(y, k,
|
|
682
|
+
function i(y, k, A) {
|
|
683
683
|
const x = { type: y };
|
|
684
|
-
return e && (x.start = k, x.end = k, x.loc = { start:
|
|
684
|
+
return e && (x.start = k, x.end = k, x.loc = { start: A, end: A }), x;
|
|
685
685
|
}
|
|
686
|
-
function o(y, k,
|
|
687
|
-
e && (y.end = k, y.loc && (y.loc.end =
|
|
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
|
|
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
|
|
695
|
-
return
|
|
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
|
|
699
|
-
return
|
|
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
|
|
703
|
-
return
|
|
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(),
|
|
707
|
-
return k.type !== 11 ? (r(y, Qe.UNEXPECTED_EMPTY_LINKED_MODIFIER,
|
|
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:
|
|
710
|
-
}) : (k.value == null && r(y, Qe.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
711
|
-
node:
|
|
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
|
|
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(),
|
|
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
|
|
723
|
-
|
|
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)),
|
|
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)),
|
|
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)),
|
|
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)),
|
|
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
|
|
741
|
-
return
|
|
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:
|
|
743
|
+
node: A
|
|
744
744
|
};
|
|
745
745
|
}
|
|
746
746
|
}
|
|
747
|
-
return o(
|
|
748
|
-
node:
|
|
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(),
|
|
753
|
-
|
|
754
|
-
let
|
|
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 =
|
|
757
|
-
switch (
|
|
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)),
|
|
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)),
|
|
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)),
|
|
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)),
|
|
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
|
-
|
|
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(
|
|
778
|
+
return o(T, R, U), T;
|
|
779
779
|
}
|
|
780
|
-
function p(y, k,
|
|
781
|
-
const
|
|
782
|
-
let
|
|
783
|
-
const R = i(1, k,
|
|
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
|
-
|
|
788
|
-
} while (
|
|
789
|
-
return
|
|
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:
|
|
793
|
-
return k.currentType === 13 ?
|
|
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)),
|
|
797
|
-
return e && x.loc && (x.loc.source = y), x.body = m(k), n.onCacheKey && (x.cacheKey = n.onCacheKey(y)),
|
|
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,
|
|
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
|
|
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:
|
|
1652
|
+
escapeParameter: A,
|
|
1653
1653
|
messageCompiler: x,
|
|
1654
|
-
messageResolver:
|
|
1655
|
-
localeFallbacker:
|
|
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,
|
|
1718
|
-
const
|
|
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 =
|
|
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:
|
|
1726
|
+
type: E,
|
|
1727
1727
|
key: l,
|
|
1728
1728
|
from: x,
|
|
1729
|
-
to:
|
|
1730
|
-
groupId: `${
|
|
1729
|
+
to: T,
|
|
1730
|
+
groupId: `${E}:${l}`
|
|
1731
1731
|
});
|
|
1732
1732
|
}
|
|
1733
|
-
if (y = t[k] || {},
|
|
1733
|
+
if (y = t[k] || {}, A = y[l], lt(A))
|
|
1734
1734
|
break;
|
|
1735
|
-
$p(n, l, k, f,
|
|
1735
|
+
$p(n, l, k, f, E), x = T;
|
|
1736
1736
|
}
|
|
1737
|
-
if (!lt(
|
|
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({},
|
|
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,
|
|
1812
|
-
const
|
|
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 =
|
|
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:
|
|
1820
|
+
type: E,
|
|
1821
1821
|
key: l,
|
|
1822
1822
|
from: x,
|
|
1823
|
-
to:
|
|
1824
|
-
groupId: `${
|
|
1823
|
+
to: T,
|
|
1824
|
+
groupId: `${E}:${l}`
|
|
1825
1825
|
});
|
|
1826
1826
|
}
|
|
1827
|
-
if (y = t[k] || {},
|
|
1827
|
+
if (y = t[k] || {}, A = y[l], lt(A))
|
|
1828
1828
|
break;
|
|
1829
|
-
$p(n, l, k, f,
|
|
1829
|
+
$p(n, l, k, f, E), x = T;
|
|
1830
1830
|
}
|
|
1831
|
-
if (!lt(
|
|
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({},
|
|
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
|
|
1894
|
-
return
|
|
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 [
|
|
1902
|
-
let
|
|
1903
|
-
k.length === 1 ? _t(
|
|
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
|
-
|
|
1906
|
+
T === "vnode" && rn(R) && E ? R[0] : R
|
|
1907
1907
|
);
|
|
1908
|
-
return
|
|
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,
|
|
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,
|
|
1927
|
-
if (!h && !(Te(x) || Ro(x) || Br(x)) && m && (x = p,
|
|
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
|
|
1931
|
+
let E = !1;
|
|
1932
1932
|
const R = () => {
|
|
1933
|
-
|
|
1934
|
-
}, U = Br(x) ? x : x4(n, l, k, x,
|
|
1935
|
-
if (
|
|
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,
|
|
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
|
|
1965
|
-
|
|
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,
|
|
1975
|
-
if (process.env.NODE_ENV !== "production" && ni && (k = window.performance.now(),
|
|
1976
|
-
const
|
|
1977
|
-
|
|
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:
|
|
1981
|
+
time: T - k,
|
|
1982
1982
|
groupId: `${v}:${e}`
|
|
1983
|
-
}),
|
|
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
|
|
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
|
-
|
|
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,
|
|
2347
|
-
const
|
|
2348
|
-
let
|
|
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:
|
|
2357
|
-
pluralRules:
|
|
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:
|
|
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
|
|
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
|
-
|
|
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
|
|
2565
|
+
return T;
|
|
2566
2566
|
},
|
|
2567
2567
|
get pluralRules() {
|
|
2568
|
-
return
|
|
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
|
|
2598
|
+
return A;
|
|
2599
2599
|
},
|
|
2600
2600
|
set warnHtmlMessage(oe) {
|
|
2601
|
-
|
|
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:
|
|
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
|
|
2890
|
-
p = Object.keys(
|
|
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,
|
|
2892
|
+
return Sn(L, T[U]), R;
|
|
2893
2893
|
}, p || {});
|
|
2894
2894
|
}
|
|
2895
|
-
const { __i18n: m, __root: v, __injectWithOption: y } = n, k = n.datetimeFormats,
|
|
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:
|
|
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:
|
|
4641
|
+
once: A,
|
|
4642
4642
|
marks: x
|
|
4643
4643
|
}) => {
|
|
4644
|
-
s.value.enabled = k, s.value.once =
|
|
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
|
|
4648
|
+
const A = Object.keys(k).includes("value") ? k.value : k;
|
|
4649
4649
|
i.value = {
|
|
4650
4650
|
...i.value,
|
|
4651
|
-
...Object.keys(
|
|
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
|
|
4665
|
-
(
|
|
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:
|
|
4671
|
+
defaultMargin: A,
|
|
4672
4672
|
defaultOrientation: x,
|
|
4673
|
-
watermark:
|
|
4673
|
+
watermark: T
|
|
4674
4674
|
}) => {
|
|
4675
|
-
var
|
|
4675
|
+
var E;
|
|
4676
4676
|
r.value = {
|
|
4677
|
-
size: (
|
|
4677
|
+
size: (E = i.value.dicts) == null ? void 0 : E.pageSizes.find(
|
|
4678
4678
|
(R) => R.default
|
|
4679
4679
|
),
|
|
4680
|
-
margin:
|
|
4680
|
+
margin: A,
|
|
4681
4681
|
background: k,
|
|
4682
4682
|
orientation: x,
|
|
4683
|
-
watermark:
|
|
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),
|
|
8912
|
-
if (k.canReplaceWith(
|
|
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
|
|
12907
|
-
h >=
|
|
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,
|
|
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) && (
|
|
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,
|
|
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)),
|
|
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
|
-
|
|
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,
|
|
13330
|
+
if (n.someProp("handleTextInput", (te) => te(n, x, T, L)))
|
|
13331
13331
|
return;
|
|
13332
|
-
|
|
13332
|
+
E = n.state.tr.insertText(L, x, T);
|
|
13333
13333
|
}
|
|
13334
13334
|
}
|
|
13335
|
-
if (
|
|
13336
|
-
let L = sb(n,
|
|
13337
|
-
L && !(qn && n.composing && L.empty && (p.start != p.endB || n.input.lastChromeDelete < Date.now() - 100) && (L.head == x || L.head ==
|
|
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 &&
|
|
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
|
|
14209
|
-
y = be.from(p[
|
|
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
|
|
14603
|
+
const A = Ie(k, "extendNodeSchema", d);
|
|
14604
14604
|
return {
|
|
14605
14605
|
...y,
|
|
14606
|
-
...
|
|
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:
|
|
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:
|
|
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((
|
|
14914
|
-
if (
|
|
14913
|
+
FS(y, o.find, s).forEach((A) => {
|
|
14914
|
+
if (A.index === void 0)
|
|
14915
14915
|
return;
|
|
14916
|
-
const x = m +
|
|
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(
|
|
14918
|
+
to: t.tr.mapping.map(T)
|
|
14919
14919
|
}, R = o.handler({
|
|
14920
14920
|
state: t,
|
|
14921
|
-
range:
|
|
14922
|
-
match:
|
|
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:
|
|
15011
|
-
typeof
|
|
15012
|
-
const { from:
|
|
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:
|
|
15016
|
+
from: E,
|
|
15017
15017
|
to: { b: R },
|
|
15018
15018
|
pasteEvt: U
|
|
15019
15019
|
});
|
|
15020
15020
|
}
|
|
15021
|
-
const
|
|
15022
|
-
if (!(!PS(
|
|
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:
|
|
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),
|
|
15846
|
-
s +=
|
|
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
|
|
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
|
-
},
|
|
16048
|
-
y = y.append(be.from(a.createAndFill(null,
|
|
16049
|
-
const
|
|
16050
|
-
t.replace(
|
|
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(
|
|
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:
|
|
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
|
|
16079
|
-
t.ensureMarks(
|
|
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,
|
|
16102
|
-
if (!
|
|
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
|
|
16105
|
-
if (
|
|
16106
|
-
if (
|
|
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(
|
|
16109
|
-
return l().command(() => (o.setNodeMarkup(
|
|
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
|
|
16113
|
-
return o.ensureMarks(R),
|
|
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),
|
|
16179
|
-
t.addMark(k,
|
|
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(),
|
|
17134
|
-
f =
|
|
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
|
|
18261
|
-
st(
|
|
18262
|
-
const
|
|
18263
|
-
st(
|
|
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,
|
|
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],
|
|
18286
|
-
ye(
|
|
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(
|
|
18288
|
+
st(M, e, Y);
|
|
18289
18289
|
const K = Ir();
|
|
18290
|
-
st(
|
|
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
|
|
24762
|
-
return ei(o,
|
|
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 || {},
|
|
24865
|
-
|
|
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
|
|
24871
|
+
var T;
|
|
24872
24872
|
if (d < 0) {
|
|
24873
|
-
var
|
|
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
|
-
|
|
24876
|
+
T = [lr(["vlist-r"], [x, U]), lr(["vlist-r"], [R])];
|
|
24877
24877
|
} else
|
|
24878
|
-
|
|
24879
|
-
var L = lr(["vlist-t"],
|
|
24880
|
-
return
|
|
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], [
|
|
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(
|
|
25595
|
+
var S = new Ho(A[re]), P = new Qi([S], {
|
|
25596
25596
|
width: "400em",
|
|
25597
|
-
height: Se(
|
|
25598
|
-
viewBox: "0 0 " + 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:
|
|
25605
|
+
height: E
|
|
25606
25606
|
};
|
|
25607
|
-
D.style.height = Se(
|
|
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:
|
|
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),
|
|
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
|
|
26529
|
-
x =
|
|
26528
|
+
var E = al(l, h, o);
|
|
26529
|
+
x = E.height + E.depth, T = 2;
|
|
26530
26530
|
}
|
|
26531
|
-
var R = m +
|
|
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 -
|
|
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 -
|
|
26546
|
+
var Ne = L - m - A + 2 * Gh;
|
|
26547
26547
|
S.push(vf(c, Ne, i));
|
|
26548
26548
|
} else {
|
|
26549
|
-
var he = (L - m -
|
|
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
|
|
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:
|
|
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
|
|
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
|
|
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 (
|
|
27191
|
-
var
|
|
27192
|
-
n.gullet.endGroup(), n.gullet.beginGroup(),
|
|
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:
|
|
27196
|
-
}, t && (
|
|
27195
|
+
body: T
|
|
27196
|
+
}, t && (T = {
|
|
27197
27197
|
type: "styling",
|
|
27198
27198
|
mode: n.mode,
|
|
27199
27199
|
style: t,
|
|
27200
|
-
body: [
|
|
27201
|
-
}), p.push(
|
|
27202
|
-
var
|
|
27203
|
-
if (
|
|
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 (
|
|
27211
|
-
x(), p.length === 1 &&
|
|
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 (
|
|
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),
|
|
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,
|
|
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 && (
|
|
27256
|
-
pos:
|
|
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
|
|
27262
|
-
a <
|
|
27263
|
-
var U = new Array(
|
|
27264
|
-
for (i = 0; i <
|
|
27265
|
-
var L = kt(
|
|
27266
|
-
R < L.depth && (R = L.depth),
|
|
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 =
|
|
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 =
|
|
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 || (
|
|
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(
|
|
27292
|
-
var Nt =
|
|
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 && (
|
|
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 && (
|
|
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
|
|
27365
|
-
p[
|
|
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 || [],
|
|
27370
|
-
|
|
27371
|
-
u.setAttribute("columnspacing",
|
|
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
|
|
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
|
|
27410
|
-
if (a <
|
|
27411
|
-
throw new we("Too many math in a row: " + ("expected " + a + ", but got " +
|
|
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
|
-
|
|
27670
|
-
|
|
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
|
|
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:
|
|
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
|
|
27886
|
-
return n.leftDelim == null ?
|
|
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
|
-
|
|
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
|
|
29491
|
-
(s instanceof Gr ||
|
|
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
|
|
29497
|
-
if (u - a.depth - (l.height - d) <
|
|
29498
|
-
d =
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
29987
|
-
|
|
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
|
-
|
|
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
|
-
|
|
30068
|
-
|
|
30069
|
-
|
|
30070
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
30083
|
-
|
|
30084
|
-
|
|
30085
|
-
|
|
30086
|
-
|
|
30087
|
-
|
|
30088
|
-
|
|
30089
|
-
|
|
30090
|
-
|
|
30091
|
-
|
|
30092
|
-
|
|
30093
|
-
|
|
30094
|
-
|
|
30095
|
-
|
|
30096
|
-
|
|
30097
|
-
|
|
30098
|
-
|
|
30099
|
-
|
|
30100
|
-
|
|
30101
|
-
|
|
30102
|
-
|
|
30103
|
-
|
|
30104
|
-
|
|
30105
|
-
|
|
30106
|
-
|
|
30107
|
-
|
|
30108
|
-
|
|
30109
|
-
|
|
30110
|
-
|
|
30111
|
-
|
|
30112
|
-
|
|
30113
|
-
|
|
30114
|
-
|
|
30115
|
-
|
|
30116
|
-
|
|
30117
|
-
|
|
30118
|
-
|
|
30119
|
-
|
|
30120
|
-
|
|
30121
|
-
|
|
30122
|
-
|
|
30123
|
-
|
|
30124
|
-
|
|
30125
|
-
|
|
30126
|
-
|
|
30127
|
-
|
|
30128
|
-
|
|
30129
|
-
|
|
30130
|
-
|
|
30131
|
-
|
|
30132
|
-
|
|
30133
|
-
|
|
30134
|
-
|
|
30135
|
-
|
|
30136
|
-
|
|
30137
|
-
|
|
30138
|
-
|
|
30139
|
-
|
|
30140
|
-
|
|
30141
|
-
|
|
30142
|
-
|
|
30143
|
-
|
|
30144
|
-
|
|
30145
|
-
|
|
30146
|
-
|
|
30147
|
-
|
|
30148
|
-
|
|
30149
|
-
|
|
30150
|
-
|
|
30151
|
-
|
|
30152
|
-
|
|
30153
|
-
|
|
30154
|
-
|
|
30155
|
-
|
|
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
|
-
|
|
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
|
-
|
|
30239
|
+
N("\\dotso", function(n) {
|
|
30240
30240
|
var e = n.future().text;
|
|
30241
30241
|
return e in Wm ? "\\ldots\\," : "\\ldots";
|
|
30242
30242
|
});
|
|
30243
|
-
|
|
30243
|
+
N("\\dotsc", function(n) {
|
|
30244
30244
|
var e = n.future().text;
|
|
30245
30245
|
return e in Wm && e !== "," ? "\\ldots\\," : "\\ldots";
|
|
30246
30246
|
});
|
|
30247
|
-
|
|
30247
|
+
N("\\cdots", function(n) {
|
|
30248
30248
|
var e = n.future().text;
|
|
30249
30249
|
return e in Wm ? "\\@cdots\\," : "\\@cdots";
|
|
30250
30250
|
});
|
|
30251
|
-
|
|
30252
|
-
|
|
30253
|
-
|
|
30254
|
-
|
|
30255
|
-
|
|
30256
|
-
|
|
30257
|
-
|
|
30258
|
-
|
|
30259
|
-
|
|
30260
|
-
|
|
30261
|
-
|
|
30262
|
-
|
|
30263
|
-
|
|
30264
|
-
|
|
30265
|
-
|
|
30266
|
-
|
|
30267
|
-
|
|
30268
|
-
|
|
30269
|
-
|
|
30270
|
-
|
|
30271
|
-
|
|
30272
|
-
|
|
30273
|
-
|
|
30274
|
-
|
|
30275
|
-
|
|
30276
|
-
|
|
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
|
-
|
|
30282
|
-
|
|
30283
|
-
|
|
30284
|
-
|
|
30285
|
-
|
|
30286
|
-
|
|
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
|
-
|
|
30289
|
-
|
|
30290
|
-
|
|
30291
|
-
|
|
30292
|
-
|
|
30293
|
-
|
|
30294
|
-
|
|
30295
|
-
|
|
30296
|
-
|
|
30297
|
-
|
|
30298
|
-
|
|
30299
|
-
|
|
30300
|
-
|
|
30301
|
-
|
|
30302
|
-
|
|
30303
|
-
|
|
30304
|
-
|
|
30305
|
-
|
|
30306
|
-
|
|
30307
|
-
|
|
30308
|
-
|
|
30309
|
-
|
|
30310
|
-
|
|
30311
|
-
|
|
30312
|
-
|
|
30313
|
-
|
|
30314
|
-
|
|
30315
|
-
|
|
30316
|
-
|
|
30317
|
-
|
|
30318
|
-
|
|
30319
|
-
|
|
30320
|
-
|
|
30321
|
-
|
|
30322
|
-
|
|
30323
|
-
|
|
30324
|
-
|
|
30325
|
-
|
|
30326
|
-
|
|
30327
|
-
|
|
30328
|
-
|
|
30329
|
-
|
|
30330
|
-
|
|
30331
|
-
|
|
30332
|
-
|
|
30333
|
-
|
|
30334
|
-
|
|
30335
|
-
|
|
30336
|
-
|
|
30337
|
-
|
|
30338
|
-
|
|
30339
|
-
|
|
30340
|
-
|
|
30341
|
-
|
|
30342
|
-
|
|
30343
|
-
|
|
30344
|
-
|
|
30345
|
-
|
|
30346
|
-
|
|
30347
|
-
|
|
30348
|
-
|
|
30349
|
-
|
|
30350
|
-
|
|
30351
|
-
|
|
30352
|
-
|
|
30353
|
-
|
|
30354
|
-
|
|
30355
|
-
|
|
30356
|
-
|
|
30357
|
-
|
|
30358
|
-
|
|
30359
|
-
|
|
30360
|
-
|
|
30361
|
-
|
|
30362
|
-
|
|
30363
|
-
|
|
30364
|
-
|
|
30365
|
-
|
|
30366
|
-
|
|
30367
|
-
|
|
30368
|
-
|
|
30369
|
-
|
|
30370
|
-
|
|
30371
|
-
|
|
30372
|
-
|
|
30373
|
-
|
|
30374
|
-
|
|
30375
|
-
|
|
30376
|
-
|
|
30377
|
-
|
|
30378
|
-
|
|
30379
|
-
|
|
30380
|
-
|
|
30381
|
-
|
|
30382
|
-
|
|
30383
|
-
|
|
30384
|
-
|
|
30385
|
-
|
|
30386
|
-
|
|
30387
|
-
|
|
30388
|
-
|
|
30389
|
-
|
|
30390
|
-
|
|
30391
|
-
|
|
30392
|
-
|
|
30393
|
-
|
|
30394
|
-
|
|
30395
|
-
|
|
30396
|
-
|
|
30397
|
-
|
|
30398
|
-
|
|
30399
|
-
|
|
30400
|
-
|
|
30401
|
-
|
|
30402
|
-
|
|
30403
|
-
|
|
30404
|
-
|
|
30405
|
-
|
|
30406
|
-
|
|
30407
|
-
|
|
30408
|
-
|
|
30409
|
-
|
|
30410
|
-
|
|
30411
|
-
|
|
30412
|
-
|
|
30413
|
-
|
|
30414
|
-
|
|
30415
|
-
|
|
30416
|
-
|
|
30417
|
-
|
|
30418
|
-
|
|
30419
|
-
|
|
30420
|
-
|
|
30421
|
-
|
|
30422
|
-
|
|
30423
|
-
|
|
30424
|
-
|
|
30425
|
-
|
|
30426
|
-
|
|
30427
|
-
|
|
30428
|
-
|
|
30429
|
-
|
|
30430
|
-
|
|
30431
|
-
|
|
30432
|
-
|
|
30433
|
-
|
|
30434
|
-
|
|
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
|
-
|
|
30463
|
-
|
|
30464
|
-
|
|
30465
|
-
|
|
30466
|
-
|
|
30467
|
-
|
|
30468
|
-
|
|
30469
|
-
|
|
30470
|
-
|
|
30471
|
-
|
|
30472
|
-
|
|
30473
|
-
|
|
30474
|
-
|
|
30475
|
-
|
|
30476
|
-
|
|
30477
|
-
|
|
30478
|
-
|
|
30479
|
-
|
|
30480
|
-
|
|
30481
|
-
|
|
30482
|
-
|
|
30483
|
-
|
|
30484
|
-
|
|
30485
|
-
|
|
30486
|
-
|
|
30487
|
-
|
|
30488
|
-
|
|
30489
|
-
|
|
30490
|
-
|
|
30491
|
-
|
|
30492
|
-
|
|
30493
|
-
|
|
30494
|
-
|
|
30495
|
-
|
|
30496
|
-
|
|
30497
|
-
|
|
30498
|
-
|
|
30499
|
-
|
|
30500
|
-
|
|
30501
|
-
|
|
30502
|
-
|
|
30503
|
-
|
|
30504
|
-
|
|
30505
|
-
|
|
30506
|
-
|
|
30507
|
-
|
|
30508
|
-
|
|
30509
|
-
|
|
30510
|
-
|
|
30511
|
-
|
|
30512
|
-
|
|
30513
|
-
|
|
30514
|
-
|
|
30515
|
-
|
|
30516
|
-
|
|
30517
|
-
|
|
30518
|
-
|
|
30519
|
-
|
|
30520
|
-
|
|
30521
|
-
|
|
30522
|
-
|
|
30523
|
-
|
|
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:
|
|
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,
|
|
32040
|
-
|
|
32041
|
-
const
|
|
32042
|
-
|
|
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,
|
|
32044
|
+
q5.render(y, E, t);
|
|
32045
32045
|
} catch {
|
|
32046
|
-
|
|
32046
|
+
E.innerHTML = y;
|
|
32047
32047
|
}
|
|
32048
|
-
return
|
|
32049
|
-
})), u.push(hn.inline(m, v, { class:
|
|
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,
|
|
32390
|
-
t.modifiersData[r] = (e = {}, e[U] = R, e.centerOffset = R -
|
|
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"),
|
|
32431
|
+
var y = s.hasOwnProperty("x"), k = s.hasOwnProperty("y"), A = pr, x = hr, T = window;
|
|
32432
32432
|
if (c) {
|
|
32433
|
-
var
|
|
32434
|
-
if (
|
|
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 &&
|
|
32436
|
+
var L = d && E === T && T.visualViewport ? T.visualViewport.height : (
|
|
32437
32437
|
// $FlowFixMe[prop-missing]
|
|
32438
|
-
|
|
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
|
-
|
|
32444
|
-
var te = d &&
|
|
32443
|
+
A = Xr;
|
|
32444
|
+
var te = d && E === T && T.visualViewport ? T.visualViewport.width : (
|
|
32445
32445
|
// $FlowFixMe[prop-missing]
|
|
32446
|
-
|
|
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[
|
|
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[
|
|
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,
|
|
32665
|
-
reference:
|
|
32666
|
-
element:
|
|
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({},
|
|
32670
|
-
top:
|
|
32671
|
-
bottom: L.bottom -
|
|
32672
|
-
left:
|
|
32673
|
-
right: L.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,
|
|
32679
|
-
te[P] += S[
|
|
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,
|
|
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
|
-
}, []),
|
|
32723
|
-
var re = x[te], S = yi(re), P = Na(re) === Aa, D = [hr, Jr].indexOf(S) >= 0,
|
|
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
|
-
|
|
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),
|
|
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 (
|
|
32869
|
+
if (E) {
|
|
32870
32870
|
if (o) {
|
|
32871
|
-
var P, D = x === "y" ? hr : pr,
|
|
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[
|
|
32875
|
-
|
|
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 =
|
|
32879
|
-
|
|
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
|
|
33007
|
-
return u.orderedModifiers =
|
|
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,
|
|
33019
|
-
if (Mv(k,
|
|
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(
|
|
33022
|
-
popper: Ym(
|
|
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
|
|
33032
|
-
typeof
|
|
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,
|
|
33060
|
+
var y = v.name, k = v.options, A = k === void 0 ? {} : k, x = v.effect;
|
|
33061
33061
|
if (typeof x == "function") {
|
|
33062
|
-
var
|
|
33062
|
+
var T = x({
|
|
33063
33063
|
state: u,
|
|
33064
33064
|
name: y,
|
|
33065
33065
|
instance: h,
|
|
33066
|
-
options:
|
|
33067
|
-
}),
|
|
33066
|
+
options: A
|
|
33067
|
+
}), E = function() {
|
|
33068
33068
|
};
|
|
33069
|
-
d.push(
|
|
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),
|
|
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:
|
|
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
|
|
33481
|
-
|
|
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(),
|
|
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
|
-
}),
|
|
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
|
|
33509
|
-
return tp(
|
|
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),
|
|
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 =
|
|
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(
|
|
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 &&
|
|
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 =
|
|
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) ||
|
|
33649
|
+
var Re = ie.target, Je = P().contains(Re) || E.contains(Re);
|
|
33650
33650
|
if (!(ie.type === "mousemove" && Je)) {
|
|
33651
|
-
var bt = De().concat(
|
|
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 &&
|
|
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(
|
|
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 =
|
|
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,
|
|
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(
|
|
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(
|
|
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() && (
|
|
33804
|
-
var In =
|
|
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,
|
|
33811
|
-
var Ka =
|
|
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() && (
|
|
33826
|
-
var pt =
|
|
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
|
-
}),
|
|
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,
|
|
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:
|
|
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
|
|
33939
|
-
if (
|
|
33940
|
-
const R =
|
|
33941
|
-
if (R && (
|
|
33942
|
-
return
|
|
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,
|
|
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:
|
|
35438
|
-
|
|
35439
|
-
const
|
|
35440
|
-
|
|
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
|
|
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
|
-
}),
|
|
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(),
|
|
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),
|
|
36045
|
+
let D = Number(n.node.attrs.width), M = Number(n.node.attrs.height);
|
|
36046
36046
|
const Y = m.value.width;
|
|
36047
|
-
D && !
|
|
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
|
|
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 } =
|
|
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
|
|
36059
|
-
L.preventDefault(), L.stopPropagation(), y.value && (y.value = !1,
|
|
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",
|
|
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",
|
|
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(
|
|
37251
|
+
function h(E) {
|
|
37252
37252
|
var R = r, U = i;
|
|
37253
|
-
return r = i = void 0, c =
|
|
37253
|
+
return r = i = void 0, c = E, s = n.apply(U, R), s;
|
|
37254
37254
|
}
|
|
37255
|
-
function p(
|
|
37256
|
-
return c =
|
|
37255
|
+
function p(E) {
|
|
37256
|
+
return c = E, a = setTimeout(y, e), u ? h(E) : s;
|
|
37257
37257
|
}
|
|
37258
|
-
function m(
|
|
37259
|
-
var 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(
|
|
37263
|
-
var R =
|
|
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
|
|
37268
|
-
if (v(
|
|
37269
|
-
return k(
|
|
37270
|
-
a = setTimeout(y, m(
|
|
37267
|
+
var E = If();
|
|
37268
|
+
if (v(E))
|
|
37269
|
+
return k(E);
|
|
37270
|
+
a = setTimeout(y, m(E));
|
|
37271
37271
|
}
|
|
37272
|
-
function k(
|
|
37273
|
-
return a = void 0, f && r ? h(
|
|
37272
|
+
function k(E) {
|
|
37273
|
+
return a = void 0, f && r ? h(E) : (r = i = void 0, s);
|
|
37274
37274
|
}
|
|
37275
|
-
function
|
|
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
|
|
37282
|
-
var
|
|
37283
|
-
if (r = arguments, i = this, l =
|
|
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
|
|
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
|
|
37359
|
-
t.style.top = `${
|
|
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
|
|
37374
|
-
t.style.top = `${
|
|
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
|
-
|
|
37652
|
-
|
|
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
|
|
38264
|
-
if (
|
|
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 -
|
|
38274
|
+
n: y - A
|
|
38269
38275
|
});
|
|
38270
38276
|
break;
|
|
38271
38277
|
}
|
|
38272
|
-
const x = i +
|
|
38273
|
-
for (let
|
|
38274
|
-
r[x +
|
|
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 -
|
|
38284
|
+
n: v - T
|
|
38279
38285
|
});
|
|
38280
|
-
const
|
|
38281
|
-
if (
|
|
38282
|
-
const R = (x +
|
|
38283
|
-
U == null || U !=
|
|
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],
|
|
39849
|
-
s += k || r, k || (a = !1), l ? (l.style.width !==
|
|
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 =
|
|
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],
|
|
39892
|
-
s += k || r, k || (a = !1), l.push(["col",
|
|
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(
|
|
40614
|
-
if (typeof
|
|
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,
|
|
40622
|
+
this.state = u, this.queue = [], this.outcome = void 0, T !== s && m(this, T);
|
|
40617
40623
|
}
|
|
40618
|
-
d.prototype.catch = function(
|
|
40619
|
-
return this.then(null,
|
|
40620
|
-
}, d.prototype.then = function(
|
|
40621
|
-
if (typeof
|
|
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 ?
|
|
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,
|
|
40634
|
+
this.queue.push(new f(R, T, E));
|
|
40629
40635
|
return R;
|
|
40630
40636
|
};
|
|
40631
|
-
function f(
|
|
40632
|
-
this.promise =
|
|
40633
|
-
}
|
|
40634
|
-
f.prototype.callFulfilled = function(
|
|
40635
|
-
a.resolve(this.promise,
|
|
40636
|
-
}, f.prototype.otherCallFulfilled = function(
|
|
40637
|
-
h(this.promise, this.onFulfilled,
|
|
40638
|
-
}, f.prototype.callRejected = function(
|
|
40639
|
-
a.reject(this.promise,
|
|
40640
|
-
}, f.prototype.otherCallRejected = function(
|
|
40641
|
-
h(this.promise, this.onRejected,
|
|
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(
|
|
40649
|
+
function h(T, E, R) {
|
|
40644
40650
|
o(function() {
|
|
40645
40651
|
var U;
|
|
40646
40652
|
try {
|
|
40647
|
-
U =
|
|
40653
|
+
U = E(R);
|
|
40648
40654
|
} catch (L) {
|
|
40649
|
-
return a.reject(
|
|
40655
|
+
return a.reject(T, L);
|
|
40650
40656
|
}
|
|
40651
|
-
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(
|
|
40655
|
-
var R = v(p,
|
|
40660
|
+
a.resolve = function(T, E) {
|
|
40661
|
+
var R = v(p, E);
|
|
40656
40662
|
if (R.status === "error")
|
|
40657
|
-
return a.reject(
|
|
40663
|
+
return a.reject(T, R.value);
|
|
40658
40664
|
var U = R.value;
|
|
40659
40665
|
if (U)
|
|
40660
|
-
m(
|
|
40666
|
+
m(T, U);
|
|
40661
40667
|
else {
|
|
40662
|
-
|
|
40663
|
-
for (var L = -1, te =
|
|
40664
|
-
|
|
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
|
|
40667
|
-
}, a.reject = function(
|
|
40668
|
-
|
|
40669
|
-
for (var R = -1, U =
|
|
40670
|
-
|
|
40671
|
-
return
|
|
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(
|
|
40674
|
-
var
|
|
40675
|
-
if (
|
|
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
|
-
|
|
40683
|
+
E.apply(T, arguments);
|
|
40678
40684
|
};
|
|
40679
40685
|
}
|
|
40680
|
-
function m(
|
|
40686
|
+
function m(T, E) {
|
|
40681
40687
|
var R = !1;
|
|
40682
40688
|
function U(S) {
|
|
40683
|
-
R || (R = !0, a.reject(
|
|
40689
|
+
R || (R = !0, a.reject(T, S));
|
|
40684
40690
|
}
|
|
40685
40691
|
function L(S) {
|
|
40686
|
-
R || (R = !0, a.resolve(
|
|
40692
|
+
R || (R = !0, a.resolve(T, S));
|
|
40687
40693
|
}
|
|
40688
40694
|
function te() {
|
|
40689
|
-
|
|
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(
|
|
40700
|
+
function v(T, E) {
|
|
40695
40701
|
var R = {};
|
|
40696
40702
|
try {
|
|
40697
|
-
R.value =
|
|
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(
|
|
40705
|
-
return
|
|
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(
|
|
40709
|
-
var
|
|
40710
|
-
return a.reject(
|
|
40711
|
-
}
|
|
40712
|
-
d.all =
|
|
40713
|
-
function T
|
|
40714
|
-
var
|
|
40715
|
-
if (Object.prototype.toString.call(
|
|
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 =
|
|
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(
|
|
40727
|
+
P(T[re], re);
|
|
40722
40728
|
return S;
|
|
40723
|
-
function P(D,
|
|
40724
|
-
|
|
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[
|
|
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(
|
|
40734
|
-
var
|
|
40735
|
-
if (Object.prototype.toString.call(
|
|
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 =
|
|
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(
|
|
40747
|
+
re(T[L]);
|
|
40742
40748
|
return te;
|
|
40743
40749
|
function re(S) {
|
|
40744
|
-
|
|
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 = {},
|
|
40828
|
-
function
|
|
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,
|
|
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
|
|
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 =
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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
|
|
42062
|
-
return "[" + D + (
|
|
42063
|
-
} },
|
|
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 >=
|
|
42066
|
-
}, x = { s:
|
|
42067
|
-
var
|
|
42068
|
-
return (
|
|
42069
|
-
}, m: function D(
|
|
42070
|
-
if (
|
|
42071
|
-
var K = 12 * (Y.year() -
|
|
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
|
-
} },
|
|
42080
|
-
|
|
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(
|
|
42089
|
+
}, L = function D(M, Y, K) {
|
|
42084
42090
|
var j;
|
|
42085
|
-
if (!
|
|
42086
|
-
if (typeof
|
|
42087
|
-
var se =
|
|
42088
|
-
|
|
42089
|
-
var me =
|
|
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 =
|
|
42093
|
-
|
|
42098
|
+
var Ne = M.name;
|
|
42099
|
+
E[Ne] = M, j = Ne;
|
|
42094
42100
|
}
|
|
42095
|
-
return !K && j && (
|
|
42096
|
-
}, te = function(D,
|
|
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
|
|
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,
|
|
42102
|
-
return te(D, { locale:
|
|
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
|
|
42109
|
-
return
|
|
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
|
-
},
|
|
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
|
-
},
|
|
42133
|
+
}, M.$utils = function() {
|
|
42128
42134
|
return re;
|
|
42129
|
-
},
|
|
42135
|
+
}, M.isValid = function() {
|
|
42130
42136
|
return this.$d.toString() !== m;
|
|
42131
|
-
},
|
|
42137
|
+
}, M.isSame = function(Y, K) {
|
|
42132
42138
|
var j = te(Y);
|
|
42133
42139
|
return this.startOf(K) <= j && j <= this.endOf(K);
|
|
42134
|
-
},
|
|
42140
|
+
}, M.isAfter = function(Y, K) {
|
|
42135
42141
|
return te(Y) < this.startOf(K);
|
|
42136
|
-
},
|
|
42142
|
+
}, M.isBefore = function(Y, K) {
|
|
42137
42143
|
return this.endOf(K) < te(Y);
|
|
42138
|
-
},
|
|
42144
|
+
}, M.$g = function(Y, K, j) {
|
|
42139
42145
|
return re.u(Y) ? this[K] : this.set(j, Y);
|
|
42140
|
-
},
|
|
42146
|
+
}, M.unix = function() {
|
|
42141
42147
|
return Math.floor(this.valueOf() / 1e3);
|
|
42142
|
-
},
|
|
42148
|
+
}, M.valueOf = function() {
|
|
42143
42149
|
return this.$d.getTime();
|
|
42144
|
-
},
|
|
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
|
-
},
|
|
42177
|
+
}, M.endOf = function(Y) {
|
|
42172
42178
|
return this.startOf(Y, !1);
|
|
42173
|
-
},
|
|
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
|
-
},
|
|
42186
|
+
}, M.set = function(Y, K) {
|
|
42181
42187
|
return this.clone().$set(Y, K);
|
|
42182
|
-
},
|
|
42188
|
+
}, M.get = function(Y) {
|
|
42183
42189
|
return this[re.p(Y)]();
|
|
42184
|
-
},
|
|
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
|
-
},
|
|
42203
|
+
}, M.subtract = function(Y, K) {
|
|
42198
42204
|
return this.add(-1 * Y, K);
|
|
42199
|
-
},
|
|
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
|
-
},
|
|
42271
|
+
}, M.utcOffset = function() {
|
|
42266
42272
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
42267
|
-
},
|
|
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
|
-
},
|
|
42306
|
+
}, M.daysInMonth = function() {
|
|
42301
42307
|
return this.endOf(d).$D;
|
|
42302
|
-
},
|
|
42303
|
-
return
|
|
42304
|
-
},
|
|
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
|
-
},
|
|
42314
|
+
}, M.clone = function() {
|
|
42309
42315
|
return re.w(this.$d, this);
|
|
42310
|
-
},
|
|
42316
|
+
}, M.toDate = function() {
|
|
42311
42317
|
return new Date(this.valueOf());
|
|
42312
|
-
},
|
|
42318
|
+
}, M.toJSON = function() {
|
|
42313
42319
|
return this.isValid() ? this.toISOString() : null;
|
|
42314
|
-
},
|
|
42320
|
+
}, M.toISOString = function() {
|
|
42315
42321
|
return this.$d.toISOString();
|
|
42316
|
-
},
|
|
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(
|
|
42322
|
-
return this.$g(
|
|
42327
|
+
P[D[1]] = function(M) {
|
|
42328
|
+
return this.$g(M, D[0], D[1]);
|
|
42323
42329
|
};
|
|
42324
|
-
}), te.extend = function(D,
|
|
42325
|
-
return D.$i || (D(
|
|
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 =
|
|
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
|
|
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
|
-
},
|
|
42387
|
+
}, T = function() {
|
|
42382
42388
|
var S = x("hex");
|
|
42383
|
-
s && (S =
|
|
42389
|
+
s && (S = E(S)), S.create = function() {
|
|
42384
42390
|
return new L();
|
|
42385
|
-
}, S.update = function(
|
|
42386
|
-
return S.create().update(
|
|
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
|
-
},
|
|
42394
|
-
var P = uy, D = uy.Buffer,
|
|
42395
|
-
D.from && !i.JS_MD5_NO_BUFFER_FROM ?
|
|
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(
|
|
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(
|
|
42413
|
-
return new te(
|
|
42414
|
-
}, S.update = function(
|
|
42415
|
-
return S.create(
|
|
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 =
|
|
42442
|
+
var P = A(S);
|
|
42437
42443
|
S = P[0];
|
|
42438
|
-
for (var D = P[1],
|
|
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
|
-
|
|
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
|
-
|
|
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,
|
|
42463
|
-
this.first ? (S = j[0] - 680876937, S = (S << 7 | S >>> 25) - 271733879 << 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,
|
|
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[
|
|
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,
|
|
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
|
-
|
|
42485
|
-
|
|
42486
|
-
|
|
42487
|
-
|
|
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,
|
|
42495
|
-
S = Y[K++], P = Y[K++], D = Y[K++],
|
|
42496
|
-
return S = Y[K],
|
|
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,
|
|
42500
|
-
if (S =
|
|
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 =
|
|
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,
|
|
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), (
|
|
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,
|
|
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] = (
|
|
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] = (
|
|
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(
|
|
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), (
|
|
42622
|
-
key:
|
|
42623
|
-
class: ht(["versions-group-item",
|
|
42624
|
-
onClick: (R) => d(
|
|
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(
|
|
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-${
|
|
42642
|
+
class: ht(`i-sed:history-${T.value.version}`)
|
|
42637
42643
|
}, null, 2)
|
|
42638
42644
|
]),
|
|
42639
42645
|
default: ne(() => [
|
|
42640
|
-
Mt(xe(o[
|
|
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] = (
|
|
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,
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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,
|
|
43351
|
-
return ((
|
|
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:
|
|
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:
|
|
43374
|
+
const { node: T } = e.value.view.domAtPos(
|
|
43369
43375
|
e.value.state.selection.anchor
|
|
43370
43376
|
);
|
|
43371
|
-
|
|
43377
|
+
T.scrollIntoView({ behavior: "smooth", block: "center" });
|
|
43372
43378
|
}
|
|
43373
43379
|
jt(
|
|
43374
43380
|
() => a.value.trim(),
|
|
43375
|
-
(k,
|
|
43376
|
-
k || d(), k !==
|
|
43381
|
+
(k, A) => {
|
|
43382
|
+
k || d(), k !== A && f(!0);
|
|
43377
43383
|
}
|
|
43378
43384
|
), jt(
|
|
43379
43385
|
() => l.value.trim(),
|
|
43380
|
-
(k,
|
|
43386
|
+
(k, A) => k === A ? null : f()
|
|
43381
43387
|
), jt(
|
|
43382
43388
|
() => c.value,
|
|
43383
43389
|
// 修复:使用 getter 函数监听 caseSensitive 的值
|
|
43384
|
-
(k,
|
|
43385
|
-
k !==
|
|
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,
|
|
43410
|
-
const x = Ky,
|
|
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:
|
|
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":
|
|
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(
|
|
43454
|
+
V(T, {
|
|
43449
43455
|
disabled: g(u) === 0,
|
|
43450
43456
|
quaternary: "",
|
|
43451
43457
|
onClick: p
|
|
43452
43458
|
}, {
|
|
43453
|
-
default: ne(() =>
|
|
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(
|
|
43464
|
+
V(T, {
|
|
43459
43465
|
disabled: g(u) === 0,
|
|
43460
43466
|
quaternary: "",
|
|
43461
43467
|
onClick: m
|
|
43462
43468
|
}, {
|
|
43463
|
-
default: ne(() =>
|
|
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":
|
|
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(
|
|
43487
|
+
V(E, {
|
|
43482
43488
|
checked: g(c),
|
|
43483
|
-
"onUpdate:checked":
|
|
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(
|
|
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(
|
|
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(
|
|
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,
|
|
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")) && ((
|
|
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: (
|
|
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,
|
|
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 } = ((
|
|
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
|
|
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,
|
|
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: ((
|
|
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((
|
|
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(
|
|
44216
|
-
if (
|
|
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:
|
|
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(
|
|
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
|
|
44265
|
-
r.value = !1, (
|
|
44270
|
+
var E;
|
|
44271
|
+
r.value = !1, (E = t.value) == null || E.commands.focus();
|
|
44266
44272
|
}
|
|
44267
|
-
function
|
|
44273
|
+
function A() {
|
|
44268
44274
|
h.value && h.value.abort();
|
|
44269
44275
|
}
|
|
44270
44276
|
function x() {
|
|
44271
44277
|
var R, U;
|
|
44272
|
-
const { to:
|
|
44273
|
-
(U = t.value) == null || U.chain().focus().insertContentAt(
|
|
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
|
|
44281
|
+
function T() {
|
|
44276
44282
|
var U, L;
|
|
44277
|
-
const { from:
|
|
44278
|
-
(L = t.value) == null || L.chain().focus().insertContentAt({ from:
|
|
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
|
-
}), (
|
|
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:
|
|
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:
|
|
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,
|
|
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
|
|
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 && ((
|
|
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 || ((
|
|
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(
|
|
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,
|
|
44717
|
-
key:
|
|
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,
|
|
44729
|
-
key:
|
|
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,
|
|
44742
|
-
key:
|
|
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(_))("
|
|
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-
|
|
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$,
|
|
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(
|
|
46277
|
+
V(A),
|
|
46272
46278
|
V(x),
|
|
46273
46279
|
o[2] || (o[2] = q("div", { class: "smart-bubble-menu-divider" }, null, -1)),
|
|
46274
|
-
V(
|
|
46275
|
-
V(
|
|
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(
|
|
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,
|
|
48424
|
-
|
|
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
|
-
),
|
|
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 && !
|
|
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
|
|
53409
|
-
const
|
|
53410
|
-
|
|
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: (
|
|
53419
|
-
}), (
|
|
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 :
|
|
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
|
-
...(
|
|
53431
|
+
...(p = e.value.document) == null ? void 0 : p.editorProps
|
|
53430
53432
|
},
|
|
53431
|
-
extensions: (
|
|
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
|
|
53440
|
-
if (document.querySelector("#katex-style") === null && !((
|
|
53441
|
-
const
|
|
53442
|
-
|
|
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
|
-
}), (
|
|
53448
|
-
var
|
|
53449
|
-
const
|
|
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(
|
|
53458
|
-
(
|
|
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,
|
|
53475
|
+
const { id: f, originalLevel: h, node: p } = d, m = s(p);
|
|
53478
53476
|
return {
|
|
53479
53477
|
id: f,
|
|
53480
|
-
|
|
53481
|
-
|
|
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-
|
|
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: (
|
|
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
|
|
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(
|
|
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,
|
|
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(
|
|
54999
|
+
V(A)
|
|
55003
55000
|
]),
|
|
55004
55001
|
q("div", QU, [
|
|
55005
55002
|
V(x),
|
|
55006
|
-
V(
|
|
55007
|
-
V(
|
|
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(
|
|
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),
|
|
55125
|
-
var te, re, S, P, D,
|
|
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: (
|
|
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
|
|
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
|
|
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
|
-
|
|
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",
|
|
55218
|
+
return Eu("saveContent", A), Eu("setLocale", T), e({
|
|
55222
55219
|
getOptions: () => l.value,
|
|
55223
55220
|
setOptions: f,
|
|
55224
|
-
setLocale:
|
|
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: () =>
|
|
55250
|
-
getHTML: () =>
|
|
55251
|
-
getJSON: () =>
|
|
55252
|
-
saveContent:
|
|
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,
|
|
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(
|
|
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,
|
|
55536
|
-
return I(), X(
|
|
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] = (
|
|
55546
|
-
onMouseover: y[3] || (y[3] = (
|
|
55547
|
-
onMouseleave: y[4] || (y[4] = (
|
|
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(
|
|
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(
|
|
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] = (
|
|
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(
|
|
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] = (
|
|
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,
|
|
56362
|
-
key:
|
|
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,
|
|
56374
|
-
key:
|
|
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,
|
|
56387
|
-
key:
|
|
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,
|
|
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(
|
|
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: (
|
|
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,
|
|
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(
|
|
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,
|
|
57881
|
-
|
|
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,
|
|
57910
|
-
return I(), X(
|
|
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),
|