@aidapt/caity-chat 3.0.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 (62) hide show
  1. package/README.md +73 -0
  2. package/dist/lib/_baseUniq-BVCT-t6P.js +477 -0
  3. package/dist/lib/arc-Kj6ZmwPS.js +83 -0
  4. package/dist/lib/architectureDiagram-Q4EWVU46-DA4kYaz_.js +4690 -0
  5. package/dist/lib/blockDiagram-DXYQGD6D-BWT5yya1.js +2295 -0
  6. package/dist/lib/c4Diagram-AHTNJAMY-BjY6DW3U.js +1577 -0
  7. package/dist/lib/caity-chat.tgz +0 -0
  8. package/dist/lib/channel-BjraetTo.js +5 -0
  9. package/dist/lib/chunk-4BX2VUAB-iSPZGgxQ.js +8 -0
  10. package/dist/lib/chunk-4TB4RGXK-DvnUcLoe.js +1465 -0
  11. package/dist/lib/chunk-55IACEB6-Mw25YX9j.js +8 -0
  12. package/dist/lib/chunk-EDXVE4YY-Dtbxz7df.js +19 -0
  13. package/dist/lib/chunk-FMBD7UC4-OCIy3top.js +19 -0
  14. package/dist/lib/chunk-OYMX7WX6-DFW9El2C.js +1383 -0
  15. package/dist/lib/chunk-QZHKN3VN-BYFTfk7k.js +15 -0
  16. package/dist/lib/chunk-YZCP3GAM-Cs-HTcyJ.js +68 -0
  17. package/dist/lib/classDiagram-6PBFFD2Q-CrDUlIYr.js +16 -0
  18. package/dist/lib/classDiagram-v2-HSJHXN6E-CrDUlIYr.js +16 -0
  19. package/dist/lib/clone-C0qEGPCz.js +8 -0
  20. package/dist/lib/cose-bilkent-S5V4N54A-H1-YbKvI.js +2609 -0
  21. package/dist/lib/cytoscape.esm-D_3MZVO6.js +18707 -0
  22. package/dist/lib/dagre-KV5264BT-DhEnTJ4D.js +443 -0
  23. package/dist/lib/defaultLocale-BgPVtth8.js +171 -0
  24. package/dist/lib/diagram-5BDNPKRD-CK6wgKxI.js +123 -0
  25. package/dist/lib/diagram-G4DWMVQ6-IhA_MJ0t.js +528 -0
  26. package/dist/lib/diagram-MMDJMWI5-DDuA1rYY.js +217 -0
  27. package/dist/lib/diagram-TYMM5635-_VI1en0S.js +142 -0
  28. package/dist/lib/erDiagram-SMLLAGMA-B1REwW7y.js +899 -0
  29. package/dist/lib/flowDiagram-DWJPFMVM-rWzOGDlg.js +1628 -0
  30. package/dist/lib/ganttDiagram-T4ZO3ILL-UhSvbAmM.js +2701 -0
  31. package/dist/lib/gitGraphDiagram-UUTBAWPF-DrsSMMoJ.js +815 -0
  32. package/dist/lib/graph-DMr8NrNW.js +738 -0
  33. package/dist/lib/index.d.ts +665 -0
  34. package/dist/lib/index.js +52 -0
  35. package/dist/lib/infoDiagram-42DDH7IO-CPF3XCNj.js +24 -0
  36. package/dist/lib/init-DjUOC4st.js +16 -0
  37. package/dist/lib/ishikawaDiagram-UXIWVN3A-B4Nt1TdW.js +621 -0
  38. package/dist/lib/journeyDiagram-VCZTEJTY-DW5yRsOM.js +834 -0
  39. package/dist/lib/kanban-definition-6JOO6SKY-5DmJRubo.js +724 -0
  40. package/dist/lib/layout-B00IQLgh.js +1441 -0
  41. package/dist/lib/linear-LLab47WO.js +259 -0
  42. package/dist/lib/main-C9dvh9CT.js +88771 -0
  43. package/dist/lib/mermaid.core-BrBkhL9h.js +15967 -0
  44. package/dist/lib/min-CJFyJhXg.js +38 -0
  45. package/dist/lib/mindmap-definition-QFDTVHPH-doqZCFNi.js +833 -0
  46. package/dist/lib/ordinal-B6-f3MAq.js +61 -0
  47. package/dist/lib/pieDiagram-DEJITSTG-DKi5GKup.js +163 -0
  48. package/dist/lib/quadrantDiagram-34T5L4WZ-COYWmEhy.js +1022 -0
  49. package/dist/lib/requirementDiagram-MS252O5E-D3odK6YH.js +882 -0
  50. package/dist/lib/sankeyDiagram-XADWPNL6-D36eaMCx.js +810 -0
  51. package/dist/lib/sequenceDiagram-FGHM5R23-NpESTwMk.js +2883 -0
  52. package/dist/lib/standalone.js +4 -0
  53. package/dist/lib/stateDiagram-FHFEXIEX-kXZ_Bn-a.js +263 -0
  54. package/dist/lib/stateDiagram-v2-QKLJ7IA2-B5xMdEuE.js +16 -0
  55. package/dist/lib/timeline-definition-GMOUNBTQ-DZDdcJwy.js +1055 -0
  56. package/dist/lib/vennDiagram-DHZGUBPP-Clhb6EGF.js +1557 -0
  57. package/dist/lib/wardley-RL74JXVD-CwSnyVu7.js +18396 -0
  58. package/dist/lib/wardleyDiagram-NUSXRM2D-DnXL4F04.js +594 -0
  59. package/dist/lib/xychartDiagram-5P7HB3ND-CweIkrg3.js +1342 -0
  60. package/package.json +95 -0
  61. package/src/types/caity-chat.d.ts +213 -0
  62. package/src/types/template-slots.d.ts +167 -0
@@ -0,0 +1,833 @@
1
+ import { g as le } from "./chunk-55IACEB6-Mw25YX9j.js";
2
+ import { s as he } from "./chunk-EDXVE4YY-Dtbxz7df.js";
3
+ import { _ as h, l as C, o as de, r as ge, D as ue, G as j, c as B, i as G, aF as pe, V as fe, W as me, X as ye } from "./mermaid.core-BrBkhL9h.js";
4
+ const _ = [];
5
+ for (let t = 0; t < 256; ++t)
6
+ _.push((t + 256).toString(16).slice(1));
7
+ function Ee(t, e = 0) {
8
+ return (_[t[e + 0]] + _[t[e + 1]] + _[t[e + 2]] + _[t[e + 3]] + "-" + _[t[e + 4]] + _[t[e + 5]] + "-" + _[t[e + 6]] + _[t[e + 7]] + "-" + _[t[e + 8]] + _[t[e + 9]] + "-" + _[t[e + 10]] + _[t[e + 11]] + _[t[e + 12]] + _[t[e + 13]] + _[t[e + 14]] + _[t[e + 15]]).toLowerCase();
9
+ }
10
+ let q;
11
+ const _e = new Uint8Array(16);
12
+ function be() {
13
+ if (!q) {
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
+ q = crypto.getRandomValues.bind(crypto);
17
+ }
18
+ return q(_e);
19
+ }
20
+ const ke = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), ie = { randomUUID: ke };
21
+ function Se(t, e, a) {
22
+ if (ie.randomUUID && !t)
23
+ return ie.randomUUID();
24
+ t = t || {};
25
+ const l = t.random ?? t.rng?.() ?? be();
26
+ if (l.length < 16)
27
+ throw new Error("Random bytes length must be >= 16");
28
+ return l[6] = l[6] & 15 | 64, l[8] = l[8] & 63 | 128, Ee(l);
29
+ }
30
+ var J = (function() {
31
+ var t = /* @__PURE__ */ h(function(L, s, i, o) {
32
+ for (i = i || {}, o = L.length; o--; i[L[o]] = s) ;
33
+ return i;
34
+ }, "o"), e = [1, 4], a = [1, 13], l = [1, 12], n = [1, 15], d = [1, 16], f = [1, 20], y = [1, 19], E = [6, 7, 8], b = [1, 26], v = [1, 24], R = [1, 25], g = [6, 7, 11], A = [1, 6, 13, 15, 16, 19, 22], K = [1, 33], Q = [1, 34], $ = [1, 6, 7, 11, 13, 15, 16, 19, 22], H = {
35
+ trace: /* @__PURE__ */ h(function() {
36
+ }, "trace"),
37
+ yy: {},
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 },
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" },
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]],
41
+ performAction: /* @__PURE__ */ h(function(s, i, o, c, p, r, U) {
42
+ var u = r.length - 1;
43
+ switch (p) {
44
+ case 6:
45
+ case 7:
46
+ return c;
47
+ case 8:
48
+ c.getLogger().trace("Stop NL ");
49
+ break;
50
+ case 9:
51
+ c.getLogger().trace("Stop EOF ");
52
+ break;
53
+ case 11:
54
+ c.getLogger().trace("Stop NL2 ");
55
+ break;
56
+ case 12:
57
+ c.getLogger().trace("Stop EOF2 ");
58
+ break;
59
+ case 15:
60
+ c.getLogger().info("Node: ", r[u].id), c.addNode(r[u - 1].length, r[u].id, r[u].descr, r[u].type);
61
+ break;
62
+ case 16:
63
+ c.getLogger().trace("Icon: ", r[u]), c.decorateNode({ icon: r[u] });
64
+ break;
65
+ case 17:
66
+ case 21:
67
+ c.decorateNode({ class: r[u] });
68
+ break;
69
+ case 18:
70
+ c.getLogger().trace("SPACELIST");
71
+ break;
72
+ case 19:
73
+ c.getLogger().trace("Node: ", r[u].id), c.addNode(0, r[u].id, r[u].descr, r[u].type);
74
+ break;
75
+ case 20:
76
+ c.decorateNode({ icon: r[u] });
77
+ break;
78
+ case 25:
79
+ c.getLogger().trace("node found ..", r[u - 2]), this.$ = { id: r[u - 1], descr: r[u - 1], type: c.getType(r[u - 2], r[u]) };
80
+ break;
81
+ case 26:
82
+ this.$ = { id: r[u], descr: r[u], type: c.nodeType.DEFAULT };
83
+ break;
84
+ case 27:
85
+ c.getLogger().trace("node found ..", r[u - 3]), this.$ = { id: r[u - 3], descr: r[u - 1], type: c.getType(r[u - 2], r[u]) };
86
+ break;
87
+ }
88
+ }, "anonymous"),
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: a, 7: [1, 10], 9: 9, 12: 11, 13: l, 14: 14, 15: n, 16: d, 17: 17, 18: 18, 19: f, 22: y }, t(E, [2, 3]), { 1: [2, 2] }, t(E, [2, 4]), t(E, [2, 5]), { 1: [2, 6], 6: a, 12: 21, 13: l, 14: 14, 15: n, 16: d, 17: 17, 18: 18, 19: f, 22: y }, { 6: a, 9: 22, 12: 11, 13: l, 14: 14, 15: n, 16: d, 17: 17, 18: 18, 19: f, 22: y }, { 6: b, 7: v, 10: 23, 11: R }, t(g, [2, 22], { 17: 17, 18: 18, 14: 27, 15: [1, 28], 16: [1, 29], 19: f, 22: y }), t(g, [2, 18]), t(g, [2, 19]), t(g, [2, 20]), t(g, [2, 21]), t(g, [2, 23]), t(g, [2, 24]), t(g, [2, 26], { 19: [1, 30] }), { 20: [1, 31] }, { 6: b, 7: v, 10: 32, 11: R }, { 1: [2, 7], 6: a, 12: 21, 13: l, 14: 14, 15: n, 16: d, 17: 17, 18: 18, 19: f, 22: y }, t(A, [2, 14], { 7: K, 11: Q }), t($, [2, 8]), t($, [2, 9]), t($, [2, 10]), t(g, [2, 15]), t(g, [2, 16]), t(g, [2, 17]), { 20: [1, 35] }, { 21: [1, 36] }, t(A, [2, 13], { 7: K, 11: Q }), t($, [2, 11]), t($, [2, 12]), { 21: [1, 37] }, t(g, [2, 25]), t(g, [2, 27])],
90
+ defaultActions: { 2: [2, 1], 6: [2, 2] },
91
+ parseError: /* @__PURE__ */ h(function(s, i) {
92
+ if (i.recoverable)
93
+ this.trace(s);
94
+ else {
95
+ var o = new Error(s);
96
+ throw o.hash = i, o;
97
+ }
98
+ }, "parseError"),
99
+ parse: /* @__PURE__ */ h(function(s) {
100
+ var i = this, o = [0], c = [], p = [null], r = [], U = this.table, u = "", M = 0, Z = 0, re = 2, ee = 1, oe = r.slice.call(arguments, 1), m = Object.create(this.lexer), T = { yy: {} };
101
+ for (var W in this.yy)
102
+ Object.prototype.hasOwnProperty.call(this.yy, W) && (T.yy[W] = this.yy[W]);
103
+ m.setInput(s, T.yy), T.yy.lexer = m, T.yy.parser = this, typeof m.yylloc > "u" && (m.yylloc = {});
104
+ var X = m.yylloc;
105
+ r.push(X);
106
+ var ae = m.options && m.options.ranges;
107
+ typeof T.yy.parseError == "function" ? this.parseError = T.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
108
+ function ce(S) {
109
+ o.length = o.length - 2 * S, p.length = p.length - S, r.length = r.length - S;
110
+ }
111
+ h(ce, "popStack");
112
+ function te() {
113
+ var S;
114
+ return S = c.pop() || m.lex() || ee, typeof S != "number" && (S instanceof Array && (c = S, S = c.pop()), S = i.symbols_[S] || S), S;
115
+ }
116
+ h(te, "lex");
117
+ for (var k, O, x, z, I = {}, V, D, ne, F; ; ) {
118
+ if (O = o[o.length - 1], this.defaultActions[O] ? x = this.defaultActions[O] : ((k === null || typeof k > "u") && (k = te()), x = U[O] && U[O][k]), typeof x > "u" || !x.length || !x[0]) {
119
+ var Y = "";
120
+ F = [];
121
+ for (V in U[O])
122
+ this.terminals_[V] && V > re && F.push("'" + this.terminals_[V] + "'");
123
+ m.showPosition ? Y = "Parse error on line " + (M + 1) + `:
124
+ ` + m.showPosition() + `
125
+ Expecting ` + F.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : Y = "Parse error on line " + (M + 1) + ": Unexpected " + (k == ee ? "end of input" : "'" + (this.terminals_[k] || k) + "'"), this.parseError(Y, {
126
+ text: m.match,
127
+ token: this.terminals_[k] || k,
128
+ line: m.yylineno,
129
+ loc: X,
130
+ expected: F
131
+ });
132
+ }
133
+ if (x[0] instanceof Array && x.length > 1)
134
+ throw new Error("Parse Error: multiple actions possible at state: " + O + ", token: " + k);
135
+ switch (x[0]) {
136
+ case 1:
137
+ o.push(k), p.push(m.yytext), r.push(m.yylloc), o.push(x[1]), k = null, Z = m.yyleng, u = m.yytext, M = m.yylineno, X = m.yylloc;
138
+ break;
139
+ case 2:
140
+ if (D = this.productions_[x[1]][1], I.$ = p[p.length - D], I._$ = {
141
+ first_line: r[r.length - (D || 1)].first_line,
142
+ last_line: r[r.length - 1].last_line,
143
+ first_column: r[r.length - (D || 1)].first_column,
144
+ last_column: r[r.length - 1].last_column
145
+ }, ae && (I._$.range = [
146
+ r[r.length - (D || 1)].range[0],
147
+ r[r.length - 1].range[1]
148
+ ]), z = this.performAction.apply(I, [
149
+ u,
150
+ Z,
151
+ M,
152
+ T.yy,
153
+ x[1],
154
+ p,
155
+ r
156
+ ].concat(oe)), typeof z < "u")
157
+ return z;
158
+ D && (o = o.slice(0, -1 * D * 2), p = p.slice(0, -1 * D), r = r.slice(0, -1 * D)), o.push(this.productions_[x[1]][0]), p.push(I.$), r.push(I._$), ne = U[o[o.length - 2]][o[o.length - 1]], o.push(ne);
159
+ break;
160
+ case 3:
161
+ return !0;
162
+ }
163
+ }
164
+ return !0;
165
+ }, "parse")
166
+ }, se = /* @__PURE__ */ (function() {
167
+ var L = {
168
+ EOF: 1,
169
+ parseError: /* @__PURE__ */ h(function(i, o) {
170
+ if (this.yy.parser)
171
+ this.yy.parser.parseError(i, o);
172
+ else
173
+ throw new Error(i);
174
+ }, "parseError"),
175
+ // resets the lexer, sets new input
176
+ setInput: /* @__PURE__ */ h(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 = {
178
+ first_line: 1,
179
+ first_column: 0,
180
+ last_line: 1,
181
+ last_column: 0
182
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
183
+ }, "setInput"),
184
+ // consumes and returns one char from the input
185
+ input: /* @__PURE__ */ h(function() {
186
+ var s = this._input[0];
187
+ this.yytext += s, this.yyleng++, this.offset++, this.match += s, this.matched += 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;
190
+ }, "input"),
191
+ // unshifts one char (or a string) into the input
192
+ unput: /* @__PURE__ */ h(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;
195
+ var c = this.match.split(/(?:\r\n?|\n)/g);
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);
197
+ var p = this.yylloc.range;
198
+ return this.yylloc = {
199
+ first_line: this.yylloc.first_line,
200
+ last_line: this.yylineno + 1,
201
+ first_column: this.yylloc.first_column,
202
+ last_column: o ? (o.length === c.length ? this.yylloc.first_column : 0) + c[c.length - o.length].length - o[0].length : this.yylloc.first_column - i
203
+ }, this.options.ranges && (this.yylloc.range = [p[0], p[0] + this.yyleng - i]), this.yyleng = this.yytext.length, this;
204
+ }, "unput"),
205
+ // When called from action, caches matched text and appends it on next action
206
+ more: /* @__PURE__ */ h(function() {
207
+ return this._more = !0, this;
208
+ }, "more"),
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.
210
+ reject: /* @__PURE__ */ h(function() {
211
+ if (this.options.backtrack_lexer)
212
+ this._backtrack = !0;
213
+ else
214
+ return this.parseError("Lexical error on line " + (this.yylineno + 1) + `. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
215
+ ` + this.showPosition(), {
216
+ text: "",
217
+ token: null,
218
+ line: this.yylineno
219
+ });
220
+ return this;
221
+ }, "reject"),
222
+ // retain first n characters of the match
223
+ less: /* @__PURE__ */ h(function(s) {
224
+ this.unput(this.match.slice(s));
225
+ }, "less"),
226
+ // displays already matched input, i.e. for error messages
227
+ pastInput: /* @__PURE__ */ h(function() {
228
+ var s = this.matched.substr(0, this.matched.length - this.match.length);
229
+ return (s.length > 20 ? "..." : "") + s.substr(-20).replace(/\n/g, "");
230
+ }, "pastInput"),
231
+ // displays upcoming input, i.e. for error messages
232
+ upcomingInput: /* @__PURE__ */ h(function() {
233
+ var s = this.match;
234
+ return s.length < 20 && (s += this._input.substr(0, 20 - s.length)), (s.substr(0, 20) + (s.length > 20 ? "..." : "")).replace(/\n/g, "");
235
+ }, "upcomingInput"),
236
+ // displays the character position where the lexing error occurred, i.e. for error messages
237
+ showPosition: /* @__PURE__ */ h(function() {
238
+ var s = this.pastInput(), i = new Array(s.length + 1).join("-");
239
+ return s + this.upcomingInput() + `
240
+ ` + i + "^";
241
+ }, "showPosition"),
242
+ // test the lexed token: return FALSE when not a match, otherwise return token
243
+ test_match: /* @__PURE__ */ h(function(s, i) {
244
+ var o, c, p;
245
+ if (this.options.backtrack_lexer && (p = {
246
+ yylineno: this.yylineno,
247
+ yylloc: {
248
+ first_line: this.yylloc.first_line,
249
+ last_line: this.last_line,
250
+ first_column: this.yylloc.first_column,
251
+ last_column: this.yylloc.last_column
252
+ },
253
+ yytext: this.yytext,
254
+ match: this.match,
255
+ matches: this.matches,
256
+ matched: this.matched,
257
+ yyleng: this.yyleng,
258
+ offset: this.offset,
259
+ _more: this._more,
260
+ _input: this._input,
261
+ yy: this.yy,
262
+ conditionStack: this.conditionStack.slice(0),
263
+ done: this.done
264
+ }, this.options.ranges && (p.yylloc.range = this.yylloc.range.slice(0))), c = s[0].match(/(?:\r\n?|\n).*/g), c && (this.yylineno += c.length), this.yylloc = {
265
+ first_line: this.yylloc.last_line,
266
+ last_line: this.yylineno + 1,
267
+ first_column: this.yylloc.last_column,
268
+ last_column: c ? c[c.length - 1].length - c[c.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + s[0].length
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)
270
+ return o;
271
+ if (this._backtrack) {
272
+ for (var r in p)
273
+ this[r] = p[r];
274
+ return !1;
275
+ }
276
+ return !1;
277
+ }, "test_match"),
278
+ // return next match in input
279
+ next: /* @__PURE__ */ h(function() {
280
+ if (this.done)
281
+ return this.EOF;
282
+ this._input || (this.done = !0);
283
+ var s, i, o, c;
284
+ this._more || (this.yytext = "", this.match = "");
285
+ for (var p = this._currentRules(), r = 0; r < p.length; r++)
286
+ if (o = this._input.match(this.rules[p[r]]), o && (!i || o[0].length > i[0].length)) {
287
+ if (i = o, c = r, this.options.backtrack_lexer) {
288
+ if (s = this.test_match(o, p[r]), s !== !1)
289
+ return s;
290
+ if (this._backtrack) {
291
+ i = !1;
292
+ continue;
293
+ } else
294
+ return !1;
295
+ } else if (!this.options.flex)
296
+ break;
297
+ }
298
+ return i ? (s = this.test_match(i, p[c]), s !== !1 ? s : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
299
+ ` + this.showPosition(), {
300
+ text: "",
301
+ token: null,
302
+ line: this.yylineno
303
+ });
304
+ }, "next"),
305
+ // return next match that has a token
306
+ lex: /* @__PURE__ */ h(function() {
307
+ var i = this.next();
308
+ return i || this.lex();
309
+ }, "lex"),
310
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
311
+ begin: /* @__PURE__ */ h(function(i) {
312
+ this.conditionStack.push(i);
313
+ }, "begin"),
314
+ // pop the previously active lexer condition state off the condition stack
315
+ popState: /* @__PURE__ */ h(function() {
316
+ var i = this.conditionStack.length - 1;
317
+ return i > 0 ? this.conditionStack.pop() : this.conditionStack[0];
318
+ }, "popState"),
319
+ // produce the lexer rule set which is active for the currently active lexer condition state
320
+ _currentRules: /* @__PURE__ */ h(function() {
321
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
322
+ }, "_currentRules"),
323
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
324
+ topState: /* @__PURE__ */ h(function(i) {
325
+ return i = this.conditionStack.length - 1 - Math.abs(i || 0), i >= 0 ? this.conditionStack[i] : "INITIAL";
326
+ }, "topState"),
327
+ // alias for begin(condition)
328
+ pushState: /* @__PURE__ */ h(function(i) {
329
+ this.begin(i);
330
+ }, "pushState"),
331
+ // return the number of states currently on the stack
332
+ stateStackSize: /* @__PURE__ */ h(function() {
333
+ return this.conditionStack.length;
334
+ }, "stateStackSize"),
335
+ options: { "case-insensitive": !0 },
336
+ performAction: /* @__PURE__ */ h(function(i, o, c, p) {
337
+ switch (c) {
338
+ case 0:
339
+ return i.getLogger().trace("Found comment", o.yytext), 6;
340
+ case 1:
341
+ return 8;
342
+ case 2:
343
+ this.begin("CLASS");
344
+ break;
345
+ case 3:
346
+ return this.popState(), 16;
347
+ case 4:
348
+ this.popState();
349
+ break;
350
+ case 5:
351
+ i.getLogger().trace("Begin icon"), this.begin("ICON");
352
+ break;
353
+ case 6:
354
+ return i.getLogger().trace("SPACELINE"), 6;
355
+ case 7:
356
+ return 7;
357
+ case 8:
358
+ return 15;
359
+ case 9:
360
+ i.getLogger().trace("end icon"), this.popState();
361
+ break;
362
+ case 10:
363
+ return i.getLogger().trace("Exploding node"), this.begin("NODE"), 19;
364
+ case 11:
365
+ return i.getLogger().trace("Cloud"), this.begin("NODE"), 19;
366
+ case 12:
367
+ return i.getLogger().trace("Explosion Bang"), this.begin("NODE"), 19;
368
+ case 13:
369
+ return i.getLogger().trace("Cloud Bang"), this.begin("NODE"), 19;
370
+ case 14:
371
+ return this.begin("NODE"), 19;
372
+ case 15:
373
+ return this.begin("NODE"), 19;
374
+ case 16:
375
+ return this.begin("NODE"), 19;
376
+ case 17:
377
+ return this.begin("NODE"), 19;
378
+ case 18:
379
+ return 13;
380
+ case 19:
381
+ return 22;
382
+ case 20:
383
+ return 11;
384
+ case 21:
385
+ this.begin("NSTR2");
386
+ break;
387
+ case 22:
388
+ return "NODE_DESCR";
389
+ case 23:
390
+ this.popState();
391
+ break;
392
+ case 24:
393
+ i.getLogger().trace("Starting NSTR"), this.begin("NSTR");
394
+ break;
395
+ case 25:
396
+ return i.getLogger().trace("description:", o.yytext), "NODE_DESCR";
397
+ case 26:
398
+ this.popState();
399
+ break;
400
+ case 27:
401
+ return this.popState(), i.getLogger().trace("node end ))"), "NODE_DEND";
402
+ case 28:
403
+ return this.popState(), i.getLogger().trace("node end )"), "NODE_DEND";
404
+ case 29:
405
+ return this.popState(), i.getLogger().trace("node end ...", o.yytext), "NODE_DEND";
406
+ case 30:
407
+ return this.popState(), i.getLogger().trace("node end (("), "NODE_DEND";
408
+ case 31:
409
+ return this.popState(), i.getLogger().trace("node end (-"), "NODE_DEND";
410
+ case 32:
411
+ return this.popState(), i.getLogger().trace("node end (-"), "NODE_DEND";
412
+ case 33:
413
+ return this.popState(), i.getLogger().trace("node end (("), "NODE_DEND";
414
+ case 34:
415
+ return this.popState(), i.getLogger().trace("node end (("), "NODE_DEND";
416
+ case 35:
417
+ return i.getLogger().trace("Long description:", o.yytext), 20;
418
+ case 36:
419
+ return i.getLogger().trace("Long description:", o.yytext), 20;
420
+ }
421
+ }, "anonymous"),
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],
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 } }
424
+ };
425
+ return L;
426
+ })();
427
+ H.lexer = se;
428
+ function P() {
429
+ this.yy = {};
430
+ }
431
+ return h(P, "Parser"), P.prototype = H, H.Parser = P, new P();
432
+ })();
433
+ J.parser = J;
434
+ var xe = J, De = 12, N = {
435
+ DEFAULT: 0,
436
+ NO_BORDER: 0,
437
+ ROUNDED_RECT: 1,
438
+ RECT: 2,
439
+ CIRCLE: 3,
440
+ CLOUD: 4,
441
+ BANG: 5,
442
+ HEXAGON: 6
443
+ }, w, Ne = (w = class {
444
+ constructor() {
445
+ this.nodes = [], this.count = 0, this.elements = {}, this.getLogger = this.getLogger.bind(this), this.nodeType = N, 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);
446
+ }
447
+ clear() {
448
+ this.nodes = [], this.count = 0, this.elements = {}, this.baseLevel = void 0;
449
+ }
450
+ getParent(e) {
451
+ for (let a = this.nodes.length - 1; a >= 0; a--)
452
+ if (this.nodes[a].level < e)
453
+ return this.nodes[a];
454
+ return null;
455
+ }
456
+ getMindmap() {
457
+ return this.nodes.length > 0 ? this.nodes[0] : null;
458
+ }
459
+ addNode(e, a, l, n) {
460
+ C.info("addNode", e, a, l, n);
461
+ let d = !1;
462
+ this.nodes.length === 0 ? (this.baseLevel = e, e = 0, d = !0) : this.baseLevel !== void 0 && (e = e - this.baseLevel, d = !1);
463
+ const f = B();
464
+ let y = f.mindmap?.padding ?? j.mindmap.padding;
465
+ switch (n) {
466
+ case this.nodeType.ROUNDED_RECT:
467
+ case this.nodeType.RECT:
468
+ case this.nodeType.HEXAGON:
469
+ y *= 2;
470
+ break;
471
+ }
472
+ const E = {
473
+ id: this.count++,
474
+ nodeId: G(a, f),
475
+ level: e,
476
+ descr: G(l, f),
477
+ type: n,
478
+ children: [],
479
+ width: f.mindmap?.maxNodeWidth ?? j.mindmap.maxNodeWidth,
480
+ padding: y,
481
+ isRoot: d
482
+ }, b = this.getParent(e);
483
+ if (b)
484
+ b.children.push(E), this.nodes.push(E);
485
+ else if (d)
486
+ this.nodes.push(E);
487
+ else
488
+ throw new Error(
489
+ `There can be only one root. No parent could be found for ("${E.descr}")`
490
+ );
491
+ }
492
+ getType(e, a) {
493
+ switch (C.debug("In get type", e, a), e) {
494
+ case "[":
495
+ return this.nodeType.RECT;
496
+ case "(":
497
+ return a === ")" ? this.nodeType.ROUNDED_RECT : this.nodeType.CLOUD;
498
+ case "((":
499
+ return this.nodeType.CIRCLE;
500
+ case ")":
501
+ return this.nodeType.CLOUD;
502
+ case "))":
503
+ return this.nodeType.BANG;
504
+ case "{{":
505
+ return this.nodeType.HEXAGON;
506
+ default:
507
+ return this.nodeType.DEFAULT;
508
+ }
509
+ }
510
+ setElementForId(e, a) {
511
+ this.elements[e] = a;
512
+ }
513
+ getElementById(e) {
514
+ return this.elements[e];
515
+ }
516
+ decorateNode(e) {
517
+ if (!e)
518
+ return;
519
+ const a = B(), l = this.nodes[this.nodes.length - 1];
520
+ e.icon && (l.icon = G(e.icon, a)), e.class && (l.class = G(e.class, a));
521
+ }
522
+ type2Str(e) {
523
+ switch (e) {
524
+ case this.nodeType.DEFAULT:
525
+ return "no-border";
526
+ case this.nodeType.RECT:
527
+ return "rect";
528
+ case this.nodeType.ROUNDED_RECT:
529
+ return "rounded-rect";
530
+ case this.nodeType.CIRCLE:
531
+ return "circle";
532
+ case this.nodeType.CLOUD:
533
+ return "cloud";
534
+ case this.nodeType.BANG:
535
+ return "bang";
536
+ case this.nodeType.HEXAGON:
537
+ return "hexgon";
538
+ // cspell: disable-line
539
+ default:
540
+ return "no-border";
541
+ }
542
+ }
543
+ /**
544
+ * Assign section numbers to nodes based on their position relative to root
545
+ * @param node - The mindmap node to process
546
+ * @param sectionNumber - The section number to assign (undefined for root)
547
+ */
548
+ assignSections(e, a) {
549
+ if (e.level === 0 ? e.section = void 0 : e.section = a, e.children)
550
+ for (const [l, n] of e.children.entries()) {
551
+ const d = e.level === 0 ? l % (De - 1) : a;
552
+ this.assignSections(n, d);
553
+ }
554
+ }
555
+ /**
556
+ * Convert mindmap tree structure to flat array of nodes
557
+ * @param node - The mindmap node to process
558
+ * @param processedNodes - Array to collect processed nodes
559
+ */
560
+ flattenNodes(e, a) {
561
+ const l = B(), n = ["mindmap-node"];
562
+ e.isRoot === !0 ? n.push("section-root", "section--1") : e.section !== void 0 && n.push(`section-${e.section}`), e.class && n.push(e.class);
563
+ const d = n.join(" "), f = /* @__PURE__ */ h((E) => {
564
+ const v = (l.theme?.toLowerCase() ?? "").includes("redux");
565
+ switch (E) {
566
+ case N.CIRCLE:
567
+ return "mindmapCircle";
568
+ case N.RECT:
569
+ return "rect";
570
+ case N.ROUNDED_RECT:
571
+ return "rounded";
572
+ case N.CLOUD:
573
+ return "cloud";
574
+ case N.BANG:
575
+ return "bang";
576
+ case N.HEXAGON:
577
+ return "hexagon";
578
+ case N.DEFAULT:
579
+ return v ? "rounded" : "defaultMindmapNode";
580
+ case N.NO_BORDER:
581
+ default:
582
+ return "rect";
583
+ }
584
+ }, "getShapeFromType"), y = {
585
+ id: e.id.toString(),
586
+ domId: "node_" + e.id.toString(),
587
+ label: e.descr,
588
+ labelType: "markdown",
589
+ isGroup: !1,
590
+ shape: f(e.type),
591
+ width: e.width,
592
+ height: e.height ?? 0,
593
+ padding: e.padding,
594
+ cssClasses: d,
595
+ cssStyles: [],
596
+ look: l.look,
597
+ icon: e.icon,
598
+ x: e.x,
599
+ y: e.y,
600
+ // Mindmap-specific properties
601
+ level: e.level,
602
+ nodeId: e.nodeId,
603
+ type: e.type,
604
+ section: e.section
605
+ };
606
+ if (a.push(y), e.children)
607
+ for (const E of e.children)
608
+ this.flattenNodes(E, a);
609
+ }
610
+ /**
611
+ * Generate edges from parent-child relationships in mindmap tree
612
+ * @param node - The mindmap node to process
613
+ * @param edges - Array to collect edges
614
+ */
615
+ generateEdges(e, a) {
616
+ if (!e.children)
617
+ return;
618
+ const l = B();
619
+ for (const n of e.children) {
620
+ let d = "edge";
621
+ n.section !== void 0 && (d += ` section-edge-${n.section}`);
622
+ const f = e.level + 1;
623
+ d += ` edge-depth-${f}`;
624
+ const y = {
625
+ id: `edge_${e.id}_${n.id}`,
626
+ start: e.id.toString(),
627
+ end: n.id.toString(),
628
+ type: "normal",
629
+ curve: "basis",
630
+ thickness: "normal",
631
+ look: l.look,
632
+ classes: d,
633
+ // Store mindmap-specific data
634
+ depth: e.level,
635
+ section: n.section
636
+ };
637
+ a.push(y), this.generateEdges(n, a);
638
+ }
639
+ }
640
+ /**
641
+ * Get structured data for layout algorithms
642
+ * Following the pattern established by ER diagrams
643
+ * @returns Structured data containing nodes, edges, and config
644
+ */
645
+ getData() {
646
+ const e = this.getMindmap(), a = B(), n = pe().layout !== void 0, d = a;
647
+ if (n || (d.layout = "cose-bilkent"), !e)
648
+ return {
649
+ nodes: [],
650
+ edges: [],
651
+ config: d
652
+ };
653
+ C.debug("getData: mindmapRoot", e, a), this.assignSections(e);
654
+ const f = [], y = [];
655
+ this.flattenNodes(e, f), this.generateEdges(e, y), C.debug(
656
+ `getData: processed ${f.length} nodes and ${y.length} edges`
657
+ );
658
+ const E = /* @__PURE__ */ new Map();
659
+ for (const b of f)
660
+ E.set(b.id, {
661
+ shape: b.shape,
662
+ width: b.width,
663
+ height: b.height,
664
+ padding: b.padding
665
+ });
666
+ return {
667
+ nodes: f,
668
+ edges: y,
669
+ config: d,
670
+ // Store the root node for mindmap-specific layout algorithms
671
+ rootNode: e,
672
+ // Properties required by dagre layout algorithm
673
+ markers: ["point"],
674
+ // Mindmaps don't use markers
675
+ direction: "TB",
676
+ // Top-to-bottom direction for mindmaps
677
+ nodeSpacing: 50,
678
+ // Default spacing between nodes
679
+ rankSpacing: 50,
680
+ // Default spacing between ranks
681
+ // Add shapes for ELK compatibility
682
+ shapes: Object.fromEntries(E),
683
+ // Additional properties that layout algorithms might expect
684
+ type: "mindmap",
685
+ diagramId: "mindmap-" + Se()
686
+ };
687
+ }
688
+ // Expose logger to grammar
689
+ getLogger() {
690
+ return C;
691
+ }
692
+ }, h(w, "MindmapDB"), w), Le = /* @__PURE__ */ h(async (t, e, a, l) => {
693
+ C.debug(`Rendering mindmap diagram
694
+ ` + t);
695
+ const n = l.db, d = n.getData(), f = le(e, d.config.securityLevel);
696
+ if (d.type = l.type, d.layoutAlgorithm = de(d.config.layout, {
697
+ fallback: "cose-bilkent"
698
+ }), d.diagramId = e, !n.getMindmap())
699
+ return;
700
+ d.nodes.forEach((g) => {
701
+ g.shape === "rounded" ? (g.radius = 15, g.taper = 15, g.stroke = "none", g.width = 0, g.padding = 15) : g.shape === "circle" ? g.padding = 10 : g.shape === "rect" ? (g.width = 0, g.padding = 10) : g.shape === "hexagon" && (g.width = 0, g.height = 0);
702
+ }), await ge(d, f);
703
+ const { themeVariables: E } = ue(), { useGradient: b, gradientStart: v, gradientStop: R } = E;
704
+ if (b && v && R) {
705
+ const g = f.attr("id"), A = f.append("defs").append("linearGradient").attr("id", `${g}-gradient`).attr("gradientUnits", "objectBoundingBox").attr("x1", "0%").attr("y1", "0%").attr("x2", "100%").attr("y2", "0%");
706
+ A.append("stop").attr("offset", "0%").attr("stop-color", v).attr("stop-opacity", 1), A.append("stop").attr("offset", "100%").attr("stop-color", R).attr("stop-opacity", 1);
707
+ }
708
+ he(
709
+ f,
710
+ d.config.mindmap?.padding ?? j.mindmap.padding,
711
+ "mindmapDiagram",
712
+ d.config.mindmap?.useMaxWidth ?? j.mindmap.useMaxWidth
713
+ );
714
+ }, "draw"), ve = {
715
+ draw: Le
716
+ }, Te = /* @__PURE__ */ h((t) => {
717
+ const { theme: e, look: a } = t;
718
+ let l = "";
719
+ for (let n = 0; n < t.THEME_COLOR_LIMIT; n++)
720
+ t["lineColor" + n] = t["lineColor" + n] || t["cScaleInv" + n], fe(t["lineColor" + n]) ? t["lineColor" + n] = me(t["lineColor" + n], 20) : t["lineColor" + n] = ye(t["lineColor" + n], 20);
721
+ for (let n = 0; n < t.THEME_COLOR_LIMIT; n++) {
722
+ const d = "" + (a === "neo" ? Math.max(10 - (n - 1) * 2, 2) : 17 - 3 * n);
723
+ l += `
724
+ .section-${n - 1} rect, .section-${n - 1} path, .section-${n - 1} circle, .section-${n - 1} polygon, .section-${n - 1} path {
725
+ fill: ${t["cScale" + n]};
726
+ }
727
+ .section-${n - 1} text {
728
+ fill: ${t["cScaleLabel" + n]};
729
+ }
730
+ .section-${n - 1} span {
731
+ color: ${t["cScaleLabel" + n]};
732
+ }
733
+ .node-icon-${n - 1} {
734
+ font-size: 40px;
735
+ color: ${t["cScaleLabel" + n]};
736
+ }
737
+ .section-edge-${n - 1}{
738
+ stroke: ${t["cScale" + n]};
739
+ }
740
+ .edge-depth-${n - 1}{
741
+ stroke-width: ${d};
742
+ }
743
+ .section-${n - 1} line {
744
+ stroke: ${t["cScaleInv" + n]} ;
745
+ stroke-width: 3;
746
+ }
747
+
748
+ .disabled, .disabled circle, .disabled text {
749
+ fill: lightgray;
750
+ }
751
+ .disabled text {
752
+ fill: #efefef;
753
+ }
754
+ [data-look="neo"].mindmap-node.section-${n - 1} rect, [data-look="neo"].mindmap-node.section-${n - 1} path, [data-look="neo"].mindmap-node.section-${n - 1} circle, [data-look="neo"].mindmap-node.section-${n - 1} polygon {
755
+ fill: ${e === "redux" || e === "redux-dark" || e === "neutral" ? t.mainBkg : t["cScale" + n]};
756
+ stroke: ${e === "redux" || e === "redux-dark" ? t.nodeBorder : t["cScale" + n]};
757
+ stroke-width: ${t.strokeWidth ?? 2}px;
758
+ }
759
+ [data-look="neo"].section-edge-${n - 1}{
760
+ stroke: ${e?.includes("redux") || e === "neo-dark" ? t.nodeBorder : t["cScale" + n]};
761
+ }
762
+ [data-look="neo"].mindmap-node.section-${n - 1} text {
763
+ fill: ${e === "redux" || e === "redux-dark" ? t.nodeBorder : t["cScaleLabel" + (e === "neutral" ? 1 : n)]};
764
+ }
765
+ `;
766
+ }
767
+ return l;
768
+ }, "genSections"), Oe = /* @__PURE__ */ h((t, e, a) => {
769
+ let l = "";
770
+ for (let n = 0; n < t; n++)
771
+ l += `
772
+ [data-look="neo"].mindmap-node.section-${n - 1} rect, [data-look="neo"].mindmap-node.section-${n - 1} path, [data-look="neo"].mindmap-node.section-${n - 1} circle, [data-look="neo"].mindmap-node.section-${n - 1} polygon {
773
+ stroke: url(${e}-gradient);
774
+ fill: ${a};
775
+ }
776
+ .section-${n - 1} line {
777
+ stroke-width: 0;
778
+ }`;
779
+ return l;
780
+ }, "genGradient"), Ie = /* @__PURE__ */ h((t) => {
781
+ const { theme: e } = t, a = t.svgId, l = t.dropShadow ? t.dropShadow.replace("url(#drop-shadow)", `url(${a}-drop-shadow)`) : "none";
782
+ return `
783
+ .edge {
784
+ stroke-width: 3;
785
+ }
786
+ ${Te(t)}
787
+ .section-root rect, .section-root path, .section-root circle, .section-root polygon {
788
+ fill: ${t.git0};
789
+ }
790
+ .section-root text {
791
+ fill: ${t.gitBranchLabel0};
792
+ }
793
+ .section-root span {
794
+ color: ${e?.includes("redux") ? t.nodeBorder : t.gitBranchLabel0};
795
+ }
796
+ .icon-container {
797
+ height:100%;
798
+ display: flex;
799
+ justify-content: center;
800
+ align-items: center;
801
+ }
802
+ .edge {
803
+ fill: none;
804
+ }
805
+ .mindmap-node-label {
806
+ dy: 1em;
807
+ alignment-baseline: middle;
808
+ text-anchor: middle;
809
+ dominant-baseline: middle;
810
+ text-align: center;
811
+ }
812
+ [data-look="neo"].mindmap-node {
813
+ filter: ${l};
814
+ }
815
+ [data-look="neo"].mindmap-node.section-root rect, [data-look="neo"].mindmap-node.section-root path, [data-look="neo"].mindmap-node.section-root circle, [data-look="neo"].mindmap-node.section-root polygon {
816
+ fill: ${e?.includes("redux") ? t.mainBkg : t.git0};
817
+ }
818
+ [data-look="neo"].mindmap-node.section-root .text-inner-tspan {
819
+ fill: ${e?.includes("redux") ? t.nodeBorder : t["cScaleLabel" + (e === "neutral" ? 1 : 0)]};
820
+ }
821
+ ${t.useGradient && a && t.mainBkg ? Oe(t.THEME_COLOR_LIMIT, a, t.mainBkg) : ""}
822
+ `;
823
+ }, "getStyles"), Ce = Ie, $e = {
824
+ get db() {
825
+ return new Ne();
826
+ },
827
+ renderer: ve,
828
+ parser: xe,
829
+ styles: Ce
830
+ };
831
+ export {
832
+ $e as diagram
833
+ };