hub-ui-x 0.0.1

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 (65) hide show
  1. package/README.md +5 -0
  2. package/dist/_basePickBy-C1WsytTM.js +151 -0
  3. package/dist/_baseUniq-CGQBVjq6.js +614 -0
  4. package/dist/arc-CfWEFjh8.js +84 -0
  5. package/dist/architecture-4AB2E3PP-DcT_AgQk.js +5 -0
  6. package/dist/architectureDiagram-IEHRJDOE-HOxolPJX.js +4635 -0
  7. package/dist/blockDiagram-JOT3LUYC-DOUpbN2x.js +2248 -0
  8. package/dist/c4Diagram-VJAJSXHY-BFAcC0i5.js +1582 -0
  9. package/dist/channel-Cu0z2gst.js +5 -0
  10. package/dist/chart-CJ_SRNKN.js +9241 -0
  11. package/dist/chunk-4BMEZGHF-BBaiA8MA.js +9 -0
  12. package/dist/chunk-A2AXSNBT-BWpKSYi4.js +1373 -0
  13. package/dist/chunk-AEK57VVT-doTsaHuQ.js +1415 -0
  14. package/dist/chunk-D6G4REZN-B6Iq6yid.js +64 -0
  15. package/dist/chunk-RZ5BOZE2-OspkSZtw.js +25 -0
  16. package/dist/chunk-XZIHB7SX-BTYIr8g5.js +15 -0
  17. package/dist/classDiagram-GIVACNV2-B_ES2mS7.js +17 -0
  18. package/dist/classDiagram-v2-COTLJTTW-B_ES2mS7.js +17 -0
  19. package/dist/clone-BZBtMp_G.js +8 -0
  20. package/dist/colors-BD7LS4qt.js +7 -0
  21. package/dist/cytoscape.esm-Swd9B-1A.js +18633 -0
  22. package/dist/dagre-OKDRZEBW-qXmKnSET.js +447 -0
  23. package/dist/diagram-SSKATNLV-D9zp03W0.js +221 -0
  24. package/dist/diagram-VNBRO52H-CBXg8AYQ.js +126 -0
  25. package/dist/download-B6Cbg_6N.js +39 -0
  26. package/dist/echarts-CvKQD1G1.js +44028 -0
  27. package/dist/erDiagram-Q7BY3M3F-BOJJGO7u.js +842 -0
  28. package/dist/flowDiagram-4HSFHLVR-jSArwKHg.js +1623 -0
  29. package/dist/ganttDiagram-APWFNJXF-DlkSU7D9.js +2472 -0
  30. package/dist/gitGraph-O2Q2CXLX-BKCeQqs8.js +5 -0
  31. package/dist/gitGraphDiagram-7IBYFJ6S-DUvZEq_S.js +713 -0
  32. package/dist/graph-zFu0gYaZ.js +247 -0
  33. package/dist/helper-C5NlRbA2.js +13 -0
  34. package/dist/hub-ui-x.css +1 -0
  35. package/dist/hub-ui-x.es.ts +5 -0
  36. package/dist/hub-ui-x.umd.ts +3258 -0
  37. package/dist/index-evjDGH2n.js +62533 -0
  38. package/dist/info-4N47QTOZ-BYDGL7Ae.js +5 -0
  39. package/dist/infoDiagram-PH2N3AL5-DJvDYk-t.js +22 -0
  40. package/dist/init-DjUOC4st.js +16 -0
  41. package/dist/journeyDiagram-U35MCT3I---dClVe4.js +810 -0
  42. package/dist/kanban-definition-NDS4AKOZ-DPL_aBPT.js +719 -0
  43. package/dist/katex-9tX9hjoM.js +11692 -0
  44. package/dist/layout-BqSq5ofg.js +1324 -0
  45. package/dist/linear-fJjgKrP9.js +423 -0
  46. package/dist/mermaid-CZvYCPmi.js +14243 -0
  47. package/dist/mermaid-parser.core-Bz7ADZ88.js +12835 -0
  48. package/dist/min-DLf0xQMm.js +28 -0
  49. package/dist/mindmap-definition-ALO5MXBD-CzxIzyQv.js +3222 -0
  50. package/dist/mindmap-r94UHoYv.js +21909 -0
  51. package/dist/ordinal-DfAQgscy.js +61 -0
  52. package/dist/packet-KVYON367-D4di2cz5.js +5 -0
  53. package/dist/pie-R6RNRRYF-CcxAsT3F.js +5 -0
  54. package/dist/pieDiagram-IB7DONF6-B5HBkGlO.js +162 -0
  55. package/dist/quadrantDiagram-7GDLP6J5-BS5bmqKW.js +1025 -0
  56. package/dist/radar-MK3ICKWK-CVYy5goT.js +5 -0
  57. package/dist/requirementDiagram-KVF5MWMF-Cr8GcN4Y.js +851 -0
  58. package/dist/sankeyDiagram-QLVOVGJD-Bhq9k8_q.js +806 -0
  59. package/dist/sequenceDiagram-X6HHIX6F-CCmFoYyv.js +2282 -0
  60. package/dist/stateDiagram-DGXRK772-JkIqKyGq.js +271 -0
  61. package/dist/stateDiagram-v2-YXO3MK2T-DMxAxUZ1.js +17 -0
  62. package/dist/timeline-definition-BDJGKUSR-Bi42udQn.js +805 -0
  63. package/dist/transform-Bsa6BTXX.js +1834 -0
  64. package/dist/xychartDiagram-VJFVF3MP-BI97ppBM.js +1305 -0
  65. package/package.json +55 -0
@@ -0,0 +1,806 @@
1
+ import { _ as p, o as _t, p as xt, s as vt, g as bt, b as St, a as wt, c as lt, y as Lt, T as Et, x as At, j as Tt } from "./mermaid-CZvYCPmi.js";
2
+ import { s as X } from "./transform-Bsa6BTXX.js";
3
+ import { o as Mt } from "./ordinal-DfAQgscy.js";
4
+ import { c as Nt } from "./colors-BD7LS4qt.js";
5
+ const It = Nt("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");
6
+ function ct(t, n) {
7
+ let s;
8
+ if (n === void 0)
9
+ for (const a of t)
10
+ a != null && (s < a || s === void 0 && a >= a) && (s = a);
11
+ else {
12
+ let a = -1;
13
+ for (let h of t)
14
+ (h = n(h, ++a, t)) != null && (s < h || s === void 0 && h >= h) && (s = h);
15
+ }
16
+ return s;
17
+ }
18
+ function pt(t, n) {
19
+ let s;
20
+ if (n === void 0)
21
+ for (const a of t)
22
+ a != null && (s > a || s === void 0 && a >= a) && (s = a);
23
+ else {
24
+ let a = -1;
25
+ for (let h of t)
26
+ (h = n(h, ++a, t)) != null && (s > h || s === void 0 && h >= h) && (s = h);
27
+ }
28
+ return s;
29
+ }
30
+ function nt(t, n) {
31
+ let s = 0;
32
+ if (n === void 0)
33
+ for (let a of t)
34
+ (a = +a) && (s += a);
35
+ else {
36
+ let a = -1;
37
+ for (let h of t)
38
+ (h = +n(h, ++a, t)) && (s += h);
39
+ }
40
+ return s;
41
+ }
42
+ function Pt(t) {
43
+ return t.target.depth;
44
+ }
45
+ function Ct(t) {
46
+ return t.depth;
47
+ }
48
+ function Ot(t, n) {
49
+ return n - 1 - t.height;
50
+ }
51
+ function mt(t, n) {
52
+ return t.sourceLinks.length ? t.depth : n - 1;
53
+ }
54
+ function Dt(t) {
55
+ return t.targetLinks.length ? t.depth : t.sourceLinks.length ? pt(t.sourceLinks, Pt) - 1 : 0;
56
+ }
57
+ function q(t) {
58
+ return function() {
59
+ return t;
60
+ };
61
+ }
62
+ function ut(t, n) {
63
+ return Q(t.source, n.source) || t.index - n.index;
64
+ }
65
+ function ht(t, n) {
66
+ return Q(t.target, n.target) || t.index - n.index;
67
+ }
68
+ function Q(t, n) {
69
+ return t.y0 - n.y0;
70
+ }
71
+ function it(t) {
72
+ return t.value;
73
+ }
74
+ function $t(t) {
75
+ return t.index;
76
+ }
77
+ function jt(t) {
78
+ return t.nodes;
79
+ }
80
+ function zt(t) {
81
+ return t.links;
82
+ }
83
+ function ft(t, n) {
84
+ const s = t.get(n);
85
+ if (!s) throw new Error("missing: " + n);
86
+ return s;
87
+ }
88
+ function yt({ nodes: t }) {
89
+ for (const n of t) {
90
+ let s = n.y0, a = s;
91
+ for (const h of n.sourceLinks)
92
+ h.y0 = s + h.width / 2, s += h.width;
93
+ for (const h of n.targetLinks)
94
+ h.y1 = a + h.width / 2, a += h.width;
95
+ }
96
+ }
97
+ function Bt() {
98
+ let t = 0, n = 0, s = 1, a = 1, h = 24, d = 8, m, _ = $t, i = mt, o, l, x = jt, v = zt, y = 6;
99
+ function b() {
100
+ const e = { nodes: x.apply(null, arguments), links: v.apply(null, arguments) };
101
+ return M(e), T(e), N(e), C(e), w(e), yt(e), e;
102
+ }
103
+ b.update = function(e) {
104
+ return yt(e), e;
105
+ }, b.nodeId = function(e) {
106
+ return arguments.length ? (_ = typeof e == "function" ? e : q(e), b) : _;
107
+ }, b.nodeAlign = function(e) {
108
+ return arguments.length ? (i = typeof e == "function" ? e : q(e), b) : i;
109
+ }, b.nodeSort = function(e) {
110
+ return arguments.length ? (o = e, b) : o;
111
+ }, b.nodeWidth = function(e) {
112
+ return arguments.length ? (h = +e, b) : h;
113
+ }, b.nodePadding = function(e) {
114
+ return arguments.length ? (d = m = +e, b) : d;
115
+ }, b.nodes = function(e) {
116
+ return arguments.length ? (x = typeof e == "function" ? e : q(e), b) : x;
117
+ }, b.links = function(e) {
118
+ return arguments.length ? (v = typeof e == "function" ? e : q(e), b) : v;
119
+ }, b.linkSort = function(e) {
120
+ return arguments.length ? (l = e, b) : l;
121
+ }, b.size = function(e) {
122
+ return arguments.length ? (t = n = 0, s = +e[0], a = +e[1], b) : [s - t, a - n];
123
+ }, b.extent = function(e) {
124
+ return arguments.length ? (t = +e[0][0], s = +e[1][0], n = +e[0][1], a = +e[1][1], b) : [[t, n], [s, a]];
125
+ }, b.iterations = function(e) {
126
+ return arguments.length ? (y = +e, b) : y;
127
+ };
128
+ function M({ nodes: e, links: f }) {
129
+ for (const [c, r] of e.entries())
130
+ r.index = c, r.sourceLinks = [], r.targetLinks = [];
131
+ const u = new Map(e.map((c, r) => [_(c, r, e), c]));
132
+ for (const [c, r] of f.entries()) {
133
+ r.index = c;
134
+ let { source: k, target: S } = r;
135
+ typeof k != "object" && (k = r.source = ft(u, k)), typeof S != "object" && (S = r.target = ft(u, S)), k.sourceLinks.push(r), S.targetLinks.push(r);
136
+ }
137
+ if (l != null)
138
+ for (const { sourceLinks: c, targetLinks: r } of e)
139
+ c.sort(l), r.sort(l);
140
+ }
141
+ function T({ nodes: e }) {
142
+ for (const f of e)
143
+ f.value = f.fixedValue === void 0 ? Math.max(nt(f.sourceLinks, it), nt(f.targetLinks, it)) : f.fixedValue;
144
+ }
145
+ function N({ nodes: e }) {
146
+ const f = e.length;
147
+ let u = new Set(e), c = /* @__PURE__ */ new Set(), r = 0;
148
+ for (; u.size; ) {
149
+ for (const k of u) {
150
+ k.depth = r;
151
+ for (const { target: S } of k.sourceLinks)
152
+ c.add(S);
153
+ }
154
+ if (++r > f) throw new Error("circular link");
155
+ u = c, c = /* @__PURE__ */ new Set();
156
+ }
157
+ }
158
+ function C({ nodes: e }) {
159
+ const f = e.length;
160
+ let u = new Set(e), c = /* @__PURE__ */ new Set(), r = 0;
161
+ for (; u.size; ) {
162
+ for (const k of u) {
163
+ k.height = r;
164
+ for (const { source: S } of k.targetLinks)
165
+ c.add(S);
166
+ }
167
+ if (++r > f) throw new Error("circular link");
168
+ u = c, c = /* @__PURE__ */ new Set();
169
+ }
170
+ }
171
+ function $({ nodes: e }) {
172
+ const f = ct(e, (r) => r.depth) + 1, u = (s - t - h) / (f - 1), c = new Array(f);
173
+ for (const r of e) {
174
+ const k = Math.max(0, Math.min(f - 1, Math.floor(i.call(null, r, f))));
175
+ r.layer = k, r.x0 = t + k * u, r.x1 = r.x0 + h, c[k] ? c[k].push(r) : c[k] = [r];
176
+ }
177
+ if (o) for (const r of c)
178
+ r.sort(o);
179
+ return c;
180
+ }
181
+ function R(e) {
182
+ const f = pt(e, (u) => (a - n - (u.length - 1) * m) / nt(u, it));
183
+ for (const u of e) {
184
+ let c = n;
185
+ for (const r of u) {
186
+ r.y0 = c, r.y1 = c + r.value * f, c = r.y1 + m;
187
+ for (const k of r.sourceLinks)
188
+ k.width = k.value * f;
189
+ }
190
+ c = (a - c + m) / (u.length + 1);
191
+ for (let r = 0; r < u.length; ++r) {
192
+ const k = u[r];
193
+ k.y0 += c * (r + 1), k.y1 += c * (r + 1);
194
+ }
195
+ A(u);
196
+ }
197
+ }
198
+ function w(e) {
199
+ const f = $(e);
200
+ m = Math.min(d, (a - n) / (ct(f, (u) => u.length) - 1)), R(f);
201
+ for (let u = 0; u < y; ++u) {
202
+ const c = Math.pow(0.99, u), r = Math.max(1 - c, (u + 1) / y);
203
+ B(f, c, r), P(f, c, r);
204
+ }
205
+ }
206
+ function P(e, f, u) {
207
+ for (let c = 1, r = e.length; c < r; ++c) {
208
+ const k = e[c];
209
+ for (const S of k) {
210
+ let L = 0, F = 0;
211
+ for (const { source: Y, value: et } of S.targetLinks) {
212
+ let H = et * (S.layer - Y.layer);
213
+ L += j(Y, S) * H, F += H;
214
+ }
215
+ if (!(F > 0)) continue;
216
+ let G = (L / F - S.y0) * f;
217
+ S.y0 += G, S.y1 += G, E(S);
218
+ }
219
+ o === void 0 && k.sort(Q), O(k, u);
220
+ }
221
+ }
222
+ function B(e, f, u) {
223
+ for (let c = e.length, r = c - 2; r >= 0; --r) {
224
+ const k = e[r];
225
+ for (const S of k) {
226
+ let L = 0, F = 0;
227
+ for (const { target: Y, value: et } of S.sourceLinks) {
228
+ let H = et * (Y.layer - S.layer);
229
+ L += I(S, Y) * H, F += H;
230
+ }
231
+ if (!(F > 0)) continue;
232
+ let G = (L / F - S.y0) * f;
233
+ S.y0 += G, S.y1 += G, E(S);
234
+ }
235
+ o === void 0 && k.sort(Q), O(k, u);
236
+ }
237
+ }
238
+ function O(e, f) {
239
+ const u = e.length >> 1, c = e[u];
240
+ g(e, c.y0 - m, u - 1, f), D(e, c.y1 + m, u + 1, f), g(e, a, e.length - 1, f), D(e, n, 0, f);
241
+ }
242
+ function D(e, f, u, c) {
243
+ for (; u < e.length; ++u) {
244
+ const r = e[u], k = (f - r.y0) * c;
245
+ k > 1e-6 && (r.y0 += k, r.y1 += k), f = r.y1 + m;
246
+ }
247
+ }
248
+ function g(e, f, u, c) {
249
+ for (; u >= 0; --u) {
250
+ const r = e[u], k = (r.y1 - f) * c;
251
+ k > 1e-6 && (r.y0 -= k, r.y1 -= k), f = r.y0 - m;
252
+ }
253
+ }
254
+ function E({ sourceLinks: e, targetLinks: f }) {
255
+ if (l === void 0) {
256
+ for (const { source: { sourceLinks: u } } of f)
257
+ u.sort(ht);
258
+ for (const { target: { targetLinks: u } } of e)
259
+ u.sort(ut);
260
+ }
261
+ }
262
+ function A(e) {
263
+ if (l === void 0)
264
+ for (const { sourceLinks: f, targetLinks: u } of e)
265
+ f.sort(ht), u.sort(ut);
266
+ }
267
+ function j(e, f) {
268
+ let u = e.y0 - (e.sourceLinks.length - 1) * m / 2;
269
+ for (const { target: c, width: r } of e.sourceLinks) {
270
+ if (c === f) break;
271
+ u += r + m;
272
+ }
273
+ for (const { source: c, width: r } of f.targetLinks) {
274
+ if (c === e) break;
275
+ u -= r;
276
+ }
277
+ return u;
278
+ }
279
+ function I(e, f) {
280
+ let u = f.y0 - (f.targetLinks.length - 1) * m / 2;
281
+ for (const { source: c, width: r } of f.targetLinks) {
282
+ if (c === e) break;
283
+ u += r + m;
284
+ }
285
+ for (const { target: c, width: r } of e.sourceLinks) {
286
+ if (c === f) break;
287
+ u -= r;
288
+ }
289
+ return u;
290
+ }
291
+ return b;
292
+ }
293
+ var st = Math.PI, rt = 2 * st, V = 1e-6, Rt = rt - V;
294
+ function ot() {
295
+ this._x0 = this._y0 = // start of current subpath
296
+ this._x1 = this._y1 = null, this._ = "";
297
+ }
298
+ function kt() {
299
+ return new ot();
300
+ }
301
+ ot.prototype = kt.prototype = {
302
+ constructor: ot,
303
+ moveTo: function(t, n) {
304
+ this._ += "M" + (this._x0 = this._x1 = +t) + "," + (this._y0 = this._y1 = +n);
305
+ },
306
+ closePath: function() {
307
+ this._x1 !== null && (this._x1 = this._x0, this._y1 = this._y0, this._ += "Z");
308
+ },
309
+ lineTo: function(t, n) {
310
+ this._ += "L" + (this._x1 = +t) + "," + (this._y1 = +n);
311
+ },
312
+ quadraticCurveTo: function(t, n, s, a) {
313
+ this._ += "Q" + +t + "," + +n + "," + (this._x1 = +s) + "," + (this._y1 = +a);
314
+ },
315
+ bezierCurveTo: function(t, n, s, a, h, d) {
316
+ this._ += "C" + +t + "," + +n + "," + +s + "," + +a + "," + (this._x1 = +h) + "," + (this._y1 = +d);
317
+ },
318
+ arcTo: function(t, n, s, a, h) {
319
+ t = +t, n = +n, s = +s, a = +a, h = +h;
320
+ var d = this._x1, m = this._y1, _ = s - t, i = a - n, o = d - t, l = m - n, x = o * o + l * l;
321
+ if (h < 0) throw new Error("negative radius: " + h);
322
+ if (this._x1 === null)
323
+ this._ += "M" + (this._x1 = t) + "," + (this._y1 = n);
324
+ else if (x > V) if (!(Math.abs(l * _ - i * o) > V) || !h)
325
+ this._ += "L" + (this._x1 = t) + "," + (this._y1 = n);
326
+ else {
327
+ var v = s - d, y = a - m, b = _ * _ + i * i, M = v * v + y * y, T = Math.sqrt(b), N = Math.sqrt(x), C = h * Math.tan((st - Math.acos((b + x - M) / (2 * T * N))) / 2), $ = C / N, R = C / T;
328
+ Math.abs($ - 1) > V && (this._ += "L" + (t + $ * o) + "," + (n + $ * l)), this._ += "A" + h + "," + h + ",0,0," + +(l * v > o * y) + "," + (this._x1 = t + R * _) + "," + (this._y1 = n + R * i);
329
+ }
330
+ },
331
+ arc: function(t, n, s, a, h, d) {
332
+ t = +t, n = +n, s = +s, d = !!d;
333
+ var m = s * Math.cos(a), _ = s * Math.sin(a), i = t + m, o = n + _, l = 1 ^ d, x = d ? a - h : h - a;
334
+ if (s < 0) throw new Error("negative radius: " + s);
335
+ this._x1 === null ? this._ += "M" + i + "," + o : (Math.abs(this._x1 - i) > V || Math.abs(this._y1 - o) > V) && (this._ += "L" + i + "," + o), s && (x < 0 && (x = x % rt + rt), x > Rt ? this._ += "A" + s + "," + s + ",0,1," + l + "," + (t - m) + "," + (n - _) + "A" + s + "," + s + ",0,1," + l + "," + (this._x1 = i) + "," + (this._y1 = o) : x > V && (this._ += "A" + s + "," + s + ",0," + +(x >= st) + "," + l + "," + (this._x1 = t + s * Math.cos(h)) + "," + (this._y1 = n + s * Math.sin(h))));
336
+ },
337
+ rect: function(t, n, s, a) {
338
+ this._ += "M" + (this._x0 = this._x1 = +t) + "," + (this._y0 = this._y1 = +n) + "h" + +s + "v" + +a + "h" + -s + "Z";
339
+ },
340
+ toString: function() {
341
+ return this._;
342
+ }
343
+ };
344
+ function dt(t) {
345
+ return function() {
346
+ return t;
347
+ };
348
+ }
349
+ function Ft(t) {
350
+ return t[0];
351
+ }
352
+ function Vt(t) {
353
+ return t[1];
354
+ }
355
+ var Wt = Array.prototype.slice;
356
+ function Ut(t) {
357
+ return t.source;
358
+ }
359
+ function Gt(t) {
360
+ return t.target;
361
+ }
362
+ function Yt(t) {
363
+ var n = Ut, s = Gt, a = Ft, h = Vt, d = null;
364
+ function m() {
365
+ var _, i = Wt.call(arguments), o = n.apply(this, i), l = s.apply(this, i);
366
+ if (d || (d = _ = kt()), t(d, +a.apply(this, (i[0] = o, i)), +h.apply(this, i), +a.apply(this, (i[0] = l, i)), +h.apply(this, i)), _) return d = null, _ + "" || null;
367
+ }
368
+ return m.source = function(_) {
369
+ return arguments.length ? (n = _, m) : n;
370
+ }, m.target = function(_) {
371
+ return arguments.length ? (s = _, m) : s;
372
+ }, m.x = function(_) {
373
+ return arguments.length ? (a = typeof _ == "function" ? _ : dt(+_), m) : a;
374
+ }, m.y = function(_) {
375
+ return arguments.length ? (h = typeof _ == "function" ? _ : dt(+_), m) : h;
376
+ }, m.context = function(_) {
377
+ return arguments.length ? (d = _ ?? null, m) : d;
378
+ }, m;
379
+ }
380
+ function Ht(t, n, s, a, h) {
381
+ t.moveTo(n, s), t.bezierCurveTo(n = (n + a) / 2, s, n, h, a, h);
382
+ }
383
+ function Xt() {
384
+ return Yt(Ht);
385
+ }
386
+ function qt(t) {
387
+ return [t.source.x1, t.y0];
388
+ }
389
+ function Qt(t) {
390
+ return [t.target.x0, t.y1];
391
+ }
392
+ function Kt() {
393
+ return Xt().source(qt).target(Qt);
394
+ }
395
+ var at = function() {
396
+ var t = /* @__PURE__ */ p(function(_, i, o, l) {
397
+ for (o = o || {}, l = _.length; l--; o[_[l]] = i) ;
398
+ return o;
399
+ }, "o"), n = [1, 9], s = [1, 10], a = [1, 5, 10, 12], h = {
400
+ trace: /* @__PURE__ */ p(function() {
401
+ }, "trace"),
402
+ yy: {},
403
+ symbols_: { error: 2, start: 3, SANKEY: 4, NEWLINE: 5, csv: 6, opt_eof: 7, record: 8, csv_tail: 9, EOF: 10, "field[source]": 11, COMMA: 12, "field[target]": 13, "field[value]": 14, field: 15, escaped: 16, non_escaped: 17, DQUOTE: 18, ESCAPED_TEXT: 19, NON_ESCAPED_TEXT: 20, $accept: 0, $end: 1 },
404
+ terminals_: { 2: "error", 4: "SANKEY", 5: "NEWLINE", 10: "EOF", 11: "field[source]", 12: "COMMA", 13: "field[target]", 14: "field[value]", 18: "DQUOTE", 19: "ESCAPED_TEXT", 20: "NON_ESCAPED_TEXT" },
405
+ productions_: [0, [3, 4], [6, 2], [9, 2], [9, 0], [7, 1], [7, 0], [8, 5], [15, 1], [15, 1], [16, 3], [17, 1]],
406
+ performAction: /* @__PURE__ */ p(function(i, o, l, x, v, y, b) {
407
+ var M = y.length - 1;
408
+ switch (v) {
409
+ case 7:
410
+ const T = x.findOrCreateNode(y[M - 4].trim().replaceAll('""', '"')), N = x.findOrCreateNode(y[M - 2].trim().replaceAll('""', '"')), C = parseFloat(y[M].trim());
411
+ x.addLink(T, N, C);
412
+ break;
413
+ case 8:
414
+ case 9:
415
+ case 11:
416
+ this.$ = y[M];
417
+ break;
418
+ case 10:
419
+ this.$ = y[M - 1];
420
+ break;
421
+ }
422
+ }, "anonymous"),
423
+ table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, { 5: [1, 3] }, { 6: 4, 8: 5, 15: 6, 16: 7, 17: 8, 18: n, 20: s }, { 1: [2, 6], 7: 11, 10: [1, 12] }, t(s, [2, 4], { 9: 13, 5: [1, 14] }), { 12: [1, 15] }, t(a, [2, 8]), t(a, [2, 9]), { 19: [1, 16] }, t(a, [2, 11]), { 1: [2, 1] }, { 1: [2, 5] }, t(s, [2, 2]), { 6: 17, 8: 5, 15: 6, 16: 7, 17: 8, 18: n, 20: s }, { 15: 18, 16: 7, 17: 8, 18: n, 20: s }, { 18: [1, 19] }, t(s, [2, 3]), { 12: [1, 20] }, t(a, [2, 10]), { 15: 21, 16: 7, 17: 8, 18: n, 20: s }, t([1, 5, 10], [2, 7])],
424
+ defaultActions: { 11: [2, 1], 12: [2, 5] },
425
+ parseError: /* @__PURE__ */ p(function(i, o) {
426
+ if (o.recoverable)
427
+ this.trace(i);
428
+ else {
429
+ var l = new Error(i);
430
+ throw l.hash = o, l;
431
+ }
432
+ }, "parseError"),
433
+ parse: /* @__PURE__ */ p(function(i) {
434
+ var o = this, l = [0], x = [], v = [null], y = [], b = this.table, M = "", T = 0, N = 0, C = 2, $ = 1, R = y.slice.call(arguments, 1), w = Object.create(this.lexer), P = { yy: {} };
435
+ for (var B in this.yy)
436
+ Object.prototype.hasOwnProperty.call(this.yy, B) && (P.yy[B] = this.yy[B]);
437
+ w.setInput(i, P.yy), P.yy.lexer = w, P.yy.parser = this, typeof w.yylloc > "u" && (w.yylloc = {});
438
+ var O = w.yylloc;
439
+ y.push(O);
440
+ var D = w.options && w.options.ranges;
441
+ typeof P.yy.parseError == "function" ? this.parseError = P.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
442
+ function g(L) {
443
+ l.length = l.length - 2 * L, v.length = v.length - L, y.length = y.length - L;
444
+ }
445
+ p(g, "popStack");
446
+ function E() {
447
+ var L;
448
+ return L = x.pop() || w.lex() || $, typeof L != "number" && (L instanceof Array && (x = L, L = x.pop()), L = o.symbols_[L] || L), L;
449
+ }
450
+ p(E, "lex");
451
+ for (var A, j, I, e, f = {}, u, c, r, k; ; ) {
452
+ if (j = l[l.length - 1], this.defaultActions[j] ? I = this.defaultActions[j] : ((A === null || typeof A > "u") && (A = E()), I = b[j] && b[j][A]), typeof I > "u" || !I.length || !I[0]) {
453
+ var S = "";
454
+ k = [];
455
+ for (u in b[j])
456
+ this.terminals_[u] && u > C && k.push("'" + this.terminals_[u] + "'");
457
+ w.showPosition ? S = "Parse error on line " + (T + 1) + `:
458
+ ` + w.showPosition() + `
459
+ Expecting ` + k.join(", ") + ", got '" + (this.terminals_[A] || A) + "'" : S = "Parse error on line " + (T + 1) + ": Unexpected " + (A == $ ? "end of input" : "'" + (this.terminals_[A] || A) + "'"), this.parseError(S, {
460
+ text: w.match,
461
+ token: this.terminals_[A] || A,
462
+ line: w.yylineno,
463
+ loc: O,
464
+ expected: k
465
+ });
466
+ }
467
+ if (I[0] instanceof Array && I.length > 1)
468
+ throw new Error("Parse Error: multiple actions possible at state: " + j + ", token: " + A);
469
+ switch (I[0]) {
470
+ case 1:
471
+ l.push(A), v.push(w.yytext), y.push(w.yylloc), l.push(I[1]), A = null, N = w.yyleng, M = w.yytext, T = w.yylineno, O = w.yylloc;
472
+ break;
473
+ case 2:
474
+ if (c = this.productions_[I[1]][1], f.$ = v[v.length - c], f._$ = {
475
+ first_line: y[y.length - (c || 1)].first_line,
476
+ last_line: y[y.length - 1].last_line,
477
+ first_column: y[y.length - (c || 1)].first_column,
478
+ last_column: y[y.length - 1].last_column
479
+ }, D && (f._$.range = [
480
+ y[y.length - (c || 1)].range[0],
481
+ y[y.length - 1].range[1]
482
+ ]), e = this.performAction.apply(f, [
483
+ M,
484
+ N,
485
+ T,
486
+ P.yy,
487
+ I[1],
488
+ v,
489
+ y
490
+ ].concat(R)), typeof e < "u")
491
+ return e;
492
+ c && (l = l.slice(0, -1 * c * 2), v = v.slice(0, -1 * c), y = y.slice(0, -1 * c)), l.push(this.productions_[I[1]][0]), v.push(f.$), y.push(f._$), r = b[l[l.length - 2]][l[l.length - 1]], l.push(r);
493
+ break;
494
+ case 3:
495
+ return !0;
496
+ }
497
+ }
498
+ return !0;
499
+ }, "parse")
500
+ }, d = /* @__PURE__ */ function() {
501
+ var _ = {
502
+ EOF: 1,
503
+ parseError: /* @__PURE__ */ p(function(o, l) {
504
+ if (this.yy.parser)
505
+ this.yy.parser.parseError(o, l);
506
+ else
507
+ throw new Error(o);
508
+ }, "parseError"),
509
+ // resets the lexer, sets new input
510
+ setInput: /* @__PURE__ */ p(function(i, o) {
511
+ return this.yy = o || this.yy || {}, this._input = i, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
512
+ first_line: 1,
513
+ first_column: 0,
514
+ last_line: 1,
515
+ last_column: 0
516
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
517
+ }, "setInput"),
518
+ // consumes and returns one char from the input
519
+ input: /* @__PURE__ */ p(function() {
520
+ var i = this._input[0];
521
+ this.yytext += i, this.yyleng++, this.offset++, this.match += i, this.matched += i;
522
+ var o = i.match(/(?:\r\n?|\n).*/g);
523
+ return o ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), i;
524
+ }, "input"),
525
+ // unshifts one char (or a string) into the input
526
+ unput: /* @__PURE__ */ p(function(i) {
527
+ var o = i.length, l = i.split(/(?:\r\n?|\n)/g);
528
+ this._input = i + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - o), this.offset -= o;
529
+ var x = this.match.split(/(?:\r\n?|\n)/g);
530
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), l.length - 1 && (this.yylineno -= l.length - 1);
531
+ var v = this.yylloc.range;
532
+ return this.yylloc = {
533
+ first_line: this.yylloc.first_line,
534
+ last_line: this.yylineno + 1,
535
+ first_column: this.yylloc.first_column,
536
+ last_column: l ? (l.length === x.length ? this.yylloc.first_column : 0) + x[x.length - l.length].length - l[0].length : this.yylloc.first_column - o
537
+ }, this.options.ranges && (this.yylloc.range = [v[0], v[0] + this.yyleng - o]), this.yyleng = this.yytext.length, this;
538
+ }, "unput"),
539
+ // When called from action, caches matched text and appends it on next action
540
+ more: /* @__PURE__ */ p(function() {
541
+ return this._more = !0, this;
542
+ }, "more"),
543
+ // 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.
544
+ reject: /* @__PURE__ */ p(function() {
545
+ if (this.options.backtrack_lexer)
546
+ this._backtrack = !0;
547
+ else
548
+ 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).
549
+ ` + this.showPosition(), {
550
+ text: "",
551
+ token: null,
552
+ line: this.yylineno
553
+ });
554
+ return this;
555
+ }, "reject"),
556
+ // retain first n characters of the match
557
+ less: /* @__PURE__ */ p(function(i) {
558
+ this.unput(this.match.slice(i));
559
+ }, "less"),
560
+ // displays already matched input, i.e. for error messages
561
+ pastInput: /* @__PURE__ */ p(function() {
562
+ var i = this.matched.substr(0, this.matched.length - this.match.length);
563
+ return (i.length > 20 ? "..." : "") + i.substr(-20).replace(/\n/g, "");
564
+ }, "pastInput"),
565
+ // displays upcoming input, i.e. for error messages
566
+ upcomingInput: /* @__PURE__ */ p(function() {
567
+ var i = this.match;
568
+ return i.length < 20 && (i += this._input.substr(0, 20 - i.length)), (i.substr(0, 20) + (i.length > 20 ? "..." : "")).replace(/\n/g, "");
569
+ }, "upcomingInput"),
570
+ // displays the character position where the lexing error occurred, i.e. for error messages
571
+ showPosition: /* @__PURE__ */ p(function() {
572
+ var i = this.pastInput(), o = new Array(i.length + 1).join("-");
573
+ return i + this.upcomingInput() + `
574
+ ` + o + "^";
575
+ }, "showPosition"),
576
+ // test the lexed token: return FALSE when not a match, otherwise return token
577
+ test_match: /* @__PURE__ */ p(function(i, o) {
578
+ var l, x, v;
579
+ if (this.options.backtrack_lexer && (v = {
580
+ yylineno: this.yylineno,
581
+ yylloc: {
582
+ first_line: this.yylloc.first_line,
583
+ last_line: this.last_line,
584
+ first_column: this.yylloc.first_column,
585
+ last_column: this.yylloc.last_column
586
+ },
587
+ yytext: this.yytext,
588
+ match: this.match,
589
+ matches: this.matches,
590
+ matched: this.matched,
591
+ yyleng: this.yyleng,
592
+ offset: this.offset,
593
+ _more: this._more,
594
+ _input: this._input,
595
+ yy: this.yy,
596
+ conditionStack: this.conditionStack.slice(0),
597
+ done: this.done
598
+ }, this.options.ranges && (v.yylloc.range = this.yylloc.range.slice(0))), x = i[0].match(/(?:\r\n?|\n).*/g), x && (this.yylineno += x.length), this.yylloc = {
599
+ first_line: this.yylloc.last_line,
600
+ last_line: this.yylineno + 1,
601
+ first_column: this.yylloc.last_column,
602
+ last_column: x ? x[x.length - 1].length - x[x.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + i[0].length
603
+ }, this.yytext += i[0], this.match += i[0], this.matches = i, 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(i[0].length), this.matched += i[0], l = this.performAction.call(this, this.yy, this, o, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), l)
604
+ return l;
605
+ if (this._backtrack) {
606
+ for (var y in v)
607
+ this[y] = v[y];
608
+ return !1;
609
+ }
610
+ return !1;
611
+ }, "test_match"),
612
+ // return next match in input
613
+ next: /* @__PURE__ */ p(function() {
614
+ if (this.done)
615
+ return this.EOF;
616
+ this._input || (this.done = !0);
617
+ var i, o, l, x;
618
+ this._more || (this.yytext = "", this.match = "");
619
+ for (var v = this._currentRules(), y = 0; y < v.length; y++)
620
+ if (l = this._input.match(this.rules[v[y]]), l && (!o || l[0].length > o[0].length)) {
621
+ if (o = l, x = y, this.options.backtrack_lexer) {
622
+ if (i = this.test_match(l, v[y]), i !== !1)
623
+ return i;
624
+ if (this._backtrack) {
625
+ o = !1;
626
+ continue;
627
+ } else
628
+ return !1;
629
+ } else if (!this.options.flex)
630
+ break;
631
+ }
632
+ return o ? (i = this.test_match(o, v[x]), i !== !1 ? i : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
633
+ ` + this.showPosition(), {
634
+ text: "",
635
+ token: null,
636
+ line: this.yylineno
637
+ });
638
+ }, "next"),
639
+ // return next match that has a token
640
+ lex: /* @__PURE__ */ p(function() {
641
+ var o = this.next();
642
+ return o || this.lex();
643
+ }, "lex"),
644
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
645
+ begin: /* @__PURE__ */ p(function(o) {
646
+ this.conditionStack.push(o);
647
+ }, "begin"),
648
+ // pop the previously active lexer condition state off the condition stack
649
+ popState: /* @__PURE__ */ p(function() {
650
+ var o = this.conditionStack.length - 1;
651
+ return o > 0 ? this.conditionStack.pop() : this.conditionStack[0];
652
+ }, "popState"),
653
+ // produce the lexer rule set which is active for the currently active lexer condition state
654
+ _currentRules: /* @__PURE__ */ p(function() {
655
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
656
+ }, "_currentRules"),
657
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
658
+ topState: /* @__PURE__ */ p(function(o) {
659
+ return o = this.conditionStack.length - 1 - Math.abs(o || 0), o >= 0 ? this.conditionStack[o] : "INITIAL";
660
+ }, "topState"),
661
+ // alias for begin(condition)
662
+ pushState: /* @__PURE__ */ p(function(o) {
663
+ this.begin(o);
664
+ }, "pushState"),
665
+ // return the number of states currently on the stack
666
+ stateStackSize: /* @__PURE__ */ p(function() {
667
+ return this.conditionStack.length;
668
+ }, "stateStackSize"),
669
+ options: { "case-insensitive": !0 },
670
+ performAction: /* @__PURE__ */ p(function(o, l, x, v) {
671
+ switch (x) {
672
+ case 0:
673
+ return this.pushState("csv"), 4;
674
+ case 1:
675
+ return 10;
676
+ case 2:
677
+ return 5;
678
+ case 3:
679
+ return 12;
680
+ case 4:
681
+ return this.pushState("escaped_text"), 18;
682
+ case 5:
683
+ return 20;
684
+ case 6:
685
+ return this.popState("escaped_text"), 18;
686
+ case 7:
687
+ return 19;
688
+ }
689
+ }, "anonymous"),
690
+ rules: [/^(?:sankey-beta\b)/i, /^(?:$)/i, /^(?:((\u000D\u000A)|(\u000A)))/i, /^(?:(\u002C))/i, /^(?:(\u0022))/i, /^(?:([\u0020-\u0021\u0023-\u002B\u002D-\u007E])*)/i, /^(?:(\u0022)(?!(\u0022)))/i, /^(?:(([\u0020-\u0021\u0023-\u002B\u002D-\u007E])|(\u002C)|(\u000D)|(\u000A)|(\u0022)(\u0022))*)/i],
691
+ conditions: { csv: { rules: [1, 2, 3, 4, 5, 6, 7], inclusive: !1 }, escaped_text: { rules: [6, 7], inclusive: !1 }, INITIAL: { rules: [0, 1, 2, 3, 4, 5, 6, 7], inclusive: !0 } }
692
+ };
693
+ return _;
694
+ }();
695
+ h.lexer = d;
696
+ function m() {
697
+ this.yy = {};
698
+ }
699
+ return p(m, "Parser"), m.prototype = h, h.Parser = m, new m();
700
+ }();
701
+ at.parser = at;
702
+ var K = at, J = [], tt = [], Z = /* @__PURE__ */ new Map(), Zt = /* @__PURE__ */ p(() => {
703
+ J = [], tt = [], Z = /* @__PURE__ */ new Map(), At();
704
+ }, "clear"), W, Jt = (W = class {
705
+ constructor(n, s, a = 0) {
706
+ this.source = n, this.target = s, this.value = a;
707
+ }
708
+ }, p(W, "SankeyLink"), W), te = /* @__PURE__ */ p((t, n, s) => {
709
+ J.push(new Jt(t, n, s));
710
+ }, "addLink"), U, ee = (U = class {
711
+ constructor(n) {
712
+ this.ID = n;
713
+ }
714
+ }, p(U, "SankeyNode"), U), ne = /* @__PURE__ */ p((t) => {
715
+ t = Tt.sanitizeText(t, lt());
716
+ let n = Z.get(t);
717
+ return n === void 0 && (n = new ee(t), Z.set(t, n), tt.push(n)), n;
718
+ }, "findOrCreateNode"), ie = /* @__PURE__ */ p(() => tt, "getNodes"), se = /* @__PURE__ */ p(() => J, "getLinks"), re = /* @__PURE__ */ p(() => ({
719
+ nodes: tt.map((t) => ({ id: t.ID })),
720
+ links: J.map((t) => ({
721
+ source: t.source.ID,
722
+ target: t.target.ID,
723
+ value: t.value
724
+ }))
725
+ }), "getGraph"), oe = {
726
+ nodesMap: Z,
727
+ getConfig: /* @__PURE__ */ p(() => lt().sankey, "getConfig"),
728
+ getNodes: ie,
729
+ getLinks: se,
730
+ getGraph: re,
731
+ addLink: te,
732
+ findOrCreateNode: ne,
733
+ getAccTitle: wt,
734
+ setAccTitle: St,
735
+ getAccDescription: bt,
736
+ setAccDescription: vt,
737
+ getDiagramTitle: xt,
738
+ setDiagramTitle: _t,
739
+ clear: Zt
740
+ }, z, gt = (z = class {
741
+ static next(n) {
742
+ return new z(n + ++z.count);
743
+ }
744
+ constructor(n) {
745
+ this.id = n, this.href = `#${n}`;
746
+ }
747
+ toString() {
748
+ return "url(" + this.href + ")";
749
+ }
750
+ }, p(z, "Uid"), z.count = 0, z), ae = {
751
+ left: Ct,
752
+ right: Ot,
753
+ center: Dt,
754
+ justify: mt
755
+ }, le = /* @__PURE__ */ p(function(t, n, s, a) {
756
+ const { securityLevel: h, sankey: d } = lt(), m = Lt.sankey;
757
+ let _;
758
+ h === "sandbox" && (_ = X("#i" + n));
759
+ const i = h === "sandbox" ? X(_.nodes()[0].contentDocument.body) : X("body"), o = h === "sandbox" ? i.select(`[id="${n}"]`) : X(`[id="${n}"]`), l = (d == null ? void 0 : d.width) ?? m.width, x = (d == null ? void 0 : d.height) ?? m.width, v = (d == null ? void 0 : d.useMaxWidth) ?? m.useMaxWidth, y = (d == null ? void 0 : d.nodeAlignment) ?? m.nodeAlignment, b = (d == null ? void 0 : d.prefix) ?? m.prefix, M = (d == null ? void 0 : d.suffix) ?? m.suffix, T = (d == null ? void 0 : d.showValues) ?? m.showValues, N = a.db.getGraph(), C = ae[y];
760
+ Bt().nodeId((g) => g.id).nodeWidth(10).nodePadding(10 + (T ? 15 : 0)).nodeAlign(C).extent([
761
+ [0, 0],
762
+ [l, x]
763
+ ])(N);
764
+ const w = Mt(It);
765
+ o.append("g").attr("class", "nodes").selectAll(".node").data(N.nodes).join("g").attr("class", "node").attr("id", (g) => (g.uid = gt.next("node-")).id).attr("transform", function(g) {
766
+ return "translate(" + g.x0 + "," + g.y0 + ")";
767
+ }).attr("x", (g) => g.x0).attr("y", (g) => g.y0).append("rect").attr("height", (g) => g.y1 - g.y0).attr("width", (g) => g.x1 - g.x0).attr("fill", (g) => w(g.id));
768
+ const P = /* @__PURE__ */ p(({ id: g, value: E }) => T ? `${g}
769
+ ${b}${Math.round(E * 100) / 100}${M}` : g, "getText");
770
+ o.append("g").attr("class", "node-labels").attr("font-size", 14).selectAll("text").data(N.nodes).join("text").attr("x", (g) => g.x0 < l / 2 ? g.x1 + 6 : g.x0 - 6).attr("y", (g) => (g.y1 + g.y0) / 2).attr("dy", `${T ? "0" : "0.35"}em`).attr("text-anchor", (g) => g.x0 < l / 2 ? "start" : "end").text(P);
771
+ const B = o.append("g").attr("class", "links").attr("fill", "none").attr("stroke-opacity", 0.5).selectAll(".link").data(N.links).join("g").attr("class", "link").style("mix-blend-mode", "multiply"), O = (d == null ? void 0 : d.linkColor) ?? "gradient";
772
+ if (O === "gradient") {
773
+ const g = B.append("linearGradient").attr("id", (E) => (E.uid = gt.next("linearGradient-")).id).attr("gradientUnits", "userSpaceOnUse").attr("x1", (E) => E.source.x1).attr("x2", (E) => E.target.x0);
774
+ g.append("stop").attr("offset", "0%").attr("stop-color", (E) => w(E.source.id)), g.append("stop").attr("offset", "100%").attr("stop-color", (E) => w(E.target.id));
775
+ }
776
+ let D;
777
+ switch (O) {
778
+ case "gradient":
779
+ D = /* @__PURE__ */ p((g) => g.uid, "coloring");
780
+ break;
781
+ case "source":
782
+ D = /* @__PURE__ */ p((g) => w(g.source.id), "coloring");
783
+ break;
784
+ case "target":
785
+ D = /* @__PURE__ */ p((g) => w(g.target.id), "coloring");
786
+ break;
787
+ default:
788
+ D = O;
789
+ }
790
+ B.append("path").attr("d", Kt()).attr("stroke", D).attr("stroke-width", (g) => Math.max(1, g.width)), Et(void 0, o, 0, v);
791
+ }, "draw"), ce = {
792
+ draw: le
793
+ }, ue = /* @__PURE__ */ p((t) => t.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g, "").replaceAll(/([\n\r])+/g, `
794
+ `).trim(), "prepareTextForParsing"), he = /* @__PURE__ */ p((t) => `.label {
795
+ font-family: ${t.fontFamily};
796
+ }`, "getStyles"), fe = he, ye = K.parse.bind(K);
797
+ K.parse = (t) => ye(ue(t));
798
+ var ke = {
799
+ styles: fe,
800
+ parser: K,
801
+ db: oe,
802
+ renderer: ce
803
+ };
804
+ export {
805
+ ke as diagram
806
+ };