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