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