@fibery/custom-app-text-editor 1.2.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 (105) hide show
  1. package/LICENSE +214 -0
  2. package/README.md +33 -0
  3. package/lib/abnfDiagram-VRR7QNED-BgjOQqEh.js +89 -0
  4. package/lib/arc-Dp0rqagO.js +82 -0
  5. package/lib/architecture-TIHT7OUA-DDwCCw0y.js +3 -0
  6. package/lib/architectureDiagram-ZJ3FMSHR-BucIluTN.js +4129 -0
  7. package/lib/array-CApNbSU9.js +6 -0
  8. package/lib/blockDiagram-677ZJIJ3-CWYuHThP.js +3157 -0
  9. package/lib/c4Diagram-LMCZKHZV-Cr3_W-xe.js +2982 -0
  10. package/lib/channel-Bb7a6w5c.js +5 -0
  11. package/lib/chunk-2Q5K7J3B-CINvUK-A.js +15 -0
  12. package/lib/chunk-32BRIVSS-b-BvyGz0.js +61 -0
  13. package/lib/chunk-52WLFC77-Cf8zEoqs.js +593 -0
  14. package/lib/chunk-5VM5RSS4-Dnx15xMv.js +5 -0
  15. package/lib/chunk-7BUUIJ7U-B018BbRy.js +82 -0
  16. package/lib/chunk-C7G6YPKG-CmOuVFlJ.js +67 -0
  17. package/lib/chunk-EX3LRPZG-LynZw14I.js +2042 -0
  18. package/lib/chunk-HOUHSVGY-Br7ZSMKe.js +275 -0
  19. package/lib/chunk-ICXQ74PX-VqT5WUTt.js +1330 -0
  20. package/lib/chunk-JWPE2WC7-Ch0jmUXM.js +8 -0
  21. package/lib/chunk-KEIR6QF5-RwFi50en.js +21456 -0
  22. package/lib/chunk-MOJQB5TN-rQ4AfTd9.js +490 -0
  23. package/lib/chunk-OGEWGWER-BvF6eV9Q.js +32 -0
  24. package/lib/chunk-PUDLZKDR-BW7SZvCB.js +4135 -0
  25. package/lib/chunk-Q4XR5HBZ-CRgGP3ez.js +1635 -0
  26. package/lib/chunk-RYQCIY6F-CHlASUpG.js +241 -0
  27. package/lib/chunk-V7JOEXUC-OY39ml6X.js +3357 -0
  28. package/lib/chunk-VR4S4FIN-Bk7IFdYB.js +26 -0
  29. package/lib/chunk-WYO6CB5R-MV-yOaop.js +3769 -0
  30. package/lib/chunk-XXDRQBXY-Djd1ChwJ.js +9 -0
  31. package/lib/chunk-Y2CYZVJY-QdJ4V9rh.js +12 -0
  32. package/lib/chunk-ZGVPDNZ5-l81xl1BI.js +3738 -0
  33. package/lib/classDiagram-OUVF2IWQ--wRzSvLt.js +30 -0
  34. package/lib/classDiagram-v2-EOCWNBFH-ChMCdPO-.js +30 -0
  35. package/lib/cose-bilkent-JH36ORCC-CyVZn5M3.js +2254 -0
  36. package/lib/custom-app-text-editor.css +2 -0
  37. package/lib/custom-app-text-editor.js +81102 -0
  38. package/lib/cynefin-VYW2F7L2-CMgnLl46.js +3 -0
  39. package/lib/cynefinDiagram-TSTJHNR4-988Y73wV.js +355 -0
  40. package/lib/cytoscape.esm-DMXbtFI-.js +18145 -0
  41. package/lib/dagre-Dmarb1s8.js +1699 -0
  42. package/lib/dagre-VKFMJZFB-Bf-pz2Lx.js +328 -0
  43. package/lib/defaultLocale-A87O3snN.js +198 -0
  44. package/lib/diagram-FQU43EPY-BT8WeVzc.js +432 -0
  45. package/lib/diagram-G47NLZAW-vZ2XG37l.js +527 -0
  46. package/lib/diagram-NH7WQ7WH-CH0IfHB0.js +134 -0
  47. package/lib/diagram-OA4YK3LP-BgwQcJfp.js +300 -0
  48. package/lib/diagram-WEI45ONY-Cd3sVPil.js +214 -0
  49. package/lib/dist-PGS6ynRO.js +59 -0
  50. package/lib/ebnfDiagram-CCIWWBDH-CwBFb2Fm.js +100 -0
  51. package/lib/erDiagram-Q63AITRT-BshRACvj.js +1727 -0
  52. package/lib/eventmodeling-45OFAUF4-BDhzj03B.js +3 -0
  53. package/lib/flowDiagram-23GEKE2U-C3zDgFvZ.js +16 -0
  54. package/lib/ganttDiagram-NO4QXBWP-BD5PiE8x.js +3073 -0
  55. package/lib/gitGraph-TEB2WS4Q-DJA_hE4G.js +3 -0
  56. package/lib/gitGraphDiagram-IHSO6WYX-BAhccBh3.js +733 -0
  57. package/lib/graphlib-DglfpsVp.js +1267 -0
  58. package/lib/index.browser-Dv9K8IAp.js +26 -0
  59. package/lib/info-DKCQHKI2-BD_vOCz6.js +3 -0
  60. package/lib/infoDiagram-FWYZ7A6U-CGZnf03G.js +20 -0
  61. package/lib/init-sjaVZO3f.js +13 -0
  62. package/lib/ishikawaDiagram-FXEZZL3T-PFfVM0NO.js +719 -0
  63. package/lib/journeyDiagram-5HDEW3XC-CRGz7dcx.js +884 -0
  64. package/lib/kanban-definition-HUTT4EX6-BBH4Yn5e.js +974 -0
  65. package/lib/line-CJQicKfr.js +34 -0
  66. package/lib/linear-B9Cv96-J.js +288 -0
  67. package/lib/map-C7KALUOH.js +241 -0
  68. package/lib/mermaid-parser.core-BupC9XGF.js +638 -0
  69. package/lib/mermaid-renderer-Cp0xusfR.js +2425 -0
  70. package/lib/mindmap-definition-LN4V7U3C-CWL1sg0K.js +978 -0
  71. package/lib/ordinal-CNQzPcrr.js +65 -0
  72. package/lib/packet-7NZHBO7P-CgBlALV1.js +3 -0
  73. package/lib/path-DVvH25eQ.js +84 -0
  74. package/lib/pegDiagram-2B236MQR-BKv8dTtv.js +94 -0
  75. package/lib/pie-RZYD4A2V-CryPC-P_.js +3 -0
  76. package/lib/pieDiagram-ENE6RG2P-CXeFg_cL.js +203 -0
  77. package/lib/quadrantDiagram-ABIIQ3AL-v_u3aC8Y.js +2001 -0
  78. package/lib/radar-I7S5WNFK-DgzJDRy3.js +3 -0
  79. package/lib/railroad-3IZDKUUU-DFp3mbpB.js +3 -0
  80. package/lib/railroad-abnf-AHOZXSZD-BRjidKH0.js +3 -0
  81. package/lib/railroad-ebnf-EBAXGLYW-PgrDWact.js +3 -0
  82. package/lib/railroad-peg-LSFZ7HO6-CMKir81Y.js +3 -0
  83. package/lib/railroadDiagram-RFXS5EU6-mEC9tVS-.js +76 -0
  84. package/lib/requirementDiagram-TGXJPOKE-BAEzI7V4.js +2223 -0
  85. package/lib/rolldown-runtime-DArdT4gl.js +23 -0
  86. package/lib/rough.esm-B2w_aYoc.js +1361 -0
  87. package/lib/sankeyDiagram-HTMAVEWB-Dbu-sl2E.js +972 -0
  88. package/lib/sequenceDiagram-DBY2YBRQ-DCuWmWHX.js +4156 -0
  89. package/lib/sizeCapture-X5ZJPWSS-BEIM84He.js +46 -0
  90. package/lib/src-DQbL46sB.js +2139 -0
  91. package/lib/src-DuuHKEe6.js +704 -0
  92. package/lib/stateDiagram-2N3HPSRC-fs9QmDMR.js +220 -0
  93. package/lib/stateDiagram-v2-6OUMAXLB-wWxYbttN.js +30 -0
  94. package/lib/swimlanes-5IMT3BWC-QaXUd9db.js +5069 -0
  95. package/lib/swimlanesDiagram-G3AALYLV-BtGToCzH.js +30 -0
  96. package/lib/timeline-definition-FHXFAJF6-CAsyJrsw.js +1069 -0
  97. package/lib/treeView-QDETBFTQ-DVp4aTZQ.js +3 -0
  98. package/lib/treemap-6X3UGDF4-BbBnHMHJ.js +3 -0
  99. package/lib/types.d.ts +44 -0
  100. package/lib/v4-CZv9Hsqq.js +33 -0
  101. package/lib/vennDiagram-L72KCM5P-C87u0gjr.js +1880 -0
  102. package/lib/wardley-OPB4EBWU-B-RXhnoN.js +3 -0
  103. package/lib/wardleyDiagram-EHGQE667-BxviBDl_.js +645 -0
  104. package/lib/xychartDiagram-FW5EYKEG-BQQhanuH.js +2098 -0
  105. package/package.json +29 -0
@@ -0,0 +1,4135 @@
1
+ import { n as e } from "./chunk-Y2CYZVJY-QdJ4V9rh.js";
2
+ import { m as t, p as n } from "./src-DQbL46sB.js";
3
+ import { $ as r, G as i, H as a, K as o, U as s, a as c, d as l, it as u, k as d, s as f, v as p, w as ee, x as m, y as h } from "./chunk-WYO6CB5R-MV-yOaop.js";
4
+ import { t as te } from "./channel-Bb7a6w5c.js";
5
+ import { c as g, g as _ } from "./chunk-ICXQ74PX-VqT5WUTt.js";
6
+ import { t as ne } from "./chunk-5VM5RSS4-Dnx15xMv.js";
7
+ import { t as re } from "./chunk-32BRIVSS-b-BvyGz0.js";
8
+ import { t as v } from "./chunk-XXDRQBXY-Djd1ChwJ.js";
9
+ import { t as y } from "./chunk-VR4S4FIN-Bk7IFdYB.js";
10
+ import { o as b } from "./chunk-ZGVPDNZ5-l81xl1BI.js";
11
+ import { i as x, n as S, r as C, t as w } from "./mermaid-renderer-Cp0xusfR.js";
12
+ //#region ../../node_modules/.pnpm/mermaid@11.16.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-PUDLZKDR.mjs
13
+ var T = "flowchart-", E = class {
14
+ constructor() {
15
+ this.vertexCounter = 0, this.config = m(), this.diagramId = "", this.vertices = /* @__PURE__ */ new Map(), this.edges = [], this.classes = /* @__PURE__ */ new Map(), this.subGraphs = [], this.subGraphLookup = /* @__PURE__ */ new Map(), this.tooltips = /* @__PURE__ */ new Map(), this.subCount = 0, this.firstGraphFlag = !0, this.secCount = -1, this.posCrossRef = [], this.funs = [], this.setAccTitle = s, this.setAccDescription = a, this.setDiagramTitle = o, this.getAccTitle = h, this.getAccDescription = p, this.getDiagramTitle = ee, this.funs.push(this.setupToolTips.bind(this)), this.addVertex = this.addVertex.bind(this), this.firstGraph = this.firstGraph.bind(this), this.setDirection = this.setDirection.bind(this), this.addSubGraph = this.addSubGraph.bind(this), this.addLink = this.addLink.bind(this), this.setLink = this.setLink.bind(this), this.updateLink = this.updateLink.bind(this), this.addClass = this.addClass.bind(this), this.setClass = this.setClass.bind(this), this.destructLink = this.destructLink.bind(this), this.setClickEvent = this.setClickEvent.bind(this), this.setTooltip = this.setTooltip.bind(this), this.updateLinkInterpolate = this.updateLinkInterpolate.bind(this), this.setClickFun = this.setClickFun.bind(this), this.bindFunctions = this.bindFunctions.bind(this), this.lex = { firstGraph: this.firstGraph.bind(this) }, this.clear(), this.setGen("gen-2");
16
+ }
17
+ static {
18
+ e(this, "FlowDB");
19
+ }
20
+ sanitizeText(e) {
21
+ return f.sanitizeText(e, this.config);
22
+ }
23
+ sanitizeNodeLabelType(e) {
24
+ switch (e) {
25
+ case "markdown":
26
+ case "string":
27
+ case "text": return e;
28
+ default: return "markdown";
29
+ }
30
+ }
31
+ setDiagramId(e) {
32
+ this.diagramId = e;
33
+ }
34
+ lookUpDomId(e) {
35
+ for (let t of this.vertices.values()) if (t.id === e) return this.diagramId ? `${this.diagramId}-${t.domId}` : t.domId;
36
+ return this.diagramId ? `${this.diagramId}-${e}` : e;
37
+ }
38
+ addVertex(e, n, r, i, a, o, s = {}, c) {
39
+ if (!e || e.trim().length === 0) return;
40
+ let l;
41
+ if (c !== void 0) {
42
+ let e;
43
+ e = c.includes("\n") ? c + "\n" : "{\n" + c + "\n}", l = S(e, { schema: w });
44
+ }
45
+ let u = this.edges.find((t) => t.id === e);
46
+ if (u) {
47
+ let e = l;
48
+ e?.animate !== void 0 && (u.animate = e.animate), e?.animation !== void 0 && (u.animation = e.animation), e?.curve !== void 0 && (u.interpolate = e.curve);
49
+ return;
50
+ }
51
+ let d, f = this.vertices.get(e);
52
+ if (f === void 0 && (n === void 0 && r === void 0 && i != null && t.warn(`Style applied to unknown node "${e}". This may indicate a typo. The node will be created automatically.`), f = {
53
+ id: e,
54
+ labelType: "text",
55
+ domId: T + e + "-" + this.vertexCounter,
56
+ styles: [],
57
+ classes: []
58
+ }, this.vertices.set(e, f)), this.vertexCounter++, n === void 0 ? f.text === void 0 && (f.text = e) : (this.config = m(), d = this.sanitizeText(n.text.trim()), f.labelType = n.type, d.startsWith("\"") && d.endsWith("\"") && (d = d.substring(1, d.length - 1)), f.text = d), r !== void 0 && (f.type = r), i?.forEach((e) => {
59
+ f.styles.push(e);
60
+ }), a?.forEach((e) => {
61
+ f.classes.push(e);
62
+ }), o !== void 0 && (f.dir = o), f.props === void 0 ? f.props = s : s !== void 0 && Object.assign(f.props, s), l !== void 0) {
63
+ if (l.shape) {
64
+ if (l.shape !== l.shape.toLowerCase() || l.shape.includes("_")) throw Error(`No such shape: ${l.shape}. Shape names should be lowercase.`);
65
+ if (!b(l.shape)) throw Error(`No such shape: ${l.shape}.`);
66
+ f.type = l?.shape;
67
+ }
68
+ l?.label && (f.text = l?.label, f.labelType = this.sanitizeNodeLabelType(l?.labelType)), l?.icon && (f.icon = l?.icon, !l.label?.trim() && f.text === e && (f.text = "")), l?.form && (f.form = l?.form), l?.pos && (f.pos = l?.pos), l?.img && (f.img = l?.img, !l.label?.trim() && f.text === e && (f.text = "")), l?.constraint && (f.constraint = l.constraint), l.w && (f.assetWidth = Number(l.w)), l.h && (f.assetHeight = Number(l.h));
69
+ }
70
+ }
71
+ addSingleLink(e, n, r, i) {
72
+ let a = {
73
+ start: e,
74
+ end: n,
75
+ type: void 0,
76
+ text: "",
77
+ labelType: "text",
78
+ classes: [],
79
+ isUserDefinedId: !1,
80
+ interpolate: this.edges.defaultInterpolate
81
+ };
82
+ t.info("abc78 Got edge...", a);
83
+ let o = r.text;
84
+ if (o !== void 0 && (a.text = this.sanitizeText(o.text.trim()), a.text.startsWith("\"") && a.text.endsWith("\"") && (a.text = a.text.substring(1, a.text.length - 1)), a.labelType = this.sanitizeNodeLabelType(o.type)), r !== void 0 && (a.type = r.type, a.stroke = r.stroke, a.length = r.length > 10 ? 10 : r.length), i && !this.edges.some((e) => e.id === i)) a.id = i, a.isUserDefinedId = !0;
85
+ else {
86
+ let e = this.edges.filter((e) => e.start === a.start && e.end === a.end);
87
+ a.id = e.length === 0 ? g(a.start, a.end, {
88
+ counter: 0,
89
+ prefix: "L"
90
+ }) : g(a.start, a.end, {
91
+ counter: e.length + 1,
92
+ prefix: "L"
93
+ });
94
+ }
95
+ if (this.edges.length < (this.config.maxEdges ?? 500)) t.info("Pushing edge..."), this.edges.push(a);
96
+ else throw Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
97
+
98
+ Initialize mermaid with maxEdges set to a higher number to allow more edges.
99
+ You cannot set this config via configuration inside the diagram as it is a secure config.
100
+ You have to call mermaid.initialize.`);
101
+ }
102
+ isLinkData(e) {
103
+ return typeof e == "object" && !!e && "id" in e && typeof e.id == "string";
104
+ }
105
+ addLink(e, n, r) {
106
+ let i = this.isLinkData(r) ? r.id.replace("@", "") : void 0;
107
+ t.info("addLink", e, n, i);
108
+ for (let t of e) for (let a of n) {
109
+ let o = t === e[e.length - 1], s = a === n[0];
110
+ o && s ? this.addSingleLink(t, a, r, i) : this.addSingleLink(t, a, r, void 0);
111
+ }
112
+ }
113
+ updateLinkInterpolate(e, t) {
114
+ e.forEach((e) => {
115
+ e === "default" ? this.edges.defaultInterpolate = t : this.edges[e].interpolate = t;
116
+ });
117
+ }
118
+ updateLink(e, t) {
119
+ e.forEach((e) => {
120
+ if (typeof e == "number" && e >= this.edges.length) throw Error(`The index ${e} 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.)`);
121
+ e === "default" ? this.edges.defaultStyle = t : (this.edges[e].style = t, (this.edges[e]?.style?.length ?? 0) > 0 && !this.edges[e]?.style?.some((e) => e?.startsWith("fill")) && this.edges[e]?.style?.push("fill:none"));
122
+ });
123
+ }
124
+ addClass(e, t) {
125
+ let n = t.join().replace(/\\,/g, "§§§").replace(/,/g, ";").replace(/§§§/g, ",").split(";");
126
+ e.split(",").forEach((e) => {
127
+ let t = this.classes.get(e);
128
+ t === void 0 && (t = {
129
+ id: e,
130
+ styles: [],
131
+ textStyles: []
132
+ }, this.classes.set(e, t)), n?.forEach((e) => {
133
+ if (/color/.exec(e)) {
134
+ let n = e.replace("fill", "bgFill");
135
+ t.textStyles.push(n);
136
+ }
137
+ t.styles.push(e);
138
+ });
139
+ });
140
+ }
141
+ setDirection(e) {
142
+ this.direction = e.trim(), /.*</.exec(this.direction) && (this.direction = "RL"), /.*\^/.exec(this.direction) && (this.direction = "BT"), /.*>/.exec(this.direction) && (this.direction = "LR"), /.*v/.exec(this.direction) && (this.direction = "TB"), this.direction === "TD" && (this.direction = "TB");
143
+ }
144
+ setClass(e, t) {
145
+ for (let n of e.split(",")) {
146
+ let e = this.vertices.get(n);
147
+ e && e.classes.push(t);
148
+ let r = this.edges.find((e) => e.id === n);
149
+ r && r.classes.push(t);
150
+ let i = this.subGraphLookup.get(n);
151
+ i && i.classes.push(t);
152
+ }
153
+ }
154
+ setTooltip(e, t) {
155
+ if (t !== void 0) {
156
+ t = this.sanitizeText(t);
157
+ for (let n of e.split(",")) this.tooltips.set(this.version === "gen-1" ? this.lookUpDomId(n) : n, t);
158
+ }
159
+ }
160
+ setClickFun(e, t, n) {
161
+ if (m().securityLevel !== "loose" || t === void 0) return;
162
+ let r = [];
163
+ if (typeof n == "string") {
164
+ r = n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
165
+ for (let e = 0; e < r.length; e++) {
166
+ let t = r[e].trim();
167
+ t.startsWith("\"") && t.endsWith("\"") && (t = t.substr(1, t.length - 2)), r[e] = t;
168
+ }
169
+ }
170
+ r.length === 0 && r.push(e);
171
+ let i = this.vertices.get(e);
172
+ i && (i.haveCallback = !0, this.funs.push(() => {
173
+ let n = this.lookUpDomId(e), i = document.querySelector(`[id="${n}"]`);
174
+ i !== null && i.addEventListener("click", () => {
175
+ _.runFunc(t, ...r);
176
+ }, !1);
177
+ }));
178
+ }
179
+ setLink(e, t, n) {
180
+ e.split(",").forEach((e) => {
181
+ let r = this.vertices.get(e);
182
+ r !== void 0 && (r.link = _.formatUrl(t, this.config), r.linkTarget = n);
183
+ }), this.setClass(e, "clickable");
184
+ }
185
+ getTooltip(e) {
186
+ return this.tooltips.get(e);
187
+ }
188
+ setClickEvent(e, t, n) {
189
+ e.split(",").forEach((e) => {
190
+ this.setClickFun(e, t, n);
191
+ }), this.setClass(e, "clickable");
192
+ }
193
+ bindFunctions(e) {
194
+ this.funs.forEach((t) => {
195
+ t(e);
196
+ });
197
+ }
198
+ getDirection() {
199
+ return this.direction?.trim();
200
+ }
201
+ getVertices() {
202
+ return this.vertices;
203
+ }
204
+ getEdges() {
205
+ return this.edges;
206
+ }
207
+ getClasses() {
208
+ return this.classes;
209
+ }
210
+ setupToolTips(e) {
211
+ let t = re();
212
+ n(e).select("svg").selectAll("g.node").on("mouseover", (e) => {
213
+ let i = n(e.currentTarget), a = i.attr("title");
214
+ if (a === null) return;
215
+ let o = e.currentTarget?.getBoundingClientRect();
216
+ t.transition().duration(200).style("opacity", ".9"), t.text(i.attr("title")).style("left", window.scrollX + o.left + (o.right - o.left) / 2 + "px").style("top", window.scrollY + o.bottom + "px"), t.html(r.sanitize(a)), i.classed("hover", !0);
217
+ }).on("mouseout", (e) => {
218
+ t.transition().duration(500).style("opacity", 0), n(e.currentTarget).classed("hover", !1);
219
+ });
220
+ }
221
+ clear(e = "gen-2") {
222
+ this.vertices = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), this.edges = [], this.funs = [this.setupToolTips.bind(this)], this.diagramId = "", this.subGraphs = [], this.subGraphLookup = /* @__PURE__ */ new Map(), this.subCount = 0, this.tooltips = /* @__PURE__ */ new Map(), this.firstGraphFlag = !0, this.version = e, this.config = m(), c();
223
+ }
224
+ setGen(e) {
225
+ this.version = e || "gen-2";
226
+ }
227
+ defaultStyle() {
228
+ return "fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;";
229
+ }
230
+ addSubGraph(n, r, i) {
231
+ let a = n.text.trim(), o = i.text;
232
+ n === i && /\s/.exec(i.text) && (a = void 0);
233
+ let s = (/* @__PURE__ */ e((e) => {
234
+ let t = {
235
+ boolean: {},
236
+ number: {},
237
+ string: {}
238
+ }, n = [], r;
239
+ return {
240
+ nodeList: e.filter(function(e) {
241
+ let i = typeof e;
242
+ return e.stmt && e.stmt === "dir" ? (r = e.value, !1) : e.trim() === "" ? !1 : i in t ? t[i].hasOwnProperty(e) ? !1 : t[i][e] = !0 : !n.includes(e) && n.push(e);
243
+ }),
244
+ dir: r
245
+ };
246
+ }, "uniq"))(r.flat()), c = s.nodeList, l = s.dir, u = l !== void 0, d = m().flowchart ?? {}, f = l ?? (d.inheritDir ? this.getDirection() ?? m().direction ?? void 0 : void 0);
247
+ if (this.version === "gen-1") for (let e = 0; e < c.length; e++) c[e] = this.lookUpDomId(c[e]);
248
+ a ??= "subGraph" + this.subCount, o ||= "", o = this.sanitizeText(o), this.subCount += 1;
249
+ let p = {
250
+ id: a,
251
+ nodes: c,
252
+ title: o.trim(),
253
+ classes: [],
254
+ dir: f,
255
+ hasExplicitDir: u,
256
+ labelType: this.sanitizeNodeLabelType(i?.type)
257
+ };
258
+ return t.info("Adding", p.id, p.nodes, p.dir), p.nodes = this.makeUniq(p, this.subGraphs).nodes, this.subGraphs.push(p), this.subGraphLookup.set(a, p), a;
259
+ }
260
+ getPosForId(e) {
261
+ for (let [t, n] of this.subGraphs.entries()) if (n.id === e) return t;
262
+ return -1;
263
+ }
264
+ indexNodes2(e, t) {
265
+ let n = this.subGraphs[t].nodes;
266
+ if (this.secCount += 1, this.secCount > 2e3) return {
267
+ result: !1,
268
+ count: 0
269
+ };
270
+ if (this.posCrossRef[this.secCount] = t, this.subGraphs[t].id === e) return {
271
+ result: !0,
272
+ count: 0
273
+ };
274
+ let r = 0, i = 1;
275
+ for (; r < n.length;) {
276
+ let t = this.getPosForId(n[r]);
277
+ if (t >= 0) {
278
+ let n = this.indexNodes2(e, t);
279
+ if (n.result) return {
280
+ result: !0,
281
+ count: i + n.count
282
+ };
283
+ i += n.count;
284
+ }
285
+ r += 1;
286
+ }
287
+ return {
288
+ result: !1,
289
+ count: i
290
+ };
291
+ }
292
+ getDepthFirstPos(e) {
293
+ return this.posCrossRef[e];
294
+ }
295
+ indexNodes() {
296
+ this.secCount = -1, this.subGraphs.length > 0 && this.indexNodes2("none", this.subGraphs.length - 1);
297
+ }
298
+ getSubGraphs() {
299
+ return this.subGraphs;
300
+ }
301
+ firstGraph() {
302
+ return this.firstGraphFlag ? (this.firstGraphFlag = !1, !0) : !1;
303
+ }
304
+ destructStartLink(e) {
305
+ let t = e.trim(), n = "arrow_open";
306
+ switch (t[0]) {
307
+ case "<":
308
+ n = "arrow_point", t = t.slice(1);
309
+ break;
310
+ case "x":
311
+ n = "arrow_cross", t = t.slice(1);
312
+ break;
313
+ case "o": n = "arrow_circle", t = t.slice(1);
314
+ }
315
+ let r = "normal";
316
+ return t.includes("=") && (r = "thick"), t.includes(".") && (r = "dotted"), {
317
+ type: n,
318
+ stroke: r
319
+ };
320
+ }
321
+ countChar(e, t) {
322
+ let n = t.length, r = 0;
323
+ for (let i = 0; i < n; ++i) t[i] === e && ++r;
324
+ return r;
325
+ }
326
+ destructEndLink(e) {
327
+ let t = e.trim(), n = t.slice(0, -1), r = "arrow_open";
328
+ switch (t.slice(-1)) {
329
+ case "x":
330
+ r = "arrow_cross", t.startsWith("x") && (r = "double_" + r, n = n.slice(1));
331
+ break;
332
+ case ">":
333
+ r = "arrow_point", t.startsWith("<") && (r = "double_" + r, n = n.slice(1));
334
+ break;
335
+ case "o": r = "arrow_circle", t.startsWith("o") && (r = "double_" + r, n = n.slice(1));
336
+ }
337
+ let i = "normal", a = n.length - 1;
338
+ n.startsWith("=") && (i = "thick"), n.startsWith("~") && (i = "invisible");
339
+ let o = this.countChar(".", n);
340
+ return o && (i = "dotted", a = o), {
341
+ type: r,
342
+ stroke: i,
343
+ length: a
344
+ };
345
+ }
346
+ destructLink(e, t) {
347
+ let n = this.destructEndLink(e), r;
348
+ if (t) {
349
+ if (r = this.destructStartLink(t), r.stroke !== n.stroke) return {
350
+ type: "INVALID",
351
+ stroke: "INVALID"
352
+ };
353
+ if (r.type === "arrow_open") r.type = n.type;
354
+ else {
355
+ if (r.type !== n.type) return {
356
+ type: "INVALID",
357
+ stroke: "INVALID"
358
+ };
359
+ r.type = "double_" + r.type;
360
+ }
361
+ return r.type === "double_arrow" && (r.type = "double_arrow_point"), r.length = n.length, r;
362
+ }
363
+ return n;
364
+ }
365
+ exists(e, t) {
366
+ for (let n of e) if (n.nodes.includes(t)) return !0;
367
+ return !1;
368
+ }
369
+ makeUniq(e, t) {
370
+ let n = [];
371
+ return e.nodes.forEach((r, i) => {
372
+ this.exists(t, r) || n.push(e.nodes[i]);
373
+ }), { nodes: n };
374
+ }
375
+ getTypeFromVertex(e) {
376
+ if (e.img) return "imageSquare";
377
+ if (e.icon) return e.form === "circle" ? "iconCircle" : e.form === "square" ? "iconSquare" : e.form === "rounded" ? "iconRounded" : "icon";
378
+ switch (e.type) {
379
+ case "square":
380
+ case void 0: return "squareRect";
381
+ case "round": return "roundedRect";
382
+ case "ellipse": return "ellipse";
383
+ default: return e.type;
384
+ }
385
+ }
386
+ findNode(e, t) {
387
+ return e.find((e) => e.id === t);
388
+ }
389
+ destructEdgeType(e) {
390
+ let t = "none", n = "arrow_point";
391
+ switch (e) {
392
+ case "arrow_point":
393
+ case "arrow_circle":
394
+ case "arrow_cross":
395
+ n = e;
396
+ break;
397
+ case "double_arrow_point":
398
+ case "double_arrow_circle":
399
+ case "double_arrow_cross": t = e.replace("double_", ""), n = t;
400
+ }
401
+ return {
402
+ arrowTypeStart: t,
403
+ arrowTypeEnd: n
404
+ };
405
+ }
406
+ addNodeFromVertex(e, t, n, r, i, a) {
407
+ let o = n.get(e.id), s = r.get(e.id) ?? !1, c = this.findNode(t, e.id);
408
+ if (c) c.cssStyles = e.styles, c.cssCompiledStyles = this.getCompiledStyles(e.classes), c.cssClasses = e.classes.join(" ");
409
+ else {
410
+ let n = {
411
+ id: e.id,
412
+ label: e.text,
413
+ labelType: e.labelType,
414
+ labelStyle: "",
415
+ parentId: o,
416
+ padding: i.flowchart?.padding || 8,
417
+ cssStyles: e.styles,
418
+ cssCompiledStyles: this.getCompiledStyles([
419
+ "default",
420
+ "node",
421
+ ...e.classes
422
+ ]),
423
+ cssClasses: "default " + e.classes.join(" "),
424
+ dir: e.dir,
425
+ domId: e.domId,
426
+ look: a,
427
+ link: e.link,
428
+ linkTarget: e.linkTarget,
429
+ tooltip: this.getTooltip(e.id),
430
+ icon: e.icon,
431
+ pos: e.pos,
432
+ img: e.img,
433
+ assetWidth: e.assetWidth,
434
+ assetHeight: e.assetHeight,
435
+ constraint: e.constraint
436
+ };
437
+ s ? t.push({
438
+ ...n,
439
+ isGroup: !0,
440
+ shape: "rect"
441
+ }) : t.push({
442
+ ...n,
443
+ isGroup: !1,
444
+ shape: this.getTypeFromVertex(e)
445
+ });
446
+ }
447
+ }
448
+ getCompiledStyles(e) {
449
+ let t = [];
450
+ for (let n of e) {
451
+ let e = this.classes.get(n);
452
+ e?.styles && (t = [...t, ...e.styles ?? []].map((e) => e.trim())), e?.textStyles && (t = [...t, ...e.textStyles ?? []].map((e) => e.trim()));
453
+ }
454
+ return t;
455
+ }
456
+ getData() {
457
+ let e = m(), t = [], n = [], r = this.getSubGraphs(), i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map();
458
+ for (let e = r.length - 1; e >= 0; e--) {
459
+ let t = r[e];
460
+ t.nodes.length > 0 && a.set(t.id, !0);
461
+ for (let e of t.nodes) i.set(e, t.id);
462
+ }
463
+ for (let n = r.length - 1; n >= 0; n--) {
464
+ let a = r[n];
465
+ t.push({
466
+ id: a.id,
467
+ label: a.title,
468
+ labelStyle: "",
469
+ labelType: a.labelType,
470
+ parentId: i.get(a.id),
471
+ padding: 8,
472
+ cssCompiledStyles: this.getCompiledStyles(a.classes),
473
+ cssClasses: a.classes.join(" "),
474
+ shape: "rect",
475
+ dir: a.dir === "TD" ? "TB" : a.dir,
476
+ explicitDir: a.hasExplicitDir,
477
+ isGroup: !0,
478
+ look: e.look
479
+ });
480
+ }
481
+ this.getVertices().forEach((n) => {
482
+ this.addNodeFromVertex(n, t, i, a, e, e.look || "classic");
483
+ });
484
+ let o = this.getEdges();
485
+ return o.forEach((t, r) => {
486
+ let { arrowTypeStart: i, arrowTypeEnd: a } = this.destructEdgeType(t.type), s = [...o.defaultStyle ?? []];
487
+ t.style && s.push(...t.style);
488
+ let c = {
489
+ id: g(t.start, t.end, {
490
+ counter: r,
491
+ prefix: "L"
492
+ }, t.id),
493
+ isUserDefinedId: t.isUserDefinedId,
494
+ start: t.start,
495
+ end: t.end,
496
+ type: t.type ?? "normal",
497
+ label: t.text,
498
+ labelType: t.labelType,
499
+ labelpos: "c",
500
+ thickness: t.stroke,
501
+ minlen: t.length,
502
+ classes: t?.stroke === "invisible" ? "" : "edge-thickness-normal edge-pattern-solid flowchart-link",
503
+ arrowTypeStart: t?.stroke === "invisible" || t?.type === "arrow_open" ? "none" : i,
504
+ arrowTypeEnd: t?.stroke === "invisible" || t?.type === "arrow_open" ? "none" : a,
505
+ arrowheadStyle: "fill: #333",
506
+ cssCompiledStyles: this.getCompiledStyles(t.classes),
507
+ labelStyle: s,
508
+ style: s,
509
+ pattern: t.stroke,
510
+ look: e.look,
511
+ animate: t.animate,
512
+ animation: t.animation,
513
+ curve: t.interpolate || this.edges.defaultInterpolate || e.flowchart?.curve
514
+ };
515
+ n.push(c);
516
+ }), {
517
+ nodes: t,
518
+ edges: n,
519
+ other: {},
520
+ config: e
521
+ };
522
+ }
523
+ defaultConfig() {
524
+ return l.flowchart;
525
+ }
526
+ }, D = {
527
+ getClasses: /* @__PURE__ */ e(function(e, t) {
528
+ return t.db.getClasses();
529
+ }, "getClasses"),
530
+ draw: /* @__PURE__ */ e(async function(e, n, r, i, a) {
531
+ t.info("REF0:"), t.info("Drawing state diagram (v2)", n);
532
+ let { securityLevel: o, flowchart: s, layout: c } = m();
533
+ i.db.setDiagramId(n), t.debug("Before getData: ");
534
+ let l = i.db.getData();
535
+ t.debug("Data: ", l);
536
+ let u = v(n, o), d = i.db.getDirection();
537
+ l.type = i.type, l.layoutAlgorithm = C(c), l.layoutAlgorithm === "dagre" && c === "elk" && t.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."), l.direction = d, l.nodeSpacing = s?.nodeSpacing || 50, l.rankSpacing = s?.rankSpacing || 50, l.markers = [
538
+ "point",
539
+ "circle",
540
+ "cross"
541
+ ], l.diagramId = n, t.debug("REF1:", l), await x(l, u, a);
542
+ let f = l.config.flowchart?.diagramPadding ?? 8;
543
+ _.insertTitle(u, "flowchartTitleText", s?.titleTopMargin || 0, i.db.getDiagramTitle()), y(u, f, "flowchart", s?.useMaxWidth || !1);
544
+ }, "draw")
545
+ }, O = (function() {
546
+ var t = /* @__PURE__ */ e(function(e, t, n, r) {
547
+ for (n ||= {}, r = e.length; r--; n[e[r]] = t);
548
+ return n;
549
+ }, "o"), n = [1, 4], r = [1, 3], i = [1, 5], a = [
550
+ 1,
551
+ 8,
552
+ 9,
553
+ 10,
554
+ 11,
555
+ 27,
556
+ 34,
557
+ 36,
558
+ 38,
559
+ 44,
560
+ 60,
561
+ 84,
562
+ 85,
563
+ 86,
564
+ 87,
565
+ 88,
566
+ 89,
567
+ 102,
568
+ 105,
569
+ 106,
570
+ 109,
571
+ 111,
572
+ 114,
573
+ 115,
574
+ 116,
575
+ 121,
576
+ 122,
577
+ 123,
578
+ 124,
579
+ 125
580
+ ], o = [2, 2], s = [1, 13], c = [1, 14], l = [1, 15], u = [1, 16], d = [1, 23], f = [1, 25], p = [1, 26], ee = [1, 27], m = [1, 50], h = [1, 49], te = [1, 29], g = [1, 30], _ = [1, 31], ne = [1, 32], re = [1, 33], v = [1, 45], y = [1, 47], b = [1, 43], x = [1, 48], S = [1, 44], C = [1, 51], w = [1, 46], T = [1, 52], E = [1, 53], D = [1, 34], O = [1, 35], ie = [1, 36], ae = [1, 37], oe = [1, 38], k = [1, 58], A = [
581
+ 1,
582
+ 8,
583
+ 9,
584
+ 10,
585
+ 11,
586
+ 27,
587
+ 32,
588
+ 34,
589
+ 36,
590
+ 38,
591
+ 44,
592
+ 60,
593
+ 84,
594
+ 85,
595
+ 86,
596
+ 87,
597
+ 88,
598
+ 89,
599
+ 102,
600
+ 105,
601
+ 106,
602
+ 109,
603
+ 111,
604
+ 114,
605
+ 115,
606
+ 116,
607
+ 121,
608
+ 122,
609
+ 123,
610
+ 124,
611
+ 125
612
+ ], j = [1, 62], M = [1, 61], N = [1, 63], se = [
613
+ 8,
614
+ 9,
615
+ 11,
616
+ 75,
617
+ 77,
618
+ 78
619
+ ], ce = [1, 79], le = [1, 92], ue = [1, 97], de = [1, 96], fe = [1, 93], pe = [1, 89], me = [1, 95], he = [1, 91], ge = [1, 98], _e = [1, 94], ve = [1, 99], ye = [1, 90], be = [
620
+ 8,
621
+ 9,
622
+ 10,
623
+ 11,
624
+ 40,
625
+ 75,
626
+ 77,
627
+ 78
628
+ ], P = [
629
+ 8,
630
+ 9,
631
+ 10,
632
+ 11,
633
+ 40,
634
+ 46,
635
+ 75,
636
+ 77,
637
+ 78
638
+ ], F = [
639
+ 8,
640
+ 9,
641
+ 10,
642
+ 11,
643
+ 29,
644
+ 40,
645
+ 44,
646
+ 46,
647
+ 48,
648
+ 50,
649
+ 52,
650
+ 54,
651
+ 56,
652
+ 58,
653
+ 60,
654
+ 63,
655
+ 65,
656
+ 67,
657
+ 68,
658
+ 70,
659
+ 75,
660
+ 77,
661
+ 78,
662
+ 89,
663
+ 102,
664
+ 105,
665
+ 106,
666
+ 109,
667
+ 111,
668
+ 114,
669
+ 115,
670
+ 116
671
+ ], xe = [
672
+ 8,
673
+ 9,
674
+ 11,
675
+ 44,
676
+ 60,
677
+ 75,
678
+ 77,
679
+ 78,
680
+ 89,
681
+ 102,
682
+ 105,
683
+ 106,
684
+ 109,
685
+ 111,
686
+ 114,
687
+ 115,
688
+ 116
689
+ ], Se = [
690
+ 44,
691
+ 60,
692
+ 89,
693
+ 102,
694
+ 105,
695
+ 106,
696
+ 109,
697
+ 111,
698
+ 114,
699
+ 115,
700
+ 116
701
+ ], Ce = [1, 122], we = [1, 123], Te = [1, 125], Ee = [1, 124], De = [
702
+ 44,
703
+ 60,
704
+ 62,
705
+ 74,
706
+ 89,
707
+ 102,
708
+ 105,
709
+ 106,
710
+ 109,
711
+ 111,
712
+ 114,
713
+ 115,
714
+ 116
715
+ ], Oe = [1, 134], ke = [1, 148], Ae = [1, 149], je = [1, 150], Me = [1, 151], Ne = [1, 136], Pe = [1, 138], Fe = [1, 142], Ie = [1, 143], Le = [1, 144], Re = [1, 145], ze = [1, 146], Be = [1, 147], Ve = [1, 152], He = [1, 153], Ue = [1, 132], We = [1, 133], Ge = [1, 140], Ke = [1, 135], qe = [1, 139], Je = [1, 137], Ye = [
716
+ 8,
717
+ 9,
718
+ 10,
719
+ 11,
720
+ 27,
721
+ 32,
722
+ 34,
723
+ 36,
724
+ 38,
725
+ 44,
726
+ 60,
727
+ 84,
728
+ 85,
729
+ 86,
730
+ 87,
731
+ 88,
732
+ 89,
733
+ 102,
734
+ 105,
735
+ 106,
736
+ 109,
737
+ 111,
738
+ 114,
739
+ 115,
740
+ 116,
741
+ 121,
742
+ 122,
743
+ 123,
744
+ 124,
745
+ 125
746
+ ], Xe = [1, 155], Ze = [1, 157], I = [
747
+ 8,
748
+ 9,
749
+ 11
750
+ ], L = [
751
+ 8,
752
+ 9,
753
+ 10,
754
+ 11,
755
+ 14,
756
+ 44,
757
+ 60,
758
+ 89,
759
+ 105,
760
+ 106,
761
+ 109,
762
+ 111,
763
+ 114,
764
+ 115,
765
+ 116
766
+ ], R = [1, 177], z = [1, 173], B = [1, 174], V = [1, 178], H = [1, 175], U = [1, 176], Qe = [
767
+ 77,
768
+ 116,
769
+ 119
770
+ ], W = [
771
+ 8,
772
+ 9,
773
+ 10,
774
+ 11,
775
+ 12,
776
+ 14,
777
+ 27,
778
+ 29,
779
+ 32,
780
+ 44,
781
+ 60,
782
+ 75,
783
+ 84,
784
+ 85,
785
+ 86,
786
+ 87,
787
+ 88,
788
+ 89,
789
+ 90,
790
+ 105,
791
+ 109,
792
+ 111,
793
+ 114,
794
+ 115,
795
+ 116
796
+ ], $e = [10, 106], et = [
797
+ 31,
798
+ 49,
799
+ 51,
800
+ 53,
801
+ 55,
802
+ 57,
803
+ 62,
804
+ 64,
805
+ 66,
806
+ 67,
807
+ 69,
808
+ 71,
809
+ 116,
810
+ 117,
811
+ 118
812
+ ], G = [1, 248], K = [1, 246], q = [1, 250], J = [1, 244], Y = [1, 245], X = [1, 247], Z = [1, 249], Q = [1, 251], tt = [1, 269], nt = [
813
+ 8,
814
+ 9,
815
+ 11,
816
+ 106
817
+ ], $ = [
818
+ 8,
819
+ 9,
820
+ 10,
821
+ 11,
822
+ 60,
823
+ 84,
824
+ 105,
825
+ 106,
826
+ 109,
827
+ 110,
828
+ 111,
829
+ 112
830
+ ], rt = {
831
+ trace: /* @__PURE__ */ e(function() {}, "trace"),
832
+ yy: {},
833
+ symbols_: {
834
+ error: 2,
835
+ start: 3,
836
+ graphConfig: 4,
837
+ document: 5,
838
+ line: 6,
839
+ statement: 7,
840
+ SEMI: 8,
841
+ NEWLINE: 9,
842
+ SPACE: 10,
843
+ EOF: 11,
844
+ GRAPH: 12,
845
+ NODIR: 13,
846
+ DIR: 14,
847
+ FirstStmtSeparator: 15,
848
+ ending: 16,
849
+ endToken: 17,
850
+ spaceList: 18,
851
+ spaceListNewline: 19,
852
+ vertexStatement: 20,
853
+ separator: 21,
854
+ styleStatement: 22,
855
+ linkStyleStatement: 23,
856
+ classDefStatement: 24,
857
+ classStatement: 25,
858
+ clickStatement: 26,
859
+ subgraph: 27,
860
+ textNoTags: 28,
861
+ SQS: 29,
862
+ text: 30,
863
+ SQE: 31,
864
+ end: 32,
865
+ direction: 33,
866
+ acc_title: 34,
867
+ acc_title_value: 35,
868
+ acc_descr: 36,
869
+ acc_descr_value: 37,
870
+ acc_descr_multiline_value: 38,
871
+ shapeData: 39,
872
+ SHAPE_DATA: 40,
873
+ link: 41,
874
+ node: 42,
875
+ styledVertex: 43,
876
+ AMP: 44,
877
+ vertex: 45,
878
+ STYLE_SEPARATOR: 46,
879
+ idString: 47,
880
+ DOUBLECIRCLESTART: 48,
881
+ DOUBLECIRCLEEND: 49,
882
+ PS: 50,
883
+ PE: 51,
884
+ "(-": 52,
885
+ "-)": 53,
886
+ STADIUMSTART: 54,
887
+ STADIUMEND: 55,
888
+ SUBROUTINESTART: 56,
889
+ SUBROUTINEEND: 57,
890
+ VERTEX_WITH_PROPS_START: 58,
891
+ "NODE_STRING[field]": 59,
892
+ COLON: 60,
893
+ "NODE_STRING[value]": 61,
894
+ PIPE: 62,
895
+ CYLINDERSTART: 63,
896
+ CYLINDEREND: 64,
897
+ DIAMOND_START: 65,
898
+ DIAMOND_STOP: 66,
899
+ TAGEND: 67,
900
+ TRAPSTART: 68,
901
+ TRAPEND: 69,
902
+ INVTRAPSTART: 70,
903
+ INVTRAPEND: 71,
904
+ linkStatement: 72,
905
+ arrowText: 73,
906
+ TESTSTR: 74,
907
+ START_LINK: 75,
908
+ edgeText: 76,
909
+ LINK: 77,
910
+ LINK_ID: 78,
911
+ edgeTextToken: 79,
912
+ STR: 80,
913
+ MD_STR: 81,
914
+ textToken: 82,
915
+ keywords: 83,
916
+ STYLE: 84,
917
+ LINKSTYLE: 85,
918
+ CLASSDEF: 86,
919
+ CLASS: 87,
920
+ CLICK: 88,
921
+ DOWN: 89,
922
+ UP: 90,
923
+ textNoTagsToken: 91,
924
+ stylesOpt: 92,
925
+ "idString[vertex]": 93,
926
+ "idString[class]": 94,
927
+ CALLBACKNAME: 95,
928
+ CALLBACKARGS: 96,
929
+ HREF: 97,
930
+ LINK_TARGET: 98,
931
+ "STR[link]": 99,
932
+ "STR[tooltip]": 100,
933
+ alphaNum: 101,
934
+ DEFAULT: 102,
935
+ numList: 103,
936
+ INTERPOLATE: 104,
937
+ NUM: 105,
938
+ COMMA: 106,
939
+ style: 107,
940
+ styleComponent: 108,
941
+ NODE_STRING: 109,
942
+ UNIT: 110,
943
+ BRKT: 111,
944
+ PCT: 112,
945
+ idStringToken: 113,
946
+ MINUS: 114,
947
+ MULT: 115,
948
+ UNICODE_TEXT: 116,
949
+ TEXT: 117,
950
+ TAGSTART: 118,
951
+ EDGE_TEXT: 119,
952
+ alphaNumToken: 120,
953
+ direction_tb: 121,
954
+ direction_bt: 122,
955
+ direction_rl: 123,
956
+ direction_lr: 124,
957
+ direction_td: 125,
958
+ $accept: 0,
959
+ $end: 1
960
+ },
961
+ terminals_: {
962
+ 2: "error",
963
+ 8: "SEMI",
964
+ 9: "NEWLINE",
965
+ 10: "SPACE",
966
+ 11: "EOF",
967
+ 12: "GRAPH",
968
+ 13: "NODIR",
969
+ 14: "DIR",
970
+ 27: "subgraph",
971
+ 29: "SQS",
972
+ 31: "SQE",
973
+ 32: "end",
974
+ 34: "acc_title",
975
+ 35: "acc_title_value",
976
+ 36: "acc_descr",
977
+ 37: "acc_descr_value",
978
+ 38: "acc_descr_multiline_value",
979
+ 40: "SHAPE_DATA",
980
+ 44: "AMP",
981
+ 46: "STYLE_SEPARATOR",
982
+ 48: "DOUBLECIRCLESTART",
983
+ 49: "DOUBLECIRCLEEND",
984
+ 50: "PS",
985
+ 51: "PE",
986
+ 52: "(-",
987
+ 53: "-)",
988
+ 54: "STADIUMSTART",
989
+ 55: "STADIUMEND",
990
+ 56: "SUBROUTINESTART",
991
+ 57: "SUBROUTINEEND",
992
+ 58: "VERTEX_WITH_PROPS_START",
993
+ 59: "NODE_STRING[field]",
994
+ 60: "COLON",
995
+ 61: "NODE_STRING[value]",
996
+ 62: "PIPE",
997
+ 63: "CYLINDERSTART",
998
+ 64: "CYLINDEREND",
999
+ 65: "DIAMOND_START",
1000
+ 66: "DIAMOND_STOP",
1001
+ 67: "TAGEND",
1002
+ 68: "TRAPSTART",
1003
+ 69: "TRAPEND",
1004
+ 70: "INVTRAPSTART",
1005
+ 71: "INVTRAPEND",
1006
+ 74: "TESTSTR",
1007
+ 75: "START_LINK",
1008
+ 77: "LINK",
1009
+ 78: "LINK_ID",
1010
+ 80: "STR",
1011
+ 81: "MD_STR",
1012
+ 84: "STYLE",
1013
+ 85: "LINKSTYLE",
1014
+ 86: "CLASSDEF",
1015
+ 87: "CLASS",
1016
+ 88: "CLICK",
1017
+ 89: "DOWN",
1018
+ 90: "UP",
1019
+ 93: "idString[vertex]",
1020
+ 94: "idString[class]",
1021
+ 95: "CALLBACKNAME",
1022
+ 96: "CALLBACKARGS",
1023
+ 97: "HREF",
1024
+ 98: "LINK_TARGET",
1025
+ 99: "STR[link]",
1026
+ 100: "STR[tooltip]",
1027
+ 102: "DEFAULT",
1028
+ 104: "INTERPOLATE",
1029
+ 105: "NUM",
1030
+ 106: "COMMA",
1031
+ 109: "NODE_STRING",
1032
+ 110: "UNIT",
1033
+ 111: "BRKT",
1034
+ 112: "PCT",
1035
+ 114: "MINUS",
1036
+ 115: "MULT",
1037
+ 116: "UNICODE_TEXT",
1038
+ 117: "TEXT",
1039
+ 118: "TAGSTART",
1040
+ 119: "EDGE_TEXT",
1041
+ 121: "direction_tb",
1042
+ 122: "direction_bt",
1043
+ 123: "direction_rl",
1044
+ 124: "direction_lr",
1045
+ 125: "direction_td"
1046
+ },
1047
+ productions_: [
1048
+ 0,
1049
+ [3, 2],
1050
+ [5, 0],
1051
+ [5, 2],
1052
+ [6, 1],
1053
+ [6, 1],
1054
+ [6, 1],
1055
+ [6, 1],
1056
+ [6, 1],
1057
+ [4, 2],
1058
+ [4, 2],
1059
+ [4, 2],
1060
+ [4, 3],
1061
+ [16, 2],
1062
+ [16, 1],
1063
+ [17, 1],
1064
+ [17, 1],
1065
+ [17, 1],
1066
+ [15, 1],
1067
+ [15, 1],
1068
+ [15, 2],
1069
+ [19, 2],
1070
+ [19, 2],
1071
+ [19, 1],
1072
+ [19, 1],
1073
+ [18, 2],
1074
+ [18, 1],
1075
+ [7, 2],
1076
+ [7, 2],
1077
+ [7, 2],
1078
+ [7, 2],
1079
+ [7, 2],
1080
+ [7, 2],
1081
+ [7, 9],
1082
+ [7, 6],
1083
+ [7, 4],
1084
+ [7, 1],
1085
+ [7, 2],
1086
+ [7, 2],
1087
+ [7, 1],
1088
+ [21, 1],
1089
+ [21, 1],
1090
+ [21, 1],
1091
+ [39, 2],
1092
+ [39, 1],
1093
+ [20, 4],
1094
+ [20, 3],
1095
+ [20, 4],
1096
+ [20, 2],
1097
+ [20, 2],
1098
+ [20, 1],
1099
+ [42, 1],
1100
+ [42, 6],
1101
+ [42, 5],
1102
+ [43, 1],
1103
+ [43, 3],
1104
+ [45, 4],
1105
+ [45, 4],
1106
+ [45, 6],
1107
+ [45, 4],
1108
+ [45, 4],
1109
+ [45, 4],
1110
+ [45, 8],
1111
+ [45, 4],
1112
+ [45, 4],
1113
+ [45, 4],
1114
+ [45, 6],
1115
+ [45, 4],
1116
+ [45, 4],
1117
+ [45, 4],
1118
+ [45, 4],
1119
+ [45, 4],
1120
+ [45, 1],
1121
+ [41, 2],
1122
+ [41, 3],
1123
+ [41, 3],
1124
+ [41, 1],
1125
+ [41, 3],
1126
+ [41, 4],
1127
+ [76, 1],
1128
+ [76, 2],
1129
+ [76, 1],
1130
+ [76, 1],
1131
+ [72, 1],
1132
+ [72, 2],
1133
+ [73, 3],
1134
+ [30, 1],
1135
+ [30, 2],
1136
+ [30, 1],
1137
+ [30, 1],
1138
+ [83, 1],
1139
+ [83, 1],
1140
+ [83, 1],
1141
+ [83, 1],
1142
+ [83, 1],
1143
+ [83, 1],
1144
+ [83, 1],
1145
+ [83, 1],
1146
+ [83, 1],
1147
+ [83, 1],
1148
+ [83, 1],
1149
+ [28, 1],
1150
+ [28, 2],
1151
+ [28, 1],
1152
+ [28, 1],
1153
+ [24, 5],
1154
+ [25, 5],
1155
+ [26, 2],
1156
+ [26, 4],
1157
+ [26, 3],
1158
+ [26, 5],
1159
+ [26, 3],
1160
+ [26, 5],
1161
+ [26, 5],
1162
+ [26, 7],
1163
+ [26, 2],
1164
+ [26, 4],
1165
+ [26, 2],
1166
+ [26, 4],
1167
+ [26, 4],
1168
+ [26, 6],
1169
+ [22, 5],
1170
+ [23, 5],
1171
+ [23, 5],
1172
+ [23, 9],
1173
+ [23, 9],
1174
+ [23, 7],
1175
+ [23, 7],
1176
+ [103, 1],
1177
+ [103, 3],
1178
+ [92, 1],
1179
+ [92, 3],
1180
+ [107, 1],
1181
+ [107, 2],
1182
+ [108, 1],
1183
+ [108, 1],
1184
+ [108, 1],
1185
+ [108, 1],
1186
+ [108, 1],
1187
+ [108, 1],
1188
+ [108, 1],
1189
+ [108, 1],
1190
+ [113, 1],
1191
+ [113, 1],
1192
+ [113, 1],
1193
+ [113, 1],
1194
+ [113, 1],
1195
+ [113, 1],
1196
+ [113, 1],
1197
+ [113, 1],
1198
+ [113, 1],
1199
+ [113, 1],
1200
+ [113, 1],
1201
+ [82, 1],
1202
+ [82, 1],
1203
+ [82, 1],
1204
+ [82, 1],
1205
+ [91, 1],
1206
+ [91, 1],
1207
+ [91, 1],
1208
+ [91, 1],
1209
+ [91, 1],
1210
+ [91, 1],
1211
+ [91, 1],
1212
+ [91, 1],
1213
+ [91, 1],
1214
+ [91, 1],
1215
+ [91, 1],
1216
+ [79, 1],
1217
+ [79, 1],
1218
+ [120, 1],
1219
+ [120, 1],
1220
+ [120, 1],
1221
+ [120, 1],
1222
+ [120, 1],
1223
+ [120, 1],
1224
+ [120, 1],
1225
+ [120, 1],
1226
+ [120, 1],
1227
+ [120, 1],
1228
+ [120, 1],
1229
+ [47, 1],
1230
+ [47, 2],
1231
+ [101, 1],
1232
+ [101, 2],
1233
+ [33, 1],
1234
+ [33, 1],
1235
+ [33, 1],
1236
+ [33, 1],
1237
+ [33, 1]
1238
+ ],
1239
+ performAction: /* @__PURE__ */ e(function(e, t, n, r, i, a, o) {
1240
+ var s = a.length - 1;
1241
+ switch (i) {
1242
+ case 2:
1243
+ this.$ = [];
1244
+ break;
1245
+ case 3:
1246
+ (!Array.isArray(a[s]) || a[s].length > 0) && a[s - 1].push(a[s]), this.$ = a[s - 1];
1247
+ break;
1248
+ case 4:
1249
+ case 183:
1250
+ this.$ = a[s];
1251
+ break;
1252
+ case 11:
1253
+ r.setDirection("TB"), this.$ = "TB";
1254
+ break;
1255
+ case 12:
1256
+ r.setDirection(a[s - 1]), this.$ = a[s - 1];
1257
+ break;
1258
+ case 27:
1259
+ this.$ = a[s - 1].nodes;
1260
+ break;
1261
+ case 28:
1262
+ case 29:
1263
+ case 30:
1264
+ case 31:
1265
+ case 32:
1266
+ this.$ = [];
1267
+ break;
1268
+ case 33:
1269
+ this.$ = r.addSubGraph(a[s - 6], a[s - 1], a[s - 4]);
1270
+ break;
1271
+ case 34:
1272
+ this.$ = r.addSubGraph(a[s - 3], a[s - 1], a[s - 3]);
1273
+ break;
1274
+ case 35:
1275
+ this.$ = r.addSubGraph(void 0, a[s - 1], void 0);
1276
+ break;
1277
+ case 37:
1278
+ this.$ = a[s].trim(), r.setAccTitle(this.$);
1279
+ break;
1280
+ case 38:
1281
+ case 39:
1282
+ this.$ = a[s].trim(), r.setAccDescription(this.$);
1283
+ break;
1284
+ case 43:
1285
+ this.$ = a[s - 1] + a[s];
1286
+ break;
1287
+ case 44:
1288
+ this.$ = a[s];
1289
+ break;
1290
+ case 45:
1291
+ r.addVertex(a[s - 1][a[s - 1].length - 1], void 0, void 0, void 0, void 0, void 0, void 0, a[s]), r.addLink(a[s - 3].stmt, a[s - 1], a[s - 2]), this.$ = {
1292
+ stmt: a[s - 1],
1293
+ nodes: a[s - 1].concat(a[s - 3].nodes)
1294
+ };
1295
+ break;
1296
+ case 46:
1297
+ r.addLink(a[s - 2].stmt, a[s], a[s - 1]), this.$ = {
1298
+ stmt: a[s],
1299
+ nodes: a[s].concat(a[s - 2].nodes)
1300
+ };
1301
+ break;
1302
+ case 47:
1303
+ r.addLink(a[s - 3].stmt, a[s - 1], a[s - 2]), this.$ = {
1304
+ stmt: a[s - 1],
1305
+ nodes: a[s - 1].concat(a[s - 3].nodes)
1306
+ };
1307
+ break;
1308
+ case 48:
1309
+ this.$ = {
1310
+ stmt: a[s - 1],
1311
+ nodes: a[s - 1]
1312
+ };
1313
+ break;
1314
+ case 49:
1315
+ r.addVertex(a[s - 1][a[s - 1].length - 1], void 0, void 0, void 0, void 0, void 0, void 0, a[s]), this.$ = {
1316
+ stmt: a[s - 1],
1317
+ nodes: a[s - 1],
1318
+ shapeData: a[s]
1319
+ };
1320
+ break;
1321
+ case 50:
1322
+ this.$ = {
1323
+ stmt: a[s],
1324
+ nodes: a[s]
1325
+ };
1326
+ break;
1327
+ case 51:
1328
+ this.$ = [a[s]];
1329
+ break;
1330
+ case 52:
1331
+ r.addVertex(a[s - 5][a[s - 5].length - 1], void 0, void 0, void 0, void 0, void 0, void 0, a[s - 4]), this.$ = a[s - 5].concat(a[s]);
1332
+ break;
1333
+ case 53:
1334
+ this.$ = a[s - 4].concat(a[s]);
1335
+ break;
1336
+ case 54:
1337
+ this.$ = a[s];
1338
+ break;
1339
+ case 55:
1340
+ this.$ = a[s - 2], r.setClass(a[s - 2], a[s]);
1341
+ break;
1342
+ case 56:
1343
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "square");
1344
+ break;
1345
+ case 57:
1346
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "doublecircle");
1347
+ break;
1348
+ case 58:
1349
+ this.$ = a[s - 5], r.addVertex(a[s - 5], a[s - 2], "circle");
1350
+ break;
1351
+ case 59:
1352
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "ellipse");
1353
+ break;
1354
+ case 60:
1355
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "stadium");
1356
+ break;
1357
+ case 61:
1358
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "subroutine");
1359
+ break;
1360
+ case 62:
1361
+ this.$ = a[s - 7], r.addVertex(a[s - 7], a[s - 1], "rect", void 0, void 0, void 0, Object.fromEntries([[a[s - 5], a[s - 3]]]));
1362
+ break;
1363
+ case 63:
1364
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "cylinder");
1365
+ break;
1366
+ case 64:
1367
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "round");
1368
+ break;
1369
+ case 65:
1370
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "diamond");
1371
+ break;
1372
+ case 66:
1373
+ this.$ = a[s - 5], r.addVertex(a[s - 5], a[s - 2], "hexagon");
1374
+ break;
1375
+ case 67:
1376
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "odd");
1377
+ break;
1378
+ case 68:
1379
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "trapezoid");
1380
+ break;
1381
+ case 69:
1382
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "inv_trapezoid");
1383
+ break;
1384
+ case 70:
1385
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "lean_right");
1386
+ break;
1387
+ case 71:
1388
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "lean_left");
1389
+ break;
1390
+ case 72:
1391
+ this.$ = a[s], r.addVertex(a[s]);
1392
+ break;
1393
+ case 73:
1394
+ a[s - 1].text = a[s], this.$ = a[s - 1];
1395
+ break;
1396
+ case 74:
1397
+ case 75:
1398
+ a[s - 2].text = a[s - 1], this.$ = a[s - 2];
1399
+ break;
1400
+ case 76:
1401
+ this.$ = a[s];
1402
+ break;
1403
+ case 77:
1404
+ var c = r.destructLink(a[s], a[s - 2]);
1405
+ this.$ = {
1406
+ type: c.type,
1407
+ stroke: c.stroke,
1408
+ length: c.length,
1409
+ text: a[s - 1]
1410
+ };
1411
+ break;
1412
+ case 78:
1413
+ var c = r.destructLink(a[s], a[s - 2]);
1414
+ this.$ = {
1415
+ type: c.type,
1416
+ stroke: c.stroke,
1417
+ length: c.length,
1418
+ text: a[s - 1],
1419
+ id: a[s - 3]
1420
+ };
1421
+ break;
1422
+ case 79:
1423
+ this.$ = {
1424
+ text: a[s],
1425
+ type: "text"
1426
+ };
1427
+ break;
1428
+ case 80:
1429
+ this.$ = {
1430
+ text: a[s - 1].text + "" + a[s],
1431
+ type: a[s - 1].type
1432
+ };
1433
+ break;
1434
+ case 81:
1435
+ this.$ = {
1436
+ text: a[s],
1437
+ type: "string"
1438
+ };
1439
+ break;
1440
+ case 82:
1441
+ this.$ = {
1442
+ text: a[s],
1443
+ type: "markdown"
1444
+ };
1445
+ break;
1446
+ case 83:
1447
+ var c = r.destructLink(a[s]);
1448
+ this.$ = {
1449
+ type: c.type,
1450
+ stroke: c.stroke,
1451
+ length: c.length
1452
+ };
1453
+ break;
1454
+ case 84:
1455
+ var c = r.destructLink(a[s]);
1456
+ this.$ = {
1457
+ type: c.type,
1458
+ stroke: c.stroke,
1459
+ length: c.length,
1460
+ id: a[s - 1]
1461
+ };
1462
+ break;
1463
+ case 85:
1464
+ this.$ = a[s - 1];
1465
+ break;
1466
+ case 86:
1467
+ this.$ = {
1468
+ text: a[s],
1469
+ type: "text"
1470
+ };
1471
+ break;
1472
+ case 87:
1473
+ this.$ = {
1474
+ text: a[s - 1].text + "" + a[s],
1475
+ type: a[s - 1].type
1476
+ };
1477
+ break;
1478
+ case 88:
1479
+ this.$ = {
1480
+ text: a[s],
1481
+ type: "string"
1482
+ };
1483
+ break;
1484
+ case 89:
1485
+ case 104:
1486
+ this.$ = {
1487
+ text: a[s],
1488
+ type: "markdown"
1489
+ };
1490
+ break;
1491
+ case 101:
1492
+ this.$ = {
1493
+ text: a[s],
1494
+ type: "text"
1495
+ };
1496
+ break;
1497
+ case 102:
1498
+ this.$ = {
1499
+ text: a[s - 1].text + "" + a[s],
1500
+ type: a[s - 1].type
1501
+ };
1502
+ break;
1503
+ case 103:
1504
+ this.$ = {
1505
+ text: a[s],
1506
+ type: "text"
1507
+ };
1508
+ break;
1509
+ case 105:
1510
+ this.$ = a[s - 4], r.addClass(a[s - 2], a[s]);
1511
+ break;
1512
+ case 106:
1513
+ this.$ = a[s - 4], r.setClass(a[s - 2], a[s]);
1514
+ break;
1515
+ case 107:
1516
+ case 115:
1517
+ this.$ = a[s - 1], r.setClickEvent(a[s - 1], a[s]);
1518
+ break;
1519
+ case 108:
1520
+ case 116:
1521
+ this.$ = a[s - 3], r.setClickEvent(a[s - 3], a[s - 2]), r.setTooltip(a[s - 3], a[s]);
1522
+ break;
1523
+ case 109:
1524
+ this.$ = a[s - 2], r.setClickEvent(a[s - 2], a[s - 1], a[s]);
1525
+ break;
1526
+ case 110:
1527
+ this.$ = a[s - 4], r.setClickEvent(a[s - 4], a[s - 3], a[s - 2]), r.setTooltip(a[s - 4], a[s]);
1528
+ break;
1529
+ case 111:
1530
+ this.$ = a[s - 2], r.setLink(a[s - 2], a[s]);
1531
+ break;
1532
+ case 112:
1533
+ this.$ = a[s - 4], r.setLink(a[s - 4], a[s - 2]), r.setTooltip(a[s - 4], a[s]);
1534
+ break;
1535
+ case 113:
1536
+ this.$ = a[s - 4], r.setLink(a[s - 4], a[s - 2], a[s]);
1537
+ break;
1538
+ case 114:
1539
+ this.$ = a[s - 6], r.setLink(a[s - 6], a[s - 4], a[s]), r.setTooltip(a[s - 6], a[s - 2]);
1540
+ break;
1541
+ case 117:
1542
+ this.$ = a[s - 1], r.setLink(a[s - 1], a[s]);
1543
+ break;
1544
+ case 118:
1545
+ this.$ = a[s - 3], r.setLink(a[s - 3], a[s - 2]), r.setTooltip(a[s - 3], a[s]);
1546
+ break;
1547
+ case 119:
1548
+ this.$ = a[s - 3], r.setLink(a[s - 3], a[s - 2], a[s]);
1549
+ break;
1550
+ case 120:
1551
+ this.$ = a[s - 5], r.setLink(a[s - 5], a[s - 4], a[s]), r.setTooltip(a[s - 5], a[s - 2]);
1552
+ break;
1553
+ case 121:
1554
+ this.$ = a[s - 4], r.addVertex(a[s - 2], void 0, void 0, a[s]);
1555
+ break;
1556
+ case 122:
1557
+ this.$ = a[s - 4], r.updateLink([a[s - 2]], a[s]);
1558
+ break;
1559
+ case 123:
1560
+ this.$ = a[s - 4], r.updateLink(a[s - 2], a[s]);
1561
+ break;
1562
+ case 124:
1563
+ this.$ = a[s - 8], r.updateLinkInterpolate([a[s - 6]], a[s - 2]), r.updateLink([a[s - 6]], a[s]);
1564
+ break;
1565
+ case 125:
1566
+ this.$ = a[s - 8], r.updateLinkInterpolate(a[s - 6], a[s - 2]), r.updateLink(a[s - 6], a[s]);
1567
+ break;
1568
+ case 126:
1569
+ this.$ = a[s - 6], r.updateLinkInterpolate([a[s - 4]], a[s]);
1570
+ break;
1571
+ case 127:
1572
+ this.$ = a[s - 6], r.updateLinkInterpolate(a[s - 4], a[s]);
1573
+ break;
1574
+ case 128:
1575
+ case 130:
1576
+ this.$ = [a[s]];
1577
+ break;
1578
+ case 129:
1579
+ case 131:
1580
+ a[s - 2].push(a[s]), this.$ = a[s - 2];
1581
+ break;
1582
+ case 133:
1583
+ this.$ = a[s - 1] + a[s];
1584
+ break;
1585
+ case 181:
1586
+ this.$ = a[s];
1587
+ break;
1588
+ case 182:
1589
+ this.$ = a[s - 1] + "" + a[s];
1590
+ break;
1591
+ case 184:
1592
+ this.$ = a[s - 1] + "" + a[s];
1593
+ break;
1594
+ case 185:
1595
+ this.$ = {
1596
+ stmt: "dir",
1597
+ value: "TB"
1598
+ };
1599
+ break;
1600
+ case 186:
1601
+ this.$ = {
1602
+ stmt: "dir",
1603
+ value: "BT"
1604
+ };
1605
+ break;
1606
+ case 187:
1607
+ this.$ = {
1608
+ stmt: "dir",
1609
+ value: "RL"
1610
+ };
1611
+ break;
1612
+ case 188:
1613
+ this.$ = {
1614
+ stmt: "dir",
1615
+ value: "LR"
1616
+ };
1617
+ break;
1618
+ case 189: this.$ = {
1619
+ stmt: "dir",
1620
+ value: "TD"
1621
+ };
1622
+ }
1623
+ }, "anonymous"),
1624
+ table: [
1625
+ {
1626
+ 3: 1,
1627
+ 4: 2,
1628
+ 9: n,
1629
+ 10: r,
1630
+ 12: i
1631
+ },
1632
+ { 1: [3] },
1633
+ t(a, o, { 5: 6 }),
1634
+ {
1635
+ 4: 7,
1636
+ 9: n,
1637
+ 10: r,
1638
+ 12: i
1639
+ },
1640
+ {
1641
+ 4: 8,
1642
+ 9: n,
1643
+ 10: r,
1644
+ 12: i
1645
+ },
1646
+ {
1647
+ 13: [1, 9],
1648
+ 14: [1, 10]
1649
+ },
1650
+ {
1651
+ 1: [2, 1],
1652
+ 6: 11,
1653
+ 7: 12,
1654
+ 8: s,
1655
+ 9: c,
1656
+ 10: l,
1657
+ 11: u,
1658
+ 20: 17,
1659
+ 22: 18,
1660
+ 23: 19,
1661
+ 24: 20,
1662
+ 25: 21,
1663
+ 26: 22,
1664
+ 27: d,
1665
+ 33: 24,
1666
+ 34: f,
1667
+ 36: p,
1668
+ 38: ee,
1669
+ 42: 28,
1670
+ 43: 39,
1671
+ 44: m,
1672
+ 45: 40,
1673
+ 47: 41,
1674
+ 60: h,
1675
+ 84: te,
1676
+ 85: g,
1677
+ 86: _,
1678
+ 87: ne,
1679
+ 88: re,
1680
+ 89: v,
1681
+ 102: y,
1682
+ 105: b,
1683
+ 106: x,
1684
+ 109: S,
1685
+ 111: C,
1686
+ 113: 42,
1687
+ 114: w,
1688
+ 115: T,
1689
+ 116: E,
1690
+ 121: D,
1691
+ 122: O,
1692
+ 123: ie,
1693
+ 124: ae,
1694
+ 125: oe
1695
+ },
1696
+ t(a, [2, 9]),
1697
+ t(a, [2, 10]),
1698
+ t(a, [2, 11]),
1699
+ {
1700
+ 8: [1, 55],
1701
+ 9: [1, 56],
1702
+ 10: k,
1703
+ 15: 54,
1704
+ 18: 57
1705
+ },
1706
+ t(A, [2, 3]),
1707
+ t(A, [2, 4]),
1708
+ t(A, [2, 5]),
1709
+ t(A, [2, 6]),
1710
+ t(A, [2, 7]),
1711
+ t(A, [2, 8]),
1712
+ {
1713
+ 8: j,
1714
+ 9: M,
1715
+ 11: N,
1716
+ 21: 59,
1717
+ 41: 60,
1718
+ 72: 64,
1719
+ 75: [1, 65],
1720
+ 77: [1, 67],
1721
+ 78: [1, 66]
1722
+ },
1723
+ {
1724
+ 8: j,
1725
+ 9: M,
1726
+ 11: N,
1727
+ 21: 68
1728
+ },
1729
+ {
1730
+ 8: j,
1731
+ 9: M,
1732
+ 11: N,
1733
+ 21: 69
1734
+ },
1735
+ {
1736
+ 8: j,
1737
+ 9: M,
1738
+ 11: N,
1739
+ 21: 70
1740
+ },
1741
+ {
1742
+ 8: j,
1743
+ 9: M,
1744
+ 11: N,
1745
+ 21: 71
1746
+ },
1747
+ {
1748
+ 8: j,
1749
+ 9: M,
1750
+ 11: N,
1751
+ 21: 72
1752
+ },
1753
+ {
1754
+ 8: j,
1755
+ 9: M,
1756
+ 10: [1, 73],
1757
+ 11: N,
1758
+ 21: 74
1759
+ },
1760
+ t(A, [2, 36]),
1761
+ { 35: [1, 75] },
1762
+ { 37: [1, 76] },
1763
+ t(A, [2, 39]),
1764
+ t(se, [2, 50], {
1765
+ 18: 77,
1766
+ 39: 78,
1767
+ 10: k,
1768
+ 40: ce
1769
+ }),
1770
+ { 10: [1, 80] },
1771
+ { 10: [1, 81] },
1772
+ { 10: [1, 82] },
1773
+ { 10: [1, 83] },
1774
+ {
1775
+ 14: le,
1776
+ 44: ue,
1777
+ 60: de,
1778
+ 80: [1, 87],
1779
+ 89: fe,
1780
+ 95: [1, 84],
1781
+ 97: [1, 85],
1782
+ 101: 86,
1783
+ 105: pe,
1784
+ 106: me,
1785
+ 109: he,
1786
+ 111: ge,
1787
+ 114: _e,
1788
+ 115: ve,
1789
+ 116: ye,
1790
+ 120: 88
1791
+ },
1792
+ t(A, [2, 185]),
1793
+ t(A, [2, 186]),
1794
+ t(A, [2, 187]),
1795
+ t(A, [2, 188]),
1796
+ t(A, [2, 189]),
1797
+ t(be, [2, 51]),
1798
+ t(be, [2, 54], { 46: [1, 100] }),
1799
+ t(P, [2, 72], {
1800
+ 113: 113,
1801
+ 29: [1, 101],
1802
+ 44: m,
1803
+ 48: [1, 102],
1804
+ 50: [1, 103],
1805
+ 52: [1, 104],
1806
+ 54: [1, 105],
1807
+ 56: [1, 106],
1808
+ 58: [1, 107],
1809
+ 60: h,
1810
+ 63: [1, 108],
1811
+ 65: [1, 109],
1812
+ 67: [1, 110],
1813
+ 68: [1, 111],
1814
+ 70: [1, 112],
1815
+ 89: v,
1816
+ 102: y,
1817
+ 105: b,
1818
+ 106: x,
1819
+ 109: S,
1820
+ 111: C,
1821
+ 114: w,
1822
+ 115: T,
1823
+ 116: E
1824
+ }),
1825
+ t(F, [2, 181]),
1826
+ t(F, [2, 142]),
1827
+ t(F, [2, 143]),
1828
+ t(F, [2, 144]),
1829
+ t(F, [2, 145]),
1830
+ t(F, [2, 146]),
1831
+ t(F, [2, 147]),
1832
+ t(F, [2, 148]),
1833
+ t(F, [2, 149]),
1834
+ t(F, [2, 150]),
1835
+ t(F, [2, 151]),
1836
+ t(F, [2, 152]),
1837
+ t(a, [2, 12]),
1838
+ t(a, [2, 18]),
1839
+ t(a, [2, 19]),
1840
+ { 9: [1, 114] },
1841
+ t(xe, [2, 26], {
1842
+ 18: 115,
1843
+ 10: k
1844
+ }),
1845
+ t(A, [2, 27]),
1846
+ {
1847
+ 42: 116,
1848
+ 43: 39,
1849
+ 44: m,
1850
+ 45: 40,
1851
+ 47: 41,
1852
+ 60: h,
1853
+ 89: v,
1854
+ 102: y,
1855
+ 105: b,
1856
+ 106: x,
1857
+ 109: S,
1858
+ 111: C,
1859
+ 113: 42,
1860
+ 114: w,
1861
+ 115: T,
1862
+ 116: E
1863
+ },
1864
+ t(A, [2, 40]),
1865
+ t(A, [2, 41]),
1866
+ t(A, [2, 42]),
1867
+ t(Se, [2, 76], {
1868
+ 73: 117,
1869
+ 62: [1, 119],
1870
+ 74: [1, 118]
1871
+ }),
1872
+ {
1873
+ 76: 120,
1874
+ 79: 121,
1875
+ 80: Ce,
1876
+ 81: we,
1877
+ 116: Te,
1878
+ 119: Ee
1879
+ },
1880
+ {
1881
+ 75: [1, 126],
1882
+ 77: [1, 127]
1883
+ },
1884
+ t(De, [2, 83]),
1885
+ t(A, [2, 28]),
1886
+ t(A, [2, 29]),
1887
+ t(A, [2, 30]),
1888
+ t(A, [2, 31]),
1889
+ t(A, [2, 32]),
1890
+ {
1891
+ 10: Oe,
1892
+ 12: ke,
1893
+ 14: Ae,
1894
+ 27: je,
1895
+ 28: 128,
1896
+ 32: Me,
1897
+ 44: Ne,
1898
+ 60: Pe,
1899
+ 75: Fe,
1900
+ 80: [1, 130],
1901
+ 81: [1, 131],
1902
+ 83: 141,
1903
+ 84: Ie,
1904
+ 85: Le,
1905
+ 86: Re,
1906
+ 87: ze,
1907
+ 88: Be,
1908
+ 89: Ve,
1909
+ 90: He,
1910
+ 91: 129,
1911
+ 105: Ue,
1912
+ 109: We,
1913
+ 111: Ge,
1914
+ 114: Ke,
1915
+ 115: qe,
1916
+ 116: Je
1917
+ },
1918
+ t(Ye, o, { 5: 154 }),
1919
+ t(A, [2, 37]),
1920
+ t(A, [2, 38]),
1921
+ t(se, [2, 48], { 44: Xe }),
1922
+ t(se, [2, 49], {
1923
+ 18: 156,
1924
+ 10: k,
1925
+ 40: Ze
1926
+ }),
1927
+ t(be, [2, 44]),
1928
+ {
1929
+ 44: m,
1930
+ 47: 158,
1931
+ 60: h,
1932
+ 89: v,
1933
+ 102: y,
1934
+ 105: b,
1935
+ 106: x,
1936
+ 109: S,
1937
+ 111: C,
1938
+ 113: 42,
1939
+ 114: w,
1940
+ 115: T,
1941
+ 116: E
1942
+ },
1943
+ {
1944
+ 102: [1, 159],
1945
+ 103: 160,
1946
+ 105: [1, 161]
1947
+ },
1948
+ {
1949
+ 44: m,
1950
+ 47: 162,
1951
+ 60: h,
1952
+ 89: v,
1953
+ 102: y,
1954
+ 105: b,
1955
+ 106: x,
1956
+ 109: S,
1957
+ 111: C,
1958
+ 113: 42,
1959
+ 114: w,
1960
+ 115: T,
1961
+ 116: E
1962
+ },
1963
+ {
1964
+ 44: m,
1965
+ 47: 163,
1966
+ 60: h,
1967
+ 89: v,
1968
+ 102: y,
1969
+ 105: b,
1970
+ 106: x,
1971
+ 109: S,
1972
+ 111: C,
1973
+ 113: 42,
1974
+ 114: w,
1975
+ 115: T,
1976
+ 116: E
1977
+ },
1978
+ t(I, [2, 107], {
1979
+ 10: [1, 164],
1980
+ 96: [1, 165]
1981
+ }),
1982
+ { 80: [1, 166] },
1983
+ t(I, [2, 115], {
1984
+ 120: 168,
1985
+ 10: [1, 167],
1986
+ 14: le,
1987
+ 44: ue,
1988
+ 60: de,
1989
+ 89: fe,
1990
+ 105: pe,
1991
+ 106: me,
1992
+ 109: he,
1993
+ 111: ge,
1994
+ 114: _e,
1995
+ 115: ve,
1996
+ 116: ye
1997
+ }),
1998
+ t(I, [2, 117], { 10: [1, 169] }),
1999
+ t(L, [2, 183]),
2000
+ t(L, [2, 170]),
2001
+ t(L, [2, 171]),
2002
+ t(L, [2, 172]),
2003
+ t(L, [2, 173]),
2004
+ t(L, [2, 174]),
2005
+ t(L, [2, 175]),
2006
+ t(L, [2, 176]),
2007
+ t(L, [2, 177]),
2008
+ t(L, [2, 178]),
2009
+ t(L, [2, 179]),
2010
+ t(L, [2, 180]),
2011
+ {
2012
+ 44: m,
2013
+ 47: 170,
2014
+ 60: h,
2015
+ 89: v,
2016
+ 102: y,
2017
+ 105: b,
2018
+ 106: x,
2019
+ 109: S,
2020
+ 111: C,
2021
+ 113: 42,
2022
+ 114: w,
2023
+ 115: T,
2024
+ 116: E
2025
+ },
2026
+ {
2027
+ 30: 171,
2028
+ 67: R,
2029
+ 80: z,
2030
+ 81: B,
2031
+ 82: 172,
2032
+ 116: V,
2033
+ 117: H,
2034
+ 118: U
2035
+ },
2036
+ {
2037
+ 30: 179,
2038
+ 67: R,
2039
+ 80: z,
2040
+ 81: B,
2041
+ 82: 172,
2042
+ 116: V,
2043
+ 117: H,
2044
+ 118: U
2045
+ },
2046
+ {
2047
+ 30: 181,
2048
+ 50: [1, 180],
2049
+ 67: R,
2050
+ 80: z,
2051
+ 81: B,
2052
+ 82: 172,
2053
+ 116: V,
2054
+ 117: H,
2055
+ 118: U
2056
+ },
2057
+ {
2058
+ 30: 182,
2059
+ 67: R,
2060
+ 80: z,
2061
+ 81: B,
2062
+ 82: 172,
2063
+ 116: V,
2064
+ 117: H,
2065
+ 118: U
2066
+ },
2067
+ {
2068
+ 30: 183,
2069
+ 67: R,
2070
+ 80: z,
2071
+ 81: B,
2072
+ 82: 172,
2073
+ 116: V,
2074
+ 117: H,
2075
+ 118: U
2076
+ },
2077
+ {
2078
+ 30: 184,
2079
+ 67: R,
2080
+ 80: z,
2081
+ 81: B,
2082
+ 82: 172,
2083
+ 116: V,
2084
+ 117: H,
2085
+ 118: U
2086
+ },
2087
+ { 109: [1, 185] },
2088
+ {
2089
+ 30: 186,
2090
+ 67: R,
2091
+ 80: z,
2092
+ 81: B,
2093
+ 82: 172,
2094
+ 116: V,
2095
+ 117: H,
2096
+ 118: U
2097
+ },
2098
+ {
2099
+ 30: 187,
2100
+ 65: [1, 188],
2101
+ 67: R,
2102
+ 80: z,
2103
+ 81: B,
2104
+ 82: 172,
2105
+ 116: V,
2106
+ 117: H,
2107
+ 118: U
2108
+ },
2109
+ {
2110
+ 30: 189,
2111
+ 67: R,
2112
+ 80: z,
2113
+ 81: B,
2114
+ 82: 172,
2115
+ 116: V,
2116
+ 117: H,
2117
+ 118: U
2118
+ },
2119
+ {
2120
+ 30: 190,
2121
+ 67: R,
2122
+ 80: z,
2123
+ 81: B,
2124
+ 82: 172,
2125
+ 116: V,
2126
+ 117: H,
2127
+ 118: U
2128
+ },
2129
+ {
2130
+ 30: 191,
2131
+ 67: R,
2132
+ 80: z,
2133
+ 81: B,
2134
+ 82: 172,
2135
+ 116: V,
2136
+ 117: H,
2137
+ 118: U
2138
+ },
2139
+ t(F, [2, 182]),
2140
+ t(a, [2, 20]),
2141
+ t(xe, [2, 25]),
2142
+ t(se, [2, 46], {
2143
+ 39: 192,
2144
+ 18: 193,
2145
+ 10: k,
2146
+ 40: ce
2147
+ }),
2148
+ t(Se, [2, 73], { 10: [1, 194] }),
2149
+ { 10: [1, 195] },
2150
+ {
2151
+ 30: 196,
2152
+ 67: R,
2153
+ 80: z,
2154
+ 81: B,
2155
+ 82: 172,
2156
+ 116: V,
2157
+ 117: H,
2158
+ 118: U
2159
+ },
2160
+ {
2161
+ 77: [1, 197],
2162
+ 79: 198,
2163
+ 116: Te,
2164
+ 119: Ee
2165
+ },
2166
+ t(Qe, [2, 79]),
2167
+ t(Qe, [2, 81]),
2168
+ t(Qe, [2, 82]),
2169
+ t(Qe, [2, 168]),
2170
+ t(Qe, [2, 169]),
2171
+ {
2172
+ 76: 199,
2173
+ 79: 121,
2174
+ 80: Ce,
2175
+ 81: we,
2176
+ 116: Te,
2177
+ 119: Ee
2178
+ },
2179
+ t(De, [2, 84]),
2180
+ {
2181
+ 8: j,
2182
+ 9: M,
2183
+ 10: Oe,
2184
+ 11: N,
2185
+ 12: ke,
2186
+ 14: Ae,
2187
+ 21: 201,
2188
+ 27: je,
2189
+ 29: [1, 200],
2190
+ 32: Me,
2191
+ 44: Ne,
2192
+ 60: Pe,
2193
+ 75: Fe,
2194
+ 83: 141,
2195
+ 84: Ie,
2196
+ 85: Le,
2197
+ 86: Re,
2198
+ 87: ze,
2199
+ 88: Be,
2200
+ 89: Ve,
2201
+ 90: He,
2202
+ 91: 202,
2203
+ 105: Ue,
2204
+ 109: We,
2205
+ 111: Ge,
2206
+ 114: Ke,
2207
+ 115: qe,
2208
+ 116: Je
2209
+ },
2210
+ t(W, [2, 101]),
2211
+ t(W, [2, 103]),
2212
+ t(W, [2, 104]),
2213
+ t(W, [2, 157]),
2214
+ t(W, [2, 158]),
2215
+ t(W, [2, 159]),
2216
+ t(W, [2, 160]),
2217
+ t(W, [2, 161]),
2218
+ t(W, [2, 162]),
2219
+ t(W, [2, 163]),
2220
+ t(W, [2, 164]),
2221
+ t(W, [2, 165]),
2222
+ t(W, [2, 166]),
2223
+ t(W, [2, 167]),
2224
+ t(W, [2, 90]),
2225
+ t(W, [2, 91]),
2226
+ t(W, [2, 92]),
2227
+ t(W, [2, 93]),
2228
+ t(W, [2, 94]),
2229
+ t(W, [2, 95]),
2230
+ t(W, [2, 96]),
2231
+ t(W, [2, 97]),
2232
+ t(W, [2, 98]),
2233
+ t(W, [2, 99]),
2234
+ t(W, [2, 100]),
2235
+ {
2236
+ 6: 11,
2237
+ 7: 12,
2238
+ 8: s,
2239
+ 9: c,
2240
+ 10: l,
2241
+ 11: u,
2242
+ 20: 17,
2243
+ 22: 18,
2244
+ 23: 19,
2245
+ 24: 20,
2246
+ 25: 21,
2247
+ 26: 22,
2248
+ 27: d,
2249
+ 32: [1, 203],
2250
+ 33: 24,
2251
+ 34: f,
2252
+ 36: p,
2253
+ 38: ee,
2254
+ 42: 28,
2255
+ 43: 39,
2256
+ 44: m,
2257
+ 45: 40,
2258
+ 47: 41,
2259
+ 60: h,
2260
+ 84: te,
2261
+ 85: g,
2262
+ 86: _,
2263
+ 87: ne,
2264
+ 88: re,
2265
+ 89: v,
2266
+ 102: y,
2267
+ 105: b,
2268
+ 106: x,
2269
+ 109: S,
2270
+ 111: C,
2271
+ 113: 42,
2272
+ 114: w,
2273
+ 115: T,
2274
+ 116: E,
2275
+ 121: D,
2276
+ 122: O,
2277
+ 123: ie,
2278
+ 124: ae,
2279
+ 125: oe
2280
+ },
2281
+ {
2282
+ 10: k,
2283
+ 18: 204
2284
+ },
2285
+ { 44: [1, 205] },
2286
+ t(be, [2, 43]),
2287
+ {
2288
+ 10: [1, 206],
2289
+ 44: m,
2290
+ 60: h,
2291
+ 89: v,
2292
+ 102: y,
2293
+ 105: b,
2294
+ 106: x,
2295
+ 109: S,
2296
+ 111: C,
2297
+ 113: 113,
2298
+ 114: w,
2299
+ 115: T,
2300
+ 116: E
2301
+ },
2302
+ { 10: [1, 207] },
2303
+ {
2304
+ 10: [1, 208],
2305
+ 106: [1, 209]
2306
+ },
2307
+ t($e, [2, 128]),
2308
+ {
2309
+ 10: [1, 210],
2310
+ 44: m,
2311
+ 60: h,
2312
+ 89: v,
2313
+ 102: y,
2314
+ 105: b,
2315
+ 106: x,
2316
+ 109: S,
2317
+ 111: C,
2318
+ 113: 113,
2319
+ 114: w,
2320
+ 115: T,
2321
+ 116: E
2322
+ },
2323
+ {
2324
+ 10: [1, 211],
2325
+ 44: m,
2326
+ 60: h,
2327
+ 89: v,
2328
+ 102: y,
2329
+ 105: b,
2330
+ 106: x,
2331
+ 109: S,
2332
+ 111: C,
2333
+ 113: 113,
2334
+ 114: w,
2335
+ 115: T,
2336
+ 116: E
2337
+ },
2338
+ { 80: [1, 212] },
2339
+ t(I, [2, 109], { 10: [1, 213] }),
2340
+ t(I, [2, 111], { 10: [1, 214] }),
2341
+ { 80: [1, 215] },
2342
+ t(L, [2, 184]),
2343
+ {
2344
+ 80: [1, 216],
2345
+ 98: [1, 217]
2346
+ },
2347
+ t(be, [2, 55], {
2348
+ 113: 113,
2349
+ 44: m,
2350
+ 60: h,
2351
+ 89: v,
2352
+ 102: y,
2353
+ 105: b,
2354
+ 106: x,
2355
+ 109: S,
2356
+ 111: C,
2357
+ 114: w,
2358
+ 115: T,
2359
+ 116: E
2360
+ }),
2361
+ {
2362
+ 31: [1, 218],
2363
+ 67: R,
2364
+ 82: 219,
2365
+ 116: V,
2366
+ 117: H,
2367
+ 118: U
2368
+ },
2369
+ t(et, [2, 86]),
2370
+ t(et, [2, 88]),
2371
+ t(et, [2, 89]),
2372
+ t(et, [2, 153]),
2373
+ t(et, [2, 154]),
2374
+ t(et, [2, 155]),
2375
+ t(et, [2, 156]),
2376
+ {
2377
+ 49: [1, 220],
2378
+ 67: R,
2379
+ 82: 219,
2380
+ 116: V,
2381
+ 117: H,
2382
+ 118: U
2383
+ },
2384
+ {
2385
+ 30: 221,
2386
+ 67: R,
2387
+ 80: z,
2388
+ 81: B,
2389
+ 82: 172,
2390
+ 116: V,
2391
+ 117: H,
2392
+ 118: U
2393
+ },
2394
+ {
2395
+ 51: [1, 222],
2396
+ 67: R,
2397
+ 82: 219,
2398
+ 116: V,
2399
+ 117: H,
2400
+ 118: U
2401
+ },
2402
+ {
2403
+ 53: [1, 223],
2404
+ 67: R,
2405
+ 82: 219,
2406
+ 116: V,
2407
+ 117: H,
2408
+ 118: U
2409
+ },
2410
+ {
2411
+ 55: [1, 224],
2412
+ 67: R,
2413
+ 82: 219,
2414
+ 116: V,
2415
+ 117: H,
2416
+ 118: U
2417
+ },
2418
+ {
2419
+ 57: [1, 225],
2420
+ 67: R,
2421
+ 82: 219,
2422
+ 116: V,
2423
+ 117: H,
2424
+ 118: U
2425
+ },
2426
+ { 60: [1, 226] },
2427
+ {
2428
+ 64: [1, 227],
2429
+ 67: R,
2430
+ 82: 219,
2431
+ 116: V,
2432
+ 117: H,
2433
+ 118: U
2434
+ },
2435
+ {
2436
+ 66: [1, 228],
2437
+ 67: R,
2438
+ 82: 219,
2439
+ 116: V,
2440
+ 117: H,
2441
+ 118: U
2442
+ },
2443
+ {
2444
+ 30: 229,
2445
+ 67: R,
2446
+ 80: z,
2447
+ 81: B,
2448
+ 82: 172,
2449
+ 116: V,
2450
+ 117: H,
2451
+ 118: U
2452
+ },
2453
+ {
2454
+ 31: [1, 230],
2455
+ 67: R,
2456
+ 82: 219,
2457
+ 116: V,
2458
+ 117: H,
2459
+ 118: U
2460
+ },
2461
+ {
2462
+ 67: R,
2463
+ 69: [1, 231],
2464
+ 71: [1, 232],
2465
+ 82: 219,
2466
+ 116: V,
2467
+ 117: H,
2468
+ 118: U
2469
+ },
2470
+ {
2471
+ 67: R,
2472
+ 69: [1, 234],
2473
+ 71: [1, 233],
2474
+ 82: 219,
2475
+ 116: V,
2476
+ 117: H,
2477
+ 118: U
2478
+ },
2479
+ t(se, [2, 45], {
2480
+ 18: 156,
2481
+ 10: k,
2482
+ 40: Ze
2483
+ }),
2484
+ t(se, [2, 47], { 44: Xe }),
2485
+ t(Se, [2, 75]),
2486
+ t(Se, [2, 74]),
2487
+ {
2488
+ 62: [1, 235],
2489
+ 67: R,
2490
+ 82: 219,
2491
+ 116: V,
2492
+ 117: H,
2493
+ 118: U
2494
+ },
2495
+ t(Se, [2, 77]),
2496
+ t(Qe, [2, 80]),
2497
+ {
2498
+ 77: [1, 236],
2499
+ 79: 198,
2500
+ 116: Te,
2501
+ 119: Ee
2502
+ },
2503
+ {
2504
+ 30: 237,
2505
+ 67: R,
2506
+ 80: z,
2507
+ 81: B,
2508
+ 82: 172,
2509
+ 116: V,
2510
+ 117: H,
2511
+ 118: U
2512
+ },
2513
+ t(Ye, o, { 5: 238 }),
2514
+ t(W, [2, 102]),
2515
+ t(A, [2, 35]),
2516
+ {
2517
+ 43: 239,
2518
+ 44: m,
2519
+ 45: 40,
2520
+ 47: 41,
2521
+ 60: h,
2522
+ 89: v,
2523
+ 102: y,
2524
+ 105: b,
2525
+ 106: x,
2526
+ 109: S,
2527
+ 111: C,
2528
+ 113: 42,
2529
+ 114: w,
2530
+ 115: T,
2531
+ 116: E
2532
+ },
2533
+ {
2534
+ 10: k,
2535
+ 18: 240
2536
+ },
2537
+ {
2538
+ 10: G,
2539
+ 60: K,
2540
+ 84: q,
2541
+ 92: 241,
2542
+ 105: J,
2543
+ 107: 242,
2544
+ 108: 243,
2545
+ 109: Y,
2546
+ 110: X,
2547
+ 111: Z,
2548
+ 112: Q
2549
+ },
2550
+ {
2551
+ 10: G,
2552
+ 60: K,
2553
+ 84: q,
2554
+ 92: 252,
2555
+ 104: [1, 253],
2556
+ 105: J,
2557
+ 107: 242,
2558
+ 108: 243,
2559
+ 109: Y,
2560
+ 110: X,
2561
+ 111: Z,
2562
+ 112: Q
2563
+ },
2564
+ {
2565
+ 10: G,
2566
+ 60: K,
2567
+ 84: q,
2568
+ 92: 254,
2569
+ 104: [1, 255],
2570
+ 105: J,
2571
+ 107: 242,
2572
+ 108: 243,
2573
+ 109: Y,
2574
+ 110: X,
2575
+ 111: Z,
2576
+ 112: Q
2577
+ },
2578
+ { 105: [1, 256] },
2579
+ {
2580
+ 10: G,
2581
+ 60: K,
2582
+ 84: q,
2583
+ 92: 257,
2584
+ 105: J,
2585
+ 107: 242,
2586
+ 108: 243,
2587
+ 109: Y,
2588
+ 110: X,
2589
+ 111: Z,
2590
+ 112: Q
2591
+ },
2592
+ {
2593
+ 44: m,
2594
+ 47: 258,
2595
+ 60: h,
2596
+ 89: v,
2597
+ 102: y,
2598
+ 105: b,
2599
+ 106: x,
2600
+ 109: S,
2601
+ 111: C,
2602
+ 113: 42,
2603
+ 114: w,
2604
+ 115: T,
2605
+ 116: E
2606
+ },
2607
+ t(I, [2, 108]),
2608
+ { 80: [1, 259] },
2609
+ {
2610
+ 80: [1, 260],
2611
+ 98: [1, 261]
2612
+ },
2613
+ t(I, [2, 116]),
2614
+ t(I, [2, 118], { 10: [1, 262] }),
2615
+ t(I, [2, 119]),
2616
+ t(P, [2, 56]),
2617
+ t(et, [2, 87]),
2618
+ t(P, [2, 57]),
2619
+ {
2620
+ 51: [1, 263],
2621
+ 67: R,
2622
+ 82: 219,
2623
+ 116: V,
2624
+ 117: H,
2625
+ 118: U
2626
+ },
2627
+ t(P, [2, 64]),
2628
+ t(P, [2, 59]),
2629
+ t(P, [2, 60]),
2630
+ t(P, [2, 61]),
2631
+ { 109: [1, 264] },
2632
+ t(P, [2, 63]),
2633
+ t(P, [2, 65]),
2634
+ {
2635
+ 66: [1, 265],
2636
+ 67: R,
2637
+ 82: 219,
2638
+ 116: V,
2639
+ 117: H,
2640
+ 118: U
2641
+ },
2642
+ t(P, [2, 67]),
2643
+ t(P, [2, 68]),
2644
+ t(P, [2, 70]),
2645
+ t(P, [2, 69]),
2646
+ t(P, [2, 71]),
2647
+ t([
2648
+ 10,
2649
+ 44,
2650
+ 60,
2651
+ 89,
2652
+ 102,
2653
+ 105,
2654
+ 106,
2655
+ 109,
2656
+ 111,
2657
+ 114,
2658
+ 115,
2659
+ 116
2660
+ ], [2, 85]),
2661
+ t(Se, [2, 78]),
2662
+ {
2663
+ 31: [1, 266],
2664
+ 67: R,
2665
+ 82: 219,
2666
+ 116: V,
2667
+ 117: H,
2668
+ 118: U
2669
+ },
2670
+ {
2671
+ 6: 11,
2672
+ 7: 12,
2673
+ 8: s,
2674
+ 9: c,
2675
+ 10: l,
2676
+ 11: u,
2677
+ 20: 17,
2678
+ 22: 18,
2679
+ 23: 19,
2680
+ 24: 20,
2681
+ 25: 21,
2682
+ 26: 22,
2683
+ 27: d,
2684
+ 32: [1, 267],
2685
+ 33: 24,
2686
+ 34: f,
2687
+ 36: p,
2688
+ 38: ee,
2689
+ 42: 28,
2690
+ 43: 39,
2691
+ 44: m,
2692
+ 45: 40,
2693
+ 47: 41,
2694
+ 60: h,
2695
+ 84: te,
2696
+ 85: g,
2697
+ 86: _,
2698
+ 87: ne,
2699
+ 88: re,
2700
+ 89: v,
2701
+ 102: y,
2702
+ 105: b,
2703
+ 106: x,
2704
+ 109: S,
2705
+ 111: C,
2706
+ 113: 42,
2707
+ 114: w,
2708
+ 115: T,
2709
+ 116: E,
2710
+ 121: D,
2711
+ 122: O,
2712
+ 123: ie,
2713
+ 124: ae,
2714
+ 125: oe
2715
+ },
2716
+ t(be, [2, 53]),
2717
+ {
2718
+ 43: 268,
2719
+ 44: m,
2720
+ 45: 40,
2721
+ 47: 41,
2722
+ 60: h,
2723
+ 89: v,
2724
+ 102: y,
2725
+ 105: b,
2726
+ 106: x,
2727
+ 109: S,
2728
+ 111: C,
2729
+ 113: 42,
2730
+ 114: w,
2731
+ 115: T,
2732
+ 116: E
2733
+ },
2734
+ t(I, [2, 121], { 106: tt }),
2735
+ t(nt, [2, 130], {
2736
+ 108: 270,
2737
+ 10: G,
2738
+ 60: K,
2739
+ 84: q,
2740
+ 105: J,
2741
+ 109: Y,
2742
+ 110: X,
2743
+ 111: Z,
2744
+ 112: Q
2745
+ }),
2746
+ t($, [2, 132]),
2747
+ t($, [2, 134]),
2748
+ t($, [2, 135]),
2749
+ t($, [2, 136]),
2750
+ t($, [2, 137]),
2751
+ t($, [2, 138]),
2752
+ t($, [2, 139]),
2753
+ t($, [2, 140]),
2754
+ t($, [2, 141]),
2755
+ t(I, [2, 122], { 106: tt }),
2756
+ { 10: [1, 271] },
2757
+ t(I, [2, 123], { 106: tt }),
2758
+ { 10: [1, 272] },
2759
+ t($e, [2, 129]),
2760
+ t(I, [2, 105], { 106: tt }),
2761
+ t(I, [2, 106], {
2762
+ 113: 113,
2763
+ 44: m,
2764
+ 60: h,
2765
+ 89: v,
2766
+ 102: y,
2767
+ 105: b,
2768
+ 106: x,
2769
+ 109: S,
2770
+ 111: C,
2771
+ 114: w,
2772
+ 115: T,
2773
+ 116: E
2774
+ }),
2775
+ t(I, [2, 110]),
2776
+ t(I, [2, 112], { 10: [1, 273] }),
2777
+ t(I, [2, 113]),
2778
+ { 98: [1, 274] },
2779
+ { 51: [1, 275] },
2780
+ { 62: [1, 276] },
2781
+ { 66: [1, 277] },
2782
+ {
2783
+ 8: j,
2784
+ 9: M,
2785
+ 11: N,
2786
+ 21: 278
2787
+ },
2788
+ t(A, [2, 34]),
2789
+ t(be, [2, 52]),
2790
+ {
2791
+ 10: G,
2792
+ 60: K,
2793
+ 84: q,
2794
+ 105: J,
2795
+ 107: 279,
2796
+ 108: 243,
2797
+ 109: Y,
2798
+ 110: X,
2799
+ 111: Z,
2800
+ 112: Q
2801
+ },
2802
+ t($, [2, 133]),
2803
+ {
2804
+ 14: le,
2805
+ 44: ue,
2806
+ 60: de,
2807
+ 89: fe,
2808
+ 101: 280,
2809
+ 105: pe,
2810
+ 106: me,
2811
+ 109: he,
2812
+ 111: ge,
2813
+ 114: _e,
2814
+ 115: ve,
2815
+ 116: ye,
2816
+ 120: 88
2817
+ },
2818
+ {
2819
+ 14: le,
2820
+ 44: ue,
2821
+ 60: de,
2822
+ 89: fe,
2823
+ 101: 281,
2824
+ 105: pe,
2825
+ 106: me,
2826
+ 109: he,
2827
+ 111: ge,
2828
+ 114: _e,
2829
+ 115: ve,
2830
+ 116: ye,
2831
+ 120: 88
2832
+ },
2833
+ { 98: [1, 282] },
2834
+ t(I, [2, 120]),
2835
+ t(P, [2, 58]),
2836
+ {
2837
+ 30: 283,
2838
+ 67: R,
2839
+ 80: z,
2840
+ 81: B,
2841
+ 82: 172,
2842
+ 116: V,
2843
+ 117: H,
2844
+ 118: U
2845
+ },
2846
+ t(P, [2, 66]),
2847
+ t(Ye, o, { 5: 284 }),
2848
+ t(nt, [2, 131], {
2849
+ 108: 270,
2850
+ 10: G,
2851
+ 60: K,
2852
+ 84: q,
2853
+ 105: J,
2854
+ 109: Y,
2855
+ 110: X,
2856
+ 111: Z,
2857
+ 112: Q
2858
+ }),
2859
+ t(I, [2, 126], {
2860
+ 120: 168,
2861
+ 10: [1, 285],
2862
+ 14: le,
2863
+ 44: ue,
2864
+ 60: de,
2865
+ 89: fe,
2866
+ 105: pe,
2867
+ 106: me,
2868
+ 109: he,
2869
+ 111: ge,
2870
+ 114: _e,
2871
+ 115: ve,
2872
+ 116: ye
2873
+ }),
2874
+ t(I, [2, 127], {
2875
+ 120: 168,
2876
+ 10: [1, 286],
2877
+ 14: le,
2878
+ 44: ue,
2879
+ 60: de,
2880
+ 89: fe,
2881
+ 105: pe,
2882
+ 106: me,
2883
+ 109: he,
2884
+ 111: ge,
2885
+ 114: _e,
2886
+ 115: ve,
2887
+ 116: ye
2888
+ }),
2889
+ t(I, [2, 114]),
2890
+ {
2891
+ 31: [1, 287],
2892
+ 67: R,
2893
+ 82: 219,
2894
+ 116: V,
2895
+ 117: H,
2896
+ 118: U
2897
+ },
2898
+ {
2899
+ 6: 11,
2900
+ 7: 12,
2901
+ 8: s,
2902
+ 9: c,
2903
+ 10: l,
2904
+ 11: u,
2905
+ 20: 17,
2906
+ 22: 18,
2907
+ 23: 19,
2908
+ 24: 20,
2909
+ 25: 21,
2910
+ 26: 22,
2911
+ 27: d,
2912
+ 32: [1, 288],
2913
+ 33: 24,
2914
+ 34: f,
2915
+ 36: p,
2916
+ 38: ee,
2917
+ 42: 28,
2918
+ 43: 39,
2919
+ 44: m,
2920
+ 45: 40,
2921
+ 47: 41,
2922
+ 60: h,
2923
+ 84: te,
2924
+ 85: g,
2925
+ 86: _,
2926
+ 87: ne,
2927
+ 88: re,
2928
+ 89: v,
2929
+ 102: y,
2930
+ 105: b,
2931
+ 106: x,
2932
+ 109: S,
2933
+ 111: C,
2934
+ 113: 42,
2935
+ 114: w,
2936
+ 115: T,
2937
+ 116: E,
2938
+ 121: D,
2939
+ 122: O,
2940
+ 123: ie,
2941
+ 124: ae,
2942
+ 125: oe
2943
+ },
2944
+ {
2945
+ 10: G,
2946
+ 60: K,
2947
+ 84: q,
2948
+ 92: 289,
2949
+ 105: J,
2950
+ 107: 242,
2951
+ 108: 243,
2952
+ 109: Y,
2953
+ 110: X,
2954
+ 111: Z,
2955
+ 112: Q
2956
+ },
2957
+ {
2958
+ 10: G,
2959
+ 60: K,
2960
+ 84: q,
2961
+ 92: 290,
2962
+ 105: J,
2963
+ 107: 242,
2964
+ 108: 243,
2965
+ 109: Y,
2966
+ 110: X,
2967
+ 111: Z,
2968
+ 112: Q
2969
+ },
2970
+ t(P, [2, 62]),
2971
+ t(A, [2, 33]),
2972
+ t(I, [2, 124], { 106: tt }),
2973
+ t(I, [2, 125], { 106: tt })
2974
+ ],
2975
+ defaultActions: {},
2976
+ parseError: /* @__PURE__ */ e(function(e, t) {
2977
+ if (t.recoverable) this.trace(e);
2978
+ else {
2979
+ var n = Error(e);
2980
+ throw n.hash = t, n;
2981
+ }
2982
+ }, "parseError"),
2983
+ parse: /* @__PURE__ */ e(function(t) {
2984
+ var n = this, r = [0], i = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, ee = o.slice.call(arguments, 1), m = Object.create(this.lexer), h = { yy: {} };
2985
+ for (var te in this.yy) Object.prototype.hasOwnProperty.call(this.yy, te) && (h.yy[te] = this.yy[te]);
2986
+ m.setInput(t, h.yy), h.yy.lexer = m, h.yy.parser = this, m.yylloc === void 0 && (m.yylloc = {});
2987
+ var g = m.yylloc;
2988
+ o.push(g);
2989
+ var _ = m.options && m.options.ranges;
2990
+ this.parseError = typeof h.yy.parseError == "function" ? h.yy.parseError : Object.getPrototypeOf(this).parseError;
2991
+ function ne(e) {
2992
+ r.length -= 2 * e, a.length -= e, o.length -= e;
2993
+ }
2994
+ e(ne, "popStack");
2995
+ function re() {
2996
+ var e = i.pop() || m.lex() || p;
2997
+ return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = n.symbols_[e] || e), e;
2998
+ }
2999
+ e(re, "lex");
3000
+ for (var v, y, b, x, S, C = {}, w, T, E, D;;) {
3001
+ if (b = r[r.length - 1], this.defaultActions[b] ? x = this.defaultActions[b] : (v ??= re(), x = s[b] && s[b][v]), x === void 0 || !x.length || !x[0]) {
3002
+ var O = "";
3003
+ for (w in D = [], s[b]) this.terminals_[w] && w > f && D.push("'" + this.terminals_[w] + "'");
3004
+ O = m.showPosition ? "Parse error on line " + (l + 1) + ":\n" + m.showPosition() + "\nExpecting " + D.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (v == p ? "end of input" : "'" + (this.terminals_[v] || v) + "'"), this.parseError(O, {
3005
+ text: m.match,
3006
+ token: this.terminals_[v] || v,
3007
+ line: m.yylineno,
3008
+ loc: g,
3009
+ expected: D
3010
+ });
3011
+ }
3012
+ if (x[0] instanceof Array && x.length > 1) throw Error("Parse Error: multiple actions possible at state: " + b + ", token: " + v);
3013
+ switch (x[0]) {
3014
+ case 1:
3015
+ r.push(v), a.push(m.yytext), o.push(m.yylloc), r.push(x[1]), v = null, y ? (v = y, y = null) : (u = m.yyleng, c = m.yytext, l = m.yylineno, g = m.yylloc, d > 0 && d--);
3016
+ break;
3017
+ case 2:
3018
+ if (T = this.productions_[x[1]][1], C.$ = a[a.length - T], C._$ = {
3019
+ first_line: o[o.length - (T || 1)].first_line,
3020
+ last_line: o[o.length - 1].last_line,
3021
+ first_column: o[o.length - (T || 1)].first_column,
3022
+ last_column: o[o.length - 1].last_column
3023
+ }, _ && (C._$.range = [o[o.length - (T || 1)].range[0], o[o.length - 1].range[1]]), S = this.performAction.apply(C, [
3024
+ c,
3025
+ u,
3026
+ l,
3027
+ h.yy,
3028
+ x[1],
3029
+ a,
3030
+ o
3031
+ ].concat(ee)), S !== void 0) return S;
3032
+ T && (r = r.slice(0, -1 * T * 2), a = a.slice(0, -1 * T), o = o.slice(0, -1 * T)), r.push(this.productions_[x[1]][0]), a.push(C.$), o.push(C._$), E = s[r[r.length - 2]][r[r.length - 1]], r.push(E);
3033
+ break;
3034
+ case 3: return !0;
3035
+ }
3036
+ }
3037
+ return !0;
3038
+ }, "parse")
3039
+ };
3040
+ rt.lexer = /* @__PURE__ */ (function() {
3041
+ return {
3042
+ EOF: 1,
3043
+ parseError: /* @__PURE__ */ e(function(e, t) {
3044
+ if (this.yy.parser) this.yy.parser.parseError(e, t);
3045
+ else throw Error(e);
3046
+ }, "parseError"),
3047
+ setInput: /* @__PURE__ */ e(function(e, t) {
3048
+ return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
3049
+ first_line: 1,
3050
+ first_column: 0,
3051
+ last_line: 1,
3052
+ last_column: 0
3053
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
3054
+ }, "setInput"),
3055
+ input: /* @__PURE__ */ e(function() {
3056
+ var e = this._input[0];
3057
+ return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
3058
+ }, "input"),
3059
+ unput: /* @__PURE__ */ e(function(e) {
3060
+ var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
3061
+ this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
3062
+ var r = this.match.split(/(?:\r\n?|\n)/g);
3063
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), n.length - 1 && (this.yylineno -= n.length - 1);
3064
+ var i = this.yylloc.range;
3065
+ return this.yylloc = {
3066
+ first_line: this.yylloc.first_line,
3067
+ last_line: this.yylineno + 1,
3068
+ first_column: this.yylloc.first_column,
3069
+ last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
3070
+ }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
3071
+ }, "unput"),
3072
+ more: /* @__PURE__ */ e(function() {
3073
+ return this._more = !0, this;
3074
+ }, "more"),
3075
+ reject: /* @__PURE__ */ e(function() {
3076
+ if (this.options.backtrack_lexer) this._backtrack = !0;
3077
+ 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(), {
3078
+ text: "",
3079
+ token: null,
3080
+ line: this.yylineno
3081
+ });
3082
+ return this;
3083
+ }, "reject"),
3084
+ less: /* @__PURE__ */ e(function(e) {
3085
+ this.unput(this.match.slice(e));
3086
+ }, "less"),
3087
+ pastInput: /* @__PURE__ */ e(function() {
3088
+ var e = this.matched.substr(0, this.matched.length - this.match.length);
3089
+ return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
3090
+ }, "pastInput"),
3091
+ upcomingInput: /* @__PURE__ */ e(function() {
3092
+ var e = this.match;
3093
+ return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
3094
+ }, "upcomingInput"),
3095
+ showPosition: /* @__PURE__ */ e(function() {
3096
+ var e = this.pastInput(), t = Array(e.length + 1).join("-");
3097
+ return e + this.upcomingInput() + "\n" + t + "^";
3098
+ }, "showPosition"),
3099
+ test_match: /* @__PURE__ */ e(function(e, t) {
3100
+ var n, r, i;
3101
+ if (this.options.backtrack_lexer && (i = {
3102
+ yylineno: this.yylineno,
3103
+ yylloc: {
3104
+ first_line: this.yylloc.first_line,
3105
+ last_line: this.last_line,
3106
+ first_column: this.yylloc.first_column,
3107
+ last_column: this.yylloc.last_column
3108
+ },
3109
+ yytext: this.yytext,
3110
+ match: this.match,
3111
+ matches: this.matches,
3112
+ matched: this.matched,
3113
+ yyleng: this.yyleng,
3114
+ offset: this.offset,
3115
+ _more: this._more,
3116
+ _input: this._input,
3117
+ yy: this.yy,
3118
+ conditionStack: this.conditionStack.slice(0),
3119
+ done: this.done
3120
+ }, this.options.ranges && (i.yylloc.range = this.yylloc.range.slice(0))), r = e[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
3121
+ first_line: this.yylloc.last_line,
3122
+ last_line: this.yylineno + 1,
3123
+ first_column: this.yylloc.last_column,
3124
+ last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
3125
+ }, this.yytext += e[0], this.match += e[0], this.matches = e, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(e[0].length), this.matched += e[0], n = this.performAction.call(this, this.yy, this, t, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n) return n;
3126
+ if (this._backtrack) {
3127
+ for (var a in i) this[a] = i[a];
3128
+ return !1;
3129
+ }
3130
+ return !1;
3131
+ }, "test_match"),
3132
+ next: /* @__PURE__ */ e(function() {
3133
+ if (this.done) return this.EOF;
3134
+ this._input || (this.done = !0);
3135
+ var e, t, n, r;
3136
+ this._more || (this.yytext = "", this.match = "");
3137
+ for (var i = this._currentRules(), a = 0; a < i.length; a++) if (n = this._input.match(this.rules[i[a]]), n && (!t || n[0].length > t[0].length)) {
3138
+ if (t = n, r = a, this.options.backtrack_lexer) {
3139
+ if (e = this.test_match(n, i[a]), e !== !1) return e;
3140
+ if (this._backtrack) {
3141
+ t = !1;
3142
+ continue;
3143
+ }
3144
+ return !1;
3145
+ }
3146
+ if (!this.options.flex) break;
3147
+ }
3148
+ return t ? (e = this.test_match(t, i[r]), e !== !1 && e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
3149
+ text: "",
3150
+ token: null,
3151
+ line: this.yylineno
3152
+ });
3153
+ }, "next"),
3154
+ lex: /* @__PURE__ */ e(function() {
3155
+ return this.next() || this.lex();
3156
+ }, "lex"),
3157
+ begin: /* @__PURE__ */ e(function(e) {
3158
+ this.conditionStack.push(e);
3159
+ }, "begin"),
3160
+ popState: /* @__PURE__ */ e(function() {
3161
+ return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
3162
+ }, "popState"),
3163
+ _currentRules: /* @__PURE__ */ e(function() {
3164
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
3165
+ }, "_currentRules"),
3166
+ topState: /* @__PURE__ */ e(function(e) {
3167
+ return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
3168
+ }, "topState"),
3169
+ pushState: /* @__PURE__ */ e(function(e) {
3170
+ this.begin(e);
3171
+ }, "pushState"),
3172
+ stateStackSize: /* @__PURE__ */ e(function() {
3173
+ return this.conditionStack.length;
3174
+ }, "stateStackSize"),
3175
+ options: {},
3176
+ performAction: /* @__PURE__ */ e(function(e, t, n, r) {
3177
+ switch (n) {
3178
+ case 0: return this.begin("acc_title"), 34;
3179
+ case 1: return this.popState(), "acc_title_value";
3180
+ case 2: return this.begin("acc_descr"), 36;
3181
+ case 3: return this.popState(), "acc_descr_value";
3182
+ case 4:
3183
+ this.begin("acc_descr_multiline");
3184
+ break;
3185
+ case 5:
3186
+ this.popState();
3187
+ break;
3188
+ case 6: return "acc_descr_multiline_value";
3189
+ case 7: return this.pushState("shapeData"), t.yytext = "", 40;
3190
+ case 8: return this.pushState("shapeDataStr"), 40;
3191
+ case 9: return this.popState(), 40;
3192
+ case 10: return t.yytext = t.yytext.replace(/\n\s*/g, "<br/>"), 40;
3193
+ case 11: return 40;
3194
+ case 12:
3195
+ this.popState();
3196
+ break;
3197
+ case 13:
3198
+ this.begin("callbackname");
3199
+ break;
3200
+ case 14:
3201
+ this.popState();
3202
+ break;
3203
+ case 15:
3204
+ this.popState(), this.begin("callbackargs");
3205
+ break;
3206
+ case 16: return 95;
3207
+ case 17:
3208
+ this.popState();
3209
+ break;
3210
+ case 18: return 96;
3211
+ case 19: return "MD_STR";
3212
+ case 20:
3213
+ this.popState();
3214
+ break;
3215
+ case 21:
3216
+ this.begin("md_string");
3217
+ break;
3218
+ case 22: return "STR";
3219
+ case 23:
3220
+ this.popState();
3221
+ break;
3222
+ case 24:
3223
+ this.pushState("string");
3224
+ break;
3225
+ case 25: return 84;
3226
+ case 26: return 102;
3227
+ case 27: return 85;
3228
+ case 28: return 104;
3229
+ case 29: return 86;
3230
+ case 30: return 87;
3231
+ case 31: return 97;
3232
+ case 32:
3233
+ this.begin("click");
3234
+ break;
3235
+ case 33:
3236
+ this.popState();
3237
+ break;
3238
+ case 34: return 88;
3239
+ case 35: return e.lex.firstGraph() && this.begin("dir"), 12;
3240
+ case 36: return e.lex.firstGraph() && this.begin("dir"), 12;
3241
+ case 37: return e.lex.firstGraph() && this.begin("dir"), 12;
3242
+ case 38: return e.lex.firstGraph() && this.begin("dir"), 12;
3243
+ case 39: return 27;
3244
+ case 40: return 32;
3245
+ case 41: return 98;
3246
+ case 42: return 98;
3247
+ case 43: return 98;
3248
+ case 44: return 98;
3249
+ case 45: return this.popState(), 13;
3250
+ case 46: return this.popState(), 14;
3251
+ case 47: return this.popState(), 14;
3252
+ case 48: return this.popState(), 14;
3253
+ case 49: return this.popState(), 14;
3254
+ case 50: return this.popState(), 14;
3255
+ case 51: return this.popState(), 14;
3256
+ case 52: return this.popState(), 14;
3257
+ case 53: return this.popState(), 14;
3258
+ case 54: return this.popState(), 14;
3259
+ case 55: return this.popState(), 14;
3260
+ case 56: return 121;
3261
+ case 57: return 122;
3262
+ case 58: return 123;
3263
+ case 59: return 124;
3264
+ case 60: return 125;
3265
+ case 61: return 78;
3266
+ case 62: return 105;
3267
+ case 63: return 111;
3268
+ case 64: return 46;
3269
+ case 65: return 60;
3270
+ case 66: return 44;
3271
+ case 67: return 8;
3272
+ case 68: return 106;
3273
+ case 69: return 115;
3274
+ case 70: return this.popState(), 77;
3275
+ case 71: return this.pushState("edgeText"), 75;
3276
+ case 72: return 119;
3277
+ case 73: return this.popState(), 77;
3278
+ case 74: return this.pushState("thickEdgeText"), 75;
3279
+ case 75: return 119;
3280
+ case 76: return this.popState(), 77;
3281
+ case 77: return this.pushState("dottedEdgeText"), 75;
3282
+ case 78: return 119;
3283
+ case 79: return 77;
3284
+ case 80: return this.popState(), 53;
3285
+ case 81: return "TEXT";
3286
+ case 82: return this.pushState("ellipseText"), 52;
3287
+ case 83: return this.popState(), 55;
3288
+ case 84: return this.pushState("text"), 54;
3289
+ case 85: return this.popState(), 57;
3290
+ case 86: return this.pushState("text"), 56;
3291
+ case 87: return 58;
3292
+ case 88: return this.pushState("text"), 67;
3293
+ case 89: return this.popState(), 64;
3294
+ case 90: return this.pushState("text"), 63;
3295
+ case 91: return this.popState(), 49;
3296
+ case 92: return this.pushState("text"), 48;
3297
+ case 93: return this.popState(), 69;
3298
+ case 94: return this.popState(), 71;
3299
+ case 95: return 117;
3300
+ case 96: return this.pushState("trapText"), 68;
3301
+ case 97: return this.pushState("trapText"), 70;
3302
+ case 98: return 118;
3303
+ case 99: return 67;
3304
+ case 100: return 90;
3305
+ case 101: return "SEP";
3306
+ case 102: return 89;
3307
+ case 103: return 115;
3308
+ case 104: return 111;
3309
+ case 105: return 44;
3310
+ case 106: return 109;
3311
+ case 107: return 114;
3312
+ case 108: return 116;
3313
+ case 109: return this.popState(), 62;
3314
+ case 110: return this.pushState("text"), 62;
3315
+ case 111: return this.popState(), 51;
3316
+ case 112: return this.pushState("text"), 50;
3317
+ case 113: return this.popState(), 31;
3318
+ case 114: return this.pushState("text"), 29;
3319
+ case 115: return this.popState(), 66;
3320
+ case 116: return this.pushState("text"), 65;
3321
+ case 117: return "TEXT";
3322
+ case 118: return "QUOTE";
3323
+ case 119: return 9;
3324
+ case 120: return 10;
3325
+ case 121: return 11;
3326
+ }
3327
+ }, "anonymous"),
3328
+ rules: [
3329
+ /^(?:accTitle\s*:\s*)/,
3330
+ /^(?:(?!\n||)*[^\n]*)/,
3331
+ /^(?:accDescr\s*:\s*)/,
3332
+ /^(?:(?!\n||)*[^\n]*)/,
3333
+ /^(?:accDescr\s*\{\s*)/,
3334
+ /^(?:[\}])/,
3335
+ /^(?:[^\}]*)/,
3336
+ /^(?:@\{)/,
3337
+ /^(?:["])/,
3338
+ /^(?:["])/,
3339
+ /^(?:[^\"]+)/,
3340
+ /^(?:[^}^"]+)/,
3341
+ /^(?:\})/,
3342
+ /^(?:call[\s]+)/,
3343
+ /^(?:\([\s]*\))/,
3344
+ /^(?:\()/,
3345
+ /^(?:[^(]*)/,
3346
+ /^(?:\))/,
3347
+ /^(?:[^)]*)/,
3348
+ /^(?:[^`"]+)/,
3349
+ /^(?:[`]["])/,
3350
+ /^(?:["][`])/,
3351
+ /^(?:[^"]+)/,
3352
+ /^(?:["])/,
3353
+ /^(?:["])/,
3354
+ /^(?:style\b)/,
3355
+ /^(?:default\b)/,
3356
+ /^(?:linkStyle\b)/,
3357
+ /^(?:interpolate\b)/,
3358
+ /^(?:classDef\b)/,
3359
+ /^(?:class\b)/,
3360
+ /^(?:href[\s])/,
3361
+ /^(?:click[\s]+)/,
3362
+ /^(?:[\s\n])/,
3363
+ /^(?:[^\s\n]*)/,
3364
+ /^(?:flowchart-elk\b)/,
3365
+ /^(?:swimlane-beta\b)/,
3366
+ /^(?:graph\b)/,
3367
+ /^(?:flowchart\b)/,
3368
+ /^(?:subgraph\b)/,
3369
+ /^(?:end\b\s*)/,
3370
+ /^(?:_self\b)/,
3371
+ /^(?:_blank\b)/,
3372
+ /^(?:_parent\b)/,
3373
+ /^(?:_top\b)/,
3374
+ /^(?:(\r?\n)*\s*\n)/,
3375
+ /^(?:\s*LR\b)/,
3376
+ /^(?:\s*RL\b)/,
3377
+ /^(?:\s*TB\b)/,
3378
+ /^(?:\s*BT\b)/,
3379
+ /^(?:\s*TD\b)/,
3380
+ /^(?:\s*BR\b)/,
3381
+ /^(?:\s*<)/,
3382
+ /^(?:\s*>)/,
3383
+ /^(?:\s*\^)/,
3384
+ /^(?:\s*v\b)/,
3385
+ /^(?:.*direction\s+TB[^\n]*)/,
3386
+ /^(?:.*direction\s+BT[^\n]*)/,
3387
+ /^(?:.*direction\s+RL[^\n]*)/,
3388
+ /^(?:.*direction\s+LR[^\n]*)/,
3389
+ /^(?:.*direction\s+TD[^\n]*)/,
3390
+ /^(?:[^\s\"]+@(?=[^\{\"]))/,
3391
+ /^(?:[0-9]+)/,
3392
+ /^(?:#)/,
3393
+ /^(?::::)/,
3394
+ /^(?::)/,
3395
+ /^(?:&)/,
3396
+ /^(?:;)/,
3397
+ /^(?:,)/,
3398
+ /^(?:\*)/,
3399
+ /^(?:\s*[xo<]?--+[-xo>]\s*)/,
3400
+ /^(?:\s*[xo<]?--\s*)/,
3401
+ /^(?:[^-]|-(?!-)+)/,
3402
+ /^(?:\s*[xo<]?==+[=xo>]\s*)/,
3403
+ /^(?:\s*[xo<]?==\s*)/,
3404
+ /^(?:[^=]|=(?!))/,
3405
+ /^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,
3406
+ /^(?:\s*[xo<]?-\.\s*)/,
3407
+ /^(?:[^\.]|\.(?!))/,
3408
+ /^(?:\s*~~[\~]+\s*)/,
3409
+ /^(?:[-/\)][\)])/,
3410
+ /^(?:[^\(\)\[\]\{\}]|!\)+)/,
3411
+ /^(?:\(-)/,
3412
+ /^(?:\]\))/,
3413
+ /^(?:\(\[)/,
3414
+ /^(?:\]\])/,
3415
+ /^(?:\[\[)/,
3416
+ /^(?:\[\|)/,
3417
+ /^(?:>)/,
3418
+ /^(?:\)\])/,
3419
+ /^(?:\[\()/,
3420
+ /^(?:\)\)\))/,
3421
+ /^(?:\(\(\()/,
3422
+ /^(?:[\\(?=\])][\]])/,
3423
+ /^(?:\/(?=\])\])/,
3424
+ /^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,
3425
+ /^(?:\[\/)/,
3426
+ /^(?:\[\\)/,
3427
+ /^(?:<)/,
3428
+ /^(?:>)/,
3429
+ /^(?:\^)/,
3430
+ /^(?:\\\|)/,
3431
+ /^(?:v\b)/,
3432
+ /^(?:\*)/,
3433
+ /^(?:#)/,
3434
+ /^(?:&)/,
3435
+ /^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,
3436
+ /^(?:-)/,
3437
+ /^(?:[\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])/,
3438
+ /^(?:\|)/,
3439
+ /^(?:\|)/,
3440
+ /^(?:\))/,
3441
+ /^(?:\()/,
3442
+ /^(?:\])/,
3443
+ /^(?:\[)/,
3444
+ /^(?:(\}))/,
3445
+ /^(?:\{)/,
3446
+ /^(?:[^\[\]\(\)\{\}\|\"]+)/,
3447
+ /^(?:")/,
3448
+ /^(?:(\r?\n)+)/,
3449
+ /^(?:\s)/,
3450
+ /^(?:$)/
3451
+ ],
3452
+ conditions: {
3453
+ shapeDataEndBracket: {
3454
+ rules: [
3455
+ 21,
3456
+ 24,
3457
+ 79,
3458
+ 82,
3459
+ 84,
3460
+ 86,
3461
+ 90,
3462
+ 92,
3463
+ 96,
3464
+ 97,
3465
+ 110,
3466
+ 112,
3467
+ 114,
3468
+ 116
3469
+ ],
3470
+ inclusive: !1
3471
+ },
3472
+ shapeDataStr: {
3473
+ rules: [
3474
+ 9,
3475
+ 10,
3476
+ 21,
3477
+ 24,
3478
+ 79,
3479
+ 82,
3480
+ 84,
3481
+ 86,
3482
+ 90,
3483
+ 92,
3484
+ 96,
3485
+ 97,
3486
+ 110,
3487
+ 112,
3488
+ 114,
3489
+ 116
3490
+ ],
3491
+ inclusive: !1
3492
+ },
3493
+ shapeData: {
3494
+ rules: [
3495
+ 8,
3496
+ 11,
3497
+ 12,
3498
+ 21,
3499
+ 24,
3500
+ 79,
3501
+ 82,
3502
+ 84,
3503
+ 86,
3504
+ 90,
3505
+ 92,
3506
+ 96,
3507
+ 97,
3508
+ 110,
3509
+ 112,
3510
+ 114,
3511
+ 116
3512
+ ],
3513
+ inclusive: !1
3514
+ },
3515
+ callbackargs: {
3516
+ rules: [
3517
+ 17,
3518
+ 18,
3519
+ 21,
3520
+ 24,
3521
+ 79,
3522
+ 82,
3523
+ 84,
3524
+ 86,
3525
+ 90,
3526
+ 92,
3527
+ 96,
3528
+ 97,
3529
+ 110,
3530
+ 112,
3531
+ 114,
3532
+ 116
3533
+ ],
3534
+ inclusive: !1
3535
+ },
3536
+ callbackname: {
3537
+ rules: [
3538
+ 14,
3539
+ 15,
3540
+ 16,
3541
+ 21,
3542
+ 24,
3543
+ 79,
3544
+ 82,
3545
+ 84,
3546
+ 86,
3547
+ 90,
3548
+ 92,
3549
+ 96,
3550
+ 97,
3551
+ 110,
3552
+ 112,
3553
+ 114,
3554
+ 116
3555
+ ],
3556
+ inclusive: !1
3557
+ },
3558
+ href: {
3559
+ rules: [
3560
+ 21,
3561
+ 24,
3562
+ 79,
3563
+ 82,
3564
+ 84,
3565
+ 86,
3566
+ 90,
3567
+ 92,
3568
+ 96,
3569
+ 97,
3570
+ 110,
3571
+ 112,
3572
+ 114,
3573
+ 116
3574
+ ],
3575
+ inclusive: !1
3576
+ },
3577
+ click: {
3578
+ rules: [
3579
+ 21,
3580
+ 24,
3581
+ 33,
3582
+ 34,
3583
+ 79,
3584
+ 82,
3585
+ 84,
3586
+ 86,
3587
+ 90,
3588
+ 92,
3589
+ 96,
3590
+ 97,
3591
+ 110,
3592
+ 112,
3593
+ 114,
3594
+ 116
3595
+ ],
3596
+ inclusive: !1
3597
+ },
3598
+ dottedEdgeText: {
3599
+ rules: [
3600
+ 21,
3601
+ 24,
3602
+ 76,
3603
+ 78,
3604
+ 79,
3605
+ 82,
3606
+ 84,
3607
+ 86,
3608
+ 90,
3609
+ 92,
3610
+ 96,
3611
+ 97,
3612
+ 110,
3613
+ 112,
3614
+ 114,
3615
+ 116
3616
+ ],
3617
+ inclusive: !1
3618
+ },
3619
+ thickEdgeText: {
3620
+ rules: [
3621
+ 21,
3622
+ 24,
3623
+ 73,
3624
+ 75,
3625
+ 79,
3626
+ 82,
3627
+ 84,
3628
+ 86,
3629
+ 90,
3630
+ 92,
3631
+ 96,
3632
+ 97,
3633
+ 110,
3634
+ 112,
3635
+ 114,
3636
+ 116
3637
+ ],
3638
+ inclusive: !1
3639
+ },
3640
+ edgeText: {
3641
+ rules: [
3642
+ 21,
3643
+ 24,
3644
+ 70,
3645
+ 72,
3646
+ 79,
3647
+ 82,
3648
+ 84,
3649
+ 86,
3650
+ 90,
3651
+ 92,
3652
+ 96,
3653
+ 97,
3654
+ 110,
3655
+ 112,
3656
+ 114,
3657
+ 116
3658
+ ],
3659
+ inclusive: !1
3660
+ },
3661
+ trapText: {
3662
+ rules: [
3663
+ 21,
3664
+ 24,
3665
+ 79,
3666
+ 82,
3667
+ 84,
3668
+ 86,
3669
+ 90,
3670
+ 92,
3671
+ 93,
3672
+ 94,
3673
+ 95,
3674
+ 96,
3675
+ 97,
3676
+ 110,
3677
+ 112,
3678
+ 114,
3679
+ 116
3680
+ ],
3681
+ inclusive: !1
3682
+ },
3683
+ ellipseText: {
3684
+ rules: [
3685
+ 21,
3686
+ 24,
3687
+ 79,
3688
+ 80,
3689
+ 81,
3690
+ 82,
3691
+ 84,
3692
+ 86,
3693
+ 90,
3694
+ 92,
3695
+ 96,
3696
+ 97,
3697
+ 110,
3698
+ 112,
3699
+ 114,
3700
+ 116
3701
+ ],
3702
+ inclusive: !1
3703
+ },
3704
+ text: {
3705
+ rules: [
3706
+ 21,
3707
+ 24,
3708
+ 79,
3709
+ 82,
3710
+ 83,
3711
+ 84,
3712
+ 85,
3713
+ 86,
3714
+ 89,
3715
+ 90,
3716
+ 91,
3717
+ 92,
3718
+ 96,
3719
+ 97,
3720
+ 109,
3721
+ 110,
3722
+ 111,
3723
+ 112,
3724
+ 113,
3725
+ 114,
3726
+ 115,
3727
+ 116,
3728
+ 117
3729
+ ],
3730
+ inclusive: !1
3731
+ },
3732
+ vertex: {
3733
+ rules: [
3734
+ 21,
3735
+ 24,
3736
+ 79,
3737
+ 82,
3738
+ 84,
3739
+ 86,
3740
+ 90,
3741
+ 92,
3742
+ 96,
3743
+ 97,
3744
+ 110,
3745
+ 112,
3746
+ 114,
3747
+ 116
3748
+ ],
3749
+ inclusive: !1
3750
+ },
3751
+ dir: {
3752
+ rules: [
3753
+ 21,
3754
+ 24,
3755
+ 45,
3756
+ 46,
3757
+ 47,
3758
+ 48,
3759
+ 49,
3760
+ 50,
3761
+ 51,
3762
+ 52,
3763
+ 53,
3764
+ 54,
3765
+ 55,
3766
+ 79,
3767
+ 82,
3768
+ 84,
3769
+ 86,
3770
+ 90,
3771
+ 92,
3772
+ 96,
3773
+ 97,
3774
+ 110,
3775
+ 112,
3776
+ 114,
3777
+ 116
3778
+ ],
3779
+ inclusive: !1
3780
+ },
3781
+ acc_descr_multiline: {
3782
+ rules: [
3783
+ 5,
3784
+ 6,
3785
+ 21,
3786
+ 24,
3787
+ 79,
3788
+ 82,
3789
+ 84,
3790
+ 86,
3791
+ 90,
3792
+ 92,
3793
+ 96,
3794
+ 97,
3795
+ 110,
3796
+ 112,
3797
+ 114,
3798
+ 116
3799
+ ],
3800
+ inclusive: !1
3801
+ },
3802
+ acc_descr: {
3803
+ rules: [
3804
+ 3,
3805
+ 21,
3806
+ 24,
3807
+ 79,
3808
+ 82,
3809
+ 84,
3810
+ 86,
3811
+ 90,
3812
+ 92,
3813
+ 96,
3814
+ 97,
3815
+ 110,
3816
+ 112,
3817
+ 114,
3818
+ 116
3819
+ ],
3820
+ inclusive: !1
3821
+ },
3822
+ acc_title: {
3823
+ rules: [
3824
+ 1,
3825
+ 21,
3826
+ 24,
3827
+ 79,
3828
+ 82,
3829
+ 84,
3830
+ 86,
3831
+ 90,
3832
+ 92,
3833
+ 96,
3834
+ 97,
3835
+ 110,
3836
+ 112,
3837
+ 114,
3838
+ 116
3839
+ ],
3840
+ inclusive: !1
3841
+ },
3842
+ md_string: {
3843
+ rules: [
3844
+ 19,
3845
+ 20,
3846
+ 21,
3847
+ 24,
3848
+ 79,
3849
+ 82,
3850
+ 84,
3851
+ 86,
3852
+ 90,
3853
+ 92,
3854
+ 96,
3855
+ 97,
3856
+ 110,
3857
+ 112,
3858
+ 114,
3859
+ 116
3860
+ ],
3861
+ inclusive: !1
3862
+ },
3863
+ string: {
3864
+ rules: [
3865
+ 21,
3866
+ 22,
3867
+ 23,
3868
+ 24,
3869
+ 79,
3870
+ 82,
3871
+ 84,
3872
+ 86,
3873
+ 90,
3874
+ 92,
3875
+ 96,
3876
+ 97,
3877
+ 110,
3878
+ 112,
3879
+ 114,
3880
+ 116
3881
+ ],
3882
+ inclusive: !1
3883
+ },
3884
+ INITIAL: {
3885
+ rules: [
3886
+ 0,
3887
+ 2,
3888
+ 4,
3889
+ 7,
3890
+ 13,
3891
+ 21,
3892
+ 24,
3893
+ 25,
3894
+ 26,
3895
+ 27,
3896
+ 28,
3897
+ 29,
3898
+ 30,
3899
+ 31,
3900
+ 32,
3901
+ 35,
3902
+ 36,
3903
+ 37,
3904
+ 38,
3905
+ 39,
3906
+ 40,
3907
+ 41,
3908
+ 42,
3909
+ 43,
3910
+ 44,
3911
+ 56,
3912
+ 57,
3913
+ 58,
3914
+ 59,
3915
+ 60,
3916
+ 61,
3917
+ 62,
3918
+ 63,
3919
+ 64,
3920
+ 65,
3921
+ 66,
3922
+ 67,
3923
+ 68,
3924
+ 69,
3925
+ 70,
3926
+ 71,
3927
+ 73,
3928
+ 74,
3929
+ 76,
3930
+ 77,
3931
+ 79,
3932
+ 82,
3933
+ 84,
3934
+ 86,
3935
+ 87,
3936
+ 88,
3937
+ 90,
3938
+ 92,
3939
+ 96,
3940
+ 97,
3941
+ 98,
3942
+ 99,
3943
+ 100,
3944
+ 101,
3945
+ 102,
3946
+ 103,
3947
+ 104,
3948
+ 105,
3949
+ 106,
3950
+ 107,
3951
+ 108,
3952
+ 110,
3953
+ 112,
3954
+ 114,
3955
+ 116,
3956
+ 118,
3957
+ 119,
3958
+ 120,
3959
+ 121
3960
+ ],
3961
+ inclusive: !0
3962
+ }
3963
+ }
3964
+ };
3965
+ })();
3966
+ function it() {
3967
+ this.yy = {};
3968
+ }
3969
+ return e(it, "Parser"), it.prototype = rt, rt.Parser = it, new it();
3970
+ })();
3971
+ O.parser = O;
3972
+ var ie = O, ae = Object.assign({}, ie);
3973
+ ae.parse = (e) => {
3974
+ let t = e.replace(/}\s*\n/g, "}\n");
3975
+ return ie.parse(t);
3976
+ };
3977
+ var oe = ae, k = /* @__PURE__ */ e((e, t) => {
3978
+ let n = te, r = n(e, "r"), i = n(e, "g"), a = n(e, "b");
3979
+ return u(r, i, a, t);
3980
+ }, "fade"), A = /* @__PURE__ */ e((e) => `.label {
3981
+ font-family: ${e.fontFamily};
3982
+ color: ${e.nodeTextColor || e.textColor};
3983
+ }
3984
+ .cluster-label text {
3985
+ fill: ${e.titleColor};
3986
+ }
3987
+ .cluster-label span {
3988
+ color: ${e.titleColor};
3989
+ }
3990
+ .cluster-label span p {
3991
+ background-color: transparent;
3992
+ }
3993
+
3994
+ .label text,span {
3995
+ fill: ${e.nodeTextColor || e.textColor};
3996
+ color: ${e.nodeTextColor || e.textColor};
3997
+ }
3998
+
3999
+ .node rect,
4000
+ .node circle,
4001
+ .node ellipse,
4002
+ .node polygon,
4003
+ .node path {
4004
+ fill: ${e.mainBkg};
4005
+ stroke: ${e.nodeBorder};
4006
+ stroke-width: ${e.strokeWidth ?? 1}px;
4007
+ }
4008
+ .rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label {
4009
+ text-anchor: middle;
4010
+ }
4011
+
4012
+ .node .katex path {
4013
+ fill: #000;
4014
+ stroke: #000;
4015
+ stroke-width: 1px;
4016
+ }
4017
+
4018
+ .rough-node .label,.node .label, .image-shape .label, .icon-shape .label {
4019
+ text-align: center;
4020
+ }
4021
+ .node.clickable {
4022
+ cursor: pointer;
4023
+ }
4024
+
4025
+
4026
+ .root .anchor path {
4027
+ fill: ${e.lineColor} !important;
4028
+ stroke-width: 0;
4029
+ stroke: ${e.lineColor};
4030
+ }
4031
+
4032
+ .arrowheadPath {
4033
+ fill: ${e.arrowheadColor};
4034
+ }
4035
+
4036
+ .edgePath .path {
4037
+ stroke: ${e.lineColor};
4038
+ stroke-width: ${e.strokeWidth ?? 2}px;
4039
+ }
4040
+
4041
+ .flowchart-link {
4042
+ stroke: ${e.lineColor};
4043
+ fill: none;
4044
+ }
4045
+
4046
+ .edgeLabel {
4047
+ background-color: ${e.edgeLabelBackground};
4048
+ p {
4049
+ background-color: ${e.edgeLabelBackground};
4050
+ }
4051
+ rect {
4052
+ opacity: 0.5;
4053
+ background-color: ${e.edgeLabelBackground};
4054
+ fill: ${e.edgeLabelBackground};
4055
+ }
4056
+ text-align: center;
4057
+ }
4058
+
4059
+ /* For html labels only */
4060
+ .labelBkg {
4061
+ background-color: ${k(e.edgeLabelBackground, .5)};
4062
+ // background-color:
4063
+ }
4064
+
4065
+ .cluster rect {
4066
+ fill: ${e.clusterBkg};
4067
+ stroke: ${e.clusterBorder};
4068
+ stroke-width: 1px;
4069
+ }
4070
+
4071
+ .cluster text {
4072
+ fill: ${e.titleColor};
4073
+ }
4074
+
4075
+ .cluster span {
4076
+ color: ${e.titleColor};
4077
+ }
4078
+ /* .cluster div {
4079
+ color: ${e.titleColor};
4080
+ } */
4081
+
4082
+ div.mermaidTooltip {
4083
+ position: absolute;
4084
+ text-align: center;
4085
+ max-width: 200px;
4086
+ padding: 2px;
4087
+ font-family: ${e.fontFamily};
4088
+ font-size: 12px;
4089
+ background: ${e.tertiaryColor};
4090
+ border: 1px solid ${e.border2};
4091
+ border-radius: 2px;
4092
+ pointer-events: none;
4093
+ z-index: 100;
4094
+ }
4095
+
4096
+ .flowchartTitleText {
4097
+ text-anchor: middle;
4098
+ font-size: 18px;
4099
+ fill: ${e.textColor};
4100
+ }
4101
+
4102
+ rect.text {
4103
+ fill: none;
4104
+ stroke-width: 0;
4105
+ }
4106
+
4107
+ .icon-shape, .image-shape {
4108
+ background-color: ${e.edgeLabelBackground};
4109
+ p {
4110
+ background-color: ${e.edgeLabelBackground};
4111
+ padding: 2px;
4112
+ }
4113
+ .label rect {
4114
+ opacity: 0.5;
4115
+ background-color: ${e.edgeLabelBackground};
4116
+ fill: ${e.edgeLabelBackground};
4117
+ }
4118
+ text-align: center;
4119
+ }
4120
+ ${ne()}
4121
+ `, "getStyles"), j = /* @__PURE__ */ e(({ defaultLayout: t, styles: n = A } = {}) => ({
4122
+ parser: oe,
4123
+ get db() {
4124
+ return new E();
4125
+ },
4126
+ renderer: D,
4127
+ styles: n,
4128
+ init: /* @__PURE__ */ e((e) => {
4129
+ e.flowchart ||= {};
4130
+ let n = d().layout ?? t ?? e.layout;
4131
+ n && i({ layout: n }), e.flowchart.arrowMarkerAbsolute = e.arrowMarkerAbsolute, i({ flowchart: { arrowMarkerAbsolute: e.arrowMarkerAbsolute } });
4132
+ }, "init")
4133
+ }), "createFlowDiagram"), M = j();
4134
+ //#endregion
4135
+ export { M as n, A as r, j as t };