@belonguniverseai/react-sdk 0.6.2 → 0.6.4

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 (81) hide show
  1. package/dist/api/agent-grants.d.ts +23 -8
  2. package/dist/api/client.d.ts +53 -4
  3. package/dist/api/queries.d.ts +2 -0
  4. package/dist/app/call-summary.d.ts +30 -0
  5. package/dist/component/abnfDiagram-N423BO3Z-DR3fMT7g.js +90 -0
  6. package/dist/component/arc-DJkYOSuJ.js +86 -0
  7. package/dist/component/{architectureDiagram-3BPJPVTR-DYcaPx2M.js → architectureDiagram-T3A2C74G-BIp4IBPk.js} +1872 -1785
  8. package/dist/component/{blockDiagram-GPEHLZMM-BdjruLO5.js → blockDiagram-VBNYF7ZC-BqryGqC6.js} +895 -894
  9. package/dist/component/{c4Diagram-AAUBKEIU-Bd2ebSgB.js → c4Diagram-5PPSVZJV-GktlF-Di.js} +3 -3
  10. package/dist/component/{channel-CYFijF_t.js → channel-3CusDaXb.js} +2 -2
  11. package/dist/component/{chunk-ND2GUHAM-OX1-DIU1.js → chunk-2GRJ4B5K-DMTs6j_c.js} +5 -5
  12. package/dist/component/{chunk-QZHKN3VN-DLQ8oUCc.js → chunk-2Q5K7J3B-CIU34hPH.js} +2 -2
  13. package/dist/component/{chunk-AQP2D5EJ-D4G4syYu.js → chunk-5RXB4S5H-Ds3vF1Mv.js} +399 -378
  14. package/dist/component/{chunk-FMBD7UC4-CbRxWx_A.js → chunk-5VM5RSS4-DGxDkIm6.js} +2 -2
  15. package/dist/component/chunk-6Q2QTUOP-BI8oZt98.js +673 -0
  16. package/dist/component/{chunk-727SXJPM-A5r5oL1_.js → chunk-GF5L2VYU-D-36xUd5.js} +244 -239
  17. package/dist/component/{chunk-4BX2VUAB-DVpS0I_p.js → chunk-JWPE2WC7-8N_wQ762.js} +2 -2
  18. package/dist/component/{chunk-2J33WTMH-B06Y_xVy.js → chunk-KBJHAD2P-ChxxpkWc.js} +2 -2
  19. package/dist/component/chunk-RYQCIY6F-CSY-95OP.js +316 -0
  20. package/dist/component/{chunk-55IACEB6-DmZctFkK.js → chunk-XXDRQBXY-BQd9yyE1.js} +2 -2
  21. package/dist/component/{classDiagram-4FO5ZUOK-4S9mdFC1.js → classDiagram-JCYQIIEL-BOq63iUL.js} +3 -3
  22. package/dist/component/{classDiagram-v2-Q7XG4LA2-4S9mdFC1.js → classDiagram-v2-OCEON4UE-BOq63iUL.js} +3 -3
  23. package/dist/component/{cose-bilkent-S5V4N54A-BIrVaakt.js → cose-bilkent-JH36ORCC-B9x8cp5w.js} +2 -2
  24. package/dist/component/{wardley-L42UT6IY-HA1eSIS_.js → cynefin-VYW2F7L2-DAyxamLw.js} +9199 -7918
  25. package/dist/component/cynefinDiagram-MW4NZA55-OF6l99SS.js +302 -0
  26. package/dist/component/dagre-VZM6K2ZE-CELO1hFb.js +343 -0
  27. package/dist/component/diagram-7IWD3JNH-COzvm6E2.js +353 -0
  28. package/dist/component/{diagram-KO2AKTUF-Da1E68Eo.js → diagram-B4RE2ZJO-DR9KMRGw.js} +24 -24
  29. package/dist/component/{diagram-LMA3HP47-dRbk5sBa.js → diagram-LBJQPF4R-D47Zqm-k.js} +23 -23
  30. package/dist/component/{diagram-OG6HWLK6-CcKT8mhn.js → diagram-Q27KOJAE-Key1bw_Y.js} +197 -197
  31. package/dist/component/diagram-UB23O5K3-Cxf-sZnK.js +222 -0
  32. package/dist/component/ebnfDiagram-BXEA7PRR-C8uURt_x.js +112 -0
  33. package/dist/component/{erDiagram-TEJ5UH35-3ATYT9J-.js → erDiagram-JOGREHBK-CpCxe8Ib.js} +142 -131
  34. package/dist/component/{flowDiagram-I6XJVG4X-D9PLm9Od.js → flowDiagram-UKHOOZJN-urFG2I71.js} +268 -258
  35. package/dist/component/ganttDiagram-PKOTCBZU-8nA9faYf.js +2714 -0
  36. package/dist/component/{gitGraphDiagram-PVQCEYII-13gVhAGc.js → gitGraphDiagram-DS77QQ5N-u4cbNW8o.js} +33 -33
  37. package/dist/component/{graph-BZLHvygk.js → graph-CWpEkm4G.js} +35 -35
  38. package/dist/component/{highlighted-body-OFNGDK62-DCxRI4UV.js → highlighted-body-OFNGDK62-Bo-15uvJ.js} +2 -2
  39. package/dist/component/index.js +2 -2
  40. package/dist/component/{infoDiagram-5YYISTIA-DymxA7AN.js → infoDiagram-6WML65LV-ZAv4gZpA.js} +4 -4
  41. package/dist/component/{ishikawaDiagram-YF4QCWOH-C3sTn76C.js → ishikawaDiagram-WSZJBQD7-CvB6evSz.js} +27 -27
  42. package/dist/component/{journeyDiagram-JHISSGLW-Cq0hOAfJ.js → journeyDiagram-NVQOT4AX-M5BRYuPr.js} +5 -5
  43. package/dist/component/{kanban-definition-UN3LZRKU-5tBWjkp7.js → kanban-definition-27J2QSJJ-LL6GkmVe.js} +35 -35
  44. package/dist/component/layout-Br2UjHRU.js +1522 -0
  45. package/dist/component/{linear-BT4blD8s.js → linear-DVg61V66.js} +13 -13
  46. package/dist/component/map-CdwokNh2.js +227 -0
  47. package/dist/component/{mermaid-GHXKKRXX-DXPXjnb7.js → mermaid-GHXKKRXX-C2L7fCIM.js} +29577 -29128
  48. package/dist/component/{mindmap-definition-RKZ34NQL-DO-OuAQQ.js → mindmap-definition-FAOFIHXS-BBZzsLh7.js} +26 -26
  49. package/dist/component/pegDiagram-VL7TDLO6-BEG86cY8.js +98 -0
  50. package/dist/component/pieDiagram-7S7Q4E2Y-BTkrNjAi.js +210 -0
  51. package/dist/component/{quadrantDiagram-W4KKPZXB-CaJWg9ep.js → quadrantDiagram-CIZ2JOQS-BsjBAd4w.js} +14 -15
  52. package/dist/component/railroadDiagram-AXF67PYL-DuE0ZFxj.js +80 -0
  53. package/dist/component/{requirementDiagram-4Y6WPE33-CmZrtZqe.js → requirementDiagram-LRYGKXZP-CcshEEMy.js} +15 -15
  54. package/dist/component/{sankeyDiagram-5OEKKPKP-Cp95M1aj.js → sankeyDiagram-W5VNT64P-CFn011ig.js} +2 -2
  55. package/dist/component/{sequenceDiagram-3UESZ5HK-C0x0WvhR.js → sequenceDiagram-SI44F4Z6-DmMZNJDw.js} +960 -963
  56. package/dist/component/sizeCapture-X5ZJPWSS-Ce4PhIAO.js +49 -0
  57. package/dist/component/{stateDiagram-AJRCARHV-H10vaGL3.js → stateDiagram-OKZ733FA-DDVzQKaO.js} +5 -5
  58. package/dist/component/{stateDiagram-v2-BHNVJYJU-rj7ljkc-.js → stateDiagram-v2-UEYNNEHI-DeeW8PDA.js} +3 -3
  59. package/dist/component/swimlanes-SLNWSIFB-CZh2_vzg.js +5335 -0
  60. package/dist/component/swimlanesDiagram-ULZ7WXOC-Wb0Ri7qR.js +16 -0
  61. package/dist/component/{timeline-definition-PNZ67QCA-Cil1QaqZ.js → timeline-definition-Z64GVDOM-rfiLwdTR.js} +15 -15
  62. package/dist/component/vennDiagram-T6HMQDX7-D8l7hqNb.js +1581 -0
  63. package/dist/component/{wardleyDiagram-YWT4CUSO-Xq5Hnmio.js → wardleyDiagram-T6FBY63Y-7YqmpmtC.js} +15 -15
  64. package/dist/component/{xychartDiagram-2RQKCTM6-dinwR4Zm.js → xychartDiagram-ELKLHX3M-Dx2ECqt8.js} +464 -418
  65. package/dist/embed/voice/line-slots.d.ts +37 -2
  66. package/dist/embed/voice-call.d.ts +12 -0
  67. package/dist/i18n/messages/en.d.ts +1 -2
  68. package/dist/lib/web-storage.d.ts +8 -0
  69. package/dist/stream/belong-chat-transport.d.ts +1 -0
  70. package/dist/stream/belong-data-parts.d.ts +2 -0
  71. package/dist/stream/stream-state-store.d.ts +13 -0
  72. package/dist/types/public.d.ts +3 -0
  73. package/package.json +1 -1
  74. package/dist/component/arc-TLcl3N8_.js +0 -86
  75. package/dist/component/dagre-BM42HDAG-BoPUzTvD.js +0 -448
  76. package/dist/component/diagram-2AECGRRQ-PIXCGxIt.js +0 -220
  77. package/dist/component/diagram-5GNKFQAL-CbJxbGBh.js +0 -126
  78. package/dist/component/ganttDiagram-6RSMTGT7-F_XUzD1p.js +0 -2709
  79. package/dist/component/layout-Bu6nRdWm.js +0 -1731
  80. package/dist/component/pieDiagram-4H26LBE5-BkEktPwZ.js +0 -166
  81. package/dist/component/vennDiagram-CIIHVFJN-Dk8PKmfb.js +0 -1560
@@ -1,15 +1,15 @@
1
- import { g as qe } from "./chunk-FMBD7UC4-CbRxWx_A.js";
2
- import { _ as b, o as Oe, l as Q, c as g1, p as He, r as Xe, u as ie, b as Qe, s as Je, q as Ze, a as $e, g as et, t as tt, k as st, v as it, J as rt, x as at, y as te, d as se, z as nt, B as ut, C as ot, D as lt } from "./mermaid-GHXKKRXX-DXPXjnb7.js";
3
- import { c as ct } from "./chunk-ND2GUHAM-OX1-DIU1.js";
4
- import { g as ht } from "./chunk-55IACEB6-DmZctFkK.js";
5
- import { s as dt } from "./chunk-2J33WTMH-B06Y_xVy.js";
6
- import { c as pt } from "./channel-CYFijF_t.js";
1
+ import { g as qe } from "./chunk-5VM5RSS4-DGxDkIm6.js";
2
+ import { g as Xe } from "./chunk-XXDRQBXY-BQd9yyE1.js";
3
+ import { s as Qe } from "./chunk-KBJHAD2P-ChxxpkWc.js";
4
+ import { _ as b, b9 as Je, $ as Oe, l as J, c as g1, v as Ze, x as $e, y as ie, b as et, s as tt, o as st, a as it, g as rt, p as at, k as nt, a0 as ut, a1 as ot, bs as lt, r as te, d as se, a8 as ct, q as ht, bc as dt, t as pt } from "./mermaid-GHXKKRXX-C2L7fCIM.js";
5
+ import { f as ft } from "./chunk-2GRJ4B5K-DMTs6j_c.js";
6
+ import { c as gt } from "./channel-3CusDaXb.js";
7
7
  globalThis.process = globalThis.process || { env: {} };
8
8
  globalThis.global = globalThis.global || globalThis;
9
- var ft = "flowchart-", gt = class {
9
+ var bt = "flowchart-", At = class {
10
10
  // cspell:ignore funs
11
11
  constructor() {
12
- this.vertexCounter = 0, this.config = g1(), 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 = Qe, this.setAccDescription = Je, this.setDiagramTitle = Ze, this.getAccTitle = $e, this.getAccDescription = et, this.getDiagramTitle = tt, 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 = {
12
+ this.vertexCounter = 0, this.config = g1(), 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 = et, this.setAccDescription = tt, this.setDiagramTitle = st, this.getAccTitle = it, this.getAccDescription = rt, this.getDiagramTitle = at, 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 = {
13
13
  firstGraph: this.firstGraph.bind(this)
14
14
  }, this.clear(), this.setGen("gen-2");
15
15
  }
@@ -17,7 +17,7 @@ var ft = "flowchart-", gt = class {
17
17
  b(this, "FlowDB");
18
18
  }
19
19
  sanitizeText(e) {
20
- return st.sanitizeText(e, this.config);
20
+ return nt.sanitizeText(e, this.config);
21
21
  }
22
22
  sanitizeNodeLabelType(e) {
23
23
  switch (e) {
@@ -51,46 +51,46 @@ var ft = "flowchart-", gt = class {
51
51
  /**
52
52
  * Function called by parser when a node definition has been found
53
53
  */
54
- addVertex(e, i, r, a, o, d, l = {}, f) {
54
+ addVertex(e, i, r, a, o, d, l = {}, A) {
55
55
  if (!e || e.trim().length === 0)
56
56
  return;
57
57
  let n;
58
- if (f !== void 0) {
59
- let D;
60
- f.includes(`
61
- `) ? D = f + `
62
- ` : D = `{
63
- ` + f + `
64
- }`, n = it(D, { schema: rt });
58
+ if (A !== void 0) {
59
+ let k;
60
+ A.includes(`
61
+ `) ? k = A + `
62
+ ` : k = `{
63
+ ` + A + `
64
+ }`, n = ut(k, { schema: ot });
65
65
  }
66
- const A = this.edges.find((D) => D.id === e);
67
- if (A) {
68
- const D = n;
69
- D?.animate !== void 0 && (A.animate = D.animate), D?.animation !== void 0 && (A.animation = D.animation), D?.curve !== void 0 && (A.interpolate = D.curve);
66
+ const g = this.edges.find((k) => k.id === e);
67
+ if (g) {
68
+ const k = n;
69
+ k?.animate !== void 0 && (g.animate = k.animate), k?.animation !== void 0 && (g.animation = k.animation), k?.curve !== void 0 && (g.interpolate = k.curve);
70
70
  return;
71
71
  }
72
- let S, g = this.vertices.get(e);
73
- if (g === void 0 && (i === void 0 && r === void 0 && a !== void 0 && a !== null && Q.warn(
72
+ let B, f = this.vertices.get(e);
73
+ if (f === void 0 && (i === void 0 && r === void 0 && a !== void 0 && a !== null && J.warn(
74
74
  `Style applied to unknown node "${e}". This may indicate a typo. The node will be created automatically.`
75
- ), g = {
75
+ ), f = {
76
76
  id: e,
77
77
  labelType: "text",
78
- domId: ft + e + "-" + this.vertexCounter,
78
+ domId: bt + e + "-" + this.vertexCounter,
79
79
  styles: [],
80
80
  classes: []
81
- }, this.vertices.set(e, g)), this.vertexCounter++, i !== void 0 ? (this.config = g1(), S = this.sanitizeText(i.text.trim()), g.labelType = i.type, S.startsWith('"') && S.endsWith('"') && (S = S.substring(1, S.length - 1)), g.text = S) : g.text === void 0 && (g.text = e), r !== void 0 && (g.type = r), a?.forEach((D) => {
82
- g.styles.push(D);
83
- }), o?.forEach((D) => {
84
- g.classes.push(D);
85
- }), d !== void 0 && (g.dir = d), g.props === void 0 ? g.props = l : l !== void 0 && Object.assign(g.props, l), n !== void 0) {
81
+ }, this.vertices.set(e, f)), this.vertexCounter++, i !== void 0 ? (this.config = g1(), B = this.sanitizeText(i.text.trim()), f.labelType = i.type, B.startsWith('"') && B.endsWith('"') && (B = B.substring(1, B.length - 1)), f.text = B) : f.text === void 0 && (f.text = e), r !== void 0 && (f.type = r), a?.forEach((k) => {
82
+ f.styles.push(k);
83
+ }), o?.forEach((k) => {
84
+ f.classes.push(k);
85
+ }), d !== void 0 && (f.dir = d), f.props === void 0 ? f.props = l : l !== void 0 && Object.assign(f.props, l), n !== void 0) {
86
86
  if (n.shape) {
87
87
  if (n.shape !== n.shape.toLowerCase() || n.shape.includes("_"))
88
88
  throw new Error(`No such shape: ${n.shape}. Shape names should be lowercase.`);
89
- if (!at(n.shape))
89
+ if (!lt(n.shape))
90
90
  throw new Error(`No such shape: ${n.shape}.`);
91
- g.type = n?.shape;
91
+ f.type = n?.shape;
92
92
  }
93
- n?.label && (g.text = n?.label, g.labelType = this.sanitizeNodeLabelType(n?.labelType)), n?.icon && (g.icon = n?.icon, !n.label?.trim() && g.text === e && (g.text = "")), n?.form && (g.form = n?.form), n?.pos && (g.pos = n?.pos), n?.img && (g.img = n?.img, !n.label?.trim() && g.text === e && (g.text = "")), n?.constraint && (g.constraint = n.constraint), n.w && (g.assetWidth = Number(n.w)), n.h && (g.assetHeight = Number(n.h));
93
+ n?.label && (f.text = n?.label, f.labelType = this.sanitizeNodeLabelType(n?.labelType)), n?.icon && (f.icon = n?.icon, !n.label?.trim() && f.text === e && (f.text = "")), n?.form && (f.form = n?.form), n?.pos && (f.pos = n?.pos), n?.img && (f.img = n?.img, !n.label?.trim() && f.text === e && (f.text = "")), n?.constraint && (f.constraint = n.constraint), n.w && (f.assetWidth = Number(n.w)), n.h && (f.assetHeight = Number(n.h));
94
94
  }
95
95
  }
96
96
  /**
@@ -108,19 +108,19 @@ var ft = "flowchart-", gt = class {
108
108
  isUserDefinedId: !1,
109
109
  interpolate: this.edges.defaultInterpolate
110
110
  };
111
- Q.info("abc78 Got edge...", l);
112
- const f = r.text;
113
- if (f !== void 0 && (l.text = this.sanitizeText(f.text.trim()), l.text.startsWith('"') && l.text.endsWith('"') && (l.text = l.text.substring(1, l.text.length - 1)), l.labelType = this.sanitizeNodeLabelType(f.type)), r !== void 0 && (l.type = r.type, l.stroke = r.stroke, l.length = r.length > 10 ? 10 : r.length), a && !this.edges.some((n) => n.id === a))
111
+ J.info("abc78 Got edge...", l);
112
+ const A = r.text;
113
+ if (A !== void 0 && (l.text = this.sanitizeText(A.text.trim()), l.text.startsWith('"') && l.text.endsWith('"') && (l.text = l.text.substring(1, l.text.length - 1)), l.labelType = this.sanitizeNodeLabelType(A.type)), r !== void 0 && (l.type = r.type, l.stroke = r.stroke, l.length = r.length > 10 ? 10 : r.length), a && !this.edges.some((n) => n.id === a))
114
114
  l.id = a, l.isUserDefinedId = !0;
115
115
  else {
116
- const n = this.edges.filter((A) => A.start === l.start && A.end === l.end);
116
+ const n = this.edges.filter((g) => g.start === l.start && g.end === l.end);
117
117
  n.length === 0 ? l.id = te(l.start, l.end, { counter: 0, prefix: "L" }) : l.id = te(l.start, l.end, {
118
118
  counter: n.length + 1,
119
119
  prefix: "L"
120
120
  });
121
121
  }
122
122
  if (this.edges.length < (this.config.maxEdges ?? 500))
123
- Q.info("Pushing edge..."), this.edges.push(l);
123
+ J.info("Pushing edge..."), this.edges.push(l);
124
124
  else
125
125
  throw new Error(
126
126
  `Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
@@ -135,11 +135,11 @@ You have to call mermaid.initialize.`
135
135
  }
136
136
  addLink(e, i, r) {
137
137
  const a = this.isLinkData(r) ? r.id.replace("@", "") : void 0;
138
- Q.info("addLink", e, i, a);
138
+ J.info("addLink", e, i, a);
139
139
  for (const o of e)
140
140
  for (const d of i) {
141
- const l = o === e[e.length - 1], f = d === i[0];
142
- l && f ? this.addSingleLink(o, d, r, a) : this.addSingleLink(o, d, r, void 0);
141
+ const l = o === e[e.length - 1], A = d === i[0];
142
+ l && A ? this.addSingleLink(o, d, r, a) : this.addSingleLink(o, d, r, void 0);
143
143
  }
144
144
  }
145
145
  /**
@@ -288,13 +288,13 @@ You have to call mermaid.initialize.`
288
288
  return this.classes;
289
289
  }
290
290
  setupToolTips(e) {
291
- const i = ct();
291
+ const i = ft();
292
292
  se(e).select("svg").selectAll("g.node").on("mouseover", (o) => {
293
293
  const d = se(o.currentTarget), l = d.attr("title");
294
294
  if (l === null)
295
295
  return;
296
- const f = o.currentTarget?.getBoundingClientRect();
297
- i.transition().duration(200).style("opacity", ".9"), i.text(d.attr("title")).style("left", window.scrollX + f.left + (f.right - f.left) / 2 + "px").style("top", window.scrollY + f.bottom + "px"), i.html(nt.sanitize(l)), d.classed("hover", !0);
296
+ const A = o.currentTarget?.getBoundingClientRect();
297
+ i.transition().duration(200).style("opacity", ".9"), i.text(d.attr("title")).style("left", window.scrollX + A.left + (A.right - A.left) / 2 + "px").style("top", window.scrollY + A.bottom + "px"), i.html(ct.sanitize(l)), d.classed("hover", !0);
298
298
  }).on("mouseout", (o) => {
299
299
  i.transition().duration(500).style("opacity", 0), se(o.currentTarget).classed("hover", !1);
300
300
  });
@@ -304,7 +304,7 @@ You have to call mermaid.initialize.`
304
304
  *
305
305
  */
306
306
  clear(e = "gen-2") {
307
- 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 = g1(), ut();
307
+ 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 = g1(), ht();
308
308
  }
309
309
  setGen(e) {
310
310
  this.version = e || "gen-2";
@@ -315,29 +315,28 @@ You have to call mermaid.initialize.`
315
315
  addSubGraph(e, i, r) {
316
316
  let a = e.text.trim(), o = r.text;
317
317
  e === r && /\s/.exec(r.text) && (a = void 0);
318
- const l = (/* @__PURE__ */ b((g) => {
319
- const D = { boolean: {}, number: {}, string: {} }, Z = [];
320
- let _;
321
- return { nodeList: g.filter(function(K) {
322
- const h1 = typeof K;
323
- return K.stmt && K.stmt === "dir" ? (_ = K.value, !1) : K.trim() === "" ? !1 : h1 in D ? D[h1].hasOwnProperty(K) ? !1 : D[h1][K] = !0 : Z.includes(K) ? !1 : Z.push(K);
324
- }), dir: _ };
325
- }, "uniq"))(i.flat()), f = l.nodeList;
326
- let n = l.dir;
327
- const A = g1().flowchart ?? {};
328
- if (n = n ?? (A.inheritDir ? this.getDirection() ?? g1().direction ?? void 0 : void 0), this.version === "gen-1")
329
- for (let g = 0; g < f.length; g++)
330
- f[g] = this.lookUpDomId(f[g]);
318
+ const l = (/* @__PURE__ */ b((Y) => {
319
+ const F = { boolean: {}, number: {}, string: {} }, _ = [];
320
+ let b1;
321
+ return { nodeList: Y.filter(function(j) {
322
+ const h1 = typeof j;
323
+ return j.stmt && j.stmt === "dir" ? (b1 = j.value, !1) : j.trim() === "" ? !1 : h1 in F ? F[h1].hasOwnProperty(j) ? !1 : F[h1][j] = !0 : _.includes(j) ? !1 : _.push(j);
324
+ }), dir: b1 };
325
+ }, "uniq"))(i.flat()), A = l.nodeList, n = l.dir, g = n !== void 0, B = g1().flowchart ?? {}, f = n ?? (B.inheritDir ? this.getDirection() ?? g1().direction ?? void 0 : void 0);
326
+ if (this.version === "gen-1")
327
+ for (let Y = 0; Y < A.length; Y++)
328
+ A[Y] = this.lookUpDomId(A[Y]);
331
329
  a = a ?? "subGraph" + this.subCount, o = o || "", o = this.sanitizeText(o), this.subCount = this.subCount + 1;
332
- const S = {
330
+ const k = {
333
331
  id: a,
334
- nodes: f,
332
+ nodes: A,
335
333
  title: o.trim(),
336
334
  classes: [],
337
- dir: n,
335
+ dir: f,
336
+ hasExplicitDir: g,
338
337
  labelType: this.sanitizeNodeLabelType(r?.type)
339
338
  };
340
- return Q.info("Adding", S.id, S.nodes, S.dir), S.nodes = this.makeUniq(S, this.subGraphs).nodes, this.subGraphs.push(S), this.subGraphLookup.set(a, S), a;
339
+ return J.info("Adding", k.id, k.nodes, k.dir), k.nodes = this.makeUniq(k, this.subGraphs).nodes, this.subGraphs.push(k), this.subGraphLookup.set(a, k), a;
341
340
  }
342
341
  getPosForId(e) {
343
342
  for (const [i, r] of this.subGraphs.entries())
@@ -501,11 +500,11 @@ You have to call mermaid.initialize.`
501
500
  return { arrowTypeStart: i, arrowTypeEnd: r };
502
501
  }
503
502
  addNodeFromVertex(e, i, r, a, o, d) {
504
- const l = r.get(e.id), f = a.get(e.id) ?? !1, n = this.findNode(i, e.id);
503
+ const l = r.get(e.id), A = a.get(e.id) ?? !1, n = this.findNode(i, e.id);
505
504
  if (n)
506
505
  n.cssStyles = e.styles, n.cssCompiledStyles = this.getCompiledStyles(e.classes), n.cssClasses = e.classes.join(" ");
507
506
  else {
508
- const A = {
507
+ const g = {
509
508
  id: e.id,
510
509
  label: e.text,
511
510
  labelType: e.labelType,
@@ -528,12 +527,12 @@ You have to call mermaid.initialize.`
528
527
  assetHeight: e.assetHeight,
529
528
  constraint: e.constraint
530
529
  };
531
- f ? i.push({
532
- ...A,
530
+ A ? i.push({
531
+ ...g,
533
532
  isGroup: !0,
534
533
  shape: "rect"
535
534
  }) : i.push({
536
- ...A,
535
+ ...g,
537
536
  isGroup: !1,
538
537
  shape: this.getTypeFromVertex(e)
539
538
  });
@@ -550,24 +549,27 @@ You have to call mermaid.initialize.`
550
549
  getData() {
551
550
  const e = g1(), i = [], r = [], a = this.getSubGraphs(), o = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ new Map();
552
551
  for (let n = a.length - 1; n >= 0; n--) {
553
- const A = a[n];
554
- A.nodes.length > 0 && d.set(A.id, !0);
555
- for (const S of A.nodes)
556
- o.set(S, A.id);
552
+ const g = a[n];
553
+ g.nodes.length > 0 && d.set(g.id, !0);
554
+ for (const B of g.nodes)
555
+ o.set(B, g.id);
557
556
  }
558
557
  for (let n = a.length - 1; n >= 0; n--) {
559
- const A = a[n];
558
+ const g = a[n];
560
559
  i.push({
561
- id: A.id,
562
- label: A.title,
560
+ id: g.id,
561
+ label: g.title,
563
562
  labelStyle: "",
564
- labelType: A.labelType,
565
- parentId: o.get(A.id),
563
+ labelType: g.labelType,
564
+ parentId: o.get(g.id),
566
565
  padding: 8,
567
- cssCompiledStyles: this.getCompiledStyles(A.classes),
568
- cssClasses: A.classes.join(" "),
566
+ cssCompiledStyles: this.getCompiledStyles(g.classes),
567
+ cssClasses: g.classes.join(" "),
569
568
  shape: "rect",
570
- dir: A.dir,
569
+ dir: g.dir === "TD" ? "TB" : g.dir,
570
+ // normalize TD→TB for dagre
571
+ explicitDir: g.hasExplicitDir,
572
+ // true only when the user wrote an explicit 'direction X' keyword
571
573
  isGroup: !0,
572
574
  look: e.look
573
575
  });
@@ -575,12 +577,12 @@ You have to call mermaid.initialize.`
575
577
  this.getVertices().forEach((n) => {
576
578
  this.addNodeFromVertex(n, i, o, d, e, e.look || "classic");
577
579
  });
578
- const f = this.getEdges();
579
- return f.forEach((n, A) => {
580
- const { arrowTypeStart: S, arrowTypeEnd: g } = this.destructEdgeType(n.type), D = [...f.defaultStyle ?? []];
581
- n.style && D.push(...n.style);
582
- const Z = {
583
- id: te(n.start, n.end, { counter: A, prefix: "L" }, n.id),
580
+ const A = this.getEdges();
581
+ return A.forEach((n, g) => {
582
+ const { arrowTypeStart: B, arrowTypeEnd: f } = this.destructEdgeType(n.type), k = [...A.defaultStyle ?? []];
583
+ n.style && k.push(...n.style);
584
+ const Y = {
585
+ id: te(n.start, n.end, { counter: g, prefix: "L" }, n.id),
584
586
  isUserDefinedId: n.isUserDefinedId,
585
587
  start: n.start,
586
588
  end: n.end,
@@ -591,60 +593,60 @@ You have to call mermaid.initialize.`
591
593
  thickness: n.stroke,
592
594
  minlen: n.length,
593
595
  classes: n?.stroke === "invisible" ? "" : "edge-thickness-normal edge-pattern-solid flowchart-link",
594
- arrowTypeStart: n?.stroke === "invisible" || n?.type === "arrow_open" ? "none" : S,
595
- arrowTypeEnd: n?.stroke === "invisible" || n?.type === "arrow_open" ? "none" : g,
596
+ arrowTypeStart: n?.stroke === "invisible" || n?.type === "arrow_open" ? "none" : B,
597
+ arrowTypeEnd: n?.stroke === "invisible" || n?.type === "arrow_open" ? "none" : f,
596
598
  arrowheadStyle: "fill: #333",
597
599
  cssCompiledStyles: this.getCompiledStyles(n.classes),
598
- labelStyle: D,
599
- style: D,
600
+ labelStyle: k,
601
+ style: k,
600
602
  pattern: n.stroke,
601
603
  look: e.look,
602
604
  animate: n.animate,
603
605
  animation: n.animation,
604
606
  curve: n.interpolate || this.edges.defaultInterpolate || e.flowchart?.curve
605
607
  };
606
- r.push(Z);
608
+ r.push(Y);
607
609
  }), { nodes: i, edges: r, other: {}, config: e };
608
610
  }
609
611
  defaultConfig() {
610
- return ot.flowchart;
612
+ return dt.flowchart;
611
613
  }
612
- }, bt = /* @__PURE__ */ b(function(e, i) {
614
+ }, kt = /* @__PURE__ */ b(function(e, i) {
613
615
  return i.db.getClasses();
614
- }, "getClasses"), At = /* @__PURE__ */ b(async function(e, i, r, a) {
615
- Q.info("REF0:"), Q.info("Drawing state diagram (v2)", i);
616
- const { securityLevel: o, flowchart: d, layout: l } = g1();
617
- a.db.setDiagramId(i), Q.debug("Before getData: ");
618
- const f = a.db.getData();
619
- Q.debug("Data: ", f);
620
- const n = ht(i, o), A = a.db.getDirection();
621
- f.type = a.type, f.layoutAlgorithm = He(l), f.layoutAlgorithm === "dagre" && l === "elk" && Q.warn(
616
+ }, "getClasses"), mt = /* @__PURE__ */ b(async function(e, i, r, a, o) {
617
+ J.info("REF0:"), J.info("Drawing state diagram (v2)", i);
618
+ const { securityLevel: d, flowchart: l, layout: A } = g1();
619
+ a.db.setDiagramId(i), J.debug("Before getData: ");
620
+ const n = a.db.getData();
621
+ J.debug("Data: ", n);
622
+ const g = Xe(i, d), B = a.db.getDirection();
623
+ n.type = a.type, n.layoutAlgorithm = Ze(A), n.layoutAlgorithm === "dagre" && A === "elk" && J.warn(
622
624
  "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."
623
- ), f.direction = A, f.nodeSpacing = d?.nodeSpacing || 50, f.rankSpacing = d?.rankSpacing || 50, f.markers = ["point", "circle", "cross"], f.diagramId = i, Q.debug("REF1:", f), await Xe(f, n);
624
- const S = f.config.flowchart?.diagramPadding ?? 8;
625
+ ), n.direction = B, n.nodeSpacing = l?.nodeSpacing || 50, n.rankSpacing = l?.rankSpacing || 50, n.markers = ["point", "circle", "cross"], n.diagramId = i, J.debug("REF1:", n), await $e(n, g, o);
626
+ const f = n.config.flowchart?.diagramPadding ?? 8;
625
627
  ie.insertTitle(
626
- n,
628
+ g,
627
629
  "flowchartTitleText",
628
- d?.titleTopMargin || 0,
630
+ l?.titleTopMargin || 0,
629
631
  a.db.getDiagramTitle()
630
- ), dt(n, S, "flowchart", d?.useMaxWidth || !1);
631
- }, "draw"), kt = {
632
- getClasses: bt,
633
- draw: At
632
+ ), Qe(g, f, "flowchart", l?.useMaxWidth || !1);
633
+ }, "draw"), Dt = {
634
+ getClasses: kt,
635
+ draw: mt
634
636
  }, re = (function() {
635
637
  var e = /* @__PURE__ */ b(function(f1, c, h, p) {
636
638
  for (h = h || {}, p = f1.length; p--; h[f1[p]] = c) ;
637
639
  return h;
638
- }, "o"), i = [1, 4], r = [1, 3], a = [1, 5], o = [1, 8, 9, 10, 11, 27, 34, 36, 38, 44, 60, 84, 85, 86, 87, 88, 89, 102, 105, 106, 109, 111, 114, 115, 116, 121, 122, 123, 124, 125], d = [2, 2], l = [1, 13], f = [1, 14], n = [1, 15], A = [1, 16], S = [1, 23], g = [1, 25], D = [1, 26], Z = [1, 27], _ = [1, 50], v = [1, 49], K = [1, 29], h1 = [1, 30], N1 = [1, 31], G1 = [1, 32], P1 = [1, 33], L = [1, 45], V = [1, 47], I = [1, 43], w = [1, 48], R = [1, 44], N = [1, 51], G = [1, 46], P = [1, 52], O = [1, 53], O1 = [1, 34], M1 = [1, 35], U1 = [1, 36], z1 = [1, 37], W1 = [1, 38], d1 = [1, 58], E = [1, 8, 9, 10, 11, 27, 32, 34, 36, 38, 44, 60, 84, 85, 86, 87, 88, 89, 102, 105, 106, 109, 111, 114, 115, 116, 121, 122, 123, 124, 125], $ = [1, 62], e1 = [1, 61], t1 = [1, 63], m1 = [8, 9, 11, 75, 77, 78], ae = [1, 79], T1 = [1, 92], C1 = [1, 97], D1 = [1, 96], E1 = [1, 93], S1 = [1, 89], y1 = [1, 95], x1 = [1, 91], F1 = [1, 98], _1 = [1, 94], B1 = [1, 99], v1 = [1, 90], b1 = [8, 9, 10, 11, 40, 75, 77, 78], U = [8, 9, 10, 11, 40, 46, 75, 77, 78], Y = [8, 9, 10, 11, 29, 40, 44, 46, 48, 50, 52, 54, 56, 58, 60, 63, 65, 67, 68, 70, 75, 77, 78, 89, 102, 105, 106, 109, 111, 114, 115, 116], ne = [8, 9, 11, 44, 60, 75, 77, 78, 89, 102, 105, 106, 109, 111, 114, 115, 116], L1 = [44, 60, 89, 102, 105, 106, 109, 111, 114, 115, 116], ue = [1, 122], oe = [1, 123], K1 = [1, 125], j1 = [1, 124], le = [44, 60, 62, 74, 89, 102, 105, 106, 109, 111, 114, 115, 116], ce = [1, 134], he = [1, 148], de = [1, 149], pe = [1, 150], fe = [1, 151], ge = [1, 136], be = [1, 138], Ae = [1, 142], ke = [1, 143], me = [1, 144], Te = [1, 145], Ce = [1, 146], De = [1, 147], Ee = [1, 152], Se = [1, 153], ye = [1, 132], xe = [1, 133], Fe = [1, 140], _e = [1, 135], Be = [1, 139], ve = [1, 137], X1 = [8, 9, 10, 11, 27, 32, 34, 36, 38, 44, 60, 84, 85, 86, 87, 88, 89, 102, 105, 106, 109, 111, 114, 115, 116, 121, 122, 123, 124, 125], Le = [1, 155], Ve = [1, 157], F = [8, 9, 11], q = [8, 9, 10, 11, 14, 44, 60, 89, 105, 106, 109, 111, 114, 115, 116], k = [1, 177], z = [1, 173], W = [1, 174], m = [1, 178], T = [1, 175], C = [1, 176], V1 = [77, 116, 119], y = [8, 9, 10, 11, 12, 14, 27, 29, 32, 44, 60, 75, 84, 85, 86, 87, 88, 89, 90, 105, 109, 111, 114, 115, 116], Ie = [10, 106], p1 = [31, 49, 51, 53, 55, 57, 62, 64, 66, 67, 69, 71, 116, 117, 118], s1 = [1, 248], i1 = [1, 246], r1 = [1, 250], a1 = [1, 244], n1 = [1, 245], u1 = [1, 247], o1 = [1, 249], l1 = [1, 251], I1 = [1, 269], we = [8, 9, 11, 106], J = [8, 9, 10, 11, 60, 84, 105, 106, 109, 110, 111, 112], Q1 = {
640
+ }, "o"), i = [1, 4], r = [1, 3], a = [1, 5], o = [1, 8, 9, 10, 11, 27, 34, 36, 38, 44, 60, 84, 85, 86, 87, 88, 89, 102, 105, 106, 109, 111, 114, 115, 116, 121, 122, 123, 124, 125], d = [2, 2], l = [1, 13], A = [1, 14], n = [1, 15], g = [1, 16], B = [1, 23], f = [1, 25], k = [1, 26], Y = [1, 27], F = [1, 50], _ = [1, 49], b1 = [1, 29], N1 = [1, 30], j = [1, 31], h1 = [1, 32], P1 = [1, 33], L = [1, 45], V = [1, 47], I = [1, 43], w = [1, 48], R = [1, 44], N = [1, 51], G = [1, 46], P = [1, 52], O = [1, 53], O1 = [1, 34], M1 = [1, 35], U1 = [1, 36], z1 = [1, 37], W1 = [1, 38], d1 = [1, 58], E = [1, 8, 9, 10, 11, 27, 32, 34, 36, 38, 44, 60, 84, 85, 86, 87, 88, 89, 102, 105, 106, 109, 111, 114, 115, 116, 121, 122, 123, 124, 125], $ = [1, 62], e1 = [1, 61], t1 = [1, 63], D1 = [8, 9, 11, 75, 77, 78], ae = [1, 79], T1 = [1, 92], C1 = [1, 97], E1 = [1, 96], S1 = [1, 93], y1 = [1, 89], x1 = [1, 95], F1 = [1, 91], _1 = [1, 98], B1 = [1, 94], v1 = [1, 99], L1 = [1, 90], A1 = [8, 9, 10, 11, 40, 75, 77, 78], U = [8, 9, 10, 11, 40, 46, 75, 77, 78], H = [8, 9, 10, 11, 29, 40, 44, 46, 48, 50, 52, 54, 56, 58, 60, 63, 65, 67, 68, 70, 75, 77, 78, 89, 102, 105, 106, 109, 111, 114, 115, 116], ne = [8, 9, 11, 44, 60, 75, 77, 78, 89, 102, 105, 106, 109, 111, 114, 115, 116], V1 = [44, 60, 89, 102, 105, 106, 109, 111, 114, 115, 116], ue = [1, 122], oe = [1, 123], j1 = [1, 125], K1 = [1, 124], le = [44, 60, 62, 74, 89, 102, 105, 106, 109, 111, 114, 115, 116], ce = [1, 134], he = [1, 148], de = [1, 149], pe = [1, 150], fe = [1, 151], ge = [1, 136], be = [1, 138], Ae = [1, 142], ke = [1, 143], me = [1, 144], De = [1, 145], Te = [1, 146], Ce = [1, 147], Ee = [1, 152], Se = [1, 153], ye = [1, 132], xe = [1, 133], Fe = [1, 140], _e = [1, 135], Be = [1, 139], ve = [1, 137], X1 = [8, 9, 10, 11, 27, 32, 34, 36, 38, 44, 60, 84, 85, 86, 87, 88, 89, 102, 105, 106, 109, 111, 114, 115, 116, 121, 122, 123, 124, 125], Le = [1, 155], Ve = [1, 157], x = [8, 9, 11], q = [8, 9, 10, 11, 14, 44, 60, 89, 105, 106, 109, 111, 114, 115, 116], m = [1, 177], z = [1, 173], W = [1, 174], D = [1, 178], T = [1, 175], C = [1, 176], I1 = [77, 116, 119], S = [8, 9, 10, 11, 12, 14, 27, 29, 32, 44, 60, 75, 84, 85, 86, 87, 88, 89, 90, 105, 109, 111, 114, 115, 116], Ie = [10, 106], p1 = [31, 49, 51, 53, 55, 57, 62, 64, 66, 67, 69, 71, 116, 117, 118], s1 = [1, 248], i1 = [1, 246], r1 = [1, 250], a1 = [1, 244], n1 = [1, 245], u1 = [1, 247], o1 = [1, 249], l1 = [1, 251], w1 = [1, 269], we = [8, 9, 11, 106], Z = [8, 9, 10, 11, 60, 84, 105, 106, 109, 110, 111, 112], Q1 = {
639
641
  trace: /* @__PURE__ */ b(function() {
640
642
  }, "trace"),
641
643
  yy: {},
642
644
  symbols_: { error: 2, start: 3, graphConfig: 4, document: 5, line: 6, statement: 7, SEMI: 8, NEWLINE: 9, SPACE: 10, EOF: 11, GRAPH: 12, NODIR: 13, DIR: 14, FirstStmtSeparator: 15, ending: 16, endToken: 17, spaceList: 18, spaceListNewline: 19, vertexStatement: 20, separator: 21, styleStatement: 22, linkStyleStatement: 23, classDefStatement: 24, classStatement: 25, clickStatement: 26, subgraph: 27, textNoTags: 28, SQS: 29, text: 30, SQE: 31, end: 32, direction: 33, acc_title: 34, acc_title_value: 35, acc_descr: 36, acc_descr_value: 37, acc_descr_multiline_value: 38, shapeData: 39, SHAPE_DATA: 40, link: 41, node: 42, styledVertex: 43, AMP: 44, vertex: 45, STYLE_SEPARATOR: 46, idString: 47, DOUBLECIRCLESTART: 48, DOUBLECIRCLEEND: 49, PS: 50, PE: 51, "(-": 52, "-)": 53, STADIUMSTART: 54, STADIUMEND: 55, SUBROUTINESTART: 56, SUBROUTINEEND: 57, VERTEX_WITH_PROPS_START: 58, "NODE_STRING[field]": 59, COLON: 60, "NODE_STRING[value]": 61, PIPE: 62, CYLINDERSTART: 63, CYLINDEREND: 64, DIAMOND_START: 65, DIAMOND_STOP: 66, TAGEND: 67, TRAPSTART: 68, TRAPEND: 69, INVTRAPSTART: 70, INVTRAPEND: 71, linkStatement: 72, arrowText: 73, TESTSTR: 74, START_LINK: 75, edgeText: 76, LINK: 77, LINK_ID: 78, edgeTextToken: 79, STR: 80, MD_STR: 81, textToken: 82, keywords: 83, STYLE: 84, LINKSTYLE: 85, CLASSDEF: 86, CLASS: 87, CLICK: 88, DOWN: 89, UP: 90, textNoTagsToken: 91, stylesOpt: 92, "idString[vertex]": 93, "idString[class]": 94, CALLBACKNAME: 95, CALLBACKARGS: 96, HREF: 97, LINK_TARGET: 98, "STR[link]": 99, "STR[tooltip]": 100, alphaNum: 101, DEFAULT: 102, numList: 103, INTERPOLATE: 104, NUM: 105, COMMA: 106, style: 107, styleComponent: 108, NODE_STRING: 109, UNIT: 110, BRKT: 111, PCT: 112, idStringToken: 113, MINUS: 114, MULT: 115, UNICODE_TEXT: 116, TEXT: 117, TAGSTART: 118, EDGE_TEXT: 119, alphaNumToken: 120, direction_tb: 121, direction_bt: 122, direction_rl: 123, direction_lr: 124, direction_td: 125, $accept: 0, $end: 1 },
643
645
  terminals_: { 2: "error", 8: "SEMI", 9: "NEWLINE", 10: "SPACE", 11: "EOF", 12: "GRAPH", 13: "NODIR", 14: "DIR", 27: "subgraph", 29: "SQS", 31: "SQE", 32: "end", 34: "acc_title", 35: "acc_title_value", 36: "acc_descr", 37: "acc_descr_value", 38: "acc_descr_multiline_value", 40: "SHAPE_DATA", 44: "AMP", 46: "STYLE_SEPARATOR", 48: "DOUBLECIRCLESTART", 49: "DOUBLECIRCLEEND", 50: "PS", 51: "PE", 52: "(-", 53: "-)", 54: "STADIUMSTART", 55: "STADIUMEND", 56: "SUBROUTINESTART", 57: "SUBROUTINEEND", 58: "VERTEX_WITH_PROPS_START", 59: "NODE_STRING[field]", 60: "COLON", 61: "NODE_STRING[value]", 62: "PIPE", 63: "CYLINDERSTART", 64: "CYLINDEREND", 65: "DIAMOND_START", 66: "DIAMOND_STOP", 67: "TAGEND", 68: "TRAPSTART", 69: "TRAPEND", 70: "INVTRAPSTART", 71: "INVTRAPEND", 74: "TESTSTR", 75: "START_LINK", 77: "LINK", 78: "LINK_ID", 80: "STR", 81: "MD_STR", 84: "STYLE", 85: "LINKSTYLE", 86: "CLASSDEF", 87: "CLASS", 88: "CLICK", 89: "DOWN", 90: "UP", 93: "idString[vertex]", 94: "idString[class]", 95: "CALLBACKNAME", 96: "CALLBACKARGS", 97: "HREF", 98: "LINK_TARGET", 99: "STR[link]", 100: "STR[tooltip]", 102: "DEFAULT", 104: "INTERPOLATE", 105: "NUM", 106: "COMMA", 109: "NODE_STRING", 110: "UNIT", 111: "BRKT", 112: "PCT", 114: "MINUS", 115: "MULT", 116: "UNICODE_TEXT", 117: "TEXT", 118: "TAGSTART", 119: "EDGE_TEXT", 121: "direction_tb", 122: "direction_bt", 123: "direction_rl", 124: "direction_lr", 125: "direction_td" },
644
646
  productions_: [0, [3, 2], [5, 0], [5, 2], [6, 1], [6, 1], [6, 1], [6, 1], [6, 1], [4, 2], [4, 2], [4, 2], [4, 3], [16, 2], [16, 1], [17, 1], [17, 1], [17, 1], [15, 1], [15, 1], [15, 2], [19, 2], [19, 2], [19, 1], [19, 1], [18, 2], [18, 1], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 9], [7, 6], [7, 4], [7, 1], [7, 2], [7, 2], [7, 1], [21, 1], [21, 1], [21, 1], [39, 2], [39, 1], [20, 4], [20, 3], [20, 4], [20, 2], [20, 2], [20, 1], [42, 1], [42, 6], [42, 5], [43, 1], [43, 3], [45, 4], [45, 4], [45, 6], [45, 4], [45, 4], [45, 4], [45, 8], [45, 4], [45, 4], [45, 4], [45, 6], [45, 4], [45, 4], [45, 4], [45, 4], [45, 4], [45, 1], [41, 2], [41, 3], [41, 3], [41, 1], [41, 3], [41, 4], [76, 1], [76, 2], [76, 1], [76, 1], [72, 1], [72, 2], [73, 3], [30, 1], [30, 2], [30, 1], [30, 1], [83, 1], [83, 1], [83, 1], [83, 1], [83, 1], [83, 1], [83, 1], [83, 1], [83, 1], [83, 1], [83, 1], [28, 1], [28, 2], [28, 1], [28, 1], [24, 5], [25, 5], [26, 2], [26, 4], [26, 3], [26, 5], [26, 3], [26, 5], [26, 5], [26, 7], [26, 2], [26, 4], [26, 2], [26, 4], [26, 4], [26, 6], [22, 5], [23, 5], [23, 5], [23, 9], [23, 9], [23, 7], [23, 7], [103, 1], [103, 3], [92, 1], [92, 3], [107, 1], [107, 2], [108, 1], [108, 1], [108, 1], [108, 1], [108, 1], [108, 1], [108, 1], [108, 1], [113, 1], [113, 1], [113, 1], [113, 1], [113, 1], [113, 1], [113, 1], [113, 1], [113, 1], [113, 1], [113, 1], [82, 1], [82, 1], [82, 1], [82, 1], [91, 1], [91, 1], [91, 1], [91, 1], [91, 1], [91, 1], [91, 1], [91, 1], [91, 1], [91, 1], [91, 1], [79, 1], [79, 1], [120, 1], [120, 1], [120, 1], [120, 1], [120, 1], [120, 1], [120, 1], [120, 1], [120, 1], [120, 1], [120, 1], [47, 1], [47, 2], [101, 1], [101, 2], [33, 1], [33, 1], [33, 1], [33, 1], [33, 1]],
645
- performAction: /* @__PURE__ */ b(function(c, h, p, u, x, t, R1) {
647
+ performAction: /* @__PURE__ */ b(function(c, h, p, u, y, t, G1) {
646
648
  var s = t.length - 1;
647
- switch (x) {
649
+ switch (y) {
648
650
  case 2:
649
651
  this.$ = [];
650
652
  break;
@@ -788,12 +790,12 @@ You have to call mermaid.initialize.`
788
790
  this.$ = t[s];
789
791
  break;
790
792
  case 77:
791
- var B = u.destructLink(t[s], t[s - 2]);
792
- this.$ = { type: B.type, stroke: B.stroke, length: B.length, text: t[s - 1] };
793
+ var v = u.destructLink(t[s], t[s - 2]);
794
+ this.$ = { type: v.type, stroke: v.stroke, length: v.length, text: t[s - 1] };
793
795
  break;
794
796
  case 78:
795
- var B = u.destructLink(t[s], t[s - 2]);
796
- this.$ = { type: B.type, stroke: B.stroke, length: B.length, text: t[s - 1], id: t[s - 3] };
797
+ var v = u.destructLink(t[s], t[s - 2]);
798
+ this.$ = { type: v.type, stroke: v.stroke, length: v.length, text: t[s - 1], id: t[s - 3] };
797
799
  break;
798
800
  case 79:
799
801
  this.$ = { text: t[s], type: "text" };
@@ -808,12 +810,12 @@ You have to call mermaid.initialize.`
808
810
  this.$ = { text: t[s], type: "markdown" };
809
811
  break;
810
812
  case 83:
811
- var B = u.destructLink(t[s]);
812
- this.$ = { type: B.type, stroke: B.stroke, length: B.length };
813
+ var v = u.destructLink(t[s]);
814
+ this.$ = { type: v.type, stroke: v.stroke, length: v.length };
813
815
  break;
814
816
  case 84:
815
- var B = u.destructLink(t[s]);
816
- this.$ = { type: B.type, stroke: B.stroke, length: B.length, id: t[s - 1] };
817
+ var v = u.destructLink(t[s]);
818
+ this.$ = { type: v.type, stroke: v.stroke, length: v.length, id: t[s - 1] };
817
819
  break;
818
820
  case 85:
819
821
  this.$ = t[s - 1];
@@ -942,7 +944,7 @@ You have to call mermaid.initialize.`
942
944
  break;
943
945
  }
944
946
  }, "anonymous"),
945
- table: [{ 3: 1, 4: 2, 9: i, 10: r, 12: a }, { 1: [3] }, e(o, d, { 5: 6 }), { 4: 7, 9: i, 10: r, 12: a }, { 4: 8, 9: i, 10: r, 12: a }, { 13: [1, 9], 14: [1, 10] }, { 1: [2, 1], 6: 11, 7: 12, 8: l, 9: f, 10: n, 11: A, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: S, 33: 24, 34: g, 36: D, 38: Z, 42: 28, 43: 39, 44: _, 45: 40, 47: 41, 60: v, 84: K, 85: h1, 86: N1, 87: G1, 88: P1, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 113: 42, 114: G, 115: P, 116: O, 121: O1, 122: M1, 123: U1, 124: z1, 125: W1 }, e(o, [2, 9]), e(o, [2, 10]), e(o, [2, 11]), { 8: [1, 55], 9: [1, 56], 10: d1, 15: 54, 18: 57 }, e(E, [2, 3]), e(E, [2, 4]), e(E, [2, 5]), e(E, [2, 6]), e(E, [2, 7]), e(E, [2, 8]), { 8: $, 9: e1, 11: t1, 21: 59, 41: 60, 72: 64, 75: [1, 65], 77: [1, 67], 78: [1, 66] }, { 8: $, 9: e1, 11: t1, 21: 68 }, { 8: $, 9: e1, 11: t1, 21: 69 }, { 8: $, 9: e1, 11: t1, 21: 70 }, { 8: $, 9: e1, 11: t1, 21: 71 }, { 8: $, 9: e1, 11: t1, 21: 72 }, { 8: $, 9: e1, 10: [1, 73], 11: t1, 21: 74 }, e(E, [2, 36]), { 35: [1, 75] }, { 37: [1, 76] }, e(E, [2, 39]), e(m1, [2, 50], { 18: 77, 39: 78, 10: d1, 40: ae }), { 10: [1, 80] }, { 10: [1, 81] }, { 10: [1, 82] }, { 10: [1, 83] }, { 14: T1, 44: C1, 60: D1, 80: [1, 87], 89: E1, 95: [1, 84], 97: [1, 85], 101: 86, 105: S1, 106: y1, 109: x1, 111: F1, 114: _1, 115: B1, 116: v1, 120: 88 }, e(E, [2, 185]), e(E, [2, 186]), e(E, [2, 187]), e(E, [2, 188]), e(E, [2, 189]), e(b1, [2, 51]), e(b1, [2, 54], { 46: [1, 100] }), e(U, [2, 72], { 113: 113, 29: [1, 101], 44: _, 48: [1, 102], 50: [1, 103], 52: [1, 104], 54: [1, 105], 56: [1, 106], 58: [1, 107], 60: v, 63: [1, 108], 65: [1, 109], 67: [1, 110], 68: [1, 111], 70: [1, 112], 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 114: G, 115: P, 116: O }), e(Y, [2, 181]), e(Y, [2, 142]), e(Y, [2, 143]), e(Y, [2, 144]), e(Y, [2, 145]), e(Y, [2, 146]), e(Y, [2, 147]), e(Y, [2, 148]), e(Y, [2, 149]), e(Y, [2, 150]), e(Y, [2, 151]), e(Y, [2, 152]), e(o, [2, 12]), e(o, [2, 18]), e(o, [2, 19]), { 9: [1, 114] }, e(ne, [2, 26], { 18: 115, 10: d1 }), e(E, [2, 27]), { 42: 116, 43: 39, 44: _, 45: 40, 47: 41, 60: v, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 113: 42, 114: G, 115: P, 116: O }, e(E, [2, 40]), e(E, [2, 41]), e(E, [2, 42]), e(L1, [2, 76], { 73: 117, 62: [1, 119], 74: [1, 118] }), { 76: 120, 79: 121, 80: ue, 81: oe, 116: K1, 119: j1 }, { 75: [1, 126], 77: [1, 127] }, e(le, [2, 83]), e(E, [2, 28]), e(E, [2, 29]), e(E, [2, 30]), e(E, [2, 31]), e(E, [2, 32]), { 10: ce, 12: he, 14: de, 27: pe, 28: 128, 32: fe, 44: ge, 60: be, 75: Ae, 80: [1, 130], 81: [1, 131], 83: 141, 84: ke, 85: me, 86: Te, 87: Ce, 88: De, 89: Ee, 90: Se, 91: 129, 105: ye, 109: xe, 111: Fe, 114: _e, 115: Be, 116: ve }, e(X1, d, { 5: 154 }), e(E, [2, 37]), e(E, [2, 38]), e(m1, [2, 48], { 44: Le }), e(m1, [2, 49], { 18: 156, 10: d1, 40: Ve }), e(b1, [2, 44]), { 44: _, 47: 158, 60: v, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 113: 42, 114: G, 115: P, 116: O }, { 102: [1, 159], 103: 160, 105: [1, 161] }, { 44: _, 47: 162, 60: v, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 113: 42, 114: G, 115: P, 116: O }, { 44: _, 47: 163, 60: v, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 113: 42, 114: G, 115: P, 116: O }, e(F, [2, 107], { 10: [1, 164], 96: [1, 165] }), { 80: [1, 166] }, e(F, [2, 115], { 120: 168, 10: [1, 167], 14: T1, 44: C1, 60: D1, 89: E1, 105: S1, 106: y1, 109: x1, 111: F1, 114: _1, 115: B1, 116: v1 }), e(F, [2, 117], { 10: [1, 169] }), e(q, [2, 183]), e(q, [2, 170]), e(q, [2, 171]), e(q, [2, 172]), e(q, [2, 173]), e(q, [2, 174]), e(q, [2, 175]), e(q, [2, 176]), e(q, [2, 177]), e(q, [2, 178]), e(q, [2, 179]), e(q, [2, 180]), { 44: _, 47: 170, 60: v, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 113: 42, 114: G, 115: P, 116: O }, { 30: 171, 67: k, 80: z, 81: W, 82: 172, 116: m, 117: T, 118: C }, { 30: 179, 67: k, 80: z, 81: W, 82: 172, 116: m, 117: T, 118: C }, { 30: 181, 50: [1, 180], 67: k, 80: z, 81: W, 82: 172, 116: m, 117: T, 118: C }, { 30: 182, 67: k, 80: z, 81: W, 82: 172, 116: m, 117: T, 118: C }, { 30: 183, 67: k, 80: z, 81: W, 82: 172, 116: m, 117: T, 118: C }, { 30: 184, 67: k, 80: z, 81: W, 82: 172, 116: m, 117: T, 118: C }, { 109: [1, 185] }, { 30: 186, 67: k, 80: z, 81: W, 82: 172, 116: m, 117: T, 118: C }, { 30: 187, 65: [1, 188], 67: k, 80: z, 81: W, 82: 172, 116: m, 117: T, 118: C }, { 30: 189, 67: k, 80: z, 81: W, 82: 172, 116: m, 117: T, 118: C }, { 30: 190, 67: k, 80: z, 81: W, 82: 172, 116: m, 117: T, 118: C }, { 30: 191, 67: k, 80: z, 81: W, 82: 172, 116: m, 117: T, 118: C }, e(Y, [2, 182]), e(o, [2, 20]), e(ne, [2, 25]), e(m1, [2, 46], { 39: 192, 18: 193, 10: d1, 40: ae }), e(L1, [2, 73], { 10: [1, 194] }), { 10: [1, 195] }, { 30: 196, 67: k, 80: z, 81: W, 82: 172, 116: m, 117: T, 118: C }, { 77: [1, 197], 79: 198, 116: K1, 119: j1 }, e(V1, [2, 79]), e(V1, [2, 81]), e(V1, [2, 82]), e(V1, [2, 168]), e(V1, [2, 169]), { 76: 199, 79: 121, 80: ue, 81: oe, 116: K1, 119: j1 }, e(le, [2, 84]), { 8: $, 9: e1, 10: ce, 11: t1, 12: he, 14: de, 21: 201, 27: pe, 29: [1, 200], 32: fe, 44: ge, 60: be, 75: Ae, 83: 141, 84: ke, 85: me, 86: Te, 87: Ce, 88: De, 89: Ee, 90: Se, 91: 202, 105: ye, 109: xe, 111: Fe, 114: _e, 115: Be, 116: ve }, e(y, [2, 101]), e(y, [2, 103]), e(y, [2, 104]), e(y, [2, 157]), e(y, [2, 158]), e(y, [2, 159]), e(y, [2, 160]), e(y, [2, 161]), e(y, [2, 162]), e(y, [2, 163]), e(y, [2, 164]), e(y, [2, 165]), e(y, [2, 166]), e(y, [2, 167]), e(y, [2, 90]), e(y, [2, 91]), e(y, [2, 92]), e(y, [2, 93]), e(y, [2, 94]), e(y, [2, 95]), e(y, [2, 96]), e(y, [2, 97]), e(y, [2, 98]), e(y, [2, 99]), e(y, [2, 100]), { 6: 11, 7: 12, 8: l, 9: f, 10: n, 11: A, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: S, 32: [1, 203], 33: 24, 34: g, 36: D, 38: Z, 42: 28, 43: 39, 44: _, 45: 40, 47: 41, 60: v, 84: K, 85: h1, 86: N1, 87: G1, 88: P1, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 113: 42, 114: G, 115: P, 116: O, 121: O1, 122: M1, 123: U1, 124: z1, 125: W1 }, { 10: d1, 18: 204 }, { 44: [1, 205] }, e(b1, [2, 43]), { 10: [1, 206], 44: _, 60: v, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 113: 113, 114: G, 115: P, 116: O }, { 10: [1, 207] }, { 10: [1, 208], 106: [1, 209] }, e(Ie, [2, 128]), { 10: [1, 210], 44: _, 60: v, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 113: 113, 114: G, 115: P, 116: O }, { 10: [1, 211], 44: _, 60: v, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 113: 113, 114: G, 115: P, 116: O }, { 80: [1, 212] }, e(F, [2, 109], { 10: [1, 213] }), e(F, [2, 111], { 10: [1, 214] }), { 80: [1, 215] }, e(q, [2, 184]), { 80: [1, 216], 98: [1, 217] }, e(b1, [2, 55], { 113: 113, 44: _, 60: v, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 114: G, 115: P, 116: O }), { 31: [1, 218], 67: k, 82: 219, 116: m, 117: T, 118: C }, e(p1, [2, 86]), e(p1, [2, 88]), e(p1, [2, 89]), e(p1, [2, 153]), e(p1, [2, 154]), e(p1, [2, 155]), e(p1, [2, 156]), { 49: [1, 220], 67: k, 82: 219, 116: m, 117: T, 118: C }, { 30: 221, 67: k, 80: z, 81: W, 82: 172, 116: m, 117: T, 118: C }, { 51: [1, 222], 67: k, 82: 219, 116: m, 117: T, 118: C }, { 53: [1, 223], 67: k, 82: 219, 116: m, 117: T, 118: C }, { 55: [1, 224], 67: k, 82: 219, 116: m, 117: T, 118: C }, { 57: [1, 225], 67: k, 82: 219, 116: m, 117: T, 118: C }, { 60: [1, 226] }, { 64: [1, 227], 67: k, 82: 219, 116: m, 117: T, 118: C }, { 66: [1, 228], 67: k, 82: 219, 116: m, 117: T, 118: C }, { 30: 229, 67: k, 80: z, 81: W, 82: 172, 116: m, 117: T, 118: C }, { 31: [1, 230], 67: k, 82: 219, 116: m, 117: T, 118: C }, { 67: k, 69: [1, 231], 71: [1, 232], 82: 219, 116: m, 117: T, 118: C }, { 67: k, 69: [1, 234], 71: [1, 233], 82: 219, 116: m, 117: T, 118: C }, e(m1, [2, 45], { 18: 156, 10: d1, 40: Ve }), e(m1, [2, 47], { 44: Le }), e(L1, [2, 75]), e(L1, [2, 74]), { 62: [1, 235], 67: k, 82: 219, 116: m, 117: T, 118: C }, e(L1, [2, 77]), e(V1, [2, 80]), { 77: [1, 236], 79: 198, 116: K1, 119: j1 }, { 30: 237, 67: k, 80: z, 81: W, 82: 172, 116: m, 117: T, 118: C }, e(X1, d, { 5: 238 }), e(y, [2, 102]), e(E, [2, 35]), { 43: 239, 44: _, 45: 40, 47: 41, 60: v, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 113: 42, 114: G, 115: P, 116: O }, { 10: d1, 18: 240 }, { 10: s1, 60: i1, 84: r1, 92: 241, 105: a1, 107: 242, 108: 243, 109: n1, 110: u1, 111: o1, 112: l1 }, { 10: s1, 60: i1, 84: r1, 92: 252, 104: [1, 253], 105: a1, 107: 242, 108: 243, 109: n1, 110: u1, 111: o1, 112: l1 }, { 10: s1, 60: i1, 84: r1, 92: 254, 104: [1, 255], 105: a1, 107: 242, 108: 243, 109: n1, 110: u1, 111: o1, 112: l1 }, { 105: [1, 256] }, { 10: s1, 60: i1, 84: r1, 92: 257, 105: a1, 107: 242, 108: 243, 109: n1, 110: u1, 111: o1, 112: l1 }, { 44: _, 47: 258, 60: v, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 113: 42, 114: G, 115: P, 116: O }, e(F, [2, 108]), { 80: [1, 259] }, { 80: [1, 260], 98: [1, 261] }, e(F, [2, 116]), e(F, [2, 118], { 10: [1, 262] }), e(F, [2, 119]), e(U, [2, 56]), e(p1, [2, 87]), e(U, [2, 57]), { 51: [1, 263], 67: k, 82: 219, 116: m, 117: T, 118: C }, e(U, [2, 64]), e(U, [2, 59]), e(U, [2, 60]), e(U, [2, 61]), { 109: [1, 264] }, e(U, [2, 63]), e(U, [2, 65]), { 66: [1, 265], 67: k, 82: 219, 116: m, 117: T, 118: C }, e(U, [2, 67]), e(U, [2, 68]), e(U, [2, 70]), e(U, [2, 69]), e(U, [2, 71]), e([10, 44, 60, 89, 102, 105, 106, 109, 111, 114, 115, 116], [2, 85]), e(L1, [2, 78]), { 31: [1, 266], 67: k, 82: 219, 116: m, 117: T, 118: C }, { 6: 11, 7: 12, 8: l, 9: f, 10: n, 11: A, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: S, 32: [1, 267], 33: 24, 34: g, 36: D, 38: Z, 42: 28, 43: 39, 44: _, 45: 40, 47: 41, 60: v, 84: K, 85: h1, 86: N1, 87: G1, 88: P1, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 113: 42, 114: G, 115: P, 116: O, 121: O1, 122: M1, 123: U1, 124: z1, 125: W1 }, e(b1, [2, 53]), { 43: 268, 44: _, 45: 40, 47: 41, 60: v, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 113: 42, 114: G, 115: P, 116: O }, e(F, [2, 121], { 106: I1 }), e(we, [2, 130], { 108: 270, 10: s1, 60: i1, 84: r1, 105: a1, 109: n1, 110: u1, 111: o1, 112: l1 }), e(J, [2, 132]), e(J, [2, 134]), e(J, [2, 135]), e(J, [2, 136]), e(J, [2, 137]), e(J, [2, 138]), e(J, [2, 139]), e(J, [2, 140]), e(J, [2, 141]), e(F, [2, 122], { 106: I1 }), { 10: [1, 271] }, e(F, [2, 123], { 106: I1 }), { 10: [1, 272] }, e(Ie, [2, 129]), e(F, [2, 105], { 106: I1 }), e(F, [2, 106], { 113: 113, 44: _, 60: v, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 114: G, 115: P, 116: O }), e(F, [2, 110]), e(F, [2, 112], { 10: [1, 273] }), e(F, [2, 113]), { 98: [1, 274] }, { 51: [1, 275] }, { 62: [1, 276] }, { 66: [1, 277] }, { 8: $, 9: e1, 11: t1, 21: 278 }, e(E, [2, 34]), e(b1, [2, 52]), { 10: s1, 60: i1, 84: r1, 105: a1, 107: 279, 108: 243, 109: n1, 110: u1, 111: o1, 112: l1 }, e(J, [2, 133]), { 14: T1, 44: C1, 60: D1, 89: E1, 101: 280, 105: S1, 106: y1, 109: x1, 111: F1, 114: _1, 115: B1, 116: v1, 120: 88 }, { 14: T1, 44: C1, 60: D1, 89: E1, 101: 281, 105: S1, 106: y1, 109: x1, 111: F1, 114: _1, 115: B1, 116: v1, 120: 88 }, { 98: [1, 282] }, e(F, [2, 120]), e(U, [2, 58]), { 30: 283, 67: k, 80: z, 81: W, 82: 172, 116: m, 117: T, 118: C }, e(U, [2, 66]), e(X1, d, { 5: 284 }), e(we, [2, 131], { 108: 270, 10: s1, 60: i1, 84: r1, 105: a1, 109: n1, 110: u1, 111: o1, 112: l1 }), e(F, [2, 126], { 120: 168, 10: [1, 285], 14: T1, 44: C1, 60: D1, 89: E1, 105: S1, 106: y1, 109: x1, 111: F1, 114: _1, 115: B1, 116: v1 }), e(F, [2, 127], { 120: 168, 10: [1, 286], 14: T1, 44: C1, 60: D1, 89: E1, 105: S1, 106: y1, 109: x1, 111: F1, 114: _1, 115: B1, 116: v1 }), e(F, [2, 114]), { 31: [1, 287], 67: k, 82: 219, 116: m, 117: T, 118: C }, { 6: 11, 7: 12, 8: l, 9: f, 10: n, 11: A, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: S, 32: [1, 288], 33: 24, 34: g, 36: D, 38: Z, 42: 28, 43: 39, 44: _, 45: 40, 47: 41, 60: v, 84: K, 85: h1, 86: N1, 87: G1, 88: P1, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 113: 42, 114: G, 115: P, 116: O, 121: O1, 122: M1, 123: U1, 124: z1, 125: W1 }, { 10: s1, 60: i1, 84: r1, 92: 289, 105: a1, 107: 242, 108: 243, 109: n1, 110: u1, 111: o1, 112: l1 }, { 10: s1, 60: i1, 84: r1, 92: 290, 105: a1, 107: 242, 108: 243, 109: n1, 110: u1, 111: o1, 112: l1 }, e(U, [2, 62]), e(E, [2, 33]), e(F, [2, 124], { 106: I1 }), e(F, [2, 125], { 106: I1 })],
947
+ table: [{ 3: 1, 4: 2, 9: i, 10: r, 12: a }, { 1: [3] }, e(o, d, { 5: 6 }), { 4: 7, 9: i, 10: r, 12: a }, { 4: 8, 9: i, 10: r, 12: a }, { 13: [1, 9], 14: [1, 10] }, { 1: [2, 1], 6: 11, 7: 12, 8: l, 9: A, 10: n, 11: g, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: B, 33: 24, 34: f, 36: k, 38: Y, 42: 28, 43: 39, 44: F, 45: 40, 47: 41, 60: _, 84: b1, 85: N1, 86: j, 87: h1, 88: P1, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 113: 42, 114: G, 115: P, 116: O, 121: O1, 122: M1, 123: U1, 124: z1, 125: W1 }, e(o, [2, 9]), e(o, [2, 10]), e(o, [2, 11]), { 8: [1, 55], 9: [1, 56], 10: d1, 15: 54, 18: 57 }, e(E, [2, 3]), e(E, [2, 4]), e(E, [2, 5]), e(E, [2, 6]), e(E, [2, 7]), e(E, [2, 8]), { 8: $, 9: e1, 11: t1, 21: 59, 41: 60, 72: 64, 75: [1, 65], 77: [1, 67], 78: [1, 66] }, { 8: $, 9: e1, 11: t1, 21: 68 }, { 8: $, 9: e1, 11: t1, 21: 69 }, { 8: $, 9: e1, 11: t1, 21: 70 }, { 8: $, 9: e1, 11: t1, 21: 71 }, { 8: $, 9: e1, 11: t1, 21: 72 }, { 8: $, 9: e1, 10: [1, 73], 11: t1, 21: 74 }, e(E, [2, 36]), { 35: [1, 75] }, { 37: [1, 76] }, e(E, [2, 39]), e(D1, [2, 50], { 18: 77, 39: 78, 10: d1, 40: ae }), { 10: [1, 80] }, { 10: [1, 81] }, { 10: [1, 82] }, { 10: [1, 83] }, { 14: T1, 44: C1, 60: E1, 80: [1, 87], 89: S1, 95: [1, 84], 97: [1, 85], 101: 86, 105: y1, 106: x1, 109: F1, 111: _1, 114: B1, 115: v1, 116: L1, 120: 88 }, e(E, [2, 185]), e(E, [2, 186]), e(E, [2, 187]), e(E, [2, 188]), e(E, [2, 189]), e(A1, [2, 51]), e(A1, [2, 54], { 46: [1, 100] }), e(U, [2, 72], { 113: 113, 29: [1, 101], 44: F, 48: [1, 102], 50: [1, 103], 52: [1, 104], 54: [1, 105], 56: [1, 106], 58: [1, 107], 60: _, 63: [1, 108], 65: [1, 109], 67: [1, 110], 68: [1, 111], 70: [1, 112], 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 114: G, 115: P, 116: O }), e(H, [2, 181]), e(H, [2, 142]), e(H, [2, 143]), e(H, [2, 144]), e(H, [2, 145]), e(H, [2, 146]), e(H, [2, 147]), e(H, [2, 148]), e(H, [2, 149]), e(H, [2, 150]), e(H, [2, 151]), e(H, [2, 152]), e(o, [2, 12]), e(o, [2, 18]), e(o, [2, 19]), { 9: [1, 114] }, e(ne, [2, 26], { 18: 115, 10: d1 }), e(E, [2, 27]), { 42: 116, 43: 39, 44: F, 45: 40, 47: 41, 60: _, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 113: 42, 114: G, 115: P, 116: O }, e(E, [2, 40]), e(E, [2, 41]), e(E, [2, 42]), e(V1, [2, 76], { 73: 117, 62: [1, 119], 74: [1, 118] }), { 76: 120, 79: 121, 80: ue, 81: oe, 116: j1, 119: K1 }, { 75: [1, 126], 77: [1, 127] }, e(le, [2, 83]), e(E, [2, 28]), e(E, [2, 29]), e(E, [2, 30]), e(E, [2, 31]), e(E, [2, 32]), { 10: ce, 12: he, 14: de, 27: pe, 28: 128, 32: fe, 44: ge, 60: be, 75: Ae, 80: [1, 130], 81: [1, 131], 83: 141, 84: ke, 85: me, 86: De, 87: Te, 88: Ce, 89: Ee, 90: Se, 91: 129, 105: ye, 109: xe, 111: Fe, 114: _e, 115: Be, 116: ve }, e(X1, d, { 5: 154 }), e(E, [2, 37]), e(E, [2, 38]), e(D1, [2, 48], { 44: Le }), e(D1, [2, 49], { 18: 156, 10: d1, 40: Ve }), e(A1, [2, 44]), { 44: F, 47: 158, 60: _, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 113: 42, 114: G, 115: P, 116: O }, { 102: [1, 159], 103: 160, 105: [1, 161] }, { 44: F, 47: 162, 60: _, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 113: 42, 114: G, 115: P, 116: O }, { 44: F, 47: 163, 60: _, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 113: 42, 114: G, 115: P, 116: O }, e(x, [2, 107], { 10: [1, 164], 96: [1, 165] }), { 80: [1, 166] }, e(x, [2, 115], { 120: 168, 10: [1, 167], 14: T1, 44: C1, 60: E1, 89: S1, 105: y1, 106: x1, 109: F1, 111: _1, 114: B1, 115: v1, 116: L1 }), e(x, [2, 117], { 10: [1, 169] }), e(q, [2, 183]), e(q, [2, 170]), e(q, [2, 171]), e(q, [2, 172]), e(q, [2, 173]), e(q, [2, 174]), e(q, [2, 175]), e(q, [2, 176]), e(q, [2, 177]), e(q, [2, 178]), e(q, [2, 179]), e(q, [2, 180]), { 44: F, 47: 170, 60: _, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 113: 42, 114: G, 115: P, 116: O }, { 30: 171, 67: m, 80: z, 81: W, 82: 172, 116: D, 117: T, 118: C }, { 30: 179, 67: m, 80: z, 81: W, 82: 172, 116: D, 117: T, 118: C }, { 30: 181, 50: [1, 180], 67: m, 80: z, 81: W, 82: 172, 116: D, 117: T, 118: C }, { 30: 182, 67: m, 80: z, 81: W, 82: 172, 116: D, 117: T, 118: C }, { 30: 183, 67: m, 80: z, 81: W, 82: 172, 116: D, 117: T, 118: C }, { 30: 184, 67: m, 80: z, 81: W, 82: 172, 116: D, 117: T, 118: C }, { 109: [1, 185] }, { 30: 186, 67: m, 80: z, 81: W, 82: 172, 116: D, 117: T, 118: C }, { 30: 187, 65: [1, 188], 67: m, 80: z, 81: W, 82: 172, 116: D, 117: T, 118: C }, { 30: 189, 67: m, 80: z, 81: W, 82: 172, 116: D, 117: T, 118: C }, { 30: 190, 67: m, 80: z, 81: W, 82: 172, 116: D, 117: T, 118: C }, { 30: 191, 67: m, 80: z, 81: W, 82: 172, 116: D, 117: T, 118: C }, e(H, [2, 182]), e(o, [2, 20]), e(ne, [2, 25]), e(D1, [2, 46], { 39: 192, 18: 193, 10: d1, 40: ae }), e(V1, [2, 73], { 10: [1, 194] }), { 10: [1, 195] }, { 30: 196, 67: m, 80: z, 81: W, 82: 172, 116: D, 117: T, 118: C }, { 77: [1, 197], 79: 198, 116: j1, 119: K1 }, e(I1, [2, 79]), e(I1, [2, 81]), e(I1, [2, 82]), e(I1, [2, 168]), e(I1, [2, 169]), { 76: 199, 79: 121, 80: ue, 81: oe, 116: j1, 119: K1 }, e(le, [2, 84]), { 8: $, 9: e1, 10: ce, 11: t1, 12: he, 14: de, 21: 201, 27: pe, 29: [1, 200], 32: fe, 44: ge, 60: be, 75: Ae, 83: 141, 84: ke, 85: me, 86: De, 87: Te, 88: Ce, 89: Ee, 90: Se, 91: 202, 105: ye, 109: xe, 111: Fe, 114: _e, 115: Be, 116: ve }, e(S, [2, 101]), e(S, [2, 103]), e(S, [2, 104]), e(S, [2, 157]), e(S, [2, 158]), e(S, [2, 159]), e(S, [2, 160]), e(S, [2, 161]), e(S, [2, 162]), e(S, [2, 163]), e(S, [2, 164]), e(S, [2, 165]), e(S, [2, 166]), e(S, [2, 167]), e(S, [2, 90]), e(S, [2, 91]), e(S, [2, 92]), e(S, [2, 93]), e(S, [2, 94]), e(S, [2, 95]), e(S, [2, 96]), e(S, [2, 97]), e(S, [2, 98]), e(S, [2, 99]), e(S, [2, 100]), { 6: 11, 7: 12, 8: l, 9: A, 10: n, 11: g, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: B, 32: [1, 203], 33: 24, 34: f, 36: k, 38: Y, 42: 28, 43: 39, 44: F, 45: 40, 47: 41, 60: _, 84: b1, 85: N1, 86: j, 87: h1, 88: P1, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 113: 42, 114: G, 115: P, 116: O, 121: O1, 122: M1, 123: U1, 124: z1, 125: W1 }, { 10: d1, 18: 204 }, { 44: [1, 205] }, e(A1, [2, 43]), { 10: [1, 206], 44: F, 60: _, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 113: 113, 114: G, 115: P, 116: O }, { 10: [1, 207] }, { 10: [1, 208], 106: [1, 209] }, e(Ie, [2, 128]), { 10: [1, 210], 44: F, 60: _, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 113: 113, 114: G, 115: P, 116: O }, { 10: [1, 211], 44: F, 60: _, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 113: 113, 114: G, 115: P, 116: O }, { 80: [1, 212] }, e(x, [2, 109], { 10: [1, 213] }), e(x, [2, 111], { 10: [1, 214] }), { 80: [1, 215] }, e(q, [2, 184]), { 80: [1, 216], 98: [1, 217] }, e(A1, [2, 55], { 113: 113, 44: F, 60: _, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 114: G, 115: P, 116: O }), { 31: [1, 218], 67: m, 82: 219, 116: D, 117: T, 118: C }, e(p1, [2, 86]), e(p1, [2, 88]), e(p1, [2, 89]), e(p1, [2, 153]), e(p1, [2, 154]), e(p1, [2, 155]), e(p1, [2, 156]), { 49: [1, 220], 67: m, 82: 219, 116: D, 117: T, 118: C }, { 30: 221, 67: m, 80: z, 81: W, 82: 172, 116: D, 117: T, 118: C }, { 51: [1, 222], 67: m, 82: 219, 116: D, 117: T, 118: C }, { 53: [1, 223], 67: m, 82: 219, 116: D, 117: T, 118: C }, { 55: [1, 224], 67: m, 82: 219, 116: D, 117: T, 118: C }, { 57: [1, 225], 67: m, 82: 219, 116: D, 117: T, 118: C }, { 60: [1, 226] }, { 64: [1, 227], 67: m, 82: 219, 116: D, 117: T, 118: C }, { 66: [1, 228], 67: m, 82: 219, 116: D, 117: T, 118: C }, { 30: 229, 67: m, 80: z, 81: W, 82: 172, 116: D, 117: T, 118: C }, { 31: [1, 230], 67: m, 82: 219, 116: D, 117: T, 118: C }, { 67: m, 69: [1, 231], 71: [1, 232], 82: 219, 116: D, 117: T, 118: C }, { 67: m, 69: [1, 234], 71: [1, 233], 82: 219, 116: D, 117: T, 118: C }, e(D1, [2, 45], { 18: 156, 10: d1, 40: Ve }), e(D1, [2, 47], { 44: Le }), e(V1, [2, 75]), e(V1, [2, 74]), { 62: [1, 235], 67: m, 82: 219, 116: D, 117: T, 118: C }, e(V1, [2, 77]), e(I1, [2, 80]), { 77: [1, 236], 79: 198, 116: j1, 119: K1 }, { 30: 237, 67: m, 80: z, 81: W, 82: 172, 116: D, 117: T, 118: C }, e(X1, d, { 5: 238 }), e(S, [2, 102]), e(E, [2, 35]), { 43: 239, 44: F, 45: 40, 47: 41, 60: _, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 113: 42, 114: G, 115: P, 116: O }, { 10: d1, 18: 240 }, { 10: s1, 60: i1, 84: r1, 92: 241, 105: a1, 107: 242, 108: 243, 109: n1, 110: u1, 111: o1, 112: l1 }, { 10: s1, 60: i1, 84: r1, 92: 252, 104: [1, 253], 105: a1, 107: 242, 108: 243, 109: n1, 110: u1, 111: o1, 112: l1 }, { 10: s1, 60: i1, 84: r1, 92: 254, 104: [1, 255], 105: a1, 107: 242, 108: 243, 109: n1, 110: u1, 111: o1, 112: l1 }, { 105: [1, 256] }, { 10: s1, 60: i1, 84: r1, 92: 257, 105: a1, 107: 242, 108: 243, 109: n1, 110: u1, 111: o1, 112: l1 }, { 44: F, 47: 258, 60: _, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 113: 42, 114: G, 115: P, 116: O }, e(x, [2, 108]), { 80: [1, 259] }, { 80: [1, 260], 98: [1, 261] }, e(x, [2, 116]), e(x, [2, 118], { 10: [1, 262] }), e(x, [2, 119]), e(U, [2, 56]), e(p1, [2, 87]), e(U, [2, 57]), { 51: [1, 263], 67: m, 82: 219, 116: D, 117: T, 118: C }, e(U, [2, 64]), e(U, [2, 59]), e(U, [2, 60]), e(U, [2, 61]), { 109: [1, 264] }, e(U, [2, 63]), e(U, [2, 65]), { 66: [1, 265], 67: m, 82: 219, 116: D, 117: T, 118: C }, e(U, [2, 67]), e(U, [2, 68]), e(U, [2, 70]), e(U, [2, 69]), e(U, [2, 71]), e([10, 44, 60, 89, 102, 105, 106, 109, 111, 114, 115, 116], [2, 85]), e(V1, [2, 78]), { 31: [1, 266], 67: m, 82: 219, 116: D, 117: T, 118: C }, { 6: 11, 7: 12, 8: l, 9: A, 10: n, 11: g, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: B, 32: [1, 267], 33: 24, 34: f, 36: k, 38: Y, 42: 28, 43: 39, 44: F, 45: 40, 47: 41, 60: _, 84: b1, 85: N1, 86: j, 87: h1, 88: P1, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 113: 42, 114: G, 115: P, 116: O, 121: O1, 122: M1, 123: U1, 124: z1, 125: W1 }, e(A1, [2, 53]), { 43: 268, 44: F, 45: 40, 47: 41, 60: _, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 113: 42, 114: G, 115: P, 116: O }, e(x, [2, 121], { 106: w1 }), e(we, [2, 130], { 108: 270, 10: s1, 60: i1, 84: r1, 105: a1, 109: n1, 110: u1, 111: o1, 112: l1 }), e(Z, [2, 132]), e(Z, [2, 134]), e(Z, [2, 135]), e(Z, [2, 136]), e(Z, [2, 137]), e(Z, [2, 138]), e(Z, [2, 139]), e(Z, [2, 140]), e(Z, [2, 141]), e(x, [2, 122], { 106: w1 }), { 10: [1, 271] }, e(x, [2, 123], { 106: w1 }), { 10: [1, 272] }, e(Ie, [2, 129]), e(x, [2, 105], { 106: w1 }), e(x, [2, 106], { 113: 113, 44: F, 60: _, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 114: G, 115: P, 116: O }), e(x, [2, 110]), e(x, [2, 112], { 10: [1, 273] }), e(x, [2, 113]), { 98: [1, 274] }, { 51: [1, 275] }, { 62: [1, 276] }, { 66: [1, 277] }, { 8: $, 9: e1, 11: t1, 21: 278 }, e(E, [2, 34]), e(A1, [2, 52]), { 10: s1, 60: i1, 84: r1, 105: a1, 107: 279, 108: 243, 109: n1, 110: u1, 111: o1, 112: l1 }, e(Z, [2, 133]), { 14: T1, 44: C1, 60: E1, 89: S1, 101: 280, 105: y1, 106: x1, 109: F1, 111: _1, 114: B1, 115: v1, 116: L1, 120: 88 }, { 14: T1, 44: C1, 60: E1, 89: S1, 101: 281, 105: y1, 106: x1, 109: F1, 111: _1, 114: B1, 115: v1, 116: L1, 120: 88 }, { 98: [1, 282] }, e(x, [2, 120]), e(U, [2, 58]), { 30: 283, 67: m, 80: z, 81: W, 82: 172, 116: D, 117: T, 118: C }, e(U, [2, 66]), e(X1, d, { 5: 284 }), e(we, [2, 131], { 108: 270, 10: s1, 60: i1, 84: r1, 105: a1, 109: n1, 110: u1, 111: o1, 112: l1 }), e(x, [2, 126], { 120: 168, 10: [1, 285], 14: T1, 44: C1, 60: E1, 89: S1, 105: y1, 106: x1, 109: F1, 111: _1, 114: B1, 115: v1, 116: L1 }), e(x, [2, 127], { 120: 168, 10: [1, 286], 14: T1, 44: C1, 60: E1, 89: S1, 105: y1, 106: x1, 109: F1, 111: _1, 114: B1, 115: v1, 116: L1 }), e(x, [2, 114]), { 31: [1, 287], 67: m, 82: 219, 116: D, 117: T, 118: C }, { 6: 11, 7: 12, 8: l, 9: A, 10: n, 11: g, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: B, 32: [1, 288], 33: 24, 34: f, 36: k, 38: Y, 42: 28, 43: 39, 44: F, 45: 40, 47: 41, 60: _, 84: b1, 85: N1, 86: j, 87: h1, 88: P1, 89: L, 102: V, 105: I, 106: w, 109: R, 111: N, 113: 42, 114: G, 115: P, 116: O, 121: O1, 122: M1, 123: U1, 124: z1, 125: W1 }, { 10: s1, 60: i1, 84: r1, 92: 289, 105: a1, 107: 242, 108: 243, 109: n1, 110: u1, 111: o1, 112: l1 }, { 10: s1, 60: i1, 84: r1, 92: 290, 105: a1, 107: 242, 108: 243, 109: n1, 110: u1, 111: o1, 112: l1 }, e(U, [2, 62]), e(E, [2, 33]), e(x, [2, 124], { 106: w1 }), e(x, [2, 125], { 106: w1 })],
946
948
  defaultActions: {},
947
949
  parseError: /* @__PURE__ */ b(function(c, h) {
948
950
  if (h.recoverable)
@@ -953,65 +955,65 @@ You have to call mermaid.initialize.`
953
955
  }
954
956
  }, "parseError"),
955
957
  parse: /* @__PURE__ */ b(function(c) {
956
- var h = this, p = [0], u = [], x = [null], t = [], R1 = this.table, s = "", B = 0, Re = 0, We = 2, Ne = 1, Ke = t.slice.call(arguments, 1), M = Object.create(this.lexer), A1 = { yy: {} };
958
+ var h = this, p = [0], u = [], y = [null], t = [], G1 = this.table, s = "", v = 0, Re = 0, je = 2, Ne = 1, Ke = t.slice.call(arguments, 1), M = Object.create(this.lexer), k1 = { yy: {} };
957
959
  for (var J1 in this.yy)
958
- Object.prototype.hasOwnProperty.call(this.yy, J1) && (A1.yy[J1] = this.yy[J1]);
959
- M.setInput(c, A1.yy), A1.yy.lexer = M, A1.yy.parser = this, typeof M.yylloc > "u" && (M.yylloc = {});
960
+ Object.prototype.hasOwnProperty.call(this.yy, J1) && (k1.yy[J1] = this.yy[J1]);
961
+ M.setInput(c, k1.yy), k1.yy.lexer = M, k1.yy.parser = this, typeof M.yylloc > "u" && (M.yylloc = {});
960
962
  var Z1 = M.yylloc;
961
963
  t.push(Z1);
962
- var je = M.options && M.options.ranges;
963
- typeof A1.yy.parseError == "function" ? this.parseError = A1.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
964
- function Ye(H) {
965
- p.length = p.length - 2 * H, x.length = x.length - H, t.length = t.length - H;
964
+ var Ye = M.options && M.options.ranges;
965
+ typeof k1.yy.parseError == "function" ? this.parseError = k1.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
966
+ function He(X) {
967
+ p.length = p.length - 2 * X, y.length = y.length - X, t.length = t.length - X;
966
968
  }
967
- b(Ye, "popStack");
969
+ b(He, "popStack");
968
970
  function Ge() {
969
- var H;
970
- return H = u.pop() || M.lex() || Ne, typeof H != "number" && (H instanceof Array && (u = H, H = u.pop()), H = h.symbols_[H] || H), H;
971
+ var X;
972
+ return X = u.pop() || M.lex() || Ne, typeof X != "number" && (X instanceof Array && (u = X, X = u.pop()), X = h.symbols_[X] || X), X;
971
973
  }
972
974
  b(Ge, "lex");
973
- for (var j, k1, X, $1, w1 = {}, q1, c1, Pe, H1; ; ) {
974
- if (k1 = p[p.length - 1], this.defaultActions[k1] ? X = this.defaultActions[k1] : ((j === null || typeof j > "u") && (j = Ge()), X = R1[k1] && R1[k1][j]), typeof X > "u" || !X.length || !X[0]) {
975
+ for (var K, m1, Q, $1, R1 = {}, H1, c1, Pe, q1; ; ) {
976
+ if (m1 = p[p.length - 1], this.defaultActions[m1] ? Q = this.defaultActions[m1] : ((K === null || typeof K > "u") && (K = Ge()), Q = G1[m1] && G1[m1][K]), typeof Q > "u" || !Q.length || !Q[0]) {
975
977
  var ee = "";
976
- H1 = [];
977
- for (q1 in R1[k1])
978
- this.terminals_[q1] && q1 > We && H1.push("'" + this.terminals_[q1] + "'");
979
- M.showPosition ? ee = "Parse error on line " + (B + 1) + `:
978
+ q1 = [];
979
+ for (H1 in G1[m1])
980
+ this.terminals_[H1] && H1 > je && q1.push("'" + this.terminals_[H1] + "'");
981
+ M.showPosition ? ee = "Parse error on line " + (v + 1) + `:
980
982
  ` + M.showPosition() + `
981
- Expecting ` + H1.join(", ") + ", got '" + (this.terminals_[j] || j) + "'" : ee = "Parse error on line " + (B + 1) + ": Unexpected " + (j == Ne ? "end of input" : "'" + (this.terminals_[j] || j) + "'"), this.parseError(ee, {
983
+ Expecting ` + q1.join(", ") + ", got '" + (this.terminals_[K] || K) + "'" : ee = "Parse error on line " + (v + 1) + ": Unexpected " + (K == Ne ? "end of input" : "'" + (this.terminals_[K] || K) + "'"), this.parseError(ee, {
982
984
  text: M.match,
983
- token: this.terminals_[j] || j,
985
+ token: this.terminals_[K] || K,
984
986
  line: M.yylineno,
985
987
  loc: Z1,
986
- expected: H1
988
+ expected: q1
987
989
  });
988
990
  }
989
- if (X[0] instanceof Array && X.length > 1)
990
- throw new Error("Parse Error: multiple actions possible at state: " + k1 + ", token: " + j);
991
- switch (X[0]) {
991
+ if (Q[0] instanceof Array && Q.length > 1)
992
+ throw new Error("Parse Error: multiple actions possible at state: " + m1 + ", token: " + K);
993
+ switch (Q[0]) {
992
994
  case 1:
993
- p.push(j), x.push(M.yytext), t.push(M.yylloc), p.push(X[1]), j = null, Re = M.yyleng, s = M.yytext, B = M.yylineno, Z1 = M.yylloc;
995
+ p.push(K), y.push(M.yytext), t.push(M.yylloc), p.push(Q[1]), K = null, Re = M.yyleng, s = M.yytext, v = M.yylineno, Z1 = M.yylloc;
994
996
  break;
995
997
  case 2:
996
- if (c1 = this.productions_[X[1]][1], w1.$ = x[x.length - c1], w1._$ = {
998
+ if (c1 = this.productions_[Q[1]][1], R1.$ = y[y.length - c1], R1._$ = {
997
999
  first_line: t[t.length - (c1 || 1)].first_line,
998
1000
  last_line: t[t.length - 1].last_line,
999
1001
  first_column: t[t.length - (c1 || 1)].first_column,
1000
1002
  last_column: t[t.length - 1].last_column
1001
- }, je && (w1._$.range = [
1003
+ }, Ye && (R1._$.range = [
1002
1004
  t[t.length - (c1 || 1)].range[0],
1003
1005
  t[t.length - 1].range[1]
1004
- ]), $1 = this.performAction.apply(w1, [
1006
+ ]), $1 = this.performAction.apply(R1, [
1005
1007
  s,
1006
1008
  Re,
1007
- B,
1008
- A1.yy,
1009
- X[1],
1010
- x,
1009
+ v,
1010
+ k1.yy,
1011
+ Q[1],
1012
+ y,
1011
1013
  t
1012
1014
  ].concat(Ke)), typeof $1 < "u")
1013
1015
  return $1;
1014
- c1 && (p = p.slice(0, -1 * c1 * 2), x = x.slice(0, -1 * c1), t = t.slice(0, -1 * c1)), p.push(this.productions_[X[1]][0]), x.push(w1.$), t.push(w1._$), Pe = R1[p[p.length - 2]][p[p.length - 1]], p.push(Pe);
1016
+ c1 && (p = p.slice(0, -1 * c1 * 2), y = y.slice(0, -1 * c1), t = t.slice(0, -1 * c1)), p.push(this.productions_[Q[1]][0]), y.push(R1.$), t.push(R1._$), Pe = G1[p[p.length - 2]][p[p.length - 1]], p.push(Pe);
1015
1017
  break;
1016
1018
  case 3:
1017
1019
  return !0;
@@ -1019,7 +1021,7 @@ Expecting ` + H1.join(", ") + ", got '" + (this.terminals_[j] || j) + "'" : ee =
1019
1021
  }
1020
1022
  return !0;
1021
1023
  }, "parse")
1022
- }, ze = /* @__PURE__ */ (function() {
1024
+ }, We = /* @__PURE__ */ (function() {
1023
1025
  var f1 = {
1024
1026
  EOF: 1,
1025
1027
  parseError: /* @__PURE__ */ b(function(h, p) {
@@ -1050,13 +1052,13 @@ Expecting ` + H1.join(", ") + ", got '" + (this.terminals_[j] || j) + "'" : ee =
1050
1052
  this._input = c + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - h), this.offset -= h;
1051
1053
  var u = this.match.split(/(?:\r\n?|\n)/g);
1052
1054
  this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), p.length - 1 && (this.yylineno -= p.length - 1);
1053
- var x = this.yylloc.range;
1055
+ var y = this.yylloc.range;
1054
1056
  return this.yylloc = {
1055
1057
  first_line: this.yylloc.first_line,
1056
1058
  last_line: this.yylineno + 1,
1057
1059
  first_column: this.yylloc.first_column,
1058
1060
  last_column: p ? (p.length === u.length ? this.yylloc.first_column : 0) + u[u.length - p.length].length - p[0].length : this.yylloc.first_column - h
1059
- }, this.options.ranges && (this.yylloc.range = [x[0], x[0] + this.yyleng - h]), this.yyleng = this.yytext.length, this;
1061
+ }, this.options.ranges && (this.yylloc.range = [y[0], y[0] + this.yyleng - h]), this.yyleng = this.yytext.length, this;
1060
1062
  }, "unput"),
1061
1063
  // When called from action, caches matched text and appends it on next action
1062
1064
  more: /* @__PURE__ */ b(function() {
@@ -1097,8 +1099,8 @@ Expecting ` + H1.join(", ") + ", got '" + (this.terminals_[j] || j) + "'" : ee =
1097
1099
  }, "showPosition"),
1098
1100
  // test the lexed token: return FALSE when not a match, otherwise return token
1099
1101
  test_match: /* @__PURE__ */ b(function(c, h) {
1100
- var p, u, x;
1101
- if (this.options.backtrack_lexer && (x = {
1102
+ var p, u, y;
1103
+ if (this.options.backtrack_lexer && (y = {
1102
1104
  yylineno: this.yylineno,
1103
1105
  yylloc: {
1104
1106
  first_line: this.yylloc.first_line,
@@ -1117,7 +1119,7 @@ Expecting ` + H1.join(", ") + ", got '" + (this.terminals_[j] || j) + "'" : ee =
1117
1119
  yy: this.yy,
1118
1120
  conditionStack: this.conditionStack.slice(0),
1119
1121
  done: this.done
1120
- }, this.options.ranges && (x.yylloc.range = this.yylloc.range.slice(0))), u = c[0].match(/(?:\r\n?|\n).*/g), u && (this.yylineno += u.length), this.yylloc = {
1122
+ }, this.options.ranges && (y.yylloc.range = this.yylloc.range.slice(0))), u = c[0].match(/(?:\r\n?|\n).*/g), u && (this.yylineno += u.length), this.yylloc = {
1121
1123
  first_line: this.yylloc.last_line,
1122
1124
  last_line: this.yylineno + 1,
1123
1125
  first_column: this.yylloc.last_column,
@@ -1125,8 +1127,8 @@ Expecting ` + H1.join(", ") + ", got '" + (this.terminals_[j] || j) + "'" : ee =
1125
1127
  }, this.yytext += c[0], this.match += c[0], this.matches = c, 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(c[0].length), this.matched += c[0], p = this.performAction.call(this, this.yy, this, h, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), p)
1126
1128
  return p;
1127
1129
  if (this._backtrack) {
1128
- for (var t in x)
1129
- this[t] = x[t];
1130
+ for (var t in y)
1131
+ this[t] = y[t];
1130
1132
  return !1;
1131
1133
  }
1132
1134
  return !1;
@@ -1138,10 +1140,10 @@ Expecting ` + H1.join(", ") + ", got '" + (this.terminals_[j] || j) + "'" : ee =
1138
1140
  this._input || (this.done = !0);
1139
1141
  var c, h, p, u;
1140
1142
  this._more || (this.yytext = "", this.match = "");
1141
- for (var x = this._currentRules(), t = 0; t < x.length; t++)
1142
- if (p = this._input.match(this.rules[x[t]]), p && (!h || p[0].length > h[0].length)) {
1143
+ for (var y = this._currentRules(), t = 0; t < y.length; t++)
1144
+ if (p = this._input.match(this.rules[y[t]]), p && (!h || p[0].length > h[0].length)) {
1143
1145
  if (h = p, u = t, this.options.backtrack_lexer) {
1144
- if (c = this.test_match(p, x[t]), c !== !1)
1146
+ if (c = this.test_match(p, y[t]), c !== !1)
1145
1147
  return c;
1146
1148
  if (this._backtrack) {
1147
1149
  h = !1;
@@ -1151,7 +1153,7 @@ Expecting ` + H1.join(", ") + ", got '" + (this.terminals_[j] || j) + "'" : ee =
1151
1153
  } else if (!this.options.flex)
1152
1154
  break;
1153
1155
  }
1154
- return h ? (c = this.test_match(h, x[u]), c !== !1 ? c : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
1156
+ return h ? (c = this.test_match(h, y[u]), c !== !1 ? c : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
1155
1157
  ` + this.showPosition(), {
1156
1158
  text: "",
1157
1159
  token: null,
@@ -1189,7 +1191,7 @@ Expecting ` + H1.join(", ") + ", got '" + (this.terminals_[j] || j) + "'" : ee =
1189
1191
  return this.conditionStack.length;
1190
1192
  }, "stateStackSize"),
1191
1193
  options: {},
1192
- performAction: /* @__PURE__ */ b(function(h, p, u, x) {
1194
+ performAction: /* @__PURE__ */ b(function(h, p, u, y) {
1193
1195
  switch (u) {
1194
1196
  case 0:
1195
1197
  return this.begin("acc_title"), 34;
@@ -1282,11 +1284,11 @@ Expecting ` + H1.join(", ") + ", got '" + (this.terminals_[j] || j) + "'" : ee =
1282
1284
  case 37:
1283
1285
  return h.lex.firstGraph() && this.begin("dir"), 12;
1284
1286
  case 38:
1285
- return 27;
1287
+ return h.lex.firstGraph() && this.begin("dir"), 12;
1286
1288
  case 39:
1287
- return 32;
1289
+ return 27;
1288
1290
  case 40:
1289
- return 98;
1291
+ return 32;
1290
1292
  case 41:
1291
1293
  return 98;
1292
1294
  case 42:
@@ -1294,9 +1296,9 @@ Expecting ` + H1.join(", ") + ", got '" + (this.terminals_[j] || j) + "'" : ee =
1294
1296
  case 43:
1295
1297
  return 98;
1296
1298
  case 44:
1297
- return this.popState(), 13;
1299
+ return 98;
1298
1300
  case 45:
1299
- return this.popState(), 14;
1301
+ return this.popState(), 13;
1300
1302
  case 46:
1301
1303
  return this.popState(), 14;
1302
1304
  case 47:
@@ -1316,145 +1318,147 @@ Expecting ` + H1.join(", ") + ", got '" + (this.terminals_[j] || j) + "'" : ee =
1316
1318
  case 54:
1317
1319
  return this.popState(), 14;
1318
1320
  case 55:
1319
- return 121;
1321
+ return this.popState(), 14;
1320
1322
  case 56:
1321
- return 122;
1323
+ return 121;
1322
1324
  case 57:
1323
- return 123;
1325
+ return 122;
1324
1326
  case 58:
1325
- return 124;
1327
+ return 123;
1326
1328
  case 59:
1327
- return 125;
1329
+ return 124;
1328
1330
  case 60:
1329
- return 78;
1331
+ return 125;
1330
1332
  case 61:
1331
- return 105;
1333
+ return 78;
1332
1334
  case 62:
1333
- return 111;
1335
+ return 105;
1334
1336
  case 63:
1335
- return 46;
1337
+ return 111;
1336
1338
  case 64:
1337
- return 60;
1339
+ return 46;
1338
1340
  case 65:
1339
- return 44;
1341
+ return 60;
1340
1342
  case 66:
1341
- return 8;
1343
+ return 44;
1342
1344
  case 67:
1343
- return 106;
1345
+ return 8;
1344
1346
  case 68:
1345
- return 115;
1347
+ return 106;
1346
1348
  case 69:
1347
- return this.popState(), 77;
1349
+ return 115;
1348
1350
  case 70:
1349
- return this.pushState("edgeText"), 75;
1351
+ return this.popState(), 77;
1350
1352
  case 71:
1351
- return 119;
1353
+ return this.pushState("edgeText"), 75;
1352
1354
  case 72:
1353
- return this.popState(), 77;
1355
+ return 119;
1354
1356
  case 73:
1355
- return this.pushState("thickEdgeText"), 75;
1357
+ return this.popState(), 77;
1356
1358
  case 74:
1357
- return 119;
1359
+ return this.pushState("thickEdgeText"), 75;
1358
1360
  case 75:
1359
- return this.popState(), 77;
1361
+ return 119;
1360
1362
  case 76:
1361
- return this.pushState("dottedEdgeText"), 75;
1363
+ return this.popState(), 77;
1362
1364
  case 77:
1363
- return 119;
1365
+ return this.pushState("dottedEdgeText"), 75;
1364
1366
  case 78:
1365
- return 77;
1367
+ return 119;
1366
1368
  case 79:
1367
- return this.popState(), 53;
1369
+ return 77;
1368
1370
  case 80:
1369
- return "TEXT";
1371
+ return this.popState(), 53;
1370
1372
  case 81:
1371
- return this.pushState("ellipseText"), 52;
1373
+ return "TEXT";
1372
1374
  case 82:
1373
- return this.popState(), 55;
1375
+ return this.pushState("ellipseText"), 52;
1374
1376
  case 83:
1375
- return this.pushState("text"), 54;
1377
+ return this.popState(), 55;
1376
1378
  case 84:
1377
- return this.popState(), 57;
1379
+ return this.pushState("text"), 54;
1378
1380
  case 85:
1379
- return this.pushState("text"), 56;
1381
+ return this.popState(), 57;
1380
1382
  case 86:
1381
- return 58;
1383
+ return this.pushState("text"), 56;
1382
1384
  case 87:
1383
- return this.pushState("text"), 67;
1385
+ return 58;
1384
1386
  case 88:
1385
- return this.popState(), 64;
1387
+ return this.pushState("text"), 67;
1386
1388
  case 89:
1387
- return this.pushState("text"), 63;
1389
+ return this.popState(), 64;
1388
1390
  case 90:
1389
- return this.popState(), 49;
1391
+ return this.pushState("text"), 63;
1390
1392
  case 91:
1391
- return this.pushState("text"), 48;
1393
+ return this.popState(), 49;
1392
1394
  case 92:
1393
- return this.popState(), 69;
1395
+ return this.pushState("text"), 48;
1394
1396
  case 93:
1395
- return this.popState(), 71;
1397
+ return this.popState(), 69;
1396
1398
  case 94:
1397
- return 117;
1399
+ return this.popState(), 71;
1398
1400
  case 95:
1399
- return this.pushState("trapText"), 68;
1401
+ return 117;
1400
1402
  case 96:
1401
- return this.pushState("trapText"), 70;
1403
+ return this.pushState("trapText"), 68;
1402
1404
  case 97:
1403
- return 118;
1405
+ return this.pushState("trapText"), 70;
1404
1406
  case 98:
1405
- return 67;
1407
+ return 118;
1406
1408
  case 99:
1407
- return 90;
1409
+ return 67;
1408
1410
  case 100:
1409
- return "SEP";
1411
+ return 90;
1410
1412
  case 101:
1411
- return 89;
1413
+ return "SEP";
1412
1414
  case 102:
1413
- return 115;
1415
+ return 89;
1414
1416
  case 103:
1415
- return 111;
1417
+ return 115;
1416
1418
  case 104:
1417
- return 44;
1419
+ return 111;
1418
1420
  case 105:
1419
- return 109;
1421
+ return 44;
1420
1422
  case 106:
1421
- return 114;
1423
+ return 109;
1422
1424
  case 107:
1423
- return 116;
1425
+ return 114;
1424
1426
  case 108:
1425
- return this.popState(), 62;
1427
+ return 116;
1426
1428
  case 109:
1427
- return this.pushState("text"), 62;
1429
+ return this.popState(), 62;
1428
1430
  case 110:
1429
- return this.popState(), 51;
1431
+ return this.pushState("text"), 62;
1430
1432
  case 111:
1431
- return this.pushState("text"), 50;
1433
+ return this.popState(), 51;
1432
1434
  case 112:
1433
- return this.popState(), 31;
1435
+ return this.pushState("text"), 50;
1434
1436
  case 113:
1435
- return this.pushState("text"), 29;
1437
+ return this.popState(), 31;
1436
1438
  case 114:
1437
- return this.popState(), 66;
1439
+ return this.pushState("text"), 29;
1438
1440
  case 115:
1439
- return this.pushState("text"), 65;
1441
+ return this.popState(), 66;
1440
1442
  case 116:
1441
- return "TEXT";
1443
+ return this.pushState("text"), 65;
1442
1444
  case 117:
1443
- return "QUOTE";
1445
+ return "TEXT";
1444
1446
  case 118:
1445
- return 9;
1447
+ return "QUOTE";
1446
1448
  case 119:
1447
- return 10;
1449
+ return 9;
1448
1450
  case 120:
1451
+ return 10;
1452
+ case 121:
1449
1453
  return 11;
1450
1454
  }
1451
1455
  }, "anonymous"),
1452
- rules: [/^(?:accTitle\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*\{\s*)/, /^(?:[\}])/, /^(?:[^\}]*)/, /^(?:@\{)/, /^(?:["])/, /^(?:["])/, /^(?:[^\"]+)/, /^(?:[^}^"]+)/, /^(?:\})/, /^(?:call[\s]+)/, /^(?:\([\s]*\))/, /^(?:\()/, /^(?:[^(]*)/, /^(?:\))/, /^(?:[^)]*)/, /^(?:[^`"]+)/, /^(?:[`]["])/, /^(?:["][`])/, /^(?:[^"]+)/, /^(?:["])/, /^(?:["])/, /^(?:style\b)/, /^(?:default\b)/, /^(?:linkStyle\b)/, /^(?:interpolate\b)/, /^(?:classDef\b)/, /^(?:class\b)/, /^(?:href[\s])/, /^(?:click[\s]+)/, /^(?:[\s\n])/, /^(?:[^\s\n]*)/, /^(?:flowchart-elk\b)/, /^(?:graph\b)/, /^(?:flowchart\b)/, /^(?:subgraph\b)/, /^(?:end\b\s*)/, /^(?:_self\b)/, /^(?:_blank\b)/, /^(?:_parent\b)/, /^(?:_top\b)/, /^(?:(\r?\n)*\s*\n)/, /^(?:\s*LR\b)/, /^(?:\s*RL\b)/, /^(?:\s*TB\b)/, /^(?:\s*BT\b)/, /^(?:\s*TD\b)/, /^(?:\s*BR\b)/, /^(?:\s*<)/, /^(?:\s*>)/, /^(?:\s*\^)/, /^(?:\s*v\b)/, /^(?:.*direction\s+TB[^\n]*)/, /^(?:.*direction\s+BT[^\n]*)/, /^(?:.*direction\s+RL[^\n]*)/, /^(?:.*direction\s+LR[^\n]*)/, /^(?:.*direction\s+TD[^\n]*)/, /^(?:[^\s\"]+@(?=[^\{\"]))/, /^(?:[0-9]+)/, /^(?:#)/, /^(?::::)/, /^(?::)/, /^(?:&)/, /^(?:;)/, /^(?:,)/, /^(?:\*)/, /^(?:\s*[xo<]?--+[-xo>]\s*)/, /^(?:\s*[xo<]?--\s*)/, /^(?:[^-]|-(?!-)+)/, /^(?:\s*[xo<]?==+[=xo>]\s*)/, /^(?:\s*[xo<]?==\s*)/, /^(?:[^=]|=(?!))/, /^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/, /^(?:\s*[xo<]?-\.\s*)/, /^(?:[^\.]|\.(?!))/, /^(?:\s*~~[\~]+\s*)/, /^(?:[-/\)][\)])/, /^(?:[^\(\)\[\]\{\}]|!\)+)/, /^(?:\(-)/, /^(?:\]\))/, /^(?:\(\[)/, /^(?:\]\])/, /^(?:\[\[)/, /^(?:\[\|)/, /^(?:>)/, /^(?:\)\])/, /^(?:\[\()/, /^(?:\)\)\))/, /^(?:\(\(\()/, /^(?:[\\(?=\])][\]])/, /^(?:\/(?=\])\])/, /^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/, /^(?:\[\/)/, /^(?:\[\\)/, /^(?:<)/, /^(?:>)/, /^(?:\^)/, /^(?:\\\|)/, /^(?:v\b)/, /^(?:\*)/, /^(?:#)/, /^(?:&)/, /^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/, /^(?:-)/, /^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/, /^(?:\|)/, /^(?:\|)/, /^(?:\))/, /^(?:\()/, /^(?:\])/, /^(?:\[)/, /^(?:(\}))/, /^(?:\{)/, /^(?:[^\[\]\(\)\{\}\|\"]+)/, /^(?:")/, /^(?:(\r?\n)+)/, /^(?:\s)/, /^(?:$)/],
1453
- conditions: { shapeDataEndBracket: { rules: [21, 24, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], inclusive: !1 }, shapeDataStr: { rules: [9, 10, 21, 24, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], inclusive: !1 }, shapeData: { rules: [8, 11, 12, 21, 24, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], inclusive: !1 }, callbackargs: { rules: [17, 18, 21, 24, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], inclusive: !1 }, callbackname: { rules: [14, 15, 16, 21, 24, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], inclusive: !1 }, href: { rules: [21, 24, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], inclusive: !1 }, click: { rules: [21, 24, 33, 34, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], inclusive: !1 }, dottedEdgeText: { rules: [21, 24, 75, 77, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], inclusive: !1 }, thickEdgeText: { rules: [21, 24, 72, 74, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], inclusive: !1 }, edgeText: { rules: [21, 24, 69, 71, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], inclusive: !1 }, trapText: { rules: [21, 24, 78, 81, 83, 85, 89, 91, 92, 93, 94, 95, 96, 109, 111, 113, 115], inclusive: !1 }, ellipseText: { rules: [21, 24, 78, 79, 80, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], inclusive: !1 }, text: { rules: [21, 24, 78, 81, 82, 83, 84, 85, 88, 89, 90, 91, 95, 96, 108, 109, 110, 111, 112, 113, 114, 115, 116], inclusive: !1 }, vertex: { rules: [21, 24, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], inclusive: !1 }, dir: { rules: [21, 24, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], inclusive: !1 }, acc_descr_multiline: { rules: [5, 6, 21, 24, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], inclusive: !1 }, acc_descr: { rules: [3, 21, 24, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], inclusive: !1 }, acc_title: { rules: [1, 21, 24, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], inclusive: !1 }, md_string: { rules: [19, 20, 21, 24, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], inclusive: !1 }, string: { rules: [21, 22, 23, 24, 78, 81, 83, 85, 89, 91, 95, 96, 109, 111, 113, 115], inclusive: !1 }, INITIAL: { rules: [0, 2, 4, 7, 13, 21, 24, 25, 26, 27, 28, 29, 30, 31, 32, 35, 36, 37, 38, 39, 40, 41, 42, 43, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 72, 73, 75, 76, 78, 81, 83, 85, 86, 87, 89, 91, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 109, 111, 113, 115, 117, 118, 119, 120], inclusive: !0 } }
1456
+ rules: [/^(?:accTitle\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*\{\s*)/, /^(?:[\}])/, /^(?:[^\}]*)/, /^(?:@\{)/, /^(?:["])/, /^(?:["])/, /^(?:[^\"]+)/, /^(?:[^}^"]+)/, /^(?:\})/, /^(?:call[\s]+)/, /^(?:\([\s]*\))/, /^(?:\()/, /^(?:[^(]*)/, /^(?:\))/, /^(?:[^)]*)/, /^(?:[^`"]+)/, /^(?:[`]["])/, /^(?:["][`])/, /^(?:[^"]+)/, /^(?:["])/, /^(?:["])/, /^(?:style\b)/, /^(?:default\b)/, /^(?:linkStyle\b)/, /^(?:interpolate\b)/, /^(?:classDef\b)/, /^(?:class\b)/, /^(?:href[\s])/, /^(?:click[\s]+)/, /^(?:[\s\n])/, /^(?:[^\s\n]*)/, /^(?:flowchart-elk\b)/, /^(?:swimlane-beta\b)/, /^(?:graph\b)/, /^(?:flowchart\b)/, /^(?:subgraph\b)/, /^(?:end\b\s*)/, /^(?:_self\b)/, /^(?:_blank\b)/, /^(?:_parent\b)/, /^(?:_top\b)/, /^(?:(\r?\n)*\s*\n)/, /^(?:\s*LR\b)/, /^(?:\s*RL\b)/, /^(?:\s*TB\b)/, /^(?:\s*BT\b)/, /^(?:\s*TD\b)/, /^(?:\s*BR\b)/, /^(?:\s*<)/, /^(?:\s*>)/, /^(?:\s*\^)/, /^(?:\s*v\b)/, /^(?:.*direction\s+TB[^\n]*)/, /^(?:.*direction\s+BT[^\n]*)/, /^(?:.*direction\s+RL[^\n]*)/, /^(?:.*direction\s+LR[^\n]*)/, /^(?:.*direction\s+TD[^\n]*)/, /^(?:[^\s\"]+@(?=[^\{\"]))/, /^(?:[0-9]+)/, /^(?:#)/, /^(?::::)/, /^(?::)/, /^(?:&)/, /^(?:;)/, /^(?:,)/, /^(?:\*)/, /^(?:\s*[xo<]?--+[-xo>]\s*)/, /^(?:\s*[xo<]?--\s*)/, /^(?:[^-]|-(?!-)+)/, /^(?:\s*[xo<]?==+[=xo>]\s*)/, /^(?:\s*[xo<]?==\s*)/, /^(?:[^=]|=(?!))/, /^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/, /^(?:\s*[xo<]?-\.\s*)/, /^(?:[^\.]|\.(?!))/, /^(?:\s*~~[\~]+\s*)/, /^(?:[-/\)][\)])/, /^(?:[^\(\)\[\]\{\}]|!\)+)/, /^(?:\(-)/, /^(?:\]\))/, /^(?:\(\[)/, /^(?:\]\])/, /^(?:\[\[)/, /^(?:\[\|)/, /^(?:>)/, /^(?:\)\])/, /^(?:\[\()/, /^(?:\)\)\))/, /^(?:\(\(\()/, /^(?:[\\(?=\])][\]])/, /^(?:\/(?=\])\])/, /^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/, /^(?:\[\/)/, /^(?:\[\\)/, /^(?:<)/, /^(?:>)/, /^(?:\^)/, /^(?:\\\|)/, /^(?:v\b)/, /^(?:\*)/, /^(?:#)/, /^(?:&)/, /^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/, /^(?:-)/, /^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/, /^(?:\|)/, /^(?:\|)/, /^(?:\))/, /^(?:\()/, /^(?:\])/, /^(?:\[)/, /^(?:(\}))/, /^(?:\{)/, /^(?:[^\[\]\(\)\{\}\|\"]+)/, /^(?:")/, /^(?:(\r?\n)+)/, /^(?:\s)/, /^(?:$)/],
1457
+ conditions: { shapeDataEndBracket: { rules: [21, 24, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], inclusive: !1 }, shapeDataStr: { rules: [9, 10, 21, 24, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], inclusive: !1 }, shapeData: { rules: [8, 11, 12, 21, 24, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], inclusive: !1 }, callbackargs: { rules: [17, 18, 21, 24, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], inclusive: !1 }, callbackname: { rules: [14, 15, 16, 21, 24, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], inclusive: !1 }, href: { rules: [21, 24, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], inclusive: !1 }, click: { rules: [21, 24, 33, 34, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], inclusive: !1 }, dottedEdgeText: { rules: [21, 24, 76, 78, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], inclusive: !1 }, thickEdgeText: { rules: [21, 24, 73, 75, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], inclusive: !1 }, edgeText: { rules: [21, 24, 70, 72, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], inclusive: !1 }, trapText: { rules: [21, 24, 79, 82, 84, 86, 90, 92, 93, 94, 95, 96, 97, 110, 112, 114, 116], inclusive: !1 }, ellipseText: { rules: [21, 24, 79, 80, 81, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], inclusive: !1 }, text: { rules: [21, 24, 79, 82, 83, 84, 85, 86, 89, 90, 91, 92, 96, 97, 109, 110, 111, 112, 113, 114, 115, 116, 117], inclusive: !1 }, vertex: { rules: [21, 24, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], inclusive: !1 }, dir: { rules: [21, 24, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], inclusive: !1 }, acc_descr_multiline: { rules: [5, 6, 21, 24, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], inclusive: !1 }, acc_descr: { rules: [3, 21, 24, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], inclusive: !1 }, acc_title: { rules: [1, 21, 24, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], inclusive: !1 }, md_string: { rules: [19, 20, 21, 24, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], inclusive: !1 }, string: { rules: [21, 22, 23, 24, 79, 82, 84, 86, 90, 92, 96, 97, 110, 112, 114, 116], inclusive: !1 }, INITIAL: { rules: [0, 2, 4, 7, 13, 21, 24, 25, 26, 27, 28, 29, 30, 31, 32, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 73, 74, 76, 77, 79, 82, 84, 86, 87, 88, 90, 92, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 110, 112, 114, 116, 118, 119, 120, 121], inclusive: !0 } }
1454
1458
  };
1455
1459
  return f1;
1456
1460
  })();
1457
- Q1.lexer = ze;
1461
+ Q1.lexer = We;
1458
1462
  function Y1() {
1459
1463
  this.yy = {};
1460
1464
  }
@@ -1467,10 +1471,10 @@ Ue.parse = (e) => {
1467
1471
  `);
1468
1472
  return Me.parse(i);
1469
1473
  };
1470
- var mt = Ue, Tt = /* @__PURE__ */ b((e, i) => {
1471
- const r = pt, a = r(e, "r"), o = r(e, "g"), d = r(e, "b");
1472
- return lt(a, o, d, i);
1473
- }, "fade"), Ct = /* @__PURE__ */ b((e) => `.label {
1474
+ var Tt = Ue, Ct = /* @__PURE__ */ b((e, i) => {
1475
+ const r = gt, a = r(e, "r"), o = r(e, "g"), d = r(e, "b");
1476
+ return pt(a, o, d, i);
1477
+ }, "fade"), Et = /* @__PURE__ */ b((e) => `.label {
1474
1478
  font-family: ${e.fontFamily};
1475
1479
  color: ${e.nodeTextColor || e.textColor};
1476
1480
  }
@@ -1501,12 +1505,6 @@ var mt = Ue, Tt = /* @__PURE__ */ b((e, i) => {
1501
1505
  .rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label {
1502
1506
  text-anchor: middle;
1503
1507
  }
1504
- // .flowchart-label .text-outer-tspan {
1505
- // text-anchor: middle;
1506
- // }
1507
- // .flowchart-label .text-inner-tspan {
1508
- // text-anchor: start;
1509
- // }
1510
1508
 
1511
1509
  .node .katex path {
1512
1510
  fill: #000;
@@ -1557,7 +1555,7 @@ var mt = Ue, Tt = /* @__PURE__ */ b((e, i) => {
1557
1555
 
1558
1556
  /* For html labels only */
1559
1557
  .labelBkg {
1560
- background-color: ${Tt(e.edgeLabelBackground, 0.5)};
1558
+ background-color: ${Ct(e.edgeLabelBackground, 0.5)};
1561
1559
  // background-color:
1562
1560
  }
1563
1561
 
@@ -1617,18 +1615,30 @@ var mt = Ue, Tt = /* @__PURE__ */ b((e, i) => {
1617
1615
  text-align: center;
1618
1616
  }
1619
1617
  ${qe()}
1620
- `, "getStyles"), Dt = Ct, Bt = {
1621
- parser: mt,
1618
+ `, "getStyles"), St = Et, ze = /* @__PURE__ */ b(({
1619
+ defaultLayout: e,
1620
+ styles: i = St
1621
+ } = {}) => ({
1622
+ parser: Tt,
1622
1623
  get db() {
1623
- return new gt();
1624
+ return new At();
1624
1625
  },
1625
- renderer: kt,
1626
- styles: Dt,
1627
- init: /* @__PURE__ */ b((e) => {
1628
- e.flowchart || (e.flowchart = {}), e.layout && Oe({ layout: e.layout }), e.flowchart.arrowMarkerAbsolute = e.arrowMarkerAbsolute, Oe({ flowchart: { arrowMarkerAbsolute: e.arrowMarkerAbsolute } });
1626
+ renderer: Dt,
1627
+ styles: i,
1628
+ init: /* @__PURE__ */ b((r) => {
1629
+ r.flowchart || (r.flowchart = {});
1630
+ const a = Je().layout ?? e ?? r.layout;
1631
+ a && Oe({ layout: a }), r.flowchart.arrowMarkerAbsolute = r.arrowMarkerAbsolute, Oe({ flowchart: { arrowMarkerAbsolute: r.arrowMarkerAbsolute } });
1629
1632
  }, "init")
1630
- };
1633
+ }), "createFlowDiagram"), yt = ze();
1634
+ const Vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1635
+ __proto__: null,
1636
+ createFlowDiagram: ze,
1637
+ diagram: yt
1638
+ }, Symbol.toStringTag, { value: "Module" }));
1631
1639
  export {
1632
- Bt as diagram
1640
+ ze as c,
1641
+ Vt as f,
1642
+ St as s
1633
1643
  };
1634
- //# sourceMappingURL=flowDiagram-I6XJVG4X-D9PLm9Od.js.map
1644
+ //# sourceMappingURL=flowDiagram-UKHOOZJN-urFG2I71.js.map