@kong-ui-public/documentation 0.7.83 → 0.7.84

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.
Files changed (66) hide show
  1. package/dist/_basePickBy-CMfPif8e-CmRJF0Pz.js +151 -0
  2. package/dist/_baseUniq-CXqhI00C-BfnSCqya.js +615 -0
  3. package/dist/arc-JIMrD458-iE0qPqUL.js +83 -0
  4. package/dist/architecture-I3QFYML2-Bgw7-fJd-BmHcSoDq.js +5 -0
  5. package/dist/{architectureDiagram-V6B76FHG-CMXFnETI-RxxML1uW.js → architectureDiagram-AYX4OTIS-XPsSAXrN-CriQXfFm.js} +4 -4
  6. package/dist/blockDiagram-XN6IQ5JY-IfzOVP1S-DoilgKcQ.js +2247 -0
  7. package/dist/{c4Diagram-THADGKDP-BoXI_MdM-85LhjWUD.js → c4Diagram-GPMAACGM-RttNBnvg-DemUG3qf.js} +2 -2
  8. package/dist/{channel-BlAyqTfO-DcF7shsf.js → channel-DEiqvYYf-DqQTZyIM.js} +1 -1
  9. package/dist/{chunk-OQCM5LHU-BXp7HdZf-DAxyAqhb.js → chunk-BAOP5US2-D_mPkUfX-Dlqx79Tr.js} +1 -1
  10. package/dist/chunk-CXDZ2C6O-B6QVQzrJ-CdVn1xaX.js +1301 -0
  11. package/dist/{chunk-DUMQOTYW-BvseU82P-Cv9cgfHg.js → chunk-EICJXIV7-B3uVnKYK-BPFil4EM.js} +1 -1
  12. package/dist/{chunk-2JBRQKJ5-D-tjQIH--CX9PfGSj.js → chunk-JZAHL7AJ-B8L_7Xh_-C2ETRUtV.js} +21 -21
  13. package/dist/{chunk-2RYQ3QTB-CJAPCFIj-C6EEVa0L.js → chunk-RGXPSUNZ-PjQy3A3Y-BiDEi6k5.js} +1 -1
  14. package/dist/{chunk-XVOYOM2C-DSF8EQmO-CJoKjxiE.js → chunk-VCFP4HPQ-qZEjUbIz-7kfkUrsj.js} +1 -1
  15. package/dist/classDiagram-FEGYTUDG-Bu9qKgav-DF2ZcQyp.js +14 -0
  16. package/dist/classDiagram-v2-R65JCUOM-Bu9qKgav-DF2ZcQyp.js +14 -0
  17. package/dist/{clone-BxgFQWIV-C8w0qOf5.js → clone-elND5I63-U8WRvSPu.js} +1 -1
  18. package/dist/dagre-SWNTG5WE-CcKMLYcK-tREOd3Fb.js +447 -0
  19. package/dist/{diagram-QS5GVLUX-Ck_HO8gZ-CFWjkYXj.js → diagram-NZMEDLQF-vjbbgzvH-BDFE_-Eo.js} +6 -6
  20. package/dist/documentation.es.js +1 -1
  21. package/dist/documentation.umd.js +401 -273
  22. package/dist/{erDiagram-62CBQV5Y-CaO8CQzG-DYEXkRnA.js → erDiagram-WO52GFNT-N8TeMKSM-BojFH-Dn.js} +56 -56
  23. package/dist/flowDiagram-TSWR6T2D-DzECWIN--CnDMIIi-.js +1484 -0
  24. package/dist/{ganttDiagram-ASEIQ4P5-BiIuu6iJ-DXC89NBD.js → ganttDiagram-FAOCOTIY-DmxDGUpf-BGJLIQAo.js} +61 -61
  25. package/dist/gitGraph-YCYPL57B-BKlVjqGu-BRRTPERj.js +5 -0
  26. package/dist/{gitGraphDiagram-UL5UFKDR-C4dDL1m3-pGO-Nubf.js → gitGraphDiagram-5C7YHVU6-CfJ_hQ2h-C2aLT5AH.js} +21 -21
  27. package/dist/{graph-BDwITe7N-Dg4ZhErV.js → graph-C5siWsaJ-djbzUgq8.js} +52 -55
  28. package/dist/{index-D1jNpyAG.js → index-BXFfc1qh.js} +17314 -15496
  29. package/dist/info-46DW6VJ7-QBUrqpM0-D7DXfBfh.js +5 -0
  30. package/dist/{infoDiagram-7APDZ6AT-DQAU4aEA-ZuNKK8Q1.js → infoDiagram-P5D6MX3V-CthsN8fk-ju-grajk.js} +2 -2
  31. package/dist/{journeyDiagram-G5LC7W2K-BDjs8Ede-CBVXgKDg.js → journeyDiagram-UIGPPNLY-CB1xWSVF-CnOTIXjT.js} +3 -3
  32. package/dist/kanban-definition-KMT3NSR2-B76JZ_Kx-BuaYPyou.js +718 -0
  33. package/dist/layout-mwnMvyc4-B2PmGvWD.js +1321 -0
  34. package/dist/{linear-DJf2yjqH-Qa8JBmhC.js → linear-XztDb0hj-RsuwoFLQ.js} +46 -46
  35. package/dist/{mermaid-parser.core-DKcB0zTx-Cuc2e_U9.js → mermaid-parser.core-C4mt_cFi-BuaZi6gx.js} +9 -9
  36. package/dist/{mindmap-definition-FCEC46F3-Dfona71I-BMB5v8Sw.js → mindmap-definition-R7LC4OIY-Cg3Nsctr-BcCPx65V.js} +1 -1
  37. package/dist/packet-W2GHVCYJ-BJGXYVlB-DlnQVVmK.js +5 -0
  38. package/dist/pie-BEWT4RHE-XO1bTOj2-DEYSeXSg.js +5 -0
  39. package/dist/{pieDiagram-OZX6XH5M-CVVFrPaX-C40AWUnf.js → pieDiagram-BLWKPB35-Bs5Iyn_g-CnOiPji_.js} +27 -27
  40. package/dist/{quadrantDiagram-VG34DGKC-D_n6ouG0-B7tCVKZS.js → quadrantDiagram-QXWEEFXS-n8j7IqmF-CloVXY0U.js} +16 -16
  41. package/dist/{requirementDiagram-FPZB6IJI-DgzsPnSP-BdT6rZ42.js → requirementDiagram-XAUNFCZY-DI_Pyl2h-D8hqXle2.js} +20 -20
  42. package/dist/{sankeyDiagram-KMMQDL5K-slN_anzC-C8cSA1pn.js → sankeyDiagram-LVV36NHA-Bei7yBJl-DvbyWSci.js} +1 -1
  43. package/dist/{sequenceDiagram-PQT5PN7B-DmYxtSNe-kmiDoefU.js → sequenceDiagram-D25TJ2OB-NAPdhBbI-DQR1b0UZ.js} +21 -21
  44. package/dist/{stateDiagram-TQSDS2D4-DaGylNtS-DZvK22EK.js → stateDiagram-GNSP7T6Y-Dzq9j0YG-BgVCaCOx.js} +14 -15
  45. package/dist/{stateDiagram-v2-J5TZWJW5-CkpV3aOb-CRLcbMy9.js → stateDiagram-v2-HP6YRVRG-Jl4ubGlG-BeMvcZLQ.js} +2 -3
  46. package/dist/{timeline-definition-KYQAIZUX-BbQn7lRo-DdMJtCcZ.js → timeline-definition-27KQCCZ3-Dyj-cUhB-cBpLcB_z.js} +91 -91
  47. package/dist/{xychartDiagram-LESROZAQ-C5RGN8Yc-D1Q0T8zi.js → xychartDiagram-MYLB5AYS-Bc_nZcHL-YLCG5NJT.js} +2 -2
  48. package/package.json +2 -2
  49. package/dist/_basePickBy-C3_IHxiB-Bgb-nBpw.js +0 -143
  50. package/dist/_baseUniq-Cede_3wW-BVX848YU.js +0 -622
  51. package/dist/arc-CFIMKg_S-CJkN7pL8.js +0 -83
  52. package/dist/architecture-I3QFYML2-CsfpifL5-B7ba29Kf.js +0 -5
  53. package/dist/blockDiagram-EN3ZKWFM-CyddtNyi-BO48RJ5X.js +0 -1232
  54. package/dist/chunk-BAVOGKFW-DMR4mnUx-ZqKP-ubQ.js +0 -1092
  55. package/dist/chunk-UGV5ZQQN-DJ9JPuwX-CiNn-tmJ.js +0 -254
  56. package/dist/chunk-YWFND7JV-CJxpOF0s-CKv3TLz3.js +0 -786
  57. package/dist/classDiagram-4BHYIK4I-Bh2E4V_q-Bp1df6xf.js +0 -214
  58. package/dist/classDiagram-v2-FI7KE7WJ-zeS53lAE--zqW0wuN.js +0 -545
  59. package/dist/dagre-P3YPLUS5-DvPNKrZS-BqJ7-FR_.js +0 -421
  60. package/dist/flowDiagram-JSIZSE4D-C3p20RgK-76C6C_fU.js +0 -1380
  61. package/dist/gitGraph-YCYPL57B-BXHaWu1_-L6S_Q-ER.js +0 -5
  62. package/dist/info-46DW6VJ7-gLazUuGQ-CgME-TPe.js +0 -5
  63. package/dist/json-Dg9P6BhK-CcBa4IfV.js +0 -31
  64. package/dist/layout--tn8zpzB-CFuPSG6n.js +0 -1381
  65. package/dist/packet-W2GHVCYJ-Dn1-cCwP-_7hKzD3w.js +0 -5
  66. package/dist/pie-BEWT4RHE-DvPKCMtn-CWoQ7JX6.js +0 -5
@@ -1,1380 +0,0 @@
1
- import { u as dt, b as pt } from "./chunk-DUMQOTYW-BvseU82P-Cv9cgfHg.js";
2
- import "./chunk-YWFND7JV-CJxpOF0s-CKv3TLz3.js";
3
- import { g as O1, _ as a, aj as Xe, ak as At, a5 as gt, a6 as ft, a7 as yt, a8 as kt, al as bt, am as Et, l as t1, an as Ae, ao as mt, ap as Tt, af as T1, aq as xt, ar as Ct, ab as Dt, as as St } from "./index-D1jNpyAG.js";
4
- import { t as Ft } from "./channel-BlAyqTfO-DcF7shsf.js";
5
- var _t = "flowchart-", He = 0, P1 = O1(), f1 = /* @__PURE__ */ new Map(), j = [], U1 = /* @__PURE__ */ new Map(), A1 = [], ge = /* @__PURE__ */ new Map(), fe = /* @__PURE__ */ new Map(), J1 = 0, de = !0, H, te, se = [], re = /* @__PURE__ */ a((e) => Dt.sanitizeText(e, P1), "sanitizeText"), ue = /* @__PURE__ */ a(function(e) {
6
- for (const r of f1.values())
7
- if (r.id === e)
8
- return r.domId;
9
- return e;
10
- }, "lookUpDomId"), Bt = /* @__PURE__ */ a(function(e, r, i, u, o, A, d = {}) {
11
- if (!e || e.trim().length === 0)
12
- return;
13
- let c, h = f1.get(e);
14
- h === void 0 && (h = {
15
- id: e,
16
- labelType: "text",
17
- domId: _t + e + "-" + He,
18
- styles: [],
19
- classes: []
20
- }, f1.set(e, h)), He++, r !== void 0 ? (P1 = O1(), c = re(r.text.trim()), h.labelType = r.type, c.startsWith('"') && c.endsWith('"') && (c = c.substring(1, c.length - 1)), h.text = c) : h.text === void 0 && (h.text = e), i !== void 0 && (h.type = i), u != null && u.forEach(function(b) {
21
- h.styles.push(b);
22
- }), o != null && o.forEach(function(b) {
23
- h.classes.push(b);
24
- }), A !== void 0 && (h.dir = A), h.props === void 0 ? h.props = d : d !== void 0 && Object.assign(h.props, d);
25
- }, "addVertex"), vt = /* @__PURE__ */ a(function(e, r, i) {
26
- const u = { start: e, end: r, type: void 0, text: "", labelType: "text" };
27
- t1.info("abc78 Got edge...", u);
28
- const o = i.text;
29
- if (o !== void 0 && (u.text = re(o.text.trim()), u.text.startsWith('"') && u.text.endsWith('"') && (u.text = u.text.substring(1, u.text.length - 1)), u.labelType = o.type), i !== void 0 && (u.type = i.type, u.stroke = i.stroke, u.length = i.length > 10 ? 10 : i.length), j.length < (P1.maxEdges ?? 500))
30
- t1.info("Pushing edge..."), j.push(u);
31
- else
32
- throw new Error(
33
- `Edge limit exceeded. ${j.length} edges found, but the limit is ${P1.maxEdges}.
34
-
35
- Initialize mermaid with maxEdges set to a higher number to allow more edges.
36
- You cannot set this config via configuration inside the diagram as it is a secure config.
37
- You have to call mermaid.initialize.`
38
- );
39
- }, "addSingleLink"), wt = /* @__PURE__ */ a(function(e, r, i) {
40
- t1.info("addLink", e, r, i);
41
- for (const u of e)
42
- for (const o of r)
43
- vt(u, o, i);
44
- }, "addLink"), $t = /* @__PURE__ */ a(function(e, r) {
45
- e.forEach(function(i) {
46
- i === "default" ? j.defaultInterpolate = r : j[i].interpolate = r;
47
- });
48
- }, "updateLinkInterpolate"), Lt = /* @__PURE__ */ a(function(e, r) {
49
- e.forEach(function(i) {
50
- var u, o, A, d, c, h;
51
- if (typeof i == "number" && i >= j.length)
52
- throw new Error(
53
- `The index ${i} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${j.length - 1}. (Help: Ensure that the index is within the range of existing edges.)`
54
- );
55
- i === "default" ? j.defaultStyle = r : (j[i].style = r, (((o = (u = j[i]) == null ? void 0 : u.style) == null ? void 0 : o.length) ?? 0) > 0 && !((d = (A = j[i]) == null ? void 0 : A.style) != null && d.some((b) => b == null ? void 0 : b.startsWith("fill"))) && ((h = (c = j[i]) == null ? void 0 : c.style) == null || h.push("fill:none")));
56
- });
57
- }, "updateLink"), It = /* @__PURE__ */ a(function(e, r) {
58
- e.split(",").forEach(function(i) {
59
- let u = U1.get(i);
60
- u === void 0 && (u = { id: i, styles: [], textStyles: [] }, U1.set(i, u)), r != null && r.forEach(function(o) {
61
- if (/color/.exec(o)) {
62
- const A = o.replace("fill", "bgFill");
63
- u.textStyles.push(A);
64
- }
65
- u.styles.push(o);
66
- });
67
- });
68
- }, "addClass"), Rt = /* @__PURE__ */ a(function(e) {
69
- H = e, /.*</.exec(H) && (H = "RL"), /.*\^/.exec(H) && (H = "BT"), /.*>/.exec(H) && (H = "LR"), /.*v/.exec(H) && (H = "TB"), H === "TD" && (H = "TB");
70
- }, "setDirection"), ye = /* @__PURE__ */ a(function(e, r) {
71
- for (const i of e.split(",")) {
72
- const u = f1.get(i);
73
- u && u.classes.push(r);
74
- const o = ge.get(i);
75
- o && o.classes.push(r);
76
- }
77
- }, "setClass"), Nt = /* @__PURE__ */ a(function(e, r) {
78
- if (r !== void 0) {
79
- r = re(r);
80
- for (const i of e.split(","))
81
- fe.set(te === "gen-1" ? ue(i) : i, r);
82
- }
83
- }, "setTooltip"), Pt = /* @__PURE__ */ a(function(e, r, i) {
84
- const u = ue(e);
85
- if (O1().securityLevel !== "loose" || r === void 0)
86
- return;
87
- let o = [];
88
- if (typeof i == "string") {
89
- o = i.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
90
- for (let d = 0; d < o.length; d++) {
91
- let c = o[d].trim();
92
- c.startsWith('"') && c.endsWith('"') && (c = c.substr(1, c.length - 2)), o[d] = c;
93
- }
94
- }
95
- o.length === 0 && o.push(e);
96
- const A = f1.get(e);
97
- A && (A.haveCallback = !0, se.push(function() {
98
- const d = document.querySelector(`[id="${u}"]`);
99
- d !== null && d.addEventListener(
100
- "click",
101
- function() {
102
- Ae.runFunc(r, ...o);
103
- },
104
- !1
105
- );
106
- }));
107
- }, "setClickFun"), Ot = /* @__PURE__ */ a(function(e, r, i) {
108
- e.split(",").forEach(function(u) {
109
- const o = f1.get(u);
110
- o !== void 0 && (o.link = Ae.formatUrl(r, P1), o.linkTarget = i);
111
- }), ye(e, "clickable");
112
- }, "setLink"), Ze = /* @__PURE__ */ a(function(e) {
113
- return fe.get(e);
114
- }, "getTooltip"), Mt = /* @__PURE__ */ a(function(e, r, i) {
115
- e.split(",").forEach(function(u) {
116
- Pt(u, r, i);
117
- }), ye(e, "clickable");
118
- }, "setClickEvent"), Gt = /* @__PURE__ */ a(function(e) {
119
- se.forEach(function(r) {
120
- r(e);
121
- });
122
- }, "bindFunctions"), qe = /* @__PURE__ */ a(function() {
123
- return H.trim();
124
- }, "getDirection"), Je = /* @__PURE__ */ a(function() {
125
- return f1;
126
- }, "getVertices"), et = /* @__PURE__ */ a(function() {
127
- return j;
128
- }, "getEdges"), Vt = /* @__PURE__ */ a(function() {
129
- return U1;
130
- }, "getClasses"), tt = /* @__PURE__ */ a(function(e) {
131
- let r = T1(".mermaidTooltip");
132
- (r._groups || r)[0][0] === null && (r = T1("body").append("div").attr("class", "mermaidTooltip").style("opacity", 0)), T1(e).select("svg").selectAll("g.node").on("mouseover", function() {
133
- const i = T1(this);
134
- if (i.attr("title") === null)
135
- return;
136
- const u = this == null ? void 0 : this.getBoundingClientRect();
137
- r.transition().duration(200).style("opacity", ".9"), r.text(i.attr("title")).style("left", window.scrollX + u.left + (u.right - u.left) / 2 + "px").style("top", window.scrollY + u.bottom + "px"), r.html(r.html().replace(/&lt;br\/&gt;/g, "<br/>")), i.classed("hover", !0);
138
- }).on("mouseout", function() {
139
- r.transition().duration(500).style("opacity", 0), T1(this).classed("hover", !1);
140
- });
141
- }, "setupToolTips");
142
- se.push(tt);
143
- var Ut = /* @__PURE__ */ a(function(e = "gen-1") {
144
- f1 = /* @__PURE__ */ new Map(), U1 = /* @__PURE__ */ new Map(), j = [], se = [tt], A1 = [], ge = /* @__PURE__ */ new Map(), J1 = 0, fe = /* @__PURE__ */ new Map(), de = !0, te = e, P1 = O1(), mt();
145
- }, "clear"), Wt = /* @__PURE__ */ a((e) => {
146
- te = e || "gen-2";
147
- }, "setGen"), jt = /* @__PURE__ */ a(function() {
148
- return "fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;";
149
- }, "defaultStyle"), Kt = /* @__PURE__ */ a(function(e, r, i) {
150
- let u = e.text.trim(), o = i.text;
151
- e === i && /\s/.exec(i.text) && (u = void 0);
152
- function A(b) {
153
- const C = { boolean: {}, number: {}, string: {} }, V = [];
154
- let Z;
155
- return { nodeList: b.filter(function(O) {
156
- const m = typeof O;
157
- return O.stmt && O.stmt === "dir" ? (Z = O.value, !1) : O.trim() === "" ? !1 : m in C ? C[m].hasOwnProperty(O) ? !1 : C[m][O] = !0 : V.includes(O) ? !1 : V.push(O);
158
- }), dir: Z };
159
- }
160
- a(A, "uniq");
161
- const { nodeList: d, dir: c } = A(r.flat());
162
- if (te === "gen-1")
163
- for (let b = 0; b < d.length; b++)
164
- d[b] = ue(d[b]);
165
- u = u ?? "subGraph" + J1, o = o || "", o = re(o), J1 = J1 + 1;
166
- const h = {
167
- id: u,
168
- nodes: d,
169
- title: o.trim(),
170
- classes: [],
171
- dir: c,
172
- labelType: i.type
173
- };
174
- return t1.info("Adding", h.id, h.nodes, h.dir), h.nodes = nt(h, A1).nodes, A1.push(h), ge.set(u, h), u;
175
- }, "addSubGraph"), zt = /* @__PURE__ */ a(function(e) {
176
- for (const [r, i] of A1.entries())
177
- if (i.id === e)
178
- return r;
179
- return -1;
180
- }, "getPosForId"), V1 = -1, st = [], rt = /* @__PURE__ */ a(function(e, r) {
181
- const i = A1[r].nodes;
182
- if (V1 = V1 + 1, V1 > 2e3)
183
- return {
184
- result: !1,
185
- count: 0
186
- };
187
- if (st[V1] = r, A1[r].id === e)
188
- return {
189
- result: !0,
190
- count: 0
191
- };
192
- let u = 0, o = 1;
193
- for (; u < i.length; ) {
194
- const A = zt(i[u]);
195
- if (A >= 0) {
196
- const d = rt(e, A);
197
- if (d.result)
198
- return {
199
- result: !0,
200
- count: o + d.count
201
- };
202
- o = o + d.count;
203
- }
204
- u = u + 1;
205
- }
206
- return {
207
- result: !1,
208
- count: o
209
- };
210
- }, "indexNodes2"), Yt = /* @__PURE__ */ a(function(e) {
211
- return st[e];
212
- }, "getDepthFirstPos"), Qt = /* @__PURE__ */ a(function() {
213
- V1 = -1, A1.length > 0 && rt("none", A1.length - 1);
214
- }, "indexNodes"), ut = /* @__PURE__ */ a(function() {
215
- return A1;
216
- }, "getSubGraphs"), Xt = /* @__PURE__ */ a(() => de ? (de = !1, !0) : !1, "firstGraph"), Ht = /* @__PURE__ */ a((e) => {
217
- let r = e.trim(), i = "arrow_open";
218
- switch (r[0]) {
219
- case "<":
220
- i = "arrow_point", r = r.slice(1);
221
- break;
222
- case "x":
223
- i = "arrow_cross", r = r.slice(1);
224
- break;
225
- case "o":
226
- i = "arrow_circle", r = r.slice(1);
227
- break;
228
- }
229
- let u = "normal";
230
- return r.includes("=") && (u = "thick"), r.includes(".") && (u = "dotted"), { type: i, stroke: u };
231
- }, "destructStartLink"), Zt = /* @__PURE__ */ a((e, r) => {
232
- const i = r.length;
233
- let u = 0;
234
- for (let o = 0; o < i; ++o)
235
- r[o] === e && ++u;
236
- return u;
237
- }, "countChar"), qt = /* @__PURE__ */ a((e) => {
238
- const r = e.trim();
239
- let i = r.slice(0, -1), u = "arrow_open";
240
- switch (r.slice(-1)) {
241
- case "x":
242
- u = "arrow_cross", r.startsWith("x") && (u = "double_" + u, i = i.slice(1));
243
- break;
244
- case ">":
245
- u = "arrow_point", r.startsWith("<") && (u = "double_" + u, i = i.slice(1));
246
- break;
247
- case "o":
248
- u = "arrow_circle", r.startsWith("o") && (u = "double_" + u, i = i.slice(1));
249
- break;
250
- }
251
- let o = "normal", A = i.length - 1;
252
- i.startsWith("=") && (o = "thick"), i.startsWith("~") && (o = "invisible");
253
- const d = Zt(".", i);
254
- return d && (o = "dotted", A = d), { type: u, stroke: o, length: A };
255
- }, "destructEndLink"), Jt = /* @__PURE__ */ a((e, r) => {
256
- const i = qt(e);
257
- let u;
258
- if (r) {
259
- if (u = Ht(r), u.stroke !== i.stroke)
260
- return { type: "INVALID", stroke: "INVALID" };
261
- if (u.type === "arrow_open")
262
- u.type = i.type;
263
- else {
264
- if (u.type !== i.type)
265
- return { type: "INVALID", stroke: "INVALID" };
266
- u.type = "double_" + u.type;
267
- }
268
- return u.type === "double_arrow" && (u.type = "double_arrow_point"), u.length = i.length, u;
269
- }
270
- return i;
271
- }, "destructLink"), it = /* @__PURE__ */ a((e, r) => {
272
- for (const i of e)
273
- if (i.nodes.includes(r))
274
- return !0;
275
- return !1;
276
- }, "exists"), nt = /* @__PURE__ */ a((e, r) => {
277
- const i = [];
278
- return e.nodes.forEach((u, o) => {
279
- it(r, u) || i.push(e.nodes[o]);
280
- }), { nodes: i };
281
- }, "makeUniq"), es = {
282
- firstGraph: Xt
283
- }, ts = /* @__PURE__ */ a((e) => e.type === "square" ? "squareRect" : e.type === "round" ? "roundedRect" : e.type ?? "squareRect", "getTypeFromVertex"), ss = /* @__PURE__ */ a((e, r) => e.find((i) => i.id === r), "findNode"), rs = /* @__PURE__ */ a((e) => {
284
- let r = "none", i = "arrow_point";
285
- switch (e) {
286
- case "arrow_point":
287
- case "arrow_circle":
288
- case "arrow_cross":
289
- i = e;
290
- break;
291
- case "double_arrow_point":
292
- case "double_arrow_circle":
293
- case "double_arrow_cross":
294
- r = e.replace("double_", ""), i = r;
295
- break;
296
- }
297
- return { arrowTypeStart: r, arrowTypeEnd: i };
298
- }, "destructEdgeType"), us = /* @__PURE__ */ a((e, r, i, u, o, A) => {
299
- var d;
300
- const c = i.get(e.id), h = u.get(e.id) ?? !1, b = ss(r, e.id);
301
- b ? (b.cssStyles = e.styles, b.cssCompiledStyles = ee(e.classes), b.cssClasses = e.classes.join(" ")) : r.push({
302
- id: e.id,
303
- label: e.text,
304
- labelStyle: "",
305
- parentId: c,
306
- padding: ((d = o.flowchart) == null ? void 0 : d.padding) || 8,
307
- cssStyles: e.styles,
308
- cssCompiledStyles: ee(["default", "node", ...e.classes]),
309
- cssClasses: "default " + e.classes.join(" "),
310
- shape: ts(e),
311
- dir: e.dir,
312
- domId: e.domId,
313
- isGroup: h,
314
- look: A,
315
- link: e.link,
316
- linkTarget: e.linkTarget,
317
- tooltip: Ze(e.id)
318
- });
319
- }, "addNodeFromVertex");
320
- function ee(e) {
321
- let r = [];
322
- for (const i of e) {
323
- const u = U1.get(i);
324
- u != null && u.styles && (r = [...r, ...u.styles ?? []].map((o) => o.trim())), u != null && u.textStyles && (r = [...r, ...u.textStyles ?? []].map((o) => o.trim()));
325
- }
326
- return r;
327
- }
328
- a(ee, "getCompiledStyles");
329
- var is = /* @__PURE__ */ a(() => {
330
- const e = O1(), r = [], i = [], u = ut(), o = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map();
331
- for (let c = u.length - 1; c >= 0; c--) {
332
- const h = u[c];
333
- h.nodes.length > 0 && A.set(h.id, !0);
334
- for (const b of h.nodes)
335
- o.set(b, h.id);
336
- }
337
- for (let c = u.length - 1; c >= 0; c--) {
338
- const h = u[c];
339
- r.push({
340
- id: h.id,
341
- label: h.title,
342
- labelStyle: "",
343
- parentId: o.get(h.id),
344
- padding: 8,
345
- cssCompiledStyles: ee(h.classes),
346
- cssClasses: h.classes.join(" "),
347
- shape: "rect",
348
- dir: h.dir,
349
- isGroup: !0,
350
- look: e.look
351
- });
352
- }
353
- Je().forEach((c) => {
354
- us(c, r, o, A, e, e.look || "classic");
355
- });
356
- const d = et();
357
- return d.forEach((c, h) => {
358
- const { arrowTypeStart: b, arrowTypeEnd: C } = rs(c.type), V = [...d.defaultStyle ?? []];
359
- c.style && V.push(...c.style);
360
- const Z = {
361
- id: Tt(c.start, c.end, { counter: h, prefix: "L" }),
362
- start: c.start,
363
- end: c.end,
364
- type: c.type ?? "normal",
365
- label: c.text,
366
- labelpos: "c",
367
- thickness: c.stroke,
368
- minlen: c.length,
369
- classes: (c == null ? void 0 : c.stroke) === "invisible" ? "" : "edge-thickness-normal edge-pattern-solid flowchart-link",
370
- arrowTypeStart: (c == null ? void 0 : c.stroke) === "invisible" ? "none" : b,
371
- arrowTypeEnd: (c == null ? void 0 : c.stroke) === "invisible" ? "none" : C,
372
- arrowheadStyle: "fill: #333",
373
- labelStyle: V,
374
- style: V,
375
- pattern: c.stroke,
376
- look: e.look
377
- };
378
- i.push(Z);
379
- }), { nodes: r, edges: i, other: {}, config: e };
380
- }, "getData"), he = {
381
- defaultConfig: /* @__PURE__ */ a(() => At.flowchart, "defaultConfig"),
382
- setAccTitle: gt,
383
- getAccTitle: ft,
384
- getAccDescription: yt,
385
- getData: is,
386
- setAccDescription: kt,
387
- addVertex: Bt,
388
- lookUpDomId: ue,
389
- addLink: wt,
390
- updateLinkInterpolate: $t,
391
- updateLink: Lt,
392
- addClass: It,
393
- setDirection: Rt,
394
- setClass: ye,
395
- setTooltip: Nt,
396
- getTooltip: Ze,
397
- setClickEvent: Mt,
398
- setLink: Ot,
399
- bindFunctions: Gt,
400
- getDirection: qe,
401
- getVertices: Je,
402
- getEdges: et,
403
- getClasses: Vt,
404
- clear: Ut,
405
- setGen: Wt,
406
- defaultStyle: jt,
407
- addSubGraph: Kt,
408
- getDepthFirstPos: Yt,
409
- indexNodes: Qt,
410
- getSubGraphs: ut,
411
- destructLink: Jt,
412
- lex: es,
413
- exists: it,
414
- makeUniq: nt,
415
- setDiagramTitle: bt,
416
- getDiagramTitle: Et
417
- }, ns = /* @__PURE__ */ a(function(e, r) {
418
- return r.db.getClasses();
419
- }, "getClasses"), as = /* @__PURE__ */ a(async function(e, r, i, u) {
420
- var o;
421
- t1.info("REF0:"), t1.info("Drawing state diagram (v2)", r);
422
- const { securityLevel: A, flowchart: d, layout: c } = O1();
423
- let h;
424
- A === "sandbox" && (h = T1("#i" + r));
425
- const b = A === "sandbox" ? h.nodes()[0].contentDocument : document;
426
- t1.debug("Before getData: ");
427
- const C = u.db.getData();
428
- t1.debug("Data: ", C);
429
- const V = dt(r, A), Z = qe();
430
- C.type = u.type, C.layoutAlgorithm = xt(c), C.layoutAlgorithm === "dagre" && c === "elk" && t1.warn(
431
- "flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using `dagre` layout as a fallback."
432
- ), C.direction = Z, C.nodeSpacing = (d == null ? void 0 : d.nodeSpacing) || 50, C.rankSpacing = (d == null ? void 0 : d.rankSpacing) || 50, C.markers = ["point", "circle", "cross"], C.diagramId = r, t1.debug("REF1:", C), await Ct(C, V);
433
- const O = ((o = C.config.flowchart) == null ? void 0 : o.diagramPadding) ?? 8;
434
- Ae.insertTitle(
435
- V,
436
- "flowchartTitleText",
437
- (d == null ? void 0 : d.titleTopMargin) || 0,
438
- u.db.getDiagramTitle()
439
- ), pt(V, O, "flowchart", (d == null ? void 0 : d.useMaxWidth) || !1);
440
- for (const m of C.nodes) {
441
- const S = T1(`#${r} [id="${m.id}"]`);
442
- if (!S || !m.link)
443
- continue;
444
- const q = b.createElementNS("http://www.w3.org/2000/svg", "a");
445
- q.setAttributeNS("http://www.w3.org/2000/svg", "class", m.cssClasses), q.setAttributeNS("http://www.w3.org/2000/svg", "rel", "noopener"), A === "sandbox" ? q.setAttributeNS("http://www.w3.org/2000/svg", "target", "_top") : m.linkTarget && q.setAttributeNS("http://www.w3.org/2000/svg", "target", m.linkTarget);
446
- const y1 = S.insert(function() {
447
- return q;
448
- }, ":first-child"), k1 = S.select(".label-container");
449
- k1 && y1.append(function() {
450
- return k1.node();
451
- });
452
- const b1 = S.select(".label");
453
- b1 && y1.append(function() {
454
- return b1.node();
455
- });
456
- }
457
- }, "draw"), os = {
458
- getClasses: ns,
459
- draw: as
460
- }, pe = function() {
461
- var e = /* @__PURE__ */ a(function(e1, l, p, n) {
462
- for (p = p || {}, n = e1.length; n--; p[e1[n]] = l) ;
463
- return p;
464
- }, "o"), r = [1, 4], i = [1, 3], u = [1, 5], o = [1, 8, 9, 10, 11, 27, 34, 36, 38, 42, 58, 81, 82, 83, 84, 85, 86, 99, 102, 103, 106, 108, 111, 112, 113, 118, 119, 120, 121], A = [2, 2], d = [1, 13], c = [1, 14], h = [1, 15], b = [1, 16], C = [1, 23], V = [1, 25], Z = [1, 26], O = [1, 27], m = [1, 49], S = [1, 48], q = [1, 29], y1 = [1, 30], k1 = [1, 31], b1 = [1, 32], W1 = [1, 33], _ = [1, 44], B = [1, 46], v = [1, 42], w = [1, 47], $ = [1, 43], L = [1, 50], I = [1, 45], R = [1, 51], N = [1, 52], j1 = [1, 34], K1 = [1, 35], z1 = [1, 36], Y1 = [1, 37], M1 = [1, 57], T = [1, 8, 9, 10, 11, 27, 32, 34, 36, 38, 42, 58, 81, 82, 83, 84, 85, 86, 99, 102, 103, 106, 108, 111, 112, 113, 118, 119, 120, 121], s1 = [1, 61], r1 = [1, 60], u1 = [1, 62], Q1 = [8, 9, 11, 73, 75], x1 = [1, 88], C1 = [1, 93], D1 = [1, 92], S1 = [1, 89], F1 = [1, 85], _1 = [1, 91], B1 = [1, 87], v1 = [1, 94], w1 = [1, 90], $1 = [1, 95], L1 = [1, 86], X1 = [8, 9, 10, 11, 73, 75], P = [8, 9, 10, 11, 44, 73, 75], K = [8, 9, 10, 11, 29, 42, 44, 46, 48, 50, 52, 54, 56, 58, 61, 63, 65, 66, 68, 73, 75, 86, 99, 102, 103, 106, 108, 111, 112, 113], ke = [8, 9, 11, 42, 58, 73, 75, 86, 99, 102, 103, 106, 108, 111, 112, 113], G1 = [42, 58, 86, 99, 102, 103, 106, 108, 111, 112, 113], be = [1, 121], Ee = [1, 120], me = [1, 128], Te = [1, 142], xe = [1, 143], Ce = [1, 144], De = [1, 145], Se = [1, 130], Fe = [1, 132], _e = [1, 136], Be = [1, 137], ve = [1, 138], we = [1, 139], $e = [1, 140], Le = [1, 141], Ie = [1, 146], Re = [1, 147], Ne = [1, 126], Pe = [1, 127], Oe = [1, 134], Me = [1, 129], Ge = [1, 133], Ve = [1, 131], ie = [8, 9, 10, 11, 27, 32, 34, 36, 38, 42, 58, 81, 82, 83, 84, 85, 86, 99, 102, 103, 106, 108, 111, 112, 113, 118, 119, 120, 121], Ue = [1, 149], D = [8, 9, 11], z = [8, 9, 10, 11, 14, 42, 58, 86, 102, 103, 106, 108, 111, 112, 113], g = [1, 169], M = [1, 165], G = [1, 166], f = [1, 170], y = [1, 167], k = [1, 168], I1 = [75, 113, 116], x = [8, 9, 10, 11, 12, 14, 27, 29, 32, 42, 58, 73, 81, 82, 83, 84, 85, 86, 87, 102, 106, 108, 111, 112, 113], We = [10, 103], g1 = [31, 47, 49, 51, 53, 55, 60, 62, 64, 65, 67, 69, 113, 114, 115], i1 = [1, 235], n1 = [1, 233], a1 = [1, 237], o1 = [1, 231], l1 = [1, 232], c1 = [1, 234], h1 = [1, 236], d1 = [1, 238], R1 = [1, 255], je = [8, 9, 11, 103], J = [8, 9, 10, 11, 58, 81, 102, 103, 106, 107, 108, 109], ne = {
465
- trace: /* @__PURE__ */ a(function() {
466
- }, "trace"),
467
- yy: {},
468
- symbols_: { error: 2, start: 3, graphConfig: 4, document: 5, line: 6, statement: 7, SEMI: 8, NEWLINE: 9, SPACE: 10, EOF: 11, GRAPH: 12, NODIR: 13, DIR: 14, FirstStmtSeparator: 15, ending: 16, endToken: 17, spaceList: 18, spaceListNewline: 19, vertexStatement: 20, separator: 21, styleStatement: 22, linkStyleStatement: 23, classDefStatement: 24, classStatement: 25, clickStatement: 26, subgraph: 27, textNoTags: 28, SQS: 29, text: 30, SQE: 31, end: 32, direction: 33, acc_title: 34, acc_title_value: 35, acc_descr: 36, acc_descr_value: 37, acc_descr_multiline_value: 38, link: 39, node: 40, styledVertex: 41, AMP: 42, vertex: 43, STYLE_SEPARATOR: 44, idString: 45, DOUBLECIRCLESTART: 46, DOUBLECIRCLEEND: 47, PS: 48, PE: 49, "(-": 50, "-)": 51, STADIUMSTART: 52, STADIUMEND: 53, SUBROUTINESTART: 54, SUBROUTINEEND: 55, VERTEX_WITH_PROPS_START: 56, "NODE_STRING[field]": 57, COLON: 58, "NODE_STRING[value]": 59, PIPE: 60, CYLINDERSTART: 61, CYLINDEREND: 62, DIAMOND_START: 63, DIAMOND_STOP: 64, TAGEND: 65, TRAPSTART: 66, TRAPEND: 67, INVTRAPSTART: 68, INVTRAPEND: 69, linkStatement: 70, arrowText: 71, TESTSTR: 72, START_LINK: 73, edgeText: 74, LINK: 75, edgeTextToken: 76, STR: 77, MD_STR: 78, textToken: 79, keywords: 80, STYLE: 81, LINKSTYLE: 82, CLASSDEF: 83, CLASS: 84, CLICK: 85, DOWN: 86, UP: 87, textNoTagsToken: 88, stylesOpt: 89, "idString[vertex]": 90, "idString[class]": 91, CALLBACKNAME: 92, CALLBACKARGS: 93, HREF: 94, LINK_TARGET: 95, "STR[link]": 96, "STR[tooltip]": 97, alphaNum: 98, DEFAULT: 99, numList: 100, INTERPOLATE: 101, NUM: 102, COMMA: 103, style: 104, styleComponent: 105, NODE_STRING: 106, UNIT: 107, BRKT: 108, PCT: 109, idStringToken: 110, MINUS: 111, MULT: 112, UNICODE_TEXT: 113, TEXT: 114, TAGSTART: 115, EDGE_TEXT: 116, alphaNumToken: 117, direction_tb: 118, direction_bt: 119, direction_rl: 120, direction_lr: 121, $accept: 0, $end: 1 },
469
- terminals_: { 2: "error", 8: "SEMI", 9: "NEWLINE", 10: "SPACE", 11: "EOF", 12: "GRAPH", 13: "NODIR", 14: "DIR", 27: "subgraph", 29: "SQS", 31: "SQE", 32: "end", 34: "acc_title", 35: "acc_title_value", 36: "acc_descr", 37: "acc_descr_value", 38: "acc_descr_multiline_value", 42: "AMP", 44: "STYLE_SEPARATOR", 46: "DOUBLECIRCLESTART", 47: "DOUBLECIRCLEEND", 48: "PS", 49: "PE", 50: "(-", 51: "-)", 52: "STADIUMSTART", 53: "STADIUMEND", 54: "SUBROUTINESTART", 55: "SUBROUTINEEND", 56: "VERTEX_WITH_PROPS_START", 57: "NODE_STRING[field]", 58: "COLON", 59: "NODE_STRING[value]", 60: "PIPE", 61: "CYLINDERSTART", 62: "CYLINDEREND", 63: "DIAMOND_START", 64: "DIAMOND_STOP", 65: "TAGEND", 66: "TRAPSTART", 67: "TRAPEND", 68: "INVTRAPSTART", 69: "INVTRAPEND", 72: "TESTSTR", 73: "START_LINK", 75: "LINK", 77: "STR", 78: "MD_STR", 81: "STYLE", 82: "LINKSTYLE", 83: "CLASSDEF", 84: "CLASS", 85: "CLICK", 86: "DOWN", 87: "UP", 90: "idString[vertex]", 91: "idString[class]", 92: "CALLBACKNAME", 93: "CALLBACKARGS", 94: "HREF", 95: "LINK_TARGET", 96: "STR[link]", 97: "STR[tooltip]", 99: "DEFAULT", 101: "INTERPOLATE", 102: "NUM", 103: "COMMA", 106: "NODE_STRING", 107: "UNIT", 108: "BRKT", 109: "PCT", 111: "MINUS", 112: "MULT", 113: "UNICODE_TEXT", 114: "TEXT", 115: "TAGSTART", 116: "EDGE_TEXT", 118: "direction_tb", 119: "direction_bt", 120: "direction_rl", 121: "direction_lr" },
470
- productions_: [0, [3, 2], [5, 0], [5, 2], [6, 1], [6, 1], [6, 1], [6, 1], [6, 1], [4, 2], [4, 2], [4, 2], [4, 3], [16, 2], [16, 1], [17, 1], [17, 1], [17, 1], [15, 1], [15, 1], [15, 2], [19, 2], [19, 2], [19, 1], [19, 1], [18, 2], [18, 1], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 9], [7, 6], [7, 4], [7, 1], [7, 2], [7, 2], [7, 1], [21, 1], [21, 1], [21, 1], [20, 3], [20, 4], [20, 2], [20, 1], [40, 1], [40, 5], [41, 1], [41, 3], [43, 4], [43, 4], [43, 6], [43, 4], [43, 4], [43, 4], [43, 8], [43, 4], [43, 4], [43, 4], [43, 6], [43, 4], [43, 4], [43, 4], [43, 4], [43, 4], [43, 1], [39, 2], [39, 3], [39, 3], [39, 1], [39, 3], [74, 1], [74, 2], [74, 1], [74, 1], [70, 1], [71, 3], [30, 1], [30, 2], [30, 1], [30, 1], [80, 1], [80, 1], [80, 1], [80, 1], [80, 1], [80, 1], [80, 1], [80, 1], [80, 1], [80, 1], [80, 1], [28, 1], [28, 2], [28, 1], [28, 1], [24, 5], [25, 5], [26, 2], [26, 4], [26, 3], [26, 5], [26, 3], [26, 5], [26, 5], [26, 7], [26, 2], [26, 4], [26, 2], [26, 4], [26, 4], [26, 6], [22, 5], [23, 5], [23, 5], [23, 9], [23, 9], [23, 7], [23, 7], [100, 1], [100, 3], [89, 1], [89, 3], [104, 1], [104, 2], [105, 1], [105, 1], [105, 1], [105, 1], [105, 1], [105, 1], [105, 1], [105, 1], [110, 1], [110, 1], [110, 1], [110, 1], [110, 1], [110, 1], [110, 1], [110, 1], [110, 1], [110, 1], [110, 1], [79, 1], [79, 1], [79, 1], [79, 1], [88, 1], [88, 1], [88, 1], [88, 1], [88, 1], [88, 1], [88, 1], [88, 1], [88, 1], [88, 1], [88, 1], [76, 1], [76, 1], [117, 1], [117, 1], [117, 1], [117, 1], [117, 1], [117, 1], [117, 1], [117, 1], [117, 1], [117, 1], [117, 1], [45, 1], [45, 2], [98, 1], [98, 2], [33, 1], [33, 1], [33, 1], [33, 1]],
471
- performAction: /* @__PURE__ */ a(function(e1, l, p, n, E, t, U) {
472
- var s = t.length - 1;
473
- switch (E) {
474
- case 2:
475
- this.$ = [];
476
- break;
477
- case 3:
478
- (!Array.isArray(t[s]) || t[s].length > 0) && t[s - 1].push(t[s]), this.$ = t[s - 1];
479
- break;
480
- case 4:
481
- case 176:
482
- this.$ = t[s];
483
- break;
484
- case 11:
485
- n.setDirection("TB"), this.$ = "TB";
486
- break;
487
- case 12:
488
- n.setDirection(t[s - 1]), this.$ = t[s - 1];
489
- break;
490
- case 27:
491
- this.$ = t[s - 1].nodes;
492
- break;
493
- case 28:
494
- case 29:
495
- case 30:
496
- case 31:
497
- case 32:
498
- this.$ = [];
499
- break;
500
- case 33:
501
- this.$ = n.addSubGraph(t[s - 6], t[s - 1], t[s - 4]);
502
- break;
503
- case 34:
504
- this.$ = n.addSubGraph(t[s - 3], t[s - 1], t[s - 3]);
505
- break;
506
- case 35:
507
- this.$ = n.addSubGraph(void 0, t[s - 1], void 0);
508
- break;
509
- case 37:
510
- this.$ = t[s].trim(), n.setAccTitle(this.$);
511
- break;
512
- case 38:
513
- case 39:
514
- this.$ = t[s].trim(), n.setAccDescription(this.$);
515
- break;
516
- case 43:
517
- n.addLink(t[s - 2].stmt, t[s], t[s - 1]), this.$ = { stmt: t[s], nodes: t[s].concat(t[s - 2].nodes) };
518
- break;
519
- case 44:
520
- n.addLink(t[s - 3].stmt, t[s - 1], t[s - 2]), this.$ = { stmt: t[s - 1], nodes: t[s - 1].concat(t[s - 3].nodes) };
521
- break;
522
- case 45:
523
- this.$ = { stmt: t[s - 1], nodes: t[s - 1] };
524
- break;
525
- case 46:
526
- this.$ = { stmt: t[s], nodes: t[s] };
527
- break;
528
- case 47:
529
- this.$ = [t[s]];
530
- break;
531
- case 48:
532
- this.$ = t[s - 4].concat(t[s]);
533
- break;
534
- case 49:
535
- this.$ = t[s];
536
- break;
537
- case 50:
538
- this.$ = t[s - 2], n.setClass(t[s - 2], t[s]);
539
- break;
540
- case 51:
541
- this.$ = t[s - 3], n.addVertex(t[s - 3], t[s - 1], "square");
542
- break;
543
- case 52:
544
- this.$ = t[s - 3], n.addVertex(t[s - 3], t[s - 1], "doublecircle");
545
- break;
546
- case 53:
547
- this.$ = t[s - 5], n.addVertex(t[s - 5], t[s - 2], "circle");
548
- break;
549
- case 54:
550
- this.$ = t[s - 3], n.addVertex(t[s - 3], t[s - 1], "ellipse");
551
- break;
552
- case 55:
553
- this.$ = t[s - 3], n.addVertex(t[s - 3], t[s - 1], "stadium");
554
- break;
555
- case 56:
556
- this.$ = t[s - 3], n.addVertex(t[s - 3], t[s - 1], "subroutine");
557
- break;
558
- case 57:
559
- this.$ = t[s - 7], n.addVertex(t[s - 7], t[s - 1], "rect", void 0, void 0, void 0, Object.fromEntries([[t[s - 5], t[s - 3]]]));
560
- break;
561
- case 58:
562
- this.$ = t[s - 3], n.addVertex(t[s - 3], t[s - 1], "cylinder");
563
- break;
564
- case 59:
565
- this.$ = t[s - 3], n.addVertex(t[s - 3], t[s - 1], "round");
566
- break;
567
- case 60:
568
- this.$ = t[s - 3], n.addVertex(t[s - 3], t[s - 1], "diamond");
569
- break;
570
- case 61:
571
- this.$ = t[s - 5], n.addVertex(t[s - 5], t[s - 2], "hexagon");
572
- break;
573
- case 62:
574
- this.$ = t[s - 3], n.addVertex(t[s - 3], t[s - 1], "odd");
575
- break;
576
- case 63:
577
- this.$ = t[s - 3], n.addVertex(t[s - 3], t[s - 1], "trapezoid");
578
- break;
579
- case 64:
580
- this.$ = t[s - 3], n.addVertex(t[s - 3], t[s - 1], "inv_trapezoid");
581
- break;
582
- case 65:
583
- this.$ = t[s - 3], n.addVertex(t[s - 3], t[s - 1], "lean_right");
584
- break;
585
- case 66:
586
- this.$ = t[s - 3], n.addVertex(t[s - 3], t[s - 1], "lean_left");
587
- break;
588
- case 67:
589
- this.$ = t[s], n.addVertex(t[s]);
590
- break;
591
- case 68:
592
- t[s - 1].text = t[s], this.$ = t[s - 1];
593
- break;
594
- case 69:
595
- case 70:
596
- t[s - 2].text = t[s - 1], this.$ = t[s - 2];
597
- break;
598
- case 71:
599
- this.$ = t[s];
600
- break;
601
- case 72:
602
- var Q = n.destructLink(t[s], t[s - 2]);
603
- this.$ = { type: Q.type, stroke: Q.stroke, length: Q.length, text: t[s - 1] };
604
- break;
605
- case 73:
606
- this.$ = { text: t[s], type: "text" };
607
- break;
608
- case 74:
609
- this.$ = { text: t[s - 1].text + "" + t[s], type: t[s - 1].type };
610
- break;
611
- case 75:
612
- this.$ = { text: t[s], type: "string" };
613
- break;
614
- case 76:
615
- this.$ = { text: t[s], type: "markdown" };
616
- break;
617
- case 77:
618
- var Q = n.destructLink(t[s]);
619
- this.$ = { type: Q.type, stroke: Q.stroke, length: Q.length };
620
- break;
621
- case 78:
622
- this.$ = t[s - 1];
623
- break;
624
- case 79:
625
- this.$ = { text: t[s], type: "text" };
626
- break;
627
- case 80:
628
- this.$ = { text: t[s - 1].text + "" + t[s], type: t[s - 1].type };
629
- break;
630
- case 81:
631
- this.$ = { text: t[s], type: "string" };
632
- break;
633
- case 82:
634
- case 97:
635
- this.$ = { text: t[s], type: "markdown" };
636
- break;
637
- case 94:
638
- this.$ = { text: t[s], type: "text" };
639
- break;
640
- case 95:
641
- this.$ = { text: t[s - 1].text + "" + t[s], type: t[s - 1].type };
642
- break;
643
- case 96:
644
- this.$ = { text: t[s], type: "text" };
645
- break;
646
- case 98:
647
- this.$ = t[s - 4], n.addClass(t[s - 2], t[s]);
648
- break;
649
- case 99:
650
- this.$ = t[s - 4], n.setClass(t[s - 2], t[s]);
651
- break;
652
- case 100:
653
- case 108:
654
- this.$ = t[s - 1], n.setClickEvent(t[s - 1], t[s]);
655
- break;
656
- case 101:
657
- case 109:
658
- this.$ = t[s - 3], n.setClickEvent(t[s - 3], t[s - 2]), n.setTooltip(t[s - 3], t[s]);
659
- break;
660
- case 102:
661
- this.$ = t[s - 2], n.setClickEvent(t[s - 2], t[s - 1], t[s]);
662
- break;
663
- case 103:
664
- this.$ = t[s - 4], n.setClickEvent(t[s - 4], t[s - 3], t[s - 2]), n.setTooltip(t[s - 4], t[s]);
665
- break;
666
- case 104:
667
- this.$ = t[s - 2], n.setLink(t[s - 2], t[s]);
668
- break;
669
- case 105:
670
- this.$ = t[s - 4], n.setLink(t[s - 4], t[s - 2]), n.setTooltip(t[s - 4], t[s]);
671
- break;
672
- case 106:
673
- this.$ = t[s - 4], n.setLink(t[s - 4], t[s - 2], t[s]);
674
- break;
675
- case 107:
676
- this.$ = t[s - 6], n.setLink(t[s - 6], t[s - 4], t[s]), n.setTooltip(t[s - 6], t[s - 2]);
677
- break;
678
- case 110:
679
- this.$ = t[s - 1], n.setLink(t[s - 1], t[s]);
680
- break;
681
- case 111:
682
- this.$ = t[s - 3], n.setLink(t[s - 3], t[s - 2]), n.setTooltip(t[s - 3], t[s]);
683
- break;
684
- case 112:
685
- this.$ = t[s - 3], n.setLink(t[s - 3], t[s - 2], t[s]);
686
- break;
687
- case 113:
688
- this.$ = t[s - 5], n.setLink(t[s - 5], t[s - 4], t[s]), n.setTooltip(t[s - 5], t[s - 2]);
689
- break;
690
- case 114:
691
- this.$ = t[s - 4], n.addVertex(t[s - 2], void 0, void 0, t[s]);
692
- break;
693
- case 115:
694
- this.$ = t[s - 4], n.updateLink([t[s - 2]], t[s]);
695
- break;
696
- case 116:
697
- this.$ = t[s - 4], n.updateLink(t[s - 2], t[s]);
698
- break;
699
- case 117:
700
- this.$ = t[s - 8], n.updateLinkInterpolate([t[s - 6]], t[s - 2]), n.updateLink([t[s - 6]], t[s]);
701
- break;
702
- case 118:
703
- this.$ = t[s - 8], n.updateLinkInterpolate(t[s - 6], t[s - 2]), n.updateLink(t[s - 6], t[s]);
704
- break;
705
- case 119:
706
- this.$ = t[s - 6], n.updateLinkInterpolate([t[s - 4]], t[s]);
707
- break;
708
- case 120:
709
- this.$ = t[s - 6], n.updateLinkInterpolate(t[s - 4], t[s]);
710
- break;
711
- case 121:
712
- case 123:
713
- this.$ = [t[s]];
714
- break;
715
- case 122:
716
- case 124:
717
- t[s - 2].push(t[s]), this.$ = t[s - 2];
718
- break;
719
- case 126:
720
- this.$ = t[s - 1] + t[s];
721
- break;
722
- case 174:
723
- this.$ = t[s];
724
- break;
725
- case 175:
726
- this.$ = t[s - 1] + "" + t[s];
727
- break;
728
- case 177:
729
- this.$ = t[s - 1] + "" + t[s];
730
- break;
731
- case 178:
732
- this.$ = { stmt: "dir", value: "TB" };
733
- break;
734
- case 179:
735
- this.$ = { stmt: "dir", value: "BT" };
736
- break;
737
- case 180:
738
- this.$ = { stmt: "dir", value: "RL" };
739
- break;
740
- case 181:
741
- this.$ = { stmt: "dir", value: "LR" };
742
- break;
743
- }
744
- }, "anonymous"),
745
- table: [{ 3: 1, 4: 2, 9: r, 10: i, 12: u }, { 1: [3] }, e(o, A, { 5: 6 }), { 4: 7, 9: r, 10: i, 12: u }, { 4: 8, 9: r, 10: i, 12: u }, { 13: [1, 9], 14: [1, 10] }, { 1: [2, 1], 6: 11, 7: 12, 8: d, 9: c, 10: h, 11: b, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: C, 33: 24, 34: V, 36: Z, 38: O, 40: 28, 41: 38, 42: m, 43: 39, 45: 40, 58: S, 81: q, 82: y1, 83: k1, 84: b1, 85: W1, 86: _, 99: B, 102: v, 103: w, 106: $, 108: L, 110: 41, 111: I, 112: R, 113: N, 118: j1, 119: K1, 120: z1, 121: Y1 }, e(o, [2, 9]), e(o, [2, 10]), e(o, [2, 11]), { 8: [1, 54], 9: [1, 55], 10: M1, 15: 53, 18: 56 }, e(T, [2, 3]), e(T, [2, 4]), e(T, [2, 5]), e(T, [2, 6]), e(T, [2, 7]), e(T, [2, 8]), { 8: s1, 9: r1, 11: u1, 21: 58, 39: 59, 70: 63, 73: [1, 64], 75: [1, 65] }, { 8: s1, 9: r1, 11: u1, 21: 66 }, { 8: s1, 9: r1, 11: u1, 21: 67 }, { 8: s1, 9: r1, 11: u1, 21: 68 }, { 8: s1, 9: r1, 11: u1, 21: 69 }, { 8: s1, 9: r1, 11: u1, 21: 70 }, { 8: s1, 9: r1, 10: [1, 71], 11: u1, 21: 72 }, e(T, [2, 36]), { 35: [1, 73] }, { 37: [1, 74] }, e(T, [2, 39]), e(Q1, [2, 46], { 18: 75, 10: M1 }), { 10: [1, 76] }, { 10: [1, 77] }, { 10: [1, 78] }, { 10: [1, 79] }, { 14: x1, 42: C1, 58: D1, 77: [1, 83], 86: S1, 92: [1, 80], 94: [1, 81], 98: 82, 102: F1, 103: _1, 106: B1, 108: v1, 111: w1, 112: $1, 113: L1, 117: 84 }, e(T, [2, 178]), e(T, [2, 179]), e(T, [2, 180]), e(T, [2, 181]), e(X1, [2, 47]), e(X1, [2, 49], { 44: [1, 96] }), e(P, [2, 67], { 110: 109, 29: [1, 97], 42: m, 46: [1, 98], 48: [1, 99], 50: [1, 100], 52: [1, 101], 54: [1, 102], 56: [1, 103], 58: S, 61: [1, 104], 63: [1, 105], 65: [1, 106], 66: [1, 107], 68: [1, 108], 86: _, 99: B, 102: v, 103: w, 106: $, 108: L, 111: I, 112: R, 113: N }), e(K, [2, 174]), e(K, [2, 135]), e(K, [2, 136]), e(K, [2, 137]), e(K, [2, 138]), e(K, [2, 139]), e(K, [2, 140]), e(K, [2, 141]), e(K, [2, 142]), e(K, [2, 143]), e(K, [2, 144]), e(K, [2, 145]), e(o, [2, 12]), e(o, [2, 18]), e(o, [2, 19]), { 9: [1, 110] }, e(ke, [2, 26], { 18: 111, 10: M1 }), e(T, [2, 27]), { 40: 112, 41: 38, 42: m, 43: 39, 45: 40, 58: S, 86: _, 99: B, 102: v, 103: w, 106: $, 108: L, 110: 41, 111: I, 112: R, 113: N }, e(T, [2, 40]), e(T, [2, 41]), e(T, [2, 42]), e(G1, [2, 71], { 71: 113, 60: [1, 115], 72: [1, 114] }), { 74: 116, 76: 117, 77: [1, 118], 78: [1, 119], 113: be, 116: Ee }, e([42, 58, 60, 72, 86, 99, 102, 103, 106, 108, 111, 112, 113], [2, 77]), e(T, [2, 28]), e(T, [2, 29]), e(T, [2, 30]), e(T, [2, 31]), e(T, [2, 32]), { 10: me, 12: Te, 14: xe, 27: Ce, 28: 122, 32: De, 42: Se, 58: Fe, 73: _e, 77: [1, 124], 78: [1, 125], 80: 135, 81: Be, 82: ve, 83: we, 84: $e, 85: Le, 86: Ie, 87: Re, 88: 123, 102: Ne, 106: Pe, 108: Oe, 111: Me, 112: Ge, 113: Ve }, e(ie, A, { 5: 148 }), e(T, [2, 37]), e(T, [2, 38]), e(Q1, [2, 45], { 42: Ue }), { 42: m, 45: 150, 58: S, 86: _, 99: B, 102: v, 103: w, 106: $, 108: L, 110: 41, 111: I, 112: R, 113: N }, { 99: [1, 151], 100: 152, 102: [1, 153] }, { 42: m, 45: 154, 58: S, 86: _, 99: B, 102: v, 103: w, 106: $, 108: L, 110: 41, 111: I, 112: R, 113: N }, { 42: m, 45: 155, 58: S, 86: _, 99: B, 102: v, 103: w, 106: $, 108: L, 110: 41, 111: I, 112: R, 113: N }, e(D, [2, 100], { 10: [1, 156], 93: [1, 157] }), { 77: [1, 158] }, e(D, [2, 108], { 117: 160, 10: [1, 159], 14: x1, 42: C1, 58: D1, 86: S1, 102: F1, 103: _1, 106: B1, 108: v1, 111: w1, 112: $1, 113: L1 }), e(D, [2, 110], { 10: [1, 161] }), e(z, [2, 176]), e(z, [2, 163]), e(z, [2, 164]), e(z, [2, 165]), e(z, [2, 166]), e(z, [2, 167]), e(z, [2, 168]), e(z, [2, 169]), e(z, [2, 170]), e(z, [2, 171]), e(z, [2, 172]), e(z, [2, 173]), { 42: m, 45: 162, 58: S, 86: _, 99: B, 102: v, 103: w, 106: $, 108: L, 110: 41, 111: I, 112: R, 113: N }, { 30: 163, 65: g, 77: M, 78: G, 79: 164, 113: f, 114: y, 115: k }, { 30: 171, 65: g, 77: M, 78: G, 79: 164, 113: f, 114: y, 115: k }, { 30: 173, 48: [1, 172], 65: g, 77: M, 78: G, 79: 164, 113: f, 114: y, 115: k }, { 30: 174, 65: g, 77: M, 78: G, 79: 164, 113: f, 114: y, 115: k }, { 30: 175, 65: g, 77: M, 78: G, 79: 164, 113: f, 114: y, 115: k }, { 30: 176, 65: g, 77: M, 78: G, 79: 164, 113: f, 114: y, 115: k }, { 106: [1, 177] }, { 30: 178, 65: g, 77: M, 78: G, 79: 164, 113: f, 114: y, 115: k }, { 30: 179, 63: [1, 180], 65: g, 77: M, 78: G, 79: 164, 113: f, 114: y, 115: k }, { 30: 181, 65: g, 77: M, 78: G, 79: 164, 113: f, 114: y, 115: k }, { 30: 182, 65: g, 77: M, 78: G, 79: 164, 113: f, 114: y, 115: k }, { 30: 183, 65: g, 77: M, 78: G, 79: 164, 113: f, 114: y, 115: k }, e(K, [2, 175]), e(o, [2, 20]), e(ke, [2, 25]), e(Q1, [2, 43], { 18: 184, 10: M1 }), e(G1, [2, 68], { 10: [1, 185] }), { 10: [1, 186] }, { 30: 187, 65: g, 77: M, 78: G, 79: 164, 113: f, 114: y, 115: k }, { 75: [1, 188], 76: 189, 113: be, 116: Ee }, e(I1, [2, 73]), e(I1, [2, 75]), e(I1, [2, 76]), e(I1, [2, 161]), e(I1, [2, 162]), { 8: s1, 9: r1, 10: me, 11: u1, 12: Te, 14: xe, 21: 191, 27: Ce, 29: [1, 190], 32: De, 42: Se, 58: Fe, 73: _e, 80: 135, 81: Be, 82: ve, 83: we, 84: $e, 85: Le, 86: Ie, 87: Re, 88: 192, 102: Ne, 106: Pe, 108: Oe, 111: Me, 112: Ge, 113: Ve }, e(x, [2, 94]), e(x, [2, 96]), e(x, [2, 97]), e(x, [2, 150]), e(x, [2, 151]), e(x, [2, 152]), e(x, [2, 153]), e(x, [2, 154]), e(x, [2, 155]), e(x, [2, 156]), e(x, [2, 157]), e(x, [2, 158]), e(x, [2, 159]), e(x, [2, 160]), e(x, [2, 83]), e(x, [2, 84]), e(x, [2, 85]), e(x, [2, 86]), e(x, [2, 87]), e(x, [2, 88]), e(x, [2, 89]), e(x, [2, 90]), e(x, [2, 91]), e(x, [2, 92]), e(x, [2, 93]), { 6: 11, 7: 12, 8: d, 9: c, 10: h, 11: b, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: C, 32: [1, 193], 33: 24, 34: V, 36: Z, 38: O, 40: 28, 41: 38, 42: m, 43: 39, 45: 40, 58: S, 81: q, 82: y1, 83: k1, 84: b1, 85: W1, 86: _, 99: B, 102: v, 103: w, 106: $, 108: L, 110: 41, 111: I, 112: R, 113: N, 118: j1, 119: K1, 120: z1, 121: Y1 }, { 10: M1, 18: 194 }, { 10: [1, 195], 42: m, 58: S, 86: _, 99: B, 102: v, 103: w, 106: $, 108: L, 110: 109, 111: I, 112: R, 113: N }, { 10: [1, 196] }, { 10: [1, 197], 103: [1, 198] }, e(We, [2, 121]), { 10: [1, 199], 42: m, 58: S, 86: _, 99: B, 102: v, 103: w, 106: $, 108: L, 110: 109, 111: I, 112: R, 113: N }, { 10: [1, 200], 42: m, 58: S, 86: _, 99: B, 102: v, 103: w, 106: $, 108: L, 110: 109, 111: I, 112: R, 113: N }, { 77: [1, 201] }, e(D, [2, 102], { 10: [1, 202] }), e(D, [2, 104], { 10: [1, 203] }), { 77: [1, 204] }, e(z, [2, 177]), { 77: [1, 205], 95: [1, 206] }, e(X1, [2, 50], { 110: 109, 42: m, 58: S, 86: _, 99: B, 102: v, 103: w, 106: $, 108: L, 111: I, 112: R, 113: N }), { 31: [1, 207], 65: g, 79: 208, 113: f, 114: y, 115: k }, e(g1, [2, 79]), e(g1, [2, 81]), e(g1, [2, 82]), e(g1, [2, 146]), e(g1, [2, 147]), e(g1, [2, 148]), e(g1, [2, 149]), { 47: [1, 209], 65: g, 79: 208, 113: f, 114: y, 115: k }, { 30: 210, 65: g, 77: M, 78: G, 79: 164, 113: f, 114: y, 115: k }, { 49: [1, 211], 65: g, 79: 208, 113: f, 114: y, 115: k }, { 51: [1, 212], 65: g, 79: 208, 113: f, 114: y, 115: k }, { 53: [1, 213], 65: g, 79: 208, 113: f, 114: y, 115: k }, { 55: [1, 214], 65: g, 79: 208, 113: f, 114: y, 115: k }, { 58: [1, 215] }, { 62: [1, 216], 65: g, 79: 208, 113: f, 114: y, 115: k }, { 64: [1, 217], 65: g, 79: 208, 113: f, 114: y, 115: k }, { 30: 218, 65: g, 77: M, 78: G, 79: 164, 113: f, 114: y, 115: k }, { 31: [1, 219], 65: g, 79: 208, 113: f, 114: y, 115: k }, { 65: g, 67: [1, 220], 69: [1, 221], 79: 208, 113: f, 114: y, 115: k }, { 65: g, 67: [1, 223], 69: [1, 222], 79: 208, 113: f, 114: y, 115: k }, e(Q1, [2, 44], { 42: Ue }), e(G1, [2, 70]), e(G1, [2, 69]), { 60: [1, 224], 65: g, 79: 208, 113: f, 114: y, 115: k }, e(G1, [2, 72]), e(I1, [2, 74]), { 30: 225, 65: g, 77: M, 78: G, 79: 164, 113: f, 114: y, 115: k }, e(ie, A, { 5: 226 }), e(x, [2, 95]), e(T, [2, 35]), { 41: 227, 42: m, 43: 39, 45: 40, 58: S, 86: _, 99: B, 102: v, 103: w, 106: $, 108: L, 110: 41, 111: I, 112: R, 113: N }, { 10: i1, 58: n1, 81: a1, 89: 228, 102: o1, 104: 229, 105: 230, 106: l1, 107: c1, 108: h1, 109: d1 }, { 10: i1, 58: n1, 81: a1, 89: 239, 101: [1, 240], 102: o1, 104: 229, 105: 230, 106: l1, 107: c1, 108: h1, 109: d1 }, { 10: i1, 58: n1, 81: a1, 89: 241, 101: [1, 242], 102: o1, 104: 229, 105: 230, 106: l1, 107: c1, 108: h1, 109: d1 }, { 102: [1, 243] }, { 10: i1, 58: n1, 81: a1, 89: 244, 102: o1, 104: 229, 105: 230, 106: l1, 107: c1, 108: h1, 109: d1 }, { 42: m, 45: 245, 58: S, 86: _, 99: B, 102: v, 103: w, 106: $, 108: L, 110: 41, 111: I, 112: R, 113: N }, e(D, [2, 101]), { 77: [1, 246] }, { 77: [1, 247], 95: [1, 248] }, e(D, [2, 109]), e(D, [2, 111], { 10: [1, 249] }), e(D, [2, 112]), e(P, [2, 51]), e(g1, [2, 80]), e(P, [2, 52]), { 49: [1, 250], 65: g, 79: 208, 113: f, 114: y, 115: k }, e(P, [2, 59]), e(P, [2, 54]), e(P, [2, 55]), e(P, [2, 56]), { 106: [1, 251] }, e(P, [2, 58]), e(P, [2, 60]), { 64: [1, 252], 65: g, 79: 208, 113: f, 114: y, 115: k }, e(P, [2, 62]), e(P, [2, 63]), e(P, [2, 65]), e(P, [2, 64]), e(P, [2, 66]), e([10, 42, 58, 86, 99, 102, 103, 106, 108, 111, 112, 113], [2, 78]), { 31: [1, 253], 65: g, 79: 208, 113: f, 114: y, 115: k }, { 6: 11, 7: 12, 8: d, 9: c, 10: h, 11: b, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: C, 32: [1, 254], 33: 24, 34: V, 36: Z, 38: O, 40: 28, 41: 38, 42: m, 43: 39, 45: 40, 58: S, 81: q, 82: y1, 83: k1, 84: b1, 85: W1, 86: _, 99: B, 102: v, 103: w, 106: $, 108: L, 110: 41, 111: I, 112: R, 113: N, 118: j1, 119: K1, 120: z1, 121: Y1 }, e(X1, [2, 48]), e(D, [2, 114], { 103: R1 }), e(je, [2, 123], { 105: 256, 10: i1, 58: n1, 81: a1, 102: o1, 106: l1, 107: c1, 108: h1, 109: d1 }), e(J, [2, 125]), e(J, [2, 127]), e(J, [2, 128]), e(J, [2, 129]), e(J, [2, 130]), e(J, [2, 131]), e(J, [2, 132]), e(J, [2, 133]), e(J, [2, 134]), e(D, [2, 115], { 103: R1 }), { 10: [1, 257] }, e(D, [2, 116], { 103: R1 }), { 10: [1, 258] }, e(We, [2, 122]), e(D, [2, 98], { 103: R1 }), e(D, [2, 99], { 110: 109, 42: m, 58: S, 86: _, 99: B, 102: v, 103: w, 106: $, 108: L, 111: I, 112: R, 113: N }), e(D, [2, 103]), e(D, [2, 105], { 10: [1, 259] }), e(D, [2, 106]), { 95: [1, 260] }, { 49: [1, 261] }, { 60: [1, 262] }, { 64: [1, 263] }, { 8: s1, 9: r1, 11: u1, 21: 264 }, e(T, [2, 34]), { 10: i1, 58: n1, 81: a1, 102: o1, 104: 265, 105: 230, 106: l1, 107: c1, 108: h1, 109: d1 }, e(J, [2, 126]), { 14: x1, 42: C1, 58: D1, 86: S1, 98: 266, 102: F1, 103: _1, 106: B1, 108: v1, 111: w1, 112: $1, 113: L1, 117: 84 }, { 14: x1, 42: C1, 58: D1, 86: S1, 98: 267, 102: F1, 103: _1, 106: B1, 108: v1, 111: w1, 112: $1, 113: L1, 117: 84 }, { 95: [1, 268] }, e(D, [2, 113]), e(P, [2, 53]), { 30: 269, 65: g, 77: M, 78: G, 79: 164, 113: f, 114: y, 115: k }, e(P, [2, 61]), e(ie, A, { 5: 270 }), e(je, [2, 124], { 105: 256, 10: i1, 58: n1, 81: a1, 102: o1, 106: l1, 107: c1, 108: h1, 109: d1 }), e(D, [2, 119], { 117: 160, 10: [1, 271], 14: x1, 42: C1, 58: D1, 86: S1, 102: F1, 103: _1, 106: B1, 108: v1, 111: w1, 112: $1, 113: L1 }), e(D, [2, 120], { 117: 160, 10: [1, 272], 14: x1, 42: C1, 58: D1, 86: S1, 102: F1, 103: _1, 106: B1, 108: v1, 111: w1, 112: $1, 113: L1 }), e(D, [2, 107]), { 31: [1, 273], 65: g, 79: 208, 113: f, 114: y, 115: k }, { 6: 11, 7: 12, 8: d, 9: c, 10: h, 11: b, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: C, 32: [1, 274], 33: 24, 34: V, 36: Z, 38: O, 40: 28, 41: 38, 42: m, 43: 39, 45: 40, 58: S, 81: q, 82: y1, 83: k1, 84: b1, 85: W1, 86: _, 99: B, 102: v, 103: w, 106: $, 108: L, 110: 41, 111: I, 112: R, 113: N, 118: j1, 119: K1, 120: z1, 121: Y1 }, { 10: i1, 58: n1, 81: a1, 89: 275, 102: o1, 104: 229, 105: 230, 106: l1, 107: c1, 108: h1, 109: d1 }, { 10: i1, 58: n1, 81: a1, 89: 276, 102: o1, 104: 229, 105: 230, 106: l1, 107: c1, 108: h1, 109: d1 }, e(P, [2, 57]), e(T, [2, 33]), e(D, [2, 117], { 103: R1 }), e(D, [2, 118], { 103: R1 })],
746
- defaultActions: {},
747
- parseError: /* @__PURE__ */ a(function(e1, l) {
748
- if (l.recoverable)
749
- this.trace(e1);
750
- else {
751
- var p = new Error(e1);
752
- throw p.hash = l, p;
753
- }
754
- }, "parseError"),
755
- parse: /* @__PURE__ */ a(function(e1) {
756
- var l = this, p = [0], n = [], E = [null], t = [], U = this.table, s = "", Q = 0, Ke = 0, ot = 2, ze = 1, lt = t.slice.call(arguments, 1), F = Object.create(this.lexer), E1 = { yy: {} };
757
- for (var ae in this.yy)
758
- Object.prototype.hasOwnProperty.call(this.yy, ae) && (E1.yy[ae] = this.yy[ae]);
759
- F.setInput(e1, E1.yy), E1.yy.lexer = F, E1.yy.parser = this, typeof F.yylloc > "u" && (F.yylloc = {});
760
- var oe = F.yylloc;
761
- t.push(oe);
762
- var ct = F.options && F.options.ranges;
763
- typeof E1.yy.parseError == "function" ? this.parseError = E1.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
764
- function ht(Y) {
765
- p.length = p.length - 2 * Y, E.length = E.length - Y, t.length = t.length - Y;
766
- }
767
- a(ht, "popStack");
768
- function Ye() {
769
- var Y;
770
- return Y = n.pop() || F.lex() || ze, typeof Y != "number" && (Y instanceof Array && (n = Y, Y = n.pop()), Y = l.symbols_[Y] || Y), Y;
771
- }
772
- a(Ye, "lex");
773
- for (var W, m1, X, le, N1 = {}, Z1, p1, Qe, q1; ; ) {
774
- if (m1 = p[p.length - 1], this.defaultActions[m1] ? X = this.defaultActions[m1] : ((W === null || typeof W > "u") && (W = Ye()), X = U[m1] && U[m1][W]), typeof X > "u" || !X.length || !X[0]) {
775
- var ce = "";
776
- q1 = [];
777
- for (Z1 in U[m1])
778
- this.terminals_[Z1] && Z1 > ot && q1.push("'" + this.terminals_[Z1] + "'");
779
- F.showPosition ? ce = "Parse error on line " + (Q + 1) + `:
780
- ` + F.showPosition() + `
781
- Expecting ` + q1.join(", ") + ", got '" + (this.terminals_[W] || W) + "'" : ce = "Parse error on line " + (Q + 1) + ": Unexpected " + (W == ze ? "end of input" : "'" + (this.terminals_[W] || W) + "'"), this.parseError(ce, {
782
- text: F.match,
783
- token: this.terminals_[W] || W,
784
- line: F.yylineno,
785
- loc: oe,
786
- expected: q1
787
- });
788
- }
789
- if (X[0] instanceof Array && X.length > 1)
790
- throw new Error("Parse Error: multiple actions possible at state: " + m1 + ", token: " + W);
791
- switch (X[0]) {
792
- case 1:
793
- p.push(W), E.push(F.yytext), t.push(F.yylloc), p.push(X[1]), W = null, Ke = F.yyleng, s = F.yytext, Q = F.yylineno, oe = F.yylloc;
794
- break;
795
- case 2:
796
- if (p1 = this.productions_[X[1]][1], N1.$ = E[E.length - p1], N1._$ = {
797
- first_line: t[t.length - (p1 || 1)].first_line,
798
- last_line: t[t.length - 1].last_line,
799
- first_column: t[t.length - (p1 || 1)].first_column,
800
- last_column: t[t.length - 1].last_column
801
- }, ct && (N1._$.range = [
802
- t[t.length - (p1 || 1)].range[0],
803
- t[t.length - 1].range[1]
804
- ]), le = this.performAction.apply(N1, [
805
- s,
806
- Ke,
807
- Q,
808
- E1.yy,
809
- X[1],
810
- E,
811
- t
812
- ].concat(lt)), typeof le < "u")
813
- return le;
814
- p1 && (p = p.slice(0, -1 * p1 * 2), E = E.slice(0, -1 * p1), t = t.slice(0, -1 * p1)), p.push(this.productions_[X[1]][0]), E.push(N1.$), t.push(N1._$), Qe = U[p[p.length - 2]][p[p.length - 1]], p.push(Qe);
815
- break;
816
- case 3:
817
- return !0;
818
- }
819
- }
820
- return !0;
821
- }, "parse")
822
- }, at = /* @__PURE__ */ function() {
823
- var e1 = {
824
- EOF: 1,
825
- parseError: /* @__PURE__ */ a(function(l, p) {
826
- if (this.yy.parser)
827
- this.yy.parser.parseError(l, p);
828
- else
829
- throw new Error(l);
830
- }, "parseError"),
831
- // resets the lexer, sets new input
832
- setInput: /* @__PURE__ */ a(function(l, p) {
833
- return this.yy = p || this.yy || {}, this._input = l, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
834
- first_line: 1,
835
- first_column: 0,
836
- last_line: 1,
837
- last_column: 0
838
- }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
839
- }, "setInput"),
840
- // consumes and returns one char from the input
841
- input: /* @__PURE__ */ a(function() {
842
- var l = this._input[0];
843
- this.yytext += l, this.yyleng++, this.offset++, this.match += l, this.matched += l;
844
- var p = l.match(/(?:\r\n?|\n).*/g);
845
- return p ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), l;
846
- }, "input"),
847
- // unshifts one char (or a string) into the input
848
- unput: /* @__PURE__ */ a(function(l) {
849
- var p = l.length, n = l.split(/(?:\r\n?|\n)/g);
850
- this._input = l + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - p), this.offset -= p;
851
- var E = this.match.split(/(?:\r\n?|\n)/g);
852
- this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), n.length - 1 && (this.yylineno -= n.length - 1);
853
- var t = this.yylloc.range;
854
- return this.yylloc = {
855
- first_line: this.yylloc.first_line,
856
- last_line: this.yylineno + 1,
857
- first_column: this.yylloc.first_column,
858
- last_column: n ? (n.length === E.length ? this.yylloc.first_column : 0) + E[E.length - n.length].length - n[0].length : this.yylloc.first_column - p
859
- }, this.options.ranges && (this.yylloc.range = [t[0], t[0] + this.yyleng - p]), this.yyleng = this.yytext.length, this;
860
- }, "unput"),
861
- // When called from action, caches matched text and appends it on next action
862
- more: /* @__PURE__ */ a(function() {
863
- return this._more = !0, this;
864
- }, "more"),
865
- // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
866
- reject: /* @__PURE__ */ a(function() {
867
- if (this.options.backtrack_lexer)
868
- this._backtrack = !0;
869
- else
870
- return this.parseError("Lexical error on line " + (this.yylineno + 1) + `. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
871
- ` + this.showPosition(), {
872
- text: "",
873
- token: null,
874
- line: this.yylineno
875
- });
876
- return this;
877
- }, "reject"),
878
- // retain first n characters of the match
879
- less: /* @__PURE__ */ a(function(l) {
880
- this.unput(this.match.slice(l));
881
- }, "less"),
882
- // displays already matched input, i.e. for error messages
883
- pastInput: /* @__PURE__ */ a(function() {
884
- var l = this.matched.substr(0, this.matched.length - this.match.length);
885
- return (l.length > 20 ? "..." : "") + l.substr(-20).replace(/\n/g, "");
886
- }, "pastInput"),
887
- // displays upcoming input, i.e. for error messages
888
- upcomingInput: /* @__PURE__ */ a(function() {
889
- var l = this.match;
890
- return l.length < 20 && (l += this._input.substr(0, 20 - l.length)), (l.substr(0, 20) + (l.length > 20 ? "..." : "")).replace(/\n/g, "");
891
- }, "upcomingInput"),
892
- // displays the character position where the lexing error occurred, i.e. for error messages
893
- showPosition: /* @__PURE__ */ a(function() {
894
- var l = this.pastInput(), p = new Array(l.length + 1).join("-");
895
- return l + this.upcomingInput() + `
896
- ` + p + "^";
897
- }, "showPosition"),
898
- // test the lexed token: return FALSE when not a match, otherwise return token
899
- test_match: /* @__PURE__ */ a(function(l, p) {
900
- var n, E, t;
901
- if (this.options.backtrack_lexer && (t = {
902
- yylineno: this.yylineno,
903
- yylloc: {
904
- first_line: this.yylloc.first_line,
905
- last_line: this.last_line,
906
- first_column: this.yylloc.first_column,
907
- last_column: this.yylloc.last_column
908
- },
909
- yytext: this.yytext,
910
- match: this.match,
911
- matches: this.matches,
912
- matched: this.matched,
913
- yyleng: this.yyleng,
914
- offset: this.offset,
915
- _more: this._more,
916
- _input: this._input,
917
- yy: this.yy,
918
- conditionStack: this.conditionStack.slice(0),
919
- done: this.done
920
- }, this.options.ranges && (t.yylloc.range = this.yylloc.range.slice(0))), E = l[0].match(/(?:\r\n?|\n).*/g), E && (this.yylineno += E.length), this.yylloc = {
921
- first_line: this.yylloc.last_line,
922
- last_line: this.yylineno + 1,
923
- first_column: this.yylloc.last_column,
924
- last_column: E ? E[E.length - 1].length - E[E.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + l[0].length
925
- }, this.yytext += l[0], this.match += l[0], this.matches = l, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(l[0].length), this.matched += l[0], n = this.performAction.call(this, this.yy, this, p, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n)
926
- return n;
927
- if (this._backtrack) {
928
- for (var U in t)
929
- this[U] = t[U];
930
- return !1;
931
- }
932
- return !1;
933
- }, "test_match"),
934
- // return next match in input
935
- next: /* @__PURE__ */ a(function() {
936
- if (this.done)
937
- return this.EOF;
938
- this._input || (this.done = !0);
939
- var l, p, n, E;
940
- this._more || (this.yytext = "", this.match = "");
941
- for (var t = this._currentRules(), U = 0; U < t.length; U++)
942
- if (n = this._input.match(this.rules[t[U]]), n && (!p || n[0].length > p[0].length)) {
943
- if (p = n, E = U, this.options.backtrack_lexer) {
944
- if (l = this.test_match(n, t[U]), l !== !1)
945
- return l;
946
- if (this._backtrack) {
947
- p = !1;
948
- continue;
949
- } else
950
- return !1;
951
- } else if (!this.options.flex)
952
- break;
953
- }
954
- return p ? (l = this.test_match(p, t[E]), l !== !1 ? l : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
955
- ` + this.showPosition(), {
956
- text: "",
957
- token: null,
958
- line: this.yylineno
959
- });
960
- }, "next"),
961
- // return next match that has a token
962
- lex: /* @__PURE__ */ a(function() {
963
- var l = this.next();
964
- return l || this.lex();
965
- }, "lex"),
966
- // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
967
- begin: /* @__PURE__ */ a(function(l) {
968
- this.conditionStack.push(l);
969
- }, "begin"),
970
- // pop the previously active lexer condition state off the condition stack
971
- popState: /* @__PURE__ */ a(function() {
972
- var l = this.conditionStack.length - 1;
973
- return l > 0 ? this.conditionStack.pop() : this.conditionStack[0];
974
- }, "popState"),
975
- // produce the lexer rule set which is active for the currently active lexer condition state
976
- _currentRules: /* @__PURE__ */ a(function() {
977
- return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
978
- }, "_currentRules"),
979
- // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
980
- topState: /* @__PURE__ */ a(function(l) {
981
- return l = this.conditionStack.length - 1 - Math.abs(l || 0), l >= 0 ? this.conditionStack[l] : "INITIAL";
982
- }, "topState"),
983
- // alias for begin(condition)
984
- pushState: /* @__PURE__ */ a(function(l) {
985
- this.begin(l);
986
- }, "pushState"),
987
- // return the number of states currently on the stack
988
- stateStackSize: /* @__PURE__ */ a(function() {
989
- return this.conditionStack.length;
990
- }, "stateStackSize"),
991
- options: {},
992
- performAction: /* @__PURE__ */ a(function(l, p, n, E) {
993
- switch (n) {
994
- case 0:
995
- return this.begin("acc_title"), 34;
996
- case 1:
997
- return this.popState(), "acc_title_value";
998
- case 2:
999
- return this.begin("acc_descr"), 36;
1000
- case 3:
1001
- return this.popState(), "acc_descr_value";
1002
- case 4:
1003
- this.begin("acc_descr_multiline");
1004
- break;
1005
- case 5:
1006
- this.popState();
1007
- break;
1008
- case 6:
1009
- return "acc_descr_multiline_value";
1010
- case 7:
1011
- this.begin("callbackname");
1012
- break;
1013
- case 8:
1014
- this.popState();
1015
- break;
1016
- case 9:
1017
- this.popState(), this.begin("callbackargs");
1018
- break;
1019
- case 10:
1020
- return 92;
1021
- case 11:
1022
- this.popState();
1023
- break;
1024
- case 12:
1025
- return 93;
1026
- case 13:
1027
- return "MD_STR";
1028
- case 14:
1029
- this.popState();
1030
- break;
1031
- case 15:
1032
- this.begin("md_string");
1033
- break;
1034
- case 16:
1035
- return "STR";
1036
- case 17:
1037
- this.popState();
1038
- break;
1039
- case 18:
1040
- this.pushState("string");
1041
- break;
1042
- case 19:
1043
- return 81;
1044
- case 20:
1045
- return 99;
1046
- case 21:
1047
- return 82;
1048
- case 22:
1049
- return 101;
1050
- case 23:
1051
- return 83;
1052
- case 24:
1053
- return 84;
1054
- case 25:
1055
- return 94;
1056
- case 26:
1057
- this.begin("click");
1058
- break;
1059
- case 27:
1060
- this.popState();
1061
- break;
1062
- case 28:
1063
- return 85;
1064
- case 29:
1065
- return l.lex.firstGraph() && this.begin("dir"), 12;
1066
- case 30:
1067
- return l.lex.firstGraph() && this.begin("dir"), 12;
1068
- case 31:
1069
- return l.lex.firstGraph() && this.begin("dir"), 12;
1070
- case 32:
1071
- return 27;
1072
- case 33:
1073
- return 32;
1074
- case 34:
1075
- return 95;
1076
- case 35:
1077
- return 95;
1078
- case 36:
1079
- return 95;
1080
- case 37:
1081
- return 95;
1082
- case 38:
1083
- return this.popState(), 13;
1084
- case 39:
1085
- return this.popState(), 14;
1086
- case 40:
1087
- return this.popState(), 14;
1088
- case 41:
1089
- return this.popState(), 14;
1090
- case 42:
1091
- return this.popState(), 14;
1092
- case 43:
1093
- return this.popState(), 14;
1094
- case 44:
1095
- return this.popState(), 14;
1096
- case 45:
1097
- return this.popState(), 14;
1098
- case 46:
1099
- return this.popState(), 14;
1100
- case 47:
1101
- return this.popState(), 14;
1102
- case 48:
1103
- return this.popState(), 14;
1104
- case 49:
1105
- return 118;
1106
- case 50:
1107
- return 119;
1108
- case 51:
1109
- return 120;
1110
- case 52:
1111
- return 121;
1112
- case 53:
1113
- return 102;
1114
- case 54:
1115
- return 108;
1116
- case 55:
1117
- return 44;
1118
- case 56:
1119
- return 58;
1120
- case 57:
1121
- return 42;
1122
- case 58:
1123
- return 8;
1124
- case 59:
1125
- return 103;
1126
- case 60:
1127
- return 112;
1128
- case 61:
1129
- return this.popState(), 75;
1130
- case 62:
1131
- return this.pushState("edgeText"), 73;
1132
- case 63:
1133
- return 116;
1134
- case 64:
1135
- return this.popState(), 75;
1136
- case 65:
1137
- return this.pushState("thickEdgeText"), 73;
1138
- case 66:
1139
- return 116;
1140
- case 67:
1141
- return this.popState(), 75;
1142
- case 68:
1143
- return this.pushState("dottedEdgeText"), 73;
1144
- case 69:
1145
- return 116;
1146
- case 70:
1147
- return 75;
1148
- case 71:
1149
- return this.popState(), 51;
1150
- case 72:
1151
- return "TEXT";
1152
- case 73:
1153
- return this.pushState("ellipseText"), 50;
1154
- case 74:
1155
- return this.popState(), 53;
1156
- case 75:
1157
- return this.pushState("text"), 52;
1158
- case 76:
1159
- return this.popState(), 55;
1160
- case 77:
1161
- return this.pushState("text"), 54;
1162
- case 78:
1163
- return 56;
1164
- case 79:
1165
- return this.pushState("text"), 65;
1166
- case 80:
1167
- return this.popState(), 62;
1168
- case 81:
1169
- return this.pushState("text"), 61;
1170
- case 82:
1171
- return this.popState(), 47;
1172
- case 83:
1173
- return this.pushState("text"), 46;
1174
- case 84:
1175
- return this.popState(), 67;
1176
- case 85:
1177
- return this.popState(), 69;
1178
- case 86:
1179
- return 114;
1180
- case 87:
1181
- return this.pushState("trapText"), 66;
1182
- case 88:
1183
- return this.pushState("trapText"), 68;
1184
- case 89:
1185
- return 115;
1186
- case 90:
1187
- return 65;
1188
- case 91:
1189
- return 87;
1190
- case 92:
1191
- return "SEP";
1192
- case 93:
1193
- return 86;
1194
- case 94:
1195
- return 112;
1196
- case 95:
1197
- return 108;
1198
- case 96:
1199
- return 42;
1200
- case 97:
1201
- return 106;
1202
- case 98:
1203
- return 111;
1204
- case 99:
1205
- return 113;
1206
- case 100:
1207
- return this.popState(), 60;
1208
- case 101:
1209
- return this.pushState("text"), 60;
1210
- case 102:
1211
- return this.popState(), 49;
1212
- case 103:
1213
- return this.pushState("text"), 48;
1214
- case 104:
1215
- return this.popState(), 31;
1216
- case 105:
1217
- return this.pushState("text"), 29;
1218
- case 106:
1219
- return this.popState(), 64;
1220
- case 107:
1221
- return this.pushState("text"), 63;
1222
- case 108:
1223
- return "TEXT";
1224
- case 109:
1225
- return "QUOTE";
1226
- case 110:
1227
- return 9;
1228
- case 111:
1229
- return 10;
1230
- case 112:
1231
- return 11;
1232
- }
1233
- }, "anonymous"),
1234
- rules: [/^(?:accTitle\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*\{\s*)/, /^(?:[\}])/, /^(?:[^\}]*)/, /^(?:call[\s]+)/, /^(?:\([\s]*\))/, /^(?:\()/, /^(?:[^(]*)/, /^(?:\))/, /^(?:[^)]*)/, /^(?:[^`"]+)/, /^(?:[`]["])/, /^(?:["][`])/, /^(?:[^"]+)/, /^(?:["])/, /^(?:["])/, /^(?:style\b)/, /^(?:default\b)/, /^(?:linkStyle\b)/, /^(?:interpolate\b)/, /^(?:classDef\b)/, /^(?:class\b)/, /^(?:href[\s])/, /^(?:click[\s]+)/, /^(?:[\s\n])/, /^(?:[^\s\n]*)/, /^(?:flowchart-elk\b)/, /^(?:graph\b)/, /^(?:flowchart\b)/, /^(?:subgraph\b)/, /^(?:end\b\s*)/, /^(?:_self\b)/, /^(?:_blank\b)/, /^(?:_parent\b)/, /^(?:_top\b)/, /^(?:(\r?\n)*\s*\n)/, /^(?:\s*LR\b)/, /^(?:\s*RL\b)/, /^(?:\s*TB\b)/, /^(?:\s*BT\b)/, /^(?:\s*TD\b)/, /^(?:\s*BR\b)/, /^(?:\s*<)/, /^(?:\s*>)/, /^(?:\s*\^)/, /^(?:\s*v\b)/, /^(?:.*direction\s+TB[^\n]*)/, /^(?:.*direction\s+BT[^\n]*)/, /^(?:.*direction\s+RL[^\n]*)/, /^(?:.*direction\s+LR[^\n]*)/, /^(?:[0-9]+)/, /^(?:#)/, /^(?::::)/, /^(?::)/, /^(?:&)/, /^(?:;)/, /^(?:,)/, /^(?:\*)/, /^(?:\s*[xo<]?--+[-xo>]\s*)/, /^(?:\s*[xo<]?--\s*)/, /^(?:[^-]|-(?!-)+)/, /^(?:\s*[xo<]?==+[=xo>]\s*)/, /^(?:\s*[xo<]?==\s*)/, /^(?:[^=]|=(?!))/, /^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/, /^(?:\s*[xo<]?-\.\s*)/, /^(?:[^\.]|\.(?!))/, /^(?:\s*~~[\~]+\s*)/, /^(?:[-/\)][\)])/, /^(?:[^\(\)\[\]\{\}]|!\)+)/, /^(?:\(-)/, /^(?:\]\))/, /^(?:\(\[)/, /^(?:\]\])/, /^(?:\[\[)/, /^(?:\[\|)/, /^(?:>)/, /^(?:\)\])/, /^(?:\[\()/, /^(?:\)\)\))/, /^(?:\(\(\()/, /^(?:[\\(?=\])][\]])/, /^(?:\/(?=\])\])/, /^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/, /^(?:\[\/)/, /^(?:\[\\)/, /^(?:<)/, /^(?:>)/, /^(?:\^)/, /^(?:\\\|)/, /^(?:v\b)/, /^(?:\*)/, /^(?:#)/, /^(?:&)/, /^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/, /^(?:-)/, /^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/, /^(?:\|)/, /^(?:\|)/, /^(?:\))/, /^(?:\()/, /^(?:\])/, /^(?:\[)/, /^(?:(\}))/, /^(?:\{)/, /^(?:[^\[\]\(\)\{\}\|\"]+)/, /^(?:")/, /^(?:(\r?\n)+)/, /^(?:\s)/, /^(?:$)/],
1235
- conditions: { callbackargs: { rules: [11, 12, 15, 18, 70, 73, 75, 77, 81, 83, 87, 88, 101, 103, 105, 107], inclusive: !1 }, callbackname: { rules: [8, 9, 10, 15, 18, 70, 73, 75, 77, 81, 83, 87, 88, 101, 103, 105, 107], inclusive: !1 }, href: { rules: [15, 18, 70, 73, 75, 77, 81, 83, 87, 88, 101, 103, 105, 107], inclusive: !1 }, click: { rules: [15, 18, 27, 28, 70, 73, 75, 77, 81, 83, 87, 88, 101, 103, 105, 107], inclusive: !1 }, dottedEdgeText: { rules: [15, 18, 67, 69, 70, 73, 75, 77, 81, 83, 87, 88, 101, 103, 105, 107], inclusive: !1 }, thickEdgeText: { rules: [15, 18, 64, 66, 70, 73, 75, 77, 81, 83, 87, 88, 101, 103, 105, 107], inclusive: !1 }, edgeText: { rules: [15, 18, 61, 63, 70, 73, 75, 77, 81, 83, 87, 88, 101, 103, 105, 107], inclusive: !1 }, trapText: { rules: [15, 18, 70, 73, 75, 77, 81, 83, 84, 85, 86, 87, 88, 101, 103, 105, 107], inclusive: !1 }, ellipseText: { rules: [15, 18, 70, 71, 72, 73, 75, 77, 81, 83, 87, 88, 101, 103, 105, 107], inclusive: !1 }, text: { rules: [15, 18, 70, 73, 74, 75, 76, 77, 80, 81, 82, 83, 87, 88, 100, 101, 102, 103, 104, 105, 106, 107, 108], inclusive: !1 }, vertex: { rules: [15, 18, 70, 73, 75, 77, 81, 83, 87, 88, 101, 103, 105, 107], inclusive: !1 }, dir: { rules: [15, 18, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 70, 73, 75, 77, 81, 83, 87, 88, 101, 103, 105, 107], inclusive: !1 }, acc_descr_multiline: { rules: [5, 6, 15, 18, 70, 73, 75, 77, 81, 83, 87, 88, 101, 103, 105, 107], inclusive: !1 }, acc_descr: { rules: [3, 15, 18, 70, 73, 75, 77, 81, 83, 87, 88, 101, 103, 105, 107], inclusive: !1 }, acc_title: { rules: [1, 15, 18, 70, 73, 75, 77, 81, 83, 87, 88, 101, 103, 105, 107], inclusive: !1 }, md_string: { rules: [13, 14, 15, 18, 70, 73, 75, 77, 81, 83, 87, 88, 101, 103, 105, 107], inclusive: !1 }, string: { rules: [15, 16, 17, 18, 70, 73, 75, 77, 81, 83, 87, 88, 101, 103, 105, 107], inclusive: !1 }, INITIAL: { rules: [0, 2, 4, 7, 15, 18, 19, 20, 21, 22, 23, 24, 25, 26, 29, 30, 31, 32, 33, 34, 35, 36, 37, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 64, 65, 67, 68, 70, 73, 75, 77, 78, 79, 81, 83, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 101, 103, 105, 107, 109, 110, 111, 112], inclusive: !0 } }
1236
- };
1237
- return e1;
1238
- }();
1239
- ne.lexer = at;
1240
- function H1() {
1241
- this.yy = {};
1242
- }
1243
- return a(H1, "Parser"), H1.prototype = ne, ne.Parser = H1, new H1();
1244
- }();
1245
- pe.parser = pe;
1246
- var ls = pe, cs = /* @__PURE__ */ a((e, r) => {
1247
- const i = Ft, u = i(e, "r"), o = i(e, "g"), A = i(e, "b");
1248
- return St(u, o, A, r);
1249
- }, "fade"), hs = /* @__PURE__ */ a((e) => `.label {
1250
- font-family: ${e.fontFamily};
1251
- color: ${e.nodeTextColor || e.textColor};
1252
- }
1253
- .cluster-label text {
1254
- fill: ${e.titleColor};
1255
- }
1256
- .cluster-label span {
1257
- color: ${e.titleColor};
1258
- }
1259
- .cluster-label span p {
1260
- background-color: transparent;
1261
- }
1262
-
1263
- .label text,span {
1264
- fill: ${e.nodeTextColor || e.textColor};
1265
- color: ${e.nodeTextColor || e.textColor};
1266
- }
1267
-
1268
- .node rect,
1269
- .node circle,
1270
- .node ellipse,
1271
- .node polygon,
1272
- .node path {
1273
- fill: ${e.mainBkg};
1274
- stroke: ${e.nodeBorder};
1275
- stroke-width: 1px;
1276
- }
1277
- .rough-node .label text , .node .label text {
1278
- text-anchor: middle;
1279
- }
1280
- // .flowchart-label .text-outer-tspan {
1281
- // text-anchor: middle;
1282
- // }
1283
- // .flowchart-label .text-inner-tspan {
1284
- // text-anchor: start;
1285
- // }
1286
-
1287
- .node .katex path {
1288
- fill: #000;
1289
- stroke: #000;
1290
- stroke-width: 1px;
1291
- }
1292
-
1293
- .node .label {
1294
- text-align: center;
1295
- }
1296
- .node.clickable {
1297
- cursor: pointer;
1298
- }
1299
-
1300
- .arrowheadPath {
1301
- fill: ${e.arrowheadColor};
1302
- }
1303
-
1304
- .edgePath .path {
1305
- stroke: ${e.lineColor};
1306
- stroke-width: 2.0px;
1307
- }
1308
-
1309
- .flowchart-link {
1310
- stroke: ${e.lineColor};
1311
- fill: none;
1312
- }
1313
-
1314
- .edgeLabel {
1315
- background-color: ${e.edgeLabelBackground};
1316
- p {
1317
- background-color: ${e.edgeLabelBackground};
1318
- }
1319
- rect {
1320
- opacity: 0.5;
1321
- background-color: ${e.edgeLabelBackground};
1322
- fill: ${e.edgeLabelBackground};
1323
- }
1324
- text-align: center;
1325
- }
1326
-
1327
- /* For html labels only */
1328
- .labelBkg {
1329
- background-color: ${cs(e.edgeLabelBackground, 0.5)};
1330
- // background-color:
1331
- }
1332
-
1333
- .cluster rect {
1334
- fill: ${e.clusterBkg};
1335
- stroke: ${e.clusterBorder};
1336
- stroke-width: 1px;
1337
- }
1338
-
1339
- .cluster text {
1340
- fill: ${e.titleColor};
1341
- }
1342
-
1343
- .cluster span {
1344
- color: ${e.titleColor};
1345
- }
1346
- /* .cluster div {
1347
- color: ${e.titleColor};
1348
- } */
1349
-
1350
- div.mermaidTooltip {
1351
- position: absolute;
1352
- text-align: center;
1353
- max-width: 200px;
1354
- padding: 2px;
1355
- font-family: ${e.fontFamily};
1356
- font-size: 12px;
1357
- background: ${e.tertiaryColor};
1358
- border: 1px solid ${e.border2};
1359
- border-radius: 2px;
1360
- pointer-events: none;
1361
- z-index: 100;
1362
- }
1363
-
1364
- .flowchartTitleText {
1365
- text-anchor: middle;
1366
- font-size: 18px;
1367
- fill: ${e.textColor};
1368
- }
1369
- `, "getStyles"), ds = hs, ys = {
1370
- parser: ls,
1371
- db: he,
1372
- renderer: os,
1373
- styles: ds,
1374
- init: /* @__PURE__ */ a((e) => {
1375
- e.flowchart || (e.flowchart = {}), e.layout && Xe({ layout: e.layout }), e.flowchart.arrowMarkerAbsolute = e.arrowMarkerAbsolute, Xe({ flowchart: { arrowMarkerAbsolute: e.arrowMarkerAbsolute } }), he.clear(), he.setGen("gen-2");
1376
- }, "init")
1377
- };
1378
- export {
1379
- ys as diagram
1380
- };