@elmethis/core 1.0.0-alpha.142 → 1.0.0-alpha.144
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Bash-BYALHxBA.js → Bash-GSL9ChkX.js} +1 -1
- package/dist/{Css-B_lIFKfr.js → Css-BpD2FnmH.js} +1 -1
- package/dist/{ElmShikiHighlighter-g41rU8iG.js → ElmShikiHighlighter-Baaxh5qO.js} +1 -1
- package/dist/{Rust-DinaeL7B.js → Rust-B3cMc4WT.js} +1 -1
- package/dist/{_basePickBy-Cu6p_7XW.js → _basePickBy-BgsikUza.js} +3 -3
- package/dist/{_baseUniq-EFAhWRZ_.js → _baseUniq-Dk_-eSxG.js} +2 -2
- package/dist/{arc-XU5WZqau.js → arc-Tg-eaHbR.js} +1 -1
- package/dist/{architecture-I3QFYML2-B3DQFv0i.js → architecture-4AB2E3PP-Chrq-63T.js} +1 -1
- package/dist/{architectureDiagram-PQUH6ZAG-C8VLuNh-.js → architectureDiagram-IEHRJDOE-MAVRVvv2.js} +4 -4
- package/dist/{blockDiagram-5JUZGEFE-Oz114lB1.js → blockDiagram-JOT3LUYC-CKkIgCS_.js} +4 -4
- package/dist/{c4Diagram-7JAJQR3Y-HFTedFjh.js → c4Diagram-VJAJSXHY-C5FrJ1VU.js} +2 -2
- package/dist/{channel-CZoD2q3F.js → channel-VCxTf7py.js} +1 -1
- package/dist/{chunk-IUKPXING-3BMeQhuQ.js → chunk-4BMEZGHF-khzbsag8.js} +1 -1
- package/dist/{chunk-5V4FS25O-BgKN92Ak.js → chunk-A2AXSNBT-DUPy88kj.js} +2 -2
- package/dist/{chunk-4IRHCMPZ-gjkKBXZH.js → chunk-AEK57VVT-Bs1FXI6I.js} +2 -2
- package/dist/{chunk-PLTTB2RT-C5TfzwCE.js → chunk-D6G4REZN-DdXUdxVu.js} +1 -1
- package/dist/{chunk-2O5F6CEG-_P2-sobY.js → chunk-RZ5BOZE2-CizJplIT.js} +1 -1
- package/dist/{chunk-66XRIAFR-DuWbXcnI.js → chunk-XZIHB7SX-CSXkzCLO.js} +1 -1
- package/dist/{classDiagram-v2-JRWBCVM4-DoPWwUsO.js → classDiagram-GIVACNV2-C5HKbXc2.js} +2 -2
- package/dist/{classDiagram-L266QK7U-DoPWwUsO.js → classDiagram-v2-COTLJTTW-C5HKbXc2.js} +2 -2
- package/dist/{clone-D41a067H.js → clone-BJDmXnNd.js} +1 -1
- package/dist/components/headings/ElmHeading1.vue.d.ts +7 -1
- package/dist/components/headings/ElmHeading2.vue.d.ts +6 -0
- package/dist/components/headings/ElmHeading3.vue.d.ts +6 -0
- package/dist/components/headings/ElmHeading4.vue.d.ts +6 -0
- package/dist/components/headings/ElmHeading5.vue.d.ts +6 -0
- package/dist/components/headings/ElmHeading6.vue.d.ts +6 -0
- package/dist/{dagre-QXRM2OYR-B5ENZ7-y.js → dagre-OKDRZEBW-L_CxMNQI.js} +6 -6
- package/dist/diagram-SSKATNLV-BXZpJ9de.js +221 -0
- package/dist/{diagram-DHSB7DV3-Dqr8CsWn.js → diagram-VNBRO52H-C3xxpF72.js} +3 -3
- package/dist/elmethis.js +2 -2
- package/dist/{erDiagram-MVNNDQJ5-CXPSajpL.js → erDiagram-Q7BY3M3F-CbORCNzI.js} +3 -3
- package/dist/{flowDiagram-27HWSH3H-DDg__sQI.js → flowDiagram-4HSFHLVR-B-PliSWy.js} +8 -5
- package/dist/{ganttDiagram-ZCE2YOAT-ItVuJVUp.js → ganttDiagram-APWFNJXF-C97Ji2O3.js} +2 -2
- package/dist/{gitGraph-YCYPL57B-CxR8jlxB.js → gitGraph-O2Q2CXLX-BpDZwxcF.js} +1 -1
- package/dist/{gitGraphDiagram-ISGV4O2Y-DhGxfQ9h.js → gitGraphDiagram-7IBYFJ6S-CY1uhPkp.js} +4 -4
- package/dist/{graph-C5-dvh3P.js → graph-CmCA4eiR.js} +2 -2
- package/dist/{index-BxVt53X-.js → index-gMownAXd.js} +923 -906
- package/dist/info-4N47QTOZ-DFx4WjNq.js +5 -0
- package/dist/{infoDiagram-SDLB2J7W-BkEUp5pe.js → infoDiagram-PH2N3AL5-c_j2Yoju.js} +2 -2
- package/dist/{journeyDiagram-D7A75E63-ByRCBusL.js → journeyDiagram-U35MCT3I-BcMl9Dil.js} +3 -3
- package/dist/{kanban-definition-4GR4SRK3-C9FjXyfa.js → kanban-definition-NDS4AKOZ-B0Axw2G0.js} +1 -1
- package/dist/{layout-DMOm3fPE.js → layout-Ne9qKUD3.js} +5 -5
- package/dist/{linear-vosxqUwV.js → linear-Bqd9VQRQ.js} +1 -1
- package/dist/{mermaid-parser.core-num6RVDI.js → mermaid-parser.core-DeS0KIh6.js} +3505 -3145
- package/dist/{mermaid.core-CUpbGzSU.js → mermaid.core-DfC7KyAz.js} +3100 -2994
- package/dist/{mindmap-definition-7EJRZJGK-BS0DECYa.js → mindmap-definition-ALO5MXBD-DL2ICtPT.js} +1 -1
- package/dist/{packet-W2GHVCYJ-BGxlha7O.js → packet-KVYON367-CWypICep.js} +1 -1
- package/dist/pie-R6RNRRYF-BujB7-Mv.js +5 -0
- package/dist/{pieDiagram-OC6WZ2SS-DyaIY5eh.js → pieDiagram-IB7DONF6-DYgBzZTK.js} +4 -4
- package/dist/{quadrantDiagram-OT6RYTWY-KqGbwtVf.js → quadrantDiagram-7GDLP6J5-BvqfQGNm.js} +2 -2
- package/dist/radar-MK3ICKWK-Dy6otnAI.js +5 -0
- package/dist/{requirementDiagram-BKGUWIPO-B8gVW9iZ.js → requirementDiagram-KVF5MWMF-CMU7cgmO.js} +4 -3
- package/dist/{sankeyDiagram-3MH5UGAL-CxuzhDHO.js → sankeyDiagram-QLVOVGJD-C8OUl-0X.js} +1 -1
- package/dist/{sequenceDiagram-C4VUPXDP-B5QnHsap.js → sequenceDiagram-X6HHIX6F-DqaJik6n.js} +3 -3
- package/dist/{stateDiagram-BVO7J4UH-C5UzuGHi.js → stateDiagram-DGXRK772-CqXODQKI.js} +4 -4
- package/dist/{stateDiagram-v2-WR7QG3WR-DlgZMlRM.js → stateDiagram-v2-YXO3MK2T-C4WKG1Q0.js} +2 -2
- package/dist/{timeline-definition-WOTUTIAU-CmmAwmKk.js → timeline-definition-BDJGKUSR-BF7uDvJA.js} +2 -2
- package/dist/{xychartDiagram-NJOKMNIP-DqY2kGQA.js → xychartDiagram-VJFVF3MP-3c2xni7N.js} +2 -2
- package/package.json +18 -20
- package/dist/elmethis.umd.cjs +0 -2672
- package/dist/info-46DW6VJ7-CzTI5cDT.js +0 -5
- package/dist/pie-BEWT4RHE-DWWPbog1.js +0 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as L, createElementBlock as I, openBlock as T, normalizeStyle as P, normalizeClass as k, createElementVNode as B, unref as D, renderSlot as ye, h as ce, useCssModule as An, createBlock as ae, resolveDynamicComponent as R0, createVNode as j, ref as J, watch as Fe, Transition as n0, withCtx as ze, defineAsyncComponent as Et, shallowRef as le, readonly as wl, getCurrentScope as xl, onScopeDispose as kl, onMounted as A0, nextTick as N0, toValue as ie, getCurrentInstance as jr, hasInjectionContext as Cn, inject as Sl, isRef as En, computed as Ce, watchEffect as Ml, reactive as Sa, toRaw as zl, createCommentVNode as oe, Fragment as ke, renderList as m0, onUpdated as Tl, createTextVNode as Vt, toDisplayString as _e, mergeModels as ht, useModel as mt, TransitionGroup as _l, mergeProps as $l, withDirectives as In, vModelDynamic as Al, vModelText as Cl, markRaw as ne } from "vue";
|
|
2
2
|
function Ne() {
|
|
3
3
|
return Ne = Object.assign ? Object.assign.bind() : function(r) {
|
|
4
4
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -12,13 +12,13 @@ function El(r) {
|
|
|
12
12
|
if (r === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
13
13
|
return r;
|
|
14
14
|
}
|
|
15
|
-
function
|
|
16
|
-
return
|
|
15
|
+
function ot(r, e) {
|
|
16
|
+
return ot = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, a) {
|
|
17
17
|
return t.__proto__ = a, t;
|
|
18
|
-
},
|
|
18
|
+
}, ot(r, e);
|
|
19
19
|
}
|
|
20
20
|
function Il(r, e) {
|
|
21
|
-
r.prototype = Object.create(e.prototype), r.prototype.constructor = r,
|
|
21
|
+
r.prototype = Object.create(e.prototype), r.prototype.constructor = r, ot(r, e);
|
|
22
22
|
}
|
|
23
23
|
function zr(r) {
|
|
24
24
|
return zr = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
|
|
@@ -47,7 +47,7 @@ function Dl(r, e, t) {
|
|
|
47
47
|
var a = [null];
|
|
48
48
|
a.push.apply(a, e);
|
|
49
49
|
var n = new (r.bind.apply(r, a))();
|
|
50
|
-
return t &&
|
|
50
|
+
return t && ot(n, t.prototype), n;
|
|
51
51
|
}
|
|
52
52
|
function Tr(r) {
|
|
53
53
|
var e = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
@@ -68,7 +68,7 @@ function Tr(r) {
|
|
|
68
68
|
writable: !0,
|
|
69
69
|
configurable: !0
|
|
70
70
|
}
|
|
71
|
-
}),
|
|
71
|
+
}), ot(n, a);
|
|
72
72
|
}, Tr(r);
|
|
73
73
|
}
|
|
74
74
|
var Nl = {
|
|
@@ -309,7 +309,7 @@ function Rl() {
|
|
|
309
309
|
a = a.replace(/%[a-z]/, l);
|
|
310
310
|
}), a;
|
|
311
311
|
}
|
|
312
|
-
var
|
|
312
|
+
var Ke = /* @__PURE__ */ function(r) {
|
|
313
313
|
Il(e, r);
|
|
314
314
|
function e(t) {
|
|
315
315
|
var a;
|
|
@@ -493,18 +493,18 @@ function ql(r) {
|
|
|
493
493
|
var e = r.toLowerCase();
|
|
494
494
|
return Ma[e] ? "#" + Ma[e] : r;
|
|
495
495
|
}
|
|
496
|
-
var
|
|
496
|
+
var Fl = /^#[a-fA-F0-9]{6}$/, Ll = /^#[a-fA-F0-9]{8}$/, Hl = /^#[a-fA-F0-9]{3}$/, Pl = /^#[a-fA-F0-9]{4}$/, sr = /^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i, jl = /^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i, Vl = /^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i, Gl = /^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;
|
|
497
497
|
function f0(r) {
|
|
498
498
|
if (typeof r != "string")
|
|
499
|
-
throw new
|
|
499
|
+
throw new Ke(3);
|
|
500
500
|
var e = ql(r);
|
|
501
|
-
if (e.match(
|
|
501
|
+
if (e.match(Fl))
|
|
502
502
|
return {
|
|
503
503
|
red: parseInt("" + e[1] + e[2], 16),
|
|
504
504
|
green: parseInt("" + e[3] + e[4], 16),
|
|
505
505
|
blue: parseInt("" + e[5] + e[6], 16)
|
|
506
506
|
};
|
|
507
|
-
if (e.match(
|
|
507
|
+
if (e.match(Ll)) {
|
|
508
508
|
var t = parseFloat((parseInt("" + e[7] + e[8], 16) / 255).toFixed(2));
|
|
509
509
|
return {
|
|
510
510
|
red: parseInt("" + e[1] + e[2], 16),
|
|
@@ -547,7 +547,7 @@ function f0(r) {
|
|
|
547
547
|
if (l) {
|
|
548
548
|
var u = parseInt("" + l[1], 10), c = parseInt("" + l[2], 10) / 100, h = parseInt("" + l[3], 10) / 100, f = "rgb(" + Rt(u, c, h) + ")", p = sr.exec(f);
|
|
549
549
|
if (!p)
|
|
550
|
-
throw new
|
|
550
|
+
throw new Ke(4, e, f);
|
|
551
551
|
return {
|
|
552
552
|
red: parseInt("" + p[1], 10),
|
|
553
553
|
green: parseInt("" + p[2], 10),
|
|
@@ -558,7 +558,7 @@ function f0(r) {
|
|
|
558
558
|
if (b) {
|
|
559
559
|
var y = parseInt("" + b[1], 10), S = parseInt("" + b[2], 10) / 100, z = parseInt("" + b[3], 10) / 100, M = "rgb(" + Rt(y, S, z) + ")", _ = sr.exec(M);
|
|
560
560
|
if (!_)
|
|
561
|
-
throw new
|
|
561
|
+
throw new Ke(4, e, M);
|
|
562
562
|
return {
|
|
563
563
|
red: parseInt("" + _[1], 10),
|
|
564
564
|
green: parseInt("" + _[2], 10),
|
|
@@ -566,7 +566,7 @@ function f0(r) {
|
|
|
566
566
|
alpha: parseFloat("" + b[4]) > 1 ? parseFloat("" + b[4]) / 100 : parseFloat("" + b[4])
|
|
567
567
|
};
|
|
568
568
|
}
|
|
569
|
-
throw new
|
|
569
|
+
throw new Ke(5);
|
|
570
570
|
}
|
|
571
571
|
function Ul(r) {
|
|
572
572
|
var e = r.red / 255, t = r.green / 255, a = r.blue / 255, n = Math.max(e, t, a), s = Math.min(e, t, a), l = (n + s) / 2;
|
|
@@ -626,19 +626,19 @@ function Dn(r, e, t) {
|
|
|
626
626
|
function Xl(r, e, t) {
|
|
627
627
|
if (typeof r == "object" && e === void 0 && t === void 0)
|
|
628
628
|
return Dn(r.hue, r.saturation, r.lightness);
|
|
629
|
-
throw new
|
|
629
|
+
throw new Ke(1);
|
|
630
630
|
}
|
|
631
631
|
function Zl(r, e, t, a) {
|
|
632
632
|
if (typeof r == "object" && e === void 0 && t === void 0 && a === void 0)
|
|
633
633
|
return r.alpha >= 1 ? Dn(r.hue, r.saturation, r.lightness) : "rgba(" + Rt(r.hue, r.saturation, r.lightness) + "," + r.alpha + ")";
|
|
634
|
-
throw new
|
|
634
|
+
throw new Ke(2);
|
|
635
635
|
}
|
|
636
636
|
function Ot(r, e, t) {
|
|
637
637
|
if (typeof r == "number" && typeof e == "number" && typeof t == "number")
|
|
638
638
|
return _r("#" + D0(r) + D0(e) + D0(t));
|
|
639
639
|
if (typeof r == "object" && e === void 0 && t === void 0)
|
|
640
640
|
return _r("#" + D0(r.red) + D0(r.green) + D0(r.blue));
|
|
641
|
-
throw new
|
|
641
|
+
throw new Ke(6);
|
|
642
642
|
}
|
|
643
643
|
function Y0(r, e, t, a) {
|
|
644
644
|
if (typeof r == "string" && typeof e == "number") {
|
|
@@ -650,7 +650,7 @@ function Y0(r, e, t, a) {
|
|
|
650
650
|
if (typeof r == "object" && e === void 0 && t === void 0 && a === void 0)
|
|
651
651
|
return r.alpha >= 1 ? Ot(r.red, r.green, r.blue) : "rgba(" + r.red + "," + r.green + "," + r.blue + "," + r.alpha + ")";
|
|
652
652
|
}
|
|
653
|
-
throw new
|
|
653
|
+
throw new Ke(7);
|
|
654
654
|
}
|
|
655
655
|
var Kl = function(e) {
|
|
656
656
|
return typeof e.red == "number" && typeof e.green == "number" && typeof e.blue == "number" && (typeof e.alpha != "number" || typeof e.alpha > "u");
|
|
@@ -662,12 +662,12 @@ var Kl = function(e) {
|
|
|
662
662
|
return typeof e.hue == "number" && typeof e.saturation == "number" && typeof e.lightness == "number" && typeof e.alpha == "number";
|
|
663
663
|
};
|
|
664
664
|
function C0(r) {
|
|
665
|
-
if (typeof r != "object") throw new
|
|
665
|
+
if (typeof r != "object") throw new Ke(8);
|
|
666
666
|
if (Ql(r)) return Y0(r);
|
|
667
667
|
if (Kl(r)) return Ot(r);
|
|
668
668
|
if (ei(r)) return Zl(r);
|
|
669
669
|
if (Jl(r)) return Xl(r);
|
|
670
|
-
throw new
|
|
670
|
+
throw new Ke(8);
|
|
671
671
|
}
|
|
672
672
|
function Nn(r, e, t) {
|
|
673
673
|
return function() {
|
|
@@ -675,7 +675,7 @@ function Nn(r, e, t) {
|
|
|
675
675
|
return n.length >= e ? r.apply(this, n) : Nn(r, e, n);
|
|
676
676
|
};
|
|
677
677
|
}
|
|
678
|
-
function
|
|
678
|
+
function Le(r) {
|
|
679
679
|
return Nn(r, r.length, []);
|
|
680
680
|
}
|
|
681
681
|
function ti(r, e) {
|
|
@@ -685,7 +685,7 @@ function ti(r, e) {
|
|
|
685
685
|
hue: t.hue + parseFloat(r)
|
|
686
686
|
}));
|
|
687
687
|
}
|
|
688
|
-
|
|
688
|
+
Le(ti);
|
|
689
689
|
function X0(r, e, t) {
|
|
690
690
|
return Math.max(r, Math.min(e, t));
|
|
691
691
|
}
|
|
@@ -696,7 +696,7 @@ function ri(r, e) {
|
|
|
696
696
|
lightness: X0(0, 1, t.lightness - parseFloat(r))
|
|
697
697
|
}));
|
|
698
698
|
}
|
|
699
|
-
var ai =
|
|
699
|
+
var ai = Le(ri), ni = ai;
|
|
700
700
|
function si(r, e) {
|
|
701
701
|
if (e === "transparent") return e;
|
|
702
702
|
var t = b0(e);
|
|
@@ -704,7 +704,7 @@ function si(r, e) {
|
|
|
704
704
|
saturation: X0(0, 1, t.saturation - parseFloat(r))
|
|
705
705
|
}));
|
|
706
706
|
}
|
|
707
|
-
|
|
707
|
+
Le(si);
|
|
708
708
|
function Vr(r) {
|
|
709
709
|
if (r === "transparent") return 0;
|
|
710
710
|
var e = f0(r), t = Object.keys(e).map(function(l) {
|
|
@@ -720,7 +720,7 @@ function li(r, e) {
|
|
|
720
720
|
lightness: X0(0, 1, t.lightness + parseFloat(r))
|
|
721
721
|
}));
|
|
722
722
|
}
|
|
723
|
-
|
|
723
|
+
Le(li);
|
|
724
724
|
function ii(r, e, t) {
|
|
725
725
|
if (e === "transparent") return t;
|
|
726
726
|
if (t === "transparent") return e;
|
|
@@ -737,7 +737,7 @@ function ii(r, e, t) {
|
|
|
737
737
|
};
|
|
738
738
|
return Y0(y);
|
|
739
739
|
}
|
|
740
|
-
var oi =
|
|
740
|
+
var oi = Le(ii), Rn = oi;
|
|
741
741
|
function ui(r, e) {
|
|
742
742
|
if (e === "transparent") return e;
|
|
743
743
|
var t = f0(e), a = typeof t.alpha == "number" ? t.alpha : 1, n = Ne({}, t, {
|
|
@@ -745,7 +745,7 @@ function ui(r, e) {
|
|
|
745
745
|
});
|
|
746
746
|
return Y0(n);
|
|
747
747
|
}
|
|
748
|
-
|
|
748
|
+
Le(ui);
|
|
749
749
|
function ci(r) {
|
|
750
750
|
if (typeof r == "object" && typeof r.red == "number" && typeof r.green == "number" && typeof r.blue == "number")
|
|
751
751
|
return typeof r.alpha == "number" ? Y0({
|
|
@@ -758,7 +758,7 @@ function ci(r) {
|
|
|
758
758
|
green: r.green,
|
|
759
759
|
blue: r.blue
|
|
760
760
|
});
|
|
761
|
-
throw new
|
|
761
|
+
throw new Ke(46);
|
|
762
762
|
}
|
|
763
763
|
function di(r, e) {
|
|
764
764
|
if (e === "transparent") return e;
|
|
@@ -767,33 +767,33 @@ function di(r, e) {
|
|
|
767
767
|
saturation: X0(0, 1, t.saturation + parseFloat(r))
|
|
768
768
|
}));
|
|
769
769
|
}
|
|
770
|
-
|
|
770
|
+
Le(di);
|
|
771
771
|
function hi(r, e) {
|
|
772
772
|
return e === "transparent" ? e : C0(Ne({}, b0(e), {
|
|
773
773
|
hue: parseFloat(r)
|
|
774
774
|
}));
|
|
775
775
|
}
|
|
776
|
-
|
|
776
|
+
Le(hi);
|
|
777
777
|
function mi(r, e) {
|
|
778
778
|
return e === "transparent" ? e : C0(Ne({}, b0(e), {
|
|
779
779
|
lightness: parseFloat(r)
|
|
780
780
|
}));
|
|
781
781
|
}
|
|
782
|
-
|
|
782
|
+
Le(mi);
|
|
783
783
|
function fi(r, e) {
|
|
784
784
|
return e === "transparent" ? e : C0(Ne({}, b0(e), {
|
|
785
785
|
saturation: parseFloat(r)
|
|
786
786
|
}));
|
|
787
787
|
}
|
|
788
|
-
|
|
788
|
+
Le(fi);
|
|
789
789
|
function pi(r, e) {
|
|
790
790
|
return e === "transparent" ? e : Rn(parseFloat(r), "rgb(0, 0, 0)", e);
|
|
791
791
|
}
|
|
792
|
-
|
|
792
|
+
Le(pi);
|
|
793
793
|
function vi(r, e) {
|
|
794
794
|
return e === "transparent" ? e : Rn(parseFloat(r), "rgb(255, 255, 255)", e);
|
|
795
795
|
}
|
|
796
|
-
|
|
796
|
+
Le(vi);
|
|
797
797
|
function gi(r, e) {
|
|
798
798
|
if (e === "transparent") return e;
|
|
799
799
|
var t = f0(e), a = typeof t.alpha == "number" ? t.alpha : 1, n = Ne({}, t, {
|
|
@@ -801,8 +801,8 @@ function gi(r, e) {
|
|
|
801
801
|
});
|
|
802
802
|
return Y0(n);
|
|
803
803
|
}
|
|
804
|
-
|
|
805
|
-
const bi = /* @__PURE__ */
|
|
804
|
+
Le(gi);
|
|
805
|
+
const bi = /* @__PURE__ */ L({
|
|
806
806
|
__name: "ElmBadge",
|
|
807
807
|
props: {
|
|
808
808
|
color: {}
|
|
@@ -810,20 +810,20 @@ const bi = /* @__PURE__ */ H({
|
|
|
810
810
|
setup(r) {
|
|
811
811
|
return (e, t) => (T(), I("span", {
|
|
812
812
|
class: k(e.$style.badge),
|
|
813
|
-
style:
|
|
813
|
+
style: P({ "--bg-color": e.color })
|
|
814
814
|
}, [
|
|
815
815
|
B("span", {
|
|
816
816
|
class: k(e.$style.left),
|
|
817
|
-
style:
|
|
817
|
+
style: P({
|
|
818
818
|
color: D(Vr)(e.color) > 0.5 ? "rgba(0,0,0,0.7)" : "rgba(255,255,255,0.7)"
|
|
819
819
|
})
|
|
820
820
|
}, [
|
|
821
|
-
|
|
821
|
+
ye(e.$slots, "left")
|
|
822
822
|
], 6),
|
|
823
823
|
B("span", {
|
|
824
824
|
class: k(e.$style.right)
|
|
825
825
|
}, [
|
|
826
|
-
|
|
826
|
+
ye(e.$slots, "right")
|
|
827
827
|
], 2)
|
|
828
828
|
], 6));
|
|
829
829
|
}
|
|
@@ -932,7 +932,7 @@ function Ti(r, e, t) {
|
|
|
932
932
|
}
|
|
933
933
|
return l(e), t.forEach(l), za(r, s);
|
|
934
934
|
}
|
|
935
|
-
function
|
|
935
|
+
function Fn(r, e) {
|
|
936
936
|
const t = [];
|
|
937
937
|
if (typeof r != "object" || typeof r.icons != "object")
|
|
938
938
|
return t;
|
|
@@ -958,7 +958,7 @@ function ir(r, e) {
|
|
|
958
958
|
return !1;
|
|
959
959
|
return !0;
|
|
960
960
|
}
|
|
961
|
-
function
|
|
961
|
+
function Ln(r) {
|
|
962
962
|
if (typeof r != "object" || r === null)
|
|
963
963
|
return null;
|
|
964
964
|
const e = r;
|
|
@@ -1008,7 +1008,7 @@ function G0(r, e) {
|
|
|
1008
1008
|
return t[e] || (t[e] = $i(r, e));
|
|
1009
1009
|
}
|
|
1010
1010
|
function Hn(r, e) {
|
|
1011
|
-
return
|
|
1011
|
+
return Ln(e) ? Fn(e, (t, a) => {
|
|
1012
1012
|
a ? r.icons[t] = a : r.missing.add(t);
|
|
1013
1013
|
}) : [];
|
|
1014
1014
|
}
|
|
@@ -1020,19 +1020,19 @@ function Ai(r, e, t) {
|
|
|
1020
1020
|
}
|
|
1021
1021
|
return !1;
|
|
1022
1022
|
}
|
|
1023
|
-
let
|
|
1023
|
+
let ut = !1;
|
|
1024
1024
|
function Pn(r) {
|
|
1025
|
-
return typeof r == "boolean" && (
|
|
1025
|
+
return typeof r == "boolean" && (ut = r), ut;
|
|
1026
1026
|
}
|
|
1027
1027
|
function Ci(r) {
|
|
1028
|
-
const e = typeof r == "string" ? Gt(r, !0,
|
|
1028
|
+
const e = typeof r == "string" ? Gt(r, !0, ut) : r;
|
|
1029
1029
|
if (e) {
|
|
1030
1030
|
const t = G0(e.provider, e.prefix), a = e.name;
|
|
1031
1031
|
return t.icons[a] || (t.missing.has(a) ? null : void 0);
|
|
1032
1032
|
}
|
|
1033
1033
|
}
|
|
1034
1034
|
function Ei(r, e) {
|
|
1035
|
-
const t = Gt(r, !0,
|
|
1035
|
+
const t = Gt(r, !0, ut);
|
|
1036
1036
|
if (!t)
|
|
1037
1037
|
return !1;
|
|
1038
1038
|
const a = G0(t.provider, t.prefix);
|
|
@@ -1041,9 +1041,9 @@ function Ei(r, e) {
|
|
|
1041
1041
|
function Ii(r, e) {
|
|
1042
1042
|
if (typeof r != "object")
|
|
1043
1043
|
return !1;
|
|
1044
|
-
if (typeof e != "string" && (e = r.provider || ""),
|
|
1044
|
+
if (typeof e != "string" && (e = r.provider || ""), ut && !e && !r.prefix) {
|
|
1045
1045
|
let n = !1;
|
|
1046
|
-
return
|
|
1046
|
+
return Ln(r) && (r.prefix = "", Fn(r, (s, l) => {
|
|
1047
1047
|
Ei(s, l) && (n = !0);
|
|
1048
1048
|
})), n;
|
|
1049
1049
|
}
|
|
@@ -1113,7 +1113,7 @@ function Oi(r, e, t) {
|
|
|
1113
1113
|
return Ri(a.defs, e + a.content + t);
|
|
1114
1114
|
}
|
|
1115
1115
|
const qi = (r) => r === "unset" || r === "undefined" || r === "none";
|
|
1116
|
-
function
|
|
1116
|
+
function Fi(r, e) {
|
|
1117
1117
|
const t = {
|
|
1118
1118
|
...Ut,
|
|
1119
1119
|
...r
|
|
@@ -1135,11 +1135,11 @@ function Li(r, e) {
|
|
|
1135
1135
|
), M.push("scale(-1 1)"), n.top = n.left = 0) : A && (M.push(
|
|
1136
1136
|
"translate(" + (0 - n.left).toString() + " " + (n.height + n.top).toString() + ")"
|
|
1137
1137
|
), M.push("scale(1 -1)"), n.top = n.left = 0);
|
|
1138
|
-
let
|
|
1138
|
+
let H;
|
|
1139
1139
|
switch (R < 0 && (R -= Math.floor(R / 4) * 4), R = R % 4, R) {
|
|
1140
1140
|
case 1:
|
|
1141
|
-
|
|
1142
|
-
"rotate(90 " +
|
|
1141
|
+
H = n.height / 2 + n.top, M.unshift(
|
|
1142
|
+
"rotate(90 " + H.toString() + " " + H.toString() + ")"
|
|
1143
1143
|
);
|
|
1144
1144
|
break;
|
|
1145
1145
|
case 2:
|
|
@@ -1148,12 +1148,12 @@ function Li(r, e) {
|
|
|
1148
1148
|
);
|
|
1149
1149
|
break;
|
|
1150
1150
|
case 3:
|
|
1151
|
-
|
|
1152
|
-
"rotate(-90 " +
|
|
1151
|
+
H = n.width / 2 + n.left, M.unshift(
|
|
1152
|
+
"rotate(-90 " + H.toString() + " " + H.toString() + ")"
|
|
1153
1153
|
);
|
|
1154
1154
|
break;
|
|
1155
1155
|
}
|
|
1156
|
-
R % 2 === 1 && (n.left !== n.top && (
|
|
1156
|
+
R % 2 === 1 && (n.left !== n.top && (H = n.left, n.left = n.top, n.top = H), n.width !== n.height && (H = n.width, n.width = n.height, n.height = H)), M.length && (s = Oi(
|
|
1157
1157
|
s,
|
|
1158
1158
|
'<g transform="' + M.join(" ") + '">',
|
|
1159
1159
|
"</g>"
|
|
@@ -1173,12 +1173,12 @@ function Li(r, e) {
|
|
|
1173
1173
|
body: s
|
|
1174
1174
|
};
|
|
1175
1175
|
}
|
|
1176
|
-
const
|
|
1176
|
+
const Li = /\sid="(\S+)"/g, Hi = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
|
|
1177
1177
|
let Pi = 0;
|
|
1178
1178
|
function ji(r, e = Hi) {
|
|
1179
1179
|
const t = [];
|
|
1180
1180
|
let a;
|
|
1181
|
-
for (; a =
|
|
1181
|
+
for (; a = Li.exec(r); )
|
|
1182
1182
|
t.push(a[1]);
|
|
1183
1183
|
if (!t.length)
|
|
1184
1184
|
return r;
|
|
@@ -1225,12 +1225,12 @@ function Gr(r) {
|
|
|
1225
1225
|
dataAfterTimeout: r.dataAfterTimeout !== !1
|
|
1226
1226
|
};
|
|
1227
1227
|
}
|
|
1228
|
-
const Ur = /* @__PURE__ */ Object.create(null),
|
|
1228
|
+
const Ur = /* @__PURE__ */ Object.create(null), tt = [
|
|
1229
1229
|
"https://api.simplesvg.com",
|
|
1230
1230
|
"https://api.unisvg.com"
|
|
1231
1231
|
], Bt = [];
|
|
1232
|
-
for (;
|
|
1233
|
-
|
|
1232
|
+
for (; tt.length > 0; )
|
|
1233
|
+
tt.length === 1 || Math.random() > 0.5 ? Bt.push(tt.shift()) : Bt.push(tt.pop());
|
|
1234
1234
|
Ur[""] = Gr({
|
|
1235
1235
|
resources: ["https://api.iconify.design"].concat(Bt)
|
|
1236
1236
|
});
|
|
@@ -1493,9 +1493,9 @@ function so(r, e, t, a) {
|
|
|
1493
1493
|
V.status === "pending" && (V.status = "aborted");
|
|
1494
1494
|
}), b = [];
|
|
1495
1495
|
}
|
|
1496
|
-
function
|
|
1496
|
+
function H(V, O, te) {
|
|
1497
1497
|
const K = O !== "success";
|
|
1498
|
-
switch (b = b.filter((
|
|
1498
|
+
switch (b = b.filter((fe) => fe !== V), c) {
|
|
1499
1499
|
case "pending":
|
|
1500
1500
|
break;
|
|
1501
1501
|
case "failed":
|
|
@@ -1514,11 +1514,11 @@ function so(r, e, t, a) {
|
|
|
1514
1514
|
return;
|
|
1515
1515
|
}
|
|
1516
1516
|
if (S(), R(), !r.random) {
|
|
1517
|
-
const
|
|
1518
|
-
|
|
1517
|
+
const fe = r.resources.indexOf(V.resource);
|
|
1518
|
+
fe !== -1 && fe !== r.index && (r.index = fe);
|
|
1519
1519
|
}
|
|
1520
|
-
c = "completed", y.forEach((
|
|
1521
|
-
|
|
1520
|
+
c = "completed", y.forEach((fe) => {
|
|
1521
|
+
fe(te);
|
|
1522
1522
|
});
|
|
1523
1523
|
}
|
|
1524
1524
|
function X() {
|
|
@@ -1540,7 +1540,7 @@ function so(r, e, t, a) {
|
|
|
1540
1540
|
status: "pending",
|
|
1541
1541
|
resource: V,
|
|
1542
1542
|
callback: (te, K) => {
|
|
1543
|
-
|
|
1543
|
+
H(O, te, K);
|
|
1544
1544
|
}
|
|
1545
1545
|
};
|
|
1546
1546
|
b.push(O), h++, p = setTimeout(X, r.rotate), t(V, e, O.callback);
|
|
@@ -1631,7 +1631,7 @@ function uo(r) {
|
|
|
1631
1631
|
invalid: t
|
|
1632
1632
|
};
|
|
1633
1633
|
}
|
|
1634
|
-
function
|
|
1634
|
+
function rt(r, e, t) {
|
|
1635
1635
|
function a() {
|
|
1636
1636
|
const n = r.pendingIcons;
|
|
1637
1637
|
e.forEach((s) => {
|
|
@@ -1667,7 +1667,7 @@ function co(r, e) {
|
|
|
1667
1667
|
Ea(
|
|
1668
1668
|
r.loadIcons(n, a, t),
|
|
1669
1669
|
(f) => {
|
|
1670
|
-
|
|
1670
|
+
rt(r, n, f);
|
|
1671
1671
|
}
|
|
1672
1672
|
);
|
|
1673
1673
|
return;
|
|
@@ -1682,22 +1682,22 @@ function co(r, e) {
|
|
|
1682
1682
|
[f]: b
|
|
1683
1683
|
}
|
|
1684
1684
|
} : null;
|
|
1685
|
-
|
|
1685
|
+
rt(r, [f], y);
|
|
1686
1686
|
});
|
|
1687
1687
|
});
|
|
1688
1688
|
return;
|
|
1689
1689
|
}
|
|
1690
1690
|
const { valid: l, invalid: u } = uo(n);
|
|
1691
|
-
if (u.length &&
|
|
1691
|
+
if (u.length && rt(r, u, null), !l.length)
|
|
1692
1692
|
return;
|
|
1693
1693
|
const c = a.match(On) ? Cr(t) : null;
|
|
1694
1694
|
if (!c) {
|
|
1695
|
-
|
|
1695
|
+
rt(r, l, null);
|
|
1696
1696
|
return;
|
|
1697
1697
|
}
|
|
1698
1698
|
c.prepare(t, a, l).forEach((f) => {
|
|
1699
1699
|
io(t, f, (p) => {
|
|
1700
|
-
|
|
1700
|
+
rt(r, f.icons, p);
|
|
1701
1701
|
});
|
|
1702
1702
|
});
|
|
1703
1703
|
}));
|
|
@@ -1876,14 +1876,14 @@ const Ra = (r, e) => {
|
|
|
1876
1876
|
}
|
|
1877
1877
|
}
|
|
1878
1878
|
}
|
|
1879
|
-
const c =
|
|
1879
|
+
const c = Fi(r, t), h = c.attributes;
|
|
1880
1880
|
if (t.inline && (s.verticalAlign = "-0.125em"), n === "svg") {
|
|
1881
1881
|
a.style = {
|
|
1882
1882
|
...s,
|
|
1883
1883
|
...u
|
|
1884
1884
|
}, Object.assign(a, h);
|
|
1885
1885
|
let z = 0, M = e.id;
|
|
1886
|
-
return typeof M == "string" && (M = M.replace(/-/g, "_")), a.innerHTML = ji(c.body, M ? () => M + "ID" + z++ : "iconifyVue"),
|
|
1886
|
+
return typeof M == "string" && (M = M.replace(/-/g, "_")), a.innerHTML = ji(c.body, M ? () => M + "ID" + z++ : "iconifyVue"), ce("svg", a);
|
|
1887
1887
|
}
|
|
1888
1888
|
const { body: f, width: p, height: b } = r, y = n === "mask" || (n === "bg" ? !1 : f.indexOf("currentColor") !== -1), S = go(f, {
|
|
1889
1889
|
...h,
|
|
@@ -1898,7 +1898,7 @@ const Ra = (r, e) => {
|
|
|
1898
1898
|
...ko,
|
|
1899
1899
|
...y ? Er : Wn,
|
|
1900
1900
|
...u
|
|
1901
|
-
},
|
|
1901
|
+
}, ce("span", a);
|
|
1902
1902
|
};
|
|
1903
1903
|
Pn(!0);
|
|
1904
1904
|
Vi("", Qi);
|
|
@@ -1936,7 +1936,7 @@ if (typeof document < "u" && typeof window < "u") {
|
|
|
1936
1936
|
const So = {
|
|
1937
1937
|
...Ut,
|
|
1938
1938
|
body: ""
|
|
1939
|
-
}, Q =
|
|
1939
|
+
}, Q = L({
|
|
1940
1940
|
// Do not inherit other attributes: it is handled by render()
|
|
1941
1941
|
inheritAttrs: !1,
|
|
1942
1942
|
// Set initial data
|
|
@@ -2003,7 +2003,7 @@ const So = {
|
|
|
2003
2003
|
...e.data
|
|
2004
2004
|
}, t);
|
|
2005
2005
|
}
|
|
2006
|
-
}), Mo = /* @__PURE__ */
|
|
2006
|
+
}), Mo = /* @__PURE__ */ L({
|
|
2007
2007
|
__name: "ElmInlineText",
|
|
2008
2008
|
props: {
|
|
2009
2009
|
text: {},
|
|
@@ -2019,7 +2019,7 @@ const So = {
|
|
|
2019
2019
|
setup(r) {
|
|
2020
2020
|
const e = r, t = An(), a = () => {
|
|
2021
2021
|
const n = e.backgroundColor != null ? Vr(e.backgroundColor) < 0.5 ? "rgba(255, 255, 255, 0.7)" : "rgba(0, 0, 0, 0.7)" : void 0;
|
|
2022
|
-
let s =
|
|
2022
|
+
let s = ce(
|
|
2023
2023
|
"span",
|
|
2024
2024
|
{
|
|
2025
2025
|
class: t.text,
|
|
@@ -2031,16 +2031,16 @@ const So = {
|
|
|
2031
2031
|
},
|
|
2032
2032
|
e.text
|
|
2033
2033
|
);
|
|
2034
|
-
return e.strikethrough && (s =
|
|
2034
|
+
return e.strikethrough && (s = ce("del", {}, s)), e.italic && (s = ce("em", {}, s)), e.underline && (s = ce("ins", {}, s)), e.bold && (s = ce("strong", {}, s)), e.code && (s = ce("code", { class: t.code }, s)), s;
|
|
2035
2035
|
};
|
|
2036
|
-
return (n, s) => (T(),
|
|
2036
|
+
return (n, s) => (T(), ae(R0(a())));
|
|
2037
2037
|
}
|
|
2038
2038
|
}), zo = "_text_zzh16_1", To = "_code_zzh16_19", _o = {
|
|
2039
2039
|
text: zo,
|
|
2040
2040
|
code: To
|
|
2041
2041
|
}, $o = {
|
|
2042
2042
|
$style: _o
|
|
2043
|
-
},
|
|
2043
|
+
}, se = /* @__PURE__ */ G(Mo, [["__cssModules", $o]]), Ao = /* @__PURE__ */ L({
|
|
2044
2044
|
__name: "ElmTag",
|
|
2045
2045
|
props: {
|
|
2046
2046
|
text: {},
|
|
@@ -2049,12 +2049,12 @@ const So = {
|
|
|
2049
2049
|
setup(r) {
|
|
2050
2050
|
return (e, t) => (T(), I("div", {
|
|
2051
2051
|
class: k(e.$style.tag),
|
|
2052
|
-
style:
|
|
2052
|
+
style: P({ "--color": e.color })
|
|
2053
2053
|
}, [
|
|
2054
|
-
|
|
2054
|
+
j(D(Q), {
|
|
2055
2055
|
icon: "tabler:tag",
|
|
2056
2056
|
class: k(e.$style.icon),
|
|
2057
|
-
style:
|
|
2057
|
+
style: P({
|
|
2058
2058
|
backgroundColor: e.color,
|
|
2059
2059
|
"--font-color": D(Vr)(e.color) > 0.5 ? "rgba(0,0,0,0.7)" : "rgba(255,255,255,0.7)"
|
|
2060
2060
|
})
|
|
@@ -2062,7 +2062,7 @@ const So = {
|
|
|
2062
2062
|
B("div", {
|
|
2063
2063
|
class: k(e.$style.text)
|
|
2064
2064
|
}, [
|
|
2065
|
-
|
|
2065
|
+
j(se, {
|
|
2066
2066
|
style: { color: "unset" },
|
|
2067
2067
|
text: e.text
|
|
2068
2068
|
}, null, 8, ["text"])
|
|
@@ -2075,30 +2075,30 @@ const So = {
|
|
|
2075
2075
|
text: Io
|
|
2076
2076
|
}, Do = {
|
|
2077
2077
|
$style: Bo
|
|
2078
|
-
}, km = /* @__PURE__ */ G(Ao, [["__cssModules", Do]]), No = /* @__PURE__ */
|
|
2078
|
+
}, km = /* @__PURE__ */ G(Ao, [["__cssModules", Do]]), No = /* @__PURE__ */ L({
|
|
2079
2079
|
__name: "ElmLanguageIcon",
|
|
2080
2080
|
props: {
|
|
2081
2081
|
size: { default: 24 },
|
|
2082
2082
|
language: {}
|
|
2083
2083
|
},
|
|
2084
2084
|
setup(r) {
|
|
2085
|
-
const e = r, t = An(), a =
|
|
2085
|
+
const e = r, t = An(), a = ce(Q, { icon: "mdi:terminal-line", class: t.icon }), n = () => {
|
|
2086
2086
|
switch (e.language.toLowerCase()) {
|
|
2087
2087
|
case "rust":
|
|
2088
2088
|
case "rs":
|
|
2089
2089
|
return Et({
|
|
2090
|
-
loader: () => import("./Rust-
|
|
2090
|
+
loader: () => import("./Rust-B3cMc4WT.js"),
|
|
2091
2091
|
loadingComponent: a
|
|
2092
2092
|
});
|
|
2093
2093
|
case "javascript":
|
|
2094
2094
|
case "js":
|
|
2095
|
-
return
|
|
2095
|
+
return ce(Q, {
|
|
2096
2096
|
icon: "devicon:javascript",
|
|
2097
2097
|
class: t.icon
|
|
2098
2098
|
});
|
|
2099
2099
|
case "typescript":
|
|
2100
2100
|
case "ts":
|
|
2101
|
-
return
|
|
2101
|
+
return ce(Q, {
|
|
2102
2102
|
icon: "devicon:typescript",
|
|
2103
2103
|
class: t.icon
|
|
2104
2104
|
});
|
|
@@ -2106,83 +2106,83 @@ const So = {
|
|
|
2106
2106
|
case "sh":
|
|
2107
2107
|
case "shell":
|
|
2108
2108
|
return Et({
|
|
2109
|
-
loader: () => import("./Bash-
|
|
2109
|
+
loader: () => import("./Bash-GSL9ChkX.js"),
|
|
2110
2110
|
loadingComponent: a
|
|
2111
2111
|
});
|
|
2112
2112
|
case "tf":
|
|
2113
2113
|
case "terraform":
|
|
2114
2114
|
case "hcl":
|
|
2115
|
-
return
|
|
2115
|
+
return ce(Q, {
|
|
2116
2116
|
icon: "devicon:terraform",
|
|
2117
2117
|
class: t.icon
|
|
2118
2118
|
});
|
|
2119
2119
|
case "html":
|
|
2120
|
-
return
|
|
2120
|
+
return ce(Q, {
|
|
2121
2121
|
icon: "devicon:html5",
|
|
2122
2122
|
class: t.icon
|
|
2123
2123
|
});
|
|
2124
2124
|
case "css":
|
|
2125
2125
|
return Et({
|
|
2126
|
-
loader: () => import("./Css-
|
|
2126
|
+
loader: () => import("./Css-BpD2FnmH.js"),
|
|
2127
2127
|
loadingComponent: a
|
|
2128
2128
|
});
|
|
2129
2129
|
case "npm":
|
|
2130
|
-
return
|
|
2130
|
+
return ce(Q, {
|
|
2131
2131
|
icon: "devicon:npm",
|
|
2132
2132
|
class: t.icon
|
|
2133
2133
|
});
|
|
2134
2134
|
case "java":
|
|
2135
|
-
return
|
|
2135
|
+
return ce(Q, {
|
|
2136
2136
|
icon: "devicon:java",
|
|
2137
2137
|
class: t.icon
|
|
2138
2138
|
});
|
|
2139
2139
|
case "kotlin":
|
|
2140
2140
|
case "kt":
|
|
2141
|
-
return
|
|
2141
|
+
return ce(Q, {
|
|
2142
2142
|
icon: "devicon:kotlin",
|
|
2143
2143
|
class: t.icon
|
|
2144
2144
|
});
|
|
2145
2145
|
case "go":
|
|
2146
2146
|
case "golang":
|
|
2147
|
-
return
|
|
2147
|
+
return ce(Q, {
|
|
2148
2148
|
icon: "logos:go",
|
|
2149
2149
|
class: t.icon
|
|
2150
2150
|
});
|
|
2151
2151
|
case "python":
|
|
2152
2152
|
case "py":
|
|
2153
|
-
return
|
|
2153
|
+
return ce(Q, {
|
|
2154
2154
|
icon: "devicon:python",
|
|
2155
2155
|
class: t.icon
|
|
2156
2156
|
});
|
|
2157
2157
|
case "sql":
|
|
2158
|
-
return
|
|
2158
|
+
return ce(Q, {
|
|
2159
2159
|
icon: "vscode-icons:file-type-sql",
|
|
2160
2160
|
class: t.icon
|
|
2161
2161
|
});
|
|
2162
2162
|
case "json":
|
|
2163
|
-
return
|
|
2163
|
+
return ce(Q, {
|
|
2164
2164
|
icon: "devicon:json",
|
|
2165
2165
|
class: t.icon
|
|
2166
2166
|
});
|
|
2167
2167
|
case "lua":
|
|
2168
|
-
return
|
|
2168
|
+
return ce(Q, {
|
|
2169
2169
|
icon: "devicon:lua",
|
|
2170
2170
|
class: t.icon
|
|
2171
2171
|
});
|
|
2172
2172
|
case "cs":
|
|
2173
2173
|
case "csharp":
|
|
2174
|
-
return
|
|
2174
|
+
return ce(Q, {
|
|
2175
2175
|
icon: "devicon:csharp",
|
|
2176
2176
|
class: t.icon
|
|
2177
2177
|
});
|
|
2178
2178
|
case "cpp":
|
|
2179
2179
|
case "c++":
|
|
2180
|
-
return
|
|
2180
|
+
return ce(Q, {
|
|
2181
2181
|
icon: "devicon:cplusplus",
|
|
2182
2182
|
class: t.icon
|
|
2183
2183
|
});
|
|
2184
2184
|
case "c":
|
|
2185
|
-
return
|
|
2185
|
+
return ce(Q, {
|
|
2186
2186
|
icon: "devicon:c",
|
|
2187
2187
|
class: t.icon
|
|
2188
2188
|
});
|
|
@@ -2190,18 +2190,18 @@ const So = {
|
|
|
2190
2190
|
return a;
|
|
2191
2191
|
}
|
|
2192
2192
|
}, s = J(n());
|
|
2193
|
-
return
|
|
2193
|
+
return Fe(
|
|
2194
2194
|
() => e.language,
|
|
2195
2195
|
() => {
|
|
2196
2196
|
s.value = n();
|
|
2197
2197
|
}
|
|
2198
2198
|
), (l, u) => (T(), I("div", {
|
|
2199
2199
|
class: k(l.$style.block),
|
|
2200
|
-
style:
|
|
2200
|
+
style: P({ "--size": `${l.size}px` })
|
|
2201
2201
|
}, [
|
|
2202
|
-
|
|
2202
|
+
j(n0, { mode: "out-in" }, {
|
|
2203
2203
|
default: ze(() => [
|
|
2204
|
-
(T(),
|
|
2204
|
+
(T(), ae(D(s), {
|
|
2205
2205
|
class: k(l.$style.icon),
|
|
2206
2206
|
key: l.language
|
|
2207
2207
|
}, null, 8, ["class"]))
|
|
@@ -2213,10 +2213,10 @@ const So = {
|
|
|
2213
2213
|
}), Ro = "_block_fz7i5_1", Oo = "_icon_fz7i5_7", qo = {
|
|
2214
2214
|
block: Ro,
|
|
2215
2215
|
icon: Oo
|
|
2216
|
-
},
|
|
2216
|
+
}, Fo = {
|
|
2217
2217
|
$style: qo
|
|
2218
|
-
},
|
|
2219
|
-
function
|
|
2218
|
+
}, Lo = /* @__PURE__ */ G(No, [["__cssModules", Fo], ["__scopeId", "data-v-880dc126"]]);
|
|
2219
|
+
function ft(r) {
|
|
2220
2220
|
return xl() ? (kl(r), !0) : !1;
|
|
2221
2221
|
}
|
|
2222
2222
|
const ur = /* @__PURE__ */ new WeakMap(), Ho = (...r) => {
|
|
@@ -2227,7 +2227,7 @@ const ur = /* @__PURE__ */ new WeakMap(), Ho = (...r) => {
|
|
|
2227
2227
|
return a && ur.has(a) && t in ur.get(a) ? ur.get(a)[t] : Sl(...r);
|
|
2228
2228
|
}, Yr = typeof window < "u" && typeof document < "u";
|
|
2229
2229
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
2230
|
-
const Yn = (r) => r != null, Po = Object.prototype.toString, jo = (r) => Po.call(r) === "[object Object]",
|
|
2230
|
+
const Yn = (r) => r != null, Po = Object.prototype.toString, jo = (r) => Po.call(r) === "[object Object]", Qe = () => {
|
|
2231
2231
|
};
|
|
2232
2232
|
function Xn(r, e) {
|
|
2233
2233
|
function t(...a) {
|
|
@@ -2238,13 +2238,13 @@ function Xn(r, e) {
|
|
|
2238
2238
|
return t;
|
|
2239
2239
|
}
|
|
2240
2240
|
function Vo(r, e = {}) {
|
|
2241
|
-
let t, a, n =
|
|
2241
|
+
let t, a, n = Qe;
|
|
2242
2242
|
const s = (c) => {
|
|
2243
|
-
clearTimeout(c), n(), n =
|
|
2243
|
+
clearTimeout(c), n(), n = Qe;
|
|
2244
2244
|
};
|
|
2245
2245
|
let l;
|
|
2246
2246
|
return (c) => {
|
|
2247
|
-
const h =
|
|
2247
|
+
const h = ie(r), f = ie(e.maxWait);
|
|
2248
2248
|
return t && s(t), h <= 0 || f !== void 0 && f <= 0 ? (a && (s(a), a = null), Promise.resolve(c())) : new Promise((p, b) => {
|
|
2249
2249
|
n = e.rejectOnCancel ? b : p, l = c, f && !a && (a = setTimeout(() => {
|
|
2250
2250
|
t && s(t), a = null, p(l());
|
|
@@ -2255,13 +2255,13 @@ function Vo(r, e = {}) {
|
|
|
2255
2255
|
};
|
|
2256
2256
|
}
|
|
2257
2257
|
function Go(...r) {
|
|
2258
|
-
let e = 0, t, a = !0, n =
|
|
2258
|
+
let e = 0, t, a = !0, n = Qe, s, l, u, c, h;
|
|
2259
2259
|
!En(r[0]) && typeof r[0] == "object" ? { delay: l, trailing: u = !0, leading: c = !0, rejectOnCancel: h = !1 } = r[0] : [l, u = !0, c = !0, h = !1] = r;
|
|
2260
2260
|
const f = () => {
|
|
2261
|
-
t && (clearTimeout(t), t = void 0, n(), n =
|
|
2261
|
+
t && (clearTimeout(t), t = void 0, n(), n = Qe);
|
|
2262
2262
|
};
|
|
2263
2263
|
return (b) => {
|
|
2264
|
-
const y =
|
|
2264
|
+
const y = ie(l), S = Date.now() - e, z = () => s = b();
|
|
2265
2265
|
return f(), y <= 0 ? (e = Date.now(), z()) : (S > y && (c || !a) ? (e = Date.now(), z()) : u && (s = new Promise((M, _) => {
|
|
2266
2266
|
n = h ? _ : M, t = setTimeout(() => {
|
|
2267
2267
|
e = Date.now(), a = !0, M(z()), f();
|
|
@@ -2287,7 +2287,7 @@ function Uo(r) {
|
|
|
2287
2287
|
function Oa(r) {
|
|
2288
2288
|
return r.endsWith("rem") ? Number.parseFloat(r) * 16 : Number.parseFloat(r);
|
|
2289
2289
|
}
|
|
2290
|
-
function
|
|
2290
|
+
function st(r) {
|
|
2291
2291
|
return Array.isArray(r) ? r : [r];
|
|
2292
2292
|
}
|
|
2293
2293
|
function Wo(r) {
|
|
@@ -2312,10 +2312,10 @@ function Br(r, e = !1) {
|
|
|
2312
2312
|
function t(p, { flush: b = "sync", deep: y = !1, timeout: S, throwOnTimeout: z } = {}) {
|
|
2313
2313
|
let M = null;
|
|
2314
2314
|
const A = [new Promise((R) => {
|
|
2315
|
-
M =
|
|
2315
|
+
M = Fe(
|
|
2316
2316
|
r,
|
|
2317
|
-
(
|
|
2318
|
-
p(
|
|
2317
|
+
(H) => {
|
|
2318
|
+
p(H) !== e && (M ? M() : N0(() => M == null ? void 0 : M()), R(H));
|
|
2319
2319
|
},
|
|
2320
2320
|
{
|
|
2321
2321
|
flush: b,
|
|
@@ -2325,19 +2325,19 @@ function Br(r, e = !1) {
|
|
|
2325
2325
|
);
|
|
2326
2326
|
})];
|
|
2327
2327
|
return S != null && A.push(
|
|
2328
|
-
Ir(S, z).then(() =>
|
|
2328
|
+
Ir(S, z).then(() => ie(r)).finally(() => M == null ? void 0 : M())
|
|
2329
2329
|
), Promise.race(A);
|
|
2330
2330
|
}
|
|
2331
2331
|
function a(p, b) {
|
|
2332
2332
|
if (!En(p))
|
|
2333
|
-
return t((
|
|
2333
|
+
return t((H) => H === p, b);
|
|
2334
2334
|
const { flush: y = "sync", deep: S = !1, timeout: z, throwOnTimeout: M } = b ?? {};
|
|
2335
2335
|
let _ = null;
|
|
2336
|
-
const R = [new Promise((
|
|
2337
|
-
_ =
|
|
2336
|
+
const R = [new Promise((H) => {
|
|
2337
|
+
_ = Fe(
|
|
2338
2338
|
[r, p],
|
|
2339
2339
|
([X, V]) => {
|
|
2340
|
-
e !== (X === V) && (_ ? _() : N0(() => _ == null ? void 0 : _()),
|
|
2340
|
+
e !== (X === V) && (_ ? _() : N0(() => _ == null ? void 0 : _()), H(X));
|
|
2341
2341
|
},
|
|
2342
2342
|
{
|
|
2343
2343
|
flush: y,
|
|
@@ -2347,7 +2347,7 @@ function Br(r, e = !1) {
|
|
|
2347
2347
|
);
|
|
2348
2348
|
})];
|
|
2349
2349
|
return z != null && R.push(
|
|
2350
|
-
Ir(z, M).then(() =>
|
|
2350
|
+
Ir(z, M).then(() => ie(r)).finally(() => (_ == null || _(), ie(r)))
|
|
2351
2351
|
), Promise.race(R);
|
|
2352
2352
|
}
|
|
2353
2353
|
function n(p) {
|
|
@@ -2365,7 +2365,7 @@ function Br(r, e = !1) {
|
|
|
2365
2365
|
function c(p, b) {
|
|
2366
2366
|
return t((y) => {
|
|
2367
2367
|
const S = Array.from(y);
|
|
2368
|
-
return S.includes(p) || S.includes(
|
|
2368
|
+
return S.includes(p) || S.includes(ie(p));
|
|
2369
2369
|
}, b);
|
|
2370
2370
|
}
|
|
2371
2371
|
function h(p) {
|
|
@@ -2375,7 +2375,7 @@ function Br(r, e = !1) {
|
|
|
2375
2375
|
let y = -1;
|
|
2376
2376
|
return t(() => (y += 1, y >= p), b);
|
|
2377
2377
|
}
|
|
2378
|
-
return Array.isArray(
|
|
2378
|
+
return Array.isArray(ie(r)) ? {
|
|
2379
2379
|
toMatch: t,
|
|
2380
2380
|
toContains: c,
|
|
2381
2381
|
changed: h,
|
|
@@ -2404,7 +2404,7 @@ function Ko(r, e, t = {}) {
|
|
|
2404
2404
|
const {
|
|
2405
2405
|
immediate: a = !0,
|
|
2406
2406
|
immediateCallback: n = !1
|
|
2407
|
-
} = t, s =
|
|
2407
|
+
} = t, s = le(!1);
|
|
2408
2408
|
let l = null;
|
|
2409
2409
|
function u() {
|
|
2410
2410
|
l && (clearTimeout(l), l = null);
|
|
@@ -2415,16 +2415,16 @@ function Ko(r, e, t = {}) {
|
|
|
2415
2415
|
function h(...f) {
|
|
2416
2416
|
n && r(), u(), s.value = !0, l = setTimeout(() => {
|
|
2417
2417
|
s.value = !1, l = null, r(...f);
|
|
2418
|
-
},
|
|
2418
|
+
}, ie(e));
|
|
2419
2419
|
}
|
|
2420
|
-
return a && (s.value = !0, Yr && h()),
|
|
2420
|
+
return a && (s.value = !0, Yr && h()), ft(c), {
|
|
2421
2421
|
isPending: wl(s),
|
|
2422
2422
|
start: h,
|
|
2423
2423
|
stop: c
|
|
2424
2424
|
};
|
|
2425
2425
|
}
|
|
2426
2426
|
function Qo(r, e, t) {
|
|
2427
|
-
return
|
|
2427
|
+
return Fe(
|
|
2428
2428
|
r,
|
|
2429
2429
|
e,
|
|
2430
2430
|
{
|
|
@@ -2434,26 +2434,26 @@ function Qo(r, e, t) {
|
|
|
2434
2434
|
);
|
|
2435
2435
|
}
|
|
2436
2436
|
const y0 = Yr ? window : void 0, Zn = Yr ? window.navigator : void 0;
|
|
2437
|
-
function
|
|
2437
|
+
function Je(r) {
|
|
2438
2438
|
var e;
|
|
2439
|
-
const t =
|
|
2439
|
+
const t = ie(r);
|
|
2440
2440
|
return (e = t == null ? void 0 : t.$el) != null ? e : t;
|
|
2441
2441
|
}
|
|
2442
2442
|
function Ge(...r) {
|
|
2443
2443
|
const e = [], t = () => {
|
|
2444
2444
|
e.forEach((u) => u()), e.length = 0;
|
|
2445
2445
|
}, a = (u, c, h, f) => (u.addEventListener(c, h, f), () => u.removeEventListener(c, h, f)), n = Ce(() => {
|
|
2446
|
-
const u =
|
|
2446
|
+
const u = st(ie(r[0])).filter((c) => c != null);
|
|
2447
2447
|
return u.every((c) => typeof c != "string") ? u : void 0;
|
|
2448
2448
|
}), s = Qo(
|
|
2449
2449
|
() => {
|
|
2450
2450
|
var u, c;
|
|
2451
2451
|
return [
|
|
2452
|
-
(c = (u = n.value) == null ? void 0 : u.map((h) =>
|
|
2453
|
-
|
|
2454
|
-
|
|
2452
|
+
(c = (u = n.value) == null ? void 0 : u.map((h) => Je(h))) != null ? c : [y0].filter((h) => h != null),
|
|
2453
|
+
st(ie(n.value ? r[1] : r[0])),
|
|
2454
|
+
st(D(n.value ? r[2] : r[1])),
|
|
2455
2455
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
2456
|
-
|
|
2456
|
+
ie(n.value ? r[3] : r[2])
|
|
2457
2457
|
];
|
|
2458
2458
|
},
|
|
2459
2459
|
([u, c, h, f]) => {
|
|
@@ -2472,10 +2472,10 @@ function Ge(...r) {
|
|
|
2472
2472
|
), l = () => {
|
|
2473
2473
|
s(), t();
|
|
2474
2474
|
};
|
|
2475
|
-
return
|
|
2475
|
+
return ft(t), l;
|
|
2476
2476
|
}
|
|
2477
2477
|
function Jo() {
|
|
2478
|
-
const r =
|
|
2478
|
+
const r = le(!1), e = jr();
|
|
2479
2479
|
return e && A0(() => {
|
|
2480
2480
|
r.value = !0;
|
|
2481
2481
|
}, e), r;
|
|
@@ -2490,9 +2490,9 @@ function e1(r, e, t = {}) {
|
|
|
2490
2490
|
const l = Z0(() => a && "MutationObserver" in a), u = () => {
|
|
2491
2491
|
s && (s.disconnect(), s = void 0);
|
|
2492
2492
|
}, c = Ce(() => {
|
|
2493
|
-
const b =
|
|
2493
|
+
const b = ie(r), y = st(b).map(Je).filter(Yn);
|
|
2494
2494
|
return new Set(y);
|
|
2495
|
-
}), h =
|
|
2495
|
+
}), h = Fe(
|
|
2496
2496
|
() => c.value,
|
|
2497
2497
|
(b) => {
|
|
2498
2498
|
u(), l.value && b.size && (s = new MutationObserver(e), b.forEach((y) => s.observe(y, n)));
|
|
@@ -2501,7 +2501,7 @@ function e1(r, e, t = {}) {
|
|
|
2501
2501
|
), f = () => s == null ? void 0 : s.takeRecords(), p = () => {
|
|
2502
2502
|
h(), u();
|
|
2503
2503
|
};
|
|
2504
|
-
return
|
|
2504
|
+
return ft(p), {
|
|
2505
2505
|
isSupported: l,
|
|
2506
2506
|
stop: p,
|
|
2507
2507
|
takeRecords: f
|
|
@@ -2520,28 +2520,28 @@ function Kn(...r) {
|
|
|
2520
2520
|
dedupe: u = !1
|
|
2521
2521
|
} = a, c = t1(e);
|
|
2522
2522
|
return Ge(n, s, (f) => {
|
|
2523
|
-
f.repeat &&
|
|
2523
|
+
f.repeat && ie(u) || c(f) && t(f);
|
|
2524
2524
|
}, l);
|
|
2525
2525
|
}
|
|
2526
2526
|
function r1(r, e, t) {
|
|
2527
2527
|
const {
|
|
2528
2528
|
immediate: a = !0,
|
|
2529
2529
|
delay: n = 0,
|
|
2530
|
-
onError: s =
|
|
2531
|
-
onSuccess: l =
|
|
2530
|
+
onError: s = Qe,
|
|
2531
|
+
onSuccess: l = Qe,
|
|
2532
2532
|
resetOnExecute: u = !0,
|
|
2533
2533
|
shallow: c = !0,
|
|
2534
2534
|
throwError: h
|
|
2535
|
-
} = t ?? {}, f = c ?
|
|
2535
|
+
} = t ?? {}, f = c ? le(e) : J(e), p = le(!1), b = le(!1), y = le(void 0);
|
|
2536
2536
|
async function S(_ = 0, ...A) {
|
|
2537
2537
|
u && (f.value = e), y.value = void 0, p.value = !1, b.value = !0, _ > 0 && await Ir(_);
|
|
2538
2538
|
const R = typeof r == "function" ? r(...A) : r;
|
|
2539
2539
|
try {
|
|
2540
|
-
const
|
|
2541
|
-
f.value =
|
|
2542
|
-
} catch (
|
|
2543
|
-
if (y.value =
|
|
2544
|
-
throw
|
|
2540
|
+
const H = await R;
|
|
2541
|
+
f.value = H, p.value = !0, l(H);
|
|
2542
|
+
} catch (H) {
|
|
2543
|
+
if (y.value = H, s(H), h)
|
|
2544
|
+
throw H;
|
|
2545
2545
|
} finally {
|
|
2546
2546
|
b.value = !1;
|
|
2547
2547
|
}
|
|
@@ -2573,13 +2573,13 @@ function n1() {
|
|
|
2573
2573
|
return typeof r == "number" ? r : void 0;
|
|
2574
2574
|
}
|
|
2575
2575
|
function s1(r, e = {}) {
|
|
2576
|
-
const { window: t = y0, ssrWidth: a = n1() } = e, n = Z0(() => t && "matchMedia" in t && typeof t.matchMedia == "function"), s =
|
|
2576
|
+
const { window: t = y0, ssrWidth: a = n1() } = e, n = Z0(() => t && "matchMedia" in t && typeof t.matchMedia == "function"), s = le(typeof a == "number"), l = le(), u = le(!1), c = (h) => {
|
|
2577
2577
|
u.value = h.matches;
|
|
2578
2578
|
};
|
|
2579
2579
|
return Ml(() => {
|
|
2580
2580
|
if (s.value) {
|
|
2581
2581
|
s.value = !n.value;
|
|
2582
|
-
const h =
|
|
2582
|
+
const h = ie(r).split(",");
|
|
2583
2583
|
u.value = h.some((f) => {
|
|
2584
2584
|
const p = f.includes("not all"), b = f.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), y = f.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);
|
|
2585
2585
|
let S = !!(b || y);
|
|
@@ -2587,14 +2587,14 @@ function s1(r, e = {}) {
|
|
|
2587
2587
|
});
|
|
2588
2588
|
return;
|
|
2589
2589
|
}
|
|
2590
|
-
n.value && (l.value = t.matchMedia(
|
|
2590
|
+
n.value && (l.value = t.matchMedia(ie(r)), u.value = l.value.matches);
|
|
2591
2591
|
}), Ge(l, "change", c, { passive: !0 }), Ce(() => u.value);
|
|
2592
2592
|
}
|
|
2593
2593
|
function qa(r, e = {}) {
|
|
2594
2594
|
const {
|
|
2595
2595
|
controls: t = !1,
|
|
2596
2596
|
navigator: a = Zn
|
|
2597
|
-
} = e, n = Z0(() => a && "permissions" in a), s =
|
|
2597
|
+
} = e, n = Z0(() => a && "permissions" in a), s = le(), l = typeof r == "string" ? { name: r } : r, u = le(), c = () => {
|
|
2598
2598
|
var f, p;
|
|
2599
2599
|
u.value = (p = (f = s.value) == null ? void 0 : f.state) != null ? p : "prompt";
|
|
2600
2600
|
};
|
|
@@ -2626,7 +2626,7 @@ function Zr(r = {}) {
|
|
|
2626
2626
|
source: a,
|
|
2627
2627
|
copiedDuring: n = 1500,
|
|
2628
2628
|
legacy: s = !1
|
|
2629
|
-
} = r, l = Z0(() => e && "clipboard" in e), u = qa("clipboard-read"), c = qa("clipboard-write"), h = Ce(() => l.value || s), f =
|
|
2629
|
+
} = r, l = Z0(() => e && "clipboard" in e), u = qa("clipboard-read"), c = qa("clipboard-write"), h = Ce(() => l.value || s), f = le(""), p = le(!1), b = Ko(() => p.value = !1, n, { immediate: !1 });
|
|
2630
2630
|
async function y() {
|
|
2631
2631
|
let A = !(l.value && _(u.value));
|
|
2632
2632
|
if (!A)
|
|
@@ -2638,7 +2638,7 @@ function Zr(r = {}) {
|
|
|
2638
2638
|
A && (f.value = M());
|
|
2639
2639
|
}
|
|
2640
2640
|
h.value && t && Ge(["copy", "cut"], y, { passive: !0 });
|
|
2641
|
-
async function S(A =
|
|
2641
|
+
async function S(A = ie(a)) {
|
|
2642
2642
|
if (h.value && A != null) {
|
|
2643
2643
|
let R = !(l.value && _(c.value));
|
|
2644
2644
|
if (!R)
|
|
@@ -2655,8 +2655,8 @@ function Zr(r = {}) {
|
|
|
2655
2655
|
R.value = A ?? "", R.style.position = "absolute", R.style.opacity = "0", document.body.appendChild(R), R.select(), document.execCommand("copy"), R.remove();
|
|
2656
2656
|
}
|
|
2657
2657
|
function M() {
|
|
2658
|
-
var A, R,
|
|
2659
|
-
return (
|
|
2658
|
+
var A, R, H;
|
|
2659
|
+
return (H = (R = (A = document == null ? void 0 : document.getSelection) == null ? void 0 : A.call(document)) == null ? void 0 : R.toString()) != null ? H : "";
|
|
2660
2660
|
}
|
|
2661
2661
|
function _(A) {
|
|
2662
2662
|
return A === "granted" || A === "prompt";
|
|
@@ -2674,9 +2674,9 @@ function l1(r, e, t = {}) {
|
|
|
2674
2674
|
const l = Z0(() => a && "ResizeObserver" in a), u = () => {
|
|
2675
2675
|
s && (s.disconnect(), s = void 0);
|
|
2676
2676
|
}, c = Ce(() => {
|
|
2677
|
-
const p =
|
|
2678
|
-
return Array.isArray(p) ? p.map((b) =>
|
|
2679
|
-
}), h =
|
|
2677
|
+
const p = ie(r);
|
|
2678
|
+
return Array.isArray(p) ? p.map((b) => Je(b)) : [Je(p)];
|
|
2679
|
+
}), h = Fe(
|
|
2680
2680
|
c,
|
|
2681
2681
|
(p) => {
|
|
2682
2682
|
if (u(), l.value && a) {
|
|
@@ -2689,7 +2689,7 @@ function l1(r, e, t = {}) {
|
|
|
2689
2689
|
), f = () => {
|
|
2690
2690
|
u(), h();
|
|
2691
2691
|
};
|
|
2692
|
-
return
|
|
2692
|
+
return ft(f), {
|
|
2693
2693
|
isSupported: l,
|
|
2694
2694
|
stop: f
|
|
2695
2695
|
};
|
|
@@ -2701,9 +2701,9 @@ function i1(r, e = {}) {
|
|
|
2701
2701
|
windowScroll: n = !0,
|
|
2702
2702
|
immediate: s = !0,
|
|
2703
2703
|
updateTiming: l = "sync"
|
|
2704
|
-
} = e, u =
|
|
2704
|
+
} = e, u = le(0), c = le(0), h = le(0), f = le(0), p = le(0), b = le(0), y = le(0), S = le(0);
|
|
2705
2705
|
function z() {
|
|
2706
|
-
const _ =
|
|
2706
|
+
const _ = Je(r);
|
|
2707
2707
|
if (!_) {
|
|
2708
2708
|
t && (u.value = 0, c.value = 0, h.value = 0, f.value = 0, p.value = 0, b.value = 0, y.value = 0, S.value = 0);
|
|
2709
2709
|
return;
|
|
@@ -2714,7 +2714,7 @@ function i1(r, e = {}) {
|
|
|
2714
2714
|
function M() {
|
|
2715
2715
|
l === "sync" ? z() : l === "next-frame" && requestAnimationFrame(() => z());
|
|
2716
2716
|
}
|
|
2717
|
-
return l1(r, M),
|
|
2717
|
+
return l1(r, M), Fe(() => Je(r), (_) => !_ && M()), e1(r, M, {
|
|
2718
2718
|
attributeFilter: ["style", "class"]
|
|
2719
2719
|
}), n && Ge("scroll", M, { capture: !0, passive: !0 }), a && Ge("resize", M, { passive: !0 }), Xr(() => {
|
|
2720
2720
|
s && M();
|
|
@@ -2738,32 +2738,32 @@ function e0(r, e, t = {}) {
|
|
|
2738
2738
|
window: l = y0,
|
|
2739
2739
|
immediate: u = !0
|
|
2740
2740
|
} = t, c = Z0(() => l && "IntersectionObserver" in l), h = Ce(() => {
|
|
2741
|
-
const S =
|
|
2742
|
-
return
|
|
2741
|
+
const S = ie(r);
|
|
2742
|
+
return st(S).map(Je).filter(Yn);
|
|
2743
2743
|
});
|
|
2744
|
-
let f =
|
|
2745
|
-
const p =
|
|
2746
|
-
() => [h.value,
|
|
2744
|
+
let f = Qe;
|
|
2745
|
+
const p = le(u), b = c.value ? Fe(
|
|
2746
|
+
() => [h.value, Je(a), p.value],
|
|
2747
2747
|
([S, z]) => {
|
|
2748
2748
|
if (f(), !p.value || !S.length)
|
|
2749
2749
|
return;
|
|
2750
2750
|
const M = new IntersectionObserver(
|
|
2751
2751
|
e,
|
|
2752
2752
|
{
|
|
2753
|
-
root:
|
|
2753
|
+
root: Je(z),
|
|
2754
2754
|
rootMargin: n,
|
|
2755
2755
|
threshold: s
|
|
2756
2756
|
}
|
|
2757
2757
|
);
|
|
2758
2758
|
S.forEach((_) => _ && M.observe(_)), f = () => {
|
|
2759
|
-
M.disconnect(), f =
|
|
2759
|
+
M.disconnect(), f = Qe;
|
|
2760
2760
|
};
|
|
2761
2761
|
},
|
|
2762
2762
|
{ immediate: u, flush: "post" }
|
|
2763
|
-
) :
|
|
2763
|
+
) : Qe, y = () => {
|
|
2764
2764
|
f(), b(), p.value = !1;
|
|
2765
2765
|
};
|
|
2766
|
-
return
|
|
2766
|
+
return ft(y), {
|
|
2767
2767
|
isSupported: c,
|
|
2768
2768
|
isActive: p,
|
|
2769
2769
|
pause() {
|
|
@@ -2776,7 +2776,7 @@ function e0(r, e, t = {}) {
|
|
|
2776
2776
|
};
|
|
2777
2777
|
}
|
|
2778
2778
|
function o1(r, e = {}) {
|
|
2779
|
-
const { initialValue: t = !1, focusVisible: a = !1, preventScroll: n = !1 } = e, s =
|
|
2779
|
+
const { initialValue: t = !1, focusVisible: a = !1, preventScroll: n = !1 } = e, s = le(!1), l = Ce(() => Je(r)), u = { passive: !0 };
|
|
2780
2780
|
Ge(l, "focus", (h) => {
|
|
2781
2781
|
var f, p;
|
|
2782
2782
|
(!a || (p = (f = h.target).matches) != null && p.call(f, ":focus-visible")) && (s.value = !0);
|
|
@@ -2788,7 +2788,7 @@ function o1(r, e = {}) {
|
|
|
2788
2788
|
!h && s.value ? (f = l.value) == null || f.blur() : h && !s.value && ((p = l.value) == null || p.focus({ preventScroll: n }));
|
|
2789
2789
|
}
|
|
2790
2790
|
});
|
|
2791
|
-
return
|
|
2791
|
+
return Fe(
|
|
2792
2792
|
l,
|
|
2793
2793
|
() => {
|
|
2794
2794
|
c.value = t;
|
|
@@ -2804,26 +2804,26 @@ async function u1(r) {
|
|
|
2804
2804
|
}
|
|
2805
2805
|
function c1(r, e = {}) {
|
|
2806
2806
|
const t = r1(
|
|
2807
|
-
() => u1(
|
|
2807
|
+
() => u1(ie(r)),
|
|
2808
2808
|
void 0,
|
|
2809
2809
|
{
|
|
2810
2810
|
resetOnExecute: !0,
|
|
2811
2811
|
...e
|
|
2812
2812
|
}
|
|
2813
2813
|
);
|
|
2814
|
-
return
|
|
2815
|
-
() =>
|
|
2814
|
+
return Fe(
|
|
2815
|
+
() => ie(r),
|
|
2816
2816
|
() => t.execute(e.delay),
|
|
2817
2817
|
{ deep: !0 }
|
|
2818
2818
|
), t;
|
|
2819
2819
|
}
|
|
2820
|
-
const
|
|
2820
|
+
const Fa = 1;
|
|
2821
2821
|
function d1(r, e = {}) {
|
|
2822
2822
|
const {
|
|
2823
2823
|
throttle: t = 0,
|
|
2824
2824
|
idle: a = 200,
|
|
2825
|
-
onStop: n =
|
|
2826
|
-
onScroll: s =
|
|
2825
|
+
onStop: n = Qe,
|
|
2826
|
+
onScroll: s = Qe,
|
|
2827
2827
|
offset: l = {
|
|
2828
2828
|
left: 0,
|
|
2829
2829
|
right: 0,
|
|
@@ -2839,7 +2839,7 @@ function d1(r, e = {}) {
|
|
|
2839
2839
|
onError: f = (O) => {
|
|
2840
2840
|
console.error(O);
|
|
2841
2841
|
}
|
|
2842
|
-
} = e, p =
|
|
2842
|
+
} = e, p = le(0), b = le(0), y = Ce({
|
|
2843
2843
|
get() {
|
|
2844
2844
|
return p.value;
|
|
2845
2845
|
},
|
|
@@ -2855,21 +2855,21 @@ function d1(r, e = {}) {
|
|
|
2855
2855
|
}
|
|
2856
2856
|
});
|
|
2857
2857
|
function z(O, te) {
|
|
2858
|
-
var K,
|
|
2858
|
+
var K, fe, we, he;
|
|
2859
2859
|
if (!h)
|
|
2860
2860
|
return;
|
|
2861
|
-
const Me =
|
|
2861
|
+
const Me = ie(r);
|
|
2862
2862
|
if (!Me)
|
|
2863
2863
|
return;
|
|
2864
|
-
(
|
|
2865
|
-
top: (K =
|
|
2866
|
-
left: (
|
|
2867
|
-
behavior:
|
|
2864
|
+
(we = Me instanceof Document ? h.document.body : Me) == null || we.scrollTo({
|
|
2865
|
+
top: (K = ie(te)) != null ? K : S.value,
|
|
2866
|
+
left: (fe = ie(O)) != null ? fe : y.value,
|
|
2867
|
+
behavior: ie(c)
|
|
2868
2868
|
});
|
|
2869
|
-
const
|
|
2870
|
-
y != null && (p.value =
|
|
2869
|
+
const pe = ((he = Me == null ? void 0 : Me.document) == null ? void 0 : he.documentElement) || (Me == null ? void 0 : Me.documentElement) || Me;
|
|
2870
|
+
y != null && (p.value = pe.scrollLeft), S != null && (b.value = pe.scrollTop);
|
|
2871
2871
|
}
|
|
2872
|
-
const M =
|
|
2872
|
+
const M = le(!1), _ = Sa({
|
|
2873
2873
|
left: !0,
|
|
2874
2874
|
right: !1,
|
|
2875
2875
|
top: !0,
|
|
@@ -2881,24 +2881,24 @@ function d1(r, e = {}) {
|
|
|
2881
2881
|
bottom: !1
|
|
2882
2882
|
}), R = (O) => {
|
|
2883
2883
|
M.value && (M.value = !1, A.left = !1, A.right = !1, A.top = !1, A.bottom = !1, n(O));
|
|
2884
|
-
},
|
|
2884
|
+
}, H = Yo(R, t + a), X = (O) => {
|
|
2885
2885
|
var te;
|
|
2886
2886
|
if (!h)
|
|
2887
2887
|
return;
|
|
2888
|
-
const K = ((te = O == null ? void 0 : O.document) == null ? void 0 : te.documentElement) || (O == null ? void 0 : O.documentElement) ||
|
|
2889
|
-
A.left =
|
|
2890
|
-
const Ie = Math.abs(
|
|
2891
|
-
|
|
2888
|
+
const K = ((te = O == null ? void 0 : O.document) == null ? void 0 : te.documentElement) || (O == null ? void 0 : O.documentElement) || Je(O), { display: fe, flexDirection: we, direction: he } = getComputedStyle(K), Me = he === "rtl" ? -1 : 1, pe = K.scrollLeft;
|
|
2889
|
+
A.left = pe < p.value, A.right = pe > p.value;
|
|
2890
|
+
const Ie = Math.abs(pe * Me) <= (l.left || 0), Xe = Math.abs(pe * Me) + K.clientWidth >= K.scrollWidth - (l.right || 0) - Fa;
|
|
2891
|
+
fe === "flex" && we === "row-reverse" ? (_.left = Xe, _.right = Ie) : (_.left = Ie, _.right = Xe), p.value = pe;
|
|
2892
2892
|
let Be = K.scrollTop;
|
|
2893
2893
|
O === h.document && !Be && (Be = h.document.body.scrollTop), A.top = Be < b.value, A.bottom = Be > b.value;
|
|
2894
|
-
const o0 = Math.abs(Be) <= (l.top || 0), q0 = Math.abs(Be) + K.clientHeight >= K.scrollHeight - (l.bottom || 0) -
|
|
2895
|
-
|
|
2894
|
+
const o0 = Math.abs(Be) <= (l.top || 0), q0 = Math.abs(Be) + K.clientHeight >= K.scrollHeight - (l.bottom || 0) - Fa;
|
|
2895
|
+
fe === "flex" && we === "column-reverse" ? (_.top = q0, _.bottom = o0) : (_.top = o0, _.bottom = q0), b.value = Be;
|
|
2896
2896
|
}, V = (O) => {
|
|
2897
2897
|
var te;
|
|
2898
2898
|
if (!h)
|
|
2899
2899
|
return;
|
|
2900
2900
|
const K = (te = O.target.documentElement) != null ? te : O.target;
|
|
2901
|
-
X(K), M.value = !0,
|
|
2901
|
+
X(K), M.value = !0, H(O), s(O);
|
|
2902
2902
|
};
|
|
2903
2903
|
return Ge(
|
|
2904
2904
|
r,
|
|
@@ -2907,7 +2907,7 @@ function d1(r, e = {}) {
|
|
|
2907
2907
|
u
|
|
2908
2908
|
), Xr(() => {
|
|
2909
2909
|
try {
|
|
2910
|
-
const O =
|
|
2910
|
+
const O = ie(r);
|
|
2911
2911
|
if (!O)
|
|
2912
2912
|
return;
|
|
2913
2913
|
X(O);
|
|
@@ -2926,7 +2926,7 @@ function d1(r, e = {}) {
|
|
|
2926
2926
|
arrivedState: _,
|
|
2927
2927
|
directions: A,
|
|
2928
2928
|
measure() {
|
|
2929
|
-
const O =
|
|
2929
|
+
const O = ie(r);
|
|
2930
2930
|
h && O && X(O);
|
|
2931
2931
|
}
|
|
2932
2932
|
};
|
|
@@ -2943,7 +2943,7 @@ function h1(r = {}) {
|
|
|
2943
2943
|
listenOrientation: n = !0,
|
|
2944
2944
|
includeScrollbar: s = !0,
|
|
2945
2945
|
type: l = "inner"
|
|
2946
|
-
} = r, u =
|
|
2946
|
+
} = r, u = le(t), c = le(a), h = () => {
|
|
2947
2947
|
if (e)
|
|
2948
2948
|
if (l === "outer")
|
|
2949
2949
|
u.value = e.outerWidth, c.value = e.outerHeight;
|
|
@@ -2956,11 +2956,11 @@ function h1(r = {}) {
|
|
|
2956
2956
|
const f = { passive: !0 };
|
|
2957
2957
|
if (Ge("resize", h, f), e && l === "visual" && e.visualViewport && Ge(e.visualViewport, "resize", h, f), n) {
|
|
2958
2958
|
const p = s1("(orientation: portrait)");
|
|
2959
|
-
|
|
2959
|
+
Fe(p, () => h());
|
|
2960
2960
|
}
|
|
2961
2961
|
return { width: u, height: c };
|
|
2962
2962
|
}
|
|
2963
|
-
const m1 = /* @__PURE__ */
|
|
2963
|
+
const m1 = /* @__PURE__ */ L({
|
|
2964
2964
|
__name: "ElmTooltip",
|
|
2965
2965
|
setup(r) {
|
|
2966
2966
|
const e = J(null), { x: t, y: a, width: n, height: s } = i1(e), l = h1(), u = J(!1);
|
|
@@ -2975,13 +2975,13 @@ const m1 = /* @__PURE__ */ H({
|
|
|
2975
2975
|
u.value = !1;
|
|
2976
2976
|
})
|
|
2977
2977
|
}, [
|
|
2978
|
-
|
|
2979
|
-
|
|
2978
|
+
ye(c.$slots, "original", {}, void 0, !0),
|
|
2979
|
+
j(n0, null, {
|
|
2980
2980
|
default: ze(() => [
|
|
2981
2981
|
u.value ? (T(), I("div", {
|
|
2982
2982
|
key: 0,
|
|
2983
2983
|
class: k(c.$style.tooltip),
|
|
2984
|
-
style:
|
|
2984
|
+
style: P(
|
|
2985
2985
|
D(t) > D(l).width.value / 2 ? {
|
|
2986
2986
|
top: `${D(a) + D(s)}px`,
|
|
2987
2987
|
right: `${D(l).width.value - D(t) - D(n)}px`
|
|
@@ -2991,8 +2991,8 @@ const m1 = /* @__PURE__ */ H({
|
|
|
2991
2991
|
}
|
|
2992
2992
|
)
|
|
2993
2993
|
}, [
|
|
2994
|
-
|
|
2995
|
-
], 6)) :
|
|
2994
|
+
ye(c.$slots, "tooltip", {}, void 0, !0)
|
|
2995
|
+
], 6)) : oe("", !0)
|
|
2996
2996
|
]),
|
|
2997
2997
|
_: 3
|
|
2998
2998
|
})
|
|
@@ -3002,7 +3002,7 @@ const m1 = /* @__PURE__ */ H({
|
|
|
3002
3002
|
tooltip: f1
|
|
3003
3003
|
}, v1 = {
|
|
3004
3004
|
$style: p1
|
|
3005
|
-
}, Kr = /* @__PURE__ */ G(m1, [["__cssModules", v1], ["__scopeId", "data-v-0ec97e65"]]), g1 = /* @__PURE__ */
|
|
3005
|
+
}, Kr = /* @__PURE__ */ G(m1, [["__cssModules", v1], ["__scopeId", "data-v-0ec97e65"]]), g1 = /* @__PURE__ */ L({
|
|
3006
3006
|
__name: "ElmDotLoadingIcon",
|
|
3007
3007
|
props: {
|
|
3008
3008
|
color: { default: void 0 },
|
|
@@ -3011,13 +3011,13 @@ const m1 = /* @__PURE__ */ H({
|
|
|
3011
3011
|
setup(r) {
|
|
3012
3012
|
return (e, t) => (T(), I("div", {
|
|
3013
3013
|
class: k(e.$style.wrapper),
|
|
3014
|
-
style:
|
|
3014
|
+
style: P({ width: e.size, height: e.size })
|
|
3015
3015
|
}, [
|
|
3016
3016
|
(T(), I(ke, null, m0(3, (a) => B("div", {
|
|
3017
3017
|
class: k(e.$style.dot),
|
|
3018
3018
|
"aria-hidden": "",
|
|
3019
3019
|
key: a,
|
|
3020
|
-
style:
|
|
3020
|
+
style: P({ backgroundColor: e.color })
|
|
3021
3021
|
}, null, 6)), 64))
|
|
3022
3022
|
], 6));
|
|
3023
3023
|
}
|
|
@@ -3027,20 +3027,20 @@ const m1 = /* @__PURE__ */ H({
|
|
|
3027
3027
|
bounce: w1
|
|
3028
3028
|
}, k1 = {
|
|
3029
3029
|
$style: x1
|
|
3030
|
-
}, Qr = /* @__PURE__ */ G(g1, [["__cssModules", k1]]), S1 = /* @__PURE__ */
|
|
3030
|
+
}, Qr = /* @__PURE__ */ G(g1, [["__cssModules", k1]]), S1 = /* @__PURE__ */ L({
|
|
3031
3031
|
__name: "ElmBlockFallback",
|
|
3032
3032
|
setup(r) {
|
|
3033
3033
|
return (e, t) => (T(), I("div", {
|
|
3034
3034
|
class: k(e.$style["elmethis-block-fallback"])
|
|
3035
3035
|
}, [
|
|
3036
|
-
|
|
3036
|
+
j(Qr)
|
|
3037
3037
|
], 2));
|
|
3038
3038
|
}
|
|
3039
3039
|
}), M1 = {
|
|
3040
3040
|
"elmethis-block-fallback": "_elmethis-block-fallback_uo36g_1"
|
|
3041
3041
|
}, z1 = {
|
|
3042
3042
|
$style: M1
|
|
3043
|
-
}, Jr = /* @__PURE__ */ G(S1, [["__cssModules", z1]]), T1 = /* @__PURE__ */
|
|
3043
|
+
}, Jr = /* @__PURE__ */ G(S1, [["__cssModules", z1]]), T1 = /* @__PURE__ */ L({
|
|
3044
3044
|
__name: "ElmCodeBlock",
|
|
3045
3045
|
props: {
|
|
3046
3046
|
code: {},
|
|
@@ -3050,7 +3050,7 @@ const m1 = /* @__PURE__ */ H({
|
|
|
3050
3050
|
},
|
|
3051
3051
|
setup(r) {
|
|
3052
3052
|
const e = r, t = Et({
|
|
3053
|
-
loader: () => import("./ElmShikiHighlighter-
|
|
3053
|
+
loader: () => import("./ElmShikiHighlighter-Baaxh5qO.js"),
|
|
3054
3054
|
loadingComponent: Jr
|
|
3055
3055
|
}), { copy: a, copied: n } = Zr({ source: e.code }), s = J(null), l = J(!1);
|
|
3056
3056
|
return e0(s, ([{ isIntersecting: u }], c) => {
|
|
@@ -3059,7 +3059,7 @@ const m1 = /* @__PURE__ */ H({
|
|
|
3059
3059
|
ref_key: "target",
|
|
3060
3060
|
ref: s,
|
|
3061
3061
|
class: k(u.$style.wrapper),
|
|
3062
|
-
style:
|
|
3062
|
+
style: P({
|
|
3063
3063
|
"--margin-block": u.margin,
|
|
3064
3064
|
"--opacity": l.value ? 1 : 0
|
|
3065
3065
|
})
|
|
@@ -3070,17 +3070,17 @@ const m1 = /* @__PURE__ */ H({
|
|
|
3070
3070
|
B("div", {
|
|
3071
3071
|
class: k(u.$style.header__left)
|
|
3072
3072
|
}, [
|
|
3073
|
-
|
|
3073
|
+
j(Lo, {
|
|
3074
3074
|
language: u.language,
|
|
3075
3075
|
size: 20
|
|
3076
3076
|
}, null, 8, ["language"]),
|
|
3077
|
-
|
|
3077
|
+
j(se, {
|
|
3078
3078
|
text: u.caption ?? u.language
|
|
3079
3079
|
}, null, 8, ["text"])
|
|
3080
3080
|
], 2),
|
|
3081
|
-
|
|
3081
|
+
j(Kr, null, {
|
|
3082
3082
|
original: ze(() => [
|
|
3083
|
-
|
|
3083
|
+
j(D(Q), {
|
|
3084
3084
|
class: k(u.$style["copy-icon"]),
|
|
3085
3085
|
onClick: c[0] || (c[0] = () => {
|
|
3086
3086
|
D(a)(u.code);
|
|
@@ -3090,7 +3090,7 @@ const m1 = /* @__PURE__ */ H({
|
|
|
3090
3090
|
]),
|
|
3091
3091
|
tooltip: ze(() => [
|
|
3092
3092
|
B("div", null, [
|
|
3093
|
-
|
|
3093
|
+
j(se, {
|
|
3094
3094
|
text: D(n) ? "Copied to Clipboard!" : "Copy to Clipboard"
|
|
3095
3095
|
}, null, 8, ["text"])
|
|
3096
3096
|
])
|
|
@@ -3101,7 +3101,7 @@ const m1 = /* @__PURE__ */ H({
|
|
|
3101
3101
|
B("div", {
|
|
3102
3102
|
class: k(u.$style.code)
|
|
3103
3103
|
}, [
|
|
3104
|
-
|
|
3104
|
+
j(D(t), {
|
|
3105
3105
|
code: u.code,
|
|
3106
3106
|
language: u.language
|
|
3107
3107
|
}, null, 8, ["code", "language"])
|
|
@@ -3183,9 +3183,9 @@ var D1 = function(e, t) {
|
|
|
3183
3183
|
"<": "<",
|
|
3184
3184
|
'"': """,
|
|
3185
3185
|
"'": "'"
|
|
3186
|
-
},
|
|
3187
|
-
function
|
|
3188
|
-
return String(r).replace(
|
|
3186
|
+
}, F1 = /[&><"']/g;
|
|
3187
|
+
function L1(r) {
|
|
3188
|
+
return String(r).replace(F1, (e) => q1[e]);
|
|
3189
3189
|
}
|
|
3190
3190
|
var Jn = function r(e) {
|
|
3191
3191
|
return e.type === "ordgroup" || e.type === "color" ? e.body.length === 1 ? r(e.body[0]) : e : e.type === "font" ? r(e.body) : e;
|
|
@@ -3202,12 +3202,12 @@ var Jn = function r(e) {
|
|
|
3202
3202
|
}, U = {
|
|
3203
3203
|
contains: D1,
|
|
3204
3204
|
deflt: N1,
|
|
3205
|
-
escape:
|
|
3205
|
+
escape: L1,
|
|
3206
3206
|
hyphenate: O1,
|
|
3207
3207
|
getBaseElem: Jn,
|
|
3208
3208
|
isCharacterBox: H1,
|
|
3209
3209
|
protocolFromUrl: j1
|
|
3210
|
-
},
|
|
3210
|
+
}, lt = {
|
|
3211
3211
|
displayMode: {
|
|
3212
3212
|
type: "boolean",
|
|
3213
3213
|
description: "Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",
|
|
@@ -3314,9 +3314,9 @@ function V1(r) {
|
|
|
3314
3314
|
class ea {
|
|
3315
3315
|
constructor(e) {
|
|
3316
3316
|
this.displayMode = void 0, this.output = void 0, this.leqno = void 0, this.fleqn = void 0, this.throwOnError = void 0, this.errorColor = void 0, this.macros = void 0, this.minRuleThickness = void 0, this.colorIsTextColor = void 0, this.strict = void 0, this.trust = void 0, this.maxSize = void 0, this.maxExpand = void 0, this.globalGroup = void 0, e = e || {};
|
|
3317
|
-
for (var t in
|
|
3318
|
-
if (
|
|
3319
|
-
var a =
|
|
3317
|
+
for (var t in lt)
|
|
3318
|
+
if (lt.hasOwnProperty(t)) {
|
|
3319
|
+
var a = lt[t];
|
|
3320
3320
|
this[t] = e[t] !== void 0 ? a.processor ? a.processor(e[t]) : e[t] : V1(a);
|
|
3321
3321
|
}
|
|
3322
3322
|
}
|
|
@@ -3419,10 +3419,10 @@ class S0 {
|
|
|
3419
3419
|
return this.size >= 2;
|
|
3420
3420
|
}
|
|
3421
3421
|
}
|
|
3422
|
-
var ta = 0,
|
|
3422
|
+
var ta = 0, Ft = 1, V0 = 2, d0 = 3, ct = 4, je = 5, U0 = 6, Ae = 7, t0 = [new S0(ta, 0, !1), new S0(Ft, 0, !0), new S0(V0, 1, !1), new S0(d0, 1, !0), new S0(ct, 2, !1), new S0(je, 2, !0), new S0(U0, 3, !1), new S0(Ae, 3, !0)], G1 = [ct, je, ct, je, U0, Ae, U0, Ae], U1 = [je, je, je, je, Ae, Ae, Ae, Ae], W1 = [V0, d0, ct, je, U0, Ae, U0, Ae], Y1 = [d0, d0, je, je, Ae, Ae, Ae, Ae], X1 = [Ft, Ft, d0, d0, je, je, Ae, Ae], Z1 = [ta, Ft, V0, d0, V0, d0, V0, d0], Y = {
|
|
3423
3423
|
DISPLAY: t0[ta],
|
|
3424
3424
|
TEXT: t0[V0],
|
|
3425
|
-
SCRIPT: t0[
|
|
3425
|
+
SCRIPT: t0[ct],
|
|
3426
3426
|
SCRIPTSCRIPT: t0[U0]
|
|
3427
3427
|
}, Dr = [{
|
|
3428
3428
|
// Latin characters beyond the Latin-1 characters we have metrics for.
|
|
@@ -3613,7 +3613,7 @@ c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
|
|
|
3613
3613
|
default:
|
|
3614
3614
|
return "";
|
|
3615
3615
|
}
|
|
3616
|
-
},
|
|
3616
|
+
}, La = {
|
|
3617
3617
|
// The doubleleftarrow geometry is from glyph U+21D0 in the font KaTeX Main
|
|
3618
3618
|
doubleleftarrow: `M262 157
|
|
3619
3619
|
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
|
|
@@ -3919,7 +3919,7 @@ l0,-` + (t + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
3919
3919
|
throw new Error("Unknown stretchy delimiter.");
|
|
3920
3920
|
}
|
|
3921
3921
|
};
|
|
3922
|
-
class
|
|
3922
|
+
class pt {
|
|
3923
3923
|
// HtmlDomNode
|
|
3924
3924
|
// Never used; needed for satisfying interface.
|
|
3925
3925
|
constructor(e) {
|
|
@@ -6459,7 +6459,7 @@ var Nr = {
|
|
|
6459
6459
|
mu: !0
|
|
6460
6460
|
}, rs = function(e) {
|
|
6461
6461
|
return typeof e != "string" && (e = e.unit), e in Nr || e in cu || e === "ex";
|
|
6462
|
-
},
|
|
6462
|
+
}, ge = function(e, t) {
|
|
6463
6463
|
var a;
|
|
6464
6464
|
if (e.unit in Nr)
|
|
6465
6465
|
a = Nr[e.unit] / t.fontMetrics().ptPerEm / t.sizeMultiplier;
|
|
@@ -6514,7 +6514,7 @@ var Nr = {
|
|
|
6514
6514
|
t += this.children[l].toMarkup();
|
|
6515
6515
|
return t += "</" + e + ">", t;
|
|
6516
6516
|
};
|
|
6517
|
-
class
|
|
6517
|
+
class vt {
|
|
6518
6518
|
constructor(e, t, a, n) {
|
|
6519
6519
|
this.children = void 0, this.attributes = void 0, this.classes = void 0, this.height = void 0, this.depth = void 0, this.width = void 0, this.maxFontSize = void 0, this.style = void 0, as.call(this, e, a, n), this.children = t || [];
|
|
6520
6520
|
}
|
|
@@ -6644,10 +6644,10 @@ class _0 {
|
|
|
6644
6644
|
}
|
|
6645
6645
|
toNode() {
|
|
6646
6646
|
var e = "http://www.w3.org/2000/svg", t = document.createElementNS(e, "path");
|
|
6647
|
-
return this.alternate ? t.setAttribute("d", this.alternate) : t.setAttribute("d",
|
|
6647
|
+
return this.alternate ? t.setAttribute("d", this.alternate) : t.setAttribute("d", La[this.pathName]), t;
|
|
6648
6648
|
}
|
|
6649
6649
|
toMarkup() {
|
|
6650
|
-
return this.alternate ? '<path d="' + U.escape(this.alternate) + '"/>' : '<path d="' + U.escape(
|
|
6650
|
+
return this.alternate ? '<path d="' + U.escape(this.alternate) + '"/>' : '<path d="' + U.escape(La[this.pathName]) + '"/>';
|
|
6651
6651
|
}
|
|
6652
6652
|
}
|
|
6653
6653
|
class Rr {
|
|
@@ -6673,7 +6673,7 @@ function Va(r) {
|
|
|
6673
6673
|
throw new Error("Expected symbolNode but got " + String(r) + ".");
|
|
6674
6674
|
}
|
|
6675
6675
|
function fu(r) {
|
|
6676
|
-
if (r instanceof
|
|
6676
|
+
if (r instanceof vt)
|
|
6677
6677
|
return r;
|
|
6678
6678
|
throw new Error("Expected span<HtmlDomNode> but got " + String(r) + ".");
|
|
6679
6679
|
}
|
|
@@ -6690,18 +6690,18 @@ var pu = {
|
|
|
6690
6690
|
"op-token": 1,
|
|
6691
6691
|
spacing: 1,
|
|
6692
6692
|
textord: 1
|
|
6693
|
-
},
|
|
6693
|
+
}, de = {
|
|
6694
6694
|
math: {},
|
|
6695
6695
|
text: {}
|
|
6696
6696
|
};
|
|
6697
6697
|
function i(r, e, t, a, n, s) {
|
|
6698
|
-
|
|
6698
|
+
de[r][n] = {
|
|
6699
6699
|
font: e,
|
|
6700
6700
|
group: t,
|
|
6701
6701
|
replace: a
|
|
6702
|
-
}, s && a && (
|
|
6702
|
+
}, s && a && (de[r][a] = de[r][n]);
|
|
6703
6703
|
}
|
|
6704
|
-
var o = "math", $ = "text", d = "main", v = "ams",
|
|
6704
|
+
var o = "math", $ = "text", d = "main", v = "ams", me = "accent-token", F = "bin", Ee = "close", K0 = "inner", W = "mathord", Se = "op-token", He = "open", Wt = "punct", g = "rel", w0 = "spacing", w = "textord";
|
|
6705
6705
|
i(o, d, g, "≡", "\\equiv", !0);
|
|
6706
6706
|
i(o, d, g, "≺", "\\prec", !0);
|
|
6707
6707
|
i(o, d, g, "≻", "\\succ", !0);
|
|
@@ -6762,18 +6762,18 @@ i(o, d, Ee, "⎱", "\\rmoustache", !0);
|
|
|
6762
6762
|
i(o, d, He, "⎰", "\\lmoustache", !0);
|
|
6763
6763
|
i(o, d, Ee, "⟯", "\\rgroup", !0);
|
|
6764
6764
|
i(o, d, He, "⟮", "\\lgroup", !0);
|
|
6765
|
-
i(o, d,
|
|
6766
|
-
i(o, d,
|
|
6767
|
-
i(o, d,
|
|
6768
|
-
i(o, d,
|
|
6769
|
-
i(o, d,
|
|
6770
|
-
i(o, d,
|
|
6771
|
-
i(o, d,
|
|
6772
|
-
i(o, d,
|
|
6773
|
-
i(o, d,
|
|
6774
|
-
i(o, d,
|
|
6775
|
-
i(o, d,
|
|
6776
|
-
i(o, d,
|
|
6765
|
+
i(o, d, F, "∓", "\\mp", !0);
|
|
6766
|
+
i(o, d, F, "⊖", "\\ominus", !0);
|
|
6767
|
+
i(o, d, F, "⊎", "\\uplus", !0);
|
|
6768
|
+
i(o, d, F, "⊓", "\\sqcap", !0);
|
|
6769
|
+
i(o, d, F, "∗", "\\ast");
|
|
6770
|
+
i(o, d, F, "⊔", "\\sqcup", !0);
|
|
6771
|
+
i(o, d, F, "◯", "\\bigcirc", !0);
|
|
6772
|
+
i(o, d, F, "∙", "\\bullet", !0);
|
|
6773
|
+
i(o, d, F, "‡", "\\ddagger");
|
|
6774
|
+
i(o, d, F, "≀", "\\wr", !0);
|
|
6775
|
+
i(o, d, F, "⨿", "\\amalg");
|
|
6776
|
+
i(o, d, F, "&", "\\And");
|
|
6777
6777
|
i(o, d, g, "⟵", "\\longleftarrow", !0);
|
|
6778
6778
|
i(o, d, g, "⇐", "\\Leftarrow", !0);
|
|
6779
6779
|
i(o, d, g, "⟸", "\\Longleftarrow", !0);
|
|
@@ -6847,8 +6847,8 @@ i(o, v, g, "⊮", "\\nVdash", !0);
|
|
|
6847
6847
|
i(o, v, g, "⪵", "\\precneqq", !0);
|
|
6848
6848
|
i(o, v, g, "⪶", "\\succneqq", !0);
|
|
6849
6849
|
i(o, v, g, "", "\\@nsubseteqq");
|
|
6850
|
-
i(o, v,
|
|
6851
|
-
i(o, v,
|
|
6850
|
+
i(o, v, F, "⊴", "\\unlhd");
|
|
6851
|
+
i(o, v, F, "⊵", "\\unrhd");
|
|
6852
6852
|
i(o, v, g, "↚", "\\nleftarrow", !0);
|
|
6853
6853
|
i(o, v, g, "↛", "\\nrightarrow", !0);
|
|
6854
6854
|
i(o, v, g, "⇍", "\\nLeftarrow", !0);
|
|
@@ -6901,7 +6901,7 @@ i(o, v, g, "⪕", "\\eqslantless", !0);
|
|
|
6901
6901
|
i(o, v, g, "≲", "\\lesssim", !0);
|
|
6902
6902
|
i(o, v, g, "⪅", "\\lessapprox", !0);
|
|
6903
6903
|
i(o, v, g, "≊", "\\approxeq", !0);
|
|
6904
|
-
i(o, v,
|
|
6904
|
+
i(o, v, F, "⋖", "\\lessdot");
|
|
6905
6905
|
i(o, v, g, "⋘", "\\lll", !0);
|
|
6906
6906
|
i(o, v, g, "≶", "\\lessgtr", !0);
|
|
6907
6907
|
i(o, v, g, "⋚", "\\lesseqgtr", !0);
|
|
@@ -6931,7 +6931,7 @@ i(o, v, g, "⩾", "\\geqslant", !0);
|
|
|
6931
6931
|
i(o, v, g, "⪖", "\\eqslantgtr", !0);
|
|
6932
6932
|
i(o, v, g, "≳", "\\gtrsim", !0);
|
|
6933
6933
|
i(o, v, g, "⪆", "\\gtrapprox", !0);
|
|
6934
|
-
i(o, v,
|
|
6934
|
+
i(o, v, F, "⋗", "\\gtrdot");
|
|
6935
6935
|
i(o, v, g, "⋙", "\\ggg", !0);
|
|
6936
6936
|
i(o, v, g, "≷", "\\gtrless", !0);
|
|
6937
6937
|
i(o, v, g, "⋛", "\\gtreqless", !0);
|
|
@@ -6963,32 +6963,32 @@ i(o, v, g, "▶", "\\blacktriangleright");
|
|
|
6963
6963
|
i(o, v, g, "∵", "\\because", !0);
|
|
6964
6964
|
i(o, v, g, "⋘", "\\llless");
|
|
6965
6965
|
i(o, v, g, "⋙", "\\gggtr");
|
|
6966
|
-
i(o, v,
|
|
6967
|
-
i(o, v,
|
|
6966
|
+
i(o, v, F, "⊲", "\\lhd");
|
|
6967
|
+
i(o, v, F, "⊳", "\\rhd");
|
|
6968
6968
|
i(o, v, g, "≂", "\\eqsim", !0);
|
|
6969
6969
|
i(o, d, g, "⋈", "\\Join");
|
|
6970
6970
|
i(o, v, g, "≑", "\\Doteq", !0);
|
|
6971
|
-
i(o, v,
|
|
6972
|
-
i(o, v,
|
|
6973
|
-
i(o, v,
|
|
6974
|
-
i(o, v,
|
|
6975
|
-
i(o, v,
|
|
6976
|
-
i(o, v,
|
|
6977
|
-
i(o, v,
|
|
6978
|
-
i(o, v,
|
|
6979
|
-
i(o, v,
|
|
6980
|
-
i(o, v,
|
|
6981
|
-
i(o, v,
|
|
6982
|
-
i(o, v,
|
|
6983
|
-
i(o, v,
|
|
6984
|
-
i(o, v,
|
|
6985
|
-
i(o, v,
|
|
6986
|
-
i(o, v,
|
|
6987
|
-
i(o, v,
|
|
6988
|
-
i(o, v,
|
|
6989
|
-
i(o, v,
|
|
6990
|
-
i(o, v,
|
|
6991
|
-
i(o, v,
|
|
6971
|
+
i(o, v, F, "∔", "\\dotplus", !0);
|
|
6972
|
+
i(o, v, F, "∖", "\\smallsetminus");
|
|
6973
|
+
i(o, v, F, "⋒", "\\Cap", !0);
|
|
6974
|
+
i(o, v, F, "⋓", "\\Cup", !0);
|
|
6975
|
+
i(o, v, F, "⩞", "\\doublebarwedge", !0);
|
|
6976
|
+
i(o, v, F, "⊟", "\\boxminus", !0);
|
|
6977
|
+
i(o, v, F, "⊞", "\\boxplus", !0);
|
|
6978
|
+
i(o, v, F, "⋇", "\\divideontimes", !0);
|
|
6979
|
+
i(o, v, F, "⋉", "\\ltimes", !0);
|
|
6980
|
+
i(o, v, F, "⋊", "\\rtimes", !0);
|
|
6981
|
+
i(o, v, F, "⋋", "\\leftthreetimes", !0);
|
|
6982
|
+
i(o, v, F, "⋌", "\\rightthreetimes", !0);
|
|
6983
|
+
i(o, v, F, "⋏", "\\curlywedge", !0);
|
|
6984
|
+
i(o, v, F, "⋎", "\\curlyvee", !0);
|
|
6985
|
+
i(o, v, F, "⊝", "\\circleddash", !0);
|
|
6986
|
+
i(o, v, F, "⊛", "\\circledast", !0);
|
|
6987
|
+
i(o, v, F, "⋅", "\\centerdot");
|
|
6988
|
+
i(o, v, F, "⊺", "\\intercal", !0);
|
|
6989
|
+
i(o, v, F, "⋒", "\\doublecap");
|
|
6990
|
+
i(o, v, F, "⋓", "\\doublecup");
|
|
6991
|
+
i(o, v, F, "⊠", "\\boxtimes", !0);
|
|
6992
6992
|
i(o, v, g, "⇢", "\\dashrightarrow", !0);
|
|
6993
6993
|
i(o, v, g, "⇠", "\\dashleftarrow", !0);
|
|
6994
6994
|
i(o, v, g, "⇇", "\\leftleftarrows", !0);
|
|
@@ -7096,21 +7096,21 @@ i(o, d, W, "ϖ", "\\varpi", !0);
|
|
|
7096
7096
|
i(o, d, W, "ϱ", "\\varrho", !0);
|
|
7097
7097
|
i(o, d, W, "ς", "\\varsigma", !0);
|
|
7098
7098
|
i(o, d, W, "φ", "\\varphi", !0);
|
|
7099
|
-
i(o, d,
|
|
7100
|
-
i(o, d,
|
|
7101
|
-
i(o, d,
|
|
7102
|
-
i(o, d,
|
|
7103
|
-
i(o, d,
|
|
7104
|
-
i(o, d,
|
|
7105
|
-
i(o, d,
|
|
7106
|
-
i(o, d,
|
|
7107
|
-
i(o, d,
|
|
7108
|
-
i(o, d,
|
|
7109
|
-
i(o, d,
|
|
7110
|
-
i(o, d,
|
|
7111
|
-
i(o, d,
|
|
7112
|
-
i(o, d,
|
|
7113
|
-
i(o, d,
|
|
7099
|
+
i(o, d, F, "∗", "*", !0);
|
|
7100
|
+
i(o, d, F, "+", "+");
|
|
7101
|
+
i(o, d, F, "−", "-", !0);
|
|
7102
|
+
i(o, d, F, "⋅", "\\cdot", !0);
|
|
7103
|
+
i(o, d, F, "∘", "\\circ", !0);
|
|
7104
|
+
i(o, d, F, "÷", "\\div", !0);
|
|
7105
|
+
i(o, d, F, "±", "\\pm", !0);
|
|
7106
|
+
i(o, d, F, "×", "\\times", !0);
|
|
7107
|
+
i(o, d, F, "∩", "\\cap", !0);
|
|
7108
|
+
i(o, d, F, "∪", "\\cup", !0);
|
|
7109
|
+
i(o, d, F, "∖", "\\setminus", !0);
|
|
7110
|
+
i(o, d, F, "∧", "\\land");
|
|
7111
|
+
i(o, d, F, "∨", "\\lor");
|
|
7112
|
+
i(o, d, F, "∧", "\\wedge", !0);
|
|
7113
|
+
i(o, d, F, "∨", "\\vee", !0);
|
|
7114
7114
|
i(o, d, w, "√", "\\surd");
|
|
7115
7115
|
i(o, d, He, "⟨", "\\langle", !0);
|
|
7116
7116
|
i(o, d, He, "∣", "\\lvert");
|
|
@@ -7156,22 +7156,22 @@ i(o, d, w0, null, "\\nobreak");
|
|
|
7156
7156
|
i(o, d, w0, null, "\\allowbreak");
|
|
7157
7157
|
i(o, d, Wt, ",", ",");
|
|
7158
7158
|
i(o, d, Wt, ";", ";");
|
|
7159
|
-
i(o, v,
|
|
7160
|
-
i(o, v,
|
|
7161
|
-
i(o, d,
|
|
7162
|
-
i(o, d,
|
|
7163
|
-
i(o, d,
|
|
7159
|
+
i(o, v, F, "⊼", "\\barwedge", !0);
|
|
7160
|
+
i(o, v, F, "⊻", "\\veebar", !0);
|
|
7161
|
+
i(o, d, F, "⊙", "\\odot", !0);
|
|
7162
|
+
i(o, d, F, "⊕", "\\oplus", !0);
|
|
7163
|
+
i(o, d, F, "⊗", "\\otimes", !0);
|
|
7164
7164
|
i(o, d, w, "∂", "\\partial", !0);
|
|
7165
|
-
i(o, d,
|
|
7166
|
-
i(o, v,
|
|
7167
|
-
i(o, v,
|
|
7168
|
-
i(o, d,
|
|
7169
|
-
i(o, d,
|
|
7170
|
-
i(o, d,
|
|
7171
|
-
i(o, d,
|
|
7172
|
-
i(o, d,
|
|
7173
|
-
i(o, d,
|
|
7174
|
-
i(o, d,
|
|
7165
|
+
i(o, d, F, "⊘", "\\oslash", !0);
|
|
7166
|
+
i(o, v, F, "⊚", "\\circledcirc", !0);
|
|
7167
|
+
i(o, v, F, "⊡", "\\boxdot", !0);
|
|
7168
|
+
i(o, d, F, "△", "\\bigtriangleup");
|
|
7169
|
+
i(o, d, F, "▽", "\\bigtriangledown");
|
|
7170
|
+
i(o, d, F, "†", "\\dagger");
|
|
7171
|
+
i(o, d, F, "⋄", "\\diamond");
|
|
7172
|
+
i(o, d, F, "⋆", "\\star");
|
|
7173
|
+
i(o, d, F, "◃", "\\triangleleft");
|
|
7174
|
+
i(o, d, F, "▹", "\\triangleright");
|
|
7175
7175
|
i(o, d, He, "{", "\\{");
|
|
7176
7176
|
i($, d, w, "{", "\\{");
|
|
7177
7177
|
i($, d, w, "{", "\\textbraceleft");
|
|
@@ -7236,17 +7236,17 @@ i(o, d, K0, "⋯", "\\@cdots", !0);
|
|
|
7236
7236
|
i(o, d, K0, "⋱", "\\ddots", !0);
|
|
7237
7237
|
i(o, d, w, "⋮", "\\varvdots");
|
|
7238
7238
|
i($, d, w, "⋮", "\\varvdots");
|
|
7239
|
-
i(o, d,
|
|
7240
|
-
i(o, d,
|
|
7241
|
-
i(o, d,
|
|
7242
|
-
i(o, d,
|
|
7243
|
-
i(o, d,
|
|
7244
|
-
i(o, d,
|
|
7245
|
-
i(o, d,
|
|
7246
|
-
i(o, d,
|
|
7247
|
-
i(o, d,
|
|
7248
|
-
i(o, d,
|
|
7249
|
-
i(o, d,
|
|
7239
|
+
i(o, d, me, "ˊ", "\\acute");
|
|
7240
|
+
i(o, d, me, "ˋ", "\\grave");
|
|
7241
|
+
i(o, d, me, "¨", "\\ddot");
|
|
7242
|
+
i(o, d, me, "~", "\\tilde");
|
|
7243
|
+
i(o, d, me, "ˉ", "\\bar");
|
|
7244
|
+
i(o, d, me, "˘", "\\breve");
|
|
7245
|
+
i(o, d, me, "ˇ", "\\check");
|
|
7246
|
+
i(o, d, me, "^", "\\hat");
|
|
7247
|
+
i(o, d, me, "⃗", "\\vec");
|
|
7248
|
+
i(o, d, me, "˙", "\\dot");
|
|
7249
|
+
i(o, d, me, "˚", "\\mathring");
|
|
7250
7250
|
i(o, d, W, "", "\\@imath");
|
|
7251
7251
|
i(o, d, W, "", "\\@jmath");
|
|
7252
7252
|
i(o, d, w, "ı", "ı");
|
|
@@ -7260,19 +7260,19 @@ i($, d, w, "ø", "\\o", !0);
|
|
|
7260
7260
|
i($, d, w, "Æ", "\\AE", !0);
|
|
7261
7261
|
i($, d, w, "Œ", "\\OE", !0);
|
|
7262
7262
|
i($, d, w, "Ø", "\\O", !0);
|
|
7263
|
-
i($, d,
|
|
7264
|
-
i($, d,
|
|
7265
|
-
i($, d,
|
|
7266
|
-
i($, d,
|
|
7267
|
-
i($, d,
|
|
7268
|
-
i($, d,
|
|
7269
|
-
i($, d,
|
|
7270
|
-
i($, d,
|
|
7271
|
-
i($, d,
|
|
7272
|
-
i($, d,
|
|
7273
|
-
i($, d,
|
|
7274
|
-
i($, d,
|
|
7275
|
-
i($, d,
|
|
7263
|
+
i($, d, me, "ˊ", "\\'");
|
|
7264
|
+
i($, d, me, "ˋ", "\\`");
|
|
7265
|
+
i($, d, me, "ˆ", "\\^");
|
|
7266
|
+
i($, d, me, "˜", "\\~");
|
|
7267
|
+
i($, d, me, "ˉ", "\\=");
|
|
7268
|
+
i($, d, me, "˘", "\\u");
|
|
7269
|
+
i($, d, me, "˙", "\\.");
|
|
7270
|
+
i($, d, me, "¸", "\\c");
|
|
7271
|
+
i($, d, me, "˚", "\\r");
|
|
7272
|
+
i($, d, me, "ˇ", "\\v");
|
|
7273
|
+
i($, d, me, "¨", '\\"');
|
|
7274
|
+
i($, d, me, "˝", "\\H");
|
|
7275
|
+
i($, d, me, "◯", "\\textcircled");
|
|
7276
7276
|
var ls = {
|
|
7277
7277
|
"--": !0,
|
|
7278
7278
|
"---": !0,
|
|
@@ -7310,9 +7310,9 @@ for (var hr = 0; hr < Wa.length; hr++) {
|
|
|
7310
7310
|
var Ya = Wa.charAt(hr);
|
|
7311
7311
|
i($, d, w, Ya, Ya);
|
|
7312
7312
|
}
|
|
7313
|
-
var
|
|
7314
|
-
for (var mr = 0; mr <
|
|
7315
|
-
var St =
|
|
7313
|
+
var Lt = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
|
|
7314
|
+
for (var mr = 0; mr < Lt.length; mr++) {
|
|
7315
|
+
var St = Lt.charAt(mr);
|
|
7316
7316
|
i(o, d, W, St, St), i($, d, w, St, St);
|
|
7317
7317
|
}
|
|
7318
7318
|
i(o, v, w, "C", "ℂ");
|
|
@@ -7332,9 +7332,9 @@ i($, v, w, "Z", "ℤ");
|
|
|
7332
7332
|
i(o, d, W, "h", "ℎ");
|
|
7333
7333
|
i($, d, W, "h", "ℎ");
|
|
7334
7334
|
var Z = "";
|
|
7335
|
-
for (var $e = 0; $e <
|
|
7336
|
-
var
|
|
7337
|
-
Z = String.fromCharCode(55349, 56320 + $e), i(o, d, W,
|
|
7335
|
+
for (var $e = 0; $e < Lt.length; $e++) {
|
|
7336
|
+
var be = Lt.charAt($e);
|
|
7337
|
+
Z = String.fromCharCode(55349, 56320 + $e), i(o, d, W, be, Z), i($, d, w, be, Z), Z = String.fromCharCode(55349, 56372 + $e), i(o, d, W, be, Z), i($, d, w, be, Z), Z = String.fromCharCode(55349, 56424 + $e), i(o, d, W, be, Z), i($, d, w, be, Z), Z = String.fromCharCode(55349, 56580 + $e), i(o, d, W, be, Z), i($, d, w, be, Z), Z = String.fromCharCode(55349, 56684 + $e), i(o, d, W, be, Z), i($, d, w, be, Z), Z = String.fromCharCode(55349, 56736 + $e), i(o, d, W, be, Z), i($, d, w, be, Z), Z = String.fromCharCode(55349, 56788 + $e), i(o, d, W, be, Z), i($, d, w, be, Z), Z = String.fromCharCode(55349, 56840 + $e), i(o, d, W, be, Z), i($, d, w, be, Z), Z = String.fromCharCode(55349, 56944 + $e), i(o, d, W, be, Z), i($, d, w, be, Z), $e < 26 && (Z = String.fromCharCode(55349, 56632 + $e), i(o, d, W, be, Z), i($, d, w, be, Z), Z = String.fromCharCode(55349, 56476 + $e), i(o, d, W, be, Z), i($, d, w, be, Z));
|
|
7338
7338
|
}
|
|
7339
7339
|
Z = "𝕜";
|
|
7340
7340
|
i(o, d, W, "k", Z);
|
|
@@ -7431,11 +7431,11 @@ var zt = [
|
|
|
7431
7431
|
throw new E("Unsupported character: " + e);
|
|
7432
7432
|
}
|
|
7433
7433
|
}, Yt = function(e, t, a) {
|
|
7434
|
-
return
|
|
7434
|
+
return de[a][e] && de[a][e].replace && (e = de[a][e].replace), {
|
|
7435
7435
|
value: e,
|
|
7436
7436
|
metrics: ra(e, t, a)
|
|
7437
7437
|
};
|
|
7438
|
-
},
|
|
7438
|
+
}, Ze = function(e, t, a, n, s) {
|
|
7439
7439
|
var l = Yt(e, t, a), u = l.metrics;
|
|
7440
7440
|
e = l.value;
|
|
7441
7441
|
var c;
|
|
@@ -7451,7 +7451,7 @@ var zt = [
|
|
|
7451
7451
|
}
|
|
7452
7452
|
return c;
|
|
7453
7453
|
}, bu = function(e, t, a, n) {
|
|
7454
|
-
return n === void 0 && (n = []), a.font === "boldsymbol" && Yt(e, "Main-Bold", t).metrics ?
|
|
7454
|
+
return n === void 0 && (n = []), a.font === "boldsymbol" && Yt(e, "Main-Bold", t).metrics ? Ze(e, "Main-Bold", t, a, n.concat(["mathbf"])) : e === "\\" || de[t][e].font === "main" ? Ze(e, "Main-Regular", t, a, n) : Ze(e, "AMS-Regular", t, a, n.concat(["amsrm"]));
|
|
7455
7455
|
}, yu = function(e, t, a, n, s) {
|
|
7456
7456
|
return s !== "textord" && Yt(e, "Math-BoldItalic", t).metrics ? {
|
|
7457
7457
|
fontName: "Math-BoldItalic",
|
|
@@ -7463,7 +7463,7 @@ var zt = [
|
|
|
7463
7463
|
}, wu = function(e, t, a) {
|
|
7464
7464
|
var n = e.mode, s = e.text, l = ["mord"], u = n === "math" || n === "text" && t.font, c = u ? t.font : t.fontFamily, h = "", f = "";
|
|
7465
7465
|
if (s.charCodeAt(0) === 55349 && ([h, f] = gu(s, n)), h.length > 0)
|
|
7466
|
-
return
|
|
7466
|
+
return Ze(s, h, n, t, l.concat(f));
|
|
7467
7467
|
if (c) {
|
|
7468
7468
|
var p, b;
|
|
7469
7469
|
if (c === "boldsymbol") {
|
|
@@ -7471,26 +7471,26 @@ var zt = [
|
|
|
7471
7471
|
p = y.fontName, b = [y.fontClass];
|
|
7472
7472
|
} else u ? (p = us[c].fontName, b = [c]) : (p = Tt(c, t.fontWeight, t.fontShape), b = [c, t.fontWeight, t.fontShape]);
|
|
7473
7473
|
if (Yt(s, p, n).metrics)
|
|
7474
|
-
return
|
|
7474
|
+
return Ze(s, p, n, t, l.concat(b));
|
|
7475
7475
|
if (ls.hasOwnProperty(s) && p.slice(0, 10) === "Typewriter") {
|
|
7476
7476
|
for (var S = [], z = 0; z < s.length; z++)
|
|
7477
|
-
S.push(
|
|
7477
|
+
S.push(Ze(s[z], p, n, t, l.concat(b)));
|
|
7478
7478
|
return os(S);
|
|
7479
7479
|
}
|
|
7480
7480
|
}
|
|
7481
7481
|
if (a === "mathord")
|
|
7482
|
-
return
|
|
7482
|
+
return Ze(s, "Math-Italic", n, t, l.concat(["mathnormal"]));
|
|
7483
7483
|
if (a === "textord") {
|
|
7484
|
-
var M =
|
|
7484
|
+
var M = de[n][s] && de[n][s].font;
|
|
7485
7485
|
if (M === "ams") {
|
|
7486
7486
|
var _ = Tt("amsrm", t.fontWeight, t.fontShape);
|
|
7487
|
-
return
|
|
7487
|
+
return Ze(s, _, n, t, l.concat("amsrm", t.fontWeight, t.fontShape));
|
|
7488
7488
|
} else if (M === "main" || !M) {
|
|
7489
7489
|
var A = Tt("textrm", t.fontWeight, t.fontShape);
|
|
7490
|
-
return
|
|
7490
|
+
return Ze(s, A, n, t, l.concat(t.fontWeight, t.fontShape));
|
|
7491
7491
|
} else {
|
|
7492
7492
|
var R = Tt(M, t.fontWeight, t.fontShape);
|
|
7493
|
-
return
|
|
7493
|
+
return Ze(s, R, n, t, l.concat(R, t.fontWeight, t.fontShape));
|
|
7494
7494
|
}
|
|
7495
7495
|
} else
|
|
7496
7496
|
throw new Error("unexpected type: " + a + " in makeOrd");
|
|
@@ -7522,19 +7522,19 @@ var zt = [
|
|
|
7522
7522
|
}
|
|
7523
7523
|
e.height = t, e.depth = a, e.maxFontSize = n;
|
|
7524
7524
|
}, De = function(e, t, a, n) {
|
|
7525
|
-
var s = new
|
|
7525
|
+
var s = new vt(e, t, a, n);
|
|
7526
7526
|
return na(s), s;
|
|
7527
|
-
}, is = (r, e, t, a) => new
|
|
7527
|
+
}, is = (r, e, t, a) => new vt(r, e, t, a), Su = function(e, t, a) {
|
|
7528
7528
|
var n = De([e], [], t);
|
|
7529
7529
|
return n.height = Math.max(a || t.fontMetrics().defaultRuleThickness, t.minRuleThickness), n.style.borderBottomWidth = N(n.height), n.maxFontSize = 1, n;
|
|
7530
7530
|
}, Mu = function(e, t, a, n) {
|
|
7531
7531
|
var s = new aa(e, t, a, n);
|
|
7532
7532
|
return na(s), s;
|
|
7533
7533
|
}, os = function(e) {
|
|
7534
|
-
var t = new
|
|
7534
|
+
var t = new pt(e);
|
|
7535
7535
|
return na(t), t;
|
|
7536
7536
|
}, zu = function(e, t) {
|
|
7537
|
-
return e instanceof
|
|
7537
|
+
return e instanceof pt ? De([], [e], t) : e;
|
|
7538
7538
|
}, Tu = function(e) {
|
|
7539
7539
|
if (e.positionType === "individualShift") {
|
|
7540
7540
|
for (var t = e.children, a = [t[0]], n = -t[0].shift - t[0].elem.depth, s = n, l = 1; l < t.length; l++) {
|
|
@@ -7597,20 +7597,20 @@ var zt = [
|
|
|
7597
7597
|
}
|
|
7598
7598
|
p = Math.min(p, y), b = Math.max(b, y);
|
|
7599
7599
|
}
|
|
7600
|
-
var
|
|
7601
|
-
|
|
7600
|
+
var H = De(["vlist"], f);
|
|
7601
|
+
H.style.height = N(b);
|
|
7602
7602
|
var X;
|
|
7603
7603
|
if (p < 0) {
|
|
7604
7604
|
var V = De([], []), O = De(["vlist"], [V]);
|
|
7605
7605
|
O.style.height = N(-p);
|
|
7606
7606
|
var te = De(["vlist-s"], [new Ue("")]);
|
|
7607
|
-
X = [De(["vlist-r"], [
|
|
7607
|
+
X = [De(["vlist-r"], [H, te]), De(["vlist-r"], [O])];
|
|
7608
7608
|
} else
|
|
7609
|
-
X = [De(["vlist-r"], [
|
|
7609
|
+
X = [De(["vlist-r"], [H])];
|
|
7610
7610
|
var K = De(["vlist-t"], X);
|
|
7611
7611
|
return X.length === 2 && K.classes.push("vlist-t2"), K.height = b, K.depth = -p, K;
|
|
7612
7612
|
}, $u = (r, e) => {
|
|
7613
|
-
var t = De(["mspace"], [], e), a =
|
|
7613
|
+
var t = De(["mspace"], [], e), a = ge(r, e);
|
|
7614
7614
|
return t.style.marginRight = N(a), t;
|
|
7615
7615
|
}, Tt = function(e, t, a) {
|
|
7616
7616
|
var n = "";
|
|
@@ -7707,7 +7707,7 @@ var zt = [
|
|
|
7707
7707
|
return c.height = s, c.style.height = N(s), c.style.width = N(n), c;
|
|
7708
7708
|
}, x = {
|
|
7709
7709
|
fontMap: us,
|
|
7710
|
-
makeSymbol:
|
|
7710
|
+
makeSymbol: Ze,
|
|
7711
7711
|
mathsym: bu,
|
|
7712
7712
|
makeSpan: De,
|
|
7713
7713
|
makeSvgSpan: is,
|
|
@@ -7721,7 +7721,7 @@ var zt = [
|
|
|
7721
7721
|
staticSvg: Au,
|
|
7722
7722
|
svgData: cs,
|
|
7723
7723
|
tryCombineChars: ku
|
|
7724
|
-
},
|
|
7724
|
+
}, ve = {
|
|
7725
7725
|
number: 3,
|
|
7726
7726
|
unit: "mu"
|
|
7727
7727
|
}, B0 = {
|
|
@@ -7732,16 +7732,16 @@ var zt = [
|
|
|
7732
7732
|
unit: "mu"
|
|
7733
7733
|
}, Cu = {
|
|
7734
7734
|
mord: {
|
|
7735
|
-
mop:
|
|
7735
|
+
mop: ve,
|
|
7736
7736
|
mbin: B0,
|
|
7737
7737
|
mrel: u0,
|
|
7738
|
-
minner:
|
|
7738
|
+
minner: ve
|
|
7739
7739
|
},
|
|
7740
7740
|
mop: {
|
|
7741
|
-
mord:
|
|
7742
|
-
mop:
|
|
7741
|
+
mord: ve,
|
|
7742
|
+
mop: ve,
|
|
7743
7743
|
mrel: u0,
|
|
7744
|
-
minner:
|
|
7744
|
+
minner: ve
|
|
7745
7745
|
},
|
|
7746
7746
|
mbin: {
|
|
7747
7747
|
mord: B0,
|
|
@@ -7757,46 +7757,46 @@ var zt = [
|
|
|
7757
7757
|
},
|
|
7758
7758
|
mopen: {},
|
|
7759
7759
|
mclose: {
|
|
7760
|
-
mop:
|
|
7760
|
+
mop: ve,
|
|
7761
7761
|
mbin: B0,
|
|
7762
7762
|
mrel: u0,
|
|
7763
|
-
minner:
|
|
7763
|
+
minner: ve
|
|
7764
7764
|
},
|
|
7765
7765
|
mpunct: {
|
|
7766
|
-
mord:
|
|
7767
|
-
mop:
|
|
7766
|
+
mord: ve,
|
|
7767
|
+
mop: ve,
|
|
7768
7768
|
mrel: u0,
|
|
7769
|
-
mopen:
|
|
7770
|
-
mclose:
|
|
7771
|
-
mpunct:
|
|
7772
|
-
minner:
|
|
7769
|
+
mopen: ve,
|
|
7770
|
+
mclose: ve,
|
|
7771
|
+
mpunct: ve,
|
|
7772
|
+
minner: ve
|
|
7773
7773
|
},
|
|
7774
7774
|
minner: {
|
|
7775
|
-
mord:
|
|
7776
|
-
mop:
|
|
7775
|
+
mord: ve,
|
|
7776
|
+
mop: ve,
|
|
7777
7777
|
mbin: B0,
|
|
7778
7778
|
mrel: u0,
|
|
7779
|
-
mopen:
|
|
7780
|
-
mpunct:
|
|
7781
|
-
minner:
|
|
7779
|
+
mopen: ve,
|
|
7780
|
+
mpunct: ve,
|
|
7781
|
+
minner: ve
|
|
7782
7782
|
}
|
|
7783
7783
|
}, Eu = {
|
|
7784
7784
|
mord: {
|
|
7785
|
-
mop:
|
|
7785
|
+
mop: ve
|
|
7786
7786
|
},
|
|
7787
7787
|
mop: {
|
|
7788
|
-
mord:
|
|
7789
|
-
mop:
|
|
7788
|
+
mord: ve,
|
|
7789
|
+
mop: ve
|
|
7790
7790
|
},
|
|
7791
7791
|
mbin: {},
|
|
7792
7792
|
mrel: {},
|
|
7793
7793
|
mopen: {},
|
|
7794
7794
|
mclose: {
|
|
7795
|
-
mop:
|
|
7795
|
+
mop: ve
|
|
7796
7796
|
},
|
|
7797
7797
|
mpunct: {},
|
|
7798
7798
|
minner: {
|
|
7799
|
-
mop:
|
|
7799
|
+
mop: ve
|
|
7800
7800
|
}
|
|
7801
7801
|
}, ds = {}, Ht = {}, Pt = {};
|
|
7802
7802
|
function q(r) {
|
|
@@ -7863,7 +7863,7 @@ var jt = function(e) {
|
|
|
7863
7863
|
n === void 0 && (n = [null, null]);
|
|
7864
7864
|
for (var s = [], l = 0; l < e.length; l++) {
|
|
7865
7865
|
var u = re(e[l], t);
|
|
7866
|
-
if (u instanceof
|
|
7866
|
+
if (u instanceof pt) {
|
|
7867
7867
|
var c = u.children;
|
|
7868
7868
|
s.push(...c);
|
|
7869
7869
|
} else
|
|
@@ -7908,7 +7908,7 @@ var jt = function(e) {
|
|
|
7908
7908
|
}
|
|
7909
7909
|
n && e.pop();
|
|
7910
7910
|
}, hs = function(e) {
|
|
7911
|
-
return e instanceof
|
|
7911
|
+
return e instanceof pt || e instanceof aa || e instanceof vt && e.hasClass("enclosing") ? e : null;
|
|
7912
7912
|
}, Ru = function r(e, t) {
|
|
7913
7913
|
var a = hs(e);
|
|
7914
7914
|
if (a) {
|
|
@@ -7923,7 +7923,7 @@ var jt = function(e) {
|
|
|
7923
7923
|
return e;
|
|
7924
7924
|
}, qr = function(e, t) {
|
|
7925
7925
|
return e ? (t && (e = Ru(e, t)), Nu[e.classes[0]] || null) : null;
|
|
7926
|
-
},
|
|
7926
|
+
}, dt = function(e, t) {
|
|
7927
7927
|
var a = ["nulldelimiter"].concat(e.baseSizingClasses());
|
|
7928
7928
|
return v0(t.concat(a));
|
|
7929
7929
|
}, re = function(e, t, a) {
|
|
@@ -7944,7 +7944,7 @@ function _t(r, e) {
|
|
|
7944
7944
|
var t = v0(["base"], r, e), a = v0(["strut"]);
|
|
7945
7945
|
return a.style.height = N(t.height + t.depth), t.depth && (a.style.verticalAlign = N(-t.depth)), t.children.unshift(a), t;
|
|
7946
7946
|
}
|
|
7947
|
-
function
|
|
7947
|
+
function Fr(r, e) {
|
|
7948
7948
|
var t = null;
|
|
7949
7949
|
r.length === 1 && r[0].type === "tag" && (t = r[0].tag, r = r[0].body);
|
|
7950
7950
|
var a = Te(r, e, "root"), n;
|
|
@@ -7966,7 +7966,7 @@ function Lr(r, e) {
|
|
|
7966
7966
|
return f;
|
|
7967
7967
|
}
|
|
7968
7968
|
function ms(r) {
|
|
7969
|
-
return new
|
|
7969
|
+
return new pt(r);
|
|
7970
7970
|
}
|
|
7971
7971
|
class qe {
|
|
7972
7972
|
constructor(e, t, a) {
|
|
@@ -8081,7 +8081,7 @@ var C = {
|
|
|
8081
8081
|
SpaceNode: Ou,
|
|
8082
8082
|
newDocumentFragment: ms
|
|
8083
8083
|
}, We = function(e, t, a) {
|
|
8084
|
-
return
|
|
8084
|
+
return de[t][e] && de[t][e].replace && e.charCodeAt(0) !== 55349 && !(ls.hasOwnProperty(e) && a && (a.fontFamily && a.fontFamily.slice(4, 6) === "tt" || a.font && a.font.slice(4, 6) === "tt")) && (e = de[t][e].replace), new C.TextNode(e);
|
|
8085
8085
|
}, sa = function(e) {
|
|
8086
8086
|
return e.length === 1 ? e[0] : new C.MathNode("mrow", e);
|
|
8087
8087
|
}, la = function(e, t) {
|
|
@@ -8120,7 +8120,7 @@ var C = {
|
|
|
8120
8120
|
var s = e.text;
|
|
8121
8121
|
if (U.contains(["\\imath", "\\jmath"], s))
|
|
8122
8122
|
return null;
|
|
8123
|
-
|
|
8123
|
+
de[n][s] && de[n][s].replace && (s = de[n][s].replace);
|
|
8124
8124
|
var l = x.fontMap[a].fontName;
|
|
8125
8125
|
return ra(s, l, n) ? x.fontMap[a].variant : null;
|
|
8126
8126
|
};
|
|
@@ -8138,11 +8138,11 @@ function pr(r) {
|
|
|
8138
8138
|
}
|
|
8139
8139
|
var Re = function(e, t, a) {
|
|
8140
8140
|
if (e.length === 1) {
|
|
8141
|
-
var n =
|
|
8141
|
+
var n = ue(e[0], t);
|
|
8142
8142
|
return a && n instanceof qe && n.type === "mo" && (n.setAttribute("lspace", "0em"), n.setAttribute("rspace", "0em")), [n];
|
|
8143
8143
|
}
|
|
8144
8144
|
for (var s = [], l, u = 0; u < e.length; u++) {
|
|
8145
|
-
var c =
|
|
8145
|
+
var c = ue(e[u], t);
|
|
8146
8146
|
if (c instanceof qe && l instanceof qe) {
|
|
8147
8147
|
if (c.type === "mtext" && l.type === "mtext" && c.getAttribute("mathvariant") === l.getAttribute("mathvariant")) {
|
|
8148
8148
|
l.children.push(...c.children);
|
|
@@ -8171,7 +8171,7 @@ var Re = function(e, t, a) {
|
|
|
8171
8171
|
return s;
|
|
8172
8172
|
}, $0 = function(e, t, a) {
|
|
8173
8173
|
return sa(Re(e, t, a));
|
|
8174
|
-
},
|
|
8174
|
+
}, ue = function(e, t) {
|
|
8175
8175
|
if (!e)
|
|
8176
8176
|
return new C.MathNode("mrow");
|
|
8177
8177
|
if (Pt[e.type]) {
|
|
@@ -8207,17 +8207,17 @@ var fs = function(e) {
|
|
|
8207
8207
|
if (a.output === "mathml")
|
|
8208
8208
|
return Ka(e, t, n, a.displayMode, !0);
|
|
8209
8209
|
if (a.output === "html") {
|
|
8210
|
-
var l =
|
|
8210
|
+
var l = Fr(e, n);
|
|
8211
8211
|
s = x.makeSpan(["katex"], [l]);
|
|
8212
8212
|
} else {
|
|
8213
|
-
var u = Ka(e, t, n, a.displayMode, !1), c =
|
|
8213
|
+
var u = Ka(e, t, n, a.displayMode, !1), c = Fr(e, n);
|
|
8214
8214
|
s = x.makeSpan(["katex"], [u, c]);
|
|
8215
8215
|
}
|
|
8216
8216
|
return ps(s, a);
|
|
8217
|
-
},
|
|
8218
|
-
var n = fs(a), s =
|
|
8217
|
+
}, Fu = function(e, t, a) {
|
|
8218
|
+
var n = fs(a), s = Fr(e, n), l = x.makeSpan(["katex"], [s]);
|
|
8219
8219
|
return ps(l, a);
|
|
8220
|
-
},
|
|
8220
|
+
}, Lu = {
|
|
8221
8221
|
widehat: "^",
|
|
8222
8222
|
widecheck: "ˇ",
|
|
8223
8223
|
widetilde: "~",
|
|
@@ -8263,7 +8263,7 @@ var fs = function(e) {
|
|
|
8263
8263
|
"\\cdleftarrow": "←",
|
|
8264
8264
|
"\\cdlongequal": "="
|
|
8265
8265
|
}, Hu = function(e) {
|
|
8266
|
-
var t = new C.MathNode("mo", [new C.TextNode(
|
|
8266
|
+
var t = new C.MathNode("mo", [new C.TextNode(Lu[e.replace(/^\\/, "")])]);
|
|
8267
8267
|
return t.setAttribute("stretchy", "true"), t;
|
|
8268
8268
|
}, Pu = {
|
|
8269
8269
|
// path(s), minWidth, height, align
|
|
@@ -8337,10 +8337,10 @@ var fs = function(e) {
|
|
|
8337
8337
|
height: y
|
|
8338
8338
|
};
|
|
8339
8339
|
} else {
|
|
8340
|
-
var _ = [], A = Pu[c], [R,
|
|
8340
|
+
var _ = [], A = Pu[c], [R, H, X] = A, V = X / 1e3, O = R.length, te, K;
|
|
8341
8341
|
if (O === 1) {
|
|
8342
|
-
var
|
|
8343
|
-
te = ["hide-tail"], K = [
|
|
8342
|
+
var fe = A[3];
|
|
8343
|
+
te = ["hide-tail"], K = [fe];
|
|
8344
8344
|
} else if (O === 2)
|
|
8345
8345
|
te = ["halfarrow-left", "halfarrow-right"], K = ["xMinYMin", "xMaxYMin"];
|
|
8346
8346
|
else if (O === 3)
|
|
@@ -8348,24 +8348,24 @@ var fs = function(e) {
|
|
|
8348
8348
|
else
|
|
8349
8349
|
throw new Error(`Correct katexImagesData or update code here to support
|
|
8350
8350
|
` + O + " children.");
|
|
8351
|
-
for (var
|
|
8352
|
-
var
|
|
8351
|
+
for (var we = 0; we < O; we++) {
|
|
8352
|
+
var he = new _0(R[we]), Me = new p0([he], {
|
|
8353
8353
|
width: "400em",
|
|
8354
8354
|
height: N(V),
|
|
8355
8355
|
viewBox: "0 0 " + u + " " + X,
|
|
8356
|
-
preserveAspectRatio: K[
|
|
8357
|
-
}),
|
|
8356
|
+
preserveAspectRatio: K[we] + " slice"
|
|
8357
|
+
}), pe = x.makeSvgSpan([te[we]], [Me], t);
|
|
8358
8358
|
if (O === 1)
|
|
8359
8359
|
return {
|
|
8360
|
-
span:
|
|
8361
|
-
minWidth:
|
|
8360
|
+
span: pe,
|
|
8361
|
+
minWidth: H,
|
|
8362
8362
|
height: V
|
|
8363
8363
|
};
|
|
8364
|
-
|
|
8364
|
+
pe.style.height = N(V), _.push(pe);
|
|
8365
8365
|
}
|
|
8366
8366
|
return {
|
|
8367
8367
|
span: x.makeSpan(["stretchy"], _, t),
|
|
8368
|
-
minWidth:
|
|
8368
|
+
minWidth: H,
|
|
8369
8369
|
height: V
|
|
8370
8370
|
};
|
|
8371
8371
|
}
|
|
@@ -8475,7 +8475,7 @@ var oa = (r, e) => {
|
|
|
8475
8475
|
var _ = x.makeSpan(["mord", "accent"], [b], e);
|
|
8476
8476
|
return n ? (n.children[0] = _, n.height = Math.max(_.height, n.height), n.classes[0] = "mord", n) : _;
|
|
8477
8477
|
}, vs = (r, e) => {
|
|
8478
|
-
var t = r.isStretchy ? g0.mathMLnode(r.label) : new C.MathNode("mo", [We(r.label, r.mode)]), a = new C.MathNode("mover", [
|
|
8478
|
+
var t = r.isStretchy ? g0.mathMLnode(r.label) : new C.MathNode("mo", [We(r.label, r.mode)]), a = new C.MathNode("mover", [ue(r.base, e), t]);
|
|
8479
8479
|
return a.setAttribute("accent", "true"), a;
|
|
8480
8480
|
}, Uu = new RegExp(["\\acute", "\\grave", "\\ddot", "\\tilde", "\\bar", "\\breve", "\\check", "\\hat", "\\vec", "\\dot", "\\mathring"].map((r) => "\\" + r).join("|"));
|
|
8481
8481
|
q({
|
|
@@ -8559,7 +8559,7 @@ q({
|
|
|
8559
8559
|
return x.makeSpan(["mord", "accentunder"], [s], e);
|
|
8560
8560
|
},
|
|
8561
8561
|
mathmlBuilder: (r, e) => {
|
|
8562
|
-
var t = g0.mathMLnode(r.label), a = new C.MathNode("munder", [
|
|
8562
|
+
var t = g0.mathMLnode(r.label), a = new C.MathNode("munder", [ue(r.base, e), t]);
|
|
8563
8563
|
return a.setAttribute("accentunder", "true"), a;
|
|
8564
8564
|
}
|
|
8565
8565
|
});
|
|
@@ -8664,14 +8664,14 @@ q({
|
|
|
8664
8664
|
t.setAttribute("minsize", r.label.charAt(0) === "x" ? "1.75em" : "3.0em");
|
|
8665
8665
|
var a;
|
|
8666
8666
|
if (r.body) {
|
|
8667
|
-
var n = $t(
|
|
8667
|
+
var n = $t(ue(r.body, e));
|
|
8668
8668
|
if (r.below) {
|
|
8669
|
-
var s = $t(
|
|
8669
|
+
var s = $t(ue(r.below, e));
|
|
8670
8670
|
a = new C.MathNode("munderover", [t, s, n]);
|
|
8671
8671
|
} else
|
|
8672
8672
|
a = new C.MathNode("mover", [t, n]);
|
|
8673
8673
|
} else if (r.below) {
|
|
8674
|
-
var l = $t(
|
|
8674
|
+
var l = $t(ue(r.below, e));
|
|
8675
8675
|
a = new C.MathNode("munder", [t, l]);
|
|
8676
8676
|
} else
|
|
8677
8677
|
a = $t(), a = new C.MathNode("mover", [t, a]);
|
|
@@ -8951,7 +8951,7 @@ q({
|
|
|
8951
8951
|
return a.classes.push("cd-label-" + r.side), a.style.bottom = N(0.8 - a.depth), a.height = 0, a.depth = 0, a;
|
|
8952
8952
|
},
|
|
8953
8953
|
mathmlBuilder(r, e) {
|
|
8954
|
-
var t = new C.MathNode("mrow", [
|
|
8954
|
+
var t = new C.MathNode("mrow", [ue(r.label, e)]);
|
|
8955
8955
|
return t = new C.MathNode("mpadded", [t]), t.setAttribute("width", "0"), r.side === "left" && t.setAttribute("lspace", "-1width"), t.setAttribute("voffset", "0.7em"), t = new C.MathNode("mstyle", [t]), t.setAttribute("displaystyle", "false"), t.setAttribute("scriptlevel", "1"), t;
|
|
8956
8956
|
}
|
|
8957
8957
|
});
|
|
@@ -8976,7 +8976,7 @@ q({
|
|
|
8976
8976
|
return t.classes.push("cd-vert-arrow"), t;
|
|
8977
8977
|
},
|
|
8978
8978
|
mathmlBuilder(r, e) {
|
|
8979
|
-
return new C.MathNode("mrow", [
|
|
8979
|
+
return new C.MathNode("mrow", [ue(r.fragment, e)]);
|
|
8980
8980
|
}
|
|
8981
8981
|
});
|
|
8982
8982
|
q({
|
|
@@ -9082,14 +9082,14 @@ q({
|
|
|
9082
9082
|
// not within tabular/array environments.
|
|
9083
9083
|
htmlBuilder(r, e) {
|
|
9084
9084
|
var t = x.makeSpan(["mspace"], [], e);
|
|
9085
|
-
return r.newLine && (t.classes.push("newline"), r.size && (t.style.marginTop = N(
|
|
9085
|
+
return r.newLine && (t.classes.push("newline"), r.size && (t.style.marginTop = N(ge(r.size, e)))), t;
|
|
9086
9086
|
},
|
|
9087
9087
|
mathmlBuilder(r, e) {
|
|
9088
9088
|
var t = new C.MathNode("mspace");
|
|
9089
|
-
return r.newLine && (t.setAttribute("linebreak", "newline"), r.size && t.setAttribute("height", N(
|
|
9089
|
+
return r.newLine && (t.setAttribute("linebreak", "newline"), r.size && t.setAttribute("height", N(ge(r.size, e)))), t;
|
|
9090
9090
|
}
|
|
9091
9091
|
});
|
|
9092
|
-
var
|
|
9092
|
+
var Lr = {
|
|
9093
9093
|
"\\global": "\\global",
|
|
9094
9094
|
"\\long": "\\\\globallong",
|
|
9095
9095
|
"\\\\globallong": "\\\\globallong",
|
|
@@ -9135,8 +9135,8 @@ q({
|
|
|
9135
9135
|
} = r;
|
|
9136
9136
|
e.consumeSpaces();
|
|
9137
9137
|
var a = e.fetch();
|
|
9138
|
-
if (
|
|
9139
|
-
return (t === "\\global" || t === "\\\\globallong") && (a.text =
|
|
9138
|
+
if (Lr[a.text])
|
|
9139
|
+
return (t === "\\global" || t === "\\\\globallong") && (a.text = Lr[a.text]), ee(e.parseFunction(), "internal");
|
|
9140
9140
|
throw new E("Invalid token after macro prefix", a);
|
|
9141
9141
|
}
|
|
9142
9142
|
});
|
|
@@ -9178,7 +9178,7 @@ q({
|
|
|
9178
9178
|
tokens: c,
|
|
9179
9179
|
numArgs: s,
|
|
9180
9180
|
delimiters: u
|
|
9181
|
-
}, t ===
|
|
9181
|
+
}, t === Lr[t]), {
|
|
9182
9182
|
type: "internal",
|
|
9183
9183
|
mode: e.mode
|
|
9184
9184
|
};
|
|
@@ -9232,8 +9232,8 @@ q({
|
|
|
9232
9232
|
};
|
|
9233
9233
|
}
|
|
9234
9234
|
});
|
|
9235
|
-
var
|
|
9236
|
-
var n =
|
|
9235
|
+
var nt = function(e, t, a) {
|
|
9236
|
+
var n = de.math[e] && de.math[e].replace, s = ra(n || e, t, a);
|
|
9237
9237
|
if (!s)
|
|
9238
9238
|
throw new Error("Unsupported symbol " + e + " and font size " + t + ".");
|
|
9239
9239
|
return s;
|
|
@@ -9280,40 +9280,40 @@ var at = function(e, t, a) {
|
|
|
9280
9280
|
u = h = f = e, c = null;
|
|
9281
9281
|
var y = "Size1-Regular";
|
|
9282
9282
|
e === "\\uparrow" ? h = f = "⏐" : e === "\\Uparrow" ? h = f = "‖" : e === "\\downarrow" ? u = h = "⏐" : e === "\\Downarrow" ? u = h = "‖" : e === "\\updownarrow" ? (u = "\\uparrow", h = "⏐", f = "\\downarrow") : e === "\\Updownarrow" ? (u = "\\Uparrow", h = "‖", f = "\\Downarrow") : U.contains(tc, e) ? (h = "∣", p = "vert", b = 333) : U.contains(rc, e) ? (h = "∥", p = "doublevert", b = 556) : e === "[" || e === "\\lbrack" ? (u = "⎡", h = "⎢", f = "⎣", y = "Size4-Regular", p = "lbrack", b = 667) : e === "]" || e === "\\rbrack" ? (u = "⎤", h = "⎥", f = "⎦", y = "Size4-Regular", p = "rbrack", b = 667) : e === "\\lfloor" || e === "⌊" ? (h = u = "⎢", f = "⎣", y = "Size4-Regular", p = "lfloor", b = 667) : e === "\\lceil" || e === "⌈" ? (u = "⎡", h = f = "⎢", y = "Size4-Regular", p = "lceil", b = 667) : e === "\\rfloor" || e === "⌋" ? (h = u = "⎥", f = "⎦", y = "Size4-Regular", p = "rfloor", b = 667) : e === "\\rceil" || e === "⌉" ? (u = "⎤", h = f = "⎥", y = "Size4-Regular", p = "rceil", b = 667) : e === "(" || e === "\\lparen" ? (u = "⎛", h = "⎜", f = "⎝", y = "Size4-Regular", p = "lparen", b = 875) : e === ")" || e === "\\rparen" ? (u = "⎞", h = "⎟", f = "⎠", y = "Size4-Regular", p = "rparen", b = 875) : e === "\\{" || e === "\\lbrace" ? (u = "⎧", c = "⎨", f = "⎩", h = "⎪", y = "Size4-Regular") : e === "\\}" || e === "\\rbrace" ? (u = "⎫", c = "⎬", f = "⎭", h = "⎪", y = "Size4-Regular") : e === "\\lgroup" || e === "⟮" ? (u = "⎧", f = "⎩", h = "⎪", y = "Size4-Regular") : e === "\\rgroup" || e === "⟯" ? (u = "⎫", f = "⎭", h = "⎪", y = "Size4-Regular") : e === "\\lmoustache" || e === "⎰" ? (u = "⎧", f = "⎭", h = "⎪", y = "Size4-Regular") : (e === "\\rmoustache" || e === "⎱") && (u = "⎫", f = "⎩", h = "⎪", y = "Size4-Regular");
|
|
9283
|
-
var S =
|
|
9283
|
+
var S = nt(u, y, s), z = S.height + S.depth, M = nt(h, y, s), _ = M.height + M.depth, A = nt(f, y, s), R = A.height + A.depth, H = 0, X = 1;
|
|
9284
9284
|
if (c !== null) {
|
|
9285
|
-
var V =
|
|
9286
|
-
|
|
9285
|
+
var V = nt(c, y, s);
|
|
9286
|
+
H = V.height + V.depth, X = 2;
|
|
9287
9287
|
}
|
|
9288
|
-
var O = z + R +
|
|
9289
|
-
a && (
|
|
9290
|
-
var
|
|
9288
|
+
var O = z + R + H, te = Math.max(0, Math.ceil((t - O) / (X * _))), K = O + te * X * _, fe = n.fontMetrics().axisHeight;
|
|
9289
|
+
a && (fe *= n.sizeMultiplier);
|
|
9290
|
+
var we = K / 2 - fe, he = [];
|
|
9291
9291
|
if (p.length > 0) {
|
|
9292
|
-
var Me = K - z - R,
|
|
9292
|
+
var Me = K - z - R, pe = Math.round(K * 1e3), Ie = iu(p, Math.round(Me * 1e3)), Xe = new _0(p, Ie), Be = (b / 1e3).toFixed(3) + "em", o0 = (pe / 1e3).toFixed(3) + "em", q0 = new p0([Xe], {
|
|
9293
9293
|
width: Be,
|
|
9294
9294
|
height: o0,
|
|
9295
|
-
viewBox: "0 0 " + b + " " +
|
|
9295
|
+
viewBox: "0 0 " + b + " " + pe
|
|
9296
9296
|
}), x0 = x.makeSvgSpan([], [q0], n);
|
|
9297
|
-
x0.height =
|
|
9297
|
+
x0.height = pe / 1e3, x0.style.width = Be, x0.style.height = o0, he.push({
|
|
9298
9298
|
type: "elem",
|
|
9299
9299
|
elem: x0
|
|
9300
9300
|
});
|
|
9301
9301
|
} else {
|
|
9302
|
-
if (
|
|
9302
|
+
if (he.push(vr(f, y, s)), he.push(At), c === null) {
|
|
9303
9303
|
var k0 = K - z - R + 2 * Hr;
|
|
9304
|
-
|
|
9304
|
+
he.push(gr(h, k0, n));
|
|
9305
9305
|
} else {
|
|
9306
|
-
var Pe = (K - z - R -
|
|
9307
|
-
|
|
9306
|
+
var Pe = (K - z - R - H) / 2 + 2 * Hr;
|
|
9307
|
+
he.push(gr(h, Pe, n)), he.push(At), he.push(vr(c, y, s)), he.push(At), he.push(gr(h, Pe, n));
|
|
9308
9308
|
}
|
|
9309
|
-
|
|
9309
|
+
he.push(At), he.push(vr(u, y, s));
|
|
9310
9310
|
}
|
|
9311
|
-
var
|
|
9311
|
+
var et = n.havingBaseStyle(Y.TEXT), tr = x.makeVList({
|
|
9312
9312
|
positionType: "bottom",
|
|
9313
|
-
positionData:
|
|
9314
|
-
children:
|
|
9315
|
-
},
|
|
9316
|
-
return ua(x.makeSpan(["delimsizing", "mult"], [tr],
|
|
9313
|
+
positionData: we,
|
|
9314
|
+
children: he
|
|
9315
|
+
}, et);
|
|
9316
|
+
return ua(x.makeSpan(["delimsizing", "mult"], [tr], et), Y.TEXT, n, l);
|
|
9317
9317
|
}, br = 80, yr = 0.08, wr = function(e, t, a, n, s) {
|
|
9318
9318
|
var l = su(e, n, a), u = new _0(e, l), c = new p0([u], {
|
|
9319
9319
|
// Note: 1000:1 ratio of viewBox to document em width.
|
|
@@ -9325,7 +9325,7 @@ var at = function(e, t, a) {
|
|
|
9325
9325
|
return x.makeSvgSpan(["hide-tail"], [c], s);
|
|
9326
9326
|
}, ac = function(e, t) {
|
|
9327
9327
|
var a = t.havingBaseSizing(), n = As("\\surd", e * a.sizeMultiplier, $s, a), s = a.sizeMultiplier, l = Math.max(0, t.minRuleThickness - t.fontMetrics().sqrtRuleThickness), u, c = 0, h = 0, f = 0, p;
|
|
9328
|
-
return n.type === "small" ? (f = 1e3 + 1e3 * l + br, e < 1 ? s = 1 : e < 1.4 && (s = 0.7), c = (1 + l + yr) / s, h = (1 + l) / s, u = wr("sqrtMain", c, f, l, t), u.style.minWidth = "0.853em", p = 0.833 / s) : n.type === "large" ? (f = (1e3 + br) *
|
|
9328
|
+
return n.type === "small" ? (f = 1e3 + 1e3 * l + br, e < 1 ? s = 1 : e < 1.4 && (s = 0.7), c = (1 + l + yr) / s, h = (1 + l) / s, u = wr("sqrtMain", c, f, l, t), u.style.minWidth = "0.853em", p = 0.833 / s) : n.type === "large" ? (f = (1e3 + br) * it[n.size], h = (it[n.size] + l) / s, c = (it[n.size] + l + yr) / s, u = wr("sqrtSize" + n.size, c, f, l, t), u.style.minWidth = "1.02em", p = 1 / s) : (c = e + l + yr, h = e + l, f = Math.floor(1e3 * e + l) + br, u = wr("sqrtTall", c, f, l, t), u.style.minWidth = "0.742em", p = 1.056), u.height = h, u.style.height = N(c), {
|
|
9329
9329
|
span: u,
|
|
9330
9330
|
advanceWidth: p,
|
|
9331
9331
|
// Calculate the actual line width.
|
|
@@ -9334,11 +9334,11 @@ var at = function(e, t, a) {
|
|
|
9334
9334
|
// have thicker rules.
|
|
9335
9335
|
ruleWidth: (t.fontMetrics().sqrtRuleThickness + l) * s
|
|
9336
9336
|
};
|
|
9337
|
-
}, Ts = ["(", "\\lparen", ")", "\\rparen", "[", "\\lbrack", "]", "\\rbrack", "\\{", "\\lbrace", "\\}", "\\rbrace", "\\lfloor", "\\rfloor", "⌊", "⌋", "\\lceil", "\\rceil", "⌈", "⌉", "\\surd"], nc = ["\\uparrow", "\\downarrow", "\\updownarrow", "\\Uparrow", "\\Downarrow", "\\Updownarrow", "|", "\\|", "\\vert", "\\Vert", "\\lvert", "\\rvert", "\\lVert", "\\rVert", "\\lgroup", "\\rgroup", "⟮", "⟯", "\\lmoustache", "\\rmoustache", "⎰", "⎱"], _s = ["<", ">", "\\langle", "\\rangle", "/", "\\backslash", "\\lt", "\\gt"],
|
|
9337
|
+
}, Ts = ["(", "\\lparen", ")", "\\rparen", "[", "\\lbrack", "]", "\\rbrack", "\\{", "\\lbrace", "\\}", "\\rbrace", "\\lfloor", "\\rfloor", "⌊", "⌋", "\\lceil", "\\rceil", "⌈", "⌉", "\\surd"], nc = ["\\uparrow", "\\downarrow", "\\updownarrow", "\\Uparrow", "\\Downarrow", "\\Updownarrow", "|", "\\|", "\\vert", "\\Vert", "\\lvert", "\\rvert", "\\lVert", "\\rVert", "\\lgroup", "\\rgroup", "⟮", "⟯", "\\lmoustache", "\\rmoustache", "⎰", "⎱"], _s = ["<", ">", "\\langle", "\\rangle", "/", "\\backslash", "\\lt", "\\gt"], it = [0, 1.2, 1.8, 2.4, 3], sc = function(e, t, a, n, s) {
|
|
9338
9338
|
if (e === "<" || e === "\\lt" || e === "⟨" ? e = "\\langle" : (e === ">" || e === "\\gt" || e === "⟩") && (e = "\\rangle"), U.contains(Ts, e) || U.contains(_s, e))
|
|
9339
9339
|
return Ms(e, t, !1, a, n, s);
|
|
9340
9340
|
if (U.contains(nc, e))
|
|
9341
|
-
return zs(e,
|
|
9341
|
+
return zs(e, it[t], !1, a, n, s);
|
|
9342
9342
|
throw new E("Illegal delimiter: '" + e + "'");
|
|
9343
9343
|
}, lc = [{
|
|
9344
9344
|
type: "small",
|
|
@@ -9405,7 +9405,7 @@ var at = function(e, t, a) {
|
|
|
9405
9405
|
throw new Error("Add support for delim type '" + e.type + "' here.");
|
|
9406
9406
|
}, As = function(e, t, a, n) {
|
|
9407
9407
|
for (var s = Math.min(2, 3 - n.style.size), l = s; l < a.length && a[l].type !== "stack"; l++) {
|
|
9408
|
-
var u =
|
|
9408
|
+
var u = nt(e, oc(a[l]), "math"), c = u.height + u.depth;
|
|
9409
9409
|
if (a[l].type === "small") {
|
|
9410
9410
|
var h = n.havingBaseStyle(a[l].style);
|
|
9411
9411
|
c *= h.sizeMultiplier;
|
|
@@ -9438,7 +9438,7 @@ var at = function(e, t, a) {
|
|
|
9438
9438
|
}, h0 = {
|
|
9439
9439
|
sqrtImage: ac,
|
|
9440
9440
|
sizedDelim: sc,
|
|
9441
|
-
sizeToMaxHeight:
|
|
9441
|
+
sizeToMaxHeight: it,
|
|
9442
9442
|
customSizedDelim: Cs,
|
|
9443
9443
|
leftRightDelim: uc
|
|
9444
9444
|
}, en = {
|
|
@@ -9592,14 +9592,14 @@ q({
|
|
|
9592
9592
|
t[l].isMiddle ? s = !0 : (a = Math.max(t[l].height, a), n = Math.max(t[l].depth, n));
|
|
9593
9593
|
a *= e.sizeMultiplier, n *= e.sizeMultiplier;
|
|
9594
9594
|
var u;
|
|
9595
|
-
if (r.left === "." ? u =
|
|
9595
|
+
if (r.left === "." ? u = dt(e, ["mopen"]) : u = h0.leftRightDelim(r.left, a, n, e, r.mode, ["mopen"]), t.unshift(u), s)
|
|
9596
9596
|
for (var c = 1; c < t.length; c++) {
|
|
9597
9597
|
var h = t[c], f = h.isMiddle;
|
|
9598
9598
|
f && (t[c] = h0.leftRightDelim(f.delim, a, n, f.options, r.mode, []));
|
|
9599
9599
|
}
|
|
9600
9600
|
var p;
|
|
9601
9601
|
if (r.right === ".")
|
|
9602
|
-
p =
|
|
9602
|
+
p = dt(e, ["mclose"]);
|
|
9603
9603
|
else {
|
|
9604
9604
|
var b = r.rightColor ? e.withColor(r.rightColor) : e;
|
|
9605
9605
|
p = h0.leftRightDelim(r.right, a, n, b, r.mode, ["mclose"]);
|
|
@@ -9640,7 +9640,7 @@ q({
|
|
|
9640
9640
|
htmlBuilder: (r, e) => {
|
|
9641
9641
|
var t;
|
|
9642
9642
|
if (r.delim === ".")
|
|
9643
|
-
t =
|
|
9643
|
+
t = dt(e, []);
|
|
9644
9644
|
else {
|
|
9645
9645
|
t = h0.sizedDelim(r.delim, 1, e, r.mode, []);
|
|
9646
9646
|
var a = {
|
|
@@ -9661,10 +9661,10 @@ var ca = (r, e) => {
|
|
|
9661
9661
|
if (a === "sout")
|
|
9662
9662
|
s = x.makeSpan(["stretchy", "sout"]), s.height = e.fontMetrics().defaultRuleThickness / n, l = -0.5 * e.fontMetrics().xHeight;
|
|
9663
9663
|
else if (a === "phase") {
|
|
9664
|
-
var c =
|
|
9664
|
+
var c = ge({
|
|
9665
9665
|
number: 0.6,
|
|
9666
9666
|
unit: "pt"
|
|
9667
|
-
}, e), h =
|
|
9667
|
+
}, e), h = ge({
|
|
9668
9668
|
number: 0.35,
|
|
9669
9669
|
unit: "ex"
|
|
9670
9670
|
}, e), f = e.havingBaseSizing();
|
|
@@ -9728,7 +9728,7 @@ var ca = (r, e) => {
|
|
|
9728
9728
|
}
|
|
9729
9729
|
return /cancel/.test(a) && (A.height = t.height, A.depth = t.depth), /cancel/.test(a) && !u ? x.makeSpan(["mord", "cancel-lap"], [A], e) : x.makeSpan(["mord"], [A], e);
|
|
9730
9730
|
}, da = (r, e) => {
|
|
9731
|
-
var t = 0, a = new C.MathNode(r.label.indexOf("colorbox") > -1 ? "mpadded" : "menclose", [
|
|
9731
|
+
var t = 0, a = new C.MathNode(r.label.indexOf("colorbox") > -1 ? "mpadded" : "menclose", [ue(r.body, e)]);
|
|
9732
9732
|
switch (r.label) {
|
|
9733
9733
|
case "\\cancel":
|
|
9734
9734
|
a.setAttribute("notation", "updiagonalstrike");
|
|
@@ -9941,7 +9941,7 @@ function E0(r, e, t) {
|
|
|
9941
9941
|
function R() {
|
|
9942
9942
|
c && r.gullet.macros.set("\\@eqnsw", "1", !0);
|
|
9943
9943
|
}
|
|
9944
|
-
function
|
|
9944
|
+
function H() {
|
|
9945
9945
|
A && (r.gullet.macros.get("\\df@tag") ? (A.push(r.subparse([new Ve("\\df@tag")])), r.gullet.macros.set("\\df@tag", void 0, !0)) : A.push(!!c && r.gullet.macros.get("\\@eqnsw") === "1"));
|
|
9946
9946
|
}
|
|
9947
9947
|
for (R(), _.push(rn(r)); ; ) {
|
|
@@ -9965,12 +9965,12 @@ function E0(r, e, t) {
|
|
|
9965
9965
|
}
|
|
9966
9966
|
r.consume();
|
|
9967
9967
|
} else if (V === "\\end") {
|
|
9968
|
-
|
|
9968
|
+
H(), S.length === 1 && X.type === "styling" && X.body[0].body.length === 0 && (z.length > 1 || !f) && z.pop(), _.length < z.length + 1 && _.push([]);
|
|
9969
9969
|
break;
|
|
9970
9970
|
} else if (V === "\\\\") {
|
|
9971
9971
|
r.consume();
|
|
9972
9972
|
var O = void 0;
|
|
9973
|
-
r.gullet.future().text !== " " && (O = r.parseSizeGroup(!0)), M.push(O ? O.value : null),
|
|
9973
|
+
r.gullet.future().text !== " " && (O = r.parseSizeGroup(!0)), M.push(O ? O.value : null), H(), _.push(rn(r)), S = [], z.push(S), R();
|
|
9974
9974
|
} else
|
|
9975
9975
|
throw new E("Expected & or \\\\ or \\cr or \\end", r.nextToken);
|
|
9976
9976
|
}
|
|
@@ -10003,18 +10003,18 @@ var l0 = function(e, t) {
|
|
|
10003
10003
|
var y = t.havingStyle(Y.SCRIPT).sizeMultiplier;
|
|
10004
10004
|
b = 0.2778 * (y / t.sizeMultiplier);
|
|
10005
10005
|
}
|
|
10006
|
-
var S = e.colSeparationType === "CD" ?
|
|
10006
|
+
var S = e.colSeparationType === "CD" ? ge({
|
|
10007
10007
|
number: 3,
|
|
10008
10008
|
unit: "ex"
|
|
10009
10009
|
}, t) : 12 * p, z = 3 * p, M = e.arraystretch * S, _ = 0.7 * M, A = 0.3 * M, R = 0;
|
|
10010
|
-
function
|
|
10010
|
+
function H(wt) {
|
|
10011
10011
|
for (var xt = 0; xt < wt.length; ++xt)
|
|
10012
10012
|
xt > 0 && (R += 0.25), h.push({
|
|
10013
10013
|
pos: R,
|
|
10014
10014
|
isDashed: wt[xt]
|
|
10015
10015
|
});
|
|
10016
10016
|
}
|
|
10017
|
-
for (
|
|
10017
|
+
for (H(l[0]), a = 0; a < e.body.length; ++a) {
|
|
10018
10018
|
var X = e.body[a], V = _, O = A;
|
|
10019
10019
|
u < X.length && (u = X.length);
|
|
10020
10020
|
var te = new Array(X.length);
|
|
@@ -10022,13 +10022,13 @@ var l0 = function(e, t) {
|
|
|
10022
10022
|
var K = re(X[n], t);
|
|
10023
10023
|
O < K.depth && (O = K.depth), V < K.height && (V = K.height), te[n] = K;
|
|
10024
10024
|
}
|
|
10025
|
-
var
|
|
10026
|
-
|
|
10025
|
+
var fe = e.rowGaps[a], we = 0;
|
|
10026
|
+
fe && (we = ge(fe, t), we > 0 && (we += A, O < we && (O = we), we = 0)), e.addJot && (O += z), te.height = V, te.depth = O, R += V, te.pos = R, R += O + we, c[a] = te, H(l[a + 1]);
|
|
10027
10027
|
}
|
|
10028
|
-
var
|
|
10028
|
+
var he = R / 2 + t.fontMetrics().axisHeight, Me = e.cols || [], pe = [], Ie, Xe, Be = [];
|
|
10029
10029
|
if (e.tags && e.tags.some((wt) => wt))
|
|
10030
10030
|
for (a = 0; a < s; ++a) {
|
|
10031
|
-
var o0 = c[a], q0 = o0.pos -
|
|
10031
|
+
var o0 = c[a], q0 = o0.pos - he, x0 = e.tags[a], k0 = void 0;
|
|
10032
10032
|
x0 === !0 ? k0 = x.makeSpan(["eqn-num"], [], t) : x0 === !1 ? k0 = x.makeSpan([], [], t) : k0 = x.makeSpan([], Te(x0, t, !0), t), k0.depth = o0.depth, k0.height = o0.height, Be.push({
|
|
10033
10033
|
type: "elem",
|
|
10034
10034
|
elem: k0,
|
|
@@ -10036,30 +10036,30 @@ var l0 = function(e, t) {
|
|
|
10036
10036
|
});
|
|
10037
10037
|
}
|
|
10038
10038
|
for (
|
|
10039
|
-
n = 0,
|
|
10039
|
+
n = 0, Xe = 0;
|
|
10040
10040
|
// Continue while either there are more columns or more column
|
|
10041
10041
|
// descriptions, so trailing separators don't get lost.
|
|
10042
|
-
n < u ||
|
|
10043
|
-
++n, ++
|
|
10042
|
+
n < u || Xe < Me.length;
|
|
10043
|
+
++n, ++Xe
|
|
10044
10044
|
) {
|
|
10045
|
-
for (var Pe = Me[
|
|
10046
|
-
if (
|
|
10047
|
-
var tr = Pe.separator === "|" ? "solid" : "dashed",
|
|
10048
|
-
|
|
10049
|
-
var wa = R -
|
|
10050
|
-
wa && (
|
|
10045
|
+
for (var Pe = Me[Xe] || {}, et = !0; Pe.type === "separator"; ) {
|
|
10046
|
+
if (et || (Ie = x.makeSpan(["arraycolsep"], []), Ie.style.width = N(t.fontMetrics().doubleRuleSep), pe.push(Ie)), Pe.separator === "|" || Pe.separator === ":") {
|
|
10047
|
+
var tr = Pe.separator === "|" ? "solid" : "dashed", F0 = x.makeSpan(["vertical-separator"], [], t);
|
|
10048
|
+
F0.style.height = N(R), F0.style.borderRightWidth = N(f), F0.style.borderRightStyle = tr, F0.style.margin = "0 " + N(-f / 2);
|
|
10049
|
+
var wa = R - he;
|
|
10050
|
+
wa && (F0.style.verticalAlign = N(-wa)), pe.push(F0);
|
|
10051
10051
|
} else
|
|
10052
10052
|
throw new E("Invalid separator type: " + Pe.separator);
|
|
10053
|
-
|
|
10053
|
+
Xe++, Pe = Me[Xe] || {}, et = !1;
|
|
10054
10054
|
}
|
|
10055
10055
|
if (!(n >= u)) {
|
|
10056
|
-
var
|
|
10057
|
-
(n > 0 || e.hskipBeforeAndAfter) && (
|
|
10056
|
+
var L0 = void 0;
|
|
10057
|
+
(n > 0 || e.hskipBeforeAndAfter) && (L0 = U.deflt(Pe.pregap, b), L0 !== 0 && (Ie = x.makeSpan(["arraycolsep"], []), Ie.style.width = N(L0), pe.push(Ie)));
|
|
10058
10058
|
var H0 = [];
|
|
10059
10059
|
for (a = 0; a < s; ++a) {
|
|
10060
10060
|
var bt = c[a], yt = bt[n];
|
|
10061
10061
|
if (yt) {
|
|
10062
|
-
var gl = bt.pos -
|
|
10062
|
+
var gl = bt.pos - he;
|
|
10063
10063
|
yt.depth = bt.depth, yt.height = bt.height, H0.push({
|
|
10064
10064
|
type: "elem",
|
|
10065
10065
|
elem: yt,
|
|
@@ -10070,16 +10070,16 @@ var l0 = function(e, t) {
|
|
|
10070
10070
|
H0 = x.makeVList({
|
|
10071
10071
|
positionType: "individualShift",
|
|
10072
10072
|
children: H0
|
|
10073
|
-
}, t), H0 = x.makeSpan(["col-align-" + (Pe.align || "c")], [H0]),
|
|
10073
|
+
}, t), H0 = x.makeSpan(["col-align-" + (Pe.align || "c")], [H0]), pe.push(H0), (n < u - 1 || e.hskipBeforeAndAfter) && (L0 = U.deflt(Pe.postgap, b), L0 !== 0 && (Ie = x.makeSpan(["arraycolsep"], []), Ie.style.width = N(L0), pe.push(Ie)));
|
|
10074
10074
|
}
|
|
10075
10075
|
}
|
|
10076
|
-
if (c = x.makeSpan(["mtable"],
|
|
10076
|
+
if (c = x.makeSpan(["mtable"], pe), h.length > 0) {
|
|
10077
10077
|
for (var bl = x.makeLineSpan("hline", t, f), yl = x.makeLineSpan("hdashline", t, f), rr = [{
|
|
10078
10078
|
type: "elem",
|
|
10079
10079
|
elem: c,
|
|
10080
10080
|
shift: 0
|
|
10081
10081
|
}]; h.length > 0; ) {
|
|
10082
|
-
var xa = h.pop(), ka = xa.pos -
|
|
10082
|
+
var xa = h.pop(), ka = xa.pos - he;
|
|
10083
10083
|
xa.isDashed ? rr.push({
|
|
10084
10084
|
type: "elem",
|
|
10085
10085
|
elem: yl,
|
|
@@ -10109,7 +10109,7 @@ var l0 = function(e, t) {
|
|
|
10109
10109
|
}, i0 = function(e, t) {
|
|
10110
10110
|
for (var a = [], n = new C.MathNode("mtd", [], ["mtr-glue"]), s = new C.MathNode("mtd", [], ["mml-eqn-num"]), l = 0; l < e.body.length; l++) {
|
|
10111
10111
|
for (var u = e.body[l], c = [], h = 0; h < u.length; h++)
|
|
10112
|
-
c.push(new C.MathNode("mtd", [
|
|
10112
|
+
c.push(new C.MathNode("mtd", [ue(u[h], t)]));
|
|
10113
10113
|
e.tags && e.tags[l] && (c.unshift(n), c.push(n), e.leqno ? c.unshift(s) : c.push(s)), a.push(new C.MathNode("mtr", c));
|
|
10114
10114
|
}
|
|
10115
10115
|
var f = new C.MathNode("mtable", a), p = e.arraystretch === 0.5 ? 0.1 : 0.16 + e.arraystretch - 1 + (e.addJot ? 0.09 : 0);
|
|
@@ -10123,7 +10123,7 @@ var l0 = function(e, t) {
|
|
|
10123
10123
|
f.setAttribute("columnalign", y.trim()), /[sd]/.test(z) && f.setAttribute("columnlines", z.trim());
|
|
10124
10124
|
}
|
|
10125
10125
|
if (e.colSeparationType === "align") {
|
|
10126
|
-
for (var
|
|
10126
|
+
for (var H = e.cols || [], X = "", V = 1; V < H.length; V++)
|
|
10127
10127
|
X += V % 2 ? "0em " : "1em ";
|
|
10128
10128
|
f.setAttribute("columnspacing", X.trim());
|
|
10129
10129
|
} else e.colSeparationType === "alignat" || e.colSeparationType === "gather" ? f.setAttribute("columnspacing", "0em") : e.colSeparationType === "small" ? f.setAttribute("columnspacing", "0.2778em") : e.colSeparationType === "CD" ? f.setAttribute("columnspacing", "0.5em") : f.setAttribute("columnspacing", "1em");
|
|
@@ -10157,8 +10157,8 @@ var l0 = function(e, t) {
|
|
|
10157
10157
|
var y = !c;
|
|
10158
10158
|
l.body.forEach(function(_) {
|
|
10159
10159
|
for (var A = 1; A < _.length; A += 2) {
|
|
10160
|
-
var R = ee(_[A], "styling"),
|
|
10161
|
-
|
|
10160
|
+
var R = ee(_[A], "styling"), H = ee(R.body[0], "ordgroup");
|
|
10161
|
+
H.body.unshift(h);
|
|
10162
10162
|
}
|
|
10163
10163
|
if (y)
|
|
10164
10164
|
c < _.length && (c = _.length);
|
|
@@ -10485,7 +10485,7 @@ var Ds = (r, e) => {
|
|
|
10485
10485
|
return re(r.body, a);
|
|
10486
10486
|
}, Ns = (r, e) => {
|
|
10487
10487
|
var t = r.font, a = e.withFont(t);
|
|
10488
|
-
return
|
|
10488
|
+
return ue(r.body, a);
|
|
10489
10489
|
}, nn = {
|
|
10490
10490
|
"\\Bbb": "\\mathbb",
|
|
10491
10491
|
"\\bold": "\\mathbf",
|
|
@@ -10598,7 +10598,7 @@ var Rs = (r, e) => {
|
|
|
10598
10598
|
}
|
|
10599
10599
|
s = e.havingStyle(n);
|
|
10600
10600
|
var h = re(r.denom, s, e), f, p, b;
|
|
10601
|
-
r.hasBarLine ? (r.barSize ? (p =
|
|
10601
|
+
r.hasBarLine ? (r.barSize ? (p = ge(r.barSize, e), f = x.makeLineSpan("frac-line", e, p)) : f = x.makeLineSpan("frac-line", e), p = f.height, b = f.height) : (f = null, p = 0, b = e.fontMetrics().defaultRuleThickness);
|
|
10602
10602
|
var y, S, z;
|
|
10603
10603
|
t.size === Y.DISPLAY.size || r.size === "display" ? (y = e.fontMetrics().num1, p > 0 ? S = 3 * b : S = 7 * b, z = e.fontMetrics().denom1) : (p > 0 ? (y = e.fontMetrics().num2, S = b) : (y = e.fontMetrics().num3, S = 3 * b), z = e.fontMetrics().denom2);
|
|
10604
10604
|
var M;
|
|
@@ -10638,16 +10638,16 @@ var Rs = (r, e) => {
|
|
|
10638
10638
|
}, e);
|
|
10639
10639
|
}
|
|
10640
10640
|
s = e.havingStyle(t), M.height *= s.sizeMultiplier / e.sizeMultiplier, M.depth *= s.sizeMultiplier / e.sizeMultiplier;
|
|
10641
|
-
var
|
|
10642
|
-
t.size === Y.DISPLAY.size ?
|
|
10641
|
+
var H;
|
|
10642
|
+
t.size === Y.DISPLAY.size ? H = e.fontMetrics().delim1 : t.size === Y.SCRIPTSCRIPT.size ? H = e.havingStyle(Y.SCRIPT).fontMetrics().delim2 : H = e.fontMetrics().delim2;
|
|
10643
10643
|
var X, V;
|
|
10644
|
-
return r.leftDelim == null ? X =
|
|
10644
|
+
return r.leftDelim == null ? X = dt(e, ["mopen"]) : X = h0.customSizedDelim(r.leftDelim, H, !0, e.havingStyle(t), r.mode, ["mopen"]), r.continued ? V = x.makeSpan([]) : r.rightDelim == null ? V = dt(e, ["mclose"]) : V = h0.customSizedDelim(r.rightDelim, H, !0, e.havingStyle(t), r.mode, ["mclose"]), x.makeSpan(["mord"].concat(s.sizingClasses(e)), [X, x.makeSpan(["mfrac"], [M]), V], e);
|
|
10645
10645
|
}, pa = (r, e) => {
|
|
10646
|
-
var t = new C.MathNode("mfrac", [
|
|
10646
|
+
var t = new C.MathNode("mfrac", [ue(r.numer, e), ue(r.denom, e)]);
|
|
10647
10647
|
if (!r.hasBarLine)
|
|
10648
10648
|
t.setAttribute("linethickness", "0px");
|
|
10649
10649
|
else if (r.barSize) {
|
|
10650
|
-
var a =
|
|
10650
|
+
var a = ge(r.barSize, e);
|
|
10651
10651
|
t.setAttribute("linethickness", N(a));
|
|
10652
10652
|
}
|
|
10653
10653
|
var n = Rs(r.size, e.style);
|
|
@@ -10961,7 +10961,7 @@ var Os = (r, e) => {
|
|
|
10961
10961
|
return x.makeSpan(["mord", n.isOver ? "mover" : "munder"], [u], e);
|
|
10962
10962
|
}, hc = (r, e) => {
|
|
10963
10963
|
var t = g0.mathMLnode(r.label);
|
|
10964
|
-
return new C.MathNode(r.isOver ? "mover" : "munder", [
|
|
10964
|
+
return new C.MathNode(r.isOver ? "mover" : "munder", [ue(r.base, e), t]);
|
|
10965
10965
|
};
|
|
10966
10966
|
q({
|
|
10967
10967
|
type: "horizBrace",
|
|
@@ -11252,10 +11252,10 @@ q({
|
|
|
11252
11252
|
} : a.formatUnsupportedCmd("\\includegraphics");
|
|
11253
11253
|
},
|
|
11254
11254
|
htmlBuilder: (r, e) => {
|
|
11255
|
-
var t =
|
|
11256
|
-
r.totalheight.number > 0 && (a =
|
|
11255
|
+
var t = ge(r.height, e), a = 0;
|
|
11256
|
+
r.totalheight.number > 0 && (a = ge(r.totalheight, e) - t);
|
|
11257
11257
|
var n = 0;
|
|
11258
|
-
r.width.number > 0 && (n =
|
|
11258
|
+
r.width.number > 0 && (n = ge(r.width, e));
|
|
11259
11259
|
var s = {
|
|
11260
11260
|
height: N(t + a)
|
|
11261
11261
|
};
|
|
@@ -11266,9 +11266,9 @@ q({
|
|
|
11266
11266
|
mathmlBuilder: (r, e) => {
|
|
11267
11267
|
var t = new C.MathNode("mglyph", []);
|
|
11268
11268
|
t.setAttribute("alt", r.alt);
|
|
11269
|
-
var a =
|
|
11270
|
-
if (r.totalheight.number > 0 && (n =
|
|
11271
|
-
var s =
|
|
11269
|
+
var a = ge(r.height, e), n = 0;
|
|
11270
|
+
if (r.totalheight.number > 0 && (n = ge(r.totalheight, e) - a, t.setAttribute("valign", N(-n))), t.setAttribute("height", N(a + n)), r.width.number > 0) {
|
|
11271
|
+
var s = ge(r.width, e);
|
|
11272
11272
|
t.setAttribute("width", N(s));
|
|
11273
11273
|
}
|
|
11274
11274
|
return t.setAttribute("src", r.src), t;
|
|
@@ -11302,7 +11302,7 @@ q({
|
|
|
11302
11302
|
return x.makeGlue(r.dimension, e);
|
|
11303
11303
|
},
|
|
11304
11304
|
mathmlBuilder(r, e) {
|
|
11305
|
-
var t =
|
|
11305
|
+
var t = ge(r.dimension, e);
|
|
11306
11306
|
return new C.SpaceNode(t);
|
|
11307
11307
|
}
|
|
11308
11308
|
});
|
|
@@ -11332,7 +11332,7 @@ q({
|
|
|
11332
11332
|
return s.style.height = N(n.height + n.depth), n.depth && (s.style.verticalAlign = N(-n.depth)), n.children.unshift(s), n = x.makeSpan(["thinbox"], [n], e), x.makeSpan(["mord", "vbox"], [n], e);
|
|
11333
11333
|
},
|
|
11334
11334
|
mathmlBuilder: (r, e) => {
|
|
11335
|
-
var t = new C.MathNode("mpadded", [
|
|
11335
|
+
var t = new C.MathNode("mpadded", [ue(r.body, e)]);
|
|
11336
11336
|
if (r.alignment !== "rlap") {
|
|
11337
11337
|
var a = r.alignment === "llap" ? "-1" : "-0.5";
|
|
11338
11338
|
t.setAttribute("lspace", a + "width");
|
|
@@ -11515,11 +11515,11 @@ var qs = (r, e, t, a, n, s, l) => {
|
|
|
11515
11515
|
_.style.marginRight = N(s), M.unshift(_);
|
|
11516
11516
|
}
|
|
11517
11517
|
return x.makeSpan(["mop", "op-limits"], M, a);
|
|
11518
|
-
},
|
|
11518
|
+
}, Fs = ["\\smallint"], Q0 = (r, e) => {
|
|
11519
11519
|
var t, a, n = !1, s;
|
|
11520
11520
|
r.type === "supsub" ? (t = r.sup, a = r.sub, s = ee(r.base, "op"), n = !0) : s = ee(r, "op");
|
|
11521
11521
|
var l = e.style, u = !1;
|
|
11522
|
-
l.size === Y.DISPLAY.size && s.symbol && !U.contains(
|
|
11522
|
+
l.size === Y.DISPLAY.size && s.symbol && !U.contains(Fs, s.name) && (u = !0);
|
|
11523
11523
|
var c;
|
|
11524
11524
|
if (s.symbol) {
|
|
11525
11525
|
var h = u ? "Size2-Regular" : "Size1-Regular", f = "";
|
|
@@ -11548,10 +11548,10 @@ var qs = (r, e, t, a, n, s, l) => {
|
|
|
11548
11548
|
}
|
|
11549
11549
|
var M = 0, _ = 0;
|
|
11550
11550
|
return (c instanceof Ue || s.name === "\\oiint" || s.name === "\\oiiint") && !s.suppressBaseShift && (M = (c.height - c.depth) / 2 - e.fontMetrics().axisHeight, _ = c.italic), n ? qs(c, t, a, e, l, _, M) : (M && (c.style.position = "relative", c.style.top = N(M)), c);
|
|
11551
|
-
},
|
|
11551
|
+
}, gt = (r, e) => {
|
|
11552
11552
|
var t;
|
|
11553
11553
|
if (r.symbol)
|
|
11554
|
-
t = new qe("mo", [We(r.name, r.mode)]), U.contains(
|
|
11554
|
+
t = new qe("mo", [We(r.name, r.mode)]), U.contains(Fs, r.name) && t.setAttribute("largeop", "false");
|
|
11555
11555
|
else if (r.body)
|
|
11556
11556
|
t = new qe("mo", Re(r.body, e));
|
|
11557
11557
|
else {
|
|
@@ -11595,7 +11595,7 @@ q({
|
|
|
11595
11595
|
};
|
|
11596
11596
|
},
|
|
11597
11597
|
htmlBuilder: Q0,
|
|
11598
|
-
mathmlBuilder:
|
|
11598
|
+
mathmlBuilder: gt
|
|
11599
11599
|
});
|
|
11600
11600
|
q({
|
|
11601
11601
|
type: "op",
|
|
@@ -11618,7 +11618,7 @@ q({
|
|
|
11618
11618
|
};
|
|
11619
11619
|
},
|
|
11620
11620
|
htmlBuilder: Q0,
|
|
11621
|
-
mathmlBuilder:
|
|
11621
|
+
mathmlBuilder: gt
|
|
11622
11622
|
});
|
|
11623
11623
|
var fc = {
|
|
11624
11624
|
"∫": "\\int",
|
|
@@ -11649,7 +11649,7 @@ q({
|
|
|
11649
11649
|
};
|
|
11650
11650
|
},
|
|
11651
11651
|
htmlBuilder: Q0,
|
|
11652
|
-
mathmlBuilder:
|
|
11652
|
+
mathmlBuilder: gt
|
|
11653
11653
|
});
|
|
11654
11654
|
q({
|
|
11655
11655
|
type: "op",
|
|
@@ -11672,7 +11672,7 @@ q({
|
|
|
11672
11672
|
};
|
|
11673
11673
|
},
|
|
11674
11674
|
htmlBuilder: Q0,
|
|
11675
|
-
mathmlBuilder:
|
|
11675
|
+
mathmlBuilder: gt
|
|
11676
11676
|
});
|
|
11677
11677
|
q({
|
|
11678
11678
|
type: "op",
|
|
@@ -11695,9 +11695,9 @@ q({
|
|
|
11695
11695
|
};
|
|
11696
11696
|
},
|
|
11697
11697
|
htmlBuilder: Q0,
|
|
11698
|
-
mathmlBuilder:
|
|
11698
|
+
mathmlBuilder: gt
|
|
11699
11699
|
});
|
|
11700
|
-
var
|
|
11700
|
+
var Ls = (r, e) => {
|
|
11701
11701
|
var t, a, n = !1, s;
|
|
11702
11702
|
r.type === "supsub" ? (t = r.sup, a = r.sub, s = ee(r.base, "operatorname"), n = !0) : s = ee(r, "operatorname");
|
|
11703
11703
|
var l;
|
|
@@ -11769,7 +11769,7 @@ q({
|
|
|
11769
11769
|
parentIsSupSub: !1
|
|
11770
11770
|
};
|
|
11771
11771
|
},
|
|
11772
|
-
htmlBuilder:
|
|
11772
|
+
htmlBuilder: Ls,
|
|
11773
11773
|
mathmlBuilder: pc
|
|
11774
11774
|
});
|
|
11775
11775
|
m("\\operatorname", "\\@ifstar\\operatornamewithlimits\\operatorname@");
|
|
@@ -11820,7 +11820,7 @@ q({
|
|
|
11820
11820
|
mathmlBuilder(r, e) {
|
|
11821
11821
|
var t = new C.MathNode("mo", [new C.TextNode("‾")]);
|
|
11822
11822
|
t.setAttribute("stretchy", "true");
|
|
11823
|
-
var a = new C.MathNode("mover", [
|
|
11823
|
+
var a = new C.MathNode("mover", [ue(r.body, e), t]);
|
|
11824
11824
|
return a.setAttribute("accent", "true"), a;
|
|
11825
11825
|
}
|
|
11826
11826
|
});
|
|
@@ -11931,7 +11931,7 @@ q({
|
|
|
11931
11931
|
};
|
|
11932
11932
|
},
|
|
11933
11933
|
htmlBuilder(r, e) {
|
|
11934
|
-
var t = re(r.body, e), a =
|
|
11934
|
+
var t = re(r.body, e), a = ge(r.dy, e);
|
|
11935
11935
|
return x.makeVList({
|
|
11936
11936
|
positionType: "shift",
|
|
11937
11937
|
positionData: -a,
|
|
@@ -11942,7 +11942,7 @@ q({
|
|
|
11942
11942
|
}, e);
|
|
11943
11943
|
},
|
|
11944
11944
|
mathmlBuilder(r, e) {
|
|
11945
|
-
var t = new C.MathNode("mpadded", [
|
|
11945
|
+
var t = new C.MathNode("mpadded", [ue(r.body, e)]), a = r.dy.number + r.dy.unit;
|
|
11946
11946
|
return t.setAttribute("voffset", a), t;
|
|
11947
11947
|
}
|
|
11948
11948
|
});
|
|
@@ -11986,11 +11986,11 @@ q({
|
|
|
11986
11986
|
};
|
|
11987
11987
|
},
|
|
11988
11988
|
htmlBuilder(r, e) {
|
|
11989
|
-
var t = x.makeSpan(["mord", "rule"], [], e), a =
|
|
11989
|
+
var t = x.makeSpan(["mord", "rule"], [], e), a = ge(r.width, e), n = ge(r.height, e), s = r.shift ? ge(r.shift, e) : 0;
|
|
11990
11990
|
return t.style.borderRightWidth = N(a), t.style.borderTopWidth = N(n), t.style.bottom = N(s), t.width = a, t.height = n + s, t.depth = -s, t.maxFontSize = n * 1.125 * e.sizeMultiplier, t;
|
|
11991
11991
|
},
|
|
11992
11992
|
mathmlBuilder(r, e) {
|
|
11993
|
-
var t =
|
|
11993
|
+
var t = ge(r.width, e), a = ge(r.height, e), n = r.shift ? ge(r.shift, e) : 0, s = e.color && e.getColor() || "black", l = new C.MathNode("mspace");
|
|
11994
11994
|
l.setAttribute("mathbackground", s), l.setAttribute("width", N(t)), l.setAttribute("height", N(a));
|
|
11995
11995
|
var u = new C.MathNode("mpadded", [l]);
|
|
11996
11996
|
return n >= 0 ? u.setAttribute("height", N(n)) : (u.setAttribute("height", N(n)), u.setAttribute("depth", N(-n))), u.setAttribute("voffset", N(n)), u;
|
|
@@ -12089,7 +12089,7 @@ q({
|
|
|
12089
12089
|
return x.makeSpan(["mord"], [s], e);
|
|
12090
12090
|
},
|
|
12091
12091
|
mathmlBuilder: (r, e) => {
|
|
12092
|
-
var t = new C.MathNode("mpadded", [
|
|
12092
|
+
var t = new C.MathNode("mpadded", [ue(r.body, e)]);
|
|
12093
12093
|
return r.smashHeight && t.setAttribute("height", "0px"), r.smashDepth && t.setAttribute("depth", "0px"), t;
|
|
12094
12094
|
}
|
|
12095
12095
|
});
|
|
@@ -12159,7 +12159,7 @@ q({
|
|
|
12159
12159
|
body: t,
|
|
12160
12160
|
index: a
|
|
12161
12161
|
} = r;
|
|
12162
|
-
return a ? new C.MathNode("mroot", [
|
|
12162
|
+
return a ? new C.MathNode("mroot", [ue(t, e), ue(a, e)]) : new C.MathNode("msqrt", [ue(t, e)]);
|
|
12163
12163
|
}
|
|
12164
12164
|
});
|
|
12165
12165
|
var cn = {
|
|
@@ -12213,7 +12213,7 @@ var gc = function(e, t) {
|
|
|
12213
12213
|
return n ? Q0 : null;
|
|
12214
12214
|
} else if (a.type === "operatorname") {
|
|
12215
12215
|
var s = a.alwaysHandleSupSub && (t.style.size === Y.DISPLAY.size || a.limits);
|
|
12216
|
-
return s ?
|
|
12216
|
+
return s ? Ls : null;
|
|
12217
12217
|
} else {
|
|
12218
12218
|
if (a.type === "accent")
|
|
12219
12219
|
return U.isCharacterBox(a.base) ? oa : null;
|
|
@@ -12251,7 +12251,7 @@ O0({
|
|
|
12251
12251
|
var R = r.base && r.base.type === "op" && r.base.name && (r.base.name === "\\oiint" || r.base.name === "\\oiiint");
|
|
12252
12252
|
(l instanceof Ue || R) && (A = N(-l.italic));
|
|
12253
12253
|
}
|
|
12254
|
-
var
|
|
12254
|
+
var H;
|
|
12255
12255
|
if (u && c) {
|
|
12256
12256
|
f = Math.max(f, z, u.depth + 0.25 * h.xHeight), p = Math.max(p, h.sub2);
|
|
12257
12257
|
var X = h.defaultRuleThickness, V = 4 * X;
|
|
@@ -12272,7 +12272,7 @@ O0({
|
|
|
12272
12272
|
shift: -f,
|
|
12273
12273
|
marginRight: _
|
|
12274
12274
|
}];
|
|
12275
|
-
|
|
12275
|
+
H = x.makeVList({
|
|
12276
12276
|
positionType: "individualShift",
|
|
12277
12277
|
children: te
|
|
12278
12278
|
}, e);
|
|
@@ -12284,13 +12284,13 @@ O0({
|
|
|
12284
12284
|
marginLeft: A,
|
|
12285
12285
|
marginRight: _
|
|
12286
12286
|
}];
|
|
12287
|
-
|
|
12287
|
+
H = x.makeVList({
|
|
12288
12288
|
positionType: "shift",
|
|
12289
12289
|
positionData: p,
|
|
12290
12290
|
children: K
|
|
12291
12291
|
}, e);
|
|
12292
12292
|
} else if (u)
|
|
12293
|
-
f = Math.max(f, z, u.depth + 0.25 * h.xHeight),
|
|
12293
|
+
f = Math.max(f, z, u.depth + 0.25 * h.xHeight), H = x.makeVList({
|
|
12294
12294
|
positionType: "shift",
|
|
12295
12295
|
positionData: -f,
|
|
12296
12296
|
children: [{
|
|
@@ -12301,14 +12301,14 @@ O0({
|
|
|
12301
12301
|
}, e);
|
|
12302
12302
|
else
|
|
12303
12303
|
throw new Error("supsub must have either sup or sub.");
|
|
12304
|
-
var
|
|
12305
|
-
return x.makeSpan([
|
|
12304
|
+
var fe = qr(l, "right") || "mord";
|
|
12305
|
+
return x.makeSpan([fe], [l, x.makeSpan(["msupsub"], [H])], e);
|
|
12306
12306
|
},
|
|
12307
12307
|
mathmlBuilder(r, e) {
|
|
12308
12308
|
var t = !1, a, n;
|
|
12309
12309
|
r.base && r.base.type === "horizBrace" && (n = !!r.sup, n === r.base.isOver && (t = !0, a = r.base.isOver)), r.base && (r.base.type === "op" || r.base.type === "operatorname") && (r.base.parentIsSupSub = !0);
|
|
12310
|
-
var s = [
|
|
12311
|
-
r.sub && s.push(
|
|
12310
|
+
var s = [ue(r.base, e)];
|
|
12311
|
+
r.sub && s.push(ue(r.sub, e)), r.sup && s.push(ue(r.sup, e));
|
|
12312
12312
|
var l;
|
|
12313
12313
|
if (t)
|
|
12314
12314
|
l = a ? "mover" : "munder";
|
|
@@ -12527,7 +12527,7 @@ q({
|
|
|
12527
12527
|
mathmlBuilder(r, e) {
|
|
12528
12528
|
var t = new C.MathNode("mo", [new C.TextNode("‾")]);
|
|
12529
12529
|
t.setAttribute("stretchy", "true");
|
|
12530
|
-
var a = new C.MathNode("munder", [
|
|
12530
|
+
var a = new C.MathNode("munder", [ue(r.body, e), t]);
|
|
12531
12531
|
return a.setAttribute("accentunder", "true"), a;
|
|
12532
12532
|
}
|
|
12533
12533
|
});
|
|
@@ -12562,7 +12562,7 @@ q({
|
|
|
12562
12562
|
}, e);
|
|
12563
12563
|
},
|
|
12564
12564
|
mathmlBuilder(r, e) {
|
|
12565
|
-
return new C.MathNode("mpadded", [
|
|
12565
|
+
return new C.MathNode("mpadded", [ue(r.body, e)], ["vcenter"]);
|
|
12566
12566
|
}
|
|
12567
12567
|
});
|
|
12568
12568
|
q({
|
|
@@ -12838,7 +12838,7 @@ m("\\errmessage", (r) => {
|
|
|
12838
12838
|
});
|
|
12839
12839
|
m("\\show", (r) => {
|
|
12840
12840
|
var e = r.popToken(), t = e.text;
|
|
12841
|
-
return console.log(e, r.macros.get(t), z0[t],
|
|
12841
|
+
return console.log(e, r.macros.get(t), z0[t], de.math[t], de.text[t]), "";
|
|
12842
12842
|
});
|
|
12843
12843
|
m("\\bgroup", "{");
|
|
12844
12844
|
m("\\egroup", "}");
|
|
@@ -12973,7 +12973,7 @@ var bn = {
|
|
|
12973
12973
|
};
|
|
12974
12974
|
m("\\dots", function(r) {
|
|
12975
12975
|
var e = "\\dotso", t = r.expandAfterFuture().text;
|
|
12976
|
-
return t in bn ? e = bn[t] : (t.slice(0, 4) === "\\not" || t in
|
|
12976
|
+
return t in bn ? e = bn[t] : (t.slice(0, 4) === "\\not" || t in de.math && U.contains(["bin", "rel"], de.math[t].group)) && (e = "\\dotsb"), e;
|
|
12977
12977
|
});
|
|
12978
12978
|
var ga = {
|
|
12979
12979
|
// \rightdelim@ checks for the following:
|
|
@@ -13578,7 +13578,7 @@ class _c {
|
|
|
13578
13578
|
* `implicitCommands`.
|
|
13579
13579
|
*/
|
|
13580
13580
|
isDefined(e) {
|
|
13581
|
-
return this.macros.has(e) || z0.hasOwnProperty(e) ||
|
|
13581
|
+
return this.macros.has(e) || z0.hasOwnProperty(e) || de.math.hasOwnProperty(e) || de.text.hasOwnProperty(e) || Us.hasOwnProperty(e);
|
|
13582
13582
|
}
|
|
13583
13583
|
/**
|
|
13584
13584
|
* Determine whether a command is expandable.
|
|
@@ -14595,13 +14595,13 @@ class Jt {
|
|
|
14595
14595
|
star: n
|
|
14596
14596
|
};
|
|
14597
14597
|
}
|
|
14598
|
-
wn.hasOwnProperty(t[0]) && !
|
|
14598
|
+
wn.hasOwnProperty(t[0]) && !de[this.mode][t[0]] && (this.settings.strict && this.mode === "math" && this.settings.reportNonstrict("unicodeTextInMathMode", 'Accented Unicode text character "' + t[0] + '" used in math mode', e), t = wn[t[0]] + t.slice(1));
|
|
14599
14599
|
var s = Sc.exec(t);
|
|
14600
14600
|
s && (t = t.substring(0, s.index), t === "i" ? t = "ı" : t === "j" && (t = "ȷ"));
|
|
14601
14601
|
var l;
|
|
14602
|
-
if (
|
|
14602
|
+
if (de[this.mode][t]) {
|
|
14603
14603
|
this.settings.strict && this.mode === "math" && Or.indexOf(t) >= 0 && this.settings.reportNonstrict("unicodeTextInMathMode", 'Latin-1/Unicode text character "' + t[0] + '" used in math mode', e);
|
|
14604
|
-
var u =
|
|
14604
|
+
var u = de[this.mode][t].group, c = Oe.range(e), h;
|
|
14605
14605
|
if (pu.hasOwnProperty(u)) {
|
|
14606
14606
|
var f = u;
|
|
14607
14607
|
h = {
|
|
@@ -14699,12 +14699,12 @@ var Ws = function(e, t) {
|
|
|
14699
14699
|
var a = new ea(t);
|
|
14700
14700
|
try {
|
|
14701
14701
|
var n = ba(e, a);
|
|
14702
|
-
return
|
|
14702
|
+
return Fu(n, e, a);
|
|
14703
14703
|
} catch (s) {
|
|
14704
14704
|
return Xs(s, e, a);
|
|
14705
14705
|
}
|
|
14706
14706
|
}, Ks = "0.16.21", Qs = {
|
|
14707
|
-
Span:
|
|
14707
|
+
Span: vt,
|
|
14708
14708
|
Anchor: aa,
|
|
14709
14709
|
SymbolNode: Ue,
|
|
14710
14710
|
SvgNode: p0,
|
|
@@ -14732,7 +14732,7 @@ var Ws = function(e, t) {
|
|
|
14732
14732
|
/**
|
|
14733
14733
|
* The schema of Settings
|
|
14734
14734
|
*/
|
|
14735
|
-
SETTINGS_SCHEMA:
|
|
14735
|
+
SETTINGS_SCHEMA: lt,
|
|
14736
14736
|
/**
|
|
14737
14737
|
* Parses the given LaTeX into KaTeX's internal parse tree structure,
|
|
14738
14738
|
* without rendering to HTML or MathML.
|
|
@@ -14791,7 +14791,7 @@ var Ws = function(e, t) {
|
|
|
14791
14791
|
const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14792
14792
|
__proto__: null,
|
|
14793
14793
|
ParseError: E,
|
|
14794
|
-
SETTINGS_SCHEMA:
|
|
14794
|
+
SETTINGS_SCHEMA: lt,
|
|
14795
14795
|
__defineFunction: q,
|
|
14796
14796
|
__defineMacro: m,
|
|
14797
14797
|
__defineSymbol: i,
|
|
@@ -14806,7 +14806,7 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14806
14806
|
},
|
|
14807
14807
|
renderToString: Ws,
|
|
14808
14808
|
version: Ks
|
|
14809
|
-
}, Symbol.toStringTag, { value: "Module" })), $c = /* @__PURE__ */
|
|
14809
|
+
}, Symbol.toStringTag, { value: "Module" })), $c = /* @__PURE__ */ L({
|
|
14810
14810
|
__name: "ElmKatex",
|
|
14811
14811
|
props: {
|
|
14812
14812
|
expression: {},
|
|
@@ -14823,12 +14823,12 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14823
14823
|
console.error("KaTeX rendering error:", n);
|
|
14824
14824
|
}
|
|
14825
14825
|
};
|
|
14826
|
-
return A0(a), Tl(a), (n, s) => (T(),
|
|
14826
|
+
return A0(a), Tl(a), (n, s) => (T(), ae(R0(e.block ? "div" : "span"), {
|
|
14827
14827
|
class: k(n.$style.katex),
|
|
14828
14828
|
key: JSON.stringify(e),
|
|
14829
14829
|
ref_key: "targetRef",
|
|
14830
14830
|
ref: t,
|
|
14831
|
-
style:
|
|
14831
|
+
style: P({
|
|
14832
14832
|
"--margin-block": e.block ? "3rem" : void 0
|
|
14833
14833
|
})
|
|
14834
14834
|
}, {
|
|
@@ -14842,7 +14842,7 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14842
14842
|
katex: Ac
|
|
14843
14843
|
}, Ec = {
|
|
14844
14844
|
$style: Cc
|
|
14845
|
-
}, Ic = /* @__PURE__ */ G($c, [["__cssModules", Ec]]), Bc = ["src"], Dc = /* @__PURE__ */
|
|
14845
|
+
}, Ic = /* @__PURE__ */ G($c, [["__cssModules", Ec]]), Bc = ["src"], Dc = /* @__PURE__ */ L({
|
|
14846
14846
|
__name: "ElmMermaid",
|
|
14847
14847
|
props: {
|
|
14848
14848
|
code: {},
|
|
@@ -14861,7 +14861,7 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14861
14861
|
const e = r, t = J(null);
|
|
14862
14862
|
return A0(async () => {
|
|
14863
14863
|
if ((window == null ? void 0 : window.document) != null) {
|
|
14864
|
-
const a = await import("./mermaid.core-
|
|
14864
|
+
const a = await import("./mermaid.core-DfC7KyAz.js").then((u) => u.bv), n = a.default ?? a;
|
|
14865
14865
|
n.initialize({
|
|
14866
14866
|
startOnLoad: !0,
|
|
14867
14867
|
themeVariables: e.themeVariables
|
|
@@ -14874,44 +14874,44 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14874
14874
|
);
|
|
14875
14875
|
t.value = `data:image/svg+xml;base64,${l}`;
|
|
14876
14876
|
}
|
|
14877
|
-
}), (a, n) => (T(),
|
|
14877
|
+
}), (a, n) => (T(), ae(n0, { mode: "out-in" }, {
|
|
14878
14878
|
default: ze(() => [
|
|
14879
14879
|
t.value != null ? (T(), I("img", {
|
|
14880
14880
|
key: 0,
|
|
14881
14881
|
src: t.value,
|
|
14882
14882
|
alt: "Mermaid Chart"
|
|
14883
|
-
}, null, 8, Bc)) : (T(),
|
|
14883
|
+
}, null, 8, Bc)) : (T(), ae(Jr, { key: 1 }))
|
|
14884
14884
|
]),
|
|
14885
14885
|
_: 1
|
|
14886
14886
|
}));
|
|
14887
14887
|
}
|
|
14888
|
-
}), Mm = /* @__PURE__ */ G(Dc, [["__scopeId", "data-v-6dca470f"]]), Nc = /* @__PURE__ */
|
|
14888
|
+
}), Mm = /* @__PURE__ */ G(Dc, [["__scopeId", "data-v-6dca470f"]]), Nc = /* @__PURE__ */ L({
|
|
14889
14889
|
__name: "ElmColumn",
|
|
14890
14890
|
setup(r) {
|
|
14891
14891
|
return (e, t) => (T(), I("div", {
|
|
14892
14892
|
class: k(e.$style.column)
|
|
14893
14893
|
}, [
|
|
14894
|
-
|
|
14894
|
+
ye(e.$slots, "default")
|
|
14895
14895
|
], 2));
|
|
14896
14896
|
}
|
|
14897
14897
|
}), Rc = "_column_7qfow_1", Oc = {
|
|
14898
14898
|
column: Rc
|
|
14899
14899
|
}, qc = {
|
|
14900
14900
|
$style: Oc
|
|
14901
|
-
},
|
|
14901
|
+
}, Fc = /* @__PURE__ */ G(Nc, [["__cssModules", qc]]), Lc = /* @__PURE__ */ L({
|
|
14902
14902
|
__name: "ElmColumnList",
|
|
14903
14903
|
setup(r) {
|
|
14904
14904
|
return (e, t) => (T(), I("div", {
|
|
14905
14905
|
class: k(e.$style["column-list"])
|
|
14906
14906
|
}, [
|
|
14907
|
-
|
|
14907
|
+
ye(e.$slots, "default")
|
|
14908
14908
|
], 2));
|
|
14909
14909
|
}
|
|
14910
14910
|
}), Hc = {
|
|
14911
14911
|
"column-list": "_column-list_id8zo_1"
|
|
14912
14912
|
}, Pc = {
|
|
14913
14913
|
$style: Hc
|
|
14914
|
-
}, jc = /* @__PURE__ */ G(
|
|
14914
|
+
}, jc = /* @__PURE__ */ G(Lc, [["__cssModules", Pc]]), Vc = /* @__PURE__ */ L({
|
|
14915
14915
|
__name: "ElmDesktopWindow",
|
|
14916
14916
|
props: {
|
|
14917
14917
|
minHeight: { default: "6rem" }
|
|
@@ -14940,9 +14940,9 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14940
14940
|
}, null, 2)
|
|
14941
14941
|
], 2),
|
|
14942
14942
|
B("div", {
|
|
14943
|
-
style:
|
|
14943
|
+
style: P({ minHeight: e.minHeight })
|
|
14944
14944
|
}, [
|
|
14945
|
-
|
|
14945
|
+
ye(e.$slots, "default")
|
|
14946
14946
|
], 4)
|
|
14947
14947
|
], 2));
|
|
14948
14948
|
}
|
|
@@ -14952,9 +14952,9 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14952
14952
|
dot: Wc
|
|
14953
14953
|
}, Xc = {
|
|
14954
14954
|
$style: Yc
|
|
14955
|
-
}, zm = /* @__PURE__ */ G(Vc, [["__cssModules", Xc]]), Zc = /* @__PURE__ */
|
|
14955
|
+
}, zm = /* @__PURE__ */ G(Vc, [["__cssModules", Xc]]), Zc = /* @__PURE__ */ L({
|
|
14956
14956
|
__name: "ElmModal",
|
|
14957
|
-
props: /* @__PURE__ */
|
|
14957
|
+
props: /* @__PURE__ */ ht({
|
|
14958
14958
|
width: { default: "90%" }
|
|
14959
14959
|
}, {
|
|
14960
14960
|
isOpen: { type: Boolean, default: !0 },
|
|
@@ -14962,26 +14962,26 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14962
14962
|
}),
|
|
14963
14963
|
emits: ["update:isOpen"],
|
|
14964
14964
|
setup(r) {
|
|
14965
|
-
const e =
|
|
14965
|
+
const e = mt(r, "isOpen");
|
|
14966
14966
|
return (t, a) => (T(), I("div", {
|
|
14967
14967
|
class: k(t.$style.provider),
|
|
14968
|
-
style:
|
|
14968
|
+
style: P({
|
|
14969
14969
|
"--opacity": e.value ? 1 : 0,
|
|
14970
14970
|
"--pointer-events": e.value ? "auto" : "none"
|
|
14971
14971
|
}),
|
|
14972
14972
|
onClick: a[0] || (a[0] = (n) => e.value = !1)
|
|
14973
14973
|
}, [
|
|
14974
|
-
|
|
14974
|
+
j(n0, null, {
|
|
14975
14975
|
default: ze(() => [
|
|
14976
14976
|
e.value ? (T(), I("div", {
|
|
14977
14977
|
key: 0,
|
|
14978
14978
|
class: k(t.$style.modal),
|
|
14979
|
-
style:
|
|
14979
|
+
style: P({
|
|
14980
14980
|
"--width": t.width
|
|
14981
14981
|
})
|
|
14982
14982
|
}, [
|
|
14983
|
-
|
|
14984
|
-
], 6)) :
|
|
14983
|
+
ye(t.$slots, "default", {}, void 0, !0)
|
|
14984
|
+
], 6)) : oe("", !0)
|
|
14985
14985
|
]),
|
|
14986
14986
|
_: 3
|
|
14987
14987
|
})
|
|
@@ -14992,7 +14992,7 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14992
14992
|
modal: Qc
|
|
14993
14993
|
}, e4 = {
|
|
14994
14994
|
$style: Jc
|
|
14995
|
-
}, Tm = /* @__PURE__ */ G(Zc, [["__cssModules", e4], ["__scopeId", "data-v-4d114d05"]]), t4 = /* @__PURE__ */
|
|
14995
|
+
}, Tm = /* @__PURE__ */ G(Zc, [["__cssModules", e4], ["__scopeId", "data-v-4d114d05"]]), t4 = /* @__PURE__ */ L({
|
|
14996
14996
|
__name: "ElmParallax",
|
|
14997
14997
|
props: {
|
|
14998
14998
|
imageUrl1: {},
|
|
@@ -15003,7 +15003,7 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15003
15003
|
return (t, a) => (T(), I(ke, null, [
|
|
15004
15004
|
B("div", {
|
|
15005
15005
|
class: k(t.$style.parallax),
|
|
15006
|
-
style:
|
|
15006
|
+
style: P({
|
|
15007
15007
|
backgroundImage: `url(${t.imageUrl1})`,
|
|
15008
15008
|
transform: `scale(1.2) translateY(${D(e) / 400}%)`,
|
|
15009
15009
|
transformOrigin: "bottom"
|
|
@@ -15011,7 +15011,7 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15011
15011
|
}, null, 6),
|
|
15012
15012
|
B("div", {
|
|
15013
15013
|
class: k(t.$style.parallax),
|
|
15014
|
-
style:
|
|
15014
|
+
style: P({
|
|
15015
15015
|
backgroundImage: `url(${t.imageUrl2})`,
|
|
15016
15016
|
transform: `scale(1.2) translateY(${D(e) / 900}%)`,
|
|
15017
15017
|
transformOrigin: "bottom"
|
|
@@ -15023,7 +15023,7 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15023
15023
|
parallax: r4
|
|
15024
15024
|
}, n4 = {
|
|
15025
15025
|
$style: a4
|
|
15026
|
-
}, _m = /* @__PURE__ */ G(t4, [["__cssModules", n4]]), s4 = /* @__PURE__ */
|
|
15026
|
+
}, _m = /* @__PURE__ */ G(t4, [["__cssModules", n4]]), s4 = /* @__PURE__ */ L({
|
|
15027
15027
|
__name: "ElmSnackbar",
|
|
15028
15028
|
props: {
|
|
15029
15029
|
label: {},
|
|
@@ -15036,18 +15036,18 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15036
15036
|
return (t, a) => (T(), I("div", {
|
|
15037
15037
|
class: k(t.$style.snackbar)
|
|
15038
15038
|
}, [
|
|
15039
|
-
e.label != null ? (T(),
|
|
15039
|
+
e.label != null ? (T(), ae(se, {
|
|
15040
15040
|
key: 0,
|
|
15041
15041
|
text: e.label
|
|
15042
|
-
}, null, 8, ["text"])) : (T(),
|
|
15043
|
-
|
|
15042
|
+
}, null, 8, ["text"])) : (T(), ae(R0(() => e.children), { key: 1 })),
|
|
15043
|
+
j(D(Q), {
|
|
15044
15044
|
icon: "mdi:cross-circle-outline",
|
|
15045
15045
|
class: k(t.$style.icon),
|
|
15046
15046
|
onClick: t.close
|
|
15047
15047
|
}, null, 8, ["class", "onClick"]),
|
|
15048
15048
|
B("div", {
|
|
15049
15049
|
class: k(t.$style.progress),
|
|
15050
|
-
style:
|
|
15050
|
+
style: P({
|
|
15051
15051
|
animationDuration: `${t.timeout}ms`
|
|
15052
15052
|
})
|
|
15053
15053
|
}, null, 6)
|
|
@@ -15059,7 +15059,7 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15059
15059
|
progress: o4
|
|
15060
15060
|
}, c4 = {
|
|
15061
15061
|
$style: u4
|
|
15062
|
-
}, d4 = /* @__PURE__ */ G(s4, [["__cssModules", c4]]), h4 = /* @__PURE__ */
|
|
15062
|
+
}, d4 = /* @__PURE__ */ G(s4, [["__cssModules", c4]]), h4 = /* @__PURE__ */ L({
|
|
15063
15063
|
__name: "ElmSnackbarContainer",
|
|
15064
15064
|
props: {
|
|
15065
15065
|
snackbars: {}
|
|
@@ -15071,9 +15071,9 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15071
15071
|
B("div", {
|
|
15072
15072
|
class: k(e.$style["snackbar-container"])
|
|
15073
15073
|
}, [
|
|
15074
|
-
|
|
15074
|
+
j(_l, { name: "fade" }, {
|
|
15075
15075
|
default: ze(() => [
|
|
15076
|
-
(T(!0), I(ke, null, m0(e.snackbars, (a) => (T(),
|
|
15076
|
+
(T(!0), I(ke, null, m0(e.snackbars, (a) => (T(), ae(d4, $l({ ref_for: !0 }, a, {
|
|
15077
15077
|
key: a.id
|
|
15078
15078
|
}), null, 16))), 128))
|
|
15079
15079
|
]),
|
|
@@ -15087,9 +15087,9 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15087
15087
|
"snackbar-container": "_snackbar-container_rfxmg_14"
|
|
15088
15088
|
}, f4 = {
|
|
15089
15089
|
$style: m4
|
|
15090
|
-
}, $m = /* @__PURE__ */ G(h4, [["__cssModules", f4], ["__scopeId", "data-v-031ce55b"]]), p4 = { style: { display: "flex", gap: "0.5rem" } }, v4 = /* @__PURE__ */
|
|
15090
|
+
}, $m = /* @__PURE__ */ G(h4, [["__cssModules", f4], ["__scopeId", "data-v-031ce55b"]]), p4 = { style: { display: "flex", gap: "0.5rem" } }, v4 = /* @__PURE__ */ L({
|
|
15091
15091
|
__name: "ElmToggle",
|
|
15092
|
-
props: /* @__PURE__ */
|
|
15092
|
+
props: /* @__PURE__ */ ht({
|
|
15093
15093
|
summary: {},
|
|
15094
15094
|
margin: {}
|
|
15095
15095
|
}, {
|
|
@@ -15098,47 +15098,47 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15098
15098
|
}),
|
|
15099
15099
|
emits: ["update:isOpen"],
|
|
15100
15100
|
setup(r) {
|
|
15101
|
-
const e =
|
|
15101
|
+
const e = mt(r, "isOpen"), t = (a) => {
|
|
15102
15102
|
a.preventDefault(), e.value = !e.value;
|
|
15103
15103
|
};
|
|
15104
15104
|
return (a, n) => (T(), I("div", {
|
|
15105
15105
|
class: k(a.$style.toggle),
|
|
15106
|
-
style:
|
|
15106
|
+
style: P({ "--margin-block": a.margin })
|
|
15107
15107
|
}, [
|
|
15108
15108
|
B("div", {
|
|
15109
15109
|
class: k(a.$style.summary),
|
|
15110
15110
|
onClick: t
|
|
15111
15111
|
}, [
|
|
15112
15112
|
B("div", p4, [
|
|
15113
|
-
|
|
15113
|
+
j(D(Q), {
|
|
15114
15114
|
icon: "mdi:chevron-right",
|
|
15115
15115
|
class: k(a.$style.icon),
|
|
15116
|
-
style:
|
|
15116
|
+
style: P({ "--rotate": e.value ? "90deg" : "0deg" })
|
|
15117
15117
|
}, null, 8, ["class", "style"]),
|
|
15118
15118
|
B("div", null, [
|
|
15119
|
-
a.summary != null ? (T(),
|
|
15119
|
+
a.summary != null ? (T(), ae(se, {
|
|
15120
15120
|
key: 0,
|
|
15121
15121
|
text: a.summary
|
|
15122
|
-
}, null, 8, ["text"])) :
|
|
15122
|
+
}, null, 8, ["text"])) : ye(a.$slots, "summary", { key: 1 }, void 0, !0)
|
|
15123
15123
|
])
|
|
15124
15124
|
]),
|
|
15125
|
-
|
|
15125
|
+
j(D(Q), {
|
|
15126
15126
|
icon: "mdi:plus",
|
|
15127
15127
|
class: k(a.$style.icon),
|
|
15128
|
-
style:
|
|
15128
|
+
style: P({
|
|
15129
15129
|
"--rotate": e.value ? "135deg" : "0deg",
|
|
15130
15130
|
"--color": e.value ? "#b36472" : void 0
|
|
15131
15131
|
})
|
|
15132
15132
|
}, null, 8, ["class", "style"])
|
|
15133
15133
|
], 2),
|
|
15134
|
-
|
|
15134
|
+
j(n0, null, {
|
|
15135
15135
|
default: ze(() => [
|
|
15136
15136
|
e.value ? (T(), I("div", {
|
|
15137
15137
|
key: 0,
|
|
15138
15138
|
class: k(a.$style.content)
|
|
15139
15139
|
}, [
|
|
15140
|
-
|
|
15141
|
-
], 2)) :
|
|
15140
|
+
ye(a.$slots, "default", {}, void 0, !0)
|
|
15141
|
+
], 2)) : oe("", !0)
|
|
15142
15142
|
]),
|
|
15143
15143
|
_: 3
|
|
15144
15144
|
})
|
|
@@ -15151,7 +15151,7 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15151
15151
|
content: w4
|
|
15152
15152
|
}, k4 = {
|
|
15153
15153
|
$style: x4
|
|
15154
|
-
}, S4 = /* @__PURE__ */ G(v4, [["__cssModules", k4], ["__scopeId", "data-v-e531925e"]]), M4 = ["value", "max"], z4 = /* @__PURE__ */
|
|
15154
|
+
}, S4 = /* @__PURE__ */ G(v4, [["__cssModules", k4], ["__scopeId", "data-v-e531925e"]]), M4 = ["value", "max"], z4 = /* @__PURE__ */ L({
|
|
15155
15155
|
__name: "ElmProgress",
|
|
15156
15156
|
props: {
|
|
15157
15157
|
value: {},
|
|
@@ -15171,7 +15171,7 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15171
15171
|
}, null, 10, M4),
|
|
15172
15172
|
B("div", {
|
|
15173
15173
|
class: k(e.$style.container),
|
|
15174
|
-
style:
|
|
15174
|
+
style: P({
|
|
15175
15175
|
"--weight": e.weight,
|
|
15176
15176
|
"--border-radius": e.round ? "calc(var(--weight) / 2)" : void 0,
|
|
15177
15177
|
"--color": e.color
|
|
@@ -15179,17 +15179,17 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15179
15179
|
}, [
|
|
15180
15180
|
B("div", {
|
|
15181
15181
|
class: k(e.$style.value),
|
|
15182
|
-
style:
|
|
15182
|
+
style: P({
|
|
15183
15183
|
"--scale-x": `scaleX(${e.loading ? 0 : e.value / e.max})`
|
|
15184
15184
|
})
|
|
15185
15185
|
}, null, 6),
|
|
15186
15186
|
e.loading ? (T(), I("div", {
|
|
15187
15187
|
key: 0,
|
|
15188
15188
|
class: k(e.$style.loading)
|
|
15189
|
-
}, null, 2)) :
|
|
15189
|
+
}, null, 2)) : oe("", !0),
|
|
15190
15190
|
B("div", {
|
|
15191
15191
|
class: k(e.$style.buffer),
|
|
15192
|
-
style:
|
|
15192
|
+
style: P({
|
|
15193
15193
|
"--scale-x": `scaleX(${e.loading ? 0 : e.buffer != null ? e.buffer / e.max : e.value / e.max})`
|
|
15194
15194
|
})
|
|
15195
15195
|
}, null, 6)
|
|
@@ -15204,7 +15204,7 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15204
15204
|
buffer: C4
|
|
15205
15205
|
}, I4 = {
|
|
15206
15206
|
$style: E4
|
|
15207
|
-
}, Am = /* @__PURE__ */ G(z4, [["__cssModules", I4]]), B4 = /* @__PURE__ */
|
|
15207
|
+
}, Am = /* @__PURE__ */ G(z4, [["__cssModules", I4]]), B4 = /* @__PURE__ */ L({
|
|
15208
15208
|
__name: "ElmMultiProgress",
|
|
15209
15209
|
props: {
|
|
15210
15210
|
progress: {},
|
|
@@ -15221,7 +15221,7 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15221
15221
|
});
|
|
15222
15222
|
return (n, s) => (T(), I("div", {
|
|
15223
15223
|
class: k(n.$style.container),
|
|
15224
|
-
style:
|
|
15224
|
+
style: P({
|
|
15225
15225
|
"--weight": n.weight,
|
|
15226
15226
|
"--border-radius": n.round ? "calc(var(--weight) / 2)" : void 0
|
|
15227
15227
|
})
|
|
@@ -15229,7 +15229,7 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15229
15229
|
(T(!0), I(ke, null, m0(a.value, (l) => (T(), I("div", {
|
|
15230
15230
|
key: n.index,
|
|
15231
15231
|
class: k(n.$style.bar),
|
|
15232
|
-
style:
|
|
15232
|
+
style: P({
|
|
15233
15233
|
"--transform": `translateX(${l.start}%) scaleX(${l.scale})`,
|
|
15234
15234
|
"--color": l.color
|
|
15235
15235
|
})
|
|
@@ -15241,25 +15241,25 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15241
15241
|
bar: N4
|
|
15242
15242
|
}, O4 = {
|
|
15243
15243
|
$style: R4
|
|
15244
|
-
}, Cm = /* @__PURE__ */ G(B4, [["__cssModules", O4]]), q4 = /* @__PURE__ */
|
|
15244
|
+
}, Cm = /* @__PURE__ */ G(B4, [["__cssModules", O4]]), q4 = /* @__PURE__ */ L({
|
|
15245
15245
|
__name: "ElmStatusMessage",
|
|
15246
15246
|
props: {
|
|
15247
15247
|
status: {},
|
|
15248
15248
|
message: {}
|
|
15249
15249
|
},
|
|
15250
15250
|
setup(r) {
|
|
15251
|
-
return (e, t) => (T(),
|
|
15251
|
+
return (e, t) => (T(), ae(n0, { mode: "out-in" }, {
|
|
15252
15252
|
default: ze(() => [
|
|
15253
15253
|
e.status === "pending" ? (T(), I("div", {
|
|
15254
15254
|
key: 0,
|
|
15255
15255
|
class: k(e.$style.wrapper)
|
|
15256
15256
|
}, [
|
|
15257
|
-
|
|
15257
|
+
j(D(Q), {
|
|
15258
15258
|
icon: "mdi:rotate-clockwise",
|
|
15259
15259
|
class: k(e.$style.icon),
|
|
15260
15260
|
style: { color: "#6987b8" }
|
|
15261
15261
|
}, null, 8, ["class"]),
|
|
15262
|
-
|
|
15262
|
+
j(se, {
|
|
15263
15263
|
text: e.message,
|
|
15264
15264
|
color: "#6987b8"
|
|
15265
15265
|
}, null, 8, ["text"])
|
|
@@ -15267,12 +15267,12 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15267
15267
|
key: 1,
|
|
15268
15268
|
class: k(e.$style.wrapper)
|
|
15269
15269
|
}, [
|
|
15270
|
-
|
|
15270
|
+
j(D(Q), {
|
|
15271
15271
|
icon: "uis:exclamation-circle",
|
|
15272
15272
|
class: k(e.$style.icon),
|
|
15273
15273
|
style: { color: "#c56565" }
|
|
15274
15274
|
}, null, 8, ["class"]),
|
|
15275
|
-
|
|
15275
|
+
j(se, {
|
|
15276
15276
|
text: e.message,
|
|
15277
15277
|
color: "#c56565"
|
|
15278
15278
|
}, null, 8, ["text"])
|
|
@@ -15280,12 +15280,12 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15280
15280
|
key: 2,
|
|
15281
15281
|
class: k(e.$style.wrapper)
|
|
15282
15282
|
}, [
|
|
15283
|
-
|
|
15283
|
+
j(D(Q), {
|
|
15284
15284
|
icon: "ic:baseline-warning",
|
|
15285
15285
|
class: k(e.$style.icon),
|
|
15286
15286
|
style: { color: "#cdb57b" }
|
|
15287
15287
|
}, null, 8, ["class"]),
|
|
15288
|
-
|
|
15288
|
+
j(se, {
|
|
15289
15289
|
text: e.message,
|
|
15290
15290
|
color: "#cdb57b"
|
|
15291
15291
|
}, null, 8, ["text"])
|
|
@@ -15293,12 +15293,12 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15293
15293
|
key: 3,
|
|
15294
15294
|
class: k(e.$style.wrapper)
|
|
15295
15295
|
}, [
|
|
15296
|
-
|
|
15296
|
+
j(D(Q), {
|
|
15297
15297
|
icon: "material-symbols-light:check-circle",
|
|
15298
15298
|
class: k(e.$style.icon),
|
|
15299
15299
|
style: { color: "#59b57c" }
|
|
15300
15300
|
}, null, 8, ["class"]),
|
|
15301
|
-
|
|
15301
|
+
j(se, {
|
|
15302
15302
|
text: e.message,
|
|
15303
15303
|
color: "#59b57c"
|
|
15304
15304
|
}, null, 8, ["text"])
|
|
@@ -15307,12 +15307,12 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15307
15307
|
_: 1
|
|
15308
15308
|
}));
|
|
15309
15309
|
}
|
|
15310
|
-
}),
|
|
15311
|
-
wrapper:
|
|
15312
|
-
icon:
|
|
15310
|
+
}), F4 = "_wrapper_1vrbm_1", L4 = "_icon_1vrbm_7", H4 = {
|
|
15311
|
+
wrapper: F4,
|
|
15312
|
+
icon: L4
|
|
15313
15313
|
}, P4 = {
|
|
15314
15314
|
$style: H4
|
|
15315
|
-
}, Em = /* @__PURE__ */ G(q4, [["__cssModules", P4], ["__scopeId", "data-v-0a79ebd0"]]), j4 = /* @__PURE__ */
|
|
15315
|
+
}, Em = /* @__PURE__ */ G(q4, [["__cssModules", P4], ["__scopeId", "data-v-0a79ebd0"]]), j4 = /* @__PURE__ */ L({
|
|
15316
15316
|
__name: "ElmRectangleWave",
|
|
15317
15317
|
setup(r) {
|
|
15318
15318
|
return (e, t) => (T(), I("div", {
|
|
@@ -15325,7 +15325,7 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15325
15325
|
wave: V4
|
|
15326
15326
|
}, U4 = {
|
|
15327
15327
|
$style: G4
|
|
15328
|
-
}, W4 = /* @__PURE__ */ G(j4, [["__cssModules", U4]]), Y4 = ["height", "width"], X4 = ["cx", "cy", "r", "strokeWidth"], Z4 = /* @__PURE__ */
|
|
15328
|
+
}, W4 = /* @__PURE__ */ G(j4, [["__cssModules", U4]]), Y4 = ["height", "width"], X4 = ["cx", "cy", "r", "strokeWidth"], Z4 = /* @__PURE__ */ L({
|
|
15329
15329
|
__name: "ElmSpinner",
|
|
15330
15330
|
props: {
|
|
15331
15331
|
radius: { default: 16 },
|
|
@@ -15352,7 +15352,7 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15352
15352
|
rotate: Q4
|
|
15353
15353
|
}, e2 = {
|
|
15354
15354
|
$style: J4
|
|
15355
|
-
}, Im = /* @__PURE__ */ G(Z4, [["__cssModules", e2]]), t2 = /* @__PURE__ */
|
|
15355
|
+
}, Im = /* @__PURE__ */ G(Z4, [["__cssModules", e2]]), t2 = /* @__PURE__ */ L({
|
|
15356
15356
|
__name: "ElmButton",
|
|
15357
15357
|
props: {
|
|
15358
15358
|
loading: { type: Boolean, default: !1 },
|
|
@@ -15374,7 +15374,7 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15374
15374
|
[a.$style.primary]: a.primary
|
|
15375
15375
|
}
|
|
15376
15376
|
]),
|
|
15377
|
-
style:
|
|
15377
|
+
style: P({
|
|
15378
15378
|
display: a.block ? "flex" : "inline-flex",
|
|
15379
15379
|
width: a.block ? "100%" : "auto",
|
|
15380
15380
|
cursor: a.disabled ? "not-allowed" : a.loading ? "progress" : "pointer",
|
|
@@ -15382,16 +15382,16 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15382
15382
|
}),
|
|
15383
15383
|
onClick: t
|
|
15384
15384
|
}, [
|
|
15385
|
-
|
|
15385
|
+
j(n0, { mode: "out-in" }, {
|
|
15386
15386
|
default: ze(() => [
|
|
15387
|
-
a.loading ? (T(),
|
|
15387
|
+
a.loading ? (T(), ae(Qr, {
|
|
15388
15388
|
key: 0,
|
|
15389
15389
|
size: "1.5rem"
|
|
15390
15390
|
})) : (T(), I("span", {
|
|
15391
15391
|
key: 1,
|
|
15392
15392
|
class: k(a.$style.flex)
|
|
15393
15393
|
}, [
|
|
15394
|
-
|
|
15394
|
+
ye(a.$slots, "default", {}, void 0, !0)
|
|
15395
15395
|
], 2))
|
|
15396
15396
|
]),
|
|
15397
15397
|
_: 3
|
|
@@ -15410,9 +15410,9 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15410
15410
|
display: "flex",
|
|
15411
15411
|
alignItems: "center",
|
|
15412
15412
|
gap: "0.5rem"
|
|
15413
|
-
} }, c2 = /* @__PURE__ */
|
|
15413
|
+
} }, c2 = /* @__PURE__ */ L({
|
|
15414
15414
|
__name: "ElmCheckbox",
|
|
15415
|
-
props: /* @__PURE__ */
|
|
15415
|
+
props: /* @__PURE__ */ ht({
|
|
15416
15416
|
label: {},
|
|
15417
15417
|
loading: { type: Boolean, default: !1 },
|
|
15418
15418
|
disable: { type: Boolean }
|
|
@@ -15422,7 +15422,7 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15422
15422
|
}),
|
|
15423
15423
|
emits: ["update:modelValue"],
|
|
15424
15424
|
setup(r) {
|
|
15425
|
-
const e = r, t =
|
|
15425
|
+
const e = r, t = mt(r, "modelValue");
|
|
15426
15426
|
function a() {
|
|
15427
15427
|
!e.loading && !e.disable && (t.value = !t.value);
|
|
15428
15428
|
}
|
|
@@ -15446,7 +15446,7 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15446
15446
|
cy: "0",
|
|
15447
15447
|
r: "2",
|
|
15448
15448
|
class: k(n.$style.loading),
|
|
15449
|
-
style:
|
|
15449
|
+
style: P({ opacity: e.loading ? 1 : 0 })
|
|
15450
15450
|
}, s[0] || (s[0] = [
|
|
15451
15451
|
B("animate", {
|
|
15452
15452
|
attributeName: "cx",
|
|
@@ -15470,7 +15470,7 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15470
15470
|
cy: "20",
|
|
15471
15471
|
r: "2",
|
|
15472
15472
|
class: k(n.$style.loading),
|
|
15473
|
-
style:
|
|
15473
|
+
style: P({ opacity: e.loading ? 1 : 0 })
|
|
15474
15474
|
}, s[1] || (s[1] = [
|
|
15475
15475
|
B("animate", {
|
|
15476
15476
|
attributeName: "cx",
|
|
@@ -15509,7 +15509,7 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15509
15509
|
points: "5,12 10,17 19,8",
|
|
15510
15510
|
strokeWidth: "1.5",
|
|
15511
15511
|
fill: "transparent"
|
|
15512
|
-
}, null, 2)) :
|
|
15512
|
+
}, null, 2)) : oe("", !0),
|
|
15513
15513
|
s[2] || (s[2] = B("line", {
|
|
15514
15514
|
x1: "0",
|
|
15515
15515
|
y1: "1",
|
|
@@ -15567,7 +15567,7 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15567
15567
|
fill: "transparent"
|
|
15568
15568
|
}, null, -1))
|
|
15569
15569
|
], 2)),
|
|
15570
|
-
|
|
15570
|
+
j(se, { text: n.label }, null, 8, ["text"])
|
|
15571
15571
|
])
|
|
15572
15572
|
], 2));
|
|
15573
15573
|
}
|
|
@@ -15583,9 +15583,9 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15583
15583
|
"elmethis-checkbox-check-line": "_elmethis-checkbox-check-line_101ok_1"
|
|
15584
15584
|
}, v2 = {
|
|
15585
15585
|
$style: p2
|
|
15586
|
-
}, g2 = /* @__PURE__ */ G(c2, [["__cssModules", v2]]), b2 = ["checked", "disabled"], y2 = /* @__PURE__ */
|
|
15586
|
+
}, g2 = /* @__PURE__ */ G(c2, [["__cssModules", v2]]), b2 = ["checked", "disabled"], y2 = /* @__PURE__ */ L({
|
|
15587
15587
|
__name: "ElmSwitch",
|
|
15588
|
-
props: /* @__PURE__ */
|
|
15588
|
+
props: /* @__PURE__ */ ht({
|
|
15589
15589
|
color: { default: "#6987b8" },
|
|
15590
15590
|
size: { default: "18px" },
|
|
15591
15591
|
disabled: { type: Boolean, default: !1 }
|
|
@@ -15595,12 +15595,12 @@ const Sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15595
15595
|
}),
|
|
15596
15596
|
emits: ["update:modelValue"],
|
|
15597
15597
|
setup(r) {
|
|
15598
|
-
const e = r, t =
|
|
15598
|
+
const e = r, t = mt(r, "modelValue"), a = () => {
|
|
15599
15599
|
e.disabled || (t.value = !t.value);
|
|
15600
15600
|
};
|
|
15601
15601
|
return (n, s) => (T(), I("div", {
|
|
15602
15602
|
onClick: a,
|
|
15603
|
-
style:
|
|
15603
|
+
style: P({
|
|
15604
15604
|
"--color": n.color,
|
|
15605
15605
|
"--padding": "2px",
|
|
15606
15606
|
"--size": n.size,
|
|
@@ -15651,9 +15651,9 @@ let z2 = (r = 21) => {
|
|
|
15651
15651
|
e += M2[t[r] & 63];
|
|
15652
15652
|
return e;
|
|
15653
15653
|
};
|
|
15654
|
-
const T2 = ["for"], _2 = ["id", "type", "placeholder", "disabled", "aria-required"], $2 = /* @__PURE__ */
|
|
15654
|
+
const T2 = ["for"], _2 = ["id", "type", "placeholder", "disabled", "aria-required"], $2 = /* @__PURE__ */ L({
|
|
15655
15655
|
__name: "ElmTextField",
|
|
15656
|
-
props: /* @__PURE__ */
|
|
15656
|
+
props: /* @__PURE__ */ ht({
|
|
15657
15657
|
label: {},
|
|
15658
15658
|
maxLength: {},
|
|
15659
15659
|
suffix: {},
|
|
@@ -15669,14 +15669,14 @@ const T2 = ["for"], _2 = ["id", "type", "placeholder", "disabled", "aria-require
|
|
|
15669
15669
|
}),
|
|
15670
15670
|
emits: ["update:modelValue"],
|
|
15671
15671
|
setup(r) {
|
|
15672
|
-
const e = z2(), t = J(!1), a = r, n =
|
|
15672
|
+
const e = z2(), t = J(!1), a = r, n = mt(r, "modelValue"), s = J(a.isPassword ? "password" : "text"), l = () => {
|
|
15673
15673
|
!a.loading && !a.disabled && (n.value = "");
|
|
15674
15674
|
}, u = () => {
|
|
15675
15675
|
!a.loading && !a.disabled && (s.value = s.value === "text" ? "password" : "text");
|
|
15676
15676
|
};
|
|
15677
15677
|
return (c, h) => (T(), I("div", {
|
|
15678
15678
|
class: k(c.$style.wrapper),
|
|
15679
|
-
style:
|
|
15679
|
+
style: P({
|
|
15680
15680
|
"--border-color": t.value ? "#59b57c" : "transparent",
|
|
15681
15681
|
backgroundColor: c.disabled || c.loading ? "rgba(0,0,0,0.15)" : void 0
|
|
15682
15682
|
})
|
|
@@ -15687,25 +15687,25 @@ const T2 = ["for"], _2 = ["id", "type", "placeholder", "disabled", "aria-require
|
|
|
15687
15687
|
B("label", {
|
|
15688
15688
|
for: D(e),
|
|
15689
15689
|
class: k(c.$style.label),
|
|
15690
|
-
style:
|
|
15690
|
+
style: P({ "--color": t.value ? "#59b57c" : void 0 })
|
|
15691
15691
|
}, [
|
|
15692
15692
|
B("span", null, _e(c.label), 1),
|
|
15693
15693
|
c.required ? (T(), I("span", {
|
|
15694
15694
|
key: 0,
|
|
15695
15695
|
class: k(c.$style.requierd)
|
|
15696
|
-
}, "*", 2)) :
|
|
15696
|
+
}, "*", 2)) : oe("", !0)
|
|
15697
15697
|
], 14, T2),
|
|
15698
|
-
c.maxLength != null ? (T(),
|
|
15698
|
+
c.maxLength != null ? (T(), ae(se, {
|
|
15699
15699
|
key: 0,
|
|
15700
15700
|
text: `${n.value.length} / ${c.maxLength}`,
|
|
15701
15701
|
color: n.value.length > c.maxLength ? "#c56565" : "gray",
|
|
15702
15702
|
size: "0.75rem"
|
|
15703
|
-
}, null, 8, ["text", "color"])) :
|
|
15703
|
+
}, null, 8, ["text", "color"])) : oe("", !0)
|
|
15704
15704
|
], 2),
|
|
15705
15705
|
B("div", {
|
|
15706
15706
|
class: k(c.$style.body)
|
|
15707
15707
|
}, [
|
|
15708
|
-
(T(),
|
|
15708
|
+
(T(), ae(R0(c.icon), {
|
|
15709
15709
|
class: k(c.$style["left-icon"])
|
|
15710
15710
|
}, null, 8, ["class"])),
|
|
15711
15711
|
In(B("input", {
|
|
@@ -15717,7 +15717,7 @@ const T2 = ["for"], _2 = ["id", "type", "placeholder", "disabled", "aria-require
|
|
|
15717
15717
|
onFocus: h[1] || (h[1] = (f) => t.value = !0),
|
|
15718
15718
|
onBlur: h[2] || (h[2] = (f) => t.value = !1),
|
|
15719
15719
|
disabled: c.disabled || c.loading,
|
|
15720
|
-
style:
|
|
15720
|
+
style: P({
|
|
15721
15721
|
cursor: c.disabled ? "not-allowed" : c.loading ? "progress" : "auto"
|
|
15722
15722
|
}),
|
|
15723
15723
|
"aria-required": c.required
|
|
@@ -15730,18 +15730,18 @@ const T2 = ["for"], _2 = ["id", "type", "placeholder", "disabled", "aria-require
|
|
|
15730
15730
|
B("span", {
|
|
15731
15731
|
class: k(c.$style.suffix)
|
|
15732
15732
|
}, [
|
|
15733
|
-
c.suffix != null ? (T(),
|
|
15733
|
+
c.suffix != null ? (T(), ae(se, {
|
|
15734
15734
|
key: 0,
|
|
15735
15735
|
text: c.suffix
|
|
15736
|
-
}, null, 8, ["text"])) :
|
|
15736
|
+
}, null, 8, ["text"])) : oe("", !0)
|
|
15737
15737
|
], 2),
|
|
15738
|
-
c.isPassword ? (T(),
|
|
15738
|
+
c.isPassword ? (T(), ae(D(Q), {
|
|
15739
15739
|
key: 0,
|
|
15740
15740
|
icon: s.value === "text" ? "heroicons:eye" : "heroicons:eye-slash",
|
|
15741
15741
|
class: k(c.$style.icon),
|
|
15742
15742
|
onClick: u
|
|
15743
|
-
}, null, 8, ["icon", "class"])) :
|
|
15744
|
-
|
|
15743
|
+
}, null, 8, ["icon", "class"])) : oe("", !0),
|
|
15744
|
+
j(D(Q), {
|
|
15745
15745
|
icon: "heroicons:backspace-16-solid",
|
|
15746
15746
|
class: k(c.$style.icon),
|
|
15747
15747
|
onClick: l
|
|
@@ -15750,7 +15750,7 @@ const T2 = ["for"], _2 = ["id", "type", "placeholder", "disabled", "aria-require
|
|
|
15750
15750
|
], 2),
|
|
15751
15751
|
B("div", {
|
|
15752
15752
|
class: k(c.$style.loading),
|
|
15753
|
-
style:
|
|
15753
|
+
style: P({
|
|
15754
15754
|
opacity: c.loading ? 0.2 : 0
|
|
15755
15755
|
})
|
|
15756
15756
|
}, null, 6)
|
|
@@ -15768,9 +15768,9 @@ const T2 = ["for"], _2 = ["id", "type", "placeholder", "disabled", "aria-require
|
|
|
15768
15768
|
"icon-box": "_icon-box_bthl1_131",
|
|
15769
15769
|
icon: R2,
|
|
15770
15770
|
suffix: O2
|
|
15771
|
-
},
|
|
15771
|
+
}, F2 = {
|
|
15772
15772
|
$style: q2
|
|
15773
|
-
}, Nm = /* @__PURE__ */ G($2, [["__cssModules",
|
|
15773
|
+
}, Nm = /* @__PURE__ */ G($2, [["__cssModules", F2]]), L2 = ["onClick"], H2 = ["maxlength", "disabled"], P2 = /* @__PURE__ */ L({
|
|
15774
15774
|
__name: "ElmTotp",
|
|
15775
15775
|
props: {
|
|
15776
15776
|
length: {},
|
|
@@ -15810,9 +15810,9 @@ const T2 = ["for"], _2 = ["id", "type", "placeholder", "disabled", "aria-require
|
|
|
15810
15810
|
S !== " " ? (T(), I("span", {
|
|
15811
15811
|
key: 0,
|
|
15812
15812
|
class: k(b.$style.char)
|
|
15813
|
-
}, _e(S), 3)) :
|
|
15814
|
-
], 10,
|
|
15815
|
-
|
|
15813
|
+
}, _e(S), 3)) : oe("", !0)
|
|
15814
|
+
], 10, L2))), 256)),
|
|
15815
|
+
j(D(Q), {
|
|
15816
15816
|
icon: "heroicons:backspace",
|
|
15817
15817
|
class: k(b.$style.icon),
|
|
15818
15818
|
onClick: p
|
|
@@ -15844,16 +15844,16 @@ const T2 = ["for"], _2 = ["id", "type", "placeholder", "disabled", "aria-require
|
|
|
15844
15844
|
}, X2 = {
|
|
15845
15845
|
$style: Y2
|
|
15846
15846
|
}, Rm = /* @__PURE__ */ G(P2, [["__cssModules", X2]]);
|
|
15847
|
-
var Z2 = typeof global == "object" && global && global.Object === Object && global, K2 = typeof self == "object" && self && self.Object === Object && self, Q2 = Z2 || K2 || Function("return this")(), W0 = Q2.Symbol, el = Object.prototype, J2 = el.hasOwnProperty, ed = el.toString,
|
|
15847
|
+
var Z2 = typeof global == "object" && global && global.Object === Object && global, K2 = typeof self == "object" && self && self.Object === Object && self, Q2 = Z2 || K2 || Function("return this")(), W0 = Q2.Symbol, el = Object.prototype, J2 = el.hasOwnProperty, ed = el.toString, at = W0 ? W0.toStringTag : void 0;
|
|
15848
15848
|
function td(r) {
|
|
15849
|
-
var e = J2.call(r,
|
|
15849
|
+
var e = J2.call(r, at), t = r[at];
|
|
15850
15850
|
try {
|
|
15851
|
-
r[
|
|
15851
|
+
r[at] = void 0;
|
|
15852
15852
|
var a = !0;
|
|
15853
15853
|
} catch {
|
|
15854
15854
|
}
|
|
15855
15855
|
var n = ed.call(r);
|
|
15856
|
-
return a && (e ? r[
|
|
15856
|
+
return a && (e ? r[at] = t : delete r[at]), n;
|
|
15857
15857
|
}
|
|
15858
15858
|
var rd = Object.prototype, ad = rd.toString;
|
|
15859
15859
|
function nd(r) {
|
|
@@ -16105,7 +16105,7 @@ var _d = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
|
|
|
16105
16105
|
function $d(r) {
|
|
16106
16106
|
return _d.test(r);
|
|
16107
16107
|
}
|
|
16108
|
-
var al = "\\ud800-\\udfff", Ad = "\\u0300-\\u036f", Cd = "\\ufe20-\\ufe2f", Ed = "\\u20d0-\\u20ff", Id = Ad + Cd + Ed, nl = "\\u2700-\\u27bf", sl = "a-z\\xdf-\\xf6\\xf8-\\xff", Bd = "\\xac\\xb1\\xd7\\xf7", Dd = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Nd = "\\u2000-\\u206f", Rd = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", ll = "A-Z\\xc0-\\xd6\\xd8-\\xde", Od = "\\ufe0e\\ufe0f", il = Bd + Dd + Nd + Rd, ol = "['’]", Mn = "[" + il + "]", qd = "[" + Id + "]", ul = "\\d+",
|
|
16108
|
+
var al = "\\ud800-\\udfff", Ad = "\\u0300-\\u036f", Cd = "\\ufe20-\\ufe2f", Ed = "\\u20d0-\\u20ff", Id = Ad + Cd + Ed, nl = "\\u2700-\\u27bf", sl = "a-z\\xdf-\\xf6\\xf8-\\xff", Bd = "\\xac\\xb1\\xd7\\xf7", Dd = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Nd = "\\u2000-\\u206f", Rd = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", ll = "A-Z\\xc0-\\xd6\\xd8-\\xde", Od = "\\ufe0e\\ufe0f", il = Bd + Dd + Nd + Rd, ol = "['’]", Mn = "[" + il + "]", qd = "[" + Id + "]", ul = "\\d+", Fd = "[" + nl + "]", cl = "[" + sl + "]", dl = "[^" + al + il + ul + nl + sl + ll + "]", Ld = "\\ud83c[\\udffb-\\udfff]", Hd = "(?:" + qd + "|" + Ld + ")", Pd = "[^" + al + "]", hl = "(?:\\ud83c[\\udde6-\\uddff]){2}", ml = "[\\ud800-\\udbff][\\udc00-\\udfff]", j0 = "[" + ll + "]", jd = "\\u200d", zn = "(?:" + cl + "|" + dl + ")", Vd = "(?:" + j0 + "|" + dl + ")", Tn = "(?:" + ol + "(?:d|ll|m|re|s|t|ve))?", _n = "(?:" + ol + "(?:D|LL|M|RE|S|T|VE))?", fl = Hd + "?", pl = "[" + Od + "]?", Gd = "(?:" + jd + "(?:" + [Pd, hl, ml].join("|") + ")" + pl + fl + ")*", Ud = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Wd = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Yd = pl + fl + Gd, Xd = "(?:" + [Fd, hl, ml].join("|") + ")" + Yd, Zd = RegExp([
|
|
16109
16109
|
j0 + "?" + cl + "+" + Tn + "(?=" + [Mn, j0, "$"].join("|") + ")",
|
|
16110
16110
|
Vd + "+" + _n + "(?=" + [Mn, j0 + zn, "$"].join("|") + ")",
|
|
16111
16111
|
j0 + "?" + zn + "+" + Tn,
|
|
@@ -16127,37 +16127,10 @@ function t5(r) {
|
|
|
16127
16127
|
return md(Qd(Md(e).replace(e5, "")), r, "");
|
|
16128
16128
|
};
|
|
16129
16129
|
}
|
|
16130
|
-
var
|
|
16130
|
+
var Ye = t5(function(r, e, t) {
|
|
16131
16131
|
return r + (t ? "-" : "") + e.toLowerCase();
|
|
16132
16132
|
});
|
|
16133
|
-
const r5 =
|
|
16134
|
-
__name: "ElmHeading1",
|
|
16135
|
-
props: {
|
|
16136
|
-
text: {},
|
|
16137
|
-
size: { default: "1.5rem" },
|
|
16138
|
-
id: {}
|
|
16139
|
-
},
|
|
16140
|
-
setup(r) {
|
|
16141
|
-
const e = J(null), t = J(!1);
|
|
16142
|
-
return e0(e, ([{ isIntersecting: a }], n) => {
|
|
16143
|
-
t.value = a;
|
|
16144
|
-
}), (a, n) => (T(), I("h1", {
|
|
16145
|
-
ref_key: "target",
|
|
16146
|
-
ref: e,
|
|
16147
|
-
class: k(a.$style.h1),
|
|
16148
|
-
id: a.id ?? D(Je)(a.text),
|
|
16149
|
-
style: j({
|
|
16150
|
-
"--scale": t.value ? 1 : 0,
|
|
16151
|
-
"--font-size": a.size,
|
|
16152
|
-
"--opacity": t.value ? 1 : 0
|
|
16153
|
-
})
|
|
16154
|
-
}, _e(a.text), 15, r5));
|
|
16155
|
-
}
|
|
16156
|
-
}), n5 = "_h1_7nvyi_1", s5 = {
|
|
16157
|
-
h1: n5
|
|
16158
|
-
}, l5 = {
|
|
16159
|
-
$style: s5
|
|
16160
|
-
}, i5 = /* @__PURE__ */ G(a5, [["__cssModules", l5]]), o5 = /* @__PURE__ */ H({
|
|
16133
|
+
const r5 = /* @__PURE__ */ L({
|
|
16161
16134
|
__name: "ElmFragmentIdentifier",
|
|
16162
16135
|
props: {
|
|
16163
16136
|
id: {}
|
|
@@ -16180,29 +16153,64 @@ const r5 = ["id"], a5 = /* @__PURE__ */ H({
|
|
|
16180
16153
|
}), (n, s) => (T(), I("div", {
|
|
16181
16154
|
class: k(n.$style.fragment)
|
|
16182
16155
|
}, [
|
|
16183
|
-
|
|
16184
|
-
icon: "
|
|
16156
|
+
j(D(Q), {
|
|
16157
|
+
icon: "material-symbols:anchor",
|
|
16185
16158
|
class: k(n.$style.icon),
|
|
16186
16159
|
onClick: s[0] || (s[0] = (l) => e(n.id))
|
|
16187
16160
|
}, null, 8, ["class"]),
|
|
16188
|
-
|
|
16189
|
-
icon: "
|
|
16161
|
+
j(D(Q), {
|
|
16162
|
+
icon: "line-md:link",
|
|
16190
16163
|
class: k(n.$style.icon),
|
|
16191
16164
|
onClick: s[1] || (s[1] = (l) => t(n.id))
|
|
16192
16165
|
}, null, 8, ["class"])
|
|
16193
16166
|
], 2));
|
|
16194
16167
|
}
|
|
16195
|
-
}),
|
|
16196
|
-
fragment:
|
|
16197
|
-
icon:
|
|
16198
|
-
},
|
|
16199
|
-
$style:
|
|
16200
|
-
},
|
|
16168
|
+
}), a5 = "_fragment_fa0ru_1", n5 = "_icon_fa0ru_7", s5 = {
|
|
16169
|
+
fragment: a5,
|
|
16170
|
+
icon: n5
|
|
16171
|
+
}, l5 = {
|
|
16172
|
+
$style: s5
|
|
16173
|
+
}, J0 = /* @__PURE__ */ G(r5, [["__cssModules", l5]]), i5 = ["id"], o5 = /* @__PURE__ */ L({
|
|
16174
|
+
__name: "ElmHeading1",
|
|
16175
|
+
props: {
|
|
16176
|
+
text: {},
|
|
16177
|
+
size: { default: "1.5rem" },
|
|
16178
|
+
id: {},
|
|
16179
|
+
disableFragmentIdentifier: { type: Boolean, default: !1 }
|
|
16180
|
+
},
|
|
16181
|
+
setup(r) {
|
|
16182
|
+
const e = J(null), t = J(!1);
|
|
16183
|
+
return e0(e, ([{ isIntersecting: a }], n) => {
|
|
16184
|
+
t.value = a;
|
|
16185
|
+
}), (a, n) => (T(), I(ke, null, [
|
|
16186
|
+
B("h1", {
|
|
16187
|
+
ref_key: "target",
|
|
16188
|
+
ref: e,
|
|
16189
|
+
class: k(a.$style.h1),
|
|
16190
|
+
id: a.id ?? D(Ye)(a.text),
|
|
16191
|
+
style: P({
|
|
16192
|
+
"--scale": t.value ? 1 : 0,
|
|
16193
|
+
"--font-size": a.size,
|
|
16194
|
+
"--opacity": t.value ? 1 : 0
|
|
16195
|
+
})
|
|
16196
|
+
}, _e(a.text), 15, i5),
|
|
16197
|
+
a.disableFragmentIdentifier ? oe("", !0) : (T(), ae(J0, {
|
|
16198
|
+
key: 0,
|
|
16199
|
+
id: a.id ?? D(Ye)(a.text)
|
|
16200
|
+
}, null, 8, ["id"]))
|
|
16201
|
+
], 64));
|
|
16202
|
+
}
|
|
16203
|
+
}), u5 = "_h1_7nvyi_1", c5 = {
|
|
16204
|
+
h1: u5
|
|
16205
|
+
}, d5 = {
|
|
16206
|
+
$style: c5
|
|
16207
|
+
}, h5 = /* @__PURE__ */ G(o5, [["__cssModules", d5]]), m5 = ["id"], f5 = /* @__PURE__ */ L({
|
|
16201
16208
|
__name: "ElmHeading2",
|
|
16202
16209
|
props: {
|
|
16203
16210
|
text: {},
|
|
16204
16211
|
size: { default: "1.4rem" },
|
|
16205
|
-
id: {}
|
|
16212
|
+
id: {},
|
|
16213
|
+
disableFragmentIdentifier: { type: Boolean, default: !1 }
|
|
16206
16214
|
},
|
|
16207
16215
|
setup(r) {
|
|
16208
16216
|
const e = J(null), t = J(!1);
|
|
@@ -16213,8 +16221,8 @@ const r5 = ["id"], a5 = /* @__PURE__ */ H({
|
|
|
16213
16221
|
ref_key: "target",
|
|
16214
16222
|
ref: e,
|
|
16215
16223
|
class: k(a.$style.h2),
|
|
16216
|
-
id: a.id ?? D(
|
|
16217
|
-
style:
|
|
16224
|
+
id: a.id ?? D(Ye)(a.text),
|
|
16225
|
+
style: P({
|
|
16218
16226
|
"--scale": t.value ? 1 : 0,
|
|
16219
16227
|
"--font-size": a.size,
|
|
16220
16228
|
"--opacity": t.value ? 1 : 0
|
|
@@ -16226,9 +16234,10 @@ const r5 = ["id"], a5 = /* @__PURE__ */ H({
|
|
|
16226
16234
|
"aria-hidden": ""
|
|
16227
16235
|
}, null, 2)
|
|
16228
16236
|
], 14, m5),
|
|
16229
|
-
|
|
16230
|
-
|
|
16231
|
-
|
|
16237
|
+
a.disableFragmentIdentifier ? oe("", !0) : (T(), ae(J0, {
|
|
16238
|
+
key: 0,
|
|
16239
|
+
id: a.id ?? D(Ye)(a.text)
|
|
16240
|
+
}, null, 8, ["id"]))
|
|
16232
16241
|
], 64));
|
|
16233
16242
|
}
|
|
16234
16243
|
}), p5 = "_h2_cxjup_1", v5 = "_underline_cxjup_50", g5 = {
|
|
@@ -16236,12 +16245,13 @@ const r5 = ["id"], a5 = /* @__PURE__ */ H({
|
|
|
16236
16245
|
underline: v5
|
|
16237
16246
|
}, b5 = {
|
|
16238
16247
|
$style: g5
|
|
16239
|
-
}, y5 = /* @__PURE__ */ G(f5, [["__cssModules", b5]]), w5 = ["id"], x5 = /* @__PURE__ */
|
|
16248
|
+
}, y5 = /* @__PURE__ */ G(f5, [["__cssModules", b5]]), w5 = ["id"], x5 = /* @__PURE__ */ L({
|
|
16240
16249
|
__name: "ElmHeading3",
|
|
16241
16250
|
props: {
|
|
16242
16251
|
text: {},
|
|
16243
16252
|
size: { default: "1.3rem" },
|
|
16244
|
-
id: {}
|
|
16253
|
+
id: {},
|
|
16254
|
+
disableFragmentIdentifier: { type: Boolean, default: !1 }
|
|
16245
16255
|
},
|
|
16246
16256
|
setup(r) {
|
|
16247
16257
|
const e = J(null), t = J(!1);
|
|
@@ -16252,88 +16262,95 @@ const r5 = ["id"], a5 = /* @__PURE__ */ H({
|
|
|
16252
16262
|
ref_key: "target",
|
|
16253
16263
|
ref: e,
|
|
16254
16264
|
class: k(a.$style.h3),
|
|
16255
|
-
id: a.id ?? D(
|
|
16256
|
-
style:
|
|
16265
|
+
id: a.id ?? D(Ye)(a.text),
|
|
16266
|
+
style: P({ "--font-size": a.size, "--opacity": t.value ? 1 : 0 })
|
|
16257
16267
|
}, _e(a.text), 15, w5),
|
|
16258
|
-
|
|
16259
|
-
|
|
16260
|
-
|
|
16268
|
+
a.disableFragmentIdentifier ? oe("", !0) : (T(), ae(J0, {
|
|
16269
|
+
key: 0,
|
|
16270
|
+
id: a.id ?? D(Ye)(a.text)
|
|
16271
|
+
}, null, 8, ["id"]))
|
|
16261
16272
|
], 64));
|
|
16262
16273
|
}
|
|
16263
16274
|
}), k5 = "_h3_x0d8r_1", S5 = {
|
|
16264
16275
|
h3: k5
|
|
16265
16276
|
}, M5 = {
|
|
16266
16277
|
$style: S5
|
|
16267
|
-
}, z5 = /* @__PURE__ */ G(x5, [["__cssModules", M5]]), T5 = ["id"], _5 = /* @__PURE__ */
|
|
16278
|
+
}, z5 = /* @__PURE__ */ G(x5, [["__cssModules", M5]]), T5 = ["id"], _5 = /* @__PURE__ */ L({
|
|
16268
16279
|
__name: "ElmHeading4",
|
|
16269
16280
|
props: {
|
|
16270
16281
|
text: {},
|
|
16271
16282
|
size: { default: "1.2rem" },
|
|
16272
|
-
id: {}
|
|
16283
|
+
id: {},
|
|
16284
|
+
disableFragmentIdentifier: { type: Boolean, default: !1 }
|
|
16273
16285
|
},
|
|
16274
16286
|
setup(r) {
|
|
16275
16287
|
return (e, t) => (T(), I(ke, null, [
|
|
16276
16288
|
B("h4", {
|
|
16277
16289
|
class: k(e.$style.h4),
|
|
16278
|
-
id: e.id ?? D(
|
|
16279
|
-
style:
|
|
16290
|
+
id: e.id ?? D(Ye)(e.text),
|
|
16291
|
+
style: P({ "--font-size": e.size })
|
|
16280
16292
|
}, _e(e.text), 15, T5),
|
|
16281
|
-
|
|
16282
|
-
|
|
16283
|
-
|
|
16293
|
+
e.disableFragmentIdentifier ? oe("", !0) : (T(), ae(J0, {
|
|
16294
|
+
key: 0,
|
|
16295
|
+
id: e.id ?? D(Ye)(e.text)
|
|
16296
|
+
}, null, 8, ["id"]))
|
|
16284
16297
|
], 64));
|
|
16285
16298
|
}
|
|
16286
16299
|
}), $5 = "_h4_7klov_1", A5 = {
|
|
16287
16300
|
h4: $5
|
|
16288
16301
|
}, C5 = {
|
|
16289
16302
|
$style: A5
|
|
16290
|
-
}, E5 = /* @__PURE__ */ G(_5, [["__cssModules", C5]]), I5 = ["id"], B5 = /* @__PURE__ */
|
|
16303
|
+
}, E5 = /* @__PURE__ */ G(_5, [["__cssModules", C5]]), I5 = ["id"], B5 = /* @__PURE__ */ L({
|
|
16291
16304
|
__name: "ElmHeading5",
|
|
16292
16305
|
props: {
|
|
16293
16306
|
text: {},
|
|
16294
16307
|
size: { default: "1.15rem" },
|
|
16295
|
-
id: {}
|
|
16308
|
+
id: {},
|
|
16309
|
+
disableFragmentIdentifier: { type: Boolean, default: !1 }
|
|
16296
16310
|
},
|
|
16297
16311
|
setup(r) {
|
|
16298
16312
|
return (e, t) => (T(), I(ke, null, [
|
|
16299
16313
|
B("h5", {
|
|
16300
16314
|
class: k(e.$style.h5),
|
|
16301
|
-
id: e.id ?? D(
|
|
16302
|
-
style:
|
|
16315
|
+
id: e.id ?? D(Ye)(e.text),
|
|
16316
|
+
style: P({ "--font-size": e.size })
|
|
16303
16317
|
}, _e(e.text), 15, I5),
|
|
16304
|
-
|
|
16305
|
-
|
|
16306
|
-
|
|
16318
|
+
e.disableFragmentIdentifier ? oe("", !0) : (T(), ae(J0, {
|
|
16319
|
+
key: 0,
|
|
16320
|
+
id: e.id ?? D(Ye)(e.text)
|
|
16321
|
+
}, null, 8, ["id"]))
|
|
16307
16322
|
], 64));
|
|
16308
16323
|
}
|
|
16309
16324
|
}), D5 = "_h5_1av6v_1", N5 = {
|
|
16310
16325
|
h5: D5
|
|
16311
16326
|
}, R5 = {
|
|
16312
16327
|
$style: N5
|
|
16313
|
-
}, O5 = /* @__PURE__ */ G(B5, [["__cssModules", R5]]), q5 = ["id"],
|
|
16328
|
+
}, O5 = /* @__PURE__ */ G(B5, [["__cssModules", R5]]), q5 = ["id"], F5 = /* @__PURE__ */ L({
|
|
16314
16329
|
__name: "ElmHeading6",
|
|
16315
16330
|
props: {
|
|
16316
16331
|
text: {},
|
|
16317
16332
|
size: { default: "1.1rem" },
|
|
16318
|
-
id: {}
|
|
16333
|
+
id: {},
|
|
16334
|
+
disableFragmentIdentifier: { type: Boolean, default: !1 }
|
|
16319
16335
|
},
|
|
16320
16336
|
setup(r) {
|
|
16321
16337
|
return (e, t) => (T(), I(ke, null, [
|
|
16322
16338
|
B("h6", {
|
|
16323
16339
|
class: k(e.$style.h6),
|
|
16324
|
-
id: e.id ?? D(
|
|
16325
|
-
style:
|
|
16340
|
+
id: e.id ?? D(Ye)(e.text),
|
|
16341
|
+
style: P({ "--font-size": e.size })
|
|
16326
16342
|
}, _e(e.text), 15, q5),
|
|
16327
|
-
|
|
16328
|
-
|
|
16329
|
-
|
|
16343
|
+
e.disableFragmentIdentifier ? oe("", !0) : (T(), ae(J0, {
|
|
16344
|
+
key: 0,
|
|
16345
|
+
id: e.id ?? D(Ye)(e.text)
|
|
16346
|
+
}, null, 8, ["id"]))
|
|
16330
16347
|
], 64));
|
|
16331
16348
|
}
|
|
16332
|
-
}),
|
|
16333
|
-
h6:
|
|
16349
|
+
}), L5 = "_h6_15uaq_1", H5 = {
|
|
16350
|
+
h6: L5
|
|
16334
16351
|
}, P5 = {
|
|
16335
16352
|
$style: H5
|
|
16336
|
-
}, j5 = /* @__PURE__ */ G(
|
|
16353
|
+
}, j5 = /* @__PURE__ */ G(F5, [["__cssModules", P5]]), V5 = /* @__PURE__ */ L({
|
|
16337
16354
|
__name: "ElmArrowIcon",
|
|
16338
16355
|
props: {
|
|
16339
16356
|
direction: { default: "right" },
|
|
@@ -16351,7 +16368,7 @@ const r5 = ["id"], a5 = /* @__PURE__ */ H({
|
|
|
16351
16368
|
[e.$style.pending]: !e.loading && e.pending
|
|
16352
16369
|
}
|
|
16353
16370
|
]),
|
|
16354
|
-
style:
|
|
16371
|
+
style: P({
|
|
16355
16372
|
"--size": e.size,
|
|
16356
16373
|
transform: e.direction === "up" ? "rotate(270deg)" : e.direction === "down" ? "rotate(90deg)" : e.direction === "left" ? "rotate(180deg)" : "rotate(0deg)"
|
|
16357
16374
|
})
|
|
@@ -16364,7 +16381,7 @@ const r5 = ["id"], a5 = /* @__PURE__ */ H({
|
|
|
16364
16381
|
pending: Y5
|
|
16365
16382
|
}, Z5 = {
|
|
16366
16383
|
$style: X5
|
|
16367
|
-
}, Om = /* @__PURE__ */ G(V5, [["__cssModules", Z5]]), K5 = ["href"], Q5 = ["src", "alt"], J5 = /* @__PURE__ */
|
|
16384
|
+
}, Om = /* @__PURE__ */ G(V5, [["__cssModules", Z5]]), K5 = ["href"], Q5 = ["src", "alt"], J5 = /* @__PURE__ */ L({
|
|
16368
16385
|
__name: "ElmBookmarkIcon",
|
|
16369
16386
|
props: {
|
|
16370
16387
|
name: {},
|
|
@@ -16383,7 +16400,7 @@ const r5 = ["id"], a5 = /* @__PURE__ */ H({
|
|
|
16383
16400
|
class: k(e.$style.favicon),
|
|
16384
16401
|
src: e.favicon,
|
|
16385
16402
|
alt: `favicon of ${e.name ?? e.href}`
|
|
16386
|
-
}, null, 10, Q5)) : (T(),
|
|
16403
|
+
}, null, 10, Q5)) : (T(), ae(D(Q), {
|
|
16387
16404
|
key: 1,
|
|
16388
16405
|
icon: "mdi:globe",
|
|
16389
16406
|
class: k(e.$style["favicon-svg"])
|
|
@@ -16391,7 +16408,7 @@ const r5 = ["id"], a5 = /* @__PURE__ */ H({
|
|
|
16391
16408
|
B("div", {
|
|
16392
16409
|
class: k(e.$style.text)
|
|
16393
16410
|
}, [
|
|
16394
|
-
|
|
16411
|
+
j(se, {
|
|
16395
16412
|
text: e.name ?? e.href,
|
|
16396
16413
|
size: ".6rem"
|
|
16397
16414
|
}, null, 8, ["text"])
|
|
@@ -16405,7 +16422,7 @@ const r5 = ["id"], a5 = /* @__PURE__ */ H({
|
|
|
16405
16422
|
text: rh
|
|
16406
16423
|
}, nh = {
|
|
16407
16424
|
$style: ah
|
|
16408
|
-
}, qm = /* @__PURE__ */ G(J5, [["__cssModules", nh]]), sh = /* @__PURE__ */
|
|
16425
|
+
}, qm = /* @__PURE__ */ G(J5, [["__cssModules", nh]]), sh = /* @__PURE__ */ L({
|
|
16409
16426
|
__name: "ElmCubeIcon",
|
|
16410
16427
|
props: {
|
|
16411
16428
|
size: { default: 128 }
|
|
@@ -16421,7 +16438,7 @@ const r5 = ["id"], a5 = /* @__PURE__ */ H({
|
|
|
16421
16438
|
];
|
|
16422
16439
|
return (n, s) => (T(), I("div", {
|
|
16423
16440
|
class: k(n.$style.cube),
|
|
16424
|
-
style:
|
|
16441
|
+
style: P({
|
|
16425
16442
|
width: `${n.size}px`,
|
|
16426
16443
|
height: `${n.size}px`
|
|
16427
16444
|
})
|
|
@@ -16429,7 +16446,7 @@ const r5 = ["id"], a5 = /* @__PURE__ */ H({
|
|
|
16429
16446
|
(T(), I(ke, null, m0(a, (l) => B("div", {
|
|
16430
16447
|
key: l.name,
|
|
16431
16448
|
class: k(n.$style.face),
|
|
16432
|
-
style:
|
|
16449
|
+
style: P({
|
|
16433
16450
|
transform: `${l.rotate} ${t.value}`
|
|
16434
16451
|
})
|
|
16435
16452
|
}, null, 6)), 64))
|
|
@@ -16441,7 +16458,7 @@ const r5 = ["id"], a5 = /* @__PURE__ */ H({
|
|
|
16441
16458
|
face: ih
|
|
16442
16459
|
}, uh = {
|
|
16443
16460
|
$style: oh
|
|
16444
|
-
},
|
|
16461
|
+
}, Fm = /* @__PURE__ */ G(sh, [["__cssModules", uh]]), ch = /* @__PURE__ */ L({
|
|
16445
16462
|
__name: "ElmLoginIcon",
|
|
16446
16463
|
props: {
|
|
16447
16464
|
size: { default: "2rem" },
|
|
@@ -16449,11 +16466,11 @@ const r5 = ["id"], a5 = /* @__PURE__ */ H({
|
|
|
16449
16466
|
isLoading: { type: Boolean }
|
|
16450
16467
|
},
|
|
16451
16468
|
setup(r) {
|
|
16452
|
-
return (e, t) => (T(),
|
|
16469
|
+
return (e, t) => (T(), ae(Kr, null, {
|
|
16453
16470
|
original: ze(() => [
|
|
16454
|
-
|
|
16471
|
+
j(D(Q), {
|
|
16455
16472
|
class: k(e.$style.icon),
|
|
16456
|
-
style:
|
|
16473
|
+
style: P({
|
|
16457
16474
|
"--width": e.size,
|
|
16458
16475
|
"--color": e.isLoading ? "gray" : e.isLogin ? "#b36472" : "#6987b8"
|
|
16459
16476
|
}),
|
|
@@ -16461,7 +16478,7 @@ const r5 = ["id"], a5 = /* @__PURE__ */ H({
|
|
|
16461
16478
|
}, null, 8, ["class", "style", "icon"])
|
|
16462
16479
|
]),
|
|
16463
16480
|
tooltip: ze(() => [
|
|
16464
|
-
|
|
16481
|
+
j(se, {
|
|
16465
16482
|
text: e.isLoading ? "Loading..." : e.isLogin ? "Logout" : "Login"
|
|
16466
16483
|
}, null, 8, ["text"])
|
|
16467
16484
|
]),
|
|
@@ -16472,12 +16489,12 @@ const r5 = ["id"], a5 = /* @__PURE__ */ H({
|
|
|
16472
16489
|
icon: dh
|
|
16473
16490
|
}, mh = {
|
|
16474
16491
|
$style: hh
|
|
16475
|
-
},
|
|
16492
|
+
}, Lm = /* @__PURE__ */ G(ch, [["__cssModules", mh]]), $n = "elmethis-theme";
|
|
16476
16493
|
function fh() {
|
|
16477
16494
|
const r = J(!1), e = () => {
|
|
16478
16495
|
r.value = !r.value;
|
|
16479
16496
|
};
|
|
16480
|
-
return
|
|
16497
|
+
return Fe(r, () => {
|
|
16481
16498
|
if (typeof document < "u") {
|
|
16482
16499
|
document.documentElement.setAttribute(
|
|
16483
16500
|
"data-theme",
|
|
@@ -16501,20 +16518,20 @@ function fh() {
|
|
|
16501
16518
|
}
|
|
16502
16519
|
}), { isDarkTheme: r, toggleTheme: e };
|
|
16503
16520
|
}
|
|
16504
|
-
const ph = /* @__PURE__ */
|
|
16521
|
+
const ph = /* @__PURE__ */ L({
|
|
16505
16522
|
__name: "ElmToggleTheme",
|
|
16506
16523
|
props: {
|
|
16507
16524
|
size: { default: "2rem" }
|
|
16508
16525
|
},
|
|
16509
16526
|
setup(r) {
|
|
16510
16527
|
const { isDarkTheme: e, toggleTheme: t } = fh();
|
|
16511
|
-
return (a, n) => D(e) ? (T(),
|
|
16528
|
+
return (a, n) => D(e) ? (T(), ae(D(Q), {
|
|
16512
16529
|
key: 1,
|
|
16513
16530
|
icon: "line-md:sunny-outline-to-moon-loop-transition",
|
|
16514
16531
|
class: k(a.$style.icon),
|
|
16515
16532
|
width: a.size,
|
|
16516
16533
|
onClick: D(t)
|
|
16517
|
-
}, null, 8, ["class", "width", "onClick"])) : (T(),
|
|
16534
|
+
}, null, 8, ["class", "width", "onClick"])) : (T(), ae(D(Q), {
|
|
16518
16535
|
key: 0,
|
|
16519
16536
|
icon: "line-md:moon-to-sunny-outline-loop-transition",
|
|
16520
16537
|
class: k(a.$style.icon),
|
|
@@ -16526,7 +16543,7 @@ const ph = /* @__PURE__ */ H({
|
|
|
16526
16543
|
icon: vh
|
|
16527
16544
|
}, bh = {
|
|
16528
16545
|
$style: gh
|
|
16529
|
-
}, Hm = /* @__PURE__ */ G(ph, [["__cssModules", bh]]), yh = ["href", "target"], wh = ["src"], xh = /* @__PURE__ */
|
|
16546
|
+
}, Hm = /* @__PURE__ */ G(ph, [["__cssModules", bh]]), yh = ["href", "target"], wh = ["src"], xh = /* @__PURE__ */ L({
|
|
16530
16547
|
__name: "ElmInlineLink",
|
|
16531
16548
|
props: {
|
|
16532
16549
|
text: {},
|
|
@@ -16547,7 +16564,7 @@ const ph = /* @__PURE__ */ H({
|
|
|
16547
16564
|
return (s, l) => (T(), I("a", {
|
|
16548
16565
|
class: k(s.$style.link),
|
|
16549
16566
|
href: s.href,
|
|
16550
|
-
style:
|
|
16567
|
+
style: P({ "--font-size": s.size }),
|
|
16551
16568
|
target: s.openInNewTab ? "_blank" : void 0,
|
|
16552
16569
|
rel: "noopener noreferrer",
|
|
16553
16570
|
onClick: t
|
|
@@ -16559,7 +16576,7 @@ const ph = /* @__PURE__ */ H({
|
|
|
16559
16576
|
class: k(s.$style.icon)
|
|
16560
16577
|
}, null, 42, wh),
|
|
16561
16578
|
Vt(" " + _e(s.text) + " ", 1),
|
|
16562
|
-
|
|
16579
|
+
j(D(Q), {
|
|
16563
16580
|
icon: s.iconType != null ? s.iconType === "internal" ? "mdi:chevron-right" : "mdi:external-link" : s.openInNewTab ? "mdi:external-link" : "mdi:chevron-right",
|
|
16564
16581
|
class: k(s.$style.icon)
|
|
16565
16582
|
}, null, 8, ["icon", "class"])
|
|
@@ -16570,7 +16587,7 @@ const ph = /* @__PURE__ */ H({
|
|
|
16570
16587
|
icon: Sh
|
|
16571
16588
|
}, zh = {
|
|
16572
16589
|
$style: Mh
|
|
16573
|
-
}, Th = /* @__PURE__ */ G(xh, [["__cssModules", zh]]), Pm = /* @__PURE__ */
|
|
16590
|
+
}, Th = /* @__PURE__ */ G(xh, [["__cssModules", zh]]), Pm = /* @__PURE__ */ L({
|
|
16574
16591
|
__name: "ElmInlineRuby",
|
|
16575
16592
|
props: {
|
|
16576
16593
|
text: {},
|
|
@@ -16579,19 +16596,19 @@ const ph = /* @__PURE__ */ H({
|
|
|
16579
16596
|
},
|
|
16580
16597
|
setup(r) {
|
|
16581
16598
|
return (e, t) => (T(), I("ruby", null, [
|
|
16582
|
-
|
|
16599
|
+
j(se, {
|
|
16583
16600
|
text: e.text,
|
|
16584
16601
|
color: e.color
|
|
16585
16602
|
}, null, 8, ["text", "color"]),
|
|
16586
16603
|
B("rt", null, [
|
|
16587
|
-
|
|
16604
|
+
j(se, {
|
|
16588
16605
|
text: e.ruby,
|
|
16589
16606
|
color: e.color
|
|
16590
16607
|
}, null, 8, ["text", "color"])
|
|
16591
16608
|
])
|
|
16592
16609
|
]));
|
|
16593
16610
|
}
|
|
16594
|
-
}), _h = { style: { opacity: 0.6 } }, $h = /* @__PURE__ */
|
|
16611
|
+
}), _h = { style: { opacity: 0.6 } }, $h = /* @__PURE__ */ L({
|
|
16595
16612
|
__name: "ElmFile",
|
|
16596
16613
|
props: {
|
|
16597
16614
|
name: {},
|
|
@@ -16619,16 +16636,16 @@ const ph = /* @__PURE__ */ H({
|
|
|
16619
16636
|
}
|
|
16620
16637
|
return (a, n) => (T(), I("div", {
|
|
16621
16638
|
class: k(a.$style.file),
|
|
16622
|
-
style:
|
|
16639
|
+
style: P({ "--margin-block": a.margin })
|
|
16623
16640
|
}, [
|
|
16624
16641
|
B("div", {
|
|
16625
16642
|
class: k(a.$style["left-container"])
|
|
16626
16643
|
}, [
|
|
16627
|
-
|
|
16644
|
+
j(D(Q), {
|
|
16628
16645
|
icon: "mdi:file-outline",
|
|
16629
16646
|
class: k(a.$style.icon)
|
|
16630
16647
|
}, null, 8, ["class"]),
|
|
16631
|
-
|
|
16648
|
+
j(se, {
|
|
16632
16649
|
text: a.name ?? e(a.src) ?? "unknown file"
|
|
16633
16650
|
}, null, 8, ["text"])
|
|
16634
16651
|
], 2),
|
|
@@ -16636,12 +16653,12 @@ const ph = /* @__PURE__ */ H({
|
|
|
16636
16653
|
class: k(a.$style["right-container"])
|
|
16637
16654
|
}, [
|
|
16638
16655
|
B("span", _h, [
|
|
16639
|
-
a.filesize ? (T(),
|
|
16656
|
+
a.filesize ? (T(), ae(se, {
|
|
16640
16657
|
key: 0,
|
|
16641
16658
|
text: a.filesize
|
|
16642
|
-
}, null, 8, ["text"])) :
|
|
16659
|
+
}, null, 8, ["text"])) : oe("", !0)
|
|
16643
16660
|
]),
|
|
16644
|
-
|
|
16661
|
+
j(D(Q), {
|
|
16645
16662
|
icon: "mdi:download",
|
|
16646
16663
|
class: k(a.$style["download-icon"]),
|
|
16647
16664
|
onClick: n[0] || (n[0] = () => {
|
|
@@ -16662,7 +16679,7 @@ const ph = /* @__PURE__ */ H({
|
|
|
16662
16679
|
"download-icon": "_download-icon_ox390_36"
|
|
16663
16680
|
}, Ih = {
|
|
16664
16681
|
$style: Eh
|
|
16665
|
-
}, Bh = /* @__PURE__ */ G($h, [["__cssModules", Ih]]), Dh = ["src", "alt"], Nh = ["src", "alt"], Rh = /* @__PURE__ */
|
|
16682
|
+
}, Bh = /* @__PURE__ */ G($h, [["__cssModules", Ih]]), Dh = ["src", "alt"], Nh = ["src", "alt"], Rh = /* @__PURE__ */ L({
|
|
16666
16683
|
__name: "ElmImage",
|
|
16667
16684
|
props: {
|
|
16668
16685
|
src: {},
|
|
@@ -16675,13 +16692,13 @@ const ph = /* @__PURE__ */ H({
|
|
|
16675
16692
|
return Kn("Escape", (s) => {
|
|
16676
16693
|
s.preventDefault(), n.value = !1;
|
|
16677
16694
|
}), (s, l) => (T(), I(ke, null, [
|
|
16678
|
-
|
|
16695
|
+
j(n0, { mode: "out-in" }, {
|
|
16679
16696
|
default: ze(() => [
|
|
16680
16697
|
D(a) ? (T(), I("div", {
|
|
16681
16698
|
key: 0,
|
|
16682
16699
|
class: k(s.$style.error)
|
|
16683
16700
|
}, [
|
|
16684
|
-
|
|
16701
|
+
j(se, {
|
|
16685
16702
|
text: "Error loading image",
|
|
16686
16703
|
color: "#c56565",
|
|
16687
16704
|
size: "1.5rem"
|
|
@@ -16689,11 +16706,11 @@ const ph = /* @__PURE__ */ H({
|
|
|
16689
16706
|
], 2)) : D(t) ? (T(), I("div", {
|
|
16690
16707
|
key: 1,
|
|
16691
16708
|
class: k(s.$style.fallback),
|
|
16692
|
-
style:
|
|
16709
|
+
style: P({ "--margin-block": s.margin })
|
|
16693
16710
|
}, [
|
|
16694
|
-
|
|
16711
|
+
j(W4),
|
|
16695
16712
|
B("div", null, [
|
|
16696
|
-
|
|
16713
|
+
j(Qr)
|
|
16697
16714
|
])
|
|
16698
16715
|
], 6)) : (T(), I("img", {
|
|
16699
16716
|
key: 2,
|
|
@@ -16703,7 +16720,7 @@ const ph = /* @__PURE__ */ H({
|
|
|
16703
16720
|
onClick: l[0] || (l[0] = () => {
|
|
16704
16721
|
s.enableModal && (n.value = !0);
|
|
16705
16722
|
}),
|
|
16706
|
-
style:
|
|
16723
|
+
style: P({
|
|
16707
16724
|
"--height": D(t) ? "0" : "auto",
|
|
16708
16725
|
"--opacity": D(t) ? 0 : 1,
|
|
16709
16726
|
"--cursor": s.enableModal ? "zoom-in" : "inherit",
|
|
@@ -16714,7 +16731,7 @@ const ph = /* @__PURE__ */ H({
|
|
|
16714
16731
|
]),
|
|
16715
16732
|
_: 1
|
|
16716
16733
|
}),
|
|
16717
|
-
|
|
16734
|
+
j(n0, null, {
|
|
16718
16735
|
default: ze(() => [
|
|
16719
16736
|
n.value ? (T(), I("div", {
|
|
16720
16737
|
key: 0,
|
|
@@ -16728,21 +16745,21 @@ const ph = /* @__PURE__ */ H({
|
|
|
16728
16745
|
n.value = !1;
|
|
16729
16746
|
})
|
|
16730
16747
|
}, null, 10, Nh)
|
|
16731
|
-
], 2)) :
|
|
16748
|
+
], 2)) : oe("", !0)
|
|
16732
16749
|
]),
|
|
16733
16750
|
_: 1
|
|
16734
16751
|
})
|
|
16735
16752
|
], 64));
|
|
16736
16753
|
}
|
|
16737
|
-
}), Oh = "_image_1brnh_1", qh = "_error_1brnh_11",
|
|
16754
|
+
}), Oh = "_image_1brnh_1", qh = "_error_1brnh_11", Fh = "_fallback_1brnh_23", Lh = "_modal_1brnh_36", Hh = {
|
|
16738
16755
|
image: Oh,
|
|
16739
16756
|
error: qh,
|
|
16740
|
-
fallback:
|
|
16741
|
-
modal:
|
|
16757
|
+
fallback: Fh,
|
|
16758
|
+
modal: Lh,
|
|
16742
16759
|
"modal-image": "_modal-image_1brnh_49"
|
|
16743
16760
|
}, Ph = {
|
|
16744
16761
|
$style: Hh
|
|
16745
|
-
}, vl = /* @__PURE__ */ G(Rh, [["__cssModules", Ph], ["__scopeId", "data-v-b0e06ffd"]]), jh = ["href", "target"], Vh = ["src"], Gh = /* @__PURE__ */
|
|
16762
|
+
}, vl = /* @__PURE__ */ G(Rh, [["__cssModules", Ph], ["__scopeId", "data-v-b0e06ffd"]]), jh = ["href", "target"], Vh = ["src"], Gh = /* @__PURE__ */ L({
|
|
16746
16763
|
__name: "ElmBookmark",
|
|
16747
16764
|
props: {
|
|
16748
16765
|
hideUrl: { type: Boolean, default: !1 },
|
|
@@ -16764,7 +16781,7 @@ const ph = /* @__PURE__ */ H({
|
|
|
16764
16781
|
}
|
|
16765
16782
|
return (a, n) => (T(), I("div", {
|
|
16766
16783
|
class: k(a.$style.parent),
|
|
16767
|
-
style:
|
|
16784
|
+
style: P({ "--margin-block": a.margin })
|
|
16768
16785
|
}, [
|
|
16769
16786
|
B("a", {
|
|
16770
16787
|
class: k(a.$style.bookmark),
|
|
@@ -16777,21 +16794,21 @@ const ph = /* @__PURE__ */ H({
|
|
|
16777
16794
|
key: 0,
|
|
16778
16795
|
class: k(a.$style.image)
|
|
16779
16796
|
}, [
|
|
16780
|
-
|
|
16781
|
-
], 2)) :
|
|
16797
|
+
j(vl, { src: a.image }, null, 8, ["src"])
|
|
16798
|
+
], 2)) : oe("", !0),
|
|
16782
16799
|
B("div", {
|
|
16783
16800
|
class: k(a.$style.typography)
|
|
16784
16801
|
}, [
|
|
16785
16802
|
B("div", {
|
|
16786
16803
|
class: k(a.$style.title)
|
|
16787
16804
|
}, [
|
|
16788
|
-
|
|
16805
|
+
j(se, {
|
|
16789
16806
|
text: a.title ?? "No title provided",
|
|
16790
16807
|
bold: ""
|
|
16791
16808
|
}, null, 8, ["text"])
|
|
16792
16809
|
], 2),
|
|
16793
16810
|
B("div", null, [
|
|
16794
|
-
|
|
16811
|
+
j(se, {
|
|
16795
16812
|
text: a.description == null ? "No description provided" : a.description.length > 100 ? a.description.slice(0, 100) + "..." : a.description,
|
|
16796
16813
|
size: ".8rem",
|
|
16797
16814
|
style: { opacity: 0.6 }
|
|
@@ -16802,26 +16819,26 @@ const ph = /* @__PURE__ */ H({
|
|
|
16802
16819
|
class: k(a.$style.date)
|
|
16803
16820
|
}, [
|
|
16804
16821
|
a.createdAt != null ? (T(), I(ke, { key: 0 }, [
|
|
16805
|
-
|
|
16822
|
+
j(D(Q), {
|
|
16806
16823
|
icon: "mdi:calendar-month",
|
|
16807
16824
|
class: k(a.$style.icon)
|
|
16808
16825
|
}, null, 8, ["class"]),
|
|
16809
|
-
|
|
16826
|
+
j(se, {
|
|
16810
16827
|
text: `${a.createdAt}`,
|
|
16811
16828
|
size: ".8rem"
|
|
16812
16829
|
}, null, 8, ["text"])
|
|
16813
|
-
], 64)) :
|
|
16830
|
+
], 64)) : oe("", !0),
|
|
16814
16831
|
a.updatedAt != null ? (T(), I(ke, { key: 1 }, [
|
|
16815
|
-
|
|
16832
|
+
j(D(Q), {
|
|
16816
16833
|
icon: "mdi:calendar-refresh",
|
|
16817
16834
|
class: k(a.$style.icon)
|
|
16818
16835
|
}, null, 8, ["class"]),
|
|
16819
|
-
|
|
16836
|
+
j(se, {
|
|
16820
16837
|
text: `${a.updatedAt}`,
|
|
16821
16838
|
size: ".8rem"
|
|
16822
16839
|
}, null, 8, ["text"])
|
|
16823
|
-
], 64)) :
|
|
16824
|
-
], 2)) :
|
|
16840
|
+
], 64)) : oe("", !0)
|
|
16841
|
+
], 2)) : oe("", !0),
|
|
16825
16842
|
!a.hideUrl && a.url != null ? (T(), I("div", {
|
|
16826
16843
|
key: 1,
|
|
16827
16844
|
class: k(a.$style.link)
|
|
@@ -16831,13 +16848,13 @@ const ph = /* @__PURE__ */ H({
|
|
|
16831
16848
|
src: a.favicon,
|
|
16832
16849
|
alt: "favicon",
|
|
16833
16850
|
class: k(a.$style.favicon)
|
|
16834
|
-
}, null, 10, Vh)) :
|
|
16835
|
-
|
|
16851
|
+
}, null, 10, Vh)) : oe("", !0),
|
|
16852
|
+
j(se, {
|
|
16836
16853
|
text: `${a.url}`,
|
|
16837
16854
|
size: ".8rem",
|
|
16838
16855
|
color: "#6987b8"
|
|
16839
16856
|
}, null, 8, ["text"])
|
|
16840
|
-
], 2)) :
|
|
16857
|
+
], 2)) : oe("", !0)
|
|
16841
16858
|
], 2)
|
|
16842
16859
|
], 10, jh)
|
|
16843
16860
|
], 6));
|
|
@@ -16854,7 +16871,7 @@ const ph = /* @__PURE__ */ H({
|
|
|
16854
16871
|
favicon: e6
|
|
16855
16872
|
}, r6 = {
|
|
16856
16873
|
$style: t6
|
|
16857
|
-
}, a6 = /* @__PURE__ */ G(Gh, [["__cssModules", r6]]), n6 = ["onClick"], s6 = /* @__PURE__ */
|
|
16874
|
+
}, a6 = /* @__PURE__ */ G(Gh, [["__cssModules", r6]]), n6 = ["onClick"], s6 = /* @__PURE__ */ L({
|
|
16858
16875
|
__name: "ElmBreadcrumb",
|
|
16859
16876
|
props: {
|
|
16860
16877
|
links: {}
|
|
@@ -16867,7 +16884,7 @@ const ph = /* @__PURE__ */ H({
|
|
|
16867
16884
|
class: k(a.$style.container),
|
|
16868
16885
|
ref_key: "target",
|
|
16869
16886
|
ref: e,
|
|
16870
|
-
style:
|
|
16887
|
+
style: P({
|
|
16871
16888
|
"--opacity": t.value ? 1 : 0
|
|
16872
16889
|
})
|
|
16873
16890
|
}, [
|
|
@@ -16876,29 +16893,29 @@ const ph = /* @__PURE__ */ H({
|
|
|
16876
16893
|
class: k(a.$style["link-container"]),
|
|
16877
16894
|
onClick: s.onClick
|
|
16878
16895
|
}, [
|
|
16879
|
-
|
|
16896
|
+
j(D(Q), {
|
|
16880
16897
|
class: k([a.$style.icon, a.$style.fade]),
|
|
16881
16898
|
icon: l === 0 ? "mdi:home" : l === a.links.length - 1 ? "mdi:file-document-multiple-outline" : "mdi:folder-open-outline",
|
|
16882
|
-
style:
|
|
16899
|
+
style: P({
|
|
16883
16900
|
"--delay": `${l * 100}ms`
|
|
16884
16901
|
})
|
|
16885
16902
|
}, null, 8, ["class", "icon", "style"]),
|
|
16886
|
-
|
|
16903
|
+
j(se, {
|
|
16887
16904
|
text: s.text,
|
|
16888
16905
|
class: k(a.$style.fade),
|
|
16889
|
-
style:
|
|
16906
|
+
style: P({
|
|
16890
16907
|
"--delay": `${l * 100 + 50}ms`
|
|
16891
16908
|
})
|
|
16892
16909
|
}, null, 8, ["text", "class", "style"])
|
|
16893
16910
|
], 10, n6),
|
|
16894
|
-
a.links.length !== l + 1 ? (T(),
|
|
16911
|
+
a.links.length !== l + 1 ? (T(), ae(D(Q), {
|
|
16895
16912
|
key: 0,
|
|
16896
16913
|
icon: "mdi:chevron-right",
|
|
16897
16914
|
class: k([a.$style.chevron, a.$style.fade]),
|
|
16898
|
-
style:
|
|
16915
|
+
style: P({
|
|
16899
16916
|
"--delay": `${l * 100 + 100}ms`
|
|
16900
16917
|
})
|
|
16901
|
-
}, null, 8, ["class", "style"])) :
|
|
16918
|
+
}, null, 8, ["class", "style"])) : oe("", !0)
|
|
16902
16919
|
], 64))), 256))
|
|
16903
16920
|
], 6));
|
|
16904
16921
|
}
|
|
@@ -16910,14 +16927,14 @@ const ph = /* @__PURE__ */ H({
|
|
|
16910
16927
|
fade: u6
|
|
16911
16928
|
}, d6 = {
|
|
16912
16929
|
$style: c6
|
|
16913
|
-
}, jm = /* @__PURE__ */ G(s6, [["__cssModules", d6]]), h6 = /* @__PURE__ */
|
|
16930
|
+
}, jm = /* @__PURE__ */ G(s6, [["__cssModules", d6]]), h6 = /* @__PURE__ */ L({
|
|
16914
16931
|
__name: "ElmPagetop",
|
|
16915
16932
|
props: {
|
|
16916
16933
|
position: { default: "right" }
|
|
16917
16934
|
},
|
|
16918
16935
|
setup(r) {
|
|
16919
16936
|
const e = J(!1), { y: t } = Qn();
|
|
16920
|
-
|
|
16937
|
+
Fe(
|
|
16921
16938
|
() => t.value,
|
|
16922
16939
|
() => {
|
|
16923
16940
|
e.value = t.value > 100;
|
|
@@ -16928,7 +16945,7 @@ const ph = /* @__PURE__ */ H({
|
|
|
16928
16945
|
};
|
|
16929
16946
|
return (n, s) => (T(), I("nav", {
|
|
16930
16947
|
class: k([n.$style.wrapper, { [n.$style["wrapper--visible"]]: e.value }]),
|
|
16931
|
-
style:
|
|
16948
|
+
style: P({
|
|
16932
16949
|
"--size": "64px",
|
|
16933
16950
|
left: n.position === "left" ? "0" : "auto",
|
|
16934
16951
|
right: n.position === "right" ? "0" : "auto"
|
|
@@ -16960,7 +16977,7 @@ const ph = /* @__PURE__ */ H({
|
|
|
16960
16977
|
text: v6
|
|
16961
16978
|
}, b6 = {
|
|
16962
16979
|
$style: g6
|
|
16963
|
-
}, Vm = /* @__PURE__ */ G(h6, [["__cssModules", b6]]), y6 = ["href"], w6 = /* @__PURE__ */
|
|
16980
|
+
}, Vm = /* @__PURE__ */ G(h6, [["__cssModules", b6]]), y6 = ["href"], w6 = /* @__PURE__ */ L({
|
|
16964
16981
|
__name: "ElmTableOfContents",
|
|
16965
16982
|
props: {
|
|
16966
16983
|
headings: {}
|
|
@@ -16972,19 +16989,19 @@ const ph = /* @__PURE__ */ H({
|
|
|
16972
16989
|
(T(!0), I(ke, null, m0(e.headings, (a) => (T(), I("a", {
|
|
16973
16990
|
class: k(e.$style.link),
|
|
16974
16991
|
href: `#${a.id ?? a.text}`,
|
|
16975
|
-
style:
|
|
16992
|
+
style: P({ "--padding-left": `${a.level * 0.5}rem` })
|
|
16976
16993
|
}, [
|
|
16977
16994
|
B("sup", null, [
|
|
16978
|
-
|
|
16995
|
+
j(se, {
|
|
16979
16996
|
text: `H${a.level}`,
|
|
16980
16997
|
size: "0.6rem",
|
|
16981
16998
|
color: "#6987b8"
|
|
16982
16999
|
}, null, 8, ["text"])
|
|
16983
17000
|
]),
|
|
16984
|
-
|
|
17001
|
+
j(se, {
|
|
16985
17002
|
text: a.text
|
|
16986
17003
|
}, null, 8, ["text"]),
|
|
16987
|
-
|
|
17004
|
+
j(D(Q), {
|
|
16988
17005
|
icon: "heroicons:bars-arrow-down",
|
|
16989
17006
|
class: k(e.$style.icon)
|
|
16990
17007
|
}, null, 8, ["class"])
|
|
@@ -16997,7 +17014,7 @@ const ph = /* @__PURE__ */ H({
|
|
|
16997
17014
|
icon: S6
|
|
16998
17015
|
}, z6 = {
|
|
16999
17016
|
$style: M6
|
|
17000
|
-
}, Gm = /* @__PURE__ */ G(w6, [["__cssModules", z6]]), T6 = /* @__PURE__ */
|
|
17017
|
+
}, Gm = /* @__PURE__ */ G(w6, [["__cssModules", z6]]), T6 = /* @__PURE__ */ L({
|
|
17001
17018
|
__name: "ElmColorSample",
|
|
17002
17019
|
props: {
|
|
17003
17020
|
color: {}
|
|
@@ -17005,26 +17022,26 @@ const ph = /* @__PURE__ */ H({
|
|
|
17005
17022
|
setup(r) {
|
|
17006
17023
|
const e = r, { blue: t, green: a, red: n } = f0(e.color), { hue: s, saturation: l, lightness: u } = b0(e.color), c = ci(f0(e.color)), h = `rgb(${n}, ${a}, ${t})`, f = `hsl(${Math.floor(s)}, ${Math.floor(l * 100)}%, ${Math.floor(u * 100)}%)`, { copy: p, copied: b } = Zr();
|
|
17007
17024
|
return (y, S) => (T(), I("div", {
|
|
17008
|
-
style:
|
|
17025
|
+
style: P({ "--color": y.color })
|
|
17009
17026
|
}, [
|
|
17010
|
-
|
|
17027
|
+
j(Kr, null, {
|
|
17011
17028
|
original: ze(() => [
|
|
17012
17029
|
B("div", {
|
|
17013
17030
|
class: k(y.$style["color-bg"]),
|
|
17014
|
-
style:
|
|
17031
|
+
style: P({
|
|
17015
17032
|
"--background-color": y.color
|
|
17016
17033
|
}),
|
|
17017
17034
|
onClick: S[0] || (S[0] = (z) => D(p)(D(c)))
|
|
17018
17035
|
}, [
|
|
17019
|
-
|
|
17036
|
+
j(n0, null, {
|
|
17020
17037
|
default: ze(() => [
|
|
17021
|
-
D(b) ? (T(),
|
|
17038
|
+
D(b) ? (T(), ae(D(Q), {
|
|
17022
17039
|
key: 0,
|
|
17023
17040
|
icon: "heroicons:check",
|
|
17024
17041
|
style: { color: "white" },
|
|
17025
17042
|
width: "16",
|
|
17026
17043
|
height: "16"
|
|
17027
|
-
})) :
|
|
17044
|
+
})) : oe("", !0)
|
|
17028
17045
|
]),
|
|
17029
17046
|
_: 1
|
|
17030
17047
|
})
|
|
@@ -17057,7 +17074,7 @@ const ph = /* @__PURE__ */ H({
|
|
|
17057
17074
|
text: _6
|
|
17058
17075
|
}, A6 = {
|
|
17059
17076
|
$style: $6
|
|
17060
|
-
}, C6 = /* @__PURE__ */ G(T6, [["__cssModules", A6], ["__scopeId", "data-v-9606dccc"]]), E6 = /* @__PURE__ */
|
|
17077
|
+
}, C6 = /* @__PURE__ */ G(T6, [["__cssModules", A6], ["__scopeId", "data-v-9606dccc"]]), E6 = /* @__PURE__ */ L({
|
|
17061
17078
|
__name: "ElmColorTable",
|
|
17062
17079
|
props: {
|
|
17063
17080
|
colors: {}
|
|
@@ -17071,7 +17088,7 @@ const ph = /* @__PURE__ */ H({
|
|
|
17071
17088
|
}, [
|
|
17072
17089
|
B("div", {
|
|
17073
17090
|
class: k(e.$style["color-name"]),
|
|
17074
|
-
style:
|
|
17091
|
+
style: P({ "--color": a.code })
|
|
17075
17092
|
}, _e(a.name), 7),
|
|
17076
17093
|
(T(), I(ke, null, m0([
|
|
17077
17094
|
-0.2,
|
|
@@ -17083,7 +17100,7 @@ const ph = /* @__PURE__ */ H({
|
|
|
17083
17100
|
0.1,
|
|
17084
17101
|
0.15,
|
|
17085
17102
|
0.2
|
|
17086
|
-
], (n) =>
|
|
17103
|
+
], (n) => j(C6, {
|
|
17087
17104
|
color: D(ni)(n, a.code)
|
|
17088
17105
|
}, null, 8, ["color"])), 64))
|
|
17089
17106
|
], 2))), 256))
|
|
@@ -17095,7 +17112,7 @@ const ph = /* @__PURE__ */ H({
|
|
|
17095
17112
|
"color-name": "_color-name_2ivef_15"
|
|
17096
17113
|
}, D6 = {
|
|
17097
17114
|
$style: B6
|
|
17098
|
-
}, Um = /* @__PURE__ */ G(E6, [["__cssModules", D6]]), N6 = /* @__PURE__ */
|
|
17115
|
+
}, Um = /* @__PURE__ */ G(E6, [["__cssModules", D6]]), N6 = /* @__PURE__ */ L({
|
|
17099
17116
|
__name: "ElmCallout",
|
|
17100
17117
|
props: {
|
|
17101
17118
|
type: { default: "note" }
|
|
@@ -17114,7 +17131,7 @@ const ph = /* @__PURE__ */ H({
|
|
|
17114
17131
|
ref_key: "target",
|
|
17115
17132
|
ref: t,
|
|
17116
17133
|
class: k(n.$style.callout),
|
|
17117
|
-
style:
|
|
17134
|
+
style: P({
|
|
17118
17135
|
"--border-color": e[n.type].code,
|
|
17119
17136
|
"--bg-color": D(Y0)(e[n.type].code, 0.1),
|
|
17120
17137
|
"--scale": a.value ? 1 : 0
|
|
@@ -17123,28 +17140,28 @@ const ph = /* @__PURE__ */ H({
|
|
|
17123
17140
|
B("div", {
|
|
17124
17141
|
class: k(n.$style.header)
|
|
17125
17142
|
}, [
|
|
17126
|
-
|
|
17143
|
+
j(D(Q), {
|
|
17127
17144
|
icon: e[n.type].icon,
|
|
17128
17145
|
class: k(n.$style.icon),
|
|
17129
|
-
style:
|
|
17146
|
+
style: P({ "--icon-color": e[n.type].code })
|
|
17130
17147
|
}, null, 8, ["icon", "class", "style"]),
|
|
17131
|
-
|
|
17148
|
+
j(se, {
|
|
17132
17149
|
text: n.type.toUpperCase(),
|
|
17133
17150
|
color: e[n.type].code
|
|
17134
17151
|
}, null, 8, ["text", "color"])
|
|
17135
17152
|
], 2),
|
|
17136
17153
|
B("div", null, [
|
|
17137
|
-
|
|
17154
|
+
ye(n.$slots, "default")
|
|
17138
17155
|
])
|
|
17139
17156
|
], 6));
|
|
17140
17157
|
}
|
|
17141
|
-
}), R6 = "_callout_3354s_1", O6 = "_header_3354s_25", q6 = "_icon_3354s_31",
|
|
17158
|
+
}), R6 = "_callout_3354s_1", O6 = "_header_3354s_25", q6 = "_icon_3354s_31", F6 = {
|
|
17142
17159
|
callout: R6,
|
|
17143
17160
|
header: O6,
|
|
17144
17161
|
icon: q6
|
|
17145
|
-
},
|
|
17146
|
-
$style:
|
|
17147
|
-
}, H6 = /* @__PURE__ */ G(N6, [["__cssModules",
|
|
17162
|
+
}, L6 = {
|
|
17163
|
+
$style: F6
|
|
17164
|
+
}, H6 = /* @__PURE__ */ G(N6, [["__cssModules", L6]]), P6 = /* @__PURE__ */ L({
|
|
17148
17165
|
__name: "ElmBulletedList",
|
|
17149
17166
|
setup(r) {
|
|
17150
17167
|
const e = J(null), t = J(!1);
|
|
@@ -17154,14 +17171,14 @@ const ph = /* @__PURE__ */ H({
|
|
|
17154
17171
|
ref_key: "target",
|
|
17155
17172
|
ref: e,
|
|
17156
17173
|
class: "elmethis-bulleted-list",
|
|
17157
|
-
style:
|
|
17174
|
+
style: P({
|
|
17158
17175
|
"--opacity": t.value ? 1 : 0
|
|
17159
17176
|
})
|
|
17160
17177
|
}, [
|
|
17161
|
-
|
|
17178
|
+
ye(a.$slots, "default")
|
|
17162
17179
|
], 4));
|
|
17163
17180
|
}
|
|
17164
|
-
}), j6 = /* @__PURE__ */
|
|
17181
|
+
}), j6 = /* @__PURE__ */ L({
|
|
17165
17182
|
__name: "ElmNumberedList",
|
|
17166
17183
|
setup(r) {
|
|
17167
17184
|
const e = J(null), t = J(!1);
|
|
@@ -17171,27 +17188,27 @@ const ph = /* @__PURE__ */ H({
|
|
|
17171
17188
|
ref_key: "target",
|
|
17172
17189
|
ref: e,
|
|
17173
17190
|
class: "elmethis-numbered-list",
|
|
17174
|
-
style:
|
|
17191
|
+
style: P({
|
|
17175
17192
|
"--opacity": t.value ? 1 : 0
|
|
17176
17193
|
})
|
|
17177
17194
|
}, [
|
|
17178
|
-
|
|
17195
|
+
ye(a.$slots, "default")
|
|
17179
17196
|
], 4));
|
|
17180
17197
|
}
|
|
17181
|
-
}), V6 = /* @__PURE__ */
|
|
17198
|
+
}), V6 = /* @__PURE__ */ L({
|
|
17182
17199
|
__name: "ElmListItem",
|
|
17183
17200
|
setup(r) {
|
|
17184
17201
|
return (e, t) => (T(), I("li", {
|
|
17185
17202
|
class: k(e.$style.li)
|
|
17186
17203
|
}, [
|
|
17187
|
-
|
|
17204
|
+
ye(e.$slots, "default")
|
|
17188
17205
|
], 2));
|
|
17189
17206
|
}
|
|
17190
17207
|
}), G6 = "_li_s1eaw_1", U6 = {
|
|
17191
17208
|
li: G6
|
|
17192
17209
|
}, W6 = {
|
|
17193
17210
|
$style: U6
|
|
17194
|
-
}, Y6 = /* @__PURE__ */ G(V6, [["__cssModules", W6]]), X6 = /* @__PURE__ */
|
|
17211
|
+
}, Y6 = /* @__PURE__ */ G(V6, [["__cssModules", W6]]), X6 = /* @__PURE__ */ L({
|
|
17195
17212
|
__name: "ElmBlockQuote",
|
|
17196
17213
|
setup(r) {
|
|
17197
17214
|
const e = J(null), t = J(!1);
|
|
@@ -17201,18 +17218,18 @@ const ph = /* @__PURE__ */ H({
|
|
|
17201
17218
|
ref_key: "target",
|
|
17202
17219
|
ref: e,
|
|
17203
17220
|
class: k(a.$style.blockquote),
|
|
17204
|
-
style:
|
|
17221
|
+
style: P({
|
|
17205
17222
|
"--opacity": t.value ? 1 : 0
|
|
17206
17223
|
})
|
|
17207
17224
|
}, [
|
|
17208
|
-
|
|
17225
|
+
ye(a.$slots, "default")
|
|
17209
17226
|
], 6));
|
|
17210
17227
|
}
|
|
17211
17228
|
}), Z6 = "_blockquote_1oj4b_1", K6 = {
|
|
17212
17229
|
blockquote: Z6
|
|
17213
17230
|
}, Q6 = {
|
|
17214
17231
|
$style: K6
|
|
17215
|
-
}, J6 = /* @__PURE__ */ G(X6, [["__cssModules", Q6]]), em = /* @__PURE__ */
|
|
17232
|
+
}, J6 = /* @__PURE__ */ G(X6, [["__cssModules", Q6]]), em = /* @__PURE__ */ L({
|
|
17216
17233
|
__name: "ElmDivider",
|
|
17217
17234
|
props: {
|
|
17218
17235
|
margin: {}
|
|
@@ -17225,7 +17242,7 @@ const ph = /* @__PURE__ */ H({
|
|
|
17225
17242
|
ref_key: "target",
|
|
17226
17243
|
ref: e,
|
|
17227
17244
|
class: k(a.$style.divider),
|
|
17228
|
-
style:
|
|
17245
|
+
style: P({
|
|
17229
17246
|
"--scale": t.value ? 1 : 0,
|
|
17230
17247
|
"--margin-block": a.margin
|
|
17231
17248
|
})
|
|
@@ -17235,7 +17252,7 @@ const ph = /* @__PURE__ */ H({
|
|
|
17235
17252
|
divider: tm
|
|
17236
17253
|
}, am = {
|
|
17237
17254
|
$style: rm
|
|
17238
|
-
}, nm = /* @__PURE__ */ G(em, [["__cssModules", am]]), sm = /* @__PURE__ */
|
|
17255
|
+
}, nm = /* @__PURE__ */ G(em, [["__cssModules", am]]), sm = /* @__PURE__ */ L({
|
|
17239
17256
|
__name: "ElmParagraph",
|
|
17240
17257
|
setup(r) {
|
|
17241
17258
|
const e = J(null), t = J(!1);
|
|
@@ -17245,18 +17262,18 @@ const ph = /* @__PURE__ */ H({
|
|
|
17245
17262
|
ref_key: "target",
|
|
17246
17263
|
ref: e,
|
|
17247
17264
|
class: k(a.$style.paragraph),
|
|
17248
|
-
style:
|
|
17265
|
+
style: P({
|
|
17249
17266
|
"--opacity": t.value ? 1 : 0
|
|
17250
17267
|
})
|
|
17251
17268
|
}, [
|
|
17252
|
-
|
|
17269
|
+
ye(a.$slots, "default")
|
|
17253
17270
|
], 6));
|
|
17254
17271
|
}
|
|
17255
17272
|
}), lm = "_paragraph_19lcl_1", im = {
|
|
17256
17273
|
paragraph: lm
|
|
17257
17274
|
}, om = {
|
|
17258
17275
|
$style: im
|
|
17259
|
-
}, um = /* @__PURE__ */ G(sm, [["__cssModules", om]]), cm = /* @__PURE__ */
|
|
17276
|
+
}, um = /* @__PURE__ */ G(sm, [["__cssModules", om]]), cm = /* @__PURE__ */ L({
|
|
17260
17277
|
__name: "ElmTable",
|
|
17261
17278
|
props: {
|
|
17262
17279
|
margin: {}
|
|
@@ -17264,90 +17281,90 @@ const ph = /* @__PURE__ */ H({
|
|
|
17264
17281
|
setup(r) {
|
|
17265
17282
|
return (e, t) => (T(), I("table", {
|
|
17266
17283
|
class: "table",
|
|
17267
|
-
style:
|
|
17284
|
+
style: P({
|
|
17268
17285
|
"--margin-block": e.margin
|
|
17269
17286
|
})
|
|
17270
17287
|
}, [
|
|
17271
|
-
|
|
17288
|
+
ye(e.$slots, "default", {}, void 0, !0)
|
|
17272
17289
|
], 4));
|
|
17273
17290
|
}
|
|
17274
|
-
}), dm = /* @__PURE__ */ G(cm, [["__scopeId", "data-v-6ed1a868"]]), hm = { class: "elmethis-table-header-thead" }, mm = /* @__PURE__ */
|
|
17291
|
+
}), dm = /* @__PURE__ */ G(cm, [["__scopeId", "data-v-6ed1a868"]]), hm = { class: "elmethis-table-header-thead" }, mm = /* @__PURE__ */ L({
|
|
17275
17292
|
__name: "ElmTableHeader",
|
|
17276
17293
|
setup(r) {
|
|
17277
17294
|
return (e, t) => (T(), I("thead", hm, [
|
|
17278
|
-
|
|
17295
|
+
ye(e.$slots, "default")
|
|
17279
17296
|
]));
|
|
17280
17297
|
}
|
|
17281
|
-
}), fm = { class: "elmethis-table-header-body" }, pm = /* @__PURE__ */
|
|
17298
|
+
}), fm = { class: "elmethis-table-header-body" }, pm = /* @__PURE__ */ L({
|
|
17282
17299
|
__name: "ElmTableBody",
|
|
17283
17300
|
setup(r) {
|
|
17284
17301
|
return (e, t) => (T(), I("tbody", fm, [
|
|
17285
|
-
|
|
17302
|
+
ye(e.$slots, "default")
|
|
17286
17303
|
]));
|
|
17287
17304
|
}
|
|
17288
|
-
}), vm = /* @__PURE__ */
|
|
17305
|
+
}), vm = /* @__PURE__ */ L({
|
|
17289
17306
|
__name: "ElmTableRow",
|
|
17290
17307
|
setup(r) {
|
|
17291
17308
|
return (e, t) => (T(), I("tr", null, [
|
|
17292
|
-
|
|
17309
|
+
ye(e.$slots, "default")
|
|
17293
17310
|
]));
|
|
17294
17311
|
}
|
|
17295
|
-
}), gm = /* @__PURE__ */
|
|
17312
|
+
}), gm = /* @__PURE__ */ L({
|
|
17296
17313
|
__name: "ElmTableCell",
|
|
17297
17314
|
props: {
|
|
17298
17315
|
hasHeader: { type: Boolean, default: !1 },
|
|
17299
17316
|
text: {}
|
|
17300
17317
|
},
|
|
17301
17318
|
setup(r) {
|
|
17302
|
-
return (e, t) => (T(),
|
|
17319
|
+
return (e, t) => (T(), ae(R0(e.hasHeader ? "th" : "td"), { class: "cell" }, {
|
|
17303
17320
|
default: ze(() => [
|
|
17304
|
-
e.text == null ?
|
|
17321
|
+
e.text == null ? ye(e.$slots, "default", { key: 0 }, void 0, !0) : oe("", !0),
|
|
17305
17322
|
Vt(" " + _e(e.text), 1)
|
|
17306
17323
|
]),
|
|
17307
17324
|
_: 3
|
|
17308
17325
|
}));
|
|
17309
17326
|
}
|
|
17310
|
-
}), bm = /* @__PURE__ */ G(gm, [["__scopeId", "data-v-7bedd3ac"]]), ym = /* @__PURE__ */
|
|
17327
|
+
}), bm = /* @__PURE__ */ G(gm, [["__scopeId", "data-v-7bedd3ac"]]), ym = /* @__PURE__ */ L({
|
|
17311
17328
|
__name: "ElmJsonRenderer",
|
|
17312
17329
|
props: {
|
|
17313
17330
|
json: {}
|
|
17314
17331
|
},
|
|
17315
17332
|
setup(r) {
|
|
17316
17333
|
const e = {
|
|
17317
|
-
ElmInlineText:
|
|
17318
|
-
ElmInlineLink:
|
|
17319
|
-
ElmCallout:
|
|
17320
|
-
ElmBulletedList:
|
|
17321
|
-
ElmNumberedList:
|
|
17322
|
-
ElmListItem:
|
|
17323
|
-
ElmBlockQuote:
|
|
17324
|
-
ElmDivider:
|
|
17325
|
-
ElmHeading1:
|
|
17326
|
-
ElmHeading2:
|
|
17327
|
-
ElmHeading3:
|
|
17328
|
-
ElmHeading4:
|
|
17329
|
-
ElmHeading5:
|
|
17330
|
-
ElmHeading6:
|
|
17331
|
-
ElmCodeBlock:
|
|
17332
|
-
ElmParagraph:
|
|
17333
|
-
ElmTable:
|
|
17334
|
-
ElmTableHeader:
|
|
17335
|
-
ElmTableBody:
|
|
17336
|
-
ElmTableRow:
|
|
17337
|
-
ElmTableCell:
|
|
17338
|
-
ElmKatex:
|
|
17339
|
-
ElmImage:
|
|
17340
|
-
ElmBookmark:
|
|
17341
|
-
ElmToggle:
|
|
17342
|
-
ElmCheckbox:
|
|
17343
|
-
ElmFile:
|
|
17344
|
-
ElmColumn:
|
|
17345
|
-
ElmColumnList:
|
|
17334
|
+
ElmInlineText: ne(se),
|
|
17335
|
+
ElmInlineLink: ne(Th),
|
|
17336
|
+
ElmCallout: ne(H6),
|
|
17337
|
+
ElmBulletedList: ne(P6),
|
|
17338
|
+
ElmNumberedList: ne(j6),
|
|
17339
|
+
ElmListItem: ne(Y6),
|
|
17340
|
+
ElmBlockQuote: ne(J6),
|
|
17341
|
+
ElmDivider: ne(nm),
|
|
17342
|
+
ElmHeading1: ne(h5),
|
|
17343
|
+
ElmHeading2: ne(y5),
|
|
17344
|
+
ElmHeading3: ne(z5),
|
|
17345
|
+
ElmHeading4: ne(E5),
|
|
17346
|
+
ElmHeading5: ne(O5),
|
|
17347
|
+
ElmHeading6: ne(j5),
|
|
17348
|
+
ElmCodeBlock: ne(B1),
|
|
17349
|
+
ElmParagraph: ne(um),
|
|
17350
|
+
ElmTable: ne(dm),
|
|
17351
|
+
ElmTableHeader: ne(mm),
|
|
17352
|
+
ElmTableBody: ne(pm),
|
|
17353
|
+
ElmTableRow: ne(vm),
|
|
17354
|
+
ElmTableCell: ne(bm),
|
|
17355
|
+
ElmKatex: ne(Ic),
|
|
17356
|
+
ElmImage: ne(vl),
|
|
17357
|
+
ElmBookmark: ne(a6),
|
|
17358
|
+
ElmToggle: ne(S4),
|
|
17359
|
+
ElmCheckbox: ne(g2),
|
|
17360
|
+
ElmFile: ne(Bh),
|
|
17361
|
+
ElmColumn: ne(Fc),
|
|
17362
|
+
ElmColumnList: ne(jc)
|
|
17346
17363
|
}, t = (a) => {
|
|
17347
17364
|
const n = [];
|
|
17348
17365
|
for (const s of a)
|
|
17349
17366
|
n.push(
|
|
17350
|
-
|
|
17367
|
+
ce(
|
|
17351
17368
|
e[s.type],
|
|
17352
17369
|
{ ...s.props, key: s.id },
|
|
17353
17370
|
() => {
|
|
@@ -17358,9 +17375,9 @@ const ph = /* @__PURE__ */ H({
|
|
|
17358
17375
|
);
|
|
17359
17376
|
return n;
|
|
17360
17377
|
};
|
|
17361
|
-
return (a, n) => (T(),
|
|
17378
|
+
return (a, n) => (T(), ae(R0(() => t(a.json))));
|
|
17362
17379
|
}
|
|
17363
|
-
}), Wm = /* @__PURE__ */
|
|
17380
|
+
}), Wm = /* @__PURE__ */ L({
|
|
17364
17381
|
__name: "ElmJsonRendererAsync",
|
|
17365
17382
|
props: {
|
|
17366
17383
|
json: {}
|
|
@@ -17369,9 +17386,9 @@ const ph = /* @__PURE__ */ H({
|
|
|
17369
17386
|
const e = r, t = J(null);
|
|
17370
17387
|
return A0(() => {
|
|
17371
17388
|
N0(() => {
|
|
17372
|
-
t.value =
|
|
17389
|
+
t.value = ce(ym, { json: e.json });
|
|
17373
17390
|
});
|
|
17374
|
-
}), (a, n) => t.value != null ? (T(),
|
|
17391
|
+
}), (a, n) => t.value != null ? (T(), ae(R0(() => t.value), { key: 0 })) : (T(), ae(Jr, { key: 1 }));
|
|
17375
17392
|
}
|
|
17376
17393
|
});
|
|
17377
17394
|
function Ym() {
|
|
@@ -17392,24 +17409,24 @@ export {
|
|
|
17392
17409
|
Dm as F,
|
|
17393
17410
|
Nm as G,
|
|
17394
17411
|
Rm as H,
|
|
17395
|
-
|
|
17412
|
+
h5 as I,
|
|
17396
17413
|
y5 as J,
|
|
17397
17414
|
z5 as K,
|
|
17398
17415
|
E5 as L,
|
|
17399
17416
|
O5 as M,
|
|
17400
17417
|
j5 as N,
|
|
17401
|
-
|
|
17418
|
+
J0 as O,
|
|
17402
17419
|
Om as P,
|
|
17403
17420
|
qm as Q,
|
|
17404
|
-
|
|
17421
|
+
Fm as R,
|
|
17405
17422
|
W0 as S,
|
|
17406
17423
|
Qr as T,
|
|
17407
|
-
|
|
17408
|
-
|
|
17424
|
+
Lo as U,
|
|
17425
|
+
Lm as V,
|
|
17409
17426
|
Hm as W,
|
|
17410
17427
|
Th as X,
|
|
17411
17428
|
Pm as Y,
|
|
17412
|
-
|
|
17429
|
+
se as Z,
|
|
17413
17430
|
G as _,
|
|
17414
17431
|
dd as a,
|
|
17415
17432
|
vl as a0,
|
|
@@ -17446,7 +17463,7 @@ export {
|
|
|
17446
17463
|
cd as i,
|
|
17447
17464
|
Ic as j,
|
|
17448
17465
|
Mm as k,
|
|
17449
|
-
|
|
17466
|
+
Fc as l,
|
|
17450
17467
|
jc as m,
|
|
17451
17468
|
zm as n,
|
|
17452
17469
|
Tm as o,
|