@elmethis/core 1.0.0-alpha.3 → 1.0.0-alpha.4
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-BmI1r-pL.js → Bash-Baz1BxzT.js} +1 -1
- package/dist/{JavaScript-BLh8XUTW.js → JavaScript-B2h5GaAI.js} +1 -1
- package/dist/{Rust-byGZHaMF.js → Rust-OtMDYMq1.js} +1 -1
- package/dist/{TypeScript-BwE7LRoS.js → TypeScript-BjyEfQ06.js} +1 -1
- package/dist/components/renderer/ElmJsonRenderer.vue.d.ts +8 -3
- package/dist/elmethis.js +2 -2
- package/dist/elmethis.umd.cjs +9 -9
- package/dist/{index-Bk5p9urM.js → index-DiODNzIp.js} +832 -726
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as O, createElementBlock as $, createElementVNode as
|
|
1
|
+
import { openBlock as O, createElementBlock as $, createElementVNode as P, defineComponent as X, createBlock as Ye, unref as Z, normalizeStyle as ee, defineAsyncComponent as dt, toDisplayString as $e, ref as W, onMounted as it, onUpdated as Ra, createTextVNode as et, normalizeClass as E0, getCurrentScope as oi, onScopeDispose as ui, nextTick as ci, readonly as hi, getCurrentInstance as Oa, computed as f0, watch as I0, watchEffect as Ha, shallowRef as jr, toRaw as di, Fragment as n0, renderSlot as Se, createVNode as ae, Transition as yr, withCtx as B0, createCommentVNode as Ne, resolveDynamicComponent as F0, renderList as Dt, mergeModels as _a, useModel as La, resolveComponent as mi, mergeProps as pi } from "vue";
|
|
2
2
|
function fi(r, e) {
|
|
3
3
|
return O(), $("svg", {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -9,7 +9,7 @@ function fi(r, e) {
|
|
|
9
9
|
"aria-hidden": "true",
|
|
10
10
|
"data-slot": "icon"
|
|
11
11
|
}, [
|
|
12
|
-
|
|
12
|
+
P("path", {
|
|
13
13
|
"stroke-linecap": "round",
|
|
14
14
|
"stroke-linejoin": "round",
|
|
15
15
|
d: "M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"
|
|
@@ -26,7 +26,7 @@ function Gr(r, e) {
|
|
|
26
26
|
"aria-hidden": "true",
|
|
27
27
|
"data-slot": "icon"
|
|
28
28
|
}, [
|
|
29
|
-
|
|
29
|
+
P("path", {
|
|
30
30
|
"stroke-linecap": "round",
|
|
31
31
|
"stroke-linejoin": "round",
|
|
32
32
|
d: "M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"
|
|
@@ -43,7 +43,7 @@ function vi(r, e) {
|
|
|
43
43
|
"aria-hidden": "true",
|
|
44
44
|
"data-slot": "icon"
|
|
45
45
|
}, [
|
|
46
|
-
|
|
46
|
+
P("path", {
|
|
47
47
|
"stroke-linecap": "round",
|
|
48
48
|
"stroke-linejoin": "round",
|
|
49
49
|
d: "M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5m-9-6h.008v.008H12v-.008ZM12 15h.008v.008H12V15Zm0 2.25h.008v.008H12v-.008ZM9.75 15h.008v.008H9.75V15Zm0 2.25h.008v.008H9.75v-.008ZM7.5 15h.008v.008H7.5V15Zm0 2.25h.008v.008H7.5v-.008Zm6.75-4.5h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V15Zm0 2.25h.008v.008h-.008v-.008Zm2.25-4.5h.008v.008H16.5v-.008Zm0 2.25h.008v.008H16.5V15Z"
|
|
@@ -60,7 +60,7 @@ function gi(r, e) {
|
|
|
60
60
|
"aria-hidden": "true",
|
|
61
61
|
"data-slot": "icon"
|
|
62
62
|
}, [
|
|
63
|
-
|
|
63
|
+
P("path", {
|
|
64
64
|
"stroke-linecap": "round",
|
|
65
65
|
"stroke-linejoin": "round",
|
|
66
66
|
d: "M7.5 14.25v2.25m3-4.5v4.5m3-6.75v6.75m3-9v9M6 20.25h12A2.25 2.25 0 0 0 20.25 18V6A2.25 2.25 0 0 0 18 3.75H6A2.25 2.25 0 0 0 3.75 6v12A2.25 2.25 0 0 0 6 20.25Z"
|
|
@@ -77,7 +77,7 @@ function At(r, e) {
|
|
|
77
77
|
"aria-hidden": "true",
|
|
78
78
|
"data-slot": "icon"
|
|
79
79
|
}, [
|
|
80
|
-
|
|
80
|
+
P("path", {
|
|
81
81
|
"stroke-linecap": "round",
|
|
82
82
|
"stroke-linejoin": "round",
|
|
83
83
|
d: "m8.25 4.5 7.5 7.5-7.5 7.5"
|
|
@@ -94,7 +94,7 @@ function bi(r, e) {
|
|
|
94
94
|
"aria-hidden": "true",
|
|
95
95
|
"data-slot": "icon"
|
|
96
96
|
}, [
|
|
97
|
-
|
|
97
|
+
P("path", {
|
|
98
98
|
"stroke-linecap": "round",
|
|
99
99
|
"stroke-linejoin": "round",
|
|
100
100
|
d: "M11.35 3.836c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-.1-.664m-5.8 0A2.251 2.251 0 0 1 13.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m8.9-4.414c.376.023.75.05 1.124.08 1.131.094 1.976 1.057 1.976 2.192V16.5A2.25 2.25 0 0 1 18 18.75h-2.25m-7.5-10.5H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V18.75m-7.5-10.5h6.375c.621 0 1.125.504 1.125 1.125v9.375m-8.25-3 1.5 1.5 3-3.75"
|
|
@@ -111,14 +111,14 @@ function yi(r, e) {
|
|
|
111
111
|
"aria-hidden": "true",
|
|
112
112
|
"data-slot": "icon"
|
|
113
113
|
}, [
|
|
114
|
-
|
|
114
|
+
P("path", {
|
|
115
115
|
"stroke-linecap": "round",
|
|
116
116
|
"stroke-linejoin": "round",
|
|
117
117
|
d: "M8.25 7.5V6.108c0-1.135.845-2.098 1.976-2.192.373-.03.748-.057 1.123-.08M15.75 18H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08M15.75 18.75v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5A3.375 3.375 0 0 0 6.375 7.5H5.25m11.9-3.664A2.251 2.251 0 0 0 15 2.25h-1.5a2.251 2.251 0 0 0-2.15 1.586m5.8 0c.065.21.1.433.1.664v.75h-6V4.5c0-.231.035-.454.1-.664M6.75 7.5H4.875c-.621 0-1.125.504-1.125 1.125v12c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V16.5a9 9 0 0 0-9-9Z"
|
|
118
118
|
})
|
|
119
119
|
]);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function Z0(r, e) {
|
|
122
122
|
return O(), $("svg", {
|
|
123
123
|
xmlns: "http://www.w3.org/2000/svg",
|
|
124
124
|
fill: "none",
|
|
@@ -128,7 +128,7 @@ function Y0(r, e) {
|
|
|
128
128
|
"aria-hidden": "true",
|
|
129
129
|
"data-slot": "icon"
|
|
130
130
|
}, [
|
|
131
|
-
|
|
131
|
+
P("path", {
|
|
132
132
|
"stroke-linecap": "round",
|
|
133
133
|
"stroke-linejoin": "round",
|
|
134
134
|
d: "m6.75 7.5 3 2.25-3 2.25m4.5 0h3m-9 8.25h13.5A2.25 2.25 0 0 0 21 18V6a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 6v12a2.25 2.25 0 0 0 2.25 2.25Z"
|
|
@@ -145,7 +145,7 @@ function xi(r, e) {
|
|
|
145
145
|
"aria-hidden": "true",
|
|
146
146
|
"data-slot": "icon"
|
|
147
147
|
}, [
|
|
148
|
-
|
|
148
|
+
P("path", {
|
|
149
149
|
"stroke-linecap": "round",
|
|
150
150
|
"stroke-linejoin": "round",
|
|
151
151
|
d: "M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"
|
|
@@ -162,7 +162,7 @@ function wi(r, e) {
|
|
|
162
162
|
"aria-hidden": "true",
|
|
163
163
|
"data-slot": "icon"
|
|
164
164
|
}, [
|
|
165
|
-
|
|
165
|
+
P("path", {
|
|
166
166
|
"stroke-linecap": "round",
|
|
167
167
|
"stroke-linejoin": "round",
|
|
168
168
|
d: "M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"
|
|
@@ -179,7 +179,7 @@ function ki(r, e) {
|
|
|
179
179
|
"aria-hidden": "true",
|
|
180
180
|
"data-slot": "icon"
|
|
181
181
|
}, [
|
|
182
|
-
|
|
182
|
+
P("path", {
|
|
183
183
|
"stroke-linecap": "round",
|
|
184
184
|
"stroke-linejoin": "round",
|
|
185
185
|
d: "M3.75 9.776c.112-.017.227-.026.344-.026h15.812c.117 0 .232.009.344.026m-16.5 0a2.25 2.25 0 0 0-1.883 2.542l.857 6a2.25 2.25 0 0 0 2.227 1.932H19.05a2.25 2.25 0 0 0 2.227-1.932l.857-6a2.25 2.25 0 0 0-1.883-2.542m-16.5 0V6A2.25 2.25 0 0 1 6 3.75h3.879a1.5 1.5 0 0 1 1.06.44l2.122 2.12a1.5 1.5 0 0 0 1.06.44H18A2.25 2.25 0 0 1 20.25 9v.776"
|
|
@@ -196,7 +196,7 @@ function Si(r, e) {
|
|
|
196
196
|
"aria-hidden": "true",
|
|
197
197
|
"data-slot": "icon"
|
|
198
198
|
}, [
|
|
199
|
-
|
|
199
|
+
P("path", {
|
|
200
200
|
"stroke-linecap": "round",
|
|
201
201
|
"stroke-linejoin": "round",
|
|
202
202
|
d: "m2.25 12 8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25"
|
|
@@ -213,7 +213,7 @@ function Mi(r, e) {
|
|
|
213
213
|
"aria-hidden": "true",
|
|
214
214
|
"data-slot": "icon"
|
|
215
215
|
}, [
|
|
216
|
-
|
|
216
|
+
P("path", {
|
|
217
217
|
"stroke-linecap": "round",
|
|
218
218
|
"stroke-linejoin": "round",
|
|
219
219
|
d: "M12 18v-5.25m0 0a6.01 6.01 0 0 0 1.5-.189m-1.5.189a6.01 6.01 0 0 1-1.5-.189m3.75 7.478a12.06 12.06 0 0 1-4.5 0m3.75 2.383a14.406 14.406 0 0 1-3 0M14.25 18v-.192c0-.983.658-1.823 1.508-2.316a7.5 7.5 0 1 0-7.517 0c.85.493 1.509 1.333 1.509 2.316V18"
|
|
@@ -230,7 +230,7 @@ function Ai(r, e) {
|
|
|
230
230
|
"aria-hidden": "true",
|
|
231
231
|
"data-slot": "icon"
|
|
232
232
|
}, [
|
|
233
|
-
|
|
233
|
+
P("path", {
|
|
234
234
|
"stroke-linecap": "round",
|
|
235
235
|
"stroke-linejoin": "round",
|
|
236
236
|
d: "M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"
|
|
@@ -247,7 +247,7 @@ function zi(r, e) {
|
|
|
247
247
|
"aria-hidden": "true",
|
|
248
248
|
"data-slot": "icon"
|
|
249
249
|
}, [
|
|
250
|
-
|
|
250
|
+
P("path", {
|
|
251
251
|
"stroke-linecap": "round",
|
|
252
252
|
"stroke-linejoin": "round",
|
|
253
253
|
d: "M12 4.5v15m7.5-7.5h-15"
|
|
@@ -264,7 +264,7 @@ function Ti(r, e) {
|
|
|
264
264
|
"aria-hidden": "true",
|
|
265
265
|
"data-slot": "icon"
|
|
266
266
|
}, [
|
|
267
|
-
|
|
267
|
+
P("path", {
|
|
268
268
|
"stroke-linecap": "round",
|
|
269
269
|
"stroke-linejoin": "round",
|
|
270
270
|
d: "M9 12.75 11.25 15 15 9.75m-3-7.036A11.959 11.959 0 0 1 3.598 6 11.99 11.99 0 0 0 3 9.749c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285Z"
|
|
@@ -281,7 +281,7 @@ function Ci(r, e) {
|
|
|
281
281
|
"aria-hidden": "true",
|
|
282
282
|
"data-slot": "icon"
|
|
283
283
|
}, [
|
|
284
|
-
|
|
284
|
+
P("path", {
|
|
285
285
|
"stroke-linecap": "round",
|
|
286
286
|
"stroke-linejoin": "round",
|
|
287
287
|
d: "M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"
|
|
@@ -298,7 +298,7 @@ function Ei(r, e) {
|
|
|
298
298
|
"aria-hidden": "true",
|
|
299
299
|
"data-slot": "icon"
|
|
300
300
|
}, [
|
|
301
|
-
|
|
301
|
+
P("path", {
|
|
302
302
|
"stroke-linecap": "round",
|
|
303
303
|
"stroke-linejoin": "round",
|
|
304
304
|
d: "m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"
|
|
@@ -317,30 +317,30 @@ const Bi = /* @__PURE__ */ X({
|
|
|
317
317
|
case "rust":
|
|
318
318
|
case "rs":
|
|
319
319
|
return dt({
|
|
320
|
-
loader: () => import("./Rust-
|
|
321
|
-
loadingComponent:
|
|
320
|
+
loader: () => import("./Rust-OtMDYMq1.js"),
|
|
321
|
+
loadingComponent: Z0
|
|
322
322
|
});
|
|
323
323
|
case "javascript":
|
|
324
324
|
case "js":
|
|
325
325
|
return dt({
|
|
326
|
-
loader: () => import("./JavaScript-
|
|
327
|
-
loadingComponent:
|
|
326
|
+
loader: () => import("./JavaScript-B2h5GaAI.js"),
|
|
327
|
+
loadingComponent: Z0
|
|
328
328
|
});
|
|
329
329
|
case "typescript":
|
|
330
330
|
case "ts":
|
|
331
331
|
return dt({
|
|
332
|
-
loader: () => import("./TypeScript-
|
|
333
|
-
loadingComponent:
|
|
332
|
+
loader: () => import("./TypeScript-BjyEfQ06.js"),
|
|
333
|
+
loadingComponent: Z0
|
|
334
334
|
});
|
|
335
335
|
case "bash":
|
|
336
336
|
case "sh":
|
|
337
337
|
case "shell":
|
|
338
338
|
return dt({
|
|
339
|
-
loader: () => import("./Bash-
|
|
340
|
-
loadingComponent:
|
|
339
|
+
loader: () => import("./Bash-Baz1BxzT.js"),
|
|
340
|
+
loadingComponent: Z0
|
|
341
341
|
});
|
|
342
342
|
default:
|
|
343
|
-
return
|
|
343
|
+
return Z0;
|
|
344
344
|
}
|
|
345
345
|
})();
|
|
346
346
|
return (n, i) => (O(), Ye(Z(a), {
|
|
@@ -348,12 +348,12 @@ const Bi = /* @__PURE__ */ X({
|
|
|
348
348
|
style: ee({ "--width": `${n.size}px` })
|
|
349
349
|
}, null, 8, ["style"]));
|
|
350
350
|
}
|
|
351
|
-
}),
|
|
351
|
+
}), te = (r, e) => {
|
|
352
352
|
const t = r.__vccOpts || r;
|
|
353
353
|
for (const [a, n] of e)
|
|
354
354
|
t[a] = n;
|
|
355
355
|
return t;
|
|
356
|
-
}, Di = /* @__PURE__ */
|
|
356
|
+
}, Di = /* @__PURE__ */ te(Bi, [["__scopeId", "data-v-60662f3b"]]), Ii = /* @__PURE__ */ X({
|
|
357
357
|
__name: "ElmInlineText",
|
|
358
358
|
props: {
|
|
359
359
|
text: {},
|
|
@@ -376,12 +376,12 @@ const Bi = /* @__PURE__ */ X({
|
|
|
376
376
|
})
|
|
377
377
|
}, $e(e.text), 5));
|
|
378
378
|
}
|
|
379
|
-
}),
|
|
379
|
+
}), ke = /* @__PURE__ */ te(Ii, [["__scopeId", "data-v-8c7a6581"]]);
|
|
380
380
|
var Vr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
381
381
|
function Fi(r) {
|
|
382
382
|
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
383
383
|
}
|
|
384
|
-
var
|
|
384
|
+
var $a = { exports: {} };
|
|
385
385
|
(function(r) {
|
|
386
386
|
var e = typeof window < "u" ? window : typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope ? self : {};
|
|
387
387
|
/**
|
|
@@ -737,8 +737,8 @@ var _a = { exports: {} };
|
|
|
737
737
|
A.hasOwnProperty(_) || (F[_] = z[_]);
|
|
738
738
|
}
|
|
739
739
|
var J = M[g];
|
|
740
|
-
return M[g] = F, u.languages.DFS(u.languages, function(Q,
|
|
741
|
-
|
|
740
|
+
return M[g] = F, u.languages.DFS(u.languages, function(Q, re) {
|
|
741
|
+
re === J && Q != g && (this[Q] = F);
|
|
742
742
|
}), F;
|
|
743
743
|
},
|
|
744
744
|
// Traverse a language definition with Depth First Search
|
|
@@ -833,8 +833,8 @@ var _a = { exports: {} };
|
|
|
833
833
|
grammar: z,
|
|
834
834
|
code: _
|
|
835
835
|
};
|
|
836
|
-
function J(
|
|
837
|
-
q.highlightedCode =
|
|
836
|
+
function J(re) {
|
|
837
|
+
q.highlightedCode = re, u.hooks.run("before-insert", q), q.element.innerHTML = q.highlightedCode, u.hooks.run("after-highlight", q), u.hooks.run("complete", q), A && A.call(q.element);
|
|
838
838
|
}
|
|
839
839
|
if (u.hooks.run("before-sanity-check", q), F = q.element.parentElement, F && F.nodeName.toLowerCase() === "pre" && !F.hasAttribute("tabindex") && F.setAttribute("tabindex", "0"), !q.code) {
|
|
840
840
|
u.hooks.run("complete", q), A && A.call(q.element);
|
|
@@ -846,8 +846,8 @@ var _a = { exports: {} };
|
|
|
846
846
|
}
|
|
847
847
|
if (x && a.Worker) {
|
|
848
848
|
var Q = new Worker(u.filename);
|
|
849
|
-
Q.onmessage = function(
|
|
850
|
-
J(
|
|
849
|
+
Q.onmessage = function(re) {
|
|
850
|
+
J(re.data);
|
|
851
851
|
}, Q.postMessage(JSON.stringify({
|
|
852
852
|
language: q.language,
|
|
853
853
|
code: q.code,
|
|
@@ -1005,7 +1005,7 @@ var _a = { exports: {} };
|
|
|
1005
1005
|
for (var J = 0; J < q.length; ++J) {
|
|
1006
1006
|
if (F && F.cause == _ + "," + J)
|
|
1007
1007
|
return;
|
|
1008
|
-
var Q = q[J],
|
|
1008
|
+
var Q = q[J], re = Q.inside, Pe = !!Q.lookbehind, fe = !!Q.greedy, ze = Q.alias;
|
|
1009
1009
|
if (fe && !Q.pattern.global) {
|
|
1010
1010
|
var je = Q.pattern.toString().match(/[imsuy]*$/)[0];
|
|
1011
1011
|
Q.pattern = RegExp(Q.pattern.source, je + "g");
|
|
@@ -1015,7 +1015,7 @@ var _a = { exports: {} };
|
|
|
1015
1015
|
if (x.length > g.length)
|
|
1016
1016
|
return;
|
|
1017
1017
|
if (!(ve instanceof h)) {
|
|
1018
|
-
var
|
|
1018
|
+
var Te = 1, se;
|
|
1019
1019
|
if (fe) {
|
|
1020
1020
|
if (se = m(Je, xe, g, Pe), !se || se.index >= g.length)
|
|
1021
1021
|
break;
|
|
@@ -1025,21 +1025,21 @@ var _a = { exports: {} };
|
|
|
1025
1025
|
if (De -= oe.value.length, xe = De, oe.value instanceof h)
|
|
1026
1026
|
continue;
|
|
1027
1027
|
for (var Ie = oe; Ie !== x.tail && (De < S0 || typeof Ie.value == "string"); Ie = Ie.next)
|
|
1028
|
-
|
|
1029
|
-
|
|
1028
|
+
Te++, De += Ie.value.length;
|
|
1029
|
+
Te--, ve = g.slice(xe, De), se.index -= xe;
|
|
1030
1030
|
} else if (se = m(Je, 0, ve, Pe), !se)
|
|
1031
1031
|
continue;
|
|
1032
|
-
var M0 = se.index,
|
|
1032
|
+
var M0 = se.index, _e = se[0], Ge = ve.slice(0, M0), A0 = ve.slice(M0 + _e.length), h0 = xe + ve.length;
|
|
1033
1033
|
F && h0 > F.reach && (F.reach = h0);
|
|
1034
|
-
var
|
|
1035
|
-
Ge && (
|
|
1036
|
-
var _t = new h(_,
|
|
1037
|
-
if (oe = w(x,
|
|
1038
|
-
var
|
|
1034
|
+
var q0 = oe.prev;
|
|
1035
|
+
Ge && (q0 = w(x, q0, Ge), xe += Ge.length), S(x, q0, Te);
|
|
1036
|
+
var _t = new h(_, re ? u.tokenize(_e, re) : _e, ze, _e);
|
|
1037
|
+
if (oe = w(x, q0, _t), A0 && w(x, oe, A0), Te > 1) {
|
|
1038
|
+
var Y0 = {
|
|
1039
1039
|
cause: _ + "," + J,
|
|
1040
1040
|
reach: h0
|
|
1041
1041
|
};
|
|
1042
|
-
v(g, x, A, oe.prev, xe,
|
|
1042
|
+
v(g, x, A, oe.prev, xe, Y0), F && Y0.reach > F.reach && (F.reach = Y0.reach);
|
|
1043
1043
|
}
|
|
1044
1044
|
}
|
|
1045
1045
|
}
|
|
@@ -1537,8 +1537,8 @@ var _a = { exports: {} };
|
|
|
1537
1537
|
E || (console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."), E = !0), t.plugins.fileHighlight.highlight.apply(this, arguments);
|
|
1538
1538
|
};
|
|
1539
1539
|
}();
|
|
1540
|
-
})(
|
|
1541
|
-
var Ni =
|
|
1540
|
+
})($a);
|
|
1541
|
+
var Ni = $a.exports;
|
|
1542
1542
|
const Ur = /* @__PURE__ */ Fi(Ni);
|
|
1543
1543
|
(function() {
|
|
1544
1544
|
if (typeof Prism > "u" || typeof document > "u")
|
|
@@ -1917,7 +1917,7 @@ const qi = /* @__PURE__ */ X({
|
|
|
1917
1917
|
language: { default: "txt" }
|
|
1918
1918
|
},
|
|
1919
1919
|
setup(r) {
|
|
1920
|
-
const e = r, t =
|
|
1920
|
+
const e = r, t = W(null), a = () => {
|
|
1921
1921
|
Ur.plugins.autoloader.languages_path = "https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/", t.value && Ur.highlightElement(t.value);
|
|
1922
1922
|
};
|
|
1923
1923
|
return it(a), Ra(a), (n, i) => (O(), $("pre", {
|
|
@@ -1925,8 +1925,8 @@ const qi = /* @__PURE__ */ X({
|
|
|
1925
1925
|
key: JSON.stringify(e)
|
|
1926
1926
|
}, [
|
|
1927
1927
|
i[0] || (i[0] = et(" ")),
|
|
1928
|
-
|
|
1929
|
-
class:
|
|
1928
|
+
P("code", {
|
|
1929
|
+
class: E0(["code", `language-${n.language}`]),
|
|
1930
1930
|
ref_key: "codeRef",
|
|
1931
1931
|
ref: t
|
|
1932
1932
|
}, $e(n.code.trim()), 3),
|
|
@@ -1934,16 +1934,16 @@ const qi = /* @__PURE__ */ X({
|
|
|
1934
1934
|
`))
|
|
1935
1935
|
]));
|
|
1936
1936
|
}
|
|
1937
|
-
}), Ri = /* @__PURE__ */
|
|
1938
|
-
function
|
|
1939
|
-
return
|
|
1937
|
+
}), Ri = /* @__PURE__ */ te(qi, [["__scopeId", "data-v-53902dd5"]]);
|
|
1938
|
+
function P0(r) {
|
|
1939
|
+
return oi() ? (ui(r), !0) : !1;
|
|
1940
1940
|
}
|
|
1941
1941
|
function o0(r) {
|
|
1942
1942
|
return typeof r == "function" ? r() : Z(r);
|
|
1943
1943
|
}
|
|
1944
1944
|
const xr = typeof window < "u" && typeof document < "u";
|
|
1945
1945
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
1946
|
-
const
|
|
1946
|
+
const Pa = (r) => r != null, Oi = Object.prototype.toString, Hi = (r) => Oi.call(r) === "[object Object]", kt = () => {
|
|
1947
1947
|
};
|
|
1948
1948
|
function _i(r) {
|
|
1949
1949
|
let e;
|
|
@@ -1958,13 +1958,13 @@ function _i(r) {
|
|
|
1958
1958
|
function Li(r) {
|
|
1959
1959
|
return Oa();
|
|
1960
1960
|
}
|
|
1961
|
-
function
|
|
1962
|
-
Li() ? it(r, t) : e ? r() :
|
|
1961
|
+
function ja(r, e = !0, t) {
|
|
1962
|
+
Li() ? it(r, t) : e ? r() : ci(r);
|
|
1963
1963
|
}
|
|
1964
1964
|
function $i(r, e, t = {}) {
|
|
1965
1965
|
const {
|
|
1966
1966
|
immediate: a = !0
|
|
1967
|
-
} = t, n =
|
|
1967
|
+
} = t, n = W(!1);
|
|
1968
1968
|
let i = null;
|
|
1969
1969
|
function o() {
|
|
1970
1970
|
i && (clearTimeout(i), i = null);
|
|
@@ -1977,26 +1977,26 @@ function $i(r, e, t = {}) {
|
|
|
1977
1977
|
n.value = !1, i = null, r(...m);
|
|
1978
1978
|
}, o0(e));
|
|
1979
1979
|
}
|
|
1980
|
-
return a && (n.value = !0, xr && h()),
|
|
1981
|
-
isPending:
|
|
1980
|
+
return a && (n.value = !0, xr && h()), P0(u), {
|
|
1981
|
+
isPending: hi(n),
|
|
1982
1982
|
start: h,
|
|
1983
1983
|
stop: u
|
|
1984
1984
|
};
|
|
1985
1985
|
}
|
|
1986
|
-
const y0 = xr ? window : void 0,
|
|
1986
|
+
const y0 = xr ? window : void 0, Ga = xr ? window.navigator : void 0;
|
|
1987
1987
|
function t0(r) {
|
|
1988
1988
|
var e;
|
|
1989
1989
|
const t = o0(r);
|
|
1990
1990
|
return (e = t == null ? void 0 : t.$el) != null ? e : t;
|
|
1991
1991
|
}
|
|
1992
|
-
function
|
|
1992
|
+
function D0(...r) {
|
|
1993
1993
|
let e, t, a, n;
|
|
1994
1994
|
if (typeof r[0] == "string" || Array.isArray(r[0]) ? ([t, a, n] = r, e = y0) : [e, t, a, n] = r, !e)
|
|
1995
1995
|
return kt;
|
|
1996
1996
|
Array.isArray(t) || (t = [t]), Array.isArray(a) || (a = [a]);
|
|
1997
1997
|
const i = [], o = () => {
|
|
1998
1998
|
i.forEach((v) => v()), i.length = 0;
|
|
1999
|
-
}, u = (v, b, w, S) => (v.addEventListener(b, w, S), () => v.removeEventListener(b, w, S)), h =
|
|
1999
|
+
}, u = (v, b, w, S) => (v.addEventListener(b, w, S), () => v.removeEventListener(b, w, S)), h = I0(
|
|
2000
2000
|
() => [t0(e), o0(n)],
|
|
2001
2001
|
([v, b]) => {
|
|
2002
2002
|
if (o(), !v)
|
|
@@ -2010,7 +2010,7 @@ function B0(...r) {
|
|
|
2010
2010
|
), m = () => {
|
|
2011
2011
|
h(), o();
|
|
2012
2012
|
};
|
|
2013
|
-
return
|
|
2013
|
+
return P0(m), m;
|
|
2014
2014
|
}
|
|
2015
2015
|
function Pi(r) {
|
|
2016
2016
|
return typeof r == "function" ? r : typeof r == "string" ? (e) => e.key === r : Array.isArray(r) ? (e) => r.includes(e.key) : () => !0;
|
|
@@ -2024,29 +2024,29 @@ function ji(...r) {
|
|
|
2024
2024
|
passive: o = !1,
|
|
2025
2025
|
dedupe: u = !1
|
|
2026
2026
|
} = a, h = Pi(e);
|
|
2027
|
-
return
|
|
2027
|
+
return D0(n, i, (v) => {
|
|
2028
2028
|
v.repeat && o0(u) || h(v) && t(v);
|
|
2029
2029
|
}, o);
|
|
2030
2030
|
}
|
|
2031
2031
|
function Gi() {
|
|
2032
|
-
const r =
|
|
2032
|
+
const r = W(!1), e = Oa();
|
|
2033
2033
|
return e && it(() => {
|
|
2034
2034
|
r.value = !0;
|
|
2035
2035
|
}, e), r;
|
|
2036
2036
|
}
|
|
2037
|
-
function
|
|
2037
|
+
function j0(r) {
|
|
2038
2038
|
const e = Gi();
|
|
2039
2039
|
return f0(() => (e.value, !!r()));
|
|
2040
2040
|
}
|
|
2041
2041
|
function Vi(r, e, t = {}) {
|
|
2042
2042
|
const { window: a = y0, ...n } = t;
|
|
2043
2043
|
let i;
|
|
2044
|
-
const o =
|
|
2044
|
+
const o = j0(() => a && "MutationObserver" in a), u = () => {
|
|
2045
2045
|
i && (i.disconnect(), i = void 0);
|
|
2046
2046
|
}, h = f0(() => {
|
|
2047
|
-
const w = o0(r), S = (Array.isArray(w) ? w : [w]).map(t0).filter(
|
|
2047
|
+
const w = o0(r), S = (Array.isArray(w) ? w : [w]).map(t0).filter(Pa);
|
|
2048
2048
|
return new Set(S);
|
|
2049
|
-
}), m =
|
|
2049
|
+
}), m = I0(
|
|
2050
2050
|
() => h.value,
|
|
2051
2051
|
(w) => {
|
|
2052
2052
|
u(), o.value && w.size && (i = new MutationObserver(e), w.forEach((S) => i.observe(S, n)));
|
|
@@ -2055,35 +2055,35 @@ function Vi(r, e, t = {}) {
|
|
|
2055
2055
|
), v = () => i == null ? void 0 : i.takeRecords(), b = () => {
|
|
2056
2056
|
m(), u();
|
|
2057
2057
|
};
|
|
2058
|
-
return
|
|
2058
|
+
return P0(b), {
|
|
2059
2059
|
isSupported: o,
|
|
2060
2060
|
stop: b,
|
|
2061
2061
|
takeRecords: v
|
|
2062
2062
|
};
|
|
2063
2063
|
}
|
|
2064
2064
|
function Ui(r, e = {}) {
|
|
2065
|
-
const { window: t = y0 } = e, a =
|
|
2065
|
+
const { window: t = y0 } = e, a = j0(() => t && "matchMedia" in t && typeof t.matchMedia == "function");
|
|
2066
2066
|
let n;
|
|
2067
|
-
const i =
|
|
2067
|
+
const i = W(!1), o = (m) => {
|
|
2068
2068
|
i.value = m.matches;
|
|
2069
2069
|
}, u = () => {
|
|
2070
2070
|
n && ("removeEventListener" in n ? n.removeEventListener("change", o) : n.removeListener(o));
|
|
2071
2071
|
}, h = Ha(() => {
|
|
2072
2072
|
a.value && (u(), n = t.matchMedia(o0(r)), "addEventListener" in n ? n.addEventListener("change", o) : n.addListener(o), i.value = n.matches);
|
|
2073
2073
|
});
|
|
2074
|
-
return
|
|
2074
|
+
return P0(() => {
|
|
2075
2075
|
h(), u(), n = void 0;
|
|
2076
2076
|
}), i;
|
|
2077
2077
|
}
|
|
2078
2078
|
function Wr(r, e = {}) {
|
|
2079
2079
|
const {
|
|
2080
2080
|
controls: t = !1,
|
|
2081
|
-
navigator: a =
|
|
2082
|
-
} = e, n =
|
|
2081
|
+
navigator: a = Ga
|
|
2082
|
+
} = e, n = j0(() => a && "permissions" in a), i = jr(), o = typeof r == "string" ? { name: r } : r, u = jr(), h = () => {
|
|
2083
2083
|
var v, b;
|
|
2084
2084
|
u.value = (b = (v = i.value) == null ? void 0 : v.state) != null ? b : "prompt";
|
|
2085
2085
|
};
|
|
2086
|
-
|
|
2086
|
+
D0(i, "change", h);
|
|
2087
2087
|
const m = _i(async () => {
|
|
2088
2088
|
if (n.value) {
|
|
2089
2089
|
if (!i.value)
|
|
@@ -2095,7 +2095,7 @@ function Wr(r, e = {}) {
|
|
|
2095
2095
|
h();
|
|
2096
2096
|
}
|
|
2097
2097
|
if (t)
|
|
2098
|
-
return
|
|
2098
|
+
return di(i.value);
|
|
2099
2099
|
}
|
|
2100
2100
|
});
|
|
2101
2101
|
return m(), t ? {
|
|
@@ -2106,18 +2106,18 @@ function Wr(r, e = {}) {
|
|
|
2106
2106
|
}
|
|
2107
2107
|
function Wi(r = {}) {
|
|
2108
2108
|
const {
|
|
2109
|
-
navigator: e =
|
|
2109
|
+
navigator: e = Ga,
|
|
2110
2110
|
read: t = !1,
|
|
2111
2111
|
source: a,
|
|
2112
2112
|
copiedDuring: n = 1500,
|
|
2113
2113
|
legacy: i = !1
|
|
2114
|
-
} = r, o =
|
|
2114
|
+
} = r, o = j0(() => e && "clipboard" in e), u = Wr("clipboard-read"), h = Wr("clipboard-write"), m = f0(() => o.value || i), v = W(""), b = W(!1), w = $i(() => b.value = !1, n);
|
|
2115
2115
|
function S() {
|
|
2116
2116
|
o.value && B(u.value) ? e.clipboard.readText().then((g) => {
|
|
2117
2117
|
v.value = g;
|
|
2118
2118
|
}) : v.value = C();
|
|
2119
2119
|
}
|
|
2120
|
-
m.value && t &&
|
|
2120
|
+
m.value && t && D0(["copy", "cut"], S);
|
|
2121
2121
|
async function E(g = o0(a)) {
|
|
2122
2122
|
m.value && g != null && (o.value && B(h.value) ? await e.clipboard.writeText(g) : T(g), v.value = g, b.value = !0, w.start());
|
|
2123
2123
|
}
|
|
@@ -2142,12 +2142,12 @@ function Wi(r = {}) {
|
|
|
2142
2142
|
function Yi(r, e, t = {}) {
|
|
2143
2143
|
const { window: a = y0, ...n } = t;
|
|
2144
2144
|
let i;
|
|
2145
|
-
const o =
|
|
2145
|
+
const o = j0(() => a && "ResizeObserver" in a), u = () => {
|
|
2146
2146
|
i && (i.disconnect(), i = void 0);
|
|
2147
2147
|
}, h = f0(() => {
|
|
2148
2148
|
const b = o0(r);
|
|
2149
2149
|
return Array.isArray(b) ? b.map((w) => t0(w)) : [t0(b)];
|
|
2150
|
-
}), m =
|
|
2150
|
+
}), m = I0(
|
|
2151
2151
|
h,
|
|
2152
2152
|
(b) => {
|
|
2153
2153
|
if (u(), o.value && a) {
|
|
@@ -2160,7 +2160,7 @@ function Yi(r, e, t = {}) {
|
|
|
2160
2160
|
), v = () => {
|
|
2161
2161
|
u(), m();
|
|
2162
2162
|
};
|
|
2163
|
-
return
|
|
2163
|
+
return P0(v), {
|
|
2164
2164
|
isSupported: o,
|
|
2165
2165
|
stop: v
|
|
2166
2166
|
};
|
|
@@ -2172,7 +2172,7 @@ function Zi(r, e = {}) {
|
|
|
2172
2172
|
windowScroll: n = !0,
|
|
2173
2173
|
immediate: i = !0,
|
|
2174
2174
|
updateTiming: o = "sync"
|
|
2175
|
-
} = e, u =
|
|
2175
|
+
} = e, u = W(0), h = W(0), m = W(0), v = W(0), b = W(0), w = W(0), S = W(0), E = W(0);
|
|
2176
2176
|
function T() {
|
|
2177
2177
|
const B = t0(r);
|
|
2178
2178
|
if (!B) {
|
|
@@ -2185,9 +2185,9 @@ function Zi(r, e = {}) {
|
|
|
2185
2185
|
function C() {
|
|
2186
2186
|
o === "sync" ? T() : o === "next-frame" && requestAnimationFrame(() => T());
|
|
2187
2187
|
}
|
|
2188
|
-
return Yi(r, C),
|
|
2188
|
+
return Yi(r, C), I0(() => t0(r), (B) => !B && C()), Vi(r, C, {
|
|
2189
2189
|
attributeFilter: ["style", "class"]
|
|
2190
|
-
}), n &&
|
|
2190
|
+
}), n && D0("scroll", C, { capture: !0, passive: !0 }), a && D0("resize", C, { passive: !0 }), ja(() => {
|
|
2191
2191
|
i && C();
|
|
2192
2192
|
}), {
|
|
2193
2193
|
height: u,
|
|
@@ -2208,12 +2208,12 @@ function u0(r, e, t = {}) {
|
|
|
2208
2208
|
threshold: i = 0,
|
|
2209
2209
|
window: o = y0,
|
|
2210
2210
|
immediate: u = !0
|
|
2211
|
-
} = t, h =
|
|
2211
|
+
} = t, h = j0(() => o && "IntersectionObserver" in o), m = f0(() => {
|
|
2212
2212
|
const E = o0(r);
|
|
2213
|
-
return (Array.isArray(E) ? E : [E]).map(t0).filter(
|
|
2213
|
+
return (Array.isArray(E) ? E : [E]).map(t0).filter(Pa);
|
|
2214
2214
|
});
|
|
2215
2215
|
let v = kt;
|
|
2216
|
-
const b =
|
|
2216
|
+
const b = W(u), w = h.value ? I0(
|
|
2217
2217
|
() => [m.value, t0(a), b.value],
|
|
2218
2218
|
([E, T]) => {
|
|
2219
2219
|
if (v(), !b.value || !E.length)
|
|
@@ -2234,7 +2234,7 @@ function u0(r, e, t = {}) {
|
|
|
2234
2234
|
) : kt, S = () => {
|
|
2235
2235
|
v(), w(), b.value = !1;
|
|
2236
2236
|
};
|
|
2237
|
-
return
|
|
2237
|
+
return P0(S), {
|
|
2238
2238
|
isSupported: h,
|
|
2239
2239
|
isActive: b,
|
|
2240
2240
|
pause() {
|
|
@@ -2250,10 +2250,10 @@ function Xi(r = {}) {
|
|
|
2250
2250
|
const { window: e = y0, behavior: t = "auto" } = r;
|
|
2251
2251
|
if (!e)
|
|
2252
2252
|
return {
|
|
2253
|
-
x:
|
|
2254
|
-
y:
|
|
2253
|
+
x: W(0),
|
|
2254
|
+
y: W(0)
|
|
2255
2255
|
};
|
|
2256
|
-
const a =
|
|
2256
|
+
const a = W(e.scrollX), n = W(e.scrollY), i = f0({
|
|
2257
2257
|
get() {
|
|
2258
2258
|
return a.value;
|
|
2259
2259
|
},
|
|
@@ -2268,7 +2268,7 @@ function Xi(r = {}) {
|
|
|
2268
2268
|
scrollTo({ top: u, behavior: t });
|
|
2269
2269
|
}
|
|
2270
2270
|
});
|
|
2271
|
-
return
|
|
2271
|
+
return D0(
|
|
2272
2272
|
e,
|
|
2273
2273
|
"scroll",
|
|
2274
2274
|
() => {
|
|
@@ -2288,21 +2288,21 @@ function Ki(r = {}) {
|
|
|
2288
2288
|
listenOrientation: n = !0,
|
|
2289
2289
|
includeScrollbar: i = !0,
|
|
2290
2290
|
type: o = "inner"
|
|
2291
|
-
} = r, u =
|
|
2291
|
+
} = r, u = W(t), h = W(a), m = () => {
|
|
2292
2292
|
e && (o === "outer" ? (u.value = e.outerWidth, h.value = e.outerHeight) : i ? (u.value = e.innerWidth, h.value = e.innerHeight) : (u.value = e.document.documentElement.clientWidth, h.value = e.document.documentElement.clientHeight));
|
|
2293
2293
|
};
|
|
2294
|
-
if (m(),
|
|
2294
|
+
if (m(), ja(m), D0("resize", m, { passive: !0 }), n) {
|
|
2295
2295
|
const v = Ui("(orientation: portrait)");
|
|
2296
|
-
|
|
2296
|
+
I0(v, () => m());
|
|
2297
2297
|
}
|
|
2298
2298
|
return { width: u, height: h };
|
|
2299
2299
|
}
|
|
2300
2300
|
const Ji = /* @__PURE__ */ X({
|
|
2301
2301
|
__name: "ElmTooltip",
|
|
2302
2302
|
setup(r) {
|
|
2303
|
-
const e =
|
|
2303
|
+
const e = W(null), { x: t, y: a, width: n, height: i } = Zi(e), o = Ki(), u = W(!1);
|
|
2304
2304
|
return (h, m) => (O(), $(n0, null, [
|
|
2305
|
-
|
|
2305
|
+
P("span", {
|
|
2306
2306
|
ref_key: "el",
|
|
2307
2307
|
ref: e,
|
|
2308
2308
|
class: "original",
|
|
@@ -2313,10 +2313,10 @@ const Ji = /* @__PURE__ */ X({
|
|
|
2313
2313
|
u.value = !1;
|
|
2314
2314
|
})
|
|
2315
2315
|
}, [
|
|
2316
|
-
|
|
2316
|
+
Se(h.$slots, "original", {}, void 0, !0)
|
|
2317
2317
|
], 544),
|
|
2318
|
-
|
|
2319
|
-
default:
|
|
2318
|
+
ae(yr, null, {
|
|
2319
|
+
default: B0(() => [
|
|
2320
2320
|
u.value ? (O(), $("div", {
|
|
2321
2321
|
key: 0,
|
|
2322
2322
|
class: "tooltip",
|
|
@@ -2330,14 +2330,14 @@ const Ji = /* @__PURE__ */ X({
|
|
|
2330
2330
|
}
|
|
2331
2331
|
)
|
|
2332
2332
|
}, [
|
|
2333
|
-
|
|
2334
|
-
], 4)) :
|
|
2333
|
+
Se(h.$slots, "tooltip", {}, void 0, !0)
|
|
2334
|
+
], 4)) : Ne("", !0)
|
|
2335
2335
|
]),
|
|
2336
2336
|
_: 3
|
|
2337
2337
|
})
|
|
2338
2338
|
], 64));
|
|
2339
2339
|
}
|
|
2340
|
-
}), Qi = /* @__PURE__ */
|
|
2340
|
+
}), Qi = /* @__PURE__ */ te(Ji, [["__scopeId", "data-v-4ae9bf7b"]]), es = { class: "wrapper" }, ts = { class: "header" }, rs = { class: "header__left" }, as = { class: "code" }, ns = /* @__PURE__ */ X({
|
|
2341
2341
|
__name: "ElmCodeBlock",
|
|
2342
2342
|
props: {
|
|
2343
2343
|
code: {},
|
|
@@ -2347,28 +2347,28 @@ const Ji = /* @__PURE__ */ X({
|
|
|
2347
2347
|
setup(r) {
|
|
2348
2348
|
const e = r, { copy: t, copied: a } = Wi({ source: e.code });
|
|
2349
2349
|
return (n, i) => (O(), $("div", es, [
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2350
|
+
P("div", ts, [
|
|
2351
|
+
P("div", rs, [
|
|
2352
|
+
ae(Di, {
|
|
2353
2353
|
language: n.language,
|
|
2354
2354
|
size: 20
|
|
2355
2355
|
}, null, 8, ["language"]),
|
|
2356
|
-
|
|
2356
|
+
ae(ke, {
|
|
2357
2357
|
text: n.caption ?? n.language
|
|
2358
2358
|
}, null, 8, ["text"])
|
|
2359
2359
|
]),
|
|
2360
|
-
|
|
2361
|
-
original:
|
|
2362
|
-
(O(), Ye(
|
|
2360
|
+
ae(Qi, null, {
|
|
2361
|
+
original: B0(() => [
|
|
2362
|
+
(O(), Ye(F0(Z(a) ? Z(bi) : Z(yi)), {
|
|
2363
2363
|
class: "copy-icon",
|
|
2364
2364
|
onClick: i[0] || (i[0] = () => {
|
|
2365
2365
|
Z(t)(n.code);
|
|
2366
2366
|
})
|
|
2367
2367
|
}))
|
|
2368
2368
|
]),
|
|
2369
|
-
tooltip:
|
|
2370
|
-
|
|
2371
|
-
|
|
2369
|
+
tooltip: B0(() => [
|
|
2370
|
+
P("div", null, [
|
|
2371
|
+
ae(ke, {
|
|
2372
2372
|
text: Z(a) ? "Copied to Clipboard!" : "Copy to Clipboard"
|
|
2373
2373
|
}, null, 8, ["text"])
|
|
2374
2374
|
])
|
|
@@ -2376,16 +2376,16 @@ const Ji = /* @__PURE__ */ X({
|
|
|
2376
2376
|
_: 1
|
|
2377
2377
|
})
|
|
2378
2378
|
]),
|
|
2379
|
-
|
|
2380
|
-
|
|
2379
|
+
P("div", as, [
|
|
2380
|
+
ae(Ri, {
|
|
2381
2381
|
code: n.code,
|
|
2382
2382
|
language: n.language
|
|
2383
2383
|
}, null, 8, ["code", "language"])
|
|
2384
2384
|
])
|
|
2385
2385
|
]));
|
|
2386
2386
|
}
|
|
2387
|
-
}), is = /* @__PURE__ */
|
|
2388
|
-
class
|
|
2387
|
+
}), is = /* @__PURE__ */ te(ns, [["__scopeId", "data-v-88149f2b"]]);
|
|
2388
|
+
class Ce {
|
|
2389
2389
|
// The + prefix indicates that these fields aren't writeable
|
|
2390
2390
|
// Lexer holding the input string.
|
|
2391
2391
|
// Start offset, zero-based inclusive.
|
|
@@ -2402,10 +2402,10 @@ class Te {
|
|
|
2402
2402
|
* - Otherwise, returns null.
|
|
2403
2403
|
*/
|
|
2404
2404
|
static range(e, t) {
|
|
2405
|
-
return t ? !e || !e.loc || !t.loc || e.loc.lexer !== t.loc.lexer ? null : new
|
|
2405
|
+
return t ? !e || !e.loc || !t.loc || e.loc.lexer !== t.loc.lexer ? null : new Ce(e.loc.lexer, e.loc.start, t.loc.end) : e && e.loc;
|
|
2406
2406
|
}
|
|
2407
2407
|
}
|
|
2408
|
-
class
|
|
2408
|
+
class Re {
|
|
2409
2409
|
// don't expand the token
|
|
2410
2410
|
// used in \noexpand
|
|
2411
2411
|
constructor(e, t) {
|
|
@@ -2416,7 +2416,7 @@ class qe {
|
|
|
2416
2416
|
* the whole input range enclosed by these two.
|
|
2417
2417
|
*/
|
|
2418
2418
|
range(e, t) {
|
|
2419
|
-
return new
|
|
2419
|
+
return new Re(t, Ce.range(this, e));
|
|
2420
2420
|
}
|
|
2421
2421
|
}
|
|
2422
2422
|
class N {
|
|
@@ -2455,10 +2455,10 @@ var ss = function(e, t) {
|
|
|
2455
2455
|
function ds(r) {
|
|
2456
2456
|
return String(r).replace(hs, (e) => cs[e]);
|
|
2457
2457
|
}
|
|
2458
|
-
var
|
|
2458
|
+
var Va = function r(e) {
|
|
2459
2459
|
return e.type === "ordgroup" || e.type === "color" ? e.body.length === 1 ? r(e.body[0]) : e : e.type === "font" ? r(e.body) : e;
|
|
2460
2460
|
}, ms = function(e) {
|
|
2461
|
-
var t =
|
|
2461
|
+
var t = Va(e);
|
|
2462
2462
|
return t.type === "mathord" || t.type === "textord" || t.type === "atom";
|
|
2463
2463
|
}, ps = function(e) {
|
|
2464
2464
|
if (!e)
|
|
@@ -2467,12 +2467,12 @@ var ja = function r(e) {
|
|
|
2467
2467
|
}, fs = function(e) {
|
|
2468
2468
|
var t = /^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);
|
|
2469
2469
|
return t ? t[2] !== ":" || !/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1]) ? null : t[1].toLowerCase() : "_relative";
|
|
2470
|
-
},
|
|
2470
|
+
}, j = {
|
|
2471
2471
|
contains: ss,
|
|
2472
2472
|
deflt: ls,
|
|
2473
2473
|
escape: ds,
|
|
2474
2474
|
hyphenate: us,
|
|
2475
|
-
getBaseElem:
|
|
2475
|
+
getBaseElem: Va,
|
|
2476
2476
|
isCharacterBox: ms,
|
|
2477
2477
|
protocolFromUrl: fs
|
|
2478
2478
|
}, St = {
|
|
@@ -2628,7 +2628,7 @@ class wr {
|
|
|
2628
2628
|
*/
|
|
2629
2629
|
isTrusted(e) {
|
|
2630
2630
|
if (e.url && !e.protocol) {
|
|
2631
|
-
var t =
|
|
2631
|
+
var t = j.protocolFromUrl(e.url);
|
|
2632
2632
|
if (t == null)
|
|
2633
2633
|
return !1;
|
|
2634
2634
|
e.protocol = t;
|
|
@@ -2687,11 +2687,11 @@ class d0 {
|
|
|
2687
2687
|
return this.size >= 2;
|
|
2688
2688
|
}
|
|
2689
2689
|
}
|
|
2690
|
-
var kr = 0, zt = 1,
|
|
2690
|
+
var kr = 0, zt = 1, H0 = 2, r0 = 3, tt = 4, qe = 5, _0 = 6, be = 7, Ve = [new d0(kr, 0, !1), new d0(zt, 0, !0), new d0(H0, 1, !1), new d0(r0, 1, !0), new d0(tt, 2, !1), new d0(qe, 2, !0), new d0(_0, 3, !1), new d0(be, 3, !0)], gs = [tt, qe, tt, qe, _0, be, _0, be], bs = [qe, qe, qe, qe, be, be, be, be], ys = [H0, r0, tt, qe, _0, be, _0, be], xs = [r0, r0, qe, qe, be, be, be, be], ws = [zt, zt, r0, r0, qe, qe, be, be], ks = [kr, zt, H0, r0, H0, r0, H0, r0], V = {
|
|
2691
2691
|
DISPLAY: Ve[kr],
|
|
2692
|
-
TEXT: Ve[
|
|
2692
|
+
TEXT: Ve[H0],
|
|
2693
2693
|
SCRIPT: Ve[tt],
|
|
2694
|
-
SCRIPTSCRIPT: Ve[
|
|
2694
|
+
SCRIPTSCRIPT: Ve[_0]
|
|
2695
2695
|
}, ir = [{
|
|
2696
2696
|
// Latin characters beyond the Latin-1 characters we have metrics for.
|
|
2697
2697
|
// Needed for Czech, Hungarian and Turkish text, for example.
|
|
@@ -2762,13 +2762,13 @@ function Ss(r) {
|
|
|
2762
2762
|
}
|
|
2763
2763
|
var Mt = [];
|
|
2764
2764
|
ir.forEach((r) => r.blocks.forEach((e) => Mt.push(...e)));
|
|
2765
|
-
function
|
|
2765
|
+
function Ua(r) {
|
|
2766
2766
|
for (var e = 0; e < Mt.length; e += 2)
|
|
2767
2767
|
if (r >= Mt[e] && r <= Mt[e + 1])
|
|
2768
2768
|
return !0;
|
|
2769
2769
|
return !1;
|
|
2770
2770
|
}
|
|
2771
|
-
var
|
|
2771
|
+
var R0 = 80, Ms = function(e, t) {
|
|
2772
2772
|
return "M95," + (622 + e + t) + `
|
|
2773
2773
|
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
|
|
2774
2774
|
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
|
|
@@ -2840,22 +2840,22 @@ c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
|
|
|
2840
2840
|
var n = "";
|
|
2841
2841
|
switch (e) {
|
|
2842
2842
|
case "sqrtMain":
|
|
2843
|
-
n = Ms(t,
|
|
2843
|
+
n = Ms(t, R0);
|
|
2844
2844
|
break;
|
|
2845
2845
|
case "sqrtSize1":
|
|
2846
|
-
n = As(t,
|
|
2846
|
+
n = As(t, R0);
|
|
2847
2847
|
break;
|
|
2848
2848
|
case "sqrtSize2":
|
|
2849
|
-
n = zs(t,
|
|
2849
|
+
n = zs(t, R0);
|
|
2850
2850
|
break;
|
|
2851
2851
|
case "sqrtSize3":
|
|
2852
|
-
n = Ts(t,
|
|
2852
|
+
n = Ts(t, R0);
|
|
2853
2853
|
break;
|
|
2854
2854
|
case "sqrtSize4":
|
|
2855
|
-
n = Cs(t,
|
|
2855
|
+
n = Cs(t, R0);
|
|
2856
2856
|
break;
|
|
2857
2857
|
case "sqrtTall":
|
|
2858
|
-
n = Bs(t,
|
|
2858
|
+
n = Bs(t, R0, a);
|
|
2859
2859
|
}
|
|
2860
2860
|
return n;
|
|
2861
2861
|
}, Is = function(e, t) {
|
|
@@ -3194,7 +3194,7 @@ class st {
|
|
|
3194
3194
|
this.children = void 0, this.classes = void 0, this.height = void 0, this.depth = void 0, this.maxFontSize = void 0, this.style = void 0, this.children = e, this.classes = [], this.height = 0, this.depth = 0, this.maxFontSize = 0, this.style = {};
|
|
3195
3195
|
}
|
|
3196
3196
|
hasClass(e) {
|
|
3197
|
-
return
|
|
3197
|
+
return j.contains(this.classes, e);
|
|
3198
3198
|
}
|
|
3199
3199
|
/** Convert the fragment into a node. */
|
|
3200
3200
|
toNode() {
|
|
@@ -5454,7 +5454,7 @@ function Sr(r, e, t) {
|
|
|
5454
5454
|
if (!Ue[e])
|
|
5455
5455
|
throw new Error("Font metrics not found for font: " + e + ".");
|
|
5456
5456
|
var a = r.charCodeAt(0), n = Ue[e][a];
|
|
5457
|
-
if (!n && r[0] in Zr && (a = Zr[r[0]].charCodeAt(0), n = Ue[e][a]), !n && t === "text" &&
|
|
5457
|
+
if (!n && r[0] in Zr && (a = Zr[r[0]].charCodeAt(0), n = Ue[e][a]), !n && t === "text" && Ua(a) && (n = Ue[e][77]), n)
|
|
5458
5458
|
return {
|
|
5459
5459
|
depth: n[0],
|
|
5460
5460
|
height: n[1],
|
|
@@ -5725,7 +5725,7 @@ var sr = {
|
|
|
5725
5725
|
ex: !0,
|
|
5726
5726
|
em: !0,
|
|
5727
5727
|
mu: !0
|
|
5728
|
-
},
|
|
5728
|
+
}, Wa = function(e) {
|
|
5729
5729
|
return typeof e != "string" && (e = e.unit), e in sr || e in Os || e === "ex";
|
|
5730
5730
|
}, ce = function(e, t) {
|
|
5731
5731
|
var a;
|
|
@@ -5748,13 +5748,13 @@ var sr = {
|
|
|
5748
5748
|
return +e.toFixed(4) + "em";
|
|
5749
5749
|
}, v0 = function(e) {
|
|
5750
5750
|
return e.filter((t) => t).join(" ");
|
|
5751
|
-
},
|
|
5751
|
+
}, Ya = function(e, t, a) {
|
|
5752
5752
|
if (this.classes = e || [], this.attributes = {}, this.height = 0, this.depth = 0, this.maxFontSize = 0, this.style = a || {}, t) {
|
|
5753
5753
|
t.style.isTight() && this.classes.push("mtight");
|
|
5754
5754
|
var n = t.getColor();
|
|
5755
5755
|
n && (this.style.color = n);
|
|
5756
5756
|
}
|
|
5757
|
-
},
|
|
5757
|
+
}, Za = function(e) {
|
|
5758
5758
|
var t = document.createElement(e);
|
|
5759
5759
|
t.className = v0(this.classes);
|
|
5760
5760
|
for (var a in this.style)
|
|
@@ -5764,15 +5764,15 @@ var sr = {
|
|
|
5764
5764
|
for (var i = 0; i < this.children.length; i++)
|
|
5765
5765
|
t.appendChild(this.children[i].toNode());
|
|
5766
5766
|
return t;
|
|
5767
|
-
},
|
|
5767
|
+
}, Xa = function(e) {
|
|
5768
5768
|
var t = "<" + e;
|
|
5769
|
-
this.classes.length && (t += ' class="' +
|
|
5769
|
+
this.classes.length && (t += ' class="' + j.escape(v0(this.classes)) + '"');
|
|
5770
5770
|
var a = "";
|
|
5771
5771
|
for (var n in this.style)
|
|
5772
|
-
this.style.hasOwnProperty(n) && (a +=
|
|
5773
|
-
a && (t += ' style="' +
|
|
5772
|
+
this.style.hasOwnProperty(n) && (a += j.hyphenate(n) + ":" + this.style[n] + ";");
|
|
5773
|
+
a && (t += ' style="' + j.escape(a) + '"');
|
|
5774
5774
|
for (var i in this.attributes)
|
|
5775
|
-
this.attributes.hasOwnProperty(i) && (t += " " + i + '="' +
|
|
5775
|
+
this.attributes.hasOwnProperty(i) && (t += " " + i + '="' + j.escape(this.attributes[i]) + '"');
|
|
5776
5776
|
t += ">";
|
|
5777
5777
|
for (var o = 0; o < this.children.length; o++)
|
|
5778
5778
|
t += this.children[o].toMarkup();
|
|
@@ -5780,7 +5780,7 @@ var sr = {
|
|
|
5780
5780
|
};
|
|
5781
5781
|
class lt {
|
|
5782
5782
|
constructor(e, t, a, n) {
|
|
5783
|
-
this.children = void 0, this.attributes = void 0, this.classes = void 0, this.height = void 0, this.depth = void 0, this.width = void 0, this.maxFontSize = void 0, this.style = void 0,
|
|
5783
|
+
this.children = void 0, this.attributes = void 0, this.classes = void 0, this.height = void 0, this.depth = void 0, this.width = void 0, this.maxFontSize = void 0, this.style = void 0, Ya.call(this, e, a, n), this.children = t || [];
|
|
5784
5784
|
}
|
|
5785
5785
|
/**
|
|
5786
5786
|
* Sets an arbitrary attribute on the span. Warning: use this wisely. Not
|
|
@@ -5791,30 +5791,30 @@ class lt {
|
|
|
5791
5791
|
this.attributes[e] = t;
|
|
5792
5792
|
}
|
|
5793
5793
|
hasClass(e) {
|
|
5794
|
-
return
|
|
5794
|
+
return j.contains(this.classes, e);
|
|
5795
5795
|
}
|
|
5796
5796
|
toNode() {
|
|
5797
|
-
return
|
|
5797
|
+
return Za.call(this, "span");
|
|
5798
5798
|
}
|
|
5799
5799
|
toMarkup() {
|
|
5800
|
-
return
|
|
5800
|
+
return Xa.call(this, "span");
|
|
5801
5801
|
}
|
|
5802
5802
|
}
|
|
5803
5803
|
class Mr {
|
|
5804
5804
|
constructor(e, t, a, n) {
|
|
5805
|
-
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,
|
|
5805
|
+
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, Ya.call(this, t, n), this.children = a || [], this.setAttribute("href", e);
|
|
5806
5806
|
}
|
|
5807
5807
|
setAttribute(e, t) {
|
|
5808
5808
|
this.attributes[e] = t;
|
|
5809
5809
|
}
|
|
5810
5810
|
hasClass(e) {
|
|
5811
|
-
return
|
|
5811
|
+
return j.contains(this.classes, e);
|
|
5812
5812
|
}
|
|
5813
5813
|
toNode() {
|
|
5814
|
-
return
|
|
5814
|
+
return Za.call(this, "a");
|
|
5815
5815
|
}
|
|
5816
5816
|
toMarkup() {
|
|
5817
|
-
return
|
|
5817
|
+
return Xa.call(this, "a");
|
|
5818
5818
|
}
|
|
5819
5819
|
}
|
|
5820
5820
|
class Hs {
|
|
@@ -5822,7 +5822,7 @@ class Hs {
|
|
|
5822
5822
|
this.src = void 0, this.alt = void 0, this.classes = void 0, this.height = void 0, this.depth = void 0, this.maxFontSize = void 0, this.style = void 0, this.alt = t, this.src = e, this.classes = ["mord"], this.style = a;
|
|
5823
5823
|
}
|
|
5824
5824
|
hasClass(e) {
|
|
5825
|
-
return
|
|
5825
|
+
return j.contains(this.classes, e);
|
|
5826
5826
|
}
|
|
5827
5827
|
toNode() {
|
|
5828
5828
|
var e = document.createElement("img");
|
|
@@ -5832,10 +5832,10 @@ class Hs {
|
|
|
5832
5832
|
return e;
|
|
5833
5833
|
}
|
|
5834
5834
|
toMarkup() {
|
|
5835
|
-
var e = '<img src="' +
|
|
5835
|
+
var e = '<img src="' + j.escape(this.src) + '"' + (' alt="' + j.escape(this.alt) + '"'), t = "";
|
|
5836
5836
|
for (var a in this.style)
|
|
5837
|
-
this.style.hasOwnProperty(a) && (t +=
|
|
5838
|
-
return t && (e += ' style="' +
|
|
5837
|
+
this.style.hasOwnProperty(a) && (t += j.hyphenate(a) + ":" + this.style[a] + ";");
|
|
5838
|
+
return t && (e += ' style="' + j.escape(t) + '"'), e += "'/>", e;
|
|
5839
5839
|
}
|
|
5840
5840
|
}
|
|
5841
5841
|
var _s = {
|
|
@@ -5845,14 +5845,14 @@ var _s = {
|
|
|
5845
5845
|
// 'ī': '\u0131\u0304', // enable when we add Extended Latin
|
|
5846
5846
|
ì: "ı̀"
|
|
5847
5847
|
};
|
|
5848
|
-
class
|
|
5848
|
+
class Oe {
|
|
5849
5849
|
constructor(e, t, a, n, i, o, u, h) {
|
|
5850
5850
|
this.text = void 0, this.height = void 0, this.depth = void 0, this.italic = void 0, this.skew = void 0, this.width = void 0, this.maxFontSize = void 0, this.classes = void 0, this.style = void 0, this.text = e, this.height = t || 0, this.depth = a || 0, this.italic = n || 0, this.skew = i || 0, this.width = o || 0, this.classes = u || [], this.style = h || {}, this.maxFontSize = 0;
|
|
5851
5851
|
var m = Ss(this.text.charCodeAt(0));
|
|
5852
5852
|
m && this.classes.push(m + "_fallback"), /[îïíì]/.test(this.text) && (this.text = _s[this.text]);
|
|
5853
5853
|
}
|
|
5854
5854
|
hasClass(e) {
|
|
5855
|
-
return
|
|
5855
|
+
return j.contains(this.classes, e);
|
|
5856
5856
|
}
|
|
5857
5857
|
/**
|
|
5858
5858
|
* Creates a text node or span from a symbol node. Note that a span is only
|
|
@@ -5870,13 +5870,13 @@ class Re {
|
|
|
5870
5870
|
*/
|
|
5871
5871
|
toMarkup() {
|
|
5872
5872
|
var e = !1, t = "<span";
|
|
5873
|
-
this.classes.length && (e = !0, t += ' class="', t +=
|
|
5873
|
+
this.classes.length && (e = !0, t += ' class="', t += j.escape(v0(this.classes)), t += '"');
|
|
5874
5874
|
var a = "";
|
|
5875
5875
|
this.italic > 0 && (a += "margin-right:" + this.italic + "em;");
|
|
5876
5876
|
for (var n in this.style)
|
|
5877
|
-
this.style.hasOwnProperty(n) && (a +=
|
|
5878
|
-
a && (e = !0, t += ' style="' +
|
|
5879
|
-
var i =
|
|
5877
|
+
this.style.hasOwnProperty(n) && (a += j.hyphenate(n) + ":" + this.style[n] + ";");
|
|
5878
|
+
a && (e = !0, t += ' style="' + j.escape(a) + '"');
|
|
5879
|
+
var i = j.escape(this.text);
|
|
5880
5880
|
return e ? (t += ">", t += i, t += "</span>", t) : i;
|
|
5881
5881
|
}
|
|
5882
5882
|
}
|
|
@@ -5895,7 +5895,7 @@ class i0 {
|
|
|
5895
5895
|
toMarkup() {
|
|
5896
5896
|
var e = '<svg xmlns="http://www.w3.org/2000/svg"';
|
|
5897
5897
|
for (var t in this.attributes)
|
|
5898
|
-
Object.prototype.hasOwnProperty.call(this.attributes, t) && (e += " " + t + '="' +
|
|
5898
|
+
Object.prototype.hasOwnProperty.call(this.attributes, t) && (e += " " + t + '="' + j.escape(this.attributes[t]) + '"');
|
|
5899
5899
|
e += ">";
|
|
5900
5900
|
for (var a = 0; a < this.children.length; a++)
|
|
5901
5901
|
e += this.children[a].toMarkup();
|
|
@@ -5911,7 +5911,7 @@ class g0 {
|
|
|
5911
5911
|
return this.alternate ? t.setAttribute("d", this.alternate) : t.setAttribute("d", Yr[this.pathName]), t;
|
|
5912
5912
|
}
|
|
5913
5913
|
toMarkup() {
|
|
5914
|
-
return this.alternate ? '<path d="' +
|
|
5914
|
+
return this.alternate ? '<path d="' + j.escape(this.alternate) + '"/>' : '<path d="' + j.escape(Yr[this.pathName]) + '"/>';
|
|
5915
5915
|
}
|
|
5916
5916
|
}
|
|
5917
5917
|
class lr {
|
|
@@ -5927,12 +5927,12 @@ class lr {
|
|
|
5927
5927
|
toMarkup() {
|
|
5928
5928
|
var e = "<line";
|
|
5929
5929
|
for (var t in this.attributes)
|
|
5930
|
-
Object.prototype.hasOwnProperty.call(this.attributes, t) && (e += " " + t + '="' +
|
|
5930
|
+
Object.prototype.hasOwnProperty.call(this.attributes, t) && (e += " " + t + '="' + j.escape(this.attributes[t]) + '"');
|
|
5931
5931
|
return e += "/>", e;
|
|
5932
5932
|
}
|
|
5933
5933
|
}
|
|
5934
5934
|
function Jr(r) {
|
|
5935
|
-
if (r instanceof
|
|
5935
|
+
if (r instanceof Oe)
|
|
5936
5936
|
return r;
|
|
5937
5937
|
throw new Error("Expected symbolNode but got " + String(r) + ".");
|
|
5938
5938
|
}
|
|
@@ -5965,7 +5965,7 @@ function s(r, e, t, a, n, i) {
|
|
|
5965
5965
|
replace: a
|
|
5966
5966
|
}, i && a && (ie[r][a] = ie[r][n]);
|
|
5967
5967
|
}
|
|
5968
|
-
var l = "math", D = "text", c = "main", p = "ams", le = "accent-token", L = "bin", ye = "close",
|
|
5968
|
+
var l = "math", D = "text", c = "main", p = "ams", le = "accent-token", L = "bin", ye = "close", G0 = "inner", G = "mathord", me = "op-token", Ee = "open", It = "punct", f = "rel", c0 = "spacing", y = "textord";
|
|
5969
5969
|
s(l, c, f, "≡", "\\equiv", !0);
|
|
5970
5970
|
s(l, c, f, "≺", "\\prec", !0);
|
|
5971
5971
|
s(l, c, f, "≻", "\\succ", !0);
|
|
@@ -6330,36 +6330,36 @@ s(l, c, y, "⊤", "\\top");
|
|
|
6330
6330
|
s(l, c, y, "⊥", "\\bot");
|
|
6331
6331
|
s(l, c, y, "∅", "\\emptyset");
|
|
6332
6332
|
s(l, p, y, "∅", "\\varnothing");
|
|
6333
|
-
s(l, c,
|
|
6334
|
-
s(l, c,
|
|
6335
|
-
s(l, c,
|
|
6336
|
-
s(l, c,
|
|
6337
|
-
s(l, c,
|
|
6338
|
-
s(l, c,
|
|
6339
|
-
s(l, c,
|
|
6340
|
-
s(l, c,
|
|
6341
|
-
s(l, c,
|
|
6342
|
-
s(l, c,
|
|
6343
|
-
s(l, c,
|
|
6344
|
-
s(l, c,
|
|
6345
|
-
s(l, c,
|
|
6346
|
-
s(l, c,
|
|
6347
|
-
s(l, c,
|
|
6348
|
-
s(l, c,
|
|
6349
|
-
s(l, c,
|
|
6350
|
-
s(l, c,
|
|
6351
|
-
s(l, c,
|
|
6352
|
-
s(l, c,
|
|
6353
|
-
s(l, c,
|
|
6354
|
-
s(l, c,
|
|
6355
|
-
s(l, c,
|
|
6356
|
-
s(l, c,
|
|
6357
|
-
s(l, c,
|
|
6358
|
-
s(l, c,
|
|
6359
|
-
s(l, c,
|
|
6360
|
-
s(l, c,
|
|
6361
|
-
s(l, c,
|
|
6362
|
-
s(l, c,
|
|
6333
|
+
s(l, c, G, "α", "\\alpha", !0);
|
|
6334
|
+
s(l, c, G, "β", "\\beta", !0);
|
|
6335
|
+
s(l, c, G, "γ", "\\gamma", !0);
|
|
6336
|
+
s(l, c, G, "δ", "\\delta", !0);
|
|
6337
|
+
s(l, c, G, "ϵ", "\\epsilon", !0);
|
|
6338
|
+
s(l, c, G, "ζ", "\\zeta", !0);
|
|
6339
|
+
s(l, c, G, "η", "\\eta", !0);
|
|
6340
|
+
s(l, c, G, "θ", "\\theta", !0);
|
|
6341
|
+
s(l, c, G, "ι", "\\iota", !0);
|
|
6342
|
+
s(l, c, G, "κ", "\\kappa", !0);
|
|
6343
|
+
s(l, c, G, "λ", "\\lambda", !0);
|
|
6344
|
+
s(l, c, G, "μ", "\\mu", !0);
|
|
6345
|
+
s(l, c, G, "ν", "\\nu", !0);
|
|
6346
|
+
s(l, c, G, "ξ", "\\xi", !0);
|
|
6347
|
+
s(l, c, G, "ο", "\\omicron", !0);
|
|
6348
|
+
s(l, c, G, "π", "\\pi", !0);
|
|
6349
|
+
s(l, c, G, "ρ", "\\rho", !0);
|
|
6350
|
+
s(l, c, G, "σ", "\\sigma", !0);
|
|
6351
|
+
s(l, c, G, "τ", "\\tau", !0);
|
|
6352
|
+
s(l, c, G, "υ", "\\upsilon", !0);
|
|
6353
|
+
s(l, c, G, "ϕ", "\\phi", !0);
|
|
6354
|
+
s(l, c, G, "χ", "\\chi", !0);
|
|
6355
|
+
s(l, c, G, "ψ", "\\psi", !0);
|
|
6356
|
+
s(l, c, G, "ω", "\\omega", !0);
|
|
6357
|
+
s(l, c, G, "ε", "\\varepsilon", !0);
|
|
6358
|
+
s(l, c, G, "ϑ", "\\vartheta", !0);
|
|
6359
|
+
s(l, c, G, "ϖ", "\\varpi", !0);
|
|
6360
|
+
s(l, c, G, "ϱ", "\\varrho", !0);
|
|
6361
|
+
s(l, c, G, "ς", "\\varsigma", !0);
|
|
6362
|
+
s(l, c, G, "φ", "\\varphi", !0);
|
|
6363
6363
|
s(l, c, L, "∗", "*", !0);
|
|
6364
6364
|
s(l, c, L, "+", "+");
|
|
6365
6365
|
s(l, c, L, "−", "-", !0);
|
|
@@ -6492,12 +6492,12 @@ s(l, c, me, "∯", "\\oiint");
|
|
|
6492
6492
|
s(l, c, me, "∰", "\\oiiint");
|
|
6493
6493
|
s(l, c, me, "⨆", "\\bigsqcup");
|
|
6494
6494
|
s(l, c, me, "∫", "\\smallint");
|
|
6495
|
-
s(D, c,
|
|
6496
|
-
s(l, c,
|
|
6497
|
-
s(D, c,
|
|
6498
|
-
s(l, c,
|
|
6499
|
-
s(l, c,
|
|
6500
|
-
s(l, c,
|
|
6495
|
+
s(D, c, G0, "…", "\\textellipsis");
|
|
6496
|
+
s(l, c, G0, "…", "\\mathellipsis");
|
|
6497
|
+
s(D, c, G0, "…", "\\ldots", !0);
|
|
6498
|
+
s(l, c, G0, "…", "\\ldots", !0);
|
|
6499
|
+
s(l, c, G0, "⋯", "\\@cdots", !0);
|
|
6500
|
+
s(l, c, G0, "⋱", "\\ddots", !0);
|
|
6501
6501
|
s(l, c, y, "⋮", "\\varvdots");
|
|
6502
6502
|
s(l, c, le, "ˊ", "\\acute");
|
|
6503
6503
|
s(l, c, le, "ˋ", "\\grave");
|
|
@@ -6510,8 +6510,8 @@ s(l, c, le, "^", "\\hat");
|
|
|
6510
6510
|
s(l, c, le, "⃗", "\\vec");
|
|
6511
6511
|
s(l, c, le, "˙", "\\dot");
|
|
6512
6512
|
s(l, c, le, "˚", "\\mathring");
|
|
6513
|
-
s(l, c,
|
|
6514
|
-
s(l, c,
|
|
6513
|
+
s(l, c, G, "", "\\@imath");
|
|
6514
|
+
s(l, c, G, "", "\\@jmath");
|
|
6515
6515
|
s(l, c, y, "ı", "ı");
|
|
6516
6516
|
s(l, c, y, "ȷ", "ȷ");
|
|
6517
6517
|
s(D, c, y, "ı", "\\i", !0);
|
|
@@ -6536,7 +6536,7 @@ s(D, c, le, "ˇ", "\\v");
|
|
|
6536
6536
|
s(D, c, le, "¨", '\\"');
|
|
6537
6537
|
s(D, c, le, "˝", "\\H");
|
|
6538
6538
|
s(D, c, le, "◯", "\\textcircled");
|
|
6539
|
-
var
|
|
6539
|
+
var Ka = {
|
|
6540
6540
|
"--": !0,
|
|
6541
6541
|
"---": !0,
|
|
6542
6542
|
"``": !0,
|
|
@@ -6576,7 +6576,7 @@ for (var Gt = 0; Gt < ta.length; Gt++) {
|
|
|
6576
6576
|
var Tt = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
|
|
6577
6577
|
for (var Vt = 0; Vt < Tt.length; Vt++) {
|
|
6578
6578
|
var pt = Tt.charAt(Vt);
|
|
6579
|
-
s(l, c,
|
|
6579
|
+
s(l, c, G, pt, pt), s(D, c, y, pt, pt);
|
|
6580
6580
|
}
|
|
6581
6581
|
s(l, p, y, "C", "ℂ");
|
|
6582
6582
|
s(D, p, y, "C", "ℂ");
|
|
@@ -6592,24 +6592,24 @@ s(l, p, y, "R", "ℝ");
|
|
|
6592
6592
|
s(D, p, y, "R", "ℝ");
|
|
6593
6593
|
s(l, p, y, "Z", "ℤ");
|
|
6594
6594
|
s(D, p, y, "Z", "ℤ");
|
|
6595
|
-
s(l, c,
|
|
6596
|
-
s(D, c,
|
|
6597
|
-
var
|
|
6595
|
+
s(l, c, G, "h", "ℎ");
|
|
6596
|
+
s(D, c, G, "h", "ℎ");
|
|
6597
|
+
var U = "";
|
|
6598
6598
|
for (var ge = 0; ge < Tt.length; ge++) {
|
|
6599
6599
|
var he = Tt.charAt(ge);
|
|
6600
|
-
|
|
6600
|
+
U = String.fromCharCode(55349, 56320 + ge), s(l, c, G, he, U), s(D, c, y, he, U), U = String.fromCharCode(55349, 56372 + ge), s(l, c, G, he, U), s(D, c, y, he, U), U = String.fromCharCode(55349, 56424 + ge), s(l, c, G, he, U), s(D, c, y, he, U), U = String.fromCharCode(55349, 56580 + ge), s(l, c, G, he, U), s(D, c, y, he, U), U = String.fromCharCode(55349, 56684 + ge), s(l, c, G, he, U), s(D, c, y, he, U), U = String.fromCharCode(55349, 56736 + ge), s(l, c, G, he, U), s(D, c, y, he, U), U = String.fromCharCode(55349, 56788 + ge), s(l, c, G, he, U), s(D, c, y, he, U), U = String.fromCharCode(55349, 56840 + ge), s(l, c, G, he, U), s(D, c, y, he, U), U = String.fromCharCode(55349, 56944 + ge), s(l, c, G, he, U), s(D, c, y, he, U), ge < 26 && (U = String.fromCharCode(55349, 56632 + ge), s(l, c, G, he, U), s(D, c, y, he, U), U = String.fromCharCode(55349, 56476 + ge), s(l, c, G, he, U), s(D, c, y, he, U));
|
|
6601
6601
|
}
|
|
6602
|
-
|
|
6603
|
-
s(l, c,
|
|
6604
|
-
s(D, c, y, "k",
|
|
6602
|
+
U = "𝕜";
|
|
6603
|
+
s(l, c, G, "k", U);
|
|
6604
|
+
s(D, c, y, "k", U);
|
|
6605
6605
|
for (var z0 = 0; z0 < 10; z0++) {
|
|
6606
6606
|
var m0 = z0.toString();
|
|
6607
|
-
|
|
6607
|
+
U = String.fromCharCode(55349, 57294 + z0), s(l, c, G, m0, U), s(D, c, y, m0, U), U = String.fromCharCode(55349, 57314 + z0), s(l, c, G, m0, U), s(D, c, y, m0, U), U = String.fromCharCode(55349, 57324 + z0), s(l, c, G, m0, U), s(D, c, y, m0, U), U = String.fromCharCode(55349, 57334 + z0), s(l, c, G, m0, U), s(D, c, y, m0, U);
|
|
6608
6608
|
}
|
|
6609
6609
|
var or = "ÐÞþ";
|
|
6610
6610
|
for (var Ut = 0; Ut < or.length; Ut++) {
|
|
6611
6611
|
var ft = or.charAt(Ut);
|
|
6612
|
-
s(l, c,
|
|
6612
|
+
s(l, c, G, ft, ft), s(D, c, y, ft, ft);
|
|
6613
6613
|
}
|
|
6614
6614
|
var vt = [
|
|
6615
6615
|
["mathbf", "textbf", "Main-Bold"],
|
|
@@ -6698,15 +6698,15 @@ var vt = [
|
|
|
6698
6698
|
value: e,
|
|
6699
6699
|
metrics: Sr(e, t, a)
|
|
6700
6700
|
};
|
|
6701
|
-
},
|
|
6701
|
+
}, Le = function(e, t, a, n, i) {
|
|
6702
6702
|
var o = Ft(e, t, a), u = o.metrics;
|
|
6703
6703
|
e = o.value;
|
|
6704
6704
|
var h;
|
|
6705
6705
|
if (u) {
|
|
6706
6706
|
var m = u.italic;
|
|
6707
|
-
(a === "text" || n && n.font === "mathit") && (m = 0), h = new
|
|
6707
|
+
(a === "text" || n && n.font === "mathit") && (m = 0), h = new Oe(e, u.height, u.depth, m, u.skew, u.width, i);
|
|
6708
6708
|
} else
|
|
6709
|
-
typeof console < "u" && console.warn("No character metrics " + ("for '" + e + "' in style '" + t + "' and mode '" + a + "'")), h = new
|
|
6709
|
+
typeof console < "u" && console.warn("No character metrics " + ("for '" + e + "' in style '" + t + "' and mode '" + a + "'")), h = new Oe(e, 0, 0, 0, 0, 0, i);
|
|
6710
6710
|
if (n) {
|
|
6711
6711
|
h.maxFontSize = n.sizeMultiplier, n.style.isTight() && h.classes.push("mtight");
|
|
6712
6712
|
var v = n.getColor();
|
|
@@ -6714,7 +6714,7 @@ var vt = [
|
|
|
6714
6714
|
}
|
|
6715
6715
|
return h;
|
|
6716
6716
|
}, Gs = function(e, t, a, n) {
|
|
6717
|
-
return n === void 0 && (n = []), a.font === "boldsymbol" && Ft(e, "Main-Bold", t).metrics ?
|
|
6717
|
+
return n === void 0 && (n = []), a.font === "boldsymbol" && Ft(e, "Main-Bold", t).metrics ? Le(e, "Main-Bold", t, a, n.concat(["mathbf"])) : e === "\\" || ie[t][e].font === "main" ? Le(e, "Main-Regular", t, a, n) : Le(e, "AMS-Regular", t, a, n.concat(["amsrm"]));
|
|
6718
6718
|
}, Vs = function(e, t, a, n, i) {
|
|
6719
6719
|
return i !== "textord" && Ft(e, "Math-BoldItalic", t).metrics ? {
|
|
6720
6720
|
fontName: "Math-BoldItalic",
|
|
@@ -6726,34 +6726,34 @@ var vt = [
|
|
|
6726
6726
|
}, Us = function(e, t, a) {
|
|
6727
6727
|
var n = e.mode, i = e.text, o = ["mord"], u = n === "math" || n === "text" && t.font, h = u ? t.font : t.fontFamily, m = "", v = "";
|
|
6728
6728
|
if (i.charCodeAt(0) === 55349 && ([m, v] = js(i, n)), m.length > 0)
|
|
6729
|
-
return
|
|
6729
|
+
return Le(i, m, n, t, o.concat(v));
|
|
6730
6730
|
if (h) {
|
|
6731
6731
|
var b, w;
|
|
6732
6732
|
if (h === "boldsymbol") {
|
|
6733
6733
|
var S = Vs(i, n, t, o, a);
|
|
6734
6734
|
b = S.fontName, w = [S.fontClass];
|
|
6735
|
-
} else u ? (b =
|
|
6735
|
+
} else u ? (b = en[h].fontName, w = [h]) : (b = gt(h, t.fontWeight, t.fontShape), w = [h, t.fontWeight, t.fontShape]);
|
|
6736
6736
|
if (Ft(i, b, n).metrics)
|
|
6737
|
-
return
|
|
6738
|
-
if (
|
|
6737
|
+
return Le(i, b, n, t, o.concat(w));
|
|
6738
|
+
if (Ka.hasOwnProperty(i) && b.slice(0, 10) === "Typewriter") {
|
|
6739
6739
|
for (var E = [], T = 0; T < i.length; T++)
|
|
6740
|
-
E.push(
|
|
6741
|
-
return
|
|
6740
|
+
E.push(Le(i[T], b, n, t, o.concat(w)));
|
|
6741
|
+
return Qa(E);
|
|
6742
6742
|
}
|
|
6743
6743
|
}
|
|
6744
6744
|
if (a === "mathord")
|
|
6745
|
-
return
|
|
6745
|
+
return Le(i, "Math-Italic", n, t, o.concat(["mathnormal"]));
|
|
6746
6746
|
if (a === "textord") {
|
|
6747
6747
|
var C = ie[n][i] && ie[n][i].font;
|
|
6748
6748
|
if (C === "ams") {
|
|
6749
6749
|
var B = gt("amsrm", t.fontWeight, t.fontShape);
|
|
6750
|
-
return
|
|
6750
|
+
return Le(i, B, n, t, o.concat("amsrm", t.fontWeight, t.fontShape));
|
|
6751
6751
|
} else if (C === "main" || !C) {
|
|
6752
6752
|
var g = gt("textrm", t.fontWeight, t.fontShape);
|
|
6753
|
-
return
|
|
6753
|
+
return Le(i, g, n, t, o.concat(t.fontWeight, t.fontShape));
|
|
6754
6754
|
} else {
|
|
6755
6755
|
var x = gt(C, t.fontWeight, t.fontShape);
|
|
6756
|
-
return
|
|
6756
|
+
return Le(i, x, n, t, o.concat(x, t.fontWeight, t.fontShape));
|
|
6757
6757
|
}
|
|
6758
6758
|
} else
|
|
6759
6759
|
throw new Error("unexpected type: " + a + " in makeOrd");
|
|
@@ -6775,7 +6775,7 @@ var vt = [
|
|
|
6775
6775
|
}, Ys = (r) => {
|
|
6776
6776
|
for (var e = 0; e < r.length - 1; e++) {
|
|
6777
6777
|
var t = r[e], a = r[e + 1];
|
|
6778
|
-
t instanceof
|
|
6778
|
+
t instanceof Oe && a instanceof Oe && Ws(t, a) && (t.text += a.text, t.height = Math.max(t.height, a.height), t.depth = Math.max(t.depth, a.depth), t.italic = a.italic, r.splice(e + 1, 1), e--);
|
|
6779
6779
|
}
|
|
6780
6780
|
return r;
|
|
6781
6781
|
}, Ar = function(e) {
|
|
@@ -6787,13 +6787,13 @@ var vt = [
|
|
|
6787
6787
|
}, we = function(e, t, a, n) {
|
|
6788
6788
|
var i = new lt(e, t, a, n);
|
|
6789
6789
|
return Ar(i), i;
|
|
6790
|
-
},
|
|
6790
|
+
}, Ja = (r, e, t, a) => new lt(r, e, t, a), Zs = function(e, t, a) {
|
|
6791
6791
|
var n = we([e], [], t);
|
|
6792
6792
|
return n.height = Math.max(a || t.fontMetrics().defaultRuleThickness, t.minRuleThickness), n.style.borderBottomWidth = R(n.height), n.maxFontSize = 1, n;
|
|
6793
6793
|
}, Xs = function(e, t, a, n) {
|
|
6794
6794
|
var i = new Mr(e, t, a, n);
|
|
6795
6795
|
return Ar(i), i;
|
|
6796
|
-
},
|
|
6796
|
+
}, Qa = function(e) {
|
|
6797
6797
|
var t = new st(e);
|
|
6798
6798
|
return Ar(t), t;
|
|
6799
6799
|
}, Ks = function(e, t) {
|
|
@@ -6866,7 +6866,7 @@ var vt = [
|
|
|
6866
6866
|
if (b < 0) {
|
|
6867
6867
|
var z = we([], []), F = we(["vlist"], [z]);
|
|
6868
6868
|
F.style.height = R(-b);
|
|
6869
|
-
var _ = we(["vlist-s"], [new
|
|
6869
|
+
var _ = we(["vlist-s"], [new Oe("")]);
|
|
6870
6870
|
M = [we(["vlist-r"], [A, _]), we(["vlist-r"], [F])];
|
|
6871
6871
|
} else
|
|
6872
6872
|
M = [we(["vlist-r"], [A])];
|
|
@@ -6895,7 +6895,7 @@ var vt = [
|
|
|
6895
6895
|
}
|
|
6896
6896
|
var i;
|
|
6897
6897
|
return t === "textbf" && a === "textit" ? i = "BoldItalic" : t === "textbf" ? i = "Bold" : t === "textit" ? i = "Italic" : i = "Regular", n + "-" + i;
|
|
6898
|
-
},
|
|
6898
|
+
}, en = {
|
|
6899
6899
|
// styles
|
|
6900
6900
|
mathbf: {
|
|
6901
6901
|
variant: "bold",
|
|
@@ -6945,7 +6945,7 @@ var vt = [
|
|
|
6945
6945
|
variant: "monospace",
|
|
6946
6946
|
fontName: "Typewriter-Regular"
|
|
6947
6947
|
}
|
|
6948
|
-
},
|
|
6948
|
+
}, tn = {
|
|
6949
6949
|
// path, width, height
|
|
6950
6950
|
vec: ["vec", 0.471, 0.714],
|
|
6951
6951
|
// values from the font glyph
|
|
@@ -6955,30 +6955,30 @@ var vt = [
|
|
|
6955
6955
|
oiiintSize1: ["oiiintSize1", 1.304, 0.499],
|
|
6956
6956
|
oiiintSize2: ["oiiintSize2", 1.98, 0.659]
|
|
6957
6957
|
}, t1 = function(e, t) {
|
|
6958
|
-
var [a, n, i] =
|
|
6958
|
+
var [a, n, i] = tn[e], o = new g0(a), u = new i0([o], {
|
|
6959
6959
|
width: R(n),
|
|
6960
6960
|
height: R(i),
|
|
6961
6961
|
// Override CSS rule `.katex svg { width: 100% }`
|
|
6962
6962
|
style: "width:" + R(n),
|
|
6963
6963
|
viewBox: "0 0 " + 1e3 * n + " " + 1e3 * i,
|
|
6964
6964
|
preserveAspectRatio: "xMinYMin"
|
|
6965
|
-
}), h =
|
|
6965
|
+
}), h = Ja(["overlay"], [u], t);
|
|
6966
6966
|
return h.height = i, h.style.height = R(i), h.style.width = R(n), h;
|
|
6967
6967
|
}, k = {
|
|
6968
|
-
fontMap:
|
|
6969
|
-
makeSymbol:
|
|
6968
|
+
fontMap: en,
|
|
6969
|
+
makeSymbol: Le,
|
|
6970
6970
|
mathsym: Gs,
|
|
6971
6971
|
makeSpan: we,
|
|
6972
|
-
makeSvgSpan:
|
|
6972
|
+
makeSvgSpan: Ja,
|
|
6973
6973
|
makeLineSpan: Zs,
|
|
6974
6974
|
makeAnchor: Xs,
|
|
6975
|
-
makeFragment:
|
|
6975
|
+
makeFragment: Qa,
|
|
6976
6976
|
wrapFragment: Ks,
|
|
6977
6977
|
makeVList: Qs,
|
|
6978
6978
|
makeOrd: Us,
|
|
6979
6979
|
makeGlue: e1,
|
|
6980
6980
|
staticSvg: t1,
|
|
6981
|
-
svgData:
|
|
6981
|
+
svgData: tn,
|
|
6982
6982
|
tryCombineChars: Ys
|
|
6983
6983
|
}, ue = {
|
|
6984
6984
|
number: 3,
|
|
@@ -7057,7 +7057,7 @@ var vt = [
|
|
|
7057
7057
|
minner: {
|
|
7058
7058
|
mop: ue
|
|
7059
7059
|
}
|
|
7060
|
-
},
|
|
7060
|
+
}, rn = {}, Ct = {}, Et = {};
|
|
7061
7061
|
function H(r) {
|
|
7062
7062
|
for (var {
|
|
7063
7063
|
type: e,
|
|
@@ -7078,10 +7078,10 @@ function H(r) {
|
|
|
7078
7078
|
primitive: !!a.primitive,
|
|
7079
7079
|
handler: n
|
|
7080
7080
|
}, h = 0; h < t.length; ++h)
|
|
7081
|
-
|
|
7081
|
+
rn[t[h]] = u;
|
|
7082
7082
|
e && (i && (Ct[e] = i), o && (Et[e] = o));
|
|
7083
7083
|
}
|
|
7084
|
-
function
|
|
7084
|
+
function N0(r) {
|
|
7085
7085
|
var {
|
|
7086
7086
|
type: e,
|
|
7087
7087
|
htmlBuilder: t,
|
|
@@ -7105,10 +7105,10 @@ var Bt = function(e) {
|
|
|
7105
7105
|
}, de = function(e) {
|
|
7106
7106
|
return e.type === "ordgroup" ? e.body : [e];
|
|
7107
7107
|
}, s0 = k.makeSpan, n1 = ["leftmost", "mbin", "mopen", "mrel", "mop", "mpunct"], i1 = ["rightmost", "mrel", "mclose", "mpunct"], s1 = {
|
|
7108
|
-
display:
|
|
7109
|
-
text:
|
|
7110
|
-
script:
|
|
7111
|
-
scriptscript:
|
|
7108
|
+
display: V.DISPLAY,
|
|
7109
|
+
text: V.TEXT,
|
|
7110
|
+
script: V.SCRIPT,
|
|
7111
|
+
scriptscript: V.SCRIPTSCRIPT
|
|
7112
7112
|
}, l1 = {
|
|
7113
7113
|
mord: "mord",
|
|
7114
7114
|
mop: "mop",
|
|
@@ -7138,7 +7138,7 @@ var Bt = function(e) {
|
|
|
7138
7138
|
var b = s0([n[0] || "leftmost"], [], t), w = s0([n[1] || "rightmost"], [], t), S = a === "root";
|
|
7139
7139
|
return na(i, (E, T) => {
|
|
7140
7140
|
var C = T.classes[0], B = E.classes[0];
|
|
7141
|
-
C === "mbin" &&
|
|
7141
|
+
C === "mbin" && j.contains(i1, B) ? T.classes[0] = "mord" : B === "mbin" && j.contains(n1, C) && (E.classes[0] = "mord");
|
|
7142
7142
|
}, {
|
|
7143
7143
|
node: b
|
|
7144
7144
|
}, w, S), na(i, (E, T) => {
|
|
@@ -7151,7 +7151,7 @@ var Bt = function(e) {
|
|
|
7151
7151
|
}, na = function r(e, t, a, n, i) {
|
|
7152
7152
|
n && e.push(n);
|
|
7153
7153
|
for (var o = 0; o < e.length; o++) {
|
|
7154
|
-
var u = e[o], h =
|
|
7154
|
+
var u = e[o], h = an(u);
|
|
7155
7155
|
if (h) {
|
|
7156
7156
|
r(h.children, t, a, null, i);
|
|
7157
7157
|
continue;
|
|
@@ -7166,10 +7166,10 @@ var Bt = function(e) {
|
|
|
7166
7166
|
})(o);
|
|
7167
7167
|
}
|
|
7168
7168
|
n && e.pop();
|
|
7169
|
-
},
|
|
7169
|
+
}, an = function(e) {
|
|
7170
7170
|
return e instanceof st || e instanceof Mr || e instanceof lt && e.hasClass("enclosing") ? e : null;
|
|
7171
7171
|
}, o1 = function r(e, t) {
|
|
7172
|
-
var a =
|
|
7172
|
+
var a = an(e);
|
|
7173
7173
|
if (a) {
|
|
7174
7174
|
var n = a.children;
|
|
7175
7175
|
if (n.length) {
|
|
@@ -7224,7 +7224,7 @@ function cr(r, e) {
|
|
|
7224
7224
|
}
|
|
7225
7225
|
return v;
|
|
7226
7226
|
}
|
|
7227
|
-
function
|
|
7227
|
+
function nn(r) {
|
|
7228
7228
|
return new st(r);
|
|
7229
7229
|
}
|
|
7230
7230
|
class Fe {
|
|
@@ -7262,8 +7262,8 @@ class Fe {
|
|
|
7262
7262
|
toMarkup() {
|
|
7263
7263
|
var e = "<" + this.type;
|
|
7264
7264
|
for (var t in this.attributes)
|
|
7265
|
-
Object.prototype.hasOwnProperty.call(this.attributes, t) && (e += " " + t + '="', e +=
|
|
7266
|
-
this.classes.length > 0 && (e += ' class ="' +
|
|
7265
|
+
Object.prototype.hasOwnProperty.call(this.attributes, t) && (e += " " + t + '="', e += j.escape(this.attributes[t]), e += '"');
|
|
7266
|
+
this.classes.length > 0 && (e += ' class ="' + j.escape(v0(this.classes)) + '"'), e += ">";
|
|
7267
7267
|
for (var a = 0; a < this.children.length; a++)
|
|
7268
7268
|
e += this.children[a].toMarkup();
|
|
7269
7269
|
return e += "</" + this.type + ">", e;
|
|
@@ -7290,7 +7290,7 @@ class J0 {
|
|
|
7290
7290
|
* (representing the text itself).
|
|
7291
7291
|
*/
|
|
7292
7292
|
toMarkup() {
|
|
7293
|
-
return
|
|
7293
|
+
return j.escape(this.toText());
|
|
7294
7294
|
}
|
|
7295
7295
|
/**
|
|
7296
7296
|
* Converts the text node into a string
|
|
@@ -7333,9 +7333,9 @@ var I = {
|
|
|
7333
7333
|
MathNode: Fe,
|
|
7334
7334
|
TextNode: J0,
|
|
7335
7335
|
SpaceNode: u1,
|
|
7336
|
-
newDocumentFragment:
|
|
7337
|
-
},
|
|
7338
|
-
return ie[t][e] && ie[t][e].replace && e.charCodeAt(0) !== 55349 && !(
|
|
7336
|
+
newDocumentFragment: nn
|
|
7337
|
+
}, He = function(e, t, a) {
|
|
7338
|
+
return ie[t][e] && ie[t][e].replace && e.charCodeAt(0) !== 55349 && !(Ka.hasOwnProperty(e) && a && (a.fontFamily && a.fontFamily.slice(4, 6) === "tt" || a.font && a.font.slice(4, 6) === "tt")) && (e = ie[t][e].replace), new I.TextNode(e);
|
|
7339
7339
|
}, zr = function(e) {
|
|
7340
7340
|
return e.length === 1 ? e[0] : new I.MathNode("mrow", e);
|
|
7341
7341
|
}, Tr = function(e, t) {
|
|
@@ -7370,18 +7370,18 @@ var I = {
|
|
|
7370
7370
|
if (a === "mathtt")
|
|
7371
7371
|
return "monospace";
|
|
7372
7372
|
var i = e.text;
|
|
7373
|
-
if (
|
|
7373
|
+
if (j.contains(["\\imath", "\\jmath"], i))
|
|
7374
7374
|
return null;
|
|
7375
7375
|
ie[n][i] && ie[n][i].replace && (i = ie[n][i].replace);
|
|
7376
7376
|
var o = k.fontMap[a].fontName;
|
|
7377
7377
|
return Sr(i, o, n) ? k.fontMap[a].variant : null;
|
|
7378
|
-
},
|
|
7378
|
+
}, Ae = function(e, t, a) {
|
|
7379
7379
|
if (e.length === 1) {
|
|
7380
|
-
var n =
|
|
7380
|
+
var n = ne(e[0], t);
|
|
7381
7381
|
return a && n instanceof Fe && n.type === "mo" && (n.setAttribute("lspace", "0em"), n.setAttribute("rspace", "0em")), [n];
|
|
7382
7382
|
}
|
|
7383
7383
|
for (var i = [], o, u = 0; u < e.length; u++) {
|
|
7384
|
-
var h =
|
|
7384
|
+
var h = ne(e[u], t);
|
|
7385
7385
|
if (h instanceof Fe && o instanceof Fe) {
|
|
7386
7386
|
if (h.type === "mtext" && o.type === "mtext" && h.getAttribute("mathvariant") === o.getAttribute("mathvariant")) {
|
|
7387
7387
|
o.children.push(...h.children);
|
|
@@ -7407,8 +7407,8 @@ var I = {
|
|
|
7407
7407
|
}
|
|
7408
7408
|
return i;
|
|
7409
7409
|
}, b0 = function(e, t, a) {
|
|
7410
|
-
return zr(
|
|
7411
|
-
},
|
|
7410
|
+
return zr(Ae(e, t, a));
|
|
7411
|
+
}, ne = function(e, t) {
|
|
7412
7412
|
if (!e)
|
|
7413
7413
|
return new I.MathNode("mrow");
|
|
7414
7414
|
if (Et[e.type]) {
|
|
@@ -7418,8 +7418,8 @@ var I = {
|
|
|
7418
7418
|
throw new N("Got group of unknown type: '" + e.type + "'");
|
|
7419
7419
|
};
|
|
7420
7420
|
function ia(r, e, t, a, n) {
|
|
7421
|
-
var i =
|
|
7422
|
-
i.length === 1 && i[0] instanceof Fe &&
|
|
7421
|
+
var i = Ae(r, t), o;
|
|
7422
|
+
i.length === 1 && i[0] instanceof Fe && j.contains(["mrow", "mtable"], i[0].type) ? o = i[0] : o = new I.MathNode("mrow", i);
|
|
7423
7423
|
var u = new I.MathNode("annotation", [new I.TextNode(e)]);
|
|
7424
7424
|
u.setAttribute("encoding", "application/x-tex");
|
|
7425
7425
|
var h = new I.MathNode("semantics", [o, u]), m = new I.MathNode("math", [h]);
|
|
@@ -7427,20 +7427,20 @@ function ia(r, e, t, a, n) {
|
|
|
7427
7427
|
var v = n ? "katex" : "katex-mathml";
|
|
7428
7428
|
return k.makeSpan([v], [m]);
|
|
7429
7429
|
}
|
|
7430
|
-
var
|
|
7430
|
+
var sn = function(e) {
|
|
7431
7431
|
return new e0({
|
|
7432
|
-
style: e.displayMode ?
|
|
7432
|
+
style: e.displayMode ? V.DISPLAY : V.TEXT,
|
|
7433
7433
|
maxSize: e.maxSize,
|
|
7434
7434
|
minRuleThickness: e.minRuleThickness
|
|
7435
7435
|
});
|
|
7436
|
-
},
|
|
7436
|
+
}, ln = function(e, t) {
|
|
7437
7437
|
if (t.displayMode) {
|
|
7438
7438
|
var a = ["katex-display"];
|
|
7439
7439
|
t.leqno && a.push("leqno"), t.fleqn && a.push("fleqn"), e = k.makeSpan(a, [e]);
|
|
7440
7440
|
}
|
|
7441
7441
|
return e;
|
|
7442
7442
|
}, c1 = function(e, t, a) {
|
|
7443
|
-
var n =
|
|
7443
|
+
var n = sn(a), i;
|
|
7444
7444
|
if (a.output === "mathml")
|
|
7445
7445
|
return ia(e, t, n, a.displayMode, !0);
|
|
7446
7446
|
if (a.output === "html") {
|
|
@@ -7450,10 +7450,10 @@ var an = function(e) {
|
|
|
7450
7450
|
var u = ia(e, t, n, a.displayMode, !1), h = cr(e, n);
|
|
7451
7451
|
i = k.makeSpan(["katex"], [u, h]);
|
|
7452
7452
|
}
|
|
7453
|
-
return
|
|
7453
|
+
return ln(i, a);
|
|
7454
7454
|
}, h1 = function(e, t, a) {
|
|
7455
|
-
var n =
|
|
7456
|
-
return
|
|
7455
|
+
var n = sn(a), i = cr(e, n), o = k.makeSpan(["katex"], [i]);
|
|
7456
|
+
return ln(o, a);
|
|
7457
7457
|
}, d1 = {
|
|
7458
7458
|
widehat: "^",
|
|
7459
7459
|
widecheck: "ˇ",
|
|
@@ -7554,7 +7554,7 @@ var an = function(e) {
|
|
|
7554
7554
|
}, v1 = function(e, t) {
|
|
7555
7555
|
function a() {
|
|
7556
7556
|
var u = 4e5, h = e.label.slice(1);
|
|
7557
|
-
if (
|
|
7557
|
+
if (j.contains(["widehat", "widecheck", "widetilde", "utilde"], h)) {
|
|
7558
7558
|
var m = e, v = f1(m.base), b, w, S;
|
|
7559
7559
|
if (v > 5)
|
|
7560
7560
|
h === "widehat" || h === "widecheck" ? (b = 420, u = 2364, S = 0.42, w = h + "4") : (b = 312, u = 2340, S = 0.34, w = "tilde4");
|
|
@@ -7586,7 +7586,7 @@ var an = function(e) {
|
|
|
7586
7586
|
throw new Error(`Correct katexImagesData or update code here to support
|
|
7587
7587
|
` + F + " children.");
|
|
7588
7588
|
for (var Q = 0; Q < F; Q++) {
|
|
7589
|
-
var
|
|
7589
|
+
var re = new g0(x[Q]), Pe = new i0([re], {
|
|
7590
7590
|
width: "400em",
|
|
7591
7591
|
height: R(z),
|
|
7592
7592
|
viewBox: "0 0 " + u + " " + M,
|
|
@@ -7664,9 +7664,9 @@ function Nt(r) {
|
|
|
7664
7664
|
var Er = (r, e) => {
|
|
7665
7665
|
var t, a, n;
|
|
7666
7666
|
r && r.type === "supsub" ? (a = Y(r.base, "accent"), t = a.base, r.base = t, n = Ls(K(r, e)), r.base = a) : (a = Y(r, "accent"), t = a.base);
|
|
7667
|
-
var i = K(t, e.havingCrampedStyle()), o = a.isShifty &&
|
|
7667
|
+
var i = K(t, e.havingCrampedStyle()), o = a.isShifty && j.isCharacterBox(t), u = 0;
|
|
7668
7668
|
if (o) {
|
|
7669
|
-
var h =
|
|
7669
|
+
var h = j.getBaseElem(t), m = K(h, e.havingCrampedStyle());
|
|
7670
7670
|
u = Jr(m).skew;
|
|
7671
7671
|
}
|
|
7672
7672
|
var v = a.label === "\\c", b = v ? i.height + i.depth : Math.min(i.height, e.fontMetrics().xHeight), w;
|
|
@@ -7711,8 +7711,8 @@ var Er = (r, e) => {
|
|
|
7711
7711
|
}
|
|
7712
7712
|
var B = k.makeSpan(["mord", "accent"], [w], e);
|
|
7713
7713
|
return n ? (n.children[0] = B, n.height = Math.max(B.height, n.height), n.classes[0] = "mord", n) : B;
|
|
7714
|
-
},
|
|
7715
|
-
var t = r.isStretchy ? l0.mathMLnode(r.label) : new I.MathNode("mo", [
|
|
7714
|
+
}, on = (r, e) => {
|
|
7715
|
+
var t = r.isStretchy ? l0.mathMLnode(r.label) : new I.MathNode("mo", [He(r.label, r.mode)]), a = new I.MathNode("mover", [ne(r.base, e), t]);
|
|
7716
7716
|
return a.setAttribute("accent", "true"), a;
|
|
7717
7717
|
}, b1 = new RegExp(["\\acute", "\\grave", "\\ddot", "\\tilde", "\\bar", "\\breve", "\\check", "\\hat", "\\vec", "\\dot", "\\mathring"].map((r) => "\\" + r).join("|"));
|
|
7718
7718
|
H({
|
|
@@ -7733,7 +7733,7 @@ H({
|
|
|
7733
7733
|
};
|
|
7734
7734
|
},
|
|
7735
7735
|
htmlBuilder: Er,
|
|
7736
|
-
mathmlBuilder:
|
|
7736
|
+
mathmlBuilder: on
|
|
7737
7737
|
});
|
|
7738
7738
|
H({
|
|
7739
7739
|
type: "accent",
|
|
@@ -7757,7 +7757,7 @@ H({
|
|
|
7757
7757
|
};
|
|
7758
7758
|
},
|
|
7759
7759
|
htmlBuilder: Er,
|
|
7760
|
-
mathmlBuilder:
|
|
7760
|
+
mathmlBuilder: on
|
|
7761
7761
|
});
|
|
7762
7762
|
H({
|
|
7763
7763
|
type: "accentUnder",
|
|
@@ -7796,7 +7796,7 @@ H({
|
|
|
7796
7796
|
return k.makeSpan(["mord", "accentunder"], [i], e);
|
|
7797
7797
|
},
|
|
7798
7798
|
mathmlBuilder: (r, e) => {
|
|
7799
|
-
var t = l0.mathMLnode(r.label), a = new I.MathNode("munder", [
|
|
7799
|
+
var t = l0.mathMLnode(r.label), a = new I.MathNode("munder", [ne(r.base, e), t]);
|
|
7800
7800
|
return a.setAttribute("accentunder", "true"), a;
|
|
7801
7801
|
}
|
|
7802
7802
|
});
|
|
@@ -7901,14 +7901,14 @@ H({
|
|
|
7901
7901
|
t.setAttribute("minsize", r.label.charAt(0) === "x" ? "1.75em" : "3.0em");
|
|
7902
7902
|
var a;
|
|
7903
7903
|
if (r.body) {
|
|
7904
|
-
var n = yt(
|
|
7904
|
+
var n = yt(ne(r.body, e));
|
|
7905
7905
|
if (r.below) {
|
|
7906
|
-
var i = yt(
|
|
7906
|
+
var i = yt(ne(r.below, e));
|
|
7907
7907
|
a = new I.MathNode("munderover", [t, i, n]);
|
|
7908
7908
|
} else
|
|
7909
7909
|
a = new I.MathNode("mover", [t, n]);
|
|
7910
7910
|
} else if (r.below) {
|
|
7911
|
-
var o = yt(
|
|
7911
|
+
var o = yt(ne(r.below, e));
|
|
7912
7912
|
a = new I.MathNode("munder", [t, o]);
|
|
7913
7913
|
} else
|
|
7914
7914
|
a = yt(), a = new I.MathNode("mover", [t, a]);
|
|
@@ -7916,12 +7916,12 @@ H({
|
|
|
7916
7916
|
}
|
|
7917
7917
|
});
|
|
7918
7918
|
var y1 = k.makeSpan;
|
|
7919
|
-
function
|
|
7919
|
+
function un(r, e) {
|
|
7920
7920
|
var t = pe(r.body, e, !0);
|
|
7921
7921
|
return y1([r.mclass], t, e);
|
|
7922
7922
|
}
|
|
7923
|
-
function
|
|
7924
|
-
var t, a =
|
|
7923
|
+
function cn(r, e) {
|
|
7924
|
+
var t, a = Ae(r.body, e);
|
|
7925
7925
|
return r.mclass === "minner" ? t = new I.MathNode("mpadded", a) : r.mclass === "mord" ? r.isCharacterBox ? (t = a[0], t.type = "mi") : t = new I.MathNode("mi", a) : (r.isCharacterBox ? (t = a[0], t.type = "mo") : t = new I.MathNode("mo", a), 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;
|
|
7926
7926
|
}
|
|
7927
7927
|
H({
|
|
@@ -7942,11 +7942,11 @@ H({
|
|
|
7942
7942
|
mclass: "m" + a.slice(5),
|
|
7943
7943
|
// TODO(kevinb): don't prefix with 'm'
|
|
7944
7944
|
body: de(n),
|
|
7945
|
-
isCharacterBox:
|
|
7945
|
+
isCharacterBox: j.isCharacterBox(n)
|
|
7946
7946
|
};
|
|
7947
7947
|
},
|
|
7948
|
-
htmlBuilder:
|
|
7949
|
-
mathmlBuilder:
|
|
7948
|
+
htmlBuilder: un,
|
|
7949
|
+
mathmlBuilder: cn
|
|
7950
7950
|
});
|
|
7951
7951
|
var qt = (r) => {
|
|
7952
7952
|
var e = r.type === "ordgroup" && r.body.length ? r.body[0] : r;
|
|
@@ -7967,7 +7967,7 @@ H({
|
|
|
7967
7967
|
mode: t.mode,
|
|
7968
7968
|
mclass: qt(e[0]),
|
|
7969
7969
|
body: de(e[1]),
|
|
7970
|
-
isCharacterBox:
|
|
7970
|
+
isCharacterBox: j.isCharacterBox(e[1])
|
|
7971
7971
|
};
|
|
7972
7972
|
}
|
|
7973
7973
|
});
|
|
@@ -8004,11 +8004,11 @@ H({
|
|
|
8004
8004
|
mode: t.mode,
|
|
8005
8005
|
mclass: o,
|
|
8006
8006
|
body: [h],
|
|
8007
|
-
isCharacterBox:
|
|
8007
|
+
isCharacterBox: j.isCharacterBox(h)
|
|
8008
8008
|
};
|
|
8009
8009
|
},
|
|
8010
|
-
htmlBuilder:
|
|
8011
|
-
mathmlBuilder:
|
|
8010
|
+
htmlBuilder: un,
|
|
8011
|
+
mathmlBuilder: cn
|
|
8012
8012
|
});
|
|
8013
8013
|
H({
|
|
8014
8014
|
type: "pmb",
|
|
@@ -8033,7 +8033,7 @@ H({
|
|
|
8033
8033
|
return a.style.textShadow = "0.02em 0.01em 0.04px", a;
|
|
8034
8034
|
},
|
|
8035
8035
|
mathmlBuilder(r, e) {
|
|
8036
|
-
var t =
|
|
8036
|
+
var t = Ae(r.body, e), a = new I.MathNode("mstyle", t);
|
|
8037
8037
|
return a.setAttribute("style", "text-shadow: 0.02em 0.01em 0.04px"), a;
|
|
8038
8038
|
}
|
|
8039
8039
|
});
|
|
@@ -8188,7 +8188,7 @@ H({
|
|
|
8188
8188
|
return a.classes.push("cd-label-" + r.side), a.style.bottom = R(0.8 - a.depth), a.height = 0, a.depth = 0, a;
|
|
8189
8189
|
},
|
|
8190
8190
|
mathmlBuilder(r, e) {
|
|
8191
|
-
var t = new I.MathNode("mrow", [
|
|
8191
|
+
var t = new I.MathNode("mrow", [ne(r.label, e)]);
|
|
8192
8192
|
return t = new I.MathNode("mpadded", [t]), t.setAttribute("width", "0"), r.side === "left" && t.setAttribute("lspace", "-1width"), t.setAttribute("voffset", "0.7em"), t = new I.MathNode("mstyle", [t]), t.setAttribute("displaystyle", "false"), t.setAttribute("scriptlevel", "1"), t;
|
|
8193
8193
|
}
|
|
8194
8194
|
});
|
|
@@ -8213,7 +8213,7 @@ H({
|
|
|
8213
8213
|
return t.classes.push("cd-vert-arrow"), t;
|
|
8214
8214
|
},
|
|
8215
8215
|
mathmlBuilder(r, e) {
|
|
8216
|
-
return new I.MathNode("mrow", [
|
|
8216
|
+
return new I.MathNode("mrow", [ne(r.fragment, e)]);
|
|
8217
8217
|
}
|
|
8218
8218
|
});
|
|
8219
8219
|
H({
|
|
@@ -8242,11 +8242,11 @@ H({
|
|
|
8242
8242
|
};
|
|
8243
8243
|
}
|
|
8244
8244
|
});
|
|
8245
|
-
var
|
|
8245
|
+
var hn = (r, e) => {
|
|
8246
8246
|
var t = pe(r.body, e.withColor(r.color), !1);
|
|
8247
8247
|
return k.makeFragment(t);
|
|
8248
|
-
},
|
|
8249
|
-
var t =
|
|
8248
|
+
}, dn = (r, e) => {
|
|
8249
|
+
var t = Ae(r.body, e.withColor(r.color)), a = new I.MathNode("mstyle", t);
|
|
8250
8250
|
return a.setAttribute("mathcolor", r.color), a;
|
|
8251
8251
|
};
|
|
8252
8252
|
H({
|
|
@@ -8268,8 +8268,8 @@ H({
|
|
|
8268
8268
|
body: de(n)
|
|
8269
8269
|
};
|
|
8270
8270
|
},
|
|
8271
|
-
htmlBuilder:
|
|
8272
|
-
mathmlBuilder:
|
|
8271
|
+
htmlBuilder: hn,
|
|
8272
|
+
mathmlBuilder: dn
|
|
8273
8273
|
});
|
|
8274
8274
|
H({
|
|
8275
8275
|
type: "color",
|
|
@@ -8293,8 +8293,8 @@ H({
|
|
|
8293
8293
|
body: i
|
|
8294
8294
|
};
|
|
8295
8295
|
},
|
|
8296
|
-
htmlBuilder:
|
|
8297
|
-
mathmlBuilder:
|
|
8296
|
+
htmlBuilder: hn,
|
|
8297
|
+
mathmlBuilder: dn
|
|
8298
8298
|
});
|
|
8299
8299
|
H({
|
|
8300
8300
|
type: "cr",
|
|
@@ -8336,7 +8336,7 @@ var hr = {
|
|
|
8336
8336
|
"\\xdef": "\\xdef",
|
|
8337
8337
|
"\\let": "\\\\globallet",
|
|
8338
8338
|
"\\futurelet": "\\\\globalfuture"
|
|
8339
|
-
},
|
|
8339
|
+
}, mn = (r) => {
|
|
8340
8340
|
var e = r.text;
|
|
8341
8341
|
if (/^(?:[\\{}$&#^_]|EOF)$/.test(e))
|
|
8342
8342
|
throw new N("Expected a control sequence", r);
|
|
@@ -8344,7 +8344,7 @@ var hr = {
|
|
|
8344
8344
|
}, M1 = (r) => {
|
|
8345
8345
|
var e = r.gullet.popToken();
|
|
8346
8346
|
return e.text === "=" && (e = r.gullet.popToken(), e.text === " " && (e = r.gullet.popToken())), e;
|
|
8347
|
-
},
|
|
8347
|
+
}, pn = (r, e, t, a) => {
|
|
8348
8348
|
var n = r.gullet.macros.get(t.text);
|
|
8349
8349
|
n == null && (t.noexpand = !0, n = {
|
|
8350
8350
|
tokens: [t],
|
|
@@ -8437,10 +8437,10 @@ H({
|
|
|
8437
8437
|
var {
|
|
8438
8438
|
parser: e,
|
|
8439
8439
|
funcName: t
|
|
8440
|
-
} = r, a =
|
|
8440
|
+
} = r, a = mn(e.gullet.popToken());
|
|
8441
8441
|
e.gullet.consumeSpaces();
|
|
8442
8442
|
var n = M1(e);
|
|
8443
|
-
return
|
|
8443
|
+
return pn(e, a, n, t === "\\\\globallet"), {
|
|
8444
8444
|
type: "internal",
|
|
8445
8445
|
mode: e.mode
|
|
8446
8446
|
};
|
|
@@ -8462,14 +8462,14 @@ H({
|
|
|
8462
8462
|
var {
|
|
8463
8463
|
parser: e,
|
|
8464
8464
|
funcName: t
|
|
8465
|
-
} = r, a =
|
|
8466
|
-
return
|
|
8465
|
+
} = r, a = mn(e.gullet.popToken()), n = e.gullet.popToken(), i = e.gullet.popToken();
|
|
8466
|
+
return pn(e, a, i, t === "\\\\globalfuture"), e.gullet.pushToken(i), e.gullet.pushToken(n), {
|
|
8467
8467
|
type: "internal",
|
|
8468
8468
|
mode: e.mode
|
|
8469
8469
|
};
|
|
8470
8470
|
}
|
|
8471
8471
|
});
|
|
8472
|
-
var
|
|
8472
|
+
var K0 = function(e, t, a) {
|
|
8473
8473
|
var n = ie.math[e] && ie.math[e].replace, i = Sr(n || e, t, a);
|
|
8474
8474
|
if (!i)
|
|
8475
8475
|
throw new Error("Unsupported symbol " + e + " and font size " + t + ".");
|
|
@@ -8477,17 +8477,17 @@ var X0 = function(e, t, a) {
|
|
|
8477
8477
|
}, Br = function(e, t, a, n) {
|
|
8478
8478
|
var i = a.havingBaseStyle(t), o = k.makeSpan(n.concat(i.sizingClasses(a)), [e], a), u = i.sizeMultiplier / a.sizeMultiplier;
|
|
8479
8479
|
return o.height *= u, o.depth *= u, o.maxFontSize = i.sizeMultiplier, o;
|
|
8480
|
-
},
|
|
8480
|
+
}, fn = function(e, t, a) {
|
|
8481
8481
|
var n = t.havingBaseStyle(a), i = (1 - t.sizeMultiplier / n.sizeMultiplier) * t.fontMetrics().axisHeight;
|
|
8482
8482
|
e.classes.push("delimcenter"), e.style.top = R(i), e.height -= i, e.depth += i;
|
|
8483
8483
|
}, A1 = function(e, t, a, n, i, o) {
|
|
8484
8484
|
var u = k.makeSymbol(e, "Main-Regular", i, n), h = Br(u, t, n, o);
|
|
8485
|
-
return a &&
|
|
8485
|
+
return a && fn(h, n, t), h;
|
|
8486
8486
|
}, z1 = function(e, t, a, n) {
|
|
8487
8487
|
return k.makeSymbol(e, "Size" + t + "-Regular", a, n);
|
|
8488
|
-
},
|
|
8489
|
-
var u = z1(e, t, i, n), h = Br(k.makeSpan(["delimsizing", "size" + t], [u], n),
|
|
8490
|
-
return a &&
|
|
8488
|
+
}, vn = function(e, t, a, n, i, o) {
|
|
8489
|
+
var u = z1(e, t, i, n), h = Br(k.makeSpan(["delimsizing", "size" + t], [u], n), V.TEXT, n, o);
|
|
8490
|
+
return a && fn(h, n, V.TEXT), h;
|
|
8491
8491
|
}, Wt = function(e, t, a) {
|
|
8492
8492
|
var n;
|
|
8493
8493
|
t === "Size1-Regular" ? n = "delim-size1" : n = "delim-size4";
|
|
@@ -8512,45 +8512,45 @@ var X0 = function(e, t, a) {
|
|
|
8512
8512
|
}, dr = 8e-3, xt = {
|
|
8513
8513
|
type: "kern",
|
|
8514
8514
|
size: -1 * dr
|
|
8515
|
-
}, T1 = ["|", "\\lvert", "\\rvert", "\\vert"], C1 = ["\\|", "\\lVert", "\\rVert", "\\Vert"],
|
|
8515
|
+
}, T1 = ["|", "\\lvert", "\\rvert", "\\vert"], C1 = ["\\|", "\\lVert", "\\rVert", "\\Vert"], gn = function(e, t, a, n, i, o) {
|
|
8516
8516
|
var u, h, m, v, b = "", w = 0;
|
|
8517
8517
|
u = m = v = e, h = null;
|
|
8518
8518
|
var S = "Size1-Regular";
|
|
8519
|
-
e === "\\uparrow" ? m = v = "⏐" : e === "\\Uparrow" ? m = v = "‖" : e === "\\downarrow" ? u = m = "⏐" : e === "\\Downarrow" ? u = m = "‖" : e === "\\updownarrow" ? (u = "\\uparrow", m = "⏐", v = "\\downarrow") : e === "\\Updownarrow" ? (u = "\\Uparrow", m = "‖", v = "\\Downarrow") :
|
|
8520
|
-
var E =
|
|
8519
|
+
e === "\\uparrow" ? m = v = "⏐" : e === "\\Uparrow" ? m = v = "‖" : e === "\\downarrow" ? u = m = "⏐" : e === "\\Downarrow" ? u = m = "‖" : e === "\\updownarrow" ? (u = "\\uparrow", m = "⏐", v = "\\downarrow") : e === "\\Updownarrow" ? (u = "\\Uparrow", m = "‖", v = "\\Downarrow") : j.contains(T1, e) ? (m = "∣", b = "vert", w = 333) : j.contains(C1, e) ? (m = "∥", b = "doublevert", w = 556) : e === "[" || e === "\\lbrack" ? (u = "⎡", m = "⎢", v = "⎣", S = "Size4-Regular", b = "lbrack", w = 667) : e === "]" || e === "\\rbrack" ? (u = "⎤", m = "⎥", v = "⎦", S = "Size4-Regular", b = "rbrack", w = 667) : e === "\\lfloor" || e === "⌊" ? (m = u = "⎢", v = "⎣", S = "Size4-Regular", b = "lfloor", w = 667) : e === "\\lceil" || e === "⌈" ? (u = "⎡", m = v = "⎢", S = "Size4-Regular", b = "lceil", w = 667) : e === "\\rfloor" || e === "⌋" ? (m = u = "⎥", v = "⎦", S = "Size4-Regular", b = "rfloor", w = 667) : e === "\\rceil" || e === "⌉" ? (u = "⎤", m = v = "⎥", S = "Size4-Regular", b = "rceil", w = 667) : e === "(" || e === "\\lparen" ? (u = "⎛", m = "⎜", v = "⎝", S = "Size4-Regular", b = "lparen", w = 875) : e === ")" || e === "\\rparen" ? (u = "⎞", m = "⎟", v = "⎠", S = "Size4-Regular", b = "rparen", w = 875) : e === "\\{" || e === "\\lbrace" ? (u = "⎧", h = "⎨", v = "⎩", m = "⎪", S = "Size4-Regular") : e === "\\}" || e === "\\rbrace" ? (u = "⎫", h = "⎬", v = "⎭", m = "⎪", S = "Size4-Regular") : e === "\\lgroup" || e === "⟮" ? (u = "⎧", v = "⎩", m = "⎪", S = "Size4-Regular") : e === "\\rgroup" || e === "⟯" ? (u = "⎫", v = "⎭", m = "⎪", S = "Size4-Regular") : e === "\\lmoustache" || e === "⎰" ? (u = "⎧", v = "⎭", m = "⎪", S = "Size4-Regular") : (e === "\\rmoustache" || e === "⎱") && (u = "⎫", v = "⎩", m = "⎪", S = "Size4-Regular");
|
|
8520
|
+
var E = K0(u, S, i), T = E.height + E.depth, C = K0(m, S, i), B = C.height + C.depth, g = K0(v, S, i), x = g.height + g.depth, A = 0, M = 1;
|
|
8521
8521
|
if (h !== null) {
|
|
8522
|
-
var z =
|
|
8522
|
+
var z = K0(h, S, i);
|
|
8523
8523
|
A = z.height + z.depth, M = 2;
|
|
8524
8524
|
}
|
|
8525
8525
|
var F = T + x + A, _ = Math.max(0, Math.ceil((t - F) / (M * B))), q = F + _ * M * B, J = n.fontMetrics().axisHeight;
|
|
8526
8526
|
a && (J *= n.sizeMultiplier);
|
|
8527
|
-
var Q = q / 2 - J,
|
|
8527
|
+
var Q = q / 2 - J, re = [];
|
|
8528
8528
|
if (b.length > 0) {
|
|
8529
|
-
var Pe = q - T - x, fe = Math.round(q * 1e3),
|
|
8529
|
+
var Pe = q - T - x, fe = Math.round(q * 1e3), ze = Fs(b, Math.round(Pe * 1e3)), je = new g0(b, ze), Je = (w / 1e3).toFixed(3) + "em", oe = (fe / 1e3).toFixed(3) + "em", xe = new i0([je], {
|
|
8530
8530
|
width: Je,
|
|
8531
8531
|
height: oe,
|
|
8532
8532
|
viewBox: "0 0 " + w + " " + fe
|
|
8533
8533
|
}), ve = k.makeSvgSpan([], [xe], n);
|
|
8534
|
-
ve.height = fe / 1e3, ve.style.width = Je, ve.style.height = oe,
|
|
8534
|
+
ve.height = fe / 1e3, ve.style.width = Je, ve.style.height = oe, re.push({
|
|
8535
8535
|
type: "elem",
|
|
8536
8536
|
elem: ve
|
|
8537
8537
|
});
|
|
8538
8538
|
} else {
|
|
8539
|
-
if (
|
|
8540
|
-
var
|
|
8541
|
-
|
|
8539
|
+
if (re.push(Wt(v, S, i)), re.push(xt), h === null) {
|
|
8540
|
+
var Te = q - T - x + 2 * dr;
|
|
8541
|
+
re.push(Yt(m, Te, n));
|
|
8542
8542
|
} else {
|
|
8543
8543
|
var se = (q - T - x - A) / 2 + 2 * dr;
|
|
8544
|
-
|
|
8544
|
+
re.push(Yt(m, se, n)), re.push(xt), re.push(Wt(h, S, i)), re.push(xt), re.push(Yt(m, se, n));
|
|
8545
8545
|
}
|
|
8546
|
-
|
|
8546
|
+
re.push(xt), re.push(Wt(u, S, i));
|
|
8547
8547
|
}
|
|
8548
|
-
var S0 = n.havingBaseStyle(
|
|
8548
|
+
var S0 = n.havingBaseStyle(V.TEXT), De = k.makeVList({
|
|
8549
8549
|
positionType: "bottom",
|
|
8550
8550
|
positionData: Q,
|
|
8551
|
-
children:
|
|
8551
|
+
children: re
|
|
8552
8552
|
}, S0);
|
|
8553
|
-
return Br(k.makeSpan(["delimsizing", "mult"], [De], S0),
|
|
8553
|
+
return Br(k.makeSpan(["delimsizing", "mult"], [De], S0), V.TEXT, n, o);
|
|
8554
8554
|
}, Zt = 80, Xt = 0.08, Kt = function(e, t, a, n, i) {
|
|
8555
8555
|
var o = Ds(e, n, a), u = new g0(e, o), h = new i0([u], {
|
|
8556
8556
|
// Note: 1000:1 ratio of viewBox to document em width.
|
|
@@ -8561,7 +8561,7 @@ var X0 = function(e, t, a) {
|
|
|
8561
8561
|
});
|
|
8562
8562
|
return k.makeSvgSpan(["hide-tail"], [h], i);
|
|
8563
8563
|
}, E1 = function(e, t) {
|
|
8564
|
-
var a = t.havingBaseSizing(), n =
|
|
8564
|
+
var a = t.havingBaseSizing(), n = wn("\\surd", e * a.sizeMultiplier, xn, a), i = a.sizeMultiplier, o = Math.max(0, t.minRuleThickness - t.fontMetrics().sqrtRuleThickness), u, h = 0, m = 0, v = 0, b;
|
|
8565
8565
|
return n.type === "small" ? (v = 1e3 + 1e3 * o + Zt, e < 1 ? i = 1 : e < 1.4 && (i = 0.7), h = (1 + o + Xt) / i, m = (1 + o) / i, u = Kt("sqrtMain", h, v, o, t), u.style.minWidth = "0.853em", b = 0.833 / i) : n.type === "large" ? (v = (1e3 + Zt) * Q0[n.size], m = (Q0[n.size] + o) / i, h = (Q0[n.size] + o + Xt) / i, u = Kt("sqrtSize" + n.size, h, v, o, t), u.style.minWidth = "1.02em", b = 1 / i) : (h = e + o + Xt, m = e + o, v = Math.floor(1e3 * e + o) + Zt, u = Kt("sqrtTall", h, v, o, t), u.style.minWidth = "0.742em", b = 1.056), u.height = m, u.style.height = R(h), {
|
|
8566
8566
|
span: u,
|
|
8567
8567
|
advanceWidth: b,
|
|
@@ -8571,21 +8571,21 @@ var X0 = function(e, t, a) {
|
|
|
8571
8571
|
// have thicker rules.
|
|
8572
8572
|
ruleWidth: (t.fontMetrics().sqrtRuleThickness + o) * i
|
|
8573
8573
|
};
|
|
8574
|
-
},
|
|
8575
|
-
if (e === "<" || e === "\\lt" || e === "⟨" ? e = "\\langle" : (e === ">" || e === "\\gt" || e === "⟩") && (e = "\\rangle"),
|
|
8576
|
-
return
|
|
8577
|
-
if (
|
|
8578
|
-
return
|
|
8574
|
+
}, bn = ["(", "\\lparen", ")", "\\rparen", "[", "\\lbrack", "]", "\\rbrack", "\\{", "\\lbrace", "\\}", "\\rbrace", "\\lfloor", "\\rfloor", "⌊", "⌋", "\\lceil", "\\rceil", "⌈", "⌉", "\\surd"], B1 = ["\\uparrow", "\\downarrow", "\\updownarrow", "\\Uparrow", "\\Downarrow", "\\Updownarrow", "|", "\\|", "\\vert", "\\Vert", "\\lvert", "\\rvert", "\\lVert", "\\rVert", "\\lgroup", "\\rgroup", "⟮", "⟯", "\\lmoustache", "\\rmoustache", "⎰", "⎱"], yn = ["<", ">", "\\langle", "\\rangle", "/", "\\backslash", "\\lt", "\\gt"], Q0 = [0, 1.2, 1.8, 2.4, 3], D1 = function(e, t, a, n, i) {
|
|
8575
|
+
if (e === "<" || e === "\\lt" || e === "⟨" ? e = "\\langle" : (e === ">" || e === "\\gt" || e === "⟩") && (e = "\\rangle"), j.contains(bn, e) || j.contains(yn, e))
|
|
8576
|
+
return vn(e, t, !1, a, n, i);
|
|
8577
|
+
if (j.contains(B1, e))
|
|
8578
|
+
return gn(e, Q0[t], !1, a, n, i);
|
|
8579
8579
|
throw new N("Illegal delimiter: '" + e + "'");
|
|
8580
8580
|
}, I1 = [{
|
|
8581
8581
|
type: "small",
|
|
8582
|
-
style:
|
|
8582
|
+
style: V.SCRIPTSCRIPT
|
|
8583
8583
|
}, {
|
|
8584
8584
|
type: "small",
|
|
8585
|
-
style:
|
|
8585
|
+
style: V.SCRIPT
|
|
8586
8586
|
}, {
|
|
8587
8587
|
type: "small",
|
|
8588
|
-
style:
|
|
8588
|
+
style: V.TEXT
|
|
8589
8589
|
}, {
|
|
8590
8590
|
type: "large",
|
|
8591
8591
|
size: 1
|
|
@@ -8600,24 +8600,24 @@ var X0 = function(e, t, a) {
|
|
|
8600
8600
|
size: 4
|
|
8601
8601
|
}], F1 = [{
|
|
8602
8602
|
type: "small",
|
|
8603
|
-
style:
|
|
8603
|
+
style: V.SCRIPTSCRIPT
|
|
8604
8604
|
}, {
|
|
8605
8605
|
type: "small",
|
|
8606
|
-
style:
|
|
8606
|
+
style: V.SCRIPT
|
|
8607
8607
|
}, {
|
|
8608
8608
|
type: "small",
|
|
8609
|
-
style:
|
|
8609
|
+
style: V.TEXT
|
|
8610
8610
|
}, {
|
|
8611
8611
|
type: "stack"
|
|
8612
|
-
}],
|
|
8612
|
+
}], xn = [{
|
|
8613
8613
|
type: "small",
|
|
8614
|
-
style:
|
|
8614
|
+
style: V.SCRIPTSCRIPT
|
|
8615
8615
|
}, {
|
|
8616
8616
|
type: "small",
|
|
8617
|
-
style:
|
|
8617
|
+
style: V.SCRIPT
|
|
8618
8618
|
}, {
|
|
8619
8619
|
type: "small",
|
|
8620
|
-
style:
|
|
8620
|
+
style: V.TEXT
|
|
8621
8621
|
}, {
|
|
8622
8622
|
type: "large",
|
|
8623
8623
|
size: 1
|
|
@@ -8640,9 +8640,9 @@ var X0 = function(e, t, a) {
|
|
|
8640
8640
|
if (e.type === "stack")
|
|
8641
8641
|
return "Size4-Regular";
|
|
8642
8642
|
throw new Error("Add support for delim type '" + e.type + "' here.");
|
|
8643
|
-
},
|
|
8643
|
+
}, wn = function(e, t, a, n) {
|
|
8644
8644
|
for (var i = Math.min(2, 3 - n.style.size), o = i; o < a.length && a[o].type !== "stack"; o++) {
|
|
8645
|
-
var u =
|
|
8645
|
+
var u = K0(e, N1(a[o]), "math"), h = u.height + u.depth;
|
|
8646
8646
|
if (a[o].type === "small") {
|
|
8647
8647
|
var m = n.havingBaseStyle(a[o].style);
|
|
8648
8648
|
h *= m.sizeMultiplier;
|
|
@@ -8651,12 +8651,12 @@ var X0 = function(e, t, a) {
|
|
|
8651
8651
|
return a[o];
|
|
8652
8652
|
}
|
|
8653
8653
|
return a[a.length - 1];
|
|
8654
|
-
},
|
|
8654
|
+
}, kn = function(e, t, a, n, i, o) {
|
|
8655
8655
|
e === "<" || e === "\\lt" || e === "⟨" ? e = "\\langle" : (e === ">" || e === "\\gt" || e === "⟩") && (e = "\\rangle");
|
|
8656
8656
|
var u;
|
|
8657
|
-
|
|
8658
|
-
var h =
|
|
8659
|
-
return h.type === "small" ? A1(e, h.style, a, n, i, o) : h.type === "large" ?
|
|
8657
|
+
j.contains(yn, e) ? u = I1 : j.contains(bn, e) ? u = xn : u = F1;
|
|
8658
|
+
var h = wn(e, t, u, n);
|
|
8659
|
+
return h.type === "small" ? A1(e, h.style, a, n, i, o) : h.type === "large" ? vn(e, h.size, a, n, i, o) : gn(e, t, a, n, i, o);
|
|
8660
8660
|
}, q1 = function(e, t, a, n, i, o) {
|
|
8661
8661
|
var u = n.fontMetrics().axisHeight * n.sizeMultiplier, h = 901, m = 5 / n.fontMetrics().ptPerEm, v = Math.max(t - u, a + u), b = Math.max(
|
|
8662
8662
|
// In real TeX, calculations are done using integral values which are
|
|
@@ -8671,12 +8671,12 @@ var X0 = function(e, t, a) {
|
|
|
8671
8671
|
v / 500 * h,
|
|
8672
8672
|
2 * v - m
|
|
8673
8673
|
);
|
|
8674
|
-
return
|
|
8674
|
+
return kn(e, b, !0, n, i, o);
|
|
8675
8675
|
}, a0 = {
|
|
8676
8676
|
sqrtImage: E1,
|
|
8677
8677
|
sizedDelim: D1,
|
|
8678
8678
|
sizeToMaxHeight: Q0,
|
|
8679
|
-
customSizedDelim:
|
|
8679
|
+
customSizedDelim: kn,
|
|
8680
8680
|
leftRightDelim: q1
|
|
8681
8681
|
}, oa = {
|
|
8682
8682
|
"\\bigl": {
|
|
@@ -8746,7 +8746,7 @@ var X0 = function(e, t, a) {
|
|
|
8746
8746
|
}, R1 = ["(", "\\lparen", ")", "\\rparen", "[", "\\lbrack", "]", "\\rbrack", "\\{", "\\lbrace", "\\}", "\\rbrace", "\\lfloor", "\\rfloor", "⌊", "⌋", "\\lceil", "\\rceil", "⌈", "⌉", "<", ">", "\\langle", "⟨", "\\rangle", "⟩", "\\lt", "\\gt", "\\lvert", "\\rvert", "\\lVert", "\\rVert", "\\lgroup", "\\rgroup", "⟮", "⟯", "\\lmoustache", "\\rmoustache", "⎰", "⎱", "/", "\\backslash", "|", "\\vert", "\\|", "\\Vert", "\\uparrow", "\\Uparrow", "\\downarrow", "\\Downarrow", "\\updownarrow", "\\Updownarrow", "."];
|
|
8747
8747
|
function Rt(r, e) {
|
|
8748
8748
|
var t = Nt(r);
|
|
8749
|
-
if (t &&
|
|
8749
|
+
if (t && j.contains(R1, t.text))
|
|
8750
8750
|
return t;
|
|
8751
8751
|
throw t ? new N("Invalid delimiter '" + t.text + "' after '" + e.funcName + "'", r) : new N("Invalid delimiter type '" + r.type + "'", r);
|
|
8752
8752
|
}
|
|
@@ -8770,7 +8770,7 @@ H({
|
|
|
8770
8770
|
htmlBuilder: (r, e) => r.delim === "." ? k.makeSpan([r.mclass]) : a0.sizedDelim(r.delim, r.size, e, r.mode, [r.mclass]),
|
|
8771
8771
|
mathmlBuilder: (r) => {
|
|
8772
8772
|
var e = [];
|
|
8773
|
-
r.delim !== "." && e.push(
|
|
8773
|
+
r.delim !== "." && e.push(He(r.delim, r.mode));
|
|
8774
8774
|
var t = new I.MathNode("mo", e);
|
|
8775
8775
|
r.mclass === "mopen" || r.mclass === "mclose" ? t.setAttribute("fence", "true") : t.setAttribute("fence", "false"), t.setAttribute("stretchy", "true");
|
|
8776
8776
|
var a = R(a0.sizeToMaxHeight[r.size]);
|
|
@@ -8845,13 +8845,13 @@ H({
|
|
|
8845
8845
|
},
|
|
8846
8846
|
mathmlBuilder: (r, e) => {
|
|
8847
8847
|
ua(r);
|
|
8848
|
-
var t =
|
|
8848
|
+
var t = Ae(r.body, e);
|
|
8849
8849
|
if (r.left !== ".") {
|
|
8850
|
-
var a = new I.MathNode("mo", [
|
|
8850
|
+
var a = new I.MathNode("mo", [He(r.left, r.mode)]);
|
|
8851
8851
|
a.setAttribute("fence", "true"), t.unshift(a);
|
|
8852
8852
|
}
|
|
8853
8853
|
if (r.right !== ".") {
|
|
8854
|
-
var n = new I.MathNode("mo", [
|
|
8854
|
+
var n = new I.MathNode("mo", [He(r.right, r.mode)]);
|
|
8855
8855
|
n.setAttribute("fence", "true"), r.rightColor && n.setAttribute("mathcolor", r.rightColor), t.push(n);
|
|
8856
8856
|
}
|
|
8857
8857
|
return zr(t);
|
|
@@ -8889,12 +8889,12 @@ H({
|
|
|
8889
8889
|
return t;
|
|
8890
8890
|
},
|
|
8891
8891
|
mathmlBuilder: (r, e) => {
|
|
8892
|
-
var t = r.delim === "\\vert" || r.delim === "|" ?
|
|
8892
|
+
var t = r.delim === "\\vert" || r.delim === "|" ? He("|", "text") : He(r.delim, r.mode), a = new I.MathNode("mo", [t]);
|
|
8893
8893
|
return a.setAttribute("fence", "true"), a.setAttribute("lspace", "0.05em"), a.setAttribute("rspace", "0.05em"), a;
|
|
8894
8894
|
}
|
|
8895
8895
|
});
|
|
8896
8896
|
var Dr = (r, e) => {
|
|
8897
|
-
var t = k.wrapFragment(K(r.body, e), e), a = r.label.slice(1), n = e.sizeMultiplier, i, o = 0, u =
|
|
8897
|
+
var t = k.wrapFragment(K(r.body, e), e), a = r.label.slice(1), n = e.sizeMultiplier, i, o = 0, u = j.isCharacterBox(r.body);
|
|
8898
8898
|
if (a === "sout")
|
|
8899
8899
|
i = k.makeSpan(["stretchy", "sout"]), i.height = e.fontMetrics().defaultRuleThickness / n, o = -0.5 * e.fontMetrics().xHeight;
|
|
8900
8900
|
else if (a === "phase") {
|
|
@@ -8965,7 +8965,7 @@ var Dr = (r, e) => {
|
|
|
8965
8965
|
}
|
|
8966
8966
|
return /cancel/.test(a) && (g.height = t.height, g.depth = t.depth), /cancel/.test(a) && !u ? k.makeSpan(["mord", "cancel-lap"], [g], e) : k.makeSpan(["mord"], [g], e);
|
|
8967
8967
|
}, Ir = (r, e) => {
|
|
8968
|
-
var t = 0, a = new I.MathNode(r.label.indexOf("colorbox") > -1 ? "mpadded" : "menclose", [
|
|
8968
|
+
var t = 0, a = new I.MathNode(r.label.indexOf("colorbox") > -1 ? "mpadded" : "menclose", [ne(r.body, e)]);
|
|
8969
8969
|
switch (r.label) {
|
|
8970
8970
|
case "\\cancel":
|
|
8971
8971
|
a.setAttribute("notation", "updiagonalstrike");
|
|
@@ -9113,7 +9113,7 @@ H({
|
|
|
9113
9113
|
};
|
|
9114
9114
|
}
|
|
9115
9115
|
});
|
|
9116
|
-
var
|
|
9116
|
+
var Sn = {};
|
|
9117
9117
|
function Ze(r) {
|
|
9118
9118
|
for (var {
|
|
9119
9119
|
type: e,
|
|
@@ -9129,12 +9129,12 @@ function Ze(r) {
|
|
|
9129
9129
|
numOptionalArgs: 0,
|
|
9130
9130
|
handler: n
|
|
9131
9131
|
}, h = 0; h < t.length; ++h)
|
|
9132
|
-
|
|
9132
|
+
Sn[t[h]] = u;
|
|
9133
9133
|
i && (Ct[e] = i), o && (Et[e] = o);
|
|
9134
9134
|
}
|
|
9135
|
-
var
|
|
9135
|
+
var Mn = {};
|
|
9136
9136
|
function d(r, e) {
|
|
9137
|
-
|
|
9137
|
+
Mn[r] = e;
|
|
9138
9138
|
}
|
|
9139
9139
|
function ca(r) {
|
|
9140
9140
|
var e = [];
|
|
@@ -9179,7 +9179,7 @@ function x0(r, e, t) {
|
|
|
9179
9179
|
h && r.gullet.macros.set("\\@eqnsw", "1", !0);
|
|
9180
9180
|
}
|
|
9181
9181
|
function A() {
|
|
9182
|
-
g && (r.gullet.macros.get("\\df@tag") ? (g.push(r.subparse([new
|
|
9182
|
+
g && (r.gullet.macros.get("\\df@tag") ? (g.push(r.subparse([new Re("\\df@tag")])), r.gullet.macros.set("\\df@tag", void 0, !0)) : g.push(!!h && r.gullet.macros.get("\\@eqnsw") === "1"));
|
|
9183
9183
|
}
|
|
9184
9184
|
for (x(), B.push(ca(r)); ; ) {
|
|
9185
9185
|
var M = r.parseExpression(!1, m ? "\\end" : "\\\\");
|
|
@@ -9237,7 +9237,7 @@ var Xe = function(e, t) {
|
|
|
9237
9237
|
// User override.
|
|
9238
9238
|
), b = 1 / t.fontMetrics().ptPerEm, w = 5 * b;
|
|
9239
9239
|
if (e.colSeparationType && e.colSeparationType === "small") {
|
|
9240
|
-
var S = t.havingStyle(
|
|
9240
|
+
var S = t.havingStyle(V.SCRIPT).sizeMultiplier;
|
|
9241
9241
|
w = 0.2778 * (S / t.sizeMultiplier);
|
|
9242
9242
|
}
|
|
9243
9243
|
var E = e.colSeparationType === "CD" ? ce({
|
|
@@ -9262,13 +9262,13 @@ var Xe = function(e, t) {
|
|
|
9262
9262
|
var J = e.rowGaps[a], Q = 0;
|
|
9263
9263
|
J && (Q = ce(J, t), Q > 0 && (Q += g, F < Q && (F = Q), Q = 0)), e.addJot && (F += T), _.height = z, _.depth = F, x += z, _.pos = x, x += F + Q, h[a] = _, A(o[a + 1]);
|
|
9264
9264
|
}
|
|
9265
|
-
var
|
|
9265
|
+
var re = x / 2 + t.fontMetrics().axisHeight, Pe = e.cols || [], fe = [], ze, je, Je = [];
|
|
9266
9266
|
if (e.tags && e.tags.some((ct) => ct))
|
|
9267
9267
|
for (a = 0; a < i; ++a) {
|
|
9268
|
-
var oe = h[a], xe = oe.pos -
|
|
9269
|
-
ve === !0 ?
|
|
9268
|
+
var oe = h[a], xe = oe.pos - re, ve = e.tags[a], Te = void 0;
|
|
9269
|
+
ve === !0 ? Te = k.makeSpan(["eqn-num"], [], t) : ve === !1 ? Te = k.makeSpan([], [], t) : Te = k.makeSpan([], pe(ve, t, !0), t), Te.depth = oe.depth, Te.height = oe.height, Je.push({
|
|
9270
9270
|
type: "elem",
|
|
9271
|
-
elem:
|
|
9271
|
+
elem: Te,
|
|
9272
9272
|
shift: xe
|
|
9273
9273
|
});
|
|
9274
9274
|
}
|
|
@@ -9280,46 +9280,46 @@ var Xe = function(e, t) {
|
|
|
9280
9280
|
++n, ++je
|
|
9281
9281
|
) {
|
|
9282
9282
|
for (var se = Pe[je] || {}, S0 = !0; se.type === "separator"; ) {
|
|
9283
|
-
if (S0 || (
|
|
9283
|
+
if (S0 || (ze = k.makeSpan(["arraycolsep"], []), ze.style.width = R(t.fontMetrics().doubleRuleSep), fe.push(ze)), se.separator === "|" || se.separator === ":") {
|
|
9284
9284
|
var De = se.separator === "|" ? "solid" : "dashed", Ie = k.makeSpan(["vertical-separator"], [], t);
|
|
9285
9285
|
Ie.style.height = R(x), Ie.style.borderRightWidth = R(v), Ie.style.borderRightStyle = De, Ie.style.margin = "0 " + R(-v / 2);
|
|
9286
|
-
var M0 = x -
|
|
9286
|
+
var M0 = x - re;
|
|
9287
9287
|
M0 && (Ie.style.verticalAlign = R(-M0)), fe.push(Ie);
|
|
9288
9288
|
} else
|
|
9289
9289
|
throw new N("Invalid separator type: " + se.separator);
|
|
9290
9290
|
je++, se = Pe[je] || {}, S0 = !1;
|
|
9291
9291
|
}
|
|
9292
9292
|
if (!(n >= u)) {
|
|
9293
|
-
var
|
|
9294
|
-
(n > 0 || e.hskipBeforeAndAfter) && (
|
|
9293
|
+
var _e = void 0;
|
|
9294
|
+
(n > 0 || e.hskipBeforeAndAfter) && (_e = j.deflt(se.pregap, w), _e !== 0 && (ze = k.makeSpan(["arraycolsep"], []), ze.style.width = R(_e), fe.push(ze)));
|
|
9295
9295
|
var Ge = [];
|
|
9296
9296
|
for (a = 0; a < i; ++a) {
|
|
9297
9297
|
var A0 = h[a], h0 = A0[n];
|
|
9298
9298
|
if (h0) {
|
|
9299
|
-
var
|
|
9299
|
+
var q0 = A0.pos - re;
|
|
9300
9300
|
h0.depth = A0.depth, h0.height = A0.height, Ge.push({
|
|
9301
9301
|
type: "elem",
|
|
9302
9302
|
elem: h0,
|
|
9303
|
-
shift:
|
|
9303
|
+
shift: q0
|
|
9304
9304
|
});
|
|
9305
9305
|
}
|
|
9306
9306
|
}
|
|
9307
9307
|
Ge = k.makeVList({
|
|
9308
9308
|
positionType: "individualShift",
|
|
9309
9309
|
children: Ge
|
|
9310
|
-
}, t), Ge = k.makeSpan(["col-align-" + (se.align || "c")], [Ge]), fe.push(Ge), (n < u - 1 || e.hskipBeforeAndAfter) && (
|
|
9310
|
+
}, t), Ge = k.makeSpan(["col-align-" + (se.align || "c")], [Ge]), fe.push(Ge), (n < u - 1 || e.hskipBeforeAndAfter) && (_e = j.deflt(se.postgap, w), _e !== 0 && (ze = k.makeSpan(["arraycolsep"], []), ze.style.width = R(_e), fe.push(ze)));
|
|
9311
9311
|
}
|
|
9312
9312
|
}
|
|
9313
9313
|
if (h = k.makeSpan(["mtable"], fe), m.length > 0) {
|
|
9314
|
-
for (var _t = k.makeLineSpan("hline", t, v),
|
|
9314
|
+
for (var _t = k.makeLineSpan("hline", t, v), Y0 = k.makeLineSpan("hdashline", t, v), Lt = [{
|
|
9315
9315
|
type: "elem",
|
|
9316
9316
|
elem: h,
|
|
9317
9317
|
shift: 0
|
|
9318
9318
|
}]; m.length > 0; ) {
|
|
9319
|
-
var $r = m.pop(), Pr = $r.pos -
|
|
9319
|
+
var $r = m.pop(), Pr = $r.pos - re;
|
|
9320
9320
|
$r.isDashed ? Lt.push({
|
|
9321
9321
|
type: "elem",
|
|
9322
|
-
elem:
|
|
9322
|
+
elem: Y0,
|
|
9323
9323
|
shift: Pr
|
|
9324
9324
|
}) : Lt.push({
|
|
9325
9325
|
type: "elem",
|
|
@@ -9346,7 +9346,7 @@ var Xe = function(e, t) {
|
|
|
9346
9346
|
}, Ke = function(e, t) {
|
|
9347
9347
|
for (var a = [], n = new I.MathNode("mtd", [], ["mtr-glue"]), i = new I.MathNode("mtd", [], ["mml-eqn-num"]), o = 0; o < e.body.length; o++) {
|
|
9348
9348
|
for (var u = e.body[o], h = [], m = 0; m < u.length; m++)
|
|
9349
|
-
h.push(new I.MathNode("mtd", [
|
|
9349
|
+
h.push(new I.MathNode("mtd", [ne(u[m], t)]));
|
|
9350
9350
|
e.tags && e.tags[o] && (h.unshift(n), h.push(n), e.leqno ? h.unshift(i) : h.push(i)), a.push(new I.MathNode("mtr", h));
|
|
9351
9351
|
}
|
|
9352
9352
|
var v = new I.MathNode("mtable", a), b = e.arraystretch === 0.5 ? 0.1 : 0.16 + e.arraystretch - 1 + (e.addJot ? 0.09 : 0);
|
|
@@ -9369,7 +9369,7 @@ var Xe = function(e, t) {
|
|
|
9369
9369
|
for (var q = 1; q < _.length - 1; q++)
|
|
9370
9370
|
F += _[q].length === 0 ? "none " : _[q][0] ? "dashed " : "solid ";
|
|
9371
9371
|
return /[sd]/.test(F) && v.setAttribute("rowlines", F.trim()), w !== "" && (v = new I.MathNode("menclose", [v]), v.setAttribute("notation", w.trim())), e.arraystretch && e.arraystretch < 1 && (v = new I.MathNode("mstyle", [v]), v.setAttribute("scriptlevel", "1")), v;
|
|
9372
|
-
},
|
|
9372
|
+
}, An = function(e, t) {
|
|
9373
9373
|
e.envName.indexOf("ed") === -1 && Ot(e);
|
|
9374
9374
|
var a = [], n = e.envName.indexOf("at") > -1 ? "alignat" : "align", i = e.envName === "split", o = x0(e.parser, {
|
|
9375
9375
|
cols: a,
|
|
@@ -9590,7 +9590,7 @@ Ze({
|
|
|
9590
9590
|
props: {
|
|
9591
9591
|
numArgs: 0
|
|
9592
9592
|
},
|
|
9593
|
-
handler:
|
|
9593
|
+
handler: An,
|
|
9594
9594
|
htmlBuilder: Xe,
|
|
9595
9595
|
mathmlBuilder: Ke
|
|
9596
9596
|
});
|
|
@@ -9601,7 +9601,7 @@ Ze({
|
|
|
9601
9601
|
numArgs: 0
|
|
9602
9602
|
},
|
|
9603
9603
|
handler(r) {
|
|
9604
|
-
|
|
9604
|
+
j.contains(["gather", "gather*"], r.envName) && Ot(r);
|
|
9605
9605
|
var e = {
|
|
9606
9606
|
cols: [{
|
|
9607
9607
|
type: "align",
|
|
@@ -9624,7 +9624,7 @@ Ze({
|
|
|
9624
9624
|
props: {
|
|
9625
9625
|
numArgs: 1
|
|
9626
9626
|
},
|
|
9627
|
-
handler:
|
|
9627
|
+
handler: An,
|
|
9628
9628
|
htmlBuilder: Xe,
|
|
9629
9629
|
mathmlBuilder: Ke
|
|
9630
9630
|
});
|
|
@@ -9675,7 +9675,7 @@ H({
|
|
|
9675
9675
|
throw new N(r.funcName + " valid only within array environment");
|
|
9676
9676
|
}
|
|
9677
9677
|
});
|
|
9678
|
-
var ha =
|
|
9678
|
+
var ha = Sn;
|
|
9679
9679
|
H({
|
|
9680
9680
|
type: "environment",
|
|
9681
9681
|
names: ["\\begin", "\\end"],
|
|
@@ -9717,12 +9717,12 @@ H({
|
|
|
9717
9717
|
};
|
|
9718
9718
|
}
|
|
9719
9719
|
});
|
|
9720
|
-
var
|
|
9720
|
+
var zn = (r, e) => {
|
|
9721
9721
|
var t = r.font, a = e.withFont(t);
|
|
9722
9722
|
return K(r.body, a);
|
|
9723
|
-
},
|
|
9723
|
+
}, Tn = (r, e) => {
|
|
9724
9724
|
var t = r.font, a = e.withFont(t);
|
|
9725
|
-
return
|
|
9725
|
+
return ne(r.body, a);
|
|
9726
9726
|
}, da = {
|
|
9727
9727
|
"\\Bbb": "\\mathbb",
|
|
9728
9728
|
"\\bold": "\\mathbf",
|
|
@@ -9765,8 +9765,8 @@ H({
|
|
|
9765
9765
|
body: n
|
|
9766
9766
|
};
|
|
9767
9767
|
},
|
|
9768
|
-
htmlBuilder:
|
|
9769
|
-
mathmlBuilder:
|
|
9768
|
+
htmlBuilder: zn,
|
|
9769
|
+
mathmlBuilder: Tn
|
|
9770
9770
|
});
|
|
9771
9771
|
H({
|
|
9772
9772
|
type: "mclass",
|
|
@@ -9777,7 +9777,7 @@ H({
|
|
|
9777
9777
|
handler: (r, e) => {
|
|
9778
9778
|
var {
|
|
9779
9779
|
parser: t
|
|
9780
|
-
} = r, a = e[0], n =
|
|
9780
|
+
} = r, a = e[0], n = j.isCharacterBox(a);
|
|
9781
9781
|
return {
|
|
9782
9782
|
type: "mclass",
|
|
9783
9783
|
mode: t.mode,
|
|
@@ -9818,14 +9818,14 @@ H({
|
|
|
9818
9818
|
}
|
|
9819
9819
|
};
|
|
9820
9820
|
},
|
|
9821
|
-
htmlBuilder:
|
|
9822
|
-
mathmlBuilder:
|
|
9821
|
+
htmlBuilder: zn,
|
|
9822
|
+
mathmlBuilder: Tn
|
|
9823
9823
|
});
|
|
9824
|
-
var
|
|
9824
|
+
var Cn = (r, e) => {
|
|
9825
9825
|
var t = e;
|
|
9826
|
-
return r === "display" ? t = t.id >=
|
|
9826
|
+
return r === "display" ? t = t.id >= V.SCRIPT.id ? t.text() : V.DISPLAY : r === "text" && t.size === V.DISPLAY.size ? t = V.TEXT : r === "script" ? t = V.SCRIPT : r === "scriptscript" && (t = V.SCRIPTSCRIPT), t;
|
|
9827
9827
|
}, qr = (r, e) => {
|
|
9828
|
-
var t =
|
|
9828
|
+
var t = Cn(r.size, e.style), a = t.fracNum(), n = t.fracDen(), i;
|
|
9829
9829
|
i = e.havingStyle(a);
|
|
9830
9830
|
var o = K(r.numer, i, e);
|
|
9831
9831
|
if (r.continued) {
|
|
@@ -9836,7 +9836,7 @@ var zn = (r, e) => {
|
|
|
9836
9836
|
var m = K(r.denom, i, e), v, b, w;
|
|
9837
9837
|
r.hasBarLine ? (r.barSize ? (b = ce(r.barSize, e), v = k.makeLineSpan("frac-line", e, b)) : v = k.makeLineSpan("frac-line", e), b = v.height, w = v.height) : (v = null, b = 0, w = e.fontMetrics().defaultRuleThickness);
|
|
9838
9838
|
var S, E, T;
|
|
9839
|
-
t.size ===
|
|
9839
|
+
t.size === V.DISPLAY.size || r.size === "display" ? (S = e.fontMetrics().num1, b > 0 ? E = 3 * w : E = 7 * w, T = e.fontMetrics().denom1) : (b > 0 ? (S = e.fontMetrics().num2, E = w) : (S = e.fontMetrics().num3, E = 3 * w), T = e.fontMetrics().denom2);
|
|
9840
9840
|
var C;
|
|
9841
9841
|
if (v) {
|
|
9842
9842
|
var g = e.fontMetrics().axisHeight;
|
|
@@ -9875,21 +9875,21 @@ var zn = (r, e) => {
|
|
|
9875
9875
|
}
|
|
9876
9876
|
i = e.havingStyle(t), C.height *= i.sizeMultiplier / e.sizeMultiplier, C.depth *= i.sizeMultiplier / e.sizeMultiplier;
|
|
9877
9877
|
var A;
|
|
9878
|
-
t.size ===
|
|
9878
|
+
t.size === V.DISPLAY.size ? A = e.fontMetrics().delim1 : t.size === V.SCRIPTSCRIPT.size ? A = e.havingStyle(V.SCRIPT).fontMetrics().delim2 : A = e.fontMetrics().delim2;
|
|
9879
9879
|
var M, z;
|
|
9880
9880
|
return r.leftDelim == null ? M = rt(e, ["mopen"]) : M = a0.customSizedDelim(r.leftDelim, A, !0, e.havingStyle(t), r.mode, ["mopen"]), r.continued ? z = k.makeSpan([]) : r.rightDelim == null ? z = rt(e, ["mclose"]) : z = a0.customSizedDelim(r.rightDelim, A, !0, e.havingStyle(t), r.mode, ["mclose"]), k.makeSpan(["mord"].concat(i.sizingClasses(e)), [M, k.makeSpan(["mfrac"], [C]), z], e);
|
|
9881
9881
|
}, Rr = (r, e) => {
|
|
9882
|
-
var t = new I.MathNode("mfrac", [
|
|
9882
|
+
var t = new I.MathNode("mfrac", [ne(r.numer, e), ne(r.denom, e)]);
|
|
9883
9883
|
if (!r.hasBarLine)
|
|
9884
9884
|
t.setAttribute("linethickness", "0px");
|
|
9885
9885
|
else if (r.barSize) {
|
|
9886
9886
|
var a = ce(r.barSize, e);
|
|
9887
9887
|
t.setAttribute("linethickness", R(a));
|
|
9888
9888
|
}
|
|
9889
|
-
var n =
|
|
9889
|
+
var n = Cn(r.size, e.style);
|
|
9890
9890
|
if (n.size !== e.style.size) {
|
|
9891
9891
|
t = new I.MathNode("mstyle", [t]);
|
|
9892
|
-
var i = n.size ===
|
|
9892
|
+
var i = n.size === V.DISPLAY.size ? "true" : "false";
|
|
9893
9893
|
t.setAttribute("displaystyle", i), t.setAttribute("scriptlevel", "0");
|
|
9894
9894
|
}
|
|
9895
9895
|
if (r.leftDelim != null || r.rightDelim != null) {
|
|
@@ -10136,10 +10136,10 @@ H({
|
|
|
10136
10136
|
htmlBuilder: qr,
|
|
10137
10137
|
mathmlBuilder: Rr
|
|
10138
10138
|
});
|
|
10139
|
-
var
|
|
10139
|
+
var En = (r, e) => {
|
|
10140
10140
|
var t = e.style, a, n;
|
|
10141
10141
|
r.type === "supsub" ? (a = r.sup ? K(r.sup, e.havingStyle(t.sup()), e) : K(r.sub, e.havingStyle(t.sub()), e), n = Y(r.base, "horizBrace")) : n = Y(r, "horizBrace");
|
|
10142
|
-
var i = K(n.base, e.havingBaseStyle(
|
|
10142
|
+
var i = K(n.base, e.havingBaseStyle(V.DISPLAY)), o = l0.svgSpan(n, e), u;
|
|
10143
10143
|
if (n.isOver ? (u = k.makeVList({
|
|
10144
10144
|
positionType: "firstBaseline",
|
|
10145
10145
|
children: [{
|
|
@@ -10197,7 +10197,7 @@ var Tn = (r, e) => {
|
|
|
10197
10197
|
return k.makeSpan(["mord", n.isOver ? "mover" : "munder"], [u], e);
|
|
10198
10198
|
}, H1 = (r, e) => {
|
|
10199
10199
|
var t = l0.mathMLnode(r.label);
|
|
10200
|
-
return new I.MathNode(r.isOver ? "mover" : "munder", [
|
|
10200
|
+
return new I.MathNode(r.isOver ? "mover" : "munder", [ne(r.base, e), t]);
|
|
10201
10201
|
};
|
|
10202
10202
|
H({
|
|
10203
10203
|
type: "horizBrace",
|
|
@@ -10218,7 +10218,7 @@ H({
|
|
|
10218
10218
|
base: e[0]
|
|
10219
10219
|
};
|
|
10220
10220
|
},
|
|
10221
|
-
htmlBuilder:
|
|
10221
|
+
htmlBuilder: En,
|
|
10222
10222
|
mathmlBuilder: H1
|
|
10223
10223
|
});
|
|
10224
10224
|
H({
|
|
@@ -10315,7 +10315,7 @@ H({
|
|
|
10315
10315
|
return k.makeFragment(t);
|
|
10316
10316
|
},
|
|
10317
10317
|
mathmlBuilder(r, e) {
|
|
10318
|
-
return new I.MathNode("mrow",
|
|
10318
|
+
return new I.MathNode("mrow", Ae(r.body, e));
|
|
10319
10319
|
}
|
|
10320
10320
|
});
|
|
10321
10321
|
H({
|
|
@@ -10424,7 +10424,7 @@ var Jt = function(e) {
|
|
|
10424
10424
|
// sign + magnitude, cast to number
|
|
10425
10425
|
unit: t[3]
|
|
10426
10426
|
};
|
|
10427
|
-
if (!
|
|
10427
|
+
if (!Wa(a))
|
|
10428
10428
|
throw new N("Invalid unit: '" + a.unit + "' in \\includegraphics.");
|
|
10429
10429
|
return a;
|
|
10430
10430
|
};
|
|
@@ -10568,7 +10568,7 @@ H({
|
|
|
10568
10568
|
return i.style.height = R(n.height + n.depth), n.depth && (i.style.verticalAlign = R(-n.depth)), n.children.unshift(i), n = k.makeSpan(["thinbox"], [n], e), k.makeSpan(["mord", "vbox"], [n], e);
|
|
10569
10569
|
},
|
|
10570
10570
|
mathmlBuilder: (r, e) => {
|
|
10571
|
-
var t = new I.MathNode("mpadded", [
|
|
10571
|
+
var t = new I.MathNode("mpadded", [ne(r.body, e)]);
|
|
10572
10572
|
if (r.alignment !== "rlap") {
|
|
10573
10573
|
var a = r.alignment === "llap" ? "-1" : "-0.5";
|
|
10574
10574
|
t.setAttribute("lspace", a + "width");
|
|
@@ -10614,13 +10614,13 @@ H({
|
|
|
10614
10614
|
});
|
|
10615
10615
|
var fa = (r, e) => {
|
|
10616
10616
|
switch (e.style.size) {
|
|
10617
|
-
case
|
|
10617
|
+
case V.DISPLAY.size:
|
|
10618
10618
|
return r.display;
|
|
10619
|
-
case
|
|
10619
|
+
case V.TEXT.size:
|
|
10620
10620
|
return r.text;
|
|
10621
|
-
case
|
|
10621
|
+
case V.SCRIPT.size:
|
|
10622
10622
|
return r.script;
|
|
10623
|
-
case
|
|
10623
|
+
case V.SCRIPTSCRIPT.size:
|
|
10624
10624
|
return r.scriptscript;
|
|
10625
10625
|
default:
|
|
10626
10626
|
return r.text;
|
|
@@ -10655,9 +10655,9 @@ H({
|
|
|
10655
10655
|
return b0(t, e);
|
|
10656
10656
|
}
|
|
10657
10657
|
});
|
|
10658
|
-
var
|
|
10658
|
+
var Bn = (r, e, t, a, n, i, o) => {
|
|
10659
10659
|
r = k.makeSpan([], [r]);
|
|
10660
|
-
var u = t &&
|
|
10660
|
+
var u = t && j.isCharacterBox(t), h, m;
|
|
10661
10661
|
if (e) {
|
|
10662
10662
|
var v = K(e, a.havingStyle(n.sup()), a);
|
|
10663
10663
|
m = {
|
|
@@ -10751,11 +10751,11 @@ var Cn = (r, e, t, a, n, i, o) => {
|
|
|
10751
10751
|
B.style.marginRight = R(i), C.unshift(B);
|
|
10752
10752
|
}
|
|
10753
10753
|
return k.makeSpan(["mop", "op-limits"], C, a);
|
|
10754
|
-
},
|
|
10754
|
+
}, Dn = ["\\smallint"], V0 = (r, e) => {
|
|
10755
10755
|
var t, a, n = !1, i;
|
|
10756
10756
|
r.type === "supsub" ? (t = r.sup, a = r.sub, i = Y(r.base, "op"), n = !0) : i = Y(r, "op");
|
|
10757
10757
|
var o = e.style, u = !1;
|
|
10758
|
-
o.size ===
|
|
10758
|
+
o.size === V.DISPLAY.size && i.symbol && !j.contains(Dn, i.name) && (u = !0);
|
|
10759
10759
|
var h;
|
|
10760
10760
|
if (i.symbol) {
|
|
10761
10761
|
var m = u ? "Size2-Regular" : "Size1-Regular", v = "";
|
|
@@ -10776,24 +10776,24 @@ var Cn = (r, e, t, a, n, i, o) => {
|
|
|
10776
10776
|
}
|
|
10777
10777
|
} else if (i.body) {
|
|
10778
10778
|
var S = pe(i.body, e, !0);
|
|
10779
|
-
S.length === 1 && S[0] instanceof
|
|
10779
|
+
S.length === 1 && S[0] instanceof Oe ? (h = S[0], h.classes[0] = "mop") : h = k.makeSpan(["mop"], S, e);
|
|
10780
10780
|
} else {
|
|
10781
10781
|
for (var E = [], T = 1; T < i.name.length; T++)
|
|
10782
10782
|
E.push(k.mathsym(i.name[T], i.mode, e));
|
|
10783
10783
|
h = k.makeSpan(["mop"], E, e);
|
|
10784
10784
|
}
|
|
10785
10785
|
var C = 0, B = 0;
|
|
10786
|
-
return (h instanceof
|
|
10786
|
+
return (h instanceof Oe || i.name === "\\oiint" || i.name === "\\oiiint") && !i.suppressBaseShift && (C = (h.height - h.depth) / 2 - e.fontMetrics().axisHeight, B = h.italic), n ? Bn(h, t, a, e, o, B, C) : (C && (h.style.position = "relative", h.style.top = R(C)), h);
|
|
10787
10787
|
}, ot = (r, e) => {
|
|
10788
10788
|
var t;
|
|
10789
10789
|
if (r.symbol)
|
|
10790
|
-
t = new Fe("mo", [
|
|
10790
|
+
t = new Fe("mo", [He(r.name, r.mode)]), j.contains(Dn, r.name) && t.setAttribute("largeop", "false");
|
|
10791
10791
|
else if (r.body)
|
|
10792
|
-
t = new Fe("mo",
|
|
10792
|
+
t = new Fe("mo", Ae(r.body, e));
|
|
10793
10793
|
else {
|
|
10794
10794
|
t = new Fe("mi", [new J0(r.name.slice(1))]);
|
|
10795
|
-
var a = new Fe("mo", [
|
|
10796
|
-
r.parentIsSupSub ? t = new Fe("mrow", [t, a]) : t =
|
|
10795
|
+
var a = new Fe("mo", [He("", "text")]);
|
|
10796
|
+
r.parentIsSupSub ? t = new Fe("mrow", [t, a]) : t = nn([t, a]);
|
|
10797
10797
|
}
|
|
10798
10798
|
return t;
|
|
10799
10799
|
}, _1 = {
|
|
@@ -10830,7 +10830,7 @@ H({
|
|
|
10830
10830
|
name: n
|
|
10831
10831
|
};
|
|
10832
10832
|
},
|
|
10833
|
-
htmlBuilder:
|
|
10833
|
+
htmlBuilder: V0,
|
|
10834
10834
|
mathmlBuilder: ot
|
|
10835
10835
|
});
|
|
10836
10836
|
H({
|
|
@@ -10853,7 +10853,7 @@ H({
|
|
|
10853
10853
|
body: de(a)
|
|
10854
10854
|
};
|
|
10855
10855
|
},
|
|
10856
|
-
htmlBuilder:
|
|
10856
|
+
htmlBuilder: V0,
|
|
10857
10857
|
mathmlBuilder: ot
|
|
10858
10858
|
});
|
|
10859
10859
|
var L1 = {
|
|
@@ -10884,7 +10884,7 @@ H({
|
|
|
10884
10884
|
name: t
|
|
10885
10885
|
};
|
|
10886
10886
|
},
|
|
10887
|
-
htmlBuilder:
|
|
10887
|
+
htmlBuilder: V0,
|
|
10888
10888
|
mathmlBuilder: ot
|
|
10889
10889
|
});
|
|
10890
10890
|
H({
|
|
@@ -10907,7 +10907,7 @@ H({
|
|
|
10907
10907
|
name: t
|
|
10908
10908
|
};
|
|
10909
10909
|
},
|
|
10910
|
-
htmlBuilder:
|
|
10910
|
+
htmlBuilder: V0,
|
|
10911
10911
|
mathmlBuilder: ot
|
|
10912
10912
|
});
|
|
10913
10913
|
H({
|
|
@@ -10930,10 +10930,10 @@ H({
|
|
|
10930
10930
|
name: a
|
|
10931
10931
|
};
|
|
10932
10932
|
},
|
|
10933
|
-
htmlBuilder:
|
|
10933
|
+
htmlBuilder: V0,
|
|
10934
10934
|
mathmlBuilder: ot
|
|
10935
10935
|
});
|
|
10936
|
-
var
|
|
10936
|
+
var In = (r, e) => {
|
|
10937
10937
|
var t, a, n = !1, i;
|
|
10938
10938
|
r.type === "supsub" ? (t = r.sup, a = r.sub, i = Y(r.base, "operatorname"), n = !0) : i = Y(r, "operatorname");
|
|
10939
10939
|
var o;
|
|
@@ -10947,14 +10947,14 @@ var Bn = (r, e) => {
|
|
|
10947
10947
|
} : b;
|
|
10948
10948
|
}), h = pe(u, e.withFont("mathrm"), !0), m = 0; m < h.length; m++) {
|
|
10949
10949
|
var v = h[m];
|
|
10950
|
-
v instanceof
|
|
10950
|
+
v instanceof Oe && (v.text = v.text.replace(/\u2212/, "-").replace(/\u2217/, "*"));
|
|
10951
10951
|
}
|
|
10952
10952
|
o = k.makeSpan(["mop"], h, e);
|
|
10953
10953
|
} else
|
|
10954
10954
|
o = k.makeSpan(["mop"], [], e);
|
|
10955
|
-
return n ?
|
|
10955
|
+
return n ? Bn(o, t, a, e, e.style, 0, 0) : o;
|
|
10956
10956
|
}, $1 = (r, e) => {
|
|
10957
|
-
for (var t =
|
|
10957
|
+
for (var t = Ae(r.body, e.withFont("mathrm")), a = !0, n = 0; n < t.length; n++) {
|
|
10958
10958
|
var i = t[n];
|
|
10959
10959
|
if (!(i instanceof I.SpaceNode)) if (i instanceof I.MathNode)
|
|
10960
10960
|
switch (i.type) {
|
|
@@ -10981,7 +10981,7 @@ var Bn = (r, e) => {
|
|
|
10981
10981
|
}
|
|
10982
10982
|
var h = new I.MathNode("mi", t);
|
|
10983
10983
|
h.setAttribute("mathvariant", "normal");
|
|
10984
|
-
var m = new I.MathNode("mo", [
|
|
10984
|
+
var m = new I.MathNode("mo", [He("", "text")]);
|
|
10985
10985
|
return r.parentIsSupSub ? new I.MathNode("mrow", [h, m]) : I.newDocumentFragment([h, m]);
|
|
10986
10986
|
};
|
|
10987
10987
|
H({
|
|
@@ -11004,11 +11004,11 @@ H({
|
|
|
11004
11004
|
parentIsSupSub: !1
|
|
11005
11005
|
};
|
|
11006
11006
|
},
|
|
11007
|
-
htmlBuilder:
|
|
11007
|
+
htmlBuilder: In,
|
|
11008
11008
|
mathmlBuilder: $1
|
|
11009
11009
|
});
|
|
11010
11010
|
d("\\operatorname", "\\@ifstar\\operatornamewithlimits\\operatorname@");
|
|
11011
|
-
|
|
11011
|
+
N0({
|
|
11012
11012
|
type: "ordgroup",
|
|
11013
11013
|
htmlBuilder(r, e) {
|
|
11014
11014
|
return r.semisimple ? k.makeFragment(pe(r.body, e, !1)) : k.makeSpan(["mord"], pe(r.body, e, !0), e);
|
|
@@ -11055,7 +11055,7 @@ H({
|
|
|
11055
11055
|
mathmlBuilder(r, e) {
|
|
11056
11056
|
var t = new I.MathNode("mo", [new I.TextNode("‾")]);
|
|
11057
11057
|
t.setAttribute("stretchy", "true");
|
|
11058
|
-
var a = new I.MathNode("mover", [
|
|
11058
|
+
var a = new I.MathNode("mover", [ne(r.body, e), t]);
|
|
11059
11059
|
return a.setAttribute("accent", "true"), a;
|
|
11060
11060
|
}
|
|
11061
11061
|
});
|
|
@@ -11081,7 +11081,7 @@ H({
|
|
|
11081
11081
|
return k.makeFragment(t);
|
|
11082
11082
|
},
|
|
11083
11083
|
mathmlBuilder: (r, e) => {
|
|
11084
|
-
var t =
|
|
11084
|
+
var t = Ae(r.body, e);
|
|
11085
11085
|
return new I.MathNode("mphantom", t);
|
|
11086
11086
|
}
|
|
11087
11087
|
});
|
|
@@ -11116,7 +11116,7 @@ H({
|
|
|
11116
11116
|
}, e), k.makeSpan(["mord"], [t], e);
|
|
11117
11117
|
},
|
|
11118
11118
|
mathmlBuilder: (r, e) => {
|
|
11119
|
-
var t =
|
|
11119
|
+
var t = Ae(de(r.body), e), a = new I.MathNode("mphantom", t), n = new I.MathNode("mpadded", [a]);
|
|
11120
11120
|
return n.setAttribute("height", "0px"), n.setAttribute("depth", "0px"), n;
|
|
11121
11121
|
}
|
|
11122
11122
|
});
|
|
@@ -11142,7 +11142,7 @@ H({
|
|
|
11142
11142
|
return k.makeSpan(["mord", "rlap"], [t, a], e);
|
|
11143
11143
|
},
|
|
11144
11144
|
mathmlBuilder: (r, e) => {
|
|
11145
|
-
var t =
|
|
11145
|
+
var t = Ae(de(r.body), e), a = new I.MathNode("mphantom", t), n = new I.MathNode("mpadded", [a]);
|
|
11146
11146
|
return n.setAttribute("width", "0px"), n;
|
|
11147
11147
|
}
|
|
11148
11148
|
});
|
|
@@ -11177,7 +11177,7 @@ H({
|
|
|
11177
11177
|
}, e);
|
|
11178
11178
|
},
|
|
11179
11179
|
mathmlBuilder(r, e) {
|
|
11180
|
-
var t = new I.MathNode("mpadded", [
|
|
11180
|
+
var t = new I.MathNode("mpadded", [ne(r.body, e)]), a = r.dy.number + r.dy.unit;
|
|
11181
11181
|
return t.setAttribute("voffset", a), t;
|
|
11182
11182
|
}
|
|
11183
11183
|
});
|
|
@@ -11229,7 +11229,7 @@ H({
|
|
|
11229
11229
|
return n >= 0 ? u.setAttribute("height", R(n)) : (u.setAttribute("height", R(n)), u.setAttribute("depth", R(-n))), u.setAttribute("voffset", R(n)), u;
|
|
11230
11230
|
}
|
|
11231
11231
|
});
|
|
11232
|
-
function
|
|
11232
|
+
function Fn(r, e, t) {
|
|
11233
11233
|
for (var a = pe(r, e, !1), n = e.sizeMultiplier / t.sizeMultiplier, i = 0; i < a.length; i++) {
|
|
11234
11234
|
var o = a[i].classes.indexOf("sizing");
|
|
11235
11235
|
o < 0 ? Array.prototype.push.apply(a[i].classes, e.sizingClasses(t)) : a[i].classes[o + 1] === "reset-size" + e.size && (a[i].classes[o + 1] = "reset-size" + t.size), a[i].height *= n, a[i].depth *= n;
|
|
@@ -11238,7 +11238,7 @@ function Dn(r, e, t) {
|
|
|
11238
11238
|
}
|
|
11239
11239
|
var va = ["\\tiny", "\\sixptsize", "\\scriptsize", "\\footnotesize", "\\small", "\\normalsize", "\\large", "\\Large", "\\LARGE", "\\huge", "\\Huge"], P1 = (r, e) => {
|
|
11240
11240
|
var t = e.havingSize(r.size);
|
|
11241
|
-
return
|
|
11241
|
+
return Fn(r.body, t, e);
|
|
11242
11242
|
};
|
|
11243
11243
|
H({
|
|
11244
11244
|
type: "sizing",
|
|
@@ -11263,7 +11263,7 @@ H({
|
|
|
11263
11263
|
},
|
|
11264
11264
|
htmlBuilder: P1,
|
|
11265
11265
|
mathmlBuilder: (r, e) => {
|
|
11266
|
-
var t = e.havingSize(r.size), a =
|
|
11266
|
+
var t = e.havingSize(r.size), a = Ae(r.body, t), n = new I.MathNode("mstyle", a);
|
|
11267
11267
|
return n.setAttribute("mathsize", R(t.sizeMultiplier)), n;
|
|
11268
11268
|
}
|
|
11269
11269
|
});
|
|
@@ -11322,7 +11322,7 @@ H({
|
|
|
11322
11322
|
return k.makeSpan(["mord"], [i], e);
|
|
11323
11323
|
},
|
|
11324
11324
|
mathmlBuilder: (r, e) => {
|
|
11325
|
-
var t = new I.MathNode("mpadded", [
|
|
11325
|
+
var t = new I.MathNode("mpadded", [ne(r.body, e)]);
|
|
11326
11326
|
return r.smashHeight && t.setAttribute("height", "0px"), r.smashDepth && t.setAttribute("depth", "0px"), t;
|
|
11327
11327
|
}
|
|
11328
11328
|
});
|
|
@@ -11348,7 +11348,7 @@ H({
|
|
|
11348
11348
|
var t = K(r.body, e.havingCrampedStyle());
|
|
11349
11349
|
t.height === 0 && (t.height = e.fontMetrics().xHeight), t = k.wrapFragment(t, e);
|
|
11350
11350
|
var a = e.fontMetrics(), n = a.defaultRuleThickness, i = n;
|
|
11351
|
-
e.style.id <
|
|
11351
|
+
e.style.id < V.TEXT.id && (i = e.fontMetrics().xHeight);
|
|
11352
11352
|
var o = n + i / 4, u = t.height + t.depth + o + n, {
|
|
11353
11353
|
span: h,
|
|
11354
11354
|
ruleWidth: m,
|
|
@@ -11375,7 +11375,7 @@ H({
|
|
|
11375
11375
|
}]
|
|
11376
11376
|
}, e);
|
|
11377
11377
|
if (r.index) {
|
|
11378
|
-
var E = e.havingStyle(
|
|
11378
|
+
var E = e.havingStyle(V.SCRIPTSCRIPT), T = K(r.index, E, e), C = 0.6 * (S.height - S.depth), B = k.makeVList({
|
|
11379
11379
|
positionType: "shift",
|
|
11380
11380
|
positionData: -C,
|
|
11381
11381
|
children: [{
|
|
@@ -11392,14 +11392,14 @@ H({
|
|
|
11392
11392
|
body: t,
|
|
11393
11393
|
index: a
|
|
11394
11394
|
} = r;
|
|
11395
|
-
return a ? new I.MathNode("mroot", [
|
|
11395
|
+
return a ? new I.MathNode("mroot", [ne(t, e), ne(a, e)]) : new I.MathNode("msqrt", [ne(t, e)]);
|
|
11396
11396
|
}
|
|
11397
11397
|
});
|
|
11398
11398
|
var ga = {
|
|
11399
|
-
display:
|
|
11400
|
-
text:
|
|
11401
|
-
script:
|
|
11402
|
-
scriptscript:
|
|
11399
|
+
display: V.DISPLAY,
|
|
11400
|
+
text: V.TEXT,
|
|
11401
|
+
script: V.SCRIPT,
|
|
11402
|
+
scriptscript: V.SCRIPTSCRIPT
|
|
11403
11403
|
};
|
|
11404
11404
|
H({
|
|
11405
11405
|
type: "styling",
|
|
@@ -11426,10 +11426,10 @@ H({
|
|
|
11426
11426
|
},
|
|
11427
11427
|
htmlBuilder(r, e) {
|
|
11428
11428
|
var t = ga[r.style], a = e.havingStyle(t).withFont("");
|
|
11429
|
-
return
|
|
11429
|
+
return Fn(r.body, a, e);
|
|
11430
11430
|
},
|
|
11431
11431
|
mathmlBuilder(r, e) {
|
|
11432
|
-
var t = ga[r.style], a = e.havingStyle(t), n =
|
|
11432
|
+
var t = ga[r.style], a = e.havingStyle(t), n = Ae(r.body, a), i = new I.MathNode("mstyle", n), o = {
|
|
11433
11433
|
display: ["0", "true"],
|
|
11434
11434
|
text: ["0", "false"],
|
|
11435
11435
|
script: ["1", "false"],
|
|
@@ -11442,23 +11442,23 @@ var j1 = function(e, t) {
|
|
|
11442
11442
|
var a = e.base;
|
|
11443
11443
|
if (a)
|
|
11444
11444
|
if (a.type === "op") {
|
|
11445
|
-
var n = a.limits && (t.style.size ===
|
|
11446
|
-
return n ?
|
|
11445
|
+
var n = a.limits && (t.style.size === V.DISPLAY.size || a.alwaysHandleSupSub);
|
|
11446
|
+
return n ? V0 : null;
|
|
11447
11447
|
} else if (a.type === "operatorname") {
|
|
11448
|
-
var i = a.alwaysHandleSupSub && (t.style.size ===
|
|
11449
|
-
return i ?
|
|
11448
|
+
var i = a.alwaysHandleSupSub && (t.style.size === V.DISPLAY.size || a.limits);
|
|
11449
|
+
return i ? In : null;
|
|
11450
11450
|
} else {
|
|
11451
11451
|
if (a.type === "accent")
|
|
11452
|
-
return
|
|
11452
|
+
return j.isCharacterBox(a.base) ? Er : null;
|
|
11453
11453
|
if (a.type === "horizBrace") {
|
|
11454
11454
|
var o = !e.sub;
|
|
11455
|
-
return o === a.isOver ?
|
|
11455
|
+
return o === a.isOver ? En : null;
|
|
11456
11456
|
} else
|
|
11457
11457
|
return null;
|
|
11458
11458
|
}
|
|
11459
11459
|
else return null;
|
|
11460
11460
|
};
|
|
11461
|
-
|
|
11461
|
+
N0({
|
|
11462
11462
|
type: "supsub",
|
|
11463
11463
|
htmlBuilder(r, e) {
|
|
11464
11464
|
var t = j1(r, e);
|
|
@@ -11468,7 +11468,7 @@ F0({
|
|
|
11468
11468
|
base: a,
|
|
11469
11469
|
sup: n,
|
|
11470
11470
|
sub: i
|
|
11471
|
-
} = r, o = K(a, e), u, h, m = e.fontMetrics(), v = 0, b = 0, w = a &&
|
|
11471
|
+
} = r, o = K(a, e), u, h, m = e.fontMetrics(), v = 0, b = 0, w = a && j.isCharacterBox(a);
|
|
11472
11472
|
if (n) {
|
|
11473
11473
|
var S = e.havingStyle(e.style.sup());
|
|
11474
11474
|
u = K(n, S, e), w || (v = o.height - S.fontMetrics().supDrop * S.sizeMultiplier / e.sizeMultiplier);
|
|
@@ -11478,11 +11478,11 @@ F0({
|
|
|
11478
11478
|
h = K(i, E, e), w || (b = o.depth + E.fontMetrics().subDrop * E.sizeMultiplier / e.sizeMultiplier);
|
|
11479
11479
|
}
|
|
11480
11480
|
var T;
|
|
11481
|
-
e.style ===
|
|
11481
|
+
e.style === V.DISPLAY ? T = m.sup1 : e.style.cramped ? T = m.sup3 : T = m.sup2;
|
|
11482
11482
|
var C = e.sizeMultiplier, B = R(0.5 / m.ptPerEm / C), g = null;
|
|
11483
11483
|
if (h) {
|
|
11484
11484
|
var x = r.base && r.base.type === "op" && r.base.name && (r.base.name === "\\oiint" || r.base.name === "\\oiiint");
|
|
11485
|
-
(o instanceof
|
|
11485
|
+
(o instanceof Oe || x) && (g = R(-o.italic));
|
|
11486
11486
|
}
|
|
11487
11487
|
var A;
|
|
11488
11488
|
if (u && h) {
|
|
@@ -11540,33 +11540,33 @@ F0({
|
|
|
11540
11540
|
mathmlBuilder(r, e) {
|
|
11541
11541
|
var t = !1, a, n;
|
|
11542
11542
|
r.base && r.base.type === "horizBrace" && (n = !!r.sup, n === r.base.isOver && (t = !0, a = r.base.isOver)), r.base && (r.base.type === "op" || r.base.type === "operatorname") && (r.base.parentIsSupSub = !0);
|
|
11543
|
-
var i = [
|
|
11544
|
-
r.sub && i.push(
|
|
11543
|
+
var i = [ne(r.base, e)];
|
|
11544
|
+
r.sub && i.push(ne(r.sub, e)), r.sup && i.push(ne(r.sup, e));
|
|
11545
11545
|
var o;
|
|
11546
11546
|
if (t)
|
|
11547
11547
|
o = a ? "mover" : "munder";
|
|
11548
11548
|
else if (r.sub)
|
|
11549
11549
|
if (r.sup) {
|
|
11550
11550
|
var m = r.base;
|
|
11551
|
-
m && m.type === "op" && m.limits && e.style ===
|
|
11551
|
+
m && m.type === "op" && m.limits && e.style === V.DISPLAY || m && m.type === "operatorname" && m.alwaysHandleSupSub && (e.style === V.DISPLAY || m.limits) ? o = "munderover" : o = "msubsup";
|
|
11552
11552
|
} else {
|
|
11553
11553
|
var h = r.base;
|
|
11554
|
-
h && h.type === "op" && h.limits && (e.style ===
|
|
11554
|
+
h && h.type === "op" && h.limits && (e.style === V.DISPLAY || h.alwaysHandleSupSub) || h && h.type === "operatorname" && h.alwaysHandleSupSub && (h.limits || e.style === V.DISPLAY) ? o = "munder" : o = "msub";
|
|
11555
11555
|
}
|
|
11556
11556
|
else {
|
|
11557
11557
|
var u = r.base;
|
|
11558
|
-
u && u.type === "op" && u.limits && (e.style ===
|
|
11558
|
+
u && u.type === "op" && u.limits && (e.style === V.DISPLAY || u.alwaysHandleSupSub) || u && u.type === "operatorname" && u.alwaysHandleSupSub && (u.limits || e.style === V.DISPLAY) ? o = "mover" : o = "msup";
|
|
11559
11559
|
}
|
|
11560
11560
|
return new I.MathNode(o, i);
|
|
11561
11561
|
}
|
|
11562
11562
|
});
|
|
11563
|
-
|
|
11563
|
+
N0({
|
|
11564
11564
|
type: "atom",
|
|
11565
11565
|
htmlBuilder(r, e) {
|
|
11566
11566
|
return k.mathsym(r.text, r.mode, e, ["m" + r.family]);
|
|
11567
11567
|
},
|
|
11568
11568
|
mathmlBuilder(r, e) {
|
|
11569
|
-
var t = new I.MathNode("mo", [
|
|
11569
|
+
var t = new I.MathNode("mo", [He(r.text, r.mode)]);
|
|
11570
11570
|
if (r.family === "bin") {
|
|
11571
11571
|
var a = Tr(r, e);
|
|
11572
11572
|
a === "bold-italic" && t.setAttribute("mathvariant", a);
|
|
@@ -11574,29 +11574,29 @@ F0({
|
|
|
11574
11574
|
return t;
|
|
11575
11575
|
}
|
|
11576
11576
|
});
|
|
11577
|
-
var
|
|
11577
|
+
var Nn = {
|
|
11578
11578
|
mi: "italic",
|
|
11579
11579
|
mn: "normal",
|
|
11580
11580
|
mtext: "normal"
|
|
11581
11581
|
};
|
|
11582
|
-
|
|
11582
|
+
N0({
|
|
11583
11583
|
type: "mathord",
|
|
11584
11584
|
htmlBuilder(r, e) {
|
|
11585
11585
|
return k.makeOrd(r, e, "mathord");
|
|
11586
11586
|
},
|
|
11587
11587
|
mathmlBuilder(r, e) {
|
|
11588
|
-
var t = new I.MathNode("mi", [
|
|
11589
|
-
return a !==
|
|
11588
|
+
var t = new I.MathNode("mi", [He(r.text, r.mode, e)]), a = Tr(r, e) || "italic";
|
|
11589
|
+
return a !== Nn[t.type] && t.setAttribute("mathvariant", a), t;
|
|
11590
11590
|
}
|
|
11591
11591
|
});
|
|
11592
|
-
|
|
11592
|
+
N0({
|
|
11593
11593
|
type: "textord",
|
|
11594
11594
|
htmlBuilder(r, e) {
|
|
11595
11595
|
return k.makeOrd(r, e, "textord");
|
|
11596
11596
|
},
|
|
11597
11597
|
mathmlBuilder(r, e) {
|
|
11598
|
-
var t =
|
|
11599
|
-
return r.mode === "text" ? n = new I.MathNode("mtext", [t]) : /[0-9]/.test(r.text) ? n = new I.MathNode("mn", [t]) : r.text === "\\prime" ? n = new I.MathNode("mo", [t]) : n = new I.MathNode("mi", [t]), a !==
|
|
11598
|
+
var t = He(r.text, r.mode, e), a = Tr(r, e) || "normal", n;
|
|
11599
|
+
return r.mode === "text" ? n = new I.MathNode("mtext", [t]) : /[0-9]/.test(r.text) ? n = new I.MathNode("mn", [t]) : r.text === "\\prime" ? n = new I.MathNode("mo", [t]) : n = new I.MathNode("mi", [t]), a !== Nn[n.type] && n.setAttribute("mathvariant", a), n;
|
|
11600
11600
|
}
|
|
11601
11601
|
});
|
|
11602
11602
|
var Qt = {
|
|
@@ -11613,7 +11613,7 @@ var Qt = {
|
|
|
11613
11613
|
className: "nobreak"
|
|
11614
11614
|
}
|
|
11615
11615
|
};
|
|
11616
|
-
|
|
11616
|
+
N0({
|
|
11617
11617
|
type: "spacing",
|
|
11618
11618
|
htmlBuilder(r, e) {
|
|
11619
11619
|
if (er.hasOwnProperty(r.text)) {
|
|
@@ -11645,7 +11645,7 @@ var ba = () => {
|
|
|
11645
11645
|
var r = new I.MathNode("mtd", []);
|
|
11646
11646
|
return r.setAttribute("width", "50%"), r;
|
|
11647
11647
|
};
|
|
11648
|
-
|
|
11648
|
+
N0({
|
|
11649
11649
|
type: "tag",
|
|
11650
11650
|
mathmlBuilder(r, e) {
|
|
11651
11651
|
var t = new I.MathNode("mtable", [new I.MathNode("mtr", [ba(), new I.MathNode("mtd", [b0(r.body, e)]), ba(), new I.MathNode("mtd", [b0(r.tag, e)])])]);
|
|
@@ -11760,7 +11760,7 @@ H({
|
|
|
11760
11760
|
mathmlBuilder(r, e) {
|
|
11761
11761
|
var t = new I.MathNode("mo", [new I.TextNode("‾")]);
|
|
11762
11762
|
t.setAttribute("stretchy", "true");
|
|
11763
|
-
var a = new I.MathNode("munder", [
|
|
11763
|
+
var a = new I.MathNode("munder", [ne(r.body, e), t]);
|
|
11764
11764
|
return a.setAttribute("accentunder", "true"), a;
|
|
11765
11765
|
}
|
|
11766
11766
|
});
|
|
@@ -11795,7 +11795,7 @@ H({
|
|
|
11795
11795
|
}, e);
|
|
11796
11796
|
},
|
|
11797
11797
|
mathmlBuilder(r, e) {
|
|
11798
|
-
return new I.MathNode("mpadded", [
|
|
11798
|
+
return new I.MathNode("mpadded", [ne(r.body, e)], ["vcenter"]);
|
|
11799
11799
|
}
|
|
11800
11800
|
});
|
|
11801
11801
|
H({
|
|
@@ -11820,10 +11820,10 @@ H({
|
|
|
11820
11820
|
return a.setAttribute("mathvariant", "monospace"), a;
|
|
11821
11821
|
}
|
|
11822
11822
|
});
|
|
11823
|
-
var ka = (r) => r.body.replace(/ /g, r.star ? "␣" : " "), p0 =
|
|
11824
|
-
]`, V1 = "\\\\[a-zA-Z@]+", U1 = "\\\\[^\uD800-\uDFFF]", W1 = "(" + V1 + ")" +
|
|
11823
|
+
var ka = (r) => r.body.replace(/ /g, r.star ? "␣" : " "), p0 = rn, qn = `[ \r
|
|
11824
|
+
]`, V1 = "\\\\[a-zA-Z@]+", U1 = "\\\\[^\uD800-\uDFFF]", W1 = "(" + V1 + ")" + qn + "*", Y1 = `\\\\(
|
|
11825
11825
|
|[ \r ]+
|
|
11826
|
-
?)[ \r ]*`, mr = "[̀-ͯ]", Z1 = new RegExp(mr + "+$"), X1 = "(" +
|
|
11826
|
+
?)[ \r ]*`, mr = "[̀-ͯ]", Z1 = new RegExp(mr + "+$"), X1 = "(" + qn + "+)|" + // whitespace
|
|
11827
11827
|
(Y1 + "|") + // \whitespace
|
|
11828
11828
|
"([!-\\[\\]-‧-豈-]" + // single codepoint
|
|
11829
11829
|
(mr + "*") + // ...plus accents
|
|
@@ -11852,17 +11852,17 @@ class Sa {
|
|
|
11852
11852
|
lex() {
|
|
11853
11853
|
var e = this.input, t = this.tokenRegex.lastIndex;
|
|
11854
11854
|
if (t === e.length)
|
|
11855
|
-
return new
|
|
11855
|
+
return new Re("EOF", new Ce(this, t, t));
|
|
11856
11856
|
var a = this.tokenRegex.exec(e);
|
|
11857
11857
|
if (a === null || a.index !== t)
|
|
11858
|
-
throw new N("Unexpected character: '" + e[t] + "'", new
|
|
11858
|
+
throw new N("Unexpected character: '" + e[t] + "'", new Re(e[t], new Ce(this, t, t + 1)));
|
|
11859
11859
|
var n = a[6] || a[3] || (a[2] ? "\\ " : " ");
|
|
11860
11860
|
if (this.catcodes[n] === 14) {
|
|
11861
11861
|
var i = e.indexOf(`
|
|
11862
11862
|
`, this.tokenRegex.lastIndex);
|
|
11863
11863
|
return i === -1 ? (this.tokenRegex.lastIndex = e.length, this.settings.reportNonstrict("commentAtEnd", "% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")) : this.tokenRegex.lastIndex = i + 1, this.lex();
|
|
11864
11864
|
}
|
|
11865
|
-
return new
|
|
11865
|
+
return new Re(n, new Ce(this, t, this.tokenRegex.lastIndex));
|
|
11866
11866
|
}
|
|
11867
11867
|
}
|
|
11868
11868
|
class K1 {
|
|
@@ -11936,7 +11936,7 @@ class K1 {
|
|
|
11936
11936
|
t == null ? delete this.current[e] : this.current[e] = t;
|
|
11937
11937
|
}
|
|
11938
11938
|
}
|
|
11939
|
-
var J1 =
|
|
11939
|
+
var J1 = Mn;
|
|
11940
11940
|
d("\\noexpand", function(r) {
|
|
11941
11941
|
var e = r.popToken();
|
|
11942
11942
|
return r.isExpandable(e.text) && (e.noexpand = !0, e.treatAsRelax = !0), {
|
|
@@ -12204,7 +12204,7 @@ var Aa = {
|
|
|
12204
12204
|
};
|
|
12205
12205
|
d("\\dots", function(r) {
|
|
12206
12206
|
var e = "\\dotso", t = r.expandAfterFuture().text;
|
|
12207
|
-
return t in Aa ? e = Aa[t] : (t.slice(0, 4) === "\\not" || t in ie.math &&
|
|
12207
|
+
return t in Aa ? e = Aa[t] : (t.slice(0, 4) === "\\not" || t in ie.math && j.contains(["bin", "rel"], ie.math[t].group)) && (e = "\\dotsb"), e;
|
|
12208
12208
|
});
|
|
12209
12209
|
var Hr = {
|
|
12210
12210
|
// \rightdelim@ checks for the following:
|
|
@@ -12278,9 +12278,9 @@ d("\\pmod", "\\pod{{\\rm mod}\\mkern6mu#1}");
|
|
|
12278
12278
|
d("\\mod", "\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");
|
|
12279
12279
|
d("\\newline", "\\\\\\relax");
|
|
12280
12280
|
d("\\TeX", "\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");
|
|
12281
|
-
var
|
|
12282
|
-
d("\\LaTeX", "\\textrm{\\html@mathml{" + ("L\\kern-.36em\\raisebox{" +
|
|
12283
|
-
d("\\KaTeX", "\\textrm{\\html@mathml{" + ("K\\kern-.17em\\raisebox{" +
|
|
12281
|
+
var Rn = R(Ue["Main-Regular"][84][1] - 0.7 * Ue["Main-Regular"][65][1]);
|
|
12282
|
+
d("\\LaTeX", "\\textrm{\\html@mathml{" + ("L\\kern-.36em\\raisebox{" + Rn + "}{\\scriptstyle A}") + "\\kern-.15em\\TeX}{LaTeX}}");
|
|
12283
|
+
d("\\KaTeX", "\\textrm{\\html@mathml{" + ("K\\kern-.17em\\raisebox{" + Rn + "}{\\scriptstyle A}") + "\\kern-.15em\\TeX}{KaTeX}}");
|
|
12284
12284
|
d("\\hspace", "\\@ifstar\\@hspacer\\@hspace");
|
|
12285
12285
|
d("\\@hspace", "\\hskip #1\\relax");
|
|
12286
12286
|
d("\\@hspacer", "\\rule{0pt}{0pt}\\hskip #1\\relax");
|
|
@@ -12426,7 +12426,7 @@ d("\\ket", "\\mathinner{|{#1}\\rangle}");
|
|
|
12426
12426
|
d("\\braket", "\\mathinner{\\langle{#1}\\rangle}");
|
|
12427
12427
|
d("\\Bra", "\\left\\langle#1\\right|");
|
|
12428
12428
|
d("\\Ket", "\\left|#1\\right\\rangle");
|
|
12429
|
-
var
|
|
12429
|
+
var On = (r) => (e) => {
|
|
12430
12430
|
var t = e.consumeArg().tokens, a = e.consumeArg().tokens, n = e.consumeArg().tokens, i = e.consumeArg().tokens, o = e.macros.get("|"), u = e.macros.get("\\|");
|
|
12431
12431
|
e.macros.beginGroup();
|
|
12432
12432
|
var h = (b) => (w) => {
|
|
@@ -12453,8 +12453,8 @@ var qn = (r) => (e) => {
|
|
|
12453
12453
|
numArgs: 0
|
|
12454
12454
|
};
|
|
12455
12455
|
};
|
|
12456
|
-
d("\\bra@ket",
|
|
12457
|
-
d("\\bra@set",
|
|
12456
|
+
d("\\bra@ket", On(!1));
|
|
12457
|
+
d("\\bra@set", On(!0));
|
|
12458
12458
|
d("\\Braket", "\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");
|
|
12459
12459
|
d("\\Set", "\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");
|
|
12460
12460
|
d("\\set", "\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");
|
|
@@ -12515,7 +12515,7 @@ d("\\grayH", "\\textcolor{##3b3e40}{#1}");
|
|
|
12515
12515
|
d("\\grayI", "\\textcolor{##21242c}{#1}");
|
|
12516
12516
|
d("\\kaBlue", "\\textcolor{##314453}{#1}");
|
|
12517
12517
|
d("\\kaGreen", "\\textcolor{##71B307}{#1}");
|
|
12518
|
-
var
|
|
12518
|
+
var Hn = {
|
|
12519
12519
|
"^": !0,
|
|
12520
12520
|
// Parser.js
|
|
12521
12521
|
_: !0,
|
|
@@ -12606,7 +12606,7 @@ class Q1 {
|
|
|
12606
12606
|
start: t,
|
|
12607
12607
|
end: a
|
|
12608
12608
|
} = this.consumeArg());
|
|
12609
|
-
return this.pushToken(new
|
|
12609
|
+
return this.pushToken(new Re("EOF", a.loc)), this.pushTokens(n), t.range(a, "");
|
|
12610
12610
|
}
|
|
12611
12611
|
/**
|
|
12612
12612
|
* Consume all following space tokens, without expansion.
|
|
@@ -12748,7 +12748,7 @@ class Q1 {
|
|
|
12748
12748
|
* tokens, or return `undefined` if no such macro is defined.
|
|
12749
12749
|
*/
|
|
12750
12750
|
expandMacro(e) {
|
|
12751
|
-
return this.macros.has(e) ? this.expandTokens([new
|
|
12751
|
+
return this.macros.has(e) ? this.expandTokens([new Re(e)]) : void 0;
|
|
12752
12752
|
}
|
|
12753
12753
|
/**
|
|
12754
12754
|
* Fully expand the given token stream and return the resulting list of
|
|
@@ -12809,7 +12809,7 @@ class Q1 {
|
|
|
12809
12809
|
* `implicitCommands`.
|
|
12810
12810
|
*/
|
|
12811
12811
|
isDefined(e) {
|
|
12812
|
-
return this.macros.has(e) || p0.hasOwnProperty(e) || ie.math.hasOwnProperty(e) || ie.text.hasOwnProperty(e) ||
|
|
12812
|
+
return this.macros.has(e) || p0.hasOwnProperty(e) || ie.math.hasOwnProperty(e) || ie.text.hasOwnProperty(e) || Hn.hasOwnProperty(e);
|
|
12813
12813
|
}
|
|
12814
12814
|
/**
|
|
12815
12815
|
* Determine whether a command is expandable.
|
|
@@ -13366,7 +13366,7 @@ class Ht {
|
|
|
13366
13366
|
*/
|
|
13367
13367
|
subparse(e) {
|
|
13368
13368
|
var t = this.nextToken;
|
|
13369
|
-
this.consume(), this.gullet.pushToken(new
|
|
13369
|
+
this.consume(), this.gullet.pushToken(new Re("}")), this.gullet.pushTokens(e);
|
|
13370
13370
|
var a = this.parseExpression(!1);
|
|
13371
13371
|
return this.expect("}"), this.nextToken = t, a;
|
|
13372
13372
|
}
|
|
@@ -13504,11 +13504,11 @@ class Ht {
|
|
|
13504
13504
|
};
|
|
13505
13505
|
} else if (wt[i.text]) {
|
|
13506
13506
|
var m = za.test(i.text), v = [];
|
|
13507
|
-
for (v.push(new
|
|
13507
|
+
for (v.push(new Re(wt[i.text])), this.consume(); ; ) {
|
|
13508
13508
|
var b = this.fetch().text;
|
|
13509
13509
|
if (!wt[b] || za.test(b) !== m)
|
|
13510
13510
|
break;
|
|
13511
|
-
v.unshift(new
|
|
13511
|
+
v.unshift(new Re(wt[b])), this.consume();
|
|
13512
13512
|
}
|
|
13513
13513
|
var w = this.subparse(v);
|
|
13514
13514
|
m ? n = {
|
|
@@ -13703,7 +13703,7 @@ class Ht {
|
|
|
13703
13703
|
// sign + magnitude, cast to number
|
|
13704
13704
|
unit: n[3]
|
|
13705
13705
|
};
|
|
13706
|
-
if (!
|
|
13706
|
+
if (!Wa(i))
|
|
13707
13707
|
throw new N("Invalid unit: '" + i.unit + "'", t);
|
|
13708
13708
|
return {
|
|
13709
13709
|
type: "size",
|
|
@@ -13763,7 +13763,7 @@ class Ht {
|
|
|
13763
13763
|
this.expect(o), this.gullet.endGroup(), i = {
|
|
13764
13764
|
type: "ordgroup",
|
|
13765
13765
|
mode: this.mode,
|
|
13766
|
-
loc:
|
|
13766
|
+
loc: Ce.range(a, h),
|
|
13767
13767
|
body: u,
|
|
13768
13768
|
// A group formed by \begingroup...\endgroup is a semi-simple group
|
|
13769
13769
|
// which doesn't affect spacing in math mode, i.e., is transparent.
|
|
@@ -13771,7 +13771,7 @@ class Ht {
|
|
|
13771
13771
|
// use-begingroup-instead-of-bgroup
|
|
13772
13772
|
semisimple: n === "\\begingroup" || void 0
|
|
13773
13773
|
};
|
|
13774
|
-
} else if (i = this.parseFunction(t, e) || this.parseSymbol(), i == null && n[0] === "\\" && !
|
|
13774
|
+
} else if (i = this.parseFunction(t, e) || this.parseSymbol(), i == null && n[0] === "\\" && !Hn.hasOwnProperty(n)) {
|
|
13775
13775
|
if (this.settings.throwOnError)
|
|
13776
13776
|
throw new N("Undefined control sequence: " + n, a);
|
|
13777
13777
|
i = this.formatUnsupportedCmd(n), this.consume();
|
|
@@ -13792,17 +13792,17 @@ class Ht {
|
|
|
13792
13792
|
i === "-" && e[a + 1].text === "-" && (a + 1 < t && e[a + 2].text === "-" ? (e.splice(a, 3, {
|
|
13793
13793
|
type: "textord",
|
|
13794
13794
|
mode: "text",
|
|
13795
|
-
loc:
|
|
13795
|
+
loc: Ce.range(n, e[a + 2]),
|
|
13796
13796
|
text: "---"
|
|
13797
13797
|
}), t -= 2) : (e.splice(a, 2, {
|
|
13798
13798
|
type: "textord",
|
|
13799
13799
|
mode: "text",
|
|
13800
|
-
loc:
|
|
13800
|
+
loc: Ce.range(n, e[a + 1]),
|
|
13801
13801
|
text: "--"
|
|
13802
13802
|
}), t -= 1)), (i === "'" || i === "`") && e[a + 1].text === i && (e.splice(a, 2, {
|
|
13803
13803
|
type: "textord",
|
|
13804
13804
|
mode: "text",
|
|
13805
|
-
loc:
|
|
13805
|
+
loc: Ce.range(n, e[a + 1]),
|
|
13806
13806
|
text: i + i
|
|
13807
13807
|
}), t -= 1);
|
|
13808
13808
|
}
|
|
@@ -13832,7 +13832,7 @@ class Ht {
|
|
|
13832
13832
|
var o;
|
|
13833
13833
|
if (ie[this.mode][t]) {
|
|
13834
13834
|
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);
|
|
13835
|
-
var u = ie[this.mode][t].group, h =
|
|
13835
|
+
var u = ie[this.mode][t].group, h = Ce.range(e), m;
|
|
13836
13836
|
if ($s.hasOwnProperty(u)) {
|
|
13837
13837
|
var v = u;
|
|
13838
13838
|
m = {
|
|
@@ -13851,10 +13851,10 @@ class Ht {
|
|
|
13851
13851
|
};
|
|
13852
13852
|
o = m;
|
|
13853
13853
|
} else if (t.charCodeAt(0) >= 128)
|
|
13854
|
-
this.settings.strict && (
|
|
13854
|
+
this.settings.strict && (Ua(t.charCodeAt(0)) ? this.mode === "math" && this.settings.reportNonstrict("unicodeTextInMathMode", 'Unicode text character "' + t[0] + '" used in math mode', e) : this.settings.reportNonstrict("unknownSymbol", 'Unrecognized Unicode character "' + t[0] + '"' + (" (" + t.charCodeAt(0) + ")"), e)), o = {
|
|
13855
13855
|
type: "textord",
|
|
13856
13856
|
mode: "text",
|
|
13857
|
-
loc:
|
|
13857
|
+
loc: Ce.range(e),
|
|
13858
13858
|
text: t
|
|
13859
13859
|
};
|
|
13860
13860
|
else
|
|
@@ -13870,7 +13870,7 @@ class Ht {
|
|
|
13870
13870
|
o = {
|
|
13871
13871
|
type: "accent",
|
|
13872
13872
|
mode: this.mode,
|
|
13873
|
-
loc:
|
|
13873
|
+
loc: Ce.range(e),
|
|
13874
13874
|
label: S,
|
|
13875
13875
|
isStretchy: !1,
|
|
13876
13876
|
isShifty: !0,
|
|
@@ -13895,16 +13895,16 @@ var _r = function(e, t) {
|
|
|
13895
13895
|
type: "tag",
|
|
13896
13896
|
mode: "text",
|
|
13897
13897
|
body: n,
|
|
13898
|
-
tag: a.subparse([new
|
|
13898
|
+
tag: a.subparse([new Re("\\df@tag")])
|
|
13899
13899
|
}];
|
|
13900
13900
|
}
|
|
13901
13901
|
return n;
|
|
13902
|
-
},
|
|
13902
|
+
}, _n = function(e, t, a) {
|
|
13903
13903
|
t.textContent = "";
|
|
13904
13904
|
var n = Lr(e, a).toNode();
|
|
13905
13905
|
t.appendChild(n);
|
|
13906
13906
|
};
|
|
13907
|
-
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."),
|
|
13907
|
+
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."), _n = function() {
|
|
13908
13908
|
throw new N("KaTeX doesn't work in quirks mode.");
|
|
13909
13909
|
});
|
|
13910
13910
|
var el = function(e, t) {
|
|
@@ -13913,10 +13913,10 @@ var el = function(e, t) {
|
|
|
13913
13913
|
}, tl = function(e, t) {
|
|
13914
13914
|
var a = new wr(t);
|
|
13915
13915
|
return _r(e, a);
|
|
13916
|
-
},
|
|
13916
|
+
}, Ln = function(e, t, a) {
|
|
13917
13917
|
if (a.throwOnError || !(e instanceof N))
|
|
13918
13918
|
throw e;
|
|
13919
|
-
var n = k.makeSpan(["katex-error"], [new
|
|
13919
|
+
var n = k.makeSpan(["katex-error"], [new Oe(t)]);
|
|
13920
13920
|
return n.setAttribute("title", e.toString()), n.setAttribute("style", "color:" + a.errorColor), n;
|
|
13921
13921
|
}, Lr = function(e, t) {
|
|
13922
13922
|
var a = new wr(t);
|
|
@@ -13924,7 +13924,7 @@ var el = function(e, t) {
|
|
|
13924
13924
|
var n = _r(e, a);
|
|
13925
13925
|
return c1(n, e, a);
|
|
13926
13926
|
} catch (i) {
|
|
13927
|
-
return
|
|
13927
|
+
return Ln(i, e, a);
|
|
13928
13928
|
}
|
|
13929
13929
|
}, rl = function(e, t) {
|
|
13930
13930
|
var a = new wr(t);
|
|
@@ -13932,7 +13932,7 @@ var el = function(e, t) {
|
|
|
13932
13932
|
var n = _r(e, a);
|
|
13933
13933
|
return h1(n, e, a);
|
|
13934
13934
|
} catch (i) {
|
|
13935
|
-
return
|
|
13935
|
+
return Ln(i, e, a);
|
|
13936
13936
|
}
|
|
13937
13937
|
}, al = {
|
|
13938
13938
|
/**
|
|
@@ -13943,7 +13943,7 @@ var el = function(e, t) {
|
|
|
13943
13943
|
* Renders the given LaTeX into an HTML+MathML combination, and adds
|
|
13944
13944
|
* it as a child to the specified DOM node.
|
|
13945
13945
|
*/
|
|
13946
|
-
render:
|
|
13946
|
+
render: _n,
|
|
13947
13947
|
/**
|
|
13948
13948
|
* Renders the given LaTeX into an HTML+MathML combination string,
|
|
13949
13949
|
* for sending to the client.
|
|
@@ -14013,7 +14013,7 @@ var el = function(e, t) {
|
|
|
14013
14013
|
__domTree: {
|
|
14014
14014
|
Span: lt,
|
|
14015
14015
|
Anchor: Mr,
|
|
14016
|
-
SymbolNode:
|
|
14016
|
+
SymbolNode: Oe,
|
|
14017
14017
|
SvgNode: i0,
|
|
14018
14018
|
PathNode: g0,
|
|
14019
14019
|
LineNode: lr
|
|
@@ -14026,7 +14026,7 @@ const nl = /* @__PURE__ */ X({
|
|
|
14026
14026
|
block: { type: Boolean, default: !1 }
|
|
14027
14027
|
},
|
|
14028
14028
|
setup(r) {
|
|
14029
|
-
const e = r, t =
|
|
14029
|
+
const e = r, t = W(null), a = () => {
|
|
14030
14030
|
if (t.value)
|
|
14031
14031
|
try {
|
|
14032
14032
|
al.render(e.expression, t.value, {
|
|
@@ -14050,23 +14050,23 @@ const nl = /* @__PURE__ */ X({
|
|
|
14050
14050
|
setup(r) {
|
|
14051
14051
|
return (e, t) => (O(), $("div", il));
|
|
14052
14052
|
}
|
|
14053
|
-
}), ll = /* @__PURE__ */
|
|
14054
|
-
var ol = typeof global == "object" && global && global.Object === Object && global, ul = typeof self == "object" && self && self.Object === Object && self, cl = ol || ul || Function("return this")(),
|
|
14053
|
+
}), ll = /* @__PURE__ */ te(sl, [["__scopeId", "data-v-2d57ab99"]]);
|
|
14054
|
+
var ol = typeof global == "object" && global && global.Object === Object && global, ul = typeof self == "object" && self && self.Object === Object && self, cl = ol || ul || Function("return this")(), L0 = cl.Symbol, $n = Object.prototype, hl = $n.hasOwnProperty, dl = $n.toString, X0 = L0 ? L0.toStringTag : void 0;
|
|
14055
14055
|
function ml(r) {
|
|
14056
|
-
var e = hl.call(r,
|
|
14056
|
+
var e = hl.call(r, X0), t = r[X0];
|
|
14057
14057
|
try {
|
|
14058
|
-
r[
|
|
14058
|
+
r[X0] = void 0;
|
|
14059
14059
|
var a = !0;
|
|
14060
14060
|
} catch {
|
|
14061
14061
|
}
|
|
14062
14062
|
var n = dl.call(r);
|
|
14063
|
-
return a && (e ? r[
|
|
14063
|
+
return a && (e ? r[X0] = t : delete r[X0]), n;
|
|
14064
14064
|
}
|
|
14065
14065
|
var pl = Object.prototype, fl = pl.toString;
|
|
14066
14066
|
function vl(r) {
|
|
14067
14067
|
return fl.call(r);
|
|
14068
14068
|
}
|
|
14069
|
-
var gl = "[object Null]", bl = "[object Undefined]", Ca =
|
|
14069
|
+
var gl = "[object Null]", bl = "[object Undefined]", Ca = L0 ? L0.toStringTag : void 0;
|
|
14070
14070
|
function yl(r) {
|
|
14071
14071
|
return r == null ? r === void 0 ? bl : gl : Ca && Ca in Object(r) ? ml(r) : vl(r);
|
|
14072
14072
|
}
|
|
@@ -14082,19 +14082,19 @@ function Sl(r, e) {
|
|
|
14082
14082
|
n[t] = e(r[t], t, r);
|
|
14083
14083
|
return n;
|
|
14084
14084
|
}
|
|
14085
|
-
var Ml = Array.isArray, Al = 1 / 0, Ea =
|
|
14086
|
-
function
|
|
14085
|
+
var Ml = Array.isArray, Al = 1 / 0, Ea = L0 ? L0.prototype : void 0, Ba = Ea ? Ea.toString : void 0;
|
|
14086
|
+
function Pn(r) {
|
|
14087
14087
|
if (typeof r == "string")
|
|
14088
14088
|
return r;
|
|
14089
14089
|
if (Ml(r))
|
|
14090
|
-
return Sl(r,
|
|
14090
|
+
return Sl(r, Pn) + "";
|
|
14091
14091
|
if (kl(r))
|
|
14092
14092
|
return Ba ? Ba.call(r) : "";
|
|
14093
14093
|
var e = r + "";
|
|
14094
14094
|
return e == "0" && 1 / r == -Al ? "-0" : e;
|
|
14095
14095
|
}
|
|
14096
|
-
function
|
|
14097
|
-
return r == null ? "" :
|
|
14096
|
+
function jn(r) {
|
|
14097
|
+
return r == null ? "" : Pn(r);
|
|
14098
14098
|
}
|
|
14099
14099
|
function zl(r, e, t, a) {
|
|
14100
14100
|
for (var n = -1, i = r == null ? 0 : r.length; ++n < i; )
|
|
@@ -14301,7 +14301,7 @@ var Cl = {
|
|
|
14301
14301
|
ſ: "s"
|
|
14302
14302
|
}, El = Tl(Cl), Bl = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Dl = "\\u0300-\\u036f", Il = "\\ufe20-\\ufe2f", Fl = "\\u20d0-\\u20ff", Nl = Dl + Il + Fl, ql = "[" + Nl + "]", Rl = RegExp(ql, "g");
|
|
14303
14303
|
function Ol(r) {
|
|
14304
|
-
return r =
|
|
14304
|
+
return r = jn(r), r && r.replace(Bl, El).replace(Rl, "");
|
|
14305
14305
|
}
|
|
14306
14306
|
var Hl = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
14307
14307
|
function _l(r) {
|
|
@@ -14311,21 +14311,21 @@ var Ll = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
|
|
|
14311
14311
|
function $l(r) {
|
|
14312
14312
|
return Ll.test(r);
|
|
14313
14313
|
}
|
|
14314
|
-
var
|
|
14315
|
-
|
|
14316
|
-
ao + "+" + Na + "(?=" + [Da,
|
|
14317
|
-
|
|
14318
|
-
|
|
14314
|
+
var Gn = "\\ud800-\\udfff", Pl = "\\u0300-\\u036f", jl = "\\ufe20-\\ufe2f", Gl = "\\u20d0-\\u20ff", Vl = Pl + jl + Gl, Vn = "\\u2700-\\u27bf", Un = "a-z\\xdf-\\xf6\\xf8-\\xff", Ul = "\\xac\\xb1\\xd7\\xf7", Wl = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Yl = "\\u2000-\\u206f", Zl = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Wn = "A-Z\\xc0-\\xd6\\xd8-\\xde", Xl = "\\ufe0e\\ufe0f", Yn = Ul + Wl + Yl + Zl, Zn = "['’]", Da = "[" + Yn + "]", Kl = "[" + Vl + "]", Xn = "\\d+", Jl = "[" + Vn + "]", Kn = "[" + Un + "]", Jn = "[^" + Gn + Yn + Xn + Vn + Un + Wn + "]", Ql = "\\ud83c[\\udffb-\\udfff]", eo = "(?:" + Kl + "|" + Ql + ")", to = "[^" + Gn + "]", Qn = "(?:\\ud83c[\\udde6-\\uddff]){2}", ei = "[\\ud800-\\udbff][\\udc00-\\udfff]", O0 = "[" + Wn + "]", ro = "\\u200d", Ia = "(?:" + Kn + "|" + Jn + ")", ao = "(?:" + O0 + "|" + Jn + ")", Fa = "(?:" + Zn + "(?:d|ll|m|re|s|t|ve))?", Na = "(?:" + Zn + "(?:D|LL|M|RE|S|T|VE))?", ti = eo + "?", ri = "[" + Xl + "]?", no = "(?:" + ro + "(?:" + [to, Qn, ei].join("|") + ")" + ri + ti + ")*", io = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", so = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", lo = ri + ti + no, oo = "(?:" + [Jl, Qn, ei].join("|") + ")" + lo, uo = RegExp([
|
|
14315
|
+
O0 + "?" + Kn + "+" + Fa + "(?=" + [Da, O0, "$"].join("|") + ")",
|
|
14316
|
+
ao + "+" + Na + "(?=" + [Da, O0 + Ia, "$"].join("|") + ")",
|
|
14317
|
+
O0 + "?" + Ia + "+" + Fa,
|
|
14318
|
+
O0 + "+" + Na,
|
|
14319
14319
|
so,
|
|
14320
14320
|
io,
|
|
14321
|
-
|
|
14321
|
+
Xn,
|
|
14322
14322
|
oo
|
|
14323
14323
|
].join("|"), "g");
|
|
14324
14324
|
function co(r) {
|
|
14325
14325
|
return r.match(uo) || [];
|
|
14326
14326
|
}
|
|
14327
14327
|
function ho(r, e, t) {
|
|
14328
|
-
return r =
|
|
14328
|
+
return r = jn(r), e = e, e === void 0 ? $l(r) ? co(r) : _l(r) : r.match(e) || [];
|
|
14329
14329
|
}
|
|
14330
14330
|
var mo = "['’]", po = RegExp(mo, "g");
|
|
14331
14331
|
function fo(r) {
|
|
@@ -14333,7 +14333,7 @@ function fo(r) {
|
|
|
14333
14333
|
return zl(ho(Ol(e).replace(po, "")), r, "");
|
|
14334
14334
|
};
|
|
14335
14335
|
}
|
|
14336
|
-
var
|
|
14336
|
+
var U0 = fo(function(r, e, t) {
|
|
14337
14337
|
return r + (t ? "-" : "") + e.toLowerCase();
|
|
14338
14338
|
});
|
|
14339
14339
|
const vo = ["id"], go = /* @__PURE__ */ X({
|
|
@@ -14344,18 +14344,18 @@ const vo = ["id"], go = /* @__PURE__ */ X({
|
|
|
14344
14344
|
id: {}
|
|
14345
14345
|
},
|
|
14346
14346
|
setup(r) {
|
|
14347
|
-
const e =
|
|
14347
|
+
const e = W(null), t = W(!1);
|
|
14348
14348
|
return u0(e, ([{ isIntersecting: a }], n) => {
|
|
14349
14349
|
t.value = a;
|
|
14350
14350
|
}), (a, n) => (O(), $("h1", {
|
|
14351
14351
|
ref_key: "target",
|
|
14352
14352
|
ref: e,
|
|
14353
14353
|
class: "h1",
|
|
14354
|
-
id: a.id ?? Z(
|
|
14354
|
+
id: a.id ?? Z(U0)(a.text),
|
|
14355
14355
|
style: ee({ "--scale": t.value ? 1 : 0, "--font-size": a.size })
|
|
14356
14356
|
}, $e(a.text), 13, vo));
|
|
14357
14357
|
}
|
|
14358
|
-
}), bo = /* @__PURE__ */
|
|
14358
|
+
}), bo = /* @__PURE__ */ te(go, [["__scopeId", "data-v-3a5371fc"]]), yo = ["id"], xo = /* @__PURE__ */ X({
|
|
14359
14359
|
__name: "ElmHeading2",
|
|
14360
14360
|
props: {
|
|
14361
14361
|
text: {},
|
|
@@ -14363,27 +14363,27 @@ const vo = ["id"], go = /* @__PURE__ */ X({
|
|
|
14363
14363
|
id: {}
|
|
14364
14364
|
},
|
|
14365
14365
|
setup(r) {
|
|
14366
|
-
const e =
|
|
14366
|
+
const e = W(null), t = W(!1);
|
|
14367
14367
|
return u0(e, ([{ isIntersecting: a }], n) => {
|
|
14368
14368
|
t.value = a;
|
|
14369
14369
|
}), (a, n) => (O(), $("h2", {
|
|
14370
14370
|
ref_key: "target",
|
|
14371
14371
|
ref: e,
|
|
14372
14372
|
class: "h2",
|
|
14373
|
-
id: a.id ?? Z(
|
|
14373
|
+
id: a.id ?? Z(U0)(a.text),
|
|
14374
14374
|
style: ee({
|
|
14375
14375
|
"--scale": t.value ? 1 : 0,
|
|
14376
14376
|
"--font-size": a.size
|
|
14377
14377
|
})
|
|
14378
14378
|
}, [
|
|
14379
14379
|
et($e(a.text), 1),
|
|
14380
|
-
n[0] || (n[0] =
|
|
14380
|
+
n[0] || (n[0] = P("span", {
|
|
14381
14381
|
class: "underline",
|
|
14382
14382
|
"aria-hidden": ""
|
|
14383
14383
|
}, null, -1))
|
|
14384
14384
|
], 12, yo));
|
|
14385
14385
|
}
|
|
14386
|
-
}), wo = /* @__PURE__ */
|
|
14386
|
+
}), wo = /* @__PURE__ */ te(xo, [["__scopeId", "data-v-b29fb676"]]), ko = ["id"], So = /* @__PURE__ */ X({
|
|
14387
14387
|
__name: "ElmHeading3",
|
|
14388
14388
|
props: {
|
|
14389
14389
|
text: {},
|
|
@@ -14393,11 +14393,11 @@ const vo = ["id"], go = /* @__PURE__ */ X({
|
|
|
14393
14393
|
setup(r) {
|
|
14394
14394
|
return (e, t) => (O(), $("h3", {
|
|
14395
14395
|
class: "h3",
|
|
14396
|
-
id: e.id ?? Z(
|
|
14396
|
+
id: e.id ?? Z(U0)(e.text),
|
|
14397
14397
|
style: ee({ "--font-size": e.size })
|
|
14398
14398
|
}, $e(e.text), 13, ko));
|
|
14399
14399
|
}
|
|
14400
|
-
}), Mo = /* @__PURE__ */
|
|
14400
|
+
}), Mo = /* @__PURE__ */ te(So, [["__scopeId", "data-v-ea6f7d3c"]]), Ao = ["id"], zo = /* @__PURE__ */ X({
|
|
14401
14401
|
__name: "ElmHeading4",
|
|
14402
14402
|
props: {
|
|
14403
14403
|
text: {},
|
|
@@ -14407,11 +14407,11 @@ const vo = ["id"], go = /* @__PURE__ */ X({
|
|
|
14407
14407
|
setup(r) {
|
|
14408
14408
|
return (e, t) => (O(), $("h4", {
|
|
14409
14409
|
class: "h4",
|
|
14410
|
-
id: e.id ?? Z(
|
|
14410
|
+
id: e.id ?? Z(U0)(e.text),
|
|
14411
14411
|
style: ee({ "--font-size": e.size })
|
|
14412
14412
|
}, $e(e.text), 13, Ao));
|
|
14413
14413
|
}
|
|
14414
|
-
}), To = /* @__PURE__ */
|
|
14414
|
+
}), To = /* @__PURE__ */ te(zo, [["__scopeId", "data-v-e01c4c99"]]), Co = ["id"], Eo = /* @__PURE__ */ X({
|
|
14415
14415
|
__name: "ElmHeading5",
|
|
14416
14416
|
props: {
|
|
14417
14417
|
text: {},
|
|
@@ -14421,11 +14421,11 @@ const vo = ["id"], go = /* @__PURE__ */ X({
|
|
|
14421
14421
|
setup(r) {
|
|
14422
14422
|
return (e, t) => (O(), $("h5", {
|
|
14423
14423
|
class: "h5",
|
|
14424
|
-
id: e.id ?? Z(
|
|
14424
|
+
id: e.id ?? Z(U0)(e.text),
|
|
14425
14425
|
style: ee({ "--font-size": e.size })
|
|
14426
14426
|
}, $e(e.text), 13, Co));
|
|
14427
14427
|
}
|
|
14428
|
-
}), Bo = /* @__PURE__ */
|
|
14428
|
+
}), Bo = /* @__PURE__ */ te(Eo, [["__scopeId", "data-v-0eace1c8"]]), Do = ["id"], Io = /* @__PURE__ */ X({
|
|
14429
14429
|
__name: "ElmHeading6",
|
|
14430
14430
|
props: {
|
|
14431
14431
|
text: {},
|
|
@@ -14435,11 +14435,11 @@ const vo = ["id"], go = /* @__PURE__ */ X({
|
|
|
14435
14435
|
setup(r) {
|
|
14436
14436
|
return (e, t) => (O(), $("h6", {
|
|
14437
14437
|
class: "h2",
|
|
14438
|
-
id: e.id ?? Z(
|
|
14438
|
+
id: e.id ?? Z(U0)(e.text),
|
|
14439
14439
|
style: ee({ "--font-size": e.size })
|
|
14440
14440
|
}, $e(e.text), 13, Do));
|
|
14441
14441
|
}
|
|
14442
|
-
}), Fo = /* @__PURE__ */
|
|
14442
|
+
}), Fo = /* @__PURE__ */ te(Io, [["__scopeId", "data-v-15e020de"]]), No = /* @__PURE__ */ X({
|
|
14443
14443
|
__name: "ElmCubeIcon",
|
|
14444
14444
|
props: {
|
|
14445
14445
|
size: { default: 128 }
|
|
@@ -14460,7 +14460,7 @@ const vo = ["id"], go = /* @__PURE__ */ X({
|
|
|
14460
14460
|
height: `${n.size}px`
|
|
14461
14461
|
})
|
|
14462
14462
|
}, [
|
|
14463
|
-
(O(), $(n0, null, Dt(a, (o) =>
|
|
14463
|
+
(O(), $(n0, null, Dt(a, (o) => P("div", {
|
|
14464
14464
|
key: o.name,
|
|
14465
14465
|
class: "face",
|
|
14466
14466
|
style: ee({
|
|
@@ -14469,7 +14469,7 @@ const vo = ["id"], go = /* @__PURE__ */ X({
|
|
|
14469
14469
|
}, null, 4)), 64))
|
|
14470
14470
|
], 4));
|
|
14471
14471
|
}
|
|
14472
|
-
}),
|
|
14472
|
+
}), k4 = /* @__PURE__ */ te(No, [["__scopeId", "data-v-6e57ae8c"]]), qo = /* @__PURE__ */ X({
|
|
14473
14473
|
__name: "ElmDotLoadingIcon",
|
|
14474
14474
|
props: {
|
|
14475
14475
|
color: { default: void 0 },
|
|
@@ -14480,20 +14480,20 @@ const vo = ["id"], go = /* @__PURE__ */ X({
|
|
|
14480
14480
|
class: "wrapper",
|
|
14481
14481
|
style: ee({ width: e.size, height: e.size })
|
|
14482
14482
|
}, [
|
|
14483
|
-
(O(), $(n0, null, Dt(3, (a) =>
|
|
14483
|
+
(O(), $(n0, null, Dt(3, (a) => P("div", {
|
|
14484
14484
|
"aria-hidden": "",
|
|
14485
14485
|
key: a,
|
|
14486
14486
|
style: ee({ backgroundColor: e.color })
|
|
14487
14487
|
}, null, 4)), 64))
|
|
14488
14488
|
], 4));
|
|
14489
14489
|
}
|
|
14490
|
-
}), Ro = /* @__PURE__ */
|
|
14490
|
+
}), Ro = /* @__PURE__ */ te(qo, [["__scopeId", "data-v-08886e37"]]), Oo = /* @__PURE__ */ X({
|
|
14491
14491
|
__name: "ElmToggleTheme",
|
|
14492
14492
|
props: {
|
|
14493
14493
|
size: { default: "2rem" }
|
|
14494
14494
|
},
|
|
14495
14495
|
setup(r) {
|
|
14496
|
-
const e =
|
|
14496
|
+
const e = W(!1), t = () => {
|
|
14497
14497
|
e.value = !e.value;
|
|
14498
14498
|
};
|
|
14499
14499
|
return Ha(() => {
|
|
@@ -14504,13 +14504,13 @@ const vo = ["id"], go = /* @__PURE__ */ X({
|
|
|
14504
14504
|
}), it(() => {
|
|
14505
14505
|
const a = document.documentElement.getAttribute("data-theme");
|
|
14506
14506
|
e.value = a === "dark";
|
|
14507
|
-
}), (a, n) => (O(), Ye(
|
|
14507
|
+
}), (a, n) => (O(), Ye(F0(e.value ? Z(Ai) : Z(Ci)), {
|
|
14508
14508
|
class: "icon",
|
|
14509
14509
|
style: ee({ width: a.size, height: a.size }),
|
|
14510
14510
|
onClick: t
|
|
14511
14511
|
}, null, 8, ["style"]));
|
|
14512
14512
|
}
|
|
14513
|
-
}),
|
|
14513
|
+
}), S4 = /* @__PURE__ */ te(Oo, [["__scopeId", "data-v-96b850cb"]]), Ho = { class: "code" }, _o = /* @__PURE__ */ X({
|
|
14514
14514
|
__name: "ElmInlineCode",
|
|
14515
14515
|
props: {
|
|
14516
14516
|
code: {},
|
|
@@ -14518,13 +14518,13 @@ const vo = ["id"], go = /* @__PURE__ */ X({
|
|
|
14518
14518
|
},
|
|
14519
14519
|
setup(r) {
|
|
14520
14520
|
return (e, t) => (O(), $("code", Ho, [
|
|
14521
|
-
|
|
14521
|
+
ae(ke, {
|
|
14522
14522
|
text: e.code,
|
|
14523
14523
|
color: e.color
|
|
14524
14524
|
}, null, 8, ["text", "color"])
|
|
14525
14525
|
]));
|
|
14526
14526
|
}
|
|
14527
|
-
}), Lo = /* @__PURE__ */
|
|
14527
|
+
}), Lo = /* @__PURE__ */ te(_o, [["__scopeId", "data-v-9be3e2da"]]), $o = ["href", "target"], Po = /* @__PURE__ */ X({
|
|
14528
14528
|
__name: "ElmInlineLink",
|
|
14529
14529
|
props: {
|
|
14530
14530
|
text: {},
|
|
@@ -14548,12 +14548,12 @@ const vo = ["id"], go = /* @__PURE__ */ X({
|
|
|
14548
14548
|
onClick: t
|
|
14549
14549
|
}, [
|
|
14550
14550
|
et($e(a.text) + " ", 1),
|
|
14551
|
-
(O(), Ye(
|
|
14551
|
+
(O(), Ye(F0(
|
|
14552
14552
|
a.iconType != null ? a.iconType === "internal" ? Z(At) : Z(Gr) : a.openInNewTab ? Z(Gr) : Z(At)
|
|
14553
14553
|
), { class: "icon" }))
|
|
14554
14554
|
], 12, $o));
|
|
14555
14555
|
}
|
|
14556
|
-
}),
|
|
14556
|
+
}), ai = /* @__PURE__ */ te(Po, [["__scopeId", "data-v-aab31085"]]), M4 = /* @__PURE__ */ X({
|
|
14557
14557
|
__name: "ElmInlineRuby",
|
|
14558
14558
|
props: {
|
|
14559
14559
|
text: {},
|
|
@@ -14562,12 +14562,12 @@ const vo = ["id"], go = /* @__PURE__ */ X({
|
|
|
14562
14562
|
},
|
|
14563
14563
|
setup(r) {
|
|
14564
14564
|
return (e, t) => (O(), $("ruby", null, [
|
|
14565
|
-
|
|
14565
|
+
ae(ke, {
|
|
14566
14566
|
text: e.text,
|
|
14567
14567
|
color: e.color
|
|
14568
14568
|
}, null, 8, ["text", "color"]),
|
|
14569
|
-
|
|
14570
|
-
|
|
14569
|
+
P("rt", null, [
|
|
14570
|
+
ae(ke, {
|
|
14571
14571
|
text: e.ruby,
|
|
14572
14572
|
color: e.color
|
|
14573
14573
|
}, null, 8, ["text", "color"])
|
|
@@ -14588,17 +14588,17 @@ const vo = ["id"], go = /* @__PURE__ */ X({
|
|
|
14588
14588
|
enableModal: { type: Boolean, default: !1 }
|
|
14589
14589
|
},
|
|
14590
14590
|
setup(r) {
|
|
14591
|
-
const e =
|
|
14591
|
+
const e = W(!0), t = W(!1);
|
|
14592
14592
|
return ji("Escape", (a) => {
|
|
14593
14593
|
a.preventDefault(), t.value = !1;
|
|
14594
14594
|
}), (a, n) => (O(), $(n0, null, [
|
|
14595
14595
|
e.value ? (O(), $("div", jo, [
|
|
14596
|
-
|
|
14597
|
-
|
|
14598
|
-
|
|
14596
|
+
ae(ll),
|
|
14597
|
+
P("div", null, [
|
|
14598
|
+
ae(Ro)
|
|
14599
14599
|
])
|
|
14600
|
-
])) :
|
|
14601
|
-
|
|
14600
|
+
])) : Ne("", !0),
|
|
14601
|
+
P("img", {
|
|
14602
14602
|
class: "image",
|
|
14603
14603
|
src: a.src,
|
|
14604
14604
|
alt: a.alt,
|
|
@@ -14614,10 +14614,10 @@ const vo = ["id"], go = /* @__PURE__ */ X({
|
|
|
14614
14614
|
"--cursor": a.enableModal ? "zoom-in" : "auto"
|
|
14615
14615
|
})
|
|
14616
14616
|
}, null, 44, Go),
|
|
14617
|
-
|
|
14618
|
-
default:
|
|
14617
|
+
ae(yr, null, {
|
|
14618
|
+
default: B0(() => [
|
|
14619
14619
|
t.value ? (O(), $("div", Vo, [
|
|
14620
|
-
|
|
14620
|
+
P("img", {
|
|
14621
14621
|
class: "modal-image",
|
|
14622
14622
|
src: a.src,
|
|
14623
14623
|
alt: a.alt,
|
|
@@ -14625,13 +14625,13 @@ const vo = ["id"], go = /* @__PURE__ */ X({
|
|
|
14625
14625
|
t.value = !1;
|
|
14626
14626
|
})
|
|
14627
14627
|
}, null, 8, Uo)
|
|
14628
|
-
])) :
|
|
14628
|
+
])) : Ne("", !0)
|
|
14629
14629
|
]),
|
|
14630
14630
|
_: 1
|
|
14631
14631
|
})
|
|
14632
14632
|
], 64));
|
|
14633
14633
|
}
|
|
14634
|
-
}),
|
|
14634
|
+
}), ni = /* @__PURE__ */ te(Wo, [["__scopeId", "data-v-e0c0de35"]]), Yo = ["href", "target"], Zo = { class: "image" }, Xo = { class: "typography" }, Ko = { class: "title" }, Jo = {
|
|
14635
14635
|
key: 0,
|
|
14636
14636
|
class: "date"
|
|
14637
14637
|
}, Qo = {
|
|
@@ -14668,18 +14668,18 @@ const vo = ["id"], go = /* @__PURE__ */ X({
|
|
|
14668
14668
|
}),
|
|
14669
14669
|
onClick: t
|
|
14670
14670
|
}, [
|
|
14671
|
-
|
|
14672
|
-
|
|
14671
|
+
P("div", Zo, [
|
|
14672
|
+
ae(ni, { src: a.image }, null, 8, ["src"])
|
|
14673
14673
|
]),
|
|
14674
|
-
|
|
14675
|
-
|
|
14676
|
-
|
|
14674
|
+
P("div", Xo, [
|
|
14675
|
+
P("div", Ko, [
|
|
14676
|
+
ae(ke, {
|
|
14677
14677
|
text: a.title,
|
|
14678
14678
|
bold: ""
|
|
14679
14679
|
}, null, 8, ["text"])
|
|
14680
14680
|
]),
|
|
14681
|
-
|
|
14682
|
-
|
|
14681
|
+
P("div", null, [
|
|
14682
|
+
ae(ke, {
|
|
14683
14683
|
text: a.description.length > 200 ? a.description.slice(0, 200) + "..." : a.description,
|
|
14684
14684
|
size: ".8rem",
|
|
14685
14685
|
style: { opacity: 0.6 }
|
|
@@ -14687,23 +14687,23 @@ const vo = ["id"], go = /* @__PURE__ */ X({
|
|
|
14687
14687
|
]),
|
|
14688
14688
|
a.createdAt != null || a.updatedAt != null ? (O(), $("div", Jo, [
|
|
14689
14689
|
a.createdAt != null ? (O(), $(n0, { key: 0 }, [
|
|
14690
|
-
|
|
14691
|
-
|
|
14690
|
+
ae(Z(vi), { class: "icon" }),
|
|
14691
|
+
ae(ke, {
|
|
14692
14692
|
text: `${a.createdAt}`,
|
|
14693
14693
|
size: ".8rem"
|
|
14694
14694
|
}, null, 8, ["text"])
|
|
14695
|
-
], 64)) :
|
|
14695
|
+
], 64)) : Ne("", !0),
|
|
14696
14696
|
a.updatedAt != null ? (O(), $(n0, { key: 1 }, [
|
|
14697
|
-
|
|
14698
|
-
|
|
14697
|
+
ae(Z(fi), { class: "icon" }),
|
|
14698
|
+
ae(ke, {
|
|
14699
14699
|
text: `${a.updatedAt}`,
|
|
14700
14700
|
size: ".8rem"
|
|
14701
14701
|
}, null, 8, ["text"])
|
|
14702
|
-
], 64)) :
|
|
14703
|
-
])) :
|
|
14704
|
-
a.hideUrl ?
|
|
14705
|
-
|
|
14706
|
-
|
|
14702
|
+
], 64)) : Ne("", !0)
|
|
14703
|
+
])) : Ne("", !0),
|
|
14704
|
+
a.hideUrl ? Ne("", !0) : (O(), $("div", Qo, [
|
|
14705
|
+
P("div", null, [
|
|
14706
|
+
ae(ai, {
|
|
14707
14707
|
text: a.url,
|
|
14708
14708
|
href: "#",
|
|
14709
14709
|
size: ".8rem"
|
|
@@ -14713,13 +14713,13 @@ const vo = ["id"], go = /* @__PURE__ */ X({
|
|
|
14713
14713
|
])
|
|
14714
14714
|
], 12, Yo));
|
|
14715
14715
|
}
|
|
14716
|
-
}), tu = /* @__PURE__ */
|
|
14716
|
+
}), tu = /* @__PURE__ */ te(eu, [["__scopeId", "data-v-a56548b6"]]), ru = ["onClick"], au = /* @__PURE__ */ X({
|
|
14717
14717
|
__name: "ElmBreadcrumb",
|
|
14718
14718
|
props: {
|
|
14719
14719
|
links: {}
|
|
14720
14720
|
},
|
|
14721
14721
|
setup(r) {
|
|
14722
|
-
const e =
|
|
14722
|
+
const e = W(null), t = W(!1);
|
|
14723
14723
|
return u0(e, ([{ isIntersecting: a }], n) => {
|
|
14724
14724
|
t.value = a;
|
|
14725
14725
|
}), (a, n) => (O(), $("nav", {
|
|
@@ -14731,21 +14731,21 @@ const vo = ["id"], go = /* @__PURE__ */ X({
|
|
|
14731
14731
|
})
|
|
14732
14732
|
}, [
|
|
14733
14733
|
(O(!0), $(n0, null, Dt(a.links, (i, o) => (O(), $(n0, null, [
|
|
14734
|
-
|
|
14734
|
+
P("div", {
|
|
14735
14735
|
class: "link-container",
|
|
14736
14736
|
onClick: i.onClick
|
|
14737
14737
|
}, [
|
|
14738
|
-
(O(), Ye(
|
|
14738
|
+
(O(), Ye(F0(
|
|
14739
14739
|
o === 0 ? Z(Si) : o === a.links.length - 1 ? Z(xi) : Z(ki)
|
|
14740
14740
|
), {
|
|
14741
|
-
class:
|
|
14741
|
+
class: E0(["icon", "fade"]),
|
|
14742
14742
|
style: ee({
|
|
14743
14743
|
"--delay": `${o * 100}ms`
|
|
14744
14744
|
})
|
|
14745
14745
|
}, null, 8, ["style"])),
|
|
14746
|
-
|
|
14746
|
+
ae(ke, {
|
|
14747
14747
|
text: i.text,
|
|
14748
|
-
class:
|
|
14748
|
+
class: E0(["link-text", "fade"]),
|
|
14749
14749
|
style: ee({
|
|
14750
14750
|
"--delay": `${o * 100 + 50}ms`
|
|
14751
14751
|
})
|
|
@@ -14753,22 +14753,22 @@ const vo = ["id"], go = /* @__PURE__ */ X({
|
|
|
14753
14753
|
], 8, ru),
|
|
14754
14754
|
a.links.length !== o + 1 ? (O(), Ye(Z(At), {
|
|
14755
14755
|
key: 0,
|
|
14756
|
-
class:
|
|
14756
|
+
class: E0(["chevron", "fade"]),
|
|
14757
14757
|
style: ee({
|
|
14758
14758
|
"--delay": `${o * 100 + 100}ms`
|
|
14759
14759
|
})
|
|
14760
|
-
}, null, 8, ["style"])) :
|
|
14760
|
+
}, null, 8, ["style"])) : Ne("", !0)
|
|
14761
14761
|
], 64))), 256))
|
|
14762
14762
|
], 4));
|
|
14763
14763
|
}
|
|
14764
|
-
}),
|
|
14764
|
+
}), A4 = /* @__PURE__ */ te(au, [["__scopeId", "data-v-d40d6e77"]]), nu = /* @__PURE__ */ X({
|
|
14765
14765
|
__name: "ElmPagetop",
|
|
14766
14766
|
props: {
|
|
14767
14767
|
position: { default: "right" }
|
|
14768
14768
|
},
|
|
14769
14769
|
setup(r) {
|
|
14770
|
-
const e =
|
|
14771
|
-
|
|
14770
|
+
const e = W(!1), { y: t } = Xi();
|
|
14771
|
+
I0(
|
|
14772
14772
|
() => t.value,
|
|
14773
14773
|
() => {
|
|
14774
14774
|
e.value = t.value > 100;
|
|
@@ -14778,7 +14778,7 @@ const vo = ["id"], go = /* @__PURE__ */ X({
|
|
|
14778
14778
|
window.scrollTo({ top: 0, behavior: "smooth" });
|
|
14779
14779
|
};
|
|
14780
14780
|
return (n, i) => (O(), $("nav", {
|
|
14781
|
-
class:
|
|
14781
|
+
class: E0(["wrapper", { "wrapper--visible": e.value }]),
|
|
14782
14782
|
style: ee({
|
|
14783
14783
|
"--size": "64px",
|
|
14784
14784
|
left: n.position === "left" ? "0" : "auto",
|
|
@@ -14786,21 +14786,21 @@ const vo = ["id"], go = /* @__PURE__ */ X({
|
|
|
14786
14786
|
}),
|
|
14787
14787
|
onClick: a
|
|
14788
14788
|
}, i[0] || (i[0] = [
|
|
14789
|
-
|
|
14790
|
-
|
|
14791
|
-
|
|
14792
|
-
|
|
14789
|
+
P("div", { "aria-hidden": "" }, null, -1),
|
|
14790
|
+
P("div", { "aria-hidden": "" }, null, -1),
|
|
14791
|
+
P("div", { "aria-hidden": "" }, null, -1),
|
|
14792
|
+
P("span", null, "Back to Top", -1)
|
|
14793
14793
|
]), 6));
|
|
14794
14794
|
}
|
|
14795
|
-
}),
|
|
14796
|
-
function
|
|
14797
|
-
return
|
|
14795
|
+
}), z4 = /* @__PURE__ */ te(nu, [["__scopeId", "data-v-ee7cbc71"]]);
|
|
14796
|
+
function Me() {
|
|
14797
|
+
return Me = Object.assign ? Object.assign.bind() : function(r) {
|
|
14798
14798
|
for (var e = 1; e < arguments.length; e++) {
|
|
14799
14799
|
var t = arguments[e];
|
|
14800
14800
|
for (var a in t) ({}).hasOwnProperty.call(t, a) && (r[a] = t[a]);
|
|
14801
14801
|
}
|
|
14802
14802
|
return r;
|
|
14803
|
-
},
|
|
14803
|
+
}, Me.apply(null, arguments);
|
|
14804
14804
|
}
|
|
14805
14805
|
function iu(r) {
|
|
14806
14806
|
if (r === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
@@ -14826,18 +14826,18 @@ function lu(r) {
|
|
|
14826
14826
|
return typeof r == "function";
|
|
14827
14827
|
}
|
|
14828
14828
|
}
|
|
14829
|
-
function
|
|
14829
|
+
function ii() {
|
|
14830
14830
|
try {
|
|
14831
14831
|
var r = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
14832
14832
|
}));
|
|
14833
14833
|
} catch {
|
|
14834
14834
|
}
|
|
14835
|
-
return (
|
|
14835
|
+
return (ii = function() {
|
|
14836
14836
|
return !!r;
|
|
14837
14837
|
})();
|
|
14838
14838
|
}
|
|
14839
14839
|
function ou(r, e, t) {
|
|
14840
|
-
if (
|
|
14840
|
+
if (ii()) return Reflect.construct.apply(null, arguments);
|
|
14841
14841
|
var a = [null];
|
|
14842
14842
|
a.push.apply(a, e);
|
|
14843
14843
|
var n = new (r.bind.apply(r, a))();
|
|
@@ -15288,7 +15288,7 @@ function du(r) {
|
|
|
15288
15288
|
return qa[e] ? "#" + qa[e] : r;
|
|
15289
15289
|
}
|
|
15290
15290
|
var mu = /^#[a-fA-F0-9]{6}$/, pu = /^#[a-fA-F0-9]{8}$/, fu = /^#[a-fA-F0-9]{3}$/, vu = /^#[a-fA-F0-9]{4}$/, ar = /^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i, gu = /^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i, bu = /^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i, yu = /^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;
|
|
15291
|
-
function
|
|
15291
|
+
function $0(r) {
|
|
15292
15292
|
if (typeof r != "string")
|
|
15293
15293
|
throw new We(3);
|
|
15294
15294
|
var e = du(r);
|
|
@@ -15399,7 +15399,7 @@ function xu(r) {
|
|
|
15399
15399
|
};
|
|
15400
15400
|
}
|
|
15401
15401
|
function w0(r) {
|
|
15402
|
-
return xu(
|
|
15402
|
+
return xu($0(r));
|
|
15403
15403
|
}
|
|
15404
15404
|
var wu = function(e) {
|
|
15405
15405
|
return e.length === 7 && e[1] === e[2] && e[3] === e[4] && e[5] === e[6] ? "#" + e[1] + e[3] + e[5] : e;
|
|
@@ -15440,7 +15440,7 @@ function br(r, e, t) {
|
|
|
15440
15440
|
}
|
|
15441
15441
|
function ut(r, e, t, a) {
|
|
15442
15442
|
if (typeof r == "string" && typeof e == "number") {
|
|
15443
|
-
var n =
|
|
15443
|
+
var n = $0(r);
|
|
15444
15444
|
return "rgba(" + n.red + "," + n.green + "," + n.blue + "," + e + ")";
|
|
15445
15445
|
} else {
|
|
15446
15446
|
if (typeof r == "number" && typeof e == "number" && typeof t == "number" && typeof a == "number")
|
|
@@ -15467,47 +15467,47 @@ function k0(r) {
|
|
|
15467
15467
|
if (Tu(r)) return Su(r);
|
|
15468
15468
|
throw new We(8);
|
|
15469
15469
|
}
|
|
15470
|
-
function
|
|
15470
|
+
function si(r, e, t) {
|
|
15471
15471
|
return function() {
|
|
15472
15472
|
var n = t.concat(Array.prototype.slice.call(arguments));
|
|
15473
|
-
return n.length >= e ? r.apply(this, n) :
|
|
15473
|
+
return n.length >= e ? r.apply(this, n) : si(r, e, n);
|
|
15474
15474
|
};
|
|
15475
15475
|
}
|
|
15476
15476
|
function Be(r) {
|
|
15477
|
-
return
|
|
15477
|
+
return si(r, r.length, []);
|
|
15478
15478
|
}
|
|
15479
15479
|
function Eu(r, e) {
|
|
15480
15480
|
if (e === "transparent") return e;
|
|
15481
15481
|
var t = w0(e);
|
|
15482
|
-
return k0(
|
|
15482
|
+
return k0(Me({}, t, {
|
|
15483
15483
|
hue: t.hue + parseFloat(r)
|
|
15484
15484
|
}));
|
|
15485
15485
|
}
|
|
15486
15486
|
Be(Eu);
|
|
15487
|
-
function
|
|
15487
|
+
function W0(r, e, t) {
|
|
15488
15488
|
return Math.max(r, Math.min(e, t));
|
|
15489
15489
|
}
|
|
15490
15490
|
function Bu(r, e) {
|
|
15491
15491
|
if (e === "transparent") return e;
|
|
15492
15492
|
var t = w0(e);
|
|
15493
|
-
return k0(
|
|
15494
|
-
lightness:
|
|
15493
|
+
return k0(Me({}, t, {
|
|
15494
|
+
lightness: W0(0, 1, t.lightness - parseFloat(r))
|
|
15495
15495
|
}));
|
|
15496
15496
|
}
|
|
15497
15497
|
Be(Bu);
|
|
15498
15498
|
function Du(r, e) {
|
|
15499
15499
|
if (e === "transparent") return e;
|
|
15500
15500
|
var t = w0(e);
|
|
15501
|
-
return k0(
|
|
15502
|
-
saturation:
|
|
15501
|
+
return k0(Me({}, t, {
|
|
15502
|
+
saturation: W0(0, 1, t.saturation - parseFloat(r))
|
|
15503
15503
|
}));
|
|
15504
15504
|
}
|
|
15505
15505
|
Be(Du);
|
|
15506
15506
|
function Iu(r, e) {
|
|
15507
15507
|
if (e === "transparent") return e;
|
|
15508
15508
|
var t = w0(e);
|
|
15509
|
-
return k0(
|
|
15510
|
-
lightness:
|
|
15509
|
+
return k0(Me({}, t, {
|
|
15510
|
+
lightness: W0(0, 1, t.lightness + parseFloat(r))
|
|
15511
15511
|
}));
|
|
15512
15512
|
}
|
|
15513
15513
|
Be(Iu);
|
|
@@ -15515,9 +15515,9 @@ function Fu(r, e, t) {
|
|
|
15515
15515
|
if (e === "transparent") return t;
|
|
15516
15516
|
if (t === "transparent") return e;
|
|
15517
15517
|
if (r === 0) return t;
|
|
15518
|
-
var a =
|
|
15518
|
+
var a = $0(e), n = Me({}, a, {
|
|
15519
15519
|
alpha: typeof a.alpha == "number" ? a.alpha : 1
|
|
15520
|
-
}), i =
|
|
15520
|
+
}), i = $0(t), o = Me({}, i, {
|
|
15521
15521
|
alpha: typeof i.alpha == "number" ? i.alpha : 1
|
|
15522
15522
|
}), u = n.alpha - o.alpha, h = parseFloat(r) * 2 - 1, m = h * u === -1 ? h : h + u, v = 1 + h * u, b = (m / v + 1) / 2, w = 1 - b, S = {
|
|
15523
15523
|
red: Math.floor(n.red * b + o.red * w),
|
|
@@ -15527,11 +15527,11 @@ function Fu(r, e, t) {
|
|
|
15527
15527
|
};
|
|
15528
15528
|
return ut(S);
|
|
15529
15529
|
}
|
|
15530
|
-
var Nu = Be(Fu),
|
|
15530
|
+
var Nu = Be(Fu), li = Nu;
|
|
15531
15531
|
function qu(r, e) {
|
|
15532
15532
|
if (e === "transparent") return e;
|
|
15533
|
-
var t =
|
|
15534
|
-
alpha:
|
|
15533
|
+
var t = $0(e), a = typeof t.alpha == "number" ? t.alpha : 1, n = Me({}, t, {
|
|
15534
|
+
alpha: W0(0, 1, (a * 100 + parseFloat(r) * 100) / 100)
|
|
15535
15535
|
});
|
|
15536
15536
|
return ut(n);
|
|
15537
15537
|
}
|
|
@@ -15539,41 +15539,41 @@ Be(qu);
|
|
|
15539
15539
|
function Ru(r, e) {
|
|
15540
15540
|
if (e === "transparent") return e;
|
|
15541
15541
|
var t = w0(e);
|
|
15542
|
-
return k0(
|
|
15543
|
-
saturation:
|
|
15542
|
+
return k0(Me({}, t, {
|
|
15543
|
+
saturation: W0(0, 1, t.saturation + parseFloat(r))
|
|
15544
15544
|
}));
|
|
15545
15545
|
}
|
|
15546
15546
|
Be(Ru);
|
|
15547
15547
|
function Ou(r, e) {
|
|
15548
|
-
return e === "transparent" ? e : k0(
|
|
15548
|
+
return e === "transparent" ? e : k0(Me({}, w0(e), {
|
|
15549
15549
|
hue: parseFloat(r)
|
|
15550
15550
|
}));
|
|
15551
15551
|
}
|
|
15552
15552
|
Be(Ou);
|
|
15553
15553
|
function Hu(r, e) {
|
|
15554
|
-
return e === "transparent" ? e : k0(
|
|
15554
|
+
return e === "transparent" ? e : k0(Me({}, w0(e), {
|
|
15555
15555
|
lightness: parseFloat(r)
|
|
15556
15556
|
}));
|
|
15557
15557
|
}
|
|
15558
15558
|
Be(Hu);
|
|
15559
15559
|
function _u(r, e) {
|
|
15560
|
-
return e === "transparent" ? e : k0(
|
|
15560
|
+
return e === "transparent" ? e : k0(Me({}, w0(e), {
|
|
15561
15561
|
saturation: parseFloat(r)
|
|
15562
15562
|
}));
|
|
15563
15563
|
}
|
|
15564
15564
|
Be(_u);
|
|
15565
15565
|
function Lu(r, e) {
|
|
15566
|
-
return e === "transparent" ? e :
|
|
15566
|
+
return e === "transparent" ? e : li(parseFloat(r), "rgb(0, 0, 0)", e);
|
|
15567
15567
|
}
|
|
15568
15568
|
Be(Lu);
|
|
15569
15569
|
function $u(r, e) {
|
|
15570
|
-
return e === "transparent" ? e :
|
|
15570
|
+
return e === "transparent" ? e : li(parseFloat(r), "rgb(255, 255, 255)", e);
|
|
15571
15571
|
}
|
|
15572
15572
|
Be($u);
|
|
15573
15573
|
function Pu(r, e) {
|
|
15574
15574
|
if (e === "transparent") return e;
|
|
15575
|
-
var t =
|
|
15576
|
-
alpha:
|
|
15575
|
+
var t = $0(e), a = typeof t.alpha == "number" ? t.alpha : 1, n = Me({}, t, {
|
|
15576
|
+
alpha: W0(0, 1, +(a * 100 - parseFloat(r) * 100).toFixed(2) / 100)
|
|
15577
15577
|
});
|
|
15578
15578
|
return ut(n);
|
|
15579
15579
|
}
|
|
@@ -15590,7 +15590,7 @@ const ju = { class: "header" }, Gu = /* @__PURE__ */ X({
|
|
|
15590
15590
|
important: { code: "#9771bd", icon: Ti },
|
|
15591
15591
|
warning: { code: "#b8a36e", icon: wi },
|
|
15592
15592
|
caution: { code: "#b36472", icon: Ei }
|
|
15593
|
-
}, t =
|
|
15593
|
+
}, t = W(null), a = W(!1);
|
|
15594
15594
|
return u0(t, ([{ isIntersecting: n }], i) => {
|
|
15595
15595
|
a.value = n;
|
|
15596
15596
|
}), (n, i) => (O(), $("aside", {
|
|
@@ -15603,25 +15603,25 @@ const ju = { class: "header" }, Gu = /* @__PURE__ */ X({
|
|
|
15603
15603
|
"--scale": a.value ? 1 : 0
|
|
15604
15604
|
})
|
|
15605
15605
|
}, [
|
|
15606
|
-
|
|
15607
|
-
(O(), Ye(
|
|
15606
|
+
P("div", ju, [
|
|
15607
|
+
(O(), Ye(F0(e[n.type].icon), {
|
|
15608
15608
|
class: "icon",
|
|
15609
15609
|
style: ee({ "--icon-color": e[n.type].code })
|
|
15610
15610
|
}, null, 8, ["style"])),
|
|
15611
|
-
|
|
15611
|
+
ae(ke, {
|
|
15612
15612
|
text: n.type.toUpperCase(),
|
|
15613
15613
|
color: e[n.type].code
|
|
15614
15614
|
}, null, 8, ["text", "color"])
|
|
15615
15615
|
]),
|
|
15616
|
-
|
|
15617
|
-
|
|
15616
|
+
P("div", null, [
|
|
15617
|
+
Se(n.$slots, "default", {}, void 0, !0)
|
|
15618
15618
|
])
|
|
15619
15619
|
], 4));
|
|
15620
15620
|
}
|
|
15621
|
-
}), Vu = /* @__PURE__ */
|
|
15621
|
+
}), Vu = /* @__PURE__ */ te(Gu, [["__scopeId", "data-v-d5b7745b"]]), Uu = /* @__PURE__ */ X({
|
|
15622
15622
|
__name: "ElmBulletedList",
|
|
15623
15623
|
setup(r) {
|
|
15624
|
-
const e =
|
|
15624
|
+
const e = W(null), t = W(!1);
|
|
15625
15625
|
return u0(e, ([{ isIntersecting: a }], n) => {
|
|
15626
15626
|
t.value = a;
|
|
15627
15627
|
}), (a, n) => (O(), $("ul", {
|
|
@@ -15632,13 +15632,13 @@ const ju = { class: "header" }, Gu = /* @__PURE__ */ X({
|
|
|
15632
15632
|
"--opacity": t.value ? 1 : 0
|
|
15633
15633
|
})
|
|
15634
15634
|
}, [
|
|
15635
|
-
|
|
15635
|
+
Se(a.$slots, "default")
|
|
15636
15636
|
], 4));
|
|
15637
15637
|
}
|
|
15638
15638
|
}), Wu = /* @__PURE__ */ X({
|
|
15639
15639
|
__name: "ElmNumberedList",
|
|
15640
15640
|
setup(r) {
|
|
15641
|
-
const e =
|
|
15641
|
+
const e = W(null), t = W(!1);
|
|
15642
15642
|
return u0(e, ([{ isIntersecting: a }], n) => {
|
|
15643
15643
|
t.value = a;
|
|
15644
15644
|
}), (a, n) => (O(), $("ol", {
|
|
@@ -15649,20 +15649,20 @@ const ju = { class: "header" }, Gu = /* @__PURE__ */ X({
|
|
|
15649
15649
|
"--opacity": t.value ? 1 : 0
|
|
15650
15650
|
})
|
|
15651
15651
|
}, [
|
|
15652
|
-
|
|
15652
|
+
Se(a.$slots, "default")
|
|
15653
15653
|
], 4));
|
|
15654
15654
|
}
|
|
15655
15655
|
}), Yu = /* @__PURE__ */ X({
|
|
15656
15656
|
__name: "ElmListItem",
|
|
15657
15657
|
setup(r) {
|
|
15658
15658
|
return (e, t) => (O(), $("li", null, [
|
|
15659
|
-
|
|
15659
|
+
Se(e.$slots, "default")
|
|
15660
15660
|
]));
|
|
15661
15661
|
}
|
|
15662
15662
|
}), Zu = /* @__PURE__ */ X({
|
|
15663
15663
|
__name: "ElmBlockQuote",
|
|
15664
15664
|
setup(r) {
|
|
15665
|
-
const e =
|
|
15665
|
+
const e = W(null), t = W(!1);
|
|
15666
15666
|
return u0(e, ([{ isIntersecting: a }], n) => {
|
|
15667
15667
|
t.value = a;
|
|
15668
15668
|
}), (a, n) => (O(), $("blockquote", {
|
|
@@ -15673,13 +15673,13 @@ const ju = { class: "header" }, Gu = /* @__PURE__ */ X({
|
|
|
15673
15673
|
"--opacity": t.value ? 1 : 0
|
|
15674
15674
|
})
|
|
15675
15675
|
}, [
|
|
15676
|
-
|
|
15676
|
+
Se(a.$slots, "default", {}, void 0, !0)
|
|
15677
15677
|
], 4));
|
|
15678
15678
|
}
|
|
15679
|
-
}), Xu = /* @__PURE__ */
|
|
15679
|
+
}), Xu = /* @__PURE__ */ te(Zu, [["__scopeId", "data-v-78c3c5b3"]]), Ku = /* @__PURE__ */ X({
|
|
15680
15680
|
__name: "ElmDivider",
|
|
15681
15681
|
setup(r) {
|
|
15682
|
-
const e =
|
|
15682
|
+
const e = W(null), t = W(!1);
|
|
15683
15683
|
return u0(e, ([{ isIntersecting: a }], n) => {
|
|
15684
15684
|
t.value = a;
|
|
15685
15685
|
}), (a, n) => (O(), $("hr", {
|
|
@@ -15691,10 +15691,10 @@ const ju = { class: "header" }, Gu = /* @__PURE__ */ X({
|
|
|
15691
15691
|
})
|
|
15692
15692
|
}, null, 4));
|
|
15693
15693
|
}
|
|
15694
|
-
}), Ju = /* @__PURE__ */
|
|
15694
|
+
}), Ju = /* @__PURE__ */ te(Ku, [["__scopeId", "data-v-a3be6079"]]), Qu = /* @__PURE__ */ X({
|
|
15695
15695
|
__name: "ElmParagraph",
|
|
15696
15696
|
setup(r) {
|
|
15697
|
-
const e =
|
|
15697
|
+
const e = W(null), t = W(!1);
|
|
15698
15698
|
return u0(e, ([{ isIntersecting: a }], n) => {
|
|
15699
15699
|
t.value = a;
|
|
15700
15700
|
}), (a, n) => (O(), $("p", {
|
|
@@ -15705,35 +15705,35 @@ const ju = { class: "header" }, Gu = /* @__PURE__ */ X({
|
|
|
15705
15705
|
"--opacity": t.value ? 1 : 0
|
|
15706
15706
|
})
|
|
15707
15707
|
}, [
|
|
15708
|
-
|
|
15708
|
+
Se(a.$slots, "default", {}, void 0, !0)
|
|
15709
15709
|
], 4));
|
|
15710
15710
|
}
|
|
15711
|
-
}), e4 = /* @__PURE__ */
|
|
15711
|
+
}), e4 = /* @__PURE__ */ te(Qu, [["__scopeId", "data-v-97a026fe"]]), t4 = { class: "table" }, r4 = /* @__PURE__ */ X({
|
|
15712
15712
|
__name: "ElmTable",
|
|
15713
15713
|
setup(r) {
|
|
15714
15714
|
return (e, t) => (O(), $("table", t4, [
|
|
15715
|
-
|
|
15715
|
+
Se(e.$slots, "default", {}, void 0, !0)
|
|
15716
15716
|
]));
|
|
15717
15717
|
}
|
|
15718
|
-
}), a4 = /* @__PURE__ */
|
|
15718
|
+
}), a4 = /* @__PURE__ */ te(r4, [["__scopeId", "data-v-18bd5166"]]), n4 = { class: "elmethis-table-header-thead" }, i4 = /* @__PURE__ */ X({
|
|
15719
15719
|
__name: "ElmTableHeader",
|
|
15720
15720
|
setup(r) {
|
|
15721
15721
|
return (e, t) => (O(), $("thead", n4, [
|
|
15722
|
-
|
|
15722
|
+
Se(e.$slots, "default")
|
|
15723
15723
|
]));
|
|
15724
15724
|
}
|
|
15725
15725
|
}), s4 = { class: "elmethis-table-header-body" }, l4 = /* @__PURE__ */ X({
|
|
15726
15726
|
__name: "ElmTableBody",
|
|
15727
15727
|
setup(r) {
|
|
15728
15728
|
return (e, t) => (O(), $("tbody", s4, [
|
|
15729
|
-
|
|
15729
|
+
Se(e.$slots, "default")
|
|
15730
15730
|
]));
|
|
15731
15731
|
}
|
|
15732
15732
|
}), o4 = /* @__PURE__ */ X({
|
|
15733
15733
|
__name: "ElmTableRow",
|
|
15734
15734
|
setup(r) {
|
|
15735
15735
|
return (e, t) => (O(), $("tr", null, [
|
|
15736
|
-
|
|
15736
|
+
Se(e.$slots, "default")
|
|
15737
15737
|
]));
|
|
15738
15738
|
}
|
|
15739
15739
|
}), u4 = /* @__PURE__ */ X({
|
|
@@ -15743,20 +15743,20 @@ const ju = { class: "header" }, Gu = /* @__PURE__ */ X({
|
|
|
15743
15743
|
text: {}
|
|
15744
15744
|
},
|
|
15745
15745
|
setup(r) {
|
|
15746
|
-
return (e, t) => (O(), Ye(
|
|
15747
|
-
default:
|
|
15748
|
-
e.text == null ?
|
|
15746
|
+
return (e, t) => (O(), Ye(F0(e.hasHeader ? "th" : "td"), { class: "cell" }, {
|
|
15747
|
+
default: B0(() => [
|
|
15748
|
+
e.text == null ? Se(e.$slots, "default", { key: 0 }, void 0, !0) : Ne("", !0),
|
|
15749
15749
|
et(" " + $e(e.text), 1)
|
|
15750
15750
|
]),
|
|
15751
15751
|
_: 3
|
|
15752
15752
|
}));
|
|
15753
15753
|
}
|
|
15754
|
-
}), c4 = /* @__PURE__ */
|
|
15754
|
+
}), c4 = /* @__PURE__ */ te(u4, [["__scopeId", "data-v-7bedd3ac"]]), h4 = { class: "wrapper" }, d4 = { style: { display: "flex", gap: "0.5rem" } }, m4 = {
|
|
15755
15755
|
key: 0,
|
|
15756
15756
|
class: "content"
|
|
15757
15757
|
}, p4 = /* @__PURE__ */ X({
|
|
15758
15758
|
__name: "ElmToggle",
|
|
15759
|
-
props: /* @__PURE__ */
|
|
15759
|
+
props: /* @__PURE__ */ _a({
|
|
15760
15760
|
summary: {}
|
|
15761
15761
|
}, {
|
|
15762
15762
|
isOpen: { type: Boolean, default: !1 },
|
|
@@ -15764,24 +15764,24 @@ const ju = { class: "header" }, Gu = /* @__PURE__ */ X({
|
|
|
15764
15764
|
}),
|
|
15765
15765
|
emits: ["update:isOpen"],
|
|
15766
15766
|
setup(r) {
|
|
15767
|
-
const e =
|
|
15767
|
+
const e = La(r, "isOpen"), t = (a) => {
|
|
15768
15768
|
a.preventDefault(), e.value = !e.value;
|
|
15769
15769
|
};
|
|
15770
15770
|
return (a, n) => (O(), $("div", h4, [
|
|
15771
|
-
|
|
15771
|
+
P("div", {
|
|
15772
15772
|
class: "summary",
|
|
15773
15773
|
onClick: t
|
|
15774
15774
|
}, [
|
|
15775
|
-
|
|
15776
|
-
|
|
15775
|
+
P("div", d4, [
|
|
15776
|
+
ae(Z(At), {
|
|
15777
15777
|
class: "icon",
|
|
15778
15778
|
style: ee({ "--rotate": e.value ? "90deg" : "0deg" })
|
|
15779
15779
|
}, null, 8, ["style"]),
|
|
15780
|
-
|
|
15781
|
-
|
|
15780
|
+
P("strong", null, [
|
|
15781
|
+
ae(ke, { text: a.summary }, null, 8, ["text"])
|
|
15782
15782
|
])
|
|
15783
15783
|
]),
|
|
15784
|
-
|
|
15784
|
+
ae(Z(zi), {
|
|
15785
15785
|
class: "icon",
|
|
15786
15786
|
style: ee({
|
|
15787
15787
|
"--rotate": e.value ? "135deg" : "0deg",
|
|
@@ -15789,26 +15789,131 @@ const ju = { class: "header" }, Gu = /* @__PURE__ */ X({
|
|
|
15789
15789
|
})
|
|
15790
15790
|
}, null, 8, ["style"])
|
|
15791
15791
|
]),
|
|
15792
|
-
|
|
15793
|
-
default:
|
|
15792
|
+
ae(yr, null, {
|
|
15793
|
+
default: B0(() => [
|
|
15794
15794
|
e.value ? (O(), $("div", m4, [
|
|
15795
|
-
|
|
15796
|
-
])) :
|
|
15795
|
+
Se(a.$slots, "default", {}, void 0, !0)
|
|
15796
|
+
])) : Ne("", !0)
|
|
15797
15797
|
]),
|
|
15798
15798
|
_: 3
|
|
15799
15799
|
})
|
|
15800
15800
|
]));
|
|
15801
15801
|
}
|
|
15802
|
-
}), f4 = /* @__PURE__ */
|
|
15802
|
+
}), f4 = /* @__PURE__ */ te(p4, [["__scopeId", "data-v-7f7132bf"]]), v4 = { style: {
|
|
15803
|
+
cursor: "pointer",
|
|
15804
|
+
display: "flex",
|
|
15805
|
+
alignItems: "center",
|
|
15806
|
+
gap: "0.5rem"
|
|
15807
|
+
} }, g4 = {
|
|
15808
|
+
width: "24",
|
|
15809
|
+
height: "24",
|
|
15810
|
+
class: /* @__PURE__ */ E0(["checkbox"])
|
|
15811
|
+
}, b4 = {
|
|
15812
|
+
key: 0,
|
|
15813
|
+
class: "check-line",
|
|
15814
|
+
points: "5,12 10,17 19,8",
|
|
15815
|
+
strokeWidth: "1.5",
|
|
15816
|
+
fill: "transparent"
|
|
15817
|
+
}, y4 = /* @__PURE__ */ X({
|
|
15818
|
+
__name: "ElmCheckbox",
|
|
15819
|
+
props: /* @__PURE__ */ _a({
|
|
15820
|
+
label: {}
|
|
15821
|
+
}, {
|
|
15822
|
+
isChecked: { type: Boolean },
|
|
15823
|
+
isCheckedModifiers: {}
|
|
15824
|
+
}),
|
|
15825
|
+
emits: ["update:isChecked"],
|
|
15826
|
+
setup(r) {
|
|
15827
|
+
const e = La(r, "isChecked");
|
|
15828
|
+
function t() {
|
|
15829
|
+
e.value = !e.value;
|
|
15830
|
+
}
|
|
15831
|
+
return (a, n) => (O(), $("div", {
|
|
15832
|
+
class: "container",
|
|
15833
|
+
onClick: t
|
|
15834
|
+
}, [
|
|
15835
|
+
P("div", v4, [
|
|
15836
|
+
(O(), $("svg", g4, [
|
|
15837
|
+
P("rect", {
|
|
15838
|
+
x: "4",
|
|
15839
|
+
y: "4",
|
|
15840
|
+
width: "16",
|
|
15841
|
+
height: "16",
|
|
15842
|
+
class: E0(["rect", { "rect--checked": e.value }]),
|
|
15843
|
+
strokeWidth: "0.8"
|
|
15844
|
+
}, null, 2),
|
|
15845
|
+
e.value ? (O(), $("polyline", b4)) : Ne("", !0),
|
|
15846
|
+
n[0] || (n[0] = P("line", {
|
|
15847
|
+
x1: "0",
|
|
15848
|
+
y1: "1",
|
|
15849
|
+
x2: "4",
|
|
15850
|
+
y2: "1",
|
|
15851
|
+
strokeWidth: "2",
|
|
15852
|
+
fill: "transparent"
|
|
15853
|
+
}, null, -1)),
|
|
15854
|
+
n[1] || (n[1] = P("line", {
|
|
15855
|
+
x1: "4",
|
|
15856
|
+
y1: "0",
|
|
15857
|
+
x2: "24",
|
|
15858
|
+
y2: "0",
|
|
15859
|
+
strokeWidth: "1",
|
|
15860
|
+
fill: "transparent"
|
|
15861
|
+
}, null, -1)),
|
|
15862
|
+
n[2] || (n[2] = P("line", {
|
|
15863
|
+
x1: "0",
|
|
15864
|
+
y1: "4",
|
|
15865
|
+
x2: "0",
|
|
15866
|
+
y2: "16",
|
|
15867
|
+
strokeWidth: "1",
|
|
15868
|
+
fill: "transparent"
|
|
15869
|
+
}, null, -1)),
|
|
15870
|
+
n[3] || (n[3] = P("line", {
|
|
15871
|
+
x1: "0",
|
|
15872
|
+
y1: "18",
|
|
15873
|
+
x2: "0",
|
|
15874
|
+
y2: "20",
|
|
15875
|
+
strokeWidth: "1",
|
|
15876
|
+
fill: "transparent"
|
|
15877
|
+
}, null, -1)),
|
|
15878
|
+
n[4] || (n[4] = P("line", {
|
|
15879
|
+
x1: "0",
|
|
15880
|
+
y1: "24",
|
|
15881
|
+
x2: "20",
|
|
15882
|
+
y2: "24",
|
|
15883
|
+
strokeWidth: "1",
|
|
15884
|
+
fill: "transparent"
|
|
15885
|
+
}, null, -1)),
|
|
15886
|
+
n[5] || (n[5] = P("line", {
|
|
15887
|
+
x1: "20",
|
|
15888
|
+
y1: "23",
|
|
15889
|
+
x2: "24",
|
|
15890
|
+
y2: "23",
|
|
15891
|
+
strokeWidth: "1.5",
|
|
15892
|
+
fill: "transparent"
|
|
15893
|
+
}, null, -1)),
|
|
15894
|
+
n[6] || (n[6] = P("line", {
|
|
15895
|
+
x1: "24",
|
|
15896
|
+
y1: "4",
|
|
15897
|
+
x2: "24",
|
|
15898
|
+
y2: "20",
|
|
15899
|
+
style: { strokeWidth: 1 },
|
|
15900
|
+
fill: "transparent"
|
|
15901
|
+
}, null, -1))
|
|
15902
|
+
])),
|
|
15903
|
+
ae(ke, { text: a.label }, null, 8, ["text"])
|
|
15904
|
+
])
|
|
15905
|
+
]));
|
|
15906
|
+
}
|
|
15907
|
+
}), x4 = /* @__PURE__ */ te(y4, [["__scopeId", "data-v-50556391"]]), T4 = /* @__PURE__ */ X({
|
|
15803
15908
|
__name: "ElmJsonRenderer",
|
|
15804
15909
|
props: {
|
|
15805
15910
|
json: {}
|
|
15806
15911
|
},
|
|
15807
15912
|
setup(r) {
|
|
15808
15913
|
const e = {
|
|
15809
|
-
ElmInlineText:
|
|
15914
|
+
ElmInlineText: ke,
|
|
15810
15915
|
ElmInlineCode: Lo,
|
|
15811
|
-
ElmInlineLink:
|
|
15916
|
+
ElmInlineLink: ai,
|
|
15812
15917
|
ElmCallout: Vu,
|
|
15813
15918
|
ElmBulletedList: Uu,
|
|
15814
15919
|
ElmNumberedList: Wu,
|
|
@@ -15829,23 +15934,24 @@ const ju = { class: "header" }, Gu = /* @__PURE__ */ X({
|
|
|
15829
15934
|
ElmTableRow: o4,
|
|
15830
15935
|
ElmTableCell: c4,
|
|
15831
15936
|
ElmKatex: nl,
|
|
15832
|
-
ElmImage:
|
|
15937
|
+
ElmImage: ni,
|
|
15833
15938
|
ElmBookmark: tu,
|
|
15834
|
-
ElmToggle: f4
|
|
15939
|
+
ElmToggle: f4,
|
|
15940
|
+
ElmCheckbox: x4
|
|
15835
15941
|
};
|
|
15836
15942
|
return (t, a) => {
|
|
15837
15943
|
const n = mi("ElmJsonRenderer", !0);
|
|
15838
15944
|
return O(!0), $(n0, null, Dt(t.json, (i) => {
|
|
15839
15945
|
var o;
|
|
15840
|
-
return O(), Ye(
|
|
15946
|
+
return O(), Ye(F0(e[i.type]), pi({
|
|
15841
15947
|
key: i.type + (((o = i.props) == null ? void 0 : o.id) || ""),
|
|
15842
15948
|
ref_for: !0
|
|
15843
15949
|
}, i.props), {
|
|
15844
|
-
default:
|
|
15950
|
+
default: B0(() => [
|
|
15845
15951
|
i.children ? (O(), Ye(n, {
|
|
15846
15952
|
key: 0,
|
|
15847
15953
|
json: i.children
|
|
15848
|
-
}, null, 8, ["json"])) :
|
|
15954
|
+
}, null, 8, ["json"])) : Ne("", !0)
|
|
15849
15955
|
]),
|
|
15850
15956
|
_: 2
|
|
15851
15957
|
}, 1040);
|
|
@@ -15863,7 +15969,7 @@ export {
|
|
|
15863
15969
|
Ju as G,
|
|
15864
15970
|
Wu as H,
|
|
15865
15971
|
Yu as I,
|
|
15866
|
-
|
|
15972
|
+
te as _,
|
|
15867
15973
|
Ri as a,
|
|
15868
15974
|
nl as b,
|
|
15869
15975
|
Qi as c,
|
|
@@ -15874,19 +15980,19 @@ export {
|
|
|
15874
15980
|
To as h,
|
|
15875
15981
|
Bo as i,
|
|
15876
15982
|
Fo as j,
|
|
15877
|
-
|
|
15983
|
+
k4 as k,
|
|
15878
15984
|
Ro as l,
|
|
15879
15985
|
Di as m,
|
|
15880
|
-
|
|
15986
|
+
S4 as n,
|
|
15881
15987
|
Lo as o,
|
|
15882
|
-
|
|
15883
|
-
|
|
15884
|
-
|
|
15885
|
-
|
|
15988
|
+
ai as p,
|
|
15989
|
+
M4 as q,
|
|
15990
|
+
ke as r,
|
|
15991
|
+
ni as s,
|
|
15886
15992
|
tu as t,
|
|
15887
|
-
|
|
15888
|
-
|
|
15889
|
-
|
|
15993
|
+
A4 as u,
|
|
15994
|
+
z4 as v,
|
|
15995
|
+
T4 as w,
|
|
15890
15996
|
a4 as x,
|
|
15891
15997
|
i4 as y,
|
|
15892
15998
|
l4 as z
|