@versini/sassysaint 8.118.4 → 8.119.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/dist/chunks/{AboutChangelog.Dspi4cmi.js → AboutChangelog.B3zToB4T.js} +2 -2
  2. package/dist/chunks/{AboutEntry.DxWZPlbg.js → AboutEntry.Dc0GMtzL.js} +7 -7
  3. package/dist/chunks/{App.yIuQGm0t.js → App.Bcw00dJK.js} +647 -646
  4. package/dist/chunks/{BubbleActions.BMYwxyEv.js → BubbleActions.BcwPpzhU.js} +3 -3
  5. package/dist/chunks/ButtonIconDelete.CASHORv6.js +523 -0
  6. package/dist/chunks/{Chart.C1IWoXDe.js → Chart.B0oqrdYo.js} +2 -2
  7. package/dist/chunks/{ChatBubbleAssistant.BKlO1McH.js → ChatBubbleAssistant.DAwx85Wd.js} +9 -6
  8. package/dist/chunks/{ChatBubbleUser.CSjDB1B9.js → ChatBubbleUser.BRTLYDmZ.js} +4 -4
  9. package/dist/chunks/HistoryDataGrid.Bg984Jd_.js +465 -0
  10. package/dist/chunks/HistoryEntry.4GpBDf9x.js +305 -0
  11. package/dist/chunks/InlineFilter.Cv_LUpTp.js +123 -0
  12. package/dist/chunks/{LoginEntry.BEPZiizw.js → LoginEntry.5bQhuYQl.js} +4 -4
  13. package/dist/chunks/{LogoEntry.BZFz5IRw.js → LogoEntry.CN5P16eA.js} +175 -163
  14. package/dist/chunks/{MemoriesEntry.C40K6l5F.js → MemoriesEntry.D0q1U5FD.js} +234 -206
  15. package/dist/chunks/{ProfileEntry.C0WTyHem.js → ProfileEntry.Ck-5SP70.js} +4 -4
  16. package/dist/chunks/{SettingsEntry.B1WFVdjg.js → SettingsEntry.CfB9DKIp.js} +5 -5
  17. package/dist/chunks/{UsageEntry.CPOickJC.js → UsageEntry.BCFJMOjQ.js} +5 -5
  18. package/dist/chunks/{_baseUniq.YXUy3_Q9.js → _baseUniq.DRTEXwBu.js} +1 -1
  19. package/dist/chunks/{arc.CgPKPJv0.js → arc.x_GRGNuD.js} +1 -1
  20. package/dist/chunks/{architecture-U656AL7Q.D2ZUn_s6.js → architecture-U656AL7Q.DSfD0nUy.js} +1 -1
  21. package/dist/chunks/{architectureDiagram-VXUJARFQ.DbVJLkeI.js → architectureDiagram-VXUJARFQ.CAS-oDjc.js} +4 -4
  22. package/dist/chunks/{blockDiagram-VD42YOAC.DFlSEVyA.js → blockDiagram-VD42YOAC.P_XB2AgQ.js} +5 -5
  23. package/dist/chunks/{browser.DtDEL-3A.js → browser.oW1ZW8ge.js} +1 -1
  24. package/dist/chunks/{c4Diagram-YG6GDRKO.CiBMNtX8.js → c4Diagram-YG6GDRKO.Dc9Vyv3k.js} +2 -2
  25. package/dist/chunks/{channel.DS55bkfq.js → channel.TjlRRr3U.js} +1 -1
  26. package/dist/chunks/{chunk-4BX2VUAB.t3AfQtrb.js → chunk-4BX2VUAB.BwgmyLAX.js} +1 -1
  27. package/dist/chunks/{chunk-55IACEB6.tlGBBIP8.js → chunk-55IACEB6.Cgq1oeLK.js} +1 -1
  28. package/dist/chunks/{chunk-B4BG7PRW.DB-Y3GhQ.js → chunk-B4BG7PRW.Ds2wbzEG.js} +4 -4
  29. package/dist/chunks/{chunk-DI55MBZ5.CkwKVFLI.js → chunk-DI55MBZ5.Bft9jyaz.js} +3 -3
  30. package/dist/chunks/{chunk-FMBD7UC4.CRLAfQmx.js → chunk-FMBD7UC4.DF-Zr883.js} +1 -1
  31. package/dist/chunks/{chunk-QN33PNHL.DF4bWkbp.js → chunk-QN33PNHL.BVMRH_Hs.js} +1 -1
  32. package/dist/chunks/{chunk-QZHKN3VN.BijmX3ar.js → chunk-QZHKN3VN.DS306ds1.js} +1 -1
  33. package/dist/chunks/{chunk-TZMSLE5B.BIvqaR0r.js → chunk-TZMSLE5B.Cl4RUaGp.js} +1 -1
  34. package/dist/chunks/{classDiagram-2ON5EDUG.SU5U-1P1.js → classDiagram-2ON5EDUG.DbFfjSp_.js} +2 -2
  35. package/dist/chunks/{classDiagram-v2-WZHVMYZB.SU5U-1P1.js → classDiagram-v2-WZHVMYZB.DbFfjSp_.js} +2 -2
  36. package/dist/chunks/{clone.8clUx6ET.js → clone.B8XxgJj0.js} +1 -1
  37. package/dist/chunks/{cose-bilkent-S5V4N54A.DnWtIsYd.js → cose-bilkent-S5V4N54A.CL-tsB7O.js} +2 -2
  38. package/dist/chunks/{dagre-6UL2VRFP.C8KeFvOQ.js → dagre-6UL2VRFP.7xKesqEK.js} +5 -5
  39. package/dist/chunks/{diagram-PSM6KHXK.DnzHPurw.js → diagram-PSM6KHXK.D6JNXJQr.js} +4 -4
  40. package/dist/chunks/{diagram-QEK2KX5R.DCKZbQSh.js → diagram-QEK2KX5R.VaJKE9Ih.js} +3 -3
  41. package/dist/chunks/{diagram-S2PKOQOG.lY2nb2ry.js → diagram-S2PKOQOG.BjCuqhPd.js} +3 -3
  42. package/dist/chunks/{erDiagram-Q2GNP2WA.BYtHx1uZ.js → erDiagram-Q2GNP2WA.BYnxwTG-.js} +4 -4
  43. package/dist/chunks/{flowDiagram-NV44I4VS.G-nRLM7M.js → flowDiagram-NV44I4VS.DefWDma3.js} +5 -5
  44. package/dist/chunks/{ganttDiagram-JELNMOA3.B7RwC1m-.js → ganttDiagram-JELNMOA3.BrEeaW2n.js} +2 -2
  45. package/dist/chunks/{gitGraph-F6HP7TQM.Chwk8Igs.js → gitGraph-F6HP7TQM.C4_YWAr0.js} +1 -1
  46. package/dist/chunks/{gitGraphDiagram-NY62KEGX.BQpsCwST.js → gitGraphDiagram-NY62KEGX.GGrXKGya.js} +4 -4
  47. package/dist/chunks/{graph.toxuN_lw.js → graph.BxDrvENy.js} +2 -2
  48. package/dist/chunks/{index.KxPrp_tf.js → index.BMADibmh.js} +3 -3
  49. package/dist/chunks/{index.ChIqgESd.js → index.CR0NHbVR.js} +1 -1
  50. package/dist/chunks/{index.mDr9FsVI.js → index.CZRaE0eA.js} +1 -1
  51. package/dist/chunks/{index.7D5oQmQR.js → index.CsAjUl3G.js} +3 -3
  52. package/dist/chunks/{index.petd1VFV.js → index.DOwjLeiM.js} +1 -1
  53. package/dist/chunks/{index.D_muERB9.js → index.DS9SCH32.js} +1 -1
  54. package/dist/chunks/{index.Bt339Jho.js → index.DvThh-C6.js} +1 -1
  55. package/dist/chunks/{index.hGvmkGha.js → index.o4ZD5ALX.js} +2 -2
  56. package/dist/chunks/{index.BlDUpXR0.js → index.tqKeN7sl.js} +1 -1
  57. package/dist/chunks/{info-NVLQJR56.DqwhVDNM.js → info-NVLQJR56.E0G9wIVE.js} +1 -1
  58. package/dist/chunks/{infoDiagram-WHAUD3N6.Bz9PwgrD.js → infoDiagram-WHAUD3N6.CY9ADLsc.js} +2 -2
  59. package/dist/chunks/{journeyDiagram-XKPGCS4Q.b8ugCUee.js → journeyDiagram-XKPGCS4Q.BZHhK7w4.js} +4 -4
  60. package/dist/chunks/{kanban-definition-3W4ZIXB7.ruPmZWrk.js → kanban-definition-3W4ZIXB7.DQSZD0Em.js} +2 -2
  61. package/dist/chunks/{layout.Bw1IU1i2.js → layout.DUh_4gWb.js} +4 -4
  62. package/dist/chunks/{mermaid-parser.core.BgEYW9Yt.js → mermaid-parser.core.lAJFSSvC.js} +10 -10
  63. package/dist/chunks/{min.C98rd9wr.js → min.B3NH5ZNz.js} +2 -2
  64. package/dist/chunks/{mindmap-definition-VGOIOE7T.VWXpOB6F.js → mindmap-definition-VGOIOE7T.CVTcq_-S.js} +257 -232
  65. package/dist/chunks/{packet-BFZMPI3H.BYL6GQTI.js → packet-BFZMPI3H.CaaCaP6S.js} +1 -1
  66. package/dist/chunks/{pie-7BOR55EZ.BbY5iD1e.js → pie-7BOR55EZ.Ctr5Wngs.js} +1 -1
  67. package/dist/chunks/{pieDiagram-ADFJNKIX.CsOtW7r-.js → pieDiagram-ADFJNKIX.v0K5SYBL.js} +4 -4
  68. package/dist/chunks/{quadrantDiagram-AYHSOK5B.7UFNI_vX.js → quadrantDiagram-AYHSOK5B.CSGhc5R-.js} +1 -1
  69. package/dist/chunks/{radar-NHE76QYJ.DvagCir3.js → radar-NHE76QYJ.BYJioslS.js} +1 -1
  70. package/dist/chunks/{rehype-mermaid.hM-_EEUn.js → rehype-mermaid.CYJb7tO-.js} +33 -33
  71. package/dist/chunks/{requirementDiagram-UZGBJVZJ.CBvrcwfU.js → requirementDiagram-UZGBJVZJ.07FdvPam.js} +3 -3
  72. package/dist/chunks/{sankeyDiagram-TZEHDZUN.DwPokg-1.js → sankeyDiagram-TZEHDZUN.BJQl-LVq.js} +1 -1
  73. package/dist/chunks/{sequenceDiagram-WL72ISMW.DTlYi-bq.js → sequenceDiagram-WL72ISMW.D3HP-wCt.js} +3 -3
  74. package/dist/chunks/{stateDiagram-FKZM4ZOC.B3zjLqs6.js → stateDiagram-FKZM4ZOC.uXuYKEnS.js} +4 -4
  75. package/dist/chunks/{stateDiagram-v2-4FDKWEC3.M0ePKl-7.js → stateDiagram-v2-4FDKWEC3.i7NR_lBC.js} +2 -2
  76. package/dist/chunks/{timeline-definition-IT6M3QCI.QqZxgHc2.js → timeline-definition-IT6M3QCI.CfrxZtW7.js} +2 -2
  77. package/dist/chunks/{treemap-KMMF4GRG.BmCv7l6d.js → treemap-KMMF4GRG.D0E-EXib.js} +1 -1
  78. package/dist/chunks/{useMarkdown.ZHvHgCd8.js → useMarkdown.CVmi3L7b.js} +8 -8
  79. package/dist/chunks/{xychartDiagram-PRI3JC2R.CPjv7vTS.js → xychartDiagram-PRI3JC2R.BedGeb-X.js} +1 -1
  80. package/dist/components/SassySaint/SassySaint.js +1 -1
  81. package/dist/index.js +3 -3
  82. package/dist/style.css +1 -1
  83. package/package.json +4 -4
  84. package/dist/chunks/ButtonIconDelete.BMqZFgu1.js +0 -326
  85. package/dist/chunks/ChatHistoryTable.B8dA3To0.js +0 -322
  86. package/dist/chunks/HistoryEntry.Bhv62llk.js +0 -333
  87. package/dist/chunks/useAnimatedHeight.3F4Xj7iE.js +0 -91
@@ -1,21 +1,46 @@
1
- import { getDiagramElement as oe } from "./chunk-55IACEB6.tlGBBIP8.js";
2
- import { setupViewPortForSVG as ae } from "./chunk-QN33PNHL.DF4bWkbp.js";
3
- import { __name as c, log as O, getRegisteredLayoutAlgorithm as ce, render as le, defaultConfig_default as B, getConfig2 as H, sanitizeText as U, getUserDefinedConfig as he, isDark as ge, lighten as de, darken as ue } from "./rehype-mermaid.hM-_EEUn.js";
4
- import { v4 as pe } from "./App.yIuQGm0t.js";
5
- var z = (function() {
6
- var r = /* @__PURE__ */ c(function(L, s, t, o) {
7
- for (t = t || {}, o = L.length; o--; t[L[o]] = s) ;
8
- return t;
9
- }, "o"), e = [1, 4], i = [1, 13], l = [1, 12], f = [1, 15], h = [1, 16], p = [1, 20], m = [1, 19], u = [6, 7, 8], N = [1, 26], W = [1, 24], X = [1, 25], _ = [6, 7, 11], Y = [1, 6, 13, 15, 16, 19, 22], q = [1, 33], J = [1, 34], I = [1, 6, 7, 11, 13, 15, 16, 19, 22], F = {
10
- trace: /* @__PURE__ */ c(function() {
1
+ import { getDiagramElement as le } from "./chunk-55IACEB6.Cgq1oeLK.js";
2
+ import { setupViewPortForSVG as he } from "./chunk-QN33PNHL.BVMRH_Hs.js";
3
+ import { __name as l, log as I, getRegisteredLayoutAlgorithm as de, render as ge, defaultConfig_default as B, getConfig2 as z, sanitizeText as V, getUserDefinedConfig as ue, isDark as pe, lighten as fe, darken as ye } from "./rehype-mermaid.CYJb7tO-.js";
4
+ const E = [];
5
+ for (let t = 0; t < 256; ++t)
6
+ E.push((t + 256).toString(16).slice(1));
7
+ function me(t, e = 0) {
8
+ return (E[t[e + 0]] + E[t[e + 1]] + E[t[e + 2]] + E[t[e + 3]] + "-" + E[t[e + 4]] + E[t[e + 5]] + "-" + E[t[e + 6]] + E[t[e + 7]] + "-" + E[t[e + 8]] + E[t[e + 9]] + "-" + E[t[e + 10]] + E[t[e + 11]] + E[t[e + 12]] + E[t[e + 13]] + E[t[e + 14]] + E[t[e + 15]]).toLowerCase();
9
+ }
10
+ let W;
11
+ const Ee = new Uint8Array(16);
12
+ function _e() {
13
+ if (!W) {
14
+ if (typeof crypto > "u" || !crypto.getRandomValues)
15
+ throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
16
+ W = crypto.getRandomValues.bind(crypto);
17
+ }
18
+ return W(Ee);
19
+ }
20
+ const be = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), ne = { randomUUID: be };
21
+ function Se(t, e, n) {
22
+ if (ne.randomUUID && !t)
23
+ return ne.randomUUID();
24
+ t = t || {};
25
+ const c = t.random ?? t.rng?.() ?? _e();
26
+ if (c.length < 16)
27
+ throw new Error("Random bytes length must be >= 16");
28
+ return c[6] = c[6] & 15 | 64, c[8] = c[8] & 63 | 128, me(c);
29
+ }
30
+ var X = (function() {
31
+ var t = /* @__PURE__ */ l(function(x, s, i, o) {
32
+ for (i = i || {}, o = x.length; o--; i[x[o]] = s) ;
33
+ return i;
34
+ }, "o"), e = [1, 4], n = [1, 13], c = [1, 12], f = [1, 15], h = [1, 16], p = [1, 20], m = [1, 19], u = [6, 7, 8], N = [1, 26], Y = [1, 24], q = [1, 25], b = [6, 7, 11], J = [1, 6, 13, 15, 16, 19, 22], K = [1, 33], Q = [1, 34], R = [1, 6, 7, 11, 13, 15, 16, 19, 22], F = {
35
+ trace: /* @__PURE__ */ l(function() {
11
36
  }, "trace"),
12
37
  yy: {},
13
38
  symbols_: { error: 2, start: 3, mindMap: 4, spaceLines: 5, SPACELINE: 6, NL: 7, MINDMAP: 8, document: 9, stop: 10, EOF: 11, statement: 12, SPACELIST: 13, node: 14, ICON: 15, CLASS: 16, nodeWithId: 17, nodeWithoutId: 18, NODE_DSTART: 19, NODE_DESCR: 20, NODE_DEND: 21, NODE_ID: 22, $accept: 0, $end: 1 },
14
39
  terminals_: { 2: "error", 6: "SPACELINE", 7: "NL", 8: "MINDMAP", 11: "EOF", 13: "SPACELIST", 15: "ICON", 16: "CLASS", 19: "NODE_DSTART", 20: "NODE_DESCR", 21: "NODE_DEND", 22: "NODE_ID" },
15
40
  productions_: [0, [3, 1], [3, 2], [5, 1], [5, 2], [5, 2], [4, 2], [4, 3], [10, 1], [10, 1], [10, 1], [10, 2], [10, 2], [9, 3], [9, 2], [12, 2], [12, 2], [12, 2], [12, 1], [12, 1], [12, 1], [12, 1], [12, 1], [14, 1], [14, 1], [18, 3], [17, 1], [17, 4]],
16
- performAction: /* @__PURE__ */ c(function(s, t, o, a, d, n, R) {
17
- var g = n.length - 1;
18
- switch (d) {
41
+ performAction: /* @__PURE__ */ l(function(s, i, o, a, g, r, w) {
42
+ var d = r.length - 1;
43
+ switch (g) {
19
44
  case 6:
20
45
  case 7:
21
46
  return a;
@@ -32,105 +57,105 @@ var z = (function() {
32
57
  a.getLogger().trace("Stop EOF2 ");
33
58
  break;
34
59
  case 15:
35
- a.getLogger().info("Node: ", n[g].id), a.addNode(n[g - 1].length, n[g].id, n[g].descr, n[g].type);
60
+ a.getLogger().info("Node: ", r[d].id), a.addNode(r[d - 1].length, r[d].id, r[d].descr, r[d].type);
36
61
  break;
37
62
  case 16:
38
- a.getLogger().trace("Icon: ", n[g]), a.decorateNode({ icon: n[g] });
63
+ a.getLogger().trace("Icon: ", r[d]), a.decorateNode({ icon: r[d] });
39
64
  break;
40
65
  case 17:
41
66
  case 21:
42
- a.decorateNode({ class: n[g] });
67
+ a.decorateNode({ class: r[d] });
43
68
  break;
44
69
  case 18:
45
70
  a.getLogger().trace("SPACELIST");
46
71
  break;
47
72
  case 19:
48
- a.getLogger().trace("Node: ", n[g].id), a.addNode(0, n[g].id, n[g].descr, n[g].type);
73
+ a.getLogger().trace("Node: ", r[d].id), a.addNode(0, r[d].id, r[d].descr, r[d].type);
49
74
  break;
50
75
  case 20:
51
- a.decorateNode({ icon: n[g] });
76
+ a.decorateNode({ icon: r[d] });
52
77
  break;
53
78
  case 25:
54
- a.getLogger().trace("node found ..", n[g - 2]), this.$ = { id: n[g - 1], descr: n[g - 1], type: a.getType(n[g - 2], n[g]) };
79
+ a.getLogger().trace("node found ..", r[d - 2]), this.$ = { id: r[d - 1], descr: r[d - 1], type: a.getType(r[d - 2], r[d]) };
55
80
  break;
56
81
  case 26:
57
- this.$ = { id: n[g], descr: n[g], type: a.nodeType.DEFAULT };
82
+ this.$ = { id: r[d], descr: r[d], type: a.nodeType.DEFAULT };
58
83
  break;
59
84
  case 27:
60
- a.getLogger().trace("node found ..", n[g - 3]), this.$ = { id: n[g - 3], descr: n[g - 1], type: a.getType(n[g - 2], n[g]) };
85
+ a.getLogger().trace("node found ..", r[d - 3]), this.$ = { id: r[d - 3], descr: r[d - 1], type: a.getType(r[d - 2], r[d]) };
61
86
  break;
62
87
  }
63
88
  }, "anonymous"),
64
- table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 8: e }, { 1: [3] }, { 1: [2, 1] }, { 4: 6, 6: [1, 7], 7: [1, 8], 8: e }, { 6: i, 7: [1, 10], 9: 9, 12: 11, 13: l, 14: 14, 15: f, 16: h, 17: 17, 18: 18, 19: p, 22: m }, r(u, [2, 3]), { 1: [2, 2] }, r(u, [2, 4]), r(u, [2, 5]), { 1: [2, 6], 6: i, 12: 21, 13: l, 14: 14, 15: f, 16: h, 17: 17, 18: 18, 19: p, 22: m }, { 6: i, 9: 22, 12: 11, 13: l, 14: 14, 15: f, 16: h, 17: 17, 18: 18, 19: p, 22: m }, { 6: N, 7: W, 10: 23, 11: X }, r(_, [2, 22], { 17: 17, 18: 18, 14: 27, 15: [1, 28], 16: [1, 29], 19: p, 22: m }), r(_, [2, 18]), r(_, [2, 19]), r(_, [2, 20]), r(_, [2, 21]), r(_, [2, 23]), r(_, [2, 24]), r(_, [2, 26], { 19: [1, 30] }), { 20: [1, 31] }, { 6: N, 7: W, 10: 32, 11: X }, { 1: [2, 7], 6: i, 12: 21, 13: l, 14: 14, 15: f, 16: h, 17: 17, 18: 18, 19: p, 22: m }, r(Y, [2, 14], { 7: q, 11: J }), r(I, [2, 8]), r(I, [2, 9]), r(I, [2, 10]), r(_, [2, 15]), r(_, [2, 16]), r(_, [2, 17]), { 20: [1, 35] }, { 21: [1, 36] }, r(Y, [2, 13], { 7: q, 11: J }), r(I, [2, 11]), r(I, [2, 12]), { 21: [1, 37] }, r(_, [2, 25]), r(_, [2, 27])],
89
+ table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 8: e }, { 1: [3] }, { 1: [2, 1] }, { 4: 6, 6: [1, 7], 7: [1, 8], 8: e }, { 6: n, 7: [1, 10], 9: 9, 12: 11, 13: c, 14: 14, 15: f, 16: h, 17: 17, 18: 18, 19: p, 22: m }, t(u, [2, 3]), { 1: [2, 2] }, t(u, [2, 4]), t(u, [2, 5]), { 1: [2, 6], 6: n, 12: 21, 13: c, 14: 14, 15: f, 16: h, 17: 17, 18: 18, 19: p, 22: m }, { 6: n, 9: 22, 12: 11, 13: c, 14: 14, 15: f, 16: h, 17: 17, 18: 18, 19: p, 22: m }, { 6: N, 7: Y, 10: 23, 11: q }, t(b, [2, 22], { 17: 17, 18: 18, 14: 27, 15: [1, 28], 16: [1, 29], 19: p, 22: m }), t(b, [2, 18]), t(b, [2, 19]), t(b, [2, 20]), t(b, [2, 21]), t(b, [2, 23]), t(b, [2, 24]), t(b, [2, 26], { 19: [1, 30] }), { 20: [1, 31] }, { 6: N, 7: Y, 10: 32, 11: q }, { 1: [2, 7], 6: n, 12: 21, 13: c, 14: 14, 15: f, 16: h, 17: 17, 18: 18, 19: p, 22: m }, t(J, [2, 14], { 7: K, 11: Q }), t(R, [2, 8]), t(R, [2, 9]), t(R, [2, 10]), t(b, [2, 15]), t(b, [2, 16]), t(b, [2, 17]), { 20: [1, 35] }, { 21: [1, 36] }, t(J, [2, 13], { 7: K, 11: Q }), t(R, [2, 11]), t(R, [2, 12]), { 21: [1, 37] }, t(b, [2, 25]), t(b, [2, 27])],
65
90
  defaultActions: { 2: [2, 1], 6: [2, 2] },
66
- parseError: /* @__PURE__ */ c(function(s, t) {
67
- if (t.recoverable)
91
+ parseError: /* @__PURE__ */ l(function(s, i) {
92
+ if (i.recoverable)
68
93
  this.trace(s);
69
94
  else {
70
95
  var o = new Error(s);
71
- throw o.hash = t, o;
96
+ throw o.hash = i, o;
72
97
  }
73
98
  }, "parseError"),
74
- parse: /* @__PURE__ */ c(function(s) {
75
- var t = this, o = [0], a = [], d = [null], n = [], R = this.table, g = "", w = 0, K = 0, ie = 2, Q = 1, se = n.slice.call(arguments, 1), y = Object.create(this.lexer), x = { yy: {} };
76
- for (var V in this.yy)
77
- Object.prototype.hasOwnProperty.call(this.yy, V) && (x.yy[V] = this.yy[V]);
78
- y.setInput(s, x.yy), x.yy.lexer = y, x.yy.parser = this, typeof y.yylloc > "u" && (y.yylloc = {});
99
+ parse: /* @__PURE__ */ l(function(s) {
100
+ var i = this, o = [0], a = [], g = [null], r = [], w = this.table, d = "", U = 0, Z = 0, re = 2, ee = 1, oe = r.slice.call(arguments, 1), y = Object.create(this.lexer), v = { yy: {} };
101
+ for (var j in this.yy)
102
+ Object.prototype.hasOwnProperty.call(this.yy, j) && (v.yy[j] = this.yy[j]);
103
+ y.setInput(s, v.yy), v.yy.lexer = y, v.yy.parser = this, typeof y.yylloc > "u" && (y.yylloc = {});
79
104
  var G = y.yylloc;
80
- n.push(G);
81
- var ne = y.options && y.options.ranges;
82
- typeof x.yy.parseError == "function" ? this.parseError = x.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
83
- function re(b) {
84
- o.length = o.length - 2 * b, d.length = d.length - b, n.length = n.length - b;
105
+ r.push(G);
106
+ var ae = y.options && y.options.ranges;
107
+ typeof v.yy.parseError == "function" ? this.parseError = v.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
108
+ function ce(S) {
109
+ o.length = o.length - 2 * S, g.length = g.length - S, r.length = r.length - S;
85
110
  }
86
- c(re, "popStack");
87
- function Z() {
88
- var b;
89
- return b = a.pop() || y.lex() || Q, typeof b != "number" && (b instanceof Array && (a = b, b = a.pop()), b = t.symbols_[b] || b), b;
111
+ l(ce, "popStack");
112
+ function te() {
113
+ var S;
114
+ return S = a.pop() || y.lex() || ee, typeof S != "number" && (S instanceof Array && (a = S, S = a.pop()), S = i.symbols_[S] || S), S;
90
115
  }
91
- c(Z, "lex");
92
- for (var E, v, S, j, T = {}, P, D, ee, M; ; ) {
93
- if (v = o[o.length - 1], this.defaultActions[v] ? S = this.defaultActions[v] : ((E === null || typeof E > "u") && (E = Z()), S = R[v] && R[v][E]), typeof S > "u" || !S.length || !S[0]) {
116
+ l(te, "lex");
117
+ for (var _, T, D, H, O = {}, P, k, ie, M; ; ) {
118
+ if (T = o[o.length - 1], this.defaultActions[T] ? D = this.defaultActions[T] : ((_ === null || typeof _ > "u") && (_ = te()), D = w[T] && w[T][_]), typeof D > "u" || !D.length || !D[0]) {
94
119
  var $ = "";
95
120
  M = [];
96
- for (P in R[v])
97
- this.terminals_[P] && P > ie && M.push("'" + this.terminals_[P] + "'");
98
- y.showPosition ? $ = "Parse error on line " + (w + 1) + `:
121
+ for (P in w[T])
122
+ this.terminals_[P] && P > re && M.push("'" + this.terminals_[P] + "'");
123
+ y.showPosition ? $ = "Parse error on line " + (U + 1) + `:
99
124
  ` + y.showPosition() + `
100
- Expecting ` + M.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : $ = "Parse error on line " + (w + 1) + ": Unexpected " + (E == Q ? "end of input" : "'" + (this.terminals_[E] || E) + "'"), this.parseError($, {
125
+ Expecting ` + M.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : $ = "Parse error on line " + (U + 1) + ": Unexpected " + (_ == ee ? "end of input" : "'" + (this.terminals_[_] || _) + "'"), this.parseError($, {
101
126
  text: y.match,
102
- token: this.terminals_[E] || E,
127
+ token: this.terminals_[_] || _,
103
128
  line: y.yylineno,
104
129
  loc: G,
105
130
  expected: M
106
131
  });
107
132
  }
108
- if (S[0] instanceof Array && S.length > 1)
109
- throw new Error("Parse Error: multiple actions possible at state: " + v + ", token: " + E);
110
- switch (S[0]) {
133
+ if (D[0] instanceof Array && D.length > 1)
134
+ throw new Error("Parse Error: multiple actions possible at state: " + T + ", token: " + _);
135
+ switch (D[0]) {
111
136
  case 1:
112
- o.push(E), d.push(y.yytext), n.push(y.yylloc), o.push(S[1]), E = null, K = y.yyleng, g = y.yytext, w = y.yylineno, G = y.yylloc;
137
+ o.push(_), g.push(y.yytext), r.push(y.yylloc), o.push(D[1]), _ = null, Z = y.yyleng, d = y.yytext, U = y.yylineno, G = y.yylloc;
113
138
  break;
114
139
  case 2:
115
- if (D = this.productions_[S[1]][1], T.$ = d[d.length - D], T._$ = {
116
- first_line: n[n.length - (D || 1)].first_line,
117
- last_line: n[n.length - 1].last_line,
118
- first_column: n[n.length - (D || 1)].first_column,
119
- last_column: n[n.length - 1].last_column
120
- }, ne && (T._$.range = [
121
- n[n.length - (D || 1)].range[0],
122
- n[n.length - 1].range[1]
123
- ]), j = this.performAction.apply(T, [
124
- g,
125
- K,
126
- w,
127
- x.yy,
128
- S[1],
140
+ if (k = this.productions_[D[1]][1], O.$ = g[g.length - k], O._$ = {
141
+ first_line: r[r.length - (k || 1)].first_line,
142
+ last_line: r[r.length - 1].last_line,
143
+ first_column: r[r.length - (k || 1)].first_column,
144
+ last_column: r[r.length - 1].last_column
145
+ }, ae && (O._$.range = [
146
+ r[r.length - (k || 1)].range[0],
147
+ r[r.length - 1].range[1]
148
+ ]), H = this.performAction.apply(O, [
129
149
  d,
130
- n
131
- ].concat(se)), typeof j < "u")
132
- return j;
133
- D && (o = o.slice(0, -1 * D * 2), d = d.slice(0, -1 * D), n = n.slice(0, -1 * D)), o.push(this.productions_[S[1]][0]), d.push(T.$), n.push(T._$), ee = R[o[o.length - 2]][o[o.length - 1]], o.push(ee);
150
+ Z,
151
+ U,
152
+ v.yy,
153
+ D[1],
154
+ g,
155
+ r
156
+ ].concat(oe)), typeof H < "u")
157
+ return H;
158
+ k && (o = o.slice(0, -1 * k * 2), g = g.slice(0, -1 * k), r = r.slice(0, -1 * k)), o.push(this.productions_[D[1]][0]), g.push(O.$), r.push(O._$), ie = w[o[o.length - 2]][o[o.length - 1]], o.push(ie);
134
159
  break;
135
160
  case 3:
136
161
  return !0;
@@ -138,18 +163,18 @@ Expecting ` + M.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : $ = "
138
163
  }
139
164
  return !0;
140
165
  }, "parse")
141
- }, te = /* @__PURE__ */ (function() {
142
- var L = {
166
+ }, se = /* @__PURE__ */ (function() {
167
+ var x = {
143
168
  EOF: 1,
144
- parseError: /* @__PURE__ */ c(function(t, o) {
169
+ parseError: /* @__PURE__ */ l(function(i, o) {
145
170
  if (this.yy.parser)
146
- this.yy.parser.parseError(t, o);
171
+ this.yy.parser.parseError(i, o);
147
172
  else
148
- throw new Error(t);
173
+ throw new Error(i);
149
174
  }, "parseError"),
150
175
  // resets the lexer, sets new input
151
- setInput: /* @__PURE__ */ c(function(s, t) {
152
- return this.yy = t || this.yy || {}, this._input = s, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
176
+ setInput: /* @__PURE__ */ l(function(s, i) {
177
+ return this.yy = i || this.yy || {}, this._input = s, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
153
178
  first_line: 1,
154
179
  first_column: 0,
155
180
  last_line: 1,
@@ -157,32 +182,32 @@ Expecting ` + M.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : $ = "
157
182
  }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
158
183
  }, "setInput"),
159
184
  // consumes and returns one char from the input
160
- input: /* @__PURE__ */ c(function() {
185
+ input: /* @__PURE__ */ l(function() {
161
186
  var s = this._input[0];
162
187
  this.yytext += s, this.yyleng++, this.offset++, this.match += s, this.matched += s;
163
- var t = s.match(/(?:\r\n?|\n).*/g);
164
- return t ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), s;
188
+ var i = s.match(/(?:\r\n?|\n).*/g);
189
+ return i ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), s;
165
190
  }, "input"),
166
191
  // unshifts one char (or a string) into the input
167
- unput: /* @__PURE__ */ c(function(s) {
168
- var t = s.length, o = s.split(/(?:\r\n?|\n)/g);
169
- this._input = s + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
192
+ unput: /* @__PURE__ */ l(function(s) {
193
+ var i = s.length, o = s.split(/(?:\r\n?|\n)/g);
194
+ this._input = s + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - i), this.offset -= i;
170
195
  var a = this.match.split(/(?:\r\n?|\n)/g);
171
196
  this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), o.length - 1 && (this.yylineno -= o.length - 1);
172
- var d = this.yylloc.range;
197
+ var g = this.yylloc.range;
173
198
  return this.yylloc = {
174
199
  first_line: this.yylloc.first_line,
175
200
  last_line: this.yylineno + 1,
176
201
  first_column: this.yylloc.first_column,
177
- last_column: o ? (o.length === a.length ? this.yylloc.first_column : 0) + a[a.length - o.length].length - o[0].length : this.yylloc.first_column - t
178
- }, this.options.ranges && (this.yylloc.range = [d[0], d[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
202
+ last_column: o ? (o.length === a.length ? this.yylloc.first_column : 0) + a[a.length - o.length].length - o[0].length : this.yylloc.first_column - i
203
+ }, this.options.ranges && (this.yylloc.range = [g[0], g[0] + this.yyleng - i]), this.yyleng = this.yytext.length, this;
179
204
  }, "unput"),
180
205
  // When called from action, caches matched text and appends it on next action
181
- more: /* @__PURE__ */ c(function() {
206
+ more: /* @__PURE__ */ l(function() {
182
207
  return this._more = !0, this;
183
208
  }, "more"),
184
209
  // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
185
- reject: /* @__PURE__ */ c(function() {
210
+ reject: /* @__PURE__ */ l(function() {
186
211
  if (this.options.backtrack_lexer)
187
212
  this._backtrack = !0;
188
213
  else
@@ -195,29 +220,29 @@ Expecting ` + M.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : $ = "
195
220
  return this;
196
221
  }, "reject"),
197
222
  // retain first n characters of the match
198
- less: /* @__PURE__ */ c(function(s) {
223
+ less: /* @__PURE__ */ l(function(s) {
199
224
  this.unput(this.match.slice(s));
200
225
  }, "less"),
201
226
  // displays already matched input, i.e. for error messages
202
- pastInput: /* @__PURE__ */ c(function() {
227
+ pastInput: /* @__PURE__ */ l(function() {
203
228
  var s = this.matched.substr(0, this.matched.length - this.match.length);
204
229
  return (s.length > 20 ? "..." : "") + s.substr(-20).replace(/\n/g, "");
205
230
  }, "pastInput"),
206
231
  // displays upcoming input, i.e. for error messages
207
- upcomingInput: /* @__PURE__ */ c(function() {
232
+ upcomingInput: /* @__PURE__ */ l(function() {
208
233
  var s = this.match;
209
234
  return s.length < 20 && (s += this._input.substr(0, 20 - s.length)), (s.substr(0, 20) + (s.length > 20 ? "..." : "")).replace(/\n/g, "");
210
235
  }, "upcomingInput"),
211
236
  // displays the character position where the lexing error occurred, i.e. for error messages
212
- showPosition: /* @__PURE__ */ c(function() {
213
- var s = this.pastInput(), t = new Array(s.length + 1).join("-");
237
+ showPosition: /* @__PURE__ */ l(function() {
238
+ var s = this.pastInput(), i = new Array(s.length + 1).join("-");
214
239
  return s + this.upcomingInput() + `
215
- ` + t + "^";
240
+ ` + i + "^";
216
241
  }, "showPosition"),
217
242
  // test the lexed token: return FALSE when not a match, otherwise return token
218
- test_match: /* @__PURE__ */ c(function(s, t) {
219
- var o, a, d;
220
- if (this.options.backtrack_lexer && (d = {
243
+ test_match: /* @__PURE__ */ l(function(s, i) {
244
+ var o, a, g;
245
+ if (this.options.backtrack_lexer && (g = {
221
246
  yylineno: this.yylineno,
222
247
  yylloc: {
223
248
  first_line: this.yylloc.first_line,
@@ -236,41 +261,41 @@ Expecting ` + M.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : $ = "
236
261
  yy: this.yy,
237
262
  conditionStack: this.conditionStack.slice(0),
238
263
  done: this.done
239
- }, this.options.ranges && (d.yylloc.range = this.yylloc.range.slice(0))), a = s[0].match(/(?:\r\n?|\n).*/g), a && (this.yylineno += a.length), this.yylloc = {
264
+ }, this.options.ranges && (g.yylloc.range = this.yylloc.range.slice(0))), a = s[0].match(/(?:\r\n?|\n).*/g), a && (this.yylineno += a.length), this.yylloc = {
240
265
  first_line: this.yylloc.last_line,
241
266
  last_line: this.yylineno + 1,
242
267
  first_column: this.yylloc.last_column,
243
268
  last_column: a ? a[a.length - 1].length - a[a.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + s[0].length
244
- }, this.yytext += s[0], this.match += s[0], this.matches = s, 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(s[0].length), this.matched += s[0], o = this.performAction.call(this, this.yy, this, t, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), o)
269
+ }, this.yytext += s[0], this.match += s[0], this.matches = s, 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(s[0].length), this.matched += s[0], o = this.performAction.call(this, this.yy, this, i, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), o)
245
270
  return o;
246
271
  if (this._backtrack) {
247
- for (var n in d)
248
- this[n] = d[n];
272
+ for (var r in g)
273
+ this[r] = g[r];
249
274
  return !1;
250
275
  }
251
276
  return !1;
252
277
  }, "test_match"),
253
278
  // return next match in input
254
- next: /* @__PURE__ */ c(function() {
279
+ next: /* @__PURE__ */ l(function() {
255
280
  if (this.done)
256
281
  return this.EOF;
257
282
  this._input || (this.done = !0);
258
- var s, t, o, a;
283
+ var s, i, o, a;
259
284
  this._more || (this.yytext = "", this.match = "");
260
- for (var d = this._currentRules(), n = 0; n < d.length; n++)
261
- if (o = this._input.match(this.rules[d[n]]), o && (!t || o[0].length > t[0].length)) {
262
- if (t = o, a = n, this.options.backtrack_lexer) {
263
- if (s = this.test_match(o, d[n]), s !== !1)
285
+ for (var g = this._currentRules(), r = 0; r < g.length; r++)
286
+ if (o = this._input.match(this.rules[g[r]]), o && (!i || o[0].length > i[0].length)) {
287
+ if (i = o, a = r, this.options.backtrack_lexer) {
288
+ if (s = this.test_match(o, g[r]), s !== !1)
264
289
  return s;
265
290
  if (this._backtrack) {
266
- t = !1;
291
+ i = !1;
267
292
  continue;
268
293
  } else
269
294
  return !1;
270
295
  } else if (!this.options.flex)
271
296
  break;
272
297
  }
273
- return t ? (s = this.test_match(t, d[a]), s !== !1 ? s : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
298
+ return i ? (s = this.test_match(i, g[a]), s !== !1 ? s : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
274
299
  ` + this.showPosition(), {
275
300
  text: "",
276
301
  token: null,
@@ -278,40 +303,40 @@ Expecting ` + M.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : $ = "
278
303
  });
279
304
  }, "next"),
280
305
  // return next match that has a token
281
- lex: /* @__PURE__ */ c(function() {
282
- var t = this.next();
283
- return t || this.lex();
306
+ lex: /* @__PURE__ */ l(function() {
307
+ var i = this.next();
308
+ return i || this.lex();
284
309
  }, "lex"),
285
310
  // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
286
- begin: /* @__PURE__ */ c(function(t) {
287
- this.conditionStack.push(t);
311
+ begin: /* @__PURE__ */ l(function(i) {
312
+ this.conditionStack.push(i);
288
313
  }, "begin"),
289
314
  // pop the previously active lexer condition state off the condition stack
290
- popState: /* @__PURE__ */ c(function() {
291
- var t = this.conditionStack.length - 1;
292
- return t > 0 ? this.conditionStack.pop() : this.conditionStack[0];
315
+ popState: /* @__PURE__ */ l(function() {
316
+ var i = this.conditionStack.length - 1;
317
+ return i > 0 ? this.conditionStack.pop() : this.conditionStack[0];
293
318
  }, "popState"),
294
319
  // produce the lexer rule set which is active for the currently active lexer condition state
295
- _currentRules: /* @__PURE__ */ c(function() {
320
+ _currentRules: /* @__PURE__ */ l(function() {
296
321
  return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
297
322
  }, "_currentRules"),
298
323
  // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
299
- topState: /* @__PURE__ */ c(function(t) {
300
- return t = this.conditionStack.length - 1 - Math.abs(t || 0), t >= 0 ? this.conditionStack[t] : "INITIAL";
324
+ topState: /* @__PURE__ */ l(function(i) {
325
+ return i = this.conditionStack.length - 1 - Math.abs(i || 0), i >= 0 ? this.conditionStack[i] : "INITIAL";
301
326
  }, "topState"),
302
327
  // alias for begin(condition)
303
- pushState: /* @__PURE__ */ c(function(t) {
304
- this.begin(t);
328
+ pushState: /* @__PURE__ */ l(function(i) {
329
+ this.begin(i);
305
330
  }, "pushState"),
306
331
  // return the number of states currently on the stack
307
- stateStackSize: /* @__PURE__ */ c(function() {
332
+ stateStackSize: /* @__PURE__ */ l(function() {
308
333
  return this.conditionStack.length;
309
334
  }, "stateStackSize"),
310
335
  options: { "case-insensitive": !0 },
311
- performAction: /* @__PURE__ */ c(function(t, o, a, d) {
336
+ performAction: /* @__PURE__ */ l(function(i, o, a, g) {
312
337
  switch (a) {
313
338
  case 0:
314
- return t.getLogger().trace("Found comment", o.yytext), 6;
339
+ return i.getLogger().trace("Found comment", o.yytext), 6;
315
340
  case 1:
316
341
  return 8;
317
342
  case 2:
@@ -323,25 +348,25 @@ Expecting ` + M.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : $ = "
323
348
  this.popState();
324
349
  break;
325
350
  case 5:
326
- t.getLogger().trace("Begin icon"), this.begin("ICON");
351
+ i.getLogger().trace("Begin icon"), this.begin("ICON");
327
352
  break;
328
353
  case 6:
329
- return t.getLogger().trace("SPACELINE"), 6;
354
+ return i.getLogger().trace("SPACELINE"), 6;
330
355
  case 7:
331
356
  return 7;
332
357
  case 8:
333
358
  return 15;
334
359
  case 9:
335
- t.getLogger().trace("end icon"), this.popState();
360
+ i.getLogger().trace("end icon"), this.popState();
336
361
  break;
337
362
  case 10:
338
- return t.getLogger().trace("Exploding node"), this.begin("NODE"), 19;
363
+ return i.getLogger().trace("Exploding node"), this.begin("NODE"), 19;
339
364
  case 11:
340
- return t.getLogger().trace("Cloud"), this.begin("NODE"), 19;
365
+ return i.getLogger().trace("Cloud"), this.begin("NODE"), 19;
341
366
  case 12:
342
- return t.getLogger().trace("Explosion Bang"), this.begin("NODE"), 19;
367
+ return i.getLogger().trace("Explosion Bang"), this.begin("NODE"), 19;
343
368
  case 13:
344
- return t.getLogger().trace("Cloud Bang"), this.begin("NODE"), 19;
369
+ return i.getLogger().trace("Cloud Bang"), this.begin("NODE"), 19;
345
370
  case 14:
346
371
  return this.begin("NODE"), 19;
347
372
  case 15:
@@ -365,48 +390,48 @@ Expecting ` + M.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : $ = "
365
390
  this.popState();
366
391
  break;
367
392
  case 24:
368
- t.getLogger().trace("Starting NSTR"), this.begin("NSTR");
393
+ i.getLogger().trace("Starting NSTR"), this.begin("NSTR");
369
394
  break;
370
395
  case 25:
371
- return t.getLogger().trace("description:", o.yytext), "NODE_DESCR";
396
+ return i.getLogger().trace("description:", o.yytext), "NODE_DESCR";
372
397
  case 26:
373
398
  this.popState();
374
399
  break;
375
400
  case 27:
376
- return this.popState(), t.getLogger().trace("node end ))"), "NODE_DEND";
401
+ return this.popState(), i.getLogger().trace("node end ))"), "NODE_DEND";
377
402
  case 28:
378
- return this.popState(), t.getLogger().trace("node end )"), "NODE_DEND";
403
+ return this.popState(), i.getLogger().trace("node end )"), "NODE_DEND";
379
404
  case 29:
380
- return this.popState(), t.getLogger().trace("node end ...", o.yytext), "NODE_DEND";
405
+ return this.popState(), i.getLogger().trace("node end ...", o.yytext), "NODE_DEND";
381
406
  case 30:
382
- return this.popState(), t.getLogger().trace("node end (("), "NODE_DEND";
407
+ return this.popState(), i.getLogger().trace("node end (("), "NODE_DEND";
383
408
  case 31:
384
- return this.popState(), t.getLogger().trace("node end (-"), "NODE_DEND";
409
+ return this.popState(), i.getLogger().trace("node end (-"), "NODE_DEND";
385
410
  case 32:
386
- return this.popState(), t.getLogger().trace("node end (-"), "NODE_DEND";
411
+ return this.popState(), i.getLogger().trace("node end (-"), "NODE_DEND";
387
412
  case 33:
388
- return this.popState(), t.getLogger().trace("node end (("), "NODE_DEND";
413
+ return this.popState(), i.getLogger().trace("node end (("), "NODE_DEND";
389
414
  case 34:
390
- return this.popState(), t.getLogger().trace("node end (("), "NODE_DEND";
415
+ return this.popState(), i.getLogger().trace("node end (("), "NODE_DEND";
391
416
  case 35:
392
- return t.getLogger().trace("Long description:", o.yytext), 20;
417
+ return i.getLogger().trace("Long description:", o.yytext), 20;
393
418
  case 36:
394
- return t.getLogger().trace("Long description:", o.yytext), 20;
419
+ return i.getLogger().trace("Long description:", o.yytext), 20;
395
420
  }
396
421
  }, "anonymous"),
397
422
  rules: [/^(?:\s*%%.*)/i, /^(?:mindmap\b)/i, /^(?::::)/i, /^(?:.+)/i, /^(?:\n)/i, /^(?:::icon\()/i, /^(?:[\s]+[\n])/i, /^(?:[\n]+)/i, /^(?:[^\)]+)/i, /^(?:\))/i, /^(?:-\))/i, /^(?:\(-)/i, /^(?:\)\))/i, /^(?:\))/i, /^(?:\(\()/i, /^(?:\{\{)/i, /^(?:\()/i, /^(?:\[)/i, /^(?:[\s]+)/i, /^(?:[^\(\[\n\)\{\}]+)/i, /^(?:$)/i, /^(?:["][`])/i, /^(?:[^`"]+)/i, /^(?:[`]["])/i, /^(?:["])/i, /^(?:[^"]+)/i, /^(?:["])/i, /^(?:[\)]\))/i, /^(?:[\)])/i, /^(?:[\]])/i, /^(?:\}\})/i, /^(?:\(-)/i, /^(?:-\))/i, /^(?:\(\()/i, /^(?:\()/i, /^(?:[^\)\]\(\}]+)/i, /^(?:.+(?!\(\())/i],
398
423
  conditions: { CLASS: { rules: [3, 4], inclusive: !1 }, ICON: { rules: [8, 9], inclusive: !1 }, NSTR2: { rules: [22, 23], inclusive: !1 }, NSTR: { rules: [25, 26], inclusive: !1 }, NODE: { rules: [21, 24, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36], inclusive: !1 }, INITIAL: { rules: [0, 1, 2, 5, 6, 7, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20], inclusive: !0 } }
399
424
  };
400
- return L;
425
+ return x;
401
426
  })();
402
- F.lexer = te;
427
+ F.lexer = se;
403
428
  function A() {
404
429
  this.yy = {};
405
430
  }
406
- return c(A, "Parser"), A.prototype = F, F.Parser = A, new A();
431
+ return l(A, "Parser"), A.prototype = F, F.Parser = A, new A();
407
432
  })();
408
- z.parser = z;
409
- var fe = z, k = {
433
+ X.parser = X;
434
+ var De = X, L = {
410
435
  DEFAULT: 0,
411
436
  NO_BORDER: 0,
412
437
  ROUNDED_RECT: 1,
@@ -415,27 +440,27 @@ var fe = z, k = {
415
440
  CLOUD: 4,
416
441
  BANG: 5,
417
442
  HEXAGON: 6
418
- }, C, ye = (C = class {
443
+ }, C, Ne = (C = class {
419
444
  constructor() {
420
- this.nodes = [], this.count = 0, this.elements = {}, this.getLogger = this.getLogger.bind(this), this.nodeType = k, this.clear(), this.getType = this.getType.bind(this), this.getElementById = this.getElementById.bind(this), this.getParent = this.getParent.bind(this), this.getMindmap = this.getMindmap.bind(this), this.addNode = this.addNode.bind(this), this.decorateNode = this.decorateNode.bind(this);
445
+ this.nodes = [], this.count = 0, this.elements = {}, this.getLogger = this.getLogger.bind(this), this.nodeType = L, this.clear(), this.getType = this.getType.bind(this), this.getElementById = this.getElementById.bind(this), this.getParent = this.getParent.bind(this), this.getMindmap = this.getMindmap.bind(this), this.addNode = this.addNode.bind(this), this.decorateNode = this.decorateNode.bind(this);
421
446
  }
422
447
  clear() {
423
448
  this.nodes = [], this.count = 0, this.elements = {}, this.baseLevel = void 0;
424
449
  }
425
450
  getParent(e) {
426
- for (let i = this.nodes.length - 1; i >= 0; i--)
427
- if (this.nodes[i].level < e)
428
- return this.nodes[i];
451
+ for (let n = this.nodes.length - 1; n >= 0; n--)
452
+ if (this.nodes[n].level < e)
453
+ return this.nodes[n];
429
454
  return null;
430
455
  }
431
456
  getMindmap() {
432
457
  return this.nodes.length > 0 ? this.nodes[0] : null;
433
458
  }
434
- addNode(e, i, l, f) {
435
- O.info("addNode", e, i, l, f);
459
+ addNode(e, n, c, f) {
460
+ I.info("addNode", e, n, c, f);
436
461
  let h = !1;
437
462
  this.nodes.length === 0 ? (this.baseLevel = e, e = 0, h = !0) : this.baseLevel !== void 0 && (e = e - this.baseLevel, h = !1);
438
- const p = H();
463
+ const p = z();
439
464
  let m = p.mindmap?.padding ?? B.mindmap.padding;
440
465
  switch (f) {
441
466
  case this.nodeType.ROUNDED_RECT:
@@ -446,9 +471,9 @@ var fe = z, k = {
446
471
  }
447
472
  const u = {
448
473
  id: this.count++,
449
- nodeId: U(i, p),
474
+ nodeId: V(n, p),
450
475
  level: e,
451
- descr: U(l, p),
476
+ descr: V(c, p),
452
477
  type: f,
453
478
  children: [],
454
479
  width: p.mindmap?.maxNodeWidth ?? B.mindmap.maxNodeWidth,
@@ -464,12 +489,12 @@ var fe = z, k = {
464
489
  `There can be only one root. No parent could be found for ("${u.descr}")`
465
490
  );
466
491
  }
467
- getType(e, i) {
468
- switch (O.debug("In get type", e, i), e) {
492
+ getType(e, n) {
493
+ switch (I.debug("In get type", e, n), e) {
469
494
  case "[":
470
495
  return this.nodeType.RECT;
471
496
  case "(":
472
- return i === ")" ? this.nodeType.ROUNDED_RECT : this.nodeType.CLOUD;
497
+ return n === ")" ? this.nodeType.ROUNDED_RECT : this.nodeType.CLOUD;
473
498
  case "((":
474
499
  return this.nodeType.CIRCLE;
475
500
  case ")":
@@ -482,8 +507,8 @@ var fe = z, k = {
482
507
  return this.nodeType.DEFAULT;
483
508
  }
484
509
  }
485
- setElementForId(e, i) {
486
- this.elements[e] = i;
510
+ setElementForId(e, n) {
511
+ this.elements[e] = n;
487
512
  }
488
513
  getElementById(e) {
489
514
  return this.elements[e];
@@ -491,8 +516,8 @@ var fe = z, k = {
491
516
  decorateNode(e) {
492
517
  if (!e)
493
518
  return;
494
- const i = H(), l = this.nodes[this.nodes.length - 1];
495
- e.icon && (l.icon = U(e.icon, i)), e.class && (l.class = U(e.class, i));
519
+ const n = z(), c = this.nodes[this.nodes.length - 1];
520
+ e.icon && (c.icon = V(e.icon, n)), e.class && (c.class = V(e.class, n));
496
521
  }
497
522
  type2Str(e) {
498
523
  switch (e) {
@@ -520,10 +545,10 @@ var fe = z, k = {
520
545
  * @param node - The mindmap node to process
521
546
  * @param sectionNumber - The section number to assign (undefined for root)
522
547
  */
523
- assignSections(e, i) {
524
- if (e.level === 0 ? e.section = void 0 : e.section = i, e.children)
525
- for (const [l, f] of e.children.entries()) {
526
- const h = e.level === 0 ? l : i;
548
+ assignSections(e, n) {
549
+ if (e.level === 0 ? e.section = void 0 : e.section = n, e.children)
550
+ for (const [c, f] of e.children.entries()) {
551
+ const h = e.level === 0 ? c : n;
527
552
  this.assignSections(f, h);
528
553
  }
529
554
  }
@@ -532,26 +557,26 @@ var fe = z, k = {
532
557
  * @param node - The mindmap node to process
533
558
  * @param processedNodes - Array to collect processed nodes
534
559
  */
535
- flattenNodes(e, i) {
536
- const l = ["mindmap-node"];
537
- e.isRoot === !0 ? l.push("section-root", "section--1") : e.section !== void 0 && l.push(`section-${e.section}`), e.class && l.push(e.class);
538
- const f = l.join(" "), h = /* @__PURE__ */ c((m) => {
560
+ flattenNodes(e, n) {
561
+ const c = ["mindmap-node"];
562
+ e.isRoot === !0 ? c.push("section-root", "section--1") : e.section !== void 0 && c.push(`section-${e.section}`), e.class && c.push(e.class);
563
+ const f = c.join(" "), h = /* @__PURE__ */ l((m) => {
539
564
  switch (m) {
540
- case k.CIRCLE:
565
+ case L.CIRCLE:
541
566
  return "mindmapCircle";
542
- case k.RECT:
567
+ case L.RECT:
543
568
  return "rect";
544
- case k.ROUNDED_RECT:
569
+ case L.ROUNDED_RECT:
545
570
  return "rounded";
546
- case k.CLOUD:
571
+ case L.CLOUD:
547
572
  return "cloud";
548
- case k.BANG:
573
+ case L.BANG:
549
574
  return "bang";
550
- case k.HEXAGON:
575
+ case L.HEXAGON:
551
576
  return "hexagon";
552
- case k.DEFAULT:
577
+ case L.DEFAULT:
553
578
  return "defaultMindmapNode";
554
- case k.NO_BORDER:
579
+ case L.NO_BORDER:
555
580
  default:
556
581
  return "rect";
557
582
  }
@@ -576,26 +601,26 @@ var fe = z, k = {
576
601
  type: e.type,
577
602
  section: e.section
578
603
  };
579
- if (i.push(p), e.children)
604
+ if (n.push(p), e.children)
580
605
  for (const m of e.children)
581
- this.flattenNodes(m, i);
606
+ this.flattenNodes(m, n);
582
607
  }
583
608
  /**
584
609
  * Generate edges from parent-child relationships in mindmap tree
585
610
  * @param node - The mindmap node to process
586
611
  * @param edges - Array to collect edges
587
612
  */
588
- generateEdges(e, i) {
613
+ generateEdges(e, n) {
589
614
  if (e.children)
590
- for (const l of e.children) {
615
+ for (const c of e.children) {
591
616
  let f = "edge";
592
- l.section !== void 0 && (f += ` section-edge-${l.section}`);
617
+ c.section !== void 0 && (f += ` section-edge-${c.section}`);
593
618
  const h = e.level + 1;
594
619
  f += ` edge-depth-${h}`;
595
620
  const p = {
596
- id: `edge_${e.id}_${l.id}`,
621
+ id: `edge_${e.id}_${c.id}`,
597
622
  start: e.id.toString(),
598
- end: l.id.toString(),
623
+ end: c.id.toString(),
599
624
  type: "normal",
600
625
  curve: "basis",
601
626
  thickness: "normal",
@@ -603,9 +628,9 @@ var fe = z, k = {
603
628
  classes: f,
604
629
  // Store mindmap-specific data
605
630
  depth: e.level,
606
- section: l.section
631
+ section: c.section
607
632
  };
608
- i.push(p), this.generateEdges(l, i);
633
+ n.push(p), this.generateEdges(c, n);
609
634
  }
610
635
  }
611
636
  /**
@@ -614,16 +639,16 @@ var fe = z, k = {
614
639
  * @returns Structured data containing nodes, edges, and config
615
640
  */
616
641
  getData() {
617
- const e = this.getMindmap(), i = H(), f = he().layout !== void 0, h = i;
642
+ const e = this.getMindmap(), n = z(), f = ue().layout !== void 0, h = n;
618
643
  if (f || (h.layout = "cose-bilkent"), !e)
619
644
  return {
620
645
  nodes: [],
621
646
  edges: [],
622
647
  config: h
623
648
  };
624
- O.debug("getData: mindmapRoot", e, i), this.assignSections(e);
649
+ I.debug("getData: mindmapRoot", e, n), this.assignSections(e);
625
650
  const p = [], m = [];
626
- this.flattenNodes(e, p), this.generateEdges(e, m), O.debug(
651
+ this.flattenNodes(e, p), this.generateEdges(e, m), I.debug(
627
652
  `getData: processed ${p.length} nodes and ${m.length} edges`
628
653
  );
629
654
  const u = /* @__PURE__ */ new Map();
@@ -653,54 +678,54 @@ var fe = z, k = {
653
678
  shapes: Object.fromEntries(u),
654
679
  // Additional properties that layout algorithms might expect
655
680
  type: "mindmap",
656
- diagramId: "mindmap-" + pe()
681
+ diagramId: "mindmap-" + Se()
657
682
  };
658
683
  }
659
684
  // Expose logger to grammar
660
685
  getLogger() {
661
- return O;
686
+ return I;
662
687
  }
663
- }, c(C, "MindmapDB"), C), me = /* @__PURE__ */ c(async (r, e, i, l) => {
664
- O.debug(`Rendering mindmap diagram
665
- ` + r);
666
- const f = l.db, h = f.getData(), p = oe(e, h.config.securityLevel);
667
- h.type = l.type, h.layoutAlgorithm = ce(h.config.layout, {
688
+ }, l(C, "MindmapDB"), C), ke = /* @__PURE__ */ l(async (t, e, n, c) => {
689
+ I.debug(`Rendering mindmap diagram
690
+ ` + t);
691
+ const f = c.db, h = f.getData(), p = le(e, h.config.securityLevel);
692
+ h.type = c.type, h.layoutAlgorithm = de(h.config.layout, {
668
693
  fallback: "cose-bilkent"
669
694
  }), h.diagramId = e, f.getMindmap() && (h.nodes.forEach((u) => {
670
695
  u.shape === "rounded" ? (u.radius = 15, u.taper = 15, u.stroke = "none", u.width = 0, u.padding = 15) : u.shape === "circle" ? u.padding = 10 : u.shape === "rect" && (u.width = 0, u.padding = 10);
671
- }), await le(h, p), ae(
696
+ }), await ge(h, p), he(
672
697
  p,
673
698
  h.config.mindmap?.padding ?? B.mindmap.padding,
674
699
  "mindmapDiagram",
675
700
  h.config.mindmap?.useMaxWidth ?? B.mindmap.useMaxWidth
676
701
  ));
677
- }, "draw"), Ee = {
678
- draw: me
679
- }, _e = /* @__PURE__ */ c((r) => {
702
+ }, "draw"), Le = {
703
+ draw: ke
704
+ }, xe = /* @__PURE__ */ l((t) => {
680
705
  let e = "";
681
- for (let i = 0; i < r.THEME_COLOR_LIMIT; i++)
682
- r["lineColor" + i] = r["lineColor" + i] || r["cScaleInv" + i], ge(r["lineColor" + i]) ? r["lineColor" + i] = de(r["lineColor" + i], 20) : r["lineColor" + i] = ue(r["lineColor" + i], 20);
683
- for (let i = 0; i < r.THEME_COLOR_LIMIT; i++) {
684
- const l = "" + (17 - 3 * i);
706
+ for (let n = 0; n < t.THEME_COLOR_LIMIT; n++)
707
+ t["lineColor" + n] = t["lineColor" + n] || t["cScaleInv" + n], pe(t["lineColor" + n]) ? t["lineColor" + n] = fe(t["lineColor" + n], 20) : t["lineColor" + n] = ye(t["lineColor" + n], 20);
708
+ for (let n = 0; n < t.THEME_COLOR_LIMIT; n++) {
709
+ const c = "" + (17 - 3 * n);
685
710
  e += `
686
- .section-${i - 1} rect, .section-${i - 1} path, .section-${i - 1} circle, .section-${i - 1} polygon, .section-${i - 1} path {
687
- fill: ${r["cScale" + i]};
711
+ .section-${n - 1} rect, .section-${n - 1} path, .section-${n - 1} circle, .section-${n - 1} polygon, .section-${n - 1} path {
712
+ fill: ${t["cScale" + n]};
688
713
  }
689
- .section-${i - 1} text {
690
- fill: ${r["cScaleLabel" + i]};
714
+ .section-${n - 1} text {
715
+ fill: ${t["cScaleLabel" + n]};
691
716
  }
692
- .node-icon-${i - 1} {
717
+ .node-icon-${n - 1} {
693
718
  font-size: 40px;
694
- color: ${r["cScaleLabel" + i]};
719
+ color: ${t["cScaleLabel" + n]};
695
720
  }
696
- .section-edge-${i - 1}{
697
- stroke: ${r["cScale" + i]};
721
+ .section-edge-${n - 1}{
722
+ stroke: ${t["cScale" + n]};
698
723
  }
699
- .edge-depth-${i - 1}{
700
- stroke-width: ${l};
724
+ .edge-depth-${n - 1}{
725
+ stroke-width: ${c};
701
726
  }
702
- .section-${i - 1} line {
703
- stroke: ${r["cScaleInv" + i]} ;
727
+ .section-${n - 1} line {
728
+ stroke: ${t["cScaleInv" + n]} ;
704
729
  stroke-width: 3;
705
730
  }
706
731
 
@@ -713,22 +738,22 @@ var fe = z, k = {
713
738
  `;
714
739
  }
715
740
  return e;
716
- }, "genSections"), be = /* @__PURE__ */ c((r) => `
741
+ }, "genSections"), ve = /* @__PURE__ */ l((t) => `
717
742
  .edge {
718
743
  stroke-width: 3;
719
744
  }
720
- ${_e(r)}
745
+ ${xe(t)}
721
746
  .section-root rect, .section-root path, .section-root circle, .section-root polygon {
722
- fill: ${r.git0};
747
+ fill: ${t.git0};
723
748
  }
724
749
  .section-root text {
725
- fill: ${r.gitBranchLabel0};
750
+ fill: ${t.gitBranchLabel0};
726
751
  }
727
752
  .section-root span {
728
- color: ${r.gitBranchLabel0};
753
+ color: ${t.gitBranchLabel0};
729
754
  }
730
755
  .section-2 span {
731
- color: ${r.gitBranchLabel0};
756
+ color: ${t.gitBranchLabel0};
732
757
  }
733
758
  .icon-container {
734
759
  height:100%;
@@ -746,14 +771,14 @@ var fe = z, k = {
746
771
  dominant-baseline: middle;
747
772
  text-align: center;
748
773
  }
749
- `, "getStyles"), Se = be, xe = {
774
+ `, "getStyles"), Te = ve, Re = {
750
775
  get db() {
751
- return new ye();
776
+ return new Ne();
752
777
  },
753
- renderer: Ee,
754
- parser: fe,
755
- styles: Se
778
+ renderer: Le,
779
+ parser: De,
780
+ styles: Te
756
781
  };
757
782
  export {
758
- xe as diagram
783
+ Re as diagram
759
784
  };