@webskill/sdk 0.20.0 → 0.22.0

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 (139) hide show
  1. package/dist/abnfDiagram-O67JEVCF-DtYFjfqO.js +109 -0
  2. package/dist/agent.d.ts +3 -3
  3. package/dist/agent.js +1171 -73
  4. package/dist/{approval-Bbh_Apwg.js → approval-DWQlDPbY.js} +527 -29
  5. package/dist/arc-8U_6NQWm.js +130 -0
  6. package/dist/architecture-7GRP2DOG-RTw1wpAq.js +4 -0
  7. package/dist/architectureDiagram-NJMV4G6O-XmmXrJAK.js +7473 -0
  8. package/dist/array-DQfpQNY8.js +8 -0
  9. package/dist/blockDiagram-BEXU5L5S-D4yjnCD1.js +2582 -0
  10. package/dist/browser.d.ts +1129 -48
  11. package/dist/browser.js +3562 -278
  12. package/dist/c4Diagram-YGBWAQC7-BLmA_JSd.js +3668 -0
  13. package/dist/channel-CZxxLrG7.js +9 -0
  14. package/dist/chunk-2Q5K7J3B-Ck03gkFR.js +21 -0
  15. package/dist/chunk-3FUC2YCW-tr6jmbQf.js +530 -0
  16. package/dist/chunk-5DYCD2WN-Bt97YGTd.js +58 -0
  17. package/dist/chunk-5VM5RSS4-BBxa48HL.js +21 -0
  18. package/dist/chunk-6AEJRKK7-JXK89I-O.js +14 -0
  19. package/dist/chunk-742MDFTN-CPmgCGwC.js +466 -0
  20. package/dist/chunk-7INBJB4K-C9jq9o66.js +6552 -0
  21. package/dist/chunk-7M6MHVWA-BrKCWcR1.js +4894 -0
  22. package/dist/chunk-7PRAP22T-BHED6GVs.js +95 -0
  23. package/dist/chunk-DUW6YSOI-DoZj78PO.js +19 -0
  24. package/dist/chunk-FOHPRMQF-Dkbp819z.js +27189 -0
  25. package/dist/chunk-GNY47TPC-Bpvq1T49.js +87 -0
  26. package/dist/chunk-GTNCS2PH-CLmh4I2c.js +686 -0
  27. package/dist/chunk-GWA4HPMP-B6vN3fkL.js +95 -0
  28. package/dist/chunk-J5ZVWO5B-Bi_Pcobw.js +26 -0
  29. package/dist/chunk-JWPE2WC7-D1rC79GS.js +12 -0
  30. package/dist/chunk-LNGE3PJU-D5OIoe3Z.js +2582 -0
  31. package/dist/chunk-MBY4JIJT-C34L7a4f.js +2276 -0
  32. package/dist/chunk-NETBCI7D-Cg84k8N8.js +321 -0
  33. package/dist/chunk-O7XYJQB3-B6K0KOSL.js +8846 -0
  34. package/dist/chunk-UA2S7LBM-DxHM29_K.js +612 -0
  35. package/dist/chunk-WEXAMYUT-Ba6jFWhB.js +33 -0
  36. package/dist/chunk-XXDRQBXY-DPbSy4kg.js +12 -0
  37. package/dist/chunk-Y2CYZVJY-U3QOMqrW.js +15 -0
  38. package/dist/chunk-Z7XXMR3K-oLg1h8F3.js +1038 -0
  39. package/dist/chunk-ZIGJFQKS-DqEFBuHR.js +2215 -0
  40. package/dist/classDiagram-v2-NBCMYWYE-BqnOWIUt.js +3845 -0
  41. package/dist/cose-bilkent-JH36ORCC-C0dTAHVK.js +4270 -0
  42. package/dist/cynefin-OW5HDTMX-B2QvgEQj.js +4 -0
  43. package/dist/cynefinDiagram-VND7K2PF-yAWc6Z3W.js +479 -0
  44. package/dist/cytoscape.esm-C64mRh9B.js +28325 -0
  45. package/dist/dagre-6A5THRUB-D0w2W27v.js +4816 -0
  46. package/dist/defaultLocale-B_EoOkSF.js +249 -0
  47. package/dist/diagram-22UHCM2B-DvgzhUzP.js +6115 -0
  48. package/dist/diagram-3UASUU5V-DWgUB-ef.js +795 -0
  49. package/dist/diagram-ATOU4E4O-P1olqwIs.js +553 -0
  50. package/dist/diagram-CDSNMT55-BUlZuLUe.js +402 -0
  51. package/dist/diagram-MLGK6HIB-6w5qmkGt.js +186 -0
  52. package/dist/diagram-MPIPVDR6-DEFiSo8o.js +289 -0
  53. package/dist/dist-UajCDt3n.js +92 -0
  54. package/dist/ebnfDiagram-ZINNZB2B-CI8liCfR.js +123 -0
  55. package/dist/elk-276RUBZZ-3SvW6OAK.js +90034 -0
  56. package/dist/erDiagram-OPXOYQCR-CPTbKhwP.js +2301 -0
  57. package/dist/{eventTypes-CwciaqCU.js → eventTypes-DcTQXSV1.js} +7 -1
  58. package/dist/eventmodeling-NTZA5JFV-BlyuqGp0.js +4 -0
  59. package/dist/flowDiagram-KWPJA3E3-CcUJ6HbV.js +18 -0
  60. package/dist/ganttDiagram-FUAMR5RP-31UjY0KK.js +3939 -0
  61. package/dist/geometry-wx5ZTYzi.js +715 -0
  62. package/dist/gitGraph-4MIJSDKK-ChdVlrk7.js +4 -0
  63. package/dist/gitGraphDiagram-X574FWY7-DKuxJymB.js +1153 -0
  64. package/dist/governance.d.ts +9 -3
  65. package/dist/governance.js +1 -1
  66. package/dist/graphlib-tk9gQYuN.js +4194 -0
  67. package/dist/{index-ad11wflI.d.ts → index-BiO9_XRk.d.ts} +2 -2
  68. package/dist/{index-DQ3-6GFu.d.ts → index-CjwdZQOS.d.ts} +945 -8
  69. package/dist/{index-BDyXe-a5.d.ts → index-YPd8ZSEa.d.ts} +413 -7
  70. package/dist/index.d.ts +4 -4
  71. package/dist/index.js +47 -41
  72. package/dist/info-A6RAGUB7-CxRAt9S9.js +4 -0
  73. package/dist/infoDiagram-VRGFBTTK-pRspGfjZ.js +25 -0
  74. package/dist/init-CMOIWdg-.js +16 -0
  75. package/dist/ishikawaDiagram-OU5B5YK6-DKerAPAg.js +975 -0
  76. package/dist/journeyDiagram-ZHPQQLJL-C4MK-YO5.js +1227 -0
  77. package/dist/kanban-definition-PNTS6WVX-BqsZpMXx.js +1244 -0
  78. package/dist/katex-BcRRvyh_.js +26465 -0
  79. package/dist/kind-Dc8x0HWz.js +110 -0
  80. package/dist/line-LgV8iVMV.js +48 -0
  81. package/dist/linear-BWKR0Tqd.js +393 -0
  82. package/dist/linkedDocument-CIuh_Yp0.js +416 -0
  83. package/dist/mcp.d.ts +2 -2
  84. package/dist/{memoryArtifactStore-D6dLeY55.js → memoryArtifactStore-Bs7glPqm.js} +14 -0
  85. package/dist/mermaid-parser.core-pYR5siSx.js +754 -0
  86. package/dist/mermaid.core-DMtwGCHy.js +1756 -0
  87. package/dist/mindmap-definition-NLK3R4M7-CXbD-myG.js +1312 -0
  88. package/dist/node.d.ts +8 -3
  89. package/dist/node.js +79 -4
  90. package/dist/{openUiLibrary-b0i7F_oZ.js → openUiLibrary-B7j3rLrm.js} +1 -1
  91. package/dist/{openUiSpecLang-CLXJEeRU.js → openUiSpecLang-BSYYnjay.js} +1 -1
  92. package/dist/ordinal-CxA6GHQS.js +84 -0
  93. package/dist/packet-AYTQ26CC-BOm08cxl.js +4 -0
  94. package/dist/path-C27Z2Bjv.js +106 -0
  95. package/dist/pegDiagram-GJSIUBJH-BLGJOewQ.js +115 -0
  96. package/dist/pie-WAS4IAKB-Dvg7glpk.js +4 -0
  97. package/dist/pieDiagram-5QR66LMP-laoaV_PB.js +298 -0
  98. package/dist/processSandboxEntry.js +5 -0
  99. package/dist/quadrantDiagram-O4NWA36T-Db_wFBkT.js +2236 -0
  100. package/dist/radar-RG4KPBEZ-BZDaTu06.js +4 -0
  101. package/dist/railroad-74A4TZTK-C-UhjkOy.js +4 -0
  102. package/dist/railroad-abnf-HS5TGJTU-dUKVA4OS.js +4 -0
  103. package/dist/railroad-ebnf-LZEXJU2U-DzQumk18.js +4 -0
  104. package/dist/railroad-peg-WCYAUIDC-B3vvTWed.js +4 -0
  105. package/dist/railroadDiagram-XR7U4H2S-BY0sTM4X.js +89 -0
  106. package/dist/requirementDiagram-PLB6GJNP-3rkQfEhs.js +2474 -0
  107. package/dist/rough.cjs-AmDd_NQk.js +1395 -0
  108. package/dist/sandboxWorkerEntry.js +5 -0
  109. package/dist/sankeyDiagram-IPEJSGJF-CGAJhyG2.js +3578 -0
  110. package/dist/sequenceDiagram-PO4LG4MO-9FJjFX06.js +5522 -0
  111. package/dist/sizeCapture-INFHLROL-D8PWxdOn.js +56 -0
  112. package/dist/{skillVersionStore-B24Jjjry-v2CCU0Xo.d.ts → skillVersionStore-B24Jjjry-BY1H7Krp.d.ts} +1 -1
  113. package/dist/src-NkhI3UMl.js +2653 -0
  114. package/dist/stateDiagram-v2-GCMORJYK-B0O3wc1-.js +2715 -0
  115. package/dist/swimlanes-2SLR337P-D4EOnrpu.js +6637 -0
  116. package/dist/swimlanesDiagram-TC7HE7FX-BUx29EJ9.js +30 -0
  117. package/dist/testing.d.ts +2 -1
  118. package/dist/testing.js +1 -1
  119. package/dist/timeline-definition-EJHVYXUP-CrgiiB4C.js +1513 -0
  120. package/dist/treeView-Q6P3EWNA-C1by-Gzc.js +4 -0
  121. package/dist/treemap-WGGIJYW6-mC2NZ6ad.js +4 -0
  122. package/dist/{types-Btpdd1y--BcxQ10Fa.d.ts → types-CpDRZ0rA-BM5FI9oN.d.ts} +111 -9
  123. package/dist/ui-react.d.ts +3 -3
  124. package/dist/ui-react.js +3718 -77
  125. package/dist/ui-vue.d.ts +1 -1
  126. package/dist/ui.d.ts +3 -3
  127. package/dist/ui.js +2 -2
  128. package/dist/untrustedText-BIaRvPZK.js +16 -0
  129. package/dist/usecaseDiagram-POWQR4AR-BUt_TQOY.js +14397 -0
  130. package/dist/vennDiagram-UO4OBE2U-CwXr0wjA.js +2808 -0
  131. package/dist/wardley-WFR3VGLG-CVSYjq_S.js +4 -0
  132. package/dist/wardleyDiagram-VNRHLVJA-Cpfd47dQ.js +874 -0
  133. package/dist/{webSkillApi-CsvA69qk.js → webSkillApi-Dy-Zjv0y.js} +1 -1
  134. package/dist/{webskillLitCatalog-W06npwej.js → webskillLitCatalog-D5BCiMCU.js} +1 -1
  135. package/dist/xychartDiagram-PMCCYNJV-e1TeVoc6.js +2704 -0
  136. package/package.json +6 -5
  137. package/dist/kind-DxgS8LM-.js +0 -77
  138. package/dist/linkedDocument-xNXF-z8n.js +0 -94
  139. package/dist/types-DOJI5YC3.js +0 -90
@@ -0,0 +1,4894 @@
1
+ import { n as __name } from "./chunk-Y2CYZVJY-U3QOMqrW.js";
2
+ import { m as log, p as select_default } from "./src-NkhI3UMl.js";
3
+ import { G as setConfig2, H as setAccDescription, U as setAccTitle, a as clear, at as rgba, d as defaultConfig2, et as purify, q as setDiagramTitle, s as common_default, v as getAccDescription, w as getDiagramTitle, x as getConfig2, y as getAccTitle } from "./chunk-O7XYJQB3-B6K0KOSL.js";
4
+ import { t as channel } from "./channel-CZxxLrG7.js";
5
+ import { c as getEdgeId, g as utils_default } from "./chunk-ZIGJFQKS-DqEFBuHR.js";
6
+ import { t as getIconStyles } from "./chunk-5VM5RSS4-BBxa48HL.js";
7
+ import { i as isColorTheme, n as colorSlotCount, o as safeLook, r as hasPalette } from "./chunk-J5ZVWO5B-Bi_Pcobw.js";
8
+ import { a as isValidShape } from "./chunk-7INBJB4K-C9jq9o66.js";
9
+ import { t as createTooltip } from "./chunk-GWA4HPMP-B6vN3fkL.js";
10
+ import { t as getDiagramElement } from "./chunk-XXDRQBXY-DPbSy4kg.js";
11
+ import { t as setupViewPortForSVG } from "./chunk-WEXAMYUT-Ba6jFWhB.js";
12
+ import { r as render, t as getRegisteredLayoutAlgorithm } from "./chunk-GNY47TPC-Bpvq1T49.js";
13
+ import { n as load, t as JSON_SCHEMA } from "./chunk-LNGE3PJU-D5OIoe3Z.js";
14
+
15
+ //#region ../../node_modules/.pnpm/mermaid@12.0.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-7M6MHVWA.mjs
16
+ var MERMAID_DOM_ID_PREFIX = "flowchart-";
17
+ var FlowDB = class {
18
+ constructor() {
19
+ this.vertexCounter = 0;
20
+ this.config = getConfig2();
21
+ this.diagramId = "";
22
+ this.vertices = /* @__PURE__ */ new Map();
23
+ this.edges = [];
24
+ this.classes = /* @__PURE__ */ new Map();
25
+ this.subGraphs = [];
26
+ this.subGraphLookup = /* @__PURE__ */ new Map();
27
+ this.tooltips = /* @__PURE__ */ new Map();
28
+ this.subCount = 0;
29
+ this.firstGraphFlag = true;
30
+ this.secCount = -1;
31
+ this.posCrossRef = [];
32
+ this.funs = [];
33
+ this.setAccTitle = setAccTitle;
34
+ this.setAccDescription = setAccDescription;
35
+ this.setDiagramTitle = setDiagramTitle;
36
+ this.getAccTitle = getAccTitle;
37
+ this.getAccDescription = getAccDescription;
38
+ this.getDiagramTitle = getDiagramTitle;
39
+ this.funs.push(this.setupToolTips.bind(this));
40
+ this.addVertex = this.addVertex.bind(this);
41
+ this.firstGraph = this.firstGraph.bind(this);
42
+ this.setDirection = this.setDirection.bind(this);
43
+ this.addSubGraph = this.addSubGraph.bind(this);
44
+ this.addLink = this.addLink.bind(this);
45
+ this.setLink = this.setLink.bind(this);
46
+ this.updateLink = this.updateLink.bind(this);
47
+ this.addClass = this.addClass.bind(this);
48
+ this.setClass = this.setClass.bind(this);
49
+ this.destructLink = this.destructLink.bind(this);
50
+ this.setClickEvent = this.setClickEvent.bind(this);
51
+ this.setTooltip = this.setTooltip.bind(this);
52
+ this.updateLinkInterpolate = this.updateLinkInterpolate.bind(this);
53
+ this.setClickFun = this.setClickFun.bind(this);
54
+ this.bindFunctions = this.bindFunctions.bind(this);
55
+ this.lex = { firstGraph: this.firstGraph.bind(this) };
56
+ this.clear();
57
+ this.setGen("gen-2");
58
+ }
59
+ static {
60
+ __name(this, "FlowDB");
61
+ }
62
+ sanitizeText(txt) {
63
+ return common_default.sanitizeText(txt, this.config);
64
+ }
65
+ sanitizeNodeLabelType(labelType) {
66
+ switch (labelType) {
67
+ case "markdown":
68
+ case "string":
69
+ case "text": return labelType;
70
+ default: return "markdown";
71
+ }
72
+ }
73
+ /**
74
+ * Sets the diagram's SVG element ID, used to prefix domIds for uniqueness
75
+ * across multiple diagrams on the same page.
76
+ */
77
+ setDiagramId(svgElementId) {
78
+ this.diagramId = svgElementId;
79
+ }
80
+ /**
81
+ * Function to lookup domId from id in the graph definition.
82
+ * When diagramId is set, returns the prefixed version for DOM uniqueness.
83
+ *
84
+ * @param id - id of the node
85
+ */
86
+ lookUpDomId(id) {
87
+ for (const vertex of this.vertices.values()) if (vertex.id === id) return this.diagramId ? `${this.diagramId}-${vertex.domId}` : vertex.domId;
88
+ return this.diagramId ? `${this.diagramId}-${id}` : id;
89
+ }
90
+ /**
91
+ * Function called by parser when a node definition has been found
92
+ */
93
+ addVertex(id, textObj, type, style, classes, dir, props = {}, metadata) {
94
+ if (!id || id.trim().length === 0) return;
95
+ let doc;
96
+ if (metadata !== void 0) {
97
+ let yamlData;
98
+ if (!metadata.includes("\n")) yamlData = "{\n" + metadata + "\n}";
99
+ else yamlData = metadata + "\n";
100
+ doc = load(yamlData, { schema: JSON_SCHEMA });
101
+ }
102
+ const subGraph = this.subGraphLookup.get(id);
103
+ if (subGraph && doc) {
104
+ subGraph.metadata = {
105
+ ...subGraph.metadata,
106
+ ...doc
107
+ };
108
+ return;
109
+ }
110
+ const edge = this.edges.find((e) => e.id === id);
111
+ if (edge) {
112
+ const edgeDoc = doc;
113
+ if (edgeDoc?.animate !== void 0) edge.animate = edgeDoc.animate;
114
+ if (edgeDoc?.animation !== void 0) edge.animation = edgeDoc.animation;
115
+ if (edgeDoc?.curve !== void 0) edge.interpolate = edgeDoc.curve;
116
+ return;
117
+ }
118
+ let txt;
119
+ let vertex = this.vertices.get(id);
120
+ if (vertex === void 0) {
121
+ if (textObj === void 0 && type === void 0 && style !== void 0 && style !== null) log.warn(`Style applied to unknown node "${id}". This may indicate a typo. The node will be created automatically.`);
122
+ vertex = {
123
+ id,
124
+ labelType: "text",
125
+ domId: MERMAID_DOM_ID_PREFIX + id + "-" + this.vertexCounter,
126
+ styles: [],
127
+ classes: []
128
+ };
129
+ this.vertices.set(id, vertex);
130
+ }
131
+ this.vertexCounter++;
132
+ if (textObj !== void 0) {
133
+ this.config = getConfig2();
134
+ txt = this.sanitizeText(textObj.text.trim());
135
+ vertex.labelType = textObj.type;
136
+ if (txt.startsWith("\"") && txt.endsWith("\"")) txt = txt.substring(1, txt.length - 1);
137
+ vertex.text = txt;
138
+ } else if (vertex.text === void 0) vertex.text = id;
139
+ if (type !== void 0) vertex.type = type;
140
+ if (style !== void 0 && style !== null) style.forEach((s) => {
141
+ vertex.styles.push(s);
142
+ });
143
+ if (classes !== void 0 && classes !== null) classes.forEach((s) => {
144
+ vertex.classes.push(s);
145
+ });
146
+ if (dir !== void 0) vertex.dir = dir;
147
+ if (vertex.props === void 0) vertex.props = props;
148
+ else if (props !== void 0) Object.assign(vertex.props, props);
149
+ if (doc !== void 0) {
150
+ if (doc.shape) {
151
+ if (doc.shape !== doc.shape.toLowerCase() || doc.shape.includes("_")) throw new Error(`No such shape: ${doc.shape}. Shape names should be lowercase.`);
152
+ else if (!isValidShape(doc.shape)) throw new Error(`No such shape: ${doc.shape}.`);
153
+ vertex.type = doc?.shape;
154
+ }
155
+ if (doc?.label) {
156
+ vertex.text = doc?.label;
157
+ vertex.labelType = this.sanitizeNodeLabelType(doc?.labelType);
158
+ }
159
+ if (doc?.icon) {
160
+ vertex.icon = doc?.icon;
161
+ if (!doc.label?.trim() && vertex.text === id) vertex.text = "";
162
+ }
163
+ if (doc?.form) vertex.form = doc?.form;
164
+ if (doc?.pos) vertex.pos = doc?.pos;
165
+ if (doc?.img) {
166
+ vertex.img = doc?.img;
167
+ if (!doc.label?.trim() && vertex.text === id) vertex.text = "";
168
+ }
169
+ if (doc?.constraint) vertex.constraint = doc.constraint;
170
+ if (doc.w) vertex.assetWidth = Number(doc.w);
171
+ if (doc.h) vertex.assetHeight = Number(doc.h);
172
+ }
173
+ }
174
+ /**
175
+ * Function called by parser when a link/edge definition has been found
176
+ *
177
+ */
178
+ addSingleLink(_start, _end, type, id) {
179
+ const edge = {
180
+ start: _start,
181
+ end: _end,
182
+ type: void 0,
183
+ text: "",
184
+ labelType: "text",
185
+ classes: [],
186
+ isUserDefinedId: false,
187
+ interpolate: this.edges.defaultInterpolate
188
+ };
189
+ log.info("abc78 Got edge...", edge);
190
+ const linkTextObj = type.text;
191
+ if (linkTextObj !== void 0) {
192
+ edge.text = this.sanitizeText(linkTextObj.text.trim());
193
+ if (edge.text.startsWith("\"") && edge.text.endsWith("\"")) edge.text = edge.text.substring(1, edge.text.length - 1);
194
+ edge.labelType = this.sanitizeNodeLabelType(linkTextObj.type);
195
+ }
196
+ if (type !== void 0) {
197
+ edge.type = type.type;
198
+ edge.stroke = type.stroke;
199
+ edge.length = type.length > 10 ? 10 : type.length;
200
+ }
201
+ if (id && !this.edges.some((e) => e.id === id)) {
202
+ edge.id = id;
203
+ edge.isUserDefinedId = true;
204
+ } else {
205
+ const existingLinks = this.edges.filter((e) => e.start === edge.start && e.end === edge.end);
206
+ if (existingLinks.length === 0) edge.id = getEdgeId(edge.start, edge.end, {
207
+ counter: 0,
208
+ prefix: "L"
209
+ });
210
+ else edge.id = getEdgeId(edge.start, edge.end, {
211
+ counter: existingLinks.length + 1,
212
+ prefix: "L"
213
+ });
214
+ }
215
+ if (this.edges.length < (this.config.maxEdges ?? 500)) {
216
+ log.info("Pushing edge...");
217
+ this.edges.push(edge);
218
+ } else throw new Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
219
+
220
+ Initialize mermaid with maxEdges set to a higher number to allow more edges.
221
+ You cannot set this config via configuration inside the diagram as it is a secure config.
222
+ You have to call mermaid.initialize.`);
223
+ }
224
+ isLinkData(value) {
225
+ return value !== null && typeof value === "object" && "id" in value && typeof value.id === "string";
226
+ }
227
+ addLink(_start, _end, linkData) {
228
+ const id = this.isLinkData(linkData) ? linkData.id.replace("@", "") : void 0;
229
+ log.info("addLink", _start, _end, id);
230
+ for (const start of _start) for (const end of _end) {
231
+ const isLastStart = start === _start[_start.length - 1];
232
+ const isFirstEnd = end === _end[0];
233
+ if (isLastStart && isFirstEnd) this.addSingleLink(start, end, linkData, id);
234
+ else this.addSingleLink(start, end, linkData, void 0);
235
+ }
236
+ }
237
+ /**
238
+ * Updates a link's line interpolation algorithm
239
+ */
240
+ updateLinkInterpolate(positions, interpolate) {
241
+ positions.forEach((pos) => {
242
+ if (pos === "default") this.edges.defaultInterpolate = interpolate;
243
+ else this.edges[pos].interpolate = interpolate;
244
+ });
245
+ }
246
+ /**
247
+ * Updates a link with a style
248
+ *
249
+ */
250
+ updateLink(positions, style) {
251
+ positions.forEach((pos) => {
252
+ if (typeof pos === "number" && pos >= this.edges.length) throw new Error(`The index ${pos} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${this.edges.length - 1}. (Help: Ensure that the index is within the range of existing edges.)`);
253
+ if (pos === "default") this.edges.defaultStyle = style;
254
+ else {
255
+ this.edges[pos].style = style;
256
+ if ((this.edges[pos]?.style?.length ?? 0) > 0 && !this.edges[pos]?.style?.some((s) => s?.startsWith("fill"))) this.edges[pos]?.style?.push("fill:none");
257
+ }
258
+ });
259
+ }
260
+ addClass(ids, _style) {
261
+ const style = _style.join().replace(/\\,/g, "§§§").replace(/,/g, ";").replace(/§§§/g, ",").split(";");
262
+ ids.split(",").forEach((id) => {
263
+ let classNode = this.classes.get(id);
264
+ if (classNode === void 0) {
265
+ classNode = {
266
+ id,
267
+ styles: [],
268
+ textStyles: []
269
+ };
270
+ this.classes.set(id, classNode);
271
+ }
272
+ if (style !== void 0 && style !== null) style.forEach((s) => {
273
+ if (/color/.exec(s)) {
274
+ const newStyle = s.replace("fill", "bgFill");
275
+ classNode.textStyles.push(newStyle);
276
+ }
277
+ classNode.styles.push(s);
278
+ });
279
+ });
280
+ }
281
+ /**
282
+ * Called by parser when a graph definition is found, stores the direction of the chart.
283
+ *
284
+ */
285
+ setDirection(dir) {
286
+ this.direction = dir.trim();
287
+ if (/.*</.exec(this.direction)) this.direction = "RL";
288
+ if (/.*\^/.exec(this.direction)) this.direction = "BT";
289
+ if (/.*>/.exec(this.direction)) this.direction = "LR";
290
+ if (/.*v/.exec(this.direction)) this.direction = "TB";
291
+ if (this.direction === "TD") this.direction = "TB";
292
+ }
293
+ /**
294
+ * Called by parser when a special node is found, e.g. a clickable element.
295
+ *
296
+ * @param ids - Comma separated list of ids
297
+ * @param className - Class to add
298
+ */
299
+ setClass(ids, className) {
300
+ for (const id of ids.split(",")) {
301
+ const vertex = this.vertices.get(id);
302
+ if (vertex) vertex.classes.push(className);
303
+ const edge = this.edges.find((e) => e.id === id);
304
+ if (edge) edge.classes.push(className);
305
+ const subGraph = this.subGraphLookup.get(id);
306
+ if (subGraph) subGraph.classes.push(className);
307
+ }
308
+ }
309
+ setTooltip(ids, tooltip) {
310
+ if (tooltip === void 0) return;
311
+ tooltip = this.sanitizeText(tooltip);
312
+ for (const id of ids.split(",")) this.tooltips.set(this.version === "gen-1" ? this.lookUpDomId(id) : id, tooltip);
313
+ }
314
+ setClickFun(id, functionName, functionArgs) {
315
+ if (getConfig2().securityLevel !== "loose") return;
316
+ if (functionName === void 0) return;
317
+ let argList = [];
318
+ if (typeof functionArgs === "string") {
319
+ argList = functionArgs.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
320
+ for (let i = 0; i < argList.length; i++) {
321
+ let item = argList[i].trim();
322
+ if (item.startsWith("\"") && item.endsWith("\"")) item = item.substr(1, item.length - 2);
323
+ argList[i] = item;
324
+ }
325
+ }
326
+ if (argList.length === 0) argList.push(id);
327
+ const vertex = this.vertices.get(id);
328
+ if (vertex) {
329
+ vertex.haveCallback = true;
330
+ this.funs.push(() => {
331
+ const domId = this.lookUpDomId(id);
332
+ const elem = document.querySelector(`[id="${domId}"]`);
333
+ if (elem !== null) elem.addEventListener("click", () => {
334
+ utils_default.runFunc(functionName, ...argList);
335
+ }, false);
336
+ });
337
+ }
338
+ }
339
+ /**
340
+ * Called by parser when a link is found. Adds the URL to the vertex data.
341
+ *
342
+ * @param ids - Comma separated list of ids
343
+ * @param linkStr - URL to create a link for
344
+ * @param target - Target attribute for the link
345
+ */
346
+ setLink(ids, linkStr, target) {
347
+ ids.split(",").forEach((id) => {
348
+ const vertex = this.vertices.get(id);
349
+ if (vertex !== void 0) {
350
+ vertex.link = utils_default.formatUrl(linkStr, this.config);
351
+ vertex.linkTarget = target;
352
+ }
353
+ });
354
+ this.setClass(ids, "clickable");
355
+ }
356
+ getTooltip(id) {
357
+ return this.tooltips.get(id);
358
+ }
359
+ /**
360
+ * Called by parser when a click definition is found. Registers an event handler.
361
+ *
362
+ * @param ids - Comma separated list of ids
363
+ * @param functionName - Function to be called on click
364
+ * @param functionArgs - Arguments to be passed to the function
365
+ */
366
+ setClickEvent(ids, functionName, functionArgs) {
367
+ ids.split(",").forEach((id) => {
368
+ this.setClickFun(id, functionName, functionArgs);
369
+ });
370
+ this.setClass(ids, "clickable");
371
+ }
372
+ bindFunctions(element) {
373
+ this.funs.forEach((fun) => {
374
+ fun(element);
375
+ });
376
+ }
377
+ getDirection() {
378
+ return this.direction?.trim();
379
+ }
380
+ /**
381
+ * Retrieval function for fetching the found nodes after parsing has completed.
382
+ *
383
+ */
384
+ getVertices() {
385
+ return this.vertices;
386
+ }
387
+ /**
388
+ * Retrieval function for fetching the found links after parsing has completed.
389
+ *
390
+ */
391
+ getEdges() {
392
+ return this.edges;
393
+ }
394
+ /**
395
+ * Retrieval function for fetching the found class definitions after parsing has completed.
396
+ *
397
+ */
398
+ getClasses() {
399
+ return this.classes;
400
+ }
401
+ setupToolTips(element) {
402
+ const tooltipElem = createTooltip();
403
+ select_default(element).select("svg").selectAll("g.node").on("mouseover", (e) => {
404
+ const el = select_default(e.currentTarget);
405
+ const title = el.attr("title");
406
+ if (title === null) return;
407
+ const rect = e.currentTarget?.getBoundingClientRect();
408
+ tooltipElem.transition().duration(200).style("opacity", ".9");
409
+ tooltipElem.text(el.attr("title")).style("left", window.scrollX + rect.left + (rect.right - rect.left) / 2 + "px").style("top", window.scrollY + rect.bottom + "px");
410
+ tooltipElem.html(purify.sanitize(title));
411
+ el.classed("hover", true);
412
+ }).on("mouseout", (e) => {
413
+ tooltipElem.transition().duration(500).style("opacity", 0);
414
+ select_default(e.currentTarget).classed("hover", false);
415
+ });
416
+ }
417
+ /**
418
+ * Clears the internal graph db so that a new graph can be parsed.
419
+ *
420
+ */
421
+ clear(ver = "gen-2") {
422
+ this.vertices = /* @__PURE__ */ new Map();
423
+ this.classes = /* @__PURE__ */ new Map();
424
+ this.edges = [];
425
+ this.funs = [this.setupToolTips.bind(this)];
426
+ this.diagramId = "";
427
+ this.subGraphs = [];
428
+ this.subGraphLookup = /* @__PURE__ */ new Map();
429
+ this.subCount = 0;
430
+ this.tooltips = /* @__PURE__ */ new Map();
431
+ this.firstGraphFlag = true;
432
+ this.version = ver;
433
+ this.config = getConfig2();
434
+ clear();
435
+ }
436
+ setGen(ver) {
437
+ this.version = ver || "gen-2";
438
+ }
439
+ defaultStyle() {
440
+ return "fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;";
441
+ }
442
+ addSubGraph(_id, list, _title) {
443
+ let id = _id.text.trim();
444
+ let title = _title.text;
445
+ if (_id === _title && /\s/.exec(_title.text)) id = void 0;
446
+ const result = (/* @__PURE__ */ __name((a) => {
447
+ const prims = {
448
+ boolean: {},
449
+ number: {},
450
+ string: {}
451
+ };
452
+ const objs = [];
453
+ let dir2;
454
+ return {
455
+ nodeList: a.filter(function(item) {
456
+ const type = typeof item;
457
+ if (item.stmt && item.stmt === "dir") {
458
+ dir2 = item.value;
459
+ return false;
460
+ }
461
+ if (item.trim() === "") return false;
462
+ if (type in prims) return prims[type].hasOwnProperty(item) ? false : prims[type][item] = true;
463
+ else return objs.includes(item) ? false : objs.push(item);
464
+ }),
465
+ dir: dir2
466
+ };
467
+ }, "uniq"))(list.flat());
468
+ const nodeList = result.nodeList;
469
+ let dir = result.dir;
470
+ const flowchartConfig = getConfig2().flowchart ?? {};
471
+ dir = dir ?? (flowchartConfig.inheritDir ? this.getDirection() ?? getConfig2().direction ?? void 0 : void 0);
472
+ if (this.version === "gen-1") for (let i = 0; i < nodeList.length; i++) nodeList[i] = this.lookUpDomId(nodeList[i]);
473
+ id = id ?? "subGraph" + this.subCount;
474
+ title = title || "";
475
+ title = this.sanitizeText(title);
476
+ this.subCount = this.subCount + 1;
477
+ const subGraph = {
478
+ id,
479
+ nodes: nodeList,
480
+ title: title.trim(),
481
+ classes: [],
482
+ dir,
483
+ labelType: this.sanitizeNodeLabelType(_title?.type)
484
+ };
485
+ log.info("Adding", subGraph.id, subGraph.nodes, subGraph.dir);
486
+ subGraph.nodes = this.makeUniq(subGraph, this.subGraphs).nodes;
487
+ this.subGraphs.push(subGraph);
488
+ this.subGraphLookup.set(id, subGraph);
489
+ return id;
490
+ }
491
+ getPosForId(id) {
492
+ for (const [i, subGraph] of this.subGraphs.entries()) if (subGraph.id === id) return i;
493
+ return -1;
494
+ }
495
+ indexNodes2(id, pos) {
496
+ const nodes = this.subGraphs[pos].nodes;
497
+ this.secCount = this.secCount + 1;
498
+ if (this.secCount > 2e3) return {
499
+ result: false,
500
+ count: 0
501
+ };
502
+ this.posCrossRef[this.secCount] = pos;
503
+ if (this.subGraphs[pos].id === id) return {
504
+ result: true,
505
+ count: 0
506
+ };
507
+ let count = 0;
508
+ let posCount = 1;
509
+ while (count < nodes.length) {
510
+ const childPos = this.getPosForId(nodes[count]);
511
+ if (childPos >= 0) {
512
+ const res = this.indexNodes2(id, childPos);
513
+ if (res.result) return {
514
+ result: true,
515
+ count: posCount + res.count
516
+ };
517
+ else posCount = posCount + res.count;
518
+ }
519
+ count = count + 1;
520
+ }
521
+ return {
522
+ result: false,
523
+ count: posCount
524
+ };
525
+ }
526
+ getDepthFirstPos(pos) {
527
+ return this.posCrossRef[pos];
528
+ }
529
+ indexNodes() {
530
+ this.secCount = -1;
531
+ if (this.subGraphs.length > 0) this.indexNodes2("none", this.subGraphs.length - 1);
532
+ }
533
+ getSubGraphs() {
534
+ return this.subGraphs;
535
+ }
536
+ firstGraph() {
537
+ if (this.firstGraphFlag) {
538
+ this.firstGraphFlag = false;
539
+ return true;
540
+ }
541
+ return false;
542
+ }
543
+ destructStartLink(_str) {
544
+ let str = _str.trim();
545
+ let type = "arrow_open";
546
+ switch (str[0]) {
547
+ case "<":
548
+ type = "arrow_point";
549
+ str = str.slice(1);
550
+ break;
551
+ case "x":
552
+ type = "arrow_cross";
553
+ str = str.slice(1);
554
+ break;
555
+ case "o":
556
+ type = "arrow_circle";
557
+ str = str.slice(1);
558
+ break;
559
+ }
560
+ let stroke = "normal";
561
+ if (str.includes("=")) stroke = "thick";
562
+ if (str.includes(".")) stroke = "dotted";
563
+ return {
564
+ type,
565
+ stroke
566
+ };
567
+ }
568
+ countChar(char, str) {
569
+ const length = str.length;
570
+ let count = 0;
571
+ for (let i = 0; i < length; ++i) if (str[i] === char) ++count;
572
+ return count;
573
+ }
574
+ destructEndLink(_str) {
575
+ const str = _str.trim();
576
+ let line = str.slice(0, -1);
577
+ let type = "arrow_open";
578
+ switch (str.slice(-1)) {
579
+ case "x":
580
+ type = "arrow_cross";
581
+ if (str.startsWith("x")) {
582
+ type = "double_" + type;
583
+ line = line.slice(1);
584
+ }
585
+ break;
586
+ case ">":
587
+ type = "arrow_point";
588
+ if (str.startsWith("<")) {
589
+ type = "double_" + type;
590
+ line = line.slice(1);
591
+ }
592
+ break;
593
+ case "o":
594
+ type = "arrow_circle";
595
+ if (str.startsWith("o")) {
596
+ type = "double_" + type;
597
+ line = line.slice(1);
598
+ }
599
+ break;
600
+ }
601
+ let stroke = "normal";
602
+ let length = line.length - 1;
603
+ if (line.startsWith("=")) stroke = "thick";
604
+ if (line.startsWith("~")) stroke = "invisible";
605
+ const dots = this.countChar(".", line);
606
+ if (dots) {
607
+ stroke = "dotted";
608
+ length = dots;
609
+ }
610
+ return {
611
+ type,
612
+ stroke,
613
+ length
614
+ };
615
+ }
616
+ destructLink(_str, _startStr) {
617
+ const info = this.destructEndLink(_str);
618
+ let startInfo;
619
+ if (_startStr) {
620
+ startInfo = this.destructStartLink(_startStr);
621
+ if (startInfo.stroke !== info.stroke) return {
622
+ type: "INVALID",
623
+ stroke: "INVALID"
624
+ };
625
+ if (startInfo.type === "arrow_open") startInfo.type = info.type;
626
+ else {
627
+ if (startInfo.type !== info.type) return {
628
+ type: "INVALID",
629
+ stroke: "INVALID"
630
+ };
631
+ startInfo.type = "double_" + startInfo.type;
632
+ }
633
+ if (startInfo.type === "double_arrow") startInfo.type = "double_arrow_point";
634
+ startInfo.length = info.length;
635
+ return startInfo;
636
+ }
637
+ return info;
638
+ }
639
+ exists(allSgs, _id) {
640
+ for (const sg of allSgs) if (sg.nodes.includes(_id)) return true;
641
+ return false;
642
+ }
643
+ /**
644
+ * Deletes an id from all subgraphs
645
+ *
646
+ */
647
+ makeUniq(sg, allSubgraphs) {
648
+ const res = [];
649
+ sg.nodes.forEach((_id, pos) => {
650
+ if (!this.exists(allSubgraphs, _id)) res.push(sg.nodes[pos]);
651
+ });
652
+ return { nodes: res };
653
+ }
654
+ getTypeFromVertex(vertex) {
655
+ if (vertex.img) return "imageSquare";
656
+ if (vertex.icon) {
657
+ if (vertex.form === "circle") return "iconCircle";
658
+ if (vertex.form === "square") return "iconSquare";
659
+ if (vertex.form === "rounded") return "iconRounded";
660
+ return "icon";
661
+ }
662
+ switch (vertex.type) {
663
+ case "square":
664
+ case void 0: return "squareRect";
665
+ case "round": return "roundedRect";
666
+ case "ellipse": return "ellipse";
667
+ default: return vertex.type;
668
+ }
669
+ }
670
+ findNode(nodes, id) {
671
+ return nodes.find((node) => node.id === id);
672
+ }
673
+ destructEdgeType(type) {
674
+ let arrowTypeStart = "none";
675
+ let arrowTypeEnd = "arrow_point";
676
+ switch (type) {
677
+ case "arrow_point":
678
+ case "arrow_circle":
679
+ case "arrow_cross":
680
+ arrowTypeEnd = type;
681
+ break;
682
+ case "double_arrow_point":
683
+ case "double_arrow_circle":
684
+ case "double_arrow_cross":
685
+ arrowTypeStart = type.replace("double_", "");
686
+ arrowTypeEnd = arrowTypeStart;
687
+ break;
688
+ }
689
+ return {
690
+ arrowTypeStart,
691
+ arrowTypeEnd
692
+ };
693
+ }
694
+ addNodeFromVertex(vertex, nodes, parentDB, subGraphDB, config, look) {
695
+ const parentId = parentDB.get(vertex.id);
696
+ const isGroup = subGraphDB.get(vertex.id) ?? false;
697
+ const node = this.findNode(nodes, vertex.id);
698
+ if (node) {
699
+ node.cssStyles = vertex.styles;
700
+ node.cssCompiledStyles = this.getCompiledStyles(vertex.classes);
701
+ node.cssClasses = vertex.classes.join(" ");
702
+ } else {
703
+ const baseNode = {
704
+ id: vertex.id,
705
+ label: vertex.text,
706
+ labelType: vertex.labelType,
707
+ labelStyle: "",
708
+ parentId,
709
+ padding: config.flowchart?.padding || 8,
710
+ cssStyles: vertex.styles,
711
+ cssCompiledStyles: this.getCompiledStyles([
712
+ "default",
713
+ "node",
714
+ ...vertex.classes
715
+ ]),
716
+ cssClasses: "default " + vertex.classes.join(" "),
717
+ dir: vertex.dir,
718
+ domId: vertex.domId,
719
+ look,
720
+ link: vertex.link,
721
+ linkTarget: vertex.linkTarget,
722
+ tooltip: this.getTooltip(vertex.id),
723
+ icon: vertex.icon,
724
+ pos: vertex.pos,
725
+ img: vertex.img,
726
+ assetWidth: vertex.assetWidth,
727
+ assetHeight: vertex.assetHeight,
728
+ constraint: vertex.constraint
729
+ };
730
+ if (isGroup) nodes.push({
731
+ ...baseNode,
732
+ isGroup: true,
733
+ shape: "rect"
734
+ });
735
+ else nodes.push({
736
+ ...baseNode,
737
+ isGroup: false,
738
+ shape: this.getTypeFromVertex(vertex),
739
+ minWidth: config.flowchart?.minNodeWidth
740
+ });
741
+ }
742
+ }
743
+ getCompiledStyles(classDefs) {
744
+ let compiledStyles = [];
745
+ for (const customClass of classDefs) {
746
+ const cssClass = this.classes.get(customClass);
747
+ if (cssClass?.styles) compiledStyles = [...compiledStyles, ...cssClass.styles ?? []].map((s) => s.trim());
748
+ if (cssClass?.textStyles) compiledStyles = [...compiledStyles, ...cssClass.textStyles ?? []].map((s) => s.trim());
749
+ }
750
+ return compiledStyles;
751
+ }
752
+ getData() {
753
+ const config = getConfig2();
754
+ const nodes = [];
755
+ const edges = [];
756
+ const subGraphs = this.getSubGraphs();
757
+ const parentDB = /* @__PURE__ */ new Map();
758
+ const subGraphDB = /* @__PURE__ */ new Map();
759
+ const subGraphParent = /* @__PURE__ */ new Map();
760
+ for (const sg of subGraphs) for (const childId of sg.nodes) if (this.subGraphLookup.has(childId)) subGraphParent.set(childId, sg.id);
761
+ const declarationIndex = /* @__PURE__ */ new Map();
762
+ const childrenOf = /* @__PURE__ */ new Map();
763
+ for (const sg of subGraphs) {
764
+ const parent = subGraphParent.get(sg.id);
765
+ if (parent !== void 0) childrenOf.set(parent, [...childrenOf.get(parent) ?? [], sg.id]);
766
+ }
767
+ let nextDeclarationIndex = 0;
768
+ const walk = /* @__PURE__ */ __name((sgId) => {
769
+ declarationIndex.set(sgId, nextDeclarationIndex++);
770
+ for (const childId of childrenOf.get(sgId) ?? []) walk(childId);
771
+ }, "walk");
772
+ for (const sg of subGraphs) if (!subGraphParent.has(sg.id)) walk(sg.id);
773
+ const isCollapsed = /* @__PURE__ */ __name((sgId) => this.subGraphLookup.get(sgId)?.metadata?.view === "collapsed", "isCollapsed");
774
+ const outermostCollapsed = /* @__PURE__ */ __name((sgId) => {
775
+ let result;
776
+ const seen = /* @__PURE__ */ new Set();
777
+ let current = sgId;
778
+ while (current !== void 0 && !seen.has(current)) {
779
+ seen.add(current);
780
+ if (isCollapsed(current)) result = current;
781
+ current = subGraphParent.get(current);
782
+ }
783
+ return result;
784
+ }, "outermostCollapsed");
785
+ const hiddenIds = /* @__PURE__ */ new Set();
786
+ const collapsedAncestorMap = /* @__PURE__ */ new Map();
787
+ for (const sg of subGraphs) {
788
+ const ancestor = outermostCollapsed(sg.id);
789
+ if (ancestor === void 0) continue;
790
+ if (sg.id !== ancestor) {
791
+ hiddenIds.add(sg.id);
792
+ collapsedAncestorMap.set(sg.id, ancestor);
793
+ }
794
+ for (const childId of sg.nodes) {
795
+ if (childId === ancestor) continue;
796
+ hiddenIds.add(childId);
797
+ collapsedAncestorMap.set(childId, ancestor);
798
+ }
799
+ }
800
+ for (let i = subGraphs.length - 1; i >= 0; i--) {
801
+ const subGraph = subGraphs[i];
802
+ if (hiddenIds.has(subGraph.id)) continue;
803
+ if (subGraph.nodes.length > 0) subGraphDB.set(subGraph.id, true);
804
+ for (const id of subGraph.nodes) parentDB.set(id, subGraph.id);
805
+ }
806
+ for (let i = subGraphs.length - 1; i >= 0; i--) {
807
+ const subGraph = subGraphs[i];
808
+ if (hiddenIds.has(subGraph.id)) continue;
809
+ if (subGraph.metadata?.view === "collapsed") nodes.push({
810
+ id: subGraph.id,
811
+ label: subGraph.title,
812
+ labelStyle: "",
813
+ labelType: subGraph.labelType,
814
+ parentId: parentDB.get(subGraph.id),
815
+ padding: 8,
816
+ cssCompiledStyles: this.getCompiledStyles(subGraph.classes),
817
+ cssClasses: subGraph.classes.join(" "),
818
+ shape: "collapsedGroup",
819
+ dir: subGraph.dir,
820
+ isGroup: false,
821
+ look: config.look,
822
+ colorIndex: declarationIndex.get(subGraph.id)
823
+ });
824
+ else nodes.push({
825
+ id: subGraph.id,
826
+ label: subGraph.title,
827
+ labelStyle: "",
828
+ labelType: subGraph.labelType,
829
+ parentId: parentDB.get(subGraph.id),
830
+ padding: 8,
831
+ cssCompiledStyles: this.getCompiledStyles(subGraph.classes),
832
+ cssClasses: subGraph.classes.join(" "),
833
+ shape: "rect",
834
+ dir: subGraph.dir,
835
+ isGroup: true,
836
+ look: config.look,
837
+ colorIndex: declarationIndex.get(subGraph.id),
838
+ metadata: subGraph.metadata
839
+ });
840
+ }
841
+ this.getVertices().forEach((vertex) => {
842
+ if (hiddenIds.has(vertex.id)) return;
843
+ this.addNodeFromVertex(vertex, nodes, parentDB, subGraphDB, config, config.look || "classic");
844
+ });
845
+ const e = this.getEdges();
846
+ e.forEach((rawEdge, index) => {
847
+ const { arrowTypeStart, arrowTypeEnd } = this.destructEdgeType(rawEdge.type);
848
+ const styles = [...e.defaultStyle ?? []];
849
+ const start = collapsedAncestorMap.get(rawEdge.start) ?? rawEdge.start;
850
+ const end = collapsedAncestorMap.get(rawEdge.end) ?? rawEdge.end;
851
+ if (start === end && (collapsedAncestorMap.has(rawEdge.start) || collapsedAncestorMap.has(rawEdge.end))) return;
852
+ if (rawEdge.style) styles.push(...rawEdge.style);
853
+ const edge = {
854
+ id: getEdgeId(start, end, {
855
+ counter: index,
856
+ prefix: "L"
857
+ }, rawEdge.id),
858
+ isUserDefinedId: rawEdge.isUserDefinedId,
859
+ start,
860
+ end,
861
+ type: rawEdge.type ?? "normal",
862
+ label: rawEdge.text,
863
+ labelType: rawEdge.labelType,
864
+ labelpos: "c",
865
+ thickness: rawEdge.stroke,
866
+ minlen: rawEdge.length,
867
+ classes: rawEdge?.stroke === "invisible" ? "" : "edge-thickness-normal edge-pattern-solid flowchart-link",
868
+ arrowTypeStart: rawEdge?.stroke === "invisible" || rawEdge?.type === "arrow_open" ? "none" : arrowTypeStart,
869
+ arrowTypeEnd: rawEdge?.stroke === "invisible" || rawEdge?.type === "arrow_open" ? "none" : arrowTypeEnd,
870
+ arrowheadStyle: "fill: #333",
871
+ cssCompiledStyles: this.getCompiledStyles(rawEdge.classes),
872
+ labelStyle: styles,
873
+ style: styles,
874
+ pattern: rawEdge.stroke,
875
+ look: config.look,
876
+ animate: rawEdge.animate,
877
+ animation: rawEdge.animation,
878
+ curve: rawEdge.interpolate || this.edges.defaultInterpolate || config.flowchart?.curve
879
+ };
880
+ edges.push(edge);
881
+ });
882
+ return {
883
+ nodes,
884
+ edges,
885
+ other: {},
886
+ config
887
+ };
888
+ }
889
+ defaultConfig() {
890
+ return defaultConfig2.flowchart;
891
+ }
892
+ };
893
+ var flowRenderer_v3_unified_default = {
894
+ getClasses: /* @__PURE__ */ __name(function(text, diagramObj) {
895
+ return diagramObj.db.getClasses();
896
+ }, "getClasses"),
897
+ draw: /* @__PURE__ */ __name(async function(text, id, _version, diag) {
898
+ log.info("REF0:");
899
+ log.info("Drawing state diagram (v2)", id);
900
+ const { securityLevel, flowchart: conf, layout } = getConfig2();
901
+ diag.db.setDiagramId(id);
902
+ log.debug("Before getData: ");
903
+ const data4Layout = diag.db.getData();
904
+ log.debug("Data: ", data4Layout);
905
+ const svg = getDiagramElement(id, securityLevel);
906
+ const direction = diag.db.getDirection();
907
+ data4Layout.type = diag.type;
908
+ data4Layout.layoutAlgorithm = getRegisteredLayoutAlgorithm(layout);
909
+ data4Layout.direction = direction;
910
+ data4Layout.nodeSpacing = conf?.nodeSpacing || 50;
911
+ data4Layout.rankSpacing = conf?.rankSpacing || 50;
912
+ data4Layout.markers = [
913
+ "point",
914
+ "circle",
915
+ "cross"
916
+ ];
917
+ data4Layout.diagramId = id;
918
+ log.debug("REF1:", data4Layout);
919
+ await render(data4Layout, svg);
920
+ const padding = data4Layout.config.flowchart?.diagramPadding ?? 8;
921
+ utils_default.insertTitle(svg, "flowchartTitleText", conf?.titleTopMargin || 0, diag.db.getDiagramTitle());
922
+ setupViewPortForSVG(svg, padding, "flowchart", conf?.useMaxWidth || false);
923
+ }, "draw")
924
+ };
925
+ var parser = (function() {
926
+ var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
927
+ for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v);
928
+ return o2;
929
+ }, "o"), $V0 = [1, 4], $V1 = [1, 3], $V2 = [1, 5], $V3 = [
930
+ 1,
931
+ 8,
932
+ 9,
933
+ 10,
934
+ 11,
935
+ 27,
936
+ 34,
937
+ 36,
938
+ 38,
939
+ 44,
940
+ 60,
941
+ 84,
942
+ 85,
943
+ 86,
944
+ 87,
945
+ 88,
946
+ 89,
947
+ 102,
948
+ 105,
949
+ 106,
950
+ 109,
951
+ 111,
952
+ 114,
953
+ 115,
954
+ 116,
955
+ 121,
956
+ 122,
957
+ 123,
958
+ 124,
959
+ 125
960
+ ], $V4 = [2, 2], $V5 = [1, 13], $V6 = [1, 14], $V7 = [1, 15], $V8 = [1, 16], $V9 = [1, 23], $Va = [1, 25], $Vb = [1, 26], $Vc = [1, 27], $Vd = [1, 50], $Ve = [1, 49], $Vf = [1, 29], $Vg = [1, 30], $Vh = [1, 31], $Vi = [1, 32], $Vj = [1, 33], $Vk = [1, 45], $Vl = [1, 47], $Vm = [1, 43], $Vn = [1, 48], $Vo = [1, 44], $Vp = [1, 51], $Vq = [1, 46], $Vr = [1, 52], $Vs = [1, 53], $Vt = [1, 34], $Vu = [1, 35], $Vv = [1, 36], $Vw = [1, 37], $Vx = [1, 38], $Vy = [1, 58], $Vz = [
961
+ 1,
962
+ 8,
963
+ 9,
964
+ 10,
965
+ 11,
966
+ 27,
967
+ 32,
968
+ 34,
969
+ 36,
970
+ 38,
971
+ 44,
972
+ 60,
973
+ 84,
974
+ 85,
975
+ 86,
976
+ 87,
977
+ 88,
978
+ 89,
979
+ 102,
980
+ 105,
981
+ 106,
982
+ 109,
983
+ 111,
984
+ 114,
985
+ 115,
986
+ 116,
987
+ 121,
988
+ 122,
989
+ 123,
990
+ 124,
991
+ 125
992
+ ], $VA = [1, 62], $VB = [1, 61], $VC = [1, 63], $VD = [
993
+ 8,
994
+ 9,
995
+ 11,
996
+ 75,
997
+ 77,
998
+ 78
999
+ ], $VE = [1, 79], $VF = [1, 92], $VG = [1, 97], $VH = [1, 96], $VI = [1, 93], $VJ = [1, 89], $VK = [1, 95], $VL = [1, 91], $VM = [1, 98], $VN = [1, 94], $VO = [1, 99], $VP = [1, 90], $VQ = [
1000
+ 8,
1001
+ 9,
1002
+ 10,
1003
+ 11,
1004
+ 40,
1005
+ 75,
1006
+ 77,
1007
+ 78
1008
+ ], $VR = [
1009
+ 8,
1010
+ 9,
1011
+ 10,
1012
+ 11,
1013
+ 40,
1014
+ 46,
1015
+ 75,
1016
+ 77,
1017
+ 78
1018
+ ], $VS = [
1019
+ 8,
1020
+ 9,
1021
+ 10,
1022
+ 11,
1023
+ 29,
1024
+ 40,
1025
+ 44,
1026
+ 46,
1027
+ 48,
1028
+ 50,
1029
+ 52,
1030
+ 54,
1031
+ 56,
1032
+ 58,
1033
+ 60,
1034
+ 63,
1035
+ 65,
1036
+ 67,
1037
+ 68,
1038
+ 70,
1039
+ 75,
1040
+ 77,
1041
+ 78,
1042
+ 89,
1043
+ 102,
1044
+ 105,
1045
+ 106,
1046
+ 109,
1047
+ 111,
1048
+ 114,
1049
+ 115,
1050
+ 116
1051
+ ], $VT = [
1052
+ 8,
1053
+ 9,
1054
+ 11,
1055
+ 44,
1056
+ 60,
1057
+ 75,
1058
+ 77,
1059
+ 78,
1060
+ 89,
1061
+ 102,
1062
+ 105,
1063
+ 106,
1064
+ 109,
1065
+ 111,
1066
+ 114,
1067
+ 115,
1068
+ 116
1069
+ ], $VU = [
1070
+ 44,
1071
+ 60,
1072
+ 89,
1073
+ 102,
1074
+ 105,
1075
+ 106,
1076
+ 109,
1077
+ 111,
1078
+ 114,
1079
+ 115,
1080
+ 116
1081
+ ], $VV = [1, 122], $VW = [1, 123], $VX = [1, 125], $VY = [1, 124], $VZ = [
1082
+ 44,
1083
+ 60,
1084
+ 62,
1085
+ 74,
1086
+ 89,
1087
+ 102,
1088
+ 105,
1089
+ 106,
1090
+ 109,
1091
+ 111,
1092
+ 114,
1093
+ 115,
1094
+ 116
1095
+ ], $V_ = [1, 134], $V$ = [1, 148], $V01 = [1, 149], $V11 = [1, 150], $V21 = [1, 151], $V31 = [1, 136], $V41 = [1, 138], $V51 = [1, 142], $V61 = [1, 143], $V71 = [1, 144], $V81 = [1, 145], $V91 = [1, 146], $Va1 = [1, 147], $Vb1 = [1, 152], $Vc1 = [1, 153], $Vd1 = [1, 132], $Ve1 = [1, 133], $Vf1 = [1, 140], $Vg1 = [1, 135], $Vh1 = [1, 139], $Vi1 = [1, 137], $Vj1 = [
1096
+ 8,
1097
+ 9,
1098
+ 10,
1099
+ 11,
1100
+ 27,
1101
+ 32,
1102
+ 34,
1103
+ 36,
1104
+ 38,
1105
+ 44,
1106
+ 60,
1107
+ 84,
1108
+ 85,
1109
+ 86,
1110
+ 87,
1111
+ 88,
1112
+ 89,
1113
+ 102,
1114
+ 105,
1115
+ 106,
1116
+ 109,
1117
+ 111,
1118
+ 114,
1119
+ 115,
1120
+ 116,
1121
+ 121,
1122
+ 122,
1123
+ 123,
1124
+ 124,
1125
+ 125
1126
+ ], $Vk1 = [1, 155], $Vl1 = [1, 157], $Vm1 = [
1127
+ 8,
1128
+ 9,
1129
+ 11
1130
+ ], $Vn1 = [
1131
+ 8,
1132
+ 9,
1133
+ 10,
1134
+ 11,
1135
+ 14,
1136
+ 44,
1137
+ 60,
1138
+ 89,
1139
+ 105,
1140
+ 106,
1141
+ 109,
1142
+ 111,
1143
+ 114,
1144
+ 115,
1145
+ 116
1146
+ ], $Vo1 = [1, 177], $Vp1 = [1, 173], $Vq1 = [1, 174], $Vr1 = [1, 178], $Vs1 = [1, 175], $Vt1 = [1, 176], $Vu1 = [
1147
+ 77,
1148
+ 116,
1149
+ 119
1150
+ ], $Vv1 = [
1151
+ 8,
1152
+ 9,
1153
+ 10,
1154
+ 11,
1155
+ 12,
1156
+ 14,
1157
+ 27,
1158
+ 29,
1159
+ 32,
1160
+ 44,
1161
+ 60,
1162
+ 75,
1163
+ 84,
1164
+ 85,
1165
+ 86,
1166
+ 87,
1167
+ 88,
1168
+ 89,
1169
+ 90,
1170
+ 105,
1171
+ 109,
1172
+ 111,
1173
+ 114,
1174
+ 115,
1175
+ 116
1176
+ ], $Vw1 = [10, 106], $Vx1 = [
1177
+ 31,
1178
+ 49,
1179
+ 51,
1180
+ 53,
1181
+ 55,
1182
+ 57,
1183
+ 62,
1184
+ 64,
1185
+ 66,
1186
+ 67,
1187
+ 69,
1188
+ 71,
1189
+ 116,
1190
+ 117,
1191
+ 118
1192
+ ], $Vy1 = [1, 248], $Vz1 = [1, 246], $VA1 = [1, 250], $VB1 = [1, 244], $VC1 = [1, 245], $VD1 = [1, 247], $VE1 = [1, 249], $VF1 = [1, 251], $VG1 = [1, 269], $VH1 = [
1193
+ 8,
1194
+ 9,
1195
+ 11,
1196
+ 106
1197
+ ], $VI1 = [
1198
+ 8,
1199
+ 9,
1200
+ 10,
1201
+ 11,
1202
+ 60,
1203
+ 84,
1204
+ 105,
1205
+ 106,
1206
+ 109,
1207
+ 110,
1208
+ 111,
1209
+ 112
1210
+ ];
1211
+ var parser2 = {
1212
+ trace: /* @__PURE__ */ __name(function trace() {}, "trace"),
1213
+ yy: {},
1214
+ symbols_: {
1215
+ "error": 2,
1216
+ "start": 3,
1217
+ "graphConfig": 4,
1218
+ "document": 5,
1219
+ "line": 6,
1220
+ "statement": 7,
1221
+ "SEMI": 8,
1222
+ "NEWLINE": 9,
1223
+ "SPACE": 10,
1224
+ "EOF": 11,
1225
+ "GRAPH": 12,
1226
+ "NODIR": 13,
1227
+ "DIR": 14,
1228
+ "FirstStmtSeparator": 15,
1229
+ "ending": 16,
1230
+ "endToken": 17,
1231
+ "spaceList": 18,
1232
+ "spaceListNewline": 19,
1233
+ "vertexStatement": 20,
1234
+ "separator": 21,
1235
+ "styleStatement": 22,
1236
+ "linkStyleStatement": 23,
1237
+ "classDefStatement": 24,
1238
+ "classStatement": 25,
1239
+ "clickStatement": 26,
1240
+ "subgraph": 27,
1241
+ "textNoTags": 28,
1242
+ "SQS": 29,
1243
+ "text": 30,
1244
+ "SQE": 31,
1245
+ "end": 32,
1246
+ "direction": 33,
1247
+ "acc_title": 34,
1248
+ "acc_title_value": 35,
1249
+ "acc_descr": 36,
1250
+ "acc_descr_value": 37,
1251
+ "acc_descr_multiline_value": 38,
1252
+ "shapeData": 39,
1253
+ "SHAPE_DATA": 40,
1254
+ "link": 41,
1255
+ "node": 42,
1256
+ "styledVertex": 43,
1257
+ "AMP": 44,
1258
+ "vertex": 45,
1259
+ "STYLE_SEPARATOR": 46,
1260
+ "idString": 47,
1261
+ "DOUBLECIRCLESTART": 48,
1262
+ "DOUBLECIRCLEEND": 49,
1263
+ "PS": 50,
1264
+ "PE": 51,
1265
+ "(-": 52,
1266
+ "-)": 53,
1267
+ "STADIUMSTART": 54,
1268
+ "STADIUMEND": 55,
1269
+ "SUBROUTINESTART": 56,
1270
+ "SUBROUTINEEND": 57,
1271
+ "VERTEX_WITH_PROPS_START": 58,
1272
+ "NODE_STRING[field]": 59,
1273
+ "COLON": 60,
1274
+ "NODE_STRING[value]": 61,
1275
+ "PIPE": 62,
1276
+ "CYLINDERSTART": 63,
1277
+ "CYLINDEREND": 64,
1278
+ "DIAMOND_START": 65,
1279
+ "DIAMOND_STOP": 66,
1280
+ "TAGEND": 67,
1281
+ "TRAPSTART": 68,
1282
+ "TRAPEND": 69,
1283
+ "INVTRAPSTART": 70,
1284
+ "INVTRAPEND": 71,
1285
+ "linkStatement": 72,
1286
+ "arrowText": 73,
1287
+ "TESTSTR": 74,
1288
+ "START_LINK": 75,
1289
+ "edgeText": 76,
1290
+ "LINK": 77,
1291
+ "LINK_ID": 78,
1292
+ "edgeTextToken": 79,
1293
+ "STR": 80,
1294
+ "MD_STR": 81,
1295
+ "textToken": 82,
1296
+ "keywords": 83,
1297
+ "STYLE": 84,
1298
+ "LINKSTYLE": 85,
1299
+ "CLASSDEF": 86,
1300
+ "CLASS": 87,
1301
+ "CLICK": 88,
1302
+ "DOWN": 89,
1303
+ "UP": 90,
1304
+ "textNoTagsToken": 91,
1305
+ "stylesOpt": 92,
1306
+ "idString[vertex]": 93,
1307
+ "idString[class]": 94,
1308
+ "CALLBACKNAME": 95,
1309
+ "CALLBACKARGS": 96,
1310
+ "HREF": 97,
1311
+ "LINK_TARGET": 98,
1312
+ "STR[link]": 99,
1313
+ "STR[tooltip]": 100,
1314
+ "alphaNum": 101,
1315
+ "DEFAULT": 102,
1316
+ "numList": 103,
1317
+ "INTERPOLATE": 104,
1318
+ "NUM": 105,
1319
+ "COMMA": 106,
1320
+ "style": 107,
1321
+ "styleComponent": 108,
1322
+ "NODE_STRING": 109,
1323
+ "UNIT": 110,
1324
+ "BRKT": 111,
1325
+ "PCT": 112,
1326
+ "idStringToken": 113,
1327
+ "MINUS": 114,
1328
+ "MULT": 115,
1329
+ "UNICODE_TEXT": 116,
1330
+ "TEXT": 117,
1331
+ "TAGSTART": 118,
1332
+ "EDGE_TEXT": 119,
1333
+ "alphaNumToken": 120,
1334
+ "direction_tb": 121,
1335
+ "direction_bt": 122,
1336
+ "direction_rl": 123,
1337
+ "direction_lr": 124,
1338
+ "direction_td": 125,
1339
+ "$accept": 0,
1340
+ "$end": 1
1341
+ },
1342
+ terminals_: {
1343
+ 2: "error",
1344
+ 8: "SEMI",
1345
+ 9: "NEWLINE",
1346
+ 10: "SPACE",
1347
+ 11: "EOF",
1348
+ 12: "GRAPH",
1349
+ 13: "NODIR",
1350
+ 14: "DIR",
1351
+ 27: "subgraph",
1352
+ 29: "SQS",
1353
+ 31: "SQE",
1354
+ 32: "end",
1355
+ 34: "acc_title",
1356
+ 35: "acc_title_value",
1357
+ 36: "acc_descr",
1358
+ 37: "acc_descr_value",
1359
+ 38: "acc_descr_multiline_value",
1360
+ 40: "SHAPE_DATA",
1361
+ 44: "AMP",
1362
+ 46: "STYLE_SEPARATOR",
1363
+ 48: "DOUBLECIRCLESTART",
1364
+ 49: "DOUBLECIRCLEEND",
1365
+ 50: "PS",
1366
+ 51: "PE",
1367
+ 52: "(-",
1368
+ 53: "-)",
1369
+ 54: "STADIUMSTART",
1370
+ 55: "STADIUMEND",
1371
+ 56: "SUBROUTINESTART",
1372
+ 57: "SUBROUTINEEND",
1373
+ 58: "VERTEX_WITH_PROPS_START",
1374
+ 59: "NODE_STRING[field]",
1375
+ 60: "COLON",
1376
+ 61: "NODE_STRING[value]",
1377
+ 62: "PIPE",
1378
+ 63: "CYLINDERSTART",
1379
+ 64: "CYLINDEREND",
1380
+ 65: "DIAMOND_START",
1381
+ 66: "DIAMOND_STOP",
1382
+ 67: "TAGEND",
1383
+ 68: "TRAPSTART",
1384
+ 69: "TRAPEND",
1385
+ 70: "INVTRAPSTART",
1386
+ 71: "INVTRAPEND",
1387
+ 74: "TESTSTR",
1388
+ 75: "START_LINK",
1389
+ 77: "LINK",
1390
+ 78: "LINK_ID",
1391
+ 80: "STR",
1392
+ 81: "MD_STR",
1393
+ 84: "STYLE",
1394
+ 85: "LINKSTYLE",
1395
+ 86: "CLASSDEF",
1396
+ 87: "CLASS",
1397
+ 88: "CLICK",
1398
+ 89: "DOWN",
1399
+ 90: "UP",
1400
+ 93: "idString[vertex]",
1401
+ 94: "idString[class]",
1402
+ 95: "CALLBACKNAME",
1403
+ 96: "CALLBACKARGS",
1404
+ 97: "HREF",
1405
+ 98: "LINK_TARGET",
1406
+ 99: "STR[link]",
1407
+ 100: "STR[tooltip]",
1408
+ 102: "DEFAULT",
1409
+ 104: "INTERPOLATE",
1410
+ 105: "NUM",
1411
+ 106: "COMMA",
1412
+ 109: "NODE_STRING",
1413
+ 110: "UNIT",
1414
+ 111: "BRKT",
1415
+ 112: "PCT",
1416
+ 114: "MINUS",
1417
+ 115: "MULT",
1418
+ 116: "UNICODE_TEXT",
1419
+ 117: "TEXT",
1420
+ 118: "TAGSTART",
1421
+ 119: "EDGE_TEXT",
1422
+ 121: "direction_tb",
1423
+ 122: "direction_bt",
1424
+ 123: "direction_rl",
1425
+ 124: "direction_lr",
1426
+ 125: "direction_td"
1427
+ },
1428
+ productions_: [
1429
+ 0,
1430
+ [3, 2],
1431
+ [5, 0],
1432
+ [5, 2],
1433
+ [6, 1],
1434
+ [6, 1],
1435
+ [6, 1],
1436
+ [6, 1],
1437
+ [6, 1],
1438
+ [4, 2],
1439
+ [4, 2],
1440
+ [4, 2],
1441
+ [4, 3],
1442
+ [16, 2],
1443
+ [16, 1],
1444
+ [17, 1],
1445
+ [17, 1],
1446
+ [17, 1],
1447
+ [15, 1],
1448
+ [15, 1],
1449
+ [15, 2],
1450
+ [19, 2],
1451
+ [19, 2],
1452
+ [19, 1],
1453
+ [19, 1],
1454
+ [18, 2],
1455
+ [18, 1],
1456
+ [7, 2],
1457
+ [7, 2],
1458
+ [7, 2],
1459
+ [7, 2],
1460
+ [7, 2],
1461
+ [7, 2],
1462
+ [7, 9],
1463
+ [7, 6],
1464
+ [7, 4],
1465
+ [7, 1],
1466
+ [7, 2],
1467
+ [7, 2],
1468
+ [7, 1],
1469
+ [21, 1],
1470
+ [21, 1],
1471
+ [21, 1],
1472
+ [39, 2],
1473
+ [39, 1],
1474
+ [20, 4],
1475
+ [20, 3],
1476
+ [20, 4],
1477
+ [20, 2],
1478
+ [20, 2],
1479
+ [20, 1],
1480
+ [42, 1],
1481
+ [42, 6],
1482
+ [42, 5],
1483
+ [43, 1],
1484
+ [43, 3],
1485
+ [45, 4],
1486
+ [45, 4],
1487
+ [45, 6],
1488
+ [45, 4],
1489
+ [45, 4],
1490
+ [45, 4],
1491
+ [45, 8],
1492
+ [45, 4],
1493
+ [45, 4],
1494
+ [45, 4],
1495
+ [45, 6],
1496
+ [45, 4],
1497
+ [45, 4],
1498
+ [45, 4],
1499
+ [45, 4],
1500
+ [45, 4],
1501
+ [45, 1],
1502
+ [41, 2],
1503
+ [41, 3],
1504
+ [41, 3],
1505
+ [41, 1],
1506
+ [41, 3],
1507
+ [41, 4],
1508
+ [76, 1],
1509
+ [76, 2],
1510
+ [76, 1],
1511
+ [76, 1],
1512
+ [72, 1],
1513
+ [72, 2],
1514
+ [73, 3],
1515
+ [30, 1],
1516
+ [30, 2],
1517
+ [30, 1],
1518
+ [30, 1],
1519
+ [83, 1],
1520
+ [83, 1],
1521
+ [83, 1],
1522
+ [83, 1],
1523
+ [83, 1],
1524
+ [83, 1],
1525
+ [83, 1],
1526
+ [83, 1],
1527
+ [83, 1],
1528
+ [83, 1],
1529
+ [83, 1],
1530
+ [28, 1],
1531
+ [28, 2],
1532
+ [28, 1],
1533
+ [28, 1],
1534
+ [24, 5],
1535
+ [25, 5],
1536
+ [26, 2],
1537
+ [26, 4],
1538
+ [26, 3],
1539
+ [26, 5],
1540
+ [26, 3],
1541
+ [26, 5],
1542
+ [26, 5],
1543
+ [26, 7],
1544
+ [26, 2],
1545
+ [26, 4],
1546
+ [26, 2],
1547
+ [26, 4],
1548
+ [26, 4],
1549
+ [26, 6],
1550
+ [22, 5],
1551
+ [23, 5],
1552
+ [23, 5],
1553
+ [23, 9],
1554
+ [23, 9],
1555
+ [23, 7],
1556
+ [23, 7],
1557
+ [103, 1],
1558
+ [103, 3],
1559
+ [92, 1],
1560
+ [92, 3],
1561
+ [107, 1],
1562
+ [107, 2],
1563
+ [108, 1],
1564
+ [108, 1],
1565
+ [108, 1],
1566
+ [108, 1],
1567
+ [108, 1],
1568
+ [108, 1],
1569
+ [108, 1],
1570
+ [108, 1],
1571
+ [113, 1],
1572
+ [113, 1],
1573
+ [113, 1],
1574
+ [113, 1],
1575
+ [113, 1],
1576
+ [113, 1],
1577
+ [113, 1],
1578
+ [113, 1],
1579
+ [113, 1],
1580
+ [113, 1],
1581
+ [113, 1],
1582
+ [82, 1],
1583
+ [82, 1],
1584
+ [82, 1],
1585
+ [82, 1],
1586
+ [91, 1],
1587
+ [91, 1],
1588
+ [91, 1],
1589
+ [91, 1],
1590
+ [91, 1],
1591
+ [91, 1],
1592
+ [91, 1],
1593
+ [91, 1],
1594
+ [91, 1],
1595
+ [91, 1],
1596
+ [91, 1],
1597
+ [79, 1],
1598
+ [79, 1],
1599
+ [120, 1],
1600
+ [120, 1],
1601
+ [120, 1],
1602
+ [120, 1],
1603
+ [120, 1],
1604
+ [120, 1],
1605
+ [120, 1],
1606
+ [120, 1],
1607
+ [120, 1],
1608
+ [120, 1],
1609
+ [120, 1],
1610
+ [47, 1],
1611
+ [47, 2],
1612
+ [101, 1],
1613
+ [101, 2],
1614
+ [33, 1],
1615
+ [33, 1],
1616
+ [33, 1],
1617
+ [33, 1],
1618
+ [33, 1]
1619
+ ],
1620
+ performAction: /* @__PURE__ */ __name(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
1621
+ var $0 = $$.length - 1;
1622
+ switch (yystate) {
1623
+ case 2:
1624
+ this.$ = [];
1625
+ break;
1626
+ case 3:
1627
+ if (!Array.isArray($$[$0]) || $$[$0].length > 0) $$[$0 - 1].push($$[$0]);
1628
+ this.$ = $$[$0 - 1];
1629
+ break;
1630
+ case 4:
1631
+ case 183:
1632
+ this.$ = $$[$0];
1633
+ break;
1634
+ case 11:
1635
+ yy.setDirection("TB");
1636
+ this.$ = "TB";
1637
+ break;
1638
+ case 12:
1639
+ yy.setDirection($$[$0 - 1]);
1640
+ this.$ = $$[$0 - 1];
1641
+ break;
1642
+ case 27:
1643
+ this.$ = $$[$0 - 1].nodes;
1644
+ break;
1645
+ case 28:
1646
+ case 29:
1647
+ case 30:
1648
+ case 31:
1649
+ case 32:
1650
+ this.$ = [];
1651
+ break;
1652
+ case 33:
1653
+ this.$ = yy.addSubGraph($$[$0 - 6], $$[$0 - 1], $$[$0 - 4]);
1654
+ break;
1655
+ case 34:
1656
+ this.$ = yy.addSubGraph($$[$0 - 3], $$[$0 - 1], $$[$0 - 3]);
1657
+ break;
1658
+ case 35:
1659
+ this.$ = yy.addSubGraph(void 0, $$[$0 - 1], void 0);
1660
+ break;
1661
+ case 37:
1662
+ this.$ = $$[$0].trim();
1663
+ yy.setAccTitle(this.$);
1664
+ break;
1665
+ case 38:
1666
+ case 39:
1667
+ this.$ = $$[$0].trim();
1668
+ yy.setAccDescription(this.$);
1669
+ break;
1670
+ case 43:
1671
+ this.$ = $$[$0 - 1] + $$[$0];
1672
+ break;
1673
+ case 44:
1674
+ this.$ = $$[$0];
1675
+ break;
1676
+ case 45:
1677
+ yy.addVertex($$[$0 - 1][$$[$0 - 1].length - 1], void 0, void 0, void 0, void 0, void 0, void 0, $$[$0]);
1678
+ yy.addLink($$[$0 - 3].stmt, $$[$0 - 1], $$[$0 - 2]);
1679
+ this.$ = {
1680
+ stmt: $$[$0 - 1],
1681
+ nodes: $$[$0 - 1].concat($$[$0 - 3].nodes)
1682
+ };
1683
+ break;
1684
+ case 46:
1685
+ yy.addLink($$[$0 - 2].stmt, $$[$0], $$[$0 - 1]);
1686
+ this.$ = {
1687
+ stmt: $$[$0],
1688
+ nodes: $$[$0].concat($$[$0 - 2].nodes)
1689
+ };
1690
+ break;
1691
+ case 47:
1692
+ yy.addLink($$[$0 - 3].stmt, $$[$0 - 1], $$[$0 - 2]);
1693
+ this.$ = {
1694
+ stmt: $$[$0 - 1],
1695
+ nodes: $$[$0 - 1].concat($$[$0 - 3].nodes)
1696
+ };
1697
+ break;
1698
+ case 48:
1699
+ this.$ = {
1700
+ stmt: $$[$0 - 1],
1701
+ nodes: $$[$0 - 1]
1702
+ };
1703
+ break;
1704
+ case 49:
1705
+ yy.addVertex($$[$0 - 1][$$[$0 - 1].length - 1], void 0, void 0, void 0, void 0, void 0, void 0, $$[$0]);
1706
+ this.$ = {
1707
+ stmt: $$[$0 - 1],
1708
+ nodes: $$[$0 - 1],
1709
+ shapeData: $$[$0]
1710
+ };
1711
+ break;
1712
+ case 50:
1713
+ this.$ = {
1714
+ stmt: $$[$0],
1715
+ nodes: $$[$0]
1716
+ };
1717
+ break;
1718
+ case 51:
1719
+ this.$ = [$$[$0]];
1720
+ break;
1721
+ case 52:
1722
+ yy.addVertex($$[$0 - 5][$$[$0 - 5].length - 1], void 0, void 0, void 0, void 0, void 0, void 0, $$[$0 - 4]);
1723
+ this.$ = $$[$0 - 5].concat($$[$0]);
1724
+ break;
1725
+ case 53:
1726
+ this.$ = $$[$0 - 4].concat($$[$0]);
1727
+ break;
1728
+ case 54:
1729
+ this.$ = $$[$0];
1730
+ break;
1731
+ case 55:
1732
+ this.$ = $$[$0 - 2];
1733
+ yy.setClass($$[$0 - 2], $$[$0]);
1734
+ break;
1735
+ case 56:
1736
+ this.$ = $$[$0 - 3];
1737
+ yy.addVertex($$[$0 - 3], $$[$0 - 1], "square");
1738
+ break;
1739
+ case 57:
1740
+ this.$ = $$[$0 - 3];
1741
+ yy.addVertex($$[$0 - 3], $$[$0 - 1], "doublecircle");
1742
+ break;
1743
+ case 58:
1744
+ this.$ = $$[$0 - 5];
1745
+ yy.addVertex($$[$0 - 5], $$[$0 - 2], "circle");
1746
+ break;
1747
+ case 59:
1748
+ this.$ = $$[$0 - 3];
1749
+ yy.addVertex($$[$0 - 3], $$[$0 - 1], "ellipse");
1750
+ break;
1751
+ case 60:
1752
+ this.$ = $$[$0 - 3];
1753
+ yy.addVertex($$[$0 - 3], $$[$0 - 1], "stadium");
1754
+ break;
1755
+ case 61:
1756
+ this.$ = $$[$0 - 3];
1757
+ yy.addVertex($$[$0 - 3], $$[$0 - 1], "subroutine");
1758
+ break;
1759
+ case 62:
1760
+ this.$ = $$[$0 - 7];
1761
+ yy.addVertex($$[$0 - 7], $$[$0 - 1], "rect", void 0, void 0, void 0, Object.fromEntries([[$$[$0 - 5], $$[$0 - 3]]]));
1762
+ break;
1763
+ case 63:
1764
+ this.$ = $$[$0 - 3];
1765
+ yy.addVertex($$[$0 - 3], $$[$0 - 1], "cylinder");
1766
+ break;
1767
+ case 64:
1768
+ this.$ = $$[$0 - 3];
1769
+ yy.addVertex($$[$0 - 3], $$[$0 - 1], "round");
1770
+ break;
1771
+ case 65:
1772
+ this.$ = $$[$0 - 3];
1773
+ yy.addVertex($$[$0 - 3], $$[$0 - 1], "diamond");
1774
+ break;
1775
+ case 66:
1776
+ this.$ = $$[$0 - 5];
1777
+ yy.addVertex($$[$0 - 5], $$[$0 - 2], "hexagon");
1778
+ break;
1779
+ case 67:
1780
+ this.$ = $$[$0 - 3];
1781
+ yy.addVertex($$[$0 - 3], $$[$0 - 1], "odd");
1782
+ break;
1783
+ case 68:
1784
+ this.$ = $$[$0 - 3];
1785
+ yy.addVertex($$[$0 - 3], $$[$0 - 1], "trapezoid");
1786
+ break;
1787
+ case 69:
1788
+ this.$ = $$[$0 - 3];
1789
+ yy.addVertex($$[$0 - 3], $$[$0 - 1], "inv_trapezoid");
1790
+ break;
1791
+ case 70:
1792
+ this.$ = $$[$0 - 3];
1793
+ yy.addVertex($$[$0 - 3], $$[$0 - 1], "lean_right");
1794
+ break;
1795
+ case 71:
1796
+ this.$ = $$[$0 - 3];
1797
+ yy.addVertex($$[$0 - 3], $$[$0 - 1], "lean_left");
1798
+ break;
1799
+ case 72:
1800
+ this.$ = $$[$0];
1801
+ yy.addVertex($$[$0]);
1802
+ break;
1803
+ case 73:
1804
+ $$[$0 - 1].text = $$[$0];
1805
+ this.$ = $$[$0 - 1];
1806
+ break;
1807
+ case 74:
1808
+ case 75:
1809
+ $$[$0 - 2].text = $$[$0 - 1];
1810
+ this.$ = $$[$0 - 2];
1811
+ break;
1812
+ case 76:
1813
+ this.$ = $$[$0];
1814
+ break;
1815
+ case 77:
1816
+ var inf = yy.destructLink($$[$0], $$[$0 - 2]);
1817
+ this.$ = {
1818
+ "type": inf.type,
1819
+ "stroke": inf.stroke,
1820
+ "length": inf.length,
1821
+ "text": $$[$0 - 1]
1822
+ };
1823
+ break;
1824
+ case 78:
1825
+ var inf = yy.destructLink($$[$0], $$[$0 - 2]);
1826
+ this.$ = {
1827
+ "type": inf.type,
1828
+ "stroke": inf.stroke,
1829
+ "length": inf.length,
1830
+ "text": $$[$0 - 1],
1831
+ "id": $$[$0 - 3]
1832
+ };
1833
+ break;
1834
+ case 79:
1835
+ this.$ = {
1836
+ text: $$[$0],
1837
+ type: "text"
1838
+ };
1839
+ break;
1840
+ case 80:
1841
+ this.$ = {
1842
+ text: $$[$0 - 1].text + "" + $$[$0],
1843
+ type: $$[$0 - 1].type
1844
+ };
1845
+ break;
1846
+ case 81:
1847
+ this.$ = {
1848
+ text: $$[$0],
1849
+ type: "string"
1850
+ };
1851
+ break;
1852
+ case 82:
1853
+ this.$ = {
1854
+ text: $$[$0],
1855
+ type: "markdown"
1856
+ };
1857
+ break;
1858
+ case 83:
1859
+ var inf = yy.destructLink($$[$0]);
1860
+ this.$ = {
1861
+ "type": inf.type,
1862
+ "stroke": inf.stroke,
1863
+ "length": inf.length
1864
+ };
1865
+ break;
1866
+ case 84:
1867
+ var inf = yy.destructLink($$[$0]);
1868
+ this.$ = {
1869
+ "type": inf.type,
1870
+ "stroke": inf.stroke,
1871
+ "length": inf.length,
1872
+ "id": $$[$0 - 1]
1873
+ };
1874
+ break;
1875
+ case 85:
1876
+ this.$ = $$[$0 - 1];
1877
+ break;
1878
+ case 86:
1879
+ this.$ = {
1880
+ text: $$[$0],
1881
+ type: "text"
1882
+ };
1883
+ break;
1884
+ case 87:
1885
+ this.$ = {
1886
+ text: $$[$0 - 1].text + "" + $$[$0],
1887
+ type: $$[$0 - 1].type
1888
+ };
1889
+ break;
1890
+ case 88:
1891
+ this.$ = {
1892
+ text: $$[$0],
1893
+ type: "string"
1894
+ };
1895
+ break;
1896
+ case 89:
1897
+ case 104:
1898
+ this.$ = {
1899
+ text: $$[$0],
1900
+ type: "markdown"
1901
+ };
1902
+ break;
1903
+ case 101:
1904
+ this.$ = {
1905
+ text: $$[$0],
1906
+ type: "text"
1907
+ };
1908
+ break;
1909
+ case 102:
1910
+ this.$ = {
1911
+ text: $$[$0 - 1].text + "" + $$[$0],
1912
+ type: $$[$0 - 1].type
1913
+ };
1914
+ break;
1915
+ case 103:
1916
+ this.$ = {
1917
+ text: $$[$0],
1918
+ type: "text"
1919
+ };
1920
+ break;
1921
+ case 105:
1922
+ this.$ = $$[$0 - 4];
1923
+ yy.addClass($$[$0 - 2], $$[$0]);
1924
+ break;
1925
+ case 106:
1926
+ this.$ = $$[$0 - 4];
1927
+ yy.setClass($$[$0 - 2], $$[$0]);
1928
+ break;
1929
+ case 107:
1930
+ case 115:
1931
+ this.$ = $$[$0 - 1];
1932
+ yy.setClickEvent($$[$0 - 1], $$[$0]);
1933
+ break;
1934
+ case 108:
1935
+ case 116:
1936
+ this.$ = $$[$0 - 3];
1937
+ yy.setClickEvent($$[$0 - 3], $$[$0 - 2]);
1938
+ yy.setTooltip($$[$0 - 3], $$[$0]);
1939
+ break;
1940
+ case 109:
1941
+ this.$ = $$[$0 - 2];
1942
+ yy.setClickEvent($$[$0 - 2], $$[$0 - 1], $$[$0]);
1943
+ break;
1944
+ case 110:
1945
+ this.$ = $$[$0 - 4];
1946
+ yy.setClickEvent($$[$0 - 4], $$[$0 - 3], $$[$0 - 2]);
1947
+ yy.setTooltip($$[$0 - 4], $$[$0]);
1948
+ break;
1949
+ case 111:
1950
+ this.$ = $$[$0 - 2];
1951
+ yy.setLink($$[$0 - 2], $$[$0]);
1952
+ break;
1953
+ case 112:
1954
+ this.$ = $$[$0 - 4];
1955
+ yy.setLink($$[$0 - 4], $$[$0 - 2]);
1956
+ yy.setTooltip($$[$0 - 4], $$[$0]);
1957
+ break;
1958
+ case 113:
1959
+ this.$ = $$[$0 - 4];
1960
+ yy.setLink($$[$0 - 4], $$[$0 - 2], $$[$0]);
1961
+ break;
1962
+ case 114:
1963
+ this.$ = $$[$0 - 6];
1964
+ yy.setLink($$[$0 - 6], $$[$0 - 4], $$[$0]);
1965
+ yy.setTooltip($$[$0 - 6], $$[$0 - 2]);
1966
+ break;
1967
+ case 117:
1968
+ this.$ = $$[$0 - 1];
1969
+ yy.setLink($$[$0 - 1], $$[$0]);
1970
+ break;
1971
+ case 118:
1972
+ this.$ = $$[$0 - 3];
1973
+ yy.setLink($$[$0 - 3], $$[$0 - 2]);
1974
+ yy.setTooltip($$[$0 - 3], $$[$0]);
1975
+ break;
1976
+ case 119:
1977
+ this.$ = $$[$0 - 3];
1978
+ yy.setLink($$[$0 - 3], $$[$0 - 2], $$[$0]);
1979
+ break;
1980
+ case 120:
1981
+ this.$ = $$[$0 - 5];
1982
+ yy.setLink($$[$0 - 5], $$[$0 - 4], $$[$0]);
1983
+ yy.setTooltip($$[$0 - 5], $$[$0 - 2]);
1984
+ break;
1985
+ case 121:
1986
+ this.$ = $$[$0 - 4];
1987
+ yy.addVertex($$[$0 - 2], void 0, void 0, $$[$0]);
1988
+ break;
1989
+ case 122:
1990
+ this.$ = $$[$0 - 4];
1991
+ yy.updateLink([$$[$0 - 2]], $$[$0]);
1992
+ break;
1993
+ case 123:
1994
+ this.$ = $$[$0 - 4];
1995
+ yy.updateLink($$[$0 - 2], $$[$0]);
1996
+ break;
1997
+ case 124:
1998
+ this.$ = $$[$0 - 8];
1999
+ yy.updateLinkInterpolate([$$[$0 - 6]], $$[$0 - 2]);
2000
+ yy.updateLink([$$[$0 - 6]], $$[$0]);
2001
+ break;
2002
+ case 125:
2003
+ this.$ = $$[$0 - 8];
2004
+ yy.updateLinkInterpolate($$[$0 - 6], $$[$0 - 2]);
2005
+ yy.updateLink($$[$0 - 6], $$[$0]);
2006
+ break;
2007
+ case 126:
2008
+ this.$ = $$[$0 - 6];
2009
+ yy.updateLinkInterpolate([$$[$0 - 4]], $$[$0]);
2010
+ break;
2011
+ case 127:
2012
+ this.$ = $$[$0 - 6];
2013
+ yy.updateLinkInterpolate($$[$0 - 4], $$[$0]);
2014
+ break;
2015
+ case 128:
2016
+ case 130:
2017
+ this.$ = [$$[$0]];
2018
+ break;
2019
+ case 129:
2020
+ case 131:
2021
+ $$[$0 - 2].push($$[$0]);
2022
+ this.$ = $$[$0 - 2];
2023
+ break;
2024
+ case 133:
2025
+ this.$ = $$[$0 - 1] + $$[$0];
2026
+ break;
2027
+ case 181:
2028
+ this.$ = $$[$0];
2029
+ break;
2030
+ case 182:
2031
+ this.$ = $$[$0 - 1] + "" + $$[$0];
2032
+ break;
2033
+ case 184:
2034
+ this.$ = $$[$0 - 1] + "" + $$[$0];
2035
+ break;
2036
+ case 185:
2037
+ this.$ = {
2038
+ stmt: "dir",
2039
+ value: "TB"
2040
+ };
2041
+ break;
2042
+ case 186:
2043
+ this.$ = {
2044
+ stmt: "dir",
2045
+ value: "BT"
2046
+ };
2047
+ break;
2048
+ case 187:
2049
+ this.$ = {
2050
+ stmt: "dir",
2051
+ value: "RL"
2052
+ };
2053
+ break;
2054
+ case 188:
2055
+ this.$ = {
2056
+ stmt: "dir",
2057
+ value: "LR"
2058
+ };
2059
+ break;
2060
+ case 189:
2061
+ this.$ = {
2062
+ stmt: "dir",
2063
+ value: "TD"
2064
+ };
2065
+ break;
2066
+ }
2067
+ }, "anonymous"),
2068
+ table: [
2069
+ {
2070
+ 3: 1,
2071
+ 4: 2,
2072
+ 9: $V0,
2073
+ 10: $V1,
2074
+ 12: $V2
2075
+ },
2076
+ { 1: [3] },
2077
+ o($V3, $V4, { 5: 6 }),
2078
+ {
2079
+ 4: 7,
2080
+ 9: $V0,
2081
+ 10: $V1,
2082
+ 12: $V2
2083
+ },
2084
+ {
2085
+ 4: 8,
2086
+ 9: $V0,
2087
+ 10: $V1,
2088
+ 12: $V2
2089
+ },
2090
+ {
2091
+ 13: [1, 9],
2092
+ 14: [1, 10]
2093
+ },
2094
+ {
2095
+ 1: [2, 1],
2096
+ 6: 11,
2097
+ 7: 12,
2098
+ 8: $V5,
2099
+ 9: $V6,
2100
+ 10: $V7,
2101
+ 11: $V8,
2102
+ 20: 17,
2103
+ 22: 18,
2104
+ 23: 19,
2105
+ 24: 20,
2106
+ 25: 21,
2107
+ 26: 22,
2108
+ 27: $V9,
2109
+ 33: 24,
2110
+ 34: $Va,
2111
+ 36: $Vb,
2112
+ 38: $Vc,
2113
+ 42: 28,
2114
+ 43: 39,
2115
+ 44: $Vd,
2116
+ 45: 40,
2117
+ 47: 41,
2118
+ 60: $Ve,
2119
+ 84: $Vf,
2120
+ 85: $Vg,
2121
+ 86: $Vh,
2122
+ 87: $Vi,
2123
+ 88: $Vj,
2124
+ 89: $Vk,
2125
+ 102: $Vl,
2126
+ 105: $Vm,
2127
+ 106: $Vn,
2128
+ 109: $Vo,
2129
+ 111: $Vp,
2130
+ 113: 42,
2131
+ 114: $Vq,
2132
+ 115: $Vr,
2133
+ 116: $Vs,
2134
+ 121: $Vt,
2135
+ 122: $Vu,
2136
+ 123: $Vv,
2137
+ 124: $Vw,
2138
+ 125: $Vx
2139
+ },
2140
+ o($V3, [2, 9]),
2141
+ o($V3, [2, 10]),
2142
+ o($V3, [2, 11]),
2143
+ {
2144
+ 8: [1, 55],
2145
+ 9: [1, 56],
2146
+ 10: $Vy,
2147
+ 15: 54,
2148
+ 18: 57
2149
+ },
2150
+ o($Vz, [2, 3]),
2151
+ o($Vz, [2, 4]),
2152
+ o($Vz, [2, 5]),
2153
+ o($Vz, [2, 6]),
2154
+ o($Vz, [2, 7]),
2155
+ o($Vz, [2, 8]),
2156
+ {
2157
+ 8: $VA,
2158
+ 9: $VB,
2159
+ 11: $VC,
2160
+ 21: 59,
2161
+ 41: 60,
2162
+ 72: 64,
2163
+ 75: [1, 65],
2164
+ 77: [1, 67],
2165
+ 78: [1, 66]
2166
+ },
2167
+ {
2168
+ 8: $VA,
2169
+ 9: $VB,
2170
+ 11: $VC,
2171
+ 21: 68
2172
+ },
2173
+ {
2174
+ 8: $VA,
2175
+ 9: $VB,
2176
+ 11: $VC,
2177
+ 21: 69
2178
+ },
2179
+ {
2180
+ 8: $VA,
2181
+ 9: $VB,
2182
+ 11: $VC,
2183
+ 21: 70
2184
+ },
2185
+ {
2186
+ 8: $VA,
2187
+ 9: $VB,
2188
+ 11: $VC,
2189
+ 21: 71
2190
+ },
2191
+ {
2192
+ 8: $VA,
2193
+ 9: $VB,
2194
+ 11: $VC,
2195
+ 21: 72
2196
+ },
2197
+ {
2198
+ 8: $VA,
2199
+ 9: $VB,
2200
+ 10: [1, 73],
2201
+ 11: $VC,
2202
+ 21: 74
2203
+ },
2204
+ o($Vz, [2, 36]),
2205
+ { 35: [1, 75] },
2206
+ { 37: [1, 76] },
2207
+ o($Vz, [2, 39]),
2208
+ o($VD, [2, 50], {
2209
+ 18: 77,
2210
+ 39: 78,
2211
+ 10: $Vy,
2212
+ 40: $VE
2213
+ }),
2214
+ { 10: [1, 80] },
2215
+ { 10: [1, 81] },
2216
+ { 10: [1, 82] },
2217
+ { 10: [1, 83] },
2218
+ {
2219
+ 14: $VF,
2220
+ 44: $VG,
2221
+ 60: $VH,
2222
+ 80: [1, 87],
2223
+ 89: $VI,
2224
+ 95: [1, 84],
2225
+ 97: [1, 85],
2226
+ 101: 86,
2227
+ 105: $VJ,
2228
+ 106: $VK,
2229
+ 109: $VL,
2230
+ 111: $VM,
2231
+ 114: $VN,
2232
+ 115: $VO,
2233
+ 116: $VP,
2234
+ 120: 88
2235
+ },
2236
+ o($Vz, [2, 185]),
2237
+ o($Vz, [2, 186]),
2238
+ o($Vz, [2, 187]),
2239
+ o($Vz, [2, 188]),
2240
+ o($Vz, [2, 189]),
2241
+ o($VQ, [2, 51]),
2242
+ o($VQ, [2, 54], { 46: [1, 100] }),
2243
+ o($VR, [2, 72], {
2244
+ 113: 113,
2245
+ 29: [1, 101],
2246
+ 44: $Vd,
2247
+ 48: [1, 102],
2248
+ 50: [1, 103],
2249
+ 52: [1, 104],
2250
+ 54: [1, 105],
2251
+ 56: [1, 106],
2252
+ 58: [1, 107],
2253
+ 60: $Ve,
2254
+ 63: [1, 108],
2255
+ 65: [1, 109],
2256
+ 67: [1, 110],
2257
+ 68: [1, 111],
2258
+ 70: [1, 112],
2259
+ 89: $Vk,
2260
+ 102: $Vl,
2261
+ 105: $Vm,
2262
+ 106: $Vn,
2263
+ 109: $Vo,
2264
+ 111: $Vp,
2265
+ 114: $Vq,
2266
+ 115: $Vr,
2267
+ 116: $Vs
2268
+ }),
2269
+ o($VS, [2, 181]),
2270
+ o($VS, [2, 142]),
2271
+ o($VS, [2, 143]),
2272
+ o($VS, [2, 144]),
2273
+ o($VS, [2, 145]),
2274
+ o($VS, [2, 146]),
2275
+ o($VS, [2, 147]),
2276
+ o($VS, [2, 148]),
2277
+ o($VS, [2, 149]),
2278
+ o($VS, [2, 150]),
2279
+ o($VS, [2, 151]),
2280
+ o($VS, [2, 152]),
2281
+ o($V3, [2, 12]),
2282
+ o($V3, [2, 18]),
2283
+ o($V3, [2, 19]),
2284
+ { 9: [1, 114] },
2285
+ o($VT, [2, 26], {
2286
+ 18: 115,
2287
+ 10: $Vy
2288
+ }),
2289
+ o($Vz, [2, 27]),
2290
+ {
2291
+ 42: 116,
2292
+ 43: 39,
2293
+ 44: $Vd,
2294
+ 45: 40,
2295
+ 47: 41,
2296
+ 60: $Ve,
2297
+ 89: $Vk,
2298
+ 102: $Vl,
2299
+ 105: $Vm,
2300
+ 106: $Vn,
2301
+ 109: $Vo,
2302
+ 111: $Vp,
2303
+ 113: 42,
2304
+ 114: $Vq,
2305
+ 115: $Vr,
2306
+ 116: $Vs
2307
+ },
2308
+ o($Vz, [2, 40]),
2309
+ o($Vz, [2, 41]),
2310
+ o($Vz, [2, 42]),
2311
+ o($VU, [2, 76], {
2312
+ 73: 117,
2313
+ 62: [1, 119],
2314
+ 74: [1, 118]
2315
+ }),
2316
+ {
2317
+ 76: 120,
2318
+ 79: 121,
2319
+ 80: $VV,
2320
+ 81: $VW,
2321
+ 116: $VX,
2322
+ 119: $VY
2323
+ },
2324
+ {
2325
+ 75: [1, 126],
2326
+ 77: [1, 127]
2327
+ },
2328
+ o($VZ, [2, 83]),
2329
+ o($Vz, [2, 28]),
2330
+ o($Vz, [2, 29]),
2331
+ o($Vz, [2, 30]),
2332
+ o($Vz, [2, 31]),
2333
+ o($Vz, [2, 32]),
2334
+ {
2335
+ 10: $V_,
2336
+ 12: $V$,
2337
+ 14: $V01,
2338
+ 27: $V11,
2339
+ 28: 128,
2340
+ 32: $V21,
2341
+ 44: $V31,
2342
+ 60: $V41,
2343
+ 75: $V51,
2344
+ 80: [1, 130],
2345
+ 81: [1, 131],
2346
+ 83: 141,
2347
+ 84: $V61,
2348
+ 85: $V71,
2349
+ 86: $V81,
2350
+ 87: $V91,
2351
+ 88: $Va1,
2352
+ 89: $Vb1,
2353
+ 90: $Vc1,
2354
+ 91: 129,
2355
+ 105: $Vd1,
2356
+ 109: $Ve1,
2357
+ 111: $Vf1,
2358
+ 114: $Vg1,
2359
+ 115: $Vh1,
2360
+ 116: $Vi1
2361
+ },
2362
+ o($Vj1, $V4, { 5: 154 }),
2363
+ o($Vz, [2, 37]),
2364
+ o($Vz, [2, 38]),
2365
+ o($VD, [2, 48], { 44: $Vk1 }),
2366
+ o($VD, [2, 49], {
2367
+ 18: 156,
2368
+ 10: $Vy,
2369
+ 40: $Vl1
2370
+ }),
2371
+ o($VQ, [2, 44]),
2372
+ {
2373
+ 44: $Vd,
2374
+ 47: 158,
2375
+ 60: $Ve,
2376
+ 89: $Vk,
2377
+ 102: $Vl,
2378
+ 105: $Vm,
2379
+ 106: $Vn,
2380
+ 109: $Vo,
2381
+ 111: $Vp,
2382
+ 113: 42,
2383
+ 114: $Vq,
2384
+ 115: $Vr,
2385
+ 116: $Vs
2386
+ },
2387
+ {
2388
+ 102: [1, 159],
2389
+ 103: 160,
2390
+ 105: [1, 161]
2391
+ },
2392
+ {
2393
+ 44: $Vd,
2394
+ 47: 162,
2395
+ 60: $Ve,
2396
+ 89: $Vk,
2397
+ 102: $Vl,
2398
+ 105: $Vm,
2399
+ 106: $Vn,
2400
+ 109: $Vo,
2401
+ 111: $Vp,
2402
+ 113: 42,
2403
+ 114: $Vq,
2404
+ 115: $Vr,
2405
+ 116: $Vs
2406
+ },
2407
+ {
2408
+ 44: $Vd,
2409
+ 47: 163,
2410
+ 60: $Ve,
2411
+ 89: $Vk,
2412
+ 102: $Vl,
2413
+ 105: $Vm,
2414
+ 106: $Vn,
2415
+ 109: $Vo,
2416
+ 111: $Vp,
2417
+ 113: 42,
2418
+ 114: $Vq,
2419
+ 115: $Vr,
2420
+ 116: $Vs
2421
+ },
2422
+ o($Vm1, [2, 107], {
2423
+ 10: [1, 164],
2424
+ 96: [1, 165]
2425
+ }),
2426
+ { 80: [1, 166] },
2427
+ o($Vm1, [2, 115], {
2428
+ 120: 168,
2429
+ 10: [1, 167],
2430
+ 14: $VF,
2431
+ 44: $VG,
2432
+ 60: $VH,
2433
+ 89: $VI,
2434
+ 105: $VJ,
2435
+ 106: $VK,
2436
+ 109: $VL,
2437
+ 111: $VM,
2438
+ 114: $VN,
2439
+ 115: $VO,
2440
+ 116: $VP
2441
+ }),
2442
+ o($Vm1, [2, 117], { 10: [1, 169] }),
2443
+ o($Vn1, [2, 183]),
2444
+ o($Vn1, [2, 170]),
2445
+ o($Vn1, [2, 171]),
2446
+ o($Vn1, [2, 172]),
2447
+ o($Vn1, [2, 173]),
2448
+ o($Vn1, [2, 174]),
2449
+ o($Vn1, [2, 175]),
2450
+ o($Vn1, [2, 176]),
2451
+ o($Vn1, [2, 177]),
2452
+ o($Vn1, [2, 178]),
2453
+ o($Vn1, [2, 179]),
2454
+ o($Vn1, [2, 180]),
2455
+ {
2456
+ 44: $Vd,
2457
+ 47: 170,
2458
+ 60: $Ve,
2459
+ 89: $Vk,
2460
+ 102: $Vl,
2461
+ 105: $Vm,
2462
+ 106: $Vn,
2463
+ 109: $Vo,
2464
+ 111: $Vp,
2465
+ 113: 42,
2466
+ 114: $Vq,
2467
+ 115: $Vr,
2468
+ 116: $Vs
2469
+ },
2470
+ {
2471
+ 30: 171,
2472
+ 67: $Vo1,
2473
+ 80: $Vp1,
2474
+ 81: $Vq1,
2475
+ 82: 172,
2476
+ 116: $Vr1,
2477
+ 117: $Vs1,
2478
+ 118: $Vt1
2479
+ },
2480
+ {
2481
+ 30: 179,
2482
+ 67: $Vo1,
2483
+ 80: $Vp1,
2484
+ 81: $Vq1,
2485
+ 82: 172,
2486
+ 116: $Vr1,
2487
+ 117: $Vs1,
2488
+ 118: $Vt1
2489
+ },
2490
+ {
2491
+ 30: 181,
2492
+ 50: [1, 180],
2493
+ 67: $Vo1,
2494
+ 80: $Vp1,
2495
+ 81: $Vq1,
2496
+ 82: 172,
2497
+ 116: $Vr1,
2498
+ 117: $Vs1,
2499
+ 118: $Vt1
2500
+ },
2501
+ {
2502
+ 30: 182,
2503
+ 67: $Vo1,
2504
+ 80: $Vp1,
2505
+ 81: $Vq1,
2506
+ 82: 172,
2507
+ 116: $Vr1,
2508
+ 117: $Vs1,
2509
+ 118: $Vt1
2510
+ },
2511
+ {
2512
+ 30: 183,
2513
+ 67: $Vo1,
2514
+ 80: $Vp1,
2515
+ 81: $Vq1,
2516
+ 82: 172,
2517
+ 116: $Vr1,
2518
+ 117: $Vs1,
2519
+ 118: $Vt1
2520
+ },
2521
+ {
2522
+ 30: 184,
2523
+ 67: $Vo1,
2524
+ 80: $Vp1,
2525
+ 81: $Vq1,
2526
+ 82: 172,
2527
+ 116: $Vr1,
2528
+ 117: $Vs1,
2529
+ 118: $Vt1
2530
+ },
2531
+ { 109: [1, 185] },
2532
+ {
2533
+ 30: 186,
2534
+ 67: $Vo1,
2535
+ 80: $Vp1,
2536
+ 81: $Vq1,
2537
+ 82: 172,
2538
+ 116: $Vr1,
2539
+ 117: $Vs1,
2540
+ 118: $Vt1
2541
+ },
2542
+ {
2543
+ 30: 187,
2544
+ 65: [1, 188],
2545
+ 67: $Vo1,
2546
+ 80: $Vp1,
2547
+ 81: $Vq1,
2548
+ 82: 172,
2549
+ 116: $Vr1,
2550
+ 117: $Vs1,
2551
+ 118: $Vt1
2552
+ },
2553
+ {
2554
+ 30: 189,
2555
+ 67: $Vo1,
2556
+ 80: $Vp1,
2557
+ 81: $Vq1,
2558
+ 82: 172,
2559
+ 116: $Vr1,
2560
+ 117: $Vs1,
2561
+ 118: $Vt1
2562
+ },
2563
+ {
2564
+ 30: 190,
2565
+ 67: $Vo1,
2566
+ 80: $Vp1,
2567
+ 81: $Vq1,
2568
+ 82: 172,
2569
+ 116: $Vr1,
2570
+ 117: $Vs1,
2571
+ 118: $Vt1
2572
+ },
2573
+ {
2574
+ 30: 191,
2575
+ 67: $Vo1,
2576
+ 80: $Vp1,
2577
+ 81: $Vq1,
2578
+ 82: 172,
2579
+ 116: $Vr1,
2580
+ 117: $Vs1,
2581
+ 118: $Vt1
2582
+ },
2583
+ o($VS, [2, 182]),
2584
+ o($V3, [2, 20]),
2585
+ o($VT, [2, 25]),
2586
+ o($VD, [2, 46], {
2587
+ 39: 192,
2588
+ 18: 193,
2589
+ 10: $Vy,
2590
+ 40: $VE
2591
+ }),
2592
+ o($VU, [2, 73], { 10: [1, 194] }),
2593
+ { 10: [1, 195] },
2594
+ {
2595
+ 30: 196,
2596
+ 67: $Vo1,
2597
+ 80: $Vp1,
2598
+ 81: $Vq1,
2599
+ 82: 172,
2600
+ 116: $Vr1,
2601
+ 117: $Vs1,
2602
+ 118: $Vt1
2603
+ },
2604
+ {
2605
+ 77: [1, 197],
2606
+ 79: 198,
2607
+ 116: $VX,
2608
+ 119: $VY
2609
+ },
2610
+ o($Vu1, [2, 79]),
2611
+ o($Vu1, [2, 81]),
2612
+ o($Vu1, [2, 82]),
2613
+ o($Vu1, [2, 168]),
2614
+ o($Vu1, [2, 169]),
2615
+ {
2616
+ 76: 199,
2617
+ 79: 121,
2618
+ 80: $VV,
2619
+ 81: $VW,
2620
+ 116: $VX,
2621
+ 119: $VY
2622
+ },
2623
+ o($VZ, [2, 84]),
2624
+ {
2625
+ 8: $VA,
2626
+ 9: $VB,
2627
+ 10: $V_,
2628
+ 11: $VC,
2629
+ 12: $V$,
2630
+ 14: $V01,
2631
+ 21: 201,
2632
+ 27: $V11,
2633
+ 29: [1, 200],
2634
+ 32: $V21,
2635
+ 44: $V31,
2636
+ 60: $V41,
2637
+ 75: $V51,
2638
+ 83: 141,
2639
+ 84: $V61,
2640
+ 85: $V71,
2641
+ 86: $V81,
2642
+ 87: $V91,
2643
+ 88: $Va1,
2644
+ 89: $Vb1,
2645
+ 90: $Vc1,
2646
+ 91: 202,
2647
+ 105: $Vd1,
2648
+ 109: $Ve1,
2649
+ 111: $Vf1,
2650
+ 114: $Vg1,
2651
+ 115: $Vh1,
2652
+ 116: $Vi1
2653
+ },
2654
+ o($Vv1, [2, 101]),
2655
+ o($Vv1, [2, 103]),
2656
+ o($Vv1, [2, 104]),
2657
+ o($Vv1, [2, 157]),
2658
+ o($Vv1, [2, 158]),
2659
+ o($Vv1, [2, 159]),
2660
+ o($Vv1, [2, 160]),
2661
+ o($Vv1, [2, 161]),
2662
+ o($Vv1, [2, 162]),
2663
+ o($Vv1, [2, 163]),
2664
+ o($Vv1, [2, 164]),
2665
+ o($Vv1, [2, 165]),
2666
+ o($Vv1, [2, 166]),
2667
+ o($Vv1, [2, 167]),
2668
+ o($Vv1, [2, 90]),
2669
+ o($Vv1, [2, 91]),
2670
+ o($Vv1, [2, 92]),
2671
+ o($Vv1, [2, 93]),
2672
+ o($Vv1, [2, 94]),
2673
+ o($Vv1, [2, 95]),
2674
+ o($Vv1, [2, 96]),
2675
+ o($Vv1, [2, 97]),
2676
+ o($Vv1, [2, 98]),
2677
+ o($Vv1, [2, 99]),
2678
+ o($Vv1, [2, 100]),
2679
+ {
2680
+ 6: 11,
2681
+ 7: 12,
2682
+ 8: $V5,
2683
+ 9: $V6,
2684
+ 10: $V7,
2685
+ 11: $V8,
2686
+ 20: 17,
2687
+ 22: 18,
2688
+ 23: 19,
2689
+ 24: 20,
2690
+ 25: 21,
2691
+ 26: 22,
2692
+ 27: $V9,
2693
+ 32: [1, 203],
2694
+ 33: 24,
2695
+ 34: $Va,
2696
+ 36: $Vb,
2697
+ 38: $Vc,
2698
+ 42: 28,
2699
+ 43: 39,
2700
+ 44: $Vd,
2701
+ 45: 40,
2702
+ 47: 41,
2703
+ 60: $Ve,
2704
+ 84: $Vf,
2705
+ 85: $Vg,
2706
+ 86: $Vh,
2707
+ 87: $Vi,
2708
+ 88: $Vj,
2709
+ 89: $Vk,
2710
+ 102: $Vl,
2711
+ 105: $Vm,
2712
+ 106: $Vn,
2713
+ 109: $Vo,
2714
+ 111: $Vp,
2715
+ 113: 42,
2716
+ 114: $Vq,
2717
+ 115: $Vr,
2718
+ 116: $Vs,
2719
+ 121: $Vt,
2720
+ 122: $Vu,
2721
+ 123: $Vv,
2722
+ 124: $Vw,
2723
+ 125: $Vx
2724
+ },
2725
+ {
2726
+ 10: $Vy,
2727
+ 18: 204
2728
+ },
2729
+ { 44: [1, 205] },
2730
+ o($VQ, [2, 43]),
2731
+ {
2732
+ 10: [1, 206],
2733
+ 44: $Vd,
2734
+ 60: $Ve,
2735
+ 89: $Vk,
2736
+ 102: $Vl,
2737
+ 105: $Vm,
2738
+ 106: $Vn,
2739
+ 109: $Vo,
2740
+ 111: $Vp,
2741
+ 113: 113,
2742
+ 114: $Vq,
2743
+ 115: $Vr,
2744
+ 116: $Vs
2745
+ },
2746
+ { 10: [1, 207] },
2747
+ {
2748
+ 10: [1, 208],
2749
+ 106: [1, 209]
2750
+ },
2751
+ o($Vw1, [2, 128]),
2752
+ {
2753
+ 10: [1, 210],
2754
+ 44: $Vd,
2755
+ 60: $Ve,
2756
+ 89: $Vk,
2757
+ 102: $Vl,
2758
+ 105: $Vm,
2759
+ 106: $Vn,
2760
+ 109: $Vo,
2761
+ 111: $Vp,
2762
+ 113: 113,
2763
+ 114: $Vq,
2764
+ 115: $Vr,
2765
+ 116: $Vs
2766
+ },
2767
+ {
2768
+ 10: [1, 211],
2769
+ 44: $Vd,
2770
+ 60: $Ve,
2771
+ 89: $Vk,
2772
+ 102: $Vl,
2773
+ 105: $Vm,
2774
+ 106: $Vn,
2775
+ 109: $Vo,
2776
+ 111: $Vp,
2777
+ 113: 113,
2778
+ 114: $Vq,
2779
+ 115: $Vr,
2780
+ 116: $Vs
2781
+ },
2782
+ { 80: [1, 212] },
2783
+ o($Vm1, [2, 109], { 10: [1, 213] }),
2784
+ o($Vm1, [2, 111], { 10: [1, 214] }),
2785
+ { 80: [1, 215] },
2786
+ o($Vn1, [2, 184]),
2787
+ {
2788
+ 80: [1, 216],
2789
+ 98: [1, 217]
2790
+ },
2791
+ o($VQ, [2, 55], {
2792
+ 113: 113,
2793
+ 44: $Vd,
2794
+ 60: $Ve,
2795
+ 89: $Vk,
2796
+ 102: $Vl,
2797
+ 105: $Vm,
2798
+ 106: $Vn,
2799
+ 109: $Vo,
2800
+ 111: $Vp,
2801
+ 114: $Vq,
2802
+ 115: $Vr,
2803
+ 116: $Vs
2804
+ }),
2805
+ {
2806
+ 31: [1, 218],
2807
+ 67: $Vo1,
2808
+ 82: 219,
2809
+ 116: $Vr1,
2810
+ 117: $Vs1,
2811
+ 118: $Vt1
2812
+ },
2813
+ o($Vx1, [2, 86]),
2814
+ o($Vx1, [2, 88]),
2815
+ o($Vx1, [2, 89]),
2816
+ o($Vx1, [2, 153]),
2817
+ o($Vx1, [2, 154]),
2818
+ o($Vx1, [2, 155]),
2819
+ o($Vx1, [2, 156]),
2820
+ {
2821
+ 49: [1, 220],
2822
+ 67: $Vo1,
2823
+ 82: 219,
2824
+ 116: $Vr1,
2825
+ 117: $Vs1,
2826
+ 118: $Vt1
2827
+ },
2828
+ {
2829
+ 30: 221,
2830
+ 67: $Vo1,
2831
+ 80: $Vp1,
2832
+ 81: $Vq1,
2833
+ 82: 172,
2834
+ 116: $Vr1,
2835
+ 117: $Vs1,
2836
+ 118: $Vt1
2837
+ },
2838
+ {
2839
+ 51: [1, 222],
2840
+ 67: $Vo1,
2841
+ 82: 219,
2842
+ 116: $Vr1,
2843
+ 117: $Vs1,
2844
+ 118: $Vt1
2845
+ },
2846
+ {
2847
+ 53: [1, 223],
2848
+ 67: $Vo1,
2849
+ 82: 219,
2850
+ 116: $Vr1,
2851
+ 117: $Vs1,
2852
+ 118: $Vt1
2853
+ },
2854
+ {
2855
+ 55: [1, 224],
2856
+ 67: $Vo1,
2857
+ 82: 219,
2858
+ 116: $Vr1,
2859
+ 117: $Vs1,
2860
+ 118: $Vt1
2861
+ },
2862
+ {
2863
+ 57: [1, 225],
2864
+ 67: $Vo1,
2865
+ 82: 219,
2866
+ 116: $Vr1,
2867
+ 117: $Vs1,
2868
+ 118: $Vt1
2869
+ },
2870
+ { 60: [1, 226] },
2871
+ {
2872
+ 64: [1, 227],
2873
+ 67: $Vo1,
2874
+ 82: 219,
2875
+ 116: $Vr1,
2876
+ 117: $Vs1,
2877
+ 118: $Vt1
2878
+ },
2879
+ {
2880
+ 66: [1, 228],
2881
+ 67: $Vo1,
2882
+ 82: 219,
2883
+ 116: $Vr1,
2884
+ 117: $Vs1,
2885
+ 118: $Vt1
2886
+ },
2887
+ {
2888
+ 30: 229,
2889
+ 67: $Vo1,
2890
+ 80: $Vp1,
2891
+ 81: $Vq1,
2892
+ 82: 172,
2893
+ 116: $Vr1,
2894
+ 117: $Vs1,
2895
+ 118: $Vt1
2896
+ },
2897
+ {
2898
+ 31: [1, 230],
2899
+ 67: $Vo1,
2900
+ 82: 219,
2901
+ 116: $Vr1,
2902
+ 117: $Vs1,
2903
+ 118: $Vt1
2904
+ },
2905
+ {
2906
+ 67: $Vo1,
2907
+ 69: [1, 231],
2908
+ 71: [1, 232],
2909
+ 82: 219,
2910
+ 116: $Vr1,
2911
+ 117: $Vs1,
2912
+ 118: $Vt1
2913
+ },
2914
+ {
2915
+ 67: $Vo1,
2916
+ 69: [1, 234],
2917
+ 71: [1, 233],
2918
+ 82: 219,
2919
+ 116: $Vr1,
2920
+ 117: $Vs1,
2921
+ 118: $Vt1
2922
+ },
2923
+ o($VD, [2, 45], {
2924
+ 18: 156,
2925
+ 10: $Vy,
2926
+ 40: $Vl1
2927
+ }),
2928
+ o($VD, [2, 47], { 44: $Vk1 }),
2929
+ o($VU, [2, 75]),
2930
+ o($VU, [2, 74]),
2931
+ {
2932
+ 62: [1, 235],
2933
+ 67: $Vo1,
2934
+ 82: 219,
2935
+ 116: $Vr1,
2936
+ 117: $Vs1,
2937
+ 118: $Vt1
2938
+ },
2939
+ o($VU, [2, 77]),
2940
+ o($Vu1, [2, 80]),
2941
+ {
2942
+ 77: [1, 236],
2943
+ 79: 198,
2944
+ 116: $VX,
2945
+ 119: $VY
2946
+ },
2947
+ {
2948
+ 30: 237,
2949
+ 67: $Vo1,
2950
+ 80: $Vp1,
2951
+ 81: $Vq1,
2952
+ 82: 172,
2953
+ 116: $Vr1,
2954
+ 117: $Vs1,
2955
+ 118: $Vt1
2956
+ },
2957
+ o($Vj1, $V4, { 5: 238 }),
2958
+ o($Vv1, [2, 102]),
2959
+ o($Vz, [2, 35]),
2960
+ {
2961
+ 43: 239,
2962
+ 44: $Vd,
2963
+ 45: 40,
2964
+ 47: 41,
2965
+ 60: $Ve,
2966
+ 89: $Vk,
2967
+ 102: $Vl,
2968
+ 105: $Vm,
2969
+ 106: $Vn,
2970
+ 109: $Vo,
2971
+ 111: $Vp,
2972
+ 113: 42,
2973
+ 114: $Vq,
2974
+ 115: $Vr,
2975
+ 116: $Vs
2976
+ },
2977
+ {
2978
+ 10: $Vy,
2979
+ 18: 240
2980
+ },
2981
+ {
2982
+ 10: $Vy1,
2983
+ 60: $Vz1,
2984
+ 84: $VA1,
2985
+ 92: 241,
2986
+ 105: $VB1,
2987
+ 107: 242,
2988
+ 108: 243,
2989
+ 109: $VC1,
2990
+ 110: $VD1,
2991
+ 111: $VE1,
2992
+ 112: $VF1
2993
+ },
2994
+ {
2995
+ 10: $Vy1,
2996
+ 60: $Vz1,
2997
+ 84: $VA1,
2998
+ 92: 252,
2999
+ 104: [1, 253],
3000
+ 105: $VB1,
3001
+ 107: 242,
3002
+ 108: 243,
3003
+ 109: $VC1,
3004
+ 110: $VD1,
3005
+ 111: $VE1,
3006
+ 112: $VF1
3007
+ },
3008
+ {
3009
+ 10: $Vy1,
3010
+ 60: $Vz1,
3011
+ 84: $VA1,
3012
+ 92: 254,
3013
+ 104: [1, 255],
3014
+ 105: $VB1,
3015
+ 107: 242,
3016
+ 108: 243,
3017
+ 109: $VC1,
3018
+ 110: $VD1,
3019
+ 111: $VE1,
3020
+ 112: $VF1
3021
+ },
3022
+ { 105: [1, 256] },
3023
+ {
3024
+ 10: $Vy1,
3025
+ 60: $Vz1,
3026
+ 84: $VA1,
3027
+ 92: 257,
3028
+ 105: $VB1,
3029
+ 107: 242,
3030
+ 108: 243,
3031
+ 109: $VC1,
3032
+ 110: $VD1,
3033
+ 111: $VE1,
3034
+ 112: $VF1
3035
+ },
3036
+ {
3037
+ 44: $Vd,
3038
+ 47: 258,
3039
+ 60: $Ve,
3040
+ 89: $Vk,
3041
+ 102: $Vl,
3042
+ 105: $Vm,
3043
+ 106: $Vn,
3044
+ 109: $Vo,
3045
+ 111: $Vp,
3046
+ 113: 42,
3047
+ 114: $Vq,
3048
+ 115: $Vr,
3049
+ 116: $Vs
3050
+ },
3051
+ o($Vm1, [2, 108]),
3052
+ { 80: [1, 259] },
3053
+ {
3054
+ 80: [1, 260],
3055
+ 98: [1, 261]
3056
+ },
3057
+ o($Vm1, [2, 116]),
3058
+ o($Vm1, [2, 118], { 10: [1, 262] }),
3059
+ o($Vm1, [2, 119]),
3060
+ o($VR, [2, 56]),
3061
+ o($Vx1, [2, 87]),
3062
+ o($VR, [2, 57]),
3063
+ {
3064
+ 51: [1, 263],
3065
+ 67: $Vo1,
3066
+ 82: 219,
3067
+ 116: $Vr1,
3068
+ 117: $Vs1,
3069
+ 118: $Vt1
3070
+ },
3071
+ o($VR, [2, 64]),
3072
+ o($VR, [2, 59]),
3073
+ o($VR, [2, 60]),
3074
+ o($VR, [2, 61]),
3075
+ { 109: [1, 264] },
3076
+ o($VR, [2, 63]),
3077
+ o($VR, [2, 65]),
3078
+ {
3079
+ 66: [1, 265],
3080
+ 67: $Vo1,
3081
+ 82: 219,
3082
+ 116: $Vr1,
3083
+ 117: $Vs1,
3084
+ 118: $Vt1
3085
+ },
3086
+ o($VR, [2, 67]),
3087
+ o($VR, [2, 68]),
3088
+ o($VR, [2, 70]),
3089
+ o($VR, [2, 69]),
3090
+ o($VR, [2, 71]),
3091
+ o([
3092
+ 10,
3093
+ 44,
3094
+ 60,
3095
+ 89,
3096
+ 102,
3097
+ 105,
3098
+ 106,
3099
+ 109,
3100
+ 111,
3101
+ 114,
3102
+ 115,
3103
+ 116
3104
+ ], [2, 85]),
3105
+ o($VU, [2, 78]),
3106
+ {
3107
+ 31: [1, 266],
3108
+ 67: $Vo1,
3109
+ 82: 219,
3110
+ 116: $Vr1,
3111
+ 117: $Vs1,
3112
+ 118: $Vt1
3113
+ },
3114
+ {
3115
+ 6: 11,
3116
+ 7: 12,
3117
+ 8: $V5,
3118
+ 9: $V6,
3119
+ 10: $V7,
3120
+ 11: $V8,
3121
+ 20: 17,
3122
+ 22: 18,
3123
+ 23: 19,
3124
+ 24: 20,
3125
+ 25: 21,
3126
+ 26: 22,
3127
+ 27: $V9,
3128
+ 32: [1, 267],
3129
+ 33: 24,
3130
+ 34: $Va,
3131
+ 36: $Vb,
3132
+ 38: $Vc,
3133
+ 42: 28,
3134
+ 43: 39,
3135
+ 44: $Vd,
3136
+ 45: 40,
3137
+ 47: 41,
3138
+ 60: $Ve,
3139
+ 84: $Vf,
3140
+ 85: $Vg,
3141
+ 86: $Vh,
3142
+ 87: $Vi,
3143
+ 88: $Vj,
3144
+ 89: $Vk,
3145
+ 102: $Vl,
3146
+ 105: $Vm,
3147
+ 106: $Vn,
3148
+ 109: $Vo,
3149
+ 111: $Vp,
3150
+ 113: 42,
3151
+ 114: $Vq,
3152
+ 115: $Vr,
3153
+ 116: $Vs,
3154
+ 121: $Vt,
3155
+ 122: $Vu,
3156
+ 123: $Vv,
3157
+ 124: $Vw,
3158
+ 125: $Vx
3159
+ },
3160
+ o($VQ, [2, 53]),
3161
+ {
3162
+ 43: 268,
3163
+ 44: $Vd,
3164
+ 45: 40,
3165
+ 47: 41,
3166
+ 60: $Ve,
3167
+ 89: $Vk,
3168
+ 102: $Vl,
3169
+ 105: $Vm,
3170
+ 106: $Vn,
3171
+ 109: $Vo,
3172
+ 111: $Vp,
3173
+ 113: 42,
3174
+ 114: $Vq,
3175
+ 115: $Vr,
3176
+ 116: $Vs
3177
+ },
3178
+ o($Vm1, [2, 121], { 106: $VG1 }),
3179
+ o($VH1, [2, 130], {
3180
+ 108: 270,
3181
+ 10: $Vy1,
3182
+ 60: $Vz1,
3183
+ 84: $VA1,
3184
+ 105: $VB1,
3185
+ 109: $VC1,
3186
+ 110: $VD1,
3187
+ 111: $VE1,
3188
+ 112: $VF1
3189
+ }),
3190
+ o($VI1, [2, 132]),
3191
+ o($VI1, [2, 134]),
3192
+ o($VI1, [2, 135]),
3193
+ o($VI1, [2, 136]),
3194
+ o($VI1, [2, 137]),
3195
+ o($VI1, [2, 138]),
3196
+ o($VI1, [2, 139]),
3197
+ o($VI1, [2, 140]),
3198
+ o($VI1, [2, 141]),
3199
+ o($Vm1, [2, 122], { 106: $VG1 }),
3200
+ { 10: [1, 271] },
3201
+ o($Vm1, [2, 123], { 106: $VG1 }),
3202
+ { 10: [1, 272] },
3203
+ o($Vw1, [2, 129]),
3204
+ o($Vm1, [2, 105], { 106: $VG1 }),
3205
+ o($Vm1, [2, 106], {
3206
+ 113: 113,
3207
+ 44: $Vd,
3208
+ 60: $Ve,
3209
+ 89: $Vk,
3210
+ 102: $Vl,
3211
+ 105: $Vm,
3212
+ 106: $Vn,
3213
+ 109: $Vo,
3214
+ 111: $Vp,
3215
+ 114: $Vq,
3216
+ 115: $Vr,
3217
+ 116: $Vs
3218
+ }),
3219
+ o($Vm1, [2, 110]),
3220
+ o($Vm1, [2, 112], { 10: [1, 273] }),
3221
+ o($Vm1, [2, 113]),
3222
+ { 98: [1, 274] },
3223
+ { 51: [1, 275] },
3224
+ { 62: [1, 276] },
3225
+ { 66: [1, 277] },
3226
+ {
3227
+ 8: $VA,
3228
+ 9: $VB,
3229
+ 11: $VC,
3230
+ 21: 278
3231
+ },
3232
+ o($Vz, [2, 34]),
3233
+ o($VQ, [2, 52]),
3234
+ {
3235
+ 10: $Vy1,
3236
+ 60: $Vz1,
3237
+ 84: $VA1,
3238
+ 105: $VB1,
3239
+ 107: 279,
3240
+ 108: 243,
3241
+ 109: $VC1,
3242
+ 110: $VD1,
3243
+ 111: $VE1,
3244
+ 112: $VF1
3245
+ },
3246
+ o($VI1, [2, 133]),
3247
+ {
3248
+ 14: $VF,
3249
+ 44: $VG,
3250
+ 60: $VH,
3251
+ 89: $VI,
3252
+ 101: 280,
3253
+ 105: $VJ,
3254
+ 106: $VK,
3255
+ 109: $VL,
3256
+ 111: $VM,
3257
+ 114: $VN,
3258
+ 115: $VO,
3259
+ 116: $VP,
3260
+ 120: 88
3261
+ },
3262
+ {
3263
+ 14: $VF,
3264
+ 44: $VG,
3265
+ 60: $VH,
3266
+ 89: $VI,
3267
+ 101: 281,
3268
+ 105: $VJ,
3269
+ 106: $VK,
3270
+ 109: $VL,
3271
+ 111: $VM,
3272
+ 114: $VN,
3273
+ 115: $VO,
3274
+ 116: $VP,
3275
+ 120: 88
3276
+ },
3277
+ { 98: [1, 282] },
3278
+ o($Vm1, [2, 120]),
3279
+ o($VR, [2, 58]),
3280
+ {
3281
+ 30: 283,
3282
+ 67: $Vo1,
3283
+ 80: $Vp1,
3284
+ 81: $Vq1,
3285
+ 82: 172,
3286
+ 116: $Vr1,
3287
+ 117: $Vs1,
3288
+ 118: $Vt1
3289
+ },
3290
+ o($VR, [2, 66]),
3291
+ o($Vj1, $V4, { 5: 284 }),
3292
+ o($VH1, [2, 131], {
3293
+ 108: 270,
3294
+ 10: $Vy1,
3295
+ 60: $Vz1,
3296
+ 84: $VA1,
3297
+ 105: $VB1,
3298
+ 109: $VC1,
3299
+ 110: $VD1,
3300
+ 111: $VE1,
3301
+ 112: $VF1
3302
+ }),
3303
+ o($Vm1, [2, 126], {
3304
+ 120: 168,
3305
+ 10: [1, 285],
3306
+ 14: $VF,
3307
+ 44: $VG,
3308
+ 60: $VH,
3309
+ 89: $VI,
3310
+ 105: $VJ,
3311
+ 106: $VK,
3312
+ 109: $VL,
3313
+ 111: $VM,
3314
+ 114: $VN,
3315
+ 115: $VO,
3316
+ 116: $VP
3317
+ }),
3318
+ o($Vm1, [2, 127], {
3319
+ 120: 168,
3320
+ 10: [1, 286],
3321
+ 14: $VF,
3322
+ 44: $VG,
3323
+ 60: $VH,
3324
+ 89: $VI,
3325
+ 105: $VJ,
3326
+ 106: $VK,
3327
+ 109: $VL,
3328
+ 111: $VM,
3329
+ 114: $VN,
3330
+ 115: $VO,
3331
+ 116: $VP
3332
+ }),
3333
+ o($Vm1, [2, 114]),
3334
+ {
3335
+ 31: [1, 287],
3336
+ 67: $Vo1,
3337
+ 82: 219,
3338
+ 116: $Vr1,
3339
+ 117: $Vs1,
3340
+ 118: $Vt1
3341
+ },
3342
+ {
3343
+ 6: 11,
3344
+ 7: 12,
3345
+ 8: $V5,
3346
+ 9: $V6,
3347
+ 10: $V7,
3348
+ 11: $V8,
3349
+ 20: 17,
3350
+ 22: 18,
3351
+ 23: 19,
3352
+ 24: 20,
3353
+ 25: 21,
3354
+ 26: 22,
3355
+ 27: $V9,
3356
+ 32: [1, 288],
3357
+ 33: 24,
3358
+ 34: $Va,
3359
+ 36: $Vb,
3360
+ 38: $Vc,
3361
+ 42: 28,
3362
+ 43: 39,
3363
+ 44: $Vd,
3364
+ 45: 40,
3365
+ 47: 41,
3366
+ 60: $Ve,
3367
+ 84: $Vf,
3368
+ 85: $Vg,
3369
+ 86: $Vh,
3370
+ 87: $Vi,
3371
+ 88: $Vj,
3372
+ 89: $Vk,
3373
+ 102: $Vl,
3374
+ 105: $Vm,
3375
+ 106: $Vn,
3376
+ 109: $Vo,
3377
+ 111: $Vp,
3378
+ 113: 42,
3379
+ 114: $Vq,
3380
+ 115: $Vr,
3381
+ 116: $Vs,
3382
+ 121: $Vt,
3383
+ 122: $Vu,
3384
+ 123: $Vv,
3385
+ 124: $Vw,
3386
+ 125: $Vx
3387
+ },
3388
+ {
3389
+ 10: $Vy1,
3390
+ 60: $Vz1,
3391
+ 84: $VA1,
3392
+ 92: 289,
3393
+ 105: $VB1,
3394
+ 107: 242,
3395
+ 108: 243,
3396
+ 109: $VC1,
3397
+ 110: $VD1,
3398
+ 111: $VE1,
3399
+ 112: $VF1
3400
+ },
3401
+ {
3402
+ 10: $Vy1,
3403
+ 60: $Vz1,
3404
+ 84: $VA1,
3405
+ 92: 290,
3406
+ 105: $VB1,
3407
+ 107: 242,
3408
+ 108: 243,
3409
+ 109: $VC1,
3410
+ 110: $VD1,
3411
+ 111: $VE1,
3412
+ 112: $VF1
3413
+ },
3414
+ o($VR, [2, 62]),
3415
+ o($Vz, [2, 33]),
3416
+ o($Vm1, [2, 124], { 106: $VG1 }),
3417
+ o($Vm1, [2, 125], { 106: $VG1 })
3418
+ ],
3419
+ defaultActions: {},
3420
+ parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
3421
+ if (hash.recoverable) this.trace(str);
3422
+ else {
3423
+ var error = new Error(str);
3424
+ error.hash = hash;
3425
+ throw error;
3426
+ }
3427
+ }, "parseError"),
3428
+ parse: /* @__PURE__ */ __name(function parse(input) {
3429
+ var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;
3430
+ var args = lstack.slice.call(arguments, 1);
3431
+ var lexer2 = Object.create(this.lexer);
3432
+ var sharedState = { yy: {} };
3433
+ for (var k in this.yy) if (Object.prototype.hasOwnProperty.call(this.yy, k)) sharedState.yy[k] = this.yy[k];
3434
+ lexer2.setInput(input, sharedState.yy);
3435
+ sharedState.yy.lexer = lexer2;
3436
+ sharedState.yy.parser = this;
3437
+ if (typeof lexer2.yylloc == "undefined") lexer2.yylloc = {};
3438
+ var yyloc = lexer2.yylloc;
3439
+ lstack.push(yyloc);
3440
+ var ranges = lexer2.options && lexer2.options.ranges;
3441
+ if (typeof sharedState.yy.parseError === "function") this.parseError = sharedState.yy.parseError;
3442
+ else this.parseError = Object.getPrototypeOf(this).parseError;
3443
+ function popStack(n) {
3444
+ stack.length = stack.length - 2 * n;
3445
+ vstack.length = vstack.length - n;
3446
+ lstack.length = lstack.length - n;
3447
+ }
3448
+ __name(popStack, "popStack");
3449
+ function lex() {
3450
+ var token = tstack.pop() || lexer2.lex() || EOF;
3451
+ if (typeof token !== "number") {
3452
+ if (token instanceof Array) {
3453
+ tstack = token;
3454
+ token = tstack.pop();
3455
+ }
3456
+ token = self.symbols_[token] || token;
3457
+ }
3458
+ return token;
3459
+ }
3460
+ __name(lex, "lex");
3461
+ var symbol, preErrorSymbol, state, action, r, yyval = {}, p, len, newState, expected;
3462
+ while (true) {
3463
+ state = stack[stack.length - 1];
3464
+ if (this.defaultActions[state]) action = this.defaultActions[state];
3465
+ else {
3466
+ if (symbol === null || typeof symbol == "undefined") symbol = lex();
3467
+ action = table[state] && table[state][symbol];
3468
+ }
3469
+ if (typeof action === "undefined" || !action.length || !action[0]) {
3470
+ var errStr = "";
3471
+ expected = [];
3472
+ for (p in table[state]) if (this.terminals_[p] && p > TERROR) expected.push("'" + this.terminals_[p] + "'");
3473
+ if (lexer2.showPosition) errStr = "Parse error on line " + (yylineno + 1) + ":\n" + lexer2.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'";
3474
+ else errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == EOF ? "end of input" : "'" + (this.terminals_[symbol] || symbol) + "'");
3475
+ this.parseError(errStr, {
3476
+ text: lexer2.match,
3477
+ token: this.terminals_[symbol] || symbol,
3478
+ line: lexer2.yylineno,
3479
+ loc: yyloc,
3480
+ expected
3481
+ });
3482
+ }
3483
+ if (action[0] instanceof Array && action.length > 1) throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);
3484
+ switch (action[0]) {
3485
+ case 1:
3486
+ stack.push(symbol);
3487
+ vstack.push(lexer2.yytext);
3488
+ lstack.push(lexer2.yylloc);
3489
+ stack.push(action[1]);
3490
+ symbol = null;
3491
+ if (!preErrorSymbol) {
3492
+ yyleng = lexer2.yyleng;
3493
+ yytext = lexer2.yytext;
3494
+ yylineno = lexer2.yylineno;
3495
+ yyloc = lexer2.yylloc;
3496
+ if (recovering > 0) recovering--;
3497
+ } else {
3498
+ symbol = preErrorSymbol;
3499
+ preErrorSymbol = null;
3500
+ }
3501
+ break;
3502
+ case 2:
3503
+ len = this.productions_[action[1]][1];
3504
+ yyval.$ = vstack[vstack.length - len];
3505
+ yyval._$ = {
3506
+ first_line: lstack[lstack.length - (len || 1)].first_line,
3507
+ last_line: lstack[lstack.length - 1].last_line,
3508
+ first_column: lstack[lstack.length - (len || 1)].first_column,
3509
+ last_column: lstack[lstack.length - 1].last_column
3510
+ };
3511
+ if (ranges) yyval._$.range = [lstack[lstack.length - (len || 1)].range[0], lstack[lstack.length - 1].range[1]];
3512
+ r = this.performAction.apply(yyval, [
3513
+ yytext,
3514
+ yyleng,
3515
+ yylineno,
3516
+ sharedState.yy,
3517
+ action[1],
3518
+ vstack,
3519
+ lstack
3520
+ ].concat(args));
3521
+ if (typeof r !== "undefined") return r;
3522
+ if (len) {
3523
+ stack = stack.slice(0, -1 * len * 2);
3524
+ vstack = vstack.slice(0, -1 * len);
3525
+ lstack = lstack.slice(0, -1 * len);
3526
+ }
3527
+ stack.push(this.productions_[action[1]][0]);
3528
+ vstack.push(yyval.$);
3529
+ lstack.push(yyval._$);
3530
+ newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
3531
+ stack.push(newState);
3532
+ break;
3533
+ case 3: return true;
3534
+ }
3535
+ }
3536
+ return true;
3537
+ }, "parse")
3538
+ };
3539
+ parser2.lexer = /* @__PURE__ */ (function() {
3540
+ return {
3541
+ EOF: 1,
3542
+ parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
3543
+ if (this.yy.parser) this.yy.parser.parseError(str, hash);
3544
+ else throw new Error(str);
3545
+ }, "parseError"),
3546
+ setInput: /* @__PURE__ */ __name(function(input, yy) {
3547
+ this.yy = yy || this.yy || {};
3548
+ this._input = input;
3549
+ this._more = this._backtrack = this.done = false;
3550
+ this.yylineno = this.yyleng = 0;
3551
+ this.yytext = this.matched = this.match = "";
3552
+ this.conditionStack = ["INITIAL"];
3553
+ this.yylloc = {
3554
+ first_line: 1,
3555
+ first_column: 0,
3556
+ last_line: 1,
3557
+ last_column: 0
3558
+ };
3559
+ if (this.options.ranges) this.yylloc.range = [0, 0];
3560
+ this.offset = 0;
3561
+ return this;
3562
+ }, "setInput"),
3563
+ input: /* @__PURE__ */ __name(function() {
3564
+ var ch = this._input[0];
3565
+ this.yytext += ch;
3566
+ this.yyleng++;
3567
+ this.offset++;
3568
+ this.match += ch;
3569
+ this.matched += ch;
3570
+ if (ch.match(/(?:\r\n?|\n).*/g)) {
3571
+ this.yylineno++;
3572
+ this.yylloc.last_line++;
3573
+ } else this.yylloc.last_column++;
3574
+ if (this.options.ranges) this.yylloc.range[1]++;
3575
+ this._input = this._input.slice(1);
3576
+ return ch;
3577
+ }, "input"),
3578
+ unput: /* @__PURE__ */ __name(function(ch) {
3579
+ var len = ch.length;
3580
+ var lines = ch.split(/(?:\r\n?|\n)/g);
3581
+ this._input = ch + this._input;
3582
+ this.yytext = this.yytext.substr(0, this.yytext.length - len);
3583
+ this.offset -= len;
3584
+ var oldLines = this.match.split(/(?:\r\n?|\n)/g);
3585
+ this.match = this.match.substr(0, this.match.length - 1);
3586
+ this.matched = this.matched.substr(0, this.matched.length - 1);
3587
+ if (lines.length - 1) this.yylineno -= lines.length - 1;
3588
+ var r = this.yylloc.range;
3589
+ this.yylloc = {
3590
+ first_line: this.yylloc.first_line,
3591
+ last_line: this.yylineno + 1,
3592
+ first_column: this.yylloc.first_column,
3593
+ last_column: lines ? (lines.length === oldLines.length ? this.yylloc.first_column : 0) + oldLines[oldLines.length - lines.length].length - lines[0].length : this.yylloc.first_column - len
3594
+ };
3595
+ if (this.options.ranges) this.yylloc.range = [r[0], r[0] + this.yyleng - len];
3596
+ this.yyleng = this.yytext.length;
3597
+ return this;
3598
+ }, "unput"),
3599
+ more: /* @__PURE__ */ __name(function() {
3600
+ this._more = true;
3601
+ return this;
3602
+ }, "more"),
3603
+ reject: /* @__PURE__ */ __name(function() {
3604
+ if (this.options.backtrack_lexer) this._backtrack = true;
3605
+ else 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).\n" + this.showPosition(), {
3606
+ text: "",
3607
+ token: null,
3608
+ line: this.yylineno
3609
+ });
3610
+ return this;
3611
+ }, "reject"),
3612
+ less: /* @__PURE__ */ __name(function(n) {
3613
+ this.unput(this.match.slice(n));
3614
+ }, "less"),
3615
+ pastInput: /* @__PURE__ */ __name(function() {
3616
+ var past = this.matched.substr(0, this.matched.length - this.match.length);
3617
+ return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
3618
+ }, "pastInput"),
3619
+ upcomingInput: /* @__PURE__ */ __name(function() {
3620
+ var next = this.match;
3621
+ if (next.length < 20) next += this._input.substr(0, 20 - next.length);
3622
+ return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
3623
+ }, "upcomingInput"),
3624
+ showPosition: /* @__PURE__ */ __name(function() {
3625
+ var pre = this.pastInput();
3626
+ var c = new Array(pre.length + 1).join("-");
3627
+ return pre + this.upcomingInput() + "\n" + c + "^";
3628
+ }, "showPosition"),
3629
+ test_match: /* @__PURE__ */ __name(function(match, indexed_rule) {
3630
+ var token, lines, backup;
3631
+ if (this.options.backtrack_lexer) {
3632
+ backup = {
3633
+ yylineno: this.yylineno,
3634
+ yylloc: {
3635
+ first_line: this.yylloc.first_line,
3636
+ last_line: this.last_line,
3637
+ first_column: this.yylloc.first_column,
3638
+ last_column: this.yylloc.last_column
3639
+ },
3640
+ yytext: this.yytext,
3641
+ match: this.match,
3642
+ matches: this.matches,
3643
+ matched: this.matched,
3644
+ yyleng: this.yyleng,
3645
+ offset: this.offset,
3646
+ _more: this._more,
3647
+ _input: this._input,
3648
+ yy: this.yy,
3649
+ conditionStack: this.conditionStack.slice(0),
3650
+ done: this.done
3651
+ };
3652
+ if (this.options.ranges) backup.yylloc.range = this.yylloc.range.slice(0);
3653
+ }
3654
+ lines = match[0].match(/(?:\r\n?|\n).*/g);
3655
+ if (lines) this.yylineno += lines.length;
3656
+ this.yylloc = {
3657
+ first_line: this.yylloc.last_line,
3658
+ last_line: this.yylineno + 1,
3659
+ first_column: this.yylloc.last_column,
3660
+ last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length
3661
+ };
3662
+ this.yytext += match[0];
3663
+ this.match += match[0];
3664
+ this.matches = match;
3665
+ this.yyleng = this.yytext.length;
3666
+ if (this.options.ranges) this.yylloc.range = [this.offset, this.offset += this.yyleng];
3667
+ this._more = false;
3668
+ this._backtrack = false;
3669
+ this._input = this._input.slice(match[0].length);
3670
+ this.matched += match[0];
3671
+ token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
3672
+ if (this.done && this._input) this.done = false;
3673
+ if (token) return token;
3674
+ else if (this._backtrack) {
3675
+ for (var k in backup) this[k] = backup[k];
3676
+ return false;
3677
+ }
3678
+ return false;
3679
+ }, "test_match"),
3680
+ next: /* @__PURE__ */ __name(function() {
3681
+ if (this.done) return this.EOF;
3682
+ if (!this._input) this.done = true;
3683
+ var token, match, tempMatch, index;
3684
+ if (!this._more) {
3685
+ this.yytext = "";
3686
+ this.match = "";
3687
+ }
3688
+ var rules = this._currentRules();
3689
+ for (var i = 0; i < rules.length; i++) {
3690
+ tempMatch = this._input.match(this.rules[rules[i]]);
3691
+ if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
3692
+ match = tempMatch;
3693
+ index = i;
3694
+ if (this.options.backtrack_lexer) {
3695
+ token = this.test_match(tempMatch, rules[i]);
3696
+ if (token !== false) return token;
3697
+ else if (this._backtrack) {
3698
+ match = false;
3699
+ continue;
3700
+ } else return false;
3701
+ } else if (!this.options.flex) break;
3702
+ }
3703
+ }
3704
+ if (match) {
3705
+ token = this.test_match(match, rules[index]);
3706
+ if (token !== false) return token;
3707
+ return false;
3708
+ }
3709
+ if (this._input === "") return this.EOF;
3710
+ else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
3711
+ text: "",
3712
+ token: null,
3713
+ line: this.yylineno
3714
+ });
3715
+ }, "next"),
3716
+ lex: /* @__PURE__ */ __name(function lex() {
3717
+ var r = this.next();
3718
+ if (r) return r;
3719
+ else return this.lex();
3720
+ }, "lex"),
3721
+ begin: /* @__PURE__ */ __name(function begin(condition) {
3722
+ this.conditionStack.push(condition);
3723
+ }, "begin"),
3724
+ popState: /* @__PURE__ */ __name(function popState() {
3725
+ if (this.conditionStack.length - 1 > 0) return this.conditionStack.pop();
3726
+ else return this.conditionStack[0];
3727
+ }, "popState"),
3728
+ _currentRules: /* @__PURE__ */ __name(function _currentRules() {
3729
+ if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
3730
+ else return this.conditions["INITIAL"].rules;
3731
+ }, "_currentRules"),
3732
+ topState: /* @__PURE__ */ __name(function topState(n) {
3733
+ n = this.conditionStack.length - 1 - Math.abs(n || 0);
3734
+ if (n >= 0) return this.conditionStack[n];
3735
+ else return "INITIAL";
3736
+ }, "topState"),
3737
+ pushState: /* @__PURE__ */ __name(function pushState(condition) {
3738
+ this.begin(condition);
3739
+ }, "pushState"),
3740
+ stateStackSize: /* @__PURE__ */ __name(function stateStackSize() {
3741
+ return this.conditionStack.length;
3742
+ }, "stateStackSize"),
3743
+ options: {},
3744
+ performAction: /* @__PURE__ */ __name(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
3745
+ switch ($avoiding_name_collisions) {
3746
+ case 0:
3747
+ this.begin("acc_title");
3748
+ return 34;
3749
+ case 1:
3750
+ this.popState();
3751
+ return "acc_title_value";
3752
+ case 2:
3753
+ this.begin("acc_descr");
3754
+ return 36;
3755
+ case 3:
3756
+ this.popState();
3757
+ return "acc_descr_value";
3758
+ case 4:
3759
+ this.begin("acc_descr_multiline");
3760
+ break;
3761
+ case 5:
3762
+ this.popState();
3763
+ break;
3764
+ case 6: return "acc_descr_multiline_value";
3765
+ case 7:
3766
+ this.pushState("shapeData");
3767
+ yy_.yytext = "";
3768
+ return 40;
3769
+ case 8:
3770
+ this.pushState("shapeDataStr");
3771
+ return 40;
3772
+ case 9:
3773
+ this.popState();
3774
+ return 40;
3775
+ case 10:
3776
+ yy_.yytext = yy_.yytext.replace(/\n\s*/g, "<br/>");
3777
+ return 40;
3778
+ case 11: return 40;
3779
+ case 12:
3780
+ this.popState();
3781
+ break;
3782
+ case 13:
3783
+ this.begin("callbackname");
3784
+ break;
3785
+ case 14:
3786
+ this.popState();
3787
+ break;
3788
+ case 15:
3789
+ this.popState();
3790
+ this.begin("callbackargs");
3791
+ break;
3792
+ case 16: return 95;
3793
+ case 17:
3794
+ this.popState();
3795
+ break;
3796
+ case 18: return 96;
3797
+ case 19: return "MD_STR";
3798
+ case 20:
3799
+ this.popState();
3800
+ break;
3801
+ case 21:
3802
+ this.begin("md_string");
3803
+ break;
3804
+ case 22: return "STR";
3805
+ case 23:
3806
+ this.popState();
3807
+ break;
3808
+ case 24:
3809
+ this.pushState("string");
3810
+ break;
3811
+ case 25: return 84;
3812
+ case 26: return 102;
3813
+ case 27: return 85;
3814
+ case 28: return 104;
3815
+ case 29: return 86;
3816
+ case 30: return 87;
3817
+ case 31: return 97;
3818
+ case 32:
3819
+ this.begin("click");
3820
+ break;
3821
+ case 33:
3822
+ this.popState();
3823
+ break;
3824
+ case 34: return 88;
3825
+ case 35:
3826
+ if (yy.lex.firstGraph()) this.begin("dir");
3827
+ return 12;
3828
+ case 36:
3829
+ if (yy.lex.firstGraph()) this.begin("dir");
3830
+ return 12;
3831
+ case 37:
3832
+ if (yy.lex.firstGraph()) this.begin("dir");
3833
+ return 12;
3834
+ case 38:
3835
+ if (yy.lex.firstGraph()) this.begin("dir");
3836
+ return 12;
3837
+ case 39: return 27;
3838
+ case 40: return 32;
3839
+ case 41: return 98;
3840
+ case 42: return 98;
3841
+ case 43: return 98;
3842
+ case 44: return 98;
3843
+ case 45:
3844
+ this.popState();
3845
+ return 13;
3846
+ case 46:
3847
+ this.popState();
3848
+ return 14;
3849
+ case 47:
3850
+ this.popState();
3851
+ return 14;
3852
+ case 48:
3853
+ this.popState();
3854
+ return 14;
3855
+ case 49:
3856
+ this.popState();
3857
+ return 14;
3858
+ case 50:
3859
+ this.popState();
3860
+ return 14;
3861
+ case 51:
3862
+ this.popState();
3863
+ return 14;
3864
+ case 52:
3865
+ this.popState();
3866
+ return 14;
3867
+ case 53:
3868
+ this.popState();
3869
+ return 14;
3870
+ case 54:
3871
+ this.popState();
3872
+ return 14;
3873
+ case 55:
3874
+ this.popState();
3875
+ return 14;
3876
+ case 56: return 121;
3877
+ case 57: return 122;
3878
+ case 58: return 123;
3879
+ case 59: return 124;
3880
+ case 60: return 125;
3881
+ case 61: return 78;
3882
+ case 62: return 105;
3883
+ case 63: return 111;
3884
+ case 64: return 46;
3885
+ case 65: return 60;
3886
+ case 66: return 44;
3887
+ case 67: return 8;
3888
+ case 68: return 106;
3889
+ case 69: return 115;
3890
+ case 70:
3891
+ this.popState();
3892
+ return 77;
3893
+ case 71:
3894
+ this.pushState("edgeText");
3895
+ return 75;
3896
+ case 72: return 119;
3897
+ case 73:
3898
+ this.popState();
3899
+ return 77;
3900
+ case 74:
3901
+ this.pushState("thickEdgeText");
3902
+ return 75;
3903
+ case 75: return 119;
3904
+ case 76:
3905
+ this.popState();
3906
+ return 77;
3907
+ case 77:
3908
+ this.pushState("dottedEdgeText");
3909
+ return 75;
3910
+ case 78: return 119;
3911
+ case 79: return 77;
3912
+ case 80:
3913
+ this.popState();
3914
+ return 53;
3915
+ case 81: return "TEXT";
3916
+ case 82:
3917
+ this.pushState("ellipseText");
3918
+ return 52;
3919
+ case 83:
3920
+ this.popState();
3921
+ return 55;
3922
+ case 84:
3923
+ this.pushState("text");
3924
+ return 54;
3925
+ case 85:
3926
+ this.popState();
3927
+ return 57;
3928
+ case 86:
3929
+ this.pushState("text");
3930
+ return 56;
3931
+ case 87: return 58;
3932
+ case 88:
3933
+ this.pushState("text");
3934
+ return 67;
3935
+ case 89:
3936
+ this.popState();
3937
+ return 64;
3938
+ case 90:
3939
+ this.pushState("text");
3940
+ return 63;
3941
+ case 91:
3942
+ this.popState();
3943
+ return 49;
3944
+ case 92:
3945
+ this.pushState("text");
3946
+ return 48;
3947
+ case 93:
3948
+ this.popState();
3949
+ return 69;
3950
+ case 94:
3951
+ this.popState();
3952
+ return 71;
3953
+ case 95: return 117;
3954
+ case 96:
3955
+ this.pushState("trapText");
3956
+ return 68;
3957
+ case 97:
3958
+ this.pushState("trapText");
3959
+ return 70;
3960
+ case 98: return 118;
3961
+ case 99: return 67;
3962
+ case 100: return 90;
3963
+ case 101: return "SEP";
3964
+ case 102: return 89;
3965
+ case 103: return 115;
3966
+ case 104: return 111;
3967
+ case 105: return 44;
3968
+ case 106: return 109;
3969
+ case 107: return 114;
3970
+ case 108: return 116;
3971
+ case 109:
3972
+ this.popState();
3973
+ return 62;
3974
+ case 110:
3975
+ this.pushState("text");
3976
+ return 62;
3977
+ case 111:
3978
+ this.popState();
3979
+ return 51;
3980
+ case 112:
3981
+ this.pushState("text");
3982
+ return 50;
3983
+ case 113:
3984
+ this.popState();
3985
+ return 31;
3986
+ case 114:
3987
+ this.pushState("text");
3988
+ return 29;
3989
+ case 115:
3990
+ this.popState();
3991
+ return 66;
3992
+ case 116:
3993
+ this.pushState("text");
3994
+ return 65;
3995
+ case 117: return "TEXT";
3996
+ case 118: return "QUOTE";
3997
+ case 119: return 9;
3998
+ case 120: return 10;
3999
+ case 121: return 11;
4000
+ }
4001
+ }, "anonymous"),
4002
+ rules: [
4003
+ /^(?:accTitle\s*:\s*)/,
4004
+ /^(?:(?!\n||)*[^\n]*)/,
4005
+ /^(?:accDescr\s*:\s*)/,
4006
+ /^(?:(?!\n||)*[^\n]*)/,
4007
+ /^(?:accDescr\s*\{\s*)/,
4008
+ /^(?:[\}])/,
4009
+ /^(?:[^\}]*)/,
4010
+ /^(?:@\{)/,
4011
+ /^(?:["])/,
4012
+ /^(?:["])/,
4013
+ /^(?:[^\"]+)/,
4014
+ /^(?:[^}^"]+)/,
4015
+ /^(?:\})/,
4016
+ /^(?:call[\s]+)/,
4017
+ /^(?:\([\s]*\))/,
4018
+ /^(?:\()/,
4019
+ /^(?:[^(]*)/,
4020
+ /^(?:\))/,
4021
+ /^(?:[^)]*)/,
4022
+ /^(?:[^`"]+)/,
4023
+ /^(?:[`]["])/,
4024
+ /^(?:["][`])/,
4025
+ /^(?:[^"]+)/,
4026
+ /^(?:["])/,
4027
+ /^(?:["])/,
4028
+ /^(?:style\b)/,
4029
+ /^(?:default\b)/,
4030
+ /^(?:linkStyle\b)/,
4031
+ /^(?:interpolate\b)/,
4032
+ /^(?:classDef\b)/,
4033
+ /^(?:class\b)/,
4034
+ /^(?:href[\s])/,
4035
+ /^(?:click[\s]+)/,
4036
+ /^(?:[\s\n])/,
4037
+ /^(?:[^\s\n]*)/,
4038
+ /^(?:flowchart-elk\b)/,
4039
+ /^(?:swimlane-beta\b)/,
4040
+ /^(?:graph\b)/,
4041
+ /^(?:flowchart\b)/,
4042
+ /^(?:subgraph\b)/,
4043
+ /^(?:end\b\s*)/,
4044
+ /^(?:_self\b)/,
4045
+ /^(?:_blank\b)/,
4046
+ /^(?:_parent\b)/,
4047
+ /^(?:_top\b)/,
4048
+ /^(?:(\r?\n)*\s*\n)/,
4049
+ /^(?:\s*LR\b)/,
4050
+ /^(?:\s*RL\b)/,
4051
+ /^(?:\s*TB\b)/,
4052
+ /^(?:\s*BT\b)/,
4053
+ /^(?:\s*TD\b)/,
4054
+ /^(?:\s*BR\b)/,
4055
+ /^(?:\s*<)/,
4056
+ /^(?:\s*>)/,
4057
+ /^(?:\s*\^)/,
4058
+ /^(?:\s*v\b)/,
4059
+ /^(?:.*direction\s+TB[^\n]*)/,
4060
+ /^(?:.*direction\s+BT[^\n]*)/,
4061
+ /^(?:.*direction\s+RL[^\n]*)/,
4062
+ /^(?:.*direction\s+LR[^\n]*)/,
4063
+ /^(?:.*direction\s+TD[^\n]*)/,
4064
+ /^(?:[^\s\"]+@(?=[^\{\"]))/,
4065
+ /^(?:[0-9]+)/,
4066
+ /^(?:#)/,
4067
+ /^(?::::)/,
4068
+ /^(?::)/,
4069
+ /^(?:&)/,
4070
+ /^(?:;)/,
4071
+ /^(?:,)/,
4072
+ /^(?:\*)/,
4073
+ /^(?:\s*[xo<]?--+[-xo>]\s*)/,
4074
+ /^(?:\s*[xo<]?--\s*)/,
4075
+ /^(?:[^-]|-(?!-)+)/,
4076
+ /^(?:\s*[xo<]?==+[=xo>]\s*)/,
4077
+ /^(?:\s*[xo<]?==\s*)/,
4078
+ /^(?:[^=]|=(?!))/,
4079
+ /^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,
4080
+ /^(?:\s*[xo<]?-\.\s*)/,
4081
+ /^(?:[^\.]|\.(?!))/,
4082
+ /^(?:\s*~~[\~]+\s*)/,
4083
+ /^(?:[-/\)][\)])/,
4084
+ /^(?:[^\(\)\[\]\{\}]|!\)+)/,
4085
+ /^(?:\(-)/,
4086
+ /^(?:\]\))/,
4087
+ /^(?:\(\[)/,
4088
+ /^(?:\]\])/,
4089
+ /^(?:\[\[)/,
4090
+ /^(?:\[\|)/,
4091
+ /^(?:>)/,
4092
+ /^(?:\)\])/,
4093
+ /^(?:\[\()/,
4094
+ /^(?:\)\)\))/,
4095
+ /^(?:\(\(\()/,
4096
+ /^(?:[\\(?=\])][\]])/,
4097
+ /^(?:\/(?=\])\])/,
4098
+ /^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,
4099
+ /^(?:\[\/)/,
4100
+ /^(?:\[\\)/,
4101
+ /^(?:<)/,
4102
+ /^(?:>)/,
4103
+ /^(?:\^)/,
4104
+ /^(?:\\\|)/,
4105
+ /^(?:v\b)/,
4106
+ /^(?:\*)/,
4107
+ /^(?:#)/,
4108
+ /^(?:&)/,
4109
+ /^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,
4110
+ /^(?:-)/,
4111
+ /^(?:[\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])/,
4112
+ /^(?:\|)/,
4113
+ /^(?:\|)/,
4114
+ /^(?:\))/,
4115
+ /^(?:\()/,
4116
+ /^(?:\])/,
4117
+ /^(?:\[)/,
4118
+ /^(?:(\}))/,
4119
+ /^(?:\{)/,
4120
+ /^(?:[^\[\]\(\)\{\}\|\"]+)/,
4121
+ /^(?:")/,
4122
+ /^(?:(\r?\n)+)/,
4123
+ /^(?:[^\S\n\r]+)/,
4124
+ /^(?:$)/
4125
+ ],
4126
+ conditions: {
4127
+ "shapeDataEndBracket": {
4128
+ "rules": [
4129
+ 21,
4130
+ 24,
4131
+ 79,
4132
+ 82,
4133
+ 84,
4134
+ 86,
4135
+ 90,
4136
+ 92,
4137
+ 96,
4138
+ 97,
4139
+ 110,
4140
+ 112,
4141
+ 114,
4142
+ 116
4143
+ ],
4144
+ "inclusive": false
4145
+ },
4146
+ "shapeDataStr": {
4147
+ "rules": [
4148
+ 9,
4149
+ 10,
4150
+ 21,
4151
+ 24,
4152
+ 79,
4153
+ 82,
4154
+ 84,
4155
+ 86,
4156
+ 90,
4157
+ 92,
4158
+ 96,
4159
+ 97,
4160
+ 110,
4161
+ 112,
4162
+ 114,
4163
+ 116
4164
+ ],
4165
+ "inclusive": false
4166
+ },
4167
+ "shapeData": {
4168
+ "rules": [
4169
+ 8,
4170
+ 11,
4171
+ 12,
4172
+ 21,
4173
+ 24,
4174
+ 79,
4175
+ 82,
4176
+ 84,
4177
+ 86,
4178
+ 90,
4179
+ 92,
4180
+ 96,
4181
+ 97,
4182
+ 110,
4183
+ 112,
4184
+ 114,
4185
+ 116
4186
+ ],
4187
+ "inclusive": false
4188
+ },
4189
+ "callbackargs": {
4190
+ "rules": [
4191
+ 17,
4192
+ 18,
4193
+ 21,
4194
+ 24,
4195
+ 79,
4196
+ 82,
4197
+ 84,
4198
+ 86,
4199
+ 90,
4200
+ 92,
4201
+ 96,
4202
+ 97,
4203
+ 110,
4204
+ 112,
4205
+ 114,
4206
+ 116
4207
+ ],
4208
+ "inclusive": false
4209
+ },
4210
+ "callbackname": {
4211
+ "rules": [
4212
+ 14,
4213
+ 15,
4214
+ 16,
4215
+ 21,
4216
+ 24,
4217
+ 79,
4218
+ 82,
4219
+ 84,
4220
+ 86,
4221
+ 90,
4222
+ 92,
4223
+ 96,
4224
+ 97,
4225
+ 110,
4226
+ 112,
4227
+ 114,
4228
+ 116
4229
+ ],
4230
+ "inclusive": false
4231
+ },
4232
+ "href": {
4233
+ "rules": [
4234
+ 21,
4235
+ 24,
4236
+ 79,
4237
+ 82,
4238
+ 84,
4239
+ 86,
4240
+ 90,
4241
+ 92,
4242
+ 96,
4243
+ 97,
4244
+ 110,
4245
+ 112,
4246
+ 114,
4247
+ 116
4248
+ ],
4249
+ "inclusive": false
4250
+ },
4251
+ "click": {
4252
+ "rules": [
4253
+ 21,
4254
+ 24,
4255
+ 33,
4256
+ 34,
4257
+ 79,
4258
+ 82,
4259
+ 84,
4260
+ 86,
4261
+ 90,
4262
+ 92,
4263
+ 96,
4264
+ 97,
4265
+ 110,
4266
+ 112,
4267
+ 114,
4268
+ 116
4269
+ ],
4270
+ "inclusive": false
4271
+ },
4272
+ "dottedEdgeText": {
4273
+ "rules": [
4274
+ 21,
4275
+ 24,
4276
+ 76,
4277
+ 78,
4278
+ 79,
4279
+ 82,
4280
+ 84,
4281
+ 86,
4282
+ 90,
4283
+ 92,
4284
+ 96,
4285
+ 97,
4286
+ 110,
4287
+ 112,
4288
+ 114,
4289
+ 116
4290
+ ],
4291
+ "inclusive": false
4292
+ },
4293
+ "thickEdgeText": {
4294
+ "rules": [
4295
+ 21,
4296
+ 24,
4297
+ 73,
4298
+ 75,
4299
+ 79,
4300
+ 82,
4301
+ 84,
4302
+ 86,
4303
+ 90,
4304
+ 92,
4305
+ 96,
4306
+ 97,
4307
+ 110,
4308
+ 112,
4309
+ 114,
4310
+ 116
4311
+ ],
4312
+ "inclusive": false
4313
+ },
4314
+ "edgeText": {
4315
+ "rules": [
4316
+ 21,
4317
+ 24,
4318
+ 70,
4319
+ 72,
4320
+ 79,
4321
+ 82,
4322
+ 84,
4323
+ 86,
4324
+ 90,
4325
+ 92,
4326
+ 96,
4327
+ 97,
4328
+ 110,
4329
+ 112,
4330
+ 114,
4331
+ 116
4332
+ ],
4333
+ "inclusive": false
4334
+ },
4335
+ "trapText": {
4336
+ "rules": [
4337
+ 21,
4338
+ 24,
4339
+ 79,
4340
+ 82,
4341
+ 84,
4342
+ 86,
4343
+ 90,
4344
+ 92,
4345
+ 93,
4346
+ 94,
4347
+ 95,
4348
+ 96,
4349
+ 97,
4350
+ 110,
4351
+ 112,
4352
+ 114,
4353
+ 116
4354
+ ],
4355
+ "inclusive": false
4356
+ },
4357
+ "ellipseText": {
4358
+ "rules": [
4359
+ 21,
4360
+ 24,
4361
+ 79,
4362
+ 80,
4363
+ 81,
4364
+ 82,
4365
+ 84,
4366
+ 86,
4367
+ 90,
4368
+ 92,
4369
+ 96,
4370
+ 97,
4371
+ 110,
4372
+ 112,
4373
+ 114,
4374
+ 116
4375
+ ],
4376
+ "inclusive": false
4377
+ },
4378
+ "text": {
4379
+ "rules": [
4380
+ 21,
4381
+ 24,
4382
+ 79,
4383
+ 82,
4384
+ 83,
4385
+ 84,
4386
+ 85,
4387
+ 86,
4388
+ 89,
4389
+ 90,
4390
+ 91,
4391
+ 92,
4392
+ 96,
4393
+ 97,
4394
+ 109,
4395
+ 110,
4396
+ 111,
4397
+ 112,
4398
+ 113,
4399
+ 114,
4400
+ 115,
4401
+ 116,
4402
+ 117
4403
+ ],
4404
+ "inclusive": false
4405
+ },
4406
+ "vertex": {
4407
+ "rules": [
4408
+ 21,
4409
+ 24,
4410
+ 79,
4411
+ 82,
4412
+ 84,
4413
+ 86,
4414
+ 90,
4415
+ 92,
4416
+ 96,
4417
+ 97,
4418
+ 110,
4419
+ 112,
4420
+ 114,
4421
+ 116
4422
+ ],
4423
+ "inclusive": false
4424
+ },
4425
+ "dir": {
4426
+ "rules": [
4427
+ 21,
4428
+ 24,
4429
+ 45,
4430
+ 46,
4431
+ 47,
4432
+ 48,
4433
+ 49,
4434
+ 50,
4435
+ 51,
4436
+ 52,
4437
+ 53,
4438
+ 54,
4439
+ 55,
4440
+ 79,
4441
+ 82,
4442
+ 84,
4443
+ 86,
4444
+ 90,
4445
+ 92,
4446
+ 96,
4447
+ 97,
4448
+ 110,
4449
+ 112,
4450
+ 114,
4451
+ 116
4452
+ ],
4453
+ "inclusive": false
4454
+ },
4455
+ "acc_descr_multiline": {
4456
+ "rules": [
4457
+ 5,
4458
+ 6,
4459
+ 21,
4460
+ 24,
4461
+ 79,
4462
+ 82,
4463
+ 84,
4464
+ 86,
4465
+ 90,
4466
+ 92,
4467
+ 96,
4468
+ 97,
4469
+ 110,
4470
+ 112,
4471
+ 114,
4472
+ 116
4473
+ ],
4474
+ "inclusive": false
4475
+ },
4476
+ "acc_descr": {
4477
+ "rules": [
4478
+ 3,
4479
+ 21,
4480
+ 24,
4481
+ 79,
4482
+ 82,
4483
+ 84,
4484
+ 86,
4485
+ 90,
4486
+ 92,
4487
+ 96,
4488
+ 97,
4489
+ 110,
4490
+ 112,
4491
+ 114,
4492
+ 116
4493
+ ],
4494
+ "inclusive": false
4495
+ },
4496
+ "acc_title": {
4497
+ "rules": [
4498
+ 1,
4499
+ 21,
4500
+ 24,
4501
+ 79,
4502
+ 82,
4503
+ 84,
4504
+ 86,
4505
+ 90,
4506
+ 92,
4507
+ 96,
4508
+ 97,
4509
+ 110,
4510
+ 112,
4511
+ 114,
4512
+ 116
4513
+ ],
4514
+ "inclusive": false
4515
+ },
4516
+ "md_string": {
4517
+ "rules": [
4518
+ 19,
4519
+ 20,
4520
+ 21,
4521
+ 24,
4522
+ 79,
4523
+ 82,
4524
+ 84,
4525
+ 86,
4526
+ 90,
4527
+ 92,
4528
+ 96,
4529
+ 97,
4530
+ 110,
4531
+ 112,
4532
+ 114,
4533
+ 116
4534
+ ],
4535
+ "inclusive": false
4536
+ },
4537
+ "string": {
4538
+ "rules": [
4539
+ 21,
4540
+ 22,
4541
+ 23,
4542
+ 24,
4543
+ 79,
4544
+ 82,
4545
+ 84,
4546
+ 86,
4547
+ 90,
4548
+ 92,
4549
+ 96,
4550
+ 97,
4551
+ 110,
4552
+ 112,
4553
+ 114,
4554
+ 116
4555
+ ],
4556
+ "inclusive": false
4557
+ },
4558
+ "INITIAL": {
4559
+ "rules": [
4560
+ 0,
4561
+ 2,
4562
+ 4,
4563
+ 7,
4564
+ 13,
4565
+ 21,
4566
+ 24,
4567
+ 25,
4568
+ 26,
4569
+ 27,
4570
+ 28,
4571
+ 29,
4572
+ 30,
4573
+ 31,
4574
+ 32,
4575
+ 35,
4576
+ 36,
4577
+ 37,
4578
+ 38,
4579
+ 39,
4580
+ 40,
4581
+ 41,
4582
+ 42,
4583
+ 43,
4584
+ 44,
4585
+ 56,
4586
+ 57,
4587
+ 58,
4588
+ 59,
4589
+ 60,
4590
+ 61,
4591
+ 62,
4592
+ 63,
4593
+ 64,
4594
+ 65,
4595
+ 66,
4596
+ 67,
4597
+ 68,
4598
+ 69,
4599
+ 70,
4600
+ 71,
4601
+ 73,
4602
+ 74,
4603
+ 76,
4604
+ 77,
4605
+ 79,
4606
+ 82,
4607
+ 84,
4608
+ 86,
4609
+ 87,
4610
+ 88,
4611
+ 90,
4612
+ 92,
4613
+ 96,
4614
+ 97,
4615
+ 98,
4616
+ 99,
4617
+ 100,
4618
+ 101,
4619
+ 102,
4620
+ 103,
4621
+ 104,
4622
+ 105,
4623
+ 106,
4624
+ 107,
4625
+ 108,
4626
+ 110,
4627
+ 112,
4628
+ 114,
4629
+ 116,
4630
+ 118,
4631
+ 119,
4632
+ 120,
4633
+ 121
4634
+ ],
4635
+ "inclusive": true
4636
+ }
4637
+ }
4638
+ };
4639
+ })();
4640
+ function Parser() {
4641
+ this.yy = {};
4642
+ }
4643
+ __name(Parser, "Parser");
4644
+ Parser.prototype = parser2;
4645
+ parser2.Parser = Parser;
4646
+ return new Parser();
4647
+ })();
4648
+ parser.parser = parser;
4649
+ var flow_default = parser;
4650
+ var newParser = Object.assign({}, flow_default);
4651
+ newParser.parse = (src) => {
4652
+ const newSrc = src.replace(/}\s*\n/g, "}\n");
4653
+ return flow_default.parse(newSrc);
4654
+ };
4655
+ var flowParser_default = newParser;
4656
+ var genColor = /* @__PURE__ */ __name((options) => {
4657
+ const { theme, bkgColorArray, borderColorArray } = options;
4658
+ if (!isColorTheme(theme, borderColorArray)) return "";
4659
+ const look = safeLook(options.look);
4660
+ const hasBkgColors = hasPalette(bkgColorArray);
4661
+ let sections = "";
4662
+ for (let i = 0; i < colorSlotCount(options.THEME_COLOR_LIMIT, borderColorArray); i++) {
4663
+ const borderColor = borderColorArray[i % borderColorArray.length];
4664
+ const fill = hasBkgColors ? `fill: ${bkgColorArray[i % bkgColorArray.length]};` : "";
4665
+ const slot = `[data-look="${look}"][data-color-id="color-${i}"]`;
4666
+ const collapsedRule = /* @__PURE__ */ __name((suffix) => `${slot}.node ${suffix}, ${slot}.rough-node ${suffix}`, "collapsedRule");
4667
+ const laneRule = /* @__PURE__ */ __name((suffix) => `${slot}.swimlane.cluster .swimlane-title${suffix}, ${slot}.swimlane.cluster .swimlane-body${suffix}`, "laneRule");
4668
+ sections += `
4669
+
4670
+ ${slot}.cluster:not(.swimlane) rect {
4671
+ stroke: ${borderColor};
4672
+ ${fill}
4673
+ }
4674
+
4675
+ ${slot}.cluster:not(.swimlane) path {
4676
+ stroke: ${borderColor};
4677
+ ${fill}
4678
+ }
4679
+
4680
+ /* Lane, classic and neo. */
4681
+ ${slot}.swimlane.cluster rect.swimlane-title,
4682
+ ${slot}.swimlane.cluster rect.swimlane-body {
4683
+ stroke: ${borderColor};
4684
+ ${fill}
4685
+ }
4686
+
4687
+ /* Lane, handDrawn: roughjs emits the hachure fill first, then the outline. */
4688
+ ${laneRule(" path:nth-of-type(2)")} {
4689
+ stroke: ${borderColor};
4690
+ }
4691
+ ${hasBkgColors ? `
4692
+ /* A roughjs fill is drawn as lines, so the lane fill is a stroke here. */
4693
+ ${laneRule(" path:first-of-type")} {
4694
+ stroke: ${bkgColorArray[i % bkgColorArray.length]};
4695
+ }
4696
+ ` : ""}
4697
+ ${collapsedRule(".collapsed-group")},
4698
+ ${collapsedRule(".collapsed-group path")} {
4699
+ stroke: ${borderColor};
4700
+ ${fill}
4701
+ }
4702
+
4703
+ /* The ellipsis dots and the separator take clusterBorder further down, so without
4704
+ these the container is palette-coloured while its own markers are not. */
4705
+ ${collapsedRule(".collapsed-indicator")} {
4706
+ fill: ${borderColor};
4707
+ }
4708
+
4709
+ ${collapsedRule(".collapsed-separator")} {
4710
+ stroke: ${borderColor};
4711
+ }
4712
+ `;
4713
+ }
4714
+ return sections;
4715
+ }, "genColor");
4716
+ var fade = /* @__PURE__ */ __name((color, opacity) => {
4717
+ const channel2 = channel;
4718
+ const r = channel2(color, "r");
4719
+ const g = channel2(color, "g");
4720
+ const b = channel2(color, "b");
4721
+ return rgba(r, g, b, opacity);
4722
+ }, "fade");
4723
+ var styles_default = /* @__PURE__ */ __name((options) => `${genColor(options)}
4724
+ .label {
4725
+ font-family: ${options.fontFamily};
4726
+ color: ${options.nodeTextColor || options.textColor};
4727
+ }
4728
+ .cluster-label text {
4729
+ fill: ${options.titleColor};
4730
+ }
4731
+ .cluster-label span {
4732
+ color: ${options.titleColor};
4733
+ }
4734
+ .cluster-label span p {
4735
+ background-color: transparent;
4736
+ }
4737
+
4738
+ .label text,span {
4739
+ fill: ${options.nodeTextColor || options.textColor};
4740
+ color: ${options.nodeTextColor || options.textColor};
4741
+ }
4742
+
4743
+ .node rect,
4744
+ .node circle,
4745
+ .node ellipse,
4746
+ .node polygon,
4747
+ .node path {
4748
+ fill: ${options.mainBkg};
4749
+ stroke: ${options.nodeBorder};
4750
+ stroke-width: ${options.strokeWidth ?? 1}px;
4751
+ }
4752
+ .rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label {
4753
+ text-anchor: middle;
4754
+ }
4755
+
4756
+ .node .katex path {
4757
+ fill: #000;
4758
+ stroke: #000;
4759
+ stroke-width: 1px;
4760
+ }
4761
+
4762
+ .rough-node .label,.node .label, .image-shape .label, .icon-shape .label {
4763
+ text-align: center;
4764
+ }
4765
+ .node.clickable {
4766
+ cursor: pointer;
4767
+ }
4768
+
4769
+
4770
+ .root .anchor path {
4771
+ fill: ${options.lineColor} !important;
4772
+ stroke-width: 0;
4773
+ stroke: ${options.lineColor};
4774
+ }
4775
+
4776
+ .arrowheadPath {
4777
+ fill: ${options.arrowheadColor};
4778
+ }
4779
+
4780
+ .edgePaths .path {
4781
+ stroke: ${options.lineColor};
4782
+ stroke-width: ${options.strokeWidth ?? 2}px;
4783
+ }
4784
+
4785
+ .flowchart-link {
4786
+ stroke: ${options.lineColor};
4787
+ fill: none;
4788
+ }
4789
+
4790
+ .edgeLabel {
4791
+ background-color: ${options.edgeLabelBackground};
4792
+ p {
4793
+ background-color: ${options.edgeLabelBackground};
4794
+ }
4795
+ rect {
4796
+ opacity: 0.5;
4797
+ background-color: ${options.edgeLabelBackground};
4798
+ fill: ${options.edgeLabelBackground};
4799
+ }
4800
+ text-align: center;
4801
+ }
4802
+
4803
+ /* For html labels only */
4804
+ .labelBkg {
4805
+ background-color: ${fade(options.edgeLabelBackground, .5)};
4806
+ // background-color:
4807
+ }
4808
+
4809
+ .cluster rect {
4810
+ fill: ${options.clusterBkg};
4811
+ stroke: ${options.clusterBorder};
4812
+ stroke-width: 1px;
4813
+ }
4814
+
4815
+ .cluster text {
4816
+ fill: ${options.titleColor};
4817
+ }
4818
+
4819
+ .cluster span {
4820
+ color: ${options.titleColor};
4821
+ }
4822
+ /* .cluster div {
4823
+ color: ${options.titleColor};
4824
+ } */
4825
+
4826
+ /* Collapsed subgraph node (@{ view: collapsed }) */
4827
+ .node .collapsed-indicator {
4828
+ fill: ${options.clusterBorder};
4829
+ stroke: none;
4830
+ opacity: 0.6;
4831
+ }
4832
+
4833
+ .node .collapsed-separator {
4834
+ stroke: ${options.clusterBorder};
4835
+ stroke-width: 0.75px;
4836
+ }
4837
+
4838
+ div.mermaidTooltip {
4839
+ position: absolute;
4840
+ text-align: center;
4841
+ max-width: 200px;
4842
+ padding: 2px;
4843
+ font-family: ${options.fontFamily};
4844
+ font-size: 12px;
4845
+ background: ${options.tertiaryColor};
4846
+ border: 1px solid ${options.border2};
4847
+ border-radius: 2px;
4848
+ pointer-events: none;
4849
+ z-index: 100;
4850
+ }
4851
+
4852
+ .flowchartTitleText {
4853
+ text-anchor: middle;
4854
+ font-size: 18px;
4855
+ fill: ${options.textColor};
4856
+ }
4857
+
4858
+ rect.text {
4859
+ fill: none;
4860
+ stroke-width: 0;
4861
+ }
4862
+
4863
+ .icon-shape, .image-shape {
4864
+ background-color: ${options.edgeLabelBackground};
4865
+ p {
4866
+ background-color: ${options.edgeLabelBackground};
4867
+ padding: 2px;
4868
+ }
4869
+ .label rect {
4870
+ opacity: 0.5;
4871
+ background-color: ${options.edgeLabelBackground};
4872
+ fill: ${options.edgeLabelBackground};
4873
+ }
4874
+ text-align: center;
4875
+ }
4876
+ ${getIconStyles()}
4877
+ `, "getStyles");
4878
+ var createFlowDiagram = /* @__PURE__ */ __name(({ styles = styles_default } = {}) => ({
4879
+ parser: flowParser_default,
4880
+ get db() {
4881
+ return new FlowDB();
4882
+ },
4883
+ renderer: flowRenderer_v3_unified_default,
4884
+ styles,
4885
+ init: /* @__PURE__ */ __name((cnf) => {
4886
+ if (!cnf.flowchart) cnf.flowchart = {};
4887
+ cnf.flowchart.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;
4888
+ setConfig2({ flowchart: { arrowMarkerAbsolute: cnf.arrowMarkerAbsolute } });
4889
+ }, "init")
4890
+ }), "createFlowDiagram");
4891
+ var diagram = createFlowDiagram();
4892
+
4893
+ //#endregion
4894
+ export { diagram as n, styles_default as r, createFlowDiagram as t };