smart-editor-v3 1.17.8 → 1.17.9
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 +1027 -1018
- package/dist/style.css +1 -1
- package/package.json +122 -122
|
@@ -231,7 +231,7 @@ const VC = /<\/?[\w\s="/.':;#-\/]+>/, WC = (t) => VC.test(t), ni = " ", qC = "\r
|
|
|
231
231
|
function jC(t) {
|
|
232
232
|
const e = t;
|
|
233
233
|
let n = 0, r = 1, o = 1, i = 0;
|
|
234
|
-
const s = (
|
|
234
|
+
const s = (N) => e[N] === qC && e[N + 1] === gr, a = (N) => e[N] === gr, l = (N) => e[N] === GC, c = (N) => e[N] === KC, u = (N) => s(N) || a(N) || l(N) || c(N), d = () => n, f = () => r, h = () => o, p = () => i, m = (N) => s(N) || l(N) || c(N) ? gr : e[N], g = () => m(n), b = () => m(n + i);
|
|
235
235
|
function _() {
|
|
236
236
|
return i = 0, u(n) && (r++, o = 0), s(n) && n++, n++, o++, e[n];
|
|
237
237
|
}
|
|
@@ -241,12 +241,12 @@ function jC(t) {
|
|
|
241
241
|
function w() {
|
|
242
242
|
n = 0, r = 1, o = 1, i = 0;
|
|
243
243
|
}
|
|
244
|
-
function E(
|
|
245
|
-
i =
|
|
244
|
+
function E(N = 0) {
|
|
245
|
+
i = N;
|
|
246
246
|
}
|
|
247
247
|
function T() {
|
|
248
|
-
const
|
|
249
|
-
for (;
|
|
248
|
+
const N = n + i;
|
|
249
|
+
for (; N !== n; )
|
|
250
250
|
_();
|
|
251
251
|
i = 0;
|
|
252
252
|
}
|
|
@@ -359,7 +359,7 @@ function JC(t, e = {}) {
|
|
|
359
359
|
const ge = V.currentPeek() === ".";
|
|
360
360
|
return V.resetPeek(), ge;
|
|
361
361
|
}
|
|
362
|
-
function
|
|
362
|
+
function N(V, K) {
|
|
363
363
|
const { currentType: ue } = K;
|
|
364
364
|
if (ue !== 8)
|
|
365
365
|
return !1;
|
|
@@ -401,7 +401,7 @@ function JC(t, e = {}) {
|
|
|
401
401
|
const ue = V.currentChar();
|
|
402
402
|
return ue === Ii ? Ii : K(ue) ? (V.next(), ue) : null;
|
|
403
403
|
}
|
|
404
|
-
function
|
|
404
|
+
function P(V) {
|
|
405
405
|
const K = V.charCodeAt(0);
|
|
406
406
|
return K >= 97 && K <= 122 || // a-z
|
|
407
407
|
K >= 65 && K <= 90 || // A-Z
|
|
@@ -410,7 +410,7 @@ function JC(t, e = {}) {
|
|
|
410
410
|
K === 36;
|
|
411
411
|
}
|
|
412
412
|
function I(V) {
|
|
413
|
-
return A(V,
|
|
413
|
+
return A(V, P);
|
|
414
414
|
}
|
|
415
415
|
function S(V) {
|
|
416
416
|
const K = V.charCodeAt(0);
|
|
@@ -612,7 +612,7 @@ function JC(t, e = {}) {
|
|
|
612
612
|
/* TokenChars.LinkedDelimiter */
|
|
613
613
|
);
|
|
614
614
|
default:
|
|
615
|
-
return J(V) ? (ge = f(K, 1, Rt(V)), K.braceNest = 0, K.inLinked = !1, ge) : T(V, K) || H(V, K) ? (g(V), bt(V, K)) :
|
|
615
|
+
return J(V) ? (ge = f(K, 1, Rt(V)), K.braceNest = 0, K.inLinked = !1, ge) : T(V, K) || H(V, K) ? (g(V), bt(V, K)) : N(V, K) ? (g(V), f(K, 11, Ot(V))) : L(V, K) ? (g(V), ze === "{" ? Vt(V, K) || ge : f(K, 10, Ft(V))) : (ue === 7 && d(ft.INVALID_LINKED_FORMAT, i(), 0), K.braceNest = 0, K.inLinked = !1, je(V, K));
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
618
|
function je(V, K) {
|
|
@@ -679,7 +679,7 @@ function tT(t = {}) {
|
|
|
679
679
|
function r(b, _, k, w, ...E) {
|
|
680
680
|
const T = b.currentPosition();
|
|
681
681
|
if (T.offset += w, T.column += w, n) {
|
|
682
|
-
const
|
|
682
|
+
const N = e ? bm(k, T) : null, H = Al(_, N, {
|
|
683
683
|
domain: ZC,
|
|
684
684
|
args: E
|
|
685
685
|
});
|
|
@@ -781,19 +781,19 @@ function tT(t = {}) {
|
|
|
781
781
|
}
|
|
782
782
|
}
|
|
783
783
|
} while (_.currentType !== 13 && _.currentType !== 1);
|
|
784
|
-
const
|
|
785
|
-
return i(E,
|
|
784
|
+
const N = _.currentType === 1 ? _.lastOffset : b.currentOffset(), H = _.currentType === 1 ? _.lastEndLoc : b.currentPosition();
|
|
785
|
+
return i(E, N, H), E;
|
|
786
786
|
}
|
|
787
787
|
function p(b, _, k, w) {
|
|
788
788
|
const E = b.context();
|
|
789
789
|
let T = w.items.length === 0;
|
|
790
|
-
const
|
|
791
|
-
|
|
790
|
+
const N = o(1, _, k);
|
|
791
|
+
N.cases = [], N.cases.push(w);
|
|
792
792
|
do {
|
|
793
793
|
const H = h(b);
|
|
794
|
-
T || (T = H.items.length === 0),
|
|
794
|
+
T || (T = H.items.length === 0), N.cases.push(H);
|
|
795
795
|
} while (E.currentType !== 13);
|
|
796
|
-
return T && r(b, ft.MUST_HAVE_MESSAGES_IN_PLURAL, k, 0), i(
|
|
796
|
+
return T && r(b, ft.MUST_HAVE_MESSAGES_IN_PLURAL, k, 0), i(N, b.currentOffset(), b.currentPosition()), N;
|
|
797
797
|
}
|
|
798
798
|
function m(b) {
|
|
799
799
|
const _ = b.context(), { offset: k, startLoc: w } = _, E = h(b);
|
|
@@ -1710,7 +1710,7 @@ let by = 0;
|
|
|
1710
1710
|
function eA(t = {}) {
|
|
1711
1711
|
const e = Zt(t.onWarn) ? t.onWarn : Si, n = Ie(t.version) ? t.version : KT, r = Ie(t.locale) || Zt(t.locale) ? t.locale : Ac, o = Zt(r) ? Ac : r, i = bn(t.fallbackLocale) || xt(t.fallbackLocale) || Ie(t.fallbackLocale) || t.fallbackLocale === !1 ? t.fallbackLocale : o, s = xt(t.messages) ? t.messages : Kp(o), a = xt(t.datetimeFormats) ? t.datetimeFormats : Kp(o), l = xt(t.numberFormats) ? t.numberFormats : Kp(o), c = Un(Xt(), t.modifiers, GT()), u = t.pluralRules || Xt(), d = Zt(t.missing) ? t.missing : null, f = Bt(t.missingWarn) || tl(t.missingWarn) ? t.missingWarn : !0, h = Bt(t.fallbackWarn) || tl(t.fallbackWarn) ? t.fallbackWarn : !0, p = !!t.fallbackFormat, m = !!t.unresolving, g = Zt(t.postTranslation) ? t.postTranslation : null, b = xt(t.processor) ? t.processor : null, _ = Bt(t.warnHtmlMessage) ? t.warnHtmlMessage : !0, k = !!t.escapeParameter, w = Zt(t.messageCompiler) ? t.messageCompiler : p3;
|
|
1712
1712
|
process.env.NODE_ENV !== "production" && Zt(t.messageCompiler) && n3(na(Tr.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
1713
|
-
const E = Zt(t.messageResolver) ? t.messageResolver : m3 || UT, T = Zt(t.localeFallbacker) ? t.localeFallbacker : g3 || IT,
|
|
1713
|
+
const E = Zt(t.messageResolver) ? t.messageResolver : m3 || UT, T = Zt(t.localeFallbacker) ? t.localeFallbacker : g3 || IT, N = It(t.fallbackContext) ? t.fallbackContext : void 0, H = t, L = It(H.__datetimeFormatters) ? H.__datetimeFormatters : /* @__PURE__ */ new Map(), J = It(H.__numberFormatters) ? H.__numberFormatters : /* @__PURE__ */ new Map(), Z = It(H.__meta) ? H.__meta : {};
|
|
1714
1714
|
by++;
|
|
1715
1715
|
const A = {
|
|
1716
1716
|
version: n,
|
|
@@ -1732,7 +1732,7 @@ function eA(t = {}) {
|
|
|
1732
1732
|
messageCompiler: w,
|
|
1733
1733
|
messageResolver: E,
|
|
1734
1734
|
localeFallbacker: T,
|
|
1735
|
-
fallbackContext:
|
|
1735
|
+
fallbackContext: N,
|
|
1736
1736
|
onWarn: e,
|
|
1737
1737
|
__meta: Z
|
|
1738
1738
|
};
|
|
@@ -1816,10 +1816,10 @@ function yy(t, ...e) {
|
|
|
1816
1816
|
}
|
|
1817
1817
|
if (!xt(k) || !Ie(_))
|
|
1818
1818
|
return r ? Rh : l;
|
|
1819
|
-
let
|
|
1820
|
-
Oh(d) || (
|
|
1821
|
-
let H = a.get(
|
|
1822
|
-
return H || (H = new Intl.DateTimeFormat(_, Un({}, k, d)), a.set(
|
|
1819
|
+
let N = `${_}__${l}`;
|
|
1820
|
+
Oh(d) || (N = `${N}__${JSON.stringify(d)}`);
|
|
1821
|
+
let H = a.get(N);
|
|
1822
|
+
return H || (H = new Intl.DateTimeFormat(_, Un({}, k, d)), a.set(N, H)), p ? H.formatToParts(c) : H.format(c);
|
|
1823
1823
|
}
|
|
1824
1824
|
const x3 = [
|
|
1825
1825
|
"localeMatcher",
|
|
@@ -1910,10 +1910,10 @@ function wy(t, ...e) {
|
|
|
1910
1910
|
}
|
|
1911
1911
|
if (!xt(k) || !Ie(_))
|
|
1912
1912
|
return r ? Rh : l;
|
|
1913
|
-
let
|
|
1914
|
-
Oh(d) || (
|
|
1915
|
-
let H = a.get(
|
|
1916
|
-
return H || (H = new Intl.NumberFormat(_, Un({}, k, d)), a.set(
|
|
1913
|
+
let N = `${_}__${l}`;
|
|
1914
|
+
Oh(d) || (N = `${N}__${JSON.stringify(d)}`);
|
|
1915
|
+
let H = a.get(N);
|
|
1916
|
+
return H || (H = new Intl.NumberFormat(_, Un({}, k, d)), a.set(N, H)), p ? H.formatToParts(c) : H.format(c);
|
|
1917
1917
|
}
|
|
1918
1918
|
const k3 = [
|
|
1919
1919
|
"localeMatcher",
|
|
@@ -1981,9 +1981,9 @@ function cA(t = {}) {
|
|
|
1981
1981
|
const [k, w] = _;
|
|
1982
1982
|
let E = "text", T = "";
|
|
1983
1983
|
_.length === 1 ? It(k) ? (T = k.modifier || T, E = k.type || E) : Ie(k) && (T = k || T) : _.length === 2 && (Ie(k) && (T = k || T), Ie(w) && (E = w || E));
|
|
1984
|
-
const
|
|
1984
|
+
const N = u(b, !0)(g), H = (
|
|
1985
1985
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1986
|
-
E === "vnode" && bn(
|
|
1986
|
+
E === "vnode" && bn(N) && T ? N[0] : N
|
|
1987
1987
|
);
|
|
1988
1988
|
return T ? d(T)(H, E) : H;
|
|
1989
1989
|
},
|
|
@@ -2009,22 +2009,22 @@ function Sy(t, ...e) {
|
|
|
2009
2009
|
if (process.env.NODE_ENV !== "production" && Ie(w) && t.messageCompiler == null)
|
|
2010
2010
|
return Si(`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;
|
|
2011
2011
|
let T = !1;
|
|
2012
|
-
const
|
|
2012
|
+
const N = () => {
|
|
2013
2013
|
T = !0;
|
|
2014
|
-
}, H = to(w) ? w : S3(t, l, _, w, E,
|
|
2014
|
+
}, H = to(w) ? w : S3(t, l, _, w, E, N);
|
|
2015
2015
|
if (T)
|
|
2016
2016
|
return w;
|
|
2017
2017
|
const L = pA(t, _, k, c), J = cA(L), Z = dA(t, H, J);
|
|
2018
2018
|
let A = r ? r(Z, l) : Z;
|
|
2019
2019
|
if (f && Ie(A) && (A = DC(A)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
2020
|
-
const
|
|
2020
|
+
const P = {
|
|
2021
2021
|
timestamp: Date.now(),
|
|
2022
2022
|
key: Ie(l) ? l : to(w) ? w.key : "",
|
|
2023
2023
|
locale: _ || (to(w) ? w.locale : ""),
|
|
2024
2024
|
format: Ie(w) ? w : to(w) ? w.source : "",
|
|
2025
2025
|
message: A
|
|
2026
2026
|
};
|
|
2027
|
-
|
|
2027
|
+
P.meta = Un({}, t.__meta, /* @__PURE__ */ ZT() || {}), MT(P);
|
|
2028
2028
|
}
|
|
2029
2029
|
return A;
|
|
2030
2030
|
}
|
|
@@ -2431,8 +2431,8 @@ function k1(t = {}) {
|
|
|
2431
2431
|
), c = i(x1(a.value, t)), u = i(xt(t.datetimeFormats) ? t.datetimeFormats : { [a.value]: {} }), d = i(xt(t.numberFormats) ? t.numberFormats : { [a.value]: {} });
|
|
2432
2432
|
let f = e ? e.missingWarn : Bt(t.missingWarn) || tl(t.missingWarn) ? t.missingWarn : !0, h = e ? e.fallbackWarn : Bt(t.fallbackWarn) || tl(t.fallbackWarn) ? t.fallbackWarn : !0, p = e ? e.fallbackRoot : Bt(t.fallbackRoot) ? t.fallbackRoot : !0, m = !!t.fallbackFormat, g = Zt(t.missing) ? t.missing : null, b = Zt(t.missing) ? Ny(t.missing) : null, _ = Zt(t.postTranslation) ? t.postTranslation : null, k = e ? e.warnHtmlMessage : Bt(t.warnHtmlMessage) ? t.warnHtmlMessage : !0, w = !!t.escapeParameter;
|
|
2433
2433
|
const E = e ? e.modifiers : xt(t.modifiers) ? t.modifiers : {};
|
|
2434
|
-
let T = t.pluralRules || e && e.pluralRules,
|
|
2435
|
-
|
|
2434
|
+
let T = t.pluralRules || e && e.pluralRules, N;
|
|
2435
|
+
N = (() => {
|
|
2436
2436
|
r && gy(null);
|
|
2437
2437
|
const de = {
|
|
2438
2438
|
version: kA,
|
|
@@ -2453,10 +2453,10 @@ function k1(t = {}) {
|
|
|
2453
2453
|
messageCompiler: t.messageCompiler,
|
|
2454
2454
|
__meta: { framework: "vue" }
|
|
2455
2455
|
};
|
|
2456
|
-
de.datetimeFormats = u.value, de.numberFormats = d.value, de.__datetimeFormatters = xt(
|
|
2456
|
+
de.datetimeFormats = u.value, de.numberFormats = d.value, de.__datetimeFormatters = xt(N) ? N.__datetimeFormatters : void 0, de.__numberFormatters = xt(N) ? N.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (de.__v_emitter = xt(N) ? N.__v_emitter : void 0);
|
|
2457
2457
|
const re = eA(de);
|
|
2458
2458
|
return r && gy(re), re;
|
|
2459
|
-
})(), Gl(
|
|
2459
|
+
})(), Gl(N, a.value, l.value);
|
|
2460
2460
|
function L() {
|
|
2461
2461
|
return [
|
|
2462
2462
|
a.value,
|
|
@@ -2469,25 +2469,25 @@ function k1(t = {}) {
|
|
|
2469
2469
|
const J = Ze({
|
|
2470
2470
|
get: () => a.value,
|
|
2471
2471
|
set: (de) => {
|
|
2472
|
-
a.value = de,
|
|
2472
|
+
a.value = de, N.locale = a.value;
|
|
2473
2473
|
}
|
|
2474
2474
|
}), Z = Ze({
|
|
2475
2475
|
get: () => l.value,
|
|
2476
2476
|
set: (de) => {
|
|
2477
|
-
l.value = de,
|
|
2477
|
+
l.value = de, N.fallbackLocale = l.value, Gl(N, a.value, de);
|
|
2478
2478
|
}
|
|
2479
|
-
}), A = Ze(() => c.value),
|
|
2479
|
+
}), A = Ze(() => c.value), P = /* @__PURE__ */ Ze(() => u.value), I = /* @__PURE__ */ Ze(() => d.value);
|
|
2480
2480
|
function S() {
|
|
2481
2481
|
return Zt(_) ? _ : null;
|
|
2482
2482
|
}
|
|
2483
2483
|
function D(de) {
|
|
2484
|
-
_ = de,
|
|
2484
|
+
_ = de, N.postTranslation = de;
|
|
2485
2485
|
}
|
|
2486
2486
|
function C() {
|
|
2487
2487
|
return g;
|
|
2488
2488
|
}
|
|
2489
2489
|
function R(de) {
|
|
2490
|
-
de !== null && (b = Ny(de)), g = de,
|
|
2490
|
+
de !== null && (b = Ny(de)), g = de, N.missing = b;
|
|
2491
2491
|
}
|
|
2492
2492
|
function z(de, re) {
|
|
2493
2493
|
return de !== "translate" || !re.resolvedMessage;
|
|
@@ -2496,9 +2496,9 @@ function k1(t = {}) {
|
|
|
2496
2496
|
L();
|
|
2497
2497
|
let St;
|
|
2498
2498
|
try {
|
|
2499
|
-
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (
|
|
2499
|
+
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (N.fallbackContext = e ? QT() : void 0), St = de(N);
|
|
2500
2500
|
} finally {
|
|
2501
|
-
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (
|
|
2501
|
+
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (N.fallbackContext = void 0);
|
|
2502
2502
|
}
|
|
2503
2503
|
if (oe !== "translate exists" && // for not `te` (e.g `t`)
|
|
2504
2504
|
Nn(St) && St === Rh || oe === "translate exists" && !St) {
|
|
@@ -2507,7 +2507,7 @@ function k1(t = {}) {
|
|
|
2507
2507
|
key: ln,
|
|
2508
2508
|
type: oe
|
|
2509
2509
|
})), process.env.NODE_ENV !== "production")) {
|
|
2510
|
-
const { __v_emitter: he } =
|
|
2510
|
+
const { __v_emitter: he } = N;
|
|
2511
2511
|
he && p && he.emit("fallback", {
|
|
2512
2512
|
type: oe,
|
|
2513
2513
|
key: ln,
|
|
@@ -2564,21 +2564,21 @@ function k1(t = {}) {
|
|
|
2564
2564
|
return q((re) => Reflect.apply(yy, null, [re, ...de]), () => ym(...de), "datetime format", (re) => re[Em](...de), Ay, (re) => Ie(re) || bn(re));
|
|
2565
2565
|
}
|
|
2566
2566
|
function Ot(de) {
|
|
2567
|
-
T = de,
|
|
2567
|
+
T = de, N.pluralRules = T;
|
|
2568
2568
|
}
|
|
2569
2569
|
function Ft(de, re) {
|
|
2570
2570
|
return q(() => {
|
|
2571
2571
|
if (!de)
|
|
2572
2572
|
return !1;
|
|
2573
|
-
const oe = Ie(re) ? re : a.value, fe = bt(oe), Me =
|
|
2573
|
+
const oe = Ie(re) ? re : a.value, fe = bt(oe), Me = N.messageResolver(fe, de);
|
|
2574
2574
|
return ao(Me) || to(Me) || Ie(Me);
|
|
2575
2575
|
}, () => [de], "translate exists", (oe) => Reflect.apply(oe.te, oe, [de, re]), TA, (oe) => Bt(oe));
|
|
2576
2576
|
}
|
|
2577
2577
|
function Rt(de) {
|
|
2578
2578
|
let re = null;
|
|
2579
|
-
const oe = h3(
|
|
2579
|
+
const oe = h3(N, l.value, a.value);
|
|
2580
2580
|
for (let fe = 0; fe < oe.length; fe++) {
|
|
2581
|
-
const Me = c.value[oe[fe]] || {}, Xe =
|
|
2581
|
+
const Me = c.value[oe[fe]] || {}, Xe = N.messageResolver(Me, de);
|
|
2582
2582
|
if (Xe != null) {
|
|
2583
2583
|
re = Xe;
|
|
2584
2584
|
break;
|
|
@@ -2600,7 +2600,7 @@ function k1(t = {}) {
|
|
|
2600
2600
|
bo(oe, fe) && Nc(oe[fe]);
|
|
2601
2601
|
re = oe[de];
|
|
2602
2602
|
}
|
|
2603
|
-
c.value[de] = re,
|
|
2603
|
+
c.value[de] = re, N.messages = c.value;
|
|
2604
2604
|
}
|
|
2605
2605
|
function nn(de, re) {
|
|
2606
2606
|
c.value[de] = c.value[de] || {};
|
|
@@ -2608,30 +2608,30 @@ function k1(t = {}) {
|
|
|
2608
2608
|
if (o)
|
|
2609
2609
|
for (const fe in oe)
|
|
2610
2610
|
bo(oe, fe) && Nc(oe[fe]);
|
|
2611
|
-
re = oe[de], Ld(re, c.value[de]),
|
|
2611
|
+
re = oe[de], Ld(re, c.value[de]), N.messages = c.value;
|
|
2612
2612
|
}
|
|
2613
2613
|
function V(de) {
|
|
2614
2614
|
return u.value[de] || {};
|
|
2615
2615
|
}
|
|
2616
2616
|
function K(de, re) {
|
|
2617
|
-
u.value[de] = re,
|
|
2617
|
+
u.value[de] = re, N.datetimeFormats = u.value, _y(N, de, re);
|
|
2618
2618
|
}
|
|
2619
2619
|
function ue(de, re) {
|
|
2620
|
-
u.value[de] = Un(u.value[de] || {}, re),
|
|
2620
|
+
u.value[de] = Un(u.value[de] || {}, re), N.datetimeFormats = u.value, _y(N, de, re);
|
|
2621
2621
|
}
|
|
2622
2622
|
function ge(de) {
|
|
2623
2623
|
return d.value[de] || {};
|
|
2624
2624
|
}
|
|
2625
2625
|
function ze(de, re) {
|
|
2626
|
-
d.value[de] = re,
|
|
2626
|
+
d.value[de] = re, N.numberFormats = d.value, xy(N, de, re);
|
|
2627
2627
|
}
|
|
2628
2628
|
function st(de, re) {
|
|
2629
|
-
d.value[de] = Un(d.value[de] || {}, re),
|
|
2629
|
+
d.value[de] = Un(d.value[de] || {}, re), N.numberFormats = d.value, xy(N, de, re);
|
|
2630
2630
|
}
|
|
2631
2631
|
My++, e && xo && (Ht(e.locale, (de) => {
|
|
2632
|
-
s && (a.value = de,
|
|
2632
|
+
s && (a.value = de, N.locale = de, Gl(N, a.value, l.value));
|
|
2633
2633
|
}), Ht(e.fallbackLocale, (de) => {
|
|
2634
|
-
s && (l.value = de,
|
|
2634
|
+
s && (l.value = de, N.fallbackLocale = de, Gl(N, a.value, l.value));
|
|
2635
2635
|
}));
|
|
2636
2636
|
const Ye = {
|
|
2637
2637
|
id: My,
|
|
@@ -2641,7 +2641,7 @@ function k1(t = {}) {
|
|
|
2641
2641
|
return s;
|
|
2642
2642
|
},
|
|
2643
2643
|
set inheritLocale(de) {
|
|
2644
|
-
s = de, de && e && (a.value = e.locale.value, l.value = e.fallbackLocale.value, Gl(
|
|
2644
|
+
s = de, de && e && (a.value = e.locale.value, l.value = e.fallbackLocale.value, Gl(N, a.value, l.value));
|
|
2645
2645
|
},
|
|
2646
2646
|
get availableLocales() {
|
|
2647
2647
|
return Object.keys(c.value).sort();
|
|
@@ -2660,13 +2660,13 @@ function k1(t = {}) {
|
|
|
2660
2660
|
return f;
|
|
2661
2661
|
},
|
|
2662
2662
|
set missingWarn(de) {
|
|
2663
|
-
f = de,
|
|
2663
|
+
f = de, N.missingWarn = f;
|
|
2664
2664
|
},
|
|
2665
2665
|
get fallbackWarn() {
|
|
2666
2666
|
return h;
|
|
2667
2667
|
},
|
|
2668
2668
|
set fallbackWarn(de) {
|
|
2669
|
-
h = de,
|
|
2669
|
+
h = de, N.fallbackWarn = h;
|
|
2670
2670
|
},
|
|
2671
2671
|
get fallbackRoot() {
|
|
2672
2672
|
return p;
|
|
@@ -2678,19 +2678,19 @@ function k1(t = {}) {
|
|
|
2678
2678
|
return m;
|
|
2679
2679
|
},
|
|
2680
2680
|
set fallbackFormat(de) {
|
|
2681
|
-
m = de,
|
|
2681
|
+
m = de, N.fallbackFormat = m;
|
|
2682
2682
|
},
|
|
2683
2683
|
get warnHtmlMessage() {
|
|
2684
2684
|
return k;
|
|
2685
2685
|
},
|
|
2686
2686
|
set warnHtmlMessage(de) {
|
|
2687
|
-
k = de,
|
|
2687
|
+
k = de, N.warnHtmlMessage = de;
|
|
2688
2688
|
},
|
|
2689
2689
|
get escapeParameter() {
|
|
2690
2690
|
return w;
|
|
2691
2691
|
},
|
|
2692
2692
|
set escapeParameter(de) {
|
|
2693
|
-
w = de,
|
|
2693
|
+
w = de, N.escapeParameter = de;
|
|
2694
2694
|
},
|
|
2695
2695
|
t: se,
|
|
2696
2696
|
getLocaleMessage: bt,
|
|
@@ -2702,10 +2702,10 @@ function k1(t = {}) {
|
|
|
2702
2702
|
setMissingHandler: R,
|
|
2703
2703
|
[T3]: Ot
|
|
2704
2704
|
};
|
|
2705
|
-
return Ye.datetimeFormats =
|
|
2706
|
-
|
|
2705
|
+
return Ye.datetimeFormats = P, Ye.numberFormats = I, Ye.rt = be, Ye.te = Ft, Ye.tm = Vt, Ye.d = Se, Ye.n = Le, Ye.getDateTimeFormat = V, Ye.setDateTimeFormat = K, Ye.mergeDateTimeFormat = ue, Ye.getNumberFormat = ge, Ye.setNumberFormat = ze, Ye.mergeNumberFormat = st, Ye[A3] = n, Ye[km] = Qe, Ye[Em] = ct, Ye[Sm] = lt, process.env.NODE_ENV !== "production" && (Ye[ra] = (de) => {
|
|
2706
|
+
N.__v_emitter = de;
|
|
2707
2707
|
}, Ye[Mc] = () => {
|
|
2708
|
-
|
|
2708
|
+
N.__v_emitter = void 0;
|
|
2709
2709
|
}), Ye;
|
|
2710
2710
|
}
|
|
2711
2711
|
const O3 = "vue-i18n: composer properties", Gp = {
|
|
@@ -2973,9 +2973,9 @@ function UA(t) {
|
|
|
2973
2973
|
let p = t.messages;
|
|
2974
2974
|
if (xt(t.sharedMessages)) {
|
|
2975
2975
|
const E = t.sharedMessages;
|
|
2976
|
-
p = Object.keys(E).reduce((
|
|
2977
|
-
const L =
|
|
2978
|
-
return Un(L, E[H]),
|
|
2976
|
+
p = Object.keys(E).reduce((N, H) => {
|
|
2977
|
+
const L = N[H] || (N[H] = {});
|
|
2978
|
+
return Un(L, E[H]), N;
|
|
2979
2979
|
}, p || {});
|
|
2980
2980
|
}
|
|
2981
2981
|
const { __i18n: m, __root: g, __injectWithOption: b } = t, _ = t.datetimeFormats, k = t.numberFormats, w = t.flatJson;
|
|
@@ -4728,8 +4728,8 @@ const ve = hC(() => {
|
|
|
4728
4728
|
enabled: !1,
|
|
4729
4729
|
once: !0,
|
|
4730
4730
|
marks: []
|
|
4731
|
-
}), a = ({ enabled: E, once: T, marks:
|
|
4732
|
-
s.value.enabled = E, s.value.once = T, s.value.marks =
|
|
4731
|
+
}), a = ({ enabled: E, once: T, marks: N }) => {
|
|
4732
|
+
s.value.enabled = E, s.value.once = T, s.value.marks = N;
|
|
4733
4733
|
}, l = le([]), c = `#smart-editor-${yo(4)}`, u = `#smart-editor-toolbar-${yo(4)}`, d = le(!1), f = le(!1), h = le(!1), p = le(!1), m = le(!1), g = le(0), b = (E) => {
|
|
4734
4734
|
e.value = E;
|
|
4735
4735
|
}, _ = le(!1), k = (E) => {
|
|
@@ -4738,20 +4738,20 @@ const ve = hC(() => {
|
|
|
4738
4738
|
...o.value,
|
|
4739
4739
|
...Object.keys(T).reduce((H, L) => (T[L] !== void 0 && (H[L] = T[L]), H), {})
|
|
4740
4740
|
};
|
|
4741
|
-
const
|
|
4742
|
-
return
|
|
4741
|
+
const N = rl("locale");
|
|
4742
|
+
return N.value || (N.value = o.value.locale), o.value;
|
|
4743
4743
|
}, w = () => {
|
|
4744
4744
|
e.value = void 0, f.value = !1, h.value = !1, l.value = [], n.value = !0, i.value = null;
|
|
4745
4745
|
};
|
|
4746
4746
|
return Ht(
|
|
4747
4747
|
() => o.value.page,
|
|
4748
|
-
({ defaultBackground: E, defaultMargin: T, defaultOrientation:
|
|
4748
|
+
({ defaultBackground: E, defaultMargin: T, defaultOrientation: N, watermark: H }) => {
|
|
4749
4749
|
var L;
|
|
4750
4750
|
r.value = {
|
|
4751
4751
|
size: (L = o.value.dicts) == null ? void 0 : L.pageSizes.find((J) => J.default),
|
|
4752
4752
|
margin: T,
|
|
4753
4753
|
background: E,
|
|
4754
|
-
orientation:
|
|
4754
|
+
orientation: N,
|
|
4755
4755
|
watermark: H,
|
|
4756
4756
|
header: !0,
|
|
4757
4757
|
footer: !0,
|
|
@@ -13285,12 +13285,12 @@ const $N = /^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|df
|
|
|
13285
13285
|
function PN(t, e, n, r, o) {
|
|
13286
13286
|
let i = t.input.compositionPendingChanges || (t.composing ? t.input.compositionID : 0);
|
|
13287
13287
|
if (t.input.compositionPendingChanges = 0, e < 0) {
|
|
13288
|
-
let
|
|
13288
|
+
let N = t.input.lastSelectionTime > Date.now() - 50 ? t.input.lastSelectionOrigin : null, H = L1(t, N);
|
|
13289
13289
|
if (H && !t.state.selection.eq(H)) {
|
|
13290
13290
|
if (qn && pi && t.input.lastKeyCode === 13 && Date.now() - 100 < t.input.lastKeyCodeTime && t.someProp("handleKeyDown", (J) => J(t, Ls(13, "Enter"))))
|
|
13291
13291
|
return;
|
|
13292
13292
|
let L = t.state.tr.setSelection(H);
|
|
13293
|
-
|
|
13293
|
+
N == "pointer" ? L.setMeta("pointer", !0) : N == "key" && L.scrollIntoView(), i && L.setMeta("composition", i), t.dispatch(L);
|
|
13294
13294
|
}
|
|
13295
13295
|
return;
|
|
13296
13296
|
}
|
|
@@ -13299,7 +13299,7 @@ function PN(t, e, n, r, o) {
|
|
|
13299
13299
|
let l = t.state.selection, c = LN(t, e, n), u = t.state.doc, d = u.slice(c.from, c.to), f, h;
|
|
13300
13300
|
t.input.lastKeyCode === 8 && Date.now() - 100 < t.input.lastKeyCodeTime ? (f = t.state.selection.to, h = "end") : (f = t.state.selection.from, h = "start"), t.input.lastKeyCode = null;
|
|
13301
13301
|
let p = HN(d.content, c.doc.content, c.from, f, h);
|
|
13302
|
-
if (p && t.input.domChangeCount++, (al && t.input.lastIOSEnter > Date.now() - 225 || pi) && o.some((
|
|
13302
|
+
if (p && t.input.domChangeCount++, (al && t.input.lastIOSEnter > Date.now() - 225 || pi) && o.some((N) => N.nodeType == 1 && !$N.test(N.nodeName)) && (!p || p.endA >= p.endB) && t.someProp("handleKeyDown", (N) => N(t, Ls(13, "Enter")))) {
|
|
13303
13303
|
t.input.lastIOSEnter = 0;
|
|
13304
13304
|
return;
|
|
13305
13305
|
}
|
|
@@ -13308,9 +13308,9 @@ function PN(t, e, n, r, o) {
|
|
|
13308
13308
|
p = { start: l.from, endA: l.to, endB: l.to };
|
|
13309
13309
|
else {
|
|
13310
13310
|
if (c.sel) {
|
|
13311
|
-
let
|
|
13312
|
-
if (
|
|
13313
|
-
let H = t.state.tr.setSelection(
|
|
13311
|
+
let N = M4(t, t.state.doc, c.sel);
|
|
13312
|
+
if (N && !N.eq(t.state.selection)) {
|
|
13313
|
+
let H = t.state.tr.setSelection(N);
|
|
13314
13314
|
i && H.setMeta("composition", i), t.dispatch(H);
|
|
13315
13315
|
}
|
|
13316
13316
|
}
|
|
@@ -13318,21 +13318,21 @@ function PN(t, e, n, r, o) {
|
|
|
13318
13318
|
}
|
|
13319
13319
|
t.state.selection.from < t.state.selection.to && p.start == p.endB && t.state.selection instanceof qe && (p.start > t.state.selection.from && p.start <= t.state.selection.from + 2 && t.state.selection.from >= c.from ? p.start = t.state.selection.from : p.endA < t.state.selection.to && p.endA >= t.state.selection.to - 2 && t.state.selection.to <= c.to && (p.endB += t.state.selection.to - p.endA, p.endA = t.state.selection.to)), Rr && ns <= 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--);
|
|
13320
13320
|
let m = c.doc.resolveNoCache(p.start - c.from), g = c.doc.resolveNoCache(p.endB - c.from), b = u.resolve(p.start), _ = m.sameParent(g) && m.parent.inlineContent && b.end() >= p.endA;
|
|
13321
|
-
if ((al && t.input.lastIOSEnter > Date.now() - 225 && (!_ || o.some((
|
|
13321
|
+
if ((al && t.input.lastIOSEnter > Date.now() - 225 && (!_ || o.some((N) => N.nodeName == "DIV" || N.nodeName == "P")) || !_ && m.pos < c.doc.content.size && (!m.sameParent(g) || !m.parent.inlineContent) && m.pos < g.pos && !/\S/.test(c.doc.textBetween(m.pos, g.pos, "", ""))) && t.someProp("handleKeyDown", (N) => N(t, Ls(13, "Enter")))) {
|
|
13322
13322
|
t.input.lastIOSEnter = 0;
|
|
13323
13323
|
return;
|
|
13324
13324
|
}
|
|
13325
|
-
if (t.state.selection.anchor > p.start && zN(u, p.start, p.endA, m, g) && t.someProp("handleKeyDown", (
|
|
13325
|
+
if (t.state.selection.anchor > p.start && zN(u, p.start, p.endA, m, g) && t.someProp("handleKeyDown", (N) => N(t, Ls(8, "Backspace")))) {
|
|
13326
13326
|
pi && qn && t.domObserver.suppressSelectionUpdates();
|
|
13327
13327
|
return;
|
|
13328
13328
|
}
|
|
13329
13329
|
qn && p.endB == p.start && (t.input.lastChromeDelete = Date.now()), pi && !_ && m.start() != g.start() && g.parentOffset == 0 && m.depth == g.depth && c.sel && c.sel.anchor == c.sel.head && c.sel.head == p.endA && (p.endB -= 2, g = c.doc.resolveNoCache(p.endB - c.from), setTimeout(() => {
|
|
13330
|
-
t.someProp("handleKeyDown", function(
|
|
13331
|
-
return
|
|
13330
|
+
t.someProp("handleKeyDown", function(N) {
|
|
13331
|
+
return N(t, Ls(13, "Enter"));
|
|
13332
13332
|
});
|
|
13333
13333
|
}, 20));
|
|
13334
|
-
let k = p.start, w = p.endA, E = (
|
|
13335
|
-
let H =
|
|
13334
|
+
let k = p.start, w = p.endA, E = (N) => {
|
|
13335
|
+
let H = N || t.state.tr.replace(k, w, c.doc.slice(p.start - c.from, p.endB - c.from));
|
|
13336
13336
|
if (c.sel) {
|
|
13337
13337
|
let L = M4(t, H.doc, c.sel);
|
|
13338
13338
|
L && !(qn && t.composing && L.empty && (p.start != p.endB || t.input.lastChromeDelete < Date.now() - 100) && (L.head == k || L.head == H.mapping.map(w) - 1) || Rr && L.empty && L.head == k) && H.setSelection(L);
|
|
@@ -13342,17 +13342,17 @@ function PN(t, e, n, r, o) {
|
|
|
13342
13342
|
if (_)
|
|
13343
13343
|
if (m.pos == g.pos) {
|
|
13344
13344
|
Rr && ns <= 11 && m.parentOffset == 0 && (t.domObserver.suppressSelectionUpdates(), setTimeout(() => vi(t), 20));
|
|
13345
|
-
let
|
|
13346
|
-
H &&
|
|
13345
|
+
let N = E(t.state.tr.delete(k, w)), H = u.resolve(p.start).marksAcross(u.resolve(p.endA));
|
|
13346
|
+
H && N.ensureMarks(H), t.dispatch(N);
|
|
13347
13347
|
} else if (
|
|
13348
13348
|
// Adding or removing a mark
|
|
13349
13349
|
p.endA == p.endB && (T = FN(m.parent.content.cut(m.parentOffset, g.parentOffset), b.parent.content.cut(b.parentOffset, p.endA - b.start())))
|
|
13350
13350
|
) {
|
|
13351
|
-
let
|
|
13352
|
-
T.type == "add" ?
|
|
13351
|
+
let N = E(t.state.tr);
|
|
13352
|
+
T.type == "add" ? N.addMark(k, w, T.mark) : N.removeMark(k, w, T.mark), t.dispatch(N);
|
|
13353
13353
|
} else if (m.parent.child(m.index()).isText && m.index() == g.index() - (g.textOffset ? 0 : 1)) {
|
|
13354
|
-
let
|
|
13355
|
-
t.someProp("handleTextInput", (L) => L(t, k, w,
|
|
13354
|
+
let N = m.parent.textBetween(m.parentOffset, g.parentOffset), H = () => E(t.state.tr.insertText(N, k, w));
|
|
13355
|
+
t.someProp("handleTextInput", (L) => L(t, k, w, N, H)) || t.dispatch(H());
|
|
13356
13356
|
} else
|
|
13357
13357
|
t.dispatch(E());
|
|
13358
13358
|
else
|
|
@@ -14969,7 +14969,7 @@ function MO(t) {
|
|
|
14969
14969
|
const w = m + k.index + 1, E = w + k[0].length, T = {
|
|
14970
14970
|
from: n.tr.mapping.map(w),
|
|
14971
14971
|
to: n.tr.mapping.map(E)
|
|
14972
|
-
},
|
|
14972
|
+
}, N = i.handler({
|
|
14973
14973
|
state: n,
|
|
14974
14974
|
range: T,
|
|
14975
14975
|
match: k,
|
|
@@ -14979,7 +14979,7 @@ function MO(t) {
|
|
|
14979
14979
|
pasteEvent: s,
|
|
14980
14980
|
dropEvent: a
|
|
14981
14981
|
});
|
|
14982
|
-
d.push(
|
|
14982
|
+
d.push(N);
|
|
14983
14983
|
});
|
|
14984
14984
|
}), d.every((h) => h !== null);
|
|
14985
14985
|
}
|
|
@@ -15062,12 +15062,12 @@ function OO(t) {
|
|
|
15062
15062
|
if (_) {
|
|
15063
15063
|
let { text: E } = b;
|
|
15064
15064
|
typeof E == "string" ? E = E : E = Y1(pe.from(E), h.schema);
|
|
15065
|
-
const { from: T } = b,
|
|
15065
|
+
const { from: T } = b, N = T + E.length, H = NO(E);
|
|
15066
15066
|
return l({
|
|
15067
15067
|
rule: u,
|
|
15068
15068
|
state: h,
|
|
15069
15069
|
from: T,
|
|
15070
|
-
to: { b:
|
|
15070
|
+
to: { b: N },
|
|
15071
15071
|
pasteEvt: H
|
|
15072
15072
|
});
|
|
15073
15073
|
}
|
|
@@ -16116,12 +16116,12 @@ const $R = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, edit
|
|
|
16116
16116
|
b = b.append(pe.from(a.createAndFill(null, E) || void 0));
|
|
16117
16117
|
const T = l.before(l.depth - (_ - 1));
|
|
16118
16118
|
n.replace(T, l.after(-k), new Ae(b, 4 - _, 0));
|
|
16119
|
-
let
|
|
16119
|
+
let N = -1;
|
|
16120
16120
|
n.doc.nodesBetween(T, n.doc.content.size, (H, L) => {
|
|
16121
|
-
if (
|
|
16121
|
+
if (N > -1)
|
|
16122
16122
|
return !1;
|
|
16123
|
-
H.isTextblock && H.content.size === 0 && (
|
|
16124
|
-
}),
|
|
16123
|
+
H.isTextblock && H.content.size === 0 && (N = L + 1);
|
|
16124
|
+
}), N > -1 && n.setSelection(qe.near(n.doc.resolve(N))), n.scrollIntoView();
|
|
16125
16125
|
}
|
|
16126
16126
|
return !0;
|
|
16127
16127
|
}
|
|
@@ -16177,8 +16177,8 @@ const $R = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, edit
|
|
|
16177
16177
|
return l().command(() => (i.setNodeMarkup(E.pos, h), !0)).command(() => c0(i, h)).command(() => u0(i, h)).run();
|
|
16178
16178
|
}
|
|
16179
16179
|
return !n || !w || !a ? l().command(() => u().wrapInList(h, r) ? !0 : c.clearNodes()).wrapInList(h, r).command(() => c0(i, h)).command(() => u0(i, h)).run() : l().command(() => {
|
|
16180
|
-
const T = u().wrapInList(h, r),
|
|
16181
|
-
return i.ensureMarks(
|
|
16180
|
+
const T = u().wrapInList(h, r), N = w.filter((H) => f.includes(H.type.name));
|
|
16181
|
+
return i.ensureMarks(N), T ? !0 : c.clearNodes();
|
|
16182
16182
|
}).wrapInList(h, r).command(() => c0(i, h)).command(() => u0(i, h)).run();
|
|
16183
16183
|
}, zR = (t, e = {}, n = {}) => ({ state: r, commands: o }) => {
|
|
16184
16184
|
const { extendEmptyMarkRange: i = !1 } = n, s = ks(t, r.schema);
|
|
@@ -17819,7 +17819,7 @@ const rt = (t, e) => {
|
|
|
17819
17819
|
a.value = _ ? Yh(e.value) : "";
|
|
17820
17820
|
}
|
|
17821
17821
|
), (_, k) => {
|
|
17822
|
-
const w = l1, E = jr, T = K7,
|
|
17822
|
+
const w = l1, E = jr, T = K7, N = K2;
|
|
17823
17823
|
return v(n) ? ($(), ee(v(yC), {
|
|
17824
17824
|
key: 0,
|
|
17825
17825
|
"container-element": v(r),
|
|
@@ -17828,7 +17828,7 @@ const rt = (t, e) => {
|
|
|
17828
17828
|
handle: v(o)
|
|
17829
17829
|
}, {
|
|
17830
17830
|
default: ae(() => [
|
|
17831
|
-
X(
|
|
17831
|
+
X(N, {
|
|
17832
17832
|
closable: "",
|
|
17833
17833
|
style: { width: "420px", "box-shadow": "0 1px 2px -2px rgba(0, 0, 0, 0.08), 0 3px 6px 0 rgba(0, 0, 0, 0.06), 0 5px 12px 4px rgba(0, 0, 0, 0.04)" },
|
|
17834
17834
|
onClose: k[3] || (k[3] = (H) => n.value = !1)
|
|
@@ -18400,8 +18400,8 @@ var dD = function(e, n) {
|
|
|
18400
18400
|
function fD(t) {
|
|
18401
18401
|
var e, n = t.state, r = t.name, o = t.options, i = n.elements.arrow, s = n.modifiersData.popperOffsets, a = Wo(n.placement), l = cb(a), c = [Dr, po].indexOf(a) >= 0, u = c ? "height" : "width";
|
|
18402
18402
|
if (!(!i || !s)) {
|
|
18403
|
-
var d = dD(o.padding, n), f = lb(i), h = l === "y" ? Ir : Dr, p = l === "y" ? ho : po, m = n.rects.reference[u] + n.rects.reference[l] - s[l] - n.rects.popper[u], g = s[l] - n.rects.reference[l], b = Au(i), _ = b ? l === "y" ? b.clientHeight || 0 : b.clientWidth || 0 : 0, k = m / 2 - g / 2, w = d[h], E = _ - f[u] - d[p], T = _ / 2 - f[u] / 2 + k,
|
|
18404
|
-
n.modifiersData[r] = (e = {}, e[H] =
|
|
18403
|
+
var d = dD(o.padding, n), f = lb(i), h = l === "y" ? Ir : Dr, p = l === "y" ? ho : po, m = n.rects.reference[u] + n.rects.reference[l] - s[l] - n.rects.popper[u], g = s[l] - n.rects.reference[l], b = Au(i), _ = b ? l === "y" ? b.clientHeight || 0 : b.clientWidth || 0 : 0, k = m / 2 - g / 2, w = d[h], E = _ - f[u] - d[p], T = _ / 2 - f[u] / 2 + k, N = hc(w, T, E), H = l;
|
|
18404
|
+
n.modifiersData[r] = (e = {}, e[H] = N, e.centerOffset = N - T, e);
|
|
18405
18405
|
}
|
|
18406
18406
|
}
|
|
18407
18407
|
function hD(t) {
|
|
@@ -18444,12 +18444,12 @@ function j4(t) {
|
|
|
18444
18444
|
h = g.x, m = g.y;
|
|
18445
18445
|
var b = s.hasOwnProperty("x"), _ = s.hasOwnProperty("y"), k = Dr, w = Ir, E = window;
|
|
18446
18446
|
if (c) {
|
|
18447
|
-
var T = Au(n),
|
|
18448
|
-
if (T === Kr(n) && (T = Ss(n), xi(T).position !== "static" && a === "absolute" && (
|
|
18447
|
+
var T = Au(n), N = "clientHeight", H = "clientWidth";
|
|
18448
|
+
if (T === Kr(n) && (T = Ss(n), xi(T).position !== "static" && a === "absolute" && (N = "scrollHeight", H = "scrollWidth")), T = T, o === Ir || (o === Dr || o === po) && i === Kc) {
|
|
18449
18449
|
w = ho;
|
|
18450
18450
|
var L = d && T === E && E.visualViewport ? E.visualViewport.height : (
|
|
18451
18451
|
// $FlowFixMe[prop-missing]
|
|
18452
|
-
T[
|
|
18452
|
+
T[N]
|
|
18453
18453
|
);
|
|
18454
18454
|
m -= L - r.height, m *= l ? 1 : -1;
|
|
18455
18455
|
}
|
|
@@ -18472,8 +18472,8 @@ function j4(t) {
|
|
|
18472
18472
|
y: m
|
|
18473
18473
|
};
|
|
18474
18474
|
if (h = A.x, m = A.y, l) {
|
|
18475
|
-
var
|
|
18476
|
-
return Object.assign({}, Z, (
|
|
18475
|
+
var P;
|
|
18476
|
+
return Object.assign({}, Z, (P = {}, P[w] = _ ? "0" : "", P[k] = b ? "0" : "", P.transform = (E.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + m + "px)" : "translate3d(" + h + "px, " + m + "px, 0)", P));
|
|
18477
18477
|
}
|
|
18478
18478
|
return Object.assign({}, Z, (e = {}, e[w] = _ ? m + "px" : "", e[k] = b ? h + "px" : "", e.transform = "", e));
|
|
18479
18479
|
}
|
|
@@ -18675,11 +18675,11 @@ function U5(t) {
|
|
|
18675
18675
|
}
|
|
18676
18676
|
function Gc(t, e) {
|
|
18677
18677
|
e === void 0 && (e = {});
|
|
18678
|
-
var n = e, r = n.placement, o = r === void 0 ? t.placement : r, i = n.strategy, s = i === void 0 ? t.strategy : i, a = n.boundary, l = a === void 0 ? jI : a, c = n.rootBoundary, u = c === void 0 ? I5 : c, d = n.elementContext, f = d === void 0 ? Xl : d, h = n.altBoundary, p = h === void 0 ? !1 : h, m = n.padding, g = m === void 0 ? 0 : m, b = F5(typeof g != "number" ? g : z5(g, Tu)), _ = f === Xl ? YI : Xl, k = t.rects.popper, w = t.elements[p ? _ : f], E = TD(la(w) ? w : w.contextElement || Ss(t.elements.popper), l, u, s), T = dl(t.elements.reference),
|
|
18678
|
+
var n = e, r = n.placement, o = r === void 0 ? t.placement : r, i = n.strategy, s = i === void 0 ? t.strategy : i, a = n.boundary, l = a === void 0 ? jI : a, c = n.rootBoundary, u = c === void 0 ? I5 : c, d = n.elementContext, f = d === void 0 ? Xl : d, h = n.altBoundary, p = h === void 0 ? !1 : h, m = n.padding, g = m === void 0 ? 0 : m, b = F5(typeof g != "number" ? g : z5(g, Tu)), _ = f === Xl ? YI : Xl, k = t.rects.popper, w = t.elements[p ? _ : f], E = TD(la(w) ? w : w.contextElement || Ss(t.elements.popper), l, u, s), T = dl(t.elements.reference), N = U5({
|
|
18679
18679
|
reference: T,
|
|
18680
18680
|
element: k,
|
|
18681
18681
|
placement: o
|
|
18682
|
-
}), H = tg(Object.assign({}, k,
|
|
18682
|
+
}), H = tg(Object.assign({}, k, N)), L = f === Xl ? H : T, J = {
|
|
18683
18683
|
top: E.top - L.top + b.top,
|
|
18684
18684
|
bottom: L.bottom - E.bottom + b.bottom,
|
|
18685
18685
|
left: E.left - L.left + b.left,
|
|
@@ -18687,9 +18687,9 @@ function Gc(t, e) {
|
|
|
18687
18687
|
}, Z = t.modifiersData.offset;
|
|
18688
18688
|
if (f === Xl && Z) {
|
|
18689
18689
|
var A = Z[o];
|
|
18690
|
-
Object.keys(J).forEach(function(
|
|
18691
|
-
var I = [po, ho].indexOf(
|
|
18692
|
-
J[
|
|
18690
|
+
Object.keys(J).forEach(function(P) {
|
|
18691
|
+
var I = [po, ho].indexOf(P) >= 0 ? 1 : -1, S = [Ir, ho].indexOf(P) >= 0 ? "y" : "x";
|
|
18692
|
+
J[P] += A[S] * I;
|
|
18693
18693
|
});
|
|
18694
18694
|
}
|
|
18695
18695
|
return J;
|
|
@@ -18732,14 +18732,14 @@ function ND(t) {
|
|
|
18732
18732
|
flipVariations: p,
|
|
18733
18733
|
allowedAutoPlacements: m
|
|
18734
18734
|
}) : De);
|
|
18735
|
-
}, []), E = e.rects.reference, T = e.rects.popper,
|
|
18736
|
-
var Z = w[J], A = Wo(Z),
|
|
18735
|
+
}, []), E = e.rects.reference, T = e.rects.popper, N = /* @__PURE__ */ new Map(), H = !0, L = w[0], J = 0; J < w.length; J++) {
|
|
18736
|
+
var Z = w[J], A = Wo(Z), P = fl(Z) === cl, I = [Ir, ho].indexOf(A) >= 0, S = I ? "width" : "height", D = Gc(e, {
|
|
18737
18737
|
placement: Z,
|
|
18738
18738
|
boundary: u,
|
|
18739
18739
|
rootBoundary: d,
|
|
18740
18740
|
altBoundary: f,
|
|
18741
18741
|
padding: c
|
|
18742
|
-
}), C = I ?
|
|
18742
|
+
}), C = I ? P ? po : Dr : P ? ho : Ir;
|
|
18743
18743
|
E[S] > T[S] && (C = Fd(C));
|
|
18744
18744
|
var R = Fd(C), z = [];
|
|
18745
18745
|
if (i && z.push(D[A] <= 0), a && z.push(D[C] <= 0, D[R] <= 0), z.every(function(Le) {
|
|
@@ -18748,12 +18748,12 @@ function ND(t) {
|
|
|
18748
18748
|
L = Z, H = !1;
|
|
18749
18749
|
break;
|
|
18750
18750
|
}
|
|
18751
|
-
|
|
18751
|
+
N.set(Z, z);
|
|
18752
18752
|
}
|
|
18753
18753
|
if (H)
|
|
18754
18754
|
for (var q = p ? 3 : 1, se = function(De) {
|
|
18755
18755
|
var Be = w.find(function(tt) {
|
|
18756
|
-
var Qe =
|
|
18756
|
+
var Qe = N.get(tt);
|
|
18757
18757
|
if (Qe)
|
|
18758
18758
|
return Qe.slice(0, De).every(function(lt) {
|
|
18759
18759
|
return lt;
|
|
@@ -18866,7 +18866,7 @@ function zD(t) {
|
|
|
18866
18866
|
rootBoundary: c,
|
|
18867
18867
|
padding: d,
|
|
18868
18868
|
altBoundary: u
|
|
18869
|
-
}), b = Wo(e.placement), _ = fl(e.placement), k = !_, w = cb(b), E = FD(w), T = e.modifiersData.popperOffsets,
|
|
18869
|
+
}), b = Wo(e.placement), _ = fl(e.placement), k = !_, w = cb(b), E = FD(w), T = e.modifiersData.popperOffsets, N = e.rects.reference, H = e.rects.popper, L = typeof m == "function" ? m(Object.assign({}, e.rects, {
|
|
18870
18870
|
placement: e.placement
|
|
18871
18871
|
})) : m, J = typeof L == "number" ? {
|
|
18872
18872
|
mainAxis: L,
|
|
@@ -18880,14 +18880,14 @@ function zD(t) {
|
|
|
18880
18880
|
};
|
|
18881
18881
|
if (T) {
|
|
18882
18882
|
if (i) {
|
|
18883
|
-
var
|
|
18883
|
+
var P, I = w === "y" ? Ir : Dr, S = w === "y" ? ho : po, D = w === "y" ? "height" : "width", C = T[w], R = C + g[I], z = C - g[S], q = h ? -H[D] / 2 : 0, se = _ === cl ? N[D] : H[D], be = _ === cl ? -H[D] : -N[D], Se = e.elements.arrow, Le = h && Se ? lb(Se) : {
|
|
18884
18884
|
width: 0,
|
|
18885
18885
|
height: 0
|
|
18886
|
-
}, De = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : P5(), Be = De[I], tt = De[S], Qe = hc(0,
|
|
18886
|
+
}, De = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : P5(), Be = De[I], tt = De[S], Qe = hc(0, N[D], Le[D]), lt = k ? N[D] / 2 - q - Qe - Be - J.mainAxis : se - Qe - Be - J.mainAxis, ct = k ? -N[D] / 2 + q + Qe + tt + J.mainAxis : be + Qe + tt + J.mainAxis, Ot = e.elements.arrow && Au(e.elements.arrow), Ft = Ot ? w === "y" ? Ot.clientTop || 0 : Ot.clientLeft || 0 : 0, Rt = (P = Z == null ? void 0 : Z[w]) != null ? P : 0, Vt = C + lt - Rt - Ft, bt = C + ct - Rt, je = hc(h ? mf(R, Vt) : R, C, h ? Ys(z, bt) : z);
|
|
18887
18887
|
T[w] = je, A[w] = je - C;
|
|
18888
18888
|
}
|
|
18889
18889
|
if (a) {
|
|
18890
|
-
var nn, V = w === "x" ? Ir : Dr, K = w === "x" ? ho : po, ue = T[E], ge = E === "y" ? "height" : "width", ze = ue + g[V], st = ue - g[K], Ye = [Ir, Dr].indexOf(b) !== -1, de = (nn = Z == null ? void 0 : Z[E]) != null ? nn : 0, re = Ye ? ze : ue -
|
|
18890
|
+
var nn, V = w === "x" ? Ir : Dr, K = w === "x" ? ho : po, ue = T[E], ge = E === "y" ? "height" : "width", ze = ue + g[V], st = ue - g[K], Ye = [Ir, Dr].indexOf(b) !== -1, de = (nn = Z == null ? void 0 : Z[E]) != null ? nn : 0, re = Ye ? ze : ue - N[ge] - H[ge] - de + J.altAxis, oe = Ye ? ue + N[ge] + H[ge] - de - J.altAxis : st, fe = h && Ye ? uD(re, ue, oe) : hc(h ? re : ze, ue, h ? oe : st);
|
|
18891
18891
|
T[E] = fe, A[E] = fe - ue;
|
|
18892
18892
|
}
|
|
18893
18893
|
e.modifiersData[r] = A;
|
|
@@ -19040,7 +19040,7 @@ function XD(t) {
|
|
|
19040
19040
|
u.reset = !1, w = -1;
|
|
19041
19041
|
continue;
|
|
19042
19042
|
}
|
|
19043
|
-
var E = u.orderedModifiers[w], T = E.fn,
|
|
19043
|
+
var E = u.orderedModifiers[w], T = E.fn, N = E.options, H = N === void 0 ? {} : N, L = E.name;
|
|
19044
19044
|
typeof T == "function" && (u = T({
|
|
19045
19045
|
state: u,
|
|
19046
19046
|
options: H,
|
|
@@ -19489,7 +19489,7 @@ function CL(t, e) {
|
|
|
19489
19489
|
};
|
|
19490
19490
|
if (!n.render)
|
|
19491
19491
|
return process.env.NODE_ENV !== "production" && ng(!0, "render() function has not been supplied."), w;
|
|
19492
|
-
var E = n.render(w), T = E.popper,
|
|
19492
|
+
var E = n.render(w), T = E.popper, N = E.onUpdate;
|
|
19493
19493
|
T.setAttribute("data-tippy-root", ""), T.id = "tippy-" + w.id, w.popper = T, t._tippy = w, T._tippy = w;
|
|
19494
19494
|
var H = _.map(function(he) {
|
|
19495
19495
|
return he.fn(w);
|
|
@@ -19510,11 +19510,11 @@ function CL(t, e) {
|
|
|
19510
19510
|
var he;
|
|
19511
19511
|
return !!((he = w.props.render) != null && he.$$tippy);
|
|
19512
19512
|
}
|
|
19513
|
-
function
|
|
19513
|
+
function P() {
|
|
19514
19514
|
return m || t;
|
|
19515
19515
|
}
|
|
19516
19516
|
function I() {
|
|
19517
|
-
var he =
|
|
19517
|
+
var he = P().parentNode;
|
|
19518
19518
|
return he ? uL(he) : document;
|
|
19519
19519
|
}
|
|
19520
19520
|
function S() {
|
|
@@ -19553,7 +19553,7 @@ function CL(t, e) {
|
|
|
19553
19553
|
if (!(L || !w.props.aria.expanded)) {
|
|
19554
19554
|
var he = $a(w.props.triggerTarget || t);
|
|
19555
19555
|
he.forEach(function(He) {
|
|
19556
|
-
w.props.interactive ? He.setAttribute("aria-expanded", w.state.isVisible && He ===
|
|
19556
|
+
w.props.interactive ? He.setAttribute("aria-expanded", w.state.isVisible && He === P() ? "true" : "false") : He.removeAttribute("aria-expanded");
|
|
19557
19557
|
});
|
|
19558
19558
|
}
|
|
19559
19559
|
}
|
|
@@ -19658,7 +19658,7 @@ function CL(t, e) {
|
|
|
19658
19658
|
}
|
|
19659
19659
|
}
|
|
19660
19660
|
function Vt(he) {
|
|
19661
|
-
var He = he.target, at =
|
|
19661
|
+
var He = he.target, at = P().contains(He) || T.contains(He);
|
|
19662
19662
|
if (!(he.type === "mousemove" && at)) {
|
|
19663
19663
|
var Dt = ge().concat(T).map(function(Mt) {
|
|
19664
19664
|
var Jn, Tn = Mt._tippy, Oi = (Jn = Tn.popperInstance) == null ? void 0 : Jn.state;
|
|
@@ -19682,7 +19682,7 @@ function CL(t, e) {
|
|
|
19682
19682
|
}
|
|
19683
19683
|
}
|
|
19684
19684
|
function je(he) {
|
|
19685
|
-
w.props.trigger.indexOf("focusin") < 0 && he.target !==
|
|
19685
|
+
w.props.trigger.indexOf("focusin") < 0 && he.target !== P() || w.props.interactive && he.relatedTarget && T.contains(he.relatedTarget) || st(he);
|
|
19686
19686
|
}
|
|
19687
19687
|
function nn(he) {
|
|
19688
19688
|
return Fo.isTouch ? Z() !== he.type.indexOf("touch") >= 0 : !1;
|
|
@@ -19691,7 +19691,7 @@ function CL(t, e) {
|
|
|
19691
19691
|
K();
|
|
19692
19692
|
var he = w.props, He = he.popperOptions, at = he.placement, Dt = he.offset, Mt = he.getReferenceClientRect, Jn = he.moveTransition, Tn = A() ? og(T).arrow : null, Oi = Mt ? {
|
|
19693
19693
|
getBoundingClientRect: Mt,
|
|
19694
|
-
contextElement: Mt.contextElement ||
|
|
19694
|
+
contextElement: Mt.contextElement || P()
|
|
19695
19695
|
} : t, Fu = {
|
|
19696
19696
|
name: "$$tippy",
|
|
19697
19697
|
enabled: !0,
|
|
@@ -19748,7 +19748,7 @@ function CL(t, e) {
|
|
|
19748
19748
|
w.popperInstance && (w.popperInstance.destroy(), w.popperInstance = null);
|
|
19749
19749
|
}
|
|
19750
19750
|
function ue() {
|
|
19751
|
-
var he = w.props.appendTo, He, at =
|
|
19751
|
+
var he = w.props.appendTo, He, at = P();
|
|
19752
19752
|
w.props.interactive && he === K5 || he === "parent" ? He = at.parentNode : He = G5(he, [at]), He.contains(T) || He.appendChild(T), w.state.isMounted = !0, V(), process.env.NODE_ENV !== "production" && fi(w.props.interactive && he === Hr.appendTo && at.nextElementSibling !== T, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
|
|
19753
19753
|
|
|
19754
19754
|
`, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
|
|
@@ -19798,7 +19798,7 @@ function CL(t, e) {
|
|
|
19798
19798
|
}));
|
|
19799
19799
|
w.props = at, Ot(), He.interactiveDebounce !== at.interactiveDebounce && (se(), p = t_(Vt, at.interactiveDebounce)), He.triggerTarget && !at.triggerTarget ? $a(He.triggerTarget).forEach(function(Dt) {
|
|
19800
19800
|
Dt.removeAttribute("aria-expanded");
|
|
19801
|
-
}) : at.triggerTarget && t.removeAttribute("aria-expanded"), q(), C(),
|
|
19801
|
+
}) : at.triggerTarget && t.removeAttribute("aria-expanded"), q(), C(), N && N(He, at), w.popperInstance && (V(), ge().forEach(function(Dt) {
|
|
19802
19802
|
requestAnimationFrame(Dt._tippy.popperInstance.forceUpdate);
|
|
19803
19803
|
})), R("onAfterUpdate", [w, he]);
|
|
19804
19804
|
}
|
|
@@ -19811,7 +19811,7 @@ function CL(t, e) {
|
|
|
19811
19811
|
function Me() {
|
|
19812
19812
|
process.env.NODE_ENV !== "production" && fi(w.state.isDestroyed, Ma("show"));
|
|
19813
19813
|
var he = w.state.isVisible, He = w.state.isDestroyed, at = !w.state.isEnabled, Dt = Fo.isTouch && !w.props.touch, Mt = p0(w.props.duration, 0, Hr.duration);
|
|
19814
|
-
if (!(he || He || at || Dt) && !
|
|
19814
|
+
if (!(he || He || at || Dt) && !P().hasAttribute("disabled") && (R("onShow", [w], !1), w.props.onShow(w) !== !1)) {
|
|
19815
19815
|
if (w.state.isVisible = !0, A() && (T.style.visibility = "visible"), C(), De(), w.state.isMounted || (T.style.transition = "none"), A()) {
|
|
19816
19816
|
var Jn = S(), Tn = Jn.box, Oi = Jn.content;
|
|
19817
19817
|
m0([Tn, Oi], 0);
|
|
@@ -19949,8 +19949,8 @@ let TL = class {
|
|
|
19949
19949
|
if (nb(p.selection)) {
|
|
19950
19950
|
let T = a.nodeDOM(k);
|
|
19951
19951
|
if (T) {
|
|
19952
|
-
const
|
|
19953
|
-
if (
|
|
19952
|
+
const N = T.dataset.nodeViewWrapper ? T : T.querySelector("[data-node-view-wrapper]");
|
|
19953
|
+
if (N && (T = N.firstChild), T)
|
|
19954
19954
|
return T.getBoundingClientRect();
|
|
19955
19955
|
}
|
|
19956
19956
|
}
|
|
@@ -20578,8 +20578,8 @@ var r6 = { exports: {} };
|
|
|
20578
20578
|
return I === void 0;
|
|
20579
20579
|
} }, E = "en", T = {};
|
|
20580
20580
|
T[E] = _;
|
|
20581
|
-
var
|
|
20582
|
-
return I instanceof A || !(!I || !I[
|
|
20581
|
+
var N = "$isDayjsObject", H = function(I) {
|
|
20582
|
+
return I instanceof A || !(!I || !I[N]);
|
|
20583
20583
|
}, L = function I(S, D, C) {
|
|
20584
20584
|
var R;
|
|
20585
20585
|
if (!S) return E;
|
|
@@ -20603,7 +20603,7 @@ var r6 = { exports: {} };
|
|
|
20603
20603
|
};
|
|
20604
20604
|
var A = function() {
|
|
20605
20605
|
function I(D) {
|
|
20606
|
-
this.$L = L(D.locale, null, !0), this.parse(D), this.$x = this.$x || D.x || {}, this[
|
|
20606
|
+
this.$L = L(D.locale, null, !0), this.parse(D), this.$x = this.$x || D.x || {}, this[N] = !0;
|
|
20607
20607
|
}
|
|
20608
20608
|
var S = I.prototype;
|
|
20609
20609
|
return S.parse = function(D) {
|
|
@@ -20816,9 +20816,9 @@ var r6 = { exports: {} };
|
|
|
20816
20816
|
}, S.toString = function() {
|
|
20817
20817
|
return this.$d.toUTCString();
|
|
20818
20818
|
}, I;
|
|
20819
|
-
}(),
|
|
20820
|
-
return J.prototype =
|
|
20821
|
-
|
|
20819
|
+
}(), P = A.prototype;
|
|
20820
|
+
return J.prototype = P, [["$ms", i], ["$s", s], ["$m", a], ["$H", l], ["$W", c], ["$M", d], ["$y", h], ["$D", p]].forEach(function(I) {
|
|
20821
|
+
P[I[1]] = function(S) {
|
|
20822
20822
|
return this.$g(S, I[0], I[1]);
|
|
20823
20823
|
};
|
|
20824
20824
|
}), J.extend = function(I, S) {
|
|
@@ -20864,10 +20864,10 @@ const IL = {}, DL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
20864
20864
|
return typeof A == "object" && A.buffer && A.buffer.constructor === ArrayBuffer;
|
|
20865
20865
|
});
|
|
20866
20866
|
var k = function(A) {
|
|
20867
|
-
var
|
|
20868
|
-
if (
|
|
20867
|
+
var P = typeof A;
|
|
20868
|
+
if (P === "string")
|
|
20869
20869
|
return [A, !0];
|
|
20870
|
-
if (
|
|
20870
|
+
if (P !== "object" || A === null)
|
|
20871
20871
|
throw new Error(e);
|
|
20872
20872
|
if (l && A.constructor === ArrayBuffer)
|
|
20873
20873
|
return [new Uint8Array(A), !1];
|
|
@@ -20875,8 +20875,8 @@ const IL = {}, DL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
20875
20875
|
throw new Error(e);
|
|
20876
20876
|
return [A, !1];
|
|
20877
20877
|
}, w = function(A) {
|
|
20878
|
-
return function(
|
|
20879
|
-
return new L(!0).update(
|
|
20878
|
+
return function(P) {
|
|
20879
|
+
return new L(!0).update(P)[A]();
|
|
20880
20880
|
};
|
|
20881
20881
|
}, E = function() {
|
|
20882
20882
|
var A = w("hex");
|
|
@@ -20885,38 +20885,38 @@ const IL = {}, DL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
20885
20885
|
}, A.update = function(S) {
|
|
20886
20886
|
return A.create().update(S);
|
|
20887
20887
|
};
|
|
20888
|
-
for (var
|
|
20889
|
-
var I = f[
|
|
20888
|
+
for (var P = 0; P < f.length; ++P) {
|
|
20889
|
+
var I = f[P];
|
|
20890
20890
|
A[I] = w(I);
|
|
20891
20891
|
}
|
|
20892
20892
|
return A;
|
|
20893
20893
|
}, T = function(A) {
|
|
20894
|
-
var
|
|
20894
|
+
var P = f_, I = f_.Buffer, S;
|
|
20895
20895
|
I.from && !o.JS_MD5_NO_BUFFER_FROM ? S = I.from : S = function(C) {
|
|
20896
20896
|
return new I(C);
|
|
20897
20897
|
};
|
|
20898
20898
|
var D = function(C) {
|
|
20899
20899
|
if (typeof C == "string")
|
|
20900
|
-
return
|
|
20900
|
+
return P.createHash("md5").update(C, "utf8").digest("hex");
|
|
20901
20901
|
if (C == null)
|
|
20902
20902
|
throw new Error(e);
|
|
20903
|
-
return C.constructor === ArrayBuffer && (C = new Uint8Array(C)), b(C) || _(C) || C.constructor === I ?
|
|
20903
|
+
return C.constructor === ArrayBuffer && (C = new Uint8Array(C)), b(C) || _(C) || C.constructor === I ? P.createHash("md5").update(S(C)).digest("hex") : A(C);
|
|
20904
20904
|
};
|
|
20905
20905
|
return D;
|
|
20906
|
-
},
|
|
20907
|
-
return function(
|
|
20908
|
-
return new J(
|
|
20906
|
+
}, N = function(A) {
|
|
20907
|
+
return function(P, I) {
|
|
20908
|
+
return new J(P, !0).update(I)[A]();
|
|
20909
20909
|
};
|
|
20910
20910
|
}, H = function() {
|
|
20911
|
-
var A =
|
|
20911
|
+
var A = N("hex");
|
|
20912
20912
|
A.create = function(S) {
|
|
20913
20913
|
return new J(S);
|
|
20914
20914
|
}, A.update = function(S, D) {
|
|
20915
20915
|
return A.create(S).update(D);
|
|
20916
20916
|
};
|
|
20917
|
-
for (var
|
|
20918
|
-
var I = f[
|
|
20919
|
-
A[I] =
|
|
20917
|
+
for (var P = 0; P < f.length; ++P) {
|
|
20918
|
+
var I = f[P];
|
|
20919
|
+
A[I] = N(I);
|
|
20920
20920
|
}
|
|
20921
20921
|
return A;
|
|
20922
20922
|
};
|
|
@@ -20924,8 +20924,8 @@ const IL = {}, DL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
20924
20924
|
if (A)
|
|
20925
20925
|
p[0] = p[16] = p[1] = p[2] = p[3] = p[4] = p[5] = p[6] = p[7] = p[8] = p[9] = p[10] = p[11] = p[12] = p[13] = p[14] = p[15] = 0, this.blocks = p, this.buffer8 = m;
|
|
20926
20926
|
else if (l) {
|
|
20927
|
-
var
|
|
20928
|
-
this.buffer8 = new Uint8Array(
|
|
20927
|
+
var P = new ArrayBuffer(68);
|
|
20928
|
+
this.buffer8 = new Uint8Array(P), this.blocks = new Uint32Array(P);
|
|
20929
20929
|
} else
|
|
20930
20930
|
this.blocks = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
|
|
20931
20931
|
this.h0 = this.h1 = this.h2 = this.h3 = this.start = this.bytes = this.hBytes = 0, this.finalized = this.hashed = !1, this.first = !0;
|
|
@@ -20933,9 +20933,9 @@ const IL = {}, DL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
20933
20933
|
L.prototype.update = function(A) {
|
|
20934
20934
|
if (this.finalized)
|
|
20935
20935
|
throw new Error(n);
|
|
20936
|
-
var
|
|
20937
|
-
A =
|
|
20938
|
-
for (var I =
|
|
20936
|
+
var P = k(A);
|
|
20937
|
+
A = P[0];
|
|
20938
|
+
for (var I = P[1], S, D = 0, C, R = A.length, z = this.blocks, q = this.buffer8; D < R; ) {
|
|
20939
20939
|
if (this.hashed && (this.hashed = !1, z[0] = z[16], z[16] = z[1] = z[2] = z[3] = z[4] = z[5] = z[6] = z[7] = z[8] = z[9] = z[10] = z[11] = z[12] = z[13] = z[14] = z[15] = 0), I)
|
|
20940
20940
|
if (l)
|
|
20941
20941
|
for (C = this.start; D < R && C < 64; ++D)
|
|
@@ -20955,28 +20955,28 @@ const IL = {}, DL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
20955
20955
|
}, L.prototype.finalize = function() {
|
|
20956
20956
|
if (!this.finalized) {
|
|
20957
20957
|
this.finalized = !0;
|
|
20958
|
-
var A = this.blocks,
|
|
20959
|
-
A[
|
|
20958
|
+
var A = this.blocks, P = this.lastByteIndex;
|
|
20959
|
+
A[P >>> 2] |= u[P & 3], P >= 56 && (this.hashed || this.hash(), A[0] = A[16], A[16] = A[1] = A[2] = A[3] = A[4] = A[5] = A[6] = A[7] = A[8] = A[9] = A[10] = A[11] = A[12] = A[13] = A[14] = A[15] = 0), A[14] = this.bytes << 3, A[15] = this.hBytes << 3 | this.bytes >>> 29, this.hash();
|
|
20960
20960
|
}
|
|
20961
20961
|
}, L.prototype.hash = function() {
|
|
20962
|
-
var A,
|
|
20963
|
-
this.first ? (A = R[0] - 680876937, A = (A << 7 | A >>> 25) - 271733879 << 0, S = (-1732584194 ^ A & 2004318071) + R[1] - 117830708, S = (S << 12 | S >>> 20) + A << 0, I = (-271733879 ^ S & (A ^ -271733879)) + R[2] - 1126478375, I = (I << 17 | I >>> 15) + S << 0,
|
|
20962
|
+
var A, P, I, S, D, C, R = this.blocks;
|
|
20963
|
+
this.first ? (A = R[0] - 680876937, A = (A << 7 | A >>> 25) - 271733879 << 0, S = (-1732584194 ^ A & 2004318071) + R[1] - 117830708, S = (S << 12 | S >>> 20) + A << 0, I = (-271733879 ^ S & (A ^ -271733879)) + R[2] - 1126478375, I = (I << 17 | I >>> 15) + S << 0, P = (A ^ I & (S ^ A)) + R[3] - 1316259209, P = (P << 22 | P >>> 10) + I << 0) : (A = this.h0, P = this.h1, I = this.h2, S = this.h3, A += (S ^ P & (I ^ S)) + R[0] - 680876936, A = (A << 7 | A >>> 25) + P << 0, S += (I ^ A & (P ^ I)) + R[1] - 389564586, S = (S << 12 | S >>> 20) + A << 0, I += (P ^ S & (A ^ P)) + R[2] + 606105819, I = (I << 17 | I >>> 15) + S << 0, P += (A ^ I & (S ^ A)) + R[3] - 1044525330, P = (P << 22 | P >>> 10) + I << 0), A += (S ^ P & (I ^ S)) + R[4] - 176418897, A = (A << 7 | A >>> 25) + P << 0, S += (I ^ A & (P ^ I)) + R[5] + 1200080426, S = (S << 12 | S >>> 20) + A << 0, I += (P ^ S & (A ^ P)) + R[6] - 1473231341, I = (I << 17 | I >>> 15) + S << 0, P += (A ^ I & (S ^ A)) + R[7] - 45705983, P = (P << 22 | P >>> 10) + I << 0, A += (S ^ P & (I ^ S)) + R[8] + 1770035416, A = (A << 7 | A >>> 25) + P << 0, S += (I ^ A & (P ^ I)) + R[9] - 1958414417, S = (S << 12 | S >>> 20) + A << 0, I += (P ^ S & (A ^ P)) + R[10] - 42063, I = (I << 17 | I >>> 15) + S << 0, P += (A ^ I & (S ^ A)) + R[11] - 1990404162, P = (P << 22 | P >>> 10) + I << 0, A += (S ^ P & (I ^ S)) + R[12] + 1804603682, A = (A << 7 | A >>> 25) + P << 0, S += (I ^ A & (P ^ I)) + R[13] - 40341101, S = (S << 12 | S >>> 20) + A << 0, I += (P ^ S & (A ^ P)) + R[14] - 1502002290, I = (I << 17 | I >>> 15) + S << 0, P += (A ^ I & (S ^ A)) + R[15] + 1236535329, P = (P << 22 | P >>> 10) + I << 0, A += (I ^ S & (P ^ I)) + R[1] - 165796510, A = (A << 5 | A >>> 27) + P << 0, S += (P ^ I & (A ^ P)) + R[6] - 1069501632, S = (S << 9 | S >>> 23) + A << 0, I += (A ^ P & (S ^ A)) + R[11] + 643717713, I = (I << 14 | I >>> 18) + S << 0, P += (S ^ A & (I ^ S)) + R[0] - 373897302, P = (P << 20 | P >>> 12) + I << 0, A += (I ^ S & (P ^ I)) + R[5] - 701558691, A = (A << 5 | A >>> 27) + P << 0, S += (P ^ I & (A ^ P)) + R[10] + 38016083, S = (S << 9 | S >>> 23) + A << 0, I += (A ^ P & (S ^ A)) + R[15] - 660478335, I = (I << 14 | I >>> 18) + S << 0, P += (S ^ A & (I ^ S)) + R[4] - 405537848, P = (P << 20 | P >>> 12) + I << 0, A += (I ^ S & (P ^ I)) + R[9] + 568446438, A = (A << 5 | A >>> 27) + P << 0, S += (P ^ I & (A ^ P)) + R[14] - 1019803690, S = (S << 9 | S >>> 23) + A << 0, I += (A ^ P & (S ^ A)) + R[3] - 187363961, I = (I << 14 | I >>> 18) + S << 0, P += (S ^ A & (I ^ S)) + R[8] + 1163531501, P = (P << 20 | P >>> 12) + I << 0, A += (I ^ S & (P ^ I)) + R[13] - 1444681467, A = (A << 5 | A >>> 27) + P << 0, S += (P ^ I & (A ^ P)) + R[2] - 51403784, S = (S << 9 | S >>> 23) + A << 0, I += (A ^ P & (S ^ A)) + R[7] + 1735328473, I = (I << 14 | I >>> 18) + S << 0, P += (S ^ A & (I ^ S)) + R[12] - 1926607734, P = (P << 20 | P >>> 12) + I << 0, D = P ^ I, A += (D ^ S) + R[5] - 378558, A = (A << 4 | A >>> 28) + P << 0, S += (D ^ A) + R[8] - 2022574463, S = (S << 11 | S >>> 21) + A << 0, C = S ^ A, I += (C ^ P) + R[11] + 1839030562, I = (I << 16 | I >>> 16) + S << 0, P += (C ^ I) + R[14] - 35309556, P = (P << 23 | P >>> 9) + I << 0, D = P ^ I, A += (D ^ S) + R[1] - 1530992060, A = (A << 4 | A >>> 28) + P << 0, S += (D ^ A) + R[4] + 1272893353, S = (S << 11 | S >>> 21) + A << 0, C = S ^ A, I += (C ^ P) + R[7] - 155497632, I = (I << 16 | I >>> 16) + S << 0, P += (C ^ I) + R[10] - 1094730640, P = (P << 23 | P >>> 9) + I << 0, D = P ^ I, A += (D ^ S) + R[13] + 681279174, A = (A << 4 | A >>> 28) + P << 0, S += (D ^ A) + R[0] - 358537222, S = (S << 11 | S >>> 21) + A << 0, C = S ^ A, I += (C ^ P) + R[3] - 722521979, I = (I << 16 | I >>> 16) + S << 0, P += (C ^ I) + R[6] + 76029189, P = (P << 23 | P >>> 9) + I << 0, D = P ^ I, A += (D ^ S) + R[9] - 640364487, A = (A << 4 | A >>> 28) + P << 0, S += (D ^ A) + R[12] - 421815835, S = (S << 11 | S >>> 21) + A << 0, C = S ^ A, I += (C ^ P) + R[15] + 530742520, I = (I << 16 | I >>> 16) + S << 0, P += (C ^ I) + R[2] - 995338651, P = (P << 23 | P >>> 9) + I << 0, A += (I ^ (P | ~S)) + R[0] - 198630844, A = (A << 6 | A >>> 26) + P << 0, S += (P ^ (A | ~I)) + R[7] + 1126891415, S = (S << 10 | S >>> 22) + A << 0, I += (A ^ (S | ~P)) + R[14] - 1416354905, I = (I << 15 | I >>> 17) + S << 0, P += (S ^ (I | ~A)) + R[5] - 57434055, P = (P << 21 | P >>> 11) + I << 0, A += (I ^ (P | ~S)) + R[12] + 1700485571, A = (A << 6 | A >>> 26) + P << 0, S += (P ^ (A | ~I)) + R[3] - 1894986606, S = (S << 10 | S >>> 22) + A << 0, I += (A ^ (S | ~P)) + R[10] - 1051523, I = (I << 15 | I >>> 17) + S << 0, P += (S ^ (I | ~A)) + R[1] - 2054922799, P = (P << 21 | P >>> 11) + I << 0, A += (I ^ (P | ~S)) + R[8] + 1873313359, A = (A << 6 | A >>> 26) + P << 0, S += (P ^ (A | ~I)) + R[15] - 30611744, S = (S << 10 | S >>> 22) + A << 0, I += (A ^ (S | ~P)) + R[6] - 1560198380, I = (I << 15 | I >>> 17) + S << 0, P += (S ^ (I | ~A)) + R[13] + 1309151649, P = (P << 21 | P >>> 11) + I << 0, A += (I ^ (P | ~S)) + R[4] - 145523070, A = (A << 6 | A >>> 26) + P << 0, S += (P ^ (A | ~I)) + R[11] - 1120210379, S = (S << 10 | S >>> 22) + A << 0, I += (A ^ (S | ~P)) + R[2] + 718787259, I = (I << 15 | I >>> 17) + S << 0, P += (S ^ (I | ~A)) + R[9] - 343485551, P = (P << 21 | P >>> 11) + I << 0, this.first ? (this.h0 = A + 1732584193 << 0, this.h1 = P - 271733879 << 0, this.h2 = I - 1732584194 << 0, this.h3 = S + 271733878 << 0, this.first = !1) : (this.h0 = this.h0 + A << 0, this.h1 = this.h1 + P << 0, this.h2 = this.h2 + I << 0, this.h3 = this.h3 + S << 0);
|
|
20964
20964
|
}, L.prototype.hex = function() {
|
|
20965
20965
|
this.finalize();
|
|
20966
|
-
var A = this.h0,
|
|
20967
|
-
return c[A >>> 4 & 15] + c[A & 15] + c[A >>> 12 & 15] + c[A >>> 8 & 15] + c[A >>> 20 & 15] + c[A >>> 16 & 15] + c[A >>> 28 & 15] + c[A >>> 24 & 15] + c[
|
|
20966
|
+
var A = this.h0, P = this.h1, I = this.h2, S = this.h3;
|
|
20967
|
+
return c[A >>> 4 & 15] + c[A & 15] + c[A >>> 12 & 15] + c[A >>> 8 & 15] + c[A >>> 20 & 15] + c[A >>> 16 & 15] + c[A >>> 28 & 15] + c[A >>> 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[I >>> 4 & 15] + c[I & 15] + c[I >>> 12 & 15] + c[I >>> 8 & 15] + c[I >>> 20 & 15] + c[I >>> 16 & 15] + c[I >>> 28 & 15] + c[I >>> 24 & 15] + 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];
|
|
20968
20968
|
}, L.prototype.toString = L.prototype.hex, L.prototype.digest = function() {
|
|
20969
20969
|
this.finalize();
|
|
20970
|
-
var A = this.h0,
|
|
20970
|
+
var A = this.h0, P = this.h1, I = this.h2, S = this.h3;
|
|
20971
20971
|
return [
|
|
20972
20972
|
A & 255,
|
|
20973
20973
|
A >>> 8 & 255,
|
|
20974
20974
|
A >>> 16 & 255,
|
|
20975
20975
|
A >>> 24 & 255,
|
|
20976
|
-
|
|
20977
|
-
|
|
20978
|
-
|
|
20979
|
-
|
|
20976
|
+
P & 255,
|
|
20977
|
+
P >>> 8 & 255,
|
|
20978
|
+
P >>> 16 & 255,
|
|
20979
|
+
P >>> 24 & 255,
|
|
20980
20980
|
I & 255,
|
|
20981
20981
|
I >>> 8 & 255,
|
|
20982
20982
|
I >>> 16 & 255,
|
|
@@ -20988,14 +20988,14 @@ const IL = {}, DL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
20988
20988
|
];
|
|
20989
20989
|
}, L.prototype.array = L.prototype.digest, L.prototype.arrayBuffer = function() {
|
|
20990
20990
|
this.finalize();
|
|
20991
|
-
var A = new ArrayBuffer(16),
|
|
20992
|
-
return
|
|
20991
|
+
var A = new ArrayBuffer(16), P = new Uint32Array(A);
|
|
20992
|
+
return P[0] = this.h0, P[1] = this.h1, P[2] = this.h2, P[3] = this.h3, A;
|
|
20993
20993
|
}, L.prototype.buffer = L.prototype.arrayBuffer, L.prototype.base64 = function() {
|
|
20994
|
-
for (var A,
|
|
20995
|
-
A = D[C++],
|
|
20994
|
+
for (var A, P, I, S = "", D = this.array(), C = 0; C < 15; )
|
|
20995
|
+
A = D[C++], P = D[C++], I = D[C++], S += h[A >>> 2] + h[(A << 4 | P >>> 4) & 63] + h[(P << 2 | I >>> 6) & 63] + h[I & 63];
|
|
20996
20996
|
return A = D[C], S += h[A >>> 2] + h[A << 4 & 63] + "==", S;
|
|
20997
20997
|
};
|
|
20998
|
-
function J(A,
|
|
20998
|
+
function J(A, P) {
|
|
20999
20999
|
var I, S = k(A);
|
|
21000
21000
|
if (A = S[0], S[1]) {
|
|
21001
21001
|
var D = [], C = A.length, R = 0, z;
|
|
@@ -21009,7 +21009,7 @@ const IL = {}, DL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
21009
21009
|
var be = A[I] || 0;
|
|
21010
21010
|
q[I] = 92 ^ be, se[I] = 54 ^ be;
|
|
21011
21011
|
}
|
|
21012
|
-
L.call(this,
|
|
21012
|
+
L.call(this, P), this.update(se), this.oKeyPad = q, this.inner = !0, this.sharedMemory = P;
|
|
21013
21013
|
}
|
|
21014
21014
|
J.prototype = new L(), J.prototype.finalize = function() {
|
|
21015
21015
|
if (L.prototype.finalize.call(this), this.inner) {
|
|
@@ -24615,104 +24615,104 @@ function y(t, e, n, r, o, i) {
|
|
|
24615
24615
|
replace: r
|
|
24616
24616
|
}, i && r && (hn[t][r] = hn[t][o]);
|
|
24617
24617
|
}
|
|
24618
|
-
var x = "math", ye = "text",
|
|
24619
|
-
y(x,
|
|
24620
|
-
y(x,
|
|
24621
|
-
y(x,
|
|
24622
|
-
y(x,
|
|
24623
|
-
y(x,
|
|
24624
|
-
y(x,
|
|
24625
|
-
y(x,
|
|
24626
|
-
y(x,
|
|
24627
|
-
y(x,
|
|
24628
|
-
y(x,
|
|
24629
|
-
y(x,
|
|
24630
|
-
y(x,
|
|
24631
|
-
y(x,
|
|
24632
|
-
y(x,
|
|
24633
|
-
y(x,
|
|
24634
|
-
y(x,
|
|
24635
|
-
y(x,
|
|
24636
|
-
y(x,
|
|
24637
|
-
y(x,
|
|
24638
|
-
y(x,
|
|
24639
|
-
y(x,
|
|
24640
|
-
y(x,
|
|
24641
|
-
y(x,
|
|
24642
|
-
y(x,
|
|
24643
|
-
y(x,
|
|
24644
|
-
y(x,
|
|
24645
|
-
y(x,
|
|
24646
|
-
y(ye,
|
|
24647
|
-
y(x,
|
|
24648
|
-
y(ye,
|
|
24649
|
-
y(x,
|
|
24650
|
-
y(ye,
|
|
24651
|
-
y(x,
|
|
24652
|
-
y(x,
|
|
24653
|
-
y(x,
|
|
24654
|
-
y(x,
|
|
24655
|
-
y(x,
|
|
24656
|
-
y(x,
|
|
24657
|
-
y(x,
|
|
24658
|
-
y(x,
|
|
24659
|
-
y(x,
|
|
24660
|
-
y(x,
|
|
24661
|
-
y(x,
|
|
24662
|
-
y(x,
|
|
24663
|
-
y(x,
|
|
24664
|
-
y(x,
|
|
24665
|
-
y(x,
|
|
24666
|
-
y(x,
|
|
24667
|
-
y(x,
|
|
24668
|
-
y(ye,
|
|
24669
|
-
y(x,
|
|
24670
|
-
y(ye,
|
|
24671
|
-
y(x,
|
|
24672
|
-
y(ye,
|
|
24673
|
-
y(ye,
|
|
24674
|
-
y(x,
|
|
24675
|
-
y(ye,
|
|
24676
|
-
y(ye,
|
|
24677
|
-
y(x,
|
|
24678
|
-
y(x,
|
|
24679
|
-
y(x,
|
|
24680
|
-
y(x,
|
|
24681
|
-
y(x,
|
|
24682
|
-
y(x,
|
|
24683
|
-
y(x,
|
|
24684
|
-
y(x,
|
|
24685
|
-
y(x,
|
|
24686
|
-
y(x,
|
|
24687
|
-
y(x,
|
|
24688
|
-
y(x,
|
|
24689
|
-
y(x,
|
|
24690
|
-
y(x,
|
|
24691
|
-
y(x,
|
|
24692
|
-
y(x,
|
|
24693
|
-
y(x,
|
|
24694
|
-
y(x,
|
|
24695
|
-
y(x,
|
|
24696
|
-
y(x,
|
|
24697
|
-
y(x,
|
|
24698
|
-
y(x,
|
|
24699
|
-
y(x,
|
|
24700
|
-
y(x,
|
|
24701
|
-
y(x,
|
|
24702
|
-
y(x,
|
|
24703
|
-
y(x,
|
|
24704
|
-
y(x,
|
|
24705
|
-
y(x,
|
|
24706
|
-
y(x,
|
|
24707
|
-
y(x,
|
|
24708
|
-
y(x,
|
|
24709
|
-
y(x,
|
|
24710
|
-
y(x,
|
|
24711
|
-
y(x,
|
|
24712
|
-
y(x,
|
|
24713
|
-
y(x,
|
|
24714
|
-
y(x,
|
|
24715
|
-
y(x,
|
|
24618
|
+
var x = "math", ye = "text", O = "main", G = "ams", pn = "accent-token", Pe = "bin", Cr = "close", Il = "inner", nt = "mathord", Fn = "op-token", Yr = "open", Mu = "punct", j = "rel", Ti = "spacing", Q = "textord";
|
|
24619
|
+
y(x, O, j, "≡", "\\equiv", !0);
|
|
24620
|
+
y(x, O, j, "≺", "\\prec", !0);
|
|
24621
|
+
y(x, O, j, "≻", "\\succ", !0);
|
|
24622
|
+
y(x, O, j, "∼", "\\sim", !0);
|
|
24623
|
+
y(x, O, j, "⊥", "\\perp");
|
|
24624
|
+
y(x, O, j, "⪯", "\\preceq", !0);
|
|
24625
|
+
y(x, O, j, "⪰", "\\succeq", !0);
|
|
24626
|
+
y(x, O, j, "≃", "\\simeq", !0);
|
|
24627
|
+
y(x, O, j, "∣", "\\mid", !0);
|
|
24628
|
+
y(x, O, j, "≪", "\\ll", !0);
|
|
24629
|
+
y(x, O, j, "≫", "\\gg", !0);
|
|
24630
|
+
y(x, O, j, "≍", "\\asymp", !0);
|
|
24631
|
+
y(x, O, j, "∥", "\\parallel");
|
|
24632
|
+
y(x, O, j, "⋈", "\\bowtie", !0);
|
|
24633
|
+
y(x, O, j, "⌣", "\\smile", !0);
|
|
24634
|
+
y(x, O, j, "⊑", "\\sqsubseteq", !0);
|
|
24635
|
+
y(x, O, j, "⊒", "\\sqsupseteq", !0);
|
|
24636
|
+
y(x, O, j, "≐", "\\doteq", !0);
|
|
24637
|
+
y(x, O, j, "⌢", "\\frown", !0);
|
|
24638
|
+
y(x, O, j, "∋", "\\ni", !0);
|
|
24639
|
+
y(x, O, j, "∝", "\\propto", !0);
|
|
24640
|
+
y(x, O, j, "⊢", "\\vdash", !0);
|
|
24641
|
+
y(x, O, j, "⊣", "\\dashv", !0);
|
|
24642
|
+
y(x, O, j, "∋", "\\owns");
|
|
24643
|
+
y(x, O, Mu, ".", "\\ldotp");
|
|
24644
|
+
y(x, O, Mu, "⋅", "\\cdotp");
|
|
24645
|
+
y(x, O, Mu, "⋅", "·");
|
|
24646
|
+
y(ye, O, Q, "⋅", "·");
|
|
24647
|
+
y(x, O, Q, "#", "\\#");
|
|
24648
|
+
y(ye, O, Q, "#", "\\#");
|
|
24649
|
+
y(x, O, Q, "&", "\\&");
|
|
24650
|
+
y(ye, O, Q, "&", "\\&");
|
|
24651
|
+
y(x, O, Q, "ℵ", "\\aleph", !0);
|
|
24652
|
+
y(x, O, Q, "∀", "\\forall", !0);
|
|
24653
|
+
y(x, O, Q, "ℏ", "\\hbar", !0);
|
|
24654
|
+
y(x, O, Q, "∃", "\\exists", !0);
|
|
24655
|
+
y(x, O, Q, "∇", "\\nabla", !0);
|
|
24656
|
+
y(x, O, Q, "♭", "\\flat", !0);
|
|
24657
|
+
y(x, O, Q, "ℓ", "\\ell", !0);
|
|
24658
|
+
y(x, O, Q, "♮", "\\natural", !0);
|
|
24659
|
+
y(x, O, Q, "♣", "\\clubsuit", !0);
|
|
24660
|
+
y(x, O, Q, "℘", "\\wp", !0);
|
|
24661
|
+
y(x, O, Q, "♯", "\\sharp", !0);
|
|
24662
|
+
y(x, O, Q, "♢", "\\diamondsuit", !0);
|
|
24663
|
+
y(x, O, Q, "ℜ", "\\Re", !0);
|
|
24664
|
+
y(x, O, Q, "♡", "\\heartsuit", !0);
|
|
24665
|
+
y(x, O, Q, "ℑ", "\\Im", !0);
|
|
24666
|
+
y(x, O, Q, "♠", "\\spadesuit", !0);
|
|
24667
|
+
y(x, O, Q, "§", "\\S", !0);
|
|
24668
|
+
y(ye, O, Q, "§", "\\S");
|
|
24669
|
+
y(x, O, Q, "¶", "\\P", !0);
|
|
24670
|
+
y(ye, O, Q, "¶", "\\P");
|
|
24671
|
+
y(x, O, Q, "†", "\\dag");
|
|
24672
|
+
y(ye, O, Q, "†", "\\dag");
|
|
24673
|
+
y(ye, O, Q, "†", "\\textdagger");
|
|
24674
|
+
y(x, O, Q, "‡", "\\ddag");
|
|
24675
|
+
y(ye, O, Q, "‡", "\\ddag");
|
|
24676
|
+
y(ye, O, Q, "‡", "\\textdaggerdbl");
|
|
24677
|
+
y(x, O, Cr, "⎱", "\\rmoustache", !0);
|
|
24678
|
+
y(x, O, Yr, "⎰", "\\lmoustache", !0);
|
|
24679
|
+
y(x, O, Cr, "⟯", "\\rgroup", !0);
|
|
24680
|
+
y(x, O, Yr, "⟮", "\\lgroup", !0);
|
|
24681
|
+
y(x, O, Pe, "∓", "\\mp", !0);
|
|
24682
|
+
y(x, O, Pe, "⊖", "\\ominus", !0);
|
|
24683
|
+
y(x, O, Pe, "⊎", "\\uplus", !0);
|
|
24684
|
+
y(x, O, Pe, "⊓", "\\sqcap", !0);
|
|
24685
|
+
y(x, O, Pe, "∗", "\\ast");
|
|
24686
|
+
y(x, O, Pe, "⊔", "\\sqcup", !0);
|
|
24687
|
+
y(x, O, Pe, "◯", "\\bigcirc", !0);
|
|
24688
|
+
y(x, O, Pe, "∙", "\\bullet", !0);
|
|
24689
|
+
y(x, O, Pe, "‡", "\\ddagger");
|
|
24690
|
+
y(x, O, Pe, "≀", "\\wr", !0);
|
|
24691
|
+
y(x, O, Pe, "⨿", "\\amalg");
|
|
24692
|
+
y(x, O, Pe, "&", "\\And");
|
|
24693
|
+
y(x, O, j, "⟵", "\\longleftarrow", !0);
|
|
24694
|
+
y(x, O, j, "⇐", "\\Leftarrow", !0);
|
|
24695
|
+
y(x, O, j, "⟸", "\\Longleftarrow", !0);
|
|
24696
|
+
y(x, O, j, "⟶", "\\longrightarrow", !0);
|
|
24697
|
+
y(x, O, j, "⇒", "\\Rightarrow", !0);
|
|
24698
|
+
y(x, O, j, "⟹", "\\Longrightarrow", !0);
|
|
24699
|
+
y(x, O, j, "↔", "\\leftrightarrow", !0);
|
|
24700
|
+
y(x, O, j, "⟷", "\\longleftrightarrow", !0);
|
|
24701
|
+
y(x, O, j, "⇔", "\\Leftrightarrow", !0);
|
|
24702
|
+
y(x, O, j, "⟺", "\\Longleftrightarrow", !0);
|
|
24703
|
+
y(x, O, j, "↦", "\\mapsto", !0);
|
|
24704
|
+
y(x, O, j, "⟼", "\\longmapsto", !0);
|
|
24705
|
+
y(x, O, j, "↗", "\\nearrow", !0);
|
|
24706
|
+
y(x, O, j, "↩", "\\hookleftarrow", !0);
|
|
24707
|
+
y(x, O, j, "↪", "\\hookrightarrow", !0);
|
|
24708
|
+
y(x, O, j, "↘", "\\searrow", !0);
|
|
24709
|
+
y(x, O, j, "↼", "\\leftharpoonup", !0);
|
|
24710
|
+
y(x, O, j, "⇀", "\\rightharpoonup", !0);
|
|
24711
|
+
y(x, O, j, "↙", "\\swarrow", !0);
|
|
24712
|
+
y(x, O, j, "↽", "\\leftharpoondown", !0);
|
|
24713
|
+
y(x, O, j, "⇁", "\\rightharpoondown", !0);
|
|
24714
|
+
y(x, O, j, "↖", "\\nwarrow", !0);
|
|
24715
|
+
y(x, O, j, "⇌", "\\rightleftharpoons", !0);
|
|
24716
24716
|
y(x, G, j, "≮", "\\nless", !0);
|
|
24717
24717
|
y(x, G, j, "", "\\@nleqslant");
|
|
24718
24718
|
y(x, G, j, "", "\\@nleqq");
|
|
@@ -24792,7 +24792,7 @@ y(x, G, Q, "★", "\\bigstar");
|
|
|
24792
24792
|
y(x, G, Q, "∢", "\\sphericalangle", !0);
|
|
24793
24793
|
y(x, G, Q, "∁", "\\complement", !0);
|
|
24794
24794
|
y(x, G, Q, "ð", "\\eth", !0);
|
|
24795
|
-
y(ye,
|
|
24795
|
+
y(ye, O, Q, "ð", "ð");
|
|
24796
24796
|
y(x, G, Q, "╱", "\\diagup");
|
|
24797
24797
|
y(x, G, Q, "╲", "\\diagdown");
|
|
24798
24798
|
y(x, G, Q, "□", "\\square");
|
|
@@ -24882,7 +24882,7 @@ y(x, G, j, "⋙", "\\gggtr");
|
|
|
24882
24882
|
y(x, G, Pe, "⊲", "\\lhd");
|
|
24883
24883
|
y(x, G, Pe, "⊳", "\\rhd");
|
|
24884
24884
|
y(x, G, j, "≂", "\\eqsim", !0);
|
|
24885
|
-
y(x,
|
|
24885
|
+
y(x, O, j, "⋈", "\\Join");
|
|
24886
24886
|
y(x, G, j, "≑", "\\Doteq", !0);
|
|
24887
24887
|
y(x, G, Pe, "∔", "\\dotplus", !0);
|
|
24888
24888
|
y(x, G, Pe, "∖", "\\smallsetminus");
|
|
@@ -24920,8 +24920,8 @@ y(x, G, j, "↰", "\\Lsh", !0);
|
|
|
24920
24920
|
y(x, G, j, "⇈", "\\upuparrows", !0);
|
|
24921
24921
|
y(x, G, j, "↿", "\\upharpoonleft", !0);
|
|
24922
24922
|
y(x, G, j, "⇃", "\\downharpoonleft", !0);
|
|
24923
|
-
y(x,
|
|
24924
|
-
y(x,
|
|
24923
|
+
y(x, O, j, "⊶", "\\origof", !0);
|
|
24924
|
+
y(x, O, j, "⊷", "\\imageof", !0);
|
|
24925
24925
|
y(x, G, j, "⊸", "\\multimap", !0);
|
|
24926
24926
|
y(x, G, j, "↭", "\\leftrightsquigarrow", !0);
|
|
24927
24927
|
y(x, G, j, "⇉", "\\rightrightarrows", !0);
|
|
@@ -24939,297 +24939,297 @@ y(x, G, j, "⇝", "\\rightsquigarrow", !0);
|
|
|
24939
24939
|
y(x, G, j, "⇝", "\\leadsto");
|
|
24940
24940
|
y(x, G, j, "⇛", "\\Rrightarrow", !0);
|
|
24941
24941
|
y(x, G, j, "↾", "\\restriction");
|
|
24942
|
-
y(x,
|
|
24943
|
-
y(x,
|
|
24944
|
-
y(ye,
|
|
24945
|
-
y(ye,
|
|
24946
|
-
y(x,
|
|
24947
|
-
y(ye,
|
|
24948
|
-
y(x,
|
|
24949
|
-
y(ye,
|
|
24950
|
-
y(ye,
|
|
24951
|
-
y(x,
|
|
24952
|
-
y(x,
|
|
24953
|
-
y(x,
|
|
24954
|
-
y(x,
|
|
24955
|
-
y(x,
|
|
24956
|
-
y(x,
|
|
24957
|
-
y(x,
|
|
24958
|
-
y(x,
|
|
24959
|
-
y(x,
|
|
24960
|
-
y(x,
|
|
24961
|
-
y(x,
|
|
24962
|
-
y(x,
|
|
24963
|
-
y(x,
|
|
24964
|
-
y(x,
|
|
24965
|
-
y(x,
|
|
24966
|
-
y(x,
|
|
24967
|
-
y(x,
|
|
24968
|
-
y(x,
|
|
24969
|
-
y(x,
|
|
24970
|
-
y(x,
|
|
24971
|
-
y(x,
|
|
24972
|
-
y(x,
|
|
24973
|
-
y(x,
|
|
24974
|
-
y(x,
|
|
24975
|
-
y(x,
|
|
24976
|
-
y(x,
|
|
24977
|
-
y(x,
|
|
24978
|
-
y(x,
|
|
24979
|
-
y(x,
|
|
24980
|
-
y(x,
|
|
24981
|
-
y(x,
|
|
24982
|
-
y(x,
|
|
24983
|
-
y(x,
|
|
24942
|
+
y(x, O, Q, "‘", "`");
|
|
24943
|
+
y(x, O, Q, "$", "\\$");
|
|
24944
|
+
y(ye, O, Q, "$", "\\$");
|
|
24945
|
+
y(ye, O, Q, "$", "\\textdollar");
|
|
24946
|
+
y(x, O, Q, "%", "\\%");
|
|
24947
|
+
y(ye, O, Q, "%", "\\%");
|
|
24948
|
+
y(x, O, Q, "_", "\\_");
|
|
24949
|
+
y(ye, O, Q, "_", "\\_");
|
|
24950
|
+
y(ye, O, Q, "_", "\\textunderscore");
|
|
24951
|
+
y(x, O, Q, "∠", "\\angle", !0);
|
|
24952
|
+
y(x, O, Q, "∞", "\\infty", !0);
|
|
24953
|
+
y(x, O, Q, "′", "\\prime");
|
|
24954
|
+
y(x, O, Q, "△", "\\triangle");
|
|
24955
|
+
y(x, O, Q, "Γ", "\\Gamma", !0);
|
|
24956
|
+
y(x, O, Q, "Δ", "\\Delta", !0);
|
|
24957
|
+
y(x, O, Q, "Θ", "\\Theta", !0);
|
|
24958
|
+
y(x, O, Q, "Λ", "\\Lambda", !0);
|
|
24959
|
+
y(x, O, Q, "Ξ", "\\Xi", !0);
|
|
24960
|
+
y(x, O, Q, "Π", "\\Pi", !0);
|
|
24961
|
+
y(x, O, Q, "Σ", "\\Sigma", !0);
|
|
24962
|
+
y(x, O, Q, "Υ", "\\Upsilon", !0);
|
|
24963
|
+
y(x, O, Q, "Φ", "\\Phi", !0);
|
|
24964
|
+
y(x, O, Q, "Ψ", "\\Psi", !0);
|
|
24965
|
+
y(x, O, Q, "Ω", "\\Omega", !0);
|
|
24966
|
+
y(x, O, Q, "A", "Α");
|
|
24967
|
+
y(x, O, Q, "B", "Β");
|
|
24968
|
+
y(x, O, Q, "E", "Ε");
|
|
24969
|
+
y(x, O, Q, "Z", "Ζ");
|
|
24970
|
+
y(x, O, Q, "H", "Η");
|
|
24971
|
+
y(x, O, Q, "I", "Ι");
|
|
24972
|
+
y(x, O, Q, "K", "Κ");
|
|
24973
|
+
y(x, O, Q, "M", "Μ");
|
|
24974
|
+
y(x, O, Q, "N", "Ν");
|
|
24975
|
+
y(x, O, Q, "O", "Ο");
|
|
24976
|
+
y(x, O, Q, "P", "Ρ");
|
|
24977
|
+
y(x, O, Q, "T", "Τ");
|
|
24978
|
+
y(x, O, Q, "X", "Χ");
|
|
24979
|
+
y(x, O, Q, "¬", "\\neg", !0);
|
|
24980
|
+
y(x, O, Q, "¬", "\\lnot");
|
|
24981
|
+
y(x, O, Q, "⊤", "\\top");
|
|
24982
|
+
y(x, O, Q, "⊥", "\\bot");
|
|
24983
|
+
y(x, O, Q, "∅", "\\emptyset");
|
|
24984
24984
|
y(x, G, Q, "∅", "\\varnothing");
|
|
24985
|
-
y(x,
|
|
24986
|
-
y(x,
|
|
24987
|
-
y(x,
|
|
24988
|
-
y(x,
|
|
24989
|
-
y(x,
|
|
24990
|
-
y(x,
|
|
24991
|
-
y(x,
|
|
24992
|
-
y(x,
|
|
24993
|
-
y(x,
|
|
24994
|
-
y(x,
|
|
24995
|
-
y(x,
|
|
24996
|
-
y(x,
|
|
24997
|
-
y(x,
|
|
24998
|
-
y(x,
|
|
24999
|
-
y(x,
|
|
25000
|
-
y(x,
|
|
25001
|
-
y(x,
|
|
25002
|
-
y(x,
|
|
25003
|
-
y(x,
|
|
25004
|
-
y(x,
|
|
25005
|
-
y(x,
|
|
25006
|
-
y(x,
|
|
25007
|
-
y(x,
|
|
25008
|
-
y(x,
|
|
25009
|
-
y(x,
|
|
25010
|
-
y(x,
|
|
25011
|
-
y(x,
|
|
25012
|
-
y(x,
|
|
25013
|
-
y(x,
|
|
25014
|
-
y(x,
|
|
25015
|
-
y(x,
|
|
25016
|
-
y(x,
|
|
25017
|
-
y(x,
|
|
25018
|
-
y(x,
|
|
25019
|
-
y(x,
|
|
25020
|
-
y(x,
|
|
25021
|
-
y(x,
|
|
25022
|
-
y(x,
|
|
25023
|
-
y(x,
|
|
25024
|
-
y(x,
|
|
25025
|
-
y(x,
|
|
25026
|
-
y(x,
|
|
25027
|
-
y(x,
|
|
25028
|
-
y(x,
|
|
25029
|
-
y(x,
|
|
25030
|
-
y(x,
|
|
25031
|
-
y(x,
|
|
25032
|
-
y(x,
|
|
25033
|
-
y(x,
|
|
25034
|
-
y(x,
|
|
25035
|
-
y(x,
|
|
25036
|
-
y(x,
|
|
25037
|
-
y(x,
|
|
25038
|
-
y(x,
|
|
25039
|
-
y(x,
|
|
25040
|
-
y(x,
|
|
25041
|
-
y(x,
|
|
25042
|
-
y(x,
|
|
25043
|
-
y(x,
|
|
25044
|
-
y(x,
|
|
25045
|
-
y(x,
|
|
25046
|
-
y(x,
|
|
25047
|
-
y(x,
|
|
25048
|
-
y(x,
|
|
25049
|
-
y(x,
|
|
25050
|
-
y(x,
|
|
25051
|
-
y(x,
|
|
25052
|
-
y(x,
|
|
24985
|
+
y(x, O, nt, "α", "\\alpha", !0);
|
|
24986
|
+
y(x, O, nt, "β", "\\beta", !0);
|
|
24987
|
+
y(x, O, nt, "γ", "\\gamma", !0);
|
|
24988
|
+
y(x, O, nt, "δ", "\\delta", !0);
|
|
24989
|
+
y(x, O, nt, "ϵ", "\\epsilon", !0);
|
|
24990
|
+
y(x, O, nt, "ζ", "\\zeta", !0);
|
|
24991
|
+
y(x, O, nt, "η", "\\eta", !0);
|
|
24992
|
+
y(x, O, nt, "θ", "\\theta", !0);
|
|
24993
|
+
y(x, O, nt, "ι", "\\iota", !0);
|
|
24994
|
+
y(x, O, nt, "κ", "\\kappa", !0);
|
|
24995
|
+
y(x, O, nt, "λ", "\\lambda", !0);
|
|
24996
|
+
y(x, O, nt, "μ", "\\mu", !0);
|
|
24997
|
+
y(x, O, nt, "ν", "\\nu", !0);
|
|
24998
|
+
y(x, O, nt, "ξ", "\\xi", !0);
|
|
24999
|
+
y(x, O, nt, "ο", "\\omicron", !0);
|
|
25000
|
+
y(x, O, nt, "π", "\\pi", !0);
|
|
25001
|
+
y(x, O, nt, "ρ", "\\rho", !0);
|
|
25002
|
+
y(x, O, nt, "σ", "\\sigma", !0);
|
|
25003
|
+
y(x, O, nt, "τ", "\\tau", !0);
|
|
25004
|
+
y(x, O, nt, "υ", "\\upsilon", !0);
|
|
25005
|
+
y(x, O, nt, "ϕ", "\\phi", !0);
|
|
25006
|
+
y(x, O, nt, "χ", "\\chi", !0);
|
|
25007
|
+
y(x, O, nt, "ψ", "\\psi", !0);
|
|
25008
|
+
y(x, O, nt, "ω", "\\omega", !0);
|
|
25009
|
+
y(x, O, nt, "ε", "\\varepsilon", !0);
|
|
25010
|
+
y(x, O, nt, "ϑ", "\\vartheta", !0);
|
|
25011
|
+
y(x, O, nt, "ϖ", "\\varpi", !0);
|
|
25012
|
+
y(x, O, nt, "ϱ", "\\varrho", !0);
|
|
25013
|
+
y(x, O, nt, "ς", "\\varsigma", !0);
|
|
25014
|
+
y(x, O, nt, "φ", "\\varphi", !0);
|
|
25015
|
+
y(x, O, Pe, "∗", "*", !0);
|
|
25016
|
+
y(x, O, Pe, "+", "+");
|
|
25017
|
+
y(x, O, Pe, "−", "-", !0);
|
|
25018
|
+
y(x, O, Pe, "⋅", "\\cdot", !0);
|
|
25019
|
+
y(x, O, Pe, "∘", "\\circ", !0);
|
|
25020
|
+
y(x, O, Pe, "÷", "\\div", !0);
|
|
25021
|
+
y(x, O, Pe, "±", "\\pm", !0);
|
|
25022
|
+
y(x, O, Pe, "×", "\\times", !0);
|
|
25023
|
+
y(x, O, Pe, "∩", "\\cap", !0);
|
|
25024
|
+
y(x, O, Pe, "∪", "\\cup", !0);
|
|
25025
|
+
y(x, O, Pe, "∖", "\\setminus", !0);
|
|
25026
|
+
y(x, O, Pe, "∧", "\\land");
|
|
25027
|
+
y(x, O, Pe, "∨", "\\lor");
|
|
25028
|
+
y(x, O, Pe, "∧", "\\wedge", !0);
|
|
25029
|
+
y(x, O, Pe, "∨", "\\vee", !0);
|
|
25030
|
+
y(x, O, Q, "√", "\\surd");
|
|
25031
|
+
y(x, O, Yr, "⟨", "\\langle", !0);
|
|
25032
|
+
y(x, O, Yr, "∣", "\\lvert");
|
|
25033
|
+
y(x, O, Yr, "∥", "\\lVert");
|
|
25034
|
+
y(x, O, Cr, "?", "?");
|
|
25035
|
+
y(x, O, Cr, "!", "!");
|
|
25036
|
+
y(x, O, Cr, "⟩", "\\rangle", !0);
|
|
25037
|
+
y(x, O, Cr, "∣", "\\rvert");
|
|
25038
|
+
y(x, O, Cr, "∥", "\\rVert");
|
|
25039
|
+
y(x, O, j, "=", "=");
|
|
25040
|
+
y(x, O, j, ":", ":");
|
|
25041
|
+
y(x, O, j, "≈", "\\approx", !0);
|
|
25042
|
+
y(x, O, j, "≅", "\\cong", !0);
|
|
25043
|
+
y(x, O, j, "≥", "\\ge");
|
|
25044
|
+
y(x, O, j, "≥", "\\geq", !0);
|
|
25045
|
+
y(x, O, j, "←", "\\gets");
|
|
25046
|
+
y(x, O, j, ">", "\\gt", !0);
|
|
25047
|
+
y(x, O, j, "∈", "\\in", !0);
|
|
25048
|
+
y(x, O, j, "", "\\@not");
|
|
25049
|
+
y(x, O, j, "⊂", "\\subset", !0);
|
|
25050
|
+
y(x, O, j, "⊃", "\\supset", !0);
|
|
25051
|
+
y(x, O, j, "⊆", "\\subseteq", !0);
|
|
25052
|
+
y(x, O, j, "⊇", "\\supseteq", !0);
|
|
25053
25053
|
y(x, G, j, "⊈", "\\nsubseteq", !0);
|
|
25054
25054
|
y(x, G, j, "⊉", "\\nsupseteq", !0);
|
|
25055
|
-
y(x,
|
|
25056
|
-
y(x,
|
|
25057
|
-
y(x,
|
|
25058
|
-
y(x,
|
|
25059
|
-
y(x,
|
|
25060
|
-
y(x,
|
|
25061
|
-
y(x,
|
|
25055
|
+
y(x, O, j, "⊨", "\\models");
|
|
25056
|
+
y(x, O, j, "←", "\\leftarrow", !0);
|
|
25057
|
+
y(x, O, j, "≤", "\\le");
|
|
25058
|
+
y(x, O, j, "≤", "\\leq", !0);
|
|
25059
|
+
y(x, O, j, "<", "\\lt", !0);
|
|
25060
|
+
y(x, O, j, "→", "\\rightarrow", !0);
|
|
25061
|
+
y(x, O, j, "→", "\\to");
|
|
25062
25062
|
y(x, G, j, "≱", "\\ngeq", !0);
|
|
25063
25063
|
y(x, G, j, "≰", "\\nleq", !0);
|
|
25064
|
-
y(x,
|
|
25065
|
-
y(x,
|
|
25066
|
-
y(x,
|
|
25067
|
-
y(ye,
|
|
25068
|
-
y(ye,
|
|
25069
|
-
y(ye,
|
|
25070
|
-
y(ye,
|
|
25071
|
-
y(x,
|
|
25072
|
-
y(x,
|
|
25073
|
-
y(x,
|
|
25074
|
-
y(x,
|
|
25064
|
+
y(x, O, Ti, " ", "\\ ");
|
|
25065
|
+
y(x, O, Ti, " ", "\\space");
|
|
25066
|
+
y(x, O, Ti, " ", "\\nobreakspace");
|
|
25067
|
+
y(ye, O, Ti, " ", "\\ ");
|
|
25068
|
+
y(ye, O, Ti, " ", " ");
|
|
25069
|
+
y(ye, O, Ti, " ", "\\space");
|
|
25070
|
+
y(ye, O, Ti, " ", "\\nobreakspace");
|
|
25071
|
+
y(x, O, Ti, "", "\\nobreak");
|
|
25072
|
+
y(x, O, Ti, "", "\\allowbreak");
|
|
25073
|
+
y(x, O, Mu, ",", ",");
|
|
25074
|
+
y(x, O, Mu, ";", ";");
|
|
25075
25075
|
y(x, G, Pe, "⊼", "\\barwedge", !0);
|
|
25076
25076
|
y(x, G, Pe, "⊻", "\\veebar", !0);
|
|
25077
|
-
y(x,
|
|
25078
|
-
y(x,
|
|
25079
|
-
y(x,
|
|
25080
|
-
y(x,
|
|
25081
|
-
y(x,
|
|
25077
|
+
y(x, O, Pe, "⊙", "\\odot", !0);
|
|
25078
|
+
y(x, O, Pe, "⊕", "\\oplus", !0);
|
|
25079
|
+
y(x, O, Pe, "⊗", "\\otimes", !0);
|
|
25080
|
+
y(x, O, Q, "∂", "\\partial", !0);
|
|
25081
|
+
y(x, O, Pe, "⊘", "\\oslash", !0);
|
|
25082
25082
|
y(x, G, Pe, "⊚", "\\circledcirc", !0);
|
|
25083
25083
|
y(x, G, Pe, "⊡", "\\boxdot", !0);
|
|
25084
|
-
y(x,
|
|
25085
|
-
y(x,
|
|
25086
|
-
y(x,
|
|
25087
|
-
y(x,
|
|
25088
|
-
y(x,
|
|
25089
|
-
y(x,
|
|
25090
|
-
y(x,
|
|
25091
|
-
y(x,
|
|
25092
|
-
y(ye,
|
|
25093
|
-
y(ye,
|
|
25094
|
-
y(x,
|
|
25095
|
-
y(ye,
|
|
25096
|
-
y(ye,
|
|
25097
|
-
y(x,
|
|
25098
|
-
y(x,
|
|
25099
|
-
y(x,
|
|
25100
|
-
y(ye,
|
|
25101
|
-
y(x,
|
|
25102
|
-
y(ye,
|
|
25103
|
-
y(x,
|
|
25104
|
-
y(x,
|
|
25105
|
-
y(ye,
|
|
25106
|
-
y(ye,
|
|
25107
|
-
y(x,
|
|
25108
|
-
y(x,
|
|
25109
|
-
y(x,
|
|
25110
|
-
y(x,
|
|
25111
|
-
y(x,
|
|
25112
|
-
y(x,
|
|
25113
|
-
y(x,
|
|
25114
|
-
y(ye,
|
|
25115
|
-
y(x,
|
|
25116
|
-
y(x,
|
|
25117
|
-
y(ye,
|
|
25118
|
-
y(ye,
|
|
25119
|
-
y(ye,
|
|
25120
|
-
y(ye,
|
|
25121
|
-
y(x,
|
|
25122
|
-
y(x,
|
|
25123
|
-
y(x,
|
|
25124
|
-
y(x,
|
|
25125
|
-
y(x,
|
|
25126
|
-
y(x,
|
|
25127
|
-
y(x,
|
|
25128
|
-
y(x,
|
|
25129
|
-
y(x,
|
|
25130
|
-
y(x,
|
|
25131
|
-
y(x,
|
|
25132
|
-
y(x,
|
|
25133
|
-
y(x,
|
|
25134
|
-
y(x,
|
|
25135
|
-
y(x,
|
|
25136
|
-
y(x,
|
|
25137
|
-
y(x,
|
|
25138
|
-
y(x,
|
|
25139
|
-
y(x,
|
|
25140
|
-
y(x,
|
|
25141
|
-
y(x,
|
|
25142
|
-
y(x,
|
|
25143
|
-
y(x,
|
|
25144
|
-
y(x,
|
|
25145
|
-
y(x,
|
|
25146
|
-
y(x,
|
|
25147
|
-
y(ye,
|
|
25148
|
-
y(x,
|
|
25149
|
-
y(ye,
|
|
25150
|
-
y(x,
|
|
25151
|
-
y(x,
|
|
25152
|
-
y(x,
|
|
25153
|
-
y(x,
|
|
25154
|
-
y(ye,
|
|
25155
|
-
y(x,
|
|
25156
|
-
y(x,
|
|
25157
|
-
y(x,
|
|
25158
|
-
y(x,
|
|
25159
|
-
y(x,
|
|
25160
|
-
y(x,
|
|
25161
|
-
y(x,
|
|
25162
|
-
y(x,
|
|
25163
|
-
y(x,
|
|
25164
|
-
y(x,
|
|
25165
|
-
y(x,
|
|
25166
|
-
y(x,
|
|
25167
|
-
y(x,
|
|
25168
|
-
y(x,
|
|
25169
|
-
y(x,
|
|
25170
|
-
y(ye,
|
|
25171
|
-
y(ye,
|
|
25172
|
-
y(ye,
|
|
25173
|
-
y(ye,
|
|
25174
|
-
y(ye,
|
|
25175
|
-
y(ye,
|
|
25176
|
-
y(ye,
|
|
25177
|
-
y(ye,
|
|
25178
|
-
y(ye,
|
|
25179
|
-
y(ye,
|
|
25180
|
-
y(ye,
|
|
25181
|
-
y(ye,
|
|
25182
|
-
y(ye,
|
|
25183
|
-
y(ye,
|
|
25184
|
-
y(ye,
|
|
25185
|
-
y(ye,
|
|
25186
|
-
y(ye,
|
|
25187
|
-
y(ye,
|
|
25188
|
-
y(ye,
|
|
25189
|
-
y(ye,
|
|
25190
|
-
y(ye,
|
|
25191
|
-
y(ye,
|
|
25084
|
+
y(x, O, Pe, "△", "\\bigtriangleup");
|
|
25085
|
+
y(x, O, Pe, "▽", "\\bigtriangledown");
|
|
25086
|
+
y(x, O, Pe, "†", "\\dagger");
|
|
25087
|
+
y(x, O, Pe, "⋄", "\\diamond");
|
|
25088
|
+
y(x, O, Pe, "⋆", "\\star");
|
|
25089
|
+
y(x, O, Pe, "◃", "\\triangleleft");
|
|
25090
|
+
y(x, O, Pe, "▹", "\\triangleright");
|
|
25091
|
+
y(x, O, Yr, "{", "\\{");
|
|
25092
|
+
y(ye, O, Q, "{", "\\{");
|
|
25093
|
+
y(ye, O, Q, "{", "\\textbraceleft");
|
|
25094
|
+
y(x, O, Cr, "}", "\\}");
|
|
25095
|
+
y(ye, O, Q, "}", "\\}");
|
|
25096
|
+
y(ye, O, Q, "}", "\\textbraceright");
|
|
25097
|
+
y(x, O, Yr, "{", "\\lbrace");
|
|
25098
|
+
y(x, O, Cr, "}", "\\rbrace");
|
|
25099
|
+
y(x, O, Yr, "[", "\\lbrack", !0);
|
|
25100
|
+
y(ye, O, Q, "[", "\\lbrack", !0);
|
|
25101
|
+
y(x, O, Cr, "]", "\\rbrack", !0);
|
|
25102
|
+
y(ye, O, Q, "]", "\\rbrack", !0);
|
|
25103
|
+
y(x, O, Yr, "(", "\\lparen", !0);
|
|
25104
|
+
y(x, O, Cr, ")", "\\rparen", !0);
|
|
25105
|
+
y(ye, O, Q, "<", "\\textless", !0);
|
|
25106
|
+
y(ye, O, Q, ">", "\\textgreater", !0);
|
|
25107
|
+
y(x, O, Yr, "⌊", "\\lfloor", !0);
|
|
25108
|
+
y(x, O, Cr, "⌋", "\\rfloor", !0);
|
|
25109
|
+
y(x, O, Yr, "⌈", "\\lceil", !0);
|
|
25110
|
+
y(x, O, Cr, "⌉", "\\rceil", !0);
|
|
25111
|
+
y(x, O, Q, "\\", "\\backslash");
|
|
25112
|
+
y(x, O, Q, "∣", "|");
|
|
25113
|
+
y(x, O, Q, "∣", "\\vert");
|
|
25114
|
+
y(ye, O, Q, "|", "\\textbar", !0);
|
|
25115
|
+
y(x, O, Q, "∥", "\\|");
|
|
25116
|
+
y(x, O, Q, "∥", "\\Vert");
|
|
25117
|
+
y(ye, O, Q, "∥", "\\textbardbl");
|
|
25118
|
+
y(ye, O, Q, "~", "\\textasciitilde");
|
|
25119
|
+
y(ye, O, Q, "\\", "\\textbackslash");
|
|
25120
|
+
y(ye, O, Q, "^", "\\textasciicircum");
|
|
25121
|
+
y(x, O, j, "↑", "\\uparrow", !0);
|
|
25122
|
+
y(x, O, j, "⇑", "\\Uparrow", !0);
|
|
25123
|
+
y(x, O, j, "↓", "\\downarrow", !0);
|
|
25124
|
+
y(x, O, j, "⇓", "\\Downarrow", !0);
|
|
25125
|
+
y(x, O, j, "↕", "\\updownarrow", !0);
|
|
25126
|
+
y(x, O, j, "⇕", "\\Updownarrow", !0);
|
|
25127
|
+
y(x, O, Fn, "∐", "\\coprod");
|
|
25128
|
+
y(x, O, Fn, "⋁", "\\bigvee");
|
|
25129
|
+
y(x, O, Fn, "⋀", "\\bigwedge");
|
|
25130
|
+
y(x, O, Fn, "⨄", "\\biguplus");
|
|
25131
|
+
y(x, O, Fn, "⋂", "\\bigcap");
|
|
25132
|
+
y(x, O, Fn, "⋃", "\\bigcup");
|
|
25133
|
+
y(x, O, Fn, "∫", "\\int");
|
|
25134
|
+
y(x, O, Fn, "∫", "\\intop");
|
|
25135
|
+
y(x, O, Fn, "∬", "\\iint");
|
|
25136
|
+
y(x, O, Fn, "∭", "\\iiint");
|
|
25137
|
+
y(x, O, Fn, "∏", "\\prod");
|
|
25138
|
+
y(x, O, Fn, "∑", "\\sum");
|
|
25139
|
+
y(x, O, Fn, "⨂", "\\bigotimes");
|
|
25140
|
+
y(x, O, Fn, "⨁", "\\bigoplus");
|
|
25141
|
+
y(x, O, Fn, "⨀", "\\bigodot");
|
|
25142
|
+
y(x, O, Fn, "∮", "\\oint");
|
|
25143
|
+
y(x, O, Fn, "∯", "\\oiint");
|
|
25144
|
+
y(x, O, Fn, "∰", "\\oiiint");
|
|
25145
|
+
y(x, O, Fn, "⨆", "\\bigsqcup");
|
|
25146
|
+
y(x, O, Fn, "∫", "\\smallint");
|
|
25147
|
+
y(ye, O, Il, "…", "\\textellipsis");
|
|
25148
|
+
y(x, O, Il, "…", "\\mathellipsis");
|
|
25149
|
+
y(ye, O, Il, "…", "\\ldots", !0);
|
|
25150
|
+
y(x, O, Il, "…", "\\ldots", !0);
|
|
25151
|
+
y(x, O, Il, "⋯", "\\@cdots", !0);
|
|
25152
|
+
y(x, O, Il, "⋱", "\\ddots", !0);
|
|
25153
|
+
y(x, O, Q, "⋮", "\\varvdots");
|
|
25154
|
+
y(ye, O, Q, "⋮", "\\varvdots");
|
|
25155
|
+
y(x, O, pn, "ˊ", "\\acute");
|
|
25156
|
+
y(x, O, pn, "ˋ", "\\grave");
|
|
25157
|
+
y(x, O, pn, "¨", "\\ddot");
|
|
25158
|
+
y(x, O, pn, "~", "\\tilde");
|
|
25159
|
+
y(x, O, pn, "ˉ", "\\bar");
|
|
25160
|
+
y(x, O, pn, "˘", "\\breve");
|
|
25161
|
+
y(x, O, pn, "ˇ", "\\check");
|
|
25162
|
+
y(x, O, pn, "^", "\\hat");
|
|
25163
|
+
y(x, O, pn, "⃗", "\\vec");
|
|
25164
|
+
y(x, O, pn, "˙", "\\dot");
|
|
25165
|
+
y(x, O, pn, "˚", "\\mathring");
|
|
25166
|
+
y(x, O, nt, "", "\\@imath");
|
|
25167
|
+
y(x, O, nt, "", "\\@jmath");
|
|
25168
|
+
y(x, O, Q, "ı", "ı");
|
|
25169
|
+
y(x, O, Q, "ȷ", "ȷ");
|
|
25170
|
+
y(ye, O, Q, "ı", "\\i", !0);
|
|
25171
|
+
y(ye, O, Q, "ȷ", "\\j", !0);
|
|
25172
|
+
y(ye, O, Q, "ß", "\\ss", !0);
|
|
25173
|
+
y(ye, O, Q, "æ", "\\ae", !0);
|
|
25174
|
+
y(ye, O, Q, "œ", "\\oe", !0);
|
|
25175
|
+
y(ye, O, Q, "ø", "\\o", !0);
|
|
25176
|
+
y(ye, O, Q, "Æ", "\\AE", !0);
|
|
25177
|
+
y(ye, O, Q, "Œ", "\\OE", !0);
|
|
25178
|
+
y(ye, O, Q, "Ø", "\\O", !0);
|
|
25179
|
+
y(ye, O, pn, "ˊ", "\\'");
|
|
25180
|
+
y(ye, O, pn, "ˋ", "\\`");
|
|
25181
|
+
y(ye, O, pn, "ˆ", "\\^");
|
|
25182
|
+
y(ye, O, pn, "˜", "\\~");
|
|
25183
|
+
y(ye, O, pn, "ˉ", "\\=");
|
|
25184
|
+
y(ye, O, pn, "˘", "\\u");
|
|
25185
|
+
y(ye, O, pn, "˙", "\\.");
|
|
25186
|
+
y(ye, O, pn, "¸", "\\c");
|
|
25187
|
+
y(ye, O, pn, "˚", "\\r");
|
|
25188
|
+
y(ye, O, pn, "ˇ", "\\v");
|
|
25189
|
+
y(ye, O, pn, "¨", '\\"');
|
|
25190
|
+
y(ye, O, pn, "˝", "\\H");
|
|
25191
|
+
y(ye, O, pn, "◯", "\\textcircled");
|
|
25192
25192
|
var h6 = {
|
|
25193
25193
|
"--": !0,
|
|
25194
25194
|
"---": !0,
|
|
25195
25195
|
"``": !0,
|
|
25196
25196
|
"''": !0
|
|
25197
25197
|
};
|
|
25198
|
-
y(ye,
|
|
25199
|
-
y(ye,
|
|
25200
|
-
y(ye,
|
|
25201
|
-
y(ye,
|
|
25202
|
-
y(ye,
|
|
25203
|
-
y(ye,
|
|
25204
|
-
y(ye,
|
|
25205
|
-
y(ye,
|
|
25206
|
-
y(ye,
|
|
25207
|
-
y(ye,
|
|
25208
|
-
y(ye,
|
|
25209
|
-
y(ye,
|
|
25210
|
-
y(x,
|
|
25211
|
-
y(ye,
|
|
25212
|
-
y(ye,
|
|
25213
|
-
y(x,
|
|
25214
|
-
y(x,
|
|
25215
|
-
y(ye,
|
|
25216
|
-
y(ye,
|
|
25198
|
+
y(ye, O, Q, "–", "--", !0);
|
|
25199
|
+
y(ye, O, Q, "–", "\\textendash");
|
|
25200
|
+
y(ye, O, Q, "—", "---", !0);
|
|
25201
|
+
y(ye, O, Q, "—", "\\textemdash");
|
|
25202
|
+
y(ye, O, Q, "‘", "`", !0);
|
|
25203
|
+
y(ye, O, Q, "‘", "\\textquoteleft");
|
|
25204
|
+
y(ye, O, Q, "’", "'", !0);
|
|
25205
|
+
y(ye, O, Q, "’", "\\textquoteright");
|
|
25206
|
+
y(ye, O, Q, "“", "``", !0);
|
|
25207
|
+
y(ye, O, Q, "“", "\\textquotedblleft");
|
|
25208
|
+
y(ye, O, Q, "”", "''", !0);
|
|
25209
|
+
y(ye, O, Q, "”", "\\textquotedblright");
|
|
25210
|
+
y(x, O, Q, "°", "\\degree", !0);
|
|
25211
|
+
y(ye, O, Q, "°", "\\degree");
|
|
25212
|
+
y(ye, O, Q, "°", "\\textdegree", !0);
|
|
25213
|
+
y(x, O, Q, "£", "\\pounds");
|
|
25214
|
+
y(x, O, Q, "£", "\\mathsterling", !0);
|
|
25215
|
+
y(ye, O, Q, "£", "\\pounds");
|
|
25216
|
+
y(ye, O, Q, "£", "\\textsterling", !0);
|
|
25217
25217
|
y(x, G, Q, "✠", "\\maltese");
|
|
25218
25218
|
y(ye, G, Q, "✠", "\\maltese");
|
|
25219
25219
|
var g_ = '0123456789/@."';
|
|
25220
25220
|
for (var y0 = 0; y0 < g_.length; y0++) {
|
|
25221
25221
|
var b_ = g_.charAt(y0);
|
|
25222
|
-
y(x,
|
|
25222
|
+
y(x, O, Q, b_, b_);
|
|
25223
25223
|
}
|
|
25224
25224
|
var v_ = '0123456789!@*()-=+";:?/.,';
|
|
25225
25225
|
for (var _0 = 0; _0 < v_.length; _0++) {
|
|
25226
25226
|
var y_ = v_.charAt(_0);
|
|
25227
|
-
y(ye,
|
|
25227
|
+
y(ye, O, Q, y_, y_);
|
|
25228
25228
|
}
|
|
25229
25229
|
var _f = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
|
|
25230
25230
|
for (var w0 = 0; w0 < _f.length; w0++) {
|
|
25231
25231
|
var rd = _f.charAt(w0);
|
|
25232
|
-
y(x,
|
|
25232
|
+
y(x, O, nt, rd, rd), y(ye, O, Q, rd, rd);
|
|
25233
25233
|
}
|
|
25234
25234
|
y(x, G, Q, "C", "ℂ");
|
|
25235
25235
|
y(ye, G, Q, "C", "ℂ");
|
|
@@ -25245,24 +25245,24 @@ y(x, G, Q, "R", "ℝ");
|
|
|
25245
25245
|
y(ye, G, Q, "R", "ℝ");
|
|
25246
25246
|
y(x, G, Q, "Z", "ℤ");
|
|
25247
25247
|
y(ye, G, Q, "Z", "ℤ");
|
|
25248
|
-
y(x,
|
|
25249
|
-
y(ye,
|
|
25248
|
+
y(x, O, nt, "h", "ℎ");
|
|
25249
|
+
y(ye, O, nt, "h", "ℎ");
|
|
25250
25250
|
var ut;
|
|
25251
25251
|
for (var mr = 0; mr < _f.length; mr++) {
|
|
25252
25252
|
var _n = _f.charAt(mr);
|
|
25253
|
-
ut = String.fromCharCode(55349, 56320 + mr), y(x,
|
|
25253
|
+
ut = String.fromCharCode(55349, 56320 + mr), y(x, O, nt, _n, ut), y(ye, O, Q, _n, ut), ut = String.fromCharCode(55349, 56372 + mr), y(x, O, nt, _n, ut), y(ye, O, Q, _n, ut), ut = String.fromCharCode(55349, 56424 + mr), y(x, O, nt, _n, ut), y(ye, O, Q, _n, ut), ut = String.fromCharCode(55349, 56580 + mr), y(x, O, nt, _n, ut), y(ye, O, Q, _n, ut), ut = String.fromCharCode(55349, 56684 + mr), y(x, O, nt, _n, ut), y(ye, O, Q, _n, ut), ut = String.fromCharCode(55349, 56736 + mr), y(x, O, nt, _n, ut), y(ye, O, Q, _n, ut), ut = String.fromCharCode(55349, 56788 + mr), y(x, O, nt, _n, ut), y(ye, O, Q, _n, ut), ut = String.fromCharCode(55349, 56840 + mr), y(x, O, nt, _n, ut), y(ye, O, Q, _n, ut), ut = String.fromCharCode(55349, 56944 + mr), y(x, O, nt, _n, ut), y(ye, O, Q, _n, ut), mr < 26 && (ut = String.fromCharCode(55349, 56632 + mr), y(x, O, nt, _n, ut), y(ye, O, Q, _n, ut), ut = String.fromCharCode(55349, 56476 + mr), y(x, O, nt, _n, ut), y(ye, O, Q, _n, ut));
|
|
25254
25254
|
}
|
|
25255
25255
|
ut = "𝕜";
|
|
25256
|
-
y(x,
|
|
25257
|
-
y(ye,
|
|
25256
|
+
y(x, O, nt, "k", ut);
|
|
25257
|
+
y(ye, O, Q, "k", ut);
|
|
25258
25258
|
for (var Ms = 0; Ms < 10; Ms++) {
|
|
25259
25259
|
var Li = Ms.toString();
|
|
25260
|
-
ut = String.fromCharCode(55349, 57294 + Ms), y(x,
|
|
25260
|
+
ut = String.fromCharCode(55349, 57294 + Ms), y(x, O, nt, Li, ut), y(ye, O, Q, Li, ut), ut = String.fromCharCode(55349, 57314 + Ms), y(x, O, nt, Li, ut), y(ye, O, Q, Li, ut), ut = String.fromCharCode(55349, 57324 + Ms), y(x, O, nt, Li, ut), y(ye, O, Q, Li, ut), ut = String.fromCharCode(55349, 57334 + Ms), y(x, O, nt, Li, ut), y(ye, O, Q, Li, ut);
|
|
25261
25261
|
}
|
|
25262
25262
|
var cg = "ÐÞþ";
|
|
25263
25263
|
for (var x0 = 0; x0 < cg.length; x0++) {
|
|
25264
25264
|
var od = cg.charAt(x0);
|
|
25265
|
-
y(x,
|
|
25265
|
+
y(x, O, nt, od, od), y(ye, O, Q, od, od);
|
|
25266
25266
|
}
|
|
25267
25267
|
var ug = {
|
|
25268
25268
|
mathClass: "mathbf",
|
|
@@ -25450,8 +25450,8 @@ var ug = {
|
|
|
25450
25450
|
var T = id("amsrm", c, u);
|
|
25451
25451
|
return vr(i, T, o, n, s.concat("amsrm", c, u));
|
|
25452
25452
|
} else if (E === "main" || !E) {
|
|
25453
|
-
var
|
|
25454
|
-
return vr(i,
|
|
25453
|
+
var N = id("textrm", c, u);
|
|
25454
|
+
return vr(i, N, o, n, s.concat(c, u));
|
|
25455
25455
|
} else {
|
|
25456
25456
|
var H = id(E, c, u);
|
|
25457
25457
|
return vr(i, H, o, n, s.concat(H, c, u));
|
|
@@ -25565,10 +25565,10 @@ var ug = {
|
|
|
25565
25565
|
w.style.height = Ne(f);
|
|
25566
25566
|
var E;
|
|
25567
25567
|
if (d < 0) {
|
|
25568
|
-
var T = we([], []),
|
|
25569
|
-
|
|
25568
|
+
var T = we([], []), N = we(["vlist"], [T]);
|
|
25569
|
+
N.style.height = Ne(-d);
|
|
25570
25570
|
var H = we(["vlist-s"], [new Gr("")]);
|
|
25571
|
-
E = [we(["vlist-r"], [w, H]), we(["vlist-r"], [
|
|
25571
|
+
E = [we(["vlist-r"], [w, H]), we(["vlist-r"], [N])];
|
|
25572
25572
|
} else
|
|
25573
25573
|
E = [we(["vlist-r"], [w])];
|
|
25574
25574
|
var L = we(["vlist-t"], E);
|
|
@@ -26496,15 +26496,15 @@ var k6 = function(e) {
|
|
|
26496
26496
|
var g = [], b = qB[l];
|
|
26497
26497
|
if (!b)
|
|
26498
26498
|
throw new Error('No SVG data for "' + l + '".');
|
|
26499
|
-
var [_, k, w] = b, E = w / 1e3, T = _.length,
|
|
26499
|
+
var [_, k, w] = b, E = w / 1e3, T = _.length, N, H;
|
|
26500
26500
|
if (T === 1) {
|
|
26501
26501
|
if (b.length !== 4)
|
|
26502
26502
|
throw new Error('Expected 4-tuple for single-path SVG data "' + l + '".');
|
|
26503
|
-
|
|
26503
|
+
N = ["hide-tail"], H = [b[3]];
|
|
26504
26504
|
} else if (T === 2)
|
|
26505
|
-
|
|
26505
|
+
N = ["halfarrow-left", "halfarrow-right"], H = ["xMinYMin", "xMaxYMin"];
|
|
26506
26506
|
else if (T === 3)
|
|
26507
|
-
|
|
26507
|
+
N = ["brace-left", "brace-center", "brace-right"], H = ["xMinYMin", "xMidYMin", "xMaxYMin"];
|
|
26508
26508
|
else
|
|
26509
26509
|
throw new Error(`Correct katexImagesData or update code here to support
|
|
26510
26510
|
` + T + " children.");
|
|
@@ -26514,7 +26514,7 @@ var k6 = function(e) {
|
|
|
26514
26514
|
height: Ne(E),
|
|
26515
26515
|
viewBox: "0 0 " + a + " " + w,
|
|
26516
26516
|
preserveAspectRatio: H[L] + " slice"
|
|
26517
|
-
}), A = fs([
|
|
26517
|
+
}), A = fs([N[L]], [Z], n);
|
|
26518
26518
|
if (T === 1)
|
|
26519
26519
|
return {
|
|
26520
26520
|
span: A,
|
|
@@ -27463,11 +27463,11 @@ var oc = function(e, n, r) {
|
|
|
27463
27463
|
var T = oc(l, h, i);
|
|
27464
27464
|
w = T.height + T.depth, E = 2;
|
|
27465
27465
|
}
|
|
27466
|
-
var
|
|
27466
|
+
var N = m + k + w, H = Math.max(0, Math.ceil((n - N) / (E * b))), L = N + H * E * b, J = o.fontMetrics().axisHeight;
|
|
27467
27467
|
r && (J *= o.sizeMultiplier);
|
|
27468
27468
|
var Z = L / 2 - J, A = [];
|
|
27469
27469
|
if (d.length > 0) {
|
|
27470
|
-
var
|
|
27470
|
+
var P = L - m - k, I = Math.round(L * 1e3), S = pB(d, Math.round(P * 1e3)), D = new ds(d, S), C = Ne(f / 1e3), R = Ne(I / 1e3), z = new ki([D], {
|
|
27471
27471
|
width: C,
|
|
27472
27472
|
height: R,
|
|
27473
27473
|
viewBox: "0 0 " + f + " " + I
|
|
@@ -28188,18 +28188,18 @@ function Ts(t, e, n) {
|
|
|
28188
28188
|
resetFont: !0,
|
|
28189
28189
|
body: [T]
|
|
28190
28190
|
}), p.push(T);
|
|
28191
|
-
var
|
|
28192
|
-
if (
|
|
28191
|
+
var N = t.fetch().text;
|
|
28192
|
+
if (N === "&") {
|
|
28193
28193
|
if (d && p.length === d) {
|
|
28194
28194
|
if (c || a)
|
|
28195
28195
|
throw new ke("Too many tab characters: &", t.nextToken);
|
|
28196
28196
|
t.settings.reportNonstrict("textEnv", "Too few columns specified in the {array} column argument.");
|
|
28197
28197
|
}
|
|
28198
28198
|
t.consume();
|
|
28199
|
-
} else if (
|
|
28199
|
+
} else if (N === "\\end") {
|
|
28200
28200
|
w(), p.length === 1 && T.type === "styling" && T.body.length === 1 && T.body[0].type === "ordgroup" && T.body[0].body.length === 0 && (m.length > 1 || !u) && m.pop(), b.length < m.length + 1 && b.push([]);
|
|
28201
28201
|
break;
|
|
28202
|
-
} else if (
|
|
28202
|
+
} else if (N === "\\\\") {
|
|
28203
28203
|
t.consume();
|
|
28204
28204
|
var H = void 0;
|
|
28205
28205
|
t.gullet.future().text !== " " && (H = t.parseSizeGroup(!0)), g.push(H ? H.value : null), w(), b.push(L_(t)), p = [], m.push(p), k();
|
|
@@ -28246,7 +28246,7 @@ var Jo = function(e, n) {
|
|
|
28246
28246
|
});
|
|
28247
28247
|
}
|
|
28248
28248
|
for (w(s[0]), r = 0; r < e.body.length; ++r) {
|
|
28249
|
-
var E = e.body[r], T = b,
|
|
28249
|
+
var E = e.body[r], T = b, N = _;
|
|
28250
28250
|
a < E.length && (a = E.length);
|
|
28251
28251
|
var H = {
|
|
28252
28252
|
cells: new Array(E.length),
|
|
@@ -28256,12 +28256,12 @@ var Jo = function(e, n) {
|
|
|
28256
28256
|
};
|
|
28257
28257
|
for (o = 0; o < E.length; ++o) {
|
|
28258
28258
|
var L = Pt(E[o], n);
|
|
28259
|
-
|
|
28259
|
+
N < L.depth && (N = L.depth), T < L.height && (T = L.height), H.cells[o] = L;
|
|
28260
28260
|
}
|
|
28261
28261
|
var J = e.rowGaps[r], Z = 0;
|
|
28262
|
-
J && (Z = gn(J, n), Z > 0 && (Z += _,
|
|
28262
|
+
J && (Z = gn(J, n), Z > 0 && (Z += _, N < Z && (N = Z), Z = 0)), e.addJot && r < e.body.length - 1 && (N += m), H.height = T, H.depth = N, k += T, H.pos = k, k += N + Z, l[r] = H, w(s[r + 1]);
|
|
28263
28263
|
}
|
|
28264
|
-
var A = k / 2 + n.fontMetrics().axisHeight,
|
|
28264
|
+
var A = k / 2 + n.fontMetrics().axisHeight, P = e.cols || [], I = [], S, D, C = [];
|
|
28265
28265
|
if (e.tags && e.tags.some((fe) => fe))
|
|
28266
28266
|
for (r = 0; r < i; ++r) {
|
|
28267
28267
|
var R = l[r], z = R.pos - A, q = e.tags[r], se = void 0;
|
|
@@ -28275,10 +28275,10 @@ var Jo = function(e, n) {
|
|
|
28275
28275
|
o = 0, D = 0;
|
|
28276
28276
|
// Continue while either there are more columns or more column
|
|
28277
28277
|
// descriptions, so trailing separators don't get lost.
|
|
28278
|
-
o < a || D <
|
|
28278
|
+
o < a || D < P.length;
|
|
28279
28279
|
++o, ++D
|
|
28280
28280
|
) {
|
|
28281
|
-
for (var be, Se =
|
|
28281
|
+
for (var be, Se = P[D], Le = !0; ((De = Se) == null ? void 0 : De.type) === "separator"; ) {
|
|
28282
28282
|
var De;
|
|
28283
28283
|
if (Le || (S = we(["arraycolsep"], []), S.style.width = Ne(n.fontMetrics().doubleRuleSep), I.push(S)), Se.separator === "|" || Se.separator === ":") {
|
|
28284
28284
|
var Be = Se.separator === "|" ? "solid" : "dashed", tt = we(["vertical-separator"], [], n);
|
|
@@ -28287,7 +28287,7 @@ var Jo = function(e, n) {
|
|
|
28287
28287
|
Qe && (tt.style.verticalAlign = Ne(-Qe)), I.push(tt);
|
|
28288
28288
|
} else
|
|
28289
28289
|
throw new ke("Invalid separator type: " + Se.separator);
|
|
28290
|
-
D++, Se =
|
|
28290
|
+
D++, Se = P[D], Le = !1;
|
|
28291
28291
|
}
|
|
28292
28292
|
if (!(o >= a)) {
|
|
28293
28293
|
var lt = void 0;
|
|
@@ -28370,8 +28370,8 @@ var Jo = function(e, n) {
|
|
|
28370
28370
|
u.setAttribute("columnalign", h.trim()), /[sd]/.test(m) && u.setAttribute("columnlines", m.trim());
|
|
28371
28371
|
}
|
|
28372
28372
|
if (e.colSeparationType === "align") {
|
|
28373
|
-
for (var E = e.cols || [], T = "",
|
|
28374
|
-
T +=
|
|
28373
|
+
for (var E = e.cols || [], T = "", N = 1; N < E.length; N++)
|
|
28374
|
+
T += N % 2 ? "0em " : "1em ";
|
|
28375
28375
|
u.setAttribute("columnspacing", T.trim());
|
|
28376
28376
|
} 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");
|
|
28377
28377
|
var H = "", L = e.hLinesBeforeRow;
|
|
@@ -30449,9 +30449,9 @@ va({
|
|
|
30449
30449
|
var E;
|
|
30450
30450
|
if (a && l) {
|
|
30451
30451
|
u = Math.max(u, m, a.depth + 0.25 * c.xHeight), d = Math.max(d, c.sub2);
|
|
30452
|
-
var T = c.defaultRuleThickness,
|
|
30453
|
-
if (u - a.depth - (l.height - d) <
|
|
30454
|
-
d =
|
|
30452
|
+
var T = c.defaultRuleThickness, N = 4 * T;
|
|
30453
|
+
if (u - a.depth - (l.height - d) < N) {
|
|
30454
|
+
d = N - (u - a.depth) + l.height;
|
|
30455
30455
|
var H = 0.8 * c.xHeight - (u - a.depth);
|
|
30456
30456
|
H > 0 && (u += H, d -= H);
|
|
30457
30457
|
}
|
|
@@ -32995,16 +32995,16 @@ const z$ = (t) => {
|
|
|
32995
32995
|
if (!i.docChanged && !i.selectionSet && s.decorations) return s;
|
|
32996
32996
|
const c = (s.decorations || Nt.empty).map(i.mapping, i.doc), { selection: u } = l, d = r.isEditable, f = [], { minFrom: h, maxTo: p } = function(g, b, _, k, w) {
|
|
32997
32997
|
const E = g.doc.nodeSize - 2;
|
|
32998
|
-
let T = 0,
|
|
32999
|
-
if (b.isEditable !== _) T = 0,
|
|
33000
|
-
else if (k.docChanged) T = E,
|
|
33001
|
-
T = Math.min(T, H.newRange.from - 1, H.oldRange.from - 1),
|
|
32998
|
+
let T = 0, N = E;
|
|
32999
|
+
if (b.isEditable !== _) T = 0, N = E;
|
|
33000
|
+
else if (k.docChanged) T = E, N = 0, eb(k).forEach((H) => {
|
|
33001
|
+
T = Math.min(T, H.newRange.from - 1, H.oldRange.from - 1), N = Math.max(N, H.newRange.to + 1, H.oldRange.to + 1);
|
|
33002
33002
|
});
|
|
33003
33003
|
else if (k.selectionSet) {
|
|
33004
33004
|
const { $from: H, $to: L } = w.selection, { $from: J, $to: Z } = g.selection;
|
|
33005
|
-
T = Math.min(H.depth === 0 ? 0 : H.before(), J.depth === 0 ? 0 : J.before()),
|
|
33005
|
+
T = Math.min(H.depth === 0 ? 0 : H.before(), J.depth === 0 ? 0 : J.before()), N = Math.max(L.depth === 0 ? N : L.after(), Z.depth === 0 ? N : Z.after());
|
|
33006
33006
|
}
|
|
33007
|
-
return { minFrom: Math.max(T, 0), maxTo: Math.min(
|
|
33007
|
+
return { minFrom: Math.max(T, 0), maxTo: Math.min(N, E) };
|
|
33008
33008
|
}(l, s, d, i, a);
|
|
33009
33009
|
l.doc.nodesBetween(h, p, (g, b) => {
|
|
33010
33010
|
const _ = o(l, b, g);
|
|
@@ -33013,7 +33013,7 @@ const z$ = (t) => {
|
|
|
33013
33013
|
for (; k = e.exec(g.text); ) {
|
|
33014
33014
|
const w = b + k.index, E = w + k[0].length, T = k.slice(1).find(Boolean);
|
|
33015
33015
|
if (T) {
|
|
33016
|
-
const
|
|
33016
|
+
const N = u.from - u.to, H = u.anchor >= w && u.anchor <= E, L = u.from >= w && u.to <= E, J = N === 0 && H || L;
|
|
33017
33017
|
if (c.find(w, E, (Z) => J === Z.isEditing && T === Z.content && d === Z.isEditable && n === Z.katexOptions).length) continue;
|
|
33018
33018
|
f.push(fn.inline(w, E, { class: J && d ? "Tiptap-mathematics-editor" : "Tiptap-mathematics-editor Tiptap-mathematics-editor--hidden", style: J && d ? void 0 : "display: inline-block; height: 0; opacity: 0; overflow: hidden; position: absolute; width: 0;" }, { content: T, isEditable: d, isEditing: J, katexOptions: n })), d && J || f.push(fn.widget(w, () => {
|
|
33019
33019
|
const Z = document.createElement("span");
|
|
@@ -34215,7 +34215,7 @@ function fP({
|
|
|
34215
34215
|
kt(_, t.numeric, k);
|
|
34216
34216
|
const w = Zr(hd), E = Zr();
|
|
34217
34217
|
kt(w, e, w), kt(w, n, E), kt(E, e, w), kt(E, n, E), xe(b, Po, w), xe(k, Po, w);
|
|
34218
|
-
const T = xe(a, Vs),
|
|
34218
|
+
const T = xe(a, Vs), N = xe(l, Vs), H = xe(N, Po), L = xe(H, Po);
|
|
34219
34219
|
kt(a, t.domain, s), xe(a, $o, g), xe(a, Qr, m), kt(l, t.domain, s), xe(l, $o, g), xe(l, Qr, m), kt(T, t.domain, w), xe(T, Po, w), xe(T, wc, w), kt(L, t.domain, w), kt(L, e, w), xe(L, Po, w);
|
|
34220
34220
|
const J = [
|
|
34221
34221
|
[vc, yc],
|
|
@@ -34236,12 +34236,12 @@ function fP({
|
|
|
34236
34236
|
// <>
|
|
34237
34237
|
];
|
|
34238
34238
|
for (let Z = 0; Z < J.length; Z++) {
|
|
34239
|
-
const [A,
|
|
34239
|
+
const [A, P] = J[Z], I = xe(w, A);
|
|
34240
34240
|
xe(E, A, I);
|
|
34241
34241
|
const S = Zr(hd);
|
|
34242
34242
|
kt(I, e, S);
|
|
34243
34243
|
const D = Zr();
|
|
34244
|
-
kt(I, n, D), xe(I,
|
|
34244
|
+
kt(I, n, D), xe(I, P, w), kt(S, e, S), kt(S, n, D), kt(D, e, S), kt(D, n, D), xe(S, P, w), xe(D, P, w);
|
|
34245
34245
|
}
|
|
34246
34246
|
return xe(o, Qc, b), xe(o, Fb, dP), {
|
|
34247
34247
|
start: o,
|
|
@@ -36509,11 +36509,11 @@ function CF({ pluginKey: t = SF, editor: e, char: n = "@", allowSpaces: r = !1,
|
|
|
36509
36509
|
view() {
|
|
36510
36510
|
return {
|
|
36511
36511
|
update: async (k, w) => {
|
|
36512
|
-
var E, T,
|
|
36513
|
-
const A = (E = this.key) === null || E === void 0 ? void 0 : E.getState(w),
|
|
36512
|
+
var E, T, N, H, L, J, Z;
|
|
36513
|
+
const A = (E = this.key) === null || E === void 0 ? void 0 : E.getState(w), P = (T = this.key) === null || T === void 0 ? void 0 : T.getState(k.state), I = A.active && P.active && A.range.from !== P.range.from, S = !A.active && P.active, D = A.active && !P.active, C = !S && !D && A.query !== P.query, R = S || I && C, z = C || I, q = D || I && C;
|
|
36514
36514
|
if (!R && !z && !q)
|
|
36515
36515
|
return;
|
|
36516
|
-
const se = q && !R ? A :
|
|
36516
|
+
const se = q && !R ? A : P, be = k.dom.querySelector(`[data-decoration-id="${se.decorationId}"]`);
|
|
36517
36517
|
g = {
|
|
36518
36518
|
editor: e,
|
|
36519
36519
|
range: se.range,
|
|
@@ -36533,7 +36533,7 @@ function CF({ pluginKey: t = SF, editor: e, char: n = "@", allowSpaces: r = !1,
|
|
|
36533
36533
|
const { decorationId: Le } = (Se = this.key) === null || Se === void 0 ? void 0 : Se.getState(e.state), De = k.dom.querySelector(`[data-decoration-id="${Le}"]`);
|
|
36534
36534
|
return (De == null ? void 0 : De.getBoundingClientRect()) || null;
|
|
36535
36535
|
} : null
|
|
36536
|
-
}, R && ((
|
|
36536
|
+
}, R && ((N = b == null ? void 0 : b.onBeforeStart) === null || N === void 0 || N.call(b, g)), z && ((H = b == null ? void 0 : b.onBeforeUpdate) === null || H === void 0 || H.call(b, g)), (z || R) && (g.items = await f({
|
|
36537
36537
|
editor: e,
|
|
36538
36538
|
query: se.query
|
|
36539
36539
|
})), q && ((L = b == null ? void 0 : b.onExit) === null || L === void 0 || L.call(b, g)), z && ((J = b == null ? void 0 : b.onUpdate) === null || J === void 0 || J.call(b, g)), R && ((Z = b == null ? void 0 : b.onStart) === null || Z === void 0 || Z.call(b, g));
|
|
@@ -36560,10 +36560,10 @@ function CF({ pluginKey: t = SF, editor: e, char: n = "@", allowSpaces: r = !1,
|
|
|
36560
36560
|
},
|
|
36561
36561
|
// Apply changes to the plugin state from a view transaction.
|
|
36562
36562
|
apply(k, w, E, T) {
|
|
36563
|
-
const { isEditable:
|
|
36564
|
-
if (A.composing = H,
|
|
36563
|
+
const { isEditable: N } = e, { composing: H } = e.view, { selection: L } = k, { empty: J, from: Z } = L, A = { ...w };
|
|
36564
|
+
if (A.composing = H, N && (J || e.view.composing)) {
|
|
36565
36565
|
(Z < w.range.from || Z > w.range.to) && !H && !w.composing && (A.active = !1);
|
|
36566
|
-
const
|
|
36566
|
+
const P = m({
|
|
36567
36567
|
char: n,
|
|
36568
36568
|
allowSpaces: r,
|
|
36569
36569
|
allowToIncludeChar: o,
|
|
@@ -36571,12 +36571,12 @@ function CF({ pluginKey: t = SF, editor: e, char: n = "@", allowSpaces: r = !1,
|
|
|
36571
36571
|
startOfLine: s,
|
|
36572
36572
|
$position: L.$from
|
|
36573
36573
|
}), I = `id_${Math.floor(Math.random() * 4294967295)}`;
|
|
36574
|
-
|
|
36574
|
+
P && p({
|
|
36575
36575
|
editor: e,
|
|
36576
36576
|
state: T,
|
|
36577
|
-
range:
|
|
36577
|
+
range: P.range,
|
|
36578
36578
|
isActive: w.active
|
|
36579
|
-
}) ? (A.active = !0, A.decorationId = w.decorationId ? w.decorationId : I, A.range =
|
|
36579
|
+
}) ? (A.active = !0, A.decorationId = w.decorationId ? w.decorationId : I, A.range = P.range, A.query = P.query, A.text = P.text) : A.active = !1;
|
|
36580
36580
|
} else
|
|
36581
36581
|
A.active = !1;
|
|
36582
36582
|
return A.active || (A.decorationId = null, A.range = { from: 0, to: 0 }, A.query = null, A.text = null), A;
|
|
@@ -36586,15 +36586,15 @@ function CF({ pluginKey: t = SF, editor: e, char: n = "@", allowSpaces: r = !1,
|
|
|
36586
36586
|
// Call the keydown hook if suggestion is active.
|
|
36587
36587
|
handleKeyDown(k, w) {
|
|
36588
36588
|
var E;
|
|
36589
|
-
const { active: T, range:
|
|
36590
|
-
return T && ((E = b == null ? void 0 : b.onKeyDown) === null || E === void 0 ? void 0 : E.call(b, { view: k, event: w, range:
|
|
36589
|
+
const { active: T, range: N } = _.getState(k.state);
|
|
36590
|
+
return T && ((E = b == null ? void 0 : b.onKeyDown) === null || E === void 0 ? void 0 : E.call(b, { view: k, event: w, range: N })) || !1;
|
|
36591
36591
|
},
|
|
36592
36592
|
// Setup decorator on the currently active suggestion.
|
|
36593
36593
|
decorations(k) {
|
|
36594
|
-
const { active: w, range: E, decorationId: T, query:
|
|
36594
|
+
const { active: w, range: E, decorationId: T, query: N } = _.getState(k);
|
|
36595
36595
|
if (!w)
|
|
36596
36596
|
return null;
|
|
36597
|
-
const H = !(
|
|
36597
|
+
const H = !(N != null && N.length), L = [l];
|
|
36598
36598
|
return H && L.push(u), Nt.create(k.doc, [
|
|
36599
36599
|
fn.inline(E.from, E.to, {
|
|
36600
36600
|
nodeName: a,
|
|
@@ -36806,8 +36806,8 @@ const TF = gt.create({
|
|
|
36806
36806
|
k.replaceWith(w, w, _);
|
|
36807
36807
|
const E = k.doc.resolve(w), T = et.near(E, 1);
|
|
36808
36808
|
k.setSelection(T);
|
|
36809
|
-
const
|
|
36810
|
-
return k.delete(
|
|
36809
|
+
const N = p, H = p + h.nodeSize;
|
|
36810
|
+
return k.delete(N, H), k.scrollIntoView(), n.dispatch(k), !0;
|
|
36811
36811
|
} };
|
|
36812
36812
|
} }), Hk = AF.extend({
|
|
36813
36813
|
addProseMirrorPlugins() {
|
|
@@ -37041,8 +37041,8 @@ function Gk({ textNodes: t, regexPatterns: e, tr: n, state: r, isGlobal: o, font
|
|
|
37041
37041
|
o ? (a.includes(d) && (E.fontFamily = w.font), l.includes(d) && (E.fontSize = `${w.size}px`)) : E = { fontFamily: w.font, fontSize: `${w.size}px` };
|
|
37042
37042
|
const T = _.marks.find((Z) => Z.type.name === "textStyle");
|
|
37043
37043
|
T && (E = { ...Object.fromEntries(Object.entries(T.attrs).filter(([, A]) => A != null)), ...E });
|
|
37044
|
-
const
|
|
37045
|
-
n.addMark(H, L,
|
|
37044
|
+
const N = r.schema.marks.textStyle.create(E), H = Math.max(g, k), L = Math.min(b, k + _.nodeSize);
|
|
37045
|
+
n.addMark(H, L, N);
|
|
37046
37046
|
});
|
|
37047
37047
|
}
|
|
37048
37048
|
}
|
|
@@ -37425,12 +37425,12 @@ const UF = gt.create({
|
|
|
37425
37425
|
props: an,
|
|
37426
37426
|
setup(t) {
|
|
37427
37427
|
const e = Ze(() => {
|
|
37428
|
-
const { src: L, alt: J, width: Z, height: A } = t.node.attrs,
|
|
37428
|
+
const { src: L, alt: J, width: Z, height: A } = t.node.attrs, P = mw(Z) ? `${Z}px` : Z, I = mw(A) ? `${A}px` : A;
|
|
37429
37429
|
return {
|
|
37430
37430
|
src: L || void 0,
|
|
37431
37431
|
alt: J || void 0,
|
|
37432
37432
|
style: {
|
|
37433
|
-
width:
|
|
37433
|
+
width: P || void 0,
|
|
37434
37434
|
height: I || void 0,
|
|
37435
37435
|
fontSize: Z > 60 ? "16px" : "10px"
|
|
37436
37436
|
}
|
|
@@ -37474,18 +37474,18 @@ const UF = gt.create({
|
|
|
37474
37474
|
if (o.value === "Y")
|
|
37475
37475
|
return;
|
|
37476
37476
|
L.preventDefault(), L.stopPropagation(), k.value.x = L.clientX, k.value.y = L.clientY;
|
|
37477
|
-
const Z = f.value.width, A = f.value.height,
|
|
37477
|
+
const Z = f.value.width, A = f.value.height, P = Z / A;
|
|
37478
37478
|
let I = Number(t.node.attrs.width), S = Number(t.node.attrs.height);
|
|
37479
37479
|
const D = m.value.width;
|
|
37480
|
-
I && !S ? (I = I > D ? D : I, S = Math.round(I /
|
|
37480
|
+
I && !S ? (I = I > D ? D : I, S = Math.round(I / P)) : S && !I ? (I = Math.round(S * P), I = I > D ? D : I) : !I && !S ? (I = Z > D ? D : Z, S = Math.round(I / P)) : I = I > D ? D : I, k.value.w = I, k.value.h = S, k.value.dir = J, _.value = {
|
|
37481
37481
|
width: I,
|
|
37482
37482
|
height: I * (A / Z)
|
|
37483
|
-
}, b.value = !0,
|
|
37483
|
+
}, b.value = !0, N();
|
|
37484
37484
|
}
|
|
37485
37485
|
const E = Mh((L) => {
|
|
37486
37486
|
if (L.preventDefault(), L.stopPropagation(), !b.value)
|
|
37487
37487
|
return;
|
|
37488
|
-
const { x: J, y: Z, w: A, h:
|
|
37488
|
+
const { x: J, y: Z, w: A, h: P, dir: I } = k.value, S = (L.clientX - J) * (/l/.test(I) ? -1 : 1), D = (L.clientY - Z) * (/t/.test(I) ? -1 : 1), C = IF(A + S, 20, m.value.width), R = i.value ? null : Math.max(P + D, 20);
|
|
37489
37489
|
_.value = {
|
|
37490
37490
|
width: C,
|
|
37491
37491
|
height: C * (f.value.height / f.value.width)
|
|
@@ -37500,7 +37500,7 @@ const UF = gt.create({
|
|
|
37500
37500
|
dir: ""
|
|
37501
37501
|
}, H(), h());
|
|
37502
37502
|
}
|
|
37503
|
-
function
|
|
37503
|
+
function N() {
|
|
37504
37504
|
document == null || document.addEventListener("mousemove", E, !0), document == null || document.addEventListener("mouseup", T, !0);
|
|
37505
37505
|
}
|
|
37506
37506
|
function H() {
|
|
@@ -39518,7 +39518,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = C, q = R), z ===
|
|
|
39518
39518
|
}
|
|
39519
39519
|
z.name || (z.name = C), e[C] = z, z.rawDefinition = R.bind(null, t), z.aliases && J(z.aliases, { languageName: C });
|
|
39520
39520
|
}
|
|
39521
|
-
function
|
|
39521
|
+
function N(C) {
|
|
39522
39522
|
delete e[C];
|
|
39523
39523
|
for (const R of Object.keys(n))
|
|
39524
39524
|
n[R] === C && delete n[R];
|
|
@@ -39549,7 +39549,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = C, q = R), z ===
|
|
|
39549
39549
|
);
|
|
39550
39550
|
});
|
|
39551
39551
|
}
|
|
39552
|
-
function
|
|
39552
|
+
function P(C) {
|
|
39553
39553
|
A(C), r.push(C);
|
|
39554
39554
|
}
|
|
39555
39555
|
function I(C) {
|
|
@@ -39576,13 +39576,13 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = C, q = R), z ===
|
|
|
39576
39576
|
initHighlighting: b,
|
|
39577
39577
|
initHighlightingOnLoad: _,
|
|
39578
39578
|
registerLanguage: T,
|
|
39579
|
-
unregisterLanguage:
|
|
39579
|
+
unregisterLanguage: N,
|
|
39580
39580
|
listLanguages: H,
|
|
39581
39581
|
getLanguage: L,
|
|
39582
39582
|
registerAliases: J,
|
|
39583
39583
|
autoDetection: Z,
|
|
39584
39584
|
inherit: xw,
|
|
39585
|
-
addPlugin:
|
|
39585
|
+
addPlugin: P,
|
|
39586
39586
|
removePlugin: I
|
|
39587
39587
|
}), t.debugMode = function() {
|
|
39588
39588
|
o = !1;
|
|
@@ -40062,7 +40062,7 @@ function yH(t) {
|
|
|
40062
40062
|
t.C_BLOCK_COMMENT_MODE,
|
|
40063
40063
|
u,
|
|
40064
40064
|
c
|
|
40065
|
-
],
|
|
40065
|
+
], N = {
|
|
40066
40066
|
// This mode covers expression context where we can't expect a function
|
|
40067
40067
|
// definition and shouldn't highlight anything that looks like one:
|
|
40068
40068
|
// `return some()`, `else if()`, `(x*sum(1, 2))`
|
|
@@ -40183,7 +40183,7 @@ function yH(t) {
|
|
|
40183
40183
|
illegal: "</",
|
|
40184
40184
|
classNameAliases: { "function.dispatch": "built_in" },
|
|
40185
40185
|
contains: [].concat(
|
|
40186
|
-
|
|
40186
|
+
N,
|
|
40187
40187
|
H,
|
|
40188
40188
|
E,
|
|
40189
40189
|
T,
|
|
@@ -41609,7 +41609,7 @@ function kH(t) {
|
|
|
41609
41609
|
t.C_BLOCK_COMMENT_MODE,
|
|
41610
41610
|
u,
|
|
41611
41611
|
c
|
|
41612
|
-
],
|
|
41612
|
+
], N = {
|
|
41613
41613
|
// This mode covers expression context where we can't expect a function
|
|
41614
41614
|
// definition and shouldn't highlight anything that looks like one:
|
|
41615
41615
|
// `return some()`, `else if()`, `(x*sum(1, 2))`
|
|
@@ -41730,7 +41730,7 @@ function kH(t) {
|
|
|
41730
41730
|
illegal: "</",
|
|
41731
41731
|
classNameAliases: { "function.dispatch": "built_in" },
|
|
41732
41732
|
contains: [].concat(
|
|
41733
|
-
|
|
41733
|
+
N,
|
|
41734
41734
|
H,
|
|
41735
41735
|
E,
|
|
41736
41736
|
T,
|
|
@@ -44018,7 +44018,7 @@ function VH(t) {
|
|
|
44018
44018
|
excludeEnd: !0,
|
|
44019
44019
|
keywords: a,
|
|
44020
44020
|
contains: E
|
|
44021
|
-
},
|
|
44021
|
+
}, N = {
|
|
44022
44022
|
variants: [
|
|
44023
44023
|
// class Car extends vehicle
|
|
44024
44024
|
{
|
|
@@ -44113,7 +44113,7 @@ function VH(t) {
|
|
|
44113
44113
|
function A(R) {
|
|
44114
44114
|
return e.concat("(?!", R.join("|"), ")");
|
|
44115
44115
|
}
|
|
44116
|
-
const
|
|
44116
|
+
const P = {
|
|
44117
44117
|
match: e.concat(
|
|
44118
44118
|
/\b/,
|
|
44119
44119
|
A([
|
|
@@ -44316,9 +44316,9 @@ function VH(t) {
|
|
|
44316
44316
|
className: { 1: "title.function" },
|
|
44317
44317
|
contains: [T]
|
|
44318
44318
|
},
|
|
44319
|
-
|
|
44319
|
+
P,
|
|
44320
44320
|
Z,
|
|
44321
|
-
|
|
44321
|
+
N,
|
|
44322
44322
|
S,
|
|
44323
44323
|
{
|
|
44324
44324
|
match: /\$[(.]/
|
|
@@ -46916,14 +46916,14 @@ function sU(t) {
|
|
|
46916
46916
|
4: "title.class"
|
|
46917
46917
|
}
|
|
46918
46918
|
}
|
|
46919
|
-
] },
|
|
46919
|
+
] }, N = e.concat(r, "\\b(?!\\()"), H = { variants: [
|
|
46920
46920
|
{
|
|
46921
46921
|
match: [
|
|
46922
46922
|
e.concat(
|
|
46923
46923
|
/::/,
|
|
46924
46924
|
e.lookahead(/(?!class\b)/)
|
|
46925
46925
|
),
|
|
46926
|
-
|
|
46926
|
+
N
|
|
46927
46927
|
],
|
|
46928
46928
|
scope: { 2: "variable.constant" }
|
|
46929
46929
|
},
|
|
@@ -46941,7 +46941,7 @@ function sU(t) {
|
|
|
46941
46941
|
/::/,
|
|
46942
46942
|
e.lookahead(/(?!class\b)/)
|
|
46943
46943
|
),
|
|
46944
|
-
|
|
46944
|
+
N
|
|
46945
46945
|
],
|
|
46946
46946
|
scope: {
|
|
46947
46947
|
1: "title.class",
|
|
@@ -47007,7 +47007,7 @@ function sU(t) {
|
|
|
47007
47007
|
p,
|
|
47008
47008
|
m,
|
|
47009
47009
|
T
|
|
47010
|
-
],
|
|
47010
|
+
], P = {
|
|
47011
47011
|
begin: e.concat(
|
|
47012
47012
|
/#\[\s*\\?/,
|
|
47013
47013
|
e.either(
|
|
@@ -47055,7 +47055,7 @@ function sU(t) {
|
|
|
47055
47055
|
case_insensitive: !1,
|
|
47056
47056
|
keywords: w,
|
|
47057
47057
|
contains: [
|
|
47058
|
-
|
|
47058
|
+
P,
|
|
47059
47059
|
t.HASH_COMMENT_MODE,
|
|
47060
47060
|
t.COMMENT("//", "$"),
|
|
47061
47061
|
t.COMMENT(
|
|
@@ -47127,7 +47127,7 @@ function sU(t) {
|
|
|
47127
47127
|
keywords: w,
|
|
47128
47128
|
contains: [
|
|
47129
47129
|
"self",
|
|
47130
|
-
|
|
47130
|
+
P,
|
|
47131
47131
|
s,
|
|
47132
47132
|
H,
|
|
47133
47133
|
t.C_BLOCK_COMMENT_MODE,
|
|
@@ -50055,9 +50055,9 @@ function EU(t) {
|
|
|
50055
50055
|
};
|
|
50056
50056
|
function w(E, {
|
|
50057
50057
|
exceptions: T,
|
|
50058
|
-
when:
|
|
50058
|
+
when: N
|
|
50059
50059
|
} = {}) {
|
|
50060
|
-
const H =
|
|
50060
|
+
const H = N;
|
|
50061
50061
|
return T = T || [], E.map((L) => L.match(/\|\d+$/) || T.includes(L) ? L : H(L) ? `${L}|0` : L);
|
|
50062
50062
|
}
|
|
50063
50063
|
return {
|
|
@@ -50516,7 +50516,7 @@ function RU(t) {
|
|
|
50516
50516
|
label: "interpol",
|
|
50517
50517
|
begin: Gt(/\\/, je, /\(/),
|
|
50518
50518
|
end: /\)/
|
|
50519
|
-
}),
|
|
50519
|
+
}), N = (je = "") => ({
|
|
50520
50520
|
begin: Gt(je, /"""/),
|
|
50521
50521
|
end: Gt(/"""/, je),
|
|
50522
50522
|
contains: [
|
|
@@ -50534,10 +50534,10 @@ function RU(t) {
|
|
|
50534
50534
|
}), L = {
|
|
50535
50535
|
className: "string",
|
|
50536
50536
|
variants: [
|
|
50537
|
-
|
|
50538
|
-
|
|
50539
|
-
|
|
50540
|
-
|
|
50537
|
+
N(),
|
|
50538
|
+
N("#"),
|
|
50539
|
+
N("##"),
|
|
50540
|
+
N("###"),
|
|
50541
50541
|
H(),
|
|
50542
50542
|
H("#"),
|
|
50543
50543
|
H("##"),
|
|
@@ -50569,7 +50569,7 @@ function RU(t) {
|
|
|
50569
50569
|
}
|
|
50570
50570
|
]
|
|
50571
50571
|
};
|
|
50572
|
-
},
|
|
50572
|
+
}, P = {
|
|
50573
50573
|
scope: "regexp",
|
|
50574
50574
|
variants: [
|
|
50575
50575
|
A("###"),
|
|
@@ -50669,7 +50669,7 @@ function RU(t) {
|
|
|
50669
50669
|
"self",
|
|
50670
50670
|
Le,
|
|
50671
50671
|
...r,
|
|
50672
|
-
|
|
50672
|
+
P,
|
|
50673
50673
|
...u,
|
|
50674
50674
|
...h,
|
|
50675
50675
|
...g,
|
|
@@ -50872,7 +50872,7 @@ function RU(t) {
|
|
|
50872
50872
|
contains: [...r],
|
|
50873
50873
|
relevance: 0
|
|
50874
50874
|
},
|
|
50875
|
-
|
|
50875
|
+
P,
|
|
50876
50876
|
...u,
|
|
50877
50877
|
...h,
|
|
50878
50878
|
...g,
|
|
@@ -51231,7 +51231,7 @@ function IU(t) {
|
|
|
51231
51231
|
excludeEnd: !0,
|
|
51232
51232
|
keywords: a,
|
|
51233
51233
|
contains: E
|
|
51234
|
-
},
|
|
51234
|
+
}, N = {
|
|
51235
51235
|
variants: [
|
|
51236
51236
|
// class Car extends vehicle
|
|
51237
51237
|
{
|
|
@@ -51326,7 +51326,7 @@ function IU(t) {
|
|
|
51326
51326
|
function A(R) {
|
|
51327
51327
|
return e.concat("(?!", R.join("|"), ")");
|
|
51328
51328
|
}
|
|
51329
|
-
const
|
|
51329
|
+
const P = {
|
|
51330
51330
|
match: e.concat(
|
|
51331
51331
|
/\b/,
|
|
51332
51332
|
A([
|
|
@@ -51529,9 +51529,9 @@ function IU(t) {
|
|
|
51529
51529
|
className: { 1: "title.function" },
|
|
51530
51530
|
contains: [T]
|
|
51531
51531
|
},
|
|
51532
|
-
|
|
51532
|
+
P,
|
|
51533
51533
|
Z,
|
|
51534
|
-
|
|
51534
|
+
N,
|
|
51535
51535
|
S,
|
|
51536
51536
|
{
|
|
51537
51537
|
match: /\$[(.]/
|
|
@@ -53278,7 +53278,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), q = D, z = C), R ===
|
|
|
53278
53278
|
for (const C of Object.keys(n))
|
|
53279
53279
|
n[C] === D && delete n[C];
|
|
53280
53280
|
}
|
|
53281
|
-
function
|
|
53281
|
+
function N() {
|
|
53282
53282
|
return Object.keys(e);
|
|
53283
53283
|
}
|
|
53284
53284
|
function H(D) {
|
|
@@ -53307,7 +53307,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), q = D, z = C), R ===
|
|
|
53307
53307
|
function A(D) {
|
|
53308
53308
|
Z(D), r.push(D);
|
|
53309
53309
|
}
|
|
53310
|
-
function
|
|
53310
|
+
function P(D) {
|
|
53311
53311
|
const C = r.indexOf(D);
|
|
53312
53312
|
C !== -1 && r.splice(C, 1);
|
|
53313
53313
|
}
|
|
@@ -53332,13 +53332,13 @@ https://github.com/highlightjs/highlight.js/issues/2277`), q = D, z = C), R ===
|
|
|
53332
53332
|
initHighlightingOnLoad: _,
|
|
53333
53333
|
registerLanguage: E,
|
|
53334
53334
|
unregisterLanguage: T,
|
|
53335
|
-
listLanguages:
|
|
53335
|
+
listLanguages: N,
|
|
53336
53336
|
getLanguage: H,
|
|
53337
53337
|
registerAliases: L,
|
|
53338
53338
|
autoDetection: J,
|
|
53339
53339
|
inherit: Bw,
|
|
53340
53340
|
addPlugin: A,
|
|
53341
|
-
removePlugin:
|
|
53341
|
+
removePlugin: P
|
|
53342
53342
|
}), t.debugMode = function() {
|
|
53343
53343
|
o = !1;
|
|
53344
53344
|
}, t.safeMode = function() {
|
|
@@ -53605,19 +53605,19 @@ function mv(t, e, n) {
|
|
|
53605
53605
|
throw new TypeError(rW);
|
|
53606
53606
|
e = Hw(e) || 0, oh(n) && (u = !!n.leading, d = "maxWait" in n, i = d ? oW(Hw(n.maxWait) || 0, e) : i, f = "trailing" in n ? !!n.trailing : f);
|
|
53607
53607
|
function h(T) {
|
|
53608
|
-
var
|
|
53609
|
-
return r = o = void 0, c = T, s = t.apply(H,
|
|
53608
|
+
var N = r, H = o;
|
|
53609
|
+
return r = o = void 0, c = T, s = t.apply(H, N), s;
|
|
53610
53610
|
}
|
|
53611
53611
|
function p(T) {
|
|
53612
53612
|
return c = T, a = setTimeout(b, e), u ? h(T) : s;
|
|
53613
53613
|
}
|
|
53614
53614
|
function m(T) {
|
|
53615
|
-
var
|
|
53615
|
+
var N = T - l, H = T - c, L = e - N;
|
|
53616
53616
|
return d ? iW(L, i - H) : L;
|
|
53617
53617
|
}
|
|
53618
53618
|
function g(T) {
|
|
53619
|
-
var
|
|
53620
|
-
return l === void 0 ||
|
|
53619
|
+
var N = T - l, H = T - c;
|
|
53620
|
+
return l === void 0 || N >= e || N < 0 || d && H >= i;
|
|
53621
53621
|
}
|
|
53622
53622
|
function b() {
|
|
53623
53623
|
var T = J0();
|
|
@@ -53635,8 +53635,8 @@ function mv(t, e, n) {
|
|
|
53635
53635
|
return a === void 0 ? s : _(J0());
|
|
53636
53636
|
}
|
|
53637
53637
|
function E() {
|
|
53638
|
-
var T = J0(),
|
|
53639
|
-
if (r = arguments, o = this, l = T,
|
|
53638
|
+
var T = J0(), N = g(T);
|
|
53639
|
+
if (r = arguments, o = this, l = T, N) {
|
|
53640
53640
|
if (a === void 0)
|
|
53641
53641
|
return p(l);
|
|
53642
53642
|
if (d)
|
|
@@ -53793,7 +53793,7 @@ const lW = { class: "smart-button-content" }, cW = { class: "smart-button-text"
|
|
|
53793
53793
|
duration: 0
|
|
53794
53794
|
}, {
|
|
53795
53795
|
trigger: ae(() => {
|
|
53796
|
-
var
|
|
53796
|
+
var N, H, L, J;
|
|
53797
53797
|
return [
|
|
53798
53798
|
W("div", {
|
|
53799
53799
|
class: "smart-menu-button-wrap",
|
|
@@ -53805,7 +53805,7 @@ const lW = { class: "smart-button-content" }, cW = { class: "smart-button-text"
|
|
|
53805
53805
|
key: 0,
|
|
53806
53806
|
class: ["smart-menu-button", {
|
|
53807
53807
|
"show-text": !t.hideText,
|
|
53808
|
-
active: t.menuActive && ((
|
|
53808
|
+
active: t.menuActive && ((N = v(s)) == null ? void 0 : N.isEditable) !== !1
|
|
53809
53809
|
}],
|
|
53810
53810
|
quaternary: "",
|
|
53811
53811
|
size: "small",
|
|
@@ -53953,7 +53953,7 @@ const lW = { class: "smart-button-content" }, cW = { class: "smart-button-text"
|
|
|
53953
53953
|
size: "small",
|
|
53954
53954
|
disabled: t.disabled || ((A = v(s)) == null ? void 0 : A.isEditable) === !1
|
|
53955
53955
|
}, v(o), {
|
|
53956
|
-
onClick: _[1] || (_[1] = (
|
|
53956
|
+
onClick: _[1] || (_[1] = (P) => g(!t.popupVisible))
|
|
53957
53957
|
}), {
|
|
53958
53958
|
default: ae(() => [
|
|
53959
53959
|
W("div", gW, [
|
|
@@ -54975,7 +54975,7 @@ const tq = 50, nq = async (t, e, n) => {
|
|
|
54975
54975
|
return {};
|
|
54976
54976
|
const b = ca(o), _ = Zi(a), k = ca(a) === a, w = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), E = f || (k || !m ? [ah(a)] : GW(a)), T = p !== "none";
|
|
54977
54977
|
!f && T && E.push(...JW(a, m, p, w));
|
|
54978
|
-
const
|
|
54978
|
+
const N = [a, ...E], H = await l.detectOverflow(e, g), L = [];
|
|
54979
54979
|
let J = ((r = i.flip) == null ? void 0 : r.overflows) || [];
|
|
54980
54980
|
if (u && L.push(H[b]), d) {
|
|
54981
54981
|
const I = KW(o, s, w);
|
|
@@ -54986,7 +54986,7 @@ const tq = 50, nq = async (t, e, n) => {
|
|
|
54986
54986
|
overflows: L
|
|
54987
54987
|
}], !L.every((I) => I <= 0)) {
|
|
54988
54988
|
var Z, A;
|
|
54989
|
-
const I = (((Z = i.flip) == null ? void 0 : Z.index) || 0) + 1, S =
|
|
54989
|
+
const I = (((Z = i.flip) == null ? void 0 : Z.index) || 0) + 1, S = N[I];
|
|
54990
54990
|
if (S && (!(d === "alignment" ? _ !== Zi(S) : !1) || // We leave the current main axis only if every placement on that axis
|
|
54991
54991
|
// overflows the main axis.
|
|
54992
54992
|
J.every((R) => Zi(R.placement) === _ ? R.overflows[0] > 0 : !0)))
|
|
@@ -55003,8 +55003,8 @@ const tq = 50, nq = async (t, e, n) => {
|
|
|
55003
55003
|
if (!D)
|
|
55004
55004
|
switch (h) {
|
|
55005
55005
|
case "bestFit": {
|
|
55006
|
-
var
|
|
55007
|
-
const C = (
|
|
55006
|
+
var P;
|
|
55007
|
+
const C = (P = J.filter((R) => {
|
|
55008
55008
|
if (T) {
|
|
55009
55009
|
const z = Zi(R.placement);
|
|
55010
55010
|
return z === _ || // Create a bias to the `y` side axis due to horizontal
|
|
@@ -55012,7 +55012,7 @@ const tq = 50, nq = async (t, e, n) => {
|
|
|
55012
55012
|
z === "y";
|
|
55013
55013
|
}
|
|
55014
55014
|
return !0;
|
|
55015
|
-
}).map((R) => [R.placement, R.overflows.filter((z) => z > 0).reduce((z, q) => z + q, 0)]).sort((R, z) => R[1] - z[1])[0]) == null ? void 0 :
|
|
55015
|
+
}).map((R) => [R.placement, R.overflows.filter((z) => z > 0).reduce((z, q) => z + q, 0)]).sort((R, z) => R[1] - z[1])[0]) == null ? void 0 : P[0];
|
|
55016
55016
|
C && (D = C);
|
|
55017
55017
|
break;
|
|
55018
55018
|
}
|
|
@@ -55567,15 +55567,15 @@ function Cq(t, e) {
|
|
|
55567
55567
|
};
|
|
55568
55568
|
let w = !0;
|
|
55569
55569
|
function E(T) {
|
|
55570
|
-
const
|
|
55571
|
-
if (
|
|
55570
|
+
const N = T[0].intersectionRatio;
|
|
55571
|
+
if (N !== l) {
|
|
55572
55572
|
if (!w)
|
|
55573
55573
|
return s();
|
|
55574
|
-
|
|
55574
|
+
N ? s(!1, N) : r = setTimeout(() => {
|
|
55575
55575
|
s(!1, 1e-7);
|
|
55576
55576
|
}, 1e3);
|
|
55577
55577
|
}
|
|
55578
|
-
|
|
55578
|
+
N === 1 && !bS(c, t.getBoundingClientRect()) && s(), w = !1;
|
|
55579
55579
|
}
|
|
55580
55580
|
try {
|
|
55581
55581
|
n = new IntersectionObserver(E, {
|
|
@@ -55711,7 +55711,7 @@ const At = gC("insert-action"), Iq = {
|
|
|
55711
55711
|
},
|
|
55712
55712
|
emits: ["hide-dropdown"],
|
|
55713
55713
|
setup(t, { expose: e, emit: n }) {
|
|
55714
|
-
var E, T,
|
|
55714
|
+
var E, T, N, H, L, J, Z, A, P, I;
|
|
55715
55715
|
const r = t, o = n, { editor: i, options: s } = ve(), a = [
|
|
55716
55716
|
{
|
|
55717
55717
|
title: "图片",
|
|
@@ -56119,7 +56119,7 @@ const At = gC("insert-action"), Iq = {
|
|
|
56119
56119
|
pos: D - 1
|
|
56120
56120
|
});
|
|
56121
56121
|
},
|
|
56122
|
-
hide: !((H = (
|
|
56122
|
+
hide: !((H = (N = s.value.render.superCourse) == null ? void 0 : N.type) != null && H.includes("codeOnline"))
|
|
56123
56123
|
},
|
|
56124
56124
|
{
|
|
56125
56125
|
title: "函数图像",
|
|
@@ -56179,7 +56179,7 @@ const At = gC("insert-action"), Iq = {
|
|
|
56179
56179
|
pos: D - 1
|
|
56180
56180
|
});
|
|
56181
56181
|
},
|
|
56182
|
-
hide: !((I = (
|
|
56182
|
+
hide: !((I = (P = s.value.render.superCourse) == null ? void 0 : P.type) != null && I.includes("charts"))
|
|
56183
56183
|
},
|
|
56184
56184
|
{
|
|
56185
56185
|
title: "仿真实训",
|
|
@@ -56619,8 +56619,8 @@ function Wq(t) {
|
|
|
56619
56619
|
});
|
|
56620
56620
|
const T = _ && _[E];
|
|
56621
56621
|
if (T) {
|
|
56622
|
-
const
|
|
56623
|
-
H == null || H != T && s[
|
|
56622
|
+
const N = (w + E) % e * 2, H = s[N];
|
|
56623
|
+
H == null || H != T && s[N + 1] == 1 ? (s[N] = T, s[N + 1] = 1) : H == T && s[N + 1]++;
|
|
56624
56624
|
}
|
|
56625
56625
|
}
|
|
56626
56626
|
}
|
|
@@ -58484,8 +58484,8 @@ const XK = () => `se-${YK()}`, NS = gt.create({
|
|
|
58484
58484
|
})), b.add(E);
|
|
58485
58485
|
const T = g[w + 1];
|
|
58486
58486
|
if (T && _.content.size === 0 && E) {
|
|
58487
|
-
const
|
|
58488
|
-
(!
|
|
58487
|
+
const N = T.node.attrs[u];
|
|
58488
|
+
(!N || b.has(N)) && (l.setNodeMarkup(T.pos, void 0, {
|
|
58489
58489
|
...T.node.attrs,
|
|
58490
58490
|
[u]: E
|
|
58491
58491
|
}), b.add(E));
|
|
@@ -58836,16 +58836,16 @@ var RS = { exports: {} };
|
|
|
58836
58836
|
}, d.prototype.then = function(E, T) {
|
|
58837
58837
|
if (typeof E != "function" && this.state === c || typeof T != "function" && this.state === l)
|
|
58838
58838
|
return this;
|
|
58839
|
-
var
|
|
58839
|
+
var N = new this.constructor(s);
|
|
58840
58840
|
if (this.state !== u) {
|
|
58841
58841
|
var H = this.state === c ? E : T;
|
|
58842
|
-
h(
|
|
58842
|
+
h(N, H, this.outcome);
|
|
58843
58843
|
} else
|
|
58844
|
-
this.queue.push(new f(
|
|
58845
|
-
return
|
|
58844
|
+
this.queue.push(new f(N, E, T));
|
|
58845
|
+
return N;
|
|
58846
58846
|
};
|
|
58847
|
-
function f(E, T,
|
|
58848
|
-
this.promise = E, typeof T == "function" && (this.onFulfilled = T, this.callFulfilled = this.otherCallFulfilled), typeof
|
|
58847
|
+
function f(E, T, N) {
|
|
58848
|
+
this.promise = E, typeof T == "function" && (this.onFulfilled = T, this.callFulfilled = this.otherCallFulfilled), typeof N == "function" && (this.onRejected = N, this.callRejected = this.otherCallRejected);
|
|
58849
58849
|
}
|
|
58850
58850
|
f.prototype.callFulfilled = function(E) {
|
|
58851
58851
|
a.resolve(this.promise, E);
|
|
@@ -58856,11 +58856,11 @@ var RS = { exports: {} };
|
|
|
58856
58856
|
}, f.prototype.otherCallRejected = function(E) {
|
|
58857
58857
|
h(this.promise, this.onRejected, E);
|
|
58858
58858
|
};
|
|
58859
|
-
function h(E, T,
|
|
58859
|
+
function h(E, T, N) {
|
|
58860
58860
|
i(function() {
|
|
58861
58861
|
var H;
|
|
58862
58862
|
try {
|
|
58863
|
-
H = T(
|
|
58863
|
+
H = T(N);
|
|
58864
58864
|
} catch (L) {
|
|
58865
58865
|
return a.reject(E, L);
|
|
58866
58866
|
}
|
|
@@ -58868,10 +58868,10 @@ var RS = { exports: {} };
|
|
|
58868
58868
|
});
|
|
58869
58869
|
}
|
|
58870
58870
|
a.resolve = function(E, T) {
|
|
58871
|
-
var
|
|
58872
|
-
if (
|
|
58873
|
-
return a.reject(E,
|
|
58874
|
-
var H =
|
|
58871
|
+
var N = g(p, T);
|
|
58872
|
+
if (N.status === "error")
|
|
58873
|
+
return a.reject(E, N.value);
|
|
58874
|
+
var H = N.value;
|
|
58875
58875
|
if (H)
|
|
58876
58876
|
m(E, H);
|
|
58877
58877
|
else {
|
|
@@ -58882,8 +58882,8 @@ var RS = { exports: {} };
|
|
|
58882
58882
|
return E;
|
|
58883
58883
|
}, a.reject = function(E, T) {
|
|
58884
58884
|
E.state = l, E.outcome = T;
|
|
58885
|
-
for (var
|
|
58886
|
-
E.queue[
|
|
58885
|
+
for (var N = -1, H = E.queue.length; ++N < H; )
|
|
58886
|
+
E.queue[N].callRejected(T);
|
|
58887
58887
|
return E;
|
|
58888
58888
|
};
|
|
58889
58889
|
function p(E) {
|
|
@@ -58894,12 +58894,12 @@ var RS = { exports: {} };
|
|
|
58894
58894
|
};
|
|
58895
58895
|
}
|
|
58896
58896
|
function m(E, T) {
|
|
58897
|
-
var
|
|
58897
|
+
var N = !1;
|
|
58898
58898
|
function H(A) {
|
|
58899
|
-
|
|
58899
|
+
N || (N = !0, a.reject(E, A));
|
|
58900
58900
|
}
|
|
58901
58901
|
function L(A) {
|
|
58902
|
-
|
|
58902
|
+
N || (N = !0, a.resolve(E, A));
|
|
58903
58903
|
}
|
|
58904
58904
|
function J() {
|
|
58905
58905
|
T(L, H);
|
|
@@ -58908,13 +58908,13 @@ var RS = { exports: {} };
|
|
|
58908
58908
|
Z.status === "error" && H(Z.value);
|
|
58909
58909
|
}
|
|
58910
58910
|
function g(E, T) {
|
|
58911
|
-
var
|
|
58911
|
+
var N = {};
|
|
58912
58912
|
try {
|
|
58913
|
-
|
|
58913
|
+
N.value = E(T), N.status = "success";
|
|
58914
58914
|
} catch (H) {
|
|
58915
|
-
|
|
58915
|
+
N.status = "error", N.value = H;
|
|
58916
58916
|
}
|
|
58917
|
-
return
|
|
58917
|
+
return N;
|
|
58918
58918
|
}
|
|
58919
58919
|
d.resolve = b;
|
|
58920
58920
|
function b(E) {
|
|
@@ -58930,18 +58930,18 @@ var RS = { exports: {} };
|
|
|
58930
58930
|
var T = this;
|
|
58931
58931
|
if (Object.prototype.toString.call(E) !== "[object Array]")
|
|
58932
58932
|
return this.reject(new TypeError("must be an array"));
|
|
58933
|
-
var
|
|
58934
|
-
if (!
|
|
58933
|
+
var N = E.length, H = !1;
|
|
58934
|
+
if (!N)
|
|
58935
58935
|
return this.resolve([]);
|
|
58936
|
-
for (var L = new Array(
|
|
58937
|
-
|
|
58936
|
+
for (var L = new Array(N), J = 0, Z = -1, A = new this(s); ++Z < N; )
|
|
58937
|
+
P(E[Z], Z);
|
|
58938
58938
|
return A;
|
|
58939
|
-
function
|
|
58939
|
+
function P(I, S) {
|
|
58940
58940
|
T.resolve(I).then(D, function(C) {
|
|
58941
58941
|
H || (H = !0, a.reject(A, C));
|
|
58942
58942
|
});
|
|
58943
58943
|
function D(C) {
|
|
58944
|
-
L[S] = C, ++J ===
|
|
58944
|
+
L[S] = C, ++J === N && !H && (H = !0, a.resolve(A, L));
|
|
58945
58945
|
}
|
|
58946
58946
|
}
|
|
58947
58947
|
}
|
|
@@ -58950,17 +58950,17 @@ var RS = { exports: {} };
|
|
|
58950
58950
|
var T = this;
|
|
58951
58951
|
if (Object.prototype.toString.call(E) !== "[object Array]")
|
|
58952
58952
|
return this.reject(new TypeError("must be an array"));
|
|
58953
|
-
var
|
|
58954
|
-
if (!
|
|
58953
|
+
var N = E.length, H = !1;
|
|
58954
|
+
if (!N)
|
|
58955
58955
|
return this.resolve([]);
|
|
58956
|
-
for (var L = -1, J = new this(s); ++L <
|
|
58956
|
+
for (var L = -1, J = new this(s); ++L < N; )
|
|
58957
58957
|
Z(E[L]);
|
|
58958
58958
|
return J;
|
|
58959
58959
|
function Z(A) {
|
|
58960
|
-
T.resolve(A).then(function(
|
|
58961
|
-
H || (H = !0, a.resolve(J,
|
|
58962
|
-
}, function(
|
|
58963
|
-
H || (H = !0, a.reject(J,
|
|
58960
|
+
T.resolve(A).then(function(P) {
|
|
58961
|
+
H || (H = !0, a.resolve(J, P));
|
|
58962
|
+
}, function(P) {
|
|
58963
|
+
H || (H = !0, a.reject(J, P));
|
|
58964
58964
|
});
|
|
58965
58965
|
}
|
|
58966
58966
|
}
|
|
@@ -58969,13 +58969,13 @@ var RS = { exports: {} };
|
|
|
58969
58969
|
typeof i.Promise != "function" && (i.Promise = n(2));
|
|
58970
58970
|
}).call(this, typeof Va < "u" ? Va : typeof self < "u" ? self : typeof window < "u" ? window : {});
|
|
58971
58971
|
}, { 2: 2 }], 4: [function(n, r, o) {
|
|
58972
|
-
var i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
58973
|
-
return typeof
|
|
58974
|
-
} : function(
|
|
58975
|
-
return
|
|
58972
|
+
var i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(F) {
|
|
58973
|
+
return typeof F;
|
|
58974
|
+
} : function(F) {
|
|
58975
|
+
return F && typeof Symbol == "function" && F.constructor === Symbol && F !== Symbol.prototype ? "symbol" : typeof F;
|
|
58976
58976
|
};
|
|
58977
|
-
function s(
|
|
58978
|
-
if (!(
|
|
58977
|
+
function s(F, Y) {
|
|
58978
|
+
if (!(F instanceof Y))
|
|
58979
58979
|
throw new TypeError("Cannot call a class as a function");
|
|
58980
58980
|
}
|
|
58981
58981
|
function a() {
|
|
@@ -58999,8 +58999,8 @@ var RS = { exports: {} };
|
|
|
58999
58999
|
try {
|
|
59000
59000
|
if (!l || !l.open)
|
|
59001
59001
|
return !1;
|
|
59002
|
-
var
|
|
59003
|
-
return (!
|
|
59002
|
+
var F = typeof openDatabase < "u" && /(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent) && !/BlackBerry/.test(navigator.platform), Y = typeof fetch == "function" && fetch.toString().indexOf("[native code") !== -1;
|
|
59003
|
+
return (!F || Y) && typeof indexedDB < "u" && // some outdated implementations of IDB that appear on Samsung
|
|
59004
59004
|
// and HTC Android devices <4.4 are missing IDBKeyRange
|
|
59005
59005
|
// See: https://github.com/mozilla/localForage/issues/128
|
|
59006
59006
|
// See: https://github.com/mozilla/localForage/issues/272
|
|
@@ -59009,46 +59009,46 @@ var RS = { exports: {} };
|
|
|
59009
59009
|
return !1;
|
|
59010
59010
|
}
|
|
59011
59011
|
}
|
|
59012
|
-
function u(
|
|
59013
|
-
|
|
59012
|
+
function u(F, Y) {
|
|
59013
|
+
F = F || [], Y = Y || {};
|
|
59014
59014
|
try {
|
|
59015
|
-
return new Blob(
|
|
59015
|
+
return new Blob(F, Y);
|
|
59016
59016
|
} catch (te) {
|
|
59017
59017
|
if (te.name !== "TypeError")
|
|
59018
59018
|
throw te;
|
|
59019
|
-
for (var U = typeof BlobBuilder < "u" ? BlobBuilder : typeof MSBlobBuilder < "u" ? MSBlobBuilder : typeof MozBlobBuilder < "u" ? MozBlobBuilder : WebKitBlobBuilder, ne = new U(), ie = 0; ie <
|
|
59020
|
-
ne.append(
|
|
59019
|
+
for (var U = typeof BlobBuilder < "u" ? BlobBuilder : typeof MSBlobBuilder < "u" ? MSBlobBuilder : typeof MozBlobBuilder < "u" ? MozBlobBuilder : WebKitBlobBuilder, ne = new U(), ie = 0; ie < F.length; ie += 1)
|
|
59020
|
+
ne.append(F[ie]);
|
|
59021
59021
|
return ne.getBlob(Y.type);
|
|
59022
59022
|
}
|
|
59023
59023
|
}
|
|
59024
59024
|
typeof Promise > "u" && n(3);
|
|
59025
59025
|
var d = Promise;
|
|
59026
|
-
function f(
|
|
59027
|
-
Y &&
|
|
59026
|
+
function f(F, Y) {
|
|
59027
|
+
Y && F.then(function(U) {
|
|
59028
59028
|
Y(null, U);
|
|
59029
59029
|
}, function(U) {
|
|
59030
59030
|
Y(U);
|
|
59031
59031
|
});
|
|
59032
59032
|
}
|
|
59033
|
-
function h(
|
|
59034
|
-
typeof Y == "function" &&
|
|
59033
|
+
function h(F, Y, U) {
|
|
59034
|
+
typeof Y == "function" && F.then(Y), typeof U == "function" && F.catch(U);
|
|
59035
59035
|
}
|
|
59036
|
-
function p(
|
|
59037
|
-
return typeof
|
|
59036
|
+
function p(F) {
|
|
59037
|
+
return typeof F != "string" && (console.warn(F + " used as a key, but it is not a string."), F = String(F)), F;
|
|
59038
59038
|
}
|
|
59039
59039
|
function m() {
|
|
59040
59040
|
if (arguments.length && typeof arguments[arguments.length - 1] == "function")
|
|
59041
59041
|
return arguments[arguments.length - 1];
|
|
59042
59042
|
}
|
|
59043
59043
|
var g = "local-forage-detect-blob-support", b = void 0, _ = {}, k = Object.prototype.toString, w = "readonly", E = "readwrite";
|
|
59044
|
-
function T(
|
|
59045
|
-
for (var Y =
|
|
59046
|
-
ne[ie] =
|
|
59044
|
+
function T(F) {
|
|
59045
|
+
for (var Y = F.length, U = new ArrayBuffer(Y), ne = new Uint8Array(U), ie = 0; ie < Y; ie++)
|
|
59046
|
+
ne[ie] = F.charCodeAt(ie);
|
|
59047
59047
|
return U;
|
|
59048
59048
|
}
|
|
59049
|
-
function
|
|
59049
|
+
function N(F) {
|
|
59050
59050
|
return new d(function(Y) {
|
|
59051
|
-
var U =
|
|
59051
|
+
var U = F.transaction(g, E), ne = u([""]);
|
|
59052
59052
|
U.objectStore(g).put(ne, "key"), U.onabort = function(ie) {
|
|
59053
59053
|
ie.preventDefault(), ie.stopPropagation(), Y(!1);
|
|
59054
59054
|
}, U.oncomplete = function() {
|
|
@@ -59059,46 +59059,46 @@ var RS = { exports: {} };
|
|
|
59059
59059
|
return !1;
|
|
59060
59060
|
});
|
|
59061
59061
|
}
|
|
59062
|
-
function H(
|
|
59063
|
-
return typeof b == "boolean" ? d.resolve(b) :
|
|
59062
|
+
function H(F) {
|
|
59063
|
+
return typeof b == "boolean" ? d.resolve(b) : N(F).then(function(Y) {
|
|
59064
59064
|
return b = Y, b;
|
|
59065
59065
|
});
|
|
59066
59066
|
}
|
|
59067
|
-
function L(
|
|
59068
|
-
var Y = _[
|
|
59067
|
+
function L(F) {
|
|
59068
|
+
var Y = _[F.name], U = {};
|
|
59069
59069
|
U.promise = new d(function(ne, ie) {
|
|
59070
59070
|
U.resolve = ne, U.reject = ie;
|
|
59071
59071
|
}), Y.deferredOperations.push(U), Y.dbReady ? Y.dbReady = Y.dbReady.then(function() {
|
|
59072
59072
|
return U.promise;
|
|
59073
59073
|
}) : Y.dbReady = U.promise;
|
|
59074
59074
|
}
|
|
59075
|
-
function J(
|
|
59076
|
-
var Y = _[
|
|
59075
|
+
function J(F) {
|
|
59076
|
+
var Y = _[F.name], U = Y.deferredOperations.pop();
|
|
59077
59077
|
if (U)
|
|
59078
59078
|
return U.resolve(), U.promise;
|
|
59079
59079
|
}
|
|
59080
|
-
function Z(
|
|
59081
|
-
var U = _[
|
|
59080
|
+
function Z(F, Y) {
|
|
59081
|
+
var U = _[F.name], ne = U.deferredOperations.pop();
|
|
59082
59082
|
if (ne)
|
|
59083
59083
|
return ne.reject(Y), ne.promise;
|
|
59084
59084
|
}
|
|
59085
|
-
function A(
|
|
59085
|
+
function A(F, Y) {
|
|
59086
59086
|
return new d(function(U, ne) {
|
|
59087
|
-
if (_[
|
|
59087
|
+
if (_[F.name] = _[F.name] || be(), F.db)
|
|
59088
59088
|
if (Y)
|
|
59089
|
-
L(
|
|
59089
|
+
L(F), F.db.close();
|
|
59090
59090
|
else
|
|
59091
|
-
return U(
|
|
59092
|
-
var ie = [
|
|
59093
|
-
Y && ie.push(
|
|
59091
|
+
return U(F.db);
|
|
59092
|
+
var ie = [F.name];
|
|
59093
|
+
Y && ie.push(F.version);
|
|
59094
59094
|
var te = l.open.apply(l, ie);
|
|
59095
59095
|
Y && (te.onupgradeneeded = function(me) {
|
|
59096
59096
|
var _e = te.result;
|
|
59097
59097
|
try {
|
|
59098
|
-
_e.createObjectStore(
|
|
59098
|
+
_e.createObjectStore(F.storeName), me.oldVersion <= 1 && _e.createObjectStore(g);
|
|
59099
59099
|
} catch (Ce) {
|
|
59100
59100
|
if (Ce.name === "ConstraintError")
|
|
59101
|
-
console.warn('The database "' +
|
|
59101
|
+
console.warn('The database "' + F.name + '" has been upgraded from version ' + me.oldVersion + " to version " + me.newVersion + ', but the storage "' + F.storeName + '" already exists.');
|
|
59102
59102
|
else
|
|
59103
59103
|
throw Ce;
|
|
59104
59104
|
}
|
|
@@ -59108,30 +59108,30 @@ var RS = { exports: {} };
|
|
|
59108
59108
|
var me = te.result;
|
|
59109
59109
|
me.onversionchange = function(_e) {
|
|
59110
59110
|
_e.target.close();
|
|
59111
|
-
}, U(me), J(
|
|
59111
|
+
}, U(me), J(F);
|
|
59112
59112
|
};
|
|
59113
59113
|
});
|
|
59114
59114
|
}
|
|
59115
|
-
function F
|
|
59116
|
-
return A(
|
|
59115
|
+
function P(F) {
|
|
59116
|
+
return A(F, !1);
|
|
59117
59117
|
}
|
|
59118
|
-
function I(
|
|
59119
|
-
return A(
|
|
59118
|
+
function I(F) {
|
|
59119
|
+
return A(F, !0);
|
|
59120
59120
|
}
|
|
59121
|
-
function S(
|
|
59122
|
-
if (!
|
|
59121
|
+
function S(F, Y) {
|
|
59122
|
+
if (!F.db)
|
|
59123
59123
|
return !0;
|
|
59124
|
-
var U = !
|
|
59125
|
-
if (ne && (
|
|
59124
|
+
var U = !F.db.objectStoreNames.contains(F.storeName), ne = F.version < F.db.version, ie = F.version > F.db.version;
|
|
59125
|
+
if (ne && (F.version !== Y && console.warn('The database "' + F.name + `" can't be downgraded from version ` + F.db.version + " to version " + F.version + "."), F.version = F.db.version), ie || U) {
|
|
59126
59126
|
if (U) {
|
|
59127
|
-
var te =
|
|
59128
|
-
te >
|
|
59127
|
+
var te = F.db.version + 1;
|
|
59128
|
+
te > F.version && (F.version = te);
|
|
59129
59129
|
}
|
|
59130
59130
|
return !0;
|
|
59131
59131
|
}
|
|
59132
59132
|
return !1;
|
|
59133
59133
|
}
|
|
59134
|
-
function D(
|
|
59134
|
+
function D(F) {
|
|
59135
59135
|
return new d(function(Y, U) {
|
|
59136
59136
|
var ne = new FileReader();
|
|
59137
59137
|
ne.onerror = U, ne.onloadend = function(ie) {
|
|
@@ -59139,55 +59139,55 @@ var RS = { exports: {} };
|
|
|
59139
59139
|
Y({
|
|
59140
59140
|
__local_forage_encoded_blob: !0,
|
|
59141
59141
|
data: te,
|
|
59142
|
-
type:
|
|
59142
|
+
type: F.type
|
|
59143
59143
|
});
|
|
59144
|
-
}, ne.readAsBinaryString(
|
|
59144
|
+
}, ne.readAsBinaryString(F);
|
|
59145
59145
|
});
|
|
59146
59146
|
}
|
|
59147
|
-
function C(
|
|
59148
|
-
var Y = T(atob(
|
|
59149
|
-
return u([Y], { type:
|
|
59147
|
+
function C(F) {
|
|
59148
|
+
var Y = T(atob(F.data));
|
|
59149
|
+
return u([Y], { type: F.type });
|
|
59150
59150
|
}
|
|
59151
|
-
function R(
|
|
59152
|
-
return
|
|
59151
|
+
function R(F) {
|
|
59152
|
+
return F && F.__local_forage_encoded_blob;
|
|
59153
59153
|
}
|
|
59154
|
-
function z(
|
|
59154
|
+
function z(F) {
|
|
59155
59155
|
var Y = this, U = Y._initReady().then(function() {
|
|
59156
59156
|
var ne = _[Y._dbInfo.name];
|
|
59157
59157
|
if (ne && ne.dbReady)
|
|
59158
59158
|
return ne.dbReady;
|
|
59159
59159
|
});
|
|
59160
|
-
return h(U,
|
|
59160
|
+
return h(U, F, F), U;
|
|
59161
59161
|
}
|
|
59162
|
-
function q(
|
|
59163
|
-
L(
|
|
59164
|
-
for (var Y = _[
|
|
59162
|
+
function q(F) {
|
|
59163
|
+
L(F);
|
|
59164
|
+
for (var Y = _[F.name], U = Y.forages, ne = 0; ne < U.length; ne++) {
|
|
59165
59165
|
var ie = U[ne];
|
|
59166
59166
|
ie._dbInfo.db && (ie._dbInfo.db.close(), ie._dbInfo.db = null);
|
|
59167
59167
|
}
|
|
59168
|
-
return
|
|
59169
|
-
return
|
|
59168
|
+
return F.db = null, P(F).then(function(te) {
|
|
59169
|
+
return F.db = te, S(F) ? I(F) : te;
|
|
59170
59170
|
}).then(function(te) {
|
|
59171
|
-
|
|
59171
|
+
F.db = Y.db = te;
|
|
59172
59172
|
for (var me = 0; me < U.length; me++)
|
|
59173
59173
|
U[me]._dbInfo.db = te;
|
|
59174
59174
|
}).catch(function(te) {
|
|
59175
|
-
throw Z(
|
|
59175
|
+
throw Z(F, te), te;
|
|
59176
59176
|
});
|
|
59177
59177
|
}
|
|
59178
|
-
function se(
|
|
59178
|
+
function se(F, Y, U, ne) {
|
|
59179
59179
|
ne === void 0 && (ne = 1);
|
|
59180
59180
|
try {
|
|
59181
|
-
var ie =
|
|
59181
|
+
var ie = F.db.transaction(F.storeName, Y);
|
|
59182
59182
|
U(null, ie);
|
|
59183
59183
|
} catch (te) {
|
|
59184
|
-
if (ne > 0 && (!
|
|
59184
|
+
if (ne > 0 && (!F.db || te.name === "InvalidStateError" || te.name === "NotFoundError"))
|
|
59185
59185
|
return d.resolve().then(function() {
|
|
59186
|
-
if (!
|
|
59187
|
-
return
|
|
59186
|
+
if (!F.db || te.name === "NotFoundError" && !F.db.objectStoreNames.contains(F.storeName) && F.version <= F.db.version)
|
|
59187
|
+
return F.db && (F.version = F.db.version + 1), I(F);
|
|
59188
59188
|
}).then(function() {
|
|
59189
|
-
return q(
|
|
59190
|
-
se(
|
|
59189
|
+
return q(F).then(function() {
|
|
59190
|
+
se(F, Y, U, ne - 1);
|
|
59191
59191
|
});
|
|
59192
59192
|
}).catch(U);
|
|
59193
59193
|
U(te);
|
|
@@ -59205,13 +59205,13 @@ var RS = { exports: {} };
|
|
|
59205
59205
|
deferredOperations: []
|
|
59206
59206
|
};
|
|
59207
59207
|
}
|
|
59208
|
-
function Se(
|
|
59208
|
+
function Se(F) {
|
|
59209
59209
|
var Y = this, U = {
|
|
59210
59210
|
db: null
|
|
59211
59211
|
};
|
|
59212
|
-
if (
|
|
59213
|
-
for (var ne in
|
|
59214
|
-
U[ne] =
|
|
59212
|
+
if (F)
|
|
59213
|
+
for (var ne in F)
|
|
59214
|
+
U[ne] = F[ne];
|
|
59215
59215
|
var ie = _[U.name];
|
|
59216
59216
|
ie || (ie = be(), _[U.name] = ie), ie.forages.push(Y), Y._initReady || (Y._initReady = Y.ready, Y.ready = z);
|
|
59217
59217
|
var te = [];
|
|
@@ -59224,7 +59224,7 @@ var RS = { exports: {} };
|
|
|
59224
59224
|
}
|
|
59225
59225
|
var Te = ie.forages.slice(0);
|
|
59226
59226
|
return d.all(te).then(function() {
|
|
59227
|
-
return U.db = ie.db,
|
|
59227
|
+
return U.db = ie.db, P(U);
|
|
59228
59228
|
}).then(function(Re) {
|
|
59229
59229
|
return U.db = Re, S(U, Y._defaultConfig.version) ? I(U) : Re;
|
|
59230
59230
|
}).then(function(Re) {
|
|
@@ -59235,16 +59235,16 @@ var RS = { exports: {} };
|
|
|
59235
59235
|
}
|
|
59236
59236
|
});
|
|
59237
59237
|
}
|
|
59238
|
-
function Le(
|
|
59238
|
+
function Le(F, Y) {
|
|
59239
59239
|
var U = this;
|
|
59240
|
-
|
|
59240
|
+
F = p(F);
|
|
59241
59241
|
var ne = new d(function(ie, te) {
|
|
59242
59242
|
U.ready().then(function() {
|
|
59243
59243
|
se(U._dbInfo, w, function(me, _e) {
|
|
59244
59244
|
if (me)
|
|
59245
59245
|
return te(me);
|
|
59246
59246
|
try {
|
|
59247
|
-
var Ce = _e.objectStore(U._dbInfo.storeName), Te = Ce.get(
|
|
59247
|
+
var Ce = _e.objectStore(U._dbInfo.storeName), Te = Ce.get(F);
|
|
59248
59248
|
Te.onsuccess = function() {
|
|
59249
59249
|
var Re = Te.result;
|
|
59250
59250
|
Re === void 0 && (Re = null), R(Re) && (Re = C(Re)), ie(Re);
|
|
@@ -59259,7 +59259,7 @@ var RS = { exports: {} };
|
|
|
59259
59259
|
});
|
|
59260
59260
|
return f(ne, Y), ne;
|
|
59261
59261
|
}
|
|
59262
|
-
function De(
|
|
59262
|
+
function De(F, Y) {
|
|
59263
59263
|
var U = this, ne = new d(function(ie, te) {
|
|
59264
59264
|
U.ready().then(function() {
|
|
59265
59265
|
se(U._dbInfo, w, function(me, _e) {
|
|
@@ -59272,7 +59272,7 @@ var RS = { exports: {} };
|
|
|
59272
59272
|
if (We) {
|
|
59273
59273
|
var Ct = We.value;
|
|
59274
59274
|
R(Ct) && (Ct = C(Ct));
|
|
59275
|
-
var zt =
|
|
59275
|
+
var zt = F(Ct, We.key, Re++);
|
|
59276
59276
|
zt !== void 0 ? ie(zt) : We.continue();
|
|
59277
59277
|
} else
|
|
59278
59278
|
ie();
|
|
@@ -59287,9 +59287,9 @@ var RS = { exports: {} };
|
|
|
59287
59287
|
});
|
|
59288
59288
|
return f(ne, Y), ne;
|
|
59289
59289
|
}
|
|
59290
|
-
function Be(
|
|
59290
|
+
function Be(F, Y, U) {
|
|
59291
59291
|
var ne = this;
|
|
59292
|
-
|
|
59292
|
+
F = p(F);
|
|
59293
59293
|
var ie = new d(function(te, me) {
|
|
59294
59294
|
var _e;
|
|
59295
59295
|
ne.ready().then(function() {
|
|
@@ -59303,7 +59303,7 @@ var RS = { exports: {} };
|
|
|
59303
59303
|
try {
|
|
59304
59304
|
var We = Re.objectStore(ne._dbInfo.storeName);
|
|
59305
59305
|
Ce === null && (Ce = void 0);
|
|
59306
|
-
var Ct = We.put(Ce,
|
|
59306
|
+
var Ct = We.put(Ce, F);
|
|
59307
59307
|
Re.oncomplete = function() {
|
|
59308
59308
|
Ce === void 0 && (Ce = null), te(Ce);
|
|
59309
59309
|
}, Re.onabort = Re.onerror = function() {
|
|
@@ -59318,16 +59318,16 @@ var RS = { exports: {} };
|
|
|
59318
59318
|
});
|
|
59319
59319
|
return f(ie, U), ie;
|
|
59320
59320
|
}
|
|
59321
|
-
function tt(
|
|
59321
|
+
function tt(F, Y) {
|
|
59322
59322
|
var U = this;
|
|
59323
|
-
|
|
59323
|
+
F = p(F);
|
|
59324
59324
|
var ne = new d(function(ie, te) {
|
|
59325
59325
|
U.ready().then(function() {
|
|
59326
59326
|
se(U._dbInfo, E, function(me, _e) {
|
|
59327
59327
|
if (me)
|
|
59328
59328
|
return te(me);
|
|
59329
59329
|
try {
|
|
59330
|
-
var Ce = _e.objectStore(U._dbInfo.storeName), Te = Ce.delete(
|
|
59330
|
+
var Ce = _e.objectStore(U._dbInfo.storeName), Te = Ce.delete(F);
|
|
59331
59331
|
_e.oncomplete = function() {
|
|
59332
59332
|
ie();
|
|
59333
59333
|
}, _e.onerror = function() {
|
|
@@ -59344,7 +59344,7 @@ var RS = { exports: {} };
|
|
|
59344
59344
|
});
|
|
59345
59345
|
return f(ne, Y), ne;
|
|
59346
59346
|
}
|
|
59347
|
-
function Qe(
|
|
59347
|
+
function Qe(F) {
|
|
59348
59348
|
var Y = this, U = new d(function(ne, ie) {
|
|
59349
59349
|
Y.ready().then(function() {
|
|
59350
59350
|
se(Y._dbInfo, E, function(te, me) {
|
|
@@ -59364,9 +59364,9 @@ var RS = { exports: {} };
|
|
|
59364
59364
|
});
|
|
59365
59365
|
}).catch(ie);
|
|
59366
59366
|
});
|
|
59367
|
-
return f(U,
|
|
59367
|
+
return f(U, F), U;
|
|
59368
59368
|
}
|
|
59369
|
-
function lt(
|
|
59369
|
+
function lt(F) {
|
|
59370
59370
|
var Y = this, U = new d(function(ne, ie) {
|
|
59371
59371
|
Y.ready().then(function() {
|
|
59372
59372
|
se(Y._dbInfo, w, function(te, me) {
|
|
@@ -59385,11 +59385,11 @@ var RS = { exports: {} };
|
|
|
59385
59385
|
});
|
|
59386
59386
|
}).catch(ie);
|
|
59387
59387
|
});
|
|
59388
|
-
return f(U,
|
|
59388
|
+
return f(U, F), U;
|
|
59389
59389
|
}
|
|
59390
|
-
function ct(
|
|
59390
|
+
function ct(F, Y) {
|
|
59391
59391
|
var U = this, ne = new d(function(ie, te) {
|
|
59392
|
-
if (
|
|
59392
|
+
if (F < 0) {
|
|
59393
59393
|
ie(null);
|
|
59394
59394
|
return;
|
|
59395
59395
|
}
|
|
@@ -59405,7 +59405,7 @@ var RS = { exports: {} };
|
|
|
59405
59405
|
ie(null);
|
|
59406
59406
|
return;
|
|
59407
59407
|
}
|
|
59408
|
-
|
|
59408
|
+
F === 0 || Te ? ie(We.key) : (Te = !0, We.advance(F));
|
|
59409
59409
|
}, Re.onerror = function() {
|
|
59410
59410
|
te(Re.error);
|
|
59411
59411
|
};
|
|
@@ -59417,7 +59417,7 @@ var RS = { exports: {} };
|
|
|
59417
59417
|
});
|
|
59418
59418
|
return f(ne, Y), ne;
|
|
59419
59419
|
}
|
|
59420
|
-
function Ot(
|
|
59420
|
+
function Ot(F) {
|
|
59421
59421
|
var Y = this, U = new d(function(ne, ie) {
|
|
59422
59422
|
Y.ready().then(function() {
|
|
59423
59423
|
se(Y._dbInfo, w, function(te, me) {
|
|
@@ -59441,41 +59441,41 @@ var RS = { exports: {} };
|
|
|
59441
59441
|
});
|
|
59442
59442
|
}).catch(ie);
|
|
59443
59443
|
});
|
|
59444
|
-
return f(U,
|
|
59444
|
+
return f(U, F), U;
|
|
59445
59445
|
}
|
|
59446
|
-
function Ft(
|
|
59446
|
+
function Ft(F, Y) {
|
|
59447
59447
|
Y = m.apply(this, arguments);
|
|
59448
59448
|
var U = this.config();
|
|
59449
|
-
|
|
59449
|
+
F = typeof F != "function" && F || {}, F.name || (F.name = F.name || U.name, F.storeName = F.storeName || U.storeName);
|
|
59450
59450
|
var ne = this, ie;
|
|
59451
|
-
if (!
|
|
59451
|
+
if (!F.name)
|
|
59452
59452
|
ie = d.reject("Invalid arguments");
|
|
59453
59453
|
else {
|
|
59454
|
-
var te =
|
|
59455
|
-
var Ce = _[
|
|
59454
|
+
var te = F.name === U.name && ne._dbInfo.db, me = te ? d.resolve(ne._dbInfo.db) : P(F).then(function(_e) {
|
|
59455
|
+
var Ce = _[F.name], Te = Ce.forages;
|
|
59456
59456
|
Ce.db = _e;
|
|
59457
59457
|
for (var Re = 0; Re < Te.length; Re++)
|
|
59458
59458
|
Te[Re]._dbInfo.db = _e;
|
|
59459
59459
|
return _e;
|
|
59460
59460
|
});
|
|
59461
|
-
|
|
59462
|
-
if (_e.objectStoreNames.contains(
|
|
59461
|
+
F.storeName ? ie = me.then(function(_e) {
|
|
59462
|
+
if (_e.objectStoreNames.contains(F.storeName)) {
|
|
59463
59463
|
var Ce = _e.version + 1;
|
|
59464
|
-
L(
|
|
59465
|
-
var Te = _[
|
|
59464
|
+
L(F);
|
|
59465
|
+
var Te = _[F.name], Re = Te.forages;
|
|
59466
59466
|
_e.close();
|
|
59467
59467
|
for (var We = 0; We < Re.length; We++) {
|
|
59468
59468
|
var Ct = Re[We];
|
|
59469
59469
|
Ct._dbInfo.db = null, Ct._dbInfo.version = Ce;
|
|
59470
59470
|
}
|
|
59471
59471
|
var zt = new d(function(Wt, Rn) {
|
|
59472
|
-
var An = l.open(
|
|
59472
|
+
var An = l.open(F.name, Ce);
|
|
59473
59473
|
An.onerror = function(Jr) {
|
|
59474
59474
|
var Kl = An.result;
|
|
59475
59475
|
Kl.close(), Rn(Jr);
|
|
59476
59476
|
}, An.onupgradeneeded = function() {
|
|
59477
59477
|
var Jr = An.result;
|
|
59478
|
-
Jr.deleteObjectStore(
|
|
59478
|
+
Jr.deleteObjectStore(F.storeName);
|
|
59479
59479
|
}, An.onsuccess = function() {
|
|
59480
59480
|
var Jr = An.result;
|
|
59481
59481
|
Jr.close(), Wt(Jr);
|
|
@@ -59488,25 +59488,25 @@ var RS = { exports: {} };
|
|
|
59488
59488
|
An._dbInfo.db = Wt, J(An._dbInfo);
|
|
59489
59489
|
}
|
|
59490
59490
|
}).catch(function(Wt) {
|
|
59491
|
-
throw (Z(
|
|
59491
|
+
throw (Z(F, Wt) || d.resolve()).catch(function() {
|
|
59492
59492
|
}), Wt;
|
|
59493
59493
|
});
|
|
59494
59494
|
}
|
|
59495
59495
|
}) : ie = me.then(function(_e) {
|
|
59496
|
-
L(
|
|
59497
|
-
var Ce = _[
|
|
59496
|
+
L(F);
|
|
59497
|
+
var Ce = _[F.name], Te = Ce.forages;
|
|
59498
59498
|
_e.close();
|
|
59499
59499
|
for (var Re = 0; Re < Te.length; Re++) {
|
|
59500
59500
|
var We = Te[Re];
|
|
59501
59501
|
We._dbInfo.db = null;
|
|
59502
59502
|
}
|
|
59503
59503
|
var Ct = new d(function(zt, Wt) {
|
|
59504
|
-
var Rn = l.deleteDatabase(
|
|
59504
|
+
var Rn = l.deleteDatabase(F.name);
|
|
59505
59505
|
Rn.onerror = function() {
|
|
59506
59506
|
var An = Rn.result;
|
|
59507
59507
|
An && An.close(), Wt(Rn.error);
|
|
59508
59508
|
}, Rn.onblocked = function() {
|
|
59509
|
-
console.warn('dropInstance blocked for database "' +
|
|
59509
|
+
console.warn('dropInstance blocked for database "' + F.name + '" until all open connections are closed');
|
|
59510
59510
|
}, Rn.onsuccess = function() {
|
|
59511
59511
|
var An = Rn.result;
|
|
59512
59512
|
An && An.close(), zt(An);
|
|
@@ -59519,7 +59519,7 @@ var RS = { exports: {} };
|
|
|
59519
59519
|
J(Rn._dbInfo);
|
|
59520
59520
|
}
|
|
59521
59521
|
}).catch(function(zt) {
|
|
59522
|
-
throw (Z(
|
|
59522
|
+
throw (Z(F, zt) || d.resolve()).catch(function() {
|
|
59523
59523
|
}), zt;
|
|
59524
59524
|
});
|
|
59525
59525
|
});
|
|
@@ -59544,42 +59544,42 @@ var RS = { exports: {} };
|
|
|
59544
59544
|
return typeof openDatabase == "function";
|
|
59545
59545
|
}
|
|
59546
59546
|
var bt = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", je = "~~local_forage_type~", nn = /^~~local_forage_type~([^~]+)~/, V = "__lfsc__:", K = V.length, ue = "arbf", ge = "blob", ze = "si08", st = "ui08", Ye = "uic8", de = "si16", re = "si32", oe = "ur16", fe = "ui32", Me = "fl32", Xe = "fl64", St = K + ue.length, ln = Object.prototype.toString;
|
|
59547
|
-
function Ro(
|
|
59548
|
-
var Y =
|
|
59549
|
-
|
|
59547
|
+
function Ro(F) {
|
|
59548
|
+
var Y = F.length * 0.75, U = F.length, ne, ie = 0, te, me, _e, Ce;
|
|
59549
|
+
F[F.length - 1] === "=" && (Y--, F[F.length - 2] === "=" && Y--);
|
|
59550
59550
|
var Te = new ArrayBuffer(Y), Re = new Uint8Array(Te);
|
|
59551
59551
|
for (ne = 0; ne < U; ne += 4)
|
|
59552
|
-
te = bt.indexOf(
|
|
59552
|
+
te = bt.indexOf(F[ne]), me = bt.indexOf(F[ne + 1]), _e = bt.indexOf(F[ne + 2]), Ce = bt.indexOf(F[ne + 3]), Re[ie++] = te << 2 | me >> 4, Re[ie++] = (me & 15) << 4 | _e >> 2, Re[ie++] = (_e & 3) << 6 | Ce & 63;
|
|
59553
59553
|
return Te;
|
|
59554
59554
|
}
|
|
59555
|
-
function he(
|
|
59556
|
-
var Y = new Uint8Array(
|
|
59555
|
+
function he(F) {
|
|
59556
|
+
var Y = new Uint8Array(F), U = "", ne;
|
|
59557
59557
|
for (ne = 0; ne < Y.length; ne += 3)
|
|
59558
59558
|
U += bt[Y[ne] >> 2], U += bt[(Y[ne] & 3) << 4 | Y[ne + 1] >> 4], U += bt[(Y[ne + 1] & 15) << 2 | Y[ne + 2] >> 6], U += bt[Y[ne + 2] & 63];
|
|
59559
59559
|
return Y.length % 3 === 2 ? U = U.substring(0, U.length - 1) + "=" : Y.length % 3 === 1 && (U = U.substring(0, U.length - 2) + "=="), U;
|
|
59560
59560
|
}
|
|
59561
|
-
function He(
|
|
59561
|
+
function He(F, Y) {
|
|
59562
59562
|
var U = "";
|
|
59563
|
-
if (
|
|
59563
|
+
if (F && (U = ln.call(F)), F && (U === "[object ArrayBuffer]" || F.buffer && ln.call(F.buffer) === "[object ArrayBuffer]")) {
|
|
59564
59564
|
var ne, ie = V;
|
|
59565
|
-
|
|
59565
|
+
F instanceof ArrayBuffer ? (ne = F, ie += ue) : (ne = F.buffer, U === "[object Int8Array]" ? ie += ze : U === "[object Uint8Array]" ? ie += st : U === "[object Uint8ClampedArray]" ? ie += Ye : U === "[object Int16Array]" ? ie += de : U === "[object Uint16Array]" ? ie += oe : U === "[object Int32Array]" ? ie += re : U === "[object Uint32Array]" ? ie += fe : U === "[object Float32Array]" ? ie += Me : U === "[object Float64Array]" ? ie += Xe : Y(new Error("Failed to get type for BinaryArray"))), Y(ie + he(ne));
|
|
59566
59566
|
} else if (U === "[object Blob]") {
|
|
59567
59567
|
var te = new FileReader();
|
|
59568
59568
|
te.onload = function() {
|
|
59569
|
-
var me = je +
|
|
59569
|
+
var me = je + F.type + "~" + he(this.result);
|
|
59570
59570
|
Y(V + ge + me);
|
|
59571
|
-
}, te.readAsArrayBuffer(
|
|
59571
|
+
}, te.readAsArrayBuffer(F);
|
|
59572
59572
|
} else
|
|
59573
59573
|
try {
|
|
59574
|
-
Y(JSON.stringify(
|
|
59574
|
+
Y(JSON.stringify(F));
|
|
59575
59575
|
} catch (me) {
|
|
59576
|
-
console.error("Couldn't convert value into a JSON string: ",
|
|
59576
|
+
console.error("Couldn't convert value into a JSON string: ", F), Y(null, me);
|
|
59577
59577
|
}
|
|
59578
59578
|
}
|
|
59579
|
-
function at(
|
|
59580
|
-
if (
|
|
59581
|
-
return JSON.parse(
|
|
59582
|
-
var Y =
|
|
59579
|
+
function at(F) {
|
|
59580
|
+
if (F.substring(0, K) !== V)
|
|
59581
|
+
return JSON.parse(F);
|
|
59582
|
+
var Y = F.substring(St), U = F.substring(K, St), ne;
|
|
59583
59583
|
if (U === ge && nn.test(Y)) {
|
|
59584
59584
|
var ie = Y.match(nn);
|
|
59585
59585
|
ne = ie[1], Y = Y.substring(ie[0].length);
|
|
@@ -59618,16 +59618,16 @@ var RS = { exports: {} };
|
|
|
59618
59618
|
stringToBuffer: Ro,
|
|
59619
59619
|
bufferToString: he
|
|
59620
59620
|
};
|
|
59621
|
-
function Mt(
|
|
59622
|
-
|
|
59621
|
+
function Mt(F, Y, U, ne) {
|
|
59622
|
+
F.executeSql("CREATE TABLE IF NOT EXISTS " + Y.storeName + " (id INTEGER PRIMARY KEY, key unique, value)", [], U, ne);
|
|
59623
59623
|
}
|
|
59624
|
-
function Jn(
|
|
59624
|
+
function Jn(F) {
|
|
59625
59625
|
var Y = this, U = {
|
|
59626
59626
|
db: null
|
|
59627
59627
|
};
|
|
59628
|
-
if (
|
|
59629
|
-
for (var ne in
|
|
59630
|
-
U[ne] = typeof
|
|
59628
|
+
if (F)
|
|
59629
|
+
for (var ne in F)
|
|
59630
|
+
U[ne] = typeof F[ne] != "string" ? F[ne].toString() : F[ne];
|
|
59631
59631
|
var ie = new d(function(te, me) {
|
|
59632
59632
|
try {
|
|
59633
59633
|
U.db = openDatabase(U.name, String(U.version), U.description, U.size);
|
|
@@ -59644,8 +59644,8 @@ var RS = { exports: {} };
|
|
|
59644
59644
|
});
|
|
59645
59645
|
return U.serializer = Dt, ie;
|
|
59646
59646
|
}
|
|
59647
|
-
function Tn(
|
|
59648
|
-
|
|
59647
|
+
function Tn(F, Y, U, ne, ie, te) {
|
|
59648
|
+
F.executeSql(U, ne, ie, function(me, _e) {
|
|
59649
59649
|
_e.code === _e.SYNTAX_ERR ? me.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?", [Y.storeName], function(Ce, Te) {
|
|
59650
59650
|
Te.rows.length ? te(Ce, _e) : Mt(Ce, Y, function() {
|
|
59651
59651
|
Ce.executeSql(U, ne, ie, te);
|
|
@@ -59653,14 +59653,14 @@ var RS = { exports: {} };
|
|
|
59653
59653
|
}, te) : te(me, _e);
|
|
59654
59654
|
}, te);
|
|
59655
59655
|
}
|
|
59656
|
-
function Oi(
|
|
59656
|
+
function Oi(F, Y) {
|
|
59657
59657
|
var U = this;
|
|
59658
|
-
|
|
59658
|
+
F = p(F);
|
|
59659
59659
|
var ne = new d(function(ie, te) {
|
|
59660
59660
|
U.ready().then(function() {
|
|
59661
59661
|
var me = U._dbInfo;
|
|
59662
59662
|
me.db.transaction(function(_e) {
|
|
59663
|
-
Tn(_e, me, "SELECT * FROM " + me.storeName + " WHERE key = ? LIMIT 1", [
|
|
59663
|
+
Tn(_e, me, "SELECT * FROM " + me.storeName + " WHERE key = ? LIMIT 1", [F], function(Ce, Te) {
|
|
59664
59664
|
var Re = Te.rows.length ? Te.rows.item(0).value : null;
|
|
59665
59665
|
Re && (Re = me.serializer.deserialize(Re)), ie(Re);
|
|
59666
59666
|
}, function(Ce, Te) {
|
|
@@ -59671,7 +59671,7 @@ var RS = { exports: {} };
|
|
|
59671
59671
|
});
|
|
59672
59672
|
return f(ne, Y), ne;
|
|
59673
59673
|
}
|
|
59674
|
-
function Fu(
|
|
59674
|
+
function Fu(F, Y) {
|
|
59675
59675
|
var U = this, ne = new d(function(ie, te) {
|
|
59676
59676
|
U.ready().then(function() {
|
|
59677
59677
|
var me = U._dbInfo;
|
|
@@ -59679,7 +59679,7 @@ var RS = { exports: {} };
|
|
|
59679
59679
|
Tn(_e, me, "SELECT * FROM " + me.storeName, [], function(Ce, Te) {
|
|
59680
59680
|
for (var Re = Te.rows, We = Re.length, Ct = 0; Ct < We; Ct++) {
|
|
59681
59681
|
var zt = Re.item(Ct), Wt = zt.value;
|
|
59682
|
-
if (Wt && (Wt = me.serializer.deserialize(Wt)), Wt =
|
|
59682
|
+
if (Wt && (Wt = me.serializer.deserialize(Wt)), Wt = F(Wt, zt.key, Ct + 1), Wt !== void 0) {
|
|
59683
59683
|
ie(Wt);
|
|
59684
59684
|
return;
|
|
59685
59685
|
}
|
|
@@ -59693,16 +59693,16 @@ var RS = { exports: {} };
|
|
|
59693
59693
|
});
|
|
59694
59694
|
return f(ne, Y), ne;
|
|
59695
59695
|
}
|
|
59696
|
-
function Io(
|
|
59696
|
+
function Io(F, Y, U, ne) {
|
|
59697
59697
|
var ie = this;
|
|
59698
|
-
|
|
59698
|
+
F = p(F);
|
|
59699
59699
|
var te = new d(function(me, _e) {
|
|
59700
59700
|
ie.ready().then(function() {
|
|
59701
59701
|
Y === void 0 && (Y = null);
|
|
59702
59702
|
var Ce = Y, Te = ie._dbInfo;
|
|
59703
59703
|
Te.serializer.serialize(Y, function(Re, We) {
|
|
59704
59704
|
We ? _e(We) : Te.db.transaction(function(Ct) {
|
|
59705
|
-
Tn(Ct, Te, "INSERT OR REPLACE INTO " + Te.storeName + " (key, value) VALUES (?, ?)", [
|
|
59705
|
+
Tn(Ct, Te, "INSERT OR REPLACE INTO " + Te.storeName + " (key, value) VALUES (?, ?)", [F, Re], function() {
|
|
59706
59706
|
me(Ce);
|
|
59707
59707
|
}, function(zt, Wt) {
|
|
59708
59708
|
_e(Wt);
|
|
@@ -59710,7 +59710,7 @@ var RS = { exports: {} };
|
|
|
59710
59710
|
}, function(Ct) {
|
|
59711
59711
|
if (Ct.code === Ct.QUOTA_ERR) {
|
|
59712
59712
|
if (ne > 0) {
|
|
59713
|
-
me(Io.apply(ie, [
|
|
59713
|
+
me(Io.apply(ie, [F, Ce, U, ne - 1]));
|
|
59714
59714
|
return;
|
|
59715
59715
|
}
|
|
59716
59716
|
_e(Ct);
|
|
@@ -59721,17 +59721,17 @@ var RS = { exports: {} };
|
|
|
59721
59721
|
});
|
|
59722
59722
|
return f(te, U), te;
|
|
59723
59723
|
}
|
|
59724
|
-
function Vl(
|
|
59725
|
-
return Io.apply(this, [
|
|
59724
|
+
function Vl(F, Y, U) {
|
|
59725
|
+
return Io.apply(this, [F, Y, U, 1]);
|
|
59726
59726
|
}
|
|
59727
|
-
function ka(
|
|
59727
|
+
function ka(F, Y) {
|
|
59728
59728
|
var U = this;
|
|
59729
|
-
|
|
59729
|
+
F = p(F);
|
|
59730
59730
|
var ne = new d(function(ie, te) {
|
|
59731
59731
|
U.ready().then(function() {
|
|
59732
59732
|
var me = U._dbInfo;
|
|
59733
59733
|
me.db.transaction(function(_e) {
|
|
59734
|
-
Tn(_e, me, "DELETE FROM " + me.storeName + " WHERE key = ?", [
|
|
59734
|
+
Tn(_e, me, "DELETE FROM " + me.storeName + " WHERE key = ?", [F], function() {
|
|
59735
59735
|
ie();
|
|
59736
59736
|
}, function(Ce, Te) {
|
|
59737
59737
|
te(Te);
|
|
@@ -59741,7 +59741,7 @@ var RS = { exports: {} };
|
|
|
59741
59741
|
});
|
|
59742
59742
|
return f(ne, Y), ne;
|
|
59743
59743
|
}
|
|
59744
|
-
function Ri(
|
|
59744
|
+
function Ri(F) {
|
|
59745
59745
|
var Y = this, U = new d(function(ne, ie) {
|
|
59746
59746
|
Y.ready().then(function() {
|
|
59747
59747
|
var te = Y._dbInfo;
|
|
@@ -59754,9 +59754,9 @@ var RS = { exports: {} };
|
|
|
59754
59754
|
});
|
|
59755
59755
|
}).catch(ie);
|
|
59756
59756
|
});
|
|
59757
|
-
return f(U,
|
|
59757
|
+
return f(U, F), U;
|
|
59758
59758
|
}
|
|
59759
|
-
function Fp(
|
|
59759
|
+
function Fp(F) {
|
|
59760
59760
|
var Y = this, U = new d(function(ne, ie) {
|
|
59761
59761
|
Y.ready().then(function() {
|
|
59762
59762
|
var te = Y._dbInfo;
|
|
@@ -59770,14 +59770,14 @@ var RS = { exports: {} };
|
|
|
59770
59770
|
});
|
|
59771
59771
|
}).catch(ie);
|
|
59772
59772
|
});
|
|
59773
|
-
return f(U,
|
|
59773
|
+
return f(U, F), U;
|
|
59774
59774
|
}
|
|
59775
|
-
function Wl(
|
|
59775
|
+
function Wl(F, Y) {
|
|
59776
59776
|
var U = this, ne = new d(function(ie, te) {
|
|
59777
59777
|
U.ready().then(function() {
|
|
59778
59778
|
var me = U._dbInfo;
|
|
59779
59779
|
me.db.transaction(function(_e) {
|
|
59780
|
-
Tn(_e, me, "SELECT key FROM " + me.storeName + " WHERE id = ? LIMIT 1", [
|
|
59780
|
+
Tn(_e, me, "SELECT key FROM " + me.storeName + " WHERE id = ? LIMIT 1", [F + 1], function(Ce, Te) {
|
|
59781
59781
|
var Re = Te.rows.length ? Te.rows.item(0).key : null;
|
|
59782
59782
|
ie(Re);
|
|
59783
59783
|
}, function(Ce, Te) {
|
|
@@ -59788,7 +59788,7 @@ var RS = { exports: {} };
|
|
|
59788
59788
|
});
|
|
59789
59789
|
return f(ne, Y), ne;
|
|
59790
59790
|
}
|
|
59791
|
-
function Ea(
|
|
59791
|
+
function Ea(F) {
|
|
59792
59792
|
var Y = this, U = new d(function(ne, ie) {
|
|
59793
59793
|
Y.ready().then(function() {
|
|
59794
59794
|
var te = Y._dbInfo;
|
|
@@ -59803,16 +59803,16 @@ var RS = { exports: {} };
|
|
|
59803
59803
|
});
|
|
59804
59804
|
}).catch(ie);
|
|
59805
59805
|
});
|
|
59806
|
-
return f(U,
|
|
59806
|
+
return f(U, F), U;
|
|
59807
59807
|
}
|
|
59808
|
-
function b7(
|
|
59808
|
+
function b7(F) {
|
|
59809
59809
|
return new d(function(Y, U) {
|
|
59810
|
-
|
|
59810
|
+
F.transaction(function(ne) {
|
|
59811
59811
|
ne.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'", [], function(ie, te) {
|
|
59812
59812
|
for (var me = [], _e = 0; _e < te.rows.length; _e++)
|
|
59813
59813
|
me.push(te.rows.item(_e).name);
|
|
59814
59814
|
Y({
|
|
59815
|
-
db:
|
|
59815
|
+
db: F,
|
|
59816
59816
|
storeNames: me
|
|
59817
59817
|
});
|
|
59818
59818
|
}, function(ie, te) {
|
|
@@ -59823,16 +59823,16 @@ var RS = { exports: {} };
|
|
|
59823
59823
|
});
|
|
59824
59824
|
});
|
|
59825
59825
|
}
|
|
59826
|
-
function v7(
|
|
59826
|
+
function v7(F, Y) {
|
|
59827
59827
|
Y = m.apply(this, arguments);
|
|
59828
59828
|
var U = this.config();
|
|
59829
|
-
|
|
59829
|
+
F = typeof F != "function" && F || {}, F.name || (F.name = F.name || U.name, F.storeName = F.storeName || U.storeName);
|
|
59830
59830
|
var ne = this, ie;
|
|
59831
|
-
return
|
|
59831
|
+
return F.name ? ie = new d(function(te) {
|
|
59832
59832
|
var me;
|
|
59833
|
-
|
|
59833
|
+
F.name === U.name ? me = ne._dbInfo.db : me = openDatabase(F.name, "", "", 0), F.storeName ? te({
|
|
59834
59834
|
db: me,
|
|
59835
|
-
storeNames: [
|
|
59835
|
+
storeNames: [F.storeName]
|
|
59836
59836
|
}) : te(b7(me));
|
|
59837
59837
|
}).then(function(te) {
|
|
59838
59838
|
return new d(function(me, _e) {
|
|
@@ -59881,14 +59881,14 @@ var RS = { exports: {} };
|
|
|
59881
59881
|
return !1;
|
|
59882
59882
|
}
|
|
59883
59883
|
}
|
|
59884
|
-
function Xv(
|
|
59885
|
-
var U =
|
|
59886
|
-
return
|
|
59884
|
+
function Xv(F, Y) {
|
|
59885
|
+
var U = F.name + "/";
|
|
59886
|
+
return F.storeName !== Y.storeName && (U += F.storeName + "/"), U;
|
|
59887
59887
|
}
|
|
59888
59888
|
function w7() {
|
|
59889
|
-
var
|
|
59889
|
+
var F = "_localforage_support_test";
|
|
59890
59890
|
try {
|
|
59891
|
-
return localStorage.setItem(
|
|
59891
|
+
return localStorage.setItem(F, !0), localStorage.removeItem(F), !1;
|
|
59892
59892
|
} catch {
|
|
59893
59893
|
return !0;
|
|
59894
59894
|
}
|
|
@@ -59896,49 +59896,49 @@ var RS = { exports: {} };
|
|
|
59896
59896
|
function x7() {
|
|
59897
59897
|
return !w7() || localStorage.length > 0;
|
|
59898
59898
|
}
|
|
59899
|
-
function k7(
|
|
59899
|
+
function k7(F) {
|
|
59900
59900
|
var Y = this, U = {};
|
|
59901
|
-
if (
|
|
59902
|
-
for (var ne in
|
|
59903
|
-
U[ne] =
|
|
59904
|
-
return U.keyPrefix = Xv(
|
|
59901
|
+
if (F)
|
|
59902
|
+
for (var ne in F)
|
|
59903
|
+
U[ne] = F[ne];
|
|
59904
|
+
return U.keyPrefix = Xv(F, Y._defaultConfig), x7() ? (Y._dbInfo = U, U.serializer = Dt, d.resolve()) : d.reject();
|
|
59905
59905
|
}
|
|
59906
|
-
function E7(
|
|
59906
|
+
function E7(F) {
|
|
59907
59907
|
var Y = this, U = Y.ready().then(function() {
|
|
59908
59908
|
for (var ne = Y._dbInfo.keyPrefix, ie = localStorage.length - 1; ie >= 0; ie--) {
|
|
59909
59909
|
var te = localStorage.key(ie);
|
|
59910
59910
|
te.indexOf(ne) === 0 && localStorage.removeItem(te);
|
|
59911
59911
|
}
|
|
59912
59912
|
});
|
|
59913
|
-
return f(U,
|
|
59913
|
+
return f(U, F), U;
|
|
59914
59914
|
}
|
|
59915
|
-
function S7(
|
|
59915
|
+
function S7(F, Y) {
|
|
59916
59916
|
var U = this;
|
|
59917
|
-
|
|
59917
|
+
F = p(F);
|
|
59918
59918
|
var ne = U.ready().then(function() {
|
|
59919
|
-
var ie = U._dbInfo, te = localStorage.getItem(ie.keyPrefix +
|
|
59919
|
+
var ie = U._dbInfo, te = localStorage.getItem(ie.keyPrefix + F);
|
|
59920
59920
|
return te && (te = ie.serializer.deserialize(te)), te;
|
|
59921
59921
|
});
|
|
59922
59922
|
return f(ne, Y), ne;
|
|
59923
59923
|
}
|
|
59924
|
-
function C7(
|
|
59924
|
+
function C7(F, Y) {
|
|
59925
59925
|
var U = this, ne = U.ready().then(function() {
|
|
59926
59926
|
for (var ie = U._dbInfo, te = ie.keyPrefix, me = te.length, _e = localStorage.length, Ce = 1, Te = 0; Te < _e; Te++) {
|
|
59927
59927
|
var Re = localStorage.key(Te);
|
|
59928
59928
|
if (Re.indexOf(te) === 0) {
|
|
59929
59929
|
var We = localStorage.getItem(Re);
|
|
59930
|
-
if (We && (We = ie.serializer.deserialize(We)), We =
|
|
59930
|
+
if (We && (We = ie.serializer.deserialize(We)), We = F(We, Re.substring(me), Ce++), We !== void 0)
|
|
59931
59931
|
return We;
|
|
59932
59932
|
}
|
|
59933
59933
|
}
|
|
59934
59934
|
});
|
|
59935
59935
|
return f(ne, Y), ne;
|
|
59936
59936
|
}
|
|
59937
|
-
function T7(
|
|
59937
|
+
function T7(F, Y) {
|
|
59938
59938
|
var U = this, ne = U.ready().then(function() {
|
|
59939
59939
|
var ie = U._dbInfo, te;
|
|
59940
59940
|
try {
|
|
59941
|
-
te = localStorage.key(
|
|
59941
|
+
te = localStorage.key(F);
|
|
59942
59942
|
} catch {
|
|
59943
59943
|
te = null;
|
|
59944
59944
|
}
|
|
@@ -59946,7 +59946,7 @@ var RS = { exports: {} };
|
|
|
59946
59946
|
});
|
|
59947
59947
|
return f(ne, Y), ne;
|
|
59948
59948
|
}
|
|
59949
|
-
function A7(
|
|
59949
|
+
function A7(F) {
|
|
59950
59950
|
var Y = this, U = Y.ready().then(function() {
|
|
59951
59951
|
for (var ne = Y._dbInfo, ie = localStorage.length, te = [], me = 0; me < ie; me++) {
|
|
59952
59952
|
var _e = localStorage.key(me);
|
|
@@ -59954,26 +59954,26 @@ var RS = { exports: {} };
|
|
|
59954
59954
|
}
|
|
59955
59955
|
return te;
|
|
59956
59956
|
});
|
|
59957
|
-
return f(U,
|
|
59957
|
+
return f(U, F), U;
|
|
59958
59958
|
}
|
|
59959
|
-
function M7(
|
|
59959
|
+
function M7(F) {
|
|
59960
59960
|
var Y = this, U = Y.keys().then(function(ne) {
|
|
59961
59961
|
return ne.length;
|
|
59962
59962
|
});
|
|
59963
|
-
return f(U,
|
|
59963
|
+
return f(U, F), U;
|
|
59964
59964
|
}
|
|
59965
|
-
function N7(
|
|
59965
|
+
function N7(F, Y) {
|
|
59966
59966
|
var U = this;
|
|
59967
|
-
|
|
59967
|
+
F = p(F);
|
|
59968
59968
|
var ne = U.ready().then(function() {
|
|
59969
59969
|
var ie = U._dbInfo;
|
|
59970
|
-
localStorage.removeItem(ie.keyPrefix +
|
|
59970
|
+
localStorage.removeItem(ie.keyPrefix + F);
|
|
59971
59971
|
});
|
|
59972
59972
|
return f(ne, Y), ne;
|
|
59973
59973
|
}
|
|
59974
|
-
function O7(
|
|
59974
|
+
function O7(F, Y, U) {
|
|
59975
59975
|
var ne = this;
|
|
59976
|
-
|
|
59976
|
+
F = p(F);
|
|
59977
59977
|
var ie = ne.ready().then(function() {
|
|
59978
59978
|
Y === void 0 && (Y = null);
|
|
59979
59979
|
var te = Y;
|
|
@@ -59984,7 +59984,7 @@ var RS = { exports: {} };
|
|
|
59984
59984
|
_e(Re);
|
|
59985
59985
|
else
|
|
59986
59986
|
try {
|
|
59987
|
-
localStorage.setItem(Ce.keyPrefix +
|
|
59987
|
+
localStorage.setItem(Ce.keyPrefix + F, Te), me(te);
|
|
59988
59988
|
} catch (We) {
|
|
59989
59989
|
(We.name === "QuotaExceededError" || We.name === "NS_ERROR_DOM_QUOTA_REACHED") && _e(We), _e(We);
|
|
59990
59990
|
}
|
|
@@ -59993,14 +59993,14 @@ var RS = { exports: {} };
|
|
|
59993
59993
|
});
|
|
59994
59994
|
return f(ie, U), ie;
|
|
59995
59995
|
}
|
|
59996
|
-
function R7(
|
|
59997
|
-
if (Y = m.apply(this, arguments),
|
|
59996
|
+
function R7(F, Y) {
|
|
59997
|
+
if (Y = m.apply(this, arguments), F = typeof F != "function" && F || {}, !F.name) {
|
|
59998
59998
|
var U = this.config();
|
|
59999
|
-
|
|
59999
|
+
F.name = F.name || U.name, F.storeName = F.storeName || U.storeName;
|
|
60000
60000
|
}
|
|
60001
60001
|
var ne = this, ie;
|
|
60002
|
-
return
|
|
60003
|
-
|
|
60002
|
+
return F.name ? ie = new d(function(te) {
|
|
60003
|
+
F.storeName ? te(Xv(F, ne._defaultConfig)) : te(F.name + "/");
|
|
60004
60004
|
}).then(function(te) {
|
|
60005
60005
|
for (var me = localStorage.length - 1; me >= 0; me--) {
|
|
60006
60006
|
var _e = localStorage.key(me);
|
|
@@ -60030,8 +60030,8 @@ var RS = { exports: {} };
|
|
|
60030
60030
|
ie++;
|
|
60031
60031
|
}
|
|
60032
60032
|
return !1;
|
|
60033
|
-
}, Jv = Array.isArray || function(
|
|
60034
|
-
return Object.prototype.toString.call(
|
|
60033
|
+
}, Jv = Array.isArray || function(F) {
|
|
60034
|
+
return Object.prototype.toString.call(F) === "[object Array]";
|
|
60035
60035
|
}, ql = {}, Zv = {}, Sa = {
|
|
60036
60036
|
INDEXEDDB: Rt,
|
|
60037
60037
|
WEBSQL: y7,
|
|
@@ -60046,17 +60046,17 @@ var RS = { exports: {} };
|
|
|
60046
60046
|
storeName: "keyvaluepairs",
|
|
60047
60047
|
version: 1
|
|
60048
60048
|
};
|
|
60049
|
-
function P7(
|
|
60050
|
-
|
|
60049
|
+
function P7(F, Y) {
|
|
60050
|
+
F[Y] = function() {
|
|
60051
60051
|
var U = arguments;
|
|
60052
|
-
return
|
|
60053
|
-
return
|
|
60052
|
+
return F.ready().then(function() {
|
|
60053
|
+
return F[Y].apply(F, U);
|
|
60054
60054
|
});
|
|
60055
60055
|
};
|
|
60056
60056
|
}
|
|
60057
60057
|
function Hp() {
|
|
60058
|
-
for (var
|
|
60059
|
-
var Y = arguments[
|
|
60058
|
+
for (var F = 1; F < arguments.length; F++) {
|
|
60059
|
+
var Y = arguments[F];
|
|
60060
60060
|
if (Y)
|
|
60061
60061
|
for (var U in Y)
|
|
60062
60062
|
Y.hasOwnProperty(U) && (Jv(Y[U]) ? arguments[0][U] = Y[U].slice() : arguments[0][U] = Y[U]);
|
|
@@ -60064,8 +60064,8 @@ var RS = { exports: {} };
|
|
|
60064
60064
|
return arguments[0];
|
|
60065
60065
|
}
|
|
60066
60066
|
var F7 = function() {
|
|
60067
|
-
function
|
|
60068
|
-
s(this,
|
|
60067
|
+
function F(Y) {
|
|
60068
|
+
s(this, F);
|
|
60069
60069
|
for (var U in Sa)
|
|
60070
60070
|
if (Sa.hasOwnProperty(U)) {
|
|
60071
60071
|
var ne = Sa[U], ie = ne._driver;
|
|
@@ -60074,7 +60074,7 @@ var RS = { exports: {} };
|
|
|
60074
60074
|
this._defaultConfig = Hp({}, $7), this._config = Hp({}, this._defaultConfig, Y), this._driverSet = null, this._initDriver = null, this._ready = !1, this._dbInfo = null, this._wrapLibraryMethodsWithReady(), this.setDriver(this._config.driver).catch(function() {
|
|
60075
60075
|
});
|
|
60076
60076
|
}
|
|
60077
|
-
return
|
|
60077
|
+
return F.prototype.config = function(U) {
|
|
60078
60078
|
if ((typeof U > "u" ? "undefined" : i(U)) === "object") {
|
|
60079
60079
|
if (this._ready)
|
|
60080
60080
|
return new Error("Can't call config() after localforage has been used.");
|
|
@@ -60085,7 +60085,7 @@ var RS = { exports: {} };
|
|
|
60085
60085
|
}
|
|
60086
60086
|
return "driver" in U && U.driver ? this.setDriver(this._config.driver) : !0;
|
|
60087
60087
|
} else return typeof U == "string" ? this._config[U] : this._config;
|
|
60088
|
-
},
|
|
60088
|
+
}, F.prototype.defineDriver = function(U, ne, ie) {
|
|
60089
60089
|
var te = new d(function(me, _e) {
|
|
60090
60090
|
try {
|
|
60091
60091
|
var Ce = U._driver, Te = new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");
|
|
@@ -60121,20 +60121,20 @@ var RS = { exports: {} };
|
|
|
60121
60121
|
}
|
|
60122
60122
|
});
|
|
60123
60123
|
return h(te, ne, ie), te;
|
|
60124
|
-
},
|
|
60124
|
+
}, F.prototype.driver = function() {
|
|
60125
60125
|
return this._driver || null;
|
|
60126
|
-
},
|
|
60126
|
+
}, F.prototype.getDriver = function(U, ne, ie) {
|
|
60127
60127
|
var te = ql[U] ? d.resolve(ql[U]) : d.reject(new Error("Driver not found."));
|
|
60128
60128
|
return h(te, ne, ie), te;
|
|
60129
|
-
},
|
|
60129
|
+
}, F.prototype.getSerializer = function(U) {
|
|
60130
60130
|
var ne = d.resolve(Dt);
|
|
60131
60131
|
return h(ne, U), ne;
|
|
60132
|
-
},
|
|
60132
|
+
}, F.prototype.ready = function(U) {
|
|
60133
60133
|
var ne = this, ie = ne._driverSet.then(function() {
|
|
60134
60134
|
return ne._ready === null && (ne._ready = ne._initDriver()), ne._ready;
|
|
60135
60135
|
});
|
|
60136
60136
|
return h(ie, U, U), ie;
|
|
60137
|
-
},
|
|
60137
|
+
}, F.prototype.setDriver = function(U, ne, ie) {
|
|
60138
60138
|
var te = this;
|
|
60139
60139
|
Jv(U) || (U = [U]);
|
|
60140
60140
|
var me = this._getSupportedDrivers(U);
|
|
@@ -60172,22 +60172,22 @@ var RS = { exports: {} };
|
|
|
60172
60172
|
var We = new Error("No available storage method found.");
|
|
60173
60173
|
return te._driverSet = d.reject(We), te._driverSet;
|
|
60174
60174
|
}), h(this._driverSet, ne, ie), this._driverSet;
|
|
60175
|
-
},
|
|
60175
|
+
}, F.prototype.supports = function(U) {
|
|
60176
60176
|
return !!Zv[U];
|
|
60177
|
-
},
|
|
60177
|
+
}, F.prototype._extend = function(U) {
|
|
60178
60178
|
Hp(this, U);
|
|
60179
|
-
},
|
|
60179
|
+
}, F.prototype._getSupportedDrivers = function(U) {
|
|
60180
60180
|
for (var ne = [], ie = 0, te = U.length; ie < te; ie++) {
|
|
60181
60181
|
var me = U[ie];
|
|
60182
60182
|
this.supports(me) && ne.push(me);
|
|
60183
60183
|
}
|
|
60184
60184
|
return ne;
|
|
60185
|
-
},
|
|
60185
|
+
}, F.prototype._wrapLibraryMethodsWithReady = function() {
|
|
60186
60186
|
for (var U = 0, ne = zp.length; U < ne; U++)
|
|
60187
60187
|
P7(this, zp[U]);
|
|
60188
|
-
},
|
|
60189
|
-
return new
|
|
60190
|
-
},
|
|
60188
|
+
}, F.prototype.createInstance = function(U) {
|
|
60189
|
+
return new F(U);
|
|
60190
|
+
}, F;
|
|
60191
60191
|
}(), z7 = new F7();
|
|
60192
60192
|
r.exports = z7;
|
|
60193
60193
|
}, { 3: 3 }] }, {}, [4])(4);
|
|
@@ -60496,7 +60496,7 @@ const nG = { class: "smart-shortcuts-drawer-header h-32" }, rG = { class: "histo
|
|
|
60496
60496
|
}, E = Ze(() => h.value.reduce((z, q) => (z[`--${q.key}-font`] = q.font, z[`--${q.key}-size`] = `${q.size}px`, z), {})), T = (z) => {
|
|
60497
60497
|
const q = /(\d+)|([a-zA-Z\u00c0-\u024f\s]+)|([\p{P}\p{S}]+)/gu;
|
|
60498
60498
|
return z.replace(q, (se, be, Se, Le) => be ? `<span style="font-family:var(--num-font);font-size:var(--num-size)">${be}</span>` : Se ? `<span style="font-family:var(--en-font);font-size:var(--en-size)">${Se}</span>` : Le ? `<span style="font-family:var(--punc-font);font-size:var(--punc-size)">${Le}</span>` : se);
|
|
60499
|
-
},
|
|
60499
|
+
}, N = le(!1), H = le(0), L = Ze(() => m.value.some((z) => z.font || z.size)), J = Ze(() => {
|
|
60500
60500
|
H.value;
|
|
60501
60501
|
const z = localStorage.getItem("G" + s);
|
|
60502
60502
|
if (!z) return !0;
|
|
@@ -60509,7 +60509,7 @@ const nG = { class: "smart-shortcuts-drawer-header h-32" }, rG = { class: "histo
|
|
|
60509
60509
|
}), Z = async () => {
|
|
60510
60510
|
if (!L.value)
|
|
60511
60511
|
return kn.message.error("请至少勾选一个应用范围!");
|
|
60512
|
-
|
|
60512
|
+
N.value = !0;
|
|
60513
60513
|
try {
|
|
60514
60514
|
s && (localStorage.setItem(
|
|
60515
60515
|
"G" + s,
|
|
@@ -60521,11 +60521,11 @@ const nG = { class: "smart-shortcuts-drawer-header h-32" }, rG = { class: "histo
|
|
|
60521
60521
|
} catch {
|
|
60522
60522
|
kn.message.error("保存失败");
|
|
60523
60523
|
} finally {
|
|
60524
|
-
|
|
60524
|
+
N.value = !1;
|
|
60525
60525
|
}
|
|
60526
60526
|
}, A = () => {
|
|
60527
|
-
i.value === "global" ? o.value = !0 : s && (localStorage.setItem("P" + s, JSON.stringify(f.value)),
|
|
60528
|
-
},
|
|
60527
|
+
i.value === "global" ? o.value = !0 : s && (localStorage.setItem("P" + s, JSON.stringify(f.value)), P(), kn.message.success("局部配置保存成功"));
|
|
60528
|
+
}, P = () => {
|
|
60529
60529
|
r.value = !1;
|
|
60530
60530
|
}, I = () => {
|
|
60531
60531
|
o.value = !1;
|
|
@@ -60589,7 +60589,7 @@ const nG = { class: "smart-shortcuts-drawer-header h-32" }, rG = { class: "histo
|
|
|
60589
60589
|
X(se, {
|
|
60590
60590
|
quaternary: "",
|
|
60591
60591
|
circle: "",
|
|
60592
|
-
onClick:
|
|
60592
|
+
onClick: P
|
|
60593
60593
|
}, {
|
|
60594
60594
|
icon: ae(() => [...q[2] || (q[2] = [
|
|
60595
60595
|
W("div", { class: "i-lucide-x" }, null, -1)
|
|
@@ -60618,7 +60618,7 @@ const nG = { class: "smart-shortcuts-drawer-header h-32" }, rG = { class: "histo
|
|
|
60618
60618
|
size: "tiny",
|
|
60619
60619
|
type: "primary",
|
|
60620
60620
|
class: "h-24 px-8 rounded-4",
|
|
60621
|
-
loading:
|
|
60621
|
+
loading: N.value,
|
|
60622
60622
|
onClick: Z
|
|
60623
60623
|
}, {
|
|
60624
60624
|
default: ae(() => [...q[5] || (q[5] = [
|
|
@@ -60748,7 +60748,7 @@ const nG = { class: "smart-shortcuts-drawer-header h-32" }, rG = { class: "histo
|
|
|
60748
60748
|
X(se, {
|
|
60749
60749
|
"theme-overrides": S,
|
|
60750
60750
|
class: "px-24 !rounded-8",
|
|
60751
|
-
onClick:
|
|
60751
|
+
onClick: P
|
|
60752
60752
|
}, {
|
|
60753
60753
|
default: ae(() => [...q[11] || (q[11] = [
|
|
60754
60754
|
Et("关闭", -1)
|
|
@@ -60910,7 +60910,7 @@ const BG = {
|
|
|
60910
60910
|
k.value && b(), _();
|
|
60911
60911
|
});
|
|
60912
60912
|
});
|
|
60913
|
-
const E = le(null), T = le(null),
|
|
60913
|
+
const E = le(null), T = le(null), N = Ze(() => [
|
|
60914
60914
|
{
|
|
60915
60915
|
category: "continue_write",
|
|
60916
60916
|
iconSvg: "assistant-keep-write",
|
|
@@ -61010,12 +61010,12 @@ const BG = {
|
|
|
61010
61010
|
break;
|
|
61011
61011
|
Qe += tt.decode(ct, { stream: !0 });
|
|
61012
61012
|
}
|
|
61013
|
-
q(new Error(JSON.parse(Qe || JSON.stringify("")).message || "请求失败!")),
|
|
61013
|
+
q(new Error(JSON.parse(Qe || JSON.stringify("")).message || "请求失败!")), P();
|
|
61014
61014
|
return;
|
|
61015
61015
|
}
|
|
61016
61016
|
const Le = Se.body.getReader();
|
|
61017
61017
|
if (!Le) {
|
|
61018
|
-
q(new Error("内容错误")),
|
|
61018
|
+
q(new Error("内容错误")), P();
|
|
61019
61019
|
return;
|
|
61020
61020
|
}
|
|
61021
61021
|
const De = new TextDecoder();
|
|
@@ -61037,15 +61037,15 @@ const BG = {
|
|
|
61037
61037
|
}
|
|
61038
61038
|
}
|
|
61039
61039
|
} catch (Se) {
|
|
61040
|
-
Se.name === "AbortError" && (a.value = !1), q(new Error("AI生成中断")),
|
|
61040
|
+
Se.name === "AbortError" && (a.value = !1), q(new Error("AI生成中断")), P();
|
|
61041
61041
|
}
|
|
61042
61042
|
}
|
|
61043
|
-
function
|
|
61043
|
+
function P() {
|
|
61044
61044
|
var R;
|
|
61045
61045
|
r.value = !1, o.value = !1, (R = n.value) == null || R.commands.focus();
|
|
61046
61046
|
}
|
|
61047
61047
|
function I() {
|
|
61048
|
-
T.value && T.value.abort(),
|
|
61048
|
+
T.value && T.value.abort(), P();
|
|
61049
61049
|
}
|
|
61050
61050
|
Sn(() => {
|
|
61051
61051
|
pf("esc", () => {
|
|
@@ -61058,12 +61058,12 @@ const BG = {
|
|
|
61058
61058
|
function D() {
|
|
61059
61059
|
var q, se;
|
|
61060
61060
|
const { to: R } = (q = n.value) == null ? void 0 : q.state.selection, z = s ? s(m.value.natureContent, !1) : m.value.natureContent;
|
|
61061
|
-
(se = n.value) == null || se.chain().focus().insertContentAt(R, S(z)).run(),
|
|
61061
|
+
(se = n.value) == null || se.chain().focus().insertContentAt(R, S(z)).run(), P();
|
|
61062
61062
|
}
|
|
61063
61063
|
function C() {
|
|
61064
61064
|
var se, be;
|
|
61065
61065
|
const { from: R, to: z } = (se = n.value) == null ? void 0 : se.state.selection, q = s ? s(m.value.natureContent, !1) : m.value.natureContent;
|
|
61066
|
-
(be = n.value) == null || be.chain().focus().insertContentAt({ from: R, to: z }, S(q)).run(),
|
|
61066
|
+
(be = n.value) == null || be.chain().focus().insertContentAt({ from: R, to: z }, S(q)).run(), P();
|
|
61067
61067
|
}
|
|
61068
61068
|
return Yn(() => {
|
|
61069
61069
|
T.value && T.value.abort();
|
|
@@ -61112,7 +61112,7 @@ const BG = {
|
|
|
61112
61112
|
}, Oe(v(M)("assistant.rewrite")), 1),
|
|
61113
61113
|
W("button", {
|
|
61114
61114
|
class: "operation_button",
|
|
61115
|
-
onClick:
|
|
61115
|
+
onClick: P
|
|
61116
61116
|
}, Oe(v(M)("assistant.close")), 1)
|
|
61117
61117
|
])),
|
|
61118
61118
|
W("div", {
|
|
@@ -61130,7 +61130,7 @@ const BG = {
|
|
|
61130
61130
|
])) : Ue("", !0)
|
|
61131
61131
|
], 2),
|
|
61132
61132
|
v(m).content === "" && !v(a) ? ($(), ce("div", qG, [
|
|
61133
|
-
($(!0), ce(Je, null, qt(v(
|
|
61133
|
+
($(!0), ce(Je, null, qt(v(N), (q, se) => ($(), ce("div", {
|
|
61134
61134
|
key: se,
|
|
61135
61135
|
class: "prompt_item",
|
|
61136
61136
|
onClick: (be) => A(q)
|
|
@@ -69259,13 +69259,13 @@ const V2 = (t, e) => {
|
|
|
69259
69259
|
(function(f, h) {
|
|
69260
69260
|
const { view: p } = h;
|
|
69261
69261
|
if (!f.dataTransfer) return;
|
|
69262
|
-
const { empty: m, $from: g, $to: b } = p.state.selection, _ = rZ(f, h), k = Pp(g, b, 0), w = k.some((A) => _.find((
|
|
69262
|
+
const { empty: m, $from: g, $to: b } = p.state.selection, _ = rZ(f, h), k = Pp(g, b, 0), w = k.some((A) => _.find((P) => P.$from === A.$from && P.$to === A.$to)), E = m || !w ? _ : k;
|
|
69263
69263
|
if (!E.length) return;
|
|
69264
|
-
const { tr: T } = p.state,
|
|
69264
|
+
const { tr: T } = p.state, N = document.createElement("div"), H = E[0].$from.pos, L = E[E.length - 1].$to.pos, J = es.create(p.state.doc, H, L), Z = J.content();
|
|
69265
69265
|
E.forEach((A) => {
|
|
69266
|
-
const
|
|
69267
|
-
|
|
69268
|
-
}),
|
|
69266
|
+
const P = tZ(p.nodeDOM(A.$from.pos));
|
|
69267
|
+
N.append(P);
|
|
69268
|
+
}), N.style.position = "absolute", N.style.top = "-10000px", document.body.append(N), f.dataTransfer.clearData(), f.dataTransfer.setDragImage(N, 0, 0), p.dragging = { slice: Z, move: !0 }, T.setSelection(J), p.dispatch(T), document.addEventListener("drop", () => U2(N), { once: !0 });
|
|
69269
69269
|
})(d, n), setTimeout(() => {
|
|
69270
69270
|
e && (e.style.pointerEvents = "none");
|
|
69271
69271
|
}, 0);
|
|
@@ -69526,7 +69526,7 @@ const oZ = Mo({ name: "DragHandleVue", props: { pluginKey: { type: [String, Obje
|
|
|
69526
69526
|
key: T,
|
|
69527
69527
|
class: "smart-color-picker-item",
|
|
69528
69528
|
style: Yt({ backgroundColor: E }),
|
|
69529
|
-
onClick: (
|
|
69529
|
+
onClick: (N) => p(E)
|
|
69530
69530
|
}, null, 12, fZ))), 128))
|
|
69531
69531
|
]),
|
|
69532
69532
|
W("div", {
|
|
@@ -69538,7 +69538,7 @@ const oZ = Mo({ name: "DragHandleVue", props: { pluginKey: { type: [String, Obje
|
|
|
69538
69538
|
key: T,
|
|
69539
69539
|
class: "smart-color-picker-item",
|
|
69540
69540
|
style: Yt({ backgroundColor: E }),
|
|
69541
|
-
onClick: (
|
|
69541
|
+
onClick: (N) => p(E)
|
|
69542
69542
|
}, null, 12, mZ)), 64))
|
|
69543
69543
|
]),
|
|
69544
69544
|
v(s).colors.length > 0 ? ($(), ce(Je, { key: 0 }, [
|
|
@@ -69551,7 +69551,7 @@ const oZ = Mo({ name: "DragHandleVue", props: { pluginKey: { type: [String, Obje
|
|
|
69551
69551
|
key: T,
|
|
69552
69552
|
class: "smart-color-picker-item",
|
|
69553
69553
|
style: Yt({ backgroundColor: E }),
|
|
69554
|
-
onClick: (
|
|
69554
|
+
onClick: (N) => p(E)
|
|
69555
69555
|
}, null, 12, vZ))), 128))
|
|
69556
69556
|
])
|
|
69557
69557
|
], 64)) : Ue("", !0),
|
|
@@ -70515,8 +70515,8 @@ const _Z = {
|
|
|
70515
70515
|
if (l.value)
|
|
70516
70516
|
if (l.value.$anchorCell && l.value.$headCell) {
|
|
70517
70517
|
const E = (g = o.value) == null ? void 0 : g.state.tr;
|
|
70518
|
-
E && (l.value.forEachCell((T,
|
|
70519
|
-
E.setNodeMarkup(
|
|
70518
|
+
E && (l.value.forEachCell((T, N) => {
|
|
70519
|
+
E.setNodeMarkup(N, null, {
|
|
70520
70520
|
...T.attrs,
|
|
70521
70521
|
backgroundColor: m
|
|
70522
70522
|
});
|
|
@@ -71062,7 +71062,7 @@ const _Z = {
|
|
|
71062
71062
|
});
|
|
71063
71063
|
return (i, s) => {
|
|
71064
71064
|
var se, be, Se, Le, De, Be, tt, Qe, lt, ct, Ot, Ft;
|
|
71065
|
-
const a = eQ, l = QZ, c = ZZ, u = GZ, d = KZ, f = qZ, h = WZ, p = VZ, m = PZ, g = $Z, b = BZ, _ = LZ, k = DZ, w = IZ, E = RZ, T = OZ,
|
|
71065
|
+
const a = eQ, l = QZ, c = ZZ, u = GZ, d = KZ, f = qZ, h = WZ, p = VZ, m = PZ, g = $Z, b = BZ, _ = LZ, k = DZ, w = IZ, E = RZ, T = OZ, N = MZ, H = AZ, L = TZ, J = SZ, Z = EZ, A = xZ, P = u7, I = c7, S = l7, D = a7, C = s7, R = i7, z = o7, q = lZ;
|
|
71066
71066
|
return (se = v(n)) != null && se.isActive("map") || (be = v(n)) != null && be.getAttributes("bubble").bubble || (Se = v(n)) != null && Se.isActive("pagination") || (Le = v(n)) != null && Le.isActive("horizontalRule") || (De = v(n)) != null && De.getAttributes("image").error || v(r) ? ($(), ce(Je, { key: 0 }, [], 64)) : (Be = v(n)) != null && Be.isActive("image") && !((tt = v(n)) != null && tt.getAttributes("image").error) ? ($(), ce(Je, { key: 1 }, [
|
|
71067
71067
|
X(a),
|
|
71068
71068
|
X(l),
|
|
@@ -71084,7 +71084,7 @@ const _Z = {
|
|
|
71084
71084
|
X(E),
|
|
71085
71085
|
s[2] || (s[2] = W("div", { class: "smart-bubble-menu-divider" }, null, -1)),
|
|
71086
71086
|
X(T),
|
|
71087
|
-
X(
|
|
71087
|
+
X(N),
|
|
71088
71088
|
X(H)
|
|
71089
71089
|
], 64)) : (lt = v(n)) != null && lt.isActive("codeBlock") ? ($(), ce(Je, { key: 3 }, [], 64)) : (ct = v(n)) != null && ct.isActive("highlightBlock") ? ($(), ce(Je, { key: 4 }, [
|
|
71090
71090
|
X(L),
|
|
@@ -71094,7 +71094,7 @@ const _Z = {
|
|
|
71094
71094
|
X(A),
|
|
71095
71095
|
s[3] || (s[3] = W("div", { class: "smart-bubble-menu-divider" }, null, -1))
|
|
71096
71096
|
], 64)) : Ue("", !0),
|
|
71097
|
-
X(
|
|
71097
|
+
X(P),
|
|
71098
71098
|
X(I),
|
|
71099
71099
|
X(S),
|
|
71100
71100
|
X(D),
|
|
@@ -71527,8 +71527,8 @@ const kQ = {
|
|
|
71527
71527
|
const { options: e, editor: n, painter: r, setEditor: o, editorDestroyed: i, assistantOutput: s } = ve(), a = new As();
|
|
71528
71528
|
(f = e.value.history) != null && f.enable && new wQ(`document-${e.value.editorKey}`, a).on("synced", async () => {
|
|
71529
71529
|
var L, J, Z, A;
|
|
71530
|
-
const T = new IS(`history-${e.value.editorKey}`, "version"),
|
|
71531
|
-
|
|
71530
|
+
const T = new IS(`history-${e.value.editorKey}`, "version"), N = vf(JSON.stringify((L = e.value.document) == null ? void 0 : L.content)), H = vf(JSON.stringify(n.value.getJSON()));
|
|
71531
|
+
N !== H && await T.saveItem(H, {
|
|
71532
71532
|
content: n.value.getJSON(),
|
|
71533
71533
|
time: bf().unix(),
|
|
71534
71534
|
version: "local",
|
|
@@ -71545,19 +71545,28 @@ const kQ = {
|
|
|
71545
71545
|
},
|
|
71546
71546
|
handlePaste(E, T) {
|
|
71547
71547
|
var L;
|
|
71548
|
-
const
|
|
71548
|
+
const N = ((L = T.clipboardData) == null ? void 0 : L.getData("text/plain")) ?? "", { from: H } = E.state.selection;
|
|
71549
71549
|
return setTimeout(() => {
|
|
71550
|
-
if (DF(
|
|
71550
|
+
if (DF(N)) {
|
|
71551
71551
|
const { to: J } = E.state.selection, { renderMarkdown: Z } = e.value.assistant;
|
|
71552
71552
|
l(() => {
|
|
71553
|
-
var
|
|
71554
|
-
const A =
|
|
71555
|
-
(
|
|
71553
|
+
var P;
|
|
71554
|
+
const A = N.replace(/\$\$([\s\S]*?)\$\$/g, (I, S) => `<p style="text-align: center;">$${S.trim()}$</p>`);
|
|
71555
|
+
(P = n.value) == null || P.chain().focus().insertContentAt({ from: H, to: J }, Z ? Z(A, !1) : N).run();
|
|
71556
71556
|
});
|
|
71557
71557
|
}
|
|
71558
71558
|
}, 0), !1;
|
|
71559
71559
|
},
|
|
71560
|
-
...(b = e.value.document) == null ? void 0 : b.editorProps
|
|
71560
|
+
...(b = e.value.document) == null ? void 0 : b.editorProps,
|
|
71561
|
+
// Windows CF_HTML 会带 StartFragment/EndFragment;prosemirror-view>=1.42 解析后易产生多余换行
|
|
71562
|
+
transformPastedHTML(E) {
|
|
71563
|
+
var A, P;
|
|
71564
|
+
const T = "<!--StartFragment-->", N = "<!--EndFragment-->", H = E.indexOf(T), L = E.indexOf(N);
|
|
71565
|
+
let J = E;
|
|
71566
|
+
H !== -1 && L !== -1 && L > H && (J = E.slice(H + T.length, L).trim());
|
|
71567
|
+
const Z = (P = (A = e.value.document) == null ? void 0 : A.editorProps) == null ? void 0 : P.transformPastedHTML;
|
|
71568
|
+
return Z ? Z(J) : J;
|
|
71569
|
+
}
|
|
71561
71570
|
},
|
|
71562
71571
|
extensions: (_ = e.value.history) != null && _.enable ? [...Wg({ history: !((w = e.value.history) != null && w.enable) }), QJ.configure({ document: a })] : [...Wg({ history: !((k = e.value.history) != null && k.enable) })]
|
|
71563
71572
|
});
|
|
@@ -71565,17 +71574,17 @@ const kQ = {
|
|
|
71565
71574
|
c();
|
|
71566
71575
|
}), o(u);
|
|
71567
71576
|
function d() {
|
|
71568
|
-
var T,
|
|
71577
|
+
var T, N;
|
|
71569
71578
|
if (document.querySelector("#katex-style") === null && !((T = e.value.toolbar) != null && T.disableMenuItems.includes("math"))) {
|
|
71570
71579
|
const H = document.createElement("link");
|
|
71571
|
-
H.href = "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.9/katex.min.css", H.rel = "stylesheet", H.id = "katex-style", (
|
|
71580
|
+
H.href = "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.9/katex.min.css", H.rel = "stylesheet", H.id = "katex-style", (N = document.querySelector("head")) == null || N.append(H);
|
|
71572
71581
|
}
|
|
71573
71582
|
}
|
|
71574
71583
|
return Sn(() => d()), Yn(() => {
|
|
71575
71584
|
u.destroy();
|
|
71576
71585
|
}), (E, T) => {
|
|
71577
71586
|
var L;
|
|
71578
|
-
const
|
|
71587
|
+
const N = sQ, H = aZ;
|
|
71579
71588
|
return $(), ce(Je, null, [
|
|
71580
71589
|
X(v(Zh), {
|
|
71581
71590
|
editor: v(n),
|
|
@@ -71584,12 +71593,12 @@ const kQ = {
|
|
|
71584
71593
|
mark: v(s)
|
|
71585
71594
|
}])
|
|
71586
71595
|
}, null, 8, ["editor", "class"]),
|
|
71587
|
-
v(n) && !v(i) ? ($(), ee(
|
|
71596
|
+
v(n) && !v(i) ? ($(), ee(N, { key: 0 })) : Ue("", !0),
|
|
71588
71597
|
(L = v(e).document) != null && L.enableBlockMenu && v(n) && !v(i) ? ($(), ee(H, { key: 1 })) : Ue("", !0)
|
|
71589
71598
|
], 64);
|
|
71590
71599
|
};
|
|
71591
71600
|
}
|
|
71592
|
-
}, EQ = /* @__PURE__ */ rt(kQ, [["__scopeId", "data-v-
|
|
71601
|
+
}, EQ = /* @__PURE__ */ rt(kQ, [["__scopeId", "data-v-5cdefd9d"]]), SQ = { class: "smart-toc-container" }, CQ = ["textContent"], TQ = {
|
|
71593
71602
|
__name: "toc",
|
|
71594
71603
|
setup(t) {
|
|
71595
71604
|
const { editor: e } = ve(), n = le([]);
|
|
@@ -71800,8 +71809,8 @@ const kQ = {
|
|
|
71800
71809
|
}, 0);
|
|
71801
71810
|
}
|
|
71802
71811
|
function m(g) {
|
|
71803
|
-
var T,
|
|
71804
|
-
const { editor: b } = ve(), _ = (
|
|
71812
|
+
var T, N, H, L, J;
|
|
71813
|
+
const { editor: b } = ve(), _ = (N = (T = b.value) == null ? void 0 : T.view) == null ? void 0 : N.dom;
|
|
71805
71814
|
if (!_) return;
|
|
71806
71815
|
const k = (H = b.value) == null ? void 0 : H.state.doc.lastChild, w = _.getBoundingClientRect();
|
|
71807
71816
|
g.clientY > w.bottom && (k && (k.type.name !== "paragraph" || k.content.size !== 0) ? (L = b.value) == null || L.chain().focus().insertContentAt(b.value.state.doc.content.size, "<p></p>").run() : (J = b.value) == null || J.chain().focus().run());
|
|
@@ -71809,8 +71818,8 @@ const kQ = {
|
|
|
71809
71818
|
return Sn(() => {
|
|
71810
71819
|
d();
|
|
71811
71820
|
}), (g, b) => {
|
|
71812
|
-
var A,
|
|
71813
|
-
const _ = AQ, k = EQ, w = XG, E = ga, T = Q7,
|
|
71821
|
+
var A, P;
|
|
71822
|
+
const _ = AQ, k = EQ, w = XG, E = ga, T = Q7, N = DG, H = uG, L = GI, J = Z7, Z = NI;
|
|
71814
71823
|
return $(), ce("div", MQ, [
|
|
71815
71824
|
v(r).extendRead ? Ue("", !0) : ($(), ee(_, { key: 0 })),
|
|
71816
71825
|
W("div", NQ, [
|
|
@@ -71831,7 +71840,7 @@ const kQ = {
|
|
|
71831
71840
|
ref_key: "editorRef",
|
|
71832
71841
|
ref: a
|
|
71833
71842
|
}, null, 512),
|
|
71834
|
-
(
|
|
71843
|
+
(P = (A = v(r)) == null ? void 0 : A.assistant) != null && P.enabled && v(o) ? ($(), ee(w, { key: 0 })) : Ue("", !0)
|
|
71835
71844
|
], 4)
|
|
71836
71845
|
], 4)
|
|
71837
71846
|
]),
|
|
@@ -71903,7 +71912,7 @@ const kQ = {
|
|
|
71903
71912
|
}, {
|
|
71904
71913
|
trigger: ae(() => [
|
|
71905
71914
|
W("div", null, [
|
|
71906
|
-
X(
|
|
71915
|
+
X(N, null, {
|
|
71907
71916
|
icon: ae(({ onClick: I }) => [
|
|
71908
71917
|
W("div", {
|
|
71909
71918
|
class: "h-36 w-36 f-c-c cursor-pointer border border-[#ECEFF4] rounded-full border-solid text-16 text-[#666] shadow-[0px_6px_12px_0px_rgba(0,40,134,0.05)] hover:text-[var(--se-primary-color)]",
|
|
@@ -73014,7 +73023,7 @@ const kQ = {
|
|
|
73014
73023
|
At.off(g);
|
|
73015
73024
|
});
|
|
73016
73025
|
const b = Ze(() => {
|
|
73017
|
-
var k, w, E, T,
|
|
73026
|
+
var k, w, E, T, N, H, L, J, Z, A, P;
|
|
73018
73027
|
return [
|
|
73019
73028
|
{
|
|
73020
73029
|
label: M("moreBar.quote"),
|
|
@@ -73371,7 +73380,7 @@ const kQ = {
|
|
|
73371
73380
|
a.value = !0, l.value = ["superCourse", "codeOnline"], c.value = M("moreBar.title") + M("moreBar.codeOnline");
|
|
73372
73381
|
}
|
|
73373
73382
|
},
|
|
73374
|
-
show: !!((
|
|
73383
|
+
show: !!((N = (T = o.value.render.superCourse) == null ? void 0 : T.type) != null && N.includes("codeOnline"))
|
|
73375
73384
|
},
|
|
73376
73385
|
{
|
|
73377
73386
|
label: M("moreBar.calculator"),
|
|
@@ -73404,7 +73413,7 @@ const kQ = {
|
|
|
73404
73413
|
a.value = !0, l.value = ["superCourse", "charts"], c.value = `${M("moreBar.title")}在线图表`;
|
|
73405
73414
|
}
|
|
73406
73415
|
},
|
|
73407
|
-
show: !!((
|
|
73416
|
+
show: !!((P = (A = o.value.render.superCourse) == null ? void 0 : A.type) != null && P.includes("charts"))
|
|
73408
73417
|
}
|
|
73409
73418
|
]
|
|
73410
73419
|
},
|
|
@@ -73437,7 +73446,7 @@ const kQ = {
|
|
|
73437
73446
|
}
|
|
73438
73447
|
return (k, w) => {
|
|
73439
73448
|
var bt;
|
|
73440
|
-
const E = jr, T = Ch,
|
|
73449
|
+
const E = jr, T = Ch, N = wee, H = o7, L = _ee, J = vee, Z = bee, A = u7, P = c7, I = l7, S = a7, D = s7, C = i7, R = gee, z = mee, q = pee, se = hee, be = aee, Se = see, Le = iee, De = oee, Be = ree, tt = nee, Qe = tee, lt = XQ, ct = qQ, Ot = WQ, Ft = HQ, Rt = zQ, Vt = FQ;
|
|
73441
73450
|
return $(), ce(Je, null, [
|
|
73442
73451
|
Sc(($(), ee(Vt, {
|
|
73443
73452
|
id: v(s).substr(1),
|
|
@@ -73474,7 +73483,7 @@ const kQ = {
|
|
|
73474
73483
|
}, 8, ["options"])
|
|
73475
73484
|
]),
|
|
73476
73485
|
W("div", Eee, [
|
|
73477
|
-
X(
|
|
73486
|
+
X(N),
|
|
73478
73487
|
X(H)
|
|
73479
73488
|
]),
|
|
73480
73489
|
W("div", See, [
|
|
@@ -73482,7 +73491,7 @@ const kQ = {
|
|
|
73482
73491
|
X(J),
|
|
73483
73492
|
X(Z),
|
|
73484
73493
|
X(A),
|
|
73485
|
-
X(
|
|
73494
|
+
X(P),
|
|
73486
73495
|
X(I),
|
|
73487
73496
|
X(S),
|
|
73488
73497
|
X(D),
|
|
@@ -73595,7 +73604,7 @@ const Bee = /* @__PURE__ */ rt(Iee, [["render", Lee], ["__scopeId", "data-v-3d91
|
|
|
73595
73604
|
var L;
|
|
73596
73605
|
return !((L = a.value.document) != null && L.readOnly);
|
|
73597
73606
|
}), b = rl("locale"), _ = le(!1), k = Mh(async () => {
|
|
73598
|
-
var J, Z, A,
|
|
73607
|
+
var J, Z, A, P, I, S, D;
|
|
73599
73608
|
if ((J = a.value.document) != null && J.readOnly)
|
|
73600
73609
|
return;
|
|
73601
73610
|
let L = null;
|
|
@@ -73605,7 +73614,7 @@ const Bee = /* @__PURE__ */ rt(Iee, [["render", Lee], ["__scopeId", "data-v-3d91
|
|
|
73605
73614
|
if (!await ((D = (A = a.value) == null ? void 0 : A.onSave) == null ? void 0 : D.call(
|
|
73606
73615
|
A,
|
|
73607
73616
|
{
|
|
73608
|
-
html: (
|
|
73617
|
+
html: (P = c.value) == null ? void 0 : P.getHTML(),
|
|
73609
73618
|
json: (I = c.value) == null ? void 0 : I.getJSON(),
|
|
73610
73619
|
text: (S = c.value) == null ? void 0 : S.getHTML(),
|
|
73611
73620
|
version: C,
|
|
@@ -73678,14 +73687,14 @@ const Bee = /* @__PURE__ */ rt(Iee, [["render", Lee], ["__scopeId", "data-v-3d91
|
|
|
73678
73687
|
() => u(r),
|
|
73679
73688
|
{ deep: !0 }
|
|
73680
73689
|
);
|
|
73681
|
-
const
|
|
73690
|
+
const N = () => {
|
|
73682
73691
|
var L;
|
|
73683
73692
|
return (L = c.value) == null ? void 0 : L.commands.unsetFormatPainter();
|
|
73684
73693
|
};
|
|
73685
73694
|
pf("ctrl+s,command+s", () => {
|
|
73686
|
-
k(),
|
|
73695
|
+
k(), N();
|
|
73687
73696
|
}), pf("esc", () => {
|
|
73688
|
-
|
|
73697
|
+
N();
|
|
73689
73698
|
});
|
|
73690
73699
|
function H() {
|
|
73691
73700
|
var L;
|
|
@@ -73727,7 +73736,7 @@ const Bee = /* @__PURE__ */ rt(Iee, [["render", Lee], ["__scopeId", "data-v-3d91
|
|
|
73727
73736
|
getJSON: () => T("json"),
|
|
73728
73737
|
saveContent: k
|
|
73729
73738
|
}), (L, J) => {
|
|
73730
|
-
const Z = Pee, A = rC,
|
|
73739
|
+
const Z = Pee, A = rC, P = $ee, I = oC, S = Bee, D = $Q, C = d1;
|
|
73731
73740
|
return $(), ee(C, {
|
|
73732
73741
|
"cls-prefix": "se",
|
|
73733
73742
|
"theme-overrides": v(T1),
|
|
@@ -73743,7 +73752,7 @@ const Bee = /* @__PURE__ */ rt(Iee, [["render", Lee], ["__scopeId", "data-v-3d91
|
|
|
73743
73752
|
}),
|
|
73744
73753
|
X(I, { to: ".smart-editor-container" }, {
|
|
73745
73754
|
default: ae(() => [
|
|
73746
|
-
X(
|
|
73755
|
+
X(P)
|
|
73747
73756
|
]),
|
|
73748
73757
|
_: 1
|
|
73749
73758
|
}),
|
|
@@ -74509,8 +74518,8 @@ const xte = {
|
|
|
74509
74518
|
ignore: [m, ".smart-popup"]
|
|
74510
74519
|
}
|
|
74511
74520
|
), (_, k) => {
|
|
74512
|
-
const w = jr, E = Ch, T = c1,
|
|
74513
|
-
return $(), ee(
|
|
74521
|
+
const w = jr, E = Ch, T = c1, N = ga;
|
|
74522
|
+
return $(), ee(N, {
|
|
74514
74523
|
show: v(l) && !v(c) && t.showTooltip,
|
|
74515
74524
|
placement: "bottom",
|
|
74516
74525
|
to: v(i),
|
|
@@ -74621,7 +74630,7 @@ const xte = {
|
|
|
74621
74630
|
W("p", Dte, Oe(t.text), 1),
|
|
74622
74631
|
t.shortcutText ? ($(), ce("kbd", Lte, Oe(v(yr)(t.shortcutText)), 1)) : Ue("", !0)
|
|
74623
74632
|
]),
|
|
74624
|
-
X(
|
|
74633
|
+
X(N, {
|
|
74625
74634
|
show: t.popupVisible,
|
|
74626
74635
|
placement: "bottom",
|
|
74627
74636
|
to: v(i),
|
|
@@ -74651,7 +74660,7 @@ const xte = {
|
|
|
74651
74660
|
}, 8, ["show", "to"])
|
|
74652
74661
|
]),
|
|
74653
74662
|
_: 3
|
|
74654
|
-
}, 16, ["class", "disabled"])) : ($(), ee(
|
|
74663
|
+
}, 16, ["class", "disabled"])) : ($(), ee(N, {
|
|
74655
74664
|
key: 1,
|
|
74656
74665
|
show: t.popupVisible,
|
|
74657
74666
|
placement: "bottom-start",
|
|
@@ -75348,7 +75357,7 @@ const xte = {
|
|
|
75348
75357
|
key: T,
|
|
75349
75358
|
class: "smart-color-picker-item",
|
|
75350
75359
|
style: Yt({ backgroundColor: E }),
|
|
75351
|
-
onClick: (
|
|
75360
|
+
onClick: (N) => p(E)
|
|
75352
75361
|
}, null, 12, Kte))), 128))
|
|
75353
75362
|
]),
|
|
75354
75363
|
W("div", {
|
|
@@ -75360,7 +75369,7 @@ const xte = {
|
|
|
75360
75369
|
key: T,
|
|
75361
75370
|
class: "smart-color-picker-item",
|
|
75362
75371
|
style: Yt({ backgroundColor: E }),
|
|
75363
|
-
onClick: (
|
|
75372
|
+
onClick: (N) => p(E)
|
|
75364
75373
|
}, null, 12, Yte)), 64))
|
|
75365
75374
|
]),
|
|
75366
75375
|
v(s).colors.length > 0 ? ($(), ce(Je, { key: 0 }, [
|
|
@@ -75373,7 +75382,7 @@ const xte = {
|
|
|
75373
75382
|
key: T,
|
|
75374
75383
|
class: "smart-color-picker-item",
|
|
75375
75384
|
style: Yt({ backgroundColor: E }),
|
|
75376
|
-
onClick: (
|
|
75385
|
+
onClick: (N) => p(E)
|
|
75377
75386
|
}, null, 12, Zte))), 128))
|
|
75378
75387
|
])
|
|
75379
75388
|
], 64)) : Ue("", !0),
|
|
@@ -75413,8 +75422,8 @@ const xte = {
|
|
|
75413
75422
|
if (l.value)
|
|
75414
75423
|
if (l.value.$anchorCell && l.value.$headCell) {
|
|
75415
75424
|
const E = (g = o.value) == null ? void 0 : g.state.tr;
|
|
75416
|
-
E && (l.value.forEachCell((T,
|
|
75417
|
-
E.setNodeMarkup(
|
|
75425
|
+
E && (l.value.forEachCell((T, N) => {
|
|
75426
|
+
E.setNodeMarkup(N, null, {
|
|
75418
75427
|
...T.attrs,
|
|
75419
75428
|
backgroundColor: m
|
|
75420
75429
|
});
|
|
@@ -76806,7 +76815,7 @@ const kne = {
|
|
|
76806
76815
|
setup(t) {
|
|
76807
76816
|
const { config: e } = ot();
|
|
76808
76817
|
return (n, r) => {
|
|
76809
|
-
const o = ire, i = ore, s = nre, a = tre, l = ere, c = Qne, u = Zne, d = Jne, f = Xne, h = jne, p = Kne, m = qne, g = Wne, b = Vne, _ = $ne, k = Bne, w = Lne, E = Dne, T = Ine,
|
|
76818
|
+
const o = ire, i = ore, s = nre, a = tre, l = ere, c = Qne, u = Zne, d = Jne, f = Xne, h = jne, p = Kne, m = qne, g = Wne, b = Vne, _ = $ne, k = Bne, w = Lne, E = Dne, T = Ine, N = Ane, H = Tne, L = Cne, J = Sne;
|
|
76810
76819
|
return $(), ce("div", sre, [
|
|
76811
76820
|
X(o),
|
|
76812
76821
|
X(i),
|
|
@@ -76827,7 +76836,7 @@ const kne = {
|
|
|
76827
76836
|
X(w),
|
|
76828
76837
|
X(E),
|
|
76829
76838
|
X(T),
|
|
76830
|
-
X(
|
|
76839
|
+
X(N),
|
|
76831
76840
|
v(e).canFill ? ($(), ee(H, { key: 0 })) : Ue("", !0),
|
|
76832
76841
|
X(L),
|
|
76833
76842
|
X(J)
|