@ucap-llm/ai-ui 1.1.20 → 1.1.22

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 (69) hide show
  1. package/_basePickBy-49aBLVXj.mjs +151 -0
  2. package/_baseUniq-Duw-LCxN.mjs +418 -0
  3. package/ai-ui.es.js +5 -5
  4. package/ai-ui.umd.js +441 -398
  5. package/{arc-e33cf4bd.mjs → arc-CxnBoKcf.mjs} +3 -5
  6. package/architecture-4AB2E3PP-DpATI33S.mjs +5 -0
  7. package/{architectureDiagram-IEHRJDOE-8c0644d3.mjs → architectureDiagram-IEHRJDOE-CaoKd3s2.mjs} +774 -781
  8. package/{blockDiagram-JOT3LUYC-2e03b1f8.mjs → blockDiagram-JOT3LUYC-Dno4VG8f.mjs} +17 -21
  9. package/{c4Diagram-VJAJSXHY-0d7e02b1.mjs → c4Diagram-VJAJSXHY-D5HK6aXG.mjs} +45 -47
  10. package/channel-CjgQSUhn.mjs +5 -0
  11. package/{chunk-4BMEZGHF-c55a79e8.mjs → chunk-4BMEZGHF-B5q96F5j.mjs} +1 -1
  12. package/{chunk-A2AXSNBT-72cb8e03.mjs → chunk-A2AXSNBT-CwIw1dro.mjs} +31 -32
  13. package/{chunk-AEK57VVT-103a8016.mjs → chunk-AEK57VVT-CgqpfRdv.mjs} +29 -30
  14. package/{chunk-D6G4REZN-eb0c0a03.mjs → chunk-D6G4REZN-BuQQgKKf.mjs} +24 -24
  15. package/chunk-RZ5BOZE2-nBulgjak.mjs +24 -0
  16. package/{chunk-XZIHB7SX-697eddab.mjs → chunk-XZIHB7SX-ChfFX5tX.mjs} +1 -1
  17. package/classDiagram-GIVACNV2-DW4s6Pgr.mjs +16 -0
  18. package/classDiagram-v2-COTLJTTW-DW4s6Pgr.mjs +16 -0
  19. package/{clone-e06e1908.mjs → clone-BWxZJOIB.mjs} +1 -1
  20. package/{cytoscape.esm-9ffb4bbe.mjs → cytoscape.esm-D1A2YP3J.mjs} +133 -240
  21. package/{dagre-OKDRZEBW-1380cf0d.mjs → dagre-OKDRZEBW-BF7VSsgY.mjs} +25 -26
  22. package/{diagram-SSKATNLV-1e22cab7.mjs → diagram-SSKATNLV-BHV-tmQz.mjs} +48 -52
  23. package/{diagram-VNBRO52H-63b9b854.mjs → diagram-VNBRO52H-DhnmXzVl.mjs} +31 -35
  24. package/{erDiagram-Q7BY3M3F-6f4f40c6.mjs → erDiagram-Q7BY3M3F-yoOr4S3e.mjs} +32 -34
  25. package/{flowDiagram-4HSFHLVR-217f422a.mjs → flowDiagram-4HSFHLVR-Dypn-7OY.mjs} +21 -23
  26. package/{ganttDiagram-APWFNJXF-b1c138fc.mjs → ganttDiagram-APWFNJXF-Bpg6PwzQ.mjs} +933 -961
  27. package/gitGraph-O2Q2CXLX-B57Ivesv.mjs +5 -0
  28. package/{gitGraphDiagram-7IBYFJ6S-a40cd00c.mjs → gitGraphDiagram-7IBYFJ6S-C2SKSevj.mjs} +27 -31
  29. package/{graph-c2e1b9d5.mjs → graph-BqoU6xY2.mjs} +7 -9
  30. package/{index-4283477e.mjs → index-LXAHF7dZ.mjs} +56792 -32545
  31. package/info-4N47QTOZ-rUYWBWKH.mjs +5 -0
  32. package/infoDiagram-PH2N3AL5-Dwh9BN3B.mjs +22 -0
  33. package/{journeyDiagram-U35MCT3I-ea34e89d.mjs → journeyDiagram-U35MCT3I-BuJo6oNZ.mjs} +26 -28
  34. package/{kanban-definition-NDS4AKOZ-3dc1bdfc.mjs → kanban-definition-NDS4AKOZ-3bBL0X_A.mjs} +22 -23
  35. package/{layout-b7402112.mjs → layout-UCl5QdSx.mjs} +288 -308
  36. package/{linear-6028b26a.mjs → linear-5kjmVbWx.mjs} +136 -160
  37. package/{mermaid-parser.core-89f41f6f.mjs → mermaid-parser.core-BTQeWTCL.mjs} +2510 -2520
  38. package/{mindmap-definition-ALO5MXBD-cf0036bd.mjs → mindmap-definition-ALO5MXBD-pyGAc115.mjs} +309 -311
  39. package/{ordinal-980380c7.mjs → ordinal-C0oynhte.mjs} +4 -8
  40. package/package.json +2 -2
  41. package/packet-KVYON367-B0aEJOd2.mjs +5 -0
  42. package/pie-R6RNRRYF-mat_xgAT.mjs +5 -0
  43. package/pieDiagram-IB7DONF6-Dfr5jCmu.mjs +161 -0
  44. package/{quadrantDiagram-7GDLP6J5-4e41575d.mjs → quadrantDiagram-7GDLP6J5-CUP0tYJI.mjs} +28 -31
  45. package/radar-MK3ICKWK-ae8hsHN1.mjs +5 -0
  46. package/{requirementDiagram-KVF5MWMF-edfb0543.mjs → requirementDiagram-KVF5MWMF-O1db62rc.mjs} +47 -49
  47. package/{sankeyDiagram-QLVOVGJD-c0853822.mjs → sankeyDiagram-QLVOVGJD-CCf-MSR0.mjs} +113 -131
  48. package/{sequenceDiagram-X6HHIX6F-96ff1e7c.mjs → sequenceDiagram-X6HHIX6F-CrB4QPFZ.mjs} +40 -42
  49. package/{stateDiagram-DGXRK772-7c6ceb1c.mjs → stateDiagram-DGXRK772-DWFrvHEL.mjs} +8 -12
  50. package/stateDiagram-v2-YXO3MK2T-BuEm2W4g.mjs +16 -0
  51. package/style.css +10 -1
  52. package/{timeline-definition-BDJGKUSR-23f3d39c.mjs → timeline-definition-BDJGKUSR-ThsfvZPa.mjs} +11 -13
  53. package/{xychartDiagram-VJFVF3MP-9b2268b5.mjs → xychartDiagram-VJFVF3MP-D7Ns77UK.mjs} +161 -163
  54. package/_basePickBy-576eaf6e.mjs +0 -153
  55. package/_baseUniq-83e8b0cb.mjs +0 -440
  56. package/architecture-4AB2E3PP-1faad353.mjs +0 -10
  57. package/channel-283b31f1.mjs +0 -5
  58. package/chunk-RZ5BOZE2-97e0c31b.mjs +0 -24
  59. package/classDiagram-GIVACNV2-306a98b6.mjs +0 -18
  60. package/classDiagram-v2-COTLJTTW-306a98b6.mjs +0 -18
  61. package/gitGraph-O2Q2CXLX-804a8ebe.mjs +0 -10
  62. package/info-4N47QTOZ-6f3c3677.mjs +0 -10
  63. package/infoDiagram-PH2N3AL5-4c0f80b6.mjs +0 -26
  64. package/packet-KVYON367-3ead67ef.mjs +0 -10
  65. package/pie-R6RNRRYF-41122910.mjs +0 -10
  66. package/pieDiagram-IB7DONF6-9b4a5b06.mjs +0 -167
  67. package/radar-MK3ICKWK-0d996d37.mjs +0 -10
  68. package/stateDiagram-v2-YXO3MK2T-012aec41.mjs +0 -18
  69. /package/{init-f9637058.mjs → init-DjUOC4st.mjs} +0 -0
@@ -1,16 +1,15 @@
1
- import { d as G1, s as Ht, c as qt, n as Xt, g as Qt, b as Jt, o as Zt, _ as m, e as $t, p as te, J as ee, q as se, l as Z, r as st, u as it, j as C1, t as ie, v as re, x as Ot, y as ae, z as ne, A as ue } from "./index-4283477e.mjs";
2
- import { g as le, s as oe } from "./chunk-RZ5BOZE2-97e0c31b.mjs";
3
- import { c as ce } from "./channel-283b31f1.mjs";
4
- import "vue";
5
- var he = "flowchart-", O1, de = (O1 = class {
1
+ import { _ as m, n as Ot, l as Z, c as G1, d as C1, o as Ht, r as qt, u as it, b as Xt, s as Qt, p as Jt, a as Zt, g as $t, q as te, k as ee, t as se, J as ie, v as re, x as st, y as ae, z as ne, A as ue } from "./index-LXAHF7dZ.mjs";
2
+ import { g as le, s as oe } from "./chunk-RZ5BOZE2-nBulgjak.mjs";
3
+ import { c as ce } from "./channel-CjgQSUhn.mjs";
4
+ var he = "flowchart-", P1, de = (P1 = class {
6
5
  // cspell:ignore funs
7
6
  constructor() {
8
- this.vertexCounter = 0, this.config = G1(), 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 = Ht, this.setAccDescription = qt, this.setDiagramTitle = Xt, this.getAccTitle = Qt, this.getAccDescription = Jt, this.getDiagramTitle = Zt, 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 = {
7
+ this.vertexCounter = 0, this.config = G1(), 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 = Xt, this.setAccDescription = Qt, this.setDiagramTitle = Jt, this.getAccTitle = Zt, this.getAccDescription = $t, this.getDiagramTitle = te, 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 = {
9
8
  firstGraph: this.firstGraph.bind(this)
10
9
  }, this.clear(), this.setGen("gen-2");
11
10
  }
12
11
  sanitizeText(i) {
13
- return $t.sanitizeText(i, this.config);
12
+ return ee.sanitizeText(i, this.config);
14
13
  }
15
14
  /**
16
15
  * Function to lookup domId from id in the graph definition.
@@ -37,7 +36,7 @@ var he = "flowchart-", O1, de = (O1 = class {
37
36
  `) ? d = A + `
38
37
  ` : d = `{
39
38
  ` + A + `
40
- }`, r = te(d, { schema: ee });
39
+ }`, r = se(d, { schema: ie });
41
40
  }
42
41
  const b = this.edges.find((d) => d.id === i);
43
42
  if (b) {
@@ -60,7 +59,7 @@ var he = "flowchart-", O1, de = (O1 = class {
60
59
  if (r.shape) {
61
60
  if (r.shape !== r.shape.toLowerCase() || r.shape.includes("_"))
62
61
  throw new Error(`No such shape: ${r.shape}. Shape names should be lowercase.`);
63
- if (!se(r.shape))
62
+ if (!re(r.shape))
64
63
  throw new Error(`No such shape: ${r.shape}.`);
65
64
  k.type = r == null ? void 0 : r.shape;
66
65
  }
@@ -282,7 +281,7 @@ You have to call mermaid.initialize.`
282
281
  *
283
282
  */
284
283
  clear(i = "gen-2") {
285
- this.vertices = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), this.edges = [], this.funs = [this.setupToolTips.bind(this)], this.subGraphs = [], this.subGraphLookup = /* @__PURE__ */ new Map(), this.subCount = 0, this.tooltips = /* @__PURE__ */ new Map(), this.firstGraphFlag = !0, this.version = i, this.config = G1(), ie();
284
+ this.vertices = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), this.edges = [], this.funs = [this.setupToolTips.bind(this)], this.subGraphs = [], this.subGraphLookup = /* @__PURE__ */ new Map(), this.subCount = 0, this.tooltips = /* @__PURE__ */ new Map(), this.firstGraphFlag = !0, this.version = i, this.config = G1(), ae();
286
285
  }
287
286
  setGen(i) {
288
287
  this.version = i || "gen-2";
@@ -582,9 +581,9 @@ You have to call mermaid.initialize.`
582
581
  }), { nodes: a, edges: n, other: {}, config: i };
583
582
  }
584
583
  defaultConfig() {
585
- return re.flowchart;
584
+ return ne.flowchart;
586
585
  }
587
- }, m(O1, "FlowDB"), O1), pe = /* @__PURE__ */ m(function(s, i) {
586
+ }, m(P1, "FlowDB"), P1), pe = /* @__PURE__ */ m(function(s, i) {
588
587
  return i.db.getClasses();
589
588
  }, "getClasses"), fe = /* @__PURE__ */ m(async function(s, i, a, n) {
590
589
  var U;
@@ -597,9 +596,9 @@ You have to call mermaid.initialize.`
597
596
  const r = n.db.getData();
598
597
  Z.debug("Data: ", r);
599
598
  const b = le(i, u), F = n.db.getDirection();
600
- r.type = n.type, r.layoutAlgorithm = ae(f), r.layoutAlgorithm === "dagre" && f === "elk" && Z.warn(
599
+ r.type = n.type, r.layoutAlgorithm = Ht(f), r.layoutAlgorithm === "dagre" && f === "elk" && Z.warn(
601
600
  "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."
602
- ), r.direction = F, r.nodeSpacing = (l == null ? void 0 : l.nodeSpacing) || 50, r.rankSpacing = (l == null ? void 0 : l.rankSpacing) || 50, r.markers = ["point", "circle", "cross"], r.diagramId = i, Z.debug("REF1:", r), await ne(r, b);
601
+ ), r.direction = F, r.nodeSpacing = (l == null ? void 0 : l.nodeSpacing) || 50, r.rankSpacing = (l == null ? void 0 : l.rankSpacing) || 50, r.markers = ["point", "circle", "cross"], r.diagramId = i, Z.debug("REF1:", r), await qt(r, b);
603
602
  const k = ((U = r.config.flowchart) == null ? void 0 : U.diagramPadding) ?? 8;
604
603
  it.insertTitle(
605
604
  b,
@@ -629,8 +628,7 @@ You have to call mermaid.initialize.`
629
628
  draw: fe
630
629
  }, rt = function() {
631
630
  var s = /* @__PURE__ */ m(function(p1, h, p, g) {
632
- for (p = p || {}, g = p1.length; g--; p[p1[g]] = h)
633
- ;
631
+ for (p = p || {}, g = p1.length; g--; p[p1[g]] = h) ;
634
632
  return p;
635
633
  }, "o"), i = [1, 4], a = [1, 3], n = [1, 5], u = [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], l = [2, 2], f = [1, 13], c = [1, 14], A = [1, 15], r = [1, 16], b = [1, 23], F = [1, 25], k = [1, 26], U = [1, 27], T = [1, 49], d = [1, 48], K = [1, 29], f1 = [1, 30], g1 = [1, 31], b1 = [1, 32], M1 = [1, 33], V = [1, 44], L = [1, 46], I = [1, 42], w = [1, 47], R = [1, 43], N = [1, 50], G = [1, 45], P = [1, 51], O = [1, 52], U1 = [1, 34], W1 = [1, 35], z1 = [1, 36], j1 = [1, 37], h1 = [1, 57], 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], $ = [1, 61], t1 = [1, 60], e1 = [1, 62], S1 = [8, 9, 11, 75, 77, 78], at = [1, 78], D1 = [1, 91], x1 = [1, 96], T1 = [1, 95], E1 = [1, 92], y1 = [1, 88], F1 = [1, 94], _1 = [1, 90], B1 = [1, 97], v1 = [1, 93], V1 = [1, 98], L1 = [1, 89], A1 = [8, 9, 10, 11, 40, 75, 77, 78], W = [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], nt = [8, 9, 11, 44, 60, 75, 77, 78, 89, 102, 105, 106, 109, 111, 114, 115, 116], I1 = [44, 60, 89, 102, 105, 106, 109, 111, 114, 115, 116], ut = [1, 121], lt = [1, 122], K1 = [1, 124], Y1 = [1, 123], ot = [44, 60, 62, 74, 89, 102, 105, 106, 109, 111, 114, 115, 116], ct = [1, 133], ht = [1, 147], dt = [1, 148], pt = [1, 149], ft = [1, 150], gt = [1, 135], bt = [1, 137], At = [1, 141], kt = [1, 142], mt = [1, 143], Ct = [1, 144], St = [1, 145], Dt = [1, 146], xt = [1, 151], Tt = [1, 152], Et = [1, 131], yt = [1, 132], Ft = [1, 139], _t = [1, 134], Bt = [1, 138], vt = [1, 136], Q1 = [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], Vt = [1, 154], Lt = [1, 156], B = [8, 9, 11], q = [8, 9, 10, 11, 14, 44, 60, 89, 105, 106, 109, 111, 114, 115, 116], C = [1, 176], z = [1, 172], j = [1, 173], S = [1, 177], D = [1, 174], x = [1, 175], w1 = [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], It = [10, 106], d1 = [31, 49, 51, 53, 55, 57, 62, 64, 66, 67, 69, 71, 116, 117, 118], s1 = [1, 247], i1 = [1, 245], r1 = [1, 249], a1 = [1, 243], n1 = [1, 244], u1 = [1, 246], l1 = [1, 248], o1 = [1, 250], R1 = [1, 268], wt = [8, 9, 11, 106], J = [8, 9, 10, 11, 60, 84, 105, 106, 109, 110, 111, 112], J1 = {
636
634
  trace: /* @__PURE__ */ m(function() {
@@ -639,7 +637,7 @@ You have to call mermaid.initialize.`
639
637
  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, $accept: 0, $end: 1 },
640
638
  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" },
641
639
  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]],
642
- performAction: /* @__PURE__ */ m(function(h, p, g, o, _, t, P1) {
640
+ performAction: /* @__PURE__ */ m(function(h, p, g, o, _, t, O1) {
643
641
  var e = t.length - 1;
644
642
  switch (_) {
645
643
  case 2:
@@ -947,7 +945,7 @@ You have to call mermaid.initialize.`
947
945
  }
948
946
  }, "parseError"),
949
947
  parse: /* @__PURE__ */ m(function(h) {
950
- var p = this, g = [0], o = [], _ = [null], t = [], P1 = this.table, e = "", v = 0, Rt = 0, zt = 2, Nt = 1, jt = t.slice.call(arguments, 1), M = Object.create(this.lexer), k1 = { yy: {} };
948
+ var p = this, g = [0], o = [], _ = [null], t = [], O1 = this.table, e = "", v = 0, Rt = 0, zt = 2, Nt = 1, jt = t.slice.call(arguments, 1), M = Object.create(this.lexer), k1 = { yy: {} };
951
949
  for (var Z1 in this.yy)
952
950
  Object.prototype.hasOwnProperty.call(this.yy, Z1) && (k1.yy[Z1] = this.yy[Z1]);
953
951
  M.setInput(h, k1.yy), k1.yy.lexer = M, k1.yy.parser = this, typeof M.yylloc > "u" && (M.yylloc = {});
@@ -965,10 +963,10 @@ You have to call mermaid.initialize.`
965
963
  }
966
964
  m(Gt, "lex");
967
965
  for (var Y, m1, Q, tt, N1 = {}, q1, c1, Pt, X1; ; ) {
968
- if (m1 = g[g.length - 1], this.defaultActions[m1] ? Q = this.defaultActions[m1] : ((Y === null || typeof Y > "u") && (Y = Gt()), Q = P1[m1] && P1[m1][Y]), typeof Q > "u" || !Q.length || !Q[0]) {
966
+ if (m1 = g[g.length - 1], this.defaultActions[m1] ? Q = this.defaultActions[m1] : ((Y === null || typeof Y > "u") && (Y = Gt()), Q = O1[m1] && O1[m1][Y]), typeof Q > "u" || !Q.length || !Q[0]) {
969
967
  var et = "";
970
968
  X1 = [];
971
- for (q1 in P1[m1])
969
+ for (q1 in O1[m1])
972
970
  this.terminals_[q1] && q1 > zt && X1.push("'" + this.terminals_[q1] + "'");
973
971
  M.showPosition ? et = "Parse error on line " + (v + 1) + `:
974
972
  ` + M.showPosition() + `
@@ -1005,7 +1003,7 @@ Expecting ` + X1.join(", ") + ", got '" + (this.terminals_[Y] || Y) + "'" : et =
1005
1003
  t
1006
1004
  ].concat(jt)), typeof tt < "u")
1007
1005
  return tt;
1008
- c1 && (g = g.slice(0, -1 * c1 * 2), _ = _.slice(0, -1 * c1), t = t.slice(0, -1 * c1)), g.push(this.productions_[Q[1]][0]), _.push(N1.$), t.push(N1._$), Pt = P1[g[g.length - 2]][g[g.length - 1]], g.push(Pt);
1006
+ c1 && (g = g.slice(0, -1 * c1 * 2), _ = _.slice(0, -1 * c1), t = t.slice(0, -1 * c1)), g.push(this.productions_[Q[1]][0]), _.push(N1.$), t.push(N1._$), Pt = O1[g[g.length - 2]][g[g.length - 1]], g.push(Pt);
1009
1007
  break;
1010
1008
  case 3:
1011
1009
  return !0;
@@ -1608,7 +1606,7 @@ var be = Ut, Ae = /* @__PURE__ */ m((s, i) => {
1608
1606
  }
1609
1607
  text-align: center;
1610
1608
  }
1611
- `, "getStyles"), me = ke, Te = {
1609
+ `, "getStyles"), me = ke, xe = {
1612
1610
  parser: be,
1613
1611
  get db() {
1614
1612
  return new de();
@@ -1620,5 +1618,5 @@ var be = Ut, Ae = /* @__PURE__ */ m((s, i) => {
1620
1618
  }, "init")
1621
1619
  };
1622
1620
  export {
1623
- Te as diagram
1621
+ xe as diagram
1624
1622
  };