@marimo-team/islands 0.14.8-dev25 → 0.14.8-dev7
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/{ConnectedDataExplorerComponent-DJn2d5rk.js → ConnectedDataExplorerComponent-CxeUN7JK.js} +2 -2
- package/dist/{ImageComparisonComponent-DGRCahCv.js → ImageComparisonComponent-YK5VwnJU.js} +1 -1
- package/dist/VegaLite-CNJ2iGLb.js +16431 -0
- package/dist/{_baseUniq-Cu91Ub7P.js → _baseUniq-iN57524K.js} +70 -70
- package/dist/{any-language-editor-CH1PO3OO.js → any-language-editor-BFfIAbsv.js} +1 -1
- package/dist/{architectureDiagram-IEHRJDOE-DgzH_f37.js → architectureDiagram-IEHRJDOE-BzegtP1u.js} +5 -5
- package/dist/assets/{save-worker-BIDtxCd1.js → save-worker-CtVuV4Hi.js} +6 -2
- package/dist/assets/{worker-BcyuOSTi.js → worker-BU1a2jgP.js} +49 -56
- package/dist/assets/{worker-CvZsFYw-.js → worker-D1meHkT8.js} +13 -21
- package/dist/{blockDiagram-JOT3LUYC-B4q-hKC7.js → blockDiagram-JOT3LUYC-DOW2FHGf.js} +5 -5
- package/dist/{c4Diagram-VJAJSXHY-9cCFRfMJ.js → c4Diagram-VJAJSXHY-DCV5s_Jx.js} +2 -2
- package/dist/{channel-CsinGo0Y.js → channel-oHractDU.js} +1 -1
- package/dist/{chunk-4BMEZGHF-HIqfIcWy.js → chunk-4BMEZGHF-CJPOss6P.js} +1 -1
- package/dist/{chunk-A2AXSNBT-Bbof8y8A.js → chunk-A2AXSNBT-Y1xQITfM.js} +2 -2
- package/dist/{chunk-AEK57VVT-CQeyyCEx.js → chunk-AEK57VVT-DvekwgqO.js} +2 -2
- package/dist/{chunk-D6G4REZN-Cy7kNvX2.js → chunk-D6G4REZN-OKVjMC0y.js} +1 -1
- package/dist/{chunk-RZ5BOZE2-Yi1Y3AHQ.js → chunk-RZ5BOZE2-DoDc6m72.js} +1 -1
- package/dist/{chunk-XZIHB7SX-BvxSakOA.js → chunk-XZIHB7SX-k3eGypmn.js} +1 -1
- package/dist/{classDiagram-GIVACNV2-DOEwT_h6.js → classDiagram-GIVACNV2-ByUBaRZv.js} +2 -2
- package/dist/{classDiagram-v2-COTLJTTW-DOEwT_h6.js → classDiagram-v2-COTLJTTW-ByUBaRZv.js} +2 -2
- package/dist/{clone-S1NbW29x.js → clone-CMcgmF0h.js} +1 -1
- package/dist/{dagre-OKDRZEBW-GnlAnUyN.js → dagre-OKDRZEBW-B5_te9et.js} +6 -6
- package/dist/{data-editor-BI7ZCjV8.js → data-editor-EJ4alBPb.js} +1 -1
- package/dist/{diagram-SSKATNLV-CzkPbMhr.js → diagram-SSKATNLV-C0hLO3pR.js} +3 -3
- package/dist/{diagram-VNBRO52H-KQf0vBns.js → diagram-VNBRO52H-sEYpBGnf.js} +3 -3
- package/dist/{erDiagram-Q7BY3M3F-Df61eLF8.js → erDiagram-Q7BY3M3F-Jol8Ambn.js} +3 -3
- package/dist/{flowDiagram-4HSFHLVR-CPAjnzuW.js → flowDiagram-4HSFHLVR-D5rpwNAK.js} +3 -3
- package/dist/{ganttDiagram-APWFNJXF-CaBReSRm.js → ganttDiagram-APWFNJXF-XcvzLww9.js} +280 -282
- package/dist/{gitGraphDiagram-7IBYFJ6S-s03PhjmT.js → gitGraphDiagram-7IBYFJ6S-CZmb36Bk.js} +4 -4
- package/dist/{graph-D6FiPt4g.js → graph-B2pcxKk4.js} +3 -3
- package/dist/{index-DH126Ggu.js → index-BUhRsHz-.js} +3 -3
- package/dist/{index-DhDGJLh4.js → index-D5MOQJD0.js} +1 -1
- package/dist/{index-BB-VzHOO.js → index-DzHHV_sf.js} +1 -1
- package/dist/{index-DpJ-pJta.js → index-PZPzHT2Q.js} +1 -1
- package/dist/{infoDiagram-PH2N3AL5-C7P7A9lQ.js → infoDiagram-PH2N3AL5-Cb1U-g_b.js} +2 -2
- package/dist/{journeyDiagram-U35MCT3I-DRsnBhXJ.js → journeyDiagram-U35MCT3I-DM2o4_w_.js} +3 -3
- package/dist/{kanban-definition-NDS4AKOZ-DdN9IThO.js → kanban-definition-NDS4AKOZ-D6PixWL6.js} +1 -1
- package/dist/{layout-Dc-5gyD5.js → layout-De_Ygrtj.js} +55 -55
- package/dist/{main-BrvdfZz-.js → main-CbfmTxN_.js} +74126 -51997
- package/dist/main.js +1 -1
- package/dist/{mermaid-CpBz1_ZE.js → mermaid-CnEKePr2.js} +338 -339
- package/dist/min-kpuuttvU.js +80 -0
- package/dist/{mindmap-definition-ALO5MXBD-CijpcDjc.js → mindmap-definition-ALO5MXBD-CsbA_uHZ.js} +2 -2
- package/dist/{pieDiagram-IB7DONF6-4n_0EMWY.js → pieDiagram-IB7DONF6-DHgmmzjL.js} +15 -17
- package/dist/{quadrantDiagram-7GDLP6J5-SizjW7Lc.js → quadrantDiagram-7GDLP6J5-5O1DGAg_.js} +2 -2
- package/dist/{radar-MK3ICKWK-Cm6GqbdK.js → radar-MK3ICKWK-DaQFAlXF.js} +5 -5
- package/dist/{react-plotly-BfSmgP4J.js → react-plotly-C6kzp9jq.js} +1 -1
- package/dist/{requirementDiagram-KVF5MWMF-BN4diDaK.js → requirementDiagram-KVF5MWMF-3TyMklrI.js} +2 -2
- package/dist/{sankeyDiagram-QLVOVGJD-hUVMSLKQ.js → sankeyDiagram-QLVOVGJD-CVZ08o7_.js} +68 -69
- package/dist/{sequenceDiagram-X6HHIX6F-CXdz5UrD.js → sequenceDiagram-X6HHIX6F-C_vdYZjz.js} +3 -3
- package/dist/{slides-component-BJ65ywIJ.js → slides-component-TWEtcI6h.js} +26 -26
- package/dist/{stateDiagram-DGXRK772-BqAKs0nX.js → stateDiagram-DGXRK772-CQey-3P4.js} +5 -5
- package/dist/{stateDiagram-v2-YXO3MK2T-DRwDo0eG.js → stateDiagram-v2-YXO3MK2T-DHtitbuJ.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/{timeline-definition-BDJGKUSR-04fzuWTc.js → timeline-definition-BDJGKUSR-CsWgSrLN.js} +2 -2
- package/dist/{vega-component-BafGvbrl.js → vega-component-Iv6gIodh.js} +75 -75
- package/dist/{xychartDiagram-VJFVF3MP-BngC-qFn.js → xychartDiagram-VJFVF3MP-CvqveEJH.js} +6 -10
- package/package.json +6 -6
- package/dist/VegaLite-C4wW6Fac.js +0 -36029
- package/dist/arc-BXrety1g.js +0 -83
- package/dist/colors-BD7LS4qt.js +0 -7
- package/dist/init-DxzjmxYy.js +0 -32
- package/dist/linear-B44DDWPu.js +0 -211
- package/dist/min-BLiHSG2S.js +0 -80
- package/dist/ordinal-CYN5qNoq.js +0 -77
- package/dist/range-DdOGybNB.js +0 -9
- package/dist/time-BvdYJx29.js +0 -195
- package/dist/timer-BYwnU4DF.js +0 -1475
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
let ob, iv, Or, oe, ep, Gp, Pn, zt, Io, Tx, em, eC, to, cp, sr, ev, Zi, gn, Ls, kx, Ip, rt, Hr, H, J, Uo, mx, f, zp, Iu, lv, im, xt, Fe, Ln, ch, Ye, Kc, Ox, ps, Qb, ov, cv, nv, X, sv, Ob, Mb, Ab, Xi, Tm, km, _f, dv, Wp, ht, lt, Yo, kt, Hp, Ce, ze, Am, dr, D, Qc, Yr, rv, uv, Yp, hv, qp, Up, se, rm, Lx, _b, av, Np;
|
|
1
|
+
import { aj as Nd, am as Wd, b6 as zd, bN as qd, bO as Hd, b2 as Yd, bP as Ud, bQ as jd, bR as Gd, a0 as Xd, bS as Vd, bT as Kd, bU as Zd, bV as ds, bW as Qd, bX as fs, bY as Jd, bZ as tf, b_ as ef, b$ as dn, c0 as lo, c1 as co, c2 as ho, c3 as uo, c4 as fo, c5 as po, c6 as rf, c7 as Aa, c8 as go, c9 as af, ca as nf, cb as mo, cc as sf, cd as of, ce as lf, cf, cg as hf, f as ci, aT as uf, ch as yo, e as df, c as ff, P as pf, T as gf, a3 as mf, L as yf, j as xf, __tla as __tla_0 } from "./main-CbfmTxN_.js";
|
|
2
|
+
let ob, rv, Or, oe, ep, Gp, Pn, zt, $o, Tx, em, eC, to, cp, sr, tv, Zi, gn, Ls, kx, $p, rt, Hr, H, J, Uo, mx, f, zp, $u, ov, im, xt, Fe, Ln, ch, Ye, Kc, Ox, ps, Qb, sv, lv, av, X, nv, Ob, Mb, Ab, Xi, Tm, km, _f, uv, Wp, ht, lt, Yo, kt, Hp, Ce, ze, Am, dr, D, Qc, Yr, ev, hv, Yp, cv, qp, Up, se, rm, Lx, _b, iv, Np;
|
|
4
3
|
let __tla = Promise.all([
|
|
5
4
|
(() => {
|
|
6
5
|
try {
|
|
@@ -59,7 +58,7 @@ let __tla = Promise.all([
|
|
|
59
58
|
return new xo(e, false);
|
|
60
59
|
}
|
|
61
60
|
function gs(e, t, r) {
|
|
62
|
-
var i = new
|
|
61
|
+
var i = new Gd();
|
|
63
62
|
return t = t == null ? 0 : +t, i.restart((a) => {
|
|
64
63
|
i.stop(), e(a + t);
|
|
65
64
|
}, t, r), i;
|
|
@@ -121,9 +120,9 @@ let __tla = Promise.all([
|
|
|
121
120
|
}
|
|
122
121
|
}, k = "en", L = {};
|
|
123
122
|
L[k] = b;
|
|
124
|
-
var T = "$isDayjsObject",
|
|
123
|
+
var T = "$isDayjsObject", $ = function(E) {
|
|
125
124
|
return E instanceof W || !(!E || !E[T]);
|
|
126
|
-
},
|
|
125
|
+
}, I = function E(M, _, F) {
|
|
127
126
|
var A;
|
|
128
127
|
if (!M) return k;
|
|
129
128
|
if (typeof M == "string") {
|
|
@@ -137,11 +136,11 @@ let __tla = Promise.all([
|
|
|
137
136
|
}
|
|
138
137
|
return !F && A && (k = A), A || !F && k;
|
|
139
138
|
}, O = function(E, M) {
|
|
140
|
-
if (
|
|
139
|
+
if ($(E)) return E.clone();
|
|
141
140
|
var _ = typeof M == "object" ? M : {};
|
|
142
141
|
return _.date = E, _.args = arguments, new W(_);
|
|
143
142
|
}, B = S;
|
|
144
|
-
B.l =
|
|
143
|
+
B.l = I, B.i = $, B.w = function(E, M) {
|
|
145
144
|
return O(E, {
|
|
146
145
|
locale: M.$L,
|
|
147
146
|
utc: M.$u,
|
|
@@ -151,7 +150,7 @@ let __tla = Promise.all([
|
|
|
151
150
|
};
|
|
152
151
|
var W = function() {
|
|
153
152
|
function E(_) {
|
|
154
|
-
this.$L =
|
|
153
|
+
this.$L = I(_.locale, null, true), this.parse(_), this.$x = this.$x || _.x || {}, this[T] = true;
|
|
155
154
|
}
|
|
156
155
|
var M = E.prototype;
|
|
157
156
|
return M.parse = function(_) {
|
|
@@ -361,7 +360,7 @@ let __tla = Promise.all([
|
|
|
361
360
|
return L[this.$L];
|
|
362
361
|
}, M.locale = function(_, F) {
|
|
363
362
|
if (!_) return this.$L;
|
|
364
|
-
var A = this.clone(), N =
|
|
363
|
+
var A = this.clone(), N = I(_, F, true);
|
|
365
364
|
return N && (A.$L = N), A;
|
|
366
365
|
}, M.clone = function() {
|
|
367
366
|
return B.w(this.$d, this);
|
|
@@ -414,7 +413,7 @@ let __tla = Promise.all([
|
|
|
414
413
|
};
|
|
415
414
|
}), O.extend = function(E, M) {
|
|
416
415
|
return E.$i || (E(M, W, O), E.$i = true), O;
|
|
417
|
-
}, O.locale =
|
|
416
|
+
}, O.locale = I, O.isDayjs = $, O.unix = function(E) {
|
|
418
417
|
return O(1e3 * E);
|
|
419
418
|
}, O.en = L[k], O.Ls = L, O.p = {}, O;
|
|
420
419
|
});
|
|
@@ -422,7 +421,7 @@ let __tla = Promise.all([
|
|
|
422
421
|
}
|
|
423
422
|
var Tf = kf();
|
|
424
423
|
let ui, Bf, Lf, _e;
|
|
425
|
-
_f =
|
|
424
|
+
_f = Xd(Tf);
|
|
426
425
|
ui = {
|
|
427
426
|
min: {
|
|
428
427
|
r: 0,
|
|
@@ -892,9 +891,9 @@ let __tla = Promise.all([
|
|
|
892
891
|
const r = oe.parse(e);
|
|
893
892
|
return r.r = 255 - r.r, r.g = 255 - r.g, r.b = 255 - r.b, Df(r, e, t);
|
|
894
893
|
};
|
|
895
|
-
const { entries: So, setPrototypeOf: ys, isFrozen: Of, getPrototypeOf:
|
|
896
|
-
let { freeze:
|
|
897
|
-
|
|
894
|
+
const { entries: So, setPrototypeOf: ys, isFrozen: Of, getPrototypeOf: $f, getOwnPropertyDescriptor: If } = Object;
|
|
895
|
+
let { freeze: $t, seal: Xt, create: ko } = Object, { apply: Ma, construct: Ea } = typeof Reflect < "u" && Reflect;
|
|
896
|
+
$t || ($t = function(t) {
|
|
898
897
|
return t;
|
|
899
898
|
});
|
|
900
899
|
Xt || (Xt = function(t) {
|
|
@@ -906,8 +905,8 @@ let __tla = Promise.all([
|
|
|
906
905
|
Ea || (Ea = function(t, r) {
|
|
907
906
|
return new t(...r);
|
|
908
907
|
});
|
|
909
|
-
const ri =
|
|
910
|
-
function
|
|
908
|
+
const ri = It(Array.prototype.forEach), Rf = It(Array.prototype.lastIndexOf), xs = It(Array.prototype.pop), br = It(Array.prototype.push), Pf = It(Array.prototype.splice), di = It(String.prototype.toLowerCase), fa = It(String.prototype.toString), bs = It(String.prototype.match), Cr = It(String.prototype.replace), Nf = It(String.prototype.indexOf), Wf = It(String.prototype.trim), Qt = It(Object.prototype.hasOwnProperty), Et = It(RegExp.prototype.test), vr = zf(TypeError);
|
|
909
|
+
function It(e) {
|
|
911
910
|
return function(t) {
|
|
912
911
|
for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++) i[a - 1] = arguments[a];
|
|
913
912
|
return Ma(e, t, i);
|
|
@@ -937,26 +936,26 @@ let __tla = Promise.all([
|
|
|
937
936
|
for (let t = 0; t < e.length; t++) Qt(e, t) || (e[t] = null);
|
|
938
937
|
return e;
|
|
939
938
|
}
|
|
940
|
-
function
|
|
939
|
+
function $e(e) {
|
|
941
940
|
const t = ko(null);
|
|
942
|
-
for (const [r, i] of So(e)) Qt(e, r) && (Array.isArray(i) ? t[r] = qf(i) : i && typeof i == "object" && i.constructor === Object ? t[r] =
|
|
941
|
+
for (const [r, i] of So(e)) Qt(e, r) && (Array.isArray(i) ? t[r] = qf(i) : i && typeof i == "object" && i.constructor === Object ? t[r] = $e(i) : t[r] = i);
|
|
943
942
|
return t;
|
|
944
943
|
}
|
|
945
944
|
function wr(e, t) {
|
|
946
945
|
for (; e !== null; ) {
|
|
947
|
-
const i =
|
|
946
|
+
const i = If(e, t);
|
|
948
947
|
if (i) {
|
|
949
|
-
if (i.get) return
|
|
950
|
-
if (typeof i.value == "function") return
|
|
948
|
+
if (i.get) return It(i.get);
|
|
949
|
+
if (typeof i.value == "function") return It(i.value);
|
|
951
950
|
}
|
|
952
|
-
e =
|
|
951
|
+
e = $f(e);
|
|
953
952
|
}
|
|
954
953
|
function r() {
|
|
955
954
|
return null;
|
|
956
955
|
}
|
|
957
956
|
return r;
|
|
958
957
|
}
|
|
959
|
-
const Cs =
|
|
958
|
+
const Cs = $t([
|
|
960
959
|
"a",
|
|
961
960
|
"abbr",
|
|
962
961
|
"acronym",
|
|
@@ -1074,7 +1073,7 @@ let __tla = Promise.all([
|
|
|
1074
1073
|
"var",
|
|
1075
1074
|
"video",
|
|
1076
1075
|
"wbr"
|
|
1077
|
-
]), pa =
|
|
1076
|
+
]), pa = $t([
|
|
1078
1077
|
"svg",
|
|
1079
1078
|
"a",
|
|
1080
1079
|
"altglyph",
|
|
@@ -1118,7 +1117,7 @@ let __tla = Promise.all([
|
|
|
1118
1117
|
"tspan",
|
|
1119
1118
|
"view",
|
|
1120
1119
|
"vkern"
|
|
1121
|
-
]), ga =
|
|
1120
|
+
]), ga = $t([
|
|
1122
1121
|
"feBlend",
|
|
1123
1122
|
"feColorMatrix",
|
|
1124
1123
|
"feComponentTransfer",
|
|
@@ -1144,7 +1143,7 @@ let __tla = Promise.all([
|
|
|
1144
1143
|
"feSpotLight",
|
|
1145
1144
|
"feTile",
|
|
1146
1145
|
"feTurbulence"
|
|
1147
|
-
]), Hf =
|
|
1146
|
+
]), Hf = $t([
|
|
1148
1147
|
"animate",
|
|
1149
1148
|
"color-profile",
|
|
1150
1149
|
"cursor",
|
|
@@ -1167,7 +1166,7 @@ let __tla = Promise.all([
|
|
|
1167
1166
|
"solidcolor",
|
|
1168
1167
|
"unknown",
|
|
1169
1168
|
"use"
|
|
1170
|
-
]), ma =
|
|
1169
|
+
]), ma = $t([
|
|
1171
1170
|
"math",
|
|
1172
1171
|
"menclose",
|
|
1173
1172
|
"merror",
|
|
@@ -1198,7 +1197,7 @@ let __tla = Promise.all([
|
|
|
1198
1197
|
"munder",
|
|
1199
1198
|
"munderover",
|
|
1200
1199
|
"mprescripts"
|
|
1201
|
-
]), Yf =
|
|
1200
|
+
]), Yf = $t([
|
|
1202
1201
|
"maction",
|
|
1203
1202
|
"maligngroup",
|
|
1204
1203
|
"malignmark",
|
|
@@ -1214,9 +1213,9 @@ let __tla = Promise.all([
|
|
|
1214
1213
|
"annotation-xml",
|
|
1215
1214
|
"mprescripts",
|
|
1216
1215
|
"none"
|
|
1217
|
-
]), vs =
|
|
1216
|
+
]), vs = $t([
|
|
1218
1217
|
"#text"
|
|
1219
|
-
]), ws =
|
|
1218
|
+
]), ws = $t([
|
|
1220
1219
|
"accept",
|
|
1221
1220
|
"action",
|
|
1222
1221
|
"align",
|
|
@@ -1330,7 +1329,7 @@ let __tla = Promise.all([
|
|
|
1330
1329
|
"wrap",
|
|
1331
1330
|
"xmlns",
|
|
1332
1331
|
"slot"
|
|
1333
|
-
]), ya =
|
|
1332
|
+
]), ya = $t([
|
|
1334
1333
|
"accent-height",
|
|
1335
1334
|
"accumulate",
|
|
1336
1335
|
"additive",
|
|
@@ -1518,7 +1517,7 @@ let __tla = Promise.all([
|
|
|
1518
1517
|
"y2",
|
|
1519
1518
|
"z",
|
|
1520
1519
|
"zoomandpan"
|
|
1521
|
-
]), Ss =
|
|
1520
|
+
]), Ss = $t([
|
|
1522
1521
|
"accent",
|
|
1523
1522
|
"accentunder",
|
|
1524
1523
|
"align",
|
|
@@ -1572,7 +1571,7 @@ let __tla = Promise.all([
|
|
|
1572
1571
|
"voffset",
|
|
1573
1572
|
"width",
|
|
1574
1573
|
"xmlns"
|
|
1575
|
-
]), ii =
|
|
1574
|
+
]), ii = $t([
|
|
1576
1575
|
"xlink:href",
|
|
1577
1576
|
"xml:id",
|
|
1578
1577
|
"xlink:title",
|
|
@@ -1642,7 +1641,7 @@ let __tla = Promise.all([
|
|
|
1642
1641
|
Q.content && Q.content.ownerDocument && (r = Q.content.ownerDocument);
|
|
1643
1642
|
}
|
|
1644
1643
|
let S, k = "";
|
|
1645
|
-
const { implementation: L, createNodeIterator: T, createDocumentFragment:
|
|
1644
|
+
const { implementation: L, createNodeIterator: T, createDocumentFragment: $, getElementsByTagName: I } = r, { importNode: O } = i;
|
|
1646
1645
|
let B = Ts();
|
|
1647
1646
|
t.isSupported = typeof So == "function" && typeof C == "function" && L && L.createHTMLDocument !== void 0;
|
|
1648
1647
|
const { MUSTACHE_EXPR: W, ERB_EXPR: P, TMPLIT_EXPR: E, DATA_ATTR: M, ARIA_ATTR: _, IS_SCRIPT_OR_DATA: F, ATTR_WHITESPACE: A, CUSTOM_ELEMENT: N } = ks;
|
|
@@ -1762,14 +1761,14 @@ let __tla = Promise.all([
|
|
|
1762
1761
|
const Od = [
|
|
1763
1762
|
"application/xhtml+xml",
|
|
1764
1763
|
"text/html"
|
|
1765
|
-
],
|
|
1764
|
+
], $d = "text/html";
|
|
1766
1765
|
let bt = null, Ve = null;
|
|
1767
|
-
const
|
|
1766
|
+
const Id = r.createElement("form"), ts = function(v) {
|
|
1768
1767
|
return v instanceof RegExp || v instanceof Function;
|
|
1769
1768
|
}, ua = function() {
|
|
1770
1769
|
let v = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1771
1770
|
if (!(Ve && Ve === v)) {
|
|
1772
|
-
if ((!v || typeof v != "object") && (v = {}), v =
|
|
1771
|
+
if ((!v || typeof v != "object") && (v = {}), v = $e(v), yr = Od.indexOf(v.PARSER_MEDIA_TYPE) === -1 ? $d : v.PARSER_MEDIA_TYPE, bt = yr === "application/xhtml+xml" ? fa : di, K = Qt(v, "ALLOWED_TAGS") ? ot({}, v.ALLOWED_TAGS, bt) : nt, at = Qt(v, "ALLOWED_ATTR") ? ot({}, v.ALLOWED_ATTR, bt) : ut, ha = Qt(v, "ALLOWED_NAMESPACES") ? ot({}, v.ALLOWED_NAMESPACES, fa) : Fd, la = Qt(v, "ADD_URI_SAFE_ATTR") ? ot($e(Jn), v.ADD_URI_SAFE_ATTR, bt) : Jn, Zn = Qt(v, "ADD_DATA_URI_TAGS") ? ot($e(Qn), v.ADD_DATA_URI_TAGS, bt) : Qn, Ge = Qt(v, "FORBID_CONTENTS") ? ot({}, v.FORBID_CONTENTS, bt) : Kn, qt = Qt(v, "FORBID_TAGS") ? ot({}, v.FORBID_TAGS, bt) : {}, At = Qt(v, "FORBID_ATTR") ? ot({}, v.FORBID_ATTR, bt) : {}, je = Qt(v, "USE_PROFILES") ? v.USE_PROFILES : false, ke = v.ALLOW_ARIA_ATTR !== false, Kt = v.ALLOW_DATA_ATTR !== false, Ct = v.ALLOW_UNKNOWN_PROTOCOLS || false, Zt = v.ALLOW_SELF_CLOSE_IN_ATTR !== false, Ut = v.SAFE_FOR_TEMPLATES || false, Te = v.SAFE_FOR_XML !== false, De = v.WHOLE_DOCUMENT || false, Ue = v.RETURN_DOM || false, Vr = v.RETURN_DOM_FRAGMENT || false, Kr = v.RETURN_TRUSTED_TYPE || false, sa = v.FORCE_BODY || false, Xn = v.SANITIZE_DOM !== false, Vn = v.SANITIZE_NAMED_PROPS || false, oa = v.KEEP_CONTENT !== false, mr = v.IN_PLACE || false, q = v.ALLOWED_URI_REGEXP || To, Xe = v.NAMESPACE || he, Jr = v.MATHML_TEXT_INTEGRATION_POINTS || Jr, ti = v.HTML_INTEGRATION_POINTS || ti, st = v.CUSTOM_ELEMENT_HANDLING || {}, v.CUSTOM_ELEMENT_HANDLING && ts(v.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (st.tagNameCheck = v.CUSTOM_ELEMENT_HANDLING.tagNameCheck), v.CUSTOM_ELEMENT_HANDLING && ts(v.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (st.attributeNameCheck = v.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), v.CUSTOM_ELEMENT_HANDLING && typeof v.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (st.allowCustomizedBuiltInElements = v.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Ut && (Kt = false), Vr && (Ue = true), je && (K = ot({}, vs), at = [], je.html === true && (ot(K, Cs), ot(at, ws)), je.svg === true && (ot(K, pa), ot(at, ya), ot(at, ii)), je.svgFilters === true && (ot(K, ga), ot(at, ya), ot(at, ii)), je.mathMl === true && (ot(K, ma), ot(at, Ss), ot(at, ii))), v.ADD_TAGS && (K === nt && (K = $e(K)), ot(K, v.ADD_TAGS, bt)), v.ADD_ATTR && (at === ut && (at = $e(at)), ot(at, v.ADD_ATTR, bt)), v.ADD_URI_SAFE_ATTR && ot(la, v.ADD_URI_SAFE_ATTR, bt), v.FORBID_CONTENTS && (Ge === Kn && (Ge = $e(Ge)), ot(Ge, v.FORBID_CONTENTS, bt)), oa && (K["#text"] = true), De && ot(K, [
|
|
1773
1772
|
"html",
|
|
1774
1773
|
"head",
|
|
1775
1774
|
"body"
|
|
@@ -1780,7 +1779,7 @@ let __tla = Promise.all([
|
|
|
1780
1779
|
if (typeof v.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw vr('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
1781
1780
|
S = v.TRUSTED_TYPES_POLICY, k = S.createHTML("");
|
|
1782
1781
|
} else S === void 0 && (S = tp(d, a)), S !== null && typeof k == "string" && (k = S.createHTML(""));
|
|
1783
|
-
|
|
1782
|
+
$t && $t(v), Ve = v;
|
|
1784
1783
|
}
|
|
1785
1784
|
}, es = ot({}, [
|
|
1786
1785
|
...pa,
|
|
@@ -1847,7 +1846,7 @@ let __tla = Promise.all([
|
|
|
1847
1846
|
}
|
|
1848
1847
|
}
|
|
1849
1848
|
const Tt = R.body || R.documentElement;
|
|
1850
|
-
return v && j && Tt.insertBefore(r.createTextNode(j), Tt.childNodes[0] || null), Xe === he ?
|
|
1849
|
+
return v && j && Tt.insertBefore(r.createTextNode(j), Tt.childNodes[0] || null), Xe === he ? I.call(R, De ? "html" : "body")[0] : De ? R.documentElement : Tt;
|
|
1851
1850
|
}, as = function(v) {
|
|
1852
1851
|
return T.call(v.ownerDocument || v, v, c.SHOW_ELEMENT | c.SHOW_COMMENT | c.SHOW_TEXT | c.SHOW_PROCESSING_INSTRUCTION | c.SHOW_CDATA_SECTION, null);
|
|
1853
1852
|
}, da = function(v) {
|
|
@@ -1892,7 +1891,7 @@ let __tla = Promise.all([
|
|
|
1892
1891
|
element: v.cloneNode()
|
|
1893
1892
|
}), v.textContent = R)), ue(B.afterSanitizeElements, v, null), false);
|
|
1894
1893
|
}, os = function(v, R, j) {
|
|
1895
|
-
if (Xn && (R === "id" || R === "name") && (j in r || j in
|
|
1894
|
+
if (Xn && (R === "id" || R === "name") && (j in r || j in Id)) return false;
|
|
1896
1895
|
if (!(Kt && !At[R] && Et(M, R))) {
|
|
1897
1896
|
if (!(ke && Et(_, R))) {
|
|
1898
1897
|
if (!at[R] || At[R]) {
|
|
@@ -1988,7 +1987,7 @@ let __tla = Promise.all([
|
|
|
1988
1987
|
for (; dt = vt.nextNode(); ) ss(dt), cs(dt), dt.content instanceof n && Pd(dt.content);
|
|
1989
1988
|
if (mr) return Q;
|
|
1990
1989
|
if (Ue) {
|
|
1991
|
-
if (Vr) for (Tt =
|
|
1990
|
+
if (Vr) for (Tt = $.call(R.ownerDocument); R.firstChild; ) Tt.appendChild(R.firstChild);
|
|
1992
1991
|
else Tt = R;
|
|
1993
1992
|
return (at.shadowroot || at.shadowrootmode) && (Tt = O.call(i, Tt, true)), Tt;
|
|
1994
1993
|
}
|
|
@@ -2024,7 +2023,7 @@ let __tla = Promise.all([
|
|
|
2024
2023
|
B = Ts();
|
|
2025
2024
|
}, t;
|
|
2026
2025
|
}
|
|
2027
|
-
let rr, Lo, de, fn, jt, Ao,
|
|
2026
|
+
let rr, Lo, de, fn, jt, Ao, $r, rp, Mo, ir, pn, Eo, Fo, ip, Fa, Hi, Yi, Ft, ap, np, sp, op, lp, hp, up, dp, fp, ye, fe, Do, Oo, pp, Si, gp, ar, Nt, Io, nr, Ir, Ui, mp, yp, xp, Ro, Po, No, bp, ki, Cp, _s, vp, Wo, wp, Sp;
|
|
2028
2027
|
rr = Bo();
|
|
2029
2028
|
Lo = Object.defineProperty;
|
|
2030
2029
|
f = (e, t) => Lo(e, "name", {
|
|
@@ -2071,7 +2070,7 @@ let __tla = Promise.all([
|
|
|
2071
2070
|
}, "setLogLevel");
|
|
2072
2071
|
jt = f((e) => `%c${_f().format("ss.SSS")} : ${e} : `, "format");
|
|
2073
2072
|
Ao = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s;
|
|
2074
|
-
|
|
2073
|
+
$r = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi;
|
|
2075
2074
|
rp = /\s*%%.*\n/gm;
|
|
2076
2075
|
Mo = (_a2 = class extends Error {
|
|
2077
2076
|
constructor(e) {
|
|
@@ -2080,7 +2079,7 @@ let __tla = Promise.all([
|
|
|
2080
2079
|
}, f(_a2, "UnknownDiagramError"), _a2);
|
|
2081
2080
|
ir = {};
|
|
2082
2081
|
pn = f(function(e, t) {
|
|
2083
|
-
e = e.replace(Ao, "").replace(
|
|
2082
|
+
e = e.replace(Ao, "").replace($r, "").replace(rp, `
|
|
2084
2083
|
`);
|
|
2085
2084
|
for (const [r, { detector: i }] of Object.entries(ir)) if (i(e, t)) return r;
|
|
2086
2085
|
throw new Mo(`No diagram type detected matching given configuration for text: ${e}`);
|
|
@@ -3572,7 +3571,7 @@ let __tla = Promise.all([
|
|
|
3572
3571
|
t + i
|
|
3573
3572
|
], []), "keyify");
|
|
3574
3573
|
pp = new Set(Oo(Do, ""));
|
|
3575
|
-
|
|
3574
|
+
$o = Do;
|
|
3576
3575
|
Si = f((e) => {
|
|
3577
3576
|
if (D.debug("sanitizeDirective called with", e), !(typeof e != "object" || e == null)) {
|
|
3578
3577
|
if (Array.isArray(e)) {
|
|
@@ -3610,27 +3609,27 @@ let __tla = Promise.all([
|
|
|
3610
3609
|
}
|
|
3611
3610
|
return t !== r ? "{ /* ERROR: Unbalanced CSS */ }" : e;
|
|
3612
3611
|
}, "sanitizeCss");
|
|
3613
|
-
ar = Object.freeze(
|
|
3612
|
+
ar = Object.freeze($o);
|
|
3614
3613
|
Nt = kt({}, ar);
|
|
3615
3614
|
nr = [];
|
|
3616
|
-
|
|
3615
|
+
Ir = kt({}, ar);
|
|
3617
3616
|
Ui = f((e, t) => {
|
|
3618
3617
|
let r = kt({}, e), i = {};
|
|
3619
3618
|
for (const a of t) No(a), i = kt(i, a);
|
|
3620
3619
|
if (r = kt(r, i), i.theme && i.theme in ye) {
|
|
3621
|
-
const a = kt({},
|
|
3620
|
+
const a = kt({}, Io), n = kt(a.themeVariables || {}, i.themeVariables);
|
|
3622
3621
|
r.theme && r.theme in ye && (r.themeVariables = ye[r.theme].getThemeVariables(n));
|
|
3623
3622
|
}
|
|
3624
|
-
return
|
|
3623
|
+
return Ir = r, Wo(Ir), Ir;
|
|
3625
3624
|
}, "updateCurrentConfig");
|
|
3626
3625
|
mp = f((e) => (Nt = kt({}, ar), Nt = kt(Nt, e), e.theme && ye[e.theme] && (Nt.themeVariables = ye[e.theme].getThemeVariables(e.themeVariables)), Ui(Nt, nr), Nt), "setSiteConfig");
|
|
3627
3626
|
yp = f((e) => {
|
|
3628
|
-
|
|
3627
|
+
Io = kt({}, e);
|
|
3629
3628
|
}, "saveConfigFromInitialize");
|
|
3630
3629
|
xp = f((e) => (Nt = kt(Nt, e), Ui(Nt, nr), Nt), "updateSiteConfig");
|
|
3631
3630
|
Ro = f(() => kt({}, Nt), "getSiteConfig");
|
|
3632
|
-
Po = f((e) => (Wo(e), kt(
|
|
3633
|
-
zt = f(() => kt({},
|
|
3631
|
+
Po = f((e) => (Wo(e), kt(Ir, e), zt()), "setConfig");
|
|
3632
|
+
zt = f(() => kt({}, Ir), "getConfig");
|
|
3634
3633
|
No = f((e) => {
|
|
3635
3634
|
e && ([
|
|
3636
3635
|
"secure",
|
|
@@ -3682,7 +3681,7 @@ let __tla = Promise.all([
|
|
|
3682
3681
|
});
|
|
3683
3682
|
}
|
|
3684
3683
|
f(zo, "setupDompurifyHooks");
|
|
3685
|
-
let qo, Bs, kp, Tp, _p, Bp, Ho, Lp, Ap, Mp, Da, Ep, Fp, As, Oa, Dp, Op, fi,
|
|
3684
|
+
let qo, Bs, kp, Tp, _p, Bp, Ho, Lp, Ap, Mp, Da, Ep, Fp, As, Oa, Dp, Op, fi, Ip, Rp, Pp;
|
|
3686
3685
|
qo = f((e) => (Sp(), rr.sanitize(e)), "removeScript");
|
|
3687
3686
|
Bs = f((e, t) => {
|
|
3688
3687
|
var _a3;
|
|
@@ -3754,7 +3753,7 @@ let __tla = Promise.all([
|
|
|
3754
3753
|
var _a3;
|
|
3755
3754
|
return (((_a3 = e.match(Oa)) == null ? void 0 : _a3.length) ?? 0) > 0;
|
|
3756
3755
|
}, "hasKatex");
|
|
3757
|
-
|
|
3756
|
+
tv = f(async (e, t) => {
|
|
3758
3757
|
var _a3;
|
|
3759
3758
|
e = await gn(e, t);
|
|
3760
3759
|
const r = document.createElement("div");
|
|
@@ -3799,7 +3798,7 @@ let __tla = Promise.all([
|
|
|
3799
3798
|
const a = Op(t, r, i);
|
|
3800
3799
|
Dp(e, a);
|
|
3801
3800
|
}, "configureSvgSize");
|
|
3802
|
-
|
|
3801
|
+
$p = f(function(e, t, r, i) {
|
|
3803
3802
|
const a = t.node().getBBox(), n = a.width, o = a.height;
|
|
3804
3803
|
D.info(`SVG bounds: ${n}x${o}`, a);
|
|
3805
3804
|
let s = 0, l = 0;
|
|
@@ -3808,7 +3807,7 @@ let __tla = Promise.all([
|
|
|
3808
3807
|
t.attr("viewBox", c);
|
|
3809
3808
|
}, "setupGraphViewbox");
|
|
3810
3809
|
fi = {};
|
|
3811
|
-
|
|
3810
|
+
Ip = f((e, t, r) => {
|
|
3812
3811
|
let i = "";
|
|
3813
3812
|
return e in fi && fi[e] ? i = fi[e](r) : D.warn(`No theme found for ${e}`), ` & {
|
|
3814
3813
|
font-family: ${r.fontFamily};
|
|
@@ -3891,7 +3890,7 @@ let __tla = Promise.all([
|
|
|
3891
3890
|
Rp = f((e, t) => {
|
|
3892
3891
|
t !== void 0 && (fi[e] = t);
|
|
3893
3892
|
}, "addStylesForDiagram");
|
|
3894
|
-
Pp =
|
|
3893
|
+
Pp = Ip;
|
|
3895
3894
|
Uo = {};
|
|
3896
3895
|
ep(Uo, {
|
|
3897
3896
|
clear: () => Np,
|
|
@@ -3902,7 +3901,7 @@ let __tla = Promise.all([
|
|
|
3902
3901
|
setAccTitle: () => Wp,
|
|
3903
3902
|
setDiagramTitle: () => Yp
|
|
3904
3903
|
});
|
|
3905
|
-
let mn, yn, xn, bn, Ms, jp, Cn, Xp, Ti, _i,
|
|
3904
|
+
let mn, yn, xn, bn, Ms, jp, Cn, Xp, Ti, _i, $a, Vp;
|
|
3906
3905
|
mn = "";
|
|
3907
3906
|
yn = "";
|
|
3908
3907
|
xn = "";
|
|
@@ -3926,10 +3925,10 @@ let __tla = Promise.all([
|
|
|
3926
3925
|
Ms = D;
|
|
3927
3926
|
jp = fn;
|
|
3928
3927
|
ht = zt;
|
|
3929
|
-
|
|
3930
|
-
|
|
3928
|
+
ev = Po;
|
|
3929
|
+
rv = ar;
|
|
3931
3930
|
Cn = f((e) => ze(e, ht()), "sanitizeText");
|
|
3932
|
-
Gp =
|
|
3931
|
+
Gp = $p;
|
|
3933
3932
|
Xp = f(() => Uo, "getCommonDb");
|
|
3934
3933
|
Ti = {};
|
|
3935
3934
|
_i = f((e, t, r) => {
|
|
@@ -3937,7 +3936,7 @@ let __tla = Promise.all([
|
|
|
3937
3936
|
Ti[e] && Ms.warn(`Diagram with id ${e} already registered. Overwriting.`), Ti[e] = t, r && Fo(e, r), Rp(e, t.styles), (_a3 = t.injectUtils) == null ? void 0 : _a3.call(t, Ms, jp, ht, Cn, Gp, Xp(), () => {
|
|
3938
3937
|
});
|
|
3939
3938
|
}, "registerDiagram");
|
|
3940
|
-
|
|
3939
|
+
$a = f((e) => {
|
|
3941
3940
|
if (e in Ti) return Ti[e];
|
|
3942
3941
|
throw new Vp(e);
|
|
3943
3942
|
}, "getDiagram");
|
|
@@ -4066,7 +4065,7 @@ let __tla = Promise.all([
|
|
|
4066
4065
|
}
|
|
4067
4066
|
f(Jo, "Type$1");
|
|
4068
4067
|
var Bt = Jo;
|
|
4069
|
-
function
|
|
4068
|
+
function Ia(e, t) {
|
|
4070
4069
|
var r = [];
|
|
4071
4070
|
return e[t].forEach(function(i) {
|
|
4072
4071
|
var a = r.length;
|
|
@@ -4075,7 +4074,7 @@ let __tla = Promise.all([
|
|
|
4075
4074
|
}), r[a] = i;
|
|
4076
4075
|
}), r;
|
|
4077
4076
|
}
|
|
4078
|
-
f(
|
|
4077
|
+
f(Ia, "compileList");
|
|
4079
4078
|
function tl() {
|
|
4080
4079
|
var e = {
|
|
4081
4080
|
scalar: {},
|
|
@@ -4114,7 +4113,7 @@ let __tla = Promise.all([
|
|
|
4114
4113
|
if (!(n instanceof Bt)) throw new Wt("Specified list of YAML types (or a single Type object) contains a non-Type object.");
|
|
4115
4114
|
});
|
|
4116
4115
|
var a = Object.create(Bi.prototype);
|
|
4117
|
-
return a.implicit = (this.implicit || []).concat(r), a.explicit = (this.explicit || []).concat(i), a.compiledImplicit =
|
|
4116
|
+
return a.implicit = (this.implicit || []).concat(r), a.explicit = (this.explicit || []).concat(i), a.compiledImplicit = Ia(a, "implicit"), a.compiledExplicit = Ia(a, "explicit"), a.compiledTypeMap = tl(a.compiledImplicit, a.compiledExplicit), a;
|
|
4118
4117
|
}, "extend");
|
|
4119
4118
|
var ng = Bi, sg = new Bt("tag:yaml.org,2002:str", {
|
|
4120
4119
|
kind: "scalar",
|
|
@@ -4514,7 +4513,7 @@ let __tla = Promise.all([
|
|
|
4514
4513
|
kg,
|
|
4515
4514
|
_g
|
|
4516
4515
|
]
|
|
4517
|
-
}), Ae = Object.prototype.hasOwnProperty, Li = 1,
|
|
4516
|
+
}), Ae = Object.prototype.hasOwnProperty, Li = 1, $l = 2, Il = 3, Ai = 4, xa = 1, Bg = 2, Es = 3, Lg = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Ag = /[\x85\u2028\u2029]/, Mg = /[,\[\]\{\}]/, Rl = /^(?:!|!!|![a-z\-]+!)$/i, Pl = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
|
4518
4517
|
function Ra(e) {
|
|
4519
4518
|
return Object.prototype.toString.call(e);
|
|
4520
4519
|
}
|
|
@@ -4762,7 +4761,7 @@ let __tla = Promise.all([
|
|
|
4762
4761
|
n.push(null), l = e.input.charCodeAt(e.position);
|
|
4763
4762
|
continue;
|
|
4764
4763
|
}
|
|
4765
|
-
if (r = e.line, qe(e, t,
|
|
4764
|
+
if (r = e.line, qe(e, t, Il, false, true), n.push(e.result), pt(e, true, -1), l = e.input.charCodeAt(e.position), (e.line === r || e.lineIndent > t) && l !== 0) Z(e, "bad indentation of a sequence entry");
|
|
4766
4765
|
else if (e.lineIndent < t) break;
|
|
4767
4766
|
}
|
|
4768
4767
|
return s ? (e.tag = i, e.anchor = a, e.kind = "sequence", e.result = n, true) : false;
|
|
@@ -4774,7 +4773,7 @@ let __tla = Promise.all([
|
|
|
4774
4773
|
for (e.anchor !== null && (e.anchorMap[e.anchor] = u), b = e.input.charCodeAt(e.position); b !== 0; ) {
|
|
4775
4774
|
if (!y && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, Z(e, "tab characters must not be used in indentation")), i = e.input.charCodeAt(e.position + 1), n = e.line, (b === 63 || b === 58) && Dt(i)) b === 63 ? (y && (Ne(e, u, p, d, g, null, o, s, l), d = g = m = null), x = true, y = true, a = true) : y ? (y = false, a = true) : Z(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, b = i;
|
|
4776
4775
|
else {
|
|
4777
|
-
if (o = e.line, s = e.lineStart, l = e.position, !qe(e, r,
|
|
4776
|
+
if (o = e.line, s = e.lineStart, l = e.position, !qe(e, r, $l, false, true)) break;
|
|
4778
4777
|
if (e.line === n) {
|
|
4779
4778
|
for (b = e.input.charCodeAt(e.position); Le(b); ) b = e.input.charCodeAt(++e.position);
|
|
4780
4779
|
if (b === 58) b = e.input.charCodeAt(++e.position), Dt(b) || Z(e, "a whitespace character is expected after the key-value separator within a block mapping"), y && (Ne(e, u, p, d, g, null, o, s, l), d = g = m = null), x = true, y = false, a = false, d = e.tag, g = e.result;
|
|
@@ -4826,8 +4825,8 @@ let __tla = Promise.all([
|
|
|
4826
4825
|
f(tc, "readAlias");
|
|
4827
4826
|
function qe(e, t, r, i, a) {
|
|
4828
4827
|
var n, o, s, l = 1, c = false, h = false, u, p, d, g, m, y;
|
|
4829
|
-
if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, n = o = s = Ai === r ||
|
|
4830
|
-
if (s && (s = c || a), (l === 1 || Ai === r) && (Li === r ||
|
|
4828
|
+
if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, n = o = s = Ai === r || Il === r, i && pt(e, true, -1) && (c = true, e.lineIndent > t ? l = 1 : e.lineIndent === t ? l = 0 : e.lineIndent < t && (l = -1)), l === 1) for (; Ql(e) || Jl(e); ) pt(e, true, -1) ? (c = true, s = n, e.lineIndent > t ? l = 1 : e.lineIndent === t ? l = 0 : e.lineIndent < t && (l = -1)) : s = false;
|
|
4829
|
+
if (s && (s = c || a), (l === 1 || Ai === r) && (Li === r || $l === r ? m = t : m = t + 1, y = e.position - e.lineStart, l === 1 ? s && (Wa(e, y) || Zl(e, y, m)) || Vl(e, m) ? h = true : (o && Kl(e, m) || Gl(e, m) || Xl(e, m) ? h = true : tc(e) ? (h = true, (e.tag !== null || e.anchor !== null) && Z(e, "alias node should not have any properties")) : jl(e, m, Li === r) && (h = true, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (h = s && Wa(e, y))), e.tag === null) e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
|
|
4831
4830
|
else if (e.tag === "?") {
|
|
4832
4831
|
for (e.result !== null && e.kind !== "scalar" && Z(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), u = 0, p = e.implicitTypes.length; u < p; u += 1) if (g = e.implicitTypes[u], g.resolve(e.result)) {
|
|
4833
4832
|
e.result = g.construct(e.result), e.tag = g.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
|
|
@@ -4896,7 +4895,7 @@ let __tla = Promise.all([
|
|
|
4896
4895
|
f(rc, "load$1");
|
|
4897
4896
|
var Fg = rc, Dg = {
|
|
4898
4897
|
load: Fg
|
|
4899
|
-
}, ic = Object.prototype.toString, ac = Object.prototype.hasOwnProperty, _n = 65279, Og = 9, Pr = 10,
|
|
4898
|
+
}, ic = Object.prototype.toString, ac = Object.prototype.hasOwnProperty, _n = 65279, Og = 9, Pr = 10, $g = 13, Ig = 32, Rg = 33, Pg = 34, za = 35, Ng = 37, Wg = 38, zg = 39, qg = 42, nc = 44, Hg = 45, Mi = 58, Yg = 61, Ug = 62, jg = 63, Gg = 64, sc = 91, oc = 93, Xg = 96, lc = 123, Vg = 124, cc = 125, Lt = {};
|
|
4900
4899
|
Lt[0] = "\\0";
|
|
4901
4900
|
Lt[7] = "\\a";
|
|
4902
4901
|
Lt[8] = "\\b";
|
|
@@ -4970,7 +4969,7 @@ let __tla = Promise.all([
|
|
|
4970
4969
|
}
|
|
4971
4970
|
f(fc, "testImplicitResolving");
|
|
4972
4971
|
function Wr(e) {
|
|
4973
|
-
return e ===
|
|
4972
|
+
return e === Ig || e === Og;
|
|
4974
4973
|
}
|
|
4975
4974
|
f(Wr, "isWhitespace");
|
|
4976
4975
|
function lr(e) {
|
|
@@ -4978,7 +4977,7 @@ let __tla = Promise.all([
|
|
|
4978
4977
|
}
|
|
4979
4978
|
f(lr, "isPrintable");
|
|
4980
4979
|
function Ha(e) {
|
|
4981
|
-
return lr(e) && e !== _n && e !==
|
|
4980
|
+
return lr(e) && e !== _n && e !== $g && e !== Pr;
|
|
4982
4981
|
}
|
|
4983
4982
|
f(Ha, "isNsCharOrWhitespace");
|
|
4984
4983
|
function Ya(e, t, r) {
|
|
@@ -5367,7 +5366,7 @@ let __tla = Promise.all([
|
|
|
5367
5366
|
return r ? Os(e, t, r) : null;
|
|
5368
5367
|
}
|
|
5369
5368
|
const dm = /(-?[0-9.]*[0-9]+[0-9.]*)/g, fm = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
5370
|
-
function
|
|
5369
|
+
function $s(e, t, r) {
|
|
5371
5370
|
if (t === 1) return e;
|
|
5372
5371
|
if (r = r || 100, typeof e == "number") return Math.ceil(e * t * r) / r;
|
|
5373
5372
|
if (typeof e != "string") return e;
|
|
@@ -5444,7 +5443,7 @@ let __tla = Promise.all([
|
|
|
5444
5443
|
});
|
|
5445
5444
|
const o = i.width, s = i.height, l = a.width, c = a.height;
|
|
5446
5445
|
let h, u;
|
|
5447
|
-
o === null ? (u = s === null ? "1em" : s === "auto" ? c : s, h =
|
|
5446
|
+
o === null ? (u = s === null ? "1em" : s === "auto" ? c : s, h = $s(u, l / c)) : (h = o === "auto" ? l : o, u = s === null ? $s(h, c / l) : s === "auto" ? c : s);
|
|
5448
5447
|
const p = {}, d = (m, y) => {
|
|
5449
5448
|
ym(y) || (p[m] = y.toString());
|
|
5450
5449
|
};
|
|
@@ -5479,7 +5478,7 @@ let __tla = Promise.all([
|
|
|
5479
5478
|
for (const i in t) r += " " + i + '="' + t[i] + '"';
|
|
5480
5479
|
return '<svg xmlns="http://www.w3.org/2000/svg"' + r + ">" + e + "</svg>";
|
|
5481
5480
|
}
|
|
5482
|
-
let Za, Lc, _m, kr, mt,
|
|
5481
|
+
let Za, Lc, _m, kr, mt, Is;
|
|
5483
5482
|
km = {
|
|
5484
5483
|
body: '<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/><text transform="translate(21.16 64.67)" style="fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;"><tspan x="0" y="0">?</tspan></text></g>',
|
|
5485
5484
|
height: 80,
|
|
@@ -5530,7 +5529,7 @@ let __tla = Promise.all([
|
|
|
5530
5529
|
kr = {};
|
|
5531
5530
|
mt = {};
|
|
5532
5531
|
function Bm() {
|
|
5533
|
-
return
|
|
5532
|
+
return Is || (Is = 1, Object.defineProperty(mt, "__esModule", {
|
|
5534
5533
|
value: true
|
|
5535
5534
|
}), mt.BLANK_URL = mt.relativeFirstCharacters = mt.whitespaceEscapeCharsRegex = mt.urlSchemeRegex = mt.ctrlCharactersRegex = mt.htmlCtrlEntityRegex = mt.htmlEntitiesRegex = mt.invalidProtocolRegex = void 0, mt.invalidProtocolRegex = /^([^\w]*)(javascript|data|vbscript)/im, mt.htmlEntitiesRegex = /&#(\w+)(^\w|;)?/g, mt.htmlCtrlEntityRegex = /&(newline|tab);/gi, mt.ctrlCharactersRegex = /[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim, mt.urlSchemeRegex = /^.+(:|:)/gim, mt.whitespaceEscapeCharsRegex = /(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g, mt.relativeFirstCharacters = [
|
|
5536
5535
|
".",
|
|
@@ -5634,21 +5633,21 @@ let __tla = Promise.all([
|
|
|
5634
5633
|
function Om(e) {
|
|
5635
5634
|
return e == null ? [] : Array.isArray(e) ? e : Array.from(e);
|
|
5636
5635
|
}
|
|
5637
|
-
function
|
|
5636
|
+
function $m() {
|
|
5638
5637
|
return [];
|
|
5639
5638
|
}
|
|
5640
5639
|
function Mc(e) {
|
|
5641
|
-
return e == null ?
|
|
5640
|
+
return e == null ? $m : function() {
|
|
5642
5641
|
return this.querySelectorAll(e);
|
|
5643
5642
|
};
|
|
5644
5643
|
}
|
|
5645
|
-
function
|
|
5644
|
+
function Im(e) {
|
|
5646
5645
|
return function() {
|
|
5647
5646
|
return Om(e.apply(this, arguments));
|
|
5648
5647
|
};
|
|
5649
5648
|
}
|
|
5650
5649
|
function Rm(e) {
|
|
5651
|
-
typeof e == "function" ? e =
|
|
5650
|
+
typeof e == "function" ? e = Im(e) : e = Mc(e);
|
|
5652
5651
|
for (var t = this._groups, r = t.length, i = [], a = [], n = 0; n < r; ++n) for (var o = t[n], s = o.length, l, c = 0; c < s; ++c) (l = o[c]) && (i.push(e.call(l, l.__data__, c, o)), a.push(l));
|
|
5653
5652
|
return new Yt(i, a);
|
|
5654
5653
|
}
|
|
@@ -5890,16 +5889,16 @@ let __tla = Promise.all([
|
|
|
5890
5889
|
function _y(e, t) {
|
|
5891
5890
|
return arguments.length > 1 ? this.each((t == null ? Sy : typeof t == "function" ? Ty : ky)(e, t)) : this.node()[e];
|
|
5892
5891
|
}
|
|
5893
|
-
function
|
|
5892
|
+
function $c(e) {
|
|
5894
5893
|
return e.trim().split(/^|\s+/);
|
|
5895
5894
|
}
|
|
5896
5895
|
function Mn(e) {
|
|
5897
|
-
return e.classList || new
|
|
5896
|
+
return e.classList || new Ic(e);
|
|
5898
5897
|
}
|
|
5899
|
-
function
|
|
5900
|
-
this._node = e, this._names =
|
|
5898
|
+
function Ic(e) {
|
|
5899
|
+
this._node = e, this._names = $c(e.getAttribute("class") || "");
|
|
5901
5900
|
}
|
|
5902
|
-
|
|
5901
|
+
Ic.prototype = {
|
|
5903
5902
|
add: function(e) {
|
|
5904
5903
|
var t = this._names.indexOf(e);
|
|
5905
5904
|
t < 0 && (this._names.push(e), this._node.setAttribute("class", this._names.join(" ")));
|
|
@@ -5934,7 +5933,7 @@ let __tla = Promise.all([
|
|
|
5934
5933
|
};
|
|
5935
5934
|
}
|
|
5936
5935
|
function My(e, t) {
|
|
5937
|
-
var r =
|
|
5936
|
+
var r = $c(e + "");
|
|
5938
5937
|
if (arguments.length < 2) {
|
|
5939
5938
|
for (var i = Mn(this.node()), a = -1, n = r.length; ++a < n; ) if (!i.contains(r[a])) return false;
|
|
5940
5939
|
return true;
|
|
@@ -5958,10 +5957,10 @@ let __tla = Promise.all([
|
|
|
5958
5957
|
function Oy(e) {
|
|
5959
5958
|
return arguments.length ? this.each(e == null ? Ey : (typeof e == "function" ? Dy : Fy)(e)) : this.node().textContent;
|
|
5960
5959
|
}
|
|
5961
|
-
function
|
|
5960
|
+
function $y() {
|
|
5962
5961
|
this.innerHTML = "";
|
|
5963
5962
|
}
|
|
5964
|
-
function
|
|
5963
|
+
function Iy(e) {
|
|
5965
5964
|
return function() {
|
|
5966
5965
|
this.innerHTML = e;
|
|
5967
5966
|
};
|
|
@@ -5973,7 +5972,7 @@ let __tla = Promise.all([
|
|
|
5973
5972
|
};
|
|
5974
5973
|
}
|
|
5975
5974
|
function Py(e) {
|
|
5976
|
-
return arguments.length ? this.each(e == null ?
|
|
5975
|
+
return arguments.length ? this.each(e == null ? $y : (typeof e == "function" ? Ry : Iy)(e)) : this.node().innerHTML;
|
|
5977
5976
|
}
|
|
5978
5977
|
function Ny() {
|
|
5979
5978
|
this.nextSibling && this.parentNode.appendChild(this);
|
|
@@ -6165,7 +6164,7 @@ let __tla = Promise.all([
|
|
|
6165
6164
|
]
|
|
6166
6165
|
], Wc);
|
|
6167
6166
|
};
|
|
6168
|
-
var l0 =
|
|
6167
|
+
var l0 = Kd("start", "end", "cancel", "interrupt"), c0 = [], zc = 0, Ns = 1, Ja = 2, mi = 3, Ws = 4, tn = 5, yi = 6;
|
|
6169
6168
|
function Ki(e, t, r, i, a, n) {
|
|
6170
6169
|
var o = e.__transition;
|
|
6171
6170
|
if (!o) e.__transition = {};
|
|
@@ -6201,7 +6200,7 @@ let __tla = Promise.all([
|
|
|
6201
6200
|
}
|
|
6202
6201
|
function h0(e, t, r) {
|
|
6203
6202
|
var i = e.__transition, a;
|
|
6204
|
-
i[t] = r, r.timer =
|
|
6203
|
+
i[t] = r, r.timer = Vd(n, 0, r.time);
|
|
6205
6204
|
function n(c) {
|
|
6206
6205
|
r.state = Ns, r.timer.restart(o, r.delay, r.time), r.delay <= c && o(c - r.delay);
|
|
6207
6206
|
}
|
|
@@ -6300,7 +6299,7 @@ let __tla = Promise.all([
|
|
|
6300
6299
|
}
|
|
6301
6300
|
function qc(e, t) {
|
|
6302
6301
|
var r;
|
|
6303
|
-
return (typeof t == "number" ?
|
|
6302
|
+
return (typeof t == "number" ? Zd : t instanceof fs ? ds : (r = fs(t)) ? (t = r, ds) : Qd)(e, t);
|
|
6304
6303
|
}
|
|
6305
6304
|
function m0(e) {
|
|
6306
6305
|
return function() {
|
|
@@ -6341,7 +6340,7 @@ let __tla = Promise.all([
|
|
|
6341
6340
|
};
|
|
6342
6341
|
}
|
|
6343
6342
|
function w0(e, t) {
|
|
6344
|
-
var r = Vi(e), i = r === "transform" ?
|
|
6343
|
+
var r = Vi(e), i = r === "transform" ? Jd : qc;
|
|
6345
6344
|
return this.attrTween(e, typeof t == "function" ? (r.local ? v0 : C0)(r, i, Fn(this, "attr." + e, t)) : t == null ? (r.local ? y0 : m0)(r) : (r.local ? b0 : x0)(r, i, t));
|
|
6346
6345
|
}
|
|
6347
6346
|
function S0(e, t) {
|
|
@@ -6412,11 +6411,11 @@ let __tla = Promise.all([
|
|
|
6412
6411
|
ce(this, e).ease = t;
|
|
6413
6412
|
};
|
|
6414
6413
|
}
|
|
6415
|
-
function
|
|
6414
|
+
function $0(e) {
|
|
6416
6415
|
var t = this._id;
|
|
6417
6416
|
return arguments.length ? this.each(O0(t, e)) : ee(this.node(), t).ease;
|
|
6418
6417
|
}
|
|
6419
|
-
function
|
|
6418
|
+
function I0(e, t) {
|
|
6420
6419
|
return function() {
|
|
6421
6420
|
var r = t.apply(this, arguments);
|
|
6422
6421
|
if (typeof r != "function") throw new Error();
|
|
@@ -6425,7 +6424,7 @@ let __tla = Promise.all([
|
|
|
6425
6424
|
}
|
|
6426
6425
|
function R0(e) {
|
|
6427
6426
|
if (typeof e != "function") throw new Error();
|
|
6428
|
-
return this.each(
|
|
6427
|
+
return this.each(I0(this._id, e));
|
|
6429
6428
|
}
|
|
6430
6429
|
function P0(e) {
|
|
6431
6430
|
typeof e != "function" && (e = Ec(e));
|
|
@@ -6518,7 +6517,7 @@ let __tla = Promise.all([
|
|
|
6518
6517
|
};
|
|
6519
6518
|
}
|
|
6520
6519
|
function J0(e, t, r) {
|
|
6521
|
-
var i = (e += "") == "transform" ?
|
|
6520
|
+
var i = (e += "") == "transform" ? tf : qc;
|
|
6522
6521
|
return t == null ? this.styleTween(e, V0(e, i)).on("end.style." + e, Hc(e)) : typeof t == "function" ? this.styleTween(e, Z0(e, i, Fn(this, "style." + e, t))).each(Q0(this._id, e)) : this.styleTween(e, K0(e, i, t), r).on("end.style." + e, null);
|
|
6523
6522
|
}
|
|
6524
6523
|
function tx(e, t, r) {
|
|
@@ -6638,7 +6637,7 @@ let __tla = Promise.all([
|
|
|
6638
6637
|
tween: g0,
|
|
6639
6638
|
delay: M0,
|
|
6640
6639
|
duration: D0,
|
|
6641
|
-
ease:
|
|
6640
|
+
ease: $0,
|
|
6642
6641
|
easeVarying: R0,
|
|
6643
6642
|
end: hx,
|
|
6644
6643
|
[Symbol.iterator]: pe[Symbol.iterator]
|
|
@@ -6658,7 +6657,7 @@ let __tla = Promise.all([
|
|
|
6658
6657
|
}
|
|
6659
6658
|
function gx(e) {
|
|
6660
6659
|
var t, r;
|
|
6661
|
-
e instanceof be ? (t = e._id, e = e._name) : (t = Yc(), (r = fx).time =
|
|
6660
|
+
e instanceof be ? (t = e._id, e = e._name) : (t = Yc(), (r = fx).time = ef(), e = e == null ? null : e + "");
|
|
6662
6661
|
for (var i = this._groups, a = i.length, n = 0; n < a; ++n) for (var o = i[n], s = o.length, l, c = 0; c < s; ++c) (l = o[c]) && Ki(l, e, t, c, o, r || px(l, t));
|
|
6663
6662
|
return new be(i, this._parents, e, t);
|
|
6664
6663
|
}
|
|
@@ -6714,25 +6713,25 @@ let __tla = Promise.all([
|
|
|
6714
6713
|
mx = "\u200B";
|
|
6715
6714
|
yx = {
|
|
6716
6715
|
curveBasis: ci,
|
|
6717
|
-
curveBasisClosed:
|
|
6718
|
-
curveBasisOpen:
|
|
6716
|
+
curveBasisClosed: hf,
|
|
6717
|
+
curveBasisOpen: cf,
|
|
6719
6718
|
curveBumpX: bo,
|
|
6720
6719
|
curveBumpY: Co,
|
|
6721
|
-
curveBundle:
|
|
6722
|
-
curveCardinalClosed:
|
|
6723
|
-
curveCardinalOpen:
|
|
6724
|
-
curveCardinal:
|
|
6725
|
-
curveCatmullRomClosed:
|
|
6726
|
-
curveCatmullRomOpen:
|
|
6727
|
-
curveCatmullRom:
|
|
6720
|
+
curveBundle: lf,
|
|
6721
|
+
curveCardinalClosed: of,
|
|
6722
|
+
curveCardinalOpen: sf,
|
|
6723
|
+
curveCardinal: mo,
|
|
6724
|
+
curveCatmullRomClosed: nf,
|
|
6725
|
+
curveCatmullRomOpen: af,
|
|
6726
|
+
curveCatmullRom: go,
|
|
6728
6727
|
curveLinear: Aa,
|
|
6729
|
-
curveLinearClosed:
|
|
6730
|
-
curveMonotoneX:
|
|
6731
|
-
curveMonotoneY:
|
|
6732
|
-
curveNatural:
|
|
6733
|
-
curveStep:
|
|
6734
|
-
curveStepAfter:
|
|
6735
|
-
curveStepBefore:
|
|
6728
|
+
curveLinearClosed: rf,
|
|
6729
|
+
curveMonotoneX: po,
|
|
6730
|
+
curveMonotoneY: fo,
|
|
6731
|
+
curveNatural: uo,
|
|
6732
|
+
curveStep: ho,
|
|
6733
|
+
curveStepAfter: co,
|
|
6734
|
+
curveStepBefore: lo
|
|
6736
6735
|
};
|
|
6737
6736
|
xx = /\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi;
|
|
6738
6737
|
bx = f(function(e, t) {
|
|
@@ -6757,7 +6756,7 @@ let __tla = Promise.all([
|
|
|
6757
6756
|
e = e.trim().replace(r, "").replace(/'/gm, '"'), D.debug(`Detecting diagram directive${t !== null ? " type:" + t : ""} based on the text:${e}`);
|
|
6758
6757
|
let i;
|
|
6759
6758
|
const a = [];
|
|
6760
|
-
for (; (i =
|
|
6759
|
+
for (; (i = $r.exec(e)) !== null; ) if (i.index === $r.lastIndex && $r.lastIndex++, i && !t || t && ((_a3 = i[1]) == null ? void 0 : _a3.match(t)) || t && ((_b3 = i[2]) == null ? void 0 : _b3.match(t))) {
|
|
6761
6760
|
const n = i[1] ? i[1] : i[2], o = i[3] ? i[3].trim() : i[4] ? JSON.parse(i[4].trim()) : null;
|
|
6762
6761
|
a.push({
|
|
6763
6762
|
type: n,
|
|
@@ -6776,7 +6775,7 @@ let __tla = Promise.all([
|
|
|
6776
6775
|
}
|
|
6777
6776
|
}, "detectDirective");
|
|
6778
6777
|
Cx = f(function(e) {
|
|
6779
|
-
return e.replace(
|
|
6778
|
+
return e.replace($r, "");
|
|
6780
6779
|
}, "removeDirectives");
|
|
6781
6780
|
vx = f(function(e, t) {
|
|
6782
6781
|
for (const [r, i] of t.entries()) if (i.match(e)) return r;
|
|
@@ -6812,7 +6811,7 @@ let __tla = Promise.all([
|
|
|
6812
6811
|
r += On(a, t), t = a;
|
|
6813
6812
|
});
|
|
6814
6813
|
const i = r / 2;
|
|
6815
|
-
return
|
|
6814
|
+
return $n(e, i);
|
|
6816
6815
|
}
|
|
6817
6816
|
f(Gc, "traverseEdge");
|
|
6818
6817
|
function Xc(e) {
|
|
@@ -6822,7 +6821,7 @@ let __tla = Promise.all([
|
|
|
6822
6821
|
var zs = f((e, t = 2) => {
|
|
6823
6822
|
const r = Math.pow(10, t);
|
|
6824
6823
|
return Math.round(e * r) / r;
|
|
6825
|
-
}, "roundNumber"),
|
|
6824
|
+
}, "roundNumber"), $n = f((e, t) => {
|
|
6826
6825
|
let r, i = t;
|
|
6827
6826
|
for (const a of e) {
|
|
6828
6827
|
if (r) {
|
|
@@ -6847,7 +6846,7 @@ let __tla = Promise.all([
|
|
|
6847
6846
|
throw new Error("Could not find a suitable point for the given distance");
|
|
6848
6847
|
}, "calculatePoint"), Sx = f((e, t, r) => {
|
|
6849
6848
|
D.info(`our points ${JSON.stringify(t)}`), t[0] !== r && (t = t.reverse());
|
|
6850
|
-
const a =
|
|
6849
|
+
const a = $n(t, 25), n = e ? 10 : 5, o = Math.atan2(t[0].y - a.y, t[0].x - a.x), s = {
|
|
6851
6850
|
x: 0,
|
|
6852
6851
|
y: 0
|
|
6853
6852
|
};
|
|
@@ -6856,7 +6855,7 @@ let __tla = Promise.all([
|
|
|
6856
6855
|
function Vc(e, t, r) {
|
|
6857
6856
|
const i = structuredClone(r);
|
|
6858
6857
|
D.info("our points", i), t !== "start_left" && t !== "start_right" && i.reverse();
|
|
6859
|
-
const a = 25 + e, n =
|
|
6858
|
+
const a = 25 + e, n = $n(i, a), o = 10 + e * 0.5, s = Math.atan2(i[0].y - n.y, i[0].x - n.x), l = {
|
|
6860
6859
|
x: 0,
|
|
6861
6860
|
y: 0
|
|
6862
6861
|
};
|
|
@@ -6950,14 +6949,14 @@ let __tla = Promise.all([
|
|
|
6950
6949
|
};
|
|
6951
6950
|
}, (e, t, r = "-", i) => `${e}${t}${r}${i.fontSize}${i.fontWeight}${i.fontFamily}`);
|
|
6952
6951
|
Qc = function(e, t) {
|
|
6953
|
-
return
|
|
6952
|
+
return In(e, t).height;
|
|
6954
6953
|
};
|
|
6955
6954
|
f(Qc, "calculateTextHeight");
|
|
6956
6955
|
Ce = function(e, t) {
|
|
6957
|
-
return
|
|
6956
|
+
return In(e, t).width;
|
|
6958
6957
|
};
|
|
6959
6958
|
f(Ce, "calculateTextWidth");
|
|
6960
|
-
var
|
|
6959
|
+
var In = dn((e, t) => {
|
|
6961
6960
|
const { fontSize: r = 12, fontFamily: i = "Arial", fontWeight: a = 400 } = t;
|
|
6962
6961
|
if (!e) return {
|
|
6963
6962
|
width: 0,
|
|
@@ -7028,7 +7027,7 @@ let __tla = Promise.all([
|
|
|
7028
7027
|
];
|
|
7029
7028
|
}, "parseFontSize");
|
|
7030
7029
|
Pn = function(e, t) {
|
|
7031
|
-
return
|
|
7030
|
+
return uf({}, e, t);
|
|
7032
7031
|
};
|
|
7033
7032
|
f(Pn, "cleanAndMerge");
|
|
7034
7033
|
let Dx;
|
|
@@ -7037,7 +7036,7 @@ let __tla = Promise.all([
|
|
|
7037
7036
|
wrapLabel: Lx,
|
|
7038
7037
|
calculateTextHeight: Qc,
|
|
7039
7038
|
calculateTextWidth: Ce,
|
|
7040
|
-
calculateTextDimensions:
|
|
7039
|
+
calculateTextDimensions: In,
|
|
7041
7040
|
cleanAndMerge: Pn,
|
|
7042
7041
|
detectInit: bx,
|
|
7043
7042
|
detectDirective: Uc,
|
|
@@ -7070,7 +7069,7 @@ let __tla = Promise.all([
|
|
|
7070
7069
|
Ye = f(function(e) {
|
|
7071
7070
|
return e.replace(/fl°°/g, "&#").replace(/fl°/g, "&").replace(/¶ß/g, ";");
|
|
7072
7071
|
}, "decodeEntities");
|
|
7073
|
-
|
|
7072
|
+
iv = f((e, t, { counter: r = 0, prefix: i, suffix: a }, n) => n || `${i ? `${i}_` : ""}${e}_${t}_${r}${a ? `_${a}` : ""}`, "getEdgeId");
|
|
7074
7073
|
function Ot(e) {
|
|
7075
7074
|
return e ?? null;
|
|
7076
7075
|
}
|
|
@@ -7116,7 +7115,7 @@ let __tla = Promise.all([
|
|
|
7116
7115
|
}
|
|
7117
7116
|
f(th, "preprocessMarkdown");
|
|
7118
7117
|
function eh(e, t = {}) {
|
|
7119
|
-
const r = th(e, t), i =
|
|
7118
|
+
const r = th(e, t), i = yo.lexer(r), a = [
|
|
7120
7119
|
[]
|
|
7121
7120
|
];
|
|
7122
7121
|
let n = 0;
|
|
@@ -7148,7 +7147,7 @@ let __tla = Promise.all([
|
|
|
7148
7147
|
}
|
|
7149
7148
|
f(eh, "markdownToLines");
|
|
7150
7149
|
function rh(e, { markdownAutoWrap: t } = {}) {
|
|
7151
|
-
const r =
|
|
7150
|
+
const r = yo.lexer(e);
|
|
7152
7151
|
function i(a) {
|
|
7153
7152
|
var _a3, _b3, _c3;
|
|
7154
7153
|
return a.type === "text" ? t === false ? a.text.replace(/\n */g, "<br/>").replace(/ /g, " ") : a.text.replace(/\n */g, "<br/>") : a.type === "strong" ? `<strong>${(_a3 = a.tokens) == null ? void 0 : _a3.map(i).join("")}</strong>` : a.type === "em" ? `<em>${(_b3 = a.tokens) == null ? void 0 : _b3.map(i).join("")}</em>` : a.type === "paragraph" ? `<p>${(_c3 = a.tokens) == null ? void 0 : _c3.map(i).join("")}</p>` : a.type === "space" ? "" : a.type === "html" ? `${a.text}` : a.type === "escape" ? a.text : `Unsupported markdown: ${a.type}`;
|
|
@@ -7204,10 +7203,10 @@ let __tla = Promise.all([
|
|
|
7204
7203
|
function nh(e, t) {
|
|
7205
7204
|
if (e.some(({ content: r }) => r.includes(`
|
|
7206
7205
|
`))) throw new Error("splitLineToFitWidth does not support newlines in the line");
|
|
7207
|
-
return
|
|
7206
|
+
return $i(e, t);
|
|
7208
7207
|
}
|
|
7209
7208
|
f(nh, "splitLineToFitWidth");
|
|
7210
|
-
function
|
|
7209
|
+
function $i(e, t, r = [], i = []) {
|
|
7211
7210
|
if (e.length === 0) return i.length > 0 && r.push(i), r.length > 0 ? r : [];
|
|
7212
7211
|
let a = "";
|
|
7213
7212
|
e[0].content === " " && (a = " ", e.shift());
|
|
@@ -7220,7 +7219,7 @@ let __tla = Promise.all([
|
|
|
7220
7219
|
if (a !== "" && o.push({
|
|
7221
7220
|
content: a,
|
|
7222
7221
|
type: "normal"
|
|
7223
|
-
}), o.push(n), t(o)) return
|
|
7222
|
+
}), o.push(n), t(o)) return $i(e, t, r, o);
|
|
7224
7223
|
if (i.length > 0) r.push(i), e.unshift(n);
|
|
7225
7224
|
else if (n.content) {
|
|
7226
7225
|
const [s, l] = ah(t, n);
|
|
@@ -7228,9 +7227,9 @@ let __tla = Promise.all([
|
|
|
7228
7227
|
s
|
|
7229
7228
|
]), l.content && e.unshift(l);
|
|
7230
7229
|
}
|
|
7231
|
-
return
|
|
7230
|
+
return $i(e, t, r);
|
|
7232
7231
|
}
|
|
7233
|
-
f(
|
|
7232
|
+
f($i, "splitLineToFitWidthRecursion");
|
|
7234
7233
|
function en(e, t) {
|
|
7235
7234
|
t && e.attr("style", t);
|
|
7236
7235
|
}
|
|
@@ -7333,10 +7332,10 @@ let __tla = Promise.all([
|
|
|
7333
7332
|
}
|
|
7334
7333
|
}
|
|
7335
7334
|
}
|
|
7336
|
-
function
|
|
7335
|
+
function $x(e, t) {
|
|
7337
7336
|
return e[0] === t[0] && e[1] === t[1];
|
|
7338
7337
|
}
|
|
7339
|
-
function
|
|
7338
|
+
function Ix(e, t, r, i = 1) {
|
|
7340
7339
|
const a = r, n = Math.max(t, 0.1), o = e[0] && e[0][0] && typeof e[0][0] == "number" ? [
|
|
7341
7340
|
e
|
|
7342
7341
|
] : e, s = [
|
|
@@ -7350,7 +7349,7 @@ let __tla = Promise.all([
|
|
|
7350
7349
|
const C = [
|
|
7351
7350
|
...b
|
|
7352
7351
|
];
|
|
7353
|
-
|
|
7352
|
+
$x(C[0], C[C.length - 1]) || C.push([
|
|
7354
7353
|
C[0][0],
|
|
7355
7354
|
C[0][1]
|
|
7356
7355
|
]), C.length > 2 && p.push(C);
|
|
@@ -7419,7 +7418,7 @@ let __tla = Promise.all([
|
|
|
7419
7418
|
let a = t.hachureGap;
|
|
7420
7419
|
a < 0 && (a = 4 * t.strokeWidth), a = Math.round(Math.max(a, 0.1));
|
|
7421
7420
|
let n = 1;
|
|
7422
|
-
return t.roughness >= 1 && (((r = t.randomizer) === null || r === void 0 ? void 0 : r.next()) || Math.random()) > 0.7 && (n = a),
|
|
7421
|
+
return t.roughness >= 1 && (((r = t.randomizer) === null || r === void 0 ? void 0 : r.next()) || Math.random()) > 0.7 && (n = a), Ix(e, a, i, n || 1);
|
|
7423
7422
|
}
|
|
7424
7423
|
class Wn {
|
|
7425
7424
|
constructor(t) {
|
|
@@ -7980,20 +7979,20 @@ let __tla = Promise.all([
|
|
|
7980
7979
|
]);
|
|
7981
7980
|
}
|
|
7982
7981
|
x = g - d;
|
|
7983
|
-
const b = Math.cos(d), C = Math.sin(d), S = Math.cos(g), k = Math.sin(g), L = Math.tan(x / 4), T = 4 / 3 * a * L,
|
|
7982
|
+
const b = Math.cos(d), C = Math.sin(d), S = Math.cos(g), k = Math.sin(g), L = Math.tan(x / 4), T = 4 / 3 * a * L, $ = 4 / 3 * n * L, I = [
|
|
7984
7983
|
e,
|
|
7985
7984
|
t
|
|
7986
7985
|
], O = [
|
|
7987
7986
|
e + T * C,
|
|
7988
|
-
t -
|
|
7987
|
+
t - $ * b
|
|
7989
7988
|
], B = [
|
|
7990
7989
|
r + T * k,
|
|
7991
|
-
i -
|
|
7990
|
+
i - $ * S
|
|
7992
7991
|
], W = [
|
|
7993
7992
|
r,
|
|
7994
7993
|
i
|
|
7995
7994
|
];
|
|
7996
|
-
if (O[0] = 2 *
|
|
7995
|
+
if (O[0] = 2 * I[0] - O[0], O[1] = 2 * I[1] - O[1], c) return [
|
|
7997
7996
|
O,
|
|
7998
7997
|
B,
|
|
7999
7998
|
W
|
|
@@ -8024,7 +8023,7 @@ let __tla = Promise.all([
|
|
|
8024
8023
|
return tt(e, t);
|
|
8025
8024
|
},
|
|
8026
8025
|
randOffsetWithRange: function(e, t, r) {
|
|
8027
|
-
return
|
|
8026
|
+
return Ii(e, t, r);
|
|
8028
8027
|
},
|
|
8029
8028
|
ellipse: function(e, t, r, i, a) {
|
|
8030
8029
|
const n = ph(r, i, a);
|
|
@@ -8111,7 +8110,7 @@ let __tla = Promise.all([
|
|
|
8111
8110
|
};
|
|
8112
8111
|
}
|
|
8113
8112
|
function rn(e, t, r, i) {
|
|
8114
|
-
const [a, n] = Xs(i.increment, e, t, i.rx, i.ry, 1, i.increment *
|
|
8113
|
+
const [a, n] = Xs(i.increment, e, t, i.rx, i.ry, 1, i.increment * Ii(0.1, Ii(0.4, 1, r), r), r);
|
|
8115
8114
|
let o = Ri(a, null, r);
|
|
8116
8115
|
if (!r.disableMultiStroke && r.roughness !== 0) {
|
|
8117
8116
|
const [s] = Xs(i.increment, e, t, i.rx, i.ry, 1.5, 0, r), l = Ri(s, null, r);
|
|
@@ -8256,11 +8255,11 @@ let __tla = Promise.all([
|
|
|
8256
8255
|
function gh(e) {
|
|
8257
8256
|
return e.randomizer || (e.randomizer = new qx(e.seed || 0)), e.randomizer.next();
|
|
8258
8257
|
}
|
|
8259
|
-
function
|
|
8258
|
+
function Ii(e, t, r, i = 1) {
|
|
8260
8259
|
return r.roughness * i * (gh(r) * (t - e) + e);
|
|
8261
8260
|
}
|
|
8262
8261
|
function tt(e, t, r = 1) {
|
|
8263
|
-
return
|
|
8262
|
+
return Ii(-e, e, t, r);
|
|
8264
8263
|
}
|
|
8265
8264
|
function Me(e, t, r, i, a, n = false) {
|
|
8266
8265
|
const o = n ? a.disableMultiStrokeFill : a.disableMultiStroke, s = an(e, t, r, i, a, true, false);
|
|
@@ -8539,9 +8538,9 @@ let __tla = Promise.all([
|
|
|
8539
8538
|
const i = bi(t, r);
|
|
8540
8539
|
if (i === 0) return bi(e, t);
|
|
8541
8540
|
let a = ((e[0] - t[0]) * (r[0] - t[0]) + (e[1] - t[1]) * (r[1] - t[1])) / i;
|
|
8542
|
-
return a = Math.max(0, Math.min(1, a)), bi(e,
|
|
8541
|
+
return a = Math.max(0, Math.min(1, a)), bi(e, Ie(t, r, a));
|
|
8543
8542
|
}
|
|
8544
|
-
function
|
|
8543
|
+
function Ie(e, t, r) {
|
|
8545
8544
|
return [
|
|
8546
8545
|
e[0] + (t[0] - e[0]) * r,
|
|
8547
8546
|
e[1] + (t[1] - e[1]) * r
|
|
@@ -8563,7 +8562,7 @@ let __tla = Promise.all([
|
|
|
8563
8562
|
const s = e[t + 0];
|
|
8564
8563
|
a.length ? (n = a[a.length - 1], o = s, Math.sqrt(bi(n, o)) > 1 && a.push(s)) : a.push(s), a.push(e[t + 3]);
|
|
8565
8564
|
} else {
|
|
8566
|
-
const l = e[t + 0], c = e[t + 1], h = e[t + 2], u = e[t + 3], p =
|
|
8565
|
+
const l = e[t + 0], c = e[t + 1], h = e[t + 2], u = e[t + 3], p = Ie(l, c, 0.5), d = Ie(c, h, 0.5), g = Ie(h, u, 0.5), m = Ie(p, d, 0.5), y = Ie(d, g, 0.5), x = Ie(m, y, 0.5);
|
|
8567
8566
|
nn([
|
|
8568
8567
|
l,
|
|
8569
8568
|
p,
|
|
@@ -8701,17 +8700,17 @@ let __tla = Promise.all([
|
|
|
8701
8700
|
const C = p, S = d;
|
|
8702
8701
|
let k = Math.abs(g / 2), L = Math.abs(m / 2);
|
|
8703
8702
|
k += tt(0.01 * k, b), L += tt(0.01 * L, b);
|
|
8704
|
-
let T = y,
|
|
8705
|
-
for (; T < 0; ) T += 2 * Math.PI,
|
|
8706
|
-
|
|
8707
|
-
const
|
|
8708
|
-
for (let B = T; B <=
|
|
8703
|
+
let T = y, $ = x;
|
|
8704
|
+
for (; T < 0; ) T += 2 * Math.PI, $ += 2 * Math.PI;
|
|
8705
|
+
$ - T > 2 * Math.PI && (T = 0, $ = 2 * Math.PI);
|
|
8706
|
+
const I = ($ - T) / b.curveStepCount, O = [];
|
|
8707
|
+
for (let B = T; B <= $; B += I) O.push([
|
|
8709
8708
|
C + k * Math.cos(B),
|
|
8710
8709
|
S + L * Math.sin(B)
|
|
8711
8710
|
]);
|
|
8712
8711
|
return O.push([
|
|
8713
|
-
C + k * Math.cos(
|
|
8714
|
-
S + L * Math.sin(
|
|
8712
|
+
C + k * Math.cos($),
|
|
8713
|
+
S + L * Math.sin($)
|
|
8715
8714
|
]), O.push([
|
|
8716
8715
|
C,
|
|
8717
8716
|
S
|
|
@@ -9085,7 +9084,7 @@ let __tla = Promise.all([
|
|
|
9085
9084
|
].map((m) => new Promise((y) => {
|
|
9086
9085
|
function x() {
|
|
9087
9086
|
if (m.style.display = "flex", m.style.flexDirection = "column", g) {
|
|
9088
|
-
const b = ht().fontSize ? ht().fontSize : window.getComputedStyle(document.body).fontSize, C = 5, [S =
|
|
9087
|
+
const b = ht().fontSize ? ht().fontSize : window.getComputedStyle(document.body).fontSize, C = 5, [S = $o.fontSize] = Zi(b), k = S * C + "px";
|
|
9089
9088
|
m.style.minWidth = k, m.style.maxWidth = k;
|
|
9090
9089
|
} else m.style.width = "100%";
|
|
9091
9090
|
y(m);
|
|
@@ -9321,8 +9320,8 @@ let __tla = Promise.all([
|
|
|
9321
9320
|
});
|
|
9322
9321
|
let m = g.getBBox();
|
|
9323
9322
|
if (xt(r.flowchart.htmlLabels)) {
|
|
9324
|
-
const T = g.children[0],
|
|
9325
|
-
m = T.getBoundingClientRect(),
|
|
9323
|
+
const T = g.children[0], $ = lt(g);
|
|
9324
|
+
m = T.getBoundingClientRect(), $.attr("width", m.width), $.attr("height", m.height);
|
|
9326
9325
|
}
|
|
9327
9326
|
const y = t.width <= m.width + t.padding ? m.width + t.padding : t.width;
|
|
9328
9327
|
t.width <= m.width + t.padding ? t.diff = (y - t.width) / 2 - t.padding : t.diff = -t.padding;
|
|
@@ -9330,14 +9329,14 @@ let __tla = Promise.all([
|
|
|
9330
9329
|
D.trace("Data ", t, JSON.stringify(t));
|
|
9331
9330
|
let S;
|
|
9332
9331
|
if (t.look === "handDrawn") {
|
|
9333
|
-
const T = U.svg(u),
|
|
9332
|
+
const T = U.svg(u), $ = G(t, {
|
|
9334
9333
|
roughness: 0.7,
|
|
9335
9334
|
fill: n,
|
|
9336
9335
|
stroke: o,
|
|
9337
9336
|
fillWeight: 3,
|
|
9338
9337
|
seed: a
|
|
9339
|
-
}),
|
|
9340
|
-
S = u.insert(() => (D.debug("Rough node insert CXC",
|
|
9338
|
+
}), I = T.path(we(b, C, y, x, 0), $);
|
|
9339
|
+
S = u.insert(() => (D.debug("Rough node insert CXC", I), I), ":first-child"), S.select("path:nth-child(2)").attr("style", c.join(";")), S.select("path").attr("style", h.join(";").replace("fill", "stroke"));
|
|
9341
9340
|
} else S = u.insert("rect", ":first-child"), S.attr("style", l).attr("rx", t.rx).attr("ry", t.ry).attr("x", b).attr("y", C).attr("width", y).attr("height", x);
|
|
9342
9341
|
const { subGraphTitleTopMargin: k } = Ln(r);
|
|
9343
9342
|
if (d.attr("transform", `translate(${t.x - m.width / 2}, ${t.y - t.height / 2 + k})`), s) {
|
|
@@ -9372,8 +9371,8 @@ let __tla = Promise.all([
|
|
|
9372
9371
|
const d = u.node().appendChild(await We(t.label, t.labelStyle, void 0, true));
|
|
9373
9372
|
let g = d.getBBox();
|
|
9374
9373
|
if (xt(r.flowchart.htmlLabels)) {
|
|
9375
|
-
const
|
|
9376
|
-
g =
|
|
9374
|
+
const I = d.children[0], O = lt(d);
|
|
9375
|
+
g = I.getBoundingClientRect(), O.attr("width", g.width), O.attr("height", g.height);
|
|
9377
9376
|
}
|
|
9378
9377
|
const m = 0 * t.padding, y = m / 2, x = (t.width <= g.width + t.padding ? g.width + t.padding : t.width) + m;
|
|
9379
9378
|
t.width <= g.width + t.padding ? t.diff = (x - t.width) / 2 - t.padding : t.diff = -t.padding;
|
|
@@ -9382,7 +9381,7 @@ let __tla = Promise.all([
|
|
|
9382
9381
|
const L = t.y - t.height / 2 - y + g.height + 2;
|
|
9383
9382
|
let T;
|
|
9384
9383
|
if (t.look === "handDrawn") {
|
|
9385
|
-
const
|
|
9384
|
+
const I = t.cssClasses.includes("statediagram-cluster-alt"), O = U.svg(c), B = t.rx || t.ry ? O.path(we(S, k, x, b, 10), {
|
|
9386
9385
|
roughness: 0.7,
|
|
9387
9386
|
fill: s,
|
|
9388
9387
|
fillStyle: "solid",
|
|
@@ -9393,17 +9392,17 @@ let __tla = Promise.all([
|
|
|
9393
9392
|
});
|
|
9394
9393
|
T = c.insert(() => B, ":first-child");
|
|
9395
9394
|
const W = O.rectangle(S, L, x, C, {
|
|
9396
|
-
fill:
|
|
9397
|
-
fillStyle:
|
|
9395
|
+
fill: I ? n : o,
|
|
9396
|
+
fillStyle: I ? "hachure" : "solid",
|
|
9398
9397
|
stroke: l,
|
|
9399
9398
|
seed: a
|
|
9400
9399
|
});
|
|
9401
9400
|
T = c.insert(() => B, ":first-child"), p = c.insert(() => W);
|
|
9402
9401
|
} else T = h.insert("rect", ":first-child"), T.attr("class", "outer").attr("x", S).attr("y", k).attr("width", x).attr("height", b).attr("data-look", t.look), p.attr("class", "inner").attr("x", S).attr("y", L).attr("width", x).attr("height", C);
|
|
9403
9402
|
u.attr("transform", `translate(${t.x - g.width / 2}, ${k + 1 - (xt(r.flowchart.htmlLabels) ? 0 : 3)})`);
|
|
9404
|
-
const
|
|
9405
|
-
return t.height =
|
|
9406
|
-
return fr(t,
|
|
9403
|
+
const $ = T.node().getBBox();
|
|
9404
|
+
return t.height = $.height, t.offsetX = 0, t.offsetY = g.height - t.padding / 2, t.labelBBox = g, t.intersect = function(I) {
|
|
9405
|
+
return fr(t, I);
|
|
9407
9406
|
}, {
|
|
9408
9407
|
cluster: c,
|
|
9409
9408
|
labelBBox: g
|
|
@@ -9419,8 +9418,8 @@ let __tla = Promise.all([
|
|
|
9419
9418
|
});
|
|
9420
9419
|
let m = g.getBBox();
|
|
9421
9420
|
if (xt(r.flowchart.htmlLabels)) {
|
|
9422
|
-
const T = g.children[0],
|
|
9423
|
-
m = T.getBoundingClientRect(),
|
|
9421
|
+
const T = g.children[0], $ = lt(g);
|
|
9422
|
+
m = T.getBoundingClientRect(), $.attr("width", m.width), $.attr("height", m.height);
|
|
9424
9423
|
}
|
|
9425
9424
|
const y = t.width <= m.width + t.padding ? m.width + t.padding : t.width;
|
|
9426
9425
|
t.width <= m.width + t.padding ? t.diff = (y - t.width) / 2 - t.padding : t.diff = -t.padding;
|
|
@@ -9428,14 +9427,14 @@ let __tla = Promise.all([
|
|
|
9428
9427
|
D.trace("Data ", t, JSON.stringify(t));
|
|
9429
9428
|
let S;
|
|
9430
9429
|
if (t.look === "handDrawn") {
|
|
9431
|
-
const T = U.svg(u),
|
|
9430
|
+
const T = U.svg(u), $ = G(t, {
|
|
9432
9431
|
roughness: 0.7,
|
|
9433
9432
|
fill: n,
|
|
9434
9433
|
stroke: o,
|
|
9435
9434
|
fillWeight: 4,
|
|
9436
9435
|
seed: a
|
|
9437
|
-
}),
|
|
9438
|
-
S = u.insert(() => (D.debug("Rough node insert CXC",
|
|
9436
|
+
}), I = T.path(we(b, C, y, x, t.rx), $);
|
|
9437
|
+
S = u.insert(() => (D.debug("Rough node insert CXC", I), I), ":first-child"), S.select("path:nth-child(2)").attr("style", c.join(";")), S.select("path").attr("style", h.join(";").replace("fill", "stroke"));
|
|
9439
9438
|
} else S = u.insert("rect", ":first-child"), S.attr("style", l).attr("rx", t.rx).attr("ry", t.ry).attr("x", b).attr("y", C).attr("width", y).attr("height", x);
|
|
9440
9439
|
const { subGraphTitleTopMargin: k } = Ln(r);
|
|
9441
9440
|
if (d.attr("transform", `translate(${t.x - m.width / 2}, ${t.y - t.height / 2 + k})`), s) {
|
|
@@ -9490,7 +9489,7 @@ let __tla = Promise.all([
|
|
|
9490
9489
|
const r = t.shape || "rect", i = await sb[r](e, t);
|
|
9491
9490
|
return Ch.set(t.id, i), i;
|
|
9492
9491
|
}, "insertCluster");
|
|
9493
|
-
|
|
9492
|
+
av = f(() => {
|
|
9494
9493
|
Ch = /* @__PURE__ */ new Map();
|
|
9495
9494
|
}, "clear");
|
|
9496
9495
|
function vh(e, t) {
|
|
@@ -9582,7 +9581,7 @@ let __tla = Promise.all([
|
|
|
9582
9581
|
o && k < 0 && (k += 2 * Math.PI), !o && k > 0 && (k -= 2 * Math.PI);
|
|
9583
9582
|
const L = [];
|
|
9584
9583
|
for (let T = 0; T < 20; T++) {
|
|
9585
|
-
const
|
|
9584
|
+
const $ = T / 19, I = C + $ * k, O = x + a * Math.cos(I), B = b + n * Math.sin(I);
|
|
9586
9585
|
L.push({
|
|
9587
9586
|
x: O,
|
|
9588
9587
|
y: B
|
|
@@ -9819,7 +9818,7 @@ let __tla = Promise.all([
|
|
|
9819
9818
|
return o;
|
|
9820
9819
|
}
|
|
9821
9820
|
f(me, "generateCirclePoints");
|
|
9822
|
-
async function
|
|
9821
|
+
async function $h(e, t) {
|
|
9823
9822
|
const { labelStyles: r, nodeStyles: i } = V(t);
|
|
9824
9823
|
t.labelStyle = r;
|
|
9825
9824
|
const { shapeSvg: a, bbox: n, label: o } = await it(e, t, et(t)), s = n.width + (t.padding ?? 0), l = n.height + (t.padding ?? 0), c = Math.max(5, l * 0.1), { cssStyles: h } = t, u = [
|
|
@@ -9875,7 +9874,7 @@ let __tla = Promise.all([
|
|
|
9875
9874
|
return Y.polygon(t, p, k);
|
|
9876
9875
|
}, a;
|
|
9877
9876
|
}
|
|
9878
|
-
f(
|
|
9877
|
+
f($h, "curlyBraceRight");
|
|
9879
9878
|
function wt(e, t, r, i = 100, a = 0, n = 180) {
|
|
9880
9879
|
const o = [], s = a * Math.PI / 180, h = (n * Math.PI / 180 - s) / (i - 1);
|
|
9881
9880
|
for (let u = 0; u < i; u++) {
|
|
@@ -9888,7 +9887,7 @@ let __tla = Promise.all([
|
|
|
9888
9887
|
return o;
|
|
9889
9888
|
}
|
|
9890
9889
|
f(wt, "generateCirclePoints");
|
|
9891
|
-
async function
|
|
9890
|
+
async function Ih(e, t) {
|
|
9892
9891
|
const { labelStyles: r, nodeStyles: i } = V(t);
|
|
9893
9892
|
t.labelStyle = r;
|
|
9894
9893
|
const { shapeSvg: a, bbox: n, label: o } = await it(e, t, et(t)), s = n.width + (t.padding ?? 0), l = n.height + (t.padding ?? 0), c = Math.max(5, l * 0.1), { cssStyles: h } = t, u = [
|
|
@@ -9964,12 +9963,12 @@ let __tla = Promise.all([
|
|
|
9964
9963
|
t.look !== "handDrawn" && (m.roughness = 0, m.fillStyle = "solid");
|
|
9965
9964
|
const x = ct(u).replace("Z", ""), b = g.path(x, m), S = ct(p).replace("Z", ""), k = g.path(S, m), L = ct(d), T = g.path(L, {
|
|
9966
9965
|
...m
|
|
9967
|
-
}),
|
|
9968
|
-
return
|
|
9969
|
-
return Y.polygon(t, d,
|
|
9966
|
+
}), $ = a.insert("g", ":first-child");
|
|
9967
|
+
return $.insert(() => T, ":first-child").attr("stroke-opacity", 0), $.insert(() => b, ":first-child"), $.insert(() => k, ":first-child"), $.attr("class", "text"), h && t.look !== "handDrawn" && $.selectAll("path").attr("style", h), i && t.look !== "handDrawn" && $.selectAll("path").attr("style", i), $.attr("transform", `translate(${c - c / 4}, 0)`), o.attr("transform", `translate(${-s / 2 + (t.padding ?? 0) / 2 - (n.x - (n.left ?? 0))},${-l / 2 + (t.padding ?? 0) / 2 - (n.y - (n.top ?? 0))})`), X(t, $), t.intersect = function(I) {
|
|
9968
|
+
return Y.polygon(t, d, I);
|
|
9970
9969
|
}, a;
|
|
9971
9970
|
}
|
|
9972
|
-
f(
|
|
9971
|
+
f(Ih, "curlyBraces");
|
|
9973
9972
|
async function Rh(e, t) {
|
|
9974
9973
|
const { labelStyles: r, nodeStyles: i } = V(t);
|
|
9975
9974
|
t.labelStyle = r;
|
|
@@ -10295,11 +10294,11 @@ let __tla = Promise.all([
|
|
|
10295
10294
|
fill: "none"
|
|
10296
10295
|
});
|
|
10297
10296
|
t.look !== "handDrawn" && (k.roughness = 0, k.fillStyle = "solid");
|
|
10298
|
-
const L = S.rectangle(x, b, g, d, k), T = Math.max(g, h.width),
|
|
10297
|
+
const L = S.rectangle(x, b, g, d, k), T = Math.max(g, h.width), $ = d + h.height + C, I = S.rectangle(-T / 2, -$ / 2, T, $, {
|
|
10299
10298
|
...k,
|
|
10300
10299
|
fill: "transparent",
|
|
10301
10300
|
stroke: "none"
|
|
10302
|
-
}), O = c.insert(() => L, ":first-child"), B = c.insert(() =>
|
|
10301
|
+
}), O = c.insert(() => L, ":first-child"), B = c.insert(() => I);
|
|
10303
10302
|
if (t.icon) {
|
|
10304
10303
|
const W = c.append("g");
|
|
10305
10304
|
W.html(`<g>${await Xi(t.icon, {
|
|
@@ -10310,7 +10309,7 @@ let __tla = Promise.all([
|
|
|
10310
10309
|
const P = W.node().getBBox(), E = P.width, M = P.height, _ = P.x, F = P.y;
|
|
10311
10310
|
W.attr("transform", `translate(${-E / 2 - _},${p ? h.height / 2 + C / 2 - M / 2 - F : -h.height / 2 - C / 2 - M / 2 - F})`), W.attr("style", `color: ${y.get("stroke") ?? m};`);
|
|
10312
10311
|
}
|
|
10313
|
-
return u.attr("transform", `translate(${-h.width / 2 - (h.x - (h.left ?? 0))},${p ?
|
|
10312
|
+
return u.attr("transform", `translate(${-h.width / 2 - (h.x - (h.left ?? 0))},${p ? -$ / 2 : $ / 2 - h.height})`), O.attr("transform", `translate(0,${p ? h.height / 2 + C / 2 : -h.height / 2 - C / 2})`), X(t, B), t.intersect = function(W) {
|
|
10314
10313
|
if (D.info("iconSquare intersect", t, W), !t.label) return Y.rect(t, W);
|
|
10315
10314
|
const P = t.x ?? 0, E = t.y ?? 0, M = t.height ?? 0;
|
|
10316
10315
|
let _ = [];
|
|
@@ -10399,12 +10398,12 @@ let __tla = Promise.all([
|
|
|
10399
10398
|
width: s,
|
|
10400
10399
|
fallbackPrefix: ""
|
|
10401
10400
|
})}</g>`);
|
|
10402
|
-
const L = k.node().getBBox(), T = L.width,
|
|
10401
|
+
const L = k.node().getBBox(), T = L.width, $ = L.height, I = L.x, O = L.y, B = Math.max(T, $) * Math.SQRT2 + p * 2, W = b.circle(0, 0, B, C), P = Math.max(B, h.width), E = B + h.height + d, M = b.rectangle(-P / 2, -E / 2, P, E, {
|
|
10403
10402
|
...C,
|
|
10404
10403
|
fill: "transparent",
|
|
10405
10404
|
stroke: "none"
|
|
10406
10405
|
}), _ = c.insert(() => W, ":first-child"), F = c.insert(() => M);
|
|
10407
|
-
return k.attr("transform", `translate(${-T / 2 -
|
|
10406
|
+
return k.attr("transform", `translate(${-T / 2 - I},${g ? h.height / 2 + d / 2 - $ / 2 - O : -h.height / 2 - d / 2 - $ / 2 - O})`), k.attr("style", `color: ${x.get("stroke") ?? m};`), u.attr("transform", `translate(${-h.width / 2 - (h.x - (h.left ?? 0))},${g ? -E / 2 : E / 2 - h.height})`), _.attr("transform", `translate(0,${g ? h.height / 2 + d / 2 : -h.height / 2 - d / 2})`), X(t, F), t.intersect = function(A) {
|
|
10408
10407
|
return D.info("iconSquare intersect", t, A), Y.rect(t, A);
|
|
10409
10408
|
}, c;
|
|
10410
10409
|
}
|
|
@@ -10416,13 +10415,13 @@ let __tla = Promise.all([
|
|
|
10416
10415
|
t.width = Math.max(s, l ?? 0);
|
|
10417
10416
|
const { shapeSvg: c, bbox: h, halfPadding: u, label: p } = await it(e, t, "icon-shape default"), d = t.pos === "t", g = s + u * 2, m = s + u * 2, { nodeBorder: y, mainBkg: x } = r, { stylesMap: b } = pr(t), C = -m / 2, S = -g / 2, k = t.label ? 8 : 0, L = U.svg(c), T = G(t, {});
|
|
10418
10417
|
t.look !== "handDrawn" && (T.roughness = 0, T.fillStyle = "solid");
|
|
10419
|
-
const
|
|
10420
|
-
T.stroke =
|
|
10421
|
-
const
|
|
10418
|
+
const $ = b.get("fill");
|
|
10419
|
+
T.stroke = $ ?? x;
|
|
10420
|
+
const I = L.path(we(C, S, m, g, 5), T), O = Math.max(m, h.width), B = g + h.height + k, W = L.rectangle(-O / 2, -B / 2, O, B, {
|
|
10422
10421
|
...T,
|
|
10423
10422
|
fill: "transparent",
|
|
10424
10423
|
stroke: "none"
|
|
10425
|
-
}), P = c.insert(() =>
|
|
10424
|
+
}), P = c.insert(() => I, ":first-child").attr("class", "icon-shape2"), E = c.insert(() => W);
|
|
10426
10425
|
if (t.icon) {
|
|
10427
10426
|
const M = c.append("g");
|
|
10428
10427
|
M.html(`<g>${await Xi(t.icon, {
|
|
@@ -10514,13 +10513,13 @@ let __tla = Promise.all([
|
|
|
10514
10513
|
t.width = Math.max(s, l ?? 0);
|
|
10515
10514
|
const { shapeSvg: c, bbox: h, halfPadding: u, label: p } = await it(e, t, "icon-shape default"), d = t.pos === "t", g = s + u * 2, m = s + u * 2, { nodeBorder: y, mainBkg: x } = r, { stylesMap: b } = pr(t), C = -m / 2, S = -g / 2, k = t.label ? 8 : 0, L = U.svg(c), T = G(t, {});
|
|
10516
10515
|
t.look !== "handDrawn" && (T.roughness = 0, T.fillStyle = "solid");
|
|
10517
|
-
const
|
|
10518
|
-
T.stroke =
|
|
10519
|
-
const
|
|
10516
|
+
const $ = b.get("fill");
|
|
10517
|
+
T.stroke = $ ?? x;
|
|
10518
|
+
const I = L.path(we(C, S, m, g, 0.1), T), O = Math.max(m, h.width), B = g + h.height + k, W = L.rectangle(-O / 2, -B / 2, O, B, {
|
|
10520
10519
|
...T,
|
|
10521
10520
|
fill: "transparent",
|
|
10522
10521
|
stroke: "none"
|
|
10523
|
-
}), P = c.insert(() =>
|
|
10522
|
+
}), P = c.insert(() => I, ":first-child"), E = c.insert(() => W);
|
|
10524
10523
|
if (t.icon) {
|
|
10525
10524
|
const M = c.append("g");
|
|
10526
10525
|
M.html(`<g>${await Xi(t.icon, {
|
|
@@ -10622,12 +10621,12 @@ let __tla = Promise.all([
|
|
|
10622
10621
|
...C,
|
|
10623
10622
|
fill: "none",
|
|
10624
10623
|
stroke: "none"
|
|
10625
|
-
}),
|
|
10624
|
+
}), $ = u.insert(() => S, ":first-child"), I = u.insert(() => T);
|
|
10626
10625
|
if (t.img) {
|
|
10627
10626
|
const O = u.append("image");
|
|
10628
10627
|
O.attr("href", t.img), O.attr("width", c), O.attr("height", h), O.attr("preserveAspectRatio", "none"), O.attr("transform", `translate(${-c / 2},${g ? L / 2 - h : -L / 2})`);
|
|
10629
10628
|
}
|
|
10630
|
-
return d.attr("transform", `translate(${-p.width / 2 - (p.x - (p.left ?? 0))},${g ? -h / 2 - p.height / 2 - x / 2 : h / 2 - p.height / 2 + x / 2})`),
|
|
10629
|
+
return d.attr("transform", `translate(${-p.width / 2 - (p.x - (p.left ?? 0))},${g ? -h / 2 - p.height / 2 - x / 2 : h / 2 - p.height / 2 + x / 2})`), $.attr("transform", `translate(0,${g ? p.height / 2 + x / 2 : -p.height / 2 - x / 2})`), X(t, I), t.intersect = function(O) {
|
|
10631
10630
|
if (D.info("iconSquare intersect", t, O), !t.label) return Y.rect(t, O);
|
|
10632
10631
|
const B = t.x ?? 0, W = t.y ?? 0, P = t.height ?? 0;
|
|
10633
10632
|
let E = [];
|
|
@@ -11108,8 +11107,8 @@ let __tla = Promise.all([
|
|
|
11108
11107
|
}
|
|
11109
11108
|
], C = U.svg(a), S = G(t, {});
|
|
11110
11109
|
t.look !== "handDrawn" && (S.roughness = 0, S.fillStyle = "solid");
|
|
11111
|
-
const k = ct(x), L = C.path(k, S), T = ct(b),
|
|
11112
|
-
return
|
|
11110
|
+
const k = ct(x), L = C.path(k, S), T = ct(b), $ = C.path(T, S), I = a.insert(() => L, ":first-child");
|
|
11111
|
+
return I.insert(() => $), I.attr("class", "basic label-container"), g && t.look !== "handDrawn" && I.selectAll("path").attr("style", g), i && t.look !== "handDrawn" && I.selectAll("path").attr("style", i), I.attr("transform", `translate(0,${-c / 2})`), o.attr("transform", `translate(${-(n.width / 2) - d - (n.x - (n.left ?? 0))}, ${-(n.height / 2) + d - c / 2 - (n.y - (n.top ?? 0))})`), X(t, I), t.intersect = function(O) {
|
|
11113
11112
|
return Y.polygon(t, x, O);
|
|
11114
11113
|
}, a;
|
|
11115
11114
|
}
|
|
@@ -11216,8 +11215,8 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
11216
11215
|
height: 0
|
|
11217
11216
|
};
|
|
11218
11217
|
if (xt((_b3 = (_a3 = ht()) == null ? void 0 : _a3.flowchart) == null ? void 0 : _b3.htmlLabels)) {
|
|
11219
|
-
const
|
|
11220
|
-
u =
|
|
11218
|
+
const $ = h.children[0], I = lt(h);
|
|
11219
|
+
u = $.getBoundingClientRect(), I.attr("width", u.width), I.attr("height", u.height);
|
|
11221
11220
|
}
|
|
11222
11221
|
D.info("Text 2", l);
|
|
11223
11222
|
const p = l || [], d = h.getBBox(), g = s.node().appendChild(await We(p.join ? p.join("<br/>") : p, t.labelStyle, true, true)), m = g.children[0], y = lt(g);
|
|
@@ -11227,11 +11226,11 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
11227
11226
|
const b = u.width + (t.padding || 0), C = u.height + (t.padding || 0), S = -u.width / 2 - x, k = -u.height / 2 - x;
|
|
11228
11227
|
let L, T;
|
|
11229
11228
|
if (t.look === "handDrawn") {
|
|
11230
|
-
const
|
|
11229
|
+
const $ = U.svg(n), I = G(t, {}), O = $.path(we(S, k, b, C, t.rx || 0), I), B = $.line(-u.width / 2 - x, -u.height / 2 - x + d.height + x, u.width / 2 + x, -u.height / 2 - x + d.height + x, I);
|
|
11231
11230
|
T = n.insert(() => (D.debug("Rough node insert CXC", O), B), ":first-child"), L = n.insert(() => (D.debug("Rough node insert CXC", O), O), ":first-child");
|
|
11232
11231
|
} else L = o.insert("rect", ":first-child"), T = o.insert("line"), L.attr("class", "outer title-state").attr("style", i).attr("x", -u.width / 2 - x).attr("y", -u.height / 2 - x).attr("width", u.width + (t.padding || 0)).attr("height", u.height + (t.padding || 0)), T.attr("class", "divider").attr("x1", -u.width / 2 - x).attr("x2", u.width / 2 + x).attr("y1", -u.height / 2 - x + d.height + x).attr("y2", -u.height / 2 - x + d.height + x);
|
|
11233
|
-
return X(t, L), t.intersect = function(
|
|
11234
|
-
return Y.rect(t,
|
|
11232
|
+
return X(t, L), t.intersect = function($) {
|
|
11233
|
+
return Y.rect(t, $);
|
|
11235
11234
|
}, n;
|
|
11236
11235
|
}
|
|
11237
11236
|
f(hu, "rectWithTitle");
|
|
@@ -11520,9 +11519,9 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
11520
11519
|
], S = ct(y), k = g.path(S, m), L = ct(C), T = g.path(L, {
|
|
11521
11520
|
...m,
|
|
11522
11521
|
fillStyle: "solid"
|
|
11523
|
-
}),
|
|
11524
|
-
return
|
|
11525
|
-
return Y.polygon(t, y,
|
|
11522
|
+
}), $ = a.insert(() => T, ":first-child");
|
|
11523
|
+
return $.insert(() => k, ":first-child"), $.attr("class", "basic label-container"), d && t.look !== "handDrawn" && $.selectAll("path").attr("style", d), i && t.look !== "handDrawn" && $.selectAll("path").attr("style", i), $.attr("transform", `translate(0,${-c / 2})`), o.attr("transform", `translate(${-s / 2 + (t.padding ?? 0) - (n.x - (n.left ?? 0))},${-l / 2 + (t.padding ?? 0) - c / 2 - (n.y - (n.top ?? 0))})`), X(t, $), t.intersect = function(I) {
|
|
11524
|
+
return Y.polygon(t, y, I);
|
|
11526
11525
|
}, a;
|
|
11527
11526
|
}
|
|
11528
11527
|
f(vu, "taggedWaveEdgedRectangle");
|
|
@@ -11821,7 +11820,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
11821
11820
|
}
|
|
11822
11821
|
const k = d + g + m + y, L = U.svg(c), T = G(t, {});
|
|
11823
11822
|
t.look !== "handDrawn" && (T.roughness = 0, T.fillStyle = "solid");
|
|
11824
|
-
const
|
|
11823
|
+
const $ = Math.max(S.width + a * 2, (t == null ? void 0 : t.width) || 0, k), I = Math.max(S.height + (p[0] || u) + n, (t == null ? void 0 : t.height) || 0), O = -$ / 2, B = -I / 2;
|
|
11825
11824
|
c.selectAll("g:not(:first-child)").each((N, q, K) => {
|
|
11826
11825
|
const nt = lt(K[q]), at = nt.attr("transform");
|
|
11827
11826
|
let ut = 0, st = 0;
|
|
@@ -11831,20 +11830,20 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
11831
11830
|
}
|
|
11832
11831
|
nt.attr("transform", `translate(${O + a / 2 + ut}, ${st + B + h.height + n / 2})`);
|
|
11833
11832
|
}), c.select(".name").attr("transform", "translate(" + -h.width / 2 + ", " + (B + n / 2) + ")");
|
|
11834
|
-
const W = L.rectangle(O, B, I,
|
|
11833
|
+
const W = L.rectangle(O, B, $, I, T), P = c.insert(() => W, ":first-child").attr("style", o.join("")), { themeVariables: E } = zt(), { rowEven: M, rowOdd: _, nodeBorder: F } = E;
|
|
11835
11834
|
p.push(0);
|
|
11836
11835
|
for (const [N, q] of p.entries()) {
|
|
11837
11836
|
if (N === 0 && p.length > 1) continue;
|
|
11838
|
-
const K = N % 2 === 0 && q !== 0, nt = L.rectangle(O, h.height + B + q,
|
|
11837
|
+
const K = N % 2 === 0 && q !== 0, nt = L.rectangle(O, h.height + B + q, $, h.height, {
|
|
11839
11838
|
...T,
|
|
11840
11839
|
fill: K ? M : _,
|
|
11841
11840
|
stroke: F
|
|
11842
11841
|
});
|
|
11843
11842
|
c.insert(() => nt, "g.label").attr("style", o.join("")).attr("class", `row-rect-${N % 2 === 0 ? "even" : "odd"}`);
|
|
11844
11843
|
}
|
|
11845
|
-
let A = L.line(O, h.height + B,
|
|
11846
|
-
c.insert(() => A).attr("class", "divider"), A = L.line(d + O, h.height + B, d + O,
|
|
11847
|
-
for (const N of p) A = L.line(O, h.height + B + N,
|
|
11844
|
+
let A = L.line(O, h.height + B, $ + O, h.height + B, T);
|
|
11845
|
+
c.insert(() => A).attr("class", "divider"), A = L.line(d + O, h.height + B, d + O, I + B, T), c.insert(() => A).attr("class", "divider"), x && (A = L.line(d + g + O, h.height + B, d + g + O, I + B, T), c.insert(() => A).attr("class", "divider")), b && (A = L.line(d + g + m + O, h.height + B, d + g + m + O, I + B, T), c.insert(() => A).attr("class", "divider"));
|
|
11846
|
+
for (const N of p) A = L.line(O, h.height + B + N, $ + O, h.height + B + N, T), c.insert(() => A).attr("class", "divider");
|
|
11848
11847
|
return X(t, P), t.intersect = function(N) {
|
|
11849
11848
|
return Y.rect(t, N);
|
|
11850
11849
|
}, c;
|
|
@@ -11969,7 +11968,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
11969
11968
|
const x = -m / 2, b = -y / 2, C = d.rectangle(x - i, b - i - (p ? i : o.members.length === 0 && o.methods.length === 0 ? -i / 2 : 0), m + 2 * i, y + 2 * i + (p ? i * 2 : o.members.length === 0 && o.methods.length === 0 ? -i : 0), g), S = s.insert(() => C, ":first-child");
|
|
11970
11969
|
S.attr("class", "basic label-container");
|
|
11971
11970
|
const k = S.node().getBBox();
|
|
11972
|
-
s.selectAll(".text").each((
|
|
11971
|
+
s.selectAll(".text").each((I, O, B) => {
|
|
11973
11972
|
var _a4;
|
|
11974
11973
|
const W = lt(B[O]), P = W.attr("transform");
|
|
11975
11974
|
let E = 0;
|
|
@@ -11984,30 +11983,30 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
11984
11983
|
window.getComputedStyle(N[A]).textAnchor === "middle" && (_ = 0);
|
|
11985
11984
|
})), W.attr("transform", `translate(${_}, ${M})`);
|
|
11986
11985
|
});
|
|
11987
|
-
const L = s.select(".annotation-group").node().getBBox().height - (p ? i / 2 : 0) || 0, T = s.select(".label-group").node().getBBox().height - (p ? i / 2 : 0) || 0,
|
|
11986
|
+
const L = s.select(".annotation-group").node().getBBox().height - (p ? i / 2 : 0) || 0, T = s.select(".label-group").node().getBBox().height - (p ? i / 2 : 0) || 0, $ = s.select(".members-group").node().getBBox().height - (p ? i / 2 : 0) || 0;
|
|
11988
11987
|
if (o.members.length > 0 || o.methods.length > 0 || p) {
|
|
11989
|
-
const
|
|
11990
|
-
s.insert(() =>
|
|
11988
|
+
const I = d.line(k.x, L + T + b + i, k.x + k.width, L + T + b + i, g);
|
|
11989
|
+
s.insert(() => I).attr("class", "divider").attr("style", u);
|
|
11991
11990
|
}
|
|
11992
11991
|
if (p || o.members.length > 0 || o.methods.length > 0) {
|
|
11993
|
-
const
|
|
11994
|
-
s.insert(() =>
|
|
11992
|
+
const I = d.line(k.x, L + T + $ + b + a * 2 + i, k.x + k.width, L + T + $ + b + i + a * 2, g);
|
|
11993
|
+
s.insert(() => I).attr("class", "divider").attr("style", u);
|
|
11995
11994
|
}
|
|
11996
11995
|
if (o.look !== "handDrawn" && s.selectAll("path").attr("style", u), S.select(":nth-child(2)").attr("style", u), s.selectAll(".divider").select("path").attr("style", u), t.labelStyle ? s.selectAll("span").attr("style", t.labelStyle) : s.selectAll("span").attr("style", u), !n) {
|
|
11997
|
-
const
|
|
11996
|
+
const I = RegExp(/color\s*:\s*([^;]*)/), O = I.exec(u);
|
|
11998
11997
|
if (O) {
|
|
11999
11998
|
const B = O[0].replace("color", "fill");
|
|
12000
11999
|
s.selectAll("tspan").attr("style", B);
|
|
12001
12000
|
} else if (c) {
|
|
12002
|
-
const B =
|
|
12001
|
+
const B = I.exec(c);
|
|
12003
12002
|
if (B) {
|
|
12004
12003
|
const W = B[0].replace("color", "fill");
|
|
12005
12004
|
s.selectAll("tspan").attr("style", W);
|
|
12006
12005
|
}
|
|
12007
12006
|
}
|
|
12008
12007
|
}
|
|
12009
|
-
return X(t, S), t.intersect = function(
|
|
12010
|
-
return Y.rect(t,
|
|
12008
|
+
return X(t, S), t.intersect = function(I) {
|
|
12009
|
+
return Y.rect(t, I);
|
|
12011
12010
|
}, s;
|
|
12012
12011
|
}
|
|
12013
12012
|
f(Eu, "classBox");
|
|
@@ -12025,8 +12024,8 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12025
12024
|
p += L;
|
|
12026
12025
|
const T = await ae(h, `${a.text ? `Text: ${a.text}` : ""}`, p, t.labelStyle);
|
|
12027
12026
|
p += T;
|
|
12028
|
-
const
|
|
12029
|
-
p +=
|
|
12027
|
+
const $ = await ae(h, `${a.risk ? `Risk: ${a.risk}` : ""}`, p, t.labelStyle);
|
|
12028
|
+
p += $, await ae(h, `${a.verifyMethod ? `Verification: ${a.verifyMethod}` : ""}`, p, t.labelStyle);
|
|
12030
12029
|
} else {
|
|
12031
12030
|
const L = await ae(h, `${n.type ? `Type: ${n.type}` : ""}`, p, t.labelStyle);
|
|
12032
12031
|
p += L, await ae(h, `${n.docRef ? `Doc Ref: ${n.docRef}` : ""}`, p, t.labelStyle);
|
|
@@ -12034,8 +12033,8 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12034
12033
|
const g = (((_a3 = h.node()) == null ? void 0 : _a3.getBBox().width) ?? 200) + o, m = (((_b3 = h.node()) == null ? void 0 : _b3.getBBox().height) ?? 200) + o, y = -g / 2, x = -m / 2, b = U.svg(h), C = G(t, {});
|
|
12035
12034
|
t.look !== "handDrawn" && (C.roughness = 0, C.fillStyle = "solid");
|
|
12036
12035
|
const S = b.rectangle(y, x, g, m, C), k = h.insert(() => S, ":first-child");
|
|
12037
|
-
if (k.attr("class", "basic label-container").attr("style", i), h.selectAll(".label").each((L, T,
|
|
12038
|
-
const
|
|
12036
|
+
if (k.attr("class", "basic label-container").attr("style", i), h.selectAll(".label").each((L, T, $) => {
|
|
12037
|
+
const I = lt($[T]), O = I.attr("transform");
|
|
12039
12038
|
let B = 0, W = 0;
|
|
12040
12039
|
if (O) {
|
|
12041
12040
|
const _ = RegExp(/translate\(([^,]+),([^)]+)\)/).exec(O);
|
|
@@ -12043,7 +12042,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12043
12042
|
}
|
|
12044
12043
|
const P = W - m / 2;
|
|
12045
12044
|
let E = y + o / 2;
|
|
12046
|
-
(T === 0 || T === 1) && (E = B),
|
|
12045
|
+
(T === 0 || T === 1) && (E = B), I.attr("transform", `translate(${E}, ${P + o})`);
|
|
12047
12046
|
}), p > u + d + s) {
|
|
12048
12047
|
const L = b.line(y, x + u + d + s, y + g, x + u + d + s, C);
|
|
12049
12048
|
h.insert(() => L).attr("style", i);
|
|
@@ -12110,20 +12109,20 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12110
12109
|
t.width = o;
|
|
12111
12110
|
const b = 10, C = (t == null ? void 0 : t.width) || 0, S = Math.max(m.height, x.height) / 2, k = Math.max(l.height + b * 2, (t == null ? void 0 : t.height) || 0) + S, L = -C / 2, T = -k / 2;
|
|
12112
12111
|
c.attr("transform", "translate(" + (h - C / 2) + ", " + (-S - l.height / 2) + ")"), g.attr("transform", "translate(" + (h - C / 2) + ", " + (-S + l.height / 2) + ")"), y.attr("transform", "translate(" + (h + C / 2 - x.width - 2 * n) + ", " + (-S + l.height / 2) + ")");
|
|
12113
|
-
let
|
|
12114
|
-
const { rx:
|
|
12112
|
+
let $;
|
|
12113
|
+
const { rx: I, ry: O } = t, { cssStyles: B } = t;
|
|
12115
12114
|
if (t.look === "handDrawn") {
|
|
12116
|
-
const W = U.svg(s), P = G(t, {}), E =
|
|
12117
|
-
|
|
12115
|
+
const W = U.svg(s), P = G(t, {}), E = I || O ? W.path(we(L, T, C, k, I || 0), P) : W.rectangle(L, T, C, k, P);
|
|
12116
|
+
$ = s.insert(() => E, ":first-child"), $.attr("class", "basic label-container").attr("style", B || null);
|
|
12118
12117
|
} else {
|
|
12119
|
-
|
|
12118
|
+
$ = s.insert("rect", ":first-child"), $.attr("class", "basic label-container __APA__").attr("style", a).attr("rx", I ?? 5).attr("ry", O ?? 5).attr("x", L).attr("y", T).attr("width", C).attr("height", k);
|
|
12120
12119
|
const W = "priority" in t && t.priority;
|
|
12121
12120
|
if (W) {
|
|
12122
|
-
const P = s.append("line"), E = L + 2, M = T + Math.floor((
|
|
12121
|
+
const P = s.append("line"), E = L + 2, M = T + Math.floor((I ?? 0) / 2), _ = T + k - Math.floor((I ?? 0) / 2);
|
|
12123
12122
|
P.attr("x1", E).attr("y1", M).attr("x2", E).attr("y2", _).attr("stroke-width", "4").attr("stroke", Sb(W));
|
|
12124
12123
|
}
|
|
12125
12124
|
}
|
|
12126
|
-
return X(t,
|
|
12125
|
+
return X(t, $), t.height = k, t.intersect = function(W) {
|
|
12127
12126
|
return Y.rect(t, W);
|
|
12128
12127
|
}, s;
|
|
12129
12128
|
}
|
|
@@ -12393,14 +12392,14 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12393
12392
|
name: "Curly Brace",
|
|
12394
12393
|
shortName: "brace-r",
|
|
12395
12394
|
description: "Adds a comment",
|
|
12396
|
-
handler:
|
|
12395
|
+
handler: $h
|
|
12397
12396
|
},
|
|
12398
12397
|
{
|
|
12399
12398
|
semanticName: "Comment with braces on both sides",
|
|
12400
12399
|
name: "Curly Braces",
|
|
12401
12400
|
shortName: "braces",
|
|
12402
12401
|
description: "Adds a comment",
|
|
12403
|
-
handler:
|
|
12402
|
+
handler: Ih
|
|
12404
12403
|
},
|
|
12405
12404
|
{
|
|
12406
12405
|
semanticName: "Com Link",
|
|
@@ -12679,7 +12678,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12679
12678
|
};
|
|
12680
12679
|
f(_b, "isValidShape");
|
|
12681
12680
|
var ea = /* @__PURE__ */ new Map();
|
|
12682
|
-
|
|
12681
|
+
$u = async function(e, t, r) {
|
|
12683
12682
|
let i, a;
|
|
12684
12683
|
t.shape === "rect" && (t.rx && t.ry ? t.shape = "roundedRect" : t.shape = "squareRect");
|
|
12685
12684
|
const n = t.shape ? Ou[t.shape] : void 0;
|
|
@@ -12690,15 +12689,15 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12690
12689
|
} else a = await n(e, t, r), i = a;
|
|
12691
12690
|
return t.tooltip && a.attr("title", t.tooltip), ea.set(t.id, i), t.haveCallback && i.attr("class", i.attr("class") + " clickable"), i;
|
|
12692
12691
|
};
|
|
12693
|
-
f(
|
|
12692
|
+
f($u, "insertNode");
|
|
12694
12693
|
let Bb, Lb, Zs, Wi, St, Br;
|
|
12695
|
-
|
|
12694
|
+
nv = f((e, t) => {
|
|
12696
12695
|
ea.set(t.id, e);
|
|
12697
12696
|
}, "setNodeElem");
|
|
12698
|
-
|
|
12697
|
+
sv = f(() => {
|
|
12699
12698
|
ea.clear();
|
|
12700
12699
|
}, "clear");
|
|
12701
|
-
|
|
12700
|
+
ov = f((e) => {
|
|
12702
12701
|
const t = ea.get(e.id);
|
|
12703
12702
|
D.trace("Transforming node", e.diff, e, "translate(" + (e.x - e.width / 2 - 5) + ", " + e.width / 2 + ")");
|
|
12704
12703
|
const r = 8, i = e.diff || 0;
|
|
@@ -12793,7 +12792,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12793
12792
|
}, "addEdgeMarker");
|
|
12794
12793
|
Wi = /* @__PURE__ */ new Map();
|
|
12795
12794
|
St = /* @__PURE__ */ new Map();
|
|
12796
|
-
|
|
12795
|
+
lv = f(() => {
|
|
12797
12796
|
Wi.clear(), St.clear();
|
|
12798
12797
|
}, "clear");
|
|
12799
12798
|
Br = f((e) => e ? e.reduce((r, i) => r + ";" + i, "") : "", "getLabelStyles");
|
|
@@ -12942,7 +12941,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12942
12941
|
} else D.warn("abc88 outside", n, i), i = n, a || r.push(n);
|
|
12943
12942
|
}), D.debug("returning points", r), r;
|
|
12944
12943
|
}, "cutPathAtIntersect");
|
|
12945
|
-
function
|
|
12944
|
+
function Iu(e) {
|
|
12946
12945
|
const t = [], r = [];
|
|
12947
12946
|
for (let i = 1; i < e.length - 1; i++) {
|
|
12948
12947
|
const a = e[i - 1], n = e[i], o = e[i + 1];
|
|
@@ -12953,8 +12952,8 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12953
12952
|
cornerPointPositions: r
|
|
12954
12953
|
};
|
|
12955
12954
|
}
|
|
12956
|
-
f(
|
|
12957
|
-
let Js, Db,
|
|
12955
|
+
f(Iu, "extractCornerPoints");
|
|
12956
|
+
let Js, Db, $b, Ib, Rb, Pb, Nb, Wb, zb, qb, Hb, Yb, Ub, jb, Gb, Xb, Vb, Kb, Zb, Jb, zr, Ru, tC;
|
|
12958
12957
|
Js = f(function(e, t, r) {
|
|
12959
12958
|
const i = t.x - e.x, a = t.y - e.y, n = Math.sqrt(i * i + a * a), o = r / n;
|
|
12960
12959
|
return {
|
|
@@ -12963,7 +12962,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12963
12962
|
};
|
|
12964
12963
|
}, "findAdjacentPoint");
|
|
12965
12964
|
Db = f(function(e) {
|
|
12966
|
-
const { cornerPointPositions: t } =
|
|
12965
|
+
const { cornerPointPositions: t } = Iu(e), r = [];
|
|
12967
12966
|
for (let i = 0; i < e.length; i++) if (t.includes(i)) {
|
|
12968
12967
|
const a = e[i - 1], n = e[i + 1], o = e[i], s = Js(a, o, 5), l = Js(n, o, 5), c = l.x - s.x, h = l.y - s.y;
|
|
12969
12968
|
r.push(s);
|
|
@@ -12994,9 +12993,9 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
12994
12993
|
const h = a;
|
|
12995
12994
|
var u = n;
|
|
12996
12995
|
const p = [];
|
|
12997
|
-
for (const
|
|
12996
|
+
for (const I in t.cssCompiledStyles) xh(I) || p.push(t.cssCompiledStyles[I]);
|
|
12998
12997
|
u.intersect && h.intersect && (l = l.slice(1, t.points.length - 1), l.unshift(h.intersect(l[0])), D.debug("Last point APA12", t.start, "-->", t.end, l[l.length - 1], u, u.intersect(l[l.length - 1])), l.push(u.intersect(l[l.length - 1]))), t.toCluster && (D.info("to cluster abc88", r.get(t.toCluster)), l = Qs(t.points, r.get(t.toCluster).node), c = true), t.fromCluster && (D.debug("from cluster abc88", r.get(t.fromCluster), JSON.stringify(l, null, 2)), l = Qs(l.reverse(), r.get(t.fromCluster).node).reverse(), c = true);
|
|
12999
|
-
let d = l.filter((
|
|
12998
|
+
let d = l.filter((I) => !Number.isNaN(I.y));
|
|
13000
12999
|
d = Db(d);
|
|
13001
13000
|
let g = ci;
|
|
13002
13001
|
switch (g = Aa, t.curve) {
|
|
@@ -13007,7 +13006,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13007
13006
|
g = ci;
|
|
13008
13007
|
break;
|
|
13009
13008
|
case "cardinal":
|
|
13010
|
-
g =
|
|
13009
|
+
g = mo;
|
|
13011
13010
|
break;
|
|
13012
13011
|
case "bumpX":
|
|
13013
13012
|
g = bo;
|
|
@@ -13016,30 +13015,30 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13016
13015
|
g = Co;
|
|
13017
13016
|
break;
|
|
13018
13017
|
case "catmullRom":
|
|
13019
|
-
g =
|
|
13018
|
+
g = go;
|
|
13020
13019
|
break;
|
|
13021
13020
|
case "monotoneX":
|
|
13022
|
-
g =
|
|
13021
|
+
g = po;
|
|
13023
13022
|
break;
|
|
13024
13023
|
case "monotoneY":
|
|
13025
|
-
g =
|
|
13024
|
+
g = fo;
|
|
13026
13025
|
break;
|
|
13027
13026
|
case "natural":
|
|
13028
|
-
g =
|
|
13027
|
+
g = uo;
|
|
13029
13028
|
break;
|
|
13030
13029
|
case "step":
|
|
13031
|
-
g =
|
|
13030
|
+
g = ho;
|
|
13032
13031
|
break;
|
|
13033
13032
|
case "stepAfter":
|
|
13034
|
-
g =
|
|
13033
|
+
g = co;
|
|
13035
13034
|
break;
|
|
13036
13035
|
case "stepBefore":
|
|
13037
|
-
g =
|
|
13036
|
+
g = lo;
|
|
13038
13037
|
break;
|
|
13039
13038
|
default:
|
|
13040
13039
|
g = ci;
|
|
13041
13040
|
}
|
|
13042
|
-
const { x: m, y } = im(t), x =
|
|
13041
|
+
const { x: m, y } = im(t), x = df().x(m).y(y).curve(g);
|
|
13043
13042
|
let b;
|
|
13044
13043
|
switch (t.thickness) {
|
|
13045
13044
|
case "normal":
|
|
@@ -13071,11 +13070,11 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13071
13070
|
const k = Array.isArray(t.style) ? t.style : [
|
|
13072
13071
|
t.style
|
|
13073
13072
|
];
|
|
13074
|
-
let L = k.find((
|
|
13073
|
+
let L = k.find((I) => I == null ? void 0 : I.startsWith("stroke:"));
|
|
13075
13074
|
if (t.look === "handDrawn") {
|
|
13076
|
-
const
|
|
13075
|
+
const I = U.svg(e);
|
|
13077
13076
|
Object.assign([], d);
|
|
13078
|
-
const O =
|
|
13077
|
+
const O = I.path(S, {
|
|
13079
13078
|
roughness: 0.3,
|
|
13080
13079
|
seed: s
|
|
13081
13080
|
});
|
|
@@ -13083,23 +13082,23 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13083
13082
|
let B = C.attr("d");
|
|
13084
13083
|
C.attr("d", B), e.node().appendChild(C.node());
|
|
13085
13084
|
} else {
|
|
13086
|
-
const
|
|
13085
|
+
const I = p.join(";"), O = k ? k.reduce((P, E) => P + E + ";", "") : "";
|
|
13087
13086
|
let B = "";
|
|
13088
13087
|
t.animate && (B = " edge-animation-fast"), t.animation && (B = " edge-animation-" + t.animation);
|
|
13089
|
-
const W =
|
|
13088
|
+
const W = I ? I + ";" + O + ";" : O;
|
|
13090
13089
|
C = e.append("path").attr("d", S).attr("id", t.id).attr("class", " " + b + (t.classes ? " " + t.classes : "") + (B ?? "")).attr("style", W), L = (_a3 = W.match(/stroke:([^;]+)/)) == null ? void 0 : _a3[1];
|
|
13091
13090
|
}
|
|
13092
13091
|
let T = "";
|
|
13093
13092
|
(ht().flowchart.arrowMarkerAbsolute || ht().state.arrowMarkerAbsolute) && (T = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, T = T.replace(/\(/g, "\\(").replace(/\)/g, "\\)")), D.info("arrowTypeStart", t.arrowTypeStart), D.info("arrowTypeEnd", t.arrowTypeEnd), Bb(C, t, T, o, i, L);
|
|
13094
|
-
let
|
|
13095
|
-
return c && (
|
|
13093
|
+
let $ = {};
|
|
13094
|
+
return c && ($.updatedPath = l), $.originalPath = t.points, $;
|
|
13096
13095
|
}, "insertEdge");
|
|
13097
|
-
|
|
13096
|
+
$b = f((e, t, r, i) => {
|
|
13098
13097
|
t.forEach((a) => {
|
|
13099
13098
|
Zb[a](e, r, i);
|
|
13100
13099
|
});
|
|
13101
13100
|
}, "insertMarkers");
|
|
13102
|
-
|
|
13101
|
+
Ib = f((e, t, r) => {
|
|
13103
13102
|
D.trace("Making markers for ", r), e.append("defs").append("marker").attr("id", r + "_" + t + "-extensionStart").attr("class", "marker extension " + t).attr("refX", 18).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 1,7 L18,13 V 1 Z"), e.append("defs").append("marker").attr("id", r + "_" + t + "-extensionEnd").attr("class", "marker extension " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 1,1 V 13 L18,7 Z");
|
|
13104
13103
|
}, "extension");
|
|
13105
13104
|
Rb = f((e, t, r) => {
|
|
@@ -13155,7 +13154,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13155
13154
|
i.append("circle").attr("cx", 10).attr("cy", 10).attr("r", 9).attr("fill", "none"), i.append("line").attr("x1", 1).attr("x2", 19).attr("y1", 10).attr("y2", 10), i.append("line").attr("y1", 1).attr("y2", 19).attr("x1", 10).attr("x2", 10);
|
|
13156
13155
|
}, "requirement_contains");
|
|
13157
13156
|
Zb = {
|
|
13158
|
-
extension:
|
|
13157
|
+
extension: Ib,
|
|
13159
13158
|
composition: Rb,
|
|
13160
13159
|
aggregation: Pb,
|
|
13161
13160
|
dependency: Nb,
|
|
@@ -13171,7 +13170,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13171
13170
|
requirement_arrow: Vb,
|
|
13172
13171
|
requirement_contains: Kb
|
|
13173
13172
|
};
|
|
13174
|
-
Qb =
|
|
13173
|
+
Qb = $b;
|
|
13175
13174
|
Jb = {
|
|
13176
13175
|
common: dr,
|
|
13177
13176
|
getConfig: zt,
|
|
@@ -13179,7 +13178,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13179
13178
|
insertEdge: Ob,
|
|
13180
13179
|
insertEdgeLabel: Ab,
|
|
13181
13180
|
insertMarkers: Qb,
|
|
13182
|
-
insertNode:
|
|
13181
|
+
insertNode: $u,
|
|
13183
13182
|
interpolateToCurve: Dn,
|
|
13184
13183
|
labelHelper: it,
|
|
13185
13184
|
log: D,
|
|
@@ -13193,20 +13192,20 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13193
13192
|
Ru([
|
|
13194
13193
|
{
|
|
13195
13194
|
name: "dagre",
|
|
13196
|
-
loader: f(async () => await import("./dagre-OKDRZEBW-
|
|
13195
|
+
loader: f(async () => await import("./dagre-OKDRZEBW-B5_te9et.js"), "loader")
|
|
13197
13196
|
}
|
|
13198
13197
|
]);
|
|
13199
13198
|
}, "registerDefaultLayoutLoaders");
|
|
13200
13199
|
tC();
|
|
13201
13200
|
let Pu, Nu, Wu, rC, iC, aC, nC, zu, Yn;
|
|
13202
|
-
|
|
13201
|
+
cv = f(async (e, t) => {
|
|
13203
13202
|
if (!(e.layoutAlgorithm in zr)) throw new Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);
|
|
13204
13203
|
const r = zr[e.layoutAlgorithm];
|
|
13205
13204
|
return (await r.loader()).render(e, t, Jb, {
|
|
13206
13205
|
algorithm: r.algorithm
|
|
13207
13206
|
});
|
|
13208
13207
|
}, "render");
|
|
13209
|
-
|
|
13208
|
+
hv = f((e = "", { fallback: t = "dagre" } = {}) => {
|
|
13210
13209
|
if (e in zr) return e;
|
|
13211
13210
|
if (t in zr) return D.warn(`Layout algorithm ${e} is not registered. Using ${t} as fallback.`), t;
|
|
13212
13211
|
throw new Error(`Both layout algorithms ${e} and ${t} are not registered.`);
|
|
@@ -13632,7 +13631,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13632
13631
|
return ne(r = cn(e.children, i)) ? e.return = e.value + "{" + r + "}" : "";
|
|
13633
13632
|
}
|
|
13634
13633
|
var Yu = "c4", bC = f((e) => /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e), "detector"), CC = f(async () => {
|
|
13635
|
-
const { diagram: e } = await import("./c4Diagram-VJAJSXHY-
|
|
13634
|
+
const { diagram: e } = await import("./c4Diagram-VJAJSXHY-DCV5s_Jx.js");
|
|
13636
13635
|
return {
|
|
13637
13636
|
id: Yu,
|
|
13638
13637
|
diagram: e
|
|
@@ -13645,7 +13644,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13645
13644
|
var _a3, _b3;
|
|
13646
13645
|
return ((_a3 = t == null ? void 0 : t.flowchart) == null ? void 0 : _a3.defaultRenderer) === "dagre-wrapper" || ((_b3 = t == null ? void 0 : t.flowchart) == null ? void 0 : _b3.defaultRenderer) === "elk" ? false : /^\s*graph/.test(e);
|
|
13647
13646
|
}, "detector"), kC = f(async () => {
|
|
13648
|
-
const { diagram: e } = await import("./flowDiagram-4HSFHLVR-
|
|
13647
|
+
const { diagram: e } = await import("./flowDiagram-4HSFHLVR-D5rpwNAK.js");
|
|
13649
13648
|
return {
|
|
13650
13649
|
id: Uu,
|
|
13651
13650
|
diagram: e
|
|
@@ -13658,7 +13657,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13658
13657
|
var _a3, _b3, _c3;
|
|
13659
13658
|
return ((_a3 = t == null ? void 0 : t.flowchart) == null ? void 0 : _a3.defaultRenderer) === "dagre-d3" ? false : (((_b3 = t == null ? void 0 : t.flowchart) == null ? void 0 : _b3.defaultRenderer) === "elk" && (t.layout = "elk"), /^\s*graph/.test(e) && ((_c3 = t == null ? void 0 : t.flowchart) == null ? void 0 : _c3.defaultRenderer) === "dagre-wrapper" ? true : /^\s*flowchart/.test(e));
|
|
13660
13659
|
}, "detector"), LC = f(async () => {
|
|
13661
|
-
const { diagram: e } = await import("./flowDiagram-4HSFHLVR-
|
|
13660
|
+
const { diagram: e } = await import("./flowDiagram-4HSFHLVR-D5rpwNAK.js");
|
|
13662
13661
|
return {
|
|
13663
13662
|
id: ju,
|
|
13664
13663
|
diagram: e
|
|
@@ -13668,7 +13667,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13668
13667
|
detector: BC,
|
|
13669
13668
|
loader: LC
|
|
13670
13669
|
}, MC = AC, Gu = "er", EC = f((e) => /^\s*erDiagram/.test(e), "detector"), FC = f(async () => {
|
|
13671
|
-
const { diagram: e } = await import("./erDiagram-Q7BY3M3F-
|
|
13670
|
+
const { diagram: e } = await import("./erDiagram-Q7BY3M3F-Jol8Ambn.js");
|
|
13672
13671
|
return {
|
|
13673
13672
|
id: Gu,
|
|
13674
13673
|
diagram: e
|
|
@@ -13677,18 +13676,18 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13677
13676
|
id: Gu,
|
|
13678
13677
|
detector: EC,
|
|
13679
13678
|
loader: FC
|
|
13680
|
-
}, OC = DC, Xu = "gitGraph",
|
|
13681
|
-
const { diagram: e } = await import("./gitGraphDiagram-7IBYFJ6S-
|
|
13679
|
+
}, OC = DC, Xu = "gitGraph", $C = f((e) => /^\s*gitGraph/.test(e), "detector"), IC = f(async () => {
|
|
13680
|
+
const { diagram: e } = await import("./gitGraphDiagram-7IBYFJ6S-CZmb36Bk.js");
|
|
13682
13681
|
return {
|
|
13683
13682
|
id: Xu,
|
|
13684
13683
|
diagram: e
|
|
13685
13684
|
};
|
|
13686
13685
|
}, "loader"), RC = {
|
|
13687
13686
|
id: Xu,
|
|
13688
|
-
detector:
|
|
13689
|
-
loader:
|
|
13687
|
+
detector: $C,
|
|
13688
|
+
loader: IC
|
|
13690
13689
|
}, PC = RC, Vu = "gantt", NC = f((e) => /^\s*gantt/.test(e), "detector"), WC = f(async () => {
|
|
13691
|
-
const { diagram: e } = await import("./ganttDiagram-APWFNJXF-
|
|
13690
|
+
const { diagram: e } = await import("./ganttDiagram-APWFNJXF-XcvzLww9.js");
|
|
13692
13691
|
return {
|
|
13693
13692
|
id: Vu,
|
|
13694
13693
|
diagram: e
|
|
@@ -13698,7 +13697,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13698
13697
|
detector: NC,
|
|
13699
13698
|
loader: WC
|
|
13700
13699
|
}, qC = zC, Ku = "info", HC = f((e) => /^\s*info/.test(e), "detector"), YC = f(async () => {
|
|
13701
|
-
const { diagram: e } = await import("./infoDiagram-PH2N3AL5-
|
|
13700
|
+
const { diagram: e } = await import("./infoDiagram-PH2N3AL5-Cb1U-g_b.js");
|
|
13702
13701
|
return {
|
|
13703
13702
|
id: Ku,
|
|
13704
13703
|
diagram: e
|
|
@@ -13708,7 +13707,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13708
13707
|
detector: HC,
|
|
13709
13708
|
loader: YC
|
|
13710
13709
|
}, Zu = "pie", jC = f((e) => /^\s*pie/.test(e), "detector"), GC = f(async () => {
|
|
13711
|
-
const { diagram: e } = await import("./pieDiagram-IB7DONF6-
|
|
13710
|
+
const { diagram: e } = await import("./pieDiagram-IB7DONF6-DHgmmzjL.js");
|
|
13712
13711
|
return {
|
|
13713
13712
|
id: Zu,
|
|
13714
13713
|
diagram: e
|
|
@@ -13718,7 +13717,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13718
13717
|
detector: jC,
|
|
13719
13718
|
loader: GC
|
|
13720
13719
|
}, Qu = "quadrantChart", VC = f((e) => /^\s*quadrantChart/.test(e), "detector"), KC = f(async () => {
|
|
13721
|
-
const { diagram: e } = await import("./quadrantDiagram-7GDLP6J5-
|
|
13720
|
+
const { diagram: e } = await import("./quadrantDiagram-7GDLP6J5-5O1DGAg_.js");
|
|
13722
13721
|
return {
|
|
13723
13722
|
id: Qu,
|
|
13724
13723
|
diagram: e
|
|
@@ -13728,7 +13727,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13728
13727
|
detector: VC,
|
|
13729
13728
|
loader: KC
|
|
13730
13729
|
}, QC = ZC, Ju = "xychart", JC = f((e) => /^\s*xychart-beta/.test(e), "detector"), t2 = f(async () => {
|
|
13731
|
-
const { diagram: e } = await import("./xychartDiagram-VJFVF3MP-
|
|
13730
|
+
const { diagram: e } = await import("./xychartDiagram-VJFVF3MP-CvqveEJH.js");
|
|
13732
13731
|
return {
|
|
13733
13732
|
id: Ju,
|
|
13734
13733
|
diagram: e
|
|
@@ -13738,7 +13737,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13738
13737
|
detector: JC,
|
|
13739
13738
|
loader: t2
|
|
13740
13739
|
}, r2 = e2, td = "requirement", i2 = f((e) => /^\s*requirement(Diagram)?/.test(e), "detector"), a2 = f(async () => {
|
|
13741
|
-
const { diagram: e } = await import("./requirementDiagram-KVF5MWMF-
|
|
13740
|
+
const { diagram: e } = await import("./requirementDiagram-KVF5MWMF-3TyMklrI.js");
|
|
13742
13741
|
return {
|
|
13743
13742
|
id: td,
|
|
13744
13743
|
diagram: e
|
|
@@ -13748,7 +13747,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13748
13747
|
detector: i2,
|
|
13749
13748
|
loader: a2
|
|
13750
13749
|
}, s2 = n2, ed = "sequence", o2 = f((e) => /^\s*sequenceDiagram/.test(e), "detector"), l2 = f(async () => {
|
|
13751
|
-
const { diagram: e } = await import("./sequenceDiagram-X6HHIX6F-
|
|
13750
|
+
const { diagram: e } = await import("./sequenceDiagram-X6HHIX6F-C_vdYZjz.js");
|
|
13752
13751
|
return {
|
|
13753
13752
|
id: ed,
|
|
13754
13753
|
diagram: e
|
|
@@ -13761,7 +13760,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13761
13760
|
var _a3;
|
|
13762
13761
|
return ((_a3 = t == null ? void 0 : t.class) == null ? void 0 : _a3.defaultRenderer) === "dagre-wrapper" ? false : /^\s*classDiagram/.test(e);
|
|
13763
13762
|
}, "detector"), d2 = f(async () => {
|
|
13764
|
-
const { diagram: e } = await import("./classDiagram-GIVACNV2-
|
|
13763
|
+
const { diagram: e } = await import("./classDiagram-GIVACNV2-ByUBaRZv.js");
|
|
13765
13764
|
return {
|
|
13766
13765
|
id: rd,
|
|
13767
13766
|
diagram: e
|
|
@@ -13774,7 +13773,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13774
13773
|
var _a3;
|
|
13775
13774
|
return /^\s*classDiagram/.test(e) && ((_a3 = t == null ? void 0 : t.class) == null ? void 0 : _a3.defaultRenderer) === "dagre-wrapper" ? true : /^\s*classDiagram-v2/.test(e);
|
|
13776
13775
|
}, "detector"), m2 = f(async () => {
|
|
13777
|
-
const { diagram: e } = await import("./classDiagram-v2-COTLJTTW-
|
|
13776
|
+
const { diagram: e } = await import("./classDiagram-v2-COTLJTTW-ByUBaRZv.js");
|
|
13778
13777
|
return {
|
|
13779
13778
|
id,
|
|
13780
13779
|
diagram: e
|
|
@@ -13787,7 +13786,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13787
13786
|
var _a3;
|
|
13788
13787
|
return ((_a3 = t == null ? void 0 : t.state) == null ? void 0 : _a3.defaultRenderer) === "dagre-wrapper" ? false : /^\s*stateDiagram/.test(e);
|
|
13789
13788
|
}, "detector"), C2 = f(async () => {
|
|
13790
|
-
const { diagram: e } = await import("./stateDiagram-DGXRK772-
|
|
13789
|
+
const { diagram: e } = await import("./stateDiagram-DGXRK772-CQey-3P4.js");
|
|
13791
13790
|
return {
|
|
13792
13791
|
id: ad,
|
|
13793
13792
|
diagram: e
|
|
@@ -13800,7 +13799,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13800
13799
|
var _a3;
|
|
13801
13800
|
return !!(/^\s*stateDiagram-v2/.test(e) || /^\s*stateDiagram/.test(e) && ((_a3 = t == null ? void 0 : t.state) == null ? void 0 : _a3.defaultRenderer) === "dagre-wrapper");
|
|
13802
13801
|
}, "detector"), k2 = f(async () => {
|
|
13803
|
-
const { diagram: e } = await import("./stateDiagram-v2-YXO3MK2T-
|
|
13802
|
+
const { diagram: e } = await import("./stateDiagram-v2-YXO3MK2T-DHtitbuJ.js");
|
|
13804
13803
|
return {
|
|
13805
13804
|
id: nd,
|
|
13806
13805
|
diagram: e
|
|
@@ -13810,7 +13809,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13810
13809
|
detector: S2,
|
|
13811
13810
|
loader: k2
|
|
13812
13811
|
}, _2 = T2, sd = "journey", B2 = f((e) => /^\s*journey/.test(e), "detector"), L2 = f(async () => {
|
|
13813
|
-
const { diagram: e } = await import("./journeyDiagram-U35MCT3I-
|
|
13812
|
+
const { diagram: e } = await import("./journeyDiagram-U35MCT3I-DM2o4_w_.js");
|
|
13814
13813
|
return {
|
|
13815
13814
|
id: sd,
|
|
13816
13815
|
diagram: e
|
|
@@ -13833,21 +13832,21 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13833
13832
|
parse: f(() => {
|
|
13834
13833
|
}, "parse")
|
|
13835
13834
|
}
|
|
13836
|
-
}, O2 = D2, ld = "flowchart-elk",
|
|
13835
|
+
}, O2 = D2, ld = "flowchart-elk", $2 = f((e, t = {}) => {
|
|
13837
13836
|
var _a3;
|
|
13838
13837
|
return /^\s*flowchart-elk/.test(e) || /^\s*flowchart|graph/.test(e) && ((_a3 = t == null ? void 0 : t.flowchart) == null ? void 0 : _a3.defaultRenderer) === "elk" ? (t.layout = "elk", true) : false;
|
|
13839
|
-
}, "detector"),
|
|
13840
|
-
const { diagram: e } = await import("./flowDiagram-4HSFHLVR-
|
|
13838
|
+
}, "detector"), I2 = f(async () => {
|
|
13839
|
+
const { diagram: e } = await import("./flowDiagram-4HSFHLVR-D5rpwNAK.js");
|
|
13841
13840
|
return {
|
|
13842
13841
|
id: ld,
|
|
13843
13842
|
diagram: e
|
|
13844
13843
|
};
|
|
13845
13844
|
}, "loader"), R2 = {
|
|
13846
13845
|
id: ld,
|
|
13847
|
-
detector:
|
|
13848
|
-
loader:
|
|
13846
|
+
detector: $2,
|
|
13847
|
+
loader: I2
|
|
13849
13848
|
}, P2 = R2, cd = "timeline", N2 = f((e) => /^\s*timeline/.test(e), "detector"), W2 = f(async () => {
|
|
13850
|
-
const { diagram: e } = await import("./timeline-definition-BDJGKUSR-
|
|
13849
|
+
const { diagram: e } = await import("./timeline-definition-BDJGKUSR-CsWgSrLN.js");
|
|
13851
13850
|
return {
|
|
13852
13851
|
id: cd,
|
|
13853
13852
|
diagram: e
|
|
@@ -13857,7 +13856,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13857
13856
|
detector: N2,
|
|
13858
13857
|
loader: W2
|
|
13859
13858
|
}, q2 = z2, hd = "mindmap", H2 = f((e) => /^\s*mindmap/.test(e), "detector"), Y2 = f(async () => {
|
|
13860
|
-
const { diagram: e } = await import("./mindmap-definition-ALO5MXBD-
|
|
13859
|
+
const { diagram: e } = await import("./mindmap-definition-ALO5MXBD-CsbA_uHZ.js");
|
|
13861
13860
|
return {
|
|
13862
13861
|
id: hd,
|
|
13863
13862
|
diagram: e
|
|
@@ -13867,7 +13866,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13867
13866
|
detector: H2,
|
|
13868
13867
|
loader: Y2
|
|
13869
13868
|
}, j2 = U2, ud = "kanban", G2 = f((e) => /^\s*kanban/.test(e), "detector"), X2 = f(async () => {
|
|
13870
|
-
const { diagram: e } = await import("./kanban-definition-NDS4AKOZ-
|
|
13869
|
+
const { diagram: e } = await import("./kanban-definition-NDS4AKOZ-D6PixWL6.js");
|
|
13871
13870
|
return {
|
|
13872
13871
|
id: ud,
|
|
13873
13872
|
diagram: e
|
|
@@ -13877,7 +13876,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13877
13876
|
detector: G2,
|
|
13878
13877
|
loader: X2
|
|
13879
13878
|
}, K2 = V2, dd = "sankey", Z2 = f((e) => /^\s*sankey-beta/.test(e), "detector"), Q2 = f(async () => {
|
|
13880
|
-
const { diagram: e } = await import("./sankeyDiagram-QLVOVGJD-
|
|
13879
|
+
const { diagram: e } = await import("./sankeyDiagram-QLVOVGJD-CVZ08o7_.js");
|
|
13881
13880
|
return {
|
|
13882
13881
|
id: dd,
|
|
13883
13882
|
diagram: e
|
|
@@ -13887,7 +13886,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13887
13886
|
detector: Z2,
|
|
13888
13887
|
loader: Q2
|
|
13889
13888
|
}, t1 = J2, fd = "packet", e1 = f((e) => /^\s*packet-beta/.test(e), "detector"), r1 = f(async () => {
|
|
13890
|
-
const { diagram: e } = await import("./diagram-VNBRO52H-
|
|
13889
|
+
const { diagram: e } = await import("./diagram-VNBRO52H-sEYpBGnf.js");
|
|
13891
13890
|
return {
|
|
13892
13891
|
id: fd,
|
|
13893
13892
|
diagram: e
|
|
@@ -13897,7 +13896,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13897
13896
|
detector: e1,
|
|
13898
13897
|
loader: r1
|
|
13899
13898
|
}, pd = "radar", a1 = f((e) => /^\s*radar-beta/.test(e), "detector"), n1 = f(async () => {
|
|
13900
|
-
const { diagram: e } = await import("./diagram-SSKATNLV-
|
|
13899
|
+
const { diagram: e } = await import("./diagram-SSKATNLV-C0hLO3pR.js");
|
|
13901
13900
|
return {
|
|
13902
13901
|
id: pd,
|
|
13903
13902
|
diagram: e
|
|
@@ -13907,7 +13906,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13907
13906
|
detector: a1,
|
|
13908
13907
|
loader: n1
|
|
13909
13908
|
}, gd = "block", o1 = f((e) => /^\s*block-beta/.test(e), "detector"), l1 = f(async () => {
|
|
13910
|
-
const { diagram: e } = await import("./blockDiagram-JOT3LUYC-
|
|
13909
|
+
const { diagram: e } = await import("./blockDiagram-JOT3LUYC-DOW2FHGf.js");
|
|
13911
13910
|
return {
|
|
13912
13911
|
id: gd,
|
|
13913
13912
|
diagram: e
|
|
@@ -13917,7 +13916,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13917
13916
|
detector: o1,
|
|
13918
13917
|
loader: l1
|
|
13919
13918
|
}, h1 = c1, md = "architecture", u1 = f((e) => /^\s*architecture/.test(e), "detector"), d1 = f(async () => {
|
|
13920
|
-
const { diagram: e } = await import("./architectureDiagram-IEHRJDOE-
|
|
13919
|
+
const { diagram: e } = await import("./architectureDiagram-IEHRJDOE-BzegtP1u.js");
|
|
13921
13920
|
return {
|
|
13922
13921
|
id: md,
|
|
13923
13922
|
diagram: e
|
|
@@ -13948,7 +13947,7 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13948
13947
|
D.debug("Loading registered diagrams");
|
|
13949
13948
|
const t = (await Promise.allSettled(Object.entries(ir).map(async ([r, { detector: i, loader: a }]) => {
|
|
13950
13949
|
if (a) try {
|
|
13951
|
-
|
|
13950
|
+
$a(r);
|
|
13952
13951
|
} catch {
|
|
13953
13952
|
try {
|
|
13954
13953
|
const { diagram: n, id: o } = await a();
|
|
@@ -13991,14 +13990,14 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
13991
13990
|
t = Dx(t) + `
|
|
13992
13991
|
`;
|
|
13993
13992
|
try {
|
|
13994
|
-
|
|
13993
|
+
$a(a);
|
|
13995
13994
|
} catch {
|
|
13996
13995
|
const c = ip(a);
|
|
13997
13996
|
if (!c) throw new Mo(`Diagram ${a} not found.`);
|
|
13998
13997
|
const { id: h, diagram: u } = await c();
|
|
13999
13998
|
_i(h, u);
|
|
14000
13999
|
}
|
|
14001
|
-
const { db: n, parser: o, renderer: s, init: l } =
|
|
14000
|
+
const { db: n, parser: o, renderer: s, init: l } = $a(a);
|
|
14002
14001
|
return o.parser && (o.parser.yy = n), (_a3 = n.clear) == null ? void 0 : _a3.call(n), l == null ? void 0 : l(i), r.title && ((_b3 = n.setDiagramTitle) == null ? void 0 : _b3.call(n, r.title)), await o.parse(t), new _i2(a, t, n, o, s);
|
|
14003
14002
|
}
|
|
14004
14003
|
async render(t, r) {
|
|
@@ -14061,9 +14060,9 @@ res:`, Y.polygon(t, c, p)), Y.polygon(t, c, p);
|
|
|
14061
14060
|
return btoa(r);
|
|
14062
14061
|
}
|
|
14063
14062
|
f(vd, "toBase64");
|
|
14064
|
-
var w1 = 5e4, S1 = "graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa", k1 = "sandbox", T1 = "loose", _1 = "http://www.w3.org/2000/svg", B1 = "http://www.w3.org/1999/xlink", L1 = "http://www.w3.org/1999/xhtml", A1 = "100%", M1 = "100%", E1 = "border:0;margin:0;", F1 = "margin:0", D1 = "allow-top-navigation-by-user-activation allow-popups", O1 = 'The "iframe" tag is not supported by your browser.',
|
|
14063
|
+
var w1 = 5e4, S1 = "graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa", k1 = "sandbox", T1 = "loose", _1 = "http://www.w3.org/2000/svg", B1 = "http://www.w3.org/1999/xlink", L1 = "http://www.w3.org/1999/xhtml", A1 = "100%", M1 = "100%", E1 = "border:0;margin:0;", F1 = "margin:0", D1 = "allow-top-navigation-by-user-activation allow-popups", O1 = 'The "iframe" tag is not supported by your browser.', $1 = [
|
|
14065
14064
|
"foreignobject"
|
|
14066
|
-
],
|
|
14065
|
+
], I1 = [
|
|
14067
14066
|
"dominant-baseline"
|
|
14068
14067
|
];
|
|
14069
14068
|
function Gn(e) {
|
|
@@ -14177,15 +14176,15 @@ ${e.themeCSS}`), e.fontFamily !== void 0 && (r += `
|
|
|
14177
14176
|
} catch (W) {
|
|
14178
14177
|
throw a.suppressErrorRendering ? h() : F2.draw(t, e, to.version), W;
|
|
14179
14178
|
}
|
|
14180
|
-
const
|
|
14181
|
-
Td(b, I,
|
|
14179
|
+
const $ = u.select(`${c} svg`), I = (_d3 = (_c3 = m.db).getAccTitle) == null ? void 0 : _d3.call(_c3), O = (_f3 = (_e3 = m.db).getAccDescription) == null ? void 0 : _f3.call(_e3);
|
|
14180
|
+
Td(b, $, I, O), u.select(`[id="${e}"]`).selectAll("foreignobject > *").attr("xmlns", L1);
|
|
14182
14181
|
let B = u.select(c).node().innerHTML;
|
|
14183
14182
|
if (D.debug("config.arrowMarkerAbsolute", a.arrowMarkerAbsolute), B = N1(B, p, xt(a.arrowMarkerAbsolute)), p) {
|
|
14184
14183
|
const W = u.select(c + " svg").node();
|
|
14185
14184
|
B = W1(B, W);
|
|
14186
14185
|
} else d || (B = rr.sanitize(B, {
|
|
14187
|
-
ADD_TAGS:
|
|
14188
|
-
ADD_ATTR:
|
|
14186
|
+
ADD_TAGS: $1,
|
|
14187
|
+
ADD_ATTR: I1,
|
|
14189
14188
|
HTML_INTEGRATION_POINTS: {
|
|
14190
14189
|
foreignobject: true
|
|
14191
14190
|
}
|
|
@@ -14397,7 +14396,7 @@ ${e.themeCSS}`), e.fontFamily !== void 0 && (r += `
|
|
|
14397
14396
|
}, () => e[Math.floor(Math.random() * e.length)]).join("");
|
|
14398
14397
|
}
|
|
14399
14398
|
const Z1 = (e) => {
|
|
14400
|
-
const t =
|
|
14399
|
+
const t = ff.c(9), { diagram: r } = e, [i] = pf.useState(Q1), a = gf().theme === "dark";
|
|
14401
14400
|
oo.initialize({
|
|
14402
14401
|
...V1,
|
|
14403
14402
|
theme: a ? "dark" : "forest",
|
|
@@ -14406,7 +14405,7 @@ ${e.themeCSS}`), e.fontFamily !== void 0 && (r += `
|
|
|
14406
14405
|
let n;
|
|
14407
14406
|
t[0] !== r || t[1] !== i ? (n = async () => (await oo.render(i, r, void 0).catch((h) => {
|
|
14408
14407
|
var _a3;
|
|
14409
|
-
throw (_a3 = document.getElementById(i)) == null ? void 0 : _a3.remove(),
|
|
14408
|
+
throw (_a3 = document.getElementById(i)) == null ? void 0 : _a3.remove(), yf.warn("Failed to render mermaid diagram", h), h;
|
|
14410
14409
|
})).svg, t[0] = r, t[1] = i, t[2] = n) : n = t[2];
|
|
14411
14410
|
let o;
|
|
14412
14411
|
t[3] !== a || t[4] !== r || t[5] !== i ? (o = [
|
|
@@ -14414,10 +14413,10 @@ ${e.themeCSS}`), e.fontFamily !== void 0 && (r += `
|
|
|
14414
14413
|
i,
|
|
14415
14414
|
a
|
|
14416
14415
|
], t[3] = a, t[4] = r, t[5] = i, t[6] = o) : o = t[6];
|
|
14417
|
-
const { data: s } =
|
|
14416
|
+
const { data: s } = mf(n, o);
|
|
14418
14417
|
if (!s) return null;
|
|
14419
14418
|
let l;
|
|
14420
|
-
return t[7] !== s ? (l =
|
|
14419
|
+
return t[7] !== s ? (l = xf.jsx("div", {
|
|
14421
14420
|
dangerouslySetInnerHTML: {
|
|
14422
14421
|
__html: s
|
|
14423
14422
|
}
|
|
@@ -14426,7 +14425,7 @@ ${e.themeCSS}`), e.fontFamily !== void 0 && (r += `
|
|
|
14426
14425
|
function Q1() {
|
|
14427
14426
|
return K1();
|
|
14428
14427
|
}
|
|
14429
|
-
|
|
14428
|
+
uv = Object.freeze(Object.defineProperty({
|
|
14430
14429
|
__proto__: null,
|
|
14431
14430
|
default: Z1
|
|
14432
14431
|
}, Symbol.toStringTag, {
|
|
@@ -14435,26 +14434,26 @@ ${e.themeCSS}`), e.fontFamily !== void 0 && (r += `
|
|
|
14435
14434
|
});
|
|
14436
14435
|
export {
|
|
14437
14436
|
ob as $,
|
|
14438
|
-
|
|
14437
|
+
rv as A,
|
|
14439
14438
|
Or as B,
|
|
14440
14439
|
oe as C,
|
|
14441
14440
|
ep as D,
|
|
14442
14441
|
Gp as E,
|
|
14443
14442
|
Pn as F,
|
|
14444
14443
|
zt as G,
|
|
14445
|
-
|
|
14444
|
+
$o as H,
|
|
14446
14445
|
Tx as I,
|
|
14447
14446
|
em as J,
|
|
14448
14447
|
eC as K,
|
|
14449
14448
|
to as L,
|
|
14450
14449
|
cp as M,
|
|
14451
14450
|
sr as N,
|
|
14452
|
-
|
|
14451
|
+
tv as O,
|
|
14453
14452
|
Zi as P,
|
|
14454
14453
|
gn as Q,
|
|
14455
14454
|
Ls as R,
|
|
14456
14455
|
kx as S,
|
|
14457
|
-
|
|
14456
|
+
$p as T,
|
|
14458
14457
|
rt as U,
|
|
14459
14458
|
Hr as V,
|
|
14460
14459
|
H as W,
|
|
@@ -14464,8 +14463,8 @@ export {
|
|
|
14464
14463
|
f as _,
|
|
14465
14464
|
__tla,
|
|
14466
14465
|
zp as a,
|
|
14467
|
-
|
|
14468
|
-
|
|
14466
|
+
$u as a0,
|
|
14467
|
+
ov as a1,
|
|
14469
14468
|
im as a2,
|
|
14470
14469
|
xt as a3,
|
|
14471
14470
|
Fe as a4,
|
|
@@ -14476,11 +14475,11 @@ export {
|
|
|
14476
14475
|
Ox as a9,
|
|
14477
14476
|
ps as aa,
|
|
14478
14477
|
Qb as ab,
|
|
14479
|
-
|
|
14480
|
-
|
|
14481
|
-
|
|
14478
|
+
sv as ac,
|
|
14479
|
+
lv as ad,
|
|
14480
|
+
av as ae,
|
|
14482
14481
|
X as af,
|
|
14483
|
-
|
|
14482
|
+
nv as ag,
|
|
14484
14483
|
Ob as ah,
|
|
14485
14484
|
Mb as ai,
|
|
14486
14485
|
Ab as aj,
|
|
@@ -14488,7 +14487,7 @@ export {
|
|
|
14488
14487
|
Tm as al,
|
|
14489
14488
|
km as am,
|
|
14490
14489
|
_f as an,
|
|
14491
|
-
|
|
14490
|
+
uv as ao,
|
|
14492
14491
|
Wp as b,
|
|
14493
14492
|
ht as c,
|
|
14494
14493
|
lt as d,
|
|
@@ -14502,16 +14501,16 @@ export {
|
|
|
14502
14501
|
D as l,
|
|
14503
14502
|
Qc as m,
|
|
14504
14503
|
Yr as n,
|
|
14505
|
-
|
|
14506
|
-
|
|
14504
|
+
ev as o,
|
|
14505
|
+
hv as p,
|
|
14507
14506
|
Yp as q,
|
|
14508
|
-
|
|
14507
|
+
cv as r,
|
|
14509
14508
|
qp as s,
|
|
14510
14509
|
Up as t,
|
|
14511
14510
|
se as u,
|
|
14512
14511
|
rm as v,
|
|
14513
14512
|
Lx as w,
|
|
14514
14513
|
_b as x,
|
|
14515
|
-
|
|
14514
|
+
iv as y,
|
|
14516
14515
|
Np as z
|
|
14517
14516
|
};
|