@versini/sassysaint 8.134.3 → 8.134.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{AboutChangelog.S5A7szbn.js → AboutChangelog.DESm_zaS.js} +2 -2
- package/dist/chunks/{AboutEntry.D1f6W_R1.js → AboutEntry.PNIb9b_J.js} +8 -8
- package/dist/chunks/{App.3nJFAcWz.js → App.DxJjOPEo.js} +1723 -1682
- package/dist/chunks/{BubbleActions.Dxxjo6is.js → BubbleActions.DWZywKKf.js} +3 -3
- package/dist/chunks/{ButtonIconDelete.CQTbCWNA.js → ButtonIconDelete.Bd9WCc-n.js} +4 -4
- package/dist/chunks/{Chart.CtO5Z52V.js → Chart.D4McrUHf.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.BPltdisw.js → ChatBubbleAssistant.DXr3zP0M.js} +478 -463
- package/dist/chunks/{ChatBubbleUser.6i3uiI2x.js → ChatBubbleUser.Ckp2T75v.js} +4 -4
- package/dist/chunks/{GenericPanel.CGVeNN5Z.js → GenericPanel.BNdVkNlo.js} +1 -1
- package/dist/chunks/{HistoryEntry.CJMHFtv5.js → HistoryEntry.BMs6wRlI.js} +6 -6
- package/dist/chunks/{LoginEntry.BBFgFspn.js → LoginEntry.F2Eea1Ai.js} +4 -4
- package/dist/chunks/{LogoEntry.CWsRUqCp.js → LogoEntry.BrHGam_v.js} +1 -1
- package/dist/chunks/{MemoriesEntry.C4xIBkSe.js → MemoriesEntry.Be99TWBa.js} +6 -6
- package/dist/chunks/{ProfileEntry.DLq2wFcg.js → ProfileEntry.CyBmwMsD.js} +6 -6
- package/dist/chunks/{SettingsEntry.Dk5DsPm_.js → SettingsEntry.TnxirjHk.js} +6 -6
- package/dist/chunks/{UsageEntry.C0fVJ0Qs.js → UsageEntry.DGGOFDbC.js} +6 -6
- package/dist/chunks/{_baseUniq.PamnsEFu.js → _baseUniq.c1Wi6asc.js} +1 -1
- package/dist/chunks/{arc.DWBbyrwt.js → arc.DbYDlyqC.js} +1 -1
- package/dist/chunks/{architecture-U656AL7Q.F6zu96zn.js → architecture-U656AL7Q.DDsGzCBQ.js} +1 -1
- package/dist/chunks/{architectureDiagram-VXUJARFQ.xMnf3Fyb.js → architectureDiagram-VXUJARFQ.B-Ylahzc.js} +4 -4
- package/dist/chunks/{blockDiagram-VD42YOAC.BlW1dVsH.js → blockDiagram-VD42YOAC.DB2CSbsF.js} +5 -5
- package/dist/chunks/{browser.C9Ro6lKv.js → browser.DLL5LKNH.js} +1 -1
- package/dist/chunks/{c4Diagram-YG6GDRKO.BUZMJsZm.js → c4Diagram-YG6GDRKO.vEkpo0P1.js} +2 -2
- package/dist/chunks/{channel.CvtIEtTw.js → channel.CjuXuK1B.js} +1 -1
- package/dist/chunks/{chunk-4BX2VUAB.XUNniqyi.js → chunk-4BX2VUAB.DPsxMfy4.js} +1 -1
- package/dist/chunks/{chunk-55IACEB6.KQK11MNw.js → chunk-55IACEB6.CcufgCyb.js} +1 -1
- package/dist/chunks/{chunk-B4BG7PRW.leoxhVQE.js → chunk-B4BG7PRW.CpWFFEk5.js} +4 -4
- package/dist/chunks/{chunk-DI55MBZ5.COUn6EGB.js → chunk-DI55MBZ5.DxOnZ5hn.js} +3 -3
- package/dist/chunks/{chunk-FMBD7UC4.BHnvqSm4.js → chunk-FMBD7UC4.CgVRsIj3.js} +1 -1
- package/dist/chunks/{chunk-QN33PNHL.CdOOd56F.js → chunk-QN33PNHL.CDY72U3p.js} +1 -1
- package/dist/chunks/{chunk-QZHKN3VN.B-SUXkDc.js → chunk-QZHKN3VN.01ZjYOeq.js} +1 -1
- package/dist/chunks/{chunk-TZMSLE5B.Bkp7ikgx.js → chunk-TZMSLE5B.CA5wJZJv.js} +1 -1
- package/dist/chunks/{classDiagram-2ON5EDUG.KzuH5iXp.js → classDiagram-2ON5EDUG.BnU5JPL3.js} +2 -2
- package/dist/chunks/{classDiagram-v2-WZHVMYZB.KzuH5iXp.js → classDiagram-v2-WZHVMYZB.BnU5JPL3.js} +2 -2
- package/dist/chunks/{clone.Bhkbjhz3.js → clone.BbEicaZt.js} +1 -1
- package/dist/chunks/{cose-bilkent-S5V4N54A.Cr7cVHcK.js → cose-bilkent-S5V4N54A._zYZjE0O.js} +2 -2
- package/dist/chunks/{dagre-6UL2VRFP.BLR-IZCG.js → dagre-6UL2VRFP.B9RdQigc.js} +5 -5
- package/dist/chunks/defaultLocale.z12-Hsw2.js +171 -0
- package/dist/chunks/{diagram-PSM6KHXK.0XvgDxvq.js → diagram-PSM6KHXK.DEt8sa4j.js} +5 -5
- package/dist/chunks/{diagram-QEK2KX5R.zrRv_2BA.js → diagram-QEK2KX5R.B17p-9el.js} +3 -3
- package/dist/chunks/{diagram-S2PKOQOG.BXpthQjw.js → diagram-S2PKOQOG.D-CN6sk9.js} +3 -3
- package/dist/chunks/{erDiagram-Q2GNP2WA.CLO7MWIp.js → erDiagram-Q2GNP2WA.D--J9Jom.js} +4 -4
- package/dist/chunks/{flowDiagram-NV44I4VS.CyOLQ4oR.js → flowDiagram-NV44I4VS.Bq_ZVHUc.js} +5 -5
- package/dist/chunks/{ganttDiagram-JELNMOA3.-s24yCP7.js → ganttDiagram-JELNMOA3.BUmp0zYh.js} +3 -3
- package/dist/chunks/{gitGraph-F6HP7TQM.C5Xm949J.js → gitGraph-F6HP7TQM.Cldg6-Gb.js} +1 -1
- package/dist/chunks/{gitGraphDiagram-NY62KEGX.CF-x4Ujm.js → gitGraphDiagram-NY62KEGX.CryIJniq.js} +4 -4
- package/dist/chunks/{graph.DeZ5RJvQ.js → graph.p2hC_MwC.js} +2 -2
- package/dist/chunks/{index.xOQtlCwm.js → index.B31uDURy.js} +1 -1
- package/dist/chunks/{index.BsYy8oFz.js → index.BPB3riTE.js} +1 -1
- package/dist/chunks/{index.C6wxKXfi.js → index.CZcINNHA.js} +3 -3
- package/dist/chunks/{index.1vP6MrRV.js → index.Co3ZLCaT.js} +1 -1
- package/dist/chunks/{index.BPIJ_EbJ.js → index.CuH6GlfD.js} +2 -2
- package/dist/chunks/{index.CK5gry_2.js → index.D9rDpV8Z.js} +3 -3
- package/dist/chunks/{index.DdyUlVE0.js → index.DCG_H3hH.js} +1 -1
- package/dist/chunks/{index.Cgq2RYy0.js → index.DbSxtTzg.js} +1 -1
- package/dist/chunks/{index.DyW0gxdR.js → index.DoaGA2fP.js} +1 -1
- package/dist/chunks/{index.CQVX0AhT.js → index.xFxfT2H2.js} +1 -1
- package/dist/chunks/{info-NVLQJR56.Dg0RK5Pj.js → info-NVLQJR56.Cjlg5N_W.js} +1 -1
- package/dist/chunks/{infoDiagram-WHAUD3N6.CRkoJS3r.js → infoDiagram-WHAUD3N6.By3_MYN2.js} +2 -2
- package/dist/chunks/{journeyDiagram-XKPGCS4Q.G4wvuN0K.js → journeyDiagram-XKPGCS4Q.CL6NUluV.js} +4 -4
- package/dist/chunks/{kanban-definition-3W4ZIXB7.DnwoHLbP.js → kanban-definition-3W4ZIXB7.3FQ2q1uC.js} +2 -2
- package/dist/chunks/{layout.DS7EEtqy.js → layout.BSFiNrsx.js} +4 -4
- package/dist/chunks/{linear.CIDfImUo.js → linear.CQ26fikN.js} +1 -1
- package/dist/chunks/{mermaid-parser.core.BLfdUAzV.js → mermaid-parser.core.CC84J-36.js} +10 -10
- package/dist/chunks/{min.CbofRHXS.js → min.BB3oj0y_.js} +2 -2
- package/dist/chunks/{mindmap-definition-VGOIOE7T.DCet_N_2.js → mindmap-definition-VGOIOE7T._-8W5Vg1.js} +3 -3
- package/dist/chunks/{packet-BFZMPI3H.DX8BSvYu.js → packet-BFZMPI3H.LexUPJ6I.js} +1 -1
- package/dist/chunks/{pie-7BOR55EZ.Z4WTMi28.js → pie-7BOR55EZ.Bq4z5AvT.js} +1 -1
- package/dist/chunks/{pieDiagram-ADFJNKIX.8uNnY29L.js → pieDiagram-ADFJNKIX.oxZ0B7rg.js} +4 -4
- package/dist/chunks/{quadrantDiagram-AYHSOK5B.B72T4MNo.js → quadrantDiagram-AYHSOK5B.qdRnCaDt.js} +2 -2
- package/dist/chunks/{radar-NHE76QYJ.DjeMhVu2.js → radar-NHE76QYJ.BdIaLmXp.js} +1 -1
- package/dist/chunks/{rehype-mermaid.BkSoUoEw.js → rehype-mermaid.OYnkgOB-.js} +227 -227
- package/dist/chunks/{requirementDiagram-UZGBJVZJ.CznvVpSS.js → requirementDiagram-UZGBJVZJ.BgzsQhvf.js} +3 -3
- package/dist/chunks/{sankeyDiagram-TZEHDZUN.BCR7EaTV.js → sankeyDiagram-TZEHDZUN.DWgbiynU.js} +1 -1
- package/dist/chunks/{sequenceDiagram-WL72ISMW.D9EOVC_O.js → sequenceDiagram-WL72ISMW.xqbpLE21.js} +3 -3
- package/dist/chunks/{stateDiagram-FKZM4ZOC.DGUlTIBq.js → stateDiagram-FKZM4ZOC.DB8RxtL0.js} +4 -4
- package/dist/chunks/{stateDiagram-v2-4FDKWEC3.DpDD12YI.js → stateDiagram-v2-4FDKWEC3.B-vb1oaU.js} +2 -2
- package/dist/chunks/{timeline-definition-IT6M3QCI.D2Viy_ui.js → timeline-definition-IT6M3QCI.DjimX7cA.js} +2 -2
- package/dist/chunks/{treemap-KMMF4GRG.Ee2A2uqt.js → treemap-KMMF4GRG.DfRApQWE.js} +1 -1
- package/dist/chunks/{useMarkdown.Dh1POpoc.js → useMarkdown.DSuR76T7.js} +10 -14
- package/dist/chunks/{xychartDiagram-PRI3JC2R.8nr0puhG.js → xychartDiagram-PRI3JC2R.dwIl0s4S.js} +2 -2
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +3 -3
- package/package.json +4 -4
- package/dist/chunks/defaultLocale.CPJLP5jg.js +0 -171
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { fromHtmlIsomorphic as Og } from "./browser.
|
|
2
|
-
import { getDefaultExportFromCjs as _c } from "./App.
|
|
3
|
-
import { visitParents as Rg, parse as wc } from "./useMarkdown.
|
|
4
|
-
import { toText as Ig } from "./index.
|
|
1
|
+
import { fromHtmlIsomorphic as Og } from "./browser.DLL5LKNH.js";
|
|
2
|
+
import { getDefaultExportFromCjs as _c } from "./App.DxJjOPEo.js";
|
|
3
|
+
import { visitParents as Rg, parse as wc } from "./useMarkdown.DSuR76T7.js";
|
|
4
|
+
import { toText as Ig } from "./index.Co3ZLCaT.js";
|
|
5
5
|
var Yo = {
|
|
6
6
|
version: "11.12.2"
|
|
7
7
|
}, Xi = { exports: {} }, Pg = Xi.exports, Go;
|
|
@@ -561,7 +561,7 @@ const Pn = new Yg({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), _r = {
|
|
|
561
561
|
const { h: t, s: r, l: i, a: n } = e;
|
|
562
562
|
return n < 1 ? `hsla(${st.lang.round(t)}, ${st.lang.round(r)}%, ${st.lang.round(i)}%, ${n})` : `hsl(${st.lang.round(t)}, ${st.lang.round(r)}%, ${st.lang.round(i)}%)`;
|
|
563
563
|
}
|
|
564
|
-
},
|
|
564
|
+
}, li = {
|
|
565
565
|
/* VARIABLES */
|
|
566
566
|
colors: {
|
|
567
567
|
aliceblue: "#f0f8ff",
|
|
@@ -715,17 +715,17 @@ const Pn = new Yg({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), _r = {
|
|
|
715
715
|
/* API */
|
|
716
716
|
parse: (e) => {
|
|
717
717
|
e = e.toLowerCase();
|
|
718
|
-
const t =
|
|
718
|
+
const t = li.colors[e];
|
|
719
719
|
if (t)
|
|
720
720
|
return _r.parse(t);
|
|
721
721
|
},
|
|
722
722
|
stringify: (e) => {
|
|
723
723
|
const t = _r.stringify(e);
|
|
724
|
-
for (const r in
|
|
725
|
-
if (
|
|
724
|
+
for (const r in li.colors)
|
|
725
|
+
if (li.colors[r] === t)
|
|
726
726
|
return r;
|
|
727
727
|
}
|
|
728
|
-
},
|
|
728
|
+
}, ri = {
|
|
729
729
|
/* VARIABLES */
|
|
730
730
|
re: /^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,
|
|
731
731
|
/* API */
|
|
@@ -733,7 +733,7 @@ const Pn = new Yg({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), _r = {
|
|
|
733
733
|
const t = e.charCodeAt(0);
|
|
734
734
|
if (t !== 114 && t !== 82)
|
|
735
735
|
return;
|
|
736
|
-
const r = e.match(
|
|
736
|
+
const r = e.match(ri.re);
|
|
737
737
|
if (!r)
|
|
738
738
|
return;
|
|
739
739
|
const [, i, n, a, o, s, l, c, h] = r;
|
|
@@ -751,10 +751,10 @@ const Pn = new Yg({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), _r = {
|
|
|
751
751
|
}, ye = {
|
|
752
752
|
/* VARIABLES */
|
|
753
753
|
format: {
|
|
754
|
-
keyword:
|
|
754
|
+
keyword: li,
|
|
755
755
|
hex: _r,
|
|
756
|
-
rgb:
|
|
757
|
-
rgba:
|
|
756
|
+
rgb: ri,
|
|
757
|
+
rgba: ri,
|
|
758
758
|
hsl: Ve,
|
|
759
759
|
hsla: Ve
|
|
760
760
|
},
|
|
@@ -762,18 +762,18 @@ const Pn = new Yg({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), _r = {
|
|
|
762
762
|
parse: (e) => {
|
|
763
763
|
if (typeof e != "string")
|
|
764
764
|
return e;
|
|
765
|
-
const t = _r.parse(e) ||
|
|
765
|
+
const t = _r.parse(e) || ri.parse(e) || Ve.parse(e) || li.parse(e);
|
|
766
766
|
if (t)
|
|
767
767
|
return t;
|
|
768
768
|
throw new Error(`Unsupported color format: "${e}"`);
|
|
769
769
|
},
|
|
770
|
-
stringify: (e) => !e.changed && e.color ? e.color : e.type.is($t.HSL) || e.data.r === void 0 ? Ve.stringify(e) : e.a < 1 || !Number.isInteger(e.r) || !Number.isInteger(e.g) || !Number.isInteger(e.b) ?
|
|
770
|
+
stringify: (e) => !e.changed && e.color ? e.color : e.type.is($t.HSL) || e.data.r === void 0 ? Ve.stringify(e) : e.a < 1 || !Number.isInteger(e.r) || !Number.isInteger(e.g) || !Number.isInteger(e.b) ? ri.stringify(e) : _r.stringify(e)
|
|
771
771
|
}, Sc = (e, t) => {
|
|
772
772
|
const r = ye.parse(e);
|
|
773
773
|
for (const i in t)
|
|
774
774
|
r[i] = st.channel.clamp[i](t[i]);
|
|
775
775
|
return ye.stringify(r);
|
|
776
|
-
},
|
|
776
|
+
}, ci = (e, t, r = 0, i = 1) => {
|
|
777
777
|
if (typeof e != "number")
|
|
778
778
|
return Sc(e, { a: t });
|
|
779
779
|
const n = Pn.set({
|
|
@@ -786,7 +786,7 @@ const Pn = new Yg({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), _r = {
|
|
|
786
786
|
}, Gg = (e) => {
|
|
787
787
|
const { r: t, g: r, b: i } = ye.parse(e), n = 0.2126 * st.channel.toLinear(t) + 0.7152 * st.channel.toLinear(r) + 0.0722 * st.channel.toLinear(i);
|
|
788
788
|
return st.lang.round(n);
|
|
789
|
-
}, Xg = (e) => Gg(e) >= 0.5,
|
|
789
|
+
}, Xg = (e) => Gg(e) >= 0.5, ki = (e) => !Xg(e), vc = (e, t, r) => {
|
|
790
790
|
const i = ye.parse(e), n = i[t], a = st.channel.clamp[t](n + r);
|
|
791
791
|
return n !== a && (i[t] = a), ye.stringify(i);
|
|
792
792
|
}, H = (e, t) => vc(e, "l", t), et = (e, t) => vc(e, "l", -t), S = (e, t) => {
|
|
@@ -796,7 +796,7 @@ const Pn = new Yg({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), _r = {
|
|
|
796
796
|
return Sc(e, i);
|
|
797
797
|
}, Vg = (e, t, r = 50) => {
|
|
798
798
|
const { r: i, g: n, b: a, a: o } = ye.parse(e), { r: s, g: l, b: c, a: h } = ye.parse(t), u = r / 100, f = u * 2 - 1, d = o - h, m = ((f * d === -1 ? f : (f + d) / (1 + f * d)) + 1) / 2, y = 1 - m, x = i * m + s * y, b = n * m + l * y, C = a * m + c * y, k = o * u + h * (1 - u);
|
|
799
|
-
return
|
|
799
|
+
return ci(x, b, C, k);
|
|
800
800
|
}, z = (e, t = 100) => {
|
|
801
801
|
const r = ye.parse(e);
|
|
802
802
|
return r.r = 255 - r.r, r.g = 255 - r.g, r.b = 255 - r.b, Vg(r, e, t);
|
|
@@ -832,7 +832,7 @@ Wa || (Wa = function(t) {
|
|
|
832
832
|
i[n - 1] = arguments[n];
|
|
833
833
|
return new t(...i);
|
|
834
834
|
});
|
|
835
|
-
const
|
|
835
|
+
const Pi = jt(Array.prototype.forEach), Jg = jt(Array.prototype.lastIndexOf), Vo = jt(Array.prototype.pop), Yr = jt(Array.prototype.push), tm = jt(Array.prototype.splice), Zi = jt(String.prototype.toLowerCase), xa = jt(String.prototype.toString), ba = jt(String.prototype.match), Gr = jt(String.prototype.replace), em = jt(String.prototype.indexOf), rm = jt(String.prototype.trim), ne = jt(Object.prototype.hasOwnProperty), Nt = jt(RegExp.prototype.test), Xr = im(TypeError);
|
|
836
836
|
function jt(e) {
|
|
837
837
|
return function(t) {
|
|
838
838
|
t instanceof RegExp && (t.lastIndex = 0);
|
|
@@ -889,7 +889,7 @@ function Vr(e, t) {
|
|
|
889
889
|
}
|
|
890
890
|
return r;
|
|
891
891
|
}
|
|
892
|
-
const Zo = Ht(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Ca = Ht(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), _a = Ht(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), am = Ht(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), wa = Ht(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), sm = Ht(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Ko = Ht(["#text"]), Qo = Ht(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), ka = Ht(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Jo = Ht(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]),
|
|
892
|
+
const Zo = Ht(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Ca = Ht(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), _a = Ht(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), am = Ht(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), wa = Ht(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), sm = Ht(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Ko = Ht(["#text"]), Qo = Ht(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), ka = Ht(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Jo = Ht(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Ni = Ht(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), om = Kt(/\{\{[\w\W]*|[\w\W]*\}\}/gm), lm = Kt(/<%[\w\W]*|[\w\W]*%>/gm), cm = Kt(/\$\{[\w\W]*/gm), hm = Kt(/^data-[\-\w.\u00B7-\uFFFF]+$/), um = Kt(/^aria-[\-\w]+$/), Bc = Kt(
|
|
893
893
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
894
894
|
// eslint-disable-line no-useless-escape
|
|
895
895
|
), fm = Kt(/^(?:\w+script|data):/i), dm = Kt(
|
|
@@ -999,7 +999,7 @@ function Ac() {
|
|
|
999
999
|
} = tl, K = null;
|
|
1000
1000
|
const J = ot({}, [...Zo, ...Ca, ..._a, ...wa, ...Ko]);
|
|
1001
1001
|
let Z = null;
|
|
1002
|
-
const ct = ot({}, [...Qo, ...ka, ...Jo, ...
|
|
1002
|
+
const ct = ot({}, [...Qo, ...ka, ...Jo, ...Ni]);
|
|
1003
1003
|
let at = Object.seal(Na(null, {
|
|
1004
1004
|
tagNameCheck: {
|
|
1005
1005
|
writable: !0,
|
|
@@ -1034,17 +1034,17 @@ function Ac() {
|
|
|
1034
1034
|
value: null
|
|
1035
1035
|
}
|
|
1036
1036
|
}));
|
|
1037
|
-
let ee = !0, yt = !0, re = !1, Ee = !0, ie = !1,
|
|
1037
|
+
let ee = !0, yt = !0, re = !1, Ee = !0, ie = !1, Ei = !0, He = !1, la = !1, ca = !1, ur = !1, $i = !1, Fi = !1, Ao = !0, Mo = !1;
|
|
1038
1038
|
const Bg = "user-content-";
|
|
1039
1039
|
let ha = !0, jr = !1, fr = {}, le = null;
|
|
1040
1040
|
const ua = ot({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
1041
1041
|
let Eo = null;
|
|
1042
1042
|
const $o = ot({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
1043
1043
|
let fa = null;
|
|
1044
|
-
const Fo = ot({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]),
|
|
1044
|
+
const Fo = ot({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Di = "http://www.w3.org/1998/Math/MathML", Oi = "http://www.w3.org/2000/svg", Ce = "http://www.w3.org/1999/xhtml";
|
|
1045
1045
|
let dr = Ce, da = !1, pa = null;
|
|
1046
|
-
const Lg = ot({}, [
|
|
1047
|
-
let
|
|
1046
|
+
const Lg = ot({}, [Di, Oi, Ce], xa);
|
|
1047
|
+
let Ri = ot({}, ["mi", "mo", "mn", "ms", "mtext"]), Ii = ot({}, ["annotation-xml"]);
|
|
1048
1048
|
const Ag = ot({}, ["title", "style", "font", "a", "script"]);
|
|
1049
1049
|
let Ur = null;
|
|
1050
1050
|
const Mg = ["application/xhtml+xml", "text/html"], Eg = "text/html";
|
|
@@ -1055,7 +1055,7 @@ function Ac() {
|
|
|
1055
1055
|
let _ = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1056
1056
|
if (!(pr && pr === _)) {
|
|
1057
1057
|
if ((!_ || typeof _ != "object") && (_ = {}), _ = ue(_), Ur = // eslint-disable-next-line unicorn/prefer-includes
|
|
1058
|
-
Mg.indexOf(_.PARSER_MEDIA_TYPE) === -1 ? Eg : _.PARSER_MEDIA_TYPE, kt = Ur === "application/xhtml+xml" ? xa : Zi, K = ne(_, "ALLOWED_TAGS") ? ot({}, _.ALLOWED_TAGS, kt) : J, Z = ne(_, "ALLOWED_ATTR") ? ot({}, _.ALLOWED_ATTR, kt) : ct, pa = ne(_, "ALLOWED_NAMESPACES") ? ot({}, _.ALLOWED_NAMESPACES, xa) : Lg, fa = ne(_, "ADD_URI_SAFE_ATTR") ? ot(ue(Fo), _.ADD_URI_SAFE_ATTR, kt) : Fo, Eo = ne(_, "ADD_DATA_URI_TAGS") ? ot(ue($o), _.ADD_DATA_URI_TAGS, kt) : $o, le = ne(_, "FORBID_CONTENTS") ? ot({}, _.FORBID_CONTENTS, kt) : ua, bt = ne(_, "FORBID_TAGS") ? ot({}, _.FORBID_TAGS, kt) : ue({}), Ct = ne(_, "FORBID_ATTR") ? ot({}, _.FORBID_ATTR, kt) : ue({}), fr = ne(_, "USE_PROFILES") ? _.USE_PROFILES : !1, ee = _.ALLOW_ARIA_ATTR !== !1, yt = _.ALLOW_DATA_ATTR !== !1, re = _.ALLOW_UNKNOWN_PROTOCOLS || !1, Ee = _.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ie = _.SAFE_FOR_TEMPLATES || !1,
|
|
1058
|
+
Mg.indexOf(_.PARSER_MEDIA_TYPE) === -1 ? Eg : _.PARSER_MEDIA_TYPE, kt = Ur === "application/xhtml+xml" ? xa : Zi, K = ne(_, "ALLOWED_TAGS") ? ot({}, _.ALLOWED_TAGS, kt) : J, Z = ne(_, "ALLOWED_ATTR") ? ot({}, _.ALLOWED_ATTR, kt) : ct, pa = ne(_, "ALLOWED_NAMESPACES") ? ot({}, _.ALLOWED_NAMESPACES, xa) : Lg, fa = ne(_, "ADD_URI_SAFE_ATTR") ? ot(ue(Fo), _.ADD_URI_SAFE_ATTR, kt) : Fo, Eo = ne(_, "ADD_DATA_URI_TAGS") ? ot(ue($o), _.ADD_DATA_URI_TAGS, kt) : $o, le = ne(_, "FORBID_CONTENTS") ? ot({}, _.FORBID_CONTENTS, kt) : ua, bt = ne(_, "FORBID_TAGS") ? ot({}, _.FORBID_TAGS, kt) : ue({}), Ct = ne(_, "FORBID_ATTR") ? ot({}, _.FORBID_ATTR, kt) : ue({}), fr = ne(_, "USE_PROFILES") ? _.USE_PROFILES : !1, ee = _.ALLOW_ARIA_ATTR !== !1, yt = _.ALLOW_DATA_ATTR !== !1, re = _.ALLOW_UNKNOWN_PROTOCOLS || !1, Ee = _.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ie = _.SAFE_FOR_TEMPLATES || !1, Ei = _.SAFE_FOR_XML !== !1, He = _.WHOLE_DOCUMENT || !1, ur = _.RETURN_DOM || !1, $i = _.RETURN_DOM_FRAGMENT || !1, Fi = _.RETURN_TRUSTED_TYPE || !1, ca = _.FORCE_BODY || !1, Ao = _.SANITIZE_DOM !== !1, Mo = _.SANITIZE_NAMED_PROPS || !1, ha = _.KEEP_CONTENT !== !1, jr = _.IN_PLACE || !1, X = _.ALLOWED_URI_REGEXP || Bc, dr = _.NAMESPACE || Ce, Ri = _.MATHML_TEXT_INTEGRATION_POINTS || Ri, Ii = _.HTML_INTEGRATION_POINTS || Ii, at = _.CUSTOM_ELEMENT_HANDLING || {}, _.CUSTOM_ELEMENT_HANDLING && Do(_.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (at.tagNameCheck = _.CUSTOM_ELEMENT_HANDLING.tagNameCheck), _.CUSTOM_ELEMENT_HANDLING && Do(_.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (at.attributeNameCheck = _.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), _.CUSTOM_ELEMENT_HANDLING && typeof _.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (at.allowCustomizedBuiltInElements = _.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ie && (yt = !1), $i && (ur = !0), fr && (K = ot({}, Ko), Z = [], fr.html === !0 && (ot(K, Zo), ot(Z, Qo)), fr.svg === !0 && (ot(K, Ca), ot(Z, ka), ot(Z, Ni)), fr.svgFilters === !0 && (ot(K, _a), ot(Z, ka), ot(Z, Ni)), fr.mathMl === !0 && (ot(K, wa), ot(Z, Jo), ot(Z, Ni))), _.ADD_TAGS && (typeof _.ADD_TAGS == "function" ? Pt.tagCheck = _.ADD_TAGS : (K === J && (K = ue(K)), ot(K, _.ADD_TAGS, kt))), _.ADD_ATTR && (typeof _.ADD_ATTR == "function" ? Pt.attributeCheck = _.ADD_ATTR : (Z === ct && (Z = ue(Z)), ot(Z, _.ADD_ATTR, kt))), _.ADD_URI_SAFE_ATTR && ot(fa, _.ADD_URI_SAFE_ATTR, kt), _.FORBID_CONTENTS && (le === ua && (le = ue(le)), ot(le, _.FORBID_CONTENTS, kt)), _.ADD_FORBID_CONTENTS && (le === ua && (le = ue(le)), ot(le, _.ADD_FORBID_CONTENTS, kt)), ha && (K["#text"] = !0), He && ot(K, ["html", "head", "body"]), K.table && (ot(K, ["tbody"]), delete bt.tbody), _.TRUSTED_TYPES_POLICY) {
|
|
1059
1059
|
if (typeof _.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
1060
1060
|
throw Xr('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
1061
1061
|
if (typeof _.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -1072,7 +1072,7 @@ function Ac() {
|
|
|
1072
1072
|
tagName: "template"
|
|
1073
1073
|
});
|
|
1074
1074
|
const V = Zi(_.tagName), gt = Zi(P.tagName);
|
|
1075
|
-
return pa[_.namespaceURI] ? _.namespaceURI ===
|
|
1075
|
+
return pa[_.namespaceURI] ? _.namespaceURI === Oi ? P.namespaceURI === Ce ? V === "svg" : P.namespaceURI === Di ? V === "svg" && (gt === "annotation-xml" || Ri[gt]) : !!Oo[V] : _.namespaceURI === Di ? P.namespaceURI === Ce ? V === "math" : P.namespaceURI === Oi ? V === "math" && Ii[gt] : !!Ro[V] : _.namespaceURI === Ce ? P.namespaceURI === Oi && !Ii[gt] || P.namespaceURI === Di && !Ri[gt] ? !1 : !Ro[V] && (Ag[V] || !Oo[V]) : !!(Ur === "application/xhtml+xml" && pa[_.namespaceURI]) : !1;
|
|
1076
1076
|
}, ce = function(_) {
|
|
1077
1077
|
Yr(t.removed, {
|
|
1078
1078
|
element: _
|
|
@@ -1095,7 +1095,7 @@ function Ac() {
|
|
|
1095
1095
|
});
|
|
1096
1096
|
}
|
|
1097
1097
|
if (P.removeAttribute(_), _ === "is")
|
|
1098
|
-
if (ur ||
|
|
1098
|
+
if (ur || $i)
|
|
1099
1099
|
try {
|
|
1100
1100
|
ce(P);
|
|
1101
1101
|
} catch {
|
|
@@ -1143,7 +1143,7 @@ function Ac() {
|
|
|
1143
1143
|
return typeof s == "function" && _ instanceof s;
|
|
1144
1144
|
};
|
|
1145
1145
|
function _e(tt, _, P) {
|
|
1146
|
-
|
|
1146
|
+
Pi(tt, (V) => {
|
|
1147
1147
|
V.call(t, _, P, pr);
|
|
1148
1148
|
});
|
|
1149
1149
|
}
|
|
@@ -1155,7 +1155,7 @@ function Ac() {
|
|
|
1155
1155
|
if (_e(E.uponSanitizeElement, _, {
|
|
1156
1156
|
tagName: V,
|
|
1157
1157
|
allowedTags: K
|
|
1158
|
-
}),
|
|
1158
|
+
}), Ei && _.hasChildNodes() && !No(_.firstElementChild) && Nt(/<[/\w!]/g, _.innerHTML) && Nt(/<[/\w!]/g, _.textContent) || _.nodeType === Zr.progressingInstruction || Ei && _.nodeType === Zr.comment && Nt(/<[/\w]/g, _.data))
|
|
1159
1159
|
return ce(_), !0;
|
|
1160
1160
|
if (!(Pt.tagCheck instanceof Function && Pt.tagCheck(V)) && (!K[V] || bt[V])) {
|
|
1161
1161
|
if (!bt[V] && qo(V) && (at.tagNameCheck instanceof RegExp && Nt(at.tagNameCheck, V) || at.tagNameCheck instanceof Function && at.tagNameCheck(V)))
|
|
@@ -1172,7 +1172,7 @@ function Ac() {
|
|
|
1172
1172
|
}
|
|
1173
1173
|
return ce(_), !0;
|
|
1174
1174
|
}
|
|
1175
|
-
return _ instanceof l && !Fg(_) || (V === "noscript" || V === "noembed" || V === "noframes") && Nt(/<\/no(script|embed|frames)/i, _.innerHTML) ? (ce(_), !0) : (ie && _.nodeType === Zr.text && (P = _.textContent,
|
|
1175
|
+
return _ instanceof l && !Fg(_) || (V === "noscript" || V === "noembed" || V === "noframes") && Nt(/<\/no(script|embed|frames)/i, _.innerHTML) ? (ce(_), !0) : (ie && _.nodeType === Zr.text && (P = _.textContent, Pi([N, R, B], (gt) => {
|
|
1176
1176
|
P = Gr(P, gt, " ");
|
|
1177
1177
|
}), _.textContent !== P && (Yr(t.removed, {
|
|
1178
1178
|
element: _.cloneNode()
|
|
@@ -1230,7 +1230,7 @@ function Ac() {
|
|
|
1230
1230
|
value: we
|
|
1231
1231
|
} = Et, gr = kt(_t), ya = we;
|
|
1232
1232
|
let Lt = _t === "value" ? ya : rm(ya);
|
|
1233
|
-
if (V.attrName = gr, V.attrValue = Lt, V.keepAttr = !0, V.forceKeepAttr = void 0, _e(E.uponSanitizeAttribute, _, V), Lt = V.attrValue, Mo && (gr === "id" || gr === "name") && (je(_t, _), Lt = Bg + Lt),
|
|
1233
|
+
if (V.attrName = gr, V.attrValue = Lt, V.keepAttr = !0, V.forceKeepAttr = void 0, _e(E.uponSanitizeAttribute, _, V), Lt = V.attrValue, Mo && (gr === "id" || gr === "name") && (je(_t, _), Lt = Bg + Lt), Ei && Nt(/((--!?|])>)|<\/(style|title|textarea)/i, Lt)) {
|
|
1234
1234
|
je(_t, _);
|
|
1235
1235
|
continue;
|
|
1236
1236
|
}
|
|
@@ -1248,7 +1248,7 @@ function Ac() {
|
|
|
1248
1248
|
je(_t, _);
|
|
1249
1249
|
continue;
|
|
1250
1250
|
}
|
|
1251
|
-
ie &&
|
|
1251
|
+
ie && Pi([N, R, B], (Uo) => {
|
|
1252
1252
|
Lt = Gr(Lt, Uo, " ");
|
|
1253
1253
|
});
|
|
1254
1254
|
const jo = kt(_.nodeName);
|
|
@@ -1303,9 +1303,9 @@ function Ac() {
|
|
|
1303
1303
|
else {
|
|
1304
1304
|
if (!ur && !ie && !He && // eslint-disable-next-line unicorn/prefer-includes
|
|
1305
1305
|
tt.indexOf("<") === -1)
|
|
1306
|
-
return k &&
|
|
1306
|
+
return k && Fi ? k.createHTML(tt) : tt;
|
|
1307
1307
|
if (P = Io(tt), !P)
|
|
1308
|
-
return ur ? null :
|
|
1308
|
+
return ur ? null : Fi ? w : "";
|
|
1309
1309
|
}
|
|
1310
1310
|
P && ca && ce(P.firstChild);
|
|
1311
1311
|
const _t = Po(jr ? tt : P);
|
|
@@ -1314,7 +1314,7 @@ function Ac() {
|
|
|
1314
1314
|
if (jr)
|
|
1315
1315
|
return tt;
|
|
1316
1316
|
if (ur) {
|
|
1317
|
-
if (
|
|
1317
|
+
if ($i)
|
|
1318
1318
|
for (Et = D.call(P.ownerDocument); P.firstChild; )
|
|
1319
1319
|
Et.appendChild(P.firstChild);
|
|
1320
1320
|
else
|
|
@@ -1323,9 +1323,9 @@ function Ac() {
|
|
|
1323
1323
|
}
|
|
1324
1324
|
let Ut = He ? P.outerHTML : P.innerHTML;
|
|
1325
1325
|
return He && K["!doctype"] && P.ownerDocument && P.ownerDocument.doctype && P.ownerDocument.doctype.name && Nt(Lc, P.ownerDocument.doctype.name) && (Ut = "<!DOCTYPE " + P.ownerDocument.doctype.name + `>
|
|
1326
|
-
` + Ut), ie &&
|
|
1326
|
+
` + Ut), ie && Pi([N, R, B], (we) => {
|
|
1327
1327
|
Ut = Gr(Ut, we, " ");
|
|
1328
|
-
}), k &&
|
|
1328
|
+
}), k && Fi ? k.createHTML(Ut) : Ut;
|
|
1329
1329
|
}, t.setConfig = function() {
|
|
1330
1330
|
let tt = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1331
1331
|
ga(tt), la = !0;
|
|
@@ -1349,12 +1349,12 @@ function Ac() {
|
|
|
1349
1349
|
E = el();
|
|
1350
1350
|
}, t;
|
|
1351
1351
|
}
|
|
1352
|
-
var Er = Ac(), Mc = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s,
|
|
1352
|
+
var Er = Ac(), Mc = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, hi = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, ym = /\s*%%.*\n/gm, kr, Ec = (kr = class extends Error {
|
|
1353
1353
|
constructor(t) {
|
|
1354
1354
|
super(t), this.name = "UnknownDiagramError";
|
|
1355
1355
|
}
|
|
1356
1356
|
}, p(kr, "UnknownDiagramError"), kr), tr = {}, Fs = /* @__PURE__ */ p(function(e, t) {
|
|
1357
|
-
e = e.replace(Mc, "").replace(
|
|
1357
|
+
e = e.replace(Mc, "").replace(hi, "").replace(ym, `
|
|
1358
1358
|
`);
|
|
1359
1359
|
for (const [r, { detector: i }] of Object.entries(tr))
|
|
1360
1360
|
if (i(e, t))
|
|
@@ -1406,7 +1406,7 @@ var Er = Ac(), Mc = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, ui = /%{2}{\s*(?
|
|
|
1406
1406
|
graticuleOpacity: this.radar?.graticuleOpacity || 0.3,
|
|
1407
1407
|
legendBoxSize: this.radar?.legendBoxSize || 12,
|
|
1408
1408
|
legendFontSize: this.radar?.legendFontSize || 12
|
|
1409
|
-
}, this.archEdgeColor = this.archEdgeColor || "#777", this.archEdgeArrowColor = this.archEdgeArrowColor || "#777", this.archEdgeWidth = this.archEdgeWidth || "3", this.archGroupBorderColor = this.archGroupBorderColor || "#000", this.archGroupBorderWidth = this.archGroupBorderWidth || "2px", this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || S(this.primaryColor, { r: 5, g: 5, b: 5 }), this.quadrant3Fill = this.quadrant3Fill || S(this.primaryColor, { r: 10, g: 10, b: 10 }), this.quadrant4Fill = this.quadrant4Fill || S(this.primaryColor, { r: 15, g: 15, b: 15 }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || S(this.primaryTextColor, { r: -5, g: -5, b: -5 }), this.quadrant3TextFill = this.quadrant3TextFill || S(this.primaryTextColor, { r: -10, g: -10, b: -10 }), this.quadrant4TextFill = this.quadrant4TextFill || S(this.primaryTextColor, { r: -15, g: -15, b: -15 }), this.quadrantPointFill = this.quadrantPointFill ||
|
|
1409
|
+
}, this.archEdgeColor = this.archEdgeColor || "#777", this.archEdgeArrowColor = this.archEdgeArrowColor || "#777", this.archEdgeWidth = this.archEdgeWidth || "3", this.archGroupBorderColor = this.archGroupBorderColor || "#000", this.archGroupBorderWidth = this.archGroupBorderWidth || "2px", this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || S(this.primaryColor, { r: 5, g: 5, b: 5 }), this.quadrant3Fill = this.quadrant3Fill || S(this.primaryColor, { r: 10, g: 10, b: 10 }), this.quadrant4Fill = this.quadrant4Fill || S(this.primaryColor, { r: 15, g: 15, b: 15 }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || S(this.primaryTextColor, { r: -5, g: -5, b: -5 }), this.quadrant3TextFill = this.quadrant3TextFill || S(this.primaryTextColor, { r: -10, g: -10, b: -10 }), this.quadrant4TextFill = this.quadrant4TextFill || S(this.primaryTextColor, { r: -15, g: -15, b: -15 }), this.quadrantPointFill = this.quadrantPointFill || ki(this.quadrant1Fill) ? H(this.quadrant1Fill) : et(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
1410
1410
|
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
1411
1411
|
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
1412
1412
|
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
@@ -1437,7 +1437,7 @@ var Er = Ac(), Mc = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, ui = /%{2}{\s*(?
|
|
|
1437
1437
|
return t.calculate(e), t;
|
|
1438
1438
|
}, "getThemeVariables"), vr, _m = (vr = class {
|
|
1439
1439
|
constructor() {
|
|
1440
|
-
this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = H(this.primaryColor, 16), this.tertiaryColor = S(this.primaryColor, { h: -160 }), this.primaryBorderColor = z(this.background), this.secondaryBorderColor = zt(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = zt(this.tertiaryColor, this.darkMode), this.primaryTextColor = z(this.primaryColor), this.secondaryTextColor = z(this.secondaryColor), this.tertiaryTextColor = z(this.tertiaryColor), this.lineColor = z(this.background), this.textColor = z(this.background), this.mainBkg = "#1f2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = H(z("#323D47"), 10), this.lineColor = "calculated", this.border1 = "#ccc", this.border2 =
|
|
1440
|
+
this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = H(this.primaryColor, 16), this.tertiaryColor = S(this.primaryColor, { h: -160 }), this.primaryBorderColor = z(this.background), this.secondaryBorderColor = zt(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = zt(this.tertiaryColor, this.darkMode), this.primaryTextColor = z(this.primaryColor), this.secondaryTextColor = z(this.secondaryColor), this.tertiaryTextColor = z(this.tertiaryColor), this.lineColor = z(this.background), this.textColor = z(this.background), this.mainBkg = "#1f2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = H(z("#323D47"), 10), this.lineColor = "calculated", this.border1 = "#ccc", this.border2 = ci(255, 255, 255, 0.25), this.arrowheadColor = "calculated", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.labelBackground = "#181818", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "#F9FFFE", this.edgeLabelBackground = "calculated", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "calculated", this.actorLineColor = "calculated", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "calculated", this.activationBkgColor = "calculated", this.sequenceNumberColor = "black", this.sectionBkgColor = et("#EAE8D9", 30), this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "#EAE8D9", this.excludeBkgColor = et(this.sectionBkgColor, 10), this.taskBorderColor = ci(255, 255, 255, 70), this.taskBkgColor = "calculated", this.taskTextColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = ci(255, 255, 255, 50), this.activeTaskBkgColor = "#81B1DB", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "grey", this.critBorderColor = "#E83737", this.critBkgColor = "#E83737", this.taskTextDarkColor = "calculated", this.todayLineColor = "#DB5757", this.vertLineColor = "#00BFFF", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.rowOdd = this.rowOdd || H(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || et(this.mainBkg, 10), this.labelColor = "calculated", this.errorBkgColor = "#a44141", this.errorTextColor = "#ddd";
|
|
1441
1441
|
}
|
|
1442
1442
|
updateColors() {
|
|
1443
1443
|
this.secondBkg = H(this.mainBkg, 16), this.lineColor = this.mainContrastColor, this.arrowheadColor = this.mainContrastColor, this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.edgeLabelBackground = H(this.labelBackground, 25), this.actorBorder = this.border1, this.actorBkg = this.mainBkg, this.actorTextColor = this.mainContrastColor, this.actorLineColor = this.actorBorder, this.signalColor = this.mainContrastColor, this.signalTextColor = this.mainContrastColor, this.labelBoxBkgColor = this.actorBkg, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.mainContrastColor, this.loopTextColor = this.mainContrastColor, this.noteBorderColor = this.secondaryBorderColor, this.noteBkgColor = this.secondBkg, this.noteTextColor = this.secondaryTextColor, this.activationBorderColor = this.border1, this.activationBkgColor = this.secondBkg, this.altSectionBkgColor = this.background, this.taskBkgColor = H(this.mainBkg, 23), this.taskTextColor = this.darkTextColor, this.taskTextLightColor = this.mainContrastColor, this.taskTextOutsideColor = this.taskTextLightColor, this.gridColor = this.mainContrastColor, this.doneTaskBkgColor = this.mainContrastColor, this.taskTextDarkColor = this.darkTextColor, this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#555", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = "#f4f4f4", this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = S(this.primaryColor, { h: 64 }), this.fillType3 = S(this.secondaryColor, { h: 64 }), this.fillType4 = S(this.primaryColor, { h: -64 }), this.fillType5 = S(this.secondaryColor, { h: -64 }), this.fillType6 = S(this.primaryColor, { h: 128 }), this.fillType7 = S(this.secondaryColor, { h: 128 }), this.cScale1 = this.cScale1 || "#0b0000", this.cScale2 = this.cScale2 || "#4d1037", this.cScale3 = this.cScale3 || "#3f5258", this.cScale4 = this.cScale4 || "#4f2f1b", this.cScale5 = this.cScale5 || "#6e0a0a", this.cScale6 = this.cScale6 || "#3b0048", this.cScale7 = this.cScale7 || "#995a01", this.cScale8 = this.cScale8 || "#154706", this.cScale9 = this.cScale9 || "#161722", this.cScale10 = this.cScale10 || "#00296f", this.cScale11 = this.cScale11 || "#01629c", this.cScale12 = this.cScale12 || "#010029", this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || S(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || S(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || S(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || S(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || S(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || S(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || S(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || S(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || S(this.primaryColor, { h: 330 });
|
|
@@ -1452,7 +1452,7 @@ var Er = Ac(), Mc = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, ui = /%{2}{\s*(?
|
|
|
1452
1452
|
this["cScaleLabel" + t] = this["cScaleLabel" + t] || this.scaleLabelColor;
|
|
1453
1453
|
for (let t = 0; t < this.THEME_COLOR_LIMIT; t++)
|
|
1454
1454
|
this["pie" + t] = this["cScale" + t];
|
|
1455
|
-
this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || S(this.primaryColor, { r: 5, g: 5, b: 5 }), this.quadrant3Fill = this.quadrant3Fill || S(this.primaryColor, { r: 10, g: 10, b: 10 }), this.quadrant4Fill = this.quadrant4Fill || S(this.primaryColor, { r: 15, g: 15, b: 15 }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || S(this.primaryTextColor, { r: -5, g: -5, b: -5 }), this.quadrant3TextFill = this.quadrant3TextFill || S(this.primaryTextColor, { r: -10, g: -10, b: -10 }), this.quadrant4TextFill = this.quadrant4TextFill || S(this.primaryTextColor, { r: -15, g: -15, b: -15 }), this.quadrantPointFill = this.quadrantPointFill ||
|
|
1455
|
+
this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || S(this.primaryColor, { r: 5, g: 5, b: 5 }), this.quadrant3Fill = this.quadrant3Fill || S(this.primaryColor, { r: 10, g: 10, b: 10 }), this.quadrant4Fill = this.quadrant4Fill || S(this.primaryColor, { r: 15, g: 15, b: 15 }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || S(this.primaryTextColor, { r: -5, g: -5, b: -5 }), this.quadrant3TextFill = this.quadrant3TextFill || S(this.primaryTextColor, { r: -10, g: -10, b: -10 }), this.quadrant4TextFill = this.quadrant4TextFill || S(this.primaryTextColor, { r: -15, g: -15, b: -15 }), this.quadrantPointFill = this.quadrantPointFill || ki(this.quadrant1Fill) ? H(this.quadrant1Fill) : et(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
1456
1456
|
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
1457
1457
|
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
1458
1458
|
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
@@ -1501,7 +1501,7 @@ var Er = Ac(), Mc = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, ui = /%{2}{\s*(?
|
|
|
1501
1501
|
return t.calculate(e), t;
|
|
1502
1502
|
}, "getThemeVariables"), Tr, km = (Tr = class {
|
|
1503
1503
|
constructor() {
|
|
1504
|
-
this.background = "#f4f4f4", this.primaryColor = "#ECECFF", this.secondaryColor = S(this.primaryColor, { h: 120 }), this.secondaryColor = "#ffffde", this.tertiaryColor = S(this.primaryColor, { h: -160 }), this.primaryBorderColor = zt(this.primaryColor, this.darkMode), this.secondaryBorderColor = zt(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = zt(this.tertiaryColor, this.darkMode), this.primaryTextColor = z(this.primaryColor), this.secondaryTextColor = z(this.secondaryColor), this.tertiaryTextColor = z(this.tertiaryColor), this.lineColor = z(this.background), this.textColor = z(this.background), this.background = "white", this.mainBkg = "#ECECFF", this.secondBkg = "#ffffde", this.lineColor = "#333333", this.border1 = "#9370DB", this.border2 = "#aaaa33", this.arrowheadColor = "#333333", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.labelBackground = "rgba(232,232,232, 0.8)", this.textColor = "#333", this.THEME_COLOR_LIMIT = 12, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "calculated", this.edgeLabelBackground = "calculated", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "black", this.actorLineColor = "calculated", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "calculated", this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "calculated", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextColor = this.taskTextLightColor, this.taskTextDarkColor = "calculated", this.taskTextOutsideColor = this.taskTextDarkColor, this.taskTextClickableColor = "calculated", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "calculated", this.critBorderColor = "calculated", this.critBkgColor = "calculated", this.todayLineColor = "calculated", this.vertLineColor = "calculated", this.sectionBkgColor =
|
|
1504
|
+
this.background = "#f4f4f4", this.primaryColor = "#ECECFF", this.secondaryColor = S(this.primaryColor, { h: 120 }), this.secondaryColor = "#ffffde", this.tertiaryColor = S(this.primaryColor, { h: -160 }), this.primaryBorderColor = zt(this.primaryColor, this.darkMode), this.secondaryBorderColor = zt(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = zt(this.tertiaryColor, this.darkMode), this.primaryTextColor = z(this.primaryColor), this.secondaryTextColor = z(this.secondaryColor), this.tertiaryTextColor = z(this.tertiaryColor), this.lineColor = z(this.background), this.textColor = z(this.background), this.background = "white", this.mainBkg = "#ECECFF", this.secondBkg = "#ffffde", this.lineColor = "#333333", this.border1 = "#9370DB", this.border2 = "#aaaa33", this.arrowheadColor = "#333333", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.labelBackground = "rgba(232,232,232, 0.8)", this.textColor = "#333", this.THEME_COLOR_LIMIT = 12, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "calculated", this.edgeLabelBackground = "calculated", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "black", this.actorLineColor = "calculated", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "calculated", this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "calculated", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextColor = this.taskTextLightColor, this.taskTextDarkColor = "calculated", this.taskTextOutsideColor = this.taskTextDarkColor, this.taskTextClickableColor = "calculated", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "calculated", this.critBorderColor = "calculated", this.critBkgColor = "calculated", this.todayLineColor = "calculated", this.vertLineColor = "calculated", this.sectionBkgColor = ci(102, 102, 255, 0.49), this.altSectionBkgColor = "white", this.sectionBkgColor2 = "#fff400", this.taskBorderColor = "#534fbc", this.taskBkgColor = "#8a90dd", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "black", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "#534fbc", this.activeTaskBkgColor = "#bfc7ff", this.gridColor = "lightgrey", this.doneTaskBkgColor = "lightgrey", this.doneTaskBorderColor = "grey", this.critBorderColor = "#ff8888", this.critBkgColor = "red", this.todayLineColor = "red", this.vertLineColor = "navy", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.rowOdd = "calculated", this.rowEven = "calculated", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222", this.updateColors();
|
|
1505
1505
|
}
|
|
1506
1506
|
updateColors() {
|
|
1507
1507
|
this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || S(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || S(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || S(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || S(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || S(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || S(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || S(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || S(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || S(this.primaryColor, { h: 330 }), this.cScalePeer1 = this.cScalePeer1 || et(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || et(this.tertiaryColor, 40);
|
|
@@ -1516,7 +1516,7 @@ var Er = Ac(), Mc = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, ui = /%{2}{\s*(?
|
|
|
1516
1516
|
for (let t = 0; t < this.THEME_COLOR_LIMIT; t++)
|
|
1517
1517
|
this["cScaleLabel" + t] = this["cScaleLabel" + t] || this.labelTextColor;
|
|
1518
1518
|
}
|
|
1519
|
-
this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.titleColor = this.textColor, this.edgeLabelBackground = this.labelBackground, this.actorBorder = H(this.border1, 23), this.actorBkg = this.mainBkg, this.labelBoxBkgColor = this.actorBkg, this.signalColor = this.textColor, this.signalTextColor = this.textColor, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.actorTextColor, this.loopTextColor = this.actorTextColor, this.noteBorderColor = this.border2, this.noteTextColor = this.actorTextColor, this.actorLineColor = this.actorBorder, this.taskTextColor = this.taskTextLightColor, this.taskTextOutsideColor = this.taskTextDarkColor, this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.rowOdd = this.rowOdd || H(this.primaryColor, 75) || "#ffffff", this.rowEven = this.rowEven || H(this.primaryColor, 1), this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.specialStateColor = this.lineColor, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = S(this.primaryColor, { h: 64 }), this.fillType3 = S(this.secondaryColor, { h: 64 }), this.fillType4 = S(this.primaryColor, { h: -64 }), this.fillType5 = S(this.secondaryColor, { h: -64 }), this.fillType6 = S(this.primaryColor, { h: 128 }), this.fillType7 = S(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || S(this.tertiaryColor, { l: -40 }), this.pie4 = this.pie4 || S(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || S(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || S(this.tertiaryColor, { l: -20 }), this.pie7 = this.pie7 || S(this.primaryColor, { h: 60, l: -20 }), this.pie8 = this.pie8 || S(this.primaryColor, { h: -60, l: -40 }), this.pie9 = this.pie9 || S(this.primaryColor, { h: 120, l: -40 }), this.pie10 = this.pie10 || S(this.primaryColor, { h: 60, l: -40 }), this.pie11 = this.pie11 || S(this.primaryColor, { h: -90, l: -40 }), this.pie12 = this.pie12 || S(this.primaryColor, { h: 120, l: -30 }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || S(this.primaryColor, { r: 5, g: 5, b: 5 }), this.quadrant3Fill = this.quadrant3Fill || S(this.primaryColor, { r: 10, g: 10, b: 10 }), this.quadrant4Fill = this.quadrant4Fill || S(this.primaryColor, { r: 15, g: 15, b: 15 }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || S(this.primaryTextColor, { r: -5, g: -5, b: -5 }), this.quadrant3TextFill = this.quadrant3TextFill || S(this.primaryTextColor, { r: -10, g: -10, b: -10 }), this.quadrant4TextFill = this.quadrant4TextFill || S(this.primaryTextColor, { r: -15, g: -15, b: -15 }), this.quadrantPointFill = this.quadrantPointFill ||
|
|
1519
|
+
this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.titleColor = this.textColor, this.edgeLabelBackground = this.labelBackground, this.actorBorder = H(this.border1, 23), this.actorBkg = this.mainBkg, this.labelBoxBkgColor = this.actorBkg, this.signalColor = this.textColor, this.signalTextColor = this.textColor, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.actorTextColor, this.loopTextColor = this.actorTextColor, this.noteBorderColor = this.border2, this.noteTextColor = this.actorTextColor, this.actorLineColor = this.actorBorder, this.taskTextColor = this.taskTextLightColor, this.taskTextOutsideColor = this.taskTextDarkColor, this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.rowOdd = this.rowOdd || H(this.primaryColor, 75) || "#ffffff", this.rowEven = this.rowEven || H(this.primaryColor, 1), this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.specialStateColor = this.lineColor, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = S(this.primaryColor, { h: 64 }), this.fillType3 = S(this.secondaryColor, { h: 64 }), this.fillType4 = S(this.primaryColor, { h: -64 }), this.fillType5 = S(this.secondaryColor, { h: -64 }), this.fillType6 = S(this.primaryColor, { h: 128 }), this.fillType7 = S(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || S(this.tertiaryColor, { l: -40 }), this.pie4 = this.pie4 || S(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || S(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || S(this.tertiaryColor, { l: -20 }), this.pie7 = this.pie7 || S(this.primaryColor, { h: 60, l: -20 }), this.pie8 = this.pie8 || S(this.primaryColor, { h: -60, l: -40 }), this.pie9 = this.pie9 || S(this.primaryColor, { h: 120, l: -40 }), this.pie10 = this.pie10 || S(this.primaryColor, { h: 60, l: -40 }), this.pie11 = this.pie11 || S(this.primaryColor, { h: -90, l: -40 }), this.pie12 = this.pie12 || S(this.primaryColor, { h: 120, l: -30 }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || S(this.primaryColor, { r: 5, g: 5, b: 5 }), this.quadrant3Fill = this.quadrant3Fill || S(this.primaryColor, { r: 10, g: 10, b: 10 }), this.quadrant4Fill = this.quadrant4Fill || S(this.primaryColor, { r: 15, g: 15, b: 15 }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || S(this.primaryTextColor, { r: -5, g: -5, b: -5 }), this.quadrant3TextFill = this.quadrant3TextFill || S(this.primaryTextColor, { r: -10, g: -10, b: -10 }), this.quadrant4TextFill = this.quadrant4TextFill || S(this.primaryTextColor, { r: -15, g: -15, b: -15 }), this.quadrantPointFill = this.quadrantPointFill || ki(this.quadrant1Fill) ? H(this.quadrant1Fill) : et(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.radar = {
|
|
1520
1520
|
axisColor: this.radar?.axisColor || this.lineColor,
|
|
1521
1521
|
axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
|
|
1522
1522
|
axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
|
|
@@ -1573,7 +1573,7 @@ var Er = Ac(), Mc = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, ui = /%{2}{\s*(?
|
|
|
1573
1573
|
this["cScaleLabel" + t] = this["cScaleLabel" + t] || this.scaleLabelColor;
|
|
1574
1574
|
for (let t = 0; t < 5; t++)
|
|
1575
1575
|
this["surface" + t] = this["surface" + t] || S(this.mainBkg, { h: 30, s: -30, l: -(5 + t * 5) }), this["surfacePeer" + t] = this["surfacePeer" + t] || S(this.mainBkg, { h: 30, s: -30, l: -(8 + t * 5) });
|
|
1576
|
-
this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.taskBorderColor = this.border1, this.taskTextColor = this.taskTextLightColor, this.taskTextOutsideColor = this.taskTextDarkColor, this.activeTaskBorderColor = this.taskBorderColor, this.activeTaskBkgColor = this.mainBkg, this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.rowOdd = this.rowOdd || H(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || H(this.mainBkg, 20), this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = this.lineColor, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = S(this.primaryColor, { h: 64 }), this.fillType3 = S(this.secondaryColor, { h: 64 }), this.fillType4 = S(this.primaryColor, { h: -64 }), this.fillType5 = S(this.secondaryColor, { h: -64 }), this.fillType6 = S(this.primaryColor, { h: 128 }), this.fillType7 = S(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || S(this.primaryColor, { l: -30 }), this.pie5 = this.pie5 || S(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || S(this.tertiaryColor, { h: 40, l: -40 }), this.pie7 = this.pie7 || S(this.primaryColor, { h: 60, l: -10 }), this.pie8 = this.pie8 || S(this.primaryColor, { h: -60, l: -10 }), this.pie9 = this.pie9 || S(this.primaryColor, { h: 120, l: 0 }), this.pie10 = this.pie10 || S(this.primaryColor, { h: 60, l: -50 }), this.pie11 = this.pie11 || S(this.primaryColor, { h: -60, l: -50 }), this.pie12 = this.pie12 || S(this.primaryColor, { h: 120, l: -50 }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || S(this.primaryColor, { r: 5, g: 5, b: 5 }), this.quadrant3Fill = this.quadrant3Fill || S(this.primaryColor, { r: 10, g: 10, b: 10 }), this.quadrant4Fill = this.quadrant4Fill || S(this.primaryColor, { r: 15, g: 15, b: 15 }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || S(this.primaryTextColor, { r: -5, g: -5, b: -5 }), this.quadrant3TextFill = this.quadrant3TextFill || S(this.primaryTextColor, { r: -10, g: -10, b: -10 }), this.quadrant4TextFill = this.quadrant4TextFill || S(this.primaryTextColor, { r: -15, g: -15, b: -15 }), this.quadrantPointFill = this.quadrantPointFill ||
|
|
1576
|
+
this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.taskBorderColor = this.border1, this.taskTextColor = this.taskTextLightColor, this.taskTextOutsideColor = this.taskTextDarkColor, this.activeTaskBorderColor = this.taskBorderColor, this.activeTaskBkgColor = this.mainBkg, this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.rowOdd = this.rowOdd || H(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || H(this.mainBkg, 20), this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = this.lineColor, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = S(this.primaryColor, { h: 64 }), this.fillType3 = S(this.secondaryColor, { h: 64 }), this.fillType4 = S(this.primaryColor, { h: -64 }), this.fillType5 = S(this.secondaryColor, { h: -64 }), this.fillType6 = S(this.primaryColor, { h: 128 }), this.fillType7 = S(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || S(this.primaryColor, { l: -30 }), this.pie5 = this.pie5 || S(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || S(this.tertiaryColor, { h: 40, l: -40 }), this.pie7 = this.pie7 || S(this.primaryColor, { h: 60, l: -10 }), this.pie8 = this.pie8 || S(this.primaryColor, { h: -60, l: -10 }), this.pie9 = this.pie9 || S(this.primaryColor, { h: 120, l: 0 }), this.pie10 = this.pie10 || S(this.primaryColor, { h: 60, l: -50 }), this.pie11 = this.pie11 || S(this.primaryColor, { h: -60, l: -50 }), this.pie12 = this.pie12 || S(this.primaryColor, { h: 120, l: -50 }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || S(this.primaryColor, { r: 5, g: 5, b: 5 }), this.quadrant3Fill = this.quadrant3Fill || S(this.primaryColor, { r: 10, g: 10, b: 10 }), this.quadrant4Fill = this.quadrant4Fill || S(this.primaryColor, { r: 15, g: 15, b: 15 }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || S(this.primaryTextColor, { r: -5, g: -5, b: -5 }), this.quadrant3TextFill = this.quadrant3TextFill || S(this.primaryTextColor, { r: -10, g: -10, b: -10 }), this.quadrant4TextFill = this.quadrant4TextFill || S(this.primaryTextColor, { r: -15, g: -15, b: -15 }), this.quadrantPointFill = this.quadrantPointFill || ki(this.quadrant1Fill) ? H(this.quadrant1Fill) : et(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.packet = {
|
|
1577
1577
|
startByteColor: this.primaryTextColor,
|
|
1578
1578
|
endByteColor: this.primaryTextColor,
|
|
1579
1579
|
labelColor: this.primaryTextColor,
|
|
@@ -1638,7 +1638,7 @@ var Er = Ac(), Mc = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, ui = /%{2}{\s*(?
|
|
|
1638
1638
|
this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.titleColor = this.text, this.sectionBkgColor = H(this.contrast, 30), this.sectionBkgColor2 = H(this.contrast, 30), this.taskBorderColor = et(this.contrast, 10), this.taskBkgColor = this.contrast, this.taskTextColor = this.taskTextLightColor, this.taskTextDarkColor = this.text, this.taskTextOutsideColor = this.taskTextDarkColor, this.activeTaskBorderColor = this.taskBorderColor, this.activeTaskBkgColor = this.mainBkg, this.gridColor = H(this.border1, 30), this.doneTaskBkgColor = this.done, this.doneTaskBorderColor = this.lineColor, this.critBkgColor = this.critical, this.critBorderColor = et(this.critBkgColor, 10), this.todayLineColor = this.critBkgColor, this.vertLineColor = this.critBkgColor, this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.transitionColor = this.transitionColor || "#000", this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f4f4f4", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.stateBorder = this.stateBorder || "#000", this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = "#222", this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = S(this.primaryColor, { h: 64 }), this.fillType3 = S(this.secondaryColor, { h: 64 }), this.fillType4 = S(this.primaryColor, { h: -64 }), this.fillType5 = S(this.secondaryColor, { h: -64 }), this.fillType6 = S(this.primaryColor, { h: 128 }), this.fillType7 = S(this.secondaryColor, { h: 128 });
|
|
1639
1639
|
for (let t = 0; t < this.THEME_COLOR_LIMIT; t++)
|
|
1640
1640
|
this["pie" + t] = this["cScale" + t];
|
|
1641
|
-
this.pie12 = this.pie0, this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || S(this.primaryColor, { r: 5, g: 5, b: 5 }), this.quadrant3Fill = this.quadrant3Fill || S(this.primaryColor, { r: 10, g: 10, b: 10 }), this.quadrant4Fill = this.quadrant4Fill || S(this.primaryColor, { r: 15, g: 15, b: 15 }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || S(this.primaryTextColor, { r: -5, g: -5, b: -5 }), this.quadrant3TextFill = this.quadrant3TextFill || S(this.primaryTextColor, { r: -10, g: -10, b: -10 }), this.quadrant4TextFill = this.quadrant4TextFill || S(this.primaryTextColor, { r: -15, g: -15, b: -15 }), this.quadrantPointFill = this.quadrantPointFill ||
|
|
1641
|
+
this.pie12 = this.pie0, this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || S(this.primaryColor, { r: 5, g: 5, b: 5 }), this.quadrant3Fill = this.quadrant3Fill || S(this.primaryColor, { r: 10, g: 10, b: 10 }), this.quadrant4Fill = this.quadrant4Fill || S(this.primaryColor, { r: 15, g: 15, b: 15 }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || S(this.primaryTextColor, { r: -5, g: -5, b: -5 }), this.quadrant3TextFill = this.quadrant3TextFill || S(this.primaryTextColor, { r: -10, g: -10, b: -10 }), this.quadrant4TextFill = this.quadrant4TextFill || S(this.primaryTextColor, { r: -15, g: -15, b: -15 }), this.quadrantPointFill = this.quadrantPointFill || ki(this.quadrant1Fill) ? H(this.quadrant1Fill) : et(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
1642
1642
|
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
1643
1643
|
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
1644
1644
|
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
@@ -2462,7 +2462,7 @@ var Er = Ac(), Mc = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, ui = /%{2}{\s*(?
|
|
|
2462
2462
|
i === "{" ? t++ : i === "}" && r++;
|
|
2463
2463
|
}
|
|
2464
2464
|
return t !== r ? "{ /* ERROR: Unbalanced CSS */ }" : e;
|
|
2465
|
-
}, "sanitizeCss"), $r = Object.freeze(Oc), Gt = vt({}, $r), ln, er = [],
|
|
2465
|
+
}, "sanitizeCss"), $r = Object.freeze(Oc), Gt = vt({}, $r), ln, er = [], ui = vt({}, $r), Wn = /* @__PURE__ */ p((e, t) => {
|
|
2466
2466
|
let r = vt({}, e), i = {};
|
|
2467
2467
|
for (const n of t)
|
|
2468
2468
|
Pc(n), i = vt(i, n);
|
|
@@ -2473,10 +2473,10 @@ var Er = Ac(), Mc = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, ui = /%{2}{\s*(?
|
|
|
2473
2473
|
);
|
|
2474
2474
|
r.theme && r.theme in Te && (r.themeVariables = Te[r.theme].getThemeVariables(a));
|
|
2475
2475
|
}
|
|
2476
|
-
return
|
|
2476
|
+
return ui = r, Nc(ui), ui;
|
|
2477
2477
|
}, "updateCurrentConfig"), Em = /* @__PURE__ */ p((e) => (Gt = vt({}, $r), Gt = vt(Gt, e), e.theme && Te[e.theme] && (Gt.themeVariables = Te[e.theme].getThemeVariables(e.themeVariables)), Wn(Gt, er), Gt), "setSiteConfig"), $m = /* @__PURE__ */ p((e) => {
|
|
2478
2478
|
ln = vt({}, e);
|
|
2479
|
-
}, "saveConfigFromInitialize"), Fm = /* @__PURE__ */ p((e) => (Gt = vt(Gt, e), Wn(Gt, er), Gt), "updateSiteConfig"), Rc = /* @__PURE__ */ p(() => vt({}, Gt), "getSiteConfig"), Ic = /* @__PURE__ */ p((e) => (Nc(e), vt(
|
|
2479
|
+
}, "saveConfigFromInitialize"), Fm = /* @__PURE__ */ p((e) => (Gt = vt(Gt, e), Wn(Gt, er), Gt), "updateSiteConfig"), Rc = /* @__PURE__ */ p(() => vt({}, Gt), "getSiteConfig"), Ic = /* @__PURE__ */ p((e) => (Nc(e), vt(ui, e), Dt()), "setConfig"), Dt = /* @__PURE__ */ p(() => vt({}, ui), "getConfig"), Pc = /* @__PURE__ */ p((e) => {
|
|
2480
2480
|
e && (["secure", ...Gt.secure ?? []].forEach((t) => {
|
|
2481
2481
|
Object.hasOwn(e, t) && (F.debug(`Denied attempt to modify a secure key ${t}`, e[t]), delete e[t]);
|
|
2482
2482
|
}), Object.keys(e).forEach((t) => {
|
|
@@ -2503,7 +2503,7 @@ var Er = Ac(), Mc = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, ui = /%{2}{\s*(?
|
|
|
2503
2503
|
for (const t of er)
|
|
2504
2504
|
e = vt(e, t);
|
|
2505
2505
|
return e;
|
|
2506
|
-
}, "getUserDefinedConfig"),
|
|
2506
|
+
}, "getUserDefinedConfig"), Si = /<br\s*\/?>/gi, Im = /* @__PURE__ */ p((e) => e ? qc(e).replace(/\\n/g, "#br#").split("#br#") : [""], "getRows"), Pm = /* @__PURE__ */ (() => {
|
|
2507
2507
|
let e = !1;
|
|
2508
2508
|
return () => {
|
|
2509
2509
|
e || (zc(), e = !0);
|
|
@@ -2526,7 +2526,7 @@ var Wc = /* @__PURE__ */ p((e) => (Pm(), Er.sanitize(e)), "removeScript"), il =
|
|
|
2526
2526
|
return e;
|
|
2527
2527
|
}, "sanitizeMore"), Qt = /* @__PURE__ */ p((e, t) => e && (t.dompurifyConfig ? e = Er.sanitize(il(e, t), t.dompurifyConfig).toString() : e = Er.sanitize(il(e, t), {
|
|
2528
2528
|
FORBID_TAGS: ["style"]
|
|
2529
|
-
}).toString(), e), "sanitizeText"), Nm = /* @__PURE__ */ p((e, t) => typeof e == "string" ? Qt(e, t) : e.flat().map((r) => Qt(r, t)), "sanitizeTextOrArray"), zm = /* @__PURE__ */ p((e) =>
|
|
2529
|
+
}).toString(), e), "sanitizeText"), Nm = /* @__PURE__ */ p((e, t) => typeof e == "string" ? Qt(e, t) : e.flat().map((r) => Qt(r, t)), "sanitizeTextOrArray"), zm = /* @__PURE__ */ p((e) => Si.test(e), "hasBreaks"), Wm = /* @__PURE__ */ p((e) => e.split(Si), "splitBreaks"), qm = /* @__PURE__ */ p((e) => e.replace(/#br#/g, "<br/>"), "placeholderToBreak"), qc = /* @__PURE__ */ p((e) => e.replace(Si, "#br#"), "breakToPlaceholder"), Hm = /* @__PURE__ */ p((e) => {
|
|
2530
2530
|
let t = "";
|
|
2531
2531
|
return e && (t = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, t = CSS.escape(t)), t;
|
|
2532
2532
|
}, "getUrl"), Bt = /* @__PURE__ */ p((e) => !(e === !1 || ["false", "null", "0"].includes(String(e).trim().toLowerCase())), "evaluate"), jm = /* @__PURE__ */ p(function(...e) {
|
|
@@ -2572,7 +2572,7 @@ var Wc = /* @__PURE__ */ p((e) => (Pm(), Er.sanitize(e)), "removeScript"), il =
|
|
|
2572
2572
|
return e.replace(Ua, "MathML is unsupported in this environment.");
|
|
2573
2573
|
{
|
|
2574
2574
|
const { default: r } = await import("./katex.Cw9NqA0C.js"), i = t.forceLegacyMathML || !al() && t.legacyMathML ? "htmlAndMathml" : "mathml";
|
|
2575
|
-
return e.split(
|
|
2575
|
+
return e.split(Si).map(
|
|
2576
2576
|
(n) => Fr(n) ? `<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${n}</div>` : `<div>${n}</div>`
|
|
2577
2577
|
).join("").replace(
|
|
2578
2578
|
Ua,
|
|
@@ -2589,7 +2589,7 @@ var Wc = /* @__PURE__ */ p((e) => (Pm(), Er.sanitize(e)), "removeScript"), il =
|
|
|
2589
2589
|
sanitizeTextOrArray: Nm,
|
|
2590
2590
|
hasBreaks: zm,
|
|
2591
2591
|
splitBreaks: Wm,
|
|
2592
|
-
lineBreakRegex:
|
|
2592
|
+
lineBreakRegex: Si,
|
|
2593
2593
|
removeScript: Wc,
|
|
2594
2594
|
getUrl: Hm,
|
|
2595
2595
|
evaluate: Bt,
|
|
@@ -4866,14 +4866,14 @@ function Q(e, t) {
|
|
|
4866
4866
|
throw Vs(e, t);
|
|
4867
4867
|
}
|
|
4868
4868
|
p(Q, "throwError");
|
|
4869
|
-
function
|
|
4869
|
+
function pi(e, t) {
|
|
4870
4870
|
e.onWarning && e.onWarning.call(null, Vs(e, t));
|
|
4871
4871
|
}
|
|
4872
|
-
p(
|
|
4872
|
+
p(pi, "throwWarning");
|
|
4873
4873
|
var gl = {
|
|
4874
4874
|
YAML: /* @__PURE__ */ p(function(t, r, i) {
|
|
4875
4875
|
var n, a, o;
|
|
4876
|
-
t.version !== null && Q(t, "duplication of %YAML directive"), i.length !== 1 && Q(t, "YAML directive accepts exactly one argument"), n = /^([0-9]+)\.([0-9]+)$/.exec(i[0]), n === null && Q(t, "ill-formed argument of the YAML directive"), a = parseInt(n[1], 10), o = parseInt(n[2], 10), a !== 1 && Q(t, "unacceptable YAML version of the document"), t.version = i[0], t.checkLineBreaks = o < 2, o !== 1 && o !== 2 &&
|
|
4876
|
+
t.version !== null && Q(t, "duplication of %YAML directive"), i.length !== 1 && Q(t, "YAML directive accepts exactly one argument"), n = /^([0-9]+)\.([0-9]+)$/.exec(i[0]), n === null && Q(t, "ill-formed argument of the YAML directive"), a = parseInt(n[1], 10), o = parseInt(n[2], 10), a !== 1 && Q(t, "unacceptable YAML version of the document"), t.version = i[0], t.checkLineBreaks = o < 2, o !== 1 && o !== 2 && pi(t, "unsupported YAML version of the document");
|
|
4877
4877
|
}, "handleYamlDirective"),
|
|
4878
4878
|
TAG: /* @__PURE__ */ p(function(t, r, i) {
|
|
4879
4879
|
var n, a;
|
|
@@ -4943,14 +4943,14 @@ function xt(e, t, r) {
|
|
|
4943
4943
|
else
|
|
4944
4944
|
break;
|
|
4945
4945
|
}
|
|
4946
|
-
return r !== -1 && i !== 0 && e.lineIndent < r &&
|
|
4946
|
+
return r !== -1 && i !== 0 && e.lineIndent < r && pi(e, "deficient indentation"), i;
|
|
4947
4947
|
}
|
|
4948
4948
|
p(xt, "skipSeparationSpace");
|
|
4949
|
-
function
|
|
4949
|
+
function vi(e) {
|
|
4950
4950
|
var t = e.position, r;
|
|
4951
4951
|
return r = e.input.charCodeAt(t), !!((r === 45 || r === 46) && r === e.input.charCodeAt(t + 1) && r === e.input.charCodeAt(t + 2) && (t += 3, r = e.input.charCodeAt(t), r === 0 || Wt(r)));
|
|
4952
4952
|
}
|
|
4953
|
-
p(
|
|
4953
|
+
p(vi, "testDocumentSeparator");
|
|
4954
4954
|
function Un(e, t) {
|
|
4955
4955
|
t === 1 ? e.result += " " : t > 1 && (e.result += Tt.repeat(`
|
|
4956
4956
|
`, t - 1));
|
|
@@ -4968,7 +4968,7 @@ function vu(e, t, r) {
|
|
|
4968
4968
|
if (i = e.input.charCodeAt(e.position - 1), Wt(i))
|
|
4969
4969
|
break;
|
|
4970
4970
|
} else {
|
|
4971
|
-
if (e.position === e.lineStart &&
|
|
4971
|
+
if (e.position === e.lineStart && vi(e) || r && Ze(d))
|
|
4972
4972
|
break;
|
|
4973
4973
|
if (se(d))
|
|
4974
4974
|
if (l = e.line, c = e.lineStart, h = e.lineIndent, xt(e, !1, -1), e.lineIndent >= t) {
|
|
@@ -4994,7 +4994,7 @@ function Tu(e, t) {
|
|
|
4994
4994
|
i = e.position, e.position++, n = e.position;
|
|
4995
4995
|
else
|
|
4996
4996
|
return !0;
|
|
4997
|
-
else se(r) ? (Be(e, i, n, !0), Un(e, xt(e, !1, t)), i = n = e.position) : e.position === e.lineStart &&
|
|
4997
|
+
else se(r) ? (Be(e, i, n, !0), Un(e, xt(e, !1, t)), i = n = e.position) : e.position === e.lineStart && vi(e) ? Q(e, "unexpected end of the document within a single quoted scalar") : (e.position++, n = e.position);
|
|
4998
4998
|
Q(e, "unexpected end of the stream within a single quoted scalar");
|
|
4999
4999
|
}
|
|
5000
5000
|
p(Tu, "readSingleQuotedScalar");
|
|
@@ -5017,7 +5017,7 @@ function Bu(e, t) {
|
|
|
5017
5017
|
} else
|
|
5018
5018
|
Q(e, "unknown escape sequence");
|
|
5019
5019
|
r = i = e.position;
|
|
5020
|
-
} else se(s) ? (Be(e, r, i, !0), Un(e, xt(e, !1, t)), r = i = e.position) : e.position === e.lineStart &&
|
|
5020
|
+
} else se(s) ? (Be(e, r, i, !0), Un(e, xt(e, !1, t)), r = i = e.position) : e.position === e.lineStart && vi(e) ? Q(e, "unexpected end of the document within a double quoted scalar") : (e.position++, i = e.position);
|
|
5021
5021
|
}
|
|
5022
5022
|
Q(e, "unexpected end of the stream within a double quoted scalar");
|
|
5023
5023
|
}
|
|
@@ -5217,9 +5217,9 @@ function Du(e) {
|
|
|
5217
5217
|
o = e.input.charCodeAt(++e.position);
|
|
5218
5218
|
n.push(e.input.slice(r, e.position));
|
|
5219
5219
|
}
|
|
5220
|
-
o !== 0 && jn(e), Re.call(gl, i) ? gl[i](e, i, n) :
|
|
5220
|
+
o !== 0 && jn(e), Re.call(gl, i) ? gl[i](e, i, n) : pi(e, 'unknown document directive "' + i + '"');
|
|
5221
5221
|
}
|
|
5222
|
-
if (xt(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, xt(e, !0, -1)) : a && Q(e, "directives end mark is expected"), rr(e, e.lineIndent - 1, bn, !1, !0), xt(e, !0, -1), e.checkLineBreaks && jx.test(e.input.slice(t, e.position)) &&
|
|
5222
|
+
if (xt(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, xt(e, !0, -1)) : a && Q(e, "directives end mark is expected"), rr(e, e.lineIndent - 1, bn, !1, !0), xt(e, !0, -1), e.checkLineBreaks && jx.test(e.input.slice(t, e.position)) && pi(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && vi(e)) {
|
|
5223
5223
|
e.input.charCodeAt(e.position) === 46 && (e.position += 3, xt(e, !0, -1));
|
|
5224
5224
|
return;
|
|
5225
5225
|
}
|
|
@@ -5260,7 +5260,7 @@ function Ou(e, t) {
|
|
|
5260
5260
|
p(Ou, "load$1");
|
|
5261
5261
|
var Gx = Ou, Xx = {
|
|
5262
5262
|
load: Gx
|
|
5263
|
-
}, Ru = Object.prototype.toString, Iu = Object.prototype.hasOwnProperty, Ks = 65279, Vx = 9,
|
|
5263
|
+
}, Ru = Object.prototype.toString, Iu = Object.prototype.hasOwnProperty, Ks = 65279, Vx = 9, gi = 10, Zx = 13, Kx = 32, Qx = 33, Jx = 34, es = 35, tb = 37, eb = 38, rb = 39, ib = 42, Pu = 44, nb = 45, Cn = 58, ab = 61, sb = 62, ob = 63, lb = 64, Nu = 91, zu = 93, cb = 96, Wu = 123, hb = 124, qu = 125, It = {};
|
|
5264
5264
|
It[0] = "\\0";
|
|
5265
5265
|
It[7] = "\\a";
|
|
5266
5266
|
It[8] = "\\b";
|
|
@@ -5315,9 +5315,9 @@ function ju(e) {
|
|
|
5315
5315
|
return "\\" + r + Tt.repeat("0", i - t.length) + t;
|
|
5316
5316
|
}
|
|
5317
5317
|
p(ju, "encodeHex");
|
|
5318
|
-
var db = 1,
|
|
5318
|
+
var db = 1, mi = 2;
|
|
5319
5319
|
function Uu(e) {
|
|
5320
|
-
this.schema = e.schema || du, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = Tt.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = Hu(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === '"' ?
|
|
5320
|
+
this.schema = e.schema || du, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = Tt.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = Hu(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === '"' ? mi : db, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
|
|
5321
5321
|
}
|
|
5322
5322
|
p(Uu, "State");
|
|
5323
5323
|
function rs(e, t) {
|
|
@@ -5341,35 +5341,35 @@ function Yu(e, t) {
|
|
|
5341
5341
|
return !1;
|
|
5342
5342
|
}
|
|
5343
5343
|
p(Yu, "testImplicitResolving");
|
|
5344
|
-
function
|
|
5344
|
+
function yi(e) {
|
|
5345
5345
|
return e === Kx || e === Vx;
|
|
5346
5346
|
}
|
|
5347
|
-
p(
|
|
5347
|
+
p(yi, "isWhitespace");
|
|
5348
5348
|
function Or(e) {
|
|
5349
5349
|
return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== Ks || 65536 <= e && e <= 1114111;
|
|
5350
5350
|
}
|
|
5351
5351
|
p(Or, "isPrintable");
|
|
5352
5352
|
function is(e) {
|
|
5353
|
-
return Or(e) && e !== Ks && e !== Zx && e !==
|
|
5353
|
+
return Or(e) && e !== Ks && e !== Zx && e !== gi;
|
|
5354
5354
|
}
|
|
5355
5355
|
p(is, "isNsCharOrWhitespace");
|
|
5356
5356
|
function ns(e, t, r) {
|
|
5357
|
-
var i = is(e), n = i && !
|
|
5357
|
+
var i = is(e), n = i && !yi(e);
|
|
5358
5358
|
return (
|
|
5359
5359
|
// ns-plain-safe
|
|
5360
5360
|
(r ? (
|
|
5361
5361
|
// c = flow-in
|
|
5362
5362
|
i
|
|
5363
|
-
) : i && e !== Pu && e !== Nu && e !== zu && e !== Wu && e !== qu) && e !== es && !(t === Cn && !n) || is(t) && !
|
|
5363
|
+
) : i && e !== Pu && e !== Nu && e !== zu && e !== Wu && e !== qu) && e !== es && !(t === Cn && !n) || is(t) && !yi(t) && e === es || t === Cn && n
|
|
5364
5364
|
);
|
|
5365
5365
|
}
|
|
5366
5366
|
p(ns, "isPlainSafe");
|
|
5367
5367
|
function Gu(e) {
|
|
5368
|
-
return Or(e) && e !== Ks && !
|
|
5368
|
+
return Or(e) && e !== Ks && !yi(e) && e !== nb && e !== ob && e !== Cn && e !== Pu && e !== Nu && e !== zu && e !== Wu && e !== qu && e !== es && e !== eb && e !== ib && e !== Qx && e !== hb && e !== ab && e !== sb && e !== rb && e !== Jx && e !== tb && e !== lb && e !== cb;
|
|
5369
5369
|
}
|
|
5370
5370
|
p(Gu, "isPlainSafeFirst");
|
|
5371
5371
|
function Xu(e) {
|
|
5372
|
-
return !
|
|
5372
|
+
return !yi(e) && e !== Cn;
|
|
5373
5373
|
}
|
|
5374
5374
|
p(Xu, "isPlainSafeLast");
|
|
5375
5375
|
function Cr(e, t) {
|
|
@@ -5393,7 +5393,7 @@ function Qu(e, t, r, i, n, a, o, s) {
|
|
|
5393
5393
|
}
|
|
5394
5394
|
else {
|
|
5395
5395
|
for (l = 0; l < e.length; c >= 65536 ? l += 2 : l++) {
|
|
5396
|
-
if (c = Cr(e, l), c ===
|
|
5396
|
+
if (c = Cr(e, l), c === gi)
|
|
5397
5397
|
u = !0, d && (f = f || // Foldable line = too long, and not more-indented.
|
|
5398
5398
|
l - g - 1 > i && e[g + 1] !== " ", g = l);
|
|
5399
5399
|
else if (!Or(c))
|
|
@@ -5402,15 +5402,15 @@ function Qu(e, t, r, i, n, a, o, s) {
|
|
|
5402
5402
|
}
|
|
5403
5403
|
f = f || d && l - g - 1 > i && e[g + 1] !== " ";
|
|
5404
5404
|
}
|
|
5405
|
-
return !u && !f ? m && !o && !n(e) ? Vu : a ===
|
|
5405
|
+
return !u && !f ? m && !o && !n(e) ? Vu : a === mi ? xr : as : r > 9 && Qs(e) ? xr : o ? a === mi ? xr : as : f ? Ku : Zu;
|
|
5406
5406
|
}
|
|
5407
5407
|
p(Qu, "chooseScalarStyle");
|
|
5408
5408
|
function Ju(e, t, r, i, n) {
|
|
5409
5409
|
e.dump = (function() {
|
|
5410
5410
|
if (t.length === 0)
|
|
5411
|
-
return e.quotingType ===
|
|
5411
|
+
return e.quotingType === mi ? '""' : "''";
|
|
5412
5412
|
if (!e.noCompatMode && (ub.indexOf(t) !== -1 || fb.test(t)))
|
|
5413
|
-
return e.quotingType ===
|
|
5413
|
+
return e.quotingType === mi ? '"' + t + '"' : "'" + t + "'";
|
|
5414
5414
|
var a = e.indent * Math.max(1, r), o = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - a), s = i || e.flowLevel > -1 && r >= e.flowLevel;
|
|
5415
5415
|
function l(c) {
|
|
5416
5416
|
return Yu(e, c);
|
|
@@ -5495,7 +5495,7 @@ p(rf, "writeFlowSequence");
|
|
|
5495
5495
|
function cs(e, t, r, i) {
|
|
5496
5496
|
var n = "", a = e.tag, o, s, l;
|
|
5497
5497
|
for (o = 0, s = r.length; o < s; o += 1)
|
|
5498
|
-
l = r[o], e.replacer && (l = e.replacer.call(r, String(o), l)), (xe(e, t + 1, l, !0, !0, !1, !0) || typeof l > "u" && xe(e, t + 1, null, !0, !0, !1, !0)) && ((!i || n !== "") && (n += _n(e, t)), e.dump &&
|
|
5498
|
+
l = r[o], e.replacer && (l = e.replacer.call(r, String(o), l)), (xe(e, t + 1, l, !0, !0, !1, !0) || typeof l > "u" && xe(e, t + 1, null, !0, !0, !1, !0)) && ((!i || n !== "") && (n += _n(e, t)), e.dump && gi === e.dump.charCodeAt(0) ? n += "-" : n += "- ", n += e.dump);
|
|
5499
5499
|
e.tag = a, e.dump = n || "[]";
|
|
5500
5500
|
}
|
|
5501
5501
|
p(cs, "writeBlockSequence");
|
|
@@ -5515,7 +5515,7 @@ function af(e, t, r, i) {
|
|
|
5515
5515
|
else if (e.sortKeys)
|
|
5516
5516
|
throw new Xt("sortKeys must be a boolean or a function");
|
|
5517
5517
|
for (s = 0, l = o.length; s < l; s += 1)
|
|
5518
|
-
f = "", (!i || n !== "") && (f += _n(e, t)), c = o[s], h = r[c], e.replacer && (h = e.replacer.call(r, c, h)), xe(e, t + 1, c, !0, !0, !0) && (u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, u && (e.dump &&
|
|
5518
|
+
f = "", (!i || n !== "") && (f += _n(e, t)), c = o[s], h = r[c], e.replacer && (h = e.replacer.call(r, c, h)), xe(e, t + 1, c, !0, !0, !0) && (u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, u && (e.dump && gi === e.dump.charCodeAt(0) ? f += "?" : f += "? "), f += e.dump, u && (f += _n(e, t)), xe(e, t + 1, h, !0, u) && (e.dump && gi === e.dump.charCodeAt(0) ? f += ":" : f += ": ", f += e.dump, n += f));
|
|
5519
5519
|
e.tag = a, e.dump = n || "{}";
|
|
5520
5520
|
}
|
|
5521
5521
|
p(af, "writeBlockMapping");
|
|
@@ -5613,23 +5613,23 @@ var Ft = {
|
|
|
5613
5613
|
arrow_cross: 12.5,
|
|
5614
5614
|
arrow_circle: 12.5
|
|
5615
5615
|
};
|
|
5616
|
-
function
|
|
5616
|
+
function ii(e, t) {
|
|
5617
5617
|
if (e === void 0 || t === void 0)
|
|
5618
5618
|
return { angle: 0, deltaX: 0, deltaY: 0 };
|
|
5619
5619
|
e = mt(e), t = mt(t);
|
|
5620
5620
|
const [r, i] = [e.x, e.y], [n, a] = [t.x, t.y], o = n - r, s = a - i;
|
|
5621
5621
|
return { angle: Math.atan(s / o), deltaX: o, deltaY: s };
|
|
5622
5622
|
}
|
|
5623
|
-
p(
|
|
5623
|
+
p(ii, "calculateDeltaAndAngle");
|
|
5624
5624
|
var mt = /* @__PURE__ */ p((e) => Array.isArray(e) ? { x: e[0], y: e[1] } : e, "pointTransformer"), xb = /* @__PURE__ */ p((e) => ({
|
|
5625
5625
|
x: /* @__PURE__ */ p(function(t, r, i) {
|
|
5626
5626
|
let n = 0;
|
|
5627
5627
|
const a = mt(i[0]).x < mt(i[i.length - 1]).x ? "left" : "right";
|
|
5628
5628
|
if (r === 0 && Object.hasOwn(Ft, e.arrowTypeStart)) {
|
|
5629
|
-
const { angle: d, deltaX: g } =
|
|
5629
|
+
const { angle: d, deltaX: g } = ii(i[0], i[1]);
|
|
5630
5630
|
n = Ft[e.arrowTypeStart] * Math.cos(d) * (g >= 0 ? 1 : -1);
|
|
5631
5631
|
} else if (r === i.length - 1 && Object.hasOwn(Ft, e.arrowTypeEnd)) {
|
|
5632
|
-
const { angle: d, deltaX: g } =
|
|
5632
|
+
const { angle: d, deltaX: g } = ii(
|
|
5633
5633
|
i[i.length - 1],
|
|
5634
5634
|
i[i.length - 2]
|
|
5635
5635
|
);
|
|
@@ -5654,10 +5654,10 @@ var mt = /* @__PURE__ */ p((e) => Array.isArray(e) ? { x: e[0], y: e[1] } : e, "
|
|
|
5654
5654
|
let n = 0;
|
|
5655
5655
|
const a = mt(i[0]).y < mt(i[i.length - 1]).y ? "down" : "up";
|
|
5656
5656
|
if (r === 0 && Object.hasOwn(Ft, e.arrowTypeStart)) {
|
|
5657
|
-
const { angle: d, deltaY: g } =
|
|
5657
|
+
const { angle: d, deltaY: g } = ii(i[0], i[1]);
|
|
5658
5658
|
n = Ft[e.arrowTypeStart] * Math.abs(Math.sin(d)) * (g >= 0 ? 1 : -1);
|
|
5659
5659
|
} else if (r === i.length - 1 && Object.hasOwn(Ft, e.arrowTypeEnd)) {
|
|
5660
|
-
const { angle: d, deltaY: g } =
|
|
5660
|
+
const { angle: d, deltaY: g } = ii(
|
|
5661
5661
|
i[i.length - 1],
|
|
5662
5662
|
i[i.length - 2]
|
|
5663
5663
|
);
|
|
@@ -5752,14 +5752,14 @@ var mt = /* @__PURE__ */ p((e) => Array.isArray(e) ? { x: e[0], y: e[1] } : e, "
|
|
|
5752
5752
|
}
|
|
5753
5753
|
const r = isNaN(t[0]) ? 0 : t[0], i = isNaN(t[1]) ? 0 : t[1];
|
|
5754
5754
|
return [r, i];
|
|
5755
|
-
}, "getStrokeDashArray"),
|
|
5755
|
+
}, "getStrokeDashArray"), zi = {}, St = {}, yl;
|
|
5756
5756
|
function wb() {
|
|
5757
5757
|
return yl || (yl = 1, Object.defineProperty(St, "__esModule", { value: !0 }), St.BLANK_URL = St.relativeFirstCharacters = St.whitespaceEscapeCharsRegex = St.urlSchemeRegex = St.ctrlCharactersRegex = St.htmlCtrlEntityRegex = St.htmlEntitiesRegex = St.invalidProtocolRegex = void 0, St.invalidProtocolRegex = /^([^\w]*)(javascript|data|vbscript)/im, St.htmlEntitiesRegex = /&#(\w+)(^\w|;)?/g, St.htmlCtrlEntityRegex = /&(newline|tab);/gi, St.ctrlCharactersRegex = /[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim, St.urlSchemeRegex = /^.+(:|:)/gim, St.whitespaceEscapeCharsRegex = /(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g, St.relativeFirstCharacters = [".", "/"], St.BLANK_URL = "about:blank"), St;
|
|
5758
5758
|
}
|
|
5759
5759
|
var xl;
|
|
5760
5760
|
function kb() {
|
|
5761
|
-
if (xl) return
|
|
5762
|
-
xl = 1, Object.defineProperty(
|
|
5761
|
+
if (xl) return zi;
|
|
5762
|
+
xl = 1, Object.defineProperty(zi, "__esModule", { value: !0 }), zi.sanitizeUrl = a;
|
|
5763
5763
|
var e = /* @__PURE__ */ wb();
|
|
5764
5764
|
function t(o) {
|
|
5765
5765
|
return e.relativeFirstCharacters.indexOf(o[0]) > -1;
|
|
@@ -5809,18 +5809,18 @@ function kb() {
|
|
|
5809
5809
|
}
|
|
5810
5810
|
return d;
|
|
5811
5811
|
}
|
|
5812
|
-
return
|
|
5812
|
+
return zi;
|
|
5813
5813
|
}
|
|
5814
|
-
var Sb = /* @__PURE__ */ kb(), lf = typeof global == "object" && global && global.Object === Object && global, vb = typeof self == "object" && self && self.Object === Object && self, be = lf || vb || Function("return this")(), kn = be.Symbol, cf = Object.prototype, Tb = cf.hasOwnProperty, Bb = cf.toString,
|
|
5814
|
+
var Sb = /* @__PURE__ */ kb(), lf = typeof global == "object" && global && global.Object === Object && global, vb = typeof self == "object" && self && self.Object === Object && self, be = lf || vb || Function("return this")(), kn = be.Symbol, cf = Object.prototype, Tb = cf.hasOwnProperty, Bb = cf.toString, Kr = kn ? kn.toStringTag : void 0;
|
|
5815
5815
|
function Lb(e) {
|
|
5816
|
-
var t = Tb.call(e,
|
|
5816
|
+
var t = Tb.call(e, Kr), r = e[Kr];
|
|
5817
5817
|
try {
|
|
5818
|
-
e[
|
|
5818
|
+
e[Kr] = void 0;
|
|
5819
5819
|
var i = !0;
|
|
5820
5820
|
} catch {
|
|
5821
5821
|
}
|
|
5822
5822
|
var n = Bb.call(e);
|
|
5823
|
-
return i && (t ? e[
|
|
5823
|
+
return i && (t ? e[Kr] = r : delete e[Kr]), n;
|
|
5824
5824
|
}
|
|
5825
5825
|
var Ab = Object.prototype, Mb = Ab.toString;
|
|
5826
5826
|
function Eb(e) {
|
|
@@ -5878,9 +5878,9 @@ function lr(e, t) {
|
|
|
5878
5878
|
var r = Vb(e, t);
|
|
5879
5879
|
return Xb(r) ? r : void 0;
|
|
5880
5880
|
}
|
|
5881
|
-
var
|
|
5881
|
+
var xi = lr(Object, "create");
|
|
5882
5882
|
function Zb() {
|
|
5883
|
-
this.__data__ =
|
|
5883
|
+
this.__data__ = xi ? xi(null) : {}, this.size = 0;
|
|
5884
5884
|
}
|
|
5885
5885
|
function Kb(e) {
|
|
5886
5886
|
var t = this.has(e) && delete this.__data__[e];
|
|
@@ -5889,7 +5889,7 @@ function Kb(e) {
|
|
|
5889
5889
|
var Qb = "__lodash_hash_undefined__", Jb = Object.prototype, t1 = Jb.hasOwnProperty;
|
|
5890
5890
|
function e1(e) {
|
|
5891
5891
|
var t = this.__data__;
|
|
5892
|
-
if (
|
|
5892
|
+
if (xi) {
|
|
5893
5893
|
var r = t[e];
|
|
5894
5894
|
return r === Qb ? void 0 : r;
|
|
5895
5895
|
}
|
|
@@ -5898,12 +5898,12 @@ function e1(e) {
|
|
|
5898
5898
|
var r1 = Object.prototype, i1 = r1.hasOwnProperty;
|
|
5899
5899
|
function n1(e) {
|
|
5900
5900
|
var t = this.__data__;
|
|
5901
|
-
return
|
|
5901
|
+
return xi ? t[e] !== void 0 : i1.call(t, e);
|
|
5902
5902
|
}
|
|
5903
5903
|
var a1 = "__lodash_hash_undefined__";
|
|
5904
5904
|
function s1(e, t) {
|
|
5905
5905
|
var r = this.__data__;
|
|
5906
|
-
return this.size += this.has(e) ? 0 : 1, r[e] =
|
|
5906
|
+
return this.size += this.has(e) ? 0 : 1, r[e] = xi && t === void 0 ? a1 : t, this;
|
|
5907
5907
|
}
|
|
5908
5908
|
function ir(e) {
|
|
5909
5909
|
var t = -1, r = e == null ? 0 : e.length;
|
|
@@ -5960,11 +5960,11 @@ Me.prototype.delete = h1;
|
|
|
5960
5960
|
Me.prototype.get = u1;
|
|
5961
5961
|
Me.prototype.has = f1;
|
|
5962
5962
|
Me.prototype.set = d1;
|
|
5963
|
-
var
|
|
5963
|
+
var bi = lr(be, "Map");
|
|
5964
5964
|
function p1() {
|
|
5965
5965
|
this.size = 0, this.__data__ = {
|
|
5966
5966
|
hash: new ir(),
|
|
5967
|
-
map: new (
|
|
5967
|
+
map: new (bi || Me)(),
|
|
5968
5968
|
string: new ir()
|
|
5969
5969
|
};
|
|
5970
5970
|
}
|
|
@@ -6003,7 +6003,7 @@ Ne.prototype.get = y1;
|
|
|
6003
6003
|
Ne.prototype.has = x1;
|
|
6004
6004
|
Ne.prototype.set = b1;
|
|
6005
6005
|
var C1 = "Expected a function";
|
|
6006
|
-
function
|
|
6006
|
+
function Ti(e, t) {
|
|
6007
6007
|
if (typeof e != "function" || t != null && typeof t != "function")
|
|
6008
6008
|
throw new TypeError(C1);
|
|
6009
6009
|
var r = function() {
|
|
@@ -6013,9 +6013,9 @@ function Bi(e, t) {
|
|
|
6013
6013
|
var o = e.apply(this, i);
|
|
6014
6014
|
return r.cache = a.set(n, o) || a, o;
|
|
6015
6015
|
};
|
|
6016
|
-
return r.cache = new (
|
|
6016
|
+
return r.cache = new (Ti.Cache || Ne)(), r;
|
|
6017
6017
|
}
|
|
6018
|
-
|
|
6018
|
+
Ti.Cache = Ne;
|
|
6019
6019
|
function _1() {
|
|
6020
6020
|
this.__data__ = new Me(), this.size = 0;
|
|
6021
6021
|
}
|
|
@@ -6034,7 +6034,7 @@ function T1(e, t) {
|
|
|
6034
6034
|
var r = this.__data__;
|
|
6035
6035
|
if (r instanceof Me) {
|
|
6036
6036
|
var i = r.__data__;
|
|
6037
|
-
if (!
|
|
6037
|
+
if (!bi || i.length < v1 - 1)
|
|
6038
6038
|
return i.push([e, t]), this.size = ++r.size, this;
|
|
6039
6039
|
r = this.__data__ = new Ne(i);
|
|
6040
6040
|
}
|
|
@@ -6125,17 +6125,17 @@ function Vn(e) {
|
|
|
6125
6125
|
function R1(e) {
|
|
6126
6126
|
return typeof e.constructor == "function" && !Vn(e) ? D1(ff(e)) : {};
|
|
6127
6127
|
}
|
|
6128
|
-
function
|
|
6128
|
+
function Bi(e) {
|
|
6129
6129
|
return e != null && typeof e == "object";
|
|
6130
6130
|
}
|
|
6131
6131
|
var I1 = "[object Arguments]";
|
|
6132
6132
|
function Tl(e) {
|
|
6133
|
-
return
|
|
6133
|
+
return Bi(e) && zr(e) == I1;
|
|
6134
6134
|
}
|
|
6135
6135
|
var df = Object.prototype, P1 = df.hasOwnProperty, N1 = df.propertyIsEnumerable, vn = Tl(/* @__PURE__ */ (function() {
|
|
6136
6136
|
return arguments;
|
|
6137
6137
|
})()) ? Tl : function(e) {
|
|
6138
|
-
return
|
|
6138
|
+
return Bi(e) && P1.call(e, "callee") && !N1.call(e, "callee");
|
|
6139
6139
|
}, Tn = Array.isArray, z1 = 9007199254740991;
|
|
6140
6140
|
function pf(e) {
|
|
6141
6141
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= z1;
|
|
@@ -6144,14 +6144,14 @@ function Zn(e) {
|
|
|
6144
6144
|
return e != null && pf(e.length) && !to(e);
|
|
6145
6145
|
}
|
|
6146
6146
|
function W1(e) {
|
|
6147
|
-
return
|
|
6147
|
+
return Bi(e) && Zn(e);
|
|
6148
6148
|
}
|
|
6149
6149
|
function q1() {
|
|
6150
6150
|
return !1;
|
|
6151
6151
|
}
|
|
6152
6152
|
var gf = typeof exports == "object" && exports && !exports.nodeType && exports, Bl = gf && typeof module == "object" && module && !module.nodeType && module, H1 = Bl && Bl.exports === gf, Ll = H1 ? be.Buffer : void 0, j1 = Ll ? Ll.isBuffer : void 0, ro = j1 || q1, U1 = "[object Object]", Y1 = Function.prototype, G1 = Object.prototype, mf = Y1.toString, X1 = G1.hasOwnProperty, V1 = mf.call(Object);
|
|
6153
6153
|
function Z1(e) {
|
|
6154
|
-
if (!
|
|
6154
|
+
if (!Bi(e) || zr(e) != U1)
|
|
6155
6155
|
return !1;
|
|
6156
6156
|
var t = ff(e);
|
|
6157
6157
|
if (t === null)
|
|
@@ -6163,16 +6163,16 @@ var K1 = "[object Arguments]", Q1 = "[object Array]", J1 = "[object Boolean]", t
|
|
|
6163
6163
|
dt[f2] = dt[d2] = dt[p2] = dt[g2] = dt[m2] = dt[y2] = dt[x2] = dt[b2] = dt[C2] = !0;
|
|
6164
6164
|
dt[K1] = dt[Q1] = dt[h2] = dt[J1] = dt[u2] = dt[t2] = dt[e2] = dt[r2] = dt[i2] = dt[n2] = dt[a2] = dt[s2] = dt[o2] = dt[l2] = dt[c2] = !1;
|
|
6165
6165
|
function _2(e) {
|
|
6166
|
-
return
|
|
6166
|
+
return Bi(e) && pf(e.length) && !!dt[zr(e)];
|
|
6167
6167
|
}
|
|
6168
6168
|
function w2(e) {
|
|
6169
6169
|
return function(t) {
|
|
6170
6170
|
return e(t);
|
|
6171
6171
|
};
|
|
6172
6172
|
}
|
|
6173
|
-
var yf = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
6173
|
+
var yf = typeof exports == "object" && exports && !exports.nodeType && exports, fi = yf && typeof module == "object" && module && !module.nodeType && module, k2 = fi && fi.exports === yf, Ba = k2 && lf.process, Al = (function() {
|
|
6174
6174
|
try {
|
|
6175
|
-
var e =
|
|
6175
|
+
var e = fi && fi.require && fi.require("util").types;
|
|
6176
6176
|
return e || Ba && Ba.binding && Ba.binding("util");
|
|
6177
6177
|
} catch {
|
|
6178
6178
|
}
|
|
@@ -6381,8 +6381,8 @@ var Q2 = K2(function(e, t, r) {
|
|
|
6381
6381
|
);
|
|
6382
6382
|
let i;
|
|
6383
6383
|
const n = [];
|
|
6384
|
-
for (; (i =
|
|
6385
|
-
if (i.index ===
|
|
6384
|
+
for (; (i = hi.exec(e)) !== null; )
|
|
6385
|
+
if (i.index === hi.lastIndex && hi.lastIndex++, i && !t || t && i[1]?.match(t) || t && i[2]?.match(t)) {
|
|
6386
6386
|
const a = i[1] ? i[1] : i[2], o = i[3] ? i[3].trim() : i[4] ? JSON.parse(i[4].trim()) : null;
|
|
6387
6387
|
n.push({ type: a, args: o });
|
|
6388
6388
|
}
|
|
@@ -6393,7 +6393,7 @@ var Q2 = K2(function(e, t, r) {
|
|
|
6393
6393
|
), { type: void 0, args: null };
|
|
6394
6394
|
}
|
|
6395
6395
|
}, "detectDirective"), iC = /* @__PURE__ */ p(function(e) {
|
|
6396
|
-
return e.replace(
|
|
6396
|
+
return e.replace(hi, "");
|
|
6397
6397
|
}, "removeDirectives"), nC = /* @__PURE__ */ p(function(e, t) {
|
|
6398
6398
|
for (const [r, i] of t.entries())
|
|
6399
6399
|
if (i.match(e))
|
|
@@ -6516,7 +6516,7 @@ var lC = /* @__PURE__ */ p((e) => Lf(e.length), "random"), cC = /* @__PURE__ */
|
|
|
6516
6516
|
n.attr("x", t.x), n.attr("y", t.y), n.style("text-anchor", t.anchor), n.style("font-family", t.fontFamily), n.style("font-size", i), n.style("font-weight", t.fontWeight), n.attr("fill", t.fill), t.class !== void 0 && n.attr("class", t.class);
|
|
6517
6517
|
const a = n.append("tspan");
|
|
6518
6518
|
return a.attr("x", t.x + t.textMargin * 2), a.attr("fill", t.fill), a.text(r), n;
|
|
6519
|
-
}, "drawSimpleText"), uC =
|
|
6519
|
+
}, "drawSimpleText"), uC = Ti(
|
|
6520
6520
|
(e, t, r) => {
|
|
6521
6521
|
if (!e || (r = Object.assign(
|
|
6522
6522
|
{ fontSize: 12, fontWeight: 400, fontFamily: "Arial", joinWith: "<br/>" },
|
|
@@ -6535,7 +6535,7 @@ var lC = /* @__PURE__ */ p((e) => Lf(e.length), "random"), cC = /* @__PURE__ */
|
|
|
6535
6535
|
}), n.filter((o) => o !== "").join(r.joinWith);
|
|
6536
6536
|
},
|
|
6537
6537
|
(e, t, r) => `${e}${t}${r.fontSize}${r.fontWeight}${r.fontFamily}${r.joinWith}`
|
|
6538
|
-
), fC =
|
|
6538
|
+
), fC = Ti(
|
|
6539
6539
|
(e, t, r = "-", i) => {
|
|
6540
6540
|
i = Object.assign(
|
|
6541
6541
|
{ fontSize: 12, fontWeight: 400, fontFamily: "Arial", margin: 0 },
|
|
@@ -6562,7 +6562,7 @@ function Le(e, t) {
|
|
|
6562
6562
|
return oo(e, t).width;
|
|
6563
6563
|
}
|
|
6564
6564
|
p(Le, "calculateTextWidth");
|
|
6565
|
-
var oo =
|
|
6565
|
+
var oo = Ti(
|
|
6566
6566
|
(e, t) => {
|
|
6567
6567
|
const { fontSize: r = 12, fontFamily: i = "Arial", fontWeight: n = 400 } = t;
|
|
6568
6568
|
if (!e)
|
|
@@ -6882,7 +6882,7 @@ var hr = ho();
|
|
|
6882
6882
|
function $f(e) {
|
|
6883
6883
|
hr = e;
|
|
6884
6884
|
}
|
|
6885
|
-
var
|
|
6885
|
+
var di = { exec: () => null };
|
|
6886
6886
|
function ut(e, t = "") {
|
|
6887
6887
|
let r = typeof e == "string" ? e : e.source, i = { replace: (n, a) => {
|
|
6888
6888
|
let o = typeof a == "string" ? a : a.source;
|
|
@@ -6896,8 +6896,8 @@ var RC = (() => {
|
|
|
6896
6896
|
} catch {
|
|
6897
6897
|
return !1;
|
|
6898
6898
|
}
|
|
6899
|
-
})(), qt = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceTabs: /^\t+/, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] /, listReplaceTask: /^\[[ xX]\] +/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g, unescapeTest: /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig, caret: /(^|[^\[])\^/g, percentDecode: /%25/g, findPipe: /\|/g, splitPipe: / \|/, slashPipe: /\\\|/g, carriageReturn: /\r\n|\r/g, spaceLine: /^ +$/gm, notSpaceStart: /^\S*/, endingNewline: /\n$/, listItemRegex: (e) => new RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`), nextBulletRegex: (e) => new RegExp(`^ {0,${Math.min(3, e - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), hrRegex: (e) => new RegExp(`^ {0,${Math.min(3, e - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), fencesBeginRegex: (e) => new RegExp(`^ {0,${Math.min(3, e - 1)}}(?:\`\`\`|~~~)`), headingBeginRegex: (e) => new RegExp(`^ {0,${Math.min(3, e - 1)}}#`), htmlBeginRegex: (e) => new RegExp(`^ {0,${Math.min(3, e - 1)}}<(?:[a-z].*>|!--)`, "i") }, IC = /^(?:[ \t]*(?:\n|$))+/, PC = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, NC = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,
|
|
6900
|
-
]`).replace("lheading", Df).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, VC = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, ZC = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Rf = /^( {2,}|\\)\n(?!\s*$)/, KC = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Jn = /[\p{P}\p{S}]/u, yo = /[\s\p{P}\p{S}]/u, If = /[^\s\p{P}\p{S}]/u, QC = ut(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, yo).getRegex(), Pf = /(?!~)[\p{P}\p{S}]/u, JC = /(?!~)[\s\p{P}\p{S}]/u, t_ = /(?:[^\s\p{P}\p{S}]|~)/u, e_ = ut(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", RC ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), Nf = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, r_ = ut(Nf, "u").replace(/punct/g, Jn).getRegex(), i_ = ut(Nf, "u").replace(/punct/g, Pf).getRegex(), zf = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", n_ = ut(zf, "gu").replace(/notPunctSpace/g, If).replace(/punctSpace/g, yo).replace(/punct/g, Jn).getRegex(), a_ = ut(zf, "gu").replace(/notPunctSpace/g, t_).replace(/punctSpace/g, JC).replace(/punct/g, Pf).getRegex(), s_ = ut("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, If).replace(/punctSpace/g, yo).replace(/punct/g, Jn).getRegex(), o_ = ut(/\\(punct)/, "gu").replace(/punct/g, Jn).getRegex(), l_ = ut(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), c_ = ut(go).replace("(?:-->|$)", "-->").getRegex(), h_ = ut("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", c_).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), Ln = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/, u_ = ut(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", Ln).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Wf = ut(/^!?\[(label)\]\[(ref)\]/).replace("label", Ln).replace("ref", po).getRegex(), qf = ut(/^!?\[(ref)\](?:\[\])?/).replace("ref", po).getRegex(), f_ = ut("reflink|nolink(?!\\()", "g").replace("reflink", Wf).replace("nolink", qf).getRegex(), Nl = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, xo = { _backpedal:
|
|
6899
|
+
})(), qt = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceTabs: /^\t+/, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] /, listReplaceTask: /^\[[ xX]\] +/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g, unescapeTest: /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig, caret: /(^|[^\[])\^/g, percentDecode: /%25/g, findPipe: /\|/g, splitPipe: / \|/, slashPipe: /\\\|/g, carriageReturn: /\r\n|\r/g, spaceLine: /^ +$/gm, notSpaceStart: /^\S*/, endingNewline: /\n$/, listItemRegex: (e) => new RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`), nextBulletRegex: (e) => new RegExp(`^ {0,${Math.min(3, e - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), hrRegex: (e) => new RegExp(`^ {0,${Math.min(3, e - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), fencesBeginRegex: (e) => new RegExp(`^ {0,${Math.min(3, e - 1)}}(?:\`\`\`|~~~)`), headingBeginRegex: (e) => new RegExp(`^ {0,${Math.min(3, e - 1)}}#`), htmlBeginRegex: (e) => new RegExp(`^ {0,${Math.min(3, e - 1)}}<(?:[a-z].*>|!--)`, "i") }, IC = /^(?:[ \t]*(?:\n|$))+/, PC = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, NC = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Li = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, zC = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, uo = /(?:[*+-]|\d{1,9}[.)])/, Ff = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, Df = ut(Ff).replace(/bull/g, uo).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), WC = ut(Ff).replace(/bull/g, uo).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), fo = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, qC = /^[^\n]+/, po = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, HC = ut(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", po).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), jC = ut(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, uo).getRegex(), Qn = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", go = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, UC = ut("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", go).replace("tag", Qn).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Of = ut(fo).replace("hr", Li).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Qn).getRegex(), YC = ut(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Of).getRegex(), mo = { blockquote: YC, code: PC, def: HC, fences: NC, heading: zC, hr: Li, html: UC, lheading: Df, list: jC, newline: IC, paragraph: Of, table: di, text: qC }, Pl = ut("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Li).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Qn).getRegex(), GC = { ...mo, lheading: WC, table: Pl, paragraph: ut(fo).replace("hr", Li).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Pl).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Qn).getRegex() }, XC = { ...mo, html: ut(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", go).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(), def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/, heading: /^(#{1,6})(.*)(?:\n+|$)/, fences: di, lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/, paragraph: ut(fo).replace("hr", Li).replace("heading", ` *#{1,6} *[^
|
|
6900
|
+
]`).replace("lheading", Df).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, VC = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, ZC = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Rf = /^( {2,}|\\)\n(?!\s*$)/, KC = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Jn = /[\p{P}\p{S}]/u, yo = /[\s\p{P}\p{S}]/u, If = /[^\s\p{P}\p{S}]/u, QC = ut(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, yo).getRegex(), Pf = /(?!~)[\p{P}\p{S}]/u, JC = /(?!~)[\s\p{P}\p{S}]/u, t_ = /(?:[^\s\p{P}\p{S}]|~)/u, e_ = ut(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", RC ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), Nf = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, r_ = ut(Nf, "u").replace(/punct/g, Jn).getRegex(), i_ = ut(Nf, "u").replace(/punct/g, Pf).getRegex(), zf = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", n_ = ut(zf, "gu").replace(/notPunctSpace/g, If).replace(/punctSpace/g, yo).replace(/punct/g, Jn).getRegex(), a_ = ut(zf, "gu").replace(/notPunctSpace/g, t_).replace(/punctSpace/g, JC).replace(/punct/g, Pf).getRegex(), s_ = ut("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, If).replace(/punctSpace/g, yo).replace(/punct/g, Jn).getRegex(), o_ = ut(/\\(punct)/, "gu").replace(/punct/g, Jn).getRegex(), l_ = ut(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), c_ = ut(go).replace("(?:-->|$)", "-->").getRegex(), h_ = ut("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", c_).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), Ln = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/, u_ = ut(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", Ln).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Wf = ut(/^!?\[(label)\]\[(ref)\]/).replace("label", Ln).replace("ref", po).getRegex(), qf = ut(/^!?\[(ref)\](?:\[\])?/).replace("ref", po).getRegex(), f_ = ut("reflink|nolink(?!\\()", "g").replace("reflink", Wf).replace("nolink", qf).getRegex(), Nl = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, xo = { _backpedal: di, anyPunctuation: o_, autolink: l_, blockSkip: e_, br: Rf, code: ZC, del: di, emStrongLDelim: r_, emStrongRDelimAst: n_, emStrongRDelimUnd: s_, escape: VC, link: u_, nolink: qf, punctuation: QC, reflink: Wf, reflinkSearch: f_, tag: h_, text: KC, url: di }, d_ = { ...xo, link: ut(/^!?\[(label)\]\((.*?)\)/).replace("label", Ln).getRegex(), reflink: ut(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", Ln).getRegex() }, ds = { ...xo, emStrongRDelimAst: a_, emStrongLDelim: i_, url: ut(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", Nl).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(), _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/, del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/, text: ut(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", Nl).getRegex() }, p_ = { ...ds, br: ut(Rf).replace("{2,}", "*").getRegex(), text: ut(ds.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex() }, qi = { normal: mo, gfm: GC, pedantic: XC }, Qr = { normal: xo, gfm: ds, breaks: p_, pedantic: d_ }, g_ = { "&": "&", "<": "<", ">": ">", '"': """, "'": "'" }, zl = (e) => g_[e];
|
|
6901
6901
|
function fe(e, t) {
|
|
6902
6902
|
if (t) {
|
|
6903
6903
|
if (qt.escapeTest.test(e)) return e.replace(qt.escapeReplace, zl);
|
|
@@ -6923,7 +6923,7 @@ function ql(e, t) {
|
|
|
6923
6923
|
for (; n < i.length; n++) i[n] = i[n].trim().replace(qt.slashPipe, "|");
|
|
6924
6924
|
return i;
|
|
6925
6925
|
}
|
|
6926
|
-
function
|
|
6926
|
+
function Jr(e, t, r) {
|
|
6927
6927
|
let i = e.length;
|
|
6928
6928
|
if (i === 0) return "";
|
|
6929
6929
|
let n = 0;
|
|
@@ -6973,7 +6973,7 @@ var An = class {
|
|
|
6973
6973
|
let r = this.rules.block.code.exec(t);
|
|
6974
6974
|
if (r) {
|
|
6975
6975
|
let i = r[0].replace(this.rules.other.codeRemoveIndent, "");
|
|
6976
|
-
return { type: "code", raw: r[0], codeBlockStyle: "indented", text: this.options.pedantic ? i :
|
|
6976
|
+
return { type: "code", raw: r[0], codeBlockStyle: "indented", text: this.options.pedantic ? i : Jr(i, `
|
|
6977
6977
|
`) };
|
|
6978
6978
|
}
|
|
6979
6979
|
}
|
|
@@ -6989,7 +6989,7 @@ var An = class {
|
|
|
6989
6989
|
if (r) {
|
|
6990
6990
|
let i = r[2].trim();
|
|
6991
6991
|
if (this.rules.other.endingHash.test(i)) {
|
|
6992
|
-
let n =
|
|
6992
|
+
let n = Jr(i, "#");
|
|
6993
6993
|
(this.options.pedantic || !n || this.rules.other.endingSpaceChar.test(n)) && (i = n.trim());
|
|
6994
6994
|
}
|
|
6995
6995
|
return { type: "heading", raw: r[0], depth: r[1].length, text: i, tokens: this.lexer.inline(i) };
|
|
@@ -6997,13 +6997,13 @@ var An = class {
|
|
|
6997
6997
|
}
|
|
6998
6998
|
hr(t) {
|
|
6999
6999
|
let r = this.rules.block.hr.exec(t);
|
|
7000
|
-
if (r) return { type: "hr", raw:
|
|
7000
|
+
if (r) return { type: "hr", raw: Jr(r[0], `
|
|
7001
7001
|
`) };
|
|
7002
7002
|
}
|
|
7003
7003
|
blockquote(t) {
|
|
7004
7004
|
let r = this.rules.block.blockquote.exec(t);
|
|
7005
7005
|
if (r) {
|
|
7006
|
-
let i =
|
|
7006
|
+
let i = Jr(r[0], `
|
|
7007
7007
|
`).split(`
|
|
7008
7008
|
`), n = "", a = "", o = [];
|
|
7009
7009
|
for (; i.length > 0; ) {
|
|
@@ -7140,7 +7140,7 @@ ${u}` : u;
|
|
|
7140
7140
|
let i = r[2].trim();
|
|
7141
7141
|
if (!this.options.pedantic && this.rules.other.startAngleBracket.test(i)) {
|
|
7142
7142
|
if (!this.rules.other.endAngleBracket.test(i)) return;
|
|
7143
|
-
let o =
|
|
7143
|
+
let o = Jr(i.slice(0, -1), "\\");
|
|
7144
7144
|
if ((i.length - o.length) % 2 === 0) return;
|
|
7145
7145
|
} else {
|
|
7146
7146
|
let o = m_(r[2], "()");
|
|
@@ -7246,11 +7246,11 @@ ${u}` : u;
|
|
|
7246
7246
|
inlineQueue;
|
|
7247
7247
|
constructor(t) {
|
|
7248
7248
|
this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = t || hr, this.options.tokenizer = this.options.tokenizer || new An(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = { inLink: !1, inRawBlock: !1, top: !0 };
|
|
7249
|
-
let r = { other: qt, block: qi.normal, inline:
|
|
7250
|
-
this.options.pedantic ? (r.block = qi.pedantic, r.inline =
|
|
7249
|
+
let r = { other: qt, block: qi.normal, inline: Qr.normal };
|
|
7250
|
+
this.options.pedantic ? (r.block = qi.pedantic, r.inline = Qr.pedantic) : this.options.gfm && (r.block = qi.gfm, this.options.breaks ? r.inline = Qr.breaks : r.inline = Qr.gfm), this.tokenizer.rules = r;
|
|
7251
7251
|
}
|
|
7252
7252
|
static get rules() {
|
|
7253
|
-
return { block: qi, inline:
|
|
7253
|
+
return { block: qi, inline: Qr };
|
|
7254
7254
|
}
|
|
7255
7255
|
static lex(t, r) {
|
|
7256
7256
|
return new ps(r).lex(t);
|
|
@@ -7739,7 +7739,7 @@ ${t}</tr>
|
|
|
7739
7739
|
}
|
|
7740
7740
|
return i;
|
|
7741
7741
|
}
|
|
7742
|
-
},
|
|
7742
|
+
}, ni = class {
|
|
7743
7743
|
options;
|
|
7744
7744
|
block;
|
|
7745
7745
|
constructor(t) {
|
|
@@ -7775,7 +7775,7 @@ ${t}</tr>
|
|
|
7775
7775
|
TextRenderer = bo;
|
|
7776
7776
|
Lexer = ge;
|
|
7777
7777
|
Tokenizer = An;
|
|
7778
|
-
Hooks =
|
|
7778
|
+
Hooks = ni;
|
|
7779
7779
|
constructor(...t) {
|
|
7780
7780
|
this.use(...t);
|
|
7781
7781
|
}
|
|
@@ -7849,13 +7849,13 @@ ${t}</tr>
|
|
|
7849
7849
|
n.tokenizer = a;
|
|
7850
7850
|
}
|
|
7851
7851
|
if (i.hooks) {
|
|
7852
|
-
let a = this.defaults.hooks || new
|
|
7852
|
+
let a = this.defaults.hooks || new ni();
|
|
7853
7853
|
for (let o in i.hooks) {
|
|
7854
7854
|
if (!(o in a)) throw new Error(`hook '${o}' does not exist`);
|
|
7855
7855
|
if (["options", "block"].includes(o)) continue;
|
|
7856
7856
|
let s = o, l = i.hooks[s], c = a[s];
|
|
7857
|
-
|
|
7858
|
-
if (this.defaults.async &&
|
|
7857
|
+
ni.passThroughHooks.has(o) ? a[s] = (h) => {
|
|
7858
|
+
if (this.defaults.async && ni.passThroughHooksRespectAsync.has(o)) return (async () => {
|
|
7859
7859
|
let f = await l.call(a, h);
|
|
7860
7860
|
return c.call(a, f);
|
|
7861
7861
|
})();
|
|
@@ -7948,7 +7948,7 @@ pt.TextRenderer = bo;
|
|
|
7948
7948
|
pt.Lexer = ge;
|
|
7949
7949
|
pt.lexer = ge.lex;
|
|
7950
7950
|
pt.Tokenizer = An;
|
|
7951
|
-
pt.Hooks =
|
|
7951
|
+
pt.Hooks = ni;
|
|
7952
7952
|
pt.parse = pt;
|
|
7953
7953
|
function Hf(e) {
|
|
7954
7954
|
for (var t = [], r = 1; r < arguments.length; r++)
|
|
@@ -8027,7 +8027,7 @@ var b_ = {
|
|
|
8027
8027
|
} catch {
|
|
8028
8028
|
return !1;
|
|
8029
8029
|
}
|
|
8030
|
-
}, "isIconAvailable"),
|
|
8030
|
+
}, "isIconAvailable"), Ai = /* @__PURE__ */ p(async (e, t, r) => {
|
|
8031
8031
|
let i;
|
|
8032
8032
|
try {
|
|
8033
8033
|
i = await Uf(e, t?.fallbackPrefix);
|
|
@@ -8182,7 +8182,7 @@ async function ed(e, t = {}) {
|
|
|
8182
8182
|
e.replace(/(fa[bklrs]?):fa-([\w-]+)/g, (n, a, o) => (r.push(
|
|
8183
8183
|
(async () => {
|
|
8184
8184
|
const s = `${a}:${o}`;
|
|
8185
|
-
return await __(s) ? await
|
|
8185
|
+
return await __(s) ? await Ai(s, void 0, { class: "label-icon" }) : `<i class='${Qt(n, t).replace(":", " ")}'></i>`;
|
|
8186
8186
|
})()
|
|
8187
8187
|
), n));
|
|
8188
8188
|
const i = await Promise.all(r);
|
|
@@ -8297,7 +8297,7 @@ function S_(e, t, r, i = 1) {
|
|
|
8297
8297
|
}
|
|
8298
8298
|
return l;
|
|
8299
8299
|
}
|
|
8300
|
-
function
|
|
8300
|
+
function Mi(e, t) {
|
|
8301
8301
|
var r;
|
|
8302
8302
|
const i = t.hachureAngle + 90;
|
|
8303
8303
|
let n = t.hachureGap;
|
|
@@ -8313,7 +8313,7 @@ class _o {
|
|
|
8313
8313
|
return this._fillPolygons(t, r);
|
|
8314
8314
|
}
|
|
8315
8315
|
_fillPolygons(t, r) {
|
|
8316
|
-
const i =
|
|
8316
|
+
const i = Mi(t, r);
|
|
8317
8317
|
return { type: "fillSketch", ops: this.renderLines(i, r) };
|
|
8318
8318
|
}
|
|
8319
8319
|
renderLines(t, r) {
|
|
@@ -8330,7 +8330,7 @@ class v_ extends _o {
|
|
|
8330
8330
|
fillPolygons(t, r) {
|
|
8331
8331
|
let i = r.hachureGap;
|
|
8332
8332
|
i < 0 && (i = 4 * r.strokeWidth), i = Math.max(i, 0.1);
|
|
8333
|
-
const n =
|
|
8333
|
+
const n = Mi(t, Object.assign({}, r, { hachureGap: i })), a = Math.PI / 180 * r.hachureAngle, o = [], s = 0.5 * i * Math.cos(a), l = 0.5 * i * Math.sin(a);
|
|
8334
8334
|
for (const [c, h] of n) ra([c, h]) && o.push([[c[0] - s, c[1] + l], [...h]], [[c[0] + s, c[1] - l], [...h]]);
|
|
8335
8335
|
return { type: "fillSketch", ops: this.renderLines(o, r) };
|
|
8336
8336
|
}
|
|
@@ -8346,7 +8346,7 @@ class B_ {
|
|
|
8346
8346
|
this.helper = t;
|
|
8347
8347
|
}
|
|
8348
8348
|
fillPolygons(t, r) {
|
|
8349
|
-
const i =
|
|
8349
|
+
const i = Mi(t, r = Object.assign({}, r, { hachureAngle: 0 }));
|
|
8350
8350
|
return this.dotsOnLines(i, r);
|
|
8351
8351
|
}
|
|
8352
8352
|
dotsOnLines(t, r) {
|
|
@@ -8371,7 +8371,7 @@ class L_ {
|
|
|
8371
8371
|
this.helper = t;
|
|
8372
8372
|
}
|
|
8373
8373
|
fillPolygons(t, r) {
|
|
8374
|
-
const i =
|
|
8374
|
+
const i = Mi(t, r);
|
|
8375
8375
|
return { type: "fillSketch", ops: this.dashedLine(i, r) };
|
|
8376
8376
|
}
|
|
8377
8377
|
dashedLine(t, r) {
|
|
@@ -8393,7 +8393,7 @@ class A_ {
|
|
|
8393
8393
|
this.helper = t;
|
|
8394
8394
|
}
|
|
8395
8395
|
fillPolygons(t, r) {
|
|
8396
|
-
const i = r.hachureGap < 0 ? 4 * r.strokeWidth : r.hachureGap, n = r.zigzagOffset < 0 ? i : r.zigzagOffset, a =
|
|
8396
|
+
const i = r.hachureGap < 0 ? 4 * r.strokeWidth : r.hachureGap, n = r.zigzagOffset < 0 ? i : r.zigzagOffset, a = Mi(t, r = Object.assign({}, r, { hachureGap: i + n }));
|
|
8397
8397
|
return { type: "fillSketch", ops: this.zigzagLines(a, n, r) };
|
|
8398
8398
|
}
|
|
8399
8399
|
zigzagLines(t, r, i) {
|
|
@@ -8578,7 +8578,7 @@ function id(e) {
|
|
|
8578
8578
|
}
|
|
8579
8579
|
return t;
|
|
8580
8580
|
}
|
|
8581
|
-
function
|
|
8581
|
+
function ti(e, t, r) {
|
|
8582
8582
|
return [e * Math.cos(r) - t * Math.sin(r), e * Math.sin(r) + t * Math.cos(r)];
|
|
8583
8583
|
}
|
|
8584
8584
|
function nd(e, t, r, i, n, a, o, s, l, c) {
|
|
@@ -8587,7 +8587,7 @@ function nd(e, t, r, i, n, a, o, s, l, c) {
|
|
|
8587
8587
|
let f = [], d = 0, g = 0, m = 0, y = 0;
|
|
8588
8588
|
if (c) [d, g, m, y] = c;
|
|
8589
8589
|
else {
|
|
8590
|
-
[e, t] =
|
|
8590
|
+
[e, t] = ti(e, t, -h), [r, i] = ti(r, i, -h);
|
|
8591
8591
|
const R = (e - r) / 2, B = (t - i) / 2;
|
|
8592
8592
|
let A = R * R / (n * n) + B * B / (a * a);
|
|
8593
8593
|
A > 1 && (A = Math.sqrt(A), n *= A, a *= A);
|
|
@@ -8606,7 +8606,7 @@ function nd(e, t, r, i, n, a, o, s, l, c) {
|
|
|
8606
8606
|
f = [O, E, N].concat(f);
|
|
8607
8607
|
const R = [];
|
|
8608
8608
|
for (let B = 0; B < f.length; B += 3) {
|
|
8609
|
-
const A =
|
|
8609
|
+
const A = ti(f[B][0], f[B][1], h), T = ti(f[B + 1][0], f[B + 1][1], h), $ = ti(f[B + 2][0], f[B + 2][1], h);
|
|
8610
8610
|
R.push([A[0], A[1], T[0], T[1], $[0], $[1]]);
|
|
8611
8611
|
}
|
|
8612
8612
|
return R;
|
|
@@ -8823,20 +8823,20 @@ function D_(e, t, r, i, n, a, o, s) {
|
|
|
8823
8823
|
for (let d = 0; d < u; d++) d === 0 ? l.push({ op: "move", data: [o[0], o[1]] }) : l.push({ op: "move", data: [o[0] + (f ? 0 : nt(c[0], s)), o[1] + (f ? 0 : nt(c[0], s))] }), h = f ? [n, a] : [n + nt(c[d], s), a + nt(c[d], s)], l.push({ op: "bcurveTo", data: [e + nt(c[d], s), t + nt(c[d], s), r + nt(c[d], s), i + nt(c[d], s), h[0], h[1]] });
|
|
8824
8824
|
return l;
|
|
8825
8825
|
}
|
|
8826
|
-
function
|
|
8826
|
+
function ei(e) {
|
|
8827
8827
|
return [...e];
|
|
8828
8828
|
}
|
|
8829
8829
|
function Kl(e, t = 0) {
|
|
8830
8830
|
const r = e.length;
|
|
8831
8831
|
if (r < 3) throw new Error("A curve must have at least three points.");
|
|
8832
8832
|
const i = [];
|
|
8833
|
-
if (r === 3) i.push(
|
|
8833
|
+
if (r === 3) i.push(ei(e[0]), ei(e[1]), ei(e[2]), ei(e[2]));
|
|
8834
8834
|
else {
|
|
8835
8835
|
const n = [];
|
|
8836
8836
|
n.push(e[0], e[0]);
|
|
8837
8837
|
for (let s = 1; s < e.length; s++) n.push(e[s]), s === e.length - 1 && n.push(e[s]);
|
|
8838
8838
|
const a = [], o = 1 - t;
|
|
8839
|
-
i.push(
|
|
8839
|
+
i.push(ei(n[0]));
|
|
8840
8840
|
for (let s = 1; s + 2 < n.length; s++) {
|
|
8841
8841
|
const l = n[s];
|
|
8842
8842
|
a[0] = [l[0], l[1]], a[1] = [l[0] + (o * n[s + 1][0] - o * n[s - 1][0]) / 6, l[1] + (o * n[s + 1][1] - o * n[s - 1][1]) / 6], a[2] = [n[s + 1][0] + (o * n[s][0] - o * n[s + 2][0]) / 6, n[s + 1][1] + (o * n[s][1] - o * n[s + 2][1]) / 6], a[3] = [n[s + 1][0], n[s + 1][1]], i.push(a[1], a[2], a[3]);
|
|
@@ -9299,7 +9299,7 @@ function Pe(e, t, r, i, n, a) {
|
|
|
9299
9299
|
return o;
|
|
9300
9300
|
}
|
|
9301
9301
|
p(Pe, "generateFullSineWavePoints");
|
|
9302
|
-
function
|
|
9302
|
+
function Ci(e, t, r, i, n, a) {
|
|
9303
9303
|
const o = [], s = n * Math.PI / 180, h = (a * Math.PI / 180 - s) / (i - 1);
|
|
9304
9304
|
for (let u = 0; u < i; u++) {
|
|
9305
9305
|
const f = s + u * h, d = e + r * Math.cos(f), g = t + r * Math.sin(f);
|
|
@@ -9307,7 +9307,7 @@ function _i(e, t, r, i, n, a) {
|
|
|
9307
9307
|
}
|
|
9308
9308
|
return o;
|
|
9309
9309
|
}
|
|
9310
|
-
p(
|
|
9310
|
+
p(Ci, "generateCirclePoints");
|
|
9311
9311
|
var N_ = /* @__PURE__ */ p((e, t) => {
|
|
9312
9312
|
var r = e.x, i = e.y, n = t.x - r, a = t.y - i, o = e.width / 2, s = e.height / 2, l, c;
|
|
9313
9313
|
return Math.abs(a) * o > Math.abs(n) * s ? (a < 0 && (s = -s), l = a === 0 ? 0 : s * n / a, c = s) : (n < 0 && (o = -o), l = o, c = n === 0 ? 0 : o * a / n), { x: r + l, y: i + c };
|
|
@@ -9920,7 +9920,7 @@ async function Bd(e, t) {
|
|
|
9920
9920
|
{ x: 0, y: m / 2 },
|
|
9921
9921
|
{ x, y: m },
|
|
9922
9922
|
{ x: y, y: m },
|
|
9923
|
-
...
|
|
9923
|
+
...Ci(-y, -m / 2, h, 50, 270, 90)
|
|
9924
9924
|
], C = lt(b), k = f.path(C, d), w = n.insert(() => k, ":first-child");
|
|
9925
9925
|
return w.attr("class", "basic label-container"), u && t.look !== "handDrawn" && w.selectChildren("path").attr("style", u), i && t.look !== "handDrawn" && w.selectChildren("path").attr("style", i), w.attr("transform", `translate(${-l / 2}, ${-c / 2})`), G(t, w), t.intersect = function(L) {
|
|
9926
9926
|
return W.polygon(t, b, L);
|
|
@@ -10068,7 +10068,7 @@ async function Dd(e, t) {
|
|
|
10068
10068
|
const g = [
|
|
10069
10069
|
{ x: -l / 2, y: -c / 2 },
|
|
10070
10070
|
{ x: l / 2 - h, y: -c / 2 },
|
|
10071
|
-
...
|
|
10071
|
+
...Ci(-l / 2 + h, 0, h, 50, 90, 270),
|
|
10072
10072
|
{ x: l / 2 - h, y: c / 2 },
|
|
10073
10073
|
{ x: -l / 2, y: c / 2 }
|
|
10074
10074
|
], m = lt(g), y = f.path(m, d), x = o.insert(() => y, ":first-child");
|
|
@@ -10131,7 +10131,7 @@ async function Id(e, t, { config: { themeVariables: r, flowchart: i } }) {
|
|
|
10131
10131
|
if (t.icon) {
|
|
10132
10132
|
const N = c.append("g");
|
|
10133
10133
|
N.html(
|
|
10134
|
-
`<g>${await
|
|
10134
|
+
`<g>${await Ai(t.icon, {
|
|
10135
10135
|
height: s,
|
|
10136
10136
|
width: s,
|
|
10137
10137
|
fallbackPrefix: ""
|
|
@@ -10187,7 +10187,7 @@ async function Pd(e, t, { config: { themeVariables: r, flowchart: i } }) {
|
|
|
10187
10187
|
C.stroke = k ?? y;
|
|
10188
10188
|
const w = c.append("g");
|
|
10189
10189
|
t.icon && w.html(
|
|
10190
|
-
`<g>${await
|
|
10190
|
+
`<g>${await Ai(t.icon, {
|
|
10191
10191
|
height: s,
|
|
10192
10192
|
width: s,
|
|
10193
10193
|
fallbackPrefix: ""
|
|
@@ -10233,7 +10233,7 @@ async function Nd(e, t, { config: { themeVariables: r, flowchart: i } }) {
|
|
|
10233
10233
|
if (t.icon) {
|
|
10234
10234
|
const A = c.append("g");
|
|
10235
10235
|
A.html(
|
|
10236
|
-
`<g>${await
|
|
10236
|
+
`<g>${await Ai(t.icon, {
|
|
10237
10237
|
height: s,
|
|
10238
10238
|
width: s,
|
|
10239
10239
|
fallbackPrefix: ""
|
|
@@ -10299,7 +10299,7 @@ async function zd(e, t, { config: { themeVariables: r, flowchart: i } }) {
|
|
|
10299
10299
|
if (t.icon) {
|
|
10300
10300
|
const A = c.append("g");
|
|
10301
10301
|
A.html(
|
|
10302
|
-
`<g>${await
|
|
10302
|
+
`<g>${await Ai(t.icon, {
|
|
10303
10303
|
height: s,
|
|
10304
10304
|
width: s,
|
|
10305
10305
|
fallbackPrefix: ""
|
|
@@ -10793,7 +10793,7 @@ async function tp(e, t) {
|
|
|
10793
10793
|
}, a;
|
|
10794
10794
|
}
|
|
10795
10795
|
p(tp, "rectWithTitle");
|
|
10796
|
-
function
|
|
10796
|
+
function ai(e, t, r, i, n, a, o) {
|
|
10797
10797
|
const l = (e + r) / 2, c = (t + i) / 2, h = Math.atan2(i - t, r - e), u = (r - e) / 2, f = (i - t) / 2, d = u / n, g = f / a, m = Math.sqrt(d ** 2 + g ** 2);
|
|
10798
10798
|
if (m > 1)
|
|
10799
10799
|
throw new Error("The given radii are too small to create an arc between the points.");
|
|
@@ -10807,7 +10807,7 @@ function si(e, t, r, i, n, a, o) {
|
|
|
10807
10807
|
}
|
|
10808
10808
|
return L;
|
|
10809
10809
|
}
|
|
10810
|
-
p(
|
|
10810
|
+
p(ai, "generateArcPoints");
|
|
10811
10811
|
async function ep(e, t) {
|
|
10812
10812
|
const { labelStyles: r, nodeStyles: i } = Y(t);
|
|
10813
10813
|
t.labelStyle = r;
|
|
@@ -10819,28 +10819,28 @@ async function ep(e, t) {
|
|
|
10819
10819
|
// Top-left corner start (1)
|
|
10820
10820
|
{ x: l / 2 - u, y: -c / 2 },
|
|
10821
10821
|
// Top-right corner start (2)
|
|
10822
|
-
...
|
|
10822
|
+
...ai(l / 2 - u, -c / 2, l / 2, -c / 2 + u, h, h, !0),
|
|
10823
10823
|
// Top-left arc (2 to 3)
|
|
10824
10824
|
// Right edge (top to bottom)
|
|
10825
10825
|
{ x: l / 2, y: -c / 2 + u },
|
|
10826
10826
|
// Top-right taper point (3)
|
|
10827
10827
|
{ x: l / 2, y: c / 2 - u },
|
|
10828
10828
|
// Bottom-right taper point (4)
|
|
10829
|
-
...
|
|
10829
|
+
...ai(l / 2, c / 2 - u, l / 2 - u, c / 2, h, h, !0),
|
|
10830
10830
|
// Top-left arc (4 to 5)
|
|
10831
10831
|
// Bottom edge (right to left)
|
|
10832
10832
|
{ x: l / 2 - u, y: c / 2 },
|
|
10833
10833
|
// Bottom-right corner start (5)
|
|
10834
10834
|
{ x: -l / 2 + u, y: c / 2 },
|
|
10835
10835
|
// Bottom-left corner start (6)
|
|
10836
|
-
...
|
|
10836
|
+
...ai(-l / 2 + u, c / 2, -l / 2, c / 2 - u, h, h, !0),
|
|
10837
10837
|
// Top-left arc (4 to 5)
|
|
10838
10838
|
// Left edge (bottom to top)
|
|
10839
10839
|
{ x: -l / 2, y: c / 2 - u },
|
|
10840
10840
|
// Bottom-left taper point (7)
|
|
10841
10841
|
{ x: -l / 2, y: -c / 2 + u },
|
|
10842
10842
|
// Top-left taper point (8)
|
|
10843
|
-
...
|
|
10843
|
+
...ai(-l / 2, -c / 2 + u, -l / 2 + u, -c / 2, h, h, !0)
|
|
10844
10844
|
// Top-left arc (4 to 5)
|
|
10845
10845
|
], y = lt(m), x = d.path(y, g), b = n.insert(() => x, ":first-child");
|
|
10846
10846
|
return b.attr("class", "basic label-container outer-path"), f && t.look !== "handDrawn" && b.selectChildren("path").attr("style", f), i && t.look !== "handDrawn" && b.selectChildren("path").attr("style", i), G(t, b), t.intersect = function(C) {
|
|
@@ -10910,9 +10910,9 @@ async function ap(e, t) {
|
|
|
10910
10910
|
const f = [
|
|
10911
10911
|
{ x: -s / 2 + l, y: -o / 2 },
|
|
10912
10912
|
{ x: s / 2 - l, y: -o / 2 },
|
|
10913
|
-
...
|
|
10913
|
+
...Ci(-s / 2 + l, 0, l, 50, 90, 270),
|
|
10914
10914
|
{ x: s / 2 - l, y: o / 2 },
|
|
10915
|
-
...
|
|
10915
|
+
...Ci(s / 2 - l, 0, l, 50, 270, 450)
|
|
10916
10916
|
], d = lt(f), g = h.path(d, u), m = n.insert(() => g, ":first-child");
|
|
10917
10917
|
return m.attr("class", "basic label-container outer-path"), c && t.look !== "handDrawn" && m.selectChildren("path").attr("style", c), i && t.look !== "handDrawn" && m.selectChildren("path").attr("style", i), G(t, m), t.intersect = function(y) {
|
|
10918
10918
|
return W.polygon(t, f, y);
|
|
@@ -11407,20 +11407,20 @@ async function Cp(e, t, r, i, n = r.class.padding ?? 12) {
|
|
|
11407
11407
|
let s = null, l = null, c = null, h = null, u = 0, f = 0, d = 0;
|
|
11408
11408
|
if (s = o.insert("g").attr("class", "annotation-group text"), t.annotations.length > 0) {
|
|
11409
11409
|
const b = t.annotations[0];
|
|
11410
|
-
await
|
|
11410
|
+
await si(s, { text: `«${b}»` }, 0), u = s.node().getBBox().height;
|
|
11411
11411
|
}
|
|
11412
|
-
l = o.insert("g").attr("class", "label-group text"), await
|
|
11412
|
+
l = o.insert("g").attr("class", "label-group text"), await si(l, t, 0, ["font-weight: bolder"]);
|
|
11413
11413
|
const g = l.node().getBBox();
|
|
11414
11414
|
f = g.height, c = o.insert("g").attr("class", "members-group text");
|
|
11415
11415
|
let m = 0;
|
|
11416
11416
|
for (const b of t.members) {
|
|
11417
|
-
const C = await
|
|
11417
|
+
const C = await si(c, b, m, [b.parseClassifier()]);
|
|
11418
11418
|
m += C + a;
|
|
11419
11419
|
}
|
|
11420
11420
|
d = c.node().getBBox().height, d <= 0 && (d = n / 2), h = o.insert("g").attr("class", "methods-group text");
|
|
11421
11421
|
let y = 0;
|
|
11422
11422
|
for (const b of t.methods) {
|
|
11423
|
-
const C = await
|
|
11423
|
+
const C = await si(h, b, y, [b.parseClassifier()]);
|
|
11424
11424
|
y += C + a;
|
|
11425
11425
|
}
|
|
11426
11426
|
let x = o.node().getBBox();
|
|
@@ -11437,7 +11437,7 @@ async function Cp(e, t, r, i, n = r.class.padding ?? 12) {
|
|
|
11437
11437
|
), x = o.node().getBBox(), { shapeSvg: o, bbox: x };
|
|
11438
11438
|
}
|
|
11439
11439
|
p(Cp, "textHelper");
|
|
11440
|
-
async function
|
|
11440
|
+
async function si(e, t, r, i = []) {
|
|
11441
11441
|
const n = e.insert("g").attr("class", "label").attr("style", i.join("; ")), a = Dt();
|
|
11442
11442
|
let o = "useHtmlLabels" in t ? t.useHtmlLabels : Bt(a.htmlLabels) ?? !0, s = "";
|
|
11443
11443
|
"text" in t ? s = t.text : s = t.label, !o && s.startsWith("\\") && (s = s.substring(1)), Fr(s) && (o = !0);
|
|
@@ -11485,7 +11485,7 @@ async function oi(e, t, r, i = []) {
|
|
|
11485
11485
|
}
|
|
11486
11486
|
return n.attr("transform", "translate(0," + (-c.height / (2 * h) + r) + ")"), c.height;
|
|
11487
11487
|
}
|
|
11488
|
-
p(
|
|
11488
|
+
p(si, "addText");
|
|
11489
11489
|
async function _p(e, t) {
|
|
11490
11490
|
const r = ft(), i = r.class.padding ?? 12, n = i, a = t.useHtmlLabels ?? Bt(r.htmlLabels) ?? !0, o = t;
|
|
11491
11491
|
o.annotations = o.annotations ?? [], o.members = o.members ?? [], o.methods = o.methods ?? [];
|
|
@@ -12389,7 +12389,7 @@ var PT = /* @__PURE__ */ p((e, t) => {
|
|
|
12389
12389
|
), h = e.insert("g").attr("class", "edgeTerminals"), u = h.insert("g").attr("class", "inner");
|
|
12390
12390
|
l = u.node().appendChild(c);
|
|
12391
12391
|
const f = c.getBBox();
|
|
12392
|
-
u.attr("transform", "translate(" + -f.width / 2 + ", " + -f.height / 2 + ")"), Mt.get(t.id) || Mt.set(t.id, {}), Mt.get(t.id).startLeft = h,
|
|
12392
|
+
u.attr("transform", "translate(" + -f.width / 2 + ", " + -f.height / 2 + ")"), Mt.get(t.id) || Mt.set(t.id, {}), Mt.get(t.id).startLeft = h, oi(l, t.startLabelLeft);
|
|
12393
12393
|
}
|
|
12394
12394
|
if (t.startLabelRight) {
|
|
12395
12395
|
const c = await Qe(
|
|
@@ -12398,26 +12398,26 @@ var PT = /* @__PURE__ */ p((e, t) => {
|
|
|
12398
12398
|
), h = e.insert("g").attr("class", "edgeTerminals"), u = h.insert("g").attr("class", "inner");
|
|
12399
12399
|
l = h.node().appendChild(c), u.node().appendChild(c);
|
|
12400
12400
|
const f = c.getBBox();
|
|
12401
|
-
u.attr("transform", "translate(" + -f.width / 2 + ", " + -f.height / 2 + ")"), Mt.get(t.id) || Mt.set(t.id, {}), Mt.get(t.id).startRight = h,
|
|
12401
|
+
u.attr("transform", "translate(" + -f.width / 2 + ", " + -f.height / 2 + ")"), Mt.get(t.id) || Mt.set(t.id, {}), Mt.get(t.id).startRight = h, oi(l, t.startLabelRight);
|
|
12402
12402
|
}
|
|
12403
12403
|
if (t.endLabelLeft) {
|
|
12404
12404
|
const c = await Qe(t.endLabelLeft, Yi(t.labelStyle)), h = e.insert("g").attr("class", "edgeTerminals"), u = h.insert("g").attr("class", "inner");
|
|
12405
12405
|
l = u.node().appendChild(c);
|
|
12406
12406
|
const f = c.getBBox();
|
|
12407
|
-
u.attr("transform", "translate(" + -f.width / 2 + ", " + -f.height / 2 + ")"), h.node().appendChild(c), Mt.get(t.id) || Mt.set(t.id, {}), Mt.get(t.id).endLeft = h,
|
|
12407
|
+
u.attr("transform", "translate(" + -f.width / 2 + ", " + -f.height / 2 + ")"), h.node().appendChild(c), Mt.get(t.id) || Mt.set(t.id, {}), Mt.get(t.id).endLeft = h, oi(l, t.endLabelLeft);
|
|
12408
12408
|
}
|
|
12409
12409
|
if (t.endLabelRight) {
|
|
12410
12410
|
const c = await Qe(t.endLabelRight, Yi(t.labelStyle)), h = e.insert("g").attr("class", "edgeTerminals"), u = h.insert("g").attr("class", "inner");
|
|
12411
12411
|
l = u.node().appendChild(c);
|
|
12412
12412
|
const f = c.getBBox();
|
|
12413
|
-
u.attr("transform", "translate(" + -f.width / 2 + ", " + -f.height / 2 + ")"), h.node().appendChild(c), Mt.get(t.id) || Mt.set(t.id, {}), Mt.get(t.id).endRight = h,
|
|
12413
|
+
u.attr("transform", "translate(" + -f.width / 2 + ", " + -f.height / 2 + ")"), h.node().appendChild(c), Mt.get(t.id) || Mt.set(t.id, {}), Mt.get(t.id).endRight = h, oi(l, t.endLabelRight);
|
|
12414
12414
|
}
|
|
12415
12415
|
return n;
|
|
12416
12416
|
}, "insertEdgeLabel");
|
|
12417
|
-
function
|
|
12417
|
+
function oi(e, t) {
|
|
12418
12418
|
ft().flowchart.htmlLabels && e && (e.style.width = t.length * 9 + "px", e.style.height = "12px");
|
|
12419
12419
|
}
|
|
12420
|
-
p(
|
|
12420
|
+
p(oi, "setTerminalWidth");
|
|
12421
12421
|
var gw = /* @__PURE__ */ p((e, t) => {
|
|
12422
12422
|
F.debug("Moving label abc88 ", e.id, e.label, Rn.get(e.id), t);
|
|
12423
12423
|
let r = t.updatedPath ? t.updatedPath : t.originalPath;
|
|
@@ -12821,33 +12821,33 @@ var _w = /* @__PURE__ */ p((e, t, r, i) => {
|
|
|
12821
12821
|
labelHelper: it,
|
|
12822
12822
|
log: F,
|
|
12823
12823
|
positionEdgeLabel: gw
|
|
12824
|
-
},
|
|
12824
|
+
}, _i = {}, Fp = /* @__PURE__ */ p((e) => {
|
|
12825
12825
|
for (const t of e)
|
|
12826
|
-
|
|
12826
|
+
_i[t.name] = t;
|
|
12827
12827
|
}, "registerLayoutLoaders"), zw = /* @__PURE__ */ p(() => {
|
|
12828
12828
|
Fp([
|
|
12829
12829
|
{
|
|
12830
12830
|
name: "dagre",
|
|
12831
|
-
loader: /* @__PURE__ */ p(async () => await import("./dagre-6UL2VRFP.
|
|
12831
|
+
loader: /* @__PURE__ */ p(async () => await import("./dagre-6UL2VRFP.B9RdQigc.js"), "loader")
|
|
12832
12832
|
},
|
|
12833
12833
|
{
|
|
12834
12834
|
name: "cose-bilkent",
|
|
12835
|
-
loader: /* @__PURE__ */ p(async () => await import("./cose-bilkent-S5V4N54A.
|
|
12835
|
+
loader: /* @__PURE__ */ p(async () => await import("./cose-bilkent-S5V4N54A._zYZjE0O.js"), "loader")
|
|
12836
12836
|
}
|
|
12837
12837
|
]);
|
|
12838
12838
|
}, "registerDefaultLayoutLoaders");
|
|
12839
12839
|
zw();
|
|
12840
12840
|
var qT = /* @__PURE__ */ p(async (e, t) => {
|
|
12841
|
-
if (!(e.layoutAlgorithm in
|
|
12841
|
+
if (!(e.layoutAlgorithm in _i))
|
|
12842
12842
|
throw new Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);
|
|
12843
|
-
const r =
|
|
12843
|
+
const r = _i[e.layoutAlgorithm];
|
|
12844
12844
|
return (await r.loader()).render(e, t, Nw, {
|
|
12845
12845
|
algorithm: r.algorithm
|
|
12846
12846
|
});
|
|
12847
12847
|
}, "render"), HT = /* @__PURE__ */ p((e = "", { fallback: t = "dagre" } = {}) => {
|
|
12848
|
-
if (e in
|
|
12848
|
+
if (e in _i)
|
|
12849
12849
|
return e;
|
|
12850
|
-
if (t in
|
|
12850
|
+
if (t in _i)
|
|
12851
12851
|
return F.warn(`Layout algorithm ${e} is not registered. Using ${t} as fallback.`), t;
|
|
12852
12852
|
throw new Error(`Both layout algorithms ${e} and ${t} are not registered.`);
|
|
12853
12853
|
}, "getRegisteredLayoutAlgorithm"), Dp = "comm", Op = "rule", Rp = "decl", Ww = "@import", qw = "@namespace", Hw = "@keyframes", jw = "@layer", Ip = Math.abs, vo = String.fromCharCode;
|
|
@@ -12897,7 +12897,7 @@ function an() {
|
|
|
12897
12897
|
function sa(e, t) {
|
|
12898
12898
|
return Rr(Hr, e, t);
|
|
12899
12899
|
}
|
|
12900
|
-
function
|
|
12900
|
+
function wi(e) {
|
|
12901
12901
|
switch (e) {
|
|
12902
12902
|
// \0 \t \n \r \s whitespace token
|
|
12903
12903
|
case 0:
|
|
@@ -12947,7 +12947,7 @@ function Oa(e) {
|
|
|
12947
12947
|
function Kw(e) {
|
|
12948
12948
|
for (; (wt = Fe()) && wt < 33; )
|
|
12949
12949
|
oe();
|
|
12950
|
-
return
|
|
12950
|
+
return wi(e) > 2 || wi(wt) > 3 ? "" : " ";
|
|
12951
12951
|
}
|
|
12952
12952
|
function Qw(e, t) {
|
|
12953
12953
|
for (; --t && oe() && !(wt < 48 || wt > 102 || wt > 57 && wt < 65 || wt > 70 && wt < 97); )
|
|
@@ -12983,7 +12983,7 @@ function Jw(e, t) {
|
|
|
12983
12983
|
return "/*" + sa(t, te - 1) + "*" + vo(e === 47 ? e : oe());
|
|
12984
12984
|
}
|
|
12985
12985
|
function tk(e) {
|
|
12986
|
-
for (; !
|
|
12986
|
+
for (; !wi(Fe()); )
|
|
12987
12987
|
oe();
|
|
12988
12988
|
return sa(e, te);
|
|
12989
12989
|
}
|
|
@@ -13021,7 +13021,7 @@ function sn(e, t, r, i, n, a, o, s, l) {
|
|
|
13021
13021
|
switch (Fe()) {
|
|
13022
13022
|
case 42:
|
|
13023
13023
|
case 47:
|
|
13024
|
-
Gi(rk(Jw(oe(), an()), t, r, l), l), (
|
|
13024
|
+
Gi(rk(Jw(oe(), an()), t, r, l), l), (wi(g || 1) == 5 || wi(Fe() || 1) == 5) && pe(v) && Rr(v, -1, void 0) !== " " && (v += " ");
|
|
13025
13025
|
break;
|
|
13026
13026
|
default:
|
|
13027
13027
|
v += "/";
|
|
@@ -13144,8 +13144,8 @@ function ok(e) {
|
|
|
13144
13144
|
sk.call(e, r) && r != "constructor" && t.push(r);
|
|
13145
13145
|
return t;
|
|
13146
13146
|
}
|
|
13147
|
-
var Ts = lr(be, "DataView"), Bs = lr(be, "Promise"), Ls = lr(be, "Set"), As = lr(be, "WeakMap"), ic = "[object Map]", lk = "[object Object]", nc = "[object Promise]", ac = "[object Set]", sc = "[object WeakMap]", oc = "[object DataView]", ck = or(Ts), hk = or(
|
|
13148
|
-
(Ts && Xe(new Ts(new ArrayBuffer(1))) != oc ||
|
|
13147
|
+
var Ts = lr(be, "DataView"), Bs = lr(be, "Promise"), Ls = lr(be, "Set"), As = lr(be, "WeakMap"), ic = "[object Map]", lk = "[object Object]", nc = "[object Promise]", ac = "[object Set]", sc = "[object WeakMap]", oc = "[object DataView]", ck = or(Ts), hk = or(bi), uk = or(Bs), fk = or(Ls), dk = or(As), Xe = zr;
|
|
13148
|
+
(Ts && Xe(new Ts(new ArrayBuffer(1))) != oc || bi && Xe(new bi()) != ic || Bs && Xe(Bs.resolve()) != nc || Ls && Xe(new Ls()) != ac || As && Xe(new As()) != sc) && (Xe = function(e) {
|
|
13149
13149
|
var t = zr(e), r = t == lk ? e.constructor : void 0, i = r ? or(r) : "";
|
|
13150
13150
|
if (i)
|
|
13151
13151
|
switch (i) {
|
|
@@ -13179,119 +13179,119 @@ function lc(e) {
|
|
|
13179
13179
|
return !0;
|
|
13180
13180
|
}
|
|
13181
13181
|
var zp = "c4", xk = /* @__PURE__ */ p((e) => /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e), "detector"), bk = /* @__PURE__ */ p(async () => {
|
|
13182
|
-
const { diagram: e } = await import("./c4Diagram-YG6GDRKO.
|
|
13182
|
+
const { diagram: e } = await import("./c4Diagram-YG6GDRKO.vEkpo0P1.js");
|
|
13183
13183
|
return { id: zp, diagram: e };
|
|
13184
13184
|
}, "loader"), Ck = {
|
|
13185
13185
|
id: zp,
|
|
13186
13186
|
detector: xk,
|
|
13187
13187
|
loader: bk
|
|
13188
13188
|
}, _k = Ck, Wp = "flowchart", wk = /* @__PURE__ */ p((e, t) => t?.flowchart?.defaultRenderer === "dagre-wrapper" || t?.flowchart?.defaultRenderer === "elk" ? !1 : /^\s*graph/.test(e), "detector"), kk = /* @__PURE__ */ p(async () => {
|
|
13189
|
-
const { diagram: e } = await import("./flowDiagram-NV44I4VS.
|
|
13189
|
+
const { diagram: e } = await import("./flowDiagram-NV44I4VS.Bq_ZVHUc.js");
|
|
13190
13190
|
return { id: Wp, diagram: e };
|
|
13191
13191
|
}, "loader"), Sk = {
|
|
13192
13192
|
id: Wp,
|
|
13193
13193
|
detector: wk,
|
|
13194
13194
|
loader: kk
|
|
13195
13195
|
}, vk = Sk, qp = "flowchart-v2", Tk = /* @__PURE__ */ p((e, t) => t?.flowchart?.defaultRenderer === "dagre-d3" ? !1 : (t?.flowchart?.defaultRenderer === "elk" && (t.layout = "elk"), /^\s*graph/.test(e) && t?.flowchart?.defaultRenderer === "dagre-wrapper" ? !0 : /^\s*flowchart/.test(e)), "detector"), Bk = /* @__PURE__ */ p(async () => {
|
|
13196
|
-
const { diagram: e } = await import("./flowDiagram-NV44I4VS.
|
|
13196
|
+
const { diagram: e } = await import("./flowDiagram-NV44I4VS.Bq_ZVHUc.js");
|
|
13197
13197
|
return { id: qp, diagram: e };
|
|
13198
13198
|
}, "loader"), Lk = {
|
|
13199
13199
|
id: qp,
|
|
13200
13200
|
detector: Tk,
|
|
13201
13201
|
loader: Bk
|
|
13202
13202
|
}, Ak = Lk, Hp = "er", Mk = /* @__PURE__ */ p((e) => /^\s*erDiagram/.test(e), "detector"), Ek = /* @__PURE__ */ p(async () => {
|
|
13203
|
-
const { diagram: e } = await import("./erDiagram-Q2GNP2WA.
|
|
13203
|
+
const { diagram: e } = await import("./erDiagram-Q2GNP2WA.D--J9Jom.js");
|
|
13204
13204
|
return { id: Hp, diagram: e };
|
|
13205
13205
|
}, "loader"), $k = {
|
|
13206
13206
|
id: Hp,
|
|
13207
13207
|
detector: Mk,
|
|
13208
13208
|
loader: Ek
|
|
13209
13209
|
}, Fk = $k, jp = "gitGraph", Dk = /* @__PURE__ */ p((e) => /^\s*gitGraph/.test(e), "detector"), Ok = /* @__PURE__ */ p(async () => {
|
|
13210
|
-
const { diagram: e } = await import("./gitGraphDiagram-NY62KEGX.
|
|
13210
|
+
const { diagram: e } = await import("./gitGraphDiagram-NY62KEGX.CryIJniq.js");
|
|
13211
13211
|
return { id: jp, diagram: e };
|
|
13212
13212
|
}, "loader"), Rk = {
|
|
13213
13213
|
id: jp,
|
|
13214
13214
|
detector: Dk,
|
|
13215
13215
|
loader: Ok
|
|
13216
13216
|
}, Ik = Rk, Up = "gantt", Pk = /* @__PURE__ */ p((e) => /^\s*gantt/.test(e), "detector"), Nk = /* @__PURE__ */ p(async () => {
|
|
13217
|
-
const { diagram: e } = await import("./ganttDiagram-JELNMOA3
|
|
13217
|
+
const { diagram: e } = await import("./ganttDiagram-JELNMOA3.BUmp0zYh.js");
|
|
13218
13218
|
return { id: Up, diagram: e };
|
|
13219
13219
|
}, "loader"), zk = {
|
|
13220
13220
|
id: Up,
|
|
13221
13221
|
detector: Pk,
|
|
13222
13222
|
loader: Nk
|
|
13223
13223
|
}, Wk = zk, Yp = "info", qk = /* @__PURE__ */ p((e) => /^\s*info/.test(e), "detector"), Hk = /* @__PURE__ */ p(async () => {
|
|
13224
|
-
const { diagram: e } = await import("./infoDiagram-WHAUD3N6.
|
|
13224
|
+
const { diagram: e } = await import("./infoDiagram-WHAUD3N6.By3_MYN2.js");
|
|
13225
13225
|
return { id: Yp, diagram: e };
|
|
13226
13226
|
}, "loader"), jk = {
|
|
13227
13227
|
id: Yp,
|
|
13228
13228
|
detector: qk,
|
|
13229
13229
|
loader: Hk
|
|
13230
13230
|
}, Gp = "pie", Uk = /* @__PURE__ */ p((e) => /^\s*pie/.test(e), "detector"), Yk = /* @__PURE__ */ p(async () => {
|
|
13231
|
-
const { diagram: e } = await import("./pieDiagram-ADFJNKIX.
|
|
13231
|
+
const { diagram: e } = await import("./pieDiagram-ADFJNKIX.oxZ0B7rg.js");
|
|
13232
13232
|
return { id: Gp, diagram: e };
|
|
13233
13233
|
}, "loader"), Gk = {
|
|
13234
13234
|
id: Gp,
|
|
13235
13235
|
detector: Uk,
|
|
13236
13236
|
loader: Yk
|
|
13237
13237
|
}, Xp = "quadrantChart", Xk = /* @__PURE__ */ p((e) => /^\s*quadrantChart/.test(e), "detector"), Vk = /* @__PURE__ */ p(async () => {
|
|
13238
|
-
const { diagram: e } = await import("./quadrantDiagram-AYHSOK5B.
|
|
13238
|
+
const { diagram: e } = await import("./quadrantDiagram-AYHSOK5B.qdRnCaDt.js");
|
|
13239
13239
|
return { id: Xp, diagram: e };
|
|
13240
13240
|
}, "loader"), Zk = {
|
|
13241
13241
|
id: Xp,
|
|
13242
13242
|
detector: Xk,
|
|
13243
13243
|
loader: Vk
|
|
13244
13244
|
}, Kk = Zk, Vp = "xychart", Qk = /* @__PURE__ */ p((e) => /^\s*xychart(-beta)?/.test(e), "detector"), Jk = /* @__PURE__ */ p(async () => {
|
|
13245
|
-
const { diagram: e } = await import("./xychartDiagram-PRI3JC2R.
|
|
13245
|
+
const { diagram: e } = await import("./xychartDiagram-PRI3JC2R.dwIl0s4S.js");
|
|
13246
13246
|
return { id: Vp, diagram: e };
|
|
13247
13247
|
}, "loader"), tS = {
|
|
13248
13248
|
id: Vp,
|
|
13249
13249
|
detector: Qk,
|
|
13250
13250
|
loader: Jk
|
|
13251
13251
|
}, eS = tS, Zp = "requirement", rS = /* @__PURE__ */ p((e) => /^\s*requirement(Diagram)?/.test(e), "detector"), iS = /* @__PURE__ */ p(async () => {
|
|
13252
|
-
const { diagram: e } = await import("./requirementDiagram-UZGBJVZJ.
|
|
13252
|
+
const { diagram: e } = await import("./requirementDiagram-UZGBJVZJ.BgzsQhvf.js");
|
|
13253
13253
|
return { id: Zp, diagram: e };
|
|
13254
13254
|
}, "loader"), nS = {
|
|
13255
13255
|
id: Zp,
|
|
13256
13256
|
detector: rS,
|
|
13257
13257
|
loader: iS
|
|
13258
13258
|
}, aS = nS, Kp = "sequence", sS = /* @__PURE__ */ p((e) => /^\s*sequenceDiagram/.test(e), "detector"), oS = /* @__PURE__ */ p(async () => {
|
|
13259
|
-
const { diagram: e } = await import("./sequenceDiagram-WL72ISMW.
|
|
13259
|
+
const { diagram: e } = await import("./sequenceDiagram-WL72ISMW.xqbpLE21.js");
|
|
13260
13260
|
return { id: Kp, diagram: e };
|
|
13261
13261
|
}, "loader"), lS = {
|
|
13262
13262
|
id: Kp,
|
|
13263
13263
|
detector: sS,
|
|
13264
13264
|
loader: oS
|
|
13265
13265
|
}, cS = lS, Qp = "class", hS = /* @__PURE__ */ p((e, t) => t?.class?.defaultRenderer === "dagre-wrapper" ? !1 : /^\s*classDiagram/.test(e), "detector"), uS = /* @__PURE__ */ p(async () => {
|
|
13266
|
-
const { diagram: e } = await import("./classDiagram-2ON5EDUG.
|
|
13266
|
+
const { diagram: e } = await import("./classDiagram-2ON5EDUG.BnU5JPL3.js");
|
|
13267
13267
|
return { id: Qp, diagram: e };
|
|
13268
13268
|
}, "loader"), fS = {
|
|
13269
13269
|
id: Qp,
|
|
13270
13270
|
detector: hS,
|
|
13271
13271
|
loader: uS
|
|
13272
13272
|
}, dS = fS, Jp = "classDiagram", pS = /* @__PURE__ */ p((e, t) => /^\s*classDiagram/.test(e) && t?.class?.defaultRenderer === "dagre-wrapper" ? !0 : /^\s*classDiagram-v2/.test(e), "detector"), gS = /* @__PURE__ */ p(async () => {
|
|
13273
|
-
const { diagram: e } = await import("./classDiagram-v2-WZHVMYZB.
|
|
13273
|
+
const { diagram: e } = await import("./classDiagram-v2-WZHVMYZB.BnU5JPL3.js");
|
|
13274
13274
|
return { id: Jp, diagram: e };
|
|
13275
13275
|
}, "loader"), mS = {
|
|
13276
13276
|
id: Jp,
|
|
13277
13277
|
detector: pS,
|
|
13278
13278
|
loader: gS
|
|
13279
13279
|
}, yS = mS, tg = "state", xS = /* @__PURE__ */ p((e, t) => t?.state?.defaultRenderer === "dagre-wrapper" ? !1 : /^\s*stateDiagram/.test(e), "detector"), bS = /* @__PURE__ */ p(async () => {
|
|
13280
|
-
const { diagram: e } = await import("./stateDiagram-FKZM4ZOC.
|
|
13280
|
+
const { diagram: e } = await import("./stateDiagram-FKZM4ZOC.DB8RxtL0.js");
|
|
13281
13281
|
return { id: tg, diagram: e };
|
|
13282
13282
|
}, "loader"), CS = {
|
|
13283
13283
|
id: tg,
|
|
13284
13284
|
detector: xS,
|
|
13285
13285
|
loader: bS
|
|
13286
13286
|
}, _S = CS, eg = "stateDiagram", wS = /* @__PURE__ */ p((e, t) => !!(/^\s*stateDiagram-v2/.test(e) || /^\s*stateDiagram/.test(e) && t?.state?.defaultRenderer === "dagre-wrapper"), "detector"), kS = /* @__PURE__ */ p(async () => {
|
|
13287
|
-
const { diagram: e } = await import("./stateDiagram-v2-4FDKWEC3.
|
|
13287
|
+
const { diagram: e } = await import("./stateDiagram-v2-4FDKWEC3.B-vb1oaU.js");
|
|
13288
13288
|
return { id: eg, diagram: e };
|
|
13289
13289
|
}, "loader"), SS = {
|
|
13290
13290
|
id: eg,
|
|
13291
13291
|
detector: wS,
|
|
13292
13292
|
loader: kS
|
|
13293
13293
|
}, vS = SS, rg = "journey", TS = /* @__PURE__ */ p((e) => /^\s*journey/.test(e), "detector"), BS = /* @__PURE__ */ p(async () => {
|
|
13294
|
-
const { diagram: e } = await import("./journeyDiagram-XKPGCS4Q.
|
|
13294
|
+
const { diagram: e } = await import("./journeyDiagram-XKPGCS4Q.CL6NUluV.js");
|
|
13295
13295
|
return { id: rg, diagram: e };
|
|
13296
13296
|
}, "loader"), LS = {
|
|
13297
13297
|
id: rg,
|
|
@@ -13332,70 +13332,70 @@ var zp = "c4", xk = /* @__PURE__ */ p((e) => /^\s*C4Context|C4Container|C4Compon
|
|
|
13332
13332
|
/^\s*flowchart-elk/.test(e) || // If a flowchart/graph diagram has their default renderer set to elk
|
|
13333
13333
|
/^\s*(flowchart|graph)/.test(e) && t?.flowchart?.defaultRenderer === "elk" ? (t.layout = "elk", !0) : !1
|
|
13334
13334
|
), "detector"), OS = /* @__PURE__ */ p(async () => {
|
|
13335
|
-
const { diagram: e } = await import("./flowDiagram-NV44I4VS.
|
|
13335
|
+
const { diagram: e } = await import("./flowDiagram-NV44I4VS.Bq_ZVHUc.js");
|
|
13336
13336
|
return { id: ng, diagram: e };
|
|
13337
13337
|
}, "loader"), RS = {
|
|
13338
13338
|
id: ng,
|
|
13339
13339
|
detector: DS,
|
|
13340
13340
|
loader: OS
|
|
13341
13341
|
}, IS = RS, ag = "timeline", PS = /* @__PURE__ */ p((e) => /^\s*timeline/.test(e), "detector"), NS = /* @__PURE__ */ p(async () => {
|
|
13342
|
-
const { diagram: e } = await import("./timeline-definition-IT6M3QCI.
|
|
13342
|
+
const { diagram: e } = await import("./timeline-definition-IT6M3QCI.DjimX7cA.js");
|
|
13343
13343
|
return { id: ag, diagram: e };
|
|
13344
13344
|
}, "loader"), zS = {
|
|
13345
13345
|
id: ag,
|
|
13346
13346
|
detector: PS,
|
|
13347
13347
|
loader: NS
|
|
13348
13348
|
}, WS = zS, sg = "mindmap", qS = /* @__PURE__ */ p((e) => /^\s*mindmap/.test(e), "detector"), HS = /* @__PURE__ */ p(async () => {
|
|
13349
|
-
const { diagram: e } = await import("./mindmap-definition-VGOIOE7T.
|
|
13349
|
+
const { diagram: e } = await import("./mindmap-definition-VGOIOE7T._-8W5Vg1.js");
|
|
13350
13350
|
return { id: sg, diagram: e };
|
|
13351
13351
|
}, "loader"), jS = {
|
|
13352
13352
|
id: sg,
|
|
13353
13353
|
detector: qS,
|
|
13354
13354
|
loader: HS
|
|
13355
13355
|
}, US = jS, og = "kanban", YS = /* @__PURE__ */ p((e) => /^\s*kanban/.test(e), "detector"), GS = /* @__PURE__ */ p(async () => {
|
|
13356
|
-
const { diagram: e } = await import("./kanban-definition-3W4ZIXB7.
|
|
13356
|
+
const { diagram: e } = await import("./kanban-definition-3W4ZIXB7.3FQ2q1uC.js");
|
|
13357
13357
|
return { id: og, diagram: e };
|
|
13358
13358
|
}, "loader"), XS = {
|
|
13359
13359
|
id: og,
|
|
13360
13360
|
detector: YS,
|
|
13361
13361
|
loader: GS
|
|
13362
13362
|
}, VS = XS, lg = "sankey", ZS = /* @__PURE__ */ p((e) => /^\s*sankey(-beta)?/.test(e), "detector"), KS = /* @__PURE__ */ p(async () => {
|
|
13363
|
-
const { diagram: e } = await import("./sankeyDiagram-TZEHDZUN.
|
|
13363
|
+
const { diagram: e } = await import("./sankeyDiagram-TZEHDZUN.DWgbiynU.js");
|
|
13364
13364
|
return { id: lg, diagram: e };
|
|
13365
13365
|
}, "loader"), QS = {
|
|
13366
13366
|
id: lg,
|
|
13367
13367
|
detector: ZS,
|
|
13368
13368
|
loader: KS
|
|
13369
13369
|
}, JS = QS, cg = "packet", tv = /* @__PURE__ */ p((e) => /^\s*packet(-beta)?/.test(e), "detector"), ev = /* @__PURE__ */ p(async () => {
|
|
13370
|
-
const { diagram: e } = await import("./diagram-S2PKOQOG.
|
|
13370
|
+
const { diagram: e } = await import("./diagram-S2PKOQOG.D-CN6sk9.js");
|
|
13371
13371
|
return { id: cg, diagram: e };
|
|
13372
13372
|
}, "loader"), rv = {
|
|
13373
13373
|
id: cg,
|
|
13374
13374
|
detector: tv,
|
|
13375
13375
|
loader: ev
|
|
13376
13376
|
}, hg = "radar", iv = /* @__PURE__ */ p((e) => /^\s*radar-beta/.test(e), "detector"), nv = /* @__PURE__ */ p(async () => {
|
|
13377
|
-
const { diagram: e } = await import("./diagram-QEK2KX5R.
|
|
13377
|
+
const { diagram: e } = await import("./diagram-QEK2KX5R.B17p-9el.js");
|
|
13378
13378
|
return { id: hg, diagram: e };
|
|
13379
13379
|
}, "loader"), av = {
|
|
13380
13380
|
id: hg,
|
|
13381
13381
|
detector: iv,
|
|
13382
13382
|
loader: nv
|
|
13383
13383
|
}, ug = "block", sv = /* @__PURE__ */ p((e) => /^\s*block(-beta)?/.test(e), "detector"), ov = /* @__PURE__ */ p(async () => {
|
|
13384
|
-
const { diagram: e } = await import("./blockDiagram-VD42YOAC.
|
|
13384
|
+
const { diagram: e } = await import("./blockDiagram-VD42YOAC.DB2CSbsF.js");
|
|
13385
13385
|
return { id: ug, diagram: e };
|
|
13386
13386
|
}, "loader"), lv = {
|
|
13387
13387
|
id: ug,
|
|
13388
13388
|
detector: sv,
|
|
13389
13389
|
loader: ov
|
|
13390
13390
|
}, cv = lv, fg = "architecture", hv = /* @__PURE__ */ p((e) => /^\s*architecture/.test(e), "detector"), uv = /* @__PURE__ */ p(async () => {
|
|
13391
|
-
const { diagram: e } = await import("./architectureDiagram-VXUJARFQ.
|
|
13391
|
+
const { diagram: e } = await import("./architectureDiagram-VXUJARFQ.B-Ylahzc.js");
|
|
13392
13392
|
return { id: fg, diagram: e };
|
|
13393
13393
|
}, "loader"), fv = {
|
|
13394
13394
|
id: fg,
|
|
13395
13395
|
detector: hv,
|
|
13396
13396
|
loader: uv
|
|
13397
13397
|
}, dv = fv, dg = "treemap", pv = /* @__PURE__ */ p((e) => /^\s*treemap/.test(e), "detector"), gv = /* @__PURE__ */ p(async () => {
|
|
13398
|
-
const { diagram: e } = await import("./diagram-PSM6KHXK.
|
|
13398
|
+
const { diagram: e } = await import("./diagram-PSM6KHXK.DEt8sa4j.js");
|
|
13399
13399
|
return { id: dg, diagram: e };
|
|
13400
13400
|
}, "loader"), mv = {
|
|
13401
13401
|
id: dg,
|
|
@@ -14198,7 +14198,7 @@ export {
|
|
|
14198
14198
|
ft as getConfig2,
|
|
14199
14199
|
oy as getDiagramTitle,
|
|
14200
14200
|
ET as getEdgeId,
|
|
14201
|
-
|
|
14201
|
+
Ai as getIconSVG,
|
|
14202
14202
|
xb as getLineFunctionsWithOffset,
|
|
14203
14203
|
ff as getPrototype,
|
|
14204
14204
|
HT as getRegisteredLayoutAlgorithm,
|
|
@@ -14221,7 +14221,7 @@ export {
|
|
|
14221
14221
|
Zn as isArrayLike,
|
|
14222
14222
|
W1 as isArrayLikeObject,
|
|
14223
14223
|
ro as isBuffer,
|
|
14224
|
-
|
|
14224
|
+
ki as isDark,
|
|
14225
14225
|
lc as isEmpty,
|
|
14226
14226
|
to as isFunction,
|
|
14227
14227
|
xf as isIndex,
|
|
@@ -14229,18 +14229,18 @@ export {
|
|
|
14229
14229
|
of as isLabelStyle,
|
|
14230
14230
|
pf as isLength,
|
|
14231
14231
|
sr as isObject,
|
|
14232
|
-
|
|
14232
|
+
Bi as isObjectLike,
|
|
14233
14233
|
io as isTypedArray,
|
|
14234
14234
|
uw as isValidShape,
|
|
14235
14235
|
bf as keysIn,
|
|
14236
14236
|
H as lighten,
|
|
14237
14237
|
ex as line,
|
|
14238
|
-
|
|
14238
|
+
Si as lineBreakRegex,
|
|
14239
14239
|
yb as load,
|
|
14240
14240
|
F as log,
|
|
14241
14241
|
Pw as markers_default,
|
|
14242
14242
|
ST as max,
|
|
14243
|
-
|
|
14243
|
+
Ti as memoize,
|
|
14244
14244
|
Q2 as merge,
|
|
14245
14245
|
vT as min,
|
|
14246
14246
|
Al as nodeUtil,
|
|
@@ -14257,7 +14257,7 @@ export {
|
|
|
14257
14257
|
qT as render,
|
|
14258
14258
|
Ds as renderKatexSanitized,
|
|
14259
14259
|
ed as replaceIconSubstring,
|
|
14260
|
-
|
|
14260
|
+
ci as rgba,
|
|
14261
14261
|
Qt as sanitizeText,
|
|
14262
14262
|
ht as select,
|
|
14263
14263
|
hx as selectSvgElement,
|