ep-lib-ts 0.1.36 → 0.1.37
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/{BgAudio-34390318.js → BgAudio-ee6be0f3.js} +1 -1
- package/dist/{DisplayBox-b9d4f538.js → DisplayBox-867d56fb.js} +1 -1
- package/dist/{EpAlert-8b872ee0.js → EpAlert-e0ad680d.js} +1 -1
- package/dist/{EpAudio-b55c5503.js → EpAudio-f9836de7.js} +1 -1
- package/dist/EpBadge-4e59ef7c.js +6 -0
- package/dist/{EpBarChart-c838e663.js → EpBarChart-84b69362.js} +1 -1
- package/dist/EpBtn-5e8f86bf.js +6 -0
- package/dist/EpCard-7e3ed4a4.js +6 -0
- package/dist/EpChip-dc954589.js +6 -0
- package/dist/EpContentSlider-cb03f3e9.js +6 -0
- package/dist/EpDivider-7678be0c.js +6 -0
- package/dist/{EpEdu-ffa5ecd5.js → EpEdu-582f809e.js} +1 -1
- package/dist/EpFlex-f1971347.js +6 -0
- package/dist/EpHeader-78726a42.js +6 -0
- package/dist/{EpIcon-1971a787.js → EpIcon-d4dc0ecb.js} +1 -1
- package/dist/EpIframe-c1e28504.js +6 -0
- package/dist/EpImg-c1483410.js +6 -0
- package/dist/{EpInput-37eecd07.js → EpInput-afe43604.js} +1 -1
- package/dist/EpLineChart-9fc01457.js +6 -0
- package/dist/EpLink-4a639047.js +6 -0
- package/dist/EpLinkVersion-8200767b.js +6 -0
- package/dist/{EpList-ebc2c8e7.js → EpList-2efcfcfb.js} +1 -1
- package/dist/EpModal-30b4a013.js +6 -0
- package/dist/{EpNothing-4a7ee1ea.js → EpNothing-33d89c4c.js} +1 -1
- package/dist/EpPieChart-0059d199.js +6 -0
- package/dist/EpQuestion-37e61b97.js +6 -0
- package/dist/EpQuote-4d749894.js +6 -0
- package/dist/EpRadio-2a23d115.js +6 -0
- package/dist/EpReading-3ebe66a8.js +6 -0
- package/dist/EpResource-c6ccc660.js +6 -0
- package/dist/{EpScope-2753e66a.js → EpScope-44628aad.js} +1 -1
- package/dist/EpSection-840524bf.js +6 -0
- package/dist/{EpSelect-7b63361a.js → EpSelect-46fcb799.js} +1 -1
- package/dist/EpSkeleton-1067e7d2.js +6 -0
- package/dist/EpSoftware-7b6c561f.js +6 -0
- package/dist/EpSpinner-0e8ac388.js +6 -0
- package/dist/EpSvg-cf5106d4.js +6 -0
- package/dist/EpTable-639de0ff.js +6 -0
- package/dist/EpTerm-28f932c3.js +6 -0
- package/dist/EpText-ee0d1c44.js +6 -0
- package/dist/EpTimeLine-7b1db15d.js +6 -0
- package/dist/EpVideo-36737f59.js +6 -0
- package/dist/EpVideoPanopto-c23c232f.js +6 -0
- package/dist/components/medias/EpTimeLine.vue.d.ts +4 -3
- package/dist/ep-lib-ts.js +1 -1
- package/dist/ep-lib-ts.umd.cjs +27 -27
- package/dist/{index-89855806.js → index-cdaa9a08.js} +799 -796
- package/package.json +1 -1
- package/src/components/medias/EpAudio.vue +15 -2
- package/src/components/medias/EpTimeLine.vue +5 -4
- package/dist/EpBadge-da5ad879.js +0 -6
- package/dist/EpBtn-03107df4.js +0 -6
- package/dist/EpCard-49eab0aa.js +0 -6
- package/dist/EpChip-76ec9a27.js +0 -6
- package/dist/EpContentSlider-34a27582.js +0 -6
- package/dist/EpDivider-cd17adbe.js +0 -6
- package/dist/EpFlex-08861623.js +0 -6
- package/dist/EpHeader-da47c69f.js +0 -6
- package/dist/EpIframe-21adace5.js +0 -6
- package/dist/EpImg-395cd91b.js +0 -6
- package/dist/EpLineChart-5667c90a.js +0 -6
- package/dist/EpLink-f9080e40.js +0 -6
- package/dist/EpLinkVersion-315c54e5.js +0 -6
- package/dist/EpModal-0e0acdee.js +0 -6
- package/dist/EpPieChart-decc1f6b.js +0 -6
- package/dist/EpQuestion-e5d1e392.js +0 -6
- package/dist/EpQuote-786c0ac9.js +0 -6
- package/dist/EpRadio-2e750e76.js +0 -6
- package/dist/EpReading-bd21cf2a.js +0 -6
- package/dist/EpResource-fe801ebb.js +0 -6
- package/dist/EpSection-40b5e9d2.js +0 -6
- package/dist/EpSkeleton-f4663d18.js +0 -6
- package/dist/EpSoftware-42aa398d.js +0 -6
- package/dist/EpSpinner-dce028db.js +0 -6
- package/dist/EpSvg-4b6f8600.js +0 -6
- package/dist/EpTable-830782da.js +0 -6
- package/dist/EpTerm-b0593ff9.js +0 -6
- package/dist/EpText-0f5f67b5.js +0 -6
- package/dist/EpTimeLine-e062ea33.js +0 -6
- package/dist/EpVideo-99f3eeb8.js +0 -6
- package/dist/EpVideoPanopto-fadeff65.js +0 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as te, toRefs as ae, openBlock as A, createElementBlock as z, unref as b, normalizeClass as Z, createElementVNode as k, ref as ye, computed as
|
|
1
|
+
import { defineComponent as te, toRefs as ae, openBlock as A, createElementBlock as z, unref as b, normalizeClass as Z, createElementVNode as k, ref as ye, computed as R, onMounted as Gr, createBlock as K, createCommentVNode as N, createTextVNode as he, toDisplayString as j, renderSlot as _e, pushScopeId as Za, popScopeId as Wa, withCtx as P, createVNode as W, defineAsyncComponent as Ct, h as Ya, getCurrentScope as Xa, onScopeDispose as Ka, watch as rr, isRef as Ja, shallowRef as jn, Teleport as Qa, Transition as go, withModifiers as H0, Fragment as Me, renderList as Qe, useSlots as ei, resolveComponent as tn, createSlots as Be, resolveDynamicComponent as Br, mergeProps as bo, normalizeProps as yo, guardReactiveProps as ti, createStaticVNode as xo, TransitionGroup as ri, normalizeStyle as ni, useCssVars as si } from "vue";
|
|
2
2
|
import { useRouter as oi } from "vue-router";
|
|
3
3
|
function tt(r) {
|
|
4
4
|
return /<\/?[a-z][\s\S]*>/i.test(r);
|
|
@@ -2206,27 +2206,27 @@ function TI(r) {
|
|
|
2206
2206
|
function jr(r, e) {
|
|
2207
2207
|
var t;
|
|
2208
2208
|
return typeof e != "string" && (e = jr.defaultChars), t = TI(e), r.replace(/(%[a-f0-9]{2})+/gi, function(n) {
|
|
2209
|
-
var s, o, a, i, l, d, h,
|
|
2209
|
+
var s, o, a, i, l, d, h, p = "";
|
|
2210
2210
|
for (s = 0, o = n.length; s < o; s += 3) {
|
|
2211
2211
|
if (a = parseInt(n.slice(s + 1, s + 3), 16), a < 128) {
|
|
2212
|
-
|
|
2212
|
+
p += t[a];
|
|
2213
2213
|
continue;
|
|
2214
2214
|
}
|
|
2215
2215
|
if ((a & 224) === 192 && s + 3 < o && (i = parseInt(n.slice(s + 4, s + 6), 16), (i & 192) === 128)) {
|
|
2216
|
-
h = a << 6 & 1984 | i & 63, h < 128 ?
|
|
2216
|
+
h = a << 6 & 1984 | i & 63, h < 128 ? p += "��" : p += String.fromCharCode(h), s += 3;
|
|
2217
2217
|
continue;
|
|
2218
2218
|
}
|
|
2219
2219
|
if ((a & 240) === 224 && s + 6 < o && (i = parseInt(n.slice(s + 4, s + 6), 16), l = parseInt(n.slice(s + 7, s + 9), 16), (i & 192) === 128 && (l & 192) === 128)) {
|
|
2220
|
-
h = a << 12 & 61440 | i << 6 & 4032 | l & 63, h < 2048 || h >= 55296 && h <= 57343 ?
|
|
2220
|
+
h = a << 12 & 61440 | i << 6 & 4032 | l & 63, h < 2048 || h >= 55296 && h <= 57343 ? p += "���" : p += String.fromCharCode(h), s += 6;
|
|
2221
2221
|
continue;
|
|
2222
2222
|
}
|
|
2223
2223
|
if ((a & 248) === 240 && s + 9 < o && (i = parseInt(n.slice(s + 4, s + 6), 16), l = parseInt(n.slice(s + 7, s + 9), 16), d = parseInt(n.slice(s + 10, s + 12), 16), (i & 192) === 128 && (l & 192) === 128 && (d & 192) === 128)) {
|
|
2224
|
-
h = a << 18 & 1835008 | i << 12 & 258048 | l << 6 & 4032 | d & 63, h < 65536 || h > 1114111 ?
|
|
2224
|
+
h = a << 18 & 1835008 | i << 12 & 258048 | l << 6 & 4032 | d & 63, h < 65536 || h > 1114111 ? p += "����" : (h -= 65536, p += String.fromCharCode(55296 + (h >> 10), 56320 + (h & 1023))), s += 9;
|
|
2225
2225
|
continue;
|
|
2226
2226
|
}
|
|
2227
|
-
|
|
2227
|
+
p += "�";
|
|
2228
2228
|
}
|
|
2229
|
-
return
|
|
2229
|
+
return p;
|
|
2230
2230
|
});
|
|
2231
2231
|
}
|
|
2232
2232
|
jr.defaultChars = ";/?:@&=+$,#";
|
|
@@ -2272,8 +2272,8 @@ Fr.prototype.parse = function(r, e) {
|
|
|
2272
2272
|
var h = -1;
|
|
2273
2273
|
for (t = 0; t < Xn.length; t++)
|
|
2274
2274
|
o = i.indexOf(Xn[t]), o !== -1 && (h === -1 || o < h) && (h = o);
|
|
2275
|
-
var
|
|
2276
|
-
for (h === -1 ? f = i.lastIndexOf("@") : f = i.lastIndexOf("@", h), f !== -1 && (
|
|
2275
|
+
var p, f;
|
|
2276
|
+
for (h === -1 ? f = i.lastIndexOf("@") : f = i.lastIndexOf("@", h), f !== -1 && (p = i.slice(0, f), i = i.slice(f + 1), this.auth = p), h = -1, t = 0; t < Yn.length; t++)
|
|
2277
2277
|
o = i.indexOf(Yn[t]), o !== -1 && (h === -1 || o < h) && (h = o);
|
|
2278
2278
|
h === -1 && (h = i.length), i[h - 1] === ":" && h--;
|
|
2279
2279
|
var g = i.slice(0, h);
|
|
@@ -2367,7 +2367,7 @@ function PI() {
|
|
|
2367
2367
|
}
|
|
2368
2368
|
return String.fromCharCode($);
|
|
2369
2369
|
}
|
|
2370
|
-
var d = /\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g, h = /&([a-z#][a-z0-9]{1,31});/gi,
|
|
2370
|
+
var d = /\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g, h = /&([a-z#][a-z0-9]{1,31});/gi, p = new RegExp(d.source + "|" + h.source, "gi"), f = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i, g = wo;
|
|
2371
2371
|
function w($, le) {
|
|
2372
2372
|
var se = 0;
|
|
2373
2373
|
return s(g, le) ? g[le] : le.charCodeAt(0) === 35 && f.test(le) && (se = le[1].toLowerCase() === "x" ? parseInt(le.slice(2), 16) : parseInt(le.slice(1), 10), i(se)) ? l(se) : $;
|
|
@@ -2376,7 +2376,7 @@ function PI() {
|
|
|
2376
2376
|
return $.indexOf("\\") < 0 ? $ : $.replace(d, "$1");
|
|
2377
2377
|
}
|
|
2378
2378
|
function E($) {
|
|
2379
|
-
return $.indexOf("\\") < 0 && $.indexOf("&") < 0 ? $ : $.replace(
|
|
2379
|
+
return $.indexOf("\\") < 0 && $.indexOf("&") < 0 ? $ : $.replace(p, function(le, se, Ae) {
|
|
2380
2380
|
return se || w(le, Ae);
|
|
2381
2381
|
});
|
|
2382
2382
|
}
|
|
@@ -2556,8 +2556,8 @@ rt.code_block = function(r, e, t, n, s) {
|
|
|
2556
2556
|
`;
|
|
2557
2557
|
};
|
|
2558
2558
|
rt.fence = function(r, e, t, n, s) {
|
|
2559
|
-
var o = r[e], a = o.info ? YI(o.info).trim() : "", i = "", l = "", d, h,
|
|
2560
|
-
return a && (
|
|
2559
|
+
var o = r[e], a = o.info ? YI(o.info).trim() : "", i = "", l = "", d, h, p, f, g;
|
|
2560
|
+
return a && (p = a.split(/(\s+)/g), i = p[0], l = p.slice(2).join("")), t.highlight ? d = t.highlight(o.content, i, l) || Lt(o.content) : d = Lt(o.content), d.indexOf("<pre") === 0 ? d + `
|
|
2561
2561
|
` : a ? (h = o.attrIndex("class"), f = o.attrs ? o.attrs.slice() : [], h < 0 ? f.push(["class", t.langPrefix + i]) : (f[h] = f[h].slice(), f[h][1] += " " + t.langPrefix + i), g = {
|
|
2562
2562
|
attrs: f
|
|
2563
2563
|
}, "<pre><code" + s.renderAttrs(g) + ">" + d + `</code></pre>
|
|
@@ -2734,7 +2734,7 @@ function s$(r) {
|
|
|
2734
2734
|
return /^<\/a\s*>/i.test(r);
|
|
2735
2735
|
}
|
|
2736
2736
|
var o$ = function(e) {
|
|
2737
|
-
var t, n, s, o, a, i, l, d, h,
|
|
2737
|
+
var t, n, s, o, a, i, l, d, h, p, f, g, w, C, E, S, T = e.tokens, D;
|
|
2738
2738
|
if (e.md.options.linkify) {
|
|
2739
2739
|
for (n = 0, s = T.length; n < s; n++)
|
|
2740
2740
|
if (!(T[n].type !== "inline" || !e.md.linkify.pretest(T[n].content)))
|
|
@@ -2746,7 +2746,7 @@ var o$ = function(e) {
|
|
|
2746
2746
|
}
|
|
2747
2747
|
if (i.type === "html_inline" && (n$(i.content) && w > 0 && w--, s$(i.content) && w++), !(w > 0) && i.type === "text" && e.md.linkify.test(i.content)) {
|
|
2748
2748
|
for (h = i.content, D = e.md.linkify.match(h), l = [], g = i.level, f = 0, D.length > 0 && D[0].index === 0 && t > 0 && o[t - 1].type === "text_special" && (D = D.slice(1)), d = 0; d < D.length; d++)
|
|
2749
|
-
C = D[d].url, E = e.md.normalizeLink(C), e.md.validateLink(E) && (S = D[d].text, D[d].schema ? D[d].schema === "mailto:" && !/^mailto:/i.test(S) ? S = e.md.normalizeLinkText("mailto:" + S).replace(/^mailto:/, "") : S = e.md.normalizeLinkText(S) : S = e.md.normalizeLinkText("http://" + S).replace(/^http:\/\//, ""),
|
|
2749
|
+
C = D[d].url, E = e.md.normalizeLink(C), e.md.validateLink(E) && (S = D[d].text, D[d].schema ? D[d].schema === "mailto:" && !/^mailto:/i.test(S) ? S = e.md.normalizeLinkText("mailto:" + S).replace(/^mailto:/, "") : S = e.md.normalizeLinkText(S) : S = e.md.normalizeLinkText("http://" + S).replace(/^http:\/\//, ""), p = D[d].index, p > f && (a = new e.Token("text", "", 0), a.content = h.slice(f, p), a.level = g, l.push(a)), a = new e.Token("link_open", "a", 1), a.attrs = [["href", E]], a.level = g++, a.markup = "linkify", a.info = "auto", l.push(a), a = new e.Token("text", "", 0), a.content = S, a.level = g, l.push(a), a = new e.Token("link_close", "a", -1), a.level = --g, a.markup = "linkify", a.info = "auto", l.push(a), f = D[d].lastIndex);
|
|
2750
2750
|
f < h.length && (a = new e.Token("text", "", 0), a.content = h.slice(f), a.level = g, l.push(a)), T[n].children = o = r$(o, t, l);
|
|
2751
2751
|
}
|
|
2752
2752
|
}
|
|
@@ -2779,7 +2779,7 @@ function yr(r, e, t) {
|
|
|
2779
2779
|
return r.slice(0, e) + t + r.slice(e + 1);
|
|
2780
2780
|
}
|
|
2781
2781
|
function m$(r, e) {
|
|
2782
|
-
var t, n, s, o, a, i, l, d, h,
|
|
2782
|
+
var t, n, s, o, a, i, l, d, h, p, f, g, w, C, E, S, T, D, L, V, q;
|
|
2783
2783
|
for (L = [], t = 0; t < r.length; t++) {
|
|
2784
2784
|
for (n = r[t], l = r[t].level, T = L.length - 1; T >= 0 && !(L[T].level <= l); T--)
|
|
2785
2785
|
;
|
|
@@ -2795,15 +2795,15 @@ function m$(r, e) {
|
|
|
2795
2795
|
h = r[T].content.charCodeAt(r[T].content.length - 1);
|
|
2796
2796
|
break;
|
|
2797
2797
|
}
|
|
2798
|
-
if (
|
|
2799
|
-
|
|
2798
|
+
if (p = 32, a < i)
|
|
2799
|
+
p = s.charCodeAt(a);
|
|
2800
2800
|
else
|
|
2801
2801
|
for (T = t + 1; T < r.length && !(r[T].type === "softbreak" || r[T].type === "hardbreak"); T++)
|
|
2802
2802
|
if (r[T].content) {
|
|
2803
|
-
|
|
2803
|
+
p = r[T].content.charCodeAt(0);
|
|
2804
2804
|
break;
|
|
2805
2805
|
}
|
|
2806
|
-
if (f = ls(h) || is(String.fromCharCode(h)), g = ls(
|
|
2806
|
+
if (f = ls(h) || is(String.fromCharCode(h)), g = ls(p) || is(String.fromCharCode(p)), w = as(h), C = as(p), C ? E = !1 : g && (w || f || (E = !1)), w ? S = !1 : f && (C || g || (S = !1)), p === 34 && o[0] === '"' && h >= 48 && h <= 57 && (S = E = !1), E && S && (E = f, S = g), !E && !S) {
|
|
2807
2807
|
D && (n.content = yr(n.content, o.index, us));
|
|
2808
2808
|
continue;
|
|
2809
2809
|
}
|
|
@@ -2910,7 +2910,7 @@ function ds(r) {
|
|
|
2910
2910
|
return e.push(i + r.substring(a)), e;
|
|
2911
2911
|
}
|
|
2912
2912
|
var w$ = function(e, t, n, s) {
|
|
2913
|
-
var o, a, i, l, d, h,
|
|
2913
|
+
var o, a, i, l, d, h, p, f, g, w, C, E, S, T, D, L, V, q;
|
|
2914
2914
|
if (t + 2 > n || (h = t + 1, e.sCount[h] < e.blkIndent) || e.sCount[h] - e.blkIndent >= 4 || (i = e.bMarks[h] + e.tShift[h], i >= e.eMarks[h]) || (V = e.src.charCodeAt(i++), V !== 124 && V !== 45 && V !== 58) || i >= e.eMarks[h] || (q = e.src.charCodeAt(i++), q !== 124 && q !== 45 && q !== 58 && !f0(q)) || V === 45 && f0(q))
|
|
2915
2915
|
return !1;
|
|
2916
2916
|
for (; i < e.eMarks[h]; ) {
|
|
@@ -2918,9 +2918,9 @@ var w$ = function(e, t, n, s) {
|
|
|
2918
2918
|
return !1;
|
|
2919
2919
|
i++;
|
|
2920
2920
|
}
|
|
2921
|
-
for (a = v0(e, t + 1),
|
|
2922
|
-
if (C =
|
|
2923
|
-
if (l === 0 || l ===
|
|
2921
|
+
for (a = v0(e, t + 1), p = a.split("|"), w = [], l = 0; l < p.length; l++) {
|
|
2922
|
+
if (C = p[l].trim(), !C) {
|
|
2923
|
+
if (l === 0 || l === p.length - 1)
|
|
2924
2924
|
continue;
|
|
2925
2925
|
return !1;
|
|
2926
2926
|
}
|
|
@@ -2928,12 +2928,12 @@ var w$ = function(e, t, n, s) {
|
|
|
2928
2928
|
return !1;
|
|
2929
2929
|
C.charCodeAt(C.length - 1) === 58 ? w.push(C.charCodeAt(0) === 58 ? "center" : "right") : C.charCodeAt(0) === 58 ? w.push("left") : w.push("");
|
|
2930
2930
|
}
|
|
2931
|
-
if (a = v0(e, t).trim(), a.indexOf("|") === -1 || e.sCount[t] - e.blkIndent >= 4 || (
|
|
2931
|
+
if (a = v0(e, t).trim(), a.indexOf("|") === -1 || e.sCount[t] - e.blkIndent >= 4 || (p = ds(a), p.length && p[0] === "" && p.shift(), p.length && p[p.length - 1] === "" && p.pop(), f = p.length, f === 0 || f !== w.length))
|
|
2932
2932
|
return !1;
|
|
2933
2933
|
if (s)
|
|
2934
2934
|
return !0;
|
|
2935
|
-
for (T = e.parentType, e.parentType = "table", L = e.md.block.ruler.getRules("blockquote"), g = e.push("table_open", "table", 1), g.map = E = [t, 0], g = e.push("thead_open", "thead", 1), g.map = [t, t + 1], g = e.push("tr_open", "tr", 1), g.map = [t, t + 1], l = 0; l <
|
|
2936
|
-
g = e.push("th_open", "th", 1), w[l] && (g.attrs = [["style", "text-align:" + w[l]]]), g = e.push("inline", "", 0), g.content =
|
|
2935
|
+
for (T = e.parentType, e.parentType = "table", L = e.md.block.ruler.getRules("blockquote"), g = e.push("table_open", "table", 1), g.map = E = [t, 0], g = e.push("thead_open", "thead", 1), g.map = [t, t + 1], g = e.push("tr_open", "tr", 1), g.map = [t, t + 1], l = 0; l < p.length; l++)
|
|
2936
|
+
g = e.push("th_open", "th", 1), w[l] && (g.attrs = [["style", "text-align:" + w[l]]]), g = e.push("inline", "", 0), g.content = p[l].trim(), g.children = [], g = e.push("th_close", "th", -1);
|
|
2937
2937
|
for (g = e.push("tr_close", "tr", -1), g = e.push("thead_close", "thead", -1), h = t + 2; h < n && !(e.sCount[h] < e.blkIndent); h++) {
|
|
2938
2938
|
for (D = !1, l = 0, d = L.length; l < d; l++)
|
|
2939
2939
|
if (L[l](e, h, n, !0)) {
|
|
@@ -2942,8 +2942,8 @@ var w$ = function(e, t, n, s) {
|
|
|
2942
2942
|
}
|
|
2943
2943
|
if (D || (a = v0(e, h).trim(), !a) || e.sCount[h] - e.blkIndent >= 4)
|
|
2944
2944
|
break;
|
|
2945
|
-
for (
|
|
2946
|
-
g = e.push("td_open", "td", 1), w[l] && (g.attrs = [["style", "text-align:" + w[l]]]), g = e.push("inline", "", 0), g.content =
|
|
2945
|
+
for (p = ds(a), p.length && p[0] === "" && p.shift(), p.length && p[p.length - 1] === "" && p.pop(), h === t + 2 && (g = e.push("tbody_open", "tbody", 1), g.map = S = [t + 2, 0]), g = e.push("tr_open", "tr", 1), g.map = [h, h + 1], l = 0; l < f; l++)
|
|
2946
|
+
g = e.push("td_open", "td", 1), w[l] && (g.attrs = [["style", "text-align:" + w[l]]]), g = e.push("inline", "", 0), g.content = p[l] ? p[l].trim() : "", g.children = [], g = e.push("td_close", "td", -1);
|
|
2947
2947
|
g = e.push("tr_close", "tr", -1);
|
|
2948
2948
|
}
|
|
2949
2949
|
return S && (g = e.push("tbody_close", "tbody", -1), S[1] = h), g = e.push("table_close", "table", -1), E[1] = h, e.parentType = T, e.line = h, !0;
|
|
@@ -2965,8 +2965,8 @@ var w$ = function(e, t, n, s) {
|
|
|
2965
2965
|
return e.line = o, a = e.push("code_block", "code", 0), a.content = e.getLines(t, o, 4 + e.blkIndent, !1) + `
|
|
2966
2966
|
`, a.map = [t, e.line], !0;
|
|
2967
2967
|
}, _$ = function(e, t, n, s) {
|
|
2968
|
-
var o, a, i, l, d, h,
|
|
2969
|
-
if (e.sCount[t] - e.blkIndent >= 4 || g + 3 > w || (o = e.src.charCodeAt(g), o !== 126 && o !== 96) || (d = g, g = e.skipChars(g, o), a = g - d, a < 3) || (
|
|
2968
|
+
var o, a, i, l, d, h, p, f = !1, g = e.bMarks[t] + e.tShift[t], w = e.eMarks[t];
|
|
2969
|
+
if (e.sCount[t] - e.blkIndent >= 4 || g + 3 > w || (o = e.src.charCodeAt(g), o !== 126 && o !== 96) || (d = g, g = e.skipChars(g, o), a = g - d, a < 3) || (p = e.src.slice(d, g), i = e.src.slice(g, w), o === 96 && i.indexOf(String.fromCharCode(o)) >= 0))
|
|
2970
2970
|
return !1;
|
|
2971
2971
|
if (s)
|
|
2972
2972
|
return !0;
|
|
@@ -2975,9 +2975,9 @@ var w$ = function(e, t, n, s) {
|
|
|
2975
2975
|
f = !0;
|
|
2976
2976
|
break;
|
|
2977
2977
|
}
|
|
2978
|
-
return a = e.sCount[t], e.line = l + (f ? 1 : 0), h = e.push("fence", "code", 0), h.info = i, h.content = e.getLines(t + 1, l, a, !0), h.markup =
|
|
2978
|
+
return a = e.sCount[t], e.line = l + (f ? 1 : 0), h = e.push("fence", "code", 0), h.info = i, h.content = e.getLines(t + 1, l, a, !0), h.markup = p, h.map = [t, e.line], !0;
|
|
2979
2979
|
}, hs = ue.isSpace, C$ = function(e, t, n, s) {
|
|
2980
|
-
var o, a, i, l, d, h,
|
|
2980
|
+
var o, a, i, l, d, h, p, f, g, w, C, E, S, T, D, L, V, q, U, ee, ie = e.lineMax, re = e.bMarks[t] + e.tShift[t], oe = e.eMarks[t];
|
|
2981
2981
|
if (e.sCount[t] - e.blkIndent >= 4 || e.src.charCodeAt(re++) !== 62)
|
|
2982
2982
|
return !1;
|
|
2983
2983
|
if (s)
|
|
@@ -3008,7 +3008,7 @@ var w$ = function(e, t, n, s) {
|
|
|
3008
3008
|
}
|
|
3009
3009
|
w.push(e.bMarks[f]), C.push(e.bsCount[f]), D.push(e.tShift[f]), T.push(e.sCount[f]), e.sCount[f] = -1;
|
|
3010
3010
|
}
|
|
3011
|
-
for (E = e.blkIndent, e.blkIndent = 0, U = e.push("blockquote_open", "blockquote", 1), U.markup = ">", U.map =
|
|
3011
|
+
for (E = e.blkIndent, e.blkIndent = 0, U = e.push("blockquote_open", "blockquote", 1), U.markup = ">", U.map = p = [t, 0], e.md.block.tokenize(e, t, f), U = e.push("blockquote_close", "blockquote", -1), U.markup = ">", e.lineMax = ie, e.parentType = S, p[1] = e.line, i = 0; i < D.length; i++)
|
|
3012
3012
|
e.bMarks[i + t] = w[i], e.tShift[i + t] = D[i], e.sCount[i + t] = T[i], e.bsCount[i + t] = C[i];
|
|
3013
3013
|
return e.blkIndent = E, !0;
|
|
3014
3014
|
}, A$ = ue.isSpace, S$ = function(e, t, n, s) {
|
|
@@ -3050,21 +3050,21 @@ function E$(r, e) {
|
|
|
3050
3050
|
r.tokens[t].level === s && r.tokens[t].type === "paragraph_open" && (r.tokens[t + 2].hidden = !0, r.tokens[t].hidden = !0, t += 2);
|
|
3051
3051
|
}
|
|
3052
3052
|
var M$ = function(e, t, n, s) {
|
|
3053
|
-
var o, a, i, l, d, h,
|
|
3053
|
+
var o, a, i, l, d, h, p, f, g, w, C, E, S, T, D, L, V, q, U, ee, ie, re, oe, fe, ze, $, le, se, Ae = !1, lt = !0;
|
|
3054
3054
|
if (e.sCount[t] - e.blkIndent >= 4 || e.listIndent >= 0 && e.sCount[t] - e.listIndent >= 4 && e.sCount[t] < e.blkIndent)
|
|
3055
3055
|
return !1;
|
|
3056
3056
|
if (s && e.parentType === "paragraph" && e.sCount[t] >= e.blkIndent && (Ae = !0), (oe = ms(e, t)) >= 0) {
|
|
3057
|
-
if (
|
|
3057
|
+
if (p = !0, ze = e.bMarks[t] + e.tShift[t], S = Number(e.src.slice(ze, oe - 1)), Ae && S !== 1)
|
|
3058
3058
|
return !1;
|
|
3059
3059
|
} else if ((oe = ps(e, t)) >= 0)
|
|
3060
|
-
|
|
3060
|
+
p = !1;
|
|
3061
3061
|
else
|
|
3062
3062
|
return !1;
|
|
3063
3063
|
if (Ae && e.skipSpaces(oe) >= e.eMarks[t])
|
|
3064
3064
|
return !1;
|
|
3065
3065
|
if (E = e.src.charCodeAt(oe - 1), s)
|
|
3066
3066
|
return !0;
|
|
3067
|
-
for (C = e.tokens.length,
|
|
3067
|
+
for (C = e.tokens.length, p ? (se = e.push("ordered_list_open", "ol", 1), S !== 1 && (se.attrs = [["start", S]])) : se = e.push("bullet_list_open", "ul", 1), se.map = w = [t, 0], se.markup = String.fromCharCode(E), D = t, fe = !1, le = e.md.block.ruler.getRules("list"), q = e.parentType, e.parentType = "list"; D < n; ) {
|
|
3068
3068
|
for (re = oe, T = e.eMarks[D], h = L = e.sCount[D] + oe - (e.bMarks[t] + e.tShift[t]); re < T; ) {
|
|
3069
3069
|
if (o = e.src.charCodeAt(re), o === 9)
|
|
3070
3070
|
L += 4 - (L + e.bsCount[D]) % 4;
|
|
@@ -3074,7 +3074,7 @@ var M$ = function(e, t, n, s) {
|
|
|
3074
3074
|
break;
|
|
3075
3075
|
re++;
|
|
3076
3076
|
}
|
|
3077
|
-
if (a = re, a >= T ? d = 1 : d = L - h, d > 4 && (d = 1), l = h + d, se = e.push("list_item_open", "li", 1), se.markup = String.fromCharCode(E), se.map = f = [t, 0],
|
|
3077
|
+
if (a = re, a >= T ? d = 1 : d = L - h, d > 4 && (d = 1), l = h + d, se = e.push("list_item_open", "li", 1), se.markup = String.fromCharCode(E), se.map = f = [t, 0], p && (se.info = e.src.slice(ze, oe - 1)), ie = e.tight, ee = e.tShift[t], U = e.sCount[t], V = e.listIndent, e.listIndent = e.blkIndent, e.blkIndent = l, e.tight = !0, e.tShift[t] = a - e.bMarks[t], e.sCount[t] = L, a >= T && e.isEmpty(t + 1) ? e.line = Math.min(e.line + 2, n) : e.md.block.tokenize(e, t, n, !0), (!e.tight || fe) && (lt = !1), fe = e.line - t > 1 && e.isEmpty(e.line - 1), e.blkIndent = e.listIndent, e.listIndent = V, e.tShift[t] = ee, e.sCount[t] = U, e.tight = ie, se = e.push("list_item_close", "li", -1), se.markup = String.fromCharCode(E), D = t = e.line, f[1] = D, a = e.bMarks[t], D >= n || e.sCount[D] < e.blkIndent || e.sCount[t] - e.blkIndent >= 4)
|
|
3078
3078
|
break;
|
|
3079
3079
|
for ($ = !1, i = 0, g = le.length; i < g; i++)
|
|
3080
3080
|
if (le[i](e, D, n, !0)) {
|
|
@@ -3083,7 +3083,7 @@ var M$ = function(e, t, n, s) {
|
|
|
3083
3083
|
}
|
|
3084
3084
|
if ($)
|
|
3085
3085
|
break;
|
|
3086
|
-
if (
|
|
3086
|
+
if (p) {
|
|
3087
3087
|
if (oe = ms(e, D), oe < 0)
|
|
3088
3088
|
break;
|
|
3089
3089
|
ze = e.bMarks[D] + e.tShift[D];
|
|
@@ -3092,9 +3092,9 @@ var M$ = function(e, t, n, s) {
|
|
|
3092
3092
|
if (E !== e.src.charCodeAt(oe - 1))
|
|
3093
3093
|
break;
|
|
3094
3094
|
}
|
|
3095
|
-
return
|
|
3095
|
+
return p ? se = e.push("ordered_list_close", "ol", -1) : se = e.push("bullet_list_close", "ul", -1), se.markup = String.fromCharCode(E), w[1] = D, e.line = D, e.parentType = q, lt && E$(e, C), !0;
|
|
3096
3096
|
}, T$ = ue.normalizeReference, xr = ue.isSpace, z$ = function(e, t, n, s) {
|
|
3097
|
-
var o, a, i, l, d, h,
|
|
3097
|
+
var o, a, i, l, d, h, p, f, g, w, C, E, S, T, D, L, V = 0, q = e.bMarks[t] + e.tShift[t], U = e.eMarks[t], ee = t + 1;
|
|
3098
3098
|
if (e.sCount[t] - e.blkIndent >= 4 || e.src.charCodeAt(q) !== 91)
|
|
3099
3099
|
return !1;
|
|
3100
3100
|
for (; ++q < U; )
|
|
@@ -3105,7 +3105,7 @@ var M$ = function(e, t, n, s) {
|
|
|
3105
3105
|
}
|
|
3106
3106
|
for (l = e.lineMax, D = e.md.block.ruler.getRules("reference"), w = e.parentType, e.parentType = "reference"; ee < l && !e.isEmpty(ee); ee++)
|
|
3107
3107
|
if (!(e.sCount[ee] - e.blkIndent > 3) && !(e.sCount[ee] < 0)) {
|
|
3108
|
-
for (T = !1, h = 0,
|
|
3108
|
+
for (T = !1, h = 0, p = D.length; h < p; h++)
|
|
3109
3109
|
if (D[h](e, ee, l, !0)) {
|
|
3110
3110
|
T = !0;
|
|
3111
3111
|
break;
|
|
@@ -3242,13 +3242,13 @@ var G$ = D$, U$ = Wr.HTML_OPEN_CLOSE_TAG_RE, $t = [
|
|
|
3242
3242
|
a++, o = e.src.charCodeAt(++d);
|
|
3243
3243
|
return a > 6 || d < h && !fs(o) ? !1 : (s || (h = e.skipSpacesBack(h, d), i = e.skipCharsBack(h, 35, d), i > d && fs(e.src.charCodeAt(i - 1)) && (h = i), e.line = t + 1, l = e.push("heading_open", "h" + String(a), 1), l.markup = "########".slice(0, a), l.map = [t, e.line], l = e.push("inline", "", 0), l.content = e.src.slice(d, h).trim(), l.map = [t, e.line], l.children = [], l = e.push("heading_close", "h" + String(a), -1), l.markup = "########".slice(0, a)), !0);
|
|
3244
3244
|
}, W$ = function(e, t, n) {
|
|
3245
|
-
var s, o, a, i, l, d, h,
|
|
3245
|
+
var s, o, a, i, l, d, h, p, f, g = t + 1, w, C = e.md.block.ruler.getRules("paragraph");
|
|
3246
3246
|
if (e.sCount[t] - e.blkIndent >= 4)
|
|
3247
3247
|
return !1;
|
|
3248
3248
|
for (w = e.parentType, e.parentType = "paragraph"; g < n && !e.isEmpty(g); g++)
|
|
3249
3249
|
if (!(e.sCount[g] - e.blkIndent > 3)) {
|
|
3250
3250
|
if (e.sCount[g] >= e.blkIndent && (d = e.bMarks[g] + e.tShift[g], h = e.eMarks[g], d < h && (f = e.src.charCodeAt(d), (f === 45 || f === 61) && (d = e.skipChars(d, f), d = e.skipSpaces(d), d >= h)))) {
|
|
3251
|
-
|
|
3251
|
+
p = f === 61 ? 1 : 2;
|
|
3252
3252
|
break;
|
|
3253
3253
|
}
|
|
3254
3254
|
if (!(e.sCount[g] < 0)) {
|
|
@@ -3261,13 +3261,13 @@ var G$ = D$, U$ = Wr.HTML_OPEN_CLOSE_TAG_RE, $t = [
|
|
|
3261
3261
|
break;
|
|
3262
3262
|
}
|
|
3263
3263
|
}
|
|
3264
|
-
return
|
|
3264
|
+
return p ? (s = e.getLines(t, g, e.blkIndent, !1).trim(), e.line = g + 1, l = e.push("heading_open", "h" + String(p), 1), l.markup = String.fromCharCode(f), l.map = [t, e.line], l = e.push("inline", "", 0), l.content = s, l.map = [t, e.line - 1], l.children = [], l = e.push("heading_close", "h" + String(p), -1), l.markup = String.fromCharCode(f), e.parentType = w, !0) : !1;
|
|
3265
3265
|
}, Y$ = function(e, t) {
|
|
3266
|
-
var n, s, o, a, i, l, d = t + 1, h = e.md.block.ruler.getRules("paragraph"),
|
|
3267
|
-
for (l = e.parentType, e.parentType = "paragraph"; d <
|
|
3266
|
+
var n, s, o, a, i, l, d = t + 1, h = e.md.block.ruler.getRules("paragraph"), p = e.lineMax;
|
|
3267
|
+
for (l = e.parentType, e.parentType = "paragraph"; d < p && !e.isEmpty(d); d++)
|
|
3268
3268
|
if (!(e.sCount[d] - e.blkIndent > 3) && !(e.sCount[d] < 0)) {
|
|
3269
3269
|
for (s = !1, o = 0, a = h.length; o < a; o++)
|
|
3270
|
-
if (h[o](e, d,
|
|
3270
|
+
if (h[o](e, d, p, !0)) {
|
|
3271
3271
|
s = !0;
|
|
3272
3272
|
break;
|
|
3273
3273
|
}
|
|
@@ -3277,15 +3277,15 @@ var G$ = D$, U$ = Wr.HTML_OPEN_CLOSE_TAG_RE, $t = [
|
|
|
3277
3277
|
return n = e.getLines(t, d, e.blkIndent, !1).trim(), e.line = d, i = e.push("paragraph_open", "p", 1), i.map = [t, e.line], i = e.push("inline", "", 0), i.content = n, i.map = [t, e.line], i.children = [], i = e.push("paragraph_close", "p", -1), e.parentType = l, !0;
|
|
3278
3278
|
}, zo = sn, Yr = ue.isSpace;
|
|
3279
3279
|
function nt(r, e, t, n) {
|
|
3280
|
-
var s, o, a, i, l, d, h,
|
|
3281
|
-
for (this.src = r, this.md = e, this.env = t, this.tokens = n, this.bMarks = [], this.eMarks = [], this.tShift = [], this.sCount = [], this.bsCount = [], this.blkIndent = 0, this.line = 0, this.lineMax = 0, this.tight = !1, this.ddIndent = -1, this.listIndent = -1, this.parentType = "root", this.level = 0, this.result = "", o = this.src,
|
|
3282
|
-
if (s = o.charCodeAt(i), !
|
|
3280
|
+
var s, o, a, i, l, d, h, p;
|
|
3281
|
+
for (this.src = r, this.md = e, this.env = t, this.tokens = n, this.bMarks = [], this.eMarks = [], this.tShift = [], this.sCount = [], this.bsCount = [], this.blkIndent = 0, this.line = 0, this.lineMax = 0, this.tight = !1, this.ddIndent = -1, this.listIndent = -1, this.parentType = "root", this.level = 0, this.result = "", o = this.src, p = !1, a = i = d = h = 0, l = o.length; i < l; i++) {
|
|
3282
|
+
if (s = o.charCodeAt(i), !p)
|
|
3283
3283
|
if (Yr(s)) {
|
|
3284
3284
|
d++, s === 9 ? h += 4 - h % 4 : h++;
|
|
3285
3285
|
continue;
|
|
3286
3286
|
} else
|
|
3287
|
-
|
|
3288
|
-
(s === 10 || i === l - 1) && (s !== 10 && i++, this.bMarks.push(a), this.eMarks.push(i), this.tShift.push(d), this.sCount.push(h), this.bsCount.push(0),
|
|
3287
|
+
p = !0;
|
|
3288
|
+
(s === 10 || i === l - 1) && (s !== 10 && i++, this.bMarks.push(a), this.eMarks.push(i), this.tShift.push(d), this.sCount.push(h), this.bsCount.push(0), p = !1, d = 0, h = 0, a = i + 1);
|
|
3289
3289
|
}
|
|
3290
3290
|
this.bMarks.push(o.length), this.eMarks.push(o.length), this.tShift.push(0), this.sCount.push(0), this.bsCount.push(0), this.lineMax = this.bMarks.length - 1;
|
|
3291
3291
|
}
|
|
@@ -3328,14 +3328,14 @@ nt.prototype.skipCharsBack = function(e, t, n) {
|
|
|
3328
3328
|
return e;
|
|
3329
3329
|
};
|
|
3330
3330
|
nt.prototype.getLines = function(e, t, n, s) {
|
|
3331
|
-
var o, a, i, l, d, h,
|
|
3331
|
+
var o, a, i, l, d, h, p, f = e;
|
|
3332
3332
|
if (e >= t)
|
|
3333
3333
|
return "";
|
|
3334
3334
|
for (h = new Array(t - e), o = 0; f < t; f++, o++) {
|
|
3335
|
-
for (a = 0,
|
|
3335
|
+
for (a = 0, p = l = this.bMarks[f], f + 1 < t || s ? d = this.eMarks[f] + 1 : d = this.eMarks[f]; l < d && a < n; ) {
|
|
3336
3336
|
if (i = this.src.charCodeAt(l), Yr(i))
|
|
3337
3337
|
i === 9 ? a += 4 - (a + this.bsCount[f]) % 4 : a++;
|
|
3338
|
-
else if (l -
|
|
3338
|
+
else if (l - p < this.tShift[f])
|
|
3339
3339
|
a++;
|
|
3340
3340
|
else
|
|
3341
3341
|
break;
|
|
@@ -3454,18 +3454,18 @@ var aH = function(e, t) {
|
|
|
3454
3454
|
}
|
|
3455
3455
|
return a = e.src[l], n >= 55296 && n <= 56319 && l + 1 < d && (s = e.src.charCodeAt(l + 1), s >= 56320 && s <= 57343 && (a += e.src[l + 1], l++)), o = "\\" + a, t || (i = e.push("text_special", "", 0), n < 256 && an[n] !== 0 ? i.content = a : i.content = o, i.markup = o, i.info = "escape"), e.pos = l + 1, !0;
|
|
3456
3456
|
}, iH = function(e, t) {
|
|
3457
|
-
var n, s, o, a, i, l, d, h,
|
|
3457
|
+
var n, s, o, a, i, l, d, h, p = e.pos, f = e.src.charCodeAt(p);
|
|
3458
3458
|
if (f !== 96)
|
|
3459
3459
|
return !1;
|
|
3460
|
-
for (n =
|
|
3461
|
-
|
|
3462
|
-
if (o = e.src.slice(n,
|
|
3460
|
+
for (n = p, p++, s = e.posMax; p < s && e.src.charCodeAt(p) === 96; )
|
|
3461
|
+
p++;
|
|
3462
|
+
if (o = e.src.slice(n, p), d = o.length, e.backticksScanned && (e.backticks[d] || 0) <= n)
|
|
3463
3463
|
return t || (e.pending += o), e.pos += d, !0;
|
|
3464
|
-
for (i = l =
|
|
3464
|
+
for (i = l = p; (i = e.src.indexOf("`", l)) !== -1; ) {
|
|
3465
3465
|
for (l = i + 1; l < s && e.src.charCodeAt(l) === 96; )
|
|
3466
3466
|
l++;
|
|
3467
3467
|
if (h = l - i, h === d)
|
|
3468
|
-
return t || (a = e.push("code_inline", "code", 0), a.markup = o, a.content = e.src.slice(
|
|
3468
|
+
return t || (a = e.push("code_inline", "code", 0), a.markup = o, a.content = e.src.slice(p, i).replace(/\n/g, " ").replace(/^ (.+) $/, "$1")), e.pos = l, !0;
|
|
3469
3469
|
e.backticks[h] = i;
|
|
3470
3470
|
}
|
|
3471
3471
|
return e.backticksScanned = !0, t || (e.pending += o), e.pos += d, !0;
|
|
@@ -3542,7 +3542,7 @@ Jr.postProcess = function(e) {
|
|
|
3542
3542
|
n[t] && n[t].delimiters && bs(e, n[t].delimiters);
|
|
3543
3543
|
};
|
|
3544
3544
|
var lH = ue.normalizeReference, g0 = ue.isSpace, cH = function(e, t) {
|
|
3545
|
-
var n, s, o, a, i, l, d, h,
|
|
3545
|
+
var n, s, o, a, i, l, d, h, p, f = "", g = "", w = e.pos, C = e.posMax, E = e.pos, S = !0;
|
|
3546
3546
|
if (e.src.charCodeAt(e.pos) !== 91 || (i = e.pos + 1, a = e.md.helpers.parseLinkLabel(e, e.pos, !0), a < 0))
|
|
3547
3547
|
return !1;
|
|
3548
3548
|
if (l = a + 1, l < C && e.src.charCodeAt(l) === 40) {
|
|
@@ -3566,9 +3566,9 @@ var lH = ue.normalizeReference, g0 = ue.isSpace, cH = function(e, t) {
|
|
|
3566
3566
|
return e.pos = w, !1;
|
|
3567
3567
|
f = h.href, g = h.title;
|
|
3568
3568
|
}
|
|
3569
|
-
return t || (e.pos = i, e.posMax = a,
|
|
3569
|
+
return t || (e.pos = i, e.posMax = a, p = e.push("link_open", "a", 1), p.attrs = n = [["href", f]], g && n.push(["title", g]), e.linkLevel++, e.md.inline.tokenize(e), e.linkLevel--, p = e.push("link_close", "a", -1)), e.pos = l, e.posMax = C, !0;
|
|
3570
3570
|
}, uH = ue.normalizeReference, b0 = ue.isSpace, dH = function(e, t) {
|
|
3571
|
-
var n, s, o, a, i, l, d, h,
|
|
3571
|
+
var n, s, o, a, i, l, d, h, p, f, g, w, C, E = "", S = e.pos, T = e.posMax;
|
|
3572
3572
|
if (e.src.charCodeAt(e.pos) !== 33 || e.src.charCodeAt(e.pos + 1) !== 91 || (l = e.pos + 2, i = e.md.helpers.parseLinkLabel(e, e.pos + 1, !1), i < 0))
|
|
3573
3573
|
return !1;
|
|
3574
3574
|
if (d = i + 1, d < T && e.src.charCodeAt(d) === 40) {
|
|
@@ -3576,10 +3576,10 @@ var lH = ue.normalizeReference, g0 = ue.isSpace, cH = function(e, t) {
|
|
|
3576
3576
|
;
|
|
3577
3577
|
if (d >= T)
|
|
3578
3578
|
return !1;
|
|
3579
|
-
for (C = d,
|
|
3579
|
+
for (C = d, p = e.md.helpers.parseLinkDestination(e.src, d, e.posMax), p.ok && (E = e.md.normalizeLink(p.str), e.md.validateLink(E) ? d = p.pos : E = ""), C = d; d < T && (s = e.src.charCodeAt(d), !(!b0(s) && s !== 10)); d++)
|
|
3580
3580
|
;
|
|
3581
|
-
if (
|
|
3582
|
-
for (f =
|
|
3581
|
+
if (p = e.md.helpers.parseLinkTitle(e.src, d, e.posMax), d < T && C !== d && p.ok)
|
|
3582
|
+
for (f = p.str, d = p.pos; d < T && (s = e.src.charCodeAt(d), !(!b0(s) && s !== 10)); d++)
|
|
3583
3583
|
;
|
|
3584
3584
|
else
|
|
3585
3585
|
f = "";
|
|
@@ -3636,10 +3636,10 @@ var yH = function(e, t) {
|
|
|
3636
3636
|
return !1;
|
|
3637
3637
|
};
|
|
3638
3638
|
function ws(r, e) {
|
|
3639
|
-
var t, n, s, o, a, i, l, d, h = {},
|
|
3640
|
-
if (
|
|
3639
|
+
var t, n, s, o, a, i, l, d, h = {}, p = e.length;
|
|
3640
|
+
if (p) {
|
|
3641
3641
|
var f = 0, g = -2, w = [];
|
|
3642
|
-
for (t = 0; t <
|
|
3642
|
+
for (t = 0; t < p; t++)
|
|
3643
3643
|
if (s = e[t], w.push(0), (e[f].marker !== s.marker || g !== s.token - 1) && (f = t), g = s.token, s.length = s.length || 0, !!s.close) {
|
|
3644
3644
|
for (h.hasOwnProperty(s.marker) || (h[s.marker] = [-1, -1, -1, -1, -1, -1]), a = h[s.marker][(s.open ? 3 : 0) + s.length % 3], n = f - w[f] - 1, i = n; n > a; n -= w[n] + 1)
|
|
3645
3645
|
if (o = e[n], o.marker === s.marker && o.open && o.end < 0 && (l = !1, (o.close || s.open) && (o.length + s.length) % 3 === 0 && (o.length % 3 !== 0 || s.length % 3 !== 0) && (l = !0), !l)) {
|
|
@@ -3673,10 +3673,10 @@ ur.prototype.push = function(r, e, t) {
|
|
|
3673
3673
|
return t < 0 && (this.level--, this.delimiters = this._prev_delimiters.pop()), n.level = this.level, t > 0 && (this.level++, this._prev_delimiters.push(this.delimiters), this.delimiters = [], s = { delimiters: this.delimiters }), this.pendingLevel = this.level, this.tokens.push(n), this.tokens_meta.push(s), n;
|
|
3674
3674
|
};
|
|
3675
3675
|
ur.prototype.scanDelims = function(r, e) {
|
|
3676
|
-
var t = r, n, s, o, a, i, l, d, h,
|
|
3676
|
+
var t = r, n, s, o, a, i, l, d, h, p, f = !0, g = !0, w = this.posMax, C = this.src.charCodeAt(r);
|
|
3677
3677
|
for (n = r > 0 ? this.src.charCodeAt(r - 1) : 32; t < w && this.src.charCodeAt(t) === C; )
|
|
3678
3678
|
t++;
|
|
3679
|
-
return o = t - r, s = t < w ? this.src.charCodeAt(t) : 32, d = Cs(n) || _s(String.fromCharCode(n)),
|
|
3679
|
+
return o = t - r, s = t < w ? this.src.charCodeAt(t) : 32, d = Cs(n) || _s(String.fromCharCode(n)), p = Cs(s) || _s(String.fromCharCode(s)), l = ks(n), h = ks(s), h ? f = !1 : p && (l || d || (f = !1)), l ? g = !1 : d && (h || p || (g = !1)), e ? (a = f, i = g) : (a = f && (!g || d), i = g && (!f || p)), {
|
|
3680
3680
|
can_open: a,
|
|
3681
3681
|
can_close: i,
|
|
3682
3682
|
length: o
|
|
@@ -3996,11 +3996,11 @@ const Ro = (r) => String.fromCodePoint(...r), YH = function(r) {
|
|
|
3996
3996
|
r.charCodeAt(i) >= 128 && kt("not-basic"), e.push(r.charCodeAt(i));
|
|
3997
3997
|
for (let i = a > 0 ? a + 1 : 0; i < t; ) {
|
|
3998
3998
|
const l = n;
|
|
3999
|
-
for (let h = 1,
|
|
3999
|
+
for (let h = 1, p = Xe; ; p += Xe) {
|
|
4000
4000
|
i >= t && kt("invalid-input");
|
|
4001
4001
|
const f = YH(r.charCodeAt(i++));
|
|
4002
4002
|
f >= Xe && kt("invalid-input"), f > Ke((Nt - n) / h) && kt("overflow"), n += f * h;
|
|
4003
|
-
const g =
|
|
4003
|
+
const g = p <= o ? cn : p >= o + nr ? nr : p - o;
|
|
4004
4004
|
if (f < g)
|
|
4005
4005
|
break;
|
|
4006
4006
|
const w = Xe - g;
|
|
@@ -4027,17 +4027,17 @@ const Ro = (r) => String.fromCodePoint(...r), YH = function(r) {
|
|
|
4027
4027
|
l - n > Ke((Nt - s) / d) && kt("overflow"), s += (l - n) * d, n = l;
|
|
4028
4028
|
for (const h of r)
|
|
4029
4029
|
if (h < n && ++s > Nt && kt("overflow"), h === n) {
|
|
4030
|
-
let
|
|
4030
|
+
let p = s;
|
|
4031
4031
|
for (let f = Xe; ; f += Xe) {
|
|
4032
4032
|
const g = f <= o ? cn : f >= o + nr ? nr : f - o;
|
|
4033
|
-
if (
|
|
4033
|
+
if (p < g)
|
|
4034
4034
|
break;
|
|
4035
|
-
const w =
|
|
4035
|
+
const w = p - g, C = Xe - g;
|
|
4036
4036
|
e.push(
|
|
4037
4037
|
_0(Ts(g + w % C, 0))
|
|
4038
|
-
),
|
|
4038
|
+
), p = Ke(w / C);
|
|
4039
4039
|
}
|
|
4040
|
-
e.push(_0(Ts(
|
|
4040
|
+
e.push(_0(Ts(p, 0))), o = Io(s, d, i === a), s = 0, ++i;
|
|
4041
4041
|
}
|
|
4042
4042
|
++s, ++n;
|
|
4043
4043
|
}
|
|
@@ -4558,10 +4558,10 @@ const wN = {
|
|
|
4558
4558
|
outlined: { type: Boolean, default: !1 }
|
|
4559
4559
|
},
|
|
4560
4560
|
setup(r) {
|
|
4561
|
-
const e = r, t = ye(e.open), n = ye(), s =
|
|
4561
|
+
const e = r, t = ye(e.open), n = ye(), s = R(() => e.outlined ? "outlined" : "default"), o = R(() => {
|
|
4562
4562
|
var h;
|
|
4563
4563
|
return `flex justify-between items-center px-4 py-2 cursor-pointer ${(h = wN[e.type]) == null ? void 0 : h[s.value]}`;
|
|
4564
|
-
}), a =
|
|
4564
|
+
}), a = R(() => `px-4 ${Ze("bg", e.type + "light")}`);
|
|
4565
4565
|
Gr(() => {
|
|
4566
4566
|
var h = n.value;
|
|
4567
4567
|
e.open && (h.style.maxHeight = h.scrollHeight + "px");
|
|
@@ -4572,7 +4572,7 @@ const wN = {
|
|
|
4572
4572
|
h.style.maxHeight ? h.style.maxHeight = null : h.style.maxHeight = h.scrollHeight + "px", h.style.transition || (h.style.transition = "max-height 0.2s ease-out");
|
|
4573
4573
|
}
|
|
4574
4574
|
const { title: l, icon: d } = ae(e);
|
|
4575
|
-
return (h,
|
|
4575
|
+
return (h, p) => (A(), z("div", null, [
|
|
4576
4576
|
k("div", {
|
|
4577
4577
|
class: Z(o.value),
|
|
4578
4578
|
onClick: i
|
|
@@ -4624,7 +4624,7 @@ const jt = (r, e) => {
|
|
|
4624
4624
|
compact: { type: Boolean, default: !1 }
|
|
4625
4625
|
},
|
|
4626
4626
|
setup(r) {
|
|
4627
|
-
const e = r, t =
|
|
4627
|
+
const e = r, t = R(() => e.title ? e.title : "En savoir plus"), n = R(() => {
|
|
4628
4628
|
if (!e.content)
|
|
4629
4629
|
return "<div></div>";
|
|
4630
4630
|
if (!tt(e.content))
|
|
@@ -4635,13 +4635,13 @@ const jt = (r, e) => {
|
|
|
4635
4635
|
a.innerHTML = l;
|
|
4636
4636
|
let d = a.outerHTML;
|
|
4637
4637
|
const h = a.querySelectorAll(".ep_glossary_item");
|
|
4638
|
-
return h.length > 0 && h.forEach((
|
|
4639
|
-
const f =
|
|
4638
|
+
return h.length > 0 && h.forEach((p) => {
|
|
4639
|
+
const f = p.getAttribute("data-id"), g = p.innerHTML;
|
|
4640
4640
|
let w = [];
|
|
4641
4641
|
e.glossary && (w = e.glossary);
|
|
4642
4642
|
const C = w.find((E) => E.id === f);
|
|
4643
4643
|
if (C) {
|
|
4644
|
-
const E =
|
|
4644
|
+
const E = p.outerHTML, T = w.filter(
|
|
4645
4645
|
(q) => q.relation.some((U) => U == f)
|
|
4646
4646
|
).map((q) => q.term), D = C.variation, L = C.img ? C.img : "", V = `<div style="display:inline"><EpTerm term="${C.term}" word="${g}" variations="${D}" graminfo="${C.graminfo}" src="${L}" domain="${C.domain}" relations="${T}"> ${C.definition}</EpTerm> </div>`;
|
|
4647
4647
|
d = d.replace(E, V);
|
|
@@ -4650,7 +4650,7 @@ const jt = (r, e) => {
|
|
|
4650
4650
|
}), s = () => {
|
|
4651
4651
|
const a = {
|
|
4652
4652
|
components: {
|
|
4653
|
-
epterm: Ct(() => import("./EpTerm-
|
|
4653
|
+
epterm: Ct(() => import("./EpTerm-28f932c3.js"))
|
|
4654
4654
|
},
|
|
4655
4655
|
template: `${n.value}`
|
|
4656
4656
|
};
|
|
@@ -4688,13 +4688,13 @@ function O0(r, e = !1, t = "Timeout") {
|
|
|
4688
4688
|
});
|
|
4689
4689
|
}
|
|
4690
4690
|
function P0(r, e = !1) {
|
|
4691
|
-
function t(
|
|
4691
|
+
function t(p, { flush: f = "sync", deep: g = !1, timeout: w, throwOnTimeout: C } = {}) {
|
|
4692
4692
|
let E = null;
|
|
4693
4693
|
const T = [new Promise((D) => {
|
|
4694
4694
|
E = rr(
|
|
4695
4695
|
r,
|
|
4696
4696
|
(L) => {
|
|
4697
|
-
|
|
4697
|
+
p(L) !== e && (E == null || E(), D(L));
|
|
4698
4698
|
},
|
|
4699
4699
|
{
|
|
4700
4700
|
flush: f,
|
|
@@ -4707,14 +4707,14 @@ function P0(r, e = !1) {
|
|
|
4707
4707
|
O0(w, C).then(() => dt(r)).finally(() => E == null ? void 0 : E())
|
|
4708
4708
|
), Promise.race(T);
|
|
4709
4709
|
}
|
|
4710
|
-
function n(
|
|
4711
|
-
if (!Ja(
|
|
4712
|
-
return t((L) => L ===
|
|
4710
|
+
function n(p, f) {
|
|
4711
|
+
if (!Ja(p))
|
|
4712
|
+
return t((L) => L === p, f);
|
|
4713
4713
|
const { flush: g = "sync", deep: w = !1, timeout: C, throwOnTimeout: E } = f ?? {};
|
|
4714
4714
|
let S = null;
|
|
4715
4715
|
const D = [new Promise((L) => {
|
|
4716
4716
|
S = rr(
|
|
4717
|
-
[r,
|
|
4717
|
+
[r, p],
|
|
4718
4718
|
([V, q]) => {
|
|
4719
4719
|
e !== (V === q) && (S == null || S(), L(V));
|
|
4720
4720
|
},
|
|
@@ -4729,30 +4729,30 @@ function P0(r, e = !1) {
|
|
|
4729
4729
|
O0(C, E).then(() => dt(r)).finally(() => (S == null || S(), dt(r)))
|
|
4730
4730
|
), Promise.race(D);
|
|
4731
4731
|
}
|
|
4732
|
-
function s(
|
|
4733
|
-
return t((f) => !!f,
|
|
4732
|
+
function s(p) {
|
|
4733
|
+
return t((f) => !!f, p);
|
|
4734
4734
|
}
|
|
4735
|
-
function o(
|
|
4736
|
-
return n(null,
|
|
4735
|
+
function o(p) {
|
|
4736
|
+
return n(null, p);
|
|
4737
4737
|
}
|
|
4738
|
-
function a(
|
|
4739
|
-
return n(void 0,
|
|
4738
|
+
function a(p) {
|
|
4739
|
+
return n(void 0, p);
|
|
4740
4740
|
}
|
|
4741
|
-
function i(
|
|
4742
|
-
return t(Number.isNaN,
|
|
4741
|
+
function i(p) {
|
|
4742
|
+
return t(Number.isNaN, p);
|
|
4743
4743
|
}
|
|
4744
|
-
function l(
|
|
4744
|
+
function l(p, f) {
|
|
4745
4745
|
return t((g) => {
|
|
4746
4746
|
const w = Array.from(g);
|
|
4747
|
-
return w.includes(
|
|
4747
|
+
return w.includes(p) || w.includes(dt(p));
|
|
4748
4748
|
}, f);
|
|
4749
4749
|
}
|
|
4750
|
-
function d(
|
|
4751
|
-
return h(1,
|
|
4750
|
+
function d(p) {
|
|
4751
|
+
return h(1, p);
|
|
4752
4752
|
}
|
|
4753
|
-
function h(
|
|
4753
|
+
function h(p = 1, f) {
|
|
4754
4754
|
let g = -1;
|
|
4755
|
-
return t(() => (g += 1, g >=
|
|
4755
|
+
return t(() => (g += 1, g >= p), f);
|
|
4756
4756
|
}
|
|
4757
4757
|
return Array.isArray(dt(r)) ? {
|
|
4758
4758
|
toMatch: t,
|
|
@@ -4792,12 +4792,12 @@ function Dr(...r) {
|
|
|
4792
4792
|
Array.isArray(t) || (t = [t]), Array.isArray(n) || (n = [n]);
|
|
4793
4793
|
const o = [], a = () => {
|
|
4794
4794
|
o.forEach((h) => h()), o.length = 0;
|
|
4795
|
-
}, i = (h,
|
|
4795
|
+
}, i = (h, p, f, g) => (h.addEventListener(p, f, g), () => h.removeEventListener(p, f, g)), l = rr(
|
|
4796
4796
|
() => [Xt(e), dt(s)],
|
|
4797
|
-
([h,
|
|
4797
|
+
([h, p]) => {
|
|
4798
4798
|
if (a(), !h)
|
|
4799
4799
|
return;
|
|
4800
|
-
const f = DN(
|
|
4800
|
+
const f = DN(p) ? { ...p } : p;
|
|
4801
4801
|
o.push(
|
|
4802
4802
|
...t.flatMap((g) => n.map((w) => i(h, g, w, f)))
|
|
4803
4803
|
);
|
|
@@ -4856,13 +4856,13 @@ function RN(r, e, t) {
|
|
|
4856
4856
|
resetOnExecute: i = !0,
|
|
4857
4857
|
shallow: l = !0,
|
|
4858
4858
|
throwError: d
|
|
4859
|
-
} = t ?? {}, h = l ? jn(e) : ye(e),
|
|
4859
|
+
} = t ?? {}, h = l ? jn(e) : ye(e), p = ye(!1), f = ye(!1), g = jn(void 0);
|
|
4860
4860
|
async function w(S = 0, ...T) {
|
|
4861
|
-
i && (h.value = e), g.value = void 0,
|
|
4861
|
+
i && (h.value = e), g.value = void 0, p.value = !1, f.value = !0, S > 0 && await O0(S);
|
|
4862
4862
|
const D = typeof r == "function" ? r(...T) : r;
|
|
4863
4863
|
try {
|
|
4864
4864
|
const L = await D;
|
|
4865
|
-
h.value = L,
|
|
4865
|
+
h.value = L, p.value = !0, a(L);
|
|
4866
4866
|
} catch (L) {
|
|
4867
4867
|
if (g.value = L, o(L), d)
|
|
4868
4868
|
throw L;
|
|
@@ -4874,7 +4874,7 @@ function RN(r, e, t) {
|
|
|
4874
4874
|
n && w(s);
|
|
4875
4875
|
const C = {
|
|
4876
4876
|
state: h,
|
|
4877
|
-
isReady:
|
|
4877
|
+
isReady: p,
|
|
4878
4878
|
isLoading: f,
|
|
4879
4879
|
error: g,
|
|
4880
4880
|
execute: w
|
|
@@ -4933,13 +4933,13 @@ const HN = {
|
|
|
4933
4933
|
density: { default: "default" }
|
|
4934
4934
|
},
|
|
4935
4935
|
setup(r) {
|
|
4936
|
-
const e = r, t =
|
|
4936
|
+
const e = r, t = R(() => e.flat ? "" : "shadow-lg"), n = R(() => e.outlined && e.color ? `border solid ${Ze("border", e.color)}` : e.outlined ? "border solid border-grey-700" : ""), s = R(() => e.color && !e.outlined ? `${Ze("bg", e.color)}` : "bg-white text-black"), o = R(() => e.color && !e.outlined ? "text-white" : "text-gray-600"), a = R(() => HN[e.density]), i = R(() => `${t.value} ${n.value} ${s.value} ${e.maxWidth} my-4 `), { title: l, subtitle: d, icon: h, src: p, density: f } = ae(e);
|
|
4937
4937
|
return (g, w) => (A(), z("div", {
|
|
4938
4938
|
class: Z(`${i.value} rounded-md`)
|
|
4939
4939
|
}, [
|
|
4940
|
-
b(
|
|
4940
|
+
b(p) ? (A(), z("img", {
|
|
4941
4941
|
key: 0,
|
|
4942
|
-
src: b(
|
|
4942
|
+
src: b(p),
|
|
4943
4943
|
class: "w-full rounded-t-md",
|
|
4944
4944
|
alt: "header card"
|
|
4945
4945
|
}, null, 8, NN)) : N("", !0),
|
|
@@ -4981,7 +4981,7 @@ const HN = {
|
|
|
4981
4981
|
comfortable: "w-[85%]"
|
|
4982
4982
|
}, s = () => {
|
|
4983
4983
|
t.persistent || e("update:modelValue", !1);
|
|
4984
|
-
}, o =
|
|
4984
|
+
}, o = R(() => n[t.size]), { title: a, subtitle: i, icon: l } = ae(t);
|
|
4985
4985
|
return (d, h) => (A(), K(Qa, { to: "body" }, [
|
|
4986
4986
|
W(go, { name: "modal" }, {
|
|
4987
4987
|
default: P(() => [
|
|
@@ -5067,10 +5067,10 @@ const jN = {
|
|
|
5067
5067
|
href: {}
|
|
5068
5068
|
},
|
|
5069
5069
|
setup(r) {
|
|
5070
|
-
const e = r, t =
|
|
5070
|
+
const e = r, t = R(() => e.outlined ? "" : e.color), n = R(() => e.outlined ? "outlined" : "default"), s = R(() => {
|
|
5071
5071
|
var h;
|
|
5072
5072
|
return e.text ? `uppercase ${Ze("text", e.type)} hover:${Ze("bg", e.type + "light")}` : `${(h = jN[e.type]) == null ? void 0 : h[n.value]}`;
|
|
5073
|
-
}), o =
|
|
5073
|
+
}), o = R(() => `
|
|
5074
5074
|
transition
|
|
5075
5075
|
${s.value}
|
|
5076
5076
|
${ZN[e.size]}
|
|
@@ -5078,7 +5078,7 @@ const jN = {
|
|
|
5078
5078
|
${e.disabled ? "opacity-50" : ""}
|
|
5079
5079
|
${e.block ? "w-full block" : ""}
|
|
5080
5080
|
${e.rounded ? "rounded-md" : ""}
|
|
5081
|
-
${e.extraClass ? e.extraClass : "transition"}`), a =
|
|
5081
|
+
${e.extraClass ? e.extraClass : "transition"}`), a = R(() => {
|
|
5082
5082
|
if (e.size === "large")
|
|
5083
5083
|
return "30";
|
|
5084
5084
|
if (e.size === "medium")
|
|
@@ -5086,7 +5086,7 @@ const jN = {
|
|
|
5086
5086
|
if (e.size === "small")
|
|
5087
5087
|
return "15";
|
|
5088
5088
|
}), { disabled: i, prependIcon: l, appendIcon: d } = ae(e);
|
|
5089
|
-
return (h,
|
|
5089
|
+
return (h, p) => h.href ? (A(), z("a", {
|
|
5090
5090
|
key: 1,
|
|
5091
5091
|
class: Z(`${o.value} text-center inline-block`),
|
|
5092
5092
|
disabled: b(i),
|
|
@@ -5178,11 +5178,11 @@ const kV = {
|
|
|
5178
5178
|
"basis-10/12",
|
|
5179
5179
|
"basis-11/12",
|
|
5180
5180
|
"basis-12/12"
|
|
5181
|
-
], n =
|
|
5181
|
+
], n = R(() => t[+e.cols]), s = R(() => e.bib ? Se(e.bib) : ""), o = ye(!1), a = () => {
|
|
5182
5182
|
e.noModal || (o.value = !o.value);
|
|
5183
5183
|
}, i = ye(!1), l = () => {
|
|
5184
5184
|
i.value = !i.value;
|
|
5185
|
-
}, { isLoading: d, error: h } = $N({ src: e.src }), { src:
|
|
5185
|
+
}, { isLoading: d, error: h } = $N({ src: e.src }), { src: p, alt: f, title: g, caption: w, thumbnail: C, bib: E, noModal: S } = ae(e);
|
|
5186
5186
|
return (T, D) => (A(), z("div", null, [
|
|
5187
5187
|
b(C) ? N("", !0) : (A(), z("div", kV, [
|
|
5188
5188
|
k("div", {
|
|
@@ -5201,7 +5201,7 @@ const kV = {
|
|
|
5201
5201
|
])) : (A(), z("img", {
|
|
5202
5202
|
key: 2,
|
|
5203
5203
|
class: "object-cover object-center w-full",
|
|
5204
|
-
src: b(
|
|
5204
|
+
src: b(p),
|
|
5205
5205
|
alt: b(f),
|
|
5206
5206
|
onClick: a
|
|
5207
5207
|
}, null, 8, AV)),
|
|
@@ -5225,7 +5225,7 @@ const kV = {
|
|
|
5225
5225
|
b(C) ? (A(), z("div", zV, [
|
|
5226
5226
|
k("img", {
|
|
5227
5227
|
class: "w-36 h-36 object-cover object-center group-hover:opacity-30",
|
|
5228
|
-
src: b(
|
|
5228
|
+
src: b(p),
|
|
5229
5229
|
alt: b(f)
|
|
5230
5230
|
}, null, 8, DV),
|
|
5231
5231
|
k("div", {
|
|
@@ -5244,7 +5244,7 @@ const kV = {
|
|
|
5244
5244
|
default: P(() => [
|
|
5245
5245
|
k("img", {
|
|
5246
5246
|
class: "object-cover object-center h-5/6 w-5/6 mx-auto",
|
|
5247
|
-
src: b(
|
|
5247
|
+
src: b(p),
|
|
5248
5248
|
alt: b(f),
|
|
5249
5249
|
onClick: a
|
|
5250
5250
|
}, null, 8, LV),
|
|
@@ -5299,7 +5299,7 @@ const kV = {
|
|
|
5299
5299
|
},
|
|
5300
5300
|
setup(r) {
|
|
5301
5301
|
const e = r;
|
|
5302
|
-
return
|
|
5302
|
+
return R(() => e.outlined ? Ze("border", e.color) : Ze("bg", e.color)), R(() => e.square ? "" : "rounded-full"), ae(e), (t, n) => (A(), z("div", NV, OV));
|
|
5303
5303
|
}
|
|
5304
5304
|
}), PV = {
|
|
5305
5305
|
base: {
|
|
@@ -5350,7 +5350,7 @@ const kV = {
|
|
|
5350
5350
|
dark: { type: Boolean, default: !1 }
|
|
5351
5351
|
},
|
|
5352
5352
|
setup(r) {
|
|
5353
|
-
const e = r, t =
|
|
5353
|
+
const e = r, t = R(() => e.outlined ? "outlined" : "default"), n = R(() => e.square ? "" : "rounded-full"), s = R(() => e.outlined ? "" : e.dark ? "text-white" : "text-black"), o = R(() => {
|
|
5354
5354
|
var l;
|
|
5355
5355
|
return `
|
|
5356
5356
|
${s.value}
|
|
@@ -5358,7 +5358,7 @@ const kV = {
|
|
|
5358
5358
|
${n.value}
|
|
5359
5359
|
${(l = PV[e.type]) == null ? void 0 : l[t.value]}
|
|
5360
5360
|
`;
|
|
5361
|
-
}), a =
|
|
5361
|
+
}), a = R(() => {
|
|
5362
5362
|
if (e.size === "large")
|
|
5363
5363
|
return "30";
|
|
5364
5364
|
if (e.size === "medium")
|
|
@@ -5394,7 +5394,7 @@ const kV = {
|
|
|
5394
5394
|
margin: { default: "my-2" }
|
|
5395
5395
|
},
|
|
5396
5396
|
setup(r) {
|
|
5397
|
-
const e = r, t =
|
|
5397
|
+
const e = r, t = R(() => e.color ? `${e.size} ${Ze("border", e.color)}` : `${e.size} border-grey-700`), n = R(() => `${t.value} ${e.inset ? "w-9/12 mx-auto" : "w-full"} ${e.margin}`);
|
|
5398
5398
|
return (s, o) => (A(), z("hr", {
|
|
5399
5399
|
class: Z(`h-px ${n.value}`)
|
|
5400
5400
|
}, null, 2));
|
|
@@ -5470,7 +5470,7 @@ const kV = {
|
|
|
5470
5470
|
inline: { type: Boolean, default: !1 }
|
|
5471
5471
|
},
|
|
5472
5472
|
setup(r) {
|
|
5473
|
-
const e = r, t =
|
|
5473
|
+
const e = r, t = R(() => Ze("fill", e.color)), n = R(() => e.inline ? "" : "flex flex-row w-full h-screen items-center justify-center");
|
|
5474
5474
|
return (s, o) => (A(), z("div", {
|
|
5475
5475
|
class: Z(n.value)
|
|
5476
5476
|
}, [
|
|
@@ -5630,7 +5630,7 @@ const kV = {
|
|
|
5630
5630
|
setup(r) {
|
|
5631
5631
|
const e = r;
|
|
5632
5632
|
let t = ye("base");
|
|
5633
|
-
const n =
|
|
5633
|
+
const n = R(() => e.title.trim() === "Essentiel" ? t.value = "warning" : e.title.trim() === "Enrichissement" ? t.value = "info" : t.value), { title: s } = ae(e);
|
|
5634
5634
|
return (o, a) => (A(), K(Qt, {
|
|
5635
5635
|
size: "small",
|
|
5636
5636
|
type: n.value
|
|
@@ -5658,10 +5658,10 @@ const kV = {
|
|
|
5658
5658
|
flat: { type: Boolean, default: !1 }
|
|
5659
5659
|
},
|
|
5660
5660
|
setup(r) {
|
|
5661
|
-
const e = r, t = ei(), n =
|
|
5661
|
+
const e = r, t = ei(), n = R(() => !!t.intentions), s = R(() => !!t.actions), o = R(() => e.icon ? e.icon : bV), a = R(() => `${Fs[e.type]} text-left px-5 py-2 ${e.flat ? "" : "rounded-t-md"} flex justify-between items-center `), i = R(() => `${Fs[e.type]} text-right pr-5`), l = R(() => s.value || n.value || e.title ? `rounded-lg overflow-hidden ${e.flat ? "" : "shadow-md"} flex flex-col justify-between h-full` : "flex flex-col justify-between"), d = R(() => {
|
|
5662
5662
|
var f;
|
|
5663
5663
|
return typeof e.mandateLevel == "object" ? (f = e.mandateLevel) == null ? void 0 : f.title : e.mandateLevel;
|
|
5664
|
-
}), { title: h, hideIcon:
|
|
5664
|
+
}), { title: h, hideIcon: p } = ae(e);
|
|
5665
5665
|
return (f, g) => (A(), z("div", {
|
|
5666
5666
|
class: Z(l.value)
|
|
5667
5667
|
}, [
|
|
@@ -5670,7 +5670,7 @@ const kV = {
|
|
|
5670
5670
|
class: Z(`${a.value}`)
|
|
5671
5671
|
}, [
|
|
5672
5672
|
k("h3", null, [
|
|
5673
|
-
b(
|
|
5673
|
+
b(p) ? N("", !0) : (A(), K(de, {
|
|
5674
5674
|
key: 0,
|
|
5675
5675
|
iconPath: o.value,
|
|
5676
5676
|
size: "24"
|
|
@@ -5718,7 +5718,7 @@ const kV = {
|
|
|
5718
5718
|
source: {}
|
|
5719
5719
|
},
|
|
5720
5720
|
setup(r) {
|
|
5721
|
-
const e = r, t =
|
|
5721
|
+
const e = r, t = R(() => e.intentions ? tt(e.intentions) ? e.intentions : st(e.intentions) : null), n = R(() => ({
|
|
5722
5722
|
...e.options,
|
|
5723
5723
|
dataLabels: {
|
|
5724
5724
|
enabled: !1
|
|
@@ -5782,7 +5782,7 @@ const kV = {
|
|
|
5782
5782
|
source: {}
|
|
5783
5783
|
},
|
|
5784
5784
|
setup(r) {
|
|
5785
|
-
const e = r, t =
|
|
5785
|
+
const e = r, t = R(() => e.intentions ? tt(e.intentions) ? e.intentions : st(e.intentions) : null), n = R(() => ({
|
|
5786
5786
|
...e.options,
|
|
5787
5787
|
dataLabels: {
|
|
5788
5788
|
enabled: !1
|
|
@@ -5855,12 +5855,12 @@ const kV = {
|
|
|
5855
5855
|
source: {}
|
|
5856
5856
|
},
|
|
5857
5857
|
setup(r) {
|
|
5858
|
-
const e = r, t =
|
|
5858
|
+
const e = r, t = R(() => e.intentions ? tt(e.intentions) ? e.intentions : st(e.intentions) : null), { center: n, series: s, source: o, options: a } = ae(e);
|
|
5859
5859
|
return (i, l) => {
|
|
5860
|
-
var h,
|
|
5860
|
+
var h, p;
|
|
5861
5861
|
const d = tn("apexchart");
|
|
5862
5862
|
return A(), K(Fe, {
|
|
5863
|
-
title: (
|
|
5863
|
+
title: (p = (h = b(a)) == null ? void 0 : h.title) == null ? void 0 : p.text,
|
|
5864
5864
|
type: i.type,
|
|
5865
5865
|
hideIcon: i.hideIcon,
|
|
5866
5866
|
icon: b(aV),
|
|
@@ -5913,7 +5913,7 @@ const kV = {
|
|
|
5913
5913
|
function s() {
|
|
5914
5914
|
return t.value = !1;
|
|
5915
5915
|
}
|
|
5916
|
-
const o =
|
|
5916
|
+
const o = R(() => t.value ? "w-[32rem]" : "hidden");
|
|
5917
5917
|
return (a, i) => (A(), z("div", null, [
|
|
5918
5918
|
_e(a.$slots, "default", { open: n }),
|
|
5919
5919
|
k("div", {
|
|
@@ -5983,7 +5983,7 @@ const qO = {
|
|
|
5983
5983
|
hideIcon: { type: Boolean, default: !1 }
|
|
5984
5984
|
},
|
|
5985
5985
|
setup(r) {
|
|
5986
|
-
const e = r, t =
|
|
5986
|
+
const e = r, t = R(() => !(e.cover === CP || e.cover.trim().length === 0 || e.cover === AP)), n = R(() => !!(e.author || e.editor || e.container || e.year)), {
|
|
5987
5987
|
title: s,
|
|
5988
5988
|
intentions: o,
|
|
5989
5989
|
cover: a,
|
|
@@ -5991,7 +5991,7 @@ const qO = {
|
|
|
5991
5991
|
labelcard: l,
|
|
5992
5992
|
year: d,
|
|
5993
5993
|
author: h,
|
|
5994
|
-
container:
|
|
5994
|
+
container: p,
|
|
5995
5995
|
editor: f,
|
|
5996
5996
|
pages: g,
|
|
5997
5997
|
type: w,
|
|
@@ -6066,9 +6066,9 @@ const qO = {
|
|
|
6066
6066
|
b(d) && b(f) ? (A(), z("span", gP, ", ")) : N("", !0),
|
|
6067
6067
|
b(f) ? (A(), z("span", bP, j(b(f)), 1)) : N("", !0)
|
|
6068
6068
|
]),
|
|
6069
|
-
b(
|
|
6069
|
+
b(p) ? (A(), z("p", yP, [
|
|
6070
6070
|
xP,
|
|
6071
|
-
k("span", null, j(b(
|
|
6071
|
+
k("span", null, j(b(p)), 1)
|
|
6072
6072
|
])) : N("", !0)
|
|
6073
6073
|
])) : N("", !0),
|
|
6074
6074
|
b(g) ? (A(), z("div", {
|
|
@@ -6169,9 +6169,9 @@ const qO = {
|
|
|
6169
6169
|
b(d) && b(f) ? (A(), z("span", UO, ", ")) : N("", !0),
|
|
6170
6170
|
b(f) ? (A(), z("span", jO, j(b(f)), 1)) : N("", !0)
|
|
6171
6171
|
]),
|
|
6172
|
-
b(
|
|
6172
|
+
b(p) ? (A(), z("p", ZO, [
|
|
6173
6173
|
WO,
|
|
6174
|
-
k("span", YO, j(b(
|
|
6174
|
+
k("span", YO, j(b(p)), 1)
|
|
6175
6175
|
])) : N("", !0)
|
|
6176
6176
|
])) : N("", !0),
|
|
6177
6177
|
b(g) ? (A(), z("div", {
|
|
@@ -6234,14 +6234,14 @@ const uW = /* @__PURE__ */ te({
|
|
|
6234
6234
|
type: { default: "base" }
|
|
6235
6235
|
},
|
|
6236
6236
|
setup(r) {
|
|
6237
|
-
const e = r, t =
|
|
6237
|
+
const e = r, t = R(() => {
|
|
6238
6238
|
if (!e.resource.hasOwnProperty("content"))
|
|
6239
6239
|
return "EpNothing";
|
|
6240
6240
|
const i = Object.keys(e.resource.content)[0], l = Object.assign({}, e.resource.content[i]);
|
|
6241
6241
|
return l.pages = e.pages, l.type = i, i === "clip" && (l.src = l.url), i === "website" && (l.href = l.url, l.label = l.title, l.title = null), i === "book" && e.pages && (l.intentions = e.pages, l.pages = null), l.version_link && (l.url = l.version_link.url), l;
|
|
6242
6242
|
}), n = (i) => {
|
|
6243
6243
|
const l = gn(i);
|
|
6244
|
-
return l.name === "EpNothing" ? Ct(() => import("./EpNothing-
|
|
6244
|
+
return l.name === "EpNothing" ? Ct(() => import("./EpNothing-33d89c4c.js")) : l.name === "EpReading" ? Ct(() => import("./EpReading-3ebe66a8.js")) : Ct(() => vn(/* @__PURE__ */ Object.assign({ "../basics/EpAvatar.vue": () => import("./EpAvatar-1e55fdc7.js"), "../basics/EpBadge.vue": () => import("./EpBadge-4e59ef7c.js"), "../basics/EpBtn.vue": () => import("./EpBtn-5e8f86bf.js"), "../basics/EpCard.vue": () => import("./EpCard-7e3ed4a4.js"), "../basics/EpChip.vue": () => import("./EpChip-dc954589.js"), "../basics/EpDivider.vue": () => import("./EpDivider-7678be0c.js"), "../basics/EpFlex.vue": () => import("./EpFlex-f1971347.js"), "../basics/EpIcon.vue": () => import("./EpIcon-d4dc0ecb.js"), "../basics/EpImg.vue": () => import("./EpImg-c1483410.js"), "../basics/EpList.vue": () => import("./EpList-2efcfcfb.js"), "../basics/EpListitem.vue": () => import("./EpListitem-aa4a0f95.js"), "../basics/EpSection.vue": () => import("./EpSection-840524bf.js"), "../basics/EpSpinner.vue": () => import("./EpSpinner-0e8ac388.js"), "../basics/EpTable.vue": () => import("./EpTable-639de0ff.js"), "../basics/EpText.vue": () => import("./EpText-ee0d1c44.js"), "../charts/EpBarChart.vue": () => import("./EpBarChart-84b69362.js"), "../charts/EpLineChart.vue": () => import("./EpLineChart-9fc01457.js"), "../charts/EpPieChart.vue": () => import("./EpPieChart-0059d199.js"), "./EpEdu.vue": () => import("./EpEdu-582f809e.js"), "./EpReading.vue": () => import("./EpReading-3ebe66a8.js"), "./EpResource.vue": () => import("./EpResource-c6ccc660.js"), "./EpScope.vue": () => import("./EpScope-44628aad.js"), "../forms/EpCheckbox.vue": () => import("./EpCheckbox-fe632df9.js"), "../forms/EpInput.vue": () => import("./EpInput-afe43604.js"), "../forms/EpRadio.vue": () => import("./EpRadio-2a23d115.js"), "../forms/EpSelect.vue": () => import("./EpSelect-46fcb799.js"), "../forms/EpSwitch.vue": () => import("./EpSwitch-9feee893.js"), "../forms/EpTextarea.vue": () => import("./EpTextarea-67f751e9.js"), "../forms/EpToggle.vue": () => import("./EpToggle-9755056a.js"), "../interactions/EpAccordeon.vue": () => Promise.resolve().then(() => mn), "../interactions/EpContentSlider.vue": () => import("./EpContentSlider-cb03f3e9.js"), "../interactions/EpModal.vue": () => import("./EpModal-30b4a013.js"), "../interactions/EpQuestion.vue": () => import("./EpQuestion-37e61b97.js"), "../interactions/EpTabs.vue": () => Promise.resolve().then(() => bn), "../interactions/EpTooltip.vue": () => import("./EpTooltip-05e1d8fe.js"), "../medias/EpAudio.vue": () => import("./EpAudio-f9836de7.js"), "../medias/EpCarousel.vue": () => Promise.resolve().then(() => yn), "../medias/EpIframe.vue": () => import("./EpIframe-c1e28504.js"), "../medias/EpKatex.vue": () => Promise.resolve().then(() => Nn), "../medias/EpLink.vue": () => import("./EpLink-4a639047.js"), "../medias/EpLinkVersion.vue": () => import("./EpLinkVersion-8200767b.js"), "../medias/EpSoftware.vue": () => import("./EpSoftware-7b6c561f.js"), "../medias/EpSvg.vue": () => import("./EpSvg-cf5106d4.js"), "../medias/EpTerm.vue": () => import("./EpTerm-28f932c3.js"), "../medias/EpTimeLine.vue": () => import("./EpTimeLine-7b1db15d.js"), "../medias/EpVideo.vue": () => import("./EpVideo-36737f59.js"), "../medias/EpVideoPanopto.vue": () => import("./EpVideoPanopto-c23c232f.js"), "../signages/EpAlert.vue": () => import("./EpAlert-e0ad680d.js"), "../signages/EpBadge.vue": () => import("./EpBadge-f5faab43.js"), "../signages/EpHeader.vue": () => import("./EpHeader-78726a42.js"), "../signages/EpNothing.vue": () => import("./EpNothing-33d89c4c.js"), "../signages/EpQuote.vue": () => import("./EpQuote-4d749894.js"), "../signages/EpSkeleton.vue": () => import("./EpSkeleton-1067e7d2.js"), "../tools/BgAudio.vue": () => import("./BgAudio-ee6be0f3.js"), "../tools/DisplayBox.vue": () => import("./DisplayBox-867d56fb.js"), "../tools/SvgFilter.vue": () => Promise.resolve().then(() => On), "../tools/TimelineItem.vue": () => Promise.resolve().then(() => Vn) }), `../${l.path}/${l.name}.vue`));
|
|
6245
6245
|
}, { mandateLevel: s, type: o, pages: a } = ae(e);
|
|
6246
6246
|
return (i, l) => (A(), K(Br(n(t.value.type)), bo({ ...t.value }, {
|
|
6247
6247
|
mandateLevel: b(s),
|
|
@@ -6261,23 +6261,23 @@ const uW = /* @__PURE__ */ te({
|
|
|
6261
6261
|
slides: {}
|
|
6262
6262
|
},
|
|
6263
6263
|
setup(r) {
|
|
6264
|
-
const e = r, t = ye(0), n =
|
|
6265
|
-
var
|
|
6264
|
+
const e = r, t = ye(0), n = R(() => e.slides ? e.slides.length === 0 ? { title: "no data", img: "", uid: 2, content: "" } : e.slides[t.value] : { title: "no data", img: "", uid: 2, content: "" }), s = R(() => {
|
|
6265
|
+
var p;
|
|
6266
6266
|
if (n.value.img)
|
|
6267
|
-
return Ct(() => import("./EpImg-
|
|
6267
|
+
return Ct(() => import("./EpImg-c1483410.js"));
|
|
6268
6268
|
if (n.value.component) {
|
|
6269
|
-
const f = gn((
|
|
6270
|
-
return Ct(() => vn(/* @__PURE__ */ Object.assign({ "../basics/EpAvatar.vue": () => import("./EpAvatar-1e55fdc7.js"), "../basics/EpBadge.vue": () => import("./EpBadge-
|
|
6269
|
+
const f = gn((p = n.value.component) == null ? void 0 : p.type);
|
|
6270
|
+
return Ct(() => vn(/* @__PURE__ */ Object.assign({ "../basics/EpAvatar.vue": () => import("./EpAvatar-1e55fdc7.js"), "../basics/EpBadge.vue": () => import("./EpBadge-4e59ef7c.js"), "../basics/EpBtn.vue": () => import("./EpBtn-5e8f86bf.js"), "../basics/EpCard.vue": () => import("./EpCard-7e3ed4a4.js"), "../basics/EpChip.vue": () => import("./EpChip-dc954589.js"), "../basics/EpDivider.vue": () => import("./EpDivider-7678be0c.js"), "../basics/EpFlex.vue": () => import("./EpFlex-f1971347.js"), "../basics/EpIcon.vue": () => import("./EpIcon-d4dc0ecb.js"), "../basics/EpImg.vue": () => import("./EpImg-c1483410.js"), "../basics/EpList.vue": () => import("./EpList-2efcfcfb.js"), "../basics/EpListitem.vue": () => import("./EpListitem-aa4a0f95.js"), "../basics/EpSection.vue": () => import("./EpSection-840524bf.js"), "../basics/EpSpinner.vue": () => import("./EpSpinner-0e8ac388.js"), "../basics/EpTable.vue": () => import("./EpTable-639de0ff.js"), "../basics/EpText.vue": () => import("./EpText-ee0d1c44.js"), "../charts/EpBarChart.vue": () => import("./EpBarChart-84b69362.js"), "../charts/EpLineChart.vue": () => import("./EpLineChart-9fc01457.js"), "../charts/EpPieChart.vue": () => import("./EpPieChart-0059d199.js"), "../educationals/EpEdu.vue": () => import("./EpEdu-582f809e.js"), "../educationals/EpReading.vue": () => import("./EpReading-3ebe66a8.js"), "../educationals/EpResource.vue": () => import("./EpResource-c6ccc660.js"), "../educationals/EpScope.vue": () => import("./EpScope-44628aad.js"), "../forms/EpCheckbox.vue": () => import("./EpCheckbox-fe632df9.js"), "../forms/EpInput.vue": () => import("./EpInput-afe43604.js"), "../forms/EpRadio.vue": () => import("./EpRadio-2a23d115.js"), "../forms/EpSelect.vue": () => import("./EpSelect-46fcb799.js"), "../forms/EpSwitch.vue": () => import("./EpSwitch-9feee893.js"), "../forms/EpTextarea.vue": () => import("./EpTextarea-67f751e9.js"), "../forms/EpToggle.vue": () => import("./EpToggle-9755056a.js"), "./EpAccordeon.vue": () => Promise.resolve().then(() => mn), "./EpContentSlider.vue": () => import("./EpContentSlider-cb03f3e9.js"), "./EpModal.vue": () => import("./EpModal-30b4a013.js"), "./EpQuestion.vue": () => import("./EpQuestion-37e61b97.js"), "./EpTabs.vue": () => Promise.resolve().then(() => bn), "./EpTooltip.vue": () => import("./EpTooltip-05e1d8fe.js"), "../medias/EpAudio.vue": () => import("./EpAudio-f9836de7.js"), "../medias/EpCarousel.vue": () => Promise.resolve().then(() => yn), "../medias/EpIframe.vue": () => import("./EpIframe-c1e28504.js"), "../medias/EpKatex.vue": () => Promise.resolve().then(() => Nn), "../medias/EpLink.vue": () => import("./EpLink-4a639047.js"), "../medias/EpLinkVersion.vue": () => import("./EpLinkVersion-8200767b.js"), "../medias/EpSoftware.vue": () => import("./EpSoftware-7b6c561f.js"), "../medias/EpSvg.vue": () => import("./EpSvg-cf5106d4.js"), "../medias/EpTerm.vue": () => import("./EpTerm-28f932c3.js"), "../medias/EpTimeLine.vue": () => import("./EpTimeLine-7b1db15d.js"), "../medias/EpVideo.vue": () => import("./EpVideo-36737f59.js"), "../medias/EpVideoPanopto.vue": () => import("./EpVideoPanopto-c23c232f.js"), "../signages/EpAlert.vue": () => import("./EpAlert-e0ad680d.js"), "../signages/EpBadge.vue": () => import("./EpBadge-f5faab43.js"), "../signages/EpHeader.vue": () => import("./EpHeader-78726a42.js"), "../signages/EpNothing.vue": () => import("./EpNothing-33d89c4c.js"), "../signages/EpQuote.vue": () => import("./EpQuote-4d749894.js"), "../signages/EpSkeleton.vue": () => import("./EpSkeleton-1067e7d2.js"), "../tools/BgAudio.vue": () => import("./BgAudio-ee6be0f3.js"), "../tools/DisplayBox.vue": () => import("./DisplayBox-867d56fb.js"), "../tools/SvgFilter.vue": () => Promise.resolve().then(() => On), "../tools/TimelineItem.vue": () => Promise.resolve().then(() => Vn) }), `../${f.path}/${f.name}.vue`));
|
|
6271
6271
|
}
|
|
6272
6272
|
return null;
|
|
6273
|
-
}), o =
|
|
6273
|
+
}), o = R(() => t.value + 1 < e.slides.length), a = R(() => t.value + 1 > 1), i = () => {
|
|
6274
6274
|
o.value && (t.value += 1);
|
|
6275
6275
|
}, l = () => {
|
|
6276
6276
|
a.value && (t.value -= 1);
|
|
6277
|
-
}, d = (
|
|
6278
|
-
t.value =
|
|
6277
|
+
}, d = (p) => {
|
|
6278
|
+
t.value = p;
|
|
6279
6279
|
}, { slides: h } = ae(e);
|
|
6280
|
-
return (
|
|
6280
|
+
return (p, f) => (A(), z("div", SP, [
|
|
6281
6281
|
k("div", EP, [
|
|
6282
6282
|
k("h5", MP, j(n.value.title), 1),
|
|
6283
6283
|
b(h) ? (A(), z("div", TP, [
|
|
@@ -6360,11 +6360,11 @@ const RP = {
|
|
|
6360
6360
|
},
|
|
6361
6361
|
emits: ["update:modelValue"],
|
|
6362
6362
|
setup(r, { emit: e }) {
|
|
6363
|
-
const t = r, n =
|
|
6364
|
-
const f =
|
|
6363
|
+
const t = r, n = R(() => `${RP[t.type]} mx-2 `), s = R(() => t.modelValue === t.value), o = R(() => t.label ? t.label.trim().replace(/\s/g, "_") : `label_${Math.round(Math.random() * 100)}`), { label: a, disabled: i, readonly: l, value: d } = ae(t), h = (p) => {
|
|
6364
|
+
const f = p.target;
|
|
6365
6365
|
e("update:modelValue", f.value);
|
|
6366
6366
|
};
|
|
6367
|
-
return (
|
|
6367
|
+
return (p, f) => (A(), z("span", IP, [
|
|
6368
6368
|
k("input", {
|
|
6369
6369
|
class: Z(["cursor-pointer", n.value]),
|
|
6370
6370
|
type: "radio",
|
|
@@ -6460,10 +6460,10 @@ const RP = {
|
|
|
6460
6460
|
compact: { type: Boolean }
|
|
6461
6461
|
},
|
|
6462
6462
|
setup(r) {
|
|
6463
|
-
const e = r, t =
|
|
6463
|
+
const e = r, t = R(() => e.outlined ? "default" : "outlined"), n = R(() => typeof e.type == "object" ? e.type.type : e.type), s = R(() => {
|
|
6464
6464
|
var d;
|
|
6465
6465
|
return `${(d = VP[n.value]) == null ? void 0 : d[t.value]}`;
|
|
6466
|
-
}), o =
|
|
6466
|
+
}), o = R(() => {
|
|
6467
6467
|
let d = OP[n.value].icon;
|
|
6468
6468
|
return e.noIcon ? null : d;
|
|
6469
6469
|
}), { title: a, compact: i, outlined: l } = ae(e);
|
|
@@ -6518,8 +6518,8 @@ const RP = {
|
|
|
6518
6518
|
src: {}
|
|
6519
6519
|
},
|
|
6520
6520
|
setup(r) {
|
|
6521
|
-
const e = r, t =
|
|
6522
|
-
|
|
6521
|
+
const e = r, t = R(() => e.intentions ? Se(e.intentions) : null);
|
|
6522
|
+
R(() => {
|
|
6523
6523
|
const S = e.answers;
|
|
6524
6524
|
if (e.shuffle)
|
|
6525
6525
|
for (let T = S.length - 1; T > 0; T--) {
|
|
@@ -6541,9 +6541,9 @@ const RP = {
|
|
|
6541
6541
|
rr(o, (S) => {
|
|
6542
6542
|
S !== "" && (i.value = !0);
|
|
6543
6543
|
});
|
|
6544
|
-
const
|
|
6544
|
+
const p = (S) => {
|
|
6545
6545
|
const T = gn(S);
|
|
6546
|
-
return T.name === "EpNothing" ? Ct(() => import("./EpNothing-
|
|
6546
|
+
return T.name === "EpNothing" ? Ct(() => import("./EpNothing-33d89c4c.js")) : Ct(() => vn(/* @__PURE__ */ Object.assign({ "../basics/EpAvatar.vue": () => import("./EpAvatar-1e55fdc7.js"), "../basics/EpBadge.vue": () => import("./EpBadge-4e59ef7c.js"), "../basics/EpBtn.vue": () => import("./EpBtn-5e8f86bf.js"), "../basics/EpCard.vue": () => import("./EpCard-7e3ed4a4.js"), "../basics/EpChip.vue": () => import("./EpChip-dc954589.js"), "../basics/EpDivider.vue": () => import("./EpDivider-7678be0c.js"), "../basics/EpFlex.vue": () => import("./EpFlex-f1971347.js"), "../basics/EpIcon.vue": () => import("./EpIcon-d4dc0ecb.js"), "../basics/EpImg.vue": () => import("./EpImg-c1483410.js"), "../basics/EpList.vue": () => import("./EpList-2efcfcfb.js"), "../basics/EpListitem.vue": () => import("./EpListitem-aa4a0f95.js"), "../basics/EpSection.vue": () => import("./EpSection-840524bf.js"), "../basics/EpSpinner.vue": () => import("./EpSpinner-0e8ac388.js"), "../basics/EpTable.vue": () => import("./EpTable-639de0ff.js"), "../basics/EpText.vue": () => import("./EpText-ee0d1c44.js"), "../charts/EpBarChart.vue": () => import("./EpBarChart-84b69362.js"), "../charts/EpLineChart.vue": () => import("./EpLineChart-9fc01457.js"), "../charts/EpPieChart.vue": () => import("./EpPieChart-0059d199.js"), "../educationals/EpEdu.vue": () => import("./EpEdu-582f809e.js"), "../educationals/EpReading.vue": () => import("./EpReading-3ebe66a8.js"), "../educationals/EpResource.vue": () => import("./EpResource-c6ccc660.js"), "../educationals/EpScope.vue": () => import("./EpScope-44628aad.js"), "../forms/EpCheckbox.vue": () => import("./EpCheckbox-fe632df9.js"), "../forms/EpInput.vue": () => import("./EpInput-afe43604.js"), "../forms/EpRadio.vue": () => import("./EpRadio-2a23d115.js"), "../forms/EpSelect.vue": () => import("./EpSelect-46fcb799.js"), "../forms/EpSwitch.vue": () => import("./EpSwitch-9feee893.js"), "../forms/EpTextarea.vue": () => import("./EpTextarea-67f751e9.js"), "../forms/EpToggle.vue": () => import("./EpToggle-9755056a.js"), "./EpAccordeon.vue": () => Promise.resolve().then(() => mn), "./EpContentSlider.vue": () => import("./EpContentSlider-cb03f3e9.js"), "./EpModal.vue": () => import("./EpModal-30b4a013.js"), "./EpQuestion.vue": () => import("./EpQuestion-37e61b97.js"), "./EpTabs.vue": () => Promise.resolve().then(() => bn), "./EpTooltip.vue": () => import("./EpTooltip-05e1d8fe.js"), "../medias/EpAudio.vue": () => import("./EpAudio-f9836de7.js"), "../medias/EpCarousel.vue": () => Promise.resolve().then(() => yn), "../medias/EpIframe.vue": () => import("./EpIframe-c1e28504.js"), "../medias/EpKatex.vue": () => Promise.resolve().then(() => Nn), "../medias/EpLink.vue": () => import("./EpLink-4a639047.js"), "../medias/EpLinkVersion.vue": () => import("./EpLinkVersion-8200767b.js"), "../medias/EpSoftware.vue": () => import("./EpSoftware-7b6c561f.js"), "../medias/EpSvg.vue": () => import("./EpSvg-cf5106d4.js"), "../medias/EpTerm.vue": () => import("./EpTerm-28f932c3.js"), "../medias/EpTimeLine.vue": () => import("./EpTimeLine-7b1db15d.js"), "../medias/EpVideo.vue": () => import("./EpVideo-36737f59.js"), "../medias/EpVideoPanopto.vue": () => import("./EpVideoPanopto-c23c232f.js"), "../signages/EpAlert.vue": () => import("./EpAlert-e0ad680d.js"), "../signages/EpBadge.vue": () => import("./EpBadge-f5faab43.js"), "../signages/EpHeader.vue": () => import("./EpHeader-78726a42.js"), "../signages/EpNothing.vue": () => import("./EpNothing-33d89c4c.js"), "../signages/EpQuote.vue": () => import("./EpQuote-4d749894.js"), "../signages/EpSkeleton.vue": () => import("./EpSkeleton-1067e7d2.js"), "../tools/BgAudio.vue": () => import("./BgAudio-ee6be0f3.js"), "../tools/DisplayBox.vue": () => import("./DisplayBox-867d56fb.js"), "../tools/SvgFilter.vue": () => Promise.resolve().then(() => On), "../tools/TimelineItem.vue": () => Promise.resolve().then(() => Vn) }), `../${T.path}/${T.name}.vue`));
|
|
6547
6547
|
}, { title: f, intentions: g, hideIcon: w, question: C, src: E } = ae(e);
|
|
6548
6548
|
return (S, T) => (A(), K(Fe, {
|
|
6549
6549
|
title: b(f),
|
|
@@ -6609,7 +6609,7 @@ const RP = {
|
|
|
6609
6609
|
_: 1
|
|
6610
6610
|
}, 8, ["type"]),
|
|
6611
6611
|
l.value.component ? (A(), z("div", QP, [
|
|
6612
|
-
(A(), K(Br(
|
|
6612
|
+
(A(), K(Br(p(l.value.component.type)), yo(ti({ ...l.value.component.data })), null, 16))
|
|
6613
6613
|
])) : N("", !0)
|
|
6614
6614
|
])) : N("", !0),
|
|
6615
6615
|
W(Le, {
|
|
@@ -6725,22 +6725,25 @@ const oG = /* @__PURE__ */ jt(eG, [["render", sG]]), bn = /* @__PURE__ */ Object
|
|
|
6725
6725
|
mandateLevel: {}
|
|
6726
6726
|
},
|
|
6727
6727
|
setup(r) {
|
|
6728
|
-
const e = r, t =
|
|
6729
|
-
|
|
6730
|
-
|
|
6731
|
-
|
|
6732
|
-
|
|
6728
|
+
const e = r, t = /\.mp4\?/, n = R(() => {
|
|
6729
|
+
let p = e.src;
|
|
6730
|
+
return t.test(e.src) && (p = p.replace(/\.mp4.*$/, ".mp4")), p;
|
|
6731
|
+
}), s = R(() => !!(n.value.endsWith(".mp3") || n.value.endsWith(".mp4") || n.value.endsWith(".ogg") || n.value.endsWith(".wav"))), o = R(() => Ze("fill", e.type)), a = R(() => e.intentions ? tt(e.intentions) ? e.intentions : st(e.intentions) : null), { src: i, title: l, hideIcon: d, mandateLevel: h } = ae(e);
|
|
6732
|
+
return (p, f) => (A(), K(Fe, {
|
|
6733
|
+
title: b(l),
|
|
6734
|
+
type: p.type,
|
|
6735
|
+
hideIcon: b(d),
|
|
6733
6736
|
icon: b(fV),
|
|
6734
|
-
mandateLevel: b(
|
|
6737
|
+
mandateLevel: b(h)
|
|
6735
6738
|
}, Be({
|
|
6736
6739
|
content: P(() => [
|
|
6737
6740
|
k("div", pG, [
|
|
6738
|
-
W(dG, { fill:
|
|
6739
|
-
|
|
6741
|
+
W(dG, { fill: o.value }, null, 8, ["fill"]),
|
|
6742
|
+
s.value ? (A(), z("audio", {
|
|
6740
6743
|
key: 0,
|
|
6741
6744
|
ref: "video",
|
|
6742
6745
|
controls: "",
|
|
6743
|
-
src:
|
|
6746
|
+
src: n.value,
|
|
6744
6747
|
controlsList: "nodownload"
|
|
6745
6748
|
}, null, 8, mG)) : (A(), K(U0, {
|
|
6746
6749
|
key: 1,
|
|
@@ -6748,7 +6751,7 @@ const oG = /* @__PURE__ */ jt(eG, [["render", sG]]), bn = /* @__PURE__ */ Object
|
|
|
6748
6751
|
outlined: ""
|
|
6749
6752
|
}, {
|
|
6750
6753
|
default: P(() => [
|
|
6751
|
-
k("p", null, j(
|
|
6754
|
+
k("p", null, j(p.messageError), 1)
|
|
6752
6755
|
]),
|
|
6753
6756
|
_: 1
|
|
6754
6757
|
}))
|
|
@@ -6756,10 +6759,10 @@ const oG = /* @__PURE__ */ jt(eG, [["render", sG]]), bn = /* @__PURE__ */ Object
|
|
|
6756
6759
|
]),
|
|
6757
6760
|
_: 2
|
|
6758
6761
|
}, [
|
|
6759
|
-
|
|
6762
|
+
a.value ? {
|
|
6760
6763
|
name: "intentions",
|
|
6761
6764
|
fn: P(() => [
|
|
6762
|
-
k("div", { innerHTML:
|
|
6765
|
+
k("div", { innerHTML: a.value }, null, 8, hG)
|
|
6763
6766
|
]),
|
|
6764
6767
|
key: "0"
|
|
6765
6768
|
} : void 0
|
|
@@ -6791,7 +6794,7 @@ const oG = /* @__PURE__ */ jt(eG, [["render", sG]]), bn = /* @__PURE__ */ Object
|
|
|
6791
6794
|
t.value = h;
|
|
6792
6795
|
}, { carrouselImg: a, labelClose: i, labelRef: l } = ae(e);
|
|
6793
6796
|
return (d, h) => {
|
|
6794
|
-
var
|
|
6797
|
+
var p, f;
|
|
6795
6798
|
return d.gallery ? (A(), z("div", _G, [
|
|
6796
6799
|
(A(!0), z(Me, null, Qe(b(a), (g) => (A(), K(or, {
|
|
6797
6800
|
key: `image-${g == null ? void 0 : g.uid}`,
|
|
@@ -6816,7 +6819,7 @@ const oG = /* @__PURE__ */ jt(eG, [["render", sG]]), bn = /* @__PURE__ */ Object
|
|
|
6816
6819
|
alt: "image",
|
|
6817
6820
|
class: "rounded-sm"
|
|
6818
6821
|
}, null, 8, bG),
|
|
6819
|
-
(
|
|
6822
|
+
(p = b(a)[t.value]) != null && p.caption ? (A(), z("div", yG, j(b(a)[t.value].caption), 1)) : N("", !0),
|
|
6820
6823
|
(f = b(a)[t.value]) != null && f.bib ? (A(), z("div", xG, [
|
|
6821
6824
|
W(Le, {
|
|
6822
6825
|
type: "primary",
|
|
@@ -6873,7 +6876,7 @@ const AG = /* @__PURE__ */ jt(CG, [["__scopeId", "data-v-63d168f1"]]), yn = /* @
|
|
|
6873
6876
|
mandateLevel: {}
|
|
6874
6877
|
},
|
|
6875
6878
|
setup(r) {
|
|
6876
|
-
const e = r, t =
|
|
6879
|
+
const e = r, t = R(() => e.intentions ? tt(e.intentions) ? e.intentions : st(e.intentions) : null), n = R(() => e.big ? "1000" : "520"), s = R(() => {
|
|
6877
6880
|
let i = e.src[e.src.length - 1], l = /^\d+$/.test(i), d = e.src.includes("https://studium.umontreal.ca");
|
|
6878
6881
|
return l && d ? e.src + "&embed=1" : e.src;
|
|
6879
6882
|
}), { title: o, hideIcon: a } = ae(e);
|
|
@@ -6937,7 +6940,7 @@ class et {
|
|
|
6937
6940
|
return new et(t, Ie.range(this, e));
|
|
6938
6941
|
}
|
|
6939
6942
|
}
|
|
6940
|
-
class
|
|
6943
|
+
class I {
|
|
6941
6944
|
// Error start position based on passed-in Token or ParseNode.
|
|
6942
6945
|
// Length of affected text based on passed-in Token or ParseNode.
|
|
6943
6946
|
// The underlying error message without any context added.
|
|
@@ -6952,11 +6955,11 @@ class R {
|
|
|
6952
6955
|
var h;
|
|
6953
6956
|
o + 15 < i.length ? h = i.slice(o, o + 15) + "…" : h = i.slice(o), n += d + l + h;
|
|
6954
6957
|
}
|
|
6955
|
-
var
|
|
6956
|
-
return
|
|
6958
|
+
var p = new Error(n);
|
|
6959
|
+
return p.name = "ParseError", p.__proto__ = I.prototype, p.position = s, s != null && o != null && (p.length = o - s), p.rawMessage = e, p;
|
|
6957
6960
|
}
|
|
6958
6961
|
}
|
|
6959
|
-
|
|
6962
|
+
I.prototype.__proto__ = Error.prototype;
|
|
6960
6963
|
var TG = function(e, t) {
|
|
6961
6964
|
return e.indexOf(t) !== -1;
|
|
6962
6965
|
}, zG = function(e, t) {
|
|
@@ -7114,7 +7117,7 @@ class xn {
|
|
|
7114
7117
|
var s = this.strict;
|
|
7115
7118
|
if (typeof s == "function" && (s = s(e, t, n)), !(!s || s === "ignore")) {
|
|
7116
7119
|
if (s === !0 || s === "error")
|
|
7117
|
-
throw new
|
|
7120
|
+
throw new I("LaTeX-incompatible input and strict mode is set to 'error': " + (t + " [" + e + "]"), n);
|
|
7118
7121
|
s === "warn" ? typeof console < "u" && console.warn("LaTeX-incompatible input and strict mode is set to 'warn': " + (t + " [" + e + "]")) : typeof console < "u" && console.warn("LaTeX-incompatible input and strict mode is set to " + ("unrecognized '" + s + "': " + t + " [" + e + "]"));
|
|
7119
7122
|
}
|
|
7120
7123
|
}
|
|
@@ -10253,7 +10256,7 @@ var Z0 = {
|
|
|
10253
10256
|
else if (e.unit === "em")
|
|
10254
10257
|
n = s.fontMetrics().quad;
|
|
10255
10258
|
else
|
|
10256
|
-
throw new
|
|
10259
|
+
throw new I("Invalid unit: '" + e.unit + "'");
|
|
10257
10260
|
s !== t && (n *= s.sizeMultiplier / t.sizeMultiplier);
|
|
10258
10261
|
}
|
|
10259
10262
|
return Math.min(e.number * n, t.maxSize);
|
|
@@ -10478,102 +10481,102 @@ function c(r, e, t, n, s, o) {
|
|
|
10478
10481
|
replace: n
|
|
10479
10482
|
}, o && n && (me[r][n] = me[r][s]);
|
|
10480
10483
|
}
|
|
10481
|
-
var u = "math", B = "text",
|
|
10482
|
-
c(u,
|
|
10483
|
-
c(u,
|
|
10484
|
-
c(u,
|
|
10485
|
-
c(u,
|
|
10486
|
-
c(u,
|
|
10487
|
-
c(u,
|
|
10488
|
-
c(u,
|
|
10489
|
-
c(u,
|
|
10490
|
-
c(u,
|
|
10491
|
-
c(u,
|
|
10492
|
-
c(u,
|
|
10493
|
-
c(u,
|
|
10494
|
-
c(u,
|
|
10495
|
-
c(u,
|
|
10496
|
-
c(u,
|
|
10497
|
-
c(u,
|
|
10498
|
-
c(u,
|
|
10499
|
-
c(u,
|
|
10500
|
-
c(u,
|
|
10501
|
-
c(u,
|
|
10502
|
-
c(u,
|
|
10503
|
-
c(u,
|
|
10504
|
-
c(u,
|
|
10505
|
-
c(u,
|
|
10506
|
-
c(u,
|
|
10507
|
-
c(u,
|
|
10508
|
-
c(u,
|
|
10509
|
-
c(B,
|
|
10510
|
-
c(u,
|
|
10511
|
-
c(B,
|
|
10512
|
-
c(u,
|
|
10513
|
-
c(u,
|
|
10514
|
-
c(u,
|
|
10515
|
-
c(u,
|
|
10516
|
-
c(u,
|
|
10517
|
-
c(u,
|
|
10518
|
-
c(u,
|
|
10519
|
-
c(u,
|
|
10520
|
-
c(u,
|
|
10521
|
-
c(u,
|
|
10522
|
-
c(u,
|
|
10523
|
-
c(u,
|
|
10524
|
-
c(u,
|
|
10525
|
-
c(u,
|
|
10526
|
-
c(u,
|
|
10527
|
-
c(u,
|
|
10528
|
-
c(u,
|
|
10529
|
-
c(B,
|
|
10530
|
-
c(u,
|
|
10531
|
-
c(B,
|
|
10532
|
-
c(u,
|
|
10533
|
-
c(B,
|
|
10534
|
-
c(B,
|
|
10535
|
-
c(u,
|
|
10536
|
-
c(B,
|
|
10537
|
-
c(B,
|
|
10538
|
-
c(u,
|
|
10539
|
-
c(u,
|
|
10540
|
-
c(u,
|
|
10541
|
-
c(u,
|
|
10542
|
-
c(u,
|
|
10543
|
-
c(u,
|
|
10544
|
-
c(u,
|
|
10545
|
-
c(u,
|
|
10546
|
-
c(u,
|
|
10547
|
-
c(u,
|
|
10548
|
-
c(u,
|
|
10549
|
-
c(u,
|
|
10550
|
-
c(u,
|
|
10551
|
-
c(u,
|
|
10552
|
-
c(u,
|
|
10553
|
-
c(u,
|
|
10554
|
-
c(u,
|
|
10555
|
-
c(u,
|
|
10556
|
-
c(u,
|
|
10557
|
-
c(u,
|
|
10558
|
-
c(u,
|
|
10559
|
-
c(u,
|
|
10560
|
-
c(u,
|
|
10561
|
-
c(u,
|
|
10562
|
-
c(u,
|
|
10563
|
-
c(u,
|
|
10564
|
-
c(u,
|
|
10565
|
-
c(u,
|
|
10566
|
-
c(u,
|
|
10567
|
-
c(u,
|
|
10568
|
-
c(u,
|
|
10569
|
-
c(u,
|
|
10570
|
-
c(u,
|
|
10571
|
-
c(u,
|
|
10572
|
-
c(u,
|
|
10573
|
-
c(u,
|
|
10574
|
-
c(u,
|
|
10575
|
-
c(u,
|
|
10576
|
-
c(u,
|
|
10484
|
+
var u = "math", B = "text", m = "main", y = "ams", ve = "accent-token", G = "bin", Te = "close", Zt = "inner", X = "mathord", ke = "op-token", He = "open", e0 = "punct", x = "rel", gt = "spacing", _ = "textord";
|
|
10485
|
+
c(u, m, x, "≡", "\\equiv", !0);
|
|
10486
|
+
c(u, m, x, "≺", "\\prec", !0);
|
|
10487
|
+
c(u, m, x, "≻", "\\succ", !0);
|
|
10488
|
+
c(u, m, x, "∼", "\\sim", !0);
|
|
10489
|
+
c(u, m, x, "⊥", "\\perp");
|
|
10490
|
+
c(u, m, x, "⪯", "\\preceq", !0);
|
|
10491
|
+
c(u, m, x, "⪰", "\\succeq", !0);
|
|
10492
|
+
c(u, m, x, "≃", "\\simeq", !0);
|
|
10493
|
+
c(u, m, x, "∣", "\\mid", !0);
|
|
10494
|
+
c(u, m, x, "≪", "\\ll", !0);
|
|
10495
|
+
c(u, m, x, "≫", "\\gg", !0);
|
|
10496
|
+
c(u, m, x, "≍", "\\asymp", !0);
|
|
10497
|
+
c(u, m, x, "∥", "\\parallel");
|
|
10498
|
+
c(u, m, x, "⋈", "\\bowtie", !0);
|
|
10499
|
+
c(u, m, x, "⌣", "\\smile", !0);
|
|
10500
|
+
c(u, m, x, "⊑", "\\sqsubseteq", !0);
|
|
10501
|
+
c(u, m, x, "⊒", "\\sqsupseteq", !0);
|
|
10502
|
+
c(u, m, x, "≐", "\\doteq", !0);
|
|
10503
|
+
c(u, m, x, "⌢", "\\frown", !0);
|
|
10504
|
+
c(u, m, x, "∋", "\\ni", !0);
|
|
10505
|
+
c(u, m, x, "∝", "\\propto", !0);
|
|
10506
|
+
c(u, m, x, "⊢", "\\vdash", !0);
|
|
10507
|
+
c(u, m, x, "⊣", "\\dashv", !0);
|
|
10508
|
+
c(u, m, x, "∋", "\\owns");
|
|
10509
|
+
c(u, m, e0, ".", "\\ldotp");
|
|
10510
|
+
c(u, m, e0, "⋅", "\\cdotp");
|
|
10511
|
+
c(u, m, _, "#", "\\#");
|
|
10512
|
+
c(B, m, _, "#", "\\#");
|
|
10513
|
+
c(u, m, _, "&", "\\&");
|
|
10514
|
+
c(B, m, _, "&", "\\&");
|
|
10515
|
+
c(u, m, _, "ℵ", "\\aleph", !0);
|
|
10516
|
+
c(u, m, _, "∀", "\\forall", !0);
|
|
10517
|
+
c(u, m, _, "ℏ", "\\hbar", !0);
|
|
10518
|
+
c(u, m, _, "∃", "\\exists", !0);
|
|
10519
|
+
c(u, m, _, "∇", "\\nabla", !0);
|
|
10520
|
+
c(u, m, _, "♭", "\\flat", !0);
|
|
10521
|
+
c(u, m, _, "ℓ", "\\ell", !0);
|
|
10522
|
+
c(u, m, _, "♮", "\\natural", !0);
|
|
10523
|
+
c(u, m, _, "♣", "\\clubsuit", !0);
|
|
10524
|
+
c(u, m, _, "℘", "\\wp", !0);
|
|
10525
|
+
c(u, m, _, "♯", "\\sharp", !0);
|
|
10526
|
+
c(u, m, _, "♢", "\\diamondsuit", !0);
|
|
10527
|
+
c(u, m, _, "ℜ", "\\Re", !0);
|
|
10528
|
+
c(u, m, _, "♡", "\\heartsuit", !0);
|
|
10529
|
+
c(u, m, _, "ℑ", "\\Im", !0);
|
|
10530
|
+
c(u, m, _, "♠", "\\spadesuit", !0);
|
|
10531
|
+
c(u, m, _, "§", "\\S", !0);
|
|
10532
|
+
c(B, m, _, "§", "\\S");
|
|
10533
|
+
c(u, m, _, "¶", "\\P", !0);
|
|
10534
|
+
c(B, m, _, "¶", "\\P");
|
|
10535
|
+
c(u, m, _, "†", "\\dag");
|
|
10536
|
+
c(B, m, _, "†", "\\dag");
|
|
10537
|
+
c(B, m, _, "†", "\\textdagger");
|
|
10538
|
+
c(u, m, _, "‡", "\\ddag");
|
|
10539
|
+
c(B, m, _, "‡", "\\ddag");
|
|
10540
|
+
c(B, m, _, "‡", "\\textdaggerdbl");
|
|
10541
|
+
c(u, m, Te, "⎱", "\\rmoustache", !0);
|
|
10542
|
+
c(u, m, He, "⎰", "\\lmoustache", !0);
|
|
10543
|
+
c(u, m, Te, "⟯", "\\rgroup", !0);
|
|
10544
|
+
c(u, m, He, "⟮", "\\lgroup", !0);
|
|
10545
|
+
c(u, m, G, "∓", "\\mp", !0);
|
|
10546
|
+
c(u, m, G, "⊖", "\\ominus", !0);
|
|
10547
|
+
c(u, m, G, "⊎", "\\uplus", !0);
|
|
10548
|
+
c(u, m, G, "⊓", "\\sqcap", !0);
|
|
10549
|
+
c(u, m, G, "∗", "\\ast");
|
|
10550
|
+
c(u, m, G, "⊔", "\\sqcup", !0);
|
|
10551
|
+
c(u, m, G, "◯", "\\bigcirc", !0);
|
|
10552
|
+
c(u, m, G, "∙", "\\bullet", !0);
|
|
10553
|
+
c(u, m, G, "‡", "\\ddagger");
|
|
10554
|
+
c(u, m, G, "≀", "\\wr", !0);
|
|
10555
|
+
c(u, m, G, "⨿", "\\amalg");
|
|
10556
|
+
c(u, m, G, "&", "\\And");
|
|
10557
|
+
c(u, m, x, "⟵", "\\longleftarrow", !0);
|
|
10558
|
+
c(u, m, x, "⇐", "\\Leftarrow", !0);
|
|
10559
|
+
c(u, m, x, "⟸", "\\Longleftarrow", !0);
|
|
10560
|
+
c(u, m, x, "⟶", "\\longrightarrow", !0);
|
|
10561
|
+
c(u, m, x, "⇒", "\\Rightarrow", !0);
|
|
10562
|
+
c(u, m, x, "⟹", "\\Longrightarrow", !0);
|
|
10563
|
+
c(u, m, x, "↔", "\\leftrightarrow", !0);
|
|
10564
|
+
c(u, m, x, "⟷", "\\longleftrightarrow", !0);
|
|
10565
|
+
c(u, m, x, "⇔", "\\Leftrightarrow", !0);
|
|
10566
|
+
c(u, m, x, "⟺", "\\Longleftrightarrow", !0);
|
|
10567
|
+
c(u, m, x, "↦", "\\mapsto", !0);
|
|
10568
|
+
c(u, m, x, "⟼", "\\longmapsto", !0);
|
|
10569
|
+
c(u, m, x, "↗", "\\nearrow", !0);
|
|
10570
|
+
c(u, m, x, "↩", "\\hookleftarrow", !0);
|
|
10571
|
+
c(u, m, x, "↪", "\\hookrightarrow", !0);
|
|
10572
|
+
c(u, m, x, "↘", "\\searrow", !0);
|
|
10573
|
+
c(u, m, x, "↼", "\\leftharpoonup", !0);
|
|
10574
|
+
c(u, m, x, "⇀", "\\rightharpoonup", !0);
|
|
10575
|
+
c(u, m, x, "↙", "\\swarrow", !0);
|
|
10576
|
+
c(u, m, x, "↽", "\\leftharpoondown", !0);
|
|
10577
|
+
c(u, m, x, "⇁", "\\rightharpoondown", !0);
|
|
10578
|
+
c(u, m, x, "↖", "\\nwarrow", !0);
|
|
10579
|
+
c(u, m, x, "⇌", "\\rightleftharpoons", !0);
|
|
10577
10580
|
c(u, y, x, "≮", "\\nless", !0);
|
|
10578
10581
|
c(u, y, x, "", "\\@nleqslant");
|
|
10579
10582
|
c(u, y, x, "", "\\@nleqq");
|
|
@@ -10653,7 +10656,7 @@ c(u, y, _, "★", "\\bigstar");
|
|
|
10653
10656
|
c(u, y, _, "∢", "\\sphericalangle", !0);
|
|
10654
10657
|
c(u, y, _, "∁", "\\complement", !0);
|
|
10655
10658
|
c(u, y, _, "ð", "\\eth", !0);
|
|
10656
|
-
c(B,
|
|
10659
|
+
c(B, m, _, "ð", "ð");
|
|
10657
10660
|
c(u, y, _, "╱", "\\diagup");
|
|
10658
10661
|
c(u, y, _, "╲", "\\diagdown");
|
|
10659
10662
|
c(u, y, _, "□", "\\square");
|
|
@@ -10743,7 +10746,7 @@ c(u, y, x, "⋙", "\\gggtr");
|
|
|
10743
10746
|
c(u, y, G, "⊲", "\\lhd");
|
|
10744
10747
|
c(u, y, G, "⊳", "\\rhd");
|
|
10745
10748
|
c(u, y, x, "≂", "\\eqsim", !0);
|
|
10746
|
-
c(u,
|
|
10749
|
+
c(u, m, x, "⋈", "\\Join");
|
|
10747
10750
|
c(u, y, x, "≑", "\\Doteq", !0);
|
|
10748
10751
|
c(u, y, G, "∔", "\\dotplus", !0);
|
|
10749
10752
|
c(u, y, G, "∖", "\\smallsetminus");
|
|
@@ -10781,8 +10784,8 @@ c(u, y, x, "↰", "\\Lsh", !0);
|
|
|
10781
10784
|
c(u, y, x, "⇈", "\\upuparrows", !0);
|
|
10782
10785
|
c(u, y, x, "↿", "\\upharpoonleft", !0);
|
|
10783
10786
|
c(u, y, x, "⇃", "\\downharpoonleft", !0);
|
|
10784
|
-
c(u,
|
|
10785
|
-
c(u,
|
|
10787
|
+
c(u, m, x, "⊶", "\\origof", !0);
|
|
10788
|
+
c(u, m, x, "⊷", "\\imageof", !0);
|
|
10786
10789
|
c(u, y, x, "⊸", "\\multimap", !0);
|
|
10787
10790
|
c(u, y, x, "↭", "\\leftrightsquigarrow", !0);
|
|
10788
10791
|
c(u, y, x, "⇉", "\\rightrightarrows", !0);
|
|
@@ -10800,296 +10803,296 @@ c(u, y, x, "⇝", "\\rightsquigarrow", !0);
|
|
|
10800
10803
|
c(u, y, x, "⇝", "\\leadsto");
|
|
10801
10804
|
c(u, y, x, "⇛", "\\Rrightarrow", !0);
|
|
10802
10805
|
c(u, y, x, "↾", "\\restriction");
|
|
10803
|
-
c(u,
|
|
10804
|
-
c(u,
|
|
10805
|
-
c(B,
|
|
10806
|
-
c(B,
|
|
10807
|
-
c(u,
|
|
10808
|
-
c(B,
|
|
10809
|
-
c(u,
|
|
10810
|
-
c(B,
|
|
10811
|
-
c(B,
|
|
10812
|
-
c(u,
|
|
10813
|
-
c(u,
|
|
10814
|
-
c(u,
|
|
10815
|
-
c(u,
|
|
10816
|
-
c(u,
|
|
10817
|
-
c(u,
|
|
10818
|
-
c(u,
|
|
10819
|
-
c(u,
|
|
10820
|
-
c(u,
|
|
10821
|
-
c(u,
|
|
10822
|
-
c(u,
|
|
10823
|
-
c(u,
|
|
10824
|
-
c(u,
|
|
10825
|
-
c(u,
|
|
10826
|
-
c(u,
|
|
10827
|
-
c(u,
|
|
10828
|
-
c(u,
|
|
10829
|
-
c(u,
|
|
10830
|
-
c(u,
|
|
10831
|
-
c(u,
|
|
10832
|
-
c(u,
|
|
10833
|
-
c(u,
|
|
10834
|
-
c(u,
|
|
10835
|
-
c(u,
|
|
10836
|
-
c(u,
|
|
10837
|
-
c(u,
|
|
10838
|
-
c(u,
|
|
10839
|
-
c(u,
|
|
10840
|
-
c(u,
|
|
10841
|
-
c(u,
|
|
10842
|
-
c(u,
|
|
10843
|
-
c(u,
|
|
10844
|
-
c(u,
|
|
10806
|
+
c(u, m, _, "‘", "`");
|
|
10807
|
+
c(u, m, _, "$", "\\$");
|
|
10808
|
+
c(B, m, _, "$", "\\$");
|
|
10809
|
+
c(B, m, _, "$", "\\textdollar");
|
|
10810
|
+
c(u, m, _, "%", "\\%");
|
|
10811
|
+
c(B, m, _, "%", "\\%");
|
|
10812
|
+
c(u, m, _, "_", "\\_");
|
|
10813
|
+
c(B, m, _, "_", "\\_");
|
|
10814
|
+
c(B, m, _, "_", "\\textunderscore");
|
|
10815
|
+
c(u, m, _, "∠", "\\angle", !0);
|
|
10816
|
+
c(u, m, _, "∞", "\\infty", !0);
|
|
10817
|
+
c(u, m, _, "′", "\\prime");
|
|
10818
|
+
c(u, m, _, "△", "\\triangle");
|
|
10819
|
+
c(u, m, _, "Γ", "\\Gamma", !0);
|
|
10820
|
+
c(u, m, _, "Δ", "\\Delta", !0);
|
|
10821
|
+
c(u, m, _, "Θ", "\\Theta", !0);
|
|
10822
|
+
c(u, m, _, "Λ", "\\Lambda", !0);
|
|
10823
|
+
c(u, m, _, "Ξ", "\\Xi", !0);
|
|
10824
|
+
c(u, m, _, "Π", "\\Pi", !0);
|
|
10825
|
+
c(u, m, _, "Σ", "\\Sigma", !0);
|
|
10826
|
+
c(u, m, _, "Υ", "\\Upsilon", !0);
|
|
10827
|
+
c(u, m, _, "Φ", "\\Phi", !0);
|
|
10828
|
+
c(u, m, _, "Ψ", "\\Psi", !0);
|
|
10829
|
+
c(u, m, _, "Ω", "\\Omega", !0);
|
|
10830
|
+
c(u, m, _, "A", "Α");
|
|
10831
|
+
c(u, m, _, "B", "Β");
|
|
10832
|
+
c(u, m, _, "E", "Ε");
|
|
10833
|
+
c(u, m, _, "Z", "Ζ");
|
|
10834
|
+
c(u, m, _, "H", "Η");
|
|
10835
|
+
c(u, m, _, "I", "Ι");
|
|
10836
|
+
c(u, m, _, "K", "Κ");
|
|
10837
|
+
c(u, m, _, "M", "Μ");
|
|
10838
|
+
c(u, m, _, "N", "Ν");
|
|
10839
|
+
c(u, m, _, "O", "Ο");
|
|
10840
|
+
c(u, m, _, "P", "Ρ");
|
|
10841
|
+
c(u, m, _, "T", "Τ");
|
|
10842
|
+
c(u, m, _, "X", "Χ");
|
|
10843
|
+
c(u, m, _, "¬", "\\neg", !0);
|
|
10844
|
+
c(u, m, _, "¬", "\\lnot");
|
|
10845
|
+
c(u, m, _, "⊤", "\\top");
|
|
10846
|
+
c(u, m, _, "⊥", "\\bot");
|
|
10847
|
+
c(u, m, _, "∅", "\\emptyset");
|
|
10845
10848
|
c(u, y, _, "∅", "\\varnothing");
|
|
10846
|
-
c(u,
|
|
10847
|
-
c(u,
|
|
10848
|
-
c(u,
|
|
10849
|
-
c(u,
|
|
10850
|
-
c(u,
|
|
10851
|
-
c(u,
|
|
10852
|
-
c(u,
|
|
10853
|
-
c(u,
|
|
10854
|
-
c(u,
|
|
10855
|
-
c(u,
|
|
10856
|
-
c(u,
|
|
10857
|
-
c(u,
|
|
10858
|
-
c(u,
|
|
10859
|
-
c(u,
|
|
10860
|
-
c(u,
|
|
10861
|
-
c(u,
|
|
10862
|
-
c(u,
|
|
10863
|
-
c(u,
|
|
10864
|
-
c(u,
|
|
10865
|
-
c(u,
|
|
10866
|
-
c(u,
|
|
10867
|
-
c(u,
|
|
10868
|
-
c(u,
|
|
10869
|
-
c(u,
|
|
10870
|
-
c(u,
|
|
10871
|
-
c(u,
|
|
10872
|
-
c(u,
|
|
10873
|
-
c(u,
|
|
10874
|
-
c(u,
|
|
10875
|
-
c(u,
|
|
10876
|
-
c(u,
|
|
10877
|
-
c(u,
|
|
10878
|
-
c(u,
|
|
10879
|
-
c(u,
|
|
10880
|
-
c(u,
|
|
10881
|
-
c(u,
|
|
10882
|
-
c(u,
|
|
10883
|
-
c(u,
|
|
10884
|
-
c(u,
|
|
10885
|
-
c(u,
|
|
10886
|
-
c(u,
|
|
10887
|
-
c(u,
|
|
10888
|
-
c(u,
|
|
10889
|
-
c(u,
|
|
10890
|
-
c(u,
|
|
10891
|
-
c(u,
|
|
10892
|
-
c(u,
|
|
10893
|
-
c(u,
|
|
10894
|
-
c(u,
|
|
10895
|
-
c(u,
|
|
10896
|
-
c(u,
|
|
10897
|
-
c(u,
|
|
10898
|
-
c(u,
|
|
10899
|
-
c(u,
|
|
10900
|
-
c(u,
|
|
10901
|
-
c(u,
|
|
10902
|
-
c(u,
|
|
10903
|
-
c(u,
|
|
10904
|
-
c(u,
|
|
10905
|
-
c(u,
|
|
10906
|
-
c(u,
|
|
10907
|
-
c(u,
|
|
10908
|
-
c(u,
|
|
10909
|
-
c(u,
|
|
10910
|
-
c(u,
|
|
10911
|
-
c(u,
|
|
10912
|
-
c(u,
|
|
10913
|
-
c(u,
|
|
10849
|
+
c(u, m, X, "α", "\\alpha", !0);
|
|
10850
|
+
c(u, m, X, "β", "\\beta", !0);
|
|
10851
|
+
c(u, m, X, "γ", "\\gamma", !0);
|
|
10852
|
+
c(u, m, X, "δ", "\\delta", !0);
|
|
10853
|
+
c(u, m, X, "ϵ", "\\epsilon", !0);
|
|
10854
|
+
c(u, m, X, "ζ", "\\zeta", !0);
|
|
10855
|
+
c(u, m, X, "η", "\\eta", !0);
|
|
10856
|
+
c(u, m, X, "θ", "\\theta", !0);
|
|
10857
|
+
c(u, m, X, "ι", "\\iota", !0);
|
|
10858
|
+
c(u, m, X, "κ", "\\kappa", !0);
|
|
10859
|
+
c(u, m, X, "λ", "\\lambda", !0);
|
|
10860
|
+
c(u, m, X, "μ", "\\mu", !0);
|
|
10861
|
+
c(u, m, X, "ν", "\\nu", !0);
|
|
10862
|
+
c(u, m, X, "ξ", "\\xi", !0);
|
|
10863
|
+
c(u, m, X, "ο", "\\omicron", !0);
|
|
10864
|
+
c(u, m, X, "π", "\\pi", !0);
|
|
10865
|
+
c(u, m, X, "ρ", "\\rho", !0);
|
|
10866
|
+
c(u, m, X, "σ", "\\sigma", !0);
|
|
10867
|
+
c(u, m, X, "τ", "\\tau", !0);
|
|
10868
|
+
c(u, m, X, "υ", "\\upsilon", !0);
|
|
10869
|
+
c(u, m, X, "ϕ", "\\phi", !0);
|
|
10870
|
+
c(u, m, X, "χ", "\\chi", !0);
|
|
10871
|
+
c(u, m, X, "ψ", "\\psi", !0);
|
|
10872
|
+
c(u, m, X, "ω", "\\omega", !0);
|
|
10873
|
+
c(u, m, X, "ε", "\\varepsilon", !0);
|
|
10874
|
+
c(u, m, X, "ϑ", "\\vartheta", !0);
|
|
10875
|
+
c(u, m, X, "ϖ", "\\varpi", !0);
|
|
10876
|
+
c(u, m, X, "ϱ", "\\varrho", !0);
|
|
10877
|
+
c(u, m, X, "ς", "\\varsigma", !0);
|
|
10878
|
+
c(u, m, X, "φ", "\\varphi", !0);
|
|
10879
|
+
c(u, m, G, "∗", "*", !0);
|
|
10880
|
+
c(u, m, G, "+", "+");
|
|
10881
|
+
c(u, m, G, "−", "-", !0);
|
|
10882
|
+
c(u, m, G, "⋅", "\\cdot", !0);
|
|
10883
|
+
c(u, m, G, "∘", "\\circ", !0);
|
|
10884
|
+
c(u, m, G, "÷", "\\div", !0);
|
|
10885
|
+
c(u, m, G, "±", "\\pm", !0);
|
|
10886
|
+
c(u, m, G, "×", "\\times", !0);
|
|
10887
|
+
c(u, m, G, "∩", "\\cap", !0);
|
|
10888
|
+
c(u, m, G, "∪", "\\cup", !0);
|
|
10889
|
+
c(u, m, G, "∖", "\\setminus", !0);
|
|
10890
|
+
c(u, m, G, "∧", "\\land");
|
|
10891
|
+
c(u, m, G, "∨", "\\lor");
|
|
10892
|
+
c(u, m, G, "∧", "\\wedge", !0);
|
|
10893
|
+
c(u, m, G, "∨", "\\vee", !0);
|
|
10894
|
+
c(u, m, _, "√", "\\surd");
|
|
10895
|
+
c(u, m, He, "⟨", "\\langle", !0);
|
|
10896
|
+
c(u, m, He, "∣", "\\lvert");
|
|
10897
|
+
c(u, m, He, "∥", "\\lVert");
|
|
10898
|
+
c(u, m, Te, "?", "?");
|
|
10899
|
+
c(u, m, Te, "!", "!");
|
|
10900
|
+
c(u, m, Te, "⟩", "\\rangle", !0);
|
|
10901
|
+
c(u, m, Te, "∣", "\\rvert");
|
|
10902
|
+
c(u, m, Te, "∥", "\\rVert");
|
|
10903
|
+
c(u, m, x, "=", "=");
|
|
10904
|
+
c(u, m, x, ":", ":");
|
|
10905
|
+
c(u, m, x, "≈", "\\approx", !0);
|
|
10906
|
+
c(u, m, x, "≅", "\\cong", !0);
|
|
10907
|
+
c(u, m, x, "≥", "\\ge");
|
|
10908
|
+
c(u, m, x, "≥", "\\geq", !0);
|
|
10909
|
+
c(u, m, x, "←", "\\gets");
|
|
10910
|
+
c(u, m, x, ">", "\\gt", !0);
|
|
10911
|
+
c(u, m, x, "∈", "\\in", !0);
|
|
10912
|
+
c(u, m, x, "", "\\@not");
|
|
10913
|
+
c(u, m, x, "⊂", "\\subset", !0);
|
|
10914
|
+
c(u, m, x, "⊃", "\\supset", !0);
|
|
10915
|
+
c(u, m, x, "⊆", "\\subseteq", !0);
|
|
10916
|
+
c(u, m, x, "⊇", "\\supseteq", !0);
|
|
10914
10917
|
c(u, y, x, "⊈", "\\nsubseteq", !0);
|
|
10915
10918
|
c(u, y, x, "⊉", "\\nsupseteq", !0);
|
|
10916
|
-
c(u,
|
|
10917
|
-
c(u,
|
|
10918
|
-
c(u,
|
|
10919
|
-
c(u,
|
|
10920
|
-
c(u,
|
|
10921
|
-
c(u,
|
|
10922
|
-
c(u,
|
|
10919
|
+
c(u, m, x, "⊨", "\\models");
|
|
10920
|
+
c(u, m, x, "←", "\\leftarrow", !0);
|
|
10921
|
+
c(u, m, x, "≤", "\\le");
|
|
10922
|
+
c(u, m, x, "≤", "\\leq", !0);
|
|
10923
|
+
c(u, m, x, "<", "\\lt", !0);
|
|
10924
|
+
c(u, m, x, "→", "\\rightarrow", !0);
|
|
10925
|
+
c(u, m, x, "→", "\\to");
|
|
10923
10926
|
c(u, y, x, "≱", "\\ngeq", !0);
|
|
10924
10927
|
c(u, y, x, "≰", "\\nleq", !0);
|
|
10925
|
-
c(u,
|
|
10926
|
-
c(u,
|
|
10927
|
-
c(u,
|
|
10928
|
-
c(B,
|
|
10929
|
-
c(B,
|
|
10930
|
-
c(B,
|
|
10931
|
-
c(B,
|
|
10932
|
-
c(u,
|
|
10933
|
-
c(u,
|
|
10934
|
-
c(u,
|
|
10935
|
-
c(u,
|
|
10928
|
+
c(u, m, gt, " ", "\\ ");
|
|
10929
|
+
c(u, m, gt, " ", "\\space");
|
|
10930
|
+
c(u, m, gt, " ", "\\nobreakspace");
|
|
10931
|
+
c(B, m, gt, " ", "\\ ");
|
|
10932
|
+
c(B, m, gt, " ", " ");
|
|
10933
|
+
c(B, m, gt, " ", "\\space");
|
|
10934
|
+
c(B, m, gt, " ", "\\nobreakspace");
|
|
10935
|
+
c(u, m, gt, null, "\\nobreak");
|
|
10936
|
+
c(u, m, gt, null, "\\allowbreak");
|
|
10937
|
+
c(u, m, e0, ",", ",");
|
|
10938
|
+
c(u, m, e0, ";", ";");
|
|
10936
10939
|
c(u, y, G, "⊼", "\\barwedge", !0);
|
|
10937
10940
|
c(u, y, G, "⊻", "\\veebar", !0);
|
|
10938
|
-
c(u,
|
|
10939
|
-
c(u,
|
|
10940
|
-
c(u,
|
|
10941
|
-
c(u,
|
|
10942
|
-
c(u,
|
|
10941
|
+
c(u, m, G, "⊙", "\\odot", !0);
|
|
10942
|
+
c(u, m, G, "⊕", "\\oplus", !0);
|
|
10943
|
+
c(u, m, G, "⊗", "\\otimes", !0);
|
|
10944
|
+
c(u, m, _, "∂", "\\partial", !0);
|
|
10945
|
+
c(u, m, G, "⊘", "\\oslash", !0);
|
|
10943
10946
|
c(u, y, G, "⊚", "\\circledcirc", !0);
|
|
10944
10947
|
c(u, y, G, "⊡", "\\boxdot", !0);
|
|
10945
|
-
c(u,
|
|
10946
|
-
c(u,
|
|
10947
|
-
c(u,
|
|
10948
|
-
c(u,
|
|
10949
|
-
c(u,
|
|
10950
|
-
c(u,
|
|
10951
|
-
c(u,
|
|
10952
|
-
c(u,
|
|
10953
|
-
c(B,
|
|
10954
|
-
c(B,
|
|
10955
|
-
c(u,
|
|
10956
|
-
c(B,
|
|
10957
|
-
c(B,
|
|
10958
|
-
c(u,
|
|
10959
|
-
c(u,
|
|
10960
|
-
c(u,
|
|
10961
|
-
c(B,
|
|
10962
|
-
c(u,
|
|
10963
|
-
c(B,
|
|
10964
|
-
c(u,
|
|
10965
|
-
c(u,
|
|
10966
|
-
c(B,
|
|
10967
|
-
c(B,
|
|
10968
|
-
c(u,
|
|
10969
|
-
c(u,
|
|
10970
|
-
c(u,
|
|
10971
|
-
c(u,
|
|
10972
|
-
c(u,
|
|
10973
|
-
c(u,
|
|
10974
|
-
c(u,
|
|
10975
|
-
c(B,
|
|
10976
|
-
c(u,
|
|
10977
|
-
c(u,
|
|
10978
|
-
c(B,
|
|
10979
|
-
c(B,
|
|
10980
|
-
c(B,
|
|
10981
|
-
c(B,
|
|
10982
|
-
c(u,
|
|
10983
|
-
c(u,
|
|
10984
|
-
c(u,
|
|
10985
|
-
c(u,
|
|
10986
|
-
c(u,
|
|
10987
|
-
c(u,
|
|
10988
|
-
c(u,
|
|
10989
|
-
c(u,
|
|
10990
|
-
c(u,
|
|
10991
|
-
c(u,
|
|
10992
|
-
c(u,
|
|
10993
|
-
c(u,
|
|
10994
|
-
c(u,
|
|
10995
|
-
c(u,
|
|
10996
|
-
c(u,
|
|
10997
|
-
c(u,
|
|
10998
|
-
c(u,
|
|
10999
|
-
c(u,
|
|
11000
|
-
c(u,
|
|
11001
|
-
c(u,
|
|
11002
|
-
c(u,
|
|
11003
|
-
c(u,
|
|
11004
|
-
c(u,
|
|
11005
|
-
c(u,
|
|
11006
|
-
c(u,
|
|
11007
|
-
c(u,
|
|
11008
|
-
c(B,
|
|
11009
|
-
c(u,
|
|
11010
|
-
c(B,
|
|
11011
|
-
c(u,
|
|
11012
|
-
c(u,
|
|
11013
|
-
c(u,
|
|
11014
|
-
c(u,
|
|
11015
|
-
c(u,
|
|
11016
|
-
c(u,
|
|
11017
|
-
c(u,
|
|
11018
|
-
c(u,
|
|
11019
|
-
c(u,
|
|
11020
|
-
c(u,
|
|
11021
|
-
c(u,
|
|
11022
|
-
c(u,
|
|
11023
|
-
c(u,
|
|
11024
|
-
c(u,
|
|
11025
|
-
c(u,
|
|
11026
|
-
c(u,
|
|
11027
|
-
c(u,
|
|
11028
|
-
c(u,
|
|
11029
|
-
c(u,
|
|
11030
|
-
c(B,
|
|
11031
|
-
c(B,
|
|
11032
|
-
c(B,
|
|
11033
|
-
c(B,
|
|
11034
|
-
c(B,
|
|
11035
|
-
c(B,
|
|
11036
|
-
c(B,
|
|
11037
|
-
c(B,
|
|
11038
|
-
c(B,
|
|
11039
|
-
c(B,
|
|
11040
|
-
c(B,
|
|
11041
|
-
c(B,
|
|
11042
|
-
c(B,
|
|
11043
|
-
c(B,
|
|
11044
|
-
c(B,
|
|
11045
|
-
c(B,
|
|
11046
|
-
c(B,
|
|
11047
|
-
c(B,
|
|
11048
|
-
c(B,
|
|
11049
|
-
c(B,
|
|
11050
|
-
c(B,
|
|
11051
|
-
c(B,
|
|
10948
|
+
c(u, m, G, "△", "\\bigtriangleup");
|
|
10949
|
+
c(u, m, G, "▽", "\\bigtriangledown");
|
|
10950
|
+
c(u, m, G, "†", "\\dagger");
|
|
10951
|
+
c(u, m, G, "⋄", "\\diamond");
|
|
10952
|
+
c(u, m, G, "⋆", "\\star");
|
|
10953
|
+
c(u, m, G, "◃", "\\triangleleft");
|
|
10954
|
+
c(u, m, G, "▹", "\\triangleright");
|
|
10955
|
+
c(u, m, He, "{", "\\{");
|
|
10956
|
+
c(B, m, _, "{", "\\{");
|
|
10957
|
+
c(B, m, _, "{", "\\textbraceleft");
|
|
10958
|
+
c(u, m, Te, "}", "\\}");
|
|
10959
|
+
c(B, m, _, "}", "\\}");
|
|
10960
|
+
c(B, m, _, "}", "\\textbraceright");
|
|
10961
|
+
c(u, m, He, "{", "\\lbrace");
|
|
10962
|
+
c(u, m, Te, "}", "\\rbrace");
|
|
10963
|
+
c(u, m, He, "[", "\\lbrack", !0);
|
|
10964
|
+
c(B, m, _, "[", "\\lbrack", !0);
|
|
10965
|
+
c(u, m, Te, "]", "\\rbrack", !0);
|
|
10966
|
+
c(B, m, _, "]", "\\rbrack", !0);
|
|
10967
|
+
c(u, m, He, "(", "\\lparen", !0);
|
|
10968
|
+
c(u, m, Te, ")", "\\rparen", !0);
|
|
10969
|
+
c(B, m, _, "<", "\\textless", !0);
|
|
10970
|
+
c(B, m, _, ">", "\\textgreater", !0);
|
|
10971
|
+
c(u, m, He, "⌊", "\\lfloor", !0);
|
|
10972
|
+
c(u, m, Te, "⌋", "\\rfloor", !0);
|
|
10973
|
+
c(u, m, He, "⌈", "\\lceil", !0);
|
|
10974
|
+
c(u, m, Te, "⌉", "\\rceil", !0);
|
|
10975
|
+
c(u, m, _, "\\", "\\backslash");
|
|
10976
|
+
c(u, m, _, "∣", "|");
|
|
10977
|
+
c(u, m, _, "∣", "\\vert");
|
|
10978
|
+
c(B, m, _, "|", "\\textbar", !0);
|
|
10979
|
+
c(u, m, _, "∥", "\\|");
|
|
10980
|
+
c(u, m, _, "∥", "\\Vert");
|
|
10981
|
+
c(B, m, _, "∥", "\\textbardbl");
|
|
10982
|
+
c(B, m, _, "~", "\\textasciitilde");
|
|
10983
|
+
c(B, m, _, "\\", "\\textbackslash");
|
|
10984
|
+
c(B, m, _, "^", "\\textasciicircum");
|
|
10985
|
+
c(u, m, x, "↑", "\\uparrow", !0);
|
|
10986
|
+
c(u, m, x, "⇑", "\\Uparrow", !0);
|
|
10987
|
+
c(u, m, x, "↓", "\\downarrow", !0);
|
|
10988
|
+
c(u, m, x, "⇓", "\\Downarrow", !0);
|
|
10989
|
+
c(u, m, x, "↕", "\\updownarrow", !0);
|
|
10990
|
+
c(u, m, x, "⇕", "\\Updownarrow", !0);
|
|
10991
|
+
c(u, m, ke, "∐", "\\coprod");
|
|
10992
|
+
c(u, m, ke, "⋁", "\\bigvee");
|
|
10993
|
+
c(u, m, ke, "⋀", "\\bigwedge");
|
|
10994
|
+
c(u, m, ke, "⨄", "\\biguplus");
|
|
10995
|
+
c(u, m, ke, "⋂", "\\bigcap");
|
|
10996
|
+
c(u, m, ke, "⋃", "\\bigcup");
|
|
10997
|
+
c(u, m, ke, "∫", "\\int");
|
|
10998
|
+
c(u, m, ke, "∫", "\\intop");
|
|
10999
|
+
c(u, m, ke, "∬", "\\iint");
|
|
11000
|
+
c(u, m, ke, "∭", "\\iiint");
|
|
11001
|
+
c(u, m, ke, "∏", "\\prod");
|
|
11002
|
+
c(u, m, ke, "∑", "\\sum");
|
|
11003
|
+
c(u, m, ke, "⨂", "\\bigotimes");
|
|
11004
|
+
c(u, m, ke, "⨁", "\\bigoplus");
|
|
11005
|
+
c(u, m, ke, "⨀", "\\bigodot");
|
|
11006
|
+
c(u, m, ke, "∮", "\\oint");
|
|
11007
|
+
c(u, m, ke, "∯", "\\oiint");
|
|
11008
|
+
c(u, m, ke, "∰", "\\oiiint");
|
|
11009
|
+
c(u, m, ke, "⨆", "\\bigsqcup");
|
|
11010
|
+
c(u, m, ke, "∫", "\\smallint");
|
|
11011
|
+
c(B, m, Zt, "…", "\\textellipsis");
|
|
11012
|
+
c(u, m, Zt, "…", "\\mathellipsis");
|
|
11013
|
+
c(B, m, Zt, "…", "\\ldots", !0);
|
|
11014
|
+
c(u, m, Zt, "…", "\\ldots", !0);
|
|
11015
|
+
c(u, m, Zt, "⋯", "\\@cdots", !0);
|
|
11016
|
+
c(u, m, Zt, "⋱", "\\ddots", !0);
|
|
11017
|
+
c(u, m, _, "⋮", "\\varvdots");
|
|
11018
|
+
c(u, m, ve, "ˊ", "\\acute");
|
|
11019
|
+
c(u, m, ve, "ˋ", "\\grave");
|
|
11020
|
+
c(u, m, ve, "¨", "\\ddot");
|
|
11021
|
+
c(u, m, ve, "~", "\\tilde");
|
|
11022
|
+
c(u, m, ve, "ˉ", "\\bar");
|
|
11023
|
+
c(u, m, ve, "˘", "\\breve");
|
|
11024
|
+
c(u, m, ve, "ˇ", "\\check");
|
|
11025
|
+
c(u, m, ve, "^", "\\hat");
|
|
11026
|
+
c(u, m, ve, "⃗", "\\vec");
|
|
11027
|
+
c(u, m, ve, "˙", "\\dot");
|
|
11028
|
+
c(u, m, ve, "˚", "\\mathring");
|
|
11029
|
+
c(u, m, X, "", "\\@imath");
|
|
11030
|
+
c(u, m, X, "", "\\@jmath");
|
|
11031
|
+
c(u, m, _, "ı", "ı");
|
|
11032
|
+
c(u, m, _, "ȷ", "ȷ");
|
|
11033
|
+
c(B, m, _, "ı", "\\i", !0);
|
|
11034
|
+
c(B, m, _, "ȷ", "\\j", !0);
|
|
11035
|
+
c(B, m, _, "ß", "\\ss", !0);
|
|
11036
|
+
c(B, m, _, "æ", "\\ae", !0);
|
|
11037
|
+
c(B, m, _, "œ", "\\oe", !0);
|
|
11038
|
+
c(B, m, _, "ø", "\\o", !0);
|
|
11039
|
+
c(B, m, _, "Æ", "\\AE", !0);
|
|
11040
|
+
c(B, m, _, "Œ", "\\OE", !0);
|
|
11041
|
+
c(B, m, _, "Ø", "\\O", !0);
|
|
11042
|
+
c(B, m, ve, "ˊ", "\\'");
|
|
11043
|
+
c(B, m, ve, "ˋ", "\\`");
|
|
11044
|
+
c(B, m, ve, "ˆ", "\\^");
|
|
11045
|
+
c(B, m, ve, "˜", "\\~");
|
|
11046
|
+
c(B, m, ve, "ˉ", "\\=");
|
|
11047
|
+
c(B, m, ve, "˘", "\\u");
|
|
11048
|
+
c(B, m, ve, "˙", "\\.");
|
|
11049
|
+
c(B, m, ve, "¸", "\\c");
|
|
11050
|
+
c(B, m, ve, "˚", "\\r");
|
|
11051
|
+
c(B, m, ve, "ˇ", "\\v");
|
|
11052
|
+
c(B, m, ve, "¨", '\\"');
|
|
11053
|
+
c(B, m, ve, "˝", "\\H");
|
|
11054
|
+
c(B, m, ve, "◯", "\\textcircled");
|
|
11052
11055
|
var Qo = {
|
|
11053
11056
|
"--": !0,
|
|
11054
11057
|
"---": !0,
|
|
11055
11058
|
"``": !0,
|
|
11056
11059
|
"''": !0
|
|
11057
11060
|
};
|
|
11058
|
-
c(B,
|
|
11059
|
-
c(B,
|
|
11060
|
-
c(B,
|
|
11061
|
-
c(B,
|
|
11062
|
-
c(B,
|
|
11063
|
-
c(B,
|
|
11064
|
-
c(B,
|
|
11065
|
-
c(B,
|
|
11066
|
-
c(B,
|
|
11067
|
-
c(B,
|
|
11068
|
-
c(B,
|
|
11069
|
-
c(B,
|
|
11070
|
-
c(u,
|
|
11071
|
-
c(B,
|
|
11072
|
-
c(B,
|
|
11073
|
-
c(u,
|
|
11074
|
-
c(u,
|
|
11075
|
-
c(B,
|
|
11076
|
-
c(B,
|
|
11061
|
+
c(B, m, _, "–", "--", !0);
|
|
11062
|
+
c(B, m, _, "–", "\\textendash");
|
|
11063
|
+
c(B, m, _, "—", "---", !0);
|
|
11064
|
+
c(B, m, _, "—", "\\textemdash");
|
|
11065
|
+
c(B, m, _, "‘", "`", !0);
|
|
11066
|
+
c(B, m, _, "‘", "\\textquoteleft");
|
|
11067
|
+
c(B, m, _, "’", "'", !0);
|
|
11068
|
+
c(B, m, _, "’", "\\textquoteright");
|
|
11069
|
+
c(B, m, _, "“", "``", !0);
|
|
11070
|
+
c(B, m, _, "“", "\\textquotedblleft");
|
|
11071
|
+
c(B, m, _, "”", "''", !0);
|
|
11072
|
+
c(B, m, _, "”", "\\textquotedblright");
|
|
11073
|
+
c(u, m, _, "°", "\\degree", !0);
|
|
11074
|
+
c(B, m, _, "°", "\\degree");
|
|
11075
|
+
c(B, m, _, "°", "\\textdegree", !0);
|
|
11076
|
+
c(u, m, _, "£", "\\pounds");
|
|
11077
|
+
c(u, m, _, "£", "\\mathsterling", !0);
|
|
11078
|
+
c(B, m, _, "£", "\\pounds");
|
|
11079
|
+
c(B, m, _, "£", "\\textsterling", !0);
|
|
11077
11080
|
c(u, y, _, "✠", "\\maltese");
|
|
11078
11081
|
c(B, y, _, "✠", "\\maltese");
|
|
11079
11082
|
var Vs = '0123456789/@."';
|
|
11080
11083
|
for (var S0 = 0; S0 < Vs.length; S0++) {
|
|
11081
11084
|
var Os = Vs.charAt(S0);
|
|
11082
|
-
c(u,
|
|
11085
|
+
c(u, m, _, Os, Os);
|
|
11083
11086
|
}
|
|
11084
11087
|
var Ps = '0123456789!@*()-=+";:?/.,';
|
|
11085
11088
|
for (var E0 = 0; E0 < Ps.length; E0++) {
|
|
11086
11089
|
var Gs = Ps.charAt(E0);
|
|
11087
|
-
c(B,
|
|
11090
|
+
c(B, m, _, Gs, Gs);
|
|
11088
11091
|
}
|
|
11089
11092
|
var Hr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
|
|
11090
11093
|
for (var M0 = 0; M0 < Hr.length; M0++) {
|
|
11091
11094
|
var _r = Hr.charAt(M0);
|
|
11092
|
-
c(u,
|
|
11095
|
+
c(u, m, X, _r, _r), c(B, m, _, _r, _r);
|
|
11093
11096
|
}
|
|
11094
11097
|
c(u, y, _, "C", "ℂ");
|
|
11095
11098
|
c(B, y, _, "C", "ℂ");
|
|
@@ -11105,24 +11108,24 @@ c(u, y, _, "R", "ℝ");
|
|
|
11105
11108
|
c(B, y, _, "R", "ℝ");
|
|
11106
11109
|
c(u, y, _, "Z", "ℤ");
|
|
11107
11110
|
c(B, y, _, "Z", "ℤ");
|
|
11108
|
-
c(u,
|
|
11109
|
-
c(B,
|
|
11111
|
+
c(u, m, X, "h", "ℎ");
|
|
11112
|
+
c(B, m, X, "h", "ℎ");
|
|
11110
11113
|
var Q = "";
|
|
11111
11114
|
for (var De = 0; De < Hr.length; De++) {
|
|
11112
11115
|
var we = Hr.charAt(De);
|
|
11113
|
-
Q = String.fromCharCode(55349, 56320 + De), c(u,
|
|
11116
|
+
Q = String.fromCharCode(55349, 56320 + De), c(u, m, X, we, Q), c(B, m, _, we, Q), Q = String.fromCharCode(55349, 56372 + De), c(u, m, X, we, Q), c(B, m, _, we, Q), Q = String.fromCharCode(55349, 56424 + De), c(u, m, X, we, Q), c(B, m, _, we, Q), Q = String.fromCharCode(55349, 56580 + De), c(u, m, X, we, Q), c(B, m, _, we, Q), Q = String.fromCharCode(55349, 56736 + De), c(u, m, X, we, Q), c(B, m, _, we, Q), Q = String.fromCharCode(55349, 56788 + De), c(u, m, X, we, Q), c(B, m, _, we, Q), Q = String.fromCharCode(55349, 56840 + De), c(u, m, X, we, Q), c(B, m, _, we, Q), Q = String.fromCharCode(55349, 56944 + De), c(u, m, X, we, Q), c(B, m, _, we, Q), De < 26 && (Q = String.fromCharCode(55349, 56632 + De), c(u, m, X, we, Q), c(B, m, _, we, Q), Q = String.fromCharCode(55349, 56476 + De), c(u, m, X, we, Q), c(B, m, _, we, Q));
|
|
11114
11117
|
}
|
|
11115
11118
|
Q = String.fromCharCode(55349, 56668);
|
|
11116
|
-
c(u,
|
|
11117
|
-
c(B,
|
|
11119
|
+
c(u, m, X, "k", Q);
|
|
11120
|
+
c(B, m, _, "k", Q);
|
|
11118
11121
|
for (var zt = 0; zt < 10; zt++) {
|
|
11119
11122
|
var wt = zt.toString();
|
|
11120
|
-
Q = String.fromCharCode(55349, 57294 + zt), c(u,
|
|
11123
|
+
Q = String.fromCharCode(55349, 57294 + zt), c(u, m, X, wt, Q), c(B, m, _, wt, Q), Q = String.fromCharCode(55349, 57314 + zt), c(u, m, X, wt, Q), c(B, m, _, wt, Q), Q = String.fromCharCode(55349, 57324 + zt), c(u, m, X, wt, Q), c(B, m, _, wt, Q), Q = String.fromCharCode(55349, 57334 + zt), c(u, m, X, wt, Q), c(B, m, _, wt, Q);
|
|
11121
11124
|
}
|
|
11122
11125
|
var Y0 = "ÐÞþ";
|
|
11123
11126
|
for (var T0 = 0; T0 < Y0.length; T0++) {
|
|
11124
11127
|
var Cr = Y0.charAt(T0);
|
|
11125
|
-
c(u,
|
|
11128
|
+
c(u, m, X, Cr, Cr), c(B, m, _, Cr, Cr);
|
|
11126
11129
|
}
|
|
11127
11130
|
var Ar = [
|
|
11128
11131
|
["mathbf", "textbf", "Main-Bold"],
|
|
@@ -11203,7 +11206,7 @@ var Ar = [
|
|
|
11203
11206
|
return [Ar[0][2], Ar[0][a]];
|
|
11204
11207
|
if (120486 < o && o < 120782)
|
|
11205
11208
|
return ["", ""];
|
|
11206
|
-
throw new
|
|
11209
|
+
throw new I("Unsupported character: " + e);
|
|
11207
11210
|
}
|
|
11208
11211
|
}, t0 = function(e, t, n) {
|
|
11209
11212
|
return me[n][e] && me[n][e].replace && (e = me[n][e].replace), {
|
|
@@ -11241,17 +11244,17 @@ var Ar = [
|
|
|
11241
11244
|
var [d, h] = hU(o, s);
|
|
11242
11245
|
return je(o, d, s, t, a.concat(h));
|
|
11243
11246
|
} else if (l) {
|
|
11244
|
-
var
|
|
11247
|
+
var p, f;
|
|
11245
11248
|
if (l === "boldsymbol") {
|
|
11246
11249
|
var g = mU(o, s, t, a, n);
|
|
11247
|
-
|
|
11250
|
+
p = g.fontName, f = [g.fontClass];
|
|
11248
11251
|
} else
|
|
11249
|
-
i ? (
|
|
11250
|
-
if (t0(o,
|
|
11251
|
-
return je(o,
|
|
11252
|
-
if (Qo.hasOwnProperty(o) &&
|
|
11252
|
+
i ? (p = ra[l].fontName, f = [l]) : (p = Sr(l, t.fontWeight, t.fontShape), f = [l, t.fontWeight, t.fontShape]);
|
|
11253
|
+
if (t0(o, p, s).metrics)
|
|
11254
|
+
return je(o, p, s, t, a.concat(f));
|
|
11255
|
+
if (Qo.hasOwnProperty(o) && p.slice(0, 10) === "Typewriter") {
|
|
11253
11256
|
for (var w = [], C = 0; C < o.length; C++)
|
|
11254
|
-
w.push(je(o[C],
|
|
11257
|
+
w.push(je(o[C], p, s, t, a.concat(f)));
|
|
11255
11258
|
return ta(w);
|
|
11256
11259
|
}
|
|
11257
11260
|
}
|
|
@@ -11328,8 +11331,8 @@ var Ar = [
|
|
|
11328
11331
|
}
|
|
11329
11332
|
var d;
|
|
11330
11333
|
if (e.positionType === "top") {
|
|
11331
|
-
for (var h = e.positionData,
|
|
11332
|
-
var f = e.children[
|
|
11334
|
+
for (var h = e.positionData, p = 0; p < e.children.length; p++) {
|
|
11335
|
+
var f = e.children[p];
|
|
11333
11336
|
h -= f.type === "kern" ? f.size : f.elem.height + f.elem.depth;
|
|
11334
11337
|
}
|
|
11335
11338
|
d = h;
|
|
@@ -11364,7 +11367,7 @@ var Ar = [
|
|
|
11364
11367
|
o += 2;
|
|
11365
11368
|
var d = qe(["pstrut"], []);
|
|
11366
11369
|
d.style.height = H(o);
|
|
11367
|
-
for (var h = [],
|
|
11370
|
+
for (var h = [], p = s, f = s, g = s, w = 0; w < n.length; w++) {
|
|
11368
11371
|
var C = n[w];
|
|
11369
11372
|
if (C.type === "kern")
|
|
11370
11373
|
g += C.size;
|
|
@@ -11372,20 +11375,20 @@ var Ar = [
|
|
|
11372
11375
|
var E = C.elem, S = C.wrapperClasses || [], T = C.wrapperStyle || {}, D = qe(S, [d, E], void 0, T);
|
|
11373
11376
|
D.style.top = H(-o - g - E.depth), C.marginLeft && (D.style.marginLeft = C.marginLeft), C.marginRight && (D.style.marginRight = C.marginRight), h.push(D), g += E.height + E.depth;
|
|
11374
11377
|
}
|
|
11375
|
-
|
|
11378
|
+
p = Math.min(p, g), f = Math.max(f, g);
|
|
11376
11379
|
}
|
|
11377
11380
|
var L = qe(["vlist"], h);
|
|
11378
11381
|
L.style.height = H(f);
|
|
11379
11382
|
var V;
|
|
11380
|
-
if (
|
|
11383
|
+
if (p < 0) {
|
|
11381
11384
|
var q = qe([], []), U = qe(["vlist"], [q]);
|
|
11382
|
-
U.style.height = H(-
|
|
11385
|
+
U.style.height = H(-p);
|
|
11383
11386
|
var ee = qe(["vlist-s"], [new Ge("")]);
|
|
11384
11387
|
V = [qe(["vlist-r"], [L, ee]), qe(["vlist-r"], [U])];
|
|
11385
11388
|
} else
|
|
11386
11389
|
V = [qe(["vlist-r"], [L])];
|
|
11387
11390
|
var ie = qe(["vlist-t"], V);
|
|
11388
|
-
return V.length === 2 && ie.classes.push("vlist-t2"), ie.height = f, ie.depth = -
|
|
11391
|
+
return V.length === 2 && ie.classes.push("vlist-t2"), ie.height = f, ie.depth = -p, ie;
|
|
11389
11392
|
}, _U = (r, e) => {
|
|
11390
11393
|
var t = qe(["mspace"], [], e), n = be(r, e);
|
|
11391
11394
|
return t.style.marginRight = H(n), t;
|
|
@@ -11649,18 +11652,18 @@ var Or = function(e) {
|
|
|
11649
11652
|
var h = e[0];
|
|
11650
11653
|
h.type === "sizing" ? d = t.havingSize(h.size) : h.type === "styling" && (d = t.havingStyle(TU[h.style]));
|
|
11651
11654
|
}
|
|
11652
|
-
var
|
|
11655
|
+
var p = ft([s[0] || "leftmost"], [], t), f = ft([s[1] || "rightmost"], [], t), g = n === "root";
|
|
11653
11656
|
return js(o, (w, C) => {
|
|
11654
11657
|
var E = C.classes[0], S = w.classes[0];
|
|
11655
11658
|
E === "mbin" && J.contains(MU, S) ? C.classes[0] = "mord" : S === "mbin" && J.contains(EU, E) && (w.classes[0] = "mord");
|
|
11656
11659
|
}, {
|
|
11657
|
-
node:
|
|
11660
|
+
node: p
|
|
11658
11661
|
}, f, g), js(o, (w, C) => {
|
|
11659
11662
|
var E = X0(C), S = X0(w), T = E && S ? w.hasClass("mtight") ? SU[E][S] : AU[E][S] : null;
|
|
11660
11663
|
if (T)
|
|
11661
11664
|
return M.makeGlue(T, d);
|
|
11662
11665
|
}, {
|
|
11663
|
-
node:
|
|
11666
|
+
node: p
|
|
11664
11667
|
}, f, g), o;
|
|
11665
11668
|
}, js = function r(e, t, n, s, o) {
|
|
11666
11669
|
s && e.push(s);
|
|
@@ -11675,8 +11678,8 @@ var Or = function(e) {
|
|
|
11675
11678
|
var h = t(i, n.node);
|
|
11676
11679
|
h && (n.insertAfter ? n.insertAfter(h) : (e.unshift(h), a++));
|
|
11677
11680
|
}
|
|
11678
|
-
d ? n.node = i : o && i.hasClass("newline") && (n.node = ft(["leftmost"])), n.insertAfter = ((
|
|
11679
|
-
e.splice(
|
|
11681
|
+
d ? n.node = i : o && i.hasClass("newline") && (n.node = ft(["leftmost"])), n.insertAfter = ((p) => (f) => {
|
|
11682
|
+
e.splice(p + 1, 0, f), a++;
|
|
11680
11683
|
})(a);
|
|
11681
11684
|
}
|
|
11682
11685
|
s && e.pop();
|
|
@@ -11711,7 +11714,7 @@ var Or = function(e) {
|
|
|
11711
11714
|
}
|
|
11712
11715
|
return s;
|
|
11713
11716
|
} else
|
|
11714
|
-
throw new
|
|
11717
|
+
throw new I("Got group of unknown type: '" + e.type + "'");
|
|
11715
11718
|
};
|
|
11716
11719
|
function Er(r, e) {
|
|
11717
11720
|
var t = ft(["base"], r, e), n = ft(["strut"]);
|
|
@@ -11734,8 +11737,8 @@ function K0(r, e) {
|
|
|
11734
11737
|
t ? (d = Er(Ce(t, e, !0)), d.classes = ["tag"], o.push(d)) : s && o.push(s);
|
|
11735
11738
|
var h = ft(["katex-html"], o);
|
|
11736
11739
|
if (h.setAttribute("aria-hidden", "true"), d) {
|
|
11737
|
-
var
|
|
11738
|
-
|
|
11740
|
+
var p = d.children[0];
|
|
11741
|
+
p.style.height = H(h.height + h.depth), h.depth && (p.style.verticalAlign = H(-h.depth));
|
|
11739
11742
|
}
|
|
11740
11743
|
return h;
|
|
11741
11744
|
}
|
|
@@ -11913,8 +11916,8 @@ var F = {
|
|
|
11913
11916
|
} else if (a.type === "mi" && a.children.length === 1) {
|
|
11914
11917
|
var h = a.children[0];
|
|
11915
11918
|
if (h instanceof er && h.text === "̸" && (l.type === "mo" || l.type === "mi" || l.type === "mn")) {
|
|
11916
|
-
var
|
|
11917
|
-
|
|
11919
|
+
var p = l.children[0];
|
|
11920
|
+
p instanceof er && p.text.length > 0 && (p.text = p.text.slice(0, 1) + "̸" + p.text.slice(1), o.pop());
|
|
11918
11921
|
}
|
|
11919
11922
|
}
|
|
11920
11923
|
}
|
|
@@ -11930,7 +11933,7 @@ var F = {
|
|
|
11930
11933
|
var n = Vr[e.type](e, t);
|
|
11931
11934
|
return n;
|
|
11932
11935
|
} else
|
|
11933
|
-
throw new
|
|
11936
|
+
throw new I("Got group of unknown type: '" + e.type + "'");
|
|
11934
11937
|
};
|
|
11935
11938
|
function Zs(r, e, t, n, s) {
|
|
11936
11939
|
var o = Re(r, t), a;
|
|
@@ -12070,17 +12073,17 @@ var ia = function(e) {
|
|
|
12070
12073
|
function n() {
|
|
12071
12074
|
var i = 4e5, l = e.label.slice(1);
|
|
12072
12075
|
if (J.contains(["widehat", "widecheck", "widetilde", "utilde"], l)) {
|
|
12073
|
-
var d = e, h = $U(d.base),
|
|
12076
|
+
var d = e, h = $U(d.base), p, f, g;
|
|
12074
12077
|
if (h > 5)
|
|
12075
|
-
l === "widehat" || l === "widecheck" ? (
|
|
12078
|
+
l === "widehat" || l === "widecheck" ? (p = 420, i = 2364, g = 0.42, f = l + "4") : (p = 312, i = 2340, g = 0.34, f = "tilde4");
|
|
12076
12079
|
else {
|
|
12077
12080
|
var w = [1, 1, 2, 2, 3, 3][h];
|
|
12078
|
-
l === "widehat" || l === "widecheck" ? (i = [0, 1062, 2364, 2364, 2364][w],
|
|
12081
|
+
l === "widehat" || l === "widecheck" ? (i = [0, 1062, 2364, 2364, 2364][w], p = [0, 239, 300, 360, 420][w], g = [0, 0.24, 0.3, 0.3, 0.36, 0.42][w], f = l + w) : (i = [0, 600, 1033, 2339, 2340][w], p = [0, 260, 286, 306, 312][w], g = [0, 0.26, 0.286, 0.3, 0.306, 0.34][w], f = "tilde" + w);
|
|
12079
12082
|
}
|
|
12080
12083
|
var C = new St(f), E = new mt([C], {
|
|
12081
12084
|
width: "100%",
|
|
12082
12085
|
height: H(g),
|
|
12083
|
-
viewBox: "0 0 " + i + " " +
|
|
12086
|
+
viewBox: "0 0 " + i + " " + p,
|
|
12084
12087
|
preserveAspectRatio: "none"
|
|
12085
12088
|
});
|
|
12086
12089
|
return {
|
|
@@ -12184,7 +12187,7 @@ var Mn = (r, e) => {
|
|
|
12184
12187
|
var l = J.getBaseElem(t), d = ce(l, e.havingCrampedStyle());
|
|
12185
12188
|
i = Ns(d).skew;
|
|
12186
12189
|
}
|
|
12187
|
-
var h = n.label === "\\c",
|
|
12190
|
+
var h = n.label === "\\c", p = h ? o.height + o.depth : Math.min(o.height, e.fontMetrics().xHeight), f;
|
|
12188
12191
|
if (n.isStretchy)
|
|
12189
12192
|
f = vt.svgSpan(n, e), f = M.makeVList({
|
|
12190
12193
|
positionType: "firstBaseline",
|
|
@@ -12206,9 +12209,9 @@ var Mn = (r, e) => {
|
|
|
12206
12209
|
n.label === "\\vec" ? (g = M.staticSvg("vec", e), w = M.svgData.vec[1]) : (g = M.makeOrd({
|
|
12207
12210
|
mode: n.mode,
|
|
12208
12211
|
text: n.label
|
|
12209
|
-
}, e, "textord"), g = Ns(g), g.italic = 0, w = g.width, h && (
|
|
12212
|
+
}, e, "textord"), g = Ns(g), g.italic = 0, w = g.width, h && (p += g.depth)), f = M.makeSpan(["accent-body"], [g]);
|
|
12210
12213
|
var C = n.label === "\\textcircled";
|
|
12211
|
-
C && (f.classes.push("accent-full"),
|
|
12214
|
+
C && (f.classes.push("accent-full"), p = o.height);
|
|
12212
12215
|
var E = i;
|
|
12213
12216
|
C || (E -= w / 2), f.style.left = H(E), n.label === "\\textcircled" && (f.style.top = ".2em"), f = M.makeVList({
|
|
12214
12217
|
positionType: "firstBaseline",
|
|
@@ -12217,7 +12220,7 @@ var Mn = (r, e) => {
|
|
|
12217
12220
|
elem: o
|
|
12218
12221
|
}, {
|
|
12219
12222
|
type: "kern",
|
|
12220
|
-
size: -
|
|
12223
|
+
size: -p
|
|
12221
12224
|
}, {
|
|
12222
12225
|
type: "elem",
|
|
12223
12226
|
elem: f
|
|
@@ -12379,7 +12382,7 @@ O({
|
|
|
12379
12382
|
(s.depth > 0.25 || r.label === "\\xleftequilibrium") && (d -= s.depth);
|
|
12380
12383
|
var h;
|
|
12381
12384
|
if (a) {
|
|
12382
|
-
var
|
|
12385
|
+
var p = -e.fontMetrics().axisHeight + a.height + 0.5 * i.height + 0.111;
|
|
12383
12386
|
h = M.makeVList({
|
|
12384
12387
|
positionType: "individualShift",
|
|
12385
12388
|
children: [{
|
|
@@ -12393,7 +12396,7 @@ O({
|
|
|
12393
12396
|
}, {
|
|
12394
12397
|
type: "elem",
|
|
12395
12398
|
elem: a,
|
|
12396
|
-
shift:
|
|
12399
|
+
shift: p
|
|
12397
12400
|
}]
|
|
12398
12401
|
}, e);
|
|
12399
12402
|
} else
|
|
@@ -12615,7 +12618,7 @@ function jU(r) {
|
|
|
12615
12618
|
e[e.length - 1].length === 0 && e.pop();
|
|
12616
12619
|
break;
|
|
12617
12620
|
} else
|
|
12618
|
-
throw new
|
|
12621
|
+
throw new I("Expected \\\\ or \\cr or \\end", r.nextToken);
|
|
12619
12622
|
}
|
|
12620
12623
|
for (var n = [], s = [n], o = 0; o < e.length; o++) {
|
|
12621
12624
|
for (var a = e[o], i = Ws(), l = 0; l < a.length; l++)
|
|
@@ -12634,21 +12637,21 @@ function jU(r) {
|
|
|
12634
12637
|
body: []
|
|
12635
12638
|
}, !("=|.".indexOf(d) > -1))
|
|
12636
12639
|
if ("<>AV".indexOf(d) > -1)
|
|
12637
|
-
for (var
|
|
12640
|
+
for (var p = 0; p < 2; p++) {
|
|
12638
12641
|
for (var f = !0, g = l + 1; g < a.length; g++) {
|
|
12639
12642
|
if (GU(a[g], d)) {
|
|
12640
12643
|
f = !1, l = g;
|
|
12641
12644
|
break;
|
|
12642
12645
|
}
|
|
12643
12646
|
if (Ys(a[g]))
|
|
12644
|
-
throw new
|
|
12645
|
-
h[
|
|
12647
|
+
throw new I("Missing a " + d + " character to complete a CD arrow.", a[g]);
|
|
12648
|
+
h[p].body.push(a[g]);
|
|
12646
12649
|
}
|
|
12647
12650
|
if (f)
|
|
12648
|
-
throw new
|
|
12651
|
+
throw new I("Missing a " + d + " character to complete a CD arrow.", a[l]);
|
|
12649
12652
|
}
|
|
12650
12653
|
else
|
|
12651
|
-
throw new
|
|
12654
|
+
throw new I('Expected one of "<>AV=|." after @', a[l]);
|
|
12652
12655
|
var w = UU(d, h, r), C = {
|
|
12653
12656
|
type: "styling",
|
|
12654
12657
|
body: [w],
|
|
@@ -12748,9 +12751,9 @@ O({
|
|
|
12748
12751
|
}
|
|
12749
12752
|
var l = parseInt(o), d;
|
|
12750
12753
|
if (isNaN(l))
|
|
12751
|
-
throw new
|
|
12754
|
+
throw new I("\\@char has non-numeric argument " + o);
|
|
12752
12755
|
if (l < 0 || l >= 1114111)
|
|
12753
|
-
throw new
|
|
12756
|
+
throw new I("\\@char with invalid code point " + o);
|
|
12754
12757
|
return l <= 65535 ? d = String.fromCharCode(l) : (l -= 65536, d = String.fromCharCode((l >> 10) + 55296, (l & 1023) + 56320)), {
|
|
12755
12758
|
type: "textord",
|
|
12756
12759
|
mode: t.mode,
|
|
@@ -12855,7 +12858,7 @@ var J0 = {
|
|
|
12855
12858
|
}, ma = (r) => {
|
|
12856
12859
|
var e = r.text;
|
|
12857
12860
|
if (/^(?:[\\{}$&#^_]|EOF)$/.test(e))
|
|
12858
|
-
throw new
|
|
12861
|
+
throw new I("Expected a control sequence", r);
|
|
12859
12862
|
return e;
|
|
12860
12863
|
}, ZU = (r) => {
|
|
12861
12864
|
var e = r.gullet.popToken();
|
|
@@ -12890,7 +12893,7 @@ O({
|
|
|
12890
12893
|
var n = e.fetch();
|
|
12891
12894
|
if (J0[n.text])
|
|
12892
12895
|
return (t === "\\global" || t === "\\\\globallong") && (n.text = J0[n.text]), ne(e.parseFunction(), "internal");
|
|
12893
|
-
throw new
|
|
12896
|
+
throw new I("Invalid token after macro prefix", n);
|
|
12894
12897
|
}
|
|
12895
12898
|
});
|
|
12896
12899
|
O({
|
|
@@ -12907,7 +12910,7 @@ O({
|
|
|
12907
12910
|
funcName: t
|
|
12908
12911
|
} = r, n = e.gullet.popToken(), s = n.text;
|
|
12909
12912
|
if (/^(?:[\\{}$&#^_]|EOF)$/.test(s))
|
|
12910
|
-
throw new
|
|
12913
|
+
throw new I("Expected a control sequence", n);
|
|
12911
12914
|
for (var o = 0, a, i = [[]]; e.gullet.future().text !== "{"; )
|
|
12912
12915
|
if (n = e.gullet.popToken(), n.text === "#") {
|
|
12913
12916
|
if (e.gullet.future().text === "{") {
|
|
@@ -12915,13 +12918,13 @@ O({
|
|
|
12915
12918
|
break;
|
|
12916
12919
|
}
|
|
12917
12920
|
if (n = e.gullet.popToken(), !/^[1-9]$/.test(n.text))
|
|
12918
|
-
throw new
|
|
12921
|
+
throw new I('Invalid argument number "' + n.text + '"');
|
|
12919
12922
|
if (parseInt(n.text) !== o + 1)
|
|
12920
|
-
throw new
|
|
12923
|
+
throw new I('Argument number "' + n.text + '" out of order');
|
|
12921
12924
|
o++, i.push([]);
|
|
12922
12925
|
} else {
|
|
12923
12926
|
if (n.text === "EOF")
|
|
12924
|
-
throw new
|
|
12927
|
+
throw new I("Expected a macro definition");
|
|
12925
12928
|
i[o].push(n.text);
|
|
12926
12929
|
}
|
|
12927
12930
|
var {
|
|
@@ -13029,10 +13032,10 @@ var Kt = function(e, t, n) {
|
|
|
13029
13032
|
type: "kern",
|
|
13030
13033
|
size: -1 * Q0
|
|
13031
13034
|
}, XU = ["|", "\\lvert", "\\rvert", "\\vert"], KU = ["\\|", "\\lVert", "\\rVert", "\\Vert"], ba = function(e, t, n, s, o, a) {
|
|
13032
|
-
var i, l, d, h,
|
|
13035
|
+
var i, l, d, h, p = "", f = 0;
|
|
13033
13036
|
i = d = h = e, l = null;
|
|
13034
13037
|
var g = "Size1-Regular";
|
|
13035
|
-
e === "\\uparrow" ? d = h = "⏐" : e === "\\Uparrow" ? d = h = "‖" : e === "\\downarrow" ? i = d = "⏐" : e === "\\Downarrow" ? i = d = "‖" : e === "\\updownarrow" ? (i = "\\uparrow", d = "⏐", h = "\\downarrow") : e === "\\Updownarrow" ? (i = "\\Uparrow", d = "‖", h = "\\Downarrow") : J.contains(XU, e) ? (d = "∣",
|
|
13038
|
+
e === "\\uparrow" ? d = h = "⏐" : e === "\\Uparrow" ? d = h = "‖" : e === "\\downarrow" ? i = d = "⏐" : e === "\\Downarrow" ? i = d = "‖" : e === "\\updownarrow" ? (i = "\\uparrow", d = "⏐", h = "\\downarrow") : e === "\\Updownarrow" ? (i = "\\Uparrow", d = "‖", h = "\\Downarrow") : J.contains(XU, e) ? (d = "∣", p = "vert", f = 333) : J.contains(KU, e) ? (d = "∥", p = "doublevert", f = 556) : e === "[" || e === "\\lbrack" ? (i = "⎡", d = "⎢", h = "⎣", g = "Size4-Regular", p = "lbrack", f = 667) : e === "]" || e === "\\rbrack" ? (i = "⎤", d = "⎥", h = "⎦", g = "Size4-Regular", p = "rbrack", f = 667) : e === "\\lfloor" || e === "⌊" ? (d = i = "⎢", h = "⎣", g = "Size4-Regular", p = "lfloor", f = 667) : e === "\\lceil" || e === "⌈" ? (i = "⎡", d = h = "⎢", g = "Size4-Regular", p = "lceil", f = 667) : e === "\\rfloor" || e === "⌋" ? (d = i = "⎥", h = "⎦", g = "Size4-Regular", p = "rfloor", f = 667) : e === "\\rceil" || e === "⌉" ? (i = "⎤", d = h = "⎥", g = "Size4-Regular", p = "rceil", f = 667) : e === "(" || e === "\\lparen" ? (i = "⎛", d = "⎜", h = "⎝", g = "Size4-Regular", p = "lparen", f = 875) : e === ")" || e === "\\rparen" ? (i = "⎞", d = "⎟", h = "⎠", g = "Size4-Regular", p = "rparen", f = 875) : e === "\\{" || e === "\\lbrace" ? (i = "⎧", l = "⎨", h = "⎩", d = "⎪", g = "Size4-Regular") : e === "\\}" || e === "\\rbrace" ? (i = "⎫", l = "⎬", h = "⎭", d = "⎪", g = "Size4-Regular") : e === "\\lgroup" || e === "⟮" ? (i = "⎧", h = "⎩", d = "⎪", g = "Size4-Regular") : e === "\\rgroup" || e === "⟯" ? (i = "⎫", h = "⎭", d = "⎪", g = "Size4-Regular") : e === "\\lmoustache" || e === "⎰" ? (i = "⎧", h = "⎭", d = "⎪", g = "Size4-Regular") : (e === "\\rmoustache" || e === "⎱") && (i = "⎫", h = "⎩", d = "⎪", g = "Size4-Regular");
|
|
13036
13039
|
var w = Kt(i, g, o), C = w.height + w.depth, E = Kt(d, g, o), S = E.height + E.depth, T = Kt(h, g, o), D = T.height + T.depth, L = 0, V = 1;
|
|
13037
13040
|
if (l !== null) {
|
|
13038
13041
|
var q = Kt(l, g, o);
|
|
@@ -13041,8 +13044,8 @@ var Kt = function(e, t, n) {
|
|
|
13041
13044
|
var U = C + D + L, ee = Math.max(0, Math.ceil((t - U) / (V * S))), ie = U + ee * V * S, re = s.fontMetrics().axisHeight;
|
|
13042
13045
|
n && (re *= s.sizeMultiplier);
|
|
13043
13046
|
var oe = ie / 2 - re, fe = [];
|
|
13044
|
-
if (
|
|
13045
|
-
var ze = ie - C - D, $ = Math.round(ie * 1e3), le = rU(
|
|
13047
|
+
if (p.length > 0) {
|
|
13048
|
+
var ze = ie - C - D, $ = Math.round(ie * 1e3), le = rU(p, Math.round(ze * 1e3)), se = new St(p, le), Ae = (f / 1e3).toFixed(3) + "em", lt = ($ / 1e3).toFixed(3) + "em", a0 = new mt([se], {
|
|
13046
13049
|
width: Ae,
|
|
13047
13050
|
height: lt,
|
|
13048
13051
|
viewBox: "0 0 " + f + " " + $
|
|
@@ -13077,10 +13080,10 @@ var Kt = function(e, t, n) {
|
|
|
13077
13080
|
});
|
|
13078
13081
|
return M.makeSvgSpan(["hide-tail"], [l], o);
|
|
13079
13082
|
}, JU = function(e, t) {
|
|
13080
|
-
var n = t.havingBaseSizing(), s = ka("\\surd", e * n.sizeMultiplier, wa, n), o = n.sizeMultiplier, a = Math.max(0, t.minRuleThickness - t.fontMetrics().sqrtRuleThickness), i, l = 0, d = 0, h = 0,
|
|
13081
|
-
return s.type === "small" ? (h = 1e3 + 1e3 * a + q0, e < 1 ? o = 1 : e < 1.4 && (o = 0.7), l = (1 + a + L0) / o, d = (1 + a) / o, i = B0("sqrtMain", l, h, a, t), i.style.minWidth = "0.853em",
|
|
13083
|
+
var n = t.havingBaseSizing(), s = ka("\\surd", e * n.sizeMultiplier, wa, n), o = n.sizeMultiplier, a = Math.max(0, t.minRuleThickness - t.fontMetrics().sqrtRuleThickness), i, l = 0, d = 0, h = 0, p;
|
|
13084
|
+
return s.type === "small" ? (h = 1e3 + 1e3 * a + q0, e < 1 ? o = 1 : e < 1.4 && (o = 0.7), l = (1 + a + L0) / o, d = (1 + a) / o, i = B0("sqrtMain", l, h, a, t), i.style.minWidth = "0.853em", p = 0.833 / o) : s.type === "large" ? (h = (1e3 + q0) * tr[s.size], d = (tr[s.size] + a) / o, l = (tr[s.size] + a + L0) / o, i = B0("sqrtSize" + s.size, l, h, a, t), i.style.minWidth = "1.02em", p = 1 / o) : (l = e + a + L0, d = e + a, h = Math.floor(1e3 * e + a) + q0, i = B0("sqrtTall", l, h, a, t), i.style.minWidth = "0.742em", p = 1.056), i.height = d, i.style.height = H(l), {
|
|
13082
13085
|
span: i,
|
|
13083
|
-
advanceWidth:
|
|
13086
|
+
advanceWidth: p,
|
|
13084
13087
|
// Calculate the actual line width.
|
|
13085
13088
|
// This actually should depend on the chosen font -- e.g. \boldmath
|
|
13086
13089
|
// should use the thicker surd symbols from e.g. KaTeX_Main-Bold, and
|
|
@@ -13092,7 +13095,7 @@ var Kt = function(e, t, n) {
|
|
|
13092
13095
|
return ga(e, t, !1, n, s, o);
|
|
13093
13096
|
if (J.contains(QU, e))
|
|
13094
13097
|
return ba(e, tr[t], !1, n, s, o);
|
|
13095
|
-
throw new
|
|
13098
|
+
throw new I("Illegal delimiter: '" + e + "'");
|
|
13096
13099
|
}, tj = [{
|
|
13097
13100
|
type: "small",
|
|
13098
13101
|
style: Y.SCRIPTSCRIPT
|
|
@@ -13174,7 +13177,7 @@ var Kt = function(e, t, n) {
|
|
|
13174
13177
|
var l = ka(e, t, i, s);
|
|
13175
13178
|
return l.type === "small" ? WU(e, l.style, n, s, o, a) : l.type === "large" ? ga(e, l.size, n, s, o, a) : ba(e, t, n, s, o, a);
|
|
13176
13179
|
}, sj = function(e, t, n, s, o, a) {
|
|
13177
|
-
var i = s.fontMetrics().axisHeight * s.sizeMultiplier, l = 901, d = 5 / s.fontMetrics().ptPerEm, h = Math.max(t - i, n + i),
|
|
13180
|
+
var i = s.fontMetrics().axisHeight * s.sizeMultiplier, l = 901, d = 5 / s.fontMetrics().ptPerEm, h = Math.max(t - i, n + i), p = Math.max(
|
|
13178
13181
|
// In real TeX, calculations are done using integral values which are
|
|
13179
13182
|
// 65536 per pt, or 655360 per em. So, the division here truncates in
|
|
13180
13183
|
// TeX but doesn't here, producing different results. If we wanted to
|
|
@@ -13187,7 +13190,7 @@ var Kt = function(e, t, n) {
|
|
|
13187
13190
|
h / 500 * l,
|
|
13188
13191
|
2 * h - d
|
|
13189
13192
|
);
|
|
13190
|
-
return _a(e,
|
|
13193
|
+
return _a(e, p, !0, s, o, a);
|
|
13191
13194
|
}, pt = {
|
|
13192
13195
|
sqrtImage: JU,
|
|
13193
13196
|
sizedDelim: ej,
|
|
@@ -13264,7 +13267,7 @@ function s0(r, e) {
|
|
|
13264
13267
|
var t = r0(r);
|
|
13265
13268
|
if (t && J.contains(oj, t.text))
|
|
13266
13269
|
return t;
|
|
13267
|
-
throw t ? new
|
|
13270
|
+
throw t ? new I("Invalid delimiter '" + t.text + "' after '" + e.funcName + "'", r) : new I("Invalid delimiter type '" + r.type + "'", r);
|
|
13268
13271
|
}
|
|
13269
13272
|
O({
|
|
13270
13273
|
type: "delimsizing",
|
|
@@ -13307,7 +13310,7 @@ O({
|
|
|
13307
13310
|
handler: (r, e) => {
|
|
13308
13311
|
var t = r.parser.gullet.macros.get("\\current@color");
|
|
13309
13312
|
if (t && typeof t != "string")
|
|
13310
|
-
throw new
|
|
13313
|
+
throw new I("\\current@color set to non-string in \\right");
|
|
13311
13314
|
return {
|
|
13312
13315
|
type: "leftright-right",
|
|
13313
13316
|
mode: r.parser.mode,
|
|
@@ -13350,14 +13353,14 @@ O({
|
|
|
13350
13353
|
var d = t[l], h = d.isMiddle;
|
|
13351
13354
|
h && (t[l] = pt.leftRightDelim(h.delim, n, s, h.options, r.mode, []));
|
|
13352
13355
|
}
|
|
13353
|
-
var
|
|
13356
|
+
var p;
|
|
13354
13357
|
if (r.right === ".")
|
|
13355
|
-
|
|
13358
|
+
p = lr(e, ["mclose"]);
|
|
13356
13359
|
else {
|
|
13357
13360
|
var f = r.rightColor ? e.withColor(r.rightColor) : e;
|
|
13358
|
-
|
|
13361
|
+
p = pt.leftRightDelim(r.right, n, s, f, r.mode, ["mclose"]);
|
|
13359
13362
|
}
|
|
13360
|
-
return t.push(
|
|
13363
|
+
return t.push(p), M.makeSpan(["minner"], t, e);
|
|
13361
13364
|
},
|
|
13362
13365
|
mathmlBuilder: (r, e) => {
|
|
13363
13366
|
Ks(r);
|
|
@@ -13383,7 +13386,7 @@ O({
|
|
|
13383
13386
|
handler: (r, e) => {
|
|
13384
13387
|
var t = s0(e[0], r);
|
|
13385
13388
|
if (!r.parser.leftrightDepth)
|
|
13386
|
-
throw new
|
|
13389
|
+
throw new I("\\middle without preceding \\left", t);
|
|
13387
13390
|
return {
|
|
13388
13391
|
type: "middle",
|
|
13389
13392
|
mode: r.parser.mode,
|
|
@@ -13422,15 +13425,15 @@ var zn = (r, e) => {
|
|
|
13422
13425
|
unit: "ex"
|
|
13423
13426
|
}, e), h = e.havingBaseSizing();
|
|
13424
13427
|
s = s / h.sizeMultiplier;
|
|
13425
|
-
var
|
|
13426
|
-
t.style.paddingLeft = H(
|
|
13427
|
-
var f = Math.floor(1e3 *
|
|
13428
|
+
var p = t.height + t.depth + l + d;
|
|
13429
|
+
t.style.paddingLeft = H(p / 2 + l);
|
|
13430
|
+
var f = Math.floor(1e3 * p * s), g = JG(f), w = new mt([new St("phase", g)], {
|
|
13428
13431
|
width: "400em",
|
|
13429
13432
|
height: H(f / 1e3),
|
|
13430
13433
|
viewBox: "0 0 400000 " + f,
|
|
13431
13434
|
preserveAspectRatio: "xMinYMin slice"
|
|
13432
13435
|
});
|
|
13433
|
-
o = M.makeSvgSpan(["hide-tail"], [w], e), o.style.height = H(
|
|
13436
|
+
o = M.makeSvgSpan(["hide-tail"], [w], e), o.style.height = H(p), a = t.depth + l + d;
|
|
13434
13437
|
} else {
|
|
13435
13438
|
/cancel/.test(n) ? i || t.classes.push("cancel-pad") : n === "angl" ? t.classes.push("anglpad") : t.classes.push("boxpad");
|
|
13436
13439
|
var C = 0, E = 0, S = 0;
|
|
@@ -13663,7 +13666,7 @@ function Js(r) {
|
|
|
13663
13666
|
var o0 = (r) => {
|
|
13664
13667
|
var e = r.parser.settings;
|
|
13665
13668
|
if (!e.displayMode)
|
|
13666
|
-
throw new
|
|
13669
|
+
throw new I("{" + r.envName + "} can be used only in display mode.");
|
|
13667
13670
|
};
|
|
13668
13671
|
function qn(r) {
|
|
13669
13672
|
if (r.indexOf("ed") === -1)
|
|
@@ -13679,7 +13682,7 @@ function Mt(r, e, t) {
|
|
|
13679
13682
|
autoTag: l,
|
|
13680
13683
|
singleRow: d,
|
|
13681
13684
|
emptySingleRow: h,
|
|
13682
|
-
maxNumCols:
|
|
13685
|
+
maxNumCols: p,
|
|
13683
13686
|
leqno: f
|
|
13684
13687
|
} = e;
|
|
13685
13688
|
if (r.gullet.beginGroup(), d || r.gullet.macros.set("\\cr", "\\\\\\relax"), !a) {
|
|
@@ -13687,7 +13690,7 @@ function Mt(r, e, t) {
|
|
|
13687
13690
|
if (g == null)
|
|
13688
13691
|
a = 1;
|
|
13689
13692
|
else if (a = parseFloat(g), !a || a < 0)
|
|
13690
|
-
throw new
|
|
13693
|
+
throw new I("Invalid \\arraystretch: " + g);
|
|
13691
13694
|
}
|
|
13692
13695
|
r.gullet.beginGroup();
|
|
13693
13696
|
var w = [], C = [w], E = [], S = [], T = l != null ? [] : void 0;
|
|
@@ -13711,9 +13714,9 @@ function Mt(r, e, t) {
|
|
|
13711
13714
|
}), w.push(V);
|
|
13712
13715
|
var q = r.fetch().text;
|
|
13713
13716
|
if (q === "&") {
|
|
13714
|
-
if (
|
|
13717
|
+
if (p && w.length === p) {
|
|
13715
13718
|
if (d || i)
|
|
13716
|
-
throw new
|
|
13719
|
+
throw new I("Too many tab characters: &", r.nextToken);
|
|
13717
13720
|
r.settings.reportNonstrict("textEnv", "Too few columns specified in the {array} column argument.");
|
|
13718
13721
|
}
|
|
13719
13722
|
r.consume();
|
|
@@ -13725,7 +13728,7 @@ function Mt(r, e, t) {
|
|
|
13725
13728
|
var U = void 0;
|
|
13726
13729
|
r.gullet.future().text !== " " && (U = r.parseSizeGroup(!0)), E.push(U ? U.value : null), L(), S.push(Js(r)), w = [], C.push(w), D();
|
|
13727
13730
|
} else
|
|
13728
|
-
throw new
|
|
13731
|
+
throw new I("Expected & or \\\\ or \\cr or \\end", r.nextToken);
|
|
13729
13732
|
}
|
|
13730
13733
|
return r.gullet.endGroup(), r.gullet.endGroup(), {
|
|
13731
13734
|
type: "array",
|
|
@@ -13751,7 +13754,7 @@ var at = function(e, t) {
|
|
|
13751
13754
|
t.fontMetrics().arrayRuleWidth,
|
|
13752
13755
|
t.minRuleThickness
|
|
13753
13756
|
// User override.
|
|
13754
|
-
),
|
|
13757
|
+
), p = 1 / t.fontMetrics().ptPerEm, f = 5 * p;
|
|
13755
13758
|
if (e.colSeparationType && e.colSeparationType === "small") {
|
|
13756
13759
|
var g = t.havingStyle(Y.SCRIPT).sizeMultiplier;
|
|
13757
13760
|
f = 0.2778 * (g / t.sizeMultiplier);
|
|
@@ -13759,7 +13762,7 @@ var at = function(e, t) {
|
|
|
13759
13762
|
var w = e.colSeparationType === "CD" ? be({
|
|
13760
13763
|
number: 3,
|
|
13761
13764
|
unit: "ex"
|
|
13762
|
-
}, t) : 12 *
|
|
13765
|
+
}, t) : 12 * p, C = 3 * p, E = e.arraystretch * w, S = 0.7 * E, T = 0.3 * E, D = 0;
|
|
13763
13766
|
function L(gr) {
|
|
13764
13767
|
for (var br = 0; br < gr.length; ++br)
|
|
13765
13768
|
br > 0 && (D += 0.25), d.push({
|
|
@@ -13802,7 +13805,7 @@ var at = function(e, t) {
|
|
|
13802
13805
|
var Pn = D - fe;
|
|
13803
13806
|
Pn && (Ft.style.verticalAlign = H(-Pn)), $.push(Ft);
|
|
13804
13807
|
} else
|
|
13805
|
-
throw new
|
|
13808
|
+
throw new I("Invalid separator type: " + Ne.separator);
|
|
13806
13809
|
se++, Ne = ze[se] || {}, Yt = !1;
|
|
13807
13810
|
}
|
|
13808
13811
|
if (!(s >= i)) {
|
|
@@ -13865,8 +13868,8 @@ var at = function(e, t) {
|
|
|
13865
13868
|
l.push(new F.MathNode("mtd", [pe(i[d], t)]));
|
|
13866
13869
|
e.tags && e.tags[a] && (l.unshift(s), l.push(s), e.leqno ? l.unshift(o) : l.push(o)), n.push(new F.MathNode("mtr", l));
|
|
13867
13870
|
}
|
|
13868
|
-
var h = new F.MathNode("mtable", n),
|
|
13869
|
-
h.setAttribute("rowspacing", H(
|
|
13871
|
+
var h = new F.MathNode("mtable", n), p = e.arraystretch === 0.5 ? 0.1 : 0.16 + e.arraystretch - 1 + (e.addJot ? 0.09 : 0);
|
|
13872
|
+
h.setAttribute("rowspacing", H(p));
|
|
13870
13873
|
var f = "", g = "";
|
|
13871
13874
|
if (e.cols && e.cols.length > 0) {
|
|
13872
13875
|
var w = e.cols, C = "", E = !1, S = 0, T = w.length;
|
|
@@ -13902,8 +13905,8 @@ var at = function(e, t) {
|
|
|
13902
13905
|
body: []
|
|
13903
13906
|
};
|
|
13904
13907
|
if (t[0] && t[0].type === "ordgroup") {
|
|
13905
|
-
for (var h = "",
|
|
13906
|
-
var f = ne(t[0].body[
|
|
13908
|
+
for (var h = "", p = 0; p < t[0].body.length; p++) {
|
|
13909
|
+
var f = ne(t[0].body[p], "textord");
|
|
13907
13910
|
h += f.text;
|
|
13908
13911
|
}
|
|
13909
13912
|
i = Number(h), l = i * 2;
|
|
@@ -13919,7 +13922,7 @@ var at = function(e, t) {
|
|
|
13919
13922
|
else {
|
|
13920
13923
|
var V = S.length / 2;
|
|
13921
13924
|
if (i < V)
|
|
13922
|
-
throw new
|
|
13925
|
+
throw new I("Too many math in a row: " + ("expected " + i + ", but got " + V), S[0]);
|
|
13923
13926
|
}
|
|
13924
13927
|
});
|
|
13925
13928
|
for (var w = 0; w < l; ++w) {
|
|
@@ -13957,7 +13960,7 @@ ot({
|
|
|
13957
13960
|
type: "separator",
|
|
13958
13961
|
separator: ":"
|
|
13959
13962
|
};
|
|
13960
|
-
throw new
|
|
13963
|
+
throw new I("Unknown column alignment: " + l, a);
|
|
13961
13964
|
}), o = {
|
|
13962
13965
|
cols: s,
|
|
13963
13966
|
hskipBeforeAndAfter: !0,
|
|
@@ -13994,7 +13997,7 @@ ot({
|
|
|
13994
13997
|
var s = r.parser;
|
|
13995
13998
|
if (s.consumeSpaces(), s.fetch().text === "[") {
|
|
13996
13999
|
if (s.consume(), s.consumeSpaces(), t = s.fetch().text, "lcr".indexOf(t) === -1)
|
|
13997
|
-
throw new
|
|
14000
|
+
throw new I("Expected l or c or r", s.nextToken);
|
|
13998
14001
|
s.consume(), s.consumeSpaces(), s.expect("]"), s.consume(), n.cols = [{
|
|
13999
14002
|
type: "align",
|
|
14000
14003
|
align: t
|
|
@@ -14047,17 +14050,17 @@ ot({
|
|
|
14047
14050
|
type: "align",
|
|
14048
14051
|
align: l
|
|
14049
14052
|
};
|
|
14050
|
-
throw new
|
|
14053
|
+
throw new I("Unknown column alignment: " + l, a);
|
|
14051
14054
|
});
|
|
14052
14055
|
if (s.length > 1)
|
|
14053
|
-
throw new
|
|
14056
|
+
throw new I("{subarray} can contain only one column");
|
|
14054
14057
|
var o = {
|
|
14055
14058
|
cols: s,
|
|
14056
14059
|
hskipBeforeAndAfter: !1,
|
|
14057
14060
|
arraystretch: 0.5
|
|
14058
14061
|
};
|
|
14059
14062
|
if (o = Mt(r.parser, o, "script"), o.body.length > 0 && o.body[0].length > 1)
|
|
14060
|
-
throw new
|
|
14063
|
+
throw new I("{subarray} can contain only one column");
|
|
14061
14064
|
return o;
|
|
14062
14065
|
},
|
|
14063
14066
|
htmlBuilder: at,
|
|
@@ -14189,7 +14192,7 @@ O({
|
|
|
14189
14192
|
allowedInMath: !0
|
|
14190
14193
|
},
|
|
14191
14194
|
handler(r, e) {
|
|
14192
|
-
throw new
|
|
14195
|
+
throw new I(r.funcName + " valid only within array environment");
|
|
14193
14196
|
}
|
|
14194
14197
|
});
|
|
14195
14198
|
var Qs = Ca;
|
|
@@ -14206,12 +14209,12 @@ O({
|
|
|
14206
14209
|
funcName: n
|
|
14207
14210
|
} = r, s = e[0];
|
|
14208
14211
|
if (s.type !== "ordgroup")
|
|
14209
|
-
throw new
|
|
14212
|
+
throw new I("Invalid environment name", s);
|
|
14210
14213
|
for (var o = "", a = 0; a < s.body.length; ++a)
|
|
14211
14214
|
o += ne(s.body[a], "textord").text;
|
|
14212
14215
|
if (n === "\\begin") {
|
|
14213
14216
|
if (!Qs.hasOwnProperty(o))
|
|
14214
|
-
throw new
|
|
14217
|
+
throw new I("No such environment: " + o, s);
|
|
14215
14218
|
var i = Qs[o], {
|
|
14216
14219
|
args: l,
|
|
14217
14220
|
optArgs: d
|
|
@@ -14219,12 +14222,12 @@ O({
|
|
|
14219
14222
|
mode: t.mode,
|
|
14220
14223
|
envName: o,
|
|
14221
14224
|
parser: t
|
|
14222
|
-
},
|
|
14225
|
+
}, p = i.handler(h, l, d);
|
|
14223
14226
|
t.expect("\\end", !1);
|
|
14224
14227
|
var f = t.nextToken, g = ne(t.parseFunction(), "environment");
|
|
14225
14228
|
if (g.name !== o)
|
|
14226
|
-
throw new
|
|
14227
|
-
return
|
|
14229
|
+
throw new I("Mismatch: \\begin{" + o + "} matched by \\end{" + g.name + "}", f);
|
|
14230
|
+
return p;
|
|
14228
14231
|
}
|
|
14229
14232
|
return {
|
|
14230
14233
|
type: "environment",
|
|
@@ -14350,15 +14353,15 @@ var Ta = (r, e) => {
|
|
|
14350
14353
|
a.height = a.height < i ? i : a.height, a.depth = a.depth < l ? l : a.depth;
|
|
14351
14354
|
}
|
|
14352
14355
|
o = e.havingStyle(s);
|
|
14353
|
-
var d = ce(r.denom, o, e), h,
|
|
14354
|
-
r.hasBarLine ? (r.barSize ? (
|
|
14356
|
+
var d = ce(r.denom, o, e), h, p, f;
|
|
14357
|
+
r.hasBarLine ? (r.barSize ? (p = be(r.barSize, e), h = M.makeLineSpan("frac-line", e, p)) : h = M.makeLineSpan("frac-line", e), p = h.height, f = h.height) : (h = null, p = 0, f = e.fontMetrics().defaultRuleThickness);
|
|
14355
14358
|
var g, w, C;
|
|
14356
|
-
t.size === Y.DISPLAY.size || r.size === "display" ? (g = e.fontMetrics().num1,
|
|
14359
|
+
t.size === Y.DISPLAY.size || r.size === "display" ? (g = e.fontMetrics().num1, p > 0 ? w = 3 * f : w = 7 * f, C = e.fontMetrics().denom1) : (p > 0 ? (g = e.fontMetrics().num2, w = f) : (g = e.fontMetrics().num3, w = 3 * f), C = e.fontMetrics().denom2);
|
|
14357
14360
|
var E;
|
|
14358
14361
|
if (h) {
|
|
14359
14362
|
var T = e.fontMetrics().axisHeight;
|
|
14360
|
-
g - a.depth - (T + 0.5 *
|
|
14361
|
-
var D = -(T - 0.5 *
|
|
14363
|
+
g - a.depth - (T + 0.5 * p) < w && (g += w - (g - a.depth - (T + 0.5 * p))), T - 0.5 * p - (d.height - C) < w && (C += w - (T - 0.5 * p - (d.height - C)));
|
|
14364
|
+
var D = -(T - 0.5 * p);
|
|
14362
14365
|
E = M.makeVList({
|
|
14363
14366
|
positionType: "individualShift",
|
|
14364
14367
|
children: [{
|
|
@@ -14576,8 +14579,8 @@ O({
|
|
|
14576
14579
|
handler(r, e) {
|
|
14577
14580
|
var {
|
|
14578
14581
|
parser: t
|
|
14579
|
-
} = r, n = e[4], s = e[5], o = Or(e[0]), a = o.type === "atom" && o.family === "open" ? ro(o.text) : null, i = Or(e[1]), l = i.type === "atom" && i.family === "close" ? ro(i.text) : null, d = ne(e[2], "size"), h,
|
|
14580
|
-
d.isBlank ? h = !0 : (
|
|
14582
|
+
} = r, n = e[4], s = e[5], o = Or(e[0]), a = o.type === "atom" && o.family === "open" ? ro(o.text) : null, i = Or(e[1]), l = i.type === "atom" && i.family === "close" ? ro(i.text) : null, d = ne(e[2], "size"), h, p = null;
|
|
14583
|
+
d.isBlank ? h = !0 : (p = d.value, h = p.number > 0);
|
|
14581
14584
|
var f = "auto", g = e[3];
|
|
14582
14585
|
if (g.type === "ordgroup") {
|
|
14583
14586
|
if (g.body.length > 0) {
|
|
@@ -14593,7 +14596,7 @@ O({
|
|
|
14593
14596
|
denom: s,
|
|
14594
14597
|
continued: !1,
|
|
14595
14598
|
hasBarLine: h,
|
|
14596
|
-
barSize:
|
|
14599
|
+
barSize: p,
|
|
14597
14600
|
leftDelim: a,
|
|
14598
14601
|
rightDelim: l,
|
|
14599
14602
|
size: f
|
|
@@ -14872,10 +14875,10 @@ O({
|
|
|
14872
14875
|
break;
|
|
14873
14876
|
case "\\htmlData": {
|
|
14874
14877
|
for (var d = o.split(","), h = 0; h < d.length; h++) {
|
|
14875
|
-
var
|
|
14876
|
-
if (
|
|
14877
|
-
throw new
|
|
14878
|
-
l["data-" +
|
|
14878
|
+
var p = d[h].split("=");
|
|
14879
|
+
if (p.length !== 2)
|
|
14880
|
+
throw new I("Error parsing key-value for \\htmlData");
|
|
14881
|
+
l["data-" + p[0].trim()] = p[1].trim();
|
|
14879
14882
|
}
|
|
14880
14883
|
i = {
|
|
14881
14884
|
command: "\\htmlData",
|
|
@@ -14935,14 +14938,14 @@ var F0 = function(e) {
|
|
|
14935
14938
|
};
|
|
14936
14939
|
var t = /([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);
|
|
14937
14940
|
if (!t)
|
|
14938
|
-
throw new
|
|
14941
|
+
throw new I("Invalid size: '" + e + "' in \\includegraphics");
|
|
14939
14942
|
var n = {
|
|
14940
14943
|
number: +(t[1] + t[2]),
|
|
14941
14944
|
// sign + magnitude, cast to number
|
|
14942
14945
|
unit: t[3]
|
|
14943
14946
|
};
|
|
14944
14947
|
if (!Yo(n))
|
|
14945
|
-
throw new
|
|
14948
|
+
throw new I("Invalid unit: '" + n.unit + "' in \\includegraphics.");
|
|
14946
14949
|
return n;
|
|
14947
14950
|
};
|
|
14948
14951
|
O({
|
|
@@ -14969,10 +14972,10 @@ O({
|
|
|
14969
14972
|
}, i = "";
|
|
14970
14973
|
if (t[0])
|
|
14971
14974
|
for (var l = ne(t[0], "raw").string, d = l.split(","), h = 0; h < d.length; h++) {
|
|
14972
|
-
var
|
|
14973
|
-
if (
|
|
14974
|
-
var f =
|
|
14975
|
-
switch (
|
|
14975
|
+
var p = d[h].split("=");
|
|
14976
|
+
if (p.length === 2) {
|
|
14977
|
+
var f = p[1].trim();
|
|
14978
|
+
switch (p[0].trim()) {
|
|
14976
14979
|
case "alt":
|
|
14977
14980
|
i = f;
|
|
14978
14981
|
break;
|
|
@@ -14986,7 +14989,7 @@ O({
|
|
|
14986
14989
|
a = F0(f);
|
|
14987
14990
|
break;
|
|
14988
14991
|
default:
|
|
14989
|
-
throw new
|
|
14992
|
+
throw new I("Invalid key: '" + p[0] + "' in \\includegraphics.");
|
|
14990
14993
|
}
|
|
14991
14994
|
}
|
|
14992
14995
|
}
|
|
@@ -15126,7 +15129,7 @@ O({
|
|
|
15126
15129
|
allowedInMath: !1
|
|
15127
15130
|
},
|
|
15128
15131
|
handler(r, e) {
|
|
15129
|
-
throw new
|
|
15132
|
+
throw new I("Mismatched " + r.funcName);
|
|
15130
15133
|
}
|
|
15131
15134
|
});
|
|
15132
15135
|
var no = (r, e) => {
|
|
@@ -15183,10 +15186,10 @@ var Da = (r, e, t, n, s, o, a) => {
|
|
|
15183
15186
|
};
|
|
15184
15187
|
}
|
|
15185
15188
|
if (t) {
|
|
15186
|
-
var
|
|
15189
|
+
var p = ce(t, n.havingStyle(s.sub()), n);
|
|
15187
15190
|
l = {
|
|
15188
|
-
elem:
|
|
15189
|
-
kern: Math.max(n.fontMetrics().bigOpSpacing2, n.fontMetrics().bigOpSpacing4 -
|
|
15191
|
+
elem: p,
|
|
15192
|
+
kern: Math.max(n.fontMetrics().bigOpSpacing2, n.fontMetrics().bigOpSpacing4 - p.height)
|
|
15190
15193
|
};
|
|
15191
15194
|
}
|
|
15192
15195
|
var f;
|
|
@@ -15277,7 +15280,7 @@ var Da = (r, e, t, n, s, o, a) => {
|
|
|
15277
15280
|
if (o.symbol) {
|
|
15278
15281
|
var d = i ? "Size2-Regular" : "Size1-Regular", h = "";
|
|
15279
15282
|
if ((o.name === "\\oiint" || o.name === "\\oiiint") && (h = o.name.slice(1), o.name = h === "oiint" ? "\\iint" : "\\iiint"), l = M.makeSymbol(o.name, d, "math", e, ["mop", "op-symbol", i ? "large-op" : "small-op"]), h.length > 0) {
|
|
15280
|
-
var
|
|
15283
|
+
var p = l.italic, f = M.staticSvg(h + "Size" + (i ? "2" : "1"), e);
|
|
15281
15284
|
l = M.makeVList({
|
|
15282
15285
|
positionType: "individualShift",
|
|
15283
15286
|
children: [{
|
|
@@ -15289,7 +15292,7 @@ var Da = (r, e, t, n, s, o, a) => {
|
|
|
15289
15292
|
elem: f,
|
|
15290
15293
|
shift: i ? 0.08 : 0
|
|
15291
15294
|
}]
|
|
15292
|
-
}, e), o.name = "\\" + h, l.classes.unshift("mop"), l.italic =
|
|
15295
|
+
}, e), o.name = "\\" + h, l.classes.unshift("mop"), l.italic = p;
|
|
15293
15296
|
}
|
|
15294
15297
|
} else if (o.body) {
|
|
15295
15298
|
var g = Ce(o.body, e, !0);
|
|
@@ -15455,13 +15458,13 @@ var La = (r, e) => {
|
|
|
15455
15458
|
r.type === "supsub" ? (t = r.sup, n = r.sub, o = ne(r.base, "operatorname"), s = !0) : o = ne(r, "operatorname");
|
|
15456
15459
|
var a;
|
|
15457
15460
|
if (o.body.length > 0) {
|
|
15458
|
-
for (var i = o.body.map((
|
|
15459
|
-
var f =
|
|
15461
|
+
for (var i = o.body.map((p) => {
|
|
15462
|
+
var f = p.text;
|
|
15460
15463
|
return typeof f == "string" ? {
|
|
15461
15464
|
type: "textord",
|
|
15462
|
-
mode:
|
|
15465
|
+
mode: p.mode,
|
|
15463
15466
|
text: f
|
|
15464
|
-
} :
|
|
15467
|
+
} : p;
|
|
15465
15468
|
}), l = Ce(i, e.withFont("mathrm"), !0), d = 0; d < l.length; d++) {
|
|
15466
15469
|
var h = l[d];
|
|
15467
15470
|
h instanceof Ge && (h.text = h.text.replace(/\u2212/, "-").replace(/\u2217/, "*"));
|
|
@@ -15871,8 +15874,8 @@ O({
|
|
|
15871
15874
|
span: l,
|
|
15872
15875
|
ruleWidth: d,
|
|
15873
15876
|
advanceWidth: h
|
|
15874
|
-
} = pt.sqrtImage(i, e),
|
|
15875
|
-
|
|
15877
|
+
} = pt.sqrtImage(i, e), p = l.height - d;
|
|
15878
|
+
p > t.height + t.depth + a && (a = (a + p - t.height - t.depth) / 2);
|
|
15876
15879
|
var f = l.height - t.height - a - d;
|
|
15877
15880
|
t.style.paddingLeft = H(h);
|
|
15878
15881
|
var g = M.makeVList({
|
|
@@ -15987,14 +15990,14 @@ Bt({
|
|
|
15987
15990
|
base: n,
|
|
15988
15991
|
sup: s,
|
|
15989
15992
|
sub: o
|
|
15990
|
-
} = r, a = ce(n, e), i, l, d = e.fontMetrics(), h = 0,
|
|
15993
|
+
} = r, a = ce(n, e), i, l, d = e.fontMetrics(), h = 0, p = 0, f = n && J.isCharacterBox(n);
|
|
15991
15994
|
if (s) {
|
|
15992
15995
|
var g = e.havingStyle(e.style.sup());
|
|
15993
15996
|
i = ce(s, g, e), f || (h = a.height - g.fontMetrics().supDrop * g.sizeMultiplier / e.sizeMultiplier);
|
|
15994
15997
|
}
|
|
15995
15998
|
if (o) {
|
|
15996
15999
|
var w = e.havingStyle(e.style.sub());
|
|
15997
|
-
l = ce(o, w, e), f || (
|
|
16000
|
+
l = ce(o, w, e), f || (p = a.depth + w.fontMetrics().subDrop * w.sizeMultiplier / e.sizeMultiplier);
|
|
15998
16001
|
}
|
|
15999
16002
|
var C;
|
|
16000
16003
|
e.style === Y.DISPLAY ? C = d.sup1 : e.style.cramped ? C = d.sup3 : C = d.sup2;
|
|
@@ -16005,17 +16008,17 @@ Bt({
|
|
|
16005
16008
|
}
|
|
16006
16009
|
var L;
|
|
16007
16010
|
if (i && l) {
|
|
16008
|
-
h = Math.max(h, C, i.depth + 0.25 * d.xHeight),
|
|
16011
|
+
h = Math.max(h, C, i.depth + 0.25 * d.xHeight), p = Math.max(p, d.sub2);
|
|
16009
16012
|
var V = d.defaultRuleThickness, q = 4 * V;
|
|
16010
|
-
if (h - i.depth - (l.height -
|
|
16011
|
-
|
|
16013
|
+
if (h - i.depth - (l.height - p) < q) {
|
|
16014
|
+
p = q - (h - i.depth) + l.height;
|
|
16012
16015
|
var U = 0.8 * d.xHeight - (h - i.depth);
|
|
16013
|
-
U > 0 && (h += U,
|
|
16016
|
+
U > 0 && (h += U, p -= U);
|
|
16014
16017
|
}
|
|
16015
16018
|
var ee = [{
|
|
16016
16019
|
type: "elem",
|
|
16017
16020
|
elem: l,
|
|
16018
|
-
shift:
|
|
16021
|
+
shift: p,
|
|
16019
16022
|
marginRight: S,
|
|
16020
16023
|
marginLeft: T
|
|
16021
16024
|
}, {
|
|
@@ -16029,7 +16032,7 @@ Bt({
|
|
|
16029
16032
|
children: ee
|
|
16030
16033
|
}, e);
|
|
16031
16034
|
} else if (l) {
|
|
16032
|
-
|
|
16035
|
+
p = Math.max(p, d.sub1, l.height - 0.8 * d.xHeight);
|
|
16033
16036
|
var ie = [{
|
|
16034
16037
|
type: "elem",
|
|
16035
16038
|
elem: l,
|
|
@@ -16038,7 +16041,7 @@ Bt({
|
|
|
16038
16041
|
}];
|
|
16039
16042
|
L = M.makeVList({
|
|
16040
16043
|
positionType: "shift",
|
|
16041
|
-
positionData:
|
|
16044
|
+
positionData: p,
|
|
16042
16045
|
children: ie
|
|
16043
16046
|
}, e);
|
|
16044
16047
|
} else if (i)
|
|
@@ -16146,7 +16149,7 @@ Bt({
|
|
|
16146
16149
|
} else {
|
|
16147
16150
|
if (R0.hasOwnProperty(r.text))
|
|
16148
16151
|
return M.makeSpan(["mspace", R0[r.text]], [], e);
|
|
16149
|
-
throw new
|
|
16152
|
+
throw new I('Unknown type of space "' + r.text + '"');
|
|
16150
16153
|
}
|
|
16151
16154
|
},
|
|
16152
16155
|
mathmlBuilder(r, e) {
|
|
@@ -16156,7 +16159,7 @@ Bt({
|
|
|
16156
16159
|
else {
|
|
16157
16160
|
if (R0.hasOwnProperty(r.text))
|
|
16158
16161
|
return new F.MathNode("mspace");
|
|
16159
|
-
throw new
|
|
16162
|
+
throw new I('Unknown type of space "' + r.text + '"');
|
|
16160
16163
|
}
|
|
16161
16164
|
return t;
|
|
16162
16165
|
}
|
|
@@ -16317,7 +16320,7 @@ O({
|
|
|
16317
16320
|
allowedInText: !0
|
|
16318
16321
|
},
|
|
16319
16322
|
handler(r, e, t) {
|
|
16320
|
-
throw new
|
|
16323
|
+
throw new I("\\verb ended by end of line instead of matching delimiter");
|
|
16321
16324
|
},
|
|
16322
16325
|
htmlBuilder(r, e) {
|
|
16323
16326
|
for (var t = uo(r), n = [], s = e.havingStyle(e.style.text()), o = 0; o < t.length; o++) {
|
|
@@ -16366,7 +16369,7 @@ class ho {
|
|
|
16366
16369
|
return new et("EOF", new Ie(this, t, t));
|
|
16367
16370
|
var n = this.tokenRegex.exec(e);
|
|
16368
16371
|
if (n === null || n.index !== t)
|
|
16369
|
-
throw new
|
|
16372
|
+
throw new I("Unexpected character: '" + e[t] + "'", new et(e[t], new Ie(this, t, t + 1)));
|
|
16370
16373
|
var s = n[6] || n[3] || (n[2] ? "\\ " : " ");
|
|
16371
16374
|
if (this.catcodes[s] === 14) {
|
|
16372
16375
|
var o = e.indexOf(`
|
|
@@ -16397,7 +16400,7 @@ class xj {
|
|
|
16397
16400
|
*/
|
|
16398
16401
|
endGroup() {
|
|
16399
16402
|
if (this.undefStack.length === 0)
|
|
16400
|
-
throw new
|
|
16403
|
+
throw new I("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");
|
|
16401
16404
|
var e = this.undefStack.pop();
|
|
16402
16405
|
for (var t in e)
|
|
16403
16406
|
e.hasOwnProperty(t) && (e[t] == null ? delete this.current[t] : this.current[t] = e[t]);
|
|
@@ -16534,14 +16537,14 @@ v("\\char", function(r) {
|
|
|
16534
16537
|
n = e.text.charCodeAt(1);
|
|
16535
16538
|
else {
|
|
16536
16539
|
if (e.text === "EOF")
|
|
16537
|
-
throw new
|
|
16540
|
+
throw new I("\\char` missing argument");
|
|
16538
16541
|
n = e.text.charCodeAt(0);
|
|
16539
16542
|
}
|
|
16540
16543
|
else
|
|
16541
16544
|
t = 10;
|
|
16542
16545
|
if (t) {
|
|
16543
16546
|
if (n = po[e.text], n == null || n >= t)
|
|
16544
|
-
throw new
|
|
16547
|
+
throw new I("Invalid base-" + t + " digit " + e.text);
|
|
16545
16548
|
for (var s; (s = po[r.future().text]) != null && s < t; )
|
|
16546
16549
|
n *= t, n += s, r.popToken();
|
|
16547
16550
|
}
|
|
@@ -16550,18 +16553,18 @@ v("\\char", function(r) {
|
|
|
16550
16553
|
var Rn = (r, e, t) => {
|
|
16551
16554
|
var n = r.consumeArg().tokens;
|
|
16552
16555
|
if (n.length !== 1)
|
|
16553
|
-
throw new
|
|
16556
|
+
throw new I("\\newcommand's first argument must be a macro name");
|
|
16554
16557
|
var s = n[0].text, o = r.isDefined(s);
|
|
16555
16558
|
if (o && !e)
|
|
16556
|
-
throw new
|
|
16559
|
+
throw new I("\\newcommand{" + s + "} attempting to redefine " + (s + "; use \\renewcommand"));
|
|
16557
16560
|
if (!o && !t)
|
|
16558
|
-
throw new
|
|
16561
|
+
throw new I("\\renewcommand{" + s + "} when command " + s + " does not yet exist; use \\newcommand");
|
|
16559
16562
|
var a = 0;
|
|
16560
16563
|
if (n = r.consumeArg().tokens, n.length === 1 && n[0].text === "[") {
|
|
16561
16564
|
for (var i = "", l = r.expandNextToken(); l.text !== "]" && l.text !== "EOF"; )
|
|
16562
16565
|
i += l.text, l = r.expandNextToken();
|
|
16563
16566
|
if (!i.match(/^\s*[0-9]+\s*$/))
|
|
16564
|
-
throw new
|
|
16567
|
+
throw new I("Invalid number of arguments: " + i);
|
|
16565
16568
|
a = parseInt(i), n = r.consumeArg().tokens;
|
|
16566
16569
|
}
|
|
16567
16570
|
return r.macros.set(s, {
|
|
@@ -16780,7 +16783,7 @@ v("\\tag", "\\@ifstar\\tag@literal\\tag@paren");
|
|
|
16780
16783
|
v("\\tag@paren", "\\tag@literal{({#1})}");
|
|
16781
16784
|
v("\\tag@literal", (r) => {
|
|
16782
16785
|
if (r.macros.get("\\df@tag"))
|
|
16783
|
-
throw new
|
|
16786
|
+
throw new I("Multiple \\tag");
|
|
16784
16787
|
return "\\gdef\\df@tag{\\text{#1}}";
|
|
16785
16788
|
});
|
|
16786
16789
|
v("\\bmod", "\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");
|
|
@@ -16940,10 +16943,10 @@ v("\\Ket", "\\left|#1\\right\\rangle");
|
|
|
16940
16943
|
var $a = (r) => (e) => {
|
|
16941
16944
|
var t = e.consumeArg().tokens, n = e.consumeArg().tokens, s = e.consumeArg().tokens, o = e.consumeArg().tokens, a = e.macros.get("|"), i = e.macros.get("\\|");
|
|
16942
16945
|
e.macros.beginGroup();
|
|
16943
|
-
var l = (
|
|
16946
|
+
var l = (p) => (f) => {
|
|
16944
16947
|
r && (f.macros.set("|", a), s.length && f.macros.set("\\|", i));
|
|
16945
|
-
var g =
|
|
16946
|
-
if (!
|
|
16948
|
+
var g = p;
|
|
16949
|
+
if (!p && s.length) {
|
|
16947
16950
|
var w = f.future();
|
|
16948
16951
|
w.text === "|" && (f.popToken(), g = !0);
|
|
16949
16952
|
}
|
|
@@ -17144,9 +17147,9 @@ class kj {
|
|
|
17144
17147
|
++a;
|
|
17145
17148
|
else if (o.text === "}") {
|
|
17146
17149
|
if (--a, a === -1)
|
|
17147
|
-
throw new
|
|
17150
|
+
throw new I("Extra }", o);
|
|
17148
17151
|
} else if (o.text === "EOF")
|
|
17149
|
-
throw new
|
|
17152
|
+
throw new I("Unexpected end of input in a macro argument, expected '" + (e && n ? e[i] : "}") + "'", o);
|
|
17150
17153
|
if (e && n)
|
|
17151
17154
|
if ((a === 0 || a === 1 && e[i] === "{") && o.text === e[i]) {
|
|
17152
17155
|
if (++i, i === e.length) {
|
|
@@ -17169,11 +17172,11 @@ class kj {
|
|
|
17169
17172
|
consumeArgs(e, t) {
|
|
17170
17173
|
if (t) {
|
|
17171
17174
|
if (t.length !== e + 1)
|
|
17172
|
-
throw new
|
|
17175
|
+
throw new I("The length of delimiters doesn't match the number of args!");
|
|
17173
17176
|
for (var n = t[0], s = 0; s < n.length; s++) {
|
|
17174
17177
|
var o = this.popToken();
|
|
17175
17178
|
if (n[s] !== o.text)
|
|
17176
|
-
throw new
|
|
17179
|
+
throw new I("Use of the macro doesn't match its definition", o);
|
|
17177
17180
|
}
|
|
17178
17181
|
}
|
|
17179
17182
|
for (var a = [], i = 0; i < e; i++)
|
|
@@ -17203,11 +17206,11 @@ class kj {
|
|
|
17203
17206
|
var t = this.popToken(), n = t.text, s = t.noexpand ? null : this._getExpansion(n);
|
|
17204
17207
|
if (s == null || e && s.unexpandable) {
|
|
17205
17208
|
if (e && s == null && n[0] === "\\" && !this.isDefined(n))
|
|
17206
|
-
throw new
|
|
17209
|
+
throw new I("Undefined control sequence: " + n);
|
|
17207
17210
|
return this.pushToken(t), !1;
|
|
17208
17211
|
}
|
|
17209
17212
|
if (this.expansionCount++, this.expansionCount > this.settings.maxExpand)
|
|
17210
|
-
throw new
|
|
17213
|
+
throw new I("Too many expansions: infinite loop or need to increase maxExpand setting");
|
|
17211
17214
|
var o = s.tokens, a = this.consumeArgs(s.numArgs, s.delimiters);
|
|
17212
17215
|
if (s.numArgs) {
|
|
17213
17216
|
o = o.slice();
|
|
@@ -17215,13 +17218,13 @@ class kj {
|
|
|
17215
17218
|
var l = o[i];
|
|
17216
17219
|
if (l.text === "#") {
|
|
17217
17220
|
if (i === 0)
|
|
17218
|
-
throw new
|
|
17221
|
+
throw new I("Incomplete placeholder at end of macro body", l);
|
|
17219
17222
|
if (l = o[--i], l.text === "#")
|
|
17220
17223
|
o.splice(i + 1, 1);
|
|
17221
17224
|
else if (/^[1-9]$/.test(l.text))
|
|
17222
17225
|
o.splice(i, 2, ...a[+l.text - 1]);
|
|
17223
17226
|
else
|
|
17224
|
-
throw new
|
|
17227
|
+
throw new I("Not a valid argument number", l);
|
|
17225
17228
|
}
|
|
17226
17229
|
}
|
|
17227
17230
|
}
|
|
@@ -17829,7 +17832,7 @@ class cr {
|
|
|
17829
17832
|
*/
|
|
17830
17833
|
expect(e, t) {
|
|
17831
17834
|
if (t === void 0 && (t = !0), this.fetch().text !== e)
|
|
17832
|
-
throw new
|
|
17835
|
+
throw new I("Expected '" + e + "', got '" + this.fetch().text + "'", this.fetch());
|
|
17833
17836
|
t && this.consume();
|
|
17834
17837
|
}
|
|
17835
17838
|
/**
|
|
@@ -17912,7 +17915,7 @@ class cr {
|
|
|
17912
17915
|
for (var t = -1, n, s = 0; s < e.length; s++)
|
|
17913
17916
|
if (e[s].type === "infix") {
|
|
17914
17917
|
if (t !== -1)
|
|
17915
|
-
throw new
|
|
17918
|
+
throw new I("only one infix operator per group", e[s].token);
|
|
17916
17919
|
t = s, n = e[s].replaceWith;
|
|
17917
17920
|
}
|
|
17918
17921
|
if (t !== -1 && n) {
|
|
@@ -17939,7 +17942,7 @@ class cr {
|
|
|
17939
17942
|
this.consume(), this.consumeSpaces();
|
|
17940
17943
|
var s = this.parseGroup(e);
|
|
17941
17944
|
if (!s)
|
|
17942
|
-
throw new
|
|
17945
|
+
throw new I("Expected group after '" + n + "'", t);
|
|
17943
17946
|
return s;
|
|
17944
17947
|
}
|
|
17945
17948
|
/**
|
|
@@ -17982,19 +17985,19 @@ class cr {
|
|
|
17982
17985
|
} else if (t && t.type === "operatorname")
|
|
17983
17986
|
t.alwaysHandleSupSub && (t.limits = o.text === "\\limits");
|
|
17984
17987
|
else
|
|
17985
|
-
throw new
|
|
17988
|
+
throw new I("Limit controls must follow a math operator", o);
|
|
17986
17989
|
this.consume();
|
|
17987
17990
|
} else if (o.text === "^") {
|
|
17988
17991
|
if (n)
|
|
17989
|
-
throw new
|
|
17992
|
+
throw new I("Double superscript", o);
|
|
17990
17993
|
n = this.handleSupSubscript("superscript");
|
|
17991
17994
|
} else if (o.text === "_") {
|
|
17992
17995
|
if (s)
|
|
17993
|
-
throw new
|
|
17996
|
+
throw new I("Double subscript", o);
|
|
17994
17997
|
s = this.handleSupSubscript("subscript");
|
|
17995
17998
|
} else if (o.text === "'") {
|
|
17996
17999
|
if (n)
|
|
17997
|
-
throw new
|
|
18000
|
+
throw new I("Double superscript", o);
|
|
17998
18001
|
var i = {
|
|
17999
18002
|
type: "textord",
|
|
18000
18003
|
mode: this.mode,
|
|
@@ -18010,10 +18013,10 @@ class cr {
|
|
|
18010
18013
|
} else if (zr[o.text]) {
|
|
18011
18014
|
var d = zr[o.text], h = fo.test(o.text);
|
|
18012
18015
|
for (this.consume(); ; ) {
|
|
18013
|
-
var
|
|
18014
|
-
if (!zr[
|
|
18016
|
+
var p = this.fetch().text;
|
|
18017
|
+
if (!zr[p] || fo.test(p) !== h)
|
|
18015
18018
|
break;
|
|
18016
|
-
this.consume(), d += zr[
|
|
18019
|
+
this.consume(), d += zr[p];
|
|
18017
18020
|
}
|
|
18018
18021
|
var f = new cr(d, this.settings).parse();
|
|
18019
18022
|
h ? s = {
|
|
@@ -18044,11 +18047,11 @@ class cr {
|
|
|
18044
18047
|
if (!o)
|
|
18045
18048
|
return null;
|
|
18046
18049
|
if (this.consume(), t && t !== "atom" && !o.allowedInArgument)
|
|
18047
|
-
throw new
|
|
18050
|
+
throw new I("Got function '" + s + "' with no arguments" + (t ? " as " + t : ""), n);
|
|
18048
18051
|
if (this.mode === "text" && !o.allowedInText)
|
|
18049
|
-
throw new
|
|
18052
|
+
throw new I("Can't use function '" + s + "' in text mode", n);
|
|
18050
18053
|
if (this.mode === "math" && o.allowedInMath === !1)
|
|
18051
|
-
throw new
|
|
18054
|
+
throw new I("Can't use function '" + s + "' in math mode", n);
|
|
18052
18055
|
var {
|
|
18053
18056
|
args: a,
|
|
18054
18057
|
optArgs: i
|
|
@@ -18067,7 +18070,7 @@ class cr {
|
|
|
18067
18070
|
}, i = _t[e];
|
|
18068
18071
|
if (i && i.handler)
|
|
18069
18072
|
return i.handler(a, t, n);
|
|
18070
|
-
throw new
|
|
18073
|
+
throw new I("No function handler for " + e);
|
|
18071
18074
|
}
|
|
18072
18075
|
/**
|
|
18073
18076
|
* Parses the arguments of a function or environment
|
|
@@ -18089,7 +18092,7 @@ class cr {
|
|
|
18089
18092
|
else if (d != null)
|
|
18090
18093
|
s.push(d);
|
|
18091
18094
|
else
|
|
18092
|
-
throw new
|
|
18095
|
+
throw new I("Null argument, please report this as a bug");
|
|
18093
18096
|
}
|
|
18094
18097
|
return {
|
|
18095
18098
|
args: s,
|
|
@@ -18130,10 +18133,10 @@ class cr {
|
|
|
18130
18133
|
}
|
|
18131
18134
|
case "primitive": {
|
|
18132
18135
|
if (n)
|
|
18133
|
-
throw new
|
|
18136
|
+
throw new I("A primitive argument cannot be optional");
|
|
18134
18137
|
var a = this.parseGroup(e);
|
|
18135
18138
|
if (a == null)
|
|
18136
|
-
throw new
|
|
18139
|
+
throw new I("Expected group as " + e, this.fetch());
|
|
18137
18140
|
return a;
|
|
18138
18141
|
}
|
|
18139
18142
|
case "original":
|
|
@@ -18141,7 +18144,7 @@ class cr {
|
|
|
18141
18144
|
case void 0:
|
|
18142
18145
|
return this.parseArgumentGroup(n);
|
|
18143
18146
|
default:
|
|
18144
|
-
throw new
|
|
18147
|
+
throw new I("Unknown group type as " + e, this.fetch());
|
|
18145
18148
|
}
|
|
18146
18149
|
}
|
|
18147
18150
|
/**
|
|
@@ -18172,7 +18175,7 @@ class cr {
|
|
|
18172
18175
|
for (var n = this.fetch(), s = n, o = "", a; (a = this.fetch()).text !== "EOF" && e.test(o + a.text); )
|
|
18173
18176
|
s = a, o += s.text, this.consume();
|
|
18174
18177
|
if (o === "")
|
|
18175
|
-
throw new
|
|
18178
|
+
throw new I("Invalid " + t + ": '" + n.text + "'", n);
|
|
18176
18179
|
return n.range(s, o);
|
|
18177
18180
|
}
|
|
18178
18181
|
/**
|
|
@@ -18184,7 +18187,7 @@ class cr {
|
|
|
18184
18187
|
return null;
|
|
18185
18188
|
var n = /^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);
|
|
18186
18189
|
if (!n)
|
|
18187
|
-
throw new
|
|
18190
|
+
throw new I("Invalid color: '" + t.text + "'", t);
|
|
18188
18191
|
var s = n[0];
|
|
18189
18192
|
return /^[0-9a-f]{6}$/i.test(s) && (s = "#" + s), {
|
|
18190
18193
|
type: "color-token",
|
|
@@ -18202,14 +18205,14 @@ class cr {
|
|
|
18202
18205
|
!e && t.text.length === 0 && (t.text = "0pt", n = !0);
|
|
18203
18206
|
var s = /([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);
|
|
18204
18207
|
if (!s)
|
|
18205
|
-
throw new
|
|
18208
|
+
throw new I("Invalid size: '" + t.text + "'", t);
|
|
18206
18209
|
var o = {
|
|
18207
18210
|
number: +(s[1] + s[2]),
|
|
18208
18211
|
// sign + magnitude, cast to number
|
|
18209
18212
|
unit: s[3]
|
|
18210
18213
|
};
|
|
18211
18214
|
if (!Yo(o))
|
|
18212
|
-
throw new
|
|
18215
|
+
throw new I("Invalid unit: '" + o.unit + "'", t);
|
|
18213
18216
|
return {
|
|
18214
18217
|
type: "size",
|
|
18215
18218
|
mode: this.mode,
|
|
@@ -18278,7 +18281,7 @@ class cr {
|
|
|
18278
18281
|
};
|
|
18279
18282
|
} else if (o = this.parseFunction(t, e) || this.parseSymbol(), o == null && s[0] === "\\" && !Ha.hasOwnProperty(s)) {
|
|
18280
18283
|
if (this.settings.throwOnError)
|
|
18281
|
-
throw new
|
|
18284
|
+
throw new I("Undefined control sequence: " + s, n);
|
|
18282
18285
|
o = this.formatUnsupportedCmd(s), this.consume();
|
|
18283
18286
|
}
|
|
18284
18287
|
return o;
|
|
@@ -18322,7 +18325,7 @@ class cr {
|
|
|
18322
18325
|
this.consume();
|
|
18323
18326
|
var n = t.slice(5), s = n.charAt(0) === "*";
|
|
18324
18327
|
if (s && (n = n.slice(1)), n.length < 2 || n.charAt(0) !== n.slice(-1))
|
|
18325
|
-
throw new
|
|
18328
|
+
throw new I(`\\verb assertion failed --
|
|
18326
18329
|
please report what input caused this bug`);
|
|
18327
18330
|
return n = n.slice(1, -1), {
|
|
18328
18331
|
type: "verb",
|
|
@@ -18365,13 +18368,13 @@ class cr {
|
|
|
18365
18368
|
else
|
|
18366
18369
|
return null;
|
|
18367
18370
|
if (this.consume(), o)
|
|
18368
|
-
for (var
|
|
18369
|
-
var f = o[0][
|
|
18371
|
+
for (var p = 0; p < o[0].length; p++) {
|
|
18372
|
+
var f = o[0][p];
|
|
18370
18373
|
if (!$0[f])
|
|
18371
|
-
throw new
|
|
18374
|
+
throw new I("Unknown accent ' " + f + "'", e);
|
|
18372
18375
|
var g = $0[f][this.mode] || $0[f].text;
|
|
18373
18376
|
if (!g)
|
|
18374
|
-
throw new
|
|
18377
|
+
throw new I("Accent " + f + " unsupported in " + this.mode + " mode", e);
|
|
18375
18378
|
a = {
|
|
18376
18379
|
type: "accent",
|
|
18377
18380
|
mode: this.mode,
|
|
@@ -18395,7 +18398,7 @@ var $n = function(e, t) {
|
|
|
18395
18398
|
var s = n.parse();
|
|
18396
18399
|
if (delete n.gullet.macros.current["\\current@color"], delete n.gullet.macros.current["\\color"], n.gullet.macros.get("\\df@tag")) {
|
|
18397
18400
|
if (!t.displayMode)
|
|
18398
|
-
throw new
|
|
18401
|
+
throw new I("\\tag works only in display equations");
|
|
18399
18402
|
s = [{
|
|
18400
18403
|
type: "tag",
|
|
18401
18404
|
mode: "text",
|
|
@@ -18410,7 +18413,7 @@ var $n = function(e, t) {
|
|
|
18410
18413
|
t.appendChild(s);
|
|
18411
18414
|
};
|
|
18412
18415
|
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."), Na = function() {
|
|
18413
|
-
throw new
|
|
18416
|
+
throw new I("KaTeX doesn't work in quirks mode.");
|
|
18414
18417
|
});
|
|
18415
18418
|
var _j = function(e, t) {
|
|
18416
18419
|
var n = Hn(e, t).toMarkup();
|
|
@@ -18419,7 +18422,7 @@ var _j = function(e, t) {
|
|
|
18419
18422
|
var n = new xn(t);
|
|
18420
18423
|
return $n(e, n);
|
|
18421
18424
|
}, Va = function(e, t, n) {
|
|
18422
|
-
if (n.throwOnError || !(e instanceof
|
|
18425
|
+
if (n.throwOnError || !(e instanceof I))
|
|
18423
18426
|
throw e;
|
|
18424
18427
|
var s = M.makeSpan(["katex-error"], [new Ge(t)]);
|
|
18425
18428
|
return s.setAttribute("title", e.toString()), s.setAttribute("style", "color:" + n.errorColor), s;
|
|
@@ -18457,7 +18460,7 @@ var _j = function(e, t) {
|
|
|
18457
18460
|
/**
|
|
18458
18461
|
* KaTeX error, usually during parsing.
|
|
18459
18462
|
*/
|
|
18460
|
-
ParseError:
|
|
18463
|
+
ParseError: I,
|
|
18461
18464
|
/**
|
|
18462
18465
|
* The shema of Settings
|
|
18463
18466
|
*/
|
|
@@ -18543,7 +18546,7 @@ const Ej = ["innerHTML"], Mj = /* @__PURE__ */ te({
|
|
|
18543
18546
|
output: "html"
|
|
18544
18547
|
});
|
|
18545
18548
|
});
|
|
18546
|
-
const n =
|
|
18549
|
+
const n = R(() => e.intentions ? tt(e.intentions) ? e.intentions : st(e.intentions) : null), { center: s } = ae(e);
|
|
18547
18550
|
return (o, a) => (A(), K(Fe, {
|
|
18548
18551
|
title: o.title,
|
|
18549
18552
|
type: o.type,
|
|
@@ -18590,7 +18593,7 @@ const Tj = /* @__PURE__ */ jt(Mj, [["__scopeId", "data-v-24ff8b28"]]), Nn = /* @
|
|
|
18590
18593
|
icon: {}
|
|
18591
18594
|
},
|
|
18592
18595
|
setup(r) {
|
|
18593
|
-
const e = r, t =
|
|
18596
|
+
const e = r, t = R(() => e.icon ? e.icon : xV), n = R(() => `absolute ${Ze("bg", e.type + "light")} bottom-0 w-0 left-1/2 h-full -translate-x-1/2 transition-all ease-in-out duration-300 group-hover:w-[105%] -z-[1] group-focus:w-[105%]`), { url: s, title: o, intentions: a, mandateLevel: i, hideIcon: l } = ae(e);
|
|
18594
18597
|
return (d, h) => (A(), K(Fe, {
|
|
18595
18598
|
title: d.labelCard,
|
|
18596
18599
|
icon: t.value,
|
|
@@ -18676,7 +18679,7 @@ const Tj = /* @__PURE__ */ jt(Mj, [["__scopeId", "data-v-24ff8b28"]]), Nn = /* @
|
|
|
18676
18679
|
labelCard: {}
|
|
18677
18680
|
},
|
|
18678
18681
|
setup(r) {
|
|
18679
|
-
const e = r, t =
|
|
18682
|
+
const e = r, t = R(() => !(e.cover === Uj || e.cover.trim().length === 0)), { title: n, intentions: s, cover: o, hideCover: a, version: i, labelCard: l, hideIcon: d, mandateLevel: h, url: p } = ae(e);
|
|
18680
18683
|
return (f, g) => (A(), K(Fe, {
|
|
18681
18684
|
title: b(l),
|
|
18682
18685
|
icon: b(Bs),
|
|
@@ -18716,12 +18719,12 @@ const Tj = /* @__PURE__ */ jt(Mj, [["__scopeId", "data-v-24ff8b28"]]), Nn = /* @
|
|
|
18716
18719
|
_: 1
|
|
18717
18720
|
})) : N("", !0)
|
|
18718
18721
|
]),
|
|
18719
|
-
b(
|
|
18722
|
+
b(p) ? (A(), K(Le, {
|
|
18720
18723
|
key: 0,
|
|
18721
18724
|
rounded: "",
|
|
18722
18725
|
type: "base",
|
|
18723
18726
|
prependIcon: b(Uo),
|
|
18724
|
-
href: b(
|
|
18727
|
+
href: b(p)
|
|
18725
18728
|
}, {
|
|
18726
18729
|
default: P(() => [
|
|
18727
18730
|
he("[Accéder au logiciel]")
|
|
@@ -18772,7 +18775,7 @@ const Tj = /* @__PURE__ */ jt(Mj, [["__scopeId", "data-v-24ff8b28"]]), Nn = /* @
|
|
|
18772
18775
|
"basis-10/12",
|
|
18773
18776
|
"basis-11/12",
|
|
18774
18777
|
"basis-12/12"
|
|
18775
|
-
], n =
|
|
18778
|
+
], n = R(() => t[+e.cols]), s = R(() => e.desc ? Se(e.desc) : null), { title: o, content: a, cols: i } = ae(e);
|
|
18776
18779
|
return (l, d) => (A(), K(Fe, {
|
|
18777
18780
|
title: b(o),
|
|
18778
18781
|
icon: b(Go),
|
|
@@ -18830,19 +18833,19 @@ const Tj = /* @__PURE__ */ jt(Mj, [["__scopeId", "data-v-24ff8b28"]]), Nn = /* @
|
|
|
18830
18833
|
src: {}
|
|
18831
18834
|
},
|
|
18832
18835
|
setup(r) {
|
|
18833
|
-
const e = r, t = ye(!1), n =
|
|
18836
|
+
const e = r, t = ye(!1), n = R(() => e.term !== e.word ? `(${e.word})` : null), s = R(() => {
|
|
18834
18837
|
var E;
|
|
18835
18838
|
let w = null, C = (E = e.variations) == null ? void 0 : E.trim();
|
|
18836
18839
|
return (C == null ? void 0 : C.length) > 0 && (w = C.split(",")), w;
|
|
18837
|
-
}), o =
|
|
18840
|
+
}), o = R(() => {
|
|
18838
18841
|
var E;
|
|
18839
18842
|
let w = null, C = (E = e.relations) == null ? void 0 : E.trim();
|
|
18840
18843
|
return (C == null ? void 0 : C.length) > 0 && (w = C.split(",")), w;
|
|
18841
18844
|
}), a = oi(), i = (w) => {
|
|
18842
18845
|
a.hasRoute("glossary") && a.push({ path: "/glossary", query: { word: w } });
|
|
18843
|
-
}, l =
|
|
18846
|
+
}, l = R(() => e.domain === "null" ? null : e.domain), d = () => {
|
|
18844
18847
|
t.value = !t.value;
|
|
18845
|
-
}, { term: h, graminfo:
|
|
18848
|
+
}, { term: h, graminfo: p, labelClose: f, src: g } = ae(e);
|
|
18846
18849
|
return (w, C) => (A(), z(Me, null, [
|
|
18847
18850
|
k("span", {
|
|
18848
18851
|
onClick: d,
|
|
@@ -18867,7 +18870,7 @@ const Tj = /* @__PURE__ */ jt(Mj, [["__scopeId", "data-v-24ff8b28"]]), Nn = /* @
|
|
|
18867
18870
|
k("div", null, [
|
|
18868
18871
|
k("h3", Jj, [
|
|
18869
18872
|
he(j(b(h)) + " ", 1),
|
|
18870
|
-
k("span", Qj, j(b(
|
|
18873
|
+
k("span", Qj, j(b(p)), 1)
|
|
18871
18874
|
]),
|
|
18872
18875
|
n.value ? (A(), z("h4", eZ, j(n.value), 1)) : N("", !0)
|
|
18873
18876
|
]),
|
|
@@ -18980,22 +18983,22 @@ const Tj = /* @__PURE__ */ jt(Mj, [["__scopeId", "data-v-24ff8b28"]]), Nn = /* @
|
|
|
18980
18983
|
setup(r) {
|
|
18981
18984
|
const e = r, t = ye(!0), n = ye();
|
|
18982
18985
|
Gr(() => {
|
|
18983
|
-
var
|
|
18984
|
-
t.value && (
|
|
18986
|
+
var p = n.value;
|
|
18987
|
+
t.value && (p.style.maxHeight = p.scrollHeight + "px");
|
|
18985
18988
|
});
|
|
18986
18989
|
function s() {
|
|
18987
18990
|
t.value = !t.value;
|
|
18988
|
-
var
|
|
18989
|
-
|
|
18991
|
+
var p = n.value;
|
|
18992
|
+
p.style.maxHeight ? p.style.maxHeight = null : p.style.maxHeight = p.scrollHeight + "px", p.style.transition || (p.style.transition = "max-height 0.2s ease-out");
|
|
18990
18993
|
}
|
|
18991
|
-
const o =
|
|
18992
|
-
const f =
|
|
18994
|
+
const o = R(() => e.event.start_date ? d(e.event.start_date) : null), a = R(() => e.event.end_date ? d(e.event.end_date) : null), i = R(() => e.event.media.url.trim() !== "" ? e.event.media.url : null), l = R(() => e.event.tag ? Pr[e.event.tag.color] : Pr.noTag), d = (p) => {
|
|
18995
|
+
const f = p.day ? `${p.day}/` : "", g = p.month ? `${p.month}/` : "", w = p.year, C = p.hour, E = p.minute ? `:${p.minute}` : "";
|
|
18993
18996
|
return {
|
|
18994
18997
|
date: f + g + w,
|
|
18995
18998
|
hour: C + E
|
|
18996
18999
|
};
|
|
18997
19000
|
}, { event: h } = ae(e);
|
|
18998
|
-
return (
|
|
19001
|
+
return (p, f) => {
|
|
18999
19002
|
var g, w, C, E, S, T, D;
|
|
19000
19003
|
return A(), z("div", {
|
|
19001
19004
|
class: Z(`cursor-pointer ml-10 relative flex items-center p-2 ${l.value.border} border border-2 rounded-r-lg mb-8 flex-col md:flex-row space-y-4 md:space-y-0`),
|
|
@@ -19065,33 +19068,33 @@ const Oa = /* @__PURE__ */ jt(gZ, [["__scopeId", "data-v-89d118fb"]]), Vn = /* @
|
|
|
19065
19068
|
const n = (l) => {
|
|
19066
19069
|
const d = Pr[l];
|
|
19067
19070
|
return d || Pr.noTag;
|
|
19068
|
-
}, s =
|
|
19071
|
+
}, s = R(() => {
|
|
19069
19072
|
var l;
|
|
19070
19073
|
return ((l = t.value) == null ? void 0 : l.filter((d) => d.active)) || [];
|
|
19071
|
-
}), o =
|
|
19074
|
+
}), o = R(() => s.value.length === 0 ? e.events : e.events.filter((d) => {
|
|
19072
19075
|
if (d.tag)
|
|
19073
19076
|
return s.value.some((h) => {
|
|
19074
|
-
var
|
|
19075
|
-
return h.id === ((
|
|
19077
|
+
var p;
|
|
19078
|
+
return h.id === ((p = d.tag) == null ? void 0 : p.id);
|
|
19076
19079
|
});
|
|
19077
19080
|
})), a = (l) => {
|
|
19078
19081
|
l.active = !l.active;
|
|
19079
19082
|
}, { title: i } = ae(e);
|
|
19080
19083
|
return (l, d) => {
|
|
19081
|
-
var h,
|
|
19084
|
+
var h, p;
|
|
19082
19085
|
return A(), z("div", null, [
|
|
19083
19086
|
k("div", bZ, [
|
|
19084
|
-
k("h3", yZ, j((
|
|
19085
|
-
k("p", null, j((
|
|
19087
|
+
k("h3", yZ, j((h = b(i)) == null ? void 0 : h.text.headline), 1),
|
|
19088
|
+
k("p", null, j((p = b(i)) == null ? void 0 : p.text.text), 1),
|
|
19086
19089
|
k("div", xZ, [
|
|
19087
|
-
(A(!0), z(Me, null, Qe(t.value, (
|
|
19088
|
-
key:
|
|
19089
|
-
onClick: (
|
|
19090
|
-
class: Z(`mr-2 mb-2 inline-block cursor-pointer text-sm px-2 py-1 rounded border ${n(
|
|
19090
|
+
(A(!0), z(Me, null, Qe(t.value, (f) => (A(), z("span", {
|
|
19091
|
+
key: f.id,
|
|
19092
|
+
onClick: (g) => a(f),
|
|
19093
|
+
class: Z(`mr-2 mb-2 inline-block cursor-pointer text-sm px-2 py-1 rounded border ${n(f.color).border} ${f.active ? "text-white" : n(f.color).text} ${f.active ? n(f.color).bg : ""}`)
|
|
19091
19094
|
}, [
|
|
19092
|
-
he(j(
|
|
19095
|
+
he(j(f.title) + " ", 1),
|
|
19093
19096
|
W(de, {
|
|
19094
|
-
"icon-path":
|
|
19097
|
+
"icon-path": f.active ? b(cV) : b(lV),
|
|
19095
19098
|
size: "14"
|
|
19096
19099
|
}, null, 8, ["icon-path"])
|
|
19097
19100
|
], 10, wZ))), 128))
|
|
@@ -19102,9 +19105,9 @@ const Oa = /* @__PURE__ */ jt(gZ, [["__scopeId", "data-v-89d118fb"]]), Vn = /* @
|
|
|
19102
19105
|
tag: "div"
|
|
19103
19106
|
}, {
|
|
19104
19107
|
default: P(() => [
|
|
19105
|
-
(A(!0), z(Me, null, Qe(o.value, (
|
|
19106
|
-
key: `${
|
|
19107
|
-
event:
|
|
19108
|
+
(A(!0), z(Me, null, Qe(o.value, (f, g) => (A(), K(Oa, {
|
|
19109
|
+
key: `${g}-card-${f.id}`,
|
|
19110
|
+
event: f
|
|
19108
19111
|
}, null, 8, ["event"]))), 128))
|
|
19109
19112
|
]),
|
|
19110
19113
|
_: 1
|
|
@@ -19128,11 +19131,11 @@ const _Z = ["innerHTML"], CZ = { class: "max-w-screen-sm mx-auto" }, AZ = ["src"
|
|
|
19128
19131
|
hideIcon: { type: Boolean, default: !1 }
|
|
19129
19132
|
},
|
|
19130
19133
|
setup(r) {
|
|
19131
|
-
const e = r, t = ye(), n =
|
|
19134
|
+
const e = r, t = ye(), n = R(() => !!(e.src.endsWith(".mp4") || e.src.endsWith(".ogg") || e.src.endsWith(".webm"))), s = R(() => {
|
|
19132
19135
|
const h = e.src;
|
|
19133
19136
|
return !n.value && h.includes("https://vimeo.com/") ? h.replace("https://vimeo.com/", "https://player.vimeo.com/video/") : !n.value && h.includes("https://www.youtube.com/watch?") ? h.replace("https://www.youtube.com/watch?v=", "https://www.youtube.com/embed/") : h;
|
|
19134
|
-
}), o =
|
|
19135
|
-
return (h,
|
|
19137
|
+
}), o = R(() => e.intentions ? tt(e.intentions) ? e.intentions : st(e.intentions) : null), { src: a, title: i, hideIcon: l, type: d } = ae(e);
|
|
19138
|
+
return (h, p) => (A(), K(Fe, {
|
|
19136
19139
|
title: b(i),
|
|
19137
19140
|
type: b(d),
|
|
19138
19141
|
hideIcon: b(l),
|
|
@@ -19183,7 +19186,7 @@ const _Z = ["innerHTML"], CZ = { class: "max-w-screen-sm mx-auto" }, AZ = ["src"
|
|
|
19183
19186
|
hideIcon: { type: Boolean, default: !1 }
|
|
19184
19187
|
},
|
|
19185
19188
|
setup(r) {
|
|
19186
|
-
const e = r, t =
|
|
19189
|
+
const e = r, t = R(() => e.intentions ? tt(e.intentions) ? e.intentions : st(e.intentions) : null), { src: n, title: s, hideIcon: o, type: a } = ae(e);
|
|
19187
19190
|
return (i, l) => (A(), K(Fe, {
|
|
19188
19191
|
title: b(s),
|
|
19189
19192
|
type: b(a),
|
|
@@ -19295,8 +19298,8 @@ const Pa = /* @__PURE__ */ jt(zZ, [["render", BZ]]), On = /* @__PURE__ */ Object
|
|
|
19295
19298
|
emits: ["clicked"],
|
|
19296
19299
|
setup(r, { emit: e }) {
|
|
19297
19300
|
const t = r;
|
|
19298
|
-
|
|
19299
|
-
const n =
|
|
19301
|
+
R(() => t.color);
|
|
19302
|
+
const n = R(() => `
|
|
19300
19303
|
flex
|
|
19301
19304
|
flex-col
|
|
19302
19305
|
overflow-hidden
|
|
@@ -19304,7 +19307,7 @@ const Pa = /* @__PURE__ */ jt(zZ, [["render", BZ]]), On = /* @__PURE__ */ Object
|
|
|
19304
19307
|
absolute
|
|
19305
19308
|
${t.big ? "min-h-screen" : "h-96"}
|
|
19306
19309
|
bg-cover
|
|
19307
|
-
bg-center`), s =
|
|
19310
|
+
bg-center`), s = R(() => t.src ? t.src : "https://live.staticflickr.com/1757/42677241511_a350206ac2_b.jpg"), o = () => {
|
|
19308
19311
|
e("clicked");
|
|
19309
19312
|
}, { title: a, headerImgColor: i, big: l } = ae(t);
|
|
19310
19313
|
return (d, h) => (A(), z("section", {
|
|
@@ -19380,10 +19383,10 @@ const Pa = /* @__PURE__ */ jt(zZ, [["render", BZ]]), On = /* @__PURE__ */ Object
|
|
|
19380
19383
|
card: { type: Boolean, default: !1 }
|
|
19381
19384
|
},
|
|
19382
19385
|
setup(r) {
|
|
19383
|
-
const e = r, t =
|
|
19386
|
+
const e = r, t = R(() => {
|
|
19384
19387
|
if (e.card)
|
|
19385
19388
|
return "text-white";
|
|
19386
|
-
}), n =
|
|
19389
|
+
}), n = R(() => e.card ? "text-white" : "text-neutral-500"), s = R(() => e.card ? "rounded-lg" : "rounded-l-md"), { author: o, img: a, card: i } = ae(e);
|
|
19387
19390
|
return (l, d) => (A(), z("div", {
|
|
19388
19391
|
class: Z(b(i) ? "w-4/6 mx-auto" : "")
|
|
19389
19392
|
}, [
|