@fibery/custom-app-text-editor 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/LICENSE +214 -0
  2. package/README.md +33 -0
  3. package/lib/abnfDiagram-VRR7QNED-BgjOQqEh.js +89 -0
  4. package/lib/arc-Dp0rqagO.js +82 -0
  5. package/lib/architecture-TIHT7OUA-DDwCCw0y.js +3 -0
  6. package/lib/architectureDiagram-ZJ3FMSHR-BucIluTN.js +4129 -0
  7. package/lib/array-CApNbSU9.js +6 -0
  8. package/lib/blockDiagram-677ZJIJ3-CWYuHThP.js +3157 -0
  9. package/lib/c4Diagram-LMCZKHZV-Cr3_W-xe.js +2982 -0
  10. package/lib/channel-Bb7a6w5c.js +5 -0
  11. package/lib/chunk-2Q5K7J3B-CINvUK-A.js +15 -0
  12. package/lib/chunk-32BRIVSS-b-BvyGz0.js +61 -0
  13. package/lib/chunk-52WLFC77-Cf8zEoqs.js +593 -0
  14. package/lib/chunk-5VM5RSS4-Dnx15xMv.js +5 -0
  15. package/lib/chunk-7BUUIJ7U-B018BbRy.js +82 -0
  16. package/lib/chunk-C7G6YPKG-CmOuVFlJ.js +67 -0
  17. package/lib/chunk-EX3LRPZG-LynZw14I.js +2042 -0
  18. package/lib/chunk-HOUHSVGY-Br7ZSMKe.js +275 -0
  19. package/lib/chunk-ICXQ74PX-VqT5WUTt.js +1330 -0
  20. package/lib/chunk-JWPE2WC7-Ch0jmUXM.js +8 -0
  21. package/lib/chunk-KEIR6QF5-RwFi50en.js +21456 -0
  22. package/lib/chunk-MOJQB5TN-rQ4AfTd9.js +490 -0
  23. package/lib/chunk-OGEWGWER-BvF6eV9Q.js +32 -0
  24. package/lib/chunk-PUDLZKDR-BW7SZvCB.js +4135 -0
  25. package/lib/chunk-Q4XR5HBZ-CRgGP3ez.js +1635 -0
  26. package/lib/chunk-RYQCIY6F-CHlASUpG.js +241 -0
  27. package/lib/chunk-V7JOEXUC-OY39ml6X.js +3357 -0
  28. package/lib/chunk-VR4S4FIN-Bk7IFdYB.js +26 -0
  29. package/lib/chunk-WYO6CB5R-MV-yOaop.js +3769 -0
  30. package/lib/chunk-XXDRQBXY-Djd1ChwJ.js +9 -0
  31. package/lib/chunk-Y2CYZVJY-QdJ4V9rh.js +12 -0
  32. package/lib/chunk-ZGVPDNZ5-l81xl1BI.js +3738 -0
  33. package/lib/classDiagram-OUVF2IWQ--wRzSvLt.js +30 -0
  34. package/lib/classDiagram-v2-EOCWNBFH-ChMCdPO-.js +30 -0
  35. package/lib/cose-bilkent-JH36ORCC-CyVZn5M3.js +2254 -0
  36. package/lib/custom-app-text-editor.css +2 -0
  37. package/lib/custom-app-text-editor.js +81102 -0
  38. package/lib/cynefin-VYW2F7L2-CMgnLl46.js +3 -0
  39. package/lib/cynefinDiagram-TSTJHNR4-988Y73wV.js +355 -0
  40. package/lib/cytoscape.esm-DMXbtFI-.js +18145 -0
  41. package/lib/dagre-Dmarb1s8.js +1699 -0
  42. package/lib/dagre-VKFMJZFB-Bf-pz2Lx.js +328 -0
  43. package/lib/defaultLocale-A87O3snN.js +198 -0
  44. package/lib/diagram-FQU43EPY-BT8WeVzc.js +432 -0
  45. package/lib/diagram-G47NLZAW-vZ2XG37l.js +527 -0
  46. package/lib/diagram-NH7WQ7WH-CH0IfHB0.js +134 -0
  47. package/lib/diagram-OA4YK3LP-BgwQcJfp.js +300 -0
  48. package/lib/diagram-WEI45ONY-Cd3sVPil.js +214 -0
  49. package/lib/dist-PGS6ynRO.js +59 -0
  50. package/lib/ebnfDiagram-CCIWWBDH-CwBFb2Fm.js +100 -0
  51. package/lib/erDiagram-Q63AITRT-BshRACvj.js +1727 -0
  52. package/lib/eventmodeling-45OFAUF4-BDhzj03B.js +3 -0
  53. package/lib/flowDiagram-23GEKE2U-C3zDgFvZ.js +16 -0
  54. package/lib/ganttDiagram-NO4QXBWP-BD5PiE8x.js +3073 -0
  55. package/lib/gitGraph-TEB2WS4Q-DJA_hE4G.js +3 -0
  56. package/lib/gitGraphDiagram-IHSO6WYX-BAhccBh3.js +733 -0
  57. package/lib/graphlib-DglfpsVp.js +1267 -0
  58. package/lib/index.browser-Dv9K8IAp.js +26 -0
  59. package/lib/info-DKCQHKI2-BD_vOCz6.js +3 -0
  60. package/lib/infoDiagram-FWYZ7A6U-CGZnf03G.js +20 -0
  61. package/lib/init-sjaVZO3f.js +13 -0
  62. package/lib/ishikawaDiagram-FXEZZL3T-PFfVM0NO.js +719 -0
  63. package/lib/journeyDiagram-5HDEW3XC-CRGz7dcx.js +884 -0
  64. package/lib/kanban-definition-HUTT4EX6-BBH4Yn5e.js +974 -0
  65. package/lib/line-CJQicKfr.js +34 -0
  66. package/lib/linear-B9Cv96-J.js +288 -0
  67. package/lib/map-C7KALUOH.js +241 -0
  68. package/lib/mermaid-parser.core-BupC9XGF.js +638 -0
  69. package/lib/mermaid-renderer-Cp0xusfR.js +2425 -0
  70. package/lib/mindmap-definition-LN4V7U3C-CWL1sg0K.js +978 -0
  71. package/lib/ordinal-CNQzPcrr.js +65 -0
  72. package/lib/packet-7NZHBO7P-CgBlALV1.js +3 -0
  73. package/lib/path-DVvH25eQ.js +84 -0
  74. package/lib/pegDiagram-2B236MQR-BKv8dTtv.js +94 -0
  75. package/lib/pie-RZYD4A2V-CryPC-P_.js +3 -0
  76. package/lib/pieDiagram-ENE6RG2P-CXeFg_cL.js +203 -0
  77. package/lib/quadrantDiagram-ABIIQ3AL-v_u3aC8Y.js +2001 -0
  78. package/lib/radar-I7S5WNFK-DgzJDRy3.js +3 -0
  79. package/lib/railroad-3IZDKUUU-DFp3mbpB.js +3 -0
  80. package/lib/railroad-abnf-AHOZXSZD-BRjidKH0.js +3 -0
  81. package/lib/railroad-ebnf-EBAXGLYW-PgrDWact.js +3 -0
  82. package/lib/railroad-peg-LSFZ7HO6-CMKir81Y.js +3 -0
  83. package/lib/railroadDiagram-RFXS5EU6-mEC9tVS-.js +76 -0
  84. package/lib/requirementDiagram-TGXJPOKE-BAEzI7V4.js +2223 -0
  85. package/lib/rolldown-runtime-DArdT4gl.js +23 -0
  86. package/lib/rough.esm-B2w_aYoc.js +1361 -0
  87. package/lib/sankeyDiagram-HTMAVEWB-Dbu-sl2E.js +972 -0
  88. package/lib/sequenceDiagram-DBY2YBRQ-DCuWmWHX.js +4156 -0
  89. package/lib/sizeCapture-X5ZJPWSS-BEIM84He.js +46 -0
  90. package/lib/src-DQbL46sB.js +2139 -0
  91. package/lib/src-DuuHKEe6.js +704 -0
  92. package/lib/stateDiagram-2N3HPSRC-fs9QmDMR.js +220 -0
  93. package/lib/stateDiagram-v2-6OUMAXLB-wWxYbttN.js +30 -0
  94. package/lib/swimlanes-5IMT3BWC-QaXUd9db.js +5069 -0
  95. package/lib/swimlanesDiagram-G3AALYLV-BtGToCzH.js +30 -0
  96. package/lib/timeline-definition-FHXFAJF6-CAsyJrsw.js +1069 -0
  97. package/lib/treeView-QDETBFTQ-DVp4aTZQ.js +3 -0
  98. package/lib/treemap-6X3UGDF4-BbBnHMHJ.js +3 -0
  99. package/lib/types.d.ts +44 -0
  100. package/lib/v4-CZv9Hsqq.js +33 -0
  101. package/lib/vennDiagram-L72KCM5P-C87u0gjr.js +1880 -0
  102. package/lib/wardley-OPB4EBWU-B-RXhnoN.js +3 -0
  103. package/lib/wardleyDiagram-EHGQE667-BxviBDl_.js +645 -0
  104. package/lib/xychartDiagram-FW5EYKEG-BQQhanuH.js +2098 -0
  105. package/package.json +29 -0
@@ -0,0 +1,974 @@
1
+ import { n as e } from "./chunk-Y2CYZVJY-QdJ4V9rh.js";
2
+ import { m as t } from "./src-DQbL46sB.js";
3
+ import { J as n, et as r, f as i, rt as a, tt as o, x as s, z as c } from "./chunk-WYO6CB5R-MV-yOaop.js";
4
+ import "./chunk-ICXQ74PX-VqT5WUTt.js";
5
+ import "./chunk-HOUHSVGY-Br7ZSMKe.js";
6
+ import "./chunk-Q4XR5HBZ-CRgGP3ez.js";
7
+ import { t as l } from "./chunk-5VM5RSS4-Dnx15xMv.js";
8
+ import "./chunk-OGEWGWER-BvF6eV9Q.js";
9
+ import "./chunk-C7G6YPKG-CmOuVFlJ.js";
10
+ import { a as u, c as d, i as f } from "./chunk-ZGVPDNZ5-l81xl1BI.js";
11
+ import { a as p, n as m, t as h } from "./mermaid-renderer-Cp0xusfR.js";
12
+ //#region ../../node_modules/.pnpm/mermaid@11.16.0/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-HUTT4EX6.mjs
13
+ var g = (function() {
14
+ var t = /* @__PURE__ */ e(function(e, t, n, r) {
15
+ for (n ||= {}, r = e.length; r--; n[e[r]] = t);
16
+ return n;
17
+ }, "o"), n = [1, 4], r = [1, 13], i = [1, 12], a = [1, 15], o = [1, 16], s = [1, 20], c = [1, 19], l = [
18
+ 6,
19
+ 7,
20
+ 8
21
+ ], u = [1, 26], d = [1, 24], f = [1, 25], p = [
22
+ 6,
23
+ 7,
24
+ 11
25
+ ], m = [1, 31], h = [
26
+ 6,
27
+ 7,
28
+ 11,
29
+ 24
30
+ ], g = [
31
+ 1,
32
+ 6,
33
+ 13,
34
+ 16,
35
+ 17,
36
+ 20,
37
+ 23
38
+ ], _ = [1, 35], v = [1, 36], y = [
39
+ 1,
40
+ 6,
41
+ 7,
42
+ 11,
43
+ 13,
44
+ 16,
45
+ 17,
46
+ 20,
47
+ 23
48
+ ], b = [1, 38], x = {
49
+ trace: /* @__PURE__ */ e(function() {}, "trace"),
50
+ yy: {},
51
+ symbols_: {
52
+ error: 2,
53
+ start: 3,
54
+ mindMap: 4,
55
+ spaceLines: 5,
56
+ SPACELINE: 6,
57
+ NL: 7,
58
+ KANBAN: 8,
59
+ document: 9,
60
+ stop: 10,
61
+ EOF: 11,
62
+ statement: 12,
63
+ SPACELIST: 13,
64
+ node: 14,
65
+ shapeData: 15,
66
+ ICON: 16,
67
+ CLASS: 17,
68
+ nodeWithId: 18,
69
+ nodeWithoutId: 19,
70
+ NODE_DSTART: 20,
71
+ NODE_DESCR: 21,
72
+ NODE_DEND: 22,
73
+ NODE_ID: 23,
74
+ SHAPE_DATA: 24,
75
+ $accept: 0,
76
+ $end: 1
77
+ },
78
+ terminals_: {
79
+ 2: "error",
80
+ 6: "SPACELINE",
81
+ 7: "NL",
82
+ 8: "KANBAN",
83
+ 11: "EOF",
84
+ 13: "SPACELIST",
85
+ 16: "ICON",
86
+ 17: "CLASS",
87
+ 20: "NODE_DSTART",
88
+ 21: "NODE_DESCR",
89
+ 22: "NODE_DEND",
90
+ 23: "NODE_ID",
91
+ 24: "SHAPE_DATA"
92
+ },
93
+ productions_: [
94
+ 0,
95
+ [3, 1],
96
+ [3, 2],
97
+ [5, 1],
98
+ [5, 2],
99
+ [5, 2],
100
+ [4, 2],
101
+ [4, 3],
102
+ [10, 1],
103
+ [10, 1],
104
+ [10, 1],
105
+ [10, 2],
106
+ [10, 2],
107
+ [9, 3],
108
+ [9, 2],
109
+ [12, 3],
110
+ [12, 2],
111
+ [12, 2],
112
+ [12, 2],
113
+ [12, 1],
114
+ [12, 2],
115
+ [12, 1],
116
+ [12, 1],
117
+ [12, 1],
118
+ [12, 1],
119
+ [14, 1],
120
+ [14, 1],
121
+ [19, 3],
122
+ [18, 1],
123
+ [18, 4],
124
+ [15, 2],
125
+ [15, 1]
126
+ ],
127
+ performAction: /* @__PURE__ */ e(function(e, t, n, r, i, a, o) {
128
+ var s = a.length - 1;
129
+ switch (i) {
130
+ case 6:
131
+ case 7: return r;
132
+ case 8:
133
+ r.getLogger().trace("Stop NL ");
134
+ break;
135
+ case 9:
136
+ r.getLogger().trace("Stop EOF ");
137
+ break;
138
+ case 11:
139
+ r.getLogger().trace("Stop NL2 ");
140
+ break;
141
+ case 12:
142
+ r.getLogger().trace("Stop EOF2 ");
143
+ break;
144
+ case 15:
145
+ r.getLogger().info("Node: ", a[s - 1].id), r.addNode(a[s - 2].length, a[s - 1].id, a[s - 1].descr, a[s - 1].type, a[s]);
146
+ break;
147
+ case 16:
148
+ r.getLogger().info("Node: ", a[s].id), r.addNode(a[s - 1].length, a[s].id, a[s].descr, a[s].type);
149
+ break;
150
+ case 17:
151
+ r.getLogger().trace("Icon: ", a[s]), r.decorateNode({ icon: a[s] });
152
+ break;
153
+ case 18:
154
+ case 23:
155
+ r.decorateNode({ class: a[s] });
156
+ break;
157
+ case 19:
158
+ r.getLogger().trace("SPACELIST");
159
+ break;
160
+ case 20:
161
+ r.getLogger().trace("Node: ", a[s - 1].id), r.addNode(0, a[s - 1].id, a[s - 1].descr, a[s - 1].type, a[s]);
162
+ break;
163
+ case 21:
164
+ r.getLogger().trace("Node: ", a[s].id), r.addNode(0, a[s].id, a[s].descr, a[s].type);
165
+ break;
166
+ case 22:
167
+ r.decorateNode({ icon: a[s] });
168
+ break;
169
+ case 27:
170
+ r.getLogger().trace("node found ..", a[s - 2]), this.$ = {
171
+ id: a[s - 1],
172
+ descr: a[s - 1],
173
+ type: r.getType(a[s - 2], a[s])
174
+ };
175
+ break;
176
+ case 28:
177
+ this.$ = {
178
+ id: a[s],
179
+ descr: a[s],
180
+ type: 0
181
+ };
182
+ break;
183
+ case 29:
184
+ r.getLogger().trace("node found ..", a[s - 3]), this.$ = {
185
+ id: a[s - 3],
186
+ descr: a[s - 1],
187
+ type: r.getType(a[s - 2], a[s])
188
+ };
189
+ break;
190
+ case 30:
191
+ this.$ = a[s - 1] + a[s];
192
+ break;
193
+ case 31: this.$ = a[s];
194
+ }
195
+ }, "anonymous"),
196
+ table: [
197
+ {
198
+ 3: 1,
199
+ 4: 2,
200
+ 5: 3,
201
+ 6: [1, 5],
202
+ 8: n
203
+ },
204
+ { 1: [3] },
205
+ { 1: [2, 1] },
206
+ {
207
+ 4: 6,
208
+ 6: [1, 7],
209
+ 7: [1, 8],
210
+ 8: n
211
+ },
212
+ {
213
+ 6: r,
214
+ 7: [1, 10],
215
+ 9: 9,
216
+ 12: 11,
217
+ 13: i,
218
+ 14: 14,
219
+ 16: a,
220
+ 17: o,
221
+ 18: 17,
222
+ 19: 18,
223
+ 20: s,
224
+ 23: c
225
+ },
226
+ t(l, [2, 3]),
227
+ { 1: [2, 2] },
228
+ t(l, [2, 4]),
229
+ t(l, [2, 5]),
230
+ {
231
+ 1: [2, 6],
232
+ 6: r,
233
+ 12: 21,
234
+ 13: i,
235
+ 14: 14,
236
+ 16: a,
237
+ 17: o,
238
+ 18: 17,
239
+ 19: 18,
240
+ 20: s,
241
+ 23: c
242
+ },
243
+ {
244
+ 6: r,
245
+ 9: 22,
246
+ 12: 11,
247
+ 13: i,
248
+ 14: 14,
249
+ 16: a,
250
+ 17: o,
251
+ 18: 17,
252
+ 19: 18,
253
+ 20: s,
254
+ 23: c
255
+ },
256
+ {
257
+ 6: u,
258
+ 7: d,
259
+ 10: 23,
260
+ 11: f
261
+ },
262
+ t(p, [2, 24], {
263
+ 18: 17,
264
+ 19: 18,
265
+ 14: 27,
266
+ 16: [1, 28],
267
+ 17: [1, 29],
268
+ 20: s,
269
+ 23: c
270
+ }),
271
+ t(p, [2, 19]),
272
+ t(p, [2, 21], {
273
+ 15: 30,
274
+ 24: m
275
+ }),
276
+ t(p, [2, 22]),
277
+ t(p, [2, 23]),
278
+ t(h, [2, 25]),
279
+ t(h, [2, 26]),
280
+ t(h, [2, 28], { 20: [1, 32] }),
281
+ { 21: [1, 33] },
282
+ {
283
+ 6: u,
284
+ 7: d,
285
+ 10: 34,
286
+ 11: f
287
+ },
288
+ {
289
+ 1: [2, 7],
290
+ 6: r,
291
+ 12: 21,
292
+ 13: i,
293
+ 14: 14,
294
+ 16: a,
295
+ 17: o,
296
+ 18: 17,
297
+ 19: 18,
298
+ 20: s,
299
+ 23: c
300
+ },
301
+ t(g, [2, 14], {
302
+ 7: _,
303
+ 11: v
304
+ }),
305
+ t(y, [2, 8]),
306
+ t(y, [2, 9]),
307
+ t(y, [2, 10]),
308
+ t(p, [2, 16], {
309
+ 15: 37,
310
+ 24: m
311
+ }),
312
+ t(p, [2, 17]),
313
+ t(p, [2, 18]),
314
+ t(p, [2, 20], { 24: b }),
315
+ t(h, [2, 31]),
316
+ { 21: [1, 39] },
317
+ { 22: [1, 40] },
318
+ t(g, [2, 13], {
319
+ 7: _,
320
+ 11: v
321
+ }),
322
+ t(y, [2, 11]),
323
+ t(y, [2, 12]),
324
+ t(p, [2, 15], { 24: b }),
325
+ t(h, [2, 30]),
326
+ { 22: [1, 41] },
327
+ t(h, [2, 27]),
328
+ t(h, [2, 29])
329
+ ],
330
+ defaultActions: {
331
+ 2: [2, 1],
332
+ 6: [2, 2]
333
+ },
334
+ parseError: /* @__PURE__ */ e(function(e, t) {
335
+ if (t.recoverable) this.trace(e);
336
+ else {
337
+ var n = Error(e);
338
+ throw n.hash = t, n;
339
+ }
340
+ }, "parseError"),
341
+ parse: /* @__PURE__ */ e(function(t) {
342
+ var n = this, r = [0], i = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = o.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
343
+ for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
344
+ h.setInput(t, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
345
+ var v = h.yylloc;
346
+ o.push(v);
347
+ var y = h.options && h.options.ranges;
348
+ this.parseError = typeof g.yy.parseError == "function" ? g.yy.parseError : Object.getPrototypeOf(this).parseError;
349
+ function b(e) {
350
+ r.length -= 2 * e, a.length -= e, o.length -= e;
351
+ }
352
+ e(b, "popStack");
353
+ function x() {
354
+ var e = i.pop() || h.lex() || p;
355
+ return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = n.symbols_[e] || e), e;
356
+ }
357
+ e(x, "lex");
358
+ for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
359
+ if (w = r[r.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = s[w] && s[w][S]), T === void 0 || !T.length || !T[0]) {
360
+ var M = "";
361
+ for (O in j = [], s[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
362
+ M = h.showPosition ? "Parse error on line " + (l + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (S == p ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
363
+ text: h.match,
364
+ token: this.terminals_[S] || S,
365
+ line: h.yylineno,
366
+ loc: v,
367
+ expected: j
368
+ });
369
+ }
370
+ if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
371
+ switch (T[0]) {
372
+ case 1:
373
+ r.push(S), a.push(h.yytext), o.push(h.yylloc), r.push(T[1]), S = null, C ? (S = C, C = null) : (u = h.yyleng, c = h.yytext, l = h.yylineno, v = h.yylloc, d > 0 && d--);
374
+ break;
375
+ case 2:
376
+ if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
377
+ first_line: o[o.length - (k || 1)].first_line,
378
+ last_line: o[o.length - 1].last_line,
379
+ first_column: o[o.length - (k || 1)].first_column,
380
+ last_column: o[o.length - 1].last_column
381
+ }, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
382
+ c,
383
+ u,
384
+ l,
385
+ g.yy,
386
+ T[1],
387
+ a,
388
+ o
389
+ ].concat(m)), E !== void 0) return E;
390
+ k && (r = r.slice(0, -1 * k * 2), a = a.slice(0, -1 * k), o = o.slice(0, -1 * k)), r.push(this.productions_[T[1]][0]), a.push(D.$), o.push(D._$), A = s[r[r.length - 2]][r[r.length - 1]], r.push(A);
391
+ break;
392
+ case 3: return !0;
393
+ }
394
+ }
395
+ return !0;
396
+ }, "parse")
397
+ };
398
+ x.lexer = /* @__PURE__ */ (function() {
399
+ return {
400
+ EOF: 1,
401
+ parseError: /* @__PURE__ */ e(function(e, t) {
402
+ if (this.yy.parser) this.yy.parser.parseError(e, t);
403
+ else throw Error(e);
404
+ }, "parseError"),
405
+ setInput: /* @__PURE__ */ e(function(e, t) {
406
+ return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
407
+ first_line: 1,
408
+ first_column: 0,
409
+ last_line: 1,
410
+ last_column: 0
411
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
412
+ }, "setInput"),
413
+ input: /* @__PURE__ */ e(function() {
414
+ var e = this._input[0];
415
+ return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
416
+ }, "input"),
417
+ unput: /* @__PURE__ */ e(function(e) {
418
+ var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
419
+ this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
420
+ var r = this.match.split(/(?:\r\n?|\n)/g);
421
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), n.length - 1 && (this.yylineno -= n.length - 1);
422
+ var i = this.yylloc.range;
423
+ return this.yylloc = {
424
+ first_line: this.yylloc.first_line,
425
+ last_line: this.yylineno + 1,
426
+ first_column: this.yylloc.first_column,
427
+ last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
428
+ }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
429
+ }, "unput"),
430
+ more: /* @__PURE__ */ e(function() {
431
+ return this._more = !0, this;
432
+ }, "more"),
433
+ reject: /* @__PURE__ */ e(function() {
434
+ if (this.options.backtrack_lexer) this._backtrack = !0;
435
+ else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
436
+ text: "",
437
+ token: null,
438
+ line: this.yylineno
439
+ });
440
+ return this;
441
+ }, "reject"),
442
+ less: /* @__PURE__ */ e(function(e) {
443
+ this.unput(this.match.slice(e));
444
+ }, "less"),
445
+ pastInput: /* @__PURE__ */ e(function() {
446
+ var e = this.matched.substr(0, this.matched.length - this.match.length);
447
+ return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
448
+ }, "pastInput"),
449
+ upcomingInput: /* @__PURE__ */ e(function() {
450
+ var e = this.match;
451
+ return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
452
+ }, "upcomingInput"),
453
+ showPosition: /* @__PURE__ */ e(function() {
454
+ var e = this.pastInput(), t = Array(e.length + 1).join("-");
455
+ return e + this.upcomingInput() + "\n" + t + "^";
456
+ }, "showPosition"),
457
+ test_match: /* @__PURE__ */ e(function(e, t) {
458
+ var n, r, i;
459
+ if (this.options.backtrack_lexer && (i = {
460
+ yylineno: this.yylineno,
461
+ yylloc: {
462
+ first_line: this.yylloc.first_line,
463
+ last_line: this.last_line,
464
+ first_column: this.yylloc.first_column,
465
+ last_column: this.yylloc.last_column
466
+ },
467
+ yytext: this.yytext,
468
+ match: this.match,
469
+ matches: this.matches,
470
+ matched: this.matched,
471
+ yyleng: this.yyleng,
472
+ offset: this.offset,
473
+ _more: this._more,
474
+ _input: this._input,
475
+ yy: this.yy,
476
+ conditionStack: this.conditionStack.slice(0),
477
+ done: this.done
478
+ }, this.options.ranges && (i.yylloc.range = this.yylloc.range.slice(0))), r = e[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
479
+ first_line: this.yylloc.last_line,
480
+ last_line: this.yylineno + 1,
481
+ first_column: this.yylloc.last_column,
482
+ last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
483
+ }, this.yytext += e[0], this.match += e[0], this.matches = e, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(e[0].length), this.matched += e[0], n = this.performAction.call(this, this.yy, this, t, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n) return n;
484
+ if (this._backtrack) {
485
+ for (var a in i) this[a] = i[a];
486
+ return !1;
487
+ }
488
+ return !1;
489
+ }, "test_match"),
490
+ next: /* @__PURE__ */ e(function() {
491
+ if (this.done) return this.EOF;
492
+ this._input || (this.done = !0);
493
+ var e, t, n, r;
494
+ this._more || (this.yytext = "", this.match = "");
495
+ for (var i = this._currentRules(), a = 0; a < i.length; a++) if (n = this._input.match(this.rules[i[a]]), n && (!t || n[0].length > t[0].length)) {
496
+ if (t = n, r = a, this.options.backtrack_lexer) {
497
+ if (e = this.test_match(n, i[a]), e !== !1) return e;
498
+ if (this._backtrack) {
499
+ t = !1;
500
+ continue;
501
+ }
502
+ return !1;
503
+ }
504
+ if (!this.options.flex) break;
505
+ }
506
+ return t ? (e = this.test_match(t, i[r]), e !== !1 && e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
507
+ text: "",
508
+ token: null,
509
+ line: this.yylineno
510
+ });
511
+ }, "next"),
512
+ lex: /* @__PURE__ */ e(function() {
513
+ return this.next() || this.lex();
514
+ }, "lex"),
515
+ begin: /* @__PURE__ */ e(function(e) {
516
+ this.conditionStack.push(e);
517
+ }, "begin"),
518
+ popState: /* @__PURE__ */ e(function() {
519
+ return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
520
+ }, "popState"),
521
+ _currentRules: /* @__PURE__ */ e(function() {
522
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
523
+ }, "_currentRules"),
524
+ topState: /* @__PURE__ */ e(function(e) {
525
+ return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
526
+ }, "topState"),
527
+ pushState: /* @__PURE__ */ e(function(e) {
528
+ this.begin(e);
529
+ }, "pushState"),
530
+ stateStackSize: /* @__PURE__ */ e(function() {
531
+ return this.conditionStack.length;
532
+ }, "stateStackSize"),
533
+ options: { "case-insensitive": !0 },
534
+ performAction: /* @__PURE__ */ e(function(e, t, n, r) {
535
+ switch (n) {
536
+ case 0: return this.pushState("shapeData"), t.yytext = "", 24;
537
+ case 1: return this.pushState("shapeDataStr"), 24;
538
+ case 2: return this.popState(), 24;
539
+ case 3: return t.yytext = t.yytext.replace(/\n\s*/g, "<br/>"), 24;
540
+ case 4: return 24;
541
+ case 5:
542
+ this.popState();
543
+ break;
544
+ case 6: return e.getLogger().trace("Found comment", t.yytext), 6;
545
+ case 7: return 8;
546
+ case 8:
547
+ this.begin("CLASS");
548
+ break;
549
+ case 9: return this.popState(), 17;
550
+ case 10:
551
+ this.popState();
552
+ break;
553
+ case 11:
554
+ e.getLogger().trace("Begin icon"), this.begin("ICON");
555
+ break;
556
+ case 12: return e.getLogger().trace("SPACELINE"), 6;
557
+ case 13: return 7;
558
+ case 14: return 16;
559
+ case 15:
560
+ e.getLogger().trace("end icon"), this.popState();
561
+ break;
562
+ case 16: return e.getLogger().trace("Exploding node"), this.begin("NODE"), 20;
563
+ case 17: return e.getLogger().trace("Cloud"), this.begin("NODE"), 20;
564
+ case 18: return e.getLogger().trace("Explosion Bang"), this.begin("NODE"), 20;
565
+ case 19: return e.getLogger().trace("Cloud Bang"), this.begin("NODE"), 20;
566
+ case 20: return this.begin("NODE"), 20;
567
+ case 21: return this.begin("NODE"), 20;
568
+ case 22: return this.begin("NODE"), 20;
569
+ case 23: return this.begin("NODE"), 20;
570
+ case 24: return 13;
571
+ case 25: return 23;
572
+ case 26: return 11;
573
+ case 27:
574
+ this.begin("NSTR2");
575
+ break;
576
+ case 28: return "NODE_DESCR";
577
+ case 29:
578
+ this.popState();
579
+ break;
580
+ case 30:
581
+ e.getLogger().trace("Starting NSTR"), this.begin("NSTR");
582
+ break;
583
+ case 31: return e.getLogger().trace("description:", t.yytext), "NODE_DESCR";
584
+ case 32:
585
+ this.popState();
586
+ break;
587
+ case 33: return this.popState(), e.getLogger().trace("node end ))"), "NODE_DEND";
588
+ case 34: return this.popState(), e.getLogger().trace("node end )"), "NODE_DEND";
589
+ case 35: return this.popState(), e.getLogger().trace("node end ...", t.yytext), "NODE_DEND";
590
+ case 36: return this.popState(), e.getLogger().trace("node end (("), "NODE_DEND";
591
+ case 37: return this.popState(), e.getLogger().trace("node end (-"), "NODE_DEND";
592
+ case 38: return this.popState(), e.getLogger().trace("node end (-"), "NODE_DEND";
593
+ case 39: return this.popState(), e.getLogger().trace("node end (("), "NODE_DEND";
594
+ case 40: return this.popState(), e.getLogger().trace("node end (("), "NODE_DEND";
595
+ case 41: return e.getLogger().trace("Long description:", t.yytext), 21;
596
+ case 42: return e.getLogger().trace("Long description:", t.yytext), 21;
597
+ }
598
+ }, "anonymous"),
599
+ rules: [
600
+ /^(?:@\{)/i,
601
+ /^(?:["])/i,
602
+ /^(?:["])/i,
603
+ /^(?:[^\"]+)/i,
604
+ /^(?:[^}^"]+)/i,
605
+ /^(?:\})/i,
606
+ /^(?:\s*%%.*)/i,
607
+ /^(?:kanban\b)/i,
608
+ /^(?::::)/i,
609
+ /^(?:.+)/i,
610
+ /^(?:\n)/i,
611
+ /^(?:::icon\()/i,
612
+ /^(?:[\s]+[\n])/i,
613
+ /^(?:[\n]+)/i,
614
+ /^(?:[^\)]+)/i,
615
+ /^(?:\))/i,
616
+ /^(?:-\))/i,
617
+ /^(?:\(-)/i,
618
+ /^(?:\)\))/i,
619
+ /^(?:\))/i,
620
+ /^(?:\(\()/i,
621
+ /^(?:\{\{)/i,
622
+ /^(?:\()/i,
623
+ /^(?:\[)/i,
624
+ /^(?:[\s]+)/i,
625
+ /^(?:[^\(\[\n\)\{\}@]+)/i,
626
+ /^(?:$)/i,
627
+ /^(?:["][`])/i,
628
+ /^(?:[^`"]+)/i,
629
+ /^(?:[`]["])/i,
630
+ /^(?:["])/i,
631
+ /^(?:[^"]+)/i,
632
+ /^(?:["])/i,
633
+ /^(?:[\)]\))/i,
634
+ /^(?:[\)])/i,
635
+ /^(?:[\]])/i,
636
+ /^(?:\}\})/i,
637
+ /^(?:\(-)/i,
638
+ /^(?:-\))/i,
639
+ /^(?:\(\()/i,
640
+ /^(?:\()/i,
641
+ /^(?:[^\)\]\(\}]+)/i,
642
+ /^(?:.+(?!\(\())/i
643
+ ],
644
+ conditions: {
645
+ shapeDataEndBracket: {
646
+ rules: [],
647
+ inclusive: !1
648
+ },
649
+ shapeDataStr: {
650
+ rules: [2, 3],
651
+ inclusive: !1
652
+ },
653
+ shapeData: {
654
+ rules: [
655
+ 1,
656
+ 4,
657
+ 5
658
+ ],
659
+ inclusive: !1
660
+ },
661
+ CLASS: {
662
+ rules: [9, 10],
663
+ inclusive: !1
664
+ },
665
+ ICON: {
666
+ rules: [14, 15],
667
+ inclusive: !1
668
+ },
669
+ NSTR2: {
670
+ rules: [28, 29],
671
+ inclusive: !1
672
+ },
673
+ NSTR: {
674
+ rules: [31, 32],
675
+ inclusive: !1
676
+ },
677
+ NODE: {
678
+ rules: [
679
+ 27,
680
+ 30,
681
+ 33,
682
+ 34,
683
+ 35,
684
+ 36,
685
+ 37,
686
+ 38,
687
+ 39,
688
+ 40,
689
+ 41,
690
+ 42
691
+ ],
692
+ inclusive: !1
693
+ },
694
+ INITIAL: {
695
+ rules: [
696
+ 0,
697
+ 6,
698
+ 7,
699
+ 8,
700
+ 11,
701
+ 12,
702
+ 13,
703
+ 16,
704
+ 17,
705
+ 18,
706
+ 19,
707
+ 20,
708
+ 21,
709
+ 22,
710
+ 23,
711
+ 24,
712
+ 25,
713
+ 26
714
+ ],
715
+ inclusive: !0
716
+ }
717
+ }
718
+ };
719
+ })();
720
+ function S() {
721
+ this.yy = {};
722
+ }
723
+ return e(S, "Parser"), S.prototype = x, x.Parser = S, new S();
724
+ })();
725
+ g.parser = g;
726
+ var _ = g, v = [], y = [], b = 0, x = {}, S = /* @__PURE__ */ e(() => {
727
+ v = [], y = [], b = 0, x = {};
728
+ }, "clear"), C = /* @__PURE__ */ e((e) => {
729
+ if (v.length === 0) return null;
730
+ let t = v[0].level, n = null;
731
+ for (let e = v.length - 1; e >= 0; e--) if (v[e].level === t && !n && (n = v[e]), v[e].level < t) throw Error("Items without section detected, found section (\"" + v[e].label + "\")");
732
+ return e === n?.level ? null : n;
733
+ }, "getSection"), w = /* @__PURE__ */ e(function() {
734
+ return y;
735
+ }, "getSections"), T = /* @__PURE__ */ e(function() {
736
+ let e = [], t = [], n = w(), r = s();
737
+ for (let e of n) {
738
+ let n = {
739
+ id: e.id,
740
+ label: c(e.label ?? "", r),
741
+ labelType: "markdown",
742
+ isGroup: !0,
743
+ ticket: e.ticket,
744
+ shape: "kanbanSection",
745
+ level: e.level,
746
+ look: r.look
747
+ };
748
+ t.push(n);
749
+ let i = v.filter((t) => t.parentId === e.id);
750
+ for (let n of i) {
751
+ let i = {
752
+ id: n.id,
753
+ parentId: e.id,
754
+ label: c(n.label ?? "", r),
755
+ labelType: "markdown",
756
+ isGroup: !1,
757
+ ticket: n?.ticket,
758
+ priority: n?.priority,
759
+ assigned: n?.assigned,
760
+ icon: n?.icon,
761
+ shape: "kanbanItem",
762
+ level: n.level,
763
+ rx: 5,
764
+ ry: 5,
765
+ cssStyles: ["text-align: left"]
766
+ };
767
+ t.push(i);
768
+ }
769
+ }
770
+ return {
771
+ nodes: t,
772
+ edges: e,
773
+ other: {},
774
+ config: s()
775
+ };
776
+ }, "getData"), E = /* @__PURE__ */ e((e, t, n, r, a) => {
777
+ let o = s(), l = o.mindmap?.padding ?? i.mindmap.padding;
778
+ switch (r) {
779
+ case D.ROUNDED_RECT:
780
+ case D.RECT:
781
+ case D.HEXAGON: l *= 2;
782
+ }
783
+ let u = {
784
+ id: c(t, o) || "kbn" + b++,
785
+ level: e,
786
+ label: c(n, o),
787
+ width: o.mindmap?.maxNodeWidth ?? i.mindmap.maxNodeWidth,
788
+ padding: l,
789
+ isGroup: !1
790
+ };
791
+ if (a !== void 0) {
792
+ let e;
793
+ e = a.includes("\n") ? a + "\n" : "{\n" + a + "\n}";
794
+ let t = m(e, { schema: h });
795
+ if (t.shape && (t.shape !== t.shape.toLowerCase() || t.shape.includes("_"))) throw Error(`No such shape: ${t.shape}. Shape names should be lowercase.`);
796
+ t?.shape && t.shape === "kanbanItem" && (u.shape = t?.shape), t?.label && (u.label = t?.label), t?.icon && (u.icon = t?.icon.toString()), t?.assigned && (u.assigned = t?.assigned.toString()), t?.ticket && (u.ticket = t?.ticket.toString()), t?.priority && (u.priority = t?.priority);
797
+ }
798
+ let d = C(e);
799
+ d ? u.parentId = d.id || "kbn" + b++ : y.push(u), v.push(u);
800
+ }, "addNode"), D = {
801
+ DEFAULT: 0,
802
+ NO_BORDER: 0,
803
+ ROUNDED_RECT: 1,
804
+ RECT: 2,
805
+ CIRCLE: 3,
806
+ CLOUD: 4,
807
+ BANG: 5,
808
+ HEXAGON: 6
809
+ }, O = {
810
+ clear: S,
811
+ addNode: E,
812
+ getSections: w,
813
+ getData: T,
814
+ nodeType: D,
815
+ getType: /* @__PURE__ */ e((e, n) => {
816
+ switch (t.debug("In get type", e, n), e) {
817
+ case "[": return D.RECT;
818
+ case "(": return n === ")" ? D.ROUNDED_RECT : D.CLOUD;
819
+ case "((": return D.CIRCLE;
820
+ case ")": return D.CLOUD;
821
+ case "))": return D.BANG;
822
+ case "{{": return D.HEXAGON;
823
+ default: return D.DEFAULT;
824
+ }
825
+ }, "getType"),
826
+ setElementForId: /* @__PURE__ */ e((e, t) => {
827
+ x[e] = t;
828
+ }, "setElementForId"),
829
+ decorateNode: /* @__PURE__ */ e((e) => {
830
+ if (!e) return;
831
+ let t = s(), n = v[v.length - 1];
832
+ e.icon && (n.icon = c(e.icon, t)), e.class && (n.cssClasses = c(e.class, t));
833
+ }, "decorateNode"),
834
+ type2Str: /* @__PURE__ */ e((e) => {
835
+ switch (e) {
836
+ case D.DEFAULT: return "no-border";
837
+ case D.RECT: return "rect";
838
+ case D.ROUNDED_RECT: return "rounded-rect";
839
+ case D.CIRCLE: return "circle";
840
+ case D.CLOUD: return "cloud";
841
+ case D.BANG: return "bang";
842
+ case D.HEXAGON: return "hexgon";
843
+ default: return "no-border";
844
+ }
845
+ }, "type2Str"),
846
+ getLogger: /* @__PURE__ */ e(() => t, "getLogger"),
847
+ getElementById: /* @__PURE__ */ e((e) => x[e], "getElementById")
848
+ }, k = { draw: /* @__PURE__ */ e(async (e, r, a, o) => {
849
+ t.debug("Rendering kanban diagram\n" + e);
850
+ let c = o.db.getData(), l = s();
851
+ l.htmlLabels = !1;
852
+ let m = p(r);
853
+ for (let e of c.nodes) e.domId = `${r}-${e.id}`;
854
+ let h = m.append("g");
855
+ h.attr("class", "sections");
856
+ let g = m.append("g");
857
+ g.attr("class", "items");
858
+ let _ = c.nodes.filter((e) => e.isGroup), v = 0, y = [], b = 25;
859
+ for (let e of _) {
860
+ let t = l?.kanban?.sectionWidth || 200;
861
+ v += 1, e.x = t * v + (v - 1) * 10 / 2, e.width = t, e.y = 0, e.height = t * 3, e.rx = 5, e.ry = 5, e.cssClasses = e.cssClasses + " section-" + v;
862
+ let n = await f(h, e);
863
+ b = Math.max(b, n?.labelBBox?.height), y.push(n);
864
+ }
865
+ let x = 0;
866
+ for (let e of _) {
867
+ let t = y[x];
868
+ x += 1;
869
+ let n = l?.kanban?.sectionWidth || 200, r = -n * 3 / 2 + b, i = r, a = c.nodes.filter((t) => t.parentId === e.id);
870
+ for (let t of a) {
871
+ if (t.isGroup) throw Error("Groups within groups are not allowed in Kanban diagrams");
872
+ t.x = e.x, t.width = n - 15;
873
+ let r = (await u(g, t, { config: l })).node().getBBox();
874
+ t.y = i + r.height / 2, await d(t), i = t.y + r.height / 2 + 5;
875
+ }
876
+ let o = t.cluster.select("rect"), s = Math.max(i - r + 30, 50) + (b - 25);
877
+ o.attr("height", s);
878
+ }
879
+ n(void 0, m, l.mindmap?.padding ?? i.kanban.padding, l.mindmap?.useMaxWidth ?? i.kanban.useMaxWidth);
880
+ }, "draw") }, A = /* @__PURE__ */ e((t) => {
881
+ let n = "";
882
+ for (let e = 0; e < t.THEME_COLOR_LIMIT; e++) t["lineColor" + e] = t["lineColor" + e] || t["cScaleInv" + e], a(t["lineColor" + e]) ? t["lineColor" + e] = o(t["lineColor" + e], 20) : t["lineColor" + e] = r(t["lineColor" + e], 20);
883
+ let i = /* @__PURE__ */ e((e, n) => t.darkMode ? r(e, n) : o(e, n), "adjuster");
884
+ for (let e = 0; e < t.THEME_COLOR_LIMIT; e++) {
885
+ let r = "" + (17 - 3 * e);
886
+ n += `
887
+ .section-${e - 1} rect, .section-${e - 1} path, .section-${e - 1} circle, .section-${e - 1} polygon, .section-${e - 1} path {
888
+ fill: ${i(t["cScale" + e], 10)};
889
+ stroke: ${i(t["cScale" + e], 10)};
890
+
891
+ }
892
+ .section-${e - 1} text {
893
+ fill: ${t["cScaleLabel" + e]};
894
+ }
895
+ .node-icon-${e - 1} {
896
+ font-size: 40px;
897
+ color: ${t["cScaleLabel" + e]};
898
+ }
899
+ .section-edge-${e - 1}{
900
+ stroke: ${t["cScale" + e]};
901
+ }
902
+ .edge-depth-${e - 1}{
903
+ stroke-width: ${r};
904
+ }
905
+ .section-${e - 1} line {
906
+ stroke: ${t["cScaleInv" + e]} ;
907
+ stroke-width: 3;
908
+ }
909
+
910
+ .disabled, .disabled circle, .disabled text {
911
+ fill: lightgray;
912
+ }
913
+ .disabled text {
914
+ fill: #efefef;
915
+ }
916
+
917
+ .node rect,
918
+ .node circle,
919
+ .node ellipse,
920
+ .node polygon,
921
+ .node path {
922
+ fill: ${t.background};
923
+ stroke: ${t.nodeBorder};
924
+ stroke-width: 1px;
925
+ }
926
+
927
+ .kanban-ticket-link {
928
+ fill: ${t.background};
929
+ stroke: ${t.nodeBorder};
930
+ text-decoration: underline;
931
+ }
932
+ `;
933
+ }
934
+ return n;
935
+ }, "genSections"), j = {
936
+ db: O,
937
+ renderer: k,
938
+ parser: _,
939
+ styles: /* @__PURE__ */ e((e) => `
940
+ .edge {
941
+ stroke-width: 3;
942
+ }
943
+ ${A(e)}
944
+ .section-root rect, .section-root path, .section-root circle, .section-root polygon {
945
+ fill: ${e.git0};
946
+ }
947
+ .section-root text {
948
+ fill: ${e.gitBranchLabel0};
949
+ }
950
+ .icon-container {
951
+ height:100%;
952
+ display: flex;
953
+ justify-content: center;
954
+ align-items: center;
955
+ }
956
+ .edge {
957
+ fill: none;
958
+ }
959
+ .cluster-label, .label {
960
+ color: ${e.textColor};
961
+ fill: ${e.textColor};
962
+ }
963
+ .kanban-label {
964
+ dy: 1em;
965
+ alignment-baseline: middle;
966
+ text-anchor: middle;
967
+ dominant-baseline: middle;
968
+ text-align: center;
969
+ }
970
+ ${l()}
971
+ `, "getStyles")
972
+ };
973
+ //#endregion
974
+ export { j as diagram };