@elmethis/core 1.0.0-alpha.64 → 1.0.0-alpha.65
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/{Bash-BeQ_H7eS.js → Bash-DSMOelAW.js} +1 -1
- package/dist/{C-2hEU06yf.js → C-OQ8sP_WS.js} +1 -1
- package/dist/{Cpp-DWuu6AgB.js → Cpp-B8GJXM5c.js} +1 -1
- package/dist/{Csharp-v6-ChRDe.js → Csharp-BzsoZ_g3.js} +1 -1
- package/dist/{Css-CEW3RV15.js → Css-B1m58ViC.js} +1 -1
- package/dist/{Go-BmO6imuP.js → Go-Bh7Q7zT3.js} +1 -1
- package/dist/{Html-Dcz0ynlL.js → Html-DUr6fP-r.js} +1 -1
- package/dist/{Java-B7aixQiV.js → Java-C_x5CDln.js} +1 -1
- package/dist/{JavaScript-r0CHJwOk.js → JavaScript-BP7k3QcX.js} +1 -1
- package/dist/{Json-Bo4Ee8TK.js → Json-jNJuKDvn.js} +1 -1
- package/dist/{Kotlin-Cu2L_oVO.js → Kotlin-CuukL8Ik.js} +1 -1
- package/dist/{Lua-B2xzj9CC.js → Lua-DH1Z3sMp.js} +1 -1
- package/dist/{Npm-Bi6-l3Fm.js → Npm-DCpHYgcw.js} +1 -1
- package/dist/{Python-Wjbau86W.js → Python-CgLiBFhq.js} +1 -1
- package/dist/{Rust-E7VsCKPI.js → Rust--I01cOgj.js} +1 -1
- package/dist/{Sql-DTbiNTMM.js → Sql-DpsUGaPO.js} +1 -1
- package/dist/{Terraform-C35Aq1Xf.js → Terraform-ClT0i3Ue.js} +1 -1
- package/dist/{TypeScript-sVgb4cPM.js → TypeScript-DTgbBZgo.js} +1 -1
- package/dist/elmethis.js +2 -2
- package/dist/elmethis.umd.cjs +12 -12
- package/dist/{index-CAY32JME.js → index-Uoq8Dv94.js} +506 -508
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as G, openBlock as I, createElementBlock as F, normalizeClass as B, normalizeStyle as W, createElementVNode as L, unref as q, toDisplayString as ze, ref as Z, watch as Xe, createVNode as Q, Transition as Mt, withCtx as Te, defineAsyncComponent as Ae, onMounted as v0, nextTick as u0, onUpdated as Fa, createTextVNode as Ut, getCurrentScope as wi, onScopeDispose as ki, readonly as Mi, getCurrentInstance as Da, isRef as Si, computed as at, shallowRef as
|
|
2
|
-
var
|
|
1
|
+
import { defineComponent as G, openBlock as I, createElementBlock as F, normalizeClass as B, normalizeStyle as W, createElementVNode as L, unref as q, toDisplayString as ze, ref as Z, watch as Xe, createVNode as Q, Transition as Mt, withCtx as Te, defineAsyncComponent as Ae, onMounted as v0, nextTick as u0, onUpdated as Fa, createTextVNode as Ut, getCurrentScope as wi, onScopeDispose as ki, readonly as Mi, getCurrentInstance as Da, isRef as Si, computed as at, shallowRef as R0, watchEffect as Ai, toRaw as ji, renderSlot as xe, createCommentVNode as Be, createBlock as je, resolveDynamicComponent as Ct, mergeModels as Xr, useModel as Zr, Fragment as _e, renderList as St, h as jr, resolveComponent as zi, mergeProps as Ti } from "vue";
|
|
2
|
+
var zr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
3
3
|
function Ci(r) {
|
|
4
4
|
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
5
5
|
}
|
|
6
|
-
var
|
|
6
|
+
var Ra = { exports: {} };
|
|
7
7
|
(function(r, e) {
|
|
8
8
|
(function(n, a) {
|
|
9
9
|
r.exports = a();
|
|
10
|
-
})(typeof self < "u" ? self :
|
|
10
|
+
})(typeof self < "u" ? self : zr, function() {
|
|
11
11
|
return (
|
|
12
12
|
/******/
|
|
13
13
|
function(t) {
|
|
@@ -213,13 +213,13 @@ var _a = { exports: {} };
|
|
|
213
213
|
"./node_modules/core-js/internals/get-iterator-method.js"
|
|
214
214
|
);
|
|
215
215
|
t.exports = function(b) {
|
|
216
|
-
var M = i(b), w = typeof this == "function" ? this : Array, S = arguments.length, j = S > 1 ? arguments[1] : void 0, v = j !== void 0, g = 0, A = m(M), T, C, E,
|
|
216
|
+
var M = i(b), w = typeof this == "function" ? this : Array, S = arguments.length, j = S > 1 ? arguments[1] : void 0, v = j !== void 0, g = 0, A = m(M), T, C, E, _;
|
|
217
217
|
if (v && (j = s(j, S > 2 ? arguments[2] : void 0, 2)), A != null && !(w == Array && u(A)))
|
|
218
|
-
for (
|
|
218
|
+
for (_ = A.call(M), C = new w(); !(E = _.next()).done; g++)
|
|
219
219
|
h(
|
|
220
220
|
C,
|
|
221
221
|
g,
|
|
222
|
-
v ? o(
|
|
222
|
+
v ? o(_, j, [E.value, g], !0) : E.value
|
|
223
223
|
);
|
|
224
224
|
else
|
|
225
225
|
for (T = d(M.length), C = new w(T); T > g; g++)
|
|
@@ -573,8 +573,8 @@ var _a = { exports: {} };
|
|
|
573
573
|
), S = w.IteratorPrototype, j = w.BUGGY_SAFARI_ITERATORS, v = y("iterator"), g = "keys", A = "values", T = "entries", C = function() {
|
|
574
574
|
return this;
|
|
575
575
|
};
|
|
576
|
-
t.exports = function(E,
|
|
577
|
-
i(D,
|
|
576
|
+
t.exports = function(E, _, D, ee, re, ae, Ne) {
|
|
577
|
+
i(D, _, ee);
|
|
578
578
|
var he = function(ve) {
|
|
579
579
|
if (ve === re && pe) return pe;
|
|
580
580
|
if (!j && ve in be) return be[ve];
|
|
@@ -595,17 +595,17 @@ var _a = { exports: {} };
|
|
|
595
595
|
return function() {
|
|
596
596
|
return new D(this);
|
|
597
597
|
};
|
|
598
|
-
}, Ce =
|
|
598
|
+
}, Ce = _ + " Iterator", De = !1, be = E.prototype, se = be[v] || be["@@iterator"] || re && be[re], pe = !j && se || he(re), Se = _ == "Array" && be.entries || se, fe, ie, Ge;
|
|
599
599
|
if (Se && (fe = o(Se.call(new E())), S !== Object.prototype && fe.next && (!b && o(fe) !== S && (u ? u(fe, S) : typeof fe[v] != "function" && h(fe, v, C)), d(fe, Ce, !0, !0), b && (M[Ce] = C))), re == A && se && se.name !== A && (De = !0, pe = function() {
|
|
600
600
|
return se.call(this);
|
|
601
|
-
}), (!b || Ne) && be[v] !== pe && h(be, v, pe), M[
|
|
601
|
+
}), (!b || Ne) && be[v] !== pe && h(be, v, pe), M[_] = pe, re)
|
|
602
602
|
if (ie = {
|
|
603
603
|
values: he(A),
|
|
604
604
|
keys: ae ? pe : he(g),
|
|
605
605
|
entries: he(T)
|
|
606
606
|
}, Ne) for (Ge in ie)
|
|
607
607
|
(j || De || !(Ge in be)) && m(be, Ge, ie[Ge]);
|
|
608
|
-
else s({ target:
|
|
608
|
+
else s({ target: _, proto: !0, forced: j || De }, ie);
|
|
609
609
|
return ie;
|
|
610
610
|
};
|
|
611
611
|
}
|
|
@@ -932,17 +932,17 @@ var _a = { exports: {} };
|
|
|
932
932
|
), y = i.WeakMap, b, M, w, S = function(E) {
|
|
933
933
|
return w(E) ? M(E) : b(E, {});
|
|
934
934
|
}, j = function(E) {
|
|
935
|
-
return function(
|
|
935
|
+
return function(_) {
|
|
936
936
|
var D;
|
|
937
|
-
if (!o(
|
|
937
|
+
if (!o(_) || (D = M(_)).type !== E)
|
|
938
938
|
throw TypeError("Incompatible receiver, " + E + " required");
|
|
939
939
|
return D;
|
|
940
940
|
};
|
|
941
941
|
};
|
|
942
942
|
if (s) {
|
|
943
943
|
var v = new y(), g = v.get, A = v.has, T = v.set;
|
|
944
|
-
b = function(E,
|
|
945
|
-
return T.call(v, E,
|
|
944
|
+
b = function(E, _) {
|
|
945
|
+
return T.call(v, E, _), _;
|
|
946
946
|
}, M = function(E) {
|
|
947
947
|
return g.call(v, E) || {};
|
|
948
948
|
}, w = function(E) {
|
|
@@ -950,8 +950,8 @@ var _a = { exports: {} };
|
|
|
950
950
|
};
|
|
951
951
|
} else {
|
|
952
952
|
var C = h("state");
|
|
953
|
-
m[C] = !0, b = function(E,
|
|
954
|
-
return u(E, C,
|
|
953
|
+
m[C] = !0, b = function(E, _) {
|
|
954
|
+
return u(E, C, _), _;
|
|
955
955
|
}, M = function(E) {
|
|
956
956
|
return d(E, C) ? E[C] : {};
|
|
957
957
|
}, w = function(E) {
|
|
@@ -2107,8 +2107,8 @@ var _a = { exports: {} };
|
|
|
2107
2107
|
})
|
|
2108
2108
|
);
|
|
2109
2109
|
});
|
|
2110
|
-
})(
|
|
2111
|
-
var $i =
|
|
2110
|
+
})(Ra);
|
|
2111
|
+
var $i = Ra.exports;
|
|
2112
2112
|
const Ei = ["innerHTML"], Ii = /* @__PURE__ */ G({
|
|
2113
2113
|
__name: "ElmTag",
|
|
2114
2114
|
props: {
|
|
@@ -2142,10 +2142,10 @@ const Ei = ["innerHTML"], Ii = /* @__PURE__ */ G({
|
|
|
2142
2142
|
for (const [n, a] of e)
|
|
2143
2143
|
t[n] = a;
|
|
2144
2144
|
return t;
|
|
2145
|
-
},
|
|
2145
|
+
}, Ri = {
|
|
2146
2146
|
$style: Di
|
|
2147
|
-
}, E3 = /* @__PURE__ */ J(Ii, [["__cssModules",
|
|
2148
|
-
function
|
|
2147
|
+
}, E3 = /* @__PURE__ */ J(Ii, [["__cssModules", Ri]]);
|
|
2148
|
+
function _i(r, e) {
|
|
2149
2149
|
return I(), F("svg", {
|
|
2150
2150
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2151
2151
|
fill: "none",
|
|
@@ -2213,7 +2213,7 @@ function Ni(r, e) {
|
|
|
2213
2213
|
})
|
|
2214
2214
|
]);
|
|
2215
2215
|
}
|
|
2216
|
-
function
|
|
2216
|
+
function Tn(r, e) {
|
|
2217
2217
|
return I(), F("svg", {
|
|
2218
2218
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2219
2219
|
fill: "none",
|
|
@@ -2298,7 +2298,7 @@ function Gi(r, e) {
|
|
|
2298
2298
|
})
|
|
2299
2299
|
]);
|
|
2300
2300
|
}
|
|
2301
|
-
function
|
|
2301
|
+
function _0(r, e) {
|
|
2302
2302
|
return I(), F("svg", {
|
|
2303
2303
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2304
2304
|
fill: "none",
|
|
@@ -2565,103 +2565,103 @@ const s1 = /* @__PURE__ */ G({
|
|
|
2565
2565
|
case "rust":
|
|
2566
2566
|
case "rs":
|
|
2567
2567
|
return Ae({
|
|
2568
|
-
loader: () => import("./Rust
|
|
2568
|
+
loader: () => import("./Rust--I01cOgj.js"),
|
|
2569
2569
|
loadingComponent: ke
|
|
2570
2570
|
});
|
|
2571
2571
|
case "javascript":
|
|
2572
2572
|
case "js":
|
|
2573
2573
|
return Ae({
|
|
2574
|
-
loader: () => import("./JavaScript-
|
|
2574
|
+
loader: () => import("./JavaScript-BP7k3QcX.js"),
|
|
2575
2575
|
loadingComponent: ke
|
|
2576
2576
|
});
|
|
2577
2577
|
case "typescript":
|
|
2578
2578
|
case "ts":
|
|
2579
2579
|
return Ae({
|
|
2580
|
-
loader: () => import("./TypeScript-
|
|
2580
|
+
loader: () => import("./TypeScript-DTgbBZgo.js"),
|
|
2581
2581
|
loadingComponent: ke
|
|
2582
2582
|
});
|
|
2583
2583
|
case "bash":
|
|
2584
2584
|
case "sh":
|
|
2585
2585
|
case "shell":
|
|
2586
2586
|
return Ae({
|
|
2587
|
-
loader: () => import("./Bash-
|
|
2587
|
+
loader: () => import("./Bash-DSMOelAW.js"),
|
|
2588
2588
|
loadingComponent: ke
|
|
2589
2589
|
});
|
|
2590
2590
|
case "tf":
|
|
2591
2591
|
case "terraform":
|
|
2592
2592
|
case "hcl":
|
|
2593
2593
|
return Ae({
|
|
2594
|
-
loader: () => import("./Terraform-
|
|
2594
|
+
loader: () => import("./Terraform-ClT0i3Ue.js"),
|
|
2595
2595
|
loadingComponent: ke
|
|
2596
2596
|
});
|
|
2597
2597
|
case "html":
|
|
2598
2598
|
return Ae({
|
|
2599
|
-
loader: () => import("./Html-
|
|
2599
|
+
loader: () => import("./Html-DUr6fP-r.js"),
|
|
2600
2600
|
loadingComponent: ke
|
|
2601
2601
|
});
|
|
2602
2602
|
case "css":
|
|
2603
2603
|
return Ae({
|
|
2604
|
-
loader: () => import("./Css-
|
|
2604
|
+
loader: () => import("./Css-B1m58ViC.js"),
|
|
2605
2605
|
loadingComponent: ke
|
|
2606
2606
|
});
|
|
2607
2607
|
case "npm":
|
|
2608
2608
|
return Ae({
|
|
2609
|
-
loader: () => import("./Npm-
|
|
2609
|
+
loader: () => import("./Npm-DCpHYgcw.js"),
|
|
2610
2610
|
loadingComponent: ke
|
|
2611
2611
|
});
|
|
2612
2612
|
case "java":
|
|
2613
2613
|
return Ae({
|
|
2614
|
-
loader: () => import("./Java-
|
|
2614
|
+
loader: () => import("./Java-C_x5CDln.js"),
|
|
2615
2615
|
loadingComponent: ke
|
|
2616
2616
|
});
|
|
2617
2617
|
case "kotlin":
|
|
2618
2618
|
case "kt":
|
|
2619
2619
|
return Ae({
|
|
2620
|
-
loader: () => import("./Kotlin-
|
|
2620
|
+
loader: () => import("./Kotlin-CuukL8Ik.js"),
|
|
2621
2621
|
loadingComponent: ke
|
|
2622
2622
|
});
|
|
2623
2623
|
case "go":
|
|
2624
2624
|
case "golang":
|
|
2625
2625
|
return Ae({
|
|
2626
|
-
loader: () => import("./Go-
|
|
2626
|
+
loader: () => import("./Go-Bh7Q7zT3.js"),
|
|
2627
2627
|
loadingComponent: ke
|
|
2628
2628
|
});
|
|
2629
2629
|
case "python":
|
|
2630
2630
|
case "py":
|
|
2631
2631
|
return Ae({
|
|
2632
|
-
loader: () => import("./Python-
|
|
2632
|
+
loader: () => import("./Python-CgLiBFhq.js"),
|
|
2633
2633
|
loadingComponent: ke
|
|
2634
2634
|
});
|
|
2635
2635
|
case "sql":
|
|
2636
2636
|
return Ae({
|
|
2637
|
-
loader: () => import("./Sql-
|
|
2637
|
+
loader: () => import("./Sql-DpsUGaPO.js"),
|
|
2638
2638
|
loadingComponent: ke
|
|
2639
2639
|
});
|
|
2640
2640
|
case "json":
|
|
2641
2641
|
return Ae({
|
|
2642
|
-
loader: () => import("./Json-
|
|
2642
|
+
loader: () => import("./Json-jNJuKDvn.js"),
|
|
2643
2643
|
loadingComponent: ke
|
|
2644
2644
|
});
|
|
2645
2645
|
case "lua":
|
|
2646
2646
|
return Ae({
|
|
2647
|
-
loader: () => import("./Lua-
|
|
2647
|
+
loader: () => import("./Lua-DH1Z3sMp.js"),
|
|
2648
2648
|
loadingComponent: ke
|
|
2649
2649
|
});
|
|
2650
2650
|
case "cs":
|
|
2651
2651
|
case "csharp":
|
|
2652
2652
|
return Ae({
|
|
2653
|
-
loader: () => import("./Csharp-
|
|
2653
|
+
loader: () => import("./Csharp-BzsoZ_g3.js"),
|
|
2654
2654
|
loadingComponent: ke
|
|
2655
2655
|
});
|
|
2656
2656
|
case "cpp":
|
|
2657
2657
|
case "c++":
|
|
2658
2658
|
return Ae({
|
|
2659
|
-
loader: () => import("./Cpp-
|
|
2659
|
+
loader: () => import("./Cpp-B8GJXM5c.js"),
|
|
2660
2660
|
loadingComponent: ke
|
|
2661
2661
|
});
|
|
2662
2662
|
case "c":
|
|
2663
2663
|
return Ae({
|
|
2664
|
-
loader: () => import("./C-
|
|
2664
|
+
loader: () => import("./C-OQ8sP_WS.js"),
|
|
2665
2665
|
loadingComponent: ke
|
|
2666
2666
|
});
|
|
2667
2667
|
default:
|
|
@@ -2722,7 +2722,7 @@ const s1 = /* @__PURE__ */ G({
|
|
|
2722
2722
|
}, m1 = {
|
|
2723
2723
|
$style: p1
|
|
2724
2724
|
}, ye = /* @__PURE__ */ J(d1, [["__cssModules", m1]]);
|
|
2725
|
-
var
|
|
2725
|
+
var _a = { exports: {} };
|
|
2726
2726
|
(function(r) {
|
|
2727
2727
|
var e = typeof window < "u" ? window : typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope ? self : {};
|
|
2728
2728
|
/**
|
|
@@ -2848,8 +2848,8 @@ var Ra = { exports: {} };
|
|
|
2848
2848
|
case "Array":
|
|
2849
2849
|
return C = o.util.objId(g), A[C] ? A[C] : (T = [], A[C] = T, /** @type {Array} */
|
|
2850
2850
|
/** @type {any} */
|
|
2851
|
-
g.forEach(function(
|
|
2852
|
-
T[D] = v(
|
|
2851
|
+
g.forEach(function(_, D) {
|
|
2852
|
+
T[D] = v(_, A);
|
|
2853
2853
|
}), /** @type {any} */
|
|
2854
2854
|
T);
|
|
2855
2855
|
default:
|
|
@@ -3070,12 +3070,12 @@ var Ra = { exports: {} };
|
|
|
3070
3070
|
T = T || /** @type {any} */
|
|
3071
3071
|
o.languages;
|
|
3072
3072
|
var C = T[v], E = {};
|
|
3073
|
-
for (var
|
|
3074
|
-
if (C.hasOwnProperty(
|
|
3075
|
-
if (
|
|
3073
|
+
for (var _ in C)
|
|
3074
|
+
if (C.hasOwnProperty(_)) {
|
|
3075
|
+
if (_ == g)
|
|
3076
3076
|
for (var D in A)
|
|
3077
3077
|
A.hasOwnProperty(D) && (E[D] = A[D]);
|
|
3078
|
-
A.hasOwnProperty(
|
|
3078
|
+
A.hasOwnProperty(_) || (E[_] = C[_]);
|
|
3079
3079
|
}
|
|
3080
3080
|
var ee = T[v];
|
|
3081
3081
|
return T[v] = E, o.languages.DFS(o.languages, function(re, ae) {
|
|
@@ -3086,11 +3086,11 @@ var Ra = { exports: {} };
|
|
|
3086
3086
|
DFS: function v(g, A, T, C) {
|
|
3087
3087
|
C = C || {};
|
|
3088
3088
|
var E = o.util.objId;
|
|
3089
|
-
for (var
|
|
3090
|
-
if (g.hasOwnProperty(
|
|
3091
|
-
A.call(g,
|
|
3092
|
-
var D = g[
|
|
3093
|
-
ee === "Object" && !C[E(D)] ? (C[E(D)] = !0, v(D, A, null, C)) : ee === "Array" && !C[E(D)] && (C[E(D)] = !0, v(D, A,
|
|
3089
|
+
for (var _ in g)
|
|
3090
|
+
if (g.hasOwnProperty(_)) {
|
|
3091
|
+
A.call(g, _, g[_], T || _);
|
|
3092
|
+
var D = g[_], ee = o.util.type(D);
|
|
3093
|
+
ee === "Object" && !C[E(D)] ? (C[E(D)] = !0, v(D, A, null, C)) : ee === "Array" && !C[E(D)] && (C[E(D)] = !0, v(D, A, _, C));
|
|
3094
3094
|
}
|
|
3095
3095
|
}
|
|
3096
3096
|
},
|
|
@@ -3168,11 +3168,11 @@ var Ra = { exports: {} };
|
|
|
3168
3168
|
o.util.setLanguage(v, T);
|
|
3169
3169
|
var E = v.parentElement;
|
|
3170
3170
|
E && E.nodeName.toLowerCase() === "pre" && o.util.setLanguage(E, T);
|
|
3171
|
-
var
|
|
3171
|
+
var _ = v.textContent, D = {
|
|
3172
3172
|
element: v,
|
|
3173
3173
|
language: T,
|
|
3174
3174
|
grammar: C,
|
|
3175
|
-
code:
|
|
3175
|
+
code: _
|
|
3176
3176
|
};
|
|
3177
3177
|
function ee(ae) {
|
|
3178
3178
|
D.highlightedCode = ae, o.hooks.run("before-insert", D), D.element.innerHTML = D.highlightedCode, o.hooks.run("after-highlight", D), o.hooks.run("complete", D), A && A.call(D.element);
|
|
@@ -3324,10 +3324,10 @@ var Ra = { exports: {} };
|
|
|
3324
3324
|
language: A
|
|
3325
3325
|
}, E = g.alias;
|
|
3326
3326
|
E && (Array.isArray(E) ? Array.prototype.push.apply(C.classes, E) : C.classes.push(E)), o.hooks.run("wrap", C);
|
|
3327
|
-
var
|
|
3327
|
+
var _ = "";
|
|
3328
3328
|
for (var D in C.attributes)
|
|
3329
|
-
|
|
3330
|
-
return "<" + C.tag + ' class="' + C.classes.join(" ") + '"' +
|
|
3329
|
+
_ += " " + D + '="' + (C.attributes[D] || "").replace(/"/g, """) + '"';
|
|
3330
|
+
return "<" + C.tag + ' class="' + C.classes.join(" ") + '"' + _ + ">" + C.content + "</" + C.tag + ">";
|
|
3331
3331
|
};
|
|
3332
3332
|
function d(v, g, A, T) {
|
|
3333
3333
|
v.lastIndex = g;
|
|
@@ -3339,12 +3339,12 @@ var Ra = { exports: {} };
|
|
|
3339
3339
|
return C;
|
|
3340
3340
|
}
|
|
3341
3341
|
function h(v, g, A, T, C, E) {
|
|
3342
|
-
for (var
|
|
3343
|
-
if (!(!A.hasOwnProperty(
|
|
3344
|
-
var D = A[
|
|
3342
|
+
for (var _ in A)
|
|
3343
|
+
if (!(!A.hasOwnProperty(_) || !A[_])) {
|
|
3344
|
+
var D = A[_];
|
|
3345
3345
|
D = Array.isArray(D) ? D : [D];
|
|
3346
3346
|
for (var ee = 0; ee < D.length; ++ee) {
|
|
3347
|
-
if (E && E.cause ==
|
|
3347
|
+
if (E && E.cause == _ + "," + ee)
|
|
3348
3348
|
return;
|
|
3349
3349
|
var re = D[ee], ae = re.inside, Ne = !!re.lookbehind, he = !!re.greedy, Ce = re.alias;
|
|
3350
3350
|
if (he && !re.pattern.global) {
|
|
@@ -3374,10 +3374,10 @@ var Ra = { exports: {} };
|
|
|
3374
3374
|
E && bt > E.reach && (E.reach = bt);
|
|
3375
3375
|
var Nt = se.prev;
|
|
3376
3376
|
tt && (Nt = y(g, Nt, tt), pe += tt.length), b(g, Nt, fe);
|
|
3377
|
-
var ar = new u(
|
|
3377
|
+
var ar = new u(_, ae ? o.tokenize(Je, ae) : Je, Ce, Je);
|
|
3378
3378
|
if (se = y(g, Nt, ar), Ot && y(g, se, Ot), fe > 1) {
|
|
3379
3379
|
var r0 = {
|
|
3380
|
-
cause:
|
|
3380
|
+
cause: _ + "," + ee,
|
|
3381
3381
|
reach: bt
|
|
3382
3382
|
};
|
|
3383
3383
|
h(v, g, A, se.prev, pe, r0), E && r0.reach > E.reach && (E.reach = r0.reach);
|
|
@@ -3421,7 +3421,7 @@ var Ra = { exports: {} };
|
|
|
3421
3421
|
}
|
|
3422
3422
|
return o;
|
|
3423
3423
|
}(e);
|
|
3424
|
-
r.exports && (r.exports = t), typeof
|
|
3424
|
+
r.exports && (r.exports = t), typeof zr < "u" && (zr.Prism = t), t.languages.markup = {
|
|
3425
3425
|
comment: {
|
|
3426
3426
|
pattern: /<!--(?:(?!<!--)[\s\S])*?-->/,
|
|
3427
3427
|
greedy: !0
|
|
@@ -3849,8 +3849,8 @@ var Ra = { exports: {} };
|
|
|
3849
3849
|
S.setAttribute(o, d);
|
|
3850
3850
|
var E = b(S.getAttribute("data-range"));
|
|
3851
3851
|
if (E) {
|
|
3852
|
-
var
|
|
3853
|
-
D < 0 && (D +=
|
|
3852
|
+
var _ = C.split(/\r\n?|\n/g), D = E[0], ee = E[1] == null ? _.length : E[1];
|
|
3853
|
+
D < 0 && (D += _.length), D = Math.max(0, Math.min(D - 1, _.length)), ee < 0 && (ee += _.length), ee = Math.max(0, Math.min(ee, _.length)), C = _.slice(D, ee).join(`
|
|
3854
3854
|
`), S.hasAttribute("data-start") || S.setAttribute("data-start", String(D + 1));
|
|
3855
3855
|
}
|
|
3856
3856
|
j.textContent = C, t.highlightElement(j);
|
|
@@ -3878,9 +3878,9 @@ var Ra = { exports: {} };
|
|
|
3878
3878
|
M || (console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."), M = !0), t.plugins.fileHighlight.highlight.apply(this, arguments);
|
|
3879
3879
|
};
|
|
3880
3880
|
}();
|
|
3881
|
-
})(
|
|
3882
|
-
var f1 =
|
|
3883
|
-
const
|
|
3881
|
+
})(_a);
|
|
3882
|
+
var f1 = _a.exports;
|
|
3883
|
+
const Cn = /* @__PURE__ */ Ci(f1);
|
|
3884
3884
|
(function() {
|
|
3885
3885
|
if (typeof Prism > "u" || typeof document > "u")
|
|
3886
3886
|
return;
|
|
@@ -4204,11 +4204,11 @@ const or = /* @__PURE__ */ Ci(f1);
|
|
|
4204
4204
|
g && setTimeout(g, 0);
|
|
4205
4205
|
return;
|
|
4206
4206
|
}
|
|
4207
|
-
function
|
|
4207
|
+
function _() {
|
|
4208
4208
|
E || (C++, C === T && g && g(v));
|
|
4209
4209
|
}
|
|
4210
4210
|
v.forEach(function(D) {
|
|
4211
|
-
S(D,
|
|
4211
|
+
S(D, _, function() {
|
|
4212
4212
|
E || (E = !0, A && A(D));
|
|
4213
4213
|
});
|
|
4214
4214
|
});
|
|
@@ -4217,16 +4217,16 @@ const or = /* @__PURE__ */ Ci(f1);
|
|
|
4217
4217
|
var T = v.indexOf("!") >= 0;
|
|
4218
4218
|
v = v.replace("!", ""), v = e[v] || v;
|
|
4219
4219
|
function C() {
|
|
4220
|
-
var
|
|
4221
|
-
|
|
4220
|
+
var _ = t[v];
|
|
4221
|
+
_ || (_ = t[v] = {
|
|
4222
4222
|
callbacks: []
|
|
4223
|
-
}),
|
|
4223
|
+
}), _.callbacks.push({
|
|
4224
4224
|
success: g,
|
|
4225
4225
|
error: A
|
|
4226
|
-
}), !T && b(v) ? j(v, "success") : !T &&
|
|
4227
|
-
|
|
4226
|
+
}), !T && b(v) ? j(v, "success") : !T && _.error ? j(v, "error") : (T || !_.loading) && (_.loading = !0, _.error = !1, m(M(v), function() {
|
|
4227
|
+
_.loading = !1, j(v, "success");
|
|
4228
4228
|
}, function() {
|
|
4229
|
-
|
|
4229
|
+
_.loading = !1, _.error = !0, j(v, "error");
|
|
4230
4230
|
}));
|
|
4231
4231
|
}
|
|
4232
4232
|
var E = r[v];
|
|
@@ -4258,10 +4258,8 @@ const v1 = { class: "elmethis-prism-code-highlighter-pre" }, y1 = /* @__PURE__ *
|
|
|
4258
4258
|
language: { default: "txt" }
|
|
4259
4259
|
},
|
|
4260
4260
|
setup(r) {
|
|
4261
|
-
const e = Z(null)
|
|
4262
|
-
|
|
4263
|
-
const t = async () => {
|
|
4264
|
-
or.plugins.autoloader.languages_path = "https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/", e.value && or.highlightElement(e.value);
|
|
4261
|
+
const e = Z(null), t = async () => {
|
|
4262
|
+
document != null && (Cn.plugins.autoloader.languages_path = "https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/", e.value && Cn.highlightElement(e.value));
|
|
4265
4263
|
};
|
|
4266
4264
|
return v0(() => {
|
|
4267
4265
|
u0(() => {
|
|
@@ -4282,18 +4280,18 @@ const v1 = { class: "elmethis-prism-code-highlighter-pre" }, y1 = /* @__PURE__ *
|
|
|
4282
4280
|
`))
|
|
4283
4281
|
]));
|
|
4284
4282
|
}
|
|
4285
|
-
}), g1 = /* @__PURE__ */ J(y1, [["__scopeId", "data-v-
|
|
4283
|
+
}), g1 = /* @__PURE__ */ J(y1, [["__scopeId", "data-v-7269a6d8"]]);
|
|
4286
4284
|
function Xt(r) {
|
|
4287
4285
|
return wi() ? (ki(r), !0) : !1;
|
|
4288
4286
|
}
|
|
4289
4287
|
function $e(r) {
|
|
4290
4288
|
return typeof r == "function" ? r() : q(r);
|
|
4291
4289
|
}
|
|
4292
|
-
const
|
|
4290
|
+
const Kr = typeof window < "u" && typeof document < "u";
|
|
4293
4291
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
4294
4292
|
const Ha = (r) => r != null, b1 = Object.prototype.toString, x1 = (r) => b1.call(r) === "[object Object]", Vt = () => {
|
|
4295
4293
|
};
|
|
4296
|
-
function
|
|
4294
|
+
function Tr(r, e = !1, t = "Timeout") {
|
|
4297
4295
|
return new Promise((n, a) => {
|
|
4298
4296
|
setTimeout(e ? () => a(t) : n, r);
|
|
4299
4297
|
});
|
|
@@ -4314,7 +4312,7 @@ function k1(r) {
|
|
|
4314
4312
|
function La(r, e = !0, t) {
|
|
4315
4313
|
k1() ? v0(r, t) : e ? r() : u0(r);
|
|
4316
4314
|
}
|
|
4317
|
-
function
|
|
4315
|
+
function Cr(r, e = !1) {
|
|
4318
4316
|
function t(m, { flush: y = "sync", deep: b = !1, timeout: M, throwOnTimeout: w } = {}) {
|
|
4319
4317
|
let S = null;
|
|
4320
4318
|
const v = [new Promise((g) => {
|
|
@@ -4331,7 +4329,7 @@ function $r(r, e = !1) {
|
|
|
4331
4329
|
);
|
|
4332
4330
|
})];
|
|
4333
4331
|
return M != null && v.push(
|
|
4334
|
-
|
|
4332
|
+
Tr(M, w).then(() => $e(r)).finally(() => S == null ? void 0 : S())
|
|
4335
4333
|
), Promise.race(v);
|
|
4336
4334
|
}
|
|
4337
4335
|
function n(m, y) {
|
|
@@ -4353,7 +4351,7 @@ function $r(r, e = !1) {
|
|
|
4353
4351
|
);
|
|
4354
4352
|
})];
|
|
4355
4353
|
return w != null && g.push(
|
|
4356
|
-
|
|
4354
|
+
Tr(w, S).then(() => $e(r)).finally(() => (j == null || j(), $e(r)))
|
|
4357
4355
|
), Promise.race(g);
|
|
4358
4356
|
}
|
|
4359
4357
|
function a(m) {
|
|
@@ -4387,7 +4385,7 @@ function $r(r, e = !1) {
|
|
|
4387
4385
|
changed: d,
|
|
4388
4386
|
changedTimes: h,
|
|
4389
4387
|
get not() {
|
|
4390
|
-
return
|
|
4388
|
+
return Cr(r, !e);
|
|
4391
4389
|
}
|
|
4392
4390
|
} : {
|
|
4393
4391
|
toMatch: t,
|
|
@@ -4399,12 +4397,12 @@ function $r(r, e = !1) {
|
|
|
4399
4397
|
changed: d,
|
|
4400
4398
|
changedTimes: h,
|
|
4401
4399
|
get not() {
|
|
4402
|
-
return
|
|
4400
|
+
return Cr(r, !e);
|
|
4403
4401
|
}
|
|
4404
4402
|
};
|
|
4405
4403
|
}
|
|
4406
4404
|
function M1(r) {
|
|
4407
|
-
return
|
|
4405
|
+
return Cr(r);
|
|
4408
4406
|
}
|
|
4409
4407
|
function S1(r, e, t = {}) {
|
|
4410
4408
|
const {
|
|
@@ -4422,19 +4420,19 @@ function S1(r, e, t = {}) {
|
|
|
4422
4420
|
a.value = !1, s = null, r(...d);
|
|
4423
4421
|
}, $e(e));
|
|
4424
4422
|
}
|
|
4425
|
-
return n && (a.value = !0,
|
|
4423
|
+
return n && (a.value = !0, Kr && u()), Xt(o), {
|
|
4426
4424
|
isPending: Mi(a),
|
|
4427
4425
|
start: u,
|
|
4428
4426
|
stop: o
|
|
4429
4427
|
};
|
|
4430
4428
|
}
|
|
4431
|
-
const $t =
|
|
4429
|
+
const $t = Kr ? window : void 0, Na = Kr ? window.navigator : void 0;
|
|
4432
4430
|
function ct(r) {
|
|
4433
4431
|
var e;
|
|
4434
4432
|
const t = $e(r);
|
|
4435
4433
|
return (e = t == null ? void 0 : t.$el) != null ? e : t;
|
|
4436
4434
|
}
|
|
4437
|
-
function
|
|
4435
|
+
function _t(...r) {
|
|
4438
4436
|
let e, t, n, a;
|
|
4439
4437
|
if (typeof r[0] == "string" || Array.isArray(r[0]) ? ([t, n, a] = r, e = $t) : [e, t, n, a] = r, !e)
|
|
4440
4438
|
return Vt;
|
|
@@ -4469,7 +4467,7 @@ function j1(...r) {
|
|
|
4469
4467
|
passive: i = !1,
|
|
4470
4468
|
dedupe: o = !1
|
|
4471
4469
|
} = n, u = A1(e);
|
|
4472
|
-
return
|
|
4470
|
+
return _t(a, s, (h) => {
|
|
4473
4471
|
h.repeat && $e(o) || u(h) && t(h);
|
|
4474
4472
|
}, i);
|
|
4475
4473
|
}
|
|
@@ -4515,9 +4513,9 @@ function C1(r, e, t) {
|
|
|
4515
4513
|
resetOnExecute: o = !0,
|
|
4516
4514
|
shallow: u = !0,
|
|
4517
4515
|
throwError: d
|
|
4518
|
-
} = t ?? {}, h = u ?
|
|
4516
|
+
} = t ?? {}, h = u ? R0(e) : Z(e), m = Z(!1), y = Z(!1), b = R0(void 0);
|
|
4519
4517
|
async function M(j = 0, ...v) {
|
|
4520
|
-
o && (h.value = e), b.value = void 0, m.value = !1, y.value = !0, j > 0 && await
|
|
4518
|
+
o && (h.value = e), b.value = void 0, m.value = !1, y.value = !0, j > 0 && await Tr(j);
|
|
4521
4519
|
const g = typeof r == "function" ? r(...v) : r;
|
|
4522
4520
|
try {
|
|
4523
4521
|
const A = await g;
|
|
@@ -4568,11 +4566,11 @@ function $n(r, e = {}) {
|
|
|
4568
4566
|
const {
|
|
4569
4567
|
controls: t = !1,
|
|
4570
4568
|
navigator: n = Na
|
|
4571
|
-
} = e, a = Zt(() => n && "permissions" in n), s =
|
|
4569
|
+
} = e, a = Zt(() => n && "permissions" in n), s = R0(), i = typeof r == "string" ? { name: r } : r, o = R0(), u = () => {
|
|
4572
4570
|
var h, m;
|
|
4573
4571
|
o.value = (m = (h = s.value) == null ? void 0 : h.state) != null ? m : "prompt";
|
|
4574
4572
|
};
|
|
4575
|
-
|
|
4573
|
+
_t(s, "change", u);
|
|
4576
4574
|
const d = w1(async () => {
|
|
4577
4575
|
if (a.value) {
|
|
4578
4576
|
if (!s.value)
|
|
@@ -4606,7 +4604,7 @@ function Pa(r = {}) {
|
|
|
4606
4604
|
h.value = v;
|
|
4607
4605
|
}) : h.value = S();
|
|
4608
4606
|
}
|
|
4609
|
-
d.value && t &&
|
|
4607
|
+
d.value && t && _t(["copy", "cut"], b);
|
|
4610
4608
|
async function M(v = $e(n)) {
|
|
4611
4609
|
d.value && v != null && (i.value && j(u.value) ? await e.clipboard.writeText(v) : w(v), h.value = v, m.value = !0, y.start());
|
|
4612
4610
|
}
|
|
@@ -4676,7 +4674,7 @@ function I1(r, e = {}) {
|
|
|
4676
4674
|
}
|
|
4677
4675
|
return E1(r, S), Xe(() => ct(r), (j) => !j && S()), T1(r, S, {
|
|
4678
4676
|
attributeFilter: ["style", "class"]
|
|
4679
|
-
}), a &&
|
|
4677
|
+
}), a && _t("scroll", S, { capture: !0, passive: !0 }), n && _t("resize", S, { passive: !0 }), La(() => {
|
|
4680
4678
|
s && S();
|
|
4681
4679
|
}), {
|
|
4682
4680
|
height: o,
|
|
@@ -4778,7 +4776,7 @@ function qa(r = {}) {
|
|
|
4778
4776
|
scrollTo({ top: o, behavior: t });
|
|
4779
4777
|
}
|
|
4780
4778
|
});
|
|
4781
|
-
return
|
|
4779
|
+
return _t(
|
|
4782
4780
|
e,
|
|
4783
4781
|
"scroll",
|
|
4784
4782
|
() => {
|
|
@@ -4801,7 +4799,7 @@ function F1(r = {}) {
|
|
|
4801
4799
|
} = r, o = Z(t), u = Z(n), d = () => {
|
|
4802
4800
|
e && (i === "outer" ? (o.value = e.outerWidth, u.value = e.outerHeight) : s ? (o.value = e.innerWidth, u.value = e.innerHeight) : (o.value = e.document.documentElement.clientWidth, u.value = e.document.documentElement.clientHeight));
|
|
4803
4801
|
};
|
|
4804
|
-
if (d(), La(d),
|
|
4802
|
+
if (d(), La(d), _t("resize", d, { passive: !0 }), a) {
|
|
4805
4803
|
const h = $1("(orientation: portrait)");
|
|
4806
4804
|
Xe(h, () => d());
|
|
4807
4805
|
}
|
|
@@ -4845,11 +4843,11 @@ const D1 = /* @__PURE__ */ G({
|
|
|
4845
4843
|
})
|
|
4846
4844
|
], 34));
|
|
4847
4845
|
}
|
|
4848
|
-
}),
|
|
4849
|
-
tooltip:
|
|
4846
|
+
}), R1 = "_tooltip_lxxjw_1", _1 = {
|
|
4847
|
+
tooltip: R1
|
|
4850
4848
|
}, H1 = {
|
|
4851
|
-
$style:
|
|
4852
|
-
},
|
|
4849
|
+
$style: _1
|
|
4850
|
+
}, Jr = /* @__PURE__ */ J(D1, [["__cssModules", H1], ["__scopeId", "data-v-9df55653"]]), L1 = /* @__PURE__ */ G({
|
|
4853
4851
|
__name: "ElmCodeBlock",
|
|
4854
4852
|
props: {
|
|
4855
4853
|
code: {},
|
|
@@ -4877,7 +4875,7 @@ const D1 = /* @__PURE__ */ G({
|
|
|
4877
4875
|
text: a.caption ?? a.language
|
|
4878
4876
|
}, null, 8, ["text"])
|
|
4879
4877
|
], 2),
|
|
4880
|
-
Q(
|
|
4878
|
+
Q(Jr, null, {
|
|
4881
4879
|
original: Te(() => [
|
|
4882
4880
|
(I(), je(Ct(q(n) ? q(Ui) : q(Wi)), {
|
|
4883
4881
|
class: B(a.$style["copy-icon"]),
|
|
@@ -5109,7 +5107,7 @@ function ao(r) {
|
|
|
5109
5107
|
return {};
|
|
5110
5108
|
}
|
|
5111
5109
|
}
|
|
5112
|
-
class
|
|
5110
|
+
class Qr {
|
|
5113
5111
|
constructor(e) {
|
|
5114
5112
|
this.displayMode = void 0, this.output = void 0, this.leqno = void 0, this.fleqn = void 0, this.throwOnError = void 0, this.errorColor = void 0, this.macros = void 0, this.minRuleThickness = void 0, this.colorIsTextColor = void 0, this.strict = void 0, this.trust = void 0, this.maxSize = void 0, this.maxExpand = void 0, this.globalGroup = void 0, e = e || {};
|
|
5115
5113
|
for (var t in I0)
|
|
@@ -5217,12 +5215,12 @@ class xt {
|
|
|
5217
5215
|
return this.size >= 2;
|
|
5218
5216
|
}
|
|
5219
5217
|
}
|
|
5220
|
-
var
|
|
5221
|
-
DISPLAY: rt[
|
|
5218
|
+
var en = 0, H0 = 1, Gt = 2, dt = 3, c0 = 4, We = 5, Wt = 6, Oe = 7, rt = [new xt(en, 0, !1), new xt(H0, 0, !0), new xt(Gt, 1, !1), new xt(dt, 1, !0), new xt(c0, 2, !1), new xt(We, 2, !0), new xt(Wt, 3, !1), new xt(Oe, 3, !0)], so = [c0, We, c0, We, Wt, Oe, Wt, Oe], io = [We, We, We, We, Oe, Oe, Oe, Oe], oo = [Gt, dt, c0, We, Wt, Oe, Wt, Oe], lo = [dt, dt, We, We, Oe, Oe, Oe, Oe], uo = [H0, H0, dt, dt, We, We, Oe, Oe], co = [en, H0, Gt, dt, Gt, dt, Gt, dt], X = {
|
|
5219
|
+
DISPLAY: rt[en],
|
|
5222
5220
|
TEXT: rt[Gt],
|
|
5223
5221
|
SCRIPT: rt[c0],
|
|
5224
5222
|
SCRIPTSCRIPT: rt[Wt]
|
|
5225
|
-
},
|
|
5223
|
+
}, $r = [{
|
|
5226
5224
|
// Latin characters beyond the Latin-1 characters we have metrics for.
|
|
5227
5225
|
// Needed for Czech, Hungarian and Turkish text, for example.
|
|
5228
5226
|
name: "latin",
|
|
@@ -5282,8 +5280,8 @@ var tn = 0, H0 = 1, Gt = 2, dt = 3, c0 = 4, We = 5, Wt = 6, Oe = 7, rt = [new xt
|
|
|
5282
5280
|
blocks: [[44032, 55215]]
|
|
5283
5281
|
}];
|
|
5284
5282
|
function ho(r) {
|
|
5285
|
-
for (var e = 0; e <
|
|
5286
|
-
for (var t =
|
|
5283
|
+
for (var e = 0; e < $r.length; e++)
|
|
5284
|
+
for (var t = $r[e], n = 0; n < t.blocks.length; n++) {
|
|
5287
5285
|
var a = t.blocks[n];
|
|
5288
5286
|
if (r >= a[0] && r <= a[1])
|
|
5289
5287
|
return t.name;
|
|
@@ -5291,7 +5289,7 @@ function ho(r) {
|
|
|
5291
5289
|
return null;
|
|
5292
5290
|
}
|
|
5293
5291
|
var B0 = [];
|
|
5294
|
-
|
|
5292
|
+
$r.forEach((r) => r.blocks.forEach((e) => B0.push(...e)));
|
|
5295
5293
|
function Ga(r) {
|
|
5296
5294
|
for (var e = 0; e < B0.length; e += 2)
|
|
5297
5295
|
if (r >= B0[e] && r <= B0[e + 1])
|
|
@@ -7980,7 +7978,7 @@ var nt = {
|
|
|
7980
7978
|
function Mo(r, e) {
|
|
7981
7979
|
nt[r] = e;
|
|
7982
7980
|
}
|
|
7983
|
-
function
|
|
7981
|
+
function tn(r, e, t) {
|
|
7984
7982
|
if (!nt[e])
|
|
7985
7983
|
throw new Error("Font metrics not found for font: " + e + ".");
|
|
7986
7984
|
var n = r.charCodeAt(0), a = nt[e][n];
|
|
@@ -7993,17 +7991,17 @@ function rn(r, e, t) {
|
|
|
7993
7991
|
width: a[4]
|
|
7994
7992
|
};
|
|
7995
7993
|
}
|
|
7996
|
-
var
|
|
7994
|
+
var or = {};
|
|
7997
7995
|
function So(r) {
|
|
7998
7996
|
var e;
|
|
7999
|
-
if (r >= 5 ? e = 0 : r >= 3 ? e = 1 : e = 2, !
|
|
8000
|
-
var t =
|
|
7997
|
+
if (r >= 5 ? e = 0 : r >= 3 ? e = 1 : e = 2, !or[e]) {
|
|
7998
|
+
var t = or[e] = {
|
|
8001
7999
|
cssEmPerMu: k0.quad[e] / 18
|
|
8002
8000
|
};
|
|
8003
8001
|
for (var n in k0)
|
|
8004
8002
|
k0.hasOwnProperty(n) && (t[n] = k0[n][e]);
|
|
8005
8003
|
}
|
|
8006
|
-
return
|
|
8004
|
+
return or[e];
|
|
8007
8005
|
}
|
|
8008
8006
|
var Ao = [
|
|
8009
8007
|
// Each element contains [textsize, scriptsize, scriptscriptsize].
|
|
@@ -8223,7 +8221,7 @@ class ut {
|
|
|
8223
8221
|
}
|
|
8224
8222
|
}
|
|
8225
8223
|
ut.BASESIZE = 6;
|
|
8226
|
-
var
|
|
8224
|
+
var Er = {
|
|
8227
8225
|
// https://en.wikibooks.org/wiki/LaTeX/Lengths and
|
|
8228
8226
|
// https://tex.stackexchange.com/a/8263
|
|
8229
8227
|
pt: 1,
|
|
@@ -8256,11 +8254,11 @@ var Ir = {
|
|
|
8256
8254
|
em: !0,
|
|
8257
8255
|
mu: !0
|
|
8258
8256
|
}, Ua = function(e) {
|
|
8259
|
-
return typeof e != "string" && (e = e.unit), e in
|
|
8257
|
+
return typeof e != "string" && (e = e.unit), e in Er || e in jo || e === "ex";
|
|
8260
8258
|
}, de = function(e, t) {
|
|
8261
8259
|
var n;
|
|
8262
|
-
if (e.unit in
|
|
8263
|
-
n =
|
|
8260
|
+
if (e.unit in Er)
|
|
8261
|
+
n = Er[e.unit] / t.fontMetrics().ptPerEm / t.sizeMultiplier;
|
|
8264
8262
|
else if (e.unit === "mu")
|
|
8265
8263
|
n = t.fontMetrics().cssEmPerMu;
|
|
8266
8264
|
else {
|
|
@@ -8330,7 +8328,7 @@ class g0 {
|
|
|
8330
8328
|
return Xa.call(this, "span");
|
|
8331
8329
|
}
|
|
8332
8330
|
}
|
|
8333
|
-
class
|
|
8331
|
+
class rn {
|
|
8334
8332
|
constructor(e, t, n, a) {
|
|
8335
8333
|
this.children = void 0, this.attributes = void 0, this.classes = void 0, this.height = void 0, this.depth = void 0, this.maxFontSize = void 0, this.style = void 0, Wa.call(this, t, a), this.children = n || [], this.setAttribute("href", e);
|
|
8336
8334
|
}
|
|
@@ -8444,7 +8442,7 @@ class jt {
|
|
|
8444
8442
|
return this.alternate ? '<path d="' + U.escape(this.alternate) + '"/>' : '<path d="' + U.escape(En[this.pathName]) + '"/>';
|
|
8445
8443
|
}
|
|
8446
8444
|
}
|
|
8447
|
-
class
|
|
8445
|
+
class Ir {
|
|
8448
8446
|
constructor(e) {
|
|
8449
8447
|
this.attributes = void 0, this.attributes = e || {};
|
|
8450
8448
|
}
|
|
@@ -9094,18 +9092,18 @@ l(O, p, z, "£", "\\textsterling", !0);
|
|
|
9094
9092
|
l(c, x, z, "✠", "\\maltese");
|
|
9095
9093
|
l(O, x, z, "✠", "\\maltese");
|
|
9096
9094
|
var Dn = '0123456789/@."';
|
|
9097
|
-
for (var
|
|
9098
|
-
var
|
|
9099
|
-
l(c, p, z,
|
|
9095
|
+
for (var lr = 0; lr < Dn.length; lr++) {
|
|
9096
|
+
var Rn = Dn.charAt(lr);
|
|
9097
|
+
l(c, p, z, Rn, Rn);
|
|
9100
9098
|
}
|
|
9101
|
-
var
|
|
9102
|
-
for (var
|
|
9103
|
-
var Hn =
|
|
9099
|
+
var _n = '0123456789!@*()-=+";:?/.,';
|
|
9100
|
+
for (var ur = 0; ur < _n.length; ur++) {
|
|
9101
|
+
var Hn = _n.charAt(ur);
|
|
9104
9102
|
l(O, p, z, Hn, Hn);
|
|
9105
9103
|
}
|
|
9106
9104
|
var L0 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
|
|
9107
|
-
for (var
|
|
9108
|
-
var M0 = L0.charAt(
|
|
9105
|
+
for (var cr = 0; cr < L0.length; cr++) {
|
|
9106
|
+
var M0 = L0.charAt(cr);
|
|
9109
9107
|
l(c, p, Y, M0, M0), l(O, p, z, M0, M0);
|
|
9110
9108
|
}
|
|
9111
9109
|
l(c, x, z, "C", "ℂ");
|
|
@@ -9136,9 +9134,9 @@ for (var Ft = 0; Ft < 10; Ft++) {
|
|
|
9136
9134
|
var wt = Ft.toString();
|
|
9137
9135
|
K = String.fromCharCode(55349, 57294 + Ft), l(c, p, Y, wt, K), l(O, p, z, wt, K), K = String.fromCharCode(55349, 57314 + Ft), l(c, p, Y, wt, K), l(O, p, z, wt, K), K = String.fromCharCode(55349, 57324 + Ft), l(c, p, Y, wt, K), l(O, p, z, wt, K), K = String.fromCharCode(55349, 57334 + Ft), l(c, p, Y, wt, K), l(O, p, z, wt, K);
|
|
9138
9136
|
}
|
|
9139
|
-
var
|
|
9140
|
-
for (var
|
|
9141
|
-
var S0 =
|
|
9137
|
+
var Br = "ÐÞþ";
|
|
9138
|
+
for (var dr = 0; dr < Br.length; dr++) {
|
|
9139
|
+
var S0 = Br.charAt(dr);
|
|
9142
9140
|
l(c, p, Y, S0, S0), l(O, p, z, S0, S0);
|
|
9143
9141
|
}
|
|
9144
9142
|
var A0 = [
|
|
@@ -9226,7 +9224,7 @@ var A0 = [
|
|
|
9226
9224
|
}, Y0 = function(e, t, n) {
|
|
9227
9225
|
return le[n][e] && le[n][e].replace && (e = le[n][e].replace), {
|
|
9228
9226
|
value: e,
|
|
9229
|
-
metrics:
|
|
9227
|
+
metrics: tn(e, t, n)
|
|
9230
9228
|
};
|
|
9231
9229
|
}, Qe = function(e, t, n, a, s) {
|
|
9232
9230
|
var i = Y0(e, t, n), o = i.metrics;
|
|
@@ -9302,32 +9300,32 @@ var A0 = [
|
|
|
9302
9300
|
if (e.style.hasOwnProperty(a) && r.style[a] !== e.style[a])
|
|
9303
9301
|
return !1;
|
|
9304
9302
|
return !0;
|
|
9305
|
-
},
|
|
9303
|
+
}, Ro = (r) => {
|
|
9306
9304
|
for (var e = 0; e < r.length - 1; e++) {
|
|
9307
9305
|
var t = r[e], n = r[e + 1];
|
|
9308
9306
|
t instanceof Ze && n instanceof Ze && Do(t, n) && (t.text += n.text, t.height = Math.max(t.height, n.height), t.depth = Math.max(t.depth, n.depth), t.italic = n.italic, r.splice(e + 1, 1), e--);
|
|
9309
9307
|
}
|
|
9310
9308
|
return r;
|
|
9311
|
-
},
|
|
9309
|
+
}, nn = function(e) {
|
|
9312
9310
|
for (var t = 0, n = 0, a = 0, s = 0; s < e.children.length; s++) {
|
|
9313
9311
|
var i = e.children[s];
|
|
9314
9312
|
i.height > t && (t = i.height), i.depth > n && (n = i.depth), i.maxFontSize > a && (a = i.maxFontSize);
|
|
9315
9313
|
}
|
|
9316
9314
|
e.height = t, e.depth = n, e.maxFontSize = a;
|
|
9317
|
-
},
|
|
9315
|
+
}, Re = function(e, t, n, a) {
|
|
9318
9316
|
var s = new g0(e, t, n, a);
|
|
9319
|
-
return
|
|
9320
|
-
}, Ka = (r, e, t, n) => new g0(r, e, t, n),
|
|
9321
|
-
var a =
|
|
9317
|
+
return nn(s), s;
|
|
9318
|
+
}, Ka = (r, e, t, n) => new g0(r, e, t, n), _o = function(e, t, n) {
|
|
9319
|
+
var a = Re([e], [], t);
|
|
9322
9320
|
return a.height = Math.max(n || t.fontMetrics().defaultRuleThickness, t.minRuleThickness), a.style.borderBottomWidth = N(a.height), a.maxFontSize = 1, a;
|
|
9323
9321
|
}, Ho = function(e, t, n, a) {
|
|
9324
|
-
var s = new
|
|
9325
|
-
return
|
|
9322
|
+
var s = new rn(e, t, n, a);
|
|
9323
|
+
return nn(s), s;
|
|
9326
9324
|
}, Ja = function(e) {
|
|
9327
9325
|
var t = new y0(e);
|
|
9328
|
-
return
|
|
9326
|
+
return nn(t), t;
|
|
9329
9327
|
}, Lo = function(e, t) {
|
|
9330
|
-
return e instanceof y0 ?
|
|
9328
|
+
return e instanceof y0 ? Re([], [e], t) : e;
|
|
9331
9329
|
}, No = function(e) {
|
|
9332
9330
|
if (e.positionType === "individualShift") {
|
|
9333
9331
|
for (var t = e.children, n = [t[0]], a = -t[0].shift - t[0].elem.depth, s = a, i = 1; i < t.length; i++) {
|
|
@@ -9378,32 +9376,32 @@ var A0 = [
|
|
|
9378
9376
|
}
|
|
9379
9377
|
}
|
|
9380
9378
|
s += 2;
|
|
9381
|
-
var d =
|
|
9379
|
+
var d = Re(["pstrut"], []);
|
|
9382
9380
|
d.style.height = N(s);
|
|
9383
9381
|
for (var h = [], m = a, y = a, b = a, M = 0; M < n.length; M++) {
|
|
9384
9382
|
var w = n[M];
|
|
9385
9383
|
if (w.type === "kern")
|
|
9386
9384
|
b += w.size;
|
|
9387
9385
|
else {
|
|
9388
|
-
var S = w.elem, j = w.wrapperClasses || [], v = w.wrapperStyle || {}, g =
|
|
9386
|
+
var S = w.elem, j = w.wrapperClasses || [], v = w.wrapperStyle || {}, g = Re(j, [d, S], void 0, v);
|
|
9389
9387
|
g.style.top = N(-s - b - S.depth), w.marginLeft && (g.style.marginLeft = w.marginLeft), w.marginRight && (g.style.marginRight = w.marginRight), h.push(g), b += S.height + S.depth;
|
|
9390
9388
|
}
|
|
9391
9389
|
m = Math.min(m, b), y = Math.max(y, b);
|
|
9392
9390
|
}
|
|
9393
|
-
var A =
|
|
9391
|
+
var A = Re(["vlist"], h);
|
|
9394
9392
|
A.style.height = N(y);
|
|
9395
9393
|
var T;
|
|
9396
9394
|
if (m < 0) {
|
|
9397
|
-
var C =
|
|
9395
|
+
var C = Re([], []), E = Re(["vlist"], [C]);
|
|
9398
9396
|
E.style.height = N(-m);
|
|
9399
|
-
var
|
|
9400
|
-
T = [
|
|
9397
|
+
var _ = Re(["vlist-s"], [new Ze("")]);
|
|
9398
|
+
T = [Re(["vlist-r"], [A, _]), Re(["vlist-r"], [E])];
|
|
9401
9399
|
} else
|
|
9402
|
-
T = [
|
|
9403
|
-
var D =
|
|
9400
|
+
T = [Re(["vlist-r"], [A])];
|
|
9401
|
+
var D = Re(["vlist-t"], T);
|
|
9404
9402
|
return T.length === 2 && D.classes.push("vlist-t2"), D.height = y, D.depth = -m, D;
|
|
9405
9403
|
}, qo = (r, e) => {
|
|
9406
|
-
var t =
|
|
9404
|
+
var t = Re(["mspace"], [], e), n = de(r, e);
|
|
9407
9405
|
return t.style.marginRight = N(n), t;
|
|
9408
9406
|
}, j0 = function(e, t, n) {
|
|
9409
9407
|
var a = "";
|
|
@@ -9498,9 +9496,9 @@ var A0 = [
|
|
|
9498
9496
|
fontMap: Qa,
|
|
9499
9497
|
makeSymbol: Qe,
|
|
9500
9498
|
mathsym: Bo,
|
|
9501
|
-
makeSpan:
|
|
9499
|
+
makeSpan: Re,
|
|
9502
9500
|
makeSvgSpan: Ka,
|
|
9503
|
-
makeLineSpan:
|
|
9501
|
+
makeLineSpan: _o,
|
|
9504
9502
|
makeAnchor: Ho,
|
|
9505
9503
|
makeFragment: Ja,
|
|
9506
9504
|
wrapFragment: Lo,
|
|
@@ -9509,7 +9507,7 @@ var A0 = [
|
|
|
9509
9507
|
makeGlue: qo,
|
|
9510
9508
|
staticSvg: Vo,
|
|
9511
9509
|
svgData: es,
|
|
9512
|
-
tryCombineChars:
|
|
9510
|
+
tryCombineChars: Ro
|
|
9513
9511
|
}, ce = {
|
|
9514
9512
|
number: 3,
|
|
9515
9513
|
unit: "mu"
|
|
@@ -9672,7 +9670,7 @@ var q0 = function(e) {
|
|
|
9672
9670
|
}, {
|
|
9673
9671
|
node: m
|
|
9674
9672
|
}, y, b), Nn(s, (M, w) => {
|
|
9675
|
-
var S =
|
|
9673
|
+
var S = Or(w), j = Or(M), v = S && j ? M.hasClass("mtight") ? Uo[S][j] : Go[S][j] : null;
|
|
9676
9674
|
if (v)
|
|
9677
9675
|
return $.makeGlue(v, d);
|
|
9678
9676
|
}, {
|
|
@@ -9697,7 +9695,7 @@ var q0 = function(e) {
|
|
|
9697
9695
|
}
|
|
9698
9696
|
a && e.pop();
|
|
9699
9697
|
}, rs = function(e) {
|
|
9700
|
-
return e instanceof y0 || e instanceof
|
|
9698
|
+
return e instanceof y0 || e instanceof rn || e instanceof g0 && e.hasClass("enclosing") ? e : null;
|
|
9701
9699
|
}, Ko = function r(e, t) {
|
|
9702
9700
|
var n = rs(e);
|
|
9703
9701
|
if (n) {
|
|
@@ -9710,7 +9708,7 @@ var q0 = function(e) {
|
|
|
9710
9708
|
}
|
|
9711
9709
|
}
|
|
9712
9710
|
return e;
|
|
9713
|
-
},
|
|
9711
|
+
}, Or = function(e, t) {
|
|
9714
9712
|
return e ? (t && (e = Ko(e, t)), Zo[e.classes[0]] || null) : null;
|
|
9715
9713
|
}, d0 = function(e, t) {
|
|
9716
9714
|
var n = ["nulldelimiter"].concat(e.baseSizingClasses());
|
|
@@ -9733,7 +9731,7 @@ function z0(r, e) {
|
|
|
9733
9731
|
var t = mt(["base"], r, e), n = mt(["strut"]);
|
|
9734
9732
|
return n.style.height = N(t.height + t.depth), t.depth && (n.style.verticalAlign = N(-t.depth)), t.children.unshift(n), t;
|
|
9735
9733
|
}
|
|
9736
|
-
function
|
|
9734
|
+
function Fr(r, e) {
|
|
9737
9735
|
var t = null;
|
|
9738
9736
|
r.length === 1 && r[0].type === "tag" && (t = r[0].tag, r = r[0].body);
|
|
9739
9737
|
var n = Me(r, e, "root"), a;
|
|
@@ -9859,16 +9857,16 @@ class Jo {
|
|
|
9859
9857
|
return this.character ? this.character : " ";
|
|
9860
9858
|
}
|
|
9861
9859
|
}
|
|
9862
|
-
var
|
|
9860
|
+
var R = {
|
|
9863
9861
|
MathNode: Ue,
|
|
9864
9862
|
TextNode: i0,
|
|
9865
9863
|
SpaceNode: Jo,
|
|
9866
9864
|
newDocumentFragment: ns
|
|
9867
9865
|
}, Ke = function(e, t, n) {
|
|
9868
|
-
return le[t][e] && le[t][e].replace && e.charCodeAt(0) !== 55349 && !(Za.hasOwnProperty(e) && n && (n.fontFamily && n.fontFamily.slice(4, 6) === "tt" || n.font && n.font.slice(4, 6) === "tt")) && (e = le[t][e].replace), new
|
|
9869
|
-
},
|
|
9870
|
-
return e.length === 1 ? e[0] : new
|
|
9871
|
-
},
|
|
9866
|
+
return le[t][e] && le[t][e].replace && e.charCodeAt(0) !== 55349 && !(Za.hasOwnProperty(e) && n && (n.fontFamily && n.fontFamily.slice(4, 6) === "tt" || n.font && n.font.slice(4, 6) === "tt")) && (e = le[t][e].replace), new R.TextNode(e);
|
|
9867
|
+
}, an = function(e) {
|
|
9868
|
+
return e.length === 1 ? e[0] : new R.MathNode("mrow", e);
|
|
9869
|
+
}, sn = function(e, t) {
|
|
9872
9870
|
if (t.fontFamily === "texttt")
|
|
9873
9871
|
return "monospace";
|
|
9874
9872
|
if (t.fontFamily === "textsf")
|
|
@@ -9904,7 +9902,7 @@ var _ = {
|
|
|
9904
9902
|
return null;
|
|
9905
9903
|
le[a][s] && le[a][s].replace && (s = le[a][s].replace);
|
|
9906
9904
|
var i = $.fontMap[n].fontName;
|
|
9907
|
-
return
|
|
9905
|
+
return tn(s, i, a) ? $.fontMap[n].variant : null;
|
|
9908
9906
|
}, Le = function(e, t, n) {
|
|
9909
9907
|
if (e.length === 1) {
|
|
9910
9908
|
var a = oe(e[0], t);
|
|
@@ -9937,10 +9935,10 @@ var _ = {
|
|
|
9937
9935
|
}
|
|
9938
9936
|
return s;
|
|
9939
9937
|
}, zt = function(e, t, n) {
|
|
9940
|
-
return
|
|
9938
|
+
return an(Le(e, t, n));
|
|
9941
9939
|
}, oe = function(e, t) {
|
|
9942
9940
|
if (!e)
|
|
9943
|
-
return new
|
|
9941
|
+
return new R.MathNode("mrow");
|
|
9944
9942
|
if (P0[e.type]) {
|
|
9945
9943
|
var n = P0[e.type](e, t);
|
|
9946
9944
|
return n;
|
|
@@ -9949,10 +9947,10 @@ var _ = {
|
|
|
9949
9947
|
};
|
|
9950
9948
|
function Pn(r, e, t, n, a) {
|
|
9951
9949
|
var s = Le(r, t), i;
|
|
9952
|
-
s.length === 1 && s[0] instanceof Ue && U.contains(["mrow", "mtable"], s[0].type) ? i = s[0] : i = new
|
|
9953
|
-
var o = new
|
|
9950
|
+
s.length === 1 && s[0] instanceof Ue && U.contains(["mrow", "mtable"], s[0].type) ? i = s[0] : i = new R.MathNode("mrow", s);
|
|
9951
|
+
var o = new R.MathNode("annotation", [new R.TextNode(e)]);
|
|
9954
9952
|
o.setAttribute("encoding", "application/x-tex");
|
|
9955
|
-
var u = new
|
|
9953
|
+
var u = new R.MathNode("semantics", [i, o]), d = new R.MathNode("math", [u]);
|
|
9956
9954
|
d.setAttribute("xmlns", "http://www.w3.org/1998/Math/MathML"), n && d.setAttribute("display", "block");
|
|
9957
9955
|
var h = a ? "katex" : "katex-mathml";
|
|
9958
9956
|
return $.makeSpan([h], [d]);
|
|
@@ -9974,15 +9972,15 @@ var as = function(e) {
|
|
|
9974
9972
|
if (n.output === "mathml")
|
|
9975
9973
|
return Pn(e, t, a, n.displayMode, !0);
|
|
9976
9974
|
if (n.output === "html") {
|
|
9977
|
-
var i =
|
|
9975
|
+
var i = Fr(e, a);
|
|
9978
9976
|
s = $.makeSpan(["katex"], [i]);
|
|
9979
9977
|
} else {
|
|
9980
|
-
var o = Pn(e, t, a, n.displayMode, !1), u =
|
|
9978
|
+
var o = Pn(e, t, a, n.displayMode, !1), u = Fr(e, a);
|
|
9981
9979
|
s = $.makeSpan(["katex"], [o, u]);
|
|
9982
9980
|
}
|
|
9983
9981
|
return ss(s, n);
|
|
9984
9982
|
}, el = function(e, t, n) {
|
|
9985
|
-
var a = as(n), s =
|
|
9983
|
+
var a = as(n), s = Fr(e, a), i = $.makeSpan(["katex"], [s]);
|
|
9986
9984
|
return ss(i, n);
|
|
9987
9985
|
}, tl = {
|
|
9988
9986
|
widehat: "^",
|
|
@@ -10030,7 +10028,7 @@ var as = function(e) {
|
|
|
10030
10028
|
"\\cdleftarrow": "←",
|
|
10031
10029
|
"\\cdlongequal": "="
|
|
10032
10030
|
}, rl = function(e) {
|
|
10033
|
-
var t = new
|
|
10031
|
+
var t = new R.MathNode("mo", [new R.TextNode(tl[e.replace(/^\\/, "")])]);
|
|
10034
10032
|
return t.setAttribute("stretchy", "true"), t;
|
|
10035
10033
|
}, nl = {
|
|
10036
10034
|
// path(s), minWidth, height, align
|
|
@@ -10104,14 +10102,14 @@ var as = function(e) {
|
|
|
10104
10102
|
height: b
|
|
10105
10103
|
};
|
|
10106
10104
|
} else {
|
|
10107
|
-
var j = [], v = nl[u], [g, A, T] = v, C = T / 1e3, E = g.length,
|
|
10105
|
+
var j = [], v = nl[u], [g, A, T] = v, C = T / 1e3, E = g.length, _, D;
|
|
10108
10106
|
if (E === 1) {
|
|
10109
10107
|
var ee = v[3];
|
|
10110
|
-
|
|
10108
|
+
_ = ["hide-tail"], D = [ee];
|
|
10111
10109
|
} else if (E === 2)
|
|
10112
|
-
|
|
10110
|
+
_ = ["halfarrow-left", "halfarrow-right"], D = ["xMinYMin", "xMaxYMin"];
|
|
10113
10111
|
else if (E === 3)
|
|
10114
|
-
|
|
10112
|
+
_ = ["brace-left", "brace-center", "brace-right"], D = ["xMinYMin", "xMidYMin", "xMaxYMin"];
|
|
10115
10113
|
else
|
|
10116
10114
|
throw new Error(`Correct katexImagesData or update code here to support
|
|
10117
10115
|
` + E + " children.");
|
|
@@ -10121,7 +10119,7 @@ var as = function(e) {
|
|
|
10121
10119
|
height: N(C),
|
|
10122
10120
|
viewBox: "0 0 " + o + " " + T,
|
|
10123
10121
|
preserveAspectRatio: D[re] + " slice"
|
|
10124
|
-
}), he = $.makeSvgSpan([
|
|
10122
|
+
}), he = $.makeSvgSpan([_[re]], [Ne], t);
|
|
10125
10123
|
if (E === 1)
|
|
10126
10124
|
return {
|
|
10127
10125
|
span: he,
|
|
@@ -10152,13 +10150,13 @@ var as = function(e) {
|
|
|
10152
10150
|
}
|
|
10153
10151
|
} else {
|
|
10154
10152
|
var d = [];
|
|
10155
|
-
/^[bx]cancel$/.test(t) && d.push(new
|
|
10153
|
+
/^[bx]cancel$/.test(t) && d.push(new Ir({
|
|
10156
10154
|
x1: "0",
|
|
10157
10155
|
y1: "0",
|
|
10158
10156
|
x2: "100%",
|
|
10159
10157
|
y2: "100%",
|
|
10160
10158
|
"stroke-width": "0.046em"
|
|
10161
|
-
})), /^x?cancel$/.test(t) && d.push(new
|
|
10159
|
+
})), /^x?cancel$/.test(t) && d.push(new Ir({
|
|
10162
10160
|
x1: "0",
|
|
10163
10161
|
y1: "100%",
|
|
10164
10162
|
x2: "100%",
|
|
@@ -10182,7 +10180,7 @@ function te(r, e) {
|
|
|
10182
10180
|
throw new Error("Expected node of type " + e + ", but got " + (r ? "node of type " + r.type : String(r)));
|
|
10183
10181
|
return r;
|
|
10184
10182
|
}
|
|
10185
|
-
function
|
|
10183
|
+
function on(r) {
|
|
10186
10184
|
var e = X0(r);
|
|
10187
10185
|
if (!e)
|
|
10188
10186
|
throw new Error("Expected node of symbol group type, but got " + (r ? "node of type " + r.type : String(r)));
|
|
@@ -10191,7 +10189,7 @@ function ln(r) {
|
|
|
10191
10189
|
function X0(r) {
|
|
10192
10190
|
return r && (r.type === "atom" || Eo.hasOwnProperty(r.type)) ? r : null;
|
|
10193
10191
|
}
|
|
10194
|
-
var
|
|
10192
|
+
var ln = (r, e) => {
|
|
10195
10193
|
var t, n, a;
|
|
10196
10194
|
r && r.type === "supsub" ? (n = te(r.base, "accent"), t = n.base, r.base = t, a = Co(ne(r, e)), r.base = n) : (n = te(r, "accent"), t = n.base);
|
|
10197
10195
|
var s = ne(t, e.havingCrampedStyle()), i = n.isShifty && U.isCharacterBox(t), o = 0;
|
|
@@ -10242,7 +10240,7 @@ var un = (r, e) => {
|
|
|
10242
10240
|
var j = $.makeSpan(["mord", "accent"], [y], e);
|
|
10243
10241
|
return a ? (a.children[0] = j, a.height = Math.max(j.height, a.height), a.classes[0] = "mord", a) : j;
|
|
10244
10242
|
}, is = (r, e) => {
|
|
10245
|
-
var t = r.isStretchy ? ft.mathMLnode(r.label) : new
|
|
10243
|
+
var t = r.isStretchy ? ft.mathMLnode(r.label) : new R.MathNode("mo", [Ke(r.label, r.mode)]), n = new R.MathNode("mover", [oe(r.base, e), t]);
|
|
10246
10244
|
return n.setAttribute("accent", "true"), n;
|
|
10247
10245
|
}, ol = new RegExp(["\\acute", "\\grave", "\\ddot", "\\tilde", "\\bar", "\\breve", "\\check", "\\hat", "\\vec", "\\dot", "\\mathring"].map((r) => "\\" + r).join("|"));
|
|
10248
10246
|
P({
|
|
@@ -10262,7 +10260,7 @@ P({
|
|
|
10262
10260
|
base: t
|
|
10263
10261
|
};
|
|
10264
10262
|
},
|
|
10265
|
-
htmlBuilder:
|
|
10263
|
+
htmlBuilder: ln,
|
|
10266
10264
|
mathmlBuilder: is
|
|
10267
10265
|
});
|
|
10268
10266
|
P({
|
|
@@ -10286,7 +10284,7 @@ P({
|
|
|
10286
10284
|
base: t
|
|
10287
10285
|
};
|
|
10288
10286
|
},
|
|
10289
|
-
htmlBuilder:
|
|
10287
|
+
htmlBuilder: ln,
|
|
10290
10288
|
mathmlBuilder: is
|
|
10291
10289
|
});
|
|
10292
10290
|
P({
|
|
@@ -10326,12 +10324,12 @@ P({
|
|
|
10326
10324
|
return $.makeSpan(["mord", "accentunder"], [s], e);
|
|
10327
10325
|
},
|
|
10328
10326
|
mathmlBuilder: (r, e) => {
|
|
10329
|
-
var t = ft.mathMLnode(r.label), n = new
|
|
10327
|
+
var t = ft.mathMLnode(r.label), n = new R.MathNode("munder", [oe(r.base, e), t]);
|
|
10330
10328
|
return n.setAttribute("accentunder", "true"), n;
|
|
10331
10329
|
}
|
|
10332
10330
|
});
|
|
10333
10331
|
var T0 = (r) => {
|
|
10334
|
-
var e = new
|
|
10332
|
+
var e = new R.MathNode("mpadded", r ? [r] : []);
|
|
10335
10333
|
return e.setAttribute("width", "+0.6em"), e.setAttribute("lspace", "0.3em"), e;
|
|
10336
10334
|
};
|
|
10337
10335
|
P({
|
|
@@ -10434,14 +10432,14 @@ P({
|
|
|
10434
10432
|
var a = T0(oe(r.body, e));
|
|
10435
10433
|
if (r.below) {
|
|
10436
10434
|
var s = T0(oe(r.below, e));
|
|
10437
|
-
n = new
|
|
10435
|
+
n = new R.MathNode("munderover", [t, s, a]);
|
|
10438
10436
|
} else
|
|
10439
|
-
n = new
|
|
10437
|
+
n = new R.MathNode("mover", [t, a]);
|
|
10440
10438
|
} else if (r.below) {
|
|
10441
10439
|
var i = T0(oe(r.below, e));
|
|
10442
|
-
n = new
|
|
10440
|
+
n = new R.MathNode("munder", [t, i]);
|
|
10443
10441
|
} else
|
|
10444
|
-
n = T0(), n = new
|
|
10442
|
+
n = T0(), n = new R.MathNode("mover", [t, n]);
|
|
10445
10443
|
return n;
|
|
10446
10444
|
}
|
|
10447
10445
|
});
|
|
@@ -10452,7 +10450,7 @@ function os(r, e) {
|
|
|
10452
10450
|
}
|
|
10453
10451
|
function ls(r, e) {
|
|
10454
10452
|
var t, n = Le(r.body, e);
|
|
10455
|
-
return r.mclass === "minner" ? t = new
|
|
10453
|
+
return r.mclass === "minner" ? t = new R.MathNode("mpadded", n) : r.mclass === "mord" ? r.isCharacterBox ? (t = n[0], t.type = "mi") : t = new R.MathNode("mi", n) : (r.isCharacterBox ? (t = n[0], t.type = "mo") : t = new R.MathNode("mo", n), r.mclass === "mbin" ? (t.attributes.lspace = "0.22em", t.attributes.rspace = "0.22em") : r.mclass === "mpunct" ? (t.attributes.lspace = "0em", t.attributes.rspace = "0.17em") : r.mclass === "mopen" || r.mclass === "mclose" ? (t.attributes.lspace = "0em", t.attributes.rspace = "0em") : r.mclass === "minner" && (t.attributes.lspace = "0.0556em", t.attributes.width = "+0.1111em")), t;
|
|
10456
10454
|
}
|
|
10457
10455
|
P({
|
|
10458
10456
|
type: "mclass",
|
|
@@ -10563,7 +10561,7 @@ P({
|
|
|
10563
10561
|
return n.style.textShadow = "0.02em 0.01em 0.04px", n;
|
|
10564
10562
|
},
|
|
10565
10563
|
mathmlBuilder(r, e) {
|
|
10566
|
-
var t = Le(r.body, e), n = new
|
|
10564
|
+
var t = Le(r.body, e), n = new R.MathNode("mstyle", t);
|
|
10567
10565
|
return n.setAttribute("style", "text-shadow: 0.02em 0.01em 0.04px"), n;
|
|
10568
10566
|
}
|
|
10569
10567
|
});
|
|
@@ -10638,7 +10636,7 @@ function hl(r) {
|
|
|
10638
10636
|
o.body.push(i[u]);
|
|
10639
10637
|
else {
|
|
10640
10638
|
n.push(o), u += 1;
|
|
10641
|
-
var d =
|
|
10639
|
+
var d = on(i[u]).text, h = new Array(2);
|
|
10642
10640
|
if (h[0] = {
|
|
10643
10641
|
type: "ordgroup",
|
|
10644
10642
|
mode: "math",
|
|
@@ -10718,8 +10716,8 @@ P({
|
|
|
10718
10716
|
return n.classes.push("cd-label-" + r.side), n.style.bottom = N(0.8 - n.depth), n.height = 0, n.depth = 0, n;
|
|
10719
10717
|
},
|
|
10720
10718
|
mathmlBuilder(r, e) {
|
|
10721
|
-
var t = new
|
|
10722
|
-
return t = new
|
|
10719
|
+
var t = new R.MathNode("mrow", [oe(r.label, e)]);
|
|
10720
|
+
return t = new R.MathNode("mpadded", [t]), t.setAttribute("width", "0"), r.side === "left" && t.setAttribute("lspace", "-1width"), t.setAttribute("voffset", "0.7em"), t = new R.MathNode("mstyle", [t]), t.setAttribute("displaystyle", "false"), t.setAttribute("scriptlevel", "1"), t;
|
|
10723
10721
|
}
|
|
10724
10722
|
});
|
|
10725
10723
|
P({
|
|
@@ -10743,7 +10741,7 @@ P({
|
|
|
10743
10741
|
return t.classes.push("cd-vert-arrow"), t;
|
|
10744
10742
|
},
|
|
10745
10743
|
mathmlBuilder(r, e) {
|
|
10746
|
-
return new
|
|
10744
|
+
return new R.MathNode("mrow", [oe(r.fragment, e)]);
|
|
10747
10745
|
}
|
|
10748
10746
|
});
|
|
10749
10747
|
P({
|
|
@@ -10776,7 +10774,7 @@ var us = (r, e) => {
|
|
|
10776
10774
|
var t = Me(r.body, e.withColor(r.color), !1);
|
|
10777
10775
|
return $.makeFragment(t);
|
|
10778
10776
|
}, cs = (r, e) => {
|
|
10779
|
-
var t = Le(r.body, e.withColor(r.color)), n = new
|
|
10777
|
+
var t = Le(r.body, e.withColor(r.color)), n = new R.MathNode("mstyle", t);
|
|
10780
10778
|
return n.setAttribute("mathcolor", r.color), n;
|
|
10781
10779
|
};
|
|
10782
10780
|
P({
|
|
@@ -10852,11 +10850,11 @@ P({
|
|
|
10852
10850
|
return r.newLine && (t.classes.push("newline"), r.size && (t.style.marginTop = N(de(r.size, e)))), t;
|
|
10853
10851
|
},
|
|
10854
10852
|
mathmlBuilder(r, e) {
|
|
10855
|
-
var t = new
|
|
10853
|
+
var t = new R.MathNode("mspace");
|
|
10856
10854
|
return r.newLine && (t.setAttribute("linebreak", "newline"), r.size && t.setAttribute("height", N(de(r.size, e)))), t;
|
|
10857
10855
|
}
|
|
10858
10856
|
});
|
|
10859
|
-
var
|
|
10857
|
+
var Dr = {
|
|
10860
10858
|
"\\global": "\\global",
|
|
10861
10859
|
"\\long": "\\\\globallong",
|
|
10862
10860
|
"\\\\globallong": "\\\\globallong",
|
|
@@ -10902,8 +10900,8 @@ P({
|
|
|
10902
10900
|
} = r;
|
|
10903
10901
|
e.consumeSpaces();
|
|
10904
10902
|
var n = e.fetch();
|
|
10905
|
-
if (
|
|
10906
|
-
return (t === "\\global" || t === "\\\\globallong") && (n.text =
|
|
10903
|
+
if (Dr[n.text])
|
|
10904
|
+
return (t === "\\global" || t === "\\\\globallong") && (n.text = Dr[n.text]), te(e.parseFunction(), "internal");
|
|
10907
10905
|
throw new H("Invalid token after macro prefix", n);
|
|
10908
10906
|
}
|
|
10909
10907
|
});
|
|
@@ -10945,7 +10943,7 @@ P({
|
|
|
10945
10943
|
tokens: u,
|
|
10946
10944
|
numArgs: s,
|
|
10947
10945
|
delimiters: o
|
|
10948
|
-
}, t ===
|
|
10946
|
+
}, t === Dr[t]), {
|
|
10949
10947
|
type: "internal",
|
|
10950
10948
|
mode: e.mode
|
|
10951
10949
|
};
|
|
@@ -11000,25 +10998,25 @@ P({
|
|
|
11000
10998
|
}
|
|
11001
10999
|
});
|
|
11002
11000
|
var s0 = function(e, t, n) {
|
|
11003
|
-
var a = le.math[e] && le.math[e].replace, s =
|
|
11001
|
+
var a = le.math[e] && le.math[e].replace, s = tn(a || e, t, n);
|
|
11004
11002
|
if (!s)
|
|
11005
11003
|
throw new Error("Unsupported symbol " + e + " and font size " + t + ".");
|
|
11006
11004
|
return s;
|
|
11007
|
-
},
|
|
11005
|
+
}, un = function(e, t, n, a) {
|
|
11008
11006
|
var s = n.havingBaseStyle(t), i = $.makeSpan(a.concat(s.sizingClasses(n)), [e], n), o = s.sizeMultiplier / n.sizeMultiplier;
|
|
11009
11007
|
return i.height *= o, i.depth *= o, i.maxFontSize = s.sizeMultiplier, i;
|
|
11010
11008
|
}, ps = function(e, t, n) {
|
|
11011
11009
|
var a = t.havingBaseStyle(n), s = (1 - t.sizeMultiplier / a.sizeMultiplier) * t.fontMetrics().axisHeight;
|
|
11012
11010
|
e.classes.push("delimcenter"), e.style.top = N(s), e.height -= s, e.depth += s;
|
|
11013
11011
|
}, ml = function(e, t, n, a, s, i) {
|
|
11014
|
-
var o = $.makeSymbol(e, "Main-Regular", s, a), u =
|
|
11012
|
+
var o = $.makeSymbol(e, "Main-Regular", s, a), u = un(o, t, a, i);
|
|
11015
11013
|
return n && ps(u, a, t), u;
|
|
11016
11014
|
}, fl = function(e, t, n, a) {
|
|
11017
11015
|
return $.makeSymbol(e, "Size" + t + "-Regular", n, a);
|
|
11018
11016
|
}, ms = function(e, t, n, a, s, i) {
|
|
11019
|
-
var o = fl(e, t, s, a), u =
|
|
11017
|
+
var o = fl(e, t, s, a), u = un($.makeSpan(["delimsizing", "size" + t], [o], a), X.TEXT, a, i);
|
|
11020
11018
|
return n && ps(u, a, X.TEXT), u;
|
|
11021
|
-
},
|
|
11019
|
+
}, hr = function(e, t, n) {
|
|
11022
11020
|
var a;
|
|
11023
11021
|
t === "Size1-Regular" ? a = "delim-size1" : a = "delim-size4";
|
|
11024
11022
|
var s = $.makeSpan(["delimsizinginner", a], [$.makeSpan([], [$.makeSymbol(e, t, n)])]);
|
|
@@ -11026,7 +11024,7 @@ var s0 = function(e, t, n) {
|
|
|
11026
11024
|
type: "elem",
|
|
11027
11025
|
elem: s
|
|
11028
11026
|
};
|
|
11029
|
-
},
|
|
11027
|
+
}, pr = function(e, t, n) {
|
|
11030
11028
|
var a = nt["Size4-Regular"][e.charCodeAt(0)] ? nt["Size4-Regular"][e.charCodeAt(0)][4] : nt["Size1-Regular"][e.charCodeAt(0)][4], s = new jt("inner", wo(e, Math.round(1e3 * t))), i = new pt([s], {
|
|
11031
11029
|
width: N(a),
|
|
11032
11030
|
height: N(t),
|
|
@@ -11052,7 +11050,7 @@ var s0 = function(e, t, n) {
|
|
|
11052
11050
|
var C = s0(u, b, s);
|
|
11053
11051
|
A = C.height + C.depth, T = 2;
|
|
11054
11052
|
}
|
|
11055
|
-
var E = w + g + A,
|
|
11053
|
+
var E = w + g + A, _ = Math.max(0, Math.ceil((t - E) / (T * j))), D = E + _ * T * j, ee = a.fontMetrics().axisHeight;
|
|
11056
11054
|
n && (ee *= a.sizeMultiplier);
|
|
11057
11055
|
var re = D / 2 - ee, ae = [];
|
|
11058
11056
|
if (m.length > 0) {
|
|
@@ -11066,22 +11064,22 @@ var s0 = function(e, t, n) {
|
|
|
11066
11064
|
elem: Se
|
|
11067
11065
|
});
|
|
11068
11066
|
} else {
|
|
11069
|
-
if (ae.push(
|
|
11067
|
+
if (ae.push(hr(h, b, s)), ae.push(C0), u === null) {
|
|
11070
11068
|
var fe = D - w - g + 2 * Rr;
|
|
11071
|
-
ae.push(
|
|
11069
|
+
ae.push(pr(d, fe, a));
|
|
11072
11070
|
} else {
|
|
11073
11071
|
var ie = (D - w - g - A) / 2 + 2 * Rr;
|
|
11074
|
-
ae.push(
|
|
11072
|
+
ae.push(pr(d, ie, a)), ae.push(C0), ae.push(hr(u, b, s)), ae.push(C0), ae.push(pr(d, ie, a));
|
|
11075
11073
|
}
|
|
11076
|
-
ae.push(C0), ae.push(
|
|
11074
|
+
ae.push(C0), ae.push(hr(o, b, s));
|
|
11077
11075
|
}
|
|
11078
11076
|
var Ge = a.havingBaseStyle(X.TEXT), ve = $.makeVList({
|
|
11079
11077
|
positionType: "bottom",
|
|
11080
11078
|
positionData: re,
|
|
11081
11079
|
children: ae
|
|
11082
11080
|
}, Ge);
|
|
11083
|
-
return
|
|
11084
|
-
},
|
|
11081
|
+
return un($.makeSpan(["delimsizing", "mult"], [ve], Ge), X.TEXT, a, i);
|
|
11082
|
+
}, mr = 80, fr = 0.08, vr = function(e, t, n, a, s) {
|
|
11085
11083
|
var i = xo(e, a, n), o = new jt(e, i), u = new pt([o], {
|
|
11086
11084
|
// Note: 1000:1 ratio of viewBox to document em width.
|
|
11087
11085
|
width: "400em",
|
|
@@ -11092,7 +11090,7 @@ var s0 = function(e, t, n) {
|
|
|
11092
11090
|
return $.makeSvgSpan(["hide-tail"], [u], s);
|
|
11093
11091
|
}, gl = function(e, t) {
|
|
11094
11092
|
var n = t.havingBaseSizing(), a = bs("\\surd", e * n.sizeMultiplier, gs, n), s = n.sizeMultiplier, i = Math.max(0, t.minRuleThickness - t.fontMetrics().sqrtRuleThickness), o, u = 0, d = 0, h = 0, m;
|
|
11095
|
-
return a.type === "small" ? (h = 1e3 + 1e3 * i +
|
|
11093
|
+
return a.type === "small" ? (h = 1e3 + 1e3 * i + mr, e < 1 ? s = 1 : e < 1.4 && (s = 0.7), u = (1 + i + fr) / s, d = (1 + i) / s, o = vr("sqrtMain", u, h, i, t), o.style.minWidth = "0.853em", m = 0.833 / s) : a.type === "large" ? (h = (1e3 + mr) * o0[a.size], d = (o0[a.size] + i) / s, u = (o0[a.size] + i + fr) / s, o = vr("sqrtSize" + a.size, u, h, i, t), o.style.minWidth = "1.02em", m = 1 / s) : (u = e + i + fr, d = e + i, h = Math.floor(1e3 * e + i) + mr, o = vr("sqrtTall", u, h, i, t), o.style.minWidth = "0.742em", m = 1.056), o.height = d, o.style.height = N(u), {
|
|
11096
11094
|
span: o,
|
|
11097
11095
|
advanceWidth: m,
|
|
11098
11096
|
// Calculate the actual line width.
|
|
@@ -11301,7 +11299,7 @@ P({
|
|
|
11301
11299
|
mathmlBuilder: (r) => {
|
|
11302
11300
|
var e = [];
|
|
11303
11301
|
r.delim !== "." && e.push(Ke(r.delim, r.mode));
|
|
11304
|
-
var t = new
|
|
11302
|
+
var t = new R.MathNode("mo", e);
|
|
11305
11303
|
r.mclass === "mopen" || r.mclass === "mclose" ? t.setAttribute("fence", "true") : t.setAttribute("fence", "false"), t.setAttribute("stretchy", "true");
|
|
11306
11304
|
var n = N(ht.sizeToMaxHeight[r.size]);
|
|
11307
11305
|
return t.setAttribute("minsize", n), t.setAttribute("maxsize", n), t;
|
|
@@ -11377,14 +11375,14 @@ P({
|
|
|
11377
11375
|
Un(r);
|
|
11378
11376
|
var t = Le(r.body, e);
|
|
11379
11377
|
if (r.left !== ".") {
|
|
11380
|
-
var n = new
|
|
11378
|
+
var n = new R.MathNode("mo", [Ke(r.left, r.mode)]);
|
|
11381
11379
|
n.setAttribute("fence", "true"), t.unshift(n);
|
|
11382
11380
|
}
|
|
11383
11381
|
if (r.right !== ".") {
|
|
11384
|
-
var a = new
|
|
11382
|
+
var a = new R.MathNode("mo", [Ke(r.right, r.mode)]);
|
|
11385
11383
|
a.setAttribute("fence", "true"), r.rightColor && a.setAttribute("mathcolor", r.rightColor), t.push(a);
|
|
11386
11384
|
}
|
|
11387
|
-
return
|
|
11385
|
+
return an(t);
|
|
11388
11386
|
}
|
|
11389
11387
|
});
|
|
11390
11388
|
P({
|
|
@@ -11419,11 +11417,11 @@ P({
|
|
|
11419
11417
|
return t;
|
|
11420
11418
|
},
|
|
11421
11419
|
mathmlBuilder: (r, e) => {
|
|
11422
|
-
var t = r.delim === "\\vert" || r.delim === "|" ? Ke("|", "text") : Ke(r.delim, r.mode), n = new
|
|
11420
|
+
var t = r.delim === "\\vert" || r.delim === "|" ? Ke("|", "text") : Ke(r.delim, r.mode), n = new R.MathNode("mo", [t]);
|
|
11423
11421
|
return n.setAttribute("fence", "true"), n.setAttribute("lspace", "0.05em"), n.setAttribute("rspace", "0.05em"), n;
|
|
11424
11422
|
}
|
|
11425
11423
|
});
|
|
11426
|
-
var
|
|
11424
|
+
var cn = (r, e) => {
|
|
11427
11425
|
var t = $.wrapFragment(ne(r.body, e), e), n = r.label.slice(1), a = e.sizeMultiplier, s, i = 0, o = U.isCharacterBox(r.body);
|
|
11428
11426
|
if (n === "sout")
|
|
11429
11427
|
s = $.makeSpan(["stretchy", "sout"]), s.height = e.fontMetrics().defaultRuleThickness / a, i = -0.5 * e.fontMetrics().xHeight;
|
|
@@ -11494,8 +11492,8 @@ var dn = (r, e) => {
|
|
|
11494
11492
|
}, e);
|
|
11495
11493
|
}
|
|
11496
11494
|
return /cancel/.test(n) && (v.height = t.height, v.depth = t.depth), /cancel/.test(n) && !o ? $.makeSpan(["mord", "cancel-lap"], [v], e) : $.makeSpan(["mord"], [v], e);
|
|
11497
|
-
},
|
|
11498
|
-
var t = 0, n = new
|
|
11495
|
+
}, dn = (r, e) => {
|
|
11496
|
+
var t = 0, n = new R.MathNode(r.label.indexOf("colorbox") > -1 ? "mpadded" : "menclose", [oe(r.body, e)]);
|
|
11499
11497
|
switch (r.label) {
|
|
11500
11498
|
case "\\cancel":
|
|
11501
11499
|
n.setAttribute("notation", "updiagonalstrike");
|
|
@@ -11554,8 +11552,8 @@ P({
|
|
|
11554
11552
|
body: i
|
|
11555
11553
|
};
|
|
11556
11554
|
},
|
|
11557
|
-
htmlBuilder:
|
|
11558
|
-
mathmlBuilder:
|
|
11555
|
+
htmlBuilder: cn,
|
|
11556
|
+
mathmlBuilder: dn
|
|
11559
11557
|
});
|
|
11560
11558
|
P({
|
|
11561
11559
|
type: "enclose",
|
|
@@ -11579,8 +11577,8 @@ P({
|
|
|
11579
11577
|
body: o
|
|
11580
11578
|
};
|
|
11581
11579
|
},
|
|
11582
|
-
htmlBuilder:
|
|
11583
|
-
mathmlBuilder:
|
|
11580
|
+
htmlBuilder: cn,
|
|
11581
|
+
mathmlBuilder: dn
|
|
11584
11582
|
});
|
|
11585
11583
|
P({
|
|
11586
11584
|
type: "enclose",
|
|
@@ -11620,8 +11618,8 @@ P({
|
|
|
11620
11618
|
body: a
|
|
11621
11619
|
};
|
|
11622
11620
|
},
|
|
11623
|
-
htmlBuilder:
|
|
11624
|
-
mathmlBuilder:
|
|
11621
|
+
htmlBuilder: cn,
|
|
11622
|
+
mathmlBuilder: dn
|
|
11625
11623
|
});
|
|
11626
11624
|
P({
|
|
11627
11625
|
type: "enclose",
|
|
@@ -11679,7 +11677,7 @@ var J0 = (r) => {
|
|
|
11679
11677
|
if (!e.displayMode)
|
|
11680
11678
|
throw new H("{" + r.envName + "} can be used only in display mode.");
|
|
11681
11679
|
};
|
|
11682
|
-
function
|
|
11680
|
+
function hn(r) {
|
|
11683
11681
|
if (r.indexOf("ed") === -1)
|
|
11684
11682
|
return r.indexOf("*") === -1;
|
|
11685
11683
|
}
|
|
@@ -11756,7 +11754,7 @@ function Et(r, e, t) {
|
|
|
11756
11754
|
leqno: y
|
|
11757
11755
|
};
|
|
11758
11756
|
}
|
|
11759
|
-
function
|
|
11757
|
+
function pn(r) {
|
|
11760
11758
|
return r.slice(0, 1) === "d" ? "display" : "text";
|
|
11761
11759
|
}
|
|
11762
11760
|
var it = function(e, t) {
|
|
@@ -11784,13 +11782,13 @@ var it = function(e, t) {
|
|
|
11784
11782
|
for (A(i[0]), n = 0; n < e.body.length; ++n) {
|
|
11785
11783
|
var T = e.body[n], C = j, E = v;
|
|
11786
11784
|
o < T.length && (o = T.length);
|
|
11787
|
-
var
|
|
11785
|
+
var _ = new Array(T.length);
|
|
11788
11786
|
for (a = 0; a < T.length; ++a) {
|
|
11789
11787
|
var D = ne(T[a], t);
|
|
11790
|
-
E < D.depth && (E = D.depth), C < D.height && (C = D.height),
|
|
11788
|
+
E < D.depth && (E = D.depth), C < D.height && (C = D.height), _[a] = D;
|
|
11791
11789
|
}
|
|
11792
11790
|
var ee = e.rowGaps[n], re = 0;
|
|
11793
|
-
ee && (re = de(ee, t), re > 0 && (re += v, E < re && (E = re), re = 0)), e.addJot && (E += w),
|
|
11791
|
+
ee && (re = de(ee, t), re > 0 && (re += v, E < re && (E = re), re = 0)), e.addJot && (E += w), _.height = C, _.depth = E, g += C, _.pos = g, g += E + re, u[n] = _, A(i[n + 1]);
|
|
11794
11792
|
}
|
|
11795
11793
|
var ae = g / 2 + t.fontMetrics().axisHeight, Ne = e.cols || [], he = [], Ce, De, be = [];
|
|
11796
11794
|
if (e.tags && e.tags.some((x0) => x0))
|
|
@@ -11846,15 +11844,15 @@ var it = function(e, t) {
|
|
|
11846
11844
|
elem: u,
|
|
11847
11845
|
shift: 0
|
|
11848
11846
|
}]; d.length > 0; ) {
|
|
11849
|
-
var
|
|
11850
|
-
|
|
11847
|
+
var jn = d.pop(), zn = jn.pos - ae;
|
|
11848
|
+
jn.isDashed ? sr.push({
|
|
11851
11849
|
type: "elem",
|
|
11852
11850
|
elem: r0,
|
|
11853
|
-
shift:
|
|
11851
|
+
shift: zn
|
|
11854
11852
|
}) : sr.push({
|
|
11855
11853
|
type: "elem",
|
|
11856
11854
|
elem: ar,
|
|
11857
|
-
shift:
|
|
11855
|
+
shift: zn
|
|
11858
11856
|
});
|
|
11859
11857
|
}
|
|
11860
11858
|
u = $.makeVList({
|
|
@@ -11874,12 +11872,12 @@ var it = function(e, t) {
|
|
|
11874
11872
|
l: "left ",
|
|
11875
11873
|
r: "right "
|
|
11876
11874
|
}, ot = function(e, t) {
|
|
11877
|
-
for (var n = [], a = new
|
|
11875
|
+
for (var n = [], a = new R.MathNode("mtd", [], ["mtr-glue"]), s = new R.MathNode("mtd", [], ["mml-eqn-num"]), i = 0; i < e.body.length; i++) {
|
|
11878
11876
|
for (var o = e.body[i], u = [], d = 0; d < o.length; d++)
|
|
11879
|
-
u.push(new
|
|
11880
|
-
e.tags && e.tags[i] && (u.unshift(a), u.push(a), e.leqno ? u.unshift(s) : u.push(s)), n.push(new
|
|
11877
|
+
u.push(new R.MathNode("mtd", [oe(o[d], t)]));
|
|
11878
|
+
e.tags && e.tags[i] && (u.unshift(a), u.push(a), e.leqno ? u.unshift(s) : u.push(s)), n.push(new R.MathNode("mtr", u));
|
|
11881
11879
|
}
|
|
11882
|
-
var h = new
|
|
11880
|
+
var h = new R.MathNode("mtable", n), m = e.arraystretch === 0.5 ? 0.1 : 0.16 + e.arraystretch - 1 + (e.addJot ? 0.09 : 0);
|
|
11883
11881
|
h.setAttribute("rowspacing", N(m));
|
|
11884
11882
|
var y = "", b = "";
|
|
11885
11883
|
if (e.cols && e.cols.length > 0) {
|
|
@@ -11894,17 +11892,17 @@ var it = function(e, t) {
|
|
|
11894
11892
|
T += C % 2 ? "0em " : "1em ";
|
|
11895
11893
|
h.setAttribute("columnspacing", T.trim());
|
|
11896
11894
|
} else e.colSeparationType === "alignat" || e.colSeparationType === "gather" ? h.setAttribute("columnspacing", "0em") : e.colSeparationType === "small" ? h.setAttribute("columnspacing", "0.2778em") : e.colSeparationType === "CD" ? h.setAttribute("columnspacing", "0.5em") : h.setAttribute("columnspacing", "1em");
|
|
11897
|
-
var E = "",
|
|
11898
|
-
y +=
|
|
11899
|
-
for (var D = 1; D <
|
|
11900
|
-
E +=
|
|
11901
|
-
return /[sd]/.test(E) && h.setAttribute("rowlines", E.trim()), y !== "" && (h = new
|
|
11895
|
+
var E = "", _ = e.hLinesBeforeRow;
|
|
11896
|
+
y += _[0].length > 0 ? "left " : "", y += _[_.length - 1].length > 0 ? "right " : "";
|
|
11897
|
+
for (var D = 1; D < _.length - 1; D++)
|
|
11898
|
+
E += _[D].length === 0 ? "none " : _[D][0] ? "dashed " : "solid ";
|
|
11899
|
+
return /[sd]/.test(E) && h.setAttribute("rowlines", E.trim()), y !== "" && (h = new R.MathNode("menclose", [h]), h.setAttribute("notation", y.trim())), e.arraystretch && e.arraystretch < 1 && (h = new R.MathNode("mstyle", [h]), h.setAttribute("scriptlevel", "1")), h;
|
|
11902
11900
|
}, Ms = function(e, t) {
|
|
11903
11901
|
e.envName.indexOf("ed") === -1 && J0(e);
|
|
11904
11902
|
var n = [], a = e.envName.indexOf("at") > -1 ? "alignat" : "align", s = e.envName === "split", i = Et(e.parser, {
|
|
11905
11903
|
cols: n,
|
|
11906
11904
|
addJot: !0,
|
|
11907
|
-
autoTag: s ? void 0 :
|
|
11905
|
+
autoTag: s ? void 0 : hn(e.envName),
|
|
11908
11906
|
emptySingleRow: !0,
|
|
11909
11907
|
colSeparationType: a,
|
|
11910
11908
|
maxNumCols: s ? 2 : void 0,
|
|
@@ -11954,7 +11952,7 @@ st({
|
|
|
11954
11952
|
},
|
|
11955
11953
|
handler(r, e) {
|
|
11956
11954
|
var t = X0(e[0]), n = t ? [e[0]] : te(e[0], "ordgroup").body, a = n.map(function(i) {
|
|
11957
|
-
var o =
|
|
11955
|
+
var o = on(i), u = o.text;
|
|
11958
11956
|
if ("lcr".indexOf(u) !== -1)
|
|
11959
11957
|
return {
|
|
11960
11958
|
type: "align",
|
|
@@ -11977,7 +11975,7 @@ st({
|
|
|
11977
11975
|
// \@preamble in lttab.dtx
|
|
11978
11976
|
maxNumCols: a.length
|
|
11979
11977
|
};
|
|
11980
|
-
return Et(r.parser, s,
|
|
11978
|
+
return Et(r.parser, s, pn(r.envName));
|
|
11981
11979
|
},
|
|
11982
11980
|
htmlBuilder: it,
|
|
11983
11981
|
mathmlBuilder: ot
|
|
@@ -12014,7 +12012,7 @@ st({
|
|
|
12014
12012
|
}];
|
|
12015
12013
|
}
|
|
12016
12014
|
}
|
|
12017
|
-
var s = Et(r.parser, n,
|
|
12015
|
+
var s = Et(r.parser, n, pn(r.envName)), i = Math.max(0, ...s.body.map((o) => o.length));
|
|
12018
12016
|
return s.cols = new Array(i).fill({
|
|
12019
12017
|
type: "align",
|
|
12020
12018
|
align: t
|
|
@@ -12054,7 +12052,7 @@ st({
|
|
|
12054
12052
|
},
|
|
12055
12053
|
handler(r, e) {
|
|
12056
12054
|
var t = X0(e[0]), n = t ? [e[0]] : te(e[0], "ordgroup").body, a = n.map(function(i) {
|
|
12057
|
-
var o =
|
|
12055
|
+
var o = on(i), u = o.text;
|
|
12058
12056
|
if ("lc".indexOf(u) !== -1)
|
|
12059
12057
|
return {
|
|
12060
12058
|
type: "align",
|
|
@@ -12101,7 +12099,7 @@ st({
|
|
|
12101
12099
|
pregap: 0,
|
|
12102
12100
|
postgap: 0
|
|
12103
12101
|
}]
|
|
12104
|
-
}, t = Et(r.parser, e,
|
|
12102
|
+
}, t = Et(r.parser, e, pn(r.envName));
|
|
12105
12103
|
return {
|
|
12106
12104
|
type: "leftright",
|
|
12107
12105
|
mode: r.mode,
|
|
@@ -12139,7 +12137,7 @@ st({
|
|
|
12139
12137
|
}],
|
|
12140
12138
|
addJot: !0,
|
|
12141
12139
|
colSeparationType: "gather",
|
|
12142
|
-
autoTag:
|
|
12140
|
+
autoTag: hn(r.envName),
|
|
12143
12141
|
emptySingleRow: !0,
|
|
12144
12142
|
leqno: r.parser.settings.leqno
|
|
12145
12143
|
};
|
|
@@ -12167,7 +12165,7 @@ st({
|
|
|
12167
12165
|
handler(r) {
|
|
12168
12166
|
J0(r);
|
|
12169
12167
|
var e = {
|
|
12170
|
-
autoTag:
|
|
12168
|
+
autoTag: hn(r.envName),
|
|
12171
12169
|
emptySingleRow: !0,
|
|
12172
12170
|
singleRow: !0,
|
|
12173
12171
|
maxNumCols: 1,
|
|
@@ -12354,7 +12352,7 @@ P({
|
|
|
12354
12352
|
var js = (r, e) => {
|
|
12355
12353
|
var t = e;
|
|
12356
12354
|
return r === "display" ? t = t.id >= X.SCRIPT.id ? t.text() : X.DISPLAY : r === "text" && t.size === X.DISPLAY.size ? t = X.TEXT : r === "script" ? t = X.SCRIPT : r === "scriptscript" && (t = X.SCRIPTSCRIPT), t;
|
|
12357
|
-
},
|
|
12355
|
+
}, mn = (r, e) => {
|
|
12358
12356
|
var t = js(r.size, e.style), n = t.fracNum(), a = t.fracDen(), s;
|
|
12359
12357
|
s = e.havingStyle(n);
|
|
12360
12358
|
var i = ne(r.numer, s, e);
|
|
@@ -12408,8 +12406,8 @@ var js = (r, e) => {
|
|
|
12408
12406
|
t.size === X.DISPLAY.size ? A = e.fontMetrics().delim1 : t.size === X.SCRIPTSCRIPT.size ? A = e.havingStyle(X.SCRIPT).fontMetrics().delim2 : A = e.fontMetrics().delim2;
|
|
12409
12407
|
var T, C;
|
|
12410
12408
|
return r.leftDelim == null ? T = d0(e, ["mopen"]) : T = ht.customSizedDelim(r.leftDelim, A, !0, e.havingStyle(t), r.mode, ["mopen"]), r.continued ? C = $.makeSpan([]) : r.rightDelim == null ? C = d0(e, ["mclose"]) : C = ht.customSizedDelim(r.rightDelim, A, !0, e.havingStyle(t), r.mode, ["mclose"]), $.makeSpan(["mord"].concat(s.sizingClasses(e)), [T, $.makeSpan(["mfrac"], [S]), C], e);
|
|
12411
|
-
},
|
|
12412
|
-
var t = new
|
|
12409
|
+
}, fn = (r, e) => {
|
|
12410
|
+
var t = new R.MathNode("mfrac", [oe(r.numer, e), oe(r.denom, e)]);
|
|
12413
12411
|
if (!r.hasBarLine)
|
|
12414
12412
|
t.setAttribute("linethickness", "0px");
|
|
12415
12413
|
else if (r.barSize) {
|
|
@@ -12418,21 +12416,21 @@ var js = (r, e) => {
|
|
|
12418
12416
|
}
|
|
12419
12417
|
var a = js(r.size, e.style);
|
|
12420
12418
|
if (a.size !== e.style.size) {
|
|
12421
|
-
t = new
|
|
12419
|
+
t = new R.MathNode("mstyle", [t]);
|
|
12422
12420
|
var s = a.size === X.DISPLAY.size ? "true" : "false";
|
|
12423
12421
|
t.setAttribute("displaystyle", s), t.setAttribute("scriptlevel", "0");
|
|
12424
12422
|
}
|
|
12425
12423
|
if (r.leftDelim != null || r.rightDelim != null) {
|
|
12426
12424
|
var i = [];
|
|
12427
12425
|
if (r.leftDelim != null) {
|
|
12428
|
-
var o = new
|
|
12426
|
+
var o = new R.MathNode("mo", [new R.TextNode(r.leftDelim.replace("\\", ""))]);
|
|
12429
12427
|
o.setAttribute("fence", "true"), i.push(o);
|
|
12430
12428
|
}
|
|
12431
12429
|
if (i.push(t), r.rightDelim != null) {
|
|
12432
|
-
var u = new
|
|
12430
|
+
var u = new R.MathNode("mo", [new R.TextNode(r.rightDelim.replace("\\", ""))]);
|
|
12433
12431
|
u.setAttribute("fence", "true"), i.push(u);
|
|
12434
12432
|
}
|
|
12435
|
-
return
|
|
12433
|
+
return an(i);
|
|
12436
12434
|
}
|
|
12437
12435
|
return t;
|
|
12438
12436
|
};
|
|
@@ -12506,8 +12504,8 @@ P({
|
|
|
12506
12504
|
barSize: null
|
|
12507
12505
|
};
|
|
12508
12506
|
},
|
|
12509
|
-
htmlBuilder:
|
|
12510
|
-
mathmlBuilder:
|
|
12507
|
+
htmlBuilder: mn,
|
|
12508
|
+
mathmlBuilder: fn
|
|
12511
12509
|
});
|
|
12512
12510
|
P({
|
|
12513
12511
|
type: "genfrac",
|
|
@@ -12612,8 +12610,8 @@ P({
|
|
|
12612
12610
|
size: y
|
|
12613
12611
|
};
|
|
12614
12612
|
},
|
|
12615
|
-
htmlBuilder:
|
|
12616
|
-
mathmlBuilder:
|
|
12613
|
+
htmlBuilder: mn,
|
|
12614
|
+
mathmlBuilder: fn
|
|
12617
12615
|
});
|
|
12618
12616
|
P({
|
|
12619
12617
|
type: "infix",
|
|
@@ -12663,8 +12661,8 @@ P({
|
|
|
12663
12661
|
size: "auto"
|
|
12664
12662
|
};
|
|
12665
12663
|
},
|
|
12666
|
-
htmlBuilder:
|
|
12667
|
-
mathmlBuilder:
|
|
12664
|
+
htmlBuilder: mn,
|
|
12665
|
+
mathmlBuilder: fn
|
|
12668
12666
|
});
|
|
12669
12667
|
var zs = (r, e) => {
|
|
12670
12668
|
var t = e.style, n, a;
|
|
@@ -12727,7 +12725,7 @@ var zs = (r, e) => {
|
|
|
12727
12725
|
return $.makeSpan(["mord", a.isOver ? "mover" : "munder"], [o], e);
|
|
12728
12726
|
}, zl = (r, e) => {
|
|
12729
12727
|
var t = ft.mathMLnode(r.label);
|
|
12730
|
-
return new
|
|
12728
|
+
return new R.MathNode(r.isOver ? "mover" : "munder", [oe(r.base, e), t]);
|
|
12731
12729
|
};
|
|
12732
12730
|
P({
|
|
12733
12731
|
type: "horizBrace",
|
|
@@ -12845,7 +12843,7 @@ P({
|
|
|
12845
12843
|
return $.makeFragment(t);
|
|
12846
12844
|
},
|
|
12847
12845
|
mathmlBuilder(r, e) {
|
|
12848
|
-
return new
|
|
12846
|
+
return new R.MathNode("mrow", Le(r.body, e));
|
|
12849
12847
|
}
|
|
12850
12848
|
});
|
|
12851
12849
|
P({
|
|
@@ -12940,7 +12938,7 @@ P({
|
|
|
12940
12938
|
},
|
|
12941
12939
|
mathmlBuilder: (r, e) => zt(r.mathml, e)
|
|
12942
12940
|
});
|
|
12943
|
-
var
|
|
12941
|
+
var yr = function(e) {
|
|
12944
12942
|
if (/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))
|
|
12945
12943
|
return {
|
|
12946
12944
|
number: +e,
|
|
@@ -12990,13 +12988,13 @@ P({
|
|
|
12990
12988
|
o = y;
|
|
12991
12989
|
break;
|
|
12992
12990
|
case "width":
|
|
12993
|
-
a =
|
|
12991
|
+
a = yr(y);
|
|
12994
12992
|
break;
|
|
12995
12993
|
case "height":
|
|
12996
|
-
s =
|
|
12994
|
+
s = yr(y);
|
|
12997
12995
|
break;
|
|
12998
12996
|
case "totalheight":
|
|
12999
|
-
i =
|
|
12997
|
+
i = yr(y);
|
|
13000
12998
|
break;
|
|
13001
12999
|
default:
|
|
13002
13000
|
throw new H("Invalid key: '" + m[0] + "' in \\includegraphics.");
|
|
@@ -13030,7 +13028,7 @@ P({
|
|
|
13030
13028
|
return i.height = t, i.depth = n, i;
|
|
13031
13029
|
},
|
|
13032
13030
|
mathmlBuilder: (r, e) => {
|
|
13033
|
-
var t = new
|
|
13031
|
+
var t = new R.MathNode("mglyph", []);
|
|
13034
13032
|
t.setAttribute("alt", r.alt);
|
|
13035
13033
|
var n = de(r.height, e), a = 0;
|
|
13036
13034
|
if (r.totalheight.number > 0 && (a = de(r.totalheight, e) - n, t.setAttribute("valign", N(-a))), t.setAttribute("height", N(n + a)), r.width.number > 0) {
|
|
@@ -13069,7 +13067,7 @@ P({
|
|
|
13069
13067
|
},
|
|
13070
13068
|
mathmlBuilder(r, e) {
|
|
13071
13069
|
var t = de(r.dimension, e);
|
|
13072
|
-
return new
|
|
13070
|
+
return new R.SpaceNode(t);
|
|
13073
13071
|
}
|
|
13074
13072
|
});
|
|
13075
13073
|
P({
|
|
@@ -13098,7 +13096,7 @@ P({
|
|
|
13098
13096
|
return s.style.height = N(a.height + a.depth), a.depth && (s.style.verticalAlign = N(-a.depth)), a.children.unshift(s), a = $.makeSpan(["thinbox"], [a], e), $.makeSpan(["mord", "vbox"], [a], e);
|
|
13099
13097
|
},
|
|
13100
13098
|
mathmlBuilder: (r, e) => {
|
|
13101
|
-
var t = new
|
|
13099
|
+
var t = new R.MathNode("mpadded", [oe(r.body, e)]);
|
|
13102
13100
|
if (r.alignment !== "rlap") {
|
|
13103
13101
|
var n = r.alignment === "llap" ? "-1" : "-0.5";
|
|
13104
13102
|
t.setAttribute("lspace", n + "width");
|
|
@@ -13486,7 +13484,7 @@ var $s = (r, e) => {
|
|
|
13486
13484
|
}, $l = (r, e) => {
|
|
13487
13485
|
for (var t = Le(r.body, e.withFont("mathrm")), n = !0, a = 0; a < t.length; a++) {
|
|
13488
13486
|
var s = t[a];
|
|
13489
|
-
if (!(s instanceof
|
|
13487
|
+
if (!(s instanceof R.SpaceNode)) if (s instanceof R.MathNode)
|
|
13490
13488
|
switch (s.type) {
|
|
13491
13489
|
case "mi":
|
|
13492
13490
|
case "mn":
|
|
@@ -13496,7 +13494,7 @@ var $s = (r, e) => {
|
|
|
13496
13494
|
break;
|
|
13497
13495
|
case "mo": {
|
|
13498
13496
|
var i = s.children[0];
|
|
13499
|
-
s.children.length === 1 && i instanceof
|
|
13497
|
+
s.children.length === 1 && i instanceof R.TextNode ? i.text = i.text.replace(/\u2212/, "-").replace(/\u2217/, "*") : n = !1;
|
|
13500
13498
|
break;
|
|
13501
13499
|
}
|
|
13502
13500
|
default:
|
|
@@ -13507,12 +13505,12 @@ var $s = (r, e) => {
|
|
|
13507
13505
|
}
|
|
13508
13506
|
if (n) {
|
|
13509
13507
|
var o = t.map((h) => h.toText()).join("");
|
|
13510
|
-
t = [new
|
|
13508
|
+
t = [new R.TextNode(o)];
|
|
13511
13509
|
}
|
|
13512
|
-
var u = new
|
|
13510
|
+
var u = new R.MathNode("mi", t);
|
|
13513
13511
|
u.setAttribute("mathvariant", "normal");
|
|
13514
|
-
var d = new
|
|
13515
|
-
return r.parentIsSupSub ? new
|
|
13512
|
+
var d = new R.MathNode("mo", [Ke("", "text")]);
|
|
13513
|
+
return r.parentIsSupSub ? new R.MathNode("mrow", [u, d]) : R.newDocumentFragment([u, d]);
|
|
13516
13514
|
};
|
|
13517
13515
|
P({
|
|
13518
13516
|
type: "operatorname",
|
|
@@ -13583,9 +13581,9 @@ P({
|
|
|
13583
13581
|
return $.makeSpan(["mord", "overline"], [s], e);
|
|
13584
13582
|
},
|
|
13585
13583
|
mathmlBuilder(r, e) {
|
|
13586
|
-
var t = new
|
|
13584
|
+
var t = new R.MathNode("mo", [new R.TextNode("‾")]);
|
|
13587
13585
|
t.setAttribute("stretchy", "true");
|
|
13588
|
-
var n = new
|
|
13586
|
+
var n = new R.MathNode("mover", [oe(r.body, e), t]);
|
|
13589
13587
|
return n.setAttribute("accent", "true"), n;
|
|
13590
13588
|
}
|
|
13591
13589
|
});
|
|
@@ -13612,7 +13610,7 @@ P({
|
|
|
13612
13610
|
},
|
|
13613
13611
|
mathmlBuilder: (r, e) => {
|
|
13614
13612
|
var t = Le(r.body, e);
|
|
13615
|
-
return new
|
|
13613
|
+
return new R.MathNode("mphantom", t);
|
|
13616
13614
|
}
|
|
13617
13615
|
});
|
|
13618
13616
|
P({
|
|
@@ -13646,7 +13644,7 @@ P({
|
|
|
13646
13644
|
}, e), $.makeSpan(["mord"], [t], e);
|
|
13647
13645
|
},
|
|
13648
13646
|
mathmlBuilder: (r, e) => {
|
|
13649
|
-
var t = Le(ge(r.body), e), n = new
|
|
13647
|
+
var t = Le(ge(r.body), e), n = new R.MathNode("mphantom", t), a = new R.MathNode("mpadded", [n]);
|
|
13650
13648
|
return a.setAttribute("height", "0px"), a.setAttribute("depth", "0px"), a;
|
|
13651
13649
|
}
|
|
13652
13650
|
});
|
|
@@ -13672,7 +13670,7 @@ P({
|
|
|
13672
13670
|
return $.makeSpan(["mord", "rlap"], [t, n], e);
|
|
13673
13671
|
},
|
|
13674
13672
|
mathmlBuilder: (r, e) => {
|
|
13675
|
-
var t = Le(ge(r.body), e), n = new
|
|
13673
|
+
var t = Le(ge(r.body), e), n = new R.MathNode("mphantom", t), a = new R.MathNode("mpadded", [n]);
|
|
13676
13674
|
return a.setAttribute("width", "0px"), a;
|
|
13677
13675
|
}
|
|
13678
13676
|
});
|
|
@@ -13707,7 +13705,7 @@ P({
|
|
|
13707
13705
|
}, e);
|
|
13708
13706
|
},
|
|
13709
13707
|
mathmlBuilder(r, e) {
|
|
13710
|
-
var t = new
|
|
13708
|
+
var t = new R.MathNode("mpadded", [oe(r.body, e)]), n = r.dy.number + r.dy.unit;
|
|
13711
13709
|
return t.setAttribute("voffset", n), t;
|
|
13712
13710
|
}
|
|
13713
13711
|
});
|
|
@@ -13753,9 +13751,9 @@ P({
|
|
|
13753
13751
|
return t.style.borderRightWidth = N(n), t.style.borderTopWidth = N(a), t.style.bottom = N(s), t.width = n, t.height = a + s, t.depth = -s, t.maxFontSize = a * 1.125 * e.sizeMultiplier, t;
|
|
13754
13752
|
},
|
|
13755
13753
|
mathmlBuilder(r, e) {
|
|
13756
|
-
var t = de(r.width, e), n = de(r.height, e), a = r.shift ? de(r.shift, e) : 0, s = e.color && e.getColor() || "black", i = new
|
|
13754
|
+
var t = de(r.width, e), n = de(r.height, e), a = r.shift ? de(r.shift, e) : 0, s = e.color && e.getColor() || "black", i = new R.MathNode("mspace");
|
|
13757
13755
|
i.setAttribute("mathbackground", s), i.setAttribute("width", N(t)), i.setAttribute("height", N(n));
|
|
13758
|
-
var o = new
|
|
13756
|
+
var o = new R.MathNode("mpadded", [i]);
|
|
13759
13757
|
return a >= 0 ? o.setAttribute("height", N(a)) : (o.setAttribute("height", N(a)), o.setAttribute("depth", N(-a))), o.setAttribute("voffset", N(a)), o;
|
|
13760
13758
|
}
|
|
13761
13759
|
});
|
|
@@ -13793,7 +13791,7 @@ P({
|
|
|
13793
13791
|
},
|
|
13794
13792
|
htmlBuilder: El,
|
|
13795
13793
|
mathmlBuilder: (r, e) => {
|
|
13796
|
-
var t = e.havingSize(r.size), n = Le(r.body, t), a = new
|
|
13794
|
+
var t = e.havingSize(r.size), n = Le(r.body, t), a = new R.MathNode("mstyle", n);
|
|
13797
13795
|
return a.setAttribute("mathsize", N(t.sizeMultiplier)), a;
|
|
13798
13796
|
}
|
|
13799
13797
|
});
|
|
@@ -13852,7 +13850,7 @@ P({
|
|
|
13852
13850
|
return $.makeSpan(["mord"], [s], e);
|
|
13853
13851
|
},
|
|
13854
13852
|
mathmlBuilder: (r, e) => {
|
|
13855
|
-
var t = new
|
|
13853
|
+
var t = new R.MathNode("mpadded", [oe(r.body, e)]);
|
|
13856
13854
|
return r.smashHeight && t.setAttribute("height", "0px"), r.smashDepth && t.setAttribute("depth", "0px"), t;
|
|
13857
13855
|
}
|
|
13858
13856
|
});
|
|
@@ -13922,7 +13920,7 @@ P({
|
|
|
13922
13920
|
body: t,
|
|
13923
13921
|
index: n
|
|
13924
13922
|
} = r;
|
|
13925
|
-
return n ? new
|
|
13923
|
+
return n ? new R.MathNode("mroot", [oe(t, e), oe(n, e)]) : new R.MathNode("msqrt", [oe(t, e)]);
|
|
13926
13924
|
}
|
|
13927
13925
|
});
|
|
13928
13926
|
var ea = {
|
|
@@ -13959,7 +13957,7 @@ P({
|
|
|
13959
13957
|
return Es(r.body, n, e);
|
|
13960
13958
|
},
|
|
13961
13959
|
mathmlBuilder(r, e) {
|
|
13962
|
-
var t = ea[r.style], n = e.havingStyle(t), a = Le(r.body, n), s = new
|
|
13960
|
+
var t = ea[r.style], n = e.havingStyle(t), a = Le(r.body, n), s = new R.MathNode("mstyle", a), i = {
|
|
13963
13961
|
display: ["0", "true"],
|
|
13964
13962
|
text: ["0", "false"],
|
|
13965
13963
|
script: ["1", "false"],
|
|
@@ -13979,7 +13977,7 @@ var Il = function(e, t) {
|
|
|
13979
13977
|
return s ? $s : null;
|
|
13980
13978
|
} else {
|
|
13981
13979
|
if (n.type === "accent")
|
|
13982
|
-
return U.isCharacterBox(n.base) ?
|
|
13980
|
+
return U.isCharacterBox(n.base) ? ln : null;
|
|
13983
13981
|
if (n.type === "horizBrace") {
|
|
13984
13982
|
var i = !e.sub;
|
|
13985
13983
|
return i === n.isOver ? zs : null;
|
|
@@ -14023,7 +14021,7 @@ Lt({
|
|
|
14023
14021
|
var E = 0.8 * d.xHeight - (h - o.depth);
|
|
14024
14022
|
E > 0 && (h += E, m -= E);
|
|
14025
14023
|
}
|
|
14026
|
-
var
|
|
14024
|
+
var _ = [{
|
|
14027
14025
|
type: "elem",
|
|
14028
14026
|
elem: u,
|
|
14029
14027
|
shift: m,
|
|
@@ -14037,7 +14035,7 @@ Lt({
|
|
|
14037
14035
|
}];
|
|
14038
14036
|
A = $.makeVList({
|
|
14039
14037
|
positionType: "individualShift",
|
|
14040
|
-
children:
|
|
14038
|
+
children: _
|
|
14041
14039
|
}, e);
|
|
14042
14040
|
} else if (u) {
|
|
14043
14041
|
m = Math.max(m, d.sub1, u.height - 0.8 * d.xHeight);
|
|
@@ -14064,7 +14062,7 @@ Lt({
|
|
|
14064
14062
|
}, e);
|
|
14065
14063
|
else
|
|
14066
14064
|
throw new Error("supsub must have either sup or sub.");
|
|
14067
|
-
var ee =
|
|
14065
|
+
var ee = Or(i, "right") || "mord";
|
|
14068
14066
|
return $.makeSpan([ee], [i, $.makeSpan(["msupsub"], [A])], e);
|
|
14069
14067
|
},
|
|
14070
14068
|
mathmlBuilder(r, e) {
|
|
@@ -14087,7 +14085,7 @@ Lt({
|
|
|
14087
14085
|
var o = r.base;
|
|
14088
14086
|
o && o.type === "op" && o.limits && (e.style === X.DISPLAY || o.alwaysHandleSupSub) || o && o.type === "operatorname" && o.alwaysHandleSupSub && (o.limits || e.style === X.DISPLAY) ? i = "mover" : i = "msup";
|
|
14089
14087
|
}
|
|
14090
|
-
return new
|
|
14088
|
+
return new R.MathNode(i, s);
|
|
14091
14089
|
}
|
|
14092
14090
|
});
|
|
14093
14091
|
Lt({
|
|
@@ -14096,9 +14094,9 @@ Lt({
|
|
|
14096
14094
|
return $.mathsym(r.text, r.mode, e, ["m" + r.family]);
|
|
14097
14095
|
},
|
|
14098
14096
|
mathmlBuilder(r, e) {
|
|
14099
|
-
var t = new
|
|
14097
|
+
var t = new R.MathNode("mo", [Ke(r.text, r.mode)]);
|
|
14100
14098
|
if (r.family === "bin") {
|
|
14101
|
-
var n =
|
|
14099
|
+
var n = sn(r, e);
|
|
14102
14100
|
n === "bold-italic" && t.setAttribute("mathvariant", n);
|
|
14103
14101
|
} else r.family === "punct" ? t.setAttribute("separator", "true") : (r.family === "open" || r.family === "close") && t.setAttribute("stretchy", "false");
|
|
14104
14102
|
return t;
|
|
@@ -14115,7 +14113,7 @@ Lt({
|
|
|
14115
14113
|
return $.makeOrd(r, e, "mathord");
|
|
14116
14114
|
},
|
|
14117
14115
|
mathmlBuilder(r, e) {
|
|
14118
|
-
var t = new
|
|
14116
|
+
var t = new R.MathNode("mi", [Ke(r.text, r.mode, e)]), n = sn(r, e) || "italic";
|
|
14119
14117
|
return n !== Is[t.type] && t.setAttribute("mathvariant", n), t;
|
|
14120
14118
|
}
|
|
14121
14119
|
});
|
|
@@ -14125,14 +14123,14 @@ Lt({
|
|
|
14125
14123
|
return $.makeOrd(r, e, "textord");
|
|
14126
14124
|
},
|
|
14127
14125
|
mathmlBuilder(r, e) {
|
|
14128
|
-
var t = Ke(r.text, r.mode, e), n =
|
|
14129
|
-
return r.mode === "text" ? a = new
|
|
14126
|
+
var t = Ke(r.text, r.mode, e), n = sn(r, e) || "normal", a;
|
|
14127
|
+
return r.mode === "text" ? a = new R.MathNode("mtext", [t]) : /[0-9]/.test(r.text) ? a = new R.MathNode("mn", [t]) : r.text === "\\prime" ? a = new R.MathNode("mo", [t]) : a = new R.MathNode("mi", [t]), n !== Is[a.type] && a.setAttribute("mathvariant", n), a;
|
|
14130
14128
|
}
|
|
14131
14129
|
});
|
|
14132
|
-
var
|
|
14130
|
+
var gr = {
|
|
14133
14131
|
"\\nobreak": "nobreak",
|
|
14134
14132
|
"\\allowbreak": "allowbreak"
|
|
14135
|
-
},
|
|
14133
|
+
}, br = {
|
|
14136
14134
|
" ": {},
|
|
14137
14135
|
"\\ ": {},
|
|
14138
14136
|
"~": {
|
|
@@ -14146,39 +14144,39 @@ var br = {
|
|
|
14146
14144
|
Lt({
|
|
14147
14145
|
type: "spacing",
|
|
14148
14146
|
htmlBuilder(r, e) {
|
|
14149
|
-
if (
|
|
14150
|
-
var t =
|
|
14147
|
+
if (br.hasOwnProperty(r.text)) {
|
|
14148
|
+
var t = br[r.text].className || "";
|
|
14151
14149
|
if (r.mode === "text") {
|
|
14152
14150
|
var n = $.makeOrd(r, e, "textord");
|
|
14153
14151
|
return n.classes.push(t), n;
|
|
14154
14152
|
} else
|
|
14155
14153
|
return $.makeSpan(["mspace", t], [$.mathsym(r.text, r.mode, e)], e);
|
|
14156
14154
|
} else {
|
|
14157
|
-
if (
|
|
14158
|
-
return $.makeSpan(["mspace",
|
|
14155
|
+
if (gr.hasOwnProperty(r.text))
|
|
14156
|
+
return $.makeSpan(["mspace", gr[r.text]], [], e);
|
|
14159
14157
|
throw new H('Unknown type of space "' + r.text + '"');
|
|
14160
14158
|
}
|
|
14161
14159
|
},
|
|
14162
14160
|
mathmlBuilder(r, e) {
|
|
14163
14161
|
var t;
|
|
14164
|
-
if (
|
|
14165
|
-
t = new
|
|
14162
|
+
if (br.hasOwnProperty(r.text))
|
|
14163
|
+
t = new R.MathNode("mtext", [new R.TextNode(" ")]);
|
|
14166
14164
|
else {
|
|
14167
|
-
if (
|
|
14168
|
-
return new
|
|
14165
|
+
if (gr.hasOwnProperty(r.text))
|
|
14166
|
+
return new R.MathNode("mspace");
|
|
14169
14167
|
throw new H('Unknown type of space "' + r.text + '"');
|
|
14170
14168
|
}
|
|
14171
14169
|
return t;
|
|
14172
14170
|
}
|
|
14173
14171
|
});
|
|
14174
14172
|
var ta = () => {
|
|
14175
|
-
var r = new
|
|
14173
|
+
var r = new R.MathNode("mtd", []);
|
|
14176
14174
|
return r.setAttribute("width", "50%"), r;
|
|
14177
14175
|
};
|
|
14178
14176
|
Lt({
|
|
14179
14177
|
type: "tag",
|
|
14180
14178
|
mathmlBuilder(r, e) {
|
|
14181
|
-
var t = new
|
|
14179
|
+
var t = new R.MathNode("mtable", [new R.MathNode("mtr", [ta(), new R.MathNode("mtd", [zt(r.body, e)]), ta(), new R.MathNode("mtd", [zt(r.tag, e)])])]);
|
|
14182
14180
|
return t.setAttribute("width", "100%"), t;
|
|
14183
14181
|
}
|
|
14184
14182
|
});
|
|
@@ -14288,9 +14286,9 @@ P({
|
|
|
14288
14286
|
return $.makeSpan(["mord", "underline"], [s], e);
|
|
14289
14287
|
},
|
|
14290
14288
|
mathmlBuilder(r, e) {
|
|
14291
|
-
var t = new
|
|
14289
|
+
var t = new R.MathNode("mo", [new R.TextNode("‾")]);
|
|
14292
14290
|
t.setAttribute("stretchy", "true");
|
|
14293
|
-
var n = new
|
|
14291
|
+
var n = new R.MathNode("munder", [oe(r.body, e), t]);
|
|
14294
14292
|
return n.setAttribute("accentunder", "true"), n;
|
|
14295
14293
|
}
|
|
14296
14294
|
});
|
|
@@ -14325,7 +14323,7 @@ P({
|
|
|
14325
14323
|
}, e);
|
|
14326
14324
|
},
|
|
14327
14325
|
mathmlBuilder(r, e) {
|
|
14328
|
-
return new
|
|
14326
|
+
return new R.MathNode("mpadded", [oe(r.body, e)], ["vcenter"]);
|
|
14329
14327
|
}
|
|
14330
14328
|
});
|
|
14331
14329
|
P({
|
|
@@ -14346,19 +14344,19 @@ P({
|
|
|
14346
14344
|
return $.makeSpan(["mord", "text"].concat(a.sizingClasses(e)), $.tryCombineChars(n), a);
|
|
14347
14345
|
},
|
|
14348
14346
|
mathmlBuilder(r, e) {
|
|
14349
|
-
var t = new
|
|
14347
|
+
var t = new R.TextNode(sa(r)), n = new R.MathNode("mtext", [t]);
|
|
14350
14348
|
return n.setAttribute("mathvariant", "monospace"), n;
|
|
14351
14349
|
}
|
|
14352
14350
|
});
|
|
14353
14351
|
var sa = (r) => r.body.replace(/ /g, r.star ? "␣" : " "), kt = ts, Bs = `[ \r
|
|
14354
|
-
]`, Ol = "\\\\[a-zA-Z@]+", Fl = "\\\\[^\uD800-\uDFFF]", Dl = "(" + Ol + ")" + Bs + "*",
|
|
14352
|
+
]`, Ol = "\\\\[a-zA-Z@]+", Fl = "\\\\[^\uD800-\uDFFF]", Dl = "(" + Ol + ")" + Bs + "*", Rl = `\\\\(
|
|
14355
14353
|
|[ \r ]+
|
|
14356
|
-
?)[ \r ]*`,
|
|
14357
|
-
(
|
|
14354
|
+
?)[ \r ]*`, _r = "[̀-ͯ]", _l = new RegExp(_r + "+$"), Hl = "(" + Bs + "+)|" + // whitespace
|
|
14355
|
+
(Rl + "|") + // \whitespace
|
|
14358
14356
|
"([!-\\[\\]-‧-豈-]" + // single codepoint
|
|
14359
|
-
(
|
|
14357
|
+
(_r + "*") + // ...plus accents
|
|
14360
14358
|
"|[\uD800-\uDBFF][\uDC00-\uDFFF]" + // surrogate pair
|
|
14361
|
-
(
|
|
14359
|
+
(_r + "*") + // ...plus accents
|
|
14362
14360
|
"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5" + // \verb unstarred
|
|
14363
14361
|
("|" + Dl) + // \macroName + spaces
|
|
14364
14362
|
("|" + Fl + ")");
|
|
@@ -14566,7 +14564,7 @@ f("\\char", function(r) {
|
|
|
14566
14564
|
}
|
|
14567
14565
|
return "\\@char{" + n + "}";
|
|
14568
14566
|
});
|
|
14569
|
-
var
|
|
14567
|
+
var vn = (r, e, t) => {
|
|
14570
14568
|
var n = r.consumeArg().tokens;
|
|
14571
14569
|
if (n.length !== 1)
|
|
14572
14570
|
throw new H("\\newcommand's first argument must be a macro name");
|
|
@@ -14588,9 +14586,9 @@ var yn = (r, e, t) => {
|
|
|
14588
14586
|
numArgs: i
|
|
14589
14587
|
}), "";
|
|
14590
14588
|
};
|
|
14591
|
-
f("\\newcommand", (r) =>
|
|
14592
|
-
f("\\renewcommand", (r) =>
|
|
14593
|
-
f("\\providecommand", (r) =>
|
|
14589
|
+
f("\\newcommand", (r) => vn(r, !1, !0));
|
|
14590
|
+
f("\\renewcommand", (r) => vn(r, !0, !1));
|
|
14591
|
+
f("\\providecommand", (r) => vn(r, !0, !0));
|
|
14594
14592
|
f("\\message", (r) => {
|
|
14595
14593
|
var e = r.consumeArgs(1)[0];
|
|
14596
14594
|
return console.log(e.reverse().map((t) => t.text).join("")), "";
|
|
@@ -14736,7 +14734,7 @@ f("\\dots", function(r) {
|
|
|
14736
14734
|
var e = "\\dotso", t = r.expandAfterFuture().text;
|
|
14737
14735
|
return t in la ? e = la[t] : (t.slice(0, 4) === "\\not" || t in le.math && U.contains(["bin", "rel"], le.math[t].group)) && (e = "\\dotsb"), e;
|
|
14738
14736
|
});
|
|
14739
|
-
var
|
|
14737
|
+
var yn = {
|
|
14740
14738
|
// \rightdelim@ checks for the following:
|
|
14741
14739
|
")": !0,
|
|
14742
14740
|
"]": !0,
|
|
@@ -14762,15 +14760,15 @@ var gn = {
|
|
|
14762
14760
|
};
|
|
14763
14761
|
f("\\dotso", function(r) {
|
|
14764
14762
|
var e = r.future().text;
|
|
14765
|
-
return e in
|
|
14763
|
+
return e in yn ? "\\ldots\\," : "\\ldots";
|
|
14766
14764
|
});
|
|
14767
14765
|
f("\\dotsc", function(r) {
|
|
14768
14766
|
var e = r.future().text;
|
|
14769
|
-
return e in
|
|
14767
|
+
return e in yn && e !== "," ? "\\ldots\\," : "\\ldots";
|
|
14770
14768
|
});
|
|
14771
14769
|
f("\\cdots", function(r) {
|
|
14772
14770
|
var e = r.future().text;
|
|
14773
|
-
return e in
|
|
14771
|
+
return e in yn ? "\\@cdots\\," : "\\@cdots";
|
|
14774
14772
|
});
|
|
14775
14773
|
f("\\dotsb", "\\cdots");
|
|
14776
14774
|
f("\\dotsm", "\\cdots");
|
|
@@ -15452,7 +15450,7 @@ var ua = /^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗ
|
|
|
15452
15450
|
"ᵠ": "ϕ",
|
|
15453
15451
|
"ᵡ": "χ",
|
|
15454
15452
|
"ᶿ": "θ"
|
|
15455
|
-
}),
|
|
15453
|
+
}), xr = {
|
|
15456
15454
|
"́": {
|
|
15457
15455
|
text: "\\'",
|
|
15458
15456
|
math: "\\acute"
|
|
@@ -16357,11 +16355,11 @@ class Q0 {
|
|
|
16357
16355
|
};
|
|
16358
16356
|
}
|
|
16359
16357
|
ca.hasOwnProperty(t[0]) && !le[this.mode][t[0]] && (this.settings.strict && this.mode === "math" && this.settings.reportNonstrict("unicodeTextInMathMode", 'Accented Unicode text character "' + t[0] + '" used in math mode', e), t = ca[t[0]] + t.slice(1));
|
|
16360
|
-
var s =
|
|
16358
|
+
var s = _l.exec(t);
|
|
16361
16359
|
s && (t = t.substring(0, s.index), t === "i" ? t = "ı" : t === "j" && (t = "ȷ"));
|
|
16362
16360
|
var i;
|
|
16363
16361
|
if (le[this.mode][t]) {
|
|
16364
|
-
this.settings.strict && this.mode === "math" &&
|
|
16362
|
+
this.settings.strict && this.mode === "math" && Br.indexOf(t) >= 0 && this.settings.reportNonstrict("unicodeTextInMathMode", 'Latin-1/Unicode text character "' + t[0] + '" used in math mode', e);
|
|
16365
16363
|
var o = le[this.mode][t].group, u = Pe.range(e), d;
|
|
16366
16364
|
if ($o.hasOwnProperty(o)) {
|
|
16367
16365
|
var h = o;
|
|
@@ -16392,9 +16390,9 @@ class Q0 {
|
|
|
16392
16390
|
if (this.consume(), s)
|
|
16393
16391
|
for (var m = 0; m < s[0].length; m++) {
|
|
16394
16392
|
var y = s[0][m];
|
|
16395
|
-
if (!
|
|
16393
|
+
if (!xr[y])
|
|
16396
16394
|
throw new H("Unknown accent ' " + y + "'", e);
|
|
16397
|
-
var b =
|
|
16395
|
+
var b = xr[y][this.mode] || xr[y].text;
|
|
16398
16396
|
if (!b)
|
|
16399
16397
|
throw new H("Accent " + y + " unsupported in " + this.mode + " mode", e);
|
|
16400
16398
|
i = {
|
|
@@ -16412,7 +16410,7 @@ class Q0 {
|
|
|
16412
16410
|
}
|
|
16413
16411
|
}
|
|
16414
16412
|
Q0.endOfExpression = ["}", "\\endgroup", "\\end", "\\right", "&"];
|
|
16415
|
-
var
|
|
16413
|
+
var gn = function(e, t) {
|
|
16416
16414
|
if (!(typeof e == "string" || e instanceof String))
|
|
16417
16415
|
throw new TypeError("KaTeX can only parse string typed expression");
|
|
16418
16416
|
var n = new Q0(e, t);
|
|
@@ -16429,40 +16427,40 @@ var bn = function(e, t) {
|
|
|
16429
16427
|
}];
|
|
16430
16428
|
}
|
|
16431
16429
|
return a;
|
|
16432
|
-
},
|
|
16430
|
+
}, Rs = function(e, t, n) {
|
|
16433
16431
|
t.textContent = "";
|
|
16434
|
-
var a =
|
|
16432
|
+
var a = bn(e, n).toNode();
|
|
16435
16433
|
t.appendChild(a);
|
|
16436
16434
|
};
|
|
16437
|
-
typeof document < "u" && document.compatMode !== "CSS1Compat" && (typeof console < "u" && console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),
|
|
16435
|
+
typeof document < "u" && document.compatMode !== "CSS1Compat" && (typeof console < "u" && console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."), Rs = function() {
|
|
16438
16436
|
throw new H("KaTeX doesn't work in quirks mode.");
|
|
16439
16437
|
});
|
|
16440
16438
|
var ql = function(e, t) {
|
|
16441
|
-
var n =
|
|
16439
|
+
var n = bn(e, t).toMarkup();
|
|
16442
16440
|
return n;
|
|
16443
16441
|
}, Vl = function(e, t) {
|
|
16444
|
-
var n = new
|
|
16445
|
-
return
|
|
16446
|
-
},
|
|
16442
|
+
var n = new Qr(t);
|
|
16443
|
+
return gn(e, n);
|
|
16444
|
+
}, _s = function(e, t, n) {
|
|
16447
16445
|
if (n.throwOnError || !(e instanceof H))
|
|
16448
16446
|
throw e;
|
|
16449
16447
|
var a = $.makeSpan(["katex-error"], [new Ze(t)]);
|
|
16450
16448
|
return a.setAttribute("title", e.toString()), a.setAttribute("style", "color:" + n.errorColor), a;
|
|
16451
|
-
},
|
|
16452
|
-
var n = new
|
|
16449
|
+
}, bn = function(e, t) {
|
|
16450
|
+
var n = new Qr(t);
|
|
16453
16451
|
try {
|
|
16454
|
-
var a =
|
|
16452
|
+
var a = gn(e, n);
|
|
16455
16453
|
return Qo(a, e, n);
|
|
16456
16454
|
} catch (s) {
|
|
16457
|
-
return
|
|
16455
|
+
return _s(s, e, n);
|
|
16458
16456
|
}
|
|
16459
16457
|
}, Gl = function(e, t) {
|
|
16460
|
-
var n = new
|
|
16458
|
+
var n = new Qr(t);
|
|
16461
16459
|
try {
|
|
16462
|
-
var a =
|
|
16460
|
+
var a = gn(e, n);
|
|
16463
16461
|
return el(a, e, n);
|
|
16464
16462
|
} catch (s) {
|
|
16465
|
-
return
|
|
16463
|
+
return _s(s, e, n);
|
|
16466
16464
|
}
|
|
16467
16465
|
}, Ul = {
|
|
16468
16466
|
/**
|
|
@@ -16473,7 +16471,7 @@ var ql = function(e, t) {
|
|
|
16473
16471
|
* Renders the given LaTeX into an HTML+MathML combination, and adds
|
|
16474
16472
|
* it as a child to the specified DOM node.
|
|
16475
16473
|
*/
|
|
16476
|
-
render:
|
|
16474
|
+
render: Rs,
|
|
16477
16475
|
/**
|
|
16478
16476
|
* Renders the given LaTeX into an HTML+MathML combination string,
|
|
16479
16477
|
* for sending to the client.
|
|
@@ -16504,7 +16502,7 @@ var ql = function(e, t) {
|
|
|
16504
16502
|
* The internal tree representation is unstable and is very likely
|
|
16505
16503
|
* to change. Use at your own risk.
|
|
16506
16504
|
*/
|
|
16507
|
-
__renderToDomTree:
|
|
16505
|
+
__renderToDomTree: bn,
|
|
16508
16506
|
/**
|
|
16509
16507
|
* Renders the given LaTeX into an HTML internal DOM tree representation,
|
|
16510
16508
|
* without MathML and without flattening that representation to a string.
|
|
@@ -16542,11 +16540,11 @@ var ql = function(e, t) {
|
|
|
16542
16540
|
*/
|
|
16543
16541
|
__domTree: {
|
|
16544
16542
|
Span: g0,
|
|
16545
|
-
Anchor:
|
|
16543
|
+
Anchor: rn,
|
|
16546
16544
|
SymbolNode: Ze,
|
|
16547
16545
|
SvgNode: pt,
|
|
16548
16546
|
PathNode: jt,
|
|
16549
|
-
LineNode:
|
|
16547
|
+
LineNode: Ir
|
|
16550
16548
|
}
|
|
16551
16549
|
};
|
|
16552
16550
|
const Wl = /* @__PURE__ */ G({
|
|
@@ -16654,7 +16652,7 @@ const Wl = /* @__PURE__ */ G({
|
|
|
16654
16652
|
$style: d2
|
|
16655
16653
|
}, I3 = /* @__PURE__ */ J(o2, [["__cssModules", h2]]), p2 = /* @__PURE__ */ G({
|
|
16656
16654
|
__name: "ElmModal",
|
|
16657
|
-
props: /* @__PURE__ */
|
|
16655
|
+
props: /* @__PURE__ */ Xr({
|
|
16658
16656
|
width: { default: "90%" }
|
|
16659
16657
|
}, {
|
|
16660
16658
|
isOpen: { type: Boolean, default: !0 },
|
|
@@ -16662,7 +16660,7 @@ const Wl = /* @__PURE__ */ G({
|
|
|
16662
16660
|
}),
|
|
16663
16661
|
emits: ["update:isOpen"],
|
|
16664
16662
|
setup(r) {
|
|
16665
|
-
const e =
|
|
16663
|
+
const e = Zr(r, "isOpen");
|
|
16666
16664
|
return (t, n) => (I(), F("div", {
|
|
16667
16665
|
class: B(t.$style.provider),
|
|
16668
16666
|
style: W({
|
|
@@ -16700,7 +16698,7 @@ const Wl = /* @__PURE__ */ G({
|
|
|
16700
16698
|
},
|
|
16701
16699
|
setup(r) {
|
|
16702
16700
|
const { y: e } = qa();
|
|
16703
|
-
return (t, n) => (I(), F(
|
|
16701
|
+
return (t, n) => (I(), F(_e, null, [
|
|
16704
16702
|
L("div", {
|
|
16705
16703
|
class: B(t.$style.parallax),
|
|
16706
16704
|
style: W({
|
|
@@ -16725,7 +16723,7 @@ const Wl = /* @__PURE__ */ G({
|
|
|
16725
16723
|
$style: x2
|
|
16726
16724
|
}, O3 = /* @__PURE__ */ J(g2, [["__cssModules", w2]]), k2 = { style: { display: "flex", gap: "0.5rem" } }, M2 = /* @__PURE__ */ G({
|
|
16727
16725
|
__name: "ElmToggle",
|
|
16728
|
-
props: /* @__PURE__ */
|
|
16726
|
+
props: /* @__PURE__ */ Xr({
|
|
16729
16727
|
summary: {},
|
|
16730
16728
|
margin: {}
|
|
16731
16729
|
}, {
|
|
@@ -16734,7 +16732,7 @@ const Wl = /* @__PURE__ */ G({
|
|
|
16734
16732
|
}),
|
|
16735
16733
|
emits: ["update:isOpen"],
|
|
16736
16734
|
setup(r) {
|
|
16737
|
-
const e =
|
|
16735
|
+
const e = Zr(r, "isOpen"), t = (n) => {
|
|
16738
16736
|
n.preventDefault(), e.value = !e.value;
|
|
16739
16737
|
};
|
|
16740
16738
|
return (n, a) => (I(), F("div", {
|
|
@@ -16746,7 +16744,7 @@ const Wl = /* @__PURE__ */ G({
|
|
|
16746
16744
|
onClick: t
|
|
16747
16745
|
}, [
|
|
16748
16746
|
L("div", k2, [
|
|
16749
|
-
Q(q(
|
|
16747
|
+
Q(q(_0), {
|
|
16750
16748
|
class: B(n.$style.icon),
|
|
16751
16749
|
style: W({ "--rotate": e.value ? "90deg" : "0deg" })
|
|
16752
16750
|
}, null, 8, ["class", "style"]),
|
|
@@ -16797,7 +16795,7 @@ const Wl = /* @__PURE__ */ G({
|
|
|
16797
16795
|
loading: { type: Boolean, default: !1 }
|
|
16798
16796
|
},
|
|
16799
16797
|
setup(r) {
|
|
16800
|
-
return (e, t) => (I(), F(
|
|
16798
|
+
return (e, t) => (I(), F(_e, null, [
|
|
16801
16799
|
L("progress", {
|
|
16802
16800
|
class: B(e.$style.progress),
|
|
16803
16801
|
value: e.value,
|
|
@@ -16830,14 +16828,14 @@ const Wl = /* @__PURE__ */ G({
|
|
|
16830
16828
|
], 6)
|
|
16831
16829
|
], 64));
|
|
16832
16830
|
}
|
|
16833
|
-
}), B2 = "_progress_17sza_1", O2 = "_loading_17sza_23", F2 = "_container_17sza_40", D2 = "_value_17sza_51",
|
|
16831
|
+
}), B2 = "_progress_17sza_1", O2 = "_loading_17sza_23", F2 = "_container_17sza_40", D2 = "_value_17sza_51", R2 = "_buffer_17sza_64", _2 = {
|
|
16834
16832
|
progress: B2,
|
|
16835
16833
|
loading: O2,
|
|
16836
16834
|
container: F2,
|
|
16837
16835
|
value: D2,
|
|
16838
|
-
buffer:
|
|
16836
|
+
buffer: R2
|
|
16839
16837
|
}, H2 = {
|
|
16840
|
-
$style:
|
|
16838
|
+
$style: _2
|
|
16841
16839
|
}, F3 = /* @__PURE__ */ J(I2, [["__cssModules", H2]]), L2 = /* @__PURE__ */ G({
|
|
16842
16840
|
__name: "ElmMultiProgress",
|
|
16843
16841
|
props: {
|
|
@@ -16860,7 +16858,7 @@ const Wl = /* @__PURE__ */ G({
|
|
|
16860
16858
|
"--border-radius": a.round ? "calc(var(--weight) / 2)" : void 0
|
|
16861
16859
|
})
|
|
16862
16860
|
}, [
|
|
16863
|
-
(I(!0), F(
|
|
16861
|
+
(I(!0), F(_e, null, St(n.value, (i) => (I(), F("div", {
|
|
16864
16862
|
key: a.index,
|
|
16865
16863
|
class: B(a.$style.bar),
|
|
16866
16864
|
style: W({
|
|
@@ -16899,7 +16897,7 @@ const Wl = /* @__PURE__ */ G({
|
|
|
16899
16897
|
class: B(e.$style.wrapper),
|
|
16900
16898
|
style: W({ width: e.size, height: e.size })
|
|
16901
16899
|
}, [
|
|
16902
|
-
(I(), F(
|
|
16900
|
+
(I(), F(_e, null, St(3, (n) => L("div", {
|
|
16903
16901
|
class: B(e.$style.dot),
|
|
16904
16902
|
"aria-hidden": "",
|
|
16905
16903
|
key: n,
|
|
@@ -16926,7 +16924,7 @@ const Wl = /* @__PURE__ */ G({
|
|
|
16926
16924
|
"elmethis-block-fallback": "_elmethis-block-fallback_uo36g_1"
|
|
16927
16925
|
}, au = {
|
|
16928
16926
|
$style: nu
|
|
16929
|
-
},
|
|
16927
|
+
}, R3 = /* @__PURE__ */ J(ru, [["__cssModules", au]]), su = /* @__PURE__ */ G({
|
|
16930
16928
|
__name: "ElmButton",
|
|
16931
16929
|
props: {
|
|
16932
16930
|
loading: { type: Boolean, default: !1 },
|
|
@@ -16975,14 +16973,14 @@ const Wl = /* @__PURE__ */ G({
|
|
|
16975
16973
|
flex: cu
|
|
16976
16974
|
}, hu = {
|
|
16977
16975
|
$style: du
|
|
16978
|
-
},
|
|
16976
|
+
}, _3 = /* @__PURE__ */ J(su, [["__cssModules", hu], ["__scopeId", "data-v-db75a432"]]), pu = { style: {
|
|
16979
16977
|
cursor: "pointer",
|
|
16980
16978
|
display: "flex",
|
|
16981
16979
|
alignItems: "center",
|
|
16982
16980
|
gap: "0.5rem"
|
|
16983
16981
|
} }, mu = /* @__PURE__ */ G({
|
|
16984
16982
|
__name: "ElmCheckbox",
|
|
16985
|
-
props: /* @__PURE__ */
|
|
16983
|
+
props: /* @__PURE__ */ Xr({
|
|
16986
16984
|
label: {}
|
|
16987
16985
|
}, {
|
|
16988
16986
|
isChecked: { type: Boolean },
|
|
@@ -16990,7 +16988,7 @@ const Wl = /* @__PURE__ */ G({
|
|
|
16990
16988
|
}),
|
|
16991
16989
|
emits: ["update:isChecked"],
|
|
16992
16990
|
setup(r) {
|
|
16993
|
-
const e =
|
|
16991
|
+
const e = Zr(r, "isChecked");
|
|
16994
16992
|
function t() {
|
|
16995
16993
|
e.value = !e.value;
|
|
16996
16994
|
}
|
|
@@ -17121,16 +17119,16 @@ function Du(r, e) {
|
|
|
17121
17119
|
a[t] = e(r[t], t, r);
|
|
17122
17120
|
return a;
|
|
17123
17121
|
}
|
|
17124
|
-
var
|
|
17122
|
+
var Ru = Array.isArray, _u = 1 / 0, ha = Yt ? Yt.prototype : void 0, pa = ha ? ha.toString : void 0;
|
|
17125
17123
|
function Ls(r) {
|
|
17126
17124
|
if (typeof r == "string")
|
|
17127
17125
|
return r;
|
|
17128
|
-
if (
|
|
17126
|
+
if (Ru(r))
|
|
17129
17127
|
return Du(r, Ls) + "";
|
|
17130
17128
|
if (Fu(r))
|
|
17131
17129
|
return pa ? pa.call(r) : "";
|
|
17132
17130
|
var e = r + "";
|
|
17133
|
-
return e == "0" && 1 / r == -
|
|
17131
|
+
return e == "0" && 1 / r == -_u ? "-0" : e;
|
|
17134
17132
|
}
|
|
17135
17133
|
function Ns(r) {
|
|
17136
17134
|
return r == null ? "" : Ls(r);
|
|
@@ -17426,11 +17424,11 @@ const Tc = ["id"], Cc = /* @__PURE__ */ G({
|
|
|
17426
17424
|
}, null, 2)
|
|
17427
17425
|
], 14, Oc));
|
|
17428
17426
|
}
|
|
17429
|
-
}), Dc = "_h2_19dko_1",
|
|
17427
|
+
}), Dc = "_h2_19dko_1", Rc = "_underline_19dko_49", _c = {
|
|
17430
17428
|
h2: Dc,
|
|
17431
|
-
underline:
|
|
17429
|
+
underline: Rc
|
|
17432
17430
|
}, Hc = {
|
|
17433
|
-
$style:
|
|
17431
|
+
$style: _c
|
|
17434
17432
|
}, Lc = /* @__PURE__ */ J(Fc, [["__cssModules", Hc]]), Nc = ["id"], Pc = /* @__PURE__ */ G({
|
|
17435
17433
|
__name: "ElmHeading3",
|
|
17436
17434
|
props: {
|
|
@@ -17595,7 +17593,7 @@ const Tc = ["id"], Cc = /* @__PURE__ */ G({
|
|
|
17595
17593
|
height: `${a.size}px`
|
|
17596
17594
|
})
|
|
17597
17595
|
}, [
|
|
17598
|
-
(I(), F(
|
|
17596
|
+
(I(), F(_e, null, St(n, (i) => L("div", {
|
|
17599
17597
|
key: i.name,
|
|
17600
17598
|
class: B(a.$style.face),
|
|
17601
17599
|
style: W({
|
|
@@ -17618,10 +17616,10 @@ const Tc = ["id"], Cc = /* @__PURE__ */ G({
|
|
|
17618
17616
|
isLoading: { type: Boolean }
|
|
17619
17617
|
},
|
|
17620
17618
|
setup(r) {
|
|
17621
|
-
return (e, t) => (I(), je(
|
|
17619
|
+
return (e, t) => (I(), je(Jr, null, {
|
|
17622
17620
|
original: Te(() => [
|
|
17623
17621
|
(I(), je(Ct(
|
|
17624
|
-
e.isLoading ?
|
|
17622
|
+
e.isLoading ? jr(er, { size: e.size }) : e.isLogin ? q(Ni) : q(Li)
|
|
17625
17623
|
), {
|
|
17626
17624
|
class: B(e.$style.icon),
|
|
17627
17625
|
style: W({
|
|
@@ -17721,7 +17719,7 @@ const l0 = /^[a-z0-9]+(-[a-z0-9]+)*$/, tr = (r, e, t, n = "") => {
|
|
|
17721
17719
|
}), rr = Object.freeze({
|
|
17722
17720
|
...ti,
|
|
17723
17721
|
...V0
|
|
17724
|
-
}),
|
|
17722
|
+
}), Hr = Object.freeze({
|
|
17725
17723
|
...rr,
|
|
17726
17724
|
body: "",
|
|
17727
17725
|
hidden: !1
|
|
@@ -17734,11 +17732,11 @@ function D4(r, e) {
|
|
|
17734
17732
|
}
|
|
17735
17733
|
function ba(r, e) {
|
|
17736
17734
|
const t = D4(r, e);
|
|
17737
|
-
for (const n in
|
|
17735
|
+
for (const n in Hr)
|
|
17738
17736
|
n in V0 ? n in r && !(n in t) && (t[n] = V0[n]) : n in e ? t[n] = e[n] : n in r && (t[n] = r[n]);
|
|
17739
17737
|
return t;
|
|
17740
17738
|
}
|
|
17741
|
-
function
|
|
17739
|
+
function R4(r, e) {
|
|
17742
17740
|
const t = r.icons, n = r.aliases || /* @__PURE__ */ Object.create(null), a = /* @__PURE__ */ Object.create(null);
|
|
17743
17741
|
function s(i) {
|
|
17744
17742
|
if (t[i])
|
|
@@ -17752,7 +17750,7 @@ function _4(r, e) {
|
|
|
17752
17750
|
}
|
|
17753
17751
|
return Object.keys(t).concat(Object.keys(n)).forEach(s), a;
|
|
17754
17752
|
}
|
|
17755
|
-
function
|
|
17753
|
+
function _4(r, e, t) {
|
|
17756
17754
|
const n = r.icons, a = r.aliases || /* @__PURE__ */ Object.create(null);
|
|
17757
17755
|
let s = {};
|
|
17758
17756
|
function i(o) {
|
|
@@ -17770,10 +17768,10 @@ function ri(r, e) {
|
|
|
17770
17768
|
r.not_found instanceof Array && r.not_found.forEach((a) => {
|
|
17771
17769
|
e(a, null), t.push(a);
|
|
17772
17770
|
});
|
|
17773
|
-
const n =
|
|
17771
|
+
const n = R4(r);
|
|
17774
17772
|
for (const a in n) {
|
|
17775
17773
|
const s = n[a];
|
|
17776
|
-
s && (e(a,
|
|
17774
|
+
s && (e(a, _4(r, a, s)), t.push(a));
|
|
17777
17775
|
}
|
|
17778
17776
|
return t;
|
|
17779
17777
|
}
|
|
@@ -17783,7 +17781,7 @@ const H4 = {
|
|
|
17783
17781
|
not_found: {},
|
|
17784
17782
|
...ti
|
|
17785
17783
|
};
|
|
17786
|
-
function
|
|
17784
|
+
function wr(r, e) {
|
|
17787
17785
|
for (const t in e)
|
|
17788
17786
|
if (t in r && typeof r[t] != typeof e[t])
|
|
17789
17787
|
return !1;
|
|
@@ -17793,23 +17791,23 @@ function ni(r) {
|
|
|
17793
17791
|
if (typeof r != "object" || r === null)
|
|
17794
17792
|
return null;
|
|
17795
17793
|
const e = r;
|
|
17796
|
-
if (typeof e.prefix != "string" || !r.icons || typeof r.icons != "object" || !
|
|
17794
|
+
if (typeof e.prefix != "string" || !r.icons || typeof r.icons != "object" || !wr(r, H4))
|
|
17797
17795
|
return null;
|
|
17798
17796
|
const t = e.icons;
|
|
17799
17797
|
for (const a in t) {
|
|
17800
17798
|
const s = t[a];
|
|
17801
|
-
if (!a.match(l0) || typeof s.body != "string" || !
|
|
17799
|
+
if (!a.match(l0) || typeof s.body != "string" || !wr(
|
|
17802
17800
|
s,
|
|
17803
|
-
|
|
17801
|
+
Hr
|
|
17804
17802
|
))
|
|
17805
17803
|
return null;
|
|
17806
17804
|
}
|
|
17807
17805
|
const n = e.aliases || /* @__PURE__ */ Object.create(null);
|
|
17808
17806
|
for (const a in n) {
|
|
17809
17807
|
const s = n[a], i = s.parent;
|
|
17810
|
-
if (!a.match(l0) || typeof i != "string" || !t[i] && !n[i] || !
|
|
17808
|
+
if (!a.match(l0) || typeof i != "string" || !t[i] && !n[i] || !wr(
|
|
17811
17809
|
s,
|
|
17812
|
-
|
|
17810
|
+
Hr
|
|
17813
17811
|
))
|
|
17814
17812
|
return null;
|
|
17815
17813
|
}
|
|
@@ -17828,7 +17826,7 @@ function Ht(r, e) {
|
|
|
17828
17826
|
const t = xa[r] || (xa[r] = /* @__PURE__ */ Object.create(null));
|
|
17829
17827
|
return t[e] || (t[e] = L4(r, e));
|
|
17830
17828
|
}
|
|
17831
|
-
function
|
|
17829
|
+
function xn(r, e) {
|
|
17832
17830
|
return ni(e) ? ri(e, (t, n) => {
|
|
17833
17831
|
n ? r.icons[t] = n : r.missing.add(t);
|
|
17834
17832
|
}) : [];
|
|
@@ -17876,7 +17874,7 @@ function V4(r, e) {
|
|
|
17876
17874
|
}))
|
|
17877
17875
|
return !1;
|
|
17878
17876
|
const n = Ht(e, t);
|
|
17879
|
-
return !!
|
|
17877
|
+
return !!xn(n, r);
|
|
17880
17878
|
}
|
|
17881
17879
|
const si = Object.freeze({
|
|
17882
17880
|
width: null,
|
|
@@ -18015,14 +18013,14 @@ function td(r, e = Q4) {
|
|
|
18015
18013
|
);
|
|
18016
18014
|
}), r = r.replace(new RegExp(a, "g"), ""), r;
|
|
18017
18015
|
}
|
|
18018
|
-
const
|
|
18016
|
+
const Lr = /* @__PURE__ */ Object.create(null);
|
|
18019
18017
|
function rd(r, e) {
|
|
18020
|
-
|
|
18018
|
+
Lr[r] = e;
|
|
18021
18019
|
}
|
|
18022
|
-
function
|
|
18023
|
-
return
|
|
18020
|
+
function Nr(r) {
|
|
18021
|
+
return Lr[r] || Lr[""];
|
|
18024
18022
|
}
|
|
18025
|
-
function
|
|
18023
|
+
function wn(r) {
|
|
18026
18024
|
let e;
|
|
18027
18025
|
if (typeof r.resources == "string")
|
|
18028
18026
|
e = [r.resources];
|
|
@@ -18047,21 +18045,21 @@ function kn(r) {
|
|
|
18047
18045
|
dataAfterTimeout: r.dataAfterTimeout !== !1
|
|
18048
18046
|
};
|
|
18049
18047
|
}
|
|
18050
|
-
const
|
|
18048
|
+
const kn = /* @__PURE__ */ Object.create(null), a0 = [
|
|
18051
18049
|
"https://api.simplesvg.com",
|
|
18052
18050
|
"https://api.unisvg.com"
|
|
18053
18051
|
], F0 = [];
|
|
18054
18052
|
for (; a0.length > 0; )
|
|
18055
18053
|
a0.length === 1 || Math.random() > 0.5 ? F0.push(a0.shift()) : F0.push(a0.pop());
|
|
18056
|
-
|
|
18054
|
+
kn[""] = wn({
|
|
18057
18055
|
resources: ["https://api.iconify.design"].concat(F0)
|
|
18058
18056
|
});
|
|
18059
18057
|
function nd(r, e) {
|
|
18060
|
-
const t =
|
|
18061
|
-
return t === null ? !1 : (
|
|
18058
|
+
const t = wn(e);
|
|
18059
|
+
return t === null ? !1 : (kn[r] = t, !0);
|
|
18062
18060
|
}
|
|
18063
|
-
function
|
|
18064
|
-
return
|
|
18061
|
+
function Mn(r) {
|
|
18062
|
+
return kn[r];
|
|
18065
18063
|
}
|
|
18066
18064
|
const ad = () => {
|
|
18067
18065
|
let r;
|
|
@@ -18073,7 +18071,7 @@ const ad = () => {
|
|
|
18073
18071
|
};
|
|
18074
18072
|
let ka = ad();
|
|
18075
18073
|
function sd(r, e) {
|
|
18076
|
-
const t =
|
|
18074
|
+
const t = Mn(r);
|
|
18077
18075
|
if (!t)
|
|
18078
18076
|
return 0;
|
|
18079
18077
|
let n;
|
|
@@ -18111,7 +18109,7 @@ const od = (r, e, t) => {
|
|
|
18111
18109
|
};
|
|
18112
18110
|
function ld(r) {
|
|
18113
18111
|
if (typeof r == "string") {
|
|
18114
|
-
const e =
|
|
18112
|
+
const e = Mn(r);
|
|
18115
18113
|
if (e)
|
|
18116
18114
|
return e.path;
|
|
18117
18115
|
}
|
|
@@ -18315,7 +18313,7 @@ function yd(r, e, t, n) {
|
|
|
18315
18313
|
C.status === "pending" && (C.status = "aborted");
|
|
18316
18314
|
}), y = [];
|
|
18317
18315
|
}
|
|
18318
|
-
function A(C, E,
|
|
18316
|
+
function A(C, E, _) {
|
|
18319
18317
|
const D = E !== "success";
|
|
18320
18318
|
switch (y = y.filter((ee) => ee !== C), u) {
|
|
18321
18319
|
case "pending":
|
|
@@ -18328,11 +18326,11 @@ function yd(r, e, t, n) {
|
|
|
18328
18326
|
return;
|
|
18329
18327
|
}
|
|
18330
18328
|
if (E === "abort") {
|
|
18331
|
-
h =
|
|
18329
|
+
h = _, v();
|
|
18332
18330
|
return;
|
|
18333
18331
|
}
|
|
18334
18332
|
if (D) {
|
|
18335
|
-
h =
|
|
18333
|
+
h = _, y.length || (i.length ? T() : v());
|
|
18336
18334
|
return;
|
|
18337
18335
|
}
|
|
18338
18336
|
if (M(), g(), !r.random) {
|
|
@@ -18340,7 +18338,7 @@ function yd(r, e, t, n) {
|
|
|
18340
18338
|
ee !== -1 && ee !== r.index && (r.index = ee);
|
|
18341
18339
|
}
|
|
18342
18340
|
u = "completed", b.forEach((ee) => {
|
|
18343
|
-
ee(
|
|
18341
|
+
ee(_);
|
|
18344
18342
|
});
|
|
18345
18343
|
}
|
|
18346
18344
|
function T() {
|
|
@@ -18361,8 +18359,8 @@ function yd(r, e, t, n) {
|
|
|
18361
18359
|
const E = {
|
|
18362
18360
|
status: "pending",
|
|
18363
18361
|
resource: C,
|
|
18364
|
-
callback: (
|
|
18365
|
-
A(E,
|
|
18362
|
+
callback: (_, D) => {
|
|
18363
|
+
A(E, _, D);
|
|
18366
18364
|
}
|
|
18367
18365
|
};
|
|
18368
18366
|
y.push(E), d++, m = setTimeout(T, r.rotate), t(C, e, E.callback);
|
|
@@ -18404,47 +18402,47 @@ function li(r) {
|
|
|
18404
18402
|
}
|
|
18405
18403
|
function Ma() {
|
|
18406
18404
|
}
|
|
18407
|
-
const
|
|
18405
|
+
const kr = /* @__PURE__ */ Object.create(null);
|
|
18408
18406
|
function gd(r) {
|
|
18409
|
-
if (!
|
|
18410
|
-
const e =
|
|
18407
|
+
if (!kr[r]) {
|
|
18408
|
+
const e = Mn(r);
|
|
18411
18409
|
if (!e)
|
|
18412
18410
|
return;
|
|
18413
18411
|
const t = li(e), n = {
|
|
18414
18412
|
config: e,
|
|
18415
18413
|
redundancy: t
|
|
18416
18414
|
};
|
|
18417
|
-
|
|
18415
|
+
kr[r] = n;
|
|
18418
18416
|
}
|
|
18419
|
-
return
|
|
18417
|
+
return kr[r];
|
|
18420
18418
|
}
|
|
18421
18419
|
function bd(r, e, t) {
|
|
18422
18420
|
let n, a;
|
|
18423
18421
|
if (typeof r == "string") {
|
|
18424
|
-
const s =
|
|
18422
|
+
const s = Nr(r);
|
|
18425
18423
|
if (!s)
|
|
18426
18424
|
return t(void 0, 424), Ma;
|
|
18427
18425
|
a = s.send;
|
|
18428
18426
|
const i = gd(r);
|
|
18429
18427
|
i && (n = i.redundancy);
|
|
18430
18428
|
} else {
|
|
18431
|
-
const s =
|
|
18429
|
+
const s = wn(r);
|
|
18432
18430
|
if (s) {
|
|
18433
18431
|
n = li(s);
|
|
18434
|
-
const i = r.resources ? r.resources[0] : "", o =
|
|
18432
|
+
const i = r.resources ? r.resources[0] : "", o = Nr(i);
|
|
18435
18433
|
o && (a = o.send);
|
|
18436
18434
|
}
|
|
18437
18435
|
}
|
|
18438
18436
|
return !n || !a ? (t(void 0, 424), Ma) : n.query(e, a, t)().abort;
|
|
18439
18437
|
}
|
|
18440
18438
|
const Sa = "iconify2", p0 = "iconify", ui = p0 + "-count", Aa = p0 + "-version", ci = 36e5, xd = 168, wd = 50;
|
|
18441
|
-
function
|
|
18439
|
+
function Pr(r, e) {
|
|
18442
18440
|
try {
|
|
18443
18441
|
return r.getItem(e);
|
|
18444
18442
|
} catch {
|
|
18445
18443
|
}
|
|
18446
18444
|
}
|
|
18447
|
-
function
|
|
18445
|
+
function Sn(r, e, t) {
|
|
18448
18446
|
try {
|
|
18449
18447
|
return r.setItem(e, t), !0;
|
|
18450
18448
|
} catch {
|
|
@@ -18456,11 +18454,11 @@ function ja(r, e) {
|
|
|
18456
18454
|
} catch {
|
|
18457
18455
|
}
|
|
18458
18456
|
}
|
|
18459
|
-
function
|
|
18460
|
-
return
|
|
18457
|
+
function qr(r, e) {
|
|
18458
|
+
return Sn(r, ui, e.toString());
|
|
18461
18459
|
}
|
|
18462
|
-
function
|
|
18463
|
-
return parseInt(
|
|
18460
|
+
function Vr(r) {
|
|
18461
|
+
return parseInt(Pr(r, ui)) || 0;
|
|
18464
18462
|
}
|
|
18465
18463
|
const nr = {
|
|
18466
18464
|
local: !0,
|
|
@@ -18469,9 +18467,9 @@ const nr = {
|
|
|
18469
18467
|
local: /* @__PURE__ */ new Set(),
|
|
18470
18468
|
session: /* @__PURE__ */ new Set()
|
|
18471
18469
|
};
|
|
18472
|
-
let
|
|
18470
|
+
let An = !1;
|
|
18473
18471
|
function kd(r) {
|
|
18474
|
-
|
|
18472
|
+
An = r;
|
|
18475
18473
|
}
|
|
18476
18474
|
let E0 = typeof window > "u" ? {} : window;
|
|
18477
18475
|
function hi(r) {
|
|
@@ -18487,18 +18485,18 @@ function pi(r, e) {
|
|
|
18487
18485
|
const t = hi(r);
|
|
18488
18486
|
if (!t)
|
|
18489
18487
|
return;
|
|
18490
|
-
const n =
|
|
18488
|
+
const n = Pr(t, Aa);
|
|
18491
18489
|
if (n !== Sa) {
|
|
18492
18490
|
if (n) {
|
|
18493
|
-
const o =
|
|
18491
|
+
const o = Vr(t);
|
|
18494
18492
|
for (let u = 0; u < o; u++)
|
|
18495
18493
|
ja(t, p0 + u.toString());
|
|
18496
18494
|
}
|
|
18497
|
-
|
|
18495
|
+
Sn(t, Aa, Sa), qr(t, 0);
|
|
18498
18496
|
return;
|
|
18499
18497
|
}
|
|
18500
18498
|
const a = Math.floor(Date.now() / ci) - xd, s = (o) => {
|
|
18501
|
-
const u = p0 + o.toString(), d =
|
|
18499
|
+
const u = p0 + o.toString(), d = Pr(t, u);
|
|
18502
18500
|
if (typeof d == "string") {
|
|
18503
18501
|
try {
|
|
18504
18502
|
const h = JSON.parse(d);
|
|
@@ -18510,12 +18508,12 @@ function pi(r, e) {
|
|
|
18510
18508
|
ja(t, u);
|
|
18511
18509
|
}
|
|
18512
18510
|
};
|
|
18513
|
-
let i =
|
|
18511
|
+
let i = Vr(t);
|
|
18514
18512
|
for (let o = i - 1; o >= 0; o--)
|
|
18515
|
-
s(o) || (o === i - 1 ? (i--,
|
|
18513
|
+
s(o) || (o === i - 1 ? (i--, qr(t, i)) : di[r].add(o));
|
|
18516
18514
|
}
|
|
18517
18515
|
function mi() {
|
|
18518
|
-
if (!
|
|
18516
|
+
if (!An) {
|
|
18519
18517
|
kd(!0);
|
|
18520
18518
|
for (const r in nr)
|
|
18521
18519
|
pi(r, (e) => {
|
|
@@ -18523,7 +18521,7 @@ function mi() {
|
|
|
18523
18521
|
n,
|
|
18524
18522
|
a
|
|
18525
18523
|
);
|
|
18526
|
-
if (!
|
|
18524
|
+
if (!xn(s, t).length)
|
|
18527
18525
|
return !1;
|
|
18528
18526
|
const i = t.lastModified || -1;
|
|
18529
18527
|
return s.lastModifiedCached = s.lastModifiedCached ? Math.min(s.lastModifiedCached, i) : i, !0;
|
|
@@ -18546,7 +18544,7 @@ function Md(r, e) {
|
|
|
18546
18544
|
return !0;
|
|
18547
18545
|
}
|
|
18548
18546
|
function Sd(r, e) {
|
|
18549
|
-
|
|
18547
|
+
An || mi();
|
|
18550
18548
|
function t(n) {
|
|
18551
18549
|
let a;
|
|
18552
18550
|
if (!nr[n] || !(a = hi(n)))
|
|
@@ -18555,14 +18553,14 @@ function Sd(r, e) {
|
|
|
18555
18553
|
let i;
|
|
18556
18554
|
if (s.size)
|
|
18557
18555
|
s.delete(i = Array.from(s).shift());
|
|
18558
|
-
else if (i =
|
|
18556
|
+
else if (i = Vr(a), i >= wd || !qr(a, i + 1))
|
|
18559
18557
|
return;
|
|
18560
18558
|
const o = {
|
|
18561
18559
|
cached: Math.floor(Date.now() / ci),
|
|
18562
18560
|
provider: r.provider,
|
|
18563
18561
|
data: e
|
|
18564
18562
|
};
|
|
18565
|
-
return
|
|
18563
|
+
return Sn(
|
|
18566
18564
|
a,
|
|
18567
18565
|
p0 + i.toString(),
|
|
18568
18566
|
JSON.stringify(o)
|
|
@@ -18583,7 +18581,7 @@ function jd(r, e) {
|
|
|
18583
18581
|
const { provider: t, prefix: n } = r, a = r.iconsToLoad;
|
|
18584
18582
|
delete r.iconsToLoad;
|
|
18585
18583
|
let s;
|
|
18586
|
-
if (!a || !(s =
|
|
18584
|
+
if (!a || !(s = Nr(t)))
|
|
18587
18585
|
return;
|
|
18588
18586
|
s.prepare(t, n, a).forEach((o) => {
|
|
18589
18587
|
bd(t, o, (u) => {
|
|
@@ -18593,7 +18591,7 @@ function jd(r, e) {
|
|
|
18593
18591
|
});
|
|
18594
18592
|
else
|
|
18595
18593
|
try {
|
|
18596
|
-
const d =
|
|
18594
|
+
const d = xn(
|
|
18597
18595
|
r,
|
|
18598
18596
|
u
|
|
18599
18597
|
);
|
|
@@ -18715,9 +18713,9 @@ const Ta = {
|
|
|
18715
18713
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
18716
18714
|
"aria-hidden": !0,
|
|
18717
18715
|
role: "img"
|
|
18718
|
-
},
|
|
18716
|
+
}, Rd = {
|
|
18719
18717
|
display: "inline-block"
|
|
18720
|
-
},
|
|
18718
|
+
}, Gr = {
|
|
18721
18719
|
backgroundColor: "currentColor"
|
|
18722
18720
|
}, fi = {
|
|
18723
18721
|
backgroundColor: "transparent"
|
|
@@ -18726,8 +18724,8 @@ const Ta = {
|
|
|
18726
18724
|
Repeat: "no-repeat",
|
|
18727
18725
|
Size: "100% 100%"
|
|
18728
18726
|
}, $a = {
|
|
18729
|
-
webkitMask:
|
|
18730
|
-
mask:
|
|
18727
|
+
webkitMask: Gr,
|
|
18728
|
+
mask: Gr,
|
|
18731
18729
|
background: fi
|
|
18732
18730
|
};
|
|
18733
18731
|
for (const r in $a) {
|
|
@@ -18785,7 +18783,7 @@ const Ia = (r, e) => {
|
|
|
18785
18783
|
...o
|
|
18786
18784
|
}, Object.assign(n, d);
|
|
18787
18785
|
let w = 0, S = e.id;
|
|
18788
|
-
return typeof S == "string" && (S = S.replace(/-/g, "_")), n.innerHTML = td(u.body, S ? () => S + "ID" + w++ : "iconifyVue"),
|
|
18786
|
+
return typeof S == "string" && (S = S.replace(/-/g, "_")), n.innerHTML = td(u.body, S ? () => S + "ID" + w++ : "iconifyVue"), jr("svg", n);
|
|
18789
18787
|
}
|
|
18790
18788
|
const { body: h, width: m, height: y } = r, b = a === "mask" || (a === "bg" ? !1 : h.indexOf("currentColor") !== -1), M = Id(h, {
|
|
18791
18789
|
...d,
|
|
@@ -18797,10 +18795,10 @@ const Ia = (r, e) => {
|
|
|
18797
18795
|
"--svg": Fd(M),
|
|
18798
18796
|
width: Ea(d.width),
|
|
18799
18797
|
height: Ea(d.height),
|
|
18800
|
-
...
|
|
18801
|
-
...b ?
|
|
18798
|
+
...Rd,
|
|
18799
|
+
...b ? Gr : fi,
|
|
18802
18800
|
...o
|
|
18803
|
-
},
|
|
18801
|
+
}, jr("span", n);
|
|
18804
18802
|
};
|
|
18805
18803
|
ai(!0);
|
|
18806
18804
|
rd("", cd);
|
|
@@ -18836,7 +18834,7 @@ if (typeof document < "u" && typeof window < "u") {
|
|
|
18836
18834
|
}
|
|
18837
18835
|
}
|
|
18838
18836
|
}
|
|
18839
|
-
const
|
|
18837
|
+
const _d = {
|
|
18840
18838
|
...rr,
|
|
18841
18839
|
body: ""
|
|
18842
18840
|
}, Ba = G({
|
|
@@ -18892,7 +18890,7 @@ const Rd = {
|
|
|
18892
18890
|
this.counter;
|
|
18893
18891
|
const r = this.$attrs, e = this.iconMounted || r.ssr ? this.getIcon(r.icon, r.onLoad) : null;
|
|
18894
18892
|
if (!e)
|
|
18895
|
-
return Ia(
|
|
18893
|
+
return Ia(_d, r);
|
|
18896
18894
|
let t = r;
|
|
18897
18895
|
return e.classes && (t = {
|
|
18898
18896
|
...r,
|
|
@@ -18972,7 +18970,7 @@ const Rd = {
|
|
|
18972
18970
|
}, [
|
|
18973
18971
|
Ut(ze(n.text) + " ", 1),
|
|
18974
18972
|
(I(), je(Ct(
|
|
18975
|
-
n.iconType != null ? n.iconType === "internal" ? q(
|
|
18973
|
+
n.iconType != null ? n.iconType === "internal" ? q(_0) : q(Tn) : n.openInNewTab ? q(Tn) : q(_0)
|
|
18976
18974
|
), {
|
|
18977
18975
|
class: B(n.$style.icon)
|
|
18978
18976
|
}, null, 8, ["class"]))
|
|
@@ -19053,7 +19051,7 @@ const Rd = {
|
|
|
19053
19051
|
text: n.filesize
|
|
19054
19052
|
}, null, 8, ["text"])) : Be("", !0)
|
|
19055
19053
|
]),
|
|
19056
|
-
Q(q(
|
|
19054
|
+
Q(q(_i), {
|
|
19057
19055
|
class: B(n.$style["download-icon"]),
|
|
19058
19056
|
onClick: a[0] || (a[0] = () => {
|
|
19059
19057
|
t(
|
|
@@ -19085,7 +19083,7 @@ const Rd = {
|
|
|
19085
19083
|
const e = r, { isLoading: t, error: n } = O1({ src: e.src }), a = Z(!1);
|
|
19086
19084
|
return j1("Escape", (s) => {
|
|
19087
19085
|
s.preventDefault(), a.value = !1;
|
|
19088
|
-
}), (s, i) => (I(), F(
|
|
19086
|
+
}), (s, i) => (I(), F(_e, null, [
|
|
19089
19087
|
Q(Mt, { mode: "out-in" }, {
|
|
19090
19088
|
default: Te(() => [
|
|
19091
19089
|
q(n) ? (I(), F("div", {
|
|
@@ -19214,7 +19212,7 @@ const Rd = {
|
|
|
19214
19212
|
key: 0,
|
|
19215
19213
|
class: B(n.$style.date)
|
|
19216
19214
|
}, [
|
|
19217
|
-
n.createdAt != null ? (I(), F(
|
|
19215
|
+
n.createdAt != null ? (I(), F(_e, { key: 0 }, [
|
|
19218
19216
|
Q(q(qi), {
|
|
19219
19217
|
class: B(n.$style.icon)
|
|
19220
19218
|
}, null, 8, ["class"]),
|
|
@@ -19223,7 +19221,7 @@ const Rd = {
|
|
|
19223
19221
|
size: ".8rem"
|
|
19224
19222
|
}, null, 8, ["text"])
|
|
19225
19223
|
], 64)) : Be("", !0),
|
|
19226
|
-
n.updatedAt != null ? (I(), F(
|
|
19224
|
+
n.updatedAt != null ? (I(), F(_e, { key: 1 }, [
|
|
19227
19225
|
Q(q(Hi), {
|
|
19228
19226
|
class: B(n.$style.icon)
|
|
19229
19227
|
}, null, 8, ["class"]),
|
|
@@ -19275,7 +19273,7 @@ const Rd = {
|
|
|
19275
19273
|
"--opacity": t.value ? 1 : 0
|
|
19276
19274
|
})
|
|
19277
19275
|
}, [
|
|
19278
|
-
(I(!0), F(
|
|
19276
|
+
(I(!0), F(_e, null, St(n.links, (s, i) => (I(), F(_e, null, [
|
|
19279
19277
|
L("div", {
|
|
19280
19278
|
class: B(n.$style["link-container"]),
|
|
19281
19279
|
onClick: s.onClick
|
|
@@ -19296,7 +19294,7 @@ const Rd = {
|
|
|
19296
19294
|
})
|
|
19297
19295
|
}, null, 8, ["text", "class", "style"])
|
|
19298
19296
|
], 10, T5),
|
|
19299
|
-
n.links.length !== i + 1 ? (I(), je(q(
|
|
19297
|
+
n.links.length !== i + 1 ? (I(), je(q(_0), {
|
|
19300
19298
|
key: 0,
|
|
19301
19299
|
class: B([n.$style.chevron, n.$style.fade]),
|
|
19302
19300
|
style: W({
|
|
@@ -19356,10 +19354,10 @@ const Rd = {
|
|
|
19356
19354
|
}, "Back to Top", 2)
|
|
19357
19355
|
], 6));
|
|
19358
19356
|
}
|
|
19359
|
-
}),
|
|
19360
|
-
wrapper:
|
|
19357
|
+
}), R5 = "_wrapper_q0z76_1", _5 = "_partial_q0z76_52", H5 = "_move_q0z76_1", L5 = "_text_q0z76_85", N5 = {
|
|
19358
|
+
wrapper: R5,
|
|
19361
19359
|
"wrapper--visible": "_wrapper--visible_q0z76_20",
|
|
19362
|
-
partial:
|
|
19360
|
+
partial: _5,
|
|
19363
19361
|
move: H5,
|
|
19364
19362
|
text: L5
|
|
19365
19363
|
}, P5 = {
|
|
@@ -19373,7 +19371,7 @@ const Rd = {
|
|
|
19373
19371
|
return (e, t) => (I(), F("nav", {
|
|
19374
19372
|
class: B(e.$style.toc)
|
|
19375
19373
|
}, [
|
|
19376
|
-
(I(!0), F(
|
|
19374
|
+
(I(!0), F(_e, null, St(e.headings, (n) => (I(), F("a", {
|
|
19377
19375
|
class: B(e.$style.link),
|
|
19378
19376
|
href: `#${n.id ?? n.text}`,
|
|
19379
19377
|
style: W({ "--padding-left": `${n.level * 0.5}rem` })
|
|
@@ -19422,10 +19420,10 @@ function m0(r, e) {
|
|
|
19422
19420
|
function K5(r, e) {
|
|
19423
19421
|
r.prototype = Object.create(e.prototype), r.prototype.constructor = r, m0(r, e);
|
|
19424
19422
|
}
|
|
19425
|
-
function
|
|
19426
|
-
return
|
|
19423
|
+
function Ur(r) {
|
|
19424
|
+
return Ur = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
|
|
19427
19425
|
return e.__proto__ || Object.getPrototypeOf(e);
|
|
19428
|
-
},
|
|
19426
|
+
}, Ur(r);
|
|
19429
19427
|
}
|
|
19430
19428
|
function J5(r) {
|
|
19431
19429
|
try {
|
|
@@ -19451,9 +19449,9 @@ function Q5(r, e, t) {
|
|
|
19451
19449
|
var a = new (r.bind.apply(r, n))();
|
|
19452
19450
|
return t && m0(a, t.prototype), a;
|
|
19453
19451
|
}
|
|
19454
|
-
function
|
|
19452
|
+
function Wr(r) {
|
|
19455
19453
|
var e = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
19456
|
-
return
|
|
19454
|
+
return Wr = function(n) {
|
|
19457
19455
|
if (n === null || !J5(n)) return n;
|
|
19458
19456
|
if (typeof n != "function") throw new TypeError("Super expression must either be null or a function");
|
|
19459
19457
|
if (e !== void 0) {
|
|
@@ -19461,7 +19459,7 @@ function Yr(r) {
|
|
|
19461
19459
|
e.set(n, a);
|
|
19462
19460
|
}
|
|
19463
19461
|
function a() {
|
|
19464
|
-
return Q5(n, arguments,
|
|
19462
|
+
return Q5(n, arguments, Ur(this).constructor);
|
|
19465
19463
|
}
|
|
19466
19464
|
return a.prototype = Object.create(n.prototype, {
|
|
19467
19465
|
constructor: {
|
|
@@ -19471,7 +19469,7 @@ function Yr(r) {
|
|
|
19471
19469
|
configurable: !0
|
|
19472
19470
|
}
|
|
19473
19471
|
}), m0(a, n);
|
|
19474
|
-
},
|
|
19472
|
+
}, Wr(r);
|
|
19475
19473
|
}
|
|
19476
19474
|
var eh = {
|
|
19477
19475
|
1: `Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }).
|
|
@@ -19725,12 +19723,12 @@ var et = /* @__PURE__ */ function(r) {
|
|
|
19725
19723
|
return Z5(n);
|
|
19726
19724
|
}
|
|
19727
19725
|
return e;
|
|
19728
|
-
}(/* @__PURE__ */
|
|
19729
|
-
function
|
|
19726
|
+
}(/* @__PURE__ */ Wr(Error));
|
|
19727
|
+
function Mr(r) {
|
|
19730
19728
|
return Math.round(r * 255);
|
|
19731
19729
|
}
|
|
19732
19730
|
function rh(r, e, t) {
|
|
19733
|
-
return
|
|
19731
|
+
return Mr(r) + "," + Mr(e) + "," + Mr(t);
|
|
19734
19732
|
}
|
|
19735
19733
|
function f0(r, e, t, n) {
|
|
19736
19734
|
if (n === void 0 && (n = rh), e === 0)
|
|
@@ -19895,7 +19893,7 @@ function nh(r) {
|
|
|
19895
19893
|
var e = r.toLowerCase();
|
|
19896
19894
|
return Oa[e] ? "#" + Oa[e] : r;
|
|
19897
19895
|
}
|
|
19898
|
-
var ah = /^#[a-fA-F0-9]{6}$/, sh = /^#[a-fA-F0-9]{8}$/, ih = /^#[a-fA-F0-9]{3}$/, oh = /^#[a-fA-F0-9]{4}$/,
|
|
19896
|
+
var ah = /^#[a-fA-F0-9]{6}$/, sh = /^#[a-fA-F0-9]{8}$/, ih = /^#[a-fA-F0-9]{3}$/, oh = /^#[a-fA-F0-9]{4}$/, Sr = /^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i, lh = /^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i, uh = /^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i, ch = /^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;
|
|
19899
19897
|
function Tt(r) {
|
|
19900
19898
|
if (typeof r != "string")
|
|
19901
19899
|
throw new et(3);
|
|
@@ -19930,7 +19928,7 @@ function Tt(r) {
|
|
|
19930
19928
|
alpha: n
|
|
19931
19929
|
};
|
|
19932
19930
|
}
|
|
19933
|
-
var a =
|
|
19931
|
+
var a = Sr.exec(e);
|
|
19934
19932
|
if (a)
|
|
19935
19933
|
return {
|
|
19936
19934
|
red: parseInt("" + a[1], 10),
|
|
@@ -19947,7 +19945,7 @@ function Tt(r) {
|
|
|
19947
19945
|
};
|
|
19948
19946
|
var i = uh.exec(e);
|
|
19949
19947
|
if (i) {
|
|
19950
|
-
var o = parseInt("" + i[1], 10), u = parseInt("" + i[2], 10) / 100, d = parseInt("" + i[3], 10) / 100, h = "rgb(" + f0(o, u, d) + ")", m =
|
|
19948
|
+
var o = parseInt("" + i[1], 10), u = parseInt("" + i[2], 10) / 100, d = parseInt("" + i[3], 10) / 100, h = "rgb(" + f0(o, u, d) + ")", m = Sr.exec(h);
|
|
19951
19949
|
if (!m)
|
|
19952
19950
|
throw new et(4, e, h);
|
|
19953
19951
|
return {
|
|
@@ -19958,7 +19956,7 @@ function Tt(r) {
|
|
|
19958
19956
|
}
|
|
19959
19957
|
var y = ch.exec(e.substring(0, 50));
|
|
19960
19958
|
if (y) {
|
|
19961
|
-
var b = parseInt("" + y[1], 10), M = parseInt("" + y[2], 10) / 100, w = parseInt("" + y[3], 10) / 100, S = "rgb(" + f0(b, M, w) + ")", j =
|
|
19959
|
+
var b = parseInt("" + y[1], 10), M = parseInt("" + y[2], 10) / 100, w = parseInt("" + y[3], 10) / 100, S = "rgb(" + f0(b, M, w) + ")", j = Sr.exec(S);
|
|
19962
19960
|
if (!j)
|
|
19963
19961
|
throw new et(4, e, S);
|
|
19964
19962
|
return {
|
|
@@ -20011,16 +20009,16 @@ function gt(r) {
|
|
|
20011
20009
|
}
|
|
20012
20010
|
var hh = function(e) {
|
|
20013
20011
|
return e.length === 7 && e[1] === e[2] && e[3] === e[4] && e[5] === e[6] ? "#" + e[1] + e[3] + e[5] : e;
|
|
20014
|
-
},
|
|
20015
|
-
function
|
|
20012
|
+
}, Yr = hh;
|
|
20013
|
+
function Rt(r) {
|
|
20016
20014
|
var e = r.toString(16);
|
|
20017
20015
|
return e.length === 1 ? "0" + e : e;
|
|
20018
20016
|
}
|
|
20019
|
-
function
|
|
20020
|
-
return
|
|
20017
|
+
function Ar(r) {
|
|
20018
|
+
return Rt(Math.round(r * 255));
|
|
20021
20019
|
}
|
|
20022
20020
|
function ph(r, e, t) {
|
|
20023
|
-
return
|
|
20021
|
+
return Yr("#" + Ar(r) + Ar(e) + Ar(t));
|
|
20024
20022
|
}
|
|
20025
20023
|
function G0(r, e, t) {
|
|
20026
20024
|
return f0(r, e, t, ph);
|
|
@@ -20041,9 +20039,9 @@ function fh(r, e, t, n) {
|
|
|
20041
20039
|
}
|
|
20042
20040
|
function U0(r, e, t) {
|
|
20043
20041
|
if (typeof r == "number" && typeof e == "number" && typeof t == "number")
|
|
20044
|
-
return
|
|
20042
|
+
return Yr("#" + Rt(r) + Rt(e) + Rt(t));
|
|
20045
20043
|
if (typeof r == "object" && e === void 0 && t === void 0)
|
|
20046
|
-
return
|
|
20044
|
+
return Yr("#" + Rt(r.red) + Rt(r.green) + Rt(r.blue));
|
|
20047
20045
|
throw new et(6);
|
|
20048
20046
|
}
|
|
20049
20047
|
function e0(r, e, t, n) {
|
|
@@ -20200,7 +20198,7 @@ function Dh(r, e) {
|
|
|
20200
20198
|
return e0(a);
|
|
20201
20199
|
}
|
|
20202
20200
|
Ve(Dh);
|
|
20203
|
-
const
|
|
20201
|
+
const Rh = /* @__PURE__ */ G({
|
|
20204
20202
|
__name: "ElmColorSample",
|
|
20205
20203
|
props: {
|
|
20206
20204
|
color: {}
|
|
@@ -20210,7 +20208,7 @@ const _h = /* @__PURE__ */ G({
|
|
|
20210
20208
|
return (b, M) => (I(), F("div", {
|
|
20211
20209
|
style: W({ "--color": b.color })
|
|
20212
20210
|
}, [
|
|
20213
|
-
Q(
|
|
20211
|
+
Q(Jr, null, {
|
|
20214
20212
|
original: Te(() => [
|
|
20215
20213
|
L("div", {
|
|
20216
20214
|
class: B(b.$style["color-bg"]),
|
|
@@ -20252,12 +20250,12 @@ const _h = /* @__PURE__ */ G({
|
|
|
20252
20250
|
})
|
|
20253
20251
|
], 4));
|
|
20254
20252
|
}
|
|
20255
|
-
}),
|
|
20253
|
+
}), _h = "_text_819fg_13", Hh = {
|
|
20256
20254
|
"color-bg": "_color-bg_819fg_1",
|
|
20257
|
-
text:
|
|
20255
|
+
text: _h
|
|
20258
20256
|
}, Lh = {
|
|
20259
20257
|
$style: Hh
|
|
20260
|
-
}, Nh = /* @__PURE__ */ J(
|
|
20258
|
+
}, Nh = /* @__PURE__ */ J(Rh, [["__cssModules", Lh], ["__scopeId", "data-v-c3f4d254"]]), Ph = /* @__PURE__ */ G({
|
|
20261
20259
|
__name: "ElmColorTable",
|
|
20262
20260
|
props: {
|
|
20263
20261
|
colors: {}
|
|
@@ -20266,14 +20264,14 @@ const _h = /* @__PURE__ */ G({
|
|
|
20266
20264
|
return (e, t) => (I(), F("div", {
|
|
20267
20265
|
class: B(e.$style.container)
|
|
20268
20266
|
}, [
|
|
20269
|
-
(I(!0), F(
|
|
20267
|
+
(I(!0), F(_e, null, St(e.colors, (n) => (I(), F("div", {
|
|
20270
20268
|
class: B(e.$style["row-container"])
|
|
20271
20269
|
}, [
|
|
20272
20270
|
L("div", {
|
|
20273
20271
|
class: B(e.$style["color-name"]),
|
|
20274
20272
|
style: W({ "--color": n.code })
|
|
20275
20273
|
}, ze(n.name), 7),
|
|
20276
|
-
(I(), F(
|
|
20274
|
+
(I(), F(_e, null, St([
|
|
20277
20275
|
-0.2,
|
|
20278
20276
|
-0.15,
|
|
20279
20277
|
-0.1,
|
|
@@ -20546,7 +20544,7 @@ const _h = /* @__PURE__ */ G({
|
|
|
20546
20544
|
};
|
|
20547
20545
|
return (t, n) => {
|
|
20548
20546
|
const a = zi("ElmJsonRenderer", !0);
|
|
20549
|
-
return I(!0), F(
|
|
20547
|
+
return I(!0), F(_e, null, St(t.json, (s) => {
|
|
20550
20548
|
var i;
|
|
20551
20549
|
return I(), je(Ct(e[s.type]), Ti({
|
|
20552
20550
|
key: s.type + (((i = s.props) == null ? void 0 : i.id) || ""),
|
|
@@ -20605,12 +20603,12 @@ export {
|
|
|
20605
20603
|
B3 as g,
|
|
20606
20604
|
O3 as h,
|
|
20607
20605
|
$2 as i,
|
|
20608
|
-
|
|
20606
|
+
Jr as j,
|
|
20609
20607
|
F3 as k,
|
|
20610
20608
|
D3 as l,
|
|
20611
20609
|
X2 as m,
|
|
20612
|
-
|
|
20613
|
-
|
|
20610
|
+
R3 as n,
|
|
20611
|
+
_3 as o,
|
|
20614
20612
|
xu as p,
|
|
20615
20613
|
Bc as q,
|
|
20616
20614
|
Lc as r,
|